Commit Graph

205 Commits

Author SHA1 Message Date
milan
98c1e920e8 make bi icons same size as other icons
(cherry picked from commit d3ac3d7432)
2024-12-19 18:31:22 +01:00
nathan
54f9c0a0de Et2Tree: When drag + hover over a leaf, only open it if it actually has children 2024-11-18 13:58:51 -07:00
ralf
6cc35c9305 Merge branch 'master' into 23.1 2024-11-06 05:25:34 +01:00
nathan
b1ea628546 Fix tree drag & drop hover kept items highlighted, marked as selected 2024-10-21 08:20:57 -06:00
nathan
eb105dfad4 Fix Et2Tree dragging of tree items 2024-10-18 13:28:57 -06:00
nathan
3f08f38913 Fix tree drag & drop hover kept items highlighted, marked as selected 2024-10-16 11:36:23 -06:00
nathan
3ebf911427 More changes related to getting tree to handle actions on its leaves
- Fix action system selection vs tree
2024-10-07 22:36:57 +02:00
nathan
1c06e6864d More changes related to getting tree to handle actions on its leaves
- Fix action system selection vs tree
2024-10-07 13:31:28 -06:00
nathan
8613ed823b Further fixes on tree actions
- Fix expand on hover
- Fix trouble with dragging over item children
2024-10-04 17:11:48 -06:00
nathan
2ed29d1557 Further fixes on actions
- fixed some duplicate binding causing long delay on tree context menu & general weirdness
- remove some unneeded stuff
2024-10-04 17:07:59 -06:00
nathan
aaf0054978 Fix tree context menu on server-loaded branches 2024-10-04 17:07:40 -06:00
nathan
4c23e4b23f Fix drag & drop onto tree items loaded via ajax did not hightlight on drag enter 2024-10-04 17:07:29 -06:00
nathan
1379855543 Further fixes on tree actions
- Fix expand on hover
- Fix trouble with dragging over item children
2024-10-03 10:58:36 -06:00
nathan
557e5bd236 Further fixes on actions
- fixed some duplicate binding causing long delay on tree context menu & general weirdness
- remove some unneeded stuff
2024-10-02 15:31:52 -06:00
nathan
1e277b2460 Fix tree context menu on server-loaded branches 2024-10-01 14:31:05 -06:00
nathan
2c196d3419 Fix drag & drop onto tree items loaded via ajax did not hightlight on drag enter 2024-09-30 13:58:31 -06:00
nathan
bf15c93d96 Bigger border on context menu 2024-09-06 08:26:53 +02:00
ralf
0f778d5901 fixing accidently left conflicts 2024-08-28 09:44:33 +02:00
ralf
5c8c9c841d implement new action attribute color, to specify a color for the caption, instead of the default color 2024-08-28 09:40:08 +02:00
ralf
80b19980bc Et2Image fixes:
- fix EgwMenuShoelace to show bootstrap icons by using bootstap-icons.ts CSS in it's styles()
- Et2Image size internal img tag, if no bootstrap icon, to size of et2-image
- Et2Image width or height are set on itself
2024-08-15 20:23:53 +02:00
ralf
461937bf04 remove no longer used dhtmlx drag-drop stuff
(cherry picked from commit ef04ac9099)
2024-08-14 14:28:31 +02:00
ralf
ef04ac9099 remove no longer used dhtmlx drag-drop stuff 2024-08-14 14:28:14 +02:00
ralf
bff869f93d remove flipFallback(Placement|Strategy) as we get a better/working placement without
now clicks close to right end of the window open to the left (and not outside as before)

(cherry picked from commit 5ea8f27d9d)
2024-08-14 14:27:21 +02:00
milan
ca571c45c9 EgwMenuShoelace on checkboxes use a toggle icon to indicate checked state instead of an icon
(cherry picked from commit 85137fd4d7)
2024-08-14 13:18:29 +02:00
nathan
60c310ffeb Context menu checkbox changes
- Make sure check item does not close sub-menu
- Use different icons ☐/☑ instead of shoelace's check

