@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
|
@@ -10305,10 +10305,11 @@ class AXSearchBarComponent {
|
|
|
10305
10305
|
set items(v) {
|
|
10306
10306
|
v.forEach((el) => {
|
|
10307
10307
|
if (el.value != null) {
|
|
10308
|
+
debugger;
|
|
10308
10309
|
this._filterItems.push({
|
|
10309
10310
|
name: el.property.name,
|
|
10310
10311
|
title: el.property.title,
|
|
10311
|
-
textValue: el
|
|
10312
|
+
textValue: this.handleTextValue(el),
|
|
10312
10313
|
value: el.value,
|
|
10313
10314
|
component: el
|
|
10314
10315
|
});
|
|
@@ -10330,53 +10331,57 @@ class AXSearchBarComponent {
|
|
|
10330
10331
|
}
|
|
10331
10332
|
handleValueChange(e) {
|
|
10332
10333
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
e.
|
|
10339
|
-
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10334
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10335
|
+
debugger;
|
|
10336
|
+
let value = [];
|
|
10337
|
+
let text = [];
|
|
10338
|
+
if (((_a = e.property.editorOptions) === null || _a === void 0 ? void 0 : _a.valueField) && e.value != null) {
|
|
10339
|
+
if (e.property.editorOptions.returnAllData) {
|
|
10340
|
+
value = e.value;
|
|
10341
|
+
text = yield this.handleTextValue(e);
|
|
10342
|
+
}
|
|
10343
|
+
else if (((_b = e.property.editorOptions) === null || _b === void 0 ? void 0 : _b.mode) == 'multiple') {
|
|
10344
|
+
e.value.forEach((element) => {
|
|
10345
|
+
debugger;
|
|
10346
|
+
value.push(element[e.property.editorOptions.valueField]);
|
|
10347
|
+
text.push(element[e.property.editorOptions.textField]);
|
|
10348
|
+
});
|
|
10349
|
+
}
|
|
10350
|
+
else {
|
|
10351
|
+
if (e.value.length) {
|
|
10352
|
+
value = e.value[0][e.property.editorOptions.valueField];
|
|
10353
|
+
text = e.value[0][e.property.editorOptions.textField];
|
|
10354
|
+
}
|
|
10355
|
+
}
|
|
10347
10356
|
}
|
|
10348
10357
|
else {
|
|
10349
|
-
value = e.value
|
|
10350
|
-
text = e.value
|
|
10358
|
+
value = e.value;
|
|
10359
|
+
text = e.value;
|
|
10360
|
+
}
|
|
10361
|
+
const findEl = this._filterItemsClone.find((el) => el.name == e.property.name);
|
|
10362
|
+
if (findEl) {
|
|
10363
|
+
findEl.value = value;
|
|
10364
|
+
findEl.textValue = text ? text.toString() : null;
|
|
10365
|
+
}
|
|
10366
|
+
else if (e.value != null) {
|
|
10367
|
+
this._filterItemsClone.push({
|
|
10368
|
+
name: e.property.name,
|
|
10369
|
+
title: e.property.title,
|
|
10370
|
+
value,
|
|
10371
|
+
textValue: text.toString(),
|
|
10372
|
+
component: e,
|
|
10373
|
+
filterOptions: {
|
|
10374
|
+
filters: ((_d = (_c = e.property) === null || _c === void 0 ? void 0 : _c.filterOptions) === null || _d === void 0 ? void 0 : _d.filters) ? e.property.filterOptions.filters : [],
|
|
10375
|
+
logic: ((_f = (_e = e.property) === null || _e === void 0 ? void 0 : _e.filterOptions) === null || _f === void 0 ? void 0 : _f.logic) ? e.property.filterOptions.logic : 'and',
|
|
10376
|
+
ignoreCase: ((_h = (_g = e.property) === null || _g === void 0 ? void 0 : _g.filterOptions) === null || _h === void 0 ? void 0 : _h.ignoreCase) ? e.property.filterOptions.ignoreCase : true,
|
|
10377
|
+
joinType: ((_k = (_j = e.property) === null || _j === void 0 ? void 0 : _j.filterOptions) === null || _k === void 0 ? void 0 : _k.joinType) ? e.property.filterOptions.joinType : 'INNER',
|
|
10378
|
+
operator: ((_m = (_l = e.property) === null || _l === void 0 ? void 0 : _l.filterOptions) === null || _m === void 0 ? void 0 : _m.operator) ? e.property.filterOptions.operator : null,
|
|
10379
|
+
truncateDate: ((_p = (_o = e.property) === null || _o === void 0 ? void 0 : _o.filterOptions) === null || _p === void 0 ? void 0 : _p.truncateDate) ? e.property.filterOptions.truncateDate : true
|
|
10380
|
+
}
|
|
10381
|
+
});
|
|
10351
10382
|
}
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
value = e.value;
|
|
10355
|
-
text = e.value;
|
|
10356
|
-
}
|
|
10357
|
-
const findEl = this._filterItemsClone.find((el) => el.name == e.property.name);
|
|
10358
|
-
if (findEl) {
|
|
10359
|
-
findEl.value = value;
|
|
10360
|
-
findEl.textValue = text.toString();
|
|
10361
|
-
}
|
|
10362
|
-
else if (e.value != null) {
|
|
10363
|
-
this._filterItemsClone.push({
|
|
10364
|
-
name: e.property.name,
|
|
10365
|
-
title: e.property.title,
|
|
10366
|
-
value,
|
|
10367
|
-
textValue: text.toString(),
|
|
10368
|
-
component: e,
|
|
10369
|
-
filterOptions: {
|
|
10370
|
-
filters: ((_d = (_c = e.property) === null || _c === void 0 ? void 0 : _c.filterOptions) === null || _d === void 0 ? void 0 : _d.filters) ? e.property.filterOptions.filters : [],
|
|
10371
|
-
logic: ((_f = (_e = e.property) === null || _e === void 0 ? void 0 : _e.filterOptions) === null || _f === void 0 ? void 0 : _f.logic) ? e.property.filterOptions.logic : 'and',
|
|
10372
|
-
ignoreCase: ((_h = (_g = e.property) === null || _g === void 0 ? void 0 : _g.filterOptions) === null || _h === void 0 ? void 0 : _h.ignoreCase) ? e.property.filterOptions.ignoreCase : true,
|
|
10373
|
-
joinType: ((_k = (_j = e.property) === null || _j === void 0 ? void 0 : _j.filterOptions) === null || _k === void 0 ? void 0 : _k.joinType) ? e.property.filterOptions.joinType : 'INNER',
|
|
10374
|
-
operator: ((_m = (_l = e.property) === null || _l === void 0 ? void 0 : _l.filterOptions) === null || _m === void 0 ? void 0 : _m.operator) ? e.property.filterOptions.operator : null,
|
|
10375
|
-
truncateDate: ((_p = (_o = e.property) === null || _o === void 0 ? void 0 : _o.filterOptions) === null || _p === void 0 ? void 0 : _p.truncateDate) ? e.property.filterOptions.truncateDate : true
|
|
10376
|
-
}
|
|
10377
|
-
});
|
|
10378
|
-
}
|
|
10379
|
-
this.onValueChange.emit(e);
|
|
10383
|
+
this.onValueChange.emit(e);
|
|
10384
|
+
});
|
|
10380
10385
|
}
|
|
10381
10386
|
handleItemRemoveClick(item) {
|
|
10382
10387
|
this._editors.forEach((e) => {
|
|
@@ -10387,9 +10392,16 @@ class AXSearchBarComponent {
|
|
|
10387
10392
|
this._filterItems = this._filterItems.filter((el) => el.name != item.name);
|
|
10388
10393
|
}
|
|
10389
10394
|
search() {
|
|
10390
|
-
|
|
10391
|
-
this.
|
|
10392
|
-
|
|
10395
|
+
debugger;
|
|
10396
|
+
this.form.validate().then((c) => {
|
|
10397
|
+
if (c.result) {
|
|
10398
|
+
debugger;
|
|
10399
|
+
this._filterItems = JSON.parse(JSON.stringify(this._filterItemsClone.filter((el) => el.value != null && el.value != '')));
|
|
10400
|
+
this.handleButtonClick();
|
|
10401
|
+
console.log(this._filterItems);
|
|
10402
|
+
this.onSearchValue.emit(this._filterItems);
|
|
10403
|
+
}
|
|
10404
|
+
});
|
|
10393
10405
|
}
|
|
10394
10406
|
clear() {
|
|
10395
10407
|
this._editors.forEach((e) => {
|
|
@@ -10425,19 +10437,56 @@ class AXSearchBarComponent {
|
|
|
10425
10437
|
}
|
|
10426
10438
|
return className.toString().replace(/,/, ' ');
|
|
10427
10439
|
}
|
|
10440
|
+
_handleShowTitleSelected(item) {
|
|
10441
|
+
if (item.component.property.editorClass !== 'ax/editors/check') {
|
|
10442
|
+
return item.title + ':';
|
|
10443
|
+
}
|
|
10444
|
+
}
|
|
10445
|
+
_handleShowValueSelected(item) {
|
|
10446
|
+
if (item.component.property.editorClass === 'ax/editors/check') {
|
|
10447
|
+
return item.title;
|
|
10448
|
+
}
|
|
10449
|
+
else {
|
|
10450
|
+
// if (Array.isArray(item.textValue)) {
|
|
10451
|
+
// let textValue = '';
|
|
10452
|
+
// item.textValue.forEach((element, index) => {
|
|
10453
|
+
// textValue +=
|
|
10454
|
+
// index === item.textValue.length - 1
|
|
10455
|
+
// ? element[item.component.property.editorOptions.textField]
|
|
10456
|
+
// : element[item.component.property.editorOptions.textField] + ',';
|
|
10457
|
+
// });
|
|
10458
|
+
// return textValue;
|
|
10459
|
+
// } else {
|
|
10460
|
+
return item.textValue;
|
|
10461
|
+
// }
|
|
10462
|
+
}
|
|
10463
|
+
}
|
|
10428
10464
|
ngOnInit() { }
|
|
10465
|
+
handleTextValue(dataItem) {
|
|
10466
|
+
let text = '';
|
|
10467
|
+
dataItem.value.forEach((element, index) => {
|
|
10468
|
+
text +=
|
|
10469
|
+
index === dataItem.value.length - 1
|
|
10470
|
+
? element[dataItem.property.editorOptions.textField]
|
|
10471
|
+
: element[dataItem.property.editorOptions.textField] + ',';
|
|
10472
|
+
});
|
|
10473
|
+
return text;
|
|
10474
|
+
}
|
|
10429
10475
|
}
|
|
10430
10476
|
AXSearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10431
|
-
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
|
|
10477
|
+
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 } });
|
|
10432
10478
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarComponent, decorators: [{
|
|
10433
10479
|
type: Component,
|
|
10434
|
-
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
|
|
10480
|
+
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"] }]
|
|
10435
10481
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { dropdown: [{
|
|
10436
10482
|
type: ViewChild,
|
|
10437
10483
|
args: ['dropdown', { static: true }]
|
|
10438
10484
|
}], _editors: [{
|
|
10439
10485
|
type: ViewChildren,
|
|
10440
10486
|
args: [AXPropertyEditorRendererDirective]
|
|
10487
|
+
}], form: [{
|
|
10488
|
+
type: ViewChild,
|
|
10489
|
+
args: [AXValidationFormComponent]
|
|
10441
10490
|
}], size: [{
|
|
10442
10491
|
type: Input
|
|
10443
10492
|
}], disabled: [{
|
|
@@ -11615,6 +11664,7 @@ class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11615
11664
|
this.minValue = null;
|
|
11616
11665
|
this.maxValue = null;
|
|
11617
11666
|
this.clearButton = false;
|
|
11667
|
+
this.showCounter = true;
|
|
11618
11668
|
}
|
|
11619
11669
|
handleValueChange(e) {
|
|
11620
11670
|
super.handleValueChange(e.value);
|
|
@@ -11626,34 +11676,36 @@ class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11626
11676
|
}
|
|
11627
11677
|
AXNumberBoxPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11628
11678
|
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: `
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
|
|
11638
|
-
|
|
11639
|
-
|
|
11640
|
-
|
|
11679
|
+
<ax-number-box
|
|
11680
|
+
(onValueChanged)="handleValueChange($event)"
|
|
11681
|
+
[value]="value"
|
|
11682
|
+
[showSeparator]="showSeparator"
|
|
11683
|
+
[decimalNumber]="decimalNumber"
|
|
11684
|
+
[min]="minValue"
|
|
11685
|
+
[max]="maxValue"
|
|
11686
|
+
[allowClear]="clearButton"
|
|
11687
|
+
[showCounter]="showCounter"
|
|
11688
|
+
>
|
|
11689
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11690
|
+
</ax-number-box>
|
|
11691
|
+
`, 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"] }] });
|
|
11641
11692
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, decorators: [{
|
|
11642
11693
|
type: Component,
|
|
11643
11694
|
args: [{
|
|
11644
11695
|
template: `
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
|
|
11696
|
+
<ax-number-box
|
|
11697
|
+
(onValueChanged)="handleValueChange($event)"
|
|
11698
|
+
[value]="value"
|
|
11699
|
+
[showSeparator]="showSeparator"
|
|
11700
|
+
[decimalNumber]="decimalNumber"
|
|
11701
|
+
[min]="minValue"
|
|
11702
|
+
[max]="maxValue"
|
|
11703
|
+
[allowClear]="clearButton"
|
|
11704
|
+
[showCounter]="showCounter"
|
|
11705
|
+
>
|
|
11706
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11707
|
+
</ax-number-box>
|
|
11708
|
+
`
|
|
11657
11709
|
}]
|
|
11658
11710
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
11659
11711
|
type: ViewChild,
|
|
@@ -11949,6 +12001,7 @@ class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11949
12001
|
this.direction = 'horizontal';
|
|
11950
12002
|
this.textField = null;
|
|
11951
12003
|
this.valueField = null;
|
|
12004
|
+
this.selectedItems = [];
|
|
11952
12005
|
}
|
|
11953
12006
|
handleValueChange(e) {
|
|
11954
12007
|
super.handleValueChange(e);
|
|
@@ -11960,42 +12013,38 @@ class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11960
12013
|
}
|
|
11961
12014
|
AXSelectionListPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11962
12015
|
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: `
|
|
11963
|
-
<ax-selection-list
|
|
11964
|
-
|
|
11965
|
-
|
|
11966
|
-
|
|
11967
|
-
|
|
11968
|
-
|
|
11969
|
-
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
[direction]="direction"
|
|
12016
|
+
<ax-selection-list
|
|
12017
|
+
[disabled]="disabled"
|
|
12018
|
+
[size]="size"
|
|
12019
|
+
[readonly]="readonly"
|
|
12020
|
+
[value]="value"
|
|
12021
|
+
[items]="items"
|
|
12022
|
+
[mode]="mode"
|
|
12023
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
12024
|
+
[direction]="direction"
|
|
12025
|
+
[(selectedItems)]="selectedItems"
|
|
11974
12026
|
>
|
|
11975
|
-
|
|
11976
|
-
</ax-validation>
|
|
12027
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11977
12028
|
</ax-selection-list>
|
|
11978
|
-
|
|
12029
|
+
`, 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"] }] });
|
|
11979
12030
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, decorators: [{
|
|
11980
12031
|
type: Component,
|
|
11981
12032
|
args: [{
|
|
11982
12033
|
template: `
|
|
11983
|
-
<ax-selection-list
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
|
|
11992
|
-
|
|
11993
|
-
[direction]="direction"
|
|
12034
|
+
<ax-selection-list
|
|
12035
|
+
[disabled]="disabled"
|
|
12036
|
+
[size]="size"
|
|
12037
|
+
[readonly]="readonly"
|
|
12038
|
+
[value]="value"
|
|
12039
|
+
[items]="items"
|
|
12040
|
+
[mode]="mode"
|
|
12041
|
+
(selectedItemsChange)="handleValueChange($event)"
|
|
12042
|
+
[direction]="direction"
|
|
12043
|
+
[(selectedItems)]="selectedItems"
|
|
11994
12044
|
>
|
|
11995
|
-
|
|
11996
|
-
</ax-validation>
|
|
12045
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11997
12046
|
</ax-selection-list>
|
|
11998
|
-
|
|
12047
|
+
`
|
|
11999
12048
|
}]
|
|
12000
12049
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionList: [{
|
|
12001
12050
|
type: ViewChild,
|
|
@@ -12126,6 +12175,9 @@ class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
12126
12175
|
super(cdr);
|
|
12127
12176
|
this.cdr = cdr;
|
|
12128
12177
|
this.clearButton = false;
|
|
12178
|
+
this.mask = null;
|
|
12179
|
+
this.maskGuid = false;
|
|
12180
|
+
this.showMask = true;
|
|
12129
12181
|
}
|
|
12130
12182
|
handleValueChange(e) {
|
|
12131
12183
|
super.handleValueChange(e.value);
|
|
@@ -12136,10 +12188,10 @@ class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
12136
12188
|
}
|
|
12137
12189
|
}
|
|
12138
12190
|
AXTextPropertyEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
12139
|
-
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\"
|
|
12191
|
+
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"] }] });
|
|
12140
12192
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, decorators: [{
|
|
12141
12193
|
type: Component,
|
|
12142
|
-
args: [{ template: "<ax-text-box (onValueChanged)=\"handleValueChange($event)\" [value]=\"value\" [readonly]=\"readonly\"
|
|
12194
|
+
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>" }]
|
|
12143
12195
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
12144
12196
|
type: ViewChild,
|
|
12145
12197
|
args: [AXTextBoxComponent]
|
|
@@ -13405,13 +13457,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13405
13457
|
class AXSearchBarModule {
|
|
13406
13458
|
}
|
|
13407
13459
|
AXSearchBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13408
|
-
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] });
|
|
13409
|
-
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]] });
|
|
13460
|
+
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] });
|
|
13461
|
+
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]] });
|
|
13410
13462
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, decorators: [{
|
|
13411
13463
|
type: NgModule,
|
|
13412
13464
|
args: [{
|
|
13413
13465
|
declarations: [AXSearchBarComponent],
|
|
13414
|
-
imports: [CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule],
|
|
13466
|
+
imports: [CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule, AXValidationModule],
|
|
13415
13467
|
exports: [AXSearchBarComponent],
|
|
13416
13468
|
providers: [],
|
|
13417
13469
|
}]
|