cat-qw-lib 0.0.0-watch
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 -0
- package/fesm2022/cat-qw-lib.mjs +3185 -0
- package/fesm2022/cat-qw-lib.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/admin/action-admin/action-admin.module.d.ts +14 -0
- package/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.d.ts +27 -0
- package/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.d.ts +15 -0
- package/lib/admin/action-admin/models/admin-action.model.d.ts +11 -0
- package/lib/admin/action-admin/state/admin-action.service.d.ts +16 -0
- package/lib/admin/action-admin/state/admin-action.store.d.ts +8 -0
- package/lib/admin/api-admin/api-admin.module.d.ts +17 -0
- package/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.d.ts +35 -0
- package/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.d.ts +15 -0
- package/lib/admin/api-admin/models/api-config.model.d.ts +17 -0
- package/lib/admin/api-admin/state/api-admin.service.d.ts +19 -0
- package/lib/admin/api-admin/state/api-admin.store.d.ts +8 -0
- package/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.d.ts +35 -0
- package/lib/admin/dd-admin/components/dd-admin-item-form/dd-admin-item-form.component.d.ts +27 -0
- package/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.d.ts +13 -0
- package/lib/admin/dd-admin/dd-admin.module.d.ts +20 -0
- package/lib/admin/dd-admin/models/api-property.model.d.ts +6 -0
- package/lib/admin/dd-admin/models/dd-attribute-sidebar-view.model.d.ts +4 -0
- package/lib/admin/dd-admin/models/dictionary.model.d.ts +13 -0
- package/lib/admin/dd-admin/state/dictionary.query.d.ts +16 -0
- package/lib/admin/dd-admin/state/dictionary.service.d.ts +17 -0
- package/lib/admin/dd-admin/state/dictionary.state.d.ts +13 -0
- package/lib/admin/dd-admin/state/dictionary.store.d.ts +10 -0
- package/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.d.ts +33 -0
- package/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.d.ts +18 -0
- package/lib/admin/queue-admin/components/queue-application-list/queue-application-list.component.d.ts +28 -0
- package/lib/admin/queue-admin/models/queue.model.d.ts +13 -0
- package/lib/admin/queue-admin/queue-admin-routing.module.d.ts +7 -0
- package/lib/admin/queue-admin/queue-admin.module.d.ts +15 -0
- package/lib/admin/queue-admin/state/queue.query.d.ts +10 -0
- package/lib/admin/queue-admin/state/queue.service.d.ts +16 -0
- package/lib/admin/queue-admin/state/queue.state.d.ts +6 -0
- package/lib/admin/queue-admin/state/queue.store.d.ts +8 -0
- package/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.d.ts +38 -0
- package/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.d.ts +14 -0
- package/lib/admin/widget-admin/models/widget.model.d.ts +27 -0
- package/lib/admin/widget-admin/state/widget-admin.query.d.ts +13 -0
- package/lib/admin/widget-admin/state/widget-admin.service.d.ts +17 -0
- package/lib/admin/widget-admin/state/widget-admin.store.d.ts +11 -0
- package/lib/admin/widget-admin/widget-admin.module.d.ts +20 -0
- package/lib/shared/_base/base-container/base-container.component.d.ts +10 -0
- package/lib/shared/_base/base-control/base-control.component.d.ts +22 -0
- package/lib/shared/_base/base-form/base-form.component.d.ts +34 -0
- package/lib/shared/_base/base-list/base-list.component.d.ts +22 -0
- package/lib/shared/components/form-container/form-container.component.d.ts +21 -0
- package/lib/shared/components/list/block-list.component.d.ts +16 -0
- package/lib/shared/components/queue-search-customer/queue-search-customer.component.d.ts +10 -0
- package/lib/shared/components/sidebar/sidebar.component.d.ts +13 -0
- package/lib/shared/constant/CSS.d.ts +11 -0
- package/lib/shared/constant/DATASOURCES.d.ts +15 -0
- package/lib/shared/constant/ERROR.d.ts +15 -0
- package/lib/shared/constant/HEADERS.d.ts +4 -0
- package/lib/shared/constant/LIST-CONFIG.d.ts +7 -0
- package/lib/shared/constant/LOOKUPS.d.ts +3 -0
- package/lib/shared/constant/MESSAGES.d.ts +6 -0
- package/lib/shared/constant/ROUTES.d.ts +13 -0
- package/lib/shared/constant/SHARED.d.ts +183 -0
- package/lib/shared/constant/URLS.d.ts +7 -0
- package/lib/shared/controls/button/button.component.d.ts +6 -0
- package/lib/shared/controls/check-box/check-box.component.d.ts +9 -0
- package/lib/shared/controls/date/date.component.d.ts +12 -0
- package/lib/shared/controls/dropdown/dropdown.component.d.ts +22 -0
- package/lib/shared/controls/file-upload/file-upload.component.d.ts +7 -0
- package/lib/shared/controls/password/password.component.d.ts +9 -0
- package/lib/shared/controls/text-area/text-area.component.d.ts +8 -0
- package/lib/shared/controls/text-box/text-box.component.d.ts +7 -0
- package/lib/shared/controls/username/username.component.d.ts +6 -0
- package/lib/shared/index.d.ts +31 -0
- package/lib/shared/models/attribute.model.d.ts +43 -0
- package/lib/shared/models/base.model.d.ts +3 -0
- package/lib/shared/models/list.model.d.ts +11 -0
- package/lib/shared/pipe/capitalize-words.pipe.d.ts +7 -0
- package/lib/shared/services/app-config.service.d.ts +18 -0
- package/lib/shared/services/auth/auth.guard.d.ts +12 -0
- package/lib/shared/services/data-transformer.service.d.ts +8 -0
- package/lib/shared/services/date-parser.service.d.ts +7 -0
- package/lib/shared/services/list.service.d.ts +13 -0
- package/lib/shared/services/session.service.d.ts +13 -0
- package/lib/shared/services/table.builder.d.ts +14 -0
- package/lib/shared/services/validator.service.d.ts +7 -0
- package/lib/shared/shared.module.d.ts +35 -0
- package/lib/shared/state/base.query.d.ts +23 -0
- package/lib/shared/state/base.service.d.ts +27 -0
- package/lib/shared/state/base.state.d.ts +4 -0
- package/lib/shared/state/base.store.d.ts +27 -0
- package/lib/shared/table-primary/components/table-primary.component.d.ts +26 -0
- package/lib/shared/table-primary/models/table-primary-header.model.d.ts +6 -0
- package/lib/shared/table-primary/models/table-primary.model.d.ts +5 -0
- package/lib/widget/components/widget-body/widget-body.component.d.ts +7 -0
- package/lib/widget/components/widget-container/widget-container.component.d.ts +17 -0
- package/lib/widget/components/widget-footer/widget-footer.component.d.ts +11 -0
- package/lib/widget/components/widget-header/widget-header.component.d.ts +7 -0
- package/lib/widget/components/widget-item/widget-item.component.d.ts +7 -0
- package/lib/widget/models/widget.model.d.ts +13 -0
- package/lib/widget/state/widget.query.d.ts +15 -0
- package/lib/widget/state/widget.service.d.ts +18 -0
- package/lib/widget/state/widget.store.d.ts +14 -0
- package/lib/widget/widget.module.d.ts +17 -0
- package/package.json +25 -0
- package/public-api.d.ts +18 -0
- package/src/assets/config/api.config.json +7 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { WidgetItemModel, WidgetModel } from '../../models/widget.model';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { BaseFormComponent } from '../../../../shared';
|
|
5
|
+
import { WidgetAdminService } from '../../state/widget-admin.service';
|
|
6
|
+
import { WidgetAdminQuery } from '../../state/widget-admin.query';
|
|
7
|
+
import { WidgetAdminStore } from '../../state/widget-admin.store';
|
|
8
|
+
import { ValidatorService } from '../../../../shared/services/validator.service';
|
|
9
|
+
import { SelectItem } from 'primeng/api';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* WidgetAdminFormComponent
|
|
13
|
+
*/
|
|
14
|
+
export declare class WidgetAdminFormComponent extends BaseFormComponent<WidgetModel> implements OnInit {
|
|
15
|
+
service: WidgetAdminService;
|
|
16
|
+
validatorService: ValidatorService;
|
|
17
|
+
widgetStore: WidgetAdminStore;
|
|
18
|
+
private query;
|
|
19
|
+
router: Router;
|
|
20
|
+
activatedRoute: ActivatedRoute;
|
|
21
|
+
widgetItem: WidgetItemModel;
|
|
22
|
+
widgetItems: WidgetItemModel[];
|
|
23
|
+
dictionaries: any[];
|
|
24
|
+
headerDictionaryItems: any[];
|
|
25
|
+
subHeaderDictionaryItems: any[];
|
|
26
|
+
dictionaryItemArray: any[][];
|
|
27
|
+
widgetOptionsArray: SelectItem[];
|
|
28
|
+
constructor(service: WidgetAdminService, validatorService: ValidatorService, widgetStore: WidgetAdminStore, query: WidgetAdminQuery, router: Router, activatedRoute: ActivatedRoute);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
handleWidgetItemAddBtnClick(): void;
|
|
31
|
+
handleQueueChange(event: any): void;
|
|
32
|
+
handleHeaderDictionarySelect(dictionaryId: string): void;
|
|
33
|
+
handleSubHeaderDictionarySelect(dictionaryId: any): void;
|
|
34
|
+
handleWidgetItemDictionarySelect(dictionaryId: any, index: number): void;
|
|
35
|
+
handleDeleteRecord(index: number): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAdminFormComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetAdminFormComponent, "lib-widget-admin-form", never, {}, {}, never, never, false, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseListComponent, TableBuilder } from '../../../../shared';
|
|
2
|
+
import { WidgetModel } from '../../models/widget.model';
|
|
3
|
+
import { WidgetAdminService } from '../../state/widget-admin.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Widget Admin List Component
|
|
7
|
+
*/
|
|
8
|
+
export declare class WidgetAdminListComponent extends BaseListComponent<WidgetModel> {
|
|
9
|
+
private tableBuilder;
|
|
10
|
+
constructor(widgetAdminService: WidgetAdminService, tableBuilder: TableBuilder);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAdminListComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetAdminListComponent, "lib-widget-admin-list", never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BaseModel } from "../../../shared";
|
|
2
|
+
/**
|
|
3
|
+
* WidgetModel class represents the model of a widget.
|
|
4
|
+
*/
|
|
5
|
+
export declare class WidgetModel extends BaseModel {
|
|
6
|
+
name: string;
|
|
7
|
+
queueID: string;
|
|
8
|
+
dataItems: WidgetItemModel[];
|
|
9
|
+
order?: number;
|
|
10
|
+
headerDictionaryID: string;
|
|
11
|
+
subHeaderDictionaryID: string;
|
|
12
|
+
headerDictionaryItemID: string;
|
|
13
|
+
subHeaderDictionaryItemID: string;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* WidgetItemModel class represents the model of a widget item.
|
|
18
|
+
*/
|
|
19
|
+
export declare class WidgetItemModel extends BaseModel {
|
|
20
|
+
name: string;
|
|
21
|
+
dictionaryItemID: string;
|
|
22
|
+
dictionaryID: string;
|
|
23
|
+
isMain: boolean;
|
|
24
|
+
isEditable: boolean;
|
|
25
|
+
linkedWidgetID: string;
|
|
26
|
+
isActive: boolean;
|
|
27
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseQuery } from '../../../shared';
|
|
2
|
+
import { WidgetModel } from '../models/widget.model';
|
|
3
|
+
import { WidgetAdminStore } from './widget-admin.store';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Widget Admin Query
|
|
7
|
+
*/
|
|
8
|
+
export declare class WidgetAdminQuery extends BaseQuery<WidgetModel> {
|
|
9
|
+
protected store: WidgetAdminStore;
|
|
10
|
+
constructor(store: WidgetAdminStore);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAdminQuery, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetAdminQuery>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { AppConfigService, BaseService } from '../../../shared';
|
|
3
|
+
import { ListService } from '../../../shared/services/list.service';
|
|
4
|
+
import { WidgetAdminStore } from './widget-admin.store';
|
|
5
|
+
import { WidgetModel } from '../models/widget.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Service for managing widget configurations.
|
|
9
|
+
*/
|
|
10
|
+
export declare class WidgetAdminService extends BaseService<WidgetModel> {
|
|
11
|
+
protected apiManagementStore: WidgetAdminStore;
|
|
12
|
+
private configService;
|
|
13
|
+
constructor(http: HttpClient, apiManagementStore: WidgetAdminStore, configService: AppConfigService, listService: ListService);
|
|
14
|
+
protected list: any;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAdminService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetAdminService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseStore } from '../../../shared';
|
|
2
|
+
import { WidgetModel } from '../models/widget.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Widget Admin Store
|
|
6
|
+
*/
|
|
7
|
+
export declare class WidgetAdminStore extends BaseStore<WidgetModel> {
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAdminStore, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WidgetAdminStore>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./components/widget-admin-list/widget-admin-list.component";
|
|
3
|
+
import * as i2 from "./components/widget-admin-form/widget-admin-form.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../../shared/shared.module";
|
|
7
|
+
import * as i6 from "../../shared/table-primary/components/table-primary.component";
|
|
8
|
+
import * as i7 from "../../shared/controls/dropdown/dropdown.component";
|
|
9
|
+
import * as i8 from "../../shared/controls/check-box/check-box.component";
|
|
10
|
+
import * as i9 from "../../shared/controls/button/button.component";
|
|
11
|
+
import * as i10 from "primeng/button";
|
|
12
|
+
import * as i11 from "../../shared/controls/text-box/text-box.component";
|
|
13
|
+
/**
|
|
14
|
+
* Module for managing widgets.
|
|
15
|
+
*/
|
|
16
|
+
export declare class QWWidgetAdminModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QWWidgetAdminModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<QWWidgetAdminModule, [typeof i1.WidgetAdminListComponent, typeof i2.WidgetAdminFormComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.SharedModule, typeof i6.TablePrimaryComponent, typeof i7.DropdownComponent, typeof i8.CheckBoxComponent, typeof i9.ButtonComponent, typeof i10.ButtonModule, typeof i11.TextBoxComponent], [typeof i1.WidgetAdminListComponent, typeof i2.WidgetAdminFormComponent]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<QWWidgetAdminModule>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseService } from '../../state/base.service';
|
|
2
|
+
import { BaseModel } from '../../models/base.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BaseContainerComponent<T extends BaseModel> {
|
|
5
|
+
protected service: BaseService<T>;
|
|
6
|
+
constructor(service: BaseService<T>);
|
|
7
|
+
init(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseContainerComponent<any>, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseContainerComponent<any>, "lib-base-container", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges } from '@angular/core';
|
|
2
|
+
import { AttributeModel } from '../../models/attribute.model';
|
|
3
|
+
import { BaseQuery } from '../../state/base.query';
|
|
4
|
+
import { BaseStore } from '../../state/base.store';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BaseControlComponent implements OnChanges {
|
|
7
|
+
constructor();
|
|
8
|
+
store: BaseStore<any> | null;
|
|
9
|
+
record: any;
|
|
10
|
+
attributeModel: AttributeModel;
|
|
11
|
+
error: string;
|
|
12
|
+
onInput: EventEmitter<any>;
|
|
13
|
+
onEnterKeydown: EventEmitter<any>;
|
|
14
|
+
onBtnClick: EventEmitter<any>;
|
|
15
|
+
query: BaseQuery<any>;
|
|
16
|
+
ngOnChanges(): void;
|
|
17
|
+
handleModelChange(event: any, valid: boolean | null, val?: any): void;
|
|
18
|
+
handleButtonClick(event: MouseEvent): void;
|
|
19
|
+
getValue(): string | null | undefined;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseControlComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseControlComponent, "app-base-control", never, { "store": { "alias": "store"; "required": false; }; "record": { "alias": "record"; "required": false; }; "attributeModel": { "alias": "attributeModel"; "required": false; }; "error": { "alias": "error"; "required": false; }; }, { "onInput": "onInput"; "onEnterKeydown": "onEnterKeydown"; "onBtnClick": "onBtnClick"; }, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
3
|
+
import { ValidatorService } from '../../services/validator.service';
|
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
|
+
import { AttributeModel } from '../../models/attribute.model';
|
|
6
|
+
import { BaseModel } from '../../models/base.model';
|
|
7
|
+
import { BaseStore } from '../../state/base.store';
|
|
8
|
+
import { BaseService } from '../../state/base.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* BaseFormComponent
|
|
12
|
+
*/
|
|
13
|
+
export declare class BaseFormComponent<T extends BaseModel> {
|
|
14
|
+
protected service: BaseService<T>;
|
|
15
|
+
protected validatorService?: ValidatorService | undefined;
|
|
16
|
+
protected router?: Router | undefined;
|
|
17
|
+
protected activatedRoute?: ActivatedRoute | undefined;
|
|
18
|
+
protected baseStore?: BaseStore<T> | undefined;
|
|
19
|
+
protected subscriptions: Subscription[];
|
|
20
|
+
record: T;
|
|
21
|
+
recordChange: BehaviorSubject<any>;
|
|
22
|
+
onSave: EventEmitter<any>;
|
|
23
|
+
onCancel: EventEmitter<any>;
|
|
24
|
+
constructor(service: BaseService<T>, validatorService?: ValidatorService | undefined, router?: Router | undefined, activatedRoute?: ActivatedRoute | undefined, baseStore?: BaseStore<T> | undefined);
|
|
25
|
+
message: any[];
|
|
26
|
+
attributeMode: AttributeModel;
|
|
27
|
+
init(): void;
|
|
28
|
+
handleSubmit(): void;
|
|
29
|
+
handleUpdateRecord(): void;
|
|
30
|
+
handleAddRecord(): void;
|
|
31
|
+
handleCancel(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormComponent<any>, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormComponent<any>, "base-form", never, {}, { "onSave": "onSave"; "onCancel": "onCancel"; }, never, never, true, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { BaseModel } from '../../models/base.model';
|
|
3
|
+
import { TableBuilder } from '../../services/table.builder';
|
|
4
|
+
import { BaseService } from '../../state/base.service';
|
|
5
|
+
import { TablePrimaryModel } from '../../table-primary/models/table-primary.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* BaseListComponent is a generic class that provides a base implementation for a list component.
|
|
9
|
+
*/
|
|
10
|
+
export declare class BaseListComponent<T extends BaseModel> implements OnChanges {
|
|
11
|
+
protected service: BaseService<T>;
|
|
12
|
+
protected builder: TableBuilder;
|
|
13
|
+
refreshTable: boolean;
|
|
14
|
+
table: TablePrimaryModel;
|
|
15
|
+
constructor(service: BaseService<T>, builder: TableBuilder);
|
|
16
|
+
ngOnChanges(): void;
|
|
17
|
+
init(dynamicWidth?: any): void;
|
|
18
|
+
afterTableBuild(): void;
|
|
19
|
+
handleRefreshTable(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseListComponent<any>, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseListComponent<any>, "lib-base-list", never, { "refreshTable": { "alias": "refreshTable"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Message } from 'primeng/api';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FormContainerComponent {
|
|
6
|
+
private router;
|
|
7
|
+
private route;
|
|
8
|
+
messages: Message[];
|
|
9
|
+
record: any;
|
|
10
|
+
headerText: string | undefined;
|
|
11
|
+
showSave: boolean;
|
|
12
|
+
disableSaveButton: boolean;
|
|
13
|
+
onSave: EventEmitter<any>;
|
|
14
|
+
onCancel: EventEmitter<any>;
|
|
15
|
+
constructor(router: Router, route: ActivatedRoute);
|
|
16
|
+
handleSaveClick(): void;
|
|
17
|
+
handleCancelClick(): void;
|
|
18
|
+
handleCreateBtnClick(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormContainerComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormContainerComponent, "form-container", never, { "messages": { "alias": "messages"; "required": false; }; "record": { "alias": "record"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "showSave": { "alias": "showSave"; "required": false; }; "disableSaveButton": { "alias": "disableSaveButton"; "required": false; }; }, { "onSave": "onSave"; "onCancel": "onCancel"; }, never, ["[headerButtons]", "[headerButtons]", "*"], true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BlockListComponent {
|
|
5
|
+
router: Router;
|
|
6
|
+
queueData: any[];
|
|
7
|
+
showQueueDataForm: boolean;
|
|
8
|
+
queueDataById: EventEmitter<any>;
|
|
9
|
+
selectedQueueId: any;
|
|
10
|
+
constructor(router: Router);
|
|
11
|
+
ngOnChanges(): void;
|
|
12
|
+
insertQueue(): void;
|
|
13
|
+
handleQueueClick(queueId: any, showQueueDataForm: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BlockListComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BlockListComponent, "block-list", never, { "queueData": { "alias": "queueData"; "required": false; }; "showQueueDataForm": { "alias": "showQueueDataForm"; "required": false; }; }, { "queueDataById": "queueDataById"; }, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class QueueSearchCustomerComponent {
|
|
3
|
+
constructor();
|
|
4
|
+
queues: any[];
|
|
5
|
+
queueData: any[];
|
|
6
|
+
selectedQueue: any;
|
|
7
|
+
onSearch(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueueSearchCustomerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QueueSearchCustomerComponent, "queue-search-customer", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SidebarComponent {
|
|
4
|
+
private renderer;
|
|
5
|
+
isSidebarVisible: boolean;
|
|
6
|
+
title: string;
|
|
7
|
+
onClose: EventEmitter<any>;
|
|
8
|
+
constructor(renderer: Renderer2);
|
|
9
|
+
onSidebarShow(): void;
|
|
10
|
+
handleSidebarClose(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "sidebar", never, { "isSidebarVisible": { "alias": "isSidebarVisible"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "onClose": "onClose"; }, never, ["*"], false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This class is used to store the API Paths for the application
|
|
3
|
+
*/
|
|
4
|
+
export declare class DATASOURCES {
|
|
5
|
+
static QUEUES: string;
|
|
6
|
+
static DICTIONARY: string;
|
|
7
|
+
static ACTIONS: string;
|
|
8
|
+
static WIDGET: string;
|
|
9
|
+
static APIMANAGEMENT: string;
|
|
10
|
+
static APPLICATION: string;
|
|
11
|
+
static DOCUMETS: string;
|
|
12
|
+
static RATIONALE: string;
|
|
13
|
+
static QUEUESAPICONFIG: string;
|
|
14
|
+
static DELETEDICTIONARYITEM: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class ERROR {
|
|
2
|
+
static ERROR: string;
|
|
3
|
+
static VALIDATE_API_FAILED: string;
|
|
4
|
+
static VALIDATE_ACTION_API_FAILED: string;
|
|
5
|
+
static API_CONFIG_FAILED: string;
|
|
6
|
+
static API_CONFIG_LOADING_FAILED: string;
|
|
7
|
+
static API_NAME_NOT_SET: string;
|
|
8
|
+
static ERROR_FETCHING_DATA: string;
|
|
9
|
+
static UNABLE_TO_FETCH_QUEUE_LIST: string;
|
|
10
|
+
static NO_QUEUE_FOUND_WITH_ID: string;
|
|
11
|
+
static ERROR_FETCHING_WIDGET_DATA: string;
|
|
12
|
+
static ERROR_MISSING_PARAMETERS: string;
|
|
13
|
+
static INVALID_INDEX: string;
|
|
14
|
+
static ERROR_DELETE_DICTIONARY_ITEM: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class ROUTES {
|
|
2
|
+
static QUEUE_FORM: string;
|
|
3
|
+
static DICTIONARY_CREATE_FORM: string;
|
|
4
|
+
static DICTIONARY: string;
|
|
5
|
+
static APIMANAGEMENT: string;
|
|
6
|
+
static APICONFIG: string;
|
|
7
|
+
static VALIDATEAPI: string;
|
|
8
|
+
static APPLICATION: string;
|
|
9
|
+
static APIPROPERTIES: string;
|
|
10
|
+
static APPLICATION_WIDGET: string;
|
|
11
|
+
static DOCUMENTALERT: string;
|
|
12
|
+
static VALIDATE_ACTIONS: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
export declare class SHARED {
|
|
2
|
+
static EMPTY: string;
|
|
3
|
+
static REQUIRED_ERROR: string;
|
|
4
|
+
static EMPTYARRAY: never[];
|
|
5
|
+
static NULL: string;
|
|
6
|
+
static HIPHEN: string;
|
|
7
|
+
static SLASH: string;
|
|
8
|
+
static USERROLE: string;
|
|
9
|
+
static SESSIONKEY: string;
|
|
10
|
+
static SUCCESS: string;
|
|
11
|
+
static ERROR: string;
|
|
12
|
+
static ERROR_MESSAGE: string;
|
|
13
|
+
static SUCCESS_MESSAGE: string;
|
|
14
|
+
static DICTIONARY: string;
|
|
15
|
+
static TITLE: string;
|
|
16
|
+
static DICTIONARY_ITEM: string;
|
|
17
|
+
static DICTIONARY_ITEM_MAPPER: string;
|
|
18
|
+
static SIDEBAR_MASK: string;
|
|
19
|
+
static CUSTOMSIDEBAROVERLAY: string;
|
|
20
|
+
static ID: string;
|
|
21
|
+
static _ID: string;
|
|
22
|
+
static DATE_FORMAT: string;
|
|
23
|
+
static DATE_FORMAT_TYPE2: string;
|
|
24
|
+
static DATE_FORMAT_TYPE3: string;
|
|
25
|
+
static DATE_FORMAT_TYPE4: string;
|
|
26
|
+
static INVALIDDATE: string;
|
|
27
|
+
static __V: string;
|
|
28
|
+
static CREATEDAT: string;
|
|
29
|
+
static UPDATEDAT: string;
|
|
30
|
+
static ZERO: number;
|
|
31
|
+
static TYPE_OBJECT: string;
|
|
32
|
+
static DICTIONARYITEMS: string;
|
|
33
|
+
static GET_DATA_MESSAGE: {
|
|
34
|
+
severity: string;
|
|
35
|
+
detail: string;
|
|
36
|
+
life: number;
|
|
37
|
+
}[];
|
|
38
|
+
static PRIMARY: string;
|
|
39
|
+
static mappingInfo: string;
|
|
40
|
+
static YES: string;
|
|
41
|
+
static NO: string;
|
|
42
|
+
static selectedQueue: string;
|
|
43
|
+
static DASH: string;
|
|
44
|
+
static selectedApplication: string;
|
|
45
|
+
static selectedApplicationNumber: string;
|
|
46
|
+
static GREEN: string;
|
|
47
|
+
static RED: string;
|
|
48
|
+
static FROM_EMAIL: string;
|
|
49
|
+
static to_EMAIL: string;
|
|
50
|
+
static EMAIL: string;
|
|
51
|
+
static token: string;
|
|
52
|
+
static null: string;
|
|
53
|
+
static undefined: string;
|
|
54
|
+
static rationale: string;
|
|
55
|
+
static accepted: string;
|
|
56
|
+
static application: string;
|
|
57
|
+
static INVALID_API_PATH: string;
|
|
58
|
+
static WIDTH_AUTO: string;
|
|
59
|
+
static TRUE: boolean;
|
|
60
|
+
static FALSE: boolean;
|
|
61
|
+
static STRING_TRUE: string;
|
|
62
|
+
static STRING_FALSE: string;
|
|
63
|
+
static AND: string;
|
|
64
|
+
static STRING: string;
|
|
65
|
+
static OPERATORS: string[];
|
|
66
|
+
static STATUS_ACTIVE: string;
|
|
67
|
+
static TODAY: string;
|
|
68
|
+
static YESTERDAY: string;
|
|
69
|
+
static ALL: string;
|
|
70
|
+
static UK: string;
|
|
71
|
+
static INTERNATIONAL: string;
|
|
72
|
+
static QUEUE1: string;
|
|
73
|
+
static QUEUE2: string;
|
|
74
|
+
static QUEUE3: string;
|
|
75
|
+
static SELECTED_QUEUE: string;
|
|
76
|
+
static QUEUEID: string;
|
|
77
|
+
static QUESTION_MARK: string;
|
|
78
|
+
static EQUALS: string;
|
|
79
|
+
static AMPERSAND: string;
|
|
80
|
+
static RECORDID: string;
|
|
81
|
+
static MISSING_QUEUE_ID: string;
|
|
82
|
+
static MISSING_RECORD_ID: string;
|
|
83
|
+
static EMPTY_STRING: string;
|
|
84
|
+
static SELECTED_QUEUE_ID: string;
|
|
85
|
+
static ISITEMEXPRESSION: string;
|
|
86
|
+
}
|
|
87
|
+
export declare const MESSAGE_TYPES: string[];
|
|
88
|
+
export declare const delimiters: string[];
|
|
89
|
+
export declare const dictionaryItemList: never[];
|
|
90
|
+
export declare const dictionaryItemMapperList: never[];
|
|
91
|
+
export declare const dictionaryApiFieldList: {
|
|
92
|
+
title: string;
|
|
93
|
+
data: {
|
|
94
|
+
name: string;
|
|
95
|
+
}[];
|
|
96
|
+
};
|
|
97
|
+
export declare const FolderPanel: {
|
|
98
|
+
_id: string;
|
|
99
|
+
fileCount: number;
|
|
100
|
+
text: string;
|
|
101
|
+
missingFiles: number;
|
|
102
|
+
pendingFiles: number;
|
|
103
|
+
}[];
|
|
104
|
+
export declare const DocumentList: {
|
|
105
|
+
id: number;
|
|
106
|
+
fileName: string;
|
|
107
|
+
status: string;
|
|
108
|
+
documentUrl: string;
|
|
109
|
+
}[];
|
|
110
|
+
export declare const widgetLinkList: {
|
|
111
|
+
name: string;
|
|
112
|
+
code: string;
|
|
113
|
+
}[];
|
|
114
|
+
export declare const dictionaryList: {
|
|
115
|
+
id: number;
|
|
116
|
+
Name: string;
|
|
117
|
+
API: string;
|
|
118
|
+
}[];
|
|
119
|
+
export declare const SEQUENTIAL_MESSAGE: string[];
|
|
120
|
+
export declare const apiHiddenHeaderList: string[];
|
|
121
|
+
export declare const dictionaryHiddenHeaderList: string[];
|
|
122
|
+
export declare const widgetHiddenHeaderList: string[];
|
|
123
|
+
export declare const hiddenHeaderList: string[];
|
|
124
|
+
export declare const expectedRoutes: string[];
|
|
125
|
+
export declare const mileList: {
|
|
126
|
+
name: string;
|
|
127
|
+
value: number;
|
|
128
|
+
}[];
|
|
129
|
+
export declare const messageType: {
|
|
130
|
+
name: string;
|
|
131
|
+
icon: string;
|
|
132
|
+
}[];
|
|
133
|
+
export declare const propertyDataList: ({
|
|
134
|
+
key: string;
|
|
135
|
+
label: string;
|
|
136
|
+
data: string;
|
|
137
|
+
icon: string;
|
|
138
|
+
children: {
|
|
139
|
+
key: string;
|
|
140
|
+
label: string;
|
|
141
|
+
icon: string;
|
|
142
|
+
data: string;
|
|
143
|
+
}[];
|
|
144
|
+
} | {
|
|
145
|
+
key: string;
|
|
146
|
+
label: string;
|
|
147
|
+
data: string;
|
|
148
|
+
icon: string;
|
|
149
|
+
children: {
|
|
150
|
+
key: string;
|
|
151
|
+
label: string;
|
|
152
|
+
icon: string;
|
|
153
|
+
data: string;
|
|
154
|
+
children: ({
|
|
155
|
+
key: string;
|
|
156
|
+
label: string;
|
|
157
|
+
icon: string;
|
|
158
|
+
data: string;
|
|
159
|
+
selectable?: undefined;
|
|
160
|
+
} | {
|
|
161
|
+
key: string;
|
|
162
|
+
label: string;
|
|
163
|
+
icon: string;
|
|
164
|
+
data: string;
|
|
165
|
+
selectable: boolean;
|
|
166
|
+
})[];
|
|
167
|
+
}[];
|
|
168
|
+
})[];
|
|
169
|
+
export declare const actionHiddenHeaderList: string[];
|
|
170
|
+
export declare const actionList: {
|
|
171
|
+
action: string;
|
|
172
|
+
prompt: string;
|
|
173
|
+
queueId: string;
|
|
174
|
+
apiEndPoint: string;
|
|
175
|
+
status: string;
|
|
176
|
+
}[];
|
|
177
|
+
export declare const actionTableColumnWidthList: {
|
|
178
|
+
name: string;
|
|
179
|
+
apiConfigID: string;
|
|
180
|
+
queueID: string;
|
|
181
|
+
prompt: string;
|
|
182
|
+
isActive: string;
|
|
183
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseControlComponent } from '../../_base/base-control/base-control.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ButtonComponent extends BaseControlComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "lib-button", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseControlComponent } from '../../_base/base-control/base-control.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* CheckBoxComponent
|
|
5
|
+
*/
|
|
6
|
+
export declare class CheckBoxComponent extends BaseControlComponent {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "check-box", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { BaseControlComponent } from '../../_base/base-control/base-control.component';
|
|
3
|
+
import { DateParserService } from '../../services/date-parser.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DateComponent extends BaseControlComponent implements OnChanges {
|
|
6
|
+
dateService: DateParserService;
|
|
7
|
+
constructor(dateService: DateParserService);
|
|
8
|
+
ngOnChanges(): void;
|
|
9
|
+
getValue(): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateComponent, "date", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseControlComponent } from '../../_base/base-control/base-control.component';
|
|
2
|
+
import { SelectItem } from 'primeng/api';
|
|
3
|
+
import { ListService } from '../../services/list.service';
|
|
4
|
+
import { List } from '../../models/list.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* DropdownComponent
|
|
8
|
+
*/
|
|
9
|
+
export declare class DropdownComponent extends BaseControlComponent {
|
|
10
|
+
listService: ListService;
|
|
11
|
+
options: SelectItem[] | undefined;
|
|
12
|
+
list: List | undefined;
|
|
13
|
+
childListRecords: any[];
|
|
14
|
+
isStaticDropdown: boolean;
|
|
15
|
+
constructor(listService: ListService);
|
|
16
|
+
ngOnChanges(): void;
|
|
17
|
+
handleGetAndSetList(): void;
|
|
18
|
+
private mapResponseToOptions;
|
|
19
|
+
handleModelChange(event: any, valid: boolean | null, val?: any): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "dropdown", never, { "isStaticDropdown": { "alias": "isStaticDropdown"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseControlComponent } from '../../_base/base-control/base-control.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FileUploadComponent extends BaseControlComponent {
|
|
4
|
+
handleSingleUpload(event: any): void;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "file-upload", never, {}, {}, never, never, true, never>;
|
|
7
|
+
}
|