cleek 2.3.14 → 2.3.17
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/cleek.es.js +19 -8
- package/dist/cleek.umd.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -11370,7 +11370,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
11370
11370
|
};
|
|
11371
11371
|
}
|
|
11372
11372
|
});
|
|
11373
|
-
var ckNotify = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
11373
|
+
var ckNotify = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-e073e444"]]);
|
|
11374
11374
|
const _hoisted_1$i = { class: "ck-tr" };
|
|
11375
11375
|
function render$1(_ctx, _cache) {
|
|
11376
11376
|
return openBlock(), createElementBlock("tr", _hoisted_1$i, [
|
|
@@ -11808,7 +11808,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
11808
11808
|
};
|
|
11809
11809
|
}
|
|
11810
11810
|
});
|
|
11811
|
-
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
11811
|
+
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-7b390746"]]);
|
|
11812
11812
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11813
11813
|
const _hoisted_1$d = { class: "ck-table__header-items" };
|
|
11814
11814
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
@@ -13366,7 +13366,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
13366
13366
|
showRefreshBtn: { type: Boolean, default: false },
|
|
13367
13367
|
hideItemsPerPage: { type: Boolean, default: false },
|
|
13368
13368
|
notFullWidth: { type: Boolean, default: false },
|
|
13369
|
-
cellPadding: { type: String,
|
|
13369
|
+
cellPadding: { type: String, defaul: void 0 },
|
|
13370
|
+
cellPaddingY: { type: String, defaul: void 0 },
|
|
13370
13371
|
mobileMaxWidth: { type: [Number, String], default: 800 }
|
|
13371
13372
|
},
|
|
13372
13373
|
emits: ["refreshList", "update:search", "update:currentPage"],
|
|
@@ -13434,6 +13435,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
13434
13435
|
const list = [];
|
|
13435
13436
|
if (props.cellPadding)
|
|
13436
13437
|
list.push(`table__cell-padding--${props.cellPadding}`);
|
|
13438
|
+
if (props.cellPaddingY)
|
|
13439
|
+
list.push(`table__cell-padding-y--${props.cellPaddingY}`);
|
|
13437
13440
|
if (props.notFullWidth)
|
|
13438
13441
|
list.push("not-full-width");
|
|
13439
13442
|
return list;
|
|
@@ -13507,7 +13510,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
13507
13510
|
};
|
|
13508
13511
|
}
|
|
13509
13512
|
});
|
|
13510
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
13513
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-65c343ce"]]);
|
|
13511
13514
|
var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
13512
13515
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
13513
13516
|
props: {
|
|
@@ -16659,6 +16662,7 @@ tippy$1.setDefaultProps({
|
|
|
16659
16662
|
var tippy = "";
|
|
16660
16663
|
var ckTooltip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16661
16664
|
const _hoisted_1 = {
|
|
16665
|
+
key: 0,
|
|
16662
16666
|
class: "ck-tooltip",
|
|
16663
16667
|
tabindex: "0"
|
|
16664
16668
|
};
|
|
@@ -16667,20 +16671,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16667
16671
|
text: { type: String, required: true }
|
|
16668
16672
|
},
|
|
16669
16673
|
setup(__props) {
|
|
16670
|
-
|
|
16674
|
+
const props = __props;
|
|
16675
|
+
watch(() => props.text, (val) => {
|
|
16676
|
+
setText();
|
|
16677
|
+
});
|
|
16678
|
+
function setText() {
|
|
16671
16679
|
const context = getCurrentInstance().ctx;
|
|
16672
16680
|
tippy$1(context.$el, {
|
|
16673
16681
|
content: context.text
|
|
16674
16682
|
});
|
|
16683
|
+
}
|
|
16684
|
+
onMounted(() => {
|
|
16685
|
+
setText();
|
|
16675
16686
|
});
|
|
16676
16687
|
return (_ctx, _cache) => {
|
|
16677
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
16688
|
+
return __props.text ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
16678
16689
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
16679
|
-
]);
|
|
16690
|
+
])) : renderSlot(_ctx.$slots, "default", { key: 1 }, void 0, true);
|
|
16680
16691
|
};
|
|
16681
16692
|
}
|
|
16682
16693
|
});
|
|
16683
|
-
var ckTooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
16694
|
+
var ckTooltip = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7c33bc7a"]]);
|
|
16684
16695
|
var events = {
|
|
16685
16696
|
OPEN_MODAL: "OPEN_MODAL",
|
|
16686
16697
|
CLOSE_MODAL: "CLOSE_MODAL",
|