@snabcentr/vue-ui-lib 2.12.0 → 2.13.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.
- package/dist/manifest.json +1 -1
- package/dist/release_notes.tmp +3 -3
- package/dist/sc-vue-ui-lib.js +10 -10
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/components/suggestions/address/address-suggestion.vue.d.ts +18 -3
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"name": "index",
|
5
5
|
"src": "src/index.ts",
|
6
6
|
"isEntry": true,
|
7
|
-
"integrity": "sha384-
|
7
|
+
"integrity": "sha384-IXTvMhkPuJ6HaxD1GZdIPSSqN//7zvXsnwm9XB+rjJJpbx/xVfzLuI7pz10Q3s48"
|
8
8
|
},
|
9
9
|
"style.css": {
|
10
10
|
"file": "sc-vue-ui-lib.css",
|
package/dist/release_notes.tmp
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
## 2.
|
1
|
+
## 2.13.0 (2025-05-13)
|
2
2
|
|
3
|
-
###
|
3
|
+
### changed (1 change)
|
4
4
|
|
5
|
-
- [#
|
5
|
+
- [#11478: Доработан компонент address-suggestion.vue](web_soft/libs/vue/snabcentr-ui-lib@877f1518f3365370c455282f49c829cca01e0c7e) ([merge request](web_soft/libs/vue/snabcentr-ui-lib!64))
|
6
6
|
|
package/dist/sc-vue-ui-lib.js
CHANGED
@@ -29336,8 +29336,13 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
|
|
29336
29336
|
disabled: { type: Boolean },
|
29337
29337
|
value: {},
|
29338
29338
|
clearable: { type: Boolean },
|
29339
|
-
field: {}
|
29340
|
-
|
29339
|
+
field: {},
|
29340
|
+
searchDataHandler: {}
|
29341
|
+
}, {
|
29342
|
+
...vl,
|
29343
|
+
// eslint-disable-next-line unicorn/consistent-function-scoping
|
29344
|
+
searchDataHandler: () => (e) => pt.getInstance(nl).searchAddresses(e)
|
29345
|
+
}),
|
29341
29346
|
emits: ["select", "update:value"],
|
29342
29347
|
setup(e, { expose: t, emit: i }) {
|
29343
29348
|
const n = e, s = i, r = H(n.value), o = H(!1), a = H([]), l = N(
|
@@ -29361,14 +29366,9 @@ const nx = Ye({ name: "tabler-truck-loading", render: ix }), sx = { class: "flex
|
|
29361
29366
|
() => u(),
|
29362
29367
|
800
|
29363
29368
|
), u = async () => {
|
29364
|
-
|
29365
|
-
o.value = !
|
29366
|
-
|
29367
|
-
a.value = await pt.getInstance(nl).searchAddresses(r.value);
|
29368
|
-
} finally {
|
29369
|
-
o.value = !1;
|
29370
|
-
}
|
29371
|
-
}
|
29369
|
+
!r.value || r.value.length < 4 || (o.value = !0, a.value = await n.searchDataHandler(r.value, o).finally(() => {
|
29370
|
+
o.value = !1;
|
29371
|
+
}));
|
29372
29372
|
}, h = (g, m) => {
|
29373
29373
|
const v = a.value.find((_) => _.id === g.value) || {};
|
29374
29374
|
return M(
|