@acorex/platform 18.0.14 → 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 (173) hide show
  1. package/esm2022/auth/lib/session.service.mjs +7 -5
  2. package/esm2022/layout/builder/lib/builder/widget-catalog.mjs +3 -2
  3. package/esm2022/layout/builder/lib/builder/widget.types.mjs +8 -3
  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 +3 -3
  7. package/esm2022/layout/designer/lib/header-menu/header-menu.component.mjs +1 -1
  8. package/esm2022/layout/designer/lib/outline/outline.component.mjs +3 -3
  9. package/esm2022/layout/designer/lib/preview/preview.component.mjs +3 -3
  10. package/esm2022/layout/designer/lib/widget-designer-renderer.directive.mjs +224 -0
  11. package/esm2022/layout/entity/lib/entity-master-list.viewmodel.mjs +15 -5
  12. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.mjs +30 -17
  13. package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.mjs +19 -9
  14. package/esm2022/widgets/lib/properties/editors.props.mjs +19 -96
  15. package/esm2022/widgets/lib/properties/general.props.mjs +96 -0
  16. package/esm2022/widgets/lib/properties/index.mjs +3 -1
  17. package/esm2022/widgets/lib/properties/layout.props.mjs +138 -33
  18. package/esm2022/widgets/lib/widgets/actions/button/button-widget-designer.component.mjs +54 -0
  19. package/esm2022/widgets/lib/widgets/actions/button/button-widget-view.component.mjs +3 -2
  20. package/esm2022/widgets/lib/widgets/actions/button/button-widget.config.mjs +2 -2
  21. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget-edit.component.mjs +13 -4
  22. package/esm2022/widgets/lib/widgets/advance/file/file-box-widget.config.mjs +3 -2
  23. package/esm2022/widgets/lib/widgets/advance/gallery/gallery-widget-edit.component.mjs +13 -4
  24. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-edit.component.mjs +12 -3
  25. package/esm2022/widgets/lib/widgets/advance/map/map-box-widget.config.mjs +8 -3
  26. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget-view.component.mjs +13 -4
  27. package/esm2022/widgets/lib/widgets/advance/qrcode/qrcode-widget.config.mjs +3 -2
  28. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget-edit.component.mjs +12 -3
  29. package/esm2022/widgets/lib/widgets/advance/signature/signature-pad-widget.config.mjs +3 -2
  30. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-designer.component.mjs +54 -0
  31. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.mjs +21 -21
  32. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-view.component.mjs +4 -1
  33. package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget.config.mjs +13 -4
  34. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-designer.component.mjs +53 -0
  35. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget-edit.component.mjs +24 -12
  36. package/esm2022/widgets/lib/widgets/editors/color/color-box-widget.config.mjs +14 -6
  37. package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-edit.component.mjs +13 -4
  38. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.mjs +13 -4
  39. package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget.config.mjs +4 -2
  40. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget-edit.component.mjs +13 -4
  41. package/esm2022/widgets/lib/widgets/editors/email/email-box-widget.config.mjs +3 -2
  42. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.mjs +13 -4
  43. package/esm2022/widgets/lib/widgets/editors/large-text/large-text-widget.config.mjs +3 -2
  44. package/esm2022/widgets/lib/widgets/editors/link/link-widget-edit.component.mjs +13 -4
  45. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget-edit.component.mjs +13 -4
  46. package/esm2022/widgets/lib/widgets/editors/number/number-box-widget.config.mjs +3 -2
  47. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget-edit.component.mjs +12 -8
  48. package/esm2022/widgets/lib/widgets/editors/password/password-box-widget.config.mjs +3 -2
  49. package/esm2022/widgets/lib/widgets/editors/phone/phone-box-widget-edit.component.mjs +13 -4
  50. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.mjs +14 -5
  51. package/esm2022/widgets/lib/widgets/editors/rich-text/rich-text-widget.config.mjs +3 -2
  52. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-edit.component.mjs +12 -3
  53. package/esm2022/widgets/lib/widgets/editors/select/select-box-widget-view.component.mjs +13 -4
  54. package/esm2022/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.mjs +13 -4
  55. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget-edit.component.mjs +13 -4
  56. package/esm2022/widgets/lib/widgets/editors/text/text-box-widget.config.mjs +3 -2
  57. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget-edit.component.mjs +14 -4
  58. package/esm2022/widgets/lib/widgets/editors/toggle/toggle-widget.config.mjs +3 -2
  59. package/esm2022/widgets/lib/widgets/layout/block/block-widget-designer.component.mjs +40 -17
  60. package/esm2022/widgets/lib/widgets/layout/block/block-widget-view.component.mjs +17 -3
  61. package/esm2022/widgets/lib/widgets/layout/block/block-widget.config.mjs +8 -3
  62. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.mjs +19 -9
  63. package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget.config.mjs +3 -2
  64. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-designer.component.mjs +21 -10
  65. package/esm2022/widgets/lib/widgets/layout/grid/grid-widget.config.mjs +7 -4
  66. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-designer.component.mjs +49 -41
  67. package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget.config.mjs +5 -8
  68. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-designer.component.mjs +84 -0
  69. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-print.component.mjs +19 -0
  70. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-view.component.mjs +18 -0
  71. package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget.config.mjs +28 -0
  72. package/esm2022/widgets/lib/widgets/layout/grid-row/index.mjs +5 -0
  73. package/esm2022/widgets/lib/widgets/layout/page/page-widget-designer.component.mjs +8 -9
  74. package/esm2022/widgets/lib/widgets/layout/page/page-widget-view.component.mjs +1 -2
  75. package/esm2022/widgets/lib/widgets/layout/page/page-widget.config.mjs +2 -2
  76. package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-designer.component.mjs +6 -6
  77. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget-designer.component.mjs +38 -0
  78. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget-view.component.mjs +3 -2
  79. package/esm2022/widgets/lib/widgets/layout/text-block/text-block-widget.config.mjs +4 -5
  80. package/esm2022/widgets/lib/widgets.module.mjs +4 -1
  81. package/fesm2022/acorex-platform-auth.mjs +6 -4
  82. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  83. package/fesm2022/acorex-platform-layout-builder.mjs +9 -3
  84. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  85. package/fesm2022/acorex-platform-layout-designer-preview.component-9dJh_ulU.mjs +23 -0
  86. package/fesm2022/acorex-platform-layout-designer-preview.component-9dJh_ulU.mjs.map +1 -0
  87. package/fesm2022/acorex-platform-layout-designer.mjs +82 -87
  88. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  89. package/fesm2022/acorex-platform-layout-entity.mjs +12 -2
  90. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  91. 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
  92. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-BGT0puX_.mjs.map +1 -0
  93. 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
  94. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BHo31YVi.mjs.map +1 -0
  95. package/fesm2022/{acorex-platform-themes-default-error-401.component-D5QQ2HAv.mjs → acorex-platform-themes-default-error-401.component-zyAGwz2j.mjs} +3 -3
  96. package/fesm2022/{acorex-platform-themes-default-error-401.component-D5QQ2HAv.mjs.map → acorex-platform-themes-default-error-401.component-zyAGwz2j.mjs.map} +1 -1
  97. package/fesm2022/{acorex-platform-themes-default-error-404.component-DSY_D3Iq.mjs → acorex-platform-themes-default-error-404.component-DcxQ89LL.mjs} +3 -3
  98. 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
  99. package/fesm2022/{acorex-platform-themes-default-error-offline.component-B6wSkMdd.mjs → acorex-platform-themes-default-error-offline.component-BMB6D5Cx.mjs} +3 -3
  100. package/fesm2022/{acorex-platform-themes-default-error-offline.component-B6wSkMdd.mjs.map → acorex-platform-themes-default-error-offline.component-BMB6D5Cx.mjs.map} +1 -1
  101. package/fesm2022/acorex-platform-themes-default.mjs +40 -34
  102. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  103. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs +57 -0
  104. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-C0S_HJkl.mjs.map +1 -0
  105. package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-DfUr_DMU.mjs +57 -0
  106. package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-DfUr_DMU.mjs.map +1 -0
  107. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-BCsej7C6.mjs → acorex-platform-widgets-checkbox-widget-view.component-tPk6Gylo.mjs} +4 -1
  108. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-tPk6Gylo.mjs.map +1 -0
  109. package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-BF24k3Y-.mjs +56 -0
  110. package/fesm2022/acorex-platform-widgets-color-box-widget-designer.component-BF24k3Y-.mjs.map +1 -0
  111. package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-DlfG4EP1.mjs → acorex-platform-widgets-page-widget-designer.component-6BMZ0qRw.mjs} +8 -9
  112. package/fesm2022/acorex-platform-widgets-page-widget-designer.component-6BMZ0qRw.mjs.map +1 -0
  113. package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-Bi9hlpvB.mjs +41 -0
  114. package/fesm2022/acorex-platform-widgets-text-block-widget-designer.component-Bi9hlpvB.mjs.map +1 -0
  115. package/fesm2022/acorex-platform-widgets.mjs +1012 -469
  116. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  117. package/layout/builder/lib/builder/widget.types.d.ts +8 -5
  118. package/layout/designer/index.d.ts +1 -1
  119. package/layout/designer/lib/board/board.component.d.ts +2 -0
  120. package/layout/designer/lib/{widget-designer-renderer.component.d.ts → widget-designer-renderer.directive.d.ts} +6 -8
  121. package/package.json +12 -12
  122. package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +4 -1
  123. package/themes/default/lib/layouts/entity-layouts/entity-master-create-view/entity-master-create-view.component.d.ts +1 -1
  124. package/widgets/lib/properties/editors.props.d.ts +1 -5
  125. package/widgets/lib/properties/general.props.d.ts +6 -0
  126. package/widgets/lib/properties/index.d.ts +2 -0
  127. package/widgets/lib/properties/layout.props.d.ts +12 -3
  128. package/widgets/lib/widgets/actions/button/button-widget-designer.component.d.ts +15 -0
  129. package/widgets/lib/widgets/actions/button/button-widget-view.component.d.ts +1 -1
  130. package/widgets/lib/widgets/advance/file/file-box-widget-edit.component.d.ts +1 -0
  131. package/widgets/lib/widgets/advance/gallery/gallery-widget-edit.component.d.ts +1 -0
  132. package/widgets/lib/widgets/advance/map/map-box-widget-edit.component.d.ts +1 -0
  133. package/widgets/lib/widgets/advance/qrcode/qrcode-widget-view.component.d.ts +1 -0
  134. package/widgets/lib/widgets/advance/signature/signature-pad-widget-edit.component.d.ts +1 -0
  135. package/widgets/lib/widgets/editors/checkbox/checkbox-widget-designer.component.d.ts +10 -0
  136. package/widgets/lib/widgets/editors/checkbox/checkbox-widget-edit.component.d.ts +2 -5
  137. package/widgets/lib/widgets/editors/checkbox/checkbox-widget-view.component.d.ts +3 -0
  138. package/widgets/lib/widgets/editors/color/color-box-widget-designer.component.d.ts +11 -0
  139. package/widgets/lib/widgets/editors/color/color-box-widget-edit.component.d.ts +3 -0
  140. package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +1 -0
  141. package/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.d.ts +1 -0
  142. package/widgets/lib/widgets/editors/email/email-box-widget-edit.component.d.ts +1 -0
  143. package/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.d.ts +1 -0
  144. package/widgets/lib/widgets/editors/link/link-widget-edit.component.d.ts +1 -0
  145. package/widgets/lib/widgets/editors/number/number-box-widget-edit.component.d.ts +1 -0
  146. package/widgets/lib/widgets/editors/password/password-box-widget-edit.component.d.ts +1 -2
  147. package/widgets/lib/widgets/editors/phone/phone-box-widget-edit.component.d.ts +1 -0
  148. package/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.d.ts +1 -0
  149. package/widgets/lib/widgets/editors/select/select-box-widget-edit.component.d.ts +1 -0
  150. package/widgets/lib/widgets/editors/select/select-box-widget-view.component.d.ts +1 -0
  151. package/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.d.ts +1 -0
  152. package/widgets/lib/widgets/editors/text/text-box-widget-edit.component.d.ts +1 -0
  153. package/widgets/lib/widgets/editors/toggle/toggle-widget-edit.component.d.ts +2 -1
  154. package/widgets/lib/widgets/layout/block/block-widget-designer.component.d.ts +5 -1
  155. package/widgets/lib/widgets/layout/block/block-widget-view.component.d.ts +3 -0
  156. package/widgets/lib/widgets/layout/form-field/form-field-widget-designer.component.d.ts +2 -1
  157. package/widgets/lib/widgets/layout/grid/grid-widget-designer.component.d.ts +3 -2
  158. package/widgets/lib/widgets/layout/grid-item/grid-item-widget-designer.component.d.ts +6 -4
  159. package/widgets/lib/widgets/layout/grid-row/grid-row-widget-designer.component.d.ts +15 -0
  160. package/widgets/lib/widgets/layout/grid-row/grid-row-widget-print.component.d.ts +6 -0
  161. package/widgets/lib/widgets/layout/grid-row/grid-row-widget-view.component.d.ts +6 -0
  162. package/widgets/lib/widgets/layout/grid-row/grid-row-widget.config.d.ts +7 -0
  163. package/widgets/lib/widgets/layout/grid-row/index.d.ts +4 -0
  164. package/widgets/lib/widgets/layout/page/page-widget-designer.component.d.ts +3 -2
  165. package/widgets/lib/widgets/layout/text-block/text-block-widget-designer.component.d.ts +11 -0
  166. package/widgets/lib/widgets/layout/text-block/text-block-widget-view.component.d.ts +1 -1
  167. package/esm2022/layout/designer/lib/widget-designer-renderer.component.mjs +0 -251
  168. package/fesm2022/acorex-platform-layout-designer-preview.component-xkvSLydm.mjs +0 -23
  169. package/fesm2022/acorex-platform-layout-designer-preview.component-xkvSLydm.mjs.map +0 -1
  170. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-DKNRxpQk.mjs.map +0 -1
  171. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-BDk03AnX.mjs.map +0 -1
  172. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-BCsej7C6.mjs.map +0 -1
  173. 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, 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,25 +46,23 @@ 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
