@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
@@ -2,7 +2,9 @@ import { ProductData } from '@snabcentr/common-lib';
2
2
  /**
3
3
  * Компонент ячейки таблицы с данными об остатках продукта.
4
4
  */
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
6
8
  /**
7
9
  * Данные о продукте.
8
10
  */
@@ -13,10 +15,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
13
15
  */
14
16
  product: ProductData;
15
17
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
16
- default?(_: {}): any;
18
+ default?: (props: {}) => any;
17
19
  }>;
18
- export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
+ type __VLS_WithSlots<T, S> = T & {
20
21
  new (): {
21
22
  $slots: S;
22
23
  };
@@ -1,5 +1,5 @@
1
- import { ICatalogableItemProperties } from '../../catalog/interfaces/properties/i-catalogable-item-properties';
2
1
  import { ProductData } from '@snabcentr/common-lib';
2
+ import { ICatalogableItemProperties } from '../../catalog/interfaces/properties/i-catalogable-item-properties';
3
3
  import { DataTableColumn } from 'naive-ui';
4
4
  /**
5
5
  * Генерирует и возвращает список объявлений столбцов таблицы.
@@ -3,7 +3,9 @@ import { IClientShortInfoProperty } from '../../properties/interfaces/i-client-s
3
3
  /**
4
4
  * Компонент представления названия клиента и общих данных о нём в подсказке.
5
5
  */
6
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<IClientShortInfoProperty & {
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<IClientShortInfoProperty & {
7
9
  /**
8
10
  * URL ссылки, при клике по названию.
9
11
  */
@@ -65,11 +67,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<IC
65
67
  showCityAndRegion: boolean;
66
68
  showSalesDirection: boolean;
67
69
  showClientInfoIcon: boolean;
68
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
69
- 'popover-content'?(_: {}): any;
70
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
71
+ 'popover-content'?: (props: {}) => any;
70
72
  }>;
71
- export default _default;
72
- type __VLS_WithTemplateSlots<T, S> = T & {
73
+ type __VLS_WithSlots<T, S> = T & {
73
74
  new (): {
74
75
  $slots: S;
75
76
  };
@@ -2,9 +2,10 @@ import { IContragentPerson, IContragentIc, IContragentUlR, IContragentUlNr } fro
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
  contragent: IContragentPerson | IContragentIc | IContragentUlR | IContragentUlNr;
7
9
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
8
10
  contragent: IContragentPerson | IContragentIc | IContragentUlR | IContragentUlNr;
9
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
10
- export default _default;
11
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -2,7 +2,9 @@ import { VNode } from 'vue';
2
2
  /**
3
3
  * Компонент элемента списка сворачиваемых элементов.
4
4
  */
5
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
6
8
  /**
7
9
  * Название компонента используемое при генерации событий.
8
10
  */
@@ -53,32 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
53
55
  title: string;
54
56
  name: string | number;
55
57
  disabled: boolean;
56
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, Readonly<{
57
- /**
58
- * Значок скрытия и отображения содержимого.
59
- */
60
- arrow: () => VNode[];
61
- /**
62
- * Зона значков слева от заголовка.
63
- */
64
- 'pre-arrow': () => VNode[];
65
- /**
66
- * Основной заголовок элемента.
67
- */
68
- header: () => VNode[];
69
- /**
70
- * Вспомогательный заголовок под основным.
71
- */
72
- 'sub-header': () => VNode[];
73
- /**
74
- * Дополнительное содержимое заголовка справа.
75
- */
76
- 'header-extra': () => VNode[];
77
- /**
78
- * Содержимое элемента, отображаемое в развёрнутом состоянии.
79
- */
80
- default: () => VNode[];
81
- }> & {
58
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
82
59
  /**
83
60
  * Значок скрытия и отображения содержимого.
84
61
  */
@@ -104,8 +81,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
104
81
  */
105
82
  default: () => VNode[];
106
83
  }>;
107
- export default _default;
108
- type __VLS_WithTemplateSlots<T, S> = T & {
84
+ type __VLS_WithSlots<T, S> = T & {
109
85
  new (): {
110
86
  $slots: S;
111
87
  };
@@ -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
  */
@@ -24,13 +26,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
24
26
  }> & Readonly<{
25
27
  "onOn-item-header-click"?: ((name: string | number, expanded: boolean) => any) | undefined;
26
28
  }>, {
27
- defaultExpandedNames: Array<string | number>;
28
- expandedNames: Array<string | number>;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
30
- default?(_: {}): any;
29
+ defaultExpandedNames: (string | number)[];
30
+ expandedNames: (string | number)[];
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
32
+ default?: (props: {}) => any;
31
33
  }>;
32
- export default _default;
33
- type __VLS_WithTemplateSlots<T, S> = T & {
34
+ type __VLS_WithSlots<T, S> = T & {
34
35
  new (): {
35
36
  $slots: S;
36
37
  };
@@ -2,7 +2,9 @@ import { IFieldValidationResultData, IProduct } 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
  */
@@ -33,4 +35,3 @@ declare const _default: import('vue').DefineComponent<{
33
35
  isProductSearching: boolean;
34
36
  validation: IFieldValidationResultData;
35
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
36
- export default _default;
@@ -5,7 +5,9 @@ import { IConfiguratorParamsStrip } from './strip/interfaces/i-configurator-para
5
5
  /**
6
6
  * Динамический компонент для отображения конфигураторов на основе данных категории.
7
7
  */
8
- declare const _default: import('vue').DefineComponent<{
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ declare const __VLS_export: import('vue').DefineComponent<{
9
11
  /**
10
12
  * Механизм, обеспечивающий генерацию событий каталога.
11
13
  */
@@ -56,4 +58,3 @@ declare const _default: import('vue').DefineComponent<{
56
58
  */
57
59
  category?: CategoryData;
58
60
  }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
59
- export default _default;
@@ -1,5 +1,5 @@
1
- import { IKozyrekTemplate } from '../interfaces/i-kozyrek-template';
2
1
  import { Identity } from '@snabcentr/common-lib';
2
+ import { IKozyrekTemplate } from '../interfaces/i-kozyrek-template';
3
3
  import { KozyrekLine } from './kozyrek-line';
4
4
  /**
5
5
  * Данные о шаблоне гиба.