@juit/vue-z 0.0.35 → 0.0.37
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/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
package/dist/index.js
CHANGED
|
@@ -216,20 +216,20 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
216
216
|
tooltip: void 0
|
|
217
217
|
}, {
|
|
218
218
|
"no-icon-animation": "",
|
|
219
|
-
color:
|
|
220
|
-
"text-color":
|
|
221
|
-
class: { "z-btn-disabled":
|
|
219
|
+
color: __props.disable ? void 0 : __props.color,
|
|
220
|
+
"text-color": __props.disable ? void 0 : __props.textColor,
|
|
221
|
+
class: { "z-btn-disabled": __props.disable, "z-btn-flat": __props.flat }
|
|
222
222
|
}), {
|
|
223
223
|
label: withCtx(() => [
|
|
224
|
-
_slots.label ? renderSlot(_ctx.$slots, "label", { key: 0 }, void 0, true) :
|
|
225
|
-
createTextVNode(toDisplayString(
|
|
224
|
+
_slots.label ? renderSlot(_ctx.$slots, "label", { key: 0 }, void 0, true) : __props.label ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
225
|
+
createTextVNode(toDisplayString(__props.label), 1)
|
|
226
226
|
], 64)) : createCommentVNode("", true),
|
|
227
|
-
|
|
227
|
+
__props.tooltip ? (openBlock(), createBlock(unref(QTooltip), {
|
|
228
228
|
key: 2,
|
|
229
229
|
delay: 500
|
|
230
230
|
}, {
|
|
231
231
|
default: withCtx(() => [
|
|
232
|
-
createTextVNode(toDisplayString(
|
|
232
|
+
createTextVNode(toDisplayString(__props.tooltip), 1)
|
|
233
233
|
]),
|
|
234
234
|
_: 1
|
|
235
235
|
})) : createCommentVNode("", true)
|
|
@@ -331,30 +331,30 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
331
331
|
shrink: void 0,
|
|
332
332
|
tooltip: void 0
|
|
333
333
|
}, {
|
|
334
|
-
label:
|
|
335
|
-
color:
|
|
336
|
-
"text-color":
|
|
334
|
+
label: __props.shrink ? _ctx.$q.screen.gt[__props.shrink] ? __props.label : void 0 : __props.label,
|
|
335
|
+
color: __props.disable ? void 0 : __props.color,
|
|
336
|
+
"text-color": __props.disable ? void 0 : __props.textColor,
|
|
337
337
|
class: {
|
|
338
|
-
"z-btn-disabled":
|
|
339
|
-
"z-btn-flat":
|
|
340
|
-
"z-btn-default": !
|
|
338
|
+
"z-btn-disabled": __props.disable,
|
|
339
|
+
"z-btn-flat": __props.flat,
|
|
340
|
+
"z-btn-default": !__props.flat && !__props.color && !__props.textColor
|
|
341
341
|
}
|
|
342
342
|
}), {
|
|
343
343
|
default: withCtx(() => [
|
|
344
|
-
|
|
344
|
+
__props.shrink && !_ctx.$q.screen.gt[__props.shrink] ? (openBlock(), createBlock(unref(QTooltip), {
|
|
345
345
|
key: 0,
|
|
346
346
|
delay: 500
|
|
347
347
|
}, {
|
|
348
348
|
default: withCtx(() => [
|
|
349
|
-
createTextVNode(toDisplayString(
|
|
349
|
+
createTextVNode(toDisplayString(__props.label), 1)
|
|
350
350
|
]),
|
|
351
351
|
_: 1
|
|
352
|
-
})) :
|
|
352
|
+
})) : __props.tooltip ? (openBlock(), createBlock(unref(QTooltip), {
|
|
353
353
|
key: 1,
|
|
354
354
|
delay: 500
|
|
355
355
|
}, {
|
|
356
356
|
default: withCtx(() => [
|
|
357
|
-
createTextVNode(toDisplayString(
|
|
357
|
+
createTextVNode(toDisplayString(__props.tooltip), 1)
|
|
358
358
|
]),
|
|
359
359
|
_: 1
|
|
360
360
|
})) : createCommentVNode("", true),
|