@snabcentr/vue-ui-lib 5.9.1 → 6.0.0

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 (115) 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 +26242 -40677
  5. package/dist/sc-vue-ui-lib.js.map +1 -1
  6. package/dist/sc-vue-ui-lib.umd.cjs +259 -299
  7. package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
  8. package/dist/src/components/buttons/button-with-confirm-action.vue.d.ts +13 -12
  9. package/dist/src/components/buttons/chip-group.vue.d.ts +15 -10
  10. package/dist/src/components/catalog/category-collapse-item.vue.d.ts +5 -111
  11. package/dist/src/components/catalog/category-collapse.vue.d.ts +5 -14
  12. package/dist/src/components/catalog/dialogs/add-product-to-cart-dialog.vue.d.ts +4 -439
  13. package/dist/src/components/catalog/dialogs/product-info-dialog.vue.d.ts +3 -2
  14. package/dist/src/components/catalog/forms/set-client-price-form-item.vue.d.ts +3 -2
  15. package/dist/src/components/catalog/product-details/product-actions.vue.d.ts +4 -3
  16. package/dist/src/components/catalog/product-details/product-cost.vue.d.ts +4 -3
  17. package/dist/src/components/catalog/product-details/product-info-content.vue.d.ts +3 -2
  18. package/dist/src/components/catalog/product-details/product-info-popover.vue.d.ts +5 -4
  19. package/dist/src/components/catalog/product-details/product-name.vue.d.ts +4 -57
  20. package/dist/src/components/catalog/product-details/product-stock-count.vue.d.ts +5 -4
  21. package/dist/src/components/clients/client-name-with-short-info.vue.d.ts +6 -5
  22. package/dist/src/components/clients/contragent-with-short-info.vue.d.ts +4 -3
  23. package/dist/src/components/collapse/collapse-item.vue.d.ts +5 -29
  24. package/dist/src/components/collapse/collapse.vue.d.ts +8 -7
  25. package/dist/src/components/configurators/configurators-product-info.vue.d.ts +3 -2
  26. package/dist/src/components/configurators/dynamic-configurator.vue.d.ts +3 -2
  27. package/dist/src/components/configurators/kozyrek/classes/kozyrek-template.d.ts +1 -1
  28. package/dist/src/components/configurators/kozyrek/kozyrek-configurator-params-form.vue.d.ts +18 -492
  29. package/dist/src/components/configurators/kozyrek/kozyrek-configurator-preview.vue.d.ts +4 -5
  30. package/dist/src/components/configurators/kozyrek/kozyrek-configurator-templates.vue.d.ts +3 -2
  31. package/dist/src/components/configurators/kozyrek/kozyrek-configurator.vue.d.ts +4 -932
  32. package/dist/src/components/configurators/metal-for-doors/metal-for-doors-configurator-form.vue.d.ts +18 -3154
  33. package/dist/src/components/configurators/metal-for-doors/metal-for-doors-configurator.vue.d.ts +4 -3574
  34. package/dist/src/components/configurators/mosquito/mosquito-configurator-form.vue.d.ts +18 -3922
  35. package/dist/src/components/configurators/mosquito/mosquito-configurator-measurement-instructions.vue.d.ts +3 -2
  36. package/dist/src/components/configurators/mosquito/mosquito-configurator-preview.vue.d.ts +4 -3
  37. package/dist/src/components/configurators/mosquito/mosquito-configurator.vue.d.ts +4 -4348
  38. package/dist/src/components/configurators/sandwich/sandwich-configurator-form.vue.d.ts +18 -492
  39. package/dist/src/components/configurators/sandwich/sandwich-configurator.vue.d.ts +4 -918
  40. package/dist/src/components/configurators/sandwich_m2/sandwich-m2-configurator-form.vue.d.ts +18 -3154
  41. package/dist/src/components/configurators/sandwich_m2/sandwich-m2-configurator.vue.d.ts +4 -3585
  42. package/dist/src/components/configurators/strip/strip-configurator-form.vue.d.ts +18 -4367
  43. package/dist/src/components/configurators/strip/strip-configurator-line-item.vue.d.ts +37 -3301
  44. package/dist/src/components/configurators/strip/strip-configurator-preview.vue.d.ts +4 -3
  45. package/dist/src/components/configurators/strip/strip-configurator.vue.d.ts +4 -4789
  46. package/dist/src/components/contacts/email.vue.d.ts +4 -3
  47. package/dist/src/components/contacts/person-contacts-block.vue.d.ts +4 -3
  48. package/dist/src/components/contacts/phone.vue.d.ts +4 -3
  49. package/dist/src/components/dates/date-range/date-range-dialog.vue.d.ts +3 -2
  50. package/dist/src/components/dates/date-range/date-range-fields.vue.d.ts +3 -2
  51. package/dist/src/components/dates/date-range/date-range-input.vue.d.ts +5 -6
  52. package/dist/src/components/dates/date-range/day-range-grid.vue.d.ts +6 -5
  53. package/dist/src/components/dates/date-range/month-range-grid.vue.d.ts +6 -5
  54. package/dist/src/components/dates/date-range/month-year-sidebar.vue.d.ts +4 -3
  55. package/dist/src/components/dates/date-range/quick-periods-settings.vue.d.ts +3 -2
  56. package/dist/src/components/dates/date-range/quick-periods.vue.d.ts +4 -3
  57. package/dist/src/components/dates/date-range/standard-periods.vue.d.ts +4 -3
  58. package/dist/src/components/dates/date-range.vue.d.ts +4 -3
  59. package/dist/src/components/dates/date-time-label.vue.d.ts +4 -3
  60. package/dist/src/components/debt/debt.vue.d.ts +3 -2
  61. package/dist/src/components/dialog/base-dialog.vue.d.ts +12 -8
  62. package/dist/src/components/dialog/dialog-header.vue.d.ts +8 -6
  63. package/dist/src/components/editors/comment-editor.vue.d.ts +4 -3
  64. package/dist/src/components/files/single-file-upload-selector.vue.d.ts +5 -4
  65. package/dist/src/components/icons/warning-icon.vue.d.ts +3 -2
  66. package/dist/src/components/images/image-gallery.vue.d.ts +5 -4
  67. package/dist/src/components/images/lightgallery.vue.d.ts +6 -7
  68. package/dist/src/components/inline/inline-editable-item.vue.d.ts +12 -8
  69. package/dist/src/components/inline/inline-view.vue.d.ts +8 -6
  70. package/dist/src/components/inputs/debounced-input-number.vue.d.ts +7 -2669
  71. package/dist/src/components/inputs/debounced-input.vue.d.ts +6 -5
  72. package/dist/src/components/inputs/phone-input.vue.d.ts +4 -3
  73. package/dist/src/components/kpi/kpi-grid.vue.d.ts +4 -3
  74. package/dist/src/components/links/external-link.vue.d.ts +3 -2
  75. package/dist/src/components/lists/compact-card-list.vue.d.ts +5 -4
  76. package/dist/src/components/lists/products-list.vue.d.ts +18 -12
  77. package/dist/src/components/orders/blocks/order-details.vue.d.ts +4 -3
  78. package/dist/src/components/orders/blocks/order-external-links.vue.d.ts +2 -1
  79. package/dist/src/components/orders/blocks/order-items-list.vue.d.ts +17 -8
  80. package/dist/src/components/orders/blocks/order-status-history.vue.d.ts +2 -1
  81. package/dist/src/components/orders/order-actions.vue.d.ts +3 -2
  82. package/dist/src/components/orders/order-highlight-settings.vue.d.ts +4 -3
  83. package/dist/src/components/orders/order-info.vue.d.ts +3 -2
  84. package/dist/src/components/orders/orders-list.vue.d.ts +14 -7
  85. package/dist/src/components/orders/short-text-order-info.vue.d.ts +3 -2
  86. package/dist/src/components/orders/simple/creator-user-type-tag.vue.d.ts +4 -3
  87. package/dist/src/components/orders/simple/order-color-swatch.vue.d.ts +4 -3
  88. package/dist/src/components/orders/simple/order-common-info.vue.d.ts +4 -3
  89. package/dist/src/components/orders/simple/order-delivery-label.vue.d.ts +4 -3
  90. package/dist/src/components/orders/simple/order-item-name.vue.d.ts +4 -3
  91. package/dist/src/components/orders/simple/order-item-params.vue.d.ts +4 -3
  92. package/dist/src/components/orders/simple/order-item-specification.vue.d.ts +4 -370
  93. package/dist/src/components/orders/simple/order-payment.vue.d.ts +4 -3
  94. package/dist/src/components/orders/simple/order-product-info.vue.d.ts +6 -5
  95. package/dist/src/components/orders/simple/order-status-tag.vue.d.ts +5 -4
  96. package/dist/src/components/page/page-with-sliding-panel.vue.d.ts +25 -17
  97. package/dist/src/components/page/page.vue.d.ts +14 -9
  98. package/dist/src/components/selects/curator-select.vue.d.ts +4 -1848
  99. package/dist/src/components/selects/manager-operator-select.vue.d.ts +9 -1854
  100. package/dist/src/components/selects/manager-select.vue.d.ts +8 -1852
  101. package/dist/src/components/selects/reference-select.vue.d.ts +16 -11
  102. package/dist/src/components/selects/searchable-product-select.vue.d.ts +15 -10
  103. package/dist/src/components/selects/searchable-reference-select.vue.d.ts +15 -10
  104. package/dist/src/components/sliding-content/sliding-content-with-drawer.vue.d.ts +11 -7
  105. package/dist/src/components/suggestions/address/address-suggestion-label.vue.d.ts +4 -3
  106. package/dist/src/components/suggestions/address/address-suggestion.vue.d.ts +5 -6
  107. package/dist/src/components/suggestions/bank/bank-suggestion-label.vue.d.ts +4 -3
  108. package/dist/src/components/suggestions/bank/bank-suggestion.vue.d.ts +5 -6
  109. package/dist/src/components/suggestions/org/org-suggestion-label.vue.d.ts +4 -3
  110. package/dist/src/components/suggestions/org/org-suggestion.vue.d.ts +5 -6
  111. package/dist/src/components/users/user-short-info.vue.d.ts +4 -3
  112. package/dist/src/public-api.d.ts +2 -1
  113. package/dist/src/values/reference-lists.d.ts +13 -13
  114. package/package.json +49 -56
  115. /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>;
