@webitel/ui-datalist 1.0.1 → 1.0.3

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 (113) hide show
  1. package/package.json +5 -10
  2. package/src/filter-presets/api/PresetQuery.api.ts +7 -8
  3. package/src/filter-presets/components/_shared/input-fields/preset-description-field.vue +2 -3
  4. package/src/filter-presets/components/_shared/input-fields/preset-name-field.vue +2 -3
  5. package/src/filter-presets/components/_shared/preset-filters-preview.vue +2 -2
  6. package/src/filter-presets/components/apply-preset/apply-preset-action.vue +10 -10
  7. package/src/filter-presets/components/apply-preset/preset-preview.vue +6 -6
  8. package/src/filter-presets/components/save-preset/overwrite-preset-popup.vue +1 -1
  9. package/src/filter-presets/components/save-preset/save-preset-action.vue +4 -4
  10. package/src/filter-presets/components/save-preset/save-preset-popup.vue +1 -1
  11. package/src/filters/classes/FiltersManager.ts +2 -1
  12. package/src/filters/components/config/dynamic-filter-config-form-label.vue +2 -3
  13. package/src/filters/components/config/dynamic-filter-config-form.vue +33 -13
  14. package/src/filters/components/config/dynamic-filter-config-view.vue +4 -4
  15. package/src/filters/components/dynamic-filter-add-action.vue +26 -4
  16. package/src/filters/components/dynamic-filter-panel-wrapper.vue +1 -1
  17. package/src/filters/components/dynamic-filter-search.vue +2 -3
  18. package/src/filters/components/filter-options/_shared/has-options/has-option-filter-value-field.vue +2 -2
  19. package/src/filters/components/filter-options/actual-reaction-time/actual-reaction-time-filter-value-field.vue +1 -1
  20. package/src/filters/components/filter-options/actual-resolution-time/actual-resolution-time-filter-value-field.vue +1 -1
  21. package/src/filters/components/filter-options/agent/agent-filter-value-field.vue +2 -2
  22. package/src/filters/components/filter-options/agent/agent-filter-value-preview.vue +1 -1
  23. package/src/filters/components/filter-options/agent/config.js +1 -1
  24. package/src/filters/components/filter-options/amd-result/amd-result-filter-value-field.vue +2 -2
  25. package/src/filters/components/filter-options/amd-result/amd-result-filter-value-preview.vue +1 -1
  26. package/src/filters/components/filter-options/assignee/assignee-filter-value-field.vue +2 -3
  27. package/src/filters/components/filter-options/assignee/assignee-filter-value-preview.vue +1 -1
  28. package/src/filters/components/filter-options/assignee/config.js +1 -1
  29. package/src/filters/components/filter-options/author/author-filter-value-field.vue +2 -2
  30. package/src/filters/components/filter-options/author/author-filter-value-preview.vue +1 -1
  31. package/src/filters/components/filter-options/author/config.js +1 -1
  32. package/src/filters/components/filter-options/cause/cause-filter-value-field.vue +2 -2
  33. package/src/filters/components/filter-options/cause/cause-filter-value-preview.vue +1 -1
  34. package/src/filters/components/filter-options/close-reason-groups-case/close-reason-groups-case-filter-value-field.vue +3 -3
  35. package/src/filters/components/filter-options/close-reason-groups-case/close-reason-groups-case-filter-value-preview.vue +1 -1
  36. package/src/filters/components/filter-options/close-reason-groups-case/config.js +2 -2
  37. package/src/filters/components/filter-options/contact/config.js +1 -1
  38. package/src/filters/components/filter-options/contact/contact-filter-value-field.vue +2 -2
  39. package/src/filters/components/filter-options/contact/contact-filter-value-preview.vue +1 -1
  40. package/src/filters/components/filter-options/contact-group/config.js +1 -1
  41. package/src/filters/components/filter-options/contact-group/contact-group-filter-value-field.vue +3 -3
  42. package/src/filters/components/filter-options/contact-group/contact-group-filter-value-preview.vue +1 -1
  43. package/src/filters/components/filter-options/created-at-from/created-at-from-filter-value-field.vue +1 -1
  44. package/src/filters/components/filter-options/created-at-from/created-at-from-filter-value-preview.vue +1 -1
  45. package/src/filters/components/filter-options/created-at-to/created-at-to-filter-value-field.vue +1 -1
  46. package/src/filters/components/filter-options/created-at-to/created-at-to-filter-value-preview.vue +1 -1
  47. package/src/filters/components/filter-options/direction/direction-filter-value-field.vue +2 -2
  48. package/src/filters/components/filter-options/direction/direction-filter-value-preview.vue +2 -2
  49. package/src/filters/components/filter-options/gateway/config.js +1 -1
  50. package/src/filters/components/filter-options/gateway/gateway-filter-value-field.vue +2 -2
  51. package/src/filters/components/filter-options/gateway/gateway-filter-value-preview.vue +1 -1
  52. package/src/filters/components/filter-options/grantee/config.js +1 -1
  53. package/src/filters/components/filter-options/grantee/grantee-filter-value-field.vue +2 -2
  54. package/src/filters/components/filter-options/grantee/grantee-filter-value-preview.vue +1 -1
  55. package/src/filters/components/filter-options/has-attachment/has-attachment-filter-value-field.vue +1 -1
  56. package/src/filters/components/filter-options/has-attachment/has-attachment-filter-value-preview.vue +1 -1
  57. package/src/filters/components/filter-options/has-file/has-file-filter-value-field.vue +1 -1
  58. package/src/filters/components/filter-options/has-file/has-file-filter-value-preview.vue +1 -1
  59. package/src/filters/components/filter-options/has-rating/has-rating-filter-value-field.vue +1 -1
  60. package/src/filters/components/filter-options/has-rating/has-rating-filter-value-preview.vue +1 -1
  61. package/src/filters/components/filter-options/has-transcription/has-transcription-filter-value-field.vue +1 -1
  62. package/src/filters/components/filter-options/has-transcription/has-transcription-filter-value-preview.vue +1 -1
  63. package/src/filters/components/filter-options/impacted/config.js +1 -1
  64. package/src/filters/components/filter-options/impacted/impacted-filter-value-field.vue +2 -2
  65. package/src/filters/components/filter-options/impacted/impacted-filter-value-preview.vue +1 -1
  66. package/src/filters/components/filter-options/priority-case/config.js +1 -1
  67. package/src/filters/components/filter-options/priority-case/priority-case-filter-value-field.vue +2 -2
  68. package/src/filters/components/filter-options/priority-case/priority-case-filter-value-preview.vue +1 -1
  69. package/src/filters/components/filter-options/queue/config.js +1 -1
  70. package/src/filters/components/filter-options/queue/queue-filter-value-field.vue +2 -2
  71. package/src/filters/components/filter-options/queue/queue-filter-value-preview.vue +1 -1
  72. package/src/filters/components/filter-options/rated-by/config.js +1 -1
  73. package/src/filters/components/filter-options/rated-by/rated-by-filter-value-field.vue +2 -2
  74. package/src/filters/components/filter-options/rated-by/rated-by-filter-value-preview.vue +1 -1
  75. package/src/filters/components/filter-options/rating/rating-from-to-filter-value-field.vue +1 -2
  76. package/src/filters/components/filter-options/reaction-time/reaction-time-filter-value-field.vue +1 -1
  77. package/src/filters/components/filter-options/reporter/config.js +1 -1
  78. package/src/filters/components/filter-options/reporter/reporter-filter-value-field.vue +2 -2
  79. package/src/filters/components/filter-options/reporter/reporter-filter-value-preview.vue +1 -1
  80. package/src/filters/components/filter-options/resolution-time/resolution-time-filter-value-field.vue +1 -1
  81. package/src/filters/components/filter-options/score/score-from-to-filter-value-field.vue +1 -1
  82. package/src/filters/components/filter-options/service-case/config.js +2 -2
  83. package/src/filters/components/filter-options/service-case/service-case-filter-value-field.vue +1 -1
  84. package/src/filters/components/filter-options/service-case/service-case-filter-value-preview.vue +1 -1
  85. package/src/filters/components/filter-options/sla/config.js +1 -1
  86. package/src/filters/components/filter-options/sla/sla-filter-value-field.vue +2 -2
  87. package/src/filters/components/filter-options/sla/sla-filter-value-preview.vue +1 -1
  88. package/src/filters/components/filter-options/sla-condition/config.js +2 -2
  89. package/src/filters/components/filter-options/sla-condition/sla-condition-filter-value-field.vue +2 -2
  90. package/src/filters/components/filter-options/sla-condition/sla-condition-filter-value-preview.vue +1 -1
  91. package/src/filters/components/filter-options/source-case/config.js +1 -1
  92. package/src/filters/components/filter-options/source-case/source-case-filter-value-field.vue +2 -2
  93. package/src/filters/components/filter-options/source-case/source-case-filter-value-preview.vue +1 -1
  94. package/src/filters/components/filter-options/status-case/config.js +2 -2
  95. package/src/filters/components/filter-options/status-case/status-case-filter-value-field.vue +2 -2
  96. package/src/filters/components/filter-options/status-case/status-case-filter-value-preview.vue +1 -1
  97. package/src/filters/components/filter-options/tag/tag-filter-value-field.vue +2 -2
  98. package/src/filters/components/filter-options/tag/tag-filter-value-preview.vue +1 -1
  99. package/src/filters/components/filter-options/talk-duration/talk-duration-filter-value-field.vue +1 -1
  100. package/src/filters/components/filter-options/team/config.js +1 -1
  101. package/src/filters/components/filter-options/team/team-filter-value-field.vue +2 -2
  102. package/src/filters/components/filter-options/team/team-filter-value-preview.vue +1 -1
  103. package/src/filters/components/filter-options/total-duration/total-duration-filter-value-field.vue +1 -1
  104. package/src/filters/components/filter-options/user/config.js +1 -1
  105. package/src/filters/components/filter-options/user/user-filter-value-field.vue +2 -2
  106. package/src/filters/components/filter-options/user/user-filter-value-preview.vue +1 -1
  107. package/src/filters/components/filter-options/variable/variable-filter-value-field.vue +2 -3
  108. package/src/filters/components/preview/dynamic-filter-preview.vue +25 -7
  109. package/src/filters/components/table-filters-panel.vue +137 -67
  110. package/src/filters/index.ts +10 -1
  111. package/src/filters/types/Filter.d.ts +5 -0
  112. package/src/headers/createTableHeadersStore.ts +3 -3
  113. package/src/types/tableStore.types.ts +1 -1
