@edsis/angular 22.0.69 → 22.0.70
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.
|
@@ -33,8 +33,8 @@ class BlockShellNavigationAvatarComponent {
|
|
|
33
33
|
? 'size-11 shrink-0 text-sm font-semibold'
|
|
34
34
|
: 'inline-flex size-[calc(2.5rem*2/3)] shrink-0 items-center justify-center overflow-hidden bg-primary text-xs font-semibold text-primary-foreground', this.radiusClass()), /* @ts-ignore */
|
|
35
35
|
...(ngDevMode ? [{ debugName: "avatarClasses" }] : /* istanbul ignore next */ []));
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
37
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellNavigationAvatarComponent, isStandalone: true, selector: "block-shell-navigation-avatar", inputs: { initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: true, transformFunction: null }, photoUrl: { classPropertyName: "photoUrl", publicName: "photoUrl", isSignal: true, isRequired: false, transformFunction: null }, photoAlt: { classPropertyName: "photoAlt", publicName: "photoAlt", isSignal: true, isRequired: false, transformFunction: null }, radiusClass: { classPropertyName: "radiusClass", publicName: "radiusClass", isSignal: true, isRequired: false, transformFunction: null }, asButton: { classPropertyName: "asButton", publicName: "asButton", isSignal: true, isRequired: false, transformFunction: null }, buttonLabel: { classPropertyName: "buttonLabel", publicName: "buttonLabel", isSignal: true, isRequired: false, transformFunction: null }, showOnlineIndicator: { classPropertyName: "showOnlineIndicator", publicName: "showOnlineIndicator", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
38
38
|
<!-- size = tinggi logo header: kotak w-10 (2.5rem) dengan AspectRatio 3/2 -->
|
|
39
39
|
@if (asButton()) {
|
|
40
40
|
<button
|
|
@@ -72,7 +72,7 @@ class BlockShellNavigationAvatarComponent {
|
|
|
72
72
|
</ng-template>
|
|
73
73
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AvatarBadgeComponent, selector: "AvatarBadge", inputs: ["class"] }, { kind: "component", type: AvatarComponent, selector: "Avatar", inputs: ["size", "class"] }, { kind: "component", type: AvatarFallbackComponent, selector: "AvatarFallback", inputs: ["class"] }, { kind: "component", type: AvatarImageComponent, selector: "AvatarImage", inputs: ["src", "alt", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }] });
|
|
74
74
|
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationAvatarComponent, decorators: [{
|
|
76
76
|
type: Component,
|
|
77
77
|
args: [{
|
|
78
78
|
selector: 'block-shell-navigation-avatar',
|
|
@@ -138,8 +138,8 @@ class BlockShellNavigationMetaComponent {
|
|
|
138
138
|
...(ngDevMode ? [{ debugName: "subtitleClass" }] : /* istanbul ignore next */ []));
|
|
139
139
|
hideSubtitle = input(false, /* @ts-ignore */
|
|
140
140
|
...(ngDevMode ? [{ debugName: "hideSubtitle" }] : /* istanbul ignore next */ []));
|
|
141
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
142
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationMetaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
142
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellNavigationMetaComponent, isStandalone: true, selector: "block-shell-navigation-meta", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: true, transformFunction: null }, containerClass: { classPropertyName: "containerClass", publicName: "containerClass", isSignal: true, isRequired: false, transformFunction: null }, subtitleClass: { classPropertyName: "subtitleClass", publicName: "subtitleClass", isSignal: true, isRequired: false, transformFunction: null }, hideSubtitle: { classPropertyName: "hideSubtitle", publicName: "hideSubtitle", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
143
143
|
<div [class]="containerClass()">
|
|
144
144
|
<p class="truncate text-sm font-semibold tracking-tight text-foreground">{{ name() }}</p>
|
|
145
145
|
@if (!hideSubtitle()) {
|
|
@@ -148,7 +148,7 @@ class BlockShellNavigationMetaComponent {
|
|
|
148
148
|
</div>
|
|
149
149
|
`, isInline: true });
|
|
150
150
|
}
|
|
151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationMetaComponent, decorators: [{
|
|
152
152
|
type: Component,
|
|
153
153
|
args: [{
|
|
154
154
|
selector: 'block-shell-navigation-meta',
|
|
@@ -207,8 +207,8 @@ class BlockShellNavigationFooterComponent {
|
|
|
207
207
|
return ((words[0]?.[0] ?? '') + (words[1]?.[0] ?? words[0]?.[1] ?? '')).toUpperCase();
|
|
208
208
|
}, /* @ts-ignore */
|
|
209
209
|
...(ngDevMode ? [{ debugName: "resolvedInitials" }] : /* istanbul ignore next */ []));
|
|
210
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
211
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
210
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
211
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellNavigationFooterComponent, isStandalone: true, selector: "block-shell-navigation-footer", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: true, transformFunction: null }, initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: false, transformFunction: null }, photoUrl: { classPropertyName: "photoUrl", publicName: "photoUrl", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, desktopOnly: { classPropertyName: "desktopOnly", publicName: "desktopOnly", isSignal: true, isRequired: false, transformFunction: null }, avatarRadiusClass: { classPropertyName: "avatarRadiusClass", publicName: "avatarRadiusClass", isSignal: true, isRequired: false, transformFunction: null }, showMeta: { classPropertyName: "showMeta", publicName: "showMeta", isSignal: true, isRequired: false, transformFunction: null }, avatarButton: { classPropertyName: "avatarButton", publicName: "avatarButton", isSignal: true, isRequired: false, transformFunction: null }, avatarButtonLabel: { classPropertyName: "avatarButtonLabel", publicName: "avatarButtonLabel", isSignal: true, isRequired: false, transformFunction: null }, avatarOnline: { classPropertyName: "avatarOnline", publicName: "avatarOnline", isSignal: true, isRequired: false, transformFunction: null }, actionTemplate: { classPropertyName: "actionTemplate", publicName: "actionTemplate", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
212
212
|
@if (collapsible()) {
|
|
213
213
|
<div NavigationCollapseRoot class="flex w-full items-center gap-3">
|
|
214
214
|
<block-shell-navigation-avatar
|
|
@@ -259,7 +259,7 @@ class BlockShellNavigationFooterComponent {
|
|
|
259
259
|
}
|
|
260
260
|
`, isInline: true, dependencies: [{ kind: "directive", type: NavigationCollapseRootDirective, selector: "[NavigationCollapseRoot]" }, { kind: "directive", type: NavigationCollapseExpandedDirective, selector: "[NavigationCollapseExpanded]" }, { kind: "component", type: BlockShellNavigationAvatarComponent, selector: "block-shell-navigation-avatar", inputs: ["initials", "photoUrl", "photoAlt", "radiusClass", "asButton", "buttonLabel", "showOnlineIndicator"] }, { kind: "component", type: BlockShellNavigationMetaComponent, selector: "block-shell-navigation-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass", "hideSubtitle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
261
261
|
}
|
|
262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationFooterComponent, decorators: [{
|
|
263
263
|
type: Component,
|
|
264
264
|
args: [{
|
|
265
265
|
selector: 'block-shell-navigation-footer',
|
|
@@ -333,8 +333,8 @@ class BlockShellLogoComponent {
|
|
|
333
333
|
...(ngDevMode ? [{ debugName: "homePath" }] : /* istanbul ignore next */ []));
|
|
334
334
|
ariaLabel = input('Buka aplikasi', /* @ts-ignore */
|
|
335
335
|
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
336
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
337
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.
|
|
336
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellLogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
337
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.7", type: BlockShellLogoComponent, isStandalone: true, selector: "block-shell-logo", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
338
338
|
<div class="w-10 shrink-0">
|
|
339
339
|
<AspectRatio [ratio]="3 / 2" class="overflow-hidden rounded-none bg-primary">
|
|
340
340
|
<div
|
|
@@ -347,7 +347,7 @@ class BlockShellLogoComponent {
|
|
|
347
347
|
</div>
|
|
348
348
|
`, isInline: true, dependencies: [{ kind: "component", type: AspectRatioComponent, selector: "AspectRatio", inputs: ["ratio", "class"] }] });
|
|
349
349
|
}
|
|
350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellLogoComponent, decorators: [{
|
|
351
351
|
type: Component,
|
|
352
352
|
args: [{
|
|
353
353
|
selector: 'block-shell-logo',
|
|
@@ -475,8 +475,8 @@ class BlockShellNavigationHeaderComponent {
|
|
|
475
475
|
console.error('Gagal memindahkan window', error);
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
479
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
478
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
479
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellNavigationHeaderComponent, isStandalone: true, selector: "block-shell-navigation-header", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: true, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, collapsible: { classPropertyName: "collapsible", publicName: "collapsible", isSignal: true, isRequired: false, transformFunction: null }, titleOnly: { classPropertyName: "titleOnly", publicName: "titleOnly", isSignal: true, isRequired: false, transformFunction: null }, desktopControls: { classPropertyName: "desktopControls", publicName: "desktopControls", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
480
480
|
@if (desktopControls()) {
|
|
481
481
|
<div
|
|
482
482
|
data-block-shell-desktop-titlebar
|
|
@@ -559,7 +559,7 @@ class BlockShellNavigationHeaderComponent {
|
|
|
559
559
|
}
|
|
560
560
|
`, isInline: true, dependencies: [{ kind: "directive", type: NavigationCollapseRootDirective, selector: "[NavigationCollapseRoot]" }, { kind: "directive", type: NavigationCollapseExpandedDirective, selector: "[NavigationCollapseExpanded]" }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: BlockShellLogoComponent, selector: "block-shell-logo", inputs: ["text", "homePath", "ariaLabel"] }, { kind: "component", type: BlockShellNavigationMetaComponent, selector: "block-shell-navigation-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass", "hideSubtitle"] }] });
|
|
561
561
|
}
|
|
562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationHeaderComponent, decorators: [{
|
|
563
563
|
type: Component,
|
|
564
564
|
args: [{
|
|
565
565
|
selector: 'block-shell-navigation-header',
|
|
@@ -737,8 +737,8 @@ class BlockShellSidebarNavigationComponent {
|
|
|
737
737
|
readResponsiveCollapsed() {
|
|
738
738
|
return this.documentRef.defaultView?.matchMedia('(max-width: 767.98px)').matches ?? false;
|
|
739
739
|
}
|
|
740
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
741
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
740
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellSidebarNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
741
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellSidebarNavigationComponent, isStandalone: true, selector: "block-shell-sidebar-navigation", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, userPhotoUrl: { classPropertyName: "userPhotoUrl", publicName: "userPhotoUrl", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, footerActionTemplate: { classPropertyName: "footerActionTemplate", publicName: "footerActionTemplate", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
742
742
|
<Navigation
|
|
743
743
|
id="main"
|
|
744
744
|
[data]="navigation()"
|
|
@@ -838,7 +838,7 @@ class BlockShellSidebarNavigationComponent {
|
|
|
838
838
|
</Navigation>
|
|
839
839
|
`, isInline: true, dependencies: [{ kind: "component", type: NavigationContainerComponent, selector: "Navigation", inputs: ["id", "data", "items", "ariaLabel", "compact", "collapse-tree", "class", "itemClass", "nav-group-class", "activeIds", "activeUrl", "openedIds"], outputs: ["openedIdsChange", "itemSelected"] }, { kind: "component", type: NavigationSidebarComponent, selector: "NavigationSidebar", inputs: ["position", "collapsed", "nav-sidebar-collapse", "previewExpanded", "class"] }, { kind: "component", type: NavigationDockbarComponent, selector: "NavigationDockbar", inputs: ["mode", "position", "typeStyle", "nav-type-style", "class"] }, { kind: "component", type: NavigationHeaderComponent, selector: "NavigationHeader", inputs: ["toggle", "navigation-history", "class"] }, { kind: "component", type: NavigationFooterComponent, selector: "NavigationFooter", inputs: ["class", "borderless"] }, { kind: "directive", type: NavigationAsideFooterDirective, selector: "ng-template[NavigationAsideFooter]" }, { kind: "directive", type: NavigationAsideHeaderDirective, selector: "ng-template[NavigationAsideHeader]" }, { kind: "component", type: BlockShellNavigationHeaderComponent, selector: "block-shell-navigation-header", inputs: ["name", "subtitle", "logoText", "homePath", "collapsible", "titleOnly", "desktopControls"] }, { kind: "component", type: BlockShellNavigationFooterComponent, selector: "block-shell-navigation-footer", inputs: ["name", "subtitle", "initials", "photoUrl", "collapsible", "desktopOnly", "avatarRadiusClass", "showMeta", "avatarButton", "avatarButtonLabel", "avatarOnline", "actionTemplate"] }, { kind: "component", type: BlockShellNavigationMetaComponent, selector: "block-shell-navigation-meta", inputs: ["name", "subtitle", "containerClass", "subtitleClass", "hideSubtitle"] }, { kind: "component", type: BlockShellNavigationAvatarComponent, selector: "block-shell-navigation-avatar", inputs: ["initials", "photoUrl", "photoAlt", "radiusClass", "asButton", "buttonLabel", "showOnlineIndicator"] }, { kind: "component", type: BlockShellLogoComponent, selector: "block-shell-logo", inputs: ["text", "homePath", "ariaLabel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
840
840
|
}
|
|
841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellSidebarNavigationComponent, decorators: [{
|
|
842
842
|
type: Component,
|
|
843
843
|
args: [{
|
|
844
844
|
selector: 'block-shell-sidebar-navigation',
|
|
@@ -1027,8 +1027,8 @@ class BlockShellTopNavigationComponent {
|
|
|
1027
1027
|
...(ngDevMode ? [{ debugName: "desktopAvatarRadiusClass" }] : /* istanbul ignore next */ []));
|
|
1028
1028
|
desktopAvatarButtonLabel = computed(() => `User menu: ${this.userName()}`, /* @ts-ignore */
|
|
1029
1029
|
...(ngDevMode ? [{ debugName: "desktopAvatarButtonLabel" }] : /* istanbul ignore next */ []));
|
|
1030
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1031
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1030
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellTopNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1031
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellTopNavigationComponent, isStandalone: true, selector: "block-shell-top-navigation", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, userPhotoUrl: { classPropertyName: "userPhotoUrl", publicName: "userPhotoUrl", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, flyoutLabel: { classPropertyName: "flyoutLabel", publicName: "flyoutLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
1032
1032
|
<Navigation
|
|
1033
1033
|
id="main"
|
|
1034
1034
|
[data]="navigation()"
|
|
@@ -1102,7 +1102,7 @@ class BlockShellTopNavigationComponent {
|
|
|
1102
1102
|
</Navigation>
|
|
1103
1103
|
`, isInline: true, dependencies: [{ kind: "component", type: NavigationContainerComponent, selector: "Navigation", inputs: ["id", "data", "items", "ariaLabel", "compact", "collapse-tree", "class", "itemClass", "nav-group-class", "activeIds", "activeUrl", "openedIds"], outputs: ["openedIdsChange", "itemSelected"] }, { kind: "component", type: NavigationContentComponent, selector: "NavigationContent", inputs: ["class"] }, { kind: "component", type: NavigationNavbarComponent, selector: "NavigationNavbar", inputs: ["nav-position", "nav-type-style", "class"] }, { kind: "component", type: NavigationFlyoutComponent, selector: "NavigationFlyout", inputs: ["label", "icon", "icon-only", "icon-position", "trigger-radius-class", "trigger-size-class", "trigger-borderless", "trigger-backgroundless", "icon-size", "nav-position", "nav-type-style", "class"] }, { kind: "component", type: NavigationHeaderComponent, selector: "NavigationHeader", inputs: ["toggle", "navigation-history", "class"] }, { kind: "component", type: NavigationFooterComponent, selector: "NavigationFooter", inputs: ["class", "borderless"] }, { kind: "component", type: BlockShellNavigationHeaderComponent, selector: "block-shell-navigation-header", inputs: ["name", "subtitle", "logoText", "homePath", "collapsible", "titleOnly", "desktopControls"] }, { kind: "component", type: BlockShellNavigationFooterComponent, selector: "block-shell-navigation-footer", inputs: ["name", "subtitle", "initials", "photoUrl", "collapsible", "desktopOnly", "avatarRadiusClass", "showMeta", "avatarButton", "avatarButtonLabel", "avatarOnline", "actionTemplate"] }] });
|
|
1104
1104
|
}
|
|
1105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellTopNavigationComponent, decorators: [{
|
|
1106
1106
|
type: Component,
|
|
1107
1107
|
args: [{
|
|
1108
1108
|
selector: 'block-shell-top-navigation',
|
|
@@ -1197,20 +1197,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1197
1197
|
|
|
1198
1198
|
class BlockShellNavigationPanelDirective {
|
|
1199
1199
|
templateRef = inject((TemplateRef));
|
|
1200
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1201
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
1200
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationPanelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1201
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: BlockShellNavigationPanelDirective, isStandalone: true, selector: "ng-template[blockShellNavigationPanel]", ngImport: i0 });
|
|
1202
1202
|
}
|
|
1203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationPanelDirective, decorators: [{
|
|
1204
1204
|
type: Directive,
|
|
1205
1205
|
args: [{ selector: 'ng-template[blockShellNavigationPanel]' }]
|
|
1206
1206
|
}] });
|
|
1207
1207
|
|
|
1208
1208
|
class BlockShellNavigationFooterActionDirective {
|
|
1209
1209
|
templateRef = inject((TemplateRef));
|
|
1210
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1211
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
1210
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationFooterActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1211
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: BlockShellNavigationFooterActionDirective, isStandalone: true, selector: "ng-template[blockShellNavigationFooterAction]", ngImport: i0 });
|
|
1212
1212
|
}
|
|
1213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellNavigationFooterActionDirective, decorators: [{
|
|
1214
1214
|
type: Directive,
|
|
1215
1215
|
args: [{ selector: 'ng-template[blockShellNavigationFooterAction]' }]
|
|
1216
1216
|
}] });
|
|
@@ -1257,8 +1257,8 @@ class BlockShellComponent {
|
|
|
1257
1257
|
...(ngDevMode ? [{ debugName: "footerAction" }] : /* istanbul ignore next */ []));
|
|
1258
1258
|
navigationPanelActive = computed(() => this.layout.type() === 'vertical' && this.navigationPanelOpen() && !!this.navigationPanel(), /* @ts-ignore */
|
|
1259
1259
|
...(ngDevMode ? [{ debugName: "navigationPanelActive" }] : /* istanbul ignore next */ []));
|
|
1260
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1261
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1260
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1261
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: BlockShellComponent, isStandalone: true, selector: "block-shell", inputs: { navigation: { classPropertyName: "navigation", publicName: "navigation", isSignal: true, isRequired: true, transformFunction: null }, navbarId: { classPropertyName: "navbarId", publicName: "navbarId", isSignal: true, isRequired: false, transformFunction: null }, sidebarNavId: { classPropertyName: "sidebarNavId", publicName: "sidebarNavId", isSignal: true, isRequired: false, transformFunction: null }, shellName: { classPropertyName: "shellName", publicName: "shellName", isSignal: true, isRequired: true, transformFunction: null }, brandSubtitle: { classPropertyName: "brandSubtitle", publicName: "brandSubtitle", isSignal: true, isRequired: false, transformFunction: null }, logoText: { classPropertyName: "logoText", publicName: "logoText", isSignal: true, isRequired: false, transformFunction: null }, homePath: { classPropertyName: "homePath", publicName: "homePath", isSignal: true, isRequired: false, transformFunction: null }, userName: { classPropertyName: "userName", publicName: "userName", isSignal: true, isRequired: true, transformFunction: null }, userPosition: { classPropertyName: "userPosition", publicName: "userPosition", isSignal: true, isRequired: true, transformFunction: null }, userPhotoUrl: { classPropertyName: "userPhotoUrl", publicName: "userPhotoUrl", isSignal: true, isRequired: false, transformFunction: null }, topAriaLabel: { classPropertyName: "topAriaLabel", publicName: "topAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, sideAriaLabel: { classPropertyName: "sideAriaLabel", publicName: "sideAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, contentAriaLabel: { classPropertyName: "contentAriaLabel", publicName: "contentAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, navigationPanelOpen: { classPropertyName: "navigationPanelOpen", publicName: "navigationPanelOpen", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "contents" }, queries: [{ propertyName: "navigationPanel", first: true, predicate: BlockShellNavigationPanelDirective, descendants: true, isSignal: true }, { propertyName: "footerAction", first: true, predicate: BlockShellNavigationFooterActionDirective, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
1262
1262
|
<Layout>
|
|
1263
1263
|
@switch (layout.type()) {
|
|
1264
1264
|
@case ('horizontal') {
|
|
@@ -1340,7 +1340,7 @@ class BlockShellComponent {
|
|
|
1340
1340
|
</Layout>
|
|
1341
1341
|
`, isInline: true, dependencies: [{ kind: "component", type: LayoutComponent, selector: "Layout", inputs: ["surface", "appearance", "layout-style", "width", "class"] }, { kind: "component", type: LayoutVerticalComponent, selector: "LayoutVertical", inputs: ["class"] }, { kind: "component", type: LayoutHorizontalComponent, selector: "LayoutHorizontal", inputs: ["class"] }, { kind: "component", type: LayoutEmptyComponent, selector: "LayoutEmpty", inputs: ["class"] }, { kind: "component", type: LayoutNavigationComponent, selector: "LayoutNavigation", inputs: ["landmarkRole", "ariaLabel", "railOffset", "class"] }, { kind: "component", type: LayoutContentComponent, selector: "LayoutContent", inputs: ["class"] }, { kind: "component", type: BlockShellSidebarNavigationComponent, selector: "block-shell-sidebar-navigation", inputs: ["navigation", "shellName", "brandSubtitle", "logoText", "homePath", "userName", "userPosition", "userPhotoUrl", "ariaLabel", "footerActionTemplate", "type"] }, { kind: "component", type: BlockShellTopNavigationComponent, selector: "block-shell-top-navigation", inputs: ["navigation", "shellName", "brandSubtitle", "logoText", "homePath", "userName", "userPosition", "userPhotoUrl", "ariaLabel", "type", "flyoutLabel"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
1342
1342
|
}
|
|
1343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: BlockShellComponent, decorators: [{
|
|
1344
1344
|
type: Component,
|
|
1345
1345
|
args: [{
|
|
1346
1346
|
selector: 'block-shell',
|
|
@@ -30,7 +30,12 @@ class ThemeStylePresetService {
|
|
|
30
30
|
navigation = inject(NavigationService);
|
|
31
31
|
constructor() {
|
|
32
32
|
let previousStyle = this.themeStyle.style();
|
|
33
|
-
this.
|
|
33
|
+
if (this.themeStyle.hasStoredStyle()) {
|
|
34
|
+
this.enforceLockedValues(previousStyle);
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
this.applyPreset(previousStyle);
|
|
38
|
+
}
|
|
34
39
|
effect(() => {
|
|
35
40
|
const style = this.themeStyle.style();
|
|
36
41
|
if (style === previousStyle)
|
|
@@ -218,10 +223,10 @@ class ThemeStylePresetService {
|
|
|
218
223
|
defaultNavigationDockbarMode() {
|
|
219
224
|
return this.config?.defaults?.navigation.dockbarMode ?? 'default';
|
|
220
225
|
}
|
|
221
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
222
|
-
static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.
|
|
226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: ThemeStylePresetService, deps: [], target: i0.ɵɵFactoryTarget.Service });
|
|
227
|
+
static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.7", ngImport: i0, type: ThemeStylePresetService });
|
|
223
228
|
}
|
|
224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: ThemeStylePresetService, decorators: [{
|
|
225
230
|
type: Service
|
|
226
231
|
}], ctorParameters: () => [] });
|
|
227
232
|
function isNavigationType(value) {
|
|
@@ -335,10 +340,10 @@ class AppPreferencesPanelService {
|
|
|
335
340
|
const view = this.document?.defaultView;
|
|
336
341
|
return !view || element.getClientRects().length > 0;
|
|
337
342
|
}
|
|
338
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
339
|
-
static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.
|
|
343
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AppPreferencesPanelService, deps: [], target: i0.ɵɵFactoryTarget.Service });
|
|
344
|
+
static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.0.7", ngImport: i0, type: AppPreferencesPanelService });
|
|
340
345
|
}
|
|
341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AppPreferencesPanelService, decorators: [{
|
|
342
347
|
type: Service
|
|
343
348
|
}], ctorParameters: () => [] });
|
|
344
349
|
|
|
@@ -363,8 +368,8 @@ class AppPreferenceSettingGroupComponent {
|
|
|
363
368
|
this.optionSelected.emit(value);
|
|
364
369
|
}
|
|
365
370
|
}
|
|
366
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
367
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
371
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AppPreferenceSettingGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
372
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: AppPreferenceSettingGroupComponent, isStandalone: true, selector: "app-preference-setting-group", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, activeLabel: { classPropertyName: "activeLabel", publicName: "activeLabel", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: true, transformFunction: null }, headingId: { classPropertyName: "headingId", publicName: "headingId", isSignal: true, isRequired: true, transformFunction: null }, locked: { classPropertyName: "locked", publicName: "locked", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { optionSelected: "optionSelected" }, ngImport: i0, template: `
|
|
368
373
|
<section class="border-b border-border/65 px-3 py-2.5 last:border-b-0">
|
|
369
374
|
<div class="flex items-start justify-between gap-3">
|
|
370
375
|
<div class="min-w-0">
|
|
@@ -410,7 +415,7 @@ class AppPreferenceSettingGroupComponent {
|
|
|
410
415
|
</section>
|
|
411
416
|
`, isInline: true, dependencies: [{ kind: "component", type: IconComponent, selector: "Icon", inputs: ["name", "class", "size", "fill", "weight", "grade", "opticalSize"] }, { kind: "component", type: ToggleGroupComponent, selector: "ToggleGroup", inputs: ["type", "value", "values", "orientation", "variant", "size", "spacing", "loop", "disabled", "dir", "class"], outputs: ["valueChange", "valuesChange"] }, { kind: "directive", type: ToggleGroupItemDirective, selector: "button[ToggleGroupItem]", inputs: ["value", "disabled", "class"] }, { kind: "directive", type: TooltipDirective, selector: "[Tooltip]", inputs: ["Tooltip", "TooltipPosition", "TooltipDisabled", "TooltipShowDelay", "TooltipHideDelay"], exportAs: ["Tooltip"] }] });
|
|
412
417
|
}
|
|
413
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AppPreferenceSettingGroupComponent, decorators: [{
|
|
414
419
|
type: Component,
|
|
415
420
|
args: [{
|
|
416
421
|
selector: 'app-preference-setting-group',
|
|
@@ -805,10 +810,10 @@ class AppPreferencesSurfaceComponent {
|
|
|
805
810
|
isLayoutTypeLocked() {
|
|
806
811
|
return this.isLocked('layout-type') || this.isLocked('nav-orientation');
|
|
807
812
|
}
|
|
808
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
809
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
813
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AppPreferencesSurfaceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
814
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: AppPreferencesSurfaceComponent, isStandalone: true, selector: "app-preferences-surface", outputs: { closeRequested: "closeRequested" }, host: { classAttribute: "block h-full min-h-0 w-full" }, ngImport: i0, template: "<Page variant=\"stacked\" height=\"fix\" scroll=\"content\" class=\"bg-background\">\n <PageHeader class=\"h-11 px-3 py-0\">\n <div class=\"flex h-full items-center justify-between gap-3\">\n <h2\n id=\"app-preferences-title\"\n class=\"min-w-0 truncate text-base font-semibold text-foreground\"\n >\n Preferensi aplikasi\n </h2>\n <button\n type=\"button\"\n Button\n variant=\"ghost\"\n size=\"icon\"\n class=\"h-11 w-11 shrink-0\"\n data-app-preferences-close\n aria-label=\"Tutup preferensi aplikasi\"\n (click)=\"closeRequested.emit()\"\n >\n <Icon name=\"close\" [size]=\"20\" />\n </button>\n </div>\n </PageHeader>\n\n <PageContent class=\"overscroll-contain bg-muted/20\">\n <div class=\"space-y-5 p-3\">\n <p class=\"text-xs leading-4 text-muted-foreground\">\n Sesuaikan tampilan dan navigasi aplikasi.\n </p>\n\n <section aria-labelledby=\"app-preferences-theme\" class=\"space-y-2\">\n <h2\n id=\"app-preferences-theme\"\n class=\"text-xs font-semibold tracking-wide text-muted-foreground\"\n >\n Tema\n </h2>\n <app-preference-setting-group\n headingId=\"app-preferences-style\"\n title=\"Gaya tema\"\n [activeLabel]=\"styleOptions.find((option) => option.value === style())?.label ?? style()\"\n [options]=\"styleOptions\"\n [selected]=\"style()\"\n (optionSelected)=\"selectStyle($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-mode\"\n title=\"Mode warna\"\n description=\"Sistem mengikuti preferensi perangkat.\"\n [activeLabel]=\"modeOptions.find((option) => option.value === mode())?.label ?? mode()\"\n [options]=\"modeOptions\"\n [selected]=\"mode()\"\n [locked]=\"isLocked('theme-mode')\"\n (optionSelected)=\"selectMode($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-color\"\n title=\"Warna tema\"\n [activeLabel]=\"colorOptions.find((option) => option.value === color())?.label ?? color()\"\n [options]=\"colorOptions\"\n [selected]=\"color()\"\n [locked]=\"isLocked('theme-color')\"\n (optionSelected)=\"selectColor($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-brand\"\n title=\"Brand\"\n [activeLabel]=\"brandOptions.find((option) => option.value === brand())?.label ?? brand()\"\n [options]=\"brandOptions\"\n [selected]=\"brand()\"\n [locked]=\"isLocked('theme-brand')\"\n (optionSelected)=\"selectBrand($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-space\"\n title=\"Kerapatan\"\n [activeLabel]=\"spaceOptions.find((option) => option.value === space())?.label ?? space()\"\n [options]=\"spaceOptions\"\n [selected]=\"space()\"\n [locked]=\"isLocked('theme-space')\"\n (optionSelected)=\"selectSpace($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-radius\"\n title=\"Sudut\"\n [activeLabel]=\"\n radiusOptions.find((option) => option.value === radius())?.label ?? radius()\n \"\n [options]=\"radiusOptions\"\n [selected]=\"radius()\"\n [locked]=\"isLocked('theme-radius')\"\n (optionSelected)=\"selectRadius($event)\"\n />\n </section>\n\n <section aria-labelledby=\"app-preferences-layout\" class=\"space-y-2\">\n <h2\n id=\"app-preferences-layout\"\n class=\"text-xs font-semibold tracking-wide text-muted-foreground\"\n >\n Layout\n </h2>\n <app-preference-setting-group\n headingId=\"app-preferences-appearance\"\n title=\"Bingkai\"\n [activeLabel]=\"\n appearanceOptions.find((option) => option.value === appearance())?.label ?? appearance()\n \"\n [options]=\"appearanceOptions\"\n [selected]=\"appearance()\"\n [locked]=\"isLocked('layout-appearance')\"\n (optionSelected)=\"selectAppearance($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-surface\"\n title=\"Latar\"\n [activeLabel]=\"\n surfaceOptions.find((option) => option.value === surface())?.label ?? surface()\n \"\n [options]=\"surfaceOptions\"\n [selected]=\"surface()\"\n [locked]=\"isLocked('layout-surface')\"\n (optionSelected)=\"selectSurface($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-layout-type\"\n title=\"Tipe layout\"\n [activeLabel]=\"\n layoutTypeOptions.find((option) => option.value === layoutType())?.label ?? layoutType()\n \"\n [options]=\"layoutTypeOptions\"\n [selected]=\"layoutType()\"\n [locked]=\"isLayoutTypeLocked()\"\n (optionSelected)=\"selectLayoutType($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-width\"\n title=\"Lebar konten\"\n [activeLabel]=\"widthOptions.find((option) => option.value === width())?.label ?? width()\"\n [options]=\"widthOptions\"\n [selected]=\"width()\"\n [locked]=\"isLocked('layout-width')\"\n (optionSelected)=\"selectWidth($event)\"\n />\n </section>\n\n <section aria-labelledby=\"app-preferences-navigation\" class=\"space-y-2\">\n <h2\n id=\"app-preferences-navigation\"\n class=\"text-xs font-semibold tracking-wide text-muted-foreground\"\n >\n Navigasi\n </h2>\n <app-preference-setting-group\n headingId=\"app-preferences-navigation-type\"\n title=\"Tipe navigation\"\n [activeLabel]=\"navigationTypeLabel()\"\n [options]=\"navigationTypeOptions()\"\n [selected]=\"navigationState().type\"\n [locked]=\"isLocked('nav-type')\"\n (optionSelected)=\"selectNavigationType($event)\"\n />\n @if (navigationState().orientation === 'vertical') {\n <app-preference-setting-group\n headingId=\"app-preferences-navigation-mode\"\n title=\"Mode navigation\"\n [activeLabel]=\"navigationModeLabel()\"\n [options]=\"navigationModeOptions()\"\n [selected]=\"navigationMode()\"\n [locked]=\"isLocked('nav-type-mode')\"\n (optionSelected)=\"selectNavigationMode($event)\"\n />\n }\n <app-preference-setting-group\n headingId=\"app-preferences-navigation-position\"\n title=\"Posisi navigation\"\n [activeLabel]=\"navigationPositionLabel()\"\n [options]=\"navigationPositionOptions()\"\n [selected]=\"navigationState().position\"\n [locked]=\"isLocked('nav-position')\"\n (optionSelected)=\"selectNavigationPosition($event)\"\n />\n </section>\n </div>\n </PageContent>\n\n @if (hasDefaults()) {\n <PageFooter class=\"px-3 py-0\">\n <button\n type=\"button\"\n Button\n variant=\"ghost\"\n class=\"h-full w-full justify-start\"\n (click)=\"resetToDefaults()\"\n >\n <Icon name=\"restart_alt\" [size]=\"18\" />\n Kembalikan default\n </button>\n </PageFooter>\n }\n\n <p class=\"sr-only\" aria-live=\"polite\" aria-atomic=\"true\">{{ announcement() }}</p>\n</Page>\n", dependencies: [{ kind: "component", type: AppPreferenceSettingGroupComponent, selector: "app-preference-setting-group", inputs: ["title", "description", "activeLabel", "options", "selected", "headingId", "locked"], outputs: ["optionSelected"] }, { kind: "component", type: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: IconComponent, selector: "Icon", inputs: ["name", "class", "size", "fill", "weight", "grade", "opticalSize"] }, { kind: "component", type: PageComponent, selector: "Page", inputs: ["variant", "height", "scroll", "position", "sideMode", "sideOpen", "sideWidth", "page-appearance", "class"], outputs: ["sideOpenChange"] }, { kind: "component", type: PageContentComponent, selector: "PageContent", inputs: ["class"] }, { kind: "component", type: PageFooterComponent, selector: "PageFooter", inputs: ["class"] }, { kind: "component", type: PageHeaderComponent, selector: "PageHeader", inputs: ["class"] }] });
|
|
810
815
|
}
|
|
811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AppPreferencesSurfaceComponent, decorators: [{
|
|
812
817
|
type: Component,
|
|
813
818
|
args: [{ selector: 'app-preferences-surface', imports: [
|
|
814
819
|
AppPreferenceSettingGroupComponent,
|
|
@@ -886,8 +891,8 @@ class AppPreferencesComponent {
|
|
|
886
891
|
mediaQuery() {
|
|
887
892
|
return this.document?.defaultView?.matchMedia?.(NARROW_VIEWPORT_QUERY) ?? null;
|
|
888
893
|
}
|
|
889
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
890
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
894
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AppPreferencesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
895
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: AppPreferencesComponent, isStandalone: true, selector: "app-preferences", host: { properties: { "class": "hostClass()", "attr.role": "inline() ? \"region\" : null", "attr.aria-labelledby": "inline() ? \"app-preferences-title\" : null" } }, ngImport: i0, template: `
|
|
891
896
|
@if (inline()) {
|
|
892
897
|
<section
|
|
893
898
|
id="app-preferences-panel"
|
|
@@ -914,7 +919,7 @@ class AppPreferencesComponent {
|
|
|
914
919
|
}
|
|
915
920
|
`, isInline: true, dependencies: [{ kind: "component", type: AppPreferencesSurfaceComponent, selector: "app-preferences-surface", outputs: ["closeRequested"] }, { kind: "component", type: SheetComponent, selector: "Sheet, Drawer", inputs: ["open", "side", "variant", "closeOnEscape", "closeOnBackdropClick", "showCloseButton", "restoreFocus", "closeButtonLabel", "aria-labelledby", "aria-describedby", "class"], outputs: ["openChange", "openedChange"] }] });
|
|
916
921
|
}
|
|
917
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AppPreferencesComponent, decorators: [{
|
|
918
923
|
type: Component,
|
|
919
924
|
args: [{
|
|
920
925
|
selector: 'app-preferences',
|
|
@@ -963,10 +968,10 @@ class AppPreferencesTriggerDirective {
|
|
|
963
968
|
event.preventDefault();
|
|
964
969
|
}
|
|
965
970
|
}
|
|
966
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
967
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.
|
|
971
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AppPreferencesTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
972
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: AppPreferencesTriggerDirective, isStandalone: true, selector: "[appPreferencesTrigger]", host: { listeners: { "click": "onClick($event)" }, properties: { "attr.aria-expanded": "preferences.opened()", "attr.aria-controls": "preferences.opened() ? \"app-preferences-panel\" : null", "attr.aria-disabled": "isButton() && !preferences.supported() ? \"true\" : null", "attr.disabled": "isButton() && !preferences.supported() ? \"\" : null" } }, ngImport: i0 });
|
|
968
973
|
}
|
|
969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AppPreferencesTriggerDirective, decorators: [{
|
|
970
975
|
type: Directive,
|
|
971
976
|
args: [{
|
|
972
977
|
selector: '[appPreferencesTrigger]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edsis-angular-block-themes.mjs","sources":["../../../library/angular/block/themes/theme-style-preset.service.ts","../../../library/angular/block/themes/app-preferences.config.ts","../../../library/angular/block/themes/app-preferences-panel.service.ts","../../../library/angular/block/themes/app-preference-setting-group.component.ts","../../../library/angular/block/themes/app-preferences-surface.component.ts","../../../library/angular/block/themes/app-preferences-surface.component.html","../../../library/angular/block/themes/app-preferences.component.ts","../../../library/angular/block/themes/app-preferences-trigger.directive.ts","../../../library/angular/block/themes/edsis-angular-block-themes.ts"],"sourcesContent":["import { effect, inject, Service } from '@angular/core';\nimport {\n NavigationService,\n type NavigationDockbarMode,\n type NavigationOrientation,\n type NavigationPosition,\n type NavigationState,\n type NavigationType,\n} from '@edsis/navigation/service';\nimport {\n LayoutService,\n isUiLayoutSurface,\n isUiLayoutStyle,\n isUiLayoutType,\n isUiLayoutWidth,\n} from '@edsis/theme/layout';\nimport {\n DEFAULT_THEME_BRAND,\n DEFAULT_THEME_COLOR,\n DEFAULT_THEME_MODE,\n ThemeBrandService,\n ThemeColorService,\n ThemeModeService,\n ThemeRadiusService,\n ThemeSpaceService,\n ThemeStyleService,\n isThemeBrand,\n isThemeColor,\n isThemeMode,\n isThemeRadius,\n isThemeSpace,\n themeStylePresetEntry,\n type ThemeStyle,\n} from '@edsis/theme/styles';\nimport {\n LAYOUT_DEFAULT_SURFACE,\n LAYOUT_DEFAULT_STYLE,\n LAYOUT_DEFAULT_TYPE,\n LAYOUT_DEFAULT_WIDTH,\n} from '@edsis/theme/layout/types';\n\nimport { APP_PREFERENCES_CONFIG } from './app-preferences.config';\n\nconst PRIMARY_NAVIGATION_ID = 'main';\nconst NAVIGATION_TYPES = ['sidebar', 'dockbar', 'navbar', 'flyout'] as const;\nconst NAVIGATION_ORIENTATIONS = ['vertical', 'horizontal'] as const;\nconst NAVIGATION_POSITIONS = ['left', 'right', 'top', 'bottom'] as const;\nconst NAVIGATION_DOCKBAR_MODES = ['default', 'drawer', 'sticky'] as const;\n\n@Service()\nexport class ThemeStylePresetService {\n private readonly config = inject(APP_PREFERENCES_CONFIG, { optional: true });\n private readonly themeStyle = inject(ThemeStyleService);\n private readonly themeMode = inject(ThemeModeService);\n private readonly themeSpace = inject(ThemeSpaceService);\n private readonly themeRadius = inject(ThemeRadiusService);\n private readonly themeColor = inject(ThemeColorService);\n private readonly themeBrand = inject(ThemeBrandService);\n private readonly layout = inject(LayoutService);\n private readonly navigation = inject(NavigationService);\n\n constructor() {\n let previousStyle = this.themeStyle.style();\n\n this.enforceLockedValues(previousStyle);\n\n effect(() => {\n const style = this.themeStyle.style();\n\n if (style === previousStyle) return;\n\n previousStyle = style;\n this.applyPreset(style);\n });\n\n effect(() => this.enforceLockedValues(this.themeStyle.style()));\n }\n\n private applyPreset(style: ThemeStyle): void {\n this.applyThemeValues(style);\n this.applyLayoutValues(style);\n this.applyNavigationValues(style);\n }\n\n private applyThemeValues(style: ThemeStyle): void {\n const mode = this.valueFor(style, 'theme-mode', this.defaultMode());\n if (isThemeMode(mode)) this.themeMode.setMode(mode);\n\n const space = this.valueFor(style, 'theme-space', this.defaultSpace());\n if (isThemeSpace(space)) this.themeSpace.setSpace(space);\n\n const radius = this.valueFor(style, 'theme-radius', this.defaultRadius());\n if (isThemeRadius(radius)) this.themeRadius.setRadius(radius);\n\n const color = this.valueFor(style, 'theme-color', this.defaultColor());\n if (isThemeColor(color)) this.themeColor.setColor(color);\n\n const brand = this.valueFor(style, 'theme-brand', this.defaultBrand());\n if (isThemeBrand(brand)) this.themeBrand.setBrand(brand);\n }\n\n private applyLayoutValues(style: ThemeStyle): void {\n const type = this.valueFor(style, 'layout-type', this.defaultLayoutType());\n if (isUiLayoutType(type)) this.layout.setType(type);\n\n const width = this.valueFor(style, 'layout-width', this.defaultLayoutWidth());\n if (isUiLayoutWidth(width)) this.layout.setWidth(width);\n\n const surface = this.valueFor(style, 'layout-surface', this.defaultLayoutSurface());\n if (isUiLayoutSurface(surface)) this.layout.setSurface(surface);\n\n const appearance = this.valueFor(style, 'layout-appearance', this.defaultLayoutAppearance());\n if (isUiLayoutStyle(appearance)) this.layout.setAppearance(appearance);\n }\n\n private applyNavigationValues(style: ThemeStyle): void {\n const orientation = this.valueFor(\n style,\n 'nav-orientation',\n this.defaultNavigationOrientation(),\n );\n const type = this.valueFor(style, 'nav-type', this.defaultNavigationType());\n const position = this.valueFor(style, 'nav-position', this.defaultNavigationPosition());\n const typeMode = this.valueFor(style, 'nav-type-mode', 'default');\n\n this.navigation.update(PRIMARY_NAVIGATION_ID, {\n orientation: isNavigationOrientation(orientation)\n ? orientation\n : this.defaultNavigationOrientation(),\n type: isNavigationType(type) ? type : this.defaultNavigationType(),\n position: isNavigationPosition(position) ? position : this.defaultNavigationPosition(),\n collapsed:\n typeMode === 'collapsed'\n ? true\n : typeMode === 'expanded'\n ? false\n : this.defaultNavigationCollapsed(),\n dockbarMode: isNavigationDockbarMode(typeMode)\n ? typeMode\n : this.defaultNavigationDockbarMode(),\n });\n }\n\n private enforceLockedValues(style: ThemeStyle): void {\n const mode = this.lockedValueFor(style, 'theme-mode');\n if (isThemeMode(mode) && this.themeMode.mode() !== mode) this.themeMode.setMode(mode);\n\n const space = this.lockedValueFor(style, 'theme-space');\n if (isThemeSpace(space) && this.themeSpace.space() !== space) this.themeSpace.setSpace(space);\n\n const radius = this.lockedValueFor(style, 'theme-radius');\n if (isThemeRadius(radius) && this.themeRadius.radius() !== radius)\n this.themeRadius.setRadius(radius);\n\n const color = this.lockedValueFor(style, 'theme-color');\n if (isThemeColor(color) && this.themeColor.color() !== color) this.themeColor.setColor(color);\n\n const brand = this.lockedValueFor(style, 'theme-brand');\n if (isThemeBrand(brand) && this.themeBrand.brand() !== brand) this.themeBrand.setBrand(brand);\n\n const type = this.lockedValueFor(style, 'layout-type');\n if (isUiLayoutType(type) && this.layout.type() !== type) this.layout.setType(type);\n\n const width = this.lockedValueFor(style, 'layout-width');\n if (isUiLayoutWidth(width) && this.layout.width() !== width) this.layout.setWidth(width);\n\n const surface = this.lockedValueFor(style, 'layout-surface');\n if (isUiLayoutSurface(surface) && this.layout.surface() !== surface)\n this.layout.setSurface(surface);\n\n const appearance = this.lockedValueFor(style, 'layout-appearance');\n if (isUiLayoutStyle(appearance) && this.layout.appearance() !== appearance) {\n this.layout.setAppearance(appearance);\n }\n\n const orientation = this.lockedValueFor(style, 'nav-orientation');\n const navigationType = this.lockedValueFor(style, 'nav-type');\n const position = this.lockedValueFor(style, 'nav-position');\n const typeMode = this.lockedValueFor(style, 'nav-type-mode');\n const currentNavigationState = this.navigation.currentState(PRIMARY_NAVIGATION_ID);\n const navigationState: NavigationState = currentNavigationState ?? {\n id: PRIMARY_NAVIGATION_ID,\n orientation: 'vertical',\n type: 'sidebar',\n position: 'left',\n collapsed: false,\n dockbarMode: 'default',\n };\n const navigationUpdate = {\n ...(isNavigationOrientation(orientation) && navigationState.orientation !== orientation\n ? { orientation }\n : {}),\n ...(isNavigationType(navigationType) && navigationState.type !== navigationType\n ? { type: navigationType }\n : {}),\n ...(isNavigationPosition(position) && navigationState.position !== position\n ? { position }\n : {}),\n ...(typeMode === 'collapsed' && !navigationState.collapsed\n ? { collapsed: true }\n : typeMode === 'expanded' && navigationState.collapsed\n ? { collapsed: false }\n : typeMode === 'default' && navigationState.collapsed !== this.defaultNavigationCollapsed()\n ? { collapsed: this.defaultNavigationCollapsed() }\n : {}),\n ...(isNavigationDockbarMode(typeMode) && navigationState.dockbarMode !== typeMode\n ? { dockbarMode: typeMode }\n : typeMode === 'default' && navigationState.dockbarMode !== this.defaultNavigationDockbarMode()\n ? { dockbarMode: this.defaultNavigationDockbarMode() }\n : {}),\n };\n\n const hasLockedNavigationValue = [orientation, navigationType, position, typeMode].some(\n (value) => value !== null,\n );\n\n if (\n Object.keys(navigationUpdate).length > 0 ||\n (currentNavigationState === null && hasLockedNavigationValue)\n ) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, navigationUpdate);\n }\n }\n\n private lockedValueFor(\n style: ThemeStyle,\n key: Parameters<typeof themeStylePresetEntry>[1],\n ): string | null {\n const entry = themeStylePresetEntry(style, key);\n\n return entry.control === 'fix' ? entry.value : null;\n }\n\n private valueFor(\n style: ThemeStyle,\n key: Parameters<typeof themeStylePresetEntry>[1],\n fallback: string,\n ): string {\n const value = themeStylePresetEntry(style, key).value;\n\n return value === 'default' ? fallback : value;\n }\n\n private defaultMode(): string {\n return this.config?.defaults?.theme.mode ?? DEFAULT_THEME_MODE;\n }\n\n private defaultSpace(): string {\n return this.config?.defaults?.theme.space ?? 'normal';\n }\n\n private defaultRadius(): string {\n return this.config?.defaults?.theme.radius ?? 'medium';\n }\n\n private defaultColor(): string {\n return this.config?.defaults?.theme.color ?? DEFAULT_THEME_COLOR;\n }\n\n private defaultBrand(): string {\n return this.config?.defaults?.theme.brand ?? DEFAULT_THEME_BRAND;\n }\n\n private defaultLayoutType(): string {\n return this.config?.defaults?.layout.type ?? LAYOUT_DEFAULT_TYPE;\n }\n\n private defaultLayoutWidth(): string {\n return this.config?.defaults?.layout.width ?? LAYOUT_DEFAULT_WIDTH;\n }\n\n private defaultLayoutSurface(): string {\n return this.config?.defaults?.layout.surface ?? LAYOUT_DEFAULT_SURFACE;\n }\n\n private defaultLayoutAppearance(): string {\n return this.config?.defaults?.layout.appearance ?? LAYOUT_DEFAULT_STYLE;\n }\n\n private defaultNavigationOrientation(): NavigationOrientation {\n return this.config?.defaults?.navigation.orientation ?? 'vertical';\n }\n\n private defaultNavigationType(): NavigationType {\n return this.config?.defaults?.navigation.type ?? 'sidebar';\n }\n\n private defaultNavigationPosition(): NavigationPosition {\n return this.config?.defaults?.navigation.position ?? 'left';\n }\n\n private defaultNavigationCollapsed(): boolean {\n return this.config?.defaults?.navigation.collapsed ?? false;\n }\n\n private defaultNavigationDockbarMode(): NavigationDockbarMode {\n return this.config?.defaults?.navigation.dockbarMode ?? 'default';\n }\n}\n\nfunction isNavigationType(value: string | null): value is NavigationType {\n return value !== null && (NAVIGATION_TYPES as readonly string[]).includes(value);\n}\n\nfunction isNavigationOrientation(value: string | null): value is NavigationOrientation {\n return value !== null && (NAVIGATION_ORIENTATIONS as readonly string[]).includes(value);\n}\n\nfunction isNavigationPosition(value: string | null): value is NavigationPosition {\n return value !== null && (NAVIGATION_POSITIONS as readonly string[]).includes(value);\n}\n\nfunction isNavigationDockbarMode(value: string | null): value is NavigationDockbarMode {\n return value !== null && (NAVIGATION_DOCKBAR_MODES as readonly string[]).includes(value);\n}\n","import {\n inject,\n InjectionToken,\n makeEnvironmentProviders,\n provideEnvironmentInitializer,\n} from '@angular/core';\nimport type {\n NavigationDockbarMode,\n NavigationOrientation,\n NavigationPosition,\n NavigationType,\n} from '@edsis/navigation/service';\nimport type {\n LayoutSurface,\n LayoutStyle,\n LayoutType,\n LayoutWidth,\n} from '@edsis/theme/layout/types';\nimport type {\n ThemeBrand,\n ThemeColor,\n ThemeMode,\n ThemeRadius,\n ThemeSpace,\n ThemeStyle,\n} from '@edsis/theme/styles';\n\nimport { ThemeStylePresetService } from './theme-style-preset.service';\n\nexport interface AppPreferencesDefaults {\n readonly theme: {\n readonly mode: ThemeMode;\n readonly space: ThemeSpace;\n readonly radius: ThemeRadius;\n readonly style: ThemeStyle;\n readonly color: ThemeColor;\n readonly brand: ThemeBrand;\n };\n readonly layout: {\n readonly appearance: LayoutStyle;\n readonly surface: LayoutSurface;\n readonly width: LayoutWidth;\n readonly type: LayoutType;\n };\n readonly navigation: {\n readonly orientation: NavigationOrientation;\n readonly type: NavigationType;\n readonly position: NavigationPosition;\n readonly collapsed: boolean;\n readonly dockbarMode: NavigationDockbarMode;\n };\n}\n\nexport interface AppPreferencesConfig {\n readonly defaults?: AppPreferencesDefaults;\n}\n\nexport const APP_PREFERENCES_CONFIG = new InjectionToken<AppPreferencesConfig>(\n 'APP_PREFERENCES_CONFIG',\n);\n\nexport function provideAppPreferences(config: AppPreferencesConfig = {}) {\n return makeEnvironmentProviders([\n { provide: APP_PREFERENCES_CONFIG, useValue: config },\n provideEnvironmentInitializer(() => {\n inject(ThemeStylePresetService);\n }),\n ]);\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injector,\n Service,\n afterNextRender,\n computed,\n effect,\n inject,\n linkedSignal,\n} from '@angular/core';\nimport { LayoutService } from '@edsis/theme/layout/services';\n\nconst NAVIGATION_FOCUS_SELECTOR =\n '[data-navigation-id=\"main\"] a[href]:not([aria-disabled=\"true\"]), [data-navigation-id=\"main\"] button:not(:disabled):not([aria-disabled=\"true\"])';\nconst CONTENT_FOCUS_SELECTOR = '[data-block-shell-content][tabindex=\"-1\"]';\n\n@Service()\nexport class AppPreferencesPanelService {\n private readonly document = inject(DOCUMENT, { optional: true });\n private readonly injector = inject(Injector);\n private readonly layout = inject(LayoutService);\n private readonly openedState = linkedSignal({\n source: this.layout.type,\n computation: () => false,\n });\n private origin: HTMLElement | null = null;\n private previouslyOpened = false;\n private finalizationPending = false;\n\n readonly supported = computed(() => this.layout.type() === 'vertical');\n readonly opened = this.openedState.asReadonly();\n\n constructor() {\n effect(() => {\n const opened = this.openedState();\n\n if (this.previouslyOpened && !opened) {\n this.finalizeClose();\n }\n\n this.previouslyOpened = opened;\n });\n }\n\n open(trigger?: HTMLElement): boolean {\n if (!this.supported()) {\n return false;\n }\n\n if (!this.openedState() && !this.origin) {\n this.origin = trigger ?? this.activeElement();\n }\n\n this.openedState.set(true);\n return true;\n }\n\n close(): void {\n this.openedState.set(false);\n }\n\n toggle(trigger?: HTMLElement): boolean {\n if (this.openedState()) {\n this.close();\n return false;\n }\n\n return this.open(trigger);\n }\n\n private finalizeClose(): void {\n if (this.finalizationPending) {\n return;\n }\n\n this.finalizationPending = true;\n afterNextRender(\n () => {\n this.finalizationPending = false;\n this.restoreFocus();\n this.origin = null;\n },\n { injector: this.injector },\n );\n }\n\n private restoreFocus(): void {\n const document = this.document;\n if (!document) {\n return;\n }\n\n const candidates = [\n this.origin,\n ...Array.from(document.querySelectorAll<HTMLElement>(NAVIGATION_FOCUS_SELECTOR)),\n document.querySelector<HTMLElement>(CONTENT_FOCUS_SELECTOR),\n ];\n\n for (const candidate of candidates) {\n if (!this.canFocus(candidate)) {\n continue;\n }\n\n candidate.focus({ preventScroll: true });\n if (document.activeElement === candidate) {\n return;\n }\n }\n }\n\n private activeElement(): HTMLElement | null {\n const activeElement = this.document?.activeElement;\n return activeElement instanceof HTMLElement ? activeElement : null;\n }\n\n private canFocus(element: HTMLElement | null): element is HTMLElement {\n if (!element?.isConnected || element.matches(':disabled, [aria-disabled=\"true\"]')) {\n return false;\n }\n\n if (element.closest('[hidden], [inert], [aria-hidden=\"true\"]')) {\n return false;\n }\n\n const view = this.document?.defaultView;\n return !view || element.getClientRects().length > 0;\n }\n}\n","import { Component, input, output } from '@angular/core';\nimport { IconComponent } from '@edsis/component/icon';\nimport { ToggleGroupComponent, ToggleGroupItemDirective } from '@edsis/component/toggle-group';\nimport { TooltipDirective } from '@edsis/component/tooltip';\n\nexport interface AppPreferenceOption {\n readonly value: string;\n readonly label: string;\n readonly icon: string;\n}\n\n@Component({\n selector: 'app-preference-setting-group',\n imports: [IconComponent, ToggleGroupComponent, ToggleGroupItemDirective, TooltipDirective],\n template: `\n <section class=\"border-b border-border/65 px-3 py-2.5 last:border-b-0\">\n <div class=\"flex items-start justify-between gap-3\">\n <div class=\"min-w-0\">\n <h3 [id]=\"headingId()\" class=\"text-sm font-medium text-foreground\">{{ title() }}</h3>\n @if (description()) {\n <p class=\"mt-1 text-xs leading-4 text-muted-foreground\">{{ description() }}</p>\n }\n </div>\n\n <span\n class=\"flex shrink-0 items-center gap-1 font-mono text-xs text-muted-foreground\"\n [attr.aria-label]=\"locked() ? activeLabel() + ', dikunci oleh gaya tema' : null\"\n >\n {{ activeLabel() }}\n @if (locked()) {\n <Icon name=\"lock\" [size]=\"14\" aria-hidden=\"true\" />\n }\n </span>\n </div>\n\n <ToggleGroup\n type=\"single\"\n variant=\"segmented\"\n [value]=\"selected()\"\n [disabled]=\"locked()\"\n [attr.aria-labelledby]=\"headingId()\"\n class=\"mt-2 grid w-full grid-flow-col auto-cols-fr gap-0\"\n (valueChange)=\"onValueChange($event)\"\n >\n @for (option of options(); track option.value) {\n <button\n ToggleGroupItem\n [value]=\"option.value\"\n [Tooltip]=\"option.label\"\n [attr.aria-label]=\"option.label\"\n [attr.title]=\"option.label\"\n class=\"min-h-8 min-w-0 px-1.5 py-1\"\n >\n <Icon [name]=\"option.icon\" [size]=\"16\" />\n </button>\n }\n </ToggleGroup>\n </section>\n `,\n})\nexport class AppPreferenceSettingGroupComponent {\n readonly title = input.required<string>();\n readonly description = input<string | null>(null);\n readonly activeLabel = input.required<string>();\n readonly options = input.required<readonly AppPreferenceOption[]>();\n readonly selected = input.required<string>();\n readonly headingId = input.required<string>();\n readonly locked = input(false);\n readonly optionSelected = output<string>();\n\n protected onValueChange(value: string | null): void {\n if (value !== null && !this.locked()) {\n this.optionSelected.emit(value);\n }\n }\n}\n","import {\n Component,\n ElementRef,\n afterNextRender,\n computed,\n inject,\n output,\n signal,\n} from '@angular/core';\nimport { ButtonComponent } from '@edsis/component/button';\nimport { IconComponent } from '@edsis/component/icon';\nimport {\n NavigationService,\n type NavigationDockbarMode,\n type NavigationOrientation,\n type NavigationPosition,\n type NavigationState,\n type NavigationType,\n type NavigationVerticalType,\n} from '@edsis/navigation/service';\nimport {\n LayoutService,\n isUiLayoutSurface,\n isUiLayoutStyle,\n isUiLayoutType,\n isUiLayoutWidth,\n} from '@edsis/theme/layout';\nimport {\n PageComponent,\n PageContentComponent,\n PageFooterComponent,\n PageHeaderComponent,\n} from '@edsis/theme/page';\nimport {\n THEME_BRANDS,\n THEME_COLORS,\n THEME_MODES,\n THEME_RADII,\n THEME_SPACES,\n THEME_STYLES,\n ThemeBrandService,\n ThemeColorService,\n ThemeModeService,\n ThemeRadiusService,\n ThemeSpaceService,\n ThemeStyleService,\n isThemeBrand,\n isThemeColor,\n isThemeMode,\n isThemeRadius,\n isThemeSpace,\n isThemeStyle,\n isThemeStyleSettingLocked,\n type ThemeStyleSettingKey,\n} from '@edsis/theme/styles';\n\nimport { APP_PREFERENCES_CONFIG } from './app-preferences.config';\nimport { AppPreferencesPanelService } from './app-preferences-panel.service';\nimport {\n AppPreferenceSettingGroupComponent,\n type AppPreferenceOption,\n} from './app-preference-setting-group.component';\n\nconst PRIMARY_NAVIGATION_ID = 'main';\nconst VERTICAL_NAVIGATION_TYPES = ['sidebar', 'dockbar'] as const;\nconst HORIZONTAL_NAVIGATION_TYPES = ['navbar', 'flyout'] as const;\nconst NAVIGATION_LAYOUT_TYPES = ['vertical', 'horizontal'] as const;\nconst DOCKBAR_MODES = ['default', 'sticky', 'drawer'] as const;\n\nconst THEME_STYLE_OPTIONS = {\n dinamic: { label: 'Dinamis', icon: 'auto_awesome' },\n rail: { label: 'Rail', icon: 'view_sidebar' },\n ala: { label: 'Ala', icon: 'palette' },\n aye: { label: 'Aye', icon: 'visibility' },\n desktop: { label: 'Desktop', icon: 'desktop_windows' },\n} as const;\nconst THEME_MODE_OPTIONS = {\n light: { label: 'Terang', icon: 'light_mode' },\n dark: { label: 'Gelap', icon: 'dark_mode' },\n system: { label: 'Sistem', icon: 'contrast' },\n} as const;\nconst THEME_COLOR_OPTIONS = {\n default: { label: 'Default', icon: 'format_color_fill' },\n} as const;\nconst THEME_BRAND_OPTIONS = {\n default: { label: 'Default', icon: 'branding_watermark' },\n} as const;\nconst THEME_SPACE_OPTIONS = {\n normal: { label: 'Normal', icon: 'density_large' },\n compact: { label: 'Ringkas', icon: 'density_small' },\n} as const;\nconst THEME_RADIUS_OPTIONS = {\n none: { label: 'Tanpa radius', icon: 'crop_square' },\n small: { label: 'Kecil', icon: 'rounded_corner' },\n medium: { label: 'Sedang', icon: 'rounded_corner' },\n large: { label: 'Besar', icon: 'rounded_corner' },\n} as const;\nconst LAYOUT_APPEARANCE_OPTIONS = {\n base: { label: 'Dasar', icon: 'crop_square' },\n 'border-rail': { label: 'Border rail', icon: 'border_outer' },\n ala: { label: 'Ala', icon: 'space_dashboard' },\n desktop: { label: 'Desktop', icon: 'desktop_windows' },\n} as const;\nconst LAYOUT_SURFACE_OPTIONS = {\n base: { label: 'Dasar', icon: 'crop_square' },\n flat: { label: 'Datar', icon: 'crop_16_9' },\n grid: { label: 'Grid', icon: 'grid_4x4' },\n} as const;\nconst LAYOUT_WIDTH_OPTIONS = {\n full: { label: 'Penuh', icon: 'width_full' },\n wide: { label: 'Lebar', icon: 'width_wide' },\n container: { label: 'Container', icon: 'width_normal' },\n fluid: { label: 'Fluid', icon: 'fit_screen' },\n} as const;\nconst LAYOUT_TYPE_OPTIONS = {\n vertical: { label: 'Vertikal', icon: 'view_sidebar' },\n horizontal: { label: 'Horizontal', icon: 'view_stream' },\n} as const;\nconst NAVIGATION_TYPE_OPTIONS = {\n sidebar: { label: 'Sidebar', icon: 'left_panel_open' },\n dockbar: { label: 'Dockbar', icon: 'dock_to_left' },\n navbar: { label: 'Navbar', icon: 'top_panel_open' },\n flyout: { label: 'Flyout', icon: 'menu_open' },\n} as const;\nconst NAVIGATION_POSITION_OPTIONS = {\n left: { label: 'Kiri', icon: 'align_horizontal_left' },\n right: { label: 'Kanan', icon: 'align_horizontal_right' },\n top: { label: 'Atas', icon: 'vertical_align_top' },\n bottom: { label: 'Bawah', icon: 'vertical_align_bottom' },\n} as const;\nconst DOCKBAR_MODE_OPTIONS = {\n default: { label: 'Default', icon: 'vertical_align_center' },\n sticky: { label: 'Melekat', icon: 'push_pin' },\n drawer: { label: 'Drawer', icon: 'left_panel_open' },\n} as const;\n\nfunction toOptions(\n values: readonly string[],\n options: Record<string, { readonly label: string; readonly icon: string }>,\n): readonly AppPreferenceOption[] {\n return values.map((value) => ({\n value,\n label: options[value]?.label ?? value,\n icon: options[value]?.icon ?? 'tune',\n }));\n}\n\n@Component({\n selector: 'app-preferences-surface',\n imports: [\n AppPreferenceSettingGroupComponent,\n ButtonComponent,\n IconComponent,\n PageComponent,\n PageContentComponent,\n PageFooterComponent,\n PageHeaderComponent,\n ],\n host: {\n class: 'block h-full min-h-0 w-full',\n },\n templateUrl: './app-preferences-surface.component.html',\n})\nexport class AppPreferencesSurfaceComponent {\n private readonly config = inject(APP_PREFERENCES_CONFIG, { optional: true });\n private readonly preferences = inject(AppPreferencesPanelService);\n private readonly themeMode = inject(ThemeModeService);\n private readonly themeSpace = inject(ThemeSpaceService);\n private readonly themeRadius = inject(ThemeRadiusService);\n private readonly themeStyle = inject(ThemeStyleService);\n private readonly themeColor = inject(ThemeColorService);\n private readonly themeBrand = inject(ThemeBrandService);\n private readonly layout = inject(LayoutService);\n private readonly navigation = inject(NavigationService);\n private readonly host = inject(ElementRef<HTMLElement>);\n\n readonly closeRequested = output<void>();\n protected readonly announcement = signal('');\n protected readonly defaults = this.config?.defaults ?? null;\n protected readonly hasDefaults = computed(() => this.defaults !== null);\n protected readonly mode = this.themeMode.mode;\n protected readonly space = this.themeSpace.space;\n protected readonly radius = this.themeRadius.radius;\n protected readonly style = this.themeStyle.style;\n protected readonly color = this.themeColor.color;\n protected readonly brand = this.themeBrand.brand;\n protected readonly appearance = this.layout.appearance;\n protected readonly surface = this.layout.surface;\n protected readonly width = this.layout.width;\n protected readonly layoutType = this.layout.type;\n protected readonly navigationState = computed<NavigationState>(\n () =>\n this.navigation.state(PRIMARY_NAVIGATION_ID)() ?? {\n id: PRIMARY_NAVIGATION_ID,\n orientation: 'vertical',\n type: 'sidebar',\n position: 'left',\n collapsed: false,\n dockbarMode: 'default',\n },\n );\n\n protected readonly styleOptions = toOptions(THEME_STYLES, THEME_STYLE_OPTIONS);\n protected readonly modeOptions = toOptions(THEME_MODES, THEME_MODE_OPTIONS);\n protected readonly colorOptions = toOptions(THEME_COLORS, THEME_COLOR_OPTIONS);\n protected readonly brandOptions = toOptions(THEME_BRANDS, THEME_BRAND_OPTIONS);\n protected readonly spaceOptions = toOptions(THEME_SPACES, THEME_SPACE_OPTIONS);\n protected readonly radiusOptions = toOptions(THEME_RADII, THEME_RADIUS_OPTIONS);\n protected readonly appearanceOptions = toOptions(\n ['base', 'border-rail', 'ala', 'desktop'],\n LAYOUT_APPEARANCE_OPTIONS,\n );\n protected readonly surfaceOptions = toOptions(['base', 'flat', 'grid'], LAYOUT_SURFACE_OPTIONS);\n protected readonly widthOptions = toOptions(\n ['full', 'wide', 'container', 'fluid'],\n LAYOUT_WIDTH_OPTIONS,\n );\n protected readonly layoutTypeOptions = toOptions(NAVIGATION_LAYOUT_TYPES, LAYOUT_TYPE_OPTIONS);\n protected readonly navigationTypeOptions = computed(() =>\n toOptions(\n this.navigationState().orientation === 'vertical'\n ? VERTICAL_NAVIGATION_TYPES\n : HORIZONTAL_NAVIGATION_TYPES,\n NAVIGATION_TYPE_OPTIONS,\n ),\n );\n protected readonly navigationPositionOptions = computed(() =>\n toOptions(\n this.navigationState().orientation === 'vertical' ? ['left', 'right'] : ['top', 'bottom'],\n NAVIGATION_POSITION_OPTIONS,\n ),\n );\n protected readonly navigationModeOptions = computed<readonly AppPreferenceOption[]>(() =>\n this.navigationState().orientation === 'horizontal'\n ? []\n : this.navigationState().type === 'sidebar'\n ? [\n { value: 'expanded', label: 'Diperluas', icon: 'unfold_more' },\n { value: 'collapsed', label: 'Dipadatkan', icon: 'compress' },\n ]\n : toOptions(DOCKBAR_MODES, DOCKBAR_MODE_OPTIONS),\n );\n protected readonly navigationMode = computed(() => {\n const state = this.navigationState();\n\n if (state.orientation === 'horizontal') return 'default';\n\n return state.type === 'sidebar'\n ? state.collapsed\n ? 'collapsed'\n : 'expanded'\n : state.dockbarMode;\n });\n protected readonly navigationModeLabel = computed(() => {\n const state = this.navigationState();\n\n if (state.orientation === 'horizontal') return 'Default';\n\n return state.type === 'sidebar'\n ? state.collapsed\n ? 'Dipadatkan'\n : 'Diperluas'\n : DOCKBAR_MODE_OPTIONS[state.dockbarMode].label;\n });\n protected readonly navigationTypeLabel = computed(\n () => NAVIGATION_TYPE_OPTIONS[this.navigationState().type].label,\n );\n protected readonly navigationPositionLabel = computed(\n () => NAVIGATION_POSITION_OPTIONS[this.navigationState().position].label,\n );\n\n constructor() {\n const host = this.host.nativeElement as HTMLElement;\n afterNextRender(() => {\n const closeButton = host.querySelector(\n '[data-app-preferences-close]',\n ) as HTMLButtonElement | null;\n closeButton?.focus({ preventScroll: true });\n });\n }\n\n protected selectStyle(value: string): void {\n if (!isThemeStyle(value)) return;\n\n // A style may switch the shell between sidebar and dockbar. Close the\n // currently projected panel first so the navigation tree and preferences\n // surface do not transition at the same time.\n this.preferences.close();\n this.themeStyle.setStyle(value);\n }\n\n protected selectMode(value: string): void {\n if (!this.isLocked('theme-mode') && isThemeMode(value)) this.themeMode.setMode(value);\n }\n\n protected selectColor(value: string): void {\n if (!this.isLocked('theme-color') && isThemeColor(value)) this.themeColor.setColor(value);\n }\n\n protected selectBrand(value: string): void {\n if (!this.isLocked('theme-brand') && isThemeBrand(value)) this.themeBrand.setBrand(value);\n }\n\n protected selectSpace(value: string): void {\n if (!this.isLocked('theme-space') && isThemeSpace(value)) this.themeSpace.setSpace(value);\n }\n\n protected selectRadius(value: string): void {\n if (!this.isLocked('theme-radius') && isThemeRadius(value)) this.themeRadius.setRadius(value);\n }\n\n protected selectAppearance(value: string): void {\n if (!this.isLocked('layout-appearance') && isUiLayoutStyle(value)) {\n this.layout.setAppearance(value);\n }\n }\n\n protected selectSurface(value: string): void {\n if (!this.isLocked('layout-surface') && isUiLayoutSurface(value)) {\n this.layout.setSurface(value);\n }\n }\n\n protected selectWidth(value: string): void {\n if (!this.isLocked('layout-width') && isUiLayoutWidth(value)) this.layout.setWidth(value);\n }\n\n protected selectLayoutType(value: string): void {\n if (\n this.isLayoutTypeLocked() ||\n !isUiLayoutType(value) ||\n !(NAVIGATION_LAYOUT_TYPES as readonly string[]).includes(value)\n ) {\n return;\n }\n\n const orientation = value as NavigationOrientation;\n const state = this.navigationState();\n const type = isNavigationTypeForOrientation(state.type, orientation)\n ? state.type\n : orientation === 'vertical'\n ? 'sidebar'\n : 'navbar';\n const position = isNavigationPositionForOrientation(state.position, orientation)\n ? state.position\n : orientation === 'vertical'\n ? 'left'\n : 'top';\n\n this.layout.setType(value);\n this.navigation.update(PRIMARY_NAVIGATION_ID, { orientation, type, position });\n }\n\n protected selectNavigationType(value: string): void {\n const state = this.navigationState();\n\n if (!this.isLocked('nav-type') && isNavigationTypeForOrientation(value, state.orientation)) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, { type: value });\n }\n }\n\n protected selectNavigationMode(value: string): void {\n const state = this.navigationState();\n\n if (this.isLocked('nav-type-mode')) return;\n\n if (state.type === 'sidebar' && (value === 'expanded' || value === 'collapsed')) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, { collapsed: value === 'collapsed' });\n }\n\n if (state.type === 'dockbar' && (DOCKBAR_MODES as readonly string[]).includes(value)) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, {\n dockbarMode: value as NavigationDockbarMode,\n });\n }\n }\n\n protected selectNavigationPosition(value: string): void {\n const state = this.navigationState();\n\n if (\n !this.isLocked('nav-position') &&\n isNavigationPositionForOrientation(value, state.orientation)\n ) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, { position: value });\n }\n }\n\n protected resetToDefaults(): void {\n const defaults = this.defaults;\n if (!defaults) return;\n\n let changed = false;\n if (!this.isLocked('theme-mode') && this.mode() !== defaults.theme.mode) {\n this.themeMode.setMode(defaults.theme.mode);\n changed = true;\n }\n if (!this.isLocked('theme-color') && this.color() !== defaults.theme.color) {\n this.themeColor.setColor(defaults.theme.color);\n changed = true;\n }\n if (!this.isLocked('theme-brand') && this.brand() !== defaults.theme.brand) {\n this.themeBrand.setBrand(defaults.theme.brand);\n changed = true;\n }\n if (!this.isLocked('theme-space') && this.space() !== defaults.theme.space) {\n this.themeSpace.setSpace(defaults.theme.space);\n changed = true;\n }\n if (!this.isLocked('theme-radius') && this.radius() !== defaults.theme.radius) {\n this.themeRadius.setRadius(defaults.theme.radius);\n changed = true;\n }\n if (this.style() !== defaults.theme.style) {\n this.themeStyle.setStyle(defaults.theme.style);\n changed = true;\n }\n if (!this.isLocked('layout-appearance') && this.appearance() !== defaults.layout.appearance) {\n this.layout.setAppearance(defaults.layout.appearance);\n changed = true;\n }\n if (!this.isLocked('layout-surface') && this.surface() !== defaults.layout.surface) {\n this.layout.setSurface(defaults.layout.surface);\n changed = true;\n }\n if (!this.isLocked('layout-width') && this.width() !== defaults.layout.width) {\n this.layout.setWidth(defaults.layout.width);\n changed = true;\n }\n if (!this.isLayoutTypeLocked() && this.layoutType() !== defaults.layout.type) {\n this.selectLayoutType(defaults.layout.type);\n changed = true;\n }\n\n const navigation = this.navigationState();\n const nextNavigation = {\n orientation: this.isLocked('nav-orientation')\n ? navigation.orientation\n : defaults.navigation.orientation,\n type: this.isLocked('nav-type') ? navigation.type : defaults.navigation.type,\n position: this.isLocked('nav-position') ? navigation.position : defaults.navigation.position,\n collapsed: this.isLocked('nav-type-mode')\n ? navigation.collapsed\n : defaults.navigation.collapsed,\n dockbarMode: this.isLocked('nav-type-mode')\n ? navigation.dockbarMode\n : defaults.navigation.dockbarMode,\n };\n if (\n navigation.orientation !== nextNavigation.orientation ||\n navigation.type !== nextNavigation.type ||\n navigation.position !== nextNavigation.position ||\n navigation.collapsed !== nextNavigation.collapsed ||\n navigation.dockbarMode !== nextNavigation.dockbarMode\n ) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, nextNavigation);\n changed = true;\n }\n\n this.announce(\n changed ? 'Preferensi dikembalikan ke default.' : 'Preferensi sudah menggunakan default.',\n );\n }\n\n private announce(message: string): void {\n this.announcement.set('');\n queueMicrotask(() => this.announcement.set(message));\n }\n\n protected isLocked(key: ThemeStyleSettingKey): boolean {\n return isThemeStyleSettingLocked(this.style(), key);\n }\n\n protected isLayoutTypeLocked(): boolean {\n return this.isLocked('layout-type') || this.isLocked('nav-orientation');\n }\n}\n\nfunction isNavigationTypeForOrientation(\n value: string,\n orientation: NavigationOrientation,\n): value is NavigationType {\n return orientation === 'vertical'\n ? (VERTICAL_NAVIGATION_TYPES as readonly string[]).includes(value)\n : (HORIZONTAL_NAVIGATION_TYPES as readonly string[]).includes(value);\n}\n\nfunction isNavigationPositionForOrientation(\n value: string,\n orientation: NavigationOrientation,\n): value is NavigationPosition {\n return orientation === 'vertical'\n ? value === 'left' || value === 'right'\n : value === 'top' || value === 'bottom';\n}\n","<Page variant=\"stacked\" height=\"fix\" scroll=\"content\" class=\"bg-background\">\n <PageHeader class=\"h-11 px-3 py-0\">\n <div class=\"flex h-full items-center justify-between gap-3\">\n <h2\n id=\"app-preferences-title\"\n class=\"min-w-0 truncate text-base font-semibold text-foreground\"\n >\n Preferensi aplikasi\n </h2>\n <button\n type=\"button\"\n Button\n variant=\"ghost\"\n size=\"icon\"\n class=\"h-11 w-11 shrink-0\"\n data-app-preferences-close\n aria-label=\"Tutup preferensi aplikasi\"\n (click)=\"closeRequested.emit()\"\n >\n <Icon name=\"close\" [size]=\"20\" />\n </button>\n </div>\n </PageHeader>\n\n <PageContent class=\"overscroll-contain bg-muted/20\">\n <div class=\"space-y-5 p-3\">\n <p class=\"text-xs leading-4 text-muted-foreground\">\n Sesuaikan tampilan dan navigasi aplikasi.\n </p>\n\n <section aria-labelledby=\"app-preferences-theme\" class=\"space-y-2\">\n <h2\n id=\"app-preferences-theme\"\n class=\"text-xs font-semibold tracking-wide text-muted-foreground\"\n >\n Tema\n </h2>\n <app-preference-setting-group\n headingId=\"app-preferences-style\"\n title=\"Gaya tema\"\n [activeLabel]=\"styleOptions.find((option) => option.value === style())?.label ?? style()\"\n [options]=\"styleOptions\"\n [selected]=\"style()\"\n (optionSelected)=\"selectStyle($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-mode\"\n title=\"Mode warna\"\n description=\"Sistem mengikuti preferensi perangkat.\"\n [activeLabel]=\"modeOptions.find((option) => option.value === mode())?.label ?? mode()\"\n [options]=\"modeOptions\"\n [selected]=\"mode()\"\n [locked]=\"isLocked('theme-mode')\"\n (optionSelected)=\"selectMode($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-color\"\n title=\"Warna tema\"\n [activeLabel]=\"colorOptions.find((option) => option.value === color())?.label ?? color()\"\n [options]=\"colorOptions\"\n [selected]=\"color()\"\n [locked]=\"isLocked('theme-color')\"\n (optionSelected)=\"selectColor($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-brand\"\n title=\"Brand\"\n [activeLabel]=\"brandOptions.find((option) => option.value === brand())?.label ?? brand()\"\n [options]=\"brandOptions\"\n [selected]=\"brand()\"\n [locked]=\"isLocked('theme-brand')\"\n (optionSelected)=\"selectBrand($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-space\"\n title=\"Kerapatan\"\n [activeLabel]=\"spaceOptions.find((option) => option.value === space())?.label ?? space()\"\n [options]=\"spaceOptions\"\n [selected]=\"space()\"\n [locked]=\"isLocked('theme-space')\"\n (optionSelected)=\"selectSpace($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-radius\"\n title=\"Sudut\"\n [activeLabel]=\"\n radiusOptions.find((option) => option.value === radius())?.label ?? radius()\n \"\n [options]=\"radiusOptions\"\n [selected]=\"radius()\"\n [locked]=\"isLocked('theme-radius')\"\n (optionSelected)=\"selectRadius($event)\"\n />\n </section>\n\n <section aria-labelledby=\"app-preferences-layout\" class=\"space-y-2\">\n <h2\n id=\"app-preferences-layout\"\n class=\"text-xs font-semibold tracking-wide text-muted-foreground\"\n >\n Layout\n </h2>\n <app-preference-setting-group\n headingId=\"app-preferences-appearance\"\n title=\"Bingkai\"\n [activeLabel]=\"\n appearanceOptions.find((option) => option.value === appearance())?.label ?? appearance()\n \"\n [options]=\"appearanceOptions\"\n [selected]=\"appearance()\"\n [locked]=\"isLocked('layout-appearance')\"\n (optionSelected)=\"selectAppearance($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-surface\"\n title=\"Latar\"\n [activeLabel]=\"\n surfaceOptions.find((option) => option.value === surface())?.label ?? surface()\n \"\n [options]=\"surfaceOptions\"\n [selected]=\"surface()\"\n [locked]=\"isLocked('layout-surface')\"\n (optionSelected)=\"selectSurface($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-layout-type\"\n title=\"Tipe layout\"\n [activeLabel]=\"\n layoutTypeOptions.find((option) => option.value === layoutType())?.label ?? layoutType()\n \"\n [options]=\"layoutTypeOptions\"\n [selected]=\"layoutType()\"\n [locked]=\"isLayoutTypeLocked()\"\n (optionSelected)=\"selectLayoutType($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-width\"\n title=\"Lebar konten\"\n [activeLabel]=\"widthOptions.find((option) => option.value === width())?.label ?? width()\"\n [options]=\"widthOptions\"\n [selected]=\"width()\"\n [locked]=\"isLocked('layout-width')\"\n (optionSelected)=\"selectWidth($event)\"\n />\n </section>\n\n <section aria-labelledby=\"app-preferences-navigation\" class=\"space-y-2\">\n <h2\n id=\"app-preferences-navigation\"\n class=\"text-xs font-semibold tracking-wide text-muted-foreground\"\n >\n Navigasi\n </h2>\n <app-preference-setting-group\n headingId=\"app-preferences-navigation-type\"\n title=\"Tipe navigation\"\n [activeLabel]=\"navigationTypeLabel()\"\n [options]=\"navigationTypeOptions()\"\n [selected]=\"navigationState().type\"\n [locked]=\"isLocked('nav-type')\"\n (optionSelected)=\"selectNavigationType($event)\"\n />\n @if (navigationState().orientation === 'vertical') {\n <app-preference-setting-group\n headingId=\"app-preferences-navigation-mode\"\n title=\"Mode navigation\"\n [activeLabel]=\"navigationModeLabel()\"\n [options]=\"navigationModeOptions()\"\n [selected]=\"navigationMode()\"\n [locked]=\"isLocked('nav-type-mode')\"\n (optionSelected)=\"selectNavigationMode($event)\"\n />\n }\n <app-preference-setting-group\n headingId=\"app-preferences-navigation-position\"\n title=\"Posisi navigation\"\n [activeLabel]=\"navigationPositionLabel()\"\n [options]=\"navigationPositionOptions()\"\n [selected]=\"navigationState().position\"\n [locked]=\"isLocked('nav-position')\"\n (optionSelected)=\"selectNavigationPosition($event)\"\n />\n </section>\n </div>\n </PageContent>\n\n @if (hasDefaults()) {\n <PageFooter class=\"px-3 py-0\">\n <button\n type=\"button\"\n Button\n variant=\"ghost\"\n class=\"h-full w-full justify-start\"\n (click)=\"resetToDefaults()\"\n >\n <Icon name=\"restart_alt\" [size]=\"18\" />\n Kembalikan default\n </button>\n </PageFooter>\n }\n\n <p class=\"sr-only\" aria-live=\"polite\" aria-atomic=\"true\">{{ announcement() }}</p>\n</Page>\n","import { DOCUMENT } from '@angular/common';\nimport { Component, DestroyRef, computed, effect, inject, signal } from '@angular/core';\nimport { SheetComponent } from '@edsis/component/sheet';\nimport { NavigationService, type NavigationState } from '@edsis/navigation/service';\n\nimport { AppPreferencesPanelService } from './app-preferences-panel.service';\nimport { AppPreferencesSurfaceComponent } from './app-preferences-surface.component';\n\nconst PRIMARY_NAVIGATION_ID = 'main';\nconst NARROW_VIEWPORT_QUERY = '(max-width: 767.98px)';\n\n@Component({\n selector: 'app-preferences',\n imports: [AppPreferencesSurfaceComponent, SheetComponent],\n host: {\n '[class]': 'hostClass()',\n '[attr.role]': 'inline() ? \"region\" : null',\n '[attr.aria-labelledby]': 'inline() ? \"app-preferences-title\" : null',\n },\n template: `\n @if (inline()) {\n <section\n id=\"app-preferences-panel\"\n class=\"h-full min-h-0 w-full\"\n aria-labelledby=\"app-preferences-title\"\n >\n <app-preferences-surface (closeRequested)=\"preferences.close()\" />\n </section>\n } @else {\n <Sheet\n [open]=\"preferences.opened()\"\n side=\"left\"\n [showCloseButton]=\"false\"\n [restoreFocus]=\"false\"\n aria-labelledby=\"app-preferences-title\"\n class=\"w-[min(19rem,calc(100dvw-2rem))]! max-w-none! gap-0! p-0!\"\n (openedChange)=\"onSheetOpenChange($event)\"\n >\n <app-preferences-surface\n id=\"app-preferences-panel\"\n (closeRequested)=\"preferences.close()\"\n />\n </Sheet>\n }\n `,\n})\nexport class AppPreferencesComponent {\n private readonly document = inject(DOCUMENT, { optional: true });\n private readonly destroyRef = inject(DestroyRef);\n private readonly navigation = inject(NavigationService);\n protected readonly preferences = inject(AppPreferencesPanelService);\n private readonly narrowState = signal(this.mediaQuery()?.matches ?? false);\n private readonly navigationState = computed<NavigationState>(\n () =>\n this.navigation.state(PRIMARY_NAVIGATION_ID)() ?? {\n id: PRIMARY_NAVIGATION_ID,\n orientation: 'vertical',\n type: 'sidebar',\n position: 'left',\n collapsed: false,\n dockbarMode: 'default',\n },\n );\n\n protected readonly inline = computed(\n () =>\n !this.narrowState() &&\n this.navigationState().type === 'sidebar' &&\n !this.navigationState().collapsed,\n );\n protected readonly hostClass = computed(() =>\n this.inline() ? 'block h-full w-76 border-r border-border' : 'relative block h-full w-16',\n );\n\n constructor() {\n const mediaQuery = this.mediaQuery();\n const onChange = (event: MediaQueryListEvent) => this.narrowState.set(event.matches);\n\n mediaQuery?.addEventListener('change', onChange);\n effect((onCleanup) => {\n if (!this.inline() || !this.preferences.opened()) {\n return;\n }\n\n const onKeydown = (event: KeyboardEvent) => {\n if (event.key === 'Escape' && !event.defaultPrevented) {\n this.preferences.close();\n }\n };\n\n this.document?.addEventListener('keydown', onKeydown);\n onCleanup(() => this.document?.removeEventListener('keydown', onKeydown));\n });\n this.destroyRef.onDestroy(() => {\n mediaQuery?.removeEventListener('change', onChange);\n if (this.preferences.opened()) this.preferences.close();\n });\n }\n\n protected onSheetOpenChange(open: boolean): void {\n if (!open) this.preferences.close();\n }\n\n private mediaQuery(): MediaQueryList | null {\n return this.document?.defaultView?.matchMedia?.(NARROW_VIEWPORT_QUERY) ?? null;\n }\n}\n","import { Directive, ElementRef, computed, inject } from '@angular/core';\nimport { AppPreferencesPanelService } from './app-preferences-panel.service';\n\n@Directive({\n selector: '[appPreferencesTrigger]',\n host: {\n '[attr.aria-expanded]': 'preferences.opened()',\n '[attr.aria-controls]': 'preferences.opened() ? \"app-preferences-panel\" : null',\n '[attr.aria-disabled]': 'isButton() && !preferences.supported() ? \"true\" : null',\n '[attr.disabled]': 'isButton() && !preferences.supported() ? \"\" : null',\n '(click)': 'onClick($event)',\n },\n})\nexport class AppPreferencesTriggerDirective {\n private readonly elementRef = inject(ElementRef<HTMLElement>);\n protected readonly preferences = inject(AppPreferencesPanelService);\n protected readonly isButton = computed(\n () => this.elementRef.nativeElement.localName === 'button',\n );\n\n protected onClick(event: MouseEvent): void {\n if (this.preferences.open(this.elementRef.nativeElement)) {\n event.preventDefault();\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["PRIMARY_NAVIGATION_ID","LayoutService"],"mappings":";;;;;;;;;;;;;;;AA2CA,MAAMA,uBAAqB,GAAG,MAAM;AACpC,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAU;AAC5E,MAAM,uBAAuB,GAAG,CAAC,UAAU,EAAE,YAAY,CAAU;AACnE,MAAM,oBAAoB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAU;AACxE,MAAM,wBAAwB,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAU;MAG5D,uBAAuB,CAAA;IACjB,MAAM,GAAG,MAAM,CAAC,sBAAsB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC3D,IAAA,UAAU,GAAG,MAAM,CAAC,iBAAiB,CAAC;AACtC,IAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACpC,I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AAI,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE;YACxD,KAAK,CAAC,cAAc,EAAE;QACxB;IACF;uGAXW,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA9B,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,iBAAA,EAAA,EAAA,UAAA,EAAA,EAAA,oBAAA,EAAA,sBAAA,EAAA,oBAAA,EAAA,yDAAA,EAAA,oBAAA,EAAA,0DAAA,EAAA,eAAA,EAAA,sDAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAV1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,IAAI,EAAE;AACJ,wBAAA,sBAAsB,EAAE,sBAAsB;AAC9C,wBAAA,sBAAsB,EAAE,uDAAuD;AAC/E,wBAAA,sBAAsB,EAAE,wDAAwD;AAChF,wBAAA,iBAAiB,EAAE,oDAAoD;AACvE,wBAAA,SAAS,EAAE,iBAAiB;AAC7B,qBAAA;AACF,iBAAA;;;ACZD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"edsis-angular-block-themes.mjs","sources":["../../../library/angular/block/themes/theme-style-preset.service.ts","../../../library/angular/block/themes/app-preferences.config.ts","../../../library/angular/block/themes/app-preferences-panel.service.ts","../../../library/angular/block/themes/app-preference-setting-group.component.ts","../../../library/angular/block/themes/app-preferences-surface.component.ts","../../../library/angular/block/themes/app-preferences-surface.component.html","../../../library/angular/block/themes/app-preferences.component.ts","../../../library/angular/block/themes/app-preferences-trigger.directive.ts","../../../library/angular/block/themes/edsis-angular-block-themes.ts"],"sourcesContent":["import { effect, inject, Service } from '@angular/core';\nimport {\n NavigationService,\n type NavigationDockbarMode,\n type NavigationOrientation,\n type NavigationPosition,\n type NavigationState,\n type NavigationType,\n} from '@edsis/navigation/service';\nimport {\n LayoutService,\n isUiLayoutSurface,\n isUiLayoutStyle,\n isUiLayoutType,\n isUiLayoutWidth,\n} from '@edsis/theme/layout';\nimport {\n DEFAULT_THEME_BRAND,\n DEFAULT_THEME_COLOR,\n DEFAULT_THEME_MODE,\n ThemeBrandService,\n ThemeColorService,\n ThemeModeService,\n ThemeRadiusService,\n ThemeSpaceService,\n ThemeStyleService,\n isThemeBrand,\n isThemeColor,\n isThemeMode,\n isThemeRadius,\n isThemeSpace,\n themeStylePresetEntry,\n type ThemeStyle,\n} from '@edsis/theme/styles';\nimport {\n LAYOUT_DEFAULT_SURFACE,\n LAYOUT_DEFAULT_STYLE,\n LAYOUT_DEFAULT_TYPE,\n LAYOUT_DEFAULT_WIDTH,\n} from '@edsis/theme/layout/types';\n\nimport { APP_PREFERENCES_CONFIG } from './app-preferences.config';\n\nconst PRIMARY_NAVIGATION_ID = 'main';\nconst NAVIGATION_TYPES = ['sidebar', 'dockbar', 'navbar', 'flyout'] as const;\nconst NAVIGATION_ORIENTATIONS = ['vertical', 'horizontal'] as const;\nconst NAVIGATION_POSITIONS = ['left', 'right', 'top', 'bottom'] as const;\nconst NAVIGATION_DOCKBAR_MODES = ['default', 'drawer', 'sticky'] as const;\n\n@Service()\nexport class ThemeStylePresetService {\n private readonly config = inject(APP_PREFERENCES_CONFIG, { optional: true });\n private readonly themeStyle = inject(ThemeStyleService);\n private readonly themeMode = inject(ThemeModeService);\n private readonly themeSpace = inject(ThemeSpaceService);\n private readonly themeRadius = inject(ThemeRadiusService);\n private readonly themeColor = inject(ThemeColorService);\n private readonly themeBrand = inject(ThemeBrandService);\n private readonly layout = inject(LayoutService);\n private readonly navigation = inject(NavigationService);\n\n constructor() {\n let previousStyle = this.themeStyle.style();\n\n if (this.themeStyle.hasStoredStyle()) {\n this.enforceLockedValues(previousStyle);\n } else {\n this.applyPreset(previousStyle);\n }\n\n effect(() => {\n const style = this.themeStyle.style();\n\n if (style === previousStyle) return;\n\n previousStyle = style;\n this.applyPreset(style);\n });\n\n effect(() => this.enforceLockedValues(this.themeStyle.style()));\n }\n\n private applyPreset(style: ThemeStyle): void {\n this.applyThemeValues(style);\n this.applyLayoutValues(style);\n this.applyNavigationValues(style);\n }\n\n private applyThemeValues(style: ThemeStyle): void {\n const mode = this.valueFor(style, 'theme-mode', this.defaultMode());\n if (isThemeMode(mode)) this.themeMode.setMode(mode);\n\n const space = this.valueFor(style, 'theme-space', this.defaultSpace());\n if (isThemeSpace(space)) this.themeSpace.setSpace(space);\n\n const radius = this.valueFor(style, 'theme-radius', this.defaultRadius());\n if (isThemeRadius(radius)) this.themeRadius.setRadius(radius);\n\n const color = this.valueFor(style, 'theme-color', this.defaultColor());\n if (isThemeColor(color)) this.themeColor.setColor(color);\n\n const brand = this.valueFor(style, 'theme-brand', this.defaultBrand());\n if (isThemeBrand(brand)) this.themeBrand.setBrand(brand);\n }\n\n private applyLayoutValues(style: ThemeStyle): void {\n const type = this.valueFor(style, 'layout-type', this.defaultLayoutType());\n if (isUiLayoutType(type)) this.layout.setType(type);\n\n const width = this.valueFor(style, 'layout-width', this.defaultLayoutWidth());\n if (isUiLayoutWidth(width)) this.layout.setWidth(width);\n\n const surface = this.valueFor(style, 'layout-surface', this.defaultLayoutSurface());\n if (isUiLayoutSurface(surface)) this.layout.setSurface(surface);\n\n const appearance = this.valueFor(style, 'layout-appearance', this.defaultLayoutAppearance());\n if (isUiLayoutStyle(appearance)) this.layout.setAppearance(appearance);\n }\n\n private applyNavigationValues(style: ThemeStyle): void {\n const orientation = this.valueFor(\n style,\n 'nav-orientation',\n this.defaultNavigationOrientation(),\n );\n const type = this.valueFor(style, 'nav-type', this.defaultNavigationType());\n const position = this.valueFor(style, 'nav-position', this.defaultNavigationPosition());\n const typeMode = this.valueFor(style, 'nav-type-mode', 'default');\n\n this.navigation.update(PRIMARY_NAVIGATION_ID, {\n orientation: isNavigationOrientation(orientation)\n ? orientation\n : this.defaultNavigationOrientation(),\n type: isNavigationType(type) ? type : this.defaultNavigationType(),\n position: isNavigationPosition(position) ? position : this.defaultNavigationPosition(),\n collapsed:\n typeMode === 'collapsed'\n ? true\n : typeMode === 'expanded'\n ? false\n : this.defaultNavigationCollapsed(),\n dockbarMode: isNavigationDockbarMode(typeMode)\n ? typeMode\n : this.defaultNavigationDockbarMode(),\n });\n }\n\n private enforceLockedValues(style: ThemeStyle): void {\n const mode = this.lockedValueFor(style, 'theme-mode');\n if (isThemeMode(mode) && this.themeMode.mode() !== mode) this.themeMode.setMode(mode);\n\n const space = this.lockedValueFor(style, 'theme-space');\n if (isThemeSpace(space) && this.themeSpace.space() !== space) this.themeSpace.setSpace(space);\n\n const radius = this.lockedValueFor(style, 'theme-radius');\n if (isThemeRadius(radius) && this.themeRadius.radius() !== radius)\n this.themeRadius.setRadius(radius);\n\n const color = this.lockedValueFor(style, 'theme-color');\n if (isThemeColor(color) && this.themeColor.color() !== color) this.themeColor.setColor(color);\n\n const brand = this.lockedValueFor(style, 'theme-brand');\n if (isThemeBrand(brand) && this.themeBrand.brand() !== brand) this.themeBrand.setBrand(brand);\n\n const type = this.lockedValueFor(style, 'layout-type');\n if (isUiLayoutType(type) && this.layout.type() !== type) this.layout.setType(type);\n\n const width = this.lockedValueFor(style, 'layout-width');\n if (isUiLayoutWidth(width) && this.layout.width() !== width) this.layout.setWidth(width);\n\n const surface = this.lockedValueFor(style, 'layout-surface');\n if (isUiLayoutSurface(surface) && this.layout.surface() !== surface)\n this.layout.setSurface(surface);\n\n const appearance = this.lockedValueFor(style, 'layout-appearance');\n if (isUiLayoutStyle(appearance) && this.layout.appearance() !== appearance) {\n this.layout.setAppearance(appearance);\n }\n\n const orientation = this.lockedValueFor(style, 'nav-orientation');\n const navigationType = this.lockedValueFor(style, 'nav-type');\n const position = this.lockedValueFor(style, 'nav-position');\n const typeMode = this.lockedValueFor(style, 'nav-type-mode');\n const currentNavigationState = this.navigation.currentState(PRIMARY_NAVIGATION_ID);\n const navigationState: NavigationState = currentNavigationState ?? {\n id: PRIMARY_NAVIGATION_ID,\n orientation: 'vertical',\n type: 'sidebar',\n position: 'left',\n collapsed: false,\n dockbarMode: 'default',\n };\n const navigationUpdate = {\n ...(isNavigationOrientation(orientation) && navigationState.orientation !== orientation\n ? { orientation }\n : {}),\n ...(isNavigationType(navigationType) && navigationState.type !== navigationType\n ? { type: navigationType }\n : {}),\n ...(isNavigationPosition(position) && navigationState.position !== position\n ? { position }\n : {}),\n ...(typeMode === 'collapsed' && !navigationState.collapsed\n ? { collapsed: true }\n : typeMode === 'expanded' && navigationState.collapsed\n ? { collapsed: false }\n : typeMode === 'default' && navigationState.collapsed !== this.defaultNavigationCollapsed()\n ? { collapsed: this.defaultNavigationCollapsed() }\n : {}),\n ...(isNavigationDockbarMode(typeMode) && navigationState.dockbarMode !== typeMode\n ? { dockbarMode: typeMode }\n : typeMode === 'default' && navigationState.dockbarMode !== this.defaultNavigationDockbarMode()\n ? { dockbarMode: this.defaultNavigationDockbarMode() }\n : {}),\n };\n\n const hasLockedNavigationValue = [orientation, navigationType, position, typeMode].some(\n (value) => value !== null,\n );\n\n if (\n Object.keys(navigationUpdate).length > 0 ||\n (currentNavigationState === null && hasLockedNavigationValue)\n ) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, navigationUpdate);\n }\n }\n\n private lockedValueFor(\n style: ThemeStyle,\n key: Parameters<typeof themeStylePresetEntry>[1],\n ): string | null {\n const entry = themeStylePresetEntry(style, key);\n\n return entry.control === 'fix' ? entry.value : null;\n }\n\n private valueFor(\n style: ThemeStyle,\n key: Parameters<typeof themeStylePresetEntry>[1],\n fallback: string,\n ): string {\n const value = themeStylePresetEntry(style, key).value;\n\n return value === 'default' ? fallback : value;\n }\n\n private defaultMode(): string {\n return this.config?.defaults?.theme.mode ?? DEFAULT_THEME_MODE;\n }\n\n private defaultSpace(): string {\n return this.config?.defaults?.theme.space ?? 'normal';\n }\n\n private defaultRadius(): string {\n return this.config?.defaults?.theme.radius ?? 'medium';\n }\n\n private defaultColor(): string {\n return this.config?.defaults?.theme.color ?? DEFAULT_THEME_COLOR;\n }\n\n private defaultBrand(): string {\n return this.config?.defaults?.theme.brand ?? DEFAULT_THEME_BRAND;\n }\n\n private defaultLayoutType(): string {\n return this.config?.defaults?.layout.type ?? LAYOUT_DEFAULT_TYPE;\n }\n\n private defaultLayoutWidth(): string {\n return this.config?.defaults?.layout.width ?? LAYOUT_DEFAULT_WIDTH;\n }\n\n private defaultLayoutSurface(): string {\n return this.config?.defaults?.layout.surface ?? LAYOUT_DEFAULT_SURFACE;\n }\n\n private defaultLayoutAppearance(): string {\n return this.config?.defaults?.layout.appearance ?? LAYOUT_DEFAULT_STYLE;\n }\n\n private defaultNavigationOrientation(): NavigationOrientation {\n return this.config?.defaults?.navigation.orientation ?? 'vertical';\n }\n\n private defaultNavigationType(): NavigationType {\n return this.config?.defaults?.navigation.type ?? 'sidebar';\n }\n\n private defaultNavigationPosition(): NavigationPosition {\n return this.config?.defaults?.navigation.position ?? 'left';\n }\n\n private defaultNavigationCollapsed(): boolean {\n return this.config?.defaults?.navigation.collapsed ?? false;\n }\n\n private defaultNavigationDockbarMode(): NavigationDockbarMode {\n return this.config?.defaults?.navigation.dockbarMode ?? 'default';\n }\n}\n\nfunction isNavigationType(value: string | null): value is NavigationType {\n return value !== null && (NAVIGATION_TYPES as readonly string[]).includes(value);\n}\n\nfunction isNavigationOrientation(value: string | null): value is NavigationOrientation {\n return value !== null && (NAVIGATION_ORIENTATIONS as readonly string[]).includes(value);\n}\n\nfunction isNavigationPosition(value: string | null): value is NavigationPosition {\n return value !== null && (NAVIGATION_POSITIONS as readonly string[]).includes(value);\n}\n\nfunction isNavigationDockbarMode(value: string | null): value is NavigationDockbarMode {\n return value !== null && (NAVIGATION_DOCKBAR_MODES as readonly string[]).includes(value);\n}\n","import {\n inject,\n InjectionToken,\n makeEnvironmentProviders,\n provideEnvironmentInitializer,\n} from '@angular/core';\nimport type {\n NavigationDockbarMode,\n NavigationOrientation,\n NavigationPosition,\n NavigationType,\n} from '@edsis/navigation/service';\nimport type {\n LayoutSurface,\n LayoutStyle,\n LayoutType,\n LayoutWidth,\n} from '@edsis/theme/layout/types';\nimport type {\n ThemeBrand,\n ThemeColor,\n ThemeMode,\n ThemeRadius,\n ThemeSpace,\n ThemeStyle,\n} from '@edsis/theme/styles';\n\nimport { ThemeStylePresetService } from './theme-style-preset.service';\n\nexport interface AppPreferencesDefaults {\n readonly theme: {\n readonly mode: ThemeMode;\n readonly space: ThemeSpace;\n readonly radius: ThemeRadius;\n readonly style: ThemeStyle;\n readonly color: ThemeColor;\n readonly brand: ThemeBrand;\n };\n readonly layout: {\n readonly appearance: LayoutStyle;\n readonly surface: LayoutSurface;\n readonly width: LayoutWidth;\n readonly type: LayoutType;\n };\n readonly navigation: {\n readonly orientation: NavigationOrientation;\n readonly type: NavigationType;\n readonly position: NavigationPosition;\n readonly collapsed: boolean;\n readonly dockbarMode: NavigationDockbarMode;\n };\n}\n\nexport interface AppPreferencesConfig {\n readonly defaults?: AppPreferencesDefaults;\n}\n\nexport const APP_PREFERENCES_CONFIG = new InjectionToken<AppPreferencesConfig>(\n 'APP_PREFERENCES_CONFIG',\n);\n\nexport function provideAppPreferences(config: AppPreferencesConfig = {}) {\n return makeEnvironmentProviders([\n { provide: APP_PREFERENCES_CONFIG, useValue: config },\n provideEnvironmentInitializer(() => {\n inject(ThemeStylePresetService);\n }),\n ]);\n}\n","import { DOCUMENT } from '@angular/common';\nimport {\n Injector,\n Service,\n afterNextRender,\n computed,\n effect,\n inject,\n linkedSignal,\n} from '@angular/core';\nimport { LayoutService } from '@edsis/theme/layout/services';\n\nconst NAVIGATION_FOCUS_SELECTOR =\n '[data-navigation-id=\"main\"] a[href]:not([aria-disabled=\"true\"]), [data-navigation-id=\"main\"] button:not(:disabled):not([aria-disabled=\"true\"])';\nconst CONTENT_FOCUS_SELECTOR = '[data-block-shell-content][tabindex=\"-1\"]';\n\n@Service()\nexport class AppPreferencesPanelService {\n private readonly document = inject(DOCUMENT, { optional: true });\n private readonly injector = inject(Injector);\n private readonly layout = inject(LayoutService);\n private readonly openedState = linkedSignal({\n source: this.layout.type,\n computation: () => false,\n });\n private origin: HTMLElement | null = null;\n private previouslyOpened = false;\n private finalizationPending = false;\n\n readonly supported = computed(() => this.layout.type() === 'vertical');\n readonly opened = this.openedState.asReadonly();\n\n constructor() {\n effect(() => {\n const opened = this.openedState();\n\n if (this.previouslyOpened && !opened) {\n this.finalizeClose();\n }\n\n this.previouslyOpened = opened;\n });\n }\n\n open(trigger?: HTMLElement): boolean {\n if (!this.supported()) {\n return false;\n }\n\n if (!this.openedState() && !this.origin) {\n this.origin = trigger ?? this.activeElement();\n }\n\n this.openedState.set(true);\n return true;\n }\n\n close(): void {\n this.openedState.set(false);\n }\n\n toggle(trigger?: HTMLElement): boolean {\n if (this.openedState()) {\n this.close();\n return false;\n }\n\n return this.open(trigger);\n }\n\n private finalizeClose(): void {\n if (this.finalizationPending) {\n return;\n }\n\n this.finalizationPending = true;\n afterNextRender(\n () => {\n this.finalizationPending = false;\n this.restoreFocus();\n this.origin = null;\n },\n { injector: this.injector },\n );\n }\n\n private restoreFocus(): void {\n const document = this.document;\n if (!document) {\n return;\n }\n\n const candidates = [\n this.origin,\n ...Array.from(document.querySelectorAll<HTMLElement>(NAVIGATION_FOCUS_SELECTOR)),\n document.querySelector<HTMLElement>(CONTENT_FOCUS_SELECTOR),\n ];\n\n for (const candidate of candidates) {\n if (!this.canFocus(candidate)) {\n continue;\n }\n\n candidate.focus({ preventScroll: true });\n if (document.activeElement === candidate) {\n return;\n }\n }\n }\n\n private activeElement(): HTMLElement | null {\n const activeElement = this.document?.activeElement;\n return activeElement instanceof HTMLElement ? activeElement : null;\n }\n\n private canFocus(element: HTMLElement | null): element is HTMLElement {\n if (!element?.isConnected || element.matches(':disabled, [aria-disabled=\"true\"]')) {\n return false;\n }\n\n if (element.closest('[hidden], [inert], [aria-hidden=\"true\"]')) {\n return false;\n }\n\n const view = this.document?.defaultView;\n return !view || element.getClientRects().length > 0;\n }\n}\n","import { Component, input, output } from '@angular/core';\nimport { IconComponent } from '@edsis/component/icon';\nimport { ToggleGroupComponent, ToggleGroupItemDirective } from '@edsis/component/toggle-group';\nimport { TooltipDirective } from '@edsis/component/tooltip';\n\nexport interface AppPreferenceOption {\n readonly value: string;\n readonly label: string;\n readonly icon: string;\n}\n\n@Component({\n selector: 'app-preference-setting-group',\n imports: [IconComponent, ToggleGroupComponent, ToggleGroupItemDirective, TooltipDirective],\n template: `\n <section class=\"border-b border-border/65 px-3 py-2.5 last:border-b-0\">\n <div class=\"flex items-start justify-between gap-3\">\n <div class=\"min-w-0\">\n <h3 [id]=\"headingId()\" class=\"text-sm font-medium text-foreground\">{{ title() }}</h3>\n @if (description()) {\n <p class=\"mt-1 text-xs leading-4 text-muted-foreground\">{{ description() }}</p>\n }\n </div>\n\n <span\n class=\"flex shrink-0 items-center gap-1 font-mono text-xs text-muted-foreground\"\n [attr.aria-label]=\"locked() ? activeLabel() + ', dikunci oleh gaya tema' : null\"\n >\n {{ activeLabel() }}\n @if (locked()) {\n <Icon name=\"lock\" [size]=\"14\" aria-hidden=\"true\" />\n }\n </span>\n </div>\n\n <ToggleGroup\n type=\"single\"\n variant=\"segmented\"\n [value]=\"selected()\"\n [disabled]=\"locked()\"\n [attr.aria-labelledby]=\"headingId()\"\n class=\"mt-2 grid w-full grid-flow-col auto-cols-fr gap-0\"\n (valueChange)=\"onValueChange($event)\"\n >\n @for (option of options(); track option.value) {\n <button\n ToggleGroupItem\n [value]=\"option.value\"\n [Tooltip]=\"option.label\"\n [attr.aria-label]=\"option.label\"\n [attr.title]=\"option.label\"\n class=\"min-h-8 min-w-0 px-1.5 py-1\"\n >\n <Icon [name]=\"option.icon\" [size]=\"16\" />\n </button>\n }\n </ToggleGroup>\n </section>\n `,\n})\nexport class AppPreferenceSettingGroupComponent {\n readonly title = input.required<string>();\n readonly description = input<string | null>(null);\n readonly activeLabel = input.required<string>();\n readonly options = input.required<readonly AppPreferenceOption[]>();\n readonly selected = input.required<string>();\n readonly headingId = input.required<string>();\n readonly locked = input(false);\n readonly optionSelected = output<string>();\n\n protected onValueChange(value: string | null): void {\n if (value !== null && !this.locked()) {\n this.optionSelected.emit(value);\n }\n }\n}\n","import {\n Component,\n ElementRef,\n afterNextRender,\n computed,\n inject,\n output,\n signal,\n} from '@angular/core';\nimport { ButtonComponent } from '@edsis/component/button';\nimport { IconComponent } from '@edsis/component/icon';\nimport {\n NavigationService,\n type NavigationDockbarMode,\n type NavigationOrientation,\n type NavigationPosition,\n type NavigationState,\n type NavigationType,\n type NavigationVerticalType,\n} from '@edsis/navigation/service';\nimport {\n LayoutService,\n isUiLayoutSurface,\n isUiLayoutStyle,\n isUiLayoutType,\n isUiLayoutWidth,\n} from '@edsis/theme/layout';\nimport {\n PageComponent,\n PageContentComponent,\n PageFooterComponent,\n PageHeaderComponent,\n} from '@edsis/theme/page';\nimport {\n THEME_BRANDS,\n THEME_COLORS,\n THEME_MODES,\n THEME_RADII,\n THEME_SPACES,\n THEME_STYLES,\n ThemeBrandService,\n ThemeColorService,\n ThemeModeService,\n ThemeRadiusService,\n ThemeSpaceService,\n ThemeStyleService,\n isThemeBrand,\n isThemeColor,\n isThemeMode,\n isThemeRadius,\n isThemeSpace,\n isThemeStyle,\n isThemeStyleSettingLocked,\n type ThemeStyleSettingKey,\n} from '@edsis/theme/styles';\n\nimport { APP_PREFERENCES_CONFIG } from './app-preferences.config';\nimport { AppPreferencesPanelService } from './app-preferences-panel.service';\nimport {\n AppPreferenceSettingGroupComponent,\n type AppPreferenceOption,\n} from './app-preference-setting-group.component';\n\nconst PRIMARY_NAVIGATION_ID = 'main';\nconst VERTICAL_NAVIGATION_TYPES = ['sidebar', 'dockbar'] as const;\nconst HORIZONTAL_NAVIGATION_TYPES = ['navbar', 'flyout'] as const;\nconst NAVIGATION_LAYOUT_TYPES = ['vertical', 'horizontal'] as const;\nconst DOCKBAR_MODES = ['default', 'sticky', 'drawer'] as const;\n\nconst THEME_STYLE_OPTIONS = {\n dinamic: { label: 'Dinamis', icon: 'auto_awesome' },\n rail: { label: 'Rail', icon: 'view_sidebar' },\n ala: { label: 'Ala', icon: 'palette' },\n aye: { label: 'Aye', icon: 'visibility' },\n desktop: { label: 'Desktop', icon: 'desktop_windows' },\n} as const;\nconst THEME_MODE_OPTIONS = {\n light: { label: 'Terang', icon: 'light_mode' },\n dark: { label: 'Gelap', icon: 'dark_mode' },\n system: { label: 'Sistem', icon: 'contrast' },\n} as const;\nconst THEME_COLOR_OPTIONS = {\n default: { label: 'Default', icon: 'format_color_fill' },\n} as const;\nconst THEME_BRAND_OPTIONS = {\n default: { label: 'Default', icon: 'branding_watermark' },\n} as const;\nconst THEME_SPACE_OPTIONS = {\n normal: { label: 'Normal', icon: 'density_large' },\n compact: { label: 'Ringkas', icon: 'density_small' },\n} as const;\nconst THEME_RADIUS_OPTIONS = {\n none: { label: 'Tanpa radius', icon: 'crop_square' },\n small: { label: 'Kecil', icon: 'rounded_corner' },\n medium: { label: 'Sedang', icon: 'rounded_corner' },\n large: { label: 'Besar', icon: 'rounded_corner' },\n} as const;\nconst LAYOUT_APPEARANCE_OPTIONS = {\n base: { label: 'Dasar', icon: 'crop_square' },\n 'border-rail': { label: 'Border rail', icon: 'border_outer' },\n ala: { label: 'Ala', icon: 'space_dashboard' },\n desktop: { label: 'Desktop', icon: 'desktop_windows' },\n} as const;\nconst LAYOUT_SURFACE_OPTIONS = {\n base: { label: 'Dasar', icon: 'crop_square' },\n flat: { label: 'Datar', icon: 'crop_16_9' },\n grid: { label: 'Grid', icon: 'grid_4x4' },\n} as const;\nconst LAYOUT_WIDTH_OPTIONS = {\n full: { label: 'Penuh', icon: 'width_full' },\n wide: { label: 'Lebar', icon: 'width_wide' },\n container: { label: 'Container', icon: 'width_normal' },\n fluid: { label: 'Fluid', icon: 'fit_screen' },\n} as const;\nconst LAYOUT_TYPE_OPTIONS = {\n vertical: { label: 'Vertikal', icon: 'view_sidebar' },\n horizontal: { label: 'Horizontal', icon: 'view_stream' },\n} as const;\nconst NAVIGATION_TYPE_OPTIONS = {\n sidebar: { label: 'Sidebar', icon: 'left_panel_open' },\n dockbar: { label: 'Dockbar', icon: 'dock_to_left' },\n navbar: { label: 'Navbar', icon: 'top_panel_open' },\n flyout: { label: 'Flyout', icon: 'menu_open' },\n} as const;\nconst NAVIGATION_POSITION_OPTIONS = {\n left: { label: 'Kiri', icon: 'align_horizontal_left' },\n right: { label: 'Kanan', icon: 'align_horizontal_right' },\n top: { label: 'Atas', icon: 'vertical_align_top' },\n bottom: { label: 'Bawah', icon: 'vertical_align_bottom' },\n} as const;\nconst DOCKBAR_MODE_OPTIONS = {\n default: { label: 'Default', icon: 'vertical_align_center' },\n sticky: { label: 'Melekat', icon: 'push_pin' },\n drawer: { label: 'Drawer', icon: 'left_panel_open' },\n} as const;\n\nfunction toOptions(\n values: readonly string[],\n options: Record<string, { readonly label: string; readonly icon: string }>,\n): readonly AppPreferenceOption[] {\n return values.map((value) => ({\n value,\n label: options[value]?.label ?? value,\n icon: options[value]?.icon ?? 'tune',\n }));\n}\n\n@Component({\n selector: 'app-preferences-surface',\n imports: [\n AppPreferenceSettingGroupComponent,\n ButtonComponent,\n IconComponent,\n PageComponent,\n PageContentComponent,\n PageFooterComponent,\n PageHeaderComponent,\n ],\n host: {\n class: 'block h-full min-h-0 w-full',\n },\n templateUrl: './app-preferences-surface.component.html',\n})\nexport class AppPreferencesSurfaceComponent {\n private readonly config = inject(APP_PREFERENCES_CONFIG, { optional: true });\n private readonly preferences = inject(AppPreferencesPanelService);\n private readonly themeMode = inject(ThemeModeService);\n private readonly themeSpace = inject(ThemeSpaceService);\n private readonly themeRadius = inject(ThemeRadiusService);\n private readonly themeStyle = inject(ThemeStyleService);\n private readonly themeColor = inject(ThemeColorService);\n private readonly themeBrand = inject(ThemeBrandService);\n private readonly layout = inject(LayoutService);\n private readonly navigation = inject(NavigationService);\n private readonly host = inject(ElementRef<HTMLElement>);\n\n readonly closeRequested = output<void>();\n protected readonly announcement = signal('');\n protected readonly defaults = this.config?.defaults ?? null;\n protected readonly hasDefaults = computed(() => this.defaults !== null);\n protected readonly mode = this.themeMode.mode;\n protected readonly space = this.themeSpace.space;\n protected readonly radius = this.themeRadius.radius;\n protected readonly style = this.themeStyle.style;\n protected readonly color = this.themeColor.color;\n protected readonly brand = this.themeBrand.brand;\n protected readonly appearance = this.layout.appearance;\n protected readonly surface = this.layout.surface;\n protected readonly width = this.layout.width;\n protected readonly layoutType = this.layout.type;\n protected readonly navigationState = computed<NavigationState>(\n () =>\n this.navigation.state(PRIMARY_NAVIGATION_ID)() ?? {\n id: PRIMARY_NAVIGATION_ID,\n orientation: 'vertical',\n type: 'sidebar',\n position: 'left',\n collapsed: false,\n dockbarMode: 'default',\n },\n );\n\n protected readonly styleOptions = toOptions(THEME_STYLES, THEME_STYLE_OPTIONS);\n protected readonly modeOptions = toOptions(THEME_MODES, THEME_MODE_OPTIONS);\n protected readonly colorOptions = toOptions(THEME_COLORS, THEME_COLOR_OPTIONS);\n protected readonly brandOptions = toOptions(THEME_BRANDS, THEME_BRAND_OPTIONS);\n protected readonly spaceOptions = toOptions(THEME_SPACES, THEME_SPACE_OPTIONS);\n protected readonly radiusOptions = toOptions(THEME_RADII, THEME_RADIUS_OPTIONS);\n protected readonly appearanceOptions = toOptions(\n ['base', 'border-rail', 'ala', 'desktop'],\n LAYOUT_APPEARANCE_OPTIONS,\n );\n protected readonly surfaceOptions = toOptions(['base', 'flat', 'grid'], LAYOUT_SURFACE_OPTIONS);\n protected readonly widthOptions = toOptions(\n ['full', 'wide', 'container', 'fluid'],\n LAYOUT_WIDTH_OPTIONS,\n );\n protected readonly layoutTypeOptions = toOptions(NAVIGATION_LAYOUT_TYPES, LAYOUT_TYPE_OPTIONS);\n protected readonly navigationTypeOptions = computed(() =>\n toOptions(\n this.navigationState().orientation === 'vertical'\n ? VERTICAL_NAVIGATION_TYPES\n : HORIZONTAL_NAVIGATION_TYPES,\n NAVIGATION_TYPE_OPTIONS,\n ),\n );\n protected readonly navigationPositionOptions = computed(() =>\n toOptions(\n this.navigationState().orientation === 'vertical' ? ['left', 'right'] : ['top', 'bottom'],\n NAVIGATION_POSITION_OPTIONS,\n ),\n );\n protected readonly navigationModeOptions = computed<readonly AppPreferenceOption[]>(() =>\n this.navigationState().orientation === 'horizontal'\n ? []\n : this.navigationState().type === 'sidebar'\n ? [\n { value: 'expanded', label: 'Diperluas', icon: 'unfold_more' },\n { value: 'collapsed', label: 'Dipadatkan', icon: 'compress' },\n ]\n : toOptions(DOCKBAR_MODES, DOCKBAR_MODE_OPTIONS),\n );\n protected readonly navigationMode = computed(() => {\n const state = this.navigationState();\n\n if (state.orientation === 'horizontal') return 'default';\n\n return state.type === 'sidebar'\n ? state.collapsed\n ? 'collapsed'\n : 'expanded'\n : state.dockbarMode;\n });\n protected readonly navigationModeLabel = computed(() => {\n const state = this.navigationState();\n\n if (state.orientation === 'horizontal') return 'Default';\n\n return state.type === 'sidebar'\n ? state.collapsed\n ? 'Dipadatkan'\n : 'Diperluas'\n : DOCKBAR_MODE_OPTIONS[state.dockbarMode].label;\n });\n protected readonly navigationTypeLabel = computed(\n () => NAVIGATION_TYPE_OPTIONS[this.navigationState().type].label,\n );\n protected readonly navigationPositionLabel = computed(\n () => NAVIGATION_POSITION_OPTIONS[this.navigationState().position].label,\n );\n\n constructor() {\n const host = this.host.nativeElement as HTMLElement;\n afterNextRender(() => {\n const closeButton = host.querySelector(\n '[data-app-preferences-close]',\n ) as HTMLButtonElement | null;\n closeButton?.focus({ preventScroll: true });\n });\n }\n\n protected selectStyle(value: string): void {\n if (!isThemeStyle(value)) return;\n\n // A style may switch the shell between sidebar and dockbar. Close the\n // currently projected panel first so the navigation tree and preferences\n // surface do not transition at the same time.\n this.preferences.close();\n this.themeStyle.setStyle(value);\n }\n\n protected selectMode(value: string): void {\n if (!this.isLocked('theme-mode') && isThemeMode(value)) this.themeMode.setMode(value);\n }\n\n protected selectColor(value: string): void {\n if (!this.isLocked('theme-color') && isThemeColor(value)) this.themeColor.setColor(value);\n }\n\n protected selectBrand(value: string): void {\n if (!this.isLocked('theme-brand') && isThemeBrand(value)) this.themeBrand.setBrand(value);\n }\n\n protected selectSpace(value: string): void {\n if (!this.isLocked('theme-space') && isThemeSpace(value)) this.themeSpace.setSpace(value);\n }\n\n protected selectRadius(value: string): void {\n if (!this.isLocked('theme-radius') && isThemeRadius(value)) this.themeRadius.setRadius(value);\n }\n\n protected selectAppearance(value: string): void {\n if (!this.isLocked('layout-appearance') && isUiLayoutStyle(value)) {\n this.layout.setAppearance(value);\n }\n }\n\n protected selectSurface(value: string): void {\n if (!this.isLocked('layout-surface') && isUiLayoutSurface(value)) {\n this.layout.setSurface(value);\n }\n }\n\n protected selectWidth(value: string): void {\n if (!this.isLocked('layout-width') && isUiLayoutWidth(value)) this.layout.setWidth(value);\n }\n\n protected selectLayoutType(value: string): void {\n if (\n this.isLayoutTypeLocked() ||\n !isUiLayoutType(value) ||\n !(NAVIGATION_LAYOUT_TYPES as readonly string[]).includes(value)\n ) {\n return;\n }\n\n const orientation = value as NavigationOrientation;\n const state = this.navigationState();\n const type = isNavigationTypeForOrientation(state.type, orientation)\n ? state.type\n : orientation === 'vertical'\n ? 'sidebar'\n : 'navbar';\n const position = isNavigationPositionForOrientation(state.position, orientation)\n ? state.position\n : orientation === 'vertical'\n ? 'left'\n : 'top';\n\n this.layout.setType(value);\n this.navigation.update(PRIMARY_NAVIGATION_ID, { orientation, type, position });\n }\n\n protected selectNavigationType(value: string): void {\n const state = this.navigationState();\n\n if (!this.isLocked('nav-type') && isNavigationTypeForOrientation(value, state.orientation)) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, { type: value });\n }\n }\n\n protected selectNavigationMode(value: string): void {\n const state = this.navigationState();\n\n if (this.isLocked('nav-type-mode')) return;\n\n if (state.type === 'sidebar' && (value === 'expanded' || value === 'collapsed')) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, { collapsed: value === 'collapsed' });\n }\n\n if (state.type === 'dockbar' && (DOCKBAR_MODES as readonly string[]).includes(value)) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, {\n dockbarMode: value as NavigationDockbarMode,\n });\n }\n }\n\n protected selectNavigationPosition(value: string): void {\n const state = this.navigationState();\n\n if (\n !this.isLocked('nav-position') &&\n isNavigationPositionForOrientation(value, state.orientation)\n ) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, { position: value });\n }\n }\n\n protected resetToDefaults(): void {\n const defaults = this.defaults;\n if (!defaults) return;\n\n let changed = false;\n if (!this.isLocked('theme-mode') && this.mode() !== defaults.theme.mode) {\n this.themeMode.setMode(defaults.theme.mode);\n changed = true;\n }\n if (!this.isLocked('theme-color') && this.color() !== defaults.theme.color) {\n this.themeColor.setColor(defaults.theme.color);\n changed = true;\n }\n if (!this.isLocked('theme-brand') && this.brand() !== defaults.theme.brand) {\n this.themeBrand.setBrand(defaults.theme.brand);\n changed = true;\n }\n if (!this.isLocked('theme-space') && this.space() !== defaults.theme.space) {\n this.themeSpace.setSpace(defaults.theme.space);\n changed = true;\n }\n if (!this.isLocked('theme-radius') && this.radius() !== defaults.theme.radius) {\n this.themeRadius.setRadius(defaults.theme.radius);\n changed = true;\n }\n if (this.style() !== defaults.theme.style) {\n this.themeStyle.setStyle(defaults.theme.style);\n changed = true;\n }\n if (!this.isLocked('layout-appearance') && this.appearance() !== defaults.layout.appearance) {\n this.layout.setAppearance(defaults.layout.appearance);\n changed = true;\n }\n if (!this.isLocked('layout-surface') && this.surface() !== defaults.layout.surface) {\n this.layout.setSurface(defaults.layout.surface);\n changed = true;\n }\n if (!this.isLocked('layout-width') && this.width() !== defaults.layout.width) {\n this.layout.setWidth(defaults.layout.width);\n changed = true;\n }\n if (!this.isLayoutTypeLocked() && this.layoutType() !== defaults.layout.type) {\n this.selectLayoutType(defaults.layout.type);\n changed = true;\n }\n\n const navigation = this.navigationState();\n const nextNavigation = {\n orientation: this.isLocked('nav-orientation')\n ? navigation.orientation\n : defaults.navigation.orientation,\n type: this.isLocked('nav-type') ? navigation.type : defaults.navigation.type,\n position: this.isLocked('nav-position') ? navigation.position : defaults.navigation.position,\n collapsed: this.isLocked('nav-type-mode')\n ? navigation.collapsed\n : defaults.navigation.collapsed,\n dockbarMode: this.isLocked('nav-type-mode')\n ? navigation.dockbarMode\n : defaults.navigation.dockbarMode,\n };\n if (\n navigation.orientation !== nextNavigation.orientation ||\n navigation.type !== nextNavigation.type ||\n navigation.position !== nextNavigation.position ||\n navigation.collapsed !== nextNavigation.collapsed ||\n navigation.dockbarMode !== nextNavigation.dockbarMode\n ) {\n this.navigation.update(PRIMARY_NAVIGATION_ID, nextNavigation);\n changed = true;\n }\n\n this.announce(\n changed ? 'Preferensi dikembalikan ke default.' : 'Preferensi sudah menggunakan default.',\n );\n }\n\n private announce(message: string): void {\n this.announcement.set('');\n queueMicrotask(() => this.announcement.set(message));\n }\n\n protected isLocked(key: ThemeStyleSettingKey): boolean {\n return isThemeStyleSettingLocked(this.style(), key);\n }\n\n protected isLayoutTypeLocked(): boolean {\n return this.isLocked('layout-type') || this.isLocked('nav-orientation');\n }\n}\n\nfunction isNavigationTypeForOrientation(\n value: string,\n orientation: NavigationOrientation,\n): value is NavigationType {\n return orientation === 'vertical'\n ? (VERTICAL_NAVIGATION_TYPES as readonly string[]).includes(value)\n : (HORIZONTAL_NAVIGATION_TYPES as readonly string[]).includes(value);\n}\n\nfunction isNavigationPositionForOrientation(\n value: string,\n orientation: NavigationOrientation,\n): value is NavigationPosition {\n return orientation === 'vertical'\n ? value === 'left' || value === 'right'\n : value === 'top' || value === 'bottom';\n}\n","<Page variant=\"stacked\" height=\"fix\" scroll=\"content\" class=\"bg-background\">\n <PageHeader class=\"h-11 px-3 py-0\">\n <div class=\"flex h-full items-center justify-between gap-3\">\n <h2\n id=\"app-preferences-title\"\n class=\"min-w-0 truncate text-base font-semibold text-foreground\"\n >\n Preferensi aplikasi\n </h2>\n <button\n type=\"button\"\n Button\n variant=\"ghost\"\n size=\"icon\"\n class=\"h-11 w-11 shrink-0\"\n data-app-preferences-close\n aria-label=\"Tutup preferensi aplikasi\"\n (click)=\"closeRequested.emit()\"\n >\n <Icon name=\"close\" [size]=\"20\" />\n </button>\n </div>\n </PageHeader>\n\n <PageContent class=\"overscroll-contain bg-muted/20\">\n <div class=\"space-y-5 p-3\">\n <p class=\"text-xs leading-4 text-muted-foreground\">\n Sesuaikan tampilan dan navigasi aplikasi.\n </p>\n\n <section aria-labelledby=\"app-preferences-theme\" class=\"space-y-2\">\n <h2\n id=\"app-preferences-theme\"\n class=\"text-xs font-semibold tracking-wide text-muted-foreground\"\n >\n Tema\n </h2>\n <app-preference-setting-group\n headingId=\"app-preferences-style\"\n title=\"Gaya tema\"\n [activeLabel]=\"styleOptions.find((option) => option.value === style())?.label ?? style()\"\n [options]=\"styleOptions\"\n [selected]=\"style()\"\n (optionSelected)=\"selectStyle($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-mode\"\n title=\"Mode warna\"\n description=\"Sistem mengikuti preferensi perangkat.\"\n [activeLabel]=\"modeOptions.find((option) => option.value === mode())?.label ?? mode()\"\n [options]=\"modeOptions\"\n [selected]=\"mode()\"\n [locked]=\"isLocked('theme-mode')\"\n (optionSelected)=\"selectMode($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-color\"\n title=\"Warna tema\"\n [activeLabel]=\"colorOptions.find((option) => option.value === color())?.label ?? color()\"\n [options]=\"colorOptions\"\n [selected]=\"color()\"\n [locked]=\"isLocked('theme-color')\"\n (optionSelected)=\"selectColor($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-brand\"\n title=\"Brand\"\n [activeLabel]=\"brandOptions.find((option) => option.value === brand())?.label ?? brand()\"\n [options]=\"brandOptions\"\n [selected]=\"brand()\"\n [locked]=\"isLocked('theme-brand')\"\n (optionSelected)=\"selectBrand($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-space\"\n title=\"Kerapatan\"\n [activeLabel]=\"spaceOptions.find((option) => option.value === space())?.label ?? space()\"\n [options]=\"spaceOptions\"\n [selected]=\"space()\"\n [locked]=\"isLocked('theme-space')\"\n (optionSelected)=\"selectSpace($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-radius\"\n title=\"Sudut\"\n [activeLabel]=\"\n radiusOptions.find((option) => option.value === radius())?.label ?? radius()\n \"\n [options]=\"radiusOptions\"\n [selected]=\"radius()\"\n [locked]=\"isLocked('theme-radius')\"\n (optionSelected)=\"selectRadius($event)\"\n />\n </section>\n\n <section aria-labelledby=\"app-preferences-layout\" class=\"space-y-2\">\n <h2\n id=\"app-preferences-layout\"\n class=\"text-xs font-semibold tracking-wide text-muted-foreground\"\n >\n Layout\n </h2>\n <app-preference-setting-group\n headingId=\"app-preferences-appearance\"\n title=\"Bingkai\"\n [activeLabel]=\"\n appearanceOptions.find((option) => option.value === appearance())?.label ?? appearance()\n \"\n [options]=\"appearanceOptions\"\n [selected]=\"appearance()\"\n [locked]=\"isLocked('layout-appearance')\"\n (optionSelected)=\"selectAppearance($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-surface\"\n title=\"Latar\"\n [activeLabel]=\"\n surfaceOptions.find((option) => option.value === surface())?.label ?? surface()\n \"\n [options]=\"surfaceOptions\"\n [selected]=\"surface()\"\n [locked]=\"isLocked('layout-surface')\"\n (optionSelected)=\"selectSurface($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-layout-type\"\n title=\"Tipe layout\"\n [activeLabel]=\"\n layoutTypeOptions.find((option) => option.value === layoutType())?.label ?? layoutType()\n \"\n [options]=\"layoutTypeOptions\"\n [selected]=\"layoutType()\"\n [locked]=\"isLayoutTypeLocked()\"\n (optionSelected)=\"selectLayoutType($event)\"\n />\n <app-preference-setting-group\n headingId=\"app-preferences-width\"\n title=\"Lebar konten\"\n [activeLabel]=\"widthOptions.find((option) => option.value === width())?.label ?? width()\"\n [options]=\"widthOptions\"\n [selected]=\"width()\"\n [locked]=\"isLocked('layout-width')\"\n (optionSelected)=\"selectWidth($event)\"\n />\n </section>\n\n <section aria-labelledby=\"app-preferences-navigation\" class=\"space-y-2\">\n <h2\n id=\"app-preferences-navigation\"\n class=\"text-xs font-semibold tracking-wide text-muted-foreground\"\n >\n Navigasi\n </h2>\n <app-preference-setting-group\n headingId=\"app-preferences-navigation-type\"\n title=\"Tipe navigation\"\n [activeLabel]=\"navigationTypeLabel()\"\n [options]=\"navigationTypeOptions()\"\n [selected]=\"navigationState().type\"\n [locked]=\"isLocked('nav-type')\"\n (optionSelected)=\"selectNavigationType($event)\"\n />\n @if (navigationState().orientation === 'vertical') {\n <app-preference-setting-group\n headingId=\"app-preferences-navigation-mode\"\n title=\"Mode navigation\"\n [activeLabel]=\"navigationModeLabel()\"\n [options]=\"navigationModeOptions()\"\n [selected]=\"navigationMode()\"\n [locked]=\"isLocked('nav-type-mode')\"\n (optionSelected)=\"selectNavigationMode($event)\"\n />\n }\n <app-preference-setting-group\n headingId=\"app-preferences-navigation-position\"\n title=\"Posisi navigation\"\n [activeLabel]=\"navigationPositionLabel()\"\n [options]=\"navigationPositionOptions()\"\n [selected]=\"navigationState().position\"\n [locked]=\"isLocked('nav-position')\"\n (optionSelected)=\"selectNavigationPosition($event)\"\n />\n </section>\n </div>\n </PageContent>\n\n @if (hasDefaults()) {\n <PageFooter class=\"px-3 py-0\">\n <button\n type=\"button\"\n Button\n variant=\"ghost\"\n class=\"h-full w-full justify-start\"\n (click)=\"resetToDefaults()\"\n >\n <Icon name=\"restart_alt\" [size]=\"18\" />\n Kembalikan default\n </button>\n </PageFooter>\n }\n\n <p class=\"sr-only\" aria-live=\"polite\" aria-atomic=\"true\">{{ announcement() }}</p>\n</Page>\n","import { DOCUMENT } from '@angular/common';\nimport { Component, DestroyRef, computed, effect, inject, signal } from '@angular/core';\nimport { SheetComponent } from '@edsis/component/sheet';\nimport { NavigationService, type NavigationState } from '@edsis/navigation/service';\n\nimport { AppPreferencesPanelService } from './app-preferences-panel.service';\nimport { AppPreferencesSurfaceComponent } from './app-preferences-surface.component';\n\nconst PRIMARY_NAVIGATION_ID = 'main';\nconst NARROW_VIEWPORT_QUERY = '(max-width: 767.98px)';\n\n@Component({\n selector: 'app-preferences',\n imports: [AppPreferencesSurfaceComponent, SheetComponent],\n host: {\n '[class]': 'hostClass()',\n '[attr.role]': 'inline() ? \"region\" : null',\n '[attr.aria-labelledby]': 'inline() ? \"app-preferences-title\" : null',\n },\n template: `\n @if (inline()) {\n <section\n id=\"app-preferences-panel\"\n class=\"h-full min-h-0 w-full\"\n aria-labelledby=\"app-preferences-title\"\n >\n <app-preferences-surface (closeRequested)=\"preferences.close()\" />\n </section>\n } @else {\n <Sheet\n [open]=\"preferences.opened()\"\n side=\"left\"\n [showCloseButton]=\"false\"\n [restoreFocus]=\"false\"\n aria-labelledby=\"app-preferences-title\"\n class=\"w-[min(19rem,calc(100dvw-2rem))]! max-w-none! gap-0! p-0!\"\n (openedChange)=\"onSheetOpenChange($event)\"\n >\n <app-preferences-surface\n id=\"app-preferences-panel\"\n (closeRequested)=\"preferences.close()\"\n />\n </Sheet>\n }\n `,\n})\nexport class AppPreferencesComponent {\n private readonly document = inject(DOCUMENT, { optional: true });\n private readonly destroyRef = inject(DestroyRef);\n private readonly navigation = inject(NavigationService);\n protected readonly preferences = inject(AppPreferencesPanelService);\n private readonly narrowState = signal(this.mediaQuery()?.matches ?? false);\n private readonly navigationState = computed<NavigationState>(\n () =>\n this.navigation.state(PRIMARY_NAVIGATION_ID)() ?? {\n id: PRIMARY_NAVIGATION_ID,\n orientation: 'vertical',\n type: 'sidebar',\n position: 'left',\n collapsed: false,\n dockbarMode: 'default',\n },\n );\n\n protected readonly inline = computed(\n () =>\n !this.narrowState() &&\n this.navigationState().type === 'sidebar' &&\n !this.navigationState().collapsed,\n );\n protected readonly hostClass = computed(() =>\n this.inline() ? 'block h-full w-76 border-r border-border' : 'relative block h-full w-16',\n );\n\n constructor() {\n const mediaQuery = this.mediaQuery();\n const onChange = (event: MediaQueryListEvent) => this.narrowState.set(event.matches);\n\n mediaQuery?.addEventListener('change', onChange);\n effect((onCleanup) => {\n if (!this.inline() || !this.preferences.opened()) {\n return;\n }\n\n const onKeydown = (event: KeyboardEvent) => {\n if (event.key === 'Escape' && !event.defaultPrevented) {\n this.preferences.close();\n }\n };\n\n this.document?.addEventListener('keydown', onKeydown);\n onCleanup(() => this.document?.removeEventListener('keydown', onKeydown));\n });\n this.destroyRef.onDestroy(() => {\n mediaQuery?.removeEventListener('change', onChange);\n if (this.preferences.opened()) this.preferences.close();\n });\n }\n\n protected onSheetOpenChange(open: boolean): void {\n if (!open) this.preferences.close();\n }\n\n private mediaQuery(): MediaQueryList | null {\n return this.document?.defaultView?.matchMedia?.(NARROW_VIEWPORT_QUERY) ?? null;\n }\n}\n","import { Directive, ElementRef, computed, inject } from '@angular/core';\nimport { AppPreferencesPanelService } from './app-preferences-panel.service';\n\n@Directive({\n selector: '[appPreferencesTrigger]',\n host: {\n '[attr.aria-expanded]': 'preferences.opened()',\n '[attr.aria-controls]': 'preferences.opened() ? \"app-preferences-panel\" : null',\n '[attr.aria-disabled]': 'isButton() && !preferences.supported() ? \"true\" : null',\n '[attr.disabled]': 'isButton() && !preferences.supported() ? \"\" : null',\n '(click)': 'onClick($event)',\n },\n})\nexport class AppPreferencesTriggerDirective {\n private readonly elementRef = inject(ElementRef<HTMLElement>);\n protected readonly preferences = inject(AppPreferencesPanelService);\n protected readonly isButton = computed(\n () => this.elementRef.nativeElement.localName === 'button',\n );\n\n protected onClick(event: MouseEvent): void {\n if (this.preferences.open(this.elementRef.nativeElement)) {\n event.preventDefault();\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["PRIMARY_NAVIGATION_ID","Lay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,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAV1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,IAAI,EAAE;AACJ,wBAAA,sBAAsB,EAAE,sBAAsB;AAC9C,wBAAA,sBAAsB,EAAE,uDAAuD;AAC/E,wBAAA,sBAAsB,EAAE,wDAAwD;AAChF,wBAAA,iBAAiB,EAAE,oDAAoD;AACvE,wBAAA,SAAS,EAAE,iBAAiB;AAC7B,qBAAA;AACF,iBAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -292,10 +292,10 @@ class AuthService {
|
|
|
292
292
|
this.userState.set(user);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
296
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
295
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
296
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
297
297
|
}
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthService, decorators: [{
|
|
299
299
|
type: Injectable,
|
|
300
300
|
args: [{ providedIn: 'root' }]
|
|
301
301
|
}] });
|
|
@@ -401,10 +401,10 @@ class AuthHealthService {
|
|
|
401
401
|
this.inFlight = false;
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
405
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
404
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthHealthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
405
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthHealthService });
|
|
406
406
|
}
|
|
407
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthHealthService, decorators: [{
|
|
408
408
|
type: Injectable
|
|
409
409
|
}] });
|
|
410
410
|
|
|
@@ -485,8 +485,8 @@ function consumeGoogleOauthState(documentRef) {
|
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
class AuthShellPage {
|
|
488
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
489
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
488
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthShellPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
489
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.7", type: AuthShellPage, isStandalone: true, selector: "edsis-auth-shell-page", host: { classAttribute: "contents" }, ngImport: i0, template: `
|
|
490
490
|
<Layout surface="grid" appearance="border-rail" width="fluid">
|
|
491
491
|
<LayoutFluid>
|
|
492
492
|
<div class="w-full max-w-xl">
|
|
@@ -496,7 +496,7 @@ class AuthShellPage {
|
|
|
496
496
|
</Layout>
|
|
497
497
|
`, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: LayoutComponent, selector: "Layout", inputs: ["surface", "appearance", "layout-style", "width", "class"] }, { kind: "component", type: LayoutFluidComponent, selector: "LayoutFluid", inputs: ["class"] }] });
|
|
498
498
|
}
|
|
499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthShellPage, decorators: [{
|
|
500
500
|
type: Component,
|
|
501
501
|
args: [{
|
|
502
502
|
selector: 'edsis-auth-shell-page',
|
|
@@ -678,8 +678,8 @@ class AuthGoogleCallbackPage {
|
|
|
678
678
|
this.state.set('error');
|
|
679
679
|
this.message.set(message);
|
|
680
680
|
}
|
|
681
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
682
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
681
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthGoogleCallbackPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
682
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: AuthGoogleCallbackPage, isStandalone: true, selector: "AuthGoogleCallbackPage", host: { classAttribute: "block" }, viewQueries: [{ propertyName: "retryLink", first: true, predicate: ["retryLink"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: `
|
|
683
683
|
<Card
|
|
684
684
|
class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm"
|
|
685
685
|
>
|
|
@@ -745,7 +745,7 @@ class AuthGoogleCallbackPage {
|
|
|
745
745
|
</Card>
|
|
746
746
|
`, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: AlertComponent, selector: "Alert", inputs: ["variant", "class"] }, { kind: "component", type: AlertDescriptionComponent, selector: "AlertDescription", inputs: ["class"] }, { kind: "component", type: AspectRatioComponent, selector: "AspectRatio", inputs: ["ratio", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: CardActionComponent, selector: "CardAction", inputs: ["class"] }, { kind: "component", type: CardComponent, selector: "Card", inputs: ["size", "class"] }, { kind: "component", type: CardContentComponent, selector: "CardContent", inputs: ["class"] }, { kind: "component", type: CardDescriptionComponent, selector: "CardDescription, p[CardDescription]", inputs: ["class"] }, { kind: "component", type: CardFooterComponent, selector: "CardFooter", inputs: ["class"] }, { kind: "component", type: CardHeaderComponent, selector: "CardHeader", inputs: ["class"] }, { kind: "component", type: CardTitleComponent, selector: "CardTitle, h3[CardTitle]", inputs: ["class"] }, { kind: "component", type: SpinnerComponent, selector: "Spinner", inputs: ["class", "decorative", "aria-label", "aria-labelledby"] }] });
|
|
747
747
|
}
|
|
748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
748
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthGoogleCallbackPage, decorators: [{
|
|
749
749
|
type: Component,
|
|
750
750
|
args: [{
|
|
751
751
|
selector: 'AuthGoogleCallbackPage',
|
|
@@ -981,8 +981,8 @@ class AuthLoginPage {
|
|
|
981
981
|
},
|
|
982
982
|
});
|
|
983
983
|
}
|
|
984
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
985
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
984
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthLoginPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
985
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: AuthLoginPage, isStandalone: true, selector: "edsis-auth-login-page", host: { classAttribute: "block" }, viewQueries: [{ propertyName: "retryButton", first: true, predicate: ["healthRetryButton"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: `
|
|
986
986
|
<Card
|
|
987
987
|
class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm"
|
|
988
988
|
>
|
|
@@ -1214,7 +1214,7 @@ class AuthLoginPage {
|
|
|
1214
1214
|
</Card>
|
|
1215
1215
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: AspectRatioComponent, selector: "AspectRatio", inputs: ["ratio", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: CardActionComponent, selector: "CardAction", inputs: ["class"] }, { kind: "component", type: CardComponent, selector: "Card", inputs: ["size", "class"] }, { kind: "component", type: CardContentComponent, selector: "CardContent", inputs: ["class"] }, { kind: "component", type: CardDescriptionComponent, selector: "CardDescription, p[CardDescription]", inputs: ["class"] }, { kind: "component", type: CardHeaderComponent, selector: "CardHeader", inputs: ["class"] }, { kind: "component", type: CardTitleComponent, selector: "CardTitle, h3[CardTitle]", inputs: ["class"] }, { kind: "component", type: InputGroupAddonComponent, selector: "InputGroupAddon", inputs: ["align", "class"] }, { kind: "component", type: InputGroupButtonComponent, selector: "button[InputGroupButton], a[InputGroupButton]", inputs: ["variant", "size", "class"] }, { kind: "component", type: InputGroupComponent, selector: "InputGroup", inputs: ["class"] }, { kind: "component", type: InputGroupInputComponent, selector: "input[InputGroupInput]", inputs: ["class"] }, { kind: "component", type: LabelComponent, selector: "Label, label[Label]", inputs: ["for", "class"] }, { kind: "component", type: SeparatorComponent, selector: "Separator", inputs: ["orientation", "decorative", "class"] }] });
|
|
1216
1216
|
}
|
|
1217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthLoginPage, decorators: [{
|
|
1218
1218
|
type: Component,
|
|
1219
1219
|
args: [{
|
|
1220
1220
|
selector: 'edsis-auth-login-page',
|
|
@@ -1503,8 +1503,8 @@ class AuthLogoutPage {
|
|
|
1503
1503
|
},
|
|
1504
1504
|
});
|
|
1505
1505
|
}
|
|
1506
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1507
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1506
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthLogoutPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1507
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: AuthLogoutPage, isStandalone: true, selector: "edsis-auth-logout-page", host: { classAttribute: "block" }, ngImport: i0, template: `
|
|
1508
1508
|
<Card
|
|
1509
1509
|
class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm"
|
|
1510
1510
|
>
|
|
@@ -1570,7 +1570,7 @@ class AuthLogoutPage {
|
|
|
1570
1570
|
</Card>
|
|
1571
1571
|
`, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: AlertComponent, selector: "Alert", inputs: ["variant", "class"] }, { kind: "component", type: AlertDescriptionComponent, selector: "AlertDescription", inputs: ["class"] }, { kind: "component", type: AspectRatioComponent, selector: "AspectRatio", inputs: ["ratio", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: CardActionComponent, selector: "CardAction", inputs: ["class"] }, { kind: "component", type: CardComponent, selector: "Card", inputs: ["size", "class"] }, { kind: "component", type: CardContentComponent, selector: "CardContent", inputs: ["class"] }, { kind: "component", type: CardDescriptionComponent, selector: "CardDescription, p[CardDescription]", inputs: ["class"] }, { kind: "component", type: CardFooterComponent, selector: "CardFooter", inputs: ["class"] }, { kind: "component", type: CardHeaderComponent, selector: "CardHeader", inputs: ["class"] }, { kind: "component", type: CardTitleComponent, selector: "CardTitle, h3[CardTitle]", inputs: ["class"] }, { kind: "component", type: SpinnerComponent, selector: "Spinner", inputs: ["class", "decorative", "aria-label", "aria-labelledby"] }] });
|
|
1572
1572
|
}
|
|
1573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthLogoutPage, decorators: [{
|
|
1574
1574
|
type: Component,
|
|
1575
1575
|
args: [{
|
|
1576
1576
|
selector: 'edsis-auth-logout-page',
|
|
@@ -1740,8 +1740,8 @@ class AuthVerifyPage {
|
|
|
1740
1740
|
},
|
|
1741
1741
|
});
|
|
1742
1742
|
}
|
|
1743
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1744
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1743
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthVerifyPage, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1744
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.7", type: AuthVerifyPage, isStandalone: true, selector: "edsis-auth-verify-page", inputs: { token: { classPropertyName: "token", publicName: "token", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "block" }, ngImport: i0, template: `
|
|
1745
1745
|
<Card
|
|
1746
1746
|
class="w-full overflow-hidden rounded-none border-border/80 bg-card/95 shadow-2xl backdrop-blur-sm"
|
|
1747
1747
|
>
|
|
@@ -1808,7 +1808,7 @@ class AuthVerifyPage {
|
|
|
1808
1808
|
</Card>
|
|
1809
1809
|
`, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type: AlertComponent, selector: "Alert", inputs: ["variant", "class"] }, { kind: "component", type: AlertDescriptionComponent, selector: "AlertDescription", inputs: ["class"] }, { kind: "component", type: AspectRatioComponent, selector: "AspectRatio", inputs: ["ratio", "class"] }, { kind: "component", type: ButtonComponent, selector: "button[Button], a[Button]", inputs: ["variant", "size", "class"] }, { kind: "component", type: CardActionComponent, selector: "CardAction", inputs: ["class"] }, { kind: "component", type: CardComponent, selector: "Card", inputs: ["size", "class"] }, { kind: "component", type: CardContentComponent, selector: "CardContent", inputs: ["class"] }, { kind: "component", type: CardDescriptionComponent, selector: "CardDescription, p[CardDescription]", inputs: ["class"] }, { kind: "component", type: CardFooterComponent, selector: "CardFooter", inputs: ["class"] }, { kind: "component", type: CardHeaderComponent, selector: "CardHeader", inputs: ["class"] }, { kind: "component", type: CardTitleComponent, selector: "CardTitle, h3[CardTitle]", inputs: ["class"] }, { kind: "component", type: SpinnerComponent, selector: "Spinner", inputs: ["class", "decorative", "aria-label", "aria-labelledby"] }] });
|
|
1810
1810
|
}
|
|
1811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: AuthVerifyPage, decorators: [{
|
|
1812
1812
|
type: Component,
|
|
1813
1813
|
args: [{
|
|
1814
1814
|
selector: 'edsis-auth-verify-page',
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edsis/angular",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.70",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=22.0.0",
|
|
6
6
|
"@angular/core": ">=22.0.0",
|
|
7
7
|
"@angular/forms": ">=22.0.0",
|
|
8
8
|
"@angular/router": ">=22.0.0",
|
|
9
|
-
"@edsis/navigation": "^22.0.
|
|
10
|
-
"@edsis/sdk": "^22.0.
|
|
11
|
-
"@edsis/theme": "^22.0.
|
|
12
|
-
"@edsis/component": "^22.0.
|
|
9
|
+
"@edsis/navigation": "^22.0.70",
|
|
10
|
+
"@edsis/sdk": "^22.0.70",
|
|
11
|
+
"@edsis/theme": "^22.0.70",
|
|
12
|
+
"@edsis/component": "^22.0.70",
|
|
13
13
|
"rxjs": ">=7.8.0"
|
|
14
14
|
},
|
|
15
15
|
"peerDependenciesMeta": {
|