ralf
e9b054b025
WIP Mail REST API: change calendar to use new egw.openDialog():
...
- renamed app.dialogExec() to app.openDialog() or egw.openDialog()
- the later is the nicer place, but fails for lost window context with popups :(
2023-07-14 09:08:35 +02:00
nathan
b35e26a7f3
Get calendar quick-add working with Ralf's changes to open an etemplate in a dialog ( c63784d7e8
), fix buttons from those etemplates weren't adopted
2023-07-14 09:08:35 +02:00
ralf
d178087b16
WIP new app.ts method dialogExec(_menuaction) opening a popup into a dialog
2023-07-14 09:08:35 +02:00
nathan
6ee5d69e1e
Api: Add a timeout for form submit
...
If a submit takes more than 30s, give a warning and hide the loader so the user can try to salvage their changes.
2023-07-11 08:55:16 -06:00
nathan
abea23e9c1
Api: Fix number could not handle comma as decimal separator if different from browser's region.
2023-03-31 10:31:43 -06:00
nathan
86b883951a
Add isReady flag to etemplate. onchange functions set as attributes in .xet files will not be called until the etemplate is finished loading.
2023-02-27 15:31:07 -07:00
nathan
e532ca176b
Add Et2TabsMobile that has special rendering for tabs on mobile
2023-02-21 10:31:38 -07:00
nathan
098fe647dc
Start on converting date range to webcomponent
2022-12-20 14:05:20 -07:00
nathan
1aa87138a2
Addressbook: Correct fix for CRM breaking contact list actions
...
etemplate2.clear() was not removing getting the correct app instance removed
2022-10-19 10:54:11 -06:00
nathan
8221d66ce2
Fix nm printing did not properly wait for column selection or rows before trying to print
2022-10-06 15:39:35 -06:00
nathan
3ce5aebe12
Collabora: Get insert placeholder dialog working again
2022-10-05 10:50:54 -06:00
nathan
4454f350b2
Fix some more validation bugs
...
- Fix error if widget did not have a feedback slot or a '#help-text' element
- Fix copy/paste error scrolling to wrong widget
2022-09-22 11:43:29 -06:00
nathan
0424836ba8
If widget fails validation during submit check, scroll it into view
2022-09-22 09:20:50 -06:00
nathan
e6ce33b153
Fix invalid fields were not blocking submit
2022-09-21 09:56:15 -06:00
nathan
f43b641127
Implement readonly textarea as description
2022-09-19 13:28:20 -06:00
ralf
7b54b0f563
set correct return type
2022-09-08 11:30:20 +02:00
Hadi Nategh
ed87a8039a
Implement Spinner widget
2022-09-02 13:50:38 +02:00
nathan
1d5467faab
Et2ButtonIcon: Fix icons didn't show
...
Must use SVGs here
2022-08-22 13:45:06 -06:00
nathan
4318d1c0a5
Put nextmatch column selection into a dialog
2022-08-18 14:47:58 -06:00
nathan
8747bc2e0c
Allow et2-select-email to be focused as first input
2022-08-16 16:49:42 -06:00
nathan
ffc4fe36a0
Kanban: Fix display of resources on card by adding Et2AvatarGroup
2022-08-15 15:16:23 -06:00
ralf
2017bd8261
remove legacy widgets dropdown_button and favorites
2022-08-07 12:09:02 +02:00
ralf
d9d14f1e2a
implement appicon as web-component and remove/replace legacy et2_widget_image with stubs
2022-08-07 11:55:02 +02:00
ralf
29ac5d82a9
remove legacy widgets url-*, colorpicker and tabs
2022-08-07 11:02:54 +02: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
ralf
239a81e6d9
replace et2_link_add with a stub and no longer include it in etemplate2.ts
2022-08-06 08:38:16 +02:00
ralf
49aba7193d
adapt tab-activation on validation error to new tabs and additionally scroll widget into view
2022-08-05 20:33:29 +02:00
nathan
462f5bb55d
Fix widget without ID breaks submit
2022-08-03 11:45:45 -06:00
ralf
c3673b1126
ported timestamper to a web-component
...
also implemented legacy methods activateTab() and setActiveTab() for new tabs widget
2022-08-03 15:48:35 +02:00
Hadi Nategh
67b5c31404
Implements Et2Switch widget extended from shoelace switch
2022-08-03 13:41:08 +02:00
nathan
db143f047a
Change tabs to use Shoelace
...
Includes changes to historylog, since it did some deferred loading & sizing magic based on tab
2022-08-02 10:33:04 -06:00
ralf
125a8abf61
only call widget.resize() if it's a function:
...
- web-components do not implement it
- et2-textarea / SlTextarea uses resize as a property name
--> we can postpone the decision, if we need an explicit resize handler for our web-components, or using flex is sufficient, for now
2022-07-29 15:29:51 +02:00
nathan
04ac4d6045
Readonly checkbox
2022-07-28 10:28:22 -06:00
Hadi Nategh
e0b4c5f6af
Implements Et2Details webcomponent widget
2022-07-28 15:01:17 +02:00
nathan
7df2876d8a
New checkbox webcomponent based on SlCheckbox
2022-07-27 15:51:32 -06:00
ralf
879fb84229
automatic focus on first et2-textbox too, not just input
2022-07-27 10:29:31 +02:00
ralf
ac0867ab77
implement et2-searchbox and using it in NM
...
reorganized preprocessor a bit to fix some not replaced size attributes
also pass on constructor args in all Et2Url widgets
There is still a JS error in new searchbox, causing admin searchbox to not render :(
2022-07-22 20:43:09 +02:00
ralf
888b518e9b
implement et2-password web-component replacing passwd legacy widget
...
enabled Et2InvokerMixin to use an image instead of a textual label
also remove et2_fullWidth CSS class from all web-components in the preprocessor
2022-07-22 15:21:40 +02:00
ralf
b1da5b05a9
remove not used Et2Taglist
2022-07-21 17:22:47 +02:00
nathan
5deef4844d
Add Et2LinkAdd widget
2022-07-18 16:34:58 -06:00
nathan
3c96eb9ce6
Fix webcomponents with validation errors did not get tab activated
2022-07-14 11:37:29 -06:00
Hadi Nategh
97019379d8
WIP converting avatar widgets to webcomponent
2022-07-12 17:14:44 +02:00
nathan
ad82ea8faf
Et2Select layout improvements
...
- Added RowLimitedMixin to limit rows
- when multiple=true tags take full width by default, but intelligently resize
- No longer showing search icon
- Move Et2EmailTag add / CRM button to left of remove button
2022-07-11 17:27:17 -06:00
nathan
ed16ce52a2
Change nextmatch headers to use web components
2022-07-07 13:18:42 -06:00
nathan
76a19e86fb
Fix selectboxes didn't show server-side validation messages
2022-06-30 08:40:17 -06:00
nathan
d11be10fa1
Et2SelectEmail: Add button on hover to add a new contact with the email
...
(multiple)
2022-06-24 12:10:10 -06:00
nathan
9b3de5db95
Et2SelectCountry: Use CSS for flag images
2022-06-22 16:13:58 -06:00
nathan
4fe62a0322
Reset dirty after load to avoid unwanted close prompt
2022-06-21 09:22:39 -06:00
nathan
e44ca6183a
Promote select category to its own file
2022-06-20 09:35:38 -06:00
nathan
f13bf7b154
Et2SelectThumbnail
2022-06-17 13:07:33 -06:00