eco-vue-js 0.10.34 → 0.10.35

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 (40) hide show
  1. package/dist/components/Button/WButtonDropdown.vue.d.ts +2 -2
  2. package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
  3. package/dist/components/Button/WButtonGroup.vue.js +1 -0
  4. package/dist/components/Checkbox/WCheckboxGroup.vue.js +1 -0
  5. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +4 -7
  6. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  7. package/dist/components/DropdownMenu/WDropdownMenu.vue.js +7 -7
  8. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +5 -1
  9. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
  10. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +13 -7
  11. package/dist/components/FieldWrapper/types.d.ts +1 -0
  12. package/dist/components/FieldWrapper/types.d.ts.map +1 -1
  13. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +1 -0
  14. package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.js +1 -0
  15. package/dist/components/FormAsync/WFormAsyncInput.vue.js +3 -1
  16. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +3 -1
  17. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +3 -1
  18. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +3 -1
  19. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +3 -1
  20. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +2 -0
  21. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
  22. package/dist/components/Input/WInput.vue.d.ts +1 -0
  23. package/dist/components/Input/WInput.vue.d.ts.map +1 -1
  24. package/dist/components/Input/WInput.vue.js +32 -15
  25. package/dist/components/Input/WInputAsync.vue.js +4 -2
  26. package/dist/components/Input/WInputDate.vue.js +3 -1
  27. package/dist/components/Input/WInputOptions.vue.js +3 -1
  28. package/dist/components/Input/WInputSuggest.vue.d.ts +2 -2
  29. package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
  30. package/dist/components/Input/WInputSuggest.vue.js +101 -110
  31. package/dist/components/Input/types.d.ts +2 -1
  32. package/dist/components/Input/types.d.ts.map +1 -1
  33. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  34. package/dist/components/List/WListCard.vue.js +1 -1
  35. package/dist/components/Select/WSelect.vue.js +4 -2
  36. package/dist/components/Select/WSelectAsync.vue.js +4 -2
  37. package/dist/components/Select/WSelectAsyncSingle.vue.js +3 -1
  38. package/dist/components/Select/WSelectSingle.vue.js +3 -1
  39. package/dist/components/Select/WSelectStringified.vue.js +3 -1
  40. package/package.json +1 -1
@@ -16,14 +16,14 @@ declare function __VLS_template(): {
16
16
  }) => VNode[];
17
17
  };
18
18
  refs: {};
19
- rootEl: HTMLDivElement;
19
+ rootEl: any;
20
20
  };
21
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
22
  declare const __VLS_component: import('vue').DefineComponent<ButtonDropdownProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonDropdownProps> & Readonly<{}>, {
23
23
  maxHeight: number;
24
24
  maxWidth: number;
25
25
  horizontalAlign: HorizontalAlign;
26
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
27
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
28
  export default _default;
29
29
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"WButtonDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/WButtonDropdown.vue"],"names":[],"mappings":"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AAO,KAAK,CAAA;SAAC,KAAK,KAAK,EAAE;;iBAD1C,MAAM,KAAK,EAAE;kBACZ,CAAC,KAAK,EAAE;YAAC,KAAK,EAAE,OAAO,KAAK,CAAA;SAAC,KAAK,KAAK,EAAE;;;;EA6LpD;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6EAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -37,6 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  filterField: {},
38
38
  filterValue: {},
39
39
  subgrid: { type: Boolean },
40
+ seamless: { type: Boolean },
40
41
  loading: { type: Boolean },
41
42
  download: {},
42
43
  to: {}
@@ -38,6 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
38
  filterField: {},
39
39
  filterValue: {},
40
40
  subgrid: { type: Boolean },
41
+ seamless: { type: Boolean },
41
42
  radio: { type: Boolean },
42
43
  loading: { type: Boolean },
43
44
  alignTop: { type: Boolean }
@@ -2,9 +2,6 @@ import { DropdownMenuProps } from './types';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
5
- toggle?(_: {
6
- unclickable: boolean;
7
- }): any;
8
5
  content?(_: {
9
6
  left: string;
10
7
  right: string;
@@ -16,7 +13,7 @@ declare function __VLS_template(): {
16
13
  }): any;
17
14
  };
18
15
  refs: {
19
- container: HTMLDivElement;
16
+ container: any;
20
17
  dropdown: ({
21
18
  $: import('vue').ComponentInternalInstance;
22
19
  $data: {};
@@ -89,7 +86,7 @@ declare function __VLS_template(): {
89
86
  };
90
87
  }) | null;
91
88
  };
92
- rootEl: HTMLDivElement;
89
+ rootEl: any;
93
90
  };
94
91
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
95
92
  declare const __VLS_component: import('vue').DefineComponent<DropdownMenuProps, {
@@ -99,7 +96,7 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownMenuProps,
99
96
  }, string, import('vue').PublicProps, Readonly<DropdownMenuProps> & Readonly<{
100
97
  "onUpdate:rect"?: (() => any) | undefined;
101
98
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
102
- container: HTMLDivElement;
99
+ container: any;
103
100
  dropdown: ({
104
101
  $: import('vue').ComponentInternalInstance;
105
102
  $data: {};
@@ -171,7 +168,7 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownMenuProps,
171
168
  }): any;
172
169
  };
173
170
  }) | null;
174
- }, HTMLDivElement>;
171
+ }, any>;
175
172
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
176
173
  export default _default;
177
174
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1 @@
1
- {"version":3,"file":"WDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/WDropdownMenu.vue"],"names":[],"mappings":"AAqCA;AA8DA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AA8B9C,iBAAS,cAAc;WAmGT,OAAO,IAA6B;;;;YAbtB,GAAG;;;;;;;;;YACD,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAqDuglB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;EApC7plB;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAyBmhlB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;kBAf5plB,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
+ {"version":3,"file":"WDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/WDropdownMenu.vue"],"names":[],"mappings":"AAoCA;AAAA,OA+DO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAgC9C,iBAAS,cAAc;WAuGT,OAAO,IAA6B;;;;;;;;;;YAbpB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAsDujkB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;EApC7skB;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAwBmkkB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;OAf5skB,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,7 +1,6 @@
1
- import { defineComponent, useTemplateRef, createElementBlock, openBlock, renderSlot, createBlock, Teleport, createCommentVNode, unref, normalizeStyle, normalizeClass, withCtx, normalizeProps, guardReactiveProps } from 'vue';
1
+ import { defineComponent, useTemplateRef, computed, createElementBlock, openBlock, Fragment, createBlock, resolveDynamicComponent, mergeProps, Teleport, createCommentVNode, normalizeStyle, normalizeClass, withCtx, renderSlot, normalizeProps, guardReactiveProps } from 'vue';
2
2
  import _sfc_main$1 from '../Dropdown/WDropdown.vue.js';
3
3
 
4
- const _hoisted_1 = { ref: "container" };
5
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
5
  __name: "WDropdownMenu",
