@webitel/ui-sdk 26.6.102 → 26.6.104

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 (95) hide show
  1. package/dist/{clients-DhfpT_WX.js → clients-DqzkR0RW.js} +1 -1
  2. package/dist/{components-D09oOmMT.js → components-D8JOGMR0.js} +3 -3
  3. package/dist/ui-sdk.css +1 -1
  4. package/dist/ui-sdk.js +1 -1
  5. package/dist/ui-sdk.umd.cjs +37 -37
  6. package/dist/{wt-chat-emoji-BNd-IMKX.js → wt-chat-emoji-Dp6FMc5b.js} +1 -1
  7. package/dist/{wt-display-chip-items-DDtIC1eC.js → wt-display-chip-items-BXBiBRHv.js} +1 -1
  8. package/dist/{wt-send-message-popup-CZw4gY49.js → wt-send-message-popup-Bb1kLJAB.js} +2 -2
  9. package/dist/{wt-table-C39WpJH8.js → wt-table-DK024qBI.js} +1 -1
  10. package/dist/{wt-tree-table-umRsVKWt.js → wt-tree-table-Dr1gwykM.js} +2 -2
  11. package/dist/{wt-type-extension-value-input-Fbnk51qu.js → wt-type-extension-value-input-PBQg_6By.js} +2 -2
  12. package/dist/{wt-vidstack-player-BnwDqffJ.js → wt-vidstack-player-BnjIQSJE.js} +1 -1
  13. package/package.json +3 -3
  14. package/src/components/wt-galleria/wt-galleria.vue +1 -1
  15. package/src/components/wt-tree-table/wt-tree-table.vue +1 -1
  16. package/src/components/wt-tree-table-row/wt-tree-table-row.vue +1 -1
  17. package/src/modules/Userinfo/composables/createUserAccessControl.ts +2 -2
  18. package/src/modules/Userinfo/scripts/utils.ts +1 -1
  19. package/src/modules/Userinfo/stores/accessStore.ts +1 -1
  20. package/src/modules/Userinfo/types/{UserAccess.d.ts → UserAccess.ts} +5 -5
  21. package/types/.tsbuildinfo +1 -0
  22. package/types/api/types/ApiModule.d.ts +42 -0
  23. package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
  24. package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +16 -16
  25. package/types/components/wt-badge/wt-badge.vue.d.ts +1 -1
  26. package/types/components/wt-badge-new/types/WtBadge.d.ts +1 -0
  27. package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +2 -2
  28. package/types/components/wt-galleria/types/WtGalleria.d.ts +6 -0
  29. package/types/components/wt-galleria/wt-galleria.vue.d.ts +1 -1
  30. package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +1 -1
  31. package/types/components/wt-navigation-bar/types/WtNavigationBar.d.ts +14 -0
  32. package/types/components/wt-navigation-bar/wt-navigation-bar.vue.d.ts +14 -14
  33. package/types/components/wt-search-bar/types/WtSearchBar.d.ts +17 -0
  34. package/types/components/wt-table/types/WtTable.d.ts +10 -0
  35. package/types/components/wt-table/wt-table.vue.d.ts +2 -2
  36. package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +1 -1
  37. package/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +1 -1
  38. package/types/modules/AuditForm/components/audit-form-question.vue.d.ts +2 -2
  39. package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +5 -5
  40. package/types/modules/Notifications/store/NotificationsStoreModule.d.ts +1 -1
  41. package/types/modules/Userinfo/scripts/utils.d.ts +1 -1
  42. package/types/modules/Userinfo/stores/accessStore.d.ts +1 -1
  43. package/types/modules/Userinfo/stores/userinfoStore.d.ts +30 -31
  44. package/types/modules/Userinfo/types/UserAccess.d.ts +126 -0
  45. package/types/plugins/primevue/theme/components/avatar/avatar.d.ts +32 -32
  46. package/src/components/wt-context-menu/types/WtContextMenu.d.ts +0 -4
  47. package/src/composables/index.d.ts +0 -9
  48. package/src/composables/useEventBus/useEventBus.d.ts +0 -11
  49. package/src/enums/BroadcastChannelName/BroadcastChannelName.d.ts +0 -5
  50. package/src/enums/BroadcastChannelName/UserSettingsBroadcastMessage.d.ts +0 -12
  51. package/src/enums/ButtonColor/ButtonColor.d.ts +0 -11
  52. package/src/enums/ButtonVariant/ButtonVariant.d.ts +0 -6
  53. package/src/enums/ChipColor/ChipColor.d.ts +0 -11
  54. package/src/enums/ComponentSize/ComponentSize.d.ts +0 -17
  55. package/src/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.d.ts +0 -7
  56. package/src/enums/CrudAction/CrudAction.d.ts +0 -7
  57. package/src/enums/DefaultWorkspaceTabSettings/DefaultWorkspaceTabSettings.d.ts +0 -10
  58. package/src/enums/EmptyCause/EmptyCause.d.ts +0 -6
  59. package/src/enums/FormatDateMode/FormatDateMode.d.ts +0 -9
  60. package/src/enums/IconColor/IconColor.d.ts +0 -17
  61. package/src/enums/LoginOptions/LoginOptions.d.ts +0 -6
  62. package/src/enums/MessageColor/MessageColor.d.ts +0 -9
  63. package/src/enums/MessageVariant/MessageVariant.d.ts +0 -6
  64. package/src/enums/MimeTypes/MimeTypes.enum.d.ts +0 -17
  65. package/src/enums/ProcessingTableColumnType/ProcessingTableColumnType.d.ts +0 -9
  66. package/src/enums/QueueType/QueueType.enum.d.ts +0 -28
  67. package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +0 -8
  68. package/src/enums/RingtoneType/RingtoneType.d.ts +0 -6
  69. package/src/enums/SingleSignOnProvider/SingleSignOnProvider.d.ts +0 -8
  70. package/src/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.d.ts +0 -7
  71. package/src/enums/WebitelApplications/AdminSections.d.ts +0 -46
  72. package/src/enums/WebitelApplications/AuditorSections.d.ts +0 -5
  73. package/src/enums/WebitelApplications/CrmSections.d.ts +0 -16
  74. package/src/enums/WebitelApplications/SupervisorSections.d.ts +0 -7
  75. package/src/enums/WebitelApplications/WfmSections.d.ts +0 -6
  76. package/src/enums/WebitelApplications/WtApplication.d.ts +0 -12
  77. package/src/enums/WtObject/WtObject.d.ts +0 -63
  78. package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +0 -14
  79. package/src/enums/index.d.ts +0 -88
  80. package/src/modules/ObjectPermissions/enums/AccessMode.enum.d.ts +0 -6
  81. package/src/modules/ObjectPermissions/enums/AccessRuleName.enum.d.ts +0 -8
  82. package/src/modules/ObjectPermissions/enums/index.d.ts +0 -2
  83. package/src/modules/ObjectPermissions/headers/headers.d.ts +0 -7
  84. package/src/modules/ObjectPermissions/index.d.ts +0 -7
  85. package/src/modules/ObjectPermissions/types/PermissionsUserAccess.d.ts +0 -3
  86. package/src/modules/Userinfo/constants/UserSettingsConstants.d.ts +0 -1
  87. package/src/utils/displayText.d.ts +0 -2
  88. package/src/utils/formatDate.d.ts +0 -10
  89. package/src/utils/index.d.ts +0 -2
  90. /package/src/api/types/{ApiModule.d.ts → ApiModule.ts} +0 -0
  91. /package/src/components/wt-badge-new/types/{WtBadge.d.ts → WtBadge.ts} +0 -0
  92. /package/src/components/wt-galleria/types/{WtGalleria.d.ts → WtGalleria.ts} +0 -0
  93. /package/src/components/wt-navigation-bar/types/{WtNavigationBar.d.ts → WtNavigationBar.ts} +0 -0
  94. /package/src/components/wt-search-bar/types/{WtSearchBar.d.ts → WtSearchBar.ts} +0 -0
  95. /package/src/components/wt-table/types/{WtTable.d.ts → WtTable.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import "./components-D09oOmMT.js";
1
+ import "./components-D8JOGMR0.js";
2
2
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as t } from "./enums-De8CDKZ1.js";
4
4
  import { t as n } from "./wt-button-dC4nOW56.js";
