eco-vue-js 0.3.67

Sign up to get free protection for your applications and to get access to all the features.
Files changed (517) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +69 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  4. package/dist/assets/icons/default/IconAdd.svg.js +30 -0
  5. package/dist/assets/icons/default/IconArrow.svg.js +23 -0
  6. package/dist/assets/icons/default/IconAvatar.svg.js +20 -0
  7. package/dist/assets/icons/default/IconBack.svg.js +44 -0
  8. package/dist/assets/icons/default/IconCancel.svg.js +24 -0
  9. package/dist/assets/icons/default/IconCheck.svg.js +23 -0
  10. package/dist/assets/icons/default/IconDanger.svg.js +35 -0
  11. package/dist/assets/icons/default/IconDojo.svg.js +32 -0
  12. package/dist/assets/icons/default/IconEdit.svg.js +33 -0
  13. package/dist/assets/icons/default/IconFalsePositive.svg.js +31 -0
  14. package/dist/assets/icons/default/IconFeedback.svg.js +44 -0
  15. package/dist/assets/icons/default/IconFilter.svg.js +25 -0
  16. package/dist/assets/icons/default/IconInProgress.svg.js +30 -0
  17. package/dist/assets/icons/default/IconJira.svg.js +20 -0
  18. package/dist/assets/icons/default/IconLogout.svg.js +20 -0
  19. package/dist/assets/icons/default/IconMore.svg.js +39 -0
  20. package/dist/assets/icons/default/IconNotification.svg.js +25 -0
  21. package/dist/assets/icons/default/IconProfile.svg.js +37 -0
  22. package/dist/assets/icons/default/IconSearch.svg.js +23 -0
  23. package/dist/assets/icons/default/IconSettings.svg.js +34 -0
  24. package/dist/assets/icons/default/IconSort.svg.js +25 -0
  25. package/dist/assets/icons/default/IconStar.svg.js +24 -0
  26. package/dist/assets/icons/default/IconSuccess.svg.js +30 -0
  27. package/dist/assets/icons/default/IconTask.svg.js +39 -0
  28. package/dist/assets/icons/default/IconTime.svg.js +42 -0
  29. package/dist/assets/icons/default/IconWarn.svg.js +48 -0
  30. package/dist/assets/icons/sax/IconAdd.svg.js +26 -0
  31. package/dist/assets/icons/sax/IconAddCircle.svg.js +26 -0
  32. package/dist/assets/icons/sax/IconAddSquare.svg.js +26 -0
  33. package/dist/assets/icons/sax/IconAlarm.svg.js +26 -0
  34. package/dist/assets/icons/sax/IconArchiveBook.svg.js +36 -0
  35. package/dist/assets/icons/sax/IconCandle.svg.js +27 -0
  36. package/dist/assets/icons/sax/IconCelery.svg.js +46 -0
  37. package/dist/assets/icons/sax/IconChart.svg.js +26 -0
  38. package/dist/assets/icons/sax/IconCheckCircle.svg.js +34 -0
  39. package/dist/assets/icons/sax/IconCloseCircle.svg.js +26 -0
  40. package/dist/assets/icons/sax/IconCopy.svg.js +34 -0
  41. package/dist/assets/icons/sax/IconCopySuccess.svg.js +42 -0
  42. package/dist/assets/icons/sax/IconCopyright.svg.js +34 -0
  43. package/dist/assets/icons/sax/IconDedupe.svg.js +43 -0
  44. package/dist/assets/icons/sax/IconDojo.svg.js +32 -0
  45. package/dist/assets/icons/sax/IconEditCircle.svg.js +43 -0
  46. package/dist/assets/icons/sax/IconElement.svg.js +26 -0
  47. package/dist/assets/icons/sax/IconExport.svg.js +26 -0
  48. package/dist/assets/icons/sax/IconEye.svg.js +34 -0
  49. package/dist/assets/icons/sax/IconEyeSlash.svg.js +42 -0
  50. package/dist/assets/icons/sax/IconFilter.svg.js +27 -0
  51. package/dist/assets/icons/sax/IconFinding.svg.js +26 -0
  52. package/dist/assets/icons/sax/IconFolder.svg.js +25 -0
  53. package/dist/assets/icons/sax/IconFolderCross.svg.js +34 -0
  54. package/dist/assets/icons/sax/IconJira.svg.js +26 -0
  55. package/dist/assets/icons/sax/IconKey.svg.js +35 -0
  56. package/dist/assets/icons/sax/IconKeySquare.svg.js +43 -0
  57. package/dist/assets/icons/sax/IconLayer.svg.js +42 -0
  58. package/dist/assets/icons/sax/IconLink.svg.js +28 -0
  59. package/dist/assets/icons/sax/IconLinkBold.svg.js +23 -0
  60. package/dist/assets/icons/sax/IconLinkOutline.svg.js +28 -0
  61. package/dist/assets/icons/sax/IconLogout.svg.js +50 -0
  62. package/dist/assets/icons/sax/IconMenu.svg.js +25 -0
  63. package/dist/assets/icons/sax/IconMinusCircle.svg.js +26 -0
  64. package/dist/assets/icons/sax/IconNegate.svg.js +34 -0
  65. package/dist/assets/icons/sax/IconNegativeInfo.svg.js +34 -0
  66. package/dist/assets/icons/sax/IconNote.svg.js +34 -0
  67. package/dist/assets/icons/sax/IconOutlineCheckCircle.svg.js +34 -0
  68. package/dist/assets/icons/sax/IconOutlineCloseCircle.svg.js +26 -0
  69. package/dist/assets/icons/sax/IconOutlineEdit.svg.js +44 -0
  70. package/dist/assets/icons/sax/IconOutlineFolderAdd.svg.js +34 -0
  71. package/dist/assets/icons/sax/IconOutlineRefresh.svg.js +26 -0
  72. package/dist/assets/icons/sax/IconOutlineStar.svg.js +26 -0
  73. package/dist/assets/icons/sax/IconPaste.svg.js +44 -0
  74. package/dist/assets/icons/sax/IconProfile.svg.js +34 -0
  75. package/dist/assets/icons/sax/IconRadar.svg.js +26 -0
  76. package/dist/assets/icons/sax/IconRefresh.svg.js +26 -0
  77. package/dist/assets/icons/sax/IconSearch.svg.js +26 -0
  78. package/dist/assets/icons/sax/IconSettings.svg.js +36 -0
  79. package/dist/assets/icons/sax/IconStar.svg.js +26 -0
  80. package/dist/assets/icons/sax/IconSummary.svg.js +34 -0
  81. package/dist/assets/icons/sax/IconTag.svg.js +33 -0
  82. package/dist/assets/icons/sax/IconTask.svg.js +26 -0
  83. package/dist/assets/icons/sax/IconTime.svg.js +26 -0
  84. package/dist/assets/icons/sax/IconTrash.svg.js +26 -0
  85. package/dist/assets/icons/sax/IconUser.svg.js +26 -0
  86. package/dist/assets/icons/sax/IconVersionControl.svg.js +26 -0
  87. package/dist/assets/icons/sax/IconWeight.svg.js +34 -0
  88. package/dist/components/BottomSheet/WBottomSheet.vue.d.ts +29 -0
  89. package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -0
  90. package/dist/components/BottomSheet/WBottomSheet.vue.js +127 -0
  91. package/dist/components/BottomSheet/WBottomSheet.vue2.js +5 -0
  92. package/dist/components/Button/WButton.vue.d.ts +97 -0
  93. package/dist/components/Button/WButton.vue.d.ts.map +1 -0
  94. package/dist/components/Button/WButton.vue.js +76 -0
  95. package/dist/components/Button/WButton.vue2.js +5 -0
  96. package/dist/components/Button/WButtonAction.vue.d.ts +78 -0
  97. package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -0
  98. package/dist/components/Button/WButtonAction.vue.js +64 -0
  99. package/dist/components/Button/WButtonAction.vue2.js +5 -0
  100. package/dist/components/Button/WButtonCopy.vue.d.ts +13 -0
  101. package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -0
  102. package/dist/components/Button/WButtonCopy.vue.js +67 -0
  103. package/dist/components/Button/WButtonCopy.vue2.js +5 -0
  104. package/dist/components/Button/WButtonGroup.vue.d.ts +78 -0
  105. package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -0
  106. package/dist/components/Button/WButtonGroup.vue.js +59 -0
  107. package/dist/components/Button/WButtonGroup.vue2.js +5 -0
  108. package/dist/components/Button/WButtonMore.vue.d.ts +18 -0
  109. package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -0
  110. package/dist/components/Button/WButtonMore.vue.js +70 -0
  111. package/dist/components/Button/WButtonMore.vue2.js +5 -0
  112. package/dist/components/Button/WButtonMoreItem.vue.d.ts +51 -0
  113. package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -0
  114. package/dist/components/Button/WButtonMoreItem.vue.js +35 -0
  115. package/dist/components/Button/WButtonMoreItem.vue2.js +5 -0
  116. package/dist/components/Button/WButtonSelection.vue.d.ts +28 -0
  117. package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -0
  118. package/dist/components/Button/WButtonSelection.vue.js +56 -0
  119. package/dist/components/Button/WButtonSelection.vue2.js +5 -0
  120. package/dist/components/Button/WButtonSelectionAction.vue.d.ts +37 -0
  121. package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -0
  122. package/dist/components/Button/WButtonSelectionAction.vue.js +43 -0
  123. package/dist/components/Button/WButtonSelectionAction.vue2.js +5 -0
  124. package/dist/components/Button/models/semanticTypeStylesMap.d.ts +5 -0
  125. package/dist/components/Button/models/semanticTypeStylesMap.d.ts.map +1 -0
  126. package/dist/components/Button/models/semanticTypeStylesMap.js +24 -0
  127. package/dist/components/Checkbox/WCheckbox.vue.d.ts +72 -0
  128. package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -0
  129. package/dist/components/Checkbox/WCheckbox.vue.js +113 -0
  130. package/dist/components/Checkbox/WCheckbox.vue2.js +5 -0
  131. package/dist/components/Chip/WChip.vue.d.ts +31 -0
  132. package/dist/components/Chip/WChip.vue.d.ts.map +1 -0
  133. package/dist/components/Chip/WChip.vue.js +37 -0
  134. package/dist/components/Chip/WChip.vue2.js +5 -0
  135. package/dist/components/ClickOutside/WClickOutside.vue.d.ts +14 -0
  136. package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -0
  137. package/dist/components/ClickOutside/WClickOutside.vue.js +36 -0
  138. package/dist/components/ClickOutside/WClickOutside.vue2.js +5 -0
  139. package/dist/components/Counter/WCounter.vue.d.ts +29 -0
  140. package/dist/components/Counter/WCounter.vue.d.ts.map +1 -0
  141. package/dist/components/Counter/WCounter.vue.js +38 -0
  142. package/dist/components/Counter/WCounter.vue2.js +5 -0
  143. package/dist/components/DatePicker/WDatePicker.vue.d.ts +18 -0
  144. package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -0
  145. package/dist/components/DatePicker/WDatePicker.vue.js +131 -0
  146. package/dist/components/DatePicker/WDatePicker.vue2.js +5 -0
  147. package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +23 -0
  148. package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -0
  149. package/dist/components/DatePicker/WDatePickerSingle.vue.js +97 -0
  150. package/dist/components/DatePicker/WDatePickerSingle.vue2.js +5 -0
  151. package/dist/components/DatePicker/components/CalendarDay.vue.d.ts +64 -0
  152. package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -0
  153. package/dist/components/DatePicker/components/CalendarDay.vue.js +96 -0
  154. package/dist/components/DatePicker/components/CalendarDay.vue2.js +5 -0
  155. package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts +47 -0
  156. package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -0
  157. package/dist/components/DatePicker/components/CalendarMonth.vue.js +101 -0
  158. package/dist/components/DatePicker/components/CalendarMonth.vue2.js +5 -0
  159. package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts +19 -0
  160. package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts.map +1 -0
  161. package/dist/components/DatePicker/components/CalendarToggle.vue.js +48 -0
  162. package/dist/components/DatePicker/components/CalendarToggle.vue2.js +5 -0
  163. package/dist/components/DatePicker/components/CalendarValue.vue.d.ts +37 -0
  164. package/dist/components/DatePicker/components/CalendarValue.vue.d.ts.map +1 -0
  165. package/dist/components/DatePicker/components/CalendarValue.vue.js +45 -0
  166. package/dist/components/DatePicker/components/CalendarValue.vue2.js +5 -0
  167. package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts +50 -0
  168. package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -0
  169. package/dist/components/DatePicker/components/CalendarWeek.vue.js +79 -0
  170. package/dist/components/DatePicker/components/CalendarWeek.vue2.js +5 -0
  171. package/dist/components/DatePicker/models/types.d.ts +5 -0
  172. package/dist/components/DatePicker/models/types.d.ts.map +1 -0
  173. package/dist/components/Dropdown/WDropdown.vue.d.ts +67 -0
  174. package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -0
  175. package/dist/components/Dropdown/WDropdown.vue.js +116 -0
  176. package/dist/components/Dropdown/WDropdown.vue2.js +5 -0
  177. package/dist/components/Dropdown/utils/DropdownStyle.d.ts +21 -0
  178. package/dist/components/Dropdown/utils/DropdownStyle.d.ts.map +1 -0
  179. package/dist/components/Dropdown/utils/DropdownStyle.js +141 -0
  180. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +72 -0
  181. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -0
  182. package/dist/components/DropdownMenu/WDropdownMenu.vue.js +71 -0
  183. package/dist/components/DropdownMenu/WDropdownMenu.vue2.js +5 -0
  184. package/dist/components/Expansion/WExpansion.vue.d.ts +31 -0
  185. package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -0
  186. package/dist/components/Expansion/WExpansion.vue.js +41 -0
  187. package/dist/components/Expansion/WExpansion.vue2.js +5 -0
  188. package/dist/components/Expansion/WExpansionItem.vue.d.ts +46 -0
  189. package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -0
  190. package/dist/components/Expansion/WExpansionItem.vue.js +68 -0
  191. package/dist/components/Expansion/WExpansionItem.vue2.js +5 -0
  192. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +44 -0
  193. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -0
  194. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +38 -0
  195. package/dist/components/FieldWrapper/WFieldWrapper.vue2.js +5 -0
  196. package/dist/components/FilePicker/WFilePicker.vue.d.ts +74 -0
  197. package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -0
  198. package/dist/components/FilePicker/WFilePicker.vue.js +207 -0
  199. package/dist/components/FilePicker/WFilePicker.vue2.js +5 -0
  200. package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts +29 -0
  201. package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -0
  202. package/dist/components/FilePicker/components/FilePickerItem.vue.js +47 -0
  203. package/dist/components/FilePicker/components/FilePickerItem.vue2.js +5 -0
  204. package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts +33 -0
  205. package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -0
  206. package/dist/components/FilePicker/components/FilePickerSvg.vue.js +84 -0
  207. package/dist/components/FilePicker/components/FilePickerSvg.vue2.js +5 -0
  208. package/dist/components/Form/WForm.vue.d.ts +38 -0
  209. package/dist/components/Form/WForm.vue.d.ts.map +1 -0
  210. package/dist/components/Form/WForm.vue.js +59 -0
  211. package/dist/components/Form/WForm.vue2.js +5 -0
  212. package/dist/components/Form/WFormValidator.vue.d.ts +50 -0
  213. package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -0
  214. package/dist/components/Form/WFormValidator.vue.js +199 -0
  215. package/dist/components/Form/WFormValidator.vue2.js +5 -0
  216. package/dist/components/Form/models/injection.d.ts +9 -0
  217. package/dist/components/Form/models/injection.d.ts.map +1 -0
  218. package/dist/components/Form/models/injection.js +9 -0
  219. package/dist/components/Form/models/utils.d.ts +3 -0
  220. package/dist/components/Form/models/utils.d.ts.map +1 -0
  221. package/dist/components/Form/models/utils.js +19 -0
  222. package/dist/components/Form/use/useFormErrorMessageMap.d.ts +7 -0
  223. package/dist/components/Form/use/useFormErrorMessageMap.d.ts.map +1 -0
  224. package/dist/components/Form/use/useFormErrorMessageMap.js +31 -0
  225. package/dist/components/Form/use/useFormHasChangesMap.d.ts +6 -0
  226. package/dist/components/Form/use/useFormHasChangesMap.d.ts.map +1 -0
  227. package/dist/components/Form/use/useFormHasChangesMap.js +27 -0
  228. package/dist/components/Form/use/useFormInitModelMap.d.ts +6 -0
  229. package/dist/components/Form/use/useFormInitModelMap.d.ts.map +1 -0
  230. package/dist/components/Form/use/useFormInitModelMap.js +31 -0
  231. package/dist/components/Form/use/useFormInvalidateMap.d.ts +8 -0
  232. package/dist/components/Form/use/useFormInvalidateMap.d.ts.map +1 -0
  233. package/dist/components/Form/use/useFormInvalidateMap.js +31 -0
  234. package/dist/components/Form/use/useFormTitleMap.d.ts +6 -0
  235. package/dist/components/Form/use/useFormTitleMap.d.ts.map +1 -0
  236. package/dist/components/Form/use/useFormTitleMap.js +29 -0
  237. package/dist/components/Form/use/useFormValidateMap.d.ts +6 -0
  238. package/dist/components/Form/use/useFormValidateMap.d.ts.map +1 -0
  239. package/dist/components/Form/use/useFormValidateMap.js +32 -0
  240. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +51 -0
  241. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -0
  242. package/dist/components/HeaderBar/WHeaderBar.vue.js +134 -0
  243. package/dist/components/HeaderBar/WHeaderBar.vue2.js +5 -0
  244. package/dist/components/ImageViewer/WImageViewer.vue.d.ts +23 -0
  245. package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -0
  246. package/dist/components/ImageViewer/WImageViewer.vue.js +59 -0
  247. package/dist/components/ImageViewer/WImageViewer.vue2.js +5 -0
  248. package/dist/components/ImageViewer/components/ImageModal.vue.d.ts +23 -0
  249. package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -0
  250. package/dist/components/ImageViewer/components/ImageModal.vue.js +5 -0
  251. package/dist/components/ImageViewer/components/ImageModal.vue2.js +39 -0
  252. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +177 -0
  253. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -0
  254. package/dist/components/InfiniteList/WInfiniteList.vue.js +122 -0
  255. package/dist/components/InfiniteList/WInfiniteList.vue2.js +5 -0
  256. package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts +171 -0
  257. package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts.map +1 -0
  258. package/dist/components/InfiniteList/WInfiniteListPages.vue.js +229 -0
  259. package/dist/components/InfiniteList/WInfiniteListPages.vue2.js +5 -0
  260. package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts +7 -0
  261. package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts.map +1 -0
  262. package/dist/components/InfiniteList/components/InfiniteListButton.vue.js +26 -0
  263. package/dist/components/InfiniteList/components/InfiniteListButton.vue2.js +5 -0
  264. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +183 -0
  265. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -0
  266. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +236 -0
  267. package/dist/components/InfiniteList/components/InfiniteListPage.vue2.js +5 -0
  268. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts +57 -0
  269. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts.map +1 -0
  270. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.js +66 -0
  271. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue2.js +5 -0
  272. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts +21 -0
  273. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -0
  274. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.js +35 -0
  275. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue2.js +5 -0
  276. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts +29 -0
  277. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -0
  278. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.js +56 -0
  279. package/dist/components/InfiniteList/components/InfiniteListScroll.vue2.js +5 -0
  280. package/dist/components/InfiniteList/models/utils.d.ts +3 -0
  281. package/dist/components/InfiniteList/models/utils.d.ts.map +1 -0
  282. package/dist/components/InfiniteList/models/utils.js +13 -0
  283. package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +8 -0
  284. package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts.map +1 -0
  285. package/dist/components/InfiniteList/use/useInfiniteListHeader.js +61 -0
  286. package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts +5 -0
  287. package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts.map +1 -0
  288. package/dist/components/InfiniteList/use/useRefetchNextPages.js +31 -0
  289. package/dist/components/InfoCard/WInfoCard.vue.d.ts +24 -0
  290. package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -0
  291. package/dist/components/InfoCard/WInfoCard.vue.js +30 -0
  292. package/dist/components/InfoCard/WInfoCard.vue2.js +5 -0
  293. package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts +27 -0
  294. package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -0
  295. package/dist/components/InfoCard/WInfoCardNegative.vue.js +39 -0
  296. package/dist/components/InfoCard/WInfoCardNegative.vue2.js +5 -0
  297. package/dist/components/Input/WInput.vue.d.ts +218 -0
  298. package/dist/components/Input/WInput.vue.d.ts.map +1 -0
  299. package/dist/components/Input/WInput.vue.js +397 -0
  300. package/dist/components/Input/WInput.vue2.js +5 -0
  301. package/dist/components/Input/WInputAsync.vue.d.ts +126 -0
  302. package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -0
  303. package/dist/components/Input/WInputAsync.vue.js +195 -0
  304. package/dist/components/Input/WInputAsync.vue2.js +5 -0
  305. package/dist/components/Input/WInputDate.vue.d.ts +21 -0
  306. package/dist/components/Input/WInputDate.vue.d.ts.map +1 -0
  307. package/dist/components/Input/WInputDate.vue.js +62 -0
  308. package/dist/components/Input/WInputDate.vue2.js +5 -0
  309. package/dist/components/Input/WInputOptions.vue.d.ts +172 -0
  310. package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -0
  311. package/dist/components/Input/WInputOptions.vue.js +192 -0
  312. package/dist/components/Input/WInputOptions.vue2.js +5 -0
  313. package/dist/components/Input/WInputSuggest.vue.d.ts +206 -0
  314. package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -0
  315. package/dist/components/Input/WInputSuggest.vue.js +191 -0
  316. package/dist/components/Input/WInputSuggest.vue2.js +5 -0
  317. package/dist/components/Input/components/InputActions.vue.d.ts +62 -0
  318. package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -0
  319. package/dist/components/Input/components/InputActions.vue.js +114 -0
  320. package/dist/components/Input/components/InputActions.vue2.js +5 -0
  321. package/dist/components/Link/WLink.vue.d.ts +66 -0
  322. package/dist/components/Link/WLink.vue.d.ts.map +1 -0
  323. package/dist/components/Link/WLink.vue.js +51 -0
  324. package/dist/components/Link/WLink.vue2.js +5 -0
  325. package/dist/components/Link/WLinkArrow.vue.d.ts +27 -0
  326. package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -0
  327. package/dist/components/Link/WLinkArrow.vue.js +29 -0
  328. package/dist/components/Link/WLinkArrow.vue2.js +5 -0
  329. package/dist/components/ListCard/WListCard.vue.d.ts +53 -0
  330. package/dist/components/ListCard/WListCard.vue.d.ts.map +1 -0
  331. package/dist/components/ListCard/WListCard.vue.js +70 -0
  332. package/dist/components/ListCard/WListCard.vue2.js +5 -0
  333. package/dist/components/ListCard/WListCardField.vue.d.ts +25 -0
  334. package/dist/components/ListCard/WListCardField.vue.d.ts.map +1 -0
  335. package/dist/components/ListCard/WListCardField.vue.js +46 -0
  336. package/dist/components/ListCard/WListCardField.vue2.js +5 -0
  337. package/dist/components/MenuItem/WMenuItem.vue.d.ts +37 -0
  338. package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -0
  339. package/dist/components/MenuItem/WMenuItem.vue.js +30 -0
  340. package/dist/components/MenuItem/WMenuItem.vue2.js +5 -0
  341. package/dist/components/Modal/WModal.vue.d.ts +3 -0
  342. package/dist/components/Modal/WModal.vue.d.ts.map +1 -0
  343. package/dist/components/Modal/WModal.vue.js +123 -0
  344. package/dist/components/Modal/WModal.vue2.js +5 -0
  345. package/dist/components/Modal/WModalStepper.vue.d.ts +41 -0
  346. package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -0
  347. package/dist/components/Modal/WModalStepper.vue.js +121 -0
  348. package/dist/components/Modal/WModalStepper.vue2.js +5 -0
  349. package/dist/components/Modal/WModalWrapper.vue.d.ts +21 -0
  350. package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -0
  351. package/dist/components/Modal/WModalWrapper.vue.js +39 -0
  352. package/dist/components/Modal/WModalWrapper.vue2.js +5 -0
  353. package/dist/components/Modal/components/ModalCloseButton.vue.d.ts +7 -0
  354. package/dist/components/Modal/components/ModalCloseButton.vue.d.ts.map +1 -0
  355. package/dist/components/Modal/components/ModalCloseButton.vue.js +23 -0
  356. package/dist/components/Modal/components/ModalCloseButton.vue2.js +5 -0
  357. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts +76 -0
  358. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -0
  359. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.js +5 -0
  360. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +112 -0
  361. package/dist/components/Modal/modals/Confirm/types.d.ts +14 -0
  362. package/dist/components/Modal/modals/Confirm/types.d.ts.map +1 -0
  363. package/dist/components/Nav/WNavBar.vue.d.ts +14 -0
  364. package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -0
  365. package/dist/components/Nav/WNavBar.vue.js +69 -0
  366. package/dist/components/Nav/WNavBar.vue2.js +5 -0
  367. package/dist/components/Nav/WNavItem.vue.d.ts +69 -0
  368. package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -0
  369. package/dist/components/Nav/WNavItem.vue.js +86 -0
  370. package/dist/components/Nav/WNavItem.vue2.js +5 -0
  371. package/dist/components/Nav/WNavItemExpand.vue.d.ts +46 -0
  372. package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -0
  373. package/dist/components/Nav/WNavItemExpand.vue.js +66 -0
  374. package/dist/components/Nav/WNavItemExpand.vue2.js +5 -0
  375. package/dist/components/Nav/WNavItemTransition.vue.d.ts +10 -0
  376. package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -0
  377. package/dist/components/Nav/WNavItemTransition.vue.js +23 -0
  378. package/dist/components/Notify/WNotify.vue.d.ts +3 -0
  379. package/dist/components/Notify/WNotify.vue.d.ts.map +1 -0
  380. package/dist/components/Notify/WNotify.vue.js +70 -0
  381. package/dist/components/Notify/WNotify.vue2.js +5 -0
  382. package/dist/components/Notify/components/NotifyCard.vue.d.ts +53 -0
  383. package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -0
  384. package/dist/components/Notify/components/NotifyCard.vue.js +111 -0
  385. package/dist/components/Notify/components/NotifyCard.vue2.js +5 -0
  386. package/dist/components/Notify/models/NotifyType.d.ts +6 -0
  387. package/dist/components/Notify/models/NotifyType.d.ts.map +1 -0
  388. package/dist/components/Notify/models/NotifyType.js +8 -0
  389. package/dist/components/Notify/models/types.d.ts +11 -0
  390. package/dist/components/Notify/models/types.d.ts.map +1 -0
  391. package/dist/components/Select/WSelect.vue.d.ts +187 -0
  392. package/dist/components/Select/WSelect.vue.d.ts.map +1 -0
  393. package/dist/components/Select/WSelect.vue.js +318 -0
  394. package/dist/components/Select/WSelect.vue2.js +5 -0
  395. package/dist/components/Select/WSelectAsync.vue.d.ts +201 -0
  396. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -0
  397. package/dist/components/Select/WSelectAsync.vue.js +210 -0
  398. package/dist/components/Select/WSelectAsync.vue2.js +5 -0
  399. package/dist/components/Select/WSelectAsyncList.vue.d.ts +105 -0
  400. package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -0
  401. package/dist/components/Select/WSelectAsyncList.vue.js +76 -0
  402. package/dist/components/Select/WSelectAsyncList.vue2.js +5 -0
  403. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +185 -0
  404. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -0
  405. package/dist/components/Select/WSelectAsyncSingle.vue.js +110 -0
  406. package/dist/components/Select/WSelectAsyncSingle.vue2.js +5 -0
  407. package/dist/components/Select/WSelectSingle.vue.d.ts +177 -0
  408. package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -0
  409. package/dist/components/Select/WSelectSingle.vue.js +106 -0
  410. package/dist/components/Select/WSelectSingle.vue2.js +5 -0
  411. package/dist/components/Select/components/SelectAsyncList.vue.d.ts +133 -0
  412. package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -0
  413. package/dist/components/Select/components/SelectAsyncList.vue.js +193 -0
  414. package/dist/components/Select/components/SelectAsyncList.vue2.js +5 -0
  415. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts +97 -0
  416. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -0
  417. package/dist/components/Select/components/SelectAsyncPrefix.vue.js +72 -0
  418. package/dist/components/Select/components/SelectAsyncPrefix.vue2.js +5 -0
  419. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts +97 -0
  420. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -0
  421. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +89 -0
  422. package/dist/components/Select/components/SelectAsyncPrefixPage.vue2.js +5 -0
  423. package/dist/components/Select/components/SelectOption.vue.d.ts +104 -0
  424. package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -0
  425. package/dist/components/Select/components/SelectOption.vue.js +112 -0
  426. package/dist/components/Select/components/SelectOption.vue2.js +5 -0
  427. package/dist/components/Skeleton/WSkeleton.vue.d.ts +3 -0
  428. package/dist/components/Skeleton/WSkeleton.vue.d.ts.map +1 -0
  429. package/dist/components/Skeleton/WSkeleton.vue.js +14 -0
  430. package/dist/components/Spinner/WSpinner.vue.d.ts +3 -0
  431. package/dist/components/Spinner/WSpinner.vue.d.ts.map +1 -0
  432. package/dist/components/Spinner/WSpinner.vue.js +33 -0
  433. package/dist/components/Tabs/WTabs.vue.d.ts +39 -0
  434. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -0
  435. package/dist/components/Tabs/WTabs.vue.js +210 -0
  436. package/dist/components/Tabs/WTabs.vue2.js +5 -0
  437. package/dist/components/Tabs/WTabsColumns.vue.d.ts +13 -0
  438. package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -0
  439. package/dist/components/Tabs/WTabsColumns.vue.js +33 -0
  440. package/dist/components/Tabs/WTabsColumns.vue2.js +5 -0
  441. package/dist/components/Tabs/components/TabItem.vue.d.ts +26 -0
  442. package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -0
  443. package/dist/components/Tabs/components/TabItem.vue.js +42 -0
  444. package/dist/components/Tabs/components/TabItem.vue2.js +5 -0
  445. package/dist/components/Tabs/models/injection.d.ts +4 -0
  446. package/dist/components/Tabs/models/injection.d.ts.map +1 -0
  447. package/dist/components/Tabs/models/injection.js +4 -0
  448. package/dist/components/Tabs/use/useTabActiveListener.d.ts +2 -0
  449. package/dist/components/Tabs/use/useTabActiveListener.d.ts.map +1 -0
  450. package/dist/components/Tabs/use/useTabActiveListener.js +15 -0
  451. package/dist/components/Tabs/use/useTabItemActiveListener.d.ts +4 -0
  452. package/dist/components/Tabs/use/useTabItemActiveListener.d.ts.map +1 -0
  453. package/dist/components/Tabs/use/useTabItemActiveListener.js +28 -0
  454. package/dist/components/Toggle/WToggle.vue.d.ts +69 -0
  455. package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -0
  456. package/dist/components/Toggle/WToggle.vue.js +94 -0
  457. package/dist/components/Toggle/WToggle.vue2.js +5 -0
  458. package/dist/components/Tooltip/WTooltip.vue.d.ts +35 -0
  459. package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -0
  460. package/dist/components/Tooltip/WTooltip.vue.js +67 -0
  461. package/dist/components/Tooltip/WTooltip.vue2.js +5 -0
  462. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +3 -0
  463. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -0
  464. package/dist/components/Tooltip/WTooltipContainer.vue.js +152 -0
  465. package/dist/components/Tooltip/WTooltipContainer.vue2.js +5 -0
  466. package/dist/components/Tooltip/models/utils.d.ts +2 -0
  467. package/dist/components/Tooltip/models/utils.d.ts.map +1 -0
  468. package/dist/components/Tooltip/models/utils.js +6 -0
  469. package/dist/imports/componentsPlugin.d.ts +66 -0
  470. package/dist/imports/componentsPlugin.d.ts.map +1 -0
  471. package/dist/imports/iconsDefault.d.ts +27 -0
  472. package/dist/imports/iconsDefault.d.ts.map +1 -0
  473. package/dist/imports/iconsDefault.js +26 -0
  474. package/dist/imports/iconsSax.d.ts +59 -0
  475. package/dist/imports/iconsSax.d.ts.map +1 -0
  476. package/dist/imports/iconsSax.js +58 -0
  477. package/dist/main.d.ts +12 -0
  478. package/dist/main.d.ts.map +1 -0
  479. package/dist/main.js +71 -0
  480. package/dist/types/global.d.ts +48 -0
  481. package/dist/utils/DOMListenerContainer.d.ts +8 -0
  482. package/dist/utils/DOMListenerContainer.d.ts.map +1 -0
  483. package/dist/utils/DOMListenerContainer.js +39 -0
  484. package/dist/utils/HorizontalAlign.d.ts +9 -0
  485. package/dist/utils/HorizontalAlign.d.ts.map +1 -0
  486. package/dist/utils/HorizontalAlign.js +11 -0
  487. package/dist/utils/Modal.d.ts +10 -0
  488. package/dist/utils/Modal.d.ts.map +1 -0
  489. package/dist/utils/Modal.js +25 -0
  490. package/dist/utils/Notify.d.ts +8 -0
  491. package/dist/utils/Notify.d.ts.map +1 -0
  492. package/dist/utils/Notify.js +19 -0
  493. package/dist/utils/SemanticType.d.ts +9 -0
  494. package/dist/utils/SemanticType.d.ts.map +1 -0
  495. package/dist/utils/SemanticType.js +11 -0
  496. package/dist/utils/Tooltip.d.ts +15 -0
  497. package/dist/utils/Tooltip.d.ts.map +1 -0
  498. package/dist/utils/Tooltip.js +14 -0
  499. package/dist/utils/dateTime.d.ts +44 -0
  500. package/dist/utils/dateTime.d.ts.map +1 -0
  501. package/dist/utils/dateTime.js +187 -0
  502. package/dist/utils/mobile.d.ts +3 -0
  503. package/dist/utils/mobile.d.ts.map +1 -0
  504. package/dist/utils/mobile.js +10 -0
  505. package/dist/utils/supportsPassive.d.ts +2 -0
  506. package/dist/utils/supportsPassive.d.ts.map +1 -0
  507. package/dist/utils/supportsPassive.js +15 -0
  508. package/dist/utils/utils.d.ts +14 -0
  509. package/dist/utils/utils.d.ts.map +1 -0
  510. package/dist/utils/utils.js +61 -0
  511. package/package.json +281 -0
  512. package/tailwind-base/index.cjs +103 -0
  513. package/tailwind-base/plugins/default.cjs +456 -0
  514. package/tailwind-base/theme/animations.cjs +88 -0
  515. package/tailwind-base/theme/score.cjs +31 -0
  516. package/tailwind-base/theme/severity.cjs +32 -0
  517. package/tailwind-base/theme/sizes.cjs +23 -0