67
  import { AXQrcodeModule } from '@acorex/components/qrcode';
68
68
  import { AXColorUtil } from '@acorex/core/utils';
@@ -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' },
@@ -561,72 +611,309 @@ function plainTextDefaultProperty() {
561
611
  visible: true,
562
612
  };
563
613
  }
564
- const AXP_THEME_PROPERTY = {
565
- name: 'theme',
566
- title: 'Theme',
567
- 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,
568
629
  schema: {
569
- dataType: 'string',
570
- defaultValue: { id: 'default' },
630
+ dataType: 'number',
631
+ defaultValue: 2,
571
632
  interface: {
572
- name: 'theme',
573
- path: 'options.theme',
574
- type: AXPWidgetsCatalog.select,
633
+ name: 'gap',
634
+ path: 'options.gap',
635
+ type: AXPWidgetsCatalog.number,
575
636
  options: {
576
- hasClearButton: false,
577
- dataSource: [
578
- {
579
- id: 'default',
580
- title: 'Default',
581
- },
582
- {
583
- id: 'light',
584
- title: 'Light',
585
- },
586
- {
587
- id: 'dark',
588
- title: 'Dark',
589
- },
590
- ],
637
+ minValue: 0,
638
+ maxValue: 12,
591
639
  },
592
640
  },
593
641
  },
594
642
  visible: true,
595
643
  };
596
-
597
- const AXP_TABLE_COLUMN_WIDTH_PROPERTY = {
598
- name: 'width',
599
- title: 'Width',
600
- 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,
601
648
  schema: {
602
- dataType: 'string',
603
- defaultValue: '200px',
649
+ dataType: 'number',
604
650
  interface: {
605
- name: 'width',
606
- path: 'options.width',
607
- type: AXPWidgetsCatalog.text,
651
+ name: 'colSpan',
652
+ path: 'options.colSpan',
653
+ type: AXPWidgetsCatalog.number,
654
+ options: {
655
+ minValue: 0,
656
+ maxValue: 12,
657
+ },
608
658
  },
609
659
  },
610
660
  visible: true,
611
661
  };
612
-
613
- const AXPButtonWidget = {
614
- name: 'button-action',
615
- title: 'Button',
616
- description: 'Triggers customizable actions',
617
- icon: 'fa-solid fa-play',
618
- group: AXP_WIDGETS_ACTION_GROUP,
619
- properties: [
620
- AXP_DISABLED_PROPERTY,
621
- cloneProperty(AXP_TEXT_PROPERTY, { schema: { defaultValue: 'Click Here' } }),
622
- AXP_STYLE_COLOR_PROPERTY,
623
- AXP_STYLE_LOOK_PROPERTY,
624
- ],
625
- components: {
626
- designer: {
627
- component: () => Promise.resolve().then(function () { return buttonWidgetView_component; }).then((c) => c.AXPButtonWidgetViewComponent),
628
- },
629
- view: {
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),
915
+ },
916
+ view: {
630
917
  component: () => Promise.resolve().then(function () { return buttonWidgetView_component; }).then((c) => c.AXPButtonWidgetViewComponent),
631
918
  },
632
919
  edit: {
@@ -642,32 +929,34 @@ class AXPCheckBoxWidgetEditComponent extends AXPWidgetComponent {
642
929
  this.trulyText = computed(() => this.options()["trulyText"]);
643
930
  this.falsyText = computed(() => this.options()["falsyText"]);
644
931
  this.disabled = computed(() => this.options()["disabled"]);
645
- this.validationService = inject(AXValidationService);
646
- }
647
- handleValueChange(e) {
648
- if (e.isUserInteraction) {
649
- this.setValue(e.value);
650
- }
932
+ this.readonly = computed(() => this.options()["readonly"]);
933
+ this.label = computed(() => this.options()["label"]);
651
934
  }
652
935
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCheckBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
653
- 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: `
654
- <div class="ax-grid ax-grid-cols-12 ax-gap-4">
655
- <ax-check-box [ngModel]="this.getValue()" (onValueChanged)="handleValueChange($event)" [disabled]="disabled()"> </ax-check-box>
656
- </div>
657
- `, 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 }); }
658
944
  }
659
945
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPCheckBoxWidgetEditComponent, decorators: [{
660
946
  type: Component,
661
947
  args: [{
662
948
  selector: 'axp-checkbox-widget-edit',
663
949
  template: `
664
- <div class="ax-grid ax-grid-cols-12 ax-gap-4">
665
- <ax-check-box [ngModel]="this.getValue()" (onValueChanged)="handleValueChange($event)" [disabled]="disabled()"> </ax-check-box>
666
- </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>
667
956
  `,
668
957
  standalone: true,
669
958
  changeDetection: ChangeDetectionStrategy.OnPush,
670
- imports: [CommonModule, AXCheckBoxModule, FormsModule, AXFormModule, AXDecoratorModule, AXValidationModule, AXButtonModule],
959
+ imports: [CommonModule, AXCheckBoxModule, FormsModule, AXLabelModule],
671
960
  }]
672
961
  }] });
673
962
 
@@ -683,13 +972,21 @@ const AXPCheckBoxWidget = {
683
972
  group: AXP_WIDGETS_EDITOR_GROUP,
684
973
  description: 'Selects multiple options via checkboxes',
685
974
  icon: 'fa-solid fa-square-check',
686
- 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
+ ],
687
984
  components: {
688
985
  designer: {
689
- 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),
690
987
  },