@@ -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.0",
3
4
  "description": "Библиотека общих Vue3 компонентов, используемых во всех проектах Снабцентр.",
4
5
  "keywords": [],
5
6
  "author": "Sergey S. Smirnov <dev@snabcentr.com>",
6
7
  "type": "module",
7
- "version": "5.9.1",
8
8
  "license": "ISC",
9
9
  "scripts": {
10
10
  "dev": "vite",
11
- "build": "tsc -p tsconfig.build.json && vite build && rm dist/vite.* && cp readme.md dist/readme.md",
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",
11
+ "build": "vue-tsc -p tsconfig.build.json --noEmit && vite build && rm dist/vite.* && cp readme.md dist/readme.md",
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",
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
- "init_git_hooks": "husky",
24
- "uninstall_git_hooks": "husky uninstall"
21
+ "publish:lib": "npm publish"
25
22
  },
26
23
  "files": [
27
24
  "dist"
@@ -35,71 +32,67 @@
35
32
  "default": "./package.json"
36
33
  },
37
34
  ".": {
35
+ "types": "./dist/src/public-api.d.ts",
38
36
  "import": "./dist/sc-vue-ui-lib.js",
39
- "require": "./dist/sc-vue-ui-lib.umd.js"
37
+ "require": "./dist/sc-vue-ui-lib.umd.cjs"
40
38
  }
