zartui 3.1.48 → 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/es/dropdown-item/DropdownItem.mjs +12 -2
- package/lib/dropdown-item/DropdownItem.js +12 -2
- package/lib/web-types.json +1 -1
- package/lib/zartui.cjs.js +12 -2
- package/lib/zartui.es.js +12 -2
- package/lib/zartui.js +12 -2
- package/lib/zartui.min.js +1 -1
- package/package.json +3 -3
|
@@ -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 = () => {
|
|
@@ -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 = () => {
|