@acorex/platform 20.1.0 → 20.2.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/auth/index.d.ts +12 -29
  2. package/fesm2022/acorex-platform-auth.mjs +103 -181
  3. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  4. package/fesm2022/acorex-platform-themes-default.mjs +14 -24
  5. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  6. package/fesm2022/{acorex-platform-themes-shared-color-chooser-view.component-ChOhTEqX.mjs → acorex-platform-themes-shared-color-chooser-column.component-EZGn900W.mjs} +6 -7
  7. package/fesm2022/acorex-platform-themes-shared-color-chooser-column.component-EZGn900W.mjs.map +1 -0
  8. package/fesm2022/acorex-platform-themes-shared-color-chooser-view.component-DTLYX00a.mjs +49 -0
  9. package/fesm2022/acorex-platform-themes-shared-color-chooser-view.component-DTLYX00a.mjs.map +1 -0
  10. package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-SXfawqIa.mjs → acorex-platform-themes-shared-icon-chooser-view.component-DMPET9Fu.mjs} +10 -11
  11. package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-DMPET9Fu.mjs.map +1 -0
  12. package/fesm2022/acorex-platform-themes-shared.mjs +56 -39
  13. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  14. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BfWr5Wz8.mjs → acorex-platform-widgets-button-widget-designer.component-BUx-nksc.mjs} +5 -5
  15. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-BfWr5Wz8.mjs.map → acorex-platform-widgets-button-widget-designer.component-BUx-nksc.mjs.map} +1 -1
  16. package/fesm2022/{acorex-platform-widgets-file-list-popup.component-CEPrED5e.mjs → acorex-platform-widgets-file-list-popup.component-n3nuXZNq.mjs} +6 -6
  17. package/fesm2022/{acorex-platform-widgets-file-list-popup.component-CEPrED5e.mjs.map → acorex-platform-widgets-file-list-popup.component-n3nuXZNq.mjs.map} +1 -1
  18. package/fesm2022/{acorex-platform-widgets-file-rename-popup.component-DCVTwkGL.mjs → acorex-platform-widgets-file-rename-popup.component-DBRV6X7W.mjs} +8 -8
  19. package/fesm2022/{acorex-platform-widgets-file-rename-popup.component-DCVTwkGL.mjs.map → acorex-platform-widgets-file-rename-popup.component-DBRV6X7W.mjs.map} +1 -1
  20. package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-ti6XgNeD.mjs → acorex-platform-widgets-rich-text-popup.component-DPuTM42n.mjs} +3 -3
  21. package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-ti6XgNeD.mjs.map → acorex-platform-widgets-rich-text-popup.component-DPuTM42n.mjs.map} +1 -1
  22. package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-C-OZ-B7h.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-BH1_BkJh.mjs} +5 -5
  23. package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-C-OZ-B7h.mjs.map → acorex-platform-widgets-tabular-data-edit-popup.component-BH1_BkJh.mjs.map} +1 -1
  24. package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CvPn4SJx.mjs → acorex-platform-widgets-tabular-data-view-popup.component-DCsLuXR9.mjs} +3 -3
  25. package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-CvPn4SJx.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-DCsLuXR9.mjs.map} +1 -1
  26. package/fesm2022/acorex-platform-widgets.mjs +216 -170
  27. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  28. package/layout/views/index.d.ts +8 -0
  29. package/package.json +1 -1
  30. package/themes/default/index.d.ts +10 -1
  31. package/themes/shared/index.d.ts +4 -0
  32. package/widgets/index.d.ts +7 -2
  33. package/fesm2022/acorex-platform-themes-shared-color-chooser-view.component-ChOhTEqX.mjs.map +0 -1
  34. package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-SXfawqIa.mjs.map +0 -1
@@ -4,7 +4,7 @@ import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
5
  import { computed, ChangeDetectionStrategy, Component } from '@angular/core';
6
6
 
