@acorex/platform 20.3.0-next.2 → 20.3.0-next.21
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/index.d.ts +403 -374
- package/core/index.d.ts +576 -46
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +152 -231
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +657 -110
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-domain.mjs +16 -16
- package/fesm2022/acorex-platform-domain.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +1946 -1947
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +2094 -477
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +96 -89
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs +52 -0
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-DyXF9zAh.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +1763 -1233
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +43 -33
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-widget-core.mjs +2756 -0
- package/fesm2022/acorex-platform-layout-widget-core.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs → acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs} +6 -6
- package/fesm2022/acorex-platform-layout-widgets-button-widget-designer.component-C_3IWNkj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-edit.component-CJltEgut.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs → acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-schema-widget-view.component-pM-TIuk0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-edit.component-BqI96-fU.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs → acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-values-widget-view.component-C-AhenaM.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs → acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-edit.component-DCAya5ne.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs → acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs} +5 -5
- package/fesm2022/acorex-platform-layout-widgets-extra-properties-widget-view.component-D-PnBqLb.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs → acorex-platform-layout-widgets-file-list-popup.component-DuuFHWvB.mjs} +10 -10
- package/fesm2022/acorex-platform-layout-widgets-file-list-popup.component-DuuFHWvB.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs → acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs} +8 -8
- package/fesm2022/acorex-platform-layout-widgets-page-widget-designer.component-Bss0xUcu.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs → acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs} +14 -14
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-edit-popup.component-Cy9mHnNP.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs → acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs} +6 -5
- package/fesm2022/acorex-platform-layout-widgets-tabular-data-view-popup.component-DznLtuer.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs → acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs} +6 -7
- package/fesm2022/acorex-platform-layout-widgets-text-block-widget-designer.component-ndOUSFi9.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets.mjs → acorex-platform-layout-widgets.mjs} +8836 -8103
- package/fesm2022/acorex-platform-layout-widgets.mjs.map +1 -0
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/acorex-platform-runtime.mjs +40 -40
- package/fesm2022/acorex-platform-runtime.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Fnj54AxV.mjs +115 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Fnj54AxV.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-C60W6UnN.mjs +753 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-C60W6UnN.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-B3NyKGIG.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-B3NyKGIG.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs → acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs} +17 -17
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B8gx5cG7.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs → acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map → acorex-platform-themes-default-error-401.component-CcvGfdhu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs → acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map → acorex-platform-themes-default-error-404.component-4-CaEsnV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs → acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map → acorex-platform-themes-default-error-offline.component-BNecbFEj.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +45 -45
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs → acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs} +25 -15
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs → acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs} +9 -9
- package/fesm2022/acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs} +24 -9
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs} +24 -9
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +264 -86
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +27 -39
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/README.md +1577 -3
- package/layout/builder/index.d.ts +735 -814
- package/layout/components/index.d.ts +443 -214
- package/layout/designer/index.d.ts +8 -6
- package/layout/entity/index.d.ts +979 -282
- package/layout/views/index.d.ts +13 -13
- package/layout/widget-core/README.md +4 -0
- package/layout/widget-core/index.d.ts +957 -0
- package/layout/widgets/README.md +4 -0
- package/{widgets → layout/widgets}/index.d.ts +1908 -770
- package/package.json +22 -18
- package/themes/shared/index.d.ts +2 -2
- package/workflow/index.d.ts +3 -173
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs +0 -115
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BXbkGGei.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs +0 -708
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-X0hLRZhX.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs +0 -101
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-Bp1JLsj1.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C2Qn1YAW.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs +0 -84
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-JC_nYunG.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs +0 -76
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CxgKO2VI.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-rW2RD35f.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DHFMnkls.mjs +0 -211
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DHFMnkls.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DNvnQ4Mc.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs +0 -40
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-CPVRbE8B.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-Dmg5DdX8.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-yADN3Xji.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets.mjs.map +0 -1
- package/widgets/README.md +0 -4
|
@@ -17,8 +17,8 @@ import { timer, firstValueFrom, fromEvent, Subscription, filter } from 'rxjs';
|
|
|
17
17
|
import { debounceTime } from 'rxjs/operators';
|
|
18
18
|
import * as i2$1 from '@acorex/core/translation';
|
|
19
19
|
import { AXTranslationModule } from '@acorex/core/translation';
|
|
20
|
-
import * as i3$1 from '@acorex/platform/layout/
|
|
21
|
-
import { AXPValueWidgetComponent, AXP_WIDGETS_LAYOUT_CATEGORY,
|
|
20
|
+
import * as i3$1 from '@acorex/platform/layout/widget-core';
|
|
21
|
+
import { AXPValueWidgetComponent, AXP_WIDGETS_LAYOUT_CATEGORY, AXPWidgetCoreModule } from '@acorex/platform/layout/widget-core';
|
|
22
22
|
import * as i2$4 from '@acorex/platform/layout/components';
|
|
23
23
|
import { AXPComponentSlotModule } from '@acorex/platform/layout/components';
|
|
24
24
|
import * as i2$2 from '@acorex/components/form';
|
|
@@ -29,7 +29,7 @@ import * as i1$1 from '@acorex/components/select-box';
|
|
|
29
29
|
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
|
30
30
|
import * as i5 from '@angular/forms';
|
|
31
31
|
import { FormsModule } from '@angular/forms';
|
|
32
|
-
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
|
|
32
|
+
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/layout/widgets';
|
|
33
33
|
import { AXSelectionCdkModule } from '@acorex/cdk/selection';
|
|
34
34
|
import { AXPopupService } from '@acorex/components/popup';
|
|
35
35
|
import * as i2$3 from '@acorex/components/button-group';
|
|
@@ -98,13 +98,13 @@ withState(() => {
|
|
|
98
98
|
return AXPScreenSize.Medium;
|
|
99
99
|
return AXPScreenSize.Large;
|
|
100
100
|
};
|
|
101
|
-
// Helper function to determine device type
|
|
101
|
+
// Helper function to determine device type (based on viewport width for reactivity)
|
|
102
102
|
const getDeviceType = () => {
|
|
103
|
-
const
|
|
104
|
-
if (
|
|
103
|
+
const width = window.innerWidth;
|
|
104
|
+
if (width <= 600) {
|
|
105
105
|
return AXPDeviceType.Mobile;
|
|
106
106
|
}
|
|
107
|
-
else if (
|
|
107
|
+
else if (width <= 1024) {
|
|
108
108
|
return AXPDeviceType.Tablet;
|
|
109
109
|
}
|
|
110
110
|
return AXPDeviceType.Desktop;
|
|
@@ -213,8 +213,19 @@ withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettin
|
|
|
213
213
|
else {
|
|
214
214
|
newScreenSize = AXPScreenSize.Large;
|
|
215
215
|
}
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
// Determine device type based on width to keep it reactive to devtools emulation
|
|
217
|
+
let newDeviceType;
|
|
218
|
+
if (width <= 600) {
|
|
219
|
+
newDeviceType = AXPDeviceType.Mobile;
|
|
220
|
+
}
|
|
221
|
+
else if (width <= 1024) {
|
|
222
|
+
newDeviceType = AXPDeviceType.Tablet;
|
|
223
|
+
}
|
|
224
|
+
else {
|
|
225
|
+
newDeviceType = AXPDeviceType.Desktop;
|
|
226
|
+
}
|
|
227
|
+
if (newScreenSize !== store.screenSize() || newDeviceType !== store.deviceType()) {
|
|
228
|
+
patchState(store, { screenSize: newScreenSize, deviceType: newDeviceType });
|
|
218
229
|
if (!store.isLarge()) {
|
|
219
230
|
patchState(store, { sideMenuState: AXPSideMenuState.Closed });
|
|
220
231
|
settingService.scope(AXPPlatformScope.User).set(AXPThemeLayoutSetting.SideMenuStatus, store.sideMenuState());
|
|
@@ -425,8 +436,8 @@ class AXPThemeSlotComponent {
|
|
|
425
436
|
this.store = inject(AXPLayoutThemeService);
|
|
426
437
|
this.variants = AXPThemeMode;
|
|
427
438
|
}
|
|
428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
429
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.
|
|
439
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPThemeSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
440
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: AXPThemeSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
430
441
|
<ax-button color="primary">
|
|
431
442
|
<ax-icon
|
|
432
443
|
class="fa-regular "
|
|
@@ -441,7 +452,7 @@ class AXPThemeSlotComponent {
|
|
|
441
452
|
<ax-button-item-list>
|
|
442
453
|
<ax-button-item
|
|
443
454
|
(onClick)="store.changeThemeMode(variants.Light)"
|
|
444
|
-
[text]="(
|
|
455
|
+
[text]="('@layout:theme-modes.light' | translate | async)!"
|
|
445
456
|
[selected]="!store.isSystemMode() && !store.isDarkMode()"
|
|
446
457
|
>
|
|
447
458
|
<ax-prefix>
|
|
@@ -450,7 +461,7 @@ class AXPThemeSlotComponent {
|
|
|
450
461
|
</ax-button-item>
|
|
451
462
|
<ax-button-item
|
|
452
463
|
(onClick)="store.changeThemeMode(variants.Dark)"
|
|
453
|
-
[text]="(
|
|
464
|
+
[text]="('@layout:theme-modes.dark' | translate | async)!"
|
|
454
465
|
[selected]="!store.isSystemMode() && store.isDarkMode()"
|
|
455
466
|
>
|
|
456
467
|
<ax-prefix>
|
|
@@ -459,7 +470,7 @@ class AXPThemeSlotComponent {
|
|
|
459
470
|
</ax-button-item>
|
|
460
471
|
<ax-button-item
|
|
461
472
|
(onClick)="store.changeThemeMode(variants.System)"
|
|
462
|
-
[text]="(
|
|
473
|
+
[text]="('@layout:theme-modes.system' | translate | async)!"
|
|
463
474
|
[selected]="store.isSystemMode()"
|
|
464
475
|
>
|
|
465
476
|
<ax-prefix>
|
|
@@ -469,9 +480,9 @@ class AXPThemeSlotComponent {
|
|
|
469
480
|
</ax-button-item-list>
|
|
470
481
|
</ax-dropdown-panel>
|
|
471
482
|
</ax-button>
|
|
472
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i2.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i4.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i2$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
483
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i2.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i2.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXDropdownModule }, { kind: "component", type: i4.AXDropdownPanelComponent, selector: "ax-dropdown-panel", inputs: ["isOpen", "fitParent", "dropdownWidth", "position", "placement", "_target", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i2$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2$1.AXTranslatorPipe, name: "translate" }] }); }
|
|
473
484
|
}
|
|
474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPThemeSlotComponent, decorators: [{
|
|
475
486
|
type: Component,
|
|
476
487
|
args: [{
|
|
477
488
|
template: `
|
|
@@ -489,7 +500,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
489
500
|
<ax-button-item-list>
|
|
490
501
|
<ax-button-item
|
|
491
502
|
(onClick)="store.changeThemeMode(variants.Light)"
|
|
492
|
-
[text]="(
|
|
503
|
+
[text]="('@layout:theme-modes.light' | translate | async)!"
|
|
493
504
|
[selected]="!store.isSystemMode() && !store.isDarkMode()"
|
|
494
505
|
>
|
|
495
506
|
<ax-prefix>
|
|
@@ -498,7 +509,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
498
509
|
</ax-button-item>
|
|
499
510
|
<ax-button-item
|
|
500
511
|
(onClick)="store.changeThemeMode(variants.Dark)"
|
|
501
|
-
[text]="(
|
|
512
|
+
[text]="('@layout:theme-modes.dark' | translate | async)!"
|
|
502
513
|
[selected]="!store.isSystemMode() && store.isDarkMode()"
|
|
503
514
|
>
|
|
504
515
|
<ax-prefix>
|
|
@@ -507,7 +518,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
507
518
|
</ax-button-item>
|
|
508
519
|
<ax-button-item
|
|
509
520
|
(onClick)="store.changeThemeMode(variants.System)"
|
|
510
|
-
[text]="(
|
|
521
|
+
[text]="('@layout:theme-modes.system' | translate | async)!"
|
|
511
522
|
[selected]="store.isSystemMode()"
|
|
512
523
|
>
|
|
513
524
|
<ax-prefix>
|
|
@@ -624,10 +635,10 @@ class AXPColorChooserService {
|
|
|
624
635
|
this.cache = uniqueColors;
|
|
625
636
|
return uniqueColors;
|
|
626
637
|
}
|
|
627
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
628
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
638
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPColorChooserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
639
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPColorChooserService, providedIn: 'root' }); }
|
|
629
640
|
}
|
|
630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPColorChooserService, decorators: [{
|
|
631
642
|
type: Injectable,
|
|
632
643
|
args: [{
|
|
633
644
|
providedIn: 'root',
|
|
@@ -639,12 +650,22 @@ class AXPColorChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
639
650
|
super(...arguments);
|
|
640
651
|
this.colorService = inject(AXPColorChooserService);
|
|
641
652
|
this.colors = signal([], ...(ngDevMode ? [{ debugName: "colors" }] : []));
|
|
653
|
+
this.placeholder = computed(() => this.options()['placeholder'] ?? '', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
642
654
|
this.selectedColor = computed(() => {
|
|
643
|
-
const
|
|
644
|
-
if (
|
|
645
|
-
return
|
|
655
|
+
const value = this.getValue();
|
|
656
|
+
if (!value) {
|
|
657
|
+
return this.colors()[0];
|
|
646
658
|
}
|
|
647
|
-
|
|
659
|
+
// If value is a string in the format: "ax-text-* ax-bg-* ax-border-*"
|
|
660
|
+
if (typeof value === 'string') {
|
|
661
|
+
const parsed = this.parseStringValue(value);
|
|
662
|
+
if (parsed) {
|
|
663
|
+
return parsed;
|
|
664
|
+
}
|
|
665
|
+
return this.colors()[0];
|
|
666
|
+
}
|
|
667
|
+
// Otherwise value is an object
|
|
668
|
+
return value.name;
|
|
648
669
|
}, ...(ngDevMode ? [{ debugName: "selectedColor" }] : []));
|
|
649
670
|
}
|
|
650
671
|
async ngOnInit() {
|
|
@@ -658,21 +679,30 @@ class AXPColorChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
658
679
|
this.setValue(undefined);
|
|
659
680
|
return;
|
|
660
681
|
}
|
|
661
|
-
// const color = this.colors().find((c) => c.name === event.value);
|
|
662
682
|
const color = event.component.selectedItems[0];
|
|
663
|
-
|
|
683
|
+
// Always store as ordered string: "color background border"
|
|
684
|
+
const stringValue = `${color.color} ${color.background} ${color.border}`;
|
|
685
|
+
this.setValue(stringValue);
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
parseStringValue(value) {
|
|
689
|
+
const parts = value.trim().split(/\s+/);
|
|
690
|
+
if (parts.length !== 3) {
|
|
691
|
+
return null;
|
|
664
692
|
}
|
|
693
|
+
const [color, background, border] = parts;
|
|
694
|
+
const match = this.colors().find((c) => c.color === color && c.background === background && c.border === border);
|
|
695
|
+
return match?.name ?? null;
|
|
665
696
|
}
|
|
666
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
667
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.
|
|
668
|
-
<div class="ax-p-4">
|
|
697
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPColorChooserWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
698
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: AXPColorChooserWidgetEditComponent, isStandalone: true, selector: "ax-color-chooser-widget", usesInheritance: true, ngImport: i0, template: `
|
|
669
699
|
<ax-form [messageStyle]="'float'" [updateOn]="'change'">
|
|
670
700
|
<ax-form-field>
|
|
671
701
|
<ax-select-box
|
|
672
702
|
[dataSource]="colors()"
|
|
673
703
|
textField="title"
|
|
674
704
|
valueField="name"
|
|
675
|
-
[placeholder]="
|
|
705
|
+
[placeholder]="placeholder()"
|
|
676
706
|
[itemTemplate]="customItemTemplate"
|
|
677
707
|
[ngModel]="selectedColor()"
|
|
678
708
|
(onValueChanged)="handleValueChange($event)"
|
|
@@ -694,22 +724,20 @@ class AXPColorChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
694
724
|
</ax-select-box>
|
|
695
725
|
</ax-form-field>
|
|
696
726
|
</ax-form>
|
|
697
|
-
</div>
|
|
698
727
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i1$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "isItemTruncated", "showItemTooltip", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed", "onItemSelected", "onItemClick"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i2$2.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i2$2.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "look", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i2$2.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i4$1.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
699
728
|
}
|
|
700
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPColorChooserWidgetEditComponent, decorators: [{
|
|
701
730
|
type: Component,
|
|
702
731
|
args: [{
|
|
703
732
|
selector: 'ax-color-chooser-widget',
|
|
704
733
|
template: `
|
|
705
|
-
<div class="ax-p-4">
|
|
706
734
|
<ax-form [messageStyle]="'float'" [updateOn]="'change'">
|
|
707
735
|
<ax-form-field>
|
|
708
736
|
<ax-select-box
|
|
709
737
|
[dataSource]="colors()"
|
|
710
738
|
textField="title"
|
|
711
739
|
valueField="name"
|
|
712
|
-
[placeholder]="
|
|
740
|
+
[placeholder]="placeholder()"
|
|
713
741
|
[itemTemplate]="customItemTemplate"
|
|
714
742
|
[ngModel]="selectedColor()"
|
|
715
743
|
(onValueChanged)="handleValueChange($event)"
|
|
@@ -731,7 +759,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
731
759
|
</ax-select-box>
|
|
732
760
|
</ax-form-field>
|
|
733
761
|
</ax-form>
|
|
734
|
-
</div>
|
|
735
762
|
`,
|
|
736
763
|
imports: [AXSelectBoxModule, AXFormModule, CommonModule, AXSearchBoxModule, AXButtonModule, FormsModule],
|
|
737
764
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -755,10 +782,10 @@ const AXPThemeColorChooserWidgetConfig = {
|
|
|
755
782
|
component: () => Promise.resolve().then(function () { return themeColorChooserEdit_component; }).then((c) => c.AXPColorChooserWidgetEditComponent),
|
|
756
783
|
},
|
|
757
784
|
column: {
|
|
758
|
-
component: () => import('./acorex-platform-themes-shared-theme-color-chooser-column.component-
|
|
785
|
+
component: () => import('./acorex-platform-themes-shared-theme-color-chooser-column.component-hgWLhhle.mjs').then((c) => c.AXPColorChooserWidgetColumnComponent),
|
|
759
786
|
},
|
|
760
787
|
view: {
|
|
761
|
-
component: () => import('./acorex-platform-themes-shared-theme-color-chooser-view.component-
|
|
788
|
+
component: () => import('./acorex-platform-themes-shared-theme-color-chooser-view.component-CY3JZK_W.mjs').then((c) => c.AXPColorChooserWidgetViewComponent),
|
|
762
789
|
},
|
|
763
790
|
},
|
|
764
791
|
};
|
|
@@ -778,24 +805,24 @@ class AXPFontSizeChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
778
805
|
onSizeClick(size) {
|
|
779
806
|
this.setValue(size);
|
|
780
807
|
}
|
|
781
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
782
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
808
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFontSizeChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
809
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPFontSizeChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
783
810
|
@for (size of sizes(); track size) {
|
|
784
811
|
<div (click)="onSizeClick(size)" [style.font-size]="size" [class.--selected]="size === selectedSize()">
|
|
785
812
|
<div>
|
|
786
|
-
<span>{{ 'font-sizes.' + size | translate
|
|
813
|
+
<span>{{ '@layout:font-sizes.' + size | translate | async }}</span>
|
|
787
814
|
</div>
|
|
788
815
|
</div>
|
|
789
816
|
}
|
|
790
817
|
`, isInline: true, styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXSelectionCdkModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
791
818
|
}
|
|
792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFontSizeChooserWidgetComponent, decorators: [{
|
|
793
820
|
type: Component,
|
|
794
821
|
args: [{ template: `
|
|
795
822
|
@for (size of sizes(); track size) {
|
|
796
823
|
<div (click)="onSizeClick(size)" [style.font-size]="size" [class.--selected]="size === selectedSize()">
|
|
797
824
|
<div>
|
|
798
|
-
<span>{{ 'font-sizes.' + size | translate
|
|
825
|
+
<span>{{ '@layout:font-sizes.' + size | translate | async }}</span>
|
|
799
826
|
</div>
|
|
800
827
|
</div>
|
|
801
828
|
}
|
|
@@ -854,8 +881,8 @@ class AXPFontStyleChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
854
881
|
onFontClick(font) {
|
|
855
882
|
this.setValue(font.id);
|
|
856
883
|
}
|
|
857
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
858
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
884
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFontStyleChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
885
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPFontStyleChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
859
886
|
@for (font of fonts(); track font.id) {
|
|
860
887
|
<div
|
|
861
888
|
(click)="onFontClick(font)"
|
|
@@ -869,7 +896,7 @@ class AXPFontStyleChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
869
896
|
}
|
|
870
897
|
`, isInline: true, styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXSelectionCdkModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
871
898
|
}
|
|
872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPFontStyleChooserWidgetComponent, decorators: [{
|
|
873
900
|
type: Component,
|
|
874
901
|
args: [{ template: `
|
|
875
902
|
@for (font of fonts(); track font.id) {
|
|
@@ -918,11 +945,24 @@ const DEFAULT_ICON_STYLES = [
|
|
|
918
945
|
{ name: 'fa-regular', label: 'Regular' },
|
|
919
946
|
];
|
|
920
947
|
const DEFAULT_ICONS = [
|
|
948
|
+
// Navigation & Actions
|
|
921
949
|
{ name: 'house', label: 'House', tags: ['home', 'building'], supportedStyle: ['fa-regular'] },
|
|
922
950
|
{ name: 'magnifying-glass', label: 'Search', tags: ['find', 'zoom'], supportedStyle: ['fa-solid'] },
|
|
923
951
|
{ name: 'user', label: 'User', tags: ['person', 'account'] },
|
|
924
952
|
{ name: 'check', label: 'Check', tags: ['confirm', 'done'] },
|
|
925
953
|
{ name: 'xmark', label: 'Close', tags: ['cancel', 'exit'] },
|
|
954
|
+
{ name: 'plus', label: 'Add', tags: ['create', 'new', 'plus'] },
|
|
955
|
+
{ name: 'minus', label: 'Remove', tags: ['delete', 'subtract', 'minus'] },
|
|
956
|
+
{ name: 'edit', label: 'Edit', tags: ['modify', 'change', 'pencil'] },
|
|
957
|
+
{ name: 'trash', label: 'Delete', tags: ['remove', 'delete', 'bin'] },
|
|
958
|
+
{ name: 'copy', label: 'Copy', tags: ['duplicate', 'clone'] },
|
|
959
|
+
{ name: 'download', label: 'Download', tags: ['save', 'export'] },
|
|
960
|
+
{ name: 'upload', label: 'Upload', tags: ['import', 'send'] },
|
|
961
|
+
{ name: 'print', label: 'Print', tags: ['printer', 'document'] },
|
|
962
|
+
{ name: 'share', label: 'Share', tags: ['send', 'distribute'] },
|
|
963
|
+
{ name: 'link', label: 'Link', tags: ['url', 'connection'] },
|
|
964
|
+
{ name: 'external-link', label: 'External Link', tags: ['open', 'external'] },
|
|
965
|
+
// Media & Files
|
|
926
966
|
{ name: 'star', label: 'Star', tags: ['favorite', 'rate'] },
|
|
927
967
|
{ name: 'heart', label: 'Heart', tags: ['love', 'like'] },
|
|
928
968
|
{ name: 'cloud', label: 'Cloud', tags: ['weather', 'sky'] },
|
|
@@ -933,6 +973,128 @@ const DEFAULT_ICONS = [
|
|
|
933
973
|
{ name: 'video', label: 'Video', tags: ['film', 'movie'] },
|
|
934
974
|
{ name: 'music', label: 'Music', tags: ['sound', 'audio'] },
|
|
935
975
|
{ name: 'file-lines', label: 'File', tags: ['document', 'text'] },
|
|
976
|
+
{ name: 'file-pdf', label: 'PDF', tags: ['document', 'pdf'] },
|
|
977
|
+
{ name: 'file-image', label: 'Image', tags: ['picture', 'photo'] },
|
|
978
|
+
{ name: 'file-video', label: 'Video File', tags: ['movie', 'clip'] },
|
|
979
|
+
{ name: 'file-audio', label: 'Audio File', tags: ['sound', 'music'] },
|
|
980
|
+
{ name: 'file-zipper', label: 'Archive', tags: ['zip', 'compressed'] },
|
|
981
|
+
{ name: 'image', label: 'Image', tags: ['picture', 'photo'] },
|
|
982
|
+
{ name: 'images', label: 'Images', tags: ['gallery', 'photos'] },
|
|
983
|
+
// Communication & Social
|
|
984
|
+
{ name: 'phone', label: 'Phone', tags: ['call', 'telephone'] },
|
|
985
|
+
{ name: 'mobile', label: 'Mobile', tags: ['cell', 'smartphone'] },
|
|
986
|
+
{ name: 'comment', label: 'Comment', tags: ['message', 'chat'] },
|
|
987
|
+
{ name: 'comments', label: 'Comments', tags: ['messages', 'discussion'] },
|
|
988
|
+
{ name: 'thumbs-up', label: 'Like', tags: ['approve', 'good'] },
|
|
989
|
+
{ name: 'thumbs-down', label: 'Dislike', tags: ['disapprove', 'bad'] },
|
|
990
|
+
{ name: 'bell', label: 'Notification', tags: ['alert', 'reminder'] },
|
|
991
|
+
{ name: 'flag', label: 'Flag', tags: ['mark', 'report'] },
|
|
992
|
+
{ name: 'bookmark', label: 'Bookmark', tags: ['save', 'favorite'] },
|
|
993
|
+
{ name: 'calendar', label: 'Calendar', tags: ['date', 'schedule'] },
|
|
994
|
+
{ name: 'clock', label: 'Clock', tags: ['time', 'schedule'] },
|
|
995
|
+
// Business & Finance
|
|
996
|
+
{ name: 'chart-line', label: 'Chart', tags: ['graph', 'analytics'] },
|
|
997
|
+
{ name: 'chart-bar', label: 'Bar Chart', tags: ['graph', 'statistics'] },
|
|
998
|
+
{ name: 'chart-pie', label: 'Pie Chart', tags: ['graph', 'percentage'] },
|
|
999
|
+
{ name: 'calculator', label: 'Calculator', tags: ['math', 'compute'] },
|
|
1000
|
+
{ name: 'dollar-sign', label: 'Dollar', tags: ['money', 'currency'] },
|
|
1001
|
+
{ name: 'credit-card', label: 'Credit Card', tags: ['payment', 'card'] },
|
|
1002
|
+
{ name: 'receipt', label: 'Receipt', tags: ['bill', 'invoice'] },
|
|
1003
|
+
{ name: 'briefcase', label: 'Briefcase', tags: ['business', 'work'] },
|
|
1004
|
+
{ name: 'building', label: 'Building', tags: ['office', 'company'] },
|
|
1005
|
+
{ name: 'handshake', label: 'Handshake', tags: ['agreement', 'partnership'] },
|
|
1006
|
+
// Technology & Tools
|
|
1007
|
+
{ name: 'laptop', label: 'Laptop', tags: ['computer', 'notebook'] },
|
|
1008
|
+
{ name: 'desktop', label: 'Desktop', tags: ['computer', 'monitor'] },
|
|
1009
|
+
{ name: 'tablet', label: 'Tablet', tags: ['ipad', 'device'] },
|
|
1010
|
+
{ name: 'keyboard', label: 'Keyboard', tags: ['input', 'typing'] },
|
|
1011
|
+
{ name: 'mouse', label: 'Mouse', tags: ['pointer', 'click'] },
|
|
1012
|
+
{ name: 'wifi', label: 'WiFi', tags: ['internet', 'connection'] },
|
|
1013
|
+
{ name: 'database', label: 'Database', tags: ['data', 'storage'] },
|
|
1014
|
+
{ name: 'server', label: 'Server', tags: ['hosting', 'backend'] },
|
|
1015
|
+
{ name: 'code', label: 'Code', tags: ['programming', 'development'] },
|
|
1016
|
+
{ name: 'bug', label: 'Bug', tags: ['error', 'debug'] },
|
|
1017
|
+
{ name: 'shield', label: 'Shield', tags: ['security', 'protection'] },
|
|
1018
|
+
{ name: 'lock', label: 'Lock', tags: ['security', 'private'] },
|
|
1019
|
+
{ name: 'unlock', label: 'Unlock', tags: ['open', 'access'] },
|
|
1020
|
+
{ name: 'key', label: 'Key', tags: ['access', 'password'] },
|
|
1021
|
+
// Transportation & Location
|
|
1022
|
+
{ name: 'car', label: 'Car', tags: ['vehicle', 'automobile'] },
|
|
1023
|
+
{ name: 'truck', label: 'Truck', tags: ['vehicle', 'delivery'] },
|
|
1024
|
+
{ name: 'plane', label: 'Plane', tags: ['aircraft', 'travel'] },
|
|
1025
|
+
{ name: 'train', label: 'Train', tags: ['railway', 'transport'] },
|
|
1026
|
+
{ name: 'ship', label: 'Ship', tags: ['boat', 'vessel'] },
|
|
1027
|
+
{ name: 'bicycle', label: 'Bicycle', tags: ['bike', 'cycle'] },
|
|
1028
|
+
{ name: 'map', label: 'Map', tags: ['location', 'navigation'] },
|
|
1029
|
+
{ name: 'map-pin', label: 'Location', tags: ['pin', 'marker'] },
|
|
1030
|
+
{ name: 'globe', label: 'Globe', tags: ['world', 'earth'] },
|
|
1031
|
+
{ name: 'compass', label: 'Compass', tags: ['direction', 'navigation'] },
|
|
1032
|
+
// Health & Medical
|
|
1033
|
+
{ name: 'heart-pulse', label: 'Heart Rate', tags: ['health', 'medical'] },
|
|
1034
|
+
{ name: 'stethoscope', label: 'Stethoscope', tags: ['medical', 'doctor'] },
|
|
1035
|
+
{ name: 'pills', label: 'Pills', tags: ['medicine', 'drugs'] },
|
|
1036
|
+
{ name: 'syringe', label: 'Syringe', tags: ['injection', 'medical'] },
|
|
1037
|
+
{ name: 'bandage', label: 'Bandage', tags: ['first aid', 'wound'] },
|
|
1038
|
+
{ name: 'hospital', label: 'Hospital', tags: ['medical', 'healthcare'] },
|
|
1039
|
+
// Education & Learning
|
|
1040
|
+
{ name: 'graduation-cap', label: 'Graduation', tags: ['education', 'degree'] },
|
|
1041
|
+
{ name: 'book', label: 'Book', tags: ['reading', 'education'] },
|
|
1042
|
+
{ name: 'book-open', label: 'Open Book', tags: ['reading', 'study'] },
|
|
1043
|
+
{ name: 'pen', label: 'Pen', tags: ['write', 'draw'] },
|
|
1044
|
+
{ name: 'pencil', label: 'Pencil', tags: ['write', 'draw'] },
|
|
1045
|
+
{ name: 'highlighter', label: 'Highlighter', tags: ['mark', 'emphasize'] },
|
|
1046
|
+
{ name: 'ruler', label: 'Ruler', tags: ['measure', 'straight'] },
|
|
1047
|
+
{ name: 'microscope', label: 'Microscope', tags: ['science', 'research'] },
|
|
1048
|
+
// Food & Dining
|
|
1049
|
+
{ name: 'utensils', label: 'Utensils', tags: ['food', 'dining'] },
|
|
1050
|
+
{ name: 'pizza-slice', label: 'Pizza', tags: ['food', 'slice'] },
|
|
1051
|
+
{ name: 'coffee', label: 'Coffee', tags: ['drink', 'beverage'] },
|
|
1052
|
+
{ name: 'wine-glass', label: 'Wine', tags: ['drink', 'alcohol'] },
|
|
1053
|
+
{ name: 'cake', label: 'Cake', tags: ['dessert', 'sweet'] },
|
|
1054
|
+
{ name: 'apple', label: 'Apple', tags: ['fruit', 'healthy'] },
|
|
1055
|
+
// Sports & Recreation
|
|
1056
|
+
{ name: 'football', label: 'Football', tags: ['sport', 'soccer'] },
|
|
1057
|
+
{ name: 'basketball', label: 'Basketball', tags: ['sport', 'ball'] },
|
|
1058
|
+
{ name: 'baseball', label: 'Baseball', tags: ['sport', 'ball'] },
|
|
1059
|
+
{ name: 'tennis-ball', label: 'Tennis', tags: ['sport', 'racket'] },
|
|
1060
|
+
{ name: 'swimming-pool', label: 'Swimming', tags: ['sport', 'water'] },
|
|
1061
|
+
{ name: 'dumbbell', label: 'Dumbbell', tags: ['fitness', 'weight'] },
|
|
1062
|
+
// Weather & Nature
|
|
1063
|
+
{ name: 'sun', label: 'Sun', tags: ['weather', 'bright'] },
|
|
1064
|
+
{ name: 'moon', label: 'Moon', tags: ['night', 'dark'] },
|
|
1065
|
+
{ name: 'cloud-sun', label: 'Partly Cloudy', tags: ['weather', 'mixed'] },
|
|
1066
|
+
{ name: 'cloud-rain', label: 'Rain', tags: ['weather', 'precipitation'] },
|
|
1067
|
+
{ name: 'snowflake', label: 'Snow', tags: ['weather', 'cold'] },
|
|
1068
|
+
{ name: 'bolt', label: 'Lightning', tags: ['weather', 'storm'] },
|
|
1069
|
+
{ name: 'tree', label: 'Tree', tags: ['nature', 'plant'] },
|
|
1070
|
+
{ name: 'leaf', label: 'Leaf', tags: ['nature', 'plant'] },
|
|
1071
|
+
{ name: 'flower', label: 'Flower', tags: ['nature', 'plant'] },
|
|
1072
|
+
// Shopping & Commerce
|
|
1073
|
+
{ name: 'shopping-cart', label: 'Shopping Cart', tags: ['buy', 'purchase'] },
|
|
1074
|
+
{ name: 'bag-shopping', label: 'Shopping Bag', tags: ['buy', 'store'] },
|
|
1075
|
+
{ name: 'tags', label: 'Tags', tags: ['price', 'label'] },
|
|
1076
|
+
{ name: 'percent', label: 'Percent', tags: ['discount', 'sale'] },
|
|
1077
|
+
{ name: 'gift', label: 'Gift', tags: ['present', 'surprise'] },
|
|
1078
|
+
{ name: 'box', label: 'Box', tags: ['package', 'container'] },
|
|
1079
|
+
// Security & Safety
|
|
1080
|
+
{ name: 'eye', label: 'Eye', tags: ['view', 'watch'] },
|
|
1081
|
+
{ name: 'eye-slash', label: 'Hide', tags: ['hidden', 'invisible'] },
|
|
1082
|
+
{ name: 'user-secret', label: 'Secret User', tags: ['anonymous', 'hidden'] },
|
|
1083
|
+
{ name: 'fingerprint', label: 'Fingerprint', tags: ['biometric', 'identity'] },
|
|
1084
|
+
{ name: 'fire', label: 'Fire', tags: ['hot', 'burn'] },
|
|
1085
|
+
{ name: 'warning', label: 'Warning', tags: ['alert', 'caution'] },
|
|
1086
|
+
{ name: 'exclamation-triangle', label: 'Exclamation', tags: ['warning', 'alert'] },
|
|
1087
|
+
// Miscellaneous
|
|
1088
|
+
{ name: 'question', label: 'Question', tags: ['help', 'ask'] },
|
|
1089
|
+
{ name: 'info', label: 'Info', tags: ['information', 'details'] },
|
|
1090
|
+
{ name: 'lightbulb', label: 'Lightbulb', tags: ['idea', 'bright'] },
|
|
1091
|
+
{ name: 'magic-wand', label: 'Magic Wand', tags: ['magic', 'wish'] },
|
|
1092
|
+
{ name: 'puzzle-piece', label: 'Puzzle', tags: ['piece', 'solve'] },
|
|
1093
|
+
{ name: 'gamepad', label: 'Gamepad', tags: ['gaming', 'controller'] },
|
|
1094
|
+
{ name: 'dice', label: 'Dice', tags: ['game', 'random'] },
|
|
1095
|
+
{ name: 'palette', label: 'Palette', tags: ['color', 'art'] },
|
|
1096
|
+
{ name: 'brush', label: 'Brush', tags: ['paint', 'art'] },
|
|
1097
|
+
{ name: 'scissors', label: 'Scissors', tags: ['cut', 'trim'] },
|
|
936
1098
|
];
|
|
937
1099
|
class AXPIconProviderDefault extends AXPIconProvider {
|
|
938
1100
|
async provide() {
|
|
@@ -995,10 +1157,10 @@ class AXPIconChooserService {
|
|
|
995
1157
|
this.iconsCache = uniqueIcons;
|
|
996
1158
|
return uniqueIcons;
|
|
997
1159
|
}
|
|
998
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
999
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPIconChooserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1161
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPIconChooserService }); }
|
|
1000
1162
|
}
|
|
1001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPIconChooserService, decorators: [{
|
|
1002
1164
|
type: Injectable
|
|
1003
1165
|
}] });
|
|
1004
1166
|
|
|
@@ -1062,8 +1224,8 @@ class AXPIconChooserPopupComponent extends AXBasePageComponent {
|
|
|
1062
1224
|
getIconClass(icon) {
|
|
1063
1225
|
return `${this.selectedIconType} fa-${icon.name}`;
|
|
1064
1226
|
}
|
|
1065
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1066
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
1227
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPIconChooserPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1228
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPIconChooserPopupComponent, isStandalone: true, selector: "ng-component", inputs: { value: "value" }, providers: [AXPIconChooserService], usesInheritance: true, ngImport: i0, template: `
|
|
1067
1229
|
<div class="ax-flex ax-flex-col ax-h-full ax-p-4 ax-gap-4 ax-bg-lightest">
|
|
1068
1230
|
<div class="ax-flex ax-justify-center">
|
|
1069
1231
|
<ax-search-box
|
|
@@ -1130,9 +1292,9 @@ class AXPIconChooserPopupComponent extends AXBasePageComponent {
|
|
|
1130
1292
|
</div>
|
|
1131
1293
|
</div>
|
|
1132
1294
|
</div>
|
|
1133
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i4$1.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXButtonGroupModule }, { kind: "component", type: i2$3.AXButtonGroupComponent, selector: "ax-button-group", inputs: ["disabled", "color", "look", "selection"], outputs: ["onBlur", "onFocus", "lookChange", "colorChange", "disabledChange", "onClick", "selectionChange", "selectedButtonChange"] }, { kind: "component", type: i2$3.AXButtonGroupItemComponent, selector: "ax-button-group-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1295
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i4$1.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXButtonGroupModule }, { kind: "component", type: i2$3.AXButtonGroupComponent, selector: "ax-button-group", inputs: ["disabled", "color", "look", "fitParent", "selection"], outputs: ["onBlur", "onFocus", "lookChange", "colorChange", "disabledChange", "onClick", "selectionChange", "selectedButtonChange"] }, { kind: "component", type: i2$3.AXButtonGroupItemComponent, selector: "ax-button-group-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1134
1296
|
}
|
|
1135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPIconChooserPopupComponent, decorators: [{
|
|
1136
1298
|
type: Component,
|
|
1137
1299
|
args: [{
|
|
1138
1300
|
template: `
|
|
@@ -1215,6 +1377,22 @@ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
1215
1377
|
constructor() {
|
|
1216
1378
|
super(...arguments);
|
|
1217
1379
|
this.popupService = inject(AXPopupService);
|
|
1380
|
+
this.computedValue = computed(() => {
|
|
1381
|
+
const value = this.getValue();
|
|
1382
|
+
if (typeof value === 'string') {
|
|
1383
|
+
const parts = value.split(' ');
|
|
1384
|
+
if (parts.length === 1) {
|
|
1385
|
+
return { styleClass: 'fa-solid', iconClass: parts[0] };
|
|
1386
|
+
}
|
|
1387
|
+
else if (parts.length === 2) {
|
|
1388
|
+
return { styleClass: parts[0], iconClass: parts[1] };
|
|
1389
|
+
}
|
|
1390
|
+
else {
|
|
1391
|
+
throw new Error(`Invalid icon format: "${value}". Expected format: "icon-class" or "style-class icon-class"`);
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
return value;
|
|
1395
|
+
}, ...(ngDevMode ? [{ debugName: "computedValue" }] : []));
|
|
1218
1396
|
}
|
|
1219
1397
|
async openPopup() {
|
|
1220
1398
|
const result = await this.popupService.open(AXPIconChooserPopupComponent, {
|
|
@@ -1225,7 +1403,7 @@ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
1225
1403
|
},
|
|
1226
1404
|
});
|
|
1227
1405
|
if (result?.data) {
|
|
1228
|
-
this.setValue(result.data);
|
|
1406
|
+
this.setValue(result.data.styleClass + ' ' + result.data.iconClass);
|
|
1229
1407
|
}
|
|
1230
1408
|
}
|
|
1231
1409
|
addIcon() {
|
|
@@ -1239,8 +1417,8 @@ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
1239
1417
|
editIcon() {
|
|
1240
1418
|
this.openPopup();
|
|
1241
1419
|
}
|
|
1242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1243
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
1420
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPIconChooserWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1421
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPIconChooserWidgetEditComponent, isStandalone: true, selector: "ax-icon-chooser-edit", usesInheritance: true, ngImport: i0, template: `
|
|
1244
1422
|
<div
|
|
1245
1423
|
class="ax-grid ax-grid-cols-[6rem_auto] ax-items-center ax-rounded-md ax-text-3xl ax-w-fit"
|
|
1246
1424
|
[class.ax-border]="getValue()"
|
|
@@ -1251,7 +1429,7 @@ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
1251
1429
|
[class]="getValue() ? 'ax-border-e ax-cursor-default' : 'icon-container ax-cursor-pointer'"
|
|
1252
1430
|
(click)="addIcon()"
|
|
1253
1431
|
>
|
|
1254
|
-
<i [class]="getValue() ?
|
|
1432
|
+
<i [class]="getValue() ? computedValue().styleClass + ' ' + computedValue().iconClass : 'fa-solid fa-plus'"></i>
|
|
1255
1433
|
</div>
|
|
1256
1434
|
|
|
1257
1435
|
<!-- Right: Edit & Delete (only if value exists) -->
|
|
@@ -1269,11 +1447,11 @@ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
1269
1447
|
</div>
|
|
1270
1448
|
}
|
|
1271
1449
|
</div>
|
|
1272
|
-
|
|
1450
|
+
`, isInline: true, styles: [".icon-container{background-color:rgba(var(--ax-sys-color-primary-300),10%);background-image:linear-gradient(135deg,rgba(var(--ax-sys-color-primary-300),50%) 10%,transparent 0,transparent 50%,rgba(var(--ax-sys-color-primary-300),50%) 0,rgba(var(--ax-sys-color-primary-300),50%) 60%,transparent 0,transparent);background-size:7.5px 7.5px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1273
1451
|
}
|
|
1274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPIconChooserWidgetEditComponent, decorators: [{
|
|
1275
1453
|
type: Component,
|
|
1276
|
-
args: [{ selector: 'ax-icon-chooser-edit', template:
|
|
1454
|
+
args: [{ selector: 'ax-icon-chooser-edit', template: `
|
|
1277
1455
|
<div
|
|
1278
1456
|
class="ax-grid ax-grid-cols-[6rem_auto] ax-items-center ax-rounded-md ax-text-3xl ax-w-fit"
|
|
1279
1457
|
[class.ax-border]="getValue()"
|
|
@@ -1284,7 +1462,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
1284
1462
|
[class]="getValue() ? 'ax-border-e ax-cursor-default' : 'icon-container ax-cursor-pointer'"
|
|
1285
1463
|
(click)="addIcon()"
|
|
1286
1464
|
>
|
|
1287
|
-
<i [class]="getValue() ?
|
|
1465
|
+
<i [class]="getValue() ? computedValue().styleClass + ' ' + computedValue().iconClass : 'fa-solid fa-plus'"></i>
|
|
1288
1466
|
</div>
|
|
1289
1467
|
|
|
1290
1468
|
<!-- Right: Edit & Delete (only if value exists) -->
|
|
@@ -1302,7 +1480,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
1302
1480
|
</div>
|
|
1303
1481
|
}
|
|
1304
1482
|
</div>
|
|
1305
|
-
|
|
1483
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".icon-container{background-color:rgba(var(--ax-sys-color-primary-300),10%);background-image:linear-gradient(135deg,rgba(var(--ax-sys-color-primary-300),50%) 10%,transparent 0,transparent 50%,rgba(var(--ax-sys-color-primary-300),50%) 0,rgba(var(--ax-sys-color-primary-300),50%) 60%,transparent 0,transparent);background-size:7.5px 7.5px}\n"] }]
|
|
1306
1484
|
}] });
|
|
1307
1485
|
|
|
1308
1486
|
var iconChooserEdit_component = /*#__PURE__*/Object.freeze({
|
|
@@ -1322,10 +1500,10 @@ const AXPIconChooserWidget = {
|
|
|
1322
1500
|
component: () => Promise.resolve().then(function () { return iconChooserEdit_component; }).then((c) => c.AXPIconChooserWidgetEditComponent),
|
|
1323
1501
|
},
|
|
1324
1502
|
column: {
|
|
1325
|
-
component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-
|
|
1503
|
+
component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs').then((c) => c.AXPIconChooserWidgetViewComponent),
|
|
1326
1504
|
},
|
|
1327
1505
|
view: {
|
|
1328
|
-
component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-
|
|
1506
|
+
component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-Dc_Txe32.mjs').then((c) => c.AXPIconChooserWidgetViewComponent),
|
|
1329
1507
|
},
|
|
1330
1508
|
},
|
|
1331
1509
|
};
|
|
@@ -1348,19 +1526,19 @@ class AXPMenuOrientationChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
1348
1526
|
onOrientationClick(orientation) {
|
|
1349
1527
|
this.setValue(orientation.id);
|
|
1350
1528
|
}
|
|
1351
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1352
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
1529
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPMenuOrientationChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1530
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPMenuOrientationChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
1353
1531
|
@for (orientation of orientations(); track orientation.id) {
|
|
1354
1532
|
<div (click)="onOrientationClick(orientation)" [class.--selected]="orientation.id === selectedOrientation()?.id">
|
|
1355
1533
|
<div>
|
|
1356
1534
|
<i [class]="orientation.icon"></i>
|
|
1357
1535
|
</div>
|
|
1358
|
-
<span>{{ 'menu-modes.' + orientation.id | translate
|
|
1536
|
+
<span>{{ '@layout:menu-modes.' + orientation.id | translate | async }}</span>
|
|
1359
1537
|
</div>
|
|
1360
1538
|
}
|
|
1361
1539
|
`, isInline: true, styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}:host>div{padding-top:.25rem!important;padding-bottom:.25rem!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXSelectionCdkModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1362
1540
|
}
|
|
1363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPMenuOrientationChooserWidgetComponent, decorators: [{
|
|
1364
1542
|
type: Component,
|
|
1365
1543
|
args: [{ template: `
|
|
1366
1544
|
@for (orientation of orientations(); track orientation.id) {
|
|
@@ -1368,7 +1546,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
1368
1546
|
<div>
|
|
1369
1547
|
<i [class]="orientation.icon"></i>
|
|
1370
1548
|
</div>
|
|
1371
|
-
<span>{{ 'menu-modes.' + orientation.id | translate
|
|
1549
|
+
<span>{{ '@layout:menu-modes.' + orientation.id | translate | async }}</span>
|
|
1372
1550
|
</div>
|
|
1373
1551
|
}
|
|
1374
1552
|
`, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, AXSelectionCdkModule, AXTranslationModule], styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}:host>div{padding-top:.25rem!important;padding-bottom:.25rem!important}\n"] }]
|
|
@@ -1416,19 +1594,19 @@ class AXPThemeModeChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
1416
1594
|
onModeClick(mode) {
|
|
1417
1595
|
this.setValue(mode.id);
|
|
1418
1596
|
}
|
|
1419
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1420
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
1597
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPThemeModeChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1598
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPThemeModeChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
1421
1599
|
@for (mode of modes(); track mode.id) {
|
|
1422
1600
|
<div (click)="onModeClick(mode)" [class.--selected]="mode.id === selectedMode()?.id">
|
|
1423
1601
|
<div>
|
|
1424
1602
|
<i [class]="mode.icon"></i>
|
|
1425
1603
|
</div>
|
|
1426
|
-
<span>{{ 'theme-modes.' + mode.id | translate
|
|
1604
|
+
<span>{{ '@layout:theme-modes.' + mode.id | translate | async }}</span>
|
|
1427
1605
|
</div>
|
|
1428
1606
|
}
|
|
1429
1607
|
`, isInline: true, styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}:host>div{padding-top:.25rem!important;padding-bottom:.25rem!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXSelectionCdkModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1430
1608
|
}
|
|
1431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPThemeModeChooserWidgetComponent, decorators: [{
|
|
1432
1610
|
type: Component,
|
|
1433
1611
|
args: [{ template: `
|
|
1434
1612
|
@for (mode of modes(); track mode.id) {
|
|
@@ -1436,7 +1614,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
1436
1614
|
<div>
|
|
1437
1615
|
<i [class]="mode.icon"></i>
|
|
1438
1616
|
</div>
|
|
1439
|
-
<span>{{ 'theme-modes.' + mode.id | translate
|
|
1617
|
+
<span>{{ '@layout:theme-modes.' + mode.id | translate | async }}</span>
|
|
1440
1618
|
</div>
|
|
1441
1619
|
}
|
|
1442
1620
|
`, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, AXSelectionCdkModule, AXTranslationModule], styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}:host>div{padding-top:.25rem!important;padding-bottom:.25rem!important}\n"] }]
|
|
@@ -1488,8 +1666,8 @@ class AXPThemePaletteChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
1488
1666
|
onPaletteClick(palette) {
|
|
1489
1667
|
this.setValue(palette.name);
|
|
1490
1668
|
}
|
|
1491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1492
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
|
1669
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPThemePaletteChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1670
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: AXPThemePaletteChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
1493
1671
|
@for (palette of palettes(); track palette.name) {
|
|
1494
1672
|
<div (click)="onPaletteClick(palette)" [class.--selected]="palette.name === selectedPalette()?.name">
|
|
1495
1673
|
<span>{{ palette.title }}</span>
|
|
@@ -1502,7 +1680,7 @@ class AXPThemePaletteChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
1502
1680
|
}
|
|
1503
1681
|
`, isInline: true, styles: [":host{display:flex;flex-direction:row;flex-wrap:wrap;gap:.5rem}:host>div{display:flex;cursor:pointer;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem;border-radius:.5rem;padding:.5rem 1rem;background-color:rgb(var(--ax-sys-color-light-surface));color:rgb(var(--ax-sys-color-on-light-surface));border-color:rgb(var(--ax-sys-color-border-light-surface))}:host>div:is(.ax-dark *){background-color:rgb(var(--ax-sys-color-surface));color:rgb(var(--ax-sys-color-on-surface));border-color:rgb(var(--ax-sys-color-border-surface))}:host>div{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}:host>div:hover{background-color:rgb(var(--ax-sys-color-dark-surface));color:rgb(var(--ax-sys-color-on-dark-surface));border-color:rgb(var(--ax-sys-color-border-dark-surface))}:host>div.--selected{background-color:rgb(var(--ax-sys-color-primary-lighter-surface));color:rgb(var(--ax-sys-color-on-primary-lighter-surface));border-color:rgb(var(--ax-sys-color-border-primary-lighter-surface))}:host>div>div{display:flex;align-items:center;justify-content:center}:host>div>div i{font-size:1.25rem;line-height:1.75rem}:host>div>span{font-size:.875rem;line-height:1.25rem;font-weight:600;line-height:1.625}:host>div{height:3rem;min-width:100%}@media (min-width: 768px){:host>div{min-width:16rem}}:host>div>div{position:relative;height:100%;width:fit-content}:host>div>div div{position:absolute;height:2rem;width:2rem;border-radius:9999px;border-width:1px;border-color:rgba(255,255,255,.5);--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXSelectionCdkModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1504
1682
|
}
|
|
1505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPThemePaletteChooserWidgetComponent, decorators: [{
|
|
1506
1684
|
type: Component,
|
|
1507
1685
|
args: [{ template: `
|
|
1508
1686
|
@for (palette of palettes(); track palette.name) {
|
|
@@ -1553,14 +1731,14 @@ class AXPThemesSharedModule {
|
|
|
1553
1731
|
},
|
|
1554
1732
|
});
|
|
1555
1733
|
}
|
|
1556
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1557
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
1558
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
1734
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPThemesSharedModule, deps: [{ token: i1$2.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1735
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.4", ngImport: i0, type: AXPThemesSharedModule, imports: [i2$4.AXPComponentSlotModule, i3$1.AXPWidgetCoreModule] }); }
|
|
1736
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPThemesSharedModule, providers: [
|
|
1559
1737
|
{
|
|
1560
1738
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
1561
1739
|
useFactory: async () => {
|
|
1562
1740
|
const injector = inject(Injector);
|
|
1563
|
-
const provider = (await import('./acorex-platform-themes-shared-settings.provider-
|
|
1741
|
+
const provider = (await import('./acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs')).AXPThemeSettingProvider;
|
|
1564
1742
|
return new provider(injector);
|
|
1565
1743
|
},
|
|
1566
1744
|
multi: true,
|
|
@@ -1574,7 +1752,7 @@ class AXPThemesSharedModule {
|
|
|
1574
1752
|
},
|
|
1575
1753
|
],
|
|
1576
1754
|
}),
|
|
1577
|
-
|
|
1755
|
+
AXPWidgetCoreModule.forChild({
|
|
1578
1756
|
widgets: [
|
|
1579
1757
|
AXPThemePaletteChooserWidget,
|
|
1580
1758
|
AXPThemeModeChooserWidget,
|
|
@@ -1586,7 +1764,7 @@ class AXPThemesSharedModule {
|
|
|
1586
1764
|
],
|
|
1587
1765
|
})] }); }
|
|
1588
1766
|
}
|
|
1589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPThemesSharedModule, decorators: [{
|
|
1590
1768
|
type: NgModule,
|
|
1591
1769
|
args: [{
|
|
1592
1770
|
imports: [
|
|
@@ -1599,7 +1777,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
1599
1777
|
},
|
|
1600
1778
|
],
|
|
1601
1779
|
}),
|
|
1602
|
-
|
|
1780
|
+
AXPWidgetCoreModule.forChild({
|
|
1603
1781
|
widgets: [
|
|
1604
1782
|
AXPThemePaletteChooserWidget,
|
|
1605
1783
|
AXPThemeModeChooserWidget,
|
|
@@ -1618,7 +1796,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
|
|
|
1618
1796
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
1619
1797
|
useFactory: async () => {
|
|
1620
1798
|
const injector = inject(Injector);
|
|
1621
|
-
const provider = (await import('./acorex-platform-themes-shared-settings.provider-
|
|
1799
|
+
const provider = (await import('./acorex-platform-themes-shared-settings.provider-DY2xFnrv.mjs')).AXPThemeSettingProvider;
|
|
1622
1800
|
return new provider(injector);
|
|
1623
1801
|
},
|
|
1624
1802
|
multi: true,
|