cat-qw-lib 2.3.30 → 2.3.32
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 +58 -2
- package/fesm2022/cat-qw-lib.mjs.map +1 -1
- package/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.d.ts +4 -0
- package/lib/admin/widget-admin/models/widget.model.d.ts +9 -0
- package/package.json +1 -1
- package/src/assets/config/api.config.json +22 -0
package/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare class WidgetAdminFormComponent extends BaseFormComponent<WidgetMo
|
|
|
26
26
|
headerDictionaryItems: any[];
|
|
27
27
|
subHeaderDictionaryItems: any[];
|
|
28
28
|
dictionaryItemArray: any[][];
|
|
29
|
+
badgeDictionaryItemArray: any[][];
|
|
29
30
|
widgetOptionsArray: SelectItem[];
|
|
30
31
|
widgetLayoutTypeList: WidgetLayoutTypeModel[];
|
|
31
32
|
constructor(service: WidgetAdminService, validatorService: ValidatorService, widgetStore: WidgetAdminStore, query: WidgetAdminQuery, router: Router, activatedRoute: ActivatedRoute, baseStore: BaseStore<WidgetModel>, baseQuery: BaseQuery<WidgetModel>);
|
|
@@ -35,6 +36,9 @@ export declare class WidgetAdminFormComponent extends BaseFormComponent<WidgetMo
|
|
|
35
36
|
handleHeaderDictionarySelect(dictionaryId: string): void;
|
|
36
37
|
handleSubHeaderDictionarySelect(dictionaryId: any): void;
|
|
37
38
|
handleWidgetItemDictionarySelect(dictionaryId: any, index: number): void;
|
|
39
|
+
handleBadgeAddBtnClick(): void;
|
|
40
|
+
handleBadgeDictionarySelect(dictionaryId: any, index: number): void;
|
|
41
|
+
handleDeleteBadge(index: number): void;
|
|
38
42
|
handleDeleteRecord(index: number): void;
|
|
39
43
|
handleSubmit(): void;
|
|
40
44
|
ngOnDestroy(): void;
|
|
@@ -6,6 +6,7 @@ export declare class WidgetModel extends BaseModel {
|
|
|
6
6
|
name: string;
|
|
7
7
|
apiConfigId: string;
|
|
8
8
|
dataItems: WidgetItemModel[];
|
|
9
|
+
badges: BadgeModel[];
|
|
9
10
|
order?: number;
|
|
10
11
|
headerDictionaryID: string;
|
|
11
12
|
subHeaderDictionaryID: string;
|
|
@@ -25,6 +26,14 @@ export declare class WidgetItemModel extends BaseModel {
|
|
|
25
26
|
style?: any;
|
|
26
27
|
isActive: boolean;
|
|
27
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* BadgeModel class represents the model of a badge.
|
|
31
|
+
*/
|
|
32
|
+
export declare class BadgeModel {
|
|
33
|
+
dictionaryItemID: string;
|
|
34
|
+
dictionaryID: string;
|
|
35
|
+
style?: any;
|
|
36
|
+
}
|
|
28
37
|
export interface WidgetLayoutTypeModel {
|
|
29
38
|
name: string;
|
|
30
39
|
value: string;
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"catQwUrl": "http://localhost:4080/api/",
|
|
3
|
+
"apiUrl": "http://localhost:3300/api/",
|
|
4
|
+
"swaggerUrl": "https://gatehouse-qw-qa-g9ffb0ggedhjacf6.uksouth-01.azurewebsites.net/api-docs/",
|
|
5
|
+
"adminEmail": "neeraj.kumar@catura.co.uk",
|
|
6
|
+
"baseUrl": "https://gatehouse-interact-qa-h9gjhwb0behtepgu.uksouth-01.azurewebsites.net",
|
|
7
|
+
"interactBaseApi": "https://gatehouse-interact-qa-h9gjhwb0behtepgu.uksouth-01.azurewebsites.net/api/",
|
|
8
|
+
"actionBaseApi": "https://gatehouse-qw-qa-g9ffb0ggedhjacf6.uksouth-01.azurewebsites.net/api/",
|
|
9
|
+
"documentApiUrl": "https://gatehouse-documents-qa-bgavezbwe9b6e9h6.uksouth-01.azurewebsites.net/api/",
|
|
10
|
+
"adminPhoneNumber": "+447380300545",
|
|
11
|
+
"gsvKey": "AIzaSyDWwq79YYgWvSiAizyUz4aovHvSY-j3IfY",
|
|
12
|
+
"visibilityOption": {
|
|
13
|
+
"isRationalVisible": false,
|
|
14
|
+
"isChecklistVisible": false,
|
|
15
|
+
"isAudit": false,
|
|
16
|
+
"isConversation": true,
|
|
17
|
+
"isOverview": true,
|
|
18
|
+
"isDocuments": true
|
|
19
|
+
},
|
|
20
|
+
"env": "qa",
|
|
21
|
+
"test":"test"
|
|
22
|
+
}
|