@adins/ucsearch 5.0.0-research.1 → 5.0.2-multiversion.1
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 +73 -358
- package/esm2020/adins-ucsearch.mjs +5 -0
- package/esm2020/lib/constants/month.mjs +51 -0
- package/esm2020/lib/model/adins-constant.mjs +52 -0
- package/esm2020/lib/model/criteria-obj.model.mjs +9 -0
- package/esm2020/lib/model/input-search-obj.model.mjs +50 -0
- package/esm2020/lib/model/integration-obj.model.mjs +12 -0
- package/esm2020/lib/model/key-value-report.model.mjs +19 -0
- package/esm2020/lib/model/key-value-uc-search.model.mjs +38 -0
- package/esm2020/lib/model/request-criteria-obj.model.mjs +14 -0
- package/esm2020/lib/pipe/text-search.pipe.mjs +25 -0
- package/esm2020/lib/services/export-file.service.mjs +61 -0
- package/esm2020/lib/services/ucsearch-datetime.service.mjs +94 -0
- package/esm2020/lib/services/ucsearch-form.service.mjs +17 -0
- package/esm2020/lib/ucsearch.component.mjs +1993 -0
- package/esm2020/lib/ucsearch.module.mjs +98 -0
- package/esm2020/lib/ucsearch.service.mjs +14 -0
- package/esm2020/public-api.mjs +8 -0
- package/fesm2015/adins-ucsearch.mjs +2530 -0
- package/fesm2015/adins-ucsearch.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/adins-ucsearch.mjs +2457 -2513
- package/fesm2020/adins-ucsearch.mjs.map +1 -0
- package/index.d.ts +5 -6
- package/lib/constants/month.d.ts +4 -5
- package/lib/model/adins-constant.d.ts +42 -43
- package/lib/model/criteria-obj.model.d.ts +11 -12
- package/lib/model/input-search-obj.model.d.ts +48 -49
- package/lib/model/integration-obj.model.d.ts +9 -10
- package/lib/model/key-value-report.model.d.ts +17 -18
- package/lib/model/key-value-uc-search.model.d.ts +12 -13
- package/lib/model/request-criteria-obj.model.d.ts +16 -17
- package/lib/pipe/text-search.pipe.d.ts +7 -8
- package/lib/services/export-file.service.d.ts +12 -13
- package/lib/services/ucsearch-datetime.service.d.ts +10 -11
- package/lib/services/ucsearch-form.service.d.ts +10 -11
- package/lib/ucsearch.component.d.ts +154 -154
- package/lib/ucsearch.module.d.ts +32 -18
- package/lib/ucsearch.service.d.ts +6 -7
- package/package.json +31 -23
- package/public-api.d.ts +4 -5
- package/adins-ucsearch.d.ts.map +0 -1
- package/fesm2022/adins-ucsearch.mjs.map +0 -1
- package/lib/constants/month.d.ts.map +0 -1
- package/lib/model/adins-constant.d.ts.map +0 -1
- package/lib/model/criteria-obj.model.d.ts.map +0 -1
- package/lib/model/input-search-obj.model.d.ts.map +0 -1
- package/lib/model/integration-obj.model.d.ts.map +0 -1
- package/lib/model/key-value-report.model.d.ts.map +0 -1
- package/lib/model/key-value-uc-search.model.d.ts.map +0 -1
- package/lib/model/request-criteria-obj.model.d.ts.map +0 -1
- package/lib/pipe/text-search.pipe.d.ts.map +0 -1
- package/lib/services/export-file.service.d.ts.map +0 -1
- package/lib/services/ucsearch-datetime.service.d.ts.map +0 -1
- package/lib/services/ucsearch-form.service.d.ts.map +0 -1
- package/lib/ucsearch.component.d.ts.map +0 -1
- package/lib/ucsearch.module.d.ts.map +0 -1
- package/lib/ucsearch.service.d.ts.map +0 -1
- package/public-api.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -2,1057 +2,774 @@
|
|
|
2
2
|
|
|
3
3
|
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.0.0.
|
|
4
4
|
|
|
5
|
-
## Bootstrap 5 Compatibility
|
|
6
|
-
|
|
7
|
-
✅ **Fully Compatible with Bootstrap 5**
|
|
8
|
-
|
|
9
|
-
This component has been migrated from Bootstrap 3 to Bootstrap 5 and includes:
|
|
10
|
-
|
|
11
|
-
- Updated CSS classes: `panel` → `card`, `btn-primary` → `btn btn-primary`
|
|
12
|
-
- Modern responsive design with Bootstrap 5 grid system
|
|
13
|
-
- Enhanced form controls using `form-control` and `form-select`
|
|
14
|
-
- Improved button styling with outline variants (`btn-outline-*`)
|
|
15
|
-
- Better accessibility with ARIA attributes
|
|
16
|
-
|
|
17
|
-
### Migration Summary
|
|
18
|
-
|
|
19
|
-
- **Bootstrap 3 Patterns Migrated**: 6 patterns including buttons, grid, panels, and forms
|
|
20
|
-
- **Bootstrap 5 Features Added**: Cards, modern form controls, utility classes
|
|
21
|
-
- **Migration Priority**: HIGH (completed)
|
|
22
|
-
|
|
23
5
|
## Version
|
|
24
|
-
|
|
25
6
|
notes: new ui under canary.x tags
|
|
26
7
|
|
|
27
8
|
Version 3.8.18
|
|
28
|
-
|
|
29
9
|
1. add default value option first day and last day of month for search type datepicker
|
|
30
10
|
|
|
31
11
|
Version 3.8.17
|
|
32
|
-
|
|
33
12
|
1. add showRptExecType input to show generate report execution type input
|
|
34
13
|
|
|
35
14
|
Version 3.8.16
|
|
36
|
-
|
|
37
15
|
1. undo fix checkNumericPair to read value from form - will rework later
|
|
38
16
|
2. remove trailing `\` if restriction is LIKE
|
|
39
17
|
|
|
40
18
|
Version 3.8.15
|
|
41
|
-
|
|
42
19
|
1. add ? when accessing experimental value from environment
|
|
43
20
|
|
|
44
21
|
Version 3.8.14
|
|
45
|
-
|
|
46
22
|
1. add disabled button search when criteria not ready
|
|
47
23
|
2. fix checkNumericPair to read value from form
|
|
48
24
|
|
|
49
25
|
Version 3.8.13
|
|
50
|
-
|
|
51
26
|
1. add input useOthersSelection for search type ddl
|
|
52
27
|
|
|
53
28
|
Version 3.8.12
|
|
54
|
-
|
|
55
29
|
1. fix set task definition key or process key to integration object on search when only has one option
|
|
56
30
|
|
|
57
31
|
Version 3.8.11
|
|
58
|
-
|
|
59
32
|
1. fix affectedCriteria for lookup
|
|
60
33
|
|
|
61
34
|
Version 3.8.10
|
|
62
|
-
|
|
63
35
|
1. add affectedfilter for lookup
|
|
64
36
|
2. expose search paging via `notify` input
|
|
65
37
|
|
|
66
38
|
Version 3.8.9
|
|
67
|
-
|
|
68
39
|
1. add additional property (formRaw) when emit genRpt
|
|
69
40
|
|
|
70
41
|
Version 3.8.8
|
|
71
|
-
|
|
72
42
|
1. fix datetimeService.GetNewDate to always return new Date()
|
|
73
43
|
|
|
74
44
|
Version 3.8.7
|
|
75
|
-
|
|
76
45
|
1. add `UcsearchFormService`. Use `getform()` to get FormGroup / form value from UcSearch
|
|
77
46
|
|
|
78
47
|
Version 3.8.6
|
|
79
|
-
|
|
80
48
|
1. add `isLockHo` in input type `officeRoleCodes`
|
|
81
49
|
|
|
82
50
|
Version 3.8.5
|
|
83
|
-
|
|
84
51
|
1. fix lookup circular deps
|
|
85
52
|
2. fix behavior `enter` when isReport is true
|
|
86
53
|
|
|
87
54
|
Version 3.8.4
|
|
88
|
-
|
|
89
55
|
1. add support restriction like for ddl
|
|
90
56
|
|
|
91
57
|
Version 3.8.3
|
|
92
|
-
|
|
93
58
|
1. change form.get to form.controls[_control_name_]
|
|
94
59
|
|
|
95
60
|
Version 3.8.2
|
|
96
|
-
|
|
97
61
|
1. remove unnecessary p tag
|
|
98
62
|
|
|
99
63
|
Version 3.8.1
|
|
100
|
-
|
|
101
64
|
1. support 'useFirstValue' option for search type dropdown - will select the first value as default value
|
|
102
65
|
2. fix input type currency dealing with multiple same name
|
|
103
66
|
|
|
104
67
|
Version 3.8.0
|
|
105
|
-
|
|
106
68
|
1. support search type `datepicker` to using ucdatepicker when environment.experimental.useNewDatepicker set to true
|
|
107
69
|
2. fix minor bug related to search type `datepicker`
|
|
108
70
|
3. fix bug related to search type `time` when using timepair
|
|
109
71
|
4. fix minor bug related to seatch type `blank`
|
|
110
72
|
|
|
111
73
|
Version 3.7.12
|
|
112
|
-
|
|
113
74
|
1. fix typo function
|
|
114
75
|
|
|
115
76
|
Version 3.7.11
|
|
116
|
-
|
|
117
77
|
1. fix data not set properly for where and from value
|
|
118
78
|
2. fix value not patch properly for search component type dropdown
|
|
119
79
|
|
|
120
80
|
Version 3.7.10
|
|
121
|
-
|
|
122
81
|
1. add search type `time`. will bind to assigned datepicker when timePair not empty
|
|
123
82
|
|
|
124
83
|
Version 3.7.9
|
|
125
|
-
|
|
126
84
|
1. fix lookup when empty
|
|
127
85
|
2. fix when restriction is undefined for type datepicker
|
|
128
86
|
|
|
129
87
|
Version 3.7.8
|
|
130
|
-
|
|
131
88
|
1. add input type `month` and `year`
|
|
132
89
|
|
|
133
90
|
Version 3.7.7
|
|
134
|
-
|
|
135
91
|
1. fix isolated dictionaries - will save to dicts when request only one parameter
|
|
136
92
|
|
|
137
93
|
Version 3.7.6
|
|
138
|
-
|
|
139
94
|
1. fix numeric default value
|
|
140
95
|
|
|
141
96
|
Version 3.7.5
|
|
142
|
-
|
|
143
97
|
1. fix numeric and currency attribute name for search
|
|
144
98
|
|
|
145
99
|
Version 3.7.4
|
|
146
|
-
|
|
147
100
|
1. add validation min/max for type numeric and currency
|
|
148
101
|
2. fix datepicker attribute name for search
|
|
149
102
|
|
|
150
103
|
Version 3.7.3
|
|
151
|
-
|
|
152
104
|
1. fix Show Errors: Migrated all form control error handling to utilize Reactive Forms, ensuring consistent error display and handling.
|
|
153
105
|
2. fix Dynamic Date Boundaries: Resolved issue where setting min/max values for dynamic date inputs would incorrectly affect themselves.
|
|
154
106
|
3. add Support for Multiple Parameters in Affected Dropdowns: Implemented support for passing multiple parameters via isolated dictionaries. These dictionaries capture dropdownlist data from the previous search component, enabling better control over dropdown interactions.
|
|
155
107
|
|
|
156
108
|
Version 3.7.2
|
|
157
|
-
|
|
158
109
|
1. enhance dynamic date min/max via datepickerPair -> now datepickerPair can be set to 1 variable act as base value for min/max with the value of the same datepickerPair
|
|
159
110
|
2. add option to exclude input from criteria using `excludeFromCrit` option
|
|
160
111
|
|
|
161
112
|
Version 3.7.1
|
|
162
|
-
|
|
163
113
|
1. support multiple parameter for affected dropdown
|
|
164
114
|
2. support dynamic date min/max via datepickerPair
|
|
165
115
|
|
|
166
116
|
Version 3.7.0
|
|
167
|
-
|
|
168
117
|
1. add support uclookup on search component
|
|
169
118
|
|
|
170
119
|
Version 3.6.5
|
|
171
|
-
|
|
172
120
|
1. fix export file data - data type boolean will convert into `YES` and `NO`
|
|
173
121
|
|
|
174
122
|
Version 3.6.4
|
|
175
|
-
|
|
176
123
|
1. fix export file data - now data exported with the same order as on grid UI
|
|
177
124
|
|
|
178
125
|
Version 3.6.3
|
|
179
|
-
|
|
180
126
|
1. Migrate dropdown popup to ngbDropdown
|
|
181
127
|
|
|
182
128
|
Version 3.6.2
|
|
183
|
-
|
|
184
129
|
1. fix date range guard validation
|
|
185
130
|
|
|
186
131
|
Version 3.6.1
|
|
187
|
-
|
|
188
132
|
1. add action to export list on each property value
|
|
189
133
|
|
|
190
134
|
Version 3.6.0
|
|
191
|
-
|
|
192
135
|
1. add sequential export file
|
|
193
136
|
|
|
194
137
|
Version 3.5.14
|
|
195
|
-
|
|
196
138
|
1. fix parse currency to compare
|
|
197
139
|
|
|
198
140
|
Version 3.5.13
|
|
199
|
-
|
|
200
141
|
1. add option `keepDdl` - will make dropdown still a dropdown despite there were only one data in ddl
|
|
201
142
|
|
|
202
143
|
Version 3.5.12
|
|
203
|
-
|
|
204
144
|
1. remove validation `restriction` for min/max date. will set the min/max date even when `restriction` is undefined
|
|
205
145
|
|
|
206
146
|
Version 3.5.11
|
|
207
|
-
|
|
208
147
|
1. add validation min / max by numericpair (will compare date to the same numericpair depends on lte or gte)
|
|
209
148
|
|
|
210
149
|
Version 3.5.10
|
|
211
|
-
|
|
212
150
|
1. fix min / max date validation
|
|
213
151
|
|
|
214
152
|
Version 3.5.9
|
|
215
|
-
|
|
216
153
|
1. fix min / max date validation
|
|
217
154
|
2. add validation min / max by datepickerpair (will compare date to the same datepickerpair depends on lte or gte)
|
|
218
155
|
|
|
219
156
|
Version 3.5.8
|
|
220
|
-
|
|
221
157
|
1. fix dropdown. will send value as criteria if there's only one option inside dropdown
|
|
222
158
|
|
|
223
159
|
Version 3.5.7
|
|
224
|
-
|
|
225
160
|
1. add support uc-directive-validate-date
|
|
226
161
|
|
|
227
162
|
Version 3.5.6
|
|
228
|
-
|
|
229
163
|
1. add support custom object, key, and value name for dropdown - will default to `ReturnObject`, `Key`, and `Value` respectively
|
|
230
164
|
|
|
231
165
|
Version 3.5.5
|
|
232
|
-
|
|
233
166
|
1. handle if response data null
|
|
234
167
|
|
|
235
168
|
Version 3.5.4
|
|
236
|
-
|
|
237
169
|
1. fix export type col length
|
|
238
170
|
2. configurable list inside export as button
|
|
239
171
|
|
|
240
172
|
Version 3.5.3
|
|
241
|
-
|
|
242
173
|
1. fix calling getQueryParams (ngx-router)
|
|
243
174
|
|
|
244
175
|
Version 3.5.2
|
|
245
|
-
|
|
246
176
|
1. fix parameter when calling getQueryParams (ngx-router)
|
|
247
177
|
|
|
248
178
|
Version 3.5.1
|
|
249
|
-
|
|
250
179
|
1. add support fe-core for ngx-router
|
|
251
180
|
|
|
252
181
|
Version 3.5.0
|
|
253
|
-
|
|
254
182
|
1. add feature to set where value from the search component value - by name property
|
|
255
183
|
|
|
256
184
|
Version 3.4.10
|
|
257
|
-
|
|
258
185
|
1. add support autofill for type dropdownlist
|
|
259
186
|
2. add support autofill source from dicts
|
|
260
187
|
|
|
261
188
|
Version 3.4.9
|
|
262
|
-
|
|
263
189
|
1. add support for multiple request object for dropdown
|
|
264
190
|
2. add support for request object get data from useraccess
|
|
265
191
|
|
|
266
192
|
Version 3.4.8
|
|
267
|
-
|
|
268
193
|
1. add clear default value on focus input currency
|
|
269
194
|
|
|
270
195
|
Version 3.4.7
|
|
271
|
-
|
|
272
196
|
1. fix guard clause for orderby
|
|
273
197
|
|
|
274
198
|
Version 3.4.6
|
|
275
|
-
|
|
276
199
|
1. uppercase value on autofill
|
|
277
200
|
|
|
278
201
|
Version 3.4.5
|
|
279
|
-
|
|
280
202
|
1. fix affected filter when set back to all
|
|
281
203
|
|
|
282
204
|
Version 3.4.4
|
|
283
|
-
|
|
284
205
|
1. add placeholder
|
|
285
206
|
|
|
286
207
|
Version 3.4.3
|
|
287
|
-
|
|
288
208
|
1. change font size
|
|
289
209
|
2. change dropdown icon
|
|
290
210
|
|
|
291
211
|
Version 3.4.2
|
|
292
|
-
|
|
293
212
|
1. change font color
|
|
294
213
|
|
|
295
214
|
Version 3.4.1
|
|
296
|
-
|
|
297
215
|
1. add option on/off uppercase for search input
|
|
298
216
|
|
|
299
217
|
Version 3.4.0
|
|
300
|
-
|
|
301
218
|
1. add option useraccess for autofill source
|
|
302
219
|
2. add isReadonly config
|
|
303
220
|
|
|
304
221
|
Version 3.3.3
|
|
305
|
-
|
|
306
222
|
1. fix subsection title
|
|
307
223
|
|
|
308
224
|
Version 3.3.2
|
|
309
|
-
|
|
310
225
|
1. add button hover
|
|
311
226
|
|
|
312
227
|
Version 3.3.1
|
|
313
|
-
|
|
314
228
|
1. Update UI/UX padding
|
|
315
229
|
|
|
316
230
|
Version 3.3.0
|
|
317
|
-
|
|
318
231
|
1. Update UI/UX
|
|
319
232
|
2. support dropdownlist criteria from queryparam
|
|
320
233
|
|
|
321
234
|
Version 3.2.0
|
|
322
|
-
|
|
323
235
|
1. add support for exclude export list. user can select exclude data to display on excel
|
|
324
236
|
|
|
325
237
|
Version 3.1.1
|
|
326
|
-
|
|
327
238
|
1. change copy object from shallow copy (spread) to deep copy (JSON.parse(JSON.stringify)). notes structured clone not available as for TS version < 4.7
|
|
328
239
|
|
|
329
240
|
Version 3.1.0
|
|
330
|
-
|
|
331
241
|
1. add support for additional export list. user can select additional data to display on excel when doing export other than data displayed on grid
|
|
332
242
|
|
|
333
243
|
Version 3.0.8
|
|
334
|
-
|
|
335
244
|
1. add guard clause for orderby
|
|
336
245
|
|
|
337
246
|
Version 3.0.7
|
|
338
|
-
|
|
339
247
|
1. fix guard clause for dataInput on export file
|
|
340
248
|
|
|
341
249
|
Version 3.0.5
|
|
342
|
-
|
|
343
250
|
1. fix dataInput undefined
|
|
344
251
|
|
|
345
252
|
Version 3.0.4
|
|
346
|
-
|
|
347
253
|
1. fix dataInput
|
|
348
254
|
|
|
349
255
|
Version 3.0.3
|
|
350
|
-
|
|
351
256
|
1. fix error when set title
|
|
352
257
|
|
|
353
258
|
Version 3.0.2
|
|
354
|
-
|
|
355
259
|
1. Fix bug search addToTemp, data not filtered
|
|
356
260
|
|
|
357
261
|
Version 3.0.1
|
|
358
|
-
|
|
359
262
|
1. update readme
|
|
360
263
|
|
|
361
264
|
Version 3.0.0
|
|
362
|
-
|
|
363
265
|
1. Fix versioning for angular 13
|
|
364
266
|
2. support data input
|
|
365
267
|
|
|
366
268
|
Version 2.9.23 (angular 13) & 2.13.6 (angular 7)
|
|
367
|
-
|
|
368
269
|
1. Fix bug error ketika isSearched true
|
|
369
270
|
|
|
370
271
|
Version 2.9.22 (angular 13) & 2.13.5 (angular 7)
|
|
371
|
-
|
|
372
272
|
1. Fix bug ketika melakukan sort, hasil table berubah sesuai dengan crit. hasil table berubah jika hanya tombol search diklik
|
|
373
273
|
|
|
374
274
|
Version 2.9.21 (angular 13) & 2.13.4 (angular 7)
|
|
375
|
-
|
|
376
275
|
1. add option autofill for auto input based on source
|
|
377
276
|
|
|
378
277
|
Version 2.9.20 (angular 13)
|
|
379
|
-
|
|
380
278
|
1. add option export file as csv and json
|
|
381
279
|
2. Fix bug ketika export excel untuk type action - selain button / icon
|
|
382
280
|
|
|
383
281
|
Version 2.9.19 (angular 13)
|
|
384
|
-
|
|
385
282
|
1. Fix header in export excel - nama header dalam file excel akan sesuai dengan nama header pada gridview
|
|
386
283
|
|
|
387
284
|
Version 2.9.18 (angular 13)
|
|
388
|
-
|
|
389
285
|
1. Fix bug ketika export excel untuk type action
|
|
390
286
|
|
|
391
287
|
Version 2.9.17 (angular 13)
|
|
392
|
-
|
|
393
288
|
1. Export excel button will appear if only user has click search button.
|
|
394
289
|
2. Export excel data will display the same data as grid view.
|
|
395
290
|
3. Export excel file name will adjust the json file title.
|
|
396
291
|
|
|
397
292
|
Version 2.9.16 (angular 13)
|
|
398
|
-
|
|
399
293
|
1. bug fix - type numeric untuk value > 1000
|
|
400
294
|
|
|
401
295
|
Version 2.9.15 (angular 13)
|
|
402
|
-
|
|
403
296
|
1. bug fix - check required when generate report
|
|
404
297
|
|
|
405
298
|
Version 2.9.14 (angular 13) & 2.13.3 (angular 7)
|
|
406
|
-
|
|
407
299
|
1. add option on ExportTypeList for Justify PDF
|
|
408
300
|
2. remove option XLS & DOC from ExportTypeList
|
|
409
301
|
|
|
410
302
|
Version 2.9.13 (angular 13) & 2.13.2 (angular 7)
|
|
411
|
-
|
|
412
303
|
1. tambah penjagaan criteria ketika export excel
|
|
413
304
|
|
|
414
305
|
Version 2.9.11
|
|
415
|
-
|
|
416
306
|
1. tambah penjagaan check gte/lte/gt/lt
|
|
417
307
|
|
|
418
308
|
Version 2.9.10
|
|
419
|
-
|
|
420
309
|
1. kasih penjagaan check gte/lte/gt/lt
|
|
421
310
|
|
|
422
311
|
Version 2.9.9
|
|
423
|
-
|
|
424
312
|
1. add validation check gte/lte/gt/lt if numeric
|
|
425
313
|
|
|
426
314
|
Version 2.13.1
|
|
427
|
-
|
|
428
315
|
1. add validation buat numeric, from gbs > dari to
|
|
429
316
|
|
|
430
317
|
Version 2.12.1
|
|
431
|
-
|
|
432
318
|
1. wfKeyFilter harus string with split delimiter (xania;yoan;apsari)
|
|
433
319
|
|
|
434
320
|
Version 2.11.28
|
|
435
|
-
|
|
436
321
|
1. async ngOnInit, initiateForm, reset
|
|
437
322
|
|
|
438
323
|
Version 2.11.26
|
|
439
|
-
|
|
440
324
|
1. type dropdownsearch
|
|
441
|
-
1.
|
|
442
|
-
1.
|
|
443
|
-
1.
|
|
325
|
+
1.
|
|
326
|
+
1.
|
|
327
|
+
1.
|
|
444
328
|
|
|
445
329
|
Version 2.9.0
|
|
446
|
-
|
|
447
330
|
1. Update new attribute readonly buat datepicker
|
|
448
331
|
|
|
449
332
|
Version 2.8.0
|
|
450
|
-
|
|
451
333
|
1. restriction tidak trigger checkInputDate
|
|
452
334
|
|
|
453
335
|
Version 2.7.0
|
|
454
|
-
|
|
455
336
|
1. Tambah attribute data-numericpair
|
|
456
337
|
|
|
457
338
|
Version 2.6.0
|
|
458
|
-
|
|
459
339
|
1. Hapus logic skip untuk type "officeRoleCodes"
|
|
460
340
|
|
|
461
341
|
Version 2.5.3
|
|
462
|
-
|
|
463
342
|
1. Fix Bug Reset Report Type jadi kosong
|
|
464
343
|
|
|
465
344
|
Version 2.5.2
|
|
466
|
-
|
|
467
345
|
1. Tambah attribute data-datepickerpair
|
|
468
346
|
|
|
469
347
|
Version 2.5.1
|
|
470
|
-
|
|
471
348
|
1. Tambah output buat emit request get all datanya
|
|
472
349
|
|
|
473
350
|
Version 2.4.1
|
|
474
|
-
|
|
475
351
|
1. Fix condition affected value punya affected value
|
|
476
352
|
|
|
477
353
|
Version 2.3.8
|
|
478
|
-
|
|
479
354
|
1. Fix condition affected value punya affected value
|
|
480
355
|
|
|
481
356
|
Version 2.3.7
|
|
482
|
-
|
|
483
357
|
1. Update condition affected value punya affected value
|
|
484
358
|
|
|
485
359
|
Version 2.3.6
|
|
486
|
-
|
|
487
360
|
1. LOGGING buat CMS-119
|
|
488
361
|
|
|
489
362
|
Version 2.3.5
|
|
490
|
-
|
|
491
363
|
1. LOGGING buat CMS-119
|
|
492
364
|
|
|
493
365
|
Version 2.3.4
|
|
494
|
-
|
|
495
366
|
1. LOGGING buat CMS-119
|
|
496
367
|
|
|
497
368
|
Version 2.3.3
|
|
498
|
-
|
|
499
369
|
1. LOGGING buat CMS-119
|
|
500
370
|
|
|
501
371
|
Version 2.3.2
|
|
502
|
-
|
|
503
|
-
1. Test \*
|
|
372
|
+
1. Test *
|
|
504
373
|
|
|
505
374
|
Version 2.3.1
|
|
506
|
-
|
|
507
375
|
1. update folder/file name to lower-case
|
|
508
376
|
|
|
509
377
|
Version 2.3.0
|
|
510
|
-
|
|
511
378
|
1. Hapus penggunaan ddlEnvironments
|
|
512
379
|
|
|
513
380
|
Version 2.2.64
|
|
514
|
-
|
|
515
381
|
1. Bug fixing ucsearch
|
|
516
382
|
|
|
517
383
|
Version 2.2.63
|
|
518
|
-
|
|
519
384
|
1. logging
|
|
520
385
|
|
|
521
386
|
Version 2.2.62
|
|
522
|
-
|
|
523
387
|
1. logging
|
|
524
388
|
|
|
525
389
|
Version 2.2.61
|
|
526
|
-
|
|
527
390
|
1. logging
|
|
528
391
|
|
|
529
392
|
Version 2.2.60
|
|
530
|
-
|
|
531
393
|
1. Bug fixing ucsearch
|
|
532
394
|
|
|
533
395
|
Version 2.2.59
|
|
534
|
-
|
|
535
396
|
1. Bug fixing ucsearch
|
|
536
397
|
|
|
537
398
|
Version 2.2.58
|
|
538
|
-
|
|
539
399
|
1. Bug fixing ucsearch
|
|
540
400
|
|
|
541
401
|
Version 2.2.57
|
|
542
|
-
|
|
543
402
|
1. Menambah tipe ProcessKey
|
|
544
403
|
|
|
545
404
|
Version 2.2.56
|
|
546
|
-
|
|
547
405
|
1. tambahan input property InputSearchObj.fromValue
|
|
548
406
|
|
|
549
407
|
Version 2.2.55
|
|
550
|
-
|
|
551
408
|
1. isCriteriaDataTable pada type dropdown
|
|
552
409
|
|
|
553
410
|
Version 2.2.54
|
|
554
|
-
|
|
555
411
|
1. setMonthDDL dropdown list + setDefaultValueYear + setDefaultValueMonth
|
|
556
412
|
|
|
557
413
|
Version 2.2.53
|
|
558
|
-
|
|
559
414
|
1. isCriteriaDataTable pada type datetime
|
|
560
415
|
|
|
561
416
|
Version 2.2.52
|
|
562
|
-
|
|
563
417
|
1. ucsearch bug when ddltype one
|
|
564
418
|
|
|
565
419
|
Version 2.2.51
|
|
566
|
-
|
|
567
420
|
1. datepicker tambahan isTime fungsiny buat ubah date ada time
|
|
568
421
|
|
|
569
422
|
Version 2.2.50
|
|
570
|
-
|
|
571
423
|
1. bug fixing Translate di button
|
|
572
424
|
|
|
573
425
|
Version 2.2.49
|
|
574
|
-
|
|
575
426
|
1. rapihin text
|
|
576
427
|
|
|
577
428
|
Version 2.2.48
|
|
578
|
-
|
|
579
429
|
1. bug fixing dropdown
|
|
580
430
|
|
|
581
431
|
Version 2.2.47
|
|
582
|
-
|
|
583
432
|
1. taskDefinitionKey + officeRoleCodes bugV2
|
|
584
433
|
|
|
585
434
|
Version 2.2.45
|
|
586
|
-
|
|
587
435
|
1. taskDefinitionKey + officeRoleCodes bug
|
|
588
436
|
|
|
589
437
|
Version 2.2.41
|
|
590
|
-
|
|
591
438
|
1. onchangeEvent bug
|
|
592
439
|
|
|
593
440
|
Version 2.2.40
|
|
594
|
-
|
|
595
441
|
1. tambah type taskDefinitionKey + officeRoleCodes
|
|
596
442
|
|
|
597
443
|
Version 2.2.38
|
|
598
|
-
|
|
599
444
|
1. Tambah fitur exclude untuk dropdown
|
|
600
445
|
|
|
601
446
|
Version 2.2.37
|
|
602
|
-
|
|
603
447
|
1. Tambah type claim
|
|
604
|
-
2. CriteriaObj tambah property isCriteriaDataTable
|
|
605
|
-
3.
|
|
448
|
+
2. CriteriaObj tambah property isCriteriaDataTable
|
|
449
|
+
3.
|
|
606
450
|
|
|
607
451
|
Version 2.2.32
|
|
608
|
-
|
|
609
452
|
1. using UcUpperCase
|
|
610
453
|
|
|
611
454
|
Version 2.2.29
|
|
612
|
-
|
|
613
455
|
1. propname ddl bug, get from attribute
|
|
614
456
|
|
|
615
457
|
Version 2.2.26
|
|
616
|
-
|
|
617
458
|
1. type dropdown new dtmType
|
|
618
459
|
2. ddl type default value by BD
|
|
619
460
|
|
|
620
461
|
Version 2.2.25
|
|
621
|
-
|
|
622
462
|
1. Fixed html for type numeric and datepicker
|
|
623
463
|
2. Fixed validation for datepicker
|
|
624
464
|
|
|
625
465
|
Version 2.2.24
|
|
626
|
-
|
|
627
466
|
1. ddl isEvent jika list 1 di trigger filter nya
|
|
628
467
|
|
|
629
468
|
Version 2.2.21
|
|
630
|
-
|
|
631
469
|
1. Comment validation datepicker when click search
|
|
632
470
|
|
|
633
471
|
Version 2.2.20
|
|
634
|
-
|
|
635
472
|
1. Add attr.label
|
|
636
473
|
|
|
637
474
|
Version 2.2.19
|
|
638
|
-
|
|
639
475
|
1. Add Validation min max pada DatePicker
|
|
640
476
|
2. Fixed patch default value
|
|
641
477
|
3. Fixed patch value datepicker ketika lihat BusinessDate
|
|
642
478
|
|
|
643
479
|
Version 2.2.18
|
|
644
|
-
|
|
645
480
|
1. fix export excel
|
|
646
481
|
|
|
647
482
|
Version 2.2.16
|
|
648
|
-
|
|
649
483
|
1. fix datetime value BD
|
|
650
484
|
|
|
651
485
|
Version 2.2.15
|
|
652
|
-
|
|
653
486
|
1. reset with viewchild
|
|
654
487
|
|
|
655
488
|
Version 2.2.14
|
|
656
|
-
|
|
657
489
|
1. listEnvironments, setting urlenvi in json
|
|
658
490
|
|
|
659
491
|
Version 2.2.12
|
|
660
|
-
|
|
661
492
|
1. hapus logic popup message jika required
|
|
662
493
|
|
|
663
494
|
Version 2.2.11
|
|
664
|
-
|
|
665
495
|
1. isRequired, jika required dan tidak diisi valueny maka akan keluar error message seperti form
|
|
666
496
|
|
|
667
497
|
Version 2.2.10
|
|
668
|
-
|
|
669
498
|
1. isRequired, jika required dan tidak diisi valueny maka akan muncul pop up message
|
|
670
499
|
|
|
671
500
|
Version 2.2.9
|
|
672
|
-
|
|
673
501
|
1. Add joinType
|
|
674
502
|
|
|
675
503
|
Version 2.2.8
|
|
676
|
-
|
|
677
504
|
1. update ReadMe
|
|
678
505
|
|
|
679
506
|
Version 2.2.7
|
|
680
|
-
|
|
681
507
|
1. join query dengan API luar
|
|
682
508
|
2. update InputSearchObj
|
|
683
509
|
|
|
684
510
|
Version 2.2.4
|
|
685
|
-
|
|
686
511
|
1. TranslateModule
|
|
687
512
|
|
|
688
513
|
Version 2.2.3
|
|
689
|
-
|
|
690
|
-
1. bug onChangeEvent
|
|
514
|
+
1. bug onChangeEvent
|
|
691
515
|
|
|
692
516
|
Version 2.2.2
|
|
693
|
-
|
|
694
517
|
1. filterPropName
|
|
695
518
|
|
|
696
519
|
Version 2.2.1
|
|
697
|
-
|
|
698
520
|
1. merapikan reset
|
|
699
521
|
|
|
700
522
|
Version 2.2.0
|
|
701
|
-
|
|
702
523
|
1. ucsearch support ucreport
|
|
703
524
|
|
|
704
525
|
Version 2.1.5
|
|
705
|
-
|
|
706
526
|
1. Input isReport
|
|
707
527
|
2. Output genRpt
|
|
708
528
|
|
|
709
529
|
Version 2.1.4
|
|
710
|
-
|
|
711
530
|
1. typo
|
|
712
531
|
|
|
713
532
|
Version 2.1.3
|
|
714
|
-
|
|
715
533
|
1. attribute data-name
|
|
716
534
|
|
|
717
535
|
Version 2.1.2
|
|
718
|
-
|
|
719
536
|
1. dropdown if only 1 option show label only
|
|
720
537
|
|
|
721
538
|
Version 2.1.0
|
|
722
|
-
|
|
723
539
|
1. update option all ddl
|
|
724
540
|
|
|
725
541
|
Version 2.0.73
|
|
726
|
-
|
|
727
542
|
1. change property json : isSelectOne to ddlType
|
|
728
543
|
|
|
729
544
|
Version 2.0.72
|
|
730
|
-
|
|
731
545
|
1. type currency
|
|
732
546
|
|
|
733
547
|
Version 2.0.50
|
|
734
|
-
|
|
735
548
|
1. rollback
|
|
736
549
|
|
|
737
550
|
Version 2.0.49
|
|
738
|
-
|
|
739
551
|
1. form to div
|
|
740
552
|
|
|
741
553
|
Version 2.0.48
|
|
742
|
-
|
|
743
554
|
1. keyup
|
|
744
555
|
|
|
745
556
|
Version 2.0.47
|
|
746
|
-
|
|
747
557
|
1. rollback
|
|
748
558
|
|
|
749
559
|
Version 2.0.46
|
|
750
|
-
|
|
751
|
-
1. Add type switch
|
|
560
|
+
1. Add type switch
|
|
752
561
|
|
|
753
562
|
Version 2.0.37
|
|
754
|
-
|
|
755
|
-
1. search able to do like restriction
|
|
563
|
+
1. search able to do like restriction
|
|
756
564
|
|
|
757
565
|
Version 2.0.34
|
|
758
|
-
|
|
759
566
|
1. css title
|
|
760
567
|
|
|
761
568
|
Version 2.0.31
|
|
762
|
-
|
|
763
569
|
1. hapus headerTitle
|
|
764
570
|
2. tambah sectionTitle di json
|
|
765
571
|
3. title jdi card title paging
|
|
766
572
|
|
|
767
573
|
Version 2.0.30
|
|
768
|
-
|
|
769
574
|
1. header title in ucpaging
|
|
770
575
|
|
|
771
576
|
Version 2.0.29
|
|
772
|
-
|
|
773
577
|
1. pageSize
|
|
774
578
|
|
|
775
579
|
Version 2.0.28
|
|
776
|
-
|
|
777
580
|
1. fix value date ambil dari businessDt
|
|
778
581
|
|
|
779
582
|
Version 2.0.27
|
|
780
|
-
|
|
781
583
|
1. fix bug whereValue undefined
|
|
782
584
|
|
|
783
585
|
Version 2.0.26
|
|
784
|
-
|
|
785
586
|
1. update whereValue jadi list object {property, value}
|
|
786
587
|
|
|
787
588
|
Version 2.0.25
|
|
788
|
-
|
|
789
589
|
1. tambahan input property
|
|
790
|
-
|
|
791
|
-
|
|
590
|
+
- InputSearchObj.title
|
|
591
|
+
- InputSearchObj.whereValue
|
|
792
592
|
|
|
793
593
|
Version 2.0.24
|
|
794
|
-
|
|
795
594
|
1. fix onChangeEvent baca fullpath
|
|
796
595
|
|
|
797
596
|
Version 2.0.23
|
|
798
|
-
|
|
799
597
|
1. fix logic date
|
|
800
598
|
|
|
801
599
|
Version 2.0.22
|
|
802
|
-
|
|
803
600
|
1. fix date
|
|
804
601
|
|
|
805
602
|
Version 2.0.20
|
|
806
|
-
|
|
807
603
|
1. input title
|
|
808
604
|
|
|
809
605
|
Version 2.0.19
|
|
810
|
-
|
|
811
606
|
1. Orderby default
|
|
812
607
|
|
|
813
608
|
Version 2.0.18
|
|
814
|
-
|
|
815
609
|
1. #UCSearchClick buat panggil click
|
|
816
610
|
|
|
817
611
|
Version 2.0.17
|
|
818
|
-
|
|
819
612
|
1. dropdown bentuk path dan environment dalam object ddlEnvironments
|
|
820
613
|
|
|
821
614
|
Version 2.0.16
|
|
822
|
-
|
|
823
615
|
1. tambah kondisi dropwdown isQueryIn, jika select all criteria nya dari list dropdown
|
|
824
616
|
|
|
825
617
|
Version 2.0.14
|
|
826
|
-
|
|
827
618
|
1. Key Value
|
|
828
619
|
|
|
829
620
|
Version 2.0.13
|
|
830
|
-
|
|
831
621
|
1. tambah ReturnObject di ResolveObj
|
|
832
622
|
|
|
833
623
|
Version 2.0.12
|
|
834
|
-
|
|
835
624
|
1. tambah rowVersion
|
|
836
625
|
|
|
837
626
|
Version 2.0.11
|
|
838
|
-
|
|
839
627
|
1. ubah response model
|
|
840
628
|
|
|
841
629
|
Version 2.0.9
|
|
842
|
-
|
|
843
630
|
1. Update textbox tambah data restriction
|
|
844
631
|
|
|
845
632
|
Version 2.0.8
|
|
846
|
-
|
|
847
633
|
1. Menambahkan Query String pada export Excel
|
|
848
634
|
|
|
849
635
|
Version 2.0.7
|
|
850
|
-
|
|
851
636
|
1. Update validasi additional criteria
|
|
852
637
|
|
|
853
638
|
Version 2.0.6
|
|
854
|
-
|
|
855
639
|
1. Update add criteria
|
|
856
640
|
|
|
857
641
|
Version 2.0.5
|
|
858
|
-
|
|
859
642
|
1. Update add criteria
|
|
860
643
|
|
|
861
644
|
Version 2.0.4
|
|
862
|
-
|
|
863
645
|
1. Update add criteria
|
|
864
646
|
|
|
865
647
|
Version 2.0.3
|
|
866
|
-
|
|
867
648
|
1. change export data button icon
|
|
868
649
|
|
|
869
650
|
Version 2.0.2
|
|
870
|
-
|
|
871
651
|
1. fix exportData show
|
|
872
652
|
|
|
873
653
|
Version 2.0.1
|
|
874
|
-
|
|
875
654
|
1. add search by queryString
|
|
876
655
|
|
|
877
656
|
Version 2.0.0
|
|
878
|
-
|
|
879
657
|
1. Update ReadMe
|
|
880
658
|
|
|
881
659
|
Version 1.0.17
|
|
882
|
-
|
|
883
660
|
1. Update ReadMe
|
|
884
661
|
|
|
885
662
|
Version 1.0.16
|
|
886
|
-
|
|
887
663
|
1. Update ReadMe
|
|
888
664
|
|
|
889
665
|
Version 1.0.15
|
|
890
|
-
|
|
891
666
|
1. Update ReadMe
|
|
892
667
|
|
|
893
668
|
Version 1.0.14
|
|
894
|
-
|
|
895
669
|
1. Update ReadMe
|
|
896
670
|
|
|
897
671
|
Version 1.0.11
|
|
898
|
-
|
|
899
672
|
1. Tambahan FlaTModuleId
|
|
900
673
|
|
|
901
674
|
Version 1.0.10
|
|
902
|
-
|
|
903
675
|
1. Tambahan Encapsulation
|
|
904
676
|
|
|
905
677
|
Version 1.0.9
|
|
906
|
-
|
|
907
678
|
1. ubah icon subsection
|
|
908
679
|
|
|
909
680
|
Version 1.0.8
|
|
910
|
-
|
|
911
|
-
1. Ubah Search Component agar dapat di tambahkan criteria (contoh: refMasterTypeCode)
|
|
681
|
+
1. Ubah Search Component agar dapat di tambahkan criteria (contoh: refMasterTypeCode)
|
|
912
682
|
|
|
913
683
|
Version 1.0.7
|
|
914
|
-
|
|
915
684
|
1. ubah search component ketika menerima url environment
|
|
916
685
|
|
|
917
686
|
Version 1.0.6
|
|
918
|
-
|
|
919
687
|
1. ubah search title position, dan subsection icon
|
|
920
688
|
|
|
921
689
|
Version 1.0.5
|
|
922
|
-
|
|
923
690
|
1. reset input search, merapikan coding
|
|
924
691
|
|
|
925
692
|
Version 1.0.4
|
|
926
|
-
|
|
927
693
|
1. addCritInput penjagaan undefined
|
|
928
694
|
|
|
929
695
|
Version 1.0.2
|
|
930
|
-
|
|
931
696
|
1. Fix InputObj, filter with function
|
|
932
697
|
|
|
933
698
|
Version 1.0.1
|
|
934
|
-
|
|
935
699
|
1. Added ReadMe
|
|
936
700
|
|
|
937
|
-
## Bootstrap 5 Features
|
|
938
|
-
|
|
939
|
-
### CSS Classes Used
|
|
940
|
-
|
|
941
|
-
This component utilizes the following Bootstrap 5 classes:
|
|
942
|
-
|
|
943
|
-
```scss
|
|
944
|
-
// Layout & Grid
|
|
945
|
-
.col-* // Responsive grid columns
|
|
946
|
-
.col-md-* // Medium breakpoint columns
|
|
947
|
-
.card // Replaces .panel
|
|
948
|
-
.card-body // Replaces .panel-body
|
|
949
|
-
|
|
950
|
-
// Forms
|
|
951
|
-
.form-control // Enhanced form inputs
|
|
952
|
-
.form-select // Modern select dropdowns
|
|
953
|
-
.btn // Button base class
|
|
954
|
-
.btn-outline-* // Outline button variants
|
|
955
|
-
|
|
956
|
-
// Utilities
|
|
957
|
-
.d-inline // Display utilities
|
|
958
|
-
.d-block // Block display
|
|
959
|
-
```
|
|
960
|
-
|
|
961
|
-
### Responsive Design
|
|
962
|
-
|
|
963
|
-
- **Mobile First**: Optimized for mobile devices with responsive breakpoints
|
|
964
|
-
- **Grid System**: Uses Bootstrap 5 flexbox grid with `.col-*` classes
|
|
965
|
-
- **Form Layout**: Responsive form controls that adapt to screen size
|
|
966
|
-
|
|
967
|
-
### Accessibility Improvements
|
|
968
|
-
|
|
969
|
-
- **ARIA Labels**: Enhanced screen reader support
|
|
970
|
-
- **Keyboard Navigation**: Full keyboard accessibility
|
|
971
|
-
- **Focus Management**: Proper focus indicators and management
|
|
972
|
-
- **Form Validation**: Accessible error messaging
|
|
973
|
-
|
|
974
701
|
## Dependency Module
|
|
975
|
-
|
|
976
|
-
import this module :
|
|
977
|
-
|
|
702
|
+
import this module :
|
|
978
703
|
- FormsModule
|
|
979
|
-
- **Bootstrap 5**: Requires Bootstrap 5.3.0 or higher
|
|
980
|
-
- **@ng-bootstrap/ng-bootstrap**: For Bootstrap 5 Angular components
|
|
981
704
|
|
|
982
705
|
## Selector
|
|
983
|
-
|
|
984
706
|
lib-ucsearch
|
|
985
707
|
|
|
986
708
|
## Input
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
3.
|
|
991
|
-
4. showRptExecType: boolean // default false | for ucreport usage
|
|
709
|
+
1. searchInput : InputSearchObj (object) *mandatory
|
|
710
|
+
2. pageSize : default search pageSize
|
|
711
|
+
3. isReport : boolean // default false | for ucreport usage
|
|
712
|
+
3. showRptExecType: boolean // default false | for ucreport usage
|
|
992
713
|
|
|
993
714
|
## Output
|
|
994
|
-
|
|
995
715
|
1. result : Emitting event after search, return resultData of search paging
|
|
996
716
|
2. genRpt : { ExportType: number, showRptExecType: number, ElRef: ElementRef } // ucreport usage
|
|
997
717
|
3. reqGetAllData : Emitting event after search, return request for get all data
|
|
998
718
|
|
|
999
719
|
## Object property & JSON property
|
|
1000
|
-
|
|
1001
720
|
InputSearchObj :
|
|
1002
|
-
|
|
1003
|
-
- \_url : search.json
|
|
721
|
+
- _url : search.json
|
|
1004
722
|
- enviromentUrl : environment path (foundation, setting, vendor)
|
|
1005
|
-
- title
|
|
1006
|
-
- apiQryPaging
|
|
723
|
+
- title : title for section paging // *optional, if using same json for multiple component
|
|
724
|
+
- apiQryPaging : search paging API path
|
|
1007
725
|
- listEnvironments : Array<EnvisObj> // set default envi url
|
|
1008
|
-
- whereValue
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
- fromValue
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
- switchValue
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
- isJoinExAPI
|
|
1040
|
-
- integrationObj
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
- dataInput
|
|
726
|
+
- whereValue :
|
|
727
|
+
[
|
|
728
|
+
{
|
|
729
|
+
property: "IsActive",
|
|
730
|
+
value: "true"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
property: "BizTmpltCode",
|
|
734
|
+
value: "CF4W"
|
|
735
|
+
}
|
|
736
|
+
] *optional // list for value in whereQuery
|
|
737
|
+
- fromValue :
|
|
738
|
+
[
|
|
739
|
+
{
|
|
740
|
+
{
|
|
741
|
+
property: "CustId",
|
|
742
|
+
value: "123"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
property: "AppId",
|
|
746
|
+
value: "20"
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
] *optional // list for value in fromQuery
|
|
750
|
+
- switchValue :
|
|
751
|
+
[
|
|
752
|
+
{
|
|
753
|
+
property: "BizTmpltCode",
|
|
754
|
+
value: "CF4W"
|
|
755
|
+
}
|
|
756
|
+
] *optional // list value for headerList type switch
|
|
757
|
+
- isJoinExAPI : boolean // to determine if query join external API
|
|
758
|
+
- integrationObj : {// mandatory information that needed to be send if isJoinExAPI true
|
|
759
|
+
baseUrl: environment url
|
|
760
|
+
apiPath: routing url
|
|
761
|
+
requestObj: request object for the external API
|
|
762
|
+
leftColumnToJoin: querystring join query external API // written from the alias select
|
|
763
|
+
from querystring
|
|
764
|
+
rightColumnToJoin: query external API join querystring // written from the alias select
|
|
765
|
+
from query external API
|
|
766
|
+
joinType : string // determine join type (LEFT | default INNER) *optional
|
|
767
|
+
} IntegrationObj (object)
|
|
768
|
+
*notes : querystring and query external API cannot have the same alias in select querystring or returnObj external API
|
|
769
|
+
- dataInput : alternative data supply; use ESModule import to load json data, then pass the value into here. will override http.get
|
|
1052
770
|
|
|
1053
771
|
search.json :
|
|
1054
|
-
|
|
1055
|
-
```javascript
|
|
772
|
+
``` javascript
|
|
1056
773
|
{
|
|
1057
774
|
"title" : "title", // Title paging
|
|
1058
775
|
"sectionTitle" : "title", // section title paging *optional, default title in section "paging"
|
|
@@ -1113,7 +830,7 @@ search.json :
|
|
|
1113
830
|
"label" : "Date From",
|
|
1114
831
|
"name" : "dateDt",
|
|
1115
832
|
"id" : "uniqueId", //*mandatory di ucReport
|
|
1116
|
-
"value" : "", // BD : set value base on BusinessDate. format: BD + (+|-) + number.
|
|
833
|
+
"value" : "", // BD : set value base on BusinessDate. format: BD + (+|-) + number.
|
|
1117
834
|
"isTime" : "" // boolean: true|false
|
|
1118
835
|
"restriction" : "gte",
|
|
1119
836
|
"datatype" : "date",
|
|
@@ -1126,7 +843,7 @@ search.json :
|
|
|
1126
843
|
"label" : "dropdown",
|
|
1127
844
|
"name" : "dropdownId",
|
|
1128
845
|
"id" : "uniqueId",
|
|
1129
|
-
"value" : "BD+", // BD : set value base on BusinessDate. format: BD + (+|-) + number(default 1).
|
|
846
|
+
"value" : "BD+", // BD : set value base on BusinessDate. format: BD + (+|-) + number(default 1).
|
|
1130
847
|
"datatype" : "date",
|
|
1131
848
|
"dtmType" : "month" // string: (month | year) format : "month"/"year" + (+-|-+|+|-) + number. generate list month/year base on number.
|
|
1132
849
|
"ddlType" : "all", // string: (one, all, blank) // (select one, select all, 'no select option') | default select all
|
|
@@ -1156,14 +873,14 @@ search.json :
|
|
|
1156
873
|
"ddlType" : "all", // string: (one, all, blank) // (select one, select all, 'no select option') | default select all
|
|
1157
874
|
"items" : [],
|
|
1158
875
|
"isEvent" : "true", // boolean: true|false, if true dropdown criteria affect other dropdown criteria
|
|
1159
|
-
"affectedFilter" : ["dropdownId", "searchId"], // affected filter check by name
|
|
876
|
+
"affectedFilter" : ["dropdownId", "searchId"], // affected filter check by name
|
|
1160
877
|
"filterPropName" : "Id", // string, request propName for ddl affectedFilter
|
|
1161
878
|
"isFromURL" : "true",
|
|
1162
879
|
"url" : "", // full path url api
|
|
1163
880
|
"path": "", // path api
|
|
1164
881
|
"criteriaPropName": "", // criteria property name
|
|
1165
882
|
"criteriaPropValue": "", // criteria value
|
|
1166
|
-
"itemsUrl" : [],
|
|
883
|
+
"itemsUrl" : [],
|
|
1167
884
|
"exclude" : [] // list value to exclude from list
|
|
1168
885
|
},
|
|
1169
886
|
{
|
|
@@ -1181,7 +898,7 @@ search.json :
|
|
|
1181
898
|
"environment": "", // key name from listEnvironments
|
|
1182
899
|
"path": "", // path api
|
|
1183
900
|
"items" : [],
|
|
1184
|
-
"itemsUrl" : [],
|
|
901
|
+
"itemsUrl" : [],
|
|
1185
902
|
"criteriaPropName": "", // criteria property name
|
|
1186
903
|
"criteriaPropValue": "", // criteria value
|
|
1187
904
|
"exclude" : [] // list value to exclude from list
|
|
@@ -1244,13 +961,13 @@ search.json :
|
|
|
1244
961
|
}
|
|
1245
962
|
],
|
|
1246
963
|
"result" : { // result of this case
|
|
1247
|
-
"type": "textbox", // type like bodyList : text,decimal,date,link,boolean
|
|
964
|
+
"type": "textbox", // type like bodyList : text,decimal,date,link,boolean
|
|
1248
965
|
"label" : "Action",
|
|
1249
966
|
"datatype" : "text",
|
|
1250
967
|
"name" : "dateDt",
|
|
1251
968
|
"id" : "uniqueId",
|
|
1252
969
|
"value" : "",
|
|
1253
|
-
"restriction" : "gte"
|
|
970
|
+
"restriction" : "gte"
|
|
1254
971
|
},
|
|
1255
972
|
"isHide" : true
|
|
1256
973
|
}
|
|
@@ -1272,12 +989,10 @@ search.json :
|
|
|
1272
989
|
}
|
|
1273
990
|
}
|
|
1274
991
|
```
|
|
1275
|
-
|
|
1276
992
|
## Code scaffolding
|
|
1277
993
|
|
|
1278
994
|
Run `ng generate component component-name --project UCSearch` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project UCSearch`.
|
|
1279
|
-
|
|
1280
|
-
> Note: Don't forget to add `--project UCSearch` or else it will be added to the default project in your `angular.json` file.
|
|
995
|
+
> Note: Don't forget to add `--project UCSearch` or else it will be added to the default project in your `angular.json` file.
|
|
1281
996
|
|
|
1282
997
|
## Build
|
|
1283
998
|
|