eco-vue-js 0.11.57 → 0.11.59

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 (264) hide show
  1. package/dist/assets/icons/IconAdd.svg.js +2 -2
  2. package/dist/assets/icons/IconAddCircle.svg.js +2 -2
  3. package/dist/assets/icons/IconAddSquare.svg.js +2 -2
  4. package/dist/assets/icons/IconAlarm.svg.js +2 -2
  5. package/dist/assets/icons/IconArchiveBook.svg.js +2 -2
  6. package/dist/assets/icons/IconArrow.svg.js +2 -2
  7. package/dist/assets/icons/IconBack.svg.js +2 -2
  8. package/dist/assets/icons/IconBold.svg.js +2 -2
  9. package/dist/assets/icons/IconCancel.svg.js +2 -2
  10. package/dist/assets/icons/IconCandle.svg.js +2 -2
  11. package/dist/assets/icons/IconCelery.svg.js +2 -2
  12. package/dist/assets/icons/IconChart.svg.js +2 -2
  13. package/dist/assets/icons/IconCheck.svg.js +2 -2
  14. package/dist/assets/icons/IconCheckCircle.svg.js +2 -2
  15. package/dist/assets/icons/IconClose.svg.js +2 -2
  16. package/dist/assets/icons/IconCloseCircle.svg.js +2 -2
  17. package/dist/assets/icons/IconCodeBlock.svg.js +2 -2
  18. package/dist/assets/icons/IconCodeInline.svg.js +2 -2
  19. package/dist/assets/icons/IconCopy.svg.js +2 -2
  20. package/dist/assets/icons/IconCopySuccess.svg.js +2 -2
  21. package/dist/assets/icons/IconCopyright.svg.js +2 -2
  22. package/dist/assets/icons/IconDanger.svg.js +2 -2
  23. package/dist/assets/icons/IconDojo.svg.js +2 -2
  24. package/dist/assets/icons/IconDrag.svg.js +2 -2
  25. package/dist/assets/icons/IconEdit.svg.js +2 -2
  26. package/dist/assets/icons/IconEditCircle.svg.js +2 -2
  27. package/dist/assets/icons/IconEditSquare.svg.js +2 -2
  28. package/dist/assets/icons/IconElement.svg.js +2 -2
  29. package/dist/assets/icons/IconExport.svg.js +2 -2
  30. package/dist/assets/icons/IconEye.svg.js +2 -2
  31. package/dist/assets/icons/IconEyeSlash.svg.js +2 -2
  32. package/dist/assets/icons/IconFilter.svg.js +2 -2
  33. package/dist/assets/icons/IconFilterRemove.svg.js +2 -2
  34. package/dist/assets/icons/IconFinding.svg.js +2 -2
  35. package/dist/assets/icons/IconFolder.svg.js +2 -2
  36. package/dist/assets/icons/IconFolderAdd.svg.js +2 -2
  37. package/dist/assets/icons/IconFolderCross.svg.js +2 -2
  38. package/dist/assets/icons/IconGrid.svg.js +2 -2
  39. package/dist/assets/icons/IconHeading.svg.js +2 -2
  40. package/dist/assets/icons/IconItalic.svg.js +2 -2
  41. package/dist/assets/icons/IconJira.svg.js +2 -2
  42. package/dist/assets/icons/IconKey.svg.js +2 -2
  43. package/dist/assets/icons/IconKeySquare.svg.js +2 -2
  44. package/dist/assets/icons/IconLayer.svg.js +2 -2
  45. package/dist/assets/icons/IconLink.svg.js +2 -2
  46. package/dist/assets/icons/IconLinkBold.svg.js +2 -2
  47. package/dist/assets/icons/IconLinkOutline.svg.js +2 -2
  48. package/dist/assets/icons/IconLinkedIn.svg.js +2 -2
  49. package/dist/assets/icons/IconList.svg.js +2 -2
  50. package/dist/assets/icons/IconListBullet.svg.js +2 -2
  51. package/dist/assets/icons/IconListCheckbox.svg.js +2 -2
  52. package/dist/assets/icons/IconListDecrease.svg.js +2 -2
  53. package/dist/assets/icons/IconListIncrease.svg.js +2 -2
  54. package/dist/assets/icons/IconListNumbered.svg.js +2 -2
  55. package/dist/assets/icons/IconListSettings.svg.js +2 -2
  56. package/dist/assets/icons/IconLock.svg.js +2 -2
  57. package/dist/assets/icons/IconLockOff.svg.js +2 -2
  58. package/dist/assets/icons/IconLogout.svg.js +2 -2
  59. package/dist/assets/icons/IconMenu.svg.js +2 -2
  60. package/dist/assets/icons/IconMinusCircle.svg.js +2 -2
  61. package/dist/assets/icons/IconMoon.svg.js +2 -2
  62. package/dist/assets/icons/IconMore.svg.js +2 -2
  63. package/dist/assets/icons/IconNegate.svg.js +2 -2
  64. package/dist/assets/icons/IconNegativeInfo.svg.js +2 -2
  65. package/dist/assets/icons/IconNote.svg.js +2 -2
  66. package/dist/assets/icons/IconPaste.svg.js +2 -2
  67. package/dist/assets/icons/IconProfile.svg.js +2 -2
  68. package/dist/assets/icons/IconQuote.svg.js +2 -2
  69. package/dist/assets/icons/IconRadar.svg.js +2 -2
  70. package/dist/assets/icons/IconRange.svg.js +2 -2
  71. package/dist/assets/icons/IconRedo.svg.js +2 -2
  72. package/dist/assets/icons/IconRefresh.svg.js +2 -2
  73. package/dist/assets/icons/IconSearch.svg.js +2 -2
  74. package/dist/assets/icons/IconSettings.svg.js +2 -2
  75. package/dist/assets/icons/IconShift.svg.js +2 -2
  76. package/dist/assets/icons/IconSlash.svg.js +2 -2
  77. package/dist/assets/icons/IconSort.svg.js +2 -2
  78. package/dist/assets/icons/IconStar.svg.js +2 -2
  79. package/dist/assets/icons/IconStrikethrough.svg.js +2 -2
  80. package/dist/assets/icons/IconSuccess.svg.js +2 -2
  81. package/dist/assets/icons/IconSummary.svg.js +2 -2
  82. package/dist/assets/icons/IconSun.svg.js +2 -2
  83. package/dist/assets/icons/IconTable.svg.js +2 -2
  84. package/dist/assets/icons/IconTableCollapsed.svg.js +2 -2
  85. package/dist/assets/icons/IconTag.svg.js +2 -2
  86. package/dist/assets/icons/IconTask.svg.js +2 -2
  87. package/dist/assets/icons/IconTime.svg.js +2 -2
  88. package/dist/assets/icons/IconTrash.svg.js +2 -2
  89. package/dist/assets/icons/IconUnderline.svg.js +2 -2
  90. package/dist/assets/icons/IconUndo.svg.js +2 -2
  91. package/dist/assets/icons/IconUser.svg.js +2 -2
  92. package/dist/assets/icons/IconVersionControl.svg.js +2 -2
  93. package/dist/assets/icons/IconWarn.svg.js +2 -2
  94. package/dist/assets/icons/IconWeight.svg.js +2 -2
  95. package/dist/components/ActionsBar/WActionsBar.vue.js +3 -3
  96. package/dist/components/BottomSheet/WBottomSheet.vue.js +1 -1
  97. package/dist/components/Button/WButton.vue.js +15 -15
  98. package/dist/components/Button/WButtonAction.vue.js +21 -21
  99. package/dist/components/Button/WButtonCopy.vue.d.ts +1 -1
  100. package/dist/components/Button/WButtonCopy.vue.js +3 -3
  101. package/dist/components/Button/WButtonDropdown.vue.js +9 -9
  102. package/dist/components/Button/WButtonGroup.vue.js +16 -19
  103. package/dist/components/Button/WButtonInput.vue.js +11 -11
  104. package/dist/components/Button/WButtonMore.vue.js +17 -17
  105. package/dist/components/Button/WButtonMoreItem.vue.js +6 -6
  106. package/dist/components/Button/WButtonSelection.vue.js +3 -3
  107. package/dist/components/Button/WButtonSelectionAction.vue.js +14 -14
  108. package/dist/components/Button/WButtonTab.vue.js +38 -38
  109. package/dist/components/Button/WButtonUnselect.vue.js +7 -7
  110. package/dist/components/Chart/WChartLine.vue.js +18 -18
  111. package/dist/components/Chart/WChartLinear.vue.js +9 -9
  112. package/dist/components/Chart/components/ChartAxis.vue.js +6 -6
  113. package/dist/components/Checkbox/WCheckbox.vue.js +30 -30
  114. package/dist/components/Checkbox/WCheckboxGroup.vue.d.ts.map +1 -1
  115. package/dist/components/Checkbox/WCheckboxGroup.vue.js +17 -20
  116. package/dist/components/Checkbox/WCheckboxGroupMultiple.vue.d.ts.map +1 -1
  117. package/dist/components/Checkbox/WCheckboxGroupMultiple.vue.js +16 -19
  118. package/dist/components/Chip/WChip.vue.js +2 -2
  119. package/dist/components/Counter/WCounter.vue.js +1 -1
  120. package/dist/components/DatePicker/WDatePicker.vue.js +2 -2
  121. package/dist/components/DatePicker/WDatePickerSingle.vue.js +2 -2
  122. package/dist/components/DatePicker/components/CalendarDay.vue.js +9 -9
  123. package/dist/components/DatePicker/components/CalendarMonth.vue.js +7 -7
  124. package/dist/components/DatePicker/components/CalendarToggle.vue.js +2 -2
  125. package/dist/components/DatePicker/components/CalendarValue.vue.js +3 -3
  126. package/dist/components/DatePicker/components/CalendarWeek.vue.js +7 -7
  127. package/dist/components/Dismissable/WDismissable.vue.js +2 -2
  128. package/dist/components/DragContainer/WDragContainer.vue.js +2 -2
  129. package/dist/components/DragContainer/components/DragItem.vue.js +5 -5
  130. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  131. package/dist/components/DropdownMenu/WDropdownMenu.vue.js +8 -8
  132. package/dist/components/Expansion/WExpansion.vue.js +2 -2
  133. package/dist/components/Expansion/WExpansionItem.vue.js +7 -7
  134. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +37 -37
  135. package/dist/components/FieldWrapper/components/FilterButton.vue.js +5 -5
  136. package/dist/components/FilePicker/WFilePicker.vue.d.ts +1 -1
  137. package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
  138. package/dist/components/FilePicker/WFilePicker.vue.js +17 -17
  139. package/dist/components/FilePicker/components/FilePickerItem.vue.js +2 -2
  140. package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -1
  141. package/dist/components/FilePicker/components/FilePickerSvg.vue.js +7 -7
  142. package/dist/components/FilterWrapper/WFilterWrapper.vue.js +1 -1
  143. package/dist/components/Form/WForm.vue.js +1 -1
  144. package/dist/components/Form/WFormValidator.vue.js +1 -1
  145. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +5 -5
  146. package/dist/components/FormAsync/WFormAsyncCheckboxGroup.vue.js +5 -5
  147. package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts +2 -2
  148. package/dist/components/FormAsync/WFormAsyncInput.vue.js +5 -5
  149. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +3 -3
  150. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +3 -3
  151. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +3 -3
  152. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +3 -3
  153. package/dist/components/FormAsync/WFormAsyncToggle.vue.js +2 -2
  154. package/dist/components/HeaderBar/WHeaderBar.vue.js +1 -1
  155. package/dist/components/ImageViewer/WImageViewer.vue.js +6 -6
  156. package/dist/components/ImageViewer/components/ImageModal.vue2.js +1 -1
  157. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
  158. package/dist/components/InfiniteList/WInfiniteList.vue.js +20 -20
  159. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +3 -3
  160. package/dist/components/InfiniteList/components/InfiniteListButton.vue.js +3 -3
  161. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +16 -1
  162. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
  163. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +15 -15
  164. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.js +2 -2
  165. package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
  166. package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +23 -23
  167. package/dist/components/InfoCard/WInfoCard.vue.js +5 -5
  168. package/dist/components/InfoCard/WInfoCardNegative.vue.js +2 -2
  169. package/dist/components/Input/WInput.vue.d.ts +15 -1
  170. package/dist/components/Input/WInput.vue.d.ts.map +1 -1
  171. package/dist/components/Input/WInput.vue.js +70 -80
  172. package/dist/components/Input/WInputAsync.vue.d.ts +2 -2
  173. package/dist/components/Input/WInputAsync.vue.js +16 -16
  174. package/dist/components/Input/WInputDate.vue.js +7 -7
  175. package/dist/components/Input/WInputOptions.vue.js +6 -6
  176. package/dist/components/Input/WInputSuggest.vue.d.ts +12 -1
  177. package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
  178. package/dist/components/Input/WInputSuggest.vue.js +18 -18
  179. package/dist/components/Input/WInputToolbarButton.vue.js +14 -14
  180. package/dist/components/Input/components/ContentEditable.vue2.js +1 -1
  181. package/dist/components/Input/components/InputActions.vue.js +12 -12
  182. package/dist/components/Input/components/InputActionsButton.vue.js +12 -12
  183. package/dist/components/Input/components/InputToolbar.vue2.js +7 -13
  184. package/dist/components/Input/components/InputToolbarButton.vue.js +11 -11
  185. package/dist/components/Link/WLink.vue.js +5 -5
  186. package/dist/components/Link/WLinkArrow.vue.js +2 -2
  187. package/dist/components/List/WList.vue.js +49 -49
  188. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  189. package/dist/components/List/WListCard.vue.js +57 -57
  190. package/dist/components/List/WListCardField.vue.js +3 -3
  191. package/dist/components/List/WListFilter.vue.js +8 -8
  192. package/dist/components/List/WListHeader.vue.js +7 -7
  193. package/dist/components/List/WListHeaderItem.vue.js +14 -14
  194. package/dist/components/List/components/HeaderFieldNested.vue.js +6 -6
  195. package/dist/components/List/components/HeaderSettings.vue.js +13 -13
  196. package/dist/components/List/components/HeaderSettingsList.vue.js +16 -16
  197. package/dist/components/List/components/HeaderSettingsModeButton.vue.js +5 -5
  198. package/dist/components/List/components/HeaderSort.vue.js +5 -5
  199. package/dist/components/List/components/HeaderSortItem.vue.js +5 -5
  200. package/dist/components/List/components/ListCardAction.vue.js +3 -3
  201. package/dist/components/List/components/ListCardFieldNested.vue.js +20 -20
  202. package/dist/components/List/components/ListCardFieldNestedItem.vue.js +2 -2
  203. package/dist/components/List/components/ListFilterGlobal.vue2.js +13 -13
  204. package/dist/components/List/components/ListFilterGlobalItem.vue.js +14 -14
  205. package/dist/components/List/components/ListFilterLocal.vue2.js +13 -14
  206. package/dist/components/List/components/ListFilterSearch.vue.js +2 -2
  207. package/dist/components/List/components/ListFilterSelect.vue.js +4 -4
  208. package/dist/components/MenuItem/WMenuItem.vue.js +12 -12
  209. package/dist/components/Modal/WModal.vue.js +1 -1
  210. package/dist/components/Modal/WModalExport.vue.js +4 -4
  211. package/dist/components/Modal/WModalExportSimple.vue.js +4 -4
  212. package/dist/components/Modal/WModalImport.vue.js +3 -3
  213. package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
  214. package/dist/components/Modal/WModalStepper.vue.js +20 -20
  215. package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
  216. package/dist/components/Modal/WModalWrapper.vue.js +10 -10
  217. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +22 -22
  218. package/dist/components/Nav/WNavBar.vue.js +2 -2
  219. package/dist/components/Nav/WNavItem.vue.js +14 -14
  220. package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
  221. package/dist/components/Nav/WNavItemExpand.vue.js +15 -15
  222. package/dist/components/Notify/components/NotifyCard.vue.js +11 -11
  223. package/dist/components/NumberFormatter/WNumberFormatter.vue.js +4 -4
  224. package/dist/components/Page/WPage.vue.js +17 -17
  225. package/dist/components/Page/WPageTitle.vue.js +3 -3
  226. package/dist/components/Progress/WProgress.vue.js +1 -1
  227. package/dist/components/Progress/WProgressStriped.vue.js +9 -9
  228. package/dist/components/RouterLink/WRouterLink.vue.js +1 -1
  229. package/dist/components/Select/WSelect.vue.js +25 -25
  230. package/dist/components/Select/WSelectAsync.vue.js +27 -27
  231. package/dist/components/Select/WSelectAsyncList.vue.js +12 -12
  232. package/dist/components/Select/WSelectAsyncSingle.vue.js +7 -7
  233. package/dist/components/Select/WSelectSingle.vue.js +6 -6
  234. package/dist/components/Select/WSelectStringified.vue.js +2 -2
  235. package/dist/components/Select/components/SelectAsyncList.vue.js +33 -33
  236. package/dist/components/Select/components/SelectAsyncPrefix.vue.js +17 -17
  237. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
  238. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +10 -10
  239. package/dist/components/Select/components/SelectOption.vue.d.ts +15 -1
  240. package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
  241. package/dist/components/Select/components/SelectOption.vue.js +10 -10
  242. package/dist/components/Select/components/SelectOptionPrefix.vue.js +14 -14
  243. package/dist/components/Shine/WShine.vue.js +1 -1
  244. package/dist/components/Shine/WShineEffect.vue.js +2 -2
  245. package/dist/components/Slider/WSlider.vue.js +6 -6
  246. package/dist/components/Slider/WSliderRange.vue.js +6 -6
  247. package/dist/components/Spinner/WSpinner.vue.js +2 -2
  248. package/dist/components/Status/WStatusIcon.vue.js +2 -2
  249. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
  250. package/dist/components/Tabs/WTabs.vue.js +22 -22
  251. package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
  252. package/dist/components/Tabs/components/TabItem.vue.js +5 -5
  253. package/dist/components/Tabs/components/TabTitleButton.vue.js +14 -14
  254. package/dist/components/Toggle/WToggle.vue.js +17 -17
  255. package/dist/components/Toggle/WToggleTheme.vue.js +2 -2
  256. package/dist/components/Tooltip/WTooltip.vue.js +1 -1
  257. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
  258. package/dist/components/Tooltip/WTooltipContainer.vue.js +2 -2
  259. package/dist/components/Tooltip/components/TooltipContainer.vue.js +11 -11
  260. package/dist/components/VirtualScroll/WVirtualScroll.vue.js +9 -9
  261. package/dist/components/VirtualScroll/components/VirtualScrollPage.vue.d.ts +1 -1
  262. package/dist/components/VirtualScroll/components/VirtualScrollPage.vue.js +3 -3
  263. package/dist/utils/useQueryUpdater.d.ts.map +1 -1
  264. package/package.json +10 -10
