eco-vue-js 0.10.35 → 0.10.37

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 (110) hide show
  1. package/dist/components/ActionsBar/WActionsBar.vue.d.ts +1 -0
  2. package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
  3. package/dist/components/ActionsBar/WActionsBar.vue.js +4 -3
  4. package/dist/components/Button/WButtonAction.vue.d.ts +1 -0
  5. package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
  6. package/dist/components/Button/WButtonAction.vue.js +17 -6
  7. package/dist/components/Button/WButtonDropdown.vue.js +0 -2
  8. package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
  9. package/dist/components/Button/WButtonMore.vue.js +0 -1
  10. package/dist/components/Button/WButtonSelection.vue.js +1 -1
  11. package/dist/components/Dropdown/WDropdown.vue.d.ts +6 -11
  12. package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
  13. package/dist/components/Dropdown/WDropdown.vue.js +1 -1
  14. package/dist/components/Dropdown/types.d.ts +9 -0
  15. package/dist/components/Dropdown/types.d.ts.map +1 -1
  16. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +18 -32
  17. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  18. package/dist/components/DropdownMenu/WDropdownMenu.vue.js +5 -9
  19. package/dist/components/DropdownMenu/types.d.ts +0 -2
  20. package/dist/components/DropdownMenu/types.d.ts.map +1 -1
  21. package/dist/components/Form/WForm.vue.d.ts +4 -0
  22. package/dist/components/Form/WForm.vue.d.ts.map +1 -1
  23. package/dist/components/Form/WForm.vue.js +11 -2
  24. package/dist/components/Form/WFormValidator.vue.d.ts +2 -0
  25. package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
  26. package/dist/components/Form/WFormValidator.vue.js +24 -25
  27. package/dist/components/Form/models/injection.d.ts +1 -0
  28. package/dist/components/Form/models/injection.d.ts.map +1 -1
  29. package/dist/components/Form/models/injection.js +2 -1
  30. package/dist/components/Form/use/useFormValueMap.d.ts.map +1 -1
  31. package/dist/components/Form/use/useFormValueMap.js +2 -6
  32. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +0 -2
  33. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +0 -2
  34. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +0 -2
  35. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +0 -2
  36. package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts +3 -1
  37. package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts.map +1 -1
  38. package/dist/components/FormAsync/WFormAsyncToggle.vue.js +10 -2
  39. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +0 -1
  40. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
  41. package/dist/components/InfiniteList/WInfiniteList.vue.js +2 -5
  42. package/dist/components/InfiniteList/WInfiniteListScrollingElement.vue.d.ts +25 -0
  43. package/dist/components/InfiniteList/WInfiniteListScrollingElement.vue.d.ts.map +1 -0
  44. package/dist/components/InfiniteList/WInfiniteListScrollingElement.vue.js +23 -0
  45. package/dist/components/InfiniteList/WInfiniteListScrollingElement.vue2.js +5 -0
  46. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts +0 -1
  47. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts.map +1 -1
  48. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +8 -5
  49. package/dist/components/InfiniteList/components/InfiniteListButton.vue.js +1 -1
  50. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +0 -1
  51. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
  52. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +5 -4
  53. package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts +0 -1
  54. package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
  55. package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +7 -8
  56. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts +3 -6
  57. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -1
  58. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.js +8 -10
  59. package/dist/components/InfiniteList/models/injection.d.ts +3 -0
  60. package/dist/components/InfiniteList/models/injection.d.ts.map +1 -0
  61. package/dist/components/InfiniteList/models/injection.js +3 -0
  62. package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +1 -1
  63. package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts.map +1 -1
  64. package/dist/components/InfiniteList/use/useInfiniteListHeader.js +5 -3
  65. package/dist/components/Input/WInput.vue.js +1 -1
  66. package/dist/components/Input/WInputDate.vue.js +0 -2
  67. package/dist/components/Input/WInputOptions.vue.js +0 -2
  68. package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
  69. package/dist/components/Input/WInputSuggest.vue.js +17 -18
  70. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  71. package/dist/components/List/WListCard.vue.js +5 -5
  72. package/dist/components/List/WListHeader.vue.js +4 -4
  73. package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
  74. package/dist/components/MenuItem/WMenuItem.vue.js +3 -3
  75. package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
  76. package/dist/components/Modal/WModal.vue.js +5 -1
  77. package/dist/components/Modal/WModalImport.vue.js +2 -2
  78. package/dist/components/Modal/WModalStepper.vue.d.ts +40 -8
  79. package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
  80. package/dist/components/Modal/WModalWrapper.vue.d.ts +8 -2
  81. package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
  82. package/dist/components/Modal/WModalWrapper.vue.js +35 -21
  83. package/dist/components/Modal/models/injection.d.ts +4 -0
  84. package/dist/components/Modal/models/injection.d.ts.map +1 -0
  85. package/dist/components/Modal/models/injection.js +4 -0
  86. package/dist/components/Progress/WProgressStriped.vue.js +2 -2
  87. package/dist/components/Select/WSelect.vue.js +0 -2
  88. package/dist/components/Select/WSelectAsync.vue.js +0 -2
  89. package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
  90. package/dist/components/Select/WSelectAsyncList.vue.js +41 -41
  91. package/dist/components/Select/WSelectAsyncSingle.vue.js +0 -2
  92. package/dist/components/Select/WSelectSingle.vue.js +0 -2
  93. package/dist/components/Select/WSelectStringified.vue.js +0 -2
  94. package/dist/components/Select/components/SelectAsyncList.vue.d.ts +0 -1
  95. package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
  96. package/dist/components/Select/components/SelectAsyncList.vue.js +1 -3
  97. package/dist/components/Tabs/WTabs.vue.d.ts +48 -24
  98. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
  99. package/dist/components/Tabs/WTabs.vue.js +2 -2
  100. package/dist/components/Tabs/components/TabItem.vue.d.ts +20 -4
  101. package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
  102. package/dist/components/Toggle/WToggle.vue.d.ts +3 -1
  103. package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
  104. package/dist/components/Toggle/WToggle.vue.js +10 -6
  105. package/dist/imports/componentsPlugin.d.ts +2 -1
  106. package/dist/imports/componentsPlugin.d.ts.map +1 -1
  107. package/dist/main.js +1 -0
  108. package/package.json +4 -1
  109. package/tailwind-base/plugins/default.ts +11 -18
  110. package/tailwind-base/theme/sizes.ts +5 -0
