eco-vue-js 0.10.3 → 0.10.4

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 -10
  181. package/dist/components/List/WList.vue.d.ts.map +1 -1
  182. package/dist/components/List/WList.vue.js +96 -55
  183. package/dist/components/List/WListCard.vue.d.ts +24 -22
  184. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  185. package/dist/components/List/WListCard.vue.js +76 -48
  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 +1 -1
  210. package/dist/components/List/components/ListCardFieldNested.vue.d.ts.map +1 -1
  211. package/dist/components/List/components/ListCardFieldNested.vue.js +9 -9
  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 +23 -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,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, onMounted, openBlock, createElementBlock } from 'vue';
1
+ import { defineComponent, useTemplateRef, onMounted, createElementBlock, openBlock } from 'vue';
2
2
 
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "ModalCloseButton",
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, openBlock, createBlock, withCtx, createTextVNode, toDisplayString, createVNode, unref, withModifiers, createCommentVNode, createElementVNode } from 'vue';
1
+ import { defineComponent, ref, createBlock, openBlock, withCtx, createElementVNode, toDisplayString, createVNode, createCommentVNode, withModifiers, unref, createTextVNode } from 'vue';
2
2
  import _sfc_main$2 from '../../../Button/WButton.vue.js';
3
3
  import _sfc_main$1 from '../../WModalWrapper.vue.js';
4
4
  import { SemanticType } from '../../../../utils/SemanticType.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, openBlock, createElementBlock, Fragment, createVNode, Transition, withCtx, withModifiers, createElementVNode, createCommentVNode, normalizeClass, renderSlot, unref } from 'vue';
1
+ import { defineComponent, ref, createElementBlock, openBlock, Fragment, createVNode, createElementVNode, Transition, withCtx, createCommentVNode, withModifiers, normalizeClass, renderSlot, unref } from 'vue';
2
2
  import IconMenu from '../../assets/icons/sax/IconMenu.svg.js';
3
3
  import { isClientSide } from '../../utils/utils.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, watch, onBeforeUnmount, openBlock, createBlock, unref, normalizeClass, withCtx, createVNode, Transition, createElementBlock, createCommentVNode, createElementVNode, resolveDynamicComponent, renderSlot, toDisplayString, createTextVNode } from 'vue';
1
+ import { defineComponent, computed, watch, onBeforeUnmount, createBlock, openBlock, unref, normalizeClass, withCtx, createVNode, createElementVNode, Transition, createElementBlock, createCommentVNode, renderSlot, resolveDynamicComponent, toDisplayString, createTextVNode } from 'vue';
2
2
  import { useRoute, useRouter, RouterLink } from 'vue-router';
3
3
  import _sfc_main$1 from '../Counter/WCounter.vue.js';
4
4
  import WSkeleton from '../Skeleton/WSkeleton.vue.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, useSlots, computed, ref, reactive, watch, onBeforeUnmount, openBlock, createElementBlock, createVNode, withCtx, renderSlot, unref, normalizeClass, Fragment, renderList, createBlock, resolveDynamicComponent } from 'vue';
1
+ import { defineComponent, useSlots, computed, ref, reactive, watch, onBeforeUnmount, createElementBlock, openBlock, createVNode, withCtx, unref, normalizeClass, renderSlot, Fragment, renderList, createBlock, resolveDynamicComponent } from 'vue';
2
2
  import _sfc_main$2 from '../Expansion/WExpansion.vue.js';
3
3
  import IconArrow from '../../assets/icons/default/IconArrow.svg.js';
4
4
  import '../Button/WButtonAction.vue.js';
@@ -10,9 +10,11 @@ import '../Dropdown/utils/DropdownStyle.js';
10
10
  import 'vue-router';
11
11
  import '../../utils/Modal.js';
12
12
  import '../Input/WInputSuggest.vue.js';
13
+ import '../HeaderBar/use/useHeaderPadding.js';
13
14
  import '../Input/WInputDate.vue.js';
14
15
  import '../Link/WLink.vue.js';
15
16
  import '@tanstack/vue-query';
17
+ import '../List/use/useListConfig.js';
16
18
  import _sfc_main$1 from './WNavItem.vue.js';
