cleek 2.3.43 → 2.3.46
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.
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
.cursor-auto
|
|
2
|
+
cursor: auto;
|
|
3
|
+
.cursor-default
|
|
4
|
+
cursor: default;
|
|
5
|
+
.cursor-pointer
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
.cursor-wait
|
|
8
|
+
cursor: wait;
|
|
9
|
+
.cursor-text
|
|
10
|
+
cursor: text;
|
|
11
|
+
.cursor-move
|
|
12
|
+
cursor: move;
|
|
13
|
+
.cursor-help
|
|
14
|
+
cursor: help;
|
|
15
|
+
.cursor-not-allowed
|
|
16
|
+
cursor: not-allowed;
|
|
17
|
+
.cursor-none
|
|
18
|
+
cursor: none;
|
|
19
|
+
.cursor-context-menu
|
|
20
|
+
cursor: context-menu;
|
|
21
|
+
.cursor-progress
|
|
22
|
+
cursor: progress;
|
|
23
|
+
.cursor-cell
|
|
24
|
+
cursor: cell;
|
|
25
|
+
.cursor-crosshair
|
|
26
|
+
cursor: crosshair;
|
|
27
|
+
.cursor-vertical-text
|
|
28
|
+
cursor: vertical-text;
|
|
29
|
+
.cursor-alias
|
|
30
|
+
cursor: alias;
|
|
31
|
+
.cursor-copy
|
|
32
|
+
cursor: copy;
|
|
33
|
+
.cursor-no-drop
|
|
34
|
+
cursor: no-drop;
|
|
35
|
+
.cursor-grab
|
|
36
|
+
cursor: grab;
|
|
37
|
+
.cursor-grabbing
|
|
38
|
+
cursor: grabbing;
|
|
39
|
+
.cursor-all-scroll
|
|
40
|
+
cursor: all-scroll;
|
|
41
|
+
.cursor-col-resize
|
|
42
|
+
cursor: col-resize;
|
|
43
|
+
.cursor-row-resize
|
|
44
|
+
cursor: row-resize;
|
|
45
|
+
.cursor-n-resize
|
|
46
|
+
cursor: n-resize;
|
|
47
|
+
.cursor-e-resize
|
|
48
|
+
cursor: e-resize;
|
|
49
|
+
.cursor-s-resize
|
|
50
|
+
cursor: s-resize;
|
|
51
|
+
.cursor-w-resize
|
|
52
|
+
cursor: w-resize;
|
|
53
|
+
.cursor-ne-resize
|
|
54
|
+
cursor: ne-resize;
|
|
55
|
+
.cursor-nw-resize
|
|
56
|
+
cursor: nw-resize;
|
|
57
|
+
.cursor-se-resize
|
|
58
|
+
cursor: se-resize;
|
|
59
|
+
.cursor-sw-resize
|
|
60
|
+
cursor: sw-resize;
|
|
61
|
+
.cursor-ew-resize
|
|
62
|
+
cursor: ew-resize;
|
|
63
|
+
.cursor-ns-resize
|
|
64
|
+
cursor: ns-resize;
|
|
65
|
+
.cursor-nesw-resize
|
|
66
|
+
cursor: nesw-resize;
|
|
67
|
+
.cursor-nwse-resize
|
|
68
|
+
cursor: nwse-resize;
|
|
69
|
+
.cursor-zoom-in
|
|
70
|
+
cursor: zoom-in;
|
|
71
|
+
.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,14 @@ 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
|
+
reduceKeyProp: { type: String, default: "name" },
|
|
18994
19004
|
autofocus: { type: Boolean, default: false },
|
|
18995
19005
|
noDataText: { type: String, default: "No se encontr\xF3 nada" },
|
|
18996
19006
|
notReduce: { type: Boolean, default: false },
|
|
18997
19007
|
options: { type: Array, default: () => [] },
|
|
18998
|
-
|
|
19008
|
+
reduceNameFunction: { type: Function, default: (option) => option.name },
|
|
19009
|
+
reduceKeyFunction: { type: Function, default: (option) => option.id },
|
|
18999
19010
|
notClearable: { type: Boolean, default: false },
|
|
19000
19011
|
clearValue: { type: [Boolean, String], default: "auto" },
|
|
19001
19012
|
searchable: { type: [Boolean, String], default: "auto" },
|
|
@@ -19102,17 +19113,16 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19102
19113
|
emits("change", event);
|
|
19103
19114
|
}
|
|
19104
19115
|
function getOptionKey(option) {
|
|
19105
|
-
|
|
19116
|
+
if (!props.notReduce)
|
|
19117
|
+
props.reduceKeyFunction(option);
|
|
19118
|
+
return option;
|
|
19106
19119
|
}
|
|
19107
19120
|
function getOptionName(option) {
|
|
19108
|
-
if (
|
|
19109
|
-
return option;
|
|
19110
|
-
|
|
19111
|
-
|
|
19112
|
-
|
|
19113
|
-
if (props.notReduce)
|
|
19114
|
-
return option;
|
|
19115
|
-
return props.reduceFunction(option);
|
|
19121
|
+
if (props.prop || props.reduceKeyProp)
|
|
19122
|
+
return option[props.prop || props.reduceKeyProp];
|
|
19123
|
+
if (props.reduceNameFunction)
|
|
19124
|
+
return props.reduceNameFunction(option);
|
|
19125
|
+
return option;
|
|
19116
19126
|
}
|
|
19117
19127
|
function setFocus() {
|
|
19118
19128
|
}
|
|
@@ -19150,7 +19160,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19150
19160
|
};
|
|
19151
19161
|
}
|
|
19152
19162
|
});
|
|
19153
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
19163
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6793cdee"]]);
|
|
19154
19164
|
var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
19155
19165
|
const _withScopeId = (n) => (pushScopeId("data-v-7e2f20c4"), n = n(), popScopeId(), n);
|
|
19156
19166
|
const _hoisted_1$3 = ["disabled"];
|
|
@@ -22022,7 +22032,6 @@ function getCleekOptions(userOptions) {
|
|
|
22022
22032
|
}
|
|
22023
22033
|
}
|
|
22024
22034
|
setRootColors(options.colors);
|
|
22025
|
-
console.log("finalOptions", options);
|
|
22026
22035
|
return options;
|
|
22027
22036
|
}
|
|
22028
22037
|
const install = function installCleek(app, options) {
|