@webitel/ui-sdk 26.4.29 → 26.4.31

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.
Files changed (89) hide show
  1. package/dist/{index-oh1_UWqX.js → index-BDiSa4-m.js} +1 -1
  2. package/dist/{index-VLBQPnjY.js → index-BgvQJ55B.js} +1 -1
  3. package/dist/{install-CEGf7rvJ.js → install-CmnYn4Q5.js} +35 -35
  4. package/dist/{isObject-C2EnTSY7.js → isObject-KF_Ebg5z.js} +1 -1
  5. package/dist/ui-sdk.css +1 -1
  6. package/dist/ui-sdk.js +1 -1
  7. package/dist/ui-sdk.umd.cjs +1 -1
  8. package/dist/{useVidstackSrc-BoI6qQaE.js → useVidstackSrc-B0xwIfTb.js} +1 -1
  9. package/dist/{vidstack-Bq6c3Bam-BcVukUvQ.js → vidstack-Bq6c3Bam-DhvXCxPV.js} +3 -3
  10. package/dist/{vidstack-D2pY00kU-DU8R3ze4.js → vidstack-D2pY00kU-sPoBbX0L.js} +3 -3
  11. package/dist/{vidstack-DDXt6fpN-CnS79_M3.js → vidstack-DDXt6fpN-BM2BGxFz.js} +2 -2
  12. package/dist/{vidstack-D_-9AA6_-BeYN7WwU.js → vidstack-D_-9AA6_-C2DgO-os.js} +2 -2
  13. package/dist/{vidstack-DqAw8m9J-bTd-oi6c.js → vidstack-DqAw8m9J-Ysy5Vb6Y.js} +1 -1
  14. package/dist/{vidstack-audio-DfV6NzrV.js → vidstack-audio-B37XwcY8.js} +2 -2
  15. package/dist/{vidstack-dash-28gycFPs.js → vidstack-dash-BXHoBGdo.js} +4 -4
  16. package/dist/{vidstack-google-cast-ORpxxhri.js → vidstack-google-cast-D9nG4uOf.js} +4 -4
  17. package/dist/{vidstack-hls-DwdoDEgJ.js → vidstack-hls-BcaqlMdk.js} +4 -4
  18. package/dist/{vidstack-video-CF8ySFTF.js → vidstack-video-DhvV6yuT.js} +3 -3
  19. package/dist/{vidstack-vimeo-DZoGSBhY.js → vidstack-vimeo-BIOQ72l9.js} +4 -4
  20. package/dist/{vidstack-youtube-Lgxw1He5.js → vidstack-youtube-LPvkuIr0.js} +3 -3
  21. package/dist/{wt-action-bar-Cbuh1LrW.js → wt-action-bar-5Y74_D0e.js} +1 -1
  22. package/dist/{wt-button-select-BFHPdkQh.js → wt-button-select-DZslcZ1V.js} +1 -1
  23. package/dist/{wt-chat-emoji-Dw7NSkjE.js → wt-chat-emoji-D3g6pOHE.js} +2 -2
  24. package/dist/{wt-confirm-dialog-B_3VrcV2.js → wt-confirm-dialog-ZFQkFkvI.js} +1 -1
  25. package/dist/{wt-context-menu-7oTcVjwZ.js → wt-context-menu-C4yrbjs6.js} +1 -1
  26. package/dist/{wt-copy-action-CI6MwBCQ.js → wt-copy-action-B4_vhvMK.js} +1 -1
  27. package/dist/{wt-datepicker-dBUNe0vY.js → wt-datepicker-B7l8plHH.js} +1 -1
  28. package/dist/{wt-display-chip-items-BdnVUJum.js → wt-display-chip-items-CfngGHWP.js} +1 -1
  29. package/dist/{wt-dual-panel-DdOQkiSq.js → wt-dual-panel-YwIAy-CK.js} +1 -1
  30. package/dist/{wt-dummy-hnpAJg3I.js → wt-dummy-CvpMQfG2.js} +1 -1
  31. package/dist/{wt-error-page-CT3Zc7Jy.js → wt-error-page-D-Y9PhH1.js} +1 -1
  32. package/dist/{wt-expansion-card-DZFDwtkW.js → wt-expansion-card-tqRrluyb.js} +1 -1
  33. package/dist/{wt-expansion-panel-C1ZTuiOS.js → wt-expansion-panel-30caNqys.js} +1 -1
  34. package/dist/{wt-filters-panel-wrapper-CsbMmdCS.js → wt-filters-panel-wrapper-D76zEG78.js} +1 -1
  35. package/dist/{wt-galleria-B6qsjlpN.js → wt-galleria-cwy7Tvf-.js} +1 -1
  36. package/dist/{wt-navigation-menu-BqFNRt-w.js → wt-navigation-menu-BYbM07l8.js} +1 -1
  37. package/dist/{wt-notifications-bar-r8RcgN82.js → wt-notifications-bar-DezuiAAo.js} +2 -2
  38. package/dist/{wt-pagination-NEieH0GI.js → wt-pagination-BGmYgSMp.js} +1 -1
  39. package/dist/{wt-player-CwNmEqGK.js → wt-player-DQ8YcvKj.js} +2 -2
  40. package/dist/{wt-screen-recordings-action-DMl4osh9.js → wt-screen-recordings-action-iak2FA0l.js} +1 -1
  41. package/dist/{wt-search-bar-Bv1WjSik.js → wt-search-bar-B_a0nLqc.js} +1 -1
  42. package/dist/{wt-selection-popup-zztv110P.js → wt-selection-popup-Bs5eyX7a.js} +1 -1
  43. package/dist/{wt-start-page-DzHHDSfC.js → wt-start-page-DfMKqk3M.js} +1 -1
  44. package/dist/{wt-status-select-Ckt-Q0nH.js → wt-status-select-zfarytHm.js} +1 -1
  45. package/dist/{wt-stepper-B1iloeAL.js → wt-stepper-DUG3Xaez.js} +1 -1
  46. package/dist/{wt-table-actions-onq158M0.js → wt-table-actions-u2XOfySQ.js} +1 -1
  47. package/dist/{wt-table-column-select-fwbVAsCI.js → wt-table-column-select-DbZqK3Qm.js} +2 -2
  48. package/dist/{wt-table-Cq8VWrhY.js → wt-table-hMzPySzt.js} +1 -1
  49. package/dist/{wt-tabs-CphZpRpb.js → wt-tabs-DTvCfvL6.js} +1 -1
  50. package/dist/{wt-tags-input-B4yiqhez.js → wt-tags-input-D3aSj0H_.js} +2 -2
  51. package/dist/{wt-timepicker-DA4j12NZ.js → wt-timepicker-CtEEP15t.js} +1 -1
  52. package/dist/{wt-tree-DkPvJwqe.js → wt-tree-DKIlJ5Lj.js} +2 -2
  53. package/dist/{wt-tree-table-CS4HF1cH.js → wt-tree-table-DBI1YzTG.js} +1 -1
  54. package/dist/{wt-type-extension-value-input-kpRyXv0R.js → wt-type-extension-value-input-D2-w-B9U.js} +2 -2
  55. package/dist/{wt-vidstack-player-CnzT-5zn.js → wt-vidstack-player-71xF8aro.js} +13 -13
  56. package/package.json +1 -1
  57. package/src/components/wt-vidstack-player/components/panels/video-display-panel/video-display-panel.vue +2 -2
  58. package/src/locale/en/en.js +1 -1
  59. package/src/locale/es/es.js +1 -1
  60. package/src/locale/kz/kz.js +1 -1
  61. package/src/locale/pl/pl.js +1 -1
  62. package/src/locale/ro/ro.js +1 -1
  63. package/src/locale/ru/ru.js +1 -1
  64. package/src/locale/uk/uk.js +1 -1
  65. package/src/locale/uz/uz.js +1 -1
  66. package/src/locale/vi/vi.js +1 -1
  67. package/src/modules/UserNotifications/api/UserNotifications.ts +18 -0
  68. package/src/modules/UserNotifications/maps/userNotificationConfigsMap.ts +16 -0
  69. package/src/modules/UserNotifications/stores/__tests__/userNotificationsStore.spec.ts +118 -0
  70. package/src/modules/UserNotifications/stores/userNotificationsStore.ts +76 -0
  71. package/src/modules/UserNotifications/types/UserNotifications.ts +15 -0
  72. package/src/modules/Userinfo/stores/__tests__/UserinfoAccessControl.spec.ts +19 -11
  73. package/src/modules/Userinfo/stores/userinfoStore.ts +10 -1
  74. package/types/locale/en/en.d.ts +1 -1
  75. package/types/locale/es/es.d.ts +1 -1
  76. package/types/locale/i18n.d.ts +9 -9
  77. package/types/locale/index.d.ts +9 -9
  78. package/types/locale/kz/kz.d.ts +1 -1
  79. package/types/locale/pl/pl.d.ts +1 -1
  80. package/types/locale/ro/ro.d.ts +1 -1
  81. package/types/locale/ru/ru.d.ts +1 -1
  82. package/types/locale/uk/uk.d.ts +1 -1
  83. package/types/locale/uz/uz.d.ts +1 -1
  84. package/types/locale/vi/vi.d.ts +1 -1
  85. package/types/modules/UserNotifications/api/UserNotifications.d.ts +2 -0
  86. package/types/modules/UserNotifications/maps/userNotificationConfigsMap.d.ts +1 -0
  87. package/types/modules/UserNotifications/stores/userNotificationsStore.d.ts +105 -0
  88. package/types/modules/UserNotifications/types/UserNotifications.d.ts +13 -0
  89. package/types/modules/Userinfo/stores/userinfoStore.d.ts +4 -1