691
988
  view: {
692
- 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),
693
990
  },
694
991
  edit: {
695
992
  component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
@@ -779,7 +1076,7 @@ class AXPContactWidgetViewComponent extends AXPWidgetComponent {
779
1076
  [text]="item.label ?? ''"
780
1077
  ></ax-badge>
781
1078
  } }}
782
- </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 }); }
783
1080
  }
784
1081
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetViewComponent, decorators: [{
785
1082
  type: Component,
@@ -1025,8 +1322,14 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
1025
1322
  value: '',
1026
1323
  };
1027
1324
  }
1325
+ get __class() {
1326
+ const cls = {};
1327
+ cls[`ax-block`] = true;
1328
+ cls[`ax-flex-1`] = true;
1329
+ return cls;
1330
+ }
1028
1331
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1029
- 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">
1030
1333
  @for(item of internalValue();track $index) {
1031
1334
  <ax-text-box
1032
1335
  [ngModel]="item.value"
@@ -1156,7 +1459,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1156
1459
  ],
1157
1460
  inputs: [],
1158
1461
  }]
1159
- }] });
1462
+ }], propDecorators: { __class: [{
1463
+ type: HostBinding,
1464
+ args: ['class']
1465
+ }] } });
1160
1466
 
1161
1467
  var contactWidgetEdit_component = /*#__PURE__*/Object.freeze({
1162
1468
  __proto__: null,
@@ -1415,8 +1721,14 @@ class AXPDateTimeBoxWidgetEditComponent extends AXPWidgetComponent {
1415
1721
  const newValues = this.internalValue().filter((_, index) => index != i);
1416
1722
  this.setValue(newValues);
1417
1723
  }
1724
+ get __class() {
1725
+ const cls = {};
1726
+ cls[`ax-block`] = true;
1727
+ cls[`ax-flex-1`] = true;
1728
+ return cls;
1729
+ }
1418
1730
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPDateTimeBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1419
- 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: `
1420
1732
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
1421
1733
  @for (datetime of internalValue(); track $index) {
1422
1734
  <ax-datetime-box
@@ -1489,7 +1801,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1489
1801
  imports: [CommonModule, FormsModule, AXFormModule, AXValidationModule, AXDateTimeBoxModule, AXButtonModule, AXDecoratorModule, AXValidationModule],
1490
1802
  inputs: [],
1491
1803
  }]
1492
- }] });
1804
+ }], propDecorators: { __class: [{
1805
+ type: HostBinding,
1806
+ args: ['class']
1807
+ }] } });
1493
1808
 
1494
1809
  var dateTimeBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
1495
1810
  __proto__: null,
@@ -1591,6 +1906,7 @@ const AXPDateTimeBoxWidget = {
1591
1906
  AXP_DATA_PATH_PROPERTY,
1592
1907
  AXP_ALLOW_MULTIPLE_PROPERTY,
1593
1908
  AXP_DATE_FROMAT_PROPERTY,
1909
+ AXP_READONLY_PROPERTY,
1594
1910
  AXP_DISABLED_PROPERTY,
1595
1911
  AXP_VALIDATION_PROPERTY,
1596
1912
  AXP_PLACEHOLDER_PROPERTY,
@@ -1677,7 +1993,7 @@ class AXPEmailBoxWidgetViewComponent extends AXPWidgetComponent {
1677
1993
  }
1678
1994
  </ng-template>
1679
1995
  </div>
1680
- `, 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 }); }
1681
1997
  }
1682
1998
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailBoxWidgetViewComponent, decorators: [{
1683
1999
  type: Component,
@@ -1794,8 +2110,14 @@ class AXPEmailBoxWidgetEditComponent extends AXPWidgetComponent {
1794
2110
  const newValues = this.internalValue().filter((_, index) => index != deletedIndex);
1795
2111
  this.setValue(newValues);
1796
2112
  }
2113
+ get __class() {
2114
+ const cls = {};
2115
+ cls[`ax-block`] = true;
2116
+ cls[`ax-flex-1`] = true;
2117
+ return cls;
2118
+ }
1797
2119
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPEmailBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1798
- 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: `
1799
2121
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
1800
2122
  @if(multiple())
1801
2123
  {
@@ -1960,7 +2282,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
1960
2282
  imports: [CommonModule, FormsModule, AXFormModule, AXButtonModule, AXDecoratorModule, AXSelectBoxModule, AXTextBoxModule, AXValidationModule],
1961
2283
  inputs: [],
1962
2284
  }]
1963
- }] });
2285
+ }], propDecorators: { __class: [{
2286
+ type: HostBinding,
2287
+ args: ['class']
2288
+ }] } });
1964
2289
 
1965
2290
  var emailBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
1966
2291
  __proto__: null,
@@ -2158,8 +2483,14 @@ class AXPLargeTextWidgetEditComponent extends AXPWidgetComponent {
2158
2483
  set validationRules(v) {
2159
2484
  this._validationRules = v;
2160
2485
  }
2486
+ get __class() {
2487
+ const cls = {};
2488
+ cls[`ax-block`] = true;
2489
+ cls[`ax-flex-1`] = true;
2490
+ return cls;
2491
+ }
2161
2492
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLargeTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2162
- 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: `
2163
2494
  <ax-text-area [disabled]="disabled()" [ngModel]="getValue()" (ngModelChange)="setValue($event)" [placeholder]="placeholder()">
2164
2495
  @if(clearButton()){
2165
2496
  <ax-clear-button></ax-clear-button>
@@ -2189,7 +2520,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2189
2520
  imports: [CommonModule, AXDecoratorModule, FormsModule, AXFormModule, AXTextAreaModule],
2190
2521
  inputs: ['disabled', 'clearButton'],
2191
2522
  }]
2192
- }] });
2523
+ }], propDecorators: { __class: [{
2524
+ type: HostBinding,
2525
+ args: ['class']
2526
+ }] } });
2193
2527
 
2194
2528
  var largeTextWidgetEdit_component = /*#__PURE__*/Object.freeze({
2195
2529
  __proto__: null,
@@ -2359,7 +2693,7 @@ class AXPLinkWidgetViewComponent extends AXPWidgetComponent {
2359
2693
  </div>
2360
2694
  }
2361
2695
  </ng-template>
2362
- </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 }); }
2363
2697
  }
2364
2698
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLinkWidgetViewComponent, decorators: [{
2365
2699
  type: Component,
@@ -2577,8 +2911,14 @@ class AXPLinkWidgetEditComponent extends AXPWidgetComponent {
2577
2911
  return [''];
2578
2912
  }
2579
2913
  }
2914
+ get __class() {
2915
+ const cls = {};
2916
+ cls[`ax-block`] = true;
2917
+ cls[`ax-flex-1`] = true;
2918
+ return cls;
2919
+ }
2580
2920
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPLinkWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2581
- 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">
2582
2922
  @if(multiple()){ @for(item of internalValue();track $index) { @if(item){
2583
2923
  <!-- TODO need to fix multiple -->
2584
2924
  <ax-text-box
@@ -2781,7 +3121,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
2781
3121
  ],
2782
3122
  inputs: [],
2783
3123
  }]
2784
- }] });
3124
+ }], propDecorators: { __class: [{
3125
+ type: HostBinding,
3126
+ args: ['class']
3127
+ }] } });
2785
3128
 
2786
3129
  var linkWidgetEdit_component = /*#__PURE__*/Object.freeze({
2787
3130
  __proto__: null,
@@ -2974,8 +3317,14 @@ class AXPNumberBoxWidgetEditComponent extends AXPWidgetComponent {
2974
3317
  const newValues = this.internalValue().filter((_, index) => index != i);
2975
3318
  this.setValue(newValues);
2976
3319
  }
3320
+ get __class() {
3321
+ const cls = {};
3322
+ cls[`ax-block`] = true;
3323
+ cls[`ax-flex-1`] = true;
3324
+ return cls;
3325
+ }
2977
3326
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPNumberBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2978
- 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: `
2979
3328
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
2980
3329
  @for(number of internalValue(); track $index){
2981
3330
  <ax-number-box
@@ -3071,7 +3420,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3071
3420
  changeDetection: ChangeDetectionStrategy.OnPush,
3072
3421
  imports: [CommonModule, AXNumberBoxModule, FormsModule, AXDecoratorModule, AXFormModule, AXButtonModule],
3073
3422
  }]
3074
- }] });
3423
+ }], propDecorators: { __class: [{
3424
+ type: HostBinding,
3425
+ args: ['class']
3426
+ }] } });
3075
3427
 
3076
3428
  var numberBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
3077
3429
  __proto__: null,
@@ -3274,13 +3626,14 @@ class AXPPasswordBoxWidgetEditComponent extends AXPWidgetComponent {
3274
3626
  this.disabled = computed(() => this.options()['disabled']);
3275
3627
  this.hasClearButton = computed(() => this.options()['hasClearButton']);
3276
3628
  }
3277
- handleValueChanged(e) {
3278
- if (e.isUserInteraction) {
3279
- this.setValue(e.value);
3280
- }
3629
+ get __class() {
3630
+ const cls = {};
3631
+ cls[`ax-block`] = true;
3632
+ cls[`ax-flex-1`] = true;
3633
+ return cls;
3281
3634
  }
3282
3635
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPasswordBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3283
- 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: `
3284
3637
  <ax-password-box [ngModel]="getValue()" [disabled]="disabled()" (onValueChanged)="handleValueChanged($event)">
3285
3638
  <ax-validation-rule rule="required"></ax-validation-rule>
3286
3639
  @if(hasClearButton()){
@@ -3305,7 +3658,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3305
3658
  imports: [CommonModule, FormsModule, AXDecoratorModule, AXPasswordBoxModule, AXValidationModule, AXFormModule],
3306
3659
  inputs: [],
3307
3660
  }]
3308
- }] });
3661
+ }], propDecorators: { __class: [{
3662
+ type: HostBinding,
3663
+ args: ['class']
3664
+ }] } });
3309
3665
 
