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.
- package/es/dropdown-item/DropdownItem.mjs +12 -2
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/media-picker/MediaPicker.mjs +3 -1
- package/lib/dropdown-item/DropdownItem.js +12 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/media-picker/MediaPicker.js +3 -1
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +16 -4
- package/lib/zartui.es.js +16 -4
- package/lib/zartui.js +16 -4
- package/lib/zartui.min.js +1 -1
- package/package.json +7 -7
package/lib/zartui.cjs.js
CHANGED
|
@@ -9686,6 +9686,14 @@ var stdin_default$10 = vue.defineComponent({
|
|
|
9686
9686
|
}, null);
|
|
9687
9687
|
}
|
|
9688
9688
|
};
|
|
9689
|
+
const renderTitle2 = () => {
|
|
9690
|
+
if (slots["item-title"]) {
|
|
9691
|
+
return slots["item-title"]({
|
|
9692
|
+
item: option
|
|
9693
|
+
});
|
|
9694
|
+
}
|
|
9695
|
+
return text;
|
|
9696
|
+
};
|
|
9689
9697
|
if (props.multiSelect) {
|
|
9690
9698
|
return vue.createVNode(Cell, {
|
|
9691
9699
|
"role": "menuitem",
|
|
@@ -9703,7 +9711,8 @@ var stdin_default$10 = vue.defineComponent({
|
|
|
9703
9711
|
"clickable": true,
|
|
9704
9712
|
"onClick": onClick
|
|
9705
9713
|
}, {
|
|
9706
|
-
value: renderIcon
|
|
9714
|
+
value: renderIcon,
|
|
9715
|
+
title: renderTitle2
|
|
9707
9716
|
});
|
|
9708
9717
|
}
|
|
9709
9718
|
return vue.createVNode(Cell, {
|
|
@@ -9722,7 +9731,8 @@ var stdin_default$10 = vue.defineComponent({
|
|
|
9722
9731
|
"clickable": true,
|
|
9723
9732
|
"onClick": onClick
|
|
9724
9733
|
}, {
|
|
9725
|
-
value: renderIcon
|
|
9734
|
+
value: renderIcon,
|
|
9735
|
+
title: renderTitle2
|
|
9726
9736
|
});
|
|
9727
9737
|
};
|
|
9728
9738
|
const renderContent = () => {
|
|
@@ -14510,7 +14520,9 @@ var stdin_default$C = vue.defineComponent({
|
|
|
14510
14520
|
action.func && action.func();
|
|
14511
14521
|
};
|
|
14512
14522
|
useExpose({
|
|
14513
|
-
mediaPickAction
|
|
14523
|
+
mediaPickAction,
|
|
14524
|
+
handleInputFiles,
|
|
14525
|
+
transformImageFiles
|
|
14514
14526
|
});
|
|
14515
14527
|
return () => {
|
|
14516
14528
|
const title = props.showTitle && vue.createVNode("div", {
|
|
@@ -20932,7 +20944,7 @@ const Lazyload = {
|
|
|
20932
20944
|
});
|
|
20933
20945
|
}
|
|
20934
20946
|
};
|
|
20935
|
-
const version = "3.1.
|
|
20947
|
+
const version = "3.1.50";
|
|
20936
20948
|
function install(app) {
|
|
20937
20949
|
const components = [
|
|
20938
20950
|
ActionSheet,
|
package/lib/zartui.es.js
CHANGED
|
@@ -9684,6 +9684,14 @@ var stdin_default$10 = defineComponent({
|
|
|
9684
9684
|
}, null);
|
|
9685
9685
|
}
|
|
9686
9686
|
};
|
|
9687
|
+
const renderTitle2 = () => {
|
|
9688
|
+
if (slots["item-title"]) {
|
|
9689
|
+
return slots["item-title"]({
|
|
9690
|
+
item: option
|
|
9691
|
+
});
|
|
9692
|
+
}
|
|
9693
|
+
return text;
|
|
9694
|
+
};
|
|
9687
9695
|
if (props.multiSelect) {
|
|
9688
9696
|
return createVNode(Cell, {
|
|
9689
9697
|
"role": "menuitem",
|
|
@@ -9701,7 +9709,8 @@ var stdin_default$10 = defineComponent({
|
|
|
9701
9709
|
"clickable": true,
|
|
9702
9710
|
"onClick": onClick
|
|
9703
9711
|
}, {
|
|
9704
|
-
value: renderIcon
|
|
9712
|
+
value: renderIcon,
|
|
9713
|
+
title: renderTitle2
|
|
9705
9714
|
});
|
|
9706
9715
|
}
|
|
9707
9716
|
return createVNode(Cell, {
|
|
@@ -9720,7 +9729,8 @@ var stdin_default$10 = defineComponent({
|
|
|
9720
9729
|
"clickable": true,
|
|
9721
9730
|
"onClick": onClick
|
|
9722
9731
|
}, {
|
|
9723
|
-
value: renderIcon
|
|
9732
|
+
value: renderIcon,
|
|
9733
|
+
title: renderTitle2
|
|
9724
9734
|
});
|
|
9725
9735
|
};
|
|
9726
9736
|
const renderContent = () => {
|
|
@@ -14508,7 +14518,9 @@ var stdin_default$C = defineComponent({
|
|
|
14508
14518
|
action.func && action.func();
|
|
14509
14519
|
};
|
|
14510
14520
|
useExpose({
|
|
14511
|
-
mediaPickAction
|
|
14521
|
+
mediaPickAction,
|
|
14522
|
+
handleInputFiles,
|
|
14523
|
+
transformImageFiles
|
|
14512
14524
|
});
|
|
14513
14525
|
return () => {
|
|
14514
14526
|
const title = props.showTitle && createVNode("div", {
|
|
@@ -20930,7 +20942,7 @@ const Lazyload = {
|
|
|
20930
20942
|
});
|
|
20931
20943
|
}
|
|
20932
20944
|
};
|
|
20933
|
-
const version = "3.1.
|
|
20945
|
+
const version = "3.1.50";
|
|
20934
20946
|
function install(app) {
|
|
20935
20947
|
const components = [
|
|
20936
20948
|
ActionSheet,
|
package/lib/zartui.js
CHANGED
|
@@ -9927,6 +9927,14 @@
|
|
|
9927
9927
|
}, null);
|
|
9928
9928
|
}
|
|
9929
9929
|
};
|
|
9930
|
+
const renderTitle2 = () => {
|
|
9931
|
+
if (slots["item-title"]) {
|
|
9932
|
+
return slots["item-title"]({
|
|
9933
|
+
item: option
|
|
9934
|
+
});
|
|
9935
|
+
}
|
|
9936
|
+
return text;
|
|
9937
|
+
};
|
|
9930
9938
|
if (props.multiSelect) {
|
|
9931
9939
|
return vue.createVNode(Cell, {
|
|
9932
9940
|
"role": "menuitem",
|
|
@@ -9944,7 +9952,8 @@
|
|
|
9944
9952
|
"clickable": true,
|
|
9945
9953
|
"onClick": onClick
|
|
9946
9954
|
}, {
|
|
9947
|
-
value: renderIcon
|
|
9955
|
+
value: renderIcon,
|
|
9956
|
+
title: renderTitle2
|
|
9948
9957
|
});
|
|
9949
9958
|
}
|
|
9950
9959
|
return vue.createVNode(Cell, {
|
|
@@ -9963,7 +9972,8 @@
|
|
|
9963
9972
|
"clickable": true,
|
|
9964
9973
|
"onClick": onClick
|
|
9965
9974
|
}, {
|
|
9966
|
-
value: renderIcon
|
|
9975
|
+
value: renderIcon,
|
|
9976
|
+
title: renderTitle2
|
|
9967
9977
|
});
|
|
9968
9978
|
};
|
|
9969
9979
|
const renderContent = () => {
|
|
@@ -16286,7 +16296,9 @@
|
|
|
16286
16296
|
action.func && action.func();
|
|
16287
16297
|
};
|
|
16288
16298
|
useExpose({
|
|
16289
|
-
mediaPickAction
|
|
16299
|
+
mediaPickAction,
|
|
16300
|
+
handleInputFiles,
|
|
16301
|
+
transformImageFiles
|
|
16290
16302
|
});
|
|
16291
16303
|
return () => {
|
|
16292
16304
|
const title = props.showTitle && vue.createVNode("div", {
|
|
@@ -24992,7 +25004,7 @@
|
|
|
24992
25004
|
});
|
|
24993
25005
|
}
|
|
24994
25006
|
};
|
|
24995
|
-
const version = "3.1.
|
|
25007
|
+
const version = "3.1.50";
|
|
24996
25008
|
function install(app) {
|
|
24997
25009
|
const components = [
|
|
24998
25010
|
ActionSheet,
|