@acorex/platform 18.0.13 → 18.0.15

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 (188) hide show
  1. package/esm2022/auth/lib/session.service.mjs +7 -5
  2. package/esm2022/layout/builder/lib/builder/widget-catalog.mjs +4 -2
  3. package/esm2022/layout/builder/lib/builder/widget.types.mjs +8 -2
  4. package/esm2022/layout/designer/index.mjs +2 -2
  5. package/esm2022/layout/designer/lib/board/board.component.mjs +27 -7
  6. package/esm2022/layout/designer/lib/designer/designer.component.mjs +5 -4
  7. package/esm2022/layout/designer/lib/designer.service.mjs +6 -4
  8. package/esm2022/layout/designer/lib/header-menu/header-menu.component.mjs +1 -1
  9. package/esm2022/layout/designer/lib/helpers/add-widget-button/add-widget-button.component.mjs +3 -3
  10. package/esm2022/layout/designer/lib/helpers/grid-drawer/grid-drawer.component.mjs +3 -3
  11. package/esm2022/layout/designer/lib/outline/outline.component.mjs +3 -3
  12. package/esm2022/layout/designer/lib/preview/preview.component.mjs +20 -0
  13. package/esm2022/layout/designer/lib/widget-designer-renderer.directive.mjs +224 -0
  14. package/esm2022/layout/designer/lib/widget-picker/widget-picker.component.mjs +3 -3
  15. package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +15 -5
  16. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +30 -17
  17. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +19 -9
  18. package/esm2022/widgets/lib/properties/editors.props.mjs +20 -96
  19. package/esm2022/widgets/lib/properties/general.props.mjs +96 -0
  20. package/esm2022/widgets/lib/properties/index.mjs +3 -1
  21. package/esm2022/widgets/lib/properties/layout.props.mjs +216 -6
  22. package/esm2022/widgets/lib/widgets/actions/button/button-widget-designer.component.mjs +54 -0
  23. package/esm2022/widgets/lib/widgets/actions/button/button-widget-view.component.mjs +3 -2
  24. package/esm2022/widgets/lib/widgets/actions/button/button-widget.config.mjs +2 -2
  25. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-edit.component.mjs +13 -4
  26. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget.config.mjs +3 -2
  27. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-edit.component.mjs +13 -4
  28. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-edit.component.mjs +12 -3
  29. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget.config.mjs +8 -3
  30. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget-view.component.mjs +16 -7
  31. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget.config.mjs +5 -4
  32. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-edit.component.mjs +12 -3
  33. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget.config.mjs +3 -2
  34. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-designer.component.mjs +54 -0
  35. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.mjs +21 -21
  36. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-view.component.mjs +4 -1
  37. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget.config.mjs +13 -4
  38. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-designer.component.mjs +53 -0
  39. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-edit.component.mjs +24 -12
  40. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget.config.mjs +14 -6
  41. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-edit.component.mjs +13 -4
  42. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.mjs +13 -4
  43. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget.config.mjs +4 -2
  44. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-edit.component.mjs +13 -4
  45. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget.config.mjs +3 -2
  46. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.mjs +13 -4
  47. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget.config.mjs +3 -2
  48. package/esm2022/widgets/lib/widgets/editors/link/link-widget-edit.component.mjs +13 -4
  49. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-edit.component.mjs +13 -4
  50. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget.config.mjs +3 -2
  51. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-edit.component.mjs +12 -8
  52. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget.config.mjs +3 -2
  53. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-edit.component.mjs +13 -4
  54. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.mjs +15 -6
  55. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget.config.mjs +3 -2
  56. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-edit.component.mjs +12 -3
  57. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-view.component.mjs +13 -4
  58. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.mjs +13 -4
  59. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-edit.component.mjs +13 -4
  60. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget.config.mjs +3 -2
  61. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-edit.component.mjs +14 -4
  62. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget.config.mjs +3 -2
  63. package/esm2022/widgets/lib/widgets/layout/block/block-widget-designer.component.mjs +40 -17
  64. package/esm2022/widgets/lib/widgets/layout/block/block-widget-view.component.mjs +17 -3
  65. package/esm2022/widgets/lib/widgets/layout/block/block-widget.config.mjs +8 -3
  66. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.mjs +19 -9
  67. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget.config.mjs +3 -2
  68. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-designer.component.mjs +47 -42
  69. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget.config.mjs +9 -6
  70. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-designer.component.mjs +105 -0
  71. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-print.component.mjs +19 -0
  72. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-view.component.mjs +18 -0
  73. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget.config.mjs +31 -0
  74. package/esm2022/widgets/lib/widgets/layout/grid-item/index.mjs +5 -0
  75. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-designer.component.mjs +84 -0
  76. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-print.component.mjs +19 -0
  77. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-view.component.mjs +18 -0
  78. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget.config.mjs +28 -0
  79. package/esm2022/widgets/lib/widgets/layout/grid-row/index.mjs +5 -0
  80. package/esm2022/widgets/lib/widgets/layout/page/page-widget-designer.component.mjs +8 -9
  81. package/esm2022/widgets/lib/widgets/layout/page/page-widget-view.component.mjs +1 -2
  82. package/esm2022/widgets/lib/widgets/layout/page/page-widget.config.mjs +2 -2
  83. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-designer.component.mjs +6 -6
  84. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget-designer.component.mjs +38 -0
  85. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget-view.component.mjs +3 -2
  86. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget.config.mjs +4 -5
  87. package/esm2022/widgets/lib/widgets.module.mjs +7 -1
  88. package/fesm2022/acorex-platform-auth.mjs +6 -4
  89. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  90. package/fesm2022/acorex-platform-layout-builder.mjs +10 -2
  91. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  92. package/fesm2022/acorex-platform-layout-designer-preview.component-9dJh_ulU.mjs +23 -0
  93. package/fesm2022/acorex-platform-layout-designer-preview.component-9dJh_ulU.mjs.map +1 -0
  94. package/fesm2022/{acorex-platform-layout-designer-widget-picker.component-CaMaBGON.mjs → acorex-platform-layout-designer-widget-picker.component-DXgcm-fP.mjs} +3 -3
  95. package/fesm2022/acorex-platform-layout-designer-widget-picker.component-DXgcm-fP.mjs.map +1 -0
  96. package/fesm2022/acorex-platform-layout-designer.mjs +91 -85
  97. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  98. package/fesm2022/acorex-platform-layout-entity.mjs +12 -2
  99. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  100. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-DKNRxpQk.mjs → acorex-platform-themes-default-entity-master-create-view.component-BGT0puX_.mjs} +25 -15
  101. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BGT0puX_.mjs.map +1 -0
  102. package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-BDk03AnX.mjs → acorex-platform-themes-default-entity-master-modify-view.component-BHo31YVi.mjs} +7 -7
  103. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BHo31YVi.mjs.map +1 -0
  104. package/fesm2022/{acorex-platform-themes-default-error-401.component-D5QQ2HAv.mjs → acorex-platform-themes-default-error-401.component-zyAGwz2j.mjs} +3 -3
  105. package/fesm2022/{acorex-platform-themes-default-error-401.component-D5QQ2HAv.mjs.map → acorex-platform-themes-default-error-401.component-zyAGwz2j.mjs.map} +1 -1
  106. package/fesm2022/{acorex-platform-themes-default-error-404.component-DSY_D3Iq.mjs → acorex-platform-themes-default-error-404.component-DcxQ89LL.mjs} +3 -3
  107. package/fesm2022/{acorex-platform-themes-default-error-404.component-DSY_D3Iq.mjs.map → acorex-platform-themes-default-error-404.component-DcxQ89LL.mjs.map} +1 -1
  108. package/fesm2022/{acorex-platform-themes-default-error-offline.component-B6wSkMdd.mjs → acorex-platform-themes-default-error-offline.component-BMB6D5Cx.mjs} +3 -3
  109. package/fesm2022/{acorex-platform-themes-default-error-offline.component-B6wSkMdd.mjs.map → acorex-platform-themes-default-error-offline.component-BMB6D5Cx.mjs.map} +1 -1
  110. package/fesm2022/acorex-platform-themes-default.mjs +40 -34
  111. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  112. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs +57 -0
  113. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs.map +1 -0
  114. package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-DfUr_DMU.mjs +57 -0
  115. package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-DfUr_DMU.mjs.map +1 -0
  116. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-BCsej7C6.mjs → acorex-platform-widgets-checkbox-widget-view.component-tPk6Gylo.mjs} +4 -1
  117. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-tPk6Gylo.mjs.map +1 -0
  118. package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-BF24k3Y-.mjs +56 -0
  119. package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-BF24k3Y-.mjs.map +1 -0
  120. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DlfG4EP1.mjs → acorex-platform-widgets-page-widget-designer.component-6BMZ0qRw.mjs} +8 -9
  121. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-6BMZ0qRw.mjs.map +1 -0
  122. package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-Bi9hlpvB.mjs +41 -0
  123. package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-Bi9hlpvB.mjs.map +1 -0
  124. package/fesm2022/acorex-platform-widgets.mjs +1165 -363
  125. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  126. package/layout/builder/lib/builder/widget.types.d.ts +6 -1
  127. package/layout/designer/index.d.ts +1 -1
  128. package/layout/designer/lib/board/board.component.d.ts +2 -0
  129. package/layout/designer/lib/designer.service.d.ts +1 -1
  130. package/layout/designer/lib/preview/preview.component.d.ts +8 -0
  131. package/layout/designer/lib/{widget-designer-renderer.component.d.ts → widget-designer-renderer.directive.d.ts} +6 -7
  132. package/package.json +18 -17
  133. package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +4 -1
  134. package/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.d.ts +1 -1
  135. package/widgets/lib/properties/editors.props.d.ts +1 -5
  136. package/widgets/lib/properties/general.props.d.ts +6 -0
  137. package/widgets/lib/properties/index.d.ts +2 -0
  138. package/widgets/lib/properties/layout.props.d.ts +15 -1
  139. package/widgets/lib/widgets/actions/button/button-widget-designer.component.d.ts +15 -0
  140. package/widgets/lib/widgets/actions/button/button-widget-view.component.d.ts +1 -1
  141. package/widgets/lib/widgets/advance/file/file-box-widget-edit.component.d.ts +1 -0
  142. package/widgets/lib/widgets/advance/gallery/gallery-widget-edit.component.d.ts +1 -0
  143. package/widgets/lib/widgets/advance/map/map-box-widget-edit.component.d.ts +1 -0
  144. package/widgets/lib/widgets/advance/qrcode/qrcode-widget-view.component.d.ts +1 -0
  145. package/widgets/lib/widgets/advance/signature/signature-pad-widget-edit.component.d.ts +1 -0
  146. package/widgets/lib/widgets/editors/checkbox/checkbox-widget-designer.component.d.ts +10 -0
  147. package/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.d.ts +2 -5
  148. package/widgets/lib/widgets/editors/checkbox/checkbox-widget-view.component.d.ts +3 -0
  149. package/widgets/lib/widgets/editors/color/color-box-widget-designer.component.d.ts +11 -0
  150. package/widgets/lib/widgets/editors/color/color-box-widget-edit.component.d.ts +3 -0
  151. package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +1 -0
  152. package/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.d.ts +1 -0
  153. package/widgets/lib/widgets/editors/email/email-box-widget-edit.component.d.ts +1 -0
  154. package/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.d.ts +1 -0
  155. package/widgets/lib/widgets/editors/link/link-widget-edit.component.d.ts +1 -0
  156. package/widgets/lib/widgets/editors/number/number-box-widget-edit.component.d.ts +1 -0
  157. package/widgets/lib/widgets/editors/password/password-box-widget-edit.component.d.ts +1 -2
  158. package/widgets/lib/widgets/editors/phone/phone-box-widget-edit.component.d.ts +1 -0
  159. package/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.d.ts +1 -0
  160. package/widgets/lib/widgets/editors/select/select-box-widget-edit.component.d.ts +1 -0
  161. package/widgets/lib/widgets/editors/select/select-box-widget-view.component.d.ts +1 -0
  162. package/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.d.ts +1 -0
  163. package/widgets/lib/widgets/editors/text/text-box-widget-edit.component.d.ts +1 -0
  164. package/widgets/lib/widgets/editors/toggle/toggle-widget-edit.component.d.ts +2 -1
  165. package/widgets/lib/widgets/layout/block/block-widget-designer.component.d.ts +5 -1
  166. package/widgets/lib/widgets/layout/block/block-widget-view.component.d.ts +3 -0
  167. package/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.d.ts +2 -1
  168. package/widgets/lib/widgets/layout/grid/grid-widget-designer.component.d.ts +2 -5
  169. package/widgets/lib/widgets/layout/grid/grid-widget.config.d.ts +1 -1
  170. package/widgets/lib/widgets/layout/grid-item/grid-item-widget-designer.component.d.ts +17 -0
  171. package/widgets/lib/widgets/layout/grid-item/grid-item-widget-print.component.d.ts +6 -0
  172. package/widgets/lib/widgets/layout/grid-item/grid-item-widget-view.component.d.ts +6 -0
  173. package/widgets/lib/widgets/layout/grid-item/grid-item-widget.config.d.ts +7 -0
  174. package/widgets/lib/widgets/layout/grid-item/index.d.ts +4 -0
  175. package/widgets/lib/widgets/layout/grid-row/grid-row-widget-designer.component.d.ts +15 -0
  176. package/widgets/lib/widgets/layout/grid-row/grid-row-widget-print.component.d.ts +6 -0
  177. package/widgets/lib/widgets/layout/grid-row/grid-row-widget-view.component.d.ts +6 -0
  178. package/widgets/lib/widgets/layout/grid-row/grid-row-widget.config.d.ts +7 -0
  179. package/widgets/lib/widgets/layout/grid-row/index.d.ts +4 -0
  180. package/widgets/lib/widgets/layout/page/page-widget-designer.component.d.ts +3 -2
  181. package/widgets/lib/widgets/layout/text-block/text-block-widget-designer.component.d.ts +11 -0
  182. package/widgets/lib/widgets/layout/text-block/text-block-widget-view.component.d.ts +1 -1
  183. package/esm2022/layout/designer/lib/widget-designer-renderer.component.mjs +0 -243
  184. package/fesm2022/acorex-platform-layout-designer-widget-picker.component-CaMaBGON.mjs.map +0 -1
  185. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-DKNRxpQk.mjs.map +0 -1
  186. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDk03AnX.mjs.map +0 -1
  187. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-BCsej7C6.mjs.map +0 -1
  188. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-DlfG4EP1.mjs.map +0 -1
@@ -3,24 +3,25 @@ import { AXButtonModule } from '@acorex/components/button';
3
3
  import * as i4 from '@acorex/components/loading';
4
4
  import { AXLoadingModule } from '@acorex/components/loading';
5
5
  import * as i1$5 from '@acorex/platform/layout/builder';
6
- import { AXPWidgetComponent, AXPWidgetsCatalog, AXP_WIDGETS_ACTION_GROUP, cloneProperty, AXP_WIDGETS_EDITOR_GROUP, AXPColumnWidgetComponent, AXP_WIDGETS_ADVANCE_GROUP, AXPContainerWidgetComponent, AXPLayoutBuilderModule, AXP_WIDGETS_LAYOUT_GROUP } from '@acorex/platform/layout/builder';
6
+ import { AXPWidgetComponent, AXPWidgetsCatalog, cloneProperty, AXP_WIDGETS_ACTION_GROUP, AXP_WIDGETS_EDITOR_GROUP, AXPColumnWidgetComponent, AXP_WIDGETS_ADVANCE_GROUP, AXPContainerWidgetComponent, AXPLayoutBuilderModule, AXP_WIDGETS_LAYOUT_GROUP } from '@acorex/platform/layout/builder';
7
7
  import * as i1$2 from '@angular/common';
8
8
  import { CommonModule } from '@angular/common';
9
9
  import * as i0 from '@angular/core';
10
- import { computed, EventEmitter, Component, ChangeDetectionStrategy, inject, signal, ViewEncapsulation, ViewChild, effect, HostBinding, ElementRef, NgModule } from '@angular/core';
10
+ import { computed, EventEmitter, Component, ChangeDetectionStrategy, inject, HostBinding, signal, ViewEncapsulation, ViewChild, effect, HostListener, NgModule } from '@angular/core';
11
11
  import { AX_STYLE_COLOR_TYPES, AXDataSource } from '@acorex/components/common';
12
12
  import * as i1 from '@acorex/components/check-box';
13
13
  import { AXCheckBoxModule } from '@acorex/components/check-box';
14
- import * as i3 from '@acorex/components/decorators';
15
- import { AXDecoratorModule } from '@acorex/components/decorators';
16
- import * as i4$1 from '@acorex/components/form';
17
- import { AXFormModule } from '@acorex/components/form';
18
- import { AXValidationService, AXValidationModule } from '@acorex/core/validation';
19
14
  import * as i2 from '@angular/forms';
