zartui 3.1.49 → 3.1.51

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.
@@ -176,6 +176,14 @@ var stdin_default = defineComponent({
176
176
  }, null);
177
177
  }
178
178
  };
179
+ const renderTitle2 = () => {
180
+ if (slots["item-title"]) {
181
+ return slots["item-title"]({
182
+ item: option
183
+ });
184
+ }
185
+ return text;
186
+ };
179
187
  if (props.multiSelect) {
180
188
  return _createVNode(Cell, {
181
189
  "role": "menuitem",
@@ -193,7 +201,8 @@ var stdin_default = defineComponent({
193
201
  "clickable": true,
194
202
  "onClick": onClick
195
203
  }, {
196
- value: renderIcon
204
+ value: renderIcon,
205
+ title: renderTitle2
197
206
  });
198
207
  }
199
208
  return _createVNode(Cell, {
@@ -212,7 +221,8 @@ var stdin_default = defineComponent({
212
221
  "clickable": true,
213
222
  "onClick": onClick
214
223
  }, {
215
- value: renderIcon
224
+ value: renderIcon,
225
+ title: renderTitle2
216
226
  });
217
227
  };
218
228
  const renderContent = () => {
package/es/index.d.ts CHANGED
@@ -84,4 +84,4 @@ declare namespace _default {
84
84
  }
85
85
  export default _default;
86
86
  export function install(app: any): void;
87
- export const version: "3.1.48";
87
+ export const version: "3.1.50";
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.48";
80
+ const version = "3.1.50";
81
81
  function install(app) {
82
82
  const components = [
83
83
  ActionSheet,
@@ -795,7 +795,9 @@ var stdin_default = defineComponent({
795
795
  action.func && action.func();
796
796
  };
797
797
  useExpose({
798
- mediaPickAction
798
+ mediaPickAction,
799
+ handleInputFiles,
800
+ transformImageFiles
799
801
  });
800
802
  return () => {
801
803
  const title = props.showTitle && _createVNode("div", {
@@ -199,6 +199,14 @@ var stdin_default = (0, import_vue.defineComponent)({
199
199
  }, null);
200
200
  }
201
201
  };
202
+ const renderTitle2 = () => {
203
+ if (slots["item-title"]) {
204
+ return slots["item-title"]({
205
+ item: option
206
+ });
207
+ }
208
+ return text;
209
+ };
202
210
  if (props.multiSelect) {
203
211
  return (0, import_vue.createVNode)(import_cell.Cell, {
204
212
  "role": "menuitem",
@@ -216,7 +224,8 @@ var stdin_default = (0, import_vue.defineComponent)({
216
224
  "clickable": true,
217
225
  "onClick": onClick
218
226
  }, {
219
- value: renderIcon
227
+ value: renderIcon,
228
+ title: renderTitle2
220
229
  });
221
230
  }
222
231
  return (0, import_vue.createVNode)(import_cell.Cell, {
@@ -235,7 +244,8 @@ var stdin_default = (0, import_vue.defineComponent)({
235
244
  "clickable": true,
236
245
  "onClick": onClick
237
246
  }, {
238
- value: renderIcon
247
+ value: renderIcon,
248
+ title: renderTitle2
239
249
  });
240
250
  };
241
251
  const renderContent = () => {
package/lib/index.d.ts CHANGED
@@ -84,4 +84,4 @@ declare namespace _default {
84
84
  }
85
85
  export default _default;
86
86
  export function install(app: any): void;
87
- export const version: "3.1.48";
87
+ export const version: "3.1.50";
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.48";
185
+ const version = "3.1.50";
186
186
  function install(app) {
187
187
  const components = [
188
188
  import_action_sheet.ActionSheet,
@@ -827,7 +827,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
827
827
  action.func && action.func();
828
828
  };
829
829
  (0, import_use_expose.useExpose)({
830
- mediaPickAction
830
+ mediaPickAction,
831
+ handleInputFiles,
832
+ transformImageFiles
831
833
  });
832
834
  return () => {
833
835
  const title = props.showTitle && (0, import_vue.createVNode)("div", {