zartui 3.1.50 → 3.1.52
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/media-picker/MediaPicker.mjs +5 -3
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/media-picker/MediaPicker.js +5 -3
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +6 -4
- package/lib/zartui.es.js +6 -4
- package/lib/zartui.js +6 -4
- package/lib/zartui.min.js +1 -1
- package/package.json +6 -6
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.51";
|
|
81
81
|
function install(app) {
|
|
82
82
|
const components = [
|
|
83
83
|
ActionSheet,
|
|
@@ -524,7 +524,7 @@ var stdin_default = defineComponent({
|
|
|
524
524
|
"onClick": () => resetInput("video", "pick")
|
|
525
525
|
}, null), _createVNode("input", {
|
|
526
526
|
"type": "file",
|
|
527
|
-
"accept": "audio
|
|
527
|
+
"accept": "audio/*",
|
|
528
528
|
"ref": audioRecorderInputRef,
|
|
529
529
|
"onChange": handleInputFiles,
|
|
530
530
|
"class": bem("hidden"),
|
|
@@ -532,7 +532,7 @@ var stdin_default = defineComponent({
|
|
|
532
532
|
"capture": "nonce"
|
|
533
533
|
}, null), _createVNode("input", {
|
|
534
534
|
"type": "file",
|
|
535
|
-
"accept": "audio
|
|
535
|
+
"accept": "audio/*",
|
|
536
536
|
"ref": audioFileInputRef,
|
|
537
537
|
"onChange": handleInputFiles,
|
|
538
538
|
"class": bem("hidden"),
|
|
@@ -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", {
|
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.51";
|
|
186
186
|
function install(app) {
|
|
187
187
|
const components = [
|
|
188
188
|
import_action_sheet.ActionSheet,
|
|
@@ -556,7 +556,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
556
556
|
"onClick": () => resetInput("video", "pick")
|
|
557
557
|
}, null), (0, import_vue.createVNode)("input", {
|
|
558
558
|
"type": "file",
|
|
559
|
-
"accept": "audio
|
|
559
|
+
"accept": "audio/*",
|
|
560
560
|
"ref": audioRecorderInputRef,
|
|
561
561
|
"onChange": handleInputFiles,
|
|
562
562
|
"class": bem("hidden"),
|
|
@@ -564,7 +564,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
|
|
|
564
564
|
"capture": "nonce"
|
|
565
565
|
}, null), (0, import_vue.createVNode)("input", {
|
|
566
566
|
"type": "file",
|
|
567
|
-
"accept": "audio
|
|
567
|
+
"accept": "audio/*",
|
|
568
568
|
"ref": audioFileInputRef,
|
|
569
569
|
"onChange": handleInputFiles,
|
|
570
570
|
"class": bem("hidden"),
|
|
@@ -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", {
|