20
15
  import { FormsModule } from '@angular/forms';
21
- import * as i2$1 from '@acorex/components/badge';
16
+ import * as i2$1 from '@acorex/components/label';
17
+ import { AXLabelModule } from '@acorex/components/label';
18
+ import * as i2$2 from '@acorex/components/badge';
22
19
  import { AXBadgeModule } from '@acorex/components/badge';
20
+ import * as i3 from '@acorex/components/decorators';
21
+ import { AXDecoratorModule } from '@acorex/components/decorators';
23
22
  import { AXPClipBoardService } from '@acorex/platform/common';
23
+ import * as i4$1 from '@acorex/components/form';
24
+ import { AXFormModule } from '@acorex/components/form';
24
25
  import { AXPopupService } from '@acorex/components/popup';
25
26
  import * as i3$1 from '@acorex/components/select-box';
26
27
  import { AXSelectBoxModule, AXSelectBoxComponent } from '@acorex/components/select-box';
@@ -28,6 +29,7 @@ import * as i7 from '@acorex/components/text-box';
28
29
  import { AXTextBoxModule } from '@acorex/components/text-box';
29
30
  import * as i1$1 from '@acorex/core/translation';
30
31
  import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
32
+ import { AXValidationModule, AXValidationService } from '@acorex/core/validation';
31
33
  import { AXBasePageComponent } from '@acorex/components/page';
32
34
  import { AXDateTimeFormatter } from '@acorex/core/date-time';
33
35
  import * as i3$2 from '@acorex/components/datetime-box';
@@ -35,7 +37,7 @@ import { AXDateTimeBoxModule } from '@acorex/components/datetime-box';
35
37
  import * as i4$2 from '@acorex/components/text-area';
36
38
  import { AXTextAreaModule } from '@acorex/components/text-area';
37
39
  import { AXFormatService } from '@acorex/core/format';
38
- import { isNumber } from 'lodash-es';
40
+ import { isNumber, sum, get } from 'lodash-es';
39
41
  import * as i1$3 from '@acorex/components/number-box';
40
42
  import { AXNumberBoxModule } from '@acorex/components/number-box';
41
43
  import * as i3$3 from '@acorex/components/password-box';
@@ -44,27 +46,25 @@ import { AXPlatform } from '@acorex/core/platform';
44
46
  import { AXPHtmlUtils } from '@acorex/platform/core';
45
47
  import * as i1$4 from '@acorex/components/wysiwyg';
46
48
  import { AXWysiwygModule } from '@acorex/components/wysiwyg';
47
- import * as i2$2 from '@acorex/components/selection-list';
49
+ import * as i2$3 from '@acorex/components/selection-list';
48
50
  import { AXSelectionListModule } from '@acorex/components/selection-list';
49
- import * as i2$3 from '@acorex/components/switch';
51
+ import * as i2$4 from '@acorex/components/switch';
50
52
  import { AXSwitchModule } from '@acorex/components/switch';
51
53
  import * as i5$1 from '@acorex/components/uploader';
52
54
  import { AXUploaderModule } from '@acorex/components/uploader';
53
55
  import { AXLoadingDialogService } from '@acorex/components/loading-dialog';
54
56
  import { Subscription } from 'rxjs';
55
- import * as i2$4 from '@acorex/components/image';
57
+ import * as i2$5 from '@acorex/components/image';
56
58
  import { AXImageModule } from '@acorex/components/image';
57
59
  import * as L from 'leaflet';
58
60
  import 'leaflet-draw';
59
61
  import 'leaflet.locatecontrol';
60
- import { AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent, AXPDesignerService, AXPDesignerGridDrawerComponent } from '@acorex/platform/layout/designer';
61
- import * as i2$5 from '@acorex/components/color-box';
62
+ import { AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent, AXPDesignerService, AXPDesignerGridDrawerComponent } from '@acorex/platform/layout/designer';
63
+ import * as i2$6 from '@acorex/components/color-box';
62
64
  import { AXColorBoxModule } from '@acorex/components/color-box';
63
65
  import { DomSanitizer } from '@angular/platform-browser';
64
- import * as i2$6 from '@acorex/components/label';
65
- import { AXLabelModule } from '@acorex/components/label';
66
66
  import * as i1$6 from '@acorex/components/qrcode';
67
- import { QrcodeModule } from '@acorex/components/qrcode';
67
+ import { AXQrcodeModule } from '@acorex/components/qrcode';
68
68
  import { AXColorUtil } from '@acorex/core/utils';
69
69
 
70
70
  class AXPButtonWidgetViewComponent extends AXPWidgetComponent {
@@ -86,7 +86,7 @@ class AXPButtonWidgetViewComponent extends AXPWidgetComponent {
86
86
  };
87
87
  }
88
88
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPButtonWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
89
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPButtonWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
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
90
  <ax-button (onClick)="handleClick($event)" [disabled]="disabled()" [color]="color()" [look]="look()" [text]="text()">