(cherry picked from commit 2bdde5dc61)
2024-08-14 13:18:14 +02:00
milan
0ef7077357 do not skip handleSelect on sub-menu click
(cherry picked from commit c4e674d177)
2024-08-14 13:17:57 +02:00
nathan
c22cafbdcb Bigger border on context menu
(cherry picked from commit d4ecde3ce9)
2024-08-14 13:15:02 +02:00
ralf
e929300072 remove dhtmlxMenu in favor of Shoelace menu
(cherry picked from commit a670644ad7)
2024-08-14 13:14:31 +02:00
nathan
d378e19fb6 Change shoelace contextmenu style & position
- Reduced line height
- Align labels with/without icon
- Position to side when there's insufficient space above / below

(cherry picked from commit 54c3252c45)
2024-08-14 13:13:08 +02:00
nathan
05c5073f34 Fix Shoelace context menu did not properly hide on Esc / click out
(cherry picked from commit 5fed37087b)
2024-08-14 13:12:35 +02:00
ralf
5ea8f27d9d remove flipFallback(Placement|Strategy) as we get a better/working placement without
now clicks close to right end of the window open to the left (and not outside as before)
2024-08-13 15:53:00 +02:00
milan
85137fd4d7 EgwMenuShoelace on checkboxes use a toggle icon to indicate checked state instead of an icon 2024-08-09 14:28:14 +02:00
nathan
2bdde5dc61 Context menu checkbox changes
- Make sure check item does not close sub-menu
- Use different icons ☐/☑ instead of shoelace's check
2024-08-07 13:21:39 -06:00
milan
c4e674d177 do not skip handleSelect on sub-menu click 2024-08-07 15:38:23 +02:00
nathan
46fcfd5bcd Fix context menu "Copy ..." of text contents 2024-08-02 10:14:56 +02:00
nathan
5f2aba2af9 Fix context menu "Copy ..." of text contents 2024-08-01 10:36:17 -06:00
nathan
0425157270 Fix some tree / drag & drop issues
- tree drop wouldn't work on newly added folders
- tree drop actions sometimes targeted a parent leaf
- flickering on drop hover
2024-07-31 19:29:28 +02:00
nathan
0c2f211ada Fix some tree / drag & drop issues
- tree drop wouldn't work on newly added folders
- tree drop actions sometimes targeted a parent leaf
- flickering on drop hover
2024-07-31 09:52:24 -06:00
milan
a14605b18e javascript error on non existing nodeToUse 2024-07-29 19:33:34 +02:00
milan
59a88fe3f0 fix for string displayed at copy ... because innerText is not correct with recursive sl-tee-items anymore with new event-Handler binding 2024-07-29 19:32:36 +02:00
milan
ac8775115f Et2Tree now only binds on eventhandler for contextmenu and one for default instead of binding one for every item
-- EgwPopupActionImplementation now only binds one Handler iff FindActionTarget is implemented and actionObjectInterface has attribute tree set. This is only the case for EgwDragDropShoelaceTree
2024-07-29 19:31:48 +02:00
milan
4373819223 cleanup EgwDragDropShoelaceTree.ts
-- use class ... extends ... instead of constructor returning different object
2024-07-29 19:31:48 +02:00
milan
8289f01365 egwActionObjectInterface now has empty object handlers on default 2024-07-29 19:31:48 +02:00
milan
357551c7a2 javascript error on non existing nodeToUse 2024-07-26 12:31:56 +02:00
milan
b3e9e50af0 fix for string displayed at copy ... because innerText is not correct with recursive sl-tee-items anymore with new event-Handler binding 2024-07-26 12:03:19 +02:00
milan
6271f71a12 Et2Tree now only binds on eventhandler for contextmenu and one for default instead of binding one for every item
-- EgwPopupActionImplementation now only binds one Handler iff FindActionTarget is implemented and actionObjectInterface has attribute tree set. This is only the case for EgwDragDropShoelaceTree
2024-07-25 15:37:28 +02:00
milan
d5ffc615af cleanup EgwDragDropShoelaceTree.ts
-- use class ... extends ... instead of constructor returning different object
2024-07-25 14:24:57 +02:00
milan
2e3be2b1b7 egwActionObjectInterface now has empty object handlers on default 2024-07-25 14:21:32 +02:00
nathan
abc1f7eb66 Calendar: Drag & drop working for normal view 2024-07-24 09:01:39 -06:00
nathan
b2132c089d Calendar: Drag & drop working for normal view 2024-07-22 16:08:44 -06:00