@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
|
@@ -16,11 +16,10 @@ export class AXValidationFormComponent {
|
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
18
|
validate() {
|
|
19
|
-
debugger;
|
|
20
19
|
this.widgets.push(...this.widgetsQuery.toArray().filter(c => !this.widgets.includes(c)));
|
|
21
20
|
//
|
|
22
21
|
this.widgets.forEach(w => {
|
|
23
|
-
if (w
|
|
22
|
+
if (w.validation && w.validation.validateOn == null) {
|
|
24
23
|
w.validation.validateOn = this.validateOn;
|
|
25
24
|
}
|
|
26
25
|
});
|
|
@@ -63,4 +62,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
63
62
|
}], onInit: [{
|
|
64
63
|
type: Output
|
|
65
64
|
}] } });
|
|
66
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64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gICAgICAgICAgaXRlbXM6IGZhaWxlZFxyXG4gICAgICAgICAgfSk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGVsc2Uge1xyXG4gICAgICAgICAgcmVzb2x2ZSh7IHJlc3VsdDogdHJ1ZSB9KTtcclxuICAgICAgICB9XHJcbiAgICAgIH0pO1xyXG4gICAgfSk7XHJcbiAgfVxyXG5cclxuXHJcbiAgYWRkV2lkZ2V0KHdpZGdldDogQVhWYWxpZGF0YWJsZUNvbXBvbmVudCkge1xyXG4gICAgaWYod2lkZ2V0KVxyXG4gICAgICB0aGlzLndpZGdldHMucHVzaCh3aWRnZXQpO1xyXG4gIH1cclxuXHJcbn1cclxuIl19
|
|
@@ -5614,11 +5614,10 @@ class AXValidationFormComponent {
|
|
|
5614
5614
|
});
|
|
5615
5615
|
}
|
|
5616
5616
|
validate() {
|
|
5617
|
-
debugger;
|
|
5618
5617
|
this.widgets.push(...this.widgetsQuery.toArray().filter(c => !this.widgets.includes(c)));
|
|
5619
5618
|
//
|
|
5620
5619
|
this.widgets.forEach(w => {
|
|
5621
|
-
if (
|
|
5620
|
+
if (w.validation && w.validation.validateOn == null) {
|
|
5622
5621
|
w.validation.validateOn = this.validateOn;
|
|
5623
5622
|
}
|
|
5624
5623
|
});
|
|
@@ -10306,10 +10305,11 @@ class AXSearchBarComponent {
|
|
|
10306
10305
|
set items(v) {
|
|
10307
10306
|
v.forEach((el) => {
|
|
10308
10307
|
if (el.value != null) {
|
|
10308
|
+
debugger;
|
|
10309
10309
|
this._filterItems.push({
|
|
10310
10310
|
name: el.property.name,
|
|
10311
10311
|
title: el.property.title,
|
|
10312
|
-
textValue: el
|
|
10312
|
+
textValue: this.handleTextValue(el),
|
|
10313
10313
|
value: el.value,
|
|
10314
10314
|
component: el
|
|
10315
10315
|
});
|
|
@@ -10331,53 +10331,57 @@ class AXSearchBarComponent {
|
|
|
10331
10331
|
}
|
|
10332
10332
|
handleValueChange(e) {
|
|
10333
10333
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
e.
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
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
|
+
}
|
|
10348
10356
|
}
|
|
10349
10357
|
else {
|
|
10350
|
-
value = e.value
|
|
10351
|
-
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
|
+
});
|
|
10352
10382
|
}
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
value = e.value;
|
|
10356
|
-
text = e.value;
|
|
10357
|
-
}
|
|
10358
|
-
const findEl = this._filterItemsClone.find((el) => el.name == e.property.name);
|
|
10359
|
-
if (findEl) {
|
|
10360
|
-
findEl.value = value;
|
|
10361
|
-
findEl.textValue = text.toString();
|
|
10362
|
-
}
|
|
10363
|
-
else if (e.value != null) {
|
|
10364
|
-
this._filterItemsClone.push({
|
|
10365
|
-
name: e.property.name,
|
|
10366
|
-
title: e.property.title,
|
|
10367
|
-
value,
|
|
10368
|
-
textValue: text.toString(),
|
|
10369
|
-
component: e,
|
|
10370
|
-
filterOptions: {
|
|
10371
|
-
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 : [],
|
|
10372
|
-
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',
|
|
10373
|
-
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,
|
|
10374
|
-
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',
|
|
10375
|
-
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,
|
|
10376
|
-
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
|
|
10377
|
-
}
|
|
10378
|
-
});
|
|
10379
|
-
}
|
|
10380
|
-
this.onValueChange.emit(e);
|
|
10383
|
+
this.onValueChange.emit(e);
|
|
10384
|
+
});
|
|
10381
10385
|
}
|
|
10382
10386
|
handleItemRemoveClick(item) {
|
|
10383
10387
|
this._editors.forEach((e) => {
|
|
@@ -10388,9 +10392,16 @@ class AXSearchBarComponent {
|
|
|
10388
10392
|
this._filterItems = this._filterItems.filter((el) => el.name != item.name);
|
|
10389
10393
|
}
|
|
10390
10394
|
search() {
|
|
10391
|
-
|
|
10392
|
-
this.
|
|
10393
|
-
|
|
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
|
+
});
|
|
10394
10405
|
}
|
|
10395
10406
|
clear() {
|
|
10396
10407
|
this._editors.forEach((e) => {
|
|
@@ -10426,19 +10437,56 @@ class AXSearchBarComponent {
|
|
|
10426
10437
|
}
|
|
10427
10438
|
return className.toString().replace(/,/, ' ');
|
|
10428
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
|
+
}
|
|
10429
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
|
+
}
|
|
10430
10475
|
}
|
|
10431
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 });
|
|
10432
|
-
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 } });
|
|
10433
10478
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarComponent, decorators: [{
|
|
10434
10479
|
type: Component,
|
|
10435
|
-
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"] }]
|
|
10436
10481
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { dropdown: [{
|
|
10437
10482
|
type: ViewChild,
|
|
10438
10483
|
args: ['dropdown', { static: true }]
|
|
10439
10484
|
}], _editors: [{
|
|
10440
10485
|
type: ViewChildren,
|
|
10441
10486
|
args: [AXPropertyEditorRendererDirective]
|
|
10487
|
+
}], form: [{
|
|
10488
|
+
type: ViewChild,
|
|
10489
|
+
args: [AXValidationFormComponent]
|
|
10442
10490
|
}], size: [{
|
|
10443
10491
|
type: Input
|
|
10444
10492
|
}], disabled: [{
|
|
@@ -11616,6 +11664,7 @@ class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11616
11664
|
this.minValue = null;
|
|
11617
11665
|
this.maxValue = null;
|
|
11618
11666
|
this.clearButton = false;
|
|
11667
|
+
this.showCounter = true;
|
|
11619
11668
|
}
|
|
11620
11669
|
handleValueChange(e) {
|
|
11621
11670
|
super.handleValueChange(e.value);
|
|
@@ -11627,34 +11676,36 @@ class AXNumberBoxPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11627
11676
|
}
|
|
11628
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 });
|
|
11629
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: `
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
|
|
11638
|
-
|
|
11639
|
-
|
|
11640
|
-
|
|
11641
|
-
|
|
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"] }] });
|
|
11642
11692
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXNumberBoxPropertyEditorComponent, decorators: [{
|
|
11643
11693
|
type: Component,
|
|
11644
11694
|
args: [{
|
|
11645
11695
|
template: `
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
|
|
11657
|
-
|
|
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
|
+
`
|
|
11658
11709
|
}]
|
|
11659
11710
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
11660
11711
|
type: ViewChild,
|
|
@@ -11950,6 +12001,7 @@ class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11950
12001
|
this.direction = 'horizontal';
|
|
11951
12002
|
this.textField = null;
|
|
11952
12003
|
this.valueField = null;
|
|
12004
|
+
this.selectedItems = [];
|
|
11953
12005
|
}
|
|
11954
12006
|
handleValueChange(e) {
|
|
11955
12007
|
super.handleValueChange(e);
|
|
@@ -11961,42 +12013,38 @@ class AXSelectionListPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
11961
12013
|
}
|
|
11962
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 });
|
|
11963
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: `
|
|
11964
|
-
<ax-selection-list
|
|
11965
|
-
|
|
11966
|
-
|
|
11967
|
-
|
|
11968
|
-
|
|
11969
|
-
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
[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"
|
|
11975
12026
|
>
|
|
11976
|
-
|
|
11977
|
-
</ax-validation>
|
|
12027
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11978
12028
|
</ax-selection-list>
|
|
11979
|
-
|
|
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"] }] });
|
|
11980
12030
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSelectionListPropertyEditorComponent, decorators: [{
|
|
11981
12031
|
type: Component,
|
|
11982
12032
|
args: [{
|
|
11983
12033
|
template: `
|
|
11984
|
-
<ax-selection-list
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
|
|
11992
|
-
|
|
11993
|
-
|
|
11994
|
-
[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"
|
|
11995
12044
|
>
|
|
11996
|
-
|
|
11997
|
-
</ax-validation>
|
|
12045
|
+
<ax-validation [rules]="validation?.rules"> </ax-validation>
|
|
11998
12046
|
</ax-selection-list>
|
|
11999
|
-
|
|
12047
|
+
`
|
|
12000
12048
|
}]
|
|
12001
12049
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionList: [{
|
|
12002
12050
|
type: ViewChild,
|
|
@@ -12127,6 +12175,9 @@ class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
12127
12175
|
super(cdr);
|
|
12128
12176
|
this.cdr = cdr;
|
|
12129
12177
|
this.clearButton = false;
|
|
12178
|
+
this.mask = null;
|
|
12179
|
+
this.maskGuid = false;
|
|
12180
|
+
this.showMask = true;
|
|
12130
12181
|
}
|
|
12131
12182
|
handleValueChange(e) {
|
|
12132
12183
|
super.handleValueChange(e.value);
|
|
@@ -12137,10 +12188,10 @@ class AXTextPropertyEditorComponent extends AXProperyEditorComponent {
|
|
|
12137
12188
|
}
|
|
12138
12189
|
}
|
|
12139
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 });
|
|
12140
|
-
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"] }] });
|
|
12141
12192
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXTextPropertyEditorComponent, decorators: [{
|
|
12142
12193
|
type: Component,
|
|
12143
|
-
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>" }]
|
|
12144
12195
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { textBox: [{
|
|
12145
12196
|
type: ViewChild,
|
|
12146
12197
|
args: [AXTextBoxComponent]
|
|
@@ -13406,13 +13457,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
13406
13457
|
class AXSearchBarModule {
|
|
13407
13458
|
}
|
|
13408
13459
|
AXSearchBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
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], 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]] });
|
|
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]] });
|
|
13411
13462
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AXSearchBarModule, decorators: [{
|
|
13412
13463
|
type: NgModule,
|
|
13413
13464
|
args: [{
|
|
13414
13465
|
declarations: [AXSearchBarComponent],
|
|
13415
|
-
imports: [CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule],
|
|
13466
|
+
imports: [CommonModule, FormsModule, AXDropdownModule, AXButtonModule, AXTextBoxModule, AXProppertyEditorModule, AXFormGroupModule, AXLabelModule, AXTranslatorModule, AXValidationModule],
|
|
13416
13467
|
exports: [AXSearchBarComponent],
|
|
13417
13468
|
providers: [],
|
|
13418
13469
|
}]
|