Commit Graph

66 Commits

Author SHA1 Message Date
nathan
b070a5992c Better sizing for groupbox / details 2024-08-29 11:19:14 -06:00
nathan
69c87ffb94 Darker panel border, applies to details & groupbox 2024-08-29 10:25:30 -06:00
nathan
57f8bc0a99 Get Details / Groupbox to take all allowed vertical space and scroll internally if contents are too large 2024-08-28 13:20:01 -06:00
nathan
aa17533ff0 Use theme variables 2024-08-28 09:29:57 -06:00
nathan
17afd11990 Et2Tab: Add gap between tab contents 2024-08-23 08:38:33 -06:00
nathan
f518ed266b Et2Tabs: Fix tab content being incorrectly marked as readonly 2024-08-21 09:35:19 -06:00
nathan
4a18963650 Et2Tabs: Recognise hidden & disabled in the template 2024-08-16 14:40:25 -06:00
nathan
5c2d8dce5d Et2Box: Don't pass align=right on to child text alignment 2024-08-16 14:25:29 -06:00
ralf
ac86b58457 size internal details to size of et2-groupbox and add summaryInside property to show summary inside and not on top border 2024-08-15 20:25:25 +02:00
nathan
5314a091a0 Et2Tabs: Better handling of fallback tab sizing
Now considering tab may be bigger than parent
2024-08-14 13:05:10 -06:00
ralf
434ee70b44 new web-component et2-groupbox based on et2-details
also modernized et2-details code a bit using decorators
2024-08-14 15:25:02 +02:00
nathan
1e06b9cfc5 Et2Tabs: Better handling of child nodes 2024-08-13 15:45:43 -06:00
nathan
0f305e41a8 Et2Tabs now auto-size from first tab contents when tabHeight property is not set 2024-07-26 11:42:05 -06:00
nathan
041cb3b390 Restore missing click & double click events on tab 2024-07-15 09:08:37 -06: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