application-sidebar 1.0.3 → 1.0.5
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/assets/logos/agencybrand_logo.png +0 -0
- package/assets/logos/igppc_logo.png +0 -0
- package/esm2022/lib/application-sidebar.component.mjs +18 -13
- package/esm2022/lib/constants.mjs +24 -20
- package/esm2022/lib/nav-menu-item.mjs +1 -1
- package/esm2022/lib/services/application-sidebar.service.mjs +15 -3
- package/esm2022/lib/services/rest-api.services.mjs +3 -1
- package/esm2022/lib/translations/translations-en.mjs +3 -1
- package/esm2022/lib/translations/translations-ja.mjs +3 -1
- package/fesm2022/application-sidebar.mjs +60 -33
- package/fesm2022/application-sidebar.mjs.map +1 -1
- package/lib/application-sidebar.component.d.ts +2 -1
- package/lib/constants.d.ts +10 -9
- package/lib/nav-menu-item.d.ts +2 -0
- package/lib/services/application-sidebar.service.d.ts +1 -0
- package/lib/translations/translations-en.d.ts +2 -0
- package/lib/translations/translations-ja.d.ts +2 -0
- package/package.json +1 -1
|
@@ -21,11 +21,11 @@ export declare class ApplicationSidebarComponent implements OnInit, OnDestroy {
|
|
|
21
21
|
translation: any;
|
|
22
22
|
accountName: any;
|
|
23
23
|
activePanel: any;
|
|
24
|
+
navCollapsed: boolean;
|
|
24
25
|
oldListItems: QueryList<OffsetTopDirective>;
|
|
25
26
|
isAdminRole: boolean;
|
|
26
27
|
adminRoles: string[];
|
|
27
28
|
currentApp: any;
|
|
28
|
-
any: any;
|
|
29
29
|
sideNavStatusSubscription: any;
|
|
30
30
|
myObserver: any;
|
|
31
31
|
expandGlobalSettings: any;
|
|
@@ -46,6 +46,7 @@ export declare class ApplicationSidebarComponent implements OnInit, OnDestroy {
|
|
|
46
46
|
expandChildMenuOnly(toDisplayGlobalSettingsMenu: any): void;
|
|
47
47
|
expandCurrentMenuOnly(applicationDetails: any, onMenuClicked: any): void;
|
|
48
48
|
getTooltipInfo(headmenu: any): any;
|
|
49
|
+
selectedApplication(headmenu: any): any;
|
|
49
50
|
checkForRedirection(applicationDetails: appDetails): void;
|
|
50
51
|
validateRouteByState(state: any, listMenus: any): any;
|
|
51
52
|
getStructureAPISupportData(currentAccount: any): Promise<void>;
|
package/lib/constants.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ export declare const MENULIST: ({
|
|
|
29
29
|
subscription_types: string[];
|
|
30
30
|
order: number;
|
|
31
31
|
defaulturl: string;
|
|
32
|
-
organization_setting_not_in: string[];
|
|
33
32
|
visibility_roles_not_in: string[];
|
|
33
|
+
organization_setting_not_in: string[];
|
|
34
34
|
children: ({
|
|
35
35
|
id: string;
|
|
36
36
|
name: string;
|
|
@@ -88,8 +88,8 @@ export declare const MENULIST: ({
|
|
|
88
88
|
order: number;
|
|
89
89
|
defaulturl: string;
|
|
90
90
|
children: any[];
|
|
91
|
-
organization_setting_not_in: string[];
|
|
92
91
|
visibility_roles_not_in: string[];
|
|
92
|
+
organization_setting_not_in: string[];
|
|
93
93
|
badge?: undefined;
|
|
94
94
|
app_org_setting?: undefined;
|
|
95
95
|
org_user_ctrl?: undefined;
|
|
@@ -105,13 +105,13 @@ export declare const MENULIST: ({
|
|
|
105
105
|
defaulturl: string;
|
|
106
106
|
badge: string;
|
|
107
107
|
visibility_roles_not_in: string[];
|
|
108
|
+
organization_setting_not_in: string[];
|
|
108
109
|
app_org_setting: string[];
|
|
109
110
|
org_user_ctrl: {
|
|
110
111
|
visibilityroles: string[];
|
|
111
112
|
organizations: number[];
|
|
112
113
|
visibility_sa_roles: string[];
|
|
113
114
|
}[];
|
|
114
|
-
organization_setting_not_in: string[];
|
|
115
115
|
children: {
|
|
116
116
|
id: string;
|
|
117
117
|
name: string;
|
|
@@ -172,6 +172,7 @@ export declare const MENULIST: ({
|
|
|
172
172
|
order: number;
|
|
173
173
|
defaulturl: string;
|
|
174
174
|
siteIds: number[];
|
|
175
|
+
visibility_roles: string[];
|
|
175
176
|
visibility_roles_not_in: string[];
|
|
176
177
|
organization_setting_not_in: string[];
|
|
177
178
|
children: ({
|
|
@@ -199,7 +200,6 @@ export declare const MENULIST: ({
|
|
|
199
200
|
})[];
|
|
200
201
|
account_type?: undefined;
|
|
201
202
|
subscription_types?: undefined;
|
|
202
|
-
visibility_roles?: undefined;
|
|
203
203
|
organization_ids_not_in?: undefined;
|
|
204
204
|
badge?: undefined;
|
|
205
205
|
app_org_setting?: undefined;
|
|
@@ -216,6 +216,8 @@ export declare const MENULIST: ({
|
|
|
216
216
|
visibility_roles: string[];
|
|
217
217
|
defaulturl: string;
|
|
218
218
|
siteIds: number[];
|
|
219
|
+
visibility_roles_not_in: string[];
|
|
220
|
+
organization_setting_not_in: string[];
|
|
219
221
|
children: ({
|
|
220
222
|
id: string;
|
|
221
223
|
name: string;
|
|
@@ -247,8 +249,6 @@ export declare const MENULIST: ({
|
|
|
247
249
|
siteIds: number[];
|
|
248
250
|
matchRoutes?: undefined;
|
|
249
251
|
})[];
|
|
250
|
-
visibility_roles_not_in?: undefined;
|
|
251
|
-
organization_setting_not_in?: undefined;
|
|
252
252
|
account_type?: undefined;
|
|
253
253
|
subscription_types?: undefined;
|
|
254
254
|
organization_ids_not_in?: undefined;
|
|
@@ -266,8 +266,8 @@ export declare const MENULIST: ({
|
|
|
266
266
|
defaulturl: string;
|
|
267
267
|
visibility_roles: string[];
|
|
268
268
|
order: number;
|
|
269
|
-
organization_setting_not_in: string[];
|
|
270
269
|
visibility_roles_not_in: string[];
|
|
270
|
+
organization_setting_not_in: string[];
|
|
271
271
|
children: ({
|
|
272
272
|
id: string;
|
|
273
273
|
name: string;
|
|
@@ -338,8 +338,8 @@ export declare const MENULIST: ({
|
|
|
338
338
|
account_type: string[];
|
|
339
339
|
subscription_types: string[];
|
|
340
340
|
order: number;
|
|
341
|
-
organization_setting_not_in: string[];
|
|
342
341
|
visibility_roles_not_in: string[];
|
|
342
|
+
organization_setting_not_in: string[];
|
|
343
343
|
children: ({
|
|
344
344
|
id: string;
|
|
345
345
|
name: string;
|
|
@@ -395,8 +395,8 @@ export declare const MENULIST: ({
|
|
|
395
395
|
subscription_types: string[];
|
|
396
396
|
visibility_roles: string[];
|
|
397
397
|
order: number;
|
|
398
|
-
organization_setting_not_in: string[];
|
|
399
398
|
visibility_roles_not_in: string[];
|
|
399
|
+
organization_setting_not_in: string[];
|
|
400
400
|
children: ({
|
|
401
401
|
id: string;
|
|
402
402
|
name: string;
|
|
@@ -448,6 +448,7 @@ export declare const GLOBAL_SETTING_LIST: {
|
|
|
448
448
|
level: string;
|
|
449
449
|
icon: string;
|
|
450
450
|
order: number;
|
|
451
|
+
visibility_roles_not_in: string[];
|
|
451
452
|
children: ({
|
|
452
453
|
id: string;
|
|
453
454
|
name: string;
|
package/lib/nav-menu-item.d.ts
CHANGED
|
@@ -75,6 +75,7 @@ export declare class ApplicationSidebarService {
|
|
|
75
75
|
authenticateUserMailMenu(possibleValues: any): boolean;
|
|
76
76
|
checkForSubscriptions(possibleValues: any): boolean;
|
|
77
77
|
checkForSiteIds(possibleValues: any): boolean;
|
|
78
|
+
checkForSiteNotIds(possibleValues: any): boolean;
|
|
78
79
|
checkForOrgSettings(possibleValues: any): boolean;
|
|
79
80
|
checkForOrgAppSettings(possibleValues: any): boolean;
|
|
80
81
|
checkForNotOrgSettings(possibleValues: any): boolean;
|
|
@@ -2,6 +2,8 @@ export declare const EN_LABELS: {
|
|
|
2
2
|
"Amazon Sponsored Ads": string;
|
|
3
3
|
"Intentwise Analytics Cloud": string;
|
|
4
4
|
"Intentwise Explore (AMC)": string;
|
|
5
|
+
"Analytics Cloud": string;
|
|
6
|
+
"Explore (AMC)": string;
|
|
5
7
|
"Share Of Voice": string;
|
|
6
8
|
"Content Analytics": string;
|
|
7
9
|
"Amazon DSP": string;
|
|
@@ -2,6 +2,8 @@ export declare const JA_LABELS: {
|
|
|
2
2
|
"Amazon Sponsored Ads": string;
|
|
3
3
|
"Intentwise Analytics Cloud": string;
|
|
4
4
|
"Intentwise Explore (AMC)": string;
|
|
5
|
+
"Analytics Cloud": string;
|
|
6
|
+
"Explore (AMC)": string;
|
|
5
7
|
"Share Of Voice": string;
|
|
6
8
|
"Content Analytics": string;
|
|
7
9
|
"Amazon DSP": string;
|
package/package.json
CHANGED