zartui 3.1.49 → 3.1.50

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/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 = () => {
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 = () => {
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 = () => {