@webitel/ui-sdk 24.12.74 → 24.12.77

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 (37) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/ui-sdk.css +1 -1
  3. package/dist/ui-sdk.js +3162 -3121
  4. package/dist/ui-sdk.umd.cjs +16 -16
  5. package/package.json +2 -1
  6. package/src/components/wt-empty/wt-empty.vue +2 -2
  7. package/src/components/wt-popup/wt-popup.vue +18 -23
  8. package/src/components/wt-tree/types/WtTreeMode.ts +6 -0
  9. package/src/components/wt-tree/wt-tree.vue +4 -4
  10. package/src/components/wt-tree-table/wt-tree-table.vue +2 -2
  11. package/src/components/wt-tree-table-row/wt-tree-table-row.vue +1 -1
  12. package/src/composables/useCard/useCardTabs.js +1 -2
  13. package/src/composables/useWtTable/useWtTable.ts +1 -1
  14. package/src/enums/ComponentSize/ComponentSize.js +11 -0
  15. package/src/enums/ComponentSize/ComponentSize.ts +13 -0
  16. package/src/enums/WebitelApplications/AdminSections.enum.js +13 -54
  17. package/src/enums/WebitelApplications/AdminSections.ts +46 -0
  18. package/src/enums/WebitelApplications/AuditorSections.enum.js +12 -4
  19. package/src/enums/WebitelApplications/AuditorSections.ts +6 -0
  20. package/src/enums/WebitelApplications/CrmSections.enum.js +9 -16
  21. package/src/enums/WebitelApplications/CrmSections.ts +17 -0
  22. package/src/enums/WebitelApplications/SupervisorSections.enum.js +12 -6
  23. package/src/enums/WebitelApplications/SupervisorSections.ts +8 -0
  24. package/src/enums/WebitelApplications/WebitelApplications.enum.js +12 -10
  25. package/src/enums/WebitelApplications/WtApplication.ts +11 -0
  26. package/src/enums/WtObject/WtObject.ts +11 -0
  27. package/src/enums/index.js +8 -10
  28. package/src/locale/en/en.js +2 -0
  29. package/src/locale/ru/ru.js +2 -0
  30. package/src/locale/ua/ua.js +2 -0
  31. package/src/modules/ObjectPermissions/components/permissions-tab.vue +2 -0
  32. package/src/scripts/compareSize.ts +1 -1
  33. package/src/components/wt-tree/types/wt-tree-mode.ts +0 -4
  34. package/src/enums/ComponentSize/ComponentSize.enum.js +0 -15
  35. package/src/enums/ComponentSize/ComponentSize.enum.ts +0 -11
  36. /package/src/api/types/{ApiModule.type.ts → ApiModule.d.ts} +0 -0
  37. /package/src/components/wt-table/types/{WtTable.type.ts → WtTable.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.12.74",
3
+ "version": "24.12.77",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -16,6 +16,7 @@
16
16
  "docs:dev": "vitepress dev docs --port 8080",
17
17
  "docs:build": "vitepress build docs",
18
18
  "docs:preview": "vitepress preview docs",
19
+ "tsc": "vue-tsc -p tsconfig.json",
19
20
  "update-node": "nvm install --lts && nvm alias default node"
20
21
  },
21
22
  "main": "./dist/@webitel/ui-sdk.mjs",
@@ -131,8 +131,8 @@
131
131
 
132
132
  import { computed, useSlots } from 'vue';
133
133
 
134
- import ComponentSize from '../../enums/ComponentSize/ComponentSize.enum.js';
135
- import { greaterOrEqual, smallerOrEqual } from '../../scripts/compareSize.ts';
134
+ import { ComponentSize } from '../../enums/ComponentSize/ComponentSize';
135
+ import { greaterOrEqual, smallerOrEqual } from '../../scripts/compareSize';
136
136
  import WtImage from '../wt-image/wt-image.vue';
137
137
 
