@acorex/platform 18.0.16 → 18.1.1

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 (141) hide show
  1. package/common/lib/schema/entity/entity.class.d.ts +2 -1
  2. package/esm2022/common/lib/schema/entity/entity.class.mjs +1 -1
  3. package/esm2022/common/lib/workflows/common.workflow.mjs +1 -1
  4. package/esm2022/layout/builder/lib/builder/builder.module.mjs +4 -3
  5. package/esm2022/layout/builder/lib/builder/index.mjs +2 -1
  6. package/esm2022/layout/builder/lib/builder/widget-renderer.component.directive.mjs +280 -0
  7. package/esm2022/layout/designer/lib/designer/components/board/board.component.mjs +3 -3
  8. package/esm2022/layout/designer/lib/designer/components/header-menu/header-menu.component.mjs +3 -3
  9. package/esm2022/layout/designer/lib/designer/designer.component.mjs +9 -5
  10. package/esm2022/layout/designer/lib/designer/shared/designer.service.mjs +21 -21
  11. package/esm2022/layout/designer/lib/designer/shared/designer.typs.mjs +6 -2
  12. package/esm2022/layout/entity/lib/entity.module.mjs +4 -2
  13. package/esm2022/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.mjs +7 -4
  14. package/esm2022/layout/entity/lib/workflows/create-entity.workflow.mjs +4 -3
  15. package/esm2022/layout/entity/lib/workflows/delete-entity.workflow.mjs +10 -11
  16. package/esm2022/layouts/lib/admin/entity-layout/entity-create-view/entity-create-view.component.mjs +3 -2
  17. package/esm2022/layouts/lib/admin/entity-layout/entity-details-view/detail-view.config.mjs +2 -3
  18. package/esm2022/layouts/lib/admin/entity-layout/entity-list-view/entity-list-view.component.mjs +3 -3
  19. package/esm2022/layouts/lib/admin/entity-layout/index.mjs +2 -2
  20. package/esm2022/layouts/lib/admin/entity-layout/workflows/show-list.workflow.mjs +2 -2
  21. package/esm2022/themes/default/lib/entity-reuse.strategy.mjs +2 -4
  22. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +33 -6
  23. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.mjs +4 -4
  24. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/comments/comment-list-view.component.mjs +4 -4
  25. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/overview/entity-single-overview.component.mjs +3 -3
  26. package/esm2022/widgets/lib/properties/editors.props.mjs +61 -2
  27. package/esm2022/widgets/lib/properties/table-column.props.mjs +17 -2
  28. package/esm2022/widgets/lib/widgets/actions/button/button-widget-designer.component.mjs +25 -9
  29. package/esm2022/widgets/lib/widgets/actions/button/button-widget-view.component.mjs +26 -10
  30. package/esm2022/widgets/lib/widgets/actions/button/button-widget.config.mjs +4 -2
  31. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-column.component.mjs +3 -3
  32. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-column.component.mjs +3 -3
  33. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-edit.component.mjs +7 -3
  34. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-view.component.mjs +3 -3
  35. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget.config.mjs +4 -4
  36. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget.config.mjs +3 -3
  37. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-column.component.mjs +3 -3
  38. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-column.component.mjs +6 -6
  39. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-edit.component.mjs +26 -17
  40. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-view.component.mjs +63 -63
  41. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget.config.mjs +3 -3
  42. package/esm2022/widgets/lib/widgets/editors/contact/index.mjs +3 -4
  43. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-column.component.mjs +1 -1
  44. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.mjs +63 -41
  45. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-view.component.mjs +14 -20
  46. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-column.component.mjs +1 -1
  47. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.mjs +1 -1
  48. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-view.component.mjs +1 -1
  49. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget.config.mjs +5 -4
  50. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-edit.component.mjs +49 -57
  51. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-view.component.mjs +11 -17
  52. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget.config.mjs +3 -2
  53. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-column.component.mjs +44 -7
  54. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-edit.component.mjs +1 -1
  55. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-view.component.mjs +11 -5
  56. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.mjs +33 -15
  57. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-view.component.mjs +5 -3
  58. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget.config.mjs +4 -4
  59. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-column.component.mjs +36 -6
  60. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-column.component.mjs +21 -6
  61. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget.config.mjs +4 -4
  62. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget.config.mjs +4 -4
  63. package/esm2022/widgets/lib/widgets/layout/block/block-widget-view.component.mjs +4 -4
  64. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-view.component.mjs +28 -16
  65. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-designer.component.mjs +37 -31
  66. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-view.component.mjs +27 -6
  67. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-designer.component.mjs +32 -26
  68. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-view.component.mjs +82 -8
  69. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-view.component.mjs +27 -6
  70. package/esm2022/widgets/lib/widgets/layout/page/page-widget-view.component.mjs +6 -4
  71. package/esm2022/widgets/lib/widgets.module.mjs +16 -10
  72. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  73. package/fesm2022/acorex-platform-layout-builder.mjs +276 -4
  74. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  75. package/fesm2022/acorex-platform-layout-designer.mjs +36 -28
  76. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  77. package/fesm2022/acorex-platform-layout-entity.mjs +18 -13
  78. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  79. package/fesm2022/{acorex-platform-layouts-entity-create-view.component-C2pYReAo.mjs → acorex-platform-layouts-entity-create-view.component-CPGbLM4C.mjs} +3 -2
  80. package/fesm2022/acorex-platform-layouts-entity-create-view.component-CPGbLM4C.mjs.map +1 -0
  81. package/fesm2022/acorex-platform-layouts.mjs +1633 -1633
  82. package/fesm2022/acorex-platform-layouts.mjs.map +1 -1
  83. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CWXJxLS0.mjs +281 -0
  84. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CWXJxLS0.mjs.map +1 -0
  85. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B9lGgO_u.mjs +357 -0
  86. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B9lGgO_u.mjs.map +1 -0
  87. package/fesm2022/acorex-platform-themes-default.mjs +11 -562
  88. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  89. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs → acorex-platform-widgets-button-widget-designer.component-Oxpdaz9P.mjs} +25 -9
  90. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-Oxpdaz9P.mjs.map +1 -0
  91. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-BzNhzB9y.mjs → acorex-platform-widgets-checkbox-widget-column.component-j1jG8pCr.mjs} +6 -6
  92. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-j1jG8pCr.mjs.map +1 -0
  93. package/fesm2022/acorex-platform-widgets-contact-widget-filter.component-GTwK51nJ.mjs +23 -0
  94. package/fesm2022/acorex-platform-widgets-contact-widget-filter.component-GTwK51nJ.mjs.map +1 -0
  95. package/fesm2022/acorex-platform-widgets.mjs +981 -650
  96. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  97. package/layout/builder/lib/builder/builder.module.d.ts +5 -4
  98. package/layout/builder/lib/builder/index.d.ts +1 -0
  99. package/layout/builder/lib/builder/widget-renderer.component.directive.d.ts +42 -0
  100. package/layout/designer/lib/designer/designer.component.d.ts +1 -0
  101. package/layout/designer/lib/designer/shared/designer.service.d.ts +2 -1
  102. package/layout/designer/lib/designer/shared/designer.typs.d.ts +15 -0
  103. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-view.component.d.ts +1 -1
  104. package/layout/entity/lib/workflows/create-entity.workflow.d.ts +2 -0
  105. package/layout/entity/lib/workflows/delete-entity.workflow.d.ts +2 -0
  106. package/layouts/lib/admin/entity-layout/index.d.ts +1 -1
  107. package/package.json +17 -17
  108. package/themes/default/lib/entity-reuse.strategy.d.ts +1 -1
  109. package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +5 -0
  110. package/widgets/lib/properties/editors.props.d.ts +4 -0
  111. package/widgets/lib/properties/table-column.props.d.ts +1 -0
  112. package/widgets/lib/widgets/actions/button/button-widget-designer.component.d.ts +3 -2
  113. package/widgets/lib/widgets/actions/button/button-widget-view.component.d.ts +3 -2
  114. package/widgets/lib/widgets/advance/file/file-box-widget-column.component.d.ts +1 -1
  115. package/widgets/lib/widgets/advance/gallery/gallery-widget-column.component.d.ts +1 -1
  116. package/widgets/lib/widgets/advance/map/map-box-widget-edit.component.d.ts +2 -0
  117. package/widgets/lib/widgets/advance/signature/signature-pad-widget-column.component.d.ts +1 -1
  118. package/widgets/lib/widgets/editors/checkbox/checkbox-widget-column.component.d.ts +1 -1
  119. package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +1 -0
  120. package/widgets/lib/widgets/editors/contact/contact-widget-view.component.d.ts +2 -2
  121. package/widgets/lib/widgets/editors/contact/index.d.ts +2 -3
  122. package/widgets/lib/widgets/editors/date-time/date-time-box-widget-column.component.d.ts +1 -1
  123. package/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.d.ts +2 -1
  124. package/widgets/lib/widgets/editors/date-time/date-time-box-widget-view.component.d.ts +2 -2
  125. package/widgets/lib/widgets/editors/large-text/large-text-widget-column.component.d.ts +1 -1
  126. package/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.d.ts +1 -1
  127. package/widgets/lib/widgets/editors/large-text/large-text-widget-view.component.d.ts +1 -1
  128. package/widgets/lib/widgets/editors/number/number-box-widget-edit.component.d.ts +1 -1
  129. package/widgets/lib/widgets/editors/password/password-box-widget-column.component.d.ts +7 -3
  130. package/widgets/lib/widgets/editors/password/password-box-widget-edit.component.d.ts +1 -1
  131. package/widgets/lib/widgets/editors/password/password-box-widget-view.component.d.ts +1 -1
  132. package/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.d.ts +2 -0
  133. package/widgets/lib/widgets/editors/select/select-box-widget-column.component.d.ts +5 -0
  134. package/widgets/lib/widgets/editors/selection-list/selection-list-widget-column.component.d.ts +1 -1
  135. package/widgets/lib/widgets/layout/form-field/form-field-widget-view.component.d.ts +2 -1
  136. package/widgets/lib/widgets/layout/grid/grid-widget-view.component.d.ts +3 -0
  137. package/widgets/lib/widgets/layout/grid-item/grid-item-widget-view.component.d.ts +11 -2
  138. package/widgets/lib/widgets/layout/grid-row/grid-row-widget-view.component.d.ts +3 -0
  139. package/fesm2022/acorex-platform-layouts-entity-create-view.component-C2pYReAo.mjs.map +0 -1
  140. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs.map +0 -1
  141. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BzNhzB9y.mjs.map +0 -1
@@ -1,5 +1,9 @@
1
+ import * as i2$1 from '@acorex/components/badge';
2
+ import { AXBadgeModule } from '@acorex/components/badge';
1
3
  import * as i5 from '@acorex/components/button';
2
4
  import { AXButtonModule } from '@acorex/components/button';
5
+ import * as i3 from '@acorex/components/decorators';
6
+ import { AXDecoratorModule } from '@acorex/components/decorators';
3
7
  import * as i4 from '@acorex/components/loading';
4
8
  import { AXLoadingModule } from '@acorex/components/loading';
5
9
  import * as i1$7 from '@acorex/platform/layout/builder';
@@ -7,7 +11,7 @@ import { AXPWidgetComponent, AXPWidgetsCatalog, cloneProperty, AXP_WIDGETS_ACTIO
7
11
  import * as i1$3 from '@angular/common';
8
12
  import { CommonModule } from '@angular/common';
9
13
  import * as i0 from '@angular/core';
10
- import { computed, EventEmitter, Component, ChangeDetectionStrategy, inject, HostBinding, signal, ViewEncapsulation, ViewChild, effect, HostListener, NgModule } from '@angular/core';
14
+ import { computed, EventEmitter, Component, ChangeDetectionStrategy, inject, effect, HostBinding, signal, ViewEncapsulation, ViewChild, ChangeDetectorRef, HostListener, NgModule } from '@angular/core';
11
15
  import { AX_STYLE_COLOR_TYPES, AXDataSource, convertArrayToDataSource } from '@acorex/components/common';
12
16
  import * as i1 from '@acorex/components/check-box';
13
17
  import { AXCheckBoxModule } from '@acorex/components/check-box';
@@ -15,11 +19,6 @@ import * as i1$1 from '@angular/forms';
15
19
  import { FormsModule } from '@angular/forms';
16
20
  import * as i2 from '@acorex/components/label';
17
21
  import { AXLabelModule } from '@acorex/components/label';
18
- import * as i2$1 from '@acorex/components/badge';
19
- import { AXBadgeModule } from '@acorex/components/badge';
20
- import * as i3 from '@acorex/components/decorators';
21
- import { AXDecoratorModule } from '@acorex/components/decorators';
22
- import { AXPClipBoardService } from '@acorex/platform/common';
23
22
  import * as i4$1 from '@acorex/components/form';
24
23
  import { AXFormModule } from '@acorex/components/form';
25
24
  import { AXPopupService } from '@acorex/components/popup';
@@ -31,6 +30,7 @@ import * as i1$2 from '@acorex/core/translation';
31
30
  import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
32
31
  import { AXValidationModule, AXValidationService } from '@acorex/core/validation';
33
32
  import { AXBasePageComponent } from '@acorex/components/page';
33
+ import { AXPClipBoardService } from '@acorex/platform/common';
34
34
  import { AXDateTimeFormatter } from '@acorex/core/date-time';
35
35
  import * as i3$2 from '@acorex/components/datetime-box';
36
36
  import { AXDateTimeBoxModule } from '@acorex/components/datetime-box';
@@ -59,12 +59,12 @@ import { AXImageModule } from '@acorex/components/image';
59
59
  import * as i1$6 from '@acorex/components/map';
60
60
  import { AXMapModule } from '@acorex/components/map';
61
61
  import { AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent, AXPDesignerService, AXPDesignerGridDrawerComponent } from '@acorex/platform/layout/designer';
62
- import * as i2$5 from '@acorex/components/color-box';
63
- import { AXColorBoxModule } from '@acorex/components/color-box';
64
- import { DomSanitizer } from '@angular/platform-browser';
65
62
  import * as i1$8 from '@acorex/components/qrcode';
66
63
  import { AXQrcodeModule } from '@acorex/components/qrcode';
67
64
  import { AXColorUtil } from '@acorex/core/utils';
65
+ import * as i2$5 from '@acorex/components/color-box';
66
+ import { AXColorBoxModule } from '@acorex/components/color-box';
67
+ import { DomSanitizer } from '@angular/platform-browser';
68
68
 
69
69
  class AXPButtonWidgetViewComponent extends AXPWidgetComponent {
70
70
  constructor() {
@@ -73,7 +73,8 @@ class AXPButtonWidgetViewComponent extends AXPWidgetComponent {
73
73
  this.color = computed(() => this.options()['color']?.id ?? 'primary');
74
74
  this.look = computed(() => this.options()['look']?.id ?? 'solid');
75
75
  this.text = computed(() => this.options()['text']);
76
- this.loading = computed(() => this.options()['loading']);
76
+ this.loading = computed(() => this.options()['loading'] ?? false);
77
+ this.icon = computed(() => this.options()['icon']);
77
78
  this.onClick = new EventEmitter();
78
79
  }
79
80
  handleClick(e) {
@@ -85,28 +86,40 @@ class AXPButtonWidgetViewComponent extends AXPWidgetComponent {
85
86
  };
86
87
  }
87
88
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPButtonWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
88
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPButtonWidgetViewComponent, isStandalone: true, selector: "axp_button_widget", usesInheritance: true, ngImport: i0, template: `
89
- <ax-button (onClick)="handleClick($event)" [disabled]="disabled()" [color]="color()" [look]="look()" [text]="text()">
90
- @if(loading()){
89
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPButtonWidgetViewComponent, isStandalone: true, selector: "axp-button-widget", usesInheritance: true, ngImport: i0, template: `
90
+ <ax-button [disabled]="disabled()" [color]="color()" [look]="look()" [text]="text()">
91
+ @if(icon() && text()){
92
+ <ax-prefix
93
+ ><ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon
94
+ ></ax-prefix>
95
+ } @else if(icon() && !text()) {
96
+ <ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon>
97
+ } @if(loading()){
91
98
  <ax-loading> </ax-loading>
92
99
  }
93
100
  </ax-button>
94
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
101
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { 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-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXBadgeModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
95
102
  }
96
103
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPButtonWidgetViewComponent, decorators: [{
97
104
  type: Component,
98
105
  args: [{
99
- selector: 'axp_button_widget',
106
+ selector: 'axp-button-widget',
100
107
  template: `
101
- <ax-button (onClick)="handleClick($event)" [disabled]="disabled()" [color]="color()" [look]="look()" [text]="text()">
102
- @if(loading()){
108
+ <ax-button [disabled]="disabled()" [color]="color()" [look]="look()" [text]="text()">
109
+ @if(icon() && text()){
110
+ <ax-prefix
111
+ ><ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon
112
+ ></ax-prefix>
113
+ } @else if(icon() && !text()) {
114
+ <ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon>
115
+ } @if(loading()){
103
116
  <ax-loading> </ax-loading>
104
117
  }
105
118
  </ax-button>
106
119
  `,
107
120
  standalone: true,
108
121
  changeDetection: ChangeDetectionStrategy.OnPush,
109
- imports: [CommonModule, AXButtonModule, AXLoadingModule],
122
+ imports: [CommonModule, AXButtonModule, AXLoadingModule, AXDecoratorModule, AXBadgeModule],
110
123
  inputs: [],
111
124
  }]
112
125
  }] });
@@ -409,6 +422,34 @@ const AXP_HAS_ICON_PROPERTY = {
409
422
  },
410
423
  visible: true,
411
424
  };
