@webitel/ui-datalist 1.1.1 → 1.1.2

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 (166) hide show
  1. package/package.json +1 -1
  2. package/src/modules/filter-presets/components/_shared/input-fields/preset-name-field.vue +3 -4
  3. package/src/modules/filters/components/config/dynamic-view/dynamic-filter-config-form-label.vue +24 -18
  4. package/src/modules/filters/modules/filterConfig/components/case-service/case-service-filter-value-field.vue +15 -9
  5. package/src/modules/filters/modules/filterConfig/components/rating/rating-from-to-filter-value-field.vue +48 -43
  6. package/src/modules/filters/modules/filterConfig/components/score/score-from-to-filter-value-field.vue +53 -41
  7. package/src/modules/filters/modules/filterConfig/components/variable/variable-filter-value-field.vue +24 -16
  8. package/types/modules/card/composables/useCardComponent.d.ts +3 -3
  9. package/types/modules/card/composables/useCardRouting.d.ts +1 -1
  10. package/types/modules/card/composables/useCardValidation.d.ts +4 -4
  11. package/types/modules/card/composables/useItemCardSaveText.d.ts +1 -1
  12. package/types/modules/card/stores/createCardStore.d.ts +1 -1
  13. package/types/modules/filter-presets/components/_shared/input-fields/preset-description-field.vue.d.ts +4 -2
  14. package/types/modules/filter-presets/components/_shared/input-fields/preset-name-field.vue.d.ts +4 -2
  15. package/types/modules/filter-presets/components/_shared/preset-filters-preview.vue.d.ts +2 -1
  16. package/types/modules/filter-presets/components/apply-preset/apply-preset-action.vue.d.ts +2 -1
  17. package/types/modules/filter-presets/components/apply-preset/preset-preview.vue.d.ts +2 -1
  18. package/types/modules/filter-presets/components/save-preset/overwrite-preset-popup.vue.d.ts +4 -3
  19. package/types/modules/filter-presets/components/save-preset/save-preset-action.vue.d.ts +2 -1
  20. package/types/modules/filter-presets/components/save-preset/save-preset-popup.vue.d.ts +4 -4
  21. package/types/modules/filter-presets/stores/createFilterPresetsStore.d.ts +0 -1
  22. package/types/modules/filters/components/config/dynamic-view/dynamic-filter-config-form-label.vue.d.ts +4 -3
  23. package/types/modules/filters/components/config/dynamic-view/dynamic-filter-config-form-value-input.vue.d.ts +4 -2
  24. package/types/modules/filters/components/config/dynamic-view/dynamic-filter-config-form.vue.d.ts +8 -57
  25. package/types/modules/filters/components/config/dynamic-view/dynamic-filter-config-view.vue.d.ts +11 -19
  26. package/types/modules/filters/components/config/static-view/static-filter-field.vue.d.ts +2 -1
  27. package/types/modules/filters/components/dynamic-filter-add-action.vue.d.ts +7 -29
  28. package/types/modules/filters/components/dynamic-filter-panel-wrapper.vue.d.ts +5 -8
  29. package/types/modules/filters/components/preview/dynamic-filter-preview-info.vue.d.ts +7 -8
  30. package/types/modules/filters/components/preview/dynamic-filter-preview.vue.d.ts +8 -39
  31. package/types/modules/filters/components/search-bar/dynamic-filter-search.vue.d.ts +4 -2
  32. package/types/modules/filters/components/table-filters-panel.vue.d.ts +2 -1
  33. package/types/modules/filters/modules/filterConfig/components/_custom/type-extension-filter-value-field.vue.d.ts +4 -2
  34. package/types/modules/filters/modules/filterConfig/components/_custom/type-extension-filter-value-preview.vue.d.ts +2 -1
  35. package/types/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-filter-value-field.vue.d.ts +4 -3
  36. package/types/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-filter-value-preview.vue.d.ts +2 -1
  37. package/types/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-options/date-time-options-filter-value-field.vue.d.ts +4 -3
  38. package/types/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-options/date-time-options-filter-value-preview.vue.d.ts +2 -1
  39. package/types/modules/filters/modules/filterConfig/components/_shared/durations/duration-filter-value-field.vue.d.ts +4 -3
  40. package/types/modules/filters/modules/filterConfig/components/_shared/has-options/has-option-filter-value-field.vue.d.ts +4 -2
  41. package/types/modules/filters/modules/filterConfig/components/_shared/has-options/has-option-filter-value-preview.vue.d.ts +2 -1
  42. package/types/modules/filters/modules/filterConfig/components/_shared/lookup-filter-preview/lookup-filter-value-preview.vue.d.ts +2 -1
  43. package/types/modules/filters/modules/filterConfig/components/agent/agent-filter-value-field.vue.d.ts +4 -3
  44. package/types/modules/filters/modules/filterConfig/components/agent/agent-filter-value-preview.vue.d.ts +2 -1
  45. package/types/modules/filters/modules/filterConfig/components/agent-status/agent-status-filter-value-field.vue.d.ts +4 -2
  46. package/types/modules/filters/modules/filterConfig/components/agent-status/agent-status-filter-value-preview.vue.d.ts +2 -1
  47. package/types/modules/filters/modules/filterConfig/components/amd-result/amd-result-filter-value-field.vue.d.ts +4 -3
  48. package/types/modules/filters/modules/filterConfig/components/amd-result/amd-result-filter-value-preview.vue.d.ts +2 -1
  49. package/types/modules/filters/modules/filterConfig/components/auditor/auditor-filter-value-field.vue.d.ts +4 -2
  50. package/types/modules/filters/modules/filterConfig/components/auditor/auditor-filter-value-preview.vue.d.ts +2 -1
  51. package/types/modules/filters/modules/filterConfig/components/auditor/index.d.ts +2 -2
  52. package/types/modules/filters/modules/filterConfig/components/call-direction/call-direction-filter-value-field.vue.d.ts +4 -3
  53. package/types/modules/filters/modules/filterConfig/components/call-direction/call-direction-filter-value-preview.vue.d.ts +2 -1
  54. package/types/modules/filters/modules/filterConfig/components/case-actual-reaction-time/case-actual-reaction-time-filter-value-field.vue.d.ts +4 -3
  55. package/types/modules/filters/modules/filterConfig/components/case-actual-reaction-time/case-actual-reaction-time-filter-value-preview.vue.d.ts +2 -1
  56. package/types/modules/filters/modules/filterConfig/components/case-actual-resolution-time/case-actual-resolution-time-filter-value-field.vue.d.ts +4 -3
  57. package/types/modules/filters/modules/filterConfig/components/case-actual-resolution-time/case-actual-resolution-time-filter-value-preview.vue.d.ts +2 -1
  58. package/types/modules/filters/modules/filterConfig/components/case-assignee/case-assignee-filter-value-field.vue.d.ts +4 -2
  59. package/types/modules/filters/modules/filterConfig/components/case-assignee/case-assignee-filter-value-preview.vue.d.ts +2 -1
  60. package/types/modules/filters/modules/filterConfig/components/case-assignee/filterConfig.d.ts +3 -2
  61. package/types/modules/filters/modules/filterConfig/components/case-author/case-author-filter-value-field.vue.d.ts +4 -3
  62. package/types/modules/filters/modules/filterConfig/components/case-author/case-author-filter-value-preview.vue.d.ts +2 -1
  63. package/types/modules/filters/modules/filterConfig/components/case-close-reason-groups/case-close-reason-groups-filter-value-field.vue.d.ts +4 -3
  64. package/types/modules/filters/modules/filterConfig/components/case-close-reason-groups/case-close-reason-groups-filter-value-preview.vue.d.ts +2 -1
  65. package/types/modules/filters/modules/filterConfig/components/case-impacted/case-impacted-filter-value-field.vue.d.ts +4 -3
  66. package/types/modules/filters/modules/filterConfig/components/case-impacted/case-impacted-filter-value-preview.vue.d.ts +2 -1
  67. package/types/modules/filters/modules/filterConfig/components/case-priority/case-priority-filter-value-field.vue.d.ts +4 -3
  68. package/types/modules/filters/modules/filterConfig/components/case-priority/case-priority-filter-value-preview.vue.d.ts +2 -1
  69. package/types/modules/filters/modules/filterConfig/components/case-reaction-time/case-reaction-time-filter-value-field.vue.d.ts +4 -3
  70. package/types/modules/filters/modules/filterConfig/components/case-reaction-time/case-reaction-time-filter-value-preview.vue.d.ts +2 -1
  71. package/types/modules/filters/modules/filterConfig/components/case-reporter/case-reporter-filter-value-field.vue.d.ts +4 -3
  72. package/types/modules/filters/modules/filterConfig/components/case-reporter/case-reporter-filter-value-preview.vue.d.ts +2 -1
  73. package/types/modules/filters/modules/filterConfig/components/case-resolution-time/case-resolution-time-filter-value-field.vue.d.ts +4 -3
  74. package/types/modules/filters/modules/filterConfig/components/case-resolution-time/case-resolution-time-filter-value-preview.vue.d.ts +2 -1
  75. package/types/modules/filters/modules/filterConfig/components/case-service/case-service-filter-value-field.vue.d.ts +4 -3
  76. package/types/modules/filters/modules/filterConfig/components/case-service/case-service-filter-value-preview.vue.d.ts +2 -1
  77. package/types/modules/filters/modules/filterConfig/components/case-sla/case-sla-filter-value-field.vue.d.ts +4 -3
  78. package/types/modules/filters/modules/filterConfig/components/case-sla/case-sla-filter-value-preview.vue.d.ts +2 -1
  79. package/types/modules/filters/modules/filterConfig/components/case-sla-condition/case-sla-condition-filter-value-field.vue.d.ts +4 -3
  80. package/types/modules/filters/modules/filterConfig/components/case-sla-condition/case-sla-condition-filter-value-preview.vue.d.ts +2 -1
  81. package/types/modules/filters/modules/filterConfig/components/case-source/case-source-filter-value-field.vue.d.ts +4 -3
  82. package/types/modules/filters/modules/filterConfig/components/case-source/case-source-filter-value-preview.vue.d.ts +2 -1
  83. package/types/modules/filters/modules/filterConfig/components/case-status/case-status-filter-value-field.vue.d.ts +4 -3
  84. package/types/modules/filters/modules/filterConfig/components/case-status/case-status-filter-value-preview.vue.d.ts +2 -1
  85. package/types/modules/filters/modules/filterConfig/components/contact/contact-filter-value-field.vue.d.ts +4 -3
  86. package/types/modules/filters/modules/filterConfig/components/contact/contact-filter-value-preview.vue.d.ts +2 -1
  87. package/types/modules/filters/modules/filterConfig/components/contact-group/contact-group-filter-value-field.vue.d.ts +4 -2
  88. package/types/modules/filters/modules/filterConfig/components/contact-group/contact-group-filter-value-preview.vue.d.ts +2 -1
  89. package/types/modules/filters/modules/filterConfig/components/contact-group/index.d.ts +3 -2
  90. package/types/modules/filters/modules/filterConfig/components/contact-label/contact-label-filter-value-field.vue.d.ts +4 -2
  91. package/types/modules/filters/modules/filterConfig/components/contact-label/contact-label-filter-value-preview.vue.d.ts +2 -1
  92. package/types/modules/filters/modules/filterConfig/components/contact-owner/contact-owner-filter-value-field.vue.d.ts +4 -2
  93. package/types/modules/filters/modules/filterConfig/components/contact-owner/contact-owner-filter-value-preview.vue.d.ts +2 -1
  94. package/types/modules/filters/modules/filterConfig/components/created-at-from/created-at-from-filter-value-field.vue.d.ts +4 -3
  95. package/types/modules/filters/modules/filterConfig/components/created-at-from/created-at-from-filter-value-preview.vue.d.ts +2 -1
  96. package/types/modules/filters/modules/filterConfig/components/created-at-to/created-at-to-filter-value-field.vue.d.ts +4 -3
  97. package/types/modules/filters/modules/filterConfig/components/created-at-to/created-at-to-filter-value-preview.vue.d.ts +2 -1
  98. package/types/modules/filters/modules/filterConfig/components/gateway/gateway-filter-value-field.vue.d.ts +4 -3
  99. package/types/modules/filters/modules/filterConfig/components/gateway/gateway-filter-value-preview.vue.d.ts +2 -1
  100. package/types/modules/filters/modules/filterConfig/components/grantee/grantee-filter-value-field.vue.d.ts +4 -3
  101. package/types/modules/filters/modules/filterConfig/components/grantee/grantee-filter-value-preview.vue.d.ts +2 -1
  102. package/types/modules/filters/modules/filterConfig/components/hangup-cause/hangup-cause-filter-value-field.vue.d.ts +4 -3
  103. package/types/modules/filters/modules/filterConfig/components/hangup-cause/hangup-cause-filter-value-preview.vue.d.ts +2 -1
  104. package/types/modules/filters/modules/filterConfig/components/has-attachment/has-attachment-filter-value-field.vue.d.ts +4 -3
  105. package/types/modules/filters/modules/filterConfig/components/has-attachment/has-attachment-filter-value-preview.vue.d.ts +2 -1
  106. package/types/modules/filters/modules/filterConfig/components/has-file/has-file-filter-value-field.vue.d.ts +4 -3
  107. package/types/modules/filters/modules/filterConfig/components/has-file/has-file-filter-value-preview.vue.d.ts +2 -1
  108. package/types/modules/filters/modules/filterConfig/components/has-rating/has-rating-filter-value-field.vue.d.ts +4 -3
  109. package/types/modules/filters/modules/filterConfig/components/has-rating/has-rating-filter-value-preview.vue.d.ts +2 -1
  110. package/types/modules/filters/modules/filterConfig/components/has-transcription/has-transcription-filter-value-field.vue.d.ts +4 -3
  111. package/types/modules/filters/modules/filterConfig/components/has-transcription/has-transcription-filter-value-preview.vue.d.ts +2 -1
  112. package/types/modules/filters/modules/filterConfig/components/has-user/has-user-filter-value-field.vue.d.ts +4 -2
  113. package/types/modules/filters/modules/filterConfig/components/has-user/has-user-filter-value-preview.vue.d.ts +2 -1
  114. package/types/modules/filters/modules/filterConfig/components/index.d.ts +23 -23
  115. package/types/modules/filters/modules/filterConfig/components/queue/index.d.ts +3 -2
  116. package/types/modules/filters/modules/filterConfig/components/queue/queue-filter-value-field.vue.d.ts +4 -2
  117. package/types/modules/filters/modules/filterConfig/components/queue/queue-filter-value-preview.vue.d.ts +2 -1
  118. package/types/modules/filters/modules/filterConfig/components/queue-period/queue-period-filter-value-field.vue.d.ts +4 -2
  119. package/types/modules/filters/modules/filterConfig/components/queue-period/queue-period-filter-value-preview.vue.d.ts +2 -1
  120. package/types/modules/filters/modules/filterConfig/components/queue-type/queue-type-filter-value-field.vue.d.ts +4 -2
  121. package/types/modules/filters/modules/filterConfig/components/queue-type/queue-type-filter-value-preview.vue.d.ts +2 -1
  122. package/types/modules/filters/modules/filterConfig/components/rated-by/rated-by-filter-value-field.vue.d.ts +4 -3
  123. package/types/modules/filters/modules/filterConfig/components/rated-by/rated-by-filter-value-preview.vue.d.ts +2 -1
  124. package/types/modules/filters/modules/filterConfig/components/rating/rating-from-to-filter-value-field.vue.d.ts +4 -3
  125. package/types/modules/filters/modules/filterConfig/components/rating/rating-from-to-filter-value-preview.vue.d.ts +2 -1
  126. package/types/modules/filters/modules/filterConfig/components/region/index.d.ts +2 -2
  127. package/types/modules/filters/modules/filterConfig/components/region/region-filter-value-field.vue.d.ts +4 -2
  128. package/types/modules/filters/modules/filterConfig/components/region/region-filter-value-preview.vue.d.ts +2 -1
  129. package/types/modules/filters/modules/filterConfig/components/score/score-from-to-filter-value-field.vue.d.ts +4 -2
  130. package/types/modules/filters/modules/filterConfig/components/score/score-from-to-filter-value-preview.vue.d.ts +2 -1
  131. package/types/modules/filters/modules/filterConfig/components/skill/index.d.ts +2 -2
  132. package/types/modules/filters/modules/filterConfig/components/skill/skill-filter-value-field.vue.d.ts +4 -2
  133. package/types/modules/filters/modules/filterConfig/components/skill/skill-filter-value-preview.vue.d.ts +2 -1
  134. package/types/modules/filters/modules/filterConfig/components/supervisor/index.d.ts +2 -2
  135. package/types/modules/filters/modules/filterConfig/components/supervisor/supervisor-filter-value-field.vue.d.ts +4 -2
  136. package/types/modules/filters/modules/filterConfig/components/supervisor/supervisor-filter-value-preview.vue.d.ts +2 -1
  137. package/types/modules/filters/modules/filterConfig/components/tag/tag-filter-value-field.vue.d.ts +4 -3
  138. package/types/modules/filters/modules/filterConfig/components/tag/tag-filter-value-preview.vue.d.ts +2 -1
  139. package/types/modules/filters/modules/filterConfig/components/talk-duration/talk-duration-filter-value-field.vue.d.ts +4 -3
  140. package/types/modules/filters/modules/filterConfig/components/talk-duration/talk-duration-filter-value-preview.vue.d.ts +2 -1
  141. package/types/modules/filters/modules/filterConfig/components/team/index.d.ts +3 -2
  142. package/types/modules/filters/modules/filterConfig/components/team/team-filter-value-field.vue.d.ts +4 -2
  143. package/types/modules/filters/modules/filterConfig/components/team/team-filter-value-preview.vue.d.ts +2 -1
  144. package/types/modules/filters/modules/filterConfig/components/total-duration/total-duration-filter-value-field.vue.d.ts +4 -3
  145. package/types/modules/filters/modules/filterConfig/components/total-duration/total-duration-filter-value-preview.vue.d.ts +2 -1
  146. package/types/modules/filters/modules/filterConfig/components/user/user-filter-value-field.vue.d.ts +4 -3
  147. package/types/modules/filters/modules/filterConfig/components/user/user-filter-value-preview.vue.d.ts +2 -1
  148. package/types/modules/filters/modules/filterConfig/components/utilization-progress/utilization-progress-filter-value-field.vue.d.ts +4 -2
  149. package/types/modules/filters/modules/filterConfig/components/utilization-progress/utilization-progress-filter-value-preview.vue.d.ts +2 -1
  150. package/types/modules/filters/modules/filterConfig/components/variable/variable-filter-value-field.vue.d.ts +4 -3
  151. package/types/modules/filters/modules/filterConfig/components/variable/variable-filter-value-preview.vue.d.ts +2 -1
  152. package/types/modules/filters/modules/filterConfig/composables/useAgentStatusOptions.d.ts +2 -2
  153. package/types/modules/filters/modules/filterConfig/composables/useQueuePeriodOptions.d.ts +1 -1
  154. package/types/modules/filters/modules/filterConfig/composables/useQueueTypeOptions.d.ts +1 -1
  155. package/types/modules/types/tableStore.types.d.ts +1 -0
  156. package/types/modules/filters/components/config/dynamic-filter-config-form-label.vue.d.ts +0 -11
  157. package/types/modules/filters/components/config/dynamic-filter-config-form-value-input.vue.d.ts +0 -16
  158. package/types/modules/filters/components/config/dynamic-filter-config-form.vue.d.ts +0 -93
  159. package/types/modules/filters/components/config/dynamic-filter-config-view.vue.d.ts +0 -27
  160. package/types/modules/filters/modules/filterConfig/components/created-at/created-at-filter-value-field.vue.d.ts +0 -19
  161. package/types/modules/filters/modules/filterConfig/components/created-at/created-at-filter-value-preview.vue.d.ts +0 -9
  162. package/types/modules/form/composables/useFormComponent.d.ts +0 -9
  163. package/types/modules/form/composables/useItemCardSaveText.d.ts +0 -7
  164. package/types/modules/form/composables/useValidation.d.ts +0 -10
  165. package/types/modules/form/index.d.ts +0 -4
  166. package/types/modules/form/stores/createFormStore.d.ts +0 -135
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-datalist",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Toolkit for building data lists in webitel ui system",
5
5
  "scripts": {
6
6
  "make-all": "npm version patch --git-tag-version false && ( npm run lint:fix || true) && (npm run build:types || true) && npm run utils:publish",
@@ -1,6 +1,6 @@
1
1
  <template>
2
- <wt-input
3
- v-model="model"
2
+ <wt-input-text
3
+ v-model:model-value="model"
4
4
  :v="props.v"
5
5
  :label="t('reusable.name')"
6
6
  required
@@ -9,7 +9,6 @@
9
9
 
10
10
  <script setup lang="ts">
11
11
  import { Validation } from '@vuelidate/core';
12
- import { WtInput } from '@webitel/ui-sdk/components';
13
12
  import { useI18n } from 'vue-i18n';
14
13
 
15
14
  type ModelValue = string;
@@ -17,7 +16,7 @@ type ModelValue = string;
17
16
  const model = defineModel<ModelValue>();
18
17
 
19
18
  type Props = {
20
- v: Validation;
19
+ v: Validation;
21
20
  };
22
21
 
23
22
  const props = defineProps<Props>();
@@ -1,16 +1,14 @@
1
1
  <template>
2
- <wt-input
3
- :value="model"
2
+ <wt-input-text
3
+ v-model:model-value="model"
4
4
  :label="t('webitelUI.filters.filterLabel')"
5
5
  :v="v$.model"
6
- @input="model = $event"
7
6
  />
8
7
  </template>
9
8
 
10
9
  <script setup lang="ts">
11
10
  import { useVuelidate } from '@vuelidate/core';
12
11
  import { maxLength } from '@vuelidate/validators';
13
- import { WtInput } from '@webitel/ui-sdk/components';
14
12
  import { computed, watch } from 'vue';
15
13
  import { useI18n } from 'vue-i18n';
16
14
 
@@ -19,30 +17,38 @@ const MAX_STRING_LENGTH = 50;
19
17
  const model = defineModel<string>();
20
18
 
21
19
  interface Emits {
22
- 'update:invalid': [boolean];
20
+ 'update:invalid': [
21
+ boolean,
22
+ ];
23
23
  }
24
24
  const emit = defineEmits<Emits>();
25
25
 
26
26
  const { t } = useI18n();
27
27
 
28
28
  const v$ = useVuelidate(
29
- computed(() => ({
30
- model: {
31
- // maybe make maxLength value by props
32
- maxLength: maxLength(MAX_STRING_LENGTH),
33
- },
34
- })),
35
- { model },
36
- { $autoDirty: true },
29
+ computed(() => ({
30
+ model: {
31
+ // maybe make maxLength value by props
32
+ maxLength: maxLength(MAX_STRING_LENGTH),
33
+ },
34
+ })),
35
+ {
36
+ model,
37
+ },
38
+ {
39
+ $autoDirty: true,
40
+ },
37
41
  );
38
42
  v$.value.$touch();
39
43
 
40
44
  watch(
41
- () => v$.value.$invalid,
42
- (invalid) => {
43
- emit('update:invalid', invalid);
44
- },
45
- { immediate: true },
45
+ () => v$.value.$invalid,
46
+ (invalid) => {
47
+ emit('update:invalid', invalid);
48
+ },
49
+ {
50
+ immediate: true,
51
+ },
46
52
  );
47
53
  </script>
48
54
 
@@ -21,23 +21,29 @@ import { searchMethod } from './config.js';
21
21
 
22
22
  type ModelValue = string[];
23
23
  const model = defineModel<ModelValue>({
24
- default: [],
24
+ default: [],
25
25
  });
26
26
 
27
27
  const catalogData = ref([]);
28
28
 
29
29
  const loadCatalogs = async () => {
30
- const { items } = await searchMethod({
31
- size: -1, // To get all catalogs with services we need to pass size -1
32
- fields: ['id', 'name', 'closeReasonGroup', 'status', 'service'],
33
- hasSubservices: true,
34
- });
30
+ const { items } = await searchMethod({
31
+ size: -1, // To get all catalogs with services we need to pass size -1
32
+ fields: [
33
+ 'id',
34
+ 'name',
35
+ 'closeReasonGroup',
36
+ 'status',
37
+ 'service',
38
+ ],
39
+ hasSubservices: true,
40
+ });
35
41
 
36
- catalogData.value = deepCopy(items);
42
+ catalogData.value = deepCopy(items);
37
43
  };
38
44
 
39
45
  if (!model.value) {
40
- model.value = [];
46
+ model.value = [];
41
47
  }
42
48
 
43
49
  onMounted(loadCatalogs);
@@ -71,7 +77,7 @@ $form-width: 800px;
71
77
  height: fit-content;
72
78
  }