@@ -809,7 +809,7 @@ export declare const messages: {
809
809
  named: any;
810
810
  }) => string;
811
811
  };
812
- info: {
812
+ warnings: {
813
813
  passwordExpirationMessage: string;
814
814
  };
815
815
  };
@@ -1633,7 +1633,7 @@ export declare const messages: {
1633
1633
  named: any;
1634
1634
  }) => string;
1635
1635
  };
1636
- info: {
1636
+ warnings: {
1637
1637
  passwordExpirationMessage: string;
1638
1638
  };
1639
1639
  };
@@ -2441,7 +2441,7 @@ export declare const messages: {
2441
2441
  named: any;
2442
2442
  }) => string;
2443
2443
  };
2444
- info: {
2444
+ warnings: {
2445
2445
  passwordExpirationMessage: string;
2446
2446
  };
2447
2447
  };
@@ -3251,7 +3251,7 @@ export declare const messages: {
3251
3251
  named: any;
3252
3252
  }) => string;
3253
3253
  };
3254
- info: {
3254
+ warnings: {
3255
3255
  passwordExpirationMessage: string;
3256
3256
  };
3257
3257
  };
@@ -4059,7 +4059,7 @@ export declare const messages: {
4059
4059
  named: any;
4060
4060
  }) => string;
