eco-vue-js 0.10.3 → 0.10.5

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 (266) hide show
  1. package/dist/assets/icons/default/IconAdd.svg.js +1 -1
  2. package/dist/assets/icons/default/IconArrow.svg.js +1 -1
  3. package/dist/assets/icons/default/IconAvatar.svg.js +1 -1
  4. package/dist/assets/icons/default/IconBack.svg.js +1 -1
  5. package/dist/assets/icons/default/IconCancel.svg.js +1 -1
  6. package/dist/assets/icons/default/IconCheck.svg.js +1 -1
  7. package/dist/assets/icons/default/IconDanger.svg.js +1 -1
  8. package/dist/assets/icons/default/IconDojo.svg.js +1 -1
  9. package/dist/assets/icons/default/IconEdit.svg.js +1 -1
  10. package/dist/assets/icons/default/IconFalsePositive.svg.js +1 -1
  11. package/dist/assets/icons/default/IconFeedback.svg.js +1 -1
  12. package/dist/assets/icons/default/IconFilter.svg.js +1 -1
  13. package/dist/assets/icons/default/IconInProgress.svg.js +1 -1
  14. package/dist/assets/icons/default/IconJira.svg.js +1 -1
  15. package/dist/assets/icons/default/IconLogout.svg.js +1 -1
  16. package/dist/assets/icons/default/IconMore.svg.js +1 -1
  17. package/dist/assets/icons/default/IconNotification.svg.js +1 -1
  18. package/dist/assets/icons/default/IconProfile.svg.js +1 -1
  19. package/dist/assets/icons/default/IconSearch.svg.js +1 -1
  20. package/dist/assets/icons/default/IconSettings.svg.js +1 -1
  21. package/dist/assets/icons/default/IconSort.svg.js +1 -1
  22. package/dist/assets/icons/default/IconStar.svg.js +1 -1
  23. package/dist/assets/icons/default/IconSuccess.svg.js +1 -1
  24. package/dist/assets/icons/default/IconTask.svg.js +1 -1
  25. package/dist/assets/icons/default/IconTime.svg.js +1 -1
  26. package/dist/assets/icons/default/IconWarn.svg.js +1 -1
  27. package/dist/assets/icons/sax/IconAdd.svg.js +1 -1
  28. package/dist/assets/icons/sax/IconAddCircle.svg.js +1 -1
  29. package/dist/assets/icons/sax/IconAddSquare.svg.js +1 -1
  30. package/dist/assets/icons/sax/IconAlarm.svg.js +1 -1
  31. package/dist/assets/icons/sax/IconArchiveBook.svg.js +1 -1
  32. package/dist/assets/icons/sax/IconCandle.svg.js +1 -1
  33. package/dist/assets/icons/sax/IconCelery.svg.js +1 -1
  34. package/dist/assets/icons/sax/IconChart.svg.js +1 -1
  35. package/dist/assets/icons/sax/IconCheckCircle.svg.js +1 -1
  36. package/dist/assets/icons/sax/IconClose.svg.js +1 -1
  37. package/dist/assets/icons/sax/IconCloseCircle.svg.js +1 -1
  38. package/dist/assets/icons/sax/IconCopy.svg.js +1 -1
  39. package/dist/assets/icons/sax/IconCopySuccess.svg.js +1 -1
  40. package/dist/assets/icons/sax/IconCopyright.svg.js +1 -1
  41. package/dist/assets/icons/sax/IconDedupe.svg.js +1 -1
  42. package/dist/assets/icons/sax/IconDojo.svg.js +1 -1
  43. package/dist/assets/icons/sax/IconDrag.svg.js +1 -1
  44. package/dist/assets/icons/sax/IconEdit.svg.js +1 -1
  45. package/dist/assets/icons/sax/IconEditCircle.svg.js +1 -1
  46. package/dist/assets/icons/sax/IconElement.svg.js +1 -1
  47. package/dist/assets/icons/sax/IconExport.svg.js +1 -1
  48. package/dist/assets/icons/sax/IconEye.svg.js +1 -1
  49. package/dist/assets/icons/sax/IconEyeSlash.svg.js +1 -1
  50. package/dist/assets/icons/sax/IconFilter.svg.js +1 -1
  51. package/dist/assets/icons/sax/IconFilterRemove.svg.js +1 -1
  52. package/dist/assets/icons/sax/IconFinding.svg.js +1 -1
  53. package/dist/assets/icons/sax/IconFolder.svg.js +1 -1
  54. package/dist/assets/icons/sax/IconFolderCross.svg.js +1 -1
  55. package/dist/assets/icons/sax/IconGrid.svg.js +24 -0
  56. package/dist/assets/icons/sax/IconJira.svg.js +1 -1
  57. package/dist/assets/icons/sax/IconKey.svg.js +1 -1
  58. package/dist/assets/icons/sax/IconKeySquare.svg.js +1 -1
  59. package/dist/assets/icons/sax/IconLayer.svg.js +1 -1
  60. package/dist/assets/icons/sax/IconLink.svg.js +1 -1
  61. package/dist/assets/icons/sax/IconLinkBold.svg.js +1 -1
  62. package/dist/assets/icons/sax/IconLinkOutline.svg.js +1 -1
  63. package/dist/assets/icons/sax/IconLogout.svg.js +1 -1
  64. package/dist/assets/icons/sax/IconMenu.svg.js +1 -1
  65. package/dist/assets/icons/sax/IconMinusCircle.svg.js +1 -1
  66. package/dist/assets/icons/sax/IconNegate.svg.js +1 -1
  67. package/dist/assets/icons/sax/IconNegativeInfo.svg.js +1 -1
  68. package/dist/assets/icons/sax/IconNote.svg.js +1 -1
  69. package/dist/assets/icons/sax/IconOutlineCheckCircle.svg.js +1 -1
  70. package/dist/assets/icons/sax/IconOutlineCloseCircle.svg.js +1 -1
  71. package/dist/assets/icons/sax/IconOutlineEdit.svg.js +1 -1
  72. package/dist/assets/icons/sax/IconOutlineFolderAdd.svg.js +1 -1
  73. package/dist/assets/icons/sax/IconOutlineRefresh.svg.js +1 -1
  74. package/dist/assets/icons/sax/IconOutlineStar.svg.js +1 -1
  75. package/dist/assets/icons/sax/IconPaste.svg.js +1 -1
  76. package/dist/assets/icons/sax/IconProfile.svg.js +1 -1
  77. package/dist/assets/icons/sax/IconRadar.svg.js +1 -1
  78. package/dist/assets/icons/sax/IconRefresh.svg.js +1 -1
  79. package/dist/assets/icons/sax/IconSearch.svg.js +1 -1
  80. package/dist/assets/icons/sax/IconSettings.svg.js +1 -1
  81. package/dist/assets/icons/sax/IconSlash.svg.js +1 -1
  82. package/dist/assets/icons/sax/IconStar.svg.js +1 -1
  83. package/dist/assets/icons/sax/IconSummary.svg.js +1 -1
  84. package/dist/assets/icons/sax/IconTable.svg.js +24 -0
  85. package/dist/assets/icons/sax/IconTableSettings.svg.js +1 -1
  86. package/dist/assets/icons/sax/IconTag.svg.js +1 -1
  87. package/dist/assets/icons/sax/IconTask.svg.js +1 -1
  88. package/dist/assets/icons/sax/IconTime.svg.js +1 -1
  89. package/dist/assets/icons/sax/IconTrash.svg.js +1 -1
  90. package/dist/assets/icons/sax/IconUser.svg.js +1 -1
  91. package/dist/assets/icons/sax/IconVersionControl.svg.js +1 -1
  92. package/dist/assets/icons/sax/IconWeight.svg.js +1 -1
  93. package/dist/components/ActionsBar/WActionsBar.vue.js +1 -1
  94. package/dist/components/BottomSheet/WBottomSheet.vue.js +1 -1
  95. package/dist/components/Button/WButton.vue.js +2 -2
  96. package/dist/components/Button/WButtonAction.vue.js +1 -1
  97. package/dist/components/Button/WButtonCopy.vue.js +1 -1
  98. package/dist/components/Button/WButtonDropdown.vue.js +8 -6
  99. package/dist/components/Button/WButtonGroup.vue.js +1 -1
  100. package/dist/components/Button/WButtonMore.vue.js +1 -1
  101. package/dist/components/Button/WButtonMoreItem.vue.js +1 -1
  102. package/dist/components/Button/WButtonSelection.vue.d.ts +1 -0
  103. package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
  104. package/dist/components/Button/WButtonSelection.vue.js +18 -28
  105. package/dist/components/Button/WButtonSelectionAction.vue.d.ts +4 -2
  106. package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
  107. package/dist/components/Button/WButtonSelectionAction.vue.js +8 -4
  108. package/dist/components/Checkbox/WCheckbox.vue.js +1 -1
  109. package/dist/components/Chip/WChip.vue.js +1 -1
  110. package/dist/components/ClickOutside/WClickOutside.vue.js +1 -1
  111. package/dist/components/Counter/WCounter.vue.js +1 -1
  112. package/dist/components/DatePicker/WDatePicker.vue.js +2 -2
  113. package/dist/components/DatePicker/WDatePickerSingle.vue.js +2 -2
  114. package/dist/components/DatePicker/components/CalendarDay.vue.js +1 -1
  115. package/dist/components/DatePicker/components/CalendarMonth.vue.js +1 -1
  116. package/dist/components/DatePicker/components/CalendarToggle.vue.js +1 -1
  117. package/dist/components/DatePicker/components/CalendarValue.vue.js +1 -1
  118. package/dist/components/DatePicker/components/CalendarWeek.vue.js +1 -1
  119. package/dist/components/Dropdown/WDropdown.vue.js +1 -1
  120. package/dist/components/DropdownMenu/WDropdownMenu.vue.js +1 -1
  121. package/dist/components/Expansion/WExpansion.vue.js +1 -1
  122. package/dist/components/Expansion/WExpansionItem.vue.js +1 -1
  123. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +3 -1
  124. package/dist/components/FieldWrapper/components/FilterButton.vue.js +1 -1
  125. package/dist/components/FilePicker/WFilePicker.vue.js +1 -1
  126. package/dist/components/FilePicker/components/FilePickerItem.vue.js +1 -1
  127. package/dist/components/FilePicker/components/FilePickerSvg.vue.js +1 -1
  128. package/dist/components/FilterWrapper/WFilterWrapper.vue.js +1 -1
  129. package/dist/components/Form/WForm.vue.js +2 -2
  130. package/dist/components/Form/WFormValidator.vue.js +3 -1
  131. package/dist/components/Form/models/utils.js +2 -0
  132. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +1 -1
  133. package/dist/components/FormAsync/WFormAsyncInput.vue.js +1 -1
  134. package/dist/components/FormAsync/WFormAsyncSelect.vue.js +1 -1
  135. package/dist/components/FormAsync/WFormAsyncSelectInfiniteSingle.vue.js +1 -1
  136. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +1 -1
  137. package/dist/components/FormAsync/WFormAsyncSelectStringified.vue.js +1 -1
  138. package/dist/components/FormAsync/WFormAsyncToggle.vue.js +1 -1
  139. package/dist/components/FormAsync/use/useFormAsync.js +2 -0
  140. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +0 -3
  141. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
  142. package/dist/components/HeaderBar/WHeaderBar.vue.js +6 -5
  143. package/dist/components/HeaderBar/use/useHeaderPadding.d.ts +5 -0
  144. package/dist/components/HeaderBar/use/useHeaderPadding.d.ts.map +1 -0
  145. package/dist/components/HeaderBar/use/useHeaderPadding.js +14 -0
  146. package/dist/components/ImageViewer/WImageViewer.vue.js +1 -1
  147. package/dist/components/ImageViewer/components/ImageModal.vue2.js +1 -1
  148. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +1 -5
  149. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
  150. package/dist/components/InfiniteList/WInfiniteList.vue.js +7 -16
  151. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts +2 -11
  152. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.d.ts.map +1 -1
  153. package/dist/components/InfiniteList/WInfiniteListWrapper.vue.js +8 -11
  154. package/dist/components/InfiniteList/components/InfiniteListButton.vue.js +1 -1
  155. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +0 -1
  156. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
  157. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +6 -10
  158. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.js +1 -1
  159. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.js +1 -1
  160. package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts +0 -1
  161. package/dist/components/InfiniteList/components/InfiniteListPages.vue.d.ts.map +1 -1
  162. package/dist/components/InfiniteList/components/InfiniteListPages.vue.js +2 -4
  163. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.js +1 -1
  164. package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +1 -0
  165. package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts.map +1 -1
  166. package/dist/components/InfiniteList/use/useInfiniteListHeader.js +11 -6
  167. package/dist/components/InfoCard/WInfoCard.vue.js +1 -1
  168. package/dist/components/InfoCard/WInfoCardNegative.vue.js +1 -1
  169. package/dist/components/Input/WInput.vue.js +1 -1
  170. package/dist/components/Input/WInputAsync.vue.js +1 -1
  171. package/dist/components/Input/WInputDate.vue.js +1 -1
  172. package/dist/components/Input/WInputOptions.vue.js +1 -1
  173. package/dist/components/Input/WInputSuggest.vue.js +1 -1
  174. package/dist/components/Input/components/InputActions.vue.js +1 -1
  175. package/dist/components/Input/components/InputActionsButton.vue.js +1 -1
  176. package/dist/components/Link/WLink.vue.d.ts +0 -1
  177. package/dist/components/Link/WLink.vue.d.ts.map +1 -1
  178. package/dist/components/Link/WLink.vue.js +3 -12
  179. package/dist/components/Link/WLinkArrow.vue.js +1 -1
  180. package/dist/components/List/WList.vue.d.ts +9 -9
  181. package/dist/components/List/WList.vue.d.ts.map +1 -1
  182. package/dist/components/List/WList.vue.js +239 -193
  183. package/dist/components/List/WListCard.vue.d.ts +26 -22
  184. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  185. package/dist/components/List/WListCard.vue.js +77 -47
  186. package/dist/components/List/WListCardField.vue.d.ts.map +1 -1
  187. package/dist/components/List/WListCardField.vue.js +3 -4
  188. package/dist/components/List/WListHeader.vue.js +1 -1
  189. package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
  190. package/dist/components/List/WListHeaderItem.vue.js +21 -37
  191. package/dist/components/List/components/HeaderFieldNested.vue.js +2 -2
  192. package/dist/components/List/components/HeaderItemResizer.vue.js +1 -1
  193. package/dist/components/List/components/HeaderSettings.vue.d.ts +5 -1
  194. package/dist/components/List/components/HeaderSettings.vue.d.ts.map +1 -1
  195. package/dist/components/List/components/HeaderSettings.vue.js +94 -40
  196. package/dist/components/List/components/HeaderSettingsItem.vue.js +1 -1
  197. package/dist/components/List/components/HeaderSettingsModeButton.vue.d.ts +9 -0
  198. package/dist/components/List/components/HeaderSettingsModeButton.vue.d.ts.map +1 -0
  199. package/dist/components/List/components/HeaderSettingsModeButton.vue.js +23 -0
  200. package/dist/components/List/components/HeaderSettingsModeButton.vue2.js +5 -0
  201. package/dist/components/List/components/HeaderSort.vue.d.ts +32 -0
  202. package/dist/components/List/components/HeaderSort.vue.d.ts.map +1 -0
  203. package/dist/components/List/components/HeaderSort.vue.js +84 -0
  204. package/dist/components/List/components/HeaderSort.vue2.js +5 -0
  205. package/dist/components/List/components/HeaderSortItem.vue.d.ts +22 -0
  206. package/dist/components/List/components/HeaderSortItem.vue.d.ts.map +1 -0
  207. package/dist/components/List/components/HeaderSortItem.vue.js +67 -0
  208. package/dist/components/List/components/HeaderSortItem.vue2.js +5 -0
  209. package/dist/components/List/components/ListCardFieldNested.vue.d.ts +3 -1
  210. package/dist/components/List/components/ListCardFieldNested.vue.d.ts.map +1 -1
  211. package/dist/components/List/components/ListCardFieldNested.vue.js +11 -10
  212. package/dist/components/List/components/ListCardFieldNestedItem.vue.js +1 -1
  213. package/dist/components/List/types.d.ts +10 -3
  214. package/dist/components/List/types.d.ts.map +1 -1
  215. package/dist/components/List/types.js +4 -0
  216. package/dist/components/List/use/useListConfig.d.ts +24 -0
  217. package/dist/components/List/use/useListConfig.d.ts.map +1 -0
  218. package/dist/components/List/use/{useFieldConfigMap.js → useListConfig.js} +54 -13
  219. package/dist/components/List/use/useOrdering.d.ts +7 -0
  220. package/dist/components/List/use/useOrdering.d.ts.map +1 -0
  221. package/dist/components/List/use/useOrdering.js +36 -0
  222. package/dist/components/MenuItem/WMenuItem.vue.js +1 -1
  223. package/dist/components/Modal/WModal.vue.js +1 -1
  224. package/dist/components/Modal/WModalStepper.vue.js +5 -5
  225. package/dist/components/Modal/WModalWrapper.vue.js +1 -1
  226. package/dist/components/Modal/components/ModalCloseButton.vue.js +1 -1
  227. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +1 -1
  228. package/dist/components/Nav/WNavBar.vue.js +1 -1
  229. package/dist/components/Nav/WNavItem.vue.js +1 -1
  230. package/dist/components/Nav/WNavItemExpand.vue.js +3 -1
  231. package/dist/components/Nav/WNavItemTransition.vue.js +1 -1
  232. package/dist/components/Notify/WNotify.vue.js +1 -1
  233. package/dist/components/Notify/components/NotifyCard.vue.js +1 -1
  234. package/dist/components/NumberFormatter/WNumberFormatter.vue.js +1 -1
  235. package/dist/components/Page/WPage.vue.js +1 -1
  236. package/dist/components/Page/WPageNumerator.vue.js +1 -1
  237. package/dist/components/Page/WPageTitle.vue.js +1 -1
  238. package/dist/components/Progress/WProgress.vue.js +1 -1
  239. package/dist/components/Select/WSelect.vue.js +6 -6
  240. package/dist/components/Select/WSelectAsync.vue.js +5 -5
  241. package/dist/components/Select/WSelectAsyncList.vue.js +1 -1
  242. package/dist/components/Select/WSelectAsyncSingle.vue.js +1 -1
  243. package/dist/components/Select/WSelectSingle.vue.js +1 -1
  244. package/dist/components/Select/WSelectStringified.vue.js +1 -1
  245. package/dist/components/Select/components/SelectAsyncList.vue.js +1 -1
  246. package/dist/components/Select/components/SelectAsyncPrefix.vue.js +1 -1
  247. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +1 -1
  248. package/dist/components/Select/components/SelectOption.vue.js +1 -1
  249. package/dist/components/Select/components/SelectOptionPrefix.vue.js +1 -1
  250. package/dist/components/Skeleton/WSkeleton.vue.js +1 -1
  251. package/dist/components/Spinner/WSpinner.vue.js +1 -1
  252. package/dist/components/Tabs/WTabs.vue.js +4 -2
  253. package/dist/components/Tabs/WTabsColumns.vue.js +1 -1
  254. package/dist/components/Tabs/components/TabItem.vue.js +1 -1
  255. package/dist/components/Tabs/components/TabTitleButton.vue.js +1 -1
  256. package/dist/components/Toggle/WToggle.vue.js +1 -1
  257. package/dist/components/Tooltip/WTooltip.vue.js +1 -1
  258. package/dist/components/Tooltip/WTooltipContainer.vue.js +1 -1
  259. package/dist/components/Tooltip/components/TooltipContainer.vue.js +1 -1
  260. package/dist/types/global.d.ts +8 -0
  261. package/package.json +2 -2
  262. package/tailwind-base/index.ts +2 -0
  263. package/tailwind-base/plugins/container-queries.ts +92 -0
  264. package/tailwind-base/plugins/default.ts +25 -5
  265. package/dist/components/List/use/useFieldConfigMap.d.ts +0 -10
  266. package/dist/components/List/use/useFieldConfigMap.d.ts.map +0 -1
