@snabcentr/vue-ui-lib 5.10.0 → 6.0.1

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 (130) hide show
  1. package/dist/manifest.json +2 -2
  2. package/dist/release_notes.tmp +0 -6
  3. package/dist/sc-vue-ui-lib.css +2 -1
  4. package/dist/sc-vue-ui-lib.js +26240 -32846
  5. package/dist/sc-vue-ui-lib.js.map +1 -1
  6. package/dist/sc-vue-ui-lib.umd.cjs +260 -300
  7. package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
  8. package/dist/src/catalog/interfaces/events/i-category-emits.d.ts +1 -1
  9. package/dist/src/catalog/interfaces/properties/i-catalog-properties.d.ts +1 -1
  10. package/dist/src/catalog/interfaces/properties/i-catalogable-item-properties.d.ts +1 -1
  11. package/dist/src/catalog/interfaces/properties/i-category-collapse-item-properties.d.ts +1 -1
  12. package/dist/src/catalog/interfaces/properties/i-category-collapse-properties.d.ts +1 -1
  13. package/dist/src/catalog/interfaces/properties/i-product-actions-properties.d.ts +1 -1
  14. package/dist/src/catalog/interfaces/properties/i-product-cost-properties.d.ts +1 -1
  15. package/dist/src/catalog/interfaces/properties/i-product-name-properties.d.ts +1 -1
  16. package/dist/src/components/buttons/button-with-confirm-action.vue.d.ts +13 -12
  17. package/dist/src/components/buttons/chip-group.vue.d.ts +15 -10
  18. package/dist/src/components/catalog/category-collapse-item.vue.d.ts +5 -111
  19. package/dist/src/components/catalog/category-collapse.vue.d.ts +5 -14
  20. package/dist/src/components/catalog/dialogs/add-product-to-cart-dialog.vue.d.ts +4 -439
  21. package/dist/src/components/catalog/dialogs/product-info-dialog.vue.d.ts +3 -2
  22. package/dist/src/components/catalog/forms/set-client-price-form-item.vue.d.ts +3 -2
  23. package/dist/src/components/catalog/product-details/product-actions.vue.d.ts +4 -3
  24. package/dist/src/components/catalog/product-details/product-cost.vue.d.ts +4 -3
  25. package/dist/src/components/catalog/product-details/product-info-content.vue.d.ts +3 -2
  26. package/dist/src/components/catalog/product-details/product-info-popover.vue.d.ts +5 -4
  27. package/dist/src/components/catalog/product-details/product-name.vue.d.ts +4 -57
  28. package/dist/src/components/catalog/product-details/product-stock-count.vue.d.ts +5 -4
  29. package/dist/src/components/catalog/product-table-columns-definitions.d.ts +1 -1
  30. package/dist/src/components/clients/client-name-with-short-info.vue.d.ts +6 -5
  31. package/dist/src/components/clients/contragent-with-short-info.vue.d.ts +4 -3
  32. package/dist/src/components/collapse/collapse-item.vue.d.ts +5 -29
  33. package/dist/src/components/collapse/collapse.vue.d.ts +8 -7
  34. package/dist/src/components/configurators/configurators-product-info.vue.d.ts +3 -2
  35. package/dist/src/components/configurators/dynamic-configurator.vue.d.ts +3 -2
  36. package/dist/src/components/configurators/kozyrek/classes/kozyrek-template.d.ts +1 -1
  37. package/dist/src/components/configurators/kozyrek/kozyrek-configurator-params-form.vue.d.ts +18 -492
  38. package/dist/src/components/configurators/kozyrek/kozyrek-configurator-preview.vue.d.ts +4 -5
  39. package/dist/src/components/configurators/kozyrek/kozyrek-configurator-templates.vue.d.ts +3 -2
  40. package/dist/src/components/configurators/kozyrek/kozyrek-configurator.vue.d.ts +4 -932
  41. package/dist/src/components/configurators/metal-for-doors/metal-for-doors-configurator-form.vue.d.ts +18 -3154
  42. package/dist/src/components/configurators/metal-for-doors/metal-for-doors-configurator.vue.d.ts +4 -3574
  43. package/dist/src/components/configurators/mosquito/mosquito-configurator-form.vue.d.ts +18 -3922
  44. package/dist/src/components/configurators/mosquito/mosquito-configurator-measurement-instructions.vue.d.ts +3 -2
  45. package/dist/src/components/configurators/mosquito/mosquito-configurator-preview.vue.d.ts +4 -3
  46. package/dist/src/components/configurators/mosquito/mosquito-configurator.vue.d.ts +4 -4348
  47. package/dist/src/components/configurators/sandwich/sandwich-configurator-form.vue.d.ts +18 -492
  48. package/dist/src/components/configurators/sandwich/sandwich-configurator.vue.d.ts +4 -918
  49. package/dist/src/components/configurators/sandwich_m2/sandwich-m2-configurator-form.vue.d.ts +18 -3154
  50. package/dist/src/components/configurators/sandwich_m2/sandwich-m2-configurator.vue.d.ts +4 -3585
  51. package/dist/src/components/configurators/strip/strip-configurator-form.vue.d.ts +18 -4367
  52. package/dist/src/components/configurators/strip/strip-configurator-line-item.vue.d.ts +37 -3301
  53. package/dist/src/components/configurators/strip/strip-configurator-preview.vue.d.ts +4 -3
  54. package/dist/src/components/configurators/strip/strip-configurator.vue.d.ts +4 -4789
  55. package/dist/src/components/contacts/email.vue.d.ts +4 -3
  56. package/dist/src/components/contacts/person-contacts-block.vue.d.ts +4 -3
  57. package/dist/src/components/contacts/phone.vue.d.ts +4 -3
  58. package/dist/src/components/dates/date-range/date-range-dialog.vue.d.ts +3 -2
  59. package/dist/src/components/dates/date-range/date-range-fields.vue.d.ts +3 -2
  60. package/dist/src/components/dates/date-range/date-range-input.vue.d.ts +5 -6
  61. package/dist/src/components/dates/date-range/day-range-grid.vue.d.ts +6 -5
  62. package/dist/src/components/dates/date-range/month-range-grid.vue.d.ts +6 -5
  63. package/dist/src/components/dates/date-range/month-year-sidebar.vue.d.ts +4 -3
  64. package/dist/src/components/dates/date-range/quick-periods-settings.vue.d.ts +3 -2
  65. package/dist/src/components/dates/date-range/quick-periods.vue.d.ts +4 -3
  66. package/dist/src/components/dates/date-range/standard-periods.vue.d.ts +4 -3
  67. package/dist/src/components/dates/date-range.vue.d.ts +4 -3
  68. package/dist/src/components/dates/date-time-label.vue.d.ts +4 -3
  69. package/dist/src/components/debt/debt.vue.d.ts +3 -2
  70. package/dist/src/components/dialog/base-dialog.vue.d.ts +12 -8
  71. package/dist/src/components/dialog/dialog-header.vue.d.ts +8 -6
  72. package/dist/src/components/editors/comment-editor.vue.d.ts +4 -3
  73. package/dist/src/components/files/single-file-upload-selector.vue.d.ts +5 -4
  74. package/dist/src/components/icons/warning-icon.vue.d.ts +3 -2
  75. package/dist/src/components/images/image-gallery.vue.d.ts +5 -4
  76. package/dist/src/components/images/lightgallery.vue.d.ts +6 -7
  77. package/dist/src/components/inline/inline-editable-item.vue.d.ts +12 -8
  78. package/dist/src/components/inline/inline-view.vue.d.ts +10 -8
  79. package/dist/src/components/inputs/debounced-input-number.vue.d.ts +7 -2669
  80. package/dist/src/components/inputs/debounced-input.vue.d.ts +6 -5
  81. package/dist/src/components/inputs/phone-input.vue.d.ts +4 -3
  82. package/dist/src/components/kpi/kpi-grid.vue.d.ts +4 -3
  83. package/dist/src/components/links/external-link.vue.d.ts +3 -2
  84. package/dist/src/components/lists/compact-card-list.vue.d.ts +5 -4
  85. package/dist/src/components/lists/products-list.vue.d.ts +18 -12
  86. package/dist/src/components/orders/blocks/order-details.vue.d.ts +4 -3
  87. package/dist/src/components/orders/blocks/order-external-links.vue.d.ts +2 -1
  88. package/dist/src/components/orders/blocks/order-items-list.vue.d.ts +17 -8
  89. package/dist/src/components/orders/blocks/order-status-history.vue.d.ts +2 -1
  90. package/dist/src/components/orders/order-actions.vue.d.ts +3 -2
  91. package/dist/src/components/orders/order-highlight-settings.vue.d.ts +4 -3
  92. package/dist/src/components/orders/order-info.vue.d.ts +3 -2
  93. package/dist/src/components/orders/orders-list.vue.d.ts +14 -7
  94. package/dist/src/components/orders/short-text-order-info.vue.d.ts +3 -2
  95. package/dist/src/components/orders/simple/creator-user-type-tag.vue.d.ts +4 -3
  96. package/dist/src/components/orders/simple/order-color-swatch.vue.d.ts +4 -3
  97. package/dist/src/components/orders/simple/order-common-info.vue.d.ts +4 -3
  98. package/dist/src/components/orders/simple/order-delivery-label.vue.d.ts +4 -3
  99. package/dist/src/components/orders/simple/order-item-name.vue.d.ts +4 -3
  100. package/dist/src/components/orders/simple/order-item-params.vue.d.ts +4 -3
  101. package/dist/src/components/orders/simple/order-item-specification.vue.d.ts +4 -370
  102. package/dist/src/components/orders/simple/order-payment.vue.d.ts +4 -3
  103. package/dist/src/components/orders/simple/order-product-info.vue.d.ts +6 -5
  104. package/dist/src/components/orders/simple/order-status-tag.vue.d.ts +5 -4
  105. package/dist/src/components/page/page-with-sliding-panel.vue.d.ts +25 -17
  106. package/dist/src/components/page/page.vue.d.ts +14 -9
  107. package/dist/src/components/selects/curator-select.vue.d.ts +4 -1848
  108. package/dist/src/components/selects/manager-operator-select.vue.d.ts +9 -1854
  109. package/dist/src/components/selects/manager-select.vue.d.ts +8 -1852
  110. package/dist/src/components/selects/reference-select.vue.d.ts +16 -11
  111. package/dist/src/components/selects/searchable-product-select.vue.d.ts +15 -10
  112. package/dist/src/components/selects/searchable-reference-select.vue.d.ts +15 -10
  113. package/dist/src/components/sliding-content/sliding-content-with-drawer.vue.d.ts +11 -7
  114. package/dist/src/components/suggestions/address/address-suggestion-label.vue.d.ts +4 -3
  115. package/dist/src/components/suggestions/address/address-suggestion.vue.d.ts +5 -6
  116. package/dist/src/components/suggestions/bank/bank-suggestion-label.vue.d.ts +4 -3
  117. package/dist/src/components/suggestions/bank/bank-suggestion.vue.d.ts +5 -6
  118. package/dist/src/components/suggestions/org/org-suggestion-label.vue.d.ts +4 -3
  119. package/dist/src/components/suggestions/org/org-suggestion.vue.d.ts +5 -6
  120. package/dist/src/components/users/user-short-info.vue.d.ts +4 -3
  121. package/dist/src/helpers/address-quality-label-helper.d.ts +1 -0
  122. package/dist/src/orders/order-marker-colors.d.ts +1 -1
  123. package/dist/src/orders/order-status-colors.d.ts +1 -1
  124. package/dist/src/properties/interfaces/i-order-info-property.d.ts +1 -1
  125. package/dist/src/properties/interfaces/i-orders-table-fields.d.ts +1 -1
  126. package/dist/src/public-api.d.ts +2 -1
  127. package/dist/src/values/reference-lists.d.ts +13 -13
  128. package/package.json +43 -53
  129. package/dist/src/test/component-test-support.d.ts +0 -133
  130. /package/dist/{tailwind.config.js → src/themes/tailwind.config.js} +0 -0