@@ -1,4 +1,4 @@
1
- import { C as e, i as t } from "./components-D09oOmMT.js";
1
+ import { C as e, i as t } from "./components-D8JOGMR0.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { t as r } from "./displayText-CtaxzaBz.js";
4
4
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, createVNode as l, defineComponent as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
@@ -1,5 +1,5 @@
1
- import { n as e, r as t } from "./clients-DhfpT_WX.js";
2
- import { n } from "./components-D09oOmMT.js";
1
+ import { n as e, r as t } from "./clients-DqzkR0RW.js";
2
+ import { n } from "./components-D8JOGMR0.js";
3
3
  import { t as r } from "./vue-i18n-Db_oYfO8.js";
4
4
  import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, inject as c, mergeProps as l, onMounted as u, openBlock as d, ref as f, resolveComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
5
5
  //#endregion
@@ -99,7 +99,7 @@ var j = { class: "wt-table__th__content typo-body-1-bold" }, M = { class: "wt-ta
99
99
  metaKeySelection: { type: Boolean },
100
100
  contextMenu: { type: Boolean },
101
101
  contextMenuSelection: {},
102
- selectAll: { type: [Boolean, null] },
102
+ selectAll: {},
103
103
  rowHover: { type: Boolean },
104
104
  csvSeparator: {},
105
105
  exportFilename: {},
@@ -110,7 +110,7 @@ var O = { class: "wt-tree-table-td__content" }, k = {
110
110
  ]))), 128))], 64);
