cat-qw-lib 0.43.68 → 0.43.70
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/fesm2022/cat-qw-lib.mjs
CHANGED
|
@@ -1226,33 +1226,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImpor
|
|
|
1226
1226
|
class FormStateService {
|
|
1227
1227
|
formChangesSubject$;
|
|
1228
1228
|
isFormNavigating$;
|
|
1229
|
-
isBrowserEvent$;
|
|
1230
1229
|
isShowConfirmation$;
|
|
1231
|
-
isShowBrowserConfirmation$;
|
|
1232
|
-
initialRecord$;
|
|
1233
1230
|
constructor() {
|
|
1234
1231
|
this.formChangesSubject$ = new BehaviorSubject(false);
|
|
1235
1232
|
this.isFormNavigating$ = new BehaviorSubject(false);
|
|
1236
|
-
this.isBrowserEvent$ = new BehaviorSubject(false);
|
|
1237
1233
|
this.isShowConfirmation$ = new BehaviorSubject(false);
|
|
1238
|
-
this.isShowBrowserConfirmation$ = new BehaviorSubject(false);
|
|
1239
|
-
this.initialRecord$ = new BehaviorSubject({});
|
|
1240
1234
|
}
|
|
1241
1235
|
setIsFormNavigating(isNavigation) {
|
|
1242
1236
|
this.isFormNavigating$.next(isNavigation);
|
|
1243
1237
|
}
|
|
1244
|
-
setIsBrowserEvent(isNavigation) {
|
|
1245
|
-
this.isBrowserEvent$.next(isNavigation);
|
|
1246
|
-
}
|
|
1247
|
-
getIsBrowserEvent() {
|
|
1248
|
-
return this.isBrowserEvent$.getValue();
|
|
1249
|
-
}
|
|
1250
1238
|
getIsFormNavigating() {
|
|
1251
1239
|
return this.isFormNavigating$.getValue();
|
|
1252
1240
|
}
|
|
1253
|
-
selectIsBrowserEvent() {
|
|
1254
|
-
return this.isBrowserEvent$.asObservable();
|
|
1255
|
-
}
|
|
1256
1241
|
selectIsFormNavigating() {
|
|
1257
1242
|
return this.isFormNavigating$.asObservable();
|
|
1258
1243
|
}
|
|
@@ -1271,18 +1256,6 @@ class FormStateService {
|
|
|
1271
1256
|
selectShowConfirmation() {
|
|
1272
1257
|
return this.isShowConfirmation$.asObservable();
|
|
1273
1258
|
}
|
|
1274
|
-
setInitialRecord(value) {
|
|
1275
|
-
return this.initialRecord$.next(value);
|
|
1276
|
-
}
|
|
1277
|
-
selectInitialRecord() {
|
|
1278
|
-
return this.initialRecord$.asObservable();
|
|
1279
|
-
}
|
|
1280
|
-
setShowBroswerConfirmDialog(value) {
|
|
1281
|
-
return this.isShowBrowserConfirmation$.next(value);
|
|
1282
|
-
}
|
|
1283
|
-
selectShowBroswerConfirmDialog() {
|
|
1284
|
-
return this.isShowBrowserConfirmation$.asObservable();
|
|
1285
|
-
}
|
|
1286
1259
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: FormStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1287
1260
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: FormStateService, providedIn: 'root' });
|
|
1288
1261
|
}
|
|
@@ -1475,7 +1448,6 @@ class BaseFormComponent {
|
|
|
1475
1448
|
this.baseStore.setAttributeModelList([]);
|
|
1476
1449
|
this.baseStore.setIsApiValidated(null);
|
|
1477
1450
|
this.baseStore?.setIsShowMessage(null);
|
|
1478
|
-
console.log(this.currentState);
|
|
1479
1451
|
}
|
|
1480
1452
|
this.destroy$.next();
|
|
1481
1453
|
this.destroy$.complete();
|
|
@@ -2061,7 +2033,7 @@ class BaseContainerComponent {
|
|
|
2061
2033
|
this.service = service;
|
|
2062
2034
|
}
|
|
2063
2035
|
init() {
|
|
2064
|
-
this.service.initList()
|
|
2036
|
+
// this.service.initList()
|
|
2065
2037
|
}
|
|
2066
2038
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: BaseContainerComponent, deps: [{ token: BaseService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2067
2039
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.4", type: BaseContainerComponent, isStandalone: true, selector: "lib-base-container", ngImport: i0, template: "<p>base-container works!</p>\r\n", styles: [""] });
|
|
@@ -3189,11 +3161,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImpor
|
|
|
3189
3161
|
type: Input
|
|
3190
3162
|
}] } });
|
|
3191
3163
|
|
|
3192
|
-
class QueueAdminListComponent
|
|
3164
|
+
class QueueAdminListComponent {
|
|
3193
3165
|
queueStore;
|
|
3194
3166
|
queueService;
|
|
3195
3167
|
constructor(queueStore, queueService) {
|
|
3196
|
-
super(queueService);
|
|
3197
3168
|
this.queueStore = queueStore;
|
|
3198
3169
|
this.queueService = queueService;
|
|
3199
3170
|
}
|
|
@@ -3201,7 +3172,6 @@ class QueueAdminListComponent extends BaseContainerComponent {
|
|
|
3201
3172
|
selectedQueue;
|
|
3202
3173
|
queueId;
|
|
3203
3174
|
ngOnInit() {
|
|
3204
|
-
this.init();
|
|
3205
3175
|
this.getAllQueueList();
|
|
3206
3176
|
}
|
|
3207
3177
|
getAllQueueList() {
|
|
@@ -3225,7 +3195,7 @@ class QueueAdminListComponent extends BaseContainerComponent {
|
|
|
3225
3195
|
}
|
|
3226
3196
|
}
|
|
3227
3197
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: QueueAdminListComponent, deps: [{ token: QueueStore }, { token: QueueService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3228
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.4", type: QueueAdminListComponent, isStandalone: false, selector: "lib-queue-admin-list",
|
|
3198
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.4", type: QueueAdminListComponent, isStandalone: false, selector: "lib-queue-admin-list", ngImport: i0, template: "<div class=\"container grid m-0\">\r\n <div class=\"col-12 xl:col-3 md:col-12\">\r\n <block-list\r\n [queueData]=\"queueList\"\r\n (queueDataById)=\"handleQueueId($event)\"\r\n ></block-list>\r\n </div>\r\n <div class=\"col-12 xl:col-3 md:col-12\">\r\n @if(selectedQueue){\r\n <div class=\"animation-duration-500 associated-list\">\r\n <queue-application-list\r\n [queueData]=\"selectedQueue\"\r\n ></queue-application-list>\r\n </div>\r\n }\r\n </div>\r\n \r\n <div class=\"xl:col-6 md:col-12\">\r\n <div class=\"searchbar-wrapper\">\r\n <queue-search-customer></queue-search-customer>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".custom-tabview .p-tabview-nav{display:flex}::ng-deep .custom-tabview .p-tabview-nav-content ul li{flex:1;max-width:25%}.scrollable{scroll-behavior:smooth;max-height:75vh}:host ::-webkit-scrollbar{width:6px}:host ::-webkit-scrollbar-track{background:transparent}:host ::-webkit-scrollbar-thumb{background-color:#868181;border-radius:20px}\n"], dependencies: [{ kind: "component", type: QueueSearchCustomerComponent, selector: "queue-search-customer" }, { kind: "component", type: BlockListComponent, selector: "block-list", inputs: ["queueData", "showQueueDataForm"], outputs: ["queueDataById"] }, { kind: "component", type: QueueApplicationListComponent, selector: "queue-application-list", inputs: ["queueData"] }] });
|
|
3229
3199
|
}
|
|
3230
3200
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: QueueAdminListComponent, decorators: [{
|
|
3231
3201
|
type: Component,
|