@adins/ucsearch 2.9.1 → 2.9.2
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/README.md +31 -1
- package/adins-ucsearch.d.ts +1 -1
- package/bundles/adins-ucsearch.umd.js +1261 -197
- package/bundles/adins-ucsearch.umd.js.map +1 -1
- package/bundles/adins-ucsearch.umd.min.js +1 -1
- package/bundles/adins-ucsearch.umd.min.js.map +1 -1
- package/esm2015/adins-ucsearch.js +1 -2
- package/esm2015/lib/pipe/text-search.pipe.js +42 -0
- package/esm2015/lib/services/excel-service/excel-service.js +8 -2
- package/esm2015/lib/ucsearch.component.js +893 -148
- package/esm2015/lib/ucsearch.module.js +35 -3
- package/esm2015/lib/ucsearch.service.js +10 -3
- package/esm5/adins-ucsearch.js +1 -2
- package/esm5/lib/pipe/text-search.pipe.js +51 -0
- package/esm5/lib/services/excel-service/excel-service.js +8 -2
- package/esm5/lib/ucsearch.component.js +948 -172
- package/esm5/lib/ucsearch.module.js +35 -3
- package/esm5/lib/ucsearch.service.js +10 -3
- package/fesm2015/adins-ucsearch.js +967 -163
- package/fesm2015/adins-ucsearch.js.map +1 -1
- package/fesm5/adins-ucsearch.js +1031 -188
- package/fesm5/adins-ucsearch.js.map +1 -1
- package/lib/pipe/text-search.pipe.d.ts +4 -0
- package/lib/ucsearch.component.d.ts +10 -5
- package/package.json +4 -4
- package/adins-ucsearch.metadata.json +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common/http'), require('file-saver'), require('xlsx'), require('@angular/animations'), require('ngx-toastr'), require('ngx-cookie'), require('crypto-js'), require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('ngx-currency'), require('@ngx-translate/core'), require('@adins/uc-show-errors'), require('@adins/uc-directive-upper-case')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@adins/ucsearch', ['exports', '@angular/common/http', 'file-saver', 'xlsx', '@angular/animations', 'ngx-toastr', 'ngx-cookie', 'crypto-js', '@angular/core', '@angular/common', '@angular/forms', 'ngx-currency', '@ngx-translate/core', '@adins/uc-show-errors', '@adins/uc-directive-upper-case'], factory) :
|
|
4
|
-
(factory((global.adins = global.adins || {}, global.adins.ucsearch = {}),global.ng.common.http,global.FileSaver,global.XLSX,global.ng.animations,global.
|
|
5
|
-
}(this, (function (exports,
|
|
4
|
+
(factory((global.adins = global.adins || {}, global.adins.ucsearch = {}),global.ng.common.http,global.FileSaver,global.XLSX,global.ng.animations,global.i3,global.i4,global.CryptoJS,global.ng.core,global.ng.common,global.ng.forms,global.i1$1,global.i2,global.i10,global.i8));
|
|
5
|
+
}(this, (function (exports,i1,FileSaver,XLSX,animations,i3,i4,CryptoJS,i0,i5,i6,i1$1,i2,i10,i8) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @fileoverview added by tsickle
|
|
@@ -14,13 +14,125 @@
|
|
|
14
14
|
UCSearchService.decorators = [
|
|
15
15
|
{ type: i0.Injectable, args: [{
|
|
16
16
|
providedIn: 'root'
|
|
17
|
-
},] }
|
|
17
|
+
},] },
|
|
18
18
|
];
|
|
19
19
|
/** @nocollapse */
|
|
20
20
|
UCSearchService.ctorParameters = function () { return []; };
|
|
21
|
-
/** @nocollapse */ UCSearchService
|
|
21
|
+
/** @nocollapse */ UCSearchService.ɵfac = function UCSearchService_Factory(t) { return new (t || UCSearchService)(); };
|
|
22
|
+
/** @nocollapse */ UCSearchService.ɵprov = i0.ɵɵdefineInjectable({ token: UCSearchService, factory: UCSearchService.ɵfac, providedIn: 'root' });
|
|
22
23
|
return UCSearchService;
|
|
23
|
-
}());
|
|
24
|
+
}());
|
|
25
|
+
/*@__PURE__*/ (function () {
|
|
26
|
+
i0.ɵsetClassMetadata(UCSearchService, [{
|
|
27
|
+
type: i0.Injectable,
|
|
28
|
+
args: [{
|
|
29
|
+
providedIn: 'root'
|
|
30
|
+
}]
|
|
31
|
+
}], function () { return []; }, null);
|
|
32
|
+
})();
|
|
33
|
+
|
|
34
|
+
/*! *****************************************************************************
|
|
35
|
+
Copyright (c) Microsoft Corporation.
|
|
36
|
+
|
|
37
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
38
|
+
purpose with or without fee is hereby granted.
|
|
39
|
+
|
|
40
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
41
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
42
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
43
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
44
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
45
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
46
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
47
|
+
***************************************************************************** */
|
|
48
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
49
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
50
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
51
|
+
function fulfilled(value) { try {
|
|
52
|
+
step(generator.next(value));
|
|
53
|
+
}
|
|
54
|
+
catch (e) {
|
|
55
|
+
reject(e);
|
|
56
|
+
} }
|
|
57
|
+
function rejected(value) { try {
|
|
58
|
+
step(generator["throw"](value));
|
|
59
|
+
}
|
|
60
|
+
catch (e) {
|
|
61
|
+
reject(e);
|
|
62
|
+
} }
|
|
63
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
64
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function __generator(thisArg, body) {
|
|
68
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
69
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
70
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
71
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
72
|
+
function step(op) {
|
|
73
|
+
if (f)
|
|
74
|
+
throw new TypeError("Generator is already executing.");
|
|
75
|
+
while (_)
|
|
76
|
+
try {
|
|
77
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
78
|
+
return t;
|
|
79
|
+
if (y = 0, t)
|
|
80
|
+
op = [op[0] & 2, t.value];
|
|
81
|
+
switch (op[0]) {
|
|
82
|
+
case 0:
|
|
83
|
+
case 1:
|
|
84
|
+
t = op;
|
|
85
|
+
break;
|
|
86
|
+
case 4:
|
|
87
|
+
_.label++;
|
|
88
|
+
return { value: op[1], done: false };
|
|
89
|
+
case 5:
|
|
90
|
+
_.label++;
|
|
91
|
+
y = op[1];
|
|
92
|
+
op = [0];
|
|
93
|
+
continue;
|
|
94
|
+
case 7:
|
|
95
|
+
op = _.ops.pop();
|
|
96
|
+
_.trys.pop();
|
|
97
|
+
continue;
|
|
98
|
+
default:
|
|
99
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
100
|
+
_ = 0;
|
|
101
|
+
continue;
|
|
102
|
+
}
|
|
103
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
104
|
+
_.label = op[1];
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
108
|
+
_.label = t[1];
|
|
109
|
+
t = op;
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
if (t && _.label < t[2]) {
|
|
113
|
+
_.label = t[2];
|
|
114
|
+
_.ops.push(op);
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
if (t[2])
|
|
118
|
+
_.ops.pop();
|
|
119
|
+
_.trys.pop();
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
op = body.call(thisArg, _);
|
|
123
|
+
}
|
|
124
|
+
catch (e) {
|
|
125
|
+
op = [6, e];
|
|
126
|
+
y = 0;
|
|
127
|
+
}
|
|
128
|
+
finally {
|
|
129
|
+
f = t = 0;
|
|
130
|
+
}
|
|
131
|
+
if (op[0] & 5)
|
|
132
|
+
throw op[1];
|
|
133
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
134
|
+
}
|
|
135
|
+
}
|
|
24
136
|
|
|
25
137
|
/**
|
|
26
138
|
* @fileoverview added by tsickle
|
|
@@ -174,12 +286,19 @@
|
|
|
174
286
|
FileSaver.saveAs(data, fileName + '_export_' + new Date().getTime() + EXCEL_EXTENSION);
|
|
175
287
|
};
|
|
176
288
|
ExcelService.decorators = [
|
|
177
|
-
{ type: i0.Injectable }
|
|
289
|
+
{ type: i0.Injectable },
|
|
178
290
|
];
|
|
179
291
|
/** @nocollapse */
|
|
180
292
|
ExcelService.ctorParameters = function () { return []; };
|
|
293
|
+
/** @nocollapse */ ExcelService.ɵfac = function ExcelService_Factory(t) { return new (t || ExcelService)(); };
|
|
294
|
+
/** @nocollapse */ ExcelService.ɵprov = i0.ɵɵdefineInjectable({ token: ExcelService, factory: ExcelService.ɵfac });
|
|
181
295
|
return ExcelService;
|
|
182
|
-
}());
|
|
296
|
+
}());
|
|
297
|
+
/*@__PURE__*/ (function () {
|
|
298
|
+
i0.ɵsetClassMetadata(ExcelService, [{
|
|
299
|
+
type: i0.Injectable
|
|
300
|
+
}], function () { return []; }, null);
|
|
301
|
+
})();
|
|
183
302
|
|
|
184
303
|
/**
|
|
185
304
|
* @fileoverview added by tsickle
|
|
@@ -237,15 +356,701 @@
|
|
|
237
356
|
* @fileoverview added by tsickle
|
|
238
357
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
239
358
|
*/
|
|
359
|
+
var TextSearchPipe = /** @class */ (function () {
|
|
360
|
+
function TextSearchPipe() {
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* @param {?} items
|
|
364
|
+
* @param {?=} text
|
|
365
|
+
* @return {?}
|
|
366
|
+
*/
|
|
367
|
+
TextSearchPipe.prototype.transform = /**
|
|
368
|
+
* @param {?} items
|
|
369
|
+
* @param {?=} text
|
|
370
|
+
* @return {?}
|
|
371
|
+
*/
|
|
372
|
+
function (items, text) {
|
|
373
|
+
if (!text) {
|
|
374
|
+
return items;
|
|
375
|
+
}
|
|
376
|
+
return items.filter(( /**
|
|
377
|
+
* @param {?} item
|
|
378
|
+
* @return {?}
|
|
379
|
+
*/function (item) {
|
|
380
|
+
if (item.Value && typeof item.Value === 'string') {
|
|
381
|
+
return item.Value.toLowerCase().indexOf(text.toLowerCase()) > -1;
|
|
382
|
+
}
|
|
383
|
+
return false;
|
|
384
|
+
}));
|
|
385
|
+
};
|
|
386
|
+
TextSearchPipe.decorators = [
|
|
387
|
+
{ type: i0.Pipe, args: [{
|
|
388
|
+
name: 'textSearch'
|
|
389
|
+
},] },
|
|
390
|
+
];
|
|
391
|
+
/** @nocollapse */ TextSearchPipe.ɵfac = function TextSearchPipe_Factory(t) { return new (t || TextSearchPipe)(); };
|
|
392
|
+
/** @nocollapse */ TextSearchPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "textSearch", type: TextSearchPipe, pure: true });
|
|
393
|
+
return TextSearchPipe;
|
|
394
|
+
}());
|
|
395
|
+
/*@__PURE__*/ (function () {
|
|
396
|
+
i0.ɵsetClassMetadata(TextSearchPipe, [{
|
|
397
|
+
type: i0.Pipe,
|
|
398
|
+
args: [{
|
|
399
|
+
name: 'textSearch'
|
|
400
|
+
}]
|
|
401
|
+
}], null, null);
|
|
402
|
+
})();
|
|
403
|
+
|
|
404
|
+
var _c0 = ["enjiForm"];
|
|
405
|
+
var _c1 = ["formIdSearch"];
|
|
406
|
+
function UCSearchComponent_div_4_Template(rf, ctx) {
|
|
407
|
+
if (rf & 1) {
|
|
408
|
+
i0.ɵɵelementStart(0, "div", 28);
|
|
409
|
+
i0.ɵɵelementStart(1, "h4", 29);
|
|
410
|
+
i0.ɵɵtext(2);
|
|
411
|
+
i0.ɵɵelementEnd();
|
|
412
|
+
i0.ɵɵelementEnd();
|
|
413
|
+
}
|
|
414
|
+
if (rf & 2) {
|
|
415
|
+
var ctx_r0 = i0.ɵɵnextContext();
|
|
416
|
+
i0.ɵɵadvance(2);
|
|
417
|
+
i0.ɵɵtextInterpolate(ctx_r0.configuration.title);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
function UCSearchComponent_span_14_Template(rf, ctx) {
|
|
421
|
+
if (rf & 1) {
|
|
422
|
+
i0.ɵɵelement(0, "span");
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
function UCSearchComponent_ng_template_15_Template(rf, ctx) {
|
|
426
|
+
if (rf & 1) {
|
|
427
|
+
i0.ɵɵtext(0);
|
|
428
|
+
}
|
|
429
|
+
if (rf & 2) {
|
|
430
|
+
var ctx_r5 = i0.ɵɵnextContext();
|
|
431
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r5.configuration == null ? null : ctx_r5.configuration.sectionTitle, " ");
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
function UCSearchComponent_ng_template_17_Template(rf, ctx) {
|
|
435
|
+
if (rf & 1) {
|
|
436
|
+
i0.ɵɵtext(0, " Paging ");
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
var _c2 = function (a0) { return { "is-invalid": a0 }; };
|
|
440
|
+
function UCSearchComponent_div_21_div_6_Template(rf, ctx) {
|
|
441
|
+
if (rf & 1) {
|
|
442
|
+
var _r27 = i0.ɵɵgetCurrentView();
|
|
443
|
+
i0.ɵɵelementStart(0, "div");
|
|
444
|
+
i0.ɵɵelementStart(1, "input", 35);
|
|
445
|
+
i0.ɵɵlistener("keyup.enter", function UCSearchComponent_div_21_div_6_Template_input_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r27); var ctx_r26 = i0.ɵɵnextContext(2); return ctx_r26.searchClick(); });
|
|
446
|
+
i0.ɵɵelementEnd();
|
|
447
|
+
i0.ɵɵelementEnd();
|
|
448
|
+
}
|
|
449
|
+
if (rf & 2) {
|
|
450
|
+
var question_r13 = i0.ɵɵnextContext().$implicit;
|
|
451
|
+
i0.ɵɵnextContext();
|
|
452
|
+
var _r2 = i0.ɵɵreference(9);
|
|
453
|
+
i0.ɵɵadvance(1);
|
|
454
|
+
i0.ɵɵpropertyInterpolate("id", question_r13.id);
|
|
455
|
+
i0.ɵɵpropertyInterpolate("name", question_r13.name);
|
|
456
|
+
i0.ɵɵpropertyInterpolate("value", question_r13.value);
|
|
457
|
+
i0.ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("ngClass", i0.ɵɵpureFunction1(12, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].touched) || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].dirty)) && (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].invalid)));
|
|
458
|
+
i0.ɵɵattribute("data-crit-datatable", question_r13.isCriteriaDataTable)("data-required", question_r13.isRequired)("data-type", question_r13.datatype)("data-name", question_r13.name)("data-restriction", question_r13.restriction)("label", question_r13.label);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
function UCSearchComponent_div_21_div_7_Template(rf, ctx) {
|
|
462
|
+
if (rf & 1) {
|
|
463
|
+
i0.ɵɵelementStart(0, "div");
|
|
464
|
+
i0.ɵɵelement(1, "textarea", 36);
|
|
465
|
+
i0.ɵɵelementEnd();
|
|
466
|
+
}
|
|
467
|
+
if (rf & 2) {
|
|
468
|
+
var question_r13 = i0.ɵɵnextContext().$implicit;
|
|
469
|
+
i0.ɵɵnextContext();
|
|
470
|
+
var _r2 = i0.ɵɵreference(9);
|
|
471
|
+
i0.ɵɵadvance(1);
|
|
472
|
+
i0.ɵɵpropertyInterpolate("id", question_r13.id);
|
|
473
|
+
i0.ɵɵpropertyInterpolate("name", question_r13.name);
|
|
474
|
+
i0.ɵɵpropertyInterpolate("value", question_r13.value);
|
|
475
|
+
i0.ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("ngClass", i0.ɵɵpureFunction1(10, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].touched) || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].dirty)) && (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].invalid)));
|
|
476
|
+
i0.ɵɵattribute("data-required", question_r13.isRequired)("data-type", question_r13.datatype)("data-name", question_r13.name)("label", question_r13.label);
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
var _c3 = function (a0) { return [a0]; };
|
|
480
|
+
function UCSearchComponent_div_21_div_8_Template(rf, ctx) {
|
|
481
|
+
if (rf & 1) {
|
|
482
|
+
var _r31 = i0.ɵɵgetCurrentView();
|
|
483
|
+
i0.ɵɵelementStart(0, "div");
|
|
484
|
+
i0.ɵɵelementStart(1, "input", 37);
|
|
485
|
+
i0.ɵɵlistener("focus", function UCSearchComponent_div_21_div_8_Template_input_focus_1_listener($event) { i0.ɵɵrestoreView(_r31); var ctx_r30 = i0.ɵɵnextContext(2); return ctx_r30.transformToDecimal($event); })("blur", function UCSearchComponent_div_21_div_8_Template_input_blur_1_listener($event) { i0.ɵɵrestoreView(_r31); var ctx_r32 = i0.ɵɵnextContext(2); return ctx_r32.transformAmount($event); })("keyup.enter", function UCSearchComponent_div_21_div_8_Template_input_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r31); var ctx_r33 = i0.ɵɵnextContext(2); return ctx_r33.searchClick(); });
|
|
486
|
+
i0.ɵɵelementEnd();
|
|
487
|
+
i0.ɵɵelementEnd();
|
|
488
|
+
}
|
|
489
|
+
if (rf & 2) {
|
|
490
|
+
var ctx_r34 = i0.ɵɵnextContext();
|
|
491
|
+
var question_r13 = ctx_r34.$implicit;
|
|
492
|
+
var i_r14 = ctx_r34.index;
|
|
493
|
+
i0.ɵɵnextContext();
|
|
494
|
+
var _r2 = i0.ɵɵreference(9);
|
|
495
|
+
i0.ɵɵadvance(1);
|
|
496
|
+
i0.ɵɵpropertyInterpolate("id", question_r13.id);
|
|
497
|
+
i0.ɵɵpropertyInterpolate("name", question_r13.name + i0.ɵɵpureFunction1(13, _c3, i_r14));
|
|
498
|
+
i0.ɵɵpropertyInterpolate("value", question_r13.value);
|
|
499
|
+
i0.ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("ngClass", i0.ɵɵpureFunction1(27, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(15, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(17, _c3, i_r14)].touched) || (_r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(19, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(21, _c3, i_r14)].dirty)) && (_r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(23, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(25, _c3, i_r14)].invalid)));
|
|
500
|
+
i0.ɵɵattribute("data-required", question_r13.isRequired)("data-restriction", question_r13.restriction)("data-type", question_r13.datatype)("data-name", question_r13.name)("data-numericpair", question_r13.numericPair)("data-crit-datatable", question_r13.isCriteriaDataTable)("label", question_r13.label);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
var _c4 = function () { return { standalone: true }; };
|
|
504
|
+
var _c5 = function (a0, a1, a2, a3, a4, a5, a6) { return { thousands: a0, decimal: a1, align: a2, allowNegative: a3, allowZero: a4, precision: a5, nullable: a6 }; };
|
|
505
|
+
function UCSearchComponent_div_21_div_9_div_1_Template(rf, ctx) {
|
|
506
|
+
if (rf & 1) {
|
|
507
|
+
var _r38 = i0.ɵɵgetCurrentView();
|
|
508
|
+
i0.ɵɵelementStart(0, "div");
|
|
509
|
+
i0.ɵɵelementStart(1, "input", 38);
|
|
510
|
+
i0.ɵɵlistener("keyup.enter", function UCSearchComponent_div_21_div_9_div_1_Template_input_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r38); var ctx_r37 = i0.ɵɵnextContext(3); return ctx_r37.searchClick(); })("ngModelChange", function UCSearchComponent_div_21_div_9_div_1_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r38); var question_r13 = i0.ɵɵnextContext(2).$implicit; return question_r13.value = $event; });
|
|
511
|
+
i0.ɵɵelementEnd();
|
|
512
|
+
i0.ɵɵelementEnd();
|
|
513
|
+
}
|
|
514
|
+
if (rf & 2) {
|
|
515
|
+
var question_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
516
|
+
i0.ɵɵnextContext();
|
|
517
|
+
var _r2 = i0.ɵɵreference(9);
|
|
518
|
+
i0.ɵɵadvance(1);
|
|
519
|
+
i0.ɵɵpropertyInterpolate("id", question_r13.id);
|
|
520
|
+
i0.ɵɵpropertyInterpolate("name", question_r13.name);
|
|
521
|
+
i0.ɵɵproperty("required", question_r13.isRequired)("ngModel", question_r13.value)("ngModel", question_r13.value)("ngModelOptions", i0.ɵɵpureFunction0(13, _c4))("options", i0.ɵɵpureFunction7(14, _c5, question_r13.thousands, question_r13.decimal, question_r13.align, question_r13.allowNegative, question_r13.allowZero, question_r13.precision, question_r13.nullable))("ngClass", i0.ɵɵpureFunction1(22, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].touched) || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].dirty)) && (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].invalid)));
|
|
522
|
+
i0.ɵɵattribute("data-restriction", question_r13.restriction)("data-type", question_r13.datatype)("data-name", question_r13.name)("data-required", question_r13.isRequired)("label", question_r13.label);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
var _c6 = function () { return { thousands: ",", decimal: ".", align: "right", allowNegative: false, allowZero: true, precision: 2, nullable: false }; };
|
|
526
|
+
function UCSearchComponent_div_21_div_9_div_2_Template(rf, ctx) {
|
|
527
|
+
if (rf & 1) {
|
|
528
|
+
var _r43 = i0.ɵɵgetCurrentView();
|
|
529
|
+
i0.ɵɵelementStart(0, "div");
|
|
530
|
+
i0.ɵɵelementStart(1, "input", 39);
|
|
531
|
+
i0.ɵɵlistener("keyup.enter", function UCSearchComponent_div_21_div_9_div_2_Template_input_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r43); var ctx_r42 = i0.ɵɵnextContext(3); return ctx_r42.searchClick(); })("ngModelChange", function UCSearchComponent_div_21_div_9_div_2_Template_input_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r43); var question_r13 = i0.ɵɵnextContext(2).$implicit; return question_r13.value = $event; });
|
|
532
|
+
i0.ɵɵelementEnd();
|
|
533
|
+
i0.ɵɵelementEnd();
|
|
534
|
+
}
|
|
535
|
+
if (rf & 2) {
|
|
536
|
+
var question_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
537
|
+
i0.ɵɵnextContext();
|
|
538
|
+
var _r2 = i0.ɵɵreference(9);
|
|
539
|
+
i0.ɵɵadvance(1);
|
|
540
|
+
i0.ɵɵpropertyInterpolate("id", question_r13.id);
|
|
541
|
+
i0.ɵɵpropertyInterpolate("name", question_r13.name);
|
|
542
|
+
i0.ɵɵproperty("required", question_r13.isRequired)("ngModel", question_r13.value)("ngModel", question_r13.value)("ngModelOptions", i0.ɵɵpureFunction0(13, _c4))("options", i0.ɵɵpureFunction0(14, _c6))("ngClass", i0.ɵɵpureFunction1(15, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].touched) || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].dirty)) && (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].invalid)));
|
|
543
|
+
i0.ɵɵattribute("data-restriction", question_r13.restriction)("data-type", question_r13.datatype)("data-name", question_r13.name)("data-required", question_r13.isRequired)("label", question_r13.label);
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
function UCSearchComponent_div_21_div_9_Template(rf, ctx) {
|
|
547
|
+
if (rf & 1) {
|
|
548
|
+
i0.ɵɵelementStart(0, "div");
|
|
549
|
+
i0.ɵɵtemplate(1, UCSearchComponent_div_21_div_9_div_1_Template, 2, 24, "div", 33);
|
|
550
|
+
i0.ɵɵtemplate(2, UCSearchComponent_div_21_div_9_div_2_Template, 2, 17, "div", 33);
|
|
551
|
+
i0.ɵɵelementEnd();
|
|
552
|
+
}
|
|
553
|
+
if (rf & 2) {
|
|
554
|
+
var question_r13 = i0.ɵɵnextContext().$implicit;
|
|
555
|
+
i0.ɵɵadvance(1);
|
|
556
|
+
i0.ɵɵproperty("ngIf", (question_r13 == null ? null : question_r13.isCustom) != undefined && (question_r13 == null ? null : question_r13.isCustom));
|
|
557
|
+
i0.ɵɵadvance(1);
|
|
558
|
+
i0.ɵɵproperty("ngIf", (question_r13 == null ? null : question_r13.isCustom) == undefined || !(question_r13 == null ? null : question_r13.isCustom));
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
function UCSearchComponent_div_21_div_10_Template(rf, ctx) {
|
|
562
|
+
if (rf & 1) {
|
|
563
|
+
var _r49 = i0.ɵɵgetCurrentView();
|
|
564
|
+
i0.ɵɵelementStart(0, "div");
|
|
565
|
+
i0.ɵɵelementStart(1, "input", 40);
|
|
566
|
+
i0.ɵɵlistener("keyup.enter", function UCSearchComponent_div_21_div_10_Template_input_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r49); var ctx_r48 = i0.ɵɵnextContext(2); return ctx_r48.searchClick(); })("focusout", function UCSearchComponent_div_21_div_10_Template_input_focusout_1_listener() { i0.ɵɵrestoreView(_r49); var question_r13 = i0.ɵɵnextContext().$implicit; var ctx_r50 = i0.ɵɵnextContext(); return question_r13.restriction != undefined && ctx_r50.checkInputDate(question_r13); });
|
|
567
|
+
i0.ɵɵpipe(2, "date");
|
|
568
|
+
i0.ɵɵpipe(3, "date");
|
|
569
|
+
i0.ɵɵelementEnd();
|
|
570
|
+
i0.ɵɵelementEnd();
|
|
571
|
+
}
|
|
572
|
+
if (rf & 2) {
|
|
573
|
+
var ctx_r52 = i0.ɵɵnextContext();
|
|
574
|
+
var question_r13 = ctx_r52.$implicit;
|
|
575
|
+
var i_r14 = ctx_r52.index;
|
|
576
|
+
i0.ɵɵnextContext();
|
|
577
|
+
var _r2 = i0.ɵɵreference(9);
|
|
578
|
+
i0.ɵɵadvance(1);
|
|
579
|
+
i0.ɵɵpropertyInterpolate("type", question_r13.isTime ? "datetime-local" : "date");
|
|
580
|
+
i0.ɵɵpropertyInterpolate("id", question_r13.id);
|
|
581
|
+
i0.ɵɵpropertyInterpolate("name", question_r13.name + i0.ɵɵpureFunction1(23, _c3, i_r14));
|
|
582
|
+
i0.ɵɵpropertyInterpolate("value", question_r13.value);
|
|
583
|
+
i0.ɵɵpropertyInterpolate("min", i0.ɵɵpipeBind2(2, 17, question_r13.minDate, "yyyy-MM-dd"));
|
|
584
|
+
i0.ɵɵpropertyInterpolate("max", i0.ɵɵpipeBind2(3, 20, question_r13.maxDate, "yyyy-MM-dd"));
|
|
585
|
+
i0.ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("readonly", question_r13.readonly)("ngClass", i0.ɵɵpureFunction1(37, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(25, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(27, _c3, i_r14)].touched) || (_r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(29, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(31, _c3, i_r14)].dirty)) && (_r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(33, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(35, _c3, i_r14)].invalid)));
|
|
586
|
+
i0.ɵɵattribute("data-required", question_r13.isRequired)("data-type", question_r13.datatype)("data-name", question_r13.name)("data-datepickerpair", question_r13.datepickerPair)("data-crit-datatable", question_r13.isCriteriaDataTable)("data-restriction", question_r13.restriction)("label", question_r13.label);
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
function UCSearchComponent_div_21_div_11_option_2_Template(rf, ctx) {
|
|
590
|
+
if (rf & 1) {
|
|
591
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
592
|
+
i0.ɵɵtext(1, "Select One");
|
|
593
|
+
i0.ɵɵelementEnd();
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
function UCSearchComponent_div_21_div_11_option_3_Template(rf, ctx) {
|
|
597
|
+
if (rf & 1) {
|
|
598
|
+
i0.ɵɵelementStart(0, "option", 46);
|
|
599
|
+
i0.ɵɵtext(1, "All");
|
|
600
|
+
i0.ɵɵelementEnd();
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
function UCSearchComponent_div_21_div_11_option_4_Template(rf, ctx) {
|
|
604
|
+
if (rf & 1) {
|
|
605
|
+
i0.ɵɵelementStart(0, "option", 47);
|
|
606
|
+
i0.ɵɵtext(1);
|
|
607
|
+
i0.ɵɵelementEnd();
|
|
608
|
+
}
|
|
609
|
+
if (rf & 2) {
|
|
610
|
+
var item_r57 = ctx.$implicit;
|
|
611
|
+
i0.ɵɵpropertyInterpolate("value", item_r57.Key);
|
|
612
|
+
i0.ɵɵadvance(1);
|
|
613
|
+
i0.ɵɵtextInterpolate1(" ", item_r57.Value, " ");
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
function UCSearchComponent_div_21_div_11_label_5_Template(rf, ctx) {
|
|
617
|
+
if (rf & 1) {
|
|
618
|
+
i0.ɵɵelementStart(0, "label");
|
|
619
|
+
i0.ɵɵtext(1);
|
|
620
|
+
i0.ɵɵelementEnd();
|
|
621
|
+
}
|
|
622
|
+
if (rf & 2) {
|
|
623
|
+
var question_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
624
|
+
i0.ɵɵadvance(1);
|
|
625
|
+
i0.ɵɵtextInterpolate(question_r13.itemsUrl[0].Value);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
function UCSearchComponent_div_21_div_11_Template(rf, ctx) {
|
|
629
|
+
if (rf & 1) {
|
|
630
|
+
var _r61 = i0.ɵɵgetCurrentView();
|
|
631
|
+
i0.ɵɵelementStart(0, "div");
|
|
632
|
+
i0.ɵɵelementStart(1, "select", 41);
|
|
633
|
+
i0.ɵɵlistener("change", function UCSearchComponent_div_21_div_11_Template_select_change_1_listener() { i0.ɵɵrestoreView(_r61); var ctx_r60 = i0.ɵɵnextContext(); var question_r13 = ctx_r60.$implicit; var i_r14 = ctx_r60.index; var ctx_r59 = i0.ɵɵnextContext(); return question_r13.type == "taskDefinitionKey" || question_r13.type == "processKey" ? ctx_r59.SetProcessKey(i_r14, question_r13.wfKeyFilter) : ctx_r59.SetRoleOfficeCodes(i_r14); });
|
|
634
|
+
i0.ɵɵtemplate(2, UCSearchComponent_div_21_div_11_option_2_Template, 2, 0, "option", 42);
|
|
635
|
+
i0.ɵɵtemplate(3, UCSearchComponent_div_21_div_11_option_3_Template, 2, 0, "option", 43);
|
|
636
|
+
i0.ɵɵtemplate(4, UCSearchComponent_div_21_div_11_option_4_Template, 2, 2, "option", 44);
|
|
637
|
+
i0.ɵɵelementEnd();
|
|
638
|
+
i0.ɵɵtemplate(5, UCSearchComponent_div_21_div_11_label_5_Template, 2, 1, "label", 33);
|
|
639
|
+
i0.ɵɵelementEnd();
|
|
640
|
+
}
|
|
641
|
+
if (rf & 2) {
|
|
642
|
+
var question_r13 = i0.ɵɵnextContext().$implicit;
|
|
643
|
+
i0.ɵɵnextContext();
|
|
644
|
+
var _r2 = i0.ɵɵreference(9);
|
|
645
|
+
i0.ɵɵadvance(1);
|
|
646
|
+
i0.ɵɵpropertyInterpolate("name", question_r13.name);
|
|
647
|
+
i0.ɵɵproperty("required", question_r13.isRequired)("hidden", (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) == 1)("ngClass", i0.ɵɵpureFunction1(12, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].touched) || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].dirty)) && (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].invalid)));
|
|
648
|
+
i0.ɵɵattribute("data-required", question_r13.isRequired)("query-in", question_r13.isQueryIn)("data-type", question_r13.datatype)("label", question_r13.label);
|
|
649
|
+
i0.ɵɵadvance(1);
|
|
650
|
+
i0.ɵɵproperty("ngIf", question_r13.ddlType == "one" && (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) != 1);
|
|
651
|
+
i0.ɵɵadvance(1);
|
|
652
|
+
i0.ɵɵproperty("ngIf", ((question_r13 == null ? null : question_r13.ddlType) == undefined || question_r13.ddlType == "all") && (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) != 1);
|
|
653
|
+
i0.ɵɵadvance(1);
|
|
654
|
+
i0.ɵɵproperty("ngForOf", question_r13 == null ? null : question_r13.itemsUrl);
|
|
655
|
+
i0.ɵɵadvance(1);
|
|
656
|
+
i0.ɵɵproperty("ngIf", (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) == 1);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
function UCSearchComponent_div_21_div_12_option_2_Template(rf, ctx) {
|
|
660
|
+
if (rf & 1) {
|
|
661
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
662
|
+
i0.ɵɵtext(1, " Select One");
|
|
663
|
+
i0.ɵɵelementEnd();
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
function UCSearchComponent_div_21_div_12_option_3_Template(rf, ctx) {
|
|
667
|
+
if (rf & 1) {
|
|
668
|
+
i0.ɵɵelementStart(0, "option", 46);
|
|
669
|
+
i0.ɵɵtext(1, "All");
|
|
670
|
+
i0.ɵɵelementEnd();
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
function UCSearchComponent_div_21_div_12_option_4_Template(rf, ctx) {
|
|
674
|
+
if (rf & 1) {
|
|
675
|
+
i0.ɵɵelementStart(0, "option", 47);
|
|
676
|
+
i0.ɵɵtext(1);
|
|
677
|
+
i0.ɵɵelementEnd();
|
|
678
|
+
}
|
|
679
|
+
if (rf & 2) {
|
|
680
|
+
var item_r67 = ctx.$implicit;
|
|
681
|
+
var question_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
682
|
+
i0.ɵɵpropertyInterpolate("value", !question_r13.isFromURL ? item_r67.key : item_r67.Key);
|
|
683
|
+
i0.ɵɵadvance(1);
|
|
684
|
+
i0.ɵɵtextInterpolate1(" ", !question_r13.isFromURL ? item_r67.value : item_r67.Value, " ");
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
function UCSearchComponent_div_21_div_12_label_5_Template(rf, ctx) {
|
|
688
|
+
if (rf & 1) {
|
|
689
|
+
i0.ɵɵelementStart(0, "label");
|
|
690
|
+
i0.ɵɵtext(1);
|
|
691
|
+
i0.ɵɵelementEnd();
|
|
692
|
+
}
|
|
693
|
+
if (rf & 2) {
|
|
694
|
+
var question_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
695
|
+
i0.ɵɵadvance(1);
|
|
696
|
+
i0.ɵɵtextInterpolate(!question_r13.isFromURL ? question_r13.items[0].value : question_r13.itemsUrl[0].Value);
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
function UCSearchComponent_div_21_div_12_Template(rf, ctx) {
|
|
700
|
+
if (rf & 1) {
|
|
701
|
+
var _r72 = i0.ɵɵgetCurrentView();
|
|
702
|
+
i0.ɵɵelementStart(0, "div");
|
|
703
|
+
i0.ɵɵelementStart(1, "select", 48);
|
|
704
|
+
i0.ɵɵlistener("ngModelChange", function UCSearchComponent_div_21_div_12_Template_select_ngModelChange_1_listener($event) { i0.ɵɵrestoreView(_r72); var question_r13 = i0.ɵɵnextContext().$implicit; return question_r13.value = $event; })("change", function UCSearchComponent_div_21_div_12_Template_select_change_1_listener($event) { i0.ɵɵrestoreView(_r72); var question_r13 = i0.ɵɵnextContext().$implicit; var ctx_r73 = i0.ɵɵnextContext(); return question_r13.isEvent ? ctx_r73.onChangeEvent($event.target.value, question_r13) : ""; });
|
|
705
|
+
i0.ɵɵtemplate(2, UCSearchComponent_div_21_div_12_option_2_Template, 2, 0, "option", 42);
|
|
706
|
+
i0.ɵɵtemplate(3, UCSearchComponent_div_21_div_12_option_3_Template, 2, 0, "option", 43);
|
|
707
|
+
i0.ɵɵtemplate(4, UCSearchComponent_div_21_div_12_option_4_Template, 2, 2, "option", 44);
|
|
708
|
+
i0.ɵɵelementEnd();
|
|
709
|
+
i0.ɵɵtemplate(5, UCSearchComponent_div_21_div_12_label_5_Template, 2, 1, "label", 33);
|
|
710
|
+
i0.ɵɵelementEnd();
|
|
711
|
+
}
|
|
712
|
+
if (rf & 2) {
|
|
713
|
+
var question_r13 = i0.ɵɵnextContext().$implicit;
|
|
714
|
+
i0.ɵɵnextContext();
|
|
715
|
+
var _r2 = i0.ɵɵreference(9);
|
|
716
|
+
i0.ɵɵadvance(1);
|
|
717
|
+
i0.ɵɵpropertyInterpolate("name", question_r13.name);
|
|
718
|
+
i0.ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("hidden", !question_r13.isFromURL ? (question_r13 == null ? null : question_r13.items == null ? null : question_r13.items.length) == 1 : (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) == 1)("ngClass", i0.ɵɵpureFunction1(15, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].touched) || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].dirty)) && (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].invalid)));
|
|
719
|
+
i0.ɵɵattribute("data-required", question_r13.isRequired)("query-in", question_r13.isQueryIn)("data-type", question_r13.datatype)("data-name", question_r13.name)("label", question_r13.label)("data-crit-datatable", question_r13.isCriteriaDataTable);
|
|
720
|
+
i0.ɵɵadvance(1);
|
|
721
|
+
i0.ɵɵproperty("ngIf", question_r13.ddlType == "one" && (!question_r13.isFromURL ? (question_r13 == null ? null : question_r13.items == null ? null : question_r13.items.length) != 1 : (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) != 1));
|
|
722
|
+
i0.ɵɵadvance(1);
|
|
723
|
+
i0.ɵɵproperty("ngIf", ((question_r13 == null ? null : question_r13.ddlType) == undefined || question_r13.ddlType == "all") && (!question_r13.isFromURL ? (question_r13 == null ? null : question_r13.items == null ? null : question_r13.items.length) != 1 : (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) != 1));
|
|
724
|
+
i0.ɵɵadvance(1);
|
|
725
|
+
i0.ɵɵproperty("ngForOf", !question_r13.isFromURL ? question_r13 == null ? null : question_r13.items : question_r13 == null ? null : question_r13.itemsUrl);
|
|
726
|
+
i0.ɵɵadvance(1);
|
|
727
|
+
i0.ɵɵproperty("ngIf", !question_r13.isFromURL ? (question_r13 == null ? null : question_r13.items == null ? null : question_r13.items.length) == 1 : (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) == 1);
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
function UCSearchComponent_div_21_div_13_label_3_Template(rf, ctx) {
|
|
731
|
+
if (rf & 1) {
|
|
732
|
+
i0.ɵɵelementStart(0, "label");
|
|
733
|
+
i0.ɵɵtext(1);
|
|
734
|
+
i0.ɵɵelementEnd();
|
|
735
|
+
}
|
|
736
|
+
if (rf & 2) {
|
|
737
|
+
var question_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
738
|
+
i0.ɵɵadvance(1);
|
|
739
|
+
i0.ɵɵtextInterpolate(question_r13.descr);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
function UCSearchComponent_div_21_div_13_option_8_Template(rf, ctx) {
|
|
743
|
+
if (rf & 1) {
|
|
744
|
+
var _r83 = i0.ɵɵgetCurrentView();
|
|
745
|
+
i0.ɵɵelementStart(0, "option", 58);
|
|
746
|
+
i0.ɵɵlistener("click", function UCSearchComponent_div_21_div_13_option_8_Template_option_click_0_listener() { i0.ɵɵrestoreView(_r83); var question_r13 = i0.ɵɵnextContext(2).$implicit; var ctx_r81 = i0.ɵɵnextContext(); return ctx_r81.selectedOption({ Key: "one", Value: "Select One" }, question_r13); });
|
|
747
|
+
i0.ɵɵtext(1, " Select One");
|
|
748
|
+
i0.ɵɵelementEnd();
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
function UCSearchComponent_div_21_div_13_option_9_Template(rf, ctx) {
|
|
752
|
+
if (rf & 1) {
|
|
753
|
+
var _r86 = i0.ɵɵgetCurrentView();
|
|
754
|
+
i0.ɵɵelementStart(0, "option", 59);
|
|
755
|
+
i0.ɵɵlistener("click", function UCSearchComponent_div_21_div_13_option_9_Template_option_click_0_listener() { i0.ɵɵrestoreView(_r86); var question_r13 = i0.ɵɵnextContext(2).$implicit; var ctx_r84 = i0.ɵɵnextContext(); return ctx_r84.selectedOption({ Key: "all", Value: "All" }, question_r13); });
|
|
756
|
+
i0.ɵɵtext(1, "All");
|
|
757
|
+
i0.ɵɵelementEnd();
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
function UCSearchComponent_div_21_div_13_option_10_Template(rf, ctx) {
|
|
761
|
+
if (rf & 1) {
|
|
762
|
+
var _r90 = i0.ɵɵgetCurrentView();
|
|
763
|
+
i0.ɵɵelementStart(0, "option", 60);
|
|
764
|
+
i0.ɵɵlistener("click", function UCSearchComponent_div_21_div_13_option_10_Template_option_click_0_listener() { i0.ɵɵrestoreView(_r90); var item_r87 = ctx.$implicit; var question_r13 = i0.ɵɵnextContext(2).$implicit; var ctx_r88 = i0.ɵɵnextContext(); return ctx_r88.selectedOption(item_r87, question_r13); });
|
|
765
|
+
i0.ɵɵtext(1);
|
|
766
|
+
i0.ɵɵelementEnd();
|
|
767
|
+
}
|
|
768
|
+
if (rf & 2) {
|
|
769
|
+
var item_r87 = ctx.$implicit;
|
|
770
|
+
i0.ɵɵpropertyInterpolate("value", item_r87.Key);
|
|
771
|
+
i0.ɵɵadvance(1);
|
|
772
|
+
i0.ɵɵtextInterpolate1(" ", item_r87.Value, " ");
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
function UCSearchComponent_div_21_div_13_Template(rf, ctx) {
|
|
776
|
+
if (rf & 1) {
|
|
777
|
+
var _r93 = i0.ɵɵgetCurrentView();
|
|
778
|
+
i0.ɵɵelementStart(0, "div");
|
|
779
|
+
i0.ɵɵelementStart(1, "div", 49);
|
|
780
|
+
i0.ɵɵelementStart(2, "input", 50);
|
|
781
|
+
i0.ɵɵlistener("ngModelChange", function UCSearchComponent_div_21_div_13_Template_input_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r93); var question_r13 = i0.ɵɵnextContext().$implicit; return question_r13.descr = $event; })("click", function UCSearchComponent_div_21_div_13_Template_input_click_2_listener() { i0.ɵɵrestoreView(_r93); var question_r13 = i0.ɵɵnextContext().$implicit; question_r13.isListHide = !question_r13.isListHide; return question_r13.searchText = ""; });
|
|
782
|
+
i0.ɵɵelementEnd();
|
|
783
|
+
i0.ɵɵelementEnd();
|
|
784
|
+
i0.ɵɵtemplate(3, UCSearchComponent_div_21_div_13_label_3_Template, 2, 1, "label", 33);
|
|
785
|
+
i0.ɵɵelementStart(4, "div", 51);
|
|
786
|
+
i0.ɵɵelementStart(5, "input", 52);
|
|
787
|
+
i0.ɵɵlistener("ngModelChange", function UCSearchComponent_div_21_div_13_Template_input_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r93); var question_r13 = i0.ɵɵnextContext().$implicit; return question_r13.searchText = $event; });
|
|
788
|
+
i0.ɵɵelementEnd();
|
|
789
|
+
i0.ɵɵelementStart(6, "div", 53);
|
|
790
|
+
i0.ɵɵelementStart(7, "select", 54);
|
|
791
|
+
i0.ɵɵlistener("ngModelChange", function UCSearchComponent_div_21_div_13_Template_select_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r93); var question_r13 = i0.ɵɵnextContext().$implicit; return question_r13.value = $event; })("change", function UCSearchComponent_div_21_div_13_Template_select_change_7_listener($event) { i0.ɵɵrestoreView(_r93); var question_r13 = i0.ɵɵnextContext().$implicit; var ctx_r100 = i0.ɵɵnextContext(); return question_r13.isEvent ? ctx_r100.onChangeEvent($event.target.value, question_r13) : ""; });
|
|
792
|
+
i0.ɵɵtemplate(8, UCSearchComponent_div_21_div_13_option_8_Template, 2, 0, "option", 55);
|
|
793
|
+
i0.ɵɵtemplate(9, UCSearchComponent_div_21_div_13_option_9_Template, 2, 0, "option", 56);
|
|
794
|
+
i0.ɵɵtemplate(10, UCSearchComponent_div_21_div_13_option_10_Template, 2, 2, "option", 57);
|
|
795
|
+
i0.ɵɵpipe(11, "textSearch");
|
|
796
|
+
i0.ɵɵpipe(12, "textSearch");
|
|
797
|
+
i0.ɵɵelementEnd();
|
|
798
|
+
i0.ɵɵelementEnd();
|
|
799
|
+
i0.ɵɵelementEnd();
|
|
800
|
+
i0.ɵɵelementEnd();
|
|
801
|
+
}
|
|
802
|
+
if (rf & 2) {
|
|
803
|
+
var question_r13 = i0.ɵɵnextContext().$implicit;
|
|
804
|
+
i0.ɵɵnextContext();
|
|
805
|
+
var _r2 = i0.ɵɵreference(9);
|
|
806
|
+
i0.ɵɵadvance(1);
|
|
807
|
+
i0.ɵɵproperty("hidden", !question_r13.isFromURL ? (question_r13 == null ? null : question_r13.items == null ? null : question_r13.items.length) == 1 : (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) == 1);
|
|
808
|
+
i0.ɵɵadvance(1);
|
|
809
|
+
i0.ɵɵpropertyInterpolate("name", "ddsValue" + question_r13.name);
|
|
810
|
+
i0.ɵɵproperty("ngModel", question_r13.descr);
|
|
811
|
+
i0.ɵɵadvance(1);
|
|
812
|
+
i0.ɵɵproperty("ngIf", !question_r13.isFromURL ? (question_r13 == null ? null : question_r13.items == null ? null : question_r13.items.length) == 1 : (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) == 1);
|
|
813
|
+
i0.ɵɵadvance(1);
|
|
814
|
+
i0.ɵɵproperty("hidden", question_r13.isListHide);
|
|
815
|
+
i0.ɵɵadvance(1);
|
|
816
|
+
i0.ɵɵpropertyInterpolate("name", "searchText" + question_r13.name);
|
|
817
|
+
i0.ɵɵproperty("ngModel", question_r13.searchText)("placeholder", question_r13.placeholder);
|
|
818
|
+
i0.ɵɵadvance(2);
|
|
819
|
+
i0.ɵɵpropertyInterpolate("name", question_r13.name);
|
|
820
|
+
i0.ɵɵpropertyInterpolate("size", (question_r13 == null ? null : question_r13.size) == undefined ? question_r13 == null ? null : question_r13.size : 10);
|
|
821
|
+
i0.ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("ngClass", i0.ɵɵpureFunction1(28, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].touched) || (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].dirty)) && (_r2.form.controls[question_r13.name] == null ? null : _r2.form.controls[question_r13.name].invalid)));
|
|
822
|
+
i0.ɵɵattribute("data-required", question_r13.isRequired)("query-in", question_r13.isQueryIn)("data-type", question_r13.datatype)("data-name", question_r13.name)("label", question_r13.label)("data-crit-datatable", question_r13.isCriteriaDataTable);
|
|
823
|
+
i0.ɵɵadvance(1);
|
|
824
|
+
i0.ɵɵproperty("ngIf", question_r13.ddsType == "one" && (!question_r13.isFromURL ? (question_r13 == null ? null : question_r13.items == null ? null : question_r13.items.length) != 1 : (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) != 1));
|
|
825
|
+
i0.ɵɵadvance(1);
|
|
826
|
+
i0.ɵɵproperty("ngIf", ((question_r13 == null ? null : question_r13.ddsType) == undefined || question_r13.ddsType == "all") && (!question_r13.isFromURL ? (question_r13 == null ? null : question_r13.items == null ? null : question_r13.items.length) != 1 : (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) != 1));
|
|
827
|
+
i0.ɵɵadvance(1);
|
|
828
|
+
i0.ɵɵproperty("ngForOf", !question_r13.isFromURL ? i0.ɵɵpipeBind2(11, 22, question_r13 == null ? null : question_r13.items, question_r13.searchText) : i0.ɵɵpipeBind2(12, 25, question_r13 == null ? null : question_r13.itemsUrl, question_r13.searchText));
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
function UCSearchComponent_div_21_div_14_option_2_Template(rf, ctx) {
|
|
832
|
+
if (rf & 1) {
|
|
833
|
+
i0.ɵɵelementStart(0, "option", 45);
|
|
834
|
+
i0.ɵɵtext(1, "Select One");
|
|
835
|
+
i0.ɵɵelementEnd();
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
function UCSearchComponent_div_21_div_14_option_3_Template(rf, ctx) {
|
|
839
|
+
if (rf & 1) {
|
|
840
|
+
i0.ɵɵelementStart(0, "option", 46);
|
|
841
|
+
i0.ɵɵtext(1, "All");
|
|
842
|
+
i0.ɵɵelementEnd();
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
function UCSearchComponent_div_21_div_14_option_4_Template(rf, ctx) {
|
|
846
|
+
if (rf & 1) {
|
|
847
|
+
i0.ɵɵelementStart(0, "option", 47);
|
|
848
|
+
i0.ɵɵtext(1);
|
|
849
|
+
i0.ɵɵelementEnd();
|
|
850
|
+
}
|
|
851
|
+
if (rf & 2) {
|
|
852
|
+
var item_r106 = ctx.$implicit;
|
|
853
|
+
i0.ɵɵpropertyInterpolate("value", item_r106.Key);
|
|
854
|
+
i0.ɵɵadvance(1);
|
|
855
|
+
i0.ɵɵtextInterpolate1(" ", item_r106.Value, " ");
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
function UCSearchComponent_div_21_div_14_Template(rf, ctx) {
|
|
859
|
+
if (rf & 1) {
|
|
860
|
+
i0.ɵɵelementStart(0, "div");
|
|
861
|
+
i0.ɵɵelementStart(1, "select", 61);
|
|
862
|
+
i0.ɵɵtemplate(2, UCSearchComponent_div_21_div_14_option_2_Template, 2, 0, "option", 42);
|
|
863
|
+
i0.ɵɵtemplate(3, UCSearchComponent_div_21_div_14_option_3_Template, 2, 0, "option", 43);
|
|
864
|
+
i0.ɵɵtemplate(4, UCSearchComponent_div_21_div_14_option_4_Template, 2, 2, "option", 44);
|
|
865
|
+
i0.ɵɵelementEnd();
|
|
866
|
+
i0.ɵɵelementEnd();
|
|
867
|
+
}
|
|
868
|
+
if (rf & 2) {
|
|
869
|
+
var ctx_r107 = i0.ɵɵnextContext();
|
|
870
|
+
var i_r14 = ctx_r107.index;
|
|
871
|
+
var question_r13 = ctx_r107.$implicit;
|
|
872
|
+
var ctx_r23 = i0.ɵɵnextContext();
|
|
873
|
+
var _r2 = i0.ɵɵreference(9);
|
|
874
|
+
i0.ɵɵadvance(1);
|
|
875
|
+
i0.ɵɵpropertyInterpolate("name", "claim" + i0.ɵɵpureFunction1(9, _c3, i_r14));
|
|
876
|
+
i0.ɵɵproperty("hidden", (ctx_r23.ClaimList == null ? null : ctx_r23.ClaimList.length) == 1)("ngClass", i0.ɵɵpureFunction1(23, _c2, (_r2.submitted || (_r2.form.controls["claim" + i0.ɵɵpureFunction1(11, _c3, i_r14)] == null ? null : _r2.form.controls["claim" + i0.ɵɵpureFunction1(13, _c3, i_r14)].touched) || (_r2.form.controls["claim" + i0.ɵɵpureFunction1(15, _c3, i_r14)] == null ? null : _r2.form.controls["claim" + i0.ɵɵpureFunction1(17, _c3, i_r14)].dirty)) && (_r2.form.controls["claim" + i0.ɵɵpureFunction1(19, _c3, i_r14)] == null ? null : _r2.form.controls["claim" + i0.ɵɵpureFunction1(21, _c3, i_r14)].invalid)));
|
|
877
|
+
i0.ɵɵattribute("data-type", "text")("data-crit-datatable", question_r13.isCriteriaDataTable)("data-name", "Assignee");
|
|
878
|
+
i0.ɵɵadvance(1);
|
|
879
|
+
i0.ɵɵproperty("ngIf", question_r13.ddlType == "one" && (ctx_r23.ClaimList == null ? null : ctx_r23.ClaimList.length) != 1);
|
|
880
|
+
i0.ɵɵadvance(1);
|
|
881
|
+
i0.ɵɵproperty("ngIf", ((question_r13 == null ? null : question_r13.ddlType) == undefined || question_r13.ddlType == "all") && (ctx_r23.ClaimList == null ? null : ctx_r23.ClaimList.length) != 1);
|
|
882
|
+
i0.ɵɵadvance(1);
|
|
883
|
+
i0.ɵɵproperty("ngForOf", ctx_r23.ClaimList);
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
function UCSearchComponent_div_21_lib_uc_show_errors_15_Template(rf, ctx) {
|
|
887
|
+
if (rf & 1) {
|
|
888
|
+
i0.ɵɵelement(0, "lib-uc-show-errors", 62);
|
|
889
|
+
}
|
|
890
|
+
if (rf & 2) {
|
|
891
|
+
var question_r13 = i0.ɵɵnextContext().$implicit;
|
|
892
|
+
i0.ɵɵnextContext();
|
|
893
|
+
var _r2 = i0.ɵɵreference(9);
|
|
894
|
+
i0.ɵɵproperty("control", _r2.form.controls[question_r13.name])("submit", _r2.submitted);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
function UCSearchComponent_div_21_lib_uc_show_errors_16_Template(rf, ctx) {
|
|
898
|
+
if (rf & 1) {
|
|
899
|
+
i0.ɵɵelement(0, "lib-uc-show-errors", 62);
|
|
900
|
+
}
|
|
901
|
+
if (rf & 2) {
|
|
902
|
+
var ctx_r109 = i0.ɵɵnextContext();
|
|
903
|
+
var question_r13 = ctx_r109.$implicit;
|
|
904
|
+
var i_r14 = ctx_r109.index;
|
|
905
|
+
i0.ɵɵnextContext();
|
|
906
|
+
var _r2 = i0.ɵɵreference(9);
|
|
907
|
+
i0.ɵɵproperty("control", _r2.form.controls[question_r13.name + i0.ɵɵpureFunction1(2, _c3, i_r14)])("submit", _r2.submitted);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
var _c7 = function (a0) { return { "adins-required-label": a0 }; };
|
|
911
|
+
function UCSearchComponent_div_21_Template(rf, ctx) {
|
|
912
|
+
if (rf & 1) {
|
|
913
|
+
i0.ɵɵelementStart(0, "div", 30);
|
|
914
|
+
i0.ɵɵelementStart(1, "div", 2);
|
|
915
|
+
i0.ɵɵelementStart(2, "div", 17);
|
|
916
|
+
i0.ɵɵelementStart(3, "label", 31);
|
|
917
|
+
i0.ɵɵtext(4);
|
|
918
|
+
i0.ɵɵelementEnd();
|
|
919
|
+
i0.ɵɵelementStart(5, "div", 32);
|
|
920
|
+
i0.ɵɵtemplate(6, UCSearchComponent_div_21_div_6_Template, 2, 14, "div", 33);
|
|
921
|
+
i0.ɵɵtemplate(7, UCSearchComponent_div_21_div_7_Template, 2, 12, "div", 33);
|
|
922
|
+
i0.ɵɵtemplate(8, UCSearchComponent_div_21_div_8_Template, 2, 29, "div", 33);
|
|
923
|
+
i0.ɵɵtemplate(9, UCSearchComponent_div_21_div_9_Template, 3, 2, "div", 33);
|
|
924
|
+
i0.ɵɵtemplate(10, UCSearchComponent_div_21_div_10_Template, 4, 39, "div", 33);
|
|
925
|
+
i0.ɵɵtemplate(11, UCSearchComponent_div_21_div_11_Template, 6, 14, "div", 33);
|
|
926
|
+
i0.ɵɵtemplate(12, UCSearchComponent_div_21_div_12_Template, 6, 17, "div", 33);
|
|
927
|
+
i0.ɵɵtemplate(13, UCSearchComponent_div_21_div_13_Template, 13, 30, "div", 33);
|
|
928
|
+
i0.ɵɵtemplate(14, UCSearchComponent_div_21_div_14_Template, 5, 25, "div", 33);
|
|
929
|
+
i0.ɵɵtemplate(15, UCSearchComponent_div_21_lib_uc_show_errors_15_Template, 1, 2, "lib-uc-show-errors", 34);
|
|
930
|
+
i0.ɵɵtemplate(16, UCSearchComponent_div_21_lib_uc_show_errors_16_Template, 1, 4, "lib-uc-show-errors", 34);
|
|
931
|
+
i0.ɵɵelementEnd();
|
|
932
|
+
i0.ɵɵelementEnd();
|
|
933
|
+
i0.ɵɵelementEnd();
|
|
934
|
+
i0.ɵɵelementEnd();
|
|
935
|
+
}
|
|
936
|
+
if (rf & 2) {
|
|
937
|
+
var question_r13 = ctx.$implicit;
|
|
938
|
+
i0.ɵɵadvance(3);
|
|
939
|
+
i0.ɵɵpropertyInterpolate("for", question_r13.id);
|
|
940
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c7, question_r13.isRequired || (question_r13 == null ? null : question_r13.ddlType) != undefined && question_r13.ddlType == "one"));
|
|
941
|
+
i0.ɵɵadvance(1);
|
|
942
|
+
i0.ɵɵtextInterpolate(question_r13.label);
|
|
943
|
+
i0.ɵɵadvance(2);
|
|
944
|
+
i0.ɵɵproperty("ngIf", question_r13.type == "textbox");
|
|
945
|
+
i0.ɵɵadvance(1);
|
|
946
|
+
i0.ɵɵproperty("ngIf", question_r13.type == "textarea");
|
|
947
|
+
i0.ɵɵadvance(1);
|
|
948
|
+
i0.ɵɵproperty("ngIf", question_r13.type == "numeric");
|
|
949
|
+
i0.ɵɵadvance(1);
|
|
950
|
+
i0.ɵɵproperty("ngIf", question_r13.type == "currency");
|
|
951
|
+
i0.ɵɵadvance(1);
|
|
952
|
+
i0.ɵɵproperty("ngIf", question_r13.type == "datepicker");
|
|
953
|
+
i0.ɵɵadvance(1);
|
|
954
|
+
i0.ɵɵproperty("ngIf", question_r13.type == "taskDefinitionKey" || question_r13.type == "processKey" || question_r13.type == "officeRoleCodes");
|
|
955
|
+
i0.ɵɵadvance(1);
|
|
956
|
+
i0.ɵɵproperty("ngIf", question_r13.type == "dropdown");
|
|
957
|
+
i0.ɵɵadvance(1);
|
|
958
|
+
i0.ɵɵproperty("ngIf", question_r13.type == "dropdownSearch");
|
|
959
|
+
i0.ɵɵadvance(1);
|
|
960
|
+
i0.ɵɵproperty("ngIf", question_r13.type == "claim");
|
|
961
|
+
i0.ɵɵadvance(1);
|
|
962
|
+
i0.ɵɵproperty("ngIf", question_r13.type != "datepicker");
|
|
963
|
+
i0.ɵɵadvance(1);
|
|
964
|
+
i0.ɵɵproperty("ngIf", question_r13.type == "datepicker");
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
function UCSearchComponent_div_22_option_7_Template(rf, ctx) {
|
|
968
|
+
if (rf & 1) {
|
|
969
|
+
i0.ɵɵelementStart(0, "option", 47);
|
|
970
|
+
i0.ɵɵtext(1);
|
|
971
|
+
i0.ɵɵelementEnd();
|
|
972
|
+
}
|
|
973
|
+
if (rf & 2) {
|
|
974
|
+
var item_r111 = ctx.$implicit;
|
|
975
|
+
i0.ɵɵproperty("value", item_r111.key);
|
|
976
|
+
i0.ɵɵadvance(1);
|
|
977
|
+
i0.ɵɵtextInterpolate(item_r111.value);
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
function UCSearchComponent_div_22_Template(rf, ctx) {
|
|
981
|
+
if (rf & 1) {
|
|
982
|
+
var _r113 = i0.ɵɵgetCurrentView();
|
|
983
|
+
i0.ɵɵelementStart(0, "div", 30);
|
|
984
|
+
i0.ɵɵelementStart(1, "div", 2);
|
|
985
|
+
i0.ɵɵelementStart(2, "div", 17);
|
|
986
|
+
i0.ɵɵelementStart(3, "label", 63);
|
|
987
|
+
i0.ɵɵtext(4, "Report Type");
|
|
988
|
+
i0.ɵɵelementEnd();
|
|
989
|
+
i0.ɵɵelementStart(5, "div", 32);
|
|
990
|
+
i0.ɵɵelementStart(6, "select", 64);
|
|
991
|
+
i0.ɵɵlistener("ngModelChange", function UCSearchComponent_div_22_Template_select_ngModelChange_6_listener($event) { i0.ɵɵrestoreView(_r113); var ctx_r112 = i0.ɵɵnextContext(); return ctx_r112.ExportType = $event; });
|
|
992
|
+
i0.ɵɵtemplate(7, UCSearchComponent_div_22_option_7_Template, 2, 2, "option", 44);
|
|
993
|
+
i0.ɵɵelementEnd();
|
|
994
|
+
i0.ɵɵelementEnd();
|
|
995
|
+
i0.ɵɵelementEnd();
|
|
996
|
+
i0.ɵɵelementEnd();
|
|
997
|
+
i0.ɵɵelementEnd();
|
|
998
|
+
}
|
|
999
|
+
if (rf & 2) {
|
|
1000
|
+
var ctx_r9 = i0.ɵɵnextContext();
|
|
1001
|
+
i0.ɵɵadvance(6);
|
|
1002
|
+
i0.ɵɵproperty("ngModel", ctx_r9.ExportType);
|
|
1003
|
+
i0.ɵɵadvance(1);
|
|
1004
|
+
i0.ɵɵproperty("ngForOf", ctx_r9.ExportTypeList);
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
function UCSearchComponent_button_25_Template(rf, ctx) {
|
|
1008
|
+
if (rf & 1) {
|
|
1009
|
+
var _r115 = i0.ɵɵgetCurrentView();
|
|
1010
|
+
i0.ɵɵelementStart(0, "button", 65);
|
|
1011
|
+
i0.ɵɵlistener("click", function UCSearchComponent_button_25_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r115); var ctx_r114 = i0.ɵɵnextContext(); return ctx_r114.exportAsXLSX(); });
|
|
1012
|
+
i0.ɵɵelement(1, "i", 66);
|
|
1013
|
+
i0.ɵɵtext(2, "\u00A0");
|
|
1014
|
+
i0.ɵɵelementStart(3, "span", 25);
|
|
1015
|
+
i0.ɵɵtext(4, "Export Excel");
|
|
1016
|
+
i0.ɵɵelementEnd();
|
|
1017
|
+
i0.ɵɵelementEnd();
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
function UCSearchComponent_button_31_Template(rf, ctx) {
|
|
1021
|
+
if (rf & 1) {
|
|
1022
|
+
i0.ɵɵelementStart(0, "button", 67, 68);
|
|
1023
|
+
i0.ɵɵelement(2, "i", 69);
|
|
1024
|
+
i0.ɵɵtext(3, "\u00A0");
|
|
1025
|
+
i0.ɵɵelementStart(4, "span", 25);
|
|
1026
|
+
i0.ɵɵtext(5, "Search");
|
|
1027
|
+
i0.ɵɵelementEnd();
|
|
1028
|
+
i0.ɵɵelementEnd();
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
function UCSearchComponent_button_32_Template(rf, ctx) {
|
|
1032
|
+
if (rf & 1) {
|
|
1033
|
+
var _r118 = i0.ɵɵgetCurrentView();
|
|
1034
|
+
i0.ɵɵelementStart(0, "button", 70);
|
|
1035
|
+
i0.ɵɵlistener("click", function UCSearchComponent_button_32_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r118); var ctx_r117 = i0.ɵɵnextContext(); return ctx_r117.GenerateReport(); });
|
|
1036
|
+
i0.ɵɵelement(1, "i", 66);
|
|
1037
|
+
i0.ɵɵtext(2, "\u00A0");
|
|
1038
|
+
i0.ɵɵelementStart(3, "span", 25);
|
|
1039
|
+
i0.ɵɵtext(4, "Generate Report");
|
|
1040
|
+
i0.ɵɵelementEnd();
|
|
1041
|
+
i0.ɵɵelementEnd();
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
240
1044
|
var UCSearchComponent = /** @class */ (function () {
|
|
241
|
-
function UCSearchComponent(http
|
|
242
|
-
this.http = http
|
|
1045
|
+
function UCSearchComponent(http, excelService, _renderer2, _document, toastr, cookieService, datePipe, elemRef) {
|
|
1046
|
+
this.http = http;
|
|
243
1047
|
this.excelService = excelService;
|
|
244
1048
|
this._renderer2 = _renderer2;
|
|
245
1049
|
this._document = _document;
|
|
246
1050
|
this.toastr = toastr;
|
|
247
1051
|
this.cookieService = cookieService;
|
|
248
1052
|
this.datePipe = datePipe;
|
|
1053
|
+
this.elemRef = elemRef;
|
|
249
1054
|
this.searchInput = new InputSearchObj();
|
|
250
1055
|
this.pageSize = 10;
|
|
251
1056
|
this.isReport = false;
|
|
@@ -299,13 +1104,23 @@
|
|
|
299
1104
|
this.amount = 0;
|
|
300
1105
|
}
|
|
301
1106
|
Object.defineProperty(UCSearchComponent.prototype, "content", {
|
|
302
|
-
//
|
|
303
|
-
//
|
|
304
|
-
//
|
|
1107
|
+
// isListHide: boolean = true;
|
|
1108
|
+
// @HostListener('document:click', ['$event'])
|
|
1109
|
+
// onClick(ev: MouseEvent) {
|
|
1110
|
+
// const clickInside = this.elemRef.nativeElement.contains(ev.target);
|
|
1111
|
+
// if (!clickInside) {
|
|
1112
|
+
// this.isListHide = true;
|
|
1113
|
+
// }
|
|
1114
|
+
// }
|
|
305
1115
|
set:
|
|
306
|
-
//
|
|
307
|
-
//
|
|
308
|
-
//
|
|
1116
|
+
// isListHide: boolean = true;
|
|
1117
|
+
// @HostListener('document:click', ['$event'])
|
|
1118
|
+
// onClick(ev: MouseEvent) {
|
|
1119
|
+
// const clickInside = this.elemRef.nativeElement.contains(ev.target);
|
|
1120
|
+
// if (!clickInside) {
|
|
1121
|
+
// this.isListHide = true;
|
|
1122
|
+
// }
|
|
1123
|
+
// }
|
|
309
1124
|
/**
|
|
310
1125
|
* @param {?} content
|
|
311
1126
|
* @return {?}
|
|
@@ -315,7 +1130,7 @@
|
|
|
315
1130
|
this.searchForm = content;
|
|
316
1131
|
}
|
|
317
1132
|
},
|
|
318
|
-
enumerable:
|
|
1133
|
+
enumerable: false,
|
|
319
1134
|
configurable: true
|
|
320
1135
|
});
|
|
321
1136
|
/**
|
|
@@ -335,18 +1150,27 @@
|
|
|
335
1150
|
* @return {?}
|
|
336
1151
|
*/
|
|
337
1152
|
function () {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
1153
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1154
|
+
var js, value;
|
|
1155
|
+
return __generator(this, function (_a) {
|
|
1156
|
+
switch (_a.label) {
|
|
1157
|
+
case 0:
|
|
1158
|
+
console.log("ucsearch");
|
|
1159
|
+
this.apiUrl = this.searchInput.enviromentUrl + this.searchInput.apiQryPaging;
|
|
1160
|
+
this.arrCrit = this.searchInput.arrCritObj;
|
|
1161
|
+
js = this._renderer2.createElement('script');
|
|
1162
|
+
js.text = "\n $(document).ready(function(){\n $(\"#flip\").click(function(){\n $(\"#panel\").slideToggle(\"slow\");\n });\n });\n ";
|
|
1163
|
+
this._renderer2.appendChild(this._document.body, js);
|
|
1164
|
+
value = this.cookieService.get('BusinessDateRaw');
|
|
1165
|
+
this.BisDt = this.DecryptString(value, "AdInsFOU12345678");
|
|
1166
|
+
this.BusinessDt = new Date(this.BisDt);
|
|
1167
|
+
return [4 /*yield*/, this.initiateForm()];
|
|
1168
|
+
case 1:
|
|
1169
|
+
_a.sent();
|
|
1170
|
+
return [2 /*return*/];
|
|
1171
|
+
}
|
|
1172
|
+
});
|
|
1173
|
+
});
|
|
350
1174
|
};
|
|
351
1175
|
/**
|
|
352
1176
|
* @return {?}
|
|
@@ -355,149 +1179,171 @@
|
|
|
355
1179
|
* @return {?}
|
|
356
1180
|
*/
|
|
357
1181
|
function () {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
if (_this.searchInput.title != undefined && _this.searchInput.title != "") {
|
|
372
|
-
_this.configuration.title = _this.searchInput.title;
|
|
373
|
-
}
|
|
374
|
-
for (var i = 0; i < _this.countForm; i++) {
|
|
375
|
-
//ini kalau datanya di load dari URL
|
|
376
|
-
if (data.component[i].isFromURL) {
|
|
377
|
-
/** @type {?} */
|
|
378
|
-
var request = new RequestCriteriaObj();
|
|
379
|
-
/** @type {?} */
|
|
380
|
-
var arrayCrit = new Array();
|
|
381
|
-
/** @type {?} */
|
|
382
|
-
var criteriaObject = new CriteriaObj();
|
|
383
|
-
criteriaObject.DataType = "text";
|
|
384
|
-
criteriaObject.propName = data.component[i].criteriaPropName;
|
|
385
|
-
criteriaObject.value = data.component[i].criteriaPropValue;
|
|
386
|
-
criteriaObject.restriction = "eq";
|
|
387
|
-
arrayCrit.push(criteriaObject);
|
|
388
|
-
request.criteria = arrayCrit;
|
|
389
|
-
request[data.component[i].criteriaPropName] = data.component[i].criteriaPropValue;
|
|
390
|
-
// Pengecekan penggunaan url atau path
|
|
391
|
-
if (data.component[i].path != undefined && data.component[i].path != "") {
|
|
392
|
-
if (_this.searchInput.listEnvironments != undefined && _this.searchInput.listEnvironments.length != 0) {
|
|
393
|
-
for (var y = 0; y < _this.searchInput.listEnvironments.length; y++) {
|
|
394
|
-
if (data.component[i].environment == _this.searchInput.listEnvironments[y].environment) {
|
|
395
|
-
data.component[i].fullpath = _this.searchInput.listEnvironments[y].url + data.component[i].path;
|
|
396
|
-
break;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
else {
|
|
401
|
-
data.component[i].fullpath = data.component[i].url;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
else {
|
|
405
|
-
data.component[i].fullpath = data.component[i].url;
|
|
406
|
-
}
|
|
407
|
-
//lempar objectnya sekalian sama urlnya, nnti di bind di dalem karena masalah di asyncnya
|
|
408
|
-
//biar tiap function ada state2nya sendiri
|
|
409
|
-
_this.resolveObject(data.component[i], data.component[i].fullpath, request);
|
|
410
|
-
}
|
|
411
|
-
if (data.component[i].type == "numeric") {
|
|
412
|
-
data.component[i].value = parseFloat(data.component[i].value).toLocaleString('en');
|
|
413
|
-
}
|
|
414
|
-
//pengecekan ddl
|
|
415
|
-
if (data.component[i].type == "dropdown") {
|
|
416
|
-
if (data.component[i].dtmType != undefined) {
|
|
417
|
-
if (data.component[i].dtmType.includes("month")) {
|
|
418
|
-
if (data.component[i].value != undefined && data.component[i].value.includes("BD")) {
|
|
419
|
-
data.component[i].value = _this.setDefaultValueMonth(data.component[i].value);
|
|
1182
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1183
|
+
var _this = this;
|
|
1184
|
+
return __generator(this, function (_a) {
|
|
1185
|
+
switch (_a.label) {
|
|
1186
|
+
case 0: return [4 /*yield*/, this.getJSON(this.searchInput._url).subscribe(( /**
|
|
1187
|
+
* @param {?} data
|
|
1188
|
+
* @return {?}
|
|
1189
|
+
*/function (data) {
|
|
1190
|
+
_this.configuration = data;
|
|
1191
|
+
_this.exportData = data.exportExcel;
|
|
1192
|
+
if (data.exportTypeList != undefined && data.exportTypeList.length != 0) {
|
|
1193
|
+
_this.ExportTypeList = data.exportTypeList;
|
|
1194
|
+
_this.ExportType = _this.ExportTypeList[0].key;
|
|
420
1195
|
}
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
data.component[i].value = _this.setDefaultValueYear(data.component[i].value);
|
|
426
|
-
}
|
|
427
|
-
data.component[i].items = _this.setYearDDL(data.component[i].dtmType);
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
if (!data.component[i].value) {
|
|
432
|
-
data.component[i].value = "";
|
|
433
|
-
if (data.component[i].ddlType == 'all')
|
|
434
|
-
data.component[i].value = "all";
|
|
435
|
-
if (data.component[i].ddlType == 'one')
|
|
436
|
-
data.component[i].value = "one";
|
|
437
|
-
}
|
|
438
|
-
//pengecekan tanggal
|
|
439
|
-
if (data.component[i].type == "datepicker") {
|
|
440
|
-
_this.readonly = data.component[i].readonly;
|
|
441
|
-
if (data.component[i].value.includes("BD")) {
|
|
442
|
-
/** @type {?} */
|
|
443
|
-
var businessDate = new Date();
|
|
444
|
-
if (_this.BisDt != null) {
|
|
445
|
-
businessDate = new Date(_this.BisDt);
|
|
446
|
-
}
|
|
447
|
-
/** @type {?} */
|
|
448
|
-
var operator = data.component[i].value.charAt(2);
|
|
449
|
-
/** @type {?} */
|
|
450
|
-
var dateShow = new Date();
|
|
451
|
-
if (operator == "-") {
|
|
452
|
-
/** @type {?} */
|
|
453
|
-
var tempMinus = data.component[i].value.split("-", 2);
|
|
454
|
-
/** @type {?} */
|
|
455
|
-
var numDay = parseInt(tempMinus[1]);
|
|
456
|
-
businessDate.setDate(businessDate.getDate() - numDay);
|
|
457
|
-
}
|
|
458
|
-
else if (operator == "+") {
|
|
459
|
-
/** @type {?} */
|
|
460
|
-
var tempMinus = data.component[i].value.split("+", 2);
|
|
461
|
-
/** @type {?} */
|
|
462
|
-
var numDay = parseInt(tempMinus[1]);
|
|
463
|
-
businessDate.setDate(businessDate.getDate() + numDay);
|
|
464
|
-
}
|
|
465
|
-
dateShow = businessDate;
|
|
466
|
-
/** @type {?} */
|
|
467
|
-
var dateText = common.formatDate(dateShow, 'yyyy-MM-dd', 'en-US');
|
|
468
|
-
data.component[i].value = dateText;
|
|
469
|
-
}
|
|
470
|
-
if (_this.readonly = false) {
|
|
471
|
-
if (data.component[i].restriction != undefined && data.component[i].restriction != "") {
|
|
472
|
-
if (data.component[i].restriction.toUpperCase() == "GT") {
|
|
473
|
-
/** @type {?} */
|
|
474
|
-
var minDate = new Date(_this.datePipe.transform(data.component[i].minDate, 'yyyy-MM-dd'));
|
|
475
|
-
minDate.setDate(minDate.getDate() + 1);
|
|
476
|
-
data.component[i].minDate = minDate;
|
|
1196
|
+
_this.countForm = data.component.length;
|
|
1197
|
+
_this.isDataLoaded = true;
|
|
1198
|
+
if (_this.searchInput.title != undefined && _this.searchInput.title != "") {
|
|
1199
|
+
_this.configuration.title = _this.searchInput.title;
|
|
477
1200
|
}
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
1201
|
+
for (var i = 0; i < _this.countForm; i++) {
|
|
1202
|
+
//ini kalau datanya di load dari URL
|
|
1203
|
+
if (data.component[i].isFromURL) {
|
|
1204
|
+
/** @type {?} */
|
|
1205
|
+
var request = new RequestCriteriaObj();
|
|
1206
|
+
/** @type {?} */
|
|
1207
|
+
var arrayCrit = new Array();
|
|
1208
|
+
/** @type {?} */
|
|
1209
|
+
var criteriaObject = new CriteriaObj();
|
|
1210
|
+
criteriaObject.DataType = "text";
|
|
1211
|
+
criteriaObject.propName = data.component[i].criteriaPropName;
|
|
1212
|
+
criteriaObject.value = data.component[i].criteriaPropValue;
|
|
1213
|
+
criteriaObject.restriction = "eq";
|
|
1214
|
+
arrayCrit.push(criteriaObject);
|
|
1215
|
+
request.criteria = arrayCrit;
|
|
1216
|
+
request[data.component[i].criteriaPropName] = data.component[i].criteriaPropValue;
|
|
1217
|
+
// Pengecekan penggunaan url atau path
|
|
1218
|
+
if (data.component[i].path != undefined && data.component[i].path != "") {
|
|
1219
|
+
if (_this.searchInput.listEnvironments != undefined && _this.searchInput.listEnvironments.length != 0) {
|
|
1220
|
+
for (var y = 0; y < _this.searchInput.listEnvironments.length; y++) {
|
|
1221
|
+
if (data.component[i].environment == _this.searchInput.listEnvironments[y].environment) {
|
|
1222
|
+
data.component[i].fullpath = _this.searchInput.listEnvironments[y].url + data.component[i].path;
|
|
1223
|
+
break;
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
else {
|
|
1228
|
+
data.component[i].fullpath = data.component[i].url;
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
else {
|
|
1232
|
+
data.component[i].fullpath = data.component[i].url;
|
|
1233
|
+
}
|
|
1234
|
+
//lempar objectnya sekalian sama urlnya, nnti di bind di dalem karena masalah di asyncnya
|
|
1235
|
+
//biar tiap function ada state2nya sendiri
|
|
1236
|
+
_this.resolveObject(data.component[i], data.component[i].fullpath, request);
|
|
1237
|
+
}
|
|
1238
|
+
if (data.component[i].type == "numeric") {
|
|
1239
|
+
data.component[i].value = parseFloat(data.component[i].value).toLocaleString('en');
|
|
1240
|
+
}
|
|
1241
|
+
//pengecekan ddl
|
|
1242
|
+
if (data.component[i].type == "dropdown") {
|
|
1243
|
+
if (data.component[i].dtmType != undefined) {
|
|
1244
|
+
if (data.component[i].dtmType.includes("month")) {
|
|
1245
|
+
if (data.component[i].value != undefined && data.component[i].value.includes("BD")) {
|
|
1246
|
+
data.component[i].value = _this.setDefaultValueMonth(data.component[i].value);
|
|
1247
|
+
}
|
|
1248
|
+
data.component[i].items = _this.setMonthDDL(data.component[i].dtmType);
|
|
1249
|
+
}
|
|
1250
|
+
if (data.component[i].dtmType.includes("year")) {
|
|
1251
|
+
if (data.component[i].value != undefined && data.component[i].value.includes("BD")) {
|
|
1252
|
+
data.component[i].value = _this.setDefaultValueYear(data.component[i].value);
|
|
1253
|
+
}
|
|
1254
|
+
data.component[i].items = _this.setYearDDL(data.component[i].dtmType);
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
// if (data.component[i].type == "dropdownSearch" && !data.component[i].isFromURL && data.component[i].items?.length != 1) {
|
|
1259
|
+
// if (data.component[i].ddsType == undefined || data.component[i].ddsType == "all") {
|
|
1260
|
+
// data.component[i].value = "all";
|
|
1261
|
+
// data.component[i].descr = "All";
|
|
1262
|
+
// } else if (data.component[i].ddsType == "one") {
|
|
1263
|
+
// data.component[i].value = "one";
|
|
1264
|
+
// data.component[i].descr = "Select One";
|
|
1265
|
+
// }
|
|
1266
|
+
// }
|
|
1267
|
+
if (data.component[i].type == "dropdownSearch" && !data.component[i].isFromURL && data.component[i].items.length == 1) {
|
|
1268
|
+
data.component[i].value = data.component[i].items[0].Key;
|
|
1269
|
+
data.component[i].descr = data.component[i].items[0].Value;
|
|
1270
|
+
}
|
|
1271
|
+
if (data.component[i].type != "dropdownSearch" && !data.component[i].value) {
|
|
1272
|
+
data.component[i].value = "";
|
|
1273
|
+
if (data.component[i].ddlType == 'all')
|
|
1274
|
+
data.component[i].value = "all";
|
|
1275
|
+
if (data.component[i].ddlType == 'one')
|
|
1276
|
+
data.component[i].value = "one";
|
|
1277
|
+
}
|
|
1278
|
+
//pengecekan tanggal
|
|
1279
|
+
if (data.component[i].type == "datepicker") {
|
|
1280
|
+
_this.readonly = data.component[i].readonly;
|
|
1281
|
+
if (data.component[i].value.includes("BD")) {
|
|
1282
|
+
/** @type {?} */
|
|
1283
|
+
var businessDate = new Date();
|
|
1284
|
+
if (_this.BisDt != null) {
|
|
1285
|
+
businessDate = new Date(_this.BisDt);
|
|
1286
|
+
}
|
|
1287
|
+
/** @type {?} */
|
|
1288
|
+
var operator = data.component[i].value.charAt(2);
|
|
1289
|
+
/** @type {?} */
|
|
1290
|
+
var dateShow = new Date();
|
|
1291
|
+
if (operator == "-") {
|
|
1292
|
+
/** @type {?} */
|
|
1293
|
+
var tempMinus = data.component[i].value.split("-", 2);
|
|
1294
|
+
/** @type {?} */
|
|
1295
|
+
var numDay = parseInt(tempMinus[1]);
|
|
1296
|
+
businessDate.setDate(businessDate.getDate() - numDay);
|
|
1297
|
+
}
|
|
1298
|
+
else if (operator == "+") {
|
|
1299
|
+
/** @type {?} */
|
|
1300
|
+
var tempMinus = data.component[i].value.split("+", 2);
|
|
1301
|
+
/** @type {?} */
|
|
1302
|
+
var numDay = parseInt(tempMinus[1]);
|
|
1303
|
+
businessDate.setDate(businessDate.getDate() + numDay);
|
|
1304
|
+
}
|
|
1305
|
+
dateShow = businessDate;
|
|
1306
|
+
/** @type {?} */
|
|
1307
|
+
var dateText = i5.formatDate(dateShow, 'yyyy-MM-dd', 'en-US');
|
|
1308
|
+
data.component[i].value = dateText;
|
|
1309
|
+
}
|
|
1310
|
+
if (_this.readonly = false) {
|
|
1311
|
+
if (data.component[i].restriction != undefined && data.component[i].restriction != "") {
|
|
1312
|
+
if (data.component[i].restriction.toUpperCase() == "GT") {
|
|
1313
|
+
/** @type {?} */
|
|
1314
|
+
var minDate = new Date(_this.datePipe.transform(data.component[i].minDate, 'yyyy-MM-dd'));
|
|
1315
|
+
minDate.setDate(minDate.getDate() + 1);
|
|
1316
|
+
data.component[i].minDate = minDate;
|
|
1317
|
+
}
|
|
1318
|
+
else if (data.component[i].restriction.toUpperCase() == "LT") {
|
|
1319
|
+
/** @type {?} */
|
|
1320
|
+
var maxDate = new Date(_this.datePipe.transform(data.component[i].maxDate, 'yyyy-MM-dd'));
|
|
1321
|
+
maxDate.setDate(maxDate.getDate() - 1);
|
|
1322
|
+
data.component[i].maxDate = maxDate;
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
483
1327
|
}
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
1328
|
+
setTimeout(( /**
|
|
1329
|
+
* @return {?}
|
|
1330
|
+
*/function () {
|
|
1331
|
+
for (var j = 0; j < _this.countForm; j++) {
|
|
1332
|
+
if (data.component[j].isEvent && _this.configuration.component[j].itemsUrl.length == 1) {
|
|
1333
|
+
_this.onChangeEvent(data.component[j].itemsUrl[0].Key, data.component[j]);
|
|
1334
|
+
}
|
|
1335
|
+
if (data.component[j].type == "officeRoleCodes" && _this.configuration.component[j].itemsUrl.length > 0) {
|
|
1336
|
+
_this.SetRoleOfficeCodes(j);
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
}), 1000);
|
|
1340
|
+
}))];
|
|
1341
|
+
case 1:
|
|
1342
|
+
_a.sent();
|
|
1343
|
+
return [2 /*return*/];
|
|
498
1344
|
}
|
|
499
|
-
})
|
|
500
|
-
})
|
|
1345
|
+
});
|
|
1346
|
+
});
|
|
501
1347
|
};
|
|
502
1348
|
/**
|
|
503
1349
|
* @param {?} i
|
|
@@ -753,10 +1599,20 @@
|
|
|
753
1599
|
* @return {?}
|
|
754
1600
|
*/
|
|
755
1601
|
function () {
|
|
756
|
-
this
|
|
757
|
-
|
|
1602
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1603
|
+
return __generator(this, function (_a) {
|
|
1604
|
+
switch (_a.label) {
|
|
1605
|
+
case 0:
|
|
1606
|
+
this.searchForm.resetForm({
|
|
1607
|
+
ExportType: this.ExportTypeList[0].key
|
|
1608
|
+
});
|
|
1609
|
+
return [4 /*yield*/, this.initiateForm()];
|
|
1610
|
+
case 1:
|
|
1611
|
+
_a.sent();
|
|
1612
|
+
return [2 /*return*/];
|
|
1613
|
+
}
|
|
1614
|
+
});
|
|
758
1615
|
});
|
|
759
|
-
this.initiateForm();
|
|
760
1616
|
};
|
|
761
1617
|
/**
|
|
762
1618
|
* @param {?} apiUrl
|
|
@@ -804,11 +1660,19 @@
|
|
|
804
1660
|
request.rowPerPage = rowPerPage;
|
|
805
1661
|
request.orderBy = orderBy;
|
|
806
1662
|
request.queryString = this.configuration.querystring;
|
|
1663
|
+
/** @type {?} */
|
|
1664
|
+
var formSeq = -1;
|
|
807
1665
|
for (var i = 0; i < this.countForm; i++) {
|
|
808
1666
|
/** @type {?} */
|
|
809
1667
|
var critObj = new CriteriaObj();
|
|
1668
|
+
if (this.configuration.component[i].type == "dropdownSearch") {
|
|
1669
|
+
formSeq += 3;
|
|
1670
|
+
}
|
|
1671
|
+
else {
|
|
1672
|
+
formSeq++;
|
|
1673
|
+
}
|
|
810
1674
|
/** @type {?} */
|
|
811
|
-
var component = this.myForm.nativeElement[
|
|
1675
|
+
var component = this.myForm.nativeElement[formSeq];
|
|
812
1676
|
// // popup message if required
|
|
813
1677
|
// if (component.getAttribute('data-required') != null && component.getAttribute('data-required') == "true") {
|
|
814
1678
|
// let val = component.value.trim();
|
|
@@ -1016,6 +1880,10 @@
|
|
|
1016
1880
|
* @return {?}
|
|
1017
1881
|
*/function (value) { return !obj.exclude.includes(value.Key); }));
|
|
1018
1882
|
}
|
|
1883
|
+
if (obj.type == "dropdownSearch" && obj.itemsUrl.length == 1) {
|
|
1884
|
+
obj.value = obj.itemsUrl[0].Key;
|
|
1885
|
+
obj.descr = obj.itemsUrl[0].Value;
|
|
1886
|
+
}
|
|
1019
1887
|
if (obj.affectedFilter && obj.itemsUrl.length == 1) {
|
|
1020
1888
|
_this.onChangeEvent(obj.itemsUrl[0].Key, obj);
|
|
1021
1889
|
}
|
|
@@ -1408,16 +2276,16 @@
|
|
|
1408
2276
|
}
|
|
1409
2277
|
}
|
|
1410
2278
|
if (minDateVal != null && maxDateVal == null && new Date(this.myForm.nativeElement[MinComponent.id].value) < minDateVal) {
|
|
1411
|
-
this.toastr.warning(label[0] + errorMessage[0] +
|
|
2279
|
+
this.toastr.warning(label[0] + errorMessage[0] + i5.formatDate(minDateVal, 'dd MMMM yyyy', 'en-US') + ".");
|
|
1412
2280
|
this.dateWrong = true;
|
|
1413
2281
|
}
|
|
1414
2282
|
else if (maxDateVal != null && minDateVal == null && new Date(this.myForm.nativeElement[MaxComponent.id].value) > maxDateVal) {
|
|
1415
|
-
this.toastr.warning(label[0] + errorMessage[0] +
|
|
2283
|
+
this.toastr.warning(label[0] + errorMessage[0] + i5.formatDate(maxDateVal, 'dd MMMM yyyy', 'en-US') + ".");
|
|
1416
2284
|
this.dateWrong = true;
|
|
1417
2285
|
}
|
|
1418
2286
|
else if (minDateVal != null && maxDateVal != null) {
|
|
1419
2287
|
if (new Date(this.myForm.nativeElement[MaxComponent.id].value) > maxDateVal || new Date(this.myForm.nativeElement[MinComponent.id].value) < minDateVal) {
|
|
1420
|
-
this.toastr.warning(label[0] + errorMessage[0] +
|
|
2288
|
+
this.toastr.warning(label[0] + errorMessage[0] + i5.formatDate(minDateVal, 'dd MMMM yyyy', 'en-US') + " and" + errorMessage[1] + i5.formatDate(maxDateVal, 'dd MMMM yyyy', 'en-US') + ".");
|
|
1421
2289
|
this.dateWrong = true;
|
|
1422
2290
|
}
|
|
1423
2291
|
else {
|
|
@@ -1428,11 +2296,26 @@
|
|
|
1428
2296
|
this.dateWrong = false;
|
|
1429
2297
|
}
|
|
1430
2298
|
};
|
|
2299
|
+
/**
|
|
2300
|
+
* @param {?} item
|
|
2301
|
+
* @param {?} crit
|
|
2302
|
+
* @return {?}
|
|
2303
|
+
*/
|
|
2304
|
+
UCSearchComponent.prototype.selectedOption = /**
|
|
2305
|
+
* @param {?} item
|
|
2306
|
+
* @param {?} crit
|
|
2307
|
+
* @return {?}
|
|
2308
|
+
*/
|
|
2309
|
+
function (item, crit) {
|
|
2310
|
+
crit.descr = item.Value;
|
|
2311
|
+
crit.isListHide = true;
|
|
2312
|
+
};
|
|
1431
2313
|
UCSearchComponent.decorators = [
|
|
1432
2314
|
{ type: i0.Component, args: [{
|
|
1433
2315
|
selector: 'lib-UCSearch',
|
|
1434
|
-
template: "<!-- Basic form layout section start -->\r\n<section id=\"horizontal-form-layouts\">\r\n <div class=\"row text-left\">\r\n <div class=\"col-md-12\">\r\n <div class=\"card\">\r\n <div class=\"pl-3 mb-2 mt-2\" *ngIf=\"configuration?.title != undefined && configuration?.title != ''\">\r\n <h4 class=\"card-title ucSearch-title\" translate>{{configuration.title}}</h4>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"px-3\">\r\n <form class=\"form form-horizontal\" id=\"formSearch\" #formIdSearch #enjiForm=\"ngForm\"\r\n (ngSubmit)=\"enjiForm.valid && searchClick()\">\r\n <div class=\"form-body\">\r\n <h4 class=\"form-section font-weight-bold\">\r\n <div (click)=\"changeState()\" class=\"btn no-padding cursor-pointer flip\">\r\n <i class=\"fa\" style=\"font-size: 15px; margin: 0px 0px 5px -15px;\"\r\n [ngClass]=\"isHidden ? 'fa-chevron-right' : 'fa-chevron-down'\"></i>\r\n </div>\r\n <span\r\n *ngIf=\"configuration?.sectionTitle != undefined && configuration?.sectionTitle != ''; then inputSectionTitle else defaultSectionTitle\"></span>\r\n <ng-template #inputSectionTitle>\r\n {{configuration?.sectionTitle}}\r\n </ng-template>\r\n <ng-template #defaultSectionTitle>\r\n Paging\r\n </ng-template>\r\n </h4>\r\n <!-- Ini Digunakan untuk Generate Dynamic Component -->\r\n <!-- [hidden]=\"isHidden\" -->\r\n <div class=\"panel-active\" [@changeDivSize]=currentState>\r\n <div class=\"row\">\r\n <div class=\"col-md-6 form-group\" *ngFor=\"let question of configuration?.component; let i = index\">\r\n <div class=\"col-md-12\">\r\n <div class=\"row\">\r\n <label class=\"col-md-5 no-padding\" for=\"{{question.id}}\"\r\n [ngClass]=\"{'adins-required-label': (question.isRequired || (question?.ddlType != undefined && question.ddlType == 'one'))}\"\r\n translate>{{question.label}}</label>\r\n <div class=\"col-md-7 no-padding\">\r\n <div *ngIf=\"question.type=='textbox'\">\r\n <input type=\"text\" id=\"{{question.id}}\" class=\"form-control search-form-control\"\r\n [ngModel]=\"question.value\" [required]=\"question.isRequired\" name=\"{{question.name}}\"\r\n attr.data-crit-datatable=\"{{question.isCriteriaDataTable}}\"\r\n attr.data-required=\"{{question.isRequired}}\" value=\"{{question.value}}\"\r\n (keyup.enter)=\"searchClick()\" attr.data-type=\"{{question.datatype}}\"\r\n attr.data-name=\"{{question.name}}\" attr.data-restriction=\"{{question.restriction}}\"\r\n attr.label=\"{{question.label}}\"\r\n [ngClass]=\"{ 'is-invalid':(enjiForm.submitted || enjiForm.form.controls[question.name]?.touched || enjiForm.form.controls[question.name]?.dirty) && enjiForm.form.controls[question.name]?.invalid }\">\r\n </div>\r\n <div *ngIf=\"question.type=='textarea'\">\r\n <textarea type=\"text\" id=\"{{question.id}}\" class=\"form-control search-form-control\"\r\n [ngModel]=\"question.value\" [required]=\"question.isRequired\" name=\"{{question.name}}\"\r\n attr.data-required=\"{{question.isRequired}}\" attr.data-type=\"{{question.datatype}}\"\r\n attr.data-name=\"{{question.name}}\" value=\"{{question.value}}\"\r\n attr.label=\"{{question.label}}\"\r\n [ngClass]=\"{ 'is-invalid':(enjiForm.submitted || enjiForm.form.controls[question.name]?.touched || enjiForm.form.controls[question.name]?.dirty) && enjiForm.form.controls[question.name]?.invalid }\"></textarea>\r\n </div>\r\n <div *ngIf=\"question.type=='numeric'\">\r\n <input type=\"number\" id=\"{{question.id}}\" (focus)=\"transformToDecimal($event)\"\r\n (blur)=\"transformAmount($event)\" class=\"form-control search-form-control\"\r\n [ngModel]=\"question.value\" [required]=\"question.isRequired\" name=\"{{question.name+[i]}}\"\r\n attr.data-required=\"{{question.isRequired}}\" value=\"{{question.value}}\"\r\n (keyup.enter)=\"searchClick()\" attr.data-restriction=\"{{question.restriction}}\"\r\n attr.data-type=\"{{question.datatype}}\" attr.data-name=\"{{question.name}}\"\r\n attr.data-numericpair = \"{{question.numericPair}}\" attr.data-crit-datatable=\"{{question.isCriteriaDataTable}}\"\r\n attr.label=\"{{question.label}}\"\r\n [ngClass]=\"{ 'is-invalid':(enjiForm.submitted || enjiForm.form.controls[question.name+[i]]?.touched || enjiForm.form.controls[question.name+[i]]?.dirty) && enjiForm.form.controls[question.name+[i]]?.invalid }\">\r\n </div>\r\n <div *ngIf=\"question.type=='currency'\">\r\n <div *ngIf=\"question?.isCustom != undefined && question?.isCustom\">\r\n <input type=\"\" id=\"{{question.id}}\" class=\"form-control search-form-control\"\r\n [required]=\"question.isRequired\" name=\"{{question.name}}\"\r\n (keyup.enter)=\"searchClick()\" attr.data-restriction=\"{{question.restriction}}\"\r\n attr.data-type=\"{{question.datatype}}\" attr.data-name=\"{{question.name}}\"\r\n attr.data-required=\"{{question.isRequired}}\" currencyMask [ngModel]=\"question.value\"\r\n [(ngModel)]=\"question.value\" [ngModelOptions]=\"{standalone: true}\"\r\n attr.label=\"{{question.label}}\"\r\n [options]=\"{ thousands: question.thousands, decimal: question.decimal, align: question.align, allowNegative: question.allowNegative, allowZero: question.allowZero, precision: question.precision, nullable: question.nullable }\"\r\n [ngClass]=\"{ 'is-invalid':(enjiForm.submitted || enjiForm.form.controls[question.name]?.touched || enjiForm.form.controls[question.name]?.dirty) && enjiForm.form.controls[question.name]?.invalid }\">\r\n </div>\r\n <div *ngIf=\"question?.isCustom == undefined || !question?.isCustom\">\r\n <input type=\"text\" id=\"{{question.id}}\" class=\"form-control search-form-control\"\r\n [required]=\"question.isRequired\" name=\"{{question.name}}\"\r\n (keyup.enter)=\"searchClick()\" attr.data-restriction=\"{{question.restriction}}\"\r\n attr.data-type=\"{{question.datatype}}\" attr.data-name=\"{{question.name}}\"\r\n attr.data-required=\"{{question.isRequired}}\" currencyMask [ngModel]=\"question.value\"\r\n [(ngModel)]=\"question.value\" [ngModelOptions]=\"{standalone: true}\"\r\n attr.label=\"{{question.label}}\"\r\n [options]=\"{ thousands: ',', decimal: '.', align: 'right', allowNegative: false, allowZero:true, precision: 2, nullable: false }\"\r\n [ngClass]=\"{ 'is-invalid':(enjiForm.submitted || enjiForm.form.controls[question.name]?.touched || enjiForm.form.controls[question.name]?.dirty) && enjiForm.form.controls[question.name]?.invalid }\">\r\n </div>\r\n </div>\r\n\r\n <!-- End Hardcode Lookup didalem-->\r\n <div *ngIf=\"question.type=='datepicker'\">\r\n <input type=\"{{question.isTime ? 'datetime-local' : 'date'}}\" id=\"{{question.id}}\"\r\n class=\"form-control search-form-control btn-lookup\" name=\"{{question.name+[i]}}\"\r\n [ngModel]=\"question.value\" [required]=\"question.isRequired\"\r\n attr.data-required=\"{{question.isRequired}}\" value=\"{{question.value}}\" [readonly]=\"question.readonly\"\r\n attr.data-type=\"{{question.datatype}}\" attr.data-name=\"{{question.name}}\"\r\n attr.data-datepickerpair = \"{{question.datepickerPair}}\" attr.data-crit-datatable=\"{{question.isCriteriaDataTable}}\"\r\n (keyup.enter)=\"searchClick()\" attr.data-restriction=\"{{question.restriction}}\"\r\n attr.label=\"{{question.label}}\" min=\"{{question.minDate | date:'yyyy-MM-dd'}}\"\r\n max=\"{{question.maxDate | date:'yyyy-MM-dd'}}\" (focusout)=\"question.restriction != undefined && checkInputDate(question)\"\r\n [ngClass]=\"{ 'is-invalid':(enjiForm.submitted || enjiForm.form.controls[question.name+[i]]?.touched || enjiForm.form.controls[question.name+[i]]?.dirty) && enjiForm.form.controls[question.name+[i]]?.invalid }\">\r\n </div>\r\n <div *ngIf=\"question.type == 'taskDefinitionKey' || question.type == 'processKey' || question.type == 'officeRoleCodes'\">\r\n <select name=\"{{question.name}}\" attr.data-required=\"{{question.isRequired}}\"\r\n [required]=\"question.isRequired\" class=\"form-control search-form-control\"\r\n attr.query-in=\"{{question.isQueryIn}}\" attr.data-type=\"{{question.datatype}}\"\r\n attr.label=\"{{question.label}}\" [hidden]=\"question?.itemsUrl?.length == 1\"\r\n (change)=\"(question.type == 'taskDefinitionKey' || question.type == 'processKey') ? SetProcessKey(i,question.wfKeyFilter) : SetRoleOfficeCodes(i)\"\r\n [ngClass]=\"{ 'is-invalid':(enjiForm.submitted || enjiForm.form.controls[question.name]?.touched || enjiForm.form.controls[question.name]?.dirty) && enjiForm.form.controls[question.name]?.invalid }\">\r\n <option *ngIf=\"question.ddlType == 'one' && question?.itemsUrl?.length != 1\"\r\n value=\"one\">Select One</option>\r\n <option\r\n *ngIf=\"(question?.ddlType == undefined || question.ddlType == 'all') && question?.itemsUrl?.length != 1\"\r\n value=\"all\">All</option>\r\n <option *ngFor=\"let item of question?.itemsUrl\" value=\"{{item.Key}}\">\r\n {{item.Value}}\r\n </option>\r\n </select>\r\n <label *ngIf=\"question?.itemsUrl?.length == 1\">{{question.itemsUrl[0].Value}}</label>\r\n </div>\r\n <div *ngIf=\"question.type=='dropdown'\">\r\n <select name=\"{{question.name}}\" attr.data-required=\"{{question.isRequired}}\"\r\n [(ngModel)]=\"question.value\" [required]=\"question.isRequired\"\r\n class=\"form-control search-form-control\" attr.query-in=\"{{question.isQueryIn}}\"\r\n attr.data-type=\"{{question.datatype}}\" attr.data-name=\"{{question.name}}\"\r\n attr.label=\"{{question.label}}\" attr.data-crit-datatable=\"{{question.isCriteriaDataTable}}\"\r\n [hidden]=\"!question.isFromURL ? question?.items?.length == 1 : question?.itemsUrl?.length == 1\"\r\n (change)=\"question.isEvent ? onChangeEvent($event.target.value, question) : ''\"\r\n [ngClass]=\"{ 'is-invalid':(enjiForm.submitted || enjiForm.form.controls[question.name]?.touched || enjiForm.form.controls[question.name]?.dirty) && enjiForm.form.controls[question.name]?.invalid }\">\r\n <option\r\n *ngIf=\"question.ddlType == 'one' && (!question.isFromURL ? question?.items?.length != 1 : question?.itemsUrl?.length != 1)\"\r\n value=\"one\">\r\n Select One</option>\r\n <option\r\n *ngIf=\"(question?.ddlType == undefined || question.ddlType == 'all') && (!question.isFromURL ? question?.items?.length != 1 : question?.itemsUrl?.length != 1)\"\r\n value=\"all\">All</option>\r\n <option *ngFor=\"let item of !question.isFromURL ? question?.items : question?.itemsUrl\"\r\n value=\"{{!question.isFromURL ? item.key : item.Key}}\">\r\n {{!question.isFromURL ? item.value : item.Value}}\r\n </option>\r\n </select>\r\n <label\r\n *ngIf=\"!question.isFromURL ? question?.items?.length == 1 : question?.itemsUrl?.length == 1\">{{!question.isFromURL\r\n ? question.items[0].value : question.itemsUrl[0].Value}}</label>\r\n </div>\r\n <div *ngIf=\"question.type=='claim'\">\r\n <select name=\"{{'claim'+[i]}}\" class=\"form-control search-form-control\"\r\n attr.data-type=\"{{'text'}}\" attr.data-crit-datatable=\"{{question.isCriteriaDataTable}}\"\r\n attr.data-name=\"{{'Assignee'}}\" [hidden]=\"ClaimList?.length == 1\"\r\n [ngClass]=\"{ 'is-invalid':(enjiForm.submitted || enjiForm.form.controls['claim'+[i]]?.touched || enjiForm.form.controls['claim'+[i]]?.dirty) && enjiForm.form.controls['claim'+[i]]?.invalid }\">\r\n <option *ngIf=\"question.ddlType == 'one' && ClaimList?.length != 1\" value=\"one\">Select\r\n One</option>\r\n <option\r\n *ngIf=\"(question?.ddlType == undefined || question.ddlType == 'all') && ClaimList?.length != 1\"\r\n value=\"all\">All</option>\r\n <option *ngFor=\"let item of ClaimList\" value=\"{{item.Key}}\">\r\n {{item.Value}}\r\n </option>\r\n </select>\r\n </div>\r\n <lib-uc-show-errors *ngIf=\"question.type!='datepicker'\"\r\n [control]=\"enjiForm.form.controls[question.name]\" [submit]=\"enjiForm.submitted\">\r\n </lib-uc-show-errors>\r\n <lib-uc-show-errors *ngIf=\"question.type=='datepicker'\"\r\n [control]=\"enjiForm.form.controls[question.name+[i]]\" [submit]=\"enjiForm.submitted\">\r\n </lib-uc-show-errors>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-md-6 form-group\" *ngIf=\"(isReport != undefined && isReport)\">\r\n <div class=\"col-md-12\">\r\n <div class=\"row\">\r\n <label class=\"col-md-5 no-padding\" translate>Report Type</label>\r\n <div class=\"col-md-7 no-padding\">\r\n <select name=\"ExportType\" [(ngModel)]=\"ExportType\" class=\"form-control search-form-control\"\r\n attr.data-type=\"text\">\r\n <option *ngFor=\"let item of ExportTypeList\" [value]=\"item.key\">{{item.value}}</option>\r\n </select>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-md-12 no-padding\">\r\n <div class=\"form-actions right\">\r\n <button *ngIf=\"exportData == true\" type=\"button\" (click)=\"exportAsXLSX()\"\r\n class=\"btn btn-raised btn-success mr-1\" translate>\r\n <i class=\"fa ft-download\"></i> <span translate>Export Excel</span>\r\n </button>\r\n <button type=\"button\" (click)=\"reset()\" class=\"btn btn-raised btn-warning mr-1\" translate>\r\n <i class=\"fa fa-times\"></i> <span translate>Reset</span>\r\n </button>\r\n <button *ngIf=\"(isReport == undefined || !isReport)\" type=\"submit\"\r\n class=\"btn btn-raised btn-primary\" #UCSearchClick>\r\n <i class=\"fa fa-search\"></i> <span translate>Search</span>\r\n </button>\r\n <button *ngIf=\"(isReport != undefined && isReport)\" type=\"button\" (click)=\"GenerateReport()\"\r\n class=\"btn btn-raised btn-primary\">\r\n <i class=\"fa ft-download\"></i> <span translate>Generate Report</span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</section>\r\n<br>\r\n<!-- // Basic form layout section end -->",
|
|
1435
|
-
|
|
2316
|
+
templateUrl: './ucsearch.component.html',
|
|
2317
|
+
styleUrls: ['./ucsearch.component.css'],
|
|
2318
|
+
providers: [ExcelService, i5.DatePipe],
|
|
1436
2319
|
animations: [
|
|
1437
2320
|
animations.trigger('changeDivSize', [
|
|
1438
2321
|
animations.state('initial', animations.style({
|
|
@@ -1447,24 +2330,24 @@
|
|
|
1447
2330
|
animations.transition('initial=>final', animations.animate('300ms')),
|
|
1448
2331
|
animations.transition('final=>initial', animations.animate('300ms'))
|
|
1449
2332
|
]),
|
|
1450
|
-
]
|
|
1451
|
-
|
|
1452
|
-
}] }
|
|
2333
|
+
]
|
|
2334
|
+
},] },
|
|
1453
2335
|
];
|
|
1454
2336
|
/** @nocollapse */
|
|
1455
2337
|
UCSearchComponent.ctorParameters = function () {
|
|
1456
2338
|
return [
|
|
1457
|
-
{ type:
|
|
2339
|
+
{ type: i1.HttpClient },
|
|
1458
2340
|
{ type: ExcelService },
|
|
1459
2341
|
{ type: i0.Renderer2 },
|
|
1460
|
-
{ type: undefined, decorators: [{ type: i0.Inject, args: [
|
|
1461
|
-
{ type:
|
|
1462
|
-
{ type:
|
|
1463
|
-
{ type:
|
|
2342
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [i5.DOCUMENT,] }] },
|
|
2343
|
+
{ type: i3.ToastrService },
|
|
2344
|
+
{ type: i4.CookieService },
|
|
2345
|
+
{ type: i5.DatePipe },
|
|
2346
|
+
{ type: i0.ElementRef }
|
|
1464
2347
|
];
|
|
1465
2348
|
};
|
|
1466
2349
|
UCSearchComponent.propDecorators = {
|
|
1467
|
-
content: [{ type: i0.ViewChild, args: ['enjiForm',
|
|
2350
|
+
content: [{ type: i0.ViewChild, args: ['enjiForm',] }],
|
|
1468
2351
|
myForm: [{ type: i0.ViewChild, args: ['formIdSearch', { static: false },] }],
|
|
1469
2352
|
searchInput: [{ type: i0.Input }],
|
|
1470
2353
|
pageSize: [{ type: i0.Input }],
|
|
@@ -1473,8 +2356,158 @@
|
|
|
1473
2356
|
genRpt: [{ type: i0.Output }],
|
|
1474
2357
|
reqGetAllData: [{ type: i0.Output }]
|
|
1475
2358
|
};
|
|
2359
|
+
/** @nocollapse */ UCSearchComponent.ɵfac = function UCSearchComponent_Factory(t) { return new (t || UCSearchComponent)(i0.ɵɵdirectiveInject(i1.HttpClient), i0.ɵɵdirectiveInject(ExcelService), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i5.DOCUMENT), i0.ɵɵdirectiveInject(i3.ToastrService), i0.ɵɵdirectiveInject(i4.CookieService), i0.ɵɵdirectiveInject(i5.DatePipe), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
2360
|
+
/** @nocollapse */ UCSearchComponent.ɵcmp = i0.ɵɵdefineComponent({ type: UCSearchComponent, selectors: [["lib-UCSearch"]], viewQuery: function UCSearchComponent_Query(rf, ctx) {
|
|
2361
|
+
if (rf & 1) {
|
|
2362
|
+
i0.ɵɵviewQuery(_c0, true);
|
|
2363
|
+
i0.ɵɵviewQuery(_c1, true);
|
|
2364
|
+
}
|
|
2365
|
+
if (rf & 2) {
|
|
2366
|
+
var _t;
|
|
2367
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);
|
|
2368
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.myForm = _t.first);
|
|
2369
|
+
}
|
|
2370
|
+
}, inputs: { searchInput: "searchInput", pageSize: "pageSize", isReport: "isReport" }, outputs: { result: "result", genRpt: "genRpt", reqGetAllData: "reqGetAllData" }, features: [i0.ɵɵProvidersFeature([ExcelService, i5.DatePipe])], decls: 34, vars: 11, consts: [["id", "horizontal-form-layouts"], [1, "row", "text-left"], [1, "col-md-12"], [1, "card"], ["class", "pl-3 mb-2 mt-2", 4, "ngIf"], [1, "card-body"], [1, "px-3"], ["id", "formSearch", 1, "form", "form-horizontal", 3, "ngSubmit"], ["formIdSearch", "", "enjiForm", "ngForm"], [1, "form-body"], [1, "form-section", "font-weight-bold"], [1, "btn", "no-padding", "cursor-pointer", "flip", 3, "click"], [1, "fa", 2, "font-size", "15px", "margin", "0px 0px 5px -15px", 3, "ngClass"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["inputSectionTitle", ""], ["defaultSectionTitle", ""], [1, "panel-active"], [1, "row"], ["class", "col-md-6 form-group", 4, "ngFor", "ngForOf"], ["class", "col-md-6 form-group", 4, "ngIf"], [1, "col-md-12", "no-padding"], [1, "form-actions", "right"], ["type", "button", "class", "btn btn-raised btn-success mr-1", "translate", "", 3, "click", 4, "ngIf"], ["type", "button", "translate", "", 1, "btn", "btn-raised", "btn-warning", "mr-1", 3, "click"], [1, "fa", "fa-times"], ["translate", ""], ["type", "submit", "class", "btn btn-raised btn-primary", 4, "ngIf"], ["type", "button", "class", "btn btn-raised btn-primary", 3, "click", 4, "ngIf"], [1, "pl-3", "mb-2", "mt-2"], ["translate", "", 1, "card-title", "ucSearch-title"], [1, "col-md-6", "form-group"], ["translate", "", 1, "col-md-5", "no-padding", 3, "for", "ngClass"], [1, "col-md-7", "no-padding"], [4, "ngIf"], [3, "control", "submit", 4, "ngIf"], ["type", "text", 1, "form-control", "search-form-control", 3, "id", "ngModel", "required", "name", "value", "ngClass", "keyup.enter"], ["type", "text", 1, "form-control", "search-form-control", 3, "id", "ngModel", "required", "name", "value", "ngClass"], ["type", "number", 1, "form-control", "search-form-control", 3, "id", "ngModel", "required", "name", "value", "ngClass", "focus", "blur", "keyup.enter"], ["type", "", "currencyMask", "", 1, "form-control", "search-form-control", 3, "id", "required", "name", "ngModel", "ngModelOptions", "options", "ngClass", "keyup.enter", "ngModelChange"], ["type", "text", "currencyMask", "", 1, "form-control", "search-form-control", 3, "id", "required", "name", "ngModel", "ngModelOptions", "options", "ngClass", "keyup.enter", "ngModelChange"], [1, "form-control", "search-form-control", "btn-lookup", 3, "type", "id", "name", "ngModel", "required", "value", "readonly", "min", "max", "ngClass", "keyup.enter", "focusout"], [1, "form-control", "search-form-control", 3, "name", "required", "hidden", "ngClass", "change"], ["value", "one", 4, "ngIf"], ["value", "all", 4, "ngIf"], [3, "value", 4, "ngFor", "ngForOf"], ["value", "one"], ["value", "all"], [3, "value"], [1, "form-control", "search-form-control", 3, "name", "ngModel", "required", "hidden", "ngClass", "ngModelChange", "change"], [1, "dds-display-item", 3, "hidden"], ["type", "text", "readonly", "", 1, "form-control", "search-form-control", "dds-input", 3, "name", "ngModel", "ngModelChange", "click"], [1, "dds-list-container", 3, "hidden"], ["type", "text", 1, "form-control", "search-form-control", 3, "name", "ngModel", "placeholder", "ngModelChange"], [1, "dds-items-container"], [1, "full-width", 3, "name", "ngModel", "required", "ngClass", "size", "ngModelChange", "change"], ["value", "one", 3, "click", 4, "ngIf"], ["value", "all", 3, "click", 4, "ngIf"], [3, "value", "click", 4, "ngFor", "ngForOf"], ["value", "one", 3, "click"], ["value", "all", 3, "click"], [3, "value", "click"], [1, "form-control", "search-form-control", 3, "name", "hidden", "ngClass"], [3, "control", "submit"], ["translate", "", 1, "col-md-5", "no-padding"], ["name", "ExportType", "attr.data-type", "text", 1, "form-control", "search-form-control", 3, "ngModel", "ngModelChange"], ["type", "button", "translate", "", 1, "btn", "btn-raised", "btn-success", "mr-1", 3, "click"], [1, "fa", "ft-download"], ["type", "submit", 1, "btn", "btn-raised", "btn-primary"], ["UCSearchClick", ""], [1, "fa", "fa-search"], ["type", "button", 1, "btn", "btn-raised", "btn-primary", 3, "click"]], template: function UCSearchComponent_Template(rf, ctx) {
|
|
2371
|
+
if (rf & 1) {
|
|
2372
|
+
var _r119 = i0.ɵɵgetCurrentView();
|
|
2373
|
+
i0.ɵɵelementStart(0, "section", 0);
|
|
2374
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
2375
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
2376
|
+
i0.ɵɵelementStart(3, "div", 3);
|
|
2377
|
+
i0.ɵɵtemplate(4, UCSearchComponent_div_4_Template, 3, 1, "div", 4);
|
|
2378
|
+
i0.ɵɵelementStart(5, "div", 5);
|
|
2379
|
+
i0.ɵɵelementStart(6, "div", 6);
|
|
2380
|
+
i0.ɵɵelementStart(7, "form", 7, 8);
|
|
2381
|
+
i0.ɵɵlistener("ngSubmit", function UCSearchComponent_Template_form_ngSubmit_7_listener() { i0.ɵɵrestoreView(_r119); var _r2 = i0.ɵɵreference(9); return _r2.valid && ctx.searchClick(); });
|
|
2382
|
+
i0.ɵɵelementStart(10, "div", 9);
|
|
2383
|
+
i0.ɵɵelementStart(11, "h4", 10);
|
|
2384
|
+
i0.ɵɵelementStart(12, "div", 11);
|
|
2385
|
+
i0.ɵɵlistener("click", function UCSearchComponent_Template_div_click_12_listener() { return ctx.changeState(); });
|
|
2386
|
+
i0.ɵɵelement(13, "i", 12);
|
|
2387
|
+
i0.ɵɵelementEnd();
|
|
2388
|
+
i0.ɵɵtemplate(14, UCSearchComponent_span_14_Template, 1, 0, "span", 13);
|
|
2389
|
+
i0.ɵɵtemplate(15, UCSearchComponent_ng_template_15_Template, 1, 1, "ng-template", null, 14, i0.ɵɵtemplateRefExtractor);
|
|
2390
|
+
i0.ɵɵtemplate(17, UCSearchComponent_ng_template_17_Template, 1, 0, "ng-template", null, 15, i0.ɵɵtemplateRefExtractor);
|
|
2391
|
+
i0.ɵɵelementEnd();
|
|
2392
|
+
i0.ɵɵelementStart(19, "div", 16);
|
|
2393
|
+
i0.ɵɵelementStart(20, "div", 17);
|
|
2394
|
+
i0.ɵɵtemplate(21, UCSearchComponent_div_21_Template, 17, 16, "div", 18);
|
|
2395
|
+
i0.ɵɵtemplate(22, UCSearchComponent_div_22_Template, 8, 2, "div", 19);
|
|
2396
|
+
i0.ɵɵelementEnd();
|
|
2397
|
+
i0.ɵɵelementStart(23, "div", 20);
|
|
2398
|
+
i0.ɵɵelementStart(24, "div", 21);
|
|
2399
|
+
i0.ɵɵtemplate(25, UCSearchComponent_button_25_Template, 5, 0, "button", 22);
|
|
2400
|
+
i0.ɵɵelementStart(26, "button", 23);
|
|
2401
|
+
i0.ɵɵlistener("click", function UCSearchComponent_Template_button_click_26_listener() { return ctx.reset(); });
|
|
2402
|
+
i0.ɵɵelement(27, "i", 24);
|
|
2403
|
+
i0.ɵɵtext(28, "\u00A0");
|
|
2404
|
+
i0.ɵɵelementStart(29, "span", 25);
|
|
2405
|
+
i0.ɵɵtext(30, "Reset");
|
|
2406
|
+
i0.ɵɵelementEnd();
|
|
2407
|
+
i0.ɵɵelementEnd();
|
|
2408
|
+
i0.ɵɵtemplate(31, UCSearchComponent_button_31_Template, 6, 0, "button", 26);
|
|
2409
|
+
i0.ɵɵtemplate(32, UCSearchComponent_button_32_Template, 5, 0, "button", 27);
|
|
2410
|
+
i0.ɵɵelementEnd();
|
|
2411
|
+
i0.ɵɵelementEnd();
|
|
2412
|
+
i0.ɵɵelementEnd();
|
|
2413
|
+
i0.ɵɵelementEnd();
|
|
2414
|
+
i0.ɵɵelementEnd();
|
|
2415
|
+
i0.ɵɵelementEnd();
|
|
2416
|
+
i0.ɵɵelementEnd();
|
|
2417
|
+
i0.ɵɵelementEnd();
|
|
2418
|
+
i0.ɵɵelementEnd();
|
|
2419
|
+
i0.ɵɵelementEnd();
|
|
2420
|
+
i0.ɵɵelementEnd();
|
|
2421
|
+
i0.ɵɵelement(33, "br");
|
|
2422
|
+
}
|
|
2423
|
+
if (rf & 2) {
|
|
2424
|
+
var _r4 = i0.ɵɵreference(16);
|
|
2425
|
+
var _r6 = i0.ɵɵreference(18);
|
|
2426
|
+
i0.ɵɵadvance(4);
|
|
2427
|
+
i0.ɵɵproperty("ngIf", (ctx.configuration == null ? null : ctx.configuration.title) != undefined && (ctx.configuration == null ? null : ctx.configuration.title) != "");
|
|
2428
|
+
i0.ɵɵadvance(9);
|
|
2429
|
+
i0.ɵɵproperty("ngClass", ctx.isHidden ? "fa-chevron-right" : "fa-chevron-down");
|
|
2430
|
+
i0.ɵɵadvance(1);
|
|
2431
|
+
i0.ɵɵproperty("ngIf", (ctx.configuration == null ? null : ctx.configuration.sectionTitle) != undefined && (ctx.configuration == null ? null : ctx.configuration.sectionTitle) != "")("ngIfThen", _r4)("ngIfElse", _r6);
|
|
2432
|
+
i0.ɵɵadvance(5);
|
|
2433
|
+
i0.ɵɵproperty("@changeDivSize", ctx.currentState);
|
|
2434
|
+
i0.ɵɵadvance(2);
|
|
2435
|
+
i0.ɵɵproperty("ngForOf", ctx.configuration == null ? null : ctx.configuration.component);
|
|
2436
|
+
i0.ɵɵadvance(1);
|
|
2437
|
+
i0.ɵɵproperty("ngIf", ctx.isReport != undefined && ctx.isReport);
|
|
2438
|
+
i0.ɵɵadvance(3);
|
|
2439
|
+
i0.ɵɵproperty("ngIf", ctx.exportData == true);
|
|
2440
|
+
i0.ɵɵadvance(6);
|
|
2441
|
+
i0.ɵɵproperty("ngIf", ctx.isReport == undefined || !ctx.isReport);
|
|
2442
|
+
i0.ɵɵadvance(1);
|
|
2443
|
+
i0.ɵɵproperty("ngIf", ctx.isReport != undefined && ctx.isReport);
|
|
2444
|
+
}
|
|
2445
|
+
}, directives: [i5.NgIf, i6.ɵangular_packages_forms_forms_bh, i6.NgControlStatusGroup, i6.NgForm, i5.NgClass, i5.NgForOf, i2.TranslateDirective, i8.UpperCaseDirective, i6.DefaultValueAccessor, i6.NgControlStatus, i6.NgModel, i6.RequiredValidator, i6.ɵangular_packages_forms_forms_be, i1$1.CurrencyMaskDirective, i6.NgSelectOption, i6.ɵangular_packages_forms_forms_s, i6.SelectControlValueAccessor, i10.UcShowErrorsComponent], pipes: [i5.DatePipe, TextSearchPipe], styles: [".ucSearch-title[_ngcontent-%COMP%]{margin:3px}.dds-input[_ngcontent-%COMP%]{background-color:#fff;text-transform:uppercase}.dds-display-item[_ngcontent-%COMP%]:after{content:'\\e929';font-family:feather;font-size:1rem;display:inline-block;position:absolute;right:5px;top:5px;transform:rotate(90deg)}.dds-list-container[_ngcontent-%COMP%]{position:absolute;width:100%;z-index:9}"], data: { animation: [
|
|
2446
|
+
animations.trigger('changeDivSize', [
|
|
2447
|
+
animations.state('initial', animations.style({
|
|
2448
|
+
height: '*',
|
|
2449
|
+
opacity: '1',
|
|
2450
|
+
})),
|
|
2451
|
+
animations.state('final', animations.style({
|
|
2452
|
+
height: '0px',
|
|
2453
|
+
opacity: '0',
|
|
2454
|
+
overflow: 'hidden',
|
|
2455
|
+
})),
|
|
2456
|
+
animations.transition('initial=>final', animations.animate('300ms')),
|
|
2457
|
+
animations.transition('final=>initial', animations.animate('300ms'))
|
|
2458
|
+
]),
|
|
2459
|
+
] } });
|
|
1476
2460
|
return UCSearchComponent;
|
|
1477
|
-
}());
|
|
2461
|
+
}());
|
|
2462
|
+
/*@__PURE__*/ (function () {
|
|
2463
|
+
i0.ɵsetClassMetadata(UCSearchComponent, [{
|
|
2464
|
+
type: i0.Component,
|
|
2465
|
+
args: [{
|
|
2466
|
+
selector: 'lib-UCSearch',
|
|
2467
|
+
templateUrl: './ucsearch.component.html',
|
|
2468
|
+
styleUrls: ['./ucsearch.component.css'],
|
|
2469
|
+
providers: [ExcelService, i5.DatePipe],
|
|
2470
|
+
animations: [
|
|
2471
|
+
animations.trigger('changeDivSize', [
|
|
2472
|
+
animations.state('initial', animations.style({
|
|
2473
|
+
height: '*',
|
|
2474
|
+
opacity: '1',
|
|
2475
|
+
})),
|
|
2476
|
+
animations.state('final', animations.style({
|
|
2477
|
+
height: '0px',
|
|
2478
|
+
opacity: '0',
|
|
2479
|
+
overflow: 'hidden',
|
|
2480
|
+
})),
|
|
2481
|
+
animations.transition('initial=>final', animations.animate('300ms')),
|
|
2482
|
+
animations.transition('final=>initial', animations.animate('300ms'))
|
|
2483
|
+
]),
|
|
2484
|
+
]
|
|
2485
|
+
}]
|
|
2486
|
+
}], function () {
|
|
2487
|
+
return [{ type: i1.HttpClient }, { type: ExcelService }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
2488
|
+
type: i0.Inject,
|
|
2489
|
+
args: [i5.DOCUMENT]
|
|
2490
|
+
}] }, { type: i3.ToastrService }, { type: i4.CookieService }, { type: i5.DatePipe }, { type: i0.ElementRef }];
|
|
2491
|
+
}, { content: [{
|
|
2492
|
+
type: i0.ViewChild,
|
|
2493
|
+
args: ['enjiForm']
|
|
2494
|
+
}], myForm: [{
|
|
2495
|
+
type: i0.ViewChild,
|
|
2496
|
+
args: ['formIdSearch', { static: false }]
|
|
2497
|
+
}], searchInput: [{
|
|
2498
|
+
type: i0.Input
|
|
2499
|
+
}], pageSize: [{
|
|
2500
|
+
type: i0.Input
|
|
2501
|
+
}], isReport: [{
|
|
2502
|
+
type: i0.Input
|
|
2503
|
+
}], result: [{
|
|
2504
|
+
type: i0.Output
|
|
2505
|
+
}], genRpt: [{
|
|
2506
|
+
type: i0.Output
|
|
2507
|
+
}], reqGetAllData: [{
|
|
2508
|
+
type: i0.Output
|
|
2509
|
+
}] });
|
|
2510
|
+
})();
|
|
1478
2511
|
|
|
1479
2512
|
/**
|
|
1480
2513
|
* @fileoverview added by tsickle
|
|
@@ -1491,27 +2524,59 @@
|
|
|
1491
2524
|
suffix: "",
|
|
1492
2525
|
thousands: ",",
|
|
1493
2526
|
nullable: false,
|
|
1494
|
-
inputMode:
|
|
2527
|
+
inputMode: i1$1.CurrencyMaskInputMode.NATURAL
|
|
1495
2528
|
};
|
|
1496
2529
|
var UCSearchModule = /** @class */ (function () {
|
|
1497
2530
|
function UCSearchModule() {
|
|
1498
2531
|
}
|
|
1499
2532
|
UCSearchModule.decorators = [
|
|
1500
2533
|
{ type: i0.NgModule, args: [{
|
|
1501
|
-
declarations: [UCSearchComponent],
|
|
2534
|
+
declarations: [UCSearchComponent, TextSearchPipe],
|
|
1502
2535
|
imports: [
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
2536
|
+
i5.CommonModule,
|
|
2537
|
+
i6.FormsModule,
|
|
2538
|
+
i10.UcShowErrorsModule,
|
|
2539
|
+
i8.UcDirectiveUpperCaseModule,
|
|
2540
|
+
i1$1.NgxCurrencyModule.forRoot(customCurrencyMaskConfig),
|
|
2541
|
+
i2.TranslateModule.forChild()
|
|
1509
2542
|
],
|
|
1510
2543
|
exports: [UCSearchComponent]
|
|
1511
|
-
},] }
|
|
2544
|
+
},] },
|
|
1512
2545
|
];
|
|
2546
|
+
/** @nocollapse */ UCSearchModule.ɵmod = i0.ɵɵdefineNgModule({ type: UCSearchModule });
|
|
2547
|
+
/** @nocollapse */ UCSearchModule.ɵinj = i0.ɵɵdefineInjector({ factory: function UCSearchModule_Factory(t) { return new (t || UCSearchModule)(); }, imports: [[
|
|
2548
|
+
i5.CommonModule,
|
|
2549
|
+
i6.FormsModule,
|
|
2550
|
+
i10.UcShowErrorsModule,
|
|
2551
|
+
i8.UcDirectiveUpperCaseModule,
|
|
2552
|
+
i1$1.NgxCurrencyModule.forRoot(customCurrencyMaskConfig),
|
|
2553
|
+
i2.TranslateModule.forChild()
|
|
2554
|
+
]] });
|
|
1513
2555
|
return UCSearchModule;
|
|
1514
|
-
}());
|
|
2556
|
+
}());
|
|
2557
|
+
(function () {
|
|
2558
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UCSearchModule, { declarations: [UCSearchComponent, TextSearchPipe], imports: [i5.CommonModule,
|
|
2559
|
+
i6.FormsModule,
|
|
2560
|
+
i10.UcShowErrorsModule,
|
|
2561
|
+
i8.UcDirectiveUpperCaseModule, i1$1.NgxCurrencyModule, i2.TranslateModule], exports: [UCSearchComponent] });
|
|
2562
|
+
})();
|
|
2563
|
+
/*@__PURE__*/ (function () {
|
|
2564
|
+
i0.ɵsetClassMetadata(UCSearchModule, [{
|
|
2565
|
+
type: i0.NgModule,
|
|
2566
|
+
args: [{
|
|
2567
|
+
declarations: [UCSearchComponent, TextSearchPipe],
|
|
2568
|
+
imports: [
|
|
2569
|
+
i5.CommonModule,
|
|
2570
|
+
i6.FormsModule,
|
|
2571
|
+
i10.UcShowErrorsModule,
|
|
2572
|
+
i8.UcDirectiveUpperCaseModule,
|
|
2573
|
+
i1$1.NgxCurrencyModule.forRoot(customCurrencyMaskConfig),
|
|
2574
|
+
i2.TranslateModule.forChild()
|
|
2575
|
+
],
|
|
2576
|
+
exports: [UCSearchComponent]
|
|
2577
|
+
}]
|
|
2578
|
+
}], null, null);
|
|
2579
|
+
})();
|
|
1515
2580
|
|
|
1516
2581
|
/**
|
|
1517
2582
|
* @fileoverview added by tsickle
|
|
@@ -1527,7 +2592,6 @@
|
|
|
1527
2592
|
exports.UCSearchComponent = UCSearchComponent;
|
|
1528
2593
|
exports.customCurrencyMaskConfig = customCurrencyMaskConfig;
|
|
1529
2594
|
exports.UCSearchModule = UCSearchModule;
|
|
1530
|
-
exports.ɵa = ExcelService;
|
|
1531
2595
|
|
|
1532
2596
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1533
2597
|
|