@webitel/ui-sdk 26.6.98 → 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.
Files changed (106) hide show
  1. package/dist/{clients-Ban2DI-G.js → clients-DBR1e2Vq.js} +211 -202
  2. package/dist/{components-CgRNe7Of.js → components-89d9wbnp.js} +3 -3
  3. package/dist/ui-sdk.js +1 -1
  4. package/dist/ui-sdk.umd.cjs +47 -47
  5. package/dist/{wt-chat-emoji-CkQhDrp4.js → wt-chat-emoji-D9JuBz2G.js} +1 -1
  6. package/dist/{wt-display-chip-items-Cehd6VzJ.js → wt-display-chip-items-BKf1iLN9.js} +1 -1
  7. package/dist/{wt-send-message-popup-bkFSm2O6.js → wt-send-message-popup-DgiD0_MI.js} +2 -2
  8. package/dist/{wt-type-extension-value-input-BN3bi6Vl.js → wt-type-extension-value-input-CuniJHNW.js} +2 -2
  9. package/dist/{wt-vidstack-player-Bk4LL-2K.js → wt-vidstack-player-2y5Cn9Cg.js} +1 -1
  10. package/package.json +1 -1
  11. package/src/api/clients/roles/roles.ts +5 -3
  12. package/src/composables/useEventBus/useEventBus.d.ts +4 -4
  13. package/src/enums/BroadcastChannelName/BroadcastChannelName.d.ts +2 -3
  14. package/src/enums/BroadcastChannelName/UserSettingsBroadcastMessage.d.ts +7 -7
  15. package/src/enums/ButtonColor/ButtonColor.d.ts +8 -8
  16. package/src/enums/ButtonVariant/ButtonVariant.d.ts +3 -3
  17. package/src/enums/ChipColor/ChipColor.d.ts +8 -8
  18. package/src/enums/ComponentSize/ComponentSize.d.ts +14 -14
  19. package/src/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.d.ts +4 -5
  20. package/src/enums/CrudAction/CrudAction.d.ts +4 -4
  21. package/src/enums/DefaultWorkspaceTabSettings/DefaultWorkspaceTabSettings.d.ts +7 -8
  22. package/src/enums/EmptyCause/EmptyCause.d.ts +3 -3
  23. package/src/enums/FormatDateMode/FormatDateMode.d.ts +6 -7
  24. package/src/enums/IconColor/IconColor.d.ts +14 -14
  25. package/src/enums/LoginOptions/LoginOptions.d.ts +3 -3
  26. package/src/enums/MessageColor/MessageColor.d.ts +6 -6
  27. package/src/enums/MessageVariant/MessageVariant.d.ts +3 -3
  28. package/src/enums/MimeTypes/MimeTypes.enum.d.ts +14 -14
  29. package/src/enums/ProcessingTableColumnType/ProcessingTableColumnType.d.ts +6 -7
  30. package/src/enums/QueueType/QueueType.enum.d.ts +22 -22
  31. package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +5 -6
  32. package/src/enums/RingtoneType/RingtoneType.d.ts +3 -3
  33. package/src/enums/SingleSignOnProvider/SingleSignOnProvider.d.ts +5 -6
  34. package/src/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.d.ts +2 -6
  35. package/src/enums/WebitelApplications/AdminSections.d.ts +38 -38
  36. package/src/enums/WebitelApplications/AuditorSections.d.ts +2 -3
  37. package/src/enums/WebitelApplications/CrmSections.d.ts +13 -13
  38. package/src/enums/WebitelApplications/SupervisorSections.d.ts +4 -5
  39. package/src/enums/WebitelApplications/WfmSections.d.ts +3 -3
  40. package/src/enums/WebitelApplications/WtApplication.d.ts +9 -9
  41. package/src/enums/WtObject/WtObject.d.ts +57 -57
  42. package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +7 -8
  43. package/src/enums/index.d.ts +4 -54
  44. package/src/locale/en/en.js +5 -5
  45. package/src/locale/es/es.js +6 -6
  46. package/src/locale/kz/kz.js +5 -5
  47. package/src/locale/pl/pl.js +5 -5
  48. package/src/locale/ro/ro.js +5 -5
  49. package/src/locale/ru/ru.js +5 -5
  50. package/src/locale/uk/uk.js +5 -5
  51. package/src/locale/uz/uz.js +5 -5
  52. package/src/locale/vi/vi.js +5 -5
  53. package/src/modules/ObjectPermissions/components/_internal/permissions-tab-content.vue +190 -0
  54. package/src/modules/ObjectPermissions/{_internals/components → components/_internal}/permissions-tab-role-popup.vue +10 -20
  55. package/src/modules/ObjectPermissions/components/permissions-tab.vue +43 -160
  56. package/src/modules/ObjectPermissions/enums/AccessMode.enum.d.ts +6 -0
  57. package/src/modules/ObjectPermissions/enums/AccessMode.enum.ts +7 -0
  58. package/src/modules/ObjectPermissions/enums/AccessRuleName.enum.d.ts +7 -0
  59. package/src/modules/ObjectPermissions/enums/AccessRuleName.enum.ts +9 -0
  60. package/src/modules/ObjectPermissions/enums/index.d.ts +2 -0
  61. package/src/modules/ObjectPermissions/enums/index.ts +2 -0
  62. package/{types/modules/ObjectPermissions/_internals/store/modules → src/modules/ObjectPermissions/headers}/headers.d.ts +2 -2
  63. package/src/modules/ObjectPermissions/{_internals/store/modules/headers.js → headers/headers.ts} +6 -2
  64. package/src/modules/ObjectPermissions/index.d.ts +7 -0
  65. package/src/modules/ObjectPermissions/index.ts +6 -0
  66. package/src/modules/ObjectPermissions/{_internals/modules → modules}/filters/store/filters.store.js +1 -1
  67. package/src/modules/ObjectPermissions/{_internals/store/helpers → store}/createObjectPermissionsStoreModule.js +2 -2
  68. package/src/modules/ObjectPermissions/store/index.js +1 -1
  69. package/src/modules/ObjectPermissions/{_internals/store/modules → store}/objectPermissionsStoreModule.js +6 -7
  70. package/src/modules/ObjectPermissions/types/PermissionsUserAccess.d.ts +3 -0
  71. package/src/modules/ObjectPermissions/types/PermissionsUserAccess.ts +10 -0
  72. package/src/modules/Userinfo/constants/UserSettingsConstants.d.ts +1 -1
  73. package/src/utils/displayText.d.ts +1 -1
  74. package/src/utils/formatDate.d.ts +3 -9
  75. package/types/locale/en/en.d.ts +1 -1
  76. package/types/locale/es/es.d.ts +1 -1
  77. package/types/locale/i18n.d.ts +9 -9
  78. package/types/locale/index.d.ts +9 -9
  79. package/types/locale/kz/kz.d.ts +1 -1
  80. package/types/locale/pl/pl.d.ts +1 -1
  81. package/types/locale/ro/ro.d.ts +1 -1
  82. package/types/locale/ru/ru.d.ts +1 -1
  83. package/types/locale/uk/uk.d.ts +1 -1
  84. package/types/locale/uz/uz.d.ts +1 -1
  85. package/types/locale/vi/vi.d.ts +1 -1
  86. package/types/modules/ObjectPermissions/components/_internal/permissions-tab-content.vue.d.ts +97 -0
  87. package/types/modules/ObjectPermissions/components/_internal/permissions-tab-role-popup.vue.d.ts +23 -0
  88. package/types/modules/ObjectPermissions/components/permissions-tab.vue.d.ts +10 -43
  89. package/types/modules/ObjectPermissions/enums/AccessMode.enum.d.ts +6 -0
  90. package/types/modules/ObjectPermissions/enums/AccessRuleName.enum.d.ts +7 -0
  91. package/types/modules/ObjectPermissions/enums/index.d.ts +2 -0
  92. package/types/modules/ObjectPermissions/headers/headers.d.ts +7 -0
  93. package/types/modules/ObjectPermissions/index.d.ts +6 -0
  94. package/types/modules/ObjectPermissions/store/index.d.ts +1 -1
  95. package/types/modules/ObjectPermissions/{_internals/store/modules → store}/objectPermissionsStoreModule.d.ts +1 -0
  96. package/types/modules/ObjectPermissions/types/PermissionsUserAccess.d.ts +3 -0
  97. package/src/modules/ObjectPermissions/_internals/enums/AccessMode.enum.js +0 -5
  98. package/src/modules/Userinfo/composables/types/CreateUserAccessControl.d.ts +0 -2
  99. package/types/modules/ObjectPermissions/_internals/components/permissions-tab-role-popup.vue.d.ts +0 -13
  100. package/types/modules/ObjectPermissions/_internals/enums/AccessMode.enum.d.ts +0 -5
  101. /package/src/modules/ObjectPermissions/{_internals/components → components/_internal}/permissions-role-row.vue +0 -0
  102. /package/src/modules/ObjectPermissions/{_internals/components → components/_internal}/permissions-role-select.vue +0 -0
  103. /package/types/modules/ObjectPermissions/{_internals/components → components/_internal}/permissions-role-row.vue.d.ts +0 -0
  104. /package/types/modules/ObjectPermissions/{_internals/components → components/_internal}/permissions-role-select.vue.d.ts +0 -0
  105. /package/types/modules/ObjectPermissions/{_internals/modules → modules}/filters/store/filters.store.d.ts +0 -0
  106. /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
