eco-vue-js 0.11.51 → 0.11.52

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.
Files changed (31) hide show
  1. package/dist/assets/icons/IconRange.svg.js +24 -0
  2. package/dist/assets/icons/IconShift.svg.js +25 -0
  3. package/dist/components/Button/WButtonSelectionAction.vue.d.ts +19 -3
  4. package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
  5. package/dist/components/Button/WButtonSelectionAction.vue.js +17 -11
  6. package/dist/components/Input/WInput.vue.d.ts.map +1 -1
  7. package/dist/components/Input/WInput.vue.js +5 -0
  8. package/dist/components/Input/WInputSuggest.vue.d.ts +10 -2
  9. package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
  10. package/dist/components/Input/WInputSuggest.vue.js +5 -2
  11. package/dist/components/Input/components/ContentEditable.vue.d.ts +1 -0
  12. package/dist/components/Input/components/ContentEditable.vue.d.ts.map +1 -1
  13. package/dist/components/Input/components/ContentEditable.vue2.js +3 -22
  14. package/dist/components/Input/models/utils.d.ts.map +1 -1
  15. package/dist/components/Input/models/utils.js +1 -3
  16. package/dist/components/List/WList.vue.d.ts.map +1 -1
  17. package/dist/components/List/WList.vue.js +39 -12
  18. package/dist/components/List/components/HeaderSettings.vue.d.ts.map +1 -1
  19. package/dist/components/List/components/HeaderSettings.vue.js +2 -1
  20. package/dist/components/List/components/HeaderSort.vue.d.ts.map +1 -1
  21. package/dist/components/List/components/HeaderSort.vue.js +2 -1
  22. package/dist/components/Slider/WSlider.vue.js +3 -3
  23. package/dist/components/Slider/WSliderRange.vue.js +3 -3
  24. package/dist/main.d.ts +2 -0
  25. package/dist/main.d.ts.map +1 -1
  26. package/dist/main.js +2 -0
  27. package/dist/utils/useSelected.d.ts +2 -0
  28. package/dist/utils/useSelected.d.ts.map +1 -1
  29. package/dist/utils/useSelected.js +19 -6
  30. package/package.json +1 -1
  31. package/tailwind-base/plugins/w-ripple.ts +18 -1
@@ -0,0 +1,24 @@
1
+ import { createElementBlock, openBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ width: "20",
5
+ height: "20",
6
+ viewBox: "0 0 24 24",
7
+ fill: "none",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+
11
+ function render(_ctx, _cache) {
12
+ return (openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
13
+ createElementVNode("path", {
14
+ d: "M3 22h18M3 2h18m-9 4v12m2.83-10.28L12 4.89 9.17 7.72m5.66 8.17L12 18.72l-2.83-2.83",
15
+ stroke: "currentcolor",
16
+ "stroke-linecap": "round",
17
+ "stroke-linejoin": "round",
18
+ "stroke-width": "1.5"
19
+ }, null, -1)
20
+ ])))
21
+ }
22
+ const IconRange = { render: render };
23
+
24
+ export { IconRange as default, render };
@@ -0,0 +1,25 @@
1
+ import { createElementBlock, openBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ width: "20",
5
+ height: "20",
6
+ viewBox: "0 0 24 24",
7
+ fill: "none",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+
11
+ function render(_ctx, _cache) {
12
+ return (openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
13
+ createElementVNode("path", {
14
+ d: "m4.43 12.57 6.86-6.86a1 1 0 0 1 1.42 0l6.86 6.86c.16.16.05.43-.17.43h-3.9v5h-7v-5H4.6a.25.25 0 0 1-.17-.43",
15
+ stroke: "currentcolor",
16
+ "stroke-linecap": "round",
17
+ "stroke-linejoin": "round",
18
+ "stroke-miterlimit": "10",
19
+ "stroke-width": "1.5"
20
+ }, null, -1)
21
+ ])))
22
+ }
23
+ const IconShift = { render: render };
24
+
25
+ export { IconShift as default, render };
@@ -5,11 +5,27 @@ type __VLS_Props = {
5
5
  disabled?: boolean;
6
6
  active?: boolean;
7
7
  loading?: boolean;
8
+ tooltipText?: string;
8
9
  };
9
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
- click: () => any;
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ tooltip?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLButtonElement;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
+ click: (value: MouseEvent) => any;
11
21
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
- onClick?: (() => any) | undefined;
22
+ onClick?: ((value: MouseEvent) => any) | undefined;
13
23
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
25
  export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
15
31
  //# sourceMappingURL=WButtonSelectionAction.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WButtonSelectionAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelectionAction.vue"],"names":[],"mappings":"AAkDA;AA2EA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,YAAY,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;AAmHF,wBAQG"}
1
+ {"version":3,"file":"WButtonSelectionAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonSelectionAction.vue"],"names":[],"mappings":"AAwDA;AAkFA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,YAAY,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;AAUF,iBAAS,cAAc;WA8FT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;gGAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, resolveDynamicComponent, toDisplayString, withCtx } from 'vue';
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createBlock, createCommentVNode, resolveDynamicComponent, toDisplayString, createSlots, withCtx, renderSlot } from 'vue';
2
2
  import _sfc_main$2 from '../Shine/WShine.vue.js';
3
3
  import WSpinner from '../Spinner/WSpinner.vue.js';
4
4
  import _sfc_main$1 from '../Tooltip/WTooltip.vue.js';