425
+ const AXP_ICON_PROPERTY = {
426
+ name: 'icon',
427
+ title: 'Icon Name',
428
+ group: AXP_BEHAVIOR_PROPERTY_GROUP,
429
+ schema: {
430
+ dataType: 'string',
431
+ interface: {
432
+ name: 'icon',
433
+ path: 'options.icon',
434
+ type: AXPWidgetsCatalog.text,
435
+ },
436
+ },
437
+ visible: true,
438
+ };
439
+ const AXP_IS_LOADING_PROPERTY = {
440
+ name: 'loading',
441
+ title: 'Is Loading',
442
+ group: AXP_BEHAVIOR_PROPERTY_GROUP,
443
+ schema: {
444
+ dataType: 'boolean',
445
+ interface: {
446
+ name: 'loading',
447
+ path: 'options.loading',
448
+ type: AXPWidgetsCatalog.toggle,
449
+ },
450
+ },
451
+ visible: true,
452
+ };
412
453
  const AXP_HAS_CLEAR_BUTTON_PROPERTY = {
413
454
  name: 'hasClearButton',
414
455
  title: 'Clear Button',
@@ -661,7 +702,6 @@ function plainTextDefaultProperty() {
661
702
  group: AXP_DATA_PROPERTY_GROUP,
662
703
  schema: {
663
704
  dataType: 'string',
664
- defaultValue: 'Sample Text',
665
705
  interface: {
666
706
  name: 'defaultValue',
667
707
  path: 'defaultValue',
@@ -671,6 +711,38 @@ function plainTextDefaultProperty() {
671
711
  visible: true,
672
712
  };
673
713
  }
714
+ function largeTextDefaultProperty() {
715
+ return {
716
+ name: 'defaultValue',
717
+ title: 'Default Value',
718
+ group: AXP_DATA_PROPERTY_GROUP,
719
+ schema: {
720
+ dataType: 'string',
721
+ interface: {
722
+ name: 'defaultValue',
723
+ path: 'defaultValue',
724
+ type: AXPWidgetsCatalog.largeText,
725
+ },
726
+ },
727
+ visible: true,
728
+ };
729
+ }
730
+ function numberDefaultProperty() {
731
+ return {
732
+ name: 'defaultValue',
733
+ title: 'Default Value',
734
+ group: AXP_DATA_PROPERTY_GROUP,
735
+ schema: {
736
+ dataType: 'number',
737
+ interface: {
738
+ name: 'defaultValue',
739
+ path: 'defaultValue',
740
+ type: AXPWidgetsCatalog.number,
741
+ },
742
+ },
743
+ visible: true,
744
+ };
745
+ }
674
746
 
675
747
  const AXP_LAYOUT_GRID_PROPERTY_GROUP = {
676
748
  name: "grid",
@@ -947,7 +1019,7 @@ const AXP_TABLE_COLUMN_WIDTH_PROPERTY = {
947
1019
  group: AXP_STYLING_PROPERTY_GROUP,
948
1020
  schema: {
949
1021
  dataType: 'string',
950
- defaultValue: '200px',
1022
+ defaultValue: '300px',
951
1023
  interface: {
952
1024
  name: 'width',
953
1025
  path: 'options.width',
@@ -956,6 +1028,21 @@ const AXP_TABLE_COLUMN_WIDTH_PROPERTY = {
956
1028
  },
957
1029
  visible: false,
958
1030
  };
1031
+ const AXP_TABLE_COLUMN_HEIGHT_PROPERTY = {
1032
+ name: 'height',
1033
+ title: 'Height',
1034
+ group: AXP_STYLING_PROPERTY_GROUP,
1035
+ schema: {
1036
+ dataType: 'string',
1037
+ defaultValue: '300px',
1038
+ interface: {
1039
+ name: 'height',
1040
+ path: 'options.height',
1041
+ type: AXPWidgetsCatalog.text,
1042
+ },
1043
+ },
1044
+ visible: false,
1045
+ };
959
1046
 
960
1047
  const AXPButtonWidget = {
961
1048
  name: 'button-action',
@@ -969,10 +1056,12 @@ const AXPButtonWidget = {
969
1056
  cloneProperty(AXP_TEXT_PROPERTY, { schema: { defaultValue: 'Click Here' } }),
970
1057
  AXP_STYLE_COLOR_PROPERTY,
971
1058
  AXP_STYLE_LOOK_PROPERTY,
1059
+ AXP_ICON_PROPERTY,
1060
+ AXP_IS_LOADING_PROPERTY
972
1061
  ],
973
1062
  components: {
974
1063
  designer: {
975
- component: () => import('./acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs').then((c) => c.AXPButtonWidgetDesignerComponent),
1064
+ component: () => import('./acorex-platform-widgets-button-widget-designer.component-Oxpdaz9P.mjs').then((c) => c.AXPButtonWidgetDesignerComponent),
976
1065
  },
977
1066
  view: {
978
1067
  component: () => Promise.resolve().then(function () { return buttonWidgetView_component; }).then((c) => c.AXPButtonWidgetViewComponent),
@@ -1056,7 +1145,7 @@ const AXPCheckBoxWidget = {
1056
1145
  component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
1057
1146
  },
1058
1147
  column: {
1059
- component: () => import('./acorex-platform-widgets-checkbox-widget-column.component-BzNhzB9y.mjs').then((c) => c.AXPCheckBoxWidgetColumnComponent),
1148
+ component: () => import('./acorex-platform-widgets-checkbox-widget-column.component-j1jG8pCr.mjs').then((c) => c.AXPCheckBoxWidgetColumnComponent),
1060
1149
  },
1061
1150
  filter: {
1062
1151
  component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
@@ -1064,121 +1153,41 @@ const AXPCheckBoxWidget = {
1064
1153
  },
1065
1154
  };
1066
1155
 
1067
- class AXPContactWidgetViewComponent extends AXPWidgetComponent {
1156
+ class AXPContactWidgetColumnComponent extends AXPColumnWidgetComponent {
1068
1157
  constructor() {
1069
1158
  super(...arguments);
1070
- this.type = computed(() => this.options()['type']);
1071
- this.labelList = computed(() => this.options()['labelList'] || ['primary', 'secondary', 'Add New']);
1072
- this.hasLabel = computed(() => this.options()['hasLabel']);
1073
- this.multiple = computed(() => this.options()['multiple']);
1074
- this.hasIcon = computed(() => this.options()['hasIcon']);
1075
- this.internalValue = computed(() => this.valueToArray());
1076
- this.clipboard = inject(AXPClipBoardService);
1077
- this.chooseIcon = () => {
1078
- switch (this.type()) {
1079
- case 'email':
1080
- return 'fa-envelope';
1081
- case 'link':
1082
- return 'fa-link';
1083
- case 'phone':
1084
- return 'fa-phone';
1085
- default:
1086
- return 'fa-info';
1087
- }
1088
- };
1089
- this.itemToArray = (item) => {
1159
+ this.itemToValue = (item) => {
1090
1160
  if (typeof item === 'object')
1091
- return {
1092
- value: item?.value ?? '',
1093
- label: this.hasLabel() ? item?.label || this.labelList()[0] : undefined,
1094
- icon: this.hasIcon() ? item?.icon || this.chooseIcon() : undefined,
1095
- };
1161
+ return item?.value ?? '';
1096
1162
  else
1097
- return {
1098
- value: item,
1099
- label: this.hasLabel() ? this.labelList()[0] : undefined,
1100
- icon: this.hasIcon() ? this.chooseIcon() : undefined,
1101
- };
1163
+ return item;
1102
1164
  };
1103
1165
  }
1104
- valueToArray() {
1105
- const value = this.getValue();
1106
- if (Array.isArray(value)) {
1107
- return value.map((item) => this.itemToArray(item));
1108
- }
1166
+ getText(seperator) {
1167
+ const sep = seperator === 'comma' ? ',' : '\\n';
1168
+ if (typeof this.rawValue === 'string')
1169
+ return this.rawValue;
1109
1170
  else {
1110
- return [this.itemToArray(value)];
1171
+ return this.rawValue?.map((item) => this.itemToValue(item)).join(sep);
1111
1172
  }
1112
1173
  }
1113
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1114
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPContactWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<div class="ax-grid ax-grid-cols-12 ax-gap-1 ax-justify-center ax-items-center ax-group">
1115
- @for(item of internalValue();track $index){ @if(item){ @if(hasIcon()){
1116
- <ax-icon class="ax-col-start-1 ax-col-end-2 fa-solid ax-text-neutral-400" [class]="chooseIcon()"> </ax-icon>
1117
- } @let href = type() === 'link' ? item.value : type()==='phone'? 'tel:'+item.value : 'mailto:'+ item.value ;
1118
- <div class="ax-col-start-2 ax-col-end-9">
1119
- <a
1120
- [href]="href"
1121
- [target]="'_blank'"
1122
- class="ax-text-blue-700 group-hover:!ax-text-primary-500 group-hover:ax-underline group-hover:ax-decoration-blue-700"
1123
- >{{ item.value }}</a
1124
- >
1125
- <span
1126
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
1127
- (click)="clipboard.copy('Email', item.value)"
1128
- >
1129
- <i class="fa-solid fa-copy "></i>
1130
- </span>
1131
- </div>
1132
- @if(hasLabel()){
1133
- <ax-badge
1134
- class="ax-col-start-10 ax-col-end-12 ax-flex ax-justify-center ax-items-center"
1135
- color="primary"
1136
- [look]="'twotone'"
1137
- [text]="item.label ?? ''"
1138
- ></ax-badge>
1139
- } }}
1140
- </div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1174
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1175
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPContactWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `<span class="ax-truncate" [title]="getText('line')">{{ getText('comma') }}</span>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1141
1176
  }
1142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetViewComponent, decorators: [{
1177
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetColumnComponent, decorators: [{
1143
1178
  type: Component,
1144
1179
  args: [{
1145
- template: `<div class="ax-grid ax-grid-cols-12 ax-gap-1 ax-justify-center ax-items-center ax-group">
1146
- @for(item of internalValue();track $index){ @if(item){ @if(hasIcon()){
1147
- <ax-icon class="ax-col-start-1 ax-col-end-2 fa-solid ax-text-neutral-400" [class]="chooseIcon()"> </ax-icon>
1148
- } @let href = type() === 'link' ? item.value : type()==='phone'? 'tel:'+item.value : 'mailto:'+ item.value ;
1149
- <div class="ax-col-start-2 ax-col-end-9">
1150
- <a
1151
- [href]="href"
1152
- [target]="'_blank'"
1153
- class="ax-text-blue-700 group-hover:!ax-text-primary-500 group-hover:ax-underline group-hover:ax-decoration-blue-700"
1154
- >{{ item.value }}</a
1155
- >
1156
- <span
1157
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
1158
- (click)="clipboard.copy('Email', item.value)"
1159
- >
1160
- <i class="fa-solid fa-copy "></i>
1161
- </span>
1162
- </div>
1163
- @if(hasLabel()){
1164
- <ax-badge
1165
- class="ax-col-start-10 ax-col-end-12 ax-flex ax-justify-center ax-items-center"
1166
- color="primary"
1167
- [look]="'twotone'"
1168
- [text]="item.label ?? ''"
1169
- ></ax-badge>
1170
- } }}
1171
- </div> `,
1180
+ template: `<span class="ax-truncate" [title]="getText('line')">{{ getText('comma') }}</span>`,
1172
1181
  standalone: true,
1173
1182
  changeDetection: ChangeDetectionStrategy.OnPush,
1174
- imports: [CommonModule, FormsModule, AXBadgeModule, AXDecoratorModule],
1175
- inputs: [],
1183
+ imports: [CommonModule],
1184
+ inputs: ['rawValue'],
1176
1185
  }]
1177
1186
  }] });
1178
1187
 
1179
- var contactWidgetView_component = /*#__PURE__*/Object.freeze({
1188
+ var contactWidgetColumn_component = /*#__PURE__*/Object.freeze({
1180
1189
  __proto__: null,
1181
- AXPContactWidgetViewComponent: AXPContactWidgetViewComponent
1190
+ AXPContactWidgetColumnComponent: AXPContactWidgetColumnComponent
1182
1191
  });
1183
1192
 
1184
1193
  class popupComponent extends AXBasePageComponent {
@@ -1243,10 +1252,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1243
1252
 
1244
1253
  class AXPContactWidgetEditComponent extends AXPWidgetComponent {
1245
1254
  constructor() {
1246
- super(...arguments);
1255
+ super();
1247
1256
  //properties
1248
- this.type = computed(() => this.options()['type']);
1249
- this.labelList = computed(() => this.options()['labelList'] || ['primary', 'secondary', 'new']);
1257
+ this.type = computed(() => this.options()['type']?.id ?? 'email');
1258
+ this.labelList = computed(() => this.options()['labelList'] || ['primary', 'secondary', 'Add New']);
1250
1259
  this.hasLabel = computed(() => this.options()['hasLabel']);
1251
1260
  this.multiple = computed(() => this.options()['multiple']);
1252
1261
  this.hasIcon = computed(() => this.options()['hasIcon']);
@@ -1293,6 +1302,7 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
1293
1302
  return 'fa-info';
1294
1303
  }
1295
1304
  };
1305
+ effect(() => console.log(this.type()));
1296
1306
  }
1297
1307
  addItem() {
1298
1308
  const newValues = [...this.internalValue(), this.emptyValue()];
@@ -1324,12 +1334,12 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
1324
1334
  this.dataSource.refresh();
1325
1335
  }
1326
1336
  }
1337
+ const newValues = this.internalValue().map((item, index) => selectedIndex === index ? { ...item, [name]: value } : item);
1338
+ if (this.multiple())
1339
+ this.setValue(newValues);
1340
+ else
1341
+ this.setValue(newValues[0]);
1327
1342
  }
1328
- const newValues = this.internalValue().map((item, index) => (selectedIndex === index ? { ...item, [name]: value } : item));
1329
- if (this.multiple())
1330
- this.setValue(newValues);
1331
- else
1332
- this.setValue(newValues[0]);
1333
1343
  }
1334
1344
  generateClasses(element) {
1335
1345
  if (this.multiple()) {
@@ -1338,7 +1348,7 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
1338
1348
  return 'ax-col-start-1 ax-col-end-13 lg:ax-col-end-7';
1339
1349
  }
1340
1350
  else {
1341
- return 'ax-col-start-1 ax-col-end-12 lg:ax-col-start-7 lg:ax-col-end-12';
1351
+ return 'ax-col-start-1 ax-col-end-11 lg:ax-col-start-7 lg:ax-col-end-12 ';
1342
1352
  }
1343
1353
  }
1344
1354
  else {
@@ -1389,7 +1399,7 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
1389
1399
  cls[`ax-flex-1`] = true;
1390
1400
  return cls;
1391
1401
  }
1392
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1402
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1393
1403
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPContactWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `<div class="lg:ax-grid lg:ax-grid-cols-12 lg:ax-gap-4">
1394
1404
  @for(item of internalValue();track $index) {
1395
1405
  <ax-text-box
@@ -1402,7 +1412,11 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
1402
1412
  [disabled]="disabled()"
1403
1413
  >
1404
1414
  @for (validation of validationRules; track $index) {
1405
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
1415
+ <ax-validation-rule
1416
+ [rule]="validation.rule"
1417
+ [message]="validation.options?.message"
1418
+ [options]="validation.options"
1419
+ ></ax-validation-rule>
1406
1420
  }
1407
1421
  <ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
1408
1422
  </ax-text-box>
@@ -1437,7 +1451,7 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
1437
1451
  [disabled]="disabled()"
1438
1452
  look="twotone"
1439
1453
  (onClick)="addItem()"
1440
- class="sm:ax-col-start-8 lg:ax-col-start-7 xl:ax-col-start-11 sm:ax-col-end-13"
1454
+ class="ax-col-start-6 ax-col-end-13 lg:ax-col-start-8 xl:ax-col-start-10 "
1441
1455
  >
1442
1456
  <ax-prefix>
1443
1457
  <ax-icon class="fa-solid fa-add"></ax-icon>
@@ -1461,7 +1475,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1461
1475
  [disabled]="disabled()"
1462
1476
  >
1463
1477
  @for (validation of validationRules; track $index) {
1464
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
1478
+ <ax-validation-rule
1479
+ [rule]="validation.rule"
1480
+ [message]="validation.options?.message"
1481
+ [options]="validation.options"
1482
+ ></ax-validation-rule>
1465
1483
  }
1466
1484
  <ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
1467
1485
  </ax-text-box>
@@ -1496,7 +1514,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1496
1514
  [disabled]="disabled()"
1497
1515
  look="twotone"
1498
1516
  (onClick)="addItem()"
1499
- class="sm:ax-col-start-8 lg:ax-col-start-7 xl:ax-col-start-11 sm:ax-col-end-13"
1517
+ class="ax-col-start-6 ax-col-end-13 lg:ax-col-start-8 xl:ax-col-start-10 "
1500
1518
  >
1501
1519
  <ax-prefix>
1502
1520
  <ax-icon class="fa-solid fa-add"></ax-icon>
@@ -1520,7 +1538,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1520
1538
  ],
1521
1539
  inputs: [],
1522
1540
  }]
1523
- }], propDecorators: { __class: [{
1541
+ }], ctorParameters: () => [], propDecorators: { __class: [{
1524
1542
  type: HostBinding,
1525
1543
  args: ['class']
1526
1544
  }] } });
@@ -1530,81 +1548,141 @@ var contactWidgetEdit_component = /*#__PURE__*/Object.freeze({
1530
1548
  AXPContactWidgetEditComponent: AXPContactWidgetEditComponent
1531
1549
  });
1532
1550
 
1533
- class AXPContactWidgetFilterComponent extends AXPWidgetComponent {
1534
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1535
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPContactWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1551
+ class AXPContactWidgetPrintComponent extends AXPWidgetComponent {
1552
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1553
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPContactWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1536
1554
  }
1537
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetFilterComponent, decorators: [{
1555
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetPrintComponent, decorators: [{
1538
1556
  type: Component,
1539
1557
  args: [{
1540
1558
  template: ``,
1541
1559
  standalone: true,
1542
1560
  changeDetection: ChangeDetectionStrategy.OnPush,
1543
- imports: [CommonModule, FormsModule],
1561
+ imports: [CommonModule],
1544
1562
  inputs: []
1545
1563
  }]
1546
1564
  }] });
1547
1565
 
1548
- var contactWidgetFilter_component = /*#__PURE__*/Object.freeze({
1566
+ var contactWidgetPrint_component = /*#__PURE__*/Object.freeze({
1549
1567
  __proto__: null,
1550
- AXPContactWidgetFilterComponent: AXPContactWidgetFilterComponent
1568
+ AXPContactWidgetPrintComponent: AXPContactWidgetPrintComponent
1551
1569
  });
1552
1570
 
1553
- class AXPContactWidgetColumnComponent extends AXPColumnWidgetComponent {
1571
+ class AXPContactWidgetViewComponent extends AXPWidgetComponent {
1554
1572
  constructor() {
1555
1573
  super(...arguments);
1556
- this.itemToValue = (item) => {
1574
+ this.type = computed(() => this.options()['type'] ?? 'link');
1575
+ this.labelList = computed(() => this.options()['labelList'] ?? ['primary', 'secondary']);
1576
+ this.hasLabel = computed(() => this.options()['hasLabel'] ?? false);
1577
+ this.multiple = computed(() => this.options()['multiple'] ?? false);
1578
+ this.hasIcon = computed(() => this.options()['hasIcon'] ?? false);
1579
+ this.internalValue = computed(() => this.itemToArray());
1580
+ this.clipboard = inject(AXPClipBoardService);
1581
+ this.chooseIcon = () => {
1582
+ switch (this.type()) {
1583
+ case 'email':
1584
+ return 'fa-envelope';
1585
+ case 'link':
1586
+ return 'fa-link';
1587
+ case 'phone':
1588
+ return 'fa-phone';
1589
+ default:
1590
+ return 'fa-info';
1591
+ }
1592
+ };
1593
+ this.correctItems = (item) => {
1557
1594
  if (typeof item === 'object')
1558
- return item?.value ?? '';
1595
+ return {
1596
+ value: item?.value ?? '',
1597
+ label: this.hasLabel() ? item?.label || this.labelList()[0] : undefined,
1598
+ icon: this.hasIcon() ? item?.icon || this.chooseIcon() : undefined,
1599
+ };
1559
1600
  else
1560
- return item;
1601
+ return {
1602
+ value: item,
1603
+ label: this.hasLabel() ? this.labelList()[0] : undefined,
1604
+ icon: this.hasIcon() ? this.chooseIcon() : undefined,
1605
+ };
1561
1606
  };
1562
1607
  }
1563
- getText(seperator) {
1564
- const sep = seperator === 'comma' ? ',' : '\\n';
1565
- if (typeof this.rawValue === 'string')
1566
- return this.rawValue;
1608
+ itemToArray() {
1609
+ const value = this.getValue();
1610
+ if (Array.isArray(value)) {
1611
+ return value.map((item) => this.correctItems(item));
1612
+ }
1567
1613
  else {
1568
- return this.rawValue?.map((item) => this.itemToValue(item)).join(sep);
1614
+ return [this.correctItems(value)];
1569
1615
  }
1570
1616
  }
1571
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1572
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPContactWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `<span class="ax-truncate" [title]="getText('line')">{{ getText('comma') }}</span>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1573
- }
1574
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetColumnComponent, decorators: [{
1575
- type: Component,
1576
- args: [{
1577
- template: `<span class="ax-truncate" [title]="getText('line')">{{ getText('comma') }}</span>`,
1578
- standalone: true,
1579
- changeDetection: ChangeDetectionStrategy.OnPush,
1580
- imports: [CommonModule],
1581
- inputs: ['rawValue'],
1582
- }]
1583
- }] });
1584
-
1585
- var contactWidgetColumn_component = /*#__PURE__*/Object.freeze({
1586
- __proto__: null,
1587
- AXPContactWidgetColumnComponent: AXPContactWidgetColumnComponent
1588
- });
1589
-
1590
- class AXPContactWidgetPrintComponent extends AXPWidgetComponent {
1591
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1592
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPContactWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1617
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1618
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPContactWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
1619
+ @for(item of internalValue();track $index){ @let href = type() === 'link' ? item.value :
1620
+ type()==='phone'?'tel:'+item.value : 'mailto:'+ item.value ;
1621
+ <div class="ax-flex ax-gap-4 ax-items-center ax-justify-between ax-py-1">
1622
+ <div class="ax-flex ax-gap-4 ax-group ax-items-center ax-justify-center ax-truncate">
1623
+ @if(hasIcon()){
1624
+ <ax-icon class="fa-solid ax-text-neutral-400" [class]="chooseIcon()"> </ax-icon>
1625
+ }
1626
+ <a
1627
+ [href]="href"
1628
+ [target]="'_blank'"
1629
+ class="ax-truncate ax-text-blue-700 group-hover:!ax-text-primary-500 group-hover:ax-underline group-hover:ax-decoration-blue-700"
1630
+ >{{ item.value }}</a
1631
+ >
1632
+ <span
1633
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
1634
+ (click)="clipboard.copy(type(), item.value)"
1635
+ >
1636
+ <i class="fa-solid fa-copy"></i>
1637
+ </span>
1638
+ </div>
1639
+ @if(hasLabel()){
1640
+ <div><ax-badge color="primary" [look]="'twotone'" [text]="item.label ?? ''"></ax-badge></div>
1641
+ }
1642
+ </div>
1643
+ }
1644
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1593
1645
  }
1594
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetPrintComponent, decorators: [{
1646
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetViewComponent, decorators: [{
1595
1647
  type: Component,
1596
1648
  args: [{
1597
- template: ``,
1649
+ template: `
1650
+ @for(item of internalValue();track $index){ @let href = type() === 'link' ? item.value :
1651
+ type()==='phone'?'tel:'+item.value : 'mailto:'+ item.value ;
1652
+ <div class="ax-flex ax-gap-4 ax-items-center ax-justify-between ax-py-1">
1653
+ <div class="ax-flex ax-gap-4 ax-group ax-items-center ax-justify-center ax-truncate">
1654
+ @if(hasIcon()){
1655
+ <ax-icon class="fa-solid ax-text-neutral-400" [class]="chooseIcon()"> </ax-icon>
1656
+ }
1657
+ <a
1658
+ [href]="href"
1659
+ [target]="'_blank'"
1660
+ class="ax-truncate ax-text-blue-700 group-hover:!ax-text-primary-500 group-hover:ax-underline group-hover:ax-decoration-blue-700"
1661
+ >{{ item.value }}</a
1662
+ >
1663
+ <span
1664
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
1665
+ (click)="clipboard.copy(type(), item.value)"
1666
+ >
1667
+ <i class="fa-solid fa-copy"></i>
1668
+ </span>
1669
+ </div>
1670
+ @if(hasLabel()){
1671
+ <div><ax-badge color="primary" [look]="'twotone'" [text]="item.label ?? ''"></ax-badge></div>
1672
+ }
1673
+ </div>
1674
+ }
1675
+ `,
1598
1676
  standalone: true,
1599
1677
  changeDetection: ChangeDetectionStrategy.OnPush,
1600
- imports: [CommonModule],
1601
- inputs: []
1678
+ imports: [CommonModule, FormsModule, AXBadgeModule, AXDecoratorModule],
1679
+ inputs: [],
1602
1680
  }]
1603
1681
  }] });
1604
1682
 
1605
- var contactWidgetPrint_component = /*#__PURE__*/Object.freeze({
1683
+ var contactWidgetView_component = /*#__PURE__*/Object.freeze({
1606
1684
  __proto__: null,
1607
- AXPContactWidgetPrintComponent: AXPContactWidgetPrintComponent
1685
+ AXPContactWidgetViewComponent: AXPContactWidgetViewComponent
1608
1686
  });
1609
1687
 
1610
1688
  const AXPContactWidget = {
@@ -1617,12 +1695,13 @@ const AXPContactWidget = {
1617
1695
  properties: [
1618
1696
  {
1619
1697
  name: 'type',
1620
- title: 'Type',
1698
+ title: 'Contact Type',
1621
1699
  group: AXP_BEHAVIOR_PROPERTY_GROUP,
1622
1700
  schema: {
1623
1701
  dataType: 'string',
1624
1702
  nullable: false,
1625
1703
  interface: {
1704
+ defaultValue: { id: 'link', title: 'Link' },
1626
1705
  name: 'type',
1627
1706
  path: 'options.type',
1628
1707
  type: AXPWidgetsCatalog.select,
@@ -1652,7 +1731,6 @@ const AXPContactWidget = {
1652
1731
  dataSource: [
1653
1732
  { id: 'primary', title: 'Primary' },
1654
1733
  { id: 'secondary', title: 'Secondary' },
1655
- { id: 'new', title: 'New' },
1656
1734
  ],
1657
1735
  },
1658
1736
  },
@@ -1673,7 +1751,7 @@ const AXPContactWidget = {
1673
1751
  component: () => Promise.resolve().then(function () { return contactWidgetEdit_component; }).then((c) => c.AXPContactWidgetEditComponent),
1674
1752
  },
1675
1753
  filter: {
1676
- component: () => Promise.resolve().then(function () { return contactWidgetFilter_component; }).then((c) => c.AXPContactWidgetFilterComponent),
1754
+ component: () => import('./acorex-platform-widgets-contact-widget-filter.component-GTwK51nJ.mjs').then((c) => c.AXPContactWidgetFilterComponent),
1677
1755
  },
1678
1756
  column: {
1679
1757
  component: () => Promise.resolve().then(function () { return contactWidgetColumn_component; }).then((c) => c.AXPContactWidgetColumnComponent),
@@ -1691,9 +1769,11 @@ class AXPDateTimeBoxWidgetViewComponent extends AXPWidgetComponent {
1691
1769
  constructor() {
1692
1770
  super(...arguments);
1693
1771
  this.formatter = inject(AXDateTimeFormatter);
1694
- this.multiple = computed(() => this.options()["multiple"]);
1695
- this.format = computed(() => this.options()["format"]['id']);
1696
- this.internalValue = computed(() => Array.isArray(this.getValue()) ? this.getValue().map((v) => this.handleFormat(v)) : [this.handleFormat(this.getValue())]);
1772
+ this.multiple = computed(() => this.options()['multiple']);
1773
+ this.format = computed(() => this.options()['format']['id']);
1774
+ this.internalValue = computed(() => Array.isArray(this.getValue())
1775
+ ? this.getValue().map((v) => this.handleFormat(v))
1776
+ : [this.handleFormat(this.getValue())]);
1697
1777
  }
1698
1778
  handleFormat(value) {
1699
1779
  return value ? this.formatter.format(new Date(value), { format: this.format() }) : '---';
@@ -1701,14 +1781,10 @@ class AXPDateTimeBoxWidgetViewComponent extends AXPWidgetComponent {
1701
1781
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1702
1782
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDateTimeBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
1703
1783
  <div>
1704
- @if(multiple()){
1705
- @for (item of internalValue(); track $index) {
1706
- <p>{{ item }}</p>
1707
- }
1708
- }
1709
- @else
1710
- {
1711
- <p>{{ internalValue()[0] }}</p>
1784
+ @if(multiple()){ @for (item of internalValue(); track $index) {
1785
+ <p>{{ item }}</p>
1786
+ } } @else {
1787
+ <p>{{ internalValue()[0] }}</p>
1712
1788
  }
1713
1789
  </div>
1714
1790
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -1718,14 +1794,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1718
1794
  args: [{
1719
1795
  template: `
1720
1796
  <div>
1721
- @if(multiple()){
1722
- @for (item of internalValue(); track $index) {
1723
- <p>{{ item }}</p>
1724
- }
1725
- }
1726
- @else
1727
- {
1728
- <p>{{ internalValue()[0] }}</p>
1797
+ @if(multiple()){ @for (item of internalValue(); track $index) {
1798
+ <p>{{ item }}</p>
1799
+ } } @else {
1800
+ <p>{{ internalValue()[0] }}</p>
1729
1801
  }
1730
1802
  </div>
1731
1803
  `,
@@ -1745,11 +1817,12 @@ class AXPDateTimeBoxWidgetEditComponent extends AXPWidgetComponent {
1745
1817
  constructor() {
1746
1818
  super(...arguments);
1747
1819
  this.validationService = inject(AXValidationService);
1748
- this.multiple = computed(() => this.options()["multiple"]);
1749
- this.clearButton = computed(() => this.options()["clearButton"]);
1750
- this.format = computed(() => this.options()["format"]?.['id']);
1751
- this.disabled = computed(() => this.options()["disabled"]);
1752
- this.internalValue = computed(() => (Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]));
1820
+ this.multiple = computed(() => this.options()['multiple']);
1821
+ this.clearButton = computed(() => this.options()['clearButton']);
1822
+ this.format = computed(() => this.options()['format']?.['id']);
1823
+ this.disabled = computed(() => this.options()['disabled']);
1824
+ this.placeholder = computed(() => this.options()['placeholder']);
1825
+ this.internalValue = computed(() => Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]);
1753
1826
  this._validationRules = [];
1754
1827
  this.calendarFormat = computed(() => {
1755
1828
  if (this.format() === 'date')
@@ -1799,26 +1872,32 @@ class AXPDateTimeBoxWidgetEditComponent extends AXPWidgetComponent {
1799
1872
  (onValueChanged)="handleValueChange($event, $index)"
1800
1873
  [disabled]="disabled()"
1801
1874
  [format]="calendarFormat()"
1875
+ [placeholder]="placeholder()"
1802
1876
  >
1803
- @for (validation of validationRules; track $index)
1804
- {
1805
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
1806
- }
1807
- @if(clearButton()){
1808
- <ax-clear-button></ax-clear-button>
1809
- }
1810
- @if(multiple())
1811
- {
1812
- <ax-suffix>
1813
- <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
1814
- <ax-icon class="far fa-trash"> </ax-icon>
1815
- </ax-button>
1816
- </ax-suffix>
1877
+ @for (validation of validationRules; track $index) {
1878
+ <ax-validation-rule
1879
+ [rule]="validation.rule"
1880
+ [message]="validation.options?.message"
1881
+ [options]="validation.options"
1882
+ ></ax-validation-rule>
1883
+ } @if(clearButton()){
1884
+ <ax-clear-button></ax-clear-button>
1885
+ } @if(multiple()) {
1886
+ <ax-suffix>
1887
+ <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
1888
+ <ax-icon class="far fa-trash"> </ax-icon>
1889
+ </ax-button>
1890
+ </ax-suffix>
1817
1891
  }
1818
1892
  </ax-datetime-box>
1819
- }
1820
- @if(multiple()){
1821
- <ax-button class="ax-col-span-2" [text]="!internalValue().length ? 'Add New' : 'Add Another'" look="twotone" (onClick)="addItem()" [disabled]="disabled()"></ax-button>
1893
+ } @if(multiple()){
1894
+ <ax-button
1895
+ class="ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-11 ax-col-end-13"
1896
+ [text]="!internalValue().length ? 'Add New' : 'Add Another'"
1897
+ look="twotone"
1898
+ (onClick)="addItem()"
1899
+ [disabled]="disabled()"
1900
+ ></ax-button>
1822
1901
  }
1823
1902
  </div>
1824
1903
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3$2.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", 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-sub-title, ax-placeholder, ax-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -1835,32 +1914,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1835
1914
  (onValueChanged)="handleValueChange($event, $index)"
1836
1915
  [disabled]="disabled()"
1837
1916
  [format]="calendarFormat()"
1917
+ [placeholder]="placeholder()"
1838
1918
  >
1839
- @for (validation of validationRules; track $index)
1840
- {
1841
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
1842
- }
1843
- @if(clearButton()){
1844
- <ax-clear-button></ax-clear-button>
1845
- }
1846
- @if(multiple())
1847
- {
1848
- <ax-suffix>
1849
- <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
1850
- <ax-icon class="far fa-trash"> </ax-icon>
1851
- </ax-button>
1852
- </ax-suffix>
1919
+ @for (validation of validationRules; track $index) {
1920
+ <ax-validation-rule
1921
+ [rule]="validation.rule"
1922
+ [message]="validation.options?.message"
1923
+ [options]="validation.options"
1924
+ ></ax-validation-rule>
1925
+ } @if(clearButton()){
1926
+ <ax-clear-button></ax-clear-button>
1927
+ } @if(multiple()) {
1928
+ <ax-suffix>
1929
+ <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
1930
+ <ax-icon class="far fa-trash"> </ax-icon>
1931
+ </ax-button>
1932
+ </ax-suffix>
1853
1933
  }
1854
1934
  </ax-datetime-box>
1855
- }
1856
- @if(multiple()){
1857
- <ax-button class="ax-col-span-2" [text]="!internalValue().length ? 'Add New' : 'Add Another'" look="twotone" (onClick)="addItem()" [disabled]="disabled()"></ax-button>
1935
+ } @if(multiple()){
1936
+ <ax-button
1937
+ class="ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-11 ax-col-end-13"
1938
+ [text]="!internalValue().length ? 'Add New' : 'Add Another'"
1939
+ look="twotone"
1940
+ (onClick)="addItem()"
1941
+ [disabled]="disabled()"
1942
+ ></ax-button>
1858
1943
  }
1859
1944
  </div>
1860
1945
  `,
1861
1946
  standalone: true,
1862
1947
  changeDetection: ChangeDetectionStrategy.OnPush,
1863
- imports: [CommonModule, FormsModule, AXFormModule, AXValidationModule, AXDateTimeBoxModule, AXButtonModule, AXDecoratorModule, AXValidationModule],
1948
+ imports: [
1949
+ CommonModule,
1950
+ FormsModule,
1951
+ AXFormModule,
1952
+ AXValidationModule,
1953
+ AXDateTimeBoxModule,
1954
+ AXButtonModule,
1955
+ AXDecoratorModule,
1956
+ AXValidationModule,
1957
+ ],
1864
1958
  inputs: [],
1865
1959
  }]
1866
1960
  }], propDecorators: { __class: [{
@@ -2671,7 +2765,8 @@ const AXPLargeTextWidget = {
2671
2765
  AXP_DISABLED_PROPERTY,
2672
2766
  AXP_VALIDATION_PROPERTY,
2673
2767
  AXP_PLACEHOLDER_PROPERTY,
2674
- cloneProperty(AXP_TABLE_COLUMN_WIDTH_PROPERTY, { schema: { defaultValue: '300px' } }),
2768
+ largeTextDefaultProperty(),
2769
+ //cloneProperty(AXP_TABLE_COLUMN_WIDTH_PROPERTY, { schema: { defaultValue: '300px' } }),
2675
2770
  ],
2676
2771
  components: {
2677
2772
  view: {
@@ -3289,8 +3384,8 @@ class AXPNumberBoxWidgetViewComponent extends AXPWidgetComponent {
3289
3384
  constructor() {
3290
3385
  super(...arguments);
3291
3386
  this.internalValue = computed(() => (Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]));
3292
- this.multiple = computed(() => this.options()["multiple"]);
3293
- this.format = computed(() => this.options()["format"]);
3387
+ this.multiple = computed(() => this.options()['multiple']);
3388
+ this.format = computed(() => this.options()['format']);
3294
3389
  this.formatService = inject(AXFormatService);
3295
3390
  }
3296
3391
  getValue() {
@@ -3302,13 +3397,10 @@ class AXPNumberBoxWidgetViewComponent extends AXPWidgetComponent {
3302
3397
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPNumberBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3303
3398
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPNumberBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
3304
3399
  <div>
3305
- @if(multiple()){
3306
- @for (item of internalValue(); track $index) {
3307
- <p>{{ item }}</p>
3308
- }
3309
- }@else
3310
- {
3311
- <p>{{ internalValue()[0] }}</p>
3400
+ @if(multiple()){ @for (item of internalValue(); track $index) {
3401
+ <p>{{ item }}</p>
3402
+ } }@else {
3403
+ <p>{{ internalValue()[0] }}</p>
3312
3404
  }
3313
3405
  </div>
3314
3406
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -3318,13 +3410,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3318
3410
  args: [{
3319
3411
  template: `
3320
3412
  <div>
3321
- @if(multiple()){
3322
- @for (item of internalValue(); track $index) {
3323
- <p>{{ item }}</p>
3324
- }
3325
- }@else
3326
- {
3327
- <p>{{ internalValue()[0] }}</p>
3413
+ @if(multiple()){ @for (item of internalValue(); track $index) {
3414
+ <p>{{ item }}</p>
3415
+ } }@else {
3416
+ <p>{{ internalValue()[0] }}</p>
3328
3417
  }
3329
3418
  </div>
3330
3419
  `,
@@ -3343,16 +3432,16 @@ var numberBoxWidgetView_component = /*#__PURE__*/Object.freeze({
3343
3432
  class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent {
3344
3433
  constructor() {
3345
3434
  super(...arguments);
3346
- this.disabled = computed(() => this.options()["disabled"]);
3347
- this.multiple = computed(() => this.options()["multiple"]);
3348
- this.clearButton = computed(() => this.options()["hasClearButton"] ?? true);
3349
- this.decimals = computed(() => this.options()["decimals"] ?? 0);
3350
- this.minValue = computed(() => this.options()["minValue"]);
3351
- this.maxValue = computed(() => this.options()["maxValue"]);
3352
- this.placeholder = computed(() => this.options()["placeholder"]);
3435
+ this.disabled = computed(() => this.options()['disabled']);
3436
+ this.multiple = computed(() => this.options()['multiple']);
3437
+ this.clearButton = computed(() => this.options()['hasClearButton'] ?? true);
3438
+ this.decimals = computed(() => this.options()['decimals'] ?? 0);
3439
+ this.minValue = computed(() => this.options()['minValue']);
3440
+ this.maxValue = computed(() => this.options()['maxValue']);
3441
+ this.placeholder = computed(() => this.options()['placeholder']);
3353
3442
  this.validationService = inject(AXValidationService);
3354
3443
  this.validationRules = [];
3355
- this.internalValue = computed(() => (Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]));
3444
+ this.internalValue = computed(() => Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]);
3356
3445
  this.validateFn = async (value, options) => {
3357
3446
  const vn = this.validationService.ruleFor(value);
3358
3447
  this.validationRules.forEach((v) => {
@@ -3405,32 +3494,28 @@ class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent {
3405
3494
  [disabled]="disabled()"
3406
3495
  >
3407
3496
  <ax-validation-rule rule="callback" [options]="{ validate: validateFn }"></ax-validation-rule>
3408
- @if(clearButton())
3409
- {
3410
- <ax-clear-button></ax-clear-button>
3411
- }
3412
- @if(multiple()){
3413
- <ax-suffix>
3414
- <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
3415
- <ax-icon class="far fa-trash"> </ax-icon>
3416
- </ax-button>
3417
- </ax-suffix>
3497
+ @if(clearButton()) {
3498
+ <ax-clear-button></ax-clear-button>
3499
+ } @if(multiple()){
3500
+ <ax-suffix>
3501
+ <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
3502
+ <ax-icon class="far fa-trash"> </ax-icon>
3503
+ </ax-button>
3504
+ </ax-suffix>
3418
3505
  }
3419
3506
  </ax-number-box>
3420
- }
3421
- @if(multiple())
3422
- {
3423
- <ax-button
3424
- [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3425
- [disabled]="disabled()"
3426
- look="twotone"
3427
- (onClick)="addItem()"
3428
- class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3429
- >
3430
- <ax-prefix>
3431
- <ax-icon class="fa-solid fa-add"></ax-icon>
3432
- </ax-prefix>
3433
- </ax-button>
3507
+ } @if(multiple()) {
3508
+ <ax-button
3509
+ [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3510
+ [disabled]="disabled()"
3511
+ look="twotone"
3512
+ (onClick)="addItem()"
3513
+ class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3514
+ >
3515
+ <ax-prefix>
3516
+ <ax-icon class="fa-solid fa-add"></ax-icon>
3517
+ </ax-prefix>
3518
+ </ax-button>
3434
3519
  }
3435
3520
  </div>
3436
3521
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$4.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "hasWheel", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", 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-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -3453,32 +3538,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3453
3538
  [disabled]="disabled()"
3454
3539
  >
3455
3540
  <ax-validation-rule rule="callback" [options]="{ validate: validateFn }"></ax-validation-rule>
3456
- @if(clearButton())
3457
- {
3458
- <ax-clear-button></ax-clear-button>
3459
- }
3460
- @if(multiple()){
3461
- <ax-suffix>
3462
- <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
3463
- <ax-icon class="far fa-trash"> </ax-icon>
3464
- </ax-button>
3465
- </ax-suffix>
3541
+ @if(clearButton()) {
3542
+ <ax-clear-button></ax-clear-button>
3543
+ } @if(multiple()){
3544
+ <ax-suffix>
3545
+ <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
3546
+ <ax-icon class="far fa-trash"> </ax-icon>
3547
+ </ax-button>
3548
+ </ax-suffix>
3466
3549
  }
3467
3550
  </ax-number-box>
3468
- }
3469
- @if(multiple())
3470
- {
3471
- <ax-button
3472
- [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3473
- [disabled]="disabled()"
3474
- look="twotone"
3475
- (onClick)="addItem()"
3476
- class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3477
- >
3478
- <ax-prefix>
3479
- <ax-icon class="fa-solid fa-add"></ax-icon>
3480
- </ax-prefix>
3481
- </ax-button>
3551
+ } @if(multiple()) {
3552
+ <ax-button
3553
+ [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3554
+ [disabled]="disabled()"
3555
+ look="twotone"
3556
+ (onClick)="addItem()"
3557
+ class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3558
+ >
3559
+ <ax-prefix>
3560
+ <ax-icon class="fa-solid fa-add"></ax-icon>
3561
+ </ax-prefix>
3562
+ </ax-button>
3482
3563
  }
3483
3564
  </div>
3484
3565
  `,
@@ -3587,6 +3668,7 @@ const AXPNumberBoxWidget = {
3587
3668
  AXP_DISABLED_PROPERTY,
3588
3669
  AXP_VALIDATION_PROPERTY,
3589
3670
  AXP_PLACEHOLDER_PROPERTY,
3671
+ numberDefaultProperty(),
3590
3672
  cloneProperty(AXP_TABLE_COLUMN_WIDTH_PROPERTY, { schema: { defaultValue: '200px' } }),
3591
3673
  ],
3592
3674
  components: {
@@ -3628,9 +3710,12 @@ class AXPPasswordBoxWidgetViewComponent extends AXPWidgetComponent {
3628
3710
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPasswordBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
3629
3711
  <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
3630
3712
  <div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
3631
- <span>{{ showPassword() ? internalValue() : '*******' }}</span>
3713
+ <span>{{ show() ? internalValue() : '*******' }}</span>
3632
3714
  @if(hasEyeIcon()){
3633
- <span class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500" (click)="toggleEye()">
3715
+ <span
3716
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
3717
+ (click)="toggleEye()"
3718
+ >
3634
3719
  @if(!showPassword()){
3635
3720
  <i class="fa-solid fa-eye"></i>
3636
3721
  }@else {
@@ -3655,9 +3740,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3655
3740
  template: `
3656
3741
  <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
3657
3742
  <div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
3658
- <span>{{ showPassword() ? internalValue() : '*******' }}</span>
3743
+ <span>{{ show() ? internalValue() : '*******' }}</span>
3659
3744
  @if(hasEyeIcon()){
3660
- <span class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500" (click)="toggleEye()">
3745
+ <span
3746
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
3747
+ (click)="toggleEye()"
3748
+ >
3661
3749
  @if(!showPassword()){
3662
3750
  <i class="fa-solid fa-eye"></i>
3663
3751
  }@else {
@@ -3755,18 +3843,55 @@ var passwordBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
3755
3843
  AXPPasswordBoxWidgetFilterComponent: AXPPasswordBoxWidgetFilterComponent
3756
3844
  });
3757
3845
 
3758
- class AXPPasswordBoxWidgetColumnComponent extends AXPWidgetComponent {
3846
+ class AXPPasswordBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
3847
+ constructor() {
3848
+ super(...arguments);
3849
+ this.hasEyeIcon = this.options['hasEyeIcon'];
3850
+ this.showPassword = this.options['showPassword'];
3851
+ this.show = signal(!!this.rawValue);
3852
+ }
3853
+ toggleEye() {
3854
+ this.show.update((prev) => !prev);
3855
+ }
3759
3856
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPasswordBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3760
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPPasswordBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3857
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPasswordBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `<div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
3858
+ <span>{{ show() ? rawValue : '*******' }}</span>
3859
+ @if(hasEyeIcon){
3860
+ <span
3861
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
3862
+ (click)="toggleEye()"
3863
+ >
3864
+ @if(!showPassword){
3865
+ <i class="fa-solid fa-eye"></i>
3866
+ }@else {
3867
+ <i class="fa-solid fa-eye-slash"></i>
3868
+ }
3869
+ </span>
3870
+ }
3871
+ </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3761
3872
  }
3762
3873
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPasswordBoxWidgetColumnComponent, decorators: [{
3763
3874
  type: Component,
3764
3875
  args: [{
3765
- template: ``,
3876
+ template: `<div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
3877
+ <span>{{ show() ? rawValue : '*******' }}</span>
3878
+ @if(hasEyeIcon){
3879
+ <span
3880
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
3881
+ (click)="toggleEye()"
3882
+ >
3883
+ @if(!showPassword){
3884
+ <i class="fa-solid fa-eye"></i>
3885
+ }@else {
3886
+ <i class="fa-solid fa-eye-slash"></i>
3887
+ }
3888
+ </span>
3889
+ }
3890
+ </div>`,
3766
3891
  standalone: true,
3767
3892
  changeDetection: ChangeDetectionStrategy.OnPush,
3768
3893
  imports: [CommonModule],
3769
- inputs: []
3894
+ inputs: ['rawValue'],
3770
3895
  }]
3771
3896
  }] });
3772
3897
 
@@ -4323,13 +4448,15 @@ class AXPRichTextWidgetViewComponent extends AXPWidgetComponent {
4323
4448
  });
4324
4449
  }
4325
4450
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4326
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPRichTextWidgetViewComponent, isStandalone: true, selector: "axp-rich-text-widget", usesInheritance: true, ngImport: i0, template: `<span class="ax-truncate ax-underline ax-block ax-w-full ax-cursor-pointer" (click)="openPopup()" [innerHTML]="text()"> </span>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4451
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPRichTextWidgetViewComponent, isStandalone: true, selector: "axp-rich-text-widget", usesInheritance: true, ngImport: i0, template: ` <span class="ax-truncate ax-underline ax-cursor-pointer" (click)="openPopup()" [innerHTML]="text()">
4452
+ </span>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4327
4453
  }
4328
4454
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetViewComponent, decorators: [{
4329
4455
  type: Component,
4330
4456
  args: [{
4331
4457
  selector: 'axp-rich-text-widget',
4332
- template: `<span class="ax-truncate ax-underline ax-block ax-w-full ax-cursor-pointer" (click)="openPopup()" [innerHTML]="text()"> </span>`,
4458
+ template: ` <span class="ax-truncate ax-underline ax-cursor-pointer" (click)="openPopup()" [innerHTML]="text()">
4459
+ </span>`,
4333
4460
  standalone: true,
4334
4461
  changeDetection: ChangeDetectionStrategy.OnPush,
4335
4462
  imports: [CommonModule],
@@ -4343,13 +4470,15 @@ var richTextWidgetView_component = /*#__PURE__*/Object.freeze({
4343
4470
  });
4344
4471
 
4345
4472
  class AXPRichTextWidgetEditComponent extends AXPWidgetComponent {
4346
- constructor() {
4347
- super(...arguments);
4348
- this._validationRules = [];
4349
- }
4350
4473
  setNgModel(event) {
4351
4474
  this.setValue(event);
4352
4475
  }
4476
+ constructor() {
4477
+ super();
4478
+ this.placeholder = computed(() => this.options()['placeholder'] ?? 'default');
4479
+ this._validationRules = [];
4480
+ effect(() => console.log(this.placeholder()));
4481
+ }
4353
4482
  get validationRules() {
4354
4483
  return this._validationRules;
4355
4484
  }
@@ -4362,8 +4491,13 @@ class AXPRichTextWidgetEditComponent extends AXPWidgetComponent {
4362
4491
  cls[`ax-flex-1`] = true;
4363
4492
  return cls;
4364
4493
  }
4365
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4366
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRichTextWidgetEditComponent, isStandalone: true, selector: "axp-rich-text-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `<ax-wysiwyg-container [look]="'solid'" [ngModel]="getValue()" (ngModelChange)="setNgModel($event)" >
4494
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
4495
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRichTextWidgetEditComponent, isStandalone: true, selector: "axp-rich-text-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `<ax-wysiwyg-container
4496
+ [placeHolder]="placeholder()"
4497
+ [look]="'solid'"
4498
+ [ngModel]="getValue()"
4499
+ (ngModelChange)="setNgModel($event)"
4500
+ >
4367
4501
  <ax-wysiwyg-view class="ax-min-h-28"></ax-wysiwyg-view>
4368
4502
  <ax-wysiwyg-toolbar>
4369
4503
  <ax-wysiwyg-history></ax-wysiwyg-history>
@@ -4371,18 +4505,26 @@ class AXPRichTextWidgetEditComponent extends AXPWidgetComponent {
4371
4505
  <ax-wysiwyg-colors></ax-wysiwyg-colors>
4372
4506
  <ax-wysiwyg-list></ax-wysiwyg-list>
4373
4507
  <ax-wysiwyg-alignment></ax-wysiwyg-alignment>
4374
- <ax-wysiwyg-insert></ax-wysiwyg-insert>
4375
4508
  </ax-wysiwyg-toolbar>
4376
4509
  @for (validation of validationRules; track $index) {
4377
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
4510
+ <ax-validation-rule
4511
+ [rule]="validation.rule"
4512
+ [message]="validation.options?.message"
4513
+ [options]="validation.options"
4514
+ ></ax-validation-rule>
4378
4515
  }
4379
- </ax-wysiwyg-container>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i1$5.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: ["look"], outputs: ["onValueChanged"] }, { kind: "component", type: i1$5.AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: ["class"] }, { kind: "component", type: i1$5.AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar" }, { kind: "component", type: i1$5.AXWysiwygAlignmentComponent, selector: "ax-wysiwyg-alignment" }, { kind: "component", type: i1$5.AXWysiwygColorsComponent, selector: "ax-wysiwyg-colors" }, { kind: "component", type: i1$5.AXWysiwygFontStyleComponent, selector: "ax-wysiwyg-font-style" }, { kind: "component", type: i1$5.AXWysiwygHistoryComponent, selector: "ax-wysiwyg-history" }, { kind: "component", type: i1$5.AXWysiwygInsertComponent, selector: "ax-wysiwyg-insert" }, { kind: "component", type: i1$5.AXWysiwygListComponent, selector: "ax-wysiwyg-list" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
4516
+ </ax-wysiwyg-container>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i1$5.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: ["look", "placeHolder"], outputs: ["onValueChanged"] }, { kind: "component", type: i1$5.AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: ["class"] }, { kind: "component", type: i1$5.AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar" }, { kind: "component", type: i1$5.AXWysiwygAlignmentComponent, selector: "ax-wysiwyg-alignment" }, { kind: "component", type: i1$5.AXWysiwygColorsComponent, selector: "ax-wysiwyg-colors" }, { kind: "component", type: i1$5.AXWysiwygFontStyleComponent, selector: "ax-wysiwyg-font-style" }, { kind: "component", type: i1$5.AXWysiwygHistoryComponent, selector: "ax-wysiwyg-history" }, { kind: "component", type: i1$5.AXWysiwygListComponent, selector: "ax-wysiwyg-list" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
4380
4517
  }
4381
4518
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetEditComponent, decorators: [{
4382
4519
  type: Component,
4383
4520
  args: [{
4384
4521
  selector: 'axp-rich-text-widget',
4385
- template: `<ax-wysiwyg-container [look]="'solid'" [ngModel]="getValue()" (ngModelChange)="setNgModel($event)" >
4522
+ template: `<ax-wysiwyg-container
4523
+ [placeHolder]="placeholder()"
4524
+ [look]="'solid'"
4525
+ [ngModel]="getValue()"
4526
+ (ngModelChange)="setNgModel($event)"
4527
+ >
4386
4528
  <ax-wysiwyg-view class="ax-min-h-28"></ax-wysiwyg-view>
4387
4529
  <ax-wysiwyg-toolbar>
4388
4530
  <ax-wysiwyg-history></ax-wysiwyg-history>
@@ -4390,10 +4532,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4390
4532
  <ax-wysiwyg-colors></ax-wysiwyg-colors>
4391
4533
  <ax-wysiwyg-list></ax-wysiwyg-list>
4392
4534
  <ax-wysiwyg-alignment></ax-wysiwyg-alignment>
4393
- <ax-wysiwyg-insert></ax-wysiwyg-insert>
4394
4535
  </ax-wysiwyg-toolbar>
4395
4536
  @for (validation of validationRules; track $index) {
4396
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
4537
+ <ax-validation-rule
4538
+ [rule]="validation.rule"
4539
+ [message]="validation.options?.message"
4540
+ [options]="validation.options"
4541
+ ></ax-validation-rule>
4397
4542
  }
4398
4543
  </ax-wysiwyg-container>`,
4399
4544
  standalone: true,
@@ -4402,7 +4547,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4402
4547
  imports: [CommonModule, AXWysiwygModule, AXValidationModule, AXFormModule, FormsModule],
4403
4548
  inputs: [],
4404
4549
  }]
4405
- }], propDecorators: { __class: [{
4550
+ }], ctorParameters: () => [], propDecorators: { __class: [{
4406
4551
  type: HostBinding,
4407
4552
  args: ['class']
4408
4553
  }] } });
@@ -4508,7 +4653,7 @@ const AXPRichTextWidget = {
4508
4653
  AXP_DISABLED_PROPERTY,
4509
4654
  AXP_VALIDATION_PROPERTY,
4510
4655
  AXP_PLACEHOLDER_PROPERTY,
4511
- cloneProperty(AXP_TABLE_COLUMN_WIDTH_PROPERTY, { schema: { defaultValue: '300px' } }),
4656
+ //cloneProperty(AXP_TABLE_COLUMN_WIDTH_PROPERTY, { schema: { defaultValue: '300px' } }),
4512
4657
  ],
4513
4658
  components: {
4514
4659
  view: {
@@ -4723,17 +4868,45 @@ var selectBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
4723
4868
  });
4724
4869
 
4725
4870
  class AXPSelectBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
4871
+ constructor() {
4872
+ super(...arguments);
4873
+ this.multiple = this.options['multiple'];
4874
+ this.valueField = this.options['valueField'] ?? 'id';
4875
+ this.textField = this.options['textField'] ?? 'title';
4876
+ this.internalValue = computed(() => Array.isArray(this.rawValue)
4877
+ ? this.rawValue.map((item) => this.extractItem(item))
4878
+ : [this.extractItem(this.rawValue)]);
4879
+ }
4880
+ extractItem(item) {
4881
+ return typeof item == 'object'
4882
+ ? {
4883
+ [this.valueField]: item[this.valueField],
4884
+ [this.textField]: item[this.textField],
4885
+ }
4886
+ : {
4887
+ [this.valueField]: item,
4888
+ [this.textField]: item,
4889
+ };
4890
+ }
4726
4891
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4727
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPSelectBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4892
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: ` <div class="ax-flex ax-gap-2">
4893
+ @for (item of internalValue(); track $index) {
4894
+ <ax-badge [look]="'twotone'" [text]="item[this.textField]" color="primary"></ax-badge>
4895
+ }
4896
+ </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4728
4897
  }
4729
4898
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetColumnComponent, decorators: [{
4730
4899
  type: Component,
4731
4900
  args: [{
4732
- template: ``,
4901
+ template: ` <div class="ax-flex ax-gap-2">
4902
+ @for (item of internalValue(); track $index) {
4903
+ <ax-badge [look]="'twotone'" [text]="item[this.textField]" color="primary"></ax-badge>
4904
+ }
4905
+ </div>`,
4733
4906
  standalone: true,
4734
4907
  changeDetection: ChangeDetectionStrategy.OnPush,
4735
- imports: [CommonModule],
4736
- inputs: ['rawValue']
4908
+ imports: [CommonModule, AXBadgeModule],
4909
+ inputs: ['rawValue'],
4737
4910
  }]
4738
4911
  }] });
4739
4912
 
@@ -5015,11 +5188,26 @@ var selectionListWidgetFilter_component = /*#__PURE__*/Object.freeze({
5015
5188
  class AXPSelectionListWidgetColumnComponent extends AXPColumnWidgetComponent {
5016
5189
  constructor() {
5017
5190
  super(...arguments);
5018
- this.selectedItemIds = computed(() => this.rawValue);
5019
- this.selectedItems = computed(() => this.items.filter((i) => {
5020
- return this.selectedItemIds().includes(i[this.valueField]);
5021
- }));
5022
- this.firstItem = computed(() => this.selectedItems()[0]);
5191
+ this.valueField = this.options['valueField'];
5192
+ this.textField = this.options['textField'];
5193
+ this.items = this.options['items'];
5194
+ this.multiple = this.options['multiple'];
5195
+ this.selectedItemIds = computed(() => {
5196
+ return this.rawValue || [];
5197
+ });
5198
+ this.selectedItems = computed(() => {
5199
+ const selectedIds = this.selectedItemIds();
5200
+ const filteredItems = this.items.filter((item) => {
5201
+ const itemValue = item[this.valueField];
5202
+ const isSelected = selectedIds.includes(itemValue);
5203
+ return isSelected;
5204
+ });
5205
+ return filteredItems;
5206
+ });
5207
+ this.firstItem = computed(() => {
5208
+ const first = this.selectedItems()[0];
5209
+ return first;
5210
+ });
5023
5211
  }
5024
5212
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5025
5213
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectionListWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: ` <div class="ax-flex ax-gap-2">
@@ -5087,7 +5275,7 @@ const AXPSelectionListWidget = {
5087
5275
  AXP_DISABLED_PROPERTY,
5088
5276
  AXP_READONLY_PROPERTY,
5089
5277
  AXP_VALIDATION_PROPERTY,
5090
- cloneProperty(AXP_TABLE_COLUMN_WIDTH_PROPERTY, { schema: { defaultValue: '200px' } }),
5278
+ //cloneProperty(AXP_TABLE_COLUMN_WIDTH_PROPERTY, { schema: { defaultValue: '200px' } }),
5091
5279
  ],
5092
5280
  type: 'editor',
5093
5281
  components: {
@@ -5357,7 +5545,7 @@ const AXPTextBoxWidget = {
5357
5545
  AXP_PLACEHOLDER_PROPERTY,
5358
5546
  AXP_HAS_CLEAR_BUTTON_PROPERTY,
5359
5547
  plainTextDefaultProperty(),
5360
- cloneProperty(AXP_TABLE_COLUMN_WIDTH_PROPERTY, { schema: { defaultValue: '200px' } }),
5548
+ //cloneProperty(AXP_TABLE_COLUMN_WIDTH_PROPERTY, { schema: { defaultValue: '200px' } }),
5361
5549
  ],
5362
5550
  components: {
5363
5551
  view: {
@@ -5600,7 +5788,7 @@ const AXPToggleWidget = {
5600
5788
 
5601
5789
  class AXPFileBoxWidgetColumnComponent extends AXPWidgetComponent {
5602
5790
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5603
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPFileBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5791
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPFileBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5604
5792
  }
5605
5793
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileBoxWidgetColumnComponent, decorators: [{
5606
5794
  type: Component,
@@ -5609,7 +5797,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
5609
5797
  standalone: true,
5610
5798
  changeDetection: ChangeDetectionStrategy.OnPush,
5611
5799
  imports: [CommonModule],
5612
- inputs: []
5800
+ inputs: ['rawValue']
5613
5801
  }]
5614
5802
  }] });
5615
5803
 
@@ -6393,7 +6581,7 @@ var galleryWidgetFilter_component = /*#__PURE__*/Object.freeze({
6393
6581
 
6394
6582
  class AXPGalleryWidgetColumnComponent extends AXPWidgetComponent {
6395
6583
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6396
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPGalleryWidgetColumnComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6584
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPGalleryWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6397
6585
  }
6398
6586
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetColumnComponent, decorators: [{
6399
6587
  type: Component,
@@ -6402,7 +6590,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6402
6590
  standalone: true,
6403
6591
  changeDetection: ChangeDetectionStrategy.OnPush,
6404
6592
  imports: [CommonModule],
6405
- inputs: []
6593
+ inputs: ['rawValue']
6406
6594
  }]
6407
6595
  }] });
6408
6596
 
@@ -6476,7 +6664,7 @@ class AXPMapBoxWidgetViewComponent extends AXPWidgetComponent {
6476
6664
  });
6477
6665
  }
6478
6666
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPMapBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6479
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPMapBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<div [class.height.px]="height()" class="ax-w-full">
6667
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPMapBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<div [style.height.px]="height()" class="ax-w-full">
6480
6668
  <ax-map
6481
6669
  [hasMarker]="false"
6482
6670
  [markers]="markers()"
@@ -6489,7 +6677,7 @@ class AXPMapBoxWidgetViewComponent extends AXPWidgetComponent {
6489
6677
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPMapBoxWidgetViewComponent, decorators: [{
6490
6678
  type: Component,
6491
6679
  args: [{
6492
- template: `<div [class.height.px]="height()" class="ax-w-full">
6680
+ template: `<div [style.height.px]="height()" class="ax-w-full">
6493
6681
  <ax-map
6494
6682
  [hasMarker]="false"
6495
6683
  [markers]="markers()"
@@ -6514,12 +6702,16 @@ var mapBoxWidgetView_component = /*#__PURE__*/Object.freeze({
6514
6702
  class AXPMapBoxWidgetEditComponent extends AXPWidgetComponent {
6515
6703
  constructor() {
6516
6704
  super(...arguments);
6705
+ this.cdr = inject(ChangeDetectorRef);
6517
6706
  this.markers = computed(() => this.getValue() ?? []);
6518
6707
  this.hasDraw = computed(() => this.options()['hasDraw'] ?? false);
6519
6708
  this.hasLocate = computed(() => this.options()['hasLocate'] ?? false);
6520
6709
  this.maxMarker = computed(() => this.options()['maxMarker'] ?? 1);
6521
6710
  this.zoomLevel = computed(() => this.options()['zoomLevel'] ?? 13);
6522
- this.height = computed(() => this.options()['height'] ?? 300);
6711
+ this.height = computed(() => {
6712
+ this.cdr.markForCheck();
6713
+ return this.options()['height'] ?? 300;
6714
+ });
6523
6715
  this.initialLocation = computed(() => this.options()['initialLocation'] ?? { latitude: 51.505, longitude: -0.09 }, {
6524
6716
  equal: (a, b) => {
6525
6717
  if (a.latitude === b.latitude && a.longitude === b.longitude)
@@ -6604,7 +6796,7 @@ const AXPMapBoxWidget = {
6604
6796
  minValue: 0,
6605
6797
  maxValue: 500,
6606
6798
  hasClearButton: false,
6607
- }
6799
+ },
6608
6800
  },
6609
6801
  },
6610
6802
  visible: true,
@@ -6624,7 +6816,7 @@ const AXPMapBoxWidget = {
6624
6816
  minValue: 0,
6625
6817
  maxValue: 100,
6626
6818
  hasClearButton: false,
6627
- }
6819
+ },
6628
6820
  },
6629
6821
  },
6630
6822
  visible: true,
@@ -6644,7 +6836,7 @@ const AXPMapBoxWidget = {
6644
6836
  minValue: 1,
6645
6837
  maxValue: 20,
6646
6838
  hasClearButton: false,
6647
- }
6839
+ },
6648
6840
  },
6649
6841
  },
6650
6842
  visible: true,
@@ -6698,7 +6890,7 @@ const AXPMapBoxWidget = {
6698
6890
 
6699
6891
  class AXPSignatureWidgetColumnComponent extends AXPWidgetComponent {
6700
6892
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSignatureWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6701
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPSignatureWidgetColumnComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6893
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPSignatureWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6702
6894
  }
6703
6895
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSignatureWidgetColumnComponent, decorators: [{
6704
6896
  type: Component,
@@ -6707,7 +6899,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6707
6899
  standalone: true,
6708
6900
  changeDetection: ChangeDetectionStrategy.OnPush,
6709
6901
  imports: [CommonModule],
6710
- inputs: []
6902
+ inputs: ['rawValue']
6711
6903
  }]
6712
6904
  }] });
6713
6905
 
@@ -7085,9 +7277,9 @@ class AXPBlockWidgetViewComponent extends AXPWidgetComponent {
7085
7277
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7086
7278
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPBlockWidgetViewComponent, isStandalone: true, selector: "axp-block-widget", host: { properties: { "class": "this.__class", "style": "this.__style" } }, usesInheritance: true, ngImport: i0, template: `
7087
7279
  @for (node of children(); track $index) {
7088
- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer>
7280
+ <ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
7089
7281
  }
7090
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1$7.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "mode", "parentNode", "index"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7282
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7091
7283
  }
7092
7284
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetViewComponent, decorators: [{
7093
7285
  type: Component,
@@ -7095,7 +7287,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7095
7287
  selector: 'axp-block-widget',
7096
7288
  template: `
7097
7289
  @for (node of children(); track $index) {
7098
- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer>
7290
+ <ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
7099
7291
  }
7100
7292
  `,
7101
7293
  standalone: true,
@@ -7156,9 +7348,10 @@ class AXPPageWidgetViewComponent extends AXPWidgetComponent {
7156
7348
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7157
7349
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPageWidgetViewComponent, isStandalone: true, selector: "axp-page-widget", host: { properties: { "style": "this.__style" } }, usesInheritance: true, ngImport: i0, template: `
7158
7350
  @for (node of children(); track $index) {
7159
- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="mode" > </axp-widget-renderer>
7351
+ <!-- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="mode" > </axp-widget-renderer> -->
7352
+ <ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
7160
7353
  }
7161
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1$7.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "mode", "parentNode", "index"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
7354
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
7162
7355
  }
7163
7356
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetViewComponent, decorators: [{
7164
7357
  type: Component,
@@ -7166,7 +7359,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7166
7359
  selector: 'axp-page-widget',
7167
7360
  template: `
7168
7361
  @for (node of children(); track $index) {
7169
- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="mode" > </axp-widget-renderer>
7362
+ <!-- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="mode" > </axp-widget-renderer> -->
7363
+ <ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
7170
7364
  }
7171
7365
  `,
7172
7366
  standalone: true,
@@ -7372,32 +7566,151 @@ const AXPRepeaterWidget = {
7372
7566
  },
7373
7567
  };
7374
7568
 
7375
- class AXPColorBoxWidgetViewComponent extends AXPWidgetComponent {
7376
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7377
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPColorBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `{{ rawValue() }}`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7378
- }
7379
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetViewComponent, decorators: [{
7380
- type: Component,
7381
- args: [{
7382
- template: `{{ rawValue() }}`,
7383
- standalone: true,
7384
- changeDetection: ChangeDetectionStrategy.OnPush,
7385
- imports: [CommonModule],
7386
- inputs: []
7387
- }]
7388
- }] });
7389
-
7390
- var colorBoxWidgetView_component = /*#__PURE__*/Object.freeze({
7391
- __proto__: null,
7392
- AXPColorBoxWidgetViewComponent: AXPColorBoxWidgetViewComponent
7393
- });
7394
-
7395
- class AXPColorBoxWidgetEditComponent extends AXPWidgetComponent {
7569
+ class AXPQrcodeWidgetViewComponent extends AXPWidgetComponent {
7396
7570
  constructor() {
7397
7571
  super(...arguments);
7398
- this.placeholder = computed(() => this.options()["placeholder"]);
7399
- this.disabled = computed(() => this.options()["disabled"]);
7400
- this.readonly = computed(() => this.options()["readonly"]);
7572
+ this.content = computed(() => this.options()['content']);
7573
+ this.size = computed(() => this.options()['size'] ?? 200);
7574
+ this.level = computed(() => this.options()['level']?.id ?? 'M');
7575
+ this.color = computed(() => AXColorUtil.colorStringToHex(this.options()['color'] ?? '#000000'));
7576
+ this.outputType = computed(() => this.options()['outputType'] ?? 'svg');
7577
+ }
7578
+ get __class() {
7579
+ const cls = {};
7580
+ cls[`ax-block`] = true;
7581
+ cls[`ax-flex-1`] = true;
7582
+ return cls;
7583
+ }
7584
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPQrcodeWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7585
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPQrcodeWidgetViewComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
7586
+ @if(this.content()){
7587
+ <ax-qrcode
7588
+ [content]="this.content()"
7589
+ [size]="size()"
7590
+ [color]="color()"
7591
+ [level]="level()"
7592
+ [outputType]="outputType()"
7593
+ >
7594
+ </ax-qrcode>
7595
+ }
7596
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXQrcodeModule }, { kind: "component", type: i1$8.AXQrcodeComponent, selector: "ax-qrcode", inputs: ["content", "size", "level", "color", "backgroundColor", "outputType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7597
+ }
7598
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPQrcodeWidgetViewComponent, decorators: [{
7599
+ type: Component,
7600
+ args: [{
7601
+ template: `
7602
+ @if(this.content()){
7603
+ <ax-qrcode
7604
+ [content]="this.content()"
7605
+ [size]="size()"
7606
+ [color]="color()"
7607
+ [level]="level()"
7608
+ [outputType]="outputType()"
7609
+ >
7610
+ </ax-qrcode>
7611
+ }
7612
+ `,
7613
+ standalone: true,
7614
+ changeDetection: ChangeDetectionStrategy.OnPush,
7615
+ imports: [CommonModule, AXQrcodeModule],
7616
+ }]
7617
+ }], propDecorators: { __class: [{
7618
+ type: HostBinding,
7619
+ args: ['class']
7620
+ }] } });
7621
+
7622
+ var qrcodeWidgetView_component = /*#__PURE__*/Object.freeze({
7623
+ __proto__: null,
7624
+ AXPQrcodeWidgetViewComponent: AXPQrcodeWidgetViewComponent
7625
+ });
7626
+
7627
+ const AXPQrcodeWidget = {
7628
+ name: 'qrcode',
7629
+ title: 'QR Code',
7630
+ group: AXP_WIDGETS_ADVANCE_GROUP,
7631
+ icon: 'fa-solid fa-qrcode',
7632
+ description: 'Display and edit QR Codes',
7633
+ type: 'view',
7634
+ properties: [
7635
+ AXP_NAME_PROPERTY,
7636
+ cloneProperty(AXP_COLOR_PROPERTY, { schema: { interface: { defaultValue: '#000000' } } }),
7637
+ cloneProperty(AXP_CONTENT_PROPERTY, { schema: { interface: { defaultValue: 'http://google.com' } } }),
7638
+ {
7639
+ name: 'size',
7640
+ title: 'Size',
7641
+ group: AXP_STYLING_PROPERTY_GROUP,
7642
+ schema: {
7643
+ dataType: 'string',
7644
+ defaultValue: 200,
7645
+ interface: {
7646
+ name: 'size',
7647
+ path: 'options.size',
7648
+ type: AXPWidgetsCatalog.number,
7649
+ },
7650
+ },
7651
+ visible: true,
7652
+ },
7653
+ {
7654
+ name: 'level',
7655
+ title: 'Error Correction Level',
7656
+ group: AXP_STYLING_PROPERTY_GROUP,
7657
+ schema: {
7658
+ dataType: 'string',
7659
+ interface: {
7660
+ defaultValue: 'M',
7661
+ name: 'level',
7662
+ path: 'options.level',
7663
+ type: AXPWidgetsCatalog.select,
7664
+ options: {
7665
+ dataSource: ['L', 'M', 'Q', 'H'].map((i) => ({ title: i, id: i })),
7666
+ },
7667
+ },
7668
+ },
7669
+ visible: true,
7670
+ },
7671
+ ],
7672
+ components: {
7673
+ view: {
7674
+ component: () => Promise.resolve().then(function () { return qrcodeWidgetView_component; }).then((c) => c.AXPQrcodeWidgetViewComponent),
7675
+ },
7676
+ edit: {
7677
+ component: () => Promise.resolve().then(function () { return qrcodeWidgetView_component; }).then((c) => c.AXPQrcodeWidgetViewComponent),
7678
+ },
7679
+ print: {
7680
+ component: () => Promise.resolve().then(function () { return qrcodeWidgetView_component; }).then((c) => c.AXPQrcodeWidgetViewComponent),
7681
+ },
7682
+ designer: {
7683
+ component: () => Promise.resolve().then(function () { return qrcodeWidgetView_component; }).then((c) => c.AXPQrcodeWidgetViewComponent),
7684
+ },
7685
+ },
7686
+ };
7687
+
7688
+ class AXPColorBoxWidgetViewComponent extends AXPWidgetComponent {
7689
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7690
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPColorBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `{{ rawValue() }}`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7691
+ }
7692
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetViewComponent, decorators: [{
7693
+ type: Component,
7694
+ args: [{
7695
+ template: `{{ rawValue() }}`,
7696
+ standalone: true,
7697
+ changeDetection: ChangeDetectionStrategy.OnPush,
7698
+ imports: [CommonModule],
7699
+ inputs: []
7700
+ }]
7701
+ }] });
7702
+
7703
+ var colorBoxWidgetView_component = /*#__PURE__*/Object.freeze({
7704
+ __proto__: null,
7705
+ AXPColorBoxWidgetViewComponent: AXPColorBoxWidgetViewComponent
7706
+ });
7707
+
7708
+ class AXPColorBoxWidgetEditComponent extends AXPWidgetComponent {
7709
+ constructor() {
7710
+ super(...arguments);
7711
+ this.placeholder = computed(() => this.options()["placeholder"]);
7712
+ this.disabled = computed(() => this.options()["disabled"]);
7713
+ this.readonly = computed(() => this.options()["readonly"]);
7401
7714
  this.hasClearButton = computed(() => this.options()['hasClearButton']);
7402
7715
  this.validationRules = computed(() => this.options()["validationRules"] ?? []);
7403
7716
  }
@@ -7542,76 +7855,6 @@ const AXPColorBoxWidget = {
7542
7855
  },
7543
7856
  };
7544
7857
 
7545
- class AXPTextBlockWidgetViewComponent extends AXPWidgetComponent {
7546
- constructor() {
7547
- super(...arguments);
7548
- this.sanitizer = inject(DomSanitizer);
7549
- this.content = computed(() => this.options()['content']);
7550
- this.innerContent = computed(() => this.sanitizer.bypassSecurityTrustHtml(this.content()));
7551
- }
7552
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBlockWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7553
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPTextBlockWidgetViewComponent, isStandalone: true, selector: "axp-text-block-widget", usesInheritance: true, ngImport: i0, template: `
7554
- <div [innerHTML]="innerContent()"></div>
7555
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7556
- }
7557
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBlockWidgetViewComponent, decorators: [{
7558
- type: Component,
7559
- args: [{
7560
- selector: "axp-text-block-widget",
7561
- template: `
7562
- <div [innerHTML]="innerContent()"></div>
7563
- `,
7564
- standalone: true,
7565
- changeDetection: ChangeDetectionStrategy.OnPush,
7566
- imports: [CommonModule],
7567
- }]
7568
- }] });
7569
-
7570
- var textBlockWidgetView_component = /*#__PURE__*/Object.freeze({
7571
- __proto__: null,
7572
- AXPTextBlockWidgetViewComponent: AXPTextBlockWidgetViewComponent
7573
- });
7574
-
7575
- const AXPTextBlockWidget = {
7576
- name: 'text-block-layout',
7577
- title: 'Text Block',
7578
- description: 'Displays text blocks',
7579
- icon: 'fa-solid fa-text',
7580
- group: AXP_WIDGETS_LAYOUT_GROUP,
7581
- type: 'view',
7582
- properties: [
7583
- {
7584
- name: 'content',
7585
- title: 'Content',
7586
- group: AXP_BEHAVIOR_PROPERTY_GROUP,
7587
- schema: {
7588
- dataType: 'string',
7589
- defaultValue: 'Text Block',
7590
- interface: {
7591
- name: 'content',
7592
- path: 'options.content',
7593
- type: AXPWidgetsCatalog.richText,
7594
- },
7595
- },
7596
- visible: true,
7597
- },
7598
- ],
7599
- components: {
7600
- view: {
7601
- component: () => Promise.resolve().then(function () { return textBlockWidgetView_component; }).then((c) => c.AXPTextBlockWidgetViewComponent),
7602
- },
7603
- edit: {
7604
- component: () => Promise.resolve().then(function () { return textBlockWidgetView_component; }).then((c) => c.AXPTextBlockWidgetViewComponent),
7605
- },
7606
- print: {
7607
- component: () => Promise.resolve().then(function () { return textBlockWidgetView_component; }).then((c) => c.AXPTextBlockWidgetViewComponent),
7608
- },
7609
- designer: {
7610
- component: () => import('./acorex-platform-widgets-text-block-widget-designer.component-Bi9hlpvB.mjs').then((c) => c.AXPTextBlockWidgetDesignerComponent),
7611
- },
7612
- },
7613
- };
7614
-
7615
7858
  const AXPDocumentWidget = {
7616
7859
  name: 'document-layout',
7617
7860
  title: 'Document',
@@ -7627,34 +7870,46 @@ const AXPDocumentWidget = {
7627
7870
  class AXPFormFieldWidgetViewComponent extends AXPWidgetComponent {
7628
7871
  constructor() {
7629
7872
  super(...arguments);
7630
- this.label = computed(() => this.options()["label"]);
7873
+ this.label = computed(() => this.options()['label']);
7874
+ }
7875
+ get __class() {
7876
+ const cls = {};
7877
+ cls[`ax-block`] = true;
7878
+ cls[`ax-w-full`] = true;
7879
+ return cls;
7631
7880
  }
7632
7881
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7633
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPFormFieldWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
7634
- <ax-form-field>
7635
- <ax-label>{{label()}}</ax-label>
7636
- @for (node of children(); track $index) {
7637
- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer>
7638
- }
7882
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPFormFieldWidgetViewComponent, isStandalone: true, selector: "axp-form-field-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
7883
+ <ax-form-field>
7884
+ <ax-label>{{ label() }}</ax-label>
7885
+ @for (node of children(); track $index) {
7886
+ <ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
7887
+ <!-- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
7888
+ }
7639
7889
  </ax-form-field>
7640
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i4$1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1$7.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "mode", "parentNode", "index"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7890
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i4$1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7641
7891
  }
7642
7892
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetViewComponent, decorators: [{
7643
7893
  type: Component,
7644
7894
  args: [{
7895
+ selector: 'axp-form-field-widget',
7645
7896
  template: `
7646
- <ax-form-field>
7647
- <ax-label>{{label()}}</ax-label>
7648
- @for (node of children(); track $index) {
7649
- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer>
7650
- }
7897
+ <ax-form-field>
7898
+ <ax-label>{{ label() }}</ax-label>
7899
+ @for (node of children(); track $index) {
7900
+ <ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
7901
+ <!-- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
7902
+ }
7651
7903
  </ax-form-field>
7652
7904
  `,
7653
7905
  standalone: true,
7654
7906
  changeDetection: ChangeDetectionStrategy.OnPush,
7655
7907
  imports: [CommonModule, AXFormModule, AXLabelModule, AXPLayoutBuilderModule],
7656
7908
  }]
7657
- }] });
7909
+ }], propDecorators: { __class: [{
7910
+ type: HostBinding,
7911
+ args: ['class']
7912
+ }] } });
7658
7913
 
7659
7914
  var formFieldWidgetView_component = /*#__PURE__*/Object.freeze({
7660
7915
  __proto__: null,
@@ -7747,16 +8002,36 @@ const AXPFormFieldWidget = {
7747
8002
  };
7748
8003
 
7749
8004
  class AXPGridWidgetViewComponent extends AXPWidgetComponent {
8005
+ constructor() {
8006
+ super(...arguments);
8007
+ this.cols = computed(() => this.options()['cols'] ?? 1);
8008
+ this.rows = computed(() => this.options()['rows'] ?? 1);
8009
+ this.gap = computed(() => this.options()['gap'] ?? 0);
8010
+ }
7750
8011
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7751
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPGridWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8012
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
8013
+ <div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
8014
+ @for (child of children(); track $index) {
8015
+ <ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
8016
+ <!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
8017
+ }
8018
+ </div>
8019
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7752
8020
  }
7753
8021
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetViewComponent, decorators: [{
7754
8022
  type: Component,
7755
8023
  args: [{
7756
- template: ``,
8024
+ template: `
8025
+ <div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
8026
+ @for (child of children(); track $index) {
8027
+ <ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
8028
+ <!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
8029
+ }
8030
+ </div>
8031
+ `,
7757
8032
  standalone: true,
7758
8033
  changeDetection: ChangeDetectionStrategy.OnPush,
7759
- imports: [CommonModule]
8034
+ imports: [CommonModule, AXPLayoutBuilderModule],
7760
8035
  }]
7761
8036
  }] });
7762
8037
 
@@ -7784,11 +8059,11 @@ class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent {
7784
8059
  constructor() {
7785
8060
  super(...arguments);
7786
8061
  this.designerService = inject(AXPDesignerService);
7787
- this.cols = computed(() => this.options()["cols"] ?? 1);
7788
- this.rows = computed(() => this.options()["rows"] ?? 1);
7789
- this.gap = computed(() => this.options()["gap"] ?? 0);
8062
+ this.cols = computed(() => this.options()['cols'] ?? 1);
8063
+ this.rows = computed(() => this.options()['rows'] ?? 1);
8064
+ this.gap = computed(() => this.options()['gap'] ?? 0);
7790
8065
  this.cells = computed(() => Array.from({ length: this.cols() * this.rows() }).map((c, index) => index));
7791
- this.settled = computed(() => (this.cols() * this.rows() > 1) && this.children().length);
8066
+ this.settled = computed(() => this.cols() * this.rows() > 1 && this.children().length);
7792
8067
  }
7793
8068
  // private e = effect(async () => {
7794
8069
  // if (this.settled()) {
@@ -7814,10 +8089,10 @@ class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent {
7814
8089
  handleDrawerSelect(e) {
7815
8090
  this.designerService.update({
7816
8091
  values: {
7817
- options: e
8092
+ options: e,
7818
8093
  },
7819
8094
  mode: 'update',
7820
- widget: this.node
8095
+ widget: this.node,
7821
8096
  });
7822
8097
  const list = Array.from({ length: this.cells().length }).map(() => ({
7823
8098
  type: AXPWidgetsCatalog.gridItem,
@@ -7836,18 +8111,18 @@ class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent {
7836
8111
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7837
8112
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridWidgetDesignerComponent, isStandalone: true, selector: "axp-grid-layout-widget", host: { properties: { "class": "this.__class" } }, providers: [
7838
8113
  {
7839
- provide: AXPContainerWidgetComponent, useExisting: AXPGridWidgetDesignerComponent
7840
- }
8114
+ provide: AXPContainerWidgetComponent,
8115
+ useExisting: AXPGridWidgetDesignerComponent,
8116
+ },
7841
8117
  ], usesInheritance: true, ngImport: i0, template: `
7842
- @if(settled())
7843
- {
7844
- <div class="ax-grid ax-grid-cols-{{cols()}} ax-grid-rows-{{rows()}} ax-gap-{{gap()}}">
7845
- @for (node of children(); track $index) {
7846
- <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
7847
- }
7848
- </div>
8118
+ @if(settled()) {
8119
+ <div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
8120
+ @for (child of children(); track $index) {
8121
+ <ng-container axp-widget-designer-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
8122
+ }
8123
+ </div>
7849
8124
  }@else {
7850
- <axp-designer-grid-drawer (onSelect)="handleDrawerSelect($event)"></axp-designer-grid-drawer>
8125
+ <axp-designer-grid-drawer (onSelect)="handleDrawerSelect($event)"></axp-designer-grid-drawer>
7851
8126
  }
7852
8127
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerGridDrawerComponent, selector: "axp-designer-grid-drawer", inputs: ["rows", "columns"], outputs: ["rowsChange", "columnsChange", "onSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7853
8128
  }
@@ -7856,25 +8131,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7856
8131
  args: [{
7857
8132
  selector: 'axp-grid-layout-widget',
7858
8133
  template: `
7859
- @if(settled())
7860
- {
7861
- <div class="ax-grid ax-grid-cols-{{cols()}} ax-grid-rows-{{rows()}} ax-gap-{{gap()}}">
7862
- @for (node of children(); track $index) {
7863
- <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
7864
- }
7865
- </div>
8134
+ @if(settled()) {
8135
+ <div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
8136
+ @for (child of children(); track $index) {
8137
+ <ng-container axp-widget-designer-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
8138
+ }
8139
+ </div>
7866
8140
  }@else {
7867
- <axp-designer-grid-drawer (onSelect)="handleDrawerSelect($event)"></axp-designer-grid-drawer>
8141
+ <axp-designer-grid-drawer (onSelect)="handleDrawerSelect($event)"></axp-designer-grid-drawer>
7868
8142
  }
7869
8143
  `,
7870
8144
  standalone: true,
7871
8145
  changeDetection: ChangeDetectionStrategy.OnPush,
7872
- imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent, AXPDesignerGridDrawerComponent],
8146
+ imports: [
8147
+ CommonModule,
8148
+ AXPLayoutBuilderModule,
8149
+ AXPWidgetDesignerRendererDirective,
8150
+ AXPDesignerAddWidgetButtonComponent,
8151
+ AXPDesignerGridDrawerComponent,
8152
+ ],
7873
8153
  providers: [
7874
8154
  {
7875
- provide: AXPContainerWidgetComponent, useExisting: AXPGridWidgetDesignerComponent
7876
- }
7877
- ]
8155
+ provide: AXPContainerWidgetComponent,
8156
+ useExisting: AXPGridWidgetDesignerComponent,
8157
+ },
8158
+ ],
7878
8159
  }]
7879
8160
  }], propDecorators: { __class: [{
7880
8161
  type: HostBinding,
@@ -7912,139 +8193,93 @@ const AXPGridWidget = {
7912
8193
  },
7913
8194
  };
7914
8195
 
7915
- class AXPQrcodeWidgetViewComponent extends AXPWidgetComponent {
8196
+ class AXPGridItemWidgetViewComponent extends AXPContainerWidgetComponent {
7916
8197
  constructor() {
7917
8198
  super(...arguments);
7918
- this.content = computed(() => this.options()['content']);
7919
- this.size = computed(() => this.options()['size'] ?? 200);
7920
- this.level = computed(() => this.options()['level']?.id ?? 'M');
7921
- this.color = computed(() => AXColorUtil.colorStringToHex(this.options()['color'] ?? '#000000'));
7922
- this.outputType = computed(() => this.options()['outputType'] ?? 'svg');
8199
+ this.colSpan = computed(() => this.options()['colSpan']);
8200
+ this.colStart = computed(() => this.options()['colStart']);
8201
+ this.colEnd = computed(() => this.options()['colEnd']);
8202
+ this.flexAlignItems = computed(() => this.options()['flexAlignItems']?.id);
8203
+ this.flexJustifyContent = computed(() => this.options()['flexJustifyContent']?.id);
8204
+ this.flexWrap = computed(() => this.options()['flexWrap']?.id);
8205
+ this.flexDirection = computed(() => this.options()['flexDirection']?.id);
8206
+ this.gap = computed(() => this.options()['gap'] ?? 0);
7923
8207
  }
7924
8208
  get __class() {
7925
8209
  const cls = {};
7926
- cls[`ax-block`] = true;
7927
- cls[`ax-flex-1`] = true;
8210
+ //
8211
+ cls[`ax-flex`] = true;
8212
+ cls[`ax-gap-${this.gap()}`] = true;
8213
+ //
8214
+ if (this.flexAlignItems()) {
8215
+ cls[this.flexAlignItems()] = true;
8216
+ }
8217
+ if (this.flexJustifyContent()) {
8218
+ cls[this.flexJustifyContent()] = true;
8219
+ }
8220
+ if (this.flexWrap()) {
8221
+ cls[this.flexWrap()] = true;
8222
+ }
8223
+ if (this.flexDirection()) {
8224
+ cls[this.flexDirection()] = true;
8225
+ }
8226
+ //
8227
+ cls[`ax-col-span-12`] = true;
8228
+ if (this.colSpan() != null) {
8229
+ cls[`lg:ax-col-span-${this.colSpan()}`] = true;
8230
+ }
8231
+ else {
8232
+ cls[`lg:ax-col-span-1`] = true;
8233
+ }
8234
+ //
8235
+ if (this.colStart() != null) {
8236
+ cls[`lg:ax-col-start-${this.colStart()}`] = true;
8237
+ }
8238
+ //
8239
+ if (this.colEnd() != null) {
8240
+ cls[`lg:ax-col-end-${this.colEnd()}`] = true;
8241
+ }
7928
8242
  return cls;
7929
8243
  }
7930
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPQrcodeWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7931
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPQrcodeWidgetViewComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
7932
- @if(this.content()){
7933
- <ax-qrcode
7934
- [content]="this.content()"
7935
- [size]="size()"
7936
- [color]="color()"
7937
- [level]="level()"
7938
- [outputType]="outputType()"
7939
- >
7940
- </ax-qrcode>
8244
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
8245
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridItemWidgetViewComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, providers: [
8246
+ {
8247
+ provide: AXPContainerWidgetComponent,
8248
+ useExisting: AXPGridItemWidgetViewComponent,
8249
+ },
8250
+ ], usesInheritance: true, ngImport: i0, template: `
8251
+ @for (child of children(); track $index) {
8252
+ <!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"></axp-widget-renderer> -->
8253
+ <ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
8254
+
7941
8255
  }
7942
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXQrcodeModule }, { kind: "component", type: i1$8.AXQrcodeComponent, selector: "ax-qrcode", inputs: ["content", "size", "level", "color", "backgroundColor", "outputType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8256
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7943
8257
  }
7944
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPQrcodeWidgetViewComponent, decorators: [{
8258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetViewComponent, decorators: [{
7945
8259
  type: Component,
7946
8260
  args: [{
7947
8261
  template: `
7948
- @if(this.content()){
7949
- <ax-qrcode
7950
- [content]="this.content()"
7951
- [size]="size()"
7952
- [color]="color()"
7953
- [level]="level()"
7954
- [outputType]="outputType()"
7955
- >
7956
- </ax-qrcode>
8262
+ @for (child of children(); track $index) {
8263
+ <!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"></axp-widget-renderer> -->
8264
+ <ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
8265
+
7957
8266
  }
7958
8267
  `,
7959
8268
  standalone: true,
7960
8269
  changeDetection: ChangeDetectionStrategy.OnPush,
7961
- imports: [CommonModule, AXQrcodeModule],
8270
+ imports: [CommonModule, AXPLayoutBuilderModule],
8271
+ providers: [
8272
+ {
8273
+ provide: AXPContainerWidgetComponent,
8274
+ useExisting: AXPGridItemWidgetViewComponent,
8275
+ },
8276
+ ],
7962
8277
  }]
7963
8278
  }], propDecorators: { __class: [{
7964
8279
  type: HostBinding,
7965
8280
  args: ['class']
7966
8281
  }] } });
7967
8282
 
7968
- var qrcodeWidgetView_component = /*#__PURE__*/Object.freeze({
7969
- __proto__: null,
7970
- AXPQrcodeWidgetViewComponent: AXPQrcodeWidgetViewComponent
7971
- });
7972
-
7973
- const AXPQrcodeWidget = {
7974
- name: 'qrcode',
7975
- title: 'QR Code',
7976
- group: AXP_WIDGETS_ADVANCE_GROUP,
7977
- icon: 'fa-solid fa-qrcode',
7978
- description: 'Display and edit QR Codes',
7979
- type: 'view',
7980
- properties: [
7981
- AXP_NAME_PROPERTY,
7982
- cloneProperty(AXP_COLOR_PROPERTY, { schema: { interface: { defaultValue: '#000000' } } }),
7983
- cloneProperty(AXP_CONTENT_PROPERTY, { schema: { interface: { defaultValue: 'http://google.com' } } }),
7984
- {
7985
- name: 'size',
7986
- title: 'Size',
7987
- group: AXP_STYLING_PROPERTY_GROUP,
7988
- schema: {
7989
- dataType: 'string',
7990
- defaultValue: 200,
7991
- interface: {
7992
- name: 'size',
7993
- path: 'options.size',
7994
- type: AXPWidgetsCatalog.number,
7995
- },
7996
- },
7997
- visible: true,
7998
- },
7999
- {
8000
- name: 'level',
8001
- title: 'Error Correction Level',
8002
- group: AXP_STYLING_PROPERTY_GROUP,
8003
- schema: {
8004
- dataType: 'string',
8005
- interface: {
8006
- defaultValue: 'M',
8007
- name: 'level',
8008
- path: 'options.level',
8009
- type: AXPWidgetsCatalog.select,
8010
- options: {
8011
- dataSource: ['L', 'M', 'Q', 'H'].map((i) => ({ title: i, id: i })),
8012
- },
8013
- },
8014
- },
8015
- visible: true,
8016
- },
8017
- ],
8018
- components: {
8019
- view: {
8020
- component: () => Promise.resolve().then(function () { return qrcodeWidgetView_component; }).then((c) => c.AXPQrcodeWidgetViewComponent),
8021
- },
8022
- edit: {
8023
- component: () => Promise.resolve().then(function () { return qrcodeWidgetView_component; }).then((c) => c.AXPQrcodeWidgetViewComponent),
8024
- },
8025
- print: {
8026
- component: () => Promise.resolve().then(function () { return qrcodeWidgetView_component; }).then((c) => c.AXPQrcodeWidgetViewComponent),
8027
- },
8028
- designer: {
8029
- component: () => Promise.resolve().then(function () { return qrcodeWidgetView_component; }).then((c) => c.AXPQrcodeWidgetViewComponent),
8030
- },
8031
- },
8032
- };
8033
-
8034
- class AXPGridItemWidgetViewComponent extends AXPWidgetComponent {
8035
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
8036
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPGridItemWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8037
- }
8038
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetViewComponent, decorators: [{
8039
- type: Component,
8040
- args: [{
8041
- template: ``,
8042
- standalone: true,
8043
- changeDetection: ChangeDetectionStrategy.OnPush,
8044
- imports: [CommonModule]
8045
- }]
8046
- }] });
8047
-
8048
8283
  var gridItemWidgetView_component = /*#__PURE__*/Object.freeze({
8049
8284
  __proto__: null,
8050
8285
  AXPGridItemWidgetViewComponent: AXPGridItemWidgetViewComponent
@@ -8069,14 +8304,14 @@ class AXPGridItemWidgetDesignerComponent extends AXPContainerWidgetComponent {
8069
8304
  constructor() {
8070
8305
  super(...arguments);
8071
8306
  this.designerService = inject(AXPDesignerService);
8072
- this.colSpan = computed(() => this.options()["colSpan"]);
8073
- this.colStart = computed(() => this.options()["colStart"]);
8074
- this.colEnd = computed(() => this.options()["colEnd"]);
8075
- this.flexAlignItems = computed(() => this.options()["flexAlignItems"]?.id);
8076
- this.flexJustifyContent = computed(() => this.options()["flexJustifyContent"]?.id);
8077
- this.flexWrap = computed(() => this.options()["flexWrap"]?.id);
8078
- this.flexDirection = computed(() => this.options()["flexDirection"]?.id);
8079
- this.gap = computed(() => this.options()["gap"] ?? 0);
8307
+ this.colSpan = computed(() => this.options()['colSpan']);
8308
+ this.colStart = computed(() => this.options()['colStart']);
8309
+ this.colEnd = computed(() => this.options()['colEnd']);
8310
+ this.flexAlignItems = computed(() => this.options()['flexAlignItems']?.id);
8311
+ this.flexJustifyContent = computed(() => this.options()['flexJustifyContent']?.id);
8312
+ this.flexWrap = computed(() => this.options()['flexWrap']?.id);
8313
+ this.flexDirection = computed(() => this.options()['flexDirection']?.id);
8314
+ this.gap = computed(() => this.options()['gap'] ?? 0);
8080
8315
  }
8081
8316
  async handleSlotClick() {
8082
8317
  await this.designerService.showPicker(this.node);
@@ -8120,14 +8355,14 @@ class AXPGridItemWidgetDesignerComponent extends AXPContainerWidgetComponent {
8120
8355
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
8121
8356
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridItemWidgetDesignerComponent, isStandalone: true, selector: "axp-grid-layout-item-widget", host: { properties: { "class": "this.__class" } }, providers: [
8122
8357
  {
8123
- provide: AXPContainerWidgetComponent, useExisting: AXPGridItemWidgetDesignerComponent
8124
- }
8358
+ provide: AXPContainerWidgetComponent,
8359
+ useExisting: AXPGridItemWidgetDesignerComponent,
8360
+ },
8125
8361
  ], usesInheritance: true, ngImport: i0, template: `
8126
- @for (node of children(); track $index) {
8127
- <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
8128
- }
8129
- @empty {
8130
- <div class="axp-empty-space ax-flex-1 ax-flex ax-justify-center ax-items-center" >
8362
+ @for (child of children(); track $index) {
8363
+ <ng-container axp-widget-designer-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
8364
+ } @empty {
8365
+ <div class="axp-empty-space ax-flex-1 ax-flex ax-justify-center ax-items-center">
8131
8366
  <div class="ax-m-auto ax-p-4 ax-text-primary-500 hover:ax-text-primary-800" (click)="handleSlotClick()">
8132
8367
  <i class="fa-solid fa-plus "></i>
8133
8368
  </div>
@@ -8140,11 +8375,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
8140
8375
  args: [{
8141
8376
  selector: 'axp-grid-layout-item-widget',
8142
8377
  template: `
8143
- @for (node of children(); track $index) {
8144
- <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
8145
- }
8146
- @empty {
8147
- <div class="axp-empty-space ax-flex-1 ax-flex ax-justify-center ax-items-center" >
8378
+ @for (child of children(); track $index) {
8379
+ <ng-container axp-widget-designer-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
8380
+ } @empty {
8381
+ <div class="axp-empty-space ax-flex-1 ax-flex ax-justify-center ax-items-center">
8148
8382
  <div class="ax-m-auto ax-p-4 ax-text-primary-500 hover:ax-text-primary-800" (click)="handleSlotClick()">
8149
8383
  <i class="fa-solid fa-plus "></i>
8150
8384
  </div>
@@ -8153,12 +8387,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
8153
8387
  `,
8154
8388
  standalone: true,
8155
8389
  changeDetection: ChangeDetectionStrategy.OnPush,
8156
- imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent, AXPDesignerGridDrawerComponent],
8390
+ imports: [
8391
+ CommonModule,
8392
+ AXPLayoutBuilderModule,
8393
+ AXPWidgetDesignerRendererDirective,
8394
+ AXPDesignerAddWidgetButtonComponent,
8395
+ AXPDesignerGridDrawerComponent,
8396
+ ],
8157
8397
  providers: [
8158
8398
  {
8159
- provide: AXPContainerWidgetComponent, useExisting: AXPGridItemWidgetDesignerComponent
8160
- }
8161
- ]
8399
+ provide: AXPContainerWidgetComponent,
8400
+ useExisting: AXPGridItemWidgetDesignerComponent,
8401
+ },
8402
+ ],
8162
8403
  }]
8163
8404
  }], propDecorators: { __class: [{
8164
8405
  type: HostBinding,
@@ -8199,16 +8440,36 @@ const AXPGridItemWidget = {
8199
8440
  };
8200
8441
 
8201
8442
  class AXPGridRowWidgetViewComponent extends AXPWidgetComponent {
8443
+ constructor() {
8444
+ super(...arguments);
8445
+ this.cols = computed(() => this.options()['cols'] ?? 1);
8446
+ this.rows = computed(() => this.options()['rows'] ?? 1);
8447
+ this.gap = computed(() => this.options()['gap'] ?? 0);
8448
+ }
8202
8449
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
8203
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPGridRowWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8450
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridRowWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
8451
+ <div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
8452
+ @for (child of children(); track $index) {
8453
+ <ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
8454
+ <!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
8455
+ }
8456
+ </div>
8457
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8204
8458
  }
8205
8459
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetViewComponent, decorators: [{
8206
8460
  type: Component,
8207
8461
  args: [{
8208
- template: ``,
8462
+ template: `
8463
+ <div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
8464
+ @for (child of children(); track $index) {
8465
+ <ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
8466
+ <!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
8467
+ }
8468
+ </div>
8469
+ `,
8209
8470
  standalone: true,
8210
8471
  changeDetection: ChangeDetectionStrategy.OnPush,
8211
- imports: [CommonModule]
8472
+ imports: [CommonModule, AXPLayoutBuilderModule],
8212
8473
  }]
8213
8474
  }] });
8214
8475
 
@@ -8345,6 +8606,76 @@ const AXPGridRowWidget = {
8345
8606
  }
8346
8607
  };
8347
8608
 
8609
+ class AXPTextBlockWidgetViewComponent extends AXPWidgetComponent {
8610
+ constructor() {
8611
+ super(...arguments);
8612
+ this.sanitizer = inject(DomSanitizer);
8613
+ this.content = computed(() => this.options()['content']);
8614
+ this.innerContent = computed(() => this.sanitizer.bypassSecurityTrustHtml(this.content()));
8615
+ }
8616
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBlockWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
8617
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPTextBlockWidgetViewComponent, isStandalone: true, selector: "axp-text-block-widget", usesInheritance: true, ngImport: i0, template: `
8618
+ <div [innerHTML]="innerContent()"></div>
8619
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8620
+ }
8621
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBlockWidgetViewComponent, decorators: [{
8622
+ type: Component,
8623
+ args: [{
8624
+ selector: "axp-text-block-widget",
8625
+ template: `
8626
+ <div [innerHTML]="innerContent()"></div>
8627
+ `,
8628
+ standalone: true,
8629
+ changeDetection: ChangeDetectionStrategy.OnPush,
8630
+ imports: [CommonModule],
8631
+ }]
8632
+ }] });
8633
+
8634
+ var textBlockWidgetView_component = /*#__PURE__*/Object.freeze({
8635
+ __proto__: null,
8636
+ AXPTextBlockWidgetViewComponent: AXPTextBlockWidgetViewComponent
8637
+ });
8638
+
8639
+ const AXPTextBlockWidget = {
8640
+ name: 'text-block-layout',
8641
+ title: 'Text Block',
8642
+ description: 'Displays text blocks',
8643
+ icon: 'fa-solid fa-text',
8644
+ group: AXP_WIDGETS_LAYOUT_GROUP,
8645
+ type: 'view',
8646
+ properties: [
8647
+ {
8648
+ name: 'content',
8649
+ title: 'Content',
8650
+ group: AXP_BEHAVIOR_PROPERTY_GROUP,
8651
+ schema: {
8652
+ dataType: 'string',
8653
+ defaultValue: 'Text Block',
8654
+ interface: {
8655
+ name: 'content',
8656
+ path: 'options.content',
8657
+ type: AXPWidgetsCatalog.richText,
8658
+ },
8659
+ },
8660
+ visible: true,
8661
+ },
8662
+ ],
8663
+ components: {
8664
+ view: {
8665
+ component: () => Promise.resolve().then(function () { return textBlockWidgetView_component; }).then((c) => c.AXPTextBlockWidgetViewComponent),
8666
+ },
8667
+ edit: {
8668
+ component: () => Promise.resolve().then(function () { return textBlockWidgetView_component; }).then((c) => c.AXPTextBlockWidgetViewComponent),
8669
+ },
8670
+ print: {
8671
+ component: () => Promise.resolve().then(function () { return textBlockWidgetView_component; }).then((c) => c.AXPTextBlockWidgetViewComponent),
8672
+ },
8673
+ designer: {
8674
+ component: () => import('./acorex-platform-widgets-text-block-widget-designer.component-Bi9hlpvB.mjs').then((c) => c.AXPTextBlockWidgetDesignerComponent),
8675
+ },
8676
+ },
8677
+ };
8678
+
8348
8679
  class AXPWidgetsModule {
8349
8680
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPWidgetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8350
8681
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXPWidgetsModule, imports: [i1$7.AXPLayoutBuilderModule] }); }
@@ -8372,9 +8703,9 @@ class AXPWidgetsModule {
8372
8703
  AXPSelectionListWidget,
8373
8704
  AXPLargeTextWidget,
8374
8705
  AXPMapBoxWidget,
8375
- AXPPhoneBoxWidget,
8376
- AXPEmailBoxWidget,
8377
- AXPLinkWidget,
8706
+ //AXPPhoneBoxWidget,
8707
+ //AXPEmailBoxWidget,
8708
+ //AXPLinkWidget,
8378
8709
  AXPFileBoxWidget,
8379
8710
  AXPQrcodeWidget,
8380
8711
  AXPPasswordBoxWidget,
@@ -8414,9 +8745,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
8414
8745
  AXPSelectionListWidget,
8415
8746
  AXPLargeTextWidget,
8416
8747
  AXPMapBoxWidget,
8417
- AXPPhoneBoxWidget,
8418
- AXPEmailBoxWidget,
8419
- AXPLinkWidget,
8748
+ //AXPPhoneBoxWidget,
8749
+ //AXPEmailBoxWidget,
8750
+ //AXPLinkWidget,
8420
8751
  AXPFileBoxWidget,
8421
8752
  AXPQrcodeWidget,
8422
8753
  AXPPasswordBoxWidget,
@@ -8437,5 +8768,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
8437
8768
  * Generated bundle index. Do not edit.
8438
8769
  */
8439
8770
 
8440
- export { AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPButtonWidget, AXPButtonWidgetViewComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetEditComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetFilterComponent, AXPContactWidgetPrintComponent, AXPContactWidgetViewComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetFilterComponent, AXPDateTimeBoxWidgetPrintComponent, AXPDateTimeBoxWidgetViewComponent, AXPEmailBoxWidget, AXPEmailBoxWidgetColumnComponent, AXPEmailBoxWidgetEditComponent, AXPEmailBoxWidgetFilterComponent, AXPEmailBoxWidgetPrintComponent, AXPEmailBoxWidgetViewComponent, AXPFileBoxWidget, AXPFileBoxWidgetColumnComponent, AXPFileBoxWidgetEditComponent, AXPFileBoxWidgetFilterComponent, AXPFileBoxWidgetPrintComponent, AXPFileBoxWidgetViewComponent, AXPFileManagementService, AXPGalleryWidget, AXPGalleryWidgetColumnComponent, AXPGalleryWidgetEditComponent, AXPGalleryWidgetFilterComponent, AXPGalleryWidgetPrintComponent, AXPGalleryWidgetViewComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetFilterComponent, AXPLargeTextWidgetPrintComponent, AXPLargeTextWidgetViewComponent, AXPLinkWidget, AXPLinkWidgetColumnComponent, AXPLinkWidgetEditComponent, AXPLinkWidgetFilterComponent, AXPLinkWidgetPrintComponent, AXPLinkWidgetViewComponent, AXPMapBoxWidget, AXPMapBoxWidgetEditComponent, AXPMapBoxWidgetViewComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetFilterComponent, AXPNumberBoxWidgetPrintComponent, AXPNumberBoxWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetFilterComponent, AXPPasswordBoxWidgetPrintComponent, AXPPasswordBoxWidgetViewComponent, AXPPhoneBoxWidget, AXPPhoneBoxWidgetColumnComponent, AXPPhoneBoxWidgetEditComponent, AXPPhoneBoxWidgetFilterComponent, AXPPhoneBoxWidgetPrintComponent, AXPPhoneBoxWidgetViewComponent, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetPrintComponent, AXPRepeaterWidgetViewComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetFilterComponent, AXPRichTextWidgetPrintComponent, AXPRichTextWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetFilterComponent, AXPSelectBoxWidgetPrintComponent, AXPSelectBoxWidgetViewComponent, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetFilterComponent, AXPSelectionListWidgetPrintComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetFilterComponent, AXPSignatureWidgetPrintComponent, AXPSignatureWidgetViewComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetFilterComponent, AXPTextBoxWidgetPrintComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetFilterComponent, AXPToggleWidgetPrintComponent, AXPToggleWidgetViewComponent, AXPWidgetsModule, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BG_COLOR_PROPERTY, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_PROPERTY, AXP_DATE_FROMAT_PROPERTY, AXP_DESCRIPTION_PROPERTY, AXP_DIRECTION_PROPERTY, AXP_DISABLED_PROPERTY, AXP_DOWNLOADABLE_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_FONT_SIZE_PROPERTY, AXP_HAS_CLEAR_BUTTON_PROPERTY, AXP_HAS_COPY_ICON_PROPERTY, AXP_HAS_EYE_ICON_PROPERTY, AXP_HAS_ICON_PROPERTY, AXP_HAS_LABEL_PROPERTY, AXP_LABEL_PROPERTY, AXP_LAYOUT_ALIGN_CONTENT_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_COL_END_PROPERTY, AXP_LAYOUT_COL_SPAN_PROPERTY, AXP_LAYOUT_COL_START_PROPERTY, AXP_LAYOUT_FLEX_ALIGN_PROPERTY, AXP_LAYOUT_FLEX_DIRECTION_PROPERTY, AXP_LAYOUT_FLEX_JUSTIFY_PROPERTY, AXP_LAYOUT_FLEX_PROPERTIES, AXP_LAYOUT_FLEX_PROPERTY_GROUP, AXP_LAYOUT_FLEX_WRAP_PROPERTY, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_GRID_ITEM_PROPERTIES, AXP_LAYOUT_GRID_PROPERTIES, AXP_LAYOUT_GRID_PROPERTY_GROUP, AXP_LAYOUT_GRID_ROW_PROPERTIES, AXP_LAYOUT_ROWS_PROPERTY, AXP_NAME_PROPERTY, AXP_PLACEHOLDER_PROPERTY, AXP_READONLY_PROPERTY, AXP_STYLE_COLOR_PROPERTY, AXP_STYLE_LOOK_PROPERTY, AXP_STYLING_PROPERTY_GROUP, AXP_TABLE_COLUMN_WIDTH_PROPERTY, AXP_TEXT_FIELD_PROPERTY, AXP_TEXT_PROPERTY, AXP_THEME_PROPERTY, AXP_TITLE_PROPERTY, AXP_TRULY_TEXT_PROPERTY, AXP_VALIDATION_PROPERTY, AXP_VALUE_FIELD_PROPERTY, AXP_WIDGET_PROPERTY_GROUP, booleanDefaultProperty, plainTextDefaultProperty };
8771
+ export { AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPButtonWidget, AXPButtonWidgetViewComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetEditComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetPrintComponent, AXPContactWidgetViewComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetFilterComponent, AXPDateTimeBoxWidgetPrintComponent, AXPDateTimeBoxWidgetViewComponent, AXPEmailBoxWidget, AXPEmailBoxWidgetColumnComponent, AXPEmailBoxWidgetEditComponent, AXPEmailBoxWidgetFilterComponent, AXPEmailBoxWidgetPrintComponent, AXPEmailBoxWidgetViewComponent, AXPFileBoxWidget, AXPFileBoxWidgetColumnComponent, AXPFileBoxWidgetEditComponent, AXPFileBoxWidgetFilterComponent, AXPFileBoxWidgetPrintComponent, AXPFileBoxWidgetViewComponent, AXPFileManagementService, AXPGalleryWidget, AXPGalleryWidgetColumnComponent, AXPGalleryWidgetEditComponent, AXPGalleryWidgetFilterComponent, AXPGalleryWidgetPrintComponent, AXPGalleryWidgetViewComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetFilterComponent, AXPLargeTextWidgetPrintComponent, AXPLargeTextWidgetViewComponent, AXPLinkWidget, AXPLinkWidgetColumnComponent, AXPLinkWidgetEditComponent, AXPLinkWidgetFilterComponent, AXPLinkWidgetPrintComponent, AXPLinkWidgetViewComponent, AXPMapBoxWidget, AXPMapBoxWidgetEditComponent, AXPMapBoxWidgetViewComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetFilterComponent, AXPNumberBoxWidgetPrintComponent, AXPNumberBoxWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetFilterComponent, AXPPasswordBoxWidgetPrintComponent, AXPPasswordBoxWidgetViewComponent, AXPPhoneBoxWidget, AXPPhoneBoxWidgetColumnComponent, AXPPhoneBoxWidgetEditComponent, AXPPhoneBoxWidgetFilterComponent, AXPPhoneBoxWidgetPrintComponent, AXPPhoneBoxWidgetViewComponent, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetPrintComponent, AXPRepeaterWidgetViewComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetFilterComponent, AXPRichTextWidgetPrintComponent, AXPRichTextWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetFilterComponent, AXPSelectBoxWidgetPrintComponent, AXPSelectBoxWidgetViewComponent, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetFilterComponent, AXPSelectionListWidgetPrintComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetFilterComponent, AXPSignatureWidgetPrintComponent, AXPSignatureWidgetViewComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetFilterComponent, AXPTextBoxWidgetPrintComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetFilterComponent, AXPToggleWidgetPrintComponent, AXPToggleWidgetViewComponent, AXPWidgetsModule, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BG_COLOR_PROPERTY, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_PROPERTY, AXP_DATE_FROMAT_PROPERTY, AXP_DESCRIPTION_PROPERTY, AXP_DIRECTION_PROPERTY, AXP_DISABLED_PROPERTY, AXP_DOWNLOADABLE_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_FONT_SIZE_PROPERTY, AXP_HAS_CLEAR_BUTTON_PROPERTY, AXP_HAS_COPY_ICON_PROPERTY, AXP_HAS_EYE_ICON_PROPERTY, AXP_HAS_ICON_PROPERTY, AXP_HAS_LABEL_PROPERTY, AXP_ICON_PROPERTY, AXP_IS_LOADING_PROPERTY, AXP_LABEL_PROPERTY, AXP_LAYOUT_ALIGN_CONTENT_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_COL_END_PROPERTY, AXP_LAYOUT_COL_SPAN_PROPERTY, AXP_LAYOUT_COL_START_PROPERTY, AXP_LAYOUT_FLEX_ALIGN_PROPERTY, AXP_LAYOUT_FLEX_DIRECTION_PROPERTY, AXP_LAYOUT_FLEX_JUSTIFY_PROPERTY, AXP_LAYOUT_FLEX_PROPERTIES, AXP_LAYOUT_FLEX_PROPERTY_GROUP, AXP_LAYOUT_FLEX_WRAP_PROPERTY, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_GRID_ITEM_PROPERTIES, AXP_LAYOUT_GRID_PROPERTIES, AXP_LAYOUT_GRID_PROPERTY_GROUP, AXP_LAYOUT_GRID_ROW_PROPERTIES, AXP_LAYOUT_ROWS_PROPERTY, AXP_NAME_PROPERTY, AXP_PLACEHOLDER_PROPERTY, AXP_READONLY_PROPERTY, AXP_STYLE_COLOR_PROPERTY, AXP_STYLE_LOOK_PROPERTY, AXP_STYLING_PROPERTY_GROUP, AXP_TABLE_COLUMN_HEIGHT_PROPERTY, AXP_TABLE_COLUMN_WIDTH_PROPERTY, AXP_TEXT_FIELD_PROPERTY, AXP_TEXT_PROPERTY, AXP_THEME_PROPERTY, AXP_TITLE_PROPERTY, AXP_TRULY_TEXT_PROPERTY, AXP_VALIDATION_PROPERTY, AXP_VALUE_FIELD_PROPERTY, AXP_WIDGET_PROPERTY_GROUP, booleanDefaultProperty, largeTextDefaultProperty, numberDefaultProperty, plainTextDefaultProperty };
8441
8772
  //# sourceMappingURL=acorex-platform-widgets.mjs.map