@webitel/ui-sdk 26.6.99 → 26.6.100
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/dist/{clients-Bkj_jr3s.js → clients-DBR1e2Vq.js} +1 -1
- package/dist/{components-f_7Xewxl.js → components-89d9wbnp.js} +3 -3
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +1 -1
- package/dist/{wt-chat-emoji-BxcgfPnF.js → wt-chat-emoji-D9JuBz2G.js} +1 -1
- package/dist/{wt-display-chip-items-BFcunpPg.js → wt-display-chip-items-BKf1iLN9.js} +1 -1
- package/dist/{wt-send-message-popup-UqRi-DNw.js → wt-send-message-popup-DgiD0_MI.js} +2 -2
- package/dist/{wt-type-extension-value-input-BT9q7ZCv.js → wt-type-extension-value-input-CuniJHNW.js} +2 -2
- package/dist/{wt-vidstack-player-BKN0dtoX.js → wt-vidstack-player-2y5Cn9Cg.js} +1 -1
- package/package.json +1 -1
- package/src/api/clients/roles/roles.ts +5 -3
- package/src/composables/useEventBus/useEventBus.d.ts +4 -4
- package/src/enums/BroadcastChannelName/BroadcastChannelName.d.ts +2 -3
- package/src/enums/BroadcastChannelName/UserSettingsBroadcastMessage.d.ts +7 -7
- package/src/enums/ButtonColor/ButtonColor.d.ts +8 -8
- package/src/enums/ButtonVariant/ButtonVariant.d.ts +3 -3
- package/src/enums/ChipColor/ChipColor.d.ts +8 -8
- package/src/enums/ComponentSize/ComponentSize.d.ts +14 -14
- package/src/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.d.ts +4 -5
- package/src/enums/CrudAction/CrudAction.d.ts +4 -4
- package/src/enums/DefaultWorkspaceTabSettings/DefaultWorkspaceTabSettings.d.ts +7 -8
- package/src/enums/EmptyCause/EmptyCause.d.ts +3 -3
- package/src/enums/FormatDateMode/FormatDateMode.d.ts +6 -7
- package/src/enums/IconColor/IconColor.d.ts +14 -14
- package/src/enums/LoginOptions/LoginOptions.d.ts +3 -3
- package/src/enums/MessageColor/MessageColor.d.ts +6 -6
- package/src/enums/MessageVariant/MessageVariant.d.ts +3 -3
- package/src/enums/MimeTypes/MimeTypes.enum.d.ts +14 -14
- package/src/enums/ProcessingTableColumnType/ProcessingTableColumnType.d.ts +6 -7
- package/src/enums/QueueType/QueueType.enum.d.ts +22 -22
- package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +5 -6
- package/src/enums/RingtoneType/RingtoneType.d.ts +3 -3
- package/src/enums/SingleSignOnProvider/SingleSignOnProvider.d.ts +5 -6
- package/src/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.d.ts +2 -6
- package/src/enums/WebitelApplications/AdminSections.d.ts +38 -38
- package/src/enums/WebitelApplications/AuditorSections.d.ts +2 -3
- package/src/enums/WebitelApplications/CrmSections.d.ts +13 -13
- package/src/enums/WebitelApplications/SupervisorSections.d.ts +4 -5
- package/src/enums/WebitelApplications/WfmSections.d.ts +3 -3
- package/src/enums/WebitelApplications/WtApplication.d.ts +9 -9
- package/src/enums/WtObject/WtObject.d.ts +57 -57
- package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +7 -8
- package/src/enums/index.d.ts +4 -54
- package/src/locale/en/en.js +4 -4
- package/src/locale/es/es.js +4 -4
- package/src/locale/kz/kz.js +4 -4
- package/src/locale/pl/pl.js +4 -4
- package/src/locale/ro/ro.js +4 -4
- package/src/locale/ru/ru.js +4 -4
- package/src/locale/uk/uk.js +4 -4
- package/src/locale/uz/uz.js +4 -4
- package/src/locale/vi/vi.js +4 -4
- package/src/modules/ObjectPermissions/components/_internal/permissions-tab-content.vue +190 -0
- package/src/modules/ObjectPermissions/{_internals/components → components/_internal}/permissions-tab-role-popup.vue +10 -20
- package/src/modules/ObjectPermissions/components/permissions-tab.vue +43 -160
- package/src/modules/ObjectPermissions/enums/AccessMode.enum.d.ts +6 -0
- package/src/modules/ObjectPermissions/enums/AccessMode.enum.ts +7 -0
- package/src/modules/ObjectPermissions/enums/AccessRuleName.enum.d.ts +7 -0
- package/src/modules/ObjectPermissions/enums/AccessRuleName.enum.ts +9 -0
- package/src/modules/ObjectPermissions/enums/index.d.ts +2 -0
- package/src/modules/ObjectPermissions/enums/index.ts +2 -0
- package/{types/modules/ObjectPermissions/_internals/store/modules → src/modules/ObjectPermissions/headers}/headers.d.ts +2 -2
- package/src/modules/ObjectPermissions/{_internals/store/modules/headers.js → headers/headers.ts} +6 -2
- package/src/modules/ObjectPermissions/index.d.ts +7 -0
- package/src/modules/ObjectPermissions/index.ts +6 -0
- package/src/modules/ObjectPermissions/{_internals/modules → modules}/filters/store/filters.store.js +1 -1
- package/src/modules/ObjectPermissions/{_internals/store/helpers → store}/createObjectPermissionsStoreModule.js +2 -2
- package/src/modules/ObjectPermissions/store/index.js +1 -1
- package/src/modules/ObjectPermissions/{_internals/store/modules → store}/objectPermissionsStoreModule.js +6 -7
- package/src/modules/ObjectPermissions/types/PermissionsUserAccess.d.ts +3 -0
- package/src/modules/ObjectPermissions/types/PermissionsUserAccess.ts +10 -0
- package/src/modules/Userinfo/constants/UserSettingsConstants.d.ts +1 -1
- package/src/utils/displayText.d.ts +1 -1
- package/src/utils/formatDate.d.ts +3 -9
- package/types/modules/ObjectPermissions/components/_internal/permissions-tab-content.vue.d.ts +97 -0
- package/types/modules/ObjectPermissions/components/_internal/permissions-tab-role-popup.vue.d.ts +23 -0
- package/types/modules/ObjectPermissions/components/permissions-tab.vue.d.ts +10 -43
- package/types/modules/ObjectPermissions/enums/AccessMode.enum.d.ts +6 -0
- package/types/modules/ObjectPermissions/enums/AccessRuleName.enum.d.ts +7 -0
- package/types/modules/ObjectPermissions/enums/index.d.ts +2 -0
- package/types/modules/ObjectPermissions/headers/headers.d.ts +7 -0
- package/types/modules/ObjectPermissions/index.d.ts +6 -0
- package/types/modules/ObjectPermissions/store/index.d.ts +1 -1
- package/types/modules/ObjectPermissions/{_internals/store/modules → store}/objectPermissionsStoreModule.d.ts +1 -0
- package/types/modules/ObjectPermissions/types/PermissionsUserAccess.d.ts +3 -0
- package/src/modules/ObjectPermissions/_internals/enums/AccessMode.enum.js +0 -5
- package/src/modules/Userinfo/composables/types/CreateUserAccessControl.d.ts +0 -2
- package/types/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue.d.ts +0 -13
- package/types/modules/ObjectPermissions/_internals/enums/AccessMode.enum.d.ts +0 -5
- /package/src/modules/ObjectPermissions/{_internals/components → components/_internal}/permissions-role-row.vue +0 -0
- /package/src/modules/ObjectPermissions/{_internals/components → components/_internal}/permissions-role-select.vue +0 -0
- /package/types/modules/ObjectPermissions/{_internals/components → components/_internal}/permissions-role-row.vue.d.ts +0 -0
- /package/types/modules/ObjectPermissions/{_internals/components → components/_internal}/permissions-role-select.vue.d.ts +0 -0
- /package/types/modules/ObjectPermissions/{_internals/modules → modules}/filters/store/filters.store.d.ts +0 -0
- /package/types/modules/ObjectPermissions/{_internals/store/helpers → store}/createObjectPermissionsStoreModule.d.ts +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const EMPTY_SYMBOL =
|
|
1
|
+
export declare const EMPTY_SYMBOL = "-";
|
|
2
2
|
export declare const displayText: (text: string) => string;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import type { FormatDateMode } from '../enums';
|
|
2
|
-
export declare function formatDate(
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
{
|
|
6
|
-
timezone,
|
|
7
|
-
}?: {
|
|
8
|
-
timezone?: string;
|
|
9
|
-
},
|
|
10
|
-
): string;
|
|
2
|
+
export declare function formatDate(date: string | number | Date, to: (typeof FormatDateMode)[keyof typeof FormatDateMode], { timezone, }?: {
|
|
3
|
+
timezone?: string;
|
|
4
|
+
}): string;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
dataList: {
|
|
9
|
+
type: ArrayConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
isLoading: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
headers: {
|
|
17
|
+
type: ArrayConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
error: {
|
|
21
|
+
type: ObjectConstructor;
|
|
22
|
+
default: any;
|
|
23
|
+
};
|
|
24
|
+
refresh: {
|
|
25
|
+
type: FunctionConstructor;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
sort: {
|
|
29
|
+
type: FunctionConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
changeAccessMode: {
|
|
33
|
+
type: FunctionConstructor;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
existingGranteeIds: {
|
|
37
|
+
type: ArrayConstructor;
|
|
38
|
+
default: () => any[];
|
|
39
|
+
};
|
|
40
|
+
addRolePermissions: {
|
|
41
|
+
type: FunctionConstructor;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
access: {
|
|
45
|
+
type: ObjectConstructor;
|
|
46
|
+
default: () => import("../..").PermissionsUserAccess;
|
|
47
|
+
};
|
|
48
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
dataList: {
|
|
50
|
+
type: ArrayConstructor;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
isLoading: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
headers: {
|
|
58
|
+
type: ArrayConstructor;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
error: {
|
|
62
|
+
type: ObjectConstructor;
|
|
63
|
+
default: any;
|
|
64
|
+
};
|
|
65
|
+
refresh: {
|
|
66
|
+
type: FunctionConstructor;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
sort: {
|
|
70
|
+
type: FunctionConstructor;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
changeAccessMode: {
|
|
74
|
+
type: FunctionConstructor;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
existingGranteeIds: {
|
|
78
|
+
type: ArrayConstructor;
|
|
79
|
+
default: () => any[];
|
|
80
|
+
};
|
|
81
|
+
addRolePermissions: {
|
|
82
|
+
type: FunctionConstructor;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
access: {
|
|
86
|
+
type: ObjectConstructor;
|
|
87
|
+
default: () => import("../..").PermissionsUserAccess;
|
|
88
|
+
};
|
|
89
|
+
}>> & Readonly<{}>, {
|
|
90
|
+
error: Record<string, any>;
|
|
91
|
+
isLoading: boolean;
|
|
92
|
+
access: Record<string, any>;
|
|
93
|
+
existingGranteeIds: unknown[];
|
|
94
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
|
+
type __VLS_Slots = {
|
|
96
|
+
pagination?: (props: {}) => any;
|
|
97
|
+
};
|
package/types/modules/ObjectPermissions/components/_internal/permissions-tab-role-popup.vue.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
existingGranteeIds: {
|
|
5
|
+
type: ArrayConstructor;
|
|
6
|
+
default: () => any[];
|
|
7
|
+
};
|
|
8
|
+
addRolePermissions: {
|
|
9
|
+
type: FunctionConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
existingGranteeIds: {
|
|
14
|
+
type: ArrayConstructor;
|
|
15
|
+
default: () => any[];
|
|
16
|
+
};
|
|
17
|
+
addRolePermissions: {
|
|
18
|
+
type: FunctionConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {
|
|
22
|
+
existingGranteeIds: unknown[];
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,45 +1,12 @@
|
|
|
1
|
+
import { type PermissionsUserAccess } from '../types/PermissionsUserAccess';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Namespace of the parent card store */
|
|
4
|
+
namespace: string;
|
|
5
|
+
/** Access to the component actions, related to permissions */
|
|
6
|
+
access: PermissionsUserAccess;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
access: PermissionsUserAccess;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1
11
|
declare const _default: typeof __VLS_export;
|
|
2
12
|
export default _default;
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
/**
|
|
5
|
-
* Namespace of the parent card store
|
|
6
|
-
*/
|
|
7
|
-
namespace: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Access to the component actions, related to permissions
|
|
13
|
-
*/
|
|
14
|
-
access: {
|
|
15
|
-
type: ObjectConstructor;
|
|
16
|
-
default: () => {
|
|
17
|
-
read: boolean;
|
|
18
|
-
add: boolean;
|
|
19
|
-
edit: boolean;
|
|
20
|
-
delete: boolean;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
/**
|
|
25
|
-
* Namespace of the parent card store
|
|
26
|
-
*/
|
|
27
|
-
namespace: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Access to the component actions, related to permissions
|
|
33
|
-
*/
|
|
34
|
-
access: {
|
|
35
|
-
type: ObjectConstructor;
|
|
36
|
-
default: () => {
|
|
37
|
-
read: boolean;
|
|
38
|
-
add: boolean;
|
|
39
|
-
edit: boolean;
|
|
40
|
-
delete: boolean;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
}>> & Readonly<{}>, {
|
|
44
|
-
access: Record<string, any>;
|
|
45
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1,7 @@
|
|
|
1
|
+
export { default as PermissionsTabContent } from './components/_internal/permissions-tab-content.vue';
|
|
2
|
+
export { default as PermissionsRolePopup } from './components/_internal/permissions-tab-role-popup.vue';
|
|
3
|
+
export { AccessMode, AccessRuleName } from './enums';
|
|
4
|
+
export { headers } from './headers/headers';
|
|
1
5
|
export { createObjectPermissionsStoreModule } from './store';
|
|
6
|
+
export type { PermissionsUserAccess } from './types/PermissionsUserAccess';
|
|
7
|
+
export { DEFAULT_PERMISSIONS_USER_ACCESS } from './types/PermissionsUserAccess';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { createObjectPermissionsStoreModule };
|
|
2
|
-
import { createObjectPermissionsStoreModule } from '
|
|
2
|
+
import { createObjectPermissionsStoreModule } from './createObjectPermissionsStoreModule';
|
package/types/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const _default: typeof __VLS_export;
|
|
2
|
-
export default _default;
|
|
3
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
namespace: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
namespace: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|