cleek 2.3.2 → 2.3.5
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 +15 -10
- package/dist/cleek.umd.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -30,6 +30,9 @@ var defaultCleekOptions = {
|
|
|
30
30
|
},
|
|
31
31
|
button: {
|
|
32
32
|
type: "filled"
|
|
33
|
+
},
|
|
34
|
+
img: {
|
|
35
|
+
basePath: ""
|
|
33
36
|
}
|
|
34
37
|
};
|
|
35
38
|
var ckDropdown_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -11618,9 +11621,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
11618
11621
|
onMounted(() => {
|
|
11619
11622
|
getCurrentInstance().ctx;
|
|
11620
11623
|
$cleekOptions = functions.getCleekOptions(getCurrentInstance);
|
|
11621
|
-
|
|
11622
|
-
isMounted.value = true;
|
|
11623
|
-
}, 3e3);
|
|
11624
|
+
isMounted.value = true;
|
|
11624
11625
|
});
|
|
11625
11626
|
return (_ctx, _cache) => {
|
|
11626
11627
|
return openBlock(), createElementBlock("button", {
|
|
@@ -11649,7 +11650,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
11649
11650
|
};
|
|
11650
11651
|
}
|
|
11651
11652
|
});
|
|
11652
|
-
var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
11653
|
+
var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5fd48ae3"]]);
|
|
11653
11654
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11654
11655
|
const _hoisted_1$f = ["for"];
|
|
11655
11656
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
@@ -13636,7 +13637,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
13636
13637
|
setup(__props) {
|
|
13637
13638
|
const props = __props;
|
|
13638
13639
|
const altNeeded = ref(false);
|
|
13639
|
-
let
|
|
13640
|
+
let $cleekOptions;
|
|
13641
|
+
const isMounted = ref(false);
|
|
13640
13642
|
const isFullPath = computed$2(() => {
|
|
13641
13643
|
return props.src.substring(0, 4) === "http";
|
|
13642
13644
|
});
|
|
@@ -13699,15 +13701,18 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
13699
13701
|
}
|
|
13700
13702
|
function getImg(src) {
|
|
13701
13703
|
let path = "";
|
|
13702
|
-
|
|
13703
|
-
|
|
13704
|
-
|
|
13705
|
-
|
|
13704
|
+
if (isMounted.value) {
|
|
13705
|
+
if ($cleekOptions) {
|
|
13706
|
+
console.log("$cleekOptions", $cleekOptions);
|
|
13707
|
+
console.log("$cleekOptions.img", $cleekOptions.img);
|
|
13708
|
+
path = $cleekOptions.img.basePath;
|
|
13709
|
+
}
|
|
13706
13710
|
}
|
|
13707
13711
|
return `${path}${src}`;
|
|
13708
13712
|
}
|
|
13709
13713
|
onMounted(() => {
|
|
13710
13714
|
getCurrentInstance().ctx;
|
|
13715
|
+
$cleekOptions = functions.getCleekOptions(getCurrentInstance);
|
|
13711
13716
|
isMounted.value = true;
|
|
13712
13717
|
});
|
|
13713
13718
|
return (_ctx, _cache) => {
|
|
@@ -13726,7 +13731,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
13726
13731
|
};
|
|
13727
13732
|
}
|
|
13728
13733
|
});
|
|
13729
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
13734
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-b875f1c4"]]);
|
|
13730
13735
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
13731
13736
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-a5198d80"), n = n(), popScopeId(), n);
|
|
13732
13737
|
const _hoisted_1$5 = ["onKeyup"];
|