@ojiepermana/angular 22.2.1 → 22.2.3
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/README.md +18 -7
- package/component/icon/README.md +40 -13
- package/fesm2022/ojiepermana-angular-chart-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-bar.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-core.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-line.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-radar.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-radial.mjs +5 -5
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +17 -17
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +27 -27
- package/fesm2022/ojiepermana-angular-component-alert.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-badge.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +10 -10
- package/fesm2022/ojiepermana-angular-component-button.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-card.mjs +27 -24
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-command.mjs +28 -28
- package/fesm2022/ojiepermana-angular-component-composer.mjs +22 -22
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +22 -22
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +2 -1
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +39 -39
- package/fesm2022/ojiepermana-angular-component-editor.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-empty.mjs +19 -19
- package/fesm2022/ojiepermana-angular-component-form.mjs +36 -36
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-icon.mjs +114 -105
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +19 -19
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +16 -16
- package/fesm2022/ojiepermana-angular-component-input.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-item.mjs +31 -31
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +29 -29
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +7 -7
- package/fesm2022/ojiepermana-angular-component-label.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +13 -13
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +14 -14
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs +16 -16
- package/fesm2022/ojiepermana-angular-component-popover.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-progress.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-radio.mjs +7 -7
- package/fesm2022/ojiepermana-angular-component-resizable.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +6 -8
- package/fesm2022/ojiepermana-angular-component-select.mjs +8 -8
- package/fesm2022/ojiepermana-angular-component-separator.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +41 -28
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-slider.mjs +10 -10
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-switch.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-table.mjs +24 -24
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +19 -19
- package/fesm2022/ojiepermana-angular-component-toast.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +5 -5
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +3 -3
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +3 -3
- package/fesm2022/{ojiepermana-angular-navigation-navigation-badge-count.component-DYuysKVf.mjs → ojiepermana-angular-navigation-navigation-badge-count.component-4RIokl1C.mjs} +3 -3
- package/fesm2022/{ojiepermana-angular-navigation-navigation-dockbar-menu.component-COiTaw34.mjs → ojiepermana-angular-navigation-navigation-dockbar-menu.component-I-ln7fOq.mjs} +22 -15
- package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-YIz0IsIb.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-meQb_EWZ.mjs} +15 -24
- package/fesm2022/{ojiepermana-angular-navigation-navigation-flyout-menu.component-D2vwEwBY.mjs → ojiepermana-angular-navigation-navigation-flyout-menu.component-DRdw2G-c.mjs} +14 -13
- package/fesm2022/{ojiepermana-angular-navigation-navigation-horizontal.component-B5D7yXfb.mjs → ojiepermana-angular-navigation-navigation-horizontal.component-Bx1NcrWO.mjs} +5 -5
- package/fesm2022/{ojiepermana-angular-navigation-navigation-item.component-CUb68MZH.mjs → ojiepermana-angular-navigation-navigation-item.component-ERZNpmTZ.mjs} +22 -23
- package/fesm2022/{ojiepermana-angular-navigation-navigation-list.component-CrK16trj.mjs → ojiepermana-angular-navigation-navigation-list.component-DfG6_3eF.mjs} +4 -4
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +16 -7
- package/fesm2022/ojiepermana-angular-navigation.mjs +95 -89
- package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +127 -72
- package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +6 -6
- package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +56 -48
- package/fesm2022/ojiepermana-angular-theme-layout.mjs +30 -30
- package/fesm2022/ojiepermana-angular-theme-page-core.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +7 -7
- package/fesm2022/ojiepermana-angular-theme-page-overview.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-root.mjs +8 -6
- package/fesm2022/ojiepermana-angular-theme-page-side.mjs +7 -7
- package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +12 -12
- package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-shell.mjs +16 -12
- package/fesm2022/ojiepermana-angular-theme-styles.mjs +17 -33
- package/navigation/README.md +2 -2
- package/package.json +3 -2
- package/theme/README.md +4 -10
- package/theme/page/README.md +2 -0
- package/theme/shell/README.md +5 -1
- package/theme/styles/README.md +32 -8
- package/theme/styles/css/base/components.css +13 -9
- package/theme/styles/css/base/tailwind.css +43 -0
- package/theme/styles/css/base/theme.css +4 -25
- package/theme/styles/css/base/tokens.css +21 -0
- package/theme/styles/css/fonts.css +85 -0
- package/types/ojiepermana-angular-chart-radar.d.ts +2 -1
- package/types/ojiepermana-angular-component-avatar.d.ts +2 -1
- package/types/ojiepermana-angular-component-calendar.d.ts +2 -1
- package/types/ojiepermana-angular-component-card.d.ts +6 -1
- package/types/ojiepermana-angular-component-editor.d.ts +2 -1
- package/types/ojiepermana-angular-component-icon.d.ts +50 -79
- package/types/ojiepermana-angular-component-input-otp.d.ts +2 -1
- package/types/ojiepermana-angular-component-pillbox.d.ts +2 -1
- package/types/ojiepermana-angular-component-radio.d.ts +2 -1
- package/types/ojiepermana-angular-component-resizable.d.ts +2 -1
- package/types/ojiepermana-angular-component-segmented-control.d.ts +1 -1
- package/types/ojiepermana-angular-component-select.d.ts +2 -3
- package/types/ojiepermana-angular-navigation-service.d.ts +8 -0
- package/types/ojiepermana-angular-navigation-types.d.ts +1 -1
- package/types/ojiepermana-angular-navigation.d.ts +12 -7
- package/types/ojiepermana-angular-theme-layout-services.d.ts +2 -1
- package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +4 -3
- package/types/ojiepermana-angular-theme-page-root.d.ts +1 -1
- package/types/ojiepermana-angular-theme-shell-services.d.ts +2 -1
- package/types/ojiepermana-angular-theme-styles.d.ts +0 -12
|
@@ -44,7 +44,7 @@ var PageFilterComponent = class PageFilterComponent {
|
|
|
44
44
|
const scroll = this.resolvedScroll();
|
|
45
45
|
const open = this.page.filterOpen();
|
|
46
46
|
if (this.isStacked()) return cn("block shrink-0 border-b border-border text-surface-foreground", scroll === "page" ? `sticky top-0 z-10 ${FILTER_BG_OPAQUE}` : FILTER_BG, this.class(), this.isCollapsedStacked() && "hidden");
|
|
47
|
-
return cn("block min-h-0 border-border text-surface-foreground", this.isSticky() ? FILTER_BG : FILTER_BG_OPAQUE, scroll === "content" && "h-full overflow-auto", scroll === "page" && "overflow-visible", this.isSticky() && "shrink-0 w-[var(--page-filter-width)]", this.isSticky() && position === "left" && "border-r", this.isSticky() && position === "right" && "order-last border-l", this.isDrawer() && "absolute inset-y-0 z-20 w-[var(--page-filter-width)] border shadow-sm transition-transform duration-
|
|
47
|
+
return cn("block min-h-0 border-border text-surface-foreground", this.isSticky() ? FILTER_BG : FILTER_BG_OPAQUE, scroll === "content" && "h-full overflow-auto", scroll === "page" && "overflow-visible", this.isSticky() && "shrink-0 w-[var(--page-filter-width)]", this.isSticky() && position === "left" && "border-r", this.isSticky() && position === "right" && "order-last border-l", this.isDrawer() && "absolute inset-y-0 z-20 w-[var(--page-filter-width)] border shadow-sm transition-transform duration-normal ease-out motion-reduce:transition-none", this.isDrawer() && position === "left" && (open ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isDrawer() && position === "right" && (open ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.isOverlay() && "absolute inset-y-0 z-30 w-[var(--page-filter-width)] border shadow-md transition-transform duration-normal ease-out motion-reduce:transition-none", this.isOverlay() && position === "left" && (open ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isOverlay() && position === "right" && (open ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.class());
|
|
48
48
|
}, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
49
49
|
constructor() {
|
|
50
50
|
ɵsetupOverlayFocusManagement({
|
|
@@ -81,7 +81,7 @@ var PageFilterComponent = class PageFilterComponent {
|
|
|
81
81
|
}
|
|
82
82
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
83
83
|
minVersion: "12.0.0",
|
|
84
|
-
version: "22.2.
|
|
84
|
+
version: "22.2.3",
|
|
85
85
|
ngImport: i0,
|
|
86
86
|
type: PageFilterComponent,
|
|
87
87
|
deps: [],
|
|
@@ -89,7 +89,7 @@ var PageFilterComponent = class PageFilterComponent {
|
|
|
89
89
|
});
|
|
90
90
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
91
91
|
minVersion: "17.1.0",
|
|
92
|
-
version: "22.2.
|
|
92
|
+
version: "22.2.3",
|
|
93
93
|
type: PageFilterComponent,
|
|
94
94
|
isStandalone: true,
|
|
95
95
|
selector: "PageFilter",
|
|
@@ -174,7 +174,7 @@ var PageFilterComponent = class PageFilterComponent {
|
|
|
174
174
|
};
|
|
175
175
|
i0.ɵɵngDeclareClassMetadata({
|
|
176
176
|
minVersion: "12.0.0",
|
|
177
|
-
version: "22.2.
|
|
177
|
+
version: "22.2.3",
|
|
178
178
|
ngImport: i0,
|
|
179
179
|
type: PageFilterComponent,
|
|
180
180
|
decorators: [{
|
|
@@ -281,7 +281,7 @@ var PageFilterToggleComponent = class PageFilterToggleComponent {
|
|
|
281
281
|
}
|
|
282
282
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
283
283
|
minVersion: "12.0.0",
|
|
284
|
-
version: "22.2.
|
|
284
|
+
version: "22.2.3",
|
|
285
285
|
ngImport: i0,
|
|
286
286
|
type: PageFilterToggleComponent,
|
|
287
287
|
deps: [],
|
|
@@ -289,7 +289,7 @@ var PageFilterToggleComponent = class PageFilterToggleComponent {
|
|
|
289
289
|
});
|
|
290
290
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
291
291
|
minVersion: "17.1.0",
|
|
292
|
-
version: "22.2.
|
|
292
|
+
version: "22.2.3",
|
|
293
293
|
type: PageFilterToggleComponent,
|
|
294
294
|
isStandalone: true,
|
|
295
295
|
selector: "PageFilterToggle",
|
|
@@ -345,7 +345,7 @@ var PageFilterToggleComponent = class PageFilterToggleComponent {
|
|
|
345
345
|
};
|
|
346
346
|
i0.ɵɵngDeclareClassMetadata({
|
|
347
347
|
minVersion: "12.0.0",
|
|
348
|
-
version: "22.2.
|
|
348
|
+
version: "22.2.3",
|
|
349
349
|
ngImport: i0,
|
|
350
350
|
type: PageFilterToggleComponent,
|
|
351
351
|
decorators: [{
|
|
@@ -7,7 +7,7 @@ var PageOverviewComponent = class PageOverviewComponent {
|
|
|
7
7
|
classes = computed(() => cn("block min-w-0 shrink-0 border-b border-border bg-surface/50 text-surface-foreground", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
8
8
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
9
9
|
minVersion: "12.0.0",
|
|
10
|
-
version: "22.2.
|
|
10
|
+
version: "22.2.3",
|
|
11
11
|
ngImport: i0,
|
|
12
12
|
type: PageOverviewComponent,
|
|
13
13
|
deps: [],
|
|
@@ -15,7 +15,7 @@ var PageOverviewComponent = class PageOverviewComponent {
|
|
|
15
15
|
});
|
|
16
16
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
17
17
|
minVersion: "17.1.0",
|
|
18
|
-
version: "22.2.
|
|
18
|
+
version: "22.2.3",
|
|
19
19
|
type: PageOverviewComponent,
|
|
20
20
|
isStandalone: true,
|
|
21
21
|
selector: "PageOverview",
|
|
@@ -50,7 +50,7 @@ var PageOverviewComponent = class PageOverviewComponent {
|
|
|
50
50
|
};
|
|
51
51
|
i0.ɵɵngDeclareClassMetadata({
|
|
52
52
|
minVersion: "12.0.0",
|
|
53
|
-
version: "22.2.
|
|
53
|
+
version: "22.2.3",
|
|
54
54
|
ngImport: i0,
|
|
55
55
|
type: PageOverviewComponent,
|
|
56
56
|
decorators: [{
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { Component, booleanAttribute, computed, contentChild, effect, inject, input, output } from "@angular/core";
|
|
3
|
+
import { LucideGrip } from "@lucide/angular";
|
|
4
|
+
import { provideIcons } from "@ojiepermana/angular/component/icon";
|
|
3
5
|
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
4
6
|
import { NavigationContainerComponent, NavigationFlyoutComponent, NavigationFooterComponent, NavigationHeaderComponent } from "@ojiepermana/angular/navigation";
|
|
5
7
|
import { NAVIGATION_ADAPTER } from "@ojiepermana/angular/navigation/core";
|
|
@@ -50,7 +52,7 @@ var PageComponent = class PageComponent {
|
|
|
50
52
|
transform: booleanAttribute
|
|
51
53
|
});
|
|
52
54
|
appsNavId = input("main", ...ngDevMode ? [{ debugName: "appsNavId" }] : /* istanbul ignore next */ []);
|
|
53
|
-
appsIcon = input("
|
|
55
|
+
appsIcon = input("grip", ...ngDevMode ? [{ debugName: "appsIcon" }] : /* istanbul ignore next */ []);
|
|
54
56
|
appsLabel = input("Open navigation", ...ngDevMode ? [{ debugName: "appsLabel" }] : /* istanbul ignore next */ []);
|
|
55
57
|
overlayCloseLabel = input("Close overlay panel", ...ngDevMode ? [{ debugName: "overlayCloseLabel" }] : /* istanbul ignore next */ []);
|
|
56
58
|
launcherNavId = `__page-apps-${pageAppsLauncherInstanceId += 1}`;
|
|
@@ -135,7 +137,7 @@ var PageComponent = class PageComponent {
|
|
|
135
137
|
}
|
|
136
138
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
137
139
|
minVersion: "12.0.0",
|
|
138
|
-
version: "22.2.
|
|
140
|
+
version: "22.2.3",
|
|
139
141
|
ngImport: i0,
|
|
140
142
|
type: PageComponent,
|
|
141
143
|
deps: [],
|
|
@@ -143,7 +145,7 @@ var PageComponent = class PageComponent {
|
|
|
143
145
|
});
|
|
144
146
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
145
147
|
minVersion: "17.0.0",
|
|
146
|
-
version: "22.2.
|
|
148
|
+
version: "22.2.3",
|
|
147
149
|
type: PageComponent,
|
|
148
150
|
isStandalone: true,
|
|
149
151
|
selector: "Page",
|
|
@@ -277,7 +279,7 @@ var PageComponent = class PageComponent {
|
|
|
277
279
|
"style.--page-filter-width": "filterWidthVar()"
|
|
278
280
|
}
|
|
279
281
|
},
|
|
280
|
-
providers: [PageStateService],
|
|
282
|
+
providers: [PageStateService, provideIcons(LucideGrip)],
|
|
281
283
|
queries: [
|
|
282
284
|
{
|
|
283
285
|
propertyName: "projectedSide",
|
|
@@ -443,14 +445,14 @@ var PageComponent = class PageComponent {
|
|
|
443
445
|
};
|
|
444
446
|
i0.ɵɵngDeclareClassMetadata({
|
|
445
447
|
minVersion: "12.0.0",
|
|
446
|
-
version: "22.2.
|
|
448
|
+
version: "22.2.3",
|
|
447
449
|
ngImport: i0,
|
|
448
450
|
type: PageComponent,
|
|
449
451
|
decorators: [{
|
|
450
452
|
type: Component,
|
|
451
453
|
args: [{
|
|
452
454
|
selector: "Page",
|
|
453
|
-
providers: [PageStateService],
|
|
455
|
+
providers: [PageStateService, provideIcons(LucideGrip)],
|
|
454
456
|
imports: [
|
|
455
457
|
NavigationContainerComponent,
|
|
456
458
|
NavigationFlyoutComponent,
|
|
@@ -32,7 +32,7 @@ var PageSideComponent = class PageSideComponent {
|
|
|
32
32
|
classes = computed(() => {
|
|
33
33
|
const position = this.resolvedPosition();
|
|
34
34
|
const sideOpen = this.page.sideOpen();
|
|
35
|
-
return cn("block min-h-0 border-border bg-background", this.resolvedScroll() === "content" && "h-full overflow-auto", this.resolvedScroll() === "page" && "overflow-visible", this.isSticky() && "shrink-0 w-[var(--page-side-width)]", this.isSticky() && position === "left" && "border-r", this.isSticky() && position === "right" && "order-last border-l", this.isDrawer() && "absolute inset-y-0 z-20 w-[var(--page-side-width)] border shadow-sm transition-transform duration-
|
|
35
|
+
return cn("block min-h-0 border-border bg-background", this.resolvedScroll() === "content" && "h-full overflow-auto", this.resolvedScroll() === "page" && "overflow-visible", this.isSticky() && "shrink-0 w-[var(--page-side-width)]", this.isSticky() && position === "left" && "border-r", this.isSticky() && position === "right" && "order-last border-l", this.isDrawer() && "absolute inset-y-0 z-20 w-[var(--page-side-width)] border shadow-sm transition-transform duration-normal ease-out motion-reduce:transition-none", this.isDrawer() && position === "left" && (sideOpen ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isDrawer() && position === "right" && (sideOpen ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.isOverlay() && "absolute inset-y-0 z-30 w-[var(--page-side-width)] border shadow-md transition-transform duration-normal ease-out motion-reduce:transition-none", this.isOverlay() && position === "left" && (sideOpen ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isOverlay() && position === "right" && (sideOpen ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.class());
|
|
36
36
|
}, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
37
37
|
constructor() {
|
|
38
38
|
ɵsetupOverlayFocusManagement({
|
|
@@ -68,7 +68,7 @@ var PageSideComponent = class PageSideComponent {
|
|
|
68
68
|
}
|
|
69
69
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
70
70
|
minVersion: "12.0.0",
|
|
71
|
-
version: "22.2.
|
|
71
|
+
version: "22.2.3",
|
|
72
72
|
ngImport: i0,
|
|
73
73
|
type: PageSideComponent,
|
|
74
74
|
deps: [],
|
|
@@ -76,7 +76,7 @@ var PageSideComponent = class PageSideComponent {
|
|
|
76
76
|
});
|
|
77
77
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
78
78
|
minVersion: "17.1.0",
|
|
79
|
-
version: "22.2.
|
|
79
|
+
version: "22.2.3",
|
|
80
80
|
type: PageSideComponent,
|
|
81
81
|
isStandalone: true,
|
|
82
82
|
selector: "PageSide",
|
|
@@ -146,7 +146,7 @@ var PageSideComponent = class PageSideComponent {
|
|
|
146
146
|
};
|
|
147
147
|
i0.ɵɵngDeclareClassMetadata({
|
|
148
148
|
minVersion: "12.0.0",
|
|
149
|
-
version: "22.2.
|
|
149
|
+
version: "22.2.3",
|
|
150
150
|
ngImport: i0,
|
|
151
151
|
type: PageSideComponent,
|
|
152
152
|
decorators: [{
|
|
@@ -236,7 +236,7 @@ var PageSideToggleComponent = class PageSideToggleComponent {
|
|
|
236
236
|
}
|
|
237
237
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
238
238
|
minVersion: "12.0.0",
|
|
239
|
-
version: "22.2.
|
|
239
|
+
version: "22.2.3",
|
|
240
240
|
ngImport: i0,
|
|
241
241
|
type: PageSideToggleComponent,
|
|
242
242
|
deps: [],
|
|
@@ -244,7 +244,7 @@ var PageSideToggleComponent = class PageSideToggleComponent {
|
|
|
244
244
|
});
|
|
245
245
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
246
246
|
minVersion: "17.1.0",
|
|
247
|
-
version: "22.2.
|
|
247
|
+
version: "22.2.3",
|
|
248
248
|
type: PageSideToggleComponent,
|
|
249
249
|
isStandalone: true,
|
|
250
250
|
selector: "PageSideToggle",
|
|
@@ -289,7 +289,7 @@ var PageSideToggleComponent = class PageSideToggleComponent {
|
|
|
289
289
|
};
|
|
290
290
|
i0.ɵɵngDeclareClassMetadata({
|
|
291
291
|
minVersion: "12.0.0",
|
|
292
|
-
version: "22.2.
|
|
292
|
+
version: "22.2.3",
|
|
293
293
|
ngImport: i0,
|
|
294
294
|
type: PageSideToggleComponent,
|
|
295
295
|
decorators: [{
|
|
@@ -14,7 +14,7 @@ var PageHeaderComponent = class PageHeaderComponent {
|
|
|
14
14
|
classes = computed(() => cn("block shrink-0 border-b border-[hsl(var(--border)/var(--section-border-opacity))] bg-background", this.class(), this.resolvedHeight() === "fix" && "h-12 overflow-hidden"), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
15
15
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
16
16
|
minVersion: "12.0.0",
|
|
17
|
-
version: "22.2.
|
|
17
|
+
version: "22.2.3",
|
|
18
18
|
ngImport: i0,
|
|
19
19
|
type: PageHeaderComponent,
|
|
20
20
|
deps: [],
|
|
@@ -22,7 +22,7 @@ var PageHeaderComponent = class PageHeaderComponent {
|
|
|
22
22
|
});
|
|
23
23
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
24
24
|
minVersion: "17.1.0",
|
|
25
|
-
version: "22.2.
|
|
25
|
+
version: "22.2.3",
|
|
26
26
|
type: PageHeaderComponent,
|
|
27
27
|
isStandalone: true,
|
|
28
28
|
selector: "PageHeader",
|
|
@@ -47,7 +47,7 @@ var PageHeaderComponent = class PageHeaderComponent {
|
|
|
47
47
|
};
|
|
48
48
|
i0.ɵɵngDeclareClassMetadata({
|
|
49
49
|
minVersion: "12.0.0",
|
|
50
|
-
version: "22.2.
|
|
50
|
+
version: "22.2.3",
|
|
51
51
|
ngImport: i0,
|
|
52
52
|
type: PageHeaderComponent,
|
|
53
53
|
decorators: [{
|
|
@@ -78,7 +78,7 @@ var PageContentComponent = class PageContentComponent {
|
|
|
78
78
|
classes = computed(() => buildPageBodyClasses(this.resolvedScroll(), this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
79
79
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
80
80
|
minVersion: "12.0.0",
|
|
81
|
-
version: "22.2.
|
|
81
|
+
version: "22.2.3",
|
|
82
82
|
ngImport: i0,
|
|
83
83
|
type: PageContentComponent,
|
|
84
84
|
deps: [],
|
|
@@ -86,7 +86,7 @@ var PageContentComponent = class PageContentComponent {
|
|
|
86
86
|
});
|
|
87
87
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
88
88
|
minVersion: "17.1.0",
|
|
89
|
-
version: "22.2.
|
|
89
|
+
version: "22.2.3",
|
|
90
90
|
type: PageContentComponent,
|
|
91
91
|
isStandalone: true,
|
|
92
92
|
selector: "PageContent",
|
|
@@ -111,7 +111,7 @@ var PageContentComponent = class PageContentComponent {
|
|
|
111
111
|
};
|
|
112
112
|
i0.ɵɵngDeclareClassMetadata({
|
|
113
113
|
minVersion: "12.0.0",
|
|
114
|
-
version: "22.2.
|
|
114
|
+
version: "22.2.3",
|
|
115
115
|
ngImport: i0,
|
|
116
116
|
type: PageContentComponent,
|
|
117
117
|
decorators: [{
|
|
@@ -142,7 +142,7 @@ var PageDashboardComponent = class PageDashboardComponent {
|
|
|
142
142
|
classes = computed(() => buildPageBodyClasses(this.resolvedScroll(), this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
143
143
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
144
144
|
minVersion: "12.0.0",
|
|
145
|
-
version: "22.2.
|
|
145
|
+
version: "22.2.3",
|
|
146
146
|
ngImport: i0,
|
|
147
147
|
type: PageDashboardComponent,
|
|
148
148
|
deps: [],
|
|
@@ -150,7 +150,7 @@ var PageDashboardComponent = class PageDashboardComponent {
|
|
|
150
150
|
});
|
|
151
151
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
152
152
|
minVersion: "17.1.0",
|
|
153
|
-
version: "22.2.
|
|
153
|
+
version: "22.2.3",
|
|
154
154
|
type: PageDashboardComponent,
|
|
155
155
|
isStandalone: true,
|
|
156
156
|
selector: "PageDashboard",
|
|
@@ -172,7 +172,7 @@ var PageDashboardComponent = class PageDashboardComponent {
|
|
|
172
172
|
};
|
|
173
173
|
i0.ɵɵngDeclareClassMetadata({
|
|
174
174
|
minVersion: "12.0.0",
|
|
175
|
-
version: "22.2.
|
|
175
|
+
version: "22.2.3",
|
|
176
176
|
ngImport: i0,
|
|
177
177
|
type: PageDashboardComponent,
|
|
178
178
|
decorators: [{
|
|
@@ -202,7 +202,7 @@ var PageFooterComponent = class PageFooterComponent {
|
|
|
202
202
|
classes = computed(() => cn("block shrink-0 border-t border-[hsl(var(--border)/var(--section-border-opacity))] bg-background", this.class(), this.resolvedHeight() === "fix" && "h-12 overflow-hidden"), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
203
203
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
204
204
|
minVersion: "12.0.0",
|
|
205
|
-
version: "22.2.
|
|
205
|
+
version: "22.2.3",
|
|
206
206
|
ngImport: i0,
|
|
207
207
|
type: PageFooterComponent,
|
|
208
208
|
deps: [],
|
|
@@ -210,7 +210,7 @@ var PageFooterComponent = class PageFooterComponent {
|
|
|
210
210
|
});
|
|
211
211
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
212
212
|
minVersion: "17.1.0",
|
|
213
|
-
version: "22.2.
|
|
213
|
+
version: "22.2.3",
|
|
214
214
|
type: PageFooterComponent,
|
|
215
215
|
isStandalone: true,
|
|
216
216
|
selector: "PageFooter",
|
|
@@ -232,7 +232,7 @@ var PageFooterComponent = class PageFooterComponent {
|
|
|
232
232
|
};
|
|
233
233
|
i0.ɵɵngDeclareClassMetadata({
|
|
234
234
|
minVersion: "12.0.0",
|
|
235
|
-
version: "22.2.
|
|
235
|
+
version: "22.2.3",
|
|
236
236
|
ngImport: i0,
|
|
237
237
|
type: PageFooterComponent,
|
|
238
238
|
decorators: [{
|
|
@@ -207,7 +207,7 @@ var ShellService = class ShellService {
|
|
|
207
207
|
}
|
|
208
208
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
209
209
|
minVersion: "12.0.0",
|
|
210
|
-
version: "22.2.
|
|
210
|
+
version: "22.2.3",
|
|
211
211
|
ngImport: i0,
|
|
212
212
|
type: ShellService,
|
|
213
213
|
deps: [],
|
|
@@ -215,14 +215,14 @@ var ShellService = class ShellService {
|
|
|
215
215
|
});
|
|
216
216
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
217
217
|
minVersion: "22.0.0",
|
|
218
|
-
version: "22.2.
|
|
218
|
+
version: "22.2.3",
|
|
219
219
|
ngImport: i0,
|
|
220
220
|
type: ShellService
|
|
221
221
|
});
|
|
222
222
|
};
|
|
223
223
|
i0.ɵɵngDeclareClassMetadata({
|
|
224
224
|
minVersion: "12.0.0",
|
|
225
|
-
version: "22.2.
|
|
225
|
+
version: "22.2.3",
|
|
226
226
|
ngImport: i0,
|
|
227
227
|
type: ShellService,
|
|
228
228
|
decorators: [{ type: Service }],
|
|
@@ -3,6 +3,8 @@ import { Component, booleanAttribute, computed, inject, input } from "@angular/c
|
|
|
3
3
|
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
4
4
|
import { SHELL_WINDOW_BRIDGE, ShellService, ShellService as ShellService$1, WEB_SHELL_WINDOW_BRIDGE, createTauriShellWindowBridge, isTauriRuntime, provideShellWindowBridge, provideTauriShellWindowBridge } from "@ojiepermana/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 "@ojiepermana/angular/theme/shell/types";
|
|
6
|
+
import { LucideGrip } from "@lucide/angular";
|
|
7
|
+
import { provideIcons } from "@ojiepermana/angular/component/icon";
|
|
6
8
|
import { NavigationContainerComponent, NavigationFlyoutComponent, NavigationFooterComponent, NavigationHeaderComponent } from "@ojiepermana/angular/navigation";
|
|
7
9
|
import { NAVIGATION_ADAPTER } from "@ojiepermana/angular/navigation/core";
|
|
8
10
|
import { LayoutService } from "@ojiepermana/angular/theme/layout/services";
|
|
@@ -13,7 +15,7 @@ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
|
|
|
13
15
|
layout = inject(LayoutService, { optional: true });
|
|
14
16
|
identity = inject(LayoutIdentityService, { optional: true });
|
|
15
17
|
enabled = input(true, ...ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []);
|
|
16
|
-
icon = input("
|
|
18
|
+
icon = input("grip", ...ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []);
|
|
17
19
|
label = input("Open navigation", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
18
20
|
navigationId = `__shell-navigation-${shellNavigationFlyoutInstanceId += 1}`;
|
|
19
21
|
navigationSource = this.navigation.data(LAYOUT_DESKTOP_NAVIGATION_DATA_ID);
|
|
@@ -24,7 +26,7 @@ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
|
|
|
24
26
|
user = computed(() => this.identity?.user() ?? null, ...ngDevMode ? [{ debugName: "user" }] : /* istanbul ignore next */ []);
|
|
25
27
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
26
28
|
minVersion: "12.0.0",
|
|
27
|
-
version: "22.2.
|
|
29
|
+
version: "22.2.3",
|
|
28
30
|
ngImport: i0,
|
|
29
31
|
type: ShellNavigationFlyoutComponent,
|
|
30
32
|
deps: [],
|
|
@@ -32,7 +34,7 @@ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
|
|
|
32
34
|
});
|
|
33
35
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
34
36
|
minVersion: "17.0.0",
|
|
35
|
-
version: "22.2.
|
|
37
|
+
version: "22.2.3",
|
|
36
38
|
type: ShellNavigationFlyoutComponent,
|
|
37
39
|
isStandalone: true,
|
|
38
40
|
selector: "ShellNavigationFlyout",
|
|
@@ -64,6 +66,7 @@ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
|
|
|
64
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);",
|
|
65
67
|
classAttribute: "contents"
|
|
66
68
|
},
|
|
69
|
+
providers: [provideIcons(LucideGrip)],
|
|
67
70
|
ngImport: i0,
|
|
68
71
|
template: `
|
|
69
72
|
@if (showsFlyout()) {
|
|
@@ -174,13 +177,14 @@ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
|
|
|
174
177
|
};
|
|
175
178
|
i0.ɵɵngDeclareClassMetadata({
|
|
176
179
|
minVersion: "12.0.0",
|
|
177
|
-
version: "22.2.
|
|
180
|
+
version: "22.2.3",
|
|
178
181
|
ngImport: i0,
|
|
179
182
|
type: ShellNavigationFlyoutComponent,
|
|
180
183
|
decorators: [{
|
|
181
184
|
type: Component,
|
|
182
185
|
args: [{
|
|
183
186
|
selector: "ShellNavigationFlyout",
|
|
187
|
+
providers: [provideIcons(LucideGrip)],
|
|
184
188
|
imports: [
|
|
185
189
|
NavigationContainerComponent,
|
|
186
190
|
NavigationFlyoutComponent,
|
|
@@ -279,7 +283,7 @@ var ShellBarComponent = class ShellBarComponent {
|
|
|
279
283
|
restoreLabel = input("Restore window", ...ngDevMode ? [{ debugName: "restoreLabel" }] : /* istanbul ignore next */ []);
|
|
280
284
|
closeLabel = input("Close window", ...ngDevMode ? [{ debugName: "closeLabel" }] : /* istanbul ignore next */ []);
|
|
281
285
|
navigationFlyout = input(true, ...ngDevMode ? [{ debugName: "navigationFlyout" }] : /* istanbul ignore next */ []);
|
|
282
|
-
navigationFlyoutIcon = input("
|
|
286
|
+
navigationFlyoutIcon = input("grip", ...ngDevMode ? [{ debugName: "navigationFlyoutIcon" }] : /* istanbul ignore next */ []);
|
|
283
287
|
navigationFlyoutLabel = input("Open navigation", ...ngDevMode ? [{ debugName: "navigationFlyoutLabel" }] : /* istanbul ignore next */ []);
|
|
284
288
|
class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
|
|
285
289
|
maximizeToggleLabel = computed(() => this.shell.isMaximized() ? this.restoreLabel() : this.maximizeLabel(), ...ngDevMode ? [{ debugName: "maximizeToggleLabel" }] : /* istanbul ignore next */ []);
|
|
@@ -310,7 +314,7 @@ var ShellBarComponent = class ShellBarComponent {
|
|
|
310
314
|
}
|
|
311
315
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
312
316
|
minVersion: "12.0.0",
|
|
313
|
-
version: "22.2.
|
|
317
|
+
version: "22.2.3",
|
|
314
318
|
ngImport: i0,
|
|
315
319
|
type: ShellBarComponent,
|
|
316
320
|
deps: [],
|
|
@@ -318,7 +322,7 @@ var ShellBarComponent = class ShellBarComponent {
|
|
|
318
322
|
});
|
|
319
323
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
320
324
|
minVersion: "17.0.0",
|
|
321
|
-
version: "22.2.
|
|
325
|
+
version: "22.2.3",
|
|
322
326
|
type: ShellBarComponent,
|
|
323
327
|
isStandalone: true,
|
|
324
328
|
selector: "ShellBar",
|
|
@@ -615,7 +619,7 @@ var ShellBarComponent = class ShellBarComponent {
|
|
|
615
619
|
};
|
|
616
620
|
i0.ɵɵngDeclareClassMetadata({
|
|
617
621
|
minVersion: "12.0.0",
|
|
618
|
-
version: "22.2.
|
|
622
|
+
version: "22.2.3",
|
|
619
623
|
ngImport: i0,
|
|
620
624
|
type: ShellBarComponent,
|
|
621
625
|
decorators: [{
|
|
@@ -943,7 +947,7 @@ var ShellComponent = class ShellComponent {
|
|
|
943
947
|
...ngDevMode ? { debugName: "navigationFlyout" } : /* istanbul ignore next */ {},
|
|
944
948
|
transform: booleanAttribute
|
|
945
949
|
});
|
|
946
|
-
navigationFlyoutIcon = input("
|
|
950
|
+
navigationFlyoutIcon = input("grip", ...ngDevMode ? [{ debugName: "navigationFlyoutIcon" }] : /* istanbul ignore next */ []);
|
|
947
951
|
navigationFlyoutLabel = input("Open navigation", ...ngDevMode ? [{ debugName: "navigationFlyoutLabel" }] : /* istanbul ignore next */ []);
|
|
948
952
|
class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
|
|
949
953
|
resolvedMode = computed(() => this.mode() ?? this.shell.mode(), ...ngDevMode ? [{ debugName: "resolvedMode" }] : /* istanbul ignore next */ []);
|
|
@@ -954,7 +958,7 @@ var ShellComponent = class ShellComponent {
|
|
|
954
958
|
hostClasses = computed(() => cn("relative isolate flex h-dvh w-full min-w-0 flex-col overflow-hidden text-foreground", this.showsBar() && this.drag() && "shell-drag-region", this.resolvedColor() === "sync" || this.resolvedFrame() === "modern" ? "bg-[hsl(var(--shell-bar-background))]" : "bg-layout-canvas", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
955
959
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
956
960
|
minVersion: "12.0.0",
|
|
957
|
-
version: "22.2.
|
|
961
|
+
version: "22.2.3",
|
|
958
962
|
ngImport: i0,
|
|
959
963
|
type: ShellComponent,
|
|
960
964
|
deps: [],
|
|
@@ -962,7 +966,7 @@ var ShellComponent = class ShellComponent {
|
|
|
962
966
|
});
|
|
963
967
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
964
968
|
minVersion: "17.0.0",
|
|
965
|
-
version: "22.2.
|
|
969
|
+
version: "22.2.3",
|
|
966
970
|
type: ShellComponent,
|
|
967
971
|
isStandalone: true,
|
|
968
972
|
selector: "Shell",
|
|
@@ -1155,7 +1159,7 @@ var ShellComponent = class ShellComponent {
|
|
|
1155
1159
|
};
|
|
1156
1160
|
i0.ɵɵngDeclareClassMetadata({
|
|
1157
1161
|
minVersion: "12.0.0",
|
|
1158
|
-
version: "22.2.
|
|
1162
|
+
version: "22.2.3",
|
|
1159
1163
|
ngImport: i0,
|
|
1160
1164
|
type: ShellComponent,
|
|
1161
1165
|
decorators: [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DOCUMENT
|
|
1
|
+
import { DOCUMENT } from "@angular/common";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import { DestroyRef, InjectionToken,
|
|
3
|
+
import { DestroyRef, InjectionToken, Service, computed, effect, inject, makeEnvironmentProviders, provideEnvironmentInitializer, signal } from "@angular/core";
|
|
4
4
|
import { documentLocalStorage } from "@ojiepermana/angular/component/utils/core";
|
|
5
5
|
function persistedSignal(options) {
|
|
6
6
|
const documentRef = options.documentRef !== void 0 ? options.documentRef : inject(DOCUMENT, { optional: true });
|
|
@@ -374,7 +374,7 @@ var ThemeBrandService = class ThemeBrandService {
|
|
|
374
374
|
}
|
|
375
375
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
376
376
|
minVersion: "12.0.0",
|
|
377
|
-
version: "22.2.
|
|
377
|
+
version: "22.2.3",
|
|
378
378
|
ngImport: i0,
|
|
379
379
|
type: ThemeBrandService,
|
|
380
380
|
deps: [],
|
|
@@ -382,14 +382,14 @@ var ThemeBrandService = class ThemeBrandService {
|
|
|
382
382
|
});
|
|
383
383
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
384
384
|
minVersion: "22.0.0",
|
|
385
|
-
version: "22.2.
|
|
385
|
+
version: "22.2.3",
|
|
386
386
|
ngImport: i0,
|
|
387
387
|
type: ThemeBrandService
|
|
388
388
|
});
|
|
389
389
|
};
|
|
390
390
|
i0.ɵɵngDeclareClassMetadata({
|
|
391
391
|
minVersion: "12.0.0",
|
|
392
|
-
version: "22.2.
|
|
392
|
+
version: "22.2.3",
|
|
393
393
|
ngImport: i0,
|
|
394
394
|
type: ThemeBrandService,
|
|
395
395
|
decorators: [{ type: Service }],
|
|
@@ -419,7 +419,7 @@ var ThemeColorService = class ThemeColorService {
|
|
|
419
419
|
}
|
|
420
420
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
421
421
|
minVersion: "12.0.0",
|
|
422
|
-
version: "22.2.
|
|
422
|
+
version: "22.2.3",
|
|
423
423
|
ngImport: i0,
|
|
424
424
|
type: ThemeColorService,
|
|
425
425
|
deps: [],
|
|
@@ -427,14 +427,14 @@ var ThemeColorService = class ThemeColorService {
|
|
|
427
427
|
});
|
|
428
428
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
429
429
|
minVersion: "22.0.0",
|
|
430
|
-
version: "22.2.
|
|
430
|
+
version: "22.2.3",
|
|
431
431
|
ngImport: i0,
|
|
432
432
|
type: ThemeColorService
|
|
433
433
|
});
|
|
434
434
|
};
|
|
435
435
|
i0.ɵɵngDeclareClassMetadata({
|
|
436
436
|
minVersion: "12.0.0",
|
|
437
|
-
version: "22.2.
|
|
437
|
+
version: "22.2.3",
|
|
438
438
|
ngImport: i0,
|
|
439
439
|
type: ThemeColorService,
|
|
440
440
|
decorators: [{ type: Service }]
|
|
@@ -460,7 +460,7 @@ var ThemeModeService = class ThemeModeService {
|
|
|
460
460
|
}
|
|
461
461
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
462
462
|
minVersion: "12.0.0",
|
|
463
|
-
version: "22.2.
|
|
463
|
+
version: "22.2.3",
|
|
464
464
|
ngImport: i0,
|
|
465
465
|
type: ThemeModeService,
|
|
466
466
|
deps: [],
|
|
@@ -468,14 +468,14 @@ var ThemeModeService = class ThemeModeService {
|
|
|
468
468
|
});
|
|
469
469
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
470
470
|
minVersion: "22.0.0",
|
|
471
|
-
version: "22.2.
|
|
471
|
+
version: "22.2.3",
|
|
472
472
|
ngImport: i0,
|
|
473
473
|
type: ThemeModeService
|
|
474
474
|
});
|
|
475
475
|
};
|
|
476
476
|
i0.ɵɵngDeclareClassMetadata({
|
|
477
477
|
minVersion: "12.0.0",
|
|
478
|
-
version: "22.2.
|
|
478
|
+
version: "22.2.3",
|
|
479
479
|
ngImport: i0,
|
|
480
480
|
type: ThemeModeService,
|
|
481
481
|
decorators: [{ type: Service }]
|
|
@@ -503,7 +503,7 @@ var ThemeRadiusService = class ThemeRadiusService {
|
|
|
503
503
|
}
|
|
504
504
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
505
505
|
minVersion: "12.0.0",
|
|
506
|
-
version: "22.2.
|
|
506
|
+
version: "22.2.3",
|
|
507
507
|
ngImport: i0,
|
|
508
508
|
type: ThemeRadiusService,
|
|
509
509
|
deps: [],
|
|
@@ -511,14 +511,14 @@ var ThemeRadiusService = class ThemeRadiusService {
|
|
|
511
511
|
});
|
|
512
512
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
513
513
|
minVersion: "22.0.0",
|
|
514
|
-
version: "22.2.
|
|
514
|
+
version: "22.2.3",
|
|
515
515
|
ngImport: i0,
|
|
516
516
|
type: ThemeRadiusService
|
|
517
517
|
});
|
|
518
518
|
};
|
|
519
519
|
i0.ɵɵngDeclareClassMetadata({
|
|
520
520
|
minVersion: "12.0.0",
|
|
521
|
-
version: "22.2.
|
|
521
|
+
version: "22.2.3",
|
|
522
522
|
ngImport: i0,
|
|
523
523
|
type: ThemeRadiusService,
|
|
524
524
|
decorators: [{ type: Service }]
|
|
@@ -537,7 +537,7 @@ var ThemeSpaceService = class ThemeSpaceService {
|
|
|
537
537
|
}
|
|
538
538
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
539
539
|
minVersion: "12.0.0",
|
|
540
|
-
version: "22.2.
|
|
540
|
+
version: "22.2.3",
|
|
541
541
|
ngImport: i0,
|
|
542
542
|
type: ThemeSpaceService,
|
|
543
543
|
deps: [],
|
|
@@ -545,27 +545,23 @@ var ThemeSpaceService = class ThemeSpaceService {
|
|
|
545
545
|
});
|
|
546
546
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
547
547
|
minVersion: "22.0.0",
|
|
548
|
-
version: "22.2.
|
|
548
|
+
version: "22.2.3",
|
|
549
549
|
ngImport: i0,
|
|
550
550
|
type: ThemeSpaceService
|
|
551
551
|
});
|
|
552
552
|
};
|
|
553
553
|
i0.ɵɵngDeclareClassMetadata({
|
|
554
554
|
minVersion: "12.0.0",
|
|
555
|
-
version: "22.2.
|
|
555
|
+
version: "22.2.3",
|
|
556
556
|
ngImport: i0,
|
|
557
557
|
type: ThemeSpaceService,
|
|
558
558
|
decorators: [{ type: Service }]
|
|
559
559
|
});
|
|
560
|
-
const MATERIAL_SYMBOLS_FONT_ATTR = "data-icon-font";
|
|
561
|
-
const MATERIAL_SYMBOLS_FONT_ID = "material-symbols";
|
|
562
|
-
const MATERIAL_SYMBOLS_FONT_HREF = "https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&family=Material+Symbols+Sharp:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=block";
|
|
563
560
|
function provideUiTheme(options = {}) {
|
|
564
561
|
return makeEnvironmentProviders([{
|
|
565
562
|
provide: THEME_OPTIONS,
|
|
566
563
|
useValue: options
|
|
567
564
|
}, provideEnvironmentInitializer(() => {
|
|
568
|
-
if (options.icons?.materialSymbols === true) loadMaterialSymbolsStylesheet();
|
|
569
565
|
inject(ThemeModeService);
|
|
570
566
|
inject(ThemeColorService);
|
|
571
567
|
inject(ThemeBrandService);
|
|
@@ -573,16 +569,4 @@ function provideUiTheme(options = {}) {
|
|
|
573
569
|
inject(ThemeSpaceService);
|
|
574
570
|
})]);
|
|
575
571
|
}
|
|
576
|
-
function loadMaterialSymbolsStylesheet() {
|
|
577
|
-
const documentRef = inject(DOCUMENT, { optional: true });
|
|
578
|
-
const platformId = inject(PLATFORM_ID);
|
|
579
|
-
const head = documentRef?.head;
|
|
580
|
-
if (!isPlatformBrowser(platformId) || !head) return;
|
|
581
|
-
if (head.querySelector(`link[${MATERIAL_SYMBOLS_FONT_ATTR}="${MATERIAL_SYMBOLS_FONT_ID}"]`)) return;
|
|
582
|
-
const link = head.ownerDocument.createElement("link");
|
|
583
|
-
link.rel = "stylesheet";
|
|
584
|
-
link.href = MATERIAL_SYMBOLS_FONT_HREF;
|
|
585
|
-
link.setAttribute(MATERIAL_SYMBOLS_FONT_ATTR, MATERIAL_SYMBOLS_FONT_ID);
|
|
586
|
-
head.appendChild(link);
|
|
587
|
-
}
|
|
588
572
|
export { DEFAULT_THEME_COLOR, DEFAULT_THEME_MODE, DEFAULT_THEME_NEUTRAL, DEFAULT_THEME_RADIUS, DEFAULT_THEME_SPACE, RESOLVED_THEME_MODES, THEME_BRAND_STORAGE_KEY, THEME_COLORS, THEME_COLOR_STORAGE_KEY, THEME_MODES, THEME_MODE_STORAGE_KEY, THEME_NEUTRALS, THEME_NEUTRAL_STORAGE_KEY, THEME_OPTIONS, THEME_RADII, THEME_RADIUS_STORAGE_KEY, THEME_SPACES, THEME_SPACE_STORAGE_KEY, ThemeBrandService, ThemeColorService, ThemeModeService, ThemeRadiusService, ThemeSpaceService, htmlAttributeEffect, htmlStylePropertyEffect, isResolvedThemeMode, isThemeColor, isThemeMode, isThemeNeutral, isThemeRadius, isThemeSpace, normalizeThemeColor, normalizeThemeMode, normalizeThemeNeutral, normalizeThemeRadius, normalizeThemeSpace, persistedHtmlAttributeSignal, persistedSignal, prefersDarkSignal, provideUiTheme };
|