7
6
  props: {
@@ -20,22 +19,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
19
  setup(__props, { expose: __expose }) {
21
20
  const containerRef = useTemplateRef("container");
22
21
  const dropdownRef = useTemplateRef("dropdown");
22
+ const element = computed(() => containerRef.value instanceof HTMLElement ? containerRef.value : containerRef.value?.$el);
23
23
  __expose({
24
24
  updateDropdown: () => {
25
25
  dropdownRef.value?.update();
26
26
  }
27
27
  });
28
28
  return (_ctx, _cache) => {
29
- return openBlock(), createElementBlock("div", _hoisted_1, [
30
- renderSlot(_ctx.$slots, "toggle", { unclickable: false }),
29
+ return openBlock(), createElementBlock(Fragment, null, [
30
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.toggle?.()?.[0]), mergeProps({ ref: "container" }, _ctx.$attrs), null, 16)),
31
31
  (openBlock(), createBlock(Teleport, {
32
32
  to: "body",
33
33
  disabled: !_ctx.teleport || !_ctx.isOpen
34
34
  }, [
35
- unref(containerRef) && _ctx.isOpen ? (openBlock(), createBlock(_sfc_main$1, {
35
+ (_ctx.parentElement || element.value) && _ctx.isOpen ? (openBlock(), createBlock(_sfc_main$1, {
36
36
  key: 0,
37
37
  ref: "dropdown",
38
- "parent-element": _ctx.parentElement ?? unref(containerRef),
38
+ "parent-element": _ctx.parentElement ?? element.value,
39
39
  "horizontal-align": _ctx.horizontalAlign,
40
40
  "update-align": _ctx.updateAlign,
41
41
  "max-height": _ctx.maxHeight,
@@ -54,7 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
54
  _: 3
55
55
  }, 8, ["parent-element", "horizontal-align", "update-align", "max-height", "max-width", "emit-update", "class", "style"])) : createCommentVNode("", true)
56
56
  ], 8, ["disabled"]))
57
- ], 512);
57
+ ], 64);
58
58
  };
59
59
  }
60
60
  });
@@ -17,16 +17,20 @@ declare function __VLS_template(): {
17
17
  right?(_: {}): any;
18
18
  };
19
19
  refs: {
20
+ field: HTMLDivElement;
20
21
  rightContainer: HTMLDivElement;
21
22
  };
22
23
  rootEl: any;
23
24
  };
24
25
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
- declare const __VLS_component: import('vue').DefineComponent<FieldWrapperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
26
+ declare const __VLS_component: import('vue').DefineComponent<FieldWrapperProps, {
27
+ fieldRef: Readonly<import('vue').ShallowRef<HTMLDivElement | null>>;
28
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
26
29
  click: (value: MouseEvent) => any;
27
30
  }, string, import('vue').PublicProps, Readonly<FieldWrapperProps> & Readonly<{
28
31
  onClick?: ((value: MouseEvent) => any) | undefined;
29
32
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
33
+ field: HTMLDivElement;
30
34
  rightContainer: HTMLDivElement;
31
35
  }, any>;
32
36
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1 +1 @@
1
- {"version":3,"file":"WFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FieldWrapper/WFieldWrapper.vue"],"names":[],"mappings":"AAgLA;AAuNA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAuC9C,iBAAS,cAAc;WAuRT,OAAO,IAA6B;;uBAfvB,GAAG;0BACC,GAAG;;;gCA/QP,OAAO,KAAG,IAAI;;YAgRb,GAAG;;;gCAhRJ,OAAO,KAAG,IAAI;;YAiRX,GAAG;uBACL,GAAG;;;;;;EAgB9B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;OAQnB,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
+ {"version":3,"file":"WFieldWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FieldWrapper/WFieldWrapper.vue"],"names":[],"mappings":"AAiLA;AA8NA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAgD9C,iBAAS,cAAc;WA2RT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACC,GAAG;;;gCAzRP,OAAO,KAAG,IAAI;;YA0Rb,GAAG;;;gCA1RJ,OAAO,KAAG,IAAI;;YA2RX,GAAG;uBACL,GAAG;;;;;;;EAiB9B;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;OASnB,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, useId, ref, computed, createElementBlock, openBlock, mergeProps, createCommentVNode, renderSlot, createElementVNode, createBlock, normalizeClass, unref, Fragment, createVNode, createTextVNode, resolveDynamicComponent, toDisplayString, Transition, withCtx, normalizeProps, guardReactiveProps } from 'vue';
1
+ import { defineComponent, useId, useTemplateRef, ref, computed, createElementBlock, openBlock, mergeProps, createCommentVNode, renderSlot, createElementVNode, createBlock, normalizeClass, unref, readonly, Fragment, createVNode, createTextVNode, resolveDynamicComponent, toDisplayString, Transition, withCtx, normalizeProps, guardReactiveProps } from 'vue';
2
2
  import _sfc_main$2 from '../Button/WButtonCopy.vue.js';
3
3
  import WSkeleton from '../Skeleton/WSkeleton.vue.js';
4
4
  import _sfc_main$3 from '../Tooltip/WTooltip.vue.js';
@@ -48,12 +48,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
48
  leftError: { type: Boolean },
49
49
  filterField: {},
50
50
  filterValue: {},
51
- subgrid: { type: Boolean }
51
+ subgrid: { type: Boolean },
52
+ seamless: { type: Boolean }
52
53
  },
53
54
  emits: ["click"],
