@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.
- package/dist/{clients-DhfpT_WX.js → clients-DqzkR0RW.js} +1 -1
- package/dist/{components-D09oOmMT.js → components-D8JOGMR0.js} +3 -3
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +37 -37
- package/dist/{wt-chat-emoji-BNd-IMKX.js → wt-chat-emoji-Dp6FMc5b.js} +1 -1
- package/dist/{wt-display-chip-items-DDtIC1eC.js → wt-display-chip-items-BXBiBRHv.js} +1 -1
- package/dist/{wt-send-message-popup-CZw4gY49.js → wt-send-message-popup-Bb1kLJAB.js} +2 -2
- package/dist/{wt-table-C39WpJH8.js → wt-table-DK024qBI.js} +1 -1
- package/dist/{wt-tree-table-umRsVKWt.js → wt-tree-table-Dr1gwykM.js} +2 -2
- package/dist/{wt-type-extension-value-input-Fbnk51qu.js → wt-type-extension-value-input-PBQg_6By.js} +2 -2
- package/dist/{wt-vidstack-player-BnwDqffJ.js → wt-vidstack-player-BnjIQSJE.js} +1 -1
- package/package.json +3 -3
- package/src/components/wt-galleria/wt-galleria.vue +1 -1
- package/src/components/wt-tree-table/wt-tree-table.vue +1 -1
- package/src/components/wt-tree-table-row/wt-tree-table-row.vue +1 -1
- package/src/modules/Userinfo/composables/createUserAccessControl.ts +2 -2
- package/src/modules/Userinfo/scripts/utils.ts +1 -1
- package/src/modules/Userinfo/stores/accessStore.ts +1 -1
- package/src/modules/Userinfo/types/{UserAccess.d.ts → UserAccess.ts} +5 -5
- package/types/.tsbuildinfo +1 -0
- package/types/api/types/ApiModule.d.ts +42 -0
- package/types/components/wt-action-bar/WtActionBarActionsOrder.d.ts +2 -2
- package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +16 -16
- package/types/components/wt-badge/wt-badge.vue.d.ts +1 -1
- package/types/components/wt-badge-new/types/WtBadge.d.ts +1 -0
- package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +2 -2
- package/types/components/wt-galleria/types/WtGalleria.d.ts +6 -0
- package/types/components/wt-galleria/wt-galleria.vue.d.ts +1 -1
- package/types/components/wt-inline-add-panel/wt-inline-add-panel.vue.d.ts +1 -1
- package/types/components/wt-navigation-bar/types/WtNavigationBar.d.ts +14 -0
- package/types/components/wt-navigation-bar/wt-navigation-bar.vue.d.ts +14 -14
- package/types/components/wt-search-bar/types/WtSearchBar.d.ts +17 -0
- package/types/components/wt-table/types/WtTable.d.ts +10 -0
- package/types/components/wt-table/wt-table.vue.d.ts +2 -2
- package/types/components/wt-tree-table/wt-tree-table.vue.d.ts +1 -1
- package/types/components/wt-tree-table-row/wt-tree-table-row.vue.d.ts +1 -1
- package/types/modules/AuditForm/components/audit-form-question.vue.d.ts +2 -2
- package/types/modules/Flow/lookups/FlowTypeApplications.lookup.d.ts +5 -5
- package/types/modules/Notifications/store/NotificationsStoreModule.d.ts +1 -1
- package/types/modules/Userinfo/scripts/utils.d.ts +1 -1
- package/types/modules/Userinfo/stores/accessStore.d.ts +1 -1
- package/types/modules/Userinfo/stores/userinfoStore.d.ts +30 -31
- package/types/modules/Userinfo/types/UserAccess.d.ts +126 -0
- package/types/plugins/primevue/theme/components/avatar/avatar.d.ts +32 -32
- package/src/components/wt-context-menu/types/WtContextMenu.d.ts +0 -4
- package/src/composables/index.d.ts +0 -9
- package/src/composables/useEventBus/useEventBus.d.ts +0 -11
- package/src/enums/BroadcastChannelName/BroadcastChannelName.d.ts +0 -5
- package/src/enums/BroadcastChannelName/UserSettingsBroadcastMessage.d.ts +0 -12
- package/src/enums/ButtonColor/ButtonColor.d.ts +0 -11
- package/src/enums/ButtonVariant/ButtonVariant.d.ts +0 -6
- package/src/enums/ChipColor/ChipColor.d.ts +0 -11
- package/src/enums/ComponentSize/ComponentSize.d.ts +0 -17
- package/src/enums/ConnectionQualityLevel/ConnectionQualityLevel.enum.d.ts +0 -7
- package/src/enums/CrudAction/CrudAction.d.ts +0 -7
- package/src/enums/DefaultWorkspaceTabSettings/DefaultWorkspaceTabSettings.d.ts +0 -10
- package/src/enums/EmptyCause/EmptyCause.d.ts +0 -6
- package/src/enums/FormatDateMode/FormatDateMode.d.ts +0 -9
- package/src/enums/IconColor/IconColor.d.ts +0 -17
- package/src/enums/LoginOptions/LoginOptions.d.ts +0 -6
- package/src/enums/MessageColor/MessageColor.d.ts +0 -9
- package/src/enums/MessageVariant/MessageVariant.d.ts +0 -6
- package/src/enums/MimeTypes/MimeTypes.enum.d.ts +0 -17
- package/src/enums/ProcessingTableColumnType/ProcessingTableColumnType.d.ts +0 -9
- package/src/enums/QueueType/QueueType.enum.d.ts +0 -28
- package/src/enums/RelativeDatetimeValue/RelativeDatetimeValue.d.ts +0 -8
- package/src/enums/RingtoneType/RingtoneType.d.ts +0 -6
- package/src/enums/SingleSignOnProvider/SingleSignOnProvider.d.ts +0 -8
- package/src/enums/SingleSignOnProviderIconMappings/SingleSignOnProviderIconMappings.d.ts +0 -7
- package/src/enums/WebitelApplications/AdminSections.d.ts +0 -46
- package/src/enums/WebitelApplications/AuditorSections.d.ts +0 -5
- package/src/enums/WebitelApplications/CrmSections.d.ts +0 -16
- package/src/enums/WebitelApplications/SupervisorSections.d.ts +0 -7
- package/src/enums/WebitelApplications/WfmSections.d.ts +0 -6
- package/src/enums/WebitelApplications/WtApplication.d.ts +0 -12
- package/src/enums/WtObject/WtObject.d.ts +0 -63
- package/src/enums/WtTypeExtensionFieldKind/WtTypeExtensionFieldKind.d.ts +0 -14
- package/src/enums/index.d.ts +0 -88
- package/src/modules/ObjectPermissions/enums/AccessMode.enum.d.ts +0 -6
- package/src/modules/ObjectPermissions/enums/AccessRuleName.enum.d.ts +0 -8
- package/src/modules/ObjectPermissions/enums/index.d.ts +0 -2
- package/src/modules/ObjectPermissions/headers/headers.d.ts +0 -7
- package/src/modules/ObjectPermissions/index.d.ts +0 -7
- package/src/modules/ObjectPermissions/types/PermissionsUserAccess.d.ts +0 -3
- package/src/modules/Userinfo/constants/UserSettingsConstants.d.ts +0 -1
- package/src/utils/displayText.d.ts +0 -2
- package/src/utils/formatDate.d.ts +0 -10
- package/src/utils/index.d.ts +0 -2
- /package/src/api/types/{ApiModule.d.ts → ApiModule.ts} +0 -0
- /package/src/components/wt-badge-new/types/{WtBadge.d.ts → WtBadge.ts} +0 -0
- /package/src/components/wt-galleria/types/{WtGalleria.d.ts → WtGalleria.ts} +0 -0
- /package/src/components/wt-navigation-bar/types/{WtNavigationBar.d.ts → WtNavigationBar.ts} +0 -0
- /package/src/components/wt-search-bar/types/{WtSearchBar.d.ts → WtSearchBar.ts} +0 -0
- /package/src/components/wt-table/types/{WtTable.d.ts → WtTable.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as e, i as t } from "./components-
|
|
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-
|
|
2
|
-
import { n } from "./components-
|
|
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: {
|
|
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-
|
|
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-
|
|
221
|
+
}), [["__scopeId", "data-v-3b7387eb"]]);
|
|
222
222
|
//#endregion
|
|
223
223
|
export { H as default };
|
package/dist/{wt-type-extension-value-input-Fbnk51qu.js → wt-type-extension-value-input-PBQg_6By.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./clients-
|
|
2
|
-
import { a as t, o as n, r, s as i } from "./components-
|
|
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";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "26.6.
|
|
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 -
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
|
@@ -8,7 +8,7 @@ import type {
|
|
|
8
8
|
SupervisorSections,
|
|
9
9
|
WtApplication,
|
|
10
10
|
WtObject,
|
|
11
|
-
} from '
|
|
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
|
/**
|