@@ -8,7 +8,6 @@ const _hoisted_2 = {
8
8
  key: 0,
9
9
  class: "sm-not:hidden sm-not:[.dropdown_&]:block whitespace-nowrap font-normal"
10
10
  };
11
- const _hoisted_3 = { class: "whitespace-nowrap" };
12
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
12
  __name: "WButtonSelectionAction",
14
13
  props: {
@@ -17,7 +16,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
16
  disableMessage: {},
18
17
  disabled: { type: Boolean },
19
18
  active: { type: Boolean },
20
- loading: { type: Boolean }
19
+ loading: { type: Boolean },
20
+ tooltipText: {}
21
21
  },
22
22
  emits: ["click"],
23
23
  setup(__props) {
@@ -26,12 +26,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  disabled: _ctx.disabled || _ctx.disableMessage !== void 0,
27
27
  class: normalizeClass(["disabled:text-description relative isolate flex select-none items-center bg-none no-underline outline-none disabled:cursor-not-allowed", {
28
28
  "w-ripple w-ripple-hover before:text-primary dark:before:text-primary-dark hover:text-primary dark:hover:text-primary-dark cursor-pointer": !_ctx.disabled && !_ctx.disableMessage && !_ctx.loading,
29
- "text-primary dark:text-primary-dark": _ctx.active,
29
+ "text-primary dark:text-primary-dark w-ripple-active": _ctx.active,
30
30
  "text-accent": !_ctx.active,
31
31
  "cursor-not-allowed": _ctx.disabled || _ctx.disableMessage,
32
32
  "cursor-progress": _ctx.loading
33
33
  }]),
34
- onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.disabled && !_ctx.disableMessage && !_ctx.loading && _ctx.$emit("click"))
34
+ onClick: _cache[0] || (_cache[0] = ($event) => !_ctx.disabled && !_ctx.disableMessage && !_ctx.loading && _ctx.$emit("click", $event))
35
35
  }, [
36
36
  createElementVNode("div", {
37
37
  class: normalizeClass(["-h--w-input-height sm-not:-px--inner-margin z-10 flex items-center gap-2 px-[--w-list-padding,1rem]", {
@@ -45,12 +45,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
45
  key: 0,
46
46
  class: "w-spinner-size-5 text-description absolute z-10"
47
47
  })) : createCommentVNode("", true),
48
- _ctx.disableMessage ? (openBlock(), createBlock(_sfc_main$1, { key: 1 }, {
49
- default: withCtx(() => [
50
- createElementVNode("div", _hoisted_3, toDisplayString(_ctx.disableMessage), 1)
51
- ]),
52
- _: 1
53
- })) : createCommentVNode("", true),
48
+ _ctx.disableMessage || _ctx.tooltipText ? (openBlock(), createBlock(_sfc_main$1, {
49
+ key: 1,
50
+ text: _ctx.disableMessage ?? _ctx.tooltipText
51
+ }, createSlots({ _: 2 }, [
52
+ _ctx.$slots.tooltip ? {
53
+ name: "default",
54
+ fn: withCtx(() => [
55
+ renderSlot(_ctx.$slots, "tooltip")
56
+ ]),
57
+ key: "0"
58
+ } : void 0
59
+ ]), 1032, ["text"])) : createCommentVNode("", true),
54
60
  !_ctx.disabled && !_ctx.disableMessage && !_ctx.loading ? (openBlock(), createBlock(_sfc_main$2, { key: 2 })) : createCommentVNode("", true)
55
61
  ], 10, _hoisted_1);
56
62
  };
@@ -1 +1 @@
1
- {"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"AA6PA;AAilBA,OAAO,KAAK,EAAC,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAatD,OAAO,EAAC,KAAK,WAAW,EAAC,MAAM,gBAAgB,CAAA;yBAE9B,IAAI,SAAS,SAAS,GAAG,MAAM,EAC/C,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAg1BO,mBAAmB,CAAC,oCAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;qBAzoB7B,IAAI;oBAOL,IAAI;+BAmES,aAAa;0BAvNlB,MAAM,QAAQ,MAAM,KAAG,IAAI;wBAN/B,WAAW;;;oBAqCf,IAAI;oBAgBJ,IAAI;MAuuBgD,GA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E,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAj2BzE,wBAi2B4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -201,6 +201,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
201
201
  let text = e.clipboardData?.getData("text/plain");
202
202
  if (!text) {
203
203
  try {
204
+ await checkPermissionPaste();
204
205
  text = await navigator.clipboard.readText();
205
206
  } catch {
206
207
  Notify.error({ title: "Clipboard API not available" });
@@ -212,6 +213,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
212
213
  fieldWrapperRef.value?.showMessage("Nothing to paste");
213
214
  return;
214
215
  }
216
+ if (inputRef.value && "insertPlain" in inputRef.value) {
217
+ inputRef.value.insertPlain(text);
218
+ return;
219
+ }
215
220
  const caret = getCaret();
216
221
  const value = props.modelValue?.toString() ?? "";
217
222
  const newValue = value.slice(0, caret.start) + text + value.slice(caret.end);
@@ -22,7 +22,11 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
22
22
  unclickable?: boolean | null;
23
23
  }) => void;
24
24
  right?: (props: Record<string, never>) => void;
25
- content?: () => VNode[];
25
+ content?: (props: {
26
+ focused: boolean;
27
+ blur: () => void;
28
+ focus: () => void;
29
+ }) => VNode[];
26
30
  }> & {
27
31
  title?: () => void;
28
32
  bottom?: () => void;
@@ -32,7 +36,11 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
32
36
  unclickable?: boolean | null;
33
37
  }) => void;