41
39
  },
42
- "lint-staged": {
43
- "*.(js|jsx|ts|tsx|vue)": [
44
- "npm run lint:files"
45
- ]
46
- },
47
40
  "peerDependencies": {
48
41
  "@iconify-json/fa6-brands": "^1.2.6",
49
- "@iconify-json/fluent": "^1.2.32",
50
- "@iconify-json/ion": "^1.2.6",
51
- "@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",
52
45
  "@iconify-json/mdi": "^1.2.3",
53
- "@iconify-json/tabler": "^1.2.23",
54
- "@snabcentr/common-lib": "^3.9.0",
46
+ "@iconify-json/tabler": "^1.2.42",
47
+ "@snabcentr/common-lib": "^4.0.0",
55
48
  "@tailwindcss/container-queries": "^0.1.1",
56
- "date-fns": "^3.6.0",
57
- "libphonenumber-js": "^1.12.23",
49
+ "date-fns": "^4.1.0",
50
+ "libphonenumber-js": "^1.13.15",
58
51
  "lightgallery": "^2.9.0",
59
- "lodash-es": "^4.17.21",
52
+ "lodash-es": "^4.18.1",
60
53
  "mitt": "^3.0.1",
61
- "naive-ui": "^2.43.1",
62
- "pinia": "^3.0.3",
63
- "postcss": "^8.5.6",
64
- "sass": "^1.93.2",
65
- "tailwindcss": "^3.4.18",
66
- "ts-case-convert": "^2.1.0",
67
- "vue": "^3.5.22",
68
- "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"
62
+ },
63
+ "dependencies": {
64
+ "two.js": "^0.8.24"
69
65
  },