@@ -1,18 +1,32 @@
1
- import { defineComponent, ref, computed, toRef, openBlock, createBlock, unref, withCtx, renderSlot, createSlots, createElementBlock, Fragment, renderList, resolveDynamicComponent, normalizeClass, createCommentVNode, createVNode, isRef, normalizeStyle } from 'vue';
2
- import _sfc_main$2 from '../Button/WButtonSelection.vue.js';
1
+ import { defineComponent, ref, computed, toRef, createElementBlock, openBlock, normalizeClass, unref, createVNode, normalizeStyle, withCtx, renderSlot, createCommentVNode, createSlots, Fragment, renderList, createBlock, resolveDynamicComponent, createElementVNode, isRef } from 'vue';
2
+ import _sfc_main$4 from '../Button/WButtonSelection.vue.js';
3
3
  import _sfc_main$1 from '../InfiniteList/WInfiniteList.vue.js';
4
+ import '../Button/WButtonAction.vue.js';
5
+ import '../Button/WButton.vue.js';
4
6
  import { getIsMobile } from '../../utils/mobile.js';
7
+ import '../Button/WButtonDropdown.vue.js';
8
+ import '../../utils/supportsPassive.js';
9
+ import '../Dropdown/utils/DropdownStyle.js';
10
+ import 'vue-router';
11
+ import '../../utils/Modal.js';
12
+ import '../Input/WInputSuggest.vue.js';
13
+ import '../HeaderBar/use/useHeaderPadding.js';
14
+ import '../Input/WInputDate.vue.js';
15
+ import '../Link/WLink.vue.js';
5
16
  import { parseOrdering } from '../../utils/order.js';
