cleek 2.4.16 → 2.4.19
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 +107 -66
- package/dist/cleek.umd.js +10 -10
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -2901,6 +2901,11 @@ const cleekOptions = {
|
|
|
2901
2901
|
img: {
|
|
2902
2902
|
basePath: ""
|
|
2903
2903
|
},
|
|
2904
|
+
popup: {
|
|
2905
|
+
textColor: "",
|
|
2906
|
+
headerAlign: "",
|
|
2907
|
+
headerColor: ""
|
|
2908
|
+
},
|
|
2904
2909
|
styles: {
|
|
2905
2910
|
layout: "base",
|
|
2906
2911
|
borderColor: "#dae1e7"
|
|
@@ -18807,22 +18812,6 @@ var hooks8 = {
|
|
|
18807
18812
|
classList2.push(`ck-component__group-vertical--${groupVertical}`);
|
|
18808
18813
|
return classList2;
|
|
18809
18814
|
},
|
|
18810
|
-
geRealBorderColor(props, cleekOptions2) {
|
|
18811
|
-
var _a;
|
|
18812
|
-
if (props.borderColor)
|
|
18813
|
-
return props.borderColor;
|
|
18814
|
-
if ((_a = cleekOptions2 == null ? void 0 : cleekOptions2.styles) == null ? void 0 : _a.borderColor)
|
|
18815
|
-
return cleekOptions2.styles.borderColor;
|
|
18816
|
-
return "";
|
|
18817
|
-
},
|
|
18818
|
-
geRealLayout(props, cleekOptions2) {
|
|
18819
|
-
var _a;
|
|
18820
|
-
if (props.layout)
|
|
18821
|
-
return props.layout;
|
|
18822
|
-
if ((_a = cleekOptions2 == null ? void 0 : cleekOptions2.styles) == null ? void 0 : _a.layout)
|
|
18823
|
-
return cleekOptions2.styles.layout;
|
|
18824
|
-
return "";
|
|
18825
|
-
},
|
|
18826
18815
|
getWidthByWidthBreaks(widthBreaks, windowWidth) {
|
|
18827
18816
|
if (widthBreaks) {
|
|
18828
18817
|
let realWidthBreaks = [...widthBreaks];
|
|
@@ -20903,15 +20892,16 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20903
20892
|
const defaultButtonType = "outlined";
|
|
20904
20893
|
const defaultColor = "primary";
|
|
20905
20894
|
const defaultAlign = "left";
|
|
20906
|
-
let cleekOptions2;
|
|
20895
|
+
let cleekOptions2 = ref();
|
|
20907
20896
|
const realButtonType = computed$2(() => {
|
|
20908
20897
|
if (props.type)
|
|
20909
20898
|
return props.type;
|
|
20910
|
-
if (cleekOptions2)
|
|
20911
|
-
return cleekOptions2.button.type;
|
|
20899
|
+
if (cleekOptions2.value)
|
|
20900
|
+
return cleekOptions2.value.button.type;
|
|
20912
20901
|
return defaultButtonType;
|
|
20913
20902
|
});
|
|
20914
20903
|
const computedClass = computed$2(() => {
|
|
20904
|
+
var _a;
|
|
20915
20905
|
const list = [];
|
|
20916
20906
|
list.push(hooks8.getGroupClass(props, windowWidth.value));
|
|
20917
20907
|
const color = props.color || defaultColor;
|
|
@@ -20926,7 +20916,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20926
20916
|
if (align === "center" || align === "right") {
|
|
20927
20917
|
list.push(`ck-button__align--${props.align}`);
|
|
20928
20918
|
}
|
|
20929
|
-
const layout =
|
|
20919
|
+
const layout = props.layout || ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.layout);
|
|
20930
20920
|
if (layout)
|
|
20931
20921
|
list.push(layout);
|
|
20932
20922
|
list.push(`type-${realButtonType.value}`);
|
|
@@ -20952,7 +20942,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20952
20942
|
emits("click", event);
|
|
20953
20943
|
}
|
|
20954
20944
|
onMounted(() => {
|
|
20955
|
-
cleekOptions2 = hooks8.getCleekOptions(getCurrentInstance);
|
|
20945
|
+
cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
|
|
20956
20946
|
});
|
|
20957
20947
|
hooks8.preventUnusedError([
|
|
20958
20948
|
onClick2,
|
|
@@ -20986,7 +20976,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20986
20976
|
};
|
|
20987
20977
|
}
|
|
20988
20978
|
});
|
|
20989
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
20979
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-177f5b94"]]);
|
|
20990
20980
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20991
20981
|
const _hoisted_1$h = ["for"];
|
|
20992
20982
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
@@ -21048,7 +21038,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21048
21038
|
setup(__props, { expose, emit: emits }) {
|
|
21049
21039
|
const props = __props;
|
|
21050
21040
|
expose({ setFocus, setSelect });
|
|
21051
|
-
let cleekOptions2;
|
|
21041
|
+
let cleekOptions2 = ref();
|
|
21052
21042
|
const defaultType = "text";
|
|
21053
21043
|
const defaultDelayChangeTime = 300;
|
|
21054
21044
|
const realInput = ref(null);
|
|
@@ -21082,6 +21072,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21082
21072
|
emits("change", event);
|
|
21083
21073
|
};
|
|
21084
21074
|
const computedClassInput = computed$2(() => {
|
|
21075
|
+
var _a, _b;
|
|
21085
21076
|
const list = [];
|
|
21086
21077
|
list.push(hooks8.getGroupClass(props, windowWidth.value));
|
|
21087
21078
|
if (props.icon)
|
|
@@ -21092,20 +21083,21 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21092
21083
|
list.push(`align--${props.align}`);
|
|
21093
21084
|
if (props.hideBorder)
|
|
21094
21085
|
list.push("no-border");
|
|
21095
|
-
const layout =
|
|
21086
|
+
const layout = props.layout || ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.layout);
|
|
21096
21087
|
if (layout)
|
|
21097
21088
|
list.push(layout);
|
|
21098
21089
|
if (props.size)
|
|
21099
21090
|
list.push(`ck-input-size__${props.size}`);
|
|
21100
|
-
const borderColor =
|
|
21091
|
+
const borderColor = props.borderColor || ((_b = cleekOptions2.value) == null ? void 0 : _b.styles.borderColor);
|
|
21101
21092
|
if (borderColor && hooks8.isColorTemplateVariable(borderColor)) {
|
|
21102
21093
|
list.push(`ck-component__border-color--${borderColor}`);
|
|
21103
21094
|
}
|
|
21104
21095
|
return list;
|
|
21105
21096
|
});
|
|
21106
21097
|
const computedStyleInput = computed$2(() => {
|
|
21098
|
+
var _a;
|
|
21107
21099
|
const list = [];
|
|
21108
|
-
const borderColor =
|
|
21100
|
+
const borderColor = props.borderColor || ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.borderColor);
|
|
21109
21101
|
if (borderColor && !hooks8.isColorTemplateVariable(borderColor)) {
|
|
21110
21102
|
list.push({ "border-color": borderColor });
|
|
21111
21103
|
}
|
|
@@ -21146,7 +21138,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21146
21138
|
onClick2
|
|
21147
21139
|
]);
|
|
21148
21140
|
onMounted(() => {
|
|
21149
|
-
cleekOptions2 = hooks8.getCleekOptions(getCurrentInstance);
|
|
21141
|
+
cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
|
|
21150
21142
|
});
|
|
21151
21143
|
return (_ctx, _cache) => {
|
|
21152
21144
|
return openBlock(), createElementBlock("div", {
|
|
@@ -21198,7 +21190,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21198
21190
|
};
|
|
21199
21191
|
}
|
|
21200
21192
|
});
|
|
21201
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
21193
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-110a76c1"]]);
|
|
21202
21194
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21203
21195
|
const _hoisted_1$f = { class: "ck-table__header-items" };
|
|
21204
21196
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
@@ -22267,37 +22259,43 @@ const _hoisted_1$c = {
|
|
|
22267
22259
|
class: "ck-popup"
|
|
22268
22260
|
};
|
|
22269
22261
|
const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
|
|
22270
|
-
const _hoisted_3$5 = {
|
|
22271
|
-
const _hoisted_4$5 = {
|
|
22262
|
+
const _hoisted_3$5 = {
|
|
22272
22263
|
key: 0,
|
|
22273
22264
|
class: "ck-popup__title"
|
|
22274
22265
|
};
|
|
22275
|
-
const
|
|
22276
|
-
const
|
|
22266
|
+
const _hoisted_4$5 = { class: "ck-popup__slot-body" };
|
|
22267
|
+
const _hoisted_5$2 = {
|
|
22277
22268
|
key: 0,
|
|
22278
22269
|
class: "ck-popup__slot-footer"
|
|
22279
22270
|
};
|
|
22280
|
-
const
|
|
22271
|
+
const _hoisted_6$2 = {
|
|
22281
22272
|
key: 0,
|
|
22282
22273
|
class: "ck-popup-slot-footer__confirm-buttons"
|
|
22283
22274
|
};
|
|
22284
|
-
const
|
|
22285
|
-
const
|
|
22275
|
+
const _hoisted_7 = /* @__PURE__ */ createTextVNode("Cancelar");
|
|
22276
|
+
const _hoisted_8 = /* @__PURE__ */ createTextVNode("Aceptar");
|
|
22286
22277
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
22287
22278
|
props: {
|
|
22288
22279
|
modelValue: { type: Boolean },
|
|
22289
22280
|
title: null,
|
|
22290
22281
|
confirmButtons: { type: Boolean },
|
|
22282
|
+
acceptButton: { type: Boolean },
|
|
22283
|
+
cancelButton: { type: Boolean },
|
|
22291
22284
|
notClose: { type: Boolean },
|
|
22292
22285
|
notCloseBtn: { type: Boolean },
|
|
22293
22286
|
notCloseByBg: { type: Boolean },
|
|
22294
22287
|
preventCloseOnCancel: { type: Boolean },
|
|
22295
22288
|
width: null,
|
|
22296
|
-
maxWidth: null
|
|
22289
|
+
maxWidth: null,
|
|
22290
|
+
layout: null,
|
|
22291
|
+
textColor: null,
|
|
22292
|
+
headerColor: null,
|
|
22293
|
+
headerAlign: null
|
|
22297
22294
|
},
|
|
22298
22295
|
emits: ["update:modelValue", "cancel", "accept"],
|
|
22299
22296
|
setup(__props, { emit: emits }) {
|
|
22300
22297
|
const props = __props;
|
|
22298
|
+
let cleekOptions2 = ref();
|
|
22301
22299
|
const isActive = computed$2({
|
|
22302
22300
|
get() {
|
|
22303
22301
|
return props.modelValue;
|
|
@@ -22306,12 +22304,51 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22306
22304
|
emits("update:modelValue", val);
|
|
22307
22305
|
}
|
|
22308
22306
|
});
|
|
22307
|
+
const computedClassContent = computed$2(() => {
|
|
22308
|
+
var _a, _b;
|
|
22309
|
+
const list = [];
|
|
22310
|
+
const layout = props.layout || ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.layout);
|
|
22311
|
+
if (layout)
|
|
22312
|
+
list.push(layout);
|
|
22313
|
+
const textColor = props.textColor || ((_b = cleekOptions2.value) == null ? void 0 : _b.popup.textColor);
|
|
22314
|
+
if (textColor && hooks8.isColorTemplateVariable(textColor)) {
|
|
22315
|
+
list.push(`ck-component__color--${textColor}`);
|
|
22316
|
+
}
|
|
22317
|
+
return list;
|
|
22318
|
+
});
|
|
22309
22319
|
const computedStyleContent = computed$2(() => {
|
|
22320
|
+
var _a;
|
|
22310
22321
|
const list = [];
|
|
22311
22322
|
if (props.maxWidth)
|
|
22312
22323
|
list.push({ maxWidth: props.maxWidth });
|
|
22313
22324
|
if (props.width)
|
|
22314
22325
|
list.push({ width: props.width });
|
|
22326
|
+
const textColor = props.textColor || ((_a = cleekOptions2.value) == null ? void 0 : _a.popup.textColor);
|
|
22327
|
+
if (textColor && !hooks8.isColorTemplateVariable(textColor)) {
|
|
22328
|
+
list.push(`ck-component__color--${textColor}`);
|
|
22329
|
+
list.push({ color: textColor });
|
|
22330
|
+
}
|
|
22331
|
+
return list;
|
|
22332
|
+
});
|
|
22333
|
+
const computedStyleHeader = computed$2(() => {
|
|
22334
|
+
var _a;
|
|
22335
|
+
const list = [];
|
|
22336
|
+
const headerColor = props.headerColor || ((_a = cleekOptions2.value) == null ? void 0 : _a.popup.headerColor);
|
|
22337
|
+
if (headerColor && !hooks8.isColorTemplateVariable(headerColor)) {
|
|
22338
|
+
list.push({ backgroundColor: headerColor });
|
|
22339
|
+
}
|
|
22340
|
+
return list;
|
|
22341
|
+
});
|
|
22342
|
+
const computedClassHeader = computed$2(() => {
|
|
22343
|
+
var _a, _b;
|
|
22344
|
+
const list = [];
|
|
22345
|
+
const headerAlign = props.headerAlign || ((_a = cleekOptions2.value) == null ? void 0 : _a.popup.headerAlign);
|
|
22346
|
+
if (headerAlign)
|
|
22347
|
+
list.push(`header-align--${headerAlign}`);
|
|
22348
|
+
const headerColor = props.headerColor || ((_b = cleekOptions2.value) == null ? void 0 : _b.popup.headerColor);
|
|
22349
|
+
if (headerColor && hooks8.isColorTemplateVariable(headerColor)) {
|
|
22350
|
+
list.push(`ck-component__bg-color--${headerColor}`);
|
|
22351
|
+
}
|
|
22315
22352
|
return list;
|
|
22316
22353
|
});
|
|
22317
22354
|
function onCancel() {
|
|
@@ -22327,6 +22364,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22327
22364
|
return;
|
|
22328
22365
|
isActive.value = false;
|
|
22329
22366
|
}
|
|
22367
|
+
onMounted(() => {
|
|
22368
|
+
cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
|
|
22369
|
+
});
|
|
22330
22370
|
return (_ctx, _cache) => {
|
|
22331
22371
|
return unref$1(isActive) ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
22332
22372
|
_hoisted_2$8,
|
|
@@ -22335,27 +22375,30 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22335
22375
|
onClick: _cache[4] || (_cache[4] = ($event) => onBgClick())
|
|
22336
22376
|
}, [
|
|
22337
22377
|
createElementVNode("div", {
|
|
22338
|
-
class: "ck-popup__content",
|
|
22378
|
+
class: normalizeClass(["ck-popup__content", unref$1(computedClassContent)]),
|
|
22339
22379
|
onClick: _cache[3] || (_cache[3] = withModifiers(() => {
|
|
22340
22380
|
}, ["stop"])),
|
|
22341
22381
|
style: normalizeStyle(unref$1(computedStyleContent))
|
|
22342
22382
|
}, [
|
|
22343
|
-
createElementVNode("div",
|
|
22344
|
-
|
|
22383
|
+
createElementVNode("div", {
|
|
22384
|
+
class: normalizeClass(["ck-popup__slot-header", unref$1(computedClassHeader)]),
|
|
22385
|
+
style: normalizeStyle(unref$1(computedStyleHeader))
|
|
22386
|
+
}, [
|
|
22387
|
+
__props.title ? (openBlock(), createElementBlock("h3", _hoisted_3$5, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
22345
22388
|
renderSlot(_ctx.$slots, "header"),
|
|
22346
22389
|
!(__props.notCloseBtn || __props.notClose) ? (openBlock(), createBlock(CkIcon, {
|
|
22347
22390
|
key: 1,
|
|
22348
|
-
class: "close",
|
|
22391
|
+
class: "icon-close",
|
|
22349
22392
|
icon: "times",
|
|
22350
22393
|
onClick: _cache[0] || (_cache[0] = ($event) => isActive.value = false)
|
|
22351
22394
|
})) : createCommentVNode("", true)
|
|
22352
|
-
]),
|
|
22353
|
-
createElementVNode("div",
|
|
22395
|
+
], 6),
|
|
22396
|
+
createElementVNode("div", _hoisted_4$5, [
|
|
22354
22397
|
renderSlot(_ctx.$slots, "default")
|
|
22355
22398
|
]),
|
|
22356
|
-
_ctx.$slots.footer || __props.confirmButtons ? (openBlock(), createElementBlock("div",
|
|
22399
|
+
_ctx.$slots.footer || __props.confirmButtons || __props.acceptButton || __props.cancelButton ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
|
|
22357
22400
|
renderSlot(_ctx.$slots, "footer"),
|
|
22358
|
-
__props.confirmButtons ? (openBlock(), createElementBlock("div",
|
|
22401
|
+
__props.confirmButtons ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
22359
22402
|
createVNode(CkButton, {
|
|
22360
22403
|
class: "cancel-button",
|
|
22361
22404
|
onClick: _cache[1] || (_cache[1] = ($event) => onCancel()),
|
|
@@ -22363,7 +22406,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22363
22406
|
type: "flat"
|
|
22364
22407
|
}, {
|
|
22365
22408
|
default: withCtx(() => [
|
|
22366
|
-
|
|
22409
|
+
_hoisted_7
|
|
22367
22410
|
]),
|
|
22368
22411
|
_: 1
|
|
22369
22412
|
}),
|
|
@@ -22371,13 +22414,13 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22371
22414
|
onClick: _cache[2] || (_cache[2] = ($event) => onAccept())
|
|
22372
22415
|
}, {
|
|
22373
22416
|
default: withCtx(() => [
|
|
22374
|
-
|
|
22417
|
+
_hoisted_8
|
|
22375
22418
|
]),
|
|
22376
22419
|
_: 1
|
|
22377
22420
|
})
|
|
22378
22421
|
])) : createCommentVNode("", true)
|
|
22379
22422
|
])) : createCommentVNode("", true)
|
|
22380
|
-
],
|
|
22423
|
+
], 6)
|
|
22381
22424
|
])
|
|
22382
22425
|
])) : createCommentVNode("", true);
|
|
22383
22426
|
};
|
|
@@ -22764,7 +22807,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22764
22807
|
},
|
|
22765
22808
|
setup(__props) {
|
|
22766
22809
|
const props = __props;
|
|
22767
|
-
let
|
|
22810
|
+
let cleekOptions2 = ref();
|
|
22768
22811
|
const altNeeded = ref(false);
|
|
22769
22812
|
const isMounted = ref(false);
|
|
22770
22813
|
const isFullPath = computed$2(() => {
|
|
@@ -22828,14 +22871,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22828
22871
|
;
|
|
22829
22872
|
}
|
|
22830
22873
|
function getImg(src) {
|
|
22831
|
-
|
|
22832
|
-
|
|
22833
|
-
path = $cleekOptions.img.basePath;
|
|
22834
|
-
}
|
|
22874
|
+
var _a;
|
|
22875
|
+
let path = ((_a = cleekOptions2.value) == null ? void 0 : _a.img.basePath) || "";
|
|
22835
22876
|
return `${path}${src}`;
|
|
22836
22877
|
}
|
|
22837
22878
|
onMounted(() => {
|
|
22838
|
-
|
|
22879
|
+
cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
|
|
22839
22880
|
isMounted.value = true;
|
|
22840
22881
|
});
|
|
22841
22882
|
hooks8.preventUnusedError([
|
|
@@ -22860,7 +22901,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22860
22901
|
};
|
|
22861
22902
|
}
|
|
22862
22903
|
});
|
|
22863
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
22904
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-7cd9662b"]]);
|
|
22864
22905
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22865
22906
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-2e09b238"), n = n(), popScopeId(), n);
|
|
22866
22907
|
const _hoisted_1$7 = ["onKeyup"];
|
|
@@ -22966,7 +23007,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22966
23007
|
expose({
|
|
22967
23008
|
setFocus
|
|
22968
23009
|
});
|
|
22969
|
-
let cleekOptions2;
|
|
23010
|
+
let cleekOptions2 = ref();
|
|
22970
23011
|
const defaultMinWidth = "180px";
|
|
22971
23012
|
const defaultClearValue = "auto";
|
|
22972
23013
|
const defaultReduceNameProp = "name";
|
|
@@ -22999,22 +23040,24 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22999
23040
|
return true;
|
|
23000
23041
|
});
|
|
23001
23042
|
const computedClassSelect = computed$2(() => {
|
|
23043
|
+
var _a, _b;
|
|
23002
23044
|
const list = [];
|
|
23003
23045
|
list.push(hooks8.getGroupClass(props, windowWidth.value));
|
|
23004
|
-
const layout =
|
|
23046
|
+
const layout = props.layout || ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.layout);
|
|
23005
23047
|
if (layout)
|
|
23006
23048
|
list.push(layout);
|
|
23007
23049
|
if (isClearBtnVisible.value)
|
|
23008
23050
|
list.push("clear-able");
|
|
23009
|
-
const borderColor =
|
|
23051
|
+
const borderColor = props.borderColor || ((_b = cleekOptions2.value) == null ? void 0 : _b.styles.borderColor);
|
|
23010
23052
|
if (borderColor && hooks8.isColorTemplateVariable(borderColor)) {
|
|
23011
23053
|
list.push(`ck-component__border-color--${borderColor}`);
|
|
23012
23054
|
}
|
|
23013
23055
|
return list;
|
|
23014
23056
|
});
|
|
23015
23057
|
const computedStyleSelect = computed$2(() => {
|
|
23058
|
+
var _a;
|
|
23016
23059
|
const list = [];
|
|
23017
|
-
const borderColor =
|
|
23060
|
+
const borderColor = props.borderColor || ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.borderColor);
|
|
23018
23061
|
if (borderColor && !hooks8.isColorTemplateVariable(borderColor)) {
|
|
23019
23062
|
list.push({ "border-color": borderColor });
|
|
23020
23063
|
}
|
|
@@ -23099,7 +23142,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
23099
23142
|
function setFocus() {
|
|
23100
23143
|
}
|
|
23101
23144
|
onMounted(() => {
|
|
23102
|
-
cleekOptions2 = hooks8.getCleekOptions(getCurrentInstance);
|
|
23145
|
+
cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
|
|
23103
23146
|
});
|
|
23104
23147
|
hooks8.preventUnusedError([
|
|
23105
23148
|
computedStyle,
|
|
@@ -23152,7 +23195,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
23152
23195
|
};
|
|
23153
23196
|
}
|
|
23154
23197
|
});
|
|
23155
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
23198
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6e28e1de"]]);
|
|
23156
23199
|
var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23157
23200
|
const _hoisted_1$5 = {
|
|
23158
23201
|
key: 1,
|
|
@@ -23428,14 +23471,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23428
23471
|
}
|
|
23429
23472
|
});
|
|
23430
23473
|
const computedClassTextarea = computed$2(() => {
|
|
23431
|
-
var _a, _b
|
|
23474
|
+
var _a, _b;
|
|
23432
23475
|
const list = [];
|
|
23433
|
-
const layout = props.layout || ((
|
|
23476
|
+
const layout = props.layout || ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.layout);
|
|
23434
23477
|
if (layout)
|
|
23435
23478
|
list.push(layout);
|
|
23436
|
-
const borderColor = props.borderColor || ((
|
|
23437
|
-
console.log("textarea", borderColor);
|
|
23438
|
-
console.log("cleekOptions", cleekOptions2.value);
|
|
23479
|
+
const borderColor = props.borderColor || ((_b = cleekOptions2.value) == null ? void 0 : _b.styles.borderColor);
|
|
23439
23480
|
if (borderColor && hooks8.isColorTemplateVariable(borderColor)) {
|
|
23440
23481
|
list.push(`ck-component__border-color--${borderColor}`);
|
|
23441
23482
|
}
|
|
@@ -23475,7 +23516,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23475
23516
|
};
|
|
23476
23517
|
}
|
|
23477
23518
|
});
|
|
23478
|
-
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
23519
|
+
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-67887c28"]]);
|
|
23479
23520
|
var CkConfirm_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23480
23521
|
const _withScopeId = (n) => (pushScopeId("data-v-bc51fc7a"), n = n(), popScopeId(), n);
|
|
23481
23522
|
const _hoisted_1$1 = { class: "ck-confirm--background" };
|