kui-vue 6.2.1 → 6.2.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.
- package/ai/kui-components.json +1 -1
- package/dist/index.js +2 -2
- package/es/index.js +8 -7
- package/es/locale/de.js +1 -1
- package/es/locale/el.js +1 -1
- package/es/locale/en.js +1 -1
- package/es/locale/fr.js +1 -1
- package/es/locale/it.js +1 -1
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.js +1 -1
- package/es/locale/th.js +1 -1
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.js +1 -1
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +1 -1
- package/lib/locale/el.cjs +1 -1
- package/lib/locale/en.cjs +1 -1
- package/lib/locale/fr.cjs +1 -1
- package/lib/locale/it.cjs +1 -1
- package/lib/locale/ja.cjs +1 -1
- package/lib/locale/ko.cjs +1 -1
- package/lib/locale/ru.cjs +1 -1
- package/lib/locale/th.cjs +1 -1
- package/lib/locale/uk.cjs +1 -1
- package/lib/locale/vi.cjs +1 -1
- package/lib/locale/zh-CN.cjs +1 -1
- package/lib/locale/zh-TW.cjs +1 -1
- package/package.json +1 -1
- package/style/base.css +1 -1
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/motion.css +1 -1
- package/style/theme.css +1 -1
- package/vetur/web-types.json +1 -1
package/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* kui-vue v6.2.
|
|
2
|
+
* kui-vue v6.2.2
|
|
3
3
|
* Copyright 2017-present, kui-vue.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://k-ui.cn
|
|
@@ -9616,13 +9616,14 @@ var FormSelect = markFormFieldComponent(/* @__PURE__ */ defineComponent({
|
|
|
9616
9616
|
clearTimeout(queryInputEventTimer.value);
|
|
9617
9617
|
clearTimeout(clearQueryTimer.value);
|
|
9618
9618
|
});
|
|
9619
|
+
const selectedLabels = computed((previous) => {
|
|
9620
|
+
const source = props.loading && props.options ? props.options : optionsData.value;
|
|
9621
|
+
const lookup = new Map(source.map((item) => [item.value, item.label]));
|
|
9622
|
+
return new Map(currentValue.value.map((val) => [val, lookup.get(val) ?? previous?.get(val) ?? val]));
|
|
9623
|
+
});
|
|
9619
9624
|
const labelText = computed(() => {
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
optionsData.value.forEach((item) => {
|
|
9623
|
-
lookup.set(item.value, item.label);
|
|
9624
|
-
});
|
|
9625
|
-
return currentValue.value.map((val) => lookup.get(val) ?? val);
|
|
9625
|
+
const labels = selectedLabels.value;
|
|
9626
|
+
return currentValue.value.map((val) => labels.get(val));
|
|
9626
9627
|
});
|
|
9627
9628
|
const popup = ref();
|
|
9628
9629
|
const updatePosition = () => popup.value?.updatePosition();
|
package/es/locale/de.js
CHANGED
package/es/locale/el.js
CHANGED
package/es/locale/en.js
CHANGED
package/es/locale/fr.js
CHANGED
package/es/locale/it.js
CHANGED
package/es/locale/ja.js
CHANGED
package/es/locale/ko.js
CHANGED
package/es/locale/ru.js
CHANGED
package/es/locale/th.js
CHANGED
package/es/locale/uk.js
CHANGED
package/es/locale/vi.js
CHANGED
package/es/locale/zh-CN.js
CHANGED
package/es/locale/zh-TW.js
CHANGED