6
17
  import { PAGE_LENGTH } from '../../utils/useDefaultQuery.js';
7
18
  import { useSelected, getPosition } from '../../utils/useSelected.js';
8
- import _sfc_main$7 from './WListCard.vue.js';
9
- import _sfc_main$3 from './WListHeader.vue.js';
10
- import _sfc_main$5 from './WListHeaderItem.vue.js';
11
- import _sfc_main$4 from './components/HeaderFieldNested.vue.js';
19
+ import _sfc_main$2 from './WListCard.vue.js';
20
+ import _sfc_main$7 from './WListHeader.vue.js';
21
+ import _sfc_main$9 from './WListHeaderItem.vue.js';
22
+ import _sfc_main$8 from './components/HeaderFieldNested.vue.js';
12
23
  import _sfc_main$6 from './components/HeaderSettings.vue.js';
13
- import _sfc_main$8 from './components/ListCardFieldNested.vue.js';
14
- import { filterFields, useFieldConfigMap, getFirstFieldLabel } from './use/useFieldConfigMap.js';
24
+ import _sfc_main$5 from './components/HeaderSort.vue.js';
25
+ import _sfc_main$3 from './components/ListCardFieldNested.vue.js';
26
+ import { filterFields, useListConfig, getFirstFieldLabel } from './use/useListConfig.js';
27
+ import '@tanstack/vue-query';
15
28
 
