@scalar/components 0.14.27 → 0.14.28

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 (184) hide show
  1. package/dist/components/ScalarButton/ScalarButton.vue.d.ts +9 -12
  2. package/dist/components/ScalarButton/ScalarButton.vue.d.ts.map +1 -1
  3. package/dist/components/ScalarButton/variants.d.ts +2 -2
  4. package/dist/components/ScalarCard/ScalarCard.vue.d.ts +3 -3
  5. package/dist/components/ScalarCard/ScalarCard.vue.d.ts.map +1 -1
  6. package/dist/components/ScalarCard/ScalarCardFooter.vue.d.ts +3 -3
  7. package/dist/components/ScalarCard/ScalarCardFooter.vue.d.ts.map +1 -1
  8. package/dist/components/ScalarCard/ScalarCardHeader.vue.d.ts +5 -4
  9. package/dist/components/ScalarCard/ScalarCardHeader.vue.d.ts.map +1 -1
  10. package/dist/components/ScalarCard/ScalarCardSection.vue.d.ts +3 -3
  11. package/dist/components/ScalarCard/ScalarCardSection.vue.d.ts.map +1 -1
  12. package/dist/components/ScalarCard/useCardHeading.d.ts.map +1 -1
  13. package/dist/components/ScalarCheckbox/ScalarCheckbox.vue.d.ts +6 -11
  14. package/dist/components/ScalarCheckbox/ScalarCheckbox.vue.d.ts.map +1 -1
  15. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.d.ts +1 -1
  16. package/dist/components/ScalarCodeBlock/ScalarCodeBlock.vue.d.ts.map +1 -1
  17. package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue.d.ts +1 -1
  18. package/dist/components/ScalarCodeBlock/ScalarCodeBlockCopy.vue.d.ts.map +1 -1
  19. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggle.vue.d.ts.map +1 -1
  20. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleButton.vue.d.ts +4 -2
  21. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleButton.vue.d.ts.map +1 -1
  22. package/dist/components/ScalarColorModeToggle/ScalarColorModeToggleIcon.vue.d.ts.map +1 -1
  23. package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts +9 -10
  24. package/dist/components/ScalarCombobox/ScalarCombobox.vue.d.ts.map +1 -1
  25. package/dist/components/ScalarCombobox/ScalarCombobox.vue.js +31 -37
  26. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts +10 -11
  27. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.d.ts.map +1 -1
  28. package/dist/components/ScalarCombobox/ScalarComboboxMultiselect.vue.js +36 -40
  29. package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.d.ts +9 -14
  30. package/dist/components/ScalarCombobox/ScalarComboboxOption.vue.d.ts.map +1 -1
  31. package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.vue.d.ts +8 -12
  32. package/dist/components/ScalarCombobox/ScalarComboboxOptionGroup.vue.d.ts.map +1 -1
  33. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts +8 -9
  34. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.d.ts.map +1 -1
  35. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue.js +193 -5
  36. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue2.js +2 -166
  37. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.d.ts +3 -56
  38. package/dist/components/ScalarCombobox/ScalarComboboxPopover.vue.d.ts.map +1 -1
  39. package/dist/components/ScalarCombobox/types.d.ts +9 -4
  40. package/dist/components/ScalarCombobox/types.d.ts.map +1 -1
  41. package/dist/components/ScalarContextMenu/ScalarContextMenu.vue.d.ts +7 -11
  42. package/dist/components/ScalarContextMenu/ScalarContextMenu.vue.d.ts.map +1 -1
  43. package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts +2 -13
  44. package/dist/components/ScalarDropdown/ScalarDropdown.vue.d.ts.map +1 -1
  45. package/dist/components/ScalarDropdown/ScalarDropdown.vue.js +9 -9
  46. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue.d.ts +3 -3
  47. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue.d.ts.map +1 -1
  48. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue.js +2 -2
  49. package/dist/components/ScalarDropdown/ScalarDropdownButton.vue2.js +2 -2
  50. package/dist/components/ScalarDropdown/ScalarDropdownDivider.vue.d.ts.map +1 -1
  51. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.d.ts +3 -3
  52. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.d.ts.map +1 -1
  53. package/dist/components/ScalarDropdown/ScalarDropdownItem.vue.js +1 -1
  54. package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue.d.ts +3 -8
  55. package/dist/components/ScalarDropdown/ScalarDropdownMenu.vue.d.ts.map +1 -1
  56. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue.d.ts +5 -10
  57. package/dist/components/ScalarErrorBoundary/ScalarErrorBoundary.vue.d.ts.map +1 -1
  58. package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.d.ts +17 -25
  59. package/dist/components/ScalarFileUpload/ScalarFileUpload.vue.d.ts.map +1 -1
  60. package/dist/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue.d.ts +3 -3
  61. package/dist/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue.d.ts.map +1 -1
  62. package/dist/components/ScalarFileUpload/ScalarFileUploadError.vue.d.ts +3 -3
  63. package/dist/components/ScalarFileUpload/ScalarFileUploadError.vue.d.ts.map +1 -1
  64. package/dist/components/ScalarFileUpload/ScalarFileUploadFileList.vue.d.ts +4 -2
  65. package/dist/components/ScalarFileUpload/ScalarFileUploadFileList.vue.d.ts.map +1 -1
  66. package/dist/components/ScalarFileUpload/ScalarFileUploadInput.vue.d.ts +3 -3
  67. package/dist/components/ScalarFileUpload/ScalarFileUploadInput.vue.d.ts.map +1 -1
  68. package/dist/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue.d.ts +3 -3
  69. package/dist/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue.d.ts.map +1 -1
  70. package/dist/components/ScalarFileUpload/ScalarFileUploadLoading.vue.d.ts.map +1 -1
  71. package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts +14 -35
  72. package/dist/components/ScalarFloating/ScalarFloating.vue.d.ts.map +1 -1
  73. package/dist/components/ScalarFloating/ScalarFloating.vue.js +3 -3
  74. package/dist/components/ScalarFloating/ScalarFloatingBackdrop.vue.d.ts +3 -3
  75. package/dist/components/ScalarFloating/ScalarFloatingBackdrop.vue.d.ts.map +1 -1
  76. package/dist/components/ScalarFloating/types.d.ts +2 -0
  77. package/dist/components/ScalarFloating/types.d.ts.map +1 -1
  78. package/dist/components/ScalarForm/ScalarForm.vue.d.ts +3 -3
  79. package/dist/components/ScalarForm/ScalarForm.vue.d.ts.map +1 -1
  80. package/dist/components/ScalarForm/ScalarFormError.vue.d.ts +5 -10
  81. package/dist/components/ScalarForm/ScalarFormError.vue.d.ts.map +1 -1
  82. package/dist/components/ScalarForm/ScalarFormField.vue.d.ts +7 -5
  83. package/dist/components/ScalarForm/ScalarFormField.vue.d.ts.map +1 -1
  84. package/dist/components/ScalarForm/ScalarFormSection.vue.d.ts.map +1 -1
  85. package/dist/components/ScalarHeader/ScalarHeader.vue.d.ts +2 -9
  86. package/dist/components/ScalarHeader/ScalarHeader.vue.d.ts.map +1 -1
  87. package/dist/components/ScalarHeader/ScalarHeaderButton.vue.d.ts +3 -6
  88. package/dist/components/ScalarHeader/ScalarHeaderButton.vue.d.ts.map +1 -1
  89. package/dist/components/ScalarHotkey/ScalarHotkey.vue.d.ts.map +1 -1
  90. package/dist/components/ScalarIcon/IconList.vue.d.ts.map +1 -1
  91. package/dist/components/ScalarIcon/ScalarIcon.vue.d.ts.map +1 -1
  92. package/dist/components/ScalarIcon/ScalarIconLegacyAdapter.vue.d.ts.map +1 -1
  93. package/dist/components/ScalarIcon/utils/index.d.ts.map +1 -1
  94. package/dist/components/ScalarIcon/variants.d.ts +2 -2
  95. package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts +1 -3
  96. package/dist/components/ScalarIconButton/ScalarIconButton.vue.d.ts.map +1 -1
  97. package/dist/components/ScalarIconButton/variants.d.ts +2 -2
  98. package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts +8 -20
  99. package/dist/components/ScalarListbox/ScalarListbox.vue.d.ts.map +1 -1
  100. package/dist/components/ScalarListbox/ScalarListbox.vue.js +29 -24
  101. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.d.ts +1 -1
  102. package/dist/components/ScalarListbox/ScalarListboxCheckbox.vue.d.ts.map +1 -1
  103. package/dist/components/ScalarListbox/ScalarListboxItem.vue.d.ts.map +1 -1
  104. package/dist/components/ScalarLoading/ScalarLoading.vue.d.ts.map +1 -1
  105. package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.d.ts +1 -3
  106. package/dist/components/ScalarMarkdown/ScalarMarkdown.vue.d.ts.map +1 -1
  107. package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.d.ts +11 -45
  108. package/dist/components/ScalarMarkdown/ScalarMarkdownSummary.vue.d.ts.map +1 -1
  109. package/dist/components/ScalarMarkdown/samples/document.d.ts +1 -1
  110. package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts +12 -27
  111. package/dist/components/ScalarMenu/ScalarMenu.vue.d.ts.map +1 -1
  112. package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts +3 -9
  113. package/dist/components/ScalarMenu/ScalarMenuButton.vue.d.ts.map +1 -1
  114. package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts +5 -10
  115. package/dist/components/ScalarMenu/ScalarMenuLink.vue.d.ts.map +1 -1
  116. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts +5 -10
  117. package/dist/components/ScalarMenu/ScalarMenuProduct.vue.d.ts.map +1 -1
  118. package/dist/components/ScalarMenu/ScalarMenuProducts.vue.d.ts.map +1 -1
  119. package/dist/components/ScalarMenu/ScalarMenuResources.vue.d.ts.map +1 -1
  120. package/dist/components/ScalarMenu/ScalarMenuSection.vue.d.ts +5 -10
  121. package/dist/components/ScalarMenu/ScalarMenuSection.vue.d.ts.map +1 -1
  122. package/dist/components/ScalarMenu/ScalarMenuTeamPicker.vue.d.ts.map +1 -1
  123. package/dist/components/ScalarMenu/ScalarMenuTeamProfile.vue.d.ts.map +1 -1
  124. package/dist/components/ScalarModal/ScalarModal.vue.d.ts +5 -4
  125. package/dist/components/ScalarModal/ScalarModal.vue.d.ts.map +1 -1
  126. package/dist/components/ScalarPopover/ScalarPopover.vue.d.ts +3 -9
  127. package/dist/components/ScalarPopover/ScalarPopover.vue.d.ts.map +1 -1
  128. package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.d.ts +6 -6
  129. package/dist/components/ScalarSearchInput/ScalarSearchInput.vue.d.ts.map +1 -1
  130. package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts +11 -13
  131. package/dist/components/ScalarSearchResults/ScalarSearchResultItem.vue.d.ts.map +1 -1
  132. package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.d.ts +7 -11
  133. package/dist/components/ScalarSearchResults/ScalarSearchResultList.vue.d.ts.map +1 -1
  134. package/dist/components/ScalarSidebar/ScalarSidebar.vue.d.ts +3 -3
  135. package/dist/components/ScalarSidebar/ScalarSidebar.vue.d.ts.map +1 -1
  136. package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.d.ts +2 -2
  137. package/dist/components/ScalarSidebar/ScalarSidebarButton.vue.d.ts.map +1 -1
  138. package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue.d.ts +2 -9
  139. package/dist/components/ScalarSidebar/ScalarSidebarFooter.vue.d.ts.map +1 -1
  140. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.d.ts +6 -20
  141. package/dist/components/ScalarSidebar/ScalarSidebarGroup.vue.d.ts.map +1 -1
  142. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts +3 -12
  143. package/dist/components/ScalarSidebar/ScalarSidebarGroupToggle.vue.d.ts.map +1 -1
  144. package/dist/components/ScalarSidebar/ScalarSidebarIndent.vue.d.ts.map +1 -1
  145. package/dist/components/ScalarSidebar/ScalarSidebarItem.vue.d.ts +2 -2
  146. package/dist/components/ScalarSidebar/ScalarSidebarItem.vue.d.ts.map +1 -1
  147. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.d.ts +3 -3
  148. package/dist/components/ScalarSidebar/ScalarSidebarItems.vue.d.ts.map +1 -1
  149. package/dist/components/ScalarSidebar/ScalarSidebarNestedItems.vue.d.ts +6 -23
  150. package/dist/components/ScalarSidebar/ScalarSidebarNestedItems.vue.d.ts.map +1 -1
  151. package/dist/components/ScalarSidebar/ScalarSidebarPlayground.vue.d.ts +14 -17
  152. package/dist/components/ScalarSidebar/ScalarSidebarPlayground.vue.d.ts.map +1 -1
  153. package/dist/components/ScalarSidebar/ScalarSidebarSearchButton.vue.d.ts +7 -11
  154. package/dist/components/ScalarSidebar/ScalarSidebarSearchButton.vue.d.ts.map +1 -1
  155. package/dist/components/ScalarSidebar/ScalarSidebarSearchInput.vue.d.ts +4 -4
  156. package/dist/components/ScalarSidebar/ScalarSidebarSearchInput.vue.d.ts.map +1 -1
  157. package/dist/components/ScalarSidebar/ScalarSidebarSection.vue.d.ts +2 -7
  158. package/dist/components/ScalarSidebar/ScalarSidebarSection.vue.d.ts.map +1 -1
  159. package/dist/components/ScalarSidebar/ScalarSidebarSpacer.vue.d.ts.map +1 -1
  160. package/dist/components/ScalarSidebar/useSidebarGroups.d.ts.map +1 -1
  161. package/dist/components/ScalarSidebar/useSidebarNestedItems.d.ts +3 -1
  162. package/dist/components/ScalarSidebar/useSidebarNestedItems.d.ts.map +1 -1
  163. package/dist/components/ScalarTeleport/ScalarTeleport.vue.d.ts +3 -6
  164. package/dist/components/ScalarTeleport/ScalarTeleport.vue.d.ts.map +1 -1
  165. package/dist/components/ScalarTeleport/ScalarTeleportRoot.vue.d.ts +3 -6
  166. package/dist/components/ScalarTeleport/ScalarTeleportRoot.vue.d.ts.map +1 -1
  167. package/dist/components/ScalarTeleport/useTeleport.d.ts.map +1 -1
  168. package/dist/components/ScalarTextArea/ScalarTextArea.vue.d.ts +2 -2
  169. package/dist/components/ScalarTextArea/ScalarTextArea.vue.d.ts.map +1 -1
  170. package/dist/components/ScalarTextInput/ScalarTextInput.vue.d.ts +11 -8
  171. package/dist/components/ScalarTextInput/ScalarTextInput.vue.d.ts.map +1 -1
  172. package/dist/components/ScalarToggle/ScalarToggle.vue.d.ts +1 -1
  173. package/dist/components/ScalarToggle/ScalarToggle.vue.d.ts.map +1 -1
  174. package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue.d.ts +4 -4
  175. package/dist/components/ScalarTooltip/ScalarHotkeyTooltip.vue.d.ts.map +1 -1
  176. package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts +3 -3
  177. package/dist/components/ScalarTooltip/ScalarTooltip.vue.d.ts.map +1 -1
  178. package/dist/components/ScalarTooltip/constants.d.ts.map +1 -1
  179. package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.d.ts +1 -1
  180. package/dist/components/ScalarVirtualText/ScalarVirtualText.vue.d.ts.map +1 -1
  181. package/dist/docs/useBindCx/MockComponent.d.ts +2 -2
  182. package/dist/style.css +1 -1
  183. package/package.json +8 -8
  184. package/dist/components/ScalarCombobox/ScalarComboboxOptions.vue3.js +0 -4
