@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
@@ -1,9 +1,11 @@
1
- import { Size, Type } from 'naive-ui/lib/button/src/interface';
1
+ import { ButtonProps } from 'naive-ui';
2
2
  import { IDisabled } from '../../properties/interfaces/i-disabled';
3
3
  /**
4
4
  * Компонент кнопки с отображением диалога подтверждения действия.
5
5
  */
6
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<IDisabled & {
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<IDisabled & {
7
9
  /**
8
10
  * Текст заголовка диалогового окна.
9
11
  */
@@ -23,11 +25,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ID
23
25
  /**
24
26
  * Тип кнопки.
25
27
  */
26
- type?: Type;
28
+ type?: ButtonProps["type"];
27
29
  /**
28
30
  * Размер кнопки.
29
31
  */
30
- size?: Size;
32
+ size?: ButtonProps["size"];
31
33
  /**
32
34
  * Признак, что кнопка имеет тип "quaternary".
33
35
  */
@@ -66,11 +68,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ID
66
68
  /**
67
69
  * Тип кнопки.
68
70
  */
69
- type?: Type;
71
+ type?: ButtonProps["type"];
70
72
  /**
71
73
  * Размер кнопки.
72
74
  */
73
- size?: Size;
75
+ size?: ButtonProps["size"];
74
76
  /**
75
77
  * Признак, что кнопка имеет тип "quaternary".
76
78
  */
@@ -91,9 +93,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ID
91
93
  onAccept?: ((closeModalCallback: () => void) => any) | undefined;
92
94
  }>, {
93
95
  circle: boolean;
94
- size: Size;
96
+ size: import('naive-ui').ButtonSize;
95
97
  disabled: boolean;
96
- type: Type;
98
+ type: import('naive-ui').ButtonType;
97
99
  dialogTitle: string;
98
100
  dialogContent: string;
99
101
  disableConfirm: boolean;
@@ -101,11 +103,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ID
101
103
  quaternary: boolean;
102
104
  ghost: boolean;
103
105
  loading: boolean;
104
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
105
- default?(_: {}): any;
106
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
107
+ default?: (props: {}) => any;
106
108
  }>;
107
- export default _default;
108
- type __VLS_WithTemplateSlots<T, S> = T & {
109
+ type __VLS_WithSlots<T, S> = T & {
109
110
  new (): {
110
111
  $slots: S;
111
112
  };
@@ -2,10 +2,10 @@ import { IChipGroupItem } from './interfaces/i-chip-group-item';
2
2
  /**
3
3
  * Горизонтальная группа круглых кнопок с прокруткой на узком экране.
4
4
  */
5
- declare const _default: <TKey extends string>(__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<{
6
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
7
- readonly "onUpdate:modelValue"?: ((value: TKey) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:modelValue"> & {
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ declare const __VLS_export: <TKey extends string>(__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<{
8
+ props: import('vue').PublicProps & __VLS_PrettifyLocal<{
9
9
  /**
10
10
  * Пункты группы.
11
11
  */
@@ -14,15 +14,20 @@ declare const _default: <TKey extends string>(__VLS_props: NonNullable<Awaited<t
14
14
  * Ключ выбранного пункта.
15
15
  */
16
16
  modelValue: TKey;
17
- } & Partial<{}>> & import('vue').PublicProps;
18
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
17
+ } & {
18
+ "onUpdate:modelValue"?: ((value: TKey) => any) | undefined;
19
+ }> & (typeof globalThis extends {
20
+ __VLS_PROPS_FALLBACK: infer P;
21
+ } ? P : {});
22
+ expose: (exposed: {}) => void;
19
23
  attrs: any;
20
24
  slots: {};
21
25
  emit: (e: "update:modelValue", value: TKey) => void;
22
26
  }>) => import('vue').VNode & {
23
- __ctx?: Awaited<typeof __VLS_setup>;
27
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
24
28
  };
25
- export default _default;
26
- type __VLS_PrettifyLocal<T> = {
29
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
27
30
  [K in keyof T]: T[K];
28
- } & {};
31
+ } : {
32
+ [K in keyof T as K]: T[K];
33
+ }) & {};
@@ -3,7 +3,9 @@ import { ICategoryCollapseItemProperties } from '../../catalog/interfaces/proper
3
3
  /**
4
4
  * Компонент элемента сворачиваемого списка категорий.
5
5
  */
6
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ICategoryCollapseItemProperties, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ICategoryCollapseItemProperties> & Readonly<{}>, {
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<ICategoryCollapseItemProperties, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ICategoryCollapseItemProperties> & Readonly<{}>, {
7
9
  showSlugs: boolean;
8
10
  showProperties: boolean;
9
11
  showProductCosts: boolean | ((product: ProductData) => boolean);
@@ -24,114 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<IC
24
26
  categoryContextButtonsConfig: (category: CategoryData) => Array<import('naive-ui').DropdownOption | import('naive-ui').DropdownGroupOption | import('naive-ui').DropdownDividerOption | import('naive-ui').DropdownRenderOption>;
25
27
  showConfigurator: boolean | ((category: CategoryData) => boolean);
26
28
  canShowConfigurator: boolean | (() => boolean);
27
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
28
- 'collapse-item-reference': ({
29
- $: import('vue').ComponentInternalInstance;
30
- $data: {};
31
- $props: {
32
- readonly name: string | number;
33
- readonly title?: string | undefined;
34
- readonly disabled?: boolean | undefined;
35
- readonly "onHeader:click"?: ((name: string | number, expanded: boolean) => any) | undefined;
36
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
37
- $attrs: {
38
- [x: string]: unknown;
39
- };
40
- $refs: {
41
- [x: string]: unknown;
42
- };
43
- $slots: Readonly<{
44
- [name: string]: import('vue').Slot<any> | undefined;
45
- }>;
46
- $root: import('vue').ComponentPublicInstance | null;
47
- $parent: import('vue').ComponentPublicInstance | null;
48
- $host: Element | null;
49
- $emit: (event: "header:click", name: string | number, expanded: boolean) => void;
50
- $el: HTMLDivElement;
51
- $options: import('vue').ComponentOptionsBase<Readonly<{
52
- name: string | number;
53
- title?: string;
54
- disabled?: boolean;
55
- }> & Readonly<{
56
- "onHeader:click"?: ((name: string | number, expanded: boolean) => any) | undefined;
57
- }>, {
58
- expand: () => void;
59
- toggle: () => void;
60
- collapse: () => void;
61
- expanded: Readonly<import('vue').Ref<boolean, boolean>>;
62
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
63
- "header:click": (name: string | number, expanded: boolean) => any;
64
- }, string, {
65
- title: string;
66
- name: string | number;
67
- disabled: boolean;
68
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
69
- beforeCreate?: (() => void) | (() => void)[];
70
- created?: (() => void) | (() => void)[];
71
- beforeMount?: (() => void) | (() => void)[];
72
- mounted?: (() => void) | (() => void)[];
73
- beforeUpdate?: (() => void) | (() => void)[];
74
- updated?: (() => void) | (() => void)[];
75
- activated?: (() => void) | (() => void)[];
76
- deactivated?: (() => void) | (() => void)[];
77
- beforeDestroy?: (() => void) | (() => void)[];
78
- beforeUnmount?: (() => void) | (() => void)[];
79
- destroyed?: (() => void) | (() => void)[];
80
- unmounted?: (() => void) | (() => void)[];
81
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
82
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
83
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
84
- };
85
- $forceUpdate: () => void;
86
- $nextTick: typeof import('vue').nextTick;
87
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
88
- } & Readonly<{
89
- title: string;
90
- name: string | number;
91
- disabled: boolean;
92
- }> & Omit<Readonly<{
93
- name: string | number;
94
- title?: string;
95
- disabled?: boolean;
96
- }> & Readonly<{
97
- "onHeader:click"?: ((name: string | number, expanded: boolean) => any) | undefined;
98
- }>, "toggle" | "expand" | "collapse" | "expanded" | ("title" | "name" | "disabled")> & import('vue').ShallowUnwrapRef<{
99
- expand: () => void;
100
- toggle: () => void;
101
- collapse: () => void;
102
- expanded: Readonly<import('vue').Ref<boolean, boolean>>;
103
- }> & {} & import('vue').ComponentCustomProperties & {} & {
104
- $slots: Readonly<{
105
- arrow: () => import('vue').VNode[];
106
- 'pre-arrow': () => import('vue').VNode[];
107
- header: () => import('vue').VNode[];
108
- 'sub-header': () => import('vue').VNode[];
109
- 'header-extra': () => import('vue').VNode[];
110
- default: () => import('vue').VNode[];
111
- }> & {
112
- arrow: () => import('vue').VNode[];
113
- 'pre-arrow': () => import('vue').VNode[];
114
- header: () => import('vue').VNode[];
115
- 'sub-header': () => import('vue').VNode[];
116
- 'header-extra': () => import('vue').VNode[];
117
- default: () => import('vue').VNode[];
118
- };
119
- }) | null;
120
- }, HTMLDivElement>, Readonly<{
121
- /**
122
- * Содержимое категории.
123
- */
124
- default: () => void;
125
- /**
126
- * Дополнительное содержимое заголовка элемента категории.
127
- *
128
- * @param props Параметры слота.
129
- * @param props.categoryItem Данные категории, для которой рендерится блок.
130
- */
131
- 'header-extra': (props: {
132
- categoryItem: CategoryData;
133
- }) => void;
134
- }> & {
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
135
30
  /**
136
31
  * Содержимое категории.
137
32
  */
@@ -146,8 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<IC
146
41
  categoryItem: CategoryData;
147
42
  }) => void;
148
43
  }>;
149
- export default _default;
150
- type __VLS_WithTemplateSlots<T, S> = T & {
44
+ type __VLS_WithSlots<T, S> = T & {
151
45
  new (): {
152
46
  $slots: S;
153
47
  };
@@ -3,7 +3,9 @@ import { CategoryData, SearchResult } from '@snabcentr/common-lib';
3
3
  /**
4
4
  * Компонент списка сворачиваемых элементов каталога.
5
5
  */
6
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<ICategoryCollapseProperties, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ICategoryCollapseProperties> & Readonly<{}>, {
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<ICategoryCollapseProperties, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ICategoryCollapseProperties> & Readonly<{}>, {
7
9
  loading: boolean;
8
10
  showSlugs: boolean;
9
11
  showProperties: boolean;
@@ -22,17 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<IC
22
24
  showCategoryEditButton: import('../..').ButtonStates | import('../..').ButtonStateFunction<CategoryData>;
23
25
  categoryContextButtonsConfig: (category: CategoryData) => Array<import('naive-ui').DropdownOption | import('naive-ui').DropdownGroupOption | import('naive-ui').DropdownDividerOption | import('naive-ui').DropdownRenderOption>;
24
26
  client: import('@snabcentr/common-lib').IClient;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, Readonly<{
26
- /**
27
- * Дополнительное содержимое заголовка элемента категории.
28
- *
29
- * @param props Параметры слота.
30
- * @param props.categoryItem Данные категории, для которой рендерится блок.
31
- */
32
- 'header-extra': (props: {
33
- categoryItem: CategoryData;
34
- }) => void;
35
- }> & {
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
36
28
  /**
37
29
  * Дополнительное содержимое заголовка элемента категории.
38
30
  *
@@ -43,8 +35,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<IC
43
35
  categoryItem: CategoryData;
44
36
  }) => void;
45
37
  }>;
46
- export default _default;
47
- type __VLS_WithTemplateSlots<T, S> = T & {
38
+ type __VLS_WithSlots<T, S> = T & {
48
39
  new (): {
49
40
  $slots: S;
50
41
  };