@@ -32,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
32
  ref: "button",
33
33
  role: "button",
34
34
  tabindex: "0",
35
- class: normalizeClass(["w-ripple w-ripple-hover -px--inner-margin relative grid cursor-pointer select-none grid-cols-[1fr,auto] items-center gap-2 py-3 text-start", _ctx.toggleClass]),
35
+ class: normalizeClass(["w-ripple w-ripple-hover -px--inner-margin relative grid cursor-pointer select-none grid-cols-[1fr,auto] items-center gap-2 py-3 text-start", __props.toggleClass]),
36
36
  onClick: toggle,
37
37
  onKeydown: [
38
38
  withKeys(toggle, ["enter"]),
@@ -41,15 +41,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  }, {
42
42
  default: withCtx(() => [
43
43
  createElementVNode("div", null, [
44
- _ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
44
+ __props.icon ? (openBlock(), createBlock(resolveDynamicComponent(__props.icon), {
45
45
  key: 0,
46
46
  class: "square-[1.25em] -mt-1 inline"
47
47
  })) : createCommentVNode("", true),
48
48
  _cache[0] || (_cache[0] = createTextVNode()),
49
49
  createElementVNode("span", {
50
- class: normalizeClass(["relative pr-4 font-semibold", { "text-xs": _ctx.minTitle }])
50
+ class: normalizeClass(["relative pr-4 font-semibold", { "text-xs": __props.minTitle }])
51
51
  }, [
52
- createTextVNode(toDisplayString(_ctx.title) + " ", 1),
52
+ createTextVNode(toDisplayString(__props.title) + " ", 1),
53
53
  createVNode(Transition, {
54
54
  "enter-active-class": "transition-opacity",
55
55
  "leave-active-class": "transition-opacity",
@@ -57,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
57
57
  "leave-to-class": "opacity-0"
58
58
  }, {
59
59
  default: withCtx(() => [
60
- _ctx.hasFlag ? (openBlock(), createElementBlock("div", _hoisted_1)) : createCommentVNode("", true)
60
+ __props.hasFlag ? (openBlock(), createElementBlock("div", _hoisted_1)) : createCommentVNode("", true)
61
61
  ]),
62
62
  _: 1
63
63
  })
@@ -65,14 +65,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
65
65
  ]),
66
66
  createElementVNode("div", _hoisted_2, [
67
67
  createVNode(unref(IconArrow), {
68
- class: normalizeClass(["text-accent square-[1.25em] transition-transform", { "rotate-180": _ctx.isOpen }])
68
+ class: normalizeClass(["text-accent square-[1.25em] transition-transform", { "rotate-180": __props.isOpen }])
69
69
  }, null, 8, ["class"])
70
70
  ])
71
71
  ]),
72
72
  _: 1
73
73
  }, 40, ["class"])),
