@milaboratories/uikit 2.2.62 → 2.2.63
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/CHANGELOG.md +6 -0
- package/dist/pl-uikit.js +1321 -1321
- package/dist/pl-uikit.js.map +1 -1
- package/dist/pl-uikit.umd.cjs +5 -5
- package/dist/pl-uikit.umd.cjs.map +1 -1
- package/dist/src/components/PlTextField/PlTextField.vue.d.ts +3 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/components/PlDropdownMulti/PlDropdownMulti.vue +4 -2
- package/src/components/PlTextField/PlTextField.vue +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/uikit",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.63",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/pl-uikit.umd.js",
|
|
6
6
|
"module": "dist/pl-uikit.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"svgo": "^3.3.2",
|
|
36
36
|
"@types/d3": "^7.4.3",
|
|
37
37
|
"@milaboratories/helpers": "^1.6.11",
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
38
|
+
"@platforma-sdk/model": "^1.27.10",
|
|
39
|
+
"@milaboratories/eslint-config": "^1.0.4"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"dev": "vite",
|
|
@@ -99,14 +99,16 @@ const placeholderRef = computed(() => {
|
|
|
99
99
|
return props.modelValue.length > 0 ? '' : props.placeholder;
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
+
const normalizedOptionsRef = computed(() => normalizeListOptions(props.options ?? []));
|
|
103
|
+
|
|
102
104
|
const selectedOptionsRef = computed(() => {
|
|
103
|
-
return
|
|
105
|
+
return selectedValuesRef.value.map((v) => normalizedOptionsRef.value.find((opt) => deepEqual(opt.value, v))).filter((v) => v !== undefined);
|
|
104
106
|
});
|
|
105
107
|
|
|
106
108
|
const filteredOptionsRef = computed(() => {
|
|
107
109
|
const selectedValues = unref(selectedValuesRef);
|
|
108
110
|
|
|
109
|
-
const options =
|
|
111
|
+
const options = unref(normalizedOptionsRef);
|
|
110
112
|
|
|
111
113
|
return (
|
|
112
114
|
data.search
|