ralf
cf96aa5d98
found some more to remove "as any" from customElements.define() as it excludes widget from the documentation
...
not sure why it was added there in the first place for some widgets
2024-06-17 10:22:00 +02:00
nathan
ba744d3292
Remove Lion
2024-05-07 14:46:44 -06:00
nathan
65bf573f88
All etemplate widgets in component list
2023-10-11 14:48:58 -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
nathan
b83887d44a
Api: All images lazy load
...
Try to stop when lots of images block the rest of the rendering
2023-06-15 09:28:38 -06:00
nathan
7d86d69b49
Add statustext to list of detached attributes
2023-04-25 13:53:16 -06:00
ralf
918c0324d1
remove redundant if clause
2022-09-29 15:07:10 +02:00
nathan
ba8c5101ac
Et2Image: Fix data URLs did not work
2022-09-28 13:36:56 -06:00
nathan
cc132a8d72
Revert "getting label / tooltip of images to be translated", fixed another way.
...
This reverts commit 06ae750b32
.
2022-09-06 09:16:25 -06:00
ralf
06ae750b32
getting label / tooltip of images to be translated
...
not sure why this is necessary, as Et2Widgets lists label and statustext as to translate ...
2022-09-06 10:41:08 +02:00
Hadi Nategh
38d7604115
Prevent execution error
2022-08-31 12:24:49 +02:00
nathan
95f10b57f3
Et2Image: Check that src from content is valid to avoid overwriting existing src attribute
...
Happens in Kanban contact, src="email" but email has a value (an email address)
2022-08-15 13:25:08 -06: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
nathan
e9f0a5216b
Fix missing button images when image was not set before first update
2022-07-27 13:03:44 -06:00
ralf
b9d96ea3e9
change all attribute-names of new et2-* widgets to camelCase
...
only exception is select_options, never used in templates
2022-07-21 17:57:50 +02:00
nathan
2cd5c861aa
Favorites: Add icons to dropdown, fix icon styling in sidebox menu
2022-06-28 14:09:29 -06:00
nathan
3efe81c293
Fix Et2Image was using et2_clickable class without href or onclick
2022-06-10 13:25:54 -06:00
nathan
57e1845c16
Avoid errors if src changes before first render & img is not there
2022-05-27 14:20:35 -06:00
nathan
0963f7d548
Fix src could not be changed after being set
2022-05-27 14:11:35 -06:00
nathan
8172f6e72d
Et2DropdownButton WIP
2022-05-12 15:22:49 -06:00
ralf
7dc959c223
automatic convert <(image|description) expose_view="true" to <et2-*-expose
2022-05-05 19:07:44 +02:00
nathan
efcd5bbe51
Et2ImageExpose
2022-05-04 17:31:42 -06:00
nathan
10af4f7514
Historylog + webcomponents
...
- historylog widget now uses webcomponents for timestamp & user, and whenever possible for values
- History::get_rows() formats customfield date/date-time values as needed
- implement setDetachedAttributes(), if nextmatch & historylog are calling them on webcomponents, might as well use that to set what they pass
2022-05-03 11:01:42 -06:00
nathan
18f6d1ee0b
Et2Image: Fix "TypeError: this._imageTemplate is not a function"
...
I'm not sure how that happened. Autocorrect?
2022-04-14 08:50:34 -06:00
nathan
748e2ee70e
Et2Image: Use slotted image so most CSS still works
2022-04-13 10:37:55 -06:00
nathan
0d6d18e3fa
Et2Image: Show as clickable if image has href OR onclick
2022-04-13 08:34:24 -06:00
nathan
319bd51f80
Et2Image bugfixes
...
- No src or default_src gives nothing, not missing image
- Fix etemplate.php parser so buttons that get converted to images still submit
2022-04-12 10:00:43 -06:00
nathan
e3be42721e
Fix Et2Image did not double-transform src for as legacy image did
...
eg:
if $content[0][type] = "group"
${row}[type] => "0[type]" (single transform)
0[type] => "group" (double transform)
Also, fix type from addressbook list to not need double-transform
2022-04-11 15:03:24 -06:00
nathan
6ed888a80e
Fix missing Et2Image label
2022-04-11 13:38:24 -06:00
nathan
77a11cb5fe
Fix image src not getting set
2022-04-08 14:03:29 -06:00
nathan
2ba299f876
Change buttons that used to be just an image to be just an image
...
- Remove Et2ButtonImage, it's not needed. Buttons without labels look the same
- Add Et2Image to take its place
- Change etemplate modifier to use Et2Image for buttononly
- Some styling for mail account placeholder button
2022-04-08 13:03:20 -06:00