@acorex/platform 19.2.3 → 19.2.4
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.
- package/common/lib/search/search-definition.builder.d.ts +1 -1
- package/common/lib/search/search-definition.provider.d.ts +1 -0
- package/common/lib/search/search.types.d.ts +1 -0
- package/core/lib/types.d.ts +2 -2
- package/fesm2022/acorex-platform-common.mjs +12 -20
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +23 -7
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +39 -64
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-setting.mjs +1 -1
- package/fesm2022/acorex-platform-layout-setting.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-theme-palette-preview.page-Cet1sYXJ.mjs → acorex-platform-themes-default-theme-palette-preview.page-C3RJdApv.mjs} +3 -3
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-C3RJdApv.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +1215 -38
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/lib/builder/widget-groups.d.ts +2 -1
- package/layout/builder/lib/builder/widget-map.d.ts +9 -0
- package/layout/builder/lib/builder/widget.types.d.ts +1 -1
- package/package.json +5 -5
- package/widgets/lib/properties/groups.d.ts +2 -1
- package/widgets/lib/properties/validation.props.d.ts +10 -0
- package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/editors/text/text-box-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/filters/boolean-filter/boolean-filter-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/index.d.ts +9 -0
- package/widgets/lib/widgets/layout/advanced-grid/advanced-grid-widget-designer.component.d.ts +0 -1
- package/widgets/lib/widgets/validations/base-validation/base-validation.component.d.ts +13 -0
- package/widgets/lib/widgets/validations/base-validation/base-validation.d.ts +8 -0
- package/widgets/lib/widgets/validations/between-validation/between-validation-widget-edit.component.d.ts +25 -0
- package/widgets/lib/widgets/validations/between-validation/between-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/between-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/callback-validation/callback-validation-widget-edit.component.d.ts +23 -0
- package/widgets/lib/widgets/validations/callback-validation/callback-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/callback-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/equal-validation/equal-validation-widget-edit.component.d.ts +23 -0
- package/widgets/lib/widgets/validations/equal-validation/equal-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/equal-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/greater-than-validation/greater-than-validation-widget-edit.component.d.ts +24 -0
- package/widgets/lib/widgets/validations/greater-than-validation/greater-than-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/greater-than-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/less-than-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/less-than-validation/less-than-validation-widget-edit.component.d.ts +24 -0
- package/widgets/lib/widgets/validations/less-than-validation/less-than-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/max-length-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/max-length-validation/max-length-validation-widget-edit.component.d.ts +23 -0
- package/widgets/lib/widgets/validations/max-length-validation/max-length-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/min-length-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/min-length-validation/min-length-validation-widget-edit.component.d.ts +23 -0
- package/widgets/lib/widgets/validations/min-length-validation/min-length-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/regular-expression-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/regular-expression-validation/regular-expression-validation-widget-edit.component.d.ts +23 -0
- package/widgets/lib/widgets/validations/regular-expression-validation/regular-expression-validation-widget.config.d.ts +7 -0
- package/widgets/lib/widgets/validations/required-validation/index.d.ts +2 -0
- package/widgets/lib/widgets/validations/required-validation/required-validation-widget-edit.component.d.ts +21 -0
- package/widgets/lib/widgets/validations/required-validation/required-validation-widget.config.d.ts +7 -0
- package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-Cet1sYXJ.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i1$6 from '@acorex/platform/layout/builder';
|
|
2
|
-
import { AXPWidgetsCatalog, createStringProperty, createBooleanProperty, createSelectProperty, cloneProperty, AXPWidgetComponent, AXP_WIDGETS_ACTION_GROUP, AXP_WIDGETS_EDITOR_GROUP, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPWidgetStatus, AXPPageStatus, AXP_WIDGETS_ADVANCE_GROUP, AXPLayoutBuilderModule, AXP_WIDGETS_LAYOUT_GROUP, AXP_WIDGETS_FILTER_GROUP } from '@acorex/platform/layout/builder';
|
|
2
|
+
import { AXPWidgetsCatalog, createStringProperty, createBooleanProperty, createSelectProperty, cloneProperty, AXPWidgetComponent, AXP_WIDGETS_ACTION_GROUP, AXP_WIDGETS_EDITOR_GROUP, AXPColumnWidgetComponent, AXPDataListWidgetComponent, AXPWidgetStatus, AXPPageStatus, AXP_WIDGETS_ADVANCE_GROUP, AXPLayoutBuilderModule, AXP_WIDGETS_LAYOUT_GROUP, AXP_WIDGETS_VALIDATION_GROUP, AXP_WIDGETS_FILTER_GROUP } from '@acorex/platform/layout/builder';
|
|
3
3
|
import { AX_STYLE_COLOR_TYPES, AX_STYLE_LOOK_TYPES, AXDataSource } from '@acorex/components/common';
|
|
4
4
|
import * as i1$2 from '@acorex/components/badge';
|
|
5
5
|
import { AXBadgeModule } from '@acorex/components/badge';
|
|
@@ -12,7 +12,7 @@ import { AXLoadingModule } from '@acorex/components/loading';
|
|
|
12
12
|
import * as i1$1 from '@angular/common';
|
|
13
13
|
import { CommonModule } from '@angular/common';
|
|
14
14
|
import * as i0 from '@angular/core';
|
|
15
|
-
import { computed, EventEmitter, Component, ChangeDetectionStrategy, inject, HostBinding, signal, effect, ViewEncapsulation, InjectionToken, ViewChild, untracked, ChangeDetectorRef, viewChild, ElementRef, afterRender,
|
|
15
|
+
import { computed, EventEmitter, Component, ChangeDetectionStrategy, inject, afterNextRender, HostBinding, signal, effect, ViewEncapsulation, InjectionToken, ViewChild, untracked, ChangeDetectorRef, viewChild, ElementRef, afterRender, NgZone, model, input, linkedSignal, HostListener, NgModule } from '@angular/core';
|
|
16
16
|
import * as i1 from '@acorex/components/check-box';
|
|
17
17
|
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
|
18
18
|
import * as i3$1 from '@acorex/components/form';
|
|
@@ -84,24 +84,29 @@ import { AXColorUtil } from '@acorex/core/utils';
|
|
|
84
84
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
85
85
|
|
|
86
86
|
const AXP_STYLING_PROPERTY_GROUP = {
|
|
87
|
-
name:
|
|
87
|
+
name: 'styling',
|
|
88
88
|
order: 1,
|
|
89
|
-
title:
|
|
89
|
+
title: 'Styling',
|
|
90
90
|
};
|
|
91
91
|
const AXP_DATA_PROPERTY_GROUP = {
|
|
92
|
-
name:
|
|
92
|
+
name: 'data',
|
|
93
93
|
order: 3,
|
|
94
|
-
title:
|
|
94
|
+
title: 'Data',
|
|
95
95
|
};
|
|
96
96
|
const AXP_BEHAVIOR_PROPERTY_GROUP = {
|
|
97
|
-
name:
|
|
97
|
+
name: 'behavior',
|
|
98
98
|
order: 2,
|
|
99
|
-
title:
|
|
99
|
+
title: 'Behavior',
|
|
100
100
|
};
|
|
101
101
|
const AXP_WIDGET_PROPERTY_GROUP = {
|
|
102
|
-
name:
|
|
102
|
+
name: 'widget',
|
|
103
103
|
order: 0,
|
|
104
|
-
title:
|
|
104
|
+
title: 'Widget',
|
|
105
|
+
};
|
|
106
|
+
const AXP_VALIDATION_PROPERTY_GROUP = {
|
|
107
|
+
name: 'validation',
|
|
108
|
+
order: 4,
|
|
109
|
+
title: 'validation',
|
|
105
110
|
};
|
|
106
111
|
|
|
107
112
|
const AXP_DATA_SOURCE_PROPERTY = {
|
|
@@ -381,14 +386,14 @@ const AXP_VALUE_FIELD_PROPERTY = createStringProperty({
|
|
|
381
386
|
title: 'Value Field',
|
|
382
387
|
path: 'options.valueField',
|
|
383
388
|
group: AXP_DATA_PROPERTY_GROUP,
|
|
384
|
-
defaultValue:
|
|
389
|
+
defaultValue: 'id',
|
|
385
390
|
});
|
|
386
391
|
const AXP_TEXT_FIELD_PROPERTY = createStringProperty({
|
|
387
392
|
name: 'textField',
|
|
388
393
|
title: 'Text Field',
|
|
389
394
|
path: 'options.textField',
|
|
390
395
|
group: AXP_DATA_PROPERTY_GROUP,
|
|
391
|
-
defaultValue:
|
|
396
|
+
defaultValue: 'title',
|
|
392
397
|
});
|
|
393
398
|
const AXP_DESCRIPTION_PROPERTY = createStringProperty({
|
|
394
399
|
name: 'description',
|
|
@@ -1231,6 +1236,7 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1231
1236
|
}
|
|
1232
1237
|
});
|
|
1233
1238
|
this.internalValue = computed(() => this.valueToArray());
|
|
1239
|
+
this.#af = afterNextRender(() => console.log(this.options()['placeholder'], this.type()));
|
|
1234
1240
|
this.popup = inject(AXPopupService);
|
|
1235
1241
|
this.dataSource = new AXDataSource({
|
|
1236
1242
|
pageSize: this.labelList().length,
|
|
@@ -1273,6 +1279,7 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1273
1279
|
}
|
|
1274
1280
|
};
|
|
1275
1281
|
}
|
|
1282
|
+
#af;
|
|
1276
1283
|
addItem() {
|
|
1277
1284
|
const newValues = [...this.internalValue(), this.emptyValue()];
|
|
1278
1285
|
this.setValue(this.setFormatedValue(newValues));
|
|
@@ -1683,6 +1690,7 @@ const AXPContactWidget = {
|
|
|
1683
1690
|
AXP_ALLOW_MULTIPLE_PROPERTY,
|
|
1684
1691
|
AXP_HAS_LABEL_PROPERTY,
|
|
1685
1692
|
AXP_HAS_ICON_PROPERTY,
|
|
1693
|
+
AXP_PLACEHOLDER_PROPERTY,
|
|
1686
1694
|
],
|
|
1687
1695
|
components: {
|
|
1688
1696
|
view: {
|
|
@@ -5394,6 +5402,7 @@ class AXPTextBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
5394
5402
|
this.placeholder = computed(() => this.options()['placeholder']);
|
|
5395
5403
|
this.validationRules = computed(() => this.options()['validationRules'] ?? []);
|
|
5396
5404
|
this.internalValue = computed(() => Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]);
|
|
5405
|
+
this.eff = effect(() => console.log(this.options()));
|
|
5397
5406
|
}
|
|
5398
5407
|
handleValueChange(e, i) {
|
|
5399
5408
|
if (e.isUserInteraction) {
|
|
@@ -5511,15 +5520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
5511
5520
|
</div>
|
|
5512
5521
|
`,
|
|
5513
5522
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5514
|
-
imports: [
|
|
5515
|
-
CommonModule,
|
|
5516
|
-
AXTextBoxModule,
|
|
5517
|
-
FormsModule,
|
|
5518
|
-
AXFormModule,
|
|
5519
|
-
AXDecoratorModule,
|
|
5520
|
-
AXValidationModule,
|
|
5521
|
-
AXButtonModule,
|
|
5522
|
-
],
|
|
5523
|
+
imports: [CommonModule, AXTextBoxModule, FormsModule, AXFormModule, AXDecoratorModule, AXValidationModule, AXButtonModule],
|
|
5523
5524
|
inputs: [],
|
|
5524
5525
|
}]
|
|
5525
5526
|
}], propDecorators: { __class: [{
|
|
@@ -5590,6 +5591,142 @@ var textBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
|
|
|
5590
5591
|
AXPTextBoxWidgetPrintComponent: AXPTextBoxWidgetPrintComponent
|
|
5591
5592
|
});
|
|
5592
5593
|
|
|
5594
|
+
const AXP_REQUIRED_VALIDATION_PROPERTY = {
|
|
5595
|
+
name: 'requiredValidation',
|
|
5596
|
+
title: 'Required',
|
|
5597
|
+
group: AXP_VALIDATION_PROPERTY_GROUP,
|
|
5598
|
+
schema: {
|
|
5599
|
+
dataType: 'object',
|
|
5600
|
+
interface: {
|
|
5601
|
+
name: 'requiredValidation',
|
|
5602
|
+
path: 'options.requiredValidation',
|
|
5603
|
+
type: AXPWidgetsCatalog.requiredValidation,
|
|
5604
|
+
// defaultValue: false,
|
|
5605
|
+
},
|
|
5606
|
+
},
|
|
5607
|
+
visible: true,
|
|
5608
|
+
};
|
|
5609
|
+
const AXP_MIN_LENGTH_VALIDATION_PROPERTY = {
|
|
5610
|
+
name: 'minLengthValidation',
|
|
5611
|
+
title: 'Minimum Length',
|
|
5612
|
+
group: AXP_VALIDATION_PROPERTY_GROUP,
|
|
5613
|
+
schema: {
|
|
5614
|
+
dataType: 'object',
|
|
5615
|
+
interface: {
|
|
5616
|
+
name: 'minLengthValidation',
|
|
5617
|
+
path: 'options.minLengthValidation',
|
|
5618
|
+
type: AXPWidgetsCatalog.minLengthValidation,
|
|
5619
|
+
// defaultValue: false,
|
|
5620
|
+
},
|
|
5621
|
+
},
|
|
5622
|
+
visible: true,
|
|
5623
|
+
};
|
|
5624
|
+
const AXP_MAX_LENGTH_VALIDATION_PROPERTY = {
|
|
5625
|
+
name: 'maxLengthValidation',
|
|
5626
|
+
title: 'Maximum Length',
|
|
5627
|
+
group: AXP_VALIDATION_PROPERTY_GROUP,
|
|
5628
|
+
schema: {
|
|
5629
|
+
dataType: 'object',
|
|
5630
|
+
interface: {
|
|
5631
|
+
name: 'maxLengthValidation',
|
|
5632
|
+
path: 'options.maxLengthValidation',
|
|
5633
|
+
type: AXPWidgetsCatalog.maxLengthValidation,
|
|
5634
|
+
// defaultValue: false,
|
|
5635
|
+
},
|
|
5636
|
+
},
|
|
5637
|
+
visible: true,
|
|
5638
|
+
};
|
|
5639
|
+
const AXP_REGULAR_EXPRESSION_VALIDATION_PROPERTY = {
|
|
5640
|
+
name: 'regularExpressionValidation',
|
|
5641
|
+
title: 'Regular Expression',
|
|
5642
|
+
group: AXP_VALIDATION_PROPERTY_GROUP,
|
|
5643
|
+
schema: {
|
|
5644
|
+
dataType: 'object',
|
|
5645
|
+
interface: {
|
|
5646
|
+
name: 'regularExpressionValidation',
|
|
5647
|
+
path: 'options.regularExpressionValidation',
|
|
5648
|
+
type: AXPWidgetsCatalog.regularExpressionValidation,
|
|
5649
|
+
// defaultValue: false,
|
|
5650
|
+
},
|
|
5651
|
+
},
|
|
5652
|
+
visible: true,
|
|
5653
|
+
};
|
|
5654
|
+
const AXP_LESS_THAN_VALIDATION_PROPERTY = {
|
|
5655
|
+
name: 'lessThanValidation',
|
|
5656
|
+
title: 'Less Than',
|
|
5657
|
+
group: AXP_VALIDATION_PROPERTY_GROUP,
|
|
5658
|
+
schema: {
|
|
5659
|
+
dataType: 'object',
|
|
5660
|
+
interface: {
|
|
5661
|
+
name: 'lessThanValidation',
|
|
5662
|
+
path: 'options.lessThanValidation',
|
|
5663
|
+
type: AXPWidgetsCatalog.lessThanValidation,
|
|
5664
|
+
// defaultValue: false,
|
|
5665
|
+
},
|
|
5666
|
+
},
|
|
5667
|
+
visible: true,
|
|
5668
|
+
};
|
|
5669
|
+
const AXP_GREATER_THAN_VALIDATION_PROPERTY = {
|
|
5670
|
+
name: 'greaterThanValidation',
|
|
5671
|
+
title: 'Greater Than',
|
|
5672
|
+
group: AXP_VALIDATION_PROPERTY_GROUP,
|
|
5673
|
+
schema: {
|
|
5674
|
+
dataType: 'object',
|
|
5675
|
+
interface: {
|
|
5676
|
+
name: 'greaterThanValidation',
|
|
5677
|
+
path: 'options.greaterThanValidation',
|
|
5678
|
+
type: AXPWidgetsCatalog.greaterThanValidation,
|
|
5679
|
+
// defaultValue: false,
|
|
5680
|
+
},
|
|
5681
|
+
},
|
|
5682
|
+
visible: true,
|
|
5683
|
+
};
|
|
5684
|
+
const AXP_BETWEEN_VALIDATION_PROPERTY = {
|
|
5685
|
+
name: 'betweenValidation',
|
|
5686
|
+
title: 'Between',
|
|
5687
|
+
group: AXP_VALIDATION_PROPERTY_GROUP,
|
|
5688
|
+
schema: {
|
|
5689
|
+
dataType: 'object',
|
|
5690
|
+
interface: {
|
|
5691
|
+
name: 'betweenValidation',
|
|
5692
|
+
path: 'options.betweenValidation',
|
|
5693
|
+
type: AXPWidgetsCatalog.betweenValidation,
|
|
5694
|
+
// defaultValue: false,
|
|
5695
|
+
},
|
|
5696
|
+
},
|
|
5697
|
+
visible: true,
|
|
5698
|
+
};
|
|
5699
|
+
const AXP_EQUAL_VALIDATION_PROPERTY = {
|
|
5700
|
+
name: 'equalValidation',
|
|
5701
|
+
title: 'Equal',
|
|
5702
|
+
group: AXP_VALIDATION_PROPERTY_GROUP,
|
|
5703
|
+
schema: {
|
|
5704
|
+
dataType: 'object',
|
|
5705
|
+
interface: {
|
|
5706
|
+
name: 'equalValidation',
|
|
5707
|
+
path: 'options.equalValidation',
|
|
5708
|
+
type: AXPWidgetsCatalog.equalValidation,
|
|
5709
|
+
// defaultValue: false,
|
|
5710
|
+
},
|
|
5711
|
+
},
|
|
5712
|
+
visible: true,
|
|
5713
|
+
};
|
|
5714
|
+
const AXP_CALLBACK_VALIDATION_PROPERTY = {
|
|
5715
|
+
name: 'callbackValidation',
|
|
5716
|
+
title: 'Callback',
|
|
5717
|
+
group: AXP_VALIDATION_PROPERTY_GROUP,
|
|
5718
|
+
schema: {
|
|
5719
|
+
dataType: 'object',
|
|
5720
|
+
interface: {
|
|
5721
|
+
name: 'callbackValidation',
|
|
5722
|
+
path: 'options.callbackValidation',
|
|
5723
|
+
type: AXPWidgetsCatalog.callbackValidation,
|
|
5724
|
+
// defaultValue: false,
|
|
5725
|
+
},
|
|
5726
|
+
},
|
|
5727
|
+
visible: true,
|
|
5728
|
+
};
|
|
5729
|
+
|
|
5593
5730
|
const AXPTextBoxWidget = {
|
|
5594
5731
|
name: 'text-editor',
|
|
5595
5732
|
title: 'Text Box',
|
|
@@ -5607,6 +5744,15 @@ const AXPTextBoxWidget = {
|
|
|
5607
5744
|
AXP_PLACEHOLDER_PROPERTY,
|
|
5608
5745
|
AXP_HAS_CLEAR_BUTTON_PROPERTY,
|
|
5609
5746
|
plainTextDefaultProperty(),
|
|
5747
|
+
AXP_REQUIRED_VALIDATION_PROPERTY,
|
|
5748
|
+
AXP_MIN_LENGTH_VALIDATION_PROPERTY,
|
|
5749
|
+
AXP_REGULAR_EXPRESSION_VALIDATION_PROPERTY,
|
|
5750
|
+
AXP_MAX_LENGTH_VALIDATION_PROPERTY,
|
|
5751
|
+
AXP_LESS_THAN_VALIDATION_PROPERTY,
|
|
5752
|
+
AXP_GREATER_THAN_VALIDATION_PROPERTY,
|
|
5753
|
+
AXP_BETWEEN_VALIDATION_PROPERTY,
|
|
5754
|
+
AXP_EQUAL_VALIDATION_PROPERTY,
|
|
5755
|
+
AXP_CALLBACK_VALIDATION_PROPERTY,
|
|
5610
5756
|
//cloneProperty(AXP_TABLE_COLUMN_WIDTH_PROPERTY, { schema: { defaultValue: '200px' } }),
|
|
5611
5757
|
],
|
|
5612
5758
|
components: {
|
|
@@ -7800,7 +7946,7 @@ class AXPAdvancedGridWidgetDesignerComponent extends AXPWidgetComponent {
|
|
|
7800
7946
|
this.justify = computed(() => this.options()['gridOptions']?.default?.justifyItems ?? 'stretch');
|
|
7801
7947
|
this.gap = computed(() => this.options()['gridOptions']?.default?.gap ?? '0px');
|
|
7802
7948
|
this.cells = computed(() => this.calcTotalCells(this.options()['gridOptions']?.default?.gridTemplateRows ?? 'repeat(1, 1fr)', this.options()['gridOptions']?.default?.gridTemplateColumns ?? 'repeat(1, 1fr)'));
|
|
7803
|
-
|
|
7949
|
+
// effect1 = effect(() => console.log(this.options()['gridOptions']));
|
|
7804
7950
|
this.effect2 = effect(() => {
|
|
7805
7951
|
this.gap();
|
|
7806
7952
|
untracked(() => this.grid()?.setMargin(this.gap()));
|
|
@@ -7894,13 +8040,7 @@ class AXPAdvancedGridWidgetDesignerComponent extends AXPWidgetComponent {
|
|
|
7894
8040
|
@if(settled()) {
|
|
7895
8041
|
<ax-grid-layout-container [options]="gridOptions">
|
|
7896
8042
|
@for (child of children(); track $index) {
|
|
7897
|
-
<ng-container
|
|
7898
|
-
axp-widget-designer-renderer
|
|
7899
|
-
[node]="child"
|
|
7900
|
-
[parentNode]="this"
|
|
7901
|
-
[mode]="this.mode"
|
|
7902
|
-
[locked]="this.locked"
|
|
7903
|
-
>
|
|
8043
|
+
<ng-container axp-widget-designer-renderer [node]="child" [parentNode]="this" [mode]="this.mode" [locked]="this.locked">
|
|
7904
8044
|
</ng-container>
|
|
7905
8045
|
}
|
|
7906
8046
|
</ax-grid-layout-container>
|
|
@@ -7924,13 +8064,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
7924
8064
|
@if(settled()) {
|
|
7925
8065
|
<ax-grid-layout-container [options]="gridOptions">
|
|
7926
8066
|
@for (child of children(); track $index) {
|
|
7927
|
-
<ng-container
|
|
7928
|
-
axp-widget-designer-renderer
|
|
7929
|
-
[node]="child"
|
|
7930
|
-
[parentNode]="this"
|
|
7931
|
-
[mode]="this.mode"
|
|
7932
|
-
[locked]="this.locked"
|
|
7933
|
-
>
|
|
8067
|
+
<ng-container axp-widget-designer-renderer [node]="child" [parentNode]="this" [mode]="this.mode" [locked]="this.locked">
|
|
7934
8068
|
</ng-container>
|
|
7935
8069
|
}
|
|
7936
8070
|
</ax-grid-layout-container>
|
|
@@ -10345,6 +10479,1028 @@ const AXPSpacingWidget = {
|
|
|
10345
10479
|
visible: false,
|
|
10346
10480
|
};
|
|
10347
10481
|
|
|
10482
|
+
const AXP_BASE_VALIDATION_INFORMATION = {
|
|
10483
|
+
requiredValidation: {
|
|
10484
|
+
rule: 'required',
|
|
10485
|
+
message: 'This field is required.',
|
|
10486
|
+
placeholder: 'Enter error message',
|
|
10487
|
+
},
|
|
10488
|
+
regularExpressionValidation: {
|
|
10489
|
+
rule: 'regularExpression',
|
|
10490
|
+
message: 'Invalid format. Check the pattern.',
|
|
10491
|
+
placeholder: 'Enter regular expression',
|
|
10492
|
+
title: 'Validation Pattern:',
|
|
10493
|
+
options: { pattern: '' },
|
|
10494
|
+
},
|
|
10495
|
+
minLengthValidation: {
|
|
10496
|
+
rule: 'minLength',
|
|
10497
|
+
message: 'Too short. Enter at least 1 characters.',
|
|
10498
|
+
placeholder: 'Enter minimum length',
|
|
10499
|
+
title: 'Minimum Length:',
|
|
10500
|
+
options: { value: 1 },
|
|
10501
|
+
},
|
|
10502
|
+
maxLengthValidation: {
|
|
10503
|
+
rule: 'maxLength',
|
|
10504
|
+
message: 'Too long. Maximum 8 characters is allowed.',
|
|
10505
|
+
placeholder: 'Enter maximum length',
|
|
10506
|
+
title: 'Maximum Length:',
|
|
10507
|
+
options: { value: 8 },
|
|
10508
|
+
},
|
|
10509
|
+
lessThanValidation: {
|
|
10510
|
+
rule: 'lessThan',
|
|
10511
|
+
message: 'Value must be less than 5.',
|
|
10512
|
+
placeholder: 'Enter maximum allowed value',
|
|
10513
|
+
title: 'Maximum Value:',
|
|
10514
|
+
options: { value: 5 },
|
|
10515
|
+
},
|
|
10516
|
+
greaterThanValidation: {
|
|
10517
|
+
rule: 'greaterThan',
|
|
10518
|
+
message: 'Value must be greater than 3.',
|
|
10519
|
+
placeholder: 'Enter minimum allowed value',
|
|
10520
|
+
title: 'Minimum Value:',
|
|
10521
|
+
options: { value: 3 },
|
|
10522
|
+
},
|
|
10523
|
+
betweenValidation: {
|
|
10524
|
+
rule: 'between',
|
|
10525
|
+
message: 'Value must be between 0 and 10.',
|
|
10526
|
+
placeholder: 'Min, Max',
|
|
10527
|
+
title: 'Value Range:',
|
|
10528
|
+
options: { lowerValue: 0, upperValue: 10 },
|
|
10529
|
+
},
|
|
10530
|
+
equalValidation: {
|
|
10531
|
+
rule: 'equal',
|
|
10532
|
+
message: 'Value must be equal to 10.',
|
|
10533
|
+
placeholder: 'Enter the value',
|
|
10534
|
+
title: 'Value:',
|
|
10535
|
+
options: { value: '10' },
|
|
10536
|
+
},
|
|
10537
|
+
callbackValidation: {
|
|
10538
|
+
rule: 'callback',
|
|
10539
|
+
message: 'Invalid value.',
|
|
10540
|
+
placeholder: 'Enter A callback to check validation.',
|
|
10541
|
+
title: 'Validation Callback:',
|
|
10542
|
+
options: {
|
|
10543
|
+
validate: `(val: any) => {
|
|
10544
|
+
const isValid = val > 10;
|
|
10545
|
+
return {
|
|
10546
|
+
rule: 'callback',
|
|
10547
|
+
result: isValid,
|
|
10548
|
+
message: isValid ? '' : 'Please fill the content',
|
|
10549
|
+
value: val,
|
|
10550
|
+
};
|
|
10551
|
+
}`,
|
|
10552
|
+
},
|
|
10553
|
+
},
|
|
10554
|
+
};
|
|
10555
|
+
|
|
10556
|
+
class AXPBaseValidationComponent {
|
|
10557
|
+
constructor() {
|
|
10558
|
+
this.validationStatus = model(false);
|
|
10559
|
+
this.validationText = model('');
|
|
10560
|
+
this.validationTextPlaceholder = input('Enter Error Message');
|
|
10561
|
+
this.isStatusChanged = false;
|
|
10562
|
+
this.endOfViewEl = viewChild('el');
|
|
10563
|
+
this.#syncScroll = afterRender(() => {
|
|
10564
|
+
if (this.endOfViewEl()?.nativeElement && this.validationStatus() && this.isStatusChanged) {
|
|
10565
|
+
const rect = this.endOfViewEl()?.nativeElement.getBoundingClientRect();
|
|
10566
|
+
const isInViewport = rect?.top >= 0 && rect?.bottom <= window.innerHeight;
|
|
10567
|
+
if (!isInViewport) {
|
|
10568
|
+
this.endOfViewEl()?.nativeElement.scrollIntoView({ behavior: 'auto', block: 'center' });
|
|
10569
|
+
}
|
|
10570
|
+
}
|
|
10571
|
+
this.isStatusChanged = false;
|
|
10572
|
+
});
|
|
10573
|
+
}
|
|
10574
|
+
setValidationStatus(event) {
|
|
10575
|
+
this.validationStatus.set(event);
|
|
10576
|
+
this.isStatusChanged = true;
|
|
10577
|
+
}
|
|
10578
|
+
setValidationText(event) {
|
|
10579
|
+
this.validationText.set(event);
|
|
10580
|
+
}
|
|
10581
|
+
#syncScroll;
|
|
10582
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPBaseValidationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10583
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.3", type: AXPBaseValidationComponent, isStandalone: true, selector: "axp-base-validation-component", inputs: { validationStatus: { classPropertyName: "validationStatus", publicName: "validationStatus", isSignal: true, isRequired: false, transformFunction: null }, validationText: { classPropertyName: "validationText", publicName: "validationText", isSignal: true, isRequired: false, transformFunction: null }, validationTextPlaceholder: { classPropertyName: "validationTextPlaceholder", publicName: "validationTextPlaceholder", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { validationStatus: "validationStatusChange", validationText: "validationTextChange" }, viewQueries: [{ propertyName: "endOfViewEl", first: true, predicate: ["el"], descendants: true, isSignal: true }], ngImport: i0, template: `<div>
|
|
10584
|
+
<div class="ax-flex ax-flex-col ax-gap-2 ax-pt-1 ax-text-xs ax-tracking-wider">
|
|
10585
|
+
<ax-switch [ngModel]="validationStatus()" (ngModelChange)="setValidationStatus($event)"> </ax-switch>
|
|
10586
|
+
@if(validationStatus()){
|
|
10587
|
+
<ng-content select=".if-valid"></ng-content>
|
|
10588
|
+
<div>
|
|
10589
|
+
<p class="ax-pb-1">Validation Error Message:</p>
|
|
10590
|
+
<ax-text-box
|
|
10591
|
+
[placeholder]="validationTextPlaceholder()"
|
|
10592
|
+
[ngModel]="validationText()"
|
|
10593
|
+
(ngModelChange)="setValidationText($event)"
|
|
10594
|
+
></ax-text-box>
|
|
10595
|
+
</div>
|
|
10596
|
+
}
|
|
10597
|
+
</div>
|
|
10598
|
+
<ng-content></ng-content>
|
|
10599
|
+
<div #el class="ax-h-[1px]"></div>
|
|
10600
|
+
</div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXSwitchModule }, { kind: "component", type: i2$4.AXSwitchComponent, selector: "ax-switch", inputs: ["disabled", "readonly", "color", "tabIndex", "value", "name", "isLoading"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "readonlyChange", "disabledChange"] }, { 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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10601
|
+
}
|
|
10602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPBaseValidationComponent, decorators: [{
|
|
10603
|
+
type: Component,
|
|
10604
|
+
args: [{
|
|
10605
|
+
selector: 'axp-base-validation-component',
|
|
10606
|
+
template: `<div>
|
|
10607
|
+
<div class="ax-flex ax-flex-col ax-gap-2 ax-pt-1 ax-text-xs ax-tracking-wider">
|
|
10608
|
+
<ax-switch [ngModel]="validationStatus()" (ngModelChange)="setValidationStatus($event)"> </ax-switch>
|
|
10609
|
+
@if(validationStatus()){
|
|
10610
|
+
<ng-content select=".if-valid"></ng-content>
|
|
10611
|
+
<div>
|
|
10612
|
+
<p class="ax-pb-1">Validation Error Message:</p>
|
|
10613
|
+
<ax-text-box
|
|
10614
|
+
[placeholder]="validationTextPlaceholder()"
|
|
10615
|
+
[ngModel]="validationText()"
|
|
10616
|
+
(ngModelChange)="setValidationText($event)"
|
|
10617
|
+
></ax-text-box>
|
|
10618
|
+
</div>
|
|
10619
|
+
}
|
|
10620
|
+
</div>
|
|
10621
|
+
<ng-content></ng-content>
|
|
10622
|
+
<div #el class="ax-h-[1px]"></div>
|
|
10623
|
+
</div> `,
|
|
10624
|
+
standalone: true,
|
|
10625
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10626
|
+
imports: [AXPLayoutBuilderModule, AXLabelModule, AXSwitchModule, AXTextBoxModule, FormsModule],
|
|
10627
|
+
}]
|
|
10628
|
+
}] });
|
|
10629
|
+
|
|
10630
|
+
class AXPBetweenValidationWidgetEditComponent extends AXPWidgetComponent {
|
|
10631
|
+
constructor() {
|
|
10632
|
+
super(...arguments);
|
|
10633
|
+
this.validationName = this.token.node.name;
|
|
10634
|
+
this.validationInformation = AXP_BASE_VALIDATION_INFORMATION[this.validationName];
|
|
10635
|
+
this.validationStatus = linkedSignal(() => this.getValue()?.rule === this.validationInformation.rule ? true : false);
|
|
10636
|
+
this.validationLowerValue = linkedSignal(() => this.getValue()?.options?.lowerValue ?? this.validationInformation.options?.lowerValue ?? 1);
|
|
10637
|
+
this.validationUpperValue = linkedSignal(() => this.getValue()?.options?.upperValue ?? this.validationInformation.options?.upperValue ?? 10);
|
|
10638
|
+
this.validationInclusive = linkedSignal(() => this.getValue()?.options?.inclusive ?? this.validationInformation.options?.inclusive ?? false);
|
|
10639
|
+
this.validationText = linkedSignal(() => this.getValue()?.message ?? this.validationInformation.message);
|
|
10640
|
+
this.validationPlaceholder = this.validationInformation?.placeholder.split(',').length
|
|
10641
|
+
? ['Min', 'Max']
|
|
10642
|
+
: this.validationInformation?.placeholder.split(',');
|
|
10643
|
+
this.#syncChange = effect(() => {
|
|
10644
|
+
if (this.validationStatus()) {
|
|
10645
|
+
this.setValue({
|
|
10646
|
+
rule: this.validationInformation.rule,
|
|
10647
|
+
message: this.validationText(),
|
|
10648
|
+
options: {
|
|
10649
|
+
lowerValue: this.validationLowerValue(),
|
|
10650
|
+
upperValue: this.validationUpperValue(),
|
|
10651
|
+
inclusive: this.validationInclusive(),
|
|
10652
|
+
},
|
|
10653
|
+
});
|
|
10654
|
+
}
|
|
10655
|
+
else
|
|
10656
|
+
this.setValue(undefined);
|
|
10657
|
+
});
|
|
10658
|
+
}
|
|
10659
|
+
ToggleRule(event) {
|
|
10660
|
+
this.validationStatus.set(event);
|
|
10661
|
+
}
|
|
10662
|
+
setValidation(event, isLower = true) {
|
|
10663
|
+
isLower ? this.validationLowerValue.set(event) : this.validationUpperValue.set(event);
|
|
10664
|
+
}
|
|
10665
|
+
#syncChange;
|
|
10666
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPBetweenValidationWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
10667
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPBetweenValidationWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <axp-base-validation-component
|
|
10668
|
+
[validationStatus]="validationStatus()"
|
|
10669
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
10670
|
+
[(validationText)]="validationText"
|
|
10671
|
+
>
|
|
10672
|
+
<div class="if-valid">
|
|
10673
|
+
<div>
|
|
10674
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
10675
|
+
<div class="ax-flex ax-items-center ax-gap-4">
|
|
10676
|
+
<ax-number-box
|
|
10677
|
+
[placeholder]="validationPlaceholder[0]"
|
|
10678
|
+
[showSpinButtons]="false"
|
|
10679
|
+
[ngModel]="validationLowerValue()"
|
|
10680
|
+
[maxValue]="validationUpperValue() - 1"
|
|
10681
|
+
(ngModelChange)="setValidation($event)"
|
|
10682
|
+
></ax-number-box>
|
|
10683
|
+
<ax-number-box
|
|
10684
|
+
[placeholder]="validationPlaceholder[1]"
|
|
10685
|
+
[showSpinButtons]="false"
|
|
10686
|
+
[minValue]="validationLowerValue() + 1"
|
|
10687
|
+
[ngModel]="validationUpperValue()"
|
|
10688
|
+
(ngModelChange)="setValidation($event, false)"
|
|
10689
|
+
></ax-number-box>
|
|
10690
|
+
<ax-check-box [ngModel]="validationInclusive()" (ngModelChange)="validationInclusive.set($event)">
|
|
10691
|
+
<ax-label>inclusive</ax-label>
|
|
10692
|
+
</ax-check-box>
|
|
10693
|
+
</div>
|
|
10694
|
+
</div>
|
|
10695
|
+
</div>
|
|
10696
|
+
</axp-base-validation-component>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPBaseValidationComponent, selector: "axp-base-validation-component", inputs: ["validationStatus", "validationText", "validationTextPlaceholder"], outputs: ["validationStatusChange", "validationTextChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$3.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10697
|
+
}
|
|
10698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPBetweenValidationWidgetEditComponent, decorators: [{
|
|
10699
|
+
type: Component,
|
|
10700
|
+
args: [{
|
|
10701
|
+
template: ` <axp-base-validation-component
|
|
10702
|
+
[validationStatus]="validationStatus()"
|
|
10703
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
10704
|
+
[(validationText)]="validationText"
|
|
10705
|
+
>
|
|
10706
|
+
<div class="if-valid">
|
|
10707
|
+
<div>
|
|
10708
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
10709
|
+
<div class="ax-flex ax-items-center ax-gap-4">
|
|
10710
|
+
<ax-number-box
|
|
10711
|
+
[placeholder]="validationPlaceholder[0]"
|
|
10712
|
+
[showSpinButtons]="false"
|
|
10713
|
+
[ngModel]="validationLowerValue()"
|
|
10714
|
+
[maxValue]="validationUpperValue() - 1"
|
|
10715
|
+
(ngModelChange)="setValidation($event)"
|
|
10716
|
+
></ax-number-box>
|
|
10717
|
+
<ax-number-box
|
|
10718
|
+
[placeholder]="validationPlaceholder[1]"
|
|
10719
|
+
[showSpinButtons]="false"
|
|
10720
|
+
[minValue]="validationLowerValue() + 1"
|
|
10721
|
+
[ngModel]="validationUpperValue()"
|
|
10722
|
+
(ngModelChange)="setValidation($event, false)"
|
|
10723
|
+
></ax-number-box>
|
|
10724
|
+
<ax-check-box [ngModel]="validationInclusive()" (ngModelChange)="validationInclusive.set($event)">
|
|
10725
|
+
<ax-label>inclusive</ax-label>
|
|
10726
|
+
</ax-check-box>
|
|
10727
|
+
</div>
|
|
10728
|
+
</div>
|
|
10729
|
+
</div>
|
|
10730
|
+
</axp-base-validation-component>`,
|
|
10731
|
+
standalone: true,
|
|
10732
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10733
|
+
imports: [
|
|
10734
|
+
AXPLayoutBuilderModule,
|
|
10735
|
+
AXPBaseValidationComponent,
|
|
10736
|
+
AXCheckBoxModule,
|
|
10737
|
+
AXLabelModule,
|
|
10738
|
+
AXNumberBoxModule,
|
|
10739
|
+
FormsModule,
|
|
10740
|
+
],
|
|
10741
|
+
}]
|
|
10742
|
+
}] });
|
|
10743
|
+
|
|
10744
|
+
var betweenValidationWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
10745
|
+
__proto__: null,
|
|
10746
|
+
AXPBetweenValidationWidgetEditComponent: AXPBetweenValidationWidgetEditComponent
|
|
10747
|
+
});
|
|
10748
|
+
|
|
10749
|
+
const AXPBetweenExpressionValidationWidget = {
|
|
10750
|
+
name: 'between-validation',
|
|
10751
|
+
title: 'Value Must Be Between Range',
|
|
10752
|
+
group: AXP_WIDGETS_VALIDATION_GROUP,
|
|
10753
|
+
type: 'validation',
|
|
10754
|
+
icon: 'fa-solid fa-random',
|
|
10755
|
+
visible: false,
|
|
10756
|
+
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
|
|
10757
|
+
components: {
|
|
10758
|
+
edit: {
|
|
10759
|
+
component: () => Promise.resolve().then(function () { return betweenValidationWidgetEdit_component; }).then((c) => c.AXPBetweenValidationWidgetEditComponent),
|
|
10760
|
+
},
|
|
10761
|
+
},
|
|
10762
|
+
};
|
|
10763
|
+
|
|
10764
|
+
class AXPCallbackValidationWidgetEditComponent extends AXPWidgetComponent {
|
|
10765
|
+
constructor() {
|
|
10766
|
+
super(...arguments);
|
|
10767
|
+
this.validationName = this.token.node.name;
|
|
10768
|
+
this.validationInformation = AXP_BASE_VALIDATION_INFORMATION[this.validationName];
|
|
10769
|
+
this.validationStatus = linkedSignal(() => this.getValue()?.rule === this.validationInformation.rule ? true : false);
|
|
10770
|
+
this.validationValue = linkedSignal(() => this.getValue()?.options?.validate ?? this.validationInformation.options?.validate ?? '');
|
|
10771
|
+
this.validationText = linkedSignal(() => this.getValue()?.message ?? this.validationInformation.message);
|
|
10772
|
+
this.validationPlaceholder = this.validationInformation.placeholder;
|
|
10773
|
+
this.#syncChange = effect(() => {
|
|
10774
|
+
if (this.validationStatus()) {
|
|
10775
|
+
this.setValue({
|
|
10776
|
+
rule: this.validationInformation.rule,
|
|
10777
|
+
message: this.validationText(),
|
|
10778
|
+
options: { validate: this.validationValue() },
|
|
10779
|
+
});
|
|
10780
|
+
}
|
|
10781
|
+
else
|
|
10782
|
+
this.setValue(undefined);
|
|
10783
|
+
});
|
|
10784
|
+
}
|
|
10785
|
+
ToggleRule(event) {
|
|
10786
|
+
this.validationStatus.set(event);
|
|
10787
|
+
}
|
|
10788
|
+
setValidation(event) {
|
|
10789
|
+
this.validationValue.set(event);
|
|
10790
|
+
}
|
|
10791
|
+
#syncChange;
|
|
10792
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCallbackValidationWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
10793
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPCallbackValidationWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <axp-base-validation-component
|
|
10794
|
+
[validationStatus]="validationStatus()"
|
|
10795
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
10796
|
+
[(validationText)]="validationText"
|
|
10797
|
+
>
|
|
10798
|
+
<div class="if-valid">
|
|
10799
|
+
<div>
|
|
10800
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
10801
|
+
<ax-text-area
|
|
10802
|
+
[placeholder]="validationInformation.placeholder"
|
|
10803
|
+
[ngModel]="validationValue()"
|
|
10804
|
+
(ngModelChange)="setValidation($event)"
|
|
10805
|
+
></ax-text-area>
|
|
10806
|
+
ax
|
|
10807
|
+
</div>
|
|
10808
|
+
</div>
|
|
10809
|
+
</axp-base-validation-component>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPBaseValidationComponent, selector: "axp-base-validation-component", inputs: ["validationStatus", "validationText", "validationTextPlaceholder"], outputs: ["validationStatusChange", "validationTextChange"] }, { kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i4$1.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: AXTextBoxModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10810
|
+
}
|
|
10811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPCallbackValidationWidgetEditComponent, decorators: [{
|
|
10812
|
+
type: Component,
|
|
10813
|
+
args: [{
|
|
10814
|
+
template: ` <axp-base-validation-component
|
|
10815
|
+
[validationStatus]="validationStatus()"
|
|
10816
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
10817
|
+
[(validationText)]="validationText"
|
|
10818
|
+
>
|
|
10819
|
+
<div class="if-valid">
|
|
10820
|
+
<div>
|
|
10821
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
10822
|
+
<ax-text-area
|
|
10823
|
+
[placeholder]="validationInformation.placeholder"
|
|
10824
|
+
[ngModel]="validationValue()"
|
|
10825
|
+
(ngModelChange)="setValidation($event)"
|
|
10826
|
+
></ax-text-area>
|
|
10827
|
+
ax
|
|
10828
|
+
</div>
|
|
10829
|
+
</div>
|
|
10830
|
+
</axp-base-validation-component>`,
|
|
10831
|
+
standalone: true,
|
|
10832
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10833
|
+
imports: [AXPLayoutBuilderModule, AXPBaseValidationComponent, AXTextAreaModule, AXTextBoxModule, FormsModule],
|
|
10834
|
+
}]
|
|
10835
|
+
}] });
|
|
10836
|
+
|
|
10837
|
+
var callbackValidationWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
10838
|
+
__proto__: null,
|
|
10839
|
+
AXPCallbackValidationWidgetEditComponent: AXPCallbackValidationWidgetEditComponent
|
|
10840
|
+
});
|
|
10841
|
+
|
|
10842
|
+
const AXPCallbackValidationWidget = {
|
|
10843
|
+
name: 'callback-validation',
|
|
10844
|
+
title: 'Exact Value Requirement',
|
|
10845
|
+
group: AXP_WIDGETS_VALIDATION_GROUP,
|
|
10846
|
+
type: 'validation',
|
|
10847
|
+
icon: 'fa-solid fa-callbacks',
|
|
10848
|
+
visible: false,
|
|
10849
|
+
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
|
|
10850
|
+
components: {
|
|
10851
|
+
edit: {
|
|
10852
|
+
component: () => Promise.resolve().then(function () { return callbackValidationWidgetEdit_component; }).then((c) => c.AXPCallbackValidationWidgetEditComponent),
|
|
10853
|
+
},
|
|
10854
|
+
},
|
|
10855
|
+
};
|
|
10856
|
+
|
|
10857
|
+
class AXPEqualValidationWidgetEditComponent extends AXPWidgetComponent {
|
|
10858
|
+
constructor() {
|
|
10859
|
+
super(...arguments);
|
|
10860
|
+
this.validationName = this.token.node.name;
|
|
10861
|
+
this.validationInformation = AXP_BASE_VALIDATION_INFORMATION[this.validationName];
|
|
10862
|
+
this.validationStatus = linkedSignal(() => this.getValue()?.rule === this.validationInformation.rule ? true : false);
|
|
10863
|
+
this.validationValue = linkedSignal(() => this.getValue()?.options?.value ?? this.validationInformation.options?.value ?? 1);
|
|
10864
|
+
this.validationText = linkedSignal(() => this.getValue()?.message ?? this.validationInformation.message);
|
|
10865
|
+
this.validationPlaceholder = this.validationInformation.placeholder;
|
|
10866
|
+
this.#syncChange = effect(() => {
|
|
10867
|
+
if (this.validationStatus()) {
|
|
10868
|
+
this.setValue({
|
|
10869
|
+
rule: this.validationInformation.rule,
|
|
10870
|
+
message: this.validationText(),
|
|
10871
|
+
options: { value: this.validationValue() },
|
|
10872
|
+
});
|
|
10873
|
+
}
|
|
10874
|
+
else
|
|
10875
|
+
this.setValue(undefined);
|
|
10876
|
+
});
|
|
10877
|
+
}
|
|
10878
|
+
ToggleRule(event) {
|
|
10879
|
+
this.validationStatus.set(event);
|
|
10880
|
+
}
|
|
10881
|
+
setValidation(event) {
|
|
10882
|
+
this.validationValue.set(event);
|
|
10883
|
+
}
|
|
10884
|
+
#syncChange;
|
|
10885
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPEqualValidationWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
10886
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPEqualValidationWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <axp-base-validation-component
|
|
10887
|
+
[validationStatus]="validationStatus()"
|
|
10888
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
10889
|
+
[(validationText)]="validationText"
|
|
10890
|
+
>
|
|
10891
|
+
<div class="if-valid">
|
|
10892
|
+
<div>
|
|
10893
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
10894
|
+
<ax-text-box
|
|
10895
|
+
[placeholder]="validationInformation.placeholder"
|
|
10896
|
+
[ngModel]="validationValue()"
|
|
10897
|
+
(ngModelChange)="setValidation($event)"
|
|
10898
|
+
></ax-text-box>
|
|
10899
|
+
</div>
|
|
10900
|
+
</div>
|
|
10901
|
+
</axp-base-validation-component>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPBaseValidationComponent, selector: "axp-base-validation-component", inputs: ["validationStatus", "validationText", "validationTextPlaceholder"], outputs: ["validationStatusChange", "validationTextChange"] }, { 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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10902
|
+
}
|
|
10903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPEqualValidationWidgetEditComponent, decorators: [{
|
|
10904
|
+
type: Component,
|
|
10905
|
+
args: [{
|
|
10906
|
+
template: ` <axp-base-validation-component
|
|
10907
|
+
[validationStatus]="validationStatus()"
|
|
10908
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
10909
|
+
[(validationText)]="validationText"
|
|
10910
|
+
>
|
|
10911
|
+
<div class="if-valid">
|
|
10912
|
+
<div>
|
|
10913
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
10914
|
+
<ax-text-box
|
|
10915
|
+
[placeholder]="validationInformation.placeholder"
|
|
10916
|
+
[ngModel]="validationValue()"
|
|
10917
|
+
(ngModelChange)="setValidation($event)"
|
|
10918
|
+
></ax-text-box>
|
|
10919
|
+
</div>
|
|
10920
|
+
</div>
|
|
10921
|
+
</axp-base-validation-component>`,
|
|
10922
|
+
standalone: true,
|
|
10923
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10924
|
+
imports: [AXPLayoutBuilderModule, AXPBaseValidationComponent, AXTextBoxModule, FormsModule],
|
|
10925
|
+
}]
|
|
10926
|
+
}] });
|
|
10927
|
+
|
|
10928
|
+
var equalValidationWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
10929
|
+
__proto__: null,
|
|
10930
|
+
AXPEqualValidationWidgetEditComponent: AXPEqualValidationWidgetEditComponent
|
|
10931
|
+
});
|
|
10932
|
+
|
|
10933
|
+
const AXPEqualValidationWidget = {
|
|
10934
|
+
name: 'equal-validation',
|
|
10935
|
+
title: 'Exact Value Requirement',
|
|
10936
|
+
group: AXP_WIDGETS_VALIDATION_GROUP,
|
|
10937
|
+
type: 'validation',
|
|
10938
|
+
icon: 'fa-solid fa-equals',
|
|
10939
|
+
visible: false,
|
|
10940
|
+
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
|
|
10941
|
+
components: {
|
|
10942
|
+
edit: {
|
|
10943
|
+
component: () => Promise.resolve().then(function () { return equalValidationWidgetEdit_component; }).then((c) => c.AXPEqualValidationWidgetEditComponent),
|
|
10944
|
+
},
|
|
10945
|
+
},
|
|
10946
|
+
};
|
|
10947
|
+
|
|
10948
|
+
class AXPGreaterThanValidationWidgetEditComponent extends AXPWidgetComponent {
|
|
10949
|
+
constructor() {
|
|
10950
|
+
super(...arguments);
|
|
10951
|
+
this.validationName = this.token.node.name;
|
|
10952
|
+
this.validationInformation = AXP_BASE_VALIDATION_INFORMATION[this.validationName];
|
|
10953
|
+
this.validationStatus = linkedSignal(() => this.getValue()?.rule === this.validationInformation.rule ? true : false);
|
|
10954
|
+
this.validationValue = linkedSignal(() => this.getValue()?.options?.value ?? this.validationInformation.options?.value ?? 1);
|
|
10955
|
+
this.validationInclusive = linkedSignal(() => this.getValue()?.options?.inclusive ?? this.validationInformation.options?.inclusive ?? false);
|
|
10956
|
+
this.validationText = linkedSignal(() => this.getValue()?.message ?? this.validationInformation.message);
|
|
10957
|
+
this.validationPlaceholder = this.validationInformation.placeholder;
|
|
10958
|
+
this.#syncChange = effect(() => {
|
|
10959
|
+
if (this.validationStatus()) {
|
|
10960
|
+
this.setValue({
|
|
10961
|
+
rule: this.validationInformation.rule,
|
|
10962
|
+
message: this.validationText(),
|
|
10963
|
+
options: { value: this.validationValue(), inclusive: this.validationInclusive() },
|
|
10964
|
+
});
|
|
10965
|
+
}
|
|
10966
|
+
else
|
|
10967
|
+
this.setValue(undefined);
|
|
10968
|
+
});
|
|
10969
|
+
}
|
|
10970
|
+
ToggleRule(event) {
|
|
10971
|
+
this.validationStatus.set(event);
|
|
10972
|
+
}
|
|
10973
|
+
setValidation(event) {
|
|
10974
|
+
this.validationValue.set(event);
|
|
10975
|
+
}
|
|
10976
|
+
#syncChange;
|
|
10977
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPGreaterThanValidationWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
10978
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPGreaterThanValidationWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <axp-base-validation-component
|
|
10979
|
+
[validationStatus]="validationStatus()"
|
|
10980
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
10981
|
+
[(validationText)]="validationText"
|
|
10982
|
+
>
|
|
10983
|
+
<div class="if-valid">
|
|
10984
|
+
<div>
|
|
10985
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
10986
|
+
<div class="ax-flex ax-items-center ax-gap-4">
|
|
10987
|
+
<ax-number-box
|
|
10988
|
+
[placeholder]="validationInformation.placeholder"
|
|
10989
|
+
[ngModel]="validationValue()"
|
|
10990
|
+
(ngModelChange)="setValidation($event)"
|
|
10991
|
+
></ax-number-box>
|
|
10992
|
+
<ax-check-box [ngModel]="validationInclusive()" (ngModelChange)="validationInclusive.set($event)">
|
|
10993
|
+
<ax-label>inclusive</ax-label>
|
|
10994
|
+
</ax-check-box>
|
|
10995
|
+
</div>
|
|
10996
|
+
</div>
|
|
10997
|
+
</div>
|
|
10998
|
+
</axp-base-validation-component>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPBaseValidationComponent, selector: "axp-base-validation-component", inputs: ["validationStatus", "validationText", "validationTextPlaceholder"], outputs: ["validationStatusChange", "validationTextChange"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$3.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10999
|
+
}
|
|
11000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPGreaterThanValidationWidgetEditComponent, decorators: [{
|
|
11001
|
+
type: Component,
|
|
11002
|
+
args: [{
|
|
11003
|
+
template: ` <axp-base-validation-component
|
|
11004
|
+
[validationStatus]="validationStatus()"
|
|
11005
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11006
|
+
[(validationText)]="validationText"
|
|
11007
|
+
>
|
|
11008
|
+
<div class="if-valid">
|
|
11009
|
+
<div>
|
|
11010
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
11011
|
+
<div class="ax-flex ax-items-center ax-gap-4">
|
|
11012
|
+
<ax-number-box
|
|
11013
|
+
[placeholder]="validationInformation.placeholder"
|
|
11014
|
+
[ngModel]="validationValue()"
|
|
11015
|
+
(ngModelChange)="setValidation($event)"
|
|
11016
|
+
></ax-number-box>
|
|
11017
|
+
<ax-check-box [ngModel]="validationInclusive()" (ngModelChange)="validationInclusive.set($event)">
|
|
11018
|
+
<ax-label>inclusive</ax-label>
|
|
11019
|
+
</ax-check-box>
|
|
11020
|
+
</div>
|
|
11021
|
+
</div>
|
|
11022
|
+
</div>
|
|
11023
|
+
</axp-base-validation-component>`,
|
|
11024
|
+
standalone: true,
|
|
11025
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11026
|
+
imports: [
|
|
11027
|
+
AXPLayoutBuilderModule,
|
|
11028
|
+
AXPBaseValidationComponent,
|
|
11029
|
+
AXLabelModule,
|
|
11030
|
+
AXCheckBoxModule,
|
|
11031
|
+
AXNumberBoxModule,
|
|
11032
|
+
FormsModule,
|
|
11033
|
+
],
|
|
11034
|
+
}]
|
|
11035
|
+
}] });
|
|
11036
|
+
|
|
11037
|
+
var greaterThanValidationWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
11038
|
+
__proto__: null,
|
|
11039
|
+
AXPGreaterThanValidationWidgetEditComponent: AXPGreaterThanValidationWidgetEditComponent
|
|
11040
|
+
});
|
|
11041
|
+
|
|
11042
|
+
const AXPGreaterThanExpressionValidationWidget = {
|
|
11043
|
+
name: 'greater-than-validation',
|
|
11044
|
+
title: 'Value Must Be Greater Than',
|
|
11045
|
+
group: AXP_WIDGETS_VALIDATION_GROUP,
|
|
11046
|
+
type: 'validation',
|
|
11047
|
+
icon: 'fa-solid fa-chevron-right',
|
|
11048
|
+
visible: false,
|
|
11049
|
+
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
|
|
11050
|
+
components: {
|
|
11051
|
+
edit: {
|
|
11052
|
+
component: () => Promise.resolve().then(function () { return greaterThanValidationWidgetEdit_component; }).then((c) => c.AXPGreaterThanValidationWidgetEditComponent),
|
|
11053
|
+
},
|
|
11054
|
+
},
|
|
11055
|
+
};
|
|
11056
|
+
|
|
11057
|
+
class AXPLessThanValidationWidgetEditComponent extends AXPWidgetComponent {
|
|
11058
|
+
constructor() {
|
|
11059
|
+
super(...arguments);
|
|
11060
|
+
this.validationName = this.token.node.name;
|
|
11061
|
+
this.validationInformation = AXP_BASE_VALIDATION_INFORMATION[this.validationName];
|
|
11062
|
+
this.validationStatus = linkedSignal(() => this.getValue()?.rule === this.validationInformation.rule ? true : false);
|
|
11063
|
+
this.validationValue = linkedSignal(() => this.getValue()?.options?.value ?? this.validationInformation.options?.value ?? 1);
|
|
11064
|
+
this.validationInclusive = linkedSignal(() => this.getValue()?.options?.inclusive ?? this.validationInformation.options?.inclusive ?? false);
|
|
11065
|
+
this.validationText = linkedSignal(() => this.getValue()?.message ?? this.validationInformation.message);
|
|
11066
|
+
this.validationPlaceholder = this.validationInformation.placeholder;
|
|
11067
|
+
this.#syncChange = effect(() => {
|
|
11068
|
+
if (this.validationStatus()) {
|
|
11069
|
+
this.setValue({
|
|
11070
|
+
rule: this.validationInformation.rule,
|
|
11071
|
+
message: this.validationText(),
|
|
11072
|
+
options: { value: this.validationValue(), inclusive: this.validationInclusive() },
|
|
11073
|
+
});
|
|
11074
|
+
}
|
|
11075
|
+
else
|
|
11076
|
+
this.setValue(undefined);
|
|
11077
|
+
});
|
|
11078
|
+
}
|
|
11079
|
+
ToggleRule(event) {
|
|
11080
|
+
this.validationStatus.set(event);
|
|
11081
|
+
}
|
|
11082
|
+
setValidation(event) {
|
|
11083
|
+
this.validationValue.set(event);
|
|
11084
|
+
}
|
|
11085
|
+
#syncChange;
|
|
11086
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPLessThanValidationWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11087
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPLessThanValidationWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <axp-base-validation-component
|
|
11088
|
+
[validationStatus]="validationStatus()"
|
|
11089
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11090
|
+
[(validationText)]="validationText"
|
|
11091
|
+
>
|
|
11092
|
+
<div class="if-valid">
|
|
11093
|
+
<div>
|
|
11094
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
11095
|
+
<div class="ax-flex ax-items-center ax-gap-4">
|
|
11096
|
+
<ax-number-box
|
|
11097
|
+
[placeholder]="validationInformation.placeholder"
|
|
11098
|
+
[ngModel]="validationValue()"
|
|
11099
|
+
(ngModelChange)="setValidation($event)"
|
|
11100
|
+
></ax-number-box>
|
|
11101
|
+
<ax-check-box [ngModel]="validationInclusive()" (ngModelChange)="validationInclusive.set($event)">
|
|
11102
|
+
<ax-label>inclusive</ax-label>
|
|
11103
|
+
</ax-check-box>
|
|
11104
|
+
</div>
|
|
11105
|
+
</div>
|
|
11106
|
+
</div>
|
|
11107
|
+
</axp-base-validation-component>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPBaseValidationComponent, selector: "axp-base-validation-component", inputs: ["validationStatus", "validationText", "validationTextPlaceholder"], outputs: ["validationStatusChange", "validationTextChange"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2$1.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i1.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$3.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11108
|
+
}
|
|
11109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPLessThanValidationWidgetEditComponent, decorators: [{
|
|
11110
|
+
type: Component,
|
|
11111
|
+
args: [{
|
|
11112
|
+
template: ` <axp-base-validation-component
|
|
11113
|
+
[validationStatus]="validationStatus()"
|
|
11114
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11115
|
+
[(validationText)]="validationText"
|
|
11116
|
+
>
|
|
11117
|
+
<div class="if-valid">
|
|
11118
|
+
<div>
|
|
11119
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
11120
|
+
<div class="ax-flex ax-items-center ax-gap-4">
|
|
11121
|
+
<ax-number-box
|
|
11122
|
+
[placeholder]="validationInformation.placeholder"
|
|
11123
|
+
[ngModel]="validationValue()"
|
|
11124
|
+
(ngModelChange)="setValidation($event)"
|
|
11125
|
+
></ax-number-box>
|
|
11126
|
+
<ax-check-box [ngModel]="validationInclusive()" (ngModelChange)="validationInclusive.set($event)">
|
|
11127
|
+
<ax-label>inclusive</ax-label>
|
|
11128
|
+
</ax-check-box>
|
|
11129
|
+
</div>
|
|
11130
|
+
</div>
|
|
11131
|
+
</div>
|
|
11132
|
+
</axp-base-validation-component>`,
|
|
11133
|
+
standalone: true,
|
|
11134
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11135
|
+
imports: [
|
|
11136
|
+
AXPLayoutBuilderModule,
|
|
11137
|
+
AXPBaseValidationComponent,
|
|
11138
|
+
AXLabelModule,
|
|
11139
|
+
AXCheckBoxModule,
|
|
11140
|
+
AXNumberBoxModule,
|
|
11141
|
+
FormsModule,
|
|
11142
|
+
],
|
|
11143
|
+
}]
|
|
11144
|
+
}] });
|
|
11145
|
+
|
|
11146
|
+
var lessThanValidationWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
11147
|
+
__proto__: null,
|
|
11148
|
+
AXPLessThanValidationWidgetEditComponent: AXPLessThanValidationWidgetEditComponent
|
|
11149
|
+
});
|
|
11150
|
+
|
|
11151
|
+
const AXPLessThanExpressionValidationWidget = {
|
|
11152
|
+
name: 'less-than-validation',
|
|
11153
|
+
title: 'Value Must Be Less Than',
|
|
11154
|
+
group: AXP_WIDGETS_VALIDATION_GROUP,
|
|
11155
|
+
type: 'validation',
|
|
11156
|
+
icon: 'fa-solid fa-less-than-equal',
|
|
11157
|
+
visible: false,
|
|
11158
|
+
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
|
|
11159
|
+
components: {
|
|
11160
|
+
edit: {
|
|
11161
|
+
component: () => Promise.resolve().then(function () { return lessThanValidationWidgetEdit_component; }).then((c) => c.AXPLessThanValidationWidgetEditComponent),
|
|
11162
|
+
},
|
|
11163
|
+
},
|
|
11164
|
+
};
|
|
11165
|
+
|
|
11166
|
+
class AXPMaxLengthValidationWidgetEditComponent extends AXPWidgetComponent {
|
|
11167
|
+
constructor() {
|
|
11168
|
+
super(...arguments);
|
|
11169
|
+
this.validationName = this.token.node.name;
|
|
11170
|
+
this.validationInformation = AXP_BASE_VALIDATION_INFORMATION[this.validationName];
|
|
11171
|
+
this.validationStatus = linkedSignal(() => this.getValue()?.rule === this.validationInformation.rule ? true : false);
|
|
11172
|
+
this.validationValue = linkedSignal(() => this.getValue()?.options?.value ?? this.validationInformation.options?.value ?? 2);
|
|
11173
|
+
this.validationText = linkedSignal(() => this.getValue()?.message ?? this.validationInformation.message);
|
|
11174
|
+
this.validationPlaceholder = this.validationInformation.placeholder;
|
|
11175
|
+
this.#syncChange = effect(() => {
|
|
11176
|
+
if (this.validationStatus()) {
|
|
11177
|
+
this.setValue({
|
|
11178
|
+
rule: this.validationInformation.rule,
|
|
11179
|
+
message: this.validationText(),
|
|
11180
|
+
options: { value: this.validationValue() },
|
|
11181
|
+
});
|
|
11182
|
+
}
|
|
11183
|
+
else
|
|
11184
|
+
this.setValue(undefined);
|
|
11185
|
+
});
|
|
11186
|
+
}
|
|
11187
|
+
ToggleRule(event) {
|
|
11188
|
+
this.validationStatus.set(event);
|
|
11189
|
+
}
|
|
11190
|
+
setValidation(event) {
|
|
11191
|
+
this.validationValue.set(event);
|
|
11192
|
+
}
|
|
11193
|
+
#syncChange;
|
|
11194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPMaxLengthValidationWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11195
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPMaxLengthValidationWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <axp-base-validation-component
|
|
11196
|
+
[validationStatus]="validationStatus()"
|
|
11197
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11198
|
+
[(validationText)]="validationText"
|
|
11199
|
+
>
|
|
11200
|
+
<div class="if-valid">
|
|
11201
|
+
<div>
|
|
11202
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
11203
|
+
<ax-number-box
|
|
11204
|
+
[placeholder]="validationInformation.placeholder"
|
|
11205
|
+
[ngModel]="validationValue()"
|
|
11206
|
+
(ngModelChange)="setValidation($event)"
|
|
11207
|
+
></ax-number-box>
|
|
11208
|
+
</div>
|
|
11209
|
+
</div>
|
|
11210
|
+
</axp-base-validation-component>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPBaseValidationComponent, selector: "axp-base-validation-component", inputs: ["validationStatus", "validationText", "validationTextPlaceholder"], outputs: ["validationStatusChange", "validationTextChange"] }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$3.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11211
|
+
}
|
|
11212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPMaxLengthValidationWidgetEditComponent, decorators: [{
|
|
11213
|
+
type: Component,
|
|
11214
|
+
args: [{
|
|
11215
|
+
template: ` <axp-base-validation-component
|
|
11216
|
+
[validationStatus]="validationStatus()"
|
|
11217
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11218
|
+
[(validationText)]="validationText"
|
|
11219
|
+
>
|
|
11220
|
+
<div class="if-valid">
|
|
11221
|
+
<div>
|
|
11222
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
11223
|
+
<ax-number-box
|
|
11224
|
+
[placeholder]="validationInformation.placeholder"
|
|
11225
|
+
[ngModel]="validationValue()"
|
|
11226
|
+
(ngModelChange)="setValidation($event)"
|
|
11227
|
+
></ax-number-box>
|
|
11228
|
+
</div>
|
|
11229
|
+
</div>
|
|
11230
|
+
</axp-base-validation-component>`,
|
|
11231
|
+
standalone: true,
|
|
11232
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11233
|
+
imports: [AXPLayoutBuilderModule, AXPBaseValidationComponent, AXNumberBoxModule, FormsModule],
|
|
11234
|
+
}]
|
|
11235
|
+
}] });
|
|
11236
|
+
|
|
11237
|
+
var maxLengthValidationWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
11238
|
+
__proto__: null,
|
|
11239
|
+
AXPMaxLengthValidationWidgetEditComponent: AXPMaxLengthValidationWidgetEditComponent
|
|
11240
|
+
});
|
|
11241
|
+
|
|
11242
|
+
const AXPMaxLengthExpressionValidationWidget = {
|
|
11243
|
+
name: 'max-length-validation',
|
|
11244
|
+
title: 'Maximum Character Limit',
|
|
11245
|
+
group: AXP_WIDGETS_VALIDATION_GROUP,
|
|
11246
|
+
type: 'validation',
|
|
11247
|
+
icon: 'fa-solid fa-text-slash',
|
|
11248
|
+
visible: false,
|
|
11249
|
+
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
|
|
11250
|
+
components: {
|
|
11251
|
+
edit: {
|
|
11252
|
+
component: () => Promise.resolve().then(function () { return maxLengthValidationWidgetEdit_component; }).then((c) => c.AXPMaxLengthValidationWidgetEditComponent),
|
|
11253
|
+
},
|
|
11254
|
+
},
|
|
11255
|
+
};
|
|
11256
|
+
|
|
11257
|
+
class AXPMinLengthValidationWidgetEditComponent extends AXPWidgetComponent {
|
|
11258
|
+
constructor() {
|
|
11259
|
+
super(...arguments);
|
|
11260
|
+
this.validationName = this.token.node.name;
|
|
11261
|
+
this.validationInformation = AXP_BASE_VALIDATION_INFORMATION[this.validationName];
|
|
11262
|
+
this.validationStatus = linkedSignal(() => this.getValue()?.rule === this.validationInformation.rule ? true : false);
|
|
11263
|
+
this.validationValue = linkedSignal(() => this.getValue()?.options?.value ?? this.validationInformation.options?.value ?? 1);
|
|
11264
|
+
this.validationText = linkedSignal(() => this.getValue()?.message ?? this.validationInformation.message);
|
|
11265
|
+
this.validationPlaceholder = this.validationInformation.placeholder;
|
|
11266
|
+
this.#syncChange = effect(() => {
|
|
11267
|
+
if (this.validationStatus()) {
|
|
11268
|
+
this.setValue({
|
|
11269
|
+
rule: this.validationInformation.rule,
|
|
11270
|
+
message: this.validationText(),
|
|
11271
|
+
options: { value: this.validationValue() },
|
|
11272
|
+
});
|
|
11273
|
+
}
|
|
11274
|
+
else
|
|
11275
|
+
this.setValue(undefined);
|
|
11276
|
+
});
|
|
11277
|
+
}
|
|
11278
|
+
ToggleRule(event) {
|
|
11279
|
+
this.validationStatus.set(event);
|
|
11280
|
+
}
|
|
11281
|
+
setValidation(event) {
|
|
11282
|
+
this.validationValue.set(event);
|
|
11283
|
+
}
|
|
11284
|
+
#syncChange;
|
|
11285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPMinLengthValidationWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11286
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPMinLengthValidationWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <axp-base-validation-component
|
|
11287
|
+
[validationStatus]="validationStatus()"
|
|
11288
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11289
|
+
[(validationText)]="validationText"
|
|
11290
|
+
>
|
|
11291
|
+
<div class="if-valid">
|
|
11292
|
+
<div>
|
|
11293
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
11294
|
+
<ax-number-box
|
|
11295
|
+
[placeholder]="validationInformation.placeholder"
|
|
11296
|
+
[ngModel]="validationValue()"
|
|
11297
|
+
(ngModelChange)="setValidation($event)"
|
|
11298
|
+
></ax-number-box>
|
|
11299
|
+
</div>
|
|
11300
|
+
</div>
|
|
11301
|
+
</axp-base-validation-component>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPBaseValidationComponent, selector: "axp-base-validation-component", inputs: ["validationStatus", "validationText", "validationTextPlaceholder"], outputs: ["validationStatusChange", "validationTextChange"] }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$3.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11302
|
+
}
|
|
11303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPMinLengthValidationWidgetEditComponent, decorators: [{
|
|
11304
|
+
type: Component,
|
|
11305
|
+
args: [{
|
|
11306
|
+
template: ` <axp-base-validation-component
|
|
11307
|
+
[validationStatus]="validationStatus()"
|
|
11308
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11309
|
+
[(validationText)]="validationText"
|
|
11310
|
+
>
|
|
11311
|
+
<div class="if-valid">
|
|
11312
|
+
<div>
|
|
11313
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
11314
|
+
<ax-number-box
|
|
11315
|
+
[placeholder]="validationInformation.placeholder"
|
|
11316
|
+
[ngModel]="validationValue()"
|
|
11317
|
+
(ngModelChange)="setValidation($event)"
|
|
11318
|
+
></ax-number-box>
|
|
11319
|
+
</div>
|
|
11320
|
+
</div>
|
|
11321
|
+
</axp-base-validation-component>`,
|
|
11322
|
+
standalone: true,
|
|
11323
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11324
|
+
imports: [AXPLayoutBuilderModule, AXPBaseValidationComponent, AXNumberBoxModule, FormsModule],
|
|
11325
|
+
}]
|
|
11326
|
+
}] });
|
|
11327
|
+
|
|
11328
|
+
var minLengthValidationWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
11329
|
+
__proto__: null,
|
|
11330
|
+
AXPMinLengthValidationWidgetEditComponent: AXPMinLengthValidationWidgetEditComponent
|
|
11331
|
+
});
|
|
11332
|
+
|
|
11333
|
+
const AXPMinLengthExpressionValidationWidget = {
|
|
11334
|
+
name: 'min-length-validation',
|
|
11335
|
+
title: 'Minimum Character Limit',
|
|
11336
|
+
group: AXP_WIDGETS_VALIDATION_GROUP,
|
|
11337
|
+
type: 'validation',
|
|
11338
|
+
icon: 'fa-solid fa-text-width',
|
|
11339
|
+
visible: false,
|
|
11340
|
+
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
|
|
11341
|
+
components: {
|
|
11342
|
+
edit: {
|
|
11343
|
+
component: () => Promise.resolve().then(function () { return minLengthValidationWidgetEdit_component; }).then((c) => c.AXPMinLengthValidationWidgetEditComponent),
|
|
11344
|
+
},
|
|
11345
|
+
},
|
|
11346
|
+
};
|
|
11347
|
+
|
|
11348
|
+
class AXPRegularExpressionValidationWidgetEditComponent extends AXPWidgetComponent {
|
|
11349
|
+
constructor() {
|
|
11350
|
+
super(...arguments);
|
|
11351
|
+
this.validationName = this.token.node.name;
|
|
11352
|
+
this.validationInformation = AXP_BASE_VALIDATION_INFORMATION[this.validationName];
|
|
11353
|
+
this.validationStatus = linkedSignal(() => this.getValue()?.rule === this.validationInformation.rule ? true : false);
|
|
11354
|
+
this.validationValue = linkedSignal(() => this.getValue()?.options?.value ?? this.validationInformation.options?.pattern ?? '');
|
|
11355
|
+
this.validationText = linkedSignal(() => this.getValue()?.message ?? this.validationInformation.message);
|
|
11356
|
+
this.validationPlaceholder = this.validationInformation.placeholder;
|
|
11357
|
+
this.#syncChange = effect(() => {
|
|
11358
|
+
if (this.validationStatus()) {
|
|
11359
|
+
this.setValue({
|
|
11360
|
+
rule: this.validationInformation.rule,
|
|
11361
|
+
message: this.validationText(),
|
|
11362
|
+
options: { pattern: this.validationValue() },
|
|
11363
|
+
});
|
|
11364
|
+
}
|
|
11365
|
+
else
|
|
11366
|
+
this.setValue(undefined);
|
|
11367
|
+
});
|
|
11368
|
+
}
|
|
11369
|
+
ToggleRule(event) {
|
|
11370
|
+
this.validationStatus.set(event);
|
|
11371
|
+
}
|
|
11372
|
+
setValidation(event) {
|
|
11373
|
+
this.validationValue.set(event);
|
|
11374
|
+
}
|
|
11375
|
+
#syncChange;
|
|
11376
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPRegularExpressionValidationWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11377
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPRegularExpressionValidationWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ` <axp-base-validation-component
|
|
11378
|
+
[validationStatus]="validationStatus()"
|
|
11379
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11380
|
+
[(validationText)]="validationText"
|
|
11381
|
+
>
|
|
11382
|
+
<div class="if-valid">
|
|
11383
|
+
<div>
|
|
11384
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
11385
|
+
<ax-text-box
|
|
11386
|
+
[placeholder]="validationInformation.placeholder"
|
|
11387
|
+
[ngModel]="validationValue()"
|
|
11388
|
+
(ngModelChange)="setValidation($event)"
|
|
11389
|
+
></ax-text-box>
|
|
11390
|
+
</div>
|
|
11391
|
+
</div>
|
|
11392
|
+
</axp-base-validation-component>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPBaseValidationComponent, selector: "axp-base-validation-component", inputs: ["validationStatus", "validationText", "validationTextPlaceholder"], outputs: ["validationStatusChange", "validationTextChange"] }, { 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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11393
|
+
}
|
|
11394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPRegularExpressionValidationWidgetEditComponent, decorators: [{
|
|
11395
|
+
type: Component,
|
|
11396
|
+
args: [{
|
|
11397
|
+
template: ` <axp-base-validation-component
|
|
11398
|
+
[validationStatus]="validationStatus()"
|
|
11399
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11400
|
+
[(validationText)]="validationText"
|
|
11401
|
+
>
|
|
11402
|
+
<div class="if-valid">
|
|
11403
|
+
<div>
|
|
11404
|
+
<p class="ax-pb-1">{{ validationInformation.title }}</p>
|
|
11405
|
+
<ax-text-box
|
|
11406
|
+
[placeholder]="validationInformation.placeholder"
|
|
11407
|
+
[ngModel]="validationValue()"
|
|
11408
|
+
(ngModelChange)="setValidation($event)"
|
|
11409
|
+
></ax-text-box>
|
|
11410
|
+
</div>
|
|
11411
|
+
</div>
|
|
11412
|
+
</axp-base-validation-component>`,
|
|
11413
|
+
standalone: true,
|
|
11414
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11415
|
+
imports: [AXPLayoutBuilderModule, AXPBaseValidationComponent, AXTextBoxModule, FormsModule],
|
|
11416
|
+
}]
|
|
11417
|
+
}] });
|
|
11418
|
+
|
|
11419
|
+
var regularExpressionValidationWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
11420
|
+
__proto__: null,
|
|
11421
|
+
AXPRegularExpressionValidationWidgetEditComponent: AXPRegularExpressionValidationWidgetEditComponent
|
|
11422
|
+
});
|
|
11423
|
+
|
|
11424
|
+
const AXPRegularExpressionValidationWidget = {
|
|
11425
|
+
name: 'regular-expression-validation',
|
|
11426
|
+
title: 'Regex Pattern Matching Validation',
|
|
11427
|
+
group: AXP_WIDGETS_VALIDATION_GROUP,
|
|
11428
|
+
type: 'validation',
|
|
11429
|
+
icon: 'fa-solid fa-code',
|
|
11430
|
+
visible: false,
|
|
11431
|
+
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
|
|
11432
|
+
components: {
|
|
11433
|
+
edit: {
|
|
11434
|
+
component: () => Promise.resolve().then(function () { return regularExpressionValidationWidgetEdit_component; }).then((c) => c.AXPRegularExpressionValidationWidgetEditComponent),
|
|
11435
|
+
},
|
|
11436
|
+
},
|
|
11437
|
+
};
|
|
11438
|
+
|
|
11439
|
+
class AXPRequiredValidationWidgetEditComponent extends AXPWidgetComponent {
|
|
11440
|
+
constructor() {
|
|
11441
|
+
super(...arguments);
|
|
11442
|
+
this.validationName = this.token.node.name;
|
|
11443
|
+
this.validationInformation = AXP_BASE_VALIDATION_INFORMATION[this.validationName];
|
|
11444
|
+
this.validationStatus = linkedSignal(() => this.getValue()?.rule === this.validationInformation.rule ? true : false);
|
|
11445
|
+
this.validationText = linkedSignal(() => this.getValue()?.message ?? this.validationInformation.message);
|
|
11446
|
+
this.validationPlaceholder = this.validationInformation.placeholder;
|
|
11447
|
+
this.#syncChange = effect(() => {
|
|
11448
|
+
if (this.validationStatus()) {
|
|
11449
|
+
this.setValue({ rule: this.validationInformation.rule, message: this.validationText() });
|
|
11450
|
+
}
|
|
11451
|
+
else
|
|
11452
|
+
this.setValue(undefined);
|
|
11453
|
+
});
|
|
11454
|
+
}
|
|
11455
|
+
ToggleRule(event) {
|
|
11456
|
+
this.validationStatus.set(event);
|
|
11457
|
+
}
|
|
11458
|
+
#syncChange;
|
|
11459
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPRequiredValidationWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11460
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: AXPRequiredValidationWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<axp-base-validation-component
|
|
11461
|
+
[validationStatus]="validationStatus()"
|
|
11462
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11463
|
+
[(validationText)]="validationText"
|
|
11464
|
+
[validationTextPlaceholder]="validationPlaceholder"
|
|
11465
|
+
>
|
|
11466
|
+
</axp-base-validation-component>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: AXPBaseValidationComponent, selector: "axp-base-validation-component", inputs: ["validationStatus", "validationText", "validationTextPlaceholder"], outputs: ["validationStatusChange", "validationTextChange"] }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11467
|
+
}
|
|
11468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPRequiredValidationWidgetEditComponent, decorators: [{
|
|
11469
|
+
type: Component,
|
|
11470
|
+
args: [{
|
|
11471
|
+
template: `<axp-base-validation-component
|
|
11472
|
+
[validationStatus]="validationStatus()"
|
|
11473
|
+
(validationStatusChange)="ToggleRule($event)"
|
|
11474
|
+
[(validationText)]="validationText"
|
|
11475
|
+
[validationTextPlaceholder]="validationPlaceholder"
|
|
11476
|
+
>
|
|
11477
|
+
</axp-base-validation-component>`,
|
|
11478
|
+
standalone: true,
|
|
11479
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11480
|
+
imports: [AXPLayoutBuilderModule, AXPBaseValidationComponent, FormsModule],
|
|
11481
|
+
}]
|
|
11482
|
+
}] });
|
|
11483
|
+
|
|
11484
|
+
var requiredValidationWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
11485
|
+
__proto__: null,
|
|
11486
|
+
AXPRequiredValidationWidgetEditComponent: AXPRequiredValidationWidgetEditComponent
|
|
11487
|
+
});
|
|
11488
|
+
|
|
11489
|
+
const AXPRequiredValidationWidget = {
|
|
11490
|
+
name: 'required-validation',
|
|
11491
|
+
title: 'Mandatory Field Validation',
|
|
11492
|
+
group: AXP_WIDGETS_VALIDATION_GROUP,
|
|
11493
|
+
type: 'validation',
|
|
11494
|
+
icon: 'fa-solid fa-exclamation-circle',
|
|
11495
|
+
visible: false,
|
|
11496
|
+
properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
|
|
11497
|
+
components: {
|
|
11498
|
+
edit: {
|
|
11499
|
+
component: () => Promise.resolve().then(function () { return requiredValidationWidgetEdit_component; }).then((c) => c.AXPRequiredValidationWidgetEditComponent),
|
|
11500
|
+
},
|
|
11501
|
+
},
|
|
11502
|
+
};
|
|
11503
|
+
|
|
10348
11504
|
class AXPCronJobWidgetViewComponent extends AXPWidgetComponent {
|
|
10349
11505
|
constructor() {
|
|
10350
11506
|
super(...arguments);
|
|
@@ -10824,6 +11980,7 @@ class AXPBooleanFilterWidgetEditComponent extends AXPWidgetComponent {
|
|
|
10824
11980
|
this.value = computed(() => this.getValue()?.value);
|
|
10825
11981
|
this.trulyText = computed(() => this.options()['trulyText']);
|
|
10826
11982
|
this.falsyText = computed(() => this.options()['falsyText']);
|
|
11983
|
+
this.negative = computed(() => this.options()['negative']);
|
|
10827
11984
|
this.translateService = inject(AXTranslationService);
|
|
10828
11985
|
this.items = [];
|
|
10829
11986
|
this.dataSource = new AXDataSource({
|
|
@@ -10852,7 +12009,7 @@ class AXPBooleanFilterWidgetEditComponent extends AXPWidgetComponent {
|
|
|
10852
12009
|
if (e.isUserInteraction) {
|
|
10853
12010
|
this.setValue({
|
|
10854
12011
|
value: e.value,
|
|
10855
|
-
operation: 'equal',
|
|
12012
|
+
operation: this.negative() ? 'notEqual' : 'equal',
|
|
10856
12013
|
});
|
|
10857
12014
|
}
|
|
10858
12015
|
}
|
|
@@ -12483,6 +13640,16 @@ class AXPWidgetsModule {
|
|
|
12483
13640
|
AXPFlexOptionsWidget,
|
|
12484
13641
|
AXPGridOptionsWidget,
|
|
12485
13642
|
AXPAdvancedGridOptionsWidget,
|
|
13643
|
+
//validations
|
|
13644
|
+
AXPRequiredValidationWidget,
|
|
13645
|
+
AXPRegularExpressionValidationWidget,
|
|
13646
|
+
AXPMinLengthExpressionValidationWidget,
|
|
13647
|
+
AXPMaxLengthExpressionValidationWidget,
|
|
13648
|
+
AXPLessThanExpressionValidationWidget,
|
|
13649
|
+
AXPGreaterThanExpressionValidationWidget,
|
|
13650
|
+
AXPBetweenExpressionValidationWidget,
|
|
13651
|
+
AXPEqualValidationWidget,
|
|
13652
|
+
AXPCallbackValidationWidget,
|
|
12486
13653
|
],
|
|
12487
13654
|
})] }); }
|
|
12488
13655
|
}
|
|
@@ -12538,6 +13705,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
12538
13705
|
AXPFlexOptionsWidget,
|
|
12539
13706
|
AXPGridOptionsWidget,
|
|
12540
13707
|
AXPAdvancedGridOptionsWidget,
|
|
13708
|
+
//validations
|
|
13709
|
+
AXPRequiredValidationWidget,
|
|
13710
|
+
AXPRegularExpressionValidationWidget,
|
|
13711
|
+
AXPMinLengthExpressionValidationWidget,
|
|
13712
|
+
AXPMaxLengthExpressionValidationWidget,
|
|
13713
|
+
AXPLessThanExpressionValidationWidget,
|
|
13714
|
+
AXPGreaterThanExpressionValidationWidget,
|
|
13715
|
+
AXPBetweenExpressionValidationWidget,
|
|
13716
|
+
AXPEqualValidationWidget,
|
|
13717
|
+
AXPCallbackValidationWidget,
|
|
12541
13718
|
],
|
|
12542
13719
|
}),
|
|
12543
13720
|
],
|
|
@@ -12551,5 +13728,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
12551
13728
|
* Generated bundle index. Do not edit.
|
|
12552
13729
|
*/
|
|
12553
13730
|
|
|
12554
|
-
export { AXPAdvancedGridItemWidget, AXPAdvancedGridItemWidgetDesignerComponent, AXPAdvancedGridItemWidgetPrintComponent, AXPAdvancedGridItemWidgetViewComponent, AXPAdvancedGridOptionsWidget, AXPAdvancedGridOptionsWidgetEditComponent, AXPAdvancedGridWidget, AXPAdvancedGridWidgetDesignerComponent, AXPAdvancedGridWidgetViewComponent, AXPAvatarWidget, AXPAvatarWidgetColumnComponent, AXPAvatarWidgetDesignerComponent, AXPAvatarWidgetEditComponent, AXPAvatarWidgetPrintComponent, AXPAvatarWidgetViewComponent, AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPBorderWidget, AXPBorderWidgetEditComponent, AXPButtonWidget, AXPButtonWidgetViewComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetEditComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetPrintComponent, AXPContactWidgetViewComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetFilterComponent, AXPDateTimeBoxWidgetPrintComponent, AXPDateTimeBoxWidgetViewComponent, AXPEmailBoxWidget, AXPEmailBoxWidgetColumnComponent, AXPEmailBoxWidgetEditComponent, AXPEmailBoxWidgetFilterComponent, AXPEmailBoxWidgetPrintComponent, AXPEmailBoxWidgetViewComponent, AXPFileBoxWidget, AXPFileBoxWidgetColumnComponent, AXPFileBoxWidgetEditComponent, AXPFileBoxWidgetFilterComponent, AXPFileBoxWidgetPrintComponent, AXPFileBoxWidgetViewComponent, AXPFileManagementService, AXPFlexOptionsWidget, AXPFlexOptionsWidgetEditComponent, AXPGalleryWidget, AXPGalleryWidgetColumnComponent, AXPGalleryWidgetEditComponent, AXPGalleryWidgetFilterComponent, AXPGalleryWidgetPrintComponent, AXPGalleryWidgetViewComponent, AXPGridOptionsWidget, AXPGridOptionsWidgetEditComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetFilterComponent, AXPLargeTextWidgetPrintComponent, AXPLargeTextWidgetViewComponent, AXPLinkWidget, AXPLinkWidgetColumnComponent, AXPLinkWidgetEditComponent, AXPLinkWidgetFilterComponent, AXPLinkWidgetPrintComponent, AXPLinkWidgetViewComponent, AXPMapBoxWidget, AXPMapBoxWidgetEditComponent, AXPMapBoxWidgetViewComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetFilterComponent, AXPNumberBoxWidgetPrintComponent, AXPNumberBoxWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetFilterComponent, AXPPasswordBoxWidgetPrintComponent, AXPPasswordBoxWidgetViewComponent, AXPPhoneBoxWidget, AXPPhoneBoxWidgetColumnComponent, AXPPhoneBoxWidgetEditComponent, AXPPhoneBoxWidgetFilterComponent, AXPPhoneBoxWidgetPrintComponent, AXPPhoneBoxWidgetViewComponent, AXPPropertyEditorHelper, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetPrintComponent, AXPRepeaterWidgetViewComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetFilterComponent, AXPRichTextWidgetPrintComponent, AXPRichTextWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetFilterComponent, AXPSelectBoxWidgetPrintComponent, AXPSelectBoxWidgetViewComponent, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetFilterComponent, AXPSelectionListWidgetPrintComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetFilterComponent, AXPSignatureWidgetPrintComponent, AXPSignatureWidgetViewComponent, AXPSpacingWidget, AXPSpacingWidgetEditComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetFilterComponent, AXPTextBoxWidgetPrintComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetFilterComponent, AXPToggleWidgetPrintComponent, AXPToggleWidgetViewComponent, AXPWidgetsModule, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_ALLOW_SEARCH_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BG_COLOR_PROPERTY, AXP_BOX_MODEL_PROPERTY_GROUP, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_PROPERTY, AXP_DATE_FORMAT_PROPERTY, AXP_DESCRIPTION_PROPERTY, AXP_DIRECTION_PROPERTY, AXP_DISABLED_PROPERTY, AXP_DOWNLOADABLE_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_FONT_SIZE_PROPERTY, AXP_Flex_Box_Align_Options, AXP_Flex_Box_Alignments, AXP_Flex_Box_Justify_Options, AXP_Grid_Box_Align_Items_Options, AXP_Grid_Box_Alignments, AXP_Grid_Box_Justify_Items_Options, AXP_HAS_CLEAR_BUTTON_PROPERTY, AXP_HAS_COPY_ICON_PROPERTY, AXP_HAS_EYE_ICON_PROPERTY, AXP_HAS_ICON_PROPERTY, AXP_HAS_LABEL_PROPERTY, AXP_ICON_PROPERTY, AXP_IS_LOADING_PROPERTY, AXP_LABEL_PROPERTY, AXP_LAYOUT_ADVANCED_GRID_PROPERTY, AXP_LAYOUT_ALIGN_CONTENT_PROPERTY, AXP_LAYOUT_BORDER_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_COL_END_PROPERTY, AXP_LAYOUT_COL_SPAN_PROPERTY, AXP_LAYOUT_COL_START_PROPERTY, AXP_LAYOUT_FLEX_ALIGN_PROPERTY, AXP_LAYOUT_FLEX_DIRECTION_PROPERTY, AXP_LAYOUT_FLEX_JUSTIFY_PROPERTY, AXP_LAYOUT_FLEX_PROPERTIES, AXP_LAYOUT_FLEX_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY_GROUP, AXP_LAYOUT_FLEX_WRAP_PROPERTY, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_GRID_ITEM_PROPERTIES, AXP_LAYOUT_GRID_PROPERTIES, AXP_LAYOUT_GRID_PROPERTY, AXP_LAYOUT_GRID_PROPERTY_GROUP, AXP_LAYOUT_GRID_ROW_PROPERTIES, AXP_LAYOUT_ROWS_PROPERTY, AXP_LAYOUT_SPACING_PROPERTY, AXP_NAME_PROPERTY, AXP_PLACEHOLDER_PROPERTY, AXP_READONLY_PROPERTY, AXP_STYLE_COLOR_PROPERTY, AXP_STYLE_LOOK_PROPERTY, AXP_STYLING_PROPERTY_GROUP, AXP_TABLE_COLUMN_HEIGHT_PROPERTY, AXP_TABLE_COLUMN_WIDTH_PROPERTY, AXP_TEXT_FIELD_PROPERTY, AXP_TEXT_PROPERTY, AXP_THEME_PROPERTY, AXP_TITLE_PROPERTY, AXP_TRULY_TEXT_PROPERTY, AXP_VALIDATION_PROPERTY, AXP_VALUE_FIELD_PROPERTY, AXP_WIDGET_PROPERTY_GROUP, AXP_default_Border_Box_Units, AXP_default_Border_Box_Value, AXP_default_Spacing_Box_Units, AXP_default_Spacing_Box_Value, DEFAULT_STRATEGY_CONFIG, STRATEGY_CONFIG_TOKEN, booleanDefaultProperty, findNonEmptyBreakpoints, largeTextDefaultProperty, numberDefaultProperty, numberMaxValueProperty, numberMinValueProperty, plainTextDefaultProperty };
|
|
13731
|
+
export { AXPAdvancedGridItemWidget, AXPAdvancedGridItemWidgetDesignerComponent, AXPAdvancedGridItemWidgetPrintComponent, AXPAdvancedGridItemWidgetViewComponent, AXPAdvancedGridOptionsWidget, AXPAdvancedGridOptionsWidgetEditComponent, AXPAdvancedGridWidget, AXPAdvancedGridWidgetDesignerComponent, AXPAdvancedGridWidgetViewComponent, AXPAvatarWidget, AXPAvatarWidgetColumnComponent, AXPAvatarWidgetDesignerComponent, AXPAvatarWidgetEditComponent, AXPAvatarWidgetPrintComponent, AXPAvatarWidgetViewComponent, AXPBetweenExpressionValidationWidget, AXPBetweenValidationWidgetEditComponent, AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPBorderWidget, AXPBorderWidgetEditComponent, AXPButtonWidget, AXPButtonWidgetViewComponent, AXPCallbackValidationWidget, AXPCallbackValidationWidgetEditComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetEditComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetPrintComponent, AXPContactWidgetViewComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetFilterComponent, AXPDateTimeBoxWidgetPrintComponent, AXPDateTimeBoxWidgetViewComponent, AXPEmailBoxWidget, AXPEmailBoxWidgetColumnComponent, AXPEmailBoxWidgetEditComponent, AXPEmailBoxWidgetFilterComponent, AXPEmailBoxWidgetPrintComponent, AXPEmailBoxWidgetViewComponent, AXPEqualValidationWidget, AXPEqualValidationWidgetEditComponent, AXPFileBoxWidget, AXPFileBoxWidgetColumnComponent, AXPFileBoxWidgetEditComponent, AXPFileBoxWidgetFilterComponent, AXPFileBoxWidgetPrintComponent, AXPFileBoxWidgetViewComponent, AXPFileManagementService, AXPFlexOptionsWidget, AXPFlexOptionsWidgetEditComponent, AXPGalleryWidget, AXPGalleryWidgetColumnComponent, AXPGalleryWidgetEditComponent, AXPGalleryWidgetFilterComponent, AXPGalleryWidgetPrintComponent, AXPGalleryWidgetViewComponent, AXPGreaterThanExpressionValidationWidget, AXPGreaterThanValidationWidgetEditComponent, AXPGridOptionsWidget, AXPGridOptionsWidgetEditComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetFilterComponent, AXPLargeTextWidgetPrintComponent, AXPLargeTextWidgetViewComponent, AXPLessThanExpressionValidationWidget, AXPLessThanValidationWidgetEditComponent, AXPLinkWidget, AXPLinkWidgetColumnComponent, AXPLinkWidgetEditComponent, AXPLinkWidgetFilterComponent, AXPLinkWidgetPrintComponent, AXPLinkWidgetViewComponent, AXPMapBoxWidget, AXPMapBoxWidgetEditComponent, AXPMapBoxWidgetViewComponent, AXPMaxLengthExpressionValidationWidget, AXPMaxLengthValidationWidgetEditComponent, AXPMinLengthExpressionValidationWidget, AXPMinLengthValidationWidgetEditComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetFilterComponent, AXPNumberBoxWidgetPrintComponent, AXPNumberBoxWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetFilterComponent, AXPPasswordBoxWidgetPrintComponent, AXPPasswordBoxWidgetViewComponent, AXPPhoneBoxWidget, AXPPhoneBoxWidgetColumnComponent, AXPPhoneBoxWidgetEditComponent, AXPPhoneBoxWidgetFilterComponent, AXPPhoneBoxWidgetPrintComponent, AXPPhoneBoxWidgetViewComponent, AXPPropertyEditorHelper, AXPRegularExpressionValidationWidget, AXPRegularExpressionValidationWidgetEditComponent, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetPrintComponent, AXPRepeaterWidgetViewComponent, AXPRequiredValidationWidget, AXPRequiredValidationWidgetEditComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetFilterComponent, AXPRichTextWidgetPrintComponent, AXPRichTextWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetFilterComponent, AXPSelectBoxWidgetPrintComponent, AXPSelectBoxWidgetViewComponent, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetFilterComponent, AXPSelectionListWidgetPrintComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetFilterComponent, AXPSignatureWidgetPrintComponent, AXPSignatureWidgetViewComponent, AXPSpacingWidget, AXPSpacingWidgetEditComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetFilterComponent, AXPTextBoxWidgetPrintComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetFilterComponent, AXPToggleWidgetPrintComponent, AXPToggleWidgetViewComponent, AXPWidgetsModule, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_ALLOW_SEARCH_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BG_COLOR_PROPERTY, AXP_BOX_MODEL_PROPERTY_GROUP, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_PROPERTY, AXP_DATE_FORMAT_PROPERTY, AXP_DESCRIPTION_PROPERTY, AXP_DIRECTION_PROPERTY, AXP_DISABLED_PROPERTY, AXP_DOWNLOADABLE_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_FONT_SIZE_PROPERTY, AXP_Flex_Box_Align_Options, AXP_Flex_Box_Alignments, AXP_Flex_Box_Justify_Options, AXP_Grid_Box_Align_Items_Options, AXP_Grid_Box_Alignments, AXP_Grid_Box_Justify_Items_Options, AXP_HAS_CLEAR_BUTTON_PROPERTY, AXP_HAS_COPY_ICON_PROPERTY, AXP_HAS_EYE_ICON_PROPERTY, AXP_HAS_ICON_PROPERTY, AXP_HAS_LABEL_PROPERTY, AXP_ICON_PROPERTY, AXP_IS_LOADING_PROPERTY, AXP_LABEL_PROPERTY, AXP_LAYOUT_ADVANCED_GRID_PROPERTY, AXP_LAYOUT_ALIGN_CONTENT_PROPERTY, AXP_LAYOUT_BORDER_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_COL_END_PROPERTY, AXP_LAYOUT_COL_SPAN_PROPERTY, AXP_LAYOUT_COL_START_PROPERTY, AXP_LAYOUT_FLEX_ALIGN_PROPERTY, AXP_LAYOUT_FLEX_DIRECTION_PROPERTY, AXP_LAYOUT_FLEX_JUSTIFY_PROPERTY, AXP_LAYOUT_FLEX_PROPERTIES, AXP_LAYOUT_FLEX_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY_GROUP, AXP_LAYOUT_FLEX_WRAP_PROPERTY, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_GRID_ITEM_PROPERTIES, AXP_LAYOUT_GRID_PROPERTIES, AXP_LAYOUT_GRID_PROPERTY, AXP_LAYOUT_GRID_PROPERTY_GROUP, AXP_LAYOUT_GRID_ROW_PROPERTIES, AXP_LAYOUT_ROWS_PROPERTY, AXP_LAYOUT_SPACING_PROPERTY, AXP_NAME_PROPERTY, AXP_PLACEHOLDER_PROPERTY, AXP_READONLY_PROPERTY, AXP_STYLE_COLOR_PROPERTY, AXP_STYLE_LOOK_PROPERTY, AXP_STYLING_PROPERTY_GROUP, AXP_TABLE_COLUMN_HEIGHT_PROPERTY, AXP_TABLE_COLUMN_WIDTH_PROPERTY, AXP_TEXT_FIELD_PROPERTY, AXP_TEXT_PROPERTY, AXP_THEME_PROPERTY, AXP_TITLE_PROPERTY, AXP_TRULY_TEXT_PROPERTY, AXP_VALIDATION_PROPERTY, AXP_VALIDATION_PROPERTY_GROUP, AXP_VALUE_FIELD_PROPERTY, AXP_WIDGET_PROPERTY_GROUP, AXP_default_Border_Box_Units, AXP_default_Border_Box_Value, AXP_default_Spacing_Box_Units, AXP_default_Spacing_Box_Value, DEFAULT_STRATEGY_CONFIG, STRATEGY_CONFIG_TOKEN, booleanDefaultProperty, findNonEmptyBreakpoints, largeTextDefaultProperty, numberDefaultProperty, numberMaxValueProperty, numberMinValueProperty, plainTextDefaultProperty };
|
|
12555
13732
|
//# sourceMappingURL=acorex-platform-widgets.mjs.map
|