@@ -0,0 +1,236 @@
1
+ import { defineComponent, ref, toRef, computed, watch, onMounted, nextTick, openBlock, createElementBlock, unref, Fragment, createElementVNode, normalizeClass, createBlock, createCommentVNode, TransitionGroup, withCtx, renderList, renderSlot, toDisplayString } from 'vue';
2
+ import _sfc_main$2 from './InfiniteListPageTitle.vue.js';
3
+ import _sfc_main$1 from './InfiniteListPageSelection.vue.js';
4
+
5
+ const _hoisted_1 = { class: "[overflow:inherit]" };
6
+ const _hoisted_2 = { class: "select-none cursor-default w-select-field sm-not:px-3" };
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
+ __name: "InfiniteListPage",
9
+ props: {
10
+ queryParams: {},
11
+ useQueryFn: {},
12
+ isInvalidPage: {},
13
+ skeletonLength: {},
14
+ firstPage: { type: Boolean },
15
+ lastPage: { type: Boolean },
16
+ hidePageTitle: { type: Boolean },
17
+ selected: { default: void 0 },
18
+ wrap: { type: Boolean },
19
+ noGap: { type: Boolean },
20
+ transition: { type: Boolean },
21
+ resetting: { type: Boolean },
22
+ emptyStub: { default: "Nothing to show" },
23
+ selectOnly: { type: Boolean },
24
+ unselectOnly: { type: Boolean },
25
+ reverseSelection: { type: Boolean },
26
+ allowPageSelection: { type: Boolean },
27
+ minHeight: { type: Boolean },
28
+ pageClass: { default: void 0 }
29
+ },
30
+ emits: ["update:count", "update:pagesCount", "update:nextPage", "update:previousPage", "update:scroll", "error:invalidPage", "refetch", "update-from-header:scroll", "update:selected", "fetched"],
31
+ setup(__props, { expose: __expose, emit }) {
32
+ const props = __props;
33
+ const element = ref();
34
+ const { data, error, setData, refetch, isFetching } = props.useQueryFn(toRef(props, "queryParams"));
35
+ const count = computed(() => data.value?.count);
36
+ const pagesCount = computed(() => data.value?.pages_count);
37
+ const nextPage = computed(() => data.value?.next);
38
+ const previousPage = computed(() => data.value?.previous);
39
+ const setItem = (index, newItem) => {
40
+ if (!data.value)
41
+ return;
42
+ const newData = {
43
+ ...data.value,
44
+ results: [...data.value.results]
45
+ };
46
+ if (newItem)
47
+ newData.results.splice(index, 1, newItem);
48
+ else
49
+ newData.results.splice(index, 1);
50
+ setData(newData);
51
+ };
52
+ const emitRefetch = () => {
53
+ emit("refetch");
54
+ };
55
+ const refetchPage = async () => {
56
+ await refetch();
57
+ if (props.lastPage && nextPage.value !== void 0)
58
+ emit("update:nextPage", nextPage.value);
59
+ if (props.firstPage && previousPage.value !== void 0)
60
+ emit("update:previousPage", previousPage.value);
61
+ };
62
+ const getFirst = () => {
63
+ if (!data.value)
64
+ return void 0;
65
+ return data.value.results[0];
66
+ };
67
+ const getLast = () => {
68
+ if (!data.value)
69
+ return void 0;
70
+ return data.value.results[data.value.results.length - 1];
71
+ };
72
+ watch(count, (value) => {
73
+ if (value !== void 0)
74
+ emit("update:count", value);
75
+ }, { immediate: true });
76
+ watch(pagesCount, (value) => {
77
+ if (value)
78
+ emit("update:pagesCount", value);
79
+ }, { immediate: true });
80
+ watch(nextPage, (value) => {
81
+ if (props.lastPage && value !== void 0)
82
+ emit("update:nextPage", value);
83
+ }, { immediate: true });
84
+ watch(previousPage, (value) => {
85
+ if (props.firstPage && value !== void 0)
86
+ emit("update:previousPage", value);
87
+ }, { immediate: true });
88
+ watch(error, (error2) => {
89
+ if (props.isInvalidPage(error2))
90
+ emit("error:invalidPage", props.queryParams.page);
91
+ }, { immediate: true });
92
+ watch(isFetching, (value) => {
93
+ if (value)
94
+ return;
95
+ emit("fetched");
96
+ });
97
+ let height = 0;
98
+ onMounted(() => {
99
+ height = element.value?.getBoundingClientRect()?.height ?? 0;
100
+ if (height === 0)
101
+ return;
102
+ if (!props.firstPage)
103
+ return;
104
+ if (props.lastPage) {
105
+ if (props.queryParams.page !== 1)
106
+ nextTick().then(() => emit("update-from-header:scroll"));
107
+ return;
108
+ }
109
+ emit("update:scroll", height);
110
+ });
111
+ watch(data, async (_, oldValue) => {
112
+ if (oldValue)
113
+ return;
114
+ await nextTick();
115
+ const newHeight = (element.value?.getBoundingClientRect().height ?? 0) - height;
116
+ if (newHeight === 0)
117
+ return;
118
+ if (!props.firstPage)
119
+ return;
120
+ if (props.lastPage)
121
+ return;
122
+ emit("update:scroll", newHeight);
123
+ });
124
+ __expose({
125
+ getFirst,
126
+ getLast,
127
+ refetch: refetchPage
128
+ });
129
+ return (_ctx, _cache) => {
130
+ return openBlock(), createElementBlock("div", {
131
+ ref_key: "element",
132
+ ref: element,
133
+ class: "relative"
134
+ }, [
135
+ _ctx.queryParams.page && unref(data)?.results.length !== 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
136
+ createElementVNode("div", {
137
+ class: normalizeClass(["flex", {
138
+ "sm:pt-4": (_ctx.selected === void 0 || !_ctx.allowPageSelection) && _ctx.hidePageTitle && !_ctx.noGap
139
+ }])
140
+ }, [
141
+ _ctx.selected !== void 0 && _ctx.allowPageSelection ? (openBlock(), createBlock(_sfc_main$1, {
142
+ key: 0,
143
+ selected: _ctx.selected,
144
+ items: unref(data)?.results ?? [],
145
+ disabled: !unref(data)?.results,
146
+ "tooltip-text-persisted": _ctx.hidePageTitle,
147
+ "select-only": _ctx.selectOnly,
148
+ "unselect-only": _ctx.unselectOnly,
149
+ reverse: _ctx.reverseSelection,
150
+ class: "sm:w-list-row-item sm-not:px-[calc(var(--inner-margin)-2px)] pb-4 pt-6",
151
+ "onUpdate:selected": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:selected", $event))
152
+ }, null, 8, ["selected", "items", "disabled", "tooltip-text-persisted", "select-only", "unselect-only", "reverse"])) : createCommentVNode("", true),
153
+ !_ctx.hidePageTitle ? (openBlock(), createBlock(_sfc_main$2, {
154
+ key: 1,
155
+ "query-params": _ctx.queryParams,
156
+ class: "pb-4 pt-6"
157
+ }, null, 8, ["query-params"])) : createCommentVNode("", true)
158
+ ], 2),
159
+ createElementVNode("div", {
160
+ class: normalizeClass(_ctx.pageClass)
161
+ }, [
162
+ unref(data)?.results ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
163
+ _ctx.transition ? (openBlock(), createBlock(TransitionGroup, {
164
+ key: 0,
165
+ "enter-active-class": "transition-[grid-template-rows] overflow-hidden grid",
166
+ "enter-from-class": "grid-rows-[0fr]",
167
+ "enter-to-class": "grid-rows-[1fr]",
168
+ "leave-active-class": "transition-[grid-template-rows] overflow-hidden grid",
169
+ "leave-from-class": "grid-rows-[1fr]",
170
+ "leave-to-class": "grid-rows-[0fr]",
171
+ css: !_ctx.resetting
172
+ }, {
173
+ default: withCtx(() => [
174
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(data).results, (item, index) => {
175
+ return openBlock(), createElementBlock("div", {
176
+ key: item.id,
177
+ class: "w-full group"
178
+ }, [
179
+ createElementVNode("div", _hoisted_1, [
180
+ renderSlot(_ctx.$slots, "default", {
181
+ item,
182
+ setter: (newItem) => setItem(index, newItem),
183
+ refetch: emitRefetch,
184
+ skeleton: false,
185
+ next: unref(data)?.results[index + 1],
186
+ previous: unref(data)?.results[index - 1],
187
+ first: _ctx.firstPage && index === 0,
188
+ last: _ctx.lastPage && index === unref(data).results.length - 1
189
+ })
190
+ ])
191
+ ]);
192
+ }), 128))
193
+ ]),
194
+ _: 3
195
+ }, 8, ["css"])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(data).results, (item, index) => {
196
+ return renderSlot(_ctx.$slots, "default", {
197
+ key: item.id,
198
+ item,
199
+ setter: (newItem) => setItem(index, newItem),
200
+ refetch: emitRefetch,
201
+ skeleton: false,
202
+ next: unref(data)?.results[index + 1],
203
+ previous: unref(data)?.results[index - 1],
204
+ first: _ctx.firstPage && index === 0,
205
+ last: _ctx.lastPage && index === unref(data).results.length - 1
206
+ });
207
+ }), 128))
208
+ ], 64)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.skeletonLength, (index) => {
209
+ return renderSlot(_ctx.$slots, "default", {
210
+ key: index,
211
+ item: { id: index },
212
+ setter: (newItem) => setItem(index, newItem),
213
+ refetch: emitRefetch,
214
+ skeleton: true,
215
+ next: void 0,
216
+ previous: void 0,
217
+ first: _ctx.firstPage && index === 1,
218
+ last: _ctx.lastPage && index === _ctx.skeletonLength
219
+ });
220
+ }), 128))
221
+ ], 2)
222
+ ], 64)) : (openBlock(), createElementBlock("div", {
223
+ key: 1,
224
+ class: normalizeClass(["text-accent text-base font-normal", {
225
+ "py-16 px-8 text-center flex justify-center": !_ctx.minHeight,
226
+ "pt-4 pb-2 px-[1.0625rem]": _ctx.minHeight
227
+ }])
228
+ }, [
229
+ createElementVNode("div", _hoisted_2, toDisplayString(_ctx.emptyStub), 1)
230
+ ], 2))
231
+ ], 512);
232
+ };
233
+ }
234
+ });
235
+
236
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './InfiniteListPage.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -0,0 +1,57 @@
1
+ declare const _default: <Data extends DefaultData>(__VLS_props: {
2
+ selected: number[];
3
+ items: Data[];
4
+ disabled?: boolean | undefined;
5
+ tooltipTextPersisted?: boolean | undefined;
6
+ selectOnly?: boolean | undefined;
7
+ unselectOnly?: boolean | undefined;
8
+ reverse?: boolean | undefined;
9
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: Pick<{
10
+ props: {
11
+ selected: number[];
12
+ items: Data[];
13
+ disabled?: boolean | undefined;
14
+ tooltipTextPersisted?: boolean | undefined;
15
+ selectOnly?: boolean | undefined;
16
+ unselectOnly?: boolean | undefined;
17
+ reverse?: boolean | undefined;
18
+ };
19
+ expose(exposed: {}): void;
20
+ attrs: any;
21
+ slots: {};
22
+ emit: (e: 'update:selected', values: number[]) => void;
23
+ }, "attrs" | "slots" | "emit"> | undefined, __VLS_setup?: {
24
+ props: {
25
+ selected: number[];
26
+ items: Data[];
27
+ disabled?: boolean | undefined;
28
+ tooltipTextPersisted?: boolean | undefined;
29
+ selectOnly?: boolean | undefined;
30
+ unselectOnly?: boolean | undefined;
31
+ reverse?: boolean | undefined;
32
+ };
33
+ expose(exposed: {}): void;
34
+ attrs: any;
35
+ slots: {};
36
+ emit: (e: 'update:selected', values: number[]) => void;
37
+ }) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
38
+ [key: string]: any;
39
+ }> & {
40
+ __ctx?: {
41
+ props: {
42
+ selected: number[];
43
+ items: Data[];
44
+ disabled?: boolean | undefined;
45
+ tooltipTextPersisted?: boolean | undefined;
46
+ selectOnly?: boolean | undefined;
47
+ unselectOnly?: boolean | undefined;
48
+ reverse?: boolean | undefined;
49
+ };
50
+ expose(exposed: {}): void;
51
+ attrs: any;
52
+ slots: {};
53
+ emit: (e: 'update:selected', values: number[]) => void;
54
+ } | undefined;
55
+ };
56
+ export default _default;
57
+ //# sourceMappingURL=InfiniteListPageSelection.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfiniteListPageSelection.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/InfiniteList/components/InfiniteListPageSelection.vue.ts"],"names":[],"mappings":";cAsIY,MAAM,EAAE;;;;;;;;;kBAAR,MAAM,EAAE;;;;;;;;yBAamB,IAAI;WACpC,GAAG;;cALJ,iBAAiB,UAAU,MAAM,EAAE,KAAG,IAAI;;;kBATpC,MAAM,EAAE;;;;;;;;yBAamB,IAAI;WACpC,GAAG;;cALJ,iBAAiB,UAAU,MAAM,EAAE,KAAG,IAAI;;;;;;sBATpC,MAAM,EAAE;;;;;;;;6BAamB,IAAI;eACpC,GAAG;;kBALJ,iBAAiB,UAAU,MAAM,EAAE,KAAG,IAAI;;;AA1IhD,wBAmJkE"}
@@ -0,0 +1,66 @@
1
+ import { defineComponent, computed, openBlock, createBlock, withCtx, createTextVNode, toDisplayString } from 'vue';
2
+ import _sfc_main$1 from '../../Checkbox/WCheckbox.vue.js';
3
+
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "InfiniteListPageSelection",
6
+ props: {
7
+ selected: {},
8
+ items: {},
9
+ disabled: { type: Boolean },
10
+ tooltipTextPersisted: { type: Boolean },
11
+ selectOnly: { type: Boolean },
12
+ unselectOnly: { type: Boolean },
13
+ reverse: { type: Boolean }
14
+ },
15
+ emits: ["update:selected"],
16
+ setup(__props, { emit }) {
17
+ const props = __props;
18
+ const ids = computed(() => props.items.map((item) => item.id));
19
+ const selectedItems = computed(() => ids.value.filter((id) => props.selected.includes(id)));
20
+ const hasSelected = computed(() => selectedItems.value.length !== 0);
21
+ const chekboxValue = computed(() => {
22
+ if (props.selectOnly)
23
+ return false;
24
+ if (props.unselectOnly)
25
+ return true;
26
+ if (selectedItems.value.length === props.items.length) {
27
+ return hasSelected.value;
28
+ } else {
29
+ return hasSelected.value ? null : false;
30
+ }
31
+ });
32
+ const chekboxValueReversed = computed(() => props.disabled ? false : chekboxValue.value === null ? null : props.reverse ? !chekboxValue.value : chekboxValue.value);
33
+ const tooltipText = computed(() => `${chekboxValueReversed.value === true ? "Unselect" : "Select"} page (${props.items.length} item${props.items.length === 1 ? "" : "s"})`);
34
+ const selectOrUnselect = (isSelect) => {
35
+ if (props.reverse ? !isSelect : isSelect) {
36
+ emit("update:selected", [...props.selected, ...ids.value].filter((id, index, arr) => arr.indexOf(id) === index));
37
+ } else {
38
+ emit("update:selected", props.selected.filter((id) => !ids.value.includes(id)));
39
+ }
40
+ };
41
+ return (_ctx, _cache) => {
42
+ return _ctx.tooltipTextPersisted ? (openBlock(), createBlock(_sfc_main$1, {
43
+ key: 0,
44
+ "model-value": chekboxValueReversed.value,
45
+ disabled: _ctx.disabled,
46
+ intermediate: "",
47
+ class: "w-full",
48
+ "onUpdate:modelValue": selectOrUnselect
49
+ }, {
50
+ default: withCtx(() => [
51
+ createTextVNode(toDisplayString(tooltipText.value), 1)
52
+ ]),
53
+ _: 1
54
+ }, 8, ["model-value", "disabled"])) : (openBlock(), createBlock(_sfc_main$1, {
55
+ key: 1,
56
+ "model-value": chekboxValueReversed.value,
57
+ disabled: _ctx.disabled,
58
+ "tooltip-text": tooltipText.value,
59
+ intermediate: "",
60
+ "onUpdate:modelValue": selectOrUnselect
61
+ }, null, 8, ["model-value", "disabled", "tooltip-text"]));
62
+ };
63
+ }
64
+ });
65
+
66
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './InfiniteListPageSelection.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -0,0 +1,21 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ queryParams: {
3
+ type: import("vue").PropType<Partial<Record<string, string | number> & {
4
+ page?: number | undefined;
5
+ }>>;
6
+ required: true;
7
+ };
8
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:selected": (value: boolean) => void;
10
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ queryParams: {
12
+ type: import("vue").PropType<Partial<Record<string, string | number> & {
13
+ page?: number | undefined;
14
+ }>>;
15
+ required: true;
16
+ };
17
+ }>> & {
18
+ "onUpdate:selected"?: ((value: boolean) => any) | undefined;
19
+ }, {}, {}>;
20
+ export default _default;
21
+ //# sourceMappingURL=InfiniteListPageTitle.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfiniteListPageTitle.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/InfiniteList/components/InfiniteListPageTitle.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAuFA,wBAAkD"}
@@ -0,0 +1,35 @@
1
+ import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, createTextVNode, toDisplayString } from 'vue';
2
+ import { useRoute, useRouter } from 'vue-router';
3
+ import { Notify } from '../../../utils/Notify.js';
4
+
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "InfiniteListPageTitle",
7
+ props: {
8
+ queryParams: {}
9
+ },
10
+ emits: ["update:selected"],
11
+ setup(__props) {
12
+ const props = __props;
13
+ const route = useRoute();
14
+ const router = useRouter();
15
+ const copyRoute = () => {
16
+ navigator.clipboard.writeText(location.origin + router.resolve({ query: props.queryParams, hash: route.hash }).href).then(() => Notify.success({ title: "Page url copied" }));
17
+ };
18
+ return (_ctx, _cache) => {
19
+ const _component_RouterLink = resolveComponent("RouterLink");
20
+ return openBlock(), createBlock(_component_RouterLink, {
21
+ class: "block text-description text-base font-normal no-underline hover:underline sm-not:first:-mx--inner-margin",
22
+ to: { query: _ctx.queryParams, hash: _ctx.$route.hash },
23
+ replace: "",
24
+ onClick: copyRoute
25
+ }, {
26
+ default: withCtx(() => [
27
+ createTextVNode(" Page: " + toDisplayString(_ctx.queryParams.page), 1)
28
+ ]),
29
+ _: 1
30
+ }, 8, ["to"]);
31
+ };
32
+ }
33
+ });
34
+
35
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './InfiniteListPageTitle.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -0,0 +1,29 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ scrollingElement: {
3
+ type: import("vue").PropType<Element | null>;
4
+ required: true;
5
+ };
6
+ }, {
7
+ checkIsScrollUp: () => void;
8
+ checkIsScrollDown: () => void;
9
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "scroll:up": () => void;
11
+ "scroll:down": () => void;
12
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ scrollingElement: {
14
+ type: import("vue").PropType<Element | null>;
15
+ required: true;
16
+ };
17
+ }>> & {
18
+ "onScroll:up"?: (() => any) | undefined;
19
+ "onScroll:down"?: (() => any) | undefined;
20
+ }, {}, {}>, {
21
+ default?(_: {}): any;
22
+ }>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
29
+ //# sourceMappingURL=InfiniteListScroll.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InfiniteListScroll.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/InfiniteList/components/InfiniteListScroll.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA+HA,wBAA8G;AAmB9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { defineComponent, computed, watch, onMounted, onUnmounted, openBlock, createElementBlock, renderSlot } from 'vue';
2
+ import { getIsScrollUp, getIsScrollDown } from '../models/utils.js';
3
+
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "InfiniteListScroll",
6
+ props: {
7
+ scrollingElement: {}
8
+ },
9
+ emits: ["scroll:up", "scroll:down"],
10
+ setup(__props, { expose: __expose, emit }) {
11
+ const props = __props;
12
+ const element = computed(() => props.scrollingElement ?? document);
13
+ const listener = (event) => {
14
+ if (event.target !== element.value)
15
+ return;
16
+ if (getIsScrollUp(props.scrollingElement ?? document.scrollingElement)) {
17
+ emit("scroll:up");
18
+ return;
19
+ }
20
+ if (getIsScrollDown(props.scrollingElement ?? document.scrollingElement)) {
21
+ emit("scroll:down");
22
+ }
23
+ };
24
+ const checkIsScrollUp = () => {
25
+ if (getIsScrollDown(props.scrollingElement ?? document.scrollingElement)) {
26
+ emit("scroll:down");
27
+ }
28
+ };
29
+ const checkIsScrollDown = () => {
30
+ if (getIsScrollDown(props.scrollingElement ?? document.scrollingElement)) {
31
+ emit("scroll:down");
32
+ }
33
+ };
34
+ watch(element, (newValue, oldValue) => {
35
+ oldValue?.removeEventListener("scroll", listener);
36
+ newValue?.addEventListener("scroll", listener);
37
+ }, { immediate: true });
38
+ onMounted(() => {
39
+ emit("scroll:up");
40
+ });
41
+ onUnmounted(() => {
42
+ element.value.removeEventListener("scroll", listener);
43
+ });
44
+ __expose({
45
+ checkIsScrollUp,
46
+ checkIsScrollDown
47
+ });
48
+ return (_ctx, _cache) => {
49
+ return openBlock(), createElementBlock("div", null, [
50
+ renderSlot(_ctx.$slots, "default")
51
+ ]);
52
+ };
53
+ }
54
+ });
55
+
56
+ export { _sfc_main as default };
@@ -0,0 +1,5 @@
1
+ import _sfc_main from './InfiniteListScroll.vue.js';
2
+
3
+
4
+
5
+ export { _sfc_main as default };
@@ -0,0 +1,3 @@
1
+ export declare const getIsScrollUp: (element: Element | null) => boolean;
2
+ export declare const getIsScrollDown: (element: Element | null) => boolean;
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/InfiniteList/models/utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,YAAa,OAAO,GAAG,IAAI,KAAG,OAIvD,CAAA;AAED,eAAO,MAAM,eAAe,YAAa,OAAO,GAAG,IAAI,KAAG,OAIzD,CAAA"}
@@ -0,0 +1,13 @@
1
+ const TRIGGER_FACTOR = 200;
2
+ const getIsScrollUp = (element) => {
3
+ if (!element)
4
+ return false;
5
+ return element.scrollTop < TRIGGER_FACTOR;
6
+ };
7
+ const getIsScrollDown = (element) => {
8
+ if (!element)
9
+ return false;
10
+ return element.scrollTop > element.scrollHeight - element.clientHeight - TRIGGER_FACTOR;
11
+ };
12
+
13
+ export { getIsScrollDown, getIsScrollUp };
@@ -0,0 +1,8 @@
1
+ export declare const useInfiniteListHeader: (scrollingElement?: Element | null) => {
2
+ indicator: import("vue").Ref<HTMLDivElement | undefined>;
3
+ header: import("vue").Ref<HTMLDivElement | undefined>;
4
+ headerHeight: import("vue").Ref<number>;
5
+ headerTop: import("vue").Ref<number>;
6
+ isIntersecting: import("vue").Ref<boolean>;
7
+ };
8
+ //# sourceMappingURL=useInfiniteListHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useInfiniteListHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/InfiniteList/use/useInfiniteListHeader.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,qBAAqB,sBAAsB,OAAO,GAAG,IAAI;;;;;;CAgDrE,CAAA"}
@@ -0,0 +1,61 @@
1
+ import { ref, onMounted, onBeforeUnmount } from 'vue';
2
+ import '../../Button/WButton.vue.js';
3
+ import '../../Button/WButtonAction.vue.js';
4
+ import { isClientSide } from '../../../utils/utils.js';
5
+ import '../../../utils/supportsPassive.js';
6
+ import '../../Dropdown/utils/DropdownStyle.js';
7
+ import 'vue-router';
8
+ import '../../../utils/Modal.js';
9
+ import '../../Link/WLink.vue.js';
10
+
11
+ const headerElementHeight = 60;
12
+ const observerOptions = {
13
+ root: null,
14
+ rootMargin: `-${headerElementHeight}px 100% 0px 0px`,
15
+ threshold: 1
16
+ };
17
+ const useInfiniteListHeader = (scrollingElement = document.scrollingElement) => {
18
+ const indicator = ref();
19
+ const header = ref();
20
+ const headerHeight = ref(0);
21
+ const headerTop = ref(0);
22
+ const isIntersecting = ref(true);
23
+ let observer = null;
24
+ let isFirst = true;
25
+ const observerCb = (entries) => {
26
+ if (isFirst) {
27
+ isFirst = false;
28
+ return;
29
+ }
30
+ isIntersecting.value = entries.some((entry) => {
31
+ if (entry.target === indicator.value) {
32
+ return entry.isIntersecting || entry.boundingClientRect.top > window.innerHeight;
33
+ }
34
+ });
35
+ };
36
+ onMounted(() => {
37
+ if (!isClientSide)
38
+ return;
39
+ if (header.value) {
40
+ const rect = header.value.getBoundingClientRect();
41
+ headerHeight.value = rect.height;
42
+ headerTop.value = rect.top + (scrollingElement?.scrollTop ?? 0) - headerElementHeight;
43
+ }
44
+ if (indicator.value) {
45
+ observer = new IntersectionObserver(observerCb, observerOptions);
46
+ observer.observe(indicator.value);
47
+ }
48
+ });
49
+ onBeforeUnmount(() => {
50
+ observer?.disconnect();
51
+ });
52
+ return {
53
+ indicator,
54
+ header,
55
+ headerHeight,
56
+ headerTop,
57
+ isIntersecting
58
+ };
59
+ };
60
+
61
+ export { useInfiniteListHeader };
@@ -0,0 +1,5 @@
1
+ export declare const useRefetchNextPages: () => {
2
+ pageComponent: import("vue").Ref<any[]>;
3
+ refetchNextPages: (index: number) => void;
4
+ };
5
+ //# sourceMappingURL=useRefetchNextPages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRefetchNextPages.d.ts","sourceRoot":"","sources":["../../../../../src/components/InfiniteList/use/useRefetchNextPages.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;8BAoBG,MAAM,KAAG,IAAI;CAY/C,CAAA"}