@snabcentr/vue-ui-lib 3.4.4 → 3.4.5

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.
@@ -1,4 +1,5 @@
1
1
  export * from './i-category-emits';
2
+ export * from './i-configurator-emits';
2
3
  export * from './i-cost-emits';
3
4
  export * from './i-product-emits';
4
5
  export * from './i-catalog-emits';
@@ -38,4 +38,8 @@ export interface ICatalogProperties extends ICatalogableItemProperties {
38
38
  * Признак необходимости отображать конфигуратор вместо таблицы продуктов.
39
39
  */
40
40
  showConfigurator?: boolean | ((category: CategoryData) => boolean);
41
+ /**
42
+ * Признак возможности отображать конфигуратор.
43
+ */
44
+ canShowConfigurator?: boolean | (() => boolean);
41
45
  }
@@ -22,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<IC
22
22
  showCategoryEditButton: import('../..').ButtonState | import('../..').ButtonStateFunction<import('@snabcentr/common-lib').CategoryData>;
23
23
  categoryContextButtonsConfig: (category: import('@snabcentr/common-lib').CategoryData) => Array<import('naive-ui').DropdownOption | import('naive-ui').DropdownGroupOption | import('naive-ui').DropdownDividerOption | import('naive-ui').DropdownRenderOption>;
24
24
  showConfigurator: boolean | ((category: import('@snabcentr/common-lib').CategoryData) => boolean);
25
+ canShowConfigurator: boolean | (() => boolean);
25
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
26
27
  'collapse-item-reference': ({
27
28
  $: import('vue').ComponentInternalInstance;
@@ -1,3 +1,5 @@
1
+ export * from './classes/configurator-settings-mosquito';
2
+ export * from './interfaces/i-configurator-settings-mosquito';
1
3
  export { default as ScMosquitoConfiguratorForm } from './mosquito-configurator-form.vue';
2
4
  export { default as ScMosquitoConfiguratorMeasurementInstructions } from './mosquito-configurator-measurement-instructions.vue';
3
5
  export { default as ScMosquitoConfiguratorPreview } from './mosquito-configurator-preview.vue';
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [],
5
5
  "author": "Sergey S. Smirnov <dev@snabcentr.com>",
6
6
  "type": "module",
7
- "version": "3.4.4",
7
+ "version": "3.4.5",
8
8
  "license": "ISC",
9
9
  "scripts": {
10
10
  "dev": "vite",
@@ -45,7 +45,7 @@
45
45
  "@iconify-json/logos": "^1.2.9",
46
46
  "@iconify-json/mdi": "^1.2.3",
47
47
  "@iconify-json/tabler": "^1.2.23",
48
- "@snabcentr/common-lib": "^1.74.0 || ^2.2.1",
48
+ "@snabcentr/common-lib": "^1.74.4 || ^2.2.1",
49
49
  "@tailwindcss/container-queries": "^0.1.1",
50
50
  "date-fns": "^3.6.0",
51
51
  "libphonenumber-js": "^1.12.23",