91
91
  @if(loading()){
92
92
  <ax-loading> </ax-loading>
@@ -97,6 +97,7 @@ class AXPButtonWidgetViewComponent extends AXPWidgetComponent {
97
97
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPButtonWidgetViewComponent, decorators: [{
98
98
  type: Component,
99
99
  args: [{
100
+ selector: 'axp_button_widget',
100
101
  template: `
101
102
  <ax-button (onClick)="handleClick($event)" [disabled]="disabled()" [color]="color()" [look]="look()" [text]="text()">
102
103
  @if(loading()){
@@ -137,30 +138,110 @@ const AXP_WIDGET_PROPERTY_GROUP = {
137
138
  title: "Widget"
138
139
  };
139
140
 
140
- const AXP_VALIDATION_PROPERTY = {
141
- name: 'validationRules',
142
- title: 'Validation Rules',
143
- group: AXP_DATA_PROPERTY_GROUP,
141
+ const AXP_NAME_PROPERTY = {
142
+ name: 'name',
143
+ title: 'Name',
144
+ group: AXP_WIDGET_PROPERTY_GROUP,
144
145
  schema: {
145
- dataType: 'array',
146
- defaultValue: [],
146
+ dataType: 'string',
147
147
  interface: {
148
+ name: 'name',
149
+ path: 'name',
148
150
  type: AXPWidgetsCatalog.text,
149
- path: 'validationRules',
150
151
  },
151
152
  },
152
153
  visible: true,
153
154
  };
154
- const AXP_NAME_PROPERTY = {
155
- name: 'name',
156
- title: 'Name',
157
- group: AXP_WIDGET_PROPERTY_GROUP,
155
+ const AXP_THEME_PROPERTY = {
156
+ name: 'theme',
157
+ title: 'Theme',
158
+ group: AXP_STYLING_PROPERTY_GROUP,
158
159
  schema: {
159
160
  dataType: 'string',
161
+ defaultValue: { id: 'default' },
162
+ interface: {
163
+ name: 'theme',
164
+ path: 'options.theme',
165
+ type: AXPWidgetsCatalog.select,
166
+ options: {
167
+ hasClearButton: false,
168
+ dataSource: [
169
+ {
170
+ id: 'default',
171
+ title: 'Default',
172
+ },
173
+ {
174
+ id: 'light',
175
+ title: 'Light',
176
+ },
177
+ {
178
+ id: 'dark',
179
+ title: 'Dark',
180
+ },
181
+ ],
182
+ },
183
+ },
184
+ },
185
+ visible: true,
186
+ };
187
+ const AXP_COLOR_PROPERTY = {
188
+ name: 'color',
189
+ title: 'Color',
190
+ group: AXP_STYLING_PROPERTY_GROUP,
191
+ schema: {
192
+ dataType: 'string',
193
+ interface: {
194
+ path: 'options.color',
195
+ options: {
196
+ hasClearButton: true,
197
+ },
198
+ type: AXPWidgetsCatalog.color,
199
+ },
200
+ },
201
+ visible: true,
202
+ };
203
+ const AXP_FONT_SIZE_PROPERTY = {
204
+ name: 'fontSize',
205
+ title: 'Font Size',
206
+ group: AXP_STYLING_PROPERTY_GROUP,
207
+ schema: {
208
+ dataType: 'string',
209
+ defaultValue: '12px',
210
+ interface: {
211
+ name: 'fontSize',
212
+ path: 'options.fontSize',
213
+ type: AXPWidgetsCatalog.text,
214
+ },
215
+ },
216
+ visible: true,
217
+ };
218
+ const AXP_BG_COLOR_PROPERTY = {
219
+ name: 'backgroundColor',
220
+ title: 'Background Color',
221
+ group: AXP_STYLING_PROPERTY_GROUP,
222
+ schema: {
223
+ dataType: 'string',
224
+ interface: {
225
+ path: 'options.backgroundColor',
226
+ options: {
227
+ hasClearButton: true,
228
+ },
229
+ type: AXPWidgetsCatalog.color,
230
+ },
231
+ },
232
+ visible: true,
233
+ };
234
+
235
+ const AXP_VALIDATION_PROPERTY = {
236
+ name: 'validationRules',
237
+ title: 'Validation Rules',
238
+ group: AXP_DATA_PROPERTY_GROUP,
239
+ schema: {
240
+ dataType: 'array',
241
+ defaultValue: [],
160
242
  interface: {
161
- name: 'name',
162
- path: 'name',
163
243
  type: AXPWidgetsCatalog.text,
244
+ path: 'validationRules',
164
245
  },
165
246
  },
166
247
  visible: true,
@@ -171,6 +252,7 @@ const AXP_DISABLED_PROPERTY = {
171
252
  group: AXP_BEHAVIOR_PROPERTY_GROUP,
172
253
  schema: {
173
254
  dataType: 'boolean',
255
+ defaultValue: false,
174
256
  interface: {
175
257
  name: 'disabled',
176
258
  path: 'options.disabled',
@@ -179,6 +261,21 @@ const AXP_DISABLED_PROPERTY = {
179
261
  },
180
262
  visible: true,
181
263
  };
264
+ const AXP_READONLY_PROPERTY = {
265
+ name: 'readonly',
266
+ title: 'Readonly',
267
+ group: AXP_BEHAVIOR_PROPERTY_GROUP,
268
+ schema: {
269
+ dataType: 'boolean',
270
+ defaultValue: false,
271
+ interface: {
272
+ name: 'readonly',
273
+ path: 'options.readonly',
274
+ type: AXPWidgetsCatalog.toggle,
275
+ },
276
+ },
277
+ visible: true,
278
+ };
182
279
  const AXP_PLACEHOLDER_PROPERTY = {
183
280
  name: 'placeholder',
184
281
  title: 'Placeholder',
@@ -252,37 +349,6 @@ const AXP_HAS_ICON_PROPERTY = {
252
349
  },
253
350
  visible: true,
254
351
  };
255
- const AXP_FONT_SIZE_PROPERTY = {
256
- name: 'fontSize',
257
- title: 'Font Size',
258
- group: AXP_STYLING_PROPERTY_GROUP,
259
- schema: {
260
- dataType: 'string',
261
- defaultValue: '12px',
262
- interface: {
263
- name: 'fontSize',
264
- path: 'options.fontSize',
265
- type: AXPWidgetsCatalog.text,
266
- },
267
- },
268
- visible: true,
269
- };
270
- const AXP_BG_COLOR_PROPERTY = {
271
- name: 'backgroundColor',
272
- title: 'Background Color',
273
- group: AXP_STYLING_PROPERTY_GROUP,
274
- schema: {
275
- dataType: 'string',
276
- interface: {
277
- path: 'options.backgroundColor',
278
- options: {
279
- hasClearButton: true,
280
- },
281
- type: AXPWidgetsCatalog.color,
282
- },
283
- },
284
- visible: true,
285
- };
286
352
  const AXP_HAS_CLEAR_BUTTON_PROPERTY = {
287
353
  name: 'hasClearButton',
288
354
  title: 'Clear Button',
@@ -452,26 +518,10 @@ const AXP_DESCRIPTION_PROPERTY = {
452
518
  },
453
519
  visible: true,
454
520
  };
455
- const AXP_COLOR_PROPERTY = {
456
- name: 'color',
457
- title: 'Color',
458
- group: AXP_STYLING_PROPERTY_GROUP,
459
- schema: {
460
- dataType: 'string',
461
- interface: {
462
- path: 'options.color',
463
- options: {
464
- hasClearButton: true,
465
- },
466
- type: AXPWidgetsCatalog.color,
467
- },
468
- },
469
- visible: true,
470
- };
471
521
  const AXP_STYLE_COLOR_PROPERTY = {
472
522
  name: 'color',
473
523
  title: 'Color',
474
- group: AXP_BEHAVIOR_PROPERTY_GROUP,
524
+ group: AXP_STYLING_PROPERTY_GROUP,
475
525
  schema: {
476
526
  dataType: 'string',
477
527
  defaultValue: { id: 'primary' },
@@ -490,7 +540,7 @@ const AXP_STYLE_COLOR_PROPERTY = {
490
540
  const AXP_STYLE_LOOK_PROPERTY = {
491
541
  name: 'look',
492
542
  title: 'Look',
493
- group: AXP_BEHAVIOR_PROPERTY_GROUP,
543
+ group: AXP_STYLING_PROPERTY_GROUP,
494
544
  schema: {
495
545
  dataType: 'string',
496
546
  defaultValue: { id: 'solid' },
@@ -551,6 +601,7 @@ function plainTextDefaultProperty() {
551
601
  group: AXP_DATA_PROPERTY_GROUP,
552
602
  schema: {
553
603
  dataType: 'string',
604
+ defaultValue: "Sample Text",
554
605
  interface: {
555
606
  name: 'defaultValue',
556
607
  path: 'defaultValue',
@@ -560,70 +611,307 @@ function plainTextDefaultProperty() {
560
611
  visible: true,
561
612
  };
562
613
  }
563
- const AXP_THEME_PROPERTY = {
564
- name: 'theme',
565
- title: 'Theme',
566
- group: AXP_STYLING_PROPERTY_GROUP,
614
+
615
+ const AXP_LAYOUT_GRID_PROPERTY_GROUP = {
616
+ name: "grid",
617
+ order: 1,
618
+ title: "Grid Layout"
619
+ };
620
+ const AXP_LAYOUT_FLEX_PROPERTY_GROUP = {
621
+ name: "flex",
622
+ order: 1,
623
+ title: "Flex Layout"
624
+ };
625
+ const AXP_LAYOUT_GAP_PROPERTY = {
626
+ name: 'gap',
627
+ title: 'Gap',
628
+ group: AXP_LAYOUT_GRID_PROPERTY_GROUP,
567
629
  schema: {
568
- dataType: 'string',
569
- defaultValue: { id: 'default' },
630
+ dataType: 'number',
631
+ defaultValue: 2,
570
632
  interface: {
571
- name: 'theme',
572
- path: 'options.theme',
573
- type: AXPWidgetsCatalog.select,
633
+ name: 'gap',
634
+ path: 'options.gap',
635
+ type: AXPWidgetsCatalog.number,
574
636
  options: {
575
- hasClearButton: false,
576
- dataSource: [
577
- {
578
- id: 'default',
579
- title: 'Default',
580
- },
581
- {
582
- id: 'light',
583
- title: 'Light',
584
- },
585
- {
586
- id: 'dark',
587
- title: 'Dark',
588
- },
589
- ],
637
+ minValue: 0,
638
+ maxValue: 12,
590
639
  },
591
640
  },
592
641
  },
593
642
  visible: true,
594
643
  };
595
-
596
- const AXP_TABLE_COLUMN_WIDTH_PROPERTY = {
597
- name: 'width',
598
- title: 'Width',
599
- group: AXP_STYLING_PROPERTY_GROUP,
644
+ const AXP_LAYOUT_COL_SPAN_PROPERTY = {
645
+ name: 'colSpan',
646
+ title: 'Column Span',
647
+ group: AXP_LAYOUT_GRID_PROPERTY_GROUP,
600
648
  schema: {
601
- dataType: 'string',
602
- defaultValue: '200px',
649
+ dataType: 'number',
603
650
  interface: {
604
- name: 'width',
605
- path: 'options.width',
606
- type: AXPWidgetsCatalog.text,
651
+ name: 'colSpan',
652
+ path: 'options.colSpan',
653
+ type: AXPWidgetsCatalog.number,
654
+ options: {
655
+ minValue: 0,
656
+ maxValue: 12,
657
+ },
607
658
  },
608
659
  },
609
660
  visible: true,
610
661
  };
611
-
612
- const AXPButtonWidget = {
613
- name: 'button-action',
614
- title: 'Button',
615
- description: 'Triggers customizable actions',
616
- icon: 'fa-solid fa-play',
617
- group: AXP_WIDGETS_ACTION_GROUP,
618
- properties: [
619
- AXP_DISABLED_PROPERTY,
620
- cloneProperty(AXP_TEXT_PROPERTY, { schema: { defaultValue: 'Click Here' } }),
621
- AXP_STYLE_COLOR_PROPERTY,
622
- AXP_STYLE_LOOK_PROPERTY,
623
- ],
624
- components: {
625
- designer: {
626
- component: () => Promise.resolve().then(function () { return buttonWidgetView_component; }).then((c) => c.AXPButtonWidgetViewComponent),
662
+ const AXP_LAYOUT_COL_START_PROPERTY = {
663
+ name: 'colStart',
664
+ title: 'Column Start',
665
+ group: AXP_LAYOUT_GRID_PROPERTY_GROUP,
666
+ schema: {
667
+ dataType: 'number',
668
+ interface: {
669
+ name: 'colStart',
670
+ path: 'options.colStart',
671
+ type: AXPWidgetsCatalog.number,
672
+ options: {
673
+ minValue: 1,
674
+ maxValue: 13,
675
+ },
676
+ },
677
+ },
678
+ visible: true,
679
+ };
680
+ const AXP_LAYOUT_COL_END_PROPERTY = {
681
+ name: 'colEnd',
682
+ title: 'Column End',
683
+ group: AXP_LAYOUT_GRID_PROPERTY_GROUP,
684
+ schema: {
685
+ dataType: 'number',
686
+ interface: {
687
+ name: 'colEnd',
688
+ path: 'options.colEnd',
689
+ type: AXPWidgetsCatalog.number,
690
+ options: {
691
+ minValue: 1,
692
+ maxValue: 13,
693
+ },
694
+ },
695
+ },
696
+ visible: true,
697
+ };
698
+ const AXP_LAYOUT_COLUMNS_PROPERTY = {
699
+ name: 'cols',
700
+ title: 'Columns',
701
+ group: AXP_LAYOUT_GRID_PROPERTY_GROUP,
702
+ schema: {
703
+ dataType: 'number',
704
+ defaultValue: 1,
705
+ interface: {
706
+ name: 'cols',
707
+ path: 'options.cols',
708
+ type: AXPWidgetsCatalog.number,
709
+ options: {
710
+ minValue: 1,
711
+ maxValue: 12,
712
+ },
713
+ },
714
+ },
715
+ visible: true,
716
+ };
717
+ const AXP_LAYOUT_ROWS_PROPERTY = {
718
+ name: 'rows',
719
+ title: 'Rows',
720
+ group: AXP_LAYOUT_GRID_PROPERTY_GROUP,
721
+ schema: {
722
+ dataType: 'number',
723
+ defaultValue: 1,
724
+ interface: {
725
+ name: 'rows',
726
+ path: 'options.rows',
727
+ type: AXPWidgetsCatalog.number,
728
+ options: {
729
+ minValue: 1,
730
+ maxValue: 100,
731
+ },
732
+ },
733
+ },
734
+ visible: true,
735
+ };
736
+ const AXP_LAYOUT_FLEX_JUSTIFY_PROPERTY = {
737
+ name: 'flexJustifyContent',
738
+ title: 'Justify Content',
739
+ group: AXP_LAYOUT_FLEX_PROPERTY_GROUP,
740
+ schema: {
741
+ dataType: 'string',
742
+ defaultValue: { id: 'ax-justify-normal' },
743
+ interface: {
744
+ name: 'flexJustifyContent',
745
+ path: 'options.flexJustifyContent',
746
+ type: AXPWidgetsCatalog.select,
747
+ options: {
748
+ hasClearButton: false,
749
+ dataSource: [
750
+ { id: 'ax-justify-normal', title: 'Normal' },
751
+ { id: 'ax-justify-start', title: 'Start' },
752
+ { id: 'ax-justify-end', title: 'End' },
753
+ { id: 'ax-justify-center', title: 'Center' },
754
+ { id: 'ax-justify-between', title: 'Between' },
755
+ { id: 'ax-justify-around', title: 'Around' },
756
+ { id: 'ax-justify-evenly', title: 'Evenly' },
757
+ { id: 'ax-justify-stretch', title: 'Stretch' },
758
+ ],
759
+ },
760
+ },
761
+ },
762
+ visible: true,
763
+ };
764
+ const AXP_LAYOUT_FLEX_ALIGN_PROPERTY = {
765
+ name: 'flexAlignItems',
766
+ title: 'Align Items',
767
+ group: AXP_LAYOUT_FLEX_PROPERTY_GROUP,
768
+ schema: {
769
+ dataType: 'string',
770
+ defaultValue: { id: 'ax-items-start' },
771
+ interface: {
772
+ name: 'flexAlignItems',
773
+ path: 'options.flexAlignItems',
774
+ type: AXPWidgetsCatalog.select,
775
+ options: {
776
+ hasClearButton: false,
777
+ dataSource: [
778
+ { id: 'ax-items-start', title: 'Start' },
779
+ { id: 'ax-items-end', title: 'End' },
780
+ { id: 'ax-items-center', title: 'Center' },
781
+ { id: 'ax-items-baseline', title: 'Baseline' },
782
+ { id: 'ax-items-stretch', title: 'Stretch' },
783
+ ],
784
+ },
785
+ },
786
+ },
787
+ visible: true,
788
+ };
789
+ const AXP_LAYOUT_FLEX_DIRECTION_PROPERTY = {
790
+ name: 'flexDirection',
791
+ title: 'Direction',
792
+ group: AXP_LAYOUT_FLEX_PROPERTY_GROUP,
793
+ schema: {
794
+ dataType: 'string',
795
+ defaultValue: { id: 'ax-flex-row' },
796
+ interface: {
797
+ name: 'flexDirection',
798
+ path: 'options.flexDirection',
799
+ type: AXPWidgetsCatalog.select,
800
+ options: {
801
+ hasClearButton: false,
802
+ dataSource: [
803
+ { id: 'ax-flex-row', title: 'Row' },
804
+ { id: 'ax-flex-row-reverse', title: 'Row Reverse' },
805
+ { id: 'ax-flex-col', title: 'Column' },
806
+ { id: 'ax-flex-col-reverse', title: 'Column Reverse' }
807
+ ],
808
+ },
809
+ },
810
+ },
811
+ visible: true,
812
+ };
813
+ const AXP_LAYOUT_FLEX_WRAP_PROPERTY = {
814
+ name: 'flexWrap',
815
+ title: 'Wrap',
816
+ group: AXP_LAYOUT_FLEX_PROPERTY_GROUP,
817
+ schema: {
818
+ dataType: 'string',
819
+ defaultValue: { id: 'ax-flex-nowrap' },
820
+ interface: {
821
+ name: 'flexWrap',
822
+ path: 'options.flexWrap',
823
+ type: AXPWidgetsCatalog.select,
824
+ options: {
825
+ hasClearButton: false,
826
+ dataSource: [
827
+ { id: 'ax-flex-nowrap', title: 'No Wrap' },
828
+ { id: 'ax-flex-wrap', title: 'Wrap' },
829
+ { id: 'ax-flex-wrap-reverse', title: 'Wrap Reverse' }
830
+ ],
831
+ },
832
+ },
833
+ },
834
+ visible: true,
835
+ };
836
+ const AXP_LAYOUT_ALIGN_CONTENT_PROPERTY = {
837
+ name: 'flexAlignContent',
838
+ title: 'Align Content',
839
+ group: AXP_LAYOUT_FLEX_PROPERTY_GROUP,
840
+ schema: {
841
+ dataType: 'string',
842
+ defaultValue: { id: 'ax-content-start' },
843
+ interface: {
844
+ name: 'flexAlignContent',
845
+ path: 'options.flexAlignContent',
846
+ type: AXPWidgetsCatalog.select,
847
+ options: {
848
+ hasClearButton: false,
849
+ dataSource: [
850
+ { id: 'ax-content-start', title: 'Start' },
851
+ { id: 'ax-content-end', title: 'End' },
852
+ { id: 'ax-content-center', title: 'Center' },
853
+ { id: 'ax-content-between', title: 'Between' },
854
+ { id: 'ax-content-around', title: 'Around' },
855
+ { id: 'ax-content-stretch', title: 'Stretch' },
856
+ ],
857
+ },
858
+ },
859
+ },
860
+ visible: true,
861
+ };
862
+ const AXP_LAYOUT_GRID_PROPERTIES = [
863
+ AXP_LAYOUT_GAP_PROPERTY,
864
+ AXP_LAYOUT_COLUMNS_PROPERTY,
865
+ AXP_LAYOUT_ROWS_PROPERTY
866
+ ];
867
+ const AXP_LAYOUT_GRID_ROW_PROPERTIES = [
868
+ AXP_LAYOUT_GAP_PROPERTY,
869
+ cloneProperty(AXP_LAYOUT_COLUMNS_PROPERTY, { schema: { defaultValue: 12 } }),
870
+ ];
871
+ const AXP_LAYOUT_GRID_ITEM_PROPERTIES = [
872
+ AXP_LAYOUT_COL_SPAN_PROPERTY,
873
+ AXP_LAYOUT_COL_START_PROPERTY,
874
+ AXP_LAYOUT_COL_END_PROPERTY,
875
+ ];
876
+ const AXP_LAYOUT_FLEX_PROPERTIES = [
877
+ AXP_LAYOUT_FLEX_DIRECTION_PROPERTY,
878
+ AXP_LAYOUT_FLEX_JUSTIFY_PROPERTY,
879
+ AXP_LAYOUT_FLEX_ALIGN_PROPERTY,
880
+ AXP_LAYOUT_GAP_PROPERTY,
881
+ AXP_LAYOUT_FLEX_WRAP_PROPERTY,
882
+ ];
883
+
884
+ const AXP_TABLE_COLUMN_WIDTH_PROPERTY = {
885
+ name: 'width',
886
+ title: 'Width',
887
+ group: AXP_STYLING_PROPERTY_GROUP,
888
+ schema: {
889
+ dataType: 'string',
890
+ defaultValue: '200px',
891
+ interface: {
892
+ name: 'width',
893
+ path: 'options.width',
894
+ type: AXPWidgetsCatalog.text,
895
+ },
896
+ },
897
+ visible: true,
898
+ };
899
+
900
+ const AXPButtonWidget = {
901
+ name: 'button-action',
902
+ title: 'Button',
903
+ description: 'Triggers customizable actions',
904
+ icon: 'fa-solid fa-play',
905
+ group: AXP_WIDGETS_ACTION_GROUP,
906
+ properties: [
907
+ AXP_DISABLED_PROPERTY,
908
+ cloneProperty(AXP_TEXT_PROPERTY, { schema: { defaultValue: 'Click Here' } }),
909
+ AXP_STYLE_COLOR_PROPERTY,
910
+ AXP_STYLE_LOOK_PROPERTY,
911
+ ],
912
+ components: {
913
+ designer: {
914
+ component: () => import('./acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs').then((c) => c.AXPButtonWidgetDesignerComponent),
627
915
  },
628
916
  view: {
629
917
  component: () => Promise.resolve().then(function () { return buttonWidgetView_component; }).then((c) => c.AXPButtonWidgetViewComponent),
@@ -641,32 +929,34 @@ class AXPCheckBoxWidgetEditComponent extends AXPWidgetComponent {
641
929
  this.trulyText = computed(() => this.options()["trulyText"]);
642
930
  this.falsyText = computed(() => this.options()["falsyText"]);
643
931
  this.disabled = computed(() => this.options()["disabled"]);
644
- this.validationService = inject(AXValidationService);
645
- }
646
- handleValueChange(e) {
647
- if (e.isUserInteraction) {
648
- this.setValue(e.value);
649
- }
932
+ this.readonly = computed(() => this.options()["readonly"]);
933
+ this.label = computed(() => this.options()["label"]);
650
934
  }
651
935
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCheckBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
652
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPCheckBoxWidgetEditComponent, isStandalone: true, selector: "axp-checkbox-widget-edit", usesInheritance: true, ngImport: i0, template: `
653
- <div class="ax-grid ax-grid-cols-12 ax-gap-4">
654
- <ax-check-box [ngModel]="this.getValue()" (onValueChanged)="handleValueChange($event)" [disabled]="disabled()"> </ax-check-box>
655
- </div>
656
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXButtonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
936
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPCheckBoxWidgetEditComponent, isStandalone: true, selector: "axp-checkbox-widget-edit", usesInheritance: true, ngImport: i0, template: `
937
+ <ax-check-box [ngModel]="this.getValue()" [disabled]="disabled()" [readonly]="readonly()" (onValueChanged)="handleValueChanged($event)">
938
+ @if(label())
939
+ {
940
+ <ax-label >{{label()}}</ax-label>
941
+ }
942
+ </ax-check-box>
943
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
657
944
  }
658
945
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCheckBoxWidgetEditComponent, decorators: [{
659
946
  type: Component,
660
947
  args: [{
661
948
  selector: 'axp-checkbox-widget-edit',
662
949
  template: `
663
- <div class="ax-grid ax-grid-cols-12 ax-gap-4">
664
- <ax-check-box [ngModel]="this.getValue()" (onValueChanged)="handleValueChange($event)" [disabled]="disabled()"> </ax-check-box>
665
- </div>
950
+ <ax-check-box [ngModel]="this.getValue()" [disabled]="disabled()" [readonly]="readonly()" (onValueChanged)="handleValueChanged($event)">
951
+ @if(label())
952
+ {
953
+ <ax-label >{{label()}}</ax-label>
954
+ }
955
+ </ax-check-box>
666
956
  `,
667
957
  standalone: true,
668
958
  changeDetection: ChangeDetectionStrategy.OnPush,
669
- imports: [CommonModule, AXCheckBoxModule, FormsModule, AXFormModule, AXDecoratorModule, AXValidationModule, AXButtonModule],
959
+ imports: [CommonModule, AXCheckBoxModule, FormsModule, AXLabelModule],
670
960
  }]
671
961
  }] });
672
962
 
@@ -682,13 +972,21 @@ const AXPCheckBoxWidget = {
682
972
  group: AXP_WIDGETS_EDITOR_GROUP,
683
973
  description: 'Selects multiple options via checkboxes',
684
974
  icon: 'fa-solid fa-square-check',
685
- properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY, AXP_VALIDATION_PROPERTY, booleanDefaultProperty()],
975
+ properties: [
976
+ AXP_NAME_PROPERTY,
977
+ AXP_DATA_PATH_PROPERTY,
978
+ AXP_LABEL_PROPERTY,
979
+ AXP_READONLY_PROPERTY,
980
+ AXP_DISABLED_PROPERTY,
981
+ AXP_VALIDATION_PROPERTY,
982
+ booleanDefaultProperty()
983
+ ],
686
984
  components: {
687
985
  designer: {
688
- component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
986
+ component: () => import('./acorex-platform-widgets-checkbox-widget-designer.component-DfUr_DMU.mjs').then((c) => c.AXPCheckBoxWidgetDesignerComponent),
689
987
  },
690
988
  view: {
691
- component: () => import('./acorex-platform-widgets-checkbox-widget-view.component-BCsej7C6.mjs').then((c) => c.AXPCheckBoxWidgetViewComponent),
989
+ component: () => import('./acorex-platform-widgets-checkbox-widget-view.component-tPk6Gylo.mjs').then((c) => c.AXPCheckBoxWidgetViewComponent),
692
990
  },
693
991
  edit: {
694
992
  component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
@@ -778,7 +1076,7 @@ class AXPContactWidgetViewComponent extends AXPWidgetComponent {
778
1076
  [text]="item.label ?? ''"
779
1077
  ></ax-badge>
780
1078
  } }}
781
- </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 }); }
1079
+ </div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$2.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 }); }
782
1080
  }
783
1081
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetViewComponent, decorators: [{
784
1082
  type: Component,
@@ -1024,8 +1322,14 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
1024
1322
  value: '',
1025
1323
  };
1026
1324
  }
1325
+ get __class() {
1326
+ const cls = {};
1327
+ cls[`ax-block`] = true;
1328
+ cls[`ax-flex-1`] = true;
1329
+ return cls;
1330
+ }
1027
1331
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1028
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPContactWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<div class="lg:ax-grid lg:ax-grid-cols-12 lg:ax-gap-4">
1332
+ 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">
1029
1333
  @for(item of internalValue();track $index) {
1030
1334
  <ax-text-box
1031
1335
  [ngModel]="item.value"
@@ -1155,7 +1459,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1155
1459
  ],
1156
1460
  inputs: [],
1157
1461
  }]
1158
- }] });
1462
+ }], propDecorators: { __class: [{
1463
+ type: HostBinding,
1464
+ args: ['class']
1465
+ }] } });
1159
1466
 
1160
1467
  var contactWidgetEdit_component = /*#__PURE__*/Object.freeze({
1161
1468
  __proto__: null,
@@ -1414,8 +1721,14 @@ class AXPDateTimeBoxWidgetEditComponent extends AXPWidgetComponent {
1414
1721
  const newValues = this.internalValue().filter((_, index) => index != i);
1415
1722
  this.setValue(newValues);
1416
1723
  }
1724
+ get __class() {
1725
+ const cls = {};
1726
+ cls[`ax-block`] = true;
1727
+ cls[`ax-flex-1`] = true;
1728
+ return cls;
1729
+ }
1417
1730
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1418
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDateTimeBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
1731
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPDateTimeBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
1419
1732
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
1420
1733
  @for (datetime of internalValue(); track $index) {
1421
1734
  <ax-datetime-box
@@ -1488,7 +1801,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1488
1801
  imports: [CommonModule, FormsModule, AXFormModule, AXValidationModule, AXDateTimeBoxModule, AXButtonModule, AXDecoratorModule, AXValidationModule],
1489
1802
  inputs: [],
1490
1803
  }]
1491
- }] });
1804
+ }], propDecorators: { __class: [{
1805
+ type: HostBinding,
1806
+ args: ['class']
1807
+ }] } });
1492
1808
 
1493
1809
  var dateTimeBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
1494
1810
  __proto__: null,
@@ -1590,6 +1906,7 @@ const AXPDateTimeBoxWidget = {
1590
1906
  AXP_DATA_PATH_PROPERTY,
1591
1907
  AXP_ALLOW_MULTIPLE_PROPERTY,
1592
1908
  AXP_DATE_FROMAT_PROPERTY,
1909
+ AXP_READONLY_PROPERTY,
1593
1910
  AXP_DISABLED_PROPERTY,
1594
1911
  AXP_VALIDATION_PROPERTY,
1595
1912
  AXP_PLACEHOLDER_PROPERTY,
@@ -1676,7 +1993,7 @@ class AXPEmailBoxWidgetViewComponent extends AXPWidgetComponent {
1676
1993
  }
1677
1994
  </ng-template>
1678
1995
  </div>
1679
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1996
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$2.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1680
1997
  }
1681
1998
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailBoxWidgetViewComponent, decorators: [{
1682
1999
  type: Component,
@@ -1793,8 +2110,14 @@ class AXPEmailBoxWidgetEditComponent extends AXPWidgetComponent {
1793
2110
  const newValues = this.internalValue().filter((_, index) => index != deletedIndex);
1794
2111
  this.setValue(newValues);
1795
2112
  }
2113
+ get __class() {
2114
+ const cls = {};
2115
+ cls[`ax-block`] = true;
2116
+ cls[`ax-flex-1`] = true;
2117
+ return cls;
2118
+ }
1796
2119
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1797
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPEmailBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
2120
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPEmailBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
1798
2121
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
1799
2122
  @if(multiple())
1800
2123
  {
@@ -1959,7 +2282,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1959
2282
  imports: [CommonModule, FormsModule, AXFormModule, AXButtonModule, AXDecoratorModule, AXSelectBoxModule, AXTextBoxModule, AXValidationModule],
1960
2283
  inputs: [],
1961
2284
  }]
1962
- }] });
2285
+ }], propDecorators: { __class: [{
2286
+ type: HostBinding,
2287
+ args: ['class']
2288
+ }] } });
1963
2289
 
1964
2290
  var emailBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
1965
2291
  __proto__: null,
@@ -2157,8 +2483,14 @@ class AXPLargeTextWidgetEditComponent extends AXPWidgetComponent {
2157
2483
  set validationRules(v) {
2158
2484
  this._validationRules = v;
2159
2485
  }
2486
+ get __class() {
2487
+ const cls = {};
2488
+ cls[`ax-block`] = true;
2489
+ cls[`ax-flex-1`] = true;
2490
+ return cls;
2491
+ }
2160
2492
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLargeTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2161
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPLargeTextWidgetEditComponent, isStandalone: true, selector: "axp-large-text-box-widget", inputs: { disabled: "disabled", clearButton: "clearButton" }, usesInheritance: true, ngImport: i0, template: `
2493
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPLargeTextWidgetEditComponent, isStandalone: true, selector: "axp-large-text-box-widget", inputs: { disabled: "disabled", clearButton: "clearButton" }, host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
2162
2494
  <ax-text-area [disabled]="disabled()" [ngModel]="getValue()" (ngModelChange)="setValue($event)" [placeholder]="placeholder()">
2163
2495
  @if(clearButton()){
2164
2496
  <ax-clear-button></ax-clear-button>
@@ -2188,7 +2520,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2188
2520
  imports: [CommonModule, AXDecoratorModule, FormsModule, AXFormModule, AXTextAreaModule],
2189
2521
  inputs: ['disabled', 'clearButton'],
2190
2522
  }]
2191
- }] });
2523
+ }], propDecorators: { __class: [{
2524
+ type: HostBinding,
2525
+ args: ['class']
2526
+ }] } });
2192
2527
 