17
19
  import WNavItemTransition from './WNavItemTransition.vue.js';
18
20
 
@@ -1,4 +1,4 @@
1
- import { openBlock, createBlock, TransitionGroup, withCtx, renderSlot } from 'vue';
1
+ import { createBlock, openBlock, TransitionGroup, withCtx, renderSlot } from 'vue';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
3
3
 
4
4
  const _sfc_main = {};
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, onBeforeMount, onBeforeUnmount, openBlock, createBlock, TransitionGroup, withCtx, createElementBlock, Fragment, renderList } from 'vue';
1
+ import { defineComponent, ref, onBeforeMount, onBeforeUnmount, createBlock, openBlock, TransitionGroup, withCtx, createElementBlock, Fragment, renderList } from 'vue';
2
2
  import { initNotify } from '../../utils/Notify.js';
3
3
  import _sfc_main$1 from './components/NotifyCard.vue.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, ref, computed, watch, openBlock, createElementBlock, normalizeStyle, createElementVNode, withDirectives, createVNode, vShow, unref, createBlock, createCommentVNode, toDisplayString, createTextVNode, withCtx } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, computed, watch, createElementBlock, openBlock, normalizeStyle, createElementVNode, withDirectives, createVNode, vShow, createBlock, createCommentVNode, unref, toDisplayString, createTextVNode, withCtx } from 'vue';
2
2
  import { useRouter } from 'vue-router';
3
3
  import _sfc_main$2 from '../../Button/WButton.vue.js';
4
4
  import _sfc_main$1 from '../../Counter/WCounter.vue.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, openBlock, createBlock, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
1
+ import { defineComponent, computed, createBlock, openBlock, resolveDynamicComponent, withCtx, createTextVNode, createCommentVNode, toDisplayString } from 'vue';
2
2
  import _sfc_main$1 from '../EmptyComponent/WEmptyComponent.vue.js';
3
3
  import _sfc_main$2 from '../Tooltip/WTooltip.vue.js';
4
4
  import { percentCompactFormatter, numberCompactFormatter, percentFormatter, numberFormatter } from '../../utils/utils.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, ref, watch, nextTick, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, createCommentVNode, renderSlot, normalizeProps, guardReactiveProps, createBlock, resolveDynamicComponent, toDisplayString, unref, createSlots, withCtx } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, watch, nextTick, resolveComponent, createElementBlock, openBlock, Fragment, createElementVNode, createBlock, createCommentVNode, normalizeClass, createVNode, renderSlot, normalizeProps, guardReactiveProps, resolveDynamicComponent, toDisplayString, unref, createSlots, withCtx } from 'vue';
2
2
  import { dateFormat } from '../../utils/dateTime.js';
3
3
  import _sfc_main$1 from './WPageTitle.vue.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { openBlock, createElementBlock, renderSlot } from 'vue';
1
+ import { createElementBlock, openBlock, renderSlot } from 'vue';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
3
3
 
4
4
  const _sfc_main = {};
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, toDisplayString } from 'vue';
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, toDisplayString } from 'vue';
2
2
 
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "WPageTitle",
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, createElementVNode, normalizeStyle } from 'vue';
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, normalizeStyle } from 'vue';
2
2
 