@@ -5,10 +5,10 @@ import { IUpdateValue } from '../../emits';
5
5
  /**
6
6
  * Компонент выпадающего списка значений справочника.
7
7
  */
8
- declare const _default: <T extends IReference<any, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
10
- readonly "onUpdate:value"?: ((value: T | T[] | null | undefined, ...additionalParams: any[]) => any) | undefined;
11
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:value"> & (import('../../properties').IValue<T | T[] | null | undefined> & import('../../properties').IClearable & IDisabled & IConsistentMenuWidth & {
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ declare const __VLS_export: <T extends IReference<any, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
11
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<(import('../../properties').IValue<T | T[] | null | undefined> & import('../../properties').IClearable & IDisabled & IConsistentMenuWidth & {
12
12
  /**
13
13
  * Список значений справочника.
14
14
  */
@@ -35,18 +35,23 @@ declare const _default: <T extends IReference<any, any>>(__VLS_props: NonNullabl
35
35
  * Возвращает `true`, если пункт должен быть отключён для выбора.
36
36
  */
37
37
  disabledItem?: (item: T) => boolean;
38
- }) & Partial<{}>> & import('vue').PublicProps;
39
- expose(exposed: import('vue').ShallowUnwrapRef<{
38
+ }) & {
39
+ "onUpdate:value"?: ((value: T | T[] | null | undefined, ...additionalParams: any[]) => any) | undefined;
40
+ }> & (typeof globalThis extends {
41
+ __VLS_PROPS_FALLBACK: infer P;
42
+ } ? P : {});
43
+ expose: (exposed: import('vue').ShallowUnwrapRef<{
40
44
  focus: () => void | undefined;
41
45
  blur: () => void | undefined;
42
- }>): void;
46
+ }>) => void;
43
47
  attrs: any;