4061
4061
  };
4062
- info: {
4062
+ warnings: {
4063
4063
  passwordExpirationMessage: string;
4064
4064
  };
4065
4065
  };
@@ -4869,7 +4869,7 @@ export declare const messages: {
4869
4869
  named: any;
4870
4870
  }) => string;
4871
4871
  };
4872
- info: {
4872
+ warnings: {
4873
4873
  passwordExpirationMessage: string;
4874
4874
  };
4875
4875
  };
@@ -5679,7 +5679,7 @@ export declare const messages: {
5679
5679
  named: any;
5680
5680
  }) => string;
5681
5681
  };
5682
- info: {
5682
+ warnings: {
5683
5683
  passwordExpirationMessage: string;
5684
5684
  };
5685
5685
  };
@@ -6490,7 +6490,7 @@ export declare const messages: {
6490
6490
  named: any;
6491
6491
  }) => string;
6492
6492
  };
6493
- info: {
6493
+ warnings: {
6494
6494
  passwordExpirationMessage: string;
6495
6495
  };
6496
6496
  };
@@ -7300,7 +7300,7 @@ export declare const messages: {
7300
7300
  named: any;
7301
7301
  }) => string;
7302
7302
  };
7303
- info: {
7303
+ warnings: {
7304
7304
  passwordExpirationMessage: string;
7305
7305
  };
7306
7306
  };
@@ -915,7 +915,7 @@ declare namespace _default {
915
915
  export { _delete_2 as delete };
916
916
  }
917
917
  export { success_1 as success };
918
- export namespace info {
918
+ export namespace warnings {
919
919
  let passwordExpirationMessage: string;
920
920
  }
921
921
  }
@@ -915,7 +915,7 @@ declare namespace _default {
915
915
  export { _delete_2 as delete };
916
916
  }
917
917
  export { success_1 as success };
918
- export namespace info {
918
+ export namespace warnings {
919
919
  let passwordExpirationMessage: string;
920
920
  }
921
921
  }
