@zambon-dev/ui 1.3.0 → 1.4.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 +42 -0
- package/fesm2022/zambon-dev-ui-library.mjs +8 -3
- package/fesm2022/zambon-dev-ui-library.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-shared.mjs +205 -35
- package/fesm2022/zambon-dev-ui-shared.mjs.map +1 -1
- package/i18n/shared/operations-history/en.json +15 -0
- package/i18n/shared/operations-history/pt.json +15 -0
- package/package.json +1 -1
- package/types/zambon-dev-ui-library.d.ts +1 -0
- package/types/zambon-dev-ui-shared.d.ts +132 -2
package/CHANGELOG.md
CHANGED
|
@@ -23,6 +23,48 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
23
23
|
|
|
24
24
|
### ⚠ Breaking Changes / Migration
|
|
25
25
|
|
|
26
|
+
## [1.4.1] - 2026-10-31
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- **A sidebar parent leaves its loading state once its children arrive.** Opening a parent kept
|
|
31
|
+
the spinner on even when the menus answered: the children were handed over in a plain field, so
|
|
32
|
+
under `OnPush` the item never re-rendered, its child items never rendered, and only they end the
|
|
33
|
+
loading state. `SidebarService` now emits `childrenLoaded`, and the item keeps its children in a
|
|
34
|
+
signal.
|
|
35
|
+
- **The audit diff is readable in both themes.** Before and after values, and the operation badge,
|
|
36
|
+
drew status-coloured text on the `*-surface` tokens, which are that same colour at 75%. They now
|
|
37
|
+
sit on a light tint with a firmer border.
|
|
38
|
+
- **The audit diff scrolls.** A record with more fields than the modal's height ran past it with no
|
|
39
|
+
way to scroll. The field table now scrolls inside the modal, under a sticky header.
|
|
40
|
+
|
|
41
|
+
## [1.4.0] - 2026-10-31
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
|
|
45
|
+
- **The audit shows an operation's changes as a diff.** The change details list each field with
|
|
46
|
+
its label and its value before and after. Changed values are marked in red and green, with +/−
|
|
47
|
+
markers and screen-reader text, so the change does not rely on colour alone. Dates, numbers and
|
|
48
|
+
booleans follow the user's locale. The details open on the fields the operation changed; **Show
|
|
49
|
+
all fields** lists the rest of the record, with the key and audit columns grouped apart. That
|
|
50
|
+
needs ZWebAPI 1.17 or later, which rebuilds the whole record; against an older backend the
|
|
51
|
+
changed fields still show and the option is off.
|
|
52
|
+
- **Each operation in the list says how many fields it changed.**
|
|
53
|
+
- **`OPERATIONS_HISTORY_FIELD_LABEL` labels the audited fields.** The default turns `NomeCompleto`
|
|
54
|
+
into "Nome completo". Provide a function to use the application's own field labels or
|
|
55
|
+
translation keys.
|
|
56
|
+
|
|
57
|
+
### Deprecated
|
|
58
|
+
|
|
59
|
+
- **`shared-operations-history-modal`'s `oldValues` and `newValues` inputs.** Bind `operation`
|
|
60
|
+
instead. The operations list's `selectedOldValues` and `selectedNewValues` give way to
|
|
61
|
+
`selectedOperation` likewise.
|
|
62
|
+
|
|
63
|
+
### Fixed
|
|
64
|
+
|
|
65
|
+
- **Selecting an operation with no stored values no longer throws.** The operations list parsed an
|
|
66
|
+
empty string as JSON.
|
|
67
|
+
|
|
26
68
|
## [1.3.0] - 2026-10-31
|
|
27
69
|
|
|
28
70
|
### Added
|
|
@@ -1209,6 +1209,7 @@ function toSidebarMenuOpenMode(value) {
|
|
|
1209
1209
|
}
|
|
1210
1210
|
var SidebarService = class SidebarService {
|
|
1211
1211
|
childrenFailed = new EventEmitter();
|
|
1212
|
+
childrenLoaded = new EventEmitter();
|
|
1212
1213
|
childrenLoading = new EventEmitter();
|
|
1213
1214
|
childrenInitialized = new EventEmitter();
|
|
1214
1215
|
menuExternalUrlSelected = new EventEmitter();
|
|
@@ -1253,6 +1254,7 @@ var SidebarService = class SidebarService {
|
|
|
1253
1254
|
return this.loadMenus(parentMenu).pipe(take(1), map((menus) => menus.map((menu) => new SidebarMenu(menu))), tap((childrenMenus) => {
|
|
1254
1255
|
parentMenu.children = childrenMenus;
|
|
1255
1256
|
childrenMenus.forEach((childMenu) => childMenu.parent = parentMenu);
|
|
1257
|
+
this.childrenLoaded.emit(parentMenu);
|
|
1256
1258
|
}));
|
|
1257
1259
|
}
|
|
1258
1260
|
loadRoot() {
|
|
@@ -4904,6 +4906,7 @@ var SidebarItemComponent = class SidebarItemComponent extends BaseComponent {
|
|
|
4904
4906
|
isLast = false;
|
|
4905
4907
|
level = 0;
|
|
4906
4908
|
menu;
|
|
4909
|
+
children = signal([], ...ngDevMode ? [{ debugName: "children" }] : /* istanbul ignore next */ []);
|
|
4907
4910
|
hasFailed = signal(false, ...ngDevMode ? [{ debugName: "hasFailed" }] : /* istanbul ignore next */ []);
|
|
4908
4911
|
isLoading = signal(false, ...ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []);
|
|
4909
4912
|
isSelected = signal(false, ...ngDevMode ? [{ debugName: "isSelected" }] : /* istanbul ignore next */ []);
|
|
@@ -4914,7 +4917,7 @@ var SidebarItemComponent = class SidebarItemComponent extends BaseComponent {
|
|
|
4914
4917
|
return this._childHeight();
|
|
4915
4918
|
}
|
|
4916
4919
|
get areChildrenLoaded() {
|
|
4917
|
-
return this.isParent &&
|
|
4920
|
+
return this.isParent && this.children().length > 0;
|
|
4918
4921
|
}
|
|
4919
4922
|
get externalLinkText() {
|
|
4920
4923
|
return this.sidebarConfigs.externalLinkText;
|
|
@@ -4951,6 +4954,8 @@ var SidebarItemComponent = class SidebarItemComponent extends BaseComponent {
|
|
|
4951
4954
|
this.isSelected.set(false);
|
|
4952
4955
|
this.menu.isSelected = false;
|
|
4953
4956
|
});
|
|
4957
|
+
this.children.set(this.menu.children ?? []);
|
|
4958
|
+
this.sidebarService.childrenLoaded.pipe(takeUntil(this.destroy$), filter((menu) => menu.id === this.menu.id)).subscribe((menu) => this.children.set(menu.children ?? []));
|
|
4954
4959
|
this.sidebarService.childrenLoading.pipe(takeUntil(this.destroy$), filter((menu) => menu.id === this.menu.id)).subscribe((_menu) => {
|
|
4955
4960
|
this.hasFailed.set(false);
|
|
4956
4961
|
this.isLoading.set(true);
|
|
@@ -5015,7 +5020,7 @@ var SidebarItemComponent = class SidebarItemComponent extends BaseComponent {
|
|
|
5015
5020
|
}],
|
|
5016
5021
|
usesInheritance: true,
|
|
5017
5022
|
ngImport: i0,
|
|
5018
|
-
template: "<li>\n <div\n #menuContainer\n [class.external]=\"opensInNewBrowserTab\"\n [class.failed]=\"hasFailed()\"\n [class.loading]=\"isLoading()\"\n [class.parent]=\"isParent\"\n [class.selected]=\"isSelected()\"\n role=\"button\"\n tabindex=\"0\"\n [attr.aria-current]=\"isSelected()\"\n (click)=\"onSelectItem()\"\n (keydown.enter)=\"onSelectItem()\"\n (keydown.space)=\"onSelectItem(); $event.preventDefault()\"\n >\n <a [attr.title]=\"opensInNewBrowserTab ? externalLinkText : null\">\n @if (hasIcon && level === 0) {\n <i class=\"fa-solid fa-fw {{ menu.icon }}\"></i>\n }\n <span>{{ menu.label | translate }}</span>\n </a>\n\n @if (isParent) {\n <div class=\"loading\">\n <svg class=\"animate-spin text-white\" 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 </div>\n }\n </div>\n\n @if (isParent) {\n <ul\n [class.open]=\"isSelected()\"\n [ngStyle]=\"{\n 'height.px': childHeight,\n 'max-height.px': childHeight,\n }\"\n >\n @for (child of
|
|
5023
|
+
template: "<li>\n <div\n #menuContainer\n [class.external]=\"opensInNewBrowserTab\"\n [class.failed]=\"hasFailed()\"\n [class.loading]=\"isLoading()\"\n [class.parent]=\"isParent\"\n [class.selected]=\"isSelected()\"\n role=\"button\"\n tabindex=\"0\"\n [attr.aria-current]=\"isSelected()\"\n (click)=\"onSelectItem()\"\n (keydown.enter)=\"onSelectItem()\"\n (keydown.space)=\"onSelectItem(); $event.preventDefault()\"\n >\n <a [attr.title]=\"opensInNewBrowserTab ? externalLinkText : null\">\n @if (hasIcon && level === 0) {\n <i class=\"fa-solid fa-fw {{ menu.icon }}\"></i>\n }\n <span>{{ menu.label | translate }}</span>\n </a>\n\n @if (isParent) {\n <div class=\"loading\">\n <svg class=\"animate-spin text-white\" 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 </div>\n }\n </div>\n\n @if (isParent) {\n <ul\n [class.open]=\"isSelected()\"\n [ngStyle]=\"{\n 'height.px': childHeight,\n 'max-height.px': childHeight,\n }\"\n >\n @for (child of children(); track trackByFn($index, child); let last = $last) {\n <lib-sidebar-item [menu]=\"child\" [level]=\"level + 1\" [isLast]=\"last\"> </lib-sidebar-item>\n }\n </ul>\n }\n</li>\n",
|
|
5019
5024
|
styles: ["@layer properties;:host{position:relative;display:block}@media(max-width:767px){:host:not(.active) li>ul{height:0px!important}}@media(min-width:768px){:host:not(.expanded):not(.active) li>ul{height:0px!important}:host.expanded li>div{margin-inline:.5rem}:host.expanded li>div.external:after{opacity:100%}:host.expanded li>div.external a{padding-right:calc(var(--spacing, .25rem) * 8)}:host.expanded li>div.parent:not(.loading):after{opacity:100%}:host.expanded li>div.parent a{padding-right:calc(var(--spacing, .25rem) * 8)}:host.expanded li>div.parent.loading .loading{opacity:100%!important}:host.expanded li>div a i{margin-left:0;font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)))}:host.expanded li>div a span{opacity:100%}}:host.active li>div{margin-inline:.5rem}:host.active li>div.external:after{opacity:100%}:host.active li>div.external a{padding-right:calc(var(--spacing, .25rem) * 8)}:host.active li>div.parent:not(.loading):after{opacity:100%}:host.active li>div.parent a{padding-right:calc(var(--spacing, .25rem) * 8)}:host.active li>div.parent.loading .loading{opacity:100%!important}:host.active li>div a i{margin-left:0;font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)))}:host.active li>div a span{opacity:100%}:host.expanded li .selected:not(.loading).parent:after,:host.active li .selected:not(.loading).parent:after{rotate:-90deg}li{position:relative;height:100%}li>div{position:relative;overflow:hidden;height:var(--sidebar-item-height);line-height:var(--sidebar-item-height);border-radius:var(--sidebar-item-radius);transition-property:margin,background-color;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));transition-duration:var(--sidebar-animation-duration)}li>div:hover{background-color:var(--sidebar-item-hover-bg)}li>div.selected{background-color:var(--sidebar-item-selected-bg);color:var(--sidebar-item-selected-text)}li>div.external:after{position:absolute;top:0;right:calc(var(--spacing, .25rem) * 3);width:10px;font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)));--tw-font-weight: var(--font-weight-extrabold, 800);font-weight:var(--font-weight-extrabold, 800);transition-property:opacity;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));opacity:0%;--tw-content: \"\\f08e\";content:var(--tw-content);font-family:var(--fa-family-classic, \"Font Awesome 6 Free\");transition-duration:var(--sidebar-animation-duration);will-change:opacity}li>div.parent:after{position:absolute;top:0;right:calc(var(--spacing, .25rem) * 3);width:10px;--tw-font-weight: var(--font-weight-extrabold, 800);font-weight:var(--font-weight-extrabold, 800);transition-property:opacity,transform;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));opacity:0%;font-family:var(--fa-family-classic, \"Font Awesome 6 Free\");transition-duration:var(--sidebar-animation-duration);will-change:opacity,transform}li>div.parent:after:not(.failed){--tw-content: \"\\f104\";content:var(--tw-content)}li>div.parent:after.failed{right:calc(var(--spacing, .25rem) * 4);--tw-content: \"\\f071\";content:var(--tw-content)}li>div.parent,li>div.external{padding-right:calc(1.25rem + 10px)}li>div.parent>a,li>div.external>a{width:100%}li>div a{display:block;height:100%;cursor:pointer;overflow:hidden;padding-inline:calc(var(--spacing, .25rem) * 3);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:var(--sidebar-expanded-width)}li>div a i{margin-right:calc(var(--spacing, .25rem) * 2);font-size:var(--text-xl, 1.25rem);line-height:var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)));transition-property:font-size,line-height,margin-left;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));margin-left:var(--sidebar-icon-collapsed-margin);transition-duration:var(--sidebar-animation-duration);will-change:font-size,line-height,margin-left}li>div a span{text-overflow:ellipsis;opacity:0%;transition-property:opacity;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));transition-duration:var(--sidebar-animation-duration);will-change:opacity}li>div .loading{position:absolute;top:0;right:.55rem;height:100%;width:calc(var(--spacing, .25rem) * 4);opacity:0%;transition-property:opacity;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));transition-duration:var(--sidebar-animation-duration);will-change:opacity}li>div .loading svg{height:100%;width:100%}li>ul{overflow:hidden;transition-property:height,max-height;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));transition-duration:var(--sidebar-animation-duration);will-change:height,max-height}li>ul a{padding-left:calc(var(--spacing, .25rem) * 5)}:host(:not(.first-level)) li>div>a{position:relative;padding-left:1.5rem}:host(:not(.first-level)) li>div>a:before{content:\"\";position:absolute;left:.6rem;top:0;bottom:0;width:0;border-left:1px solid var(--sidebar-tree-line)}:host(:not(.first-level)) li>div>a:after{content:\"\";position:absolute;left:.6rem;top:calc(50% - .55rem);width:.6rem;height:.55rem;border-left:1px solid var(--sidebar-tree-line);border-bottom:1px solid var(--sidebar-tree-line);border-bottom-left-radius:.4rem}:host(.last-child:not(.first-level)) li>div>a:before{bottom:calc(50% + .4rem)}@property --tw-ease{syntax: \"*\"; inherits: false;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@property --tw-content{syntax: \"*\"; inherits: false; initial-value: \"\";}@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-ease: initial;--tw-font-weight: initial;--tw-content: \"\"}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"],
|
|
5020
5025
|
dependencies: [
|
|
5021
5026
|
{
|
|
@@ -5059,7 +5064,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5059
5064
|
"[class.last-child]": "isLast",
|
|
5060
5065
|
"[class.selected]": "isSelected()"
|
|
5061
5066
|
},
|
|
5062
|
-
template: "<li>\n <div\n #menuContainer\n [class.external]=\"opensInNewBrowserTab\"\n [class.failed]=\"hasFailed()\"\n [class.loading]=\"isLoading()\"\n [class.parent]=\"isParent\"\n [class.selected]=\"isSelected()\"\n role=\"button\"\n tabindex=\"0\"\n [attr.aria-current]=\"isSelected()\"\n (click)=\"onSelectItem()\"\n (keydown.enter)=\"onSelectItem()\"\n (keydown.space)=\"onSelectItem(); $event.preventDefault()\"\n >\n <a [attr.title]=\"opensInNewBrowserTab ? externalLinkText : null\">\n @if (hasIcon && level === 0) {\n <i class=\"fa-solid fa-fw {{ menu.icon }}\"></i>\n }\n <span>{{ menu.label | translate }}</span>\n </a>\n\n @if (isParent) {\n <div class=\"loading\">\n <svg class=\"animate-spin text-white\" 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 </div>\n }\n </div>\n\n @if (isParent) {\n <ul\n [class.open]=\"isSelected()\"\n [ngStyle]=\"{\n 'height.px': childHeight,\n 'max-height.px': childHeight,\n }\"\n >\n @for (child of
|
|
5067
|
+
template: "<li>\n <div\n #menuContainer\n [class.external]=\"opensInNewBrowserTab\"\n [class.failed]=\"hasFailed()\"\n [class.loading]=\"isLoading()\"\n [class.parent]=\"isParent\"\n [class.selected]=\"isSelected()\"\n role=\"button\"\n tabindex=\"0\"\n [attr.aria-current]=\"isSelected()\"\n (click)=\"onSelectItem()\"\n (keydown.enter)=\"onSelectItem()\"\n (keydown.space)=\"onSelectItem(); $event.preventDefault()\"\n >\n <a [attr.title]=\"opensInNewBrowserTab ? externalLinkText : null\">\n @if (hasIcon && level === 0) {\n <i class=\"fa-solid fa-fw {{ menu.icon }}\"></i>\n }\n <span>{{ menu.label | translate }}</span>\n </a>\n\n @if (isParent) {\n <div class=\"loading\">\n <svg class=\"animate-spin text-white\" 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 </div>\n }\n </div>\n\n @if (isParent) {\n <ul\n [class.open]=\"isSelected()\"\n [ngStyle]=\"{\n 'height.px': childHeight,\n 'max-height.px': childHeight,\n }\"\n >\n @for (child of children(); track trackByFn($index, child); let last = $last) {\n <lib-sidebar-item [menu]=\"child\" [level]=\"level + 1\" [isLast]=\"last\"> </lib-sidebar-item>\n }\n </ul>\n }\n</li>\n",
|
|
5063
5068
|
styles: ["@layer properties;:host{position:relative;display:block}@media(max-width:767px){:host:not(.active) li>ul{height:0px!important}}@media(min-width:768px){:host:not(.expanded):not(.active) li>ul{height:0px!important}:host.expanded li>div{margin-inline:.5rem}:host.expanded li>div.external:after{opacity:100%}:host.expanded li>div.external a{padding-right:calc(var(--spacing, .25rem) * 8)}:host.expanded li>div.parent:not(.loading):after{opacity:100%}:host.expanded li>div.parent a{padding-right:calc(var(--spacing, .25rem) * 8)}:host.expanded li>div.parent.loading .loading{opacity:100%!important}:host.expanded li>div a i{margin-left:0;font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)))}:host.expanded li>div a span{opacity:100%}}:host.active li>div{margin-inline:.5rem}:host.active li>div.external:after{opacity:100%}:host.active li>div.external a{padding-right:calc(var(--spacing, .25rem) * 8)}:host.active li>div.parent:not(.loading):after{opacity:100%}:host.active li>div.parent a{padding-right:calc(var(--spacing, .25rem) * 8)}:host.active li>div.parent.loading .loading{opacity:100%!important}:host.active li>div a i{margin-left:0;font-size:var(--text-lg, 1.125rem);line-height:var(--tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)))}:host.active li>div a span{opacity:100%}:host.expanded li .selected:not(.loading).parent:after,:host.active li .selected:not(.loading).parent:after{rotate:-90deg}li{position:relative;height:100%}li>div{position:relative;overflow:hidden;height:var(--sidebar-item-height);line-height:var(--sidebar-item-height);border-radius:var(--sidebar-item-radius);transition-property:margin,background-color;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));transition-duration:var(--sidebar-animation-duration)}li>div:hover{background-color:var(--sidebar-item-hover-bg)}li>div.selected{background-color:var(--sidebar-item-selected-bg);color:var(--sidebar-item-selected-text)}li>div.external:after{position:absolute;top:0;right:calc(var(--spacing, .25rem) * 3);width:10px;font-size:var(--text-xs, .75rem);line-height:var(--tw-leading, var(--text-xs--line-height, calc(1 / .75)));--tw-font-weight: var(--font-weight-extrabold, 800);font-weight:var(--font-weight-extrabold, 800);transition-property:opacity;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));opacity:0%;--tw-content: \"\\f08e\";content:var(--tw-content);font-family:var(--fa-family-classic, \"Font Awesome 6 Free\");transition-duration:var(--sidebar-animation-duration);will-change:opacity}li>div.parent:after{position:absolute;top:0;right:calc(var(--spacing, .25rem) * 3);width:10px;--tw-font-weight: var(--font-weight-extrabold, 800);font-weight:var(--font-weight-extrabold, 800);transition-property:opacity,transform;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));opacity:0%;font-family:var(--fa-family-classic, \"Font Awesome 6 Free\");transition-duration:var(--sidebar-animation-duration);will-change:opacity,transform}li>div.parent:after:not(.failed){--tw-content: \"\\f104\";content:var(--tw-content)}li>div.parent:after.failed{right:calc(var(--spacing, .25rem) * 4);--tw-content: \"\\f071\";content:var(--tw-content)}li>div.parent,li>div.external{padding-right:calc(1.25rem + 10px)}li>div.parent>a,li>div.external>a{width:100%}li>div a{display:block;height:100%;cursor:pointer;overflow:hidden;padding-inline:calc(var(--spacing, .25rem) * 3);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:var(--sidebar-expanded-width)}li>div a i{margin-right:calc(var(--spacing, .25rem) * 2);font-size:var(--text-xl, 1.25rem);line-height:var(--tw-leading, var(--text-xl--line-height, calc(1.75 / 1.25)));transition-property:font-size,line-height,margin-left;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));margin-left:var(--sidebar-icon-collapsed-margin);transition-duration:var(--sidebar-animation-duration);will-change:font-size,line-height,margin-left}li>div a span{text-overflow:ellipsis;opacity:0%;transition-property:opacity;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));transition-duration:var(--sidebar-animation-duration);will-change:opacity}li>div .loading{position:absolute;top:0;right:.55rem;height:100%;width:calc(var(--spacing, .25rem) * 4);opacity:0%;transition-property:opacity;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));transition-duration:var(--sidebar-animation-duration);will-change:opacity}li>div .loading svg{height:100%;width:100%}li>ul{overflow:hidden;transition-property:height,max-height;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));transition-duration:var(--sidebar-animation-duration);will-change:height,max-height}li>ul a{padding-left:calc(var(--spacing, .25rem) * 5)}:host(:not(.first-level)) li>div>a{position:relative;padding-left:1.5rem}:host(:not(.first-level)) li>div>a:before{content:\"\";position:absolute;left:.6rem;top:0;bottom:0;width:0;border-left:1px solid var(--sidebar-tree-line)}:host(:not(.first-level)) li>div>a:after{content:\"\";position:absolute;left:.6rem;top:calc(50% - .55rem);width:.6rem;height:.55rem;border-left:1px solid var(--sidebar-tree-line);border-bottom:1px solid var(--sidebar-tree-line);border-bottom-left-radius:.4rem}:host(.last-child:not(.first-level)) li>div>a:before{bottom:calc(50% + .4rem)}@property --tw-ease{syntax: \"*\"; inherits: false;}@property --tw-font-weight{syntax: \"*\"; inherits: false;}@property --tw-content{syntax: \"*\"; inherits: false; initial-value: \"\";}@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-ease: initial;--tw-font-weight: initial;--tw-content: \"\"}}}\n/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n"]
|
|
5064
5069
|
}]
|
|
5065
5070
|
}],
|