cat-qw-lib 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -63
- package/fesm2022/cat-qw-lib.mjs +372 -90
- package/fesm2022/cat-qw-lib.mjs.map +1 -1
- package/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.d.ts +0 -3
- package/lib/shared/_base/base-list/base-list.component.d.ts +6 -2
- package/lib/shared/constant/SHARED.d.ts +410 -0
- package/package.json +1 -1
- package/src/assets/config/api.config.json +0 -5
package/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.d.ts
CHANGED
|
@@ -3,9 +3,6 @@ import { AdminActionModel } from '../../models/admin-action.model';
|
|
|
3
3
|
import { TableBuilder } from '../../../../shared/services/table.builder';
|
|
4
4
|
import { AdminActionService } from '../../state/admin-action.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Admin Action List Component
|
|
8
|
-
*/
|
|
9
6
|
export declare class AdminActionListComponent extends BaseListComponent<AdminActionModel> {
|
|
10
7
|
private tableBuilder;
|
|
11
8
|
constructor(service: AdminActionService, tableBuilder: TableBuilder);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
1
2
|
import { BaseModel } from '../../models/base.model';
|
|
2
3
|
import { TableBuilder } from '../../services/table.builder';
|
|
3
4
|
import { BaseService } from '../../state/base.service';
|
|
@@ -6,13 +7,16 @@ import * as i0 from "@angular/core";
|
|
|
6
7
|
/**
|
|
7
8
|
* BaseListComponent is a generic class that provides a base implementation for a list component.
|
|
8
9
|
*/
|
|
9
|
-
export declare class BaseListComponent<T extends BaseModel> {
|
|
10
|
+
export declare class BaseListComponent<T extends BaseModel> implements OnChanges {
|
|
10
11
|
protected service: BaseService<T>;
|
|
11
12
|
protected builder: TableBuilder;
|
|
13
|
+
refreshTable: boolean;
|
|
12
14
|
table: TablePrimaryModel;
|
|
13
15
|
constructor(service: BaseService<T>, builder: TableBuilder);
|
|
16
|
+
ngOnChanges(): void;
|
|
14
17
|
init(): void;
|
|
15
18
|
afterTableBuild(): void;
|
|
19
|
+
handleRefreshTable(): void;
|
|
16
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseListComponent<any>, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseListComponent<any>, "lib-base-list", never, {}, {}, never, never, true, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseListComponent<any>, "lib-base-list", never, { "refreshTable": { "alias": "refreshTable"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
22
|
}
|
|
@@ -141,6 +141,416 @@ export declare const propertyDataList: ({
|
|
|
141
141
|
})[];
|
|
142
142
|
}[];
|
|
143
143
|
})[];
|
|
144
|
+
export declare const widgets: ({
|
|
145
|
+
outOfTheBoxName: string;
|
|
146
|
+
title: string;
|
|
147
|
+
subtitle: {
|
|
148
|
+
label: string;
|
|
149
|
+
value: string;
|
|
150
|
+
color: string;
|
|
151
|
+
};
|
|
152
|
+
percentage: string;
|
|
153
|
+
fields: ({
|
|
154
|
+
label: string;
|
|
155
|
+
value: string;
|
|
156
|
+
isPrimary?: undefined;
|
|
157
|
+
highlight?: undefined;
|
|
158
|
+
alert?: undefined;
|
|
159
|
+
link?: undefined;
|
|
160
|
+
icon?: undefined;
|
|
161
|
+
inLabel?: undefined;
|
|
162
|
+
rating?: undefined;
|
|
163
|
+
isRating?: undefined;
|
|
164
|
+
} | {
|
|
165
|
+
label: string;
|
|
166
|
+
value: string;
|
|
167
|
+
isPrimary: boolean;
|
|
168
|
+
highlight?: undefined;
|
|
169
|
+
alert?: undefined;
|
|
170
|
+
link?: undefined;
|
|
171
|
+
icon?: undefined;
|
|
172
|
+
inLabel?: undefined;
|
|
173
|
+
rating?: undefined;
|
|
174
|
+
isRating?: undefined;
|
|
175
|
+
} | {
|
|
176
|
+
label: string;
|
|
177
|
+
value: string;
|
|
178
|
+
highlight: boolean;
|
|
179
|
+
alert: boolean;
|
|
180
|
+
isPrimary?: undefined;
|
|
181
|
+
link?: undefined;
|
|
182
|
+
icon?: undefined;
|
|
183
|
+
inLabel?: undefined;
|
|
184
|
+
rating?: undefined;
|
|
185
|
+
isRating?: undefined;
|
|
186
|
+
} | {
|
|
187
|
+
label: string;
|
|
188
|
+
value: string;
|
|
189
|
+
link: boolean;
|
|
190
|
+
isPrimary?: undefined;
|
|
191
|
+
highlight?: undefined;
|
|
192
|
+
alert?: undefined;
|
|
193
|
+
icon?: undefined;
|
|
194
|
+
inLabel?: undefined;
|
|
195
|
+
rating?: undefined;
|
|
196
|
+
isRating?: undefined;
|
|
197
|
+
} | {
|
|
198
|
+
label: string;
|
|
199
|
+
value: string;
|
|
200
|
+
alert: boolean;
|
|
201
|
+
isPrimary?: undefined;
|
|
202
|
+
highlight?: undefined;
|
|
203
|
+
link?: undefined;
|
|
204
|
+
icon?: undefined;
|
|
205
|
+
inLabel?: undefined;
|
|
206
|
+
rating?: undefined;
|
|
207
|
+
isRating?: undefined;
|
|
208
|
+
} | {
|
|
209
|
+
label: string;
|
|
210
|
+
value: string;
|
|
211
|
+
alert: boolean;
|
|
212
|
+
icon: string;
|
|
213
|
+
inLabel: boolean;
|
|
214
|
+
isPrimary?: undefined;
|
|
215
|
+
highlight?: undefined;
|
|
216
|
+
link?: undefined;
|
|
217
|
+
rating?: undefined;
|
|
218
|
+
isRating?: undefined;
|
|
219
|
+
} | {
|
|
220
|
+
label: string;
|
|
221
|
+
value: string;
|
|
222
|
+
isPrimary: boolean;
|
|
223
|
+
rating: string;
|
|
224
|
+
icon: string;
|
|
225
|
+
isRating: boolean;
|
|
226
|
+
highlight?: undefined;
|
|
227
|
+
alert?: undefined;
|
|
228
|
+
link?: undefined;
|
|
229
|
+
inLabel?: undefined;
|
|
230
|
+
})[];
|
|
231
|
+
viewAll: string;
|
|
232
|
+
} | {
|
|
233
|
+
title: string;
|
|
234
|
+
subtitle: {
|
|
235
|
+
label: string;
|
|
236
|
+
value: string;
|
|
237
|
+
color: string;
|
|
238
|
+
};
|
|
239
|
+
percentage: string;
|
|
240
|
+
fields: ({
|
|
241
|
+
label: string;
|
|
242
|
+
value: string;
|
|
243
|
+
highlight?: undefined;
|
|
244
|
+
alert?: undefined;
|
|
245
|
+
} | {
|
|
246
|
+
label: string;
|
|
247
|
+
value: string;
|
|
248
|
+
highlight: boolean;
|
|
249
|
+
alert?: undefined;
|
|
250
|
+
} | {
|
|
251
|
+
label: string;
|
|
252
|
+
value: string;
|
|
253
|
+
alert: boolean;
|
|
254
|
+
highlight?: undefined;
|
|
255
|
+
})[];
|
|
256
|
+
viewAll: string;
|
|
257
|
+
outOfTheBoxName?: undefined;
|
|
258
|
+
})[];
|
|
259
|
+
export declare const applicationWidgetList: {
|
|
260
|
+
title: string;
|
|
261
|
+
subtitle: {
|
|
262
|
+
label: string;
|
|
263
|
+
value: string;
|
|
264
|
+
color: string;
|
|
265
|
+
};
|
|
266
|
+
percentage: string;
|
|
267
|
+
fields: ({
|
|
268
|
+
label: string;
|
|
269
|
+
value: string;
|
|
270
|
+
isPrimary?: undefined;
|
|
271
|
+
highlight?: undefined;
|
|
272
|
+
alert?: undefined;
|
|
273
|
+
link?: undefined;
|
|
274
|
+
icon?: undefined;
|
|
275
|
+
inLabel?: undefined;
|
|
276
|
+
rating?: undefined;
|
|
277
|
+
isRating?: undefined;
|
|
278
|
+
} | {
|
|
279
|
+
label: string;
|
|
280
|
+
value: string;
|
|
281
|
+
isPrimary: boolean;
|
|
282
|
+
highlight?: undefined;
|
|
283
|
+
alert?: undefined;
|
|
284
|
+
link?: undefined;
|
|
285
|
+
icon?: undefined;
|
|
286
|
+
inLabel?: undefined;
|
|
287
|
+
rating?: undefined;
|
|
288
|
+
isRating?: undefined;
|
|
289
|
+
} | {
|
|
290
|
+
label: string;
|
|
291
|
+
value: string;
|
|
292
|
+
highlight: boolean;
|
|
293
|
+
alert: boolean;
|
|
294
|
+
isPrimary?: undefined;
|
|
295
|
+
link?: undefined;
|
|
296
|
+
icon?: undefined;
|
|
297
|
+
inLabel?: undefined;
|
|
298
|
+
rating?: undefined;
|
|
299
|
+
isRating?: undefined;
|
|
300
|
+
} | {
|
|
301
|
+
label: string;
|
|
302
|
+
value: string;
|
|
303
|
+
link: boolean;
|
|
304
|
+
isPrimary?: undefined;
|
|
305
|
+
highlight?: undefined;
|
|
306
|
+
alert?: undefined;
|
|
307
|
+
icon?: undefined;
|
|
308
|
+
inLabel?: undefined;
|
|
309
|
+
rating?: undefined;
|
|
310
|
+
isRating?: undefined;
|
|
311
|
+
} | {
|
|
312
|
+
label: string;
|
|
313
|
+
value: string;
|
|
314
|
+
alert: boolean;
|
|
315
|
+
isPrimary?: undefined;
|
|
316
|
+
highlight?: undefined;
|
|
317
|
+
link?: undefined;
|
|
318
|
+
icon?: undefined;
|
|
319
|
+
inLabel?: undefined;
|
|
320
|
+
rating?: undefined;
|
|
321
|
+
isRating?: undefined;
|
|
322
|
+
} | {
|
|
323
|
+
label: string;
|
|
324
|
+
value: string;
|
|
325
|
+
alert: boolean;
|
|
326
|
+
icon: string;
|
|
327
|
+
inLabel: boolean;
|
|
328
|
+
isPrimary?: undefined;
|
|
329
|
+
highlight?: undefined;
|
|
330
|
+
link?: undefined;
|
|
331
|
+
rating?: undefined;
|
|
332
|
+
isRating?: undefined;
|
|
333
|
+
} | {
|
|
334
|
+
label: string;
|
|
335
|
+
value: string;
|
|
336
|
+
isPrimary: boolean;
|
|
337
|
+
rating: string;
|
|
338
|
+
icon: string;
|
|
339
|
+
isRating: boolean;
|
|
340
|
+
highlight?: undefined;
|
|
341
|
+
alert?: undefined;
|
|
342
|
+
link?: undefined;
|
|
343
|
+
inLabel?: undefined;
|
|
344
|
+
})[];
|
|
345
|
+
viewAll: string;
|
|
346
|
+
}[];
|
|
347
|
+
export declare const applicantWidgetList: ({
|
|
348
|
+
title: string;
|
|
349
|
+
badge: string;
|
|
350
|
+
badgeIcon: string;
|
|
351
|
+
percentage: string;
|
|
352
|
+
subtitle: {
|
|
353
|
+
label: string;
|
|
354
|
+
value: string;
|
|
355
|
+
color: string;
|
|
356
|
+
};
|
|
357
|
+
fields: ({
|
|
358
|
+
label: string;
|
|
359
|
+
value: string;
|
|
360
|
+
alert?: undefined;
|
|
361
|
+
isUnderline?: undefined;
|
|
362
|
+
icon?: undefined;
|
|
363
|
+
link?: undefined;
|
|
364
|
+
} | {
|
|
365
|
+
label: string;
|
|
366
|
+
value: string;
|
|
367
|
+
alert: boolean;
|
|
368
|
+
isUnderline: boolean;
|
|
369
|
+
icon?: undefined;
|
|
370
|
+
link?: undefined;
|
|
371
|
+
} | {
|
|
372
|
+
label: string;
|
|
373
|
+
value: string;
|
|
374
|
+
icon: string;
|
|
375
|
+
alert: boolean;
|
|
376
|
+
isUnderline: boolean;
|
|
377
|
+
link?: undefined;
|
|
378
|
+
} | {
|
|
379
|
+
label: string;
|
|
380
|
+
value: string;
|
|
381
|
+
link: boolean;
|
|
382
|
+
alert?: undefined;
|
|
383
|
+
isUnderline?: undefined;
|
|
384
|
+
icon?: undefined;
|
|
385
|
+
})[];
|
|
386
|
+
viewAll: string;
|
|
387
|
+
} | {
|
|
388
|
+
title: string;
|
|
389
|
+
badge: string;
|
|
390
|
+
badgeIcon: string;
|
|
391
|
+
percentage: string;
|
|
392
|
+
subtitle: {
|
|
393
|
+
label: string;
|
|
394
|
+
value: string;
|
|
395
|
+
color: string;
|
|
396
|
+
};
|
|
397
|
+
fields: ({
|
|
398
|
+
label: string;
|
|
399
|
+
value: string;
|
|
400
|
+
isUnderline?: undefined;
|
|
401
|
+
link?: undefined;
|
|
402
|
+
} | {
|
|
403
|
+
label: string;
|
|
404
|
+
value: string;
|
|
405
|
+
isUnderline: boolean;
|
|
406
|
+
link: boolean;
|
|
407
|
+
} | {
|
|
408
|
+
label: string;
|
|
409
|
+
value: string;
|
|
410
|
+
isUnderline: boolean;
|
|
411
|
+
link?: undefined;
|
|
412
|
+
} | {
|
|
413
|
+
label: string;
|
|
414
|
+
value: string;
|
|
415
|
+
link: boolean;
|
|
416
|
+
isUnderline?: undefined;
|
|
417
|
+
})[];
|
|
418
|
+
viewAll: string;
|
|
419
|
+
})[];
|
|
420
|
+
export declare const companyWidget: {
|
|
421
|
+
title: string;
|
|
422
|
+
badge: string;
|
|
423
|
+
badgeIcon: string;
|
|
424
|
+
percentage: string;
|
|
425
|
+
riskRating: string;
|
|
426
|
+
subtitle: {
|
|
427
|
+
label: string;
|
|
428
|
+
value: string;
|
|
429
|
+
color: string;
|
|
430
|
+
};
|
|
431
|
+
dataItems: ({
|
|
432
|
+
key: string;
|
|
433
|
+
value: string;
|
|
434
|
+
style: string;
|
|
435
|
+
alert?: undefined;
|
|
436
|
+
} | {
|
|
437
|
+
key: string;
|
|
438
|
+
value: string;
|
|
439
|
+
alert: boolean;
|
|
440
|
+
style: string;
|
|
441
|
+
})[];
|
|
442
|
+
viewAll: string;
|
|
443
|
+
}[];
|
|
444
|
+
export declare const propertyDetailsWidgetList: {
|
|
445
|
+
title: string;
|
|
446
|
+
badge: string;
|
|
447
|
+
badgeIcon: string;
|
|
448
|
+
percentage: string;
|
|
449
|
+
subtitle: {
|
|
450
|
+
label: string;
|
|
451
|
+
value: string;
|
|
452
|
+
color: string;
|
|
453
|
+
verified: boolean;
|
|
454
|
+
};
|
|
455
|
+
fields: ({
|
|
456
|
+
label: string;
|
|
457
|
+
value: string;
|
|
458
|
+
isLabelLink?: undefined;
|
|
459
|
+
icon?: undefined;
|
|
460
|
+
} | {
|
|
461
|
+
label: string;
|
|
462
|
+
value?: undefined;
|
|
463
|
+
isLabelLink?: undefined;
|
|
464
|
+
icon?: undefined;
|
|
465
|
+
} | {
|
|
466
|
+
label: string;
|
|
467
|
+
isLabelLink: boolean;
|
|
468
|
+
icon: string;
|
|
469
|
+
value?: undefined;
|
|
470
|
+
})[];
|
|
471
|
+
viewAll: string;
|
|
472
|
+
}[];
|
|
473
|
+
export declare const offerWidgetList: {
|
|
474
|
+
title: string;
|
|
475
|
+
badge: string;
|
|
476
|
+
badgeIcon: string;
|
|
477
|
+
statusList: ({
|
|
478
|
+
description: string;
|
|
479
|
+
status: string;
|
|
480
|
+
title?: undefined;
|
|
481
|
+
textColor?: undefined;
|
|
482
|
+
} | {
|
|
483
|
+
title: string;
|
|
484
|
+
description: string;
|
|
485
|
+
status: string;
|
|
486
|
+
textColor: string;
|
|
487
|
+
})[];
|
|
488
|
+
viewAll: string;
|
|
489
|
+
}[];
|
|
490
|
+
export declare const valuationWidgetList: {
|
|
491
|
+
title: string;
|
|
492
|
+
badge: string;
|
|
493
|
+
badgeIcon: string;
|
|
494
|
+
statusList: ({
|
|
495
|
+
description: string;
|
|
496
|
+
status: string;
|
|
497
|
+
title?: undefined;
|
|
498
|
+
textColor?: undefined;
|
|
499
|
+
} | {
|
|
500
|
+
title: string;
|
|
501
|
+
description: string;
|
|
502
|
+
status: string;
|
|
503
|
+
textColor: string;
|
|
504
|
+
})[];
|
|
505
|
+
}[];
|
|
506
|
+
export declare const stageTimelineList: {
|
|
507
|
+
title: string;
|
|
508
|
+
description: string;
|
|
509
|
+
footerText: string;
|
|
510
|
+
isLast: boolean;
|
|
511
|
+
}[];
|
|
512
|
+
export declare const saleHistoryTimelineList: {
|
|
513
|
+
floorArea: string;
|
|
514
|
+
propertyType: string;
|
|
515
|
+
}[];
|
|
516
|
+
export declare const navigationTimelineList: ({
|
|
517
|
+
title: string;
|
|
518
|
+
status: string;
|
|
519
|
+
textColor: string;
|
|
520
|
+
} | {
|
|
521
|
+
title: string;
|
|
522
|
+
status: string;
|
|
523
|
+
textColor?: undefined;
|
|
524
|
+
})[];
|
|
525
|
+
export declare const notesPanelList: {
|
|
526
|
+
title: string;
|
|
527
|
+
date: string;
|
|
528
|
+
description: string;
|
|
529
|
+
}[];
|
|
530
|
+
export declare const rationalItems: {
|
|
531
|
+
title: string;
|
|
532
|
+
isOpen: boolean;
|
|
533
|
+
status: string;
|
|
534
|
+
}[];
|
|
535
|
+
export declare const rationalListItems: {
|
|
536
|
+
title: string;
|
|
537
|
+
isOpen: boolean;
|
|
538
|
+
data: string;
|
|
539
|
+
status: string;
|
|
540
|
+
width: string;
|
|
541
|
+
}[];
|
|
542
|
+
export declare const alertList: string[];
|
|
543
|
+
export declare const applicantAlertList: string[];
|
|
544
|
+
export declare const applicationAlertList: string[];
|
|
545
|
+
export declare const I2RAlert: string[];
|
|
546
|
+
export declare const commitments: string[];
|
|
547
|
+
export declare const incomeDetailAlert: string[];
|
|
548
|
+
export declare const checkListStaticData: {
|
|
549
|
+
list: string;
|
|
550
|
+
type: string;
|
|
551
|
+
date: string;
|
|
552
|
+
status: string;
|
|
553
|
+
}[];
|
|
144
554
|
export declare const actionHiddenHeaderList: string[];
|
|
145
555
|
export declare const actionList: {
|
|
146
556
|
action: string;
|
package/package.json
CHANGED