73
79
 
74
- .wt-input {
80
+ .wt-input-text {
75
81
  grid-area: label;
76
82
  }
77
83
 
@@ -1,27 +1,23 @@
1
1
  <template>
2
2
  <div class="rating-from-to-filter-value-field">
3
- <wt-input
3
+ <wt-input-number
4
4
  v-if="model"
5
5
  :label="`${t('reusable.from')}:`"
6
- :number-min="0"
7
6
  :placeholder="t('webitelUI.filters.filterValue')"
8
7
  :v="v$.model?.from"
9
- :value="model.from"
8
+ :model-value="model.from"
10
9
  class="rating-from-to-filter-value-field__input"
11
- type="number"
12
- @input="handleInput('from', $event)"
10
+ @update:model-value="handleInput('from', $event)"
13
11
  />
14
12
 
15
- <wt-input
13
+ <wt-input-number
16
14
  v-if="model"
17
15
  :label="`${t('reusable.to')}:`"
18
- :number-min="0"
19
16
  :placeholder="t('webitelUI.filters.filterValue')"
20
17
  :v="v$.model?.to"
21
- :value="model.to"
18
+ :model-value="model.to"
22
19
  class="rating-from-to-filter-value-field__input"
23
- type="number"
24
- @input="handleInput('to', $event)"
20
+ @update:model-value="handleInput('to', $event)"
25
21
  />
26
22
  </div>
27
23
  </template>
@@ -29,61 +25,70 @@
29
25
  <script lang="ts" setup>
30
26
  import { useVuelidate } from '@vuelidate/core';
31
27
  import { maxValue, requiredIf } from '@vuelidate/validators';
32
- import { WtInput } from '@webitel/ui-sdk/components';
33
28
  import { computed, watch } from 'vue';
34
29
  import { useI18n } from 'vue-i18n';
35
30
 
36
31
  type ModelValue = {
37
- from: number;
38
- to: number;
32
+ from: number;
33
+ to: number;
39
34
  };
40
35
  const model = defineModel<ModelValue>();
41
36
  if (!model.value) {
42
- model.value = {
43
- from: null,
44
- to: null,
45
- };
37
+ model.value = {
38
+ from: null,
39
+ to: null,
40
+ };
46
41
  }
47
42
 
48
43
  const emit = defineEmits<{
49
- 'update:invalid': [boolean];
44
+ 'update:invalid': [
45
+ boolean,
46
+ ];
50
47
  }>();
51
48
 
52
49
  const { t } = useI18n();
53
50
 
54
51
  const v$ = useVuelidate(
55
- computed(() => ({
56
- model: {
57
- from: {
58
- required: requiredIf(() => !model.value.to),
59
- maxValue: maxValue(
60
- model?.value?.to && model.value.from > model.value.to
61
- ? model.value.to
62
- : Infinity,
63
- ),
64
- },
65
- to: {
66
- required: requiredIf(() => !model.value.from),
67
- },
68
- },
69
- })),
70
- { model },
71
- { $autoDirty: true },
52
+ computed(() => ({
53
+ model: {
54
+ from: {
55
+ required: requiredIf(() => !model.value.to),
56
+ maxValue: maxValue(
57
+ model?.value?.to && model.value.from > model.value.to
58
+ ? model.value.to
59
+ : Infinity,
60
+ ),
61
+ },
62
+ to: {
63
+ required: requiredIf(() => !model.value.from),
64
+ },
65
+ },
66
+ })),
67
+ {
68
+ model,
69
+ },
70
+ {
71
+ $autoDirty: true,
72
+ },
72
73
  );
73
74
  v$.value.$touch();
74
75
 
75
76
  const handleInput = (key: keyof ModelValue, value: number) => {
76
- const newValue = { ...model.value };
77
- newValue[key] = value;
78
- model.value = newValue;
77
+ const newValue = {
78
+ ...model.value,
79
+ };
80
+ newValue[key] = value;
81
+ model.value = newValue;
79
82
  };
80
83
 
81
84
  watch(
82
- () => v$.value.$invalid,
83
- (invalid) => {
84
- emit('update:invalid', invalid);
85
- },
86
- { immediate: true },
85
+ () => v$.value.$invalid,
86
+ (invalid) => {
87
+ emit('update:invalid', invalid);
88
+ },
89
+ {
90
+ immediate: true,
91
+ },
87
92
  );
88
93
  </script>
89
94
 
@@ -1,31 +1,29 @@
1
1
  <template>
2
2
  <div class="score-from-to-filter-value-field">
3
- <wt-input
3
+ <wt-input-number
4
4
  v-if="model"
5
- :value="model.from"
6
- :number-max="props.numberMax"
7
- :number-min="0"
5
+ :model-value="model.from"
6
+ :max="props.numberMax"
7
+ :min="0"
8
8
  :v="v$.model?.from"
9
9
  :label="`${t('reusable.from')}:`"
10
10
  :placeholder="t('webitelUI.filters.filterValue')"
11
11
  class="score-from-to-filter-value-field__input"
12
12
  name="score-from-to-filter-value-field-from"
13
- type="number"
14
- @input="handleInput('from', $event)"
13
+ @update:model-value="handleInput('from', $event)"
15
14
  />
16
15
 
17
- <wt-input
16
+ <wt-input-number
18
17
  v-if="model"
19
- :value="model.to"
20
- :number-max="props.numberMax"
21
- :number-min="0"
18
+ :model-value="model.to"
19
+ :max="props.numberMax"
20
+ :min="0"
22
21
  :v="v$.model?.to"
23
22
  :label="`${t('reusable.to')}:`"
24
23
  :placeholder="t('webitelUI.filters.filterValue')"
25
24
  class="score-from-to-filter-value-field__input"
26
25
  name="score-from-to-filter-value-field-to"
27
- type="number"
28
- @input="handleInput('to', $event)"
26
+ @update:model-value="handleInput('to', $event)"
29
27
  />
30
28
  </div>
31
29
  </template>
@@ -37,56 +35,70 @@ import { computed, watch } from 'vue';
37
35
  import { useI18n } from 'vue-i18n';
38
36
 
39
37
  type ModelValue = {
40
- from: number;
41
- to: number;
38
+ from: number;
39
+ to: number;
42
40
  };
43
41
  const model = defineModel<ModelValue>();
44
42
  if (!model.value) {
45
- model.value = {
46
- from: null,
47
- to: null,
48
- };
43
+ model.value = {
44
+ from: null,
45
+ to: null,
46
+ };
49
47
  }
50
48
 
51
49
  const props = withDefaults(
52
- defineProps<{
53
- numberMax?: number;
54
- }>(),
55
- {
56
- numberMax: 100,
57
- },
50
+ defineProps<{
51
+ numberMax?: number;
52
+ }>(),
53
+ {
54
+ numberMax: 100,
55
+ },
58
56
  );
59
57
 
60
58
  const emit = defineEmits<{
61
- 'update:invalid': [boolean];
59
+ 'update:invalid': [
60
+ boolean,
61
+ ];
62
62
  }>();
63
63
 
64
64
  const { t } = useI18n();
65
65
 
66
66
  const v$ = useVuelidate(
67
- computed(() => ({
68
- model: {
69
- from: { required: requiredIf(() => !model.value.to) },
70
- to: { required: requiredIf(() => !model.value.from) },
71
- },
72
- })),
73
- { model },
74
- { $autoDirty: true },
67
+ computed(() => ({
68
+ model: {
69
+ from: {
70
+ required: requiredIf(() => !model.value.to),
71
+ },
72
+ to: {
73
+ required: requiredIf(() => !model.value.from),
74
+ },
75
+ },
76
+ })),
77
+ {
78
+ model,
79
+ },
80
+ {
81
+ $autoDirty: true,
82
+ },
75
83
  );
76
84
  v$.value.$touch();
77
85
 
78
86
  const handleInput = (key: keyof ModelValue, value: number) => {
79
- const newValue = { ...model.value };
80
- newValue[key] = value;
81
- model.value = newValue;
87
+ const newValue = {
88
+ ...model.value,
89
+ };
90
+ newValue[key] = value;
91
+ model.value = newValue;
82
92
  };
83
93
 
84
94
  watch(
85
- () => v$.value.$invalid,
86
- (invalid) => {
87
- emit('update:invalid', invalid);
88
- },
89
- { immediate: true },
95
+ () => v$.value.$invalid,
96
+ (invalid) => {
97
+ emit('update:invalid', invalid);
98
+ },
99
+ {
100
+ immediate: true,
101
+ },
90
102
  );
91
103
  </script>
92
104
 
@@ -1,6 +1,6 @@
1
1
  <template>
2
- <wt-input
3
- v-model="model"
2
+ <wt-input-text
3
+ v-model:model-value="model"
4
4
  :label="t('webitelUI.filters.filterValue')"
5
5
  :v="v$.model"
6
6
  />
@@ -16,33 +16,41 @@ type ModelValue = string;
16
16
 
17
17
  const model = defineModel<ModelValue>();
18
18
  if (!model.value) {
19
- model.value = '';
19
+ model.value = '';
20
20
  }
21
21
 
22
22
  const { t } = useI18n();
23
23
 
24
24
  const v$ = useVuelidate(
25
- computed(() => ({
26
- model: {
27
- required: variableSearchValidator(),
28
- },
29
- })),
30
- { model },
31
- { $autoDirty: true },
25
+ computed(() => ({
26
+ model: {
27
+ required: variableSearchValidator(),
28
+ },
29
+ })),
30
+ {
31
+ model,
32
+ },
33
+ {
34
+ $autoDirty: true,
35
+ },
32
36
  );
33
37
 
34
38
  v$.value.$touch();
35
39
 
36
40
  const emit = defineEmits<{
37
- 'update:invalid': [boolean];
41
+ 'update:invalid': [
42
+ boolean,
43
+ ];
38
44
  }>();
39
45
 
40
46
  watch(
41
- () => v$.value.$invalid,
42
- (invalid) => {
43
- emit('update:invalid', invalid);
44
- },
45
- { immediate: true },
47
+ () => v$.value.$invalid,
48
+ (invalid) => {
49
+ emit('update:invalid', invalid);
50
+ },
51
+ {
52
+ immediate: true,
53
+ },
46
54
  );
47
55
  </script>
48
56
 
@@ -2,13 +2,13 @@ import { StoreDefinition } from 'pinia';
2
2
  export declare const useCardComponent: <CardEntity>({ useCardStore, }: {
3
3
  useCardStore: StoreDefinition;
4
4
  }) => {
5
- modelValue: import("vue").ComputedRef<{}>;
5
+ modelValue: import("vue").ComputedRef<unknown>;
6
6
  debouncedIsLoading: Readonly<import("vue").Ref<any, any>>;
7
7
  originalItemInstance: import("vue").Ref<any, any> & import("vue").ComputedRef<any>;
8
8
  isNew: import("vue").ComputedRef<boolean>;
9
- saveText: import("vue").ComputedRef<string>;
9
+ saveText: import("vue").ComputedRef<any>;
10
10
  hasValidationErrors: import("vue").ComputedRef<boolean>;
11
11
  isAnyFieldEdited: import("vue").Ref<boolean, boolean>;
12
- validationFields: import("vue").ComputedRef<{} & {}>;
12
+ validationFields: import("vue").ComputedRef<{} | ({} & {})>;
13
13
  save: () => Promise<unknown>;
14
14
  };
@@ -3,5 +3,5 @@ import { CardItemId } from "../types/CardStore.types";
3
3
  export declare const useCardRouting: ({ itemId }: {
4
4
  itemId: Ref<CardItemId>;
5
5
  }) => {
6
- routeId: import("vue").ComputedRef<string | string[]>;
6
+ routeId: import("vue").ComputedRef<any>;
7
7
  };
@@ -3,8 +3,8 @@ import { Ref } from 'vue';
3
3
  export declare const useCardValidation: <TState, TSchema>({ validationSchema, }: {
4
4
  validationSchema: Ref<RegleSchema<TState, TSchema>>;
5
5
  }) => {
6
- modelValue: import("vue").ComputedRef<import("@regle/core").JoinDiscriminatedUnions<import("vue").UnwrapNestedRefs<TState>>>;
7
- validationFields: import("vue").ComputedRef<{ readonly [TKey in keyof import("@regle/core").JoinDiscriminatedUnions<TState>]: TKey extends keyof import("@regle/core").JoinDiscriminatedUnions<TSchema> ? import("@regle/schemas").InferRegleSchemaStatusType<NonNullable<import("@regle/core").JoinDiscriminatedUnions<TSchema>[TKey]>, import("@regle/core").JoinDiscriminatedUnions<TState>[TKey], {}> : never; } & { readonly [TKey_1 in keyof import("@regle/core").JoinDiscriminatedUnions<TState> as TKey_1 extends keyof import("@regle/core").JoinDiscriminatedUnions<TSchema> ? import("@regle/core").JoinDiscriminatedUnions<TSchema>[TKey_1] extends NonNullable<import("@regle/core").JoinDiscriminatedUnions<TSchema>[TKey_1]> ? TKey_1 : never : never]-?: TKey_1 extends keyof import("@regle/core").JoinDiscriminatedUnions<TSchema> ? import("@regle/schemas").InferRegleSchemaStatusType<NonNullable<import("@regle/core").JoinDiscriminatedUnions<TSchema>[TKey_1]>, import("@regle/core").JoinDiscriminatedUnions<TState>[TKey_1], {}> : never; }>;
8
- hasValidationErrors: import("vue").ComputedRef<boolean>;
9
- validate: () => Promise<import("@regle/schemas").RegleSchemaResult<TSchema>>;
6
+ modelValue: import("vue").ComputedRef<import("@regle/core").JoinDiscriminatedUnions<import("vue").UnwrapNestedRefs<TState>> | import("@regle/schemas").RegleSchemaStatus<TState, TSchema, true>["$value"]>;
7
+ validationFields: import("vue").ComputedRef<(import("@regle/core").HasNamedKeys<TState> extends true ? { readonly [TKey in keyof import("@regle/core").JoinDiscriminatedUnions<TState>]: TKey extends keyof import("@regle/core").JoinDiscriminatedUnions<TState> ? import("@regle/schemas").InferRegleSchemaStatusType<NonNullable<import("@regle/core").JoinDiscriminatedUnions<TState>[TKey]>, TSchema> : never; } & { readonly [TKey_1 in keyof import("@regle/core").JoinDiscriminatedUnions<TState> as TKey_1 extends keyof import("@regle/core").JoinDiscriminatedUnions<TState> ? import("@regle/core").JoinDiscriminatedUnions<TState>[TKey_1] extends NonNullable<import("@regle/core").JoinDiscriminatedUnions<TState>[TKey_1]> ? TKey_1 : never : never]-?: TKey_1 extends keyof import("@regle/core").JoinDiscriminatedUnions<TState> ? import("@regle/schemas").InferRegleSchemaStatusType<NonNullable<import("@regle/core").JoinDiscriminatedUnions<TState>[TKey_1]>, TSchema> : never; } : {}) | { [TIndex in keyof import("@regle/core").TupleToPlainObj<import("type-fest").UnionToTuple<TState, import("type-fest").UnionToIntersection<TState extends any ? () => TState : never> extends () => (infer R) ? R : never>>]: TIndex extends `${infer TIndexInt extends number}` ? { [TKey_2 in keyof import("type-fest").UnionToTuple<TState, import("type-fest").UnionToIntersection<TState extends any ? () => TState : never> extends () => (infer R) ? R : never>[TIndexInt] as NonNullable<import("type-fest").UnionToTuple<TState, import("type-fest").UnionToIntersection<TState extends any ? () => TState : never> extends () => (infer R) ? R : never>[TIndexInt]>[TKey_2] extends import("type-fest").UnionToTuple<TState, import("type-fest").UnionToIntersection<TState extends any ? () => TState : never> extends () => (infer R) ? R : never>[TIndexInt][TKey_2] ? TKey_2 : never]-?: import("@regle/schemas").InferRegleSchemaStatusType<NonNullable<import("type-fest").UnionToTuple<TState, import("type-fest").UnionToIntersection<TState extends any ? () => TState : never> extends () => (infer R) ? R : never>[TIndexInt]>[TKey_2], TSchema>; } & { [TKey_3 in keyof import("type-fest").UnionToTuple<TState, import("type-fest").UnionToIntersection<TState extends any ? () => TState : never> extends () => (infer R) ? R : never>[TIndexInt] as NonNullable<import("type-fest").UnionToTuple<TState, import("type-fest").UnionToIntersection<TState extends any ? () => TState : never> extends () => (infer R) ? R : never>[TIndexInt]>[TKey_3] extends import("type-fest").UnionToTuple<TState, import("type-fest").UnionToIntersection<TState extends any ? () => TState : never> extends () => (infer R) ? R : never>[TIndexInt][TKey_3] ? never : TKey_3]?: import("@regle/schemas").InferRegleSchemaStatusType<NonNullable<import("type-fest").UnionToTuple<TState, import("type-fest").UnionToIntersection<TState extends any ? () => TState : never> extends () => (infer R) ? R : never>[TIndexInt]>[TKey_3], TSchema>; } : {}; }[keyof import("type-fest").UnionToTuple<TState, import("type-fest").UnionToIntersection<TState extends any ? () => TState : never> extends () => (infer R) ? R : never> & `${number}`]>;
8
+ hasValidationErrors: import("vue").ComputedRef<boolean | import("@regle/schemas").RegleSchemaStatus<TState, TSchema, true>["$error"]>;
9
+ validate: () => Promise<import("@regle/schemas").RegleSchemaResult<TState>>;
10
10
  };
@@ -3,5 +3,5 @@ export declare const useItemCardSaveText: ({ isNew, isAnyFieldEdited, }: {
3
3
  isNew: Ref<boolean>;
4
4
  isAnyFieldEdited: Ref<boolean>;
5
5
  }) => {
6
- saveText: import("vue").ComputedRef<string>;
6
+ saveText: import("vue").ComputedRef<any>;
7
7
  };
@@ -52,7 +52,7 @@ export declare const createCardStore: <Entity = object>({ namespace, apiModule,
52
52
  }) => Promise<void>;
53
53
  saveItem: (draft: Entity) => Promise<void>;
54
54
  $reset: () => void;
55
- }[K] extends import("vue").ComputedRef<any> | import("pinia")._Method ? never : K]: any; } : never)>, Pick<{
55
+ }[K] extends import("pinia")._Method | import("vue").ComputedRef<any> ? never : K]: any; } : never)>, Pick<{
56
56
  parentId: import("vue").Ref<CardItemId, CardItemId>;
57
57
  itemId: import("vue").Ref<CardItemId, CardItemId>;
58
58
  originalItemInstance: [Readonly<Entity>] extends [import("vue").Ref<any, any>] ? import("@vue/shared").IfAny<import("vue").Ref<any, any> & Readonly<Entity>, import("vue").Ref<import("vue").Ref<any, any> & Readonly<Entity>, import("vue").Ref<any, any> & Readonly<Entity>>, import("vue").Ref<any, any> & Readonly<Entity>> : import("vue").Ref<import("vue").UnwrapRef<Readonly<Entity>>, Readonly<Entity> | import("vue").UnwrapRef<Readonly<Entity>>>;
@@ -1,12 +1,14 @@
1
1
  type __VLS_Props = {
2
2
  previewMode?: boolean;
3
3
  };
4
- type __VLS_PublicProps = __VLS_Props & {
4
+ type __VLS_ModelProps = {
5
5
  modelValue?: string;
6
6
  };
7
- declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
9
  "update:modelValue": (value: string) => any;
9
10
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
11
  "onUpdate:modelValue"?: (value: string) => any;
11
12
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: typeof __VLS_export;
12
14
  export default _default;
@@ -4,12 +4,14 @@ type Props = {
4
4
  v: Validation;
5
5
  };
6
6
  type __VLS_Props = Props;
7
- type __VLS_PublicProps = __VLS_Props & {
7
+ type __VLS_ModelProps = {
8
8
  modelValue?: ModelValue;
9
9
  };
10
- declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
12
  "update:modelValue": (value: string) => any;
12
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
14
  "onUpdate:modelValue"?: (value: string) => any;
14
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
15
17
  export default _default;
@@ -4,5 +4,6 @@ type __VLS_Props = {
4
4
  filtersManager: IFiltersManager;
5
5
  filterConfigs: AnyFilterConfig[];
6
6
  };
7
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
@@ -8,9 +8,10 @@ type __VLS_Props = {
8
8
  presetsStore: () => Store;
9
9
  filterConfigs: AnyFilterConfig[];
10
10
  };
11
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
12
  apply: (args_0: string) => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
14
  onApply?: (args_0: string) => any;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
16
17
  export default _default;
@@ -7,7 +7,7 @@ type Props = {
7
7
  collapsed: boolean;
8
8
  filterConfigs: AnyFilterConfig[];
9
9
  };
10
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  "preset:select": (args_0: EnginePresetQuery) => any;
12
12
  "preset:update": (args_0: {
13
13
  preset: EnginePresetQuery;
@@ -24,4 +24,5 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
24
24
  }) => any;
25
25
  "onPreset:delete"?: (args_0: EnginePresetQuery) => any;
26
26
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
+ declare const _default: typeof __VLS_export;
27
28
  export default _default;
@@ -1,11 +1,12 @@
1
1
  import { SubmitConfig } from './save-preset-popup.vue';
2
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
- close: () => any;
2
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
3
  cancel: () => any;
4
+ close: () => any;
5
5
  confirm: (args_0: SubmitConfig) => any;
6
6
  }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
7
- onClose?: () => any;
8
7
  onCancel?: () => any;
8
+ onClose?: () => any;
9
9
  onConfirm?: (args_0: SubmitConfig) => any;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const _default: typeof __VLS_export;
11
12
  export default _default;