@ojiepermana/angular 22.1.13 → 22.2.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 +8 -6
- package/SUPPORT.md +3 -3
- package/chart/README.md +1 -1
- package/component/README.md +2 -2
- package/component/calendar/README.md +3 -15
- package/component/drawer/README.md +1 -2
- package/fesm2022/ojiepermana-angular-chart-area.mjs +352 -137
- package/fesm2022/ojiepermana-angular-chart-bar.mjs +744 -524
- package/fesm2022/ojiepermana-angular-chart-core.mjs +1140 -1344
- package/fesm2022/ojiepermana-angular-chart-line.mjs +393 -147
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +408 -179
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs +1262 -920
- package/fesm2022/ojiepermana-angular-chart-radar.mjs +473 -205
- package/fesm2022/ojiepermana-angular-chart-radial.mjs +425 -182
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs +386 -210
- package/fesm2022/ojiepermana-angular-chart.mjs +3 -19
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +485 -243
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +963 -325
- package/fesm2022/ojiepermana-angular-component-alert.mjs +266 -103
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +80 -35
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +402 -135
- package/fesm2022/ojiepermana-angular-component-badge.mjs +109 -59
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +410 -142
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +249 -96
- package/fesm2022/ojiepermana-angular-component-button.mjs +153 -75
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +531 -418
- package/fesm2022/ojiepermana-angular-component-card.mjs +457 -171
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +642 -272
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +312 -108
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +299 -115
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +396 -183
- package/fesm2022/ojiepermana-angular-component-command.mjs +807 -347
- package/fesm2022/ojiepermana-angular-component-composer.mjs +807 -330
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +196 -161
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +650 -338
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +710 -316
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +2 -5
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +1212 -646
- package/fesm2022/ojiepermana-angular-component-editor.mjs +987 -502
- package/fesm2022/ojiepermana-angular-component-empty.mjs +350 -137
- package/fesm2022/ojiepermana-angular-component-form.mjs +813 -434
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs +486 -277
- package/fesm2022/ojiepermana-angular-component-icon.mjs +241 -140
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +449 -176
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +891 -488
- package/fesm2022/ojiepermana-angular-component-input.mjs +86 -55
- package/fesm2022/ojiepermana-angular-component-item.mjs +713 -261
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +714 -216
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +124 -52
- package/fesm2022/ojiepermana-angular-component-label.mjs +82 -31
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +479 -329
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +167 -65
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +683 -380
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +277 -94
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs +1283 -607
- package/fesm2022/ojiepermana-angular-component-popover.mjs +291 -204
- package/fesm2022/ojiepermana-angular-component-progress.mjs +176 -53
- package/fesm2022/ojiepermana-angular-component-radio.mjs +449 -142
- package/fesm2022/ojiepermana-angular-component-resizable.mjs +659 -453
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +117 -39
- package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +351 -172
- package/fesm2022/ojiepermana-angular-component-select.mjs +475 -345
- package/fesm2022/ojiepermana-angular-component-separator.mjs +102 -35
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +797 -347
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +62 -29
- package/fesm2022/ojiepermana-angular-component-slider.mjs +592 -376
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +135 -38
- package/fesm2022/ojiepermana-angular-component-switch.mjs +315 -103
- package/fesm2022/ojiepermana-angular-component-table.mjs +440 -153
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +590 -317
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +85 -50
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +609 -231
- package/fesm2022/ojiepermana-angular-component-toast.mjs +229 -243
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +573 -288
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +187 -78
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +798 -517
- package/fesm2022/ojiepermana-angular-component-utils-core.mjs +159 -292
- package/fesm2022/ojiepermana-angular-component-utils-overlay.mjs +46 -58
- package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +76 -38
- package/fesm2022/ojiepermana-angular-component-utils.mjs +2 -8
- package/fesm2022/ojiepermana-angular-component.mjs +0 -10
- package/fesm2022/ojiepermana-angular-navigation-core.mjs +13 -23
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +35 -24
- package/fesm2022/ojiepermana-angular-navigation-navigation-badge-count.component-BKCeWzml.mjs +129 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-dockbar-menu.component-DFEJK2jD.mjs +811 -0
- package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-Cd-jh6tg.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-mpK9Ar08.mjs} +387 -183
- package/fesm2022/ojiepermana-angular-navigation-navigation-flyout-menu.component-BPgH7FJk.mjs +650 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-horizontal.component-DMpYcD9t.mjs +662 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-item.component-Basp5SIk.mjs +1228 -0
- package/fesm2022/ojiepermana-angular-navigation-navigation-list.component-YUzHI9Pj.mjs +311 -0
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +542 -724
- package/fesm2022/ojiepermana-angular-navigation-types.mjs +27 -56
- package/fesm2022/ojiepermana-angular-navigation.mjs +3052 -4
- package/fesm2022/ojiepermana-angular-sdk.mjs +91 -201
- package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +1115 -737
- package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +245 -328
- package/fesm2022/ojiepermana-angular-theme-layout-types.mjs +35 -38
- package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +1719 -552
- package/fesm2022/ojiepermana-angular-theme-layout.mjs +847 -491
- package/fesm2022/ojiepermana-angular-theme-page-core.mjs +288 -358
- package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +362 -224
- package/fesm2022/ojiepermana-angular-theme-page-overview.mjs +88 -0
- package/fesm2022/ojiepermana-angular-theme-page-root.mjs +576 -254
- package/fesm2022/ojiepermana-angular-theme-page-side.mjs +317 -177
- package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +256 -112
- package/fesm2022/ojiepermana-angular-theme-page.mjs +7 -12
- package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +215 -326
- package/fesm2022/ojiepermana-angular-theme-shell-types.mjs +68 -129
- package/fesm2022/ojiepermana-angular-theme-shell.mjs +907 -378
- package/fesm2022/ojiepermana-angular-theme-styles.mjs +521 -720
- package/fesm2022/ojiepermana-angular-theme.mjs +0 -10
- package/fesm2022/ojiepermana-angular.mjs +5 -24
- package/navigation/README.md +1 -1
- package/package.json +16 -12
- package/sdk/README.md +1 -1
- package/sdk/src/writer/index.js +2 -2
- package/theme/README.md +1 -1
- package/theme/layout/README.md +2 -4
- package/theme/page/README.md +50 -0
- package/theme/styles/README.md +10 -10
- package/theme/styles/css/base/prefers-dark.css +1 -1
- package/theme/styles/css/base/status.css +1 -1
- package/theme/styles/css/color/amber.css +1 -1
- package/theme/styles/css/color/blue.css +1 -1
- package/theme/styles/css/color/cyan.css +1 -1
- package/theme/styles/css/color/emerald.css +1 -1
- package/theme/styles/css/color/fuchsia.css +1 -1
- package/theme/styles/css/color/green.css +1 -1
- package/theme/styles/css/color/indigo.css +1 -1
- package/theme/styles/css/color/lime.css +1 -1
- package/theme/styles/css/color/orange.css +1 -1
- package/theme/styles/css/color/pink.css +1 -1
- package/theme/styles/css/color/purple.css +1 -1
- package/theme/styles/css/color/red.css +1 -1
- package/theme/styles/css/color/rose.css +1 -1
- package/theme/styles/css/color/sky.css +1 -1
- package/theme/styles/css/color/teal.css +1 -1
- package/theme/styles/css/color/violet.css +1 -1
- package/theme/styles/css/color/yellow.css +1 -1
- package/theme/styles/css/neutral/gray.css +1 -1
- package/theme/styles/css/neutral/mauve.css +1 -1
- package/theme/styles/css/neutral/mist.css +1 -1
- package/theme/styles/css/neutral/neutral.css +1 -1
- package/theme/styles/css/neutral/olive.css +1 -1
- package/theme/styles/css/neutral/slate.css +1 -1
- package/theme/styles/css/neutral/stone.css +1 -1
- package/theme/styles/css/neutral/taupe.css +1 -1
- package/theme/styles/css/neutral/zinc.css +1 -1
- package/types/ojiepermana-angular-chart-area.d.ts +126 -63
- package/types/ojiepermana-angular-chart-bar.d.ts +244 -154
- package/types/ojiepermana-angular-chart-core.d.ts +409 -398
- package/types/ojiepermana-angular-chart-line.d.ts +141 -68
- package/types/ojiepermana-angular-chart-pie.d.ts +192 -121
- package/types/ojiepermana-angular-chart-primitives.d.ts +283 -214
- package/types/ojiepermana-angular-chart-radar.d.ts +189 -108
- package/types/ojiepermana-angular-chart-radial.d.ts +177 -106
- package/types/ojiepermana-angular-chart-scatter.d.ts +166 -110
- package/types/ojiepermana-angular-chart.d.ts +3 -2
- package/types/ojiepermana-angular-component-accordion.d.ts +135 -81
- package/types/ojiepermana-angular-component-alert-dialog.d.ts +271 -123
- package/types/ojiepermana-angular-component-alert.d.ts +69 -39
- package/types/ojiepermana-angular-component-aspect-ratio.d.ts +20 -12
- package/types/ojiepermana-angular-component-avatar.d.ts +103 -49
- package/types/ojiepermana-angular-component-badge.d.ts +36 -24
- package/types/ojiepermana-angular-component-breadcrumb.d.ts +79 -40
- package/types/ojiepermana-angular-component-button-group.d.ts +48 -24
- package/types/ojiepermana-angular-component-button.d.ts +44 -27
- package/types/ojiepermana-angular-component-calendar.d.ts +145 -107
- package/types/ojiepermana-angular-component-card.d.ts +112 -63
- package/types/ojiepermana-angular-component-carousel.d.ts +150 -81
- package/types/ojiepermana-angular-component-checkbox.d.ts +96 -38
- package/types/ojiepermana-angular-component-collapsible.d.ts +65 -39
- package/types/ojiepermana-angular-component-combobox.d.ts +100 -55
- package/types/ojiepermana-angular-component-command.d.ts +206 -121
- package/types/ojiepermana-angular-component-composer.d.ts +184 -84
- package/types/ojiepermana-angular-component-context-menu.d.ts +51 -41
- package/types/ojiepermana-angular-component-date-picker.d.ts +199 -109
- package/types/ojiepermana-angular-component-dialog.d.ts +200 -105
- package/types/ojiepermana-angular-component-drawer.d.ts +2 -1
- package/types/ojiepermana-angular-component-dropdown-menu.d.ts +324 -202
- package/types/ojiepermana-angular-component-editor.d.ts +215 -117
- package/types/ojiepermana-angular-component-empty.d.ts +80 -45
- package/types/ojiepermana-angular-component-form.d.ts +185 -121
- package/types/ojiepermana-angular-component-hover-card.d.ts +130 -72
- package/types/ojiepermana-angular-component-icon.d.ts +87 -57
- package/types/ojiepermana-angular-component-input-group.d.ts +93 -46
- package/types/ojiepermana-angular-component-input-otp.d.ts +243 -150
- package/types/ojiepermana-angular-component-input.d.ts +27 -17
- package/types/ojiepermana-angular-component-item.d.ts +160 -84
- package/types/ojiepermana-angular-component-kanban.d.ts +157 -62
- package/types/ojiepermana-angular-component-kbd.d.ts +24 -15
- package/types/ojiepermana-angular-component-label.d.ts +19 -11
- package/types/ojiepermana-angular-component-menubar.d.ts +120 -90
- package/types/ojiepermana-angular-component-native-select.d.ts +37 -24
- package/types/ojiepermana-angular-component-navigation-menu.d.ts +157 -98
- package/types/ojiepermana-angular-component-pagination.d.ts +78 -28
- package/types/ojiepermana-angular-component-pillbox.d.ts +361 -204
- package/types/ojiepermana-angular-component-popover.d.ts +94 -64
- package/types/ojiepermana-angular-component-progress.d.ts +45 -17
- package/types/ojiepermana-angular-component-radio.d.ts +129 -53
- package/types/ojiepermana-angular-component-resizable.d.ts +160 -112
- package/types/ojiepermana-angular-component-scroll-area.d.ts +33 -15
- package/types/ojiepermana-angular-component-segmented-control.d.ts +94 -50
- package/types/ojiepermana-angular-component-select.d.ts +94 -77
- package/types/ojiepermana-angular-component-separator.d.ts +26 -14
- package/types/ojiepermana-angular-component-sheet.d.ts +226 -116
- package/types/ojiepermana-angular-component-skeleton.d.ts +13 -10
- package/types/ojiepermana-angular-component-slider.d.ts +140 -75
- package/types/ojiepermana-angular-component-spinner.d.ts +31 -13
- package/types/ojiepermana-angular-component-switch.d.ts +97 -40
- package/types/ojiepermana-angular-component-table.d.ts +102 -50
- package/types/ojiepermana-angular-component-tabs.d.ts +174 -115
- package/types/ojiepermana-angular-component-textarea.d.ts +27 -17
- package/types/ojiepermana-angular-component-timeline.d.ts +141 -59
- package/types/ojiepermana-angular-component-toast.d.ts +51 -55
- package/types/ojiepermana-angular-component-toggle-group.d.ts +159 -88
- package/types/ojiepermana-angular-component-toggle.d.ts +47 -25
- package/types/ojiepermana-angular-component-tooltip.d.ts +222 -132
- package/types/ojiepermana-angular-component-utils-core.d.ts +81 -90
- package/types/ojiepermana-angular-component-utils-overlay.d.ts +7 -11
- package/types/ojiepermana-angular-component-utils-scale.d.ts +20 -12
- package/types/ojiepermana-angular-component-utils.d.ts +2 -2
- package/types/ojiepermana-angular-component.d.ts +1 -2
- package/types/ojiepermana-angular-navigation-core.d.ts +46 -50
- package/types/ojiepermana-angular-navigation-icon.d.ts +9 -12
- package/types/ojiepermana-angular-navigation-service.d.ts +112 -115
- package/types/ojiepermana-angular-navigation-types.d.ts +121 -125
- package/types/ojiepermana-angular-navigation.d.ts +663 -374
- package/types/ojiepermana-angular-sdk.d.ts +69 -71
- package/types/ojiepermana-angular-theme-component-settings.d.ts +115 -83
- package/types/ojiepermana-angular-theme-layout-services.d.ts +119 -124
- package/types/ojiepermana-angular-theme-layout-types.d.ts +27 -31
- package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +399 -187
- package/types/ojiepermana-angular-theme-layout.d.ts +201 -112
- package/types/ojiepermana-angular-theme-page-core.d.ts +136 -142
- package/types/ojiepermana-angular-theme-page-filter.d.ts +112 -62
- package/types/ojiepermana-angular-theme-page-overview.d.ts +28 -0
- package/types/ojiepermana-angular-theme-page-root.d.ts +172 -88
- package/types/ojiepermana-angular-theme-page-side.d.ts +89 -49
- package/types/ojiepermana-angular-theme-page-slots.d.ts +58 -37
- package/types/ojiepermana-angular-theme-page.d.ts +7 -5
- package/types/ojiepermana-angular-theme-shell-services.d.ts +119 -125
- package/types/ojiepermana-angular-theme-shell-types.d.ts +38 -41
- package/types/ojiepermana-angular-theme-shell.d.ts +139 -61
- package/types/ojiepermana-angular-theme-styles.d.ts +184 -196
- package/types/ojiepermana-angular-theme.d.ts +1 -2
- package/types/ojiepermana-angular.d.ts +5 -5
- package/fesm2022/ojiepermana-angular-navigation-navigation-badge-count.component-CDBxQ8rk.mjs +0 -91
- package/fesm2022/ojiepermana-angular-navigation-navigation-dockbar-menu.component-DBQHdvGa.mjs +0 -512
- package/fesm2022/ojiepermana-angular-navigation-navigation-flyout-menu.component-BCGvhoYj.mjs +0 -404
- package/fesm2022/ojiepermana-angular-navigation-navigation-horizontal.component-Dk_03e-6.mjs +0 -466
- package/fesm2022/ojiepermana-angular-navigation-ojiepermana-angular-navigation-DNKU6viC.mjs +0 -2642
|
@@ -1,217 +1,315 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { cn } from
|
|
4
|
-
import { NavigationContainerComponent, NavigationFlyoutComponent,
|
|
5
|
-
import { NAVIGATION_ADAPTER } from
|
|
6
|
-
import { LayoutService } from
|
|
7
|
-
import {
|
|
8
|
-
import { PageFilterComponent } from
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Component, booleanAttribute, computed, contentChild, effect, inject, input, output } from "@angular/core";
|
|
3
|
+
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
4
|
+
import { NavigationContainerComponent, NavigationFlyoutComponent, NavigationFooterComponent, NavigationHeaderComponent } from "@ojiepermana/angular/navigation";
|
|
5
|
+
import { NAVIGATION_ADAPTER } from "@ojiepermana/angular/navigation/core";
|
|
6
|
+
import { LayoutService } from "@ojiepermana/angular/theme/layout";
|
|
7
|
+
import { LayoutBrand, LayoutIdentityService, LayoutUser } from "@ojiepermana/angular/theme/layout/wrapper";
|
|
8
|
+
import { PageFilterComponent } from "@ojiepermana/angular/theme/page/filter";
|
|
9
|
+
import { PageOverviewComponent } from "@ojiepermana/angular/theme/page/overview";
|
|
10
|
+
import { PageHeaderComponent } from "@ojiepermana/angular/theme/page/slots";
|
|
11
|
+
import { PageSideComponent } from "@ojiepermana/angular/theme/page/side";
|
|
12
|
+
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";
|
|
13
|
+
const OVERVIEW_STACKED_ROWS = [
|
|
14
|
+
"grid-rows-[auto_auto_minmax(0,1fr)]",
|
|
15
|
+
"[&>[data-page-slot=filter]]:row-start-1",
|
|
16
|
+
"[&>[data-page-slot=overview]]:row-start-2",
|
|
17
|
+
"[&>[data-page-slot=content]]:row-start-3",
|
|
18
|
+
"[&>[data-page-slot=dashboard]]:row-start-3"
|
|
19
|
+
].join(" ");
|
|
20
|
+
const OVERVIEW_ROWS = [
|
|
21
|
+
"grid-rows-[auto_minmax(0,1fr)]",
|
|
22
|
+
"[&>[data-page-slot=overview]]:row-start-1",
|
|
23
|
+
"[&>[data-page-slot=content]]:row-start-2",
|
|
24
|
+
"[&>[data-page-slot=dashboard]]:row-start-2"
|
|
25
|
+
].join(" ");
|
|
14
26
|
let pageAppsLauncherInstanceId = 0;
|
|
15
|
-
class PageComponent {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
27
|
+
var PageComponent = class PageComponent {
|
|
28
|
+
page = inject(PageStateService);
|
|
29
|
+
layout = inject(LayoutService, { optional: true });
|
|
30
|
+
navigation = inject(NAVIGATION_ADAPTER, { optional: true });
|
|
31
|
+
identity = inject(LayoutIdentityService, { optional: true });
|
|
32
|
+
projectedSide = contentChild(PageSideComponent, ...ngDevMode ? [{ debugName: "projectedSide" }] : /* istanbul ignore next */ []);
|
|
33
|
+
projectedHeader = contentChild(PageHeaderComponent, ...ngDevMode ? [{ debugName: "projectedHeader" }] : /* istanbul ignore next */ []);
|
|
34
|
+
projectedFilter = contentChild(PageFilterComponent, ...ngDevMode ? [{ debugName: "projectedFilter" }] : /* istanbul ignore next */ []);
|
|
35
|
+
projectedOverview = contentChild(PageOverviewComponent, ...ngDevMode ? [{ debugName: "projectedOverview" }] : /* istanbul ignore next */ []);
|
|
36
|
+
variant = input(PAGE_DEFAULT_VARIANT, ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
37
|
+
height = input(PAGE_DEFAULT_HEIGHT, ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
|
|
38
|
+
scroll = input(PAGE_DEFAULT_SCROLL, ...ngDevMode ? [{ debugName: "scroll" }] : /* istanbul ignore next */ []);
|
|
39
|
+
appearance = input(PAGE_DEFAULT_APPEARANCE, ...ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []);
|
|
40
|
+
position = input(PAGE_DEFAULT_SIDE_POSITION, ...ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []);
|
|
41
|
+
sideMode = input(PAGE_DEFAULT_SIDE_MODE, ...ngDevMode ? [{ debugName: "sideMode" }] : /* istanbul ignore next */ []);
|
|
42
|
+
sideOpen = input(null, ...ngDevMode ? [{ debugName: "sideOpen" }] : /* istanbul ignore next */ []);
|
|
43
|
+
sideWidth = input(PAGE_DEFAULT_SIDE_WIDTH, ...ngDevMode ? [{ debugName: "sideWidth" }] : /* istanbul ignore next */ []);
|
|
44
|
+
filterOpen = input(null, ...ngDevMode ? [{ debugName: "filterOpen" }] : /* istanbul ignore next */ []);
|
|
45
|
+
class = input("", ...ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []);
|
|
46
|
+
sideOpenChange = output();
|
|
47
|
+
filterOpenChange = output();
|
|
48
|
+
appsLauncher = input(true, {
|
|
49
|
+
...ngDevMode ? { debugName: "appsLauncher" } : /* istanbul ignore next */ {},
|
|
50
|
+
transform: booleanAttribute
|
|
51
|
+
});
|
|
52
|
+
appsNavId = input("main", ...ngDevMode ? [{ debugName: "appsNavId" }] : /* istanbul ignore next */ []);
|
|
53
|
+
appsIcon = input("apps", ...ngDevMode ? [{ debugName: "appsIcon" }] : /* istanbul ignore next */ []);
|
|
54
|
+
appsLabel = input("Open navigation", ...ngDevMode ? [{ debugName: "appsLabel" }] : /* istanbul ignore next */ []);
|
|
55
|
+
overlayCloseLabel = input("Close overlay panel", ...ngDevMode ? [{ debugName: "overlayCloseLabel" }] : /* istanbul ignore next */ []);
|
|
56
|
+
launcherNavId = `__page-apps-${pageAppsLauncherInstanceId += 1}`;
|
|
57
|
+
resolvedPosition = computed(() => this.projectedSide()?.position() ?? this.position(), ...ngDevMode ? [{ debugName: "resolvedPosition" }] : /* istanbul ignore next */ []);
|
|
58
|
+
resolvedSideMode = computed(() => this.projectedSide()?.mode() ?? this.sideMode(), ...ngDevMode ? [{ debugName: "resolvedSideMode" }] : /* istanbul ignore next */ []);
|
|
59
|
+
isLeftSide = computed(() => this.resolvedPosition() === "left", ...ngDevMode ? [{ debugName: "isLeftSide" }] : /* istanbul ignore next */ []);
|
|
60
|
+
isRightSide = computed(() => this.resolvedPosition() === "right", ...ngDevMode ? [{ debugName: "isRightSide" }] : /* istanbul ignore next */ []);
|
|
61
|
+
hasFilter = computed(() => this.projectedFilter() !== void 0, ...ngDevMode ? [{ debugName: "hasFilter" }] : /* istanbul ignore next */ []);
|
|
62
|
+
filterPlacement = computed(() => this.projectedFilter()?.placement() ?? this.page.filterPlacement() ?? PAGE_DEFAULT_FILTER_PLACEMENT, ...ngDevMode ? [{ debugName: "filterPlacement" }] : /* istanbul ignore next */ []);
|
|
63
|
+
filterMode = computed(() => this.filterPlacement() === "stacked" ? "sticky" : this.projectedFilter()?.mode() ?? this.page.filterMode(), ...ngDevMode ? [{ debugName: "filterMode" }] : /* istanbul ignore next */ []);
|
|
64
|
+
filterPosition = computed(() => this.projectedFilter()?.position() ?? this.page.filterPosition(), ...ngDevMode ? [{ debugName: "filterPosition" }] : /* istanbul ignore next */ []);
|
|
65
|
+
filterWidthVar = computed(() => this.projectedFilter()?.width() ?? this.page.filterWidth() ?? PAGE_DEFAULT_FILTER_WIDTH, ...ngDevMode ? [{ debugName: "filterWidthVar" }] : /* istanbul ignore next */ []);
|
|
66
|
+
hasOverview = computed(() => this.projectedOverview() !== void 0, ...ngDevMode ? [{ debugName: "hasOverview" }] : /* istanbul ignore next */ []);
|
|
67
|
+
showsSideOverlayBackdrop = computed(() => this.variant() === "side" && this.resolvedSideMode() === "overlay" && this.page.sideOpen(), ...ngDevMode ? [{ debugName: "showsSideOverlayBackdrop" }] : /* istanbul ignore next */ []);
|
|
68
|
+
showsFilterOverlayBackdrop = computed(() => this.hasFilter() && this.filterMode() === "overlay" && this.page.filterOpen(), ...ngDevMode ? [{ debugName: "showsFilterOverlayBackdrop" }] : /* istanbul ignore next */ []);
|
|
69
|
+
showsOverlayBackdrop = computed(() => this.showsSideOverlayBackdrop() || this.showsFilterOverlayBackdrop(), ...ngDevMode ? [{ debugName: "showsOverlayBackdrop" }] : /* istanbul ignore next */ []);
|
|
70
|
+
appsNavSource = computed(() => this.navigation?.data(this.appsNavId()) ?? null, ...ngDevMode ? [{ debugName: "appsNavSource" }] : /* istanbul ignore next */ []);
|
|
71
|
+
appsNavData = computed(() => this.appsNavSource()?.() ?? [], ...ngDevMode ? [{ debugName: "appsNavData" }] : /* istanbul ignore next */ []);
|
|
72
|
+
showsAppsLauncher = computed(() => this.appsLauncher() && this.layout?.type() === "empty" && this.appsNavData().length > 0, ...ngDevMode ? [{ debugName: "showsAppsLauncher" }] : /* istanbul ignore next */ []);
|
|
73
|
+
appsLauncherHostClass = computed(() => cn("absolute z-30 h-auto w-auto", this.projectedHeader() ? "right-2 top-1.5" : "right-3 top-3"), ...ngDevMode ? [{ debugName: "appsLauncherHostClass" }] : /* istanbul ignore next */ []);
|
|
74
|
+
appsLauncherAppearance = computed(() => this.layout?.appearance() ?? this.appearance(), ...ngDevMode ? [{ debugName: "appsLauncherAppearance" }] : /* istanbul ignore next */ []);
|
|
75
|
+
appsBrand = computed(() => this.identity?.brand() ?? null, ...ngDevMode ? [{ debugName: "appsBrand" }] : /* istanbul ignore next */ []);
|
|
76
|
+
appsUser = computed(() => this.identity?.user() ?? null, ...ngDevMode ? [{ debugName: "appsUser" }] : /* istanbul ignore next */ []);
|
|
77
|
+
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 */ []);
|
|
78
|
+
shellClasses = computed(() => cn("relative z-10 h-full min-h-0 w-full min-w-0", this.scroll() === "content" && "grid grid-rows-[auto_minmax(0,1fr)_auto]", this.scroll() === "page" && "overflow-auto"), ...ngDevMode ? [{ debugName: "shellClasses" }] : /* istanbul ignore next */ []);
|
|
79
|
+
bodyClasses = computed(() => {
|
|
80
|
+
if (this.variant() !== "side") return cn("relative min-w-0", this.scroll() === "content" && "min-h-0");
|
|
81
|
+
const sideMode = this.resolvedSideMode();
|
|
82
|
+
const position = this.resolvedPosition();
|
|
83
|
+
if (sideMode === "sticky") return cn("grid min-w-0", this.scroll() === "content" && "min-h-0", position === "left" ? "grid-cols-[var(--page-side-width)_minmax(0,1fr)]" : "grid-cols-[minmax(0,1fr)_var(--page-side-width)]");
|
|
84
|
+
return cn("relative min-w-0", this.scroll() === "content" && "min-h-0");
|
|
85
|
+
}, ...ngDevMode ? [{ debugName: "bodyClasses" }] : /* istanbul ignore next */ []);
|
|
86
|
+
contentRegionClasses = computed(() => {
|
|
87
|
+
if (this.hasOverview()) return this.overviewRegionClasses();
|
|
88
|
+
if (!this.hasFilter()) return "contents";
|
|
89
|
+
const scroll = this.scroll();
|
|
90
|
+
if (this.filterMode() !== "sticky") return cn("relative min-w-0", scroll === "content" && "min-h-0 h-full");
|
|
91
|
+
if (this.filterPlacement() === "stacked") return scroll === "content" ? "grid min-w-0 min-h-0 h-full grid-rows-[auto_minmax(0,1fr)]" : "block min-w-0";
|
|
92
|
+
return cn("grid min-w-0", scroll === "content" && "min-h-0 h-full", this.filterPosition() === "left" ? "grid-cols-[var(--page-filter-width)_minmax(0,1fr)]" : "grid-cols-[minmax(0,1fr)_var(--page-filter-width)]");
|
|
93
|
+
}, ...ngDevMode ? [{ debugName: "contentRegionClasses" }] : /* istanbul ignore next */ []);
|
|
94
|
+
overviewRegionClasses() {
|
|
95
|
+
const scroll = this.scroll();
|
|
96
|
+
const fill = scroll === "content" && "min-h-0 h-full";
|
|
97
|
+
if (!this.hasFilter() || this.filterPlacement() === "stacked") return scroll === "content" ? cn("grid min-w-0", fill, OVERVIEW_STACKED_ROWS) : "block min-w-0";
|
|
98
|
+
if (this.filterMode() !== "sticky") return cn("relative grid min-w-0", fill, OVERVIEW_ROWS);
|
|
99
|
+
const left = this.filterPosition() === "left";
|
|
100
|
+
return cn("grid min-w-0", fill, OVERVIEW_ROWS, "[&>[data-page-slot=filter]]:row-[1/span_2]", left ? "grid-cols-[var(--page-filter-width)_minmax(0,1fr)] [&>[data-page-slot=filter]]:col-start-1 [&>:not([data-page-slot=filter])]:col-start-2" : "grid-cols-[minmax(0,1fr)_var(--page-filter-width)] [&>[data-page-slot=filter]]:col-start-2 [&>:not([data-page-slot=filter])]:col-start-1");
|
|
101
|
+
}
|
|
102
|
+
constructor() {
|
|
103
|
+
effect(() => {
|
|
104
|
+
this.page.registerRoot({
|
|
105
|
+
variant: this.variant(),
|
|
106
|
+
height: this.height(),
|
|
107
|
+
scroll: this.scroll(),
|
|
108
|
+
appearance: this.appearance(),
|
|
109
|
+
position: this.position(),
|
|
110
|
+
sideMode: this.sideMode(),
|
|
111
|
+
sideWidth: this.sideWidth()
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
effect(() => {
|
|
115
|
+
this.page.setControlledSideOpen(this.sideOpen());
|
|
116
|
+
});
|
|
117
|
+
effect(() => {
|
|
118
|
+
this.page.setControlledFilterOpen(this.filterOpen());
|
|
119
|
+
});
|
|
120
|
+
effect(() => {
|
|
121
|
+
this.page.setAppsLauncherReserve(this.showsAppsLauncher() && this.projectedHeader() !== void 0);
|
|
122
|
+
});
|
|
123
|
+
effect(() => {
|
|
124
|
+
if (this.page.sideOpenRequestVersion() === 0) return;
|
|
125
|
+
this.sideOpenChange.emit(this.page.sideOpenRequest() ?? false);
|
|
126
|
+
});
|
|
127
|
+
effect(() => {
|
|
128
|
+
if (this.page.filterOpenRequestVersion() === 0) return;
|
|
129
|
+
this.filterOpenChange.emit(this.page.filterOpenRequest() ?? false);
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
handleBackdropClick() {
|
|
133
|
+
if (this.showsSideOverlayBackdrop()) this.page.closeSide();
|
|
134
|
+
if (this.showsFilterOverlayBackdrop()) this.page.closeFilter();
|
|
135
|
+
}
|
|
136
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
137
|
+
minVersion: "12.0.0",
|
|
138
|
+
version: "22.2.0",
|
|
139
|
+
ngImport: i0,
|
|
140
|
+
type: PageComponent,
|
|
141
|
+
deps: [],
|
|
142
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
143
|
+
});
|
|
144
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
145
|
+
minVersion: "17.0.0",
|
|
146
|
+
version: "22.2.0",
|
|
147
|
+
type: PageComponent,
|
|
148
|
+
isStandalone: true,
|
|
149
|
+
selector: "Page",
|
|
150
|
+
inputs: {
|
|
151
|
+
variant: {
|
|
152
|
+
classPropertyName: "variant",
|
|
153
|
+
publicName: "variant",
|
|
154
|
+
isSignal: true,
|
|
155
|
+
isRequired: false,
|
|
156
|
+
transformFunction: null
|
|
157
|
+
},
|
|
158
|
+
height: {
|
|
159
|
+
classPropertyName: "height",
|
|
160
|
+
publicName: "height",
|
|
161
|
+
isSignal: true,
|
|
162
|
+
isRequired: false,
|
|
163
|
+
transformFunction: null
|
|
164
|
+
},
|
|
165
|
+
scroll: {
|
|
166
|
+
classPropertyName: "scroll",
|
|
167
|
+
publicName: "scroll",
|
|
168
|
+
isSignal: true,
|
|
169
|
+
isRequired: false,
|
|
170
|
+
transformFunction: null
|
|
171
|
+
},
|
|
172
|
+
appearance: {
|
|
173
|
+
classPropertyName: "appearance",
|
|
174
|
+
publicName: "appearance",
|
|
175
|
+
isSignal: true,
|
|
176
|
+
isRequired: false,
|
|
177
|
+
transformFunction: null
|
|
178
|
+
},
|
|
179
|
+
position: {
|
|
180
|
+
classPropertyName: "position",
|
|
181
|
+
publicName: "position",
|
|
182
|
+
isSignal: true,
|
|
183
|
+
isRequired: false,
|
|
184
|
+
transformFunction: null
|
|
185
|
+
},
|
|
186
|
+
sideMode: {
|
|
187
|
+
classPropertyName: "sideMode",
|
|
188
|
+
publicName: "sideMode",
|
|
189
|
+
isSignal: true,
|
|
190
|
+
isRequired: false,
|
|
191
|
+
transformFunction: null
|
|
192
|
+
},
|
|
193
|
+
sideOpen: {
|
|
194
|
+
classPropertyName: "sideOpen",
|
|
195
|
+
publicName: "sideOpen",
|
|
196
|
+
isSignal: true,
|
|
197
|
+
isRequired: false,
|
|
198
|
+
transformFunction: null
|
|
199
|
+
},
|
|
200
|
+
sideWidth: {
|
|
201
|
+
classPropertyName: "sideWidth",
|
|
202
|
+
publicName: "sideWidth",
|
|
203
|
+
isSignal: true,
|
|
204
|
+
isRequired: false,
|
|
205
|
+
transformFunction: null
|
|
206
|
+
},
|
|
207
|
+
filterOpen: {
|
|
208
|
+
classPropertyName: "filterOpen",
|
|
209
|
+
publicName: "filterOpen",
|
|
210
|
+
isSignal: true,
|
|
211
|
+
isRequired: false,
|
|
212
|
+
transformFunction: null
|
|
213
|
+
},
|
|
214
|
+
class: {
|
|
215
|
+
classPropertyName: "class",
|
|
216
|
+
publicName: "class",
|
|
217
|
+
isSignal: true,
|
|
218
|
+
isRequired: false,
|
|
219
|
+
transformFunction: null
|
|
220
|
+
},
|
|
221
|
+
appsLauncher: {
|
|
222
|
+
classPropertyName: "appsLauncher",
|
|
223
|
+
publicName: "appsLauncher",
|
|
224
|
+
isSignal: true,
|
|
225
|
+
isRequired: false,
|
|
226
|
+
transformFunction: null
|
|
227
|
+
},
|
|
228
|
+
appsNavId: {
|
|
229
|
+
classPropertyName: "appsNavId",
|
|
230
|
+
publicName: "appsNavId",
|
|
231
|
+
isSignal: true,
|
|
232
|
+
isRequired: false,
|
|
233
|
+
transformFunction: null
|
|
234
|
+
},
|
|
235
|
+
appsIcon: {
|
|
236
|
+
classPropertyName: "appsIcon",
|
|
237
|
+
publicName: "appsIcon",
|
|
238
|
+
isSignal: true,
|
|
239
|
+
isRequired: false,
|
|
240
|
+
transformFunction: null
|
|
241
|
+
},
|
|
242
|
+
appsLabel: {
|
|
243
|
+
classPropertyName: "appsLabel",
|
|
244
|
+
publicName: "appsLabel",
|
|
245
|
+
isSignal: true,
|
|
246
|
+
isRequired: false,
|
|
247
|
+
transformFunction: null
|
|
248
|
+
},
|
|
249
|
+
overlayCloseLabel: {
|
|
250
|
+
classPropertyName: "overlayCloseLabel",
|
|
251
|
+
publicName: "overlayCloseLabel",
|
|
252
|
+
isSignal: true,
|
|
253
|
+
isRequired: false,
|
|
254
|
+
transformFunction: null
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
outputs: {
|
|
258
|
+
sideOpenChange: "sideOpenChange",
|
|
259
|
+
filterOpenChange: "filterOpenChange"
|
|
260
|
+
},
|
|
261
|
+
host: {
|
|
262
|
+
attributes: { "data-page-root": "" },
|
|
263
|
+
properties: {
|
|
264
|
+
"class": "hostClasses()",
|
|
265
|
+
"attr.data-page-variant": "variant()",
|
|
266
|
+
"attr.data-page-height": "height()",
|
|
267
|
+
"attr.data-page-scroll": "scroll()",
|
|
268
|
+
"attr.data-page-appearance": "appearance()",
|
|
269
|
+
"attr.data-page-position": "resolvedPosition()",
|
|
270
|
+
"attr.data-page-side-mode": "resolvedSideMode()",
|
|
271
|
+
"attr.data-page-side-open": "page.sideOpen()",
|
|
272
|
+
"attr.data-page-filter-placement": "hasFilter() ? filterPlacement() : null",
|
|
273
|
+
"attr.data-page-filter-mode": "hasFilter() ? filterMode() : null",
|
|
274
|
+
"attr.data-page-filter-open": "hasFilter() ? page.filterOpen() : null",
|
|
275
|
+
"attr.data-page-overview": "hasOverview() ? \"\" : null",
|
|
276
|
+
"style.--page-side-width": "sideWidth()",
|
|
277
|
+
"style.--page-filter-width": "filterWidthVar()"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
providers: [PageStateService],
|
|
281
|
+
queries: [
|
|
282
|
+
{
|
|
283
|
+
propertyName: "projectedSide",
|
|
284
|
+
first: true,
|
|
285
|
+
predicate: PageSideComponent,
|
|
286
|
+
descendants: true,
|
|
287
|
+
isSignal: true
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
propertyName: "projectedHeader",
|
|
291
|
+
first: true,
|
|
292
|
+
predicate: PageHeaderComponent,
|
|
293
|
+
descendants: true,
|
|
294
|
+
isSignal: true
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
propertyName: "projectedFilter",
|
|
298
|
+
first: true,
|
|
299
|
+
predicate: PageFilterComponent,
|
|
300
|
+
descendants: true,
|
|
301
|
+
isSignal: true
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
propertyName: "projectedOverview",
|
|
305
|
+
first: true,
|
|
306
|
+
predicate: PageOverviewComponent,
|
|
307
|
+
descendants: true,
|
|
308
|
+
isSignal: true
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
ngImport: i0,
|
|
312
|
+
template: `
|
|
215
313
|
@if (showsOverlayBackdrop()) {
|
|
216
314
|
<button
|
|
217
315
|
type="button"
|
|
@@ -233,6 +331,7 @@ class PageComponent {
|
|
|
233
331
|
|
|
234
332
|
<div [class]="contentRegionClasses()" data-page-content-region>
|
|
235
333
|
<ng-content select="PageFilter" />
|
|
334
|
+
<ng-content select="PageOverview" />
|
|
236
335
|
<ng-content select="PageContent, PageDashboard" />
|
|
237
336
|
</div>
|
|
238
337
|
</div>
|
|
@@ -267,38 +366,117 @@ class PageComponent {
|
|
|
267
366
|
</NavigationFlyout>
|
|
268
367
|
</Navigation>
|
|
269
368
|
}
|
|
270
|
-
`,
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
369
|
+
`,
|
|
370
|
+
isInline: true,
|
|
371
|
+
dependencies: [
|
|
372
|
+
{
|
|
373
|
+
kind: "component",
|
|
374
|
+
type: NavigationContainerComponent,
|
|
375
|
+
selector: "Navigation",
|
|
376
|
+
inputs: [
|
|
377
|
+
"id",
|
|
378
|
+
"data-id",
|
|
379
|
+
"data",
|
|
380
|
+
"ariaLabel",
|
|
381
|
+
"compact",
|
|
382
|
+
"collapse-tree",
|
|
383
|
+
"class",
|
|
384
|
+
"itemClass",
|
|
385
|
+
"nav-group-class",
|
|
386
|
+
"activeIds",
|
|
387
|
+
"activeUrl",
|
|
388
|
+
"openedIds"
|
|
389
|
+
],
|
|
390
|
+
outputs: ["openedIdsChange", "itemSelected"]
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
kind: "component",
|
|
394
|
+
type: NavigationFlyoutComponent,
|
|
395
|
+
selector: "NavigationFlyout",
|
|
396
|
+
inputs: [
|
|
397
|
+
"label",
|
|
398
|
+
"icon",
|
|
399
|
+
"icon-only",
|
|
400
|
+
"icon-position",
|
|
401
|
+
"trigger-variant",
|
|
402
|
+
"trigger-floating",
|
|
403
|
+
"panel-viewport",
|
|
404
|
+
"trigger-class",
|
|
405
|
+
"trigger-button-class",
|
|
406
|
+
"nav-position",
|
|
407
|
+
"nav-type-style",
|
|
408
|
+
"class"
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
kind: "component",
|
|
413
|
+
type: NavigationHeaderComponent,
|
|
414
|
+
selector: "NavigationHeader",
|
|
415
|
+
inputs: ["toggle", "class"]
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
kind: "component",
|
|
419
|
+
type: NavigationFooterComponent,
|
|
420
|
+
selector: "NavigationFooter",
|
|
421
|
+
inputs: ["class"]
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
kind: "component",
|
|
425
|
+
type: LayoutBrand,
|
|
426
|
+
selector: "LayoutBrand",
|
|
427
|
+
inputs: ["brand", "compact"]
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
kind: "component",
|
|
431
|
+
type: LayoutUser,
|
|
432
|
+
selector: "LayoutUser",
|
|
433
|
+
inputs: [
|
|
434
|
+
"user",
|
|
435
|
+
"detailed",
|
|
436
|
+
"logoutLabel",
|
|
437
|
+
"logoutIcon"
|
|
438
|
+
],
|
|
439
|
+
outputs: ["logout"]
|
|
440
|
+
}
|
|
441
|
+
]
|
|
442
|
+
});
|
|
443
|
+
};
|
|
444
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
445
|
+
minVersion: "12.0.0",
|
|
446
|
+
version: "22.2.0",
|
|
447
|
+
ngImport: i0,
|
|
448
|
+
type: PageComponent,
|
|
449
|
+
decorators: [{
|
|
450
|
+
type: Component,
|
|
451
|
+
args: [{
|
|
452
|
+
selector: "Page",
|
|
453
|
+
providers: [PageStateService],
|
|
454
|
+
imports: [
|
|
455
|
+
NavigationContainerComponent,
|
|
456
|
+
NavigationFlyoutComponent,
|
|
457
|
+
NavigationHeaderComponent,
|
|
458
|
+
NavigationFooterComponent,
|
|
459
|
+
LayoutBrand,
|
|
460
|
+
LayoutUser
|
|
461
|
+
],
|
|
462
|
+
host: {
|
|
463
|
+
"[class]": "hostClasses()",
|
|
464
|
+
"data-page-root": "",
|
|
465
|
+
"[attr.data-page-variant]": "variant()",
|
|
466
|
+
"[attr.data-page-height]": "height()",
|
|
467
|
+
"[attr.data-page-scroll]": "scroll()",
|
|
468
|
+
"[attr.data-page-appearance]": "appearance()",
|
|
469
|
+
"[attr.data-page-position]": "resolvedPosition()",
|
|
470
|
+
"[attr.data-page-side-mode]": "resolvedSideMode()",
|
|
471
|
+
"[attr.data-page-side-open]": "page.sideOpen()",
|
|
472
|
+
"[attr.data-page-filter-placement]": "hasFilter() ? filterPlacement() : null",
|
|
473
|
+
"[attr.data-page-filter-mode]": "hasFilter() ? filterMode() : null",
|
|
474
|
+
"[attr.data-page-filter-open]": "hasFilter() ? page.filterOpen() : null",
|
|
475
|
+
"[attr.data-page-overview]": "hasOverview() ? \"\" : null",
|
|
476
|
+
"[style.--page-side-width]": "sideWidth()",
|
|
477
|
+
"[style.--page-filter-width]": "filterWidthVar()"
|
|
478
|
+
},
|
|
479
|
+
template: `
|
|
302
480
|
@if (showsOverlayBackdrop()) {
|
|
303
481
|
<button
|
|
304
482
|
type="button"
|
|
@@ -320,6 +498,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
320
498
|
|
|
321
499
|
<div [class]="contentRegionClasses()" data-page-content-region>
|
|
322
500
|
<ng-content select="PageFilter" />
|
|
501
|
+
<ng-content select="PageOverview" />
|
|
323
502
|
<ng-content select="PageContent, PageDashboard" />
|
|
324
503
|
</div>
|
|
325
504
|
</div>
|
|
@@ -354,12 +533,155 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImpor
|
|
|
354
533
|
</NavigationFlyout>
|
|
355
534
|
</Navigation>
|
|
356
535
|
}
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
536
|
+
`
|
|
537
|
+
}]
|
|
538
|
+
}],
|
|
539
|
+
ctorParameters: () => [],
|
|
540
|
+
propDecorators: {
|
|
541
|
+
projectedSide: [{
|
|
542
|
+
type: i0.ContentChild,
|
|
543
|
+
args: [i0.forwardRef(() => PageSideComponent), { isSignal: true }]
|
|
544
|
+
}],
|
|
545
|
+
projectedHeader: [{
|
|
546
|
+
type: i0.ContentChild,
|
|
547
|
+
args: [i0.forwardRef(() => PageHeaderComponent), { isSignal: true }]
|
|
548
|
+
}],
|
|
549
|
+
projectedFilter: [{
|
|
550
|
+
type: i0.ContentChild,
|
|
551
|
+
args: [i0.forwardRef(() => PageFilterComponent), { isSignal: true }]
|
|
552
|
+
}],
|
|
553
|
+
projectedOverview: [{
|
|
554
|
+
type: i0.ContentChild,
|
|
555
|
+
args: [i0.forwardRef(() => PageOverviewComponent), { isSignal: true }]
|
|
556
|
+
}],
|
|
557
|
+
variant: [{
|
|
558
|
+
type: i0.Input,
|
|
559
|
+
args: [{
|
|
560
|
+
isSignal: true,
|
|
561
|
+
alias: "variant",
|
|
562
|
+
required: false
|
|
563
|
+
}]
|
|
564
|
+
}],
|
|
565
|
+
height: [{
|
|
566
|
+
type: i0.Input,
|
|
567
|
+
args: [{
|
|
568
|
+
isSignal: true,
|
|
569
|
+
alias: "height",
|
|
570
|
+
required: false
|
|
571
|
+
}]
|
|
572
|
+
}],
|
|
573
|
+
scroll: [{
|
|
574
|
+
type: i0.Input,
|
|
575
|
+
args: [{
|
|
576
|
+
isSignal: true,
|
|
577
|
+
alias: "scroll",
|
|
578
|
+
required: false
|
|
579
|
+
}]
|
|
580
|
+
}],
|
|
581
|
+
appearance: [{
|
|
582
|
+
type: i0.Input,
|
|
583
|
+
args: [{
|
|
584
|
+
isSignal: true,
|
|
585
|
+
alias: "appearance",
|
|
586
|
+
required: false
|
|
587
|
+
}]
|
|
588
|
+
}],
|
|
589
|
+
position: [{
|
|
590
|
+
type: i0.Input,
|
|
591
|
+
args: [{
|
|
592
|
+
isSignal: true,
|
|
593
|
+
alias: "position",
|
|
594
|
+
required: false
|
|
595
|
+
}]
|
|
596
|
+
}],
|
|
597
|
+
sideMode: [{
|
|
598
|
+
type: i0.Input,
|
|
599
|
+
args: [{
|
|
600
|
+
isSignal: true,
|
|
601
|
+
alias: "sideMode",
|
|
602
|
+
required: false
|
|
603
|
+
}]
|
|
604
|
+
}],
|
|
605
|
+
sideOpen: [{
|
|
606
|
+
type: i0.Input,
|
|
607
|
+
args: [{
|
|
608
|
+
isSignal: true,
|
|
609
|
+
alias: "sideOpen",
|
|
610
|
+
required: false
|
|
611
|
+
}]
|
|
612
|
+
}],
|
|
613
|
+
sideWidth: [{
|
|
614
|
+
type: i0.Input,
|
|
615
|
+
args: [{
|
|
616
|
+
isSignal: true,
|
|
617
|
+
alias: "sideWidth",
|
|
618
|
+
required: false
|
|
619
|
+
}]
|
|
620
|
+
}],
|
|
621
|
+
filterOpen: [{
|
|
622
|
+
type: i0.Input,
|
|
623
|
+
args: [{
|
|
624
|
+
isSignal: true,
|
|
625
|
+
alias: "filterOpen",
|
|
626
|
+
required: false
|
|
627
|
+
}]
|
|
628
|
+
}],
|
|
629
|
+
class: [{
|
|
630
|
+
type: i0.Input,
|
|
631
|
+
args: [{
|
|
632
|
+
isSignal: true,
|
|
633
|
+
alias: "class",
|
|
634
|
+
required: false
|
|
635
|
+
}]
|
|
636
|
+
}],
|
|
637
|
+
sideOpenChange: [{
|
|
638
|
+
type: i0.Output,
|
|
639
|
+
args: ["sideOpenChange"]
|
|
640
|
+
}],
|
|
641
|
+
filterOpenChange: [{
|
|
642
|
+
type: i0.Output,
|
|
643
|
+
args: ["filterOpenChange"]
|
|
644
|
+
}],
|
|
645
|
+
appsLauncher: [{
|
|
646
|
+
type: i0.Input,
|
|
647
|
+
args: [{
|
|
648
|
+
isSignal: true,
|
|
649
|
+
alias: "appsLauncher",
|
|
650
|
+
required: false
|
|
651
|
+
}]
|
|
652
|
+
}],
|
|
653
|
+
appsNavId: [{
|
|
654
|
+
type: i0.Input,
|
|
655
|
+
args: [{
|
|
656
|
+
isSignal: true,
|
|
657
|
+
alias: "appsNavId",
|
|
658
|
+
required: false
|
|
659
|
+
}]
|
|
660
|
+
}],
|
|
661
|
+
appsIcon: [{
|
|
662
|
+
type: i0.Input,
|
|
663
|
+
args: [{
|
|
664
|
+
isSignal: true,
|
|
665
|
+
alias: "appsIcon",
|
|
666
|
+
required: false
|
|
667
|
+
}]
|
|
668
|
+
}],
|
|
669
|
+
appsLabel: [{
|
|
670
|
+
type: i0.Input,
|
|
671
|
+
args: [{
|
|
672
|
+
isSignal: true,
|
|
673
|
+
alias: "appsLabel",
|
|
674
|
+
required: false
|
|
675
|
+
}]
|
|
676
|
+
}],
|
|
677
|
+
overlayCloseLabel: [{
|
|
678
|
+
type: i0.Input,
|
|
679
|
+
args: [{
|
|
680
|
+
isSignal: true,
|
|
681
|
+
alias: "overlayCloseLabel",
|
|
682
|
+
required: false
|
|
683
|
+
}]
|
|
684
|
+
}]
|
|
685
|
+
}
|
|
686
|
+
});
|
|
687
|
+
export { PageComponent };
|