3310
3666
  var passwordBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
3311
3667
  __proto__: null,
@@ -3468,7 +3824,7 @@ class AXPPhoneBoxWidgetViewComponent extends AXPWidgetComponent {
3468
3824
  </ng-container>
3469
3825
  </ng-template>
3470
3826
  </div>
3471
- `, 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 }); }
3472
3828
  }
3473
3829
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPhoneBoxWidgetViewComponent, decorators: [{
3474
3830
  type: Component,
@@ -3573,8 +3929,14 @@ class AXPPhoneBoxWidgetEditComponent extends AXPWidgetComponent {
3573
3929
  const newValues = this.internalValue().filter((_, index) => index != deletedIndex);
3574
3930
  this.setValue(newValues);
3575
3931
  }
3932
+ get __class() {
3933
+ const cls = {};
3934
+ cls[`ax-block`] = true;
3935
+ cls[`ax-flex-1`] = true;
3936
+ return cls;
3937
+ }
3576
3938
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPhoneBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3577
- 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: `
3578
3940
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
3579
3941
  <ng-container *ngIf="multiple()">
3580
3942
  @for(item of internalValue();track $index) {
@@ -3721,7 +4083,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3721
4083
  imports: [CommonModule, FormsModule, AXFormModule, AXButtonModule, AXDecoratorModule, AXSelectBoxModule, AXTextBoxModule, AXValidationModule],
3722
4084
  inputs: [],
3723
4085
  }]
3724
- }] });
4086
+ }], propDecorators: { __class: [{
4087
+ type: HostBinding,
4088
+ args: ['class']
4089
+ }] } });
3725
4090
 
3726
4091
  var phoneBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
3727
4092
  __proto__: null,
@@ -3922,8 +4287,14 @@ class AXPRichTextWidgetEditComponent extends AXPWidgetComponent {
3922
4287
  set validationRules(v) {
3923
4288
  this._validationRules = v;
3924
4289
  }
4290
+ get __class() {
4291
+ const cls = {};
4292
+ cls[`ax-block`] = true;
4293
+ cls[`ax-flex-1`] = true;
4294
+ return cls;
4295
+ }
3925
4296
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3926
- 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)" >
3927
4298
  <ax-wysiwyg-view class="ax-min-h-28"></ax-wysiwyg-view>
3928
4299
  <ax-wysiwyg-toolbar>
3929
4300
  <ax-wysiwyg-history></ax-wysiwyg-history>
@@ -3936,7 +4307,7 @@ class AXPRichTextWidgetEditComponent extends AXPWidgetComponent {
3936
4307
  @for (validation of validationRules; track $index) {
3937
4308
  <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
3938
4309
  }
3939
- </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"] }, { 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 }); }
3940
4311
  }
3941
4312
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRichTextWidgetEditComponent, decorators: [{
3942
4313
  type: Component,
@@ -3962,7 +4333,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
3962
4333
  imports: [CommonModule, AXWysiwygModule, AXValidationModule, AXFormModule, FormsModule],
3963
4334
  inputs: [],
3964
4335
  }]
3965
- }] });
4336
+ }], propDecorators: { __class: [{
4337
+ type: HostBinding,
4338
+ args: ['class']
4339
+ }] } });
3966
4340
 
3967
4341
  var richTextWidgetEdit_component = /*#__PURE__*/Object.freeze({
3968
4342
  __proto__: null,
@@ -4108,8 +4482,14 @@ class AXPSelectBoxWidgetViewComponent extends AXPWidgetComponent {
4108
4482
  text: item,
4109
4483
  };
4110
4484
  }
4485
+ get __class() {
4486
+ const cls = {};
4487
+ cls[`ax-block`] = true;
4488
+ cls[`ax-flex-1`] = true;
4489
+ return cls;
4490
+ }
4111
4491
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4112
- 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: `
4113
4493
  <div>
4114
4494
  @if(multiple())
4115
4495
  {
@@ -4142,7 +4522,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4142
4522
  imports: [CommonModule],
4143
4523
  inputs: [],
4144
4524
  }]
4145
- }] });
4525
+ }], propDecorators: { __class: [{
4526
+ type: HostBinding,
4527
+ args: ['class']
4528
+ }] } });
4146
4529
 
4147
4530
  var selectBoxWidgetView_component = /*#__PURE__*/Object.freeze({
4148
4531
  __proto__: null,
@@ -4172,8 +4555,14 @@ class AXPSelectBoxWidgetEditComponent extends AXPWidgetComponent {
4172
4555
  this.selectbox?.reset(true);
4173
4556
  this.selectbox?.refresh();
4174
4557
  }
4558
+ get __class() {
4559
+ const cls = {};
4560
+ cls[`ax-block`] = true;
4561
+ cls[`ax-flex-1`] = true;
4562
+ return cls;
4563
+ }
4175
4564
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4176
- 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: `
4177
4566
  <ax-select-box
4178
4567
  #dd
4179
4568
  [placeholder]="placeholder()"
@@ -4222,6 +4611,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4222
4611
  }], propDecorators: { selectbox: [{
4223
4612
  type: ViewChild,
4224
4613
  args: [AXSelectBoxComponent]
4614
+ }], __class: [{
4615
+ type: HostBinding,
4616
+ args: ['class']
4225
4617
  }] } });
4226
4618
 
4227
4619
  var selectBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
@@ -4347,7 +4739,7 @@ class AXPSelectionListWidgetViewComponent extends AXPWidgetComponent {
4347
4739
  @for (item of internalValue(); track $index) {
4348
4740
  <ax-badge [class]="'ax-ms-1'" [look]="'twotone'" [text]="item[this.textField()]" color="primary"></ax-badge>
4349
4741
  }
4350
- `, 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 }); }
4351
4743
  }
4352
4744
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetViewComponent, decorators: [{
4353
4745
  type: Component,
@@ -4387,8 +4779,14 @@ class AXPSelectionListWidgetEditComponent extends AXPWidgetComponent {
4387
4779
  this.setValue(e.value);
4388
4780
  }
4389
4781
  }
4782
+ get __class() {
4783
+ const cls = {};
4784
+ cls[`ax-block`] = true;
4785
+ cls[`ax-flex-1`] = true;
4786
+ return cls;
4787
+ }
4390
4788
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4391
- 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: `
4392
4790
  <ax-selection-list
4393
4791
  class="ax-w-max"
4394
4792
  [valueField]="valueField()"
@@ -4403,7 +4801,7 @@ class AXPSelectionListWidgetEditComponent extends AXPWidgetComponent {
4403
4801
  <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
4404
4802
  }
4405
4803
  </ax-selection-list>
4406
- `, 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 }); }
4407
4805
  }
4408
4806
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetEditComponent, decorators: [{
4409
4807
  type: Component,
@@ -4429,7 +4827,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4429
4827
  imports: [CommonModule, FormsModule, AXSelectionListModule, AXFormModule],
4430
4828
  inputs: [],
4431
4829
  }]
4432
- }] });
4830
+ }], propDecorators: { __class: [{
4831
+ type: HostBinding,
4832
+ args: ['class']
4833
+ }] } });
4433
4834
 
4434
4835
  var selectionListWidgetEdit_component = /*#__PURE__*/Object.freeze({
4435
4836
  __proto__: null,
@@ -4472,7 +4873,7 @@ class AXPSelectionListWidgetColumnComponent extends AXPColumnWidgetComponent {
4472
4873
  } }@else {
4473
4874
  <ax-badge [look]="'twotone'" [text]="firstItem()[this.textField]" color="primary"></ax-badge>
4474
4875
  }
4475
- </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 }); }
4476
4877
  }
4477
4878
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSelectionListWidgetColumnComponent, decorators: [{
4478
4879
  type: Component,
@@ -4621,8 +5022,14 @@ class AXPTextBoxWidgetEditComponent extends AXPWidgetComponent {
4621
5022
  const newValues = this.internalValue().filter((_, index) => index != i);
4622
5023
  this.setValue(newValues);
4623
5024
  }
5025
+ get __class() {
5026
+ const cls = {};
5027
+ cls[`ax-block`] = true;
5028
+ cls[`ax-flex-1`] = true;
5029
+ return cls;
5030
+ }
4624
5031
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4625
- 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: `
4626
5033
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
4627
5034
  @for (text of internalValue(); track $index) {
4628
5035
  <ax-text-box class="ax-col-span-12" [ngModel]="text" [type]="'text'" (onValueChanged)="handleValueChange($event, $index)" [disabled]="disabled()" [placeholder]="placeholder()">
@@ -4696,7 +5103,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
4696
5103
  imports: [CommonModule, AXTextBoxModule, FormsModule, AXFormModule, AXDecoratorModule, AXValidationModule, AXButtonModule],
4697
5104
  inputs: [],
4698
5105
  }]
4699
- }] });
5106
+ }], propDecorators: { __class: [{
5107
+ type: HostBinding,
5108
+ args: ['class']
5109
+ }] } });
4700
5110
 
4701
5111
  var textBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
4702
5112
  __proto__: null,