7
- class AXPColorChooserViewComponent extends AXPColumnWidgetComponent {
7
+ class AXPColorChooserWidgetColumnComponent extends AXPColumnWidgetComponent {
8
8
  constructor() {
9
9
  super(...arguments);
10
10
  this.title = computed(() => this.rawValue?.title || '', ...(ngDevMode ? [{ debugName: "title" }] : []));
@@ -12,8 +12,8 @@ class AXPColorChooserViewComponent extends AXPColumnWidgetComponent {
12
12
  this.color = computed(() => this.rawValue?.color || '', ...(ngDevMode ? [{ debugName: "color" }] : []));
13
13
  this.border = computed(() => this.rawValue?.border || '', ...(ngDevMode ? [{ debugName: "border" }] : []));
14
14
  }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPColorChooserViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
16
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPColorChooserViewComponent, isStandalone: true, selector: "ax-color-chooser-column", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPColorChooserWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
16
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPColorChooserWidgetColumnComponent, isStandalone: true, selector: "ax-color-chooser-column", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `
17
17
  <div class="ax-flex ax-items-center ax-gap-2">
18
18
  <div
19
19
  class="ax-w-6 ax-h-6 ax-rounded-md ax-flex ax-items-center ax-justify-center"
@@ -25,7 +25,7 @@ class AXPColorChooserViewComponent extends AXPColumnWidgetComponent {
25
25
  </div>
26
26
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPColorChooserViewComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPColorChooserWidgetColumnComponent, decorators: [{
29
29
  type: Component,
30
30
  args: [{
31
31
  selector: 'ax-color-chooser-column',
@@ -43,9 +43,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
43
43
  imports: [CommonModule],
44
44
  inputs: ['rawValue'],
45
45
  changeDetection: ChangeDetectionStrategy.OnPush,
46
- standalone: true,
47
46
  }]
48
47
  }] });
49
48
 
50
- export { AXPColorChooserViewComponent };
51
- //# sourceMappingURL=acorex-platform-themes-shared-color-chooser-view.component-ChOhTEqX.mjs.map
49
+ export { AXPColorChooserWidgetColumnComponent };
50
+ //# sourceMappingURL=acorex-platform-themes-shared-color-chooser-column.component-EZGn900W.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-themes-shared-color-chooser-column.component-EZGn900W.mjs","sources":["../tmp-esm2022/themes/shared/lib/widgets/color-chooser/color-chooser-column.component.js"],"sourcesContent":["import { AXPColumnWidgetComponent } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nexport class AXPColorChooserWidgetColumnComponent extends AXPColumnWidgetComponent {\n constructor() {\n super(...arguments);\n this.title = computed(() => this.rawValue?.title || '', ...(ngDevMode ? [{ debugName: \"title\" }] : []));\n this.background = computed(() => this.rawValue?.background || '', ...(ngDevMode ? [{ debugName: \"background\" }] : []));\n this.color = computed(() => this.rawValue?.color || '', ...(ngDevMode ? [{ debugName: \"color\" }] : []));\n this.border = computed(() => this.rawValue?.border || '', ...(ngDevMode ? [{ debugName: \"border\" }] : []));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: AXPColorChooserWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: AXPColorChooserWidgetColumnComponent, isStandalone: true, selector: \"ax-color-chooser-column\", inputs: { rawValue: \"rawValue\" }, usesInheritance: true, ngImport: i0, template: `\n <div class=\"ax-flex ax-items-center ax-gap-2\">\n <div\n class=\"ax-w-6 ax-h-6 ax-rounded-md ax-flex ax-items-center ax-justify-center\"\n [ngClass]=\"[background(), border()]\"\n >\n <span [ngClass]=\"color()\">Aa</span>\n </div>\n <span>{{ title() }}</span>\n </div>\n `, isInline: true, dependencies: [{ kind: \"ngmodule\", type: CommonModule }, { kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: AXPColorChooserWidgetColumnComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'ax-color-chooser-column',\n template: `\n <div class=\"ax-flex ax-items-center ax-gap-2\">\n <div\n class=\"ax-w-6 ax-h-6 ax-rounded-md ax-flex ax-items-center ax-justify-center\"\n [ngClass]=\"[background(), border()]\"\n >\n <span [ngClass]=\"color()\">Aa</span>\n </div>\n <span>{{ title() }}</span>\n </div>\n `,\n imports: [CommonModule],\n inputs: ['rawValue'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ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AE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AACnO;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,oCAAoC,EAAE,UAAU,EAAE,CAAC;AAC9I,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,QAAQ,EAAE,yBAAyB;AACvD,oBAAoB,QAAQ,EAAE;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,CAAC;AACH,oBAAoB,OAAO,EAAE,CAAC,YAAY,CAAC;AAC3C,oBAAoB,MAAM,EAAE,CAAC,UAAU,CAAC;AACxC,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;;;"}
@@ -0,0 +1,49 @@
1
+ import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
2
+ import * as i1 from '@angular/common';
3
+ import { CommonModule } from '@angular/common';
4
+ import * as i0 from '@angular/core';
5
+ import { computed, ChangeDetectionStrategy, Component } from '@angular/core';
6
+
7
+ class AXPColorChooserWidgetViewComponent extends AXPValueWidgetComponent {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.title = computed(() => this.getValue()?.title || '', ...(ngDevMode ? [{ debugName: "title" }] : []));
11
+ this.background = computed(() => this.getValue()?.background || '', ...(ngDevMode ? [{ debugName: "background" }] : []));
12
+ this.color = computed(() => this.getValue()?.color || '', ...(ngDevMode ? [{ debugName: "color" }] : []));
13
+ this.border = computed(() => this.getValue()?.border || '', ...(ngDevMode ? [{ debugName: "border" }] : []));
14
+ }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPColorChooserWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
16
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPColorChooserWidgetViewComponent, isStandalone: true, selector: "ax-color-chooser-view", usesInheritance: true, ngImport: i0, template: `
17
+ <div class="ax-flex ax-items-center ax-gap-2">
18
+ <div
19
+ class="ax-w-6 ax-h-6 ax-rounded-md ax-flex ax-items-center ax-justify-center"
20
+ [ngClass]="[background(), border()]"
21
+ >
22
+ <span [ngClass]="color()">Aa</span>
23
+ </div>
24
+ <span>{{ title() }}</span>
25
+ </div>
26
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPColorChooserWidgetViewComponent, decorators: [{
29
+ type: Component,
30
+ args: [{
31
+ selector: 'ax-color-chooser-view',
32
+ template: `
33
+ <div class="ax-flex ax-items-center ax-gap-2">
34
+ <div
35
+ class="ax-w-6 ax-h-6 ax-rounded-md ax-flex ax-items-center ax-justify-center"
36
+ [ngClass]="[background(), border()]"
37
+ >
38
+ <span [ngClass]="color()">Aa</span>
39
+ </div>
40
+ <span>{{ title() }}</span>
41
+ </div>
42
+ `,
43
+ imports: [CommonModule],
44
+ changeDetection: ChangeDetectionStrategy.OnPush,
45
+ }]
46
+ }] });
47
+
48
+ export { AXPColorChooserWidgetViewComponent };
49
+ //# sourceMappingURL=acorex-platform-themes-shared-color-chooser-view.component-DTLYX00a.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-themes-shared-color-chooser-view.component-DTLYX00a.mjs","sources":["../tmp-esm2022/themes/shared/lib/widgets/color-chooser/color-chooser-view.component.js"],"sourcesContent":["import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';\nimport { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nexport class AXPColorChooserWidgetViewComponent extends AXPValueWidgetComponent {\n constructor() {\n super(...arguments);\n this.title = computed(() => this.getValue()?.title || '', ...(ngDevMode ? [{ debugName: \"title\" }] : []));\n this.background = computed(() => this.getValue()?.background || '', ...(ngDevMode ? [{ debugName: \"background\" }] : []));\n this.color = computed(() => this.getValue()?.color || '', ...(ngDevMode ? [{ debugName: \"color\" }] : []));\n this.border = computed(() => this.getValue()?.border || '', ...(ngDevMode ? [{ debugName: \"border\" }] : []));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: AXPColorChooserWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: AXPColorChooserWidgetViewComponent, isStandalone: true, selector: \"ax-color-chooser-view\", usesInheritance: true, ngImport: i0, template: `\n <div class=\"ax-flex ax-items-center ax-gap-2\">\n <div\n class=\"ax-w-6 ax-h-6 ax-rounded-md ax-flex ax-items-center ax-justify-center\"\n [ngClass]=\"[background(), border()]\"\n >\n <span [ngClass]=\"color()\">Aa</span>\n </div>\n <span>{{ title() }}</span>\n </div>\n `, isInline: true, dependencies: [{ kind: \"ngmodule\", type: CommonModule }, { kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: AXPColorChooserWidgetViewComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'ax-color-chooser-view',\n template: `\n <div class=\"ax-flex ax-items-center ax-gap-2\">\n <div\n class=\"ax-w-6 ax-h-6 ax-rounded-md ax-flex ax-items-center ax-justify-center\"\n [ngClass]=\"[background(), border()]\"\n >\n <span [ngClass]=\"color()\">Aa</span>\n </div>\n <span>{{ title() }}</span>\n </div>\n `,\n imports: [CommonModule],\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItY2hvb3Nlci12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvcGxhdGZvcm0vdGhlbWVzL3NoYXJlZC9zcmMvbGliL3dpZGdldHMvY29sb3ItY2hvb3Nlci9jb2xvci1jaG9vc2VyLXZpZXcuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQzFFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBbUI3RSxNQUFNLE9BQU8sa0NBQW1DLFNBQVEsdUJBQWlDO0lBaEJ6Rjs7UUFpQkUsVUFBSyxHQUFHLFFBQVEsQ0FBQyxHQUFHLEVBQUUsQ0FBQyxJQUFJLENBQUMsUUFBUSxFQUFFLEVBQUUsS0FBSyxJQUFJLEVBQUUsaURBQUMsQ0FBQztRQUNyRCxlQUFVLEdBQUcsUUFBUSxDQUFDLEdBQUcsRUFBRS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,QAAQ,EAAE,IAAI,EAAE,kCAAkC,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,uBAAuB,EAAE,eAAe,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE;AAC5O;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AACnO;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,kCAAkC,EAAE,UAAU,EAAE,CAAC;AAC5I,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,QAAQ,EAAE,uBAAuB;AACrD,oBAAoB,QAAQ,EAAE;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,CAAC;AACH,oBAAoB,OAAO,EAAE,CAAC,YAAY,CAAC;AAC3C,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;;;"}
@@ -1,37 +1,37 @@
1
- import { AXPColumnWidgetComponent } from '@acorex/platform/layout/builder';
1
+ import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
2
2
  import * as i0 from '@angular/core';
3
3
  import { computed, ChangeDetectionStrategy, Component } from '@angular/core';
4
4
 
5
- class AXPIconChooserViewComponent extends AXPColumnWidgetComponent {
5
+ class AXPIconChooserWidgetViewComponent extends AXPValueWidgetComponent {
6
6
  constructor() {
7
7
  super(...arguments);
8
8
  this.title = computed(() => {
9
- const value = this.rawValue;
9
+ const value = this.getValue();
10
10
  if (value) {
11
11
  return value.label;
12
12
  }
13
13
  return '';
14
14
  }, ...(ngDevMode ? [{ debugName: "title" }] : []));
15
15
  this.icon = computed(() => {
16
- const value = this.rawValue;
16
+ const value = this.getValue();
17
17
  if (value) {
18
18
  return `${value.styleClass} ${value.iconClass}`;
19
19
  }
20
20
  return '';
21
21
  }, ...(ngDevMode ? [{ debugName: "icon" }] : []));
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIconChooserViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPIconChooserViewComponent, isStandalone: true, selector: "ax-icon-chooser-column", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIconChooserWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPIconChooserWidgetViewComponent, isStandalone: true, selector: "ax-icon-chooser-view", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `
25
25
  <div class="ax-flex ax-items-center ax-gap-2">
26
26
  <i [class]="icon()"></i>
27
27
  <span>{{ title() }}</span>
28
28
  </div>
29
29
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIconChooserViewComponent, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIconChooserWidgetViewComponent, decorators: [{
32
32
  type: Component,
33
33
  args: [{
34
- selector: 'ax-icon-chooser-column',
34
+ selector: 'ax-icon-chooser-view',
35
35
  template: `
36
36
  <div class="ax-flex ax-items-center ax-gap-2">
37
37
  <i [class]="icon()"></i>
@@ -40,9 +40,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
40
40
  `,
41
41
  inputs: ['rawValue'],
42
42
  changeDetection: ChangeDetectionStrategy.OnPush,
43
- standalone: true,
44
43
  }]
45
44
  }] });
46
45
 
47
- export { AXPIconChooserViewComponent };
48
- //# sourceMappingURL=acorex-platform-themes-shared-icon-chooser-view.component-SXfawqIa.mjs.map
46
+ export { AXPIconChooserWidgetViewComponent };
47
+ //# sourceMappingURL=acorex-platform-themes-shared-icon-chooser-view.component-DMPET9Fu.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-platform-themes-shared-icon-chooser-view.component-DMPET9Fu.mjs","sources":["../tmp-esm2022/themes/shared/lib/widgets/icon-chooser/icon-chooser-view.component.js"],"sourcesContent":["import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';\nimport { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXPIconChooserWidgetViewComponent extends AXPValueWidgetComponent {\n constructor() {\n super(...arguments);\n this.title = computed(() => {\n const value = this.getValue();\n if (value) {\n return value.label;\n }\n return '';\n }, ...(ngDevMode ? [{ debugName: \"title\" }] : []));\n this.icon = computed(() => {\n const value = this.getValue();\n if (value) {\n return `${value.styleClass} ${value.iconClass}`;\n }\n return '';\n }, ...(ngDevMode ? [{ debugName: \"icon\" }] : []));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: AXPIconChooserWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: AXPIconChooserWidgetViewComponent, isStandalone: true, selector: \"ax-icon-chooser-view\", inputs: { rawValue: \"rawValue\" }, usesInheritance: true, ngImport: i0, template: `\n <div class=\"ax-flex ax-items-center ax-gap-2\">\n <i [class]=\"icon()\"></i>\n <span>{{ title() }}</span>\n </div>\n `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: AXPIconChooserWidgetViewComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'ax-icon-chooser-view',\n template: `\n <div class=\"ax-flex ax-items-center ax-gap-2\">\n <i [class]=\"icon()\"></i>\n <span>{{ title() }}</span>\n </div>\n `,\n inputs: ['rawValue'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi1jaG9vc2VyLXZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9wbGF0Zm9ybS90aGVtZXMvc2hhcmVkL3NyYy9saWIvd2lkZ2V0cy9pY29uLWNob29zZXIvaWNvbi1jaG9vc2VyLXZpZXcuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQzFFLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQWM3RSxNQUFNLE9BQU8saUNBQWtDLFNBQVEsdUJBQStDO0lBWHRHOztRQVlFLFV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,MAAM,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE;AAC5Q;AACA;AACA;AACA;AACA,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AAC3E;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,iCAAiC,EAAE,UAAU,EAAE,CAAC;AAC3I,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,QAAQ,EAAE,sBAAsB;AACpD,oBAAoB,QAAQ,EAAE;AAC9B;AACA;AACA;AACA;AACA,EAAE,CAAC;AACH,oBAAoB,MAAM,EAAE,CAAC,UAAU,CAAC;AACxC,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;;;"}
@@ -9,12 +9,12 @@ import { CommonModule } from '@angular/common';
9
9
  import * as i0 from '@angular/core';
10
10
  import { computed, inject, Component, InjectionToken, Injectable, signal, ChangeDetectionStrategy, effect, Input, Injector, NgModule } from '@angular/core';
11
11
  import { AXPSettingService, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';
12
+ import * as i1$2 from '@acorex/platform/core';
13
+ import { AXPPlatformScope } from '@acorex/platform/core';
14
+ import { HttpClient } from '@angular/common/http';
12
15
  import { signalStore, withState, withComputed, withMethods, patchState, withHooks } from '@ngrx/signals';
13
16
  import { timer, firstValueFrom, fromEvent, Subscription, filter } from 'rxjs';
14
17
  import { debounceTime } from 'rxjs/operators';
15
- import { HttpClient } from '@angular/common/http';
16
- import * as i1$2 from '@acorex/platform/core';
17
- import { AXPPlatformScope } from '@acorex/platform/core';
18
18
  import * as i2$1 from '@acorex/core/translation';
19
19
  import { AXTranslationModule } from '@acorex/core/translation';
20
20
  import * as i3$1 from '@acorex/platform/layout/builder';
@@ -119,7 +119,7 @@ withState(() => {
119
119
  systemThemeMode: (isSystemDark ? AXPThemeMode.Dark : AXPThemeMode.Light),
120
120
  font: {
121
121
  family: 'system-ui',
122
- size: 'medium'
122
+ size: 'medium',
123
123
  },
124
124
  screenSize: getScreenSize(),
125
125
  deviceType: getDeviceType(),
@@ -128,18 +128,26 @@ withState(() => {
128
128
  navigationLoading: false,
129
129
  overlayLoadingTaskCount: 0,
130
130
  navigationLoadingTaskCount: 0,
131
- sideMenuState: (getScreenSize() === AXPScreenSize.Large ? AXPSideMenuState.Opened : AXPSideMenuState.Closed),
131
+ sideMenuState: (getScreenSize() === AXPScreenSize.Large
132
+ ? AXPSideMenuState.Opened
133
+ : AXPSideMenuState.Closed),
132
134
  sideMenuWidth: 288,
133
135
  menuOrientation: 'vertical',
134
136
  _listener: null,
135
137
  _resizeListener: null,
138
+ isPrinting: false,
136
139
  };
137
140
  return state;
138
141
  }),
139
142
  // Computed Signals
140
- withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, screenSize, deviceType, isTouchDevice, sideMenuState, overlayLoading, navigationLoading, menuOrientation }) => ({
141
- isDarkMode: computed(() => currentTheme() === AXPThemeMode.Dark ||
142
- (currentTheme() === AXPThemeMode.System && systemTheme() === AXPThemeMode.Dark)),
143
+ withComputed(({ currentMode: currentTheme, systemThemeMode: systemTheme, screenSize, deviceType, isTouchDevice, sideMenuState, overlayLoading, navigationLoading, menuOrientation, isPrinting, }) => ({
144
+ isDarkMode: computed(() => {
145
+ if (isPrinting()) {
146
+ return false;
147
+ }
148
+ return (currentTheme() === AXPThemeMode.Dark ||
149
+ (currentTheme() === AXPThemeMode.System && systemTheme() === AXPThemeMode.Dark));
150
+ }),
143
151
  isLightMode: computed(() => currentTheme() === AXPThemeMode.Light ||
144
152
  (currentTheme() === AXPThemeMode.System && systemTheme() === AXPThemeMode.Light)),
145
153
  isSystemMode: computed(() => currentTheme() === AXPThemeMode.System),
@@ -169,9 +177,10 @@ withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettin
169
177
  const settingSideMenu = (await settingService.get(AXPThemeLayoutSetting.SideMenuStatus)) ?? store.sideMenuState();
170
178
  patchState(store, { sideMenuState: settingSideMenu });
171
179
  //
172
- const settingMenuOrientation = (await settingService.get(AXPThemeLayoutSetting.MenuOrientation)) ?? store.menuOrientation();
180
+ const settingMenuOrientation = (await settingService.get(AXPThemeLayoutSetting.MenuOrientation)) ??
181
+ store.menuOrientation();
173
182
  patchState(store, { menuOrientation: settingMenuOrientation });
174
- //
183
+ //
175
184
  const fontFamily = await settingService.get(AXPThemeLayoutSetting.Font);
176
185
  const fontSize = await settingService.get(AXPThemeLayoutSetting.FontSize);
177
186
  patchState(store, { font: { family: fontFamily, size: fontSize } });
@@ -283,7 +292,7 @@ withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettin
283
292
  style.textContent = cssText;
284
293
  document.head.appendChild(style);
285
294
  // Remove any other outdated theme styles
286
- document.querySelectorAll('style[data-theme]').forEach(existing => {
295
+ document.querySelectorAll('style[data-theme]').forEach((existing) => {
287
296
  if (existing !== style) {
288
297
  existing.remove();
289
298
  }
@@ -336,6 +345,8 @@ withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettin
336
345
  async loadSettings() {
337
346
  await _applySettings();
338
347
  },
348
+ // This is for internal use to react to print mode changes
349
+ _internal_updateHtmlClass: _updateHtmlClass,
339
350
  // Set up event listener for system theme changes
340
351
  _setupSystemColorListener() {
341
352
  const mediaQueryList = window.matchMedia('(prefers-color-scheme: dark)');
@@ -354,8 +365,7 @@ withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettin
354
365
  // Set up event listener for window resize
355
366
  _setupResizeListener() {
356
367
  const subscription = fromEvent(window, 'resize')
357
- .pipe(debounceTime(250) // 250ms debounce delay
358
- )
368
+ .pipe(debounceTime(250))
359
369
  .subscribe(() => {
360
370
  _updateScreenSize();
361
371
  });
@@ -373,7 +383,7 @@ withMethods((store, http = inject(HttpClient), settingService = inject(AXPSettin
373
383
  withHooks((store, settingService = inject(AXPSettingService)) => ({
374
384
  onInit() {
375
385
  //
376
- settingService.onChanged.pipe(filter(c => c.scope == AXPPlatformScope.User)).subscribe(async (changes) => {
386
+ settingService.onChanged.pipe(filter((c) => c.scope == AXPPlatformScope.User)).subscribe(async (changes) => {
377
387
  const keys = Object.values(AXPThemeLayoutSetting);
378
388
  if (changes.keys.some((key) => keys.includes(key))) {
379
389
  await store.loadSettings();
@@ -389,6 +399,14 @@ withHooks((store, settingService = inject(AXPSettingService)) => ({
389
399
  // Set up event listener for window resize
390
400
  const resizeSubscription = store._setupResizeListener();
391
401
  patchState(store, { _resizeListener: resizeSubscription });
402
+ window.addEventListener('beforeprint', () => {
403
+ patchState(store, { isPrinting: true });
404
+ store._internal_updateHtmlClass();
405
+ });
406
+ window.addEventListener('afterprint', () => {
407
+ patchState(store, { isPrinting: false });
408
+ store._internal_updateHtmlClass();
409
+ });
392
410
  },
393
411
  onDestroy() {
394
412
  // Clean up event listeners when store is destroyed
@@ -616,13 +634,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
616
634
  }]
617
635
  }] });
618
636
 
619
- class AXPColorChooserWidgetComponent extends AXPValueWidgetComponent {
637
+ class AXPColorChooserWidgetEditComponent extends AXPValueWidgetComponent {
620
638
  constructor() {
621
639
  super(...arguments);
622
- this.colors = signal([], ...(ngDevMode ? [{ debugName: "colors" }] : []));
623
640
  this.colorService = inject(AXPColorChooserService);
641
+ this.colors = signal([], ...(ngDevMode ? [{ debugName: "colors" }] : []));
624
642
  }
625
643
  async ngOnInit() {
644
+ super.ngOnInit();
626
645
  this.colors.set(await this.colorService.getColors());
627
646
  }
628
647
  handleValueChange(name) {
@@ -633,8 +652,8 @@ class AXPColorChooserWidgetComponent extends AXPValueWidgetComponent {
633
652
  const color = this.colors().find((c) => c.name === name);
634
653
  this.setValue(color);
635
654
  }
636
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPColorChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
637
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPColorChooserWidgetComponent, isStandalone: true, selector: "ax-color-chooser-widget", usesInheritance: true, ngImport: i0, template: `
655
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPColorChooserWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
656
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPColorChooserWidgetEditComponent, isStandalone: true, selector: "ax-color-chooser-widget", usesInheritance: true, ngImport: i0, template: `
638
657
  <div class="ax-p-4">
639
658
  <ax-form [messageStyle]="'float'" [updateOn]="'change'">
640
659
  <ax-form-field>
@@ -650,7 +669,7 @@ class AXPColorChooserWidgetComponent extends AXPValueWidgetComponent {
650
669
  <ng-template #customItemTemplate let-item>
651
670
  <div class="ax-flex ax-items-center ax-gap-2 ax-p-2">
652
671
  <div
653
- class="ax-w-6 ax-h-6 ax-rounded-md ax-flex ax-items-center ax-justify-center ax-border ax-border-dashed ax-border-black dark:ax-border-white"
672
+ class="ax-w-6 ax-h-6 ax-rounded ax-flex ax-items-center ax-justify-center ax-border ax-border-dashed ax-border-black dark:ax-border-white"
654
673
  [ngClass]="item.data.background"
655
674
  >
656
675
  <span [ngClass]="item.data.color">Aa</span>
@@ -666,7 +685,7 @@ class AXPColorChooserWidgetComponent extends AXPValueWidgetComponent {
666
685
  </div>
667
686
  `, 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", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { 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 }); }
668
687
  }
669
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPColorChooserWidgetComponent, decorators: [{
688
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPColorChooserWidgetEditComponent, decorators: [{
670
689
  type: Component,
671
690
  args: [{
672
691
  selector: 'ax-color-chooser-widget',
@@ -686,7 +705,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
686
705
  <ng-template #customItemTemplate let-item>
687
706
  <div class="ax-flex ax-items-center ax-gap-2 ax-p-2">
688
707
  <div
689
- class="ax-w-6 ax-h-6 ax-rounded-md ax-flex ax-items-center ax-justify-center ax-border ax-border-dashed ax-border-black dark:ax-border-white"
708
+ class="ax-w-6 ax-h-6 ax-rounded ax-flex ax-items-center ax-justify-center ax-border ax-border-dashed ax-border-black dark:ax-border-white"
690
709
  [ngClass]="item.data.background"
691
710
  >
692
711
  <span [ngClass]="item.data.color">Aa</span>
@@ -701,15 +720,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
701
720
  </ax-form>
702
721
  </div>
703
722
  `,
704
- standalone: true,
705
723
  imports: [AXSelectBoxModule, AXFormModule, CommonModule, AXSearchBoxModule, AXButtonModule, FormsModule],
706
724
  changeDetection: ChangeDetectionStrategy.OnPush,
707
725
  }]
708
726
  }] });
709
727
 
710
- var colorChooserWidget_component = /*#__PURE__*/Object.freeze({
728
+ var colorChooserEdit_component = /*#__PURE__*/Object.freeze({
711
729
  __proto__: null,
712
- AXPColorChooserWidgetComponent: AXPColorChooserWidgetComponent
730
+ AXPColorChooserWidgetEditComponent: AXPColorChooserWidgetEditComponent
713
731
  });
714
732
 
715
733
  const AXPColorChooserWidgetConfig = {
@@ -722,13 +740,13 @@ const AXPColorChooserWidgetConfig = {
722
740
  properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
723
741
  components: {
724
742
  edit: {
725
- component: () => Promise.resolve().then(function () { return colorChooserWidget_component; }).then((c) => c.AXPColorChooserWidgetComponent),
743
+ component: () => Promise.resolve().then(function () { return colorChooserEdit_component; }).then((c) => c.AXPColorChooserWidgetEditComponent),
726
744
  },
727
745
  column: {
728
- component: () => import('./acorex-platform-themes-shared-color-chooser-view.component-ChOhTEqX.mjs').then((c) => c.AXPColorChooserViewComponent),
746
+ component: () => import('./acorex-platform-themes-shared-color-chooser-column.component-EZGn900W.mjs').then((c) => c.AXPColorChooserWidgetColumnComponent),
729
747
  },
730
748
  view: {
731
- component: () => import('./acorex-platform-themes-shared-color-chooser-view.component-ChOhTEqX.mjs').then((c) => c.AXPColorChooserViewComponent),
749
+ component: () => import('./acorex-platform-themes-shared-color-chooser-view.component-DTLYX00a.mjs').then((c) => c.AXPColorChooserWidgetViewComponent),
732
750
  },
733
751
  },
734
752
  };
@@ -1105,7 +1123,6 @@ class AXPIconChooserPopupComponent extends AXBasePageComponent {
1105
1123
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIconChooserPopupComponent, decorators: [{
1106
1124
  type: Component,
1107
1125
  args: [{
1108
- standalone: true,
1109
1126
  template: `
1110
1127
  <div class="ax-flex ax-flex-col ax-h-full ax-p-4 ax-gap-4 ax-bg-lightest">
1111
1128
  <div class="ax-flex ax-justify-center">
@@ -1182,7 +1199,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
1182
1199
  type: Input
1183
1200
  }] } });
1184
1201
 
1185
- class AXPIconChooserWidgetComponent extends AXPValueWidgetComponent {
1202
+ class AXPIconChooserWidgetEditComponent extends AXPValueWidgetComponent {
1186
1203
  constructor() {
1187
1204
  super(...arguments);
1188
1205
  this.popupService = inject(AXPopupService);
@@ -1210,8 +1227,8 @@ class AXPIconChooserWidgetComponent extends AXPValueWidgetComponent {
1210
1227
  editIcon() {
1211
1228
  this.openPopup();
1212
1229
  }
1213
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIconChooserWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1214
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXPIconChooserWidgetComponent, isStandalone: true, selector: "ax-icon-chooser-widget", usesInheritance: true, ngImport: i0, template: `<div class="ax-p-4 ax-w-fit">
1230
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIconChooserWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1231
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXPIconChooserWidgetEditComponent, isStandalone: true, selector: "ax-icon-chooser-edit", usesInheritance: true, ngImport: i0, template: `<div class="ax-p-4 ax-w-fit">
1215
1232
  <div
1216
1233
  class="ax-grid ax-grid-cols-[6rem_auto] ax-items-center ax-rounded-md ax-text-3xl ax-w-fit"
1217
1234
  [class.ax-border]="getValue()"
@@ -1242,9 +1259,9 @@ class AXPIconChooserWidgetComponent extends AXPValueWidgetComponent {
1242
1259
  </div>
1243
1260
  </div> `, 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 }); }
1244
1261
  }
1245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIconChooserWidgetComponent, decorators: [{
1262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPIconChooserWidgetEditComponent, decorators: [{
1246
1263
  type: Component,
1247
- args: [{ selector: 'ax-icon-chooser-widget', template: `<div class="ax-p-4 ax-w-fit">
1264
+ args: [{ selector: 'ax-icon-chooser-edit', template: `<div class="ax-p-4 ax-w-fit">
1248
1265
  <div
1249
1266
  class="ax-grid ax-grid-cols-[6rem_auto] ax-items-center ax-rounded-md ax-text-3xl ax-w-fit"
1250
1267
  [class.ax-border]="getValue()"
@@ -1273,12 +1290,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
1273
1290
  </div>
1274
1291
  }
1275
1292
  </div>
1276
- </div> `, changeDetection: ChangeDetectionStrategy.OnPush, standalone: 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"] }]
1293
+ </div> `, 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"] }]
1277
1294
  }] });
1278
1295
 
1279
- var iconChooserWidget_component = /*#__PURE__*/Object.freeze({
1296
+ var iconChooserEdit_component = /*#__PURE__*/Object.freeze({
1280
1297
  __proto__: null,
1281
- AXPIconChooserWidgetComponent: AXPIconChooserWidgetComponent
1298
+ AXPIconChooserWidgetEditComponent: AXPIconChooserWidgetEditComponent
1282
1299
  });
1283
1300
 
1284
1301
  const AXPIconChooserWidget = {
@@ -1291,13 +1308,13 @@ const AXPIconChooserWidget = {
1291
1308
  properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
1292
1309
  components: {
1293
1310
  edit: {
1294
- component: () => Promise.resolve().then(function () { return iconChooserWidget_component; }).then((c) => c.AXPIconChooserWidgetComponent),
1311
+ component: () => Promise.resolve().then(function () { return iconChooserEdit_component; }).then((c) => c.AXPIconChooserWidgetEditComponent),
1295
1312
  },
1296
1313
  column: {
1297
- component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-SXfawqIa.mjs').then((c) => c.AXPIconChooserViewComponent),
1314
+ component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-DMPET9Fu.mjs').then((c) => c.AXPIconChooserWidgetViewComponent),
1298
1315
  },
1299
1316
  view: {
1300
- component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-SXfawqIa.mjs').then((c) => c.AXPIconChooserViewComponent),
1317
+ component: () => import('./acorex-platform-themes-shared-icon-chooser-view.component-DMPET9Fu.mjs').then((c) => c.AXPIconChooserWidgetViewComponent),
1301
1318
  },
1302
1319
  },
1303
1320
  };