@acorex/platform 19.3.4 → 19.3.5

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 (86) hide show
  1. package/common/lib/app/application.types.d.ts +1 -1
  2. package/common/lib/data/filter-middleware.service.d.ts +1 -1
  3. package/common/lib/data/operators.service.d.ts +1 -1
  4. package/common/lib/utils/export-popup.d.ts +1 -1
  5. package/common/lib/utils/filter-cleaner.d.ts +1 -1
  6. package/common/lib/workflows/common.workflow.d.ts +1 -1
  7. package/core/lib/data/datasource-definition-provider.service.d.ts +1 -1
  8. package/core/lib/types/data.types.d.ts +1 -1
  9. package/core/lib/utils/data-conditioner.d.ts +1 -1
  10. package/fesm2022/acorex-platform-common.mjs +4 -6
  11. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  12. package/fesm2022/acorex-platform-core.mjs +1 -1
  13. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  14. package/fesm2022/acorex-platform-layout-builder.mjs +1 -1
  15. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  16. package/fesm2022/acorex-platform-layout-components.mjs +5 -13
  17. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  18. package/fesm2022/acorex-platform-layout-designer.mjs +15 -11
  19. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  20. package/fesm2022/acorex-platform-layout-entity.mjs +115 -103
  21. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  22. package/fesm2022/acorex-platform-layout-filters.mjs.map +1 -1
  23. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-Cxi1w-iq.mjs.map +1 -1
  24. package/fesm2022/acorex-platform-themes-default.mjs +3 -3
  25. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  26. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-CLna7DRq.mjs → acorex-platform-widgets-button-widget-designer.component-i8FcuktZ.mjs} +20 -18
  27. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-i8FcuktZ.mjs.map +1 -0
  28. package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-16K2wwtu.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-DZD9AEmz.mjs} +68 -68
  29. package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-DZD9AEmz.mjs.map +1 -0
  30. package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-DJtxN1VV.mjs → acorex-platform-widgets-tabular-data-view-popup.component-CQT2kgt3.mjs} +4 -4
  31. package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-CQT2kgt3.mjs.map +1 -0
  32. package/fesm2022/acorex-platform-widgets.mjs +1124 -1000
  33. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  34. package/layout/builder/lib/builder/datasource-provider.service.d.ts +1 -1
  35. package/layout/builder/lib/builder/widget-base.component.d.ts +1 -1
  36. package/layout/components/lib/user-avatar/user-avatar.component.d.ts +1 -1
  37. package/layout/designer/lib/designer/components/add-widget-button/add-widget-button.component.d.ts +1 -1
  38. package/layout/entity/lib/entity-detail-list.viewmodel.d.ts +1 -1
  39. package/layout/entity/lib/entity-master-list.viewmodel.d.ts +1 -1
  40. package/layout/entity/lib/entity.viewmodel.d.ts +1 -1
  41. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +1 -1
  42. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.d.ts +1 -1
  43. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.d.ts +1 -1
  44. package/layout/entity/lib/widgets/tagable-box/tagable-box-widget-edit.component.d.ts +1 -1
  45. package/layout/filters/lib/filters.viewmodel.d.ts +1 -1
  46. package/package.json +1 -1
  47. package/themes/default/lib/layouts/base/page-layout/page-layout.component.d.ts +1 -1
  48. package/themes/default/lib/layouts/entity-layouts/entity-category/entity-category.component.d.ts +1 -1
  49. package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +1 -1
  50. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/list-view-option-columns/list-view-option-columns.component.d.ts +1 -1
  51. package/themes/default/lib/layouts/entity-layouts/entity-master-toolbar-view/filters/entity-filter-toolbar.component.d.ts +1 -1
  52. package/themes/default/lib/layouts/root-layout/horizontal/horizontal-layout.component.d.ts +1 -1
  53. package/themes/default/lib/layouts/root-layout/vertical/vertical-layout.component.d.ts +1 -1
  54. package/widgets/lib/widgets/actions/button/button-widget-designer.component.d.ts +1 -1
  55. package/widgets/lib/widgets/actions/button/button-widget-view.component.d.ts +1 -1
  56. package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +1 -1
  57. package/widgets/lib/widgets/editors/date-time/date-time-box-widget-edit.component.d.ts +1 -1
  58. package/widgets/lib/widgets/editors/email/email-box-widget-edit.component.d.ts +1 -1
  59. package/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.d.ts +1 -1
  60. package/widgets/lib/widgets/editors/link/link-widget-edit.component.d.ts +1 -1
  61. package/widgets/lib/widgets/editors/number/number-box-widget-edit.component.d.ts +1 -1
  62. package/widgets/lib/widgets/editors/number-unit/number-unit-box-widget-edit.component.d.ts +1 -1
  63. package/widgets/lib/widgets/editors/phone/phone-box-widget-edit.component.d.ts +1 -1
  64. package/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.d.ts +1 -1
  65. package/widgets/lib/widgets/editors/select/select-box-widget-edit.component.d.ts +1 -1
  66. package/widgets/lib/widgets/editors/selection-list/selection-list-widget-designer.component.d.ts +1 -1
  67. package/widgets/lib/widgets/editors/selection-list/selection-list-widget-edit.component.d.ts +1 -1
  68. package/widgets/lib/widgets/editors/tabular-data/tabular-data-edit-popup.component.d.ts +1 -1
  69. package/widgets/lib/widgets/editors/tabular-data/tabular-data-view-popup.component.d.ts +1 -1
  70. package/widgets/lib/widgets/editors/text/text-box-widget-edit.component.d.ts +1 -1
  71. package/widgets/lib/widgets/editors/time-duration/time-duration-widget-edit.component.d.ts +1 -1
  72. package/widgets/lib/widgets/editors/toggle/toggle-widget-edit.component.d.ts +1 -1
  73. package/widgets/lib/widgets/editors/toggle/toggle-widget.config.d.ts +1 -1
  74. package/widgets/lib/widgets/filters/boolean-filter/boolean-filter-widget-edit.component.d.ts +1 -1
  75. package/widgets/lib/widgets/filters/date-time-filter/date-time-filter-widget-edit.component.d.ts +1 -1
  76. package/widgets/lib/widgets/filters/number-filter/number-filter-widget-edit.component.d.ts +1 -1
  77. package/widgets/lib/widgets/filters/select-filter/select-filter-widget-edit.component.d.ts +1 -1
  78. package/widgets/lib/widgets/filters/string-filter/string-filter-widget-edit.component.d.ts +1 -1
  79. package/widgets/lib/widgets/layout/panel/panel-widget-designer.component.d.ts +1 -1
  80. package/widgets/lib/widgets/layout/panel/panel-widget-view.component.d.ts +1 -1
  81. package/widgets/lib/widgets/property-editors/advanced-grid-options/advanced-grid-options-widget-editor.component.d.ts +1 -1
  82. package/widgets/lib/widgets/property-editors/flex-options/flex-options-widget-editor.component.d.ts +1 -1
  83. package/widgets/lib/widgets/property-editors/grid-options/grid-options-widget-editor.component.d.ts +1 -1
  84. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-CLna7DRq.mjs.map +0 -1
  85. package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-16K2wwtu.mjs.map +0 -1
  86. package/fesm2022/acorex-platform-widgets-tabular-data-view-popup.component-DJtxN1VV.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as i1$3 from '@acorex/platform/layout/builder';
2
2
  import { AXPWidgetsCatalog, createStringProperty, createBooleanProperty, createSelectProperty, cloneProperty, AXPLayoutWidgetComponent, AXPWidgetGroupEnum, AXP_WIDGETS_ACTION_CATEGORY, AXPValueWidgetComponent, AXP_WIDGETS_EDITOR_CATEGORY, AXPColumnWidgetComponent, AXPLayoutBuilderModule, createNumberProperty, AXPDataListWidgetComponent, AXPWidgetStatus, AXPPageStatus, AXP_WIDGETS_ADVANCE_CATEGORY, AXP_WIDGETS_LAYOUT_CATEGORY } from '@acorex/platform/layout/builder';
3
- import { AX_STYLE_COLOR_TYPES, AX_STYLE_LOOK_TYPES, AXDataSource } from '@acorex/components/common';
3
+ import { AX_STYLE_COLOR_TYPES, AX_STYLE_LOOK_TYPES, AXDataSource } from '@acorex/cdk/common';
4
4
  import * as i1$2 from '@acorex/components/badge';
5
5
  import { AXBadgeModule } from '@acorex/components/badge';
6
6
  import * as i5 from '@acorex/components/button';
@@ -1012,14 +1012,15 @@ class AXPButtonWidgetViewComponent extends AXPLayoutWidgetComponent {
1012
1012
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPButtonWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1013
1013
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXPButtonWidgetViewComponent, isStandalone: true, selector: "axp-button-widget", usesInheritance: true, ngImport: i0, template: `
1014
1014
  <ax-button [disabled]="disabled()" [color]="color()" [look]="look()" [text]="text()">
1015
- @if(icon() && text()){
1016
- <ax-prefix
1017
- ><ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon
1018
- ></ax-prefix>
1019
- } @else if(icon() && !text()) {
1020
- <ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon>
1021
- } @if(loading()){
1022
- <ax-loading> </ax-loading>
1015
+ @if (icon() && text()) {
1016
+ <ax-prefix
1017
+ ><ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon
1018
+ ></ax-prefix>
1019
+ } @else if (icon() && !text()) {
1020
+ <ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon>
1021
+ }
1022
+ @if (loading()) {
1023
+ <ax-loading> </ax-loading>
1023
1024
  }
1024
1025
  </ax-button>
1025
1026
  `, 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", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXLoadingModule }, { kind: "component", type: i2.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXBadgeModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -1030,19 +1031,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
1030
1031
  selector: 'axp-button-widget',
1031
1032
  template: `
1032
1033
  <ax-button [disabled]="disabled()" [color]="color()" [look]="look()" [text]="text()">
1033
- @if(icon() && text()){
1034
- <ax-prefix
1035
- ><ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon
1036
- ></ax-prefix>
1037
- } @else if(icon() && !text()) {
1038
- <ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon>
1039
- } @if(loading()){
1040
- <ax-loading> </ax-loading>
1034
+ @if (icon() && text()) {
1035
+ <ax-prefix
1036
+ ><ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon
1037
+ ></ax-prefix>
1038
+ } @else if (icon() && !text()) {
1039
+ <ax-icon> <i class="fa-solid" [class]="icon()"></i> </ax-icon>
1040
+ }
1041
+ @if (loading()) {
1042
+ <ax-loading> </ax-loading>
1041
1043
  }
1042
1044
  </ax-button>
1043
1045
  `,
1044
1046
  changeDetection: ChangeDetectionStrategy.OnPush,
1045
- imports: [CommonModule, AXButtonModule, AXLoadingModule, AXDecoratorModule, AXBadgeModule]
1047
+ imports: [CommonModule, AXButtonModule, AXLoadingModule, AXDecoratorModule, AXBadgeModule],
1046
1048
  }]
1047
1049
  }] });
1048
1050
 
@@ -1070,7 +1072,7 @@ const AXPButtonWidget = {
1070
1072
  ],