2193
2528
  var largeTextWidgetEdit_component = /*#__PURE__*/Object.freeze({
2194
2529
  __proto__: null,
@@ -2358,7 +2693,7 @@ class AXPLinkWidgetViewComponent extends AXPWidgetComponent {
2358
2693
  </div>
2359
2694
  }
2360
2695
  </ng-template>
2361
- </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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 }); }
2696
+ </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$2.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 }); }
2362
2697
  }
2363
2698
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLinkWidgetViewComponent, decorators: [{
2364
2699
  type: Component,
@@ -2576,8 +2911,14 @@ class AXPLinkWidgetEditComponent extends AXPWidgetComponent {
2576
2911
  return [''];
2577
2912
  }
2578
2913
  }
2914
+ get __class() {
2915
+ const cls = {};
2916
+ cls[`ax-block`] = true;
2917
+ cls[`ax-flex-1`] = true;
2918
+ return cls;
2919
+ }
2579
2920
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLinkWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2580
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPLinkWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<div class="ax-grid ax-grid-cols-12 ax-gap-4">
2921
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPLinkWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `<div class="ax-grid ax-grid-cols-12 ax-gap-4">
2581
2922
  @if(multiple()){ @for(item of internalValue();track $index) { @if(item){
2582
2923
  <!-- TODO need to fix multiple -->
2583
2924
  <ax-text-box
@@ -2780,7 +3121,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2780
3121
  ],
2781
3122
  inputs: [],
2782
3123
  }]
2783
- }] });
3124
+ }], propDecorators: { __class: [{
3125
+ type: HostBinding,
3126
+ args: ['class']
3127
+ }] } });
2784
3128
 
2785
3129
  var linkWidgetEdit_component = /*#__PURE__*/Object.freeze({
2786
3130
  __proto__: null,
@@ -2973,8 +3317,14 @@ class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent {
2973
3317
  const newValues = this.internalValue().filter((_, index) => index != i);
2974
3318
  this.setValue(newValues);
2975
3319
  }
3320
+ get __class() {
3321
+ const cls = {};
3322
+ cls[`ax-block`] = true;
3323
+ cls[`ax-flex-1`] = true;
3324
+ return cls;
3325
+ }
2976
3326
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPNumberBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2977
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPNumberBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
3327
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPNumberBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
2978
3328
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
2979
3329
  @for(number of internalValue(); track $index){
2980
3330
  <ax-number-box
@@ -3070,7 +3420,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3070
3420
  changeDetection: ChangeDetectionStrategy.OnPush,
3071
3421
  imports: [CommonModule, AXNumberBoxModule, FormsModule, AXDecoratorModule, AXFormModule, AXButtonModule],
3072
3422
  }]
3073
- }] });
3423
+ }], propDecorators: { __class: [{
3424
+ type: HostBinding,
3425
+ args: ['class']
3426
+ }] } });
3074
3427
 
3075
3428
  var numberBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
3076
3429
  __proto__: null,
@@ -3273,13 +3626,14 @@ class AXPPasswordBoxWidgetEditComponent extends AXPWidgetComponent {
3273
3626
  this.disabled = computed(() => this.options()['disabled']);
3274
3627
  this.hasClearButton = computed(() => this.options()['hasClearButton']);
3275
3628
  }
3276
- handleValueChanged(e) {
3277
- if (e.isUserInteraction) {
3278
- this.setValue(e.value);
3279
- }
3629
+ get __class() {
3630
+ const cls = {};
3631
+ cls[`ax-block`] = true;
3632
+ cls[`ax-flex-1`] = true;
3633
+ return cls;
3280
3634
  }
3281
3635
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPasswordBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3282
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPasswordBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
3636
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPasswordBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
3283
3637
  <ax-password-box [ngModel]="getValue()" [disabled]="disabled()" (onValueChanged)="handleValueChanged($event)">
3284
3638
  <ax-validation-rule rule="required"></ax-validation-rule>
3285
3639
  @if(hasClearButton()){
@@ -3304,7 +3658,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3304
3658
  imports: [CommonModule, FormsModule, AXDecoratorModule, AXPasswordBoxModule, AXValidationModule, AXFormModule],
3305
3659
  inputs: [],
3306
3660
  }]
3307
- }] });
3661
+ }], propDecorators: { __class: [{
3662
+ type: HostBinding,
3663
+ args: ['class']
3664
+ }] } });
3308
3665
 
3309
3666
  var passwordBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
3310
3667
  __proto__: null,
@@ -3467,7 +3824,7 @@ class AXPPhoneBoxWidgetViewComponent extends AXPWidgetComponent {
3467
3824
  </ng-container>
3468
3825
  </ng-template>
3469
3826
  </div>
3470
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3827
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$2.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3471
3828
  }
3472
3829
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPhoneBoxWidgetViewComponent, decorators: [{
3473
3830
  type: Component,
@@ -3572,8 +3929,14 @@ class AXPPhoneBoxWidgetEditComponent extends AXPWidgetComponent {
3572
3929
  const newValues = this.internalValue().filter((_, index) => index != deletedIndex);
3573
3930
  this.setValue(newValues);
3574
3931
  }
3932
+ get __class() {
3933
+ const cls = {};
3934
+ cls[`ax-block`] = true;
3935
+ cls[`ax-flex-1`] = true;
3936
+ return cls;
3937
+ }
3575
3938
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPhoneBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3576
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPhoneBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
3939
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPhoneBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
3577
3940
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
3578
3941
  <ng-container *ngIf="multiple()">
3579
3942
  @for(item of internalValue();track $index) {
@@ -3720,7 +4083,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3720
4083
  imports: [CommonModule, FormsModule, AXFormModule, AXButtonModule, AXDecoratorModule, AXSelectBoxModule, AXTextBoxModule, AXValidationModule],
3721
4084
  inputs: [],
3722
4085
  }]
3723
- }] });
4086
+ }], propDecorators: { __class: [{
4087
+ type: HostBinding,
4088
+ args: ['class']
4089
+ }] } });
3724
4090
 
3725
4091
  var phoneBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
3726
4092
  __proto__: null,
@@ -3921,8 +4287,14 @@ class AXPRichTextWidgetEditComponent extends AXPWidgetComponent {
3921
4287
  set validationRules(v) {
3922
4288
  this._validationRules = v;
3923
4289
  }
4290
+ get __class() {
4291
+ const cls = {};
4292
+ cls[`ax-block`] = true;
4293
+ cls[`ax-flex-1`] = true;
4294
+ return cls;
4295
+ }
3924
4296
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3925
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRichTextWidgetEditComponent, isStandalone: true, selector: "axp-rich-text-widget", usesInheritance: true, ngImport: i0, template: `<ax-wysiwyg-container [look]="'solid'" [ngModel]="getValue()" (ngModelChange)="setNgModel($event)">
4297
+ 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)" >
3926
4298
  <ax-wysiwyg-view class="ax-min-h-28"></ax-wysiwyg-view>
3927
4299
  <ax-wysiwyg-toolbar>
3928
4300
  <ax-wysiwyg-history></ax-wysiwyg-history>
@@ -3935,13 +4307,13 @@ class AXPRichTextWidgetEditComponent extends AXPWidgetComponent {
3935
4307
  @for (validation of validationRules; track $index) {
3936
4308
  <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
3937
4309
  }
3938
- </ax-wysiwyg-container>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i1$4.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: ["look", "initialValue"] }, { kind: "component", type: i1$4.AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: ["class"] }, { kind: "component", type: i1$4.AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar" }, { kind: "component", type: i1$4.AXWysiwygAlignmentComponent, selector: "ax-wysiwyg-alignment" }, { kind: "component", type: i1$4.AXWysiwygColorsComponent, selector: "ax-wysiwyg-colors" }, { kind: "component", type: i1$4.AXWysiwygFontStyleComponent, selector: "ax-wysiwyg-font-style" }, { kind: "component", type: i1$4.AXWysiwygHistoryComponent, selector: "ax-wysiwyg-history" }, { kind: "component", type: i1$4.AXWysiwygInsertComponent, selector: "ax-wysiwyg-insert" }, { kind: "component", type: i1$4.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
4310
+ </ax-wysiwyg-container>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i1$4.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: ["look"], outputs: ["onValueChanged"] }, { kind: "component", type: i1$4.AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: ["class"] }, { kind: "component", type: i1$4.AXWysiwygToolbarComponent, selector: "ax-wysiwyg-toolbar" }, { kind: "component", type: i1$4.AXWysiwygAlignmentComponent, selector: "ax-wysiwyg-alignment" }, { kind: "component", type: i1$4.AXWysiwygColorsComponent, selector: "ax-wysiwyg-colors" }, { kind: "component", type: i1$4.AXWysiwygFontStyleComponent, selector: "ax-wysiwyg-font-style" }, { kind: "component", type: i1$4.AXWysiwygHistoryComponent, selector: "ax-wysiwyg-history" }, { kind: "component", type: i1$4.AXWysiwygInsertComponent, selector: "ax-wysiwyg-insert" }, { kind: "component", type: i1$4.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
3939
4311
  }
3940
4312
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetEditComponent, decorators: [{
3941
4313
  type: Component,
3942
4314
  args: [{
3943
4315
  selector: 'axp-rich-text-widget',
3944
- template: `<ax-wysiwyg-container [look]="'solid'" [ngModel]="getValue()" (ngModelChange)="setNgModel($event)">
4316
+ template: `<ax-wysiwyg-container [look]="'solid'" [ngModel]="getValue()" (ngModelChange)="setNgModel($event)" >
3945
4317
  <ax-wysiwyg-view class="ax-min-h-28"></ax-wysiwyg-view>
3946
4318
  <ax-wysiwyg-toolbar>
3947
4319
  <ax-wysiwyg-history></ax-wysiwyg-history>
@@ -3961,7 +4333,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3961
4333
  imports: [CommonModule, AXWysiwygModule, AXValidationModule, AXFormModule, FormsModule],
3962
4334
  inputs: [],
3963
4335
  }]
3964
- }] });
4336
+ }], propDecorators: { __class: [{
4337
+ type: HostBinding,
4338
+ args: ['class']
4339
+ }] } });
3965
4340
 
3966
4341
  var richTextWidgetEdit_component = /*#__PURE__*/Object.freeze({
3967
4342
  __proto__: null,
@@ -4107,8 +4482,14 @@ class AXPSelectBoxWidgetViewComponent extends AXPWidgetComponent {
4107
4482
  text: item,
4108
4483
  };
4109
4484
  }
4485
+ get __class() {
4486
+ const cls = {};
4487
+ cls[`ax-block`] = true;
4488
+ cls[`ax-flex-1`] = true;
4489
+ return cls;
4490
+ }
4110
4491
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4111
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
4492
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
4112
4493
  <div>
4113
4494
  @if(multiple())
4114
4495
  {
@@ -4141,7 +4522,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4141
4522
  imports: [CommonModule],
4142
4523
  inputs: [],
4143
4524
  }]
4144
- }] });
4525
+ }], propDecorators: { __class: [{
4526
+ type: HostBinding,
4527
+ args: ['class']
4528
+ }] } });
4145
4529
 