3
3
  const _hoisted_1 = { class: "h-1 w-full bg-gray-200 dark:bg-gray-700" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,10 +1,10 @@
1
- import { defineComponent, ref, useTemplateRef, computed, toRef, watch, nextTick, openBlock, createBlock, mergeProps, unref, withModifiers, createSlots, withCtx, createElementBlock, Fragment, renderList, renderSlot, createCommentVNode, createElementVNode, toDisplayString, resolveDynamicComponent } from 'vue';
1
+ import { defineComponent, ref, useTemplateRef, computed, toRef, watch, nextTick, createBlock, openBlock, mergeProps, unref, withModifiers, createSlots, withCtx, createElementBlock, createCommentVNode, createElementVNode, toDisplayString, Fragment, renderList, renderSlot, resolveDynamicComponent } from 'vue';
2
2
  import _sfc_main$1 from '../Input/WInputSuggest.vue.js';
3
3
  import { ApiError } from '../../utils/api.js';
4
4
  import { getIsMobile } from '../../utils/mobile.js';
5
5
  import { debounce } from '../../utils/utils.js';
6
- import _sfc_main$3 from './components/SelectOption.vue.js';
7
- import _sfc_main$2 from './components/SelectOptionPrefix.vue.js';
6
+ import _sfc_main$2 from './components/SelectOption.vue.js';
7
+ import _sfc_main$3 from './components/SelectOptionPrefix.vue.js';
8
8
 
9
9
  const _hoisted_1 = {
10
10
  key: 0,
@@ -266,7 +266,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
266
266
  }), createSlots({
267
267
  prefix: withCtx(({ unclickable }) => [
268
268
  (_ctx.hidePrefix ? unref(isMobile) ? unclickable || !focused.value : !isOpen.value : true) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(prefixList.value, (option, index) => {
269
- return openBlock(), createBlock(_sfc_main$2, {
269
+ return openBlock(), createBlock(_sfc_main$3, {
270
270
  key: _ctx.valueGetter(option),
271
271
  option,
272
272
  "option-component": _ctx.optionComponent,
@@ -297,7 +297,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
297
297
  createElementVNode("div", _hoisted_2, toDisplayString(!search.value && _ctx.emptyStub ? _ctx.emptyStub : "No match"), 1)
298
298
  ])) : createCommentVNode("", true),
299
299
  (openBlock(true), createElementBlock(Fragment, null, renderList(optionsFiltered.value, (option, index) => {
300
- return openBlock(), createBlock(_sfc_main$3, {
300
+ return openBlock(), createBlock(_sfc_main$2, {
301
301
  key: _ctx.valueGetter(option),
302
302
  "is-selected": _ctx.modelValue.includes(_ctx.valueGetter(option)),
303
303
  "is-cursor": index === cursor.value,
@@ -331,7 +331,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
331
331
  _: 2
332
332
  }, 1032, ["is-selected", "is-cursor", "loading", "scroll", "hide-option-icon", "onSelect", "onUnselect", "onMouseenter"]);
333
333
  }), 128)),
334
- hasCreateOption.value ? (openBlock(), createBlock(_sfc_main$3, {
334
+ hasCreateOption.value ? (openBlock(), createBlock(_sfc_main$2, {
335
335
  key: 1,
336
336
  "is-selected": false,
337
337
  "is-cursor": cursor.value === optionsFiltered.value.length,
@@ -1,8 +1,8 @@
1
- import { defineComponent, ref, useTemplateRef, computed, watch, openBlock, createBlock, mergeProps, unref, withModifiers, createSlots, withCtx, renderSlot, createCommentVNode, createVNode, resolveDynamicComponent, nextTick } from 'vue';
1
+ import { defineComponent, ref, useTemplateRef, computed, watch, createBlock, openBlock, mergeProps, unref, withModifiers, createSlots, withCtx, createVNode, renderSlot, resolveDynamicComponent, createCommentVNode, nextTick } from 'vue';
2
2
  import _sfc_main$1 from '../Input/WInputSuggest.vue.js';
3
3
  import { getIsMobile } from '../../utils/mobile.js';
4
- import _sfc_main$3 from './components/SelectAsyncList.vue.js';
5
- import _sfc_main$2 from './components/SelectAsyncPrefix.vue.js';
4
+ import _sfc_main$2 from './components/SelectAsyncList.vue.js';
5
+ import _sfc_main$3 from './components/SelectAsyncPrefix.vue.js';
6
6
 
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  ...{ inheritAttrs: false },
@@ -192,7 +192,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
192
192
  })
193
193
  }), createSlots({
194
194
  prefix: withCtx(({ unclickable }) => [
195
- (_ctx.hidePrefix ? unref(isMobile) ? unclickable || !focused.value : !isOpen.value : true) ? (openBlock(), createBlock(_sfc_main$2, {
195
+ (_ctx.hidePrefix ? unref(isMobile) ? unclickable || !focused.value : !isOpen.value : true) ? (openBlock(), createBlock(_sfc_main$3, {
196
196
  key: 0,
197
197
  "use-query-fn": _ctx.useQueryFnPrefix ?? _ctx.useQueryFnOptions,
198
198
  "model-value": _ctx.modelValue,
@@ -228,7 +228,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
228
228
  ]), 1032, ["use-query-fn", "model-value", "disabled", "loading", "option-component", "option-component-props", "disable-clear", "preview-data", "created-data", "value-getter", "value-query-key"])) : createCommentVNode("", true)
229
229
  ]),
230
230
  content: withCtx(() => [
231
- createVNode(_sfc_main$3, {
231
+ createVNode(_sfc_main$2, {
232
232
  ref: "list",
233
233
  "model-value": _ctx.modelValue,
234
234
  "use-query-fn": _ctx.useQueryFnOptions,
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, openBlock, createElementBlock, createBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, unref, createSlots, withCtx, renderSlot } from 'vue';
1
+ import { defineComponent, useTemplateRef, createElementBlock, openBlock, createCommentVNode, createBlock, Fragment, createTextVNode, toDisplayString, createVNode, unref, createSlots, withCtx, renderSlot } from 'vue';
2
2
  import WSkeleton from '../Skeleton/WSkeleton.vue.js';
3
3
  import _sfc_main$1 from './components/SelectAsyncList.vue.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, computed, watch, toRef, openBlock, createBlock, mergeProps, unref, createSlots, withCtx, renderSlot } from 'vue';
1
+ import { defineComponent, useTemplateRef, computed, watch, toRef, createBlock, openBlock, mergeProps, unref, createSlots, withCtx, renderSlot } from 'vue';
2
2
  import _sfc_main$1 from './WSelectAsync.vue.js';
3
3
 
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, computed, watch, toRef, openBlock, createBlock, mergeProps, unref, createSlots, withCtx, renderSlot } from 'vue';
1
+ import { defineComponent, useTemplateRef, computed, watch, toRef, createBlock, openBlock, mergeProps, unref, createSlots, withCtx, renderSlot } from 'vue';
2
2
  import _sfc_main$1 from './WSelect.vue.js';
3
3
 
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, computed, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot } from 'vue';
1
+ import { defineComponent, useTemplateRef, computed, createBlock, openBlock, mergeProps, createSlots, withCtx, renderSlot } from 'vue';
2
2
  import _sfc_main$1 from './WSelect.vue.js';
3
3
 
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, openBlock, createElementBlock, createVNode, withCtx, normalizeClass, renderSlot, createBlock, createElementVNode, createCommentVNode } from 'vue';
1
+ import { defineComponent, ref, createElementBlock, openBlock, createVNode, createBlock, createCommentVNode, withCtx, normalizeClass, renderSlot, createElementVNode } from 'vue';
2
2
  import _sfc_main$1 from '../../InfiniteList/WInfiniteList.vue.js';
3
3
  import { debounce } from '../../../utils/utils.js';
4
4
  import _sfc_main$2 from './SelectOption.vue.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, watch, onBeforeUnmount, openBlock, createElementBlock, Fragment, createVNode, createSlots, withCtx, renderSlot, createElementVNode, toDisplayString, unref, normalizeClass, withModifiers, createCommentVNode } from 'vue';
1
+ import { defineComponent, ref, computed, watch, onBeforeUnmount, createElementBlock, createCommentVNode, openBlock, Fragment, createVNode, createSlots, withCtx, renderSlot, createElementVNode, toDisplayString, unref, withModifiers, normalizeClass } from 'vue';
2
2
  import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
3
3
  import { numberFormatter } from '../../../utils/utils.js';
4
4
  import _sfc_main$1 from './SelectAsyncPrefixPage.vue.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, toRef, watch, onBeforeUnmount, openBlock, createElementBlock, Fragment, renderList, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, mergeProps, createSlots, withCtx, createElementVNode, withModifiers, createVNode, unref, createCommentVNode } from 'vue';
1
+ import { defineComponent, computed, toRef, watch, onBeforeUnmount, createElementBlock, openBlock, Fragment, renderList, normalizeClass, renderSlot, createCommentVNode, createBlock, resolveDynamicComponent, mergeProps, createSlots, withCtx, createElementVNode, withModifiers, createVNode, unref } from 'vue';
2
2
  import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
3
3
 
4
4
  const _hoisted_1 = ["onClick"];
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, watch, watchEffect, onUnmounted, openBlock, createElementBlock, normalizeClass, withModifiers, renderSlot, createElementVNode, createVNode, Transition, withCtx, createBlock, unref, createCommentVNode } from 'vue';
1
+ import { defineComponent, useTemplateRef, watch, watchEffect, onUnmounted, createElementBlock, openBlock, withModifiers, normalizeClass, renderSlot, createElementVNode, createVNode, Transition, withCtx, createCommentVNode, createBlock, unref } from 'vue';
2
2
  import WSpinner from '../../Spinner/WSpinner.vue.js';
3
3
  import IconCheck from '../../../assets/icons/default/IconCheck.svg.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, mergeProps, withCtx, withModifiers, createVNode, unref, createCommentVNode } from 'vue';
1
+ import { defineComponent, createElementBlock, openBlock, normalizeClass, renderSlot, createCommentVNode, createBlock, resolveDynamicComponent, mergeProps, withCtx, withModifiers, createVNode, unref } from 'vue';
2
2
  import IconCancel from '../../../assets/icons/default/IconCancel.svg.js';
3
3
 
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { openBlock, createElementBlock, normalizeStyle } from 'vue';
1
+ import { createElementBlock, openBlock, normalizeStyle } from 'vue';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
3
3
 
4
4
  const _sfc_main = {};
@@ -1,4 +1,4 @@
1
- import { openBlock, createElementBlock, createElementVNode } from 'vue';
1
+ import { createElementBlock, openBlock, createElementVNode } from 'vue';
2
2
  import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
3
3
 
4
4
  const _sfc_main = {};
@@ -1,20 +1,22 @@
1
- import { defineComponent, useSlots, useTemplateRef, computed, ref, inject, watch, onMounted, onUnmounted, openBlock, createBlock, normalizeClass, withCtx, createElementBlock, Fragment, renderList, unref, createSlots, resolveDynamicComponent, mergeProps, normalizeStyle, createCommentVNode, createVNode, TransitionGroup } from 'vue';
1
+ import { defineComponent, useSlots, useTemplateRef, computed, ref, inject, watch, onMounted, onUnmounted, createBlock, openBlock, normalizeClass, withCtx, createElementBlock, createCommentVNode, Fragment, renderList, unref, createSlots, resolveDynamicComponent, mergeProps, normalizeStyle, createVNode, TransitionGroup } from 'vue';
2
2
  import _sfc_main$1 from '../Form/WForm.vue.js';
3
3
  import '../Button/WButtonAction.vue.js';
4
4
  import '../Button/WButton.vue.js';
5
5
  import { getIsMobile } from '../../utils/mobile.js';
6
6
  import { Notify } from '../../utils/Notify.js';
7
7
  import '../Button/WButtonDropdown.vue.js';
8
- import { debounce, throttle } from '../../utils/utils.js';
8
+ import { throttle, debounce } from '../../utils/utils.js';
9
9
  import '../../utils/supportsPassive.js';
10
10
  import '../Dropdown/utils/DropdownStyle.js';
11
11
  import 'vue-router';
12
12
  import { wTabItemListener, wTabItemUnlistener } from './models/injection.js';
13
13
  import '../../utils/Modal.js';
14
14
  import '../Input/WInputSuggest.vue.js';
15
+ import '../HeaderBar/use/useHeaderPadding.js';
15
16
  import '../Input/WInputDate.vue.js';
16
17
  import '../Link/WLink.vue.js';
17
18
  import '@tanstack/vue-query';
19
+ import '../List/use/useListConfig.js';
18
20
  import _sfc_main$3 from './components/TabItem.vue.js';
19
21
  import _sfc_main$2 from './components/TabTitleButton.vue.js';
20
22
 
@@ -1,4 +1,4 @@
1
- import { defineComponent, unref, openBlock, createBlock, withCtx, renderSlot, createElementBlock, normalizeStyle, Fragment, renderList, resolveDynamicComponent } from 'vue';
1
+ import { defineComponent, createBlock, createElementBlock, unref, openBlock, withCtx, renderSlot, normalizeStyle, Fragment, renderList, resolveDynamicComponent } from 'vue';
2
2
  import _sfc_main$1 from './WTabs.vue.js';
3
3
  import { getIsMobile } from '../../utils/mobile.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, watch, nextTick, toRef, withDirectives, openBlock, createBlock, withCtx, renderSlot, vShow, createCommentVNode } from 'vue';
1
+ import { defineComponent, useTemplateRef, watch, nextTick, toRef, withDirectives, createCommentVNode, createBlock, openBlock, withCtx, renderSlot, vShow } from 'vue';
2
2
  import _sfc_main$1 from '../../Form/WForm.vue.js';
3
3
  import { useTabItemActiveListener } from '../use/useTabItemActiveListener.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, watch, nextTick, onMounted, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, unref, createCommentVNode, renderSlot, normalizeProps, mergeProps, Suspense, withCtx, resolveDynamicComponent, createTextVNode, toDisplayString, guardReactiveProps, createVNode, Transition } from 'vue';
1
+ import { defineComponent, useTemplateRef, watch, nextTick, onMounted, createElementBlock, openBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode, createBlock, unref, createVNode, normalizeProps, mergeProps, createTextVNode, Suspense, withCtx, resolveDynamicComponent, toDisplayString, guardReactiveProps, Transition } from 'vue';
2
2
  import IconCheckCircle from '../../../assets/icons/sax/IconCheckCircle.svg.js';
3
3
  import IconClose from '../../../assets/icons/sax/IconClose.svg.js';
4
4
  import IconNegativeInfo from '../../../assets/icons/sax/IconNegativeInfo.svg.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, createBlock } from 'vue';
1
+ import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, toDisplayString, createBlock } from 'vue';
2
2
  import WSpinner from '../Spinner/WSpinner.vue.js';
3
3
  import { Notify } from '../../utils/Notify.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { defineComponent, useSlots, useTemplateRef, ref, computed, watch, toRef, onBeforeUnmount, unref, openBlock, createElementBlock, createCommentVNode, markRaw } from 'vue';
1
+ import { defineComponent, useSlots, useTemplateRef, ref, computed, watch, toRef, onBeforeUnmount, createElementBlock, createCommentVNode, unref, openBlock, markRaw } from 'vue';
2
2
  import { Tooltip } from '../../utils/Tooltip.js';
3
3
  import { getIsTouchDevice } from '../../utils/mobile.js';
4
4
  import { getIncrement } from './models/utils.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, onBeforeMount, onMounted, onBeforeUnmount, onUnmounted, openBlock, createBlock, Transition, withCtx, unref, createVNode, resolveDynamicComponent, createElementBlock, toDisplayString, createCommentVNode, markRaw } from 'vue';
1
+ import { defineComponent, ref, onBeforeMount, onMounted, onBeforeUnmount, onUnmounted, createBlock, openBlock, Transition, withCtx, createCommentVNode, unref, createVNode, createElementBlock, resolveDynamicComponent, toDisplayString, markRaw } from 'vue';
2
2
  import _sfc_main$1 from '../Dropdown/WDropdown.vue.js';
3
3
  import { HorizontalAlign } from '../../utils/HorizontalAlign.js';
4
4
  import { initTooltip } from '../../utils/Tooltip.js';
@@ -1,4 +1,4 @@
1
- import { defineComponent, useTemplateRef, ref, watch, toRef, onMounted, openBlock, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, nextTick } from 'vue';
1
+ import { defineComponent, useTemplateRef, ref, watch, toRef, onMounted, createElementBlock, openBlock, createElementVNode, normalizeClass, normalizeStyle, renderSlot, nextTick } from 'vue';
2
2
  import { isClientSide } from '../../../utils/utils.js';
3
3
 
4
4
  const _hoisted_1 = { class: "pointer-events-none flex flex-col items-center justify-center drop-shadow-md dark:drop-shadow-none" };
@@ -199,3 +199,11 @@ declare type IsTuple<T> = [T] extends [never]
199
199
  ? false
200
200
  : true
201
201
  : false
202
+
203
+ declare type Join<Data, Separator extends string> = Data extends [infer Head, ...infer Tail]
204
+ ? Head extends string
205
+ ? Tail extends readonly string[]
206
+ ? `${ Head }${ Separator }${ Join<Tail, Separator> }`
207
+ : Head
208
+ : Join<Tail, Separator>
209
+ : ''
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.10.3",
7
+ "version": "0.10.4",
8
8
  "scripts": {
9
9
  "build": "run-p type-check \"build-only {@}\" --",
10
10
  "preview": "vite preview",
@@ -46,7 +46,7 @@
46
46
  "postcss-import": "16.1.0",
47
47
  "tailwindcss": "3.4.16",
48
48
  "typescript": "5.6.3",
49
- "vite": "6.0.2",
49
+ "vite": "6.1.0",
50
50
  "vite-plugin-dts": "4.3.0",
51
51
  "vite-svg-loader": "5.1.0",
52
52
  "vue-tsc": "2.1.10"
@@ -2,6 +2,7 @@ import type {Config} from 'tailwindcss'
2
2
 
3
3
  import colors from 'tailwindcss/colors.js'
4
4
 
5
+ import pluginContainerQueries from './plugins/container-queries.js'
5
6
  import pluginDefault from './plugins/default.js'
6
7
  import animations from './theme/animations.js'
7
8
  import score from './theme/score.js'
@@ -117,6 +118,7 @@ const tailwindBase = {
117
118
  },
118
119
  plugins: [
119
120
  pluginDefault,
121
+ pluginContainerQueries,
120
122
  ],
121
123
  } satisfies Config
122
124
 
@@ -0,0 +1,92 @@
1
+ import plugin from 'tailwindcss/plugin'
2
+
3
+ const pluginContainerQueries = plugin(
4
+ function containerQueries({matchUtilities, matchVariant, theme}) {
5
+ const values: Record<string, string> = theme('containers') ?? {}
6
+
7
+ function parseValue(value: string) {
8
+ const numericValue = value.match(/^(\d+\.\d+|\d+|\.\d+)\D+/)?.[1] ?? null
9
+ if (numericValue === null) return null
10
+
11
+ return parseFloat(value)
12
+ }
13
+
14
+ matchUtilities(
15
+ {
16
+ '@container': (value, {modifier}) => {
17
+ return {
18
+ 'container-type': value,
19
+ 'container-name': modifier,
20
+ }
21
+ },
22
+ },
23
+ {
24
+ values: {
25
+ DEFAULT: 'inline-size',
26
+ normal: 'normal',
27
+ },
28
+ modifiers: 'any',
29
+ },
30
+ )
31
+
32
+ const createVariant = (prefix: string, property: string) => {
33
+ matchVariant(
34
+ prefix,
35
+ (value = '', {modifier}) => {
36
+ const parsed = parseValue(value)
37
+
38
+ return parsed !== null ? `@container ${ modifier ?? '' } (${ property }: ${ value })` : []
39
+ },
40
+ {
41
+ values,
42
+ sort(aVariant, zVariant) {
43
+ const a = parseFloat(aVariant.value)
44
+ const z = parseFloat(zVariant.value)
45
+
46
+ if (a === null || z === null) return 0
47
+
48
+ // Sort values themselves regardless of unit
49
+ if (a - z !== 0) return a - z
50
+
51
+ const aLabel = aVariant.modifier ?? ''
52
+ const zLabel = zVariant.modifier ?? ''
53
+
54
+ // Explicitly move empty labels to the end
55
+ if (aLabel === '' && zLabel !== '') {
56
+ return 1
57
+ } else if (aLabel !== '' && zLabel === '') {
58
+ return -1
59
+ }
60
+
61
+ // Sort labels alphabetically in the English locale
62
+ // We are intentionally overriding the locale because we do not want the sort to
63
+ // be affected by the machine's locale (be it a developer or CI environment)
64
+ return aLabel.localeCompare(zLabel, 'en', {numeric: true})
65
+ },
66
+ },
67
+ )
68
+ }
69
+
70
+ createVariant('@', 'min-width')
71
+ createVariant('@not', 'max-width')
72
+ },
73
+ {
74
+ theme: {
75
+ containers: {
76
+ xs: '20rem',
77
+ sm: '24rem',
78
+ md: '28rem',
79
+ lg: '32rem',
80
+ xl: '36rem',
81
+ '2xl': '42rem',
82
+ '3xl': '48rem',
83
+ '4xl': '56rem',
84
+ '5xl': '64rem',
85
+ '6xl': '72rem',
86
+ '7xl': '80rem',
87
+ },
88
+ },
89
+ },
90
+ )
91
+
92
+ export default pluginContainerQueries
@@ -121,6 +121,8 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
121
121
  addVariant('resizer', '&::-webkit-resizer')
122
122
  addVariant('last-not', '&:not(:last-child)')
123
123
  addVariant('first-not', '&:not(:first-child)')
124
+ addVariant('card', ['.w-card &', '&.w-card'])
125
+ addVariant('list', ['.w-list &', '&.w-list'])
124
126
 
125
127
  addBase({
126
128
  '.w-input': {
@@ -458,11 +460,8 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
458
460
 
459
461
  matchUtilities(
460
462
  {
461
- 'w-skeleton-w': value => {
462
- return {
463
- '--skeleton-width': value,
464
- }
465
- },
463
+ 'w-skeleton-w': value => ({'--skeleton-width': value}),
464
+ 'w-list-card-w': value => ({'--w-list-card-width': value}),
466
465
  },
467
466
  {
468
467
  values: theme('width'),
@@ -487,11 +486,30 @@ const pluginDefault = plugin(function ({matchUtilities, addVariant, addUtilities
487
486
  'w-button-rounded': value => ({'--w-button-rounded': value}),
488
487
  'w-skeleton-rounded': value => ({'--w-skeleton-rounded': value}),
489
488
  'w-ripple-rounded': value => ({'--w-ripple-rounded': value}),
489
+ 'w-list-rounded': value => ({'--w-list-rounded': value}),
490
490
  },
491
491
  {
492
492
  values: theme('borderRadius'),
493
493
  },
494
494
  )
495
+
496
+ matchUtilities(
497
+ {
498
+ 'w-list-gap': value => ({'--w-list-gap': value}),
499
+ },
500
+ {
501
+ values: theme('gap'),
502
+ },
503
+ )
504
+
505
+ addBase({
506
+ 'cols-span-full': {
507
+ 'grid-column': '1 / -1',
508
+ },
509
+ 'row-span-full': {
510
+ 'grid-row': '1 / -1',
511
+ },
512
+ })
495
513
  })
496
514
 
497
515
  export default pluginDefault
@@ -1,10 +0,0 @@
1
- import { FieldConfig, FieldConfigMap, ListField, ListFields } from '../types';
2
- import { MaybeRef } from 'vue';
3
- export declare const filterFields: <F extends ListFields<any, any>>(fields: F, method: (field: ListField<unknown>) => boolean) => F;
4
- export declare const getFirstFieldLabel: <F extends ListFields<any, any>[number]>(field: F) => string;
5
- export declare const useFieldConfigMap: <Fields extends ListFields<any, any>>(key: MaybeRef<string>, fields: MaybeRef<Fields>, defaultConfigMap: MaybeRef<FieldConfigMap<Fields>>) => {
6
- fieldConfigMap: import('vue').WritableComputedRef<Record<string, FieldConfig>, Record<string, FieldConfig>>;
7
- hasSaved: import('vue').Ref<boolean, boolean>;
8
- reset: () => void;
9
- };
10
- //# sourceMappingURL=useFieldConfigMap.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFieldConfigMap.d.ts","sourceRoot":"","sources":["../../../../src/components/List/use/useFieldConfigMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAC,MAAM,UAAU,CAAA;AAEhF,OAAO,EAAC,KAAK,QAAQ,EAAqC,MAAM,KAAK,CAAA;AA6DrE,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,OAAO,KAAG,CAUxH,CAAA;AAGD,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,KAAG,MAErF,CAAA;AAGD,eAAO,MAAM,iBAAiB,GAAI,MAAM,SAAS,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,OAAO,QAAQ,CAAC,MAAM,CAAC,UAAU,QAAQ,CAAC,MAAM,CAAC,oBAAoB,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;;;;CAoCzK,CAAA"}