zartui 3.1.63 → 3.1.64
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 +4 -4
package/es/index.d.ts
CHANGED
package/es/index.mjs
CHANGED
|
@@ -77,7 +77,7 @@ import { Timeline } from "./timeline/index.mjs";
|
|
|
77
77
|
import { Toast } from "./toast/index.mjs";
|
|
78
78
|
import { Uploader } from "./uploader/index.mjs";
|
|
79
79
|
import { Video } from "./video/index.mjs";
|
|
80
|
-
const version = "3.1.
|
|
80
|
+
const version = "3.1.64";
|
|
81
81
|
function install(app) {
|
|
82
82
|
const components = [
|
|
83
83
|
ActionSheet,
|
|
@@ -210,7 +210,6 @@ var stdin_default = defineComponent({
|
|
|
210
210
|
"class": bem("toolbar-checkbox"),
|
|
211
211
|
"shape": "square",
|
|
212
212
|
"modelValue": isAllSelected.value,
|
|
213
|
-
"onUpdate:modelValue": ($event) => isAllSelected.value = $event,
|
|
214
213
|
"indeterminate": isIndeterminate.value,
|
|
215
214
|
"onClick": handleSelectAll
|
|
216
215
|
}, {
|
|
@@ -224,7 +223,7 @@ var stdin_default = defineComponent({
|
|
|
224
223
|
confirmIndexes.value = !isAllSelected.value ? currentOptions.value.map((_, index) => index) : [];
|
|
225
224
|
};
|
|
226
225
|
const onSelectOther = () => {
|
|
227
|
-
const temp = Array();
|
|
226
|
+
const temp = new Array();
|
|
228
227
|
currentOptions.value.forEach((_, index) => {
|
|
229
228
|
if (!confirmIndexes.value.includes(index)) {
|
|
230
229
|
temp.push(index);
|
|
@@ -232,7 +231,7 @@ var stdin_default = defineComponent({
|
|
|
232
231
|
});
|
|
233
232
|
confirmIndexes.value = temp;
|
|
234
233
|
};
|
|
235
|
-
const genOptionItems =
|
|
234
|
+
const genOptionItems = () => {
|
|
236
235
|
let formatOptions = [];
|
|
237
236
|
if (currentOptions.value && currentOptions.value[0] && typeof currentOptions.value[0] !== "object") {
|
|
238
237
|
formatOptions = currentOptions.value.map((v) => ({
|
|
@@ -256,10 +255,10 @@ var stdin_default = defineComponent({
|
|
|
256
255
|
}, {
|
|
257
256
|
option: slots.option
|
|
258
257
|
});
|
|
259
|
-
}
|
|
258
|
+
};
|
|
260
259
|
const genOptions = () => _createVNode("div", {
|
|
261
260
|
"class": bem("options")
|
|
262
|
-
}, [genOptionItems
|
|
261
|
+
}, [genOptionItems()]);
|
|
263
262
|
const renderMultiplePicker = () => _createVNode("div", {
|
|
264
263
|
"class": bem()
|
|
265
264
|
}, [genTitle(), props.loading ? _createVNode(Loading, {
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -182,7 +182,7 @@ __reExport(stdin_exports, require("./timeline"), module.exports);
|
|
|
182
182
|
__reExport(stdin_exports, require("./toast"), module.exports);
|
|
183
183
|
__reExport(stdin_exports, require("./uploader"), module.exports);
|
|
184
184
|
__reExport(stdin_exports, require("./video"), module.exports);
|
|
185
|
-
const version = "3.1.
|
|
185
|
+
const version = "3.1.64";
|
|
186
186
|
function install(app) {
|
|
187
187
|
const components = [
|
|
188
188
|
import_action_sheet.ActionSheet,
|
|
@@ -242,7 +242,6 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
|
242
242
|
"class": bem("toolbar-checkbox"),
|
|
243
243
|
"shape": "square",
|
|
244
244
|
"modelValue": isAllSelected.value,
|
|
245
|
-
"onUpdate:modelValue": ($event) => isAllSelected.value = $event,
|
|
246
245
|
"indeterminate": isIndeterminate.value,
|
|
247
246
|
"onClick": handleSelectAll
|
|
248
247
|
}, {
|
|
@@ -256,7 +255,7 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
|
256
255
|
confirmIndexes.value = !isAllSelected.value ? currentOptions.value.map((_, index) => index) : [];
|
|
257
256
|
};
|
|
258
257
|
const onSelectOther = () => {
|
|
259
|
-
const temp = Array();
|
|
258
|
+
const temp = new Array();
|
|
260
259
|
currentOptions.value.forEach((_, index) => {
|
|
261
260
|
if (!confirmIndexes.value.includes(index)) {
|
|
262
261
|
temp.push(index);
|
|
@@ -264,7 +263,7 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
|
264
263
|
});
|
|
265
264
|
confirmIndexes.value = temp;
|
|
266
265
|
};
|
|
267
|
-
const genOptionItems = (
|
|
266
|
+
const genOptionItems = () => {
|
|
268
267
|
let formatOptions = [];
|
|
269
268
|
if (currentOptions.value && currentOptions.value[0] && typeof currentOptions.value[0] !== "object") {
|
|
270
269
|
formatOptions = currentOptions.value.map((v) => ({
|
|
@@ -288,10 +287,10 @@ var stdin_default = (0, import_vue.defineComponent)({
|
|
|
288
287
|
}, {
|
|
289
288
|
option: slots.option
|
|
290
289
|
});
|
|
291
|
-
}
|
|
290
|
+
};
|
|
292
291
|
const genOptions = () => (0, import_vue.createVNode)("div", {
|
|
293
292
|
"class": bem("options")
|
|
294
|
-
}, [genOptionItems
|
|
293
|
+
}, [genOptionItems()]);
|
|
295
294
|
const renderMultiplePicker = () => (0, import_vue.createVNode)("div", {
|
|
296
295
|
"class": bem()
|
|
297
296
|
}, [genTitle(), props.loading ? (0, import_vue.createVNode)(import_loading.default, {
|