@@ -4823,7 +5233,7 @@ class AXPToggleWidgetViewComponent extends AXPWidgetComponent {
4823
5233
  <ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
4824
5234
  }@else {
4825
5235
  <ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
4826
- } } }`, 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 }); }
4827
5237
  }
4828
5238
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetViewComponent, decorators: [{
4829
5239
  type: Component,
@@ -4862,19 +5272,29 @@ class AXPToggleWidgetEditComponent extends AXPWidgetComponent {
4862
5272
  onModelChange(e) {
4863
5273
  this.setValue(e);
4864
5274
  }
5275
+ get __class() {
5276
+ const cls = {};
5277
+ //
5278
+ cls['ax-inline'] = true;
5279
+ return cls;
5280
+ }
4865
5281
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4866
- 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 }); }
4867
5283
  }
4868
5284
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetEditComponent, decorators: [{
4869
5285
  type: Component,
4870
5286
  args: [{
5287
+ selector: 'axp-swith-widget',
4871
5288
  template: `<ax-switch [ngModel]="this.getValue()" [disabled]="disabled()" [color]="color()" (ngModelChange)="onModelChange($event)"></ax-switch>`,
4872
5289
  standalone: true,
4873
5290
  changeDetection: ChangeDetectionStrategy.OnPush,
4874
5291
  imports: [CommonModule, FormsModule, AXSwitchModule],
4875
5292
  inputs: [],
4876
5293
  }]
4877
- }] });
5294
+ }], propDecorators: { __class: [{
5295
+ type: HostBinding,
5296
+ args: ['class']
5297
+ }] } });
4878
5298
 
4879
5299
  var toggleWidgetEdit_component = /*#__PURE__*/Object.freeze({
4880
5300
  __proto__: null,
@@ -4921,7 +5341,7 @@ class AXPToggleWidgetColumnComponent extends AXPColumnWidgetComponent {
4921
5341
  <ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
4922
5342
  }@else {
4923
5343
  <ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
4924
- } } }`, 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 }); }
4925
5345
  }
4926
5346
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPToggleWidgetColumnComponent, decorators: [{
4927
5347
  type: Component,
@@ -5102,8 +5522,14 @@ class AXPFileBoxWidgetEditComponent extends AXPWidgetComponent {
5102
5522
  return { icon: 'fa-file', color: 'ax-bg-gray-100 ax-text-gray-500' };
5103
5523
  }
5104
5524
  }
5525
+ get __class() {
5526
+ const cls = {};
5527
+ cls[`ax-block`] = true;
5528
+ cls[`ax-flex-1`] = true;
5529
+ return cls;
5530
+ }
5105
5531
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFileBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5106
- 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: `
5107
5533
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
5108
5534
  <div class="ax-col-span-12">
5109
5535
  <ax-uploader-drop-zone
@@ -5142,7 +5568,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
5142
5568
  imports: [CommonModule, FormsModule, AXButtonModule, AXDecoratorModule, AXUploaderModule],
5143
5569
  inputs: [],
5144
5570
  }]
5145
- }] });
5571
+ }], propDecorators: { __class: [{
5572
+ type: HostBinding,
5573
+ args: ['class']
5574
+ }] } });
5146
5575
 
5147
5576
  var fileBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
5148
5577
  __proto__: null,
@@ -5533,7 +5962,7 @@ class AXPGalleryWidgetViewComponent extends AXPWidgetComponent {
5533
5962
  <small>No Media!</small>
5534
5963
  }
5535
5964
  </div>
5536
- `, 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 }); }
5537
5966
  }
5538
5967
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetViewComponent, decorators: [{
5539
5968
  type: Component,
@@ -5638,8 +6067,14 @@ class AXPGalleryWidgetEditComponent extends AXPWidgetComponent {
5638
6067
  return { icon: '', format: 'image' };
5639
6068
  }
5640
6069
  }
6070
+ get __class() {
6071
+ const cls = {};
6072
+ cls[`ax-block`] = true;
6073
+ cls[`ax-flex-1`] = true;
6074
+ return cls;
6075
+ }
5641
6076
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5642
- 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: `
5643
6078
  <div class="ax-grid ax-grid-cols-12 ax-gap-2">
5644
6079
  @if(internalValue().length){
5645
6080
  <div class="ax-col-start-1 ax-col-end-13 ax-flex ax-items-center lg:ax-justify-start ax-justify-center ">
@@ -5692,7 +6127,7 @@ class AXPGalleryWidgetEditComponent extends AXPWidgetComponent {
5692
6127
 
5693
6128
  }
5694
6129
  </div>
5695
- `, 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 }); }
5696
6131
  }
5697
6132
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGalleryWidgetEditComponent, decorators: [{
5698
6133
  type: Component,
@@ -5756,7 +6191,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
5756
6191
  imports: [CommonModule, FormsModule, AXImageModule, AXDecoratorModule, AXLoadingModule, AXUploaderModule],
5757
6192
  inputs: [],
5758
6193
  }]
5759
- }] });
6194
+ }], propDecorators: { __class: [{
6195
+ type: HostBinding,
6196
+ args: ['class']
6197
+ }] } });
5760
6198
 
5761
6199
  var galleryWidgetEdit_component = /*#__PURE__*/Object.freeze({
5762
6200
  __proto__: null,
@@ -6043,8 +6481,14 @@ class AXPMapBoxWidgetEditComponent extends AXPWidgetComponent {
6043
6481
  duration: 1.5,
6044
6482
  });
6045
6483
  }
6484
+ get __class() {
6485
+ const cls = {};
6486
+ cls[`ax-block`] = true;
6487
+ cls[`ax-flex-1`] = true;
6488
+ return cls;
6489
+ }
6046
6490
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPMapBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6047
- 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">
6048
6492
  <div class="ax-h-full" #mapEl></div>
6049
6493
  @if(multiple()){
6050
6494
  <div class="marker-list-panel">
@@ -6078,6 +6522,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6078
6522
  }], propDecorators: { mapEl: [{
6079
6523
  type: ViewChild,
6080
6524
  args: ['mapEl']
6525
+ }], __class: [{
6526
+ type: HostBinding,
6527
+ args: ['class']
6081
6528
  }] } });
6082
6529
 
6083
6530
  var mapBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
@@ -6151,7 +6598,11 @@ const AXPMapBoxWidget = {
6151
6598
  description: 'Displays and interacts with maps',
6152
6599
  icon: 'fa-solid fa-map-location',
6153
6600
  group: AXP_WIDGETS_ADVANCE_GROUP,
6154
- 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
+ ],
6155
6606
  components: {
6156
6607
  view: {
6157
6608
  component: () => Promise.resolve().then(function () { return mapBoxWidgetView_component; }).then((c) => c.AXPMapBoxWidgetViewComponent),
@@ -6254,8 +6705,14 @@ class AXPSignatureWidgetEditComponent extends AXPWidgetComponent {
6254
6705
  this.setValue(this.getDataURL());
6255
6706
  }
6256
6707
  }
6708
+ get __class() {
6709
+ const cls = {};
6710
+ cls[`ax-block`] = true;
6711
+ cls[`ax-flex-1`] = true;
6712
+ return cls;
6713
+ }
6257
6714
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSignatureWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6258
- 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: `
6259
6716
  <div class="ax-flex ax-gap-3">
6260
6717
  @if(editMode() ){
6261
6718
  <canvas width="300" class="ax-border ax-rounded-md" #padCanvas></canvas>
@@ -6282,7 +6739,7 @@ class AXPSignatureWidgetEditComponent extends AXPWidgetComponent {
6282
6739
  </div>
6283
6740
  }
6284
6741
  </div>
6285
- `, 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 }); }
6286
6743
  }
6287
6744
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSignatureWidgetEditComponent, decorators: [{
6288
6745
  type: Component,
@@ -6323,6 +6780,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6323
6780
  }], propDecorators: { padCanvas: [{
6324
6781
  type: ViewChild,
6325
6782
  args: ['padCanvas']
6783
+ }], __class: [{
6784
+ type: HostBinding,
6785
+ args: ['class']
6326
6786
  }] } });
6327
6787
 