1071
1073
  components: {
1072
1074
  designer: {
1073
- component: () => import('./acorex-platform-widgets-button-widget-designer.component-CLna7DRq.mjs').then((c) => c.AXPButtonWidgetDesignerComponent),
1075
+ component: () => import('./acorex-platform-widgets-button-widget-designer.component-i8FcuktZ.mjs').then((c) => c.AXPButtonWidgetDesignerComponent),
1074
1076
  },
1075
1077
  view: {
1076
1078
  component: () => Promise.resolve().then(function () { return buttonWidgetView_component; }).then((c) => c.AXPButtonWidgetViewComponent),
@@ -1445,61 +1447,64 @@ class AXPContactWidgetEditComponent extends AXPValueWidgetComponent {
1445
1447
  }
1446
1448
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPContactWidgetEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1447
1449
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXPContactWidgetEditComponent, 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 ax-auto-cols-max ">
1448
- @for(item of internalValue();track $index) {
1449
- <ax-text-box
1450
- [ngModel]="item.value"
1451
- (onValueChanged)="handleValueChange($event, $index)"
1452
- type="text"
1453
- name="value"
1454
- [placeholder]="placeholder()"
1455
- [ngClass]="generateClasses('value')"
1456
- [disabled]="disabled()"
1457
- >
1458
- @for (validation of validationRules(); track $index) {
1459
- <ax-validation-rule
1460
- [rule]="validation.rule"
1461
- [message]="validation.options?.message"
1462
- [options]="validation.options"
1463
- ></ax-validation-rule>
1464
- } @if(type()==='email'){
1465
- <ax-validation-rule rule="email"></ax-validation-rule>
1450
+ @for (item of internalValue(); track $index) {
1451
+ <ax-text-box
1452
+ [ngModel]="item.value"
1453
+ (onValueChanged)="handleValueChange($event, $index)"
1454
+ type="text"
1455
+ name="value"
1456
+ [placeholder]="placeholder()"
1457
+ [ngClass]="generateClasses('value')"
1458
+ [disabled]="disabled()"
1459
+ >
1460
+ @for (validation of validationRules(); track $index) {
1461
+ <ax-validation-rule
1462
+ [rule]="validation.rule"
1463
+ [message]="validation.options?.message"
1464
+ [options]="validation.options"
1465
+ ></ax-validation-rule>
1466
+ }
1467
+ @if (type() === 'email') {
1468
+ <ax-validation-rule rule="email"></ax-validation-rule>
1469
+ }
1470
+ <ax-validation-rule rule="required"></ax-validation-rule>
1471
+ </ax-text-box>
1472
+ @if (hasLabel()) {
1473
+ <ax-select-box
1474
+ [dataSource]="dataSource"
1475
+ [ngModel]="item.label"
1476
+ [disabled]="disabled()"
1477
+ (onValueChanged)="handleValueChange($event, $index)"
1478
+ placeholder="{{ 'selectbox.popover.title' | translate | async }}"
1479
+ name="label"
1480
+ [ngClass]="generateClasses('label')"
1481
+ >
1482
+ </ax-select-box>
1466
1483
  }
1467
- <ax-validation-rule rule="required"></ax-validation-rule>
1468
- </ax-text-box>
1469
- @if(hasLabel()){
1470
- <ax-select-box
1471
- [dataSource]="dataSource"
1472
- [ngModel]="item.label"
1473
- [disabled]="disabled()"
1474
- (onValueChanged)="handleValueChange($event, $index)"
1475
- placeholder="{{ 'selectbox.popover.title' | translate | async }}"
1476
- name="label"
1477
- [ngClass]="generateClasses('label')"
1478
- >
1479
- </ax-select-box>
1480
- } @if(multiple()){
1481
- <ax-button
1482
- [disabled]="disabled()"
1483
- look="twotone"
1484
- color="danger"
1485
- (onClick)="deleteItem($index)"
1486
- class="ax-col-start-12 ax-col-end-13 ax-justify-self-end"
1487
- >
1488
- <ax-icon icon="fa-regular fa-xmark"></ax-icon>
1489
- </ax-button>
1490
- } } @if(multiple()){
1491
-
1492
- <ax-button
1493
- [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
1494
- [disabled]="disabled()"
1495
- look="twotone"
1496
- (onClick)="addItem()"
1497
- class="ax-col-start-8 ax-col-end-13 sm:ax-col-start-10 md:ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-10 "
1498
- >
1499
- <ax-prefix>
1500
- <ax-icon class="fa-solid fa-add"></ax-icon>
1501
- </ax-prefix>
1502
- </ax-button>
1484
+ @if (multiple()) {
1485
+ <ax-button
1486
+ [disabled]="disabled()"
1487
+ look="twotone"
1488
+ color="danger"
1489
+ (onClick)="deleteItem($index)"
1490
+ class="ax-col-start-12 ax-col-end-13 ax-justify-self-end"
1491
+ >
1492
+ <ax-icon icon="fa-regular fa-xmark"></ax-icon>
1493
+ </ax-button>
1494
+ }
1495
+ }
1496
+ @if (multiple()) {
1497
+ <ax-button
1498
+ [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
1499
+ [disabled]="disabled()"
1500
+ look="twotone"
1501
+ (onClick)="addItem()"
1502
+ class="ax-col-start-8 ax-col-end-13 sm:ax-col-start-10 md:ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-10 "
1503
+ >
1504
+ <ax-prefix>
1505
+ <ax-icon class="fa-solid fa-add"></ax-icon>
1506
+ </ax-prefix>
1507
+ </ax-button>
1503
1508
  }
1504
1509
  </div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1505
1510
  }
@@ -1507,61 +1512,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
1507
1512
  type: Component,
1508
1513
  args: [{
1509
1514
  template: `<div class="ax-grid ax-grid-cols-12 ax-gap-4 ax-auto-cols-max ">
1510
- @for(item of internalValue();track $index) {
1511
- <ax-text-box
1512
- [ngModel]="item.value"
1513
- (onValueChanged)="handleValueChange($event, $index)"
1514
- type="text"
1515
- name="value"
1516
- [placeholder]="placeholder()"
1517
- [ngClass]="generateClasses('value')"
1518
- [disabled]="disabled()"
1519
- >
1520
- @for (validation of validationRules(); track $index) {
1521
- <ax-validation-rule
1522
- [rule]="validation.rule"
1523
- [message]="validation.options?.message"
1524
- [options]="validation.options"
1525
- ></ax-validation-rule>
1526
- } @if(type()==='email'){
1527
- <ax-validation-rule rule="email"></ax-validation-rule>
1515
+ @for (item of internalValue(); track $index) {
1516
+ <ax-text-box
1517
+ [ngModel]="item.value"
1518
+ (onValueChanged)="handleValueChange($event, $index)"
1519
+ type="text"
1520
+ name="value"
1521
+ [placeholder]="placeholder()"
1522
+ [ngClass]="generateClasses('value')"
1523
+ [disabled]="disabled()"
1524
+ >
1525
+ @for (validation of validationRules(); track $index) {
1526
+ <ax-validation-rule
1527
+ [rule]="validation.rule"
1528
+ [message]="validation.options?.message"
1529
+ [options]="validation.options"
1530
+ ></ax-validation-rule>
1531
+ }
1532
+ @if (type() === 'email') {
1533
+ <ax-validation-rule rule="email"></ax-validation-rule>
1534
+ }
1535
+ <ax-validation-rule rule="required"></ax-validation-rule>
1536
+ </ax-text-box>
1537
+ @if (hasLabel()) {
1538
+ <ax-select-box
1539
+ [dataSource]="dataSource"
1540
+ [ngModel]="item.label"
1541
+ [disabled]="disabled()"
1542
+ (onValueChanged)="handleValueChange($event, $index)"
1543
+ placeholder="{{ 'selectbox.popover.title' | translate | async }}"
1544
+ name="label"
1545
+ [ngClass]="generateClasses('label')"
1546
+ >
1547
+ </ax-select-box>
1528
1548
  }
1529
- <ax-validation-rule rule="required"></ax-validation-rule>
1530
- </ax-text-box>
1531
- @if(hasLabel()){
1532
- <ax-select-box
1533
- [dataSource]="dataSource"
1534
- [ngModel]="item.label"
1535
- [disabled]="disabled()"
1536
- (onValueChanged)="handleValueChange($event, $index)"
1537
- placeholder="{{ 'selectbox.popover.title' | translate | async }}"
1538
- name="label"
1539
- [ngClass]="generateClasses('label')"
1540
- >
1541
- </ax-select-box>
1542
- } @if(multiple()){
1543
- <ax-button
1544
- [disabled]="disabled()"
1545
- look="twotone"
1546
- color="danger"
1547
- (onClick)="deleteItem($index)"
1548
- class="ax-col-start-12 ax-col-end-13 ax-justify-self-end"
1549
- >
1550
- <ax-icon icon="fa-regular fa-xmark"></ax-icon>
1551
- </ax-button>
1552
- } } @if(multiple()){
1553
-
1554
- <ax-button
1555
- [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
1556
- [disabled]="disabled()"
1557
- look="twotone"
1558
- (onClick)="addItem()"
1559
- class="ax-col-start-8 ax-col-end-13 sm:ax-col-start-10 md:ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-10 "
1560
- >
1561
- <ax-prefix>
1562
- <ax-icon class="fa-solid fa-add"></ax-icon>
1563
- </ax-prefix>
1564
- </ax-button>
1549
+ @if (multiple()) {
1550
+ <ax-button
1551
+ [disabled]="disabled()"
1552
+ look="twotone"
1553
+ color="danger"
1554
+ (onClick)="deleteItem($index)"
1555
+ class="ax-col-start-12 ax-col-end-13 ax-justify-self-end"
1556
+ >
1557
+ <ax-icon icon="fa-regular fa-xmark"></ax-icon>
1558
+ </ax-button>
1559
+ }
1560
+ }
1561
+ @if (multiple()) {
1562
+ <ax-button
1563
+ [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
1564
+ [disabled]="disabled()"
1565
+ look="twotone"
1566
+ (onClick)="addItem()"
1567
+ class="ax-col-start-8 ax-col-end-13 sm:ax-col-start-10 md:ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-10 "
1568
+ >
1569
+ <ax-prefix>
1570
+ <ax-icon class="fa-solid fa-add"></ax-icon>
1571
+ </ax-prefix>
1572
+ </ax-button>
1565
1573
  }
1566
1574
  </div> `,
1567
1575
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -1898,38 +1906,41 @@ class AXPDateTimeBoxWidgetEditComponent extends AXPValueWidgetComponent {
1898
1906
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXPDateTimeBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
1899
1907
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
1900
1908
  @for (datetime of internalValue(); track $index) {
1901
- <ax-datetime-box
1902
- class="ax-col-span-12"
1903
- [ngModel]="datetime"
1904
- (onValueChanged)="handleValueChange($event, $index)"
1905
- [disabled]="disabled()"
1906
- [format]="calendarFormat()"
1907
- [placeholder]="placeholder()"
1908
- >
1909
- @for (validation of validationRules(); track $index) {
1910
- <ax-validation-rule
1911
- [rule]="validation.rule"
1912
- [message]="validation.options?.message"
1913
- [options]="validation.options"
1914
- ></ax-validation-rule>
1915
- } @if(clearButton()){
1916
- <ax-clear-button></ax-clear-button>
1917
- } @if(multiple()) {
1918
- <ax-suffix>
1919
- <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
1920
- <ax-icon class="far fa-trash"> </ax-icon>
1921
- </ax-button>
1922
- </ax-suffix>
1923
- }
1924
- </ax-datetime-box>
1925
- } @if(multiple()){
1926
- <ax-button
1927
- class="ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-11 ax-col-end-13"
1928
- [text]="!internalValue().length ? 'Add New' : 'Add Another'"
1929
- look="twotone"
1930
- (onClick)="addItem()"
1931
- [disabled]="disabled()"
1932
- ></ax-button>
1909
+ <ax-datetime-box
1910
+ class="ax-col-span-12"
1911
+ [ngModel]="datetime"
1912
+ (onValueChanged)="handleValueChange($event, $index)"
1913
+ [disabled]="disabled()"
1914
+ [format]="calendarFormat()"
1915
+ [placeholder]="placeholder()"
1916
+ >
1917
+ @for (validation of validationRules(); track $index) {
1918
+ <ax-validation-rule
1919
+ [rule]="validation.rule"
1920
+ [message]="validation.options?.message"
1921
+ [options]="validation.options"
1922
+ ></ax-validation-rule>
1923
+ }
1924
+ @if (clearButton()) {
1925
+ <ax-clear-button></ax-clear-button>
1926
+ }
1927
+ @if (multiple()) {
1928
+ <ax-suffix>
1929
+ <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
1930
+ <ax-icon class="far fa-trash"> </ax-icon>
1931
+ </ax-button>
1932
+ </ax-suffix>
1933
+ }
1934
+ </ax-datetime-box>
1935
+ }
1936
+ @if (multiple()) {
1937
+ <ax-button
1938
+ class="ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-11 ax-col-end-13"
1939
+ [text]="!internalValue().length ? 'Add New' : 'Add Another'"
1940
+ look="twotone"
1941
+ (onClick)="addItem()"
1942
+ [disabled]="disabled()"
1943
+ ></ax-button>
1933
1944
  }
1934
1945
  </div>
1935
1946
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3$2.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "calendar", "picker", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -1940,38 +1951,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
1940
1951
  template: `
1941
1952
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
1942
1953
  @for (datetime of internalValue(); track $index) {
1943
- <ax-datetime-box
1944
- class="ax-col-span-12"
1945
- [ngModel]="datetime"
1946
- (onValueChanged)="handleValueChange($event, $index)"
1947
- [disabled]="disabled()"
1948
- [format]="calendarFormat()"
1949
- [placeholder]="placeholder()"
1950
- >
1951
- @for (validation of validationRules(); track $index) {
1952
- <ax-validation-rule
1953
- [rule]="validation.rule"
1954
- [message]="validation.options?.message"
1955
- [options]="validation.options"
1956
- ></ax-validation-rule>
1957
- } @if(clearButton()){
1958
- <ax-clear-button></ax-clear-button>
1959
- } @if(multiple()) {
1960
- <ax-suffix>
1961
- <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
1962
- <ax-icon class="far fa-trash"> </ax-icon>
1963
- </ax-button>
1964
- </ax-suffix>
1965
- }
1966
- </ax-datetime-box>
1967
- } @if(multiple()){
1968
- <ax-button
1969
- class="ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-11 ax-col-end-13"
1970
- [text]="!internalValue().length ? 'Add New' : 'Add Another'"
1971
- look="twotone"
1972
- (onClick)="addItem()"
1973
- [disabled]="disabled()"
1974
- ></ax-button>
1954
+ <ax-datetime-box
1955
+ class="ax-col-span-12"
1956
+ [ngModel]="datetime"
1957
+ (onValueChanged)="handleValueChange($event, $index)"
1958
+ [disabled]="disabled()"
1959
+ [format]="calendarFormat()"
1960
+ [placeholder]="placeholder()"
1961
+ >
1962
+ @for (validation of validationRules(); track $index) {
1963
+ <ax-validation-rule
1964
+ [rule]="validation.rule"
1965
+ [message]="validation.options?.message"
1966
+ [options]="validation.options"
1967
+ ></ax-validation-rule>
1968
+ }
1969
+ @if (clearButton()) {
1970
+ <ax-clear-button></ax-clear-button>
1971
+ }
1972
+ @if (multiple()) {
1973
+ <ax-suffix>
1974
+ <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
1975
+ <ax-icon class="far fa-trash"> </ax-icon>
1976
+ </ax-button>
1977
+ </ax-suffix>
1978
+ }
1979
+ </ax-datetime-box>
1980
+ }
1981
+ @if (multiple()) {
1982
+ <ax-button
1983
+ class="ax-col-start-9 lg:ax-col-start-10 xl:ax-col-start-11 ax-col-end-13"
1984
+ [text]="!internalValue().length ? 'Add New' : 'Add Another'"
1985
+ look="twotone"
1986
+ (onClick)="addItem()"
1987
+ [disabled]="disabled()"
1988
+ ></ax-button>
1975
1989
  }
1976
1990
  </div>
1977
1991
  `,
@@ -1986,7 +2000,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
1986
2000
  AXDecoratorModule,
1987
2001
  AXValidationModule,
1988
2002
  ],
1989
- inputs: []
2003
+ inputs: [],
1990
2004
  }]
1991
2005
  }], propDecorators: { __class: [{
1992
2006
  type: HostBinding,
@@ -2258,12 +2272,12 @@ class AXPEmailBoxWidgetEditComponent extends AXPValueWidgetComponent {
2258
2272
  constructor() {
2259
2273
  super(...arguments);
2260
2274
  this.validationService = inject(AXValidationService);
2261
- this.multiple = computed(() => this.options()["multiple"]);
2262
- this.disabled = computed(() => this.options()["disabled"]);
2263
- this.clearButton = computed(() => this.options()["clearButton"] ?? true);
2264
- this.placeholder = computed(() => this.options()["placeholder"]);
2265
- this.hasLabel = computed(() => this.options()["hasLabel"] ?? true);
2266
- this.lables = computed(() => this.options()["lables"] ?? ['Primary', 'Secondary']);
2275
+ this.multiple = computed(() => this.options()['multiple']);
2276
+ this.disabled = computed(() => this.options()['disabled']);
2277
+ this.clearButton = computed(() => this.options()['clearButton'] ?? true);
2278
+ this.placeholder = computed(() => this.options()['placeholder']);
2279
+ this.hasLabel = computed(() => this.options()['hasLabel'] ?? true);
2280
+ this.lables = computed(() => this.options()['lables'] ?? ['Primary', 'Secondary']);
2267
2281
  this.internalValue = computed(() => this.getValueAsArrayOfObjects());
2268
2282
  this.convertItem = (item, e) => {
2269
2283
  if (typeof item === 'object') {
@@ -2283,7 +2297,7 @@ class AXPEmailBoxWidgetEditComponent extends AXPValueWidgetComponent {
2283
2297
  }
2284
2298
  handleValueChange(e, selectedIndex) {
2285
2299
  if (e.isUserInteraction) {
2286
- const newValues = this.internalValue().map((item, index) => (selectedIndex === index ? this.convertItem(item, e) : item));
2300
+ const newValues = this.internalValue().map((item, index) => selectedIndex === index ? this.convertItem(item, e) : item);
2287
2301
  if (this.multiple()) {
2288
2302
  this.setValue(newValues);
2289
2303
  }
@@ -2294,7 +2308,7 @@ class AXPEmailBoxWidgetEditComponent extends AXPValueWidgetComponent {
2294
2308
  }
2295
2309
  handleLabelChange(e, selectedIndex) {
2296
2310
  if (e.isUserInteraction) {
2297
- const newValues = this.internalValue().map((item, index) => (selectedIndex === index ? { ...item, label: e.value } : item));
2311
+ const newValues = this.internalValue().map((item, index) => selectedIndex === index ? { ...item, label: e.value } : item);
2298
2312
  if (this.multiple()) {
2299
2313
  this.setValue(newValues);
2300
2314
  }
@@ -2320,10 +2334,8 @@ class AXPEmailBoxWidgetEditComponent extends AXPValueWidgetComponent {
2320
2334
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPEmailBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2321
2335
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXPEmailBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
2322
2336
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
2323
- @if(multiple())
2324
- {
2325
- @for(item of internalValue();track $index)
2326
- {
2337
+ @if (multiple()) {
2338
+ @for (item of internalValue(); track $index) {
2327
2339
  <ax-text-box
2328
2340
  [ngModel]="item.value"
2329
2341
  (onValueChanged)="handleValueChange($event, $index)"
@@ -2333,12 +2345,15 @@ class AXPEmailBoxWidgetEditComponent extends AXPValueWidgetComponent {
2333
2345
  [class.lg:!ax-col-end-12]="!hasLabel()"
2334
2346
  >
2335
2347
  @for (validation of validationRules(); track $index) {
2336
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
2348
+ <ax-validation-rule
2349
+ [rule]="validation.rule"
2350
+ [message]="validation.options?.message"
2351
+ [options]="validation.options"
2352
+ ></ax-validation-rule>
2337
2353
  }
2338
2354
  <ax-validation-rule [rule]="'email'"></ax-validation-rule>
2339
2355
  </ax-text-box>
2340
- @if(hasLabel())
2341
- {
2356
+ @if (hasLabel()) {
2342
2357
  <ax-select-box
2343
2358
  [dataSource]="lables()"
2344
2359
  [ngModel]="item.label"
@@ -2353,7 +2368,8 @@ class AXPEmailBoxWidgetEditComponent extends AXPValueWidgetComponent {
2353
2368
  color="danger"
2354
2369
  [disabled]="disabled()"
2355
2370
  (onClick)="deleteItem($index)"
2356
- class="ax-col-start-11 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end">
2371
+ class="ax-col-start-11 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end"
2372
+ >
2357
2373
  <ax-icon icon="fa-regular fa-xmark"></ax-icon>
2358
2374
  </ax-button>
2359
2375
  }
@@ -2362,14 +2378,13 @@ class AXPEmailBoxWidgetEditComponent extends AXPValueWidgetComponent {
2362
2378
  [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
2363
2379
  look="twotone"
2364
2380
  (onClick)="addItem()"
2365
- class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13">
2381
+ class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
2382
+ >
2366
2383
  <ax-prefix>
2367
2384
  <ax-icon class="fa-solid fa-add"></ax-icon>
2368
2385
  </ax-prefix>
2369
2386
  </ax-button>
2370
- }
2371
- @else
2372
- {
2387
+ } @else {
2373
2388
  <ax-text-box
2374
2389
  [ngModel]="internalValue()[0].value"
2375
2390
  (onValueChanged)="handleValueChange($event, 0)"
@@ -2377,12 +2392,17 @@ class AXPEmailBoxWidgetEditComponent extends AXPValueWidgetComponent {
2377
2392
  [disabled]="disabled()"
2378
2393
  type="text"
2379
2394
  class="ax-col-start-1 ax-col-end-13 lg:ax-col-end-8"
2380
- [class.lg:!ax-col-end-13]="!hasLabel()">
2395
+ [class.lg:!ax-col-end-13]="!hasLabel()"
2396
+ >
2381
2397
  @for (validation of validationRules(); track $index) {
2382
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
2398
+ <ax-validation-rule
2399
+ [rule]="validation.rule"
2400
+ [message]="validation.options?.message"
2401
+ [options]="validation.options"
2402
+ ></ax-validation-rule>
2383
2403
  }
2384
2404
  </ax-text-box>
2385
- @if(hasLabel()){
2405
+ @if (hasLabel()) {
2386
2406
  <ax-select-box
2387
2407
  [dataSource]="lables()"
2388
2408
  [disabled]="disabled()"
@@ -2401,10 +2421,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
2401
2421
  args: [{
2402
2422
  template: `
2403
2423
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
2404
- @if(multiple())
2405
- {
2406
- @for(item of internalValue();track $index)
2407
- {
2424
+ @if (multiple()) {
2425
+ @for (item of internalValue(); track $index) {
2408
2426
  <ax-text-box
2409
2427
  [ngModel]="item.value"
2410
2428
  (onValueChanged)="handleValueChange($event, $index)"
@@ -2414,12 +2432,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
2414
2432
  [class.lg:!ax-col-end-12]="!hasLabel()"
2415
2433
  >
2416
2434
  @for (validation of validationRules(); track $index) {
2417
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
2435
+ <ax-validation-rule
2436
+ [rule]="validation.rule"
2437
+ [message]="validation.options?.message"
2438
+ [options]="validation.options"
2439
+ ></ax-validation-rule>
2418
2440
  }
2419
2441
  <ax-validation-rule [rule]="'email'"></ax-validation-rule>
2420
2442
  </ax-text-box>
2421
- @if(hasLabel())
2422
- {
2443
+ @if (hasLabel()) {
2423
2444
  <ax-select-box
2424
2445
  [dataSource]="lables()"
2425
2446
  [ngModel]="item.label"
@@ -2434,7 +2455,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
2434
2455
  color="danger"
2435
2456
  [disabled]="disabled()"
2436
2457
  (onClick)="deleteItem($index)"
2437
- class="ax-col-start-11 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end">
2458
+ class="ax-col-start-11 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end"
2459
+ >
2438
2460
  <ax-icon icon="fa-regular fa-xmark"></ax-icon>
2439
2461
  </ax-button>
2440
2462
  }
@@ -2443,14 +2465,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
2443
2465
  [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
2444
2466
  look="twotone"
2445
2467
  (onClick)="addItem()"
2446
- class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13">
2468
+ class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
2469
+ >
2447
2470
  <ax-prefix>
2448
2471
  <ax-icon class="fa-solid fa-add"></ax-icon>
2449
2472
  </ax-prefix>
2450
2473
  </ax-button>
2451
- }
2452
- @else
2453
- {
2474
+ } @else {
2454
2475
  <ax-text-box
2455
2476
  [ngModel]="internalValue()[0].value"
2456
2477
  (onValueChanged)="handleValueChange($event, 0)"
@@ -2458,12 +2479,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
2458
2479
  [disabled]="disabled()"
2459
2480
  type="text"
2460
2481
  class="ax-col-start-1 ax-col-end-13 lg:ax-col-end-8"
2461
- [class.lg:!ax-col-end-13]="!hasLabel()">
2482
+ [class.lg:!ax-col-end-13]="!hasLabel()"
2483
+ >
2462
2484
  @for (validation of validationRules(); track $index) {
2463
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
2485
+ <ax-validation-rule
2486
+ [rule]="validation.rule"
2487
+ [message]="validation.options?.message"
2488
+ [options]="validation.options"
2489
+ ></ax-validation-rule>
2464
2490
  }
2465
2491
  </ax-text-box>
2466
- @if(hasLabel()){
2492
+ @if (hasLabel()) {
2467
2493
  <ax-select-box
2468
2494
  [dataSource]="lables()"
2469
2495
  [disabled]="disabled()"
@@ -2477,8 +2503,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
2477
2503
  </div>
2478
2504
  `,
2479
2505
  changeDetection: ChangeDetectionStrategy.OnPush,
2480
- imports: [CommonModule, FormsModule, AXFormModule, AXButtonModule, AXDecoratorModule, AXSelectBoxModule, AXTextBoxModule, AXValidationModule],
2481
- inputs: []
2506
+ imports: [
2507
+ CommonModule,
2508
+ FormsModule,
2509
+ AXFormModule,
2510
+ AXButtonModule,
2511
+ AXDecoratorModule,
2512
+ AXSelectBoxModule,
2513
+ AXTextBoxModule,
2514
+ AXValidationModule,
2515
+ ],
2516
+ inputs: [],
2482
2517
  }]
2483
2518
  }], propDecorators: { __class: [{
2484
2519
  type: HostBinding,
@@ -2786,28 +2821,29 @@ class AXPLargeTextWidgetEditComponent extends AXPValueWidgetComponent {
2786
2821
  (onValueChanged)="handleValueChange($event)"
2787
2822
  [placeholder]="placeholder()"
2788
2823
  >
2789
- @if(clearButton()){
2790
- <ax-clear-button></ax-clear-button>
2791
- }@for (validation of validationRules(); track $index) {
2792
- <ax-validation-rule
2793
- [rule]="validation.rule"
2794
- [message]="validation.options?.message"
2795
- [options]="validation.options"
2796
- ></ax-validation-rule>
2824
+ @if (clearButton()) {
2825
+ <ax-clear-button></ax-clear-button>
2826
+ }
2827
+ @for (validation of validationRules(); track $index) {
2828
+ <ax-validation-rule
2829
+ [rule]="validation.rule"
2830
+ [message]="validation.options?.message"
2831
+ [options]="validation.options"
2832
+ ></ax-validation-rule>
2797
2833
  }
2798
2834
  </ax-text-area>
2799
- @if(multiLanguage()){
2800
- <ax-button
2801
- [text]="'multi-language' | translate | async"
2802
- look="twotone"
2803
- class="ax-col-start-8 md:ax-col-start-9 2xl:ax-col-start-10 ax-col-end-13"
2804
- (onClick)="openMultiLanguagePopup()"
2805
- [disabled]="disabled()"
2806
- >
2807
- <ax-suffix>
2808
- <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
2809
- </ax-suffix>
2810
- </ax-button>
2835
+ @if (multiLanguage()) {
2836
+ <ax-button
2837
+ [text]="'multi-language' | translate | async"
2838
+ look="twotone"
2839
+ class="ax-col-start-8 md:ax-col-start-9 2xl:ax-col-start-10 ax-col-end-13"
2840
+ (onClick)="openMultiLanguagePopup()"
2841
+ [disabled]="disabled()"
2842
+ >
2843
+ <ax-suffix>
2844
+ <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
2845
+ </ax-suffix>
2846
+ </ax-button>
2811
2847
  }
2812
2848
  </div>
2813
2849
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i5$2.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -2825,28 +2861,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
2825
2861
  (onValueChanged)="handleValueChange($event)"
2826
2862
  [placeholder]="placeholder()"
2827
2863
  >
2828
- @if(clearButton()){
2829
- <ax-clear-button></ax-clear-button>
2830
- }@for (validation of validationRules(); track $index) {
2831
- <ax-validation-rule
2832
- [rule]="validation.rule"
2833
- [message]="validation.options?.message"
2834
- [options]="validation.options"
2835
- ></ax-validation-rule>
2864
+ @if (clearButton()) {
2865
+ <ax-clear-button></ax-clear-button>
2866
+ }
2867
+ @for (validation of validationRules(); track $index) {
2868
+ <ax-validation-rule
2869
+ [rule]="validation.rule"
2870
+ [message]="validation.options?.message"
2871
+ [options]="validation.options"
2872
+ ></ax-validation-rule>
2836
2873
  }
2837
2874
  </ax-text-area>
2838
- @if(multiLanguage()){
2839
- <ax-button
2840
- [text]="'multi-language' | translate | async"
2841
- look="twotone"
2842
- class="ax-col-start-8 md:ax-col-start-9 2xl:ax-col-start-10 ax-col-end-13"
2843
- (onClick)="openMultiLanguagePopup()"
2844
- [disabled]="disabled()"
2845
- >
2846
- <ax-suffix>
2847
- <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
2848
- </ax-suffix>
2849
- </ax-button>
2875
+ @if (multiLanguage()) {
2876
+ <ax-button
2877
+ [text]="'multi-language' | translate | async"
2878
+ look="twotone"
2879
+ class="ax-col-start-8 md:ax-col-start-9 2xl:ax-col-start-10 ax-col-end-13"
2880
+ (onClick)="openMultiLanguagePopup()"
2881
+ [disabled]="disabled()"
2882
+ >
2883
+ <ax-suffix>
2884
+ <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
2885
+ </ax-suffix>
2886
+ </ax-button>
2850
2887
  }
2851
2888
  </div>
2852
2889
  `,
@@ -3157,7 +3194,11 @@ class AXPLinkWidgetEditComponent extends AXPValueWidgetComponent {
3157
3194
  handleValueChange(e, selectedIndex) {
3158
3195
  const { name, value, isUserInteraction } = e;
3159
3196
  if (isUserInteraction) {
3160
- const newValues = this.internalValue().map((item, index) => selectedIndex === index ? (name === 'value' ? this.convertItem(item, e) : { ...item, [name]: value }) : item);
3197
+ const newValues = this.internalValue().map((item, index) => selectedIndex === index
3198
+ ? name === 'value'
3199
+ ? this.convertItem(item, e)
3200
+ : { ...item, [name]: value }
3201
+ : item);
3161
3202
  console.log(newValues);
3162
3203
  if (this.multiple())
3163
3204
  this.setValue(newValues);
@@ -3257,188 +3298,216 @@ class AXPLinkWidgetEditComponent extends AXPValueWidgetComponent {
3257
3298
  }
3258
3299
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPLinkWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3259
3300
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", 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">
3260
- @if(multiple()){ @for(item of internalValue();track $index) { @if(item){
3261
- <!-- TODO need to fix multiple -->
3262
- <ax-text-box
3263
- [ngModel]="item.value"
3264
- (onValueChanged)="handleValueChange($event, $index)"
3265
- type="text"
3266
- placeholder="Enter Link"
3267
- class="ax-col-start-1 ax-col-end-13"
3268
- [ngClass]="generateClasses('url', 'multiple')"
3269
- >
3270
- @for (validation of validationRules(); track $index) {
3271
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
3301
+ @if (multiple()) {
3302
+ @for (item of internalValue(); track $index) {
3303
+ @if (item) {
3304
+ <!-- TODO need to fix multiple -->
3305
+ <ax-text-box
3306
+ [ngModel]="item.value"
3307
+ (onValueChanged)="handleValueChange($event, $index)"
3308
+ type="text"
3309
+ placeholder="Enter Link"
3310
+ class="ax-col-start-1 ax-col-end-13"
3311
+ [ngClass]="generateClasses('url', 'multiple')"
3312
+ >
3313
+ @for (validation of validationRules(); track $index) {
3314
+ <ax-validation-rule
3315
+ [rule]="validation.rule"
3316
+ [message]="validation.options?.message"
3317
+ [options]="validation.options"
3318
+ ></ax-validation-rule>
3319
+ }
3320
+ </ax-text-box>
3321
+ @if (hasTitle()) {
3322
+ <ax-text-box
3323
+ [ngModel]="item.title"
3324
+ (onValueChanged)="handleValueChange($event, $index)"
3325
+ placeholder="Choose Title..."
3326
+ name="title"
3327
+ [ngClass]="generateClasses('title', 'multiple')"
3328
+ >
3329
+ </ax-text-box>
3330
+ }
3331
+ @if (hasLabel()) {
3332
+ <ax-select-box
3333
+ [dataSource]="labelTypes()"
3334
+ [ngModel]="item.label"
3335
+ (onValueChanged)="handleValueChange($event, $index)"
3336
+ placeholder="Choose Label..."
3337
+ name="label"
3338
+ [ngClass]="generateClasses('label', 'multiple')"
3339
+ >
3340
+ </ax-select-box>
3341
+ }
3342
+ }
3343
+ <ax-button
3344
+ look="twotone"
3345
+ color="danger"
3346
+ (onClick)="deleteItem($index)"
3347
+ class="ax-col-start-12 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end !ax-h-full"
3348
+ >
3349
+ <ax-icon icon="fa-regular fa-xmark"></ax-icon>
3350
+ </ax-button>
3272
3351
  }
3273
- </ax-text-box>
3274
- @if(hasTitle()){
3275
- <ax-text-box
3276
- [ngModel]="item.title"
3277
- (onValueChanged)="handleValueChange($event, $index)"
3278
- placeholder="Choose Title..."
3279
- name="title"
3280
- [ngClass]="generateClasses('title', 'multiple')"
3281
- >
3282
- </ax-text-box>
3283
- } @if(hasLabel()){
3284
- <ax-select-box
3285
- [dataSource]="labelTypes()"
3286
- [ngModel]="item.label"
3287
- (onValueChanged)="handleValueChange($event, $index)"
3288
- placeholder="Choose Label..."
3289
- name="label"
3290
- [ngClass]="generateClasses('label', 'multiple')"
3291
- >
3292
- </ax-select-box>
3293
- }}
3294
- <ax-button
3295
- look="twotone"
3296
- color="danger"
3297
- (onClick)="deleteItem($index)"
3298
- class="ax-col-start-12 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end !ax-h-full"
3299
- >
3300
- <ax-icon icon="fa-regular fa-xmark"></ax-icon>
3301
- </ax-button>
3302
- }
3303
- <ax-button
3304
- [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3305
- look="twotone"
3306
- (onClick)="addItem()"
3307
- class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3308
- >
3309
- <ax-prefix>
3310
- <ax-icon class="fa-solid fa-add"></ax-icon>
3311
- </ax-prefix>
3312
- </ax-button>
3313
- } @else{
3314
- <ax-text-box
3315
- [ngClass]="generateClasses('url', 'single')"
3316
- [ngModel]="internalValue()[0].value"
3317
- (onValueChanged)="handleValueChange($event, 0)"
3318
- type="text"
3319
- name="value"
3320
- placeholder="Link"
3321
- class="ax-col-start-1 ax-col-end-13"
3322
- >
3323
- @for (validation of validationRules(); track $index) {
3324
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
3352
+ <ax-button
3353
+ [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3354
+ look="twotone"
3355
+ (onClick)="addItem()"
3356
+ class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3357
+ >
3358
+ <ax-prefix>
3359
+ <ax-icon class="fa-solid fa-add"></ax-icon>
3360
+ </ax-prefix>
3361
+ </ax-button>
3362
+ } @else {
3363
+ <ax-text-box
3364
+ [ngClass]="generateClasses('url', 'single')"
3365
+ [ngModel]="internalValue()[0].value"
3366
+ (onValueChanged)="handleValueChange($event, 0)"
3367
+ type="text"
3368
+ name="value"
3369
+ placeholder="Link"
3370
+ class="ax-col-start-1 ax-col-end-13"
3371
+ >
3372
+ @for (validation of validationRules(); track $index) {
3373
+ <ax-validation-rule
3374
+ [rule]="validation.rule"
3375
+ [message]="validation.options?.message"
3376
+ [options]="validation.options"
3377
+ ></ax-validation-rule>
3378
+ }
3379
+ </ax-text-box>
3380
+ @if (hasTitle()) {
3381
+ <ax-text-box
3382
+ [ngClass]="generateClasses('title', 'single')"
3383
+ [ngModel]="internalValue()[0].title"
3384
+ (onValueChanged)="handleValueChange($event, 0)"
3385
+ type="text"
3386
+ name="title"
3387
+ placeholder="Title"
3388
+ >
3389
+ </ax-text-box>
3325
3390
  }
3326
- </ax-text-box>
3327
- @if(hasTitle()){
3328
- <ax-text-box
3329
- [ngClass]="generateClasses('title', 'single')"
3330
- [ngModel]="internalValue()[0].title"
3331
- (onValueChanged)="handleValueChange($event, 0)"
3332
- type="text"
3333
- name="title"
3334
- placeholder="Title"
3335
- >
3336
- </ax-text-box>
3337
- } @if(hasLabel()){
3338
- <ax-select-box
3339
- [ngClass]="generateClasses('label', 'single')"
3340
- [dataSource]="labelTypes()"
3341
- [ngModel]="internalValue()[0].label"
3342
- (onValueChanged)="handleValueChange($event, 0)"
3343
- name="label"
3344
- placeholder="Label"
3345
- >
3346
- </ax-select-box>
3347
- } }
3391
+ @if (hasLabel()) {
3392
+ <ax-select-box
3393
+ [ngClass]="generateClasses('label', 'single')"
3394
+ [dataSource]="labelTypes()"
3395
+ [ngModel]="internalValue()[0].label"
3396
+ (onValueChanged)="handleValueChange($event, 0)"
3397
+ name="label"
3398
+ placeholder="Label"
3399
+ >
3400
+ </ax-select-box>
3401
+ }
3402
+ }
3348
3403
  </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXValidationModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3349
3404
  }
3350
3405
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPLinkWidgetEditComponent, decorators: [{
3351
3406
  type: Component,
3352
3407
  args: [{
3353
3408
  template: `<div class="ax-grid ax-grid-cols-12 ax-gap-4">
3354
- @if(multiple()){ @for(item of internalValue();track $index) { @if(item){
3355
- <!-- TODO need to fix multiple -->
3356
- <ax-text-box
3357
- [ngModel]="item.value"
3358
- (onValueChanged)="handleValueChange($event, $index)"
3359
- type="text"
3360
- placeholder="Enter Link"
3361
- class="ax-col-start-1 ax-col-end-13"
3362
- [ngClass]="generateClasses('url', 'multiple')"
3363
- >
3364
- @for (validation of validationRules(); track $index) {
3365
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
3409
+ @if (multiple()) {
3410
+ @for (item of internalValue(); track $index) {
3411
+ @if (item) {
3412
+ <!-- TODO need to fix multiple -->
3413
+ <ax-text-box
3414
+ [ngModel]="item.value"
3415
+ (onValueChanged)="handleValueChange($event, $index)"
3416
+ type="text"
3417
+ placeholder="Enter Link"
3418
+ class="ax-col-start-1 ax-col-end-13"
3419
+ [ngClass]="generateClasses('url', 'multiple')"
3420
+ >
3421
+ @for (validation of validationRules(); track $index) {
3422
+ <ax-validation-rule
3423
+ [rule]="validation.rule"
3424
+ [message]="validation.options?.message"
3425
+ [options]="validation.options"
3426
+ ></ax-validation-rule>
3427
+ }
3428
+ </ax-text-box>
3429
+ @if (hasTitle()) {
3430
+ <ax-text-box
3431
+ [ngModel]="item.title"
3432
+ (onValueChanged)="handleValueChange($event, $index)"
3433
+ placeholder="Choose Title..."
3434
+ name="title"
3435
+ [ngClass]="generateClasses('title', 'multiple')"
3436
+ >
3437
+ </ax-text-box>
3438
+ }
3439
+ @if (hasLabel()) {
3440
+ <ax-select-box
3441
+ [dataSource]="labelTypes()"
3442
+ [ngModel]="item.label"
3443
+ (onValueChanged)="handleValueChange($event, $index)"
3444
+ placeholder="Choose Label..."
3445
+ name="label"
3446
+ [ngClass]="generateClasses('label', 'multiple')"
3447
+ >
3448
+ </ax-select-box>
3449
+ }
3450
+ }
3451
+ <ax-button
3452
+ look="twotone"
3453
+ color="danger"
3454
+ (onClick)="deleteItem($index)"
3455
+ class="ax-col-start-12 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end !ax-h-full"
3456
+ >
3457
+ <ax-icon icon="fa-regular fa-xmark"></ax-icon>
3458
+ </ax-button>
3366
3459
  }
3367
- </ax-text-box>
3368
- @if(hasTitle()){
3369
- <ax-text-box
3370
- [ngModel]="item.title"
3371
- (onValueChanged)="handleValueChange($event, $index)"
3372
- placeholder="Choose Title..."
3373
- name="title"
3374
- [ngClass]="generateClasses('title', 'multiple')"
3375
- >
3376
- </ax-text-box>
3377
- } @if(hasLabel()){
3378
- <ax-select-box
3379
- [dataSource]="labelTypes()"
3380
- [ngModel]="item.label"
3381
- (onValueChanged)="handleValueChange($event, $index)"
3382
- placeholder="Choose Label..."
3383
- name="label"
3384
- [ngClass]="generateClasses('label', 'multiple')"
3385
- >
3386
- </ax-select-box>
3387
- }}
3388
- <ax-button
3389
- look="twotone"
3390
- color="danger"
3391
- (onClick)="deleteItem($index)"
3392
- class="ax-col-start-12 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end !ax-h-full"
3393
- >
3394
- <ax-icon icon="fa-regular fa-xmark"></ax-icon>
3395
- </ax-button>
3396
- }
3397
- <ax-button
3398
- [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3399
- look="twotone"
3400
- (onClick)="addItem()"
3401
- class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3402
- >
3403
- <ax-prefix>
3404
- <ax-icon class="fa-solid fa-add"></ax-icon>
3405
- </ax-prefix>
3406
- </ax-button>
3407
- } @else{
3408
- <ax-text-box
3409
- [ngClass]="generateClasses('url', 'single')"
3410
- [ngModel]="internalValue()[0].value"
3411
- (onValueChanged)="handleValueChange($event, 0)"
3412
- type="text"
3413
- name="value"
3414
- placeholder="Link"
3415
- class="ax-col-start-1 ax-col-end-13"
3416
- >
3417
- @for (validation of validationRules(); track $index) {
3418
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
3460
+ <ax-button
3461
+ [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3462
+ look="twotone"
3463
+ (onClick)="addItem()"
3464
+ class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3465
+ >
3466
+ <ax-prefix>
3467
+ <ax-icon class="fa-solid fa-add"></ax-icon>
3468
+ </ax-prefix>
3469
+ </ax-button>
3470
+ } @else {
3471
+ <ax-text-box
3472
+ [ngClass]="generateClasses('url', 'single')"
3473
+ [ngModel]="internalValue()[0].value"
3474
+ (onValueChanged)="handleValueChange($event, 0)"
3475
+ type="text"
3476
+ name="value"
3477
+ placeholder="Link"
3478
+ class="ax-col-start-1 ax-col-end-13"
3479
+ >
3480
+ @for (validation of validationRules(); track $index) {
3481
+ <ax-validation-rule
3482
+ [rule]="validation.rule"
3483
+ [message]="validation.options?.message"
3484
+ [options]="validation.options"
3485
+ ></ax-validation-rule>
3486
+ }
3487
+ </ax-text-box>
3488
+ @if (hasTitle()) {
3489
+ <ax-text-box
3490
+ [ngClass]="generateClasses('title', 'single')"
3491
+ [ngModel]="internalValue()[0].title"
3492
+ (onValueChanged)="handleValueChange($event, 0)"
3493
+ type="text"
3494
+ name="title"
3495
+ placeholder="Title"
3496
+ >
3497
+ </ax-text-box>
3419
3498
  }
3420
- </ax-text-box>
3421
- @if(hasTitle()){
3422
- <ax-text-box
3423
- [ngClass]="generateClasses('title', 'single')"
3424
- [ngModel]="internalValue()[0].title"
3425
- (onValueChanged)="handleValueChange($event, 0)"
3426
- type="text"
3427
- name="title"
3428
- placeholder="Title"
3429
- >
3430
- </ax-text-box>
3431
- } @if(hasLabel()){
3432
- <ax-select-box
3433
- [ngClass]="generateClasses('label', 'single')"
3434
- [dataSource]="labelTypes()"
3435
- [ngModel]="internalValue()[0].label"
3436
- (onValueChanged)="handleValueChange($event, 0)"
3437
- name="label"
3438
- placeholder="Label"
3439
- >
3440
- </ax-select-box>
3441
- } }
3499
+ @if (hasLabel()) {
3500
+ <ax-select-box
3501
+ [ngClass]="generateClasses('label', 'single')"
3502
+ [dataSource]="labelTypes()"
3503
+ [ngModel]="internalValue()[0].label"
3504
+ (onValueChanged)="handleValueChange($event, 0)"
3505
+ name="label"
3506
+ placeholder="Label"
3507
+ >
3508
+ </ax-select-box>
3509
+ }
3510
+ }
3442
3511
  </div>`,
3443
3512
  changeDetection: ChangeDetectionStrategy.OnPush,
3444
3513
  imports: [
@@ -3451,7 +3520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
3451
3520
  AXSelectBoxModule,
3452
3521
  AXTextBoxModule,
3453
3522
  AXValidationModule,
3454
- ]
3523
+ ],
3455
3524
  }]
3456
3525
  }], propDecorators: { __class: [{
3457
3526
  type: HostBinding,
@@ -3638,43 +3707,49 @@ class AXPNumberBoxWidgetEditComponent extends AXPValueWidgetComponent {
3638
3707
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPNumberBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3639
3708
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXPNumberBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
3640
3709
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
3641
- @for(number of internalValue(); track $index){
3642
- <ax-number-box
3643
- class="ax-col-span-12"
3644
- [minValue]="minValue()"
3645
- [maxValue]="maxValue()"
3646
- [decimals]="decimals()"
3647
- [thousandsSeparator]="seprator()"
3648
- [placeholder]="placeholder()"
3649
- [ngModel]="number"
3650
- (onValueChanged)="handleValueChange($event, $index)"
3651
- [disabled]="disabled()"
3652
- >
3653
- @for (validation of validationRules(); track $index) {
3654
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
3655
- }
3656
- @if(clearButton()) {
3657
- <ax-clear-button></ax-clear-button>
3658
- } @if(multiple()){
3659
- <ax-suffix>
3660
- <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
3661
- <ax-icon class="far fa-trash"> </ax-icon>
3662
- </ax-button>
3663
- </ax-suffix>
3664
- }
3665
- </ax-number-box>
3666
- } @if(multiple()) {
3667
- <ax-button
3668
- [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3669
- [disabled]="disabled()"
3670
- look="twotone"
3671
- (onClick)="addItem()"
3672
- class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3673
- >
3674
- <ax-prefix>
3675
- <ax-icon class="fa-solid fa-add"></ax-icon>
3676
- </ax-prefix>
3677
- </ax-button>
3710
+ @for (number of internalValue(); track $index) {
3711
+ <ax-number-box
3712
+ class="ax-col-span-12"
3713
+ [minValue]="minValue()"
3714
+ [maxValue]="maxValue()"
3715
+ [decimals]="decimals()"
3716
+ [thousandsSeparator]="seprator()"
3717
+ [placeholder]="placeholder()"
3718
+ [ngModel]="number"
3719
+ (onValueChanged)="handleValueChange($event, $index)"
3720
+ [disabled]="disabled()"
3721
+ >
3722
+ @for (validation of validationRules(); track $index) {
3723
+ <ax-validation-rule
3724
+ [rule]="validation.rule"
3725
+ [message]="validation.options?.message"
3726
+ [options]="validation.options"
3727
+ ></ax-validation-rule>
3728
+ }
3729
+ @if (clearButton()) {
3730
+ <ax-clear-button></ax-clear-button>
3731
+ }
3732
+ @if (multiple()) {
3733
+ <ax-suffix>
3734
+ <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
3735
+ <ax-icon class="far fa-trash"> </ax-icon>
3736
+ </ax-button>
3737
+ </ax-suffix>
3738
+ }
3739
+ </ax-number-box>
3740
+ }
3741
+ @if (multiple()) {
3742
+ <ax-button
3743
+ [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3744
+ [disabled]="disabled()"
3745
+ look="twotone"
3746
+ (onClick)="addItem()"
3747
+ class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3748
+ >
3749
+ <ax-prefix>
3750
+ <ax-icon class="fa-solid fa-add"></ax-icon>
3751
+ </ax-prefix>
3752
+ </ax-button>
3678
3753
  }
3679
3754
  </div>
3680
3755
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$4.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "type", "changeOnScroll", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -3684,48 +3759,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
3684
3759
  args: [{
3685
3760
  template: `
3686
3761
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
3687
- @for(number of internalValue(); track $index){
3688
- <ax-number-box
3689
- class="ax-col-span-12"
3690
- [minValue]="minValue()"
3691
- [maxValue]="maxValue()"
3692
- [decimals]="decimals()"
3693
- [thousandsSeparator]="seprator()"
3694
- [placeholder]="placeholder()"
3695
- [ngModel]="number"
3696
- (onValueChanged)="handleValueChange($event, $index)"
3697
- [disabled]="disabled()"
3698
- >
3699
- @for (validation of validationRules(); track $index) {
3700
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
3701
- }
3702
- @if(clearButton()) {
3703
- <ax-clear-button></ax-clear-button>
3704
- } @if(multiple()){
3705
- <ax-suffix>
3706
- <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
3707
- <ax-icon class="far fa-trash"> </ax-icon>
3708
- </ax-button>
3709
- </ax-suffix>
3710
- }
3711
- </ax-number-box>
3712
- } @if(multiple()) {
3713
- <ax-button
3714
- [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3715
- [disabled]="disabled()"
3716
- look="twotone"
3717
- (onClick)="addItem()"
3718
- class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3719
- >
3720
- <ax-prefix>
3721
- <ax-icon class="fa-solid fa-add"></ax-icon>
3722
- </ax-prefix>
3723
- </ax-button>
3762
+ @for (number of internalValue(); track $index) {
3763
+ <ax-number-box
3764
+ class="ax-col-span-12"
3765
+ [minValue]="minValue()"
3766
+ [maxValue]="maxValue()"
3767
+ [decimals]="decimals()"
3768
+ [thousandsSeparator]="seprator()"
3769
+ [placeholder]="placeholder()"
3770
+ [ngModel]="number"
3771
+ (onValueChanged)="handleValueChange($event, $index)"
3772
+ [disabled]="disabled()"
3773
+ >
3774
+ @for (validation of validationRules(); track $index) {
3775
+ <ax-validation-rule
3776
+ [rule]="validation.rule"
3777
+ [message]="validation.options?.message"
3778
+ [options]="validation.options"
3779
+ ></ax-validation-rule>
3780
+ }
3781
+ @if (clearButton()) {
3782
+ <ax-clear-button></ax-clear-button>
3783
+ }
3784
+ @if (multiple()) {
3785
+ <ax-suffix>
3786
+ <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
3787
+ <ax-icon class="far fa-trash"> </ax-icon>
3788
+ </ax-button>
3789
+ </ax-suffix>
3790
+ }
3791
+ </ax-number-box>
3792
+ }
3793
+ @if (multiple()) {
3794
+ <ax-button
3795
+ [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
3796
+ [disabled]="disabled()"
3797
+ look="twotone"
3798
+ (onClick)="addItem()"
3799
+ class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
3800
+ >
3801
+ <ax-prefix>
3802
+ <ax-icon class="fa-solid fa-add"></ax-icon>
3803
+ </ax-prefix>
3804
+ </ax-button>
3724
3805
  }
3725
3806
  </div>
3726
3807
  `,
3727
3808
  changeDetection: ChangeDetectionStrategy.OnPush,
3728
- imports: [CommonModule, AXNumberBoxModule, FormsModule, AXDecoratorModule, AXFormModule, AXButtonModule]
3809
+ imports: [CommonModule, AXNumberBoxModule, FormsModule, AXDecoratorModule, AXFormModule, AXButtonModule],
3729
3810
  }]
3730
3811
  }], propDecorators: { __class: [{
3731
3812
  type: HostBinding,
@@ -4267,7 +4348,7 @@ class AXPPhoneBoxWidgetEditComponent extends AXPValueWidgetComponent {
4267
4348
  }
4268
4349
  handleValueChange(e, selectedIndex) {
4269
4350
  if (e.isUserInteraction) {
4270
- const newValues = this.internalValue().map((item, index) => (selectedIndex === index ? { ...item, value: e.value } : item));
4351
+ const newValues = this.internalValue().map((item, index) => selectedIndex === index ? { ...item, value: e.value } : item);
4271
4352
  if (this.multiple())
4272
4353
  this.setValue(newValues);
4273
4354
  else if (this.hasLabel())
@@ -4278,7 +4359,7 @@ class AXPPhoneBoxWidgetEditComponent extends AXPValueWidgetComponent {
4278
4359
  }
4279
4360
  handleLabelChange(e, selectedIndex) {
4280
4361
  if (e.isUserInteraction) {
4281
- const newValues = this.internalValue().map((item, index) => (selectedIndex === index ? { ...item, label: e.value } : item));
4362
+ const newValues = this.internalValue().map((item, index) => selectedIndex === index ? { ...item, label: e.value } : item);
4282
4363
  if (this.multiple())
4283
4364
  this.setValue(newValues);
4284
4365
  else
@@ -4303,35 +4384,39 @@ class AXPPhoneBoxWidgetEditComponent extends AXPValueWidgetComponent {
4303
4384
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXPPhoneBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
4304
4385
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
4305
4386
  <ng-container *ngIf="multiple()">
4306
- @for(item of internalValue();track $index) {
4307
- <ax-text-box
4308
- [ngModel]="item.value"
4309
- (onValueChanged)="handleValueChange($event, $index)"
4310
- type="text"
4311
- class="ax-col-start-1 ax-col-end-13 lg:ax-col-end-8"
4312
- [class.lg:!ax-col-end-12]="!hasLabel()"
4313
- >
4314
- @for (validation of validationRules(); track $index) {
4315
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
4387
+ @for (item of internalValue(); track $index) {
4388
+ <ax-text-box
4389
+ [ngModel]="item.value"
4390
+ (onValueChanged)="handleValueChange($event, $index)"
4391
+ type="text"
4392
+ class="ax-col-start-1 ax-col-end-13 lg:ax-col-end-8"
4393
+ [class.lg:!ax-col-end-12]="!hasLabel()"
4394
+ >
4395
+ @for (validation of validationRules(); track $index) {
4396
+ <ax-validation-rule
4397
+ [rule]="validation.rule"
4398
+ [message]="validation.options?.message"
4399
+ [options]="validation.options"
4400
+ ></ax-validation-rule>
4401
+ }
4402
+ </ax-text-box>
4403
+ @if (hasLabel()) {
4404
+ <ax-select-box
4405
+ [dataSource]="phoneLabels()"
4406
+ [ngModel]="item.label"
4407
+ (onValueChanged)="handleLabelChange($event, $index)"
4408
+ class="ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-12"
4409
+ >
4410
+ </ax-select-box>
4316
4411
  }
4317
- </ax-text-box>
4318
- @if(hasLabel()){
4319
- <ax-select-box
4320
- [dataSource]="phoneLabels()"
4321
- [ngModel]="item.label"
4322
- (onValueChanged)="handleLabelChange($event, $index)"
4323
- class="ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-12"
4324
- >
4325
- </ax-select-box>
4326
- }
4327
- <ax-button
4328
- look="twotone"
4329
- color="danger"
4330
- (onClick)="deleteItem($index)"
4331
- class="ax-col-start-11 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end"
4332
- >
4333
- <ax-icon icon="fa-regular fa-xmark"></ax-icon>
4334
- </ax-button>
4412
+ <ax-button
4413
+ look="twotone"
4414
+ color="danger"
4415
+ (onClick)="deleteItem($index)"
4416
+ class="ax-col-start-11 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end"
4417
+ >
4418
+ <ax-icon icon="fa-regular fa-xmark"></ax-icon>
4419
+ </ax-button>
4335
4420
  }
4336
4421
  </ng-container>
4337
4422
  <ng-container *ngIf="!multiple()">
@@ -4343,17 +4428,21 @@ class AXPPhoneBoxWidgetEditComponent extends AXPValueWidgetComponent {
4343
4428
  [class.lg:!ax-col-end-13]="!hasLabel"
4344
4429
  >
4345
4430
  @for (validation of validationRules(); track $index) {
4346
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
4431
+ <ax-validation-rule
4432
+ [rule]="validation.rule"
4433
+ [message]="validation.options?.message"
4434
+ [options]="validation.options"
4435
+ ></ax-validation-rule>
4347
4436
  }
4348
4437
  </ax-text-box>
4349
- @if(hasLabel()){
4350
- <ax-select-box
4351
- [dataSource]="phoneLabels()"
4352
- [ngModel]="internalValue()[0].label"
4353
- (onValueChanged)="handleLabelChange($event, 0)"
4354
- class="ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-13"
4355
- >
4356
- </ax-select-box>
4438
+ @if (hasLabel()) {
4439
+ <ax-select-box
4440
+ [dataSource]="phoneLabels()"
4441
+ [ngModel]="internalValue()[0].label"
4442
+ (onValueChanged)="handleLabelChange($event, 0)"
4443
+ class="ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-13"
4444
+ >
4445
+ </ax-select-box>
4357
4446
  }
4358
4447
  </ng-container>
4359
4448
  <ax-button
@@ -4376,35 +4465,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
4376
4465
  template: `
4377
4466
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
4378
4467
  <ng-container *ngIf="multiple()">
4379
- @for(item of internalValue();track $index) {
4380
- <ax-text-box
4381
- [ngModel]="item.value"
4382
- (onValueChanged)="handleValueChange($event, $index)"
4383
- type="text"
4384
- class="ax-col-start-1 ax-col-end-13 lg:ax-col-end-8"
4385
- [class.lg:!ax-col-end-12]="!hasLabel()"
4386
- >
4387
- @for (validation of validationRules(); track $index) {
4388
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
4468
+ @for (item of internalValue(); track $index) {
4469
+ <ax-text-box
4470
+ [ngModel]="item.value"
4471
+ (onValueChanged)="handleValueChange($event, $index)"
4472
+ type="text"
4473
+ class="ax-col-start-1 ax-col-end-13 lg:ax-col-end-8"
4474
+ [class.lg:!ax-col-end-12]="!hasLabel()"
4475
+ >
4476
+ @for (validation of validationRules(); track $index) {
4477
+ <ax-validation-rule
4478
+ [rule]="validation.rule"
4479
+ [message]="validation.options?.message"
4480
+ [options]="validation.options"
4481
+ ></ax-validation-rule>
4482
+ }
4483
+ </ax-text-box>
4484
+ @if (hasLabel()) {
4485
+ <ax-select-box
4486
+ [dataSource]="phoneLabels()"
4487
+ [ngModel]="item.label"
4488
+ (onValueChanged)="handleLabelChange($event, $index)"
4489
+ class="ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-12"
4490
+ >
4491
+ </ax-select-box>
4389
4492
  }
4390
- </ax-text-box>
4391
- @if(hasLabel()){
4392
- <ax-select-box
4393
- [dataSource]="phoneLabels()"
4394
- [ngModel]="item.label"
4395
- (onValueChanged)="handleLabelChange($event, $index)"
4396
- class="ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-12"
4397
- >
4398
- </ax-select-box>
4399
- }
4400
- <ax-button
4401
- look="twotone"
4402
- color="danger"
4403
- (onClick)="deleteItem($index)"
4404
- class="ax-col-start-11 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end"
4405
- >
4406
- <ax-icon icon="fa-regular fa-xmark"></ax-icon>
4407
- </ax-button>
4493
+ <ax-button
4494
+ look="twotone"
4495
+ color="danger"
4496
+ (onClick)="deleteItem($index)"
4497
+ class="ax-col-start-11 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end"
4498
+ >
4499
+ <ax-icon icon="fa-regular fa-xmark"></ax-icon>
4500
+ </ax-button>
4408
4501
  }
4409
4502
  </ng-container>
4410
4503
  <ng-container *ngIf="!multiple()">
@@ -4416,17 +4509,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
4416
4509
  [class.lg:!ax-col-end-13]="!hasLabel"
4417
4510
  >
4418
4511
  @for (validation of validationRules(); track $index) {
4419
- <ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
4512
+ <ax-validation-rule
4513
+ [rule]="validation.rule"
4514
+ [message]="validation.options?.message"
4515
+ [options]="validation.options"
4516
+ ></ax-validation-rule>
4420
4517
  }
4421
4518
  </ax-text-box>
4422
- @if(hasLabel()){
4423
- <ax-select-box
4424
- [dataSource]="phoneLabels()"
4425
- [ngModel]="internalValue()[0].label"
4426
- (onValueChanged)="handleLabelChange($event, 0)"
4427
- class="ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-13"
4428
- >
4429
- </ax-select-box>
4519
+ @if (hasLabel()) {
4520
+ <ax-select-box
4521
+ [dataSource]="phoneLabels()"
4522
+ [ngModel]="internalValue()[0].label"
4523
+ (onValueChanged)="handleLabelChange($event, 0)"
4524
+ class="ax-col-start-1 ax-col-end-11 lg:ax-col-start-8 lg:ax-col-end-13"
4525
+ >
4526
+ </ax-select-box>
4430
4527
  }
4431
4528
  </ng-container>
4432
4529
  <ax-button
@@ -4443,8 +4540,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
4443
4540
  </div>
4444
4541
  `,
4445
4542
  changeDetection: ChangeDetectionStrategy.OnPush,
4446
- imports: [CommonModule, FormsModule, AXFormModule, AXButtonModule, AXDecoratorModule, AXSelectBoxModule, AXTextBoxModule, AXValidationModule],
4447
- inputs: []
4543
+ imports: [
4544
+ CommonModule,
4545
+ FormsModule,
4546
+ AXFormModule,
4547
+ AXButtonModule,
4548
+ AXDecoratorModule,
4549
+ AXSelectBoxModule,
4550
+ AXTextBoxModule,
4551
+ AXValidationModule,
4552
+ ],
4553
+ inputs: [],
4448
4554
  }]
4449
4555
  }], propDecorators: { __class: [{
4450
4556
  type: HostBinding,
@@ -4726,22 +4832,22 @@ class AXPRichTextWidgetEditComponent extends AXPValueWidgetComponent {
4726
4832
  <ax-wysiwyg-list></ax-wysiwyg-list>
4727
4833
  <ax-wysiwyg-alignment></ax-wysiwyg-alignment>
4728
4834
  </ax-prefix>
4729
- @if(multiLanguage()){
4730
- <ax-suffix>
4731
- <ax-button (onClick)="openMultiLanguagePopup()" [disabled]="disabled()">
4732
- <ax-prefix>
4733
- <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
4734
- </ax-prefix>
4735
- </ax-button>
4736
- </ax-suffix>
4835
+ @if (multiLanguage()) {
4836
+ <ax-suffix>
4837
+ <ax-button (onClick)="openMultiLanguagePopup()" [disabled]="disabled()">
4838
+ <ax-prefix>
4839
+ <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
4840
+ </ax-prefix>
4841
+ </ax-button>
4842
+ </ax-suffix>
4737
4843
  }
4738
4844
  </ax-toolbar>
4739
4845
  @for (validation of validationRules(); track $index) {
4740
- <ax-validation-rule
4741
- [rule]="validation.rule"
4742
- [message]="validation.options?.message"
4743
- [options]="validation.options"
4744
- ></ax-validation-rule>
4846
+ <ax-validation-rule
4847
+ [rule]="validation.rule"
4848
+ [message]="validation.options?.message"
4849
+ [options]="validation.options"
4850
+ ></ax-validation-rule>
4745
4851
  }
4746
4852
  </ax-wysiwyg-container>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i2$3.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: ["look", "placeHolder"], outputs: ["onValueChanged"] }, { kind: "component", type: i2$3.AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: ["class"] }, { kind: "component", type: i2$3.AXWysiwygAlignmentComponent, selector: "ax-wysiwyg-alignment" }, { kind: "component", type: i2$3.AXWysiwygColorsComponent, selector: "ax-wysiwyg-colors" }, { kind: "component", type: i2$3.AXWysiwygFontStyleComponent, selector: "ax-wysiwyg-font-style" }, { kind: "component", type: i2$3.AXWysiwygHistoryComponent, selector: "ax-wysiwyg-history" }, { kind: "component", type: i2$3.AXWysiwygInsertComponent, selector: "ax-wysiwyg-insert" }, { kind: "component", type: i2$3.AXWysiwygListComponent, selector: "ax-wysiwyg-list" }, { kind: "ngmodule", type: AXToolBarModule }, { kind: "component", type: i3$4.AXToolBarComponent, selector: "ax-toolbar" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
4747
4853
  }
@@ -4770,22 +4876,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
4770
4876
  <ax-wysiwyg-list></ax-wysiwyg-list>
4771
4877
  <ax-wysiwyg-alignment></ax-wysiwyg-alignment>
4772
4878
  </ax-prefix>
4773
- @if(multiLanguage()){
4774
- <ax-suffix>
4775
- <ax-button (onClick)="openMultiLanguagePopup()" [disabled]="disabled()">
4776
- <ax-prefix>
4777
- <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
4778
- </ax-prefix>
4779
- </ax-button>
4780
- </ax-suffix>
4879
+ @if (multiLanguage()) {
4880
+ <ax-suffix>
4881
+ <ax-button (onClick)="openMultiLanguagePopup()" [disabled]="disabled()">
4882
+ <ax-prefix>
4883
+ <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
4884
+ </ax-prefix>
4885
+ </ax-button>
4886
+ </ax-suffix>
4781
4887
  }
4782
4888
  </ax-toolbar>
4783
4889
  @for (validation of validationRules(); track $index) {
4784
- <ax-validation-rule
4785
- [rule]="validation.rule"
4786
- [message]="validation.options?.message"
4787
- [options]="validation.options"
4788
- ></ax-validation-rule>
4890
+ <ax-validation-rule
4891
+ [rule]="validation.rule"
4892
+ [message]="validation.options?.message"
4893
+ [options]="validation.options"
4894
+ ></ax-validation-rule>
4789
4895
  }
4790
4896
  </ax-wysiwyg-container>`,
4791
4897
  encapsulation: ViewEncapsulation.None,
@@ -5062,17 +5168,19 @@ class AXPSelectBoxWidgetEditComponent extends AXPDataListWidgetComponent {
5062
5168
  [multiple]="multiple()"
5063
5169
  (onValueChanged)="handleValueChange($event)"
5064
5170
  >
5065
- @if(allowSearch()) {
5066
- <ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
5067
- } @if(hasClearButton()) {
5068
- <ax-clear-button></ax-clear-button>
5069
- } @for (validation of validationRules(); track $index) {
5171
+ @if (allowSearch()) {
5172
+ <ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
5173
+ }
5174
+ @if (hasClearButton()) {
5175
+ <ax-clear-button></ax-clear-button>
5176
+ }
5177
+ @for (validation of validationRules(); track $index) {
5070
5178
  <ax-validation-rule
5071
5179
  [rule]="validation.rule"
5072
5180
  [message]="validation.options?.message"
5073
5181
  [options]="validation.options"
5074
5182
  ></ax-validation-rule>
5075
- }
5183
+ }
5076
5184
  </ax-select-box>
5077
5185
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i5$3.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5078
5186
  }
@@ -5092,17 +5200,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
5092
5200
  [multiple]="multiple()"
5093
5201
  (onValueChanged)="handleValueChange($event)"
5094
5202
  >
5095
- @if(allowSearch()) {
5096
- <ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
5097
- } @if(hasClearButton()) {
5098
- <ax-clear-button></ax-clear-button>
5099
- } @for (validation of validationRules(); track $index) {
5203
+ @if (allowSearch()) {
5204
+ <ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
5205
+ }
5206
+ @if (hasClearButton()) {
5207
+ <ax-clear-button></ax-clear-button>
5208
+ }
5209
+ @for (validation of validationRules(); track $index) {
5100
5210
  <ax-validation-rule
5101
5211
  [rule]="validation.rule"
5102
5212
  [message]="validation.options?.message"
5103
5213
  [options]="validation.options"
5104
5214
  ></ax-validation-rule>
5105
- }
5215
+ }
5106
5216
  </ax-select-box>
5107
5217
  `,
5108
5218
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -5381,7 +5491,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
5381
5491
  `,
5382
5492
  changeDetection: ChangeDetectionStrategy.OnPush,
5383
5493
  imports: [CommonModule, FormsModule, AXSelectionListModule, AXFormModule],
5384
- inputs: []
5494
+ inputs: [],
5385
5495
  }]
5386
5496
  }], propDecorators: { __class: [{
5387
5497
  type: HostBinding,
@@ -5436,11 +5546,11 @@ class AXPSelectionListWidgetEditComponent extends AXPDataListWidgetComponent {
5436
5546
  [direction]="direction()"
5437
5547
  >
5438
5548
  @for (validation of validationRules(); track $index) {
5439
- <ax-validation-rule
5440
- [rule]="validation.rule"
5441
- [message]="validation.options?.message"
5442
- [options]="validation.options"
5443
- ></ax-validation-rule>
5549
+ <ax-validation-rule
5550
+ [rule]="validation.rule"
5551
+ [message]="validation.options?.message"
5552
+ [options]="validation.options"
5553
+ ></ax-validation-rule>
5444
5554
  }
5445
5555
  </ax-selection-list>
5446
5556
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectionListModule }, { kind: "component", type: i2$4.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["id", "name", "disabled", "readonly", "tabIndex", "size", "value", "valueField", "textField", "disabledField", "readonlyField", "multiple", "direction", "customTemplate", "showControl", "items", "look"], outputs: ["onValueChanged", "onBlur", "onFocus"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -5463,16 +5573,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
5463
5573
  [direction]="direction()"
5464
5574
  >
5465
5575
  @for (validation of validationRules(); track $index) {
5466
- <ax-validation-rule
5467
- [rule]="validation.rule"
5468
- [message]="validation.options?.message"
5469
- [options]="validation.options"
5470
- ></ax-validation-rule>
5576
+ <ax-validation-rule
5577
+ [rule]="validation.rule"
5578
+ [message]="validation.options?.message"
5579
+ [options]="validation.options"
5580
+ ></ax-validation-rule>
5471
5581
  }
5472
5582
  </ax-selection-list>
5473
5583
  `,
5474
5584
  changeDetection: ChangeDetectionStrategy.OnPush,
5475
- imports: [CommonModule, FormsModule, AXSelectionListModule, AXFormModule]
5585
+ imports: [CommonModule, FormsModule, AXSelectionListModule, AXFormModule],
5476
5586
  }]
5477
5587
  }], propDecorators: { __class: [{
5478
5588
  type: HostBinding,
@@ -6399,69 +6509,73 @@ class AXPTextBoxWidgetEditComponent extends AXPValueWidgetComponent {
6399
6509
  })
6400
6510
  .then((res) => {
6401
6511
  if (res.data) {
6402
- this.translatedValues = res.data;
6403
- this.internalValue()[0] = this.translatedValues[this.currentLanguage];
6404
- }
6405
- console.log(res.data);
6406
- });
6407
- }
6408
- getCurrentLanguage() {
6409
- this.currentLanguage = this.translationService.getActiveLang();
6410
- }
6411
- get __class() {
6412
- const cls = {};
6413
- cls[`ax-block`] = true;
6414
- cls[`ax-flex-1`] = true;
6415
- return cls;
6416
- }
6417
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPTextBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6418
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXPTextBoxWidgetEditComponent, isStandalone: true, selector: "axp-text-box-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
6419
- <div class="ax-grid ax-grid-cols-12 ax-gap-4">
6420
- @for (text of internalValue(); track $index) {
6421
- <ax-text-box
6422
- class="ax-col-span-12"
6423
- [ngModel]="text"
6424
- [type]="'text'"
6425
- (onValueChanged)="handleValueChange($event, $index)"
6426
- [disabled]="disabled()"
6427
- [placeholder]="placeholder()"
6428
- >
6429
- @for (validation of validationRules(); track $index) {
6430
- <ax-validation-rule
6431
- [rule]="validation.rule"
6432
- [message]="validation.options?.message"
6433
- [options]="validation.options"
6434
- ></ax-validation-rule>
6435
- } @if(hasClearButton()){
6436
- <ax-clear-button></ax-clear-button>
6437
- } @if(multiLanguage()){
6438
- <ax-suffix>
6439
- <ax-button (onClick)="openMultiLanguagePopup()" [disabled]="disabled()">
6440
- <ax-prefix>
6441
- <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
6442
- </ax-prefix>
6443
- </ax-button>
6444
- </ax-suffix>
6445
- }@if(multiple()){
6446
- <ax-suffix>
6447
- <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
6448
- <ax-icon class="far fa-trash"> </ax-icon>
6449
- </ax-button>
6450
- </ax-suffix>
6451
- }
6452
- </ax-text-box>
6453
- }@if(multiple()){
6454
- <ax-button
6455
- [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
6456
- look="twotone"
6457
- [disabled]="disabled()"
6458
- (onClick)="addItem()"
6459
- class="ax-col-start-8 md:ax-col-start-9 2xl:ax-col-start-10 ax-col-end-13"
6460
- >
6461
- <ax-prefix>
6462
- <ax-icon class="fa-solid fa-add"></ax-icon>
6463
- </ax-prefix>
6464
- </ax-button>
6512
+ this.translatedValues = res.data;
6513
+ this.internalValue()[0] = this.translatedValues[this.currentLanguage];
6514
+ }
6515
+ console.log(res.data);
6516
+ });
6517
+ }
6518
+ getCurrentLanguage() {
6519
+ this.currentLanguage = this.translationService.getActiveLang();
6520
+ }
6521
+ get __class() {
6522
+ const cls = {};
6523
+ cls[`ax-block`] = true;
6524
+ cls[`ax-flex-1`] = true;
6525
+ return cls;
6526
+ }
6527
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPTextBoxWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6528
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXPTextBoxWidgetEditComponent, isStandalone: true, selector: "axp-text-box-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
6529
+ <div class="ax-grid ax-grid-cols-12 ax-gap-4">
6530
+ @for (text of internalValue(); track $index) {
6531
+ <ax-text-box
6532
+ class="ax-col-span-12"
6533
+ [ngModel]="text"
6534
+ [type]="'text'"
6535
+ (onValueChanged)="handleValueChange($event, $index)"
6536
+ [disabled]="disabled()"
6537
+ [placeholder]="placeholder()"
6538
+ >
6539
+ @for (validation of validationRules(); track $index) {
6540
+ <ax-validation-rule
6541
+ [rule]="validation.rule"
6542
+ [message]="validation.options?.message"
6543
+ [options]="validation.options"
6544
+ ></ax-validation-rule>
6545
+ }
6546
+ @if (hasClearButton()) {
6547
+ <ax-clear-button></ax-clear-button>
6548
+ }
6549
+ @if (multiLanguage()) {
6550
+ <ax-suffix>
6551
+ <ax-button (onClick)="openMultiLanguagePopup()" [disabled]="disabled()">
6552
+ <ax-prefix>
6553
+ <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
6554
+ </ax-prefix>
6555
+ </ax-button>
6556
+ </ax-suffix>
6557
+ }
6558
+ @if (multiple()) {
6559
+ <ax-suffix>
6560
+ <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
6561
+ <ax-icon class="far fa-trash"> </ax-icon>
6562
+ </ax-button>
6563
+ </ax-suffix>
6564
+ }
6565
+ </ax-text-box>
6566
+ }
6567
+ @if (multiple()) {
6568
+ <ax-button
6569
+ [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
6570
+ look="twotone"
6571
+ [disabled]="disabled()"
6572
+ (onClick)="addItem()"
6573
+ class="ax-col-start-8 md:ax-col-start-9 2xl:ax-col-start-10 ax-col-end-13"
6574
+ >
6575
+ <ax-prefix>
6576
+ <ax-icon class="fa-solid fa-add"></ax-icon>
6577
+ </ax-prefix>
6578
+ </ax-button>
6465
6579
  }
6466
6580
  </div>
6467
6581
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -6473,50 +6587,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
6473
6587
  template: `
6474
6588
  <div class="ax-grid ax-grid-cols-12 ax-gap-4">
6475
6589
  @for (text of internalValue(); track $index) {
6476
- <ax-text-box
6477
- class="ax-col-span-12"
6478
- [ngModel]="text"
6479
- [type]="'text'"
6480
- (onValueChanged)="handleValueChange($event, $index)"
6481
- [disabled]="disabled()"
6482
- [placeholder]="placeholder()"
6483
- >
6484
- @for (validation of validationRules(); track $index) {
6485
- <ax-validation-rule
6486
- [rule]="validation.rule"
6487
- [message]="validation.options?.message"
6488
- [options]="validation.options"
6489
- ></ax-validation-rule>
6490
- } @if(hasClearButton()){
6491
- <ax-clear-button></ax-clear-button>
6492
- } @if(multiLanguage()){
6493
- <ax-suffix>
6494
- <ax-button (onClick)="openMultiLanguagePopup()" [disabled]="disabled()">
6495
- <ax-prefix>
6496
- <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
6497
- </ax-prefix>
6498
- </ax-button>
6499
- </ax-suffix>
6500
- }@if(multiple()){
6501
- <ax-suffix>
6502
- <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
6503
- <ax-icon class="far fa-trash"> </ax-icon>
6504
- </ax-button>
6505
- </ax-suffix>
6506
- }
6507
- </ax-text-box>
6508
- }@if(multiple()){
6509
- <ax-button
6510
- [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
6511
- look="twotone"
6512
- [disabled]="disabled()"
6513
- (onClick)="addItem()"
6514
- class="ax-col-start-8 md:ax-col-start-9 2xl:ax-col-start-10 ax-col-end-13"
6515
- >
6516
- <ax-prefix>
6517
- <ax-icon class="fa-solid fa-add"></ax-icon>
6518
- </ax-prefix>
6519
- </ax-button>
6590
+ <ax-text-box
6591
+ class="ax-col-span-12"
6592
+ [ngModel]="text"
6593
+ [type]="'text'"
6594
+ (onValueChanged)="handleValueChange($event, $index)"
6595
+ [disabled]="disabled()"
6596
+ [placeholder]="placeholder()"
6597
+ >
6598
+ @for (validation of validationRules(); track $index) {
6599
+ <ax-validation-rule
6600
+ [rule]="validation.rule"
6601
+ [message]="validation.options?.message"
6602
+ [options]="validation.options"
6603
+ ></ax-validation-rule>
6604
+ }
6605
+ @if (hasClearButton()) {
6606
+ <ax-clear-button></ax-clear-button>
6607
+ }
6608
+ @if (multiLanguage()) {
6609
+ <ax-suffix>
6610
+ <ax-button (onClick)="openMultiLanguagePopup()" [disabled]="disabled()">
6611
+ <ax-prefix>
6612
+ <ax-icon class="fa-solid fa-earth-americas"></ax-icon>
6613
+ </ax-prefix>
6614
+ </ax-button>
6615
+ </ax-suffix>
6616
+ }
6617
+ @if (multiple()) {
6618
+ <ax-suffix>
6619
+ <ax-button class="ax-border-s" (onClick)="deleteItem($index)" look="blank" color="danger">
6620
+ <ax-icon class="far fa-trash"> </ax-icon>
6621
+ </ax-button>
6622
+ </ax-suffix>
6623
+ }
6624
+ </ax-text-box>
6625
+ }
6626
+ @if (multiple()) {
6627
+ <ax-button
6628
+ [text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
6629
+ look="twotone"
6630
+ [disabled]="disabled()"
6631
+ (onClick)="addItem()"
6632
+ class="ax-col-start-8 md:ax-col-start-9 2xl:ax-col-start-10 ax-col-end-13"
6633
+ >
6634
+ <ax-prefix>
6635
+ <ax-icon class="fa-solid fa-add"></ax-icon>
6636
+ </ax-prefix>
6637
+ </ax-button>
6520
6638
  }
6521
6639
  </div>
6522
6640
  `,
@@ -6719,8 +6837,8 @@ class AXPToggleWidgetEditComponent extends AXPValueWidgetComponent {
6719
6837
  (onValueChanged)="handleValueChanged($event)"
6720
6838
  >
6721
6839
  </ax-switch>
6722
- @if(label()) {
6723
- <ax-label [textContent]="label()"></ax-label>
6840
+ @if (label()) {
6841
+ <ax-label [textContent]="label()"></ax-label>
6724
6842
  }
6725
6843
  </div>
6726
6844
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXSwitchModule }, { kind: "component", type: i2$5.AXSwitchComponent, selector: "ax-switch", inputs: ["disabled", "readonly", "color", "tabIndex", "value", "name", "isLoading"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "readonlyChange", "disabledChange"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2$2.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -6739,8 +6857,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
6739
6857
  (onValueChanged)="handleValueChanged($event)"
6740
6858
  >
6741
6859
  </ax-switch>
6742
- @if(label()) {
6743
- <ax-label [textContent]="label()"></ax-label>
6860
+ @if (label()) {
6861
+ <ax-label [textContent]="label()"></ax-label>
6744
6862
  }
6745
6863
  </div>
6746
6864
  `,
@@ -13206,27 +13324,29 @@ class AXPNumberUnitBoxWidgetEditComponent extends AXPValueWidgetComponent {
13206
13324
  [disabled]="disabled()"
13207
13325
  >
13208
13326
  @for (validation of validationRules(); track $index) {
13209
- <ax-validation-rule
13210
- [rule]="validation.rule"
13211
- [message]="validation.options?.message"
13212
- [options]="validation.options"
13213
- ></ax-validation-rule>
13214
- } @if (clearButton()) {
13215
- <ax-clear-button></ax-clear-button>
13216
- } @if(selectedUnit()) {
13217
- <ax-suffix>
13218
- <ax-dropdown-button [text]="selectedUnit()?.title" [look]="'blank'" [mode]="'dropdown'">
13219
- <ax-button-item-list>
13220
- @for (item of unit().items; track $index) {
13221
- <ax-button-item
13222
- [text]="item.title"
13223
- [selected]="item.name === selectedUnit()?.name"
13224
- (onClick)="handleUnitClick(item)"
13225
- ></ax-button-item>
13226
- }
13227
- </ax-button-item-list>
13228
- </ax-dropdown-button>
13229
- </ax-suffix>
13327
+ <ax-validation-rule
13328
+ [rule]="validation.rule"
13329
+ [message]="validation.options?.message"
13330
+ [options]="validation.options"
13331
+ ></ax-validation-rule>
13332
+ }
13333
+ @if (clearButton()) {
13334
+ <ax-clear-button></ax-clear-button>
13335
+ }
13336
+ @if (selectedUnit()) {
13337
+ <ax-suffix>
13338
+ <ax-dropdown-button [text]="selectedUnit()?.title" [look]="'blank'" [mode]="'dropdown'">
13339
+ <ax-button-item-list>
13340
+ @for (item of unit().items; track $index) {
13341
+ <ax-button-item
13342
+ [text]="item.title"
13343
+ [selected]="item.name === selectedUnit()?.name"
13344
+ (onClick)="handleUnitClick(item)"
13345
+ ></ax-button-item>
13346
+ }
13347
+ </ax-button-item-list>
13348
+ </ax-dropdown-button>
13349
+ </ax-suffix>
13230
13350
  }
13231
13351
  </ax-number-box>
13232
13352
  </div>
@@ -13251,27 +13371,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
13251
13371
  [disabled]="disabled()"
13252
13372
  >
13253
13373
  @for (validation of validationRules(); track $index) {
13254
- <ax-validation-rule
13255
- [rule]="validation.rule"
13256
- [message]="validation.options?.message"
13257
- [options]="validation.options"
13258
- ></ax-validation-rule>
13259
- } @if (clearButton()) {
13260
- <ax-clear-button></ax-clear-button>
13261
- } @if(selectedUnit()) {
13262
- <ax-suffix>
13263
- <ax-dropdown-button [text]="selectedUnit()?.title" [look]="'blank'" [mode]="'dropdown'">
13264
- <ax-button-item-list>
13265
- @for (item of unit().items; track $index) {
13266
- <ax-button-item
13267
- [text]="item.title"
13268
- [selected]="item.name === selectedUnit()?.name"
13269
- (onClick)="handleUnitClick(item)"
13270
- ></ax-button-item>
13271
- }
13272
- </ax-button-item-list>
13273
- </ax-dropdown-button>
13274
- </ax-suffix>
13374
+ <ax-validation-rule
13375
+ [rule]="validation.rule"
13376
+ [message]="validation.options?.message"
13377
+ [options]="validation.options"
13378
+ ></ax-validation-rule>
13379
+ }
13380
+ @if (clearButton()) {
13381
+ <ax-clear-button></ax-clear-button>
13382
+ }
13383
+ @if (selectedUnit()) {
13384
+ <ax-suffix>
13385
+ <ax-dropdown-button [text]="selectedUnit()?.title" [look]="'blank'" [mode]="'dropdown'">
13386
+ <ax-button-item-list>
13387
+ @for (item of unit().items; track $index) {
13388
+ <ax-button-item
13389
+ [text]="item.title"
13390
+ [selected]="item.name === selectedUnit()?.name"
13391
+ (onClick)="handleUnitClick(item)"
13392
+ ></ax-button-item>
13393
+ }
13394
+ </ax-button-item-list>
13395
+ </ax-dropdown-button>
13396
+ </ax-suffix>
13275
13397
  }
13276
13398
  </ax-number-box>
13277
13399
  </div>
@@ -13467,7 +13589,7 @@ class AXPTabularDataWidgetEditComponent extends AXPValueWidgetComponent {
13467
13589
  this.platform = inject(AXPlatform);
13468
13590
  }
13469
13591
  async openPopup() {
13470
- const { AXPTabularDataPopupComponent } = await import('./acorex-platform-widgets-tabular-data-edit-popup.component-16K2wwtu.mjs');
13592
+ const { AXPTabularDataPopupComponent } = await import('./acorex-platform-widgets-tabular-data-edit-popup.component-DZD9AEmz.mjs');
13471
13593
  const popupData = await this.popupService.open(AXPTabularDataPopupComponent, {
13472
13594
  size: this.platform.is('Mobile') || this.platform.is('SM') ? 'full' : this.columns().length > 3 ? 'lg' : 'md',
13473
13595
  header: true,
@@ -13558,7 +13680,7 @@ class AXPTabularDataEditorWidgetViewComponent extends AXPValueWidgetComponent {
13558
13680
  this.columns = this.options()['columns'];
13559
13681
  }
13560
13682
  async openPopup() {
13561
- const { AXPTabularDataPopupComponent } = await import('./acorex-platform-widgets-tabular-data-view-popup.component-DJtxN1VV.mjs');
13683
+ const { AXPTabularDataPopupComponent } = await import('./acorex-platform-widgets-tabular-data-view-popup.component-CQT2kgt3.mjs');
13562
13684
  this.popupService.open(AXPTabularDataPopupComponent, {
13563
13685
  size: this.platform.is('Mobile') || this.platform.is('SM') ? 'full' : 'md',
13564
13686
  header: true,
@@ -14151,31 +14273,32 @@ class AXPDateTimeFilterWidgetEditComponent extends AXPValueWidgetComponent {
14151
14273
  >
14152
14274
  <ax-clear-button></ax-clear-button>
14153
14275
  </ax-select-box>
14154
- @if(filterTypeSelectedItem()==='Between'){
14155
- <div class="ax-flex ax-gap-2 ax-mt-2">
14156
- <ax-datetime-box
14157
- format="yyyy/MM/dd"
14158
- [placeholder]="'from' | translate | async"
14159
- [ngModel]="value()?.from"
14160
- (onValueChanged)="handleValueChange($event, 'from')"
14161
- >
14162
- <ax-clear-button></ax-clear-button>
14163
- </ax-datetime-box>
14164
- <ax-datetime-box
14165
- format="yyyy/MM/dd"
14166
- [placeholder]="'to' | translate | async"
14167
- [ngModel]="value()?.to"
14168
- (onValueChanged)="handleValueChange($event, 'to')"
14169
- >
14170
- <ax-clear-button></ax-clear-button>
14171
- </ax-datetime-box>
14172
- </div>
14173
- } @if(filterTypeSelectedItem()==="Greater Than" || filterTypeSelectedItem()==="Less Than"){
14174
- <div class="ax-w-full ax-mt-2">
14175
- <ax-datetime-box format="yyyy/MM/dd" [ngModel]="value()" (onValueChanged)="handleValueChange($event, 'self')">
14176
- <ax-clear-button></ax-clear-button>
14177
- </ax-datetime-box>
14178
- </div>
14276
+ @if (filterTypeSelectedItem() === 'Between') {
14277
+ <div class="ax-flex ax-gap-2 ax-mt-2">
14278
+ <ax-datetime-box
14279
+ format="yyyy/MM/dd"
14280
+ [placeholder]="'from' | translate | async"
14281
+ [ngModel]="value()?.from"
14282
+ (onValueChanged)="handleValueChange($event, 'from')"
14283
+ >
14284
+ <ax-clear-button></ax-clear-button>
14285
+ </ax-datetime-box>
14286
+ <ax-datetime-box
14287
+ format="yyyy/MM/dd"
14288
+ [placeholder]="'to' | translate | async"
14289
+ [ngModel]="value()?.to"
14290
+ (onValueChanged)="handleValueChange($event, 'to')"
14291
+ >
14292
+ <ax-clear-button></ax-clear-button>
14293
+ </ax-datetime-box>
14294
+ </div>
14295
+ }
14296
+ @if (filterTypeSelectedItem() === 'Greater Than' || filterTypeSelectedItem() === 'Less Than') {
14297
+ <div class="ax-w-full ax-mt-2">
14298
+ <ax-datetime-box format="yyyy/MM/dd" [ngModel]="value()" (onValueChanged)="handleValueChange($event, 'self')">
14299
+ <ax-clear-button></ax-clear-button>
14300
+ </ax-datetime-box>
14301
+ </div>
14179
14302
  }
14180
14303
  </div>
14181
14304
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5$1.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3$2.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "calendar", "picker", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -14193,31 +14316,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
14193
14316
  >
14194
14317
  <ax-clear-button></ax-clear-button>
14195
14318
  </ax-select-box>
14196
- @if(filterTypeSelectedItem()==='Between'){
14197
- <div class="ax-flex ax-gap-2 ax-mt-2">
14198
- <ax-datetime-box
14199
- format="yyyy/MM/dd"
14200
- [placeholder]="'from' | translate | async"
14201
- [ngModel]="value()?.from"
14202
- (onValueChanged)="handleValueChange($event, 'from')"
14203
- >
14204
- <ax-clear-button></ax-clear-button>
14205
- </ax-datetime-box>
14206
- <ax-datetime-box
14207
- format="yyyy/MM/dd"
14208
- [placeholder]="'to' | translate | async"
14209
- [ngModel]="value()?.to"
14210
- (onValueChanged)="handleValueChange($event, 'to')"
14211
- >
14212
- <ax-clear-button></ax-clear-button>
14213
- </ax-datetime-box>
14214
- </div>
14215
- } @if(filterTypeSelectedItem()==="Greater Than" || filterTypeSelectedItem()==="Less Than"){
14216
- <div class="ax-w-full ax-mt-2">
14217
- <ax-datetime-box format="yyyy/MM/dd" [ngModel]="value()" (onValueChanged)="handleValueChange($event, 'self')">
14218
- <ax-clear-button></ax-clear-button>
14219
- </ax-datetime-box>
14220
- </div>
14319
+ @if (filterTypeSelectedItem() === 'Between') {
14320
+ <div class="ax-flex ax-gap-2 ax-mt-2">
14321
+ <ax-datetime-box
14322
+ format="yyyy/MM/dd"
14323
+ [placeholder]="'from' | translate | async"
14324
+ [ngModel]="value()?.from"
14325
+ (onValueChanged)="handleValueChange($event, 'from')"
14326
+ >
14327
+ <ax-clear-button></ax-clear-button>
14328
+ </ax-datetime-box>
14329
+ <ax-datetime-box
14330
+ format="yyyy/MM/dd"
14331
+ [placeholder]="'to' | translate | async"
14332
+ [ngModel]="value()?.to"
14333
+ (onValueChanged)="handleValueChange($event, 'to')"
14334
+ >
14335
+ <ax-clear-button></ax-clear-button>
14336
+ </ax-datetime-box>
14337
+ </div>
14338
+ }
14339
+ @if (filterTypeSelectedItem() === 'Greater Than' || filterTypeSelectedItem() === 'Less Than') {
14340
+ <div class="ax-w-full ax-mt-2">
14341
+ <ax-datetime-box format="yyyy/MM/dd" [ngModel]="value()" (onValueChanged)="handleValueChange($event, 'self')">
14342
+ <ax-clear-button></ax-clear-button>
14343
+ </ax-datetime-box>
14344
+ </div>
14221
14345
  }
14222
14346
  </div>
14223
14347
  `,
@@ -14320,41 +14444,41 @@ class AXPNumberFilterWidgetEditComponent extends AXPValueWidgetComponent {
14320
14444
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPNumberFilterWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14321
14445
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXPNumberFilterWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
14322
14446
  <div class="ax-flex ax-items-center">
14323
- @if(this.operation()=== 'between'){
14324
- <div class="ax-flex-1 ax-flex ax-gap-4">
14325
- <ax-number-box
14326
- class="ax-w-full"
14327
- [placeholder]="('from' | translate | async) ?? 'From'"
14328
- [showSpinButtons]="false"
14329
- [thousandsSeparator]="seprator()"
14330
- [ngModel]="value()?.from"
14331
- (onValueChanged)="handleValueChange($event, 'from')"
14332
- >
14333
- <ax-clear-button></ax-clear-button>
14334
- </ax-number-box>
14447
+ @if (this.operation() === 'between') {
14448
+ <div class="ax-flex-1 ax-flex ax-gap-4">
14449
+ <ax-number-box
14450
+ class="ax-w-full"
14451
+ [placeholder]="('from' | translate | async) ?? 'From'"
14452
+ [showSpinButtons]="false"
14453
+ [thousandsSeparator]="seprator()"
14454
+ [ngModel]="value()?.from"
14455
+ (onValueChanged)="handleValueChange($event, 'from')"
14456
+ >
14457
+ <ax-clear-button></ax-clear-button>
14458
+ </ax-number-box>
14459
+ <ax-number-box
14460
+ class="ax-w-full"
14461
+ [placeholder]="('to' | translate | async) ?? 'To'"
14462
+ [showSpinButtons]="false"
14463
+ [ngModel]="value()?.to"
14464
+ [thousandsSeparator]="seprator()"
14465
+ (onValueChanged)="handleValueChange($event, 'to')"
14466
+ >
14467
+ <ax-clear-button></ax-clear-button>
14468
+ </ax-number-box>
14469
+ </div>
14470
+ } @else {
14335
14471
  <ax-number-box
14336
- class="ax-w-full"
14337
- [placeholder]="('to' | translate | async) ?? 'To'"
14472
+ class="ax-flex-1"
14473
+ [placeholder]="(placeholder() | translate | async) ?? ''"
14474
+ [disabled]="this.operation() === 'isEmpty' || this.operation() === 'isNotEmpty'"
14338
14475
  [showSpinButtons]="false"
14339
- [ngModel]="value()?.to"
14340
14476
  [thousandsSeparator]="seprator()"
14341
- (onValueChanged)="handleValueChange($event, 'to')"
14477
+ [ngModel]="value()"
14478
+ (onValueChanged)="handleValueChange($event, 'self')"
14342
14479
  >
14343
14480
  <ax-clear-button></ax-clear-button>
14344
14481
  </ax-number-box>
14345
- </div>
14346
- }@else{
14347
- <ax-number-box
14348
- class="ax-flex-1"
14349
- [placeholder]="(placeholder() | translate | async) ?? ''"
14350
- [disabled]="this.operation() === 'isEmpty' || this.operation() === 'isNotEmpty'"
14351
- [showSpinButtons]="false"
14352
- [thousandsSeparator]="seprator()"
14353
- [ngModel]="value()"
14354
- (onValueChanged)="handleValueChange($event, 'self')"
14355
- >
14356
- <ax-clear-button></ax-clear-button>
14357
- </ax-number-box>
14358
14482
  }
14359
14483
  <axp-filter-operations
14360
14484
  type="number"
@@ -14369,41 +14493,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
14369
14493
  args: [{
14370
14494
  template: `
14371
14495
  <div class="ax-flex ax-items-center">
14372
- @if(this.operation()=== 'between'){
14373
- <div class="ax-flex-1 ax-flex ax-gap-4">
14374
- <ax-number-box
14375
- class="ax-w-full"
14376
- [placeholder]="('from' | translate | async) ?? 'From'"
14377
- [showSpinButtons]="false"
14378
- [thousandsSeparator]="seprator()"
14379
- [ngModel]="value()?.from"
14380
- (onValueChanged)="handleValueChange($event, 'from')"
14381
- >
14382
- <ax-clear-button></ax-clear-button>
14383
- </ax-number-box>
14496
+ @if (this.operation() === 'between') {
14497
+ <div class="ax-flex-1 ax-flex ax-gap-4">
14498
+ <ax-number-box
14499
+ class="ax-w-full"
14500
+ [placeholder]="('from' | translate | async) ?? 'From'"
14501
+ [showSpinButtons]="false"
14502
+ [thousandsSeparator]="seprator()"
14503
+ [ngModel]="value()?.from"
14504
+ (onValueChanged)="handleValueChange($event, 'from')"
14505
+ >
14506
+ <ax-clear-button></ax-clear-button>
14507
+ </ax-number-box>
14508
+ <ax-number-box
14509
+ class="ax-w-full"
14510
+ [placeholder]="('to' | translate | async) ?? 'To'"
14511
+ [showSpinButtons]="false"
14512
+ [ngModel]="value()?.to"
14513
+ [thousandsSeparator]="seprator()"
14514
+ (onValueChanged)="handleValueChange($event, 'to')"
14515
+ >
14516
+ <ax-clear-button></ax-clear-button>
14517
+ </ax-number-box>
14518
+ </div>
14519
+ } @else {
14384
14520
  <ax-number-box
14385
- class="ax-w-full"
14386
- [placeholder]="('to' | translate | async) ?? 'To'"
14521
+ class="ax-flex-1"
14522
+ [placeholder]="(placeholder() | translate | async) ?? ''"
14523
+ [disabled]="this.operation() === 'isEmpty' || this.operation() === 'isNotEmpty'"
14387
14524
  [showSpinButtons]="false"
14388
- [ngModel]="value()?.to"
14389
14525
  [thousandsSeparator]="seprator()"
14390
- (onValueChanged)="handleValueChange($event, 'to')"
14526
+ [ngModel]="value()"
14527
+ (onValueChanged)="handleValueChange($event, 'self')"
14391
14528
  >
14392
14529
  <ax-clear-button></ax-clear-button>
14393
14530
  </ax-number-box>
14394
- </div>
14395
- }@else{
14396
- <ax-number-box
14397
- class="ax-flex-1"
14398
- [placeholder]="(placeholder() | translate | async) ?? ''"
14399
- [disabled]="this.operation() === 'isEmpty' || this.operation() === 'isNotEmpty'"
14400
- [showSpinButtons]="false"
14401
- [thousandsSeparator]="seprator()"
14402
- [ngModel]="value()"
14403
- (onValueChanged)="handleValueChange($event, 'self')"
14404
- >
14405
- <ax-clear-button></ax-clear-button>
14406
- </ax-number-box>
14407
14531
  }
14408
14532
  <axp-filter-operations
14409
14533
  type="number"
@@ -14481,8 +14605,8 @@ class AXPSelectFilterWidgetEditComponent extends AXPDataListWidgetComponent {
14481
14605
  [ngModel]="value()"
14482
14606
  (onValueChanged)="handleValueChange($event)"
14483
14607
  >
14484
- @if(allowSearch()){
14485
- <ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
14608
+ @if (allowSearch()) {
14609
+ <ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
14486
14610
  }
14487
14611
  <ax-clear-button></ax-clear-button>
14488
14612
  </ax-select-box>
@@ -14503,8 +14627,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
14503
14627
  [ngModel]="value()"
14504
14628
  (onValueChanged)="handleValueChange($event)"
14505
14629
  >
14506
- @if(allowSearch()){
14507
- <ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
14630
+ @if (allowSearch()) {
14631
+ <ax-search-box><ax-clear-button></ax-clear-button></ax-search-box>
14508
14632
  }
14509
14633
  <ax-clear-button></ax-clear-button>
14510
14634
  </ax-select-box>
@@ -14568,8 +14692,8 @@ class AXPStringWidgetFilterComponent extends AXPValueWidgetComponent {
14568
14692
  [ngModel]="value()"
14569
14693
  (onValueChanged)="handleValueChange($event)"
14570
14694
  >
14571
- @if(hasClearButton()){
14572
- <ax-clear-button></ax-clear-button>
14695
+ @if (hasClearButton()) {
14696
+ <ax-clear-button></ax-clear-button>
14573
14697
  }
14574
14698
  </ax-text-box>
14575
14699
  <axp-filter-operations
@@ -14593,8 +14717,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
14593
14717
  [ngModel]="value()"
14594
14718
  (onValueChanged)="handleValueChange($event)"
14595
14719
  >
14596
- @if(hasClearButton()){
14597
- <ax-clear-button></ax-clear-button>
14720
+ @if (hasClearButton()) {
14721
+ <ax-clear-button></ax-clear-button>
14598
14722
  }
14599
14723
  </ax-text-box>
14600
14724
  <axp-filter-operations
@@ -15453,28 +15577,28 @@ class AXPPanelWidgetDesignerComponent extends AXPLayoutWidgetComponent {
15453
15577
  useExisting: AXPPanelWidgetDesignerComponent,
15454
15578
  },
15455
15579
  ], usesInheritance: true, ngImport: i0, template: `
15456
- <ax-collapse-group [look]="look()">
15457
- <ax-collapse
15458
- [caption]="caption()"
15459
- [icon]="icon()"
15460
- [showHeader]="showHeader()"
15461
- [isCollapsed]="collapsed()"
15462
- (isCollapsedChange)="handleCollapsedChange($event)"
15463
- >
15464
- @for (node of children(); track $index) {
15465
- <ng-container
15466
- axp-widget-designer-renderer
15467
- [node]="node"
15468
- [parentNode]="this"
15469
- [mode]="this.mode"
15470
- [locked]="this.locked"
15471
- ></ng-container>
15580
+ <ax-collapse-group [look]="look()">
15581
+ <ax-collapse
15582
+ [caption]="caption()"
15583
+ [icon]="icon()"
15584
+ [showHeader]="showHeader()"
15585
+ [isCollapsed]="collapsed()"
15586
+ (isCollapsedChange)="handleCollapsedChange($event)"
15587
+ >
15588
+ @for (node of children(); track $index) {
15589
+ <ng-container
15590
+ axp-widget-designer-renderer
15591
+ [node]="node"
15592
+ [parentNode]="this"
15593
+ [mode]="this.mode"
15594
+ [locked]="this.locked"
15595
+ ></ng-container>
15472
15596
  } @empty {
15473
- <axp-designer-add-widget-mini-button
15474
- class="ax-flex-1 ax-self-center ax-place-self-end"
15475
- ></axp-designer-add-widget-mini-button>
15476
- }
15477
- </ax-collapse>
15597
+ <axp-designer-add-widget-mini-button
15598
+ class="ax-flex-1 ax-self-center ax-place-self-end"
15599
+ ></axp-designer-add-widget-mini-button>
15600
+ }
15601
+ </ax-collapse>
15478
15602
  </ax-collapse-group>
15479
15603
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "ngmodule", type: AXCollapseModule }, { kind: "component", type: i1$b.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i1$b.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "locked", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetMiniButtonComponent, selector: "axp-designer-add-widget-mini-button", outputs: ["onClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15480
15604
  }
@@ -15483,28 +15607,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
15483
15607
  args: [{
15484
15608
  selector: 'axp-panel-widget',
15485
15609
  template: `
15486
- <ax-collapse-group [look]="look()">
15487
- <ax-collapse
15488
- [caption]="caption()"
15489
- [icon]="icon()"
15490
- [showHeader]="showHeader()"
15491
- [isCollapsed]="collapsed()"
15492
- (isCollapsedChange)="handleCollapsedChange($event)"
15493
- >
15494
- @for (node of children(); track $index) {
15495
- <ng-container
15496
- axp-widget-designer-renderer
15497
- [node]="node"
15498
- [parentNode]="this"
15499
- [mode]="this.mode"
15500
- [locked]="this.locked"
15501
- ></ng-container>
15610
+ <ax-collapse-group [look]="look()">
15611
+ <ax-collapse
15612
+ [caption]="caption()"
15613
+ [icon]="icon()"
15614
+ [showHeader]="showHeader()"
15615
+ [isCollapsed]="collapsed()"
15616
+ (isCollapsedChange)="handleCollapsedChange($event)"
15617
+ >
15618
+ @for (node of children(); track $index) {
15619
+ <ng-container
15620
+ axp-widget-designer-renderer
15621
+ [node]="node"
15622
+ [parentNode]="this"
15623
+ [mode]="this.mode"
15624
+ [locked]="this.locked"
15625
+ ></ng-container>
15502
15626
  } @empty {
15503
- <axp-designer-add-widget-mini-button
15504
- class="ax-flex-1 ax-self-center ax-place-self-end"
15505
- ></axp-designer-add-widget-mini-button>
15506
- }
15507
- </ax-collapse>
15627
+ <axp-designer-add-widget-mini-button
15628
+ class="ax-flex-1 ax-self-center ax-place-self-end"
15629
+ ></axp-designer-add-widget-mini-button>
15630
+ }
15631
+ </ax-collapse>
15508
15632
  </ax-collapse-group>
15509
15633
  `,
15510
15634
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -15558,25 +15682,25 @@ class AXPPanelWidgetViewComponent extends AXPLayoutWidgetComponent {
15558
15682
  }
15559
15683
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPPanelWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15560
15684
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: AXPPanelWidgetViewComponent, isStandalone: true, selector: "axp-panel-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
15561
- <ax-collapse-group [look]="look()">
15562
- <ax-collapse
15563
- [caption]="caption()"
15564
- [icon]="icon()"
15565
- [showHeader]="showHeader()"
15566
- [isCollapsed]="collapsed()"
15567
- (isCollapsedChange)="handleCollapsedChange($event)"
15568
- >
15569
- @for (node of children(); track $index) {
15570
- <ng-container
15571
- axp-widget-renderer
15572
- [node]="node"
15573
- [index]="index"
15574
- [parentNode]="this"
15575
- [mode]="this.mode"
15576
- ></ng-container>
15577
- }
15578
- </ax-collapse>
15579
- </ax-collapse-group>
15685
+ <ax-collapse-group [look]="look()">
15686
+ <ax-collapse
15687
+ [caption]="caption()"
15688
+ [icon]="icon()"
15689
+ [showHeader]="showHeader()"
15690
+ [isCollapsed]="collapsed()"
15691
+ (isCollapsedChange)="handleCollapsedChange($event)"
15692
+ >
15693
+ @for (node of children(); track $index) {
15694
+ <ng-container
15695
+ axp-widget-renderer
15696
+ [node]="node"
15697
+ [index]="index"
15698
+ [parentNode]="this"
15699
+ [mode]="this.mode"
15700
+ ></ng-container>
15701
+ }
15702
+ </ax-collapse>
15703
+ </ax-collapse-group>
15580
15704
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$3.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }, { kind: "ngmodule", type: AXCollapseModule }, { kind: "component", type: i1$b.AXCollapseComponent, selector: "ax-collapse", inputs: ["disabled", "look", "isCollapsed", "showHeader", "caption", "icon", "isLoading", "headerTemplate"], outputs: ["onClick", "isCollapsedChange"] }, { kind: "component", type: i1$b.AXCollapseGroupComponent, selector: "ax-collapse-group", inputs: ["look", "accordion", "activeIndex"], outputs: ["accordionChange", "activeIndexChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15581
15705
  }
15582
15706
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPPanelWidgetViewComponent, decorators: [{
@@ -15584,25 +15708,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
15584
15708
  args: [{
15585
15709
  selector: 'axp-panel-widget',
15586
15710
  template: `
15587
- <ax-collapse-group [look]="look()">
15588
- <ax-collapse
15589
- [caption]="caption()"
15590
- [icon]="icon()"
15591
- [showHeader]="showHeader()"
15592
- [isCollapsed]="collapsed()"
15593
- (isCollapsedChange)="handleCollapsedChange($event)"
15594
- >
15595
- @for (node of children(); track $index) {
15596
- <ng-container
15597
- axp-widget-renderer
15598
- [node]="node"
15599
- [index]="index"
15600
- [parentNode]="this"
15601
- [mode]="this.mode"
15602
- ></ng-container>
15603
- }
15604
- </ax-collapse>
15605
- </ax-collapse-group>
15711
+ <ax-collapse-group [look]="look()">
15712
+ <ax-collapse
15713
+ [caption]="caption()"
15714
+ [icon]="icon()"
15715
+ [showHeader]="showHeader()"
15716
+ [isCollapsed]="collapsed()"
15717
+ (isCollapsedChange)="handleCollapsedChange($event)"
15718
+ >
15719
+ @for (node of children(); track $index) {
15720
+ <ng-container
15721
+ axp-widget-renderer
15722
+ [node]="node"
15723
+ [index]="index"
15724
+ [parentNode]="this"
15725
+ [mode]="this.mode"
15726
+ ></ng-container>
15727
+ }
15728
+ </ax-collapse>
15729
+ </ax-collapse-group>
15606
15730
  `,
15607
15731
  changeDetection: ChangeDetectionStrategy.OnPush,
15608
15732
  imports: [CommonModule, AXPLayoutBuilderModule, AXCollapseModule],