@acorex/components 4.2.42 → 4.2.44
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/esm2020/lib/property-editor/editors/number-editor/number.editor.mjs +28 -25
- package/esm2020/lib/property-editor/editors/selection-editor/selection-editor.mjs +26 -29
- package/esm2020/lib/property-editor/editors/text-editor/text.editor.mjs +6 -3
- package/esm2020/lib/search-bar/search-bar.component.mjs +69 -20
- package/esm2020/lib/search-bar/search-bar.module.mjs +5 -4
- package/esm2020/lib/validation/validation-form.component.mjs +2 -3
- package/fesm2015/acorex-components.mjs +160 -109
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +122 -73
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/property-editor/editors/number-editor/number.editor.d.ts +1 -0
- package/lib/property-editor/editors/selection-editor/selection-editor.d.ts +1 -0
- package/lib/property-editor/editors/text-editor/text.editor.d.ts +3 -0
- package/lib/search-bar/search-bar.component.d.ts +6 -1
- package/lib/search-bar/search-bar.module.d.ts +2 -1
- package/package.json +1 -1
|
@@ -5592,11 +5592,10 @@ class AXValidationFormComponent {
|
|
|
5592
5592
|
});
|
|
5593
5593
|
}
|
|
5594
5594
|
validate() {
|
|
5595
|
-
debugger;
|
|
5596
5595
|
this.widgets.push(...this.widgetsQuery.toArray().filter(c => !this.widgets.includes(c)));
|
|
5597
5596
|
//
|
|
5598
5597
|
this.widgets.forEach(w => {
|
|
5599
|
-
if (w
|
|
5598
|
+
if (w.validation && w.validation.validateOn == null) {
|
|
5600
5599
|
w.validation.validateOn = this.validateOn;
|
|
5601
5600
|
}
|
|
5602
5601
|
});
|
|
@@ -10261,10 +10260,11 @@ class AXSearchBarComponent {
|
|
|
10261
10260
|
set items(v) {
|
|
10262
10261
|
v.forEach((el) => {
|
|
10263
10262
|
if (el.value != null) {
|
|
10263
|
+
debugger;
|
|
10264
10264
|
this._filterItems.push({
|
|
10265
10265
|
name: el.property.name,
|
|
10266
10266
|
title: el.property.title,
|
|
10267
|
-
textValue: el
|
|
10267
|
+
textValue: this.handleTextValue(el),
|
|
10268
10268
|
value: el.value,
|
|
10269
10269
|
component: el
|
|
10270
10270
|
});
|
|
@@ -10284,25 +10284,27 @@ class AXSearchBarComponent {
|
|
|
10284
10284
|
handleButtonClick() {
|
|
10285
10285
|
this.dropdown.toggle();
|
|
10286
10286
|
}
|
|
10287
|
-
handleValueChange(e) {
|
|
10287
|
+
async handleValueChange(e) {
|
|
10288
|
+
debugger;
|
|
10288
10289
|
let value = [];
|
|
10289
10290
|
let text = [];
|
|
10290
10291
|
if (e.property.editorOptions?.valueField && e.value != null) {
|
|
10291
10292
|
if (e.property.editorOptions.returnAllData) {
|
|
10292
10293
|
value = e.value;
|
|
10293
|
-
|
|
10294
|
-
text.push(element[e.property.editorOptions.textField]);
|
|
10295
|
-
});
|
|
10294
|
+
text = await this.handleTextValue(e);
|
|
10296
10295
|
}
|
|
10297
10296
|
else if (e.property.editorOptions?.mode == 'multiple') {
|
|
10298
|
-
e.value.forEach(element => {
|
|
10297
|
+
e.value.forEach((element) => {
|
|
10298
|
+
debugger;
|
|
10299
10299
|
value.push(element[e.property.editorOptions.valueField]);
|
|
10300
10300
|
text.push(element[e.property.editorOptions.textField]);
|
|
10301
10301
|
});
|
|
10302
10302
|
}
|
|
10303
10303
|
else {
|
|
10304
|
-
|
|
10305
|
-
|
|
10304
|
+
if (e.value.length) {
|
|
10305
|
+
value = e.value[0][e.property.editorOptions.valueField];
|
|
10306
|
+
text = e.value[0][e.property.editorOptions.textField];
|
|
10307
|
+
}
|
|
10306
10308
|
}
|
|
10307
10309
|
}
|
|
10308
10310
|
else {
|
|
@@ -10312,7 +10314,7 @@ class AXSearchBarComponent {
|
|
|
10312
10314
|
const findEl = this._filterItemsClone.find((el) => el.name == e.property.name);
|
|
10313
10315
|
if (findEl) {
|
|
10314
10316
|
findEl.value = value;
|
|
10315
|
-
findEl.textValue = text.toString();
|
|
10317
|
+
findEl.textValue = text ? text.toString() : null;
|
|
10316
10318
|
}
|
|
10317
10319
|
else if (e.value != null) {
|
|
10318
10320
|
this._filterItemsClone.push({
|
|
@@ -10342,9 +10344,16 @@ class AXSearchBarComponent {
|
|
|
10342
10344
|
this._filterItems = this._filterItems.filter((el) => el.name != item.name);
|
|
10343
10345
|
}
|
|
10344
10346
|
search() {
|
|
10345
|
-
|
|
10346
|
-
this.
|
|
10347
|
-
|
|
10347
|
+
debugger;
|
|
10348
|
+
this.form.validate().then((c) => {
|
|
10349
|
+
if (c.result) {
|
|
10350
|
+
debugger;
|
|
10351
|
+
this._filterItems = JSON.parse(JSON.stringify(this._filterItemsClone.filter((el) => el.value != null && el.value != '')));
|
|
10352
|
+
this.handleButtonClick();
|
|
10353
|
+
console.log(this._filterItems);
|
|
10354
|
+
this.onSearchValue.emit(this._filterItems);
|
|
10355
|
+
}
|
|
10356
|
+
});
|
|
10348
10357
|
}
|
|
10349
10358
|
clear() {
|
|
10350
10359
|
this._editors.forEach((e) => {
|
|
@@ -10380,19 +10389,56 @@ class AXSearchBarComponent {
|
|
|
10380
10389
|
}
|
|
10381
10390
|
return className.toString().replace(/,/, ' ');
|
|
10382
10391
|
}
|
|
10392
|
+
_handleShowTitleSelected(item) {
|
|
10393
|
+
if (item.component.property.editorClass !== 'ax/editors/check') {
|
|
10394
|
+
return item.title + ':';
|
|
10395
|
+
}
|
|
10396
|
+
}
|
|
10397
|
+
_handleShowValueSelected(item) {
|
|
10398
|
+
if (item.component.property.editorClass === 'ax/editors/check') {
|
|
10399
|
+
return item.title;
|
|
10400
|
+
}
|
|
10401
|
+
else {
|
|
10402
|
+
// if (Array.isArray(item.textValue)) {
|
|
10403
|
+
// let textValue = '';
|
|
10404
|
+
// item.textValue.forEach((element, index) => {
|
|
10405
|
+
// textValue +=
|
|
10406
|
+
// index === item.textValue.length - 1
|
|
10407
|
+
// ? element[item.component.property.editorOptions.textField]
|
|
10408
|
+
// : element[item.component.property.editorOptions.textField] + ',';
|
|
10409
|
+
// });
|
|
10410
|
+
// return textValue;
|
|
10411
|
+
// } else {
|
|
10412
|
+
return item.textValue;
|
|
10413
|
+
// }
|
|
10414
|
+
}
|
|
10415
|
+
}
|
|
10383
10416
|
ngOnInit() { }
|
|
10417
|
+
handleTextValue(dataItem) {
|
|
10418
|
+
let text = '';
|
|
10419
|
+
dataItem.value.forEach((element, index) => {
|
|
10420
|
+
text +=
|
|
10421
|
+
index === dataItem.value.length - 1
|
|
10422
|
+
? element[dataItem.property.editorOptions.textField]
|
|
10423
|
+
: element[dataItem.property.editorOptions.textField] + ',';
|
|
10424
|
+
});
|
|
10425
|
+
return text;
|
|
10426
|
+
}
|
|
10384
10427
|
}
|
|
10385
10428
|
AXSearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10386
|
-
AXSearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSearchBarComponent, selector: "ax-search-bar", inputs: { size: "size", disabled: "disabled", items: "items", rtl: "rtl" }, outputs: { onValueChange: "onValueChange", onSearchValue: "onSearchValue" }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: ["dropdown"], descendants: true, static: true }, { propertyName: "_editors", predicate: AXPropertyEditorRendererDirective, descendants: true }], ngImport: i0, template: "<ax-drop-down [fitParent]=\"true\" [size]=\"size\" [showDropDownButton]=\"false\" icon=\"far fa-sliders-h\" #dropdown\r\n maxHeight=\"unset\">\r\n <ng-container start>\r\n <ng-content select=\"[start]\">\r\n </ng-content>\r\n </ng-container>\r\n <ng-container header>\r\n <div class=\"ax chips-container\">\r\n <div class=\"chips\" *ngFor=\"let item of _filterItems\">\r\n <span class=\"chips-text\">\r\n <b>{{item
|
|
10429
|
+
AXSearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSearchBarComponent, selector: "ax-search-bar", inputs: { size: "size", disabled: "disabled", items: "items", rtl: "rtl" }, outputs: { onValueChange: "onValueChange", onSearchValue: "onSearchValue" }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: ["dropdown"], descendants: true, static: true }, { propertyName: "form", first: true, predicate: AXValidationFormComponent, descendants: true }, { propertyName: "_editors", predicate: AXPropertyEditorRendererDirective, descendants: true }], ngImport: i0, template: "<ax-drop-down [fitParent]=\"true\" [size]=\"size\" [showDropDownButton]=\"false\" icon=\"far fa-sliders-h\" #dropdown\r\n maxHeight=\"unset\">\r\n <ng-container start>\r\n <ng-content select=\"[start]\">\r\n </ng-content>\r\n </ng-container>\r\n <ng-container header>\r\n <div class=\"ax chips-container\">\r\n <div class=\"chips\" *ngFor=\"let item of _filterItems\">\r\n <span class=\"chips-text\" style=\"direction:rtl;\">\r\n <b>{{_handleShowTitleSelected(item)}}</b> {{_handleShowValueSelected(item)}}\r\n </span>\r\n <span class=\"close-icon\" (click)=\"handleItemRemoveClick(item)\">\r\n <i class=\"far fa-times close\"></i>\r\n </span>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container panel>\r\n <div class=\"panel-box\">\r\n <ax-validation-form #form>\r\n <div *ngFor=\"let item of _items\" class=\"row\">\r\n <div *ngFor=\"let prop of item.items\" class=\"{{renderCol(prop.property.col)}}\">\r\n <!-- <ax-form-group> -->\r\n <div *ngIf=\"prop.property.visible != false\">\r\n <ax-label>{{prop.property.title}}</ax-label>\r\n <ng-container ax-property-editor-renderer [validationForm]=\"form\" [property]=\"prop\"\r\n [context]=\"_context\" (onValueChange)=\"handleValueChange($event)\"></ng-container>\r\n </div>\r\n <!-- </ax-form-group> -->\r\n </div>\r\n </div>\r\n <div class=\"footer-button\">\r\n <ax-button (click)=\"search()\">{{'common.search' | trans}}</ax-button>\r\n <ax-button type=\"blank danger\" (click)=\"clear()\">{{'dataGrid.clearFilter' | trans}}</ax-button>\r\n </div>\r\n </ax-validation-form>\r\n </div>\r\n </ng-container>\r\n <ng-container end>\r\n <ax-button end icon=\"far fa-sliders-h icon\" type=\"light blank\" [disabled]=\"disabled\" [size]=\"size\"\r\n [tabIndex]=\"-1\" (click)=\"handleButtonClick()\">{{'common.search' | trans}}</ax-button>\r\n </ng-container>\r\n\r\n</ax-drop-down>", styles: [".ax.chips-container{height:100%}.panel-box{padding:1rem}.panel-box .footer-button{margin-top:1rem;display:flex;align-items:center;gap:.5rem}\n"], components: [{ type: AXDropdownComponent, selector: "ax-drop-down", inputs: ["rtl", "readonly", "loading"], outputs: ["dropdownToggle", "onButtonClick"] }, { type: AXValidationFormComponent, selector: "ax-validation-form", inputs: ["validateOn"], outputs: ["onInit"] }, { type: AXLabelComponent, selector: "ax-label", inputs: ["size"] }, { type: AXButtonComponent, selector: "ax-button", inputs: ["type", "icon", "submitBehavior", "cancelBehavior", "block", "loading", "selected"] }], directives: [{ type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: AXPropertyEditorRendererDirective, selector: "[ax-property-editor-renderer]", inputs: ["property", "validationForm", "context", "host", "groupId"], outputs: ["onValueChange"] }], pipes: { "trans": i1$2.AXTranslatorPipe } });
|
|
10387
10430
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarComponent, decorators: [{
|
|
10388
10431
|
type: Component,
|
|
10389
|
-
args: [{ selector: 'ax-search-bar', template: "<ax-drop-down [fitParent]=\"true\" [size]=\"size\" [showDropDownButton]=\"false\" icon=\"far fa-sliders-h\" #dropdown\r\n maxHeight=\"unset\">\r\n <ng-container start>\r\n <ng-content select=\"[start]\">\r\n </ng-content>\r\n </ng-container>\r\n <ng-container header>\r\n <div class=\"ax chips-container\">\r\n <div class=\"chips\" *ngFor=\"let item of _filterItems\">\r\n <span class=\"chips-text\">\r\n <b>{{item
|
|
10432
|
+
args: [{ selector: 'ax-search-bar', template: "<ax-drop-down [fitParent]=\"true\" [size]=\"size\" [showDropDownButton]=\"false\" icon=\"far fa-sliders-h\" #dropdown\r\n maxHeight=\"unset\">\r\n <ng-container start>\r\n <ng-content select=\"[start]\">\r\n </ng-content>\r\n </ng-container>\r\n <ng-container header>\r\n <div class=\"ax chips-container\">\r\n <div class=\"chips\" *ngFor=\"let item of _filterItems\">\r\n <span class=\"chips-text\" style=\"direction:rtl;\">\r\n <b>{{_handleShowTitleSelected(item)}}</b> {{_handleShowValueSelected(item)}}\r\n </span>\r\n <span class=\"close-icon\" (click)=\"handleItemRemoveClick(item)\">\r\n <i class=\"far fa-times close\"></i>\r\n </span>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container panel>\r\n <div class=\"panel-box\">\r\n <ax-validation-form #form>\r\n <div *ngFor=\"let item of _items\" class=\"row\">\r\n <div *ngFor=\"let prop of item.items\" class=\"{{renderCol(prop.property.col)}}\">\r\n <!-- <ax-form-group> -->\r\n <div *ngIf=\"prop.property.visible != false\">\r\n <ax-label>{{prop.property.title}}</ax-label>\r\n <ng-container ax-property-editor-renderer [validationForm]=\"form\" [property]=\"prop\"\r\n [context]=\"_context\" (onValueChange)=\"handleValueChange($event)\"></ng-container>\r\n </div>\r\n <!-- </ax-form-group> -->\r\n </div>\r\n </div>\r\n <div class=\"footer-button\">\r\n <ax-button (click)=\"search()\">{{'common.search' | trans}}</ax-button>\r\n <ax-button type=\"blank danger\" (click)=\"clear()\">{{'dataGrid.clearFilter' | trans}}</ax-button>\r\n </div>\r\n </ax-validation-form>\r\n </div>\r\n </ng-container>\r\n <ng-container end>\r\n <ax-button end icon=\"far fa-sliders-h icon\" type=\"light blank\" [disabled]=\"disabled\" [size]=\"size\"\r\n [tabIndex]=\"-1\" (click)=\"handleButtonClick()\">{{'common.search' | trans}}</ax-button>\r\n </ng-container>\r\n\r\n</ax-drop-down>", styles: [".ax.chips-container{height:100%}.panel-box{padding:1rem}.panel-box .footer-button{margin-top:1rem;display:flex;align-items:center;gap:.5rem}\n"] }]
|
|
10390
10433
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { dropdown: [{
|
|
10391
10434
|
type: ViewChild,
|
|
10392
10435
|
args: ['dropdown', { static: true }]
|
|
10393
10436
|
}], _editors: [{
|
|
10394
10437
|
type: ViewChildren,
|
|
10395
10438
|
args: [AXPropertyEditorRendererDirective]
|
|
10439
|
+
}], form: [{
|
|
10440
|
+
type: ViewChild,
|
|
10441
|
+
args: [AXValidationFormComponent]
|
|
10396
10442
|
}], size: [{
|
|
10397
10443
|
type: Input
|
|
10398
10444
|
}], disabled: [{
|
|
@@ -11570,6 +11616,7 @@ class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11570
11616
|
this.minValue = null;
|
|
11571
11617
|
this.maxValue = null;
|
|
11572
11618
|
this.clearButton = false;
|
|
11619
|
+
this.showCounter = true;
|
|
11573
11620
|
}
|
|
11574
11621
|
handleValueChange(e) {
|
|
11575
11622
|
super.handleValueChange(e.value);
|
|
@@ -11581,34 +11628,36 @@ class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11581
11628
|
}
|
|
11582
11629
|
AXNumberBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11583
11630
|
AXNumberBoxPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXNumberBoxPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textBox", first: true, predicate: AXNumberBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
11584
|
-
|
|
11585
|
-
|
|
11586
|
-
|
|
11587
|
-
|
|
11588
|
-
|
|
11589
|
-
|
|
11590
|
-
|
|
11591
|
-
|
|
11592
|
-
|
|
11593
|
-
|
|
11594
|
-
|
|
11595
|
-
|
|
11631
|
+
<ax-number-box
|
|
11632
|
+
(onValueChanged)="handleValueChange($event)"
|
|
11633
|
+
[value]="value"
|
|
11634
|
+
[showSeparator]="showSeparator"
|
|
11635
|
+
[decimalNumber]="decimalNumber"
|
|
11636
|
+
[min]="minValue"
|
|
11637
|
+
[max]="maxValue"
|
|
11638
|
+
[allowClear]="clearButton"
|
|
11639
|
+
[showCounter]="showCounter"
|
|
11640
|
+
>
|
|
11641
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11642
|
+
</ax-number-box>
|
|
11643
|
+
`, isInline: true, components: [{ type: AXNumberBoxComponent, selector: "ax-number-box", inputs: ["min", "max", "showSeparator", "showCurrency", "showCounter", "scrollWeel", "showDoubleCounter", "maxLength", "intStep", "decimalNumber", "customStep"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
11596
11644
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, decorators: [{
|
|
11597
11645
|
type: Component,
|
|
11598
11646
|
args: [{
|
|
11599
11647
|
template: `
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
|
|
11607
|
-
|
|
11608
|
-
|
|
11609
|
-
|
|
11610
|
-
|
|
11611
|
-
|
|
11648
|
+
<ax-number-box
|
|
11649
|
+
(onValueChanged)="handleValueChange($event)"
|
|
11650
|
+
[value]="value"
|
|
11651
|
+
[showSeparator]="showSeparator"
|
|
11652
|
+
[decimalNumber]="decimalNumber"
|
|
11653
|
+
[min]="minValue"
|
|
11654
|
+
[max]="maxValue"
|
|
11655
|
+
[allowClear]="clearButton"
|
|
11656
|
+
[showCounter]="showCounter"
|
|
11657
|
+
>
|
|
11658
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11659
|
+
</ax-number-box>
|
|
11660
|
+
`
|
|
11612
11661
|
}]
|
|
11613
11662
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
11614
11663
|
type: ViewChild,
|
|
@@ -11902,6 +11951,7 @@ class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11902
11951
|
this.direction = 'horizontal';
|
|
11903
11952
|
this.textField = null;
|
|
11904
11953
|
this.valueField = null;
|
|
11954
|
+
this.selectedItems = [];
|
|
11905
11955
|
}
|
|
11906
11956
|
handleValueChange(e) {
|
|
11907
11957
|
super.handleValueChange(e);
|
|
@@ -11913,42 +11963,38 @@ class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11913
11963
|
}
|
|
11914
11964
|
AXSelectionListPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11915
11965
|
AXSelectionListPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXSelectionListPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "selectionList", first: true, predicate: AXSelectionListComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
11916
|
-
<ax-selection-list
|
|
11917
|
-
|
|
11918
|
-
|
|
11919
|
-
|
|
11920
|
-
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
[direction]="direction"
|
|
11966
|
+
<ax-selection-list
|
|
11967
|
+
[disabled]="disabled"
|
|
11968
|
+
[size]="size"
|
|
11969
|
+
[readonly]="readonly"
|
|
11970
|
+
[value]="value"
|
|
11971
|
+
[items]="items"
|
|
11972
|
+
[mode]="mode"
|
|
11973
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
11974
|
+
[direction]="direction"
|
|
11975
|
+
[(selectedItems)]="selectedItems"
|
|
11927
11976
|
>
|
|
11928
|
-
|
|
11929
|
-
</ax-validation>
|
|
11977
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11930
11978
|
</ax-selection-list>
|
|
11931
|
-
|
|
11979
|
+
`, isInline: true, components: [{ type: AXSelectionListComponent, selector: "ax-selection-list", inputs: ["readonly", "value", "disabled", "size", "direction", "items", "mode", "textField", "valueField", "selectedItems", "selectedValues"], outputs: ["selectedItemsChange", "selectedValuesChange"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
11932
11980
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, decorators: [{
|
|
11933
11981
|
type: Component,
|
|
11934
11982
|
args: [{
|
|
11935
11983
|
template: `
|
|
11936
|
-
<ax-selection-list
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
[direction]="direction"
|
|
11984
|
+
<ax-selection-list
|
|
11985
|
+
[disabled]="disabled"
|
|
11986
|
+
[size]="size"
|
|
11987
|
+
[readonly]="readonly"
|
|
11988
|
+
[value]="value"
|
|
11989
|
+
[items]="items"
|
|
11990
|
+
[mode]="mode"
|
|
11991
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
11992
|
+
[direction]="direction"
|
|
11993
|
+
[(selectedItems)]="selectedItems"
|
|
11947
11994
|
>
|
|
11948
|
-
|
|
11949
|
-
</ax-validation>
|
|
11995
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11950
11996
|
</ax-selection-list>
|
|
11951
|
-
|
|
11997
|
+
`
|
|
11952
11998
|
}]
|
|
11953
11999
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionList: [{
|
|
11954
12000
|
type: ViewChild,
|
|
@@ -12079,6 +12125,9 @@ class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
12079
12125
|
super(cdr);
|
|
12080
12126
|
this.cdr = cdr;
|
|
12081
12127
|
this.clearButton = false;
|
|
12128
|
+
this.mask = null;
|
|
12129
|
+
this.maskGuid = false;
|
|
12130
|
+
this.showMask = true;
|
|
12082
12131
|
}
|
|
12083
12132
|
handleValueChange(e) {
|
|
12084
12133
|
super.handleValueChange(e.value);
|
|
@@ -12089,10 +12138,10 @@ class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
12089
12138
|
}
|
|
12090
12139
|
}
|
|
12091
12140
|
AXTextPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
12092
|
-
AXTextPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXTextPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textBox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-text-box (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" [readonly]=\"readonly\"
|
|
12141
|
+
AXTextPropertyEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AXTextPropertyEditorComponent, selector: "ng-component", viewQueries: [{ propertyName: "textBox", first: true, predicate: AXTextBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-text-box (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" [readonly]=\"readonly\"\r\n [allowClear]=\"clearButton\" [mask]=\"mask\" [maskGuid]=\"maskGuid\" [showMask]=\"showMask\">\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n</ax-text-box>", components: [{ type: AXTextBoxComponent, selector: "ax-text-box", inputs: ["mask", "type", "showMask", "maxLength", "maskGuid", "maskPlaceholder", "maskKeepCharPositions"] }, { type: AXValidationComponent, selector: "ax-validation", inputs: ["rules", "validateOn"], outputs: ["rulesChange", "showMessage"] }] });
|
|
12093
12142
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, decorators: [{
|
|
12094
12143
|
type: Component,
|
|
12095
|
-
args: [{ template: "<ax-text-box (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" [readonly]=\"readonly\"
|
|
12144
|
+
args: [{ template: "<ax-text-box (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" [readonly]=\"readonly\"\r\n [allowClear]=\"clearButton\" [mask]=\"mask\" [maskGuid]=\"maskGuid\" [showMask]=\"showMask\">\r\n <ax-validation [rules]=\"validation?.rules\">\r\n </ax-validation>\r\n</ax-text-box>" }]
|
|
12096
12145
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
12097
12146
|
type: ViewChild,
|
|
12098
12147
|
args: [AXTextBoxComponent]
|
|
@@ -13357,13 +13406,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13357
13406
|
class AXSearchBarModule {
|
|
13358
13407
|
}
|
|
13359
13408
|
AXSearchBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13360
|
-
AXSearchBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, declarations: [AXSearchBarComponent], imports: [CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule], exports: [AXSearchBarComponent] });
|
|
13361
|
-
AXSearchBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, providers: [], imports: [[CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule]] });
|
|
13409
|
+
AXSearchBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, declarations: [AXSearchBarComponent], imports: [CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule, AXValidationModule], exports: [AXSearchBarComponent] });
|
|
13410
|
+
AXSearchBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, providers: [], imports: [[CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule, AXValidationModule]] });
|
|
13362
13411
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, decorators: [{
|
|
13363
13412
|
type: NgModule,
|
|
13364
13413
|
args: [{
|
|
13365
13414
|
declarations: [AXSearchBarComponent],
|
|
13366
|
-
imports: [CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule],
|
|
13415
|
+
imports: [CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule, AXValidationModule],
|
|
13367
13416
|
exports: [AXSearchBarComponent],
|
|
13368
13417
|
providers: [],
|
|
13369
13418
|
}]
|