@edsis/angular 22.2.10 → 22.2.11
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/component/icon/README.md +17 -0
- package/fesm2022/edsis-angular-component-sheet.mjs +11 -3
- package/fesm2022/{edsis-angular-navigation-navigation-dockbar-menu.component-BaFnh48V.mjs → edsis-angular-navigation-navigation-dockbar-menu.component-Wtnee3lp.mjs} +13 -5
- package/fesm2022/{edsis-angular-navigation-navigation-entry-grid.component-D39W0FQZ.mjs → edsis-angular-navigation-navigation-entry-grid.component-CjxqB5LR.mjs} +12 -4
- package/fesm2022/{edsis-angular-navigation-navigation-flyout-menu.component-CpmsY8hb.mjs → edsis-angular-navigation-navigation-flyout-menu.component-DGq4YT1o.mjs} +21 -5
- package/fesm2022/{edsis-angular-navigation-navigation-horizontal.component-D35IfX6r.mjs → edsis-angular-navigation-navigation-horizontal.component-CG8KNHK2.mjs} +2 -2
- package/fesm2022/{edsis-angular-navigation-navigation-item.component-X6JFy-ya.mjs → edsis-angular-navigation-navigation-item.component-DLHZ8--d.mjs} +11 -3
- package/fesm2022/{edsis-angular-navigation-navigation-list.component-D6Ms8H5g.mjs → edsis-angular-navigation-navigation-list.component-I8GW0_HG.mjs} +1 -1
- package/fesm2022/edsis-angular-navigation.mjs +37 -13
- package/fesm2022/edsis-angular-theme-component-settings.mjs +242 -47
- package/fesm2022/edsis-angular-theme-layout-wrapper.mjs +29 -5
- package/fesm2022/edsis-angular-theme-page-root.mjs +11 -3
- package/fesm2022/edsis-angular-theme-shell.mjs +11 -3
- package/package.json +3 -2
- package/theme/README.md +5 -0
- package/types/edsis-angular-theme-component-settings.d.ts +2 -2
package/component/icon/README.md
CHANGED
|
@@ -41,6 +41,23 @@ export const appConfig = {
|
|
|
41
41
|
- `IconRegistry` (root) menyediakan `resolve(name)` dan `names()`, daftar nama kanonis terurut untuk galeri.
|
|
42
42
|
- Komponen library yang merender ikon tetap (navigasi, theme settings, layout) mendaftarkannya sendiri; consumer hanya mendaftarkan ikon yang dipakai data aplikasinya, seperti `item.icon` di navigasi.
|
|
43
43
|
|
|
44
|
+
Untuk registrasi yang hanya memerlukan data SVG, gunakan named import dari `lucide`:
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
import { Braces, Sun } from 'lucide';
|
|
48
|
+
|
|
49
|
+
provideIcons(
|
|
50
|
+
{ name: 'sun', size: 24, node: Sun },
|
|
51
|
+
{ name: 'braces', size: 24, aliases: ['curly-braces'], node: Braces },
|
|
52
|
+
);
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Sejak 22.2.11, seluruh ikon tetap milik library memakai bentuk ringan ini. Data SVG dapat
|
|
56
|
+
dihapus oleh tree shaking bila entry point pemiliknya tidak digunakan. `@lucide/angular`
|
|
57
|
+
tetap menjadi peer wajib karena `<Icon>` memakai `LucideDynamicIcon` untuk merender SVG,
|
|
58
|
+
dan registrasi kelas seperti `provideIcons(LucideHouse)` tetap didukung. `lucide` tersedia
|
|
59
|
+
sebagai dependency paket dengan rentang versi `^1.69.0`, tanpa patch atau pin versi persis.
|
|
60
|
+
|
|
44
61
|
## Migrasi dari Material Symbols
|
|
45
62
|
|
|
46
63
|
Rilis ini menghapus Material Symbols (pengecualian tercatat terhadap kebijakan versi spec 0001; lihat spec 0010).
|
|
@@ -6,7 +6,7 @@ import { FocusTrapFactory } from "@angular/cdk/a11y";
|
|
|
6
6
|
import { DOCUMENT } from "@angular/common";
|
|
7
7
|
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
8
8
|
import { filter } from "rxjs/operators";
|
|
9
|
-
import {
|
|
9
|
+
import { X } from "lucide";
|
|
10
10
|
import { ButtonComponent } from "@edsis/angular/component/button";
|
|
11
11
|
import { IconComponent, provideIcons } from "@edsis/angular/component/icon";
|
|
12
12
|
import { cn, injectUniqueId } from "@edsis/angular/component/utils/core";
|
|
@@ -263,7 +263,11 @@ var SheetComponent = class SheetComponent {
|
|
|
263
263
|
"attr.aria-labelledby": "null",
|
|
264
264
|
"attr.aria-describedby": "null"
|
|
265
265
|
} },
|
|
266
|
-
providers: [provideIcons(
|
|
266
|
+
providers: [provideIcons({
|
|
267
|
+
name: "x",
|
|
268
|
+
size: 24,
|
|
269
|
+
node: X
|
|
270
|
+
})],
|
|
267
271
|
viewQueries: [{
|
|
268
272
|
propertyName: "tpl",
|
|
269
273
|
first: true,
|
|
@@ -354,7 +358,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
354
358
|
"[attr.aria-describedby]": "null"
|
|
355
359
|
},
|
|
356
360
|
imports: [ButtonComponent, IconComponent],
|
|
357
|
-
providers: [provideIcons(
|
|
361
|
+
providers: [provideIcons({
|
|
362
|
+
name: "x",
|
|
363
|
+
size: 24,
|
|
364
|
+
node: X
|
|
365
|
+
})],
|
|
358
366
|
template: `
|
|
359
367
|
<ng-template #tpl>
|
|
360
368
|
<div
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as hasNavigationCountBadge } from "./edsis-angular-navigation-navigation-badge-count.component-D70Ju6_f.mjs";
|
|
2
|
-
import { a as NAVIGATION_SHELL, r as NavigationItemContentComponent, t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-
|
|
3
|
-
import { t as NavigationListComponent } from "./edsis-angular-navigation-navigation-list.component-
|
|
2
|
+
import { a as NAVIGATION_SHELL, r as NavigationItemContentComponent, t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-DLHZ8--d.mjs";
|
|
3
|
+
import { t as NavigationListComponent } from "./edsis-angular-navigation-navigation-list.component-I8GW0_HG.mjs";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import { Component, ElementRef, Injector, afterNextRender, computed, inject, input, output, signal } from "@angular/core";
|
|
6
6
|
import { cn } from "@edsis/angular/component/utils/core";
|
|
7
7
|
import { NAVIGATION_ADAPTER } from "@edsis/angular/navigation/core";
|
|
8
8
|
import { NgTemplateOutlet } from "@angular/common";
|
|
9
|
-
import {
|
|
9
|
+
import { X } from "lucide";
|
|
10
10
|
import { IconComponent, provideIcons } from "@edsis/angular/component/icon";
|
|
11
11
|
import { TooltipDirective } from "@edsis/angular/component/tooltip";
|
|
12
12
|
const EMPTY_NAVIGATION_BADGE_CONTEXT = Object.freeze({});
|
|
@@ -298,7 +298,11 @@ var NavigationDockbarMenuComponent = class NavigationDockbarMenuComponent {
|
|
|
298
298
|
"attr.data-position": "position()"
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
|
-
providers: [provideIcons(
|
|
301
|
+
providers: [provideIcons({
|
|
302
|
+
name: "x",
|
|
303
|
+
size: 24,
|
|
304
|
+
node: X
|
|
305
|
+
})],
|
|
302
306
|
ngImport: i0,
|
|
303
307
|
template: `
|
|
304
308
|
<ul [class]="railClasses()" role="list">
|
|
@@ -558,7 +562,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
558
562
|
NgTemplateOutlet,
|
|
559
563
|
TooltipDirective
|
|
560
564
|
],
|
|
561
|
-
providers: [provideIcons(
|
|
565
|
+
providers: [provideIcons({
|
|
566
|
+
name: "x",
|
|
567
|
+
size: 24,
|
|
568
|
+
node: X
|
|
569
|
+
})],
|
|
562
570
|
host: {
|
|
563
571
|
"[class]": "hostClasses()",
|
|
564
572
|
"[attr.data-mode]": "mode()",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as NavigationItemBadgeComponent, n as navigationPanelId, t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-
|
|
1
|
+
import { i as NavigationItemBadgeComponent, n as navigationPanelId, t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-DLHZ8--d.mjs";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, computed, inject, input, output, signal } from "@angular/core";
|
|
4
4
|
import { ActivatedRoute, Router, RouterLink } from "@angular/router";
|
|
5
5
|
import { cn } from "@edsis/angular/component/utils/core";
|
|
6
6
|
import { NAVIGATION_ADAPTER, NAVIGATION_ROUTE_CONTEXT_ADAPTER } from "@edsis/angular/navigation/core";
|
|
7
7
|
import { NgTemplateOutlet } from "@angular/common";
|
|
8
|
-
import {
|
|
8
|
+
import { ChevronRight } from "lucide";
|
|
9
9
|
import { IconComponent, provideIcons } from "@edsis/angular/component/icon";
|
|
10
10
|
var NavigationEntryGridComponent = class NavigationEntryGridComponent {
|
|
11
11
|
nav = inject(NAVIGATION_ADAPTER);
|
|
@@ -209,7 +209,11 @@ var NavigationEntryGridComponent = class NavigationEntryGridComponent {
|
|
|
209
209
|
itemSelected: "itemSelected"
|
|
210
210
|
},
|
|
211
211
|
host: { classAttribute: "contents" },
|
|
212
|
-
providers: [provideIcons(
|
|
212
|
+
providers: [provideIcons({
|
|
213
|
+
name: "chevron-right",
|
|
214
|
+
size: 24,
|
|
215
|
+
node: ChevronRight
|
|
216
|
+
})],
|
|
213
217
|
ngImport: i0,
|
|
214
218
|
template: `
|
|
215
219
|
@let branchItem = branch();
|
|
@@ -518,7 +522,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
518
522
|
NavigationItemComponent,
|
|
519
523
|
NavigationItemBadgeComponent
|
|
520
524
|
],
|
|
521
|
-
providers: [provideIcons(
|
|
525
|
+
providers: [provideIcons({
|
|
526
|
+
name: "chevron-right",
|
|
527
|
+
size: 24,
|
|
528
|
+
node: ChevronRight
|
|
529
|
+
})],
|
|
522
530
|
host: { class: "contents" },
|
|
523
531
|
template: `
|
|
524
532
|
@let branchItem = branch();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as NavigationItemContentComponent, t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-
|
|
2
|
-
import { t as NavigationEntryGridComponent } from "./edsis-angular-navigation-navigation-entry-grid.component-
|
|
1
|
+
import { r as NavigationItemContentComponent, t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-DLHZ8--d.mjs";
|
|
2
|
+
import { t as NavigationEntryGridComponent } from "./edsis-angular-navigation-navigation-entry-grid.component-CjxqB5LR.mjs";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import { Component, ElementRef, Injector, afterNextRender, computed, effect, inject, input, output, signal } from "@angular/core";
|
|
5
5
|
import { cn } from "@edsis/angular/component/utils/core";
|
|
6
6
|
import { NAVIGATION_ADAPTER } from "@edsis/angular/navigation/core";
|
|
7
7
|
import { DOCUMENT } from "@angular/common";
|
|
8
|
-
import {
|
|
8
|
+
import { ChevronRight, Menu } from "lucide";
|
|
9
9
|
import { IconComponent, provideIcons } from "@edsis/angular/component/icon";
|
|
10
10
|
var NavigationFlyoutMenuComponent = class NavigationFlyoutMenuComponent {
|
|
11
11
|
nav = inject(NAVIGATION_ADAPTER);
|
|
@@ -377,7 +377,15 @@ var NavigationFlyoutMenuComponent = class NavigationFlyoutMenuComponent {
|
|
|
377
377
|
listeners: { "keydown.escape": "onEscape($event)" },
|
|
378
378
|
properties: { "class": "hostClasses()" }
|
|
379
379
|
},
|
|
380
|
-
providers: [provideIcons(
|
|
380
|
+
providers: [provideIcons({
|
|
381
|
+
name: "chevron-right",
|
|
382
|
+
size: 24,
|
|
383
|
+
node: ChevronRight
|
|
384
|
+
}, {
|
|
385
|
+
name: "menu",
|
|
386
|
+
size: 24,
|
|
387
|
+
node: Menu
|
|
388
|
+
})],
|
|
381
389
|
ngImport: i0,
|
|
382
390
|
template: "<button\n type=\"button\"\n data-navigation-flyout-trigger=\"true\"\n [class]=\"triggerClasses()\"\n aria-haspopup=\"menu\"\n [attr.aria-expanded]=\"isOpen()\"\n [attr.aria-controls]=\"isOpen() ? panelId() : null\"\n [attr.aria-label]=\"showIconOnly() ? label() : null\"\n [attr.title]=\"showIconOnly() ? label() : null\"\n (click)=\"toggleFlyout()\"\n>\n @if (showIconOnly()) {\n <Icon\n [name]=\"triggerIcon() ?? 'menu'\"\n size=\"inherit\"\n class=\"text-(length:--nav-icon-size) text-current\"\n />\n } @else {\n @if (iconPosition() === 'start' && triggerIcon(); as iconName) {\n <Icon\n [name]=\"iconName\"\n size=\"inherit\"\n class=\"shrink-0 text-(length:--nav-icon-size) text-current\"\n />\n }\n\n <span class=\"truncate\">{{ label() }}</span>\n\n @if (iconPosition() === 'end' && triggerIcon(); as iconName) {\n <Icon\n [name]=\"iconName\"\n size=\"inherit\"\n class=\"shrink-0 text-(length:--nav-icon-size) text-current\"\n />\n }\n }\n</button>\n\n@if (isOpen()) {\n <div\n [id]=\"panelId()\"\n data-navigation-flyout-panel=\"true\"\n [attr.data-navigation-flyout-floating]=\"floating() ? 'true' : null\"\n [class]=\"panelWrapperClasses()\"\n [style.left.px]=\"floating() ? null : panelPlacement()?.left\"\n [style.top.px]=\"floating() || isBottom() ? null : panelPlacement()?.top\"\n [style.bottom.px]=\"!floating() && isBottom() ? panelPlacement()?.bottom : null\"\n [style.width.px]=\"floating() ? null : panelPlacement()?.width\"\n >\n <div\n [attr.data-navigation-flyout-floating-card]=\"floating() ? 'true' : null\"\n [class]=\"panelCardClasses()\"\n >\n <div data-navigation-flyout-menu-layout=\"true\" [class]=\"menuClasses()\">\n <!-- ROW 1 = bar (sticky, menutup bar trigger), struktur seperti bar navbar:\n Header (kiri) | menu item (tengah) | Footer (kanan). Hanya ROW 2 (grid child)\n di bawah bar yang ikut scroll. -->\n <div data-navigation-flyout-bar=\"true\" [class]=\"barRowClasses()\">\n <ng-content select=\"NavigationHeader\" />\n\n <ul\n role=\"menu\"\n tabindex=\"-1\"\n data-navigation-flyout-row=\"true\"\n [class]=\"rowClasses()\"\n [attr.aria-label]=\"label()\"\n (keydown)=\"onRowKeydown($event)\"\n >\n @for (item of items(); track item.key) {\n @switch (item.type) {\n @case ('divider') {\n <li role=\"separator\" class=\"mx-1 h-5 w-px bg-border\"></li>\n }\n @case ('spacer') {\n <li role=\"none\" aria-hidden=\"true\" class=\"flex-1\"></li>\n }\n @default {\n @if (item.children.length > 0) {\n <li\n role=\"none\"\n [class]=\"groupContainerClasses(item)\"\n [attr.data-navigation-item-key]=\"item.key\"\n >\n <button\n type=\"button\"\n role=\"menuitem\"\n data-navigation-flyout-tab=\"true\"\n [class]=\"tabClasses(item)\"\n [attr.aria-expanded]=\"isBranchOpen(item)\"\n [attr.aria-controls]=\"isBranchOpen(item) ? panelContentId() : null\"\n [disabled]=\"item.disabled || null\"\n (click)=\"openBranch(item)\"\n >\n <NavigationItemContent\n [item]=\"item\"\n [active]=\"isItemActive(item)\"\n [compact]=\"false\"\n [orientation]=\"'horizontal'\"\n [level]=\"0\"\n [badgeContext]=\"badgeContext()\"\n [iconTemplate]=\"iconTemplate()\"\n />\n <Icon\n name=\"chevron-right\"\n size=\"inherit\"\n [class]=\"tabChevronClasses(item)\"\n />\n </button>\n </li>\n } @else {\n <li\n NavigationItem\n [navId]=\"navId()\"\n [item]=\"item\"\n [level]=\"0\"\n [orientation]=\"'horizontal'\"\n [compact]=\"false\"\n [itemClass]=\"navItemClass()\"\n [activeIds]=\"activeIds()\"\n [activeUrl]=\"activeUrl()\"\n [badgeContext]=\"badgeContext()\"\n [iconTemplate]=\"iconTemplate()\"\n [collapseTree]=\"collapseTree()\"\n [openedIds]=\"openedIds()\"\n (openedIdsChange)=\"openedIdsChange.emit($event)\"\n (itemSelected)=\"itemSelected.emit($event)\"\n ></li>\n }\n }\n }\n }\n </ul>\n\n <ng-content select=\"NavigationFooter\" />\n </div>\n\n <!-- ROW 2 = child dari menu item aktif; HANYA area ini yang men-scroll. -->\n <div\n [id]=\"panelContentId()\"\n data-navigation-flyout-scroll=\"true\"\n [attr.role]=\"activeBranch() ? 'menu' : null\"\n [attr.aria-label]=\"activeBranch()?.title || null\"\n [class]=\"scrollRegionClasses()\"\n >\n @if (activeBranch(); as branch) {\n <NavigationEntryGrid\n [navId]=\"navId()\"\n [branch]=\"branch\"\n [typeStyle]=\"typeStyle()\"\n [itemClass]=\"itemClass()\"\n [activeIds]=\"activeIds()\"\n [activeUrl]=\"activeUrl()\"\n [badgeContext]=\"badgeContext()\"\n [iconTemplate]=\"iconTemplate()\"\n [collapseTree]=\"collapseTree()\"\n [openedIds]=\"openedIds()\"\n (openedIdsChange)=\"openedIdsChange.emit($event)\"\n (itemSelected)=\"itemSelected.emit($event)\"\n />\n }\n </div>\n </div>\n </div>\n </div>\n}\n",
|
|
383
391
|
styles: ["[data-navigation-flyout-floating=true]{width:var(--nav-flyout-floating-width, min(22rem, 85vw));max-width:var(--nav-flyout-floating-max-width, 85vw)}[data-navigation-flyout-floating-card=true]{border-radius:var(--nav-flyout-floating-radius, var(--radius-xl))}[data-navigation-flyout-panel=true]{-webkit-app-region:no-drag;app-region:no-drag}\n"],
|
|
@@ -470,7 +478,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
470
478
|
NavigationItemComponent,
|
|
471
479
|
NavigationItemContentComponent
|
|
472
480
|
],
|
|
473
|
-
providers: [provideIcons(
|
|
481
|
+
providers: [provideIcons({
|
|
482
|
+
name: "chevron-right",
|
|
483
|
+
size: 24,
|
|
484
|
+
node: ChevronRight
|
|
485
|
+
}, {
|
|
486
|
+
name: "menu",
|
|
487
|
+
size: 24,
|
|
488
|
+
node: Menu
|
|
489
|
+
})],
|
|
474
490
|
host: {
|
|
475
491
|
"[class]": "hostClasses()",
|
|
476
492
|
"(keydown.escape)": "onEscape($event)"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as hasNavigationCountBadge } from "./edsis-angular-navigation-navigation-badge-count.component-D70Ju6_f.mjs";
|
|
2
|
-
import { n as navigationPanelId, r as NavigationItemContentComponent, t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-
|
|
3
|
-
import { t as NavigationEntryGridComponent } from "./edsis-angular-navigation-navigation-entry-grid.component-
|
|
2
|
+
import { n as navigationPanelId, r as NavigationItemContentComponent, t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-DLHZ8--d.mjs";
|
|
3
|
+
import { t as NavigationEntryGridComponent } from "./edsis-angular-navigation-navigation-entry-grid.component-CjxqB5LR.mjs";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import { Component, ElementRef, Injector, afterNextRender, computed, effect, inject, input, output, signal } from "@angular/core";
|
|
6
6
|
import { cn } from "@edsis/angular/component/utils/core";
|
|
@@ -5,7 +5,7 @@ import { ActivatedRoute, Router, RouterLink } from "@angular/router";
|
|
|
5
5
|
import { cn } from "@edsis/angular/component/utils/core";
|
|
6
6
|
import { NAVIGATION_ADAPTER, NAVIGATION_ROUTE_CONTEXT_ADAPTER } from "@edsis/angular/navigation/core";
|
|
7
7
|
import { NgTemplateOutlet } from "@angular/common";
|
|
8
|
-
import {
|
|
8
|
+
import { ChevronRight } from "lucide";
|
|
9
9
|
import { IconComponent, provideIcons } from "@edsis/angular/component/icon";
|
|
10
10
|
import { TooltipDirective } from "@edsis/angular/component/tooltip";
|
|
11
11
|
const NAVIGATION_SHELL = new InjectionToken("NAVIGATION_SHELL");
|
|
@@ -777,7 +777,11 @@ var NavigationItemComponent = class NavigationItemComponent {
|
|
|
777
777
|
"attr.data-navigation-item-key": "item().key",
|
|
778
778
|
"attr.aria-hidden": "item().type === \"spacer\" || item().type === \"divider\" ? \"true\" : null"
|
|
779
779
|
} },
|
|
780
|
-
providers: [provideIcons(
|
|
780
|
+
providers: [provideIcons({
|
|
781
|
+
name: "chevron-right",
|
|
782
|
+
size: 24,
|
|
783
|
+
node: ChevronRight
|
|
784
|
+
})],
|
|
781
785
|
ngImport: i0,
|
|
782
786
|
template: `
|
|
783
787
|
@switch (item().type) {
|
|
@@ -1131,7 +1135,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1131
1135
|
RouterLink,
|
|
1132
1136
|
TooltipDirective
|
|
1133
1137
|
],
|
|
1134
|
-
providers: [provideIcons(
|
|
1138
|
+
providers: [provideIcons({
|
|
1139
|
+
name: "chevron-right",
|
|
1140
|
+
size: 24,
|
|
1141
|
+
node: ChevronRight
|
|
1142
|
+
})],
|
|
1135
1143
|
host: {
|
|
1136
1144
|
"[class]": "hostClasses()",
|
|
1137
1145
|
"[attr.role]": "hostRole()",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-
|
|
1
|
+
import { t as NavigationItemComponent } from "./edsis-angular-navigation-navigation-item.component-DLHZ8--d.mjs";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, computed, input, output } from "@angular/core";
|
|
4
4
|
import { cn } from "@edsis/angular/component/utils/core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as injectNavigationBadgeTotal, o as navigationBadgeSourceKeys, r as NAVIGATION_BADGE_STREAMS, s as navigationDescendantBadgeSources } from "./edsis-angular-navigation-navigation-badge-count.component-D70Ju6_f.mjs";
|
|
2
|
-
import { a as NAVIGATION_SHELL } from "./edsis-angular-navigation-navigation-item.component-
|
|
3
|
-
import { t as NavigationListComponent } from "./edsis-angular-navigation-navigation-list.component-
|
|
2
|
+
import { a as NAVIGATION_SHELL } from "./edsis-angular-navigation-navigation-item.component-DLHZ8--d.mjs";
|
|
3
|
+
import { t as NavigationListComponent } from "./edsis-angular-navigation-navigation-list.component-I8GW0_HG.mjs";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import { Component, DestroyRef, Directive, ElementRef, Injector, TemplateRef, ViewContainerRef, afterNextRender, booleanAttribute, computed, contentChild, effect, forwardRef, inject, input, isDevMode, model, output, signal } from "@angular/core";
|
|
6
6
|
import { ActivatedRoute } from "@angular/router";
|
|
@@ -9,7 +9,7 @@ import { NavigationIconDirective, NavigationIconDirective as NavigationIconDirec
|
|
|
9
9
|
import { NAVIGATION_ADAPTER, NAVIGATION_ROUTE_CONTEXT_ADAPTER } from "@edsis/angular/navigation/core";
|
|
10
10
|
import { NAVIGATION_DOCKBAR_FALLBACK_ICON, NAVIGATION_DOCKBAR_FALLBACK_ICON as NAVIGATION_DOCKBAR_FALLBACK_ICON$1, formatNavigationBadgeCount, normalizeUiNavItems, normalizeUiNavItems as normalizeUiNavItems$1, toMinidockItems, ɵassertMinidockItems, ɵcompactNavigationDividers } from "@edsis/angular/navigation/types";
|
|
11
11
|
import { NgTemplateOutlet } from "@angular/common";
|
|
12
|
-
import {
|
|
12
|
+
import { Circle, CircleDot, Route } from "lucide";
|
|
13
13
|
import { IconComponent, provideIcons } from "@edsis/angular/component/icon";
|
|
14
14
|
import { TooltipDirective } from "@edsis/angular/component/tooltip";
|
|
15
15
|
export * from "@edsis/angular/navigation/core";
|
|
@@ -801,9 +801,9 @@ var NavigationContentComponent = class NavigationContentComponent {
|
|
|
801
801
|
outputs: ["openedIdsChange", "itemSelected"]
|
|
802
802
|
}],
|
|
803
803
|
deferBlockDependencies: [
|
|
804
|
-
() => [import("./edsis-angular-navigation-navigation-flyout-menu.component-
|
|
805
|
-
() => [import("./edsis-angular-navigation-navigation-horizontal.component-
|
|
806
|
-
() => [import("./edsis-angular-navigation-navigation-dockbar-menu.component-
|
|
804
|
+
() => [import("./edsis-angular-navigation-navigation-flyout-menu.component-DGq4YT1o.mjs").then((m) => m.NavigationFlyoutMenuComponent)],
|
|
805
|
+
() => [import("./edsis-angular-navigation-navigation-horizontal.component-CG8KNHK2.mjs").then((m) => m.NavigationHorizontalComponent)],
|
|
806
|
+
() => [import("./edsis-angular-navigation-navigation-dockbar-menu.component-Wtnee3lp.mjs").then((m) => m.NavigationDockbarMenuComponent)]
|
|
807
807
|
]
|
|
808
808
|
});
|
|
809
809
|
};
|
|
@@ -813,9 +813,9 @@ i0.ɵɵngDeclareClassMetadataAsync({
|
|
|
813
813
|
ngImport: i0,
|
|
814
814
|
type: NavigationContentComponent,
|
|
815
815
|
resolveDeferredDeps: () => [
|
|
816
|
-
import("./edsis-angular-navigation-navigation-flyout-menu.component-
|
|
817
|
-
import("./edsis-angular-navigation-navigation-horizontal.component-
|
|
818
|
-
import("./edsis-angular-navigation-navigation-dockbar-menu.component-
|
|
816
|
+
import("./edsis-angular-navigation-navigation-flyout-menu.component-DGq4YT1o.mjs").then((m) => m.NavigationFlyoutMenuComponent),
|
|
817
|
+
import("./edsis-angular-navigation-navigation-horizontal.component-CG8KNHK2.mjs").then((m) => m.NavigationHorizontalComponent),
|
|
818
|
+
import("./edsis-angular-navigation-navigation-dockbar-menu.component-Wtnee3lp.mjs").then((m) => m.NavigationDockbarMenuComponent)
|
|
819
819
|
],
|
|
820
820
|
resolveMetadata: (NavigationFlyoutMenuComponent, NavigationHorizontalComponent, NavigationDockbarMenuComponent) => ({
|
|
821
821
|
decorators: [{
|
|
@@ -1091,7 +1091,15 @@ var NavigationHeaderComponent = class NavigationHeaderComponent {
|
|
|
1091
1091
|
"class": "hostClasses()",
|
|
1092
1092
|
"attr.data-collapsed": "displayCollapsed()"
|
|
1093
1093
|
} },
|
|
1094
|
-
providers: [provideIcons(
|
|
1094
|
+
providers: [provideIcons({
|
|
1095
|
+
name: "circle",
|
|
1096
|
+
size: 24,
|
|
1097
|
+
node: Circle
|
|
1098
|
+
}, {
|
|
1099
|
+
name: "circle-dot",
|
|
1100
|
+
size: 24,
|
|
1101
|
+
node: CircleDot
|
|
1102
|
+
})],
|
|
1095
1103
|
ngImport: i0,
|
|
1096
1104
|
template: `
|
|
1097
1105
|
<div [class]="rowClasses()">
|
|
@@ -1143,7 +1151,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1143
1151
|
args: [{
|
|
1144
1152
|
selector: "NavigationHeader",
|
|
1145
1153
|
imports: [IconComponent],
|
|
1146
|
-
providers: [provideIcons(
|
|
1154
|
+
providers: [provideIcons({
|
|
1155
|
+
name: "circle",
|
|
1156
|
+
size: 24,
|
|
1157
|
+
node: Circle
|
|
1158
|
+
}, {
|
|
1159
|
+
name: "circle-dot",
|
|
1160
|
+
size: 24,
|
|
1161
|
+
node: CircleDot
|
|
1162
|
+
})],
|
|
1147
1163
|
host: {
|
|
1148
1164
|
"[class]": "hostClasses()",
|
|
1149
1165
|
"[attr.data-collapsed]": "displayCollapsed()"
|
|
@@ -1576,7 +1592,11 @@ var NavigationDockbarComponent = class NavigationDockbarComponent {
|
|
|
1576
1592
|
},
|
|
1577
1593
|
properties: { "class": "hostClasses()" }
|
|
1578
1594
|
},
|
|
1579
|
-
providers: [provideIcons(
|
|
1595
|
+
providers: [provideIcons({
|
|
1596
|
+
name: "route",
|
|
1597
|
+
size: 24,
|
|
1598
|
+
node: Route
|
|
1599
|
+
})],
|
|
1580
1600
|
queries: [
|
|
1581
1601
|
{
|
|
1582
1602
|
propertyName: "headerSlot",
|
|
@@ -1751,7 +1771,11 @@ i0.ɵɵngDeclareClassMetadataAsync({
|
|
|
1751
1771
|
NgTemplateOutlet,
|
|
1752
1772
|
TooltipDirective
|
|
1753
1773
|
],
|
|
1754
|
-
providers: [provideIcons(
|
|
1774
|
+
providers: [provideIcons({
|
|
1775
|
+
name: "route",
|
|
1776
|
+
size: 24,
|
|
1777
|
+
node: Route
|
|
1778
|
+
})],
|
|
1755
1779
|
host: {
|
|
1756
1780
|
"[class]": "hostClasses()",
|
|
1757
1781
|
"(keydown.escape)": "onEscape($event)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { Component, InjectionToken, PLATFORM_ID, Service, booleanAttribute, computed, effect, inject, input, model, signal } from "@angular/core";
|
|
3
|
-
import {
|
|
3
|
+
import { AppWindow, AppWindowMac, Bot, Braces, ChevronsLeft, Circle, Columns3, Cpu, DropletOff, Earth, ExternalLink, GalleryVertical, Globe, Grid3x3, Hexagon, Laptop, LaptopMinimal, LayoutGrid, Maximize, Menu, Minimize, Monitor, Moon, MoveHorizontal, Palette, PanelLeft, PanelLeftClose, PanelLeftDashed, PanelLeftOpen, PanelRight, Ratio, Rows2, Rows3, Rows4, Scan, SlidersHorizontal, Smartphone, Square, SquareRoundCorner, StretchHorizontal, Sun, Tablet, Terminal, UnfoldHorizontal } from "lucide";
|
|
4
4
|
import { DrawerCloseDirective, DrawerComponent, DrawerContentComponent, DrawerHeaderComponent, DrawerTitleComponent } from "@edsis/angular/component/drawer";
|
|
5
5
|
import { IconComponent, provideIcons } from "@edsis/angular/component/icon";
|
|
6
6
|
import { SegmentedControlComponent } from "@edsis/angular/component/segmented-control";
|
|
@@ -12,50 +12,237 @@ import { LayoutService } from "@edsis/angular/theme/layout/services";
|
|
|
12
12
|
import { SHELL_COLORS, SHELL_FRAMES, SHELL_MODES, isShellDeviceForMode, resolveShellDeviceForMode, shellDevicesForMode } from "@edsis/angular/theme/shell/types";
|
|
13
13
|
import { THEME_COLORS, THEME_NEUTRALS, ThemeBrandService, ThemeColorService, ThemeModeService, ThemeRadiusService, ThemeSpaceService, isThemeMode, isThemeRadius, isThemeSpace } from "@edsis/angular/theme/styles";
|
|
14
14
|
const THEME_SETTINGS_ICONS = [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
15
|
+
{
|
|
16
|
+
name: "app-window",
|
|
17
|
+
size: 24,
|
|
18
|
+
node: AppWindow
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: "app-window-mac",
|
|
22
|
+
size: 24,
|
|
23
|
+
node: AppWindowMac
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: "bot",
|
|
27
|
+
size: 24,
|
|
28
|
+
node: Bot
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: "braces",
|
|
32
|
+
size: 24,
|
|
33
|
+
aliases: ["curly-braces"],
|
|
34
|
+
node: Braces
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: "chevrons-left",
|
|
38
|
+
size: 24,
|
|
39
|
+
node: ChevronsLeft
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: "circle",
|
|
43
|
+
size: 24,
|
|
44
|
+
node: Circle
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: "columns-3",
|
|
48
|
+
size: 24,
|
|
49
|
+
aliases: ["panels-left-right"],
|
|
50
|
+
node: Columns3
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: "cpu",
|
|
54
|
+
size: 24,
|
|
55
|
+
node: Cpu
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "droplet-off",
|
|
59
|
+
size: 24,
|
|
60
|
+
node: DropletOff
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "earth",
|
|
64
|
+
size: 24,
|
|
65
|
+
aliases: ["globe-2"],
|
|
66
|
+
node: Earth
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "external-link",
|
|
70
|
+
size: 24,
|
|
71
|
+
node: ExternalLink
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "gallery-vertical",
|
|
75
|
+
size: 24,
|
|
76
|
+
node: GalleryVertical
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: "globe",
|
|
80
|
+
size: 24,
|
|
81
|
+
node: Globe
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: "grid-3x3",
|
|
85
|
+
size: 24,
|
|
86
|
+
aliases: ["grid", "grid-3-x-3"],
|
|
87
|
+
node: Grid3x3
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: "hexagon",
|
|
91
|
+
size: 24,
|
|
92
|
+
node: Hexagon
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: "laptop",
|
|
96
|
+
size: 24,
|
|
97
|
+
node: Laptop
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: "laptop-minimal",
|
|
101
|
+
size: 24,
|
|
102
|
+
aliases: ["laptop-2"],
|
|
103
|
+
node: LaptopMinimal
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: "layout-grid",
|
|
107
|
+
size: 24,
|
|
108
|
+
node: LayoutGrid
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: "maximize",
|
|
112
|
+
size: 24,
|
|
113
|
+
node: Maximize
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: "menu",
|
|
117
|
+
size: 24,
|
|
118
|
+
node: Menu
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: "minimize",
|
|
122
|
+
size: 24,
|
|
123
|
+
node: Minimize
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: "monitor",
|
|
127
|
+
size: 24,
|
|
128
|
+
node: Monitor
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: "moon",
|
|
132
|
+
size: 24,
|
|
133
|
+
node: Moon
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: "move-horizontal",
|
|
137
|
+
size: 24,
|
|
138
|
+
node: MoveHorizontal
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
name: "palette",
|
|
142
|
+
size: 24,
|
|
143
|
+
node: Palette
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
name: "panel-left",
|
|
147
|
+
size: 24,
|
|
148
|
+
aliases: ["sidebar"],
|
|
149
|
+
node: PanelLeft
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: "panel-left-close",
|
|
153
|
+
size: 24,
|
|
154
|
+
aliases: ["sidebar-close"],
|
|
155
|
+
node: PanelLeftClose
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: "panel-left-dashed",
|
|
159
|
+
size: 24,
|
|
160
|
+
aliases: ["panel-left-inactive"],
|
|
161
|
+
node: PanelLeftDashed
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: "panel-left-open",
|
|
165
|
+
size: 24,
|
|
166
|
+
aliases: ["sidebar-open"],
|
|
167
|
+
node: PanelLeftOpen
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: "panel-right",
|
|
171
|
+
size: 24,
|
|
172
|
+
node: PanelRight
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
name: "ratio",
|
|
176
|
+
size: 24,
|
|
177
|
+
node: Ratio
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: "rows-2",
|
|
181
|
+
size: 24,
|
|
182
|
+
aliases: ["rows"],
|
|
183
|
+
node: Rows2
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: "rows-3",
|
|
187
|
+
size: 24,
|
|
188
|
+
aliases: ["panels-top-bottom"],
|
|
189
|
+
node: Rows3
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: "rows-4",
|
|
193
|
+
size: 24,
|
|
194
|
+
node: Rows4
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: "scan",
|
|
198
|
+
size: 24,
|
|
199
|
+
node: Scan
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
name: "sliders-horizontal",
|
|
203
|
+
size: 24,
|
|
204
|
+
node: SlidersHorizontal
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: "smartphone",
|
|
208
|
+
size: 24,
|
|
209
|
+
node: Smartphone
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: "square",
|
|
213
|
+
size: 24,
|
|
214
|
+
node: Square
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
name: "square-round-corner",
|
|
218
|
+
size: 24,
|
|
219
|
+
node: SquareRoundCorner
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
name: "stretch-horizontal",
|
|
223
|
+
size: 24,
|
|
224
|
+
node: StretchHorizontal
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
name: "sun",
|
|
228
|
+
size: 24,
|
|
229
|
+
node: Sun
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: "tablet",
|
|
233
|
+
size: 24,
|
|
234
|
+
node: Tablet
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: "terminal",
|
|
238
|
+
size: 24,
|
|
239
|
+
node: Terminal
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
name: "unfold-horizontal",
|
|
243
|
+
size: 24,
|
|
244
|
+
node: UnfoldHorizontal
|
|
245
|
+
}
|
|
59
246
|
];
|
|
60
247
|
const THEME_SETTINGS_ADAPTER = new InjectionToken("THEME_SETTINGS_ADAPTER");
|
|
61
248
|
const NAV_TYPE_STORAGE_KEY = "nav-type";
|
|
@@ -1540,7 +1727,11 @@ var ThemeSettingsComponent = class ThemeSettingsComponent {
|
|
|
1540
1727
|
},
|
|
1541
1728
|
outputs: { open: "openChange" },
|
|
1542
1729
|
host: { classAttribute: "contents" },
|
|
1543
|
-
providers: [provideIcons(
|
|
1730
|
+
providers: [provideIcons({
|
|
1731
|
+
name: "palette",
|
|
1732
|
+
size: 24,
|
|
1733
|
+
node: Palette
|
|
1734
|
+
})],
|
|
1544
1735
|
ngImport: i0,
|
|
1545
1736
|
template: `
|
|
1546
1737
|
@if (inline()) {
|
|
@@ -1703,7 +1894,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1703
1894
|
type: Component,
|
|
1704
1895
|
args: [{
|
|
1705
1896
|
selector: "ThemeSettings",
|
|
1706
|
-
providers: [provideIcons(
|
|
1897
|
+
providers: [provideIcons({
|
|
1898
|
+
name: "palette",
|
|
1899
|
+
size: 24,
|
|
1900
|
+
node: Palette
|
|
1901
|
+
})],
|
|
1707
1902
|
imports: [
|
|
1708
1903
|
DrawerCloseDirective,
|
|
1709
1904
|
DrawerComponent,
|
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import { Component, InjectionToken, Service, booleanAttribute, computed, effect, inject, input, model, output, signal, viewChild } from "@angular/core";
|
|
3
3
|
import { NavigationAsideFooterDirective, NavigationContainerComponent, NavigationDockbarComponent, NavigationFlyoutComponent, NavigationFooterActionComponent, NavigationFooterComponent, NavigationFooterInitialComponent, NavigationFooterTitleComponent, NavigationHeaderComponent, NavigationHeaderInitialComponent, NavigationHeaderTitleComponent, NavigationMinidockComponent, NavigationNavbarComponent, NavigationSidebarComponent } from "@edsis/angular/navigation";
|
|
4
4
|
import { cn } from "@edsis/angular/component/utils/core";
|
|
5
|
-
import {
|
|
5
|
+
import { DoorOpen, Grip, LogOut } from "lucide";
|
|
6
6
|
import { IconComponent, provideIcons } from "@edsis/angular/component/icon";
|
|
7
7
|
import { ThemeSettingsComponent } from "@edsis/angular/theme/component/settings";
|
|
8
8
|
import { DOCUMENT, NgTemplateOutlet } from "@angular/common";
|
|
@@ -290,7 +290,15 @@ var LayoutUser = class LayoutUser {
|
|
|
290
290
|
},
|
|
291
291
|
outputs: { logout: "logout" },
|
|
292
292
|
host: { classAttribute: "contents" },
|
|
293
|
-
providers: [provideIcons(
|
|
293
|
+
providers: [provideIcons({
|
|
294
|
+
name: "log-out",
|
|
295
|
+
size: 24,
|
|
296
|
+
node: LogOut
|
|
297
|
+
}, {
|
|
298
|
+
name: "door-open",
|
|
299
|
+
size: 24,
|
|
300
|
+
node: DoorOpen
|
|
301
|
+
})],
|
|
294
302
|
ngImport: i0,
|
|
295
303
|
template: `
|
|
296
304
|
@if (showsIdentity()) {
|
|
@@ -389,7 +397,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
389
397
|
type: Component,
|
|
390
398
|
args: [{
|
|
391
399
|
selector: "LayoutUser",
|
|
392
|
-
providers: [provideIcons(
|
|
400
|
+
providers: [provideIcons({
|
|
401
|
+
name: "log-out",
|
|
402
|
+
size: 24,
|
|
403
|
+
node: LogOut
|
|
404
|
+
}, {
|
|
405
|
+
name: "door-open",
|
|
406
|
+
size: 24,
|
|
407
|
+
node: DoorOpen
|
|
408
|
+
})],
|
|
393
409
|
imports: [
|
|
394
410
|
IconComponent,
|
|
395
411
|
ThemeSettingsComponent,
|
|
@@ -1323,7 +1339,11 @@ var LayoutNavFlyout = class LayoutNavFlyout {
|
|
|
1323
1339
|
},
|
|
1324
1340
|
outputs: { logout: "logout" },
|
|
1325
1341
|
host: { classAttribute: "contents" },
|
|
1326
|
-
providers: [provideIcons(
|
|
1342
|
+
providers: [provideIcons({
|
|
1343
|
+
name: "grip",
|
|
1344
|
+
size: 24,
|
|
1345
|
+
node: Grip
|
|
1346
|
+
})],
|
|
1327
1347
|
ngImport: i0,
|
|
1328
1348
|
template: `
|
|
1329
1349
|
<NavigationFlyout
|
|
@@ -1406,7 +1426,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1406
1426
|
type: Component,
|
|
1407
1427
|
args: [{
|
|
1408
1428
|
selector: "LayoutNavFlyout",
|
|
1409
|
-
providers: [provideIcons(
|
|
1429
|
+
providers: [provideIcons({
|
|
1430
|
+
name: "grip",
|
|
1431
|
+
size: 24,
|
|
1432
|
+
node: Grip
|
|
1433
|
+
})],
|
|
1410
1434
|
imports: [
|
|
1411
1435
|
NavigationFlyoutComponent,
|
|
1412
1436
|
NavigationHeaderComponent,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { Component, booleanAttribute, computed, contentChild, effect, inject, input, output } from "@angular/core";
|
|
3
|
-
import {
|
|
3
|
+
import { Grip } from "lucide";
|
|
4
4
|
import { provideIcons } from "@edsis/angular/component/icon";
|
|
5
5
|
import { cn } from "@edsis/angular/component/utils/core";
|
|
6
6
|
import { NavigationContainerComponent, NavigationFlyoutComponent, NavigationFooterComponent, NavigationHeaderComponent } from "@edsis/angular/navigation";
|
|
@@ -279,7 +279,11 @@ var PageComponent = class PageComponent {
|
|
|
279
279
|
"style.--page-filter-width": "filterWidthVar()"
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
|
-
providers: [PageStateService, provideIcons(
|
|
282
|
+
providers: [PageStateService, provideIcons({
|
|
283
|
+
name: "grip",
|
|
284
|
+
size: 24,
|
|
285
|
+
node: Grip
|
|
286
|
+
})],
|
|
283
287
|
queries: [
|
|
284
288
|
{
|
|
285
289
|
propertyName: "projectedSide",
|
|
@@ -456,7 +460,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
456
460
|
type: Component,
|
|
457
461
|
args: [{
|
|
458
462
|
selector: "Page",
|
|
459
|
-
providers: [PageStateService, provideIcons(
|
|
463
|
+
providers: [PageStateService, provideIcons({
|
|
464
|
+
name: "grip",
|
|
465
|
+
size: 24,
|
|
466
|
+
node: Grip
|
|
467
|
+
})],
|
|
460
468
|
imports: [
|
|
461
469
|
NavigationContainerComponent,
|
|
462
470
|
NavigationFlyoutComponent,
|
|
@@ -3,7 +3,7 @@ import { Component, booleanAttribute, computed, inject, input } from "@angular/c
|
|
|
3
3
|
import { cn } from "@edsis/angular/component/utils/core";
|
|
4
4
|
import { SHELL_WINDOW_BRIDGE, ShellService, ShellService as ShellService$1, WEB_SHELL_WINDOW_BRIDGE, createTauriShellWindowBridge, isTauriRuntime, provideShellWindowBridge, provideTauriShellWindowBridge } from "@edsis/angular/theme/shell/services";
|
|
5
5
|
import { SHELL_COLORS, SHELL_COLOR_STORAGE_KEY, SHELL_DEFAULT_COLOR, SHELL_DEFAULT_COLOR as SHELL_DEFAULT_COLOR$1, SHELL_DEFAULT_DEVICE, SHELL_DEFAULT_DEVICE as SHELL_DEFAULT_DEVICE$1, SHELL_DEFAULT_FRAME, SHELL_DEFAULT_FRAME as SHELL_DEFAULT_FRAME$1, SHELL_DEFAULT_MODE, SHELL_DEFAULT_PLATFORM, SHELL_DEFAULT_WINDOW_STATE, SHELL_DEVICES, SHELL_DEVICE_STORAGE_KEY, SHELL_FRAMES, SHELL_FRAME_STORAGE_KEY, SHELL_MODES, SHELL_MODE_DEVICES, SHELL_MODE_STORAGE_KEY, SHELL_PLATFORMS, SHELL_WINDOW_STATES, defaultShellDeviceForMode, isShellColor, isShellDevice, isShellDeviceForMode, isShellFrame, isShellMode, isShellPlatform, isShellWindowState, normalizeShellColor, normalizeShellDevice, normalizeShellFrame, normalizeShellMode, resolveShellDeviceForMode, resolveShellDeviceForMode as resolveShellDeviceForMode$1, resolveShellFrameForMode, resolveShellFrameForMode as resolveShellFrameForMode$1, shellDevicesForMode } from "@edsis/angular/theme/shell/types";
|
|
6
|
-
import {
|
|
6
|
+
import { Grip } from "lucide";
|
|
7
7
|
import { provideIcons } from "@edsis/angular/component/icon";
|
|
8
8
|
import { NavigationContainerComponent, NavigationFlyoutComponent, NavigationFooterComponent, NavigationHeaderComponent } from "@edsis/angular/navigation";
|
|
9
9
|
import { NAVIGATION_ADAPTER } from "@edsis/angular/navigation/core";
|
|
@@ -66,7 +66,11 @@ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
|
|
|
66
66
|
styleAttribute: "--nav-flyout-floating-width: 100vw; --nav-flyout-floating-max-width: 100vw; --nav-flyout-floating-radius: 0 0 var(--shell-frame-radius) var(--shell-frame-radius);",
|
|
67
67
|
classAttribute: "contents"
|
|
68
68
|
},
|
|
69
|
-
providers: [provideIcons(
|
|
69
|
+
providers: [provideIcons({
|
|
70
|
+
name: "grip",
|
|
71
|
+
size: 24,
|
|
72
|
+
node: Grip
|
|
73
|
+
})],
|
|
70
74
|
ngImport: i0,
|
|
71
75
|
template: `
|
|
72
76
|
@if (showsFlyout()) {
|
|
@@ -188,7 +192,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
188
192
|
type: Component,
|
|
189
193
|
args: [{
|
|
190
194
|
selector: "ShellNavigationFlyout",
|
|
191
|
-
providers: [provideIcons(
|
|
195
|
+
providers: [provideIcons({
|
|
196
|
+
name: "grip",
|
|
197
|
+
size: 24,
|
|
198
|
+
node: Grip
|
|
199
|
+
})],
|
|
192
200
|
imports: [
|
|
193
201
|
NavigationContainerComponent,
|
|
194
202
|
NavigationFlyoutComponent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edsis/angular",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.11",
|
|
4
4
|
"description": "Accessible, tree-shakable Angular 22 design system from Edsis: UI components, charts, navigation shells, theme tokens, and an OpenAPI SDK generator.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"d3-scale": "^4.0.2",
|
|
72
72
|
"d3-shape": "^3.2.0",
|
|
73
73
|
"embla-carousel": "^8.5.2",
|
|
74
|
+
"lucide": "^1.69.0",
|
|
74
75
|
"semver": "^7.6.0",
|
|
75
76
|
"tailwind-merge": "^3.5.0",
|
|
76
77
|
"tslib": "^2.8.1",
|
|
@@ -507,5 +508,5 @@
|
|
|
507
508
|
"module": "fesm2022/edsis-angular.mjs",
|
|
508
509
|
"typings": "types/edsis-angular.d.ts",
|
|
509
510
|
"type": "module",
|
|
510
|
-
"gitHead": "
|
|
511
|
+
"gitHead": "d5b192f65cb6819d5ca7379eb4bd5e2a53146ede"
|
|
511
512
|
}
|
package/theme/README.md
CHANGED
|
@@ -113,6 +113,11 @@ it (or use `theme-full.css`) to enable runtime switching.
|
|
|
113
113
|
Lucide SVGs registered with `provideIcons()` from `{{packageName}}/component/icon`; the theme
|
|
114
114
|
only supplies the `--icon-size` and `--icon-stroke-width` tokens that `<Icon>` reads.
|
|
115
115
|
|
|
116
|
+
Theme settings and the other built-in controls register SVG node data through named imports
|
|
117
|
+
from `lucide`, preserving their canonical names, aliases, and 24 unit viewBox. They do not
|
|
118
|
+
retain the Angular component definition of each icon. `@lucide/angular` remains a required
|
|
119
|
+
peer for the shared dynamic SVG renderer and consumer registrations of Lucide components.
|
|
120
|
+
|
|
116
121
|
## Support and security
|
|
117
122
|
|
|
118
123
|
Angular 22.2–22.x CSR/browser usage is supported; SSR, prerendering, and hydration are not. See the
|
|
@@ -159,7 +159,7 @@ export declare class ThemeSettingsDefaultAdapter implements ThemeSettingsAdapter
|
|
|
159
159
|
private readonly storage;
|
|
160
160
|
private readonly layout;
|
|
161
161
|
private readonly shell;
|
|
162
|
-
readonly surface: import("@angular/core").Signal<"
|
|
162
|
+
readonly surface: import("@angular/core").Signal<"grid" | "flat" | "grid-line" | "honeycomb" | "matrix" | "circuit" | "line-vertical" | "line-horizontal">;
|
|
163
163
|
readonly appearance: import("@angular/core").Signal<"flat" | "border-rail">;
|
|
164
164
|
readonly width: import("@angular/core").Signal<"fluid" | "full" | "wide" | "container">;
|
|
165
165
|
private readonly layoutTypeState;
|
|
@@ -169,7 +169,7 @@ export declare class ThemeSettingsDefaultAdapter implements ThemeSettingsAdapter
|
|
|
169
169
|
readonly navType: import("@angular/core").Signal<ThemeSettingsNavigationType>;
|
|
170
170
|
readonly navTypeMode: import("@angular/core").Signal<ThemeSettingsNavigationMode>;
|
|
171
171
|
/** Shell mode the nav-type constraints are resolved against. */
|
|
172
|
-
readonly shellMode: import("@angular/core").Signal<"
|
|
172
|
+
readonly shellMode: import("@angular/core").Signal<"tablet" | "desktop" | "web" | "mobile">;
|
|
173
173
|
constructor();
|
|
174
174
|
setSurface(surface: LayoutSurface): void;
|
|
175
175
|
setAppearance(appearance: LayoutAppearance): void;
|