@@ -915,7 +915,7 @@ declare namespace _default {
915
915
  export { _delete_2 as delete };
916
916
  }
917
917
  export { success_1 as success };
918
- export namespace info {
918
+ export namespace warnings {
919
919
  let passwordExpirationMessage: string;
920
920
  }
921
921
  }
@@ -913,7 +913,7 @@ declare namespace _default {
913
913
  export { _delete_2 as delete };
914
914
  }
915
915
  export { success_1 as success };
916
- export namespace info {
916
+ export namespace warnings {
917
917
  let passwordExpirationMessage: string;
918
918
  }
919
919
  }
@@ -913,7 +913,7 @@ declare namespace _default {
913
913
  export { _delete_2 as delete };
914
914
  }
915
915
  export { success_1 as success };
916
- export namespace info {
916
+ export namespace warnings {
917
917
  let passwordExpirationMessage: string;
918
918
  }
919
919
  }
@@ -916,7 +916,7 @@ declare namespace _default {
916
916
  export { _delete_2 as delete };
917
917
  }
918
918
  export { success_1 as success };
919
- export namespace info {
919
+ export namespace warnings {
920
920
  let passwordExpirationMessage: string;
921
921
  }
922
922
  }
@@ -915,7 +915,7 @@ declare namespace _default {
915
915
  export { _delete_2 as delete };
916
916
  }
917
917
  export { success_1 as success };
918
- export namespace info {
918
+ export namespace warnings {
919
919
  let passwordExpirationMessage: string;
920
920
  }
921
921
  }
@@ -0,0 +1,2 @@
1
+ declare const getUserWarnings: () => Promise<any>;
2
+ export { getUserWarnings };
@@ -0,0 +1 @@
1
+ export declare const USER_NOTIFICATION_CONFIGS_MAP: Map<string, UserNotificationsConfigsMap>;
@@ -0,0 +1,105 @@
1
+ import type { ApiUserWarning } from '@webitel/api-services/gen/models';
2
+ import type { NotificationsType } from '../types/UserNotifications';
3
+ export declare const createUserNotificationsStore: () => import("pinia").StoreDefinition<"userNotifications", Pick<{
4
+ initialize: () => Promise<void>;
5
+ show: () => void;
6
+ /** internal for devtools/debug */
7
+ rawNotifications: import("vue").Ref<{
8
+ detail?: string;
9
+ id?: import("@webitel/api-services/gen/models").ApiUserWarningId;
10
+ warningData?: {
11
+ licenseExpiry?: {
12
+ daysRemaining?: string;
13
+ expiresAt?: string;
14
+ licenseName?: string;
15
+ };
16
+ passwordExpiry?: {
17
+ daysRemaining?: string;
18
+ expiresAt?: string;
19
+ };
20
+ };
21
+ }[], ApiUserWarning[] | {
22
+ detail?: string;
23
+ id?: import("@webitel/api-services/gen/models").ApiUserWarningId;
24
+ warningData?: {
25
+ licenseExpiry?: {
26
+ daysRemaining?: string;
27
+ expiresAt?: string;
28
+ licenseName?: string;
29
+ };
30
+ passwordExpiry?: {
31
+ daysRemaining?: string;
32
+ expiresAt?: string;
33
+ };
34
+ };
35
+ }[]>;
36
+ notifications: import("vue").ComputedRef<NotificationsType[]>;
37
+ }, "rawNotifications">, Pick<{
38
+ initialize: () => Promise<void>;
39
+ show: () => void;
40
+ /** internal for devtools/debug */
41
+ rawNotifications: import("vue").Ref<{
42
+ detail?: string;
43
+ id?: import("@webitel/api-services/gen/models").ApiUserWarningId;
44
+ warningData?: {
45
+ licenseExpiry?: {
46
+ daysRemaining?: string;
47
+ expiresAt?: string;
48
+ licenseName?: string;
49
+ };
50
+ passwordExpiry?: {
51
+ daysRemaining?: string;
52
+ expiresAt?: string;
53
+ };
54
+ };
55
+ }[], ApiUserWarning[] | {
56
+ detail?: string;
57
+ id?: import("@webitel/api-services/gen/models").ApiUserWarningId;
58
+ warningData?: {
59
+ licenseExpiry?: {
60
+ daysRemaining?: string;
61
+ expiresAt?: string;
62
+ licenseName?: string;
63
+ };
64
+ passwordExpiry?: {
65
+ daysRemaining?: string;
66
+ expiresAt?: string;
67
+ };
68
+ };
69
+ }[]>;
70
+ notifications: import("vue").ComputedRef<NotificationsType[]>;
71
+ }, "notifications">, Pick<{
72
+ initialize: () => Promise<void>;
73
+ show: () => void;
74
+ /** internal for devtools/debug */
75
+ rawNotifications: import("vue").Ref<{
76
+ detail?: string;
77
+ id?: import("@webitel/api-services/gen/models").ApiUserWarningId;
78
+ warningData?: {
79
+ licenseExpiry?: {
80
+ daysRemaining?: string;
81
+ expiresAt?: string;
82
+ licenseName?: string;
83
+ };
84
+ passwordExpiry?: {
85
+ daysRemaining?: string;
86
+ expiresAt?: string;
87
+ };
88
+ };
89
+ }[], ApiUserWarning[] | {
90
+ detail?: string;
91
+ id?: import("@webitel/api-services/gen/models").ApiUserWarningId;
92
+ warningData?: {
93
+ licenseExpiry?: {
94
+ daysRemaining?: string;
95
+ expiresAt?: string;
96
+ licenseName?: string;
97
+ };
98
+ passwordExpiry?: {
99
+ daysRemaining?: string;
100
+ expiresAt?: string;
101
+ };
102
+ };
103
+ }[]>;
104
+ notifications: import("vue").ComputedRef<NotificationsType[]>;
105
+ }, "show" | "initialize">>;
@@ -0,0 +1,13 @@
1
+ interface UserNotificationsConfigsMap {
2
+ id: string;
3
+ type: 'info' | 'warning' | 'error';
4
+ localeKey: string;
5
+ getDays: (warningData: number) => number;
6
+ }
7
+ interface NotificationsType {
8
+ type: 'info' | 'warning' | 'error';
9
+ localeKey: string;
10
+ days: number;
11
+ shown?: boolean;
12
+ }
13
+ export type { NotificationsType, UserNotificationsConfigsMap };
@@ -19,6 +19,7 @@ export declare const createUserinfoStore: () => import("pinia").StoreDefinition<
19
19
  hasSpecialGlobalActionAccess: (id: import("..").SpecialGlobalAction) => boolean;