44
48
  slots: {};
45
49
  emit: IUpdateValue<T | T[] | null | undefined>;
46
50
  }>) => import('vue').VNode & {
47
- __ctx?: Awaited<typeof __VLS_setup>;
51
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
48
52
  };
49
- export default _default;
50
- type __VLS_PrettifyLocal<T> = {
53
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
51
54
  [K in keyof T]: T[K];
52
- } & {};
55
+ } : {
56
+ [K in keyof T as K]: T[K];
57
+ }) & {};
@@ -5,21 +5,26 @@ import { IProductOrCategorySearchType } from '../../properties/interfaces/i-prod
5
5
  /**
6
6
  * Компонент выпадающего списка товаров или категорий с возможностью поиска.
7
7
  */
8
- declare const _default: <T extends IProduct | ICategory>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
10
- readonly "onUpdate:value"?: ((value: T | T[] | null, ...additionalParams: any[]) => any) | undefined;
11
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:value"> & (ISearchableSelectWrapper<T | T[] | null> & IProductOrCategorySearchType) & Partial<{}>> & import('vue').PublicProps;
12
- expose(exposed: import('vue').ShallowUnwrapRef<{
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ declare const __VLS_export: <T extends IProduct | ICategory>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
11
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<(ISearchableSelectWrapper<T | T[] | null> & IProductOrCategorySearchType) & {
12
+ "onUpdate:value"?: ((value: T | T[] | null, ...additionalParams: any[]) => any) | undefined;
13
+ }> & (typeof globalThis extends {
14
+ __VLS_PROPS_FALLBACK: infer P;
15
+ } ? P : {});
16
+ expose: (exposed: import('vue').ShallowUnwrapRef<{
13
17
  focus: () => void | undefined;
14
18
  blur: () => void | undefined;
15
- }>): void;
19
+ }>) => void;
16
20
  attrs: any;
