@adins/ucsearch 2.9.2 → 2.9.4
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/adins-ucsearch.d.ts +2 -1
- package/adins-ucsearch.metadata.json +1 -0
- package/bundles/adins-ucsearch.umd.js +76 -918
- 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 +3 -1
- package/esm2015/lib/pipe/text-search.pipe.js +2 -11
- package/esm2015/lib/services/excel-service/excel-service.js +2 -8
- package/esm2015/lib/ucsearch.component.js +6 -697
- package/esm2015/lib/ucsearch.module.js +2 -33
- package/esm2015/lib/ucsearch.service.js +3 -10
- package/esm5/adins-ucsearch.js +3 -1
- package/esm5/lib/pipe/text-search.pipe.js +2 -11
- package/esm5/lib/services/excel-service/excel-service.js +2 -8
- package/esm5/lib/ucsearch.component.js +6 -697
- package/esm5/lib/ucsearch.module.js +2 -33
- package/esm5/lib/ucsearch.service.js +3 -10
- package/fesm2015/adins-ucsearch.js +51 -774
- package/fesm2015/adins-ucsearch.js.map +1 -1
- package/fesm5/adins-ucsearch.js +60 -783
- package/fesm5/adins-ucsearch.js.map +1 -1
- package/package.json +1 -1
package/fesm5/adins-ucsearch.js
CHANGED
|
@@ -6,13 +6,13 @@ import { trigger, transition, style, animate, state } from '@angular/animations'
|
|
|
6
6
|
import { ToastrService } from 'ngx-toastr';
|
|
7
7
|
import { CookieService } from 'ngx-cookie';
|
|
8
8
|
import { enc, lib, AES } from 'crypto-js';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
9
|
+
import { DatePipe, formatDate, DOCUMENT, CommonModule } from '@angular/common';
|
|
10
|
+
import { FormsModule } from '@angular/forms';
|
|
11
|
+
import { CurrencyMaskInputMode, NgxCurrencyModule } from 'ngx-currency';
|
|
12
|
+
import { TranslateModule } from '@ngx-translate/core';
|
|
13
|
+
import { UcShowErrorsModule } from '@adins/uc-show-errors';
|
|
14
|
+
import { UcDirectiveUpperCaseModule } from '@adins/uc-directive-upper-case';
|
|
15
|
+
import { Injectable, Pipe, NgModule, ɵɵdefineInjectable, EventEmitter, Component, Renderer2, Inject, ElementRef, ViewChild, Input, Output } from '@angular/core';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @fileoverview added by tsickle
|
|
@@ -24,20 +24,13 @@ var UCSearchService = /** @class */ (function () {
|
|
|
24
24
|
UCSearchService.decorators = [
|
|
25
25
|
{ type: Injectable, args: [{
|
|
26
26
|
providedIn: 'root'
|
|
27
|
-
},] }
|
|
27
|
+
},] }
|
|
28
28
|
];
|
|
29
29
|
/** @nocollapse */
|
|
30
30
|
UCSearchService.ctorParameters = function () { return []; };
|
|
31
|
-
/** @nocollapse */ UCSearchService.ɵ
|
|
32
|
-
/** @nocollapse */ UCSearchService.ɵprov = ɵɵdefineInjectable({ token: UCSearchService, factory: UCSearchService.ɵfac, providedIn: 'root' });
|
|
31
|
+
/** @nocollapse */ UCSearchService.ɵprov = ɵɵdefineInjectable({ factory: function UCSearchService_Factory() { return new UCSearchService(); }, token: UCSearchService, providedIn: "root" });
|
|
33
32
|
return UCSearchService;
|
|
34
|
-
}());
|
|
35
|
-
/*@__PURE__*/ (function () { ɵsetClassMetadata(UCSearchService, [{
|
|
36
|
-
type: Injectable,
|
|
37
|
-
args: [{
|
|
38
|
-
providedIn: 'root'
|
|
39
|
-
}]
|
|
40
|
-
}], function () { return []; }, null); })();
|
|
33
|
+
}());
|
|
41
34
|
|
|
42
35
|
/**
|
|
43
36
|
* @fileoverview added by tsickle
|
|
@@ -191,17 +184,12 @@ var ExcelService = /** @class */ (function () {
|
|
|
191
184
|
saveAs(data, fileName + '_export_' + new Date().getTime() + EXCEL_EXTENSION);
|
|
192
185
|
};
|
|
193
186
|
ExcelService.decorators = [
|
|
194
|
-
{ type: Injectable }
|
|
187
|
+
{ type: Injectable }
|
|
195
188
|
];
|
|
196
189
|
/** @nocollapse */
|
|
197
190
|
ExcelService.ctorParameters = function () { return []; };
|
|
198
|
-
/** @nocollapse */ ExcelService.ɵfac = function ExcelService_Factory(t) { return new (t || ExcelService)(); };
|
|
199
|
-
/** @nocollapse */ ExcelService.ɵprov = ɵɵdefineInjectable({ token: ExcelService, factory: ExcelService.ɵfac });
|
|
200
191
|
return ExcelService;
|
|
201
|
-
}());
|
|
202
|
-
/*@__PURE__*/ (function () { ɵsetClassMetadata(ExcelService, [{
|
|
203
|
-
type: Injectable
|
|
204
|
-
}], function () { return []; }, null); })();
|
|
192
|
+
}());
|
|
205
193
|
|
|
206
194
|
/**
|
|
207
195
|
* @fileoverview added by tsickle
|
|
@@ -259,589 +247,6 @@ var ListKeyValueMonth = /** @class */ (function () {
|
|
|
259
247
|
* @fileoverview added by tsickle
|
|
260
248
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
261
249
|
*/
|
|
262
|
-
var TextSearchPipe = /** @class */ (function () {
|
|
263
|
-
function TextSearchPipe() {
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* @param {?} items
|
|
267
|
-
* @param {?=} text
|
|
268
|
-
* @return {?}
|
|
269
|
-
*/
|
|
270
|
-
TextSearchPipe.prototype.transform = /**
|
|
271
|
-
* @param {?} items
|
|
272
|
-
* @param {?=} text
|
|
273
|
-
* @return {?}
|
|
274
|
-
*/
|
|
275
|
-
function (items, text) {
|
|
276
|
-
if (!text) {
|
|
277
|
-
return items;
|
|
278
|
-
}
|
|
279
|
-
return items.filter((/**
|
|
280
|
-
* @param {?} item
|
|
281
|
-
* @return {?}
|
|
282
|
-
*/
|
|
283
|
-
function (item) {
|
|
284
|
-
if (item.Value && typeof item.Value === 'string') {
|
|
285
|
-
return item.Value.toLowerCase().indexOf(text.toLowerCase()) > -1;
|
|
286
|
-
}
|
|
287
|
-
return false;
|
|
288
|
-
}));
|
|
289
|
-
};
|
|
290
|
-
TextSearchPipe.decorators = [
|
|
291
|
-
{ type: Pipe, args: [{
|
|
292
|
-
name: 'textSearch'
|
|
293
|
-
},] },
|
|
294
|
-
];
|
|
295
|
-
/** @nocollapse */ TextSearchPipe.ɵfac = function TextSearchPipe_Factory(t) { return new (t || TextSearchPipe)(); };
|
|
296
|
-
/** @nocollapse */ TextSearchPipe.ɵpipe = ɵɵdefinePipe({ name: "textSearch", type: TextSearchPipe, pure: true });
|
|
297
|
-
return TextSearchPipe;
|
|
298
|
-
}());
|
|
299
|
-
/*@__PURE__*/ (function () { ɵsetClassMetadata(TextSearchPipe, [{
|
|
300
|
-
type: Pipe,
|
|
301
|
-
args: [{
|
|
302
|
-
name: 'textSearch'
|
|
303
|
-
}]
|
|
304
|
-
}], null, null); })();
|
|
305
|
-
|
|
306
|
-
var _c0 = ["enjiForm"];
|
|
307
|
-
var _c1 = ["formIdSearch"];
|
|
308
|
-
function UCSearchComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
309
|
-
ɵɵelementStart(0, "div", 28);
|
|
310
|
-
ɵɵelementStart(1, "h4", 29);
|
|
311
|
-
ɵɵtext(2);
|
|
312
|
-
ɵɵelementEnd();
|
|
313
|
-
ɵɵelementEnd();
|
|
314
|
-
} if (rf & 2) {
|
|
315
|
-
var ctx_r0 = ɵɵnextContext();
|
|
316
|
-
ɵɵadvance(2);
|
|
317
|
-
ɵɵtextInterpolate(ctx_r0.configuration.title);
|
|
318
|
-
} }
|
|
319
|
-
function UCSearchComponent_span_14_Template(rf, ctx) { if (rf & 1) {
|
|
320
|
-
ɵɵelement(0, "span");
|
|
321
|
-
} }
|
|
322
|
-
function UCSearchComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
323
|
-
ɵɵtext(0);
|
|
324
|
-
} if (rf & 2) {
|
|
325
|
-
var ctx_r5 = ɵɵnextContext();
|
|
326
|
-
ɵɵtextInterpolate1(" ", ctx_r5.configuration == null ? null : ctx_r5.configuration.sectionTitle, " ");
|
|
327
|
-
} }
|
|
328
|
-
function UCSearchComponent_ng_template_17_Template(rf, ctx) { if (rf & 1) {
|
|
329
|
-
ɵɵtext(0, " Paging ");
|
|
330
|
-
} }
|
|
331
|
-
var _c2 = function (a0) { return { "is-invalid": a0 }; };
|
|
332
|
-
function UCSearchComponent_div_21_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
333
|
-
var _r27 = ɵɵgetCurrentView();
|
|
334
|
-
ɵɵelementStart(0, "div");
|
|
335
|
-
ɵɵelementStart(1, "input", 35);
|
|
336
|
-
ɵɵlistener("keyup.enter", function UCSearchComponent_div_21_div_6_Template_input_keyup_enter_1_listener() { ɵɵrestoreView(_r27); var ctx_r26 = ɵɵnextContext(2); return ctx_r26.searchClick(); });
|
|
337
|
-
ɵɵelementEnd();
|
|
338
|
-
ɵɵelementEnd();
|
|
339
|
-
} if (rf & 2) {
|
|
340
|
-
var question_r13 = ɵɵnextContext().$implicit;
|
|
341
|
-
ɵɵnextContext();
|
|
342
|
-
var _r2 = ɵɵreference(9);
|
|
343
|
-
ɵɵadvance(1);
|
|
344
|
-
ɵɵpropertyInterpolate("id", question_r13.id);
|
|
345
|
-
ɵɵpropertyInterpolate("name", question_r13.name);
|
|
346
|
-
ɵɵpropertyInterpolate("value", question_r13.value);
|
|
347
|
-
ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("ngClass", ɵɵ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)));
|
|
348
|
-
ɵɵ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);
|
|
349
|
-
} }
|
|
350
|
-
function UCSearchComponent_div_21_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
351
|
-
ɵɵelementStart(0, "div");
|
|
352
|
-
ɵɵelement(1, "textarea", 36);
|
|
353
|
-
ɵɵelementEnd();
|
|
354
|
-
} if (rf & 2) {
|
|
355
|
-
var question_r13 = ɵɵnextContext().$implicit;
|
|
356
|
-
ɵɵnextContext();
|
|
357
|
-
var _r2 = ɵɵreference(9);
|
|
358
|
-
ɵɵadvance(1);
|
|
359
|
-
ɵɵpropertyInterpolate("id", question_r13.id);
|
|
360
|
-
ɵɵpropertyInterpolate("name", question_r13.name);
|
|
361
|
-
ɵɵpropertyInterpolate("value", question_r13.value);
|
|
362
|
-
ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("ngClass", ɵɵ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)));
|
|
363
|
-
ɵɵattribute("data-required", question_r13.isRequired)("data-type", question_r13.datatype)("data-name", question_r13.name)("label", question_r13.label);
|
|
364
|
-
} }
|
|
365
|
-
var _c3 = function (a0) { return [a0]; };
|
|
366
|
-
function UCSearchComponent_div_21_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
367
|
-
var _r31 = ɵɵgetCurrentView();
|
|
368
|
-
ɵɵelementStart(0, "div");
|
|
369
|
-
ɵɵelementStart(1, "input", 37);
|
|
370
|
-
ɵɵlistener("focus", function UCSearchComponent_div_21_div_8_Template_input_focus_1_listener($event) { ɵɵrestoreView(_r31); var ctx_r30 = ɵɵnextContext(2); return ctx_r30.transformToDecimal($event); })("blur", function UCSearchComponent_div_21_div_8_Template_input_blur_1_listener($event) { ɵɵrestoreView(_r31); var ctx_r32 = ɵɵnextContext(2); return ctx_r32.transformAmount($event); })("keyup.enter", function UCSearchComponent_div_21_div_8_Template_input_keyup_enter_1_listener() { ɵɵrestoreView(_r31); var ctx_r33 = ɵɵnextContext(2); return ctx_r33.searchClick(); });
|
|
371
|
-
ɵɵelementEnd();
|
|
372
|
-
ɵɵelementEnd();
|
|
373
|
-
} if (rf & 2) {
|
|
374
|
-
var ctx_r34 = ɵɵnextContext();
|
|
375
|
-
var question_r13 = ctx_r34.$implicit;
|
|
376
|
-
var i_r14 = ctx_r34.index;
|
|
377
|
-
ɵɵnextContext();
|
|
378
|
-
var _r2 = ɵɵreference(9);
|
|
379
|
-
ɵɵadvance(1);
|
|
380
|
-
ɵɵpropertyInterpolate("id", question_r13.id);
|
|
381
|
-
ɵɵpropertyInterpolate("name", question_r13.name + ɵɵpureFunction1(13, _c3, i_r14));
|
|
382
|
-
ɵɵpropertyInterpolate("value", question_r13.value);
|
|
383
|
-
ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("ngClass", ɵɵpureFunction1(27, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name + ɵɵpureFunction1(15, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + ɵɵpureFunction1(17, _c3, i_r14)].touched) || (_r2.form.controls[question_r13.name + ɵɵpureFunction1(19, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + ɵɵpureFunction1(21, _c3, i_r14)].dirty)) && (_r2.form.controls[question_r13.name + ɵɵpureFunction1(23, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + ɵɵpureFunction1(25, _c3, i_r14)].invalid)));
|
|
384
|
-
ɵɵ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);
|
|
385
|
-
} }
|
|
386
|
-
var _c4 = function () { return { standalone: true }; };
|
|
387
|
-
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 }; };
|
|
388
|
-
function UCSearchComponent_div_21_div_9_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
389
|
-
var _r38 = ɵɵgetCurrentView();
|
|
390
|
-
ɵɵelementStart(0, "div");
|
|
391
|
-
ɵɵelementStart(1, "input", 38);
|
|
392
|
-
ɵɵlistener("keyup.enter", function UCSearchComponent_div_21_div_9_div_1_Template_input_keyup_enter_1_listener() { ɵɵrestoreView(_r38); var ctx_r37 = ɵɵnextContext(3); return ctx_r37.searchClick(); })("ngModelChange", function UCSearchComponent_div_21_div_9_div_1_Template_input_ngModelChange_1_listener($event) { ɵɵrestoreView(_r38); var question_r13 = ɵɵnextContext(2).$implicit; return question_r13.value = $event; });
|
|
393
|
-
ɵɵelementEnd();
|
|
394
|
-
ɵɵelementEnd();
|
|
395
|
-
} if (rf & 2) {
|
|
396
|
-
var question_r13 = ɵɵnextContext(2).$implicit;
|
|
397
|
-
ɵɵnextContext();
|
|
398
|
-
var _r2 = ɵɵreference(9);
|
|
399
|
-
ɵɵadvance(1);
|
|
400
|
-
ɵɵpropertyInterpolate("id", question_r13.id);
|
|
401
|
-
ɵɵpropertyInterpolate("name", question_r13.name);
|
|
402
|
-
ɵɵproperty("required", question_r13.isRequired)("ngModel", question_r13.value)("ngModel", question_r13.value)("ngModelOptions", ɵɵpureFunction0(13, _c4))("options", ɵɵ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", ɵɵ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)));
|
|
403
|
-
ɵɵ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);
|
|
404
|
-
} }
|
|
405
|
-
var _c6 = function () { return { thousands: ",", decimal: ".", align: "right", allowNegative: false, allowZero: true, precision: 2, nullable: false }; };
|
|
406
|
-
function UCSearchComponent_div_21_div_9_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
407
|
-
var _r43 = ɵɵgetCurrentView();
|
|
408
|
-
ɵɵelementStart(0, "div");
|
|
409
|
-
ɵɵelementStart(1, "input", 39);
|
|
410
|
-
ɵɵlistener("keyup.enter", function UCSearchComponent_div_21_div_9_div_2_Template_input_keyup_enter_1_listener() { ɵɵrestoreView(_r43); var ctx_r42 = ɵɵnextContext(3); return ctx_r42.searchClick(); })("ngModelChange", function UCSearchComponent_div_21_div_9_div_2_Template_input_ngModelChange_1_listener($event) { ɵɵrestoreView(_r43); var question_r13 = ɵɵnextContext(2).$implicit; return question_r13.value = $event; });
|
|
411
|
-
ɵɵelementEnd();
|
|
412
|
-
ɵɵelementEnd();
|
|
413
|
-
} if (rf & 2) {
|
|
414
|
-
var question_r13 = ɵɵnextContext(2).$implicit;
|
|
415
|
-
ɵɵnextContext();
|
|
416
|
-
var _r2 = ɵɵreference(9);
|
|
417
|
-
ɵɵadvance(1);
|
|
418
|
-
ɵɵpropertyInterpolate("id", question_r13.id);
|
|
419
|
-
ɵɵpropertyInterpolate("name", question_r13.name);
|
|
420
|
-
ɵɵproperty("required", question_r13.isRequired)("ngModel", question_r13.value)("ngModel", question_r13.value)("ngModelOptions", ɵɵpureFunction0(13, _c4))("options", ɵɵpureFunction0(14, _c6))("ngClass", ɵɵ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)));
|
|
421
|
-
ɵɵ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);
|
|
422
|
-
} }
|
|
423
|
-
function UCSearchComponent_div_21_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
424
|
-
ɵɵelementStart(0, "div");
|
|
425
|
-
ɵɵtemplate(1, UCSearchComponent_div_21_div_9_div_1_Template, 2, 24, "div", 33);
|
|
426
|
-
ɵɵtemplate(2, UCSearchComponent_div_21_div_9_div_2_Template, 2, 17, "div", 33);
|
|
427
|
-
ɵɵelementEnd();
|
|
428
|
-
} if (rf & 2) {
|
|
429
|
-
var question_r13 = ɵɵnextContext().$implicit;
|
|
430
|
-
ɵɵadvance(1);
|
|
431
|
-
ɵɵproperty("ngIf", (question_r13 == null ? null : question_r13.isCustom) != undefined && (question_r13 == null ? null : question_r13.isCustom));
|
|
432
|
-
ɵɵadvance(1);
|
|
433
|
-
ɵɵproperty("ngIf", (question_r13 == null ? null : question_r13.isCustom) == undefined || !(question_r13 == null ? null : question_r13.isCustom));
|
|
434
|
-
} }
|
|
435
|
-
function UCSearchComponent_div_21_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
436
|
-
var _r49 = ɵɵgetCurrentView();
|
|
437
|
-
ɵɵelementStart(0, "div");
|
|
438
|
-
ɵɵelementStart(1, "input", 40);
|
|
439
|
-
ɵɵlistener("keyup.enter", function UCSearchComponent_div_21_div_10_Template_input_keyup_enter_1_listener() { ɵɵrestoreView(_r49); var ctx_r48 = ɵɵnextContext(2); return ctx_r48.searchClick(); })("focusout", function UCSearchComponent_div_21_div_10_Template_input_focusout_1_listener() { ɵɵrestoreView(_r49); var question_r13 = ɵɵnextContext().$implicit; var ctx_r50 = ɵɵnextContext(); return question_r13.restriction != undefined && ctx_r50.checkInputDate(question_r13); });
|
|
440
|
-
ɵɵpipe(2, "date");
|
|
441
|
-
ɵɵpipe(3, "date");
|
|
442
|
-
ɵɵelementEnd();
|
|
443
|
-
ɵɵelementEnd();
|
|
444
|
-
} if (rf & 2) {
|
|
445
|
-
var ctx_r52 = ɵɵnextContext();
|
|
446
|
-
var question_r13 = ctx_r52.$implicit;
|
|
447
|
-
var i_r14 = ctx_r52.index;
|
|
448
|
-
ɵɵnextContext();
|
|
449
|
-
var _r2 = ɵɵreference(9);
|
|
450
|
-
ɵɵadvance(1);
|
|
451
|
-
ɵɵpropertyInterpolate("type", question_r13.isTime ? "datetime-local" : "date");
|
|
452
|
-
ɵɵpropertyInterpolate("id", question_r13.id);
|
|
453
|
-
ɵɵpropertyInterpolate("name", question_r13.name + ɵɵpureFunction1(23, _c3, i_r14));
|
|
454
|
-
ɵɵpropertyInterpolate("value", question_r13.value);
|
|
455
|
-
ɵɵpropertyInterpolate("min", ɵɵpipeBind2(2, 17, question_r13.minDate, "yyyy-MM-dd"));
|
|
456
|
-
ɵɵpropertyInterpolate("max", ɵɵpipeBind2(3, 20, question_r13.maxDate, "yyyy-MM-dd"));
|
|
457
|
-
ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("readonly", question_r13.readonly)("ngClass", ɵɵpureFunction1(37, _c2, (_r2.submitted || (_r2.form.controls[question_r13.name + ɵɵpureFunction1(25, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + ɵɵpureFunction1(27, _c3, i_r14)].touched) || (_r2.form.controls[question_r13.name + ɵɵpureFunction1(29, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + ɵɵpureFunction1(31, _c3, i_r14)].dirty)) && (_r2.form.controls[question_r13.name + ɵɵpureFunction1(33, _c3, i_r14)] == null ? null : _r2.form.controls[question_r13.name + ɵɵpureFunction1(35, _c3, i_r14)].invalid)));
|
|
458
|
-
ɵɵ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);
|
|
459
|
-
} }
|
|
460
|
-
function UCSearchComponent_div_21_div_11_option_2_Template(rf, ctx) { if (rf & 1) {
|
|
461
|
-
ɵɵelementStart(0, "option", 45);
|
|
462
|
-
ɵɵtext(1, "Select One");
|
|
463
|
-
ɵɵelementEnd();
|
|
464
|
-
} }
|
|
465
|
-
function UCSearchComponent_div_21_div_11_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
466
|
-
ɵɵelementStart(0, "option", 46);
|
|
467
|
-
ɵɵtext(1, "All");
|
|
468
|
-
ɵɵelementEnd();
|
|
469
|
-
} }
|
|
470
|
-
function UCSearchComponent_div_21_div_11_option_4_Template(rf, ctx) { if (rf & 1) {
|
|
471
|
-
ɵɵelementStart(0, "option", 47);
|
|
472
|
-
ɵɵtext(1);
|
|
473
|
-
ɵɵelementEnd();
|
|
474
|
-
} if (rf & 2) {
|
|
475
|
-
var item_r57 = ctx.$implicit;
|
|
476
|
-
ɵɵpropertyInterpolate("value", item_r57.Key);
|
|
477
|
-
ɵɵadvance(1);
|
|
478
|
-
ɵɵtextInterpolate1(" ", item_r57.Value, " ");
|
|
479
|
-
} }
|
|
480
|
-
function UCSearchComponent_div_21_div_11_label_5_Template(rf, ctx) { if (rf & 1) {
|
|
481
|
-
ɵɵelementStart(0, "label");
|
|
482
|
-
ɵɵtext(1);
|
|
483
|
-
ɵɵelementEnd();
|
|
484
|
-
} if (rf & 2) {
|
|
485
|
-
var question_r13 = ɵɵnextContext(2).$implicit;
|
|
486
|
-
ɵɵadvance(1);
|
|
487
|
-
ɵɵtextInterpolate(question_r13.itemsUrl[0].Value);
|
|
488
|
-
} }
|
|
489
|
-
function UCSearchComponent_div_21_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
490
|
-
var _r61 = ɵɵgetCurrentView();
|
|
491
|
-
ɵɵelementStart(0, "div");
|
|
492
|
-
ɵɵelementStart(1, "select", 41);
|
|
493
|
-
ɵɵlistener("change", function UCSearchComponent_div_21_div_11_Template_select_change_1_listener() { ɵɵrestoreView(_r61); var ctx_r60 = ɵɵnextContext(); var question_r13 = ctx_r60.$implicit; var i_r14 = ctx_r60.index; var ctx_r59 = ɵɵnextContext(); return question_r13.type == "taskDefinitionKey" || question_r13.type == "processKey" ? ctx_r59.SetProcessKey(i_r14, question_r13.wfKeyFilter) : ctx_r59.SetRoleOfficeCodes(i_r14); });
|
|
494
|
-
ɵɵtemplate(2, UCSearchComponent_div_21_div_11_option_2_Template, 2, 0, "option", 42);
|
|
495
|
-
ɵɵtemplate(3, UCSearchComponent_div_21_div_11_option_3_Template, 2, 0, "option", 43);
|
|
496
|
-
ɵɵtemplate(4, UCSearchComponent_div_21_div_11_option_4_Template, 2, 2, "option", 44);
|
|
497
|
-
ɵɵelementEnd();
|
|
498
|
-
ɵɵtemplate(5, UCSearchComponent_div_21_div_11_label_5_Template, 2, 1, "label", 33);
|
|
499
|
-
ɵɵelementEnd();
|
|
500
|
-
} if (rf & 2) {
|
|
501
|
-
var question_r13 = ɵɵnextContext().$implicit;
|
|
502
|
-
ɵɵnextContext();
|
|
503
|
-
var _r2 = ɵɵreference(9);
|
|
504
|
-
ɵɵadvance(1);
|
|
505
|
-
ɵɵpropertyInterpolate("name", question_r13.name);
|
|
506
|
-
ɵɵproperty("required", question_r13.isRequired)("hidden", (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) == 1)("ngClass", ɵɵ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)));
|
|
507
|
-
ɵɵattribute("data-required", question_r13.isRequired)("query-in", question_r13.isQueryIn)("data-type", question_r13.datatype)("label", question_r13.label);
|
|
508
|
-
ɵɵadvance(1);
|
|
509
|
-
ɵɵproperty("ngIf", question_r13.ddlType == "one" && (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) != 1);
|
|
510
|
-
ɵɵadvance(1);
|
|
511
|
-
ɵɵ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);
|
|
512
|
-
ɵɵadvance(1);
|
|
513
|
-
ɵɵproperty("ngForOf", question_r13 == null ? null : question_r13.itemsUrl);
|
|
514
|
-
ɵɵadvance(1);
|
|
515
|
-
ɵɵproperty("ngIf", (question_r13 == null ? null : question_r13.itemsUrl == null ? null : question_r13.itemsUrl.length) == 1);
|
|
516
|
-
} }
|
|
517
|
-
function UCSearchComponent_div_21_div_12_option_2_Template(rf, ctx) { if (rf & 1) {
|
|
518
|
-
ɵɵelementStart(0, "option", 45);
|
|
519
|
-
ɵɵtext(1, " Select One");
|
|
520
|
-
ɵɵelementEnd();
|
|
521
|
-
} }
|
|
522
|
-
function UCSearchComponent_div_21_div_12_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
523
|
-
ɵɵelementStart(0, "option", 46);
|
|
524
|
-
ɵɵtext(1, "All");
|
|
525
|
-
ɵɵelementEnd();
|
|
526
|
-
} }
|
|
527
|
-
function UCSearchComponent_div_21_div_12_option_4_Template(rf, ctx) { if (rf & 1) {
|
|
528
|
-
ɵɵelementStart(0, "option", 47);
|
|
529
|
-
ɵɵtext(1);
|
|
530
|
-
ɵɵelementEnd();
|
|
531
|
-
} if (rf & 2) {
|
|
532
|
-
var item_r67 = ctx.$implicit;
|
|
533
|
-
var question_r13 = ɵɵnextContext(2).$implicit;
|
|
534
|
-
ɵɵpropertyInterpolate("value", !question_r13.isFromURL ? item_r67.key : item_r67.Key);
|
|
535
|
-
ɵɵadvance(1);
|
|
536
|
-
ɵɵtextInterpolate1(" ", !question_r13.isFromURL ? item_r67.value : item_r67.Value, " ");
|
|
537
|
-
} }
|
|
538
|
-
function UCSearchComponent_div_21_div_12_label_5_Template(rf, ctx) { if (rf & 1) {
|
|
539
|
-
ɵɵelementStart(0, "label");
|
|
540
|
-
ɵɵtext(1);
|
|
541
|
-
ɵɵelementEnd();
|
|
542
|
-
} if (rf & 2) {
|
|
543
|
-
var question_r13 = ɵɵnextContext(2).$implicit;
|
|
544
|
-
ɵɵadvance(1);
|
|
545
|
-
ɵɵtextInterpolate(!question_r13.isFromURL ? question_r13.items[0].value : question_r13.itemsUrl[0].Value);
|
|
546
|
-
} }
|
|
547
|
-
function UCSearchComponent_div_21_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
548
|
-
var _r72 = ɵɵgetCurrentView();
|
|
549
|
-
ɵɵelementStart(0, "div");
|
|
550
|
-
ɵɵelementStart(1, "select", 48);
|
|
551
|
-
ɵɵlistener("ngModelChange", function UCSearchComponent_div_21_div_12_Template_select_ngModelChange_1_listener($event) { ɵɵrestoreView(_r72); var question_r13 = ɵɵnextContext().$implicit; return question_r13.value = $event; })("change", function UCSearchComponent_div_21_div_12_Template_select_change_1_listener($event) { ɵɵrestoreView(_r72); var question_r13 = ɵɵnextContext().$implicit; var ctx_r73 = ɵɵnextContext(); return question_r13.isEvent ? ctx_r73.onChangeEvent($event.target.value, question_r13) : ""; });
|
|
552
|
-
ɵɵtemplate(2, UCSearchComponent_div_21_div_12_option_2_Template, 2, 0, "option", 42);
|
|
553
|
-
ɵɵtemplate(3, UCSearchComponent_div_21_div_12_option_3_Template, 2, 0, "option", 43);
|
|
554
|
-
ɵɵtemplate(4, UCSearchComponent_div_21_div_12_option_4_Template, 2, 2, "option", 44);
|
|
555
|
-
ɵɵelementEnd();
|
|
556
|
-
ɵɵtemplate(5, UCSearchComponent_div_21_div_12_label_5_Template, 2, 1, "label", 33);
|
|
557
|
-
ɵɵelementEnd();
|
|
558
|
-
} if (rf & 2) {
|
|
559
|
-
var question_r13 = ɵɵnextContext().$implicit;
|
|
560
|
-
ɵɵnextContext();
|
|
561
|
-
var _r2 = ɵɵreference(9);
|
|
562
|
-
ɵɵadvance(1);
|
|
563
|
-
ɵɵpropertyInterpolate("name", question_r13.name);
|
|
564
|
-
ɵɵ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", ɵɵ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)));
|
|
565
|
-
ɵɵ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);
|
|
566
|
-
ɵɵadvance(1);
|
|
567
|
-
ɵɵ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));
|
|
568
|
-
ɵɵadvance(1);
|
|
569
|
-
ɵɵ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));
|
|
570
|
-
ɵɵadvance(1);
|
|
571
|
-
ɵɵproperty("ngForOf", !question_r13.isFromURL ? question_r13 == null ? null : question_r13.items : question_r13 == null ? null : question_r13.itemsUrl);
|
|
572
|
-
ɵɵadvance(1);
|
|
573
|
-
ɵɵ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);
|
|
574
|
-
} }
|
|
575
|
-
function UCSearchComponent_div_21_div_13_label_3_Template(rf, ctx) { if (rf & 1) {
|
|
576
|
-
ɵɵelementStart(0, "label");
|
|
577
|
-
ɵɵtext(1);
|
|
578
|
-
ɵɵelementEnd();
|
|
579
|
-
} if (rf & 2) {
|
|
580
|
-
var question_r13 = ɵɵnextContext(2).$implicit;
|
|
581
|
-
ɵɵadvance(1);
|
|
582
|
-
ɵɵtextInterpolate(question_r13.descr);
|
|
583
|
-
} }
|
|
584
|
-
function UCSearchComponent_div_21_div_13_option_8_Template(rf, ctx) { if (rf & 1) {
|
|
585
|
-
var _r83 = ɵɵgetCurrentView();
|
|
586
|
-
ɵɵelementStart(0, "option", 58);
|
|
587
|
-
ɵɵlistener("click", function UCSearchComponent_div_21_div_13_option_8_Template_option_click_0_listener() { ɵɵrestoreView(_r83); var question_r13 = ɵɵnextContext(2).$implicit; var ctx_r81 = ɵɵnextContext(); return ctx_r81.selectedOption({ Key: "one", Value: "Select One" }, question_r13); });
|
|
588
|
-
ɵɵtext(1, " Select One");
|
|
589
|
-
ɵɵelementEnd();
|
|
590
|
-
} }
|
|
591
|
-
function UCSearchComponent_div_21_div_13_option_9_Template(rf, ctx) { if (rf & 1) {
|
|
592
|
-
var _r86 = ɵɵgetCurrentView();
|
|
593
|
-
ɵɵelementStart(0, "option", 59);
|
|
594
|
-
ɵɵlistener("click", function UCSearchComponent_div_21_div_13_option_9_Template_option_click_0_listener() { ɵɵrestoreView(_r86); var question_r13 = ɵɵnextContext(2).$implicit; var ctx_r84 = ɵɵnextContext(); return ctx_r84.selectedOption({ Key: "all", Value: "All" }, question_r13); });
|
|
595
|
-
ɵɵtext(1, "All");
|
|
596
|
-
ɵɵelementEnd();
|
|
597
|
-
} }
|
|
598
|
-
function UCSearchComponent_div_21_div_13_option_10_Template(rf, ctx) { if (rf & 1) {
|
|
599
|
-
var _r90 = ɵɵgetCurrentView();
|
|
600
|
-
ɵɵelementStart(0, "option", 60);
|
|
601
|
-
ɵɵlistener("click", function UCSearchComponent_div_21_div_13_option_10_Template_option_click_0_listener() { ɵɵrestoreView(_r90); var item_r87 = ctx.$implicit; var question_r13 = ɵɵnextContext(2).$implicit; var ctx_r88 = ɵɵnextContext(); return ctx_r88.selectedOption(item_r87, question_r13); });
|
|
602
|
-
ɵɵtext(1);
|
|
603
|
-
ɵɵelementEnd();
|
|
604
|
-
} if (rf & 2) {
|
|
605
|
-
var item_r87 = ctx.$implicit;
|
|
606
|
-
ɵɵpropertyInterpolate("value", item_r87.Key);
|
|
607
|
-
ɵɵadvance(1);
|
|
608
|
-
ɵɵtextInterpolate1(" ", item_r87.Value, " ");
|
|
609
|
-
} }
|
|
610
|
-
function UCSearchComponent_div_21_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
611
|
-
var _r93 = ɵɵgetCurrentView();
|
|
612
|
-
ɵɵelementStart(0, "div");
|
|
613
|
-
ɵɵelementStart(1, "div", 49);
|
|
614
|
-
ɵɵelementStart(2, "input", 50);
|
|
615
|
-
ɵɵlistener("ngModelChange", function UCSearchComponent_div_21_div_13_Template_input_ngModelChange_2_listener($event) { ɵɵrestoreView(_r93); var question_r13 = ɵɵnextContext().$implicit; return question_r13.descr = $event; })("click", function UCSearchComponent_div_21_div_13_Template_input_click_2_listener() { ɵɵrestoreView(_r93); var question_r13 = ɵɵnextContext().$implicit; question_r13.isListHide = !question_r13.isListHide; return question_r13.searchText = ""; });
|
|
616
|
-
ɵɵelementEnd();
|
|
617
|
-
ɵɵelementEnd();
|
|
618
|
-
ɵɵtemplate(3, UCSearchComponent_div_21_div_13_label_3_Template, 2, 1, "label", 33);
|
|
619
|
-
ɵɵelementStart(4, "div", 51);
|
|
620
|
-
ɵɵelementStart(5, "input", 52);
|
|
621
|
-
ɵɵlistener("ngModelChange", function UCSearchComponent_div_21_div_13_Template_input_ngModelChange_5_listener($event) { ɵɵrestoreView(_r93); var question_r13 = ɵɵnextContext().$implicit; return question_r13.searchText = $event; });
|
|
622
|
-
ɵɵelementEnd();
|
|
623
|
-
ɵɵelementStart(6, "div", 53);
|
|
624
|
-
ɵɵelementStart(7, "select", 54);
|
|
625
|
-
ɵɵlistener("ngModelChange", function UCSearchComponent_div_21_div_13_Template_select_ngModelChange_7_listener($event) { ɵɵrestoreView(_r93); var question_r13 = ɵɵnextContext().$implicit; return question_r13.value = $event; })("change", function UCSearchComponent_div_21_div_13_Template_select_change_7_listener($event) { ɵɵrestoreView(_r93); var question_r13 = ɵɵnextContext().$implicit; var ctx_r100 = ɵɵnextContext(); return question_r13.isEvent ? ctx_r100.onChangeEvent($event.target.value, question_r13) : ""; });
|
|
626
|
-
ɵɵtemplate(8, UCSearchComponent_div_21_div_13_option_8_Template, 2, 0, "option", 55);
|
|
627
|
-
ɵɵtemplate(9, UCSearchComponent_div_21_div_13_option_9_Template, 2, 0, "option", 56);
|
|
628
|
-
ɵɵtemplate(10, UCSearchComponent_div_21_div_13_option_10_Template, 2, 2, "option", 57);
|
|
629
|
-
ɵɵpipe(11, "textSearch");
|
|
630
|
-
ɵɵpipe(12, "textSearch");
|
|
631
|
-
ɵɵelementEnd();
|
|
632
|
-
ɵɵelementEnd();
|
|
633
|
-
ɵɵelementEnd();
|
|
634
|
-
ɵɵelementEnd();
|
|
635
|
-
} if (rf & 2) {
|
|
636
|
-
var question_r13 = ɵɵnextContext().$implicit;
|
|
637
|
-
ɵɵnextContext();
|
|
638
|
-
var _r2 = ɵɵreference(9);
|
|
639
|
-
ɵɵadvance(1);
|
|
640
|
-
ɵɵ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);
|
|
641
|
-
ɵɵadvance(1);
|
|
642
|
-
ɵɵpropertyInterpolate("name", "ddsValue" + question_r13.name);
|
|
643
|
-
ɵɵproperty("ngModel", question_r13.descr);
|
|
644
|
-
ɵɵadvance(1);
|
|
645
|
-
ɵɵ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);
|
|
646
|
-
ɵɵadvance(1);
|
|
647
|
-
ɵɵproperty("hidden", question_r13.isListHide);
|
|
648
|
-
ɵɵadvance(1);
|
|
649
|
-
ɵɵpropertyInterpolate("name", "searchText" + question_r13.name);
|
|
650
|
-
ɵɵproperty("ngModel", question_r13.searchText)("placeholder", question_r13.placeholder);
|
|
651
|
-
ɵɵadvance(2);
|
|
652
|
-
ɵɵpropertyInterpolate("name", question_r13.name);
|
|
653
|
-
ɵɵpropertyInterpolate("size", (question_r13 == null ? null : question_r13.size) == undefined ? question_r13 == null ? null : question_r13.size : 10);
|
|
654
|
-
ɵɵproperty("ngModel", question_r13.value)("required", question_r13.isRequired)("ngClass", ɵɵ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)));
|
|
655
|
-
ɵɵ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);
|
|
656
|
-
ɵɵadvance(1);
|
|
657
|
-
ɵɵ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));
|
|
658
|
-
ɵɵadvance(1);
|
|
659
|
-
ɵɵ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));
|
|
660
|
-
ɵɵadvance(1);
|
|
661
|
-
ɵɵproperty("ngForOf", !question_r13.isFromURL ? ɵɵpipeBind2(11, 22, question_r13 == null ? null : question_r13.items, question_r13.searchText) : ɵɵpipeBind2(12, 25, question_r13 == null ? null : question_r13.itemsUrl, question_r13.searchText));
|
|
662
|
-
} }
|
|
663
|
-
function UCSearchComponent_div_21_div_14_option_2_Template(rf, ctx) { if (rf & 1) {
|
|
664
|
-
ɵɵelementStart(0, "option", 45);
|
|
665
|
-
ɵɵtext(1, "Select One");
|
|
666
|
-
ɵɵelementEnd();
|
|
667
|
-
} }
|
|
668
|
-
function UCSearchComponent_div_21_div_14_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
669
|
-
ɵɵelementStart(0, "option", 46);
|
|
670
|
-
ɵɵtext(1, "All");
|
|
671
|
-
ɵɵelementEnd();
|
|
672
|
-
} }
|
|
673
|
-
function UCSearchComponent_div_21_div_14_option_4_Template(rf, ctx) { if (rf & 1) {
|
|
674
|
-
ɵɵelementStart(0, "option", 47);
|
|
675
|
-
ɵɵtext(1);
|
|
676
|
-
ɵɵelementEnd();
|
|
677
|
-
} if (rf & 2) {
|
|
678
|
-
var item_r106 = ctx.$implicit;
|
|
679
|
-
ɵɵpropertyInterpolate("value", item_r106.Key);
|
|
680
|
-
ɵɵadvance(1);
|
|
681
|
-
ɵɵtextInterpolate1(" ", item_r106.Value, " ");
|
|
682
|
-
} }
|
|
683
|
-
function UCSearchComponent_div_21_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
684
|
-
ɵɵelementStart(0, "div");
|
|
685
|
-
ɵɵelementStart(1, "select", 61);
|
|
686
|
-
ɵɵtemplate(2, UCSearchComponent_div_21_div_14_option_2_Template, 2, 0, "option", 42);
|
|
687
|
-
ɵɵtemplate(3, UCSearchComponent_div_21_div_14_option_3_Template, 2, 0, "option", 43);
|
|
688
|
-
ɵɵtemplate(4, UCSearchComponent_div_21_div_14_option_4_Template, 2, 2, "option", 44);
|
|
689
|
-
ɵɵelementEnd();
|
|
690
|
-
ɵɵelementEnd();
|
|
691
|
-
} if (rf & 2) {
|
|
692
|
-
var ctx_r107 = ɵɵnextContext();
|
|
693
|
-
var i_r14 = ctx_r107.index;
|
|
694
|
-
var question_r13 = ctx_r107.$implicit;
|
|
695
|
-
var ctx_r23 = ɵɵnextContext();
|
|
696
|
-
var _r2 = ɵɵreference(9);
|
|
697
|
-
ɵɵadvance(1);
|
|
698
|
-
ɵɵpropertyInterpolate("name", "claim" + ɵɵpureFunction1(9, _c3, i_r14));
|
|
699
|
-
ɵɵproperty("hidden", (ctx_r23.ClaimList == null ? null : ctx_r23.ClaimList.length) == 1)("ngClass", ɵɵpureFunction1(23, _c2, (_r2.submitted || (_r2.form.controls["claim" + ɵɵpureFunction1(11, _c3, i_r14)] == null ? null : _r2.form.controls["claim" + ɵɵpureFunction1(13, _c3, i_r14)].touched) || (_r2.form.controls["claim" + ɵɵpureFunction1(15, _c3, i_r14)] == null ? null : _r2.form.controls["claim" + ɵɵpureFunction1(17, _c3, i_r14)].dirty)) && (_r2.form.controls["claim" + ɵɵpureFunction1(19, _c3, i_r14)] == null ? null : _r2.form.controls["claim" + ɵɵpureFunction1(21, _c3, i_r14)].invalid)));
|
|
700
|
-
ɵɵattribute("data-type", "text")("data-crit-datatable", question_r13.isCriteriaDataTable)("data-name", "Assignee");
|
|
701
|
-
ɵɵadvance(1);
|
|
702
|
-
ɵɵproperty("ngIf", question_r13.ddlType == "one" && (ctx_r23.ClaimList == null ? null : ctx_r23.ClaimList.length) != 1);
|
|
703
|
-
ɵɵadvance(1);
|
|
704
|
-
ɵɵproperty("ngIf", ((question_r13 == null ? null : question_r13.ddlType) == undefined || question_r13.ddlType == "all") && (ctx_r23.ClaimList == null ? null : ctx_r23.ClaimList.length) != 1);
|
|
705
|
-
ɵɵadvance(1);
|
|
706
|
-
ɵɵproperty("ngForOf", ctx_r23.ClaimList);
|
|
707
|
-
} }
|
|
708
|
-
function UCSearchComponent_div_21_lib_uc_show_errors_15_Template(rf, ctx) { if (rf & 1) {
|
|
709
|
-
ɵɵelement(0, "lib-uc-show-errors", 62);
|
|
710
|
-
} if (rf & 2) {
|
|
711
|
-
var question_r13 = ɵɵnextContext().$implicit;
|
|
712
|
-
ɵɵnextContext();
|
|
713
|
-
var _r2 = ɵɵreference(9);
|
|
714
|
-
ɵɵproperty("control", _r2.form.controls[question_r13.name])("submit", _r2.submitted);
|
|
715
|
-
} }
|
|
716
|
-
function UCSearchComponent_div_21_lib_uc_show_errors_16_Template(rf, ctx) { if (rf & 1) {
|
|
717
|
-
ɵɵelement(0, "lib-uc-show-errors", 62);
|
|
718
|
-
} if (rf & 2) {
|
|
719
|
-
var ctx_r109 = ɵɵnextContext();
|
|
720
|
-
var question_r13 = ctx_r109.$implicit;
|
|
721
|
-
var i_r14 = ctx_r109.index;
|
|
722
|
-
ɵɵnextContext();
|
|
723
|
-
var _r2 = ɵɵreference(9);
|
|
724
|
-
ɵɵproperty("control", _r2.form.controls[question_r13.name + ɵɵpureFunction1(2, _c3, i_r14)])("submit", _r2.submitted);
|
|
725
|
-
} }
|
|
726
|
-
var _c7 = function (a0) { return { "adins-required-label": a0 }; };
|
|
727
|
-
function UCSearchComponent_div_21_Template(rf, ctx) { if (rf & 1) {
|
|
728
|
-
ɵɵelementStart(0, "div", 30);
|
|
729
|
-
ɵɵelementStart(1, "div", 2);
|
|
730
|
-
ɵɵelementStart(2, "div", 17);
|
|
731
|
-
ɵɵelementStart(3, "label", 31);
|
|
732
|
-
ɵɵtext(4);
|
|
733
|
-
ɵɵelementEnd();
|
|
734
|
-
ɵɵelementStart(5, "div", 32);
|
|
735
|
-
ɵɵtemplate(6, UCSearchComponent_div_21_div_6_Template, 2, 14, "div", 33);
|
|
736
|
-
ɵɵtemplate(7, UCSearchComponent_div_21_div_7_Template, 2, 12, "div", 33);
|
|
737
|
-
ɵɵtemplate(8, UCSearchComponent_div_21_div_8_Template, 2, 29, "div", 33);
|
|
738
|
-
ɵɵtemplate(9, UCSearchComponent_div_21_div_9_Template, 3, 2, "div", 33);
|
|
739
|
-
ɵɵtemplate(10, UCSearchComponent_div_21_div_10_Template, 4, 39, "div", 33);
|
|
740
|
-
ɵɵtemplate(11, UCSearchComponent_div_21_div_11_Template, 6, 14, "div", 33);
|
|
741
|
-
ɵɵtemplate(12, UCSearchComponent_div_21_div_12_Template, 6, 17, "div", 33);
|
|
742
|
-
ɵɵtemplate(13, UCSearchComponent_div_21_div_13_Template, 13, 30, "div", 33);
|
|
743
|
-
ɵɵtemplate(14, UCSearchComponent_div_21_div_14_Template, 5, 25, "div", 33);
|
|
744
|
-
ɵɵtemplate(15, UCSearchComponent_div_21_lib_uc_show_errors_15_Template, 1, 2, "lib-uc-show-errors", 34);
|
|
745
|
-
ɵɵtemplate(16, UCSearchComponent_div_21_lib_uc_show_errors_16_Template, 1, 4, "lib-uc-show-errors", 34);
|
|
746
|
-
ɵɵelementEnd();
|
|
747
|
-
ɵɵelementEnd();
|
|
748
|
-
ɵɵelementEnd();
|
|
749
|
-
ɵɵelementEnd();
|
|
750
|
-
} if (rf & 2) {
|
|
751
|
-
var question_r13 = ctx.$implicit;
|
|
752
|
-
ɵɵadvance(3);
|
|
753
|
-
ɵɵpropertyInterpolate("for", question_r13.id);
|
|
754
|
-
ɵɵproperty("ngClass", ɵɵpureFunction1(14, _c7, question_r13.isRequired || (question_r13 == null ? null : question_r13.ddlType) != undefined && question_r13.ddlType == "one"));
|
|
755
|
-
ɵɵadvance(1);
|
|
756
|
-
ɵɵtextInterpolate(question_r13.label);
|
|
757
|
-
ɵɵadvance(2);
|
|
758
|
-
ɵɵproperty("ngIf", question_r13.type == "textbox");
|
|
759
|
-
ɵɵadvance(1);
|
|
760
|
-
ɵɵproperty("ngIf", question_r13.type == "textarea");
|
|
761
|
-
ɵɵadvance(1);
|
|
762
|
-
ɵɵproperty("ngIf", question_r13.type == "numeric");
|
|
763
|
-
ɵɵadvance(1);
|
|
764
|
-
ɵɵproperty("ngIf", question_r13.type == "currency");
|
|
765
|
-
ɵɵadvance(1);
|
|
766
|
-
ɵɵproperty("ngIf", question_r13.type == "datepicker");
|
|
767
|
-
ɵɵadvance(1);
|
|
768
|
-
ɵɵproperty("ngIf", question_r13.type == "taskDefinitionKey" || question_r13.type == "processKey" || question_r13.type == "officeRoleCodes");
|
|
769
|
-
ɵɵadvance(1);
|
|
770
|
-
ɵɵproperty("ngIf", question_r13.type == "dropdown");
|
|
771
|
-
ɵɵadvance(1);
|
|
772
|
-
ɵɵproperty("ngIf", question_r13.type == "dropdownSearch");
|
|
773
|
-
ɵɵadvance(1);
|
|
774
|
-
ɵɵproperty("ngIf", question_r13.type == "claim");
|
|
775
|
-
ɵɵadvance(1);
|
|
776
|
-
ɵɵproperty("ngIf", question_r13.type != "datepicker");
|
|
777
|
-
ɵɵadvance(1);
|
|
778
|
-
ɵɵproperty("ngIf", question_r13.type == "datepicker");
|
|
779
|
-
} }
|
|
780
|
-
function UCSearchComponent_div_22_option_7_Template(rf, ctx) { if (rf & 1) {
|
|
781
|
-
ɵɵelementStart(0, "option", 47);
|
|
782
|
-
ɵɵtext(1);
|
|
783
|
-
ɵɵelementEnd();
|
|
784
|
-
} if (rf & 2) {
|
|
785
|
-
var item_r111 = ctx.$implicit;
|
|
786
|
-
ɵɵproperty("value", item_r111.key);
|
|
787
|
-
ɵɵadvance(1);
|
|
788
|
-
ɵɵtextInterpolate(item_r111.value);
|
|
789
|
-
} }
|
|
790
|
-
function UCSearchComponent_div_22_Template(rf, ctx) { if (rf & 1) {
|
|
791
|
-
var _r113 = ɵɵgetCurrentView();
|
|
792
|
-
ɵɵelementStart(0, "div", 30);
|
|
793
|
-
ɵɵelementStart(1, "div", 2);
|
|
794
|
-
ɵɵelementStart(2, "div", 17);
|
|
795
|
-
ɵɵelementStart(3, "label", 63);
|
|
796
|
-
ɵɵtext(4, "Report Type");
|
|
797
|
-
ɵɵelementEnd();
|
|
798
|
-
ɵɵelementStart(5, "div", 32);
|
|
799
|
-
ɵɵelementStart(6, "select", 64);
|
|
800
|
-
ɵɵlistener("ngModelChange", function UCSearchComponent_div_22_Template_select_ngModelChange_6_listener($event) { ɵɵrestoreView(_r113); var ctx_r112 = ɵɵnextContext(); return ctx_r112.ExportType = $event; });
|
|
801
|
-
ɵɵtemplate(7, UCSearchComponent_div_22_option_7_Template, 2, 2, "option", 44);
|
|
802
|
-
ɵɵelementEnd();
|
|
803
|
-
ɵɵelementEnd();
|
|
804
|
-
ɵɵelementEnd();
|
|
805
|
-
ɵɵelementEnd();
|
|
806
|
-
ɵɵelementEnd();
|
|
807
|
-
} if (rf & 2) {
|
|
808
|
-
var ctx_r9 = ɵɵnextContext();
|
|
809
|
-
ɵɵadvance(6);
|
|
810
|
-
ɵɵproperty("ngModel", ctx_r9.ExportType);
|
|
811
|
-
ɵɵadvance(1);
|
|
812
|
-
ɵɵproperty("ngForOf", ctx_r9.ExportTypeList);
|
|
813
|
-
} }
|
|
814
|
-
function UCSearchComponent_button_25_Template(rf, ctx) { if (rf & 1) {
|
|
815
|
-
var _r115 = ɵɵgetCurrentView();
|
|
816
|
-
ɵɵelementStart(0, "button", 65);
|
|
817
|
-
ɵɵlistener("click", function UCSearchComponent_button_25_Template_button_click_0_listener() { ɵɵrestoreView(_r115); var ctx_r114 = ɵɵnextContext(); return ctx_r114.exportAsXLSX(); });
|
|
818
|
-
ɵɵelement(1, "i", 66);
|
|
819
|
-
ɵɵtext(2, "\u00A0");
|
|
820
|
-
ɵɵelementStart(3, "span", 25);
|
|
821
|
-
ɵɵtext(4, "Export Excel");
|
|
822
|
-
ɵɵelementEnd();
|
|
823
|
-
ɵɵelementEnd();
|
|
824
|
-
} }
|
|
825
|
-
function UCSearchComponent_button_31_Template(rf, ctx) { if (rf & 1) {
|
|
826
|
-
ɵɵelementStart(0, "button", 67, 68);
|
|
827
|
-
ɵɵelement(2, "i", 69);
|
|
828
|
-
ɵɵtext(3, "\u00A0");
|
|
829
|
-
ɵɵelementStart(4, "span", 25);
|
|
830
|
-
ɵɵtext(5, "Search");
|
|
831
|
-
ɵɵelementEnd();
|
|
832
|
-
ɵɵelementEnd();
|
|
833
|
-
} }
|
|
834
|
-
function UCSearchComponent_button_32_Template(rf, ctx) { if (rf & 1) {
|
|
835
|
-
var _r118 = ɵɵgetCurrentView();
|
|
836
|
-
ɵɵelementStart(0, "button", 70);
|
|
837
|
-
ɵɵlistener("click", function UCSearchComponent_button_32_Template_button_click_0_listener() { ɵɵrestoreView(_r118); var ctx_r117 = ɵɵnextContext(); return ctx_r117.GenerateReport(); });
|
|
838
|
-
ɵɵelement(1, "i", 66);
|
|
839
|
-
ɵɵtext(2, "\u00A0");
|
|
840
|
-
ɵɵelementStart(3, "span", 25);
|
|
841
|
-
ɵɵtext(4, "Generate Report");
|
|
842
|
-
ɵɵelementEnd();
|
|
843
|
-
ɵɵelementEnd();
|
|
844
|
-
} }
|
|
845
250
|
var UCSearchComponent = /** @class */ (function () {
|
|
846
251
|
function UCSearchComponent(http, excelService, _renderer2, _document, toastr, cookieService, datePipe, elemRef) {
|
|
847
252
|
this.http = http;
|
|
@@ -2124,8 +1529,7 @@ var UCSearchComponent = /** @class */ (function () {
|
|
|
2124
1529
|
UCSearchComponent.decorators = [
|
|
2125
1530
|
{ type: Component, args: [{
|
|
2126
1531
|
selector: 'lib-UCSearch',
|
|
2127
|
-
templateUrl: './ucsearch.component.html',
|
|
2128
|
-
styleUrls: ['./ucsearch.component.css'],
|
|
1532
|
+
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}}\"\r\n 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}}\"\r\n [readonly]=\"question.readonly\" attr.data-type=\"{{question.datatype}}\"\r\n attr.data-name=\"{{question.name}}\"\r\n attr.data-datepickerpair=\"{{question.datepickerPair}}\"\r\n 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'}}\"\r\n (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\r\n *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}}\"\r\n 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 :\r\n question.itemsUrl[0].Value}}</label>\r\n </div>\r\n <div *ngIf=\"question.type=='dropdownSearch'\">\r\n <div class=\"dds-display-item\"\r\n [hidden]=\"!question.isFromURL ? question?.items?.length == 1 : question?.itemsUrl?.length == 1\">\r\n <input type=\"text\" class=\"form-control search-form-control dds-input\"\r\n name=\"{{'ddsValue'+question.name}}\" [(ngModel)]=\"question.descr\" readonly\r\n (click)=\"question.isListHide = !question.isListHide; question.searchText=''\">\r\n </div>\r\n <label\r\n *ngIf=\"!question.isFromURL ? question?.items?.length == 1 : question?.itemsUrl?.length == 1\">{{question.descr}}</label>\r\n <div class=\"dds-list-container\" [hidden]=\"question.isListHide\">\r\n <input type=\"text\" class=\"form-control search-form-control\"\r\n name=\"{{'searchText'+question.name}}\" [(ngModel)]=\"question.searchText\"\r\n [placeholder]=\"question.placeholder\">\r\n <div class=\"dds-items-container\">\r\n <select class=\"full-width\" name=\"{{question.name}}\"\r\n attr.data-required=\"{{question.isRequired}}\" [(ngModel)]=\"question.value\"\r\n [required]=\"question.isRequired\" attr.query-in=\"{{question.isQueryIn}}\"\r\n attr.data-type=\"{{question.datatype}}\" attr.data-name=\"{{question.name}}\"\r\n attr.label=\"{{question.label}}\"\r\n attr.data-crit-datatable=\"{{question.isCriteriaDataTable}}\"\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 size=\"{{question?.size == undefined ? question?.size : 10}}\">\r\n <option (click)=\"selectedOption({Key:'one',Value:'Select One'},question)\"\r\n *ngIf=\"question.ddsType == 'one' && (!question.isFromURL ? question?.items?.length != 1 : question?.itemsUrl?.length != 1)\"\r\n value=\"one\">\r\n Select One</option>\r\n <option (click)=\"selectedOption({Key:'all',Value:'All'},question)\"\r\n *ngIf=\"(question?.ddsType == undefined || question.ddsType == '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?.items | textSearch : question.searchText; let i=index\" [value]=\"item?.key\" (click)=\"selectedOption(item,question)\">\r\n {{item?.value}}\r\n </option> -->\r\n <option\r\n *ngFor=\"let item of !question.isFromURL ? (question?.items | textSearch : question.searchText) : question?.itemsUrl | textSearch : question.searchText\"\r\n (click)=\"selectedOption(item,question)\" value=\"{{item.Key}}\">\r\n {{item.Value}}\r\n </option>\r\n </select>\r\n </div>\r\n </div>\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\r\n 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 -->",
|
|
2129
1533
|
providers: [ExcelService, DatePipe],
|
|
2130
1534
|
animations: [
|
|
2131
1535
|
trigger('changeDivSize', [
|
|
@@ -2141,8 +1545,9 @@ var UCSearchComponent = /** @class */ (function () {
|
|
|
2141
1545
|
transition('initial=>final', animate('300ms')),
|
|
2142
1546
|
transition('final=>initial', animate('300ms'))
|
|
2143
1547
|
]),
|
|
2144
|
-
]
|
|
2145
|
-
|
|
1548
|
+
],
|
|
1549
|
+
styles: [".ucSearch-title{margin:3px}.dds-input{background-color:#fff;text-transform:uppercase}.dds-display-item:after{content:'\\e929';font-family:feather;font-size:1rem;display:inline-block;position:absolute;right:5px;top:5px;transform:rotate(90deg)}.dds-list-container{position:absolute;width:100%;z-index:9}"]
|
|
1550
|
+
}] }
|
|
2146
1551
|
];
|
|
2147
1552
|
/** @nocollapse */
|
|
2148
1553
|
UCSearchComponent.ctorParameters = function () { return [
|
|
@@ -2165,148 +1570,48 @@ var UCSearchComponent = /** @class */ (function () {
|
|
|
2165
1570
|
genRpt: [{ type: Output }],
|
|
2166
1571
|
reqGetAllData: [{ type: Output }]
|
|
2167
1572
|
};
|
|
2168
|
-
/** @nocollapse */ UCSearchComponent.ɵfac = function UCSearchComponent_Factory(t) { return new (t || UCSearchComponent)(ɵɵdirectiveInject(HttpClient), ɵɵdirectiveInject(ExcelService), ɵɵdirectiveInject(Renderer2), ɵɵdirectiveInject(DOCUMENT), ɵɵdirectiveInject(ToastrService), ɵɵdirectiveInject(CookieService), ɵɵdirectiveInject(DatePipe), ɵɵdirectiveInject(ElementRef)); };
|
|
2169
|
-
/** @nocollapse */ UCSearchComponent.ɵcmp = ɵɵdefineComponent({ type: UCSearchComponent, selectors: [["lib-UCSearch"]], viewQuery: function UCSearchComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2170
|
-
ɵɵviewQuery(_c0, true);
|
|
2171
|
-
ɵɵviewQuery(_c1, true);
|
|
2172
|
-
} if (rf & 2) {
|
|
2173
|
-
var _t;
|
|
2174
|
-
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.content = _t.first);
|
|
2175
|
-
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.myForm = _t.first);
|
|
2176
|
-
} }, inputs: { searchInput: "searchInput", pageSize: "pageSize", isReport: "isReport" }, outputs: { result: "result", genRpt: "genRpt", reqGetAllData: "reqGetAllData" }, features: [ɵɵProvidersFeature([ExcelService, 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) { if (rf & 1) {
|
|
2177
|
-
var _r119 = ɵɵgetCurrentView();
|
|
2178
|
-
ɵɵelementStart(0, "section", 0);
|
|
2179
|
-
ɵɵelementStart(1, "div", 1);
|
|
2180
|
-
ɵɵelementStart(2, "div", 2);
|
|
2181
|
-
ɵɵelementStart(3, "div", 3);
|
|
2182
|
-
ɵɵtemplate(4, UCSearchComponent_div_4_Template, 3, 1, "div", 4);
|
|
2183
|
-
ɵɵelementStart(5, "div", 5);
|
|
2184
|
-
ɵɵelementStart(6, "div", 6);
|
|
2185
|
-
ɵɵelementStart(7, "form", 7, 8);
|
|
2186
|
-
ɵɵlistener("ngSubmit", function UCSearchComponent_Template_form_ngSubmit_7_listener() { ɵɵrestoreView(_r119); var _r2 = ɵɵreference(9); return _r2.valid && ctx.searchClick(); });
|
|
2187
|
-
ɵɵelementStart(10, "div", 9);
|
|
2188
|
-
ɵɵelementStart(11, "h4", 10);
|
|
2189
|
-
ɵɵelementStart(12, "div", 11);
|
|
2190
|
-
ɵɵlistener("click", function UCSearchComponent_Template_div_click_12_listener() { return ctx.changeState(); });
|
|
2191
|
-
ɵɵelement(13, "i", 12);
|
|
2192
|
-
ɵɵelementEnd();
|
|
2193
|
-
ɵɵtemplate(14, UCSearchComponent_span_14_Template, 1, 0, "span", 13);
|
|
2194
|
-
ɵɵtemplate(15, UCSearchComponent_ng_template_15_Template, 1, 1, "ng-template", null, 14, ɵɵtemplateRefExtractor);
|
|
2195
|
-
ɵɵtemplate(17, UCSearchComponent_ng_template_17_Template, 1, 0, "ng-template", null, 15, ɵɵtemplateRefExtractor);
|
|
2196
|
-
ɵɵelementEnd();
|
|
2197
|
-
ɵɵelementStart(19, "div", 16);
|
|
2198
|
-
ɵɵelementStart(20, "div", 17);
|
|
2199
|
-
ɵɵtemplate(21, UCSearchComponent_div_21_Template, 17, 16, "div", 18);
|
|
2200
|
-
ɵɵtemplate(22, UCSearchComponent_div_22_Template, 8, 2, "div", 19);
|
|
2201
|
-
ɵɵelementEnd();
|
|
2202
|
-
ɵɵelementStart(23, "div", 20);
|
|
2203
|
-
ɵɵelementStart(24, "div", 21);
|
|
2204
|
-
ɵɵtemplate(25, UCSearchComponent_button_25_Template, 5, 0, "button", 22);
|
|
2205
|
-
ɵɵelementStart(26, "button", 23);
|
|
2206
|
-
ɵɵlistener("click", function UCSearchComponent_Template_button_click_26_listener() { return ctx.reset(); });
|
|
2207
|
-
ɵɵelement(27, "i", 24);
|
|
2208
|
-
ɵɵtext(28, "\u00A0");
|
|
2209
|
-
ɵɵelementStart(29, "span", 25);
|
|
2210
|
-
ɵɵtext(30, "Reset");
|
|
2211
|
-
ɵɵelementEnd();
|
|
2212
|
-
ɵɵelementEnd();
|
|
2213
|
-
ɵɵtemplate(31, UCSearchComponent_button_31_Template, 6, 0, "button", 26);
|
|
2214
|
-
ɵɵtemplate(32, UCSearchComponent_button_32_Template, 5, 0, "button", 27);
|
|
2215
|
-
ɵɵelementEnd();
|
|
2216
|
-
ɵɵelementEnd();
|
|
2217
|
-
ɵɵelementEnd();
|
|
2218
|
-
ɵɵelementEnd();
|
|
2219
|
-
ɵɵelementEnd();
|
|
2220
|
-
ɵɵelementEnd();
|
|
2221
|
-
ɵɵelementEnd();
|
|
2222
|
-
ɵɵelementEnd();
|
|
2223
|
-
ɵɵelementEnd();
|
|
2224
|
-
ɵɵelementEnd();
|
|
2225
|
-
ɵɵelementEnd();
|
|
2226
|
-
ɵɵelement(33, "br");
|
|
2227
|
-
} if (rf & 2) {
|
|
2228
|
-
var _r4 = ɵɵreference(16);
|
|
2229
|
-
var _r6 = ɵɵreference(18);
|
|
2230
|
-
ɵɵadvance(4);
|
|
2231
|
-
ɵɵproperty("ngIf", (ctx.configuration == null ? null : ctx.configuration.title) != undefined && (ctx.configuration == null ? null : ctx.configuration.title) != "");
|
|
2232
|
-
ɵɵadvance(9);
|
|
2233
|
-
ɵɵproperty("ngClass", ctx.isHidden ? "fa-chevron-right" : "fa-chevron-down");
|
|
2234
|
-
ɵɵadvance(1);
|
|
2235
|
-
ɵɵproperty("ngIf", (ctx.configuration == null ? null : ctx.configuration.sectionTitle) != undefined && (ctx.configuration == null ? null : ctx.configuration.sectionTitle) != "")("ngIfThen", _r4)("ngIfElse", _r6);
|
|
2236
|
-
ɵɵadvance(5);
|
|
2237
|
-
ɵɵproperty("@changeDivSize", ctx.currentState);
|
|
2238
|
-
ɵɵadvance(2);
|
|
2239
|
-
ɵɵproperty("ngForOf", ctx.configuration == null ? null : ctx.configuration.component);
|
|
2240
|
-
ɵɵadvance(1);
|
|
2241
|
-
ɵɵproperty("ngIf", ctx.isReport != undefined && ctx.isReport);
|
|
2242
|
-
ɵɵadvance(3);
|
|
2243
|
-
ɵɵproperty("ngIf", ctx.exportData == true);
|
|
2244
|
-
ɵɵadvance(6);
|
|
2245
|
-
ɵɵproperty("ngIf", ctx.isReport == undefined || !ctx.isReport);
|
|
2246
|
-
ɵɵadvance(1);
|
|
2247
|
-
ɵɵproperty("ngIf", ctx.isReport != undefined && ctx.isReport);
|
|
2248
|
-
} }, directives: [NgIf, ɵangular_packages_forms_forms_bh, NgControlStatusGroup, NgForm, NgClass, NgForOf, TranslateDirective, UpperCaseDirective, DefaultValueAccessor, NgControlStatus, NgModel, RequiredValidator, ɵangular_packages_forms_forms_be, CurrencyMaskDirective, NgSelectOption, ɵangular_packages_forms_forms_s, SelectControlValueAccessor, UcShowErrorsComponent], pipes: [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: [
|
|
2249
|
-
trigger('changeDivSize', [
|
|
2250
|
-
state('initial', style({
|
|
2251
|
-
height: '*',
|
|
2252
|
-
opacity: '1',
|
|
2253
|
-
})),
|
|
2254
|
-
state('final', style({
|
|
2255
|
-
height: '0px',
|
|
2256
|
-
opacity: '0',
|
|
2257
|
-
overflow: 'hidden',
|
|
2258
|
-
})),
|
|
2259
|
-
transition('initial=>final', animate('300ms')),
|
|
2260
|
-
transition('final=>initial', animate('300ms'))
|
|
2261
|
-
]),
|
|
2262
|
-
] } });
|
|
2263
1573
|
return UCSearchComponent;
|
|
2264
|
-
}());
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
}], genRpt: [{
|
|
2306
|
-
type: Output
|
|
2307
|
-
}], reqGetAllData: [{
|
|
2308
|
-
type: Output
|
|
2309
|
-
}] }); })();
|
|
1574
|
+
}());
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* @fileoverview added by tsickle
|
|
1578
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1579
|
+
*/
|
|
1580
|
+
var TextSearchPipe = /** @class */ (function () {
|
|
1581
|
+
function TextSearchPipe() {
|
|
1582
|
+
}
|
|
1583
|
+
/**
|
|
1584
|
+
* @param {?} items
|
|
1585
|
+
* @param {?=} text
|
|
1586
|
+
* @return {?}
|
|
1587
|
+
*/
|
|
1588
|
+
TextSearchPipe.prototype.transform = /**
|
|
1589
|
+
* @param {?} items
|
|
1590
|
+
* @param {?=} text
|
|
1591
|
+
* @return {?}
|
|
1592
|
+
*/
|
|
1593
|
+
function (items, text) {
|
|
1594
|
+
if (!text) {
|
|
1595
|
+
return items;
|
|
1596
|
+
}
|
|
1597
|
+
return items.filter((/**
|
|
1598
|
+
* @param {?} item
|
|
1599
|
+
* @return {?}
|
|
1600
|
+
*/
|
|
1601
|
+
function (item) {
|
|
1602
|
+
if (item.Value && typeof item.Value === 'string') {
|
|
1603
|
+
return item.Value.toLowerCase().indexOf(text.toLowerCase()) > -1;
|
|
1604
|
+
}
|
|
1605
|
+
return false;
|
|
1606
|
+
}));
|
|
1607
|
+
};
|
|
1608
|
+
TextSearchPipe.decorators = [
|
|
1609
|
+
{ type: Pipe, args: [{
|
|
1610
|
+
name: 'textSearch'
|
|
1611
|
+
},] }
|
|
1612
|
+
];
|
|
1613
|
+
return TextSearchPipe;
|
|
1614
|
+
}());
|
|
2310
1615
|
|
|
2311
1616
|
/**
|
|
2312
1617
|
* @fileoverview added by tsickle
|
|
@@ -2340,38 +1645,10 @@ var UCSearchModule = /** @class */ (function () {
|
|
|
2340
1645
|
TranslateModule.forChild()
|
|
2341
1646
|
],
|
|
2342
1647
|
exports: [UCSearchComponent]
|
|
2343
|
-
},] }
|
|
1648
|
+
},] }
|
|
2344
1649
|
];
|
|
2345
|
-
/** @nocollapse */ UCSearchModule.ɵmod = ɵɵdefineNgModule({ type: UCSearchModule });
|
|
2346
|
-
/** @nocollapse */ UCSearchModule.ɵinj = ɵɵdefineInjector({ factory: function UCSearchModule_Factory(t) { return new (t || UCSearchModule)(); }, imports: [[
|
|
2347
|
-
CommonModule,
|
|
2348
|
-
FormsModule,
|
|
2349
|
-
UcShowErrorsModule,
|
|
2350
|
-
UcDirectiveUpperCaseModule,
|
|
2351
|
-
NgxCurrencyModule.forRoot(customCurrencyMaskConfig),
|
|
2352
|
-
TranslateModule.forChild()
|
|
2353
|
-
]] });
|
|
2354
1650
|
return UCSearchModule;
|
|
2355
|
-
}());
|
|
2356
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && ɵɵsetNgModuleScope(UCSearchModule, { declarations: [UCSearchComponent, TextSearchPipe], imports: [CommonModule,
|
|
2357
|
-
FormsModule,
|
|
2358
|
-
UcShowErrorsModule,
|
|
2359
|
-
UcDirectiveUpperCaseModule, NgxCurrencyModule, TranslateModule], exports: [UCSearchComponent] }); })();
|
|
2360
|
-
/*@__PURE__*/ (function () { ɵsetClassMetadata(UCSearchModule, [{
|
|
2361
|
-
type: NgModule,
|
|
2362
|
-
args: [{
|
|
2363
|
-
declarations: [UCSearchComponent, TextSearchPipe],
|
|
2364
|
-
imports: [
|
|
2365
|
-
CommonModule,
|
|
2366
|
-
FormsModule,
|
|
2367
|
-
UcShowErrorsModule,
|
|
2368
|
-
UcDirectiveUpperCaseModule,
|
|
2369
|
-
NgxCurrencyModule.forRoot(customCurrencyMaskConfig),
|
|
2370
|
-
TranslateModule.forChild()
|
|
2371
|
-
],
|
|
2372
|
-
exports: [UCSearchComponent]
|
|
2373
|
-
}]
|
|
2374
|
-
}], null, null); })();
|
|
1651
|
+
}());
|
|
2375
1652
|
|
|
2376
1653
|
/**
|
|
2377
1654
|
* @fileoverview added by tsickle
|
|
@@ -2383,6 +1660,6 @@ var UCSearchModule = /** @class */ (function () {
|
|
|
2383
1660
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2384
1661
|
*/
|
|
2385
1662
|
|
|
2386
|
-
export { UCSearchService, UCSearchComponent, customCurrencyMaskConfig, UCSearchModule };
|
|
1663
|
+
export { UCSearchService, UCSearchComponent, customCurrencyMaskConfig, UCSearchModule, TextSearchPipe as ɵb, ExcelService as ɵa };
|
|
2387
1664
|
|
|
2388
1665
|
//# sourceMappingURL=adins-ucsearch.js.map
|