- date: string | number | Date,
4
- to: (typeof FormatDateMode)[keyof typeof FormatDateMode],
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;
@@ -420,7 +420,7 @@ declare const _default: {
420
420
  integer: string;
421
421
  nameAlreadyInUse: string;
422
422
  phoneNumberSymbolsValidator: string;
423
- loginValidator: string;
423
+ loginValidator: () => "Enter login in the format name@domain";
424
424
  };
425
425
  webitelUI: {
426
426
  searchBar: {
@@ -465,7 +465,7 @@ declare namespace _default {
465
465
  export let integer: string;
466
466
  export let nameAlreadyInUse: string;
467
467
  export let phoneNumberSymbolsValidator: string;
468
- export let loginValidator: string;
468
+ export function loginValidator(): string;
469
469
  }
470
470
  export namespace webitelUI {
471
471
  export namespace searchBar {
@@ -421,7 +421,7 @@ declare const _default: import("vue-i18n").I18n<{
421
421
  integer: string;
422
422
  nameAlreadyInUse: string;
423
423
  phoneNumberSymbolsValidator: string;
424
- loginValidator: string;
424
+ loginValidator: () => "Enter login in the format name@domain";
425
425
  };
426
426
  webitelUI: {
427
427
  searchBar: {
@@ -1268,7 +1268,7 @@ declare const _default: import("vue-i18n").I18n<{
1268
1268
  integer: string;
1269
1269
  nameAlreadyInUse: string;
1270
1270
  phoneNumberSymbolsValidator: string;
1271
- loginValidator: string;
1271
+ loginValidator: () => string;
1272
1272
  };
1273
1273
  webitelUI: {
1274
1274
  searchBar: {
@@ -2099,7 +2099,7 @@ declare const _default: import("vue-i18n").I18n<{
2099
2099
  integer: string;
2100
2100
  nameAlreadyInUse: string;
2101
2101
  phoneNumberSymbolsValidator: string;
2102
- loginValidator: string;
2102
+ loginValidator: () => string;
2103
2103
  };
2104
2104
  webitelUI: {
2105
2105
  searchBar: {
@@ -2932,7 +2932,7 @@ declare const _default: import("vue-i18n").I18n<{
2932
2932
  integer: string;
2933
2933
  nameAlreadyInUse: string;
2934
2934
  phoneNumberSymbolsValidator: string;
2935
- loginValidator: string;
2935
+ loginValidator: () => string;
2936
2936
  };
2937
2937
  webitelUI: {
2938
2938
  searchBar: {
@@ -3763,7 +3763,7 @@ declare const _default: import("vue-i18n").I18n<{
3763
3763
  integer: string;
3764
3764
  nameAlreadyInUse: string;
3765
3765
  phoneNumberSymbolsValidator: string;
3766
- loginValidator: string;
3766
+ loginValidator: () => string;
3767
3767
  };
3768
3768
  webitelUI: {
3769
3769
  searchBar: {
@@ -4596,7 +4596,7 @@ declare const _default: import("vue-i18n").I18n<{
4596
4596
  integer: string;
4597
4597
  nameAlreadyInUse: string;
4598
4598
  phoneNumberSymbolsValidator: string;
4599
- loginValidator: string;
4599
+ loginValidator: () => string;
4600
4600
  };
4601
4601
  webitelUI: {
4602
4602
  searchBar: {
@@ -5429,7 +5429,7 @@ declare const _default: import("vue-i18n").I18n<{
5429
5429
  integer: string;
5430
5430
  nameAlreadyInUse: string;
5431
5431
  phoneNumberSymbolsValidator: string;
5432
- loginValidator: string;
5432
+ loginValidator: () => string;
5433
5433
  };
5434
5434
  webitelUI: {
5435
5435
  searchBar: {
@@ -6263,7 +6263,7 @@ declare const _default: import("vue-i18n").I18n<{
6263
6263
  integer: string;
6264
6264
  nameAlreadyInUse: string;
6265
6265
  phoneNumberSymbolsValidator: string;
6266
- loginValidator: string;
6266
+ loginValidator: () => string;
6267
6267
  };
6268
6268
  webitelUI: {
6269
6269
  searchBar: {
@@ -7096,7 +7096,7 @@ declare const _default: import("vue-i18n").I18n<{
7096
7096
  integer: string;
7097
7097
  nameAlreadyInUse: string;
7098
7098
  phoneNumberSymbolsValidator: string;
7099
- loginValidator: string;
7099
+ loginValidator: () => string;
7100
7100
  };
7101
7101
  webitelUI: {
7102
7102
  searchBar: {
@@ -431,7 +431,7 @@ export declare const messages: {
431
431
  integer: string;
432
432
  nameAlreadyInUse: string;
433
433
  phoneNumberSymbolsValidator: string;
434
- loginValidator: string;
434
+ loginValidator: () => "Enter login in the format name@domain";
435
435
  };
436
436
  webitelUI: {
437
437
  searchBar: {
@@ -1278,7 +1278,7 @@ export declare const messages: {
1278
1278
  integer: string;
1279
1279
  nameAlreadyInUse: string;
1280
1280
  phoneNumberSymbolsValidator: string;
1281
- loginValidator: string;
1281
+ loginValidator: () => string;
1282
1282
  };
1283
1283
  webitelUI: {
1284
1284
  searchBar: {
@@ -2109,7 +2109,7 @@ export declare const messages: {
2109
2109
  integer: string;
2110
2110
  nameAlreadyInUse: string;
2111
2111
  phoneNumberSymbolsValidator: string;
2112
- loginValidator: string;
2112
+ loginValidator: () => string;
2113
2113
  };
2114
2114
  webitelUI: {
2115
2115
  searchBar: {
@@ -2942,7 +2942,7 @@ export declare const messages: {
2942
2942
  integer: string;
2943
2943
  nameAlreadyInUse: string;
2944
2944
  phoneNumberSymbolsValidator: string;
2945
- loginValidator: string;
2945
+ loginValidator: () => string;
2946
2946
  };
2947
2947
  webitelUI: {
2948
2948
  searchBar: {
@@ -3773,7 +3773,7 @@ export declare const messages: {
3773
3773
  integer: string;
3774
3774
  nameAlreadyInUse: string;
3775
3775
  phoneNumberSymbolsValidator: string;
3776
- loginValidator: string;
3776
+ loginValidator: () => string;
3777
3777
  };
3778
3778
  webitelUI: {
3779
3779
  searchBar: {
@@ -4606,7 +4606,7 @@ export declare const messages: {
4606
4606
  integer: string;
4607
4607
  nameAlreadyInUse: string;
4608
4608
  phoneNumberSymbolsValidator: string;
4609
- loginValidator: string;
4609
+ loginValidator: () => string;
4610
4610
  };
4611
4611
  webitelUI: {
4612
4612
  searchBar: {
@@ -5439,7 +5439,7 @@ export declare const messages: {
5439
5439
  integer: string;
5440
5440
  nameAlreadyInUse: string;
5441
5441
  phoneNumberSymbolsValidator: string;
5442
- loginValidator: string;
5442
+ loginValidator: () => string;
5443
5443
  };
5444
5444
  webitelUI: {
5445
5445
  searchBar: {
@@ -6273,7 +6273,7 @@ export declare const messages: {
6273
6273
  integer: string;
6274
6274
  nameAlreadyInUse: string;
6275
6275
  phoneNumberSymbolsValidator: string;
6276
- loginValidator: string;
6276
+ loginValidator: () => string;
6277
6277
  };
6278
6278
  webitelUI: {
6279
6279
  searchBar: {
@@ -7106,7 +7106,7 @@ export declare const messages: {
7106
7106
  integer: string;
7107
7107
  nameAlreadyInUse: string;
7108
7108
  phoneNumberSymbolsValidator: string;
7109
- loginValidator: string;
7109
+ loginValidator: () => string;
7110
7110
  };
7111
7111
  webitelUI: {
7112
7112
  searchBar: {
@@ -465,7 +465,7 @@ declare namespace _default {
465
465
  export let integer: string;
466
466
  export let nameAlreadyInUse: string;
467
467
  export let phoneNumberSymbolsValidator: string;
468
- export let loginValidator: string;
468
+ export function loginValidator(): string;
469
469
  }
470
470
  export namespace webitelUI {
471
471
  export namespace searchBar {
@@ -465,7 +465,7 @@ declare namespace _default {
465
465
  export let integer: string;
466
466
  export let nameAlreadyInUse: string;
467
467
  export let phoneNumberSymbolsValidator: string;
468
- export let loginValidator: string;
468
+ export function loginValidator(): string;
469
469
  }
470
470
  export namespace webitelUI {
471
471
  export namespace searchBar {
@@ -465,7 +465,7 @@ declare namespace _default {
465
465
  export let integer: string;
466
466
  export let nameAlreadyInUse: string;
467
467
  export let phoneNumberSymbolsValidator: string;
468
- export let loginValidator: string;
468
+ export function loginValidator(): string;
469
469
  }
470
470
  export namespace webitelUI {
471
471
  export namespace searchBar {
@@ -463,7 +463,7 @@ declare namespace _default {
463
463
  export let integer: string;
464
464
  export let nameAlreadyInUse: string;
465
465
  export let phoneNumberSymbolsValidator: string;
466
- export let loginValidator: string;
466
+ export function loginValidator(): string;
467
467
  }
468
468
  export namespace webitelUI {
469
469
  export namespace searchBar {
@@ -463,7 +463,7 @@ declare namespace _default {
463
463
  export let integer: string;
464
464
  export let nameAlreadyInUse: string;
465
465
  export let phoneNumberSymbolsValidator: string;
466
- export let loginValidator: string;
466
+ export function loginValidator(): string;
467
467
  }
468
468
  export namespace webitelUI {
469
469
  export namespace searchBar {
@@ -466,7 +466,7 @@ declare namespace _default {
466
466
  export let integer: string;
467
467
  export let nameAlreadyInUse: string;
468
468
  export let phoneNumberSymbolsValidator: string;
469
- export let loginValidator: string;
469
+ export function loginValidator(): string;
470
470
  }
471
471
  export namespace webitelUI {
472
472
  export namespace searchBar {
@@ -465,7 +465,7 @@ declare namespace _default {
465
465
  export let integer: string;
466
466
  export let nameAlreadyInUse: string;
467
467
  export let phoneNumberSymbolsValidator: string;
468
- export let loginValidator: string;
468
+ export function loginValidator(): string;
469
469
  }
470
470
  export namespace webitelUI {
471
471
  export namespace searchBar {
@@ -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
+ };
@@ -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>;
@@ -0,0 +1,6 @@
1
+ export declare const AccessMode: {
2
+ readonly Forbidden: 1;
3
+ readonly Allow: 2;
4
+ readonly Manage: 3;
5
+ };
6
+ export type AccessMode = (typeof AccessMode)[keyof typeof AccessMode];
@@ -0,0 +1,7 @@
1
+ export declare const AccessRuleName: {
2
+ X: string;
3
+ R: string;
4
+ W: string;
5
+ D: string;
6
+ };
7
+ export type AccessRuleName = (typeof AccessRuleName)[keyof typeof AccessRuleName];
@@ -0,0 +1,2 @@
1
+ export * from './AccessMode.enum';
2
+ export * from './AccessRuleName.enum';
@@ -0,0 +1,7 @@
1
+ export declare const headers: {
2
+ value: string;
3
+ locale: string;
4
+ field: string;
5
+ show: boolean;
6
+ sort: any;
7
+ }[];
@@ -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 '../_internals/store/helpers/createObjectPermissionsStoreModule.js';
2
+ import { createObjectPermissionsStoreModule } from './createObjectPermissionsStoreModule';
@@ -4,6 +4,7 @@ declare function _default(): {
4
4
  value: string;
5
5
  locale: string;
6
6
  field: string;
7
+ show: boolean;
7
8
  sort: any;
8
9
  }[];
9
10
  };
@@ -0,0 +1,3 @@
1
+ import { CrudAction } from '../../../enums';
2
+ export type PermissionsUserAccess = Record<CrudAction, boolean>;
3
+ export declare const DEFAULT_PERMISSIONS_USER_ACCESS: PermissionsUserAccess;
@@ -1,5 +0,0 @@
1
- export const AccessMode = Object.freeze({
2
- FORBIDDEN: 1,
3
- ALLOW: 2,
4
- MANAGE: 3,
5
- });
@@ -1,2 +0,0 @@
1
- /** Ambient declarations for create-user-access-control can be added here. */
2
- export {};
@@ -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>;
@@ -1,5 +0,0 @@
1
- export const AccessMode: Readonly<{
2
- FORBIDDEN: 1;
3
- ALLOW: 2;
4
- MANAGE: 3;
5
- }>;