cleek 2.3.44 → 2.3.47
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/tiny-tailwind/cursor.styl +36 -36
- package/dist/cleek.es.js +30 -17
- package/dist/cleek.umd.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
.cursor-auto
|
|
2
|
-
cursor auto
|
|
2
|
+
cursor: auto;
|
|
3
3
|
.cursor-default
|
|
4
|
-
cursor default
|
|
4
|
+
cursor: default;
|
|
5
5
|
.cursor-pointer
|
|
6
|
-
cursor pointer
|
|
6
|
+
cursor: pointer;
|
|
7
7
|
.cursor-wait
|
|
8
|
-
cursor wait
|
|
8
|
+
cursor: wait;
|
|
9
9
|
.cursor-text
|
|
10
|
-
cursor text
|
|
10
|
+
cursor: text;
|
|
11
11
|
.cursor-move
|
|
12
|
-
cursor move
|
|
12
|
+
cursor: move;
|
|
13
13
|
.cursor-help
|
|
14
|
-
cursor help
|
|
14
|
+
cursor: help;
|
|
15
15
|
.cursor-not-allowed
|
|
16
|
-
cursor not-allowed
|
|
16
|
+
cursor: not-allowed;
|
|
17
17
|
.cursor-none
|
|
18
|
-
cursor none;
|
|
18
|
+
cursor: none;
|
|
19
19
|
.cursor-context-menu
|
|
20
|
-
cursor context-menu
|
|
20
|
+
cursor: context-menu;
|
|
21
21
|
.cursor-progress
|
|
22
|
-
cursor progress
|
|
22
|
+
cursor: progress;
|
|
23
23
|
.cursor-cell
|
|
24
|
-
cursor cell
|
|
24
|
+
cursor: cell;
|
|
25
25
|
.cursor-crosshair
|
|
26
|
-
cursor crosshair
|
|
26
|
+
cursor: crosshair;
|
|
27
27
|
.cursor-vertical-text
|
|
28
|
-
cursor vertical-text
|
|
28
|
+
cursor: vertical-text;
|
|
29
29
|
.cursor-alias
|
|
30
|
-
cursor alias
|
|
30
|
+
cursor: alias;
|
|
31
31
|
.cursor-copy
|
|
32
|
-
cursor copy
|
|
32
|
+
cursor: copy;
|
|
33
33
|
.cursor-no-drop
|
|
34
|
-
cursor no-drop
|
|
34
|
+
cursor: no-drop;
|
|
35
35
|
.cursor-grab
|
|
36
|
-
cursor grab
|
|
36
|
+
cursor: grab;
|
|
37
37
|
.cursor-grabbing
|
|
38
|
-
cursor grabbing
|
|
38
|
+
cursor: grabbing;
|
|
39
39
|
.cursor-all-scroll
|
|
40
|
-
cursor all-scroll
|
|
40
|
+
cursor: all-scroll;
|
|
41
41
|
.cursor-col-resize
|
|
42
|
-
cursor col-resize
|
|
42
|
+
cursor: col-resize;
|
|
43
43
|
.cursor-row-resize
|
|
44
|
-
cursor row-resize
|
|
44
|
+
cursor: row-resize;
|
|
45
45
|
.cursor-n-resize
|
|
46
|
-
cursor n-resize
|
|
46
|
+
cursor: n-resize;
|
|
47
47
|
.cursor-e-resize
|
|
48
|
-
cursor e-resize
|
|
48
|
+
cursor: e-resize;
|
|
49
49
|
.cursor-s-resize
|
|
50
|
-
cursor s-resize
|
|
50
|
+
cursor: s-resize;
|
|
51
51
|
.cursor-w-resize
|
|
52
|
-
cursor w-resize
|
|
52
|
+
cursor: w-resize;
|
|
53
53
|
.cursor-ne-resize
|
|
54
|
-
cursor ne-resize
|
|
54
|
+
cursor: ne-resize;
|
|
55
55
|
.cursor-nw-resize
|
|
56
|
-
cursor nw-resize
|
|
56
|
+
cursor: nw-resize;
|
|
57
57
|
.cursor-se-resize
|
|
58
|
-
cursor se-resize
|
|
58
|
+
cursor: se-resize;
|
|
59
59
|
.cursor-sw-resize
|
|
60
|
-
cursor sw-resize
|
|
60
|
+
cursor: sw-resize;
|
|
61
61
|
.cursor-ew-resize
|
|
62
|
-
cursor ew-resize
|
|
62
|
+
cursor: ew-resize;
|
|
63
63
|
.cursor-ns-resize
|
|
64
|
-
cursor ns-resize
|
|
64
|
+
cursor: ns-resize;
|
|
65
65
|
.cursor-nesw-resize
|
|
66
|
-
cursor nesw-resize
|
|
66
|
+
cursor: nesw-resize;
|
|
67
67
|
.cursor-nwse-resize
|
|
68
|
-
cursor nwse-resize
|
|
68
|
+
cursor: nwse-resize;
|
|
69
69
|
.cursor-zoom-in
|
|
70
|
-
cursor zoom-in
|
|
70
|
+
cursor: zoom-in;
|
|
71
71
|
.cursor-zoom-out
|
|
72
|
-
cursor zoom-out
|
|
72
|
+
cursor: zoom-out;
|
package/dist/cleek.es.js
CHANGED
|
@@ -16882,9 +16882,10 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
16882
16882
|
width: { type: String, default: void 0 },
|
|
16883
16883
|
align: { type: String, validator: validators.align, default: void 0 },
|
|
16884
16884
|
rounded: { type: Boolean, default: false },
|
|
16885
|
-
autoSelect: { type: Boolean, default: false }
|
|
16885
|
+
autoSelect: { type: Boolean, default: false },
|
|
16886
|
+
delayChangeTime: { type: [Number, String], default: 300 }
|
|
16886
16887
|
},
|
|
16887
|
-
emits: ["update:modelValue", "click", "input", "change"],
|
|
16888
|
+
emits: ["update:modelValue", "click", "input", "change", "delayChange"],
|
|
16888
16889
|
setup(__props, { expose, emit: emits }) {
|
|
16889
16890
|
const props = __props;
|
|
16890
16891
|
const { windowWidth } = useWindowWidth();
|
|
@@ -16896,6 +16897,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
16896
16897
|
},
|
|
16897
16898
|
set(val) {
|
|
16898
16899
|
emits("update:modelValue", val);
|
|
16900
|
+
checkSearchTime(val);
|
|
16899
16901
|
}
|
|
16900
16902
|
});
|
|
16901
16903
|
const realLabelAlign = computed$2(() => {
|
|
@@ -16949,6 +16951,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
16949
16951
|
function setSelect() {
|
|
16950
16952
|
realInput.value.select();
|
|
16951
16953
|
}
|
|
16954
|
+
function checkSearchTime(oldValue) {
|
|
16955
|
+
setTimeout(() => {
|
|
16956
|
+
if (value.value === oldValue) {
|
|
16957
|
+
emits("delayChange", oldValue);
|
|
16958
|
+
}
|
|
16959
|
+
}, +props.delayChangeTime);
|
|
16960
|
+
}
|
|
16952
16961
|
return (_ctx, _cache) => {
|
|
16953
16962
|
return openBlock(), createElementBlock("div", {
|
|
16954
16963
|
class: "ck-input",
|
|
@@ -16998,7 +17007,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
16998
17007
|
};
|
|
16999
17008
|
}
|
|
17000
17009
|
});
|
|
17001
|
-
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
17010
|
+
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-bda15796"]]);
|
|
17002
17011
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
17003
17012
|
const _hoisted_1$d = { class: "ck-table__header-items" };
|
|
17004
17013
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
@@ -18990,12 +18999,16 @@ const _hoisted_1$4 = ["value"];
|
|
|
18990
18999
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
18991
19000
|
props: {
|
|
18992
19001
|
modelValue: { default: null, type: [Boolean, Number, Object, Array, String] },
|
|
18993
|
-
prop: { type: String, default:
|
|
19002
|
+
prop: { type: String, default: void 0 },
|
|
19003
|
+
reduceValueProp: { type: String, default: "id" },
|
|
19004
|
+
reduceNameProp: { type: String, default: "name" },
|
|
18994
19005
|
autofocus: { type: Boolean, default: false },
|
|
18995
19006
|
noDataText: { type: String, default: "No se encontr\xF3 nada" },
|
|
18996
19007
|
notReduce: { type: Boolean, default: false },
|
|
19008
|
+
notReduceValue: { type: Boolean, default: false },
|
|
18997
19009
|
options: { type: Array, default: () => [] },
|
|
18998
|
-
|
|
19010
|
+
reduceNameFunction: { type: Function, default: void 0 },
|
|
19011
|
+
reduceValueFunction: { type: Function, default: void 0 },
|
|
18999
19012
|
notClearable: { type: Boolean, default: false },
|
|
19000
19013
|
clearValue: { type: [Boolean, String], default: "auto" },
|
|
19001
19014
|
searchable: { type: [Boolean, String], default: "auto" },
|
|
@@ -19088,7 +19101,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19088
19101
|
if (!props.modelValue)
|
|
19089
19102
|
return null;
|
|
19090
19103
|
if (props.modelValue.constructor === Array) {
|
|
19091
|
-
return props.modelValue.length
|
|
19104
|
+
return props.modelValue.length === 0;
|
|
19092
19105
|
}
|
|
19093
19106
|
return Object.keys(props.modelValue).length === 0;
|
|
19094
19107
|
default:
|
|
@@ -19101,18 +19114,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19101
19114
|
function onChange2(event) {
|
|
19102
19115
|
emits("change", event);
|
|
19103
19116
|
}
|
|
19104
|
-
function
|
|
19105
|
-
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
if (!props.prop)
|
|
19117
|
+
function getOptionValue(option) {
|
|
19118
|
+
if (props.reduceValueFunction)
|
|
19119
|
+
return props.reduceValueFunction(option);
|
|
19120
|
+
if (props.notReduceValue || props.notReduce)
|
|
19109
19121
|
return option;
|
|
19110
|
-
return option[props.
|
|
19122
|
+
return option[props.reduceValueProp];
|
|
19111
19123
|
}
|
|
19112
|
-
function
|
|
19124
|
+
function getOptionName(option) {
|
|
19125
|
+
if (props.reduceNameFunction)
|
|
19126
|
+
return props.reduceNameFunction(option);
|
|
19113
19127
|
if (props.notReduce)
|
|
19114
19128
|
return option;
|
|
19115
|
-
return props.
|
|
19129
|
+
return option[props.prop || props.reduceNameProp];
|
|
19116
19130
|
}
|
|
19117
19131
|
function setFocus() {
|
|
19118
19132
|
}
|
|
@@ -19139,7 +19153,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19139
19153
|
}, [
|
|
19140
19154
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(filteredOptions), (option) => {
|
|
19141
19155
|
return openBlock(), createElementBlock("option", {
|
|
19142
|
-
value:
|
|
19156
|
+
value: getOptionValue(option),
|
|
19143
19157
|
key: option
|
|
19144
19158
|
}, toDisplayString(getOptionName(option)), 9, _hoisted_1$4);
|
|
19145
19159
|
}), 128))
|
|
@@ -19150,7 +19164,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19150
19164
|
};
|
|
19151
19165
|
}
|
|
19152
19166
|
});
|
|
19153
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
19167
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-0a65ade3"]]);
|
|
19154
19168
|
var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
19155
19169
|
const _withScopeId = (n) => (pushScopeId("data-v-7e2f20c4"), n = n(), popScopeId(), n);
|
|
19156
19170
|
const _hoisted_1$3 = ["disabled"];
|
|
@@ -22022,7 +22036,6 @@ function getCleekOptions(userOptions) {
|
|
|
22022
22036
|
}
|
|
22023
22037
|
}
|
|
22024
22038
|
setRootColors(options.colors);
|
|
22025
|
-
console.log("finalOptions", options);
|
|
22026
22039
|
return options;
|
|
22027
22040
|
}
|
|
22028
22041
|
const install = function installCleek(app, options) {
|