111
111
  };
112
112
  }
113
- }), [["__scopeId", "data-v-8381ad70"]]), N = { class: "wt-tree-table wt-scrollbar" }, P = { class: "wt-tree-table-wrapper" }, F = { class: "wt-tree-table-head" }, I = { class: "wt-tree-table-tr wt-tree-table-tr-head" }, L = ["onClick"], R = { class: "wt-tree-table-th__text" }, z = {
113
+ }), [["__scopeId", "data-v-51ab1948"]]), N = { class: "wt-tree-table wt-scrollbar" }, P = { class: "wt-tree-table-wrapper" }, F = { class: "wt-tree-table-head" }, I = { class: "wt-tree-table-tr wt-tree-table-tr-head" }, L = ["onClick"], R = { class: "wt-tree-table-th__text" }, z = {
114
114
  key: 0,
115
115
  class: "wt-tree-table-th__actions"
116
116
  }, B = { class: "wt-tree-table-th__content" }, V = { class: "wt-tree-table-body" }, H = /*#__PURE__*/ e(/* @__PURE__ */ m({
@@ -218,6 +218,6 @@ var O = { class: "wt-tree-table-td__content" }, k = {
218
218
  ]))), 128))])])]);
219
219
  };
220
220
  }
221
- }), [["__scopeId", "data-v-69c5594f"]]);
221
+ }), [["__scopeId", "data-v-3b7387eb"]]);
222
222
  //#endregion
223
223
  export { H as default };
@@ -1,5 +1,5 @@
1
- import { t as e } from "./clients-DhfpT_WX.js";
2
- import { a as t, o as n, r, s as i } from "./components-D09oOmMT.js";
1
+ import { t as e } from "./clients-DqzkR0RW.js";
2
+ import { a as t, o as n, r, s as i } from "./components-D8JOGMR0.js";
3
3
  import { t as a } from "./enums-De8CDKZ1.js";
4
4
  import { t as o } from "./vue-i18n-Db_oYfO8.js";
5
5
  import { computed as s, createBlock as c, createCommentVNode as l, createVNode as u, defineComponent as d, mergeModels as f, mergeProps as p, openBlock as m, renderSlot as h, resolveComponent as g, unref as _, useModel as v } from "vue";
@@ -1,4 +1,4 @@
1
- import { w as e } from "./components-D09oOmMT.js";
1
+ import { w as e } from "./components-D8JOGMR0.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { l as n } from "./enums-De8CDKZ1.js";
4
4
  import "./wt-button-dC4nOW56.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "26.6.102",
3
+ "version": "26.6.104",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -10,7 +10,7 @@
10
10
  "test:coverage": "vitest run --coverage",
11
11
  "biome:format:all": "npx biome check --write ./src",
12
12
  "biome:ci:gh": "biome ci ./src --reporter=github",
13
- "build:types": "vue-tsc -p ./tsconfig.build.json",
13
+ "build:types": "vue-tsc -b tsconfig.build.json",
14
14
  "publish-lib": " npm publish --access public --tag latest",
15
15
  "docs:dev": "vitepress dev docs",
16
16
  "docs:build": "vitepress build docs",
@@ -22,7 +22,7 @@
22
22
  "utils:i": "npm install",
23
23
  "prepare": "husky || true",
24
24
  "test:unit:ci": "npm run test:coverage",
