cleek 2.1.14 → 2.1.18
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/cleek-mixins.styl +1 -0
- package/dist/cleek.es.js +13 -16
- package/dist/cleek.umd.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -11513,7 +11513,6 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
11513
11513
|
emits: ["click"],
|
|
11514
11514
|
setup(__props, { emit: emits }) {
|
|
11515
11515
|
const props = __props;
|
|
11516
|
-
let context;
|
|
11517
11516
|
const isMounted = ref(false);
|
|
11518
11517
|
const computedClass = computed$2(() => {
|
|
11519
11518
|
const classList2 = [];
|
|
@@ -11528,14 +11527,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
11528
11527
|
if (props.align !== "left") {
|
|
11529
11528
|
classList2.push(`ck-button__align--${props.align}`);
|
|
11530
11529
|
}
|
|
11531
|
-
if (isMounted.value)
|
|
11532
|
-
|
|
11533
|
-
if (props.icon || props.iconRight) {
|
|
11534
|
-
if (!(props.icon && props.iconRight))
|
|
11535
|
-
classList2.push("just-icon");
|
|
11536
|
-
}
|
|
11537
|
-
}
|
|
11538
|
-
}
|
|
11530
|
+
if (isMounted.value)
|
|
11531
|
+
;
|
|
11539
11532
|
let type = props.type;
|
|
11540
11533
|
if (!validators.buttonType(props.type))
|
|
11541
11534
|
type = "outlined";
|
|
@@ -11546,7 +11539,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
11546
11539
|
emits("click", event);
|
|
11547
11540
|
}
|
|
11548
11541
|
onMounted(() => {
|
|
11549
|
-
|
|
11542
|
+
getCurrentInstance().ctx;
|
|
11550
11543
|
isMounted.value = true;
|
|
11551
11544
|
});
|
|
11552
11545
|
return (_ctx, _cache) => {
|
|
@@ -11575,7 +11568,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
11575
11568
|
};
|
|
11576
11569
|
}
|
|
11577
11570
|
});
|
|
11578
|
-
var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
11571
|
+
var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-335b46dc"]]);
|
|
11579
11572
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11580
11573
|
const _hoisted_1$f = ["for"];
|
|
11581
11574
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
@@ -11606,11 +11599,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
11606
11599
|
var ckLabel = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-ef74ea02"]]);
|
|
11607
11600
|
var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11608
11601
|
const _hoisted_1$e = { class: "ck-input" };
|
|
11609
|
-
const _hoisted_2$8 = ["type", "placeholder", "id", "disabled"];
|
|
11602
|
+
const _hoisted_2$8 = ["autocomplete", "type", "placeholder", "id", "disabled"];
|
|
11610
11603
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
11611
11604
|
props: {
|
|
11612
11605
|
modelValue: {},
|
|
11613
11606
|
type: { type: String, validator: validators.inputType, default: "text" },
|
|
11607
|
+
autocomplete: { type: Boolean, default: false },
|
|
11614
11608
|
disabled: { type: Boolean, default: false },
|
|
11615
11609
|
placeholder: { type: String, default: void 0 },
|
|
11616
11610
|
label: { type: String, default: void 0 },
|
|
@@ -11698,6 +11692,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
11698
11692
|
ref_key: "realInput",
|
|
11699
11693
|
ref: realInput,
|
|
11700
11694
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(value) ? value.value = $event : null),
|
|
11695
|
+
autocomplete: __props.autocomplete,
|
|
11701
11696
|
type: __props.type,
|
|
11702
11697
|
placeholder: __props.placeholder,
|
|
11703
11698
|
class: normalizeClass(unref$1(computedClassInput)),
|
|
@@ -11721,7 +11716,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
11721
11716
|
};
|
|
11722
11717
|
}
|
|
11723
11718
|
});
|
|
11724
|
-
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
11719
|
+
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-6773af39"]]);
|
|
11725
11720
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11726
11721
|
const _hoisted_1$d = { class: "ck-table__header-items" };
|
|
11727
11722
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
@@ -13524,7 +13519,6 @@ const _hoisted_1$6 = ["src", "alt"];
|
|
|
13524
13519
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
13525
13520
|
props: {
|
|
13526
13521
|
src: { type: String, default: "" },
|
|
13527
|
-
isFullPath: { type: Boolean, default: false },
|
|
13528
13522
|
failImgSrc: { type: String, default: "" },
|
|
13529
13523
|
alt: { type: String, default: "" },
|
|
13530
13524
|
size: { type: String, default: "", validator: validators.size },
|
|
@@ -13542,10 +13536,13 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
13542
13536
|
const props = __props;
|
|
13543
13537
|
const altNeeded = ref(false);
|
|
13544
13538
|
let isMounted = ref(false);
|
|
13539
|
+
const isFullPath = computed$2(() => {
|
|
13540
|
+
return props.src.substring(0, 4) === "http";
|
|
13541
|
+
});
|
|
13545
13542
|
const imageUrl = computed$2(() => {
|
|
13546
13543
|
if (!isMounted.value)
|
|
13547
13544
|
return "";
|
|
13548
|
-
if (
|
|
13545
|
+
if (isFullPath.value)
|
|
13549
13546
|
return props.src;
|
|
13550
13547
|
return getImg(props.src);
|
|
13551
13548
|
});
|
|
@@ -13628,7 +13625,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
13628
13625
|
};
|
|
13629
13626
|
}
|
|
13630
13627
|
});
|
|
13631
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
13628
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-65d88644"]]);
|
|
13632
13629
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
13633
13630
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-a5198d80"), n = n(), popScopeId(), n);
|
|
13634
13631
|
const _hoisted_1$5 = ["onKeyup"];
|