zek 16.0.3 → 16.0.5
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/esm2022/lib/components/edit-base.component.mjs +9 -9
- package/esm2022/lib/components/list-base.component.mjs +5 -5
- package/esm2022/lib/modules/alert/validation/validation.mjs +4 -4
- package/esm2022/lib/modules/bb/bb-modal-toolbar.mjs +3 -3
- package/esm2022/lib/modules/grid-toolbar/grid-toolbar-bar/grid-toolbar-bar.component.mjs +3 -3
- package/esm2022/lib/modules/modal/modal/modal.component.mjs +6 -6
- package/esm2022/lib/modules/select2-multiple/index.mjs +3 -3
- package/esm2022/lib/modules/select2-multiple/module.mjs +29 -0
- package/esm2022/lib/modules/select2-multiple/select2-multiple.mjs +133 -0
- package/esm2022/lib/modules/sort/sort-button-group/sort-button-group.component.mjs +3 -3
- package/esm2022/lib/modules/sort/sort.directive.mjs +4 -4
- package/esm2022/lib/services/web.api.mjs +4 -1
- package/esm2022/lib/utils/bootstrap.helper.mjs +5 -5
- package/fesm2022/zek.mjs +50 -47
- package/fesm2022/zek.mjs.map +1 -1
- package/lib/modules/select2-multiple/index.d.ts +2 -2
- package/lib/modules/select2-multiple/module.d.ts +9 -0
- package/lib/modules/select2-multiple/{select2-multiple.component.d.ts → select2-multiple.d.ts} +3 -3
- package/lib/services/web.api.d.ts +1 -0
- package/package.json +1 -1
- package/esm2022/lib/modules/select2-multiple/select2-multiple.component.mjs +0 -133
- package/esm2022/lib/modules/select2-multiple/select2-multiple.module.mjs +0 -29
- package/lib/modules/select2-multiple/select2-multiple.module.d.ts +0 -9
|
@@ -49,14 +49,14 @@ export class BootstrapHelper {
|
|
|
49
49
|
}
|
|
50
50
|
switch (type) {
|
|
51
51
|
case ComponentType.Delete:
|
|
52
|
-
return '
|
|
52
|
+
return 'fa-solid fa-trash';
|
|
53
53
|
// case ComponentType.Danger:
|
|
54
54
|
case ComponentType.Warning:
|
|
55
|
-
return '
|
|
55
|
+
return 'fa-solid fa-triangle-exclamation';
|
|
56
56
|
case ComponentType.Info:
|
|
57
|
-
return '
|
|
57
|
+
return 'fa-solid fa-circle-info';
|
|
58
58
|
default:
|
|
59
|
-
return '
|
|
59
|
+
return 'fa-solid fa-check';
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
static cssButton(type) {
|
|
@@ -124,4 +124,4 @@ export class BootstrapHelper {
|
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
127
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9vdHN0cmFwLmhlbHBlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3play9zcmMvbGliL3V0aWxzL2Jvb3RzdHJhcC5oZWxwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUUvQyxNQUFNLENBQU4sSUFBWSxhQVVYO0FBVkQsV0FBWSxhQUFhO0lBQ3JCLHVEQUFXLENBQUE7SUFDWCxhQUFhO0lBQ2IsdURBQU8sQ0FBQTtJQUNQLHFEQUFNLENBQUE7SUFDTixTQUFTO0lBQ1QsdURBQU8sQ0FBQTtJQUNQLGlEQUFJLENBQUE7SUFDSixTQUFTO0lBQ1QsUUFBUTtBQUNaLENBQUMsRUFWVyxhQUFhLEtBQWIsYUFBYSxRQVV4QjtBQUVELE1BQU0sQ0FBTixJQUFZLEtBUVg7QUFSRCxXQUFZLEtBQUs7SUFDYix1Q0FBVyxDQUFBO0lBQ1gsMkNBQWEsQ0FBQTtJQUNiLHVDQUFXLENBQUE7SUFDWCxxQ0FBVSxDQUFBO0lBQ1Ys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bmdlcjpcclxuICAgICAgICAgICAgICAgIHJldHVybiAnYmctZGFuZ2VyIHRleHQtd2hpdGUnO1xyXG4gICAgICAgICAgICBjYXNlIENvbG9yLldhcm5pbmc6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2JnLXdhcm5pbmcgdGV4dC1kYXJrJztcclxuICAgICAgICAgICAgY2FzZSBDb2xvci5JbmZvOlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuICdiZy1pbmZvIHRleHQtZGFyayc7XHJcbiAgICAgICAgICAgIGNhc2UgQ29sb3IuRGFyazpcclxuICAgICAgICAgICAgICAgIHJldHVybiAnYmctZGFyayB0ZXh0LXdoaXRlJztcclxuICAgICAgICAgICAgZGVmYXVsdDpcclxuICAgICAgICAgICAgICAgIHJldHVybiAnJztcclxuICAgICAgICB9XHJcbiAgICB9XHJcbiAgICBzdGF0aWMgY3NzSWNvbih0eXBlOiBDb21wb25lbnRUeXBlKTogc3RyaW5nIHwgbnVsbCB7XHJcbiAgICAgICAgaWYgKCF0eXBlKSB7XHJcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgc3dpdGNoICh0eXBlKSB7XHJcbiAgICAgICAgICAgIGNhc2UgQ29tcG9uZW50VHlwZS5EZWxldGU6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2ZhLXNvbGlkIGZhLXRyYXNoJztcclxuXHJcbiAgICAgICAgICAgIC8vIGNhc2UgQ29tcG9uZW50VHlwZS5EYW5nZXI6XHJcbiAgICAgICAgICAgIGNhc2UgQ29tcG9uZW50VHlwZS5XYXJuaW5nOlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuICdmYS1zb2xpZCBmYS10cmlhbmdsZS1leGNsYW1hdGlvbic7XHJcblxyXG4gICAgICAgICAgICBjYXNlIENvbXBvbmVudFR5cGUuSW5mbzpcclxuICAgICAgICAgICAgICAgIHJldHVybiAnZmEtc29saWQgZmEtY2lyY2xlLWluZm8nO1xyXG5cclxuICAgICAgICAgICAgZGVmYXVsdDpcclxuICAgICAgICAgICAgICAgIHJldHVybiAnZmEtc29saWQgZmEtY2hlY2snO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBzdGF0aWMgY3NzQnV0dG9uKHR5cGU6IENvbXBvbmVudFR5cGUpOiBzdHJpbmcge1xyXG4gICAgICAgIHN3aXRjaCAodHlwZSkge1xyXG4gICAgICAgICAgICBjYXNlIENvbXBvbmVudFR5cGUuUHJpbWFyeTpcclxuICAgICAgICAgICAgLy8gY2FzZSBDb21wb25lbnRUeXBlLlNlY29uZGFyeTpcclxuICAgICAgICAgICAgY2FzZSBDb21wb25lbnRUeXBlLlN1Y2Nlc3M6XHJcbiAgICAgICAgICAgIC8vIGNhc2UgQ29tcG9uZW50VHlwZS5EYW5nZXI6XHJcbiAgICAgICAgICAgIGNhc2UgQ29tcG9uZW50VHlwZS5XYXJuaW5nOlxyXG4gICAgICAgICAgICBjYXNlIENvbXBvbmVudFR5cGUuSW5mbzpcclxuICAgICAgICAgICAgICAgIC8vIGNhc2UgQ29tcG9uZW50VHlwZS5MaWdodDpcclxuICAgICAgICAgICAgICAgIC8vIGNhc2UgQ29tcG9uZW50VHlwZS5EYXJrOlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuIGBidG4tJHtDb21wb25lbnRUeXBlW3R5cGVdLnRvTG93ZXJDYXNlKCl9YDtcclxuXHJcbiAgICAgICAgICAgIGNhc2UgQ29tcG9uZW50VHlwZS5EZWxldGU6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2J0bi1kYW5nZXInO1xyXG4gICAgICAgICAgICBkZWZhdWx0OlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuICdidG4tc2Vjb25kYXJ5JztcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG5cclxuXHJcblxyXG4gICAgc3RhdGljIGdldEFsZXJ0VHlwZSh0eXBlPzogc3RyaW5nIHwgbnVsbCk6IEFs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ZS5JbmZvOlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuICdhbGVydC1pbmZvJztcclxuICAgICAgICAgICAgY2FzZSBBbGVydFR5cGUuTGlnaHQ6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2FsZXJ0LWxpZ2h0JztcclxuICAgICAgICAgICAgY2FzZSBBbGVydFR5cGUuRGFyazpcclxuICAgICAgICAgICAgICAgIHJldHVybiAnYWxlcnQtZGFyayc7XHJcbiAgICAgICAgICAgIGRlZmF1bHQ6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2FsZXJ0LXNlY29uZGFyeSc7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG4gICAgc3RhdGljIGNzc0FsZXJ0SWNvbih0eXBlPzogQWxlcnRUeXBlIHwgbnVsbCk6IHN0cmluZyB7XHJcbiAgICAgICAgc3dpdGNoICh0eXBlKSB7XHJcbiAgICAgICAgICAgIGNhc2UgQWxlcnRUeXBlLlN1Y2Nlc3M6XHJcbiAgICAgICAgICAgICAgICByZXR1cm4gJ2ZhLXNvbGlkIGZhLWNpcmNsZS1jaGVjayc7XHJcbiAgICAgICAgICAgIGNhc2UgQWxlcnRUeXBlLkRhbmdlcjpcclxuICAgICAgICAgICAgICAgIHJldHVybiAnZmEtc29saWQgZmEtY2lyY2xlLXhtYXJrJztcclxuICAgICAgICAgICAgY2FzZSBBbGVydFR5cGUuV2FybmluZzpcclxuICAgICAgICAgICAgICAgIHJldHVybiAnZmEtc29saWQgZmEtY2lyY2xlLWV4Y2xhbWF0aW9uJztcclxuICAgICAgICAgICAgY2FzZSBBbGVydFR5cGUuSW5mbzpcclxuICAgICAgICAgICAgICAgIHJldHVybiAnZmEtc29saWQgZmEtY2lyY2xlLWluZm8nO1xyXG4gICAgICAgICAgICBkZWZhdWx0OlxyXG4gICAgICAgICAgICAgICAgcmV0dXJuICcnO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxufSJdfQ==
|
package/fesm2022/zek.mjs
CHANGED
|
@@ -244,14 +244,14 @@ class BootstrapHelper {
|
|
|
244
244
|
}
|
|
245
245
|
switch (type) {
|
|
246
246
|
case ComponentType.Delete:
|
|
247
|
-
return '
|
|
247
|
+
return 'fa-solid fa-trash';
|
|
248
248
|
// case ComponentType.Danger:
|
|
249
249
|
case ComponentType.Warning:
|
|
250
|
-
return '
|
|
250
|
+
return 'fa-solid fa-triangle-exclamation';
|
|
251
251
|
case ComponentType.Info:
|
|
252
|
-
return '
|
|
252
|
+
return 'fa-solid fa-circle-info';
|
|
253
253
|
default:
|
|
254
|
-
return '
|
|
254
|
+
return 'fa-solid fa-check';
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
static cssButton(type) {
|
|
@@ -1825,6 +1825,9 @@ class WebApiClient {
|
|
|
1825
1825
|
//catchError(this.handleError(url))
|
|
1826
1826
|
//);
|
|
1827
1827
|
}
|
|
1828
|
+
patch(url, body) {
|
|
1829
|
+
return this.http.patch(this.baseUrl + url, body, { headers: this.getHeaders() });
|
|
1830
|
+
}
|
|
1828
1831
|
getHeaders() {
|
|
1829
1832
|
let httpHeaders = new HttpHeaders();
|
|
1830
1833
|
httpHeaders = httpHeaders.set('Content-Type', 'application/json');
|
|
@@ -2326,7 +2329,7 @@ class EditBaseComponent extends EditFormComponent {
|
|
|
2326
2329
|
}
|
|
2327
2330
|
if (success) {
|
|
2328
2331
|
let message = await firstValueFrom(this.translate.get('Alert.SaveSuccess'));
|
|
2329
|
-
this.alert.success(message, null, '
|
|
2332
|
+
this.alert.success(message, null, 'fa-solid fa-floppy-disk');
|
|
2330
2333
|
if (navigateToReturnUrl === true) {
|
|
2331
2334
|
this.navigateReturnUrl();
|
|
2332
2335
|
}
|
|
@@ -2339,7 +2342,7 @@ class EditBaseComponent extends EditFormComponent {
|
|
|
2339
2342
|
}
|
|
2340
2343
|
else {
|
|
2341
2344
|
let message = await firstValueFrom(this.translate.get('Alert.SaveError'));
|
|
2342
|
-
this.alert.error(message, null, '
|
|
2345
|
+
this.alert.error(message, null, 'fa-solid fa-floppy-disk');
|
|
2343
2346
|
return false;
|
|
2344
2347
|
}
|
|
2345
2348
|
}
|
|
@@ -2347,12 +2350,12 @@ class EditBaseComponent extends EditFormComponent {
|
|
|
2347
2350
|
let data = await firstValueFrom(this.service.approve(model));
|
|
2348
2351
|
if (data && data.length > 0) {
|
|
2349
2352
|
let message = await firstValueFrom(this.translate.get('Alert.Approved'));
|
|
2350
|
-
this.alert.success(message, null, '
|
|
2353
|
+
this.alert.success(message, null, 'fa-solid fa-floppy-disk');
|
|
2351
2354
|
return true;
|
|
2352
2355
|
}
|
|
2353
2356
|
else {
|
|
2354
2357
|
let message = await firstValueFrom(this.translate.get('Alert.ApproveError'));
|
|
2355
|
-
this.alert.error(message, null, '
|
|
2358
|
+
this.alert.error(message, null, 'fa-solid fa-floppy-disk');
|
|
2356
2359
|
return false;
|
|
2357
2360
|
}
|
|
2358
2361
|
}
|
|
@@ -2360,12 +2363,12 @@ class EditBaseComponent extends EditFormComponent {
|
|
|
2360
2363
|
let data = await firstValueFrom(this.service.disapprove(model));
|
|
2361
2364
|
if (data && data.length > 0) {
|
|
2362
2365
|
let message = await firstValueFrom(this.translate.get('Alert.Disapproved'));
|
|
2363
|
-
this.alert.success(message, null, '
|
|
2366
|
+
this.alert.success(message, null, 'fa-solid fa-floppy-disk');
|
|
2364
2367
|
return true;
|
|
2365
2368
|
}
|
|
2366
2369
|
else {
|
|
2367
2370
|
let message = await firstValueFrom(this.translate.get('Alert.DisapproveError'));
|
|
2368
|
-
this.alert.error(message, null, '
|
|
2371
|
+
this.alert.error(message, null, 'fa-solid fa-floppy-disk');
|
|
2369
2372
|
return false;
|
|
2370
2373
|
}
|
|
2371
2374
|
}
|
|
@@ -2373,12 +2376,12 @@ class EditBaseComponent extends EditFormComponent {
|
|
|
2373
2376
|
let data = await firstValueFrom(this.service.approve(model));
|
|
2374
2377
|
if (data && data.length > 0) {
|
|
2375
2378
|
let message = await firstValueFrom(this.translate.get('Alert.Submitted'));
|
|
2376
|
-
this.alert.success(message, null, '
|
|
2379
|
+
this.alert.success(message, null, 'fa-solid fa-floppy-disk');
|
|
2377
2380
|
return true;
|
|
2378
2381
|
}
|
|
2379
2382
|
else {
|
|
2380
2383
|
let message = await firstValueFrom(this.translate.get('Alert.SubmitError'));
|
|
2381
|
-
this.alert.error(message, null, '
|
|
2384
|
+
this.alert.error(message, null, 'fa-solid fa-floppy-disk');
|
|
2382
2385
|
return false;
|
|
2383
2386
|
}
|
|
2384
2387
|
}
|
|
@@ -2535,7 +2538,7 @@ class ListBaseComponent extends BaseComponent {
|
|
|
2535
2538
|
let data = await firstValueFrom(this.service.delete(id));
|
|
2536
2539
|
if (data?.success) {
|
|
2537
2540
|
let message = await firstValueFrom(this.translate.get('Alert.Deleted'));
|
|
2538
|
-
this.alert.error(message, null, '
|
|
2541
|
+
this.alert.error(message, null, 'fa-solid fa-trash');
|
|
2539
2542
|
this.refresh();
|
|
2540
2543
|
}
|
|
2541
2544
|
}
|
|
@@ -2544,7 +2547,7 @@ class ListBaseComponent extends BaseComponent {
|
|
|
2544
2547
|
let data = await firstValueFrom(this.service.delete2(id, id2));
|
|
2545
2548
|
if (data?.success) {
|
|
2546
2549
|
let message = await firstValueFrom(this.translate.get('Alert.Deleted'));
|
|
2547
|
-
this.alert.error(message, null, '
|
|
2550
|
+
this.alert.error(message, null, 'fa-solid fa-trash');
|
|
2548
2551
|
this.refresh();
|
|
2549
2552
|
}
|
|
2550
2553
|
}
|
|
@@ -2592,7 +2595,7 @@ class ListBaseComponent extends BaseComponent {
|
|
|
2592
2595
|
if (!data || data.length === 0)
|
|
2593
2596
|
return;
|
|
2594
2597
|
let message = await firstValueFrom(this.translate.get('Alert.Approved'));
|
|
2595
|
-
this.alert.success(message, undefined, '
|
|
2598
|
+
this.alert.success(message, undefined, 'fa-solid fa-thumbs-up');
|
|
2596
2599
|
this.refresh();
|
|
2597
2600
|
}
|
|
2598
2601
|
showDisapproveModal(id) {
|
|
@@ -2622,7 +2625,7 @@ class ListBaseComponent extends BaseComponent {
|
|
|
2622
2625
|
if (!data || data.length === 0)
|
|
2623
2626
|
return;
|
|
2624
2627
|
let message = await firstValueFrom(this.translate.get('Alert.Disapproved'));
|
|
2625
|
-
this.alert.success(message, undefined, '
|
|
2628
|
+
this.alert.success(message, undefined, 'fa-solid fa-thumbs-down');
|
|
2626
2629
|
this.refresh();
|
|
2627
2630
|
}
|
|
2628
2631
|
getSelectedIds() {
|
|
@@ -2900,12 +2903,12 @@ class ZekValidation {
|
|
|
2900
2903
|
}
|
|
2901
2904
|
switch (alert.type) {
|
|
2902
2905
|
case AlertType.Success:
|
|
2903
|
-
return '
|
|
2906
|
+
return 'fa-solid fa-check';
|
|
2904
2907
|
case AlertType.Danger:
|
|
2905
2908
|
case AlertType.Warning:
|
|
2906
|
-
return '
|
|
2909
|
+
return 'fa-solid fa-triangle-exclamation';
|
|
2907
2910
|
case AlertType.Info:
|
|
2908
|
-
return '
|
|
2911
|
+
return 'fa-solid fa-circle-info';
|
|
2909
2912
|
default:
|
|
2910
2913
|
return;
|
|
2911
2914
|
}
|
|
@@ -3217,11 +3220,11 @@ class ButtonBrowseModalToolbarComponent {
|
|
|
3217
3220
|
this.onChooseAll.emit();
|
|
3218
3221
|
}
|
|
3219
3222
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ButtonBrowseModalToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3220
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: ButtonBrowseModalToolbarComponent, selector: "zek-bb-modal-toolbar", inputs: { multiSelect: "multiSelect" }, outputs: { onSearch: "onSearch", onReset: "onReset", onChooseAll: "onChooseAll" }, ngImport: i0, template: "<ng-content select=\"[left]\"></ng-content>\r\n<button type=\"button\" (click)=\"search()\" class=\"btn btn-primary me-2\" id=\"bb-filter-button\" title=\"Filter\">\r\n <i class=\"fa fa-filter\" aria-hidden=\"true\"></i>\r\n</button>\r\n<button type=\"button\" (click)=\"reset()\" class=\"btn btn-secondary me-2\" title=\"Reset\">\r\n <i class=\"fa fa-
|
|
3223
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: ButtonBrowseModalToolbarComponent, selector: "zek-bb-modal-toolbar", inputs: { multiSelect: "multiSelect" }, outputs: { onSearch: "onSearch", onReset: "onReset", onChooseAll: "onChooseAll" }, ngImport: i0, template: "<ng-content select=\"[left]\"></ng-content>\r\n<button type=\"button\" (click)=\"search()\" class=\"btn btn-primary me-2\" id=\"bb-filter-button\" title=\"Filter\">\r\n <i class=\"fa-solid fa-filter\" aria-hidden=\"true\"></i>\r\n</button>\r\n<button type=\"button\" (click)=\"reset()\" class=\"btn btn-secondary me-2\" title=\"Reset\">\r\n <i class=\"fa-solid fa-xmark\" aria-hidden=\"true\"></i>\r\n</button>\r\n<button *ngIf=\"multiSelect\" type=\"button\" (click)=\"chooseAll()\" class=\"btn btn-secondary me-2\" title=\"Choose All\">\r\n <i class=\"fa-solid fa-hand-point-up\" aria-hidden=\"true\"></i>\r\n</button>\r\n<ng-content></ng-content>", dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
3221
3224
|
}
|
|
3222
3225
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ButtonBrowseModalToolbarComponent, decorators: [{
|
|
3223
3226
|
type: Component,
|
|
3224
|
-
args: [{ selector: 'zek-bb-modal-toolbar', template: "<ng-content select=\"[left]\"></ng-content>\r\n<button type=\"button\" (click)=\"search()\" class=\"btn btn-primary me-2\" id=\"bb-filter-button\" title=\"Filter\">\r\n <i class=\"fa fa-filter\" aria-hidden=\"true\"></i>\r\n</button>\r\n<button type=\"button\" (click)=\"reset()\" class=\"btn btn-secondary me-2\" title=\"Reset\">\r\n <i class=\"fa fa-
|
|
3227
|
+
args: [{ selector: 'zek-bb-modal-toolbar', template: "<ng-content select=\"[left]\"></ng-content>\r\n<button type=\"button\" (click)=\"search()\" class=\"btn btn-primary me-2\" id=\"bb-filter-button\" title=\"Filter\">\r\n <i class=\"fa-solid fa-filter\" aria-hidden=\"true\"></i>\r\n</button>\r\n<button type=\"button\" (click)=\"reset()\" class=\"btn btn-secondary me-2\" title=\"Reset\">\r\n <i class=\"fa-solid fa-xmark\" aria-hidden=\"true\"></i>\r\n</button>\r\n<button *ngIf=\"multiSelect\" type=\"button\" (click)=\"chooseAll()\" class=\"btn btn-secondary me-2\" title=\"Choose All\">\r\n <i class=\"fa-solid fa-hand-point-up\" aria-hidden=\"true\"></i>\r\n</button>\r\n<ng-content></ng-content>" }]
|
|
3225
3228
|
}], propDecorators: { onSearch: [{
|
|
3226
3229
|
type: Output
|
|
3227
3230
|
}], onReset: [{
|
|
@@ -4078,7 +4081,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
4078
4081
|
class ZekDeleteModal extends ZekModal {
|
|
4079
4082
|
constructor(translate) {
|
|
4080
4083
|
super(translate);
|
|
4081
|
-
this.icon = '
|
|
4084
|
+
this.icon = 'fa-solid fa-trash';
|
|
4082
4085
|
translate.get('Action.Delete').subscribe((res) => this.title = res);
|
|
4083
4086
|
translate.get('Alert.DeleteQuestion').subscribe((res) => this.text = res);
|
|
4084
4087
|
this.componentType = ComponentType.Delete;
|
|
@@ -4093,7 +4096,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
4093
4096
|
class ZekApproveModal extends ZekModal {
|
|
4094
4097
|
constructor(translate) {
|
|
4095
4098
|
super(translate);
|
|
4096
|
-
this.icon = '
|
|
4099
|
+
this.icon = 'fa-solid fa-thumbs-up';
|
|
4097
4100
|
translate.get('Action.Approve').subscribe((res) => this.title = res);
|
|
4098
4101
|
translate.get('Alert.ApproveQuestion').subscribe((res) => this.text = res);
|
|
4099
4102
|
this.componentType = ComponentType.Success;
|
|
@@ -4108,7 +4111,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
4108
4111
|
class ZekSubmitModal extends ZekModal {
|
|
4109
4112
|
constructor(translate) {
|
|
4110
4113
|
super(translate);
|
|
4111
|
-
this.icon = '
|
|
4114
|
+
this.icon = 'fa-solid fa-thumbs-up';
|
|
4112
4115
|
translate.get('Action.Submit').subscribe((res) => this.title = res);
|
|
4113
4116
|
translate.get('Alert.SubmitQuestion').subscribe((res) => this.text = res);
|
|
4114
4117
|
this.componentType = ComponentType.Success;
|
|
@@ -4123,7 +4126,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
4123
4126
|
class ZekDisapproveModal extends ZekModal {
|
|
4124
4127
|
constructor(translate) {
|
|
4125
4128
|
super(translate);
|
|
4126
|
-
this.icon = '
|
|
4129
|
+
this.icon = 'fa-solid fa-thumbs-down';
|
|
4127
4130
|
translate.get('Action.Disapprove').subscribe((res) => this.title = res);
|
|
4128
4131
|
translate.get('Alert.DisapproveQuestion').subscribe((res) => this.text = res);
|
|
4129
4132
|
this.componentType = ComponentType.Delete;
|
|
@@ -4138,7 +4141,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
4138
4141
|
class ZekRestoreModal extends ZekModal {
|
|
4139
4142
|
constructor(translate) {
|
|
4140
4143
|
super(translate);
|
|
4141
|
-
this.icon = '
|
|
4144
|
+
this.icon = 'fa-solid fa-rotate-right';
|
|
4142
4145
|
translate.get('Action.Restore').subscribe((res) => this.title = res);
|
|
4143
4146
|
translate.get('Action.RestoreQuestion').subscribe((res) => this.text = res);
|
|
4144
4147
|
this.componentType = ComponentType.Success;
|
|
@@ -4508,11 +4511,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
4508
4511
|
|
|
4509
4512
|
class GridToolbarBarComponent extends GridToolbarComponent {
|
|
4510
4513
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: GridToolbarBarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4511
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: GridToolbarBarComponent, selector: "zek-grid-toolbar-bar", usesInheritance: true, ngImport: i0, template: "<button type=\"button\" class=\"btn btn-light btn-sm\" data-bs-toggle=\"dropdown\">\r\n <i class=\"
|
|
4514
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: GridToolbarBarComponent, selector: "zek-grid-toolbar-bar", usesInheritance: true, ngImport: i0, template: "<button type=\"button\" class=\"btn btn-light btn-sm\" data-bs-toggle=\"dropdown\">\r\n <i class=\"fa-solid fa-ellipsis\"></i>\r\n</button>\r\n<ul class=\"dropdown-menu\">\r\n <li><button *ngIf=\"showEdit\" (click)=\"edit()\" type=\"button\" class=\"dropdown-item\" [disabled]=\"!editEnabled\">\r\n <i class=\"fa-solid fa-pencil\"></i> {{ 'Action.Edit' | translate }}\r\n </button></li>\r\n <li><button *ngIf=\"showApprove\" (click)=\"approve()\" type=\"button\" class=\"dropdown-item\" [disabled]=\"!approveEnabled\">\r\n <i class=\"fa-solid fa-thumbs-up\"></i> {{ approveText | translate }}\r\n </button></li>\r\n <li><button *ngIf=\"showDisapprove\" (click)=\"disapprove()\" type=\"button\" class=\"dropdown-item\" [disabled]=\"!disapproveEnabled\">\r\n <i class=\"fa-solid fa-thumbs-down\"></i> {{ disapproveText | translate }}\r\n </button></li>\r\n <li><button *ngIf=\"showDelete\" (click)=\"delete()\" type=\"button\" class=\"dropdown-item\" [disabled]=\"!deleteEnabled\">\r\n <i class=\"fa-solid fa-trash\"></i> {{ 'Action.Delete' | translate }}\r\n </button></li>\r\n <li><button *ngIf=\"showRestore\" (click)=\"restore()\" type=\"button\" class=\"dropdown-item\" [disabled]=\"!restoreEnabled\">\r\n <i class=\"fa-solid fa-clock-rotate-left\"></i> {{ 'Action.Restore' | translate }}\r\n </button></li>\r\n <ng-content></ng-content>\r\n</ul>", dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }] }); }
|
|
4512
4515
|
}
|
|
4513
4516
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: GridToolbarBarComponent, decorators: [{
|
|
4514
4517
|
type: Component,
|
|
4515
|
-
args: [{ selector: 'zek-grid-toolbar-bar', template: "<button type=\"button\" class=\"btn btn-light btn-sm\" data-bs-toggle=\"dropdown\">\r\n <i class=\"
|
|
4518
|
+
args: [{ selector: 'zek-grid-toolbar-bar', template: "<button type=\"button\" class=\"btn btn-light btn-sm\" data-bs-toggle=\"dropdown\">\r\n <i class=\"fa-solid fa-ellipsis\"></i>\r\n</button>\r\n<ul class=\"dropdown-menu\">\r\n <li><button *ngIf=\"showEdit\" (click)=\"edit()\" type=\"button\" class=\"dropdown-item\" [disabled]=\"!editEnabled\">\r\n <i class=\"fa-solid fa-pencil\"></i> {{ 'Action.Edit' | translate }}\r\n </button></li>\r\n <li><button *ngIf=\"showApprove\" (click)=\"approve()\" type=\"button\" class=\"dropdown-item\" [disabled]=\"!approveEnabled\">\r\n <i class=\"fa-solid fa-thumbs-up\"></i> {{ approveText | translate }}\r\n </button></li>\r\n <li><button *ngIf=\"showDisapprove\" (click)=\"disapprove()\" type=\"button\" class=\"dropdown-item\" [disabled]=\"!disapproveEnabled\">\r\n <i class=\"fa-solid fa-thumbs-down\"></i> {{ disapproveText | translate }}\r\n </button></li>\r\n <li><button *ngIf=\"showDelete\" (click)=\"delete()\" type=\"button\" class=\"dropdown-item\" [disabled]=\"!deleteEnabled\">\r\n <i class=\"fa-solid fa-trash\"></i> {{ 'Action.Delete' | translate }}\r\n </button></li>\r\n <li><button *ngIf=\"showRestore\" (click)=\"restore()\" type=\"button\" class=\"dropdown-item\" [disabled]=\"!restoreEnabled\">\r\n <i class=\"fa-solid fa-clock-rotate-left\"></i> {{ 'Action.Restore' | translate }}\r\n </button></li>\r\n <ng-content></ng-content>\r\n</ul>" }]
|
|
4516
4519
|
}] });
|
|
4517
4520
|
|
|
4518
4521
|
class GridToolbarModule {
|
|
@@ -5871,7 +5874,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
5871
5874
|
}] });
|
|
5872
5875
|
|
|
5873
5876
|
//declare let bootstrap: any;
|
|
5874
|
-
class
|
|
5877
|
+
class ZekSelect2Multiple {
|
|
5875
5878
|
constructor() {
|
|
5876
5879
|
this.elementId = RandomHelper.randomHex();
|
|
5877
5880
|
this._data = [];
|
|
@@ -5975,12 +5978,12 @@ class Select2MultipleComponent {
|
|
|
5975
5978
|
this._value = v;
|
|
5976
5979
|
this.valueChange.emit(v);
|
|
5977
5980
|
}
|
|
5978
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type:
|
|
5979
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type:
|
|
5981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ZekSelect2Multiple, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5982
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: ZekSelect2Multiple, selector: "zek-select2-multiple,[zek-select2-multiple]", inputs: { data: "data", textField: "textField", valueField: "valueField", placeholder: "placeholder", value: "value" }, outputs: { selectedItemChange: "selectedItemChange", valueChange: "valueChange" }, ngImport: i0, template: "<div class=\"input-group position-relative\" id=\"dropdown-menu-container-{{elementId}}\">\r\n <input type=\"text\" class=\"form-control\" placeholder=\"{{placeholder}}\" data-bs-toggle=\"dropdown\" data-bs-auto-close=\"outside\" id=\"input-{{elementId}}\" [(ngModel)]=\"text\" (ngModelChange)=\"onTextChange($event)\" (focus)=\"onFocus($event)\" (blur)=\"inputUnfocused()\">\r\n <button class=\"btn btn-outline-secondary dropdown-toggle\" id=\"btn-{{elementId}}\" type=\"button\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\" data-bs-reference=\"parent\"></button>\r\n <ul class=\"dropdown-menu dropdown-menu-start w-100 scrollable-menu\" id=\"dropdown-menu-{{elementId}}\">\r\n <ng-container *ngIf=\"textField\">\r\n <li *ngFor=\"let item of filteredData\">\r\n <a href=\"javascript:void(0)\" (click)=\"selectItem(item)\" class=\"dropdown-item\">\r\n <span *ngIf=\"item.selected\"><i class=\"fa-regular fa-square-check\"></i></span>\r\n <span *ngIf=\"!item.selected\"><i class=\"fa-regular fa-square\"></i></span>\r\n {{item[textField]}}\r\n </a>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"!textField\">\r\n <li *ngFor=\"let item of filteredData\">\r\n <a href=\"javascript:void(0)\" (click)=\"selectItem(item)\" class=\"dropdown-item\">\r\n <span *ngIf=\"item.selected\"><i class=\"fa-regular fa-square-check\"></i></span>\r\n <span *ngIf=\"!item.selected\"><i class=\"fa-regular fa-square\"></i></span>\r\n {{item}}\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n</div>", dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
|
5980
5983
|
}
|
|
5981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type:
|
|
5984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ZekSelect2Multiple, decorators: [{
|
|
5982
5985
|
type: Component,
|
|
5983
|
-
args: [{ selector: 'zek-select2-multiple,[zek-select2-multiple]', template: "<div class=\"input-group position-relative\" id=\"dropdown-menu-container-{{elementId}}\">\r\n <input type=\"text\" class=\"form-control\" placeholder=\"{{placeholder}}\" data-bs-toggle=\"dropdown\" data-bs-auto-close=\"outside\" id=\"input-{{elementId}}\" [(ngModel)]=\"text\" (ngModelChange)=\"onTextChange($event)\" (focus)=\"onFocus($event)\" (blur)=\"inputUnfocused()\">\r\n <button class=\"btn btn-outline-secondary dropdown-toggle\" id=\"btn-{{elementId}}\" type=\"button\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\" data-bs-reference=\"parent\"></button>\r\n <ul class=\"dropdown-menu dropdown-menu-start w-100 scrollable-menu\" id=\"dropdown-menu-{{elementId}}\">\r\n <ng-container *ngIf=\"textField\">\r\n <li *ngFor=\"let item of filteredData\">\r\n <a href=\"javascript:void(0)\" (click)=\"selectItem(item)\" class=\"dropdown-item\">\r\n <span *ngIf=\"item.selected\"><i class=\"
|
|
5986
|
+
args: [{ selector: 'zek-select2-multiple,[zek-select2-multiple]', template: "<div class=\"input-group position-relative\" id=\"dropdown-menu-container-{{elementId}}\">\r\n <input type=\"text\" class=\"form-control\" placeholder=\"{{placeholder}}\" data-bs-toggle=\"dropdown\" data-bs-auto-close=\"outside\" id=\"input-{{elementId}}\" [(ngModel)]=\"text\" (ngModelChange)=\"onTextChange($event)\" (focus)=\"onFocus($event)\" (blur)=\"inputUnfocused()\">\r\n <button class=\"btn btn-outline-secondary dropdown-toggle\" id=\"btn-{{elementId}}\" type=\"button\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\" data-bs-reference=\"parent\"></button>\r\n <ul class=\"dropdown-menu dropdown-menu-start w-100 scrollable-menu\" id=\"dropdown-menu-{{elementId}}\">\r\n <ng-container *ngIf=\"textField\">\r\n <li *ngFor=\"let item of filteredData\">\r\n <a href=\"javascript:void(0)\" (click)=\"selectItem(item)\" class=\"dropdown-item\">\r\n <span *ngIf=\"item.selected\"><i class=\"fa-regular fa-square-check\"></i></span>\r\n <span *ngIf=\"!item.selected\"><i class=\"fa-regular fa-square\"></i></span>\r\n {{item[textField]}}\r\n </a>\r\n </li>\r\n </ng-container>\r\n <ng-container *ngIf=\"!textField\">\r\n <li *ngFor=\"let item of filteredData\">\r\n <a href=\"javascript:void(0)\" (click)=\"selectItem(item)\" class=\"dropdown-item\">\r\n <span *ngIf=\"item.selected\"><i class=\"fa-regular fa-square-check\"></i></span>\r\n <span *ngIf=\"!item.selected\"><i class=\"fa-regular fa-square\"></i></span>\r\n {{item}}\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n</div>" }]
|
|
5984
5987
|
}], propDecorators: { data: [{
|
|
5985
5988
|
type: Input
|
|
5986
5989
|
}], textField: [{
|
|
@@ -5997,14 +6000,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
5997
6000
|
type: Input
|
|
5998
6001
|
}] } });
|
|
5999
6002
|
|
|
6000
|
-
class
|
|
6001
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type:
|
|
6002
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type:
|
|
6003
|
-
FormsModule], exports: [
|
|
6004
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type:
|
|
6003
|
+
class ZekSelect2MultipleModule {
|
|
6004
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ZekSelect2MultipleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6005
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: ZekSelect2MultipleModule, declarations: [ZekSelect2Multiple], imports: [CommonModule,
|
|
6006
|
+
FormsModule], exports: [ZekSelect2Multiple] }); }
|
|
6007
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ZekSelect2MultipleModule, imports: [CommonModule,
|
|
6005
6008
|
FormsModule] }); }
|
|
6006
6009
|
}
|
|
6007
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type:
|
|
6010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: ZekSelect2MultipleModule, decorators: [{
|
|
6008
6011
|
type: NgModule,
|
|
6009
6012
|
args: [{
|
|
6010
6013
|
imports: [
|
|
@@ -6012,10 +6015,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
6012
6015
|
FormsModule
|
|
6013
6016
|
],
|
|
6014
6017
|
declarations: [
|
|
6015
|
-
|
|
6018
|
+
ZekSelect2Multiple
|
|
6016
6019
|
],
|
|
6017
6020
|
exports: [
|
|
6018
|
-
|
|
6021
|
+
ZekSelect2Multiple
|
|
6019
6022
|
],
|
|
6020
6023
|
}]
|
|
6021
6024
|
}] });
|
|
@@ -6073,9 +6076,9 @@ class SortDirective {
|
|
|
6073
6076
|
}
|
|
6074
6077
|
this.el.nativeElement.innerHTML = (this.innerHtml || '')
|
|
6075
6078
|
+ '<span class="float-end' + (tmpAsc === 1 ? ' text-muted' : '') + '">'
|
|
6076
|
-
+ (tmpAsc === 1 ? '<i class="
|
|
6077
|
-
+ (tmpAsc === 2 ? '<i class="
|
|
6078
|
-
+ (tmpAsc === 3 ? '<i class="
|
|
6079
|
+
+ (tmpAsc === 1 ? '<i class="fa-solid fa-sort"></i>' : '')
|
|
6080
|
+
+ (tmpAsc === 2 ? '<i class="fa-solid fa-sort-up"></i>' : '')
|
|
6081
|
+
+ (tmpAsc === 3 ? '<i class="fa-solid fa-sort-down"></i>' : '')
|
|
6079
6082
|
+ '</span>';
|
|
6080
6083
|
}
|
|
6081
6084
|
// @HostListener('click', ['$event.target']) onClick(btn) {
|
|
@@ -6190,11 +6193,11 @@ class SortButtonGroupComponent {
|
|
|
6190
6193
|
this.onChange.emit();
|
|
6191
6194
|
}
|
|
6192
6195
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: SortButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6193
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: SortButtonGroupComponent, selector: "zek-sort-button-group", inputs: { sort: "sort", asc: "asc", sortFields: "sortFields" }, outputs: { sortChange: "sortChange", ascChange: "ascChange", onChange: "onChange" }, ngImport: i0, template: "<div class=\"btn-group me-3\" role=\"group\" aria-label=\"Sort group\">\r\n <button type=\"button\" class=\"btn btn-light\" (click)=\"ascDescClick()\">\r\n <span *ngIf=\"asc === undefined || asc === null\"><i class=\"
|
|
6196
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: SortButtonGroupComponent, selector: "zek-sort-button-group", inputs: { sort: "sort", asc: "asc", sortFields: "sortFields" }, outputs: { sortChange: "sortChange", ascChange: "ascChange", onChange: "onChange" }, ngImport: i0, template: "<div class=\"btn-group me-3\" role=\"group\" aria-label=\"Sort group\">\r\n <button type=\"button\" class=\"btn btn-light\" (click)=\"ascDescClick()\">\r\n <span *ngIf=\"asc === undefined || asc === null\"><i class=\"fa-solid fa-sort fa-fw\"></i></span>\r\n <span *ngIf=\"asc === true\"><i class=\"fa-solid fa-arrow-down-z-a fa-fw\"></i></span>\r\n <span *ngIf=\"asc === false\"><i class=\"fa-solid fa-arrow-up-z-a fa-fw\"></i></span>\r\n </button>\r\n <button *ngIf=\"sortFields && sortFields.length > 0\" class=\"btn btn-light dropdown-toggle\" type=\"button\" id=\"{{elementName}}\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">\r\n <ng-container *ngIf=\"sortField; else elseFieldBlock\">{{ sortField.value | translate }}</ng-container>\r\n <ng-template #elseFieldBlock>{{ 'Action.Sort' | translate }}</ng-template>\r\n </button>\r\n <ul *ngIf=\"sortFields && sortFields.length > 0\" class=\"dropdown-menu\" [attr.aria-labelledby]=\"elementName\">\r\n <li><a *ngFor=\"let item of sortFields\" class=\"dropdown-item\" href=\"javascript:void(0)\" (click)=\"sortFieldClick(item)\">{{ (item.value) | translate }}</a></li>\r\n </ul>\r\n</div><i class=\"\"></i>", dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }] }); }
|
|
6194
6197
|
}
|
|
6195
6198
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: SortButtonGroupComponent, decorators: [{
|
|
6196
6199
|
type: Component,
|
|
6197
|
-
args: [{ selector: 'zek-sort-button-group', template: "<div class=\"btn-group me-3\" role=\"group\" aria-label=\"Sort group\">\r\n <button type=\"button\" class=\"btn btn-light\" (click)=\"ascDescClick()\">\r\n <span *ngIf=\"asc === undefined || asc === null\"><i class=\"
|
|
6200
|
+
args: [{ selector: 'zek-sort-button-group', template: "<div class=\"btn-group me-3\" role=\"group\" aria-label=\"Sort group\">\r\n <button type=\"button\" class=\"btn btn-light\" (click)=\"ascDescClick()\">\r\n <span *ngIf=\"asc === undefined || asc === null\"><i class=\"fa-solid fa-sort fa-fw\"></i></span>\r\n <span *ngIf=\"asc === true\"><i class=\"fa-solid fa-arrow-down-z-a fa-fw\"></i></span>\r\n <span *ngIf=\"asc === false\"><i class=\"fa-solid fa-arrow-up-z-a fa-fw\"></i></span>\r\n </button>\r\n <button *ngIf=\"sortFields && sortFields.length > 0\" class=\"btn btn-light dropdown-toggle\" type=\"button\" id=\"{{elementName}}\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">\r\n <ng-container *ngIf=\"sortField; else elseFieldBlock\">{{ sortField.value | translate }}</ng-container>\r\n <ng-template #elseFieldBlock>{{ 'Action.Sort' | translate }}</ng-template>\r\n </button>\r\n <ul *ngIf=\"sortFields && sortFields.length > 0\" class=\"dropdown-menu\" [attr.aria-labelledby]=\"elementName\">\r\n <li><a *ngFor=\"let item of sortFields\" class=\"dropdown-item\" href=\"javascript:void(0)\" (click)=\"sortFieldClick(item)\">{{ (item.value) | translate }}</a></li>\r\n </ul>\r\n</div><i class=\"\"></i>" }]
|
|
6198
6201
|
}], ctorParameters: function () { return []; }, propDecorators: { sortChange: [{
|
|
6199
6202
|
type: Output
|
|
6200
6203
|
}], ascChange: [{
|
|
@@ -6648,5 +6651,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImpor
|
|
|
6648
6651
|
* Generated bundle index. Do not edit.
|
|
6649
6652
|
*/
|
|
6650
6653
|
|
|
6651
|
-
export { API_BASE_URL, AgeModule, AgePipe, Alert, AlertModule, AlertService, AlertType, AppBaseModule, ArrayHelper, AuthGuardService, AuthService, AutoCompleteDirective, AutoCompleteModule, Base64Helper, BaseAlert, BaseComponent, BaseService, BitwiseHelper, BootstrapHelper, ButtonBrowseComponent, ButtonBrowseModalBaseComponent, ButtonBrowseModalToolbarComponent, ButtonBrowseModule, CallbackModule, CallbackPipe, CardComponent, CardModule, Color, ComponentType, Convert, CoreComponent, CoreUiComponent, CrudService, CssHelper, CustomHttpParamEncoder, DATE_FORMAT, DateAgoModule, DateAgoPipe, DateHelper, DateValueAccessor, DatepickerModule, EditBase, EditBaseComponent, EditComponent, EditFormComponent, EditToolbarComponent, EditToolbarModule, FileBase, FileBytes, FileHelper, FileModule, FileSizePipe, FileString, FileViewerModule, FilterBase, FilterHelper, Gender, GridToolbarBarComponent, GridToolbarComponent, GridToolbarModule, HtmlHelper, HttpErrorHandler, KeyPair, KeyPairChecked, KeyPairEx, KeyPairRequired, LANGUAGE, ListBase, ListBaseComponent, ListToolbarComponent, ListToolbarModule, MathHelper, Month, ObjectHelper, OverlapHelper, PageTitleComponent, PageTitleModule, PagedList, PagedListBase, Pager, PagerBase, PagerHelper, PasswordComponent, PasswordModule, PeriodRelation, PrintType, ProgressModule, RECAPTCHA_SITE_KEY, RadioComponent, RadioModule, RandomHelper, RangeValidator, ReCaptchaService, ReadOnlyDirective, ReadOnlyModule, RecaptchaModule, SafeModule, SafePipe, Select2Component, Select2Module,
|
|
6654
|
+
export { API_BASE_URL, AgeModule, AgePipe, Alert, AlertModule, AlertService, AlertType, AppBaseModule, ArrayHelper, AuthGuardService, AuthService, AutoCompleteDirective, AutoCompleteModule, Base64Helper, BaseAlert, BaseComponent, BaseService, BitwiseHelper, BootstrapHelper, ButtonBrowseComponent, ButtonBrowseModalBaseComponent, ButtonBrowseModalToolbarComponent, ButtonBrowseModule, CallbackModule, CallbackPipe, CardComponent, CardModule, Color, ComponentType, Convert, CoreComponent, CoreUiComponent, CrudService, CssHelper, CustomHttpParamEncoder, DATE_FORMAT, DateAgoModule, DateAgoPipe, DateHelper, DateValueAccessor, DatepickerModule, EditBase, EditBaseComponent, EditComponent, EditFormComponent, EditToolbarComponent, EditToolbarModule, FileBase, FileBytes, FileHelper, FileModule, FileSizePipe, FileString, FileViewerModule, FilterBase, FilterHelper, Gender, GridToolbarBarComponent, GridToolbarComponent, GridToolbarModule, HtmlHelper, HttpErrorHandler, KeyPair, KeyPairChecked, KeyPairEx, KeyPairRequired, LANGUAGE, ListBase, ListBaseComponent, ListToolbarComponent, ListToolbarModule, MathHelper, Month, ObjectHelper, OverlapHelper, PageTitleComponent, PageTitleModule, PagedList, PagedListBase, Pager, PagerBase, PagerHelper, PasswordComponent, PasswordModule, PeriodRelation, PrintType, ProgressModule, RECAPTCHA_SITE_KEY, RadioComponent, RadioModule, RandomHelper, RangeValidator, ReCaptchaService, ReadOnlyDirective, ReadOnlyModule, RecaptchaModule, SafeModule, SafePipe, Select2Component, Select2Module, SortButtonGroupComponent, SortDirective, SortModule, StorageHelper, StringHelper, TimeHelper, TimeModule, TimePipe, TimerService, Toast, Tree, UrlHelper, ValidEventArgs, ValidationHelper, ValidatorModule, Validators, ValidatorsModule, WebApiClient, WebApiModule, WizardComponent, WizardComponent2, WizardModule, ZekAlert, ZekApproveModal, ZekDeleteModal, ZekDisapproveModal, ZekFieldValidator, ZekFileViewer, ZekFilterModal, ZekLoading, ZekLoadingModule, ZekModal, ZekModalModule, ZekPager, ZekPagerModule, ZekProgress, ZekRestoreModal, ZekSelect2Multiple, ZekSelect2MultipleModule, ZekSelectModule, ZekSelectMultiple, ZekSubmitModal, ZekSumModal, ZekToast, ZekValidation, firstBy, handler, nullValidator, rangeValidator };
|
|
6652
6655
|
//# sourceMappingURL=zek.mjs.map
|