@@ -1,6 +1,10 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, renderSlot } from 'vue';
1
+ import { defineComponent, useTemplateRef, createBlock, openBlock, normalizeStyle, normalizeClass, unref, withCtx, createElementVNode, renderSlot } from 'vue';
2
+ import _sfc_main$1 from '../InfiniteList/WInfiniteListScrollingElement.vue.js';
2
3
 
3
- const _hoisted_1 = { class: "bg-default dark:bg-default-dark sticky top-0 z-[1]" };
4
+ const _hoisted_1 = {
5
+ ref: "header",
6
+ class: "bg-default dark:bg-default-dark sm-not:w-screen sticky left-0 top-0 z-[1] w-[--w-modal-wrapper-width,35rem]"
7
+ };
4
8
  const _hoisted_2 = { class: "text-accent -p--w-modal-wrapper-padding flex items-center justify-center text-balance text-center text-xl font-semibold" };
5
9
  const _hoisted_3 = { class: "sm:-px--w-modal-wrapper-padding" };
6
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -9,29 +13,39 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
13
  maximized: { type: Boolean }
10
14
  },
11
15
  setup(__props) {
16
+ const headerRef = useTemplateRef("header");
17
+ const footerRef = useTemplateRef("footer");
12
18
  return (_ctx, _cache) => {
13
- return openBlock(), createElementBlock("div", {
14
- class: normalizeClass(["bg-default dark:bg-default-dark max-h-[calc(100%-var(--inner-margin,2rem)*2)] w-[var(--w-modal-wrapper-width,35rem)] max-w-[calc(100%-var(--inner-margin,2rem)*2)] overflow-y-auto overflow-x-hidden overscroll-contain rounded-[--w-modal-wrapper-rounded,1.5rem] shadow-md", {
19
+ return openBlock(), createBlock(_sfc_main$1, {
20
+ class: normalizeClass(["bg-default dark:bg-default-dark w-modal-wrapper grid max-h-[calc(100%-var(--inner-margin,2rem)*2)] w-[--w-modal-wrapper-width,35rem] max-w-[calc(100%-var(--inner-margin,2rem)*2)] grid-cols-[1fr] grid-rows-[auto,1fr,auto] overflow-auto overscroll-contain rounded-[--w-modal-wrapper-rounded,1.5rem] shadow-md", {
15
21
  "sm-not:max-w-full sm-not:h-full sm-not:rounded-none sm-not:max-h-full": _ctx.maximized
16
- }])
17
- }, [
18
- createElementVNode("div", _hoisted_1, [
19
- createElementVNode("div", _hoisted_2, [
20
- renderSlot(_ctx.$slots, "title")
22
+ }]),
23
+ style: normalizeStyle({
24
+ "--w-modal-header-height": (unref(headerRef)?.offsetHeight ?? 0) + "px",
25
+ "--w-modal-footer-height": (unref(footerRef)?.offsetHeight ?? 0) + "px"
26
+ })
27
+ }, {
28
+ default: withCtx(() => [
29
+ createElementVNode("div", _hoisted_1, [
30
+ createElementVNode("div", _hoisted_2, [
31
+ renderSlot(_ctx.$slots, "title")
32
+ ]),
33
+ renderSlot(_ctx.$slots, "subtitle")
34
+ ], 512),
35
+ createElementVNode("div", _hoisted_3, [
36
+ renderSlot(_ctx.$slots, "default")
21
37
  ]),
22
- renderSlot(_ctx.$slots, "subtitle")
38
+ createElementVNode("div", {
39
+ ref: "footer",
40
+ class: normalizeClass(["bg-default dark:bg-default-dark -gap--inner-margin -p--w-modal-wrapper-padding sm-not:w-screen sticky bottom-0 left-0 z-[1] flex w-[--w-modal-wrapper-width,35rem] justify-center", {
41
+ "sm-not:flex-col": !_ctx.maximized
42
+ }])
43
+ }, [
44
+ renderSlot(_ctx.$slots, "actions")
45
+ ], 2)
23
46
  ]),
24
- createElementVNode("div", _hoisted_3, [
25
- renderSlot(_ctx.$slots, "default")
26
- ]),
27
- createElementVNode("div", {
28
- class: normalizeClass(["bg-default dark:bg-default-dark -gap--inner-margin -p--w-modal-wrapper-padding sticky bottom-0 z-[1] flex w-full justify-center", {
29
- "sm-not:flex-col": !_ctx.maximized
30
- }])
31
- }, [
32
- renderSlot(_ctx.$slots, "actions")
33
- ], 2)
34
- ], 2);
47
+ _: 3
48
+ }, 8, ["class", "style"]);
35
49
  };
36
50
  }
37
51
  });
@@ -0,0 +1,4 @@
1
+ import { InjectionKey } from 'vue';
2
+ export declare const wBaseZInfex: InjectionKey<number>;
3
+ export declare const wIsModal: InjectionKey<boolean>;
4
+ //# sourceMappingURL=injection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/models/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,KAAK,CAAA;AAErC,eAAO,MAAM,WAAW,EAA4B,YAAY,CAAC,MAAM,CAAC,CAAA;AAExE,eAAO,MAAM,QAAQ,EAAyB,YAAY,CAAC,OAAO,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ const wBaseZInfex = Symbol("wBaseZInfex");
2
+ const wIsModal = Symbol("wIsModal");
3
+
4
+ export { wBaseZInfex, wIsModal };
@@ -8,10 +8,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  setup(__props) {
9
9
  return (_ctx, _cache) => {
10
10
  return openBlock(), createElementBlock("div", {
11
- class: normalizeClass(["relative h-2 w-full cursor-progress select-none overflow-clip rounded-lg", {
11
+ class: normalizeClass(["relative h-2 w-full select-none overflow-clip rounded-lg", {
12
12
  "button-gradient-primary": _ctx.modelValue > 0,
13
13
  "bg-gray-200 dark:bg-gray-800": _ctx.modelValue <= 0,
14
- "w-progress-striped before:animate-move-horizontal": _ctx.modelValue > 0 && _ctx.modelValue < 100,
14
+ "w-progress-striped before:animate-move-horizontal cursor-progress": _ctx.modelValue > 0 && _ctx.modelValue < 100,
15
15
  "before:absolute before:inset-0": _ctx.modelValue >= 100 || _ctx.modelValue <= 0,
16
16
  "before:animate-ticker before:via-default/50 before:bg-gradient-to-r before:from-transparent before:to-transparent": _ctx.modelValue <= 0,
17
17
  "before:bg-default/50 before:animate-pulse": _ctx.modelValue >= 100
@@ -76,8 +76,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76
76
  subgrid: { type: Boolean },
77
77
  seamless: { type: Boolean },
78
78
  teleport: { type: Boolean },
79
- noZIndex: { type: Boolean },
80
- zIndex: {},
81
79
  parentElement: {},
82
80
  maxHeight: {},
83
81
  maxWidth: {},
@@ -69,8 +69,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
69
69
  subgrid: { type: Boolean },
70
70
  seamless: { type: Boolean },
71
71
  teleport: { type: Boolean },
72
- noZIndex: { type: Boolean },
73
- zIndex: {},
74
72
  parentElement: {},
75
73
  maxHeight: {},
76
74
  maxWidth: {},
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsyncList.vue.d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AAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;mBAiMe,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;kBA7KC,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;kBAA5F,CAAC,KAAK,EAAE;YAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;;;YARlG,QAAQ,SAAS,KAAK,GAAG,IAAI;YAC7B,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,oBAAoB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC3C,cAAc,SAAS,MAAM,GAAG,IAAI;;EAsLtC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAzNzE,wBAyN4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,16 +1,12 @@
1
- import { defineComponent, useTemplateRef, createElementBlock, openBlock, createCommentVNode, createBlock, Fragment, createTextVNode, toDisplayString, createVNode, unref, createSlots, withCtx, renderSlot } from 'vue';
1
+ import { defineComponent, createElementBlock, openBlock, createCommentVNode, createBlock, Fragment, createTextVNode, toDisplayString, withCtx, createVNode, createSlots, renderSlot } from 'vue';
2
+ import _sfc_main$1 from '../InfiniteList/WInfiniteListScrollingElement.vue.js';
2
3
  import WSkeleton from '../Skeleton/WSkeleton.vue.js';
3
- import _sfc_main$1 from './components/SelectAsyncList.vue.js';
4
+ import _sfc_main$2 from './components/SelectAsyncList.vue.js';
4
5
 
5
6
  const _hoisted_1 = {
6
7
  key: 0,
7
8
  class: "text-accent mb-2 text-xs font-semibold"
8
9
  };
9
- const _hoisted_2 = {
10
- key: 2,
11
- ref: "list",
12
- class: "overflow-y-overlay sm-not:border-y h-96 border-solid border-gray-300 sm:rounded-2xl sm:border dark:border-gray-700"
13
- };
14
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
15
11
  __name: "WSelectAsyncList",
16
12
  props: {
@@ -29,7 +25,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
25
  },
30
26
  emits: ["select", "unselect", "update:model-value", "update:count"],
31
27
  setup(__props) {
32
- const listRef = useTemplateRef("list");
33
28
  return (_ctx, _cache) => {
34
29
  return openBlock(), createElementBlock("div", null, [
35
30
  _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_1, [
@@ -40,39 +35,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
35
  _ctx.skeleton ? (openBlock(), createBlock(WSkeleton, {
41
36
  key: 1,
42
37
  class: "w-skeleton-rounded-2xl w-skeleton-h-[24rem] w-skeleton-w-full"
43
- })) : (openBlock(), createElementBlock("div", _hoisted_2, [
44
- createVNode(_sfc_main$1, {
45
- "model-value": _ctx.modelValue,
46
- "use-query-fn": _ctx.useQueryFn,
47
- "query-params": _ctx.queryParams,
48
- "scrolling-element": unref(listRef),
49
- "exclude-params": _ctx.excludeParams,
50
- "empty-stub": _ctx.emptyStub,
51
- "select-only": _ctx.selectOnly,
52
- "unselect-only": _ctx.unselectOnly,
53
- "hide-option-icon": _ctx.hideOptionIcon,
54
- "value-getter": _ctx.valueGetter,
55
- "query-options": _ctx.queryOptions,
56
- transition: "",
57
- onSelect: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("select", $event)),
58
- onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("unselect", $event)),
59
- "onUpdate:count": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:count", $event)),
60
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("update:model-value", $event))
61
- }, createSlots({ _: 2 }, [
62
- _ctx.$slots.default ? {
63
- name: "default",
64
- fn: withCtx(({ option, selected, skeleton: skeletonList }) => [
65
- renderSlot(_ctx.$slots, "default", {
66
- option,
67
- selected,
68
- skeleton: skeletonList,
69
- model: false
70
- })
71
- ]),
72
- key: "0"
73
- } : void 0
74
- ]), 1032, ["model-value", "use-query-fn", "query-params", "scrolling-element", "exclude-params", "empty-stub", "select-only", "unselect-only", "hide-option-icon", "value-getter", "query-options"])
75
- ], 512))
38
+ })) : (openBlock(), createBlock(_sfc_main$1, {
39
+ key: 2,
40
+ class: "overflow-y-overlay sm-not:border-y h-96 border-solid border-gray-300 sm:rounded-2xl sm:border dark:border-gray-700"
41
+ }, {
42
+ default: withCtx(() => [
43
+ createVNode(_sfc_main$2, {
44
+ "model-value": _ctx.modelValue,
45
+ "use-query-fn": _ctx.useQueryFn,
46
+ "query-params": _ctx.queryParams,
47
+ "exclude-params": _ctx.excludeParams,
48
+ "empty-stub": _ctx.emptyStub,
49
+ "select-only": _ctx.selectOnly,
50
+ "unselect-only": _ctx.unselectOnly,
51
+ "hide-option-icon": _ctx.hideOptionIcon,
52
+ "value-getter": _ctx.valueGetter,
53
+ "query-options": _ctx.queryOptions,
54
+ transition: "",
55
+ onSelect: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("select", $event)),
56
+ onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("unselect", $event)),
57
+ "onUpdate:count": _cache[2] || (_cache[2] = ($event) => _ctx.$emit("update:count", $event)),
58
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.$emit("update:model-value", $event))
59
+ }, createSlots({ _: 2 }, [
60
+ _ctx.$slots.default ? {
61
+ name: "default",
62
+ fn: withCtx(({ option, selected, skeleton: skeletonList }) => [
63
+ renderSlot(_ctx.$slots, "default", {
64
+ option,
65
+ selected,
66
+ skeleton: skeletonList,
67
+ model: false
68
+ })
69
+ ]),
70
+ key: "0"
71
+ } : void 0
72
+ ]), 1032, ["model-value", "use-query-fn", "query-params", "exclude-params", "empty-stub", "select-only", "unselect-only", "hide-option-icon", "value-getter", "query-options"])
73
+ ]),
74
+ _: 3
75
+ }))
76
76
  ]);
77
77
  };
78
78
  }
@@ -67,8 +67,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
67
67
  subgrid: { type: Boolean },
68
68
  seamless: { type: Boolean },
69
69
  teleport: { type: Boolean },
70
- noZIndex: { type: Boolean },
71
- zIndex: {},
72
70
  parentElement: {},
73
71
  maxHeight: {},
74
72
  maxWidth: {},
@@ -63,8 +63,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
63
63
  subgrid: { type: Boolean },
64
64
  seamless: { type: Boolean },
65
65
  teleport: { type: Boolean },
66
- noZIndex: { type: Boolean },
67
- zIndex: {},
68
66
  parentElement: {},
69
67
  maxHeight: {},
70
68
  maxWidth: {},
@@ -63,8 +63,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
63
63
  subgrid: { type: Boolean },
64
64
  seamless: { type: Boolean },
65
65
  teleport: { type: Boolean },
66
- noZIndex: { type: Boolean },
67
- zIndex: {},
68
66
  parentElement: {},
69
67
  maxHeight: {},
70
68
  maxWidth: {},
@@ -9,7 +9,6 @@ declare const _default: <Model extends number | string, Data extends DefaultData
9
9
  modelValue: Model[];
10
10
  useQueryFn: UseQueryPaginated<Data, QueryParams>;
11
11
  queryParams: QueryParams;
12
- scrollingElement?: Element | null;
13
12
  loading?: boolean;
14
13
  disabled?: boolean;
15
14
  transition?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"AAsHA;yBA4QiB,KAAK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BACX,CAAC,IAAI,EAAE,IAAI,KAAK,KAAK;uBACnB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBAC3D,OAAO;iBACd,MAAM;mBA+c6E,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;kBAjWC,CAAC,KAAK,EAAE;YAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAA;YACnB,QAAQ,EAAE,OAAO,CAAA;YACjB,QAAQ,EAAE,OAAO,CAAA;YACjB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;SAC3B,KAAK,IAAI;;kBALA,CAAC,KAAK,EAAE;YAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAA;YACnB,QAAQ,EAAE,OAAO,CAAA;YACjB,QAAQ,EAAE,OAAO,CAAA;YACjB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;SAC3B,KAAK,IAAI;;;YAhHN,QAAQ,SAAS,KAAK,GAAG,IAAI;YAC7B,UAAU,SAAS,KAAK,GAAG,IAAI;YAC/B,cAAc,SAAS,MAAM,GAAG,IAAI;YACpC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC1C,eAAe,GAAG,IAAI;;EA4cxB,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA5ezE,wBA4e4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -14,7 +14,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  modelValue: {},
15
15
  useQueryFn: {},
16
16
  queryParams: {},
17
- scrollingElement: {},
18
17
  loading: { type: Boolean },
19
18
  disabled: { type: Boolean },
20
19
  transition: { type: Boolean },
@@ -146,7 +145,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
146
145
  createVNode(_sfc_main$2, {
147
146
  "use-query-fn": _ctx.useQueryFn,
148
147
  "query-params": _ctx.queryParams,
149
- "scrolling-element": _ctx.scrollingElement,
150
148
  transition: _ctx.transition,
151
149
  "exclude-params": _ctx.excludeParams,
152
150
  selected: _ctx.modelValue,
@@ -215,7 +213,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
215
213
  ], 2)
216
214
  ]),
217
215
  _: 3
218
- }, 8, ["use-query-fn", "query-params", "scrolling-element", "transition", "exclude-params", "selected", "empty-stub", "value-getter", "query-options", "skeleton-length", "last-child"])
216
+ }, 8, ["use-query-fn", "query-params", "transition", "exclude-params", "selected", "empty-stub", "value-getter", "query-options", "skeleton-length", "last-child"])
219
217
  ]);
220
218
  };
221
219
  }