70
66
  "devDependencies": {
71
- "@iconify/vue": "^5.0.1",
72
- "@snabcentr/eslint-config": "^4.1.0",
67
+ "@iconify/vue": "^5.0.3",
68
+ "@snabcentr/eslint-config": "^4.3.0",
73
69
  "@types/node": "^22.20.1",
74
- "@types/vue-tel-input": "^2.1.1",
75
- "@vitejs/plugin-vue": "^5.2.4",
76
- "@vitest/coverage-v8": "^3.2.7",
77
- "@vue/test-utils": "^2.4.11",
78
- "autoprefixer": "^10.5.4",
79
- "baseline-browser-mapping": "^2.11.7",
80
- "eslint-plugin-vue": "^9.32.0",
81
- "happy-dom": "^17.6.3",
82
- "husky": "^9.1.7",
83
- "lint-staged": "^16.4.0",
84
- "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",
85
79
  "tailwindcss": "^3.4.19",
86
- "two.js": "^0.8.23",
87
80
  "typescript": "~5.9.3",
88
81
  "unplugin-icons": "^23.0.1",
89
- "unplugin-vue-components": "^31.1.0",
90
- "vite": "^6.4.3",
91
- "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",
92
85
  "vite-plugin-manifest-sri": "^0.2.0",
93
- "vite-plugin-static-copy": "^2.3.2",
86
+ "vite-plugin-static-copy": "^4.1.1",
94
87
  "vite-plugin-vue-devtools": "^8.2.1",
95
- "vitest": "^3.2.7",
88
+ "vitest": "^5.0.4",
96
89
  "vue-json-pretty": "^2.6.0",
97
- "vue-router": "^4.6.4",
98
- "vue-tsc": "^3.3.8"
90
+ "vue-router": "^5.4.0",
91
+ "vue-tsc": "^3.3.13"
99
92
  },
100
93
  "optionalDependencies": {
101
- "@esbuild/linux-x64": "0.25.10",
102
- "@rollup/rollup-darwin-arm64": "4.53.2",
103
- "@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"
104
97
  }
105
98
  }