cleek 2.1.3 → 2.1.4
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.
|
@@ -55,6 +55,8 @@ margin-padding-bottom(val)
|
|
|
55
55
|
|
|
56
56
|
my-box-shadow(val = 0.05, color = black)
|
|
57
57
|
box-shadow 0 4px 20px 0 rgba(color, val)
|
|
58
|
+
ck-box-shadow(val = 0.05, color = black)
|
|
59
|
+
box-shadow 0 4px 20px 0 rgba(color, val)
|
|
58
60
|
// flex shortcuts
|
|
59
61
|
justify-align-center()
|
|
60
62
|
align-items center
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
@import './.custom';
|
|
1
2
|
@import './align-items';
|
|
2
3
|
@import './display';
|
|
4
|
+
@import './justify-content';
|
|
3
5
|
@import './margin';
|
|
4
6
|
@import './padding';
|
|
7
|
+
@import './position';
|
|
5
8
|
@import './text-align';
|
|
6
|
-
@import './width';
|
|
7
|
-
@import './.custom';
|
|
8
|
-
@import './justify-content';
|
|
9
|
+
@import './width';
|
package/dist/cleek.es.js
CHANGED
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, ref, openBlock, createElementBlock, createElementVNode, renderSlot, normalizeClass, createCommentVNode, computed as computed$2,
|
|
20
|
+
import { defineComponent, ref, openBlock, createElementBlock, createElementVNode, renderSlot, normalizeClass, createCommentVNode, computed as computed$2, normalizeStyle, unref as unref$1, watch, h, createBlock, onMounted, getCurrentInstance, mergeProps, withKeys, withModifiers, pushScopeId, popScopeId, withCtx, createTextVNode, toDisplayString, withDirectives, isRef as isRef$1, vModelDynamic, createVNode, Fragment, renderList, vModelRadio, vModelSelect, vModelCheckbox, vModelText } from "vue";
|
|
21
21
|
var ckDropdown_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22
22
|
var _export_sfc = (sfc, props) => {
|
|
23
23
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -27,7 +27,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
27
27
|
return target;
|
|
28
28
|
};
|
|
29
29
|
const _hoisted_1$j = { class: "ck-dropdown" };
|
|
30
|
-
const _sfc_main$
|
|
30
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
31
31
|
props: {
|
|
32
32
|
triggerType: { type: String, default: "click" },
|
|
33
33
|
dark: { type: Boolean, default: false }
|
|
@@ -71,7 +71,44 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
|
-
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
74
|
+
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-64a91fb4"]]);
|
|
75
|
+
var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
76
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
77
|
+
props: {
|
|
78
|
+
padding: { type: String, default: 0 },
|
|
79
|
+
position: { type: String, default: "fixed" }
|
|
80
|
+
},
|
|
81
|
+
setup(__props) {
|
|
82
|
+
const props = __props;
|
|
83
|
+
const computedClassContent = computed$2(() => {
|
|
84
|
+
const list = [];
|
|
85
|
+
if (props.padding)
|
|
86
|
+
list.push("has-padding");
|
|
87
|
+
return list;
|
|
88
|
+
});
|
|
89
|
+
const computedStyle = computed$2(() => {
|
|
90
|
+
const list = [];
|
|
91
|
+
if (props.padding)
|
|
92
|
+
list.push({ padding: props.padding });
|
|
93
|
+
if (props.position)
|
|
94
|
+
list.push({ position: props.position });
|
|
95
|
+
return list;
|
|
96
|
+
});
|
|
97
|
+
return (_ctx, _cache) => {
|
|
98
|
+
return openBlock(), createElementBlock("div", {
|
|
99
|
+
class: "ck-navbar",
|
|
100
|
+
style: normalizeStyle(unref$1(computedStyle))
|
|
101
|
+
}, [
|
|
102
|
+
createElementVNode("div", {
|
|
103
|
+
class: normalizeClass(["ck-navbar__content", unref$1(computedClassContent)])
|
|
104
|
+
}, [
|
|
105
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
106
|
+
], 2)
|
|
107
|
+
], 4);
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-345fa562"]]);
|
|
75
112
|
var validators = {
|
|
76
113
|
size: (type) => {
|
|
77
114
|
return ["", "xs", "s", "m", "l", "xl"].includes(type);
|
|
@@ -12299,7 +12336,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
12299
12336
|
};
|
|
12300
12337
|
}
|
|
12301
12338
|
});
|
|
12302
|
-
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
12339
|
+
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-5333de26"]]);
|
|
12303
12340
|
var globalVariables = {
|
|
12304
12341
|
defaultFailImg: "df",
|
|
12305
12342
|
imagesFolderPath: "",
|
|
@@ -12415,7 +12452,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
12415
12452
|
};
|
|
12416
12453
|
}
|
|
12417
12454
|
});
|
|
12418
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
12455
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-acde673a"]]);
|
|
12419
12456
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12420
12457
|
const _hoisted_1$e = ["for"];
|
|
12421
12458
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
@@ -12443,7 +12480,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
12443
12480
|
};
|
|
12444
12481
|
}
|
|
12445
12482
|
});
|
|
12446
|
-
var ckLabel = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
12483
|
+
var ckLabel = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-ef74ea02"]]);
|
|
12447
12484
|
var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12448
12485
|
const _hoisted_1$d = { class: "ck-input" };
|
|
12449
12486
|
const _hoisted_2$7 = ["type", "placeholder", "id", "disabled"];
|
|
@@ -12551,7 +12588,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
12551
12588
|
};
|
|
12552
12589
|
}
|
|
12553
12590
|
});
|
|
12554
|
-
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
12591
|
+
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-5db08b1e"]]);
|
|
12555
12592
|
var ckPopup_vue_vue_type_style_index_0_lang = "";
|
|
12556
12593
|
const _hoisted_1$c = {
|
|
12557
12594
|
key: 0,
|
|
@@ -13317,7 +13354,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
13317
13354
|
};
|
|
13318
13355
|
}
|
|
13319
13356
|
});
|
|
13320
|
-
var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
13357
|
+
var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-2c3e07c8"]]);
|
|
13321
13358
|
const _hoisted_1$7 = { class: "ck-tr" };
|
|
13322
13359
|
function render$1(_ctx, _cache) {
|
|
13323
13360
|
return openBlock(), createElementBlock("tr", _hoisted_1$7, [
|
|
@@ -13470,7 +13507,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
13470
13507
|
};
|
|
13471
13508
|
}
|
|
13472
13509
|
});
|
|
13473
|
-
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
13510
|
+
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-4f5cca80"]]);
|
|
13474
13511
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
13475
13512
|
const _hoisted_1$4 = { class: "ck-table__pagination" };
|
|
13476
13513
|
const _hoisted_2$2 = ["onClick"];
|
|
@@ -13598,7 +13635,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
13598
13635
|
};
|
|
13599
13636
|
}
|
|
13600
13637
|
}));
|
|
13601
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
13638
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4045b8e3"]]);
|
|
13602
13639
|
var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
13603
13640
|
const _hoisted_1$3 = { class: "columns-manger-container" };
|
|
13604
13641
|
const _hoisted_2$1 = { class: "columns-manger__item" };
|
|
@@ -16530,6 +16567,7 @@ var components = /* @__PURE__ */ Object.freeze({
|
|
|
16530
16567
|
__proto__: null,
|
|
16531
16568
|
[Symbol.toStringTag]: "Module",
|
|
16532
16569
|
ckDropdown,
|
|
16570
|
+
ckNavbar,
|
|
16533
16571
|
ckButton,
|
|
16534
16572
|
ckCheckbox,
|
|
16535
16573
|
ckChip,
|
|
@@ -16584,4 +16622,4 @@ const install = function installCleek(app, options) {
|
|
|
16584
16622
|
app.component(componentName, component);
|
|
16585
16623
|
});
|
|
16586
16624
|
};
|
|
16587
|
-
export { events as EVENTS, mitt as EventBus, ckButton, ckCheckbox, ckChip, ckDropdown, ckIcon, ckImg, ckInput, ckLabel, _sfc_main$e as ckPopup, ckRadio, ckSelect, ckSwitch, ckSwitchOptions, ckTable, ckTd, ckTextarea, ckTh, ckTooltip, ckTr, install as default, lockScroll, unlockScroll };
|
|
16625
|
+
export { events as EVENTS, mitt as EventBus, ckButton, ckCheckbox, ckChip, ckDropdown, ckIcon, ckImg, ckInput, ckLabel, ckNavbar, _sfc_main$e as ckPopup, ckRadio, ckSelect, ckSwitch, ckSwitchOptions, ckTable, ckTd, ckTextarea, ckTh, ckTooltip, ckTr, install as default, lockScroll, unlockScroll };
|