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
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 Gray
e323cd1d79
Feature/shoelace 2.4 upgrade ( #135 )
...
Update shoelace to 2.9.0
2023-09-13 11:55:33 -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
nathan
b8c3a97138
Et2Tabs: fix keyboard navigation
2022-12-22 14:51:48 -07: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
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
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