34
38
  right?: (props: Record<string, never>) => void;
35
- content?: () => VNode[];
39
+ content?: (props: {
40
+ focused: boolean;
41
+ blur: () => void;
42
+ focus: () => void;
43
+ }) => VNode[];
36
44
  };
37
45
  emit: {
38
46
  (e: "update:model-value", event: Type extends "number" ? number : string): void;
@@ -1 +1 @@
1
- {"version":3,"file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,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAtczE,wBAsc4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -80,6 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
80
  const emit = __emit;
81
81
  const { isReadonly, isDisabled } = useComponentStates(props);
82
82
  const isOpen = ref(false);
83
+ const focused = ref(false);
83
84
  const dropdownMenuRef = useTemplateRef("dropdownMenu");
84
85
  const inputRef = useTemplateRef("input");
85
86
  const { isMobile } = useIsMobile();
@@ -147,10 +148,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
147
148
  onFocus: ($event) => {
148
149
  open();
149
150
  !toggleScope?.unclickable && _ctx.$emit("focus", $event);
151
+ focused.value = true;
150
152
  },
151
153
  onBlur: ($event) => {
152
154
  !unref(isMobile) && !_ctx.persist && close();
153
155
  !toggleScope?.unclickable && _ctx.$emit("blur", $event);
156
+ focused.value = false;
154
157
  },
155
158
  onClick: ($event) => unref(isMobile) && toggleScope?.unclickable && open(),
156
159
  "onClick:clear": _cache[5] || (_cache[5] = ($event) => {
@@ -206,7 +209,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
206
209
  fn: withCtx(() => [
207
210
  _ctx.static ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
208
211
  _cache[6] || (_cache[6] = createElementVNode("div", { class: "pb-4" }, null, -1)),
209
- renderSlot(_ctx.$slots, "content")
212
+ renderSlot(_ctx.$slots, "content", normalizeProps(guardReactiveProps({ focused: focused.value, focus, blur })))
210
213
  ], 64)) : createCommentVNode("", true),
211
214
  renderSlot(_ctx.$slots, "bottom")
212
215
  ]),
@@ -235,7 +238,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
235
238
  }])
236
239
  }, {
237
240
  default: withCtx(() => [
238
- _ctx.$slots.content ? renderSlot(_ctx.$slots, "content", { key: 0 }) : createCommentVNode("", true)
241
+ _ctx.$slots.content ? renderSlot(_ctx.$slots, "content", normalizeProps(mergeProps({ key: 0 }, { focused: focused.value, focus, blur }))) : createCommentVNode("", true)
239
242
  ]),
240
243
  _: 2
241
244
  }, 1032, ["parent", "class"])
@@ -15,6 +15,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
15
15
  getCaret: () => import('../models/utils').CaretOffset & {
16
16
  trail: number;
17
17
  };
18
+ insertPlain: (text: string) => void;
18
19
  offsetWidth: number;
19
20
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
21
  blur: (value: FocusEvent) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"ContentEditable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/ContentEditable.vue"],"names":[],"mappings":"AAiBA;AAmVA,OAAO,KAAK,EAAC,QAAQ,EAAG,aAAa,EAAC,MAAM,UAAU,CAAA;AAUtD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IACjC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B,CAAC;;;;2BA6K4B,aAAa,KAAG,IAAI;2BATpB,MAAM,aAAa,MAAM;;;;;;;;;;;;;;;;;;AAsNvD,wBAUG"}
1
+ {"version":3,"file":"ContentEditable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/components/ContentEditable.vue"],"names":[],"mappings":"AAgBA;AAwTA,OAAO,KAAK,EAAC,QAAQ,EAAG,aAAa,EAAC,MAAM,UAAU,CAAA;AAStD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IACjC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B,CAAC;;;;2BAmJ4B,aAAa,KAAG,IAAI;2BATpB,MAAM,aAAa,MAAM;;;;wBAhB5B,MAAM;;;;;;;;;;;;;;;AAsOjC,wBAUG"}
@@ -1,5 +1,4 @@
1
- import { defineComponent, useTemplateRef, ref, watch, onMounted, createElementBlock, openBlock, withModifiers, nextTick } from 'vue';
2
- import { Notify } from '../../../utils/Notify.js';
1
+ import { defineComponent, useTemplateRef, ref, watch, onMounted, createElementBlock, openBlock, nextTick } from 'vue';
3
2
  import { WrapSelectionType } from '../../../utils/utils.js';
4
3
  import { preserveIndentation } from '../models/toolbarActions.js';
5
4
  import { getCaretOffset, setCaretOffset } from '../models/utils.js';
@@ -82,16 +81,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
82
81
  }
83
82
  };
84
83
  const regexDifferentEnding = /\r\n?/g;
85
- const regexSpaces = /\n \n/g;
86
- const regexEnding = / +$/gm;
87
- const normalizeText = (text) => {
88
- return text.replace(regexDifferentEnding, "\n").replace(regexSpaces, "\n\n").replace(regexEnding, "");
89
- };
90
84
  const onInput = (e) => {
91
85
  e.stopImmediatePropagation();
92
86
  if (!(e.target instanceof HTMLDivElement)) return;
93
87
  const rawText = e.target.textContent ?? "";
94
- const text = normalizeText(rawText);
88
+ const text = rawText.replace(regexDifferentEnding, "\n");
95
89
  const currentText = getCurrentText();
96
90
  if (text === currentText) return;
97
91
  if (props.maxLength && typeof text === "string" && text.length > props.maxLength) {
@@ -104,19 +98,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
104
98
  emit("update:model-value", text);
105
99
  }
106
100
  };