@@ -31,10 +31,10 @@
31
31
  <script lang="ts" setup>
32
32
  import { useVuelidate } from '@vuelidate/core';
33
33
  import { required } from '@vuelidate/validators';
34
- import { computed, onMounted, ref, watch } from 'vue';
34
+ import { WtSelect } from '@webitel/ui-sdk/components';
35
+ import { computed, onMounted, watch } from 'vue';
35
36
  import { useI18n } from 'vue-i18n';
36
37
 
37
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
38
38
  import {
39
39
  caseCloseReasonsGroupsSearchMethod,
40
40
  caseCloseReasonsSearchMethod,
@@ -99,4 +99,4 @@ watch(
99
99
  );
100
100
  </script>
101
101
 
102
- <style lang="scss" scoped></style>
102
+ <style scoped></style>
@@ -31,4 +31,4 @@ const getLocalValue = async () => {
31
31
  getLocalValue();
32
32
  </script>
33
33
 
34
- <style lang="scss" scoped></style>
34
+ <style scoped></style>
@@ -1,5 +1,5 @@
1
- import CaseCloseReasonGroupsAPI from '../../../../../../../api/clients/caseCloseReasonGroups/caseCloseReasonGroups.js';
2
- import CaseCloseReasonsAPI from '../../../../../../../api/clients/caseCloseReasons/caseCloseReasons.js';
1
+ import CaseCloseReasonGroupsAPI from '@webitel/ui-sdk/api/clients/caseCloseReasonGroups/caseCloseReasonGroups';
2
+ import CaseCloseReasonsAPI from '@webitel/ui-sdk/api/clients/caseCloseReasons/caseCloseReasons';
3
3
 
4
4
  export const caseCloseReasonsGroupsSearchMethod =
5
5
  CaseCloseReasonGroupsAPI.getLookup;
@@ -1,4 +1,4 @@
1
- import ContactsAPI from '../../../../../../../api/clients/сontacts/contacts.js';
1
+ import ContactsAPI from '@webitel/ui-sdk/api/clients/сontacts/contacts';
2
2
 
3
3
  export const searchMethod = ContactsAPI.getLookup;
4
4
  export const localePath = '';
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { searchMethod } from './config.js';
22
22
 
23
23
  type ModelValue = number[];
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
53
53
  };
54
54
  </script>
55
55
 
56
- <style lang="scss" scoped></style>
56
+ <style scoped></style>
@@ -28,4 +28,4 @@ const getLocalValue = async () => {
28
28
  getLocalValue();
29
29
  </script>
30
30
 
31
- <style lang="scss" scoped></style>
31
+ <style scoped></style>
@@ -1,4 +1,4 @@
1
- import ContactGroupsAPI from '../../../../../../../api/clients/contactGroups/contactGroups.js';
1
+ import ContactGroupsAPI from '@webitel/ui-sdk/api/clients/contactGroups/contactGroups';
2
2
 
3
3
  export const searchMethod = ContactGroupsAPI.getLookup;
4
4
  export const localePath = '';
@@ -21,11 +21,11 @@
21
21
  <script lang="ts" setup>
22
22
  import { useVuelidate } from '@vuelidate/core';
23
23
  import { requiredIf } from '@vuelidate/validators';
24
+ import { WtSelect } from '@webitel/ui-sdk/components';
25
+ import { WtCheckbox } from '@webitel/ui-sdk/components';
24
26
  import { computed, onMounted, watch } from 'vue';
25
27
  import { useI18n } from 'vue-i18n';
26
28
 
27
- import WtCheckbox from '../../../../../../../components/wt-checkbox/wt-checkbox.vue';
28
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
29
29
  import { searchMethod } from './config.js';
30
30
 
31
31
  type ModelValue = {
@@ -71,4 +71,4 @@ watch(
71
71
  );
72
72
  </script>
73
73
 
74
- <style lang="scss" scoped></style>
74
+ <style scoped></style>
@@ -35,4 +35,4 @@ const getLocalValue = async () => {
35
35
  getLocalValue();
36
36
  </script>
37
37
 
38
- <style lang="scss" scoped></style>
38
+ <style scoped></style>
@@ -21,4 +21,4 @@ if (!model.value) {
21
21
  }
22
22
  </script>
23
23
 
24
- <style lang="scss" scoped></style>
24
+ <style scoped></style>
@@ -12,4 +12,4 @@ const props = defineProps<{
12
12
  const date = ref(new Date(+props.value).toLocaleString());
13
13
  </script>
14
14
 
15
- <style lang="scss" scoped></style>
15
+ <style scoped></style>
@@ -21,4 +21,4 @@ if (!model.value) {
21
21
  }
22
22
  </script>
23
23
 
24
- <style lang="scss" scoped></style>
24
+ <style scoped></style>
@@ -12,4 +12,4 @@ const props = defineProps<{
12
12
  const date = ref(new Date(+props.value).toLocaleString());
13
13
  </script>
14
14
 
15
- <style lang="scss" scoped></style>
15
+ <style scoped></style>
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { DirectionOptions } from '../../../enums/direction-options';
22
22
 
23
23
  const model = defineModel<string>();
@@ -48,4 +48,4 @@ watch(
48
48
  );
49
49
  </script>
50
50
 
51
- <style lang="scss" scoped></style>
51
+ <style scoped></style>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- {{ t(`calls.direction.${value}`) }}
3
+ {{ t(`calls.direction.${props.value}`) }}
4
4
  </div>
5
5
  </template>
6
6
 
@@ -14,4 +14,4 @@ const props = defineProps<{
14
14
  const { t } = useI18n();
15
15
  </script>
16
16
 
17
- <style lang="scss" scoped></style>
17
+ <style scoped></style>
@@ -1,4 +1,4 @@
1
- import GatewaysAPI from '../../../../../../../api/clients/gateways/gateways.js';
1
+ import GatewaysAPI from '@webitel/ui-sdk/api/clients/gateways/gateways';
2
2
 
3
3
  export const searchMethod = GatewaysAPI.getLookup;
4
4
  export const localePath = '';
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { searchMethod } from './config.js';
22
22
 
23
23
  type ModelValue = number[];
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
53
53
  };
54
54
  </script>
55
55
 
56
- <style lang="scss" scoped></style>
56
+ <style scoped></style>
@@ -28,4 +28,4 @@ const getLocalValue = async () => {
28
28
  getLocalValue();
29
29
  </script>
30
30
 
31
- <style lang="scss" scoped></style>
31
+ <style scoped></style>
@@ -1,4 +1,4 @@
1
- import RolesAPI from '../../../../../../../api/clients/roles/roles.js';
1
+ import RolesAPI from '@webitel/ui-sdk/api/clients/roles/roles';
2
2
 
3
3
  export const searchMethod = RolesAPI.getLookup;
4
4
  export const localePath = '';
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { searchMethod } from './config.js';
22
22
 
23
23
  type ModelValue = number[];
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
53
53
  };
54
54
  </script>
55
55
 
56
- <style lang="scss" scoped></style>
56
+ <style scoped></style>
@@ -28,4 +28,4 @@ const getLocalValue = async () => {
28
28
  getLocalValue();
29
29
  </script>
30
30
 
31
- <style lang="scss" scoped></style>
31
+ <style scoped></style>
@@ -40,4 +40,4 @@ watch(
40
40
  );
41
41
  </script>
42
42
 
43
- <style lang="scss" scoped></style>
43
+ <style scoped></style>
@@ -21,4 +21,4 @@ const localeValue = computed(() => {
21
21
  });
22
22
  </script>
23
23
 
24
- <style lang="scss" scoped></style>
24
+ <style scoped></style>
@@ -30,4 +30,4 @@ watch(
30
30
  );
31
31
  </script>
32
32
 
33
- <style lang="scss" scoped></style>
33
+ <style scoped></style>
@@ -12,4 +12,4 @@ const props = defineProps<{
12
12
  const { localeValue } = usePrettifyBooleanValuePreview(props.value);
13
13
  </script>
14
14
 
15
- <style lang="scss" scoped></style>
15
+ <style scoped></style>
@@ -30,4 +30,4 @@ watch(
30
30
  );
31
31
  </script>
32
32
 
33
- <style lang="scss" scoped></style>
33
+ <style scoped></style>
@@ -12,4 +12,4 @@ const props = defineProps<{
12
12
  const { localeValue } = usePrettifyBooleanValuePreview(props.value);
13
13
  </script>
14
14
 
15
- <style lang="scss" scoped></style>
15
+ <style scoped></style>
@@ -30,4 +30,4 @@ watch(
30
30
  );
31
31
  </script>
32
32
 
33
- <style lang="scss" scoped></style>
33
+ <style scoped></style>
@@ -12,4 +12,4 @@ const props = defineProps<{
12
12
  const { localeValue } = usePrettifyBooleanValuePreview(props.value);
13
13
  </script>
14
14
 
15
- <style lang="scss" scoped></style>
15
+ <style scoped></style>
@@ -1,4 +1,4 @@
1
- import ContactsAPI from '../../../../../../../api/clients/сontacts/contacts.js';
1
+ import ContactsAPI from '@webitel/ui-sdk/api/clients/сontacts/contacts';
2
2
 
3
3
  export const searchMethod = ContactsAPI.getLookup;
4
4
  export const localePath = '';
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { searchMethod } from './config.js';
22
22
 
23
23
  type ModelValue = number[];
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
53
53
  };
54
54
  </script>
55
55
 
56
- <style lang="scss" scoped></style>
56
+ <style scoped></style>
@@ -28,4 +28,4 @@ const getLocalValue = async () => {
28
28
  getLocalValue();
29
29
  </script>
30
30
 
31
- <style lang="scss" scoped></style>
31
+ <style scoped></style>
@@ -1,4 +1,4 @@
1
- import CasePrioritiesAPI from '../../../../../../../api/clients/casePriorities/casePriorities.js';
1
+ import CasePrioritiesAPI from '@webitel/ui-sdk/api/clients/casePriorities/casePriorities';
2
2
 
3
3
  export const searchMethod = CasePrioritiesAPI.getLookup;
4
4
  export const localePath = '';
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { searchMethod } from './config.js';
22
22
 
23
23
  type ModelValue = number[];
@@ -54,4 +54,4 @@ const handleInput = (value: ModelValue) => {
54
54
  };
55
55
  </script>
56
56
 
57
- <style lang="scss" scoped></style>
57
+ <style scoped></style>
@@ -28,4 +28,4 @@ const getLocalValue = async () => {
28
28
  getLocalValue();
29
29
  </script>
30
30
 
31
- <style lang="scss" scoped></style>
31
+ <style scoped></style>
@@ -1,4 +1,4 @@
1
- import QueuesAPI from '../../../../../../../api/clients/queues/queues.js';
1
+ import QueuesAPI from '@webitel/ui-sdk/api/clients/queues/queues';
2
2
 
3
3
  export const searchMethod = QueuesAPI.getLookup;
4
4
  export const localePath = '';
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { searchMethod } from './config.js';
22
22
 
23
23
  type ModelValue = number[];
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
53
53
  };
54
54
  </script>
55
55
 
56
- <style lang="scss" scoped></style>
56
+ <style scoped></style>
@@ -28,4 +28,4 @@ const getLocalValue = async () => {
28
28
  getLocalValue();
29
29
  </script>
30
30
 
31
- <style lang="scss" scoped></style>
31
+ <style scoped></style>
@@ -1,4 +1,4 @@
1
- import UsersAPI from '../../../../../../../api/clients/users/users.js';
1
+ import UsersAPI from '@webitel/ui-sdk/api/clients/users/users';
2
2
 
3
3
  export const searchMethod = UsersAPI.getLookup;
4
4
  export const localePath = '';
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { searchMethod } from './config.js';
22
22
 
23
23
  type ModelValue = number[];
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
53
53
  };
54
54
  </script>
55
55
 
56
- <style lang="scss" scoped></style>
56
+ <style scoped></style>
@@ -28,4 +28,4 @@ const getLocalValue = async () => {
28
28
  getLocalValue();
29
29
  </script>
30
30
 
31
- <style lang="scss" scoped></style>
31
+ <style scoped></style>
@@ -29,11 +29,10 @@
29
29
  <script lang="ts" setup>
30
30
  import { useVuelidate } from '@vuelidate/core';
31
31
  import { maxValue, requiredIf } from '@vuelidate/validators';
32
+ import { WtInput } from '@webitel/ui-sdk/components';
32
33
  import { computed, watch } from 'vue';
33
34
  import { useI18n } from 'vue-i18n';
34
35
 
35
- import { WtInput } from '../../../../../../../components';
36
-
37
36
  type ModelValue = {
38
37
  from: number;
39
38
  to: number;
@@ -15,4 +15,4 @@ type ModelValue = {
15
15
  const model = defineModel<ModelValue>();
16
16
  </script>
17
17
 
18
- <style lang="scss" scoped></style>
18
+ <style scoped></style>
@@ -1,4 +1,4 @@
1
- import ContactsAPI from '../../../../../../../api/clients/сontacts/contacts.js';
1
+ import ContactsAPI from '@webitel/ui-sdk/api/clients/сontacts/contacts';
2
2
 
3
3
  export const searchMethod = ContactsAPI.getLookup;
4
4
  export const localePath = '';
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { searchMethod } from './config.js';
22
22
 
23
23
  type ModelValue = number[];
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
53
53
  };
54
54
  </script>
55
55
 
56
- <style lang="scss" scoped></style>
56
+ <style scoped></style>
@@ -28,4 +28,4 @@ const getLocalValue = async () => {
28
28
  getLocalValue();
29
29
  </script>
30
30
 
31
- <style lang="scss" scoped></style>
31
+ <style scoped></style>
@@ -15,4 +15,4 @@ type ModelValue = {
15
15
  const model = defineModel<ModelValue>();
16
16
  </script>
17
17
 
18
- <style lang="scss" scoped></style>
18
+ <style scoped></style>
@@ -50,7 +50,7 @@ if (!model.value) {
50
50
 
51
51
  const props = withDefaults(
52
52
  defineProps<{
53
- numberMax: number;
53
+ numberMax?: number;
54
54
  }>(),
55
55
  {
56
56
  numberMax: 100,
@@ -1,5 +1,5 @@
1
- import ServiceCatalogsAPI from '../../../../../../../api/clients/caseServiceCatalogs/service-catalogs.js';
2
- import ServicesAPI from '../../../../../../../api/clients/caseServices/services.js';
1
+ import ServiceCatalogsAPI from '@webitel/ui-sdk/api/clients/caseServiceCatalogs/service-catalogs';
2
+ import ServicesAPI from '@webitel/ui-sdk/api/clients/caseServices/services';
3
3
 
4
4
  export const searchMethod = ServiceCatalogsAPI.getList;
5
5
  export const servicesSearchMethod = ServicesAPI.getList;
@@ -12,10 +12,10 @@
12
12
  </template>
13
13
 
14
14
  <script lang="ts" setup>
15
+ import { WtTree } from '@webitel/ui-sdk/components';
15
16
  import deepCopy from 'deep-copy';
16
17
  import { onMounted, ref } from 'vue';
17
18
 
18
- import WtTree from '../../../../../../../components/wt-tree/wt-tree.vue';
19
19
  import { searchMethod } from './config.js';
20
20
 
21
21
  type ModelValue = string[];
@@ -31,4 +31,4 @@ const getLocalValue = async () => {
31
31
  getLocalValue();
32
32
  </script>
33
33
 
34
- <style lang="scss" scoped></style>
34
+ <style scoped></style>
@@ -1,4 +1,4 @@
1
- import SlasAPI from '../../../../../../../api/clients/slas/slas.js';
1
+ import SlasAPI from '@webitel/ui-sdk/api/clients/slas/slas';
2
2
 
3
3
  export const searchMethod = SlasAPI.getLookup;
4
4
  export const localePath = '';
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { searchMethod } from './config.js';
22
22
 
23
23
  type ModelValue = number[];
@@ -54,4 +54,4 @@ const handleInput = (value: ModelValue) => {
54
54
  };
55
55
  </script>
56
56
 
57
- <style lang="scss" scoped></style>
57
+ <style scoped></style>
@@ -28,4 +28,4 @@ const getLocalValue = async () => {
28
28
  getLocalValue();
29
29
  </script>
30
30
 
31
- <style lang="scss" scoped></style>
31
+ <style scoped></style>
@@ -1,5 +1,5 @@
1
- import SLAConditionsAPI from '../../../../../../../api/clients/slaConditions/slaConditions.js';
2
- import SlasAPI from '../../../../../../../api/clients/slas/slas.js';
1
+ import SLAConditionsAPI from '@webitel/ui-sdk/api/clients/slaConditions/slaConditions';
2
+ import SlasAPI from '@webitel/ui-sdk/api/clients/slas/slas';
3
3
 
4
4
  export const slasConditionsSearchMethod = SLAConditionsAPI.getLookup;
5
5
  export const slasSearchMethod = SlasAPI.getLookup;
@@ -31,10 +31,10 @@
31
31
  <script lang="ts" setup>
32
32
  import { useVuelidate } from '@vuelidate/core';
33
33
  import { required } from '@vuelidate/validators';
34
+ import { WtSelect } from '@webitel/ui-sdk/components';
34
35
  import { computed, onMounted, watch } from 'vue';
35
36
  import { useI18n } from 'vue-i18n';
36
37
 
37
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
38
38
  import { slasConditionsSearchMethod, slasSearchMethod } from './config.js';
39
39
 
40
40
  type ModelValue = {
@@ -95,4 +95,4 @@ watch(
95
95
  );
96
96
  </script>
97
97
 
98
- <style lang="scss" scoped></style>
98
+ <style scoped></style>
@@ -34,4 +34,4 @@ const getLocalValue = async () => {
34
34
  getLocalValue();
35
35
  </script>
36
36
 
37
- <style lang="scss" scoped></style>
37
+ <style scoped></style>
@@ -1,4 +1,4 @@
1
- import CaseSourcesAPI from '../../../../../../../api/clients/caseSources/caseSources.js';
1
+ import CaseSourcesAPI from '@webitel/ui-sdk/api/clients/caseSources/caseSources';
2
2
 
3
3
  export const searchMethod = CaseSourcesAPI.getLookup;
4
4
  export const localePath = '';
@@ -14,10 +14,10 @@
14
14
  <script lang="ts" setup>
15
15
  import { useVuelidate } from '@vuelidate/core';
16
16
  import { required } from '@vuelidate/validators';
17
+ import { WtSelect } from '@webitel/ui-sdk/components';
17
18
  import { computed, watch } from 'vue';
18
19
  import { useI18n } from 'vue-i18n';
19
20
 
20
- import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
21
21
  import { searchMethod } from './config.js';
22
22
 
23
23
  type ModelValue = number[];
@@ -54,4 +54,4 @@ const handleInput = (value: ModelValue) => {
54
54
  };
55
55
  </script>
56
56
 
57
- <style lang="scss" scoped></style>
57
+ <style scoped></style>