@zambon-dev/ui 1.11.0 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -1
- package/fesm2022/zambon-dev-ui-framework.mjs +6 -4
- package/fesm2022/zambon-dev-ui-framework.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-library.mjs +121 -37
- package/fesm2022/zambon-dev-ui-library.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-shared.mjs +1 -0
- package/fesm2022/zambon-dev-ui-shared.mjs.map +1 -1
- package/i18n/framework/en.json +1 -0
- package/i18n/framework/pt.json +1 -0
- package/package.json +1 -1
- package/types/zambon-dev-ui-library.d.ts +51 -0
package/CHANGELOG.md
CHANGED
|
@@ -27,6 +27,52 @@ packages are listed under [Package history](#package-history) at the end.
|
|
|
27
27
|
|
|
28
28
|
### ⚠ Breaking Changes / Migration
|
|
29
29
|
|
|
30
|
+
## [1.11.1] - 2026-12-06
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **`inputId` on `lib-form-input` and `lib-form-input-group`.** It sets the `id` of the native
|
|
35
|
+
input. The group generates one when you leave it out, and its label points at it.
|
|
36
|
+
- **`inputId` on `lib-number-input` and `lib-date-input`.** It sets the `id` of the text field.
|
|
37
|
+
`lib-form-input` passes its own, so a group's label names a number or date field too.
|
|
38
|
+
- **`actionsColumnText` in the data grid configs.** It names an `actions` column whose
|
|
39
|
+
`headerName` is empty. The library default is `Actions`; the framework's provider uses the new
|
|
40
|
+
`Grid-Actions` key.
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- **The group accordion title is an `<h5>` with a button inside it.** It was an `<h6>` with
|
|
45
|
+
`role="button"`, which removed it from the page's list of headings. The new level follows the
|
|
46
|
+
`<h4>` of `lib-group-container`. If your styles target `lib-group-accordion h6`, change them to
|
|
47
|
+
`h5`.
|
|
48
|
+
- **The form group title is an `<h6>`.** It was an `<h3>`, which jumped above the accordion it sits
|
|
49
|
+
in, so the outline skipped a level at the next section. If your styles target
|
|
50
|
+
`lib-form-group h3`, change them to `h6` or use the `.title` class.
|
|
51
|
+
|
|
52
|
+
### Fixed
|
|
53
|
+
|
|
54
|
+
- **Form labels name their field.** The label of `lib-form-input-group` and `lib-catalog-select`
|
|
55
|
+
pointed at an `id` no input had. A click on the label now focuses the field, and screen readers
|
|
56
|
+
announce it.
|
|
57
|
+
- **The tab strip contains only tabs.** The close buttons are hidden from assistive technology, and
|
|
58
|
+
each tab announces Delete as its shortcut. Before, screen readers found buttons inside the
|
|
59
|
+
tablist, which the tabs pattern does not allow.
|
|
60
|
+
- **The sidebar is a valid list.** Each menu entry is now a list item of its menu, so a screen
|
|
61
|
+
reader announces how many entries a level holds. The loading error is a list item too.
|
|
62
|
+
- **The catalog select's clear button no longer shows up as an unnamed button.** It is a pointer
|
|
63
|
+
shortcut, outside the Tab order, and is now hidden from assistive technology.
|
|
64
|
+
- **The modal's close button has a name.** The × in the header now takes the text of the footer's
|
|
65
|
+
close button, such as "Close". Before, screen readers announced an unnamed button.
|
|
66
|
+
- **A closed modal is hidden from assistive technology.** It was transparent, and left the page
|
|
67
|
+
only through an animation. Until that ran, screen readers and the Tab key could reach its
|
|
68
|
+
content. It now uses `visibility: hidden` once the fade-out ends.
|
|
69
|
+
- **A number or date field in a form group is named by its label.** The label pointed at no field,
|
|
70
|
+
so screen readers announced the field without a name.
|
|
71
|
+
- **The data grid names an actions column without a heading.** Its header cell was empty, so
|
|
72
|
+
screen readers had no name for the column. It now holds hidden text, `Actions` by default.
|
|
73
|
+
- **The file upload hint is readable.** Its text used `--color-content-subtle`, at 2.6:1 on white.
|
|
74
|
+
It now uses `--color-content-secondary`, which meets the 4.5:1 contrast for text.
|
|
75
|
+
|
|
30
76
|
## [1.11.0] - 2026-12-06
|
|
31
77
|
|
|
32
78
|
### Added
|
|
@@ -2846,7 +2892,8 @@ URL) in `AppConfig`, and implement a hub that pushes the notification list to cl
|
|
|
2846
2892
|
available via [GitHub Releases](https://github.com/RicardoZambon/ZLibraries/releases) and the
|
|
2847
2893
|
`shared-v*` tags.
|
|
2848
2894
|
|
|
2849
|
-
[Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/ui-v1.11.
|
|
2895
|
+
[Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/ui-v1.11.1...HEAD
|
|
2896
|
+
[1.11.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.11.1
|
|
2850
2897
|
[1.11.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.11.0
|
|
2851
2898
|
[1.10.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.10.0
|
|
2852
2899
|
[1.9.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.9.0
|
|
@@ -4737,7 +4737,7 @@ var TabsComponent = class TabsComponent {
|
|
|
4737
4737
|
descendants: true
|
|
4738
4738
|
}],
|
|
4739
4739
|
ngImport: i0,
|
|
4740
|
-
template: "@if (hasTabs) {\n <div class=\"tabs-container\" [class.can-scroll-left]=\"canScrollLeft()\" [class.can-scroll-right]=\"canScrollRight()\">\n <!-- Both buttons are present whenever the strip overflows, and disabled rather than removed at\n the end they point at. Rendering them per-direction meant the one being reached for\n disappeared on arrival: the strip changed width under the pointer and the click landed on\n nothing. tabindex -1 because the tablist is already one tab stop and the arrow keys reach\n every tab -- these are a pointer affordance, not a second keyboard path. -->\n @if (isOverflowing()) {\n <button\n class=\"tabs-scroll left\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"!canScrollLeft()\"\n [attr.aria-label]=\"'Tabs-ScrollLeft' | translate\"\n (click)=\"onScrollStrip(-1)\"\n >\n <i class=\"fas fa-chevron-left\"></i>\n </button>\n }\n\n <!-- Horizontally scrollable. This used to be overflow:hidden, so once the tabs were\n wider than the bar the ones past the right edge could not be reached at all. -->\n <ul #tabsNav class=\"tabs-nav\" role=\"tablist\">\n @for (tab of openTabs; track trackByFn(i, tab); let i = $index) {\n <li role=\"presentation\" [class.active]=\"isTabActive(tab)\">\n <a\n class=\"tab-item\"\n role=\"tab\"\n [id]=\"tabId(i)\"\n [attr.aria-controls]=\"panelId\"\n [attr.aria-selected]=\"isTabActive(tab)\"\n [attr.title]=\"tabDisplayTitles[i] ?? tab.title ?? null\"\n [attr.tabindex]=\"isTabActive(tab) ? 0 : -1\"\n (click)=\"onActivateTab(tab)\"\n (auxclick)=\"onTabAuxClick($event, i)\"\n (keydown.enter)=\"onActivateTab(tab)\"\n (keydown.space)=\"onActivateTab(tab); $event.preventDefault()\"\n (keydown.arrowleft)=\"onMoveFocus(i, -1); $event.preventDefault()\"\n (keydown.arrowright)=\"onMoveFocus(i, 1); $event.preventDefault()\"\n (keydown.home)=\"onMoveFocus(0, 0); $event.preventDefault()\"\n (keydown.end)=\"onMoveFocus(openTabs.length - 1, 0); $event.preventDefault()\"\n (keydown.delete)=\"onCloseTab(i); $event.preventDefault()\"\n >\n <!-- Rendered whether or not the title has resolved, so the tab keeps its width\n and the strip does not reflow as each title arrives. -->\n <span class=\"label\">{{ tabDisplayTitles[i] ?? tab.title ?? '' | translate }}</span>\n\n @if (tabLoadingStates[i]) {\n <svg class=\"spinner\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <circle class=\"opacity-25\" cx=\"12\" cy=\"12\" r=\"10\" stroke=\"currentColor\" stroke-width=\"4\"></circle>\n <path\n class=\"opacity-75\"\n fill=\"currentColor\"\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n ></path>\n </svg>\n }\n </a>\n\n <!-- tabindex -1: the tablist is one tab stop, and the close control is reachable\n from the tab itself with Delete rather than by tabbing through every one. -->\n <button\n class=\"tab-close\"\n type=\"button\"\n tabindex=\"-1\"\n [attr.aria-label]=\"'Tabs-CloseTab' | translate: { title: tabDisplayTitles[i] ?? tab.title ?? '' }\"\n (click)=\"onCloseTab(i)\"\n >\n <i class=\"fas fa-times\"></i>\n </button>\n </li>\n }\n </ul>\n\n @if (isOverflowing()) {\n <button\n class=\"tabs-scroll right\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"!canScrollRight()\"\n [attr.aria-label]=\"'Tabs-ScrollRight' | translate\"\n (click)=\"onScrollStrip(1)\"\n >\n <i class=\"fas fa-chevron-right\"></i>\n </button>\n }\n </div>\n}\n@if (hasTabs) {\n <div\n class=\"tab-content\"\n [class.flush-right]=\"isFlushRight()\"\n role=\"tabpanel\"\n [id]=\"panelId\"\n [attr.aria-labelledby]=\"activeTabId\"\n >\n <framework-tab-breadcrumbs></framework-tab-breadcrumbs>\n <ng-content></ng-content>\n </div>\n}\n",
|
|
4740
|
+
template: "@if (hasTabs) {\n <div class=\"tabs-container\" [class.can-scroll-left]=\"canScrollLeft()\" [class.can-scroll-right]=\"canScrollRight()\">\n <!-- Both buttons are present whenever the strip overflows, and disabled rather than removed at\n the end they point at. Rendering them per-direction meant the one being reached for\n disappeared on arrival: the strip changed width under the pointer and the click landed on\n nothing. tabindex -1 because the tablist is already one tab stop and the arrow keys reach\n every tab -- these are a pointer affordance, not a second keyboard path. -->\n @if (isOverflowing()) {\n <button\n class=\"tabs-scroll left\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"!canScrollLeft()\"\n [attr.aria-label]=\"'Tabs-ScrollLeft' | translate\"\n (click)=\"onScrollStrip(-1)\"\n >\n <i class=\"fas fa-chevron-left\"></i>\n </button>\n }\n\n <!-- Horizontally scrollable. This used to be overflow:hidden, so once the tabs were\n wider than the bar the ones past the right edge could not be reached at all. -->\n <ul #tabsNav class=\"tabs-nav\" role=\"tablist\">\n @for (tab of openTabs; track trackByFn(i, tab); let i = $index) {\n <li role=\"presentation\" [class.active]=\"isTabActive(tab)\">\n <a\n class=\"tab-item\"\n role=\"tab\"\n aria-keyshortcuts=\"Delete\"\n [id]=\"tabId(i)\"\n [attr.aria-controls]=\"panelId\"\n [attr.aria-selected]=\"isTabActive(tab)\"\n [attr.title]=\"tabDisplayTitles[i] ?? tab.title ?? null\"\n [attr.tabindex]=\"isTabActive(tab) ? 0 : -1\"\n (click)=\"onActivateTab(tab)\"\n (auxclick)=\"onTabAuxClick($event, i)\"\n (keydown.enter)=\"onActivateTab(tab)\"\n (keydown.space)=\"onActivateTab(tab); $event.preventDefault()\"\n (keydown.arrowleft)=\"onMoveFocus(i, -1); $event.preventDefault()\"\n (keydown.arrowright)=\"onMoveFocus(i, 1); $event.preventDefault()\"\n (keydown.home)=\"onMoveFocus(0, 0); $event.preventDefault()\"\n (keydown.end)=\"onMoveFocus(openTabs.length - 1, 0); $event.preventDefault()\"\n (keydown.delete)=\"onCloseTab(i); $event.preventDefault()\"\n >\n <!-- Rendered whether or not the title has resolved, so the tab keeps its width\n and the strip does not reflow as each title arrives. -->\n <span class=\"label\">{{ tabDisplayTitles[i] ?? tab.title ?? '' | translate }}</span>\n\n @if (tabLoadingStates[i]) {\n <svg class=\"spinner\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <circle class=\"opacity-25\" cx=\"12\" cy=\"12\" r=\"10\" stroke=\"currentColor\" stroke-width=\"4\"></circle>\n <path\n class=\"opacity-75\"\n fill=\"currentColor\"\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n ></path>\n </svg>\n }\n </a>\n\n <!-- tabindex -1: the tablist is one tab stop, and the close control is reachable\n from the tab itself with Delete rather than by tabbing through every one.\n aria-hidden: a tablist may contain only tabs, so assistive technology reaches\n closing through the tab, which announces the Delete shortcut. -->\n <button\n class=\"tab-close\"\n type=\"button\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n [attr.aria-label]=\"'Tabs-CloseTab' | translate: { title: tabDisplayTitles[i] ?? tab.title ?? '' }\"\n (click)=\"onCloseTab(i)\"\n >\n <i class=\"fas fa-times\"></i>\n </button>\n </li>\n }\n </ul>\n\n @if (isOverflowing()) {\n <button\n class=\"tabs-scroll right\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"!canScrollRight()\"\n [attr.aria-label]=\"'Tabs-ScrollRight' | translate\"\n (click)=\"onScrollStrip(1)\"\n >\n <i class=\"fas fa-chevron-right\"></i>\n </button>\n }\n </div>\n}\n@if (hasTabs) {\n <div\n class=\"tab-content\"\n [class.flush-right]=\"isFlushRight()\"\n role=\"tabpanel\"\n [id]=\"panelId\"\n [attr.aria-labelledby]=\"activeTabId\"\n >\n <framework-tab-breadcrumbs></framework-tab-breadcrumbs>\n <ng-content></ng-content>\n </div>\n}\n",
|
|
4741
4741
|
styles: ["@charset \"UTF-8\";@layer properties;:host{position:relative;display:block;height:100%;max-height:100%;max-width:100%}.tabs-container{position:absolute;top:0;z-index:1;display:flex;width:100%;max-width:100%;flex-direction:row;align-items:flex-end;height:var(--tabs-height);max-height:var(--tabs-height);--tabs-fade-start: 0px;--tabs-fade-end: 0px}.tabs-container.can-scroll-left{--tabs-fade-start: var(--tabs-fade-width)}.tabs-container.can-scroll-right{--tabs-fade-end: var(--tabs-fade-width)}.tabs-container .tabs-scroll{display:flex;flex-shrink:0;align-items:center;justify-content:center;align-self:stretch;cursor:pointer;--tw-border-style: none;border-style:none;padding:0;font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)));--tw-leading: 1;line-height:1;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));--tw-ease: var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));transition-timing-function:var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));width:var(--tabs-scroll-width);background-color:var(--tabs-item-bg);color:var(--tabs-item-text)}.tabs-container .tabs-scroll.left{border-top-left-radius:var(--tabs-item-radius)}.tabs-container .tabs-scroll.right{border-top-right-radius:var(--tabs-radius)}.tabs-container .tabs-scroll:hover:not(:disabled){background-color:var(--tabs-item-hover-bg);color:var(--tabs-item-active-text)}.tabs-container .tabs-scroll:disabled{cursor:default;opacity:40%}.tabs-container .tabs-nav{display:flex;height:100%;flex-direction:row;align-items:flex-end;min-width:0px;flex:1;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;border-top-right-radius:var(--tabs-radius);scrollbar-width:none}.tabs-container .tabs-nav::-webkit-scrollbar{display:none}.tabs-container .tabs-nav{mask-image:linear-gradient(to right,transparent 0,black var(--tabs-fade-start),black calc(100% - var(--tabs-fade-end)),transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0,black var(--tabs-fade-start),black calc(100% - var(--tabs-fade-end)),transparent 100%)}.tabs-container .tabs-nav li{position:relative;display:flex;flex-shrink:1;flex-grow:0;min-width:var(--tabs-item-min-width)}.tabs-container .tabs-nav li.active{z-index:1}.tabs-container .tabs-nav li .tab-item{display:flex;cursor:pointer;align-items:center;gap:calc(var(--spacing, .25rem) * 2);padding-block:calc(var(--spacing, .25rem) * 2);padding-right:calc(var(--spacing, .25rem) * 10);padding-left:calc(var(--spacing, .25rem) * 4);-webkit-user-select:none;user-select:none;overflow:hidden;font-size:var(--text-base, 1rem);line-height:var(--tw-leading, var(--text-base--line-height, 1.5 ));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));--tw-ease: var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));transition-timing-function:var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));min-width:0px;flex:1;max-width:var(--tabs-item-max-width);background-color:var(--tabs-item-bg);color:var(--tabs-item-text);border-top-left-radius:var(--tabs-item-radius);border-top-right-radius:var(--tabs-item-radius)}.tabs-container .tabs-nav li .tab-item .label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tabs-container .tabs-nav li .tab-item .spinner{height:calc(var(--spacing, .25rem) * 4);width:calc(var(--spacing, .25rem) * 4);flex-shrink:0;animation:var(--animate-spin, spin 1s linear infinite)}.tabs-container .tabs-nav li .tab-item:focus-visible{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style: none;outline-style:none;--tw-ring-inset: inset;--tw-ring-color: var(--tabs-item-active-text)}@media(forced-colors:active){.tabs-container .tabs-nav li .tab-item:focus-visible{outline:2px solid transparent;outline-offset:2px}}.tabs-container .tabs-nav li:hover .tab-item{background-color:var(--tabs-item-hover-bg)}.tabs-container .tabs-nav li.active .tab-item{background-color:var(--tabs-item-active-bg);color:var(--tabs-item-active-text);backdrop-filter:blur(var(--tabs-blur));-webkit-backdrop-filter:blur(var(--tabs-blur))}.tabs-container .tabs-nav li .tab-close{position:absolute;top:50%;right:calc(var(--spacing, .25rem) * 1.5);display:flex;--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y);align-items:center;justify-content:center;height:calc(var(--spacing, .25rem) * 6);width:calc(var(--spacing, .25rem) * 6);cursor:pointer;border-radius:calc(infinity * 1px);font-size:var(--text-base, 1rem);line-height:var(--tw-leading, var(--text-base--line-height, 1.5 ));--tw-leading: 1;line-height:1;--tw-border-style: none;border-style:none;background-color:transparent;padding:0;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));--tw-ease: var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));transition-timing-function:var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));color:var(--tabs-close)}.tabs-container .tabs-nav li .tab-close:hover,.tabs-container .tabs-nav li .tab-close:focus-visible{background-color:var(--tabs-close-hover-bg);color:var(--tabs-close-hover)}.tab-content{position:absolute;bottom:0;display:flex;width:100%;max-width:100%;flex-direction:column;gap:calc(var(--spacing, .25rem) * 2);overflow-y:auto;padding:calc(var(--spacing, .25rem) * 2);top:var(--tabs-height)}.tab-content ::ng-deep router-outlet{display:none}.tab-content{border:1px solid var(--tabs-border);border-top:0;border-bottom-left-radius:var(--tabs-radius);border-bottom-right-radius:var(--tabs-radius);border-top-right-radius:var(--tabs-radius);box-shadow:var(--tabs-shadow)}.tab-content.flush-right{border-top-right-radius:0}.tab-content{--surface-radius: calc(var(--tabs-radius) - .5rem - 1px);isolation:isolate}.tab-content:before{pointer-events:none;position:absolute;inset:0;z-index:-1;--tw-content: \"\";content:var(--tw-content);background-color:var(--tabs-content-bg);border-radius:inherit;backdrop-filter:blur(var(--tabs-blur));-webkit-backdrop-filter:blur(var(--tabs-blur))}@property --tw-leading{syntax: \"*\"; inherits: false;}@property --tw-ease{syntax: \"*\"; inherits: false;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-translate-x{syntax: \"*\"; inherits: false; initial-value: 0;}@property --tw-translate-y{syntax: \"*\"; inherits: false; initial-value: 0;}@property --tw-translate-z{syntax: \"*\"; inherits: false; initial-value: 0;}@property --tw-content{syntax: \"*\"; inherits: false; initial-value: \"\";}@keyframes spin{to{transform:rotate(360deg)}}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-leading: initial;--tw-ease: initial;--tw-font-weight: initial;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-content: \"\"}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
|
|
4742
4742
|
dependencies: [{
|
|
4743
4743
|
kind: "component",
|
|
@@ -4760,7 +4760,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4760
4760
|
args: [{
|
|
4761
4761
|
selector: "framework-tabs",
|
|
4762
4762
|
imports: [TabBreadcrumbsComponent, TranslatePipe],
|
|
4763
|
-
template: "@if (hasTabs) {\n <div class=\"tabs-container\" [class.can-scroll-left]=\"canScrollLeft()\" [class.can-scroll-right]=\"canScrollRight()\">\n <!-- Both buttons are present whenever the strip overflows, and disabled rather than removed at\n the end they point at. Rendering them per-direction meant the one being reached for\n disappeared on arrival: the strip changed width under the pointer and the click landed on\n nothing. tabindex -1 because the tablist is already one tab stop and the arrow keys reach\n every tab -- these are a pointer affordance, not a second keyboard path. -->\n @if (isOverflowing()) {\n <button\n class=\"tabs-scroll left\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"!canScrollLeft()\"\n [attr.aria-label]=\"'Tabs-ScrollLeft' | translate\"\n (click)=\"onScrollStrip(-1)\"\n >\n <i class=\"fas fa-chevron-left\"></i>\n </button>\n }\n\n <!-- Horizontally scrollable. This used to be overflow:hidden, so once the tabs were\n wider than the bar the ones past the right edge could not be reached at all. -->\n <ul #tabsNav class=\"tabs-nav\" role=\"tablist\">\n @for (tab of openTabs; track trackByFn(i, tab); let i = $index) {\n <li role=\"presentation\" [class.active]=\"isTabActive(tab)\">\n <a\n class=\"tab-item\"\n role=\"tab\"\n [id]=\"tabId(i)\"\n [attr.aria-controls]=\"panelId\"\n [attr.aria-selected]=\"isTabActive(tab)\"\n [attr.title]=\"tabDisplayTitles[i] ?? tab.title ?? null\"\n [attr.tabindex]=\"isTabActive(tab) ? 0 : -1\"\n (click)=\"onActivateTab(tab)\"\n (auxclick)=\"onTabAuxClick($event, i)\"\n (keydown.enter)=\"onActivateTab(tab)\"\n (keydown.space)=\"onActivateTab(tab); $event.preventDefault()\"\n (keydown.arrowleft)=\"onMoveFocus(i, -1); $event.preventDefault()\"\n (keydown.arrowright)=\"onMoveFocus(i, 1); $event.preventDefault()\"\n (keydown.home)=\"onMoveFocus(0, 0); $event.preventDefault()\"\n (keydown.end)=\"onMoveFocus(openTabs.length - 1, 0); $event.preventDefault()\"\n (keydown.delete)=\"onCloseTab(i); $event.preventDefault()\"\n >\n <!-- Rendered whether or not the title has resolved, so the tab keeps its width\n and the strip does not reflow as each title arrives. -->\n <span class=\"label\">{{ tabDisplayTitles[i] ?? tab.title ?? '' | translate }}</span>\n\n @if (tabLoadingStates[i]) {\n <svg class=\"spinner\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <circle class=\"opacity-25\" cx=\"12\" cy=\"12\" r=\"10\" stroke=\"currentColor\" stroke-width=\"4\"></circle>\n <path\n class=\"opacity-75\"\n fill=\"currentColor\"\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n ></path>\n </svg>\n }\n </a>\n\n <!-- tabindex -1: the tablist is one tab stop, and the close control is reachable\n from the tab itself with Delete rather than by tabbing through every one. -->\n <button\n class=\"tab-close\"\n type=\"button\"\n tabindex=\"-1\"\n [attr.aria-label]=\"'Tabs-CloseTab' | translate: { title: tabDisplayTitles[i] ?? tab.title ?? '' }\"\n (click)=\"onCloseTab(i)\"\n >\n <i class=\"fas fa-times\"></i>\n </button>\n </li>\n }\n </ul>\n\n @if (isOverflowing()) {\n <button\n class=\"tabs-scroll right\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"!canScrollRight()\"\n [attr.aria-label]=\"'Tabs-ScrollRight' | translate\"\n (click)=\"onScrollStrip(1)\"\n >\n <i class=\"fas fa-chevron-right\"></i>\n </button>\n }\n </div>\n}\n@if (hasTabs) {\n <div\n class=\"tab-content\"\n [class.flush-right]=\"isFlushRight()\"\n role=\"tabpanel\"\n [id]=\"panelId\"\n [attr.aria-labelledby]=\"activeTabId\"\n >\n <framework-tab-breadcrumbs></framework-tab-breadcrumbs>\n <ng-content></ng-content>\n </div>\n}\n",
|
|
4763
|
+
template: "@if (hasTabs) {\n <div class=\"tabs-container\" [class.can-scroll-left]=\"canScrollLeft()\" [class.can-scroll-right]=\"canScrollRight()\">\n <!-- Both buttons are present whenever the strip overflows, and disabled rather than removed at\n the end they point at. Rendering them per-direction meant the one being reached for\n disappeared on arrival: the strip changed width under the pointer and the click landed on\n nothing. tabindex -1 because the tablist is already one tab stop and the arrow keys reach\n every tab -- these are a pointer affordance, not a second keyboard path. -->\n @if (isOverflowing()) {\n <button\n class=\"tabs-scroll left\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"!canScrollLeft()\"\n [attr.aria-label]=\"'Tabs-ScrollLeft' | translate\"\n (click)=\"onScrollStrip(-1)\"\n >\n <i class=\"fas fa-chevron-left\"></i>\n </button>\n }\n\n <!-- Horizontally scrollable. This used to be overflow:hidden, so once the tabs were\n wider than the bar the ones past the right edge could not be reached at all. -->\n <ul #tabsNav class=\"tabs-nav\" role=\"tablist\">\n @for (tab of openTabs; track trackByFn(i, tab); let i = $index) {\n <li role=\"presentation\" [class.active]=\"isTabActive(tab)\">\n <a\n class=\"tab-item\"\n role=\"tab\"\n aria-keyshortcuts=\"Delete\"\n [id]=\"tabId(i)\"\n [attr.aria-controls]=\"panelId\"\n [attr.aria-selected]=\"isTabActive(tab)\"\n [attr.title]=\"tabDisplayTitles[i] ?? tab.title ?? null\"\n [attr.tabindex]=\"isTabActive(tab) ? 0 : -1\"\n (click)=\"onActivateTab(tab)\"\n (auxclick)=\"onTabAuxClick($event, i)\"\n (keydown.enter)=\"onActivateTab(tab)\"\n (keydown.space)=\"onActivateTab(tab); $event.preventDefault()\"\n (keydown.arrowleft)=\"onMoveFocus(i, -1); $event.preventDefault()\"\n (keydown.arrowright)=\"onMoveFocus(i, 1); $event.preventDefault()\"\n (keydown.home)=\"onMoveFocus(0, 0); $event.preventDefault()\"\n (keydown.end)=\"onMoveFocus(openTabs.length - 1, 0); $event.preventDefault()\"\n (keydown.delete)=\"onCloseTab(i); $event.preventDefault()\"\n >\n <!-- Rendered whether or not the title has resolved, so the tab keeps its width\n and the strip does not reflow as each title arrives. -->\n <span class=\"label\">{{ tabDisplayTitles[i] ?? tab.title ?? '' | translate }}</span>\n\n @if (tabLoadingStates[i]) {\n <svg class=\"spinner\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n <circle class=\"opacity-25\" cx=\"12\" cy=\"12\" r=\"10\" stroke=\"currentColor\" stroke-width=\"4\"></circle>\n <path\n class=\"opacity-75\"\n fill=\"currentColor\"\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n ></path>\n </svg>\n }\n </a>\n\n <!-- tabindex -1: the tablist is one tab stop, and the close control is reachable\n from the tab itself with Delete rather than by tabbing through every one.\n aria-hidden: a tablist may contain only tabs, so assistive technology reaches\n closing through the tab, which announces the Delete shortcut. -->\n <button\n class=\"tab-close\"\n type=\"button\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n [attr.aria-label]=\"'Tabs-CloseTab' | translate: { title: tabDisplayTitles[i] ?? tab.title ?? '' }\"\n (click)=\"onCloseTab(i)\"\n >\n <i class=\"fas fa-times\"></i>\n </button>\n </li>\n }\n </ul>\n\n @if (isOverflowing()) {\n <button\n class=\"tabs-scroll right\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"!canScrollRight()\"\n [attr.aria-label]=\"'Tabs-ScrollRight' | translate\"\n (click)=\"onScrollStrip(1)\"\n >\n <i class=\"fas fa-chevron-right\"></i>\n </button>\n }\n </div>\n}\n@if (hasTabs) {\n <div\n class=\"tab-content\"\n [class.flush-right]=\"isFlushRight()\"\n role=\"tabpanel\"\n [id]=\"panelId\"\n [attr.aria-labelledby]=\"activeTabId\"\n >\n <framework-tab-breadcrumbs></framework-tab-breadcrumbs>\n <ng-content></ng-content>\n </div>\n}\n",
|
|
4764
4764
|
styles: ["@charset \"UTF-8\";@layer properties;:host{position:relative;display:block;height:100%;max-height:100%;max-width:100%}.tabs-container{position:absolute;top:0;z-index:1;display:flex;width:100%;max-width:100%;flex-direction:row;align-items:flex-end;height:var(--tabs-height);max-height:var(--tabs-height);--tabs-fade-start: 0px;--tabs-fade-end: 0px}.tabs-container.can-scroll-left{--tabs-fade-start: var(--tabs-fade-width)}.tabs-container.can-scroll-right{--tabs-fade-end: var(--tabs-fade-width)}.tabs-container .tabs-scroll{display:flex;flex-shrink:0;align-items:center;justify-content:center;align-self:stretch;cursor:pointer;--tw-border-style: none;border-style:none;padding:0;font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)));--tw-leading: 1;line-height:1;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));--tw-ease: var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));transition-timing-function:var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));width:var(--tabs-scroll-width);background-color:var(--tabs-item-bg);color:var(--tabs-item-text)}.tabs-container .tabs-scroll.left{border-top-left-radius:var(--tabs-item-radius)}.tabs-container .tabs-scroll.right{border-top-right-radius:var(--tabs-radius)}.tabs-container .tabs-scroll:hover:not(:disabled){background-color:var(--tabs-item-hover-bg);color:var(--tabs-item-active-text)}.tabs-container .tabs-scroll:disabled{cursor:default;opacity:40%}.tabs-container .tabs-nav{display:flex;height:100%;flex-direction:row;align-items:flex-end;min-width:0px;flex:1;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;border-top-right-radius:var(--tabs-radius);scrollbar-width:none}.tabs-container .tabs-nav::-webkit-scrollbar{display:none}.tabs-container .tabs-nav{mask-image:linear-gradient(to right,transparent 0,black var(--tabs-fade-start),black calc(100% - var(--tabs-fade-end)),transparent 100%);-webkit-mask-image:linear-gradient(to right,transparent 0,black var(--tabs-fade-start),black calc(100% - var(--tabs-fade-end)),transparent 100%)}.tabs-container .tabs-nav li{position:relative;display:flex;flex-shrink:1;flex-grow:0;min-width:var(--tabs-item-min-width)}.tabs-container .tabs-nav li.active{z-index:1}.tabs-container .tabs-nav li .tab-item{display:flex;cursor:pointer;align-items:center;gap:calc(var(--spacing, .25rem) * 2);padding-block:calc(var(--spacing, .25rem) * 2);padding-right:calc(var(--spacing, .25rem) * 10);padding-left:calc(var(--spacing, .25rem) * 4);-webkit-user-select:none;user-select:none;overflow:hidden;font-size:var(--text-base, 1rem);line-height:var(--tw-leading, var(--text-base--line-height, 1.5 ));--tw-font-weight: var(--font-weight-medium, 500);font-weight:var(--font-weight-medium, 500);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));--tw-ease: var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));transition-timing-function:var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));min-width:0px;flex:1;max-width:var(--tabs-item-max-width);background-color:var(--tabs-item-bg);color:var(--tabs-item-text);border-top-left-radius:var(--tabs-item-radius);border-top-right-radius:var(--tabs-item-radius)}.tabs-container .tabs-nav li .tab-item .label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tabs-container .tabs-nav li .tab-item .spinner{height:calc(var(--spacing, .25rem) * 4);width:calc(var(--spacing, .25rem) * 4);flex-shrink:0;animation:var(--animate-spin, spin 1s linear infinite)}.tabs-container .tabs-nav li .tab-item:focus-visible{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style: none;outline-style:none;--tw-ring-inset: inset;--tw-ring-color: var(--tabs-item-active-text)}@media(forced-colors:active){.tabs-container .tabs-nav li .tab-item:focus-visible{outline:2px solid transparent;outline-offset:2px}}.tabs-container .tabs-nav li:hover .tab-item{background-color:var(--tabs-item-hover-bg)}.tabs-container .tabs-nav li.active .tab-item{background-color:var(--tabs-item-active-bg);color:var(--tabs-item-active-text);backdrop-filter:blur(var(--tabs-blur));-webkit-backdrop-filter:blur(var(--tabs-blur))}.tabs-container .tabs-nav li .tab-close{position:absolute;top:50%;right:calc(var(--spacing, .25rem) * 1.5);display:flex;--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y);align-items:center;justify-content:center;height:calc(var(--spacing, .25rem) * 6);width:calc(var(--spacing, .25rem) * 6);cursor:pointer;border-radius:calc(infinity * 1px);font-size:var(--text-base, 1rem);line-height:var(--tw-leading, var(--text-base--line-height, 1.5 ));--tw-leading: 1;line-height:1;--tw-border-style: none;border-style:none;background-color:transparent;padding:0;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));--tw-ease: var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));transition-timing-function:var(--ease-in-out, cubic-bezier(.4, 0, .2, 1));color:var(--tabs-close)}.tabs-container .tabs-nav li .tab-close:hover,.tabs-container .tabs-nav li .tab-close:focus-visible{background-color:var(--tabs-close-hover-bg);color:var(--tabs-close-hover)}.tab-content{position:absolute;bottom:0;display:flex;width:100%;max-width:100%;flex-direction:column;gap:calc(var(--spacing, .25rem) * 2);overflow-y:auto;padding:calc(var(--spacing, .25rem) * 2);top:var(--tabs-height)}.tab-content ::ng-deep router-outlet{display:none}.tab-content{border:1px solid var(--tabs-border);border-top:0;border-bottom-left-radius:var(--tabs-radius);border-bottom-right-radius:var(--tabs-radius);border-top-right-radius:var(--tabs-radius);box-shadow:var(--tabs-shadow)}.tab-content.flush-right{border-top-right-radius:0}.tab-content{--surface-radius: calc(var(--tabs-radius) - .5rem - 1px);isolation:isolate}.tab-content:before{pointer-events:none;position:absolute;inset:0;z-index:-1;--tw-content: \"\";content:var(--tw-content);background-color:var(--tabs-content-bg);border-radius:inherit;backdrop-filter:blur(var(--tabs-blur));-webkit-backdrop-filter:blur(var(--tabs-blur))}@property --tw-leading{syntax: \"*\"; inherits: false;}@property --tw-ease{syntax: \"*\"; inherits: false;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-translate-x{syntax: \"*\"; inherits: false; initial-value: 0;}@property --tw-translate-y{syntax: \"*\"; inherits: false; initial-value: 0;}@property --tw-translate-z{syntax: \"*\"; inherits: false; initial-value: 0;}@property --tw-content{syntax: \"*\"; inherits: false; initial-value: \"\";}@keyframes spin{to{transform:rotate(360deg)}}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-leading: initial;--tw-ease: initial;--tw-font-weight: initial;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000;--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-content: \"\"}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
|
|
4765
4765
|
}]
|
|
4766
4766
|
}],
|
|
@@ -5138,7 +5138,7 @@ var FileUploadComponent = class FileUploadComponent extends BaseComponent {
|
|
|
5138
5138
|
usesInheritance: true,
|
|
5139
5139
|
ngImport: i0,
|
|
5140
5140
|
template: "<lib-form-input-group\n [controlName]=\"controlName()\"\n [label]=\"label()\"\n [notes]=\"notes()\"\n [template]=\"template\"\n [validations]=\"validations()\"\n>\n</lib-form-input-group>\n\n<ng-template #template>\n <div class=\"file-upload\">\n @if (isEditable()) {\n <!-- The zone is the browse button: Enter and Space open the native picker, like a click. -->\n <div\n class=\"drop-zone\"\n role=\"button\"\n tabindex=\"0\"\n [attr.aria-describedby]=\"hintId\"\n [class.drag-over]=\"isDragOver()\"\n [class.invalid]=\"isInvalid()\"\n (click)=\"fileInput.click()\"\n (dragenter)=\"onDragOver($event)\"\n (dragleave)=\"onDragLeave($event)\"\n (dragover)=\"onDragOver($event)\"\n (drop)=\"onDrop($event)\"\n (keydown.enter)=\"onKeyDown($event, fileInput)\"\n (keydown.space)=\"onKeyDown($event, fileInput)\"\n >\n <i class=\"fa-solid fa-cloud-arrow-up icon\" aria-hidden=\"true\"></i>\n <span class=\"prompt\">\n {{ (multiple() ? 'FileUpload-Prompt-Multiple' : 'FileUpload-Prompt') | translate }}\n <span class=\"browse\">{{ 'FileUpload-Browse' | translate }}</span>\n </span>\n <span class=\"hint\" [attr.id]=\"hintId\">\n @if (accept()) {\n <span>{{ 'FileUpload-Accept' | translate: { types: acceptText() } }}</span>\n }\n @if (maxFileSize() !== undefined) {\n <span>{{ 'FileUpload-MaxFileSize' | translate: { size: formatSize(maxFileSize()!) } }}</span>\n }\n @if (multiple() && maxFiles() !== undefined) {\n <span>{{ 'FileUpload-MaxFiles' | translate: { count: maxFiles() } }}</span>\n }\n </span>\n </div>\n <input\n #fileInput\n class=\"native-input\"\n type=\"file\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n [attr.accept]=\"accept() || null\"\n [multiple]=\"multiple()\"\n (change)=\"onInputChange($event)\"\n />\n\n <!-- A live region around a plain list: role=\"status\" on the <ul> itself would drop its list\n meaning, and every item would then fail the listitem rule. -->\n <div role=\"status\">\n <ul class=\"rejections\">\n @for (rejection of rejections(); track $index) {\n <li>\n {{\n rejectionKey(rejection.reason)\n | translate\n : {\n name: rejection.file.name,\n size: maxFileSize() !== undefined ? formatSize(maxFileSize()!) : '',\n count: fileLimit(),\n }\n }}\n </li>\n }\n </ul>\n </div>\n }\n\n @if (files().length > 0) {\n <ul class=\"file-list\">\n @for (file of files(); track $index) {\n <li class=\"file\">\n <i class=\"fa-regular fa-file icon\" aria-hidden=\"true\"></i>\n <span class=\"name\" [attr.title]=\"file.name\">{{ file.name }}</span>\n <span class=\"size\">{{ formatSize(file.size) }}</span>\n @if (isEditable()) {\n <button\n class=\"remove\"\n type=\"button\"\n [attr.aria-label]=\"'FileUpload-Remove' | translate: { name: file.name }\"\n [attr.title]=\"'FileUpload-Remove' | translate: { name: file.name }\"\n (click)=\"onRemoveClick(file)\"\n >\n <i class=\"fa-solid fa-xmark\" aria-hidden=\"true\"></i>\n </button>\n }\n @let percent = progressOf(file);\n @if (percent !== undefined) {\n <div\n class=\"progress\"\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [attr.aria-label]=\"'FileUpload-Progress' | translate: { name: file.name }\"\n [attr.aria-valuenow]=\"percent\"\n >\n <div class=\"bar\" [style.width.%]=\"percent\"></div>\n </div>\n }\n </li>\n }\n </ul>\n } @else if (!isEditable()) {\n <span class=\"value\">{{ 'FileUpload-Empty' | translate }}</span>\n }\n </div>\n</ng-template>\n",
|
|
5141
|
-
styles: ["@layer properties;:host{grid-column:span 2 / span 2;display:grid;grid-template-columns:subgrid}.file-upload{display:flex;min-width:0px;flex-direction:column;gap:calc(var(--spacing, .25rem) * 2)}.drop-zone{display:flex;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:var(--spacing, .25rem);padding-inline:calc(var(--spacing, .25rem) * 3);padding-block:calc(var(--spacing, .25rem) * 4);text-align:center;border-style:var(--tw-border-style);border-width:2px;--tw-border-style: dashed;border-style:dashed;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));border-color:var(--color-line-strong);border-radius:var(--radius-field);color:var(--color-content-secondary)}.drop-zone:hover{background-color:var(--state-hover)}.drop-zone:focus-visible{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(var(--focus-ring-width) + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style: none;outline-style:none;--tw-ring-color: var(--color-focus-ring)}@media(forced-colors:active){.drop-zone:focus-visible{outline:2px solid transparent;outline-offset:2px}}.drop-zone.drag-over{border-color:var(--color-accent);background-color:var(--state-selected)}.drop-zone.invalid{border-color:var(--color-danger)}.drop-zone .icon{font-size:var(--text-2xl, 1.5rem);line-height:var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));color:var(--color-content-subtle)}.drop-zone .prompt{overflow-wrap:break-word;font-size:var(--text-ui)}.drop-zone .browse{text-decoration-line:underline;color:var(--color-accent-strong);font-weight:var(--font-weight-emphasis)}.drop-zone .hint{display:flex;flex-wrap:wrap;justify-content:center;column-gap:calc(var(--spacing, .25rem) * 3);overflow-wrap:break-word;font-size:var(--text-caption);color:var(--color-content-
|
|
5141
|
+
styles: ["@layer properties;:host{grid-column:span 2 / span 2;display:grid;grid-template-columns:subgrid}.file-upload{display:flex;min-width:0px;flex-direction:column;gap:calc(var(--spacing, .25rem) * 2)}.drop-zone{display:flex;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:var(--spacing, .25rem);padding-inline:calc(var(--spacing, .25rem) * 3);padding-block:calc(var(--spacing, .25rem) * 4);text-align:center;border-style:var(--tw-border-style);border-width:2px;--tw-border-style: dashed;border-style:dashed;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));border-color:var(--color-line-strong);border-radius:var(--radius-field);color:var(--color-content-secondary)}.drop-zone:hover{background-color:var(--state-hover)}.drop-zone:focus-visible{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(var(--focus-ring-width) + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style: none;outline-style:none;--tw-ring-color: var(--color-focus-ring)}@media(forced-colors:active){.drop-zone:focus-visible{outline:2px solid transparent;outline-offset:2px}}.drop-zone.drag-over{border-color:var(--color-accent);background-color:var(--state-selected)}.drop-zone.invalid{border-color:var(--color-danger)}.drop-zone .icon{font-size:var(--text-2xl, 1.5rem);line-height:var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));color:var(--color-content-subtle)}.drop-zone .prompt{overflow-wrap:break-word;font-size:var(--text-ui)}.drop-zone .browse{text-decoration-line:underline;color:var(--color-accent-strong);font-weight:var(--font-weight-emphasis)}.drop-zone .hint{display:flex;flex-wrap:wrap;justify-content:center;column-gap:calc(var(--spacing, .25rem) * 3);overflow-wrap:break-word;font-size:var(--text-caption);color:var(--color-content-secondary)}.native-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}.rejections{display:flex;flex-direction:column;gap:calc(var(--spacing, .25rem) * .5);overflow-wrap:break-word;font-size:var(--text-caption);color:var(--color-danger)}.rejections:empty{display:none}.file-list{display:flex;flex-direction:column;gap:var(--spacing, .25rem)}.file{display:grid;align-items:center;column-gap:calc(var(--spacing, .25rem) * 2);padding-inline:calc(var(--spacing, .25rem) * 2);padding-block:var(--spacing, .25rem);grid-template-columns:auto minmax(0,1fr) auto auto;border:1px solid var(--color-line);border-radius:var(--radius-field);background-color:var(--color-surface-inset);color:var(--color-content-primary)}.file .icon{color:var(--color-content-subtle)}.file .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file .size{white-space:nowrap;font-size:var(--text-caption);color:var(--color-content-secondary)}.file .remove{display:flex;height:calc(var(--spacing, .25rem) * 6);width:calc(var(--spacing, .25rem) * 6);cursor:pointer;align-items:center;justify-content:center;--tw-border-style: none;border-style:none;background-color:transparent;padding:0;border-radius:var(--radius-control);color:var(--color-content-subtle)}.file .remove:hover{color:var(--color-content-primary);background-color:var(--state-hover)}.file .remove:focus-visible{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(var(--focus-ring-width) + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style: none;outline-style:none;--tw-ring-color: var(--color-focus-ring)}@media(forced-colors:active){.file .remove:focus-visible{outline:2px solid transparent;outline-offset:2px}}.file .progress{grid-column:1 / -1;margin-top:var(--spacing, .25rem);height:calc(var(--spacing, .25rem) * 1.5);overflow:hidden;border-radius:calc(infinity * 1px);background-color:var(--color-line)}.file .progress .bar{height:100%;border-radius:calc(infinity * 1px);transition-property:width;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));background-color:var(--color-accent)}.value{display:block;padding-block:var(--spacing, .25rem);color:var(--color-content-secondary)}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
|
|
5142
5142
|
dependencies: [{
|
|
5143
5143
|
kind: "component",
|
|
5144
5144
|
type: FormInputGroupComponent,
|
|
@@ -5149,6 +5149,7 @@ var FileUploadComponent = class FileUploadComponent extends BaseComponent {
|
|
|
5149
5149
|
"controlName",
|
|
5150
5150
|
"fixedValue",
|
|
5151
5151
|
"format",
|
|
5152
|
+
"inputId",
|
|
5152
5153
|
"label",
|
|
5153
5154
|
"isDisabled",
|
|
5154
5155
|
"isFullHeight",
|
|
@@ -5181,7 +5182,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5181
5182
|
selector: "framework-file-upload",
|
|
5182
5183
|
imports: [FormInputGroupComponent, TranslatePipe],
|
|
5183
5184
|
template: "<lib-form-input-group\n [controlName]=\"controlName()\"\n [label]=\"label()\"\n [notes]=\"notes()\"\n [template]=\"template\"\n [validations]=\"validations()\"\n>\n</lib-form-input-group>\n\n<ng-template #template>\n <div class=\"file-upload\">\n @if (isEditable()) {\n <!-- The zone is the browse button: Enter and Space open the native picker, like a click. -->\n <div\n class=\"drop-zone\"\n role=\"button\"\n tabindex=\"0\"\n [attr.aria-describedby]=\"hintId\"\n [class.drag-over]=\"isDragOver()\"\n [class.invalid]=\"isInvalid()\"\n (click)=\"fileInput.click()\"\n (dragenter)=\"onDragOver($event)\"\n (dragleave)=\"onDragLeave($event)\"\n (dragover)=\"onDragOver($event)\"\n (drop)=\"onDrop($event)\"\n (keydown.enter)=\"onKeyDown($event, fileInput)\"\n (keydown.space)=\"onKeyDown($event, fileInput)\"\n >\n <i class=\"fa-solid fa-cloud-arrow-up icon\" aria-hidden=\"true\"></i>\n <span class=\"prompt\">\n {{ (multiple() ? 'FileUpload-Prompt-Multiple' : 'FileUpload-Prompt') | translate }}\n <span class=\"browse\">{{ 'FileUpload-Browse' | translate }}</span>\n </span>\n <span class=\"hint\" [attr.id]=\"hintId\">\n @if (accept()) {\n <span>{{ 'FileUpload-Accept' | translate: { types: acceptText() } }}</span>\n }\n @if (maxFileSize() !== undefined) {\n <span>{{ 'FileUpload-MaxFileSize' | translate: { size: formatSize(maxFileSize()!) } }}</span>\n }\n @if (multiple() && maxFiles() !== undefined) {\n <span>{{ 'FileUpload-MaxFiles' | translate: { count: maxFiles() } }}</span>\n }\n </span>\n </div>\n <input\n #fileInput\n class=\"native-input\"\n type=\"file\"\n tabindex=\"-1\"\n aria-hidden=\"true\"\n [attr.accept]=\"accept() || null\"\n [multiple]=\"multiple()\"\n (change)=\"onInputChange($event)\"\n />\n\n <!-- A live region around a plain list: role=\"status\" on the <ul> itself would drop its list\n meaning, and every item would then fail the listitem rule. -->\n <div role=\"status\">\n <ul class=\"rejections\">\n @for (rejection of rejections(); track $index) {\n <li>\n {{\n rejectionKey(rejection.reason)\n | translate\n : {\n name: rejection.file.name,\n size: maxFileSize() !== undefined ? formatSize(maxFileSize()!) : '',\n count: fileLimit(),\n }\n }}\n </li>\n }\n </ul>\n </div>\n }\n\n @if (files().length > 0) {\n <ul class=\"file-list\">\n @for (file of files(); track $index) {\n <li class=\"file\">\n <i class=\"fa-regular fa-file icon\" aria-hidden=\"true\"></i>\n <span class=\"name\" [attr.title]=\"file.name\">{{ file.name }}</span>\n <span class=\"size\">{{ formatSize(file.size) }}</span>\n @if (isEditable()) {\n <button\n class=\"remove\"\n type=\"button\"\n [attr.aria-label]=\"'FileUpload-Remove' | translate: { name: file.name }\"\n [attr.title]=\"'FileUpload-Remove' | translate: { name: file.name }\"\n (click)=\"onRemoveClick(file)\"\n >\n <i class=\"fa-solid fa-xmark\" aria-hidden=\"true\"></i>\n </button>\n }\n @let percent = progressOf(file);\n @if (percent !== undefined) {\n <div\n class=\"progress\"\n role=\"progressbar\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [attr.aria-label]=\"'FileUpload-Progress' | translate: { name: file.name }\"\n [attr.aria-valuenow]=\"percent\"\n >\n <div class=\"bar\" [style.width.%]=\"percent\"></div>\n </div>\n }\n </li>\n }\n </ul>\n } @else if (!isEditable()) {\n <span class=\"value\">{{ 'FileUpload-Empty' | translate }}</span>\n }\n </div>\n</ng-template>\n",
|
|
5184
|
-
styles: ["@layer properties;:host{grid-column:span 2 / span 2;display:grid;grid-template-columns:subgrid}.file-upload{display:flex;min-width:0px;flex-direction:column;gap:calc(var(--spacing, .25rem) * 2)}.drop-zone{display:flex;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:var(--spacing, .25rem);padding-inline:calc(var(--spacing, .25rem) * 3);padding-block:calc(var(--spacing, .25rem) * 4);text-align:center;border-style:var(--tw-border-style);border-width:2px;--tw-border-style: dashed;border-style:dashed;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));border-color:var(--color-line-strong);border-radius:var(--radius-field);color:var(--color-content-secondary)}.drop-zone:hover{background-color:var(--state-hover)}.drop-zone:focus-visible{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(var(--focus-ring-width) + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style: none;outline-style:none;--tw-ring-color: var(--color-focus-ring)}@media(forced-colors:active){.drop-zone:focus-visible{outline:2px solid transparent;outline-offset:2px}}.drop-zone.drag-over{border-color:var(--color-accent);background-color:var(--state-selected)}.drop-zone.invalid{border-color:var(--color-danger)}.drop-zone .icon{font-size:var(--text-2xl, 1.5rem);line-height:var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));color:var(--color-content-subtle)}.drop-zone .prompt{overflow-wrap:break-word;font-size:var(--text-ui)}.drop-zone .browse{text-decoration-line:underline;color:var(--color-accent-strong);font-weight:var(--font-weight-emphasis)}.drop-zone .hint{display:flex;flex-wrap:wrap;justify-content:center;column-gap:calc(var(--spacing, .25rem) * 3);overflow-wrap:break-word;font-size:var(--text-caption);color:var(--color-content-
|
|
5185
|
+
styles: ["@layer properties;:host{grid-column:span 2 / span 2;display:grid;grid-template-columns:subgrid}.file-upload{display:flex;min-width:0px;flex-direction:column;gap:calc(var(--spacing, .25rem) * 2)}.drop-zone{display:flex;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:var(--spacing, .25rem);padding-inline:calc(var(--spacing, .25rem) * 3);padding-block:calc(var(--spacing, .25rem) * 4);text-align:center;border-style:var(--tw-border-style);border-width:2px;--tw-border-style: dashed;border-style:dashed;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));border-color:var(--color-line-strong);border-radius:var(--radius-field);color:var(--color-content-secondary)}.drop-zone:hover{background-color:var(--state-hover)}.drop-zone:focus-visible{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(var(--focus-ring-width) + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style: none;outline-style:none;--tw-ring-color: var(--color-focus-ring)}@media(forced-colors:active){.drop-zone:focus-visible{outline:2px solid transparent;outline-offset:2px}}.drop-zone.drag-over{border-color:var(--color-accent);background-color:var(--state-selected)}.drop-zone.invalid{border-color:var(--color-danger)}.drop-zone .icon{font-size:var(--text-2xl, 1.5rem);line-height:var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));color:var(--color-content-subtle)}.drop-zone .prompt{overflow-wrap:break-word;font-size:var(--text-ui)}.drop-zone .browse{text-decoration-line:underline;color:var(--color-accent-strong);font-weight:var(--font-weight-emphasis)}.drop-zone .hint{display:flex;flex-wrap:wrap;justify-content:center;column-gap:calc(var(--spacing, .25rem) * 3);overflow-wrap:break-word;font-size:var(--text-caption);color:var(--color-content-secondary)}.native-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border-width:0}.rejections{display:flex;flex-direction:column;gap:calc(var(--spacing, .25rem) * .5);overflow-wrap:break-word;font-size:var(--text-caption);color:var(--color-danger)}.rejections:empty{display:none}.file-list{display:flex;flex-direction:column;gap:var(--spacing, .25rem)}.file{display:grid;align-items:center;column-gap:calc(var(--spacing, .25rem) * 2);padding-inline:calc(var(--spacing, .25rem) * 2);padding-block:var(--spacing, .25rem);grid-template-columns:auto minmax(0,1fr) auto auto;border:1px solid var(--color-line);border-radius:var(--radius-field);background-color:var(--color-surface-inset);color:var(--color-content-primary)}.file .icon{color:var(--color-content-subtle)}.file .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file .size{white-space:nowrap;font-size:var(--text-caption);color:var(--color-content-secondary)}.file .remove{display:flex;height:calc(var(--spacing, .25rem) * 6);width:calc(var(--spacing, .25rem) * 6);cursor:pointer;align-items:center;justify-content:center;--tw-border-style: none;border-style:none;background-color:transparent;padding:0;border-radius:var(--radius-control);color:var(--color-content-subtle)}.file .remove:hover{color:var(--color-content-primary);background-color:var(--state-hover)}.file .remove:focus-visible{--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(var(--focus-ring-width) + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style: none;outline-style:none;--tw-ring-color: var(--color-focus-ring)}@media(forced-colors:active){.file .remove:focus-visible{outline:2px solid transparent;outline-offset:2px}}.file .progress{grid-column:1 / -1;margin-top:var(--spacing, .25rem);height:calc(var(--spacing, .25rem) * 1.5);overflow:hidden;border-radius:calc(infinity * 1px);background-color:var(--color-line)}.file .progress .bar{height:100%;border-radius:calc(infinity * 1px);transition-property:width;transition-timing-function:var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));transition-duration:var(--tw-duration, var(--default-transition-duration, .15s));background-color:var(--color-accent)}.value{display:block;padding-block:var(--spacing, .25rem);color:var(--color-content-secondary)}@property --tw-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --tw-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-inset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-shadow-color{syntax: \"*\"; inherits: false;}@property --tw-inset-shadow-alpha{syntax: \"<percentage>\"; inherits: false; initial-value: 100%;}@property --tw-ring-color{syntax: \"*\"; inherits: false;}@property --tw-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-inset-ring-color{syntax: \"*\"; inherits: false;}@property --tw-inset-ring-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@property --tw-ring-inset{syntax: \"*\"; inherits: false;}@property --tw-ring-offset-width{syntax: \"<length>\"; inherits: false; initial-value: 0px;}@property --tw-ring-offset-color{syntax: \"*\"; inherits: false; initial-value: #fff;}@property --tw-ring-offset-shadow{syntax: \"*\"; inherits: false; initial-value: 0 0 #0000;}@layer properties{@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style: solid;--tw-shadow: 0 0 #0000;--tw-shadow-color: initial;--tw-shadow-alpha: 100%;--tw-inset-shadow: 0 0 #0000;--tw-inset-shadow-color: initial;--tw-inset-shadow-alpha: 100%;--tw-ring-color: initial;--tw-ring-shadow: 0 0 #0000;--tw-inset-ring-color: initial;--tw-inset-ring-shadow: 0 0 #0000;--tw-ring-inset: initial;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-offset-shadow: 0 0 #0000}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
|
|
5185
5186
|
}]
|
|
5186
5187
|
}],
|
|
5187
5188
|
ctorParameters: () => [],
|
|
@@ -5648,6 +5649,7 @@ var FrameworkGridConfigsProvider = class FrameworkGridConfigsProvider extends Da
|
|
|
5648
5649
|
constructor() {
|
|
5649
5650
|
super();
|
|
5650
5651
|
Object.assign(this.configs, {
|
|
5652
|
+
actionsColumnText: "Grid-Actions",
|
|
5651
5653
|
loadingDisplayText: "Grid-Loading",
|
|
5652
5654
|
messageOnEmpty: "Grid-Message-Empty",
|
|
5653
5655
|
messageOnFailed: "Grid-Message-Failed",
|