74
74
  createVNode(_sfc_main$1, {
75
- "is-open": _ctx.isOpen,
75
+ "is-open": __props.isOpen,
76
76
  class: normalizeClass([_ctx.$attrs.class, "py-2"])
77
77
  }, {
78
78
  default: withCtx(() => [
@@ -100,26 +100,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
100
100
  return (_ctx, _cache) => {
101
101
  return openBlock(), createElementBlock("div", mergeProps({ class: "relative" }, { style: _ctx.$attrs.style }, {
102
102
  class: [_ctx.$attrs.class, {
103
- "mb-[1.125rem]": !_ctx.noMargin && !_ctx.subgrid,
104
- "col-span-full grid grid-cols-subgrid": _ctx.subgrid
103
+ "mb-[1.125rem]": !__props.noMargin && !__props.subgrid,
104
+ "col-span-full grid grid-cols-subgrid": __props.subgrid
105
105
  }],
106
106
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
107
107
  }), [
108
- _ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock("label", {
108
+ __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("label", {
109
109
  key: 0,
110
110
  for: unref(id),
111
111
  class: normalizeClass(["text-accent relative block text-xs font-semibold leading-loose", {
112
112
  "cursor-not-allowed opacity-50": unref(isDisabled) && !unref(isReadonly) && !unref(isSkeleton),
113
- "col-start-1": _ctx.subgrid
113
+ "col-start-1": __props.subgrid
114
114
  }])
115
115
  }, [
116
116
  !unref(isSkeleton) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
117
117
  renderSlot(_ctx.$slots, "title", {}, () => [
118
- _ctx.titleIcon ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
119
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.titleIcon), { class: "square-[1.25em] mt-[-0.25em] inline" })),
120
- _cache[1] || (_cache[1] = createTextVNode(" "))
118
+ __props.titleIcon ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
119
+ (openBlock(), createBlock(resolveDynamicComponent(__props.titleIcon), { class: "square-[1.25em] mt-[-0.25em] inline" })),
120
+ _cache[1] || (_cache[1] = createTextVNode(" ", -1))
121
121
  ], 64)) : createCommentVNode("", true),
122
- createTextVNode(toDisplayString(_ctx.title), 1)
122
+ createTextVNode(toDisplayString(__props.title), 1)
123
123
  ]),
124
124
  createVNode(Transition, {
125
125
  "enter-active-class": "transition-opacity",
@@ -128,13 +128,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
128
128
  "leave-to-class": "opacity-0"
129
129
  }, {
130
130
  default: withCtx(() => [
131
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_2, " * ")) : createCommentVNode("", true)
131
+ __props.required ? (openBlock(), createElementBlock("span", _hoisted_2, " * ")) : createCommentVNode("", true)
132
132
  ]),
133
133
  _: 1
134
134
  }),
135
- _ctx.filterField && encodedQueryParam.value ? (openBlock(), createBlock(_sfc_main$1, {
135
+ __props.filterField && encodedQueryParam.value ? (openBlock(), createBlock(_sfc_main$1, {
136
136
  key: 0,
137
- "filter-field": _ctx.filterField,
137
+ "filter-field": __props.filterField,
138
138
  "encoded-query-param": encodedQueryParam.value,
139
139
  class: "absolute top-0.5 ml-2"
140
140
  }, null, 8, ["filter-field", "encoded-query-param"])) : createCommentVNode("", true)
@@ -144,32 +144,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
144
144
  createElementVNode("div", {
145
145
  ref: "field",
146
146
  class: normalizeClass(["grid", {
147
- "pr-9": !_ctx.title && !_ctx.$slots.title && _ctx.filterField,
148
- "col-start-2 -col-end-1 row-start-1 -row-end-3 grid-cols-subgrid": _ctx.subgrid,
149
- "grid-cols-[1fr,auto]": !_ctx.subgrid
147
+ "pr-9": !__props.title && !_ctx.$slots.title && __props.filterField,
148
+ "col-start-2 -col-end-1 row-start-1 -row-end-3 grid-cols-subgrid": __props.subgrid,
149
+ "grid-cols-[1fr,auto]": !__props.subgrid
150
150
  }])
151
151
  }, [
152
152
  !unref(isSkeleton) ? (openBlock(), createElementBlock("div", {
153
153
  key: 0,
154
154
  class: normalizeClass(["w-has-changes-color-info dark:w-has-changes-color-info-dark relative grid", {
155
- "focus-within-not:w-has-changes-color-negative dark:focus-within-not:w-has-changes-color-negative-dark": _ctx.errorMessage,
156
- "col-span-full grid-cols-subgrid": _ctx.subgrid,
157
- "grid-cols-1": !_ctx.subgrid
155
+ "focus-within-not:w-has-changes-color-negative dark:focus-within-not:w-has-changes-color-negative-dark": __props.errorMessage,
156
+ "col-span-full grid-cols-subgrid": __props.subgrid,
157
+ "grid-cols-1": !__props.subgrid
158
158
  }])
159
159
  }, [
160
160
  renderSlot(_ctx.$slots, "field", normalizeProps(guardReactiveProps({ id: unref(id), setFocused, focused: focused.value })), () => [
161
161
  createElementVNode("div", {
162
162
  class: normalizeClass(["flex min-h-[--w-input-height,2.75rem] items-center font-normal", {
163
- "font-mono": _ctx.mono,
164
- "border-t border-solid border-gray-300 dark:border-gray-700": _ctx.title || _ctx.$slots.title
163
+ "font-mono": __props.mono,
164
+ "border-t border-solid border-gray-300 dark:border-gray-700": __props.title || _ctx.$slots.title
165
165
  }])
166
166
  }, [
167
167
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ id: unref(id), setFocused, focused: focused.value })), () => [
168
- createTextVNode(toDisplayString(typeof _ctx.modelValue === "number" ? unref(numberFormatter).format(_ctx.modelValue) : _ctx.modelValue === null ? _ctx.emptyValue ?? "N / A" : _ctx.modelValue || _ctx.emptyValue), 1)
168
+ createTextVNode(toDisplayString(typeof __props.modelValue === "number" ? unref(numberFormatter).format(__props.modelValue) : __props.modelValue === null ? __props.emptyValue ?? "N / A" : __props.modelValue || __props.emptyValue), 1)
169
169
  ]),
170
- _ctx.allowCopy && _ctx.modelValue ? (openBlock(), createBlock(_sfc_main$3, {
170
+ __props.allowCopy && __props.modelValue ? (openBlock(), createBlock(_sfc_main$3, {
171
171
  key: 0,
172
- value: `${_ctx.modelValue}`,
172
+ value: `${__props.modelValue}`,
173
173
  class: "ml-2"
174
174
  }, null, 8, ["value"])) : createCommentVNode("", true)
175
175
  ], 2)
@@ -181,7 +181,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
181
181
  "leave-to-class": "opacity-0"
182
182
  }, {
183
183
  default: withCtx(() => [
184
- _ctx.hasChanges ? (openBlock(), createElementBlock("span", _hoisted_3)) : createCommentVNode("", true)
184
+ __props.hasChanges ? (openBlock(), createElementBlock("span", _hoisted_3)) : createCommentVNode("", true)
185
185
  ]),
186
186
  _: 1
187
187
  }),
@@ -194,19 +194,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
194
194
  default: withCtx(() => [
195
195
  message.value ? withDirectives((openBlock(), createElementBlock("div", {
196
196
  key: 0,
197
- class: normalizeClass(["text-description absolute right-0 whitespace-nowrap py-0.5 text-xs font-normal", _ctx.topText ? "bottom-full" : "top-full"])
197
+ class: normalizeClass(["text-description absolute right-0 whitespace-nowrap py-0.5 text-xs font-normal", __props.topText ? "bottom-full" : "top-full"])
198
198
  }, toDisplayString(message.value), 3)), [
199
199
  [vShow, isMessageShown.value]
200
- ]) : _ctx.errorMessage ? (openBlock(), createElementBlock("div", {
200
+ ]) : __props.errorMessage ? (openBlock(), createElementBlock("div", {
201
201
  key: 1,
202
202
  class: normalizeClass(["text-negative dark:text-negative-dark absolute pt-0.5 text-xs font-normal", [
203
- !_ctx.leftError || _ctx.topText ? "right-0 text-end" : "left-0 text-start",
204
- _ctx.topText ? "bottom-full" : "top-full"
203
+ !__props.leftError || __props.topText ? "right-0 text-end" : "left-0 text-start",
204
+ __props.topText ? "bottom-full" : "top-full"
205
205
  ]])
206
- }, toDisplayString(_ctx.errorMessage), 3)) : _ctx.maxLength !== void 0 && focused.value ? (openBlock(), createElementBlock("div", {
206
+ }, toDisplayString(__props.errorMessage), 3)) : __props.maxLength !== void 0 && focused.value ? (openBlock(), createElementBlock("div", {
207
207
  key: 2,
208
- class: normalizeClass(["text-description absolute right-0 whitespace-nowrap pt-0.5 text-xs font-normal", _ctx.topText ? "bottom-full" : "top-full"])
209
- }, toDisplayString(unref(numberFormatter).format(`${typeof _ctx.modelValue === "number" ? _ctx.modelValue : _ctx.modelValue || ""}`.length)) + " / " + toDisplayString(unref(numberFormatter).format(_ctx.maxLength)), 3)) : createCommentVNode("", true)
208
+ class: normalizeClass(["text-description absolute right-0 whitespace-nowrap pt-0.5 text-xs font-normal", __props.topText ? "bottom-full" : "top-full"])
209
+ }, toDisplayString(unref(numberFormatter).format(`${typeof __props.modelValue === "number" ? __props.modelValue : __props.modelValue || ""}`.length)) + " / " + toDisplayString(unref(numberFormatter).format(__props.maxLength)), 3)) : createCommentVNode("", true)
210
210
  ]),
211
211
  _: 1
212
212
  })
@@ -217,29 +217,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
217
217
  _ctx.$slots.right ? (openBlock(), createElementBlock("div", _hoisted_4, [
218
218
  renderSlot(_ctx.$slots, "right")
219
219
  ], 512)) : createCommentVNode("", true),
220
- !_ctx.title && !_ctx.$slots.title && _ctx.filterField ? (openBlock(), createBlock(_sfc_main$1, {
220
+ !__props.title && !_ctx.$slots.title && __props.filterField ? (openBlock(), createBlock(_sfc_main$1, {
221
221
  key: 3,
222
- "filter-field": _ctx.filterField,
222
+ "filter-field": __props.filterField,
223
223
  "encoded-query-param": encodedQueryParam.value,
224
224
  skeleton: unref(isSkeleton),
225
225
  class: "absolute right-0 self-center"
226
226
  }, null, 8, ["filter-field", "encoded-query-param", "skeleton"])) : createCommentVNode("", true)
227
227
  ], 2),
228
228
  renderSlot(_ctx.$slots, "bottom"),
229
- _ctx.description ? (openBlock(), createElementBlock("div", {
229
+ __props.description ? (openBlock(), createElementBlock("div", {
230
230
  key: 1,
231
231
  class: normalizeClass(["text-description col-start-1 whitespace-pre-wrap text-pretty break-words text-xs font-normal", {
232
232
  "opacity-50": unref(isDisabled) && !unref(isReadonly) && !unref(isSkeleton),
233
- "pt-4": !_ctx.subgrid
233
+ "pt-4": !__props.subgrid
234
234
  }])
235
235
  }, [
236
236
  unref(isSkeleton) ? (openBlock(), createBlock(_sfc_main$2, { key: 0 })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
237
- createTextVNode(toDisplayString(_ctx.description), 1)
237
+ createTextVNode(toDisplayString(__props.description), 1)
238
238
  ], 64))
239
239
  ], 2)) : createCommentVNode("", true),
240
- _ctx.tooltipText && !unref(isSkeleton) && !unref(isReadonly) ? (openBlock(), createBlock(_sfc_main$4, {
240
+ __props.tooltipText && !unref(isSkeleton) && !unref(isReadonly) ? (openBlock(), createBlock(_sfc_main$4, {
241
241
  key: 2,
242
- text: _ctx.tooltipText
242
+ text: __props.tooltipText
243
243
  }, null, 8, ["text"])) : createCommentVNode("", true)
244
244
  ], 16);
245
245
  };
@@ -15,15 +15,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  },
16
16
  setup(__props) {
17
17
  return (_ctx, _cache) => {
18
- return _ctx.skeleton || !_ctx.encodedQueryParam ? (openBlock(), createElementBlock("div", _hoisted_1)) : (openBlock(), createElementBlock("button", {
18
+ return __props.skeleton || !__props.encodedQueryParam ? (openBlock(), createElementBlock("div", _hoisted_1)) : (openBlock(), createElementBlock("button", {
19
19
  key: 1,
20
20
  class: normalizeClass(["w-ripple w-ripple-hover rounded p-[0.125em]", {
21
- "text-description": _ctx.$route.query[_ctx.filterField] !== _ctx.encodedQueryParam,
22
- "bg-primary dark:bg-primary-dark text-default": _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam
21
+ "text-description": _ctx.$route.query[__props.filterField] !== __props.encodedQueryParam,
22
+ "bg-primary dark:bg-primary-dark text-default": _ctx.$route.query[__props.filterField] === __props.encodedQueryParam
23
23
  }]),
24
- "aria-pressed": _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam,
24
+ "aria-pressed": _ctx.$route.query[__props.filterField] === __props.encodedQueryParam,
25
25
  "aria-label": "Toggle filter",
26
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$router.replace({ query: { ..._ctx.$route.query, [_ctx.filterField]: _ctx.$route.query[_ctx.filterField] === _ctx.encodedQueryParam ? void 0 : _ctx.encodedQueryParam } }))
26
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$router.replace({ query: { ..._ctx.$route.query, [__props.filterField]: _ctx.$route.query[__props.filterField] === __props.encodedQueryParam ? void 0 : __props.encodedQueryParam } }))
27
27
  }, [
28
28
  createVNode(unref(IconFilter), { class: "square-[1.25em]" })
29
29
  ], 10, _hoisted_2));
@@ -40,9 +40,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
40
40
  skeleton: boolean;
41
41
  readonly: boolean;
42
42
  title: string;
43
+ placeholder: string;
43
44
  disabled: boolean;
44
45
  errorMessage: string;
45
- placeholder: string;
46
46
  accept: string;
47
47
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
48
48
  container: HTMLLabelElement;
@@ -1 +1 @@
1
- {"version":3,"file":"WFilePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/WFilePicker.vue"],"names":[],"mappings":"AA2IA;AA2QA,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,EAAE,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAkGJ,iBAAS,cAAc;WAgQT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACC,GAAG;;;YAEH,GAAG;0BADH,GAAG;;;YAEH,GAAG;;;;;;;EAiBjC;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;cArYN,OAAO;cACP,OAAO;WAFV,MAAM;cAGH,OAAO;kBAJH,MAAM;iBAHP,MAAM;YAEX,MAAM;;;;kBAkZjB,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":"WFilePicker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/FilePicker/WFilePicker.vue"],"names":[],"mappings":"AA2IA;AA2QA,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,IAAI,EAAE,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAkGJ,iBAAS,cAAc;WAgQT,OAAO,IAA6B;;uBAhBvB,GAAG;0BACC,GAAG;;;YAEH,GAAG;0BADH,GAAG;;;YAEH,GAAG;;;;;;;EAiBjC;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;cArYN,OAAO;cACP,OAAO;WAFV,MAAM;iBAJA,MAAM;cAOT,OAAO;kBAJH,MAAM;YADZ,MAAM;;;;kBAkZjB,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"}
@@ -101,12 +101,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
101
101
  });
102
102
  return (_ctx, _cache) => {
103
103
  return openBlock(), createElementBlock("div", _hoisted_1, [
104
- _ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_2, [
104
+ __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_2, [
105
105
  !unref(isSkeleton) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
106
106
  renderSlot(_ctx.$slots, "title", {}, () => [
107
- createTextVNode(toDisplayString(_ctx.title), 1)
107
+ createTextVNode(toDisplayString(__props.title), 1)
108
108
  ]),
109
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3, " * ")) : createCommentVNode("", true)
109
+ __props.required ? (openBlock(), createElementBlock("span", _hoisted_3, " * ")) : createCommentVNode("", true)
110
110
  ], 64)) : (openBlock(), createBlock(_sfc_main$1, {
111
111
  key: 1,
112
112
  class: "w-skeleton-h-4 w-skeleton-w-16"
@@ -126,8 +126,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
126
126
  ref: "input",
127
127
  type: "file",
128
128
  class: "pointer-events-none hidden",
129
- multiple: _ctx.multiple,
130
- accept: _ctx.accept,
129
+ multiple: __props.multiple,
130
+ accept: __props.accept,
131
131
  onChange: updateModelValue
132
132
  }, null, 40, _hoisted_4)) : createCommentVNode("", true),
133
133
  containerWidth.value && containerHeight.value ? (openBlock(), createBlock(_sfc_main$2, {
@@ -135,13 +135,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
135
135
  "svg-width": containerWidth.value,
136
136
  "svg-height": containerHeight.value,
137
137
  "is-active": isActive.value,
138
- "has-error": !!_ctx.errorMessage,
138
+ "has-error": !!__props.errorMessage,
139
139
  class: "absolute left-0 top-0"
140
140
  }, null, 8, ["svg-width", "svg-height", "is-active", "has-error"])) : createCommentVNode("", true),
141
- _ctx.placeholder ? (openBlock(), createElementBlock("div", _hoisted_5, [
141
+ __props.placeholder ? (openBlock(), createElementBlock("div", _hoisted_5, [
142
142
  createVNode(_sfc_main$3, {
143
- name: _ctx.placeholder,
144
- "has-error": !!_ctx.errorMessage,
143
+ name: __props.placeholder,
144
+ "has-error": !!__props.errorMessage,
145
145
  "onClick:cancel": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("clear:placeholder"))
146
146
  }, {
147
147
  positive: withCtx(() => [
@@ -152,27 +152,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
152
152
  ]),
153
153
  _: 3
154
154
  }, 8, ["name", "has-error"])
155
- ])) : _ctx.modelValue.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6, [
155
+ ])) : __props.modelValue.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6, [
156
156
  _cache[7] || (_cache[7] = createElementVNode("div", { class: "mt-16 font-semibold" }, " Drag and drop files here ", -1)),
157
157
  _cache[8] || (_cache[8] = createElementVNode("div", { class: "mt-4 font-normal" }, " or ", -1)),
158
158
  createVNode(_sfc_main$4, {
159
159
  "semantic-type": unref(SemanticType).PRIMARY,
160
160
  disabled: unref(isReadonly) || unref(isDisabled),
161
161
  class: "mt-4",
162
- onClick: _cache[1] || (_cache[1] = withModifiers(($event) => unref(inputRef)?.click(), ["stop", "prevent"]))
162
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => inputRef.value?.click(), ["stop", "prevent"]))
163
163
  }, {
164
- default: withCtx(() => _cache[6] || (_cache[6] = [
165
- createTextVNode(" Browse file ")
166
- ])),
164
+ default: withCtx(() => [..._cache[6] || (_cache[6] = [
165
+ createTextVNode(" Browse file ", -1)
166
+ ])]),
167
167
  _: 1
168
168
  }, 8, ["semantic-type", "disabled"])
169
169
  ])) : (openBlock(), createElementBlock("div", _hoisted_7, [
170
170
  createElementVNode("div", _hoisted_8, [
171
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.modelValue, (file, index) => {
171
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.modelValue, (file, index) => {
172
172
  return openBlock(), createBlock(_sfc_main$3, {
173
173
  key: index,
174
174
  name: file.name,
175
- "has-error": !!_ctx.errorMessage,
175
+ "has-error": !!__props.errorMessage,
176
176
  "onClick:cancel": ($event) => unselectFile(index)
177
177
  }, {
178
178
  positive: withCtx(() => [
@@ -194,7 +194,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
194
194
  "leave-to-class": "opacity-0"
195
195
  }, {
196
196
  default: withCtx(() => [
197
- _ctx.errorMessage ? (openBlock(), createElementBlock("div", _hoisted_9, toDisplayString(_ctx.errorMessage), 1)) : createCommentVNode("", true)
197
+ __props.errorMessage ? (openBlock(), createElementBlock("div", _hoisted_9, toDisplayString(__props.errorMessage), 1)) : createCommentVNode("", true)
198
198
  ]),
199
199
  _: 1
200
200
  })
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return (_ctx, _cache) => {
18
18
  return openBlock(), createElementBlock("div", _hoisted_1, [
19
19
  createElementVNode("div", _hoisted_2, [
20
- !_ctx.hasError ? renderSlot(_ctx.$slots, "positive", { key: 0 }, () => [
20
+ !__props.hasError ? renderSlot(_ctx.$slots, "positive", { key: 0 }, () => [
21
21
  createVNode(unref(IconCheckCircle), { class: "square-36 text-positive dark:text-positive-dark" })
22
22
  ]) : renderSlot(_ctx.$slots, "negative", { key: 1 }, () => [
23
23
  createVNode(unref(IconCloseCircle), { class: "square-36 text-negative dark:text-negative-dark" })
@@ -30,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
30
  createVNode(unref(IconCancel), { class: "square-3 text-description" })
31
31
  ])
32
32
  ]),
33
- createElementVNode("div", _hoisted_3, toDisplayString(_ctx.name), 1)
33
+ createElementVNode("div", _hoisted_3, toDisplayString(__props.name), 1)
34
34
  ]);
35
35
  };
36
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FilePickerSvg.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FilePicker/components/FilePickerSvg.vue"],"names":[],"mappings":"AAmCA;AAwFA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;;;AAsHF,wBAQG"}
1
+ {"version":3,"file":"FilePickerSvg.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/FilePicker/components/FilePickerSvg.vue"],"names":[],"mappings":"AAmCA;AAwFA,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;;;AAqHF,wBAQG"}
@@ -45,13 +45,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
45
  return (_ctx, _cache) => {
46
46
  return openBlock(), createElementBlock("svg", {
47
47
  class: normalizeClass({
48
- "opacity-50": !_ctx.isActive,
49
- "opacity-100": _ctx.isActive,
50
- "text-negative dark:text-negative-dark": _ctx.hasError,
51
- "text-primary dark:text-primary-dark": !_ctx.hasError
48
+ "opacity-50": !__props.isActive,
49
+ "opacity-100": __props.isActive,
50
+ "text-negative dark:text-negative-dark": __props.hasError,
51
+ "text-primary dark:text-primary-dark": !__props.hasError
52
52
  }),
53
- width: _ctx.svgWidth,
54
- height: _ctx.svgHeight
53
+ width: __props.svgWidth,
54
+ height: __props.svgHeight
55
55
  }, [
56
56
  createElementVNode("rect", {
57
57
  ref: "rect",
@@ -68,7 +68,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
68
68
  stroke: "currentColor",
69
69
  fill: "none",
70
70
  class: normalizeClass({
71
- "animate-border-rotate": _ctx.isActive
71
+ "animate-border-rotate": __props.isActive
72
72
  }),
73
73
  style: normalizeStyle({
74
74
  "--border-rotate-offset-from": dashoffset.value,
@@ -75,7 +75,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
75
75
  }, {
76
76
  default: withCtx(() => [
77
77
  createVNode(unref(IconFilterRemove)),
78
- _cache[0] || (_cache[0] = createTextVNode(" Reset Filters "))
78
+ _cache[0] || (_cache[0] = createTextVNode(" Reset Filters ", -1))
79
79
  ]),
80
80
  _: 1
81
81
  }, 8, ["semantic-type", "disabled"])
@@ -123,7 +123,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
123
123
  errorMessageMap: errorMessageMap.map
124
124
  });
125
125
  return (_ctx, _cache) => {
126
- return openBlock(), createBlock(resolveDynamicComponent(_ctx.noTag ? _sfc_main$1 : "div"), null, {
126
+ return openBlock(), createBlock(resolveDynamicComponent(__props.noTag ? _sfc_main$1 : "div"), null, {
127
127
  default: withCtx(() => [
128
128
  renderSlot(_ctx.$slots, "default")
129
129
  ]),
@@ -199,7 +199,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
199
199
  return openBlock(), createBlock(resolveDynamicComponent(componentSlot.value), {
200
200
  ref: "component",
201
201
  "error-message": isErrorShown.value ? errorMessage.value : void 0,
202
- "has-changes": _ctx.noChanges ? void 0 : hasChanges.value,
202
+ "has-changes": __props.noChanges ? void 0 : hasChanges.value,
203
203
  "onUpdate:modelValue": _validateOnUpdate,
204
204
  onSelect: _validateOnSelect,
205
205
  onUnselect: _validateOnUnselect,
@@ -58,11 +58,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
58
  return openBlock(), createBlock(_sfc_main$1, mergeProps({
59
59
  ...props,
60
60
  modelValue: unref(modelValue),
61
- list: _ctx.list,
62
- optionComponent: _ctx.optionComponent,
63
- loading: _ctx.loading || unref(submitting),
64
- disabled: _ctx.disabled || unref(isLoadingError),
65
- skeleton: _ctx.skeleton || !unref(data)
61
+ list: __props.list,
62
+ optionComponent: __props.optionComponent,
63
+ loading: __props.loading || unref(submitting),
64
+ disabled: __props.disabled || unref(isLoadingError),
65
+ skeleton: __props.skeleton || !unref(data)
66
66
  }, {
67
67
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(showModal)($event))
68
68
  }), createSlots({ _: 2 }, [
@@ -60,11 +60,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
60
  return openBlock(), createBlock(_sfc_main$1, mergeProps({
61
61
  ...props,
62
62
  modelValue: unref(modelValue),
63
- list: _ctx.list,
64
- optionComponent: _ctx.optionComponent,
65
- loading: _ctx.loading || unref(submitting),
66
- disabled: _ctx.disabled || unref(isLoadingError),
67
- skeleton: _ctx.skeleton || !unref(data)
63
+ list: __props.list,
64
+ optionComponent: __props.optionComponent,
65
+ loading: __props.loading || unref(submitting),
66
+ disabled: __props.disabled || unref(isLoadingError),
67
+ skeleton: __props.skeleton || !unref(data)
68
68
  }, {
69
69
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(showModal)($event))
70
70
  }), createSlots({ _: 2 }, [
@@ -10,10 +10,10 @@ declare const _default: <Model, FieldType extends string | number, QueryParams>(
10
10
  subtitle?(_: {}): any;
11
11
  right?(_: {}): any;
12
12
  prefix?(_: {
13
- modelValue: string | undefined;
13
+ modelValue: ((FieldType extends number ? "number" : "search" | "text" | "tel" | "password" | "email" | "url") extends infer T ? T extends (FieldType extends number ? "number" : "search" | "text" | "tel" | "password" | "email" | "url") ? T extends "number" ? number : string : never : never) | undefined;
14
14
  }): any;
15
15
  before?(_: {
16
- modelValue: string | undefined;
16
+ modelValue: ((FieldType extends number ? "number" : "search" | "text" | "tel" | "password" | "email" | "url") extends infer T ? T extends (FieldType extends number ? "number" : "search" | "text" | "tel" | "password" | "email" | "url") ? T extends "number" ? number : string : never : never) | undefined;
17
17
  }): any;
18
18
  };
19
19
  emit: (e: "success", value: Model) => void;
@@ -79,12 +79,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
79
79
  return (_ctx, _cache) => {
80
80
  return openBlock(), createBlock(_sfc_main$1, mergeProps({
81
81
  ...props,
82
- modelValue: _ctx.textSecure ? void 0 : unref(modelValue),
83
- skeleton: _ctx.skeleton || !unref(data),
84
- disabled: _ctx.disabled || unref(isLoadingError),
85
- loading: _ctx.loading || unref(submitting),
82
+ modelValue: __props.textSecure ? void 0 : unref(modelValue),
83
+ skeleton: __props.skeleton || !unref(data),
84
+ disabled: __props.disabled || unref(isLoadingError),
85
+ loading: __props.loading || unref(submitting),
86
86
  validate: validateFn.value,
87
- placeholderSecure: _ctx.textSecure ? !!unref(modelValue) : void 0
87
+ placeholderSecure: __props.textSecure ? !!unref(modelValue) : void 0
88
88
  }, {
89
89
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(showModal)($event))
90
90
  }), createSlots({ _: 2 }, [
@@ -101,9 +101,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
101
101
  return openBlock(), createBlock(_sfc_main$1, mergeProps({
102
102
  ...props,
103
103
  modelValue: unref(modelValue) ?? [],
104
- skeleton: _ctx.skeleton || !unref(data),
105
- disabled: _ctx.disabled || unref(isLoadingError),
106
- loading: _ctx.loading || unref(submitting)
104
+ skeleton: __props.skeleton || !unref(data),
105
+ disabled: __props.disabled || unref(isLoadingError),
106
+ loading: __props.loading || unref(submitting)
107
107
  }, {
108
108
  onSelect: _cache[0] || (_cache[0] = ($event) => unref(showModal)(getNewValue($event))),
109
109
  onUnselect: _cache[1] || (_cache[1] = ($event) => unref(showModal)(getNewValue($event)))
@@ -96,9 +96,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
96
96
  return openBlock(), createBlock(_sfc_main$1, mergeProps({
97
97
  ...props,
98
98
  modelValue: unref(modelValue),
99
- skeleton: _ctx.skeleton || !unref(data),
100
- disabled: _ctx.disabled || unref(isLoadingError),
101
- loading: _ctx.loading || unref(submitting)
99
+ skeleton: __props.skeleton || !unref(data),
100
+ disabled: __props.disabled || unref(isLoadingError),
101
+ loading: __props.loading || unref(submitting)
102
102
  }, {
103
103
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(showModal)($event ?? null))
104
104
  }), createSlots({ _: 2 }, [
@@ -95,9 +95,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
95
95
  return openBlock(), createBlock(_sfc_main$1, mergeProps({
96
96
  ...props,
97
97
  modelValue: unref(modelValue),
98
- skeleton: _ctx.skeleton || !unref(data),
99
- disabled: _ctx.disabled || unref(isLoadingError),
100
- loading: _ctx.loading || unref(submitting)
98
+ skeleton: __props.skeleton || !unref(data),
99
+ disabled: __props.disabled || unref(isLoadingError),
100
+ loading: __props.loading || unref(submitting)
101
101
  }, {
102
102
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(showModal)($event ?? null))
103
103
  }), createSlots({ _: 2 }, [
@@ -95,9 +95,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
95
95
  return openBlock(), createBlock(_sfc_main$1, mergeProps({
96
96
  ...props,
97
97
  modelValue: unref(modelValue),
98
- skeleton: _ctx.skeleton || !unref(data),
99
- disabled: _ctx.disabled || unref(isLoadingError),
100
- loading: _ctx.loading || unref(submitting)
98
+ skeleton: __props.skeleton || !unref(data),
99
+ disabled: __props.disabled || unref(isLoadingError),
100
+ loading: __props.loading || unref(submitting)
101
101
  }, {
102
102
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(showModal)($event ?? null))
103
103
  }), createSlots({ _: 2 }, [
@@ -37,8 +37,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
37
37
  return openBlock(), createBlock(_sfc_main$1, mergeProps({
38
38
  ...props,
39
39
  modelValue: unref(modelValue),
40
- loading: _ctx.loading || !unref(data) || unref(submitting),
41
- disabled: !unref(data) || unref(isLoadingError) || _ctx.disabled
40
+ loading: __props.loading || !unref(data) || unref(submitting),
41
+ disabled: !unref(data) || unref(isLoadingError) || __props.disabled
42
42
  }, { "onUpdate:modelValue": unref(showModal) }), createSlots({ _: 2 }, [
43
43
  _ctx.$slots.title ? {
44
44
  name: "title",
@@ -57,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
57
57
  }, [
58
58
  createElementVNode("div", _hoisted_1, [
59
59
  renderSlot(_ctx.$slots, "title", {}, () => [
60
- createTextVNode(toDisplayString(_ctx.title), 1)
60
+ createTextVNode(toDisplayString(__props.title), 1)
61
61
  ])
62
62
  ]),
63
63
  unref(search) ? (openBlock(), createElementBlock("button", {