Commit Graph

31 Commits

Author SHA1 Message Date
nathan
7559ae4f21 Switch some CSS colors from specific values to variables 2024-07-15 08:24:47 -06:00
nathan
672f591266 Et2InvokerMixin: Fix invoker did not get added 2024-05-08 09:15:38 -06:00
nathan
ba744d3292 Remove Lion 2024-05-07 14:46:44 -06:00
nathan
d132609165 Api: Don't try to translate URLs
Also sub-classes email, phone, etc.
2024-02-02 09:24:46 -07:00
ralf
80dd602e66 fix doubled domain in brackets for emailDisplay="domain" 2024-01-22 22:11:42 +02:00
ralf
b492ed5c15 use "email" as default for emailDisplay attribute in et2-url-email (like before)
add new attribute value "preference" to use the user preference (like et2-email does)
2024-01-22 17:11:53 +02:00
nathan
84fb37214a Refactor email address formatting and use it in Et2EmailTag and Et2UrlEmailReadonly 2024-01-16 15:29:12 -07: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
7a17dcc7cb Fix handling of email addresses with names
- read-only was leaving out quotes on name, failing validation
- Commas in name caused problems when adding in to existing values due to simplistic CSV splitting
2023-08-03 16:57:53 -06:00
hadi
3ecb093d35 Implement onlyEmail option for UrlEmailReadonly 2023-06-22 14:37:15 +02:00
hadi
a8e83ad59f Fix readonly links styling 2023-05-04 12:41:30 +02:00
nathan
5e6b11e73c Et2UrlEmail: Use default mail app when preference says to 2023-03-22 13:03:23 -06:00
nathan
9cc1f08d63 Et2UrlEmail: Fix click to add to email button was broken 2023-02-17 08:51:27 -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
ralf
259bc4cd71 fix not working click on URL
static method Et2Url.action() can NOT use this.egw(), but global egw
2022-08-09 16:46:57 +02:00
ralf
0ad3cf9832 fix not working onchange with Shoelace components: need to bind sl-change instead of change
adding change handler to invoker mixing to enable/disable invoker when value changes
2022-07-27 12:33:37 +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
nathan
ea20784e31 Get Invoker buttons back after changing Et2Textbox base
379ceeb3e5
2022-07-21 14:05:53 -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
cf151afff8 Clean up some TypeScript type issues
Putting the constructor type fixes some complaints about our widgets not being LitElements
2022-06-10 10:25:31 -06:00
nathan
ec8b32c01d CSS / Layout cleanup - better autosize
- let things inside box shrink, actual widget can decide minimums
- Slotted inputs take up full width by default
- More consistent sizing/position for invoker
2022-04-22 15:21:46 -06:00
nathan
a83f9a1ec9 Get tests passing again
- Dates have their input as slotted, not internal
- Selects have .select_options, not .get_select_options()
- Remove this.egw().lang() use from Et2InvokerMixin._invokerTemplate()
2022-04-01 12:52:47 -06:00
ralf
5650e8c616 ignore click action for an empty value 2022-03-18 09:53:09 +02:00
ralf
89ebb61f76 implement full_email attribute for et2-url-email with changed default of false 2022-03-15 14:39:42 +02:00
ralf
940e1b12c1 Implement expand_multiple_rows attribute for Et2Select using Et2InvokerMixin 2022-03-12 14:49:25 +02:00
ralf
6ebd09b275 size and align icons for url-widgets 2022-03-10 18:14:28 +02:00
Hadi Nategh
1be92b5b61 Style MixinInvoker widgets 2022-03-10 15:39:54 +01:00
ralf
782958d7fc Fix/remove email validator and implement trailing_slash attribute 2022-03-10 14:26:06 +02:00
ralf
ebaebf65ca Implement et2-url-* incl. r/o
ToDo: implement allow_path and trailing slash attributes for et2-url
2022-03-10 10:15:59 +02:00
ralf
1b74f1f1a7 WIP URL widget for email and phone (not yet styled) 2022-03-08 20:20:06 +02:00