@ojiepermana/angular 22.2.15 → 22.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -6
- package/SUPPORT.md +23 -9
- package/chart/README.md +1 -1
- package/component/README.md +1 -1
- package/component/composer/README.md +3 -0
- package/component/editor/README.md +3 -0
- package/fesm2022/ojiepermana-angular-chart-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-bar.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-core.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-line.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-radar.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-radial.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +27 -27
- package/fesm2022/ojiepermana-angular-component-alert.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-badge.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-button.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-card.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-command.mjs +27 -27
- package/fesm2022/ojiepermana-angular-component-composer.mjs +89 -40
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +39 -39
- package/fesm2022/ojiepermana-angular-component-editor.mjs +86 -30
- package/fesm2022/ojiepermana-angular-component-empty.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-form.mjs +36 -36
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-icon.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-input.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-item.mjs +30 -30
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +27 -27
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-label.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +10 -10
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-popover.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-progress.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-radio.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-resizable.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-select.mjs +8 -8
- package/fesm2022/ojiepermana-angular-component-separator.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-slider.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-switch.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-table.mjs +24 -24
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +4 -4
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-toast.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-utils-core.mjs +7 -1
- package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +3 -3
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +3 -3
- package/fesm2022/{ojiepermana-angular-navigation-navigation-badge-count.component-Bx89vXtg.mjs → ojiepermana-angular-navigation-navigation-badge-count.component-B8lxwAAQ.mjs} +31 -21
- package/fesm2022/{ojiepermana-angular-navigation-navigation-dockbar-menu.component-CSs3QW5t.mjs → ojiepermana-angular-navigation-navigation-dockbar-menu.component-CYtBogW_.mjs} +6 -6
- package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-Cgq8iaRG.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-_8xg5lk4.mjs} +9 -4
- package/fesm2022/{ojiepermana-angular-navigation-navigation-flyout-menu.component-7Drr8U4O.mjs → ojiepermana-angular-navigation-navigation-flyout-menu.component-4TWyDz3S.mjs} +7 -7
- package/fesm2022/{ojiepermana-angular-navigation-navigation-horizontal.component-BrRGBBcK.mjs → ojiepermana-angular-navigation-navigation-horizontal.component-kREBNZlK.mjs} +6 -6
- package/fesm2022/{ojiepermana-angular-navigation-navigation-item.component-DAxMpuW_.mjs → ojiepermana-angular-navigation-navigation-item.component-BVOnGfvp.mjs} +25 -12
- package/fesm2022/{ojiepermana-angular-navigation-navigation-list.component-Bs6dssld.mjs → ojiepermana-angular-navigation-navigation-list.component-D92MNDsa.mjs} +4 -4
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +3 -3
- package/fesm2022/ojiepermana-angular-navigation.mjs +84 -63
- package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +20 -19
- package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +6 -6
- package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +54 -30
- package/fesm2022/ojiepermana-angular-theme-layout.mjs +24 -24
- package/fesm2022/ojiepermana-angular-theme-on-fill.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-core.mjs +163 -95
- package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +15 -23
- package/fesm2022/ojiepermana-angular-theme-page-overview.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-root.mjs +18 -9
- package/fesm2022/ojiepermana-angular-theme-page-side.mjs +16 -24
- package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +12 -12
- package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-shell.mjs +10 -9
- package/fesm2022/ojiepermana-angular-theme-styles.mjs +19 -19
- package/navigation/README.md +19 -1
- package/package.json +13 -13
- package/sdk/README.md +4 -0
- package/sdk/schematics/ng-add/index.js +36 -5
- package/sdk/src/parser/ir.js +4 -3
- package/sdk/src/writer/index.js +3 -3
- package/theme/README.md +1 -1
- package/theme/page/README.md +5 -3
- package/theme/styles/css/base/components.css +90 -0
- package/theme/styles/css/base/tokens.css +13 -0
- package/types/ojiepermana-angular-chart-area.d.ts +3 -0
- package/types/ojiepermana-angular-chart-bar.d.ts +3 -0
- package/types/ojiepermana-angular-chart-core.d.ts +3 -0
- package/types/ojiepermana-angular-chart-line.d.ts +3 -0
- package/types/ojiepermana-angular-chart-pie.d.ts +3 -0
- package/types/ojiepermana-angular-chart-primitives.d.ts +3 -0
- package/types/ojiepermana-angular-chart-radar.d.ts +3 -0
- package/types/ojiepermana-angular-chart-radial.d.ts +3 -0
- package/types/ojiepermana-angular-chart-scatter.d.ts +3 -0
- package/types/ojiepermana-angular-chart.d.ts +3 -0
- package/types/ojiepermana-angular-component-accordion.d.ts +3 -0
- package/types/ojiepermana-angular-component-alert-dialog.d.ts +3 -0
- package/types/ojiepermana-angular-component-alert.d.ts +3 -0
- package/types/ojiepermana-angular-component-aspect-ratio.d.ts +3 -0
- package/types/ojiepermana-angular-component-avatar.d.ts +3 -0
- package/types/ojiepermana-angular-component-badge.d.ts +3 -0
- package/types/ojiepermana-angular-component-breadcrumb.d.ts +3 -0
- package/types/ojiepermana-angular-component-button-group.d.ts +3 -0
- package/types/ojiepermana-angular-component-button.d.ts +3 -0
- package/types/ojiepermana-angular-component-calendar.d.ts +3 -0
- package/types/ojiepermana-angular-component-card.d.ts +3 -0
- package/types/ojiepermana-angular-component-carousel.d.ts +3 -0
- package/types/ojiepermana-angular-component-checkbox.d.ts +3 -0
- package/types/ojiepermana-angular-component-collapsible.d.ts +3 -0
- package/types/ojiepermana-angular-component-combobox.d.ts +3 -0
- package/types/ojiepermana-angular-component-command.d.ts +3 -0
- package/types/ojiepermana-angular-component-composer.d.ts +8 -1
- package/types/ojiepermana-angular-component-context-menu.d.ts +3 -0
- package/types/ojiepermana-angular-component-date-picker.d.ts +3 -0
- package/types/ojiepermana-angular-component-dialog.d.ts +3 -0
- package/types/ojiepermana-angular-component-drawer.d.ts +3 -0
- package/types/ojiepermana-angular-component-dropdown-menu.d.ts +3 -0
- package/types/ojiepermana-angular-component-editor.d.ts +7 -0
- package/types/ojiepermana-angular-component-empty.d.ts +3 -0
- package/types/ojiepermana-angular-component-form.d.ts +3 -0
- package/types/ojiepermana-angular-component-hover-card.d.ts +3 -0
- package/types/ojiepermana-angular-component-icon.d.ts +3 -0
- package/types/ojiepermana-angular-component-input-group.d.ts +3 -0
- package/types/ojiepermana-angular-component-input-otp.d.ts +3 -0
- package/types/ojiepermana-angular-component-input.d.ts +3 -0
- package/types/ojiepermana-angular-component-item.d.ts +3 -0
- package/types/ojiepermana-angular-component-kanban.d.ts +3 -0
- package/types/ojiepermana-angular-component-kbd.d.ts +3 -0
- package/types/ojiepermana-angular-component-label.d.ts +3 -0
- package/types/ojiepermana-angular-component-menubar.d.ts +3 -0
- package/types/ojiepermana-angular-component-native-select.d.ts +3 -0
- package/types/ojiepermana-angular-component-navigation-menu.d.ts +3 -0
- package/types/ojiepermana-angular-component-pagination.d.ts +3 -0
- package/types/ojiepermana-angular-component-pillbox.d.ts +3 -0
- package/types/ojiepermana-angular-component-popover.d.ts +3 -0
- package/types/ojiepermana-angular-component-progress.d.ts +3 -0
- package/types/ojiepermana-angular-component-radio.d.ts +3 -0
- package/types/ojiepermana-angular-component-resizable.d.ts +3 -0
- package/types/ojiepermana-angular-component-scroll-area.d.ts +3 -0
- package/types/ojiepermana-angular-component-segmented-control.d.ts +3 -0
- package/types/ojiepermana-angular-component-select.d.ts +3 -0
- package/types/ojiepermana-angular-component-separator.d.ts +3 -0
- package/types/ojiepermana-angular-component-sheet.d.ts +3 -0
- package/types/ojiepermana-angular-component-skeleton.d.ts +3 -0
- package/types/ojiepermana-angular-component-slider.d.ts +3 -0
- package/types/ojiepermana-angular-component-spinner.d.ts +3 -0
- package/types/ojiepermana-angular-component-switch.d.ts +3 -0
- package/types/ojiepermana-angular-component-table.d.ts +3 -0
- package/types/ojiepermana-angular-component-tabs.d.ts +3 -0
- package/types/ojiepermana-angular-component-textarea.d.ts +3 -0
- package/types/ojiepermana-angular-component-timeline.d.ts +3 -0
- package/types/ojiepermana-angular-component-toast.d.ts +3 -0
- package/types/ojiepermana-angular-component-toggle-group.d.ts +3 -0
- package/types/ojiepermana-angular-component-toggle.d.ts +3 -0
- package/types/ojiepermana-angular-component-tooltip.d.ts +3 -0
- package/types/ojiepermana-angular-component-utils-core.d.ts +3 -0
- package/types/ojiepermana-angular-component-utils-overlay.d.ts +3 -0
- package/types/ojiepermana-angular-component-utils-scale.d.ts +3 -0
- package/types/ojiepermana-angular-component-utils.d.ts +3 -0
- package/types/ojiepermana-angular-navigation-core.d.ts +3 -0
- package/types/ojiepermana-angular-navigation-icon.d.ts +3 -0
- package/types/ojiepermana-angular-navigation-service.d.ts +3 -0
- package/types/ojiepermana-angular-navigation-types.d.ts +11 -0
- package/types/ojiepermana-angular-navigation.d.ts +15 -2
- package/types/ojiepermana-angular-sdk.d.ts +3 -0
- package/types/ojiepermana-angular-theme-component-settings.d.ts +3 -0
- package/types/ojiepermana-angular-theme-layout-services.d.ts +3 -0
- package/types/ojiepermana-angular-theme-layout-types.d.ts +3 -0
- package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +14 -1
- package/types/ojiepermana-angular-theme-layout.d.ts +3 -0
- package/types/ojiepermana-angular-theme-on-fill.d.ts +3 -0
- package/types/ojiepermana-angular-theme-page-core.d.ts +11 -9
- package/types/ojiepermana-angular-theme-page-filter.d.ts +3 -0
- package/types/ojiepermana-angular-theme-page-overview.d.ts +3 -0
- package/types/ojiepermana-angular-theme-page-root.d.ts +4 -0
- package/types/ojiepermana-angular-theme-page-side.d.ts +3 -0
- package/types/ojiepermana-angular-theme-page-slots.d.ts +3 -0
- package/types/ojiepermana-angular-theme-page.d.ts +3 -0
- package/types/ojiepermana-angular-theme-shell-services.d.ts +3 -0
- package/types/ojiepermana-angular-theme-shell-types.d.ts +3 -0
- package/types/ojiepermana-angular-theme-shell.d.ts +3 -0
- package/types/ojiepermana-angular-theme-styles.d.ts +3 -0
- package/types/ojiepermana-angular.d.ts +3 -0
|
@@ -7,7 +7,7 @@ var PageOverviewComponent = class PageOverviewComponent {
|
|
|
7
7
|
classes = computed(() => cn("block min-w-0 shrink-0 border-b border-border bg-surface/50 text-surface-foreground", this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
8
8
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
9
9
|
minVersion: "12.0.0",
|
|
10
|
-
version: "22.
|
|
10
|
+
version: "22.3.0",
|
|
11
11
|
ngImport: i0,
|
|
12
12
|
type: PageOverviewComponent,
|
|
13
13
|
deps: [],
|
|
@@ -15,7 +15,7 @@ var PageOverviewComponent = class PageOverviewComponent {
|
|
|
15
15
|
});
|
|
16
16
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
17
17
|
minVersion: "17.1.0",
|
|
18
|
-
version: "22.
|
|
18
|
+
version: "22.3.0",
|
|
19
19
|
type: PageOverviewComponent,
|
|
20
20
|
isStandalone: true,
|
|
21
21
|
selector: "PageOverview",
|
|
@@ -50,7 +50,7 @@ var PageOverviewComponent = class PageOverviewComponent {
|
|
|
50
50
|
};
|
|
51
51
|
i0.ɵɵngDeclareClassMetadata({
|
|
52
52
|
minVersion: "12.0.0",
|
|
53
|
-
version: "22.
|
|
53
|
+
version: "22.3.0",
|
|
54
54
|
ngImport: i0,
|
|
55
55
|
type: PageOverviewComponent,
|
|
56
56
|
decorators: [{
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DOCUMENT } from "@angular/common";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { Component, booleanAttribute, computed, contentChild, effect, inject, input, output } from "@angular/core";
|
|
3
4
|
import { Grip } from "lucide";
|
|
@@ -11,7 +12,7 @@ import { PageFilterComponent } from "@ojiepermana/angular/theme/page/filter";
|
|
|
11
12
|
import { PageOverviewComponent } from "@ojiepermana/angular/theme/page/overview";
|
|
12
13
|
import { PageHeaderComponent } from "@ojiepermana/angular/theme/page/slots";
|
|
13
14
|
import { PageSideComponent } from "@ojiepermana/angular/theme/page/side";
|
|
14
|
-
import { PAGE_DEFAULT_APPEARANCE, PAGE_DEFAULT_FILTER_PLACEMENT, PAGE_DEFAULT_FILTER_WIDTH, PAGE_DEFAULT_HEIGHT, PAGE_DEFAULT_SCROLL, PAGE_DEFAULT_SIDE_MODE, PAGE_DEFAULT_SIDE_POSITION, PAGE_DEFAULT_SIDE_WIDTH, PAGE_DEFAULT_VARIANT, PageStateService } from "@ojiepermana/angular/theme/page/core";
|
|
15
|
+
import { PAGE_DEFAULT_APPEARANCE, PAGE_DEFAULT_FILTER_PLACEMENT, PAGE_DEFAULT_FILTER_WIDTH, PAGE_DEFAULT_HEIGHT, PAGE_DEFAULT_SCROLL, PAGE_DEFAULT_SIDE_MODE, PAGE_DEFAULT_SIDE_POSITION, PAGE_DEFAULT_SIDE_WIDTH, PAGE_DEFAULT_VARIANT, PageStateService, ɵisActivePageOverlay } from "@ojiepermana/angular/theme/page/core";
|
|
15
16
|
const OVERVIEW_STACKED_ROWS = [
|
|
16
17
|
"grid-rows-[auto_auto_minmax(0,1fr)]",
|
|
17
18
|
"[&>[data-page-slot=filter]]:row-start-1",
|
|
@@ -28,6 +29,7 @@ const OVERVIEW_ROWS = [
|
|
|
28
29
|
let pageAppsLauncherInstanceId = 0;
|
|
29
30
|
var PageComponent = class PageComponent {
|
|
30
31
|
page = inject(PageStateService);
|
|
32
|
+
document = inject(DOCUMENT);
|
|
31
33
|
layout = inject(LayoutService, { optional: true });
|
|
32
34
|
navigation = inject(NAVIGATION_ADAPTER, { optional: true });
|
|
33
35
|
identity = inject(LayoutIdentityService, { optional: true });
|
|
@@ -77,7 +79,7 @@ var PageComponent = class PageComponent {
|
|
|
77
79
|
appsBrand = computed(() => this.identity?.brand() ?? null, ...ngDevMode ? [{ debugName: "appsBrand" }] : /* istanbul ignore next */ []);
|
|
78
80
|
appsUser = computed(() => this.identity?.user() ?? null, ...ngDevMode ? [{ debugName: "appsUser" }] : /* istanbul ignore next */ []);
|
|
79
81
|
hostClasses = computed(() => cn("relative block h-full min-h-0 w-full min-w-0 overflow-hidden text-foreground", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
80
|
-
shellClasses = computed(() => cn("relative
|
|
82
|
+
shellClasses = computed(() => cn("relative h-full min-h-0 w-full min-w-0", !this.showsOverlayBackdrop() && "z-10", this.scroll() === "content" && "grid grid-rows-[auto_minmax(0,1fr)_auto]", this.scroll() === "page" && "overflow-auto"), ...ngDevMode ? [{ debugName: "shellClasses" }] : /* istanbul ignore next */ []);
|
|
81
83
|
bodyClasses = computed(() => {
|
|
82
84
|
if (this.variant() !== "side") return cn("relative min-w-0", this.scroll() === "content" && "min-h-0");
|
|
83
85
|
const sideMode = this.resolvedSideMode();
|
|
@@ -132,12 +134,12 @@ var PageComponent = class PageComponent {
|
|
|
132
134
|
});
|
|
133
135
|
}
|
|
134
136
|
handleBackdropClick() {
|
|
135
|
-
if (this.
|
|
136
|
-
if (this.
|
|
137
|
+
if (ɵisActivePageOverlay(this.document, this.page.sideId())) this.page.closeSide();
|
|
138
|
+
else if (ɵisActivePageOverlay(this.document, this.page.filterId())) this.page.closeFilter();
|
|
137
139
|
}
|
|
138
140
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
139
141
|
minVersion: "12.0.0",
|
|
140
|
-
version: "22.
|
|
142
|
+
version: "22.3.0",
|
|
141
143
|
ngImport: i0,
|
|
142
144
|
type: PageComponent,
|
|
143
145
|
deps: [],
|
|
@@ -145,7 +147,7 @@ var PageComponent = class PageComponent {
|
|
|
145
147
|
});
|
|
146
148
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
147
149
|
minVersion: "17.0.0",
|
|
148
|
-
version: "22.
|
|
150
|
+
version: "22.3.0",
|
|
149
151
|
type: PageComponent,
|
|
150
152
|
isStandalone: true,
|
|
151
153
|
selector: "Page",
|
|
@@ -319,9 +321,12 @@ var PageComponent = class PageComponent {
|
|
|
319
321
|
@if (showsOverlayBackdrop()) {
|
|
320
322
|
<button
|
|
321
323
|
type="button"
|
|
324
|
+
tabindex="-1"
|
|
325
|
+
aria-hidden="true"
|
|
322
326
|
[attr.aria-label]="overlayCloseLabel()"
|
|
323
327
|
data-page-overlay-backdrop
|
|
324
|
-
class="absolute inset-0 z-20 bg-[hsl(var(--overlay-backdrop))]"
|
|
328
|
+
class="absolute inset-0 z-20 overflow-hidden overscroll-contain bg-[hsl(var(--overlay-backdrop))]"
|
|
329
|
+
(mousedown)="$event.preventDefault()"
|
|
325
330
|
(click)="handleBackdropClick()"
|
|
326
331
|
></button>
|
|
327
332
|
}
|
|
@@ -388,6 +393,7 @@ var PageComponent = class PageComponent {
|
|
|
388
393
|
"compact",
|
|
389
394
|
"collapse-tree",
|
|
390
395
|
"rail",
|
|
396
|
+
"badge-indicator",
|
|
391
397
|
"class",
|
|
392
398
|
"itemClass",
|
|
393
399
|
"nav-group-class",
|
|
@@ -455,7 +461,7 @@ var PageComponent = class PageComponent {
|
|
|
455
461
|
};
|
|
456
462
|
i0.ɵɵngDeclareClassMetadata({
|
|
457
463
|
minVersion: "12.0.0",
|
|
458
|
-
version: "22.
|
|
464
|
+
version: "22.3.0",
|
|
459
465
|
ngImport: i0,
|
|
460
466
|
type: PageComponent,
|
|
461
467
|
decorators: [{
|
|
@@ -496,9 +502,12 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
496
502
|
@if (showsOverlayBackdrop()) {
|
|
497
503
|
<button
|
|
498
504
|
type="button"
|
|
505
|
+
tabindex="-1"
|
|
506
|
+
aria-hidden="true"
|
|
499
507
|
[attr.aria-label]="overlayCloseLabel()"
|
|
500
508
|
data-page-overlay-backdrop
|
|
501
|
-
class="absolute inset-0 z-20 bg-[hsl(var(--overlay-backdrop))]"
|
|
509
|
+
class="absolute inset-0 z-20 overflow-hidden overscroll-contain bg-[hsl(var(--overlay-backdrop))]"
|
|
510
|
+
(mousedown)="$event.preventDefault()"
|
|
502
511
|
(click)="handleBackdropClick()"
|
|
503
512
|
></button>
|
|
504
513
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DOCUMENT } from "@angular/common";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import { Component, ElementRef, computed, effect, inject, input, output
|
|
3
|
+
import { Component, ElementRef, computed, effect, inject, input, output } from "@angular/core";
|
|
4
4
|
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
5
|
-
import { PAGE_DEFAULT_SCROLL, PAGE_DEFAULT_SIDE_WIDTH, PageStateService, ɵsetupOverlayFocusManagement } from "@ojiepermana/angular/theme/page/core";
|
|
5
|
+
import { PAGE_DEFAULT_SCROLL, PAGE_DEFAULT_SIDE_WIDTH, PageStateService, ɵPAGE_PANEL_OVERLAY_PROVIDERS, ɵsetupOverlayFocusManagement } from "@ojiepermana/angular/theme/page/core";
|
|
6
6
|
let nextPageSideId = 0;
|
|
7
7
|
var PageSideComponent = class PageSideComponent {
|
|
8
8
|
document = inject(DOCUMENT, { optional: true });
|
|
@@ -32,15 +32,17 @@ var PageSideComponent = class PageSideComponent {
|
|
|
32
32
|
classes = computed(() => {
|
|
33
33
|
const position = this.resolvedPosition();
|
|
34
34
|
const sideOpen = this.page.sideOpen();
|
|
35
|
-
return cn("block min-h-0 border-border bg-background", this.resolvedScroll() === "content" && "h-full overflow-auto", this.resolvedScroll() === "page" && "overflow-visible", this.isSticky() && "shrink-0 w-[var(--page-side-width)]", this.isSticky() && position === "left" && "border-r", this.isSticky() && position === "right" && "order-last border-l", this.isDrawer() && "absolute inset-y-0 z-20 w-[var(--page-side-width)] border shadow-sm transition-transform duration-normal ease-out motion-reduce:transition-none", this.isDrawer() && position === "left" && (sideOpen ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isDrawer() && position === "right" && (sideOpen ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.isOverlay() && "absolute inset-y-0 z-30 w-[var(--page-side-width)] border shadow-md transition-transform duration-normal ease-out motion-reduce:transition-none", this.isOverlay() && position === "left" && (sideOpen ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isOverlay() && position === "right" && (sideOpen ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.class());
|
|
35
|
+
return cn("block min-h-0 border-border bg-background", this.resolvedScroll() === "content" && "h-full overflow-auto", this.resolvedScroll() === "page" && "overflow-visible", this.isSticky() && "shrink-0 w-[var(--page-side-width)]", this.isSticky() && position === "left" && "border-r", this.isSticky() && position === "right" && "order-last border-l", this.isDrawer() && "absolute inset-y-0 z-20 w-[var(--page-side-width)] border shadow-sm transition-transform duration-normal ease-out motion-reduce:transition-none", this.isDrawer() && position === "left" && (sideOpen ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isDrawer() && position === "right" && (sideOpen ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.isOverlay() && "overflow-auto overscroll-contain [&:not([inert])]:z-40 [&[inert]>.cdk-overlay-container]:hidden", this.isOverlay() && "absolute inset-y-0 z-30 w-[var(--page-side-width)] border shadow-md transition-transform duration-normal ease-out motion-reduce:transition-none", this.isOverlay() && position === "left" && (sideOpen ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isOverlay() && position === "right" && (sideOpen ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.class());
|
|
36
36
|
}, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
37
37
|
constructor() {
|
|
38
38
|
ɵsetupOverlayFocusManagement({
|
|
39
39
|
document: this.document,
|
|
40
40
|
host: this.host.nativeElement,
|
|
41
|
-
isOpen: this.page.sideOpen,
|
|
41
|
+
isOpen: computed(() => this.page.variant() === "side" && this.page.sideOpen()),
|
|
42
42
|
isInteractive: this.isInteractive,
|
|
43
43
|
isModal: this.isOverlay,
|
|
44
|
+
closeOnEsc: this.closeOnEsc,
|
|
45
|
+
close: () => this.page.closeSide(),
|
|
44
46
|
takeReturnFocus: () => this.page.takeSideReturnFocus()
|
|
45
47
|
});
|
|
46
48
|
effect(() => {
|
|
@@ -51,24 +53,10 @@ var PageSideComponent = class PageSideComponent {
|
|
|
51
53
|
id: this.resolvedId
|
|
52
54
|
});
|
|
53
55
|
});
|
|
54
|
-
effect((onCleanup) => {
|
|
55
|
-
if (!this.closeOnEsc() || this.isSticky()) return;
|
|
56
|
-
const defaultView = this.document?.defaultView;
|
|
57
|
-
if (!defaultView) return;
|
|
58
|
-
const handler = (event) => {
|
|
59
|
-
if (event.key !== "Escape") return;
|
|
60
|
-
if (!untracked(() => this.page.sideOpen())) return;
|
|
61
|
-
untracked(() => {
|
|
62
|
-
this.page.closeSide();
|
|
63
|
-
});
|
|
64
|
-
};
|
|
65
|
-
defaultView.addEventListener("keydown", handler);
|
|
66
|
-
onCleanup(() => defaultView.removeEventListener("keydown", handler));
|
|
67
|
-
});
|
|
68
56
|
}
|
|
69
57
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
70
58
|
minVersion: "12.0.0",
|
|
71
|
-
version: "22.
|
|
59
|
+
version: "22.3.0",
|
|
72
60
|
ngImport: i0,
|
|
73
61
|
type: PageSideComponent,
|
|
74
62
|
deps: [],
|
|
@@ -76,7 +64,7 @@ var PageSideComponent = class PageSideComponent {
|
|
|
76
64
|
});
|
|
77
65
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
78
66
|
minVersion: "17.1.0",
|
|
79
|
-
version: "22.
|
|
67
|
+
version: "22.3.0",
|
|
80
68
|
type: PageSideComponent,
|
|
81
69
|
isStandalone: true,
|
|
82
70
|
selector: "PageSide",
|
|
@@ -137,8 +125,10 @@ var PageSideComponent = class PageSideComponent {
|
|
|
137
125
|
"attr.aria-modal": "ariaModal()",
|
|
138
126
|
"attr.aria-label": "dialogLabel()",
|
|
139
127
|
"attr.tabindex": "dialogTabindex()",
|
|
128
|
+
"style.translate": "isOverlay() && page.sideOpen() ? \"none\" : null",
|
|
140
129
|
"style.--page-side-width": "resolvedWidth()"
|
|
141
130
|
} },
|
|
131
|
+
providers: ɵPAGE_PANEL_OVERLAY_PROVIDERS,
|
|
142
132
|
ngImport: i0,
|
|
143
133
|
template: `<ng-content />`,
|
|
144
134
|
isInline: true
|
|
@@ -146,13 +136,14 @@ var PageSideComponent = class PageSideComponent {
|
|
|
146
136
|
};
|
|
147
137
|
i0.ɵɵngDeclareClassMetadata({
|
|
148
138
|
minVersion: "12.0.0",
|
|
149
|
-
version: "22.
|
|
139
|
+
version: "22.3.0",
|
|
150
140
|
ngImport: i0,
|
|
151
141
|
type: PageSideComponent,
|
|
152
142
|
decorators: [{
|
|
153
143
|
type: Component,
|
|
154
144
|
args: [{
|
|
155
145
|
selector: "PageSide",
|
|
146
|
+
providers: ɵPAGE_PANEL_OVERLAY_PROVIDERS,
|
|
156
147
|
host: {
|
|
157
148
|
"[class]": "classes()",
|
|
158
149
|
"[attr.id]": "resolvedId",
|
|
@@ -166,6 +157,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
166
157
|
"[attr.aria-modal]": "ariaModal()",
|
|
167
158
|
"[attr.aria-label]": "dialogLabel()",
|
|
168
159
|
"[attr.tabindex]": "dialogTabindex()",
|
|
160
|
+
"[style.translate]": "isOverlay() && page.sideOpen() ? \"none\" : null",
|
|
169
161
|
"[style.--page-side-width]": "resolvedWidth()"
|
|
170
162
|
},
|
|
171
163
|
template: `<ng-content />`
|
|
@@ -236,7 +228,7 @@ var PageSideToggleComponent = class PageSideToggleComponent {
|
|
|
236
228
|
}
|
|
237
229
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
238
230
|
minVersion: "12.0.0",
|
|
239
|
-
version: "22.
|
|
231
|
+
version: "22.3.0",
|
|
240
232
|
ngImport: i0,
|
|
241
233
|
type: PageSideToggleComponent,
|
|
242
234
|
deps: [],
|
|
@@ -244,7 +236,7 @@ var PageSideToggleComponent = class PageSideToggleComponent {
|
|
|
244
236
|
});
|
|
245
237
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
246
238
|
minVersion: "17.1.0",
|
|
247
|
-
version: "22.
|
|
239
|
+
version: "22.3.0",
|
|
248
240
|
type: PageSideToggleComponent,
|
|
249
241
|
isStandalone: true,
|
|
250
242
|
selector: "PageSideToggle",
|
|
@@ -289,7 +281,7 @@ var PageSideToggleComponent = class PageSideToggleComponent {
|
|
|
289
281
|
};
|
|
290
282
|
i0.ɵɵngDeclareClassMetadata({
|
|
291
283
|
minVersion: "12.0.0",
|
|
292
|
-
version: "22.
|
|
284
|
+
version: "22.3.0",
|
|
293
285
|
ngImport: i0,
|
|
294
286
|
type: PageSideToggleComponent,
|
|
295
287
|
decorators: [{
|
|
@@ -14,7 +14,7 @@ var PageHeaderComponent = class PageHeaderComponent {
|
|
|
14
14
|
classes = computed(() => cn("block shrink-0 border-b border-[hsl(var(--border)/var(--section-border-opacity))] bg-background", this.class(), this.resolvedHeight() === "fix" && "h-12 overflow-hidden"), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
15
15
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
16
16
|
minVersion: "12.0.0",
|
|
17
|
-
version: "22.
|
|
17
|
+
version: "22.3.0",
|
|
18
18
|
ngImport: i0,
|
|
19
19
|
type: PageHeaderComponent,
|
|
20
20
|
deps: [],
|
|
@@ -22,7 +22,7 @@ var PageHeaderComponent = class PageHeaderComponent {
|
|
|
22
22
|
});
|
|
23
23
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
24
24
|
minVersion: "17.1.0",
|
|
25
|
-
version: "22.
|
|
25
|
+
version: "22.3.0",
|
|
26
26
|
type: PageHeaderComponent,
|
|
27
27
|
isStandalone: true,
|
|
28
28
|
selector: "PageHeader",
|
|
@@ -47,7 +47,7 @@ var PageHeaderComponent = class PageHeaderComponent {
|
|
|
47
47
|
};
|
|
48
48
|
i0.ɵɵngDeclareClassMetadata({
|
|
49
49
|
minVersion: "12.0.0",
|
|
50
|
-
version: "22.
|
|
50
|
+
version: "22.3.0",
|
|
51
51
|
ngImport: i0,
|
|
52
52
|
type: PageHeaderComponent,
|
|
53
53
|
decorators: [{
|
|
@@ -78,7 +78,7 @@ var PageContentComponent = class PageContentComponent {
|
|
|
78
78
|
classes = computed(() => buildPageBodyClasses(this.resolvedScroll(), this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
79
79
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
80
80
|
minVersion: "12.0.0",
|
|
81
|
-
version: "22.
|
|
81
|
+
version: "22.3.0",
|
|
82
82
|
ngImport: i0,
|
|
83
83
|
type: PageContentComponent,
|
|
84
84
|
deps: [],
|
|
@@ -86,7 +86,7 @@ var PageContentComponent = class PageContentComponent {
|
|
|
86
86
|
});
|
|
87
87
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
88
88
|
minVersion: "17.1.0",
|
|
89
|
-
version: "22.
|
|
89
|
+
version: "22.3.0",
|
|
90
90
|
type: PageContentComponent,
|
|
91
91
|
isStandalone: true,
|
|
92
92
|
selector: "PageContent",
|
|
@@ -111,7 +111,7 @@ var PageContentComponent = class PageContentComponent {
|
|
|
111
111
|
};
|
|
112
112
|
i0.ɵɵngDeclareClassMetadata({
|
|
113
113
|
minVersion: "12.0.0",
|
|
114
|
-
version: "22.
|
|
114
|
+
version: "22.3.0",
|
|
115
115
|
ngImport: i0,
|
|
116
116
|
type: PageContentComponent,
|
|
117
117
|
decorators: [{
|
|
@@ -142,7 +142,7 @@ var PageDashboardComponent = class PageDashboardComponent {
|
|
|
142
142
|
classes = computed(() => buildPageBodyClasses(this.resolvedScroll(), this.class()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
143
143
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
144
144
|
minVersion: "12.0.0",
|
|
145
|
-
version: "22.
|
|
145
|
+
version: "22.3.0",
|
|
146
146
|
ngImport: i0,
|
|
147
147
|
type: PageDashboardComponent,
|
|
148
148
|
deps: [],
|
|
@@ -150,7 +150,7 @@ var PageDashboardComponent = class PageDashboardComponent {
|
|
|
150
150
|
});
|
|
151
151
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
152
152
|
minVersion: "17.1.0",
|
|
153
|
-
version: "22.
|
|
153
|
+
version: "22.3.0",
|
|
154
154
|
type: PageDashboardComponent,
|
|
155
155
|
isStandalone: true,
|
|
156
156
|
selector: "PageDashboard",
|
|
@@ -172,7 +172,7 @@ var PageDashboardComponent = class PageDashboardComponent {
|
|
|
172
172
|
};
|
|
173
173
|
i0.ɵɵngDeclareClassMetadata({
|
|
174
174
|
minVersion: "12.0.0",
|
|
175
|
-
version: "22.
|
|
175
|
+
version: "22.3.0",
|
|
176
176
|
ngImport: i0,
|
|
177
177
|
type: PageDashboardComponent,
|
|
178
178
|
decorators: [{
|
|
@@ -202,7 +202,7 @@ var PageFooterComponent = class PageFooterComponent {
|
|
|
202
202
|
classes = computed(() => cn("block shrink-0 border-t border-[hsl(var(--border)/var(--section-border-opacity))] bg-background", this.class(), this.resolvedHeight() === "fix" && "h-12 overflow-hidden"), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
203
203
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
204
204
|
minVersion: "12.0.0",
|
|
205
|
-
version: "22.
|
|
205
|
+
version: "22.3.0",
|
|
206
206
|
ngImport: i0,
|
|
207
207
|
type: PageFooterComponent,
|
|
208
208
|
deps: [],
|
|
@@ -210,7 +210,7 @@ var PageFooterComponent = class PageFooterComponent {
|
|
|
210
210
|
});
|
|
211
211
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
212
212
|
minVersion: "17.1.0",
|
|
213
|
-
version: "22.
|
|
213
|
+
version: "22.3.0",
|
|
214
214
|
type: PageFooterComponent,
|
|
215
215
|
isStandalone: true,
|
|
216
216
|
selector: "PageFooter",
|
|
@@ -232,7 +232,7 @@ var PageFooterComponent = class PageFooterComponent {
|
|
|
232
232
|
};
|
|
233
233
|
i0.ɵɵngDeclareClassMetadata({
|
|
234
234
|
minVersion: "12.0.0",
|
|
235
|
-
version: "22.
|
|
235
|
+
version: "22.3.0",
|
|
236
236
|
ngImport: i0,
|
|
237
237
|
type: PageFooterComponent,
|
|
238
238
|
decorators: [{
|
|
@@ -207,7 +207,7 @@ var ShellService = class ShellService {
|
|
|
207
207
|
}
|
|
208
208
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
209
209
|
minVersion: "12.0.0",
|
|
210
|
-
version: "22.
|
|
210
|
+
version: "22.3.0",
|
|
211
211
|
ngImport: i0,
|
|
212
212
|
type: ShellService,
|
|
213
213
|
deps: [],
|
|
@@ -215,14 +215,14 @@ var ShellService = class ShellService {
|
|
|
215
215
|
});
|
|
216
216
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
217
217
|
minVersion: "22.0.0",
|
|
218
|
-
version: "22.
|
|
218
|
+
version: "22.3.0",
|
|
219
219
|
ngImport: i0,
|
|
220
220
|
type: ShellService
|
|
221
221
|
});
|
|
222
222
|
};
|
|
223
223
|
i0.ɵɵngDeclareClassMetadata({
|
|
224
224
|
minVersion: "12.0.0",
|
|
225
|
-
version: "22.
|
|
225
|
+
version: "22.3.0",
|
|
226
226
|
ngImport: i0,
|
|
227
227
|
type: ShellService,
|
|
228
228
|
decorators: [{ type: Service }],
|
|
@@ -26,7 +26,7 @@ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
|
|
|
26
26
|
user = computed(() => this.identity?.user() ?? null, ...ngDevMode ? [{ debugName: "user" }] : /* istanbul ignore next */ []);
|
|
27
27
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
28
28
|
minVersion: "12.0.0",
|
|
29
|
-
version: "22.
|
|
29
|
+
version: "22.3.0",
|
|
30
30
|
ngImport: i0,
|
|
31
31
|
type: ShellNavigationFlyoutComponent,
|
|
32
32
|
deps: [],
|
|
@@ -34,7 +34,7 @@ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
|
|
|
34
34
|
});
|
|
35
35
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
36
36
|
minVersion: "17.0.0",
|
|
37
|
-
version: "22.
|
|
37
|
+
version: "22.3.0",
|
|
38
38
|
type: ShellNavigationFlyoutComponent,
|
|
39
39
|
isStandalone: true,
|
|
40
40
|
selector: "ShellNavigationFlyout",
|
|
@@ -120,6 +120,7 @@ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
|
|
|
120
120
|
"compact",
|
|
121
121
|
"collapse-tree",
|
|
122
122
|
"rail",
|
|
123
|
+
"badge-indicator",
|
|
123
124
|
"class",
|
|
124
125
|
"itemClass",
|
|
125
126
|
"nav-group-class",
|
|
@@ -187,7 +188,7 @@ var ShellNavigationFlyoutComponent = class ShellNavigationFlyoutComponent {
|
|
|
187
188
|
};
|
|
188
189
|
i0.ɵɵngDeclareClassMetadata({
|
|
189
190
|
minVersion: "12.0.0",
|
|
190
|
-
version: "22.
|
|
191
|
+
version: "22.3.0",
|
|
191
192
|
ngImport: i0,
|
|
192
193
|
type: ShellNavigationFlyoutComponent,
|
|
193
194
|
decorators: [{
|
|
@@ -328,7 +329,7 @@ var ShellBarComponent = class ShellBarComponent {
|
|
|
328
329
|
}
|
|
329
330
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
330
331
|
minVersion: "12.0.0",
|
|
331
|
-
version: "22.
|
|
332
|
+
version: "22.3.0",
|
|
332
333
|
ngImport: i0,
|
|
333
334
|
type: ShellBarComponent,
|
|
334
335
|
deps: [],
|
|
@@ -336,7 +337,7 @@ var ShellBarComponent = class ShellBarComponent {
|
|
|
336
337
|
});
|
|
337
338
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
338
339
|
minVersion: "17.0.0",
|
|
339
|
-
version: "22.
|
|
340
|
+
version: "22.3.0",
|
|
340
341
|
type: ShellBarComponent,
|
|
341
342
|
isStandalone: true,
|
|
342
343
|
selector: "ShellBar",
|
|
@@ -633,7 +634,7 @@ var ShellBarComponent = class ShellBarComponent {
|
|
|
633
634
|
};
|
|
634
635
|
i0.ɵɵngDeclareClassMetadata({
|
|
635
636
|
minVersion: "12.0.0",
|
|
636
|
-
version: "22.
|
|
637
|
+
version: "22.3.0",
|
|
637
638
|
ngImport: i0,
|
|
638
639
|
type: ShellBarComponent,
|
|
639
640
|
decorators: [{
|
|
@@ -972,7 +973,7 @@ var ShellComponent = class ShellComponent {
|
|
|
972
973
|
hostClasses = computed(() => cn("relative isolate flex h-dvh w-full min-w-0 flex-col overflow-hidden text-foreground", this.showsBar() && this.drag() && "shell-drag-region", this.resolvedColor() === "sync" || this.resolvedFrame() === "modern" ? "bg-[hsl(var(--shell-bar-background))]" : "bg-layout-canvas", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
973
974
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
974
975
|
minVersion: "12.0.0",
|
|
975
|
-
version: "22.
|
|
976
|
+
version: "22.3.0",
|
|
976
977
|
ngImport: i0,
|
|
977
978
|
type: ShellComponent,
|
|
978
979
|
deps: [],
|
|
@@ -980,7 +981,7 @@ var ShellComponent = class ShellComponent {
|
|
|
980
981
|
});
|
|
981
982
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
982
983
|
minVersion: "17.0.0",
|
|
983
|
-
version: "22.
|
|
984
|
+
version: "22.3.0",
|
|
984
985
|
type: ShellComponent,
|
|
985
986
|
isStandalone: true,
|
|
986
987
|
selector: "Shell",
|
|
@@ -1173,7 +1174,7 @@ var ShellComponent = class ShellComponent {
|
|
|
1173
1174
|
};
|
|
1174
1175
|
i0.ɵɵngDeclareClassMetadata({
|
|
1175
1176
|
minVersion: "12.0.0",
|
|
1176
|
-
version: "22.
|
|
1177
|
+
version: "22.3.0",
|
|
1177
1178
|
ngImport: i0,
|
|
1178
1179
|
type: ShellComponent,
|
|
1179
1180
|
decorators: [{
|
|
@@ -284,7 +284,7 @@ var ThemeBrandService = class ThemeBrandService {
|
|
|
284
284
|
}
|
|
285
285
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
286
286
|
minVersion: "12.0.0",
|
|
287
|
-
version: "22.
|
|
287
|
+
version: "22.3.0",
|
|
288
288
|
ngImport: i0,
|
|
289
289
|
type: ThemeBrandService,
|
|
290
290
|
deps: [],
|
|
@@ -292,14 +292,14 @@ var ThemeBrandService = class ThemeBrandService {
|
|
|
292
292
|
});
|
|
293
293
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
294
294
|
minVersion: "22.0.0",
|
|
295
|
-
version: "22.
|
|
295
|
+
version: "22.3.0",
|
|
296
296
|
ngImport: i0,
|
|
297
297
|
type: ThemeBrandService
|
|
298
298
|
});
|
|
299
299
|
};
|
|
300
300
|
i0.ɵɵngDeclareClassMetadata({
|
|
301
301
|
minVersion: "12.0.0",
|
|
302
|
-
version: "22.
|
|
302
|
+
version: "22.3.0",
|
|
303
303
|
ngImport: i0,
|
|
304
304
|
type: ThemeBrandService,
|
|
305
305
|
decorators: [{ type: Service }],
|
|
@@ -329,7 +329,7 @@ var ThemeColorService = class ThemeColorService {
|
|
|
329
329
|
}
|
|
330
330
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
331
331
|
minVersion: "12.0.0",
|
|
332
|
-
version: "22.
|
|
332
|
+
version: "22.3.0",
|
|
333
333
|
ngImport: i0,
|
|
334
334
|
type: ThemeColorService,
|
|
335
335
|
deps: [],
|
|
@@ -337,14 +337,14 @@ var ThemeColorService = class ThemeColorService {
|
|
|
337
337
|
});
|
|
338
338
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
339
339
|
minVersion: "22.0.0",
|
|
340
|
-
version: "22.
|
|
340
|
+
version: "22.3.0",
|
|
341
341
|
ngImport: i0,
|
|
342
342
|
type: ThemeColorService
|
|
343
343
|
});
|
|
344
344
|
};
|
|
345
345
|
i0.ɵɵngDeclareClassMetadata({
|
|
346
346
|
minVersion: "12.0.0",
|
|
347
|
-
version: "22.
|
|
347
|
+
version: "22.3.0",
|
|
348
348
|
ngImport: i0,
|
|
349
349
|
type: ThemeColorService,
|
|
350
350
|
decorators: [{ type: Service }]
|
|
@@ -370,7 +370,7 @@ var ThemeModeService = class ThemeModeService {
|
|
|
370
370
|
}
|
|
371
371
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
372
372
|
minVersion: "12.0.0",
|
|
373
|
-
version: "22.
|
|
373
|
+
version: "22.3.0",
|
|
374
374
|
ngImport: i0,
|
|
375
375
|
type: ThemeModeService,
|
|
376
376
|
deps: [],
|
|
@@ -378,14 +378,14 @@ var ThemeModeService = class ThemeModeService {
|
|
|
378
378
|
});
|
|
379
379
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
380
380
|
minVersion: "22.0.0",
|
|
381
|
-
version: "22.
|
|
381
|
+
version: "22.3.0",
|
|
382
382
|
ngImport: i0,
|
|
383
383
|
type: ThemeModeService
|
|
384
384
|
});
|
|
385
385
|
};
|
|
386
386
|
i0.ɵɵngDeclareClassMetadata({
|
|
387
387
|
minVersion: "12.0.0",
|
|
388
|
-
version: "22.
|
|
388
|
+
version: "22.3.0",
|
|
389
389
|
ngImport: i0,
|
|
390
390
|
type: ThemeModeService,
|
|
391
391
|
decorators: [{ type: Service }]
|
|
@@ -413,7 +413,7 @@ var ThemeRadiusService = class ThemeRadiusService {
|
|
|
413
413
|
}
|
|
414
414
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
415
415
|
minVersion: "12.0.0",
|
|
416
|
-
version: "22.
|
|
416
|
+
version: "22.3.0",
|
|
417
417
|
ngImport: i0,
|
|
418
418
|
type: ThemeRadiusService,
|
|
419
419
|
deps: [],
|
|
@@ -421,14 +421,14 @@ var ThemeRadiusService = class ThemeRadiusService {
|
|
|
421
421
|
});
|
|
422
422
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
423
423
|
minVersion: "22.0.0",
|
|
424
|
-
version: "22.
|
|
424
|
+
version: "22.3.0",
|
|
425
425
|
ngImport: i0,
|
|
426
426
|
type: ThemeRadiusService
|
|
427
427
|
});
|
|
428
428
|
};
|
|
429
429
|
i0.ɵɵngDeclareClassMetadata({
|
|
430
430
|
minVersion: "12.0.0",
|
|
431
|
-
version: "22.
|
|
431
|
+
version: "22.3.0",
|
|
432
432
|
ngImport: i0,
|
|
433
433
|
type: ThemeRadiusService,
|
|
434
434
|
decorators: [{ type: Service }]
|
|
@@ -447,7 +447,7 @@ var ThemeSpaceService = class ThemeSpaceService {
|
|
|
447
447
|
}
|
|
448
448
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
449
449
|
minVersion: "12.0.0",
|
|
450
|
-
version: "22.
|
|
450
|
+
version: "22.3.0",
|
|
451
451
|
ngImport: i0,
|
|
452
452
|
type: ThemeSpaceService,
|
|
453
453
|
deps: [],
|
|
@@ -455,19 +455,19 @@ var ThemeSpaceService = class ThemeSpaceService {
|
|
|
455
455
|
});
|
|
456
456
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
457
457
|
minVersion: "22.0.0",
|
|
458
|
-
version: "22.
|
|
458
|
+
version: "22.3.0",
|
|
459
459
|
ngImport: i0,
|
|
460
460
|
type: ThemeSpaceService
|
|
461
461
|
});
|
|
462
462
|
};
|
|
463
463
|
i0.ɵɵngDeclareClassMetadata({
|
|
464
464
|
minVersion: "12.0.0",
|
|
465
|
-
version: "22.
|
|
465
|
+
version: "22.3.0",
|
|
466
466
|
ngImport: i0,
|
|
467
467
|
type: ThemeSpaceService,
|
|
468
468
|
decorators: [{ type: Service }]
|
|
469
469
|
});
|
|
470
|
-
const UI_THEME_RELEASE_VERSION = "22.
|
|
470
|
+
const UI_THEME_RELEASE_VERSION = "22.3.0";
|
|
471
471
|
const THEME_STORAGE_VERSION_KEY = "theme-storage-version";
|
|
472
472
|
function validateThemeStorageReset(options) {
|
|
473
473
|
if ("storageVersion" in options) throw new Error("storageVersion was removed. Migrate to storageReset: { preserveKeys: [] }; the package supplies the version.");
|
|
@@ -517,7 +517,7 @@ var ThemeStorageVersionService = class ThemeStorageVersionService {
|
|
|
517
517
|
}
|
|
518
518
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
519
519
|
minVersion: "12.0.0",
|
|
520
|
-
version: "22.
|
|
520
|
+
version: "22.3.0",
|
|
521
521
|
ngImport: i0,
|
|
522
522
|
type: ThemeStorageVersionService,
|
|
523
523
|
deps: [],
|
|
@@ -525,14 +525,14 @@ var ThemeStorageVersionService = class ThemeStorageVersionService {
|
|
|
525
525
|
});
|
|
526
526
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
527
527
|
minVersion: "22.0.0",
|
|
528
|
-
version: "22.
|
|
528
|
+
version: "22.3.0",
|
|
529
529
|
ngImport: i0,
|
|
530
530
|
type: ThemeStorageVersionService
|
|
531
531
|
});
|
|
532
532
|
};
|
|
533
533
|
i0.ɵɵngDeclareClassMetadata({
|
|
534
534
|
minVersion: "12.0.0",
|
|
535
|
-
version: "22.
|
|
535
|
+
version: "22.3.0",
|
|
536
536
|
ngImport: i0,
|
|
537
537
|
type: ThemeStorageVersionService,
|
|
538
538
|
decorators: [{ type: Service }]
|