@acorex/platform 20.3.0-next.0 → 20.3.0-next.10
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 +8 -9
- package/core/index.d.ts +597 -46
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +111 -163
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +759 -113
- 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 +518 -95
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +1997 -215
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +86 -79
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-764ie8R8.mjs +52 -0
- package/fesm2022/acorex-platform-layout-entity-create-entity.command-764ie8R8.mjs.map +1 -0
- package/fesm2022/acorex-platform-layout-entity.mjs +1650 -916
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-views.mjs +37 -29
- package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
- 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-I7Eq8Nti.mjs → acorex-platform-themes-default-entity-master-create-view.component-Ct-ri59W.mjs} +5 -5
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-Ct-ri59W.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-D3VUh8K8.mjs → acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs} +30 -31
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-7BB4LdjK.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.mjs +101 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDJR088o.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BMkhNfF4.mjs → acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs} +7 -7
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-BMkhNfF4.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-BExtm1JE.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-D4glpFvU.mjs.map → acorex-platform-themes-default-error-401.component-DrO1PEOH.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-BvGeDMjo.mjs.map → acorex-platform-themes-default-error-404.component-DqVq0oHX.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-BINy-Zo3.mjs.map → acorex-platform-themes-default-error-offline.component-Bt2PTL7_.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +40 -40
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs} +24 -14
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs → acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs} +2 -2
- package/fesm2022/acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-DjKLg513.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs} +23 -8
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs.map +1 -0
- package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-DE0wO98F.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs} +23 -8
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-shared.mjs +241 -74
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs → acorex-platform-widgets-button-widget-designer.component-DSaD9Fwc.mjs} +5 -5
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-DSaD9Fwc.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-edit.component-B3SJUnGQ.mjs → acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-edit.component-B3SJUnGQ.mjs.map → acorex-platform-widgets-extra-properties-schema-widget-edit.component-D9mf08rU.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-view.component-BLR0JkRt.mjs → acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-schema-widget-view.component-BLR0JkRt.mjs.map → acorex-platform-widgets-extra-properties-schema-widget-view.component-D6GQ-eyr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-edit.component-hzR2FgOm.mjs → acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-edit.component-hzR2FgOm.mjs.map → acorex-platform-widgets-extra-properties-values-widget-edit.component-DVbIdVZ6.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-view.component-IDm6Clua.mjs → acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-values-widget-view.component-IDm6Clua.mjs.map → acorex-platform-widgets-extra-properties-values-widget-view.component-D-aM64Hu.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-edit.component-BRO9tYDa.mjs → acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-edit.component-BRO9tYDa.mjs.map → acorex-platform-widgets-extra-properties-widget-edit.component-em2-aU8E.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-view.component-CkpLimyW.mjs → acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-extra-properties-widget-view.component-CkpLimyW.mjs.map → acorex-platform-widgets-extra-properties-widget-view.component-BeuIofdr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs → acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs} +5 -5
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-Cmtq2bBV.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs → acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs} +6 -6
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-B-ZEi2yd.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-BDQIfr0g.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs} +11 -11
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-CMqq_iOj.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CmPqtt0G.mjs → acorex-platform-widgets-tabular-data-view-popup.component-CRpjdiNz.mjs} +6 -5
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-CRpjdiNz.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.mjs → acorex-platform-widgets-text-block-widget-designer.component-DeSmBqMa.mjs} +5 -6
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DeSmBqMa.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +9725 -8964
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +25 -25
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/index.d.ts +69 -21
- package/layout/components/index.d.ts +816 -58
- package/layout/designer/index.d.ts +4 -2
- package/layout/entity/index.d.ts +437 -231
- package/package.json +8 -8
- package/widgets/index.d.ts +1806 -732
- package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-I7Eq8Nti.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-D3VUh8K8.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-16sdMBvH.mjs +0 -101
- package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-16sdMBvH.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-C833prGO.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-DjKLg513.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DE0wO98F.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-BJtkWusr.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-DeKpl0uK.mjs +0 -84
- package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-DeKpl0uK.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-Cv7dEMCm.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-Cv7dEMCm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs +0 -76
- package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C6-QPsnb.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CohkI1w1.mjs +0 -55
- package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-CohkI1w1.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-list-popup.component-BafU5Lfl.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs +0 -211
- package/fesm2022/acorex-platform-widgets-file-rename-popup.component-DA_CgIvm.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-page-widget-designer.component-Cw9WcZze.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs +0 -40
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-CM_v-cL4.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-BDQIfr0g.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-CmPqtt0G.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-DaR4Nkv4.mjs.map +0 -1
|
@@ -425,8 +425,8 @@ class AXPThemeSlotComponent {
|
|
|
425
425
|
this.store = inject(AXPLayoutThemeService);
|
|
426
426
|
this.variants = AXPThemeMode;
|
|
427
427
|
}
|
|
428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
429
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.
|
|
428
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPThemeSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
429
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPThemeSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
430
430
|
<ax-button color="primary">
|
|
431
431
|
<ax-icon
|
|
432
432
|
class="fa-regular "
|
|
@@ -441,7 +441,7 @@ class AXPThemeSlotComponent {
|
|
|
441
441
|
<ax-button-item-list>
|
|
442
442
|
<ax-button-item
|
|
443
443
|
(onClick)="store.changeThemeMode(variants.Light)"
|
|
444
|
-
[text]="(
|
|
444
|
+
[text]="('@layout:theme-modes.light' | translate | async)!"
|
|
445
445
|
[selected]="!store.isSystemMode() && !store.isDarkMode()"
|
|
446
446
|
>
|
|
447
447
|
<ax-prefix>
|
|
@@ -450,7 +450,7 @@ class AXPThemeSlotComponent {
|
|
|
450
450
|
</ax-button-item>
|
|
451
451
|
<ax-button-item
|
|
452
452
|
(onClick)="store.changeThemeMode(variants.Dark)"
|
|
453
|
-
[text]="(
|
|
453
|
+
[text]="('@layout:theme-modes.dark' | translate | async)!"
|
|
454
454
|
[selected]="!store.isSystemMode() && store.isDarkMode()"
|
|
455
455
|
>
|
|
456
456
|
<ax-prefix>
|
|
@@ -459,7 +459,7 @@ class AXPThemeSlotComponent {
|
|
|
459
459
|
</ax-button-item>
|
|
460
460
|
<ax-button-item
|
|
461
461
|
(onClick)="store.changeThemeMode(variants.System)"
|
|
462
|
-
[text]="(
|
|
462
|
+
[text]="('@layout:theme-modes.system' | translate | async)!"
|
|
463
463
|
[selected]="store.isSystemMode()"
|
|
464
464
|
>
|
|
465
465
|
<ax-prefix>
|
|
@@ -469,9 +469,9 @@ class AXPThemeSlotComponent {
|
|
|
469
469
|
</ax-button-item-list>
|
|
470
470
|
</ax-dropdown-panel>
|
|
471
471
|
</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" }] }); }
|
|
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" }, { kind: "pipe", type: i2$1.AXTranslatorPipe, name: "translate" }] }); }
|
|
473
473
|
}
|
|
474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPThemeSlotComponent, decorators: [{
|
|
475
475
|
type: Component,
|
|
476
476
|
args: [{
|
|
477
477
|
template: `
|
|
@@ -489,7 +489,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
489
489
|
<ax-button-item-list>
|
|
490
490
|
<ax-button-item
|
|
491
491
|
(onClick)="store.changeThemeMode(variants.Light)"
|
|
492
|
-
[text]="(
|
|
492
|
+
[text]="('@layout:theme-modes.light' | translate | async)!"
|
|
493
493
|
[selected]="!store.isSystemMode() && !store.isDarkMode()"
|
|
494
494
|
>
|
|
495
495
|
<ax-prefix>
|
|
@@ -498,7 +498,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
498
498
|
</ax-button-item>
|
|
499
499
|
<ax-button-item
|
|
500
500
|
(onClick)="store.changeThemeMode(variants.Dark)"
|
|
501
|
-
[text]="(
|
|
501
|
+
[text]="('@layout:theme-modes.dark' | translate | async)!"
|
|
502
502
|
[selected]="!store.isSystemMode() && store.isDarkMode()"
|
|
503
503
|
>
|
|
504
504
|
<ax-prefix>
|
|
@@ -507,7 +507,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
507
507
|
</ax-button-item>
|
|
508
508
|
<ax-button-item
|
|
509
509
|
(onClick)="store.changeThemeMode(variants.System)"
|
|
510
|
-
[text]="(
|
|
510
|
+
[text]="('@layout:theme-modes.system' | translate | async)!"
|
|
511
511
|
[selected]="store.isSystemMode()"
|
|
512
512
|
>
|
|
513
513
|
<ax-prefix>
|
|
@@ -624,10 +624,10 @@ class AXPColorChooserService {
|
|
|
624
624
|
this.cache = uniqueColors;
|
|
625
625
|
return uniqueColors;
|
|
626
626
|
}
|
|
627
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
628
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
627
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorChooserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
628
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorChooserService, providedIn: 'root' }); }
|
|
629
629
|
}
|
|
630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorChooserService, decorators: [{
|
|
631
631
|
type: Injectable,
|
|
632
632
|
args: [{
|
|
633
633
|
providedIn: 'root',
|
|
@@ -639,12 +639,22 @@ class AXPColorChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
639
639
|
super(...arguments);
|
|
640
640
|
this.colorService = inject(AXPColorChooserService);
|
|
641
641
|
this.colors = signal([], ...(ngDevMode ? [{ debugName: "colors" }] : []));
|
|
642
|
+
this.placeholder = computed(() => this.options()['placeholder'] ?? '', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
642
643
|
this.selectedColor = computed(() => {
|
|
643
|
-
const
|
|
644
|
-
if (
|
|
645
|
-
return
|
|
644
|
+
const value = this.getValue();
|
|
645
|
+
if (!value) {
|
|
646
|
+
return this.colors()[0];
|
|
646
647
|
}
|
|
647
|
-
|
|
648
|
+
// If value is a string in the format: "ax-text-* ax-bg-* ax-border-*"
|
|
649
|
+
if (typeof value === 'string') {
|
|
650
|
+
const parsed = this.parseStringValue(value);
|
|
651
|
+
if (parsed) {
|
|
652
|
+
return parsed;
|
|
653
|
+
}
|
|
654
|
+
return this.colors()[0];
|
|
655
|
+
}
|
|
656
|
+
// Otherwise value is an object
|
|
657
|
+
return value.name;
|
|
648
658
|
}, ...(ngDevMode ? [{ debugName: "selectedColor" }] : []));
|
|
649
659
|
}
|
|
650
660
|
async ngOnInit() {
|
|
@@ -658,21 +668,30 @@ class AXPColorChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
658
668
|
this.setValue(undefined);
|
|
659
669
|
return;
|
|
660
670
|
}
|
|
661
|
-
// const color = this.colors().find((c) => c.name === event.value);
|
|
662
671
|
const color = event.component.selectedItems[0];
|
|
663
|
-
|
|
672
|
+
// Always store as ordered string: "color background border"
|
|
673
|
+
const stringValue = `${color.color} ${color.background} ${color.border}`;
|
|
674
|
+
this.setValue(stringValue);
|
|
664
675
|
}
|
|
665
676
|
}
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
677
|
+
parseStringValue(value) {
|
|
678
|
+
const parts = value.trim().split(/\s+/);
|
|
679
|
+
if (parts.length !== 3) {
|
|
680
|
+
return null;
|
|
681
|
+
}
|
|
682
|
+
const [color, background, border] = parts;
|
|
683
|
+
const match = this.colors().find((c) => c.color === color && c.background === background && c.border === border);
|
|
684
|
+
return match?.name ?? null;
|
|
685
|
+
}
|
|
686
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorChooserWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
687
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPColorChooserWidgetEditComponent, isStandalone: true, selector: "ax-color-chooser-widget", usesInheritance: true, ngImport: i0, template: `
|
|
669
688
|
<ax-form [messageStyle]="'float'" [updateOn]="'change'">
|
|
670
689
|
<ax-form-field>
|
|
671
690
|
<ax-select-box
|
|
672
691
|
[dataSource]="colors()"
|
|
673
692
|
textField="title"
|
|
674
693
|
valueField="name"
|
|
675
|
-
[placeholder]="
|
|
694
|
+
[placeholder]="placeholder()"
|
|
676
695
|
[itemTemplate]="customItemTemplate"
|
|
677
696
|
[ngModel]="selectedColor()"
|
|
678
697
|
(onValueChanged)="handleValueChange($event)"
|
|
@@ -694,22 +713,20 @@ class AXPColorChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
694
713
|
</ax-select-box>
|
|
695
714
|
</ax-form-field>
|
|
696
715
|
</ax-form>
|
|
697
|
-
</div>
|
|
698
716
|
`, 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
717
|
}
|
|
700
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
718
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorChooserWidgetEditComponent, decorators: [{
|
|
701
719
|
type: Component,
|
|
702
720
|
args: [{
|
|
703
721
|
selector: 'ax-color-chooser-widget',
|
|
704
722
|
template: `
|
|
705
|
-
<div class="ax-p-4">
|
|
706
723
|
<ax-form [messageStyle]="'float'" [updateOn]="'change'">
|
|
707
724
|
<ax-form-field>
|
|
708
725
|
<ax-select-box
|
|
709
726
|
[dataSource]="colors()"
|
|
710
727
|
textField="title"
|
|
711
728
|
valueField="name"
|
|
712
|
-
[placeholder]="
|
|
729
|
+
[placeholder]="placeholder()"
|
|
713
730
|
[itemTemplate]="customItemTemplate"
|
|
714
731
|
[ngModel]="selectedColor()"
|
|
715
732
|
(onValueChanged)="handleValueChange($event)"
|
|
@@ -731,7 +748,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
731
748
|
</ax-select-box>
|
|
732
749
|
</ax-form-field>
|
|
733
750
|
</ax-form>
|
|
734
|
-
</div>
|
|
735
751
|
`,
|
|
736
752
|
imports: [AXSelectBoxModule, AXFormModule, CommonModule, AXSearchBoxModule, AXButtonModule, FormsModule],
|
|
737
753
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -755,10 +771,10 @@ const AXPThemeColorChooserWidgetConfig = {
|
|
|
755
771
|
component: () => Promise.resolve().then(function () { return themeColorChooserEdit_component; }).then((c) => c.AXPColorChooserWidgetEditComponent),
|
|
756
772
|
},
|
|
757
773
|
column: {
|
|
758
|
-
component: () => import('./acorex-platform-themes-shared-theme-color-chooser-column.component-
|
|
774
|
+
component: () => import('./acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs').then((c) => c.AXPColorChooserWidgetColumnComponent),
|
|
759
775
|
},
|
|
760
776
|
view: {
|
|
761
|
-
component: () => import('./acorex-platform-themes-shared-theme-color-chooser-view.component-
|
|
777
|
+
component: () => import('./acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs').then((c) => c.AXPColorChooserWidgetViewComponent),
|
|
762
778
|
},
|
|
763
779
|
},
|
|
764
780
|
};
|
|
@@ -778,24 +794,24 @@ class AXPFontSizeChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
778
794
|
onSizeClick(size) {
|
|
779
795
|
this.setValue(size);
|
|
780
796
|
}
|
|
781
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
782
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
797
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPFontSizeChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
798
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPFontSizeChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
783
799
|
@for (size of sizes(); track size) {
|
|
784
800
|
<div (click)="onSizeClick(size)" [style.font-size]="size" [class.--selected]="size === selectedSize()">
|
|
785
801
|
<div>
|
|
786
|
-
<span>{{ 'font-sizes.' + size | translate
|
|
802
|
+
<span>{{ '@layout:font-sizes.' + size | translate | async }}</span>
|
|
787
803
|
</div>
|
|
788
804
|
</div>
|
|
789
805
|
}
|
|
790
806
|
`, 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
807
|
}
|
|
792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
808
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPFontSizeChooserWidgetComponent, decorators: [{
|
|
793
809
|
type: Component,
|
|
794
810
|
args: [{ template: `
|
|
795
811
|
@for (size of sizes(); track size) {
|
|
796
812
|
<div (click)="onSizeClick(size)" [style.font-size]="size" [class.--selected]="size === selectedSize()">
|
|
797
813
|
<div>
|
|
798
|
-
<span>{{ 'font-sizes.' + size | translate
|
|
814
|
+
<span>{{ '@layout:font-sizes.' + size | translate | async }}</span>
|
|
799
815
|
</div>
|
|
800
816
|
</div>
|
|
801
817
|
}
|
|
@@ -854,8 +870,8 @@ class AXPFontStyleChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
854
870
|
onFontClick(font) {
|
|
855
871
|
this.setValue(font.id);
|
|
856
872
|
}
|
|
857
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
858
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
873
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPFontStyleChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
874
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPFontStyleChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
859
875
|
@for (font of fonts(); track font.id) {
|
|
860
876
|
<div
|
|
861
877
|
(click)="onFontClick(font)"
|
|
@@ -869,7 +885,7 @@ class AXPFontStyleChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
869
885
|
}
|
|
870
886
|
`, 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
887
|
}
|
|
872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPFontStyleChooserWidgetComponent, decorators: [{
|
|
873
889
|
type: Component,
|
|
874
890
|
args: [{ template: `
|
|
875
891
|
@for (font of fonts(); track font.id) {
|
|
@@ -918,11 +934,24 @@ const DEFAULT_ICON_STYLES = [
|
|
|
918
934
|
{ name: 'fa-regular', label: 'Regular' },
|
|
919
935
|
];
|
|
920
936
|
const DEFAULT_ICONS = [
|
|
937
|
+
// Navigation & Actions
|
|
921
938
|
{ name: 'house', label: 'House', tags: ['home', 'building'], supportedStyle: ['fa-regular'] },
|
|
922
939
|
{ name: 'magnifying-glass', label: 'Search', tags: ['find', 'zoom'], supportedStyle: ['fa-solid'] },
|
|
923
940
|
{ name: 'user', label: 'User', tags: ['person', 'account'] },
|
|
924
941
|
{ name: 'check', label: 'Check', tags: ['confirm', 'done'] },
|
|
925
942
|
{ name: 'xmark', label: 'Close', tags: ['cancel', 'exit'] },
|
|
943
|
+
{ name: 'plus', label: 'Add', tags: ['create', 'new', 'plus'] },
|
|
944
|
+
{ name: 'minus', label: 'Remove', tags: ['delete', 'subtract', 'minus'] },
|
|
945
|
+
{ name: 'edit', label: 'Edit', tags: ['modify', 'change', 'pencil'] },
|
|
946
|
+
{ name: 'trash', label: 'Delete', tags: ['remove', 'delete', 'bin'] },
|
|
947
|
+
{ name: 'copy', label: 'Copy', tags: ['duplicate', 'clone'] },
|
|
948
|
+
{ name: 'download', label: 'Download', tags: ['save', 'export'] },
|
|
949
|
+
{ name: 'upload', label: 'Upload', tags: ['import', 'send'] },
|
|
950
|
+
{ name: 'print', label: 'Print', tags: ['printer', 'document'] },
|
|
951
|
+
{ name: 'share', label: 'Share', tags: ['send', 'distribute'] },
|
|
952
|
+
{ name: 'link', label: 'Link', tags: ['url', 'connection'] },
|
|
953
|
+
{ name: 'external-link', label: 'External Link', tags: ['open', 'external'] },
|
|
954
|
+
// Media & Files
|
|
926
955
|
{ name: 'star', label: 'Star', tags: ['favorite', 'rate'] },
|
|
927
956
|
{ name: 'heart', label: 'Heart', tags: ['love', 'like'] },
|
|
928
957
|
{ name: 'cloud', label: 'Cloud', tags: ['weather', 'sky'] },
|
|
@@ -933,6 +962,128 @@ const DEFAULT_ICONS = [
|
|
|
933
962
|
{ name: 'video', label: 'Video', tags: ['film', 'movie'] },
|
|
934
963
|
{ name: 'music', label: 'Music', tags: ['sound', 'audio'] },
|
|
935
964
|
{ name: 'file-lines', label: 'File', tags: ['document', 'text'] },
|
|
965
|
+
{ name: 'file-pdf', label: 'PDF', tags: ['document', 'pdf'] },
|
|
966
|
+
{ name: 'file-image', label: 'Image', tags: ['picture', 'photo'] },
|
|
967
|
+
{ name: 'file-video', label: 'Video File', tags: ['movie', 'clip'] },
|
|
968
|
+
{ name: 'file-audio', label: 'Audio File', tags: ['sound', 'music'] },
|
|
969
|
+
{ name: 'file-zipper', label: 'Archive', tags: ['zip', 'compressed'] },
|
|
970
|
+
{ name: 'image', label: 'Image', tags: ['picture', 'photo'] },
|
|
971
|
+
{ name: 'images', label: 'Images', tags: ['gallery', 'photos'] },
|
|
972
|
+
// Communication & Social
|
|
973
|
+
{ name: 'phone', label: 'Phone', tags: ['call', 'telephone'] },
|
|
974
|
+
{ name: 'mobile', label: 'Mobile', tags: ['cell', 'smartphone'] },
|
|
975
|
+
{ name: 'comment', label: 'Comment', tags: ['message', 'chat'] },
|
|
976
|
+
{ name: 'comments', label: 'Comments', tags: ['messages', 'discussion'] },
|
|
977
|
+
{ name: 'thumbs-up', label: 'Like', tags: ['approve', 'good'] },
|
|
978
|
+
{ name: 'thumbs-down', label: 'Dislike', tags: ['disapprove', 'bad'] },
|
|
979
|
+
{ name: 'bell', label: 'Notification', tags: ['alert', 'reminder'] },
|
|
980
|
+
{ name: 'flag', label: 'Flag', tags: ['mark', 'report'] },
|
|
981
|
+
{ name: 'bookmark', label: 'Bookmark', tags: ['save', 'favorite'] },
|
|
982
|
+
{ name: 'calendar', label: 'Calendar', tags: ['date', 'schedule'] },
|
|
983
|
+
{ name: 'clock', label: 'Clock', tags: ['time', 'schedule'] },
|
|
984
|
+
// Business & Finance
|
|
985
|
+
{ name: 'chart-line', label: 'Chart', tags: ['graph', 'analytics'] },
|
|
986
|
+
{ name: 'chart-bar', label: 'Bar Chart', tags: ['graph', 'statistics'] },
|
|
987
|
+
{ name: 'chart-pie', label: 'Pie Chart', tags: ['graph', 'percentage'] },
|
|
988
|
+
{ name: 'calculator', label: 'Calculator', tags: ['math', 'compute'] },
|
|
989
|
+
{ name: 'dollar-sign', label: 'Dollar', tags: ['money', 'currency'] },
|
|
990
|
+
{ name: 'credit-card', label: 'Credit Card', tags: ['payment', 'card'] },
|
|
991
|
+
{ name: 'receipt', label: 'Receipt', tags: ['bill', 'invoice'] },
|
|
992
|
+
{ name: 'briefcase', label: 'Briefcase', tags: ['business', 'work'] },
|
|
993
|
+
{ name: 'building', label: 'Building', tags: ['office', 'company'] },
|
|
994
|
+
{ name: 'handshake', label: 'Handshake', tags: ['agreement', 'partnership'] },
|
|
995
|
+
// Technology & Tools
|
|
996
|
+
{ name: 'laptop', label: 'Laptop', tags: ['computer', 'notebook'] },
|
|
997
|
+
{ name: 'desktop', label: 'Desktop', tags: ['computer', 'monitor'] },
|
|
998
|
+
{ name: 'tablet', label: 'Tablet', tags: ['ipad', 'device'] },
|
|
999
|
+
{ name: 'keyboard', label: 'Keyboard', tags: ['input', 'typing'] },
|
|
1000
|
+
{ name: 'mouse', label: 'Mouse', tags: ['pointer', 'click'] },
|
|
1001
|
+
{ name: 'wifi', label: 'WiFi', tags: ['internet', 'connection'] },
|
|
1002
|
+
{ name: 'database', label: 'Database', tags: ['data', 'storage'] },
|
|
1003
|
+
{ name: 'server', label: 'Server', tags: ['hosting', 'backend'] },
|
|
1004
|
+
{ name: 'code', label: 'Code', tags: ['programming', 'development'] },
|
|
1005
|
+
{ name: 'bug', label: 'Bug', tags: ['error', 'debug'] },
|
|
1006
|
+
{ name: 'shield', label: 'Shield', tags: ['security', 'protection'] },
|
|
1007
|
+
{ name: 'lock', label: 'Lock', tags: ['security', 'private'] },
|
|
1008
|
+
{ name: 'unlock', label: 'Unlock', tags: ['open', 'access'] },
|
|
1009
|
+
{ name: 'key', label: 'Key', tags: ['access', 'password'] },
|
|
1010
|
+
// Transportation & Location
|
|
1011
|
+
{ name: 'car', label: 'Car', tags: ['vehicle', 'automobile'] },
|
|
1012
|
+
{ name: 'truck', label: 'Truck', tags: ['vehicle', 'delivery'] },
|
|
1013
|
+
{ name: 'plane', label: 'Plane', tags: ['aircraft', 'travel'] },
|
|
1014
|
+
{ name: 'train', label: 'Train', tags: ['railway', 'transport'] },
|
|
1015
|
+
{ name: 'ship', label: 'Ship', tags: ['boat', 'vessel'] },
|
|
1016
|
+
{ name: 'bicycle', label: 'Bicycle', tags: ['bike', 'cycle'] },
|
|
1017
|
+
{ name: 'map', label: 'Map', tags: ['location', 'navigation'] },
|
|
1018
|
+
{ name: 'map-pin', label: 'Location', tags: ['pin', 'marker'] },
|
|
1019
|
+
{ name: 'globe', label: 'Globe', tags: ['world', 'earth'] },
|
|
1020
|
+
{ name: 'compass', label: 'Compass', tags: ['direction', 'navigation'] },
|
|
1021
|
+
// Health & Medical
|
|
1022
|
+
{ name: 'heart-pulse', label: 'Heart Rate', tags: ['health', 'medical'] },
|
|
1023
|
+
{ name: 'stethoscope', label: 'Stethoscope', tags: ['medical', 'doctor'] },
|
|
1024
|
+
{ name: 'pills', label: 'Pills', tags: ['medicine', 'drugs'] },
|
|
1025
|
+
{ name: 'syringe', label: 'Syringe', tags: ['injection', 'medical'] },
|
|
1026
|
+
{ name: 'bandage', label: 'Bandage', tags: ['first aid', 'wound'] },
|
|
1027
|
+
{ name: 'hospital', label: 'Hospital', tags: ['medical', 'healthcare'] },
|
|
1028
|
+
// Education & Learning
|
|
1029
|
+
{ name: 'graduation-cap', label: 'Graduation', tags: ['education', 'degree'] },
|
|
1030
|
+
{ name: 'book', label: 'Book', tags: ['reading', 'education'] },
|
|
1031
|
+
{ name: 'book-open', label: 'Open Book', tags: ['reading', 'study'] },
|
|
1032
|
+
{ name: 'pen', label: 'Pen', tags: ['write', 'draw'] },
|
|
1033
|
+
{ name: 'pencil', label: 'Pencil', tags: ['write', 'draw'] },
|
|
1034
|
+
{ name: 'highlighter', label: 'Highlighter', tags: ['mark', 'emphasize'] },
|
|
1035
|
+
{ name: 'ruler', label: 'Ruler', tags: ['measure', 'straight'] },
|
|
1036
|
+
{ name: 'microscope', label: 'Microscope', tags: ['science', 'research'] },
|
|
1037
|
+
// Food & Dining
|
|
1038
|
+
{ name: 'utensils', label: 'Utensils', tags: ['food', 'dining'] },
|
|
1039
|
+
{ name: 'pizza-slice', label: 'Pizza', tags: ['food', 'slice'] },
|
|
1040
|
+
{ name: 'coffee', label: 'Coffee', tags: ['drink', 'beverage'] },
|
|
1041
|
+
{ name: 'wine-glass', label: 'Wine', tags: ['drink', 'alcohol'] },
|
|
1042
|
+
{ name: 'cake', label: 'Cake', tags: ['dessert', 'sweet'] },
|
|
1043
|
+
{ name: 'apple', label: 'Apple', tags: ['fruit', 'healthy'] },
|
|
1044
|
+
// Sports & Recreation
|
|
1045
|
+
{ name: 'football', label: 'Football', tags: ['sport', 'soccer'] },
|
|
1046
|
+
{ name: 'basketball', label: 'Basketball', tags: ['sport', 'ball'] },
|
|
1047
|
+
{ name: 'baseball', label: 'Baseball', tags: ['sport', 'ball'] },
|
|
1048
|
+
{ name: 'tennis-ball', label: 'Tennis', tags: ['sport', 'racket'] },
|
|
1049
|
+
{ name: 'swimming-pool', label: 'Swimming', tags: ['sport', 'water'] },
|
|
1050
|
+
{ name: 'dumbbell', label: 'Dumbbell', tags: ['fitness', 'weight'] },
|
|
1051
|
+
// Weather & Nature
|
|
1052
|
+
{ name: 'sun', label: 'Sun', tags: ['weather', 'bright'] },
|
|
1053
|
+
{ name: 'moon', label: 'Moon', tags: ['night', 'dark'] },
|
|
1054
|
+
{ name: 'cloud-sun', label: 'Partly Cloudy', tags: ['weather', 'mixed'] },
|
|
1055
|
+
{ name: 'cloud-rain', label: 'Rain', tags: ['weather', 'precipitation'] },
|
|
1056
|
+
{ name: 'snowflake', label: 'Snow', tags: ['weather', 'cold'] },
|
|
1057
|
+
{ name: 'bolt', label: 'Lightning', tags: ['weather', 'storm'] },
|
|
1058
|
+
{ name: 'tree', label: 'Tree', tags: ['nature', 'plant'] },
|
|
1059
|
+
{ name: 'leaf', label: 'Leaf', tags: ['nature', 'plant'] },
|
|
1060
|
+
{ name: 'flower', label: 'Flower', tags: ['nature', 'plant'] },
|
|
1061
|
+
// Shopping & Commerce
|
|
1062
|
+
{ name: 'shopping-cart', label: 'Shopping Cart', tags: ['buy', 'purchase'] },
|
|
1063
|
+
{ name: 'bag-shopping', label: 'Shopping Bag', tags: ['buy', 'store'] },
|
|
1064
|
+
{ name: 'tags', label: 'Tags', tags: ['price', 'label'] },
|
|
1065
|
+
{ name: 'percent', label: 'Percent', tags: ['discount', 'sale'] },
|
|
1066
|
+
{ name: 'gift', label: 'Gift', tags: ['present', 'surprise'] },
|
|
1067
|
+
{ name: 'box', label: 'Box', tags: ['package', 'container'] },
|
|
1068
|
+
// Security & Safety
|
|
1069
|
+
{ name: 'eye', label: 'Eye', tags: ['view', 'watch'] },
|
|
1070
|
+
{ name: 'eye-slash', label: 'Hide', tags: ['hidden', 'invisible'] },
|
|
1071
|
+
{ name: 'user-secret', label: 'Secret User', tags: ['anonymous', 'hidden'] },
|
|
1072
|
+
{ name: 'fingerprint', label: 'Fingerprint', tags: ['biometric', 'identity'] },
|
|
1073
|
+
{ name: 'fire', label: 'Fire', tags: ['hot', 'burn'] },
|
|
1074
|
+
{ name: 'warning', label: 'Warning', tags: ['alert', 'caution'] },
|
|
1075
|
+
{ name: 'exclamation-triangle', label: 'Exclamation', tags: ['warning', 'alert'] },
|
|
1076
|
+
// Miscellaneous
|
|
1077
|
+
{ name: 'question', label: 'Question', tags: ['help', 'ask'] },
|
|
1078
|
+
{ name: 'info', label: 'Info', tags: ['information', 'details'] },
|
|
1079
|
+
{ name: 'lightbulb', label: 'Lightbulb', tags: ['idea', 'bright'] },
|
|
1080
|
+
{ name: 'magic-wand', label: 'Magic Wand', tags: ['magic', 'wish'] },
|
|
1081
|
+
{ name: 'puzzle-piece', label: 'Puzzle', tags: ['piece', 'solve'] },
|
|
1082
|
+
{ name: 'gamepad', label: 'Gamepad', tags: ['gaming', 'controller'] },
|
|
1083
|
+
{ name: 'dice', label: 'Dice', tags: ['game', 'random'] },
|
|
1084
|
+
{ name: 'palette', label: 'Palette', tags: ['color', 'art'] },
|
|
1085
|
+
{ name: 'brush', label: 'Brush', tags: ['paint', 'art'] },
|
|
1086
|
+
{ name: 'scissors', label: 'Scissors', tags: ['cut', 'trim'] },
|
|
936
1087
|
];
|
|
937
1088
|
class AXPIconProviderDefault extends AXPIconProvider {
|
|
938
1089
|
async provide() {
|
|
@@ -995,10 +1146,10 @@ class AXPIconChooserService {
|
|
|
995
1146
|
this.iconsCache = uniqueIcons;
|
|
996
1147
|
return uniqueIcons;
|
|
997
1148
|
}
|
|
998
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
999
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1149
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPIconChooserService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1150
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPIconChooserService }); }
|
|
1000
1151
|
}
|
|
1001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPIconChooserService, decorators: [{
|
|
1002
1153
|
type: Injectable
|
|
1003
1154
|
}] });
|
|
1004
1155
|
|
|
@@ -1062,8 +1213,8 @@ class AXPIconChooserPopupComponent extends AXBasePageComponent {
|
|
|
1062
1213
|
getIconClass(icon) {
|
|
1063
1214
|
return `${this.selectedIconType} fa-${icon.name}`;
|
|
1064
1215
|
}
|
|
1065
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1066
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
1216
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPIconChooserPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1217
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPIconChooserPopupComponent, isStandalone: true, selector: "ng-component", inputs: { value: "value" }, providers: [AXPIconChooserService], usesInheritance: true, ngImport: i0, template: `
|
|
1067
1218
|
<div class="ax-flex ax-flex-col ax-h-full ax-p-4 ax-gap-4 ax-bg-lightest">
|
|
1068
1219
|
<div class="ax-flex ax-justify-center">
|
|
1069
1220
|
<ax-search-box
|
|
@@ -1132,7 +1283,7 @@ class AXPIconChooserPopupComponent extends AXBasePageComponent {
|
|
|
1132
1283
|
</div>
|
|
1133
1284
|
`, 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 }); }
|
|
1134
1285
|
}
|
|
1135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPIconChooserPopupComponent, decorators: [{
|
|
1136
1287
|
type: Component,
|
|
1137
1288
|
args: [{
|
|
1138
1289
|
template: `
|
|
@@ -1215,6 +1366,22 @@ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
1215
1366
|
constructor() {
|
|
1216
1367
|
super(...arguments);
|
|
1217
1368
|
this.popupService = inject(AXPopupService);
|
|
1369
|
+
this.computedValue = computed(() => {
|
|
1370
|
+
const value = this.getValue();
|
|
1371
|
+
if (typeof value === 'string') {
|
|
1372
|
+
const parts = value.split(' ');
|
|
1373
|
+
if (parts.length === 1) {
|
|
1374
|
+
return { styleClass: 'fa-solid', iconClass: parts[0] };
|
|
1375
|
+
}
|
|
1376
|
+
else if (parts.length === 2) {
|
|
1377
|
+
return { styleClass: parts[0], iconClass: parts[1] };
|
|
1378
|
+
}
|
|
1379
|
+
else {
|
|
1380
|
+
throw new Error(`Invalid icon format: "${value}". Expected format: "icon-class" or "style-class icon-class"`);
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
return value;
|
|
1384
|
+
}, ...(ngDevMode ? [{ debugName: "computedValue" }] : []));
|
|
1218
1385
|
}
|
|
1219
1386
|
async openPopup() {
|
|
1220
1387
|
const result = await this.popupService.open(AXPIconChooserPopupComponent, {
|
|
@@ -1225,7 +1392,7 @@ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
1225
1392
|
},
|
|
1226
1393
|
});
|
|
1227
1394
|
if (result?.data) {
|
|
1228
|
-
this.setValue(result.data);
|
|
1395
|
+
this.setValue(result.data.styleClass + ' ' + result.data.iconClass);
|
|
1229
1396
|
}
|
|
1230
1397
|
}
|
|
1231
1398
|
addIcon() {
|
|
@@ -1239,8 +1406,8 @@ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
1239
1406
|
editIcon() {
|
|
1240
1407
|
this.openPopup();
|
|
1241
1408
|
}
|
|
1242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1243
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
1409
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPIconChooserWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1410
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPIconChooserWidgetEditComponent, isStandalone: true, selector: "ax-icon-chooser-edit", usesInheritance: true, ngImport: i0, template: `
|
|
1244
1411
|
<div
|
|
1245
1412
|
class="ax-grid ax-grid-cols-[6rem_auto] ax-items-center ax-rounded-md ax-text-3xl ax-w-fit"
|
|
1246
1413
|
[class.ax-border]="getValue()"
|
|
@@ -1251,7 +1418,7 @@ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
1251
1418
|
[class]="getValue() ? 'ax-border-e ax-cursor-default' : 'icon-container ax-cursor-pointer'"
|
|
1252
1419
|
(click)="addIcon()"
|
|
1253
1420
|
>
|
|
1254
|
-
<i [class]="getValue() ?
|
|
1421
|
+
<i [class]="getValue() ? computedValue().styleClass + ' ' + computedValue().iconClass : 'fa-solid fa-plus'"></i>
|
|
1255
1422
|
</div>
|
|
1256
1423
|
|
|
1257
1424
|
<!-- Right: Edit & Delete (only if value exists) -->
|
|
@@ -1269,11 +1436,11 @@ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
1269
1436
|
</div>
|
|
1270
1437
|
}
|
|
1271
1438
|
</div>
|
|
1272
|
-
|
|
1439
|
+
`, 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
1440
|
}
|
|
1274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPIconChooserWidgetEditComponent, decorators: [{
|
|
1275
1442
|
type: Component,
|
|
1276
|
-
args: [{ selector: 'ax-icon-chooser-edit', template:
|
|
1443
|
+
args: [{ selector: 'ax-icon-chooser-edit', template: `
|
|
1277
1444
|
<div
|
|
1278
1445
|
class="ax-grid ax-grid-cols-[6rem_auto] ax-items-center ax-rounded-md ax-text-3xl ax-w-fit"
|
|
1279
1446
|
[class.ax-border]="getValue()"
|
|
@@ -1284,7 +1451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
1284
1451
|
[class]="getValue() ? 'ax-border-e ax-cursor-default' : 'icon-container ax-cursor-pointer'"
|
|
1285
1452
|
(click)="addIcon()"
|
|
1286
1453
|
>
|
|
1287
|
-
<i [class]="getValue() ?
|
|
1454
|
+
<i [class]="getValue() ? computedValue().styleClass + ' ' + computedValue().iconClass : 'fa-solid fa-plus'"></i>
|
|
1288
1455
|
</div>
|
|
1289
1456
|
|
|
1290
1457
|
<!-- Right: Edit & Delete (only if value exists) -->
|
|
@@ -1302,7 +1469,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
1302
1469
|
</div>
|
|
1303
1470
|
}
|
|
1304
1471
|
</div>
|
|
1305
|
-
|
|
1472
|
+
`, 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
1473
|
}] });
|
|
1307
1474
|
|
|
1308
1475
|
var iconChooserEdit_component = /*#__PURE__*/Object.freeze({
|
|
@@ -1322,10 +1489,10 @@ const AXPIconChooserWidget = {
|
|
|
1322
1489
|
component: () => Promise.resolve().then(function () { return iconChooserEdit_component; }).then((c) => c.AXPIconChooserWidgetEditComponent),
|
|
1323
1490
|
},
|
|
1324
1491
|
column: {
|
|
1325
|
-
component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-
|
|
1492
|
+
component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs').then((c) => c.AXPIconChooserWidgetViewComponent),
|
|
1326
1493
|
},
|
|
1327
1494
|
view: {
|
|
1328
|
-
component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-
|
|
1495
|
+
component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs').then((c) => c.AXPIconChooserWidgetViewComponent),
|
|
1329
1496
|
},
|
|
1330
1497
|
},
|
|
1331
1498
|
};
|
|
@@ -1348,19 +1515,19 @@ class AXPMenuOrientationChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
1348
1515
|
onOrientationClick(orientation) {
|
|
1349
1516
|
this.setValue(orientation.id);
|
|
1350
1517
|
}
|
|
1351
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1352
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
1518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPMenuOrientationChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1519
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPMenuOrientationChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
1353
1520
|
@for (orientation of orientations(); track orientation.id) {
|
|
1354
1521
|
<div (click)="onOrientationClick(orientation)" [class.--selected]="orientation.id === selectedOrientation()?.id">
|
|
1355
1522
|
<div>
|
|
1356
1523
|
<i [class]="orientation.icon"></i>
|
|
1357
1524
|
</div>
|
|
1358
|
-
<span>{{ 'menu-modes.' + orientation.id | translate
|
|
1525
|
+
<span>{{ '@layout:menu-modes.' + orientation.id | translate | async }}</span>
|
|
1359
1526
|
</div>
|
|
1360
1527
|
}
|
|
1361
1528
|
`, 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
1529
|
}
|
|
1363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPMenuOrientationChooserWidgetComponent, decorators: [{
|
|
1364
1531
|
type: Component,
|
|
1365
1532
|
args: [{ template: `
|
|
1366
1533
|
@for (orientation of orientations(); track orientation.id) {
|
|
@@ -1368,7 +1535,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
1368
1535
|
<div>
|
|
1369
1536
|
<i [class]="orientation.icon"></i>
|
|
1370
1537
|
</div>
|
|
1371
|
-
<span>{{ 'menu-modes.' + orientation.id | translate
|
|
1538
|
+
<span>{{ '@layout:menu-modes.' + orientation.id | translate | async }}</span>
|
|
1372
1539
|
</div>
|
|
1373
1540
|
}
|
|
1374
1541
|
`, 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 +1583,19 @@ class AXPThemeModeChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
1416
1583
|
onModeClick(mode) {
|
|
1417
1584
|
this.setValue(mode.id);
|
|
1418
1585
|
}
|
|
1419
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1420
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
1586
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPThemeModeChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1587
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPThemeModeChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
1421
1588
|
@for (mode of modes(); track mode.id) {
|
|
1422
1589
|
<div (click)="onModeClick(mode)" [class.--selected]="mode.id === selectedMode()?.id">
|
|
1423
1590
|
<div>
|
|
1424
1591
|
<i [class]="mode.icon"></i>
|
|
1425
1592
|
</div>
|
|
1426
|
-
<span>{{ 'theme-modes.' + mode.id | translate
|
|
1593
|
+
<span>{{ '@layout:theme-modes.' + mode.id | translate | async }}</span>
|
|
1427
1594
|
</div>
|
|
1428
1595
|
}
|
|
1429
1596
|
`, 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
1597
|
}
|
|
1431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPThemeModeChooserWidgetComponent, decorators: [{
|
|
1432
1599
|
type: Component,
|
|
1433
1600
|
args: [{ template: `
|
|
1434
1601
|
@for (mode of modes(); track mode.id) {
|
|
@@ -1436,7 +1603,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
1436
1603
|
<div>
|
|
1437
1604
|
<i [class]="mode.icon"></i>
|
|
1438
1605
|
</div>
|
|
1439
|
-
<span>{{ 'theme-modes.' + mode.id | translate
|
|
1606
|
+
<span>{{ '@layout:theme-modes.' + mode.id | translate | async }}</span>
|
|
1440
1607
|
</div>
|
|
1441
1608
|
}
|
|
1442
1609
|
`, 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 +1655,8 @@ class AXPThemePaletteChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
1488
1655
|
onPaletteClick(palette) {
|
|
1489
1656
|
this.setValue(palette.name);
|
|
1490
1657
|
}
|
|
1491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1492
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.
|
|
1658
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPThemePaletteChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
1659
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPThemePaletteChooserWidgetComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
1493
1660
|
@for (palette of palettes(); track palette.name) {
|
|
1494
1661
|
<div (click)="onPaletteClick(palette)" [class.--selected]="palette.name === selectedPalette()?.name">
|
|
1495
1662
|
<span>{{ palette.title }}</span>
|
|
@@ -1502,7 +1669,7 @@ class AXPThemePaletteChooserWidgetComponent extends AXPValueWidgetComponent {
|
|
|
1502
1669
|
}
|
|
1503
1670
|
`, 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
1671
|
}
|
|
1505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPThemePaletteChooserWidgetComponent, decorators: [{
|
|
1506
1673
|
type: Component,
|
|
1507
1674
|
args: [{ template: `
|
|
1508
1675
|
@for (palette of palettes(); track palette.name) {
|
|
@@ -1553,14 +1720,14 @@ class AXPThemesSharedModule {
|
|
|
1553
1720
|
},
|
|
1554
1721
|
});
|
|
1555
1722
|
}
|
|
1556
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1557
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
1558
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.
|
|
1723
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPThemesSharedModule, deps: [{ token: i1$2.AXPAppStartUpService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1724
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.8", ngImport: i0, type: AXPThemesSharedModule, imports: [i2$4.AXPComponentSlotModule, i3$1.AXPLayoutBuilderModule] }); }
|
|
1725
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPThemesSharedModule, providers: [
|
|
1559
1726
|
{
|
|
1560
1727
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
1561
1728
|
useFactory: async () => {
|
|
1562
1729
|
const injector = inject(Injector);
|
|
1563
|
-
const provider = (await import('./acorex-platform-themes-shared-settings.provider-
|
|
1730
|
+
const provider = (await import('./acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs')).AXPThemeSettingProvider;
|
|
1564
1731
|
return new provider(injector);
|
|
1565
1732
|
},
|
|
1566
1733
|
multi: true,
|
|
@@ -1586,7 +1753,7 @@ class AXPThemesSharedModule {
|
|
|
1586
1753
|
],
|
|
1587
1754
|
})] }); }
|
|
1588
1755
|
}
|
|
1589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1756
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPThemesSharedModule, decorators: [{
|
|
1590
1757
|
type: NgModule,
|
|
1591
1758
|
args: [{
|
|
1592
1759
|
imports: [
|
|
@@ -1618,7 +1785,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
1618
1785
|
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
1619
1786
|
useFactory: async () => {
|
|
1620
1787
|
const injector = inject(Injector);
|
|
1621
|
-
const provider = (await import('./acorex-platform-themes-shared-settings.provider-
|
|
1788
|
+
const provider = (await import('./acorex-platform-themes-shared-settings.provider-CLUKU4y0.mjs')).AXPThemeSettingProvider;
|
|
1622
1789
|
return new provider(injector);
|
|
1623
1790
|
},
|
|
1624
1791
|
multi: true,
|