@acorex/components 4.2.43 → 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/fesm2015/acorex-components.mjs +159 -107
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +121 -71
- 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
|
@@ -10260,10 +10260,11 @@ class AXSearchBarComponent {
|
|
|
10260
10260
|
set items(v) {
|
|
10261
10261
|
v.forEach((el) => {
|
|
10262
10262
|
if (el.value != null) {
|
|
10263
|
+
debugger;
|
|
10263
10264
|
this._filterItems.push({
|
|
10264
10265
|
name: el.property.name,
|
|
10265
10266
|
title: el.property.title,
|
|
10266
|
-
textValue: el
|
|
10267
|
+
textValue: this.handleTextValue(el),
|
|
10267
10268
|
value: el.value,
|
|
10268
10269
|
component: el
|
|
10269
10270
|
});
|
|
@@ -10283,25 +10284,27 @@ class AXSearchBarComponent {
|
|
|
10283
10284
|
handleButtonClick() {
|
|
10284
10285
|
this.dropdown.toggle();
|
|
10285
10286
|
}
|
|
10286
|
-
handleValueChange(e) {
|
|
10287
|
+
async handleValueChange(e) {
|
|
10288
|
+
debugger;
|
|
10287
10289
|
let value = [];
|
|
10288
10290
|
let text = [];
|
|
10289
10291
|
if (e.property.editorOptions?.valueField && e.value != null) {
|
|
10290
10292
|
if (e.property.editorOptions.returnAllData) {
|
|
10291
10293
|
value = e.value;
|
|
10292
|
-
|
|
10293
|
-
text.push(element[e.property.editorOptions.textField]);
|
|
10294
|
-
});
|
|
10294
|
+
text = await this.handleTextValue(e);
|
|
10295
10295
|
}
|
|
10296
10296
|
else if (e.property.editorOptions?.mode == 'multiple') {
|
|
10297
|
-
e.value.forEach(element => {
|
|
10297
|
+
e.value.forEach((element) => {
|
|
10298
|
+
debugger;
|
|
10298
10299
|
value.push(element[e.property.editorOptions.valueField]);
|
|
10299
10300
|
text.push(element[e.property.editorOptions.textField]);
|
|
10300
10301
|
});
|
|
10301
10302
|
}
|
|
10302
10303
|
else {
|
|
10303
|
-
|
|
10304
|
-
|
|
10304
|
+
if (e.value.length) {
|
|
10305
|
+
value = e.value[0][e.property.editorOptions.valueField];
|
|
10306
|
+
text = e.value[0][e.property.editorOptions.textField];
|
|
10307
|
+
}
|
|
10305
10308
|
}
|
|
10306
10309
|
}
|
|
10307
10310
|
else {
|
|
@@ -10311,7 +10314,7 @@ class AXSearchBarComponent {
|
|
|
10311
10314
|
const findEl = this._filterItemsClone.find((el) => el.name == e.property.name);
|
|
10312
10315
|
if (findEl) {
|
|
10313
10316
|
findEl.value = value;
|
|
10314
|
-
findEl.textValue = text.toString();
|
|
10317
|
+
findEl.textValue = text ? text.toString() : null;
|
|
10315
10318
|
}
|
|
10316
10319
|
else if (e.value != null) {
|
|
10317
10320
|
this._filterItemsClone.push({
|
|
@@ -10341,9 +10344,16 @@ class AXSearchBarComponent {
|
|
|
10341
10344
|
this._filterItems = this._filterItems.filter((el) => el.name != item.name);
|
|
10342
10345
|
}
|
|
10343
10346
|
search() {
|
|
10344
|
-
|
|
10345
|
-
this.
|
|
10346
|
-
|
|
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
|
+
});
|
|
10347
10357
|
}
|
|
10348
10358
|
clear() {
|
|
10349
10359
|
this._editors.forEach((e) => {
|
|
@@ -10379,19 +10389,56 @@ class AXSearchBarComponent {
|
|
|
10379
10389
|
}
|
|
10380
10390
|
return className.toString().replace(/,/, ' ');
|
|
10381
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
|
+
}
|
|
10382
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
|
+
}
|
|
10383
10427
|
}
|
|
10384
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 });
|
|
10385
|
-
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 } });
|
|
10386
10430
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarComponent, decorators: [{
|
|
10387
10431
|
type: Component,
|
|
10388
|
-
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"] }]
|
|
10389
10433
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { dropdown: [{
|
|
10390
10434
|
type: ViewChild,
|
|
10391
10435
|
args: ['dropdown', { static: true }]
|
|
10392
10436
|
}], _editors: [{
|
|
10393
10437
|
type: ViewChildren,
|
|
10394
10438
|
args: [AXPropertyEditorRendererDirective]
|
|
10439
|
+
}], form: [{
|
|
10440
|
+
type: ViewChild,
|
|
10441
|
+
args: [AXValidationFormComponent]
|
|
10395
10442
|
}], size: [{
|
|
10396
10443
|
type: Input
|
|
10397
10444
|
}], disabled: [{
|
|
@@ -11569,6 +11616,7 @@ class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11569
11616
|
this.minValue = null;
|
|
11570
11617
|
this.maxValue = null;
|
|
11571
11618
|
this.clearButton = false;
|
|
11619
|
+
this.showCounter = true;
|
|
11572
11620
|
}
|
|
11573
11621
|
handleValueChange(e) {
|
|
11574
11622
|
super.handleValueChange(e.value);
|
|
@@ -11580,34 +11628,36 @@ class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11580
11628
|
}
|
|
11581
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 });
|
|
11582
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: `
|
|
11583
|
-
|
|
11584
|
-
|
|
11585
|
-
|
|
11586
|
-
|
|
11587
|
-
|
|
11588
|
-
|
|
11589
|
-
|
|
11590
|
-
|
|
11591
|
-
|
|
11592
|
-
|
|
11593
|
-
|
|
11594
|
-
|
|
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"] }] });
|
|
11595
11644
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, decorators: [{
|
|
11596
11645
|
type: Component,
|
|
11597
11646
|
args: [{
|
|
11598
11647
|
template: `
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
|
|
11607
|
-
|
|
11608
|
-
|
|
11609
|
-
|
|
11610
|
-
|
|
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
|
+
`
|
|
11611
11661
|
}]
|
|
11612
11662
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
11613
11663
|
type: ViewChild,
|
|
@@ -11901,6 +11951,7 @@ class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11901
11951
|
this.direction = 'horizontal';
|
|
11902
11952
|
this.textField = null;
|
|
11903
11953
|
this.valueField = null;
|
|
11954
|
+
this.selectedItems = [];
|
|
11904
11955
|
}
|
|
11905
11956
|
handleValueChange(e) {
|
|
11906
11957
|
super.handleValueChange(e);
|
|
@@ -11912,42 +11963,38 @@ class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11912
11963
|
}
|
|
11913
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 });
|
|
11914
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: `
|
|
11915
|
-
<ax-selection-list
|
|
11916
|
-
|
|
11917
|
-
|
|
11918
|
-
|
|
11919
|
-
|
|
11920
|
-
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
[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"
|
|
11926
11976
|
>
|
|
11927
|
-
|
|
11928
|
-
</ax-validation>
|
|
11977
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11929
11978
|
</ax-selection-list>
|
|
11930
|
-
|
|
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"] }] });
|
|
11931
11980
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, decorators: [{
|
|
11932
11981
|
type: Component,
|
|
11933
11982
|
args: [{
|
|
11934
11983
|
template: `
|
|
11935
|
-
<ax-selection-list
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
[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"
|
|
11946
11994
|
>
|
|
11947
|
-
|
|
11948
|
-
</ax-validation>
|
|
11995
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11949
11996
|
</ax-selection-list>
|
|
11950
|
-
|
|
11997
|
+
`
|
|
11951
11998
|
}]
|
|
11952
11999
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionList: [{
|
|
11953
12000
|
type: ViewChild,
|
|
@@ -12078,6 +12125,9 @@ class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
12078
12125
|
super(cdr);
|
|
12079
12126
|
this.cdr = cdr;
|
|
12080
12127
|
this.clearButton = false;
|
|
12128
|
+
this.mask = null;
|
|
12129
|
+
this.maskGuid = false;
|
|
12130
|
+
this.showMask = true;
|
|
12081
12131
|
}
|
|
12082
12132
|
handleValueChange(e) {
|
|
12083
12133
|
super.handleValueChange(e.value);
|
|
@@ -12088,10 +12138,10 @@ class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
12088
12138
|
}
|
|
12089
12139
|
}
|
|
12090
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 });
|
|
12091
|
-
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"] }] });
|
|
12092
12142
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, decorators: [{
|
|
12093
12143
|
type: Component,
|
|
12094
|
-
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>" }]
|
|
12095
12145
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
12096
12146
|
type: ViewChild,
|
|
12097
12147
|
args: [AXTextBoxComponent]
|
|
@@ -13356,13 +13406,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13356
13406
|
class AXSearchBarModule {
|
|
13357
13407
|
}
|
|
13358
13408
|
AXSearchBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13359
|
-
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] });
|
|
13360
|
-
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]] });
|
|
13361
13411
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, decorators: [{
|
|
13362
13412
|
type: NgModule,
|
|
13363
13413
|
args: [{
|
|
13364
13414
|
declarations: [AXSearchBarComponent],
|
|
13365
|
-
imports: [CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule],
|
|
13415
|
+
imports: [CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule, AXValidationModule],
|
|
13366
13416
|
exports: [AXSearchBarComponent],
|
|
13367
13417
|
providers: [],
|
|
13368
13418
|
}]
|