zartui 3.1.26 → 3.1.27
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/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/multiple-picker/MultiplePicker.mjs +4 -5
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/multiple-picker/MultiplePicker.js +4 -5
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +5 -6
- package/lib/zartui.es.js +5 -6
- package/lib/zartui.js +5 -6
- package/lib/zartui.min.js +1 -1
- package/package.json +5 -5
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
|
@@ -76,7 +76,7 @@ import { Timeline } from "./timeline/index.mjs";
|
|
|
76
76
|
import { Toast } from "./toast/index.mjs";
|
|
77
77
|
import { Uploader } from "./uploader/index.mjs";
|
|
78
78
|
import { Video } from "./video/index.mjs";
|
|
79
|
-
const version = "3.1.
|
|
79
|
+
const version = "3.1.27";
|
|
80
80
|
function install(app) {
|
|
81
81
|
const components = [
|
|
82
82
|
ActionSheet,
|
|
@@ -38,9 +38,8 @@ var stdin_default = defineComponent({
|
|
|
38
38
|
slots
|
|
39
39
|
}) {
|
|
40
40
|
const currentOptions = ref(props.options);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
});
|
|
41
|
+
const currentSelectedIndex = computed(() => props.selectedIndex);
|
|
42
|
+
const currentSelectedValue = computed(() => props.selectedValue);
|
|
44
43
|
const confirmIndexes = ref(props.selectedIndex);
|
|
45
44
|
const confirmValues = ref(props.selectedValue);
|
|
46
45
|
const resetOptions = (props2) => {
|
|
@@ -92,8 +91,8 @@ var stdin_default = defineComponent({
|
|
|
92
91
|
if (newValue !== props.showPicker) {
|
|
93
92
|
emit("update:showPicker", newValue);
|
|
94
93
|
}
|
|
95
|
-
confirmIndexes.value = deepClone(
|
|
96
|
-
confirmValues.value = deepClone(
|
|
94
|
+
confirmIndexes.value = deepClone(currentSelectedIndex.value);
|
|
95
|
+
confirmValues.value = deepClone(currentSelectedValue.value);
|
|
97
96
|
getIndexesByValues();
|
|
98
97
|
});
|
|
99
98
|
watch(() => props.showPicker, (newValue) => {
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -180,7 +180,7 @@ __reExport(stdin_exports, require("./timeline"), module.exports);
|
|
|
180
180
|
__reExport(stdin_exports, require("./toast"), module.exports);
|
|
181
181
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
|
182
182
|
__reExport(stdin_exports, require("./video"), module.exports);
|
|
183
|
-
const version = "3.1.
|
|
183
|
+
const version = "3.1.27";
|
|
184
184
|
function install(app) {
|
|
185
185
|
const components = [
|
|
186
186
|
import_action_sheet.ActionSheet,
|
|
@@ -70,9 +70,8 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
|
70
70
|
slots
|
|
71
71
|
}) {
|
|
72
72
|
const currentOptions = (0, import_vue.ref)(props.options);
|
|
73
|
-
(0, import_vue.
|
|
74
|
-
|
|
75
|
-
});
|
|
73
|
+
const currentSelectedIndex = (0, import_vue.computed)(() => props.selectedIndex);
|
|
74
|
+
const currentSelectedValue = (0, import_vue.computed)(() => props.selectedValue);
|
|
76
75
|
const confirmIndexes = (0, import_vue.ref)(props.selectedIndex);
|
|
77
76
|
const confirmValues = (0, import_vue.ref)(props.selectedValue);
|
|
78
77
|
const resetOptions = (props2) => {
|
|
@@ -124,8 +123,8 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
|
124
123
|
if (newValue !== props.showPicker) {
|
|
125
124
|
emit("update:showPicker", newValue);
|
|
126
125
|
}
|
|
127
|
-
confirmIndexes.value = (0, import_deep_clone.deepClone)(
|
|
128
|
-
confirmValues.value = (0, import_deep_clone.deepClone)(
|
|
126
|
+
confirmIndexes.value = (0, import_deep_clone.deepClone)(currentSelectedIndex.value);
|
|
127
|
+
confirmValues.value = (0, import_deep_clone.deepClone)(currentSelectedValue.value);
|
|
129
128
|
getIndexesByValues();
|
|
130
129
|
});
|
|
131
130
|
(0, import_vue.watch)(() => props.showPicker, (newValue) => {
|