@snabcentr/vue-ui-lib 3.3.0 → 3.3.2

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.
@@ -4,7 +4,7 @@
4
4
  "name": "index",
5
5
  "src": "src/index.ts",
6
6
  "isEntry": true,
7
- "integrity": "sha384-k3927xGDplkj0OxXoNxCWodfDKB+hkOh2cJwW4xzcKXGLHioRA/a/pfMMD7mNKe2"
7
+ "integrity": "sha384-7ldC+RtsOFFxbQEcPZisxEiKW52haNHXttpszia/x0UKZwRJ3bOKSmGXBpVGLXhI"
8
8
  },
9
9
  "style.css": {
10
10
  "file": "sc-vue-ui-lib.css",
@@ -1,6 +1 @@
1
- ## 3.3.0 (2025-10-23)
2
-
3
- ### changed (1 change)
4
-
5
- - [#12190: Изменён интерфейс конфигурации: minSearchTermLength заменён на minLength.searchTerm](web_soft/libs/vue/snabcentr-ui-lib@315a4d92ba03da67b81574eb93564d62c5878a72) ([merge request](web_soft/libs/vue/snabcentr-ui-lib!117))
6
-
1
+ null
@@ -2134,6 +2134,7 @@ const $d = He({ name: "ion-plus", render: mp }), pp = {
2134
2134
  D(K(Fi), {
2135
2135
  value: s.value.linesWidths[j],
2136
2136
  "onUpdate:value": [(G) => s.value.linesWidths[j] = G, u],
2137
+ "show-button": !1,
2137
2138
  min: s.value.linesWidths.length > 1 ? t.settings.minLineWidth : t.settings.stripMinWidth,
2138
2139
  max: t.settings.maxLineWidth,
2139
2140
  step: t.settings.lineWidthStep,
@@ -2154,6 +2155,7 @@ const $d = He({ name: "ion-plus", render: mp }), pp = {
2154
2155
  D(K(Fi), {
2155
2156
  value: s.value.linesAngles[j],
2156
2157
  "onUpdate:value": [(G) => s.value.linesAngles[j] = G, u],
2158
+ "show-button": !1,
2157
2159
  min: t.settings.minLineAngle,
2158
2160
  max: t.settings.maxLineAngle,
2159
2161
  step: t.settings.lineAngleStep,
@@ -2276,6 +2278,7 @@ const $d = He({ name: "ion-plus", render: mp }), pp = {
2276
2278
  u
2277
2279
  ],
2278
2280
  required: !0,
2281
+ "show-button": !1,
2279
2282
  max: t.settings.stripMaxLength || void 0,
2280
2283
  min: t.settings.stripMinLength,
2281
2284
  step: t.settings.lengthStep,
@@ -2298,6 +2301,7 @@ const $d = He({ name: "ion-plus", render: mp }), pp = {
2298
2301
  value: t.value.quantity,
2299
2302
  "onUpdate:value": f[5] || (f[5] = (q) => t.value.quantity = q),
2300
2303
  min: 1,
2304
+ "show-button": !1,
2301
2305
  validator: (q) => Number.isInteger(q),
2302
2306
  placeholder: "Введите количество",
2303
2307
  class: "w-full"
@@ -18830,6 +18834,7 @@ const Fo = He({ name: "ion-close", render: b0 }), _0 = { class: "mr-3 flex flex-
18830
18834
  l
18831
18835
  ],
18832
18836
  clearable: t.clearable,
18837
+ "show-button": !1,
18833
18838
  placeholder: t.placeholder,
18834
18839
  min: t.min,
18835
18840
  max: t.max,
@@ -19025,6 +19030,7 @@ const Fo = He({ name: "ion-close", render: b0 }), _0 = { class: "mr-3 flex flex-
19025
19030
  value: t.value.quantity,
19026
19031
  "onUpdate:value": p[7] || (p[7] = (y) => t.value.quantity = y),
19027
19032
  min: 1,
19033
+ "show-button": !1,
19028
19034
  validator: (y) => Number.isInteger(y),
19029
19035
  placeholder: "Введите количество",
19030
19036
  class: "w-full"
@@ -19552,6 +19558,7 @@ const Fo = He({ name: "ion-close", render: b0 }), _0 = { class: "mr-3 flex flex-
19552
19558
  default: M(() => [
19553
19559
  D(K(Fi), {
19554
19560
  value: i.value[0].length,
19561
+ "show-button": !1,
19555
19562
  max: t.settings.maxLength || void 0,
19556
19563
  min: t.settings.minLength,
19557
19564
  step: t.settings.lengthStep,
@@ -19573,6 +19580,7 @@ const Fo = He({ name: "ion-close", render: b0 }), _0 = { class: "mr-3 flex flex-
19573
19580
  default: M(() => [
19574
19581
  D(K(Fi), {
19575
19582
  value: i.value[0].quantity,
19583
+ "show-button": !1,
19576
19584
  min: 1,
19577
19585
  validator: (m) => Number.isInteger(m),
19578
19586
  placeholder: "Введите количество",
@@ -19818,6 +19826,7 @@ const Fo = He({ name: "ion-close", render: b0 }), _0 = { class: "mr-3 flex flex-
19818
19826
  D(K(Fi), {
19819
19827
  value: t.value.quantity,
19820
19828
  placeholder: "Введите количество",
19829
+ "show-button": !1,
19821
19830
  min: 1,
19822
19831
  validator: (d) => d > 0,
19823
19832
  class: "w-full",
@@ -21242,7 +21251,8 @@ const zy = {
21242
21251
  processing: { type: Boolean, default: !1 },
21243
21252
  valid: { type: Boolean, default: !0 },
21244
21253
  acceptButton: { default: () => ({ show: !0, text: "ОК" }) },
21245
- cancelButton: { default: () => ({ show: !0, text: "Отмена" }) }
21254
+ cancelButton: { default: () => ({ show: !0, text: "Отмена" }) },
21255
+ trapFocus: { type: Boolean, default: !0 }
21246
21256
  },
21247
21257
  emits: ["update:show", "opening", "closing", "accept", "processing:cancel"],
21248
21258
  setup(t, { expose: e, emit: i }) {
@@ -21296,6 +21306,7 @@ const zy = {
21296
21306
  size: K(a),
21297
21307
  style: mr(`width: ${c.value}px`),
21298
21308
  title: t.title,
21309
+ "trap-focus": t.trapFocus ?? !0,
21299
21310
  "action-class": f.$slots["extra-action"] ? "grid grid-cols-2 !justify-between" : void 0,
21300
21311
  preset: "dialog",
21301
21312
  onClose: h[1] || (h[1] = (v) => d("header")),
@@ -21349,7 +21360,7 @@ const zy = {
21349
21360
  ]),
21350
21361
  key: "1"
21351
21362
  } : void 0
21352
- ]), 1032, ["loading", "show", "size", "style", "title", "action-class"]);
21363
+ ]), 1032, ["loading", "show", "size", "style", "title", "trap-focus", "action-class"]);
21353
21364
  };
21354
21365
  }
21355
21366
  }), hb = { class: "text-sm" }, fb = { class: "text-sm" }, gb = {}, r5 = /* @__PURE__ */ ne({
@@ -21427,6 +21438,7 @@ const zy = {
21427
21438
  D(K(Fi), {
21428
21439
  value: r.value.length,
21429
21440
  "onUpdate:value": m[0] || (m[0] = (y) => r.value.length = y),
21441
+ "show-button": !1,
21430
21442
  max: ((p = n.value.properties) == null ? void 0 : p.maxLength) || void 0,
21431
21443
  min: ((v = n.value.properties) == null ? void 0 : v.minLength) || K(Zt).getProductLengthMultiplicity(n.value),
21432
21444
  step: K(Zt).getProductMultiplicity(n.value),
@@ -21460,6 +21472,7 @@ const zy = {
21460
21472
  D(K(Fi), {
21461
21473
  value: r.value.quantity,
21462
21474
  "onUpdate:value": m[1] || (m[1] = (p) => r.value.quantity = p),
21475
+ "show-button": !1,
21463
21476
  min: K(Zt).getProductMultiplicity(n.value),
21464
21477
  step: K(Zt).getProductMultiplicity(n.value),
21465
21478
  validator: (p) => p % K(Zt).getProductMultiplicity(n.value) === 0,