nathan
a657ac27d4
Restore missing click & double click events on tab
...
(cherry picked from commit 041cb3b390
)
2024-07-31 11:03:51 +02:00
nathan
4a04253fa9
Et2Tabs now auto-size from first tab contents when tabHeight property is not set
...
(cherry picked from commit 0f305e41a8
)
2024-07-31 11:03:51 +02:00
ralf
645889d899
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 09:58:41 +02:00
nathan
ba744d3292
Remove Lion
2024-05-07 14:46:44 -06:00
ralf
2e37f9bd34
WIP allow to place custom-fields in specified tabs and automatic tab generation
...
- no more need to add custom-field tabs to the template, if a et2-tabs is used
- new custom-field options for et2-tabs:
+ cfTypeFilter propagated to type_filter of customfields widget
+ cfPrivateTab use an extra tab for private cfs
+ cfPrepend where to add cf tabs, default before history tab or at the end, if no history tab
2024-03-25 16:03:48 +02:00
ralf
5352972e2a
WIP allowing to speard custom fields optionally to dynamic generated tabs
2024-03-21 10:28:27 +02:00
ralf
7e9b2f3687
WIP allow to specify an optional tab-name for a cf, to create additional tab(s) and show the cfs in them
...
currently an extra namespace prevents storing and reading these cfs
2024-03-20 21:49:09 +02:00
nathan
a4ec5577a0
Revert "Api: Let details take remaining height of component"
...
It caused details to be not visible in mail attachments
This reverts commit 00cf7cf56d
.
2024-02-07 08:52:22 -07:00
nathan
00cf7cf56d
Api: Let details take remaining height of component
2024-02-06 09:57:33 -07:00
nathan
45f9801df8
Code documentation
2023-11-09 11:12:16 -07:00
nathan
054d124afe
Initial attempt at a nice dev reference.
...
Many thanks to all the other developers who made this possible, especially Shoelace
2023-09-22 13:51:38 -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
f28771e22b
Api: Let box onclick also be detached attribute
2023-04-14 09:07:05 -06:00
nathan
f8904ef126
Fix et2-vbox center alignment
2023-04-11 11:58:56 -06:00
nathan
886de143d4
Fix "Uncaught (in promise) TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'."
2023-04-03 11:57:57 -06:00
nathan
2446c3823f
Et2TabsMobile: Fix double values when submitting.
...
Render was making multiple copies of the sub-template
2023-03-29 11:02:28 -06: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
Hadi Nategh
5a2bbd6463
Adjust details container calculation for overlaySummary based on left/right alignment
2023-02-09 11:26:25 +01:00
Hadi Nategh
84a58ec6ae
Add new attribute for details widget to overlay the summary container
2023-02-07 16:49:18 +01:00
nathan
ba608fddc7
Et2Split: Fix incorrect / frozen sizing of split in Firefox
...
If user dragged very quickly & released the mouse button before the resize was complete, we would wind up with incorrect size
2023-01-06 11:07:50 -07:00
nathan
b8c3a97138
Et2Tabs: fix keyboard navigation
2022-12-22 14:51:48 -07:00
nathan
6c4c42bcde
Translation of "on vacation" from Birgit
2022-12-12 15:09:57 -07:00
nathan
65a7abeca2
A little more space for details dropdown
2022-12-12 14:26:54 -07:00
nathan
4399e276eb
Remove debug
2022-12-05 09:39:08 -07:00
nathan
2e61c3a23e
Et2Box: Implement elign=center
2022-11-25 11:18:12 -07:00
nathan
9f26cbf1e5
Use method to set data
2022-11-24 11:50:36 -07:00
Hadi Nategh
1ecc7b729a
make sure mouse up is handled when the mouse position has crossed the min/max points
2022-10-21 12:00:08 +02:00
Hadi Nategh
68acd6d370
Prompt user a message while resizing splitter regarding iframes
2022-10-17 14:06:12 +02:00
nathan
38d5cd627f
Work around Chromium bug that gives huge print jobs with thousands of pages
...
https://bugs.chromium.org/p/chromium/issues/detail?id=1161709
2022-10-07 09:08:07 -06:00
Hadi Nategh
e1a87caf6c
WIP of better UI
2022-08-30 07:50:43 +02:00
Hadi Nategh
e75621fb39
Set default placement for tabs in mobile template
2022-08-23 13:49:20 +02:00
Hadi Nategh
281047e2cc
Keep the original outerNode top offset as we need it later for NM height calculations
2022-08-09 15:17:58 +02:00
nathan
e67c3d6e61
Et2Tabs: Implement et2_IResizable
2022-08-05 11:01:26 -06:00
ralf
b22674dbd7
change tabbox to be an input widget allowing to get and set the active tab
2022-08-05 17:37:23 +02:00
nathan
098c2ab3f0
Fix some issues from the shoelace version bump
...
- SlSelect.getItemLabel() not there anymore
- SlSelect.menuItems is now a real list, and fails when parent tries to write to it
- Tabs didn't hide properly when not active, giving a scrollbar
2022-08-04 13:47:16 -06:00
nathan
111e337db1
Avoid error when getting tab height from parent
2022-08-04 09:19:04 -06:00
Hadi Nategh
47825f1be3
Override default color-indicator from shoelace
2022-08-04 16:31:14 +02:00
Hadi Nategh
de699325a6
Set a smaller font-size for tab's label
2022-08-04 16:19:30 +02:00
Hadi Nategh
2369daa2e8
Add toggle alignment option into Et2Details widget
2022-08-04 11:40:27 +02: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
nathan
9530f693e0
Set ID for tab contentDiv
2022-08-02 16:40:27 -06:00
nathan
d438b4e355
Use webcomponent for tabs
...
+ handle tabs set by variable better
2022-08-02 14:53:15 -06: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
Hadi Nategh
53baf00ebf
Add max-height to Details content container
2022-07-28 15:31:45 +02:00
Hadi Nategh
e0b4c5f6af
Implements Et2Details webcomponent widget
2022-07-28 15:01:17 +02:00
Hadi Nategh
6ac41f0495
Add part to ET2Box base container
2022-07-27 15:31:09 +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
797c615060
Move Et2Box into Layout
2022-05-06 11:57:53 -06:00