29
+ const _hoisted_1 = { class: "flex" };
16
30
  const _sfc_main = /* @__PURE__ */ defineComponent({
17
31
  __name: "WList",
18
32
  props: {
@@ -32,7 +46,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
46
  cardWrapperClass: {},
33
47
  selectAllTextGetter: { type: Function },
34
48
  hasBorder: { type: Boolean },
35
- moreBottom: { type: Boolean },
36
49
  configKey: {},
37
50
  defaultConfigMap: {},
38
51
  alignTop: { type: Boolean },
@@ -40,16 +53,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
53
  readonly: { type: Boolean },
41
54
  noOrdering: { type: Boolean },
42
55
  formNameGetter: { type: Function },
43
- groupBy: { type: Function }
56
+ groupBy: { type: Function },
57
+ hideMore: { type: Boolean },
58
+ cardColumns: {},
59
+ cardAreas: {},
60
+ cardTo: { type: Function }
44
61
  },
45
- emits: ["update:header-padding", "update:error"],
62
+ emits: ["update:error"],
46
63
  setup(__props) {
47
64
  const isMobile = getIsMobile();
48
65
  const props = __props;
49
66
  const listCount = ref(void 0);
50
67
  const selectionCount = ref(0);
68
+ const cardStyles = computed(() => {
69
+ if (!props.cardColumns || !props.cardAreas) return;
70
+ return {
71
+ "--w-list-grid-cols": props.cardColumns.join(" "),
72
+ "--w-list-grid-areas": props.cardAreas.map((inner) => `"${inner.join(" ")}"`).join("\n")
73
+ };
74
+ });
51
75
  const fieldsVisible = computed(() => filterFields(props.fields, (field) => field.visibleGetter?.(props.queryParams) ?? true));
52
- const { fieldConfigMap, hasSaved, reset } = useFieldConfigMap(toRef(props, "configKey"), fieldsVisible, toRef(props, "defaultConfigMap"));
76
+ const { listConfig, fieldConfigMap, isGrid, hasSaved, reset, save, updateMode } = useListConfig(toRef(props, "configKey"), fieldsVisible, toRef(props, "defaultConfigMap"));
53
77
  const fieldsFiltered = computed(() => {
54
78
  return filterFields(fieldsVisible.value, (field) => fieldConfigMap.value[field.label]?.visible).sort((a, b) => fieldConfigMap.value[getFirstFieldLabel(a)].order - fieldConfigMap.value[getFirstFieldLabel(b)].order);
55
79
  });
@@ -95,8 +119,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
95
119
  }
96
120
  return props.queryParams;
97
121
  };
98
- const getFieldStyles = (label) => {
99
- if (isMobile || !fieldConfigMap.value[label]?.width) return void 0;
122
+ const getFieldStyles = (label, nested) => {
123
+ if (isGrid.value) return nested ? void 0 : { gridArea: label };
124
+ if (!fieldConfigMap.value[label]?.width) return void 0;
100
125
  const value = fieldConfigMap.value[label].width + "px";
101
126
  return {
102
127
  minWidth: value,
@@ -104,200 +129,221 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
104
129
  };
105
130
  };
106
131
  return (_ctx, _cache) => {
107
- return openBlock(), createBlock(_sfc_main$1, {
108
- "use-query-fn": _ctx.useQueryFn,
109
- "query-params": _ctx.queryParams,
110
- "query-options": _ctx.queryOptions,
111
- "skeleton-length": _ctx.count ?? listCount.value ?? unref(PAGE_LENGTH),
112
- "header-margin": unref(isMobile) ? 0 : 24,
113
- "hide-page-title": "",
114
- "allow-select": allowSelect.value,
115
- "allow-select-range": "",
116
- selected: unref(selected),
117
- reverse: unref(reverse),
118
- "selected-range": unref(selectedRange),
119
- "page-length": unref(PAGE_LENGTH),
120
- count: _ctx.count ?? listCount.value,
121
- onSelect: unref(setSelected),
122
- onSelectReverse: unref(setSelectedReverse),
123
- onSelectRange: unref(setSelectedRange),
124
- "onUpdate:headerPadding": _cache[6] || (_cache[6] = ($event) => _ctx.$emit("update:header-padding", $event)),
125
- "onUpdate:count": _cache[7] || (_cache[7] = ($event) => listCount.value = $event),
126
- "onUpdate:error": _cache[8] || (_cache[8] = ($event) => _ctx.$emit("update:error", $event))
127
- }, {
128
- header: withCtx(({ selectAllValue }) => [
129
- renderSlot(_ctx.$slots, "header", { count: listCount.value }),
130
- allowSelect.value ? (openBlock(), createBlock(_sfc_main$2, {
131
- key: 0,
132
- title: _ctx.selectionTitle,
133
- "disable-message": _ctx.bulkDisableMessage,
134
- class: "z-[1]",
135
- "onUpdate:selectionCount": _cache[2] || (_cache[2] = ($event) => selectionCount.value = $event)
136
- }, createSlots({
137
- default: withCtx(({ disableMessage, cssClass }) => [
138
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.bulk, (item, index) => {
139
- return openBlock(), createBlock(resolveDynamicComponent(item), {
140
- key: index,
141
- "selection-count": selectionCount.value,
142
- "query-params-getter": getQueryParamsBulk,
143
- "disable-message": disableMessage,
144
- class: normalizeClass(cssClass),
145
- "onClear:selected": _cache[0] || (_cache[0] = ($event) => unref(setSelected)([]))
146
- }, null, 40, ["selection-count", "disable-message", "class"]);
147
- }), 128))
148
- ]),
149
- _: 2
150
- }, [
151
- _ctx.bulkMore ? {
152
- name: "more",
153
- fn: withCtx((scope) => [
154
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.bulkMore, (item, index) => {
132
+ return openBlock(), createElementBlock("div", {
133
+ class: normalizeClass({
134
+ "w-card": unref(isGrid),
135
+ "w-list": !unref(isGrid)
136
+ })
137
+ }, [
138
+ createVNode(_sfc_main$1, {
139
+ "use-query-fn": _ctx.useQueryFn,
140
+ "query-params": _ctx.queryParams,
141
+ "query-options": _ctx.queryOptions,
142
+ "skeleton-length": _ctx.count ?? listCount.value ?? unref(PAGE_LENGTH),
143
+ "hide-page-title": "",
144
+ "allow-select": allowSelect.value,
145
+ "allow-select-range": "",
146
+ selected: unref(selected),
147
+ reverse: unref(reverse),
148
+ "selected-range": unref(selectedRange),
149
+ "page-length": unref(PAGE_LENGTH),
150
+ count: _ctx.count ?? listCount.value,
151
+ "page-class": unref(isGrid) ? "grid grid-cols-[repeat(auto-fill,minmax(var(--w-list-card-width,16rem),1fr))] gap-[--w-list-gap,1rem]" : "grid grid-cols-1 gap-[--w-list-gap,1rem]",
152
+ style: normalizeStyle(cardStyles.value),
153
+ class: normalizeClass(_ctx.$attrs.class),
154
+ onSelect: unref(setSelected),
155
+ onSelectReverse: unref(setSelectedReverse),
156
+ onSelectRange: unref(setSelectedRange),
157
+ "onUpdate:count": _cache[5] || (_cache[5] = ($event) => listCount.value = $event),
158
+ "onUpdate:error": _cache[6] || (_cache[6] = ($event) => _ctx.$emit("update:error", $event))
159
+ }, {
160
+ header: withCtx(({ selectAllValue }) => [
161
+ renderSlot(_ctx.$slots, "header", { count: listCount.value }),
162
+ createVNode(_sfc_main$4, {
163
+ title: _ctx.selectionTitle,
164
+ "disable-message": _ctx.bulkDisableMessage,
165
+ class: "z-[3]",
166
+ "onUpdate:selectionCount": _cache[3] || (_cache[3] = ($event) => selectionCount.value = $event)
167
+ }, createSlots({
168
+ default: withCtx(({ disableMessage, cssClass }) => [
169
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.bulk, (item, index) => {
155
170
  return openBlock(), createBlock(resolveDynamicComponent(item), {
156
171
  key: index,
157
172
  "selection-count": selectionCount.value,
158
173
  "query-params-getter": getQueryParamsBulk,
159
- "disable-message": scope?.disableMessage,
160
- class: normalizeClass(scope?.cssClass),
161
- "onClear:selected": _cache[1] || (_cache[1] = ($event) => unref(setSelected)([]))
174
+ "disable-message": disableMessage,
175
+ class: normalizeClass(cssClass),
176
+ "onClear:selected": _cache[0] || (_cache[0] = ($event) => unref(setSelected)([]))
162
177
  }, null, 40, ["selection-count", "disable-message", "class"]);
163
178
  }), 128))
164
179
  ]),
165
- key: "0"
166
- } : void 0
167
- ]), 1032, ["title", "disable-message"])) : createCommentVNode("", true),
168
- !unref(isMobile) ? (openBlock(), createBlock(_sfc_main$3, {
169
- key: 1,
170
- class: "sm-not:hidden",
171
- "query-params": _ctx.queryParams,
172
- "allow-select": allowSelect.value,
173
- "tooltip-text": _ctx.selectAllTextGetter(selectAllValue !== true, _ctx.count ?? listCount.value ?? 0),
174
- count: _ctx.count ?? listCount.value,
175
- selection: selectAllValue,
176
- "onToggle:selection": _cache[5] || (_cache[5] = ($event) => $event ? unref(setSelectedReverse)([]) : unref(setSelected)([]))
177
- }, {
178
- default: withCtx(() => [
179
- createVNode(_sfc_main$4, { fields: fieldsFiltered.value }, {
180
- default: withCtx(({ field }) => [
181
- createVNode(_sfc_main$5, {
182
- title: typeof field.title === "string" ? field.title : field.title(_ctx.queryParams),
183
- field: typeof field.field === "string" ? field.field : field.field?.(_ctx.queryParams),
184
- class: normalizeClass(field.cssClass),
180
+ settings: withCtx(() => [
181
+ createElementVNode("div", _hoisted_1, [
182
+ !_ctx.noOrdering ? (openBlock(), createBlock(_sfc_main$5, {
183
+ key: 0,
185
184
  ordering: ordering.value,
186
- disabled: _ctx.noOrdering || !field.field,
187
- "allow-resize": field.allowResize,
188
- "item-class": field.cssClassHeader,
189
- "width-style": getFieldStyles(field.label),
190
- "onUpdate:width": ($event) => unref(fieldConfigMap)[field.label].width = $event,
191
- "onSave:width": _cache[3] || (_cache[3] = ($event) => fieldConfigMap.value = unref(fieldConfigMap))
192
- }, null, 8, ["title", "field", "class", "ordering", "disabled", "allow-resize", "item-class", "width-style", "onUpdate:width"])
185
+ fields: fieldsFiltered.value,
186
+ "query-params": _ctx.queryParams,
187
+ class: "border-r border-solid border-gray-300 dark:border-gray-700"
188
+ }, null, 8, ["ordering", "fields", "query-params"])) : createCommentVNode("", true),
189
+ createVNode(_sfc_main$6, {
190
+ "field-config-map": unref(fieldConfigMap),
191
+ "onUpdate:fieldConfigMap": _cache[2] || (_cache[2] = ($event) => isRef(fieldConfigMap) ? fieldConfigMap.value = $event : null),
192
+ mode: unref(listConfig).mode,
193
+ fields: fieldsVisible.value,
194
+ "query-params": _ctx.queryParams,
195
+ "has-saved": unref(hasSaved),
196
+ "onClick:reset": unref(reset),
197
+ "onUpdate:mode": unref(updateMode)
198
+ }, null, 8, ["field-config-map", "mode", "fields", "query-params", "has-saved", "onClick:reset", "onUpdate:mode"])
199
+ ])
200
+ ]),
201
+ _: 2
202
+ }, [
203
+ _ctx.bulkMore ? {
204
+ name: "more",
205
+ fn: withCtx((scope) => [
206
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.bulkMore, (item, index) => {
207
+ return openBlock(), createBlock(resolveDynamicComponent(item), {
208
+ key: index,
209
+ "selection-count": selectionCount.value,
210
+ "query-params-getter": getQueryParamsBulk,
211
+ "disable-message": scope?.disableMessage,
212
+ class: normalizeClass(scope?.cssClass),
213
+ "onClear:selected": _cache[1] || (_cache[1] = ($event) => unref(setSelected)([]))
214
+ }, null, 40, ["selection-count", "disable-message", "class"]);
215
+ }), 128))
193
216
  ]),
194
- _: 1
195
- }, 8, ["fields"])
196
- ]),
197
- settings: withCtx(() => [
198
- createVNode(_sfc_main$6, {
199
- "field-config-map": unref(fieldConfigMap),
200
- "onUpdate:fieldConfigMap": _cache[4] || (_cache[4] = ($event) => isRef(fieldConfigMap) ? fieldConfigMap.value = $event : null),
201
- fields: fieldsVisible.value,
202
- "query-params": _ctx.queryParams,
203
- "has-saved": unref(hasSaved),
204
- "onClick:reset": unref(reset)
205
- }, null, 8, ["field-config-map", "fields", "query-params", "has-saved", "onClick:reset"])
206
- ]),
207
- _: 2
208
- }, 1032, ["query-params", "allow-select", "tooltip-text", "count", "selection"])) : createCommentVNode("", true)
209
- ]),
210
- default: withCtx(({ item, skeleton, setter, refetch, previous, index }) => [
211
- _ctx.groupBy && (index === 0 || !skeleton && (!previous || !_ctx.groupBy(item, previous))) ? renderSlot(_ctx.$slots, "group", {
212
- key: 0,
213
- item,
214
- previous,
215
- skeleton
216
- }) : createCommentVNode("", true),
217
- createVNode(_sfc_main$7, {
218
- disabled: skeleton,
219
- "disable-more": _ctx.disableMore,
220
- mobile: unref(isMobile),
221
- "card-class": _ctx.cardClass,
222
- "card-wrapper-class": _ctx.cardWrapperClass,
223
- "has-border": _ctx.hasBorder,
224
- "more-bottom": _ctx.moreBottom,
225
- "allow-open": allowOpen.value && !skeleton,
226
- "align-top": _ctx.alignTop,
227
- "form-name": !skeleton ? _ctx.formNameGetter?.(item) : void 0
228
- }, createSlots({
229
- default: withCtx(({ validate }) => [
230
- createVNode(_sfc_main$8, {
231
- fields: fieldsFiltered.value,
232
- item,
233
- skeleton,
234
- mobile: unref(isMobile)
235
- }, {
236
- default: withCtx((defaultScope) => [
237
- (openBlock(), createBlock(resolveDynamicComponent(defaultScope.field.component), {
238
- item: defaultScope.item,
239
- readonly: _ctx.readonly || (_ctx.readonlyGetter?.(defaultScope.item) ?? false),
217
+ key: "0"
218
+ } : void 0
219
+ ]), 1032, ["title", "disable-message"]),
220
+ !unref(isGrid) ? (openBlock(), createBlock(_sfc_main$7, {
221
+ key: 0,
222
+ class: "sm-not:hidden mb-4",
223
+ "query-params": _ctx.queryParams,
224
+ "allow-select": allowSelect.value,
225
+ "tooltip-text": _ctx.selectAllTextGetter(selectAllValue !== true, _ctx.count ?? listCount.value ?? 0),
226
+ count: _ctx.count ?? listCount.value,
227
+ selection: selectAllValue,
228
+ "onToggle:selection": _cache[4] || (_cache[4] = ($event) => $event ? unref(setSelectedReverse)([]) : unref(setSelected)([]))
229
+ }, {
230
+ default: withCtx(() => [
231
+ createVNode(_sfc_main$8, { fields: fieldsFiltered.value }, {
232
+ default: withCtx(({ field, nested }) => [
233
+ createVNode(_sfc_main$9, {
234
+ title: typeof field.title === "string" ? field.title : field.title(_ctx.queryParams),
235
+ field: typeof field.field === "string" ? field.field : field.field?.(_ctx.queryParams),
236
+ class: normalizeClass(field.cssClass),
237
+ ordering: ordering.value,
238
+ disabled: _ctx.noOrdering || !field.field,
239
+ "allow-resize": field.allowResize,
240
+ "item-class": field.cssClassHeader,
241
+ "width-style": getFieldStyles(field.label, nested),
242
+ "onUpdate:width": ($event) => unref(fieldConfigMap)[field.label].width = $event,
243
+ "onSave:width": unref(save)
244
+ }, null, 8, ["title", "field", "class", "ordering", "disabled", "allow-resize", "item-class", "width-style", "onUpdate:width", "onSave:width"])
245
+ ]),
246
+ _: 1
247
+ }, 8, ["fields"])
248
+ ]),
249
+ _: 2
250
+ }, 1032, ["query-params", "allow-select", "tooltip-text", "count", "selection"])) : createCommentVNode("", true)
251
+ ]),
252
+ default: withCtx(({ item, skeleton, setter, refetch, previous, index }) => [
253
+ _ctx.groupBy && (index === 0 || !skeleton && (!previous || !_ctx.groupBy(item, previous))) ? renderSlot(_ctx.$slots, "group", {
254
+ key: 0,
255
+ item,
256
+ previous,
257
+ skeleton
258
+ }) : createCommentVNode("", true),
259
+ createVNode(_sfc_main$2, {
260
+ disabled: skeleton,
261
+ "disable-more": _ctx.disableMore,
262
+ mobile: unref(isMobile),
263
+ "card-class": _ctx.cardClass,
264
+ "card-wrapper-class": _ctx.cardWrapperClass,
265
+ "has-border": _ctx.hasBorder,
266
+ "allow-open": allowOpen.value && !skeleton,
267
+ "align-top": _ctx.alignTop,
268
+ "hide-more": _ctx.hideMore,
269
+ "form-name": !skeleton ? _ctx.formNameGetter?.(item) : void 0,
270
+ card: unref(isGrid),
271
+ to: _ctx.cardTo?.(item)
272
+ }, createSlots({
273
+ default: withCtx(({ validate }) => [
274
+ createVNode(_sfc_main$3, {
275
+ fields: fieldsFiltered.value,
276
+ item,
277
+ skeleton,
278
+ card: unref(isGrid)
279
+ }, {
280
+ default: withCtx((defaultScope) => [
281
+ (openBlock(), createBlock(resolveDynamicComponent(defaultScope.field.component), {
282
+ item: defaultScope.item,
283
+ readonly: _ctx.readonly || (_ctx.readonlyGetter?.(defaultScope.item) ?? false),
284
+ skeleton,
285
+ card: unref(isGrid),
286
+ class: normalizeClass({
287
+ [defaultScope.field.cssClass ?? ""]: true,
288
+ "items-center": !_ctx.alignTop,
289
+ "items-start": _ctx.alignTop,
290
+ "pr-6": !unref(isGrid)
291
+ }),
292
+ style: normalizeStyle(getFieldStyles(defaultScope.field.label, defaultScope.nested)),
293
+ "onUpdate:item": setter,
294
+ "onDelete:item": ($event) => {
295
+ setter();
296
+ refetch();
297
+ },
298
+ onValidate: ($event) => validate()
299
+ }, null, 40, ["item", "readonly", "skeleton", "card", "class", "style", "onUpdate:item", "onDelete:item", "onValidate"]))
300
+ ]),
301
+ _: 2
302
+ }, 1032, ["fields", "item", "skeleton", "card"])
303
+ ]),
304
+ more: withCtx(() => [
305
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menu, (menuItem, menuIndex) => {
306
+ return openBlock(), createBlock(resolveDynamicComponent(menuItem), {
307
+ key: menuIndex,
308
+ item,
309
+ readonly: _ctx.readonly || (_ctx.readonlyGetter?.(item) ?? false),
310
+ "update-item": setter,
311
+ "delete-item": () => {
312
+ setter();
313
+ refetch();
314
+ },
315
+ "onUpdate:item": setter,
316
+ "onDelete:item": ($event) => {
317
+ setter();
318
+ refetch();
319
+ }
320
+ }, null, 40, ["item", "readonly", "update-item", "delete-item", "onUpdate:item", "onDelete:item"]);
321
+ }), 128))
322
+ ]),
323
+ _: 2
324
+ }, [
325
+ _ctx.expansion ? {
326
+ name: "expansion",
327
+ fn: withCtx(() => [
328
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.expansion), {
329
+ item,
330
+ readonly: _ctx.readonly || (_ctx.readonlyGetter?.(item) ?? false),
240
331
  skeleton,
241
- mobile: unref(isMobile),
242
- class: normalizeClass({
243
- [defaultScope.field.cssClass ?? ""]: true,
244
- "items-center": !_ctx.alignTop,
245
- "items-start": _ctx.alignTop
246
- }),
247
- style: normalizeStyle(getFieldStyles(defaultScope.field.label)),
332
+ card: unref(isGrid),
248
333
  "onUpdate:item": setter,
249
334
  "onDelete:item": ($event) => {
250
335
  setter();
251
336
  refetch();
252
- },
253
- onValidate: ($event) => validate()
254
- }, null, 40, ["item", "readonly", "skeleton", "mobile", "class", "style", "onUpdate:item", "onDelete:item", "onValidate"]))
337
+ }
338
+ }, null, 40, ["item", "readonly", "skeleton", "card", "onUpdate:item", "onDelete:item"]))
255
339
  ]),
256
- _: 2
257
- }, 1032, ["fields", "item", "skeleton", "mobile"])
258
- ]),
259
- more: withCtx(() => [
260
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.menu, (menuItem, menuIndex) => {
261
- return openBlock(), createBlock(resolveDynamicComponent(menuItem), {
262
- key: menuIndex,
263
- item,
264
- readonly: _ctx.readonly || (_ctx.readonlyGetter?.(item) ?? false),
265
- "update-item": setter,
266
- "delete-item": () => {
267
- setter();
268
- refetch();
269
- },
270
- "onUpdate:item": setter,
271
- "onDelete:item": ($event) => {
272
- setter();
273
- refetch();
274
- }
275
- }, null, 40, ["item", "readonly", "update-item", "delete-item", "onUpdate:item", "onDelete:item"]);
276
- }), 128))
277
- ]),
278
- _: 2
279
- }, [
280
- _ctx.expansion ? {
281
- name: "expansion",
282
- fn: withCtx(() => [
283
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.expansion), {
284
- item,
285
- readonly: _ctx.readonly || (_ctx.readonlyGetter?.(item) ?? false),
286
- skeleton,
287
- mobile: unref(isMobile),
288
- "onUpdate:item": setter,
289
- "onDelete:item": ($event) => {
290
- setter();
291
- refetch();
292
- }
293
- }, null, 40, ["item", "readonly", "skeleton", "mobile", "onUpdate:item", "onDelete:item"]))
294
- ]),
295
- key: "0"
296
- } : void 0
297
- ]), 1032, ["disabled", "disable-more", "mobile", "card-class", "card-wrapper-class", "has-border", "more-bottom", "allow-open", "align-top", "form-name"])
298
- ]),
299
- _: 3
300
- }, 8, ["use-query-fn", "query-params", "query-options", "skeleton-length", "header-margin", "allow-select", "selected", "reverse", "selected-range", "page-length", "count", "onSelect", "onSelectReverse", "onSelectRange"]);
340
+ key: "0"
341
+ } : void 0
342
+ ]), 1032, ["disabled", "disable-more", "mobile", "card-class", "card-wrapper-class", "has-border", "allow-open", "align-top", "hide-more", "form-name", "card", "to"])
343
+ ]),
344
+ _: 3
345
+ }, 8, ["use-query-fn", "query-params", "query-options", "skeleton-length", "allow-select", "selected", "reverse", "selected-range", "page-length", "count", "page-class", "style", "class", "onSelect", "onSelectReverse", "onSelectRange"])
346
+ ], 2);
301
347
  };