17
21
  slots: {};
18
22
  emit: IUpdateValue<T | T[] | null>;
19
23
  }>) => import('vue').VNode & {
20
- __ctx?: Awaited<typeof __VLS_setup>;
24
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
21
25
  };
22
- export default _default;
23
- type __VLS_PrettifyLocal<T> = {
26
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
24
27
  [K in keyof T]: T[K];
25
- } & {};
28
+ } : {
29
+ [K in keyof T as K]: T[K];
30
+ }) & {};
@@ -4,21 +4,26 @@ import { ISearchableSelect } from '../../properties';
4
4
  /**
5
5
  * Компонент выпадающего списка значений справочника с возможностью поиска.
6
6
  */
7
- declare const _default: <T extends IReference>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
9
- readonly "onUpdate:value"?: ((value: T | T[] | null, ...additionalParams: any[]) => any) | undefined;
10
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:value"> & ISearchableSelect<T | T[] | null, T> & Partial<{}>> & import('vue').PublicProps;
11
- expose(exposed: import('vue').ShallowUnwrapRef<{
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ declare const __VLS_export: <T extends IReference>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
10
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<ISearchableSelect<T | T[] | null, T> & {
11
+ "onUpdate:value"?: ((value: T | T[] | null, ...additionalParams: any[]) => any) | undefined;
12
+ }> & (typeof globalThis extends {
13
+ __VLS_PROPS_FALLBACK: infer P;
14
+ } ? P : {});
15
+ expose: (exposed: import('vue').ShallowUnwrapRef<{
12
16
  focus: () => void | undefined;
13
17
  blur: () => void | undefined;
14
- }>): void;
18
+ }>) => void;
15
19
  attrs: any;
16
20
  slots: {};
17
21
  emit: IUpdateValue<T | T[] | null>;
18
22
  }>) => import('vue').VNode & {
19
- __ctx?: Awaited<typeof __VLS_setup>;
23
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
20
24
  };
21
- export default _default;
22
- type __VLS_PrettifyLocal<T> = {
25
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
23
26
  [K in keyof T]: T[K];
24
- } & {};
27
+ } : {
28
+ [K in keyof T as K]: T[K];
29
+ }) & {};
@@ -1,7 +1,9 @@
1
1
  /**
2
2
  * Компонент всплывающей панели при открытии которой содержимое основного блока смещается в сторону на ширину панели.
3
3
  */
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
4
+ declare const _default: typeof __VLS_export;
5
+ export default _default;
6
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
5
7
  /**
6
8
  * Ширина всплывающей панели.
7
9
  */
@@ -36,13 +38,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
36
38
  drawerWidth: number | (() => number);
37
39
  showDrawer: boolean;
38
40
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
39
- default?(_: {}): any;
40
- 'drawer-header'?(_: {}): any;
41
- 'drawer-content'?(_: {}): any;
42
- 'drawer-footer'?(_: {}): any;
41
+ default?: (props: {}) => any;
42
+ } & {
43
+ 'drawer-header'?: (props: {}) => any;
44
+ } & {
45
+ 'drawer-content'?: (props: {}) => any;
46
+ } & {
47
+ 'drawer-footer'?: (props: {}) => any;
43
48
  }>;