6328
6788
  var signaturePadWidgetEdit_component = /*#__PURE__*/Object.freeze({
@@ -6385,7 +6845,7 @@ class AXPSignatureWidgetViewComponent extends AXPWidgetComponent {
6385
6845
  <span>{{placeholder()}}</span>
6386
6846
  }
6387
6847
  </div>
6388
- `, 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 }); }
6389
6849
  }
6390
6850
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPSignatureWidgetViewComponent, decorators: [{
6391
6851
  type: Component,
@@ -6446,30 +6906,54 @@ class AXPBlockWidgetDesignerComponent extends AXPContainerWidgetComponent {
6446
6906
  super(...arguments);
6447
6907
  this.backgroundColor = computed(() => this.options()["backgroundColor"]);
6448
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);
6449
6914
  }
6450
6915
  get __class() {
6451
- return this.cssClass();
6452
- }
6453
- get __class2() {
6454
- 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;
6455
6938
  }
6456
6939
  get __style() {
6457
6940
  return {
6458
6941
  'background-color': this.backgroundColor(),
6459
- 'display': 'block',
6460
6942
  };
6461
6943
  }
6462
6944
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6463
- 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: [
6464
6946
  {
6465
6947
  provide: AXPContainerWidgetComponent, useExisting: AXPBlockWidgetDesignerComponent
6466
6948
  }
6467
6949
  ], usesInheritance: true, ngImport: i0, template: `
6468
6950
  @for (node of children(); track $index) {
6469
- <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>
6952
+ }
6953
+ @empty {
6954
+ <axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-button>
6470
6955
  }
6471
- <axp-designer-add-widget-button></axp-designer-add-widget-button>
6472
- `, 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 }); }
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 }); }
6473
6957
  }
6474
6958
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetDesignerComponent, decorators: [{
6475
6959
  type: Component,
@@ -6477,13 +6961,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6477
6961
  selector: 'axp-block-widget',
6478
6962
  template: `
6479
6963
  @for (node of children(); track $index) {
6480
- <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>
6481
6968
  }
6482
- <axp-designer-add-widget-button></axp-designer-add-widget-button>
6483
6969
  `,
6484
6970
  standalone: true,
6485
6971
  changeDetection: ChangeDetectionStrategy.OnPush,
6486
- imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],
6972
+ imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent],
6487
6973
  providers: [
6488
6974
  {
6489
6975
  provide: AXPContainerWidgetComponent, useExisting: AXPBlockWidgetDesignerComponent
@@ -6493,9 +6979,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6493
6979
  }], propDecorators: { __class: [{
6494
6980
  type: HostBinding,
6495
6981
  args: ['class']
6496
- }], __class2: [{
6497
- type: HostBinding,
6498
- args: ['class']
6499
6982
  }], __style: [{
6500
6983
  type: HostBinding,
6501
6984
  args: ['style']
@@ -6511,14 +6994,28 @@ class AXPBlockWidgetViewComponent extends AXPWidgetComponent {
6511
6994
  super(...arguments);
6512
6995
  this.backgroundColor = computed(() => this.options()["backgroundColor"]);
6513
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);
6514
7000
  }
6515
7001
  get __class() {
6516
- 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;
6517
7015
  }
6518
7016
  get __style() {
6519
7017
  return {
6520
7018
  'background-color': this.backgroundColor(),
6521
- 'display': 'block',
6522
7019
  };
6523
7020
  }
6524
7021
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
@@ -6561,7 +7058,11 @@ const AXPBlockWidget = {
6561
7058
  icon: 'fa-solid fa-square',
6562
7059
  group: AXP_WIDGETS_LAYOUT_GROUP,
6563
7060
  container: true,
6564
- 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
+ ],
6565
7066
  components: {
6566
7067
  designer: {
6567
7068
  component: () => Promise.resolve().then(function () { return blockWidgetDesigner_component; }).then((c) => c.AXPBlockWidgetDesignerComponent),
@@ -6586,7 +7087,6 @@ class AXPPageWidgetViewComponent extends AXPWidgetComponent {
6586
7087
  get __style() {
6587
7088
  return {
6588
7089
  'background-color': this.backgroundColor(),
6589
- 'display': 'block',
6590
7090
  };
6591
7091
  }
6592
7092
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
@@ -6640,7 +7140,7 @@ const AXPPageWidget = {
6640
7140
  component: () => Promise.resolve().then(function () { return pageWidgetView_component; }).then((c) => c.AXPPageWidgetViewComponent),
6641
7141
  },
6642
7142
  designer: {
6643
- 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),
6644
7144
  },
6645
7145
  },
6646
7146
  };
@@ -6745,12 +7245,12 @@ class AXPRepeaterWidgetDesignerComponent extends AXPContainerWidgetComponent {
6745
7245
  @for(row of rows();let i=$index; track i){
6746
7246
  <ng-container>
6747
7247
  @for (node of children();track $index) {
6748
- <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>
6749
7249
  }
6750
7250
  </ng-container>
6751
7251
  }
6752
7252
  <axp-designer-add-widget-button></axp-designer-add-widget-button>
6753
- `, 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 }); }
6754
7254
  }
6755
7255
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetDesignerComponent, decorators: [{
6756
7256
  type: Component,
@@ -6759,7 +7259,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6759
7259
  @for(row of rows();let i=$index; track i){
6760
7260
  <ng-container>
6761
7261
  @for (node of children();track $index) {
6762
- <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>
6763
7263
  }
6764
7264
  </ng-container>
6765
7265
  }
@@ -6767,7 +7267,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
6767
7267
  `,
6768
7268
  standalone: true,
6769
7269
  changeDetection: ChangeDetectionStrategy.OnPush,
6770
- imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],
7270
+ imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent],
6771
7271
  providers: [
6772
7272
  {
6773
7273
  provide: AXPContainerWidgetComponent, useExisting: AXPRepeaterWidgetDesignerComponent
@@ -6827,38 +7327,50 @@ var colorBoxWidgetView_component = /*#__PURE__*/Object.freeze({
6827
7327
  class AXPColorBoxWidgetEditComponent extends AXPWidgetComponent {
6828
7328
  constructor() {
6829
7329
  super(...arguments);
7330
+ this.placeholder = computed(() => this.options()["placeholder"]);
6830
7331
  this.disabled = computed(() => this.options()["disabled"]);
7332
+ this.readonly = computed(() => this.options()["readonly"]);
6831
7333
  this.hasClearButton = computed(() => this.options()['hasClearButton']);
6832
7334
  this.validationRules = computed(() => this.options()["validationRules"] ?? []);
6833
7335
  }
7336
+ get __class() {
7337
+ const cls = {};
7338
+ cls[`ax-flex-1`] = true;
7339
+ return cls;
7340
+ }
6834
7341
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6835
- 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: `
6836
- <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
+ }
6837
7347
  @if(hasClearButton()){
6838
7348
  <ax-clear-button></ax-clear-button>
6839
- } @for (validation of validationRules(); track $index) {
6840
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
6841
- }
7349
+ }
6842
7350
  </ax-color-box>
6843
- `, 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 }); }
6844
7352
  }
6845
7353
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPColorBoxWidgetEditComponent, decorators: [{
6846
7354
  type: Component,
6847
7355
  args: [{
6848
7356
  template: `
6849
- <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
+ }
6850
7361
  @if(hasClearButton()){
6851
7362
  <ax-clear-button></ax-clear-button>
6852
- } @for (validation of validationRules(); track $index) {
6853
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
6854
- }
7363
+ }
6855
7364
  </ax-color-box>
6856
7365
  `,
6857
7366
  standalone: true,
6858
7367
  changeDetection: ChangeDetectionStrategy.OnPush,
6859
7368
  imports: [CommonModule, FormsModule, AXColorBoxModule, AXDecoratorModule, AXFormModule],
6860
7369
  }]
6861
- }] });
7370
+ }], propDecorators: { __class: [{
7371
+ type: HostBinding,
7372
+ args: ['class']
7373
+ }] } });
6862
7374
 
6863
7375
  var colorBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
6864
7376
  __proto__: null,
@@ -6931,8 +7443,18 @@ const AXPColorBoxWidget = {
6931
7443
  description: 'Picks and applies colors',
6932
7444
  icon: 'fa-solid fa-palette',
6933
7445
  group: AXP_WIDGETS_EDITOR_GROUP,
6934
- 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
+ ],
6935
7454
  components: {
7455
+ designer: {
7456
+ component: () => import('./acorex-platform-widgets-color-box-widget-designer.component-BF24k3Y-.mjs').then((c) => c.AXPColorBoxWidgetDesignerComponent),
7457
+ },
6936
7458
  view: {
6937
7459
  component: () => Promise.resolve().then(function () { return colorBoxWidgetView_component; }).then((c) => c.AXPColorBoxWidgetViewComponent),
6938
7460
  },
@@ -6948,9 +7470,6 @@ const AXPColorBoxWidget = {
6948
7470
  print: {
6949
7471
  component: () => Promise.resolve().then(function () { return colorBoxWidgetPrint_component; }).then((c) => c.AXPColorBoxWidgetPrintComponent),
6950
7472
  },
6951
- designer: {
6952
- component: () => Promise.resolve().then(function () { return colorBoxWidgetEdit_component; }).then((c) => c.AXPColorBoxWidgetEditComponent),
6953
- },
6954
7473
  },
6955
7474
  };
6956
7475
 
@@ -6962,13 +7481,14 @@ class AXPTextBlockWidgetViewComponent extends AXPWidgetComponent {
6962
7481
  this.innerContent = computed(() => this.sanitizer.bypassSecurityTrustHtml(this.content()));
6963
7482
  }
6964
7483
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBlockWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6965
- 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: `
6966
7485
  <div [innerHTML]="innerContent()"></div>
6967
7486
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6968
7487
  }
6969
7488
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPTextBlockWidgetViewComponent, decorators: [{
6970
7489
  type: Component,
6971
7490
  args: [{
7491
+ selector: "axp-text-block-widget",
6972
7492
  template: `
6973
7493
  <div [innerHTML]="innerContent()"></div>
6974
7494
  `,
@@ -6990,11 +7510,10 @@ const AXPTextBlockWidget = {
6990
7510
  icon: 'fa-solid fa-text',
6991
7511
  group: AXP_WIDGETS_LAYOUT_GROUP,
6992
7512
  properties: [
6993
- AXP_PLACEHOLDER_PROPERTY,
6994
7513
  {
6995
7514
  name: 'content',
6996
7515
  title: 'Content',
6997
- group: AXP_DATA_PROPERTY_GROUP,
7516
+ group: AXP_BEHAVIOR_PROPERTY_GROUP,
6998
7517
  schema: {
6999
7518
  dataType: 'string',
7000
7519
  defaultValue: 'Text Block',
@@ -7018,7 +7537,7 @@ const AXPTextBlockWidget = {
7018
7537
  component: () => Promise.resolve().then(function () { return textBlockWidgetView_component; }).then((c) => c.AXPTextBlockWidgetViewComponent),
7019
7538
  },
7020
7539
  designer: {
7021
- 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),
7022
7541
  },
7023
7542
  },
7024
7543
  };
@@ -7048,7 +7567,7 @@ class AXPFormFieldWidgetViewComponent extends AXPWidgetComponent {
7048
7567
  <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer>
7049
7568
  }
7050
7569
  </ax-form-field>
7051
- `, 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 }); }
7052
7571
  }
7053
7572
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetViewComponent, decorators: [{
7054
7573
  type: Component,
@@ -7077,8 +7596,14 @@ class AXPFormFieldWidgetDesignerComponent extends AXPContainerWidgetComponent {
7077
7596
  super(...arguments);
7078
7597
  this.label = computed(() => this.options()["label"]);
7079
7598
  }
7599
+ get __class() {
7600
+ const cls = {};
7601
+ cls[`ax-block`] = true;
7602
+ cls[`ax-w-full`] = true;
7603
+ return cls;
7604
+ }
7080
7605
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7081
- 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: [
7082
7607
  {
7083
7608
  provide: AXPContainerWidgetComponent, useExisting: AXPFormFieldWidgetDesignerComponent
7084
7609
  }
@@ -7086,22 +7611,23 @@ class AXPFormFieldWidgetDesignerComponent extends AXPContainerWidgetComponent {
7086
7611
  <ax-form-field>
7087
7612
  <ax-label>{{label()}}</ax-label>
7088
7613
  @for (node of children(); track $index) {
7089
- <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>
7090
7615
  }
7091
7616
  @empty {
7092
7617
  <axp-designer-add-widget-button class="axp-empty-space ax-block ax-p-0 "></axp-designer-add-widget-button>
7093
7618
  }
7094
7619
  </ax-form-field>
7095
- `, 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 }); }
7096
7621
  }
7097
7622
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPFormFieldWidgetDesignerComponent, decorators: [{
7098
7623
  type: Component,
7099
7624
  args: [{
7625
+ selector: "axp-form-field-widget",
7100
7626
  template: `
7101
7627
  <ax-form-field>
7102
7628
  <ax-label>{{label()}}</ax-label>
7103
7629
  @for (node of children(); track $index) {
7104
- <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>
7105
7631
  }
7106
7632
  @empty {
7107
7633
  <axp-designer-add-widget-button class="axp-empty-space ax-block ax-p-0 "></axp-designer-add-widget-button>
@@ -7110,14 +7636,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7110
7636
  `,
7111
7637
  standalone: true,
7112
7638
  changeDetection: ChangeDetectionStrategy.OnPush,
7113
- imports: [CommonModule, AXFormModule, AXLabelModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent],
7639
+ imports: [CommonModule, AXFormModule, AXLabelModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent],
7114
7640
  providers: [
7115
7641
  {
7116
7642
  provide: AXPContainerWidgetComponent, useExisting: AXPFormFieldWidgetDesignerComponent
7117
7643
  }
7118
7644
  ]
7119
7645
  }]
7120
- }] });
7646
+ }], propDecorators: { __class: [{
7647
+ type: HostBinding,
7648
+ args: ['class']
7649
+ }] } });
7121
7650
 