4146
4530
  var selectBoxWidgetView_component = /*#__PURE__*/Object.freeze({
4147
4531
  __proto__: null,
@@ -4171,8 +4555,14 @@ class AXPSelectBoxWidgetEditComponent extends AXPWidgetComponent {
4171
4555
  this.selectbox?.reset(true);
4172
4556
  this.selectbox?.refresh();
4173
4557
  }
4558
+ get __class() {
4559
+ const cls = {};
4560
+ cls[`ax-block`] = true;
4561
+ cls[`ax-flex-1`] = true;
4562
+ return cls;
4563
+ }
4174
4564
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4175
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectBoxWidgetEditComponent, isStandalone: true, selector: "axp-select-box-widget-edit", viewQueries: [{ propertyName: "selectbox", first: true, predicate: AXSelectBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
4565
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectBoxWidgetEditComponent, isStandalone: true, selector: "axp-select-box-widget-edit", host: { properties: { "class": "this.__class" } }, viewQueries: [{ propertyName: "selectbox", first: true, predicate: AXSelectBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
4176
4566
  <ax-select-box
4177
4567
  #dd
4178
4568
  [placeholder]="placeholder()"
@@ -4221,6 +4611,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4221
4611
  }], propDecorators: { selectbox: [{
4222
4612
  type: ViewChild,
4223
4613
  args: [AXSelectBoxComponent]
4614
+ }], __class: [{
4615
+ type: HostBinding,
4616
+ args: ['class']
4224
4617
  }] } });
4225
4618
 
4226
4619
  var selectBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
@@ -4346,7 +4739,7 @@ class AXPSelectionListWidgetViewComponent extends AXPWidgetComponent {
4346
4739
  @for (item of internalValue(); track $index) {
4347
4740
  <ax-badge [class]="'ax-ms-1'" [look]="'twotone'" [text]="item[this.textField()]" color="primary"></ax-badge>
4348
4741
  }
4349
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4742
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$2.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4350
4743
  }
4351
4744
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetViewComponent, decorators: [{
4352
4745
  type: Component,
@@ -4386,8 +4779,14 @@ class AXPSelectionListWidgetEditComponent extends AXPWidgetComponent {
4386
4779
  this.setValue(e.value);
4387
4780
  }
4388
4781
  }
4782
+ get __class() {
4783
+ const cls = {};
4784
+ cls[`ax-block`] = true;
4785
+ cls[`ax-flex-1`] = true;
4786
+ return cls;
4787
+ }
4389
4788
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4390
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectionListWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
4789
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSelectionListWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
4391
4790
  <ax-selection-list
4392
4791
  class="ax-w-max"
4393
4792
  [valueField]="valueField()"
@@ -4402,7 +4801,7 @@ class AXPSelectionListWidgetEditComponent extends AXPWidgetComponent {
4402
4801
  <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
4403
4802
  }
4404
4803
  </ax-selection-list>
4405
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "component", type: i2$2.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["id", "name", "disabled", "readonly", "tabIndex", "size", "value", "valueField", "textField", "hintField", "disabledField", "readonlyField", "multiple", "direction", "customTemplate", "showControl", "items", "look"], outputs: ["onValueChanged", "onBlur", "onFocus"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4804
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "component", type: i2$3.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["id", "name", "disabled", "readonly", "tabIndex", "size", "value", "valueField", "textField", "hintField", "disabledField", "readonlyField", "multiple", "direction", "customTemplate", "showControl", "items", "look"], outputs: ["onValueChanged", "onBlur", "onFocus"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4406
4805
  }
4407
4806
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetEditComponent, decorators: [{
4408
4807
  type: Component,
@@ -4428,7 +4827,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4428
4827
  imports: [CommonModule, FormsModule, AXSelectionListModule, AXFormModule],
4429
4828
  inputs: [],
4430
4829
  }]
4431
- }] });
4830
+ }], propDecorators: { __class: [{
4831
+ type: HostBinding,
4832
+ args: ['class']
4833
+ }] } });
4432
4834
 
4433
4835
  var selectionListWidgetEdit_component = /*#__PURE__*/Object.freeze({
4434
4836
  __proto__: null,
@@ -4471,7 +4873,7 @@ class AXPSelectionListWidgetColumnComponent extends AXPColumnWidgetComponent {
4471
4873
  } }@else {
4472
4874
  <ax-badge [look]="'twotone'" [text]="firstItem()[this.textField]" color="primary"></ax-badge>
4473
4875
  }
4474
- </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 }); }
4876
+ </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$2.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4475
4877
  }
4476
4878
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetColumnComponent, decorators: [{
4477
4879
  type: Component,
@@ -4620,8 +5022,14 @@ class AXPTextBoxWidgetEditComponent extends AXPWidgetComponent {
4620
5022
  const newValues = this.internalValue().filter((_, index) => index != i);
4621
5023
  this.setValue(newValues);
4622
5024
  }
5025
+ get __class() {
5026
+ const cls = {};
5027
+ cls[`ax-block`] = true;
5028
+ cls[`ax-flex-1`] = true;
5029
+ return cls;
5030
+ }
4623
5031
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4624
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPTextBoxWidgetEditComponent, isStandalone: true, selector: "axp-text-box-widget", usesInheritance: true, ngImport: i0, template: `
5032
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPTextBoxWidgetEditComponent, isStandalone: true, selector: "axp-text-box-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
4625
5033
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
4626
5034
  @for (text of internalValue(); track $index) {
4627
5035
  <ax-text-box class="ax-col-span-12" [ngModel]="text" [type]="'text'" (onValueChanged)="handleValueChange($event, $index)" [disabled]="disabled()" [placeholder]="placeholder()">
@@ -4695,7 +5103,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4695
5103
  imports: [CommonModule, AXTextBoxModule, FormsModule, AXFormModule, AXDecoratorModule, AXValidationModule, AXButtonModule],
4696
5104
  inputs: [],
4697
5105
  }]
4698
- }] });
5106
+ }], propDecorators: { __class: [{
5107
+ type: HostBinding,
5108
+ args: ['class']
5109
+ }] } });
4699
5110
 
4700
5111
  var textBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
4701
5112
  __proto__: null,
@@ -4822,7 +5233,7 @@ class AXPToggleWidgetViewComponent extends AXPWidgetComponent {
4822
5233
  <ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
4823
5234
  }@else {
4824
5235
  <ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
4825
- } } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5236
+ } } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$2.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4826
5237
  }
4827
5238
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetViewComponent, decorators: [{
4828
5239
  type: Component,
@@ -4861,19 +5272,29 @@ class AXPToggleWidgetEditComponent extends AXPWidgetComponent {
4861
5272
  onModelChange(e) {
4862
5273
  this.setValue(e);
4863
5274
  }
5275
+ get __class() {
5276
+ const cls = {};
5277
+ //
5278
+ cls['ax-inline'] = true;
5279
+ return cls;
5280
+ }
4864
5281
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4865
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPToggleWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<ax-switch [ngModel]="this.getValue()" [disabled]="disabled()" [color]="color()" (ngModelChange)="onModelChange($event)"></ax-switch>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSwitchModule }, { kind: "component", type: i2$3.AXSwitchComponent, selector: "ax-switch", inputs: ["disabled", "readonly", "color", "tabIndex", "value", "name", "isLoading"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "readonlyChange", "disabledChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5282
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPToggleWidgetEditComponent, isStandalone: true, selector: "axp-swith-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `<ax-switch [ngModel]="this.getValue()" [disabled]="disabled()" [color]="color()" (ngModelChange)="onModelChange($event)"></ax-switch>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSwitchModule }, { kind: "component", type: i2$4.AXSwitchComponent, selector: "ax-switch", inputs: ["disabled", "readonly", "color", "tabIndex", "value", "name", "isLoading"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "readonlyChange", "disabledChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4866
5283
  }
4867
5284
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetEditComponent, decorators: [{
4868
5285
  type: Component,
4869
5286
  args: [{
5287
+ selector: 'axp-swith-widget',
4870
5288
  template: `<ax-switch [ngModel]="this.getValue()" [disabled]="disabled()" [color]="color()" (ngModelChange)="onModelChange($event)"></ax-switch>`,
4871
5289
  standalone: true,
4872
5290
  changeDetection: ChangeDetectionStrategy.OnPush,
4873
5291
  imports: [CommonModule, FormsModule, AXSwitchModule],
4874
5292
  inputs: [],
4875
5293
  }]
4876
- }] });
5294
+ }], propDecorators: { __class: [{
5295
+ type: HostBinding,
5296
+ args: ['class']
5297
+ }] } });
4877
5298
 
4878
5299
  var toggleWidgetEdit_component = /*#__PURE__*/Object.freeze({
4879
5300
  __proto__: null,
@@ -4920,7 +5341,7 @@ class AXPToggleWidgetColumnComponent extends AXPColumnWidgetComponent {
4920
5341
  <ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
4921
5342
  }@else {
4922
5343
  <ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
4923
- } } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5344
+ } } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$2.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4924
5345
  }
4925
5346
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetColumnComponent, decorators: [{
4926
5347
  type: Component,
@@ -5101,8 +5522,14 @@ class AXPFileBoxWidgetEditComponent extends AXPWidgetComponent {
5101
5522
  return { icon: 'fa-file', color: 'ax-bg-gray-100 ax-text-gray-500' };
5102
5523
  }
5103
5524
  }
5525
+ get __class() {
5526
+ const cls = {};
5527
+ cls[`ax-block`] = true;
5528
+ cls[`ax-flex-1`] = true;
5529
+ return cls;
5530
+ }
5104
5531
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5105
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPFileBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
5532
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPFileBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
5106
5533
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
5107
5534
  <div class="ax-col-span-12">
5108
5535
  <ax-uploader-drop-zone
@@ -5141,7 +5568,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
5141
5568
  imports: [CommonModule, FormsModule, AXButtonModule, AXDecoratorModule, AXUploaderModule],
5142
5569
  inputs: [],
5143
5570
  }]
5144
- }] });
5571
+ }], propDecorators: { __class: [{
5572
+ type: HostBinding,
5573
+ args: ['class']
5574
+ }] } });
5145
5575
 
5146
5576
  var fileBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
5147
5577
  __proto__: null,
@@ -5532,7 +5962,7 @@ class AXPGalleryWidgetViewComponent extends AXPWidgetComponent {
5532
5962
  <small>No Media!</small>
5533
5963
  }
5534
5964
  </div>
5535
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$4.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { 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: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5965
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$5.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { 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: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5536
5966
  }
5537
5967
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetViewComponent, decorators: [{
5538
5968
  type: Component,
@@ -5637,8 +6067,14 @@ class AXPGalleryWidgetEditComponent extends AXPWidgetComponent {
5637
6067
  return { icon: '', format: 'image' };
5638
6068
  }
5639
6069
  }
6070
+ get __class() {
6071
+ const cls = {};
6072
+ cls[`ax-block`] = true;
6073
+ cls[`ax-flex-1`] = true;
6074
+ return cls;
6075
+ }
5640
6076
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5641
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGalleryWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
6077
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGalleryWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
5642
6078
  <div class="ax-grid ax-grid-cols-12 ax-gap-2">
5643
6079
  @if(internalValue().length){
5644
6080
  <div class="ax-col-start-1 ax-col-end-13 ax-flex ax-items-center lg:ax-justify-start ax-justify-center ">
@@ -5691,7 +6127,7 @@ class AXPGalleryWidgetEditComponent extends AXPWidgetComponent {
5691
6127
 
5692
6128
  }
5693
6129
  </div>
5694
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$4.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { 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: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXUploaderModule }, { kind: "component", type: i5$1.AXUploaderDropZoneComponent, selector: "ax-uploader-drop-zone", inputs: ["description"] }, { kind: "directive", type: i5$1.AXUploaderZoneDirective, selector: "[axUploaderZone]", inputs: ["multiple", "accept"], outputs: ["onChanged", "onFileUploadComplete", "onFilesUploadComplete"] }, { kind: "directive", type: i5$1.AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6130
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$5.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { 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: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXUploaderModule }, { kind: "component", type: i5$1.AXUploaderDropZoneComponent, selector: "ax-uploader-drop-zone", inputs: ["description"] }, { kind: "directive", type: i5$1.AXUploaderZoneDirective, selector: "[axUploaderZone]", inputs: ["multiple", "accept"], outputs: ["onChanged", "onFileUploadComplete", "onFilesUploadComplete"] }, { kind: "directive", type: i5$1.AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5695
6131
  }
5696
6132
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetEditComponent, decorators: [{
5697
6133
  type: Component,
@@ -5755,7 +6191,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
5755
6191
  imports: [CommonModule, FormsModule, AXImageModule, AXDecoratorModule, AXLoadingModule, AXUploaderModule],
5756
6192
  inputs: [],
5757
6193
  }]
5758
- }] });
6194
+ }], propDecorators: { __class: [{
6195
+ type: HostBinding,
6196
+ args: ['class']
6197
+ }] } });
5759
6198
 
5760
6199
  var galleryWidgetEdit_component = /*#__PURE__*/Object.freeze({
5761
6200
  __proto__: null,
@@ -6042,8 +6481,14 @@ class AXPMapBoxWidgetEditComponent extends AXPWidgetComponent {
6042
6481
  duration: 1.5,
6043
6482
  });
6044
6483
  }
6484
+ get __class() {
6485
+ const cls = {};
6486
+ cls[`ax-block`] = true;
6487
+ cls[`ax-flex-1`] = true;
6488
+ return cls;
6489
+ }
6045
6490
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPMapBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6046
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPMapBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "mapEl", first: true, predicate: ["mapEl"], descendants: true }], usesInheritance: true, ngImport: i0, template: `<div class="ax-w-full ax-h-72 ax-relative">
6491
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPMapBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, viewQueries: [{ propertyName: "mapEl", first: true, predicate: ["mapEl"], descendants: true }], usesInheritance: true, ngImport: i0, template: `<div class="ax-w-full ax-h-72 ax-relative">
6047
6492
  <div class="ax-h-full" #mapEl></div>
6048
6493
  @if(multiple()){
6049
6494
  <div class="marker-list-panel">
@@ -6077,6 +6522,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6077
6522
  }], propDecorators: { mapEl: [{
6078
6523
  type: ViewChild,
6079
6524
  args: ['mapEl']
6525
+ }], __class: [{
6526
+ type: HostBinding,
6527
+ args: ['class']
6080
6528
  }] } });
6081
6529
 
6082
6530
  var mapBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