54
- setup(__props) {
55
+ setup(__props, { expose: __expose }) {
55
56
  const props = __props;
56
57
  const id = useId();
58
+ const fieldRef = useTemplateRef("field");
57
59
  const focused = ref(false);
58
60
  const encodedQueryParam = computed(() => {
59
61
  if (props.filterField === void 0) return void 0;
@@ -62,8 +64,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
62
64
  const setFocused = (value) => {
63
65
  focused.value = value;
64
66
  };
67
+ __expose({
68
+ fieldRef
69
+ });
65
70
  return (_ctx, _cache) => {
66
- return openBlock(), createElementBlock("div", mergeProps({ class: "relative" }, { class: _ctx.$attrs.class, style: _ctx.$attrs.style }, {
71
+ return openBlock(), createElementBlock("div", mergeProps({ class: "group/field relative" }, { class: _ctx.$attrs.class, style: _ctx.$attrs.style }, {
67
72
  class: {
68
73
  "mb-[1.125rem] mt-1": !_ctx.noMargin && !_ctx.subgrid,
69
74
  "col-span-full grid grid-cols-subgrid": _ctx.subgrid
@@ -74,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
79
  key: 0,
75
80
  for: unref(id),
76
81
  class: normalizeClass(["text-accent relative block pr-6 text-xs font-semibold leading-loose", {
77
- "cursor-not-allowed opacity-50": _ctx.disabled && !_ctx.readonly && !_ctx.skeleton,
82
+ "cursor-not-allowed opacity-50": _ctx.disabled && !readonly && !_ctx.skeleton,
78
83
  "col-start-1": _ctx.subgrid
79
84
  }])
80
85
  }, [
@@ -107,6 +112,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
107
112
  ], 10, _hoisted_1)) : createCommentVNode("", true),
108
113
  renderSlot(_ctx.$slots, "subtitle"),
109
114
  createElementVNode("div", {
115
+ ref: "field",
110
116
  class: normalizeClass(["grid", {
111
117
  "pr-9": !_ctx.title && !_ctx.$slots.title && _ctx.filterField,
112
118
  "col-start-2 -col-end-1 row-start-1 -row-end-3 grid-cols-subgrid": _ctx.subgrid,
@@ -184,7 +190,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
184
190
  _ctx.description ? (openBlock(), createElementBlock("div", {
185
191
  key: 1,
186
192
  class: normalizeClass(["text-description col-start-1 whitespace-pre-wrap text-pretty break-words text-xs font-normal", {
187
- "opacity-50": _ctx.disabled && !_ctx.readonly && !_ctx.skeleton,
193
+ "opacity-50": _ctx.disabled && !readonly && !_ctx.skeleton,
188
194
  "pt-4": !_ctx.subgrid
189
195
  }])
190
196
  }, [
@@ -192,7 +198,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
192
198
  createTextVNode(toDisplayString(_ctx.description), 1)
193
199
  ], 64))
194
200
  ], 2)) : createCommentVNode("", true),
195
- _ctx.tooltipText && !_ctx.skeleton && !_ctx.readonly ? (openBlock(), createBlock(_sfc_main$3, {
201
+ _ctx.tooltipText && !_ctx.skeleton && !readonly ? (openBlock(), createBlock(_sfc_main$3, {
196
202
  key: 2,
197
203
  text: _ctx.tooltipText
198
204
  }, null, 8, ["text"])) : createCommentVNode("", true)
@@ -20,5 +20,6 @@ export interface FieldWrapperProps {
20
20
  filterField?: string;
21
21
  filterValue?: unknown;
22
22
  subgrid?: boolean;
23
+ seamless?: boolean;
23
24
  }
24
25
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/FieldWrapper/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/FieldWrapper/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -33,6 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  filterField: {},
34
34
  filterValue: {},
35
35
  subgrid: { type: Boolean },
36
+ seamless: { type: Boolean },
36
37
  loading: { type: Boolean },
37
38
  download: {},
38
39
  to: {},
@@ -36,6 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  filterField: {},
37
37
  filterValue: {},
38
38
  subgrid: { type: Boolean },
39
+ seamless: { type: Boolean },
39
40
  radio: { type: Boolean },
40
41
  loading: { type: Boolean },
41
42
  alignTop: { type: Boolean },
@@ -23,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  autocomplete: {},
24
24
  autofocus: { type: Boolean },
25
25
  readonly: { type: Boolean },
26
- unclickable: { type: Boolean },
26
+ unclickable: { type: [Boolean, null] },
27
27
  disabledActions: { type: Boolean },
28
28
  loading: { type: Boolean },
29
29
  spellcheck: { type: Boolean },
@@ -32,6 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
32
  allowClear: { type: Boolean },
33
33
  allowPaste: { type: Boolean },
34
34
  hideInput: { type: Boolean },
35
+ noWrap: { type: Boolean },
35
36
  title: {},
36
37
  titleIcon: {},
37
38
  description: {},
@@ -50,6 +51,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
51
  filterField: {},
51
52
  filterValue: {},
52
53
  subgrid: { type: Boolean },
54
+ seamless: { type: Boolean },
53
55
  useQueryFn: {},
54
56
  noParams: { type: Boolean },
55
57
  queryParams: {},
@@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
32
  autocomplete: {},
33
33
  autofocus: { type: Boolean },
34
34
  readonly: { type: Boolean },
35
- unclickable: { type: Boolean },
35
+ unclickable: { type: [Boolean, null] },
36
36
  disabledActions: { type: Boolean },
37
37
  loading: { type: Boolean },
38
38
  spellcheck: { type: Boolean },
@@ -40,6 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
40
  textSecure: { type: Boolean },
41
41
  placeholderSecure: { type: Boolean },
42
42
  allowPaste: { type: Boolean },
43
+ noWrap: { type: Boolean },
43
44
  title: {},
44
45
  titleIcon: {},
45
46
  description: {},
@@ -58,6 +59,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
59
  filterField: {},
59
60
  filterValue: {},
60
61
  subgrid: { type: Boolean },
62
+ seamless: { type: Boolean },
61
63
  teleport: { type: Boolean },
62
64
  noZIndex: { type: Boolean },
63
65
  zIndex: {},
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  autocomplete: {},
38
38
  autofocus: { type: Boolean },
39
39
  readonly: { type: Boolean },
40
- unclickable: { type: Boolean },
40
+ unclickable: { type: [Boolean, null] },
41
41
  disabledActions: { type: Boolean },
42
42
  loading: { type: Boolean },
43
43
  spellcheck: { type: Boolean },
@@ -45,6 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
45
  textSecure: { type: Boolean },
46
46
  placeholderSecure: { type: Boolean },
47
47
  allowPaste: { type: Boolean },
48
+ noWrap: { type: Boolean },
48
49
  title: {},
49
50
  titleIcon: {},
50
51
  description: {},
@@ -63,6 +64,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
63
64
  filterField: {},
64
65
  filterValue: {},
65
66
  subgrid: { type: Boolean },
67
+ seamless: { type: Boolean },
66
68
  teleport: { type: Boolean },
67
69
  noZIndex: { type: Boolean },
68
70
  zIndex: {},
@@ -33,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  autocomplete: {},
34
34
  autofocus: { type: Boolean },
35
35
  readonly: { type: Boolean },
36
- unclickable: { type: Boolean },
36
+ unclickable: { type: [Boolean, null] },
37
37
  disabledActions: { type: Boolean },
38
38
  loading: { type: Boolean },
39
39
  spellcheck: { type: Boolean },
@@ -41,6 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  textSecure: { type: Boolean },
42
42
  placeholderSecure: { type: Boolean },
43
43
  allowPaste: { type: Boolean },
44
+ noWrap: { type: Boolean },
44
45
  title: {},
45
46
  titleIcon: {},
46
47
  description: {},
@@ -59,6 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
59
60
  filterField: {},
60
61
  filterValue: {},
61
62
  subgrid: { type: Boolean },
63
+ seamless: { type: Boolean },
62
64
  teleport: { type: Boolean },
63
65
  noZIndex: { type: Boolean },
64
66
  zIndex: {},
@@ -33,7 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  autocomplete: {},
34
34
  autofocus: { type: Boolean },
35
35
  readonly: { type: Boolean },
36
- unclickable: { type: Boolean },
36
+ unclickable: { type: [Boolean, null] },
37
37
  disabledActions: { type: Boolean },
38
38
  loading: { type: Boolean },
39
39
  spellcheck: { type: Boolean },
@@ -41,6 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  textSecure: { type: Boolean },
42
42
  placeholderSecure: { type: Boolean },
43
43
  allowPaste: { type: Boolean },
44
+ noWrap: { type: Boolean },
44
45
  title: {},
45
46
  titleIcon: {},
46
47
  description: {},
@@ -59,6 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
59
60
  filterField: {},
60
61
  filterValue: {},
61
62
  subgrid: { type: Boolean },
63
+ seamless: { type: Boolean },
62
64
  teleport: { type: Boolean },
63
65
  noZIndex: { type: Boolean },
64
66
  zIndex: {},
@@ -15,6 +15,7 @@ declare function __VLS_template(): {
15
15
  input: import('vue').ShallowUnwrapRef<{
16
16
  focus: () => void;
17
17
  blur: () => void;
18
+ fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
18
19
  }> | null;
19
20
  };
20
21
  rootEl: HTMLDivElement;
@@ -32,6 +33,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
32
33
  input: import('vue').ShallowUnwrapRef<{
33
34
  focus: () => void;
34
35
  blur: () => void;
36
+ fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
35
37
  }> | null;
36
38
  }, HTMLDivElement>;
37
39
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1 +1 @@
1
- {"version":3,"file":"WHeaderBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderBar/WHeaderBar.vue"],"names":[],"mappings":"AAsFA;AA2KA,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;AA+DJ,iBAAS,cAAc;WA+LT,OAAO,IAA6B;;uBAdvB,GAAG;wBACD,GAAG;wBACH,GAAG;;;;;;;;;;EAiB/B;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;WA5RT,MAAM;YACL,MAAM;;;;;;;kBAqSjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"WHeaderBar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/HeaderBar/WHeaderBar.vue"],"names":[],"mappings":"AAsFA;AA2KA,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;AA+DJ,iBAAS,cAAc;WA+LT,OAAO,IAA6B;;uBAdvB,GAAG;wBACD,GAAG;wBACH,GAAG;;;;;;;;;;;EAiB/B;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;WA5RT,MAAM;YACL,MAAM;;;;;;;;kBAqSjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -4,6 +4,7 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
4
4
  expose(exposed: import('vue').ShallowUnwrapRef<{
5
5
  focus: () => void;
6
6
  blur: () => void;
7
+ fieldRef: import('vue').ComputedRef<HTMLDivElement | null | undefined>;
7
8
  }>): void;
8
9
  attrs: any;
9
10
  slots: {
@@ -1 +1 @@
1
- {"version":3,"file":"WInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInput.vue"],"names":[],"mappings":"AAmLA;AAiYA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,SAAS,CAAA;yBAWtB,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;WAwkBO,mBAAmB,CAAC,oCAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;qBAle7B,IAAI;oBAML,IAAI;MA4dgD,GAAG,IAAI;WACpE,GAAG;;uBA/CgB,GAAG;0BACA,GAAG;wBACL,GAAG;wBACF,GAAG;wBACH,GAAG;uBACJ,GAAG;wBACF,GAAG;uBACJ,GAAG;uBACH,GAAG;;;YAphBzB,mBAAmB,SAAS,4CAAa,SAAS,GAAG,IAAI;YACzD,gBAAgB,SAAS,aAAa,GAAG,IAAI;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;YAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;YAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;YAC9C,oBAAoB,SAAS,aAAa,GAAG,IAAI;YACjD,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;YAChC,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,WAAW,SAAS,UAAU,GAAG,IAAI;YACrC,cAAc,SAAS,UAAU,GAAG,IAA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YAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;YAC9C,oBAAoB,SAAS,aAAa,GAAG,IAAI;YACjD,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;YAChC,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,WAAW,SAAS,UAAU,GAAG,IAAI;YACrC,cAAc,SAAS,UAAU,GAAG,IAAI;YACxC,cAAc,SAAS,KAAK,GAAG,IAAI;YACnC,OAAO,GAAG,IAAI;;EAolBhB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AArnBzE,wBAqnB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, ref, onMounted, onBeforeUnmount, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot, createElementVNode, createElementBlock, createCommentVNode, normalizeClass, toDisplayString, withModifiers, createVNode, resolveDynamicComponent, withKeys, nextTick } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, onMounted, onBeforeUnmount, computed, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot, createElementVNode, createElementBlock, createCommentVNode, normalizeClass, toDisplayString, withModifiers, resolveDynamicComponent, withKeys, unref, nextTick } from 'vue';
2
2
  import _sfc_main$1 from '../FieldWrapper/WFieldWrapper.vue.js';
3
3
  import { useTabActiveListener } from '../Tabs/use/useTabActiveListener.js';
4
4
  import { Notify } from '../../utils/Notify.js';
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  autocomplete: { default: "off" },
25
25
  autofocus: { type: Boolean },
26
26
  readonly: { type: Boolean },
27
- unclickable: { type: Boolean },
27
+ unclickable: { type: [Boolean, null] },
28
28
  disabledActions: { type: Boolean },
29
29
  loading: { type: Boolean },
30
30
  spellcheck: { type: Boolean },
@@ -34,6 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  allowClear: { type: Boolean },
35
35
  allowPaste: { type: Boolean },
36
36
  hideInput: { type: Boolean },
37
+ noWrap: { type: Boolean },
37
38
  title: {},
38
39
  titleIcon: {},
39
40
  description: {},
@@ -51,12 +52,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
52
  leftError: { type: Boolean },
52
53
  filterField: {},
53
54
  filterValue: {},
54
- subgrid: { type: Boolean }
55
+ subgrid: { type: Boolean },
56
+ seamless: { type: Boolean }
55
57
  },
56
58
  emits: ["update:modelValue", "keypress:enter", "keypress:up", "keypress:down", "keypress:delete", "keypress:backspace", "click:clear", "focus", "blur", "click", "mousedown", "click:suffix", "select:input", "paste"],
57
59
  setup(__props, { expose: __expose, emit: __emit }) {
58
60
  const props = __props;
59
61
  const emit = __emit;
62
+ const fieldWrapperRef = useTemplateRef("fieldWrapper");
63
+ const contentRef = useTemplateRef("content");
60
64
  const inputRef = useTemplateRef("input");
61
65
  const isSecureVisible = ref(false);
62
66
  const updateModelValue = (value) => {
@@ -173,12 +177,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
173
177
  });
174
178
  __expose({
175
179
  focus,
176
- blur
180
+ blur,
181
+ fieldRef: computed(() => fieldWrapperRef.value?.fieldRef)
177
182
  });
178
183
  return (_ctx, _cache) => {
179
- return openBlock(), createBlock(_sfc_main$1, mergeProps(props, {
184
+ return openBlock(), createBlock(_sfc_main$1, mergeProps({ ref: "fieldWrapper" }, props, {
180
185
  class: _ctx.$attrs.class,
181
- onClick: _cache[10] || (_cache[10] = ($event) => _ctx.$emit("click:suffix", $event))
186
+ onClick: _cache[10] || (_cache[10] = ($event) => {
187
+ _ctx.$emit("click:suffix", $event);
188
+ _ctx.seamless && focus();
189
+ })
182
190
  }), createSlots({ _: 2 }, [
183
191
  _ctx.$slots.title ? {
184
192
  name: "title",
@@ -187,7 +195,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
187
195
  ]),
188
196
  key: "0"
189
197
  } : void 0,
190
- _ctx.$slots.subtitle ? {
198
+ _ctx.$slots.subtitle && _ctx.unclickable !== false ? {
191
199
  name: "subtitle",
192
200
  fn: withCtx(() => [
193
201
  renderSlot(_ctx.$slots, "subtitle")
@@ -213,12 +221,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
213
221
  name: "field",
214
222
  fn: withCtx(({ id, setFocused, focused }) => [
215
223
  createElementVNode("div", {
216
- class: normalizeClass(["bg-default dark:bg-default-dark relative grid min-h-[--w-input-height,2.75rem] grid-cols-[auto,1fr,auto] overflow-hidden rounded-[--w-input-rounded,0.75rem] border border-solid transition-colors duration-75", {
224
+ class: normalizeClass(["relative grid min-h-[--w-input-height,2.75rem] grid-cols-[auto,1fr,auto] overflow-hidden rounded-[--w-input-rounded,0.75rem] border border-solid transition-colors duration-75", {
217
225
  "focus-within:border-primary dark:focus-within:border-primary-dark focus-within:outline-primary/20 dark:focus-within:outline-primary-dark/20 focus-within:outline focus-within:outline-2": !_ctx.disabled && !_ctx.readonly && !_ctx.unclickable,
218
226
  "cursor-text": !_ctx.disabled,
219
227
  "border-negative dark:border-negative-dark": _ctx.errorMessage,
220
228
  "border-gray-300 dark:border-gray-700": !_ctx.disabled,
221
- "border-gray-300/50 dark:border-gray-700/50": _ctx.disabled
229
+ "border-gray-300/50 dark:border-gray-700/50": _ctx.disabled,
230
+ "border-opacity-0 group-hover/field:border-opacity-100 dark:border-opacity-0 dark:group-hover/field:border-opacity-100": _ctx.seamless && !focused,
231
+ "bg-default dark:bg-default-dark": !_ctx.seamless || focused
222
232
  }]),
223
233
  onClick: focus,
224
234
  onMousedown: _cache[9] || (_cache[9] = withModifiers(() => {
@@ -234,13 +244,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
234
244
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { class: "square-[1.125em]" }))
235
245
  ], 2)) : createCommentVNode("", true),
236
246
  createElementVNode("div", {
247
+ ref: "content",
237
248
  class: normalizeClass(["group/input col-start-2 grid grid-cols-1", {
238
- "py-[--w-input-gap,0.25rem] first:pl-[--w-input-gap,0.25rem] last:pr-[--w-input-gap,0.25rem]": _ctx.$slots.prefix
249
+ "py-[--w-input-gap,0.25rem] first:pl-[--w-input-gap,0.25rem] last:pr-[--w-input-gap,0.25rem]": _ctx.$slots.prefix,
250
+ "no-scrollbar overflow-x-auto overscroll-x-contain": _ctx.noWrap && (!_ctx.seamless || focused),
251
+ "overflow-hidden": _ctx.noWrap && (_ctx.seamless && !focused)
239
252
  }])
240
253
  }, [
241
254
  createElementVNode("div", {
242
- class: normalizeClass(["flex flex-wrap gap-[--w-input-gap,0.25rem]", {
243
- "[&:not(:has(.w-option-has-bg))]:-px--w-option-padding": !_ctx.icon && !_ctx.textarea
255
+ class: normalizeClass(["flex gap-[--w-input-gap,0.25rem]", {
256
+ "[&:not(:has(.w-option-has-bg))]:-px--w-option-padding": !_ctx.icon && !_ctx.textarea,
257
+ "flex-wrap": !_ctx.noWrap
244
258
  }])
245
259
  }, [
246
260
  renderSlot(_ctx.$slots, "prefix"),
@@ -290,11 +304,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
290
304
  onFocus: ($event) => {
291
305
  _ctx.$emit("focus", $event);
292
306
  setFocused(true);
307
+ _ctx.seamless && nextTick(() => unref(contentRef)?.scrollTo({ left: unref(contentRef)?.scrollWidth ?? 0 }));
293
308
  },
294
309
  onBlur: ($event) => {
295
310
  _ctx.$emit("blur", $event);
296
311
  setFocused(false);
297
312
  isSecureVisible.value = false;
313
+ _ctx.seamless && unref(contentRef)?.scrollTo({ left: 0 });
298
314
  },
299
315
  onClick: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("click", $event)),
300
316
  onMousedown: _cache[5] || (_cache[5] = withModifiers(($event) => _ctx.$emit("mousedown", $event), ["stop"])),
@@ -304,12 +320,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
304
320
  ], 2)
305
321
  ], 2)
306
322
  ], 2),
307
- createVNode(_sfc_main$2, {
323
+ !_ctx.seamless || focused ? (openBlock(), createBlock(_sfc_main$2, {
324
+ key: 1,
308
325
  "model-value": _ctx.modelValue,
309
326
  loading: _ctx.loading,
310
327
  "allow-clear": _ctx.allowClear && _ctx.modelValue !== "",
311
328
  disabled: _ctx.disabled || _ctx.disabledActions,
312
- readonly: _ctx.readonly || _ctx.unclickable,
329
+ readonly: _ctx.readonly || _ctx.unclickable === true,
313
330
  "text-secure": _ctx.textSecure,
314
331
  "is-secure-visible": isSecureVisible.value,
315
332
  "allow-paste": _ctx.allowPaste,
@@ -334,7 +351,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
334
351
  ]),
335
352
  key: "0"
336
353
  } : void 0
337
- ]), 1032, ["model-value", "loading", "allow-clear", "disabled", "readonly", "text-secure", "is-secure-visible", "allow-paste", "allow-copy", "focused", "onClick:slot"]),
354
+ ]), 1032, ["model-value", "loading", "allow-clear", "disabled", "readonly", "text-secure", "is-secure-visible", "allow-paste", "allow-copy", "focused", "onClick:slot"])) : createCommentVNode("", true),
338
355
  renderSlot(_ctx.$slots, "inner")
339
356
  ], 34)
340
357
  ]),
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  autocomplete: {},
35
35
  autofocus: { type: Boolean },
36
36
  readonly: { type: Boolean },
37
- unclickable: { type: Boolean },
37
+ unclickable: { type: [Boolean, null] },
38
38
  disabledActions: { type: Boolean },
39
39
  loading: { type: Boolean },
40
40
  spellcheck: { type: Boolean },
@@ -44,6 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  allowClear: { type: Boolean },
45
45
  allowPaste: { type: Boolean },
46
46
  hideInput: { type: Boolean },
47
+ noWrap: { type: Boolean },
47
48
  title: {},
48
49
  titleIcon: {},
49
50
  description: {},
@@ -61,7 +62,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
62
  leftError: { type: Boolean },
62
63
  filterField: {},
63
64
  filterValue: {},
64
- subgrid: { type: Boolean }
65
+ subgrid: { type: Boolean },
66
+ seamless: { type: Boolean }
65
67
  },
66
68
  emits: ["update:modelValue"],
67
69
  setup(__props, { emit: __emit }) {
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  autocomplete: {},
28
28
  autofocus: { type: Boolean },
29
29
  readonly: { type: Boolean },
30
- unclickable: { type: Boolean },
30
+ unclickable: { type: [Boolean, null] },
31
31
  disabledActions: { type: Boolean },
32
32
  loading: { type: Boolean },
33
33
  spellcheck: { type: Boolean },
@@ -37,6 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  allowClear: { type: Boolean },
38
38
  allowPaste: { type: Boolean },
39
39
  hideInput: { type: Boolean },
40
+ noWrap: { type: Boolean },
40
41
  title: {},
41
42
  titleIcon: {},
42
43
  description: {},
@@ -55,6 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
56
  filterField: {},
56
57
  filterValue: {},
57
58
  subgrid: { type: Boolean },
59
+ seamless: { type: Boolean },
58
60
  teleport: { type: Boolean },
59
61
  noZIndex: { type: Boolean },
60
62
  zIndex: {},
@@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
32
  autocomplete: {},
33
33
  autofocus: { type: Boolean },
34
34
  readonly: { type: Boolean },
35
- unclickable: { type: Boolean },
35
+ unclickable: { type: [Boolean, null] },
36
36
  disabledActions: { type: Boolean },
37
37
  loading: { type: Boolean },
38
38
  spellcheck: { type: Boolean },
@@ -42,6 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  allowClear: { type: Boolean },
43
43
  allowPaste: { type: Boolean },
44
44
  hideInput: { type: Boolean },
45
+ noWrap: { type: Boolean },
45
46
  title: {},
46
47
  titleIcon: {},
47
48
  description: {},
@@ -60,6 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
61
  filterField: {},
61
62
  filterValue: {},
62
63
  subgrid: { type: Boolean },
64
+ seamless: { type: Boolean },
63
65
  teleport: { type: Boolean },
64
66
  noZIndex: { type: Boolean },
65
67
  zIndex: {},
@@ -13,7 +13,7 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
13
13
  title?: () => void;
14
14
  subtitle?: () => void;
15
15
  prefix?: (props: {
16
- unclickable?: boolean;
16
+ unclickable?: boolean | null;
17
17
  }) => void;
18
18
  right?: (props: Record<string, never>) => void;
19
19
  content?: (props?: {
@@ -23,7 +23,7 @@ declare const _default: <Type extends InputType = "text">(__VLS_props: NonNullab
23
23
  title?: () => void;
24
24
  subtitle?: () => void;
25
25
  prefix?: (props: {
26
- unclickable?: boolean;
26
+ unclickable?: boolean | null;
27
27
  }) => void;
28
28
  right?: (props: Record<string, never>) => void;
29
29
  content?: (props?: {
@@ -1 +1 @@
1
- {"version":3,"file":"WInputSuggest.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/WInputSuggest.vue"],"names":[],"mappings":"AA6HA;AA4NA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;AAE9C,OAAO,EAAC,KAAK,KAAK,EAAgC,MAAM,KAAK,CAAA;yBAY5C,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;WA4YO,mBAAmB,CAAC,2CAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBA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AE;;;YAnEvD,mBAAmB,mDAAsB,IAAI;YAC7C,gBAAgB,SAAS,aAAa,GAAG,IAAI;YAC7C,aAAa,SAAS,aAAa,GAAG,IAAI;YAC1C,eAAe,SAAS,aAAa,GAAG,IAAI;YAC5C,iBAAiB,SAAS,aAAa,GAAG,IAAI;YAC9C,MAAM,GAAG,IAAI;YACb,OAAO,GAAG,IAAI;YACd,aAAa,GAAG,IAAI;YACpB,OAAO,SAAS,UAAU,GAAG,IAAI;YACjC,MAAM,SAAS,UAAU,GAAG,IAAI;;EAqWlC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAnYzE,wBAmY4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,8 +1,7 @@
1
- import { defineComponent, ref, useTemplateRef, computed, createElementBlock, openBlock, normalizeClass, createBlock, createCommentVNode, resolveDynamicComponent, unref, mergeProps, withCtx, createElementVNode, Fragment, renderList, createVNode, createSlots, renderSlot, createTextVNode, toDisplayString } from 'vue';
1
+ import { defineComponent, ref, useTemplateRef, computed, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, withCtx, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, Fragment, renderList, createVNode, createSlots, renderSlot } from 'vue';
2
2
  import _sfc_main$1 from '../BottomSheet/WBottomSheet.vue.js';
3
3
  import _sfc_main$2 from '../DropdownMenu/WDropdownMenu.vue.js';
4
4
  import _sfc_main$3 from './WInput.vue.js';
5
- import WSkeleton from '../Skeleton/WSkeleton.vue.js';
6
5
  import IconArrow from '../../assets/icons/default/IconArrow.svg.js';
7
6
  import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
8
7
  import { useIsMobile } from '../../utils/mobile.js';
@@ -28,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
27
  autocomplete: {},
29
28
  autofocus: { type: Boolean },
30
29
  readonly: { type: Boolean },
31
- unclickable: { type: Boolean },
30
+ unclickable: { type: [Boolean, null] },
32
31
  disabledActions: { type: Boolean },
33
32
  loading: { type: Boolean },
34
33
  spellcheck: { type: Boolean },
@@ -38,6 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
37
  allowClear: { type: Boolean },
39
38
  allowPaste: { type: Boolean },
40
39
  hideInput: { type: Boolean },
40
+ noWrap: { type: Boolean },
41
41
  title: {},
42
42
  titleIcon: {},
43
43
  description: {},
@@ -56,6 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
56
56
  filterField: {},
57
57
  filterValue: {},
58
58
  subgrid: { type: Boolean },
59
+ seamless: { type: Boolean },
59
60
  teleport: { type: Boolean },
60
61
  noZIndex: { type: Boolean },
61
62
  zIndex: {},
@@ -100,115 +101,105 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
100
101
  updateDropdown
101
102
  });
102
103
  return (_ctx, _cache) => {
103
- return openBlock(), createElementBlock("div", {
104
- class: normalizeClass(_ctx.$attrs.class)
105
- }, [
106
- (openBlock(), createBlock(resolveDynamicComponent(unref(isMobile) ? _sfc_main$1 : _sfc_main$2), mergeProps({ ref: "dropdownMenu" }, unref(isMobile) ? {
107
- isOpen: isOpen.value,
108
- onClose: close
109
- } : {
110
- isOpen: isOpen.value,
111
- maxHeight: _ctx.maxHeight,
112
- maxWidth: _ctx.maxWidth,
113
- horizontalAlign: _ctx.horizontalAlign,
114
- updateAlign: true,
115
- teleport: _ctx.teleport,
116
- noZIndex: _ctx.noZIndex
117
- }), {
118
- toggle: withCtx(({ unclickable }) => [
119
- createVNode(_sfc_main$3, mergeProps({ ref: "input" }, {
120
- ...props,
121
- title: unclickable ? _ctx.mobileTitle ?? _ctx.title : _ctx.title,
122
- unclickable,
123
- description: void 0
124
- }, {
125
- class: {
126
- "cursor-pointer": !_ctx.disabled && !_ctx.readonly,
127
- "cursor-not-allowed": _ctx.disabled && !_ctx.readonly,
128
- "mb-3": unref(isMobile) && !unclickable
129
- },
130
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => !_ctx.loading && _ctx.$emit("update:modelValue", $event)),
131
- "onKeypress:enter": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("keypress:enter", $event)),
132
- "onKeypress:up": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("keypress:up", $event)),
133
- "onKeypress:down": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("keypress:down", $event)),
134
- "onKeypress:delete": _cache[4] || (_cache[4] = ($event) => _ctx.$emit("keypress:delete", $event)),
135
- onFocus: ($event) => {
136
- open();
137
- !unclickable && _ctx.$emit("focus", $event);
138
- },
139
- onBlur: ($event) => {
140
- !unref(isMobile) && !_ctx.persist && close();
141
- !unclickable && _ctx.$emit("blur", $event);
142
- },
143
- onClick: ($event) => unref(isMobile) && unclickable && open(),
144
- "onClick:suffix": ($event) => unref(isMobile) && unclickable && open(),
145
- "onClick:clear": _cache[5] || (_cache[5] = ($event) => _ctx.$emit("click:clear"))
146
- }), createSlots({
147
- prefix: withCtx(() => [
148
- renderSlot(_ctx.$slots, "prefix", { unclickable })
104
+ return openBlock(), createBlock(resolveDynamicComponent(unref(isMobile) ? _sfc_main$1 : _sfc_main$2), mergeProps({ ref: "dropdownMenu" }, unref(isMobile) ? {
105
+ isOpen: isOpen.value,
106
+ onClose: close
107
+ } : {
108
+ isOpen: isOpen.value,
109
+ maxHeight: _ctx.maxHeight,
110
+ maxWidth: _ctx.maxWidth,
111
+ horizontalAlign: _ctx.horizontalAlign,
112
+ updateAlign: true,
113
+ teleport: _ctx.teleport,
114
+ noZIndex: _ctx.noZIndex,
115
+ parentElement: unref(inputRef)?.fieldRef
116
+ }), {
117
+ toggle: withCtx((toggleScope) => [
118
+ createVNode(_sfc_main$3, mergeProps({ ref: "input" }, {
119
+ ...props,
120
+ ..._ctx.$attrs,
121
+ title: toggleScope?.unclickable ? _ctx.mobileTitle ?? _ctx.title : _ctx.title,
122
+ unclickable: toggleScope?.unclickable,
123
+ description: toggleScope?.unclickable === false ? void 0 : _ctx.description
124
+ }, {
125
+ class: {
126
+ "cursor-pointer": !_ctx.disabled && !_ctx.readonly,
127
+ "cursor-not-allowed": _ctx.disabled && !_ctx.readonly,
128
+ "mb-3": unref(isMobile) && !toggleScope?.unclickable
129
+ },
130
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => !_ctx.loading && _ctx.$emit("update:modelValue", $event)),
131
+ "onKeypress:enter": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("keypress:enter", $event)),
132
+ "onKeypress:up": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("keypress:up", $event)),
133
+ "onKeypress:down": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("keypress:down", $event)),
134
+ "onKeypress:delete": _cache[4] || (_cache[4] = ($event) => _ctx.$emit("keypress:delete", $event)),
135
+ onFocus: ($event) => {
136
+ open();
137
+ !toggleScope?.unclickable && _ctx.$emit("focus", $event);
138
+ },
139
+ onBlur: ($event) => {
140
+ !unref(isMobile) && !_ctx.persist && close();
141
+ !toggleScope?.unclickable && _ctx.$emit("blur", $event);
142
+ },
143
+ onClick: ($event) => unref(isMobile) && toggleScope?.unclickable && open(),
144
+ "onClick:suffix": ($event) => unref(isMobile) && toggleScope?.unclickable && open(),
145
+ "onClick:clear": _cache[5] || (_cache[5] = ($event) => _ctx.$emit("click:clear"))
146
+ }), createSlots({
147
+ prefix: withCtx(() => [
148
+ renderSlot(_ctx.$slots, "prefix", {
149
+ unclickable: toggleScope?.unclickable
150
+ })
151
+ ]),
152
+ suffix: withCtx(() => [
153
+ !_ctx.disabled ? (openBlock(), createBlock(unref(IconArrow), {
154
+ key: 0,
155
+ class: normalizeClass(["square-3 text-description transition-transform", { "rotate-180": isOpen.value }])
156
+ }, null, 8, ["class"])) : createCommentVNode("", true)
157
+ ]),
158
+ _: 2
159
+ }, [
160
+ _ctx.$slots.title ? {
161
+ name: "title",
162
+ fn: withCtx(() => [
163
+ renderSlot(_ctx.$slots, "title")
149
164
  ]),
150
- suffix: withCtx(() => [
151
- !_ctx.disabled ? (openBlock(), createBlock(unref(IconArrow), {
152
- key: 0,
153
- class: normalizeClass(["square-3 text-description transition-transform", { "rotate-180": isOpen.value }])
154
- }, null, 8, ["class"])) : createCommentVNode("", true)
165
+ key: "0"
166
+ } : void 0,
167
+ _ctx.$slots.subtitle ? {
168
+ name: "subtitle",
169
+ fn: withCtx(() => [
170
+ renderSlot(_ctx.$slots, "subtitle")
155
171
  ]),
156
- _: 2
157
- }, [
158
- _ctx.$slots.title ? {
159
- name: "title",
160
- fn: withCtx(() => [
161
- renderSlot(_ctx.$slots, "title")
162
- ]),
163
- key: "0"
164
- } : void 0,
165
- _ctx.$slots.subtitle ? {
166
- name: "subtitle",
167
- fn: withCtx(() => [
168
- renderSlot(_ctx.$slots, "subtitle")
169
- ]),
170
- key: "1"
171
- } : void 0,
172
- _ctx.$slots.right ? {
173
- name: "right",
174
- fn: withCtx(() => [
175
- renderSlot(_ctx.$slots, "right")
176
- ]),
177
- key: "2"
178
- } : void 0
179
- ]), 1040, ["class", "onFocus", "onBlur", "onClick", "onClick:suffix"])
180
- ]),
181
- content: withCtx((contentScope) => [
182
- createElementVNode("div", {
183
- ref: "content",
184
- class: normalizeClass(["bg-default dark:bg-default-dark w-full", {
185
- "pb-[50vh]": unref(isMobile),
186
- "overflow-y-overlay max-h-[inherit] overflow-x-hidden overscroll-contain rounded-xl shadow-md dark:border dark:border-solid dark:border-gray-800": !unref(isMobile),
187
- "mt-5": "istop" in contentScope && contentScope.istop === false && (_ctx.errorMessage || _ctx.maxLength)
188
- }])
189
- }, [
190
- _ctx.$slots.content ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.$slots.content(), (slot, index) => {
191
- return openBlock(), createBlock(resolveDynamicComponent(slot), {
192
- key: index,
193
- "scrolling-element": unref(isMobile) ? unref(contentRef)?.parentElement : unref(contentRef),
194
- onClose: close
195
- }, null, 40, ["scrolling-element"]);
196
- }), 128)) : createCommentVNode("", true)
197
- ], 2)
198
- ]),
199
- _: 3
200
- }, 16)),
201
- _ctx.description ? (openBlock(), createElementBlock("div", {
202
- key: 0,
203
- class: normalizeClass(["text-description whitespace-pre-wrap break-words pb-4 text-xs font-normal", {
204
- "opacity-50": _ctx.disabled && !_ctx.readonly && !_ctx.skeleton
205
- }])
206
- }, [
207
- _ctx.skeleton ? (openBlock(), createBlock(WSkeleton, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
208
- createTextVNode(toDisplayString(_ctx.description), 1)
209
- ], 64))
210
- ], 2)) : createCommentVNode("", true)
211
- ], 2);
172
+ key: "1"
173
+ } : void 0,
174
+ _ctx.$slots.right ? {
175
+ name: "right",
176
+ fn: withCtx(() => [
177
+ renderSlot(_ctx.$slots, "right")
178
+ ]),
179
+ key: "2"
180
+ } : void 0
181
+ ]), 1040, ["class", "onFocus", "onBlur", "onClick", "onClick:suffix"])
182
+ ]),
183
+ content: withCtx((contentScope) => [
184
+ createElementVNode("div", {
185
+ ref: "content",
186
+ class: normalizeClass(["bg-default dark:bg-default-dark w-full", {
187
+ "pb-[50vh]": unref(isMobile),
188
+ "overflow-y-overlay max-h-[inherit] overflow-x-hidden overscroll-contain rounded-xl shadow-md dark:border dark:border-solid dark:border-gray-800": !unref(isMobile),
189
+ "mt-5": "istop" in contentScope && contentScope.istop === false && (_ctx.errorMessage || _ctx.maxLength)
190
+ }])
191
+ }, [
192
+ _ctx.$slots.content ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.$slots.content(), (slot, index) => {
193
+ return openBlock(), createBlock(resolveDynamicComponent(slot), {
194
+ key: index,
195
+ "scrolling-element": unref(isMobile) ? unref(contentRef)?.parentElement : unref(contentRef),
196
+ onClose: close
197
+ }, null, 40, ["scrolling-element"]);
198
+ }), 128)) : createCommentVNode("", true)
199
+ ], 2)
200
+ ]),
201
+ _: 3
202
+ }, 16);
212
203
  };
213
204
  }
214
205
  });
@@ -17,7 +17,7 @@ export interface InputProps<Type extends InputType> extends Omit<FieldWrapperPro
17
17
  autocomplete?: 'off' | string;
18
18
  autofocus?: boolean;
19
19
  readonly?: boolean;
20
- unclickable?: boolean;
20
+ unclickable?: boolean | null;
21
21
  disabledActions?: boolean;
22
22
  loading?: boolean;
23
23
  spellcheck?: boolean;
@@ -27,6 +27,7 @@ export interface InputProps<Type extends InputType> extends Omit<FieldWrapperPro
27
27
  allowClear?: boolean;
28
28
  allowPaste?: boolean;
29
29
  hideInput?: boolean;
30
+ noWrap?: boolean;
30
31
  }
31
32
  export interface InputAsyncProps<Type extends InputType> extends InputProps<Type> {
32
33
  validate?: ValidateFn | ValidateFn[];
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;AAElC,MAAM,WAAW,UAAU,CAAC,IAAI,SAAS,SAAS,CAAE,SAAQ,IAAI,CAAC,iBAAiB,EAAE,YAAY,CAAC;IAC/F,UAAU,CAAC,EAAE,CAAC,IAAI,SAAS,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC,GAAG,SAAS,CAAA;IAClE,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC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AM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -60,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
60
  const validate = (...args) => formRef.value?.validate(...args);
61
61
  const isActionShown = computed(() => !props.skeleton && (props.allowOpen || props.to !== void 0 || props.allowSelectHover || props.hasAction));
62
62
  const toggleMenu = (event) => {
63
- if (props.disabled || props.disableMore || !containerRef.value || !moreRef.value) return;
63
+ if (props.disabled || props.disableMore || !containerRef.value || !moreRef.value || event.ctrlKey) return;
64
64
  const containerRect = containerRef.value.getBoundingClientRect();
65
65
  position.value = { left: event.screenX - containerRect.x + "px", top: event.clientY - containerRect.y + "px" };
66
66
  moreRef.value.open();
@@ -47,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
47
47
  autocomplete: {},
48
48
  autofocus: { type: Boolean },
49
49
  readonly: { type: Boolean },
50
- unclickable: { type: Boolean },
50
+ unclickable: { type: [Boolean, null] },
51
51
  disabledActions: { type: Boolean },
52
52
  loading: { type: Boolean },
53
53
  spellcheck: { type: Boolean },
@@ -55,6 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
55
  textSecure: { type: Boolean },
56
56
  placeholderSecure: { type: Boolean },
57
57
  allowPaste: { type: Boolean },
58
+ noWrap: { type: Boolean },
58
59
  title: {},
59
60
  titleIcon: {},
60
61
  description: {},
@@ -73,6 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
73
74
  filterField: {},
74
75
  filterValue: {},
75
76
  subgrid: { type: Boolean },
77
+ seamless: { type: Boolean },
76
78
  teleport: { type: Boolean },
77
79
  noZIndex: { type: Boolean },
78
80
  zIndex: {},
@@ -289,7 +291,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
289
291
  loading: _ctx.loading || unref(isLoading),
290
292
  disabled: _ctx.disabled,
291
293
  readonly: _ctx.readonly,
292
- "disable-clear": _ctx.disableClear || _ctx.readonly,
294
+ "disable-clear": _ctx.disableClear || _ctx.readonly || _ctx.seamless && !focused.value,
293
295
  search: value,
294
296
  onUnselect: ($event) => unselect(value)
295
297
  }, createSlots({ _: 2 }, [
@@ -40,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
40
  autocomplete: {},
41
41
  autofocus: { type: Boolean },
42
42
  readonly: { type: Boolean },
43
- unclickable: { type: Boolean },
43
+ unclickable: { type: [Boolean, null] },
44
44
  disabledActions: { type: Boolean },
45
45
  loading: { type: Boolean },
46
46
  spellcheck: { type: Boolean },
@@ -48,6 +48,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
48
48
  textSecure: { type: Boolean },
49
49
  placeholderSecure: { type: Boolean },
50
50
  allowPaste: { type: Boolean },
51
+ noWrap: { type: Boolean },
51
52
  title: {},
52
53
  titleIcon: {},
53
54
  description: {},
@@ -66,6 +67,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
67
  filterField: {},
67
68
  filterValue: {},
68
69
  subgrid: { type: Boolean },
70
+ seamless: { type: Boolean },
69
71
  teleport: { type: Boolean },
70
72
  noZIndex: { type: Boolean },
71
73
  zIndex: {},
@@ -210,7 +212,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
210
212
  loading: _ctx.loading || isFetchingPrefix.value,
211
213
  "option-component": _ctx.optionComponent,
212
214
  "option-component-props": _ctx.optionComponentProps,
213
- "disable-clear": _ctx.disableClear || _ctx.readonly,
215
+ "disable-clear": _ctx.disableClear || _ctx.readonly || _ctx.seamless && !focused.value,
214
216
  "preview-data": _ctx.previewData,
215
217
  "created-data": _ctx.createdData,
216
218
  "value-getter": _ctx.valueGetter,
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
38
  autocomplete: {},
39
39
  autofocus: { type: Boolean },
40
40
  readonly: { type: Boolean },
41
- unclickable: { type: Boolean },
41
+ unclickable: { type: [Boolean, null] },
42
42
  disabledActions: { type: Boolean },
43
43
  loading: { type: Boolean },
44
44
  spellcheck: { type: Boolean },
@@ -46,6 +46,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
46
46
  textSecure: { type: Boolean },
47
47
  placeholderSecure: { type: Boolean },
48
48
  allowPaste: { type: Boolean },
49
+ noWrap: { type: Boolean },
49
50
  title: {},
50
51
  titleIcon: {},
51
52
  description: {},
@@ -64,6 +65,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
64
65
  filterField: {},
65
66
  filterValue: {},
66
67
  subgrid: { type: Boolean },
68
+ seamless: { type: Boolean },
67
69
  teleport: { type: Boolean },
68
70
  noZIndex: { type: Boolean },
69
71
  zIndex: {},
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  autocomplete: {},
35
35
  autofocus: { type: Boolean },
36
36
  readonly: { type: Boolean },
37
- unclickable: { type: Boolean },
37
+ unclickable: { type: [Boolean, null] },
38
38
  disabledActions: { type: Boolean },
39
39
  loading: { type: Boolean },
40
40
  spellcheck: { type: Boolean },
@@ -42,6 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  textSecure: { type: Boolean },
43
43
  placeholderSecure: { type: Boolean },
44
44
  allowPaste: { type: Boolean },
45
+ noWrap: { type: Boolean },
45
46
  title: {},
46
47
  titleIcon: {},
47
48
  description: {},
@@ -60,6 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
61
  filterField: {},
61
62
  filterValue: {},
62
63
  subgrid: { type: Boolean },
64
+ seamless: { type: Boolean },
63
65
  teleport: { type: Boolean },
64
66
  noZIndex: { type: Boolean },
65
67
  zIndex: {},
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  autocomplete: {},
35
35
  autofocus: { type: Boolean },
36
36
  readonly: { type: Boolean },
37
- unclickable: { type: Boolean },
37
+ unclickable: { type: [Boolean, null] },
38
38
  disabledActions: { type: Boolean },
39
39
  loading: { type: Boolean },
40
40
  spellcheck: { type: Boolean },
@@ -42,6 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  textSecure: { type: Boolean },
43
43
  placeholderSecure: { type: Boolean },
44
44
  allowPaste: { type: Boolean },
45
+ noWrap: { type: Boolean },
45
46
  title: {},
46
47
  titleIcon: {},
47
48
  description: {},
@@ -60,6 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
61
  filterField: {},
61
62
  filterValue: {},
62
63
  subgrid: { type: Boolean },
64
+ seamless: { type: Boolean },
63
65
  teleport: { type: Boolean },
64
66
  noZIndex: { type: Boolean },
65
67
  zIndex: {},
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.10.34",
7
+ "version": "0.10.35",
8
8
  "scripts": {
9
9
  "build": "run-p type-check \"build-only {@}\" --",
10
10
  "dev": "vite build --mode development --watch",