7122
7651
  var formFieldWidgetDesigner_component = /*#__PURE__*/Object.freeze({
7123
7652
  __proto__: null,
@@ -7189,7 +7718,7 @@ class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent {
7189
7718
  this.rows = computed(() => this.options()["rows"] ?? 1);
7190
7719
  this.gap = computed(() => this.options()["gap"] ?? 0);
7191
7720
  this.cells = computed(() => Array.from({ length: this.cols() * this.rows() }).map((c, index) => index));
7192
- this.settled = computed(() => this.cols() * this.rows() > 1);
7721
+ this.settled = computed(() => (this.cols() * this.rows() > 1) && this.children().length);
7193
7722
  }
7194
7723
  // private e = effect(async () => {
7195
7724
  // if (this.settled()) {
@@ -7227,8 +7756,15 @@ class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent {
7227
7756
  this.designerService.addWidget(this.node, node);
7228
7757
  });
7229
7758
  }
7759
+ get __class() {
7760
+ const cls = {};
7761
+ //
7762
+ cls[`ax-block`] = true;
7763
+ cls[`ax-w-full`] = true;
7764
+ return cls;
7765
+ }
7230
7766
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7231
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridWidgetDesignerComponent, isStandalone: true, selector: "ng-component", 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: [
7232
7768
  {
7233
7769
  provide: AXPContainerWidgetComponent, useExisting: AXPGridWidgetDesignerComponent
7234
7770
  }
@@ -7237,23 +7773,24 @@ class AXPGridWidgetDesignerComponent extends AXPContainerWidgetComponent {
7237
7773
  {
7238
7774
  <div class="ax-grid ax-grid-cols-{{cols()}} ax-grid-rows-{{rows()}} ax-gap-{{gap()}}">
7239
7775
  @for (node of children(); track $index) {
7240
- <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>
7241
7777
  }
7242
7778
  </div>
7243
7779
  }@else {
7244
7780
  <axp-designer-grid-drawer (onSelect)="handleDrawerSelect($event)"></axp-designer-grid-drawer>
7245
7781
  }
7246
- `, 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 }); }
7247
7783
  }
7248
7784
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridWidgetDesignerComponent, decorators: [{
7249
7785
  type: Component,
7250
7786
  args: [{
7787
+ selector: 'axp-grid-layout-widget',
7251
7788
  template: `
7252
7789
  @if(settled())
7253
7790
  {
7254
7791
  <div class="ax-grid ax-grid-cols-{{cols()}} ax-grid-rows-{{rows()}} ax-gap-{{gap()}}">
7255
7792
  @for (node of children(); track $index) {
7256
- <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>
7257
7794
  }
7258
7795
  </div>
7259
7796
  }@else {
@@ -7262,190 +7799,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7262
7799
  `,
7263
7800
  standalone: true,
7264
7801
  changeDetection: ChangeDetectionStrategy.OnPush,
7265
- imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent, AXPDesignerGridDrawerComponent],
7802
+ imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent, AXPDesignerGridDrawerComponent],
7266
7803
  providers: [
7267
7804
  {
7268
7805
  provide: AXPContainerWidgetComponent, useExisting: AXPGridWidgetDesignerComponent
7269
7806
  }
7270
7807
  ]
7271
7808
  }]
7272
- }] });
7809
+ }], propDecorators: { __class: [{
7810
+ type: HostBinding,
7811
+ args: ['class']
7812
+ }] } });
7273
7813
 
7274
7814
  var gridWidgetDesigner_component = /*#__PURE__*/Object.freeze({
7275
7815
  __proto__: null,
7276
7816
  AXPGridWidgetDesignerComponent: AXPGridWidgetDesignerComponent
7277
7817
  });
7278
7818
 
7279
- const AXP_LAYOUT_GAP_PROPERTY = {
7280
- name: 'gap',
7281
- title: 'Gap',
7282
- group: AXP_STYLING_PROPERTY_GROUP,
7283
- schema: {
7284
- dataType: 'number',
7285
- defaultValue: 2,
7286
- interface: {
7287
- name: 'gap',
7288
- path: 'options.gap',
7289
- type: AXPWidgetsCatalog.number,
7290
- options: {
7291
- minValue: 0,
7292
- maxValue: 12,
7293
- },
7294
- },
7295
- },
7296
- visible: true,
7297
- };
7298
- const AXP_LAYOUT_COL_SPAN_PROPERTY = {
7299
- name: 'colSpan',
7300
- title: 'Column Span',
7301
- group: AXP_STYLING_PROPERTY_GROUP,
7302
- schema: {
7303
- dataType: 'number',
7304
- interface: {
7305
- name: 'colSpan',
7306
- path: 'options.colSpan',
7307
- type: AXPWidgetsCatalog.number,
7308
- options: {
7309
- minValue: 0,
7310
- maxValue: 12,
7311
- },
7312
- },
7313
- },
7314
- visible: true,
7315
- };
7316
- const AXP_LAYOUT_COL_START_PROPERTY = {
7317
- name: 'colStart',
7318
- title: 'Column Start',
7319
- group: AXP_STYLING_PROPERTY_GROUP,
7320
- schema: {
7321
- dataType: 'number',
7322
- interface: {
7323
- name: 'colStart',
7324
- path: 'options.colStart',
7325
- type: AXPWidgetsCatalog.number,
7326
- options: {
7327
- minValue: 1,
7328
- maxValue: 13,
7329
- },
7330
- },
7331
- },
7332
- visible: true,
7333
- };
7334
- const AXP_LAYOUT_COL_END_PROPERTY = {
7335
- name: 'colEnd',
7336
- title: 'Column End',
7337
- group: AXP_STYLING_PROPERTY_GROUP,
7338
- schema: {
7339
- dataType: 'number',
7340
- interface: {
7341
- name: 'colEnd',
7342
- path: 'options.colEnd',
7343
- type: AXPWidgetsCatalog.number,
7344
- options: {
7345
- minValue: 1,
7346
- maxValue: 13,
7347
- },
7348
- },
7349
- },
7350
- visible: true,
7351
- };
7352
- const AXP_LAYOUT_COLUMNS_PROPERTY = {
7353
- name: 'cols',
7354
- title: 'Columns',
7355
- group: AXP_STYLING_PROPERTY_GROUP,
7356
- schema: {
7357
- dataType: 'number',
7358
- defaultValue: 1,
7359
- interface: {
7360
- name: 'cols',
7361
- path: 'options.cols',
7362
- type: AXPWidgetsCatalog.number,
7363
- options: {
7364
- minValue: 1,
7365
- maxValue: 12,
7366
- },
7367
- },
7368
- },
7369
- visible: true,
7370
- };
7371
- const AXP_LAYOUT_ROWS_PROPERTY = {
7372
- name: 'rows',
7373
- title: 'Rows',
7374
- group: AXP_STYLING_PROPERTY_GROUP,
7375
- schema: {
7376
- dataType: 'number',
7377
- defaultValue: 1,
7378
- interface: {
7379
- name: 'rows',
7380
- path: 'options.rows',
7381
- type: AXPWidgetsCatalog.number,
7382
- options: {
7383
- minValue: 1,
7384
- maxValue: 100,
7385
- },
7386
- },
7387
- },
7388
- visible: true,
7389
- };
7390
- const AXP_FLEX_JUSTIFY_PROPERTY = {
7391
- name: 'flexJustify',
7392
- title: 'Flex Justify',
7393
- group: AXP_STYLING_PROPERTY_GROUP,
7394
- schema: {
7395
- dataType: 'string',
7396
- defaultValue: { id: 'ax-justify-start' },
7397
- interface: {
7398
- name: 'flexJustify',
7399
- path: 'options.flexJustify',
7400
- type: AXPWidgetsCatalog.select,
7401
- options: {
7402
- hasClearButton: false,
7403
- dataSource: [
7404
- { id: 'ax-justify-start', title: 'Justify Start' },
7405
- { id: 'ax-justify-end', title: 'Justify End' },
7406
- { id: 'ax-justify-center', title: 'Justify Center' },
7407
- { id: 'ax-justify-between', title: 'Justify Between' },
7408
- { id: 'ax-justify-around', title: 'Justify Around' },
7409
- { id: 'ax-justify-evenly', title: 'Justify Evenly' },
7410
- ],
7411
- },
7412
- },
7413
- },
7414
- visible: true,
7415
- };
7416
- const AXP_FLEX_ALIGN_PROPERTY = {
7417
- name: 'flexAlign',
7418
- title: 'Flex Align',
7419
- group: AXP_STYLING_PROPERTY_GROUP,
7420
- schema: {
7421
- dataType: 'string',
7422
- defaultValue: { id: 'ax-items-start' },
7423
- interface: {
7424
- name: 'flexAlign',
7425
- path: 'options.flexAlign',
7426
- type: AXPWidgetsCatalog.select,
7427
- options: {
7428
- hasClearButton: false,
7429
- dataSource: [
7430
- { id: 'ax-items-start', title: 'Align Start' },
7431
- { id: 'ax-items-end', title: 'Align End' },
7432
- { id: 'ax-items-center', title: 'Align Center' },
7433
- { id: 'ax-items-baseline', title: 'Align Baseline' },
7434
- { id: 'ax-items-stretch', title: 'Align Stretch' },
7435
- ],
7436
- },
7437
- },
7438
- },
7439
- visible: true,
7440
- };
7441
-
7442
7819
  const AXPGridWidget = {
7443
7820
  name: 'grid-layout',
7444
7821
  title: 'Grid Layout',
7445
7822
  container: true,
7446
7823
  group: AXP_WIDGETS_LAYOUT_GROUP,
7447
7824
  icon: 'fa-solid fa-grid',
7448
- 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
+ ],
7449
7829
  components: {
7450
7830
  view: {
7451
7831
  component: () => Promise.resolve().then(function () { return gridWidgetView_component; }).then((c) => c.AXPGridWidgetViewComponent),
@@ -7471,8 +7851,14 @@ class AXPQrcodeWidgetViewComponent extends AXPWidgetComponent {
7471
7851
  this.color = computed(() => AXColorUtil.colorStringToHex(this.options()['color'] ?? '#000000'));
7472
7852
  this.outputType = computed(() => this.options()['outputType']);
7473
7853
  }
7854
+ get __class() {
7855
+ const cls = {};
7856
+ cls[`ax-block`] = true;
7857
+ cls[`ax-flex-1`] = true;
7858
+ return cls;
7859
+ }
7474
7860
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPQrcodeWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7475
- 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: `
7476
7862
  @if(this.content()){
7477
7863
  <ax-qrcode
7478
7864
  [content]="this.content()"
@@ -7504,7 +7890,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7504
7890
  changeDetection: ChangeDetectionStrategy.OnPush,
7505
7891
  imports: [CommonModule, AXQrcodeModule],
7506
7892
  }]
7507
- }] });
7893
+ }], propDecorators: { __class: [{
7894
+ type: HostBinding,
7895
+ args: ['class']
7896
+ }] } });
7508
7897
 
