@acorex/platform 19.2.16 → 19.2.17
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/common/lib/file-storage/file-storage.types.d.ts +4 -0
- package/common/lib/layout/menu/menu.types.d.ts +2 -1
- package/fesm2022/acorex-platform-auth.mjs +1 -1
- package/fesm2022/acorex-platform-common.mjs +21 -2
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +11 -6
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-search.mjs +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Bvwr0PVk.mjs → acorex-platform-themes-default-entity-master-create-view.component-pcNF_wd0.mjs} +5 -5
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-Bvwr0PVk.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-pcNF_wd0.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DbHEBpPW.mjs +440 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DbHEBpPW.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-BAU_s90_.mjs → acorex-platform-themes-default-entity-master-modify-view.component-DOPzt7dM.mjs} +5 -5
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-BAU_s90_.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-DOPzt7dM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-DcSk0ia4.mjs → acorex-platform-themes-default-entity-master-single-view.component-CjX7NZpi.mjs} +11 -11
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-CjX7NZpi.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-search-popup.component-BXWbI4Ei.mjs +127 -0
- package/fesm2022/acorex-platform-themes-default-search-popup.component-BXWbI4Ei.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-setting-page.component-BQRGixPo.mjs +74 -0
- package/fesm2022/acorex-platform-themes-default-setting-page.component-BQRGixPo.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-setting-view.component-fuHM7W6Y.mjs → acorex-platform-themes-default-setting-view.component-B3Aob67f.mjs} +9 -7
- package/fesm2022/acorex-platform-themes-default-setting-view.component-B3Aob67f.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DiDSZx-u.mjs +146 -0
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DiDSZx-u.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +260 -141
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +290 -157
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BWhqDxGH.mjs → acorex-platform-widgets-button-widget-designer.component-BLUSF9_9.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BWhqDxGH.mjs.map → acorex-platform-widgets-button-widget-designer.component-BLUSF9_9.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-C8NRF4BO.mjs → acorex-platform-widgets-checkbox-widget-column.component-BfVyjSLL.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-C8NRF4BO.mjs.map → acorex-platform-widgets-checkbox-widget-column.component-BfVyjSLL.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-D8KErkus.mjs → acorex-platform-widgets-checkbox-widget-designer.component-CrdfTgeq.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-D8KErkus.mjs.map → acorex-platform-widgets-checkbox-widget-designer.component-CrdfTgeq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-bf272Wuo.mjs → acorex-platform-widgets-checkbox-widget-view.component-DfSoF52n.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-bf272Wuo.mjs.map → acorex-platform-widgets-checkbox-widget-view.component-DfSoF52n.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-CG3HEOUD.mjs → acorex-platform-widgets-color-box-widget-designer.component-BM1G-WaN.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-CG3HEOUD.mjs.map → acorex-platform-widgets-color-box-widget-designer.component-BM1G-WaN.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-B1HiCGC6.mjs → acorex-platform-widgets-contact-widget-filter.component-B1cKV-TM.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-B1HiCGC6.mjs.map → acorex-platform-widgets-contact-widget-filter.component-B1cKV-TM.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-CITselce.mjs → acorex-platform-widgets-page-widget-designer.component-DtwyOnuO.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-CITselce.mjs.map → acorex-platform-widgets-page-widget-designer.component-DtwyOnuO.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-DYExfz5U.mjs → acorex-platform-widgets-rich-text-popup.component-DIbfD0SV.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-DYExfz5U.mjs.map → acorex-platform-widgets-rich-text-popup.component-DIbfD0SV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-Emh145xN.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-C5FtQN9y.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-Emh145xN.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-C5FtQN9y.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-Ca6Cwzez.mjs → acorex-platform-widgets-tabular-data-view-popup.component-DFopYaFk.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-Ca6Cwzez.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-DFopYaFk.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-BToPbMjj.mjs → acorex-platform-widgets-text-block-widget-designer.component-C3H0Zldz.mjs} +2 -2
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-BToPbMjj.mjs.map → acorex-platform-widgets-text-block-widget-designer.component-C3H0Zldz.mjs.map} +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +29 -32
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +1 -1
- package/layout/entity/lib/entity.config.d.ts +1 -1
- package/layout/setting/lib/setting.viewmodel.d.ts +4 -0
- package/package.json +1 -1
- package/themes/default/lib/layouts/base/index.d.ts +1 -1
- package/themes/default/lib/layouts/base/simple-page/index.d.ts +2 -0
- package/themes/default/lib/layouts/base/simple-page/simple-page.component.d.ts +68 -0
- package/themes/default/lib/layouts/base/simple-page/simple-page.layout.d.ts +14 -4
- package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +4 -0
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.d.ts +11 -1
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.d.ts +0 -3
- package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-sorting/list-view-option-sorting.component.d.ts +0 -3
- package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.d.ts +4 -0
- package/themes/default/lib/layouts/root-layout/components/footer/footer.component.d.ts +1 -1
- package/themes/default/lib/layouts/root-layout/components/header/header.component.d.ts +5 -1
- package/themes/default/lib/layouts/root-layout/components/horizontal-menu/horizontal-menu.component.d.ts +86 -0
- package/themes/default/lib/layouts/root-layout/components/{menu/root-menu.component.d.ts → side-menu/side-menu.component.d.ts} +1 -2
- package/themes/default/lib/layouts/root-layout/horizontal/horizontal-layout.component.d.ts +79 -0
- package/themes/default/lib/layouts/root-layout/index.d.ts +3 -2
- package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +26 -19
- package/themes/default/lib/layouts/root-layout/vertical/vertical-layout.component.d.ts +79 -0
- package/themes/default/lib/layouts/search-layout/search-popup.component.d.ts +1 -1
- package/themes/default/lib/layouts/setting-layout/setting-page/setting-page.component.d.ts +1 -1
- package/themes/default/lib/layouts/setting-layout/setting-view/setting-view.component.d.ts +4 -0
- package/themes/default/lib/pages/theme-palette-preview/theme-palette-preview.page.d.ts +5 -1
- package/themes/shared/index.d.ts +1 -0
- package/themes/shared/lib/components/drawer/drawer.directive.d.ts +22 -0
- package/themes/shared/lib/components/drawer/index.d.ts +1 -0
- package/themes/shared/lib/components/layout-elements/index.d.ts +4 -4
- package/themes/shared/lib/components/layout-elements/layout-blocks.component.d.ts +1 -1
- package/themes/shared/lib/components/layout-elements/layout-footer.component.d.ts +1 -1
- package/themes/shared/lib/components/layout-elements/layout-header.component.d.ts +7 -3
- package/themes/shared/lib/components/layout-elements/layout-section.component.d.ts +3 -7
- package/themes/shared/lib/components/layout-elements/layout-side.component.d.ts +7 -7
- package/themes/shared/lib/components/slots/theme-slot.component.d.ts +4 -0
- package/themes/shared/lib/setting.keys.d.ts +2 -1
- package/themes/shared/lib/theme.service.d.ts +5 -1
- package/themes/shared/lib/theme.types.d.ts +4 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-ewOei4ta.mjs +0 -390
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-ewOei4ta.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DcSk0ia4.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-search-popup.component-DfeNmpS9.mjs +0 -129
- package/fesm2022/acorex-platform-themes-default-search-popup.component-DfeNmpS9.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-setting-page.component-DtJmPSFo.mjs +0 -75
- package/fesm2022/acorex-platform-themes-default-setting-page.component-DtJmPSFo.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-setting-view.component-fuHM7W6Y.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DkjAgWLn.mjs +0 -138
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-DkjAgWLn.mjs.map +0 -1
- package/themes/default/lib/layouts/root-layout/root-layout.module.d.ts +0 -27
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, viewChild, contentChild, computed, InjectionToken, inject, NgModule } from '@angular/core';
|
|
3
1
|
import * as i1 from '@angular/common';
|
|
4
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { ChangeDetectionStrategy, ViewEncapsulation, Component, viewChild, contentChild, computed, InjectionToken, inject, NgModule, input, signal, effect, Directive } from '@angular/core';
|
|
5
5
|
import * as i2 from '@acorex/components/button';
|
|
6
6
|
import { AXButtonModule } from '@acorex/components/button';
|
|
7
7
|
import * as i3 from '@acorex/components/decorators';
|
|
@@ -9,49 +9,19 @@ import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
|
9
9
|
import * as i4 from '@acorex/components/dropdown';
|
|
10
10
|
import { AXDropdownModule } from '@acorex/components/dropdown';
|
|
11
11
|
import * as i1$2 from '@acorex/platform/common';
|
|
12
|
-
import { AXPSettingScope, AXPSettingService,
|
|
12
|
+
import { AXPSettingScope, AXPSettingService, AXPComponentSlotModule, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';
|
|
13
13
|
import { signalStore, withState, withComputed, withMethods, patchState, withHooks } from '@ngrx/signals';
|
|
14
14
|
import { timer, firstValueFrom, filter } from 'rxjs';
|
|
15
15
|
import { HttpClient } from '@angular/common/http';
|
|
16
16
|
import * as i5 from '@acorex/core/translation';
|
|
17
17
|
import { AXTranslationModule } from '@acorex/core/translation';
|
|
18
18
|
import * as i2$1 from '@acorex/platform/layout/builder';
|
|
19
|
-
import {
|
|
19
|
+
import { AXPWidgetsCatalog, objectKeyValueTransforms, AXPWidgetComponent, AXP_WIDGETS_LAYOUT_GROUP, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
|
20
20
|
import { FormsModule } from '@angular/forms';
|
|
21
21
|
import * as i1$1 from '@acorex/cdk/selection';
|
|
22
22
|
import { AXSelectionModule } from '@acorex/cdk/selection';
|
|
23
23
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
|
|
24
24
|
|
|
25
|
-
class AXPThemeLayoutBlockComponent {
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutBlockComponent, isStandalone: true, selector: "\n axp-layout-content, \n axp-layout-header-container,\n axp-layout-side-container,\n axp-layout-sections,\n axp-layout-section-container,\n axp-layout-body,\n axp-layout-prefix,\n axp-layout-suffix,\n axp-layout-title, \n axp-layout-nav-button, \n axp-layout-description, \n axp-layout-title-bar,\n axp-layout-breadcrumbs,\n axp-layout-list-action,\n ", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
28
|
-
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutBlockComponent, decorators: [{
|
|
30
|
-
type: Component,
|
|
31
|
-
args: [{
|
|
32
|
-
standalone: true,
|
|
33
|
-
selector: `
|
|
34
|
-
axp-layout-content,
|
|
35
|
-
axp-layout-header-container,
|
|
36
|
-
axp-layout-side-container,
|
|
37
|
-
axp-layout-sections,
|
|
38
|
-
axp-layout-section-container,
|
|
39
|
-
axp-layout-body,
|
|
40
|
-
axp-layout-prefix,
|
|
41
|
-
axp-layout-suffix,
|
|
42
|
-
axp-layout-title,
|
|
43
|
-
axp-layout-nav-button,
|
|
44
|
-
axp-layout-description,
|
|
45
|
-
axp-layout-title-bar,
|
|
46
|
-
axp-layout-breadcrumbs,
|
|
47
|
-
axp-layout-list-action,
|
|
48
|
-
`,
|
|
49
|
-
template: '<ng-content></ng-content>',
|
|
50
|
-
encapsulation: ViewEncapsulation.None,
|
|
51
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
52
|
-
}]
|
|
53
|
-
}] });
|
|
54
|
-
|
|
55
25
|
class AXPThemeLayoutPagePrimaryActionsComponent {
|
|
56
26
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutPagePrimaryActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
57
27
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutPagePrimaryActionsComponent, isStandalone: true, selector: "axp-layout-actions-primary", ngImport: i0, template: `<ng-content select="ax-button,ax-dropdown-button"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
@@ -126,7 +96,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
126
96
|
}]
|
|
127
97
|
}] });
|
|
128
98
|
|
|
129
|
-
class
|
|
99
|
+
class AXPThemeLayoutBlockComponent {
|
|
100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
101
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutBlockComponent, isStandalone: true, selector: "\n axp-layout-content, \n axp-layout-page-content, \n axp-layout-sections,\n axp-layout-body,\n axp-layout-page-body,\n axp-layout-prefix,\n axp-layout-suffix,\n axp-layout-title, \n axp-layout-nav-button, \n axp-layout-description, \n axp-layout-title-bar,\n axp-layout-breadcrumbs,\n axp-layout-list-action,\n ", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
102
|
+
}
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutBlockComponent, decorators: [{
|
|
104
|
+
type: Component,
|
|
105
|
+
args: [{
|
|
106
|
+
standalone: true,
|
|
107
|
+
selector: `
|
|
108
|
+
axp-layout-content,
|
|
109
|
+
axp-layout-page-content,
|
|
110
|
+
axp-layout-sections,
|
|
111
|
+
axp-layout-body,
|
|
112
|
+
axp-layout-page-body,
|
|
113
|
+
axp-layout-prefix,
|
|
114
|
+
axp-layout-suffix,
|
|
115
|
+
axp-layout-title,
|
|
116
|
+
axp-layout-nav-button,
|
|
117
|
+
axp-layout-description,
|
|
118
|
+
axp-layout-title-bar,
|
|
119
|
+
axp-layout-breadcrumbs,
|
|
120
|
+
axp-layout-list-action,
|
|
121
|
+
`,
|
|
122
|
+
template: '<ng-content></ng-content>',
|
|
123
|
+
encapsulation: ViewEncapsulation.None,
|
|
124
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
125
|
+
}]
|
|
126
|
+
}] });
|
|
127
|
+
|
|
128
|
+
class AXPThemeLayoutFooterComponent {
|
|
129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
130
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutFooterComponent, isStandalone: true, selector: "axp-layout-footer, axp-layout-page-footer", ngImport: i0, template: `
|
|
131
|
+
<ng-content select="axp-layout-prefix"></ng-content>
|
|
132
|
+
<ng-content select="axp-layout-suffix"></ng-content>
|
|
133
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
134
|
+
}
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutFooterComponent, decorators: [{
|
|
136
|
+
type: Component,
|
|
137
|
+
args: [{
|
|
138
|
+
imports: [CommonModule],
|
|
139
|
+
standalone: true,
|
|
140
|
+
selector: 'axp-layout-footer, axp-layout-page-footer',
|
|
141
|
+
template: `
|
|
142
|
+
<ng-content select="axp-layout-prefix"></ng-content>
|
|
143
|
+
<ng-content select="axp-layout-suffix"></ng-content>
|
|
144
|
+
`,
|
|
145
|
+
encapsulation: ViewEncapsulation.None,
|
|
146
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
147
|
+
}]
|
|
148
|
+
}] });
|
|
149
|
+
|
|
150
|
+
class AXPThemeLayoutPageHeaderComponent {
|
|
130
151
|
constructor() {
|
|
131
152
|
this.title = viewChild('title');
|
|
132
153
|
this.description = viewChild('description');
|
|
@@ -135,223 +156,221 @@ class AXPThemeLayoutHeaderTemplateComponent {
|
|
|
135
156
|
this.breadcrumbs = viewChild('breadcrumbs');
|
|
136
157
|
this.navButton = viewChild('navButton');
|
|
137
158
|
}
|
|
138
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
139
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type:
|
|
159
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutPageHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
160
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type: AXPThemeLayoutPageHeaderComponent, isStandalone: true, selector: "axp-layout-page-header", viewQueries: [{ propertyName: "title", first: true, predicate: ["title"], descendants: true, isSignal: true }, { propertyName: "description", first: true, predicate: ["description"], descendants: true, isSignal: true }, { propertyName: "actions", first: true, predicate: ["actions"], descendants: true, isSignal: true }, { propertyName: "navbar", first: true, predicate: ["navbar"], descendants: true, isSignal: true }, { propertyName: "breadcrumbs", first: true, predicate: ["breadcrumbs"], descendants: true, isSignal: true }, { propertyName: "navButton", first: true, predicate: ["navButton"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
140
161
|
<ng-template #breadcrumbs>
|
|
141
|
-
|
|
162
|
+
<ng-content select="axp-layout-breadcrumbs"></ng-content>
|
|
142
163
|
</ng-template>
|
|
143
164
|
|
|
144
165
|
<ng-template #navbar>
|
|
145
|
-
|
|
166
|
+
<ng-content select="axp-layout-toolbar"></ng-content>
|
|
146
167
|
</ng-template>
|
|
147
168
|
|
|
148
169
|
<ng-template #actions>
|
|
149
|
-
|
|
170
|
+
<ng-content select="axp-layout-actions"></ng-content>
|
|
150
171
|
</ng-template>
|
|
151
172
|
|
|
152
173
|
<ng-template #description>
|
|
153
|
-
|
|
174
|
+
<ng-content select="axp-layout-description"></ng-content>
|
|
154
175
|
</ng-template>
|
|
155
176
|
|
|
156
177
|
<ng-template #title>
|
|
157
|
-
|
|
178
|
+
<ng-content select="axp-layout-title"></ng-content>
|
|
158
179
|
</ng-template>
|
|
159
180
|
<ng-template #navButton>
|
|
160
|
-
|
|
181
|
+
<ng-content select="axp-layout-nav-button"></ng-content>
|
|
161
182
|
</ng-template>
|
|
162
|
-
|
|
163
|
-
<ng-content select="axp-layout-suffix"></ng-content>
|
|
164
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
183
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
165
184
|
}
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutPageHeaderComponent, decorators: [{
|
|
167
186
|
type: Component,
|
|
168
187
|
args: [{
|
|
169
188
|
imports: [CommonModule],
|
|
170
189
|
standalone: true,
|
|
171
|
-
selector: 'axp-layout-header',
|
|
190
|
+
selector: 'axp-layout-page-header',
|
|
172
191
|
template: `
|
|
173
192
|
<ng-template #breadcrumbs>
|
|
174
|
-
|
|
193
|
+
<ng-content select="axp-layout-breadcrumbs"></ng-content>
|
|
175
194
|
</ng-template>
|
|
176
195
|
|
|
177
196
|
<ng-template #navbar>
|
|
178
|
-
|
|
197
|
+
<ng-content select="axp-layout-toolbar"></ng-content>
|
|
179
198
|
</ng-template>
|
|
180
199
|
|
|
181
200
|
<ng-template #actions>
|
|
182
|
-
|
|
201
|
+
<ng-content select="axp-layout-actions"></ng-content>
|
|
183
202
|
</ng-template>
|
|
184
203
|
|
|
185
204
|
<ng-template #description>
|
|
186
|
-
|
|
205
|
+
<ng-content select="axp-layout-description"></ng-content>
|
|
187
206
|
</ng-template>
|
|
188
207
|
|
|
189
208
|
<ng-template #title>
|
|
190
|
-
|
|
209
|
+
<ng-content select="axp-layout-title"></ng-content>
|
|
191
210
|
</ng-template>
|
|
192
211
|
<ng-template #navButton>
|
|
193
|
-
|
|
212
|
+
<ng-content select="axp-layout-nav-button"></ng-content>
|
|
194
213
|
</ng-template>
|
|
214
|
+
`,
|
|
215
|
+
encapsulation: ViewEncapsulation.None,
|
|
216
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
217
|
+
}]
|
|
218
|
+
}] });
|
|
219
|
+
class AXPThemeLayoutHeaderComponent {
|
|
220
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
221
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutHeaderComponent, isStandalone: true, selector: "axp-layout-header", ngImport: i0, template: `
|
|
195
222
|
<ng-content select="axp-layout-prefix"></ng-content>
|
|
223
|
+
<ng-content></ng-content>
|
|
196
224
|
<ng-content select="axp-layout-suffix"></ng-content>
|
|
197
|
-
|
|
225
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
226
|
+
}
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutHeaderComponent, decorators: [{
|
|
228
|
+
type: Component,
|
|
229
|
+
args: [{
|
|
230
|
+
imports: [CommonModule],
|
|
231
|
+
standalone: true,
|
|
232
|
+
selector: 'axp-layout-header',
|
|
233
|
+
template: `
|
|
234
|
+
<ng-content select="axp-layout-prefix"></ng-content>
|
|
235
|
+
<ng-content></ng-content>
|
|
236
|
+
<ng-content select="axp-layout-suffix"></ng-content>
|
|
237
|
+
`,
|
|
198
238
|
encapsulation: ViewEncapsulation.None,
|
|
199
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
239
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
200
240
|
}]
|
|
201
241
|
}] });
|
|
202
242
|
|
|
203
|
-
class
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
this.content = viewChild('content');
|
|
207
|
-
}
|
|
208
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutSectionTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
209
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type: AXPThemeLayoutSectionTemplateComponent, isStandalone: true, selector: "axp-layout-section", queries: [{ propertyName: "header", first: true, predicate: AXPThemeLayoutHeaderTemplateComponent, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
210
|
-
<ng-template #header>
|
|
211
|
-
<ng-content select="axp-layout-header"></ng-content>
|
|
212
|
-
</ng-template>
|
|
213
|
-
<ng-template #content>
|
|
214
|
-
<ng-content select="axp-layout-content"></ng-content>
|
|
215
|
-
</ng-template>
|
|
216
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
243
|
+
class AXPThemeLayoutListComponent {
|
|
244
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
245
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutListComponent, isStandalone: true, selector: "axp-layout-list", ngImport: i0, template: `<ng-content select="axp-layout-list-item,axp-layout-list-group,ng-container"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
217
246
|
}
|
|
218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListComponent, decorators: [{
|
|
219
248
|
type: Component,
|
|
220
249
|
args: [{
|
|
221
|
-
imports: [CommonModule],
|
|
222
250
|
standalone: true,
|
|
223
|
-
selector: 'axp-layout-
|
|
224
|
-
template:
|
|
225
|
-
<ng-template #header>
|
|
226
|
-
<ng-content select="axp-layout-header"></ng-content>
|
|
227
|
-
</ng-template>
|
|
228
|
-
<ng-template #content>
|
|
229
|
-
<ng-content select="axp-layout-content"></ng-content>
|
|
230
|
-
</ng-template>
|
|
231
|
-
`,
|
|
251
|
+
selector: 'axp-layout-list',
|
|
252
|
+
template: `<ng-content select="axp-layout-list-item,axp-layout-list-group,ng-container"></ng-content>`,
|
|
232
253
|
encapsulation: ViewEncapsulation.None,
|
|
233
254
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
234
255
|
}]
|
|
235
256
|
}] });
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
this.header = contentChild(AXPThemeLayoutHeaderTemplateComponent);
|
|
240
|
-
this.content = viewChild('content');
|
|
241
|
-
}
|
|
242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutSideTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
243
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type: AXPThemeLayoutSideTemplateComponent, isStandalone: true, selector: "axp-layout-side", queries: [{ propertyName: "header", first: true, predicate: AXPThemeLayoutHeaderTemplateComponent, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
244
|
-
<ng-template #header>
|
|
245
|
-
<ng-content select="axp-layout-header"></ng-content>
|
|
246
|
-
</ng-template>
|
|
247
|
-
<ng-template #content>
|
|
248
|
-
<ng-content select="axp-layout-content"></ng-content>
|
|
249
|
-
</ng-template>
|
|
250
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
257
|
+
class AXPThemeLayoutListItemsGroupComponent {
|
|
258
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListItemsGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
259
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutListItemsGroupComponent, isStandalone: true, selector: "axp-layout-list-group", ngImport: i0, template: `<ng-content select="axp-layout-list-item, axp-layout-title, axp-layout-header ,ng-container"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
251
260
|
}
|
|
252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListItemsGroupComponent, decorators: [{
|
|
253
262
|
type: Component,
|
|
254
263
|
args: [{
|
|
255
|
-
imports: [CommonModule],
|
|
256
264
|
standalone: true,
|
|
257
|
-
selector: 'axp-layout-
|
|
258
|
-
template:
|
|
259
|
-
<ng-template #header>
|
|
260
|
-
<ng-content select="axp-layout-header"></ng-content>
|
|
261
|
-
</ng-template>
|
|
262
|
-
<ng-template #content>
|
|
263
|
-
<ng-content select="axp-layout-content"></ng-content>
|
|
264
|
-
</ng-template>
|
|
265
|
-
`,
|
|
265
|
+
selector: 'axp-layout-list-group',
|
|
266
|
+
template: `<ng-content select="axp-layout-list-item, axp-layout-title, axp-layout-header ,ng-container"></ng-content>`,
|
|
266
267
|
encapsulation: ViewEncapsulation.None,
|
|
267
268
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
268
269
|
}]
|
|
269
270
|
}] });
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
static { this.ɵ
|
|
273
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutFooterComponent, isStandalone: true, selector: "axp-layout-footer", ngImport: i0, template: `
|
|
274
|
-
<ng-content select="axp-layout-prefix"></ng-content>
|
|
275
|
-
<ng-content select="axp-layout-suffix"></ng-content>
|
|
276
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
271
|
+
class AXPThemeLayoutListItemComponent {
|
|
272
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
273
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutListItemComponent, isStandalone: true, selector: "axp-layout-list-item", ngImport: i0, template: `<ng-content select="axp-layout-content,axp-layout-prefix,axp-layout-suffix,ng-container"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
277
274
|
}
|
|
278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListItemComponent, decorators: [{
|
|
279
276
|
type: Component,
|
|
280
277
|
args: [{
|
|
281
|
-
imports: [CommonModule],
|
|
282
278
|
standalone: true,
|
|
283
|
-
selector: 'axp-layout-
|
|
284
|
-
template:
|
|
285
|
-
<ng-content select="axp-layout-prefix"></ng-content>
|
|
286
|
-
<ng-content select="axp-layout-suffix"></ng-content>
|
|
287
|
-
`,
|
|
279
|
+
selector: 'axp-layout-list-item',
|
|
280
|
+
template: `<ng-content select="axp-layout-content,axp-layout-prefix,axp-layout-suffix,ng-container"></ng-content>`,
|
|
288
281
|
encapsulation: ViewEncapsulation.None,
|
|
289
282
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
290
283
|
}]
|
|
291
284
|
}] });
|
|
292
285
|
|
|
293
|
-
class
|
|
294
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
295
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type:
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
286
|
+
class AXPThemeLayoutSectionComponent {
|
|
287
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
288
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutSectionComponent, isStandalone: true, selector: "axp-layout-section", ngImport: i0, template: `
|
|
289
|
+
<ng-content select="axp-layout-header"></ng-content>
|
|
290
|
+
<ng-content select="axp-layout-content"></ng-content>
|
|
291
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
300
292
|
}
|
|
301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutSectionComponent, decorators: [{
|
|
302
294
|
type: Component,
|
|
303
295
|
args: [{
|
|
304
296
|
imports: [CommonModule],
|
|
305
297
|
standalone: true,
|
|
306
|
-
selector: 'axp-layout-
|
|
298
|
+
selector: 'axp-layout-section',
|
|
307
299
|
template: `
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
`,
|
|
300
|
+
<ng-content select="axp-layout-header"></ng-content>
|
|
301
|
+
<ng-content select="axp-layout-content"></ng-content>
|
|
302
|
+
`,
|
|
312
303
|
encapsulation: ViewEncapsulation.None,
|
|
313
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
304
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
314
305
|
}]
|
|
315
306
|
}] });
|
|
316
307
|
|
|
317
|
-
class
|
|
318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
319
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type:
|
|
308
|
+
class AXPThemeLayoutStartSideComponent {
|
|
309
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutStartSideComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
310
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutStartSideComponent, isStandalone: true, selector: "axp-layout-page-start-side", ngImport: i0, template: `
|
|
311
|
+
<ng-content select="axp-layout-header"></ng-content>
|
|
312
|
+
<ng-content select="axp-layout-content"></ng-content>
|
|
313
|
+
<ng-content select="axp-layout-footer"></ng-content>
|
|
314
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
320
315
|
}
|
|
321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutStartSideComponent, decorators: [{
|
|
322
317
|
type: Component,
|
|
323
318
|
args: [{
|
|
319
|
+
imports: [CommonModule],
|
|
324
320
|
standalone: true,
|
|
325
|
-
selector: 'axp-layout-
|
|
326
|
-
template:
|
|
321
|
+
selector: 'axp-layout-page-start-side',
|
|
322
|
+
template: `
|
|
323
|
+
<ng-content select="axp-layout-header"></ng-content>
|
|
324
|
+
<ng-content select="axp-layout-content"></ng-content>
|
|
325
|
+
<ng-content select="axp-layout-footer"></ng-content>
|
|
326
|
+
`,
|
|
327
327
|
encapsulation: ViewEncapsulation.None,
|
|
328
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
328
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
329
329
|
}]
|
|
330
330
|
}] });
|
|
331
|
-
class
|
|
332
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
333
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type:
|
|
331
|
+
class AXPThemeLayoutEndSideComponent {
|
|
332
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutEndSideComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
333
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutEndSideComponent, isStandalone: true, selector: "axp-layout-page-end-side", ngImport: i0, template: `
|
|
334
|
+
<ng-content select="axp-layout-header"></ng-content>
|
|
335
|
+
<ng-content select="axp-layout-content"></ng-content>
|
|
336
|
+
<ng-content select="axp-layout-footer"></ng-content>
|
|
337
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
334
338
|
}
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutEndSideComponent, decorators: [{
|
|
336
340
|
type: Component,
|
|
337
341
|
args: [{
|
|
342
|
+
imports: [CommonModule],
|
|
338
343
|
standalone: true,
|
|
339
|
-
selector: 'axp-layout-
|
|
340
|
-
template:
|
|
344
|
+
selector: 'axp-layout-page-end-side',
|
|
345
|
+
template: `
|
|
346
|
+
<ng-content select="axp-layout-header"></ng-content>
|
|
347
|
+
<ng-content select="axp-layout-content"></ng-content>
|
|
348
|
+
<ng-content select="axp-layout-footer"></ng-content>
|
|
349
|
+
`,
|
|
341
350
|
encapsulation: ViewEncapsulation.None,
|
|
342
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
351
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
343
352
|
}]
|
|
344
353
|
}] });
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
static { this.ɵ
|
|
354
|
+
|
|
355
|
+
class AXPThemeLayoutToolbarComponent {
|
|
356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
357
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPThemeLayoutToolbarComponent, isStandalone: true, selector: "axp-layout-toolbar", ngImport: i0, template: `
|
|
358
|
+
<ng-content select="axp-layout-prefix"></ng-content>
|
|
359
|
+
<ng-content select="axp-layout-suffix"></ng-content>
|
|
360
|
+
<ng-content></ng-content>
|
|
361
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
348
362
|
}
|
|
349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutToolbarComponent, decorators: [{
|
|
350
364
|
type: Component,
|
|
351
365
|
args: [{
|
|
366
|
+
imports: [CommonModule],
|
|
352
367
|
standalone: true,
|
|
353
|
-
selector: 'axp-layout-
|
|
354
|
-
template:
|
|
368
|
+
selector: 'axp-layout-toolbar',
|
|
369
|
+
template: `
|
|
370
|
+
<ng-content select="axp-layout-prefix"></ng-content>
|
|
371
|
+
<ng-content select="axp-layout-suffix"></ng-content>
|
|
372
|
+
<ng-content></ng-content>
|
|
373
|
+
`,
|
|
355
374
|
encapsulation: ViewEncapsulation.None,
|
|
356
375
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
357
376
|
}]
|
|
@@ -367,6 +386,7 @@ var AXPThemeLayoutSetting;
|
|
|
367
386
|
AXPThemeLayoutSetting["Mode"] = "layout:theme:mode";
|
|
368
387
|
AXPThemeLayoutSetting["SideMenuStatus"] = "layout:theme:sidemenu:status";
|
|
369
388
|
AXPThemeLayoutSetting["SideMenuWidth"] = "layout:theme:sidemenu:width";
|
|
389
|
+
AXPThemeLayoutSetting["MenuOrientation"] = "layout:theme:menu:orientation";
|
|
370
390
|
})(AXPThemeLayoutSetting || (AXPThemeLayoutSetting = {}));
|
|
371
391
|
|
|
372
392
|
// Theme Enum
|
|
@@ -396,6 +416,12 @@ var AXPSideMenuState;
|
|
|
396
416
|
AXPSideMenuState["Opened"] = "opened";
|
|
397
417
|
AXPSideMenuState["Closed"] = "closed";
|
|
398
418
|
})(AXPSideMenuState || (AXPSideMenuState = {}));
|
|
419
|
+
// Menu Orientation Enum
|
|
420
|
+
var AXPMenuOrientation;
|
|
421
|
+
(function (AXPMenuOrientation) {
|
|
422
|
+
AXPMenuOrientation["Vertical"] = "vertical";
|
|
423
|
+
AXPMenuOrientation["Horizontal"] = "horizontal";
|
|
424
|
+
})(AXPMenuOrientation || (AXPMenuOrientation = {}));
|
|
399
425
|
|
|
400
426
|
const AXP_THEME_PALETTE_PROVIDER = new InjectionToken('AXP_THEME_PALETTE_PROVIDER', {
|
|
401
427
|
providedIn: 'root',
|
|
@@ -462,19 +488,21 @@ withState(() => {
|
|
|
462
488
|
navigationLoadingTaskCount: 0,
|
|
463
489
|
sideMenuState: (getScreenSize() === AXPScreenSize.Large ? AXPSideMenuState.Opened : AXPSideMenuState.Closed),
|
|
464
490
|
sideMenuWidth: 288,
|
|
491
|
+
menuOrientation: 'vertical',
|
|
465
492
|
_listener: null,
|
|
466
493
|
_resizeListener: null,
|
|
467
494
|
};
|
|
468
495
|
return state;
|
|
469
496
|
}),
|
|
470
497
|
// Computed Signals
|
|
471
|
-
withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, screenSize, deviceType, isTouchDevice, sideMenuState, overlayLoading, navigationLoading }) => ({
|
|
498
|
+
withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, screenSize, deviceType, isTouchDevice, sideMenuState, overlayLoading, navigationLoading, menuOrientation }) => ({
|
|
472
499
|
isDarkMode: computed(() => currentTheme() === AXPThemeMode.Dark ||
|
|
473
500
|
(currentTheme() === AXPThemeMode.System && systemTheme() === AXPThemeMode.Dark)),
|
|
474
501
|
isLightMode: computed(() => currentTheme() === AXPThemeMode.Light ||
|
|
475
502
|
(currentTheme() === AXPThemeMode.System && systemTheme() === AXPThemeMode.Light)),
|
|
476
503
|
isSystemMode: computed(() => currentTheme() === AXPThemeMode.System),
|
|
477
504
|
isSideMenuOpen: computed(() => sideMenuState() === AXPSideMenuState.Opened),
|
|
505
|
+
isSideMenuOverlay: computed(() => screenSize() === AXPScreenSize.Small || screenSize() === AXPScreenSize.Medium),
|
|
478
506
|
isSmall: computed(() => screenSize() === AXPScreenSize.Small),
|
|
479
507
|
isMedium: computed(() => screenSize() === AXPScreenSize.Medium),
|
|
480
508
|
isLarge: computed(() => screenSize() === AXPScreenSize.Large),
|
|
@@ -484,6 +512,7 @@ withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, screenS
|
|
|
484
512
|
isTouchScreen: computed(() => isTouchDevice()),
|
|
485
513
|
isOverlayLoading: computed(() => overlayLoading()),
|
|
486
514
|
isNavigationLoading: computed(() => navigationLoading()),
|
|
515
|
+
isMenuHorizontal: computed(() => menuOrientation() === AXPMenuOrientation.Horizontal),
|
|
487
516
|
})),
|
|
488
517
|
// Methods for State Management
|
|
489
518
|
withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettingService), pallets = inject(AXP_THEME_PALETTE_PROVIDER)) => {
|
|
@@ -498,6 +527,9 @@ withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettin
|
|
|
498
527
|
const settingSideMenu = (await settingService.get(AXPThemeLayoutSetting.SideMenuStatus)) ?? store.sideMenuState();
|
|
499
528
|
patchState(store, { sideMenuState: settingSideMenu });
|
|
500
529
|
//
|
|
530
|
+
const settingMenuOrientation = (await settingService.get(AXPThemeLayoutSetting.MenuOrientation)) ?? store.menuOrientation();
|
|
531
|
+
patchState(store, { menuOrientation: settingMenuOrientation });
|
|
532
|
+
//
|
|
501
533
|
const fontFamily = await settingService.get(AXPThemeLayoutSetting.Font);
|
|
502
534
|
const fontSize = await settingService.get(AXPThemeLayoutSetting.FontSize);
|
|
503
535
|
patchState(store, { font: { family: fontFamily, size: fontSize } });
|
|
@@ -873,6 +905,25 @@ class AXPThemeSettingProvider {
|
|
|
873
905
|
.endSection()
|
|
874
906
|
// Add the 'Scale & Layout' section
|
|
875
907
|
.addSection('layout', 'Scale & Layout', 'Customize the application’s layout and scaling options.')
|
|
908
|
+
// Add the 'Menu Orientation' setting
|
|
909
|
+
.addSetting({
|
|
910
|
+
key: AXPThemeLayoutSetting.MenuOrientation,
|
|
911
|
+
title: 'Menu Orientation',
|
|
912
|
+
scope: 'U',
|
|
913
|
+
isInherited: true,
|
|
914
|
+
defaultValue: 'vertical',
|
|
915
|
+
valueTransforms: objectKeyValueTransforms('id'),
|
|
916
|
+
widget: {
|
|
917
|
+
type: 'select-editor',
|
|
918
|
+
options: {
|
|
919
|
+
dataSource: [
|
|
920
|
+
{ id: 'vertical', title: 'Vertical' },
|
|
921
|
+
{ id: 'horizontal', title: 'Horizontal' },
|
|
922
|
+
],
|
|
923
|
+
},
|
|
924
|
+
},
|
|
925
|
+
description: 'Set the menu orientation for the application.',
|
|
926
|
+
})
|
|
876
927
|
// Add the 'Font Style' setting
|
|
877
928
|
.addSetting({
|
|
878
929
|
key: AXPThemeLayoutSetting.Font,
|
|
@@ -1053,9 +1104,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
1053
1104
|
}]
|
|
1054
1105
|
}], ctorParameters: () => [{ type: i1$2.AXPAppStartUpService }, { type: i0.Injector }] });
|
|
1055
1106
|
|
|
1107
|
+
class AXPDrawerDirective {
|
|
1108
|
+
#effect;
|
|
1109
|
+
constructor(el, renderer) {
|
|
1110
|
+
this.el = el;
|
|
1111
|
+
this.renderer = renderer;
|
|
1112
|
+
this.opened = input(false);
|
|
1113
|
+
this._opened = signal(false);
|
|
1114
|
+
this.#effect = effect(() => {
|
|
1115
|
+
this._opened.set(this.opened());
|
|
1116
|
+
});
|
|
1117
|
+
this.isOpen = computed(() => this._opened());
|
|
1118
|
+
this.position = input('start');
|
|
1119
|
+
this.mode = input('overlay');
|
|
1120
|
+
this.width = input('300px');
|
|
1121
|
+
}
|
|
1122
|
+
ngOnInit() {
|
|
1123
|
+
// Set initial styles
|
|
1124
|
+
this.renderer.setStyle(this.el.nativeElement, 'position', 'absolute');
|
|
1125
|
+
this.renderer.setStyle(this.el.nativeElement, 'top', '0');
|
|
1126
|
+
this.renderer.setStyle(this.el.nativeElement, 'bottom', '0');
|
|
1127
|
+
this.renderer.setStyle(this.el.nativeElement, 'height', '100%');
|
|
1128
|
+
this.renderer.setStyle(this.el.nativeElement, 'transition', 'transform 0.3s ease-in-out');
|
|
1129
|
+
// Setup effects for reactive updates
|
|
1130
|
+
effect(() => {
|
|
1131
|
+
const position = this.position();
|
|
1132
|
+
const width = this.width();
|
|
1133
|
+
const isOpen = this.isOpen();
|
|
1134
|
+
const mode = this.mode();
|
|
1135
|
+
// Set width
|
|
1136
|
+
this.renderer.setStyle(this.el.nativeElement, 'width', width);
|
|
1137
|
+
// Set position
|
|
1138
|
+
if (position === 'start') {
|
|
1139
|
+
this.renderer.setStyle(this.el.nativeElement, 'left', '0');
|
|
1140
|
+
this.renderer.setStyle(this.el.nativeElement, 'right', null);
|
|
1141
|
+
this.renderer.setStyle(this.el.nativeElement, 'transform', isOpen ? 'translateX(0)' : `translateX(-100%)`);
|
|
1142
|
+
}
|
|
1143
|
+
else {
|
|
1144
|
+
this.renderer.setStyle(this.el.nativeElement, 'right', '0');
|
|
1145
|
+
this.renderer.setStyle(this.el.nativeElement, 'left', null);
|
|
1146
|
+
this.renderer.setStyle(this.el.nativeElement, 'transform', isOpen ? 'translateX(0)' : `translateX(100%)`);
|
|
1147
|
+
}
|
|
1148
|
+
// Handle push mode
|
|
1149
|
+
if (mode === 'push') {
|
|
1150
|
+
const container = this.el.nativeElement.parentElement;
|
|
1151
|
+
if (container) {
|
|
1152
|
+
const translateX = isOpen ? (position === 'start' ? width : `-${width}`) : '0';
|
|
1153
|
+
this.renderer.setStyle(container, 'transition', 'transform 0.3s ease-in-out');
|
|
1154
|
+
this.renderer.setStyle(container, 'transform', `translateX(${translateX})`);
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
});
|
|
1158
|
+
}
|
|
1159
|
+
toggle() {
|
|
1160
|
+
this._opened.set(!this._opened());
|
|
1161
|
+
}
|
|
1162
|
+
open() {
|
|
1163
|
+
this._opened.set(true);
|
|
1164
|
+
}
|
|
1165
|
+
close() {
|
|
1166
|
+
this._opened.set(false);
|
|
1167
|
+
}
|
|
1168
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDrawerDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1169
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.0.3", type: AXPDrawerDirective, isStandalone: true, selector: "[axpDrawer]", inputs: { opened: { classPropertyName: "opened", publicName: "opened", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.axp-drawer": "true", "class.axp-drawer-opened": "isOpen()", "class.axp-drawer-closed": "!isOpen()", "class.axp-drawer-overlay": "mode() === \"overlay\"", "class.axp-drawer-push": "mode() === \"push\"", "class.axp-drawer-start": "position() === \"start\"", "class.axp-drawer-end": "position() === \"end\"" } }, exportAs: ["axpDrawer"], ngImport: i0 }); }
|
|
1170
|
+
}
|
|
1171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPDrawerDirective, decorators: [{
|
|
1172
|
+
type: Directive,
|
|
1173
|
+
args: [{
|
|
1174
|
+
selector: '[axpDrawer]',
|
|
1175
|
+
standalone: true,
|
|
1176
|
+
host: {
|
|
1177
|
+
'[class.axp-drawer]': 'true',
|
|
1178
|
+
'[class.axp-drawer-opened]': 'isOpen()',
|
|
1179
|
+
'[class.axp-drawer-closed]': '!isOpen()',
|
|
1180
|
+
'[class.axp-drawer-overlay]': 'mode() === "overlay"',
|
|
1181
|
+
'[class.axp-drawer-push]': 'mode() === "push"',
|
|
1182
|
+
'[class.axp-drawer-start]': 'position() === "start"',
|
|
1183
|
+
'[class.axp-drawer-end]': 'position() === "end"',
|
|
1184
|
+
},
|
|
1185
|
+
exportAs: 'axpDrawer'
|
|
1186
|
+
}]
|
|
1187
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
|
|
1188
|
+
|
|
1056
1189
|
/**
|
|
1057
1190
|
* Generated bundle index. Do not edit.
|
|
1058
1191
|
*/
|
|
1059
1192
|
|
|
1060
|
-
export { AXPDeviceType, AXPLayoutThemeService, AXPScreenSize, AXPSideMenuState, AXPThemeLayoutActionsComponent, AXPThemeLayoutBlockComponent, AXPThemeLayoutFooterComponent,
|
|
1193
|
+
export { AXPDeviceType, AXPDrawerDirective, AXPLayoutThemeService, AXPMenuOrientation, AXPScreenSize, AXPSideMenuState, AXPThemeLayoutActionsComponent, AXPThemeLayoutBlockComponent, AXPThemeLayoutEndSideComponent, AXPThemeLayoutFooterComponent, AXPThemeLayoutHeaderComponent, AXPThemeLayoutListComponent, AXPThemeLayoutListItemComponent, AXPThemeLayoutListItemsGroupComponent, AXPThemeLayoutPageHeaderComponent, AXPThemeLayoutPagePrimaryActionsComponent, AXPThemeLayoutPageSecondaryActionsComponent, AXPThemeLayoutSectionComponent, AXPThemeLayoutSetting, AXPThemeLayoutStartSideComponent, AXPThemeLayoutToolbarComponent, AXPThemeMode, AXPThemePaletteProviderDefault, AXPThemeSlotComponent, AXPThemesSharedModule, AXP_THEME_PALETTE_PROVIDER };
|
|
1061
1194
|
//# sourceMappingURL=acorex-platform-themes-shared.mjs.map
|