25
- "typecheck": "vue-tsc --noEmit -p ./tsconfig.json",
25
+ "typecheck": "vue-tsc --noEmit -p ./tsconfig.typecheck.json",
26
26
  "typecheck:ci": "vue-tsc --noEmit -p ./tsconfig.typecheck.json"
27
27
  },
28
28
  "workspaces": [
@@ -119,7 +119,7 @@ import {
119
119
  useGalleriaFullscreen,
120
120
  useGalleriaMaskClick,
121
121
  } from '../_internals/composables';
122
- import type { WtGalleriaItem } from './types/WtGalleria.d.ts';
122
+ import type { WtGalleriaItem } from './types/WtGalleria';
123
123
 
124
124
  /**
125
125
  * @emits {number} download - Fires when download button is clicked. Emits index of the image to download
@@ -103,7 +103,7 @@ import { computed, toRef } from 'vue';
103
103
  import { getNextSortOrder } from '../../scripts/sortQueryAdapters';
104
104
  import { useWtTable } from '../_internals/composables/useWtTable/useWtTable';
105
105
  import WtCheckbox from '../wt-checkbox/wt-checkbox.vue';
106
- import type { WtTableHeader } from '../wt-table/types/WtTable.d.ts';
106
+ import type { WtTableHeader } from '../wt-table/types/WtTable';
107
107
  import WtTreeTableRow from '../wt-tree-table-row/wt-tree-table-row.vue';
108
108
 
109
109
  const props = withDefaults(
@@ -107,7 +107,7 @@ import { computed, onMounted, ref } from 'vue';
107
107
 
108
108
  import WtCheckbox from '../wt-checkbox/wt-checkbox.vue';
109
109
  import WtIconBtn from '../wt-icon-btn/wt-icon-btn.vue';
110
- import type { WtTableHeader } from '../wt-table/types/WtTable.d.ts';
110
+ import type { WtTableHeader } from '../wt-table/types/WtTable';
111
111
 
112
112
  const props = withDefaults(
113
113
  defineProps<{
@@ -3,7 +3,7 @@ import { useRoute } from 'vue-router';
3
3
  import { CrudAction, type WtObject } from '../../../enums';
4
4
  import { _wtUiLog } from '../../../scripts/logger';
5
5
  import type { createUserAccessStore } from '../stores/accessStore';
6
- import type { UserAccessStore } from '../types/UserAccess.d.ts';
6
+ import type { UserAccessStore } from '../types/UserAccess';
7
7
 
8
8
  export type UseUserAccessControlComposableOptions =
9
9
  | WtObject
@@ -40,7 +40,7 @@ export const createUserAccessControlComposable = (
40
40
  : false;
41
41
 
42
42
  const route = useRoute();
43
- const object = resource || route?.meta?.WtObject;
43
+ const object = (resource || route?.meta?.WtObject) as WtObject | undefined;
44
44
 
45
45
  const userinfoStore = useUserinfoStore() as UserAccessStore;
46
46
 
@@ -21,7 +21,7 @@ import type {
21
21
  UiSection,
22
22
  VisibilityAccess,
23
23
  WebitelLicenseInfo,
24
- } from '../types/UserAccess.d';
24
+ } from '../types/UserAccess';
25
25
 
26
26
  /**
27
27
  * @internal
@@ -25,7 +25,7 @@ import type {
25
25
  UiSection,
26
26
  UserAccessStore,
27
27
  WebitelLicenseInfo,
28
- } from '../types/UserAccess.d';
28
+ } from '../types/UserAccess';
29
29
 
30
30
  export const createUserAccessStore = ({
31
31
  namespace = 'userinfo',
@@ -8,7 +8,7 @@ import type {
8
8
  SupervisorSections,
9
9
  WtApplication,
10
10
  WtObject,
11
- } from '../../../../enums';
11
+ } from '../../../enums';
12
12
  import type { ApplicationsAccessSchema } from '../classes/ApplicationsAccess';
13
13
  import type {
14
14
  CrudGlobalAction,
@@ -123,10 +123,10 @@ export interface UserAccessStore {
123
123
  hasLicense: (license: WebitelLicense) => boolean;
124
124
 
125
125
  hasApplicationVisibility: (app: WtApplication) => boolean;
126
- hasSectionVisibility: ({
127
- section: UiSection,
128
- object: WtObject,
129
- app: WtApplication,
126
+ hasSectionVisibility: (params: {
127
+ section: UiSection;
128
+ object: WtObject;
129
+ app: WtApplication;
130
130
  }) => boolean;
131
131
 
132
132
  /**