138
138
  const props = defineProps({
@@ -4,20 +4,19 @@
4
4
  :class="[`wt-popup--size-${size}`, { 'wt-popup--overflow': overflow }]"
5
5
  class="wt-popup"
6
6
  >
7
-
8
- <!-- &lt;!&ndash; @slot check source code for scoped bindings :( &ndash;&gt;-->
9
- <!-- <slot-->
10
- <!-- class="wt-popup-activator"-->
11
- <!-- name="activator"-->
12
- <!-- v-bind="{-->
13
- <!-- shown: wrapperShown,-->
14
- <!-- size,-->
15
- <!-- disabled,-->
16
- <!-- open: openPopup,-->
17
- <!-- close: closePopup,-->
18
- <!-- toggle: togglePopup,-->
19
- <!-- } as ActivatorSlotScope"-->
20
- <!-- />-->
7
+ <!-- &lt;!&ndash; @slot check source code for scoped bindings :( &ndash;&gt;-->
8
+ <!-- <slot-->
9
+ <!-- class="wt-popup-activator"-->
10
+ <!-- name="activator"-->
11
+ <!-- v-bind="{-->
12
+ <!-- shown: wrapperShown,-->
13
+ <!-- size,-->
14
+ <!-- disabled,-->
15
+ <!-- open: openPopup,-->
16
+ <!-- close: closePopup,-->
17
+ <!-- toggle: togglePopup,-->
18
+ <!-- } as ActivatorSlotScope"-->
19
+ <!-- />-->
21
20
 
22
21
  <transition-slide :offset="[0, -1440 / 2]">
23
22
  <aside
@@ -54,10 +53,10 @@
54
53
  </template>
55
54
 
56
55
  <script lang="ts" setup>
57
- import {TransitionSlide} from '@morev/vue-transitions';
58
- import {computed, defineEmits, defineProps, ref, watch} from 'vue';
56
+ import { TransitionSlide } from '@morev/vue-transitions';
57
+ import { computed, defineEmits, defineProps, ref, watch } from 'vue';
59
58
 
60
- import {ComponentSize} from "../../enums/ComponentSize/ComponentSize.enum.ts";
59
+ import { ComponentSize } from '../../enums/ComponentSize/ComponentSize';
61
60
 
62
61
  interface Props {
63
62
  /**
@@ -80,7 +79,7 @@ interface Props {
80
79
  }
81
80
 
82
81
  const props = withDefaults(defineProps<Props>(), {
83
- shown: true, // TODO: change me to false after refactor
82
+ shown: true, // TODO: change me to false after refactor
84
83
  size: ComponentSize.MD,
85
84
  overflow: false,
86
85
  disabled: false,
@@ -112,7 +111,6 @@ const activatorMode = !!slots.activator;
112
111
  const wrapperShown = ref(false);
113
112
  const isCloseAnimationPlaying = ref(false);
114
113
 
115
-
116
114
  const openPopup = () => {
117
115
  wrapperShown.value = true;
118
116
  };
@@ -142,7 +140,6 @@ const showPopupComponent = computed(() => {
142
140
  watch(
143
141
  () => props.shown,
144
142
  (value) => {
145
-
146
143
  /*
147
144
  * prop shown default value =true is used to allow backwards compatibility with
148
145
  * older wt-popup API, when popup visibility was controlled simply by v-if
@@ -153,14 +150,13 @@ watch(
153
150
  */
154
151
  if (activatorMode) return;
155
152
 
156
-
157
153
  if (value) {
158
154
  openPopup();
159
155
  } else {
160
156
  closePopup();
161
157
  }
162
158
  },
163
- {immediate: true}
159
+ { immediate: true },
164
160
  );
165
161
 
166
162
  watch(wrapperShown, (value) => {
@@ -170,7 +166,6 @@ watch(wrapperShown, (value) => {
170
166
  emit('popup:closed');
171
167
  }
172
168
  });
173
-
174
169
  </script>
175
170
 
176
171
  <style lang="scss">
@@ -0,0 +1,6 @@
1
+ export const WtTreeMode = {
2
+ Tree: 'tree',
3
+ List: 'list',
4
+ } as const;
5
+
6
+ export type WtTreeMode = (typeof WtTreeMode)[keyof typeof WtTreeMode];
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="wt-tree">
3
3
  <div
4
- v-if="mode === WtTreeMode.TREE"
4
+ v-if="mode === WtTreeMode.Tree"
5
5
  class="wt-tree__content"
6
6
  >
7
7
  <wt-tree-line
@@ -16,7 +16,7 @@
16
16
  />
17
17
  </div>
18
18
  <div
19
- v-if="mode === WtTreeMode.LIST"
19
+ v-if="mode === WtTreeMode.List"
20
20
  class="wt-tree__list-content"
21
21
  >
22
22
  <span
@@ -46,7 +46,7 @@ import deepEqual from 'deep-equal';
46
46
  import { computed } from 'vue';
47
47
 
48
48
  import WtTreeLine from '../wt-tree-line/wt-tree-line.vue';
49
- import { WtTreeMode } from './types/wt-tree-mode.ts';
49
+ import { WtTreeMode } from './types/WtTreeMode';
50
50
 
51
51
  const props = withDefaults(
52
52
  defineProps<{
@@ -78,7 +78,7 @@ const props = withDefaults(
78
78
  }>(),
79
79
  {
80
80
  childrenProp: 'children',
81
- mode: WtTreeMode.TREE,
81
+ mode: WtTreeMode.Tree,
82
82
  },
83
83
  );
84
84
 
@@ -92,9 +92,9 @@
92
92
  <script setup lang="ts">
93
93
  import { computed, withDefaults } from 'vue';
94
94
 
95
- import { useWtTable } from '../../composables/useWtTable/useWtTable.ts';
95
+ import { useWtTable } from '../../composables/useWtTable/useWtTable';
96
96
  import { getNextSortOrder } from '../../scripts/sortQueryAdapters';
97
- import { WtTableHeader } from '../wt-table/types/WtTable.type.ts';
97
+ import type { WtTableHeader } from '../wt-table/types/WtTable.d.ts';
98
98
  import WtTreeTableRow from '../wt-tree-table-row/wt-tree-table-row.vue';
99
99
 
100
100
  const props = withDefaults(
@@ -114,7 +114,7 @@ import { computed, onMounted, ref } from 'vue';
114
114
 
115
115
  import WtCheckbox from '../wt-checkbox/wt-checkbox.vue';
116
116
  import WtIconBtn from '../wt-icon-btn/wt-icon-btn.vue';
117
- import { WtTableHeader } from "../wt-table/types/WtTable.type.ts";
117
+ import type { WtTableHeader } from '../wt-table/types/WtTable.d.ts';
118
118
 
119
119
  const props = withDefaults(
120
120
  defineProps<{
@@ -13,12 +13,11 @@ export const useCardTabs = (tabs) => {
13
13
  });
14
14
 
15
15
  function changeTab(tab) {
16
- const { params, query, hash } = route;
16
+ const { params, hash } = route;
17
17
 
18
18
  return router.push({
19
19
  name: tab.pathName,
20
20
  params,
21
- query,
22
21
  hash,
23
22
  });
24
23
  }
@@ -1,7 +1,7 @@
1
1
  import { computed } from 'vue';
2
2
  import { useI18n } from 'vue-i18n';
3
3
 
4
- import { WtTableHeader } from '../../components/wt-table/types/WtTable.type.ts';
4
+ import type { WtTableHeader } from '../../components/wt-table/types/WtTable.d.ts';
5
5
 
6
6
  export const useWtTable = ({ headers }) => {
7
7
  const { t } = useI18n();
@@ -0,0 +1,11 @@
1
+ export const ComponentSize = {
2
+ XXXS: '3xs',
3
+ XXS: '2xs',
4
+ XS: 'xs',
5
+ SM: 'sm',
6
+ MD: 'md',
7
+ LG: 'lg',
8
+ XL: 'xl',
9
+ XXL: '2xl',
10
+ XXXL: '3xl',
11
+ };
@@ -0,0 +1,13 @@
1
+ export const ComponentSize = {
2
+ XXXS: '3xs',
3
+ XXS: '2xs',
4
+ XS: 'xs',
5
+ SM: 'sm',
6
+ MD: 'md',
7
+ LG: 'lg',
8
+ XL: 'xl',
9
+ XXL: '2xl',
10
+ XXXL: '3xl',
11
+ } as const;
12
+
13
+ export type ComponentSize = (typeof ComponentSize)[keyof typeof ComponentSize];
@@ -1,54 +1,13 @@
1
- const AdminSections = Object.freeze({
2
- // DIRECTORY
3
- LICENSE: 'license', // permissions: add
4
- USERS: 'users', // scope: users
5
- DEVICES: 'devices', // scope: devices
6
-
7
- // ROUTING
8
- FLOW: 'flow', // scope: flow
9
- DIALPLAN: 'dialplan', // scope: acr_routing
10
- GATEWAYS: 'gateways', // scope: gateways
11
- CHATPLAN: 'chatplan', // scope: acr_routing
12
- CHAT_GATEWAYS: 'chat-gateways', // scope: chats
13
-
14
- // LOOKUPS
15
- BLACKLIST: 'blacklist', // scope: cc_list
16
- REGIONS: 'regions', // scope: lookups
17
- CALENDARS: 'calendars', // scope: calendars
18
- COMMUNICATIONS: 'communications', // scope: lookups
19
- PAUSE_CAUSE: 'pause-cause', // scope: lookups
20
- MEDIA: 'media', // scope: media_file
21
- SHIFT_TEMPLATES: 'shift-templates', // scope: shift_templates
22
- PAUSE_TEMPLATES: 'pause-templates', //scope: pause_templates
23
- WORKING_CONDITIONS: 'working-conditions', //scope: working_conditions
24
-
25
- // CONTACT CENTER
26
- SKILLS: 'skills', // scope: lookups
27
- AGENTS: 'agents', // scope: cc_agent
28
- BUCKETS: 'buckets', // scope: cc_bucket
29
- QUEUES: 'queues', // scope: cc_queue
30
- MEMBERS: 'members', // scope: cc_queue
31
- RESOURCE_GROUPS: 'resource-groups', // scope: cc_resource_group
32
- RESOURCES: 'resources', // scope: cc_resource
33
- TEAMS: 'teams', // scope: cc_team
34
-
35
- // INTEGRATIONS
36
- STORAGE: 'storage', // scope: storage_profile
37
- STORAGE_POLICIES: 'storage-policies', // scope: storage_policies_profile
38
- COGNITIVE_PROFILES: 'cognitive-profiles', // scope: cognitive_profile
39
- EMAIL_PROFILES: 'email-profiles', // scope: email_profile
40
- SINGLE_SIGN_ON: 'single-sign-on', // scope: single-sign-on
41
- IMPORT_CSV: 'import-csv',
42
- TRIGGERS: 'triggers',
43
-
44
- // PERMISSIONS
45
- OBJECTS: 'objects', // permissions: add
46
- ROLES: 'roles', // scope: roles
47
-
48
- // SYSTEM
49
- CHANGELOGS: 'changelogs',
50
- CONFIGURATION: 'configuration',
51
- GLOBAL_VARIABLES: 'global-variables',
52
- });
53
-
54
- export default AdminSections;
1
+ import { AdminSections } from './AdminSections';
2
+
3
+ /**
4
+ * @deprecated
5
+ * default export is for backward compatibility,
6
+ * use ts enum instead (and don't forget to compile it)
7
+ */
8
+ export default Object.fromEntries(
9
+ Object.entries(AdminSections).map(([key, value]) => [
10
+ key.toUpperCase(),
11
+ value,
12
+ ]),
13
+ );
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @augments WtApplication
3
+ * represents ui sections in Admin WtApplication
4
+ * without any relation to WtObjects (?)
5
+ */
6
+ export const AdminSections = {
7
+ Agents: 'agents',
8
+ Blacklist: 'blacklist',
9
+ Buckets: 'buckets',
10
+ Calendars: 'calendars',
11
+ Changelogs: 'changelogs',
12
+ ChatGateways: 'chat-gateways',
13
+ Chatplan: 'chatplan',
14
+ CognitiveProfiles: 'cognitive-profiles',
15
+ Communications: 'communications',
16
+ Configuration: 'configuration',
17
+ Dialplan: 'dialplan',
18
+ Devices: 'devices',
19
+ EmailProfiles: 'email-profiles',
20
+ Flow: 'flow',
21
+ Gateways: 'gateways',
22
+ GlobalVariables: 'global-variables',
23
+ ImportCsv: 'import-csv',
24
+ License: 'license',
25
+ Media: 'media',
26
+ Members: 'members',
27
+ Objects: 'objects',
28
+ PauseCause: 'pause-cause',
29
+ PauseTemplates: 'pause-templates',
30
+ Queues: 'queues',
31
+ Regions: 'regions',
32
+ ResourceGroups: 'resource-groups',
33
+ Resources: 'resources',
34
+ Roles: 'roles',
35
+ ShiftTemplates: 'shift-templates',
36
+ SingleSignOn: 'single-sign-on',
37
+ Skills: 'skills',
38
+ Storage: 'storage',
39
+ StoragePolicies: 'storage-policies',
40
+ Teams: 'teams',
41
+ Triggers: 'triggers',
42
+ Users: 'users',
43
+ WorkingConditions: 'working-conditions',
44
+ } as const;
45
+
46
+ export type AdminSections = (typeof AdminSections)[keyof typeof AdminSections];
@@ -1,5 +1,13 @@
1
- const AuditorSections = Object.freeze({
2
- SCORECARDS: 'scorecards',
3
- });
1
+ import { AuditorSections } from './AuditorSections';
4
2
 
5
- export default AuditorSections;
3
+ /**
4
+ * @deprecated
5
+ * default export is for backward compatibility,
6
+ * use ts enum instead (and don't forget to compile it)
7
+ */
8
+ export default Object.fromEntries(
9
+ Object.entries(AuditorSections).map(([key, value]) => [
10
+ key.toUpperCase(),
11
+ value,
12
+ ]),
13
+ );
@@ -0,0 +1,6 @@
1
+ export const AuditorSections = {
2
+ Scorecards: 'scorecards',
3
+ } as const;
4
+
5
+ export type AuditorSections =
6
+ (typeof AuditorSections)[keyof typeof AuditorSections];
@@ -1,17 +1,10 @@
1
- const CrmSections = Object.freeze({
2
- CONTACTS: 'contacts',
3
- CASES: 'cases',
1
+ import { CrmSections } from './CrmSections';
4
2
 
5
- // CONFIGURATION - LOOKUPS
6
- SLAS: 'slas',
7
- SERVICE_CATALOGS: 'service-catalogs',
8
- PRIORITIES: 'priorities',
9
- STATUSES: 'statuses',
10
- SOURCES: 'sources',
11
- CLOSE_REASON_GROUPS: 'close-reason-groups',
12
- CONTACT_GROUPS: 'contact-groups',
13
- CASE_SOURCES: 'case-sources',
14
- CUSTOM_LOOKUPS: 'custom-lookups',
15
- });
16
-
17
- export default CrmSections;
3
+ /**
4
+ * @deprecated
5
+ * default export is for backward compatibility,
6
+ * use ts enum instead (and don't forget to compile it)
7
+ */
8
+ export default Object.fromEntries(
9
+ Object.entries(CrmSections).map(([key, value]) => [key.toUpperCase(), value]),
10
+ );
@@ -0,0 +1,17 @@
1
+ export const CrmSections = {
2
+ Contacts: 'contacts',
3
+ Cases: 'cases',
4
+
5
+ // CONFIGURATION - LOOKUPS
6
+ Slas: 'slas',
7
+ ServiceCatalogs: 'service-catalogs',
8
+ Priorities: 'priorities',
9
+ Statuses: 'statuses',
10
+ Sources: 'sources',
11
+ CloseReasonGroups: 'close-reason-groups',
12
+ ContactGroups: 'contact-groups',
13
+ CaseSources: 'case-sources',
14
+ CustomLookups: 'custom-lookups',
15
+ } as const;
16
+
17
+ export type CrmSections = typeof CrmSections[keyof typeof CrmSections];
@@ -1,7 +1,13 @@
1
- const SupervisorSections = Object.freeze({
2
- QUEUES: 'queues',
3
- AGENTS: 'agents',
4
- ACTIVE_CALLS: 'activeCalls',
5
- });
1
+ import { SupervisorSections } from './SupervisorSections';
6
2
 
7
- export default SupervisorSections;
3
+ /**
4
+ * @deprecated
5
+ * default export is for backward compatibility,
6
+ * use ts enum instead (and don't forget to compile it)
7
+ */
8
+ export default Object.fromEntries(
9
+ Object.entries(SupervisorSections).map(([key, value]) => [
10
+ key.toUpperCase(),
11
+ value,
12
+ ]),
13
+ );
@@ -0,0 +1,8 @@
1
+ export const SupervisorSections = {
2
+ Queues: 'queues',
3
+ Agents: 'agents',
4
+ ActiveCalls: 'activeCalls',
5
+ } as const;
6
+
7
+ export type SupervisorSections =
8
+ (typeof SupervisorSections)[keyof typeof SupervisorSections];
@@ -1,11 +1,13 @@
1
- const WebitelApplications = Object.freeze({
2
- ADMIN: 'admin',
3
- AGENT: 'agent',
4
- SUPERVISOR: 'supervisor',
5
- HISTORY: 'history',
6
- AUDIT: 'audit',
7
- ANALYTICS: 'grafana',
8
- CRM: 'crm',
9
- });
1
+ import { WtApplication } from './WtApplication';
10
2
 
11
- export default WebitelApplications;
3
+ /**
4
+ * @deprecated
5
+ * default export is for backward compatibility,
6
+ * use ts enum instead (and don't forget to compile it)
7
+ */
8
+ export default Object.fromEntries(
9
+ Object.entries(WtApplication).map(([key, value]) => [
10
+ key.toUpperCase(),
11
+ value,
12
+ ]),
13
+ );
@@ -0,0 +1,11 @@
1
+ export const WtApplication = {
2
+ Admin: 'admin',
3
+ Agent: 'agent',
4
+ Supervisor: 'supervisor',
5
+ History: 'history',
6
+ Audit: 'audit',
7
+ Analytics: 'grafana',
8
+ Crm: 'crm',
9
+ } as const;
10
+
11
+ export type WtApplication = (typeof WtApplication)[keyof typeof WtApplication];
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Represents existing Webitel entities
3
+ */
4
+ export const WtObject = {
5
+ Agent: 'agent',
6
+ Queue: 'queue',
7
+ Contact: 'contact',
8
+ Regions: 'regions',
9
+ } as const;
10
+
11
+ export type WtObject = (typeof WtObject)[keyof typeof WtObject];
@@ -1,31 +1,29 @@
1
1
  import AbstractUserStatus from './AbstractUserStatus/AbstractUserStatus.enum.js';
2
2
  import AgentStatus from './AgentStatus/AgentStatus.enum.js';
3
3
  import ChatGatewayProvider from './ChatGatewayProvider/ChatGatewayProvider.enum.js';
4
- import ComponentSize from './ComponentSize/ComponentSize.enum.js';
4
+ import { ComponentSize } from './ComponentSize/ComponentSize';
5
5
  import IconAction from './IconAction/IconAction.enum.js';
6
6
  import QueueType from './QueueType/QueueType.enum.js';
7
7
  import TypesExportedSettings from './TypesExportedSettings/TypesExportedSettings.enum.js';
8
-
9
- // Webitel Applications group
10
- import AdminSections from './WebitelApplications/AdminSections.enum.js';
8
+ import { AdminSections } from './WebitelApplications/AdminSections';
11
9
  import AuditorSections from './WebitelApplications/AuditorSections.enum.js';
12
10
  import CrmSections from './WebitelApplications/CrmSections.enum.js';
13
11
  import SupervisorSections from './WebitelApplications/SupervisorSections.enum.js';
14
12
  import WebitelApplications from './WebitelApplications/WebitelApplications.enum.js';
13
+ import { WtObject } from './WtObject/WtObject';
15
14
 
16
15
  export {
17
16
  AbstractUserStatus,
17
+ AdminSections,
18
18
  AgentStatus,
19
+ AuditorSections,
19
20
  ChatGatewayProvider,
20
21
  ComponentSize,
22
+ CrmSections,
21
23
  IconAction,
22
24
  QueueType,
23
- TypesExportedSettings,
24
-
25
- // Webitel Applications group
26
- AdminSections,
27
- AuditorSections,
28
- CrmSections,
29
25
  SupervisorSections,
26
+ TypesExportedSettings,
30
27
  WebitelApplications,
28
+ WtObject,
31
29
  };
@@ -300,6 +300,8 @@ export default {
300
300
  domainValidator: 'Incorrect domain',
301
301
  decimalValidator:
302
302
  'Decimal precision should be no more than { count } places',
303
+ latinWithNumber:
304
+ 'The code must contain only letters (A-Z, a-z) and numbers (0-9)',
303
305
  integer: 'The field should contain only whole numbers',
304
306
  },
305
307
  webitelUI: {
@@ -298,6 +298,8 @@ export default {
298
298
  domainValidator: 'Неправильный домен',
299
299
  decimalValidator:
300
300
  'Количество десятичных знаков не должно быть больше { count }',
301
+ latinWithNumber:
302
+ 'Код должен содержать только буквы (A-Z, a-z) и цифры (0-9)',
301
303
  integer: 'Поле должно содержать только целые числа',
302
304
  },
303
305
  webitelUI: {
@@ -298,6 +298,8 @@ export default {
298
298
  domainValidator: 'Невірний домен',
299
299
  decimalValidator:
300
300
  'Кількість десяткових знаків не повинна бути більше { count }',
301
+ latinWithNumber:
302
+ 'Код повинен містити лише літери (A-Z, a-z) та цифри (0-9)',
301
303
  integer: 'Поле повинно містити лише цілі числа',
302
304
  },
303
305
  webitelUI: {
@@ -172,6 +172,7 @@ const {
172
172
 
173
173
  subscribe,
174
174
  flushSubscribers,
175
+ resetFilters,
175
176
  } = useTableFilters(tableNamespace);
176
177
 
177
178
  subscribe({
@@ -183,6 +184,7 @@ restoreFilters();
183
184
 
184
185
  onUnmounted(() => {
185
186
  flushSubscribers();
187
+ resetFilters();
186
188
  });
187
189
 
188
190
  const {
@@ -1,4 +1,4 @@
1
- import {ComponentSize} from '../enums/ComponentSize/ComponentSize.enum.ts';
1
+ import { ComponentSize } from '../enums/ComponentSize/ComponentSize';
2
2
 
3
3
  const numerics = Object.values(ComponentSize).reduce((nums, size, index) => {
4
4
  return {
@@ -1,4 +0,0 @@
1
- export enum WtTreeMode {
2
- TREE = 'tree',
3
- LIST = 'list',
4
- }
@@ -1,15 +0,0 @@
1
- const ComponentSize = Object.freeze({
2
- XXXS: '3xs',
3
- XXS: '2xs',
4
- XS: 'xs',
5
- SM: 'sm',
6
- MD: 'md',
7
- LG: 'lg',
8
- XL: 'xl',
9
- XXL: '2xl',
10
- XXXL: '3xl',
11
- });
12
-
13
- export { ComponentSize };
14
-
15
- export default ComponentSize;
@@ -1,11 +0,0 @@
1
- export enum ComponentSize {
2
- XXXS = '3xs',
3
- XXS = '2xs',
4
- XS = 'xs',
5
- SM = 'sm',
6
- MD = 'md',
7
- LG = 'lg',
8
- XL = 'xl',
9
- XXL = '2xl',
10
- XXXL = '3xl',
11
- }