7509
7898
  var qrcodeWidgetView_component = /*#__PURE__*/Object.freeze({
7510
7899
  __proto__: null,
@@ -7612,71 +8001,79 @@ class AXPGridItemWidgetDesignerComponent extends AXPContainerWidgetComponent {
7612
8001
  this.colSpan = computed(() => this.options()["colSpan"]);
7613
8002
  this.colStart = computed(() => this.options()["colStart"]);
7614
8003
  this.colEnd = computed(() => this.options()["colEnd"]);
7615
- this.flexAlign = computed(() => this.options()["flexAlign"]?.id);
7616
- this.flexJustify = computed(() => this.options()["flexJustify"]?.id);
7617
- this.outerClass = computed(() => {
7618
- const cls = {};
7619
- //
7620
- cls[`!ax-flex`] = true;
7621
- cls[`ax-flex-1`] = true;
7622
- if (this.flexAlign()) {
7623
- cls[this.flexAlign()] = true;
7624
- }
7625
- if (this.flexJustify()) {
7626
- cls[this.flexJustify()] = true;
7627
- }
7628
- //
7629
- cls[`ax-col-span-12`] = true;
7630
- if (this.colSpan() != null) {
7631
- cls[`lg:ax-col-span-${this.colSpan()}`] = true;
7632
- }
7633
- else {
7634
- cls[`lg:ax-col-span-1`] = true;
7635
- }
7636
- //
7637
- if (this.colStart() != null) {
7638
- cls[`lg:ax-col-start-${this.colStart()}`] = true;
7639
- }
7640
- //
7641
- if (this.colEnd() != null) {
7642
- cls[`lg:ax-col-end-${this.colEnd()}`] = true;
7643
- }
7644
- return cls;
7645
- });
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);
7646
8009
  }
7647
8010
  async handleSlotClick() {
7648
8011
  await this.designerService.showPicker(this.node);
7649
8012
  }
7650
8013
  get __class() {
7651
- return ['ax-flex-1'];
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;
7652
8048
  }
7653
8049
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7654
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPGridItemWidgetDesignerComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, providers: [
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: [
7655
8051
  {
7656
8052
  provide: AXPContainerWidgetComponent, useExisting: AXPGridItemWidgetDesignerComponent
7657
8053
  }
7658
8054
  ], usesInheritance: true, ngImport: i0, template: `
7659
8055
  @for (node of children(); track $index) {
7660
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-designer-renderer>
8056
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
7661
8057
  }
7662
8058
  @empty {
7663
- <div class="axp-empty-space ax-flex ax-justify-center ax-items-center" >
8059
+ <div class="axp-empty-space ax-flex-1 ax-flex ax-justify-center ax-items-center" >
7664
8060
  <div class="ax-m-auto ax-p-4 ax-text-primary-500 hover:ax-text-primary-800" (click)="handleSlotClick()">
7665
8061
  <i class="fa-solid fa-plus "></i>
7666
8062
  </div>
7667
8063
  </div>
7668
8064
  }
7669
- `, 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
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 }); }
7670
8066
  }
7671
8067
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPGridItemWidgetDesignerComponent, decorators: [{
7672
8068
  type: Component,
7673
8069
  args: [{
8070
+ selector: 'axp-grid-layout-item-widget',
7674
8071
  template: `
7675
8072
  @for (node of children(); track $index) {
7676
- <axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-designer-renderer>
8073
+ <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
7677
8074
  }
7678
8075
  @empty {
7679
- <div class="axp-empty-space ax-flex ax-justify-center ax-items-center" >
8076
+ <div class="axp-empty-space ax-flex-1 ax-flex ax-justify-center ax-items-center" >
7680
8077
  <div class="ax-m-auto ax-p-4 ax-text-primary-500 hover:ax-text-primary-800" (click)="handleSlotClick()">
7681
8078
  <i class="fa-solid fa-plus "></i>
7682
8079
  </div>
@@ -7685,7 +8082,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7685
8082
  `,
7686
8083
  standalone: true,
7687
8084
  changeDetection: ChangeDetectionStrategy.OnPush,
7688
- imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererComponent, AXPDesignerAddWidgetButtonComponent, AXPDesignerGridDrawerComponent],
8085
+ imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent, AXPDesignerGridDrawerComponent],
7689
8086
  providers: [
7690
8087
  {
7691
8088
  provide: AXPContainerWidgetComponent, useExisting: AXPGridItemWidgetDesignerComponent
@@ -7711,11 +8108,8 @@ const AXPGridItemWidget = {
7711
8108
  icon: 'fa-solid fa-objects-column',
7712
8109
  properties: [
7713
8110
  AXP_NAME_PROPERTY,
7714
- AXP_LAYOUT_COL_SPAN_PROPERTY,
7715
- AXP_LAYOUT_COL_START_PROPERTY,
7716
- AXP_LAYOUT_COL_END_PROPERTY,
7717
- AXP_FLEX_ALIGN_PROPERTY,
7718
- AXP_FLEX_JUSTIFY_PROPERTY,
8111
+ ...AXP_LAYOUT_GRID_ITEM_PROPERTIES,
8112
+ ...AXP_LAYOUT_FLEX_PROPERTIES
7719
8113
  ],
7720
8114
  components: {
7721
8115
  view: {
@@ -7733,6 +8127,153 @@ const AXPGridItemWidget = {
7733
8127
  },
7734
8128
  };
7735
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
+
7736
8277
  class AXPWidgetsModule {
7737
8278
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPWidgetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
7738
8279
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXPWidgetsModule, imports: [i1$5.AXPLayoutBuilderModule] }); }
@@ -7747,6 +8288,7 @@ class AXPWidgetsModule {
7747
8288
  AXPFormFieldWidget,
7748
8289
  AXPGridWidget,
7749
8290
  AXPGridItemWidget,
8291
+ AXPGridRowWidget,
7750
8292
  //
7751
8293
  AXPTextBoxWidget,
7752
8294
  AXPCheckBoxWidget,
@@ -7788,6 +8330,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7788
8330
  AXPFormFieldWidget,
7789
8331
  AXPGridWidget,
7790
8332
  AXPGridItemWidget,
8333
+ AXPGridRowWidget,
7791
8334
  //
7792
8335
  AXPTextBoxWidget,
7793
8336
  AXPCheckBoxWidget,
@@ -7823,5 +8366,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
7823
8366
  * Generated bundle index. Do not edit.
7824
8367
  */
7825
8368
 
7826
- 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 };
7827
8370
  //# sourceMappingURL=acorex-platform-widgets.mjs.map