@@ -6150,7 +6598,11 @@ const AXPMapBoxWidget = {
6150
6598
  description: 'Displays and interacts with maps',
6151
6599
  icon: 'fa-solid fa-map-location',
6152
6600
  group: AXP_WIDGETS_ADVANCE_GROUP,
6153
- properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_ALLOW_MULTIPLE_PROPERTY],
6601
+ properties: [
6602
+ AXP_NAME_PROPERTY,
6603
+ AXP_DATA_PATH_PROPERTY,
6604
+ AXP_ALLOW_MULTIPLE_PROPERTY
6605
+ ],
6154
6606
  components: {
6155
6607
  view: {
6156
6608
  component: () => Promise.resolve().then(function () { return mapBoxWidgetView_component; }).then((c) => c.AXPMapBoxWidgetViewComponent),
@@ -6253,8 +6705,14 @@ class AXPSignatureWidgetEditComponent extends AXPWidgetComponent {
6253
6705
  this.setValue(this.getDataURL());
6254
6706
  }
6255
6707
  }
6708
+ get __class() {
6709
+ const cls = {};
6710
+ cls[`ax-block`] = true;
6711
+ cls[`ax-flex-1`] = true;
6712
+ return cls;
6713
+ }
6256
6714
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSignatureWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6257
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSignatureWidgetEditComponent, isStandalone: true, selector: "axp-signature-widget", viewQueries: [{ propertyName: "padCanvas", first: true, predicate: ["padCanvas"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
6715
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPSignatureWidgetEditComponent, isStandalone: true, selector: "axp-signature-widget", host: { properties: { "class": "this.__class" } }, viewQueries: [{ propertyName: "padCanvas", first: true, predicate: ["padCanvas"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
6258
6716
  <div class="ax-flex ax-gap-3">
6259
6717
  @if(editMode() ){
6260
6718
  <canvas width="300" class="ax-border ax-rounded-md" #padCanvas></canvas>
@@ -6281,7 +6739,7 @@ class AXPSignatureWidgetEditComponent extends AXPWidgetComponent {
6281
6739
  </div>
6282
6740
  }
6283
6741
  </div>
6284
- `, 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: 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: AXImageModule }, { kind: "component", type: i2$4.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6742
+ `, 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: 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: AXImageModule }, { kind: "component", type: i2$5.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6285
6743
  }
6286
6744
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSignatureWidgetEditComponent, decorators: [{
6287
6745
  type: Component,
@@ -6322,6 +6780,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6322
6780
  }], propDecorators: { padCanvas: [{
6323
6781
  type: ViewChild,
6324
6782
  args: ['padCanvas']
6783
+ }], __class: [{
6784
+ type: HostBinding,
6785
+ args: ['class']
6325
6786
  }] } });
6326
6787
 
6327
6788
  var signaturePadWidgetEdit_component = /*#__PURE__*/Object.freeze({
@@ -6384,7 +6845,7 @@ class AXPSignatureWidgetViewComponent extends AXPWidgetComponent {
6384
6845
  <span>{{placeholder()}}</span>
6385
6846
  }
6386
6847
  </div>
6387
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$4.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6848
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$5.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6388
6849
  }
6389
6850
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSignatureWidgetViewComponent, decorators: [{
6390
6851
  type: Component,
@@ -6445,30 +6906,54 @@ class AXPBlockWidgetDesignerComponent extends AXPContainerWidgetComponent {
6445
6906
  super(...arguments);
6446
6907
  this.backgroundColor = computed(() => this.options()["backgroundColor"]);
6447
6908
  this.cssClass = computed(() => this.options()["cssClass"]);
6909
+ this.flexAlignItems = computed(() => this.options()["flexAlignItems"]?.id);
6910
+ this.flexJustifyContent = computed(() => this.options()["flexJustifyContent"]?.id);
6911
+ this.flexWrap = computed(() => this.options()["flexWrap"]?.id);
6912
+ this.flexDirection = computed(() => this.options()["flexDirection"]?.id);
6913
+ this.gap = computed(() => this.options()["gap"] ?? 0);
6448
6914
  }
6449
6915
  get __class() {
6450
- return this.cssClass();
6451
- }
6452
- get __class2() {
6453
- return ['ax-border', 'ax-border-dashed'];
6916
+ const cls = {};
6917
+ //
6918
+ cls[`ax-w-full`] = true;
6919
+ cls[`ax-border`] = true;
6920
+ cls[`ax-border-dashed`] = true;
6921
+ //
6922
+ cls[`ax-flex`] = true;
6923
+ cls[`ax-gap-${this.gap()}`] = true;
6924
+ //
6925
+ if (this.flexAlignItems()) {
6926
+ cls[this.flexAlignItems()] = true;
6927
+ }
6928
+ if (this.flexJustifyContent()) {
6929
+ cls[this.flexJustifyContent()] = true;
6930
+ }
6931
+ if (this.flexWrap()) {
6932
+ cls[this.flexWrap()] = true;
6933
+ }
6934
+ if (this.flexDirection()) {
6935
+ cls[this.flexDirection()] = true;
6936
+ }
6937
+ return cls;
6454
6938
  }
6455
6939
  get __style() {
6456
6940
  return {
6457
6941
  'background-color': this.backgroundColor(),
6458
- 'display': 'block',
6459
6942
  };
6460
6943
  }
6461
6944
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6462
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPBlockWidgetDesignerComponent, isStandalone: true, selector: "axp-block-widget", host: { properties: { "class": "this.__class2", "style": "this.__style" } }, providers: [
6945
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPBlockWidgetDesignerComponent, isStandalone: true, selector: "axp-block-widget", host: { properties: { "class": "this.__class", "style": "this.__style" } }, providers: [
6463
6946
  {
6464
6947
  provide: AXPContainerWidgetComponent, useExisting: AXPBlockWidgetDesignerComponent
6465
6948
  }
6466
6949
  ], usesInheritance: true, ngImport: i0, template: `
6467
6950
  @for (node of children(); track $index) {
6468
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-designer-renderer>
6951
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
6469
6952
  }
6470
- <axp-designer-add-widget-button></axp-designer-add-widget-button>
6471
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPWidgetDesignerRendererComponent, selector: "axp-widget-designer-renderer", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6953
+ @empty {
6954
+ <axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-button>
6955
+ }
6956
+ `, 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: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6472
6957
  }
6473
6958
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetDesignerComponent, decorators: [{
6474
6959
  type: Component,
@@ -6476,13 +6961,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6476
6961
  selector: 'axp-block-widget',
6477
6962
  template: `
6478
6963
  @for (node of children(); track $index) {
6479
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-designer-renderer>
6964
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
6965
+ }
6966
+ @empty {
6967
+ <axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-button>
6480
6968
  }
6481
- <axp-designer-add-widget-button></axp-designer-add-widget-button>
6482
6969
  `,
6483
6970
  standalone: true,
6484
6971
  changeDetection: ChangeDetectionStrategy.OnPush,
6485
- imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],
6972
+ imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent],
6486
6973
  providers: [
6487
6974
  {
6488
6975
  provide: AXPContainerWidgetComponent, useExisting: AXPBlockWidgetDesignerComponent
@@ -6492,9 +6979,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6492
6979
  }], propDecorators: { __class: [{
6493
6980
  type: HostBinding,
6494
6981
  args: ['class']
6495
- }], __class2: [{
6496
- type: HostBinding,
6497
- args: ['class']
6498
6982
  }], __style: [{
6499
6983
  type: HostBinding,
6500
6984
  args: ['style']
@@ -6510,14 +6994,28 @@ class AXPBlockWidgetViewComponent extends AXPWidgetComponent {
6510
6994
  super(...arguments);
6511
6995
  this.backgroundColor = computed(() => this.options()["backgroundColor"]);
6512
6996
  this.cssClass = computed(() => this.options()["cssClass"]);
6997
+ this.flexAlign = computed(() => this.options()["flexAlign"]?.id);
6998
+ this.flexJustify = computed(() => this.options()["flexJustify"]?.id);
6999
+ this.gap = computed(() => this.options()["gap"] ?? 0);
6513
7000
  }
6514
7001
  get __class() {
6515
- return this.cssClass();
7002
+ const cls = {};
7003
+ //
7004
+ cls[`ax-flex`] = true;
7005
+ cls[`ax-flex-col`] = true;
7006
+ cls[`ax-w-full`] = true;
7007
+ cls[`ax-gap-${this.gap}`] = true;
7008
+ if (this.flexAlign()) {
7009
+ cls[this.flexAlign()] = true;
7010
+ }
7011
+ if (this.flexJustify()) {
7012
+ cls[this.flexJustify()] = true;
7013
+ }
7014
+ return cls;
6516
7015
  }
6517
7016
  get __style() {
6518
7017
  return {
6519
7018
  'background-color': this.backgroundColor(),
6520
- 'display': 'block',
6521
7019
  };
6522
7020
  }
6523
7021
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
@@ -6560,7 +7058,11 @@ const AXPBlockWidget = {
6560
7058
  icon: 'fa-solid fa-square',
6561
7059
  group: AXP_WIDGETS_LAYOUT_GROUP,
6562
7060
  container: true,
6563
- properties: [AXP_FONT_SIZE_PROPERTY, cloneProperty(AXP_BG_COLOR_PROPERTY, { schema: { defaultValue: null } })],
7061
+ properties: [
7062
+ AXP_FONT_SIZE_PROPERTY,
7063
+ cloneProperty(AXP_BG_COLOR_PROPERTY, { schema: { defaultValue: null } }),
7064
+ ...AXP_LAYOUT_FLEX_PROPERTIES
7065
+ ],
6564
7066
  components: {
6565
7067
  designer: {
6566
7068
  component: () => Promise.resolve().then(function () { return blockWidgetDesigner_component; }).then((c) => c.AXPBlockWidgetDesignerComponent),
@@ -6585,7 +7087,6 @@ class AXPPageWidgetViewComponent extends AXPWidgetComponent {
6585
7087
  get __style() {
6586
7088
  return {
6587
7089
  'background-color': this.backgroundColor(),
6588
- 'display': 'block',
6589
7090
  };
6590
7091
  }
6591
7092
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
@@ -6639,7 +7140,7 @@ const AXPPageWidget = {
6639
7140
  component: () => Promise.resolve().then(function () { return pageWidgetView_component; }).then((c) => c.AXPPageWidgetViewComponent),
6640
7141
  },
6641
7142
  designer: {
6642
- component: () => import('./acorex-platform-widgets-page-widget-designer.component-DlfG4EP1.mjs').then((c) => c.AXPPageWidgetDesignerComponent),
7143
+ component: () => import('./acorex-platform-widgets-page-widget-designer.component-6BMZ0qRw.mjs').then((c) => c.AXPPageWidgetDesignerComponent),
6643
7144
  },
6644
7145
  },
6645
7146
  };
@@ -6744,12 +7245,12 @@ class AXPRepeaterWidgetDesignerComponent extends AXPContainerWidgetComponent {
6744
7245
  @for(row of rows();let i=$index; track i){
6745
7246
  <ng-container>
6746
7247
  @for (node of children();track $index) {
6747
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [index]="i" [mode]="this.mode"> </axp-widget-designer-renderer>
7248
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [index]="i" [mode]="this.mode"> </ng-container>
6748
7249
  }
6749
7250
  </ng-container>
6750
7251
  }
6751
7252
  <axp-designer-add-widget-button></axp-designer-add-widget-button>
6752
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPWidgetDesignerRendererComponent, selector: "axp-widget-designer-renderer", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7253
+ `, 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: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6753
7254
  }
6754
7255
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetDesignerComponent, decorators: [{
6755
7256
  type: Component,
@@ -6758,7 +7259,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6758
7259
  @for(row of rows();let i=$index; track i){
6759
7260
  <ng-container>
6760
7261
  @for (node of children();track $index) {
6761
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [index]="i" [mode]="this.mode"> </axp-widget-designer-renderer>
7262
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [index]="i" [mode]="this.mode"> </ng-container>
6762
7263
  }
6763
7264
  </ng-container>
6764
7265
  }
@@ -6766,7 +7267,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6766
7267
  `,
6767
7268
  standalone: true,
6768
7269
  changeDetection: ChangeDetectionStrategy.OnPush,
6769
- imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],
7270
+ imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent],
6770
7271
  providers: [
6771
7272
  {
6772
7273
  provide: AXPContainerWidgetComponent, useExisting: AXPRepeaterWidgetDesignerComponent
@@ -6826,38 +7327,50 @@ var colorBoxWidgetView_component = /*#__PURE__*/Object.freeze({
6826
7327
  class AXPColorBoxWidgetEditComponent extends AXPWidgetComponent {
6827
7328
  constructor() {
6828
7329
  super(...arguments);
7330
+ this.placeholder = computed(() => this.options()["placeholder"]);
6829
7331
  this.disabled = computed(() => this.options()["disabled"]);
7332
+ this.readonly = computed(() => this.options()["readonly"]);
6830
7333
  this.hasClearButton = computed(() => this.options()['hasClearButton']);
6831
7334
  this.validationRules = computed(() => this.options()["validationRules"] ?? []);
6832
7335
  }
7336
+ get __class() {
7337
+ const cls = {};
7338
+ cls[`ax-flex-1`] = true;
7339
+ return cls;
7340
+ }
6833
7341
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6834
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPColorBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
6835
- <ax-color-box [disabled]="disabled()" [ngModel]="getValue()" (ngModelChange)="setValue($event)">
7342
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPColorBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
7343
+ <ax-color-box [disabled]="disabled()" [readonly]="readonly()" [ngModel]="getValue()" [placeholder]="placeholder()" (onValueChanged)="handleValueChanged($event)">
7344
+ @for (validation of validationRules(); track $index) {
7345
+ <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
7346
+ }
6836
7347
  @if(hasClearButton()){
6837
7348
  <ax-clear-button></ax-clear-button>
6838
- } @for (validation of validationRules(); track $index) {
6839
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
6840
- }
7349
+ }
6841
7350
  </ax-color-box>
6842
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "component", type: i2$5.AXColorBoxComponent, selector: "ax-color-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7351
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXColorBoxModule }, { kind: "component", type: i2$6.AXColorBoxComponent, selector: "ax-color-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6843
7352
  }
6844
7353
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetEditComponent, decorators: [{
6845
7354
  type: Component,
6846
7355
  args: [{
6847
7356
  template: `
6848
- <ax-color-box [disabled]="disabled()" [ngModel]="getValue()" (ngModelChange)="setValue($event)">
7357
+ <ax-color-box [disabled]="disabled()" [readonly]="readonly()" [ngModel]="getValue()" [placeholder]="placeholder()" (onValueChanged)="handleValueChanged($event)">
7358
+ @for (validation of validationRules(); track $index) {
7359
+ <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
7360
+ }
6849
7361
  @if(hasClearButton()){
6850
7362
  <ax-clear-button></ax-clear-button>
6851
- } @for (validation of validationRules(); track $index) {
6852
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
6853
- }
7363
+ }
6854
7364
  </ax-color-box>
6855
7365
  `,
6856
7366
  standalone: true,
6857
7367
  changeDetection: ChangeDetectionStrategy.OnPush,
6858
7368
  imports: [CommonModule, FormsModule, AXColorBoxModule, AXDecoratorModule, AXFormModule],
6859
7369
  }]
6860
- }] });
7370
+ }], propDecorators: { __class: [{
7371
+ type: HostBinding,
7372
+ args: ['class']
7373
+ }] } });
6861
7374
 
6862
7375
  var colorBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
6863
7376
  __proto__: null,
@@ -6930,8 +7443,18 @@ const AXPColorBoxWidget = {
6930
7443
  description: 'Picks and applies colors',
6931
7444
  icon: 'fa-solid fa-palette',
6932
7445
  group: AXP_WIDGETS_EDITOR_GROUP,
6933
- properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY, AXP_VALIDATION_PROPERTY, AXP_PLACEHOLDER_PROPERTY],
7446
+ properties: [
7447
+ AXP_NAME_PROPERTY,
7448
+ AXP_DATA_PATH_PROPERTY,
7449
+ AXP_READONLY_PROPERTY,
7450
+ AXP_DISABLED_PROPERTY,
7451
+ AXP_VALIDATION_PROPERTY,
7452
+ AXP_PLACEHOLDER_PROPERTY
7453
+ ],
6934
7454
  components: {
7455
+ designer: {
7456
+ component: () => import('./acorex-platform-widgets-color-box-widget-designer.component-BF24k3Y-.mjs').then((c) => c.AXPColorBoxWidgetDesignerComponent),
7457
+ },
6935
7458
  view: {
6936
7459
  component: () => Promise.resolve().then(function () { return colorBoxWidgetView_component; }).then((c) => c.AXPColorBoxWidgetViewComponent),
6937
7460
  },
@@ -6947,9 +7470,6 @@ const AXPColorBoxWidget = {
6947
7470
  print: {
6948
7471
  component: () => Promise.resolve().then(function () { return colorBoxWidgetPrint_component; }).then((c) => c.AXPColorBoxWidgetPrintComponent),
6949
7472
  },
6950
- designer: {
6951
- component: () => Promise.resolve().then(function () { return colorBoxWidgetEdit_component; }).then((c) => c.AXPColorBoxWidgetEditComponent),
6952
- },
6953
7473
  },
6954
7474
  };
6955
7475
 
@@ -6961,13 +7481,14 @@ class AXPTextBlockWidgetViewComponent extends AXPWidgetComponent {
6961
7481
  this.innerContent = computed(() => this.sanitizer.bypassSecurityTrustHtml(this.content()));
6962
7482
  }
6963
7483
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBlockWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6964
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPTextBlockWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
7484
+ 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: `
6965
7485
  <div [innerHTML]="innerContent()"></div>
6966
7486
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6967
7487
  }
6968
7488
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBlockWidgetViewComponent, decorators: [{
6969
7489
  type: Component,
6970
7490
  args: [{
7491
+ selector: "axp-text-block-widget",
6971
7492
  template: `
6972
7493
  <div [innerHTML]="innerContent()"></div>
6973
7494
  `,
@@ -6989,11 +7510,10 @@ const AXPTextBlockWidget = {
6989
7510
  icon: 'fa-solid fa-text',
6990
7511
  group: AXP_WIDGETS_LAYOUT_GROUP,
6991
7512
  properties: [
6992
- AXP_PLACEHOLDER_PROPERTY,
6993
7513
  {
6994
7514
  name: 'content',
6995
7515
  title: 'Content',
6996
- group: AXP_DATA_PROPERTY_GROUP,
7516
+ group: AXP_BEHAVIOR_PROPERTY_GROUP,
6997
7517
  schema: {
6998
7518
  dataType: 'string',
6999
7519
  defaultValue: 'Text Block',
@@ -7017,7 +7537,7 @@ const AXPTextBlockWidget = {
7017
7537
  component: () => Promise.resolve().then(function () { return textBlockWidgetView_component; }).then((c) => c.AXPTextBlockWidgetViewComponent),
7018
7538
  },
7019
7539
  designer: {
7020
- component: () => Promise.resolve().then(function () { return textBlockWidgetView_component; }).then((c) => c.AXPTextBlockWidgetViewComponent),
7540
+ component: () => import('./acorex-platform-widgets-text-block-widget-designer.component-Bi9hlpvB.mjs').then((c) => c.AXPTextBlockWidgetDesignerComponent),
7021
7541
  },
7022
7542
  },
7023
7543
  };
@@ -7047,7 +7567,7 @@ class AXPFormFieldWidgetViewComponent extends AXPWidgetComponent {
7047
7567
  <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer>
7048
7568
  }
7049
7569
  </ax-form-field>
7050
- `, 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$6.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1$5.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "mode", "parentNode", "index"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7570
+ `, 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$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1$5.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node", "mode", "parentNode", "index"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7051
7571
  }
7052
7572
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetViewComponent, decorators: [{
7053
7573
  type: Component,
@@ -7076,8 +7596,14 @@ class AXPFormFieldWidgetDesignerComponent extends AXPContainerWidgetComponent {
7076
7596
  super(...arguments);
7077
7597
  this.label = computed(() => this.options()["label"]);
7078
7598
  }
7599
+ get __class() {
7600
+ const cls = {};
7601
+ cls[`ax-block`] = true;
7602
+ cls[`ax-w-full`] = true;
7603
+ return cls;
7604
+ }
7079
7605
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7080
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPFormFieldWidgetDesignerComponent, isStandalone: true, selector: "ng-component", providers: [
7606
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPFormFieldWidgetDesignerComponent, isStandalone: true, selector: "axp-form-field-widget", host: { properties: { "class": "this.__class" } }, providers: [
7081
7607
  {
7082
7608
  provide: AXPContainerWidgetComponent, useExisting: AXPFormFieldWidgetDesignerComponent
7083
7609
  }
@@ -7085,22 +7611,23 @@ class AXPFormFieldWidgetDesignerComponent extends AXPContainerWidgetComponent {
7085
7611
  <ax-form-field>
7086
7612
  <ax-label>{{label()}}</ax-label>
7087
7613
  @for (node of children(); track $index) {
7088
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-designer-renderer>
7614
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
7089
7615
  }
7090
7616
  @empty {
7091
7617
  <axp-designer-add-widget-button class="axp-empty-space ax-block ax-p-0 "></axp-designer-add-widget-button>
7092
7618
  }
7093
7619
  </ax-form-field>
7094
- `, 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$6.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPWidgetDesignerRendererComponent, selector: "axp-widget-designer-renderer", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7620
+ `, 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$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7095
7621
  }
7096
7622
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetDesignerComponent, decorators: [{
7097
7623
  type: Component,
7098
7624
  args: [{
7625
+ selector: "axp-form-field-widget",
7099
7626
  template: `
7100
7627
  <ax-form-field>
7101
7628
  <ax-label>{{label()}}</ax-label>
7102
7629
  @for (node of children(); track $index) {
7103
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-designer-renderer>
7630
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
7104
7631
  }
7105
7632
  @empty {
7106
7633
  <axp-designer-add-widget-button class="axp-empty-space ax-block ax-p-0 "></axp-designer-add-widget-button>
@@ -7109,14 +7636,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7109
7636
  `,
7110
7637
  standalone: true,
7111
7638
  changeDetection: ChangeDetectionStrategy.OnPush,
7112
- imports: [CommonModule, AXFormModule, AXLabelModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],
7639
+ imports: [CommonModule, AXFormModule, AXLabelModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent],
7113
7640
  providers: [
7114
7641
  {
7115
7642
  provide: AXPContainerWidgetComponent, useExisting: AXPFormFieldWidgetDesignerComponent
7116
7643
  }
7117
7644
  ]
7118
7645
  }]
7119
- }] });
7646
+ }], propDecorators: { __class: [{
7647
+ type: HostBinding,
7648
+ args: ['class']
7649
+ }] } });
7120
7650
 
7121
7651
  var formFieldWidgetDesigner_component = /*#__PURE__*/Object.freeze({
7122
7652
  __proto__: null,
@@ -7180,29 +7710,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7180
7710
  }]
7181
7711
  }] });
7182
7712
 
7183
- var gridWidgetPrint_component = /*#__PURE__*/Object.freeze({
7184
- __proto__: null,
7185
- AXPGridWidgetPrintComponent: AXPGridWidgetPrintComponent
7186
- });
7187
-
7188
7713
  class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent {
7189
7714
  constructor() {
7190
7715
  super(...arguments);
7191
7716
  this.designerService = inject(AXPDesignerService);
7192
- this.element = inject(ElementRef);
7193
7717
  this.cols = computed(() => this.options()["cols"] ?? 1);
7194
7718
  this.rows = computed(() => this.options()["rows"] ?? 1);
7195
7719
  this.gap = computed(() => this.options()["gap"] ?? 0);
7196
7720
  this.cells = computed(() => Array.from({ length: this.cols() * this.rows() }).map((c, index) => index));
7197
- this.settled = signal(false);
7198
- this.e = effect(() => {
7199
- const v = this.cells();
7200
- const g = this.gap();
7201
- setTimeout(() => {
7202
- this.element.nativeElement.style.minHeight = this.placeholder?.nativeElement ? `${this.placeholder.nativeElement.clientHeight}px` : '100px';
7203
- }, 50);
7204
- });
7205
- }
7721
+ this.settled = computed(() => (this.cols() * this.rows() > 1) && this.children().length);
7722
+ }
7723
+ // private e = effect(async () => {
7724
+ // if (this.settled()) {
7725
+ // const cols = this.cols();
7726
+ // const rows = this.rows();
7727
+ // const gap = this.gap();
7728
+ // // const gridstack = (await import('gridstack')).GridStack;
7729
+ // // const cols = this.cols();
7730
+ // // const rows = this.rows();
7731
+ // // debugger
7732
+ // // // Initialize the grid with responsive options
7733
+ // // gridstack.init({
7734
+ // // cellHeight: 80,
7735
+ // // margin: 0,
7736
+ // // minRow: 1,
7737
+ // // column: 11,
7738
+ // // });
7739
+ // setTimeout(() => {
7740
+ // this.element.nativeElement.style.minHeight = this.placeholder?.nativeElement ? `${this.placeholder.nativeElement.clientHeight}px` : '100px';
7741
+ // }, 50);
7742
+ // }
7743
+ // })
7206
7744
  handleDrawerSelect(e) {
7207
7745
  this.designerService.update({
7208
7746
  values: {
@@ -7211,53 +7749,48 @@ class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent {
7211
7749
  mode: 'update',
7212
7750
  widget: this.node
7213
7751
  });
7214
- this.settled.set(true);
7752
+ const list = Array.from({ length: this.cells().length }).map(() => ({
7753
+ type: AXPWidgetsCatalog.gridItem,
7754
+ }));
7755
+ list.forEach((node) => {
7756
+ this.designerService.addWidget(this.node, node);
7757
+ });
7215
7758
  }
7216
7759
  get __class() {
7217
- return [
7218
- 'ax-relative',
7219
- 'ax-block',
7220
- ];
7760
+ const cls = {};
7761
+ //
7762
+ cls[`ax-block`] = true;
7763
+ cls[`ax-w-full`] = true;
7764
+ return cls;
7221
7765
  }
7222
7766
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7223
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridWidgetDesignerComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, providers: [
7767
+ 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: [
7224
7768
  {
7225
7769
  provide: AXPContainerWidgetComponent, useExisting: AXPGridWidgetDesignerComponent
7226
7770
  }
7227
- ], viewQueries: [{ propertyName: "placeholder", first: true, predicate: ["placeholder"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
7771
+ ], usesInheritance: true, ngImport: i0, template: `
7228
7772
  @if(settled())
7229
7773
  {
7230
- <div #placeholder class="ax-absolute ax-top-0 ax-left-0 ax-right-0 ax-grid ax-grid-cols-{{cols()}} ax-grid-rows-{{rows()}} ax-gap-{{gap()}}">
7231
- @for(c of cells();track $index)
7232
- {
7233
- <div class="axp-empty-space ax-p-8"></div>
7234
- }
7235
- </div>
7236
- <div class="ax-relative ax-grid ax-grid-cols-{{cols()}} ax-grid-rows-{{rows()}} ax-gap-{{gap()}}">
7774
+ <div class="ax-grid ax-grid-cols-{{cols()}} ax-grid-rows-{{rows()}} ax-gap-{{gap()}}">
7237
7775
  @for (node of children(); track $index) {
7238
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-designer-renderer>
7776
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
7239
7777
  }
7240
7778
  </div>
7241
7779
  }@else {
7242
7780
  <axp-designer-grid-drawer (onSelect)="handleDrawerSelect($event)"></axp-designer-grid-drawer>
7243
7781
  }
7244
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPWidgetDesignerRendererComponent, 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 }); }
7782
+ `, 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 }); }
7245
7783
  }
7246
7784
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetDesignerComponent, decorators: [{
7247
7785
  type: Component,
7248
7786
  args: [{
7787
+ selector: 'axp-grid-layout-widget',
7249
7788
  template: `
7250
7789
  @if(settled())
7251
7790
  {
7252
- <div #placeholder class="ax-absolute ax-top-0 ax-left-0 ax-right-0 ax-grid ax-grid-cols-{{cols()}} ax-grid-rows-{{rows()}} ax-gap-{{gap()}}">
7253
- @for(c of cells();track $index)
7254
- {
7255
- <div class="axp-empty-space ax-p-8"></div>
7256
- }
7257
- </div>
7258
- <div class="ax-relative ax-grid ax-grid-cols-{{cols()}} ax-grid-rows-{{rows()}} ax-gap-{{gap()}}">
7791
+ <div class="ax-grid ax-grid-cols-{{cols()}} ax-grid-rows-{{rows()}} ax-gap-{{gap()}}">
7259
7792
  @for (node of children(); track $index) {
7260
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-designer-renderer>
7793
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
7261
7794
  }
7262
7795
  </div>
7263
7796
  }@else {
@@ -7266,17 +7799,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7266
7799
  `,
7267
7800
  standalone: true,
7268
7801
  changeDetection: ChangeDetectionStrategy.OnPush,
7269
- imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent, AXPDesignerGridDrawerComponent],
7802
+ imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent, AXPDesignerGridDrawerComponent],
7270
7803
  providers: [
7271
7804
  {
7272
7805
  provide: AXPContainerWidgetComponent, useExisting: AXPGridWidgetDesignerComponent
7273
7806
  }
7274
7807
  ]
7275
7808
  }]
7276
- }], propDecorators: { placeholder: [{
7277
- type: ViewChild,
7278
- args: ["placeholder", { static: false }]
7279
- }], __class: [{
7809
+ }], propDecorators: { __class: [{
7280
7810
  type: HostBinding,
7281
7811
  args: ['class']
7282
7812
  }] } });
@@ -7286,71 +7816,16 @@ var gridWidgetDesigner_component = /*#__PURE__*/Object.freeze({
7286
7816
  AXPGridWidgetDesignerComponent: AXPGridWidgetDesignerComponent
7287
7817
  });
7288
7818
 
7289
- const AXP_LAYOUT_GAP_PROPERTY = {
7290
- name: 'gap',
7291
- title: 'Gap',
7292
- group: AXP_STYLING_PROPERTY_GROUP,
7293
- schema: {
7294
- dataType: 'number',
7295
- defaultValue: 2,
7296
- interface: {
7297
- name: 'gap',
7298
- path: 'options.gap',
7299
- type: AXPWidgetsCatalog.number,
7300
- options: {
7301
- minValue: 0,
7302
- maxValue: 12,
7303
- },
7304
- },
7305
- },
7306
- visible: true,
7307
- };
7308
- const AXP_LAYOUT_COLUMNS_PROPERTY = {
7309
- name: 'cols',
7310
- title: 'Columns',
7311
- group: AXP_STYLING_PROPERTY_GROUP,
7312
- schema: {
7313
- dataType: 'number',
7314
- defaultValue: 1,
7315
- interface: {
7316
- name: 'cols',
7317
- path: 'options.cols',
7318
- type: AXPWidgetsCatalog.number,
7319
- options: {
7320
- minValue: 1,
7321
- maxValue: 12,
7322
- },
7323
- },
7324
- },
7325
- visible: true,
7326
- };
7327
- const AXP_LAYOUT_ROWS_PROPERTY = {
7328
- name: 'rows',
7329
- title: 'Rows',
7330
- group: AXP_STYLING_PROPERTY_GROUP,
7331
- schema: {
7332
- dataType: 'number',
7333
- defaultValue: 1,
7334
- interface: {
7335
- name: 'rows',
7336
- path: 'options.rows',
7337
- type: AXPWidgetsCatalog.number,
7338
- options: {
7339
- minValue: 1,
7340
- maxValue: 100,
7341
- },
7342
- },
7343
- },
7344
- visible: true,
7345
- };
7346
-
7347
7819
  const AXPGridWidget = {
7348
- name: 'grid',
7820
+ name: 'grid-layout',
7349
7821
  title: 'Grid Layout',
7350
7822
  container: true,
7351
7823
  group: AXP_WIDGETS_LAYOUT_GROUP,
7352
7824
  icon: 'fa-solid fa-grid',
7353
- properties: [AXP_NAME_PROPERTY, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_ROWS_PROPERTY],
7825
+ properties: [
7826
+ AXP_NAME_PROPERTY,
7827
+ ...AXP_LAYOUT_GRID_PROPERTIES
7828
+ ],
7354
7829
  components: {
7355
7830
  view: {
7356
7831
  component: () => Promise.resolve().then(function () { return gridWidgetView_component; }).then((c) => c.AXPGridWidgetViewComponent),
@@ -7359,7 +7834,7 @@ const AXPGridWidget = {
7359
7834
  component: () => Promise.resolve().then(function () { return gridWidgetView_component; }).then((c) => c.AXPGridWidgetViewComponent),
7360
7835
  },
7361
7836
  print: {
7362
- component: () => Promise.resolve().then(function () { return gridWidgetPrint_component; }).then((c) => c.AXPGridWidgetPrintComponent),
7837
+ component: () => Promise.resolve().then(function () { return gridWidgetView_component; }).then((c) => c.AXPGridWidgetViewComponent),
7363
7838
  },
7364
7839
  designer: {
7365
7840
  component: () => Promise.resolve().then(function () { return gridWidgetDesigner_component; }).then((c) => c.AXPGridWidgetDesignerComponent),
@@ -7376,8 +7851,14 @@ class AXPQrcodeWidgetViewComponent extends AXPWidgetComponent {
7376
7851
  this.color = computed(() => AXColorUtil.colorStringToHex(this.options()['color'] ?? '#000000'));
7377
7852
  this.outputType = computed(() => this.options()['outputType']);
7378
7853
  }
7854
+ get __class() {
7855
+ const cls = {};
7856
+ cls[`ax-block`] = true;
7857
+ cls[`ax-flex-1`] = true;
7858
+ return cls;
7859
+ }
7379
7860
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPQrcodeWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7380
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPQrcodeWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
7861
+ 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: `
7381
7862
  @if(this.content()){
7382
7863
  <ax-qrcode
7383
7864
  [content]="this.content()"
@@ -7388,7 +7869,7 @@ class AXPQrcodeWidgetViewComponent extends AXPWidgetComponent {
7388
7869
  >
7389
7870
  </ax-qrcode>
7390
7871
  }
7391
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: QrcodeModule }, { kind: "component", type: i1$6.AXQrcodeComponent, selector: "ax-qrcode", inputs: ["content", "size", "level", "color", "backgroundColor", "outputType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7872
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXQrcodeModule }, { kind: "component", type: i1$6.AXQrcodeComponent, selector: "ax-qrcode", inputs: ["content", "size", "level", "color", "backgroundColor", "outputType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7392
7873
  }
7393
7874
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPQrcodeWidgetViewComponent, decorators: [{
7394
7875
  type: Component,
@@ -7407,9 +7888,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7407
7888
  `,
7408
7889
  standalone: true,
7409
7890
  changeDetection: ChangeDetectionStrategy.OnPush,
7410
- imports: [CommonModule, QrcodeModule],
7891
+ imports: [CommonModule, AXQrcodeModule],
7411
7892
  }]
7412
- }] });
7893
+ }], propDecorators: { __class: [{
7894
+ type: HostBinding,
7895
+ args: ['class']
7896
+ }] } });
7413
7897
 
7414
7898
  var qrcodeWidgetView_component = /*#__PURE__*/Object.freeze({
7415
7899
  __proto__: null,
@@ -7418,11 +7902,11 @@ var qrcodeWidgetView_component = /*#__PURE__*/Object.freeze({
7418
7902
 
7419
7903
  const AXPQrcodeWidget = {
7420
7904
  name: 'qrcode',
7421
- title: 'Qrcode',
7905
+ title: 'QR Code',
7422
7906
  group: AXP_WIDGETS_ADVANCE_GROUP,
7423
7907
  container: false,
7424
7908
  icon: 'fa-solid fa-qrcode',
7425
- description: 'Display and edit Qrcodes',
7909
+ description: 'Display and edit QR Codes',
7426
7910
  properties: [
7427
7911
  AXP_NAME_PROPERTY,
7428
7912
  AXP_DATA_PATH_PROPERTY,
@@ -7476,6 +7960,320 @@ const AXPQrcodeWidget = {
7476
7960
  },
7477
7961
  };
7478
7962
 
7963
+ class AXPGridItemWidgetViewComponent extends AXPWidgetComponent {
7964
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7965
+ 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 }); }
7966
+ }
7967
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetViewComponent, decorators: [{
7968
+ type: Component,
7969
+ args: [{
7970
+ template: ``,
7971
+ standalone: true,
7972
+ changeDetection: ChangeDetectionStrategy.OnPush,
7973
+ imports: [CommonModule]
7974
+ }]
7975
+ }] });
7976
+
7977
+ var gridItemWidgetView_component = /*#__PURE__*/Object.freeze({
7978
+ __proto__: null,
7979
+ AXPGridItemWidgetViewComponent: AXPGridItemWidgetViewComponent
7980
+ });
7981
+
7982
+ class AXPGridItemWidgetPrintComponent extends AXPWidgetComponent {
7983
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7984
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPGridItemWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7985
+ }
7986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetPrintComponent, decorators: [{
7987
+ type: Component,
7988
+ args: [{
7989
+ template: ``,
7990
+ standalone: true,
7991
+ changeDetection: ChangeDetectionStrategy.OnPush,
7992
+ imports: [CommonModule],
7993
+ inputs: []
7994
+ }]
7995
+ }] });
7996
+
7997
+ class AXPGridItemWidgetDesignerComponent extends AXPContainerWidgetComponent {
7998
+ constructor() {
7999
+ super(...arguments);
8000
+ this.designerService = inject(AXPDesignerService);
8001
+ this.colSpan = computed(() => this.options()["colSpan"]);
8002
+ this.colStart = computed(() => this.options()["colStart"]);
8003
+ this.colEnd = computed(() => this.options()["colEnd"]);
8004
+ this.flexAlignItems = computed(() => this.options()["flexAlignItems"]?.id);
8005
+ this.flexJustifyContent = computed(() => this.options()["flexJustifyContent"]?.id);
8006
+ this.flexWrap = computed(() => this.options()["flexWrap"]?.id);
8007
+ this.flexDirection = computed(() => this.options()["flexDirection"]?.id);
8008
+ this.gap = computed(() => this.options()["gap"] ?? 0);
8009
+ }
8010
+ async handleSlotClick() {
8011
+ await this.designerService.showPicker(this.node);
8012
+ }
8013
+ get __class() {
8014
+ const cls = {};
8015
+ //
8016
+ cls[`ax-flex`] = true;
8017
+ cls[`ax-gap-${this.gap()}`] = true;
8018
+ //
8019
+ if (this.flexAlignItems()) {
8020
+ cls[this.flexAlignItems()] = true;
8021
+ }
8022
+ if (this.flexJustifyContent()) {
8023
+ cls[this.flexJustifyContent()] = true;
8024
+ }
8025
+ if (this.flexWrap()) {
8026
+ cls[this.flexWrap()] = true;
8027
+ }
8028
+ if (this.flexDirection()) {
8029
+ cls[this.flexDirection()] = true;
8030
+ }
8031
+ //
8032
+ cls[`ax-col-span-12`] = true;
8033
+ if (this.colSpan() != null) {
8034
+ cls[`lg:ax-col-span-${this.colSpan()}`] = true;
8035
+ }
8036
+ else {
8037
+ cls[`lg:ax-col-span-1`] = true;
8038
+ }
8039
+ //
8040
+ if (this.colStart() != null) {
8041
+ cls[`lg:ax-col-start-${this.colStart()}`] = true;
8042
+ }
8043
+ //
8044
+ if (this.colEnd() != null) {
8045
+ cls[`lg:ax-col-end-${this.colEnd()}`] = true;
8046
+ }
8047
+ return cls;
8048
+ }
8049
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
8050
+ 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: [
8051
+ {
8052
+ provide: AXPContainerWidgetComponent, useExisting: AXPGridItemWidgetDesignerComponent
8053
+ }
8054
+ ], usesInheritance: true, ngImport: i0, template: `
8055
+ @for (node of children(); track $index) {
8056
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
8057
+ }
8058
+ @empty {
8059
+ <div class="axp-empty-space ax-flex-1 ax-flex ax-justify-center ax-items-center" >
8060
+ <div class="ax-m-auto ax-p-4 ax-text-primary-500 hover:ax-text-primary-800" (click)="handleSlotClick()">
8061
+ <i class="fa-solid fa-plus "></i>
8062
+ </div>
8063
+ </div>
8064
+ }
8065
+ `, 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8066
+ }
8067
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetDesignerComponent, decorators: [{
8068
+ type: Component,
8069
+ args: [{
8070
+ selector: 'axp-grid-layout-item-widget',
8071
+ template: `
8072
+ @for (node of children(); track $index) {
8073
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
8074
+ }
8075
+ @empty {
8076
+ <div class="axp-empty-space ax-flex-1 ax-flex ax-justify-center ax-items-center" >
8077
+ <div class="ax-m-auto ax-p-4 ax-text-primary-500 hover:ax-text-primary-800" (click)="handleSlotClick()">
8078
+ <i class="fa-solid fa-plus "></i>
8079
+ </div>
8080
+ </div>
8081
+ }
8082
+ `,
8083
+ standalone: true,
8084
+ changeDetection: ChangeDetectionStrategy.OnPush,
8085
+ imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent, AXPDesignerGridDrawerComponent],
8086
+ providers: [
8087
+ {
8088
+ provide: AXPContainerWidgetComponent, useExisting: AXPGridItemWidgetDesignerComponent
8089
+ }
8090
+ ]
8091
+ }]
8092
+ }], propDecorators: { __class: [{
8093
+ type: HostBinding,
8094
+ args: ['class']
8095
+ }] } });
8096
+
8097
+ var gridItemWidgetDesigner_component = /*#__PURE__*/Object.freeze({
8098
+ __proto__: null,
8099
+ AXPGridItemWidgetDesignerComponent: AXPGridItemWidgetDesignerComponent
8100
+ });
8101
+
8102
+ const AXPGridItemWidget = {
8103
+ name: 'grid-item-layout',
8104
+ title: 'Grid Item',
8105
+ container: true,
8106
+ visible: false,
8107
+ group: AXP_WIDGETS_LAYOUT_GROUP,
8108
+ icon: 'fa-solid fa-objects-column',
8109
+ properties: [
8110
+ AXP_NAME_PROPERTY,
8111
+ ...AXP_LAYOUT_GRID_ITEM_PROPERTIES,
8112
+ ...AXP_LAYOUT_FLEX_PROPERTIES
8113
+ ],
8114
+ components: {
8115
+ view: {
8116
+ component: () => Promise.resolve().then(function () { return gridItemWidgetView_component; }).then((c) => c.AXPGridItemWidgetViewComponent),
8117
+ },
8118
+ edit: {
8119
+ component: () => Promise.resolve().then(function () { return gridItemWidgetView_component; }).then((c) => c.AXPGridItemWidgetViewComponent),
8120
+ },
8121
+ print: {
8122
+ component: () => Promise.resolve().then(function () { return gridItemWidgetView_component; }).then((c) => c.AXPGridItemWidgetViewComponent),
8123
+ },
8124
+ designer: {
8125
+ component: () => Promise.resolve().then(function () { return gridItemWidgetDesigner_component; }).then((c) => c.AXPGridItemWidgetDesignerComponent),
8126
+ },
8127
+ },
8128
+ };
8129
+
8130
+ class AXPGridRowWidgetViewComponent extends AXPWidgetComponent {
8131
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
8132
+ 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 }); }
8133
+ }
8134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetViewComponent, decorators: [{
8135
+ type: Component,
8136
+ args: [{
8137
+ template: ``,
8138
+ standalone: true,
8139
+ changeDetection: ChangeDetectionStrategy.OnPush,
8140
+ imports: [CommonModule]
8141
+ }]
8142
+ }] });
8143
+
8144
+ var gridRowWidgetView_component = /*#__PURE__*/Object.freeze({
8145
+ __proto__: null,
8146
+ AXPGridRowWidgetViewComponent: AXPGridRowWidgetViewComponent
8147
+ });
8148
+
8149
+ class AXPGridRowWidgetPrintComponent extends AXPWidgetComponent {
8150
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
8151
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPGridRowWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
8152
+ }
8153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetPrintComponent, decorators: [{
8154
+ type: Component,
8155
+ args: [{
8156
+ template: ``,
8157
+ standalone: true,
8158
+ changeDetection: ChangeDetectionStrategy.OnPush,
8159
+ imports: [CommonModule],
8160
+ inputs: []
8161
+ }]
8162
+ }] });
8163
+
8164
+ var gridRowWidgetPrint_component = /*#__PURE__*/Object.freeze({
8165
+ __proto__: null,
8166
+ AXPGridRowWidgetPrintComponent: AXPGridRowWidgetPrintComponent
8167
+ });
8168
+
8169
+ class AXPGridRowWidgetDesignerComponent extends AXPContainerWidgetComponent {
8170
+ constructor() {
8171
+ super(...arguments);
8172
+ this.designerService = inject(AXPDesignerService);
8173
+ this.cols = computed(() => this.options()["cols"] ?? 1);
8174
+ this.gap = computed(() => this.options()["gap"] ?? 0);
8175
+ this.cells = computed(() => Array.from({ length: this.cols() - sum(this.children().map(c => get(c.options, 'colSpan'))) }).map((c, index) => index));
8176
+ this.hoverIndex = signal(0);
8177
+ }
8178
+ handleMouseHover(index) {
8179
+ console.log("handleMouseHover", index);
8180
+ this.hoverIndex.set(index);
8181
+ }
8182
+ handleClick(e, index) {
8183
+ console.log("handleClick", index);
8184
+ e.stopPropagation();
8185
+ this.hoverIndex.set(-1);
8186
+ e.preventDefault();
8187
+ this.designerService.addWidget(this.node, {
8188
+ type: AXPWidgetsCatalog.gridItem,
8189
+ options: {
8190
+ colSpan: index + 1
8191
+ }
8192
+ });
8193
+ }
8194
+ handleMouseLeave(event) {
8195
+ this.hoverIndex.set(-1);
8196
+ }
8197
+ get __class() {
8198
+ const cls = {};
8199
+ //
8200
+ cls[`ax-block`] = true;
8201
+ cls[`ax-w-full`] = true;
8202
+ return cls;
8203
+ }
8204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
8205
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridRowWidgetDesignerComponent, isStandalone: true, selector: "axp-grid-row-widget", host: { listeners: { "mouseleave": "handleMouseLeave($event)" }, properties: { "class": "this.__class" } }, providers: [
8206
+ {
8207
+ provide: AXPContainerWidgetComponent, useExisting: AXPGridWidgetDesignerComponent
8208
+ }
8209
+ ], usesInheritance: true, ngImport: i0, template: `
8210
+ <div class="ax-grid ax-grid-cols-{{cols()}} ax-gap-{{gap()}}">
8211
+ @for (node of children(); track $index) {
8212
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
8213
+ }
8214
+ @for (node of cells(); track $index) {
8215
+ <div class="axp-empty-slot" (mouseenter)="handleMouseHover($index)" (mouseleave)="handleMouseLeave($event)" (click)="handleClick($event,$index)" [class.axp-state-hover]="hoverIndex()>=$index">
8216
+ </div>
8217
+ }
8218
+ </div>
8219
+ `, isInline: true, styles: ["axp-grid-row-widget.axp-widget-host .axp-empty-slot{display:flex;flex:1 1 0%;align-items:center;justify-content:center;border-width:1px;border-style:dashed;padding:1rem;background-color:rgba(209,213,219,.1);background-image:linear-gradient(135deg,rgb(209 213 219 / 50%) 10%,transparent 0,transparent 50%,rgb(209 213 219 / 50%) 0,rgb(209 213 219 / 50%) 60%,transparent 0,transparent);background-size:7.5px 7.5px}axp-grid-row-widget.axp-widget-host .axp-empty-slot.axp-state-hover{border-color:transparent;--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-primary-300),var(--tw-bg-opacity))}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
8220
+ }
8221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridRowWidgetDesignerComponent, decorators: [{
8222
+ type: Component,
8223
+ args: [{ selector: 'axp-grid-row-widget', template: `
8224
+ <div class="ax-grid ax-grid-cols-{{cols()}} ax-gap-{{gap()}}">
8225
+ @for (node of children(); track $index) {
8226
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
8227
+ }
8228
+ @for (node of cells(); track $index) {
8229
+ <div class="axp-empty-slot" (mouseenter)="handleMouseHover($index)" (mouseleave)="handleMouseLeave($event)" (click)="handleClick($event,$index)" [class.axp-state-hover]="hoverIndex()>=$index">
8230
+ </div>
8231
+ }
8232
+ </div>
8233
+ `, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent, AXPDesignerGridDrawerComponent], providers: [
8234
+ {
8235
+ provide: AXPContainerWidgetComponent, useExisting: AXPGridWidgetDesignerComponent
8236
+ }
8237
+ ], styles: ["axp-grid-row-widget.axp-widget-host .axp-empty-slot{display:flex;flex:1 1 0%;align-items:center;justify-content:center;border-width:1px;border-style:dashed;padding:1rem;background-color:rgba(209,213,219,.1);background-image:linear-gradient(135deg,rgb(209 213 219 / 50%) 10%,transparent 0,transparent 50%,rgb(209 213 219 / 50%) 0,rgb(209 213 219 / 50%) 60%,transparent 0,transparent);background-size:7.5px 7.5px}axp-grid-row-widget.axp-widget-host .axp-empty-slot.axp-state-hover{border-color:transparent;--tw-bg-opacity: 1;background-color:rgba(var(--ax-color-primary-300),var(--tw-bg-opacity))}\n"] }]
8238
+ }], propDecorators: { handleMouseLeave: [{
8239
+ type: HostListener,
8240
+ args: ['mouseleave', ['$event']]
8241
+ }], __class: [{
8242
+ type: HostBinding,
8243
+ args: ['class']
8244
+ }] } });
8245
+
8246
+ var gridRowWidgetDesigner_component = /*#__PURE__*/Object.freeze({
8247
+ __proto__: null,
8248
+ AXPGridRowWidgetDesignerComponent: AXPGridRowWidgetDesignerComponent
8249
+ });
8250
+
8251
+ const AXPGridRowWidget = {
8252
+ name: "grid-row-layout",
8253
+ title: "Grid Row Layout",
8254
+ group: AXP_WIDGETS_LAYOUT_GROUP,
8255
+ container: true,
8256
+ icon: "fa-solid fa-diagram-cells",
8257
+ properties: [
8258
+ AXP_NAME_PROPERTY,
8259
+ ...AXP_LAYOUT_GRID_ROW_PROPERTIES
8260
+ ],
8261
+ components: {
8262
+ view: {
8263
+ component: () => Promise.resolve().then(function () { return gridRowWidgetView_component; }).then((c) => c.AXPGridRowWidgetViewComponent),
8264
+ },
8265
+ edit: {
8266
+ component: () => Promise.resolve().then(function () { return gridRowWidgetView_component; }).then((c) => c.AXPGridRowWidgetViewComponent),
8267
+ },
8268
+ print: {
8269
+ component: () => Promise.resolve().then(function () { return gridRowWidgetPrint_component; }).then((c) => c.AXPGridRowWidgetPrintComponent),
8270
+ },
8271
+ designer: {
8272
+ component: () => Promise.resolve().then(function () { return gridRowWidgetDesigner_component; }).then((c) => c.AXPGridRowWidgetDesignerComponent),
8273
+ },
8274
+ }
8275
+ };
8276
+
7479
8277
  class AXPWidgetsModule {
7480
8278
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPWidgetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7481
8279
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXPWidgetsModule, imports: [i1$5.AXPLayoutBuilderModule] }); }
@@ -7489,6 +8287,8 @@ class AXPWidgetsModule {
7489
8287
  AXPTextBlockWidget,
7490
8288
  AXPFormFieldWidget,
7491
8289
  AXPGridWidget,
8290
+ AXPGridItemWidget,
8291
+ AXPGridRowWidget,
7492
8292
  //
7493
8293
  AXPTextBoxWidget,
7494
8294
  AXPCheckBoxWidget,
@@ -7529,6 +8329,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7529
8329
  AXPTextBlockWidget,
7530
8330
  AXPFormFieldWidget,
7531
8331
  AXPGridWidget,
8332
+ AXPGridItemWidget,
8333
+ AXPGridRowWidget,
7532
8334
  //
7533
8335
  AXPTextBoxWidget,
7534
8336
  AXPCheckBoxWidget,
@@ -7564,5 +8366,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7564
8366
  * Generated bundle index. Do not edit.
7565
8367
  */
7566
8368
 
7567
- 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, AXPMapBoxWidgetColumnComponent, AXPMapBoxWidgetEditComponent, AXPMapBoxWidgetFilterComponent, AXPMapBoxWidgetPrintComponent, 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, 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_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATE_FROMAT_PROPERTY, AXP_DESCRIPTION_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_NAME_PROPERTY, AXP_PLACEHOLDER_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 };
8369
+ 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, AXPMapBoxWidgetColumnComponent, AXPMapBoxWidgetEditComponent, AXPMapBoxWidgetFilterComponent, AXPMapBoxWidgetPrintComponent, 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, 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_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATE_FROMAT_PROPERTY, AXP_DESCRIPTION_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 };
7568
8370
  //# sourceMappingURL=acorex-platform-widgets.mjs.map