20
20
  hasApplicationVisibility: (app: pick) => boolean;
21
21
  logoutUser: () => Promise<void>;
22
+ showUserNotifications: () => void;
22
23
  }, "timezone" | "userId" | "userInfo">, Pick<{
23
24
  userId: import("vue").Ref<any, any>;
24
25
  userInfo: import("vue").Ref<any, any>;
@@ -39,6 +40,7 @@ export declare const createUserinfoStore: () => import("pinia").StoreDefinition<
39
40
  hasSpecialGlobalActionAccess: (id: import("..").SpecialGlobalAction) => boolean;
40
41
  hasApplicationVisibility: (app: pick) => boolean;
41
42
  logoutUser: () => Promise<void>;
43
+ showUserNotifications: () => void;
42
44
  }, never>, Pick<{
43
45
  userId: import("vue").Ref<any, any>;
44
46
  userInfo: import("vue").Ref<any, any>;
@@ -59,4 +61,5 @@ export declare const createUserinfoStore: () => import("pinia").StoreDefinition<
59
61
  hasSpecialGlobalActionAccess: (id: import("..").SpecialGlobalAction) => boolean;
60
62
  hasApplicationVisibility: (app: pick) => boolean;
61
63
  logoutUser: () => Promise<void>;
62
- }, "initialize" | "hasReadAccess" | "hasCreateAccess" | "hasUpdateAccess" | "hasDeleteAccess" | "routeAccessGuard" | "hasSpecialGlobalActionAccess" | "hasGlobalCrudActionAccess" | "hasLicense" | "hasApplicationVisibility" | "hasSectionVisibility" | "logoutUser">>;
64
+ showUserNotifications: () => void;
65
+ }, "initialize" | "hasReadAccess" | "hasCreateAccess" | "hasUpdateAccess" | "hasDeleteAccess" | "routeAccessGuard" | "hasSpecialGlobalActionAccess" | "hasGlobalCrudActionAccess" | "hasLicense" | "hasApplicationVisibility" | "hasSectionVisibility" | "logoutUser" | "showUserNotifications">>;