cleek 2.3.42 → 2.3.45

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;
@@ -1,5 +1,6 @@
1
1
  @import './.custom';
2
2
  @import './align-items';
3
+ @import './cursor';
3
4
  @import './display';
4
5
  @import './flex-shrink';
5
6
  @import './flex-wrap';
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-35324670"]]);
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({
@@ -18076,7 +18085,7 @@ const _hoisted_4$3 = {
18076
18085
  class: "ck-popup__title"
18077
18086
  };
18078
18087
  const _hoisted_5$1 = { class: "ck-popup__slot-body" };
18079
- const _hoisted_6 = {
18088
+ const _hoisted_6$1 = {
18080
18089
  key: 0,
18081
18090
  class: "ck-popup__slot-footer"
18082
18091
  };
@@ -18153,7 +18162,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18153
18162
  createElementVNode("div", _hoisted_5$1, [
18154
18163
  renderSlot(_ctx.$slots, "default")
18155
18164
  ]),
18156
- _ctx.$slots.footer || __props.confirmButtons ? (openBlock(), createElementBlock("div", _hoisted_6, [
18165
+ _ctx.$slots.footer || __props.confirmButtons ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
18157
18166
  renderSlot(_ctx.$slots, "footer"),
18158
18167
  __props.confirmButtons ? (openBlock(), createElementBlock("div", _hoisted_7, [
18159
18168
  createVNode(ckButton, {
@@ -18543,6 +18552,10 @@ const _hoisted_3$2 = {
18543
18552
  };
18544
18553
  const _hoisted_4$2 = { key: 0 };
18545
18554
  const _hoisted_5 = { key: 1 };
18555
+ const _hoisted_6 = {
18556
+ key: 2,
18557
+ class: "ck-table--mobile-container"
18558
+ };
18546
18559
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18547
18560
  props: {
18548
18561
  columns: { type: [Array, Object], required: true, default: () => [] },
@@ -18661,7 +18674,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18661
18674
  renderSlot(_ctx.$slots, "header", {}, void 0, true)
18662
18675
  ])) : createCommentVNode("", true)
18663
18676
  ])) : createCommentVNode("", true),
18664
- createElementVNode("div", {
18677
+ !unref$1(isMobileVisible) ? (openBlock(), createElementBlock("div", {
18678
+ key: 1,
18665
18679
  class: normalizeClass(["ck-table__table-container", { "not-overflow": __props.notOverflow }])
18666
18680
  }, [
18667
18681
  createElementVNode("table", {
@@ -18682,9 +18696,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18682
18696
  ])) : createCommentVNode("", true),
18683
18697
  createElementVNode("tbody", null, [
18684
18698
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
18685
- !unref$1(isMobileVisible) ? renderSlot(_ctx.$slots, "desktop", { key: 0 }, void 0, true) : createCommentVNode("", true),
18686
- unref$1(isMobileVisible) ? renderSlot(_ctx.$slots, "mobile", { key: 1 }, void 0, true) : createCommentVNode("", true),
18687
- __props.listLength === 0 ? (openBlock(), createBlock(ckTr, { key: 2 }, {
18699
+ renderSlot(_ctx.$slots, "desktop", {}, void 0, true),
18700
+ __props.listLength === 0 ? (openBlock(), createBlock(ckTr, { key: 0 }, {
18688
18701
  default: withCtx(() => [
18689
18702
  createVNode(ckTd, {
18690
18703
  class: "no-result-text",
@@ -18704,7 +18717,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18704
18717
  renderSlot(_ctx.$slots, "footer", {}, void 0, true)
18705
18718
  ])) : createCommentVNode("", true)
18706
18719
  ], 2)
18707
- ], 2),
18720
+ ], 2)) : createCommentVNode("", true),
18721
+ unref$1(isMobileVisible) ? (openBlock(), createElementBlock("div", _hoisted_6, [
18722
+ renderSlot(_ctx.$slots, "mobile", {}, void 0, true)
18723
+ ])) : createCommentVNode("", true),
18708
18724
  createVNode(TablePagination, {
18709
18725
  class: "ck-table__pagination",
18710
18726
  currentPage: unref$1(currentPageLocal),
@@ -18719,7 +18735,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18719
18735
  };
18720
18736
  }
18721
18737
  });
18722
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3d8c946e"]]);
18738
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-13907a88"]]);
18723
18739
  var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
18724
18740
  const _hoisted_1$7 = ["color"];
18725
18741
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
@@ -22015,7 +22031,6 @@ function getCleekOptions(userOptions) {
22015
22031
  }
22016
22032
  }
22017
22033
  setRootColors(options.colors);
22018
- console.log("finalOptions", options);
22019
22034
  return options;
22020
22035
  }
22021
22036
  const install = function installCleek(app, options) {