Commit Graph

136 Commits

Author SHA1 Message Date
nathan
cfbcaf3bab Et2TreeDropdown: close search results & tree on tab 2024-09-18 11:32:12 -06:00
nathan
2da2ac81fa Et2TreeDropdown improvements
- multiple=false rendering
- fix some display search vs tree weirdness
- fix some keyboard actions
- translate placeholder
- blur widget after option selected when multiple=false
- implement clearable attribute
2024-09-18 08:11:25 -06:00
nathan
2e0010d138 SearchResult: Use the method to toggle selection instead of setting it directly 2024-09-17 15:30:35 -06:00
nathan
e156ea8f64 Et2Widget: Stub some egw object methods that widgets use to avoid errors when egw object is not loaded 2024-09-11 10:59:59 -06:00
nathan
d26b620f8d Fix currentResult got set to invalid node if results were re-rendered 2024-09-10 08:49:14 -06:00
nathan
6a3a8654fc Add some extra info for debug during loading 2024-08-30 09:57:03 -06:00
milan
986e83750c bind overall tooltip only on the combobox and not on the whole popup.
The tree can now show its own tooltips without interference
2024-08-28 18:23:37 +02:00
ralf
c18be4cf4d do not return folders, if leafOnly is set and some more docu 2024-08-22 14:18:54 +02:00
nathan
01d3eeac77 Fix some missing bootstrap icons 2024-08-19 14:40:47 -06:00
nathan
a834809423 Fix template node text children don't overwrite other children 2024-08-15 14:25:20 -06:00
nathan
ba744d3292 Remove Lion 2024-05-07 14:46:44 -06:00
nathan
d6b61722e0 Fix some CSS / layout issues with labels
- Fix label nowrap stopped working
- Fix et2-label-fixed stopped working
2024-04-23 14:02:58 -06:00
ralf
fc1d641093 fix tree doubles when you close and reopen admin tab, or any other tab which moves web-components into the sidebox menu 2024-04-05 17:23:46 +02:00
nathan
98ffd25d69 SearchMixin: Fix localSearch did not get search options 2024-03-20 14:29:36 -06:00
nathan
7c9b3dd9e8 Better support single/multiple UI updates 2024-03-08 16:32:31 -07:00
nathan
824f6416ca Break out SearchMixin.searchMatch() to allow for easy overriding of how local search determines a match.
Currently we search value, label & title
2024-02-26 15:15:17 -07:00
nathan
a9a26ffe39 Implement local search in SearchMixin & for Et2TreeDropdown
Add ability for SearchResult to have children
2024-02-23 10:49:16 -07:00
nathan
a8389d4286 Switch VfsSelectDialog to new SearchMixin 2024-02-22 16:21:28 -07:00
nathan
1bd9758af1 Better SearchMixin for server-side searching 2024-02-22 14:25:12 -07:00
nathan
37b734f63c Et2Widget: Fix Number attributes were not properly parsed in transformAttributes() 2024-01-24 16:46:07 -07:00
nathan
926c3f9260 Api: Make sure parent properties and @property properties are included in clone 2024-01-19 12:42:25 -07:00
nathan
710287e34f Et2Email WIP 2023-12-11 08:18:38 -07:00
nathan
a9fcf05fab Home: Fix portlet broken by Shoelace update to 1.8
They made HasSlotController internal only
2023-11-15 09:02:12 -07:00
nathan
d15c63198c Docs: Get the ETemplate2 webComponent widets working on doc site
Sort of.  This breaks shoelace images due to them not being imported / copied, and not using the CDN
2023-10-27 11:50:51 -06:00
nathan
f15cbd186f Docs: Better handling for deprecated properties & methods 2023-10-11 16:48:53 -06:00
ralf
e3138fe886 fix calendar.edit wont open, caused by new hidden attribute:
- parent can be undefined
- typo parent.getArr(a)yMgr()
- parseBoolExpression() does NOT support boolean values
- returning null gives errors later on, commented it out for now :(
2023-09-22 10:28:00 +02:00
nathan
92cf528fe8 Introduce widget.hidden to hide widgets, and widget.set_disabled() now also hides widgets. 2023-09-21 10:43:09 -06:00
nathan
01375295fe Fix widget label positioning 2023-09-14 11:56:25 -06:00
Nathan Gray
e323cd1d79
Feature/shoelace 2.4 upgrade (#135)
Update shoelace to 2.9.0
2023-09-13 11:55:33 -06:00
hadi
f23c562105 Do not activate statustext for mobile template 2023-05-23 12:36:04 +02:00
nathan
46b7c5258b Skip disabled widgets in iterateOver
This fixes disabled widgets returning their value unexpectedly, and ID collisions when we have 2 widgets with the same ID, but disable one.
2023-05-02 14:21:03 -06:00
nathan
ca17161f4a Remove action WIP 2023-03-10 14:50:05 -07:00
nathan
5cfe1cef58 Home: Weather portlet improvements 2023-03-10 14:44:41 -07:00
nathan
e62cf4c2f7 Fix double-bound file drop handler
Fixes double-submit after dropping a second file.  Noticed in mail compose, but probably affects everywhere file widget was used to upload
2023-02-28 10:39:10 -07:00
nathan
e532ca176b Add Et2TabsMobile that has special rendering for tabs on mobile 2023-02-21 10:31:38 -07:00
nathan
68caabe1ae Fix hidden tabs did not make children readonly
Fixes required fields on hidden tabs still got validated
2023-02-14 10:09:58 -07:00
nathan
e2cbbe9358 Re-add feature where readonly URL widget with label uses the label as link text 2023-02-13 13:29:25 -07:00
nathan
7518278948 Add edit button to freeEntry selectbox tags 2023-01-23 17:34:37 -07:00
nathan
40278c8827 Get our WebComponent tests running again
Made a lot of "failed to construct htmlelement" errors go away, avoid a bunch of egwIsMobile is undefined errors
2023-01-04 12:01:09 -07:00
nathan
b31ce0922d Implement data widget property
Fixes missing priority colors in Kanban
2022-11-23 10:30:22 -07:00
nathan
9d2a319821 If widget has onclick attribute, add et2_clickable class 2022-10-17 15:18:13 -06:00
nathan
04feaff1d0 Avoid parse error that breaks load if string is passed as an object property 2022-09-09 08:35:20 -06:00
nathan
9db38979ef Infolog: Move timestamper & encrypt buttons into tabs using slot and parentID
Also, fix parentId was inconsistently applied
2022-09-08 13:14:55 -06:00
nathan
f85de279c6 Fix some property bugs
- Parse values that should have been objects but came as strings
- Decode SearchMixin.searchUrl
2022-09-08 11:17:34 -06:00
nathan
4d8bd89952 Et2Widget: Fix widgets could not pull objects from content to use as attributes
et2-vfs-mime for files in kanban is an example
2022-08-25 13:25:45 -06:00
ralf
b2d9e30b8d fixing widget set readonly="true" in template and $readolys[$id] = false is still readonly
we need to unset readonly attribute, after setting it and before calling transformAttributes, which would set it again
2022-08-22 18:37:11 +02:00
Hadi Nategh
d3d0216a39 WIP Mobile template: Make all widgets large on mobile template 2022-08-22 13:59:17 +02:00
nathan
40bbc53af8 Fix Uncaught TypeError: Cannot read properties of null (reading 'app_obj') when clicking a project title.
onclick for nextmatch rows was not getting re-parsed for each row, so it was trying with the original widget from the template instead of the one from the row.
Also accepting widget as argument into compiled legacy code and using it over original context so we don't need to re-compile for each row.
2022-08-17 13:23:55 -06:00
nathan
652e84644b Et2Widget: 'attributes' is read-only in webcomponent, so assign it in to avoid errors
This is used by some kanban column stuff
2022-08-15 10:35:12 -06:00
ralf
ba35be1d86 Change Et2Checkbox to behave closer to legacy et2_widget_checkbox and thereby fixing all sorts of errors with it.
Fix vfsSelectUI to be able to select files again with click on the row and only submit selected files.
Also change Et2Widget.iterateOver and legacy et2_widget.interateOver to be called with new web-component classes like Et2Checkbox. Also make Et2Widget matching all widgets by default like et2_widget.
Remove legacy et2_widget_checkbox code.
2022-08-07 10:10:33 +02:00