302
348
  }
303
349
  });
@@ -1,3 +1,4 @@
1
+ import { LinkProps } from '../../types/types';
1
2
  declare function __VLS_template(): {
2
3
  slots: {
3
4
  default?(_: {
@@ -6,6 +7,7 @@ declare function __VLS_template(): {
6
7
  validate: (silent?: boolean, path?: import('../Form/models/utils').ValidatePath) => string | undefined;
7
8
  }): any;
8
9
  more?(_: {}): any;
10
+ more?(_: {}): any;
9
11
  expansion?(_: {}): any;
10
12
  };
11
13
  refs: {
@@ -15,34 +17,36 @@ declare function __VLS_template(): {
15
17
  };
16
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
19
  declare const __VLS_component: import('vue').DefineComponent<{
18
- disabled?: boolean;
19
- hideMore?: boolean;
20
- mobile?: boolean;
21
- moreBottom?: boolean;
22
- alignTop?: boolean;
23
- hasBorder?: boolean;
24
- cardClass?: string;
25
- cardWrapperClass?: string;
26
- allowOpen?: boolean;
27
- disableMore?: boolean;
28
- formName?: string;
20
+ disabled: boolean | undefined;
21
+ hideMore: boolean | undefined;
22
+ mobile: boolean | undefined;
23
+ alignTop: boolean | undefined;
24
+ hasBorder: boolean | undefined;
25
+ cardClass: string | undefined;
26
+ cardWrapperClass: string | undefined;
27
+ allowOpen: boolean | undefined;
28
+ disableMore: boolean | undefined;
29
+ formName: string | undefined;
30
+ card: boolean | undefined;
31
+ to: LinkProps["to"] | undefined;
29
32
  }, {
30
33
  updateSelected: ((value: boolean) => void) | undefined;
31
34
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
32
35
  "update:selected": (value: boolean) => any;
33
36
  "update:selected-hover": (value: boolean) => any;
34
37
  }, string, import('vue').PublicProps, Readonly<{
35
- disabled?: boolean;
36
- hideMore?: boolean;
37
- mobile?: boolean;
38
- moreBottom?: boolean;
39
- alignTop?: boolean;
40
- hasBorder?: boolean;
41
- cardClass?: string;
42
- cardWrapperClass?: string;
43
- allowOpen?: boolean;
44
- disableMore?: boolean;
45
- formName?: string;
38
+ disabled: boolean | undefined;
39
+ hideMore: boolean | undefined;
40
+ mobile: boolean | undefined;
41
+ alignTop: boolean | undefined;
42
+ hasBorder: boolean | undefined;
43
+ cardClass: string | undefined;
44
+ cardWrapperClass: string | undefined;
45
+ allowOpen: boolean | undefined;
46
+ disableMore: boolean | undefined;
47
+ formName: string | undefined;
48
+ card: boolean | undefined;
49
+ to: LinkProps["to"] | undefined;
46
50
  }> & Readonly<{
47
51
  "onUpdate:selected"?: ((value: boolean) => any) | undefined;
48
52
  "onUpdate:selected-hover"?: ((value: boolean) => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListCard.vue"],"names":[],"mappings":"AA4SA,iBAAS,cAAc;;;;;;YAkVO,GAAG;sBACN,GAAG;2BACE,GAAG;;;;;WAUrB,OAAO,IAA6B;EAEjD;AA8BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;eAtcR,OAAO;eACP,OAAO;aACT,OAAO;iBACH,OAAO;eACT,OAAO;gBACN,OAAO;gBACP,MAAM;uBACC,MAAM;gBACb,OAAO;kBACL,OAAO;eACV,MAAM;;;;;;;eAVN,OAAO;eACP,OAAO;aACT,OAAO;iBACH,OAAO;eACT,OAAO;gBACN,OAAO;gBACP,MAAM;uBACC,MAAM;gBACb,OAAO;kBACL,OAAO;eACV,MAAM;;;;kFAucjB,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":"WListCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/List/WListCard.vue"],"names":[],"mappings":"AAyPA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AA4F5C,iBAAS,cAAc;;;;;;YAscO,GAAG;sBACN,GAAG;sBACH,GAAG;2BACE,GAAG;;;;;WAUrB,OAAO,IAA6B;EAEjD;AAiCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;cA/jBT,OAAO,GAAG,SAAS;cACnB,OAAO,GAAG,SAAS;YACrB,OAAO,GAAG,SAAS;cACjB,OAAO,GAAG,SAAS;eAClB,OAAO,GAAG,SAAS;eACnB,MAAM,GAAG,SAAS;sBACX,MAAM,GAAG,SAAS;eACzB,OAAO,GAAG,SAAS;iBACjB,OAAO,GAAG,SAAS;cACtB,MAAM,GAAG,SAAS;UACtB,OAAO,GAAG,SAAS;QACrB,SAAS,CAAC,IAAI,CAAC,GAAG,SAAS;;;;;;;cAXrB,OAAO,GAAG,SAAS;cACnB,OAAO,GAAG,SAAS;YACrB,OAAO,GAAG,SAAS;cACjB,OAAO,GAAG,SAAS;eAClB,OAAO,GAAG,SAAS;eACnB,MAAM,GAAG,SAAS;sBACX,MAAM,GAAG,SAAS;eACzB,OAAO,GAAG,SAAS;iBACjB,OAAO,GAAG,SAAS;cACtB,MAAM,GAAG,SAAS;UACtB,OAAO,GAAG,SAAS;QACrB,SAAS,CAAC,IAAI,CAAC,GAAG,SAAS;;;;kFA+jB/B,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"}