Commit Graph

16 Commits

Author SHA1 Message Date
Fabio Pliger
83d17a75ba lint 2024-02-12 14:47:36 -06:00
pre-commit-ci[bot]
d5d37fb260 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-02 22:07:17 +00:00
Fabio Pliger
635ede9edf lint 2024-02-02 16:07:05 -06:00
pre-commit-ci[bot]
1db1e4335b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-02 21:59:33 +00:00
Fabio Pliger
4ee0540dd1 fix post merge issues 2024-02-02 15:59:15 -06:00
pre-commit-ci[bot]
aac21e48ca [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-02 21:17:07 +00:00
Fabio Pliger
7178616549 link and fix spelling typo 2024-02-02 15:16:46 -06:00
pre-commit-ci[bot]
6f3f28973e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-02 17:35:59 +00:00
Fabio Pliger
e0ee871261 lint 2024-02-02 11:35:36 -06:00
pre-commit-ci[bot]
77c8b5d82c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-01 18:59:36 +00:00
Fabio Pliger
316652a61d refactor gallary to simplify codebase 2024-02-01 12:13:52 -06:00
pre-commit-ci[bot]
c559d8b321 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-01 00:02:24 +00:00
Fabio Pliger
1cca5f057a precommit 2024-01-31 18:02:12 -06:00
pre-commit-ci[bot]
dbc4db48e6 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-01-31 23:31:47 +00:00
Fabio Pliger
cffee1d680 precommit fixes 2024-01-31 17:31:11 -06:00
Fabio Pliger
00fdc73015 [NEXT] Pydom (#1681)
* add pyweb

* build

* add test file

* fix pydom example code

* remove old reference to js

* temporarily comment out query functions on BaseElement while rearranging code to reuse the same underlying logic accross PyDom and other elements

* add temp TODO comment to content as it breaks with template elements

* update pydom example to define code on external file

* fix name type while renaming document -> dom

* add real pydom test files

* add classes to dom scope

* __len__ to ElementCollection

* fix some of the old tests

* rename test from test_query_by_class to test_getitem_by_class

* change test for read and write multiple elements

* add find method to BaseElement

* fix remaining tests

* add Collection Tests

* add equality to Collection

* add test for collection style manipulation

* fix getter for style property and rename style related attribute from pop to remove

* add single element creation test

* remove append on BaseElement and add body and head to dom

* add test_create_element_child to verify child creation

* add children getter property to Element

* remove old code

* remove more old code, change style attribute from visibility to visible and now default getters on collection to return a list with the value of an attribute for every element in the collection

* remove more old code and add possibility to customize test flags via url

* add support to pass Js and pydom.Element elements to when decorator

* remove methods related to input type of elements until we have a better design for it

* rename _element to _js

* add test_when decorator with a ElementCollection input

* when decorator now supporte pydom.ElementCollection as input

* update pyscript.js

* remove useless variable from when decorator

* remove base.py from pyweb

* add nodes for append collection test and add better feedback on successes vs failure

* add tests and fix code for support of append Element and ElementCollection

* manage access to content attribute when tagname is template

* fix comment

---------

Co-authored-by: Fabio Pliger <fpliger@anaconda.com>
2023-09-14 13:31:23 -07:00