107
- const onPaste = async (e) => {
108
- if (props.readonly || props.disabled) return;
109
- let text = e.clipboardData?.getData("text/plain") || "";
110
- if (!text) {
111
- try {
112
- text = await navigator.clipboard.readText();
113
- } catch (error) {
114
- Notify.error({ title: "Clipboard API not available" });
115
- return;
116
- }
117
- }
118
- insertPlain(text.replace(/\r\n?/g, "\n"));
119
- };
120
101
  const insertPlain = (text) => {
121
102
  const root = elementRef.value;
122
103
  if (!root) return;
@@ -239,6 +220,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
239
220
  wrapSelection,
240
221
  setCaret,
241
222
  getCaret,
223
+ insertPlain,
242
224
  get offsetWidth() {
243
225
  return elementRef.value?.offsetWidth ?? 0;
244
226
  }
@@ -254,7 +236,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
254
236
  class: "relative [white-space:var(--w-input-whitespace,pre)]",
255
237
  onInput,
256
238
  onBeforeinput: _cache[0] || (_cache[0] = ($event) => insertParagraph($event)),
257
- onPaste: withModifiers(onPaste, ["prevent"]),
258
239
  onKeydown: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("keydown", $event)),
259
240
  onFocus: _cache[2] || (_cache[2] = ($event) => {
260
241
  _ctx.$emit("focus", $event);
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/models/utils.ts"],"names":[],"mappings":"AAwBA,MAAM,MAAM,WAAW,GAAG;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAC,CAAA;AAEtD,eAAO,MAAM,cAAc,GAAI,QAAQ,OAAO,GAAG,IAAI,GAAG,SAAS,EAAE,YAAY,MAAM,EAAE,UAAU,MAAM,GAAG,SAAS,SAelH,CAAA;AA6BD,eAAO,MAAM,cAAc,GAAI,QAAQ,OAAO,GAAG,IAAI,GAAG,SAAS,KAAG,WAAW,GAAG;IAAC,KAAK,EAAE,MAAM,CAAA;CAU/F,CAAA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/models/utils.ts"],"names":[],"mappings":"AAwBA,MAAM,MAAM,WAAW,GAAG;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAC,CAAA;AAEtD,eAAO,MAAM,cAAc,GAAI,QAAQ,OAAO,GAAG,IAAI,GAAG,SAAS,EAAE,YAAY,MAAM,EAAE,UAAU,MAAM,GAAG,SAAS,SAelH,CAAA;AA0BD,eAAO,MAAM,cAAc,GAAI,QAAQ,OAAO,GAAG,IAAI,GAAG,SAAS,KAAG,WAAW,GAAG;IAAC,KAAK,EAAE,MAAM,CAAA;CAU/F,CAAA"}
@@ -29,7 +29,6 @@ const setCaretOffset = (parent, indexStart, indexEnd) => {
29
29
  selection?.removeAllRanges();
30
30
  selection?.addRange(range);
31
31
  };
32
- const endSpacesRegex = /\s+$/;
33
32
  const getOffsetFromNode = (parent, targetNode, targetOffset, isStart) => {
34
33
  if (!parent.firstChild) parent.appendChild(document.createTextNode(""));
35
34
  const walker = document.createTreeWalker(parent, NodeFilter.SHOW_TEXT, null);
@@ -40,8 +39,7 @@ const getOffsetFromNode = (parent, targetNode, targetOffset, isStart) => {
40
39
  } else if (node === targetNode) {
41
40
  const text = node.textContent;
42
41
  if (text?.[targetOffset] === "\n") {
43
- const trail = text.slice(0, targetOffset).match(endSpacesRegex)?.[0]?.length ?? 0;
44
- return { offset: offset + targetOffset - trail, trail };
42
+ return { offset: offset + targetOffset, trail: 0 };
45
43
  }
46
44
  return { offset: offset + targetOffset, trail: 0 };
47
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"WList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/List/WList.vue"],"names":[],"mappings":"AAwTA;AAggBA,OAAO,KAAK,EAAC,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,SAAS,EAAE,kBAAkB,EAAE,cAAc,EAAE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAC,MAAM,SAAS,CAAA;AAChK,OAAO,KAAK,EAAC,S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E,IAAI,EAAE,CAAC,EAAE,IAAI,KAAK,OAAO;qBAC1B,WAAW;mBACb,SAAS,CAAC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;iBAC1C,CAAC,IAAI,EAAE,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,GAAG,SAAS;oBACxC,OAAO;2BACA,OAAO;oBACd,OAAO;mBAm9BuE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;YAnFiB,GAAG;2BACC,GAAG;;;;;YACP,GAAG;uBACF,GAAG;;;YA52B1B,cAAc,SAAS,QAAQ,GAAG,IAAI;YACtC,cAAc,SAAS,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI;YACpD,qBAAqB,SAAS,WAAW,GAAG,IAAI;YAChD,cAAc,SAAS,MAAM,GAAG,SAAS,GAAG,IAAI;;EA67BlD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAjgCzE,wBAigC4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,8 +1,10 @@
1
- import { defineComponent, ref, computed, toRef, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createVNode, createSlots, withCtx, renderSlot, createCommentVNode, createBlock, resolveDynamicComponent, Fragment, renderList, mergeProps, markRaw, isRef, nextTick } from 'vue';
1
+ import { defineComponent, ref, computed, toRef, watch, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createVNode, createSlots, withCtx, renderSlot, createCommentVNode, createBlock, resolveDynamicComponent, Fragment, renderList, mergeProps, withModifiers, markRaw, createElementVNode, createTextVNode, isRef, nextTick } from 'vue';
2
2
  import _sfc_main$4 from '../Button/WButtonSelection.vue.js';
3
3
  import _sfc_main$5 from '../Button/WButtonSelectionAction.vue.js';
4
4
  import _sfc_main$1 from '../InfiniteList/WInfiniteList.vue.js';
5
+ import IconRange from '../../assets/icons/IconRange.svg.js';
5
6
  import IconRefresh from '../../assets/icons/IconRefresh.svg.js';
7
+ import IconShift from '../../assets/icons/IconShift.svg.js';
6
8
  import { useIsMobile } from '../../utils/mobile.js';
7
9
  import { parseOrdering, encodeOrdering } from '../../utils/order.js';
8
10
  import { useComponentStates } from '../../utils/useComponentStates.js';
@@ -22,6 +24,8 @@ const _hoisted_1 = {
22
24
  key: 1,
23
25
  class: "flex"
24
26
  };
27
+ const _hoisted_2 = { class: "grid grid-cols-[1fr,auto] gap-4" };
28
+ const _hoisted_3 = { class: "text-description whitespace-nowrap" };
25
29
  const _sfc_main = /* @__PURE__ */ defineComponent({
26
30
  ...{ inheritAttrs: false },
27
31
  __name: "WList",
@@ -91,6 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
91
95
  const allowOpen = computed(() => props.expansion !== void 0);
92
96
  const disableSelect = computed(() => !allowSelect.value);
93
97
  const {
98
+ isShift,
94
99
  allowSelectHover,
95
100
  selectionCount,
96
101
  selectAllValue,
@@ -99,7 +104,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
99
104
  toggleSelected,
100
105
  resetSelection,
101
106
  selectAll,
102
- getQueryParams
107
+ getQueryParams,
108
+ setIsSelecting
103
109
  } = useSelected(countValue, disableSelect);
104
110
  const ordering = computed(() => {
105
111
  if (props.queryParams instanceof Object && "ordering" in props.queryParams && typeof props.queryParams.ordering === "string") {
@@ -161,8 +167,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
161
167
  "page-class": unref(isGrid) ? "grid grid-cols-[repeat(auto-fill,minmax(var(--w-list-card-width,16rem),1fr))] gap-[--w-list-gap,0]" : "grid grid-cols-1 gap-[--w-list-gap,0]",
162
168
  style: normalizeStyle(cardStyles.value),
163
169
  class: normalizeClass(_ctx.$attrs.class),
164
- "onUpdate:count": _cache[4] || (_cache[4] = ($event) => listCount.value = $event),
165
- "onUpdate:error": _cache[5] || (_cache[5] = ($event) => _ctx.$emit("update:error", $event))
170
+ "onUpdate:count": _cache[5] || (_cache[5] = ($event) => listCount.value = $event),
171
+ "onUpdate:error": _cache[6] || (_cache[6] = ($event) => _ctx.$emit("update:error", $event))
166
172
  }, createSlots({
167
173
  header: withCtx(({ updateHeader, isRefetchingAll, refetchAll }) => [
168
174
  renderSlot(_ctx.$slots, "header", { count: listCount.value }),
@@ -175,15 +181,36 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
175
181
  }, createSlots({
176
182
  settings: withCtx(() => [
177
183
  _ctx.$slots.selection ? renderSlot(_ctx.$slots, "selection", { key: 0 }) : (openBlock(), createElementBlock("div", _hoisted_1, [
178
- !_ctx.noRefetch ? (openBlock(), createBlock(_sfc_main$5, {
184
+ allowSelect.value ? (openBlock(), createBlock(_sfc_main$5, {
179
185
  key: 0,
186
+ icon: markRaw(unref(IconRange)),
187
+ active: unref(isShift),
188
+ "tooltip-text": "Select range",
189
+ class: "last-not:border-r border-solid border-gray-300 dark:border-gray-700",
190
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(setIsSelecting)(), ["stop"]))
191
+ }, {
192
+ tooltip: withCtx(() => [
193
+ createElementVNode("div", _hoisted_2, [
194
+ _cache[8] || (_cache[8] = createElementVNode("div", null, " Select range ", -1)),
195
+ createElementVNode("div", _hoisted_3, [
196
+ createVNode(unref(IconShift), { class: "square-4 -mt-[0.25em] inline" }),
197
+ _cache[7] || (_cache[7] = createTextVNode(" Shift "))
198
+ ])
199
+ ])
200
+ ]),
201
+ _: 1
202
+ }, 8, ["icon", "active"])) : createCommentVNode("", true),
203
+ !_ctx.noRefetch ? (openBlock(), createBlock(_sfc_main$5, {
204
+ key: 1,
180
205
  icon: markRaw(unref(IconRefresh)),
181
206
  loading: isRefetchingAll,
207
+ active: isRefetchingAll,
208
+ "tooltip-text": "Refetch",
182
209
  class: "last-not:border-r border-solid border-gray-300 dark:border-gray-700",
183
210
  onClick: refetchAll
184
- }, null, 8, ["icon", "loading", "onClick"])) : createCommentVNode("", true),
211
+ }, null, 8, ["icon", "loading", "active", "onClick"])) : createCommentVNode("", true),
185
212
  !_ctx.noOrdering ? (openBlock(), createBlock(_sfc_main$6, {
186
- key: 1,
213
+ key: 2,
187
214
  ordering: ordering.value,
188
215
  fields: fieldsFiltered.value,
189
216
  "query-params": _ctx.queryParams,
@@ -191,11 +218,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
191
218
  "onUpdate:ordering": updateOrdering
192
219
  }, null, 8, ["ordering", "fields", "query-params"])) : createCommentVNode("", true),
193
220
  !_ctx.noHeaderSettings ? (openBlock(), createBlock(_sfc_main$7, {
194
- key: 2,
221
+ key: 3,
195
222
  "field-config-map": unref(fieldConfigMap),
196
223
  "onUpdate:fieldConfigMap": [
197
- _cache[0] || (_cache[0] = ($event) => isRef(fieldConfigMap) ? fieldConfigMap.value = $event : null),
198
- _cache[2] || (_cache[2] = ($event) => {
224
+ _cache[1] || (_cache[1] = ($event) => isRef(fieldConfigMap) ? fieldConfigMap.value = $event : null),
225
+ _cache[3] || (_cache[3] = ($event) => {
199
226
  updateStylesWidth();
200
227
  updateStylesFixed();
201
228
  })
@@ -205,7 +232,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
205
232
  "query-params": _ctx.queryParams,
206
233
  "has-saved": unref(hasSaved),
207
234
  mobile: unref(isMobile),
208
- "onClick:reset": _cache[1] || (_cache[1] = ($event) => {
235
+ "onClick:reset": _cache[2] || (_cache[2] = ($event) => {
209
236
  unref(reset)();
210
237
  updateStylesWidth();
211
238
  updateStylesFixed();
@@ -269,7 +296,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
269
296
  style: normalizeStyle({
270
297
  "--list-header-width": unref(getFieldWidthSumStyles)(unref(fieldConfigMap))
271
298
  }),
272
- "onToggle:selection": _cache[3] || (_cache[3] = ($event) => $event ? unref(selectAll)() : unref(resetSelection)()),
299
+ "onToggle:selection": _cache[4] || (_cache[4] = ($event) => $event ? unref(selectAll)() : unref(resetSelection)()),
273
300
  "onUpdate:header": updateHeader
274
301
  }, {
275
302
  default: withCtx(() => [
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSettings.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSettings.vue"],"names":[],"mappings":"AAwEA;AAqJA,OAAO,KAAK,EAAC,WAAW,EAAE,UAAU,EAAC,MAAM,UAAU,CAAA;AAWrD,OAAO,EAAC,KAAK,QAAQ,EAAC,MAAM,eAAe,CAAA;yBAQ1B,IAAI,SAAS,WAAW,EAAE,WAAW,EACrD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA8QO,mBAAmB,CAAC;;;;;gBA5QlB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;wBACrB,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC;cACrC,QAAQ;qBACD,WAAW;kBACd,OAAO;gBACT,OAAO;mBACJ,OAAO;mBAsQ0E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;YAnQL,yBAAyB,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,IAAI;YACpE,aAAa,SAAS,QAAQ,GAAG,IAAI;YACrC,aAAa,GAAG,IAAI;;EAqQtB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,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C,OAAO,WAAW,CAAC,CAAA;CAAE;AA3RzE,wBA2R4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -73,8 +73,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
73
73
  icon: markRaw(unref(IconListSettings)),
74
74
  disabled: _ctx.disabled,
75
75
  active: isOpen.value,
76
+ "tooltip-text": isOpen.value ? void 0 : "Table settings",
76
77
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
77
- }, null, 8, ["icon", "disabled", "active"])
78
+ }, null, 8, ["icon", "disabled", "active", "tooltip-text"])
78
79
  ]),
79
80
  content: withCtx(() => [
80
81
  createVNode(_sfc_main$2, {
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderSort.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/List/components/HeaderSort.vue"],"names":[],"mappings":"AAiCA;AAuFA,OAAO,KAAK,EAAiB,WAAW,EAA8B,UAAU,EAAC,MAAM,UAAU,CAAA;AACjG,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAW5C,OAAO,EAAC,KAAK,QAAQ,EAAC,MAAM,eAAe,CAAA;yBAI1B,IAAI,SAAS,WAAW,EAAE,WAAW,EACrD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA2LO,mBAAmB,CAAC;;;;;;kBAvLhB,SAAS,CAAC,MAAM,IAAI,CAAC,EAAE;gBACzB,U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EACjE;WA6LO,mBAAmB,CAAC;;;;;;kBAzLhB,SAAS,CAAC,MAAM,IAAI,CAAC,EAAE;gBACzB,UAAU,CAAC,IAAI,EAAE,WAAW,CAAC;qBACxB,WAAW;mBACb,OAAO;mBAsL0E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;YAnLL,yBAAyB,SAAS,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,IAAI;YACpE,aAAa,SAAS,QAAQ,GAAG,IAAI;YACrC,aAAa,GAAG,IAAI;YACpB,iBAAiB,SAAS,SAAS,CAAC,MAAM,IAAI,CAAC,EAAE,GAAG,IAAI;;EAoL1D,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAxMzE,wBAwM4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -41,8 +41,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  icon: markRaw(unref(IconSort)),
42
42
  disabled: _ctx.disabled,
43
43
  active: isOpen.value,
44
+ "tooltip-text": isOpen.value ? void 0 : "Sort",
44
45
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
45
- }, null, 8, ["icon", "disabled", "active"])
46
+ }, null, 8, ["icon", "disabled", "active", "tooltip-text"])
46
47
  ]),
47
48
  content: withCtx(() => [
48
49
  createVNode(_sfc_main$2, {
@@ -44,9 +44,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  if (props.readonly || props.disabled) return;
45
45
  if (!rangeToRect.value || !rect.value) return;
46
46
  let x;
47
- if (event instanceof TouchEvent) {
48
- const touch = event.touches[0] || event.changedTouches[0];
49
- x = touch.pageX;
47
+ if ("touches" in event) {
48
+ const touch = event.touches?.[0] || event.changedTouches?.[0];
49
+ x = touch?.pageX ?? 0;
50
50
  } else {
51
51
  x = event.clientX;
52
52
  }
@@ -57,9 +57,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
57
57
  if (props.readonly || props.disabled) return;
58
58
  if (!rangeToRect.value || !rect.value) return;
59
59
  let x;
60
- if (event instanceof TouchEvent) {
61
- const touch = event.touches[0] || event.changedTouches[0];
62
- x = touch.pageX;
60
+ if ("touches" in event) {
61
+ const touch = event.touches?.[0] || event.changedTouches?.[0];
62
+ x = touch?.pageX ?? 0;
63
63
  } else {
64
64
  x = event.clientX;
65
65
  }
package/dist/main.d.ts CHANGED
@@ -195,10 +195,12 @@ export { default as IconPaste } from './assets/icons/IconPaste.svg?component';
195
195
  export { default as IconProfile } from './assets/icons/IconProfile.svg?component';
196
196
  export { default as IconQuote } from './assets/icons/IconQuote.svg?component';
197
197
  export { default as IconRadar } from './assets/icons/IconRadar.svg?component';
198
+ export { default as IconRange } from './assets/icons/IconRange.svg?component';
198
199
  export { default as IconRedo } from './assets/icons/IconRedo.svg?component';
199
200
  export { default as IconRefresh } from './assets/icons/IconRefresh.svg?component';
200
201
  export { default as IconSearch } from './assets/icons/IconSearch.svg?component';
201
202
  export { default as IconSettings } from './assets/icons/IconSettings.svg?component';
203
+ export { default as IconShift } from './assets/icons/IconShift.svg?component';
202
204
  export { default as IconSlash } from './assets/icons/IconSlash.svg?component';
203
205
  export { default as IconSort } from './assets/icons/IconSort.svg?component';
204
206
  export { default as IconStar } from './assets/icons/IconStar.svg?component';
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AAE5B,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,iBAAiB,MAAM,+CAA+C,CAAA;AAC7E,OAAO,YAAY,MAAM,2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EAChB,8BAA8B,EAC9B,sBAAsB,EACtB,2BAA2B,EAC3B,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,6BAA6B,EAC7B,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,KAAK,EACL,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,aAAa,EACb,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,YAAY,EACZ,SAAS,EACT,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,KAAK,EACL,YAAY,EACZ,SAAS,EACT,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,iBAAiB,GAClB,CAAA"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,KAAK,CAAA;AAE5B,OAAO,WAAW,MAAM,yCAAyC,CAAA;AACjE,OAAO,iBAAiB,MAAM,+CAA+C,CAAA;AAC7E,OAAO,YAAY,MAAM,2CAA2C,CAAA;AACpE,OAAO,OAAO,MAAM,iCAAiC,CAAA;AACrD,OAAO,aAAa,MAAM,uCAAuC,CAAA;AACjE,OAAO,WAAW,MAAM,qCAAqC,CAAA;AAC7D,OAAO,eAAe,MAAM,yCAAyC,CAAA;AACrE,OAAO,YAAY,MAAM,s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UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,6BAA6B,EAC7B,oBAAoB,EACpB,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,KAAK,EACL,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,aAAa,EACb,aAAa,EACb,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,OAAO,EACP,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,OAAO,EACP,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,YAAY,EACZ,SAAS,EACT,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,WAAW,EACX,KAAK,EACL,YAAY,EACZ,SAAS,EACT,OAAO,EACP,YAAY,EACZ,QAAQ,EACR,iBAAiB,GAClB,CAAA"}
package/dist/main.js CHANGED
@@ -194,10 +194,12 @@ export { default as IconPaste } from './assets/icons/IconPaste.svg.js';
194
194
  export { default as IconProfile } from './assets/icons/IconProfile.svg.js';
195
195
  export { default as IconQuote } from './assets/icons/IconQuote.svg.js';
196
196
  export { default as IconRadar } from './assets/icons/IconRadar.svg.js';
197
+ export { default as IconRange } from './assets/icons/IconRange.svg.js';
197
198
  export { default as IconRedo } from './assets/icons/IconRedo.svg.js';
198
199
  export { default as IconRefresh } from './assets/icons/IconRefresh.svg.js';
199
200
  export { default as IconSearch } from './assets/icons/IconSearch.svg.js';
200
201
  export { default as IconSettings } from './assets/icons/IconSettings.svg.js';
202
+ export { default as IconShift } from './assets/icons/IconShift.svg.js';
201
203
  export { default as IconSlash } from './assets/icons/IconSlash.svg.js';
202
204
  export { default as IconSort } from './assets/icons/IconSort.svg.js';
203
205
  export { default as IconStar } from './assets/icons/IconStar.svg.js';
@@ -11,6 +11,7 @@ export type QueryParamsSelection = {
11
11
  id__not_in?: number[];
12
12
  };
13
13
  export declare const useSelected: <Value extends number>(count: MaybeRef<number | undefined>, disabled: Ref<boolean>) => {
14
+ isShift: Ref<boolean, boolean>;
14
15
  allowSelectHover: import('vue').ComputedRef<boolean>;
15
16
  selectionCount: import('vue').ComputedRef<number>;
16
17
  selectAllValue: import('vue').ComputedRef<boolean | null>;
@@ -20,5 +21,6 @@ export declare const useSelected: <Value extends number>(count: MaybeRef<number
20
21
  selectAll: () => void;
21
22
  resetSelection: () => void;
22
23
  getQueryParams: () => QueryParamsSelection | undefined;
24
+ setIsSelecting: (event?: KeyboardEvent) => void;
23
25
  };
24
26
  //# sourceMappingURL=useSelected.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSelected.d.ts","sourceRoot":"","sources":["../../../src/utils/useSelected.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,QAAQ,EAAE,KAAK,GAAG,EAA+C,MAAM,KAAK,CAAA;AA4BzF,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,EAAE,OAAO,MAAM,EAAE,YAAY,MAAM,KAAG,MAE7E,CAAA;AAED,MAAM,MAAM,SAAS,CAAC,KAAK,IAAI;IAC7B,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAChB,UAAU,CAAC,EAAE,KAAK,EAAE,CAAA;IACpB,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAA;AAID,eAAO,MAAM,WAAW,GAAI,KAAK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= (count, disabled) => {
99
99
  return false;
100
100
  };
101
101
  const hoverSelected = (position) => {
102
- if (unmounted.value || disabled.value || !preselectValue.value && !selection.value.range) return;
102
+ if (unmounted.value || disabled.value || preselectValue.value === null && !selection.value.range) return;
103
103
  hoverValue.value = position;
104
104
  };
105
105
  const toggleSelected = (id, position) => {
@@ -125,6 +125,7 @@ const useSelected = (count, disabled) => {
125
125
  updateSelection({ range });
126
126
  hoverValue.value = null;
127
127
  preselectValue.value = null;
128
+ resetIsSelecting();
128
129
  return;
129
130
  }
130
131
  }
@@ -159,15 +160,25 @@ const useSelected = (count, disabled) => {
159
160
  }
160
161
  });
161
162
  const applySelect = (event) => {
162
- if (hoverValue.value === null) return;
163
+ if (hoverValue.value === null) {
164
+ setTimeout(() => {
165
+ if (preselectValue.value !== null) return;
166
+ isShift.value = false;
167
+ window.removeEventListener("click", applySelect);
168
+ });
169
+ return;
170
+ }
163
171
  event.stopPropagation();
164
172
  event.preventDefault();
165
173
  toggleSelected(0, hoverValue.value);
166
174
  };
167
175
  const setIsSelecting = (event) => {
168
- if (!event.shiftKey || event.ctrlKey || event.altKey || event.metaKey || event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement) {
169
- resetIsSelecting();
170
- return;
176
+ if (isShift.value) return;
177
+ if (event) {
178
+ if (!event.shiftKey || event.ctrlKey || event.altKey || event.metaKey || event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement) {
179
+ resetIsSelecting();
180
+ return;
181
+ }
171
182
  }
172
183
  isShift.value = true;
173
184
  window.addEventListener("click", applySelect);
@@ -201,6 +212,7 @@ const useSelected = (count, disabled) => {
201
212
  window.removeEventListener("click", applySelect);
202
213
  });
203
214
  return {
215
+ isShift,
204
216
  allowSelectHover,
205
217
  selectionCount,
206
218
  selectAllValue,
@@ -209,7 +221,8 @@ const useSelected = (count, disabled) => {
209
221
  toggleSelected,
210
222
  selectAll,
211
223
  resetSelection,
212
- getQueryParams
224
+ getQueryParams,
225
+ setIsSelecting
213
226
  };
214
227
  };
215
228
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.11.51",
7
+ "version": "0.11.52",
8
8
  "dependencies": {
9
9
  "@stylistic/eslint-plugin": "5.2.3",
10
10
  "@tanstack/eslint-plugin-query": "5.83.1",
@@ -1,6 +1,6 @@
1
1
  import plugin from 'tailwindcss/plugin.js'
2
2
 
3
- const pluginRipple = plugin(function ({matchUtilities, addUtilities}) {
3
+ const pluginRipple = plugin(function ({matchUtilities, addUtilities, addBase}) {
4
4
  const configRipple = {
5
5
  'w-ripple': () => ({
6
6
  '&::before': {
@@ -45,6 +45,12 @@ const pluginRipple = plugin(function ({matchUtilities, addUtilities}) {
45
45
  },
46
46
  }
47
47
  },
48
+
49
+ 'w-ripple-active:not(:active)': () => ({
50
+ '&::before': {
51
+ animation: 'ripple-active infinite linear alternate 0.5s'
52
+ }
53
+ }),
48
54
  }
49
55
 
50
56
  matchUtilities(configRipple, {
@@ -59,6 +65,17 @@ const pluginRipple = plugin(function ({matchUtilities, addUtilities}) {
59
65
  result[`.${ key }`] = configRipple[key as keyof typeof configRipple]('')
60
66
  return result
61
67
  }, {} as Record<string, ReturnType<typeof configRipple[keyof typeof configRipple]>>))
68
+
69
+ addBase({
70
+ '@keyframes ripple-active': {
71
+ '0%': {
72
+ 'opacity': '0',
73
+ },
74
+ '100%': {
75
+ 'opacity': '0.15',
76
+ }
77
+ },
78
+ })
62
79
  })
63
80
 
64
81
  export default pluginRipple