@acorex/platform 19.2.17-next.0 → 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-BmBPyfQY.mjs → acorex-platform-themes-default-entity-master-single-view.component-CjX7NZpi.mjs} +10 -10
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BmBPyfQY.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-CjX7NZpi.mjs.map} +1 -1
- 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 +258 -140
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +277 -184
- 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 -5
- 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 +6 -13
- 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-BLM2kf7R.mjs +0 -405
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BLM2kf7R.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,198 +156,199 @@ 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
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
251
|
+
selector: 'axp-layout-list',
|
|
252
|
+
template: `<ng-content select="axp-layout-list-item,axp-layout-list-group,ng-container"></ng-content>`,
|
|
253
|
+
encapsulation: ViewEncapsulation.None,
|
|
254
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
255
|
+
}]
|
|
256
|
+
}] });
|
|
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 }); }
|
|
260
|
+
}
|
|
261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListItemsGroupComponent, decorators: [{
|
|
262
|
+
type: Component,
|
|
263
|
+
args: [{
|
|
264
|
+
standalone: true,
|
|
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>`,
|
|
267
|
+
encapsulation: ViewEncapsulation.None,
|
|
268
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
269
|
+
}]
|
|
270
|
+
}] });
|
|
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 }); }
|
|
274
|
+
}
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListItemComponent, decorators: [{
|
|
276
|
+
type: Component,
|
|
277
|
+
args: [{
|
|
278
|
+
standalone: true,
|
|
279
|
+
selector: 'axp-layout-list-item',
|
|
280
|
+
template: `<ng-content select="axp-layout-content,axp-layout-prefix,axp-layout-suffix,ng-container"></ng-content>`,
|
|
232
281
|
encapsulation: ViewEncapsulation.None,
|
|
233
282
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
234
283
|
}]
|
|
235
284
|
}] });
|
|
236
285
|
|
|
237
|
-
class
|
|
238
|
-
|
|
239
|
-
|
|
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>
|
|
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: `
|
|
245
289
|
<ng-content select="axp-layout-header"></ng-content>
|
|
246
|
-
</ng-template>
|
|
247
|
-
<ng-template #content>
|
|
248
290
|
<ng-content select="axp-layout-content"></ng-content>
|
|
249
|
-
</ng-template>
|
|
250
291
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
251
292
|
}
|
|
252
|
-
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: [{
|
|
253
294
|
type: Component,
|
|
254
295
|
args: [{
|
|
255
296
|
imports: [CommonModule],
|
|
256
297
|
standalone: true,
|
|
257
|
-
selector: 'axp-layout-
|
|
298
|
+
selector: 'axp-layout-section',
|
|
258
299
|
template: `
|
|
259
|
-
<ng-template #header>
|
|
260
300
|
<ng-content select="axp-layout-header"></ng-content>
|
|
261
|
-
</ng-template>
|
|
262
|
-
<ng-template #content>
|
|
263
301
|
<ng-content select="axp-layout-content"></ng-content>
|
|
264
|
-
</ng-template>
|
|
265
302
|
`,
|
|
266
303
|
encapsulation: ViewEncapsulation.None,
|
|
267
304
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
268
305
|
}]
|
|
269
306
|
}] });
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.0.3", type: AXPThemeLayoutEndSideTemplateComponent, isStandalone: true, selector: "axp-layout-end-side", queries: [{ propertyName: "header", first: true, predicate: AXPThemeLayoutHeaderTemplateComponent, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }, { propertyName: "footer", first: true, predicate: ["footer"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
278
|
-
<ng-template #header>
|
|
279
|
-
<ng-content select="axp-layout-header"></ng-content>
|
|
280
|
-
</ng-template>
|
|
281
|
-
<ng-template #content>
|
|
282
|
-
<ng-content select="axp-layout-content"></ng-content>
|
|
283
|
-
</ng-template>
|
|
284
|
-
<ng-template #footer>
|
|
285
|
-
<ng-content select="axp-layout-footer"></ng-content>
|
|
286
|
-
</ng-template>
|
|
307
|
+
|
|
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>
|
|
287
314
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
288
315
|
}
|
|
289
|
-
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: [{
|
|
290
317
|
type: Component,
|
|
291
318
|
args: [{
|
|
292
319
|
imports: [CommonModule],
|
|
293
320
|
standalone: true,
|
|
294
|
-
selector: 'axp-layout-
|
|
321
|
+
selector: 'axp-layout-page-start-side',
|
|
295
322
|
template: `
|
|
296
|
-
<ng-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
<ng-template #content>
|
|
300
|
-
<ng-content select="axp-layout-content"></ng-content>
|
|
301
|
-
</ng-template>
|
|
302
|
-
<ng-template #footer>
|
|
303
|
-
<ng-content select="axp-layout-footer"></ng-content>
|
|
304
|
-
</ng-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>
|
|
305
326
|
`,
|
|
306
327
|
encapsulation: ViewEncapsulation.None,
|
|
307
328
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
308
329
|
}]
|
|
309
330
|
}] });
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
static { this.ɵ
|
|
313
|
-
|
|
314
|
-
<ng-content select="axp-layout-
|
|
315
|
-
<ng-content select="axp-layout-
|
|
316
|
-
|
|
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 }); }
|
|
317
338
|
}
|
|
318
|
-
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: [{
|
|
319
340
|
type: Component,
|
|
320
341
|
args: [{
|
|
321
342
|
imports: [CommonModule],
|
|
322
343
|
standalone: true,
|
|
323
|
-
selector: 'axp-layout-
|
|
344
|
+
selector: 'axp-layout-page-end-side',
|
|
324
345
|
template: `
|
|
325
|
-
<ng-content select="axp-layout-
|
|
326
|
-
<ng-content select="axp-layout-
|
|
327
|
-
|
|
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
|
+
`,
|
|
328
350
|
encapsulation: ViewEncapsulation.None,
|
|
329
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
351
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
330
352
|
}]
|
|
331
353
|
}] });
|
|
332
354
|
|
|
@@ -354,49 +376,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
354
376
|
}]
|
|
355
377
|
}] });
|
|
356
378
|
|
|
357
|
-
class AXPThemeLayoutListComponent {
|
|
358
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
359
|
-
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 }); }
|
|
360
|
-
}
|
|
361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListComponent, decorators: [{
|
|
362
|
-
type: Component,
|
|
363
|
-
args: [{
|
|
364
|
-
standalone: true,
|
|
365
|
-
selector: 'axp-layout-list',
|
|
366
|
-
template: `<ng-content select="axp-layout-list-item,axp-layout-list-group,ng-container"></ng-content>`,
|
|
367
|
-
encapsulation: ViewEncapsulation.None,
|
|
368
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
369
|
-
}]
|
|
370
|
-
}] });
|
|
371
|
-
class AXPThemeLayoutListItemsGroupComponent {
|
|
372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListItemsGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
373
|
-
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 }); }
|
|
374
|
-
}
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListItemsGroupComponent, decorators: [{
|
|
376
|
-
type: Component,
|
|
377
|
-
args: [{
|
|
378
|
-
standalone: true,
|
|
379
|
-
selector: 'axp-layout-list-group',
|
|
380
|
-
template: `<ng-content select="axp-layout-list-item, axp-layout-title, axp-layout-header ,ng-container"></ng-content>`,
|
|
381
|
-
encapsulation: ViewEncapsulation.None,
|
|
382
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
383
|
-
}]
|
|
384
|
-
}] });
|
|
385
|
-
class AXPThemeLayoutListItemComponent {
|
|
386
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
387
|
-
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 }); }
|
|
388
|
-
}
|
|
389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPThemeLayoutListItemComponent, decorators: [{
|
|
390
|
-
type: Component,
|
|
391
|
-
args: [{
|
|
392
|
-
standalone: true,
|
|
393
|
-
selector: 'axp-layout-list-item',
|
|
394
|
-
template: `<ng-content select="axp-layout-content,axp-layout-prefix,axp-layout-suffix,ng-container"></ng-content>`,
|
|
395
|
-
encapsulation: ViewEncapsulation.None,
|
|
396
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
397
|
-
}]
|
|
398
|
-
}] });
|
|
399
|
-
|
|
400
379
|
var AXPThemeLayoutSetting;
|
|
401
380
|
(function (AXPThemeLayoutSetting) {
|
|
402
381
|
AXPThemeLayoutSetting["Name"] = "layout:theme:name";
|
|
@@ -407,6 +386,7 @@ var AXPThemeLayoutSetting;
|
|
|
407
386
|
AXPThemeLayoutSetting["Mode"] = "layout:theme:mode";
|
|
408
387
|
AXPThemeLayoutSetting["SideMenuStatus"] = "layout:theme:sidemenu:status";
|
|
409
388
|
AXPThemeLayoutSetting["SideMenuWidth"] = "layout:theme:sidemenu:width";
|
|
389
|
+
AXPThemeLayoutSetting["MenuOrientation"] = "layout:theme:menu:orientation";
|
|
410
390
|
})(AXPThemeLayoutSetting || (AXPThemeLayoutSetting = {}));
|
|
411
391
|
|
|
412
392
|
// Theme Enum
|
|
@@ -436,6 +416,12 @@ var AXPSideMenuState;
|
|
|
436
416
|
AXPSideMenuState["Opened"] = "opened";
|
|
437
417
|
AXPSideMenuState["Closed"] = "closed";
|
|
438
418
|
})(AXPSideMenuState || (AXPSideMenuState = {}));
|
|
419
|
+
// Menu Orientation Enum
|
|
420
|
+
var AXPMenuOrientation;
|
|
421
|
+
(function (AXPMenuOrientation) {
|
|
422
|
+
AXPMenuOrientation["Vertical"] = "vertical";
|
|
423
|
+
AXPMenuOrientation["Horizontal"] = "horizontal";
|
|
424
|
+
})(AXPMenuOrientation || (AXPMenuOrientation = {}));
|
|
439
425
|
|
|
440
426
|
const AXP_THEME_PALETTE_PROVIDER = new InjectionToken('AXP_THEME_PALETTE_PROVIDER', {
|
|
441
427
|
providedIn: 'root',
|
|
@@ -502,19 +488,21 @@ withState(() => {
|
|
|
502
488
|
navigationLoadingTaskCount: 0,
|
|
503
489
|
sideMenuState: (getScreenSize() === AXPScreenSize.Large ? AXPSideMenuState.Opened : AXPSideMenuState.Closed),
|
|
504
490
|
sideMenuWidth: 288,
|
|
491
|
+
menuOrientation: 'vertical',
|
|
505
492
|
_listener: null,
|
|
506
493
|
_resizeListener: null,
|
|
507
494
|
};
|
|
508
495
|
return state;
|
|
509
496
|
}),
|
|
510
497
|
// Computed Signals
|
|
511
|
-
withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, screenSize, deviceType, isTouchDevice, sideMenuState, overlayLoading, navigationLoading }) => ({
|
|
498
|
+
withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, screenSize, deviceType, isTouchDevice, sideMenuState, overlayLoading, navigationLoading, menuOrientation }) => ({
|
|
512
499
|
isDarkMode: computed(() => currentTheme() === AXPThemeMode.Dark ||
|
|
513
500
|
(currentTheme() === AXPThemeMode.System && systemTheme() === AXPThemeMode.Dark)),
|
|
514
501
|
isLightMode: computed(() => currentTheme() === AXPThemeMode.Light ||
|
|
515
502
|
(currentTheme() === AXPThemeMode.System && systemTheme() === AXPThemeMode.Light)),
|
|
516
503
|
isSystemMode: computed(() => currentTheme() === AXPThemeMode.System),
|
|
517
504
|
isSideMenuOpen: computed(() => sideMenuState() === AXPSideMenuState.Opened),
|
|
505
|
+
isSideMenuOverlay: computed(() => screenSize() === AXPScreenSize.Small || screenSize() === AXPScreenSize.Medium),
|
|
518
506
|
isSmall: computed(() => screenSize() === AXPScreenSize.Small),
|
|
519
507
|
isMedium: computed(() => screenSize() === AXPScreenSize.Medium),
|
|
520
508
|
isLarge: computed(() => screenSize() === AXPScreenSize.Large),
|
|
@@ -524,6 +512,7 @@ withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, screenS
|
|
|
524
512
|
isTouchScreen: computed(() => isTouchDevice()),
|
|
525
513
|
isOverlayLoading: computed(() => overlayLoading()),
|
|
526
514
|
isNavigationLoading: computed(() => navigationLoading()),
|
|
515
|
+
isMenuHorizontal: computed(() => menuOrientation() === AXPMenuOrientation.Horizontal),
|
|
527
516
|
})),
|
|
528
517
|
// Methods for State Management
|
|
529
518
|
withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettingService), pallets = inject(AXP_THEME_PALETTE_PROVIDER)) => {
|
|
@@ -538,6 +527,9 @@ withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettin
|
|
|
538
527
|
const settingSideMenu = (await settingService.get(AXPThemeLayoutSetting.SideMenuStatus)) ?? store.sideMenuState();
|
|
539
528
|
patchState(store, { sideMenuState: settingSideMenu });
|
|
540
529
|
//
|
|
530
|
+
const settingMenuOrientation = (await settingService.get(AXPThemeLayoutSetting.MenuOrientation)) ?? store.menuOrientation();
|
|
531
|
+
patchState(store, { menuOrientation: settingMenuOrientation });
|
|
532
|
+
//
|
|
541
533
|
const fontFamily = await settingService.get(AXPThemeLayoutSetting.Font);
|
|
542
534
|
const fontSize = await settingService.get(AXPThemeLayoutSetting.FontSize);
|
|
543
535
|
patchState(store, { font: { family: fontFamily, size: fontSize } });
|
|
@@ -913,6 +905,25 @@ class AXPThemeSettingProvider {
|
|
|
913
905
|
.endSection()
|
|
914
906
|
// Add the 'Scale & Layout' section
|
|
915
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
|
+
})
|
|
916
927
|
// Add the 'Font Style' setting
|
|
917
928
|
.addSetting({
|
|
918
929
|
key: AXPThemeLayoutSetting.Font,
|
|
@@ -1093,9 +1104,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
1093
1104
|
}]
|
|
1094
1105
|
}], ctorParameters: () => [{ type: i1$2.AXPAppStartUpService }, { type: i0.Injector }] });
|
|
1095
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
|
+
|
|
1096
1189
|
/**
|
|
1097
1190
|
* Generated bundle index. Do not edit.
|
|
1098
1191
|
*/
|
|
1099
1192
|
|
|
1100
|
-
export { AXPDeviceType, AXPLayoutThemeService, AXPScreenSize, AXPSideMenuState, AXPThemeLayoutActionsComponent, AXPThemeLayoutBlockComponent,
|
|
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 };
|
|
1101
1194
|
//# sourceMappingURL=acorex-platform-themes-shared.mjs.map
|