cleek 2.4.67 → 2.4.70
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-styles/clear-app.styl +3 -1
- package/dist/cleek.es.js +17 -11
- package/dist/cleek.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -3806,7 +3806,7 @@ const cleekOptions = {
|
|
|
3806
3806
|
fontSize: ""
|
|
3807
3807
|
},
|
|
3808
3808
|
select: {
|
|
3809
|
-
clearValue:
|
|
3809
|
+
clearValue: "auto"
|
|
3810
3810
|
},
|
|
3811
3811
|
table: {
|
|
3812
3812
|
striped: false
|
|
@@ -21953,7 +21953,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
21953
21953
|
autofocus: { type: Boolean },
|
|
21954
21954
|
capitalize: { type: Boolean },
|
|
21955
21955
|
autoSelect: { type: Boolean },
|
|
21956
|
-
delayChangeTime: null
|
|
21956
|
+
delayChangeTime: null,
|
|
21957
|
+
justInteger: { type: Boolean }
|
|
21957
21958
|
},
|
|
21958
21959
|
emits: ["update:modelValue", "click", "input", "change", "focus", "blur", "delayChange"],
|
|
21959
21960
|
setup(__props, { expose, emit: emits }) {
|
|
@@ -21972,6 +21973,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
21972
21973
|
set(val) {
|
|
21973
21974
|
if (props.capitalize)
|
|
21974
21975
|
val = qmStr.capitalize(`${val}`);
|
|
21976
|
+
if (props.justInteger)
|
|
21977
|
+
val = parseInt(+val);
|
|
21975
21978
|
emits("update:modelValue", val);
|
|
21976
21979
|
checkSearchTime(val);
|
|
21977
21980
|
}
|
|
@@ -22152,7 +22155,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
22152
22155
|
};
|
|
22153
22156
|
}
|
|
22154
22157
|
});
|
|
22155
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
22158
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6afd22ad"]]);
|
|
22156
22159
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22157
22160
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
22158
22161
|
props: {
|
|
@@ -22266,7 +22269,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
22266
22269
|
});
|
|
22267
22270
|
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-4bfc21c8"]]);
|
|
22268
22271
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22269
|
-
const _withScopeId$4 = (n) => (pushScopeId("data-v-
|
|
22272
|
+
const _withScopeId$4 = (n) => (pushScopeId("data-v-0c3ab853"), n = n(), popScopeId(), n);
|
|
22270
22273
|
const _hoisted_1$f = { class: "ck-table__pagination" };
|
|
22271
22274
|
const _hoisted_2$b = { class: "ck-table__pagination--numbers-container" };
|
|
22272
22275
|
const _hoisted_3$7 = ["onClick"];
|
|
@@ -22359,7 +22362,6 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
22359
22362
|
}
|
|
22360
22363
|
}
|
|
22361
22364
|
function onClickArrowRight() {
|
|
22362
|
-
console.log("hasArrowRight", hasArrowRight.value);
|
|
22363
22365
|
if (!hasArrowRight.value)
|
|
22364
22366
|
return;
|
|
22365
22367
|
currentPageLocal.value = props.currentPage + 1;
|
|
@@ -22420,7 +22422,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
22420
22422
|
};
|
|
22421
22423
|
}
|
|
22422
22424
|
});
|
|
22423
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
22425
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-0c3ab853"]]);
|
|
22424
22426
|
const EMPTY_OBJ = {};
|
|
22425
22427
|
const NOOP = () => {
|
|
22426
22428
|
};
|
|
@@ -23674,7 +23676,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
23674
23676
|
list.push(`table__cell-padding-y--${props.cellPaddingY}`);
|
|
23675
23677
|
if (props.notFullWidth)
|
|
23676
23678
|
list.push("not-full-width");
|
|
23677
|
-
console.log("cleekOptions.value", cleekOptions2.value);
|
|
23678
23679
|
const striped = props.striped || ((_b = (_a = cleekOptions2.value) == null ? void 0 : _a.table) == null ? void 0 : _b.striped);
|
|
23679
23680
|
if (striped)
|
|
23680
23681
|
list.push("striped-table");
|
|
@@ -23789,7 +23790,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
23789
23790
|
};
|
|
23790
23791
|
}
|
|
23791
23792
|
});
|
|
23792
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
23793
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-578b78e9"]]);
|
|
23793
23794
|
var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23794
23795
|
const _hoisted_1$a = ["color"];
|
|
23795
23796
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
@@ -23928,13 +23929,18 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
23928
23929
|
return classList2;
|
|
23929
23930
|
});
|
|
23930
23931
|
const computedStyle = computed$2(() => {
|
|
23932
|
+
var _a;
|
|
23931
23933
|
const styleList = [];
|
|
23932
23934
|
if (props.sizeAbsolute) {
|
|
23933
23935
|
styleList.push({ width: props.sizeAbsolute });
|
|
23934
23936
|
styleList.push({ height: props.sizeAbsolute });
|
|
23935
23937
|
}
|
|
23936
|
-
|
|
23937
|
-
|
|
23938
|
+
let radius = props.radius;
|
|
23939
|
+
if (typeof props.radius === "undefined" && ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.layout) === "squared") {
|
|
23940
|
+
radius = "0px";
|
|
23941
|
+
}
|
|
23942
|
+
if (radius)
|
|
23943
|
+
styleList.push({ "border-radius": radius });
|
|
23938
23944
|
if (props.hasBorder) {
|
|
23939
23945
|
if (!hooks8.isColorTemplateVariable(realBorderColor.value)) {
|
|
23940
23946
|
styleList.push({ "border-color": realBorderColor.value });
|
|
@@ -23992,7 +23998,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
23992
23998
|
};
|
|
23993
23999
|
}
|
|
23994
24000
|
});
|
|
23995
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
24001
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-eed7a2c0"]]);
|
|
23996
24002
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23997
24003
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-2e09b238"), n = n(), popScopeId(), n);
|
|
23998
24004
|
const _hoisted_1$8 = ["onKeyup"];
|