@@ -14,18 +14,7 @@ import { type ScalarFloatingOptions } from '../ScalarFloating';
14
14
  * </template>
15
15
  * </ScalarDropdown>
16
16
  */
17
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<ScalarFloatingOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
18
- /** The reference element for the element in the #floating slot */
19
- default(props: {
20
- /** Whether or not the dropdown is open */
21
- open: boolean;
22
- }): unknown;
23
- /** The list of dropdown items */
24
- items(props: {
25
- /** Whether or not the dropdown is open */
26
- open: boolean;
27
- }): unknown;
28
- }> & {
17
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ScalarFloatingOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ScalarFloatingOptions> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
29
18
  /** The reference element for the element in the #floating slot */
30
19
  default(props: {
31
20
  /** Whether or not the dropdown is open */
@@ -38,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Sc
38
27
  }): unknown;
39
28
  }>;
40
29
  export default _default;
41
- type __VLS_WithTemplateSlots<T, S> = T & {
30
+ type __VLS_WithSlots<T, S> = T & {
42
31
  new (): {
43
32
  $slots: S;
44
33
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdown.vue"],"names":[],"mappings":"AAsEA,OAAO,EAAkB,KAAK,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAK9E;;;;;;;;;;;;;;GAcG;;IAOD,kEAAkE;mBACnD;QACb,0CAA0C;QAC1C,IAAI,EAAE,OAAO,CAAA;KACd,GAAG,OAAO;IACX,iCAAiC;iBACpB;QACX,0CAA0C;QAC1C,IAAI,EAAE,OAAO,CAAA;KACd,GAAG,OAAO;;IATX,kEAAkE;mBACnD;QACb,0CAA0C;QAC1C,IAAI,EAAE,OAAO,CAAA;KACd,GAAG,OAAO;IACX,iCAAiC;iBACpB;QACX,0CAA0C;QAC1C,IAAI,EAAE,OAAO,CAAA;KACd,GAAG,OAAO;;AAfb,wBA+HC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdown.vue"],"names":[],"mappings":"AAsEA,OAAO,EAAkB,KAAK,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAI9E;;;;;;;;;;;;;;GAcG;;IAMD,kEAAkE;mBACnD;QACb,0CAA0C;QAC1C,IAAI,EAAE,OAAO,CAAA;KACd,GAAG,OAAO;IACX,iCAAiC;iBACpB;QACX,0CAA0C;QAC1C,IAAI,EAAE,OAAO,CAAA;KACd,GAAG,OAAO;;AAdb,wBA4HC;AAOD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,9 +1,9 @@
1
- import { defineComponent as p, createBlock as i, openBlock as f, unref as e, withCtx as t, createVNode as r, mergeProps as a, renderSlot as s } from "vue";
1
+ import { defineComponent as i, createBlock as p, openBlock as f, unref as e, withCtx as t, createVNode as r, mergeProps as a, renderSlot as s } from "vue";
2
2
  import { Menu as u, MenuButton as c, MenuItems as _ } from "@headlessui/vue";
3
3
  import { useBindCx as d } from "@scalar/use-hooks/useBindCx";
4
- import B from "./ScalarDropdownMenu.vue.js";
5
- import h from "../ScalarFloating/ScalarFloating.vue.js";
6
- const y = {}, k = /* @__PURE__ */ p({
4
+ import h from "./ScalarDropdownMenu.vue.js";
5
+ import B from "../ScalarFloating/ScalarFloating.vue.js";
6
+ const y = {}, S = /* @__PURE__ */ i({
7
7
  ...y,
8
8
  inheritAttrs: !1,
9
9
  __name: "ScalarDropdown",
@@ -17,16 +17,16 @@ const y = {}, k = /* @__PURE__ */ p({
17
17
  },
18
18
  setup($) {
19
19
  const { cx: l } = d();
20
- return (o, g) => (f(), i(e(u), null, {
20
+ return (o, g) => (f(), p(e(u), null, {
21
21
  default: t(({ open: n }) => [
22
- r(e(h), a(o.$props, {
22
+ r(e(B), a(o.$props, {
23
23
  placement: o.placement ?? "bottom-start"
24
24
  }), {
25
25
  floating: t(({ width: m }) => [
26
- r(B, a({
26
+ r(h, a({
27
27
  is: e(_),
28
28
  style: { width: m }
29
- }, e(l)("max-h-[inherit]")), {
29
+ }, e(l)("max-h-[inherit] max-w-[inherit]")), {
30
30
  default: t(() => [
31
31
  s(o.$slots, "items", { open: n })
32
32
  ]),
@@ -49,5 +49,5 @@ const y = {}, k = /* @__PURE__ */ p({
49
49
  }
50
50
  });
51
51
  export {
52
- k as default
52
+ S as default
53
53
  };
@@ -14,7 +14,7 @@ import type { Component } from 'vue';
14
14
  * Label
15
15
  * </ScalarDropdownButton>
16
16
  */
17
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
18
18
  is?: string | Component;
19
19
  active?: boolean;
20
20
  disabled?: boolean;
@@ -23,10 +23,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
23
23
  active?: boolean;
24
24
  disabled?: boolean;
25
25
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
26
- default?(_: {}): any;
26
+ default?: (props: {}) => any;
27
27
  }>;
28
28
  export default _default;
29
- type __VLS_WithTemplateSlots<T, S> = T & {
29
+ type __VLS_WithSlots<T, S> = T & {
30
30
  new (): {
31
31
  $slots: S;
32
32
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarDropdownButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdownButton.vue"],"names":[],"mappings":"AA4DA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAIpC;;;;;;;;;;;;;;GAcG;;SAII,MAAM,GAAG,SAAS;aACd,OAAO;eACL,OAAO;;SAFb,MAAM,GAAG,SAAS;aACd,OAAO;eACL,OAAO;;qBA8DS,GAAG;;AAnEhC,wBAqGC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarDropdownButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdownButton.vue"],"names":[],"mappings":"AA4DA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAGpC;;;;;;;;;;;;;;GAcG;;SAGI,MAAM,GAAG,SAAS;aACd,OAAO;eACL,OAAO;;SAFb,MAAM,GAAG,SAAS;aACd,OAAO;eACL,OAAO;;cAqDN,CAAC,KAAK,IAAgB,KAAK,GAAG;;AAzD5C,wBAuFC;AAOD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ScalarDropdownButton.vue2.js";
2
2
  import "./ScalarDropdownButton.vue3.js";
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cc5bd05e"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7e7bf818"]]);
5
5
  export {
6
- p as default
6
+ f as default
7
7
  };
@@ -12,7 +12,7 @@ const u = {}, _ = /* @__PURE__ */ n({
12
12
  const o = d({
13
13
  base: [
14
14
  // Layout
15
- "flex h-8 min-w-0 items-center gap-1.5 rounded px-2.5 py-1.5 text-left",
15
+ "block h-8 min-w-0 gap-1.5 rounded px-2.5 py-1.5 text-left",
16
16
  // Text / background style
17
17
  "truncate no-underline text-sm text-c-1",
18
18
  // Interaction
@@ -23,7 +23,7 @@ const u = {}, _ = /* @__PURE__ */ n({
23
23
  active: { true: "bg-b-2 text-c-1" }
24
24
  }
25
25
  });
26
- return (e, v) => (r(), a(s(e.is), {
26
+ return (e, b) => (r(), a(s(e.is), {
27
27
  class: i(["item", t(p)("scalar-dropdown-item", t(o)({ active: e.active, disabled: e.disabled }))]),
28
28
  type: e.is === "button" ? "button" : void 0
29
29
  }, {
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarDropdownDivider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdownDivider.vue"],"names":[],"mappings":"AAwBA;;;;;;;;;;;;;;;GAeG;;AACH,wBACC"}
1
+ {"version":3,"file":"ScalarDropdownDivider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdownDivider.vue"],"names":[],"mappings":"AAwBA;;;;;;;;;;;;;;;GAeG;;AACH,wBAAwD"}
@@ -8,7 +8,7 @@
8
8
  * Label
9
9
  * </ScalarDropdownItem>
10
10
  */
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
11
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
12
12
  disabled?: boolean;
13
13
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
14
  click: (event: MouseEvent) => any;
@@ -17,10 +17,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
17
  }> & Readonly<{
18
18
  onClick?: ((event: MouseEvent) => any) | undefined;
19
19
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
20
- default?(_: {}): any;
20
+ default?: (props: {}) => any;
21
21
  }>;
22
22
  export default _default;
23
- type __VLS_WithTemplateSlots<T, S> = T & {
23
+ type __VLS_WithSlots<T, S> = T & {
24
24
  new (): {
25
25
  $slots: S;
26
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdownItem.vue"],"names":[],"mappings":"AAmDA;;;;;;;;;GASG;;eAIU,OAAO;;;;eAAP,OAAO;;;;qBA+EU,GAAG;;AAlFjC,wBAsHC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarDropdownItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdownItem.vue"],"names":[],"mappings":"AAkDA;;;;;;;;;GASG;;eAGU,OAAO;;;;eAAP,OAAO;;;;cA8DN,CAAC,KAAK,IAAiB,KAAK,GAAG;;AAhE7C,wBAgGC;AAOD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ScalarDropdownItem.vue2.js";
2
2
  import "./ScalarDropdownItem.vue3.js";
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-457c1cd3"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-788cdfbc"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -14,25 +14,20 @@ import type { Component } from 'vue';
14
14
  * <ScalarDropdownItem>Item 2</ScalarDropdownItem>
15
15
  * </ScalarDropdownMenu>
16
16
  */
17
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
18
18
  /** The component to render */
19
19
  is?: string | Component;
20
20
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
21
21
  /** The component to render */
22
22
  is?: string | Component;
23
- }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
24
- /** The menu contents */
25
- default(): unknown;
26
- /** Overrides the backdrop for the dropdown */
27
- backdrop?(): unknown;
28
- }> & {
23
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
29
24
  /** The menu contents */
30
25
  default(): unknown;
31
26
  /** Overrides the backdrop for the dropdown */
32
27
  backdrop?(): unknown;
33
28
  }>;
34
29
  export default _default;
35
- type __VLS_WithTemplateSlots<T, S> = T & {
30
+ type __VLS_WithSlots<T, S> = T & {
36
31
  new (): {
37
32
  $slots: S;
38
33
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdownMenu.vue"],"names":[],"mappings":"AA6DA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAMpC;;;;;;;;;;;;;;GAcG;;IAID,8BAA8B;SACzB,MAAM,GAAG,SAAS;;IADvB,8BAA8B;SACzB,MAAM,GAAG,SAAS;;IAKvB,wBAAwB;eACb,OAAO;IAClB,8CAA8C;iBACjC,OAAO;;IAHpB,wBAAwB;eACb,OAAO;IAClB,8CAA8C;iBACjC,OAAO;;AAZtB,wBAqGC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarDropdown/ScalarDropdownMenu.vue"],"names":[],"mappings":"AA6DA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAKpC;;;;;;;;;;;;;;GAcG;;IAGD,8BAA8B;SACzB,MAAM,GAAG,SAAS;;IADvB,8BAA8B;SACzB,MAAM,GAAG,SAAS;;IAKvB,wBAAwB;eACb,OAAO;IAClB,8CAA8C;iBACjC,OAAO;;AAXtB,wBA2FC;AAOD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,16 +1,11 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: any;
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
8
4
  };
9
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
5
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
12
7
  export default _default;
13
- type __VLS_WithTemplateSlots<T, S> = T & {
8
+ type __VLS_WithSlots<T, S> = T & {
14
9
  new (): {
15
10
  $slots: S;
16
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarErrorBoundary.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarErrorBoundary/ScalarErrorBoundary.vue"],"names":[],"mappings":"AAsDA,iBAAS,cAAc;WAyDT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarErrorBoundary.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarErrorBoundary/ScalarErrorBoundary.vue"],"names":[],"mappings":"AAwFA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAoB/C,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -11,10 +11,7 @@ import { type ExtensionList } from './types.js';
11
11
  * <ScalarButton @click="open">Select files</ScalarButton>
12
12
  * </ScalarFileUpload>
13
13
  */
14
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
- modelValue?: File[];
16
- error?: string;
17
- } & {
14
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
18
15
  /** Whether multiple files can be uploaded */
19
16
  multiple?: boolean;
20
17
  /**
@@ -27,15 +24,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
27
24
  loader?: LoadingState;
28
25
  /** Whether the file upload is compact */
29
26
  variant?: "compact" | "default";
30
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
- "update:modelValue": (value: File[]) => any;
32
- "update:error": (value: string) => any;
33
27
  } & {
34
- selected: (value: File[]) => any;
35
- }, string, import("vue").PublicProps, Readonly<{
28
+ /** The selected files */
36
29
  modelValue?: File[];
30
+ /** The error message */
37
31
  error?: string;
32
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
+ "update:modelValue": (value: File[] | undefined) => any;
34
+ "update:error": (value: string | undefined) => any;
38
35
  } & {
36
+ selected: (value: File[]) => any;
37
+ }, string, import("vue").PublicProps, Readonly<{
39
38
  /** Whether multiple files can be uploaded */
40
39
  multiple?: boolean;
41
40
  /**
@@ -48,23 +47,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
48
47
  loader?: LoadingState;
49
48
  /** Whether the file upload is compact */
50
49
  variant?: "compact" | "default";
50
+ } & {
51
+ /** The selected files */
52
+ modelValue?: File[];
53
+ /** The error message */
54
+ error?: string;
51
55
  }> & Readonly<{
52
- "onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
56
+ "onUpdate:modelValue"?: ((value: File[] | undefined) => any) | undefined;
53
57
  onSelected?: ((value: File[]) => any) | undefined;
54
- "onUpdate:error"?: ((value: string) => any) | undefined;
55
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
56
- /** Override the entire input */
57
- default?(props: {
58
- /** Open the file dialog to select files */
59
- open: () => void;
60
- }): unknown;
61
- /** Override the label */
62
- label?(): unknown;
63
- /** Override the entire drop target */
64
- 'drop-target'?(): unknown;
65
- /** Override the drop target label */
66
- 'drop-target-label'?(): unknown;
67
- }> & {
58
+ "onUpdate:error"?: ((value: string | undefined) => any) | undefined;
59
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
68
60
  /** Override the entire input */
69
61
  default?(props: {
70
62
  /** Open the file dialog to select files */
@@ -78,7 +70,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
78
70
  'drop-target-label'?(): unknown;
79
71
  }>;
80
72
  export default _default;
81
- type __VLS_WithTemplateSlots<T, S> = T & {
73
+ type __VLS_WithSlots<T, S> = T & {
82
74
  new (): {
83
75
  $slots: S;
84
76
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarFileUpload.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUpload.vue"],"names":[],"mappings":"AAkLA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAMpD,OAAO,EAAE,KAAK,aAAa,EAAmB,MAAM,SAAS,CAAA;AAI7D;;;;;;;;;;GAUG;;iBAwGU,IAAI,EAAE;YACT,MAAM;;IArGd,6CAA6C;eAClC,OAAO;IAClB;;;;OAIG;aACM,aAAa,GAAG,MAAM;IAC/B,yCAAyC;aAChC,YAAY;IACrB,yCAAyC;cAC/B,SAAS,GAAG,SAAS;;;;;;;iBAyFpB,IAAI,EAAE;YACT,MAAM;;IArGd,6CAA6C;eAClC,OAAO;IAClB;;;;OAIG;aACM,aAAa,GAAG,MAAM;IAC/B,yCAAyC;aAChC,YAAY;IACrB,yCAAyC;cAC/B,SAAS,GAAG,SAAS;;;;;;IAgB/B,gCAAgC;oBACd;QAChB,2CAA2C;QAC3C,IAAI,EAAE,MAAM,IAAI,CAAA;KACjB,GAAG,OAAO;IACX,yBAAyB;cACb,OAAO;IACnB,sCAAsC;sBACpB,OAAO;IACzB,qCAAqC;4BACb,OAAO;;IAV/B,gCAAgC;oBACd;QAChB,2CAA2C;QAC3C,IAAI,EAAE,MAAM,IAAI,CAAA;KACjB,GAAG,OAAO;IACX,yBAAyB;cACb,OAAO;IACnB,sCAAsC;sBACpB,OAAO;IACzB,qCAAqC;4BACb,OAAO;;AAxCjC,wBA8QC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarFileUpload.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUpload.vue"],"names":[],"mappings":"AAkLA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAMpD,OAAO,EAAE,KAAK,aAAa,EAAmB,MAAM,SAAS,CAAA;AAG7D;;;;;;;;;;GAUG;;IAGD,6CAA6C;eAClC,OAAO;IAClB;;;;OAIG;aACM,aAAa,GAAG,MAAM;IAC/B,yCAAyC;aAChC,YAAY;IACrB,yCAAyC;cAC/B,SAAS,GAAG,SAAS;;IAsFjC,yBAAyB;iBACZ,IAAI,EAAE;IACnB,wBAAwB;YACd,MAAM;;;;;;;IApGd,6CAA6C;eAClC,OAAO;IAClB;;;;OAIG;aACM,aAAa,GAAG,MAAM;IAC/B,yCAAyC;aAChC,YAAY;IACrB,yCAAyC;cAC/B,SAAS,GAAG,SAAS;;IAsFjC,yBAAyB;iBACZ,IAAI,EAAE;IACnB,wBAAwB;YACd,MAAM;;;;;;IA1Ed,gCAAgC;oBACd;QAChB,2CAA2C;QAC3C,IAAI,EAAE,MAAM,IAAI,CAAA;KACjB,GAAG,OAAO;IACX,yBAAyB;cACb,OAAO;IACnB,sCAAsC;sBACpB,OAAO;IACzB,qCAAqC;4BACb,OAAO;;AAtCjC,wBAsQC;AAOD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -7,11 +7,11 @@
7
7
  * @example
8
8
  * <ScalarFileUploadDropTarget />
9
9
  */
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
11
- default?(_: {}): any;
10
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
11
+ default?: (props: {}) => any;
12
12
  }>;
13
13
  export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
14
+ type __VLS_WithSlots<T, S> = T & {
15
15
  new (): {
16
16
  $slots: S;
17
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarFileUploadDropTarget.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue"],"names":[],"mappings":"AAwCA;;;;;;;;GAQG;;qBA4D0B,GAAG;;AA3DhC,wBA0FC;AAKD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarFileUploadDropTarget.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadDropTarget.vue"],"names":[],"mappings":"AAuCA;;;;;;;;GAQG;;cAmDW,CAAC,KAAK,IAAgB,KAAK,GAAG;;AAlD5C,wBA8EC;AACD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -8,11 +8,11 @@
8
8
  * <!-- Error message -->
9
9
  * </ScalarFileUploadError>
10
10
  */
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
12
- default?(_: {}): any;
11
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
12
+ default?: (props: {}) => any;
13
13
  }>;
14
14
  export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
15
+ type __VLS_WithSlots<T, S> = T & {
16
16
  new (): {
17
17
  $slots: S;
18
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarFileUploadError.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadError.vue"],"names":[],"mappings":"AAiCA;;;;;;;;;GASG;;qBA4C0B,GAAG;;AA3ChC,wBA0EC;AAKD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarFileUploadError.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadError.vue"],"names":[],"mappings":"AAgCA;;;;;;;;;GASG;;cA+BW,CAAC,KAAK,IAAgB,KAAK,GAAG;;AA9B5C,wBA0DC;AACD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -7,15 +7,17 @@
7
7
  * <ScalarFileUploadFileList :files="files" />
8
8
  */
9
9
  declare const _default: import("vue").DefineComponent<{
10
+ /** The files to display */
10
11
  modelValue?: File[];
11
12
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- "update:modelValue": (value: File[]) => any;
13
+ "update:modelValue": (value: File[] | undefined) => any;
13
14
  } & {
14
15
  upload: () => any;
15
16
  }, string, import("vue").PublicProps, Readonly<{
17
+ /** The files to display */
16
18
  modelValue?: File[];
17
19
  }> & Readonly<{
18
- "onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
20
+ "onUpdate:modelValue"?: ((value: File[] | undefined) => any) | undefined;
19
21
  onUpload?: (() => any) | undefined;
20
22
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
23
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarFileUploadFileList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadFileList.vue"],"names":[],"mappings":"AAoEA;;;;;;;GAOG;;iBAuBU,IAAI,EAAE;;;;;;iBAAN,IAAI,EAAE;;;;;AAtBnB,wBAmKC"}
1
+ {"version":3,"file":"ScalarFileUploadFileList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadFileList.vue"],"names":[],"mappings":"AAmEA;;;;;;;GAOG;;IAmBH,2BAA2B;iBACd,IAAI,EAAE;;;;;;IADnB,2BAA2B;iBACd,IAAI,EAAE;;;;;AAnBnB,wBAwJC"}
@@ -7,13 +7,13 @@ import type { FileUploadInputProps, FileUploadInputSlots } from './types.js';
7
7
  * @example
8
8
  * <ScalarFileUploadInput />
9
9
  */
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<FileUploadInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<FileUploadInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
11
  click: (event: MouseEvent) => any;
12
12
  }, string, import("vue").PublicProps, Readonly<FileUploadInputProps> & Readonly<{
13
13
  onClick?: ((event: MouseEvent) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<FileUploadInputSlots> & FileUploadInputSlots>;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, FileUploadInputSlots>;
15
15
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
16
+ type __VLS_WithSlots<T, S> = T & {
17
17
  new (): {
18
18
  $slots: S;
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarFileUploadInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadInput.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAEV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAIhB;;;;;;;GAOG;;;;;;AACH,wBAuHC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarFileUploadInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadInput.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAEV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAGhB;;;;;;;GAOG;;;;;;AACH,wBA6GC;AAOD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -7,13 +7,13 @@ import type { FileUploadInputProps, FileUploadInputSlots } from './types.js';
7
7
  * @example
8
8
  * <ScalarFileUploadInput />
9
9
  */
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<FileUploadInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<FileUploadInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
11
  click: (event: MouseEvent) => any;
12
12
  }, string, import("vue").PublicProps, Readonly<FileUploadInputProps> & Readonly<{
13
13
  onClick?: ((event: MouseEvent) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<FileUploadInputSlots> & FileUploadInputSlots>;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, FileUploadInputSlots>;
15
15
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
16
+ type __VLS_WithSlots<T, S> = T & {
17
17
  new (): {
18
18
  $slots: S;
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarFileUploadInputCompact.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAEV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAIhB;;;;;;;GAOG;;;;;;AACH,wBAwGC;AAWD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarFileUploadInputCompact.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadInputCompact.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAEV,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,SAAS,CAAA;AAGhB;;;;;;;GAOG;;;;;;AACH,wBA8FC;AAOD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarFileUploadLoading.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadLoading.vue"],"names":[],"mappings":"AAuCA,OAAO,EAAE,KAAK,YAAY,EAAiB,MAAM,kBAAkB,CAAA;AAInE;;;;;;;GAOG;;YAIO,YAAY;;YAAZ,YAAY;;AAHtB,wBAgFC"}
1
+ {"version":3,"file":"ScalarFileUploadLoading.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFileUpload/ScalarFileUploadLoading.vue"],"names":[],"mappings":"AAuCA,OAAO,EAAE,KAAK,YAAY,EAAiB,MAAM,kBAAkB,CAAA;AAGnE;;;;;;;GAOG;;YAGO,YAAY;;YAAZ,YAAY;;AAFtB,wBAgEC"}
@@ -1,43 +1,22 @@
1
1
  import { type MiddlewareData } from '@floating-ui/vue';
2
2
  import type { FloatingOptions } from './types';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: Readonly<{
6
- /** The reference element for the element in the #floating slot */
7
- default(): unknown;
8
- /** The floating element */
9
- floating?(props: {
10
- /** The width of the reference element if `resize` is true and placement is on the y axis */
11
- width?: string;
12
- /** The height of the reference element if `resize` is true and placement is on the x axis */
13
- height?: string;
14
- /** The middleware data return by Floating UI */
15
- data?: MiddlewareData;
16
- }): unknown;
17
- }> & {
18
- /** The reference element for the element in the #floating slot */
19
- default(): unknown;
20
- /** The floating element */
21
- floating?(props: {
22
- /** The width of the reference element if `resize` is true and placement is on the y axis */
23
- width?: string;
24
- /** The height of the reference element if `resize` is true and placement is on the x axis */
25
- height?: string;
26
- /** The middleware data return by Floating UI */
27
- data?: MiddlewareData;
28
- }): unknown;
29
- };
30
- refs: {
31
- wrapperRef: HTMLDivElement;
32
- floatingRef: HTMLDivElement;
33
- };
34
- rootEl: any;
3
+ type __VLS_Slots = {
4
+ /** The reference element for the element in the #floating slot */
5
+ default(): unknown;
6
+ /** The floating element */
7
+ floating?(props: {
8
+ /** The width of the reference element if `resize` is true and placement is on the y axis */
9
+ width?: string;
10
+ /** The height of the reference element if `resize` is true and placement is on the x axis */
11
+ height?: string;
12
+ /** The middleware data return by Floating UI */
13
+ data?: MiddlewareData;
14
+ }): unknown;
35
15
  };
36
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
37
16
  declare const __VLS_component: import("vue").DefineComponent<FloatingOptions, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FloatingOptions> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
39
18
  export default _default;
40
- type __VLS_WithTemplateSlots<T, S> = T & {
19
+ type __VLS_WithSlots<T, S> = T & {
41
20
  new (): {
42
21
  $slots: S;
43
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarFloating.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/ScalarFloating.vue"],"names":[],"mappings":"AA2HA,OAAO,EACL,KAAK,cAAc,EAOpB,MAAM,kBAAkB,CAAA;AAIzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AA6F9C,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;QAjIhD,kEAAkE;mBACvD,OAAO;QAClB,2BAA2B;yBACV;YACf,4FAA4F;YAC5F,KAAK,CAAC,EAAE,MAAM,CAAA;YACd,6FAA6F;YAC7F,MAAM,CAAC,EAAE,MAAM,CAAA;YACf,gDAAgD;YAChD,IAAI,CAAC,EAAE,cAAc,CAAA;SACtB,GAAG,OAAO;;QAVX,kEAAkE;mBACvD,OAAO;QAClB,2BAA2B;yBACV;YACf,4FAA4F;YAC5F,KAAK,CAAC,EAAE,MAAM,CAAA;YACd,6FAA6F;YAC7F,MAAM,CAAC,EAAE,MAAM,CAAA;YACf,gDAAgD;YAChD,IAAI,CAAC,EAAE,cAAc,CAAA;SACtB,GAAG,OAAO;;;;;;;EA4HZ;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0SAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarFloating.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/ScalarFloating.vue"],"names":[],"mappings":"AA2HA,OAAO,EACL,KAAK,cAAc,EAOpB,MAAM,kBAAkB,CAAA;AAIzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAa9C,KAAK,WAAW,GAAG;IACjB,kEAAkE;IAClE,OAAO,IAAI,OAAO,CAAA;IAClB,2BAA2B;IAC3B,QAAQ,CAAC,CAAC,KAAK,EAAE;QACf,4FAA4F;QAC5F,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,6FAA6F;QAC7F,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,gDAAgD;QAChD,IAAI,CAAC,EAAE,cAAc,CAAA;KACtB,GAAG,OAAO,CAAA;CACZ,CAAC;AAmIF,QAAA,MAAM,eAAe,0SAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -39,12 +39,12 @@ const D = /* @__PURE__ */ w({
39
39
  middleware: a(() => [
40
40
  F(t.offset),
41
41
  C(),
42
- M(),
42
+ M({ padding: 10 }),
43
43
  H({
44
44
  apply({ availableWidth: e, availableHeight: l, elements: v }) {
45
45
  Object.assign(v.floating.style, {
46
- maxWidth: `${Math.max(0, e) - 25}px`,
47
- maxHeight: `${Math.max(0, l) - 25}px`
46
+ maxWidth: `${Math.max(0, e) - 20}px`,
47
+ maxHeight: `${Math.max(0, l) - 20}px`
48
48
  });
49
49
  }
50
50
  }),
@@ -16,11 +16,11 @@
16
16
  * </template>
17
17
  * </ScalarDropdown>
18
18
  */
19
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
20
- default?(_: {}): any;
19
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
20
+ default?: (props: {}) => any;
21
21
  }>;
22
22
  export default _default;
23
- type __VLS_WithTemplateSlots<T, S> = T & {
23
+ type __VLS_WithSlots<T, S> = T & {
24
24
  new (): {
25
25
  $slots: S;
26
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarFloatingBackdrop.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/ScalarFloatingBackdrop.vue"],"names":[],"mappings":"AAyCA;;;;;;;;;;;;;;;;;GAiBG;;qBAuC0B,GAAG;;AAtChC,wBAoEC;AAKD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarFloatingBackdrop.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/ScalarFloatingBackdrop.vue"],"names":[],"mappings":"AAwCA;;;;;;;;;;;;;;;;;GAiBG;;cAuBW,CAAC,KAAK,IAAgB,KAAK,GAAG;;AAtB5C,wBAiDC;AACD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -18,6 +18,8 @@ export type FloatingOptions = {
18
18
  /**
19
19
  * Whether or not track the reference element's width
20
20
  * If enabled it will set `width` slot prop of the floating slot
21
+ *
22
+ * To match the width / height or the content try adding the `w-fit` to the class
21
23
  */
22
24
  resize?: boolean;
23
25
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAE5E,iDAAiD;AACjD,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAA;IAC7B;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,EAAE,UAAU,EAAE,CAAA;IACzB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;CAC5B,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarFloating/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAE5E,iDAAiD;AACjD,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,aAAa,CAAA;IACtB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAAA;IAC7B;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,EAAE,UAAU,EAAE,CAAA;IACzB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;CAC5B,CAAA"}
@@ -10,15 +10,15 @@
10
10
  * <!-- Form content -->
11
11
  * </ScalarForm>
12
12
  */
13
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
13
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
14
  submit: (event: SubmitEvent) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
16
16
  onSubmit?: ((event: SubmitEvent) => any) | undefined;
17
17
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
18
- default?(_: {}): any;
18
+ default?: (props: {}) => any;
19
19
  }>;
20
20
  export default _default;
21
- type __VLS_WithTemplateSlots<T, S> = T & {
21
+ type __VLS_WithSlots<T, S> = T & {
22
22
  new (): {
23
23
  $slots: S;
24
24
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarForm/ScalarForm.vue"],"names":[],"mappings":"AAuCA;;;;;;;;;;;GAWG;;;;;;qBA8C0B,GAAG;;AA7ChC,wBA6EC;AAKD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ScalarForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ScalarForm/ScalarForm.vue"],"names":[],"mappings":"AAsCA;;;;;;;;;;;GAWG;;;;;;cA8BW,CAAC,KAAK,IAAgB,KAAK,GAAG;;AA7B5C,wBA0DC;AACD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}