44
- export default _default;
45
- type __VLS_WithTemplateSlots<T, S> = T & {
49
+ type __VLS_WithSlots<T, S> = T & {
46
50
  new (): {
47
51
  $slots: S;
48
52
  };
@@ -2,7 +2,9 @@ import { IAddressSuggestion } from '@snabcentr/common-lib';
2
2
  /**
3
3
  * Компонент представления подсказки об адресе.
4
4
  */
5
- declare const _default: import('vue').DefineComponent<{
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: import('vue').DefineComponent<{
6
8
  /**
7
9
  * Данные об адресе.
8
10
  */
@@ -20,5 +22,4 @@ declare const _default: import('vue').DefineComponent<{
20
22
  * Признак, что подсказка выбрана.
21
23
  */
22
24
  selected?: boolean;
23
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
- export default _default;
25
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -5,7 +5,9 @@ import { IMinTermLength } from '../../../properties/interfaces/i-min-term-length
5
5
  /**
6
6
  * Компонент подсказки данных об адресе.
7
7
  */
8
- declare const _default: import('vue').DefineComponent<import('../../../properties').IDisabled & import('../../../properties').IValue<string | undefined> & import('../../../properties').IClearable & {
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ declare const __VLS_export: import('vue').DefineComponent<import('../../../properties').IDisabled & import('../../../properties').IValue<string | undefined> & import('../../../properties').IClearable & {
9
11
  field?: string;
10
12
  } & IMinTermLength & IConsistentMenuWidth & {
11
13
  /**
@@ -35,10 +37,7 @@ declare const _default: import('vue').DefineComponent<import('../../../propertie
35
37
  disabled: boolean;
36
38
  clearable: boolean;
37
39
  minTermLength: number;
38
- readonly wrapContent: boolean;
40
+ wrapContent: boolean;
39
41
  searchDataHandler: SearchDataHandlerType<IAddressSuggestion[]>;
40
42
  field: string;
41
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
42
- autoCompleteElement: unknown;
43
- }, any>;
44
- export default _default;
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -2,7 +2,9 @@ import { IBankSuggestion } from '@snabcentr/common-lib';
2
2
  /**
3
3
  * Компонент представления подсказки о банке.
4
4
  */
5
- declare const _default: import('vue').DefineComponent<{
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: import('vue').DefineComponent<{
6
8
  /**
7
9
  * Данные о банке.
8
10
  */
@@ -20,5 +22,4 @@ declare const _default: import('vue').DefineComponent<{
20
22
  * Признак, что подсказка выбрана.
21
23
  */
22
24
  selected?: boolean;
23
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
- export default _default;
25
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -4,7 +4,9 @@ import { IMinTermLength } from '../../../properties/interfaces/i-min-term-length
4
4
  /**
5
5
  * Компонент подсказки данных о банке.
6
6
  */
7
- declare const _default: import('vue').DefineComponent<import('../../../properties').IDisabled & import('../../../properties').IValue<string | undefined> & import('../../../properties').IClearable & {
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ declare const __VLS_export: import('vue').DefineComponent<import('../../../properties').IDisabled & import('../../../properties').IValue<string | undefined> & import('../../../properties').IClearable & {
8
10
  field?: string;
9
11
  } & IMinTermLength & IConsistentMenuWidth, {
10
12
  /**
@@ -24,9 +26,6 @@ declare const _default: import('vue').DefineComponent<import('../../../propertie
24
26
  disabled: boolean;
25
27
  clearable: boolean;
26
28
  minTermLength: number;
27
- readonly wrapContent: boolean;
29
+ wrapContent: boolean;
28
30
  field: string;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
30
- autoCompleteElement: unknown;
31
- }, any>;
32
- export default _default;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -2,7 +2,9 @@ import { IOrganizationSuggestion } from '@snabcentr/common-lib';
2
2
  /**
3
3
  * Компонент представления подсказки об организации.
4
4
  */
5
- declare const _default: import('vue').DefineComponent<{
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: import('vue').DefineComponent<{
6
8
  /**
7
9
  * Данные об организации.
8
10
  */
@@ -20,5 +22,4 @@ declare const _default: import('vue').DefineComponent<{
20
22
  * Признак, что подсказка выбрана.
21
23
  */
22
24
  selected?: boolean;
23
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
- export default _default;
25
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -4,7 +4,9 @@ import { IMinTermLength } from '../../../properties/interfaces/i-min-term-length
4
4
  /**
5
5
  * Компонент подсказки данных об организации.
6
6
  */
7
- declare const _default: import('vue').DefineComponent<import('../../../properties').IDisabled & import('../../../properties').IValue<string | undefined> & import('../../../properties').IClearable & {
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ declare const __VLS_export: import('vue').DefineComponent<import('../../../properties').IDisabled & import('../../../properties').IValue<string | undefined> & import('../../../properties').IClearable & {
8
10
  field?: string;
9
11
  } & IMinTermLength & IConsistentMenuWidth & {
10
12
  /**
@@ -34,9 +36,6 @@ declare const _default: import('vue').DefineComponent<import('../../../propertie
34
36
  disabled: boolean;
35
37
  clearable: boolean;
36
38
  minTermLength: number;
37
- readonly wrapContent: boolean;
39
+ wrapContent: boolean;
38
40
  field: string;
39
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
40
- autoCompleteElement: unknown;
41
- }, any>;
42
- export default _default;
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -2,7 +2,9 @@ import { IUserShortInfo } from '@snabcentr/common-lib';
2
2
  /**
3
3
  * Компонент текстового представления данных о пользователе.
4
4
  */
5
- declare const _default: import('vue').DefineComponent<{
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: import('vue').DefineComponent<{
6
8
  /**
7
9
  * Данные о пользователе.
8
10
  */
@@ -31,5 +33,4 @@ declare const _default: import('vue').DefineComponent<{
31
33
  }> & Readonly<{}>, {
32
34
  showUserType: boolean;
33
35
  extraInfoOnSecondLine: boolean;
34
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
35
- export default _default;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -6,6 +6,7 @@ export declare class AddressQualityLabelHelper {
6
6
  /**
7
7
  * Возвращает пометку для адреса, который нужно проверить: неполного или с неопределённой полнотой.
8
8
  *
9
+ * Пометка одна для обоих случаев и не утверждает, что адрес неполный, а просит его проверить.
9
10
  * Для полного адреса и адреса без данных о полноте пометка не нужна, возвращается `undefined`.
10
11
  *
11
12
  * @param quality Полнота адреса.
@@ -1,6 +1,6 @@
1
+ import { IOrderInfo } from '@snabcentr/common-lib';
1
2
  import { OrderMarkerEnum } from '../enums/order-marker-enum';
2
3
  import { IOrderStatusColors } from './interfaces/i-order-status-colors';
3
- import { IOrderInfo } from '@snabcentr/common-lib';
4
4
  /**
5
5
  * Единый источник правды для цветов маркеров заказа (помимо статуса).
6
6
  *
@@ -1,6 +1,6 @@
1
+ import { OrderStatusEnum } from '@snabcentr/common-lib';
1
2
  import { IOrderStatusColors } from './interfaces/i-order-status-colors';
2
3
  import { IOrderStatusTagColor } from './interfaces/i-order-status-tag-color';
3
- import { OrderStatusEnum } from '@snabcentr/common-lib';
4
4
  /**
5
5
  * Слаг статуса заказа: значение перечисления или произвольная строка (например, из данных API), может отсутствовать.
6
6
  */
@@ -1,5 +1,5 @@
1
- import { IOrderEmits } from '../../orders/interfaces/events/i-order-emits';
2
1
  import { IOrderInfo } from '@snabcentr/common-lib';
2
+ import { IOrderEmits } from '../../orders/interfaces/events/i-order-emits';
3
3
  import { Emitter } from 'mitt';
4
4
  /**
5
5
  * Краткие данные о заказе.
@@ -1,5 +1,5 @@
1
- import { OrdersTableFields } from '../../enums/orders-table-fields';
2
1
  import { IOrderInfo } from '@snabcentr/common-lib';
2
+ import { OrdersTableFields } from '../../enums/orders-table-fields';
3
3
  import { DropdownDividerOption, DropdownGroupOption, DropdownOption, DropdownRenderOption } from 'naive-ui';
4
4
  /**
5
5
  * Список полей, которые необходимо отображать в полном представлении таблицы.
@@ -1 +1,2 @@
1
- export * from './index';
1
+ export * from './index.js'
2
+ export {}
@@ -3,55 +3,55 @@ import { SelectOption } from 'naive-ui';
3
3
  /**
4
4
  * Список типов доставки.
5
5
  */
6
- export declare const deliveryTypeReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IDeliveryType[]>;
6
+ export declare const deliveryTypeReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IDeliveryType[]>;
7
7
  /**
8
8
  * Список менеджеров.
9
9
  */
10
- export declare const managersReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IManager[]>;
10
+ export declare const managersReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IManager[]>;
11
11
  /**
12
12
  * Список организационно-правовых форм.
13
13
  */
14
- export declare const opfReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IOpf[]>;
14
+ export declare const opfReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IOpf[]>;
15
15
  /**
16
16
  * Список групп партнеров.
17
17
  */
18
- export declare const partnerGroupReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IPartnerGroup[]>;
18
+ export declare const partnerGroupReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IPartnerGroup[]>;
19
19
  /**
20
20
  * Список коэффициентов цен.
21
21
  */
22
- export declare const priceCoefficientsReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IPriceCoefficient[]>;
22
+ export declare const priceCoefficientsReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IPriceCoefficient[]>;
23
23
  /**
24
24
  * Список типов файлов продуктов/категорий.
25
25
  */
26
- export declare const productFilesTypesReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IProductFileType[]>;
26
+ export declare const productFilesTypesReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IProductFileType[]>;
27
27
  /**
28
28
  * Список значений справочника типов ресурсов.
29
29
  */
30
- export declare const resourceReferencesList: import('vue').ComputedRef<import('@snabcentr/common-lib').IResourceType[] | undefined>;
30
+ export declare const resourceReferencesList: import('vue').ComputedRef<import('@snabcentr/common-core').IResourceType[] | undefined>;
31
31
  /**
32
32
  * Список направлений продаж.
33
33
  */
34
- export declare const salesDirectionsReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').ISalesDirection[]>;
34
+ export declare const salesDirectionsReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').ISalesDirection[]>;
35
35
  /**
36
36
  * Список складов.
37
37
  */
38
- export declare const warehousesReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IWarehouse[]>;
38
+ export declare const warehousesReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IWarehouse[]>;
39
39
  /**
40
40
  * Список типов оплаты.
41
41
  */
42
- export declare const paymentTypeReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IPaymentType[]>;
42
+ export declare const paymentTypeReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IPaymentType[]>;
43
43
  /**
44
44
  * Список статусов заказов.
45
45
  */
46
- export declare const orderStatusReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IOrderStatus[]>;
46
+ export declare const orderStatusReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IOrderStatus[]>;
47
47
  /**
48
48
  * Список детализирующих статусов заказов.
49
49
  */
50
- export declare const orderStatusDetailReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IOrderStatusDetail[]>;
50
+ export declare const orderStatusDetailReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IOrderStatusDetail[]>;
51
51
  /**
52
52
  * Список операторов.
53
53
  */
54
- export declare const operatorReferenceList: import('vue').ComputedRef<import('@snabcentr/common-lib').IOperator[]>;
54
+ export declare const operatorReferenceList: import('vue').ComputedRef<import('@snabcentr/common-core').IOperator[]>;
55
55
  /**
56
56
  * Справочник опций направлений продаж.
57
57
  */
package/package.json CHANGED
@@ -1,27 +1,24 @@
1
1
  {
2
2
  "name": "@snabcentr/vue-ui-lib",
3
+ "version": "6.0.1",
3
4
  "description": "Библиотека общих Vue3 компонентов, используемых во всех проектах Снабцентр.",
4
5
  "keywords": [],
5
6
  "author": "Sergey S. Smirnov <dev@snabcentr.com>",
6
7
  "type": "module",
7
- "version": "5.10.0",
8
8
  "license": "ISC",
9
9
  "scripts": {
10
10
  "dev": "vite",
11
11
  "build": "vue-tsc -p tsconfig.build.json --noEmit && vite build && rm dist/vite.* && cp readme.md dist/readme.md",
12
12
  "build:watch": "vite build -w",
13
- "lint:files": "eslint --ignore-path .gitignore",
14
- "lint": "eslint --ignore-path .gitignore src",
15
- "lint:fix": "eslint --fix --ignore-path .gitignore src",
16
- "lint:staged": "npx lint-staged",
13
+ "lint:files": "eslint --ignore-path ../../.gitignore",
14
+ "lint": "eslint --ignore-path ../../.gitignore src",
15
+ "lint:fix": "eslint --fix --ignore-path ../../.gitignore src",
17
16
  "preview": "vite preview",
18
17
  "test": "vitest",
19
18
  "test:once": "vitest run",
20
19
  "test:coverage": "mkdir -p coverage/.tmp && vitest run --coverage",
21
20
  "test:ci": "mkdir -p junit coverage && vitest run --coverage --coverage.reporter=text-summary --coverage.reporter=cobertura --reporter=default --reporter=junit --outputFile.junit=junit/test_results.xml | tee coverage/coverage_report.txt && cp coverage/cobertura-coverage.xml coverage/coverage_report.xml",
22
- "publish:lib": "npm publish",
23
- "git:hooks:init": "husky",
24
- "git:hooks:uninstall": "husky uninstall"
21
+ "publish:lib": "npm publish"
25
22
  },
26
23
  "files": [
27
24
  "dist"
@@ -40,69 +37,62 @@
40
37
  "require": "./dist/sc-vue-ui-lib.umd.cjs"
41
38
  }
42
39
  },
43
- "lint-staged": {
44
- "*.(js|jsx|ts|tsx|vue)": [
45
- "npm run lint:files"
46
- ]
47
- },
48
40
  "peerDependencies": {
49
41
  "@iconify-json/fa6-brands": "^1.2.6",
50
- "@iconify-json/fluent": "^1.2.32",
51
- "@iconify-json/ion": "^1.2.6",
52
- "@iconify-json/logos": "^1.2.9",
42
+ "@iconify-json/fluent": "^1.2.60",
43
+ "@iconify-json/ion": "^1.2.7",
44
+ "@iconify-json/logos": "^1.2.16",
53
45
  "@iconify-json/mdi": "^1.2.3",
54
- "@iconify-json/tabler": "^1.2.23",
55
- "@snabcentr/common-lib": "^3.13.0",
46
+ "@iconify-json/tabler": "^1.2.42",
47
+ "@snabcentr/common-lib": "^4.0.0",
56
48
  "@tailwindcss/container-queries": "^0.1.1",
57
- "date-fns": "^3.6.0",
58
- "libphonenumber-js": "^1.12.23",
49
+ "date-fns": "^4.4.0",
50
+ "libphonenumber-js": "^1.13.15",
59
51
  "lightgallery": "^2.9.0",
60
- "lodash-es": "^4.17.21",
52
+ "lodash-es": "^4.18.1",
61
53
  "mitt": "^3.0.1",
62
- "naive-ui": "^2.43.1",
63
- "pinia": "^3.0.3",
64
- "postcss": "^8.5.6",
65
- "sass": "^1.93.2",
66
- "tailwindcss": "^3.4.18",
67
- "ts-case-convert": "^2.1.0",
68
- "vue": "^3.5.22",
69
- "vue-tel-input": "^9.5.0"
54
+ "naive-ui": "^2.45.3",
55
+ "pinia": "^4.1.0",
56
+ "postcss": "^8.5.30",
57
+ "sass": "^1.105.1",
58
+ "tailwindcss": "^3.4.19",
59
+ "ts-case-convert": "^2.3.1",
60
+ "vue": "^3.5.44",
61
+ "vue-tel-input": "^9.9.0"
70
62
  },
71
63
  "dependencies": {
72
- "two.js": "^0.8.23"
64
+ "two.js": "^0.8.24"
73
65
  },
74
66
  "devDependencies": {
75
- "@iconify/vue": "^5.0.1",
76
- "@snabcentr/eslint-config": "^4.2.0",
67
+ "@iconify/vue": "^5.0.3",
68
+ "@snabcentr/eslint-config": "^4.3.0",
77
69
  "@types/node": "^22.20.1",
78
- "@types/vue-tel-input": "^2.1.1",
79
- "@vitejs/plugin-vue": "^5.2.4",
80
- "@vitest/coverage-v8": "^3.2.7",
81
- "@vue/test-utils": "^2.4.11",
82
- "autoprefixer": "^10.5.4",
83
- "baseline-browser-mapping": "^2.11.7",
84
- "eslint-plugin-vue": "^9.32.0",
85
- "happy-dom": "^17.6.3",
86
- "husky": "^9.1.7",
87
- "lint-staged": "^16.4.0",
88
- "rollup-plugin-visualizer": "^6.0.11",
70
+ "@types/vue-tel-input": "^2.1.7",
71
+ "@vitejs/plugin-vue": "^6.0.10",
72
+ "@vitest/coverage-v8": "^5.0.4",
73
+ "@vue/test-utils": "~2.4.11",
74
+ "autoprefixer": "^10.6.1",
75
+ "baseline-browser-mapping": "^2.11.28",
76
+ "eslint-plugin-vue": "^10.11.1",
77
+ "happy-dom": "^21.0.1",
78
+ "rollup-plugin-visualizer": "^7.1.1",
89
79
  "tailwindcss": "^3.4.19",
90
80
  "typescript": "~5.9.3",
91
81
  "unplugin-icons": "^23.0.1",
92
- "unplugin-vue-components": "^31.1.0",
93
- "vite": "^6.4.3",
94
- "vite-plugin-dts": "^4.5.4",
82
+ "unplugin-vue-components": "^32.1.0",
83
+ "vite": "^8.3.4",
84
+ "vite-plugin-dts": "^5.1.2",
95
85
  "vite-plugin-manifest-sri": "^0.2.0",
96
- "vite-plugin-static-copy": "^2.3.2",
86
+ "vite-plugin-static-copy": "^4.1.1",
97
87
  "vite-plugin-vue-devtools": "^8.2.1",
98
- "vitest": "^3.2.7",
88
+ "vitest": "^5.0.4",
99
89
  "vue-json-pretty": "^2.6.0",
100
- "vue-router": "^4.6.4",
101
- "vue-tsc": "^3.3.8"
90
+ "vue-router": "^5.4.0",
91
+ "vue-tsc": "^3.3.13"
102
92
  },
103
93
  "optionalDependencies": {
104
- "@esbuild/linux-x64": "0.25.10",
105
- "@rollup/rollup-darwin-arm64": "4.53.2",
106
- "@rollup/rollup-linux-x64-gnu": "4.53.2"
94
+ "@esbuild/linux-x64": "0.28.2",
95
+ "@rollup/rollup-darwin-arm64": "4.64.6",
96
+ "@rollup/rollup-linux-x64-gnu": "4.64.6"
107
97
  }
108
98
  }