zartui 3.1.40 → 3.1.42

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.
@@ -155,6 +155,7 @@ var stdin_default = defineComponent({
155
155
  } else {
156
156
  state.showPopup = false;
157
157
  if (option.value !== props.modelValue) {
158
+ emit("update:modelValue", value);
158
159
  emit("change", value);
159
160
  }
160
161
  emit("item-select", value);
package/es/index.d.ts CHANGED
@@ -83,4 +83,4 @@ declare namespace _default {
83
83
  }
84
84
  export default _default;
85
85
  export function install(app: any): void;
86
- export const version: "3.1.40";
86
+ export const version: "3.1.42";
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.40";
79
+ const version = "3.1.42";
80
80
  function install(app) {
81
81
  const components = [
82
82
  ActionSheet,
@@ -329,11 +329,6 @@ var stdin_default = defineComponent({
329
329
  return media;
330
330
  });
331
331
  });
332
- showLoadingToast({
333
- message: "\u5904\u7406\u4E2D...",
334
- forbidClick: true,
335
- duration: 0
336
- });
337
332
  return Promise.all(mediaList).then((medias) => {
338
333
  const _medias = [];
339
334
  medias.forEach((media) => {
@@ -343,7 +338,6 @@ var stdin_default = defineComponent({
343
338
  });
344
339
  return _medias;
345
340
  }).finally(() => {
346
- closeToast();
347
341
  });
348
342
  };
349
343
  const transformImageFiles = (files) => {
@@ -402,11 +396,6 @@ var stdin_default = defineComponent({
402
396
  });
403
397
  promisesTodo.push(promise);
404
398
  }
405
- showLoadingToast({
406
- message: "\u5904\u7406\u4E2D...",
407
- forbidClick: true,
408
- duration: 0
409
- });
410
399
  return Promise.all(promisesTodo).then((medias) => {
411
400
  const _medias = [];
412
401
  medias.forEach((media) => {
@@ -416,7 +405,6 @@ var stdin_default = defineComponent({
416
405
  });
417
406
  return _medias;
418
407
  }).finally(() => {
419
- closeToast();
420
408
  });
421
409
  };
422
410
  const readFiles = (files) => {
@@ -178,6 +178,7 @@ var stdin_default = (0, import_vue.defineComponent)({
178
178
  } else {
179
179
  state.showPopup = false;
180
180
  if (option.value !== props.modelValue) {
181
+ emit("update:modelValue", value);
181
182
  emit("change", value);
182
183
  }
183
184
  emit("item-select", value);
package/lib/index.d.ts CHANGED
@@ -83,4 +83,4 @@ declare namespace _default {
83
83
  }
84
84
  export default _default;
85
85
  export function install(app: any): void;
86
- export const version: "3.1.40";
86
+ export const version: "3.1.42";
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.40";
183
+ const version = "3.1.42";
184
184
  function install(app) {
185
185
  const components = [
186
186
  import_action_sheet.ActionSheet,
@@ -361,11 +361,6 @@ var stdin_default = (0, import_vue2.defineComponent)({
361
361
  return media;
362
362
  });
363
363
  });
364
- (0, import_toast.showLoadingToast)({
365
- message: "\u5904\u7406\u4E2D...",
366
- forbidClick: true,
367
- duration: 0
368
- });
369
364
  return Promise.all(mediaList).then((medias) => {
370
365
  const _medias = [];
371
366
  medias.forEach((media) => {
@@ -375,7 +370,6 @@ var stdin_default = (0, import_vue2.defineComponent)({
375
370
  });
376
371
  return _medias;
377
372
  }).finally(() => {
378
- (0, import_toast.closeToast)();
379
373
  });
380
374
  };
381
375
  const transformImageFiles = (files) => {
@@ -434,11 +428,6 @@ var stdin_default = (0, import_vue2.defineComponent)({
434
428
  });
435
429
  promisesTodo.push(promise);
436
430
  }
437
- (0, import_toast.showLoadingToast)({
438
- message: "\u5904\u7406\u4E2D...",
439
- forbidClick: true,
440
- duration: 0
441
- });
442
431
  return Promise.all(promisesTodo).then((medias) => {
443
432
  const _medias = [];
444
433
  medias.forEach((media) => {
@@ -448,7 +437,6 @@ var stdin_default = (0, import_vue2.defineComponent)({
448
437
  });
449
438
  return _medias;
450
439
  }).finally(() => {
451
- (0, import_toast.closeToast)();
452
440
  });
453
441
  };
454
442
  const readFiles = (files) => {