@wisemen/wise-crm-web 1.3.0 → 2.0.0-alpha.0

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 (728) hide show
  1. package/dist/BusinessDetailView-D8HooXJV.js +27 -0
  2. package/dist/CrmDetailView.vue_vue_type_script_setup_true_lang-BkLvUQyy.js +90 -0
  3. package/dist/DealCommunicationTabView-D6zhIjxy.js +199 -0
  4. package/dist/DealDetailView-CgbWlPgR.js +1393 -0
  5. package/dist/IndividualDetailView-B9LzHUAR.js +27 -0
  6. package/dist/index-BCf_EIrG.js +16643 -0
  7. package/dist/index.css +1 -0
  8. package/dist/index.d.ts +1694 -1288
  9. package/dist/index.js +27 -5598
  10. package/dist/style.css +1 -2
  11. package/dist/style.d.ts +1 -0
  12. package/dist/testing.d.ts +66 -0
  13. package/dist/testing.js +386 -366
  14. package/dist/uuid.util-B9bkU4IX.js +6560 -0
  15. package/package.json +56 -45
  16. package/README.md +0 -1037
  17. package/dist/ActivityIcon-DNdtN-M_.js +0 -19
  18. package/dist/AppSkeletonLoader-Chnz5oZv.js +0 -1099
  19. package/dist/AttachmentIcon-BLUd7LaN.js +0 -19
  20. package/dist/BoldIcon-WRYUWz15.js +0 -16
  21. package/dist/BookIcon-Bb3r5y_J.js +0 -19
  22. package/dist/BuildingIcon-DFutRg8d.js +0 -19
  23. package/dist/BuildingsIcon-BVHy6yoa.js +0 -19
  24. package/dist/BulletListIcon-BhOXLSBa.js +0 -16
  25. package/dist/BusinessDetailSidebarProvider-D__S8sa1.js +0 -2946
  26. package/dist/BusinessDetailView-Cu96XfzM.js +0 -24
  27. package/dist/ChevronDownIcon-BmyTSPND.js +0 -19
  28. package/dist/ClockIcon-BYfZAvIE.js +0 -23
  29. package/dist/ClockPlusIcon-BcNi0Y9I.js +0 -23
  30. package/dist/CopyIcon-2eV8MRv_.js +0 -19
  31. package/dist/CrmDetailHeaderCard-CacrRk2b.js +0 -2523
  32. package/dist/CrmDetailView-BJb6FSsY.js +0 -67
  33. package/dist/DealCommunicationTabView-CA1mbm_c.js +0 -140
  34. package/dist/DealDetailView-aB7D0WZu.js +0 -1049
  35. package/dist/DealExternalAttachment-wYY7tzfj.js +0 -179
  36. package/dist/DealIcon-BwUWYDxo.js +0 -19
  37. package/dist/DealSendMailDialog-CMcszATV.js +0 -1566
  38. package/dist/DownloadCloudIcon-BSrLGGrY.js +0 -19
  39. package/dist/EditWithLineIcon-BKYDPJOY.js +0 -19
  40. package/dist/Error-D6dRLq_g.js +0 -13186
  41. package/dist/FileIcon-DL1e1tAu.js +0 -19
  42. package/dist/FilterLinesIcon-DgVMySAE.js +0 -22
  43. package/dist/H1Icon-B6NEsEbj.js +0 -17
  44. package/dist/H2Icon-CNof5Ohu.js +0 -17
  45. package/dist/H3Icon-B2F2Tb6r.js +0 -17
  46. package/dist/HashIcon-C_XttKfW.js +0 -19
  47. package/dist/HomeFilledIcon-DtZ2eXxt.js +0 -16
  48. package/dist/IndividualDetailSidebarProvider-DZxDw1zQ.js +0 -609
  49. package/dist/IndividualDetailView-BeCdDJDk.js +0 -24
  50. package/dist/ItalicIcon-DqBns3yy.js +0 -17
  51. package/dist/LayersTreeIcon-DZZCSCY9.js +0 -23
  52. package/dist/LinkBrokenIcon-BNBpWSi7.js +0 -19
  53. package/dist/LinkExternalIcon-B7SHeB1_.js +0 -19
  54. package/dist/LinkIcon-8bCrZEv9.js +0 -17
  55. package/dist/LocationPinIcon-UySRqSfG.js +0 -19
  56. package/dist/MailIcon-BT7gSIZb.js +0 -19
  57. package/dist/MobilePhoneIcon-_KQGnCSS.js +0 -19
  58. package/dist/NumberedListIcon-B-JVTSAe.js +0 -17
  59. package/dist/PhoneIcon-DGGW_MNR.js +0 -19
  60. package/dist/RefreshIcon-D1QWfdPD.js +0 -19
  61. package/dist/SendIcon-BtJ-NCec.js +0 -19
  62. package/dist/SettingsIcon-CWFwJelS.js +0 -25
  63. package/dist/StarOutlineIcon-C-ELTCDQ.js +0 -19
  64. package/dist/StarYellowIcon-7wuNWaQO.js +0 -19
  65. package/dist/ThreeDotsIcon-C56RWk-0.js +0 -32
  66. package/dist/TimeLineMarkerIcon-DLmPwfs6.js +0 -18
  67. package/dist/TrashIcon-o4PWmcYe.js +0 -20
  68. package/dist/UploadCloudIcon-D2tWB0NP.js +0 -19
  69. package/dist/UserCircleIcon-DiDajcIH.js +0 -23
  70. package/dist/UserIcon-Bv1eF7ln.js +0 -22
  71. package/dist/VerticalDotsIcon-YcD73UqY.js +0 -20
  72. package/dist/WalletIcon-CUh92U5K.js +0 -19
  73. package/dist/_plugin-vue_export-helper-D3hKq4w_.js +0 -8
  74. package/dist/api/mutations/business/businessAddChildBusiness.mutation.d.ts +0 -8
  75. package/dist/api/mutations/business/businessBillingInformationUpsert.mutation.d.ts +0 -9
  76. package/dist/api/mutations/business/businessContactPersonUpdate.mutation.d.ts +0 -10
  77. package/dist/api/mutations/business/businessCreate.mutation.d.ts +0 -33
  78. package/dist/api/mutations/business/businessLinkContactPerson.mutation.d.ts +0 -13
  79. package/dist/api/mutations/business/businessPrimaryContactPersonUpdate.mutation.d.ts +0 -9
  80. package/dist/api/mutations/business/businessUnlinkContactPerson.mutation.d.ts +0 -10
  81. package/dist/api/mutations/business/businessUpdate.mutation.d.ts +0 -31
  82. package/dist/api/mutations/contactPersonCreate.mutation.d.ts +0 -11
  83. package/dist/api/mutations/deal/dealContactPersonUpdate.mutation.d.ts +0 -12
  84. package/dist/api/mutations/deal/dealCreate.mutation.d.ts +0 -10
  85. package/dist/api/mutations/deal/dealLinkContactPerson.mutation.d.ts +0 -12
  86. package/dist/api/mutations/deal/dealSetPrimaryContactPerson.mutation.d.ts +0 -14
  87. package/dist/api/mutations/deal/dealTransition.mutation.d.ts +0 -10
  88. package/dist/api/mutations/deal/dealUnlinkContactPerson.mutation.d.ts +0 -10
  89. package/dist/api/mutations/deal/dealUpdate.mutation.d.ts +0 -30
  90. package/dist/api/mutations/individual/individualBillingInformationUpdate.mutation.d.ts +0 -7
  91. package/dist/api/mutations/individual/individualContactPersonUpdate.mutation.d.ts +0 -14
  92. package/dist/api/mutations/individual/individualCreate.mutation.d.ts +0 -2
  93. package/dist/api/mutations/individual/individualGrant.mutation.d.ts +0 -8
  94. package/dist/api/mutations/individual/individualLinkContactPerson.mutation.d.ts +0 -13
  95. package/dist/api/mutations/individual/individualSetPrimaryContactPerson.mutation.d.ts +0 -13
  96. package/dist/api/mutations/individual/individualUnlinkContactPerson.mutation.d.ts +0 -9
  97. package/dist/api/mutations/individual/individualUpdate.mutation.d.ts +0 -27
  98. package/dist/api/mutations/mail/mailCreate.mutation.d.ts +0 -10
  99. package/dist/api/mutations/mail-template/mailTemplateUpdate.mutation.d.ts +0 -23
  100. package/dist/api/mutations/noteBusinessCreate.mutation.d.ts +0 -8
  101. package/dist/api/mutations/noteDealCreate.mutation.d.ts +0 -8
  102. package/dist/api/mutations/noteDelete.mutation.d.ts +0 -6
  103. package/dist/api/mutations/noteIndividualCreate.mutation.d.ts +0 -8
  104. package/dist/api/mutations/noteUpdate.mutation.d.ts +0 -13
  105. package/dist/api/queries/board/boardColumnTransition.query.d.ts +0 -5
  106. package/dist/api/queries/board/boardColumnsIndex.query.d.ts +0 -2
  107. package/dist/api/queries/business/businessActivityIndex.query.d.ts +0 -7
  108. package/dist/api/queries/business/businessBillingInformation.query.d.ts +0 -5
  109. package/dist/api/queries/business/businessContactPersonDetail.query.d.ts +0 -6
  110. package/dist/api/queries/business/businessDetail.query.d.ts +0 -5
  111. package/dist/api/queries/business/businessIndex.query.d.ts +0 -221
  112. package/dist/api/queries/business/businessStatistics.query.d.ts +0 -3
  113. package/dist/api/queries/cbe/cbeEnterpriseSearchByTerm.query.d.ts +0 -3
  114. package/dist/api/queries/deal/dealContactPersonDetail.query.d.ts +0 -5
  115. package/dist/api/queries/deal/dealDetail.query.d.ts +0 -4
  116. package/dist/api/queries/deal/dealIndex.query.d.ts +0 -220
  117. package/dist/api/queries/globalSearch.queries.d.ts +0 -5
  118. package/dist/api/queries/individual/individualActivityIndex.query.d.ts +0 -7
  119. package/dist/api/queries/individual/individualBillingInformation.query.d.ts +0 -5
  120. package/dist/api/queries/individual/individualContactPersonDetail.query.d.ts +0 -5
  121. package/dist/api/queries/individual/individualDetail.query.d.ts +0 -5
  122. package/dist/api/queries/individual/individualIndex.query.d.ts +0 -220
  123. package/dist/api/queries/individual/individualStatistics.query.d.ts +0 -3
  124. package/dist/api/queries/mail/mailIndex.query.d.ts +0 -4
  125. package/dist/api/queries/mail-template/mailTemplateDetail.query.d.ts +0 -5
  126. package/dist/api/queries/mail-template/mailTemplateIndex.query.d.ts +0 -220
  127. package/dist/api/queries/noteBusinessIndex.query.d.ts +0 -222
  128. package/dist/api/queries/noteDealIndex.query.d.ts +0 -222
  129. package/dist/api/queries/noteIndividualIndex.query.d.ts +0 -222
  130. package/dist/api/queries/recentEntities.query.d.ts +0 -220
  131. package/dist/api/queries/user/userIndex.query.d.ts +0 -220
  132. package/dist/api/services/board.service.d.ts +0 -8
  133. package/dist/api/services/business.service.d.ts +0 -34
  134. package/dist/api/services/cbe.service.d.ts +0 -5
  135. package/dist/api/services/customFieldDefinition.service.d.ts +0 -5
  136. package/dist/api/services/deal.service.d.ts +0 -27
  137. package/dist/api/services/globalSearch.service.d.ts +0 -5
  138. package/dist/api/services/individual.service.d.ts +0 -34
  139. package/dist/api/services/mail.service.d.ts +0 -10
  140. package/dist/api/services/mailTemplate.service.d.ts +0 -12
  141. package/dist/api/services/note.service.d.ts +0 -20
  142. package/dist/api/services/recentEntities.service.d.ts +0 -6
  143. package/dist/api/services/tenantConfig.service.d.ts +0 -4
  144. package/dist/api/services/user.service.d.ts +0 -6
  145. package/dist/business/BusinessAutocomplete.vue.d.ts +0 -24
  146. package/dist/business/BusinessDialog.vue.d.ts +0 -15
  147. package/dist/business/businessDialog.context.d.ts +0 -7
  148. package/dist/business/content/BusinessAddExistingChildForm.vue.d.ts +0 -12
  149. package/dist/business/content/BusinessBillingInformationCard.vue.d.ts +0 -7
  150. package/dist/business/content/BusinessBillingInformationUpdateForm.vue.d.ts +0 -13
  151. package/dist/business/content/BusinessContactPersonUpdateForm.vue.d.ts +0 -9
  152. package/dist/business/content/BusinessInfoForm.vue.d.ts +0 -11
  153. package/dist/business/content/BusinessInfoUpdateCard.vue.d.ts +0 -11
  154. package/dist/business/dialogs/BusinessAddChildBusinessDialog.vue.d.ts +0 -11
  155. package/dist/business/dialogs/BusinessContactPersonCreateDialog.vue.d.ts +0 -22
  156. package/dist/business/dialogs/BusinessContactPersonUpdateDialog.vue.d.ts +0 -13
  157. package/dist/business/routes/business.routes.d.ts +0 -3
  158. package/dist/business/sidebar/BusinessDetailSidebar.vue.d.ts +0 -7
  159. package/dist/business/sidebar/BusinessDetailSidebarAccordionBusinessInfo.vue.d.ts +0 -11
  160. package/dist/business/sidebar/BusinessDetailSidebarAccordionBusinessInfoChildren.vue.d.ts +0 -11
  161. package/dist/business/sidebar/BusinessDetailSidebarActivityContent.vue.d.ts +0 -7
  162. package/dist/business/sidebar/BusinessDetailSidebarNotesContent.vue.d.ts +0 -7
  163. package/dist/business/sidebar/BusinessDetailSidebarOverviewContent.vue.d.ts +0 -7
  164. package/dist/business/sidebar/BusinessDetailSidebarProvider.vue.d.ts +0 -7
  165. package/dist/business/views/BusinessOverview.vue.d.ts +0 -7
  166. package/dist/business/views/components/BusinessOverviewTableNameCell.vue.d.ts +0 -7
  167. package/dist/business/views/detail/BusinessDetailView.vue.d.ts +0 -10
  168. package/dist/client/apiErrorCode.gen.d.ts +0 -93
  169. package/dist/client/client/client.gen.d.ts +0 -2
  170. package/dist/client/client/index.d.ts +0 -7
  171. package/dist/client/client/types.gen.d.ts +0 -124
  172. package/dist/client/client/utils.gen.d.ts +0 -38
  173. package/dist/client/client.gen.d.ts +0 -12
  174. package/dist/client/core/auth.gen.d.ts +0 -18
  175. package/dist/client/core/bodySerializer.gen.d.ts +0 -17
  176. package/dist/client/core/params.gen.d.ts +0 -33
  177. package/dist/client/core/pathSerializer.gen.d.ts +0 -33
  178. package/dist/client/core/serverSentEvents.gen.d.ts +0 -71
  179. package/dist/client/core/types.gen.d.ts +0 -78
  180. package/dist/client/core/utils.gen.d.ts +0 -14
  181. package/dist/client/index.d.ts +0 -2
  182. package/dist/client/sdk.gen.d.ts +0 -154
  183. package/dist/client/types.gen.d.ts +0 -6619
  184. package/dist/client/zod.gen.d.ts +0 -23953
  185. package/dist/client-BpnfhHgS.js +0 -4183
  186. package/dist/component-variants/iconButton.variant.d.ts +0 -2
  187. package/dist/component-variants/index.d.ts +0 -1
  188. package/dist/components/action-tooltip/ActionTooltip.vue.d.ts +0 -27
  189. package/dist/components/action-tooltip/index.d.ts +0 -1
  190. package/dist/components/activity/ActivityList.vue.d.ts +0 -9
  191. package/dist/components/activity/ActivityListItem.vue.d.ts +0 -8
  192. package/dist/components/activity/ActivityListItemMessage.vue.d.ts +0 -7
  193. package/dist/components/animation/AnimateHeight.vue.d.ts +0 -13
  194. package/dist/components/animation/AnimateWidth.vue.d.ts +0 -16
  195. package/dist/components/animation/FormCardSubmitButtonTransition.vue.d.ts +0 -16
  196. package/dist/components/animation/OpenCrmDetailTransition.vue.d.ts +0 -13
  197. package/dist/components/api-error/ApiError.vue.d.ts +0 -7
  198. package/dist/components/app/AppAndOrSeparator.vue.d.ts +0 -13
  199. package/dist/components/app/AppForm.vue.d.ts +0 -32
  200. package/dist/components/app/AppGlobalFormError.vue.d.ts +0 -22
  201. package/dist/components/app/AppGoogleMaps.vue.d.ts +0 -10
  202. package/dist/components/app/AppGrid.vue.d.ts +0 -16
  203. package/dist/components/app/AppIconLabelPair.vue.d.ts +0 -10
  204. package/dist/components/app/AppSidebarFormFooter.vue.d.ts +0 -13
  205. package/dist/components/app/AppSidebarFormSubmitButton.vue.d.ts +0 -14
  206. package/dist/components/app/avatar-name/AppAvatarName.vue.d.ts +0 -6
  207. package/dist/components/app/button/AppUnstyledButton.vue.d.ts +0 -24
  208. package/dist/components/app/card/AppCard.vue.d.ts +0 -20
  209. package/dist/components/app/decorative/GridDecorativeBackgroundPattern.vue.d.ts +0 -3
  210. package/dist/components/app/dialog/AppConfirmDialog.vue.d.ts +0 -19
  211. package/dist/components/app/dialog/AppDialog.vue.d.ts +0 -21
  212. package/dist/components/app/dialog/AppDialogActionCancel.vue.d.ts +0 -8
  213. package/dist/components/app/dialog/AppDialogActionPrimary.vue.d.ts +0 -15
  214. package/dist/components/app/dialog/AppDialogActions.vue.d.ts +0 -13
  215. package/dist/components/app/dialog/AppDialogContainer.vue.d.ts +0 -13
  216. package/dist/components/app/dialog/AppDialogHeader.vue.d.ts +0 -19
  217. package/dist/components/app/dialog/AppDialogStepper.vue.d.ts +0 -25
  218. package/dist/components/app/dialog/AppEntityDialog.vue.d.ts +0 -25
  219. package/dist/components/app/drawer/AppDrawer.vue.d.ts +0 -21
  220. package/dist/components/app/drawer/AppDrawerHeader.vue.d.ts +0 -7
  221. package/dist/components/app/drawer/AppDrawerRoot.vue.d.ts +0 -17
  222. package/dist/components/app/empty-state/AppEmptyState.vue.d.ts +0 -9
  223. package/dist/components/app/group/AppGroup.vue.d.ts +0 -24
  224. package/dist/components/app/height-transition/AppHeightTransition.vue.d.ts +0 -13
  225. package/dist/components/app/infinite-scroll/AppInfiniteScroll.vue.d.ts +0 -19
  226. package/dist/components/app/rich-text-field/AppRichTextField.vue.d.ts +0 -36
  227. package/dist/components/app/rich-text-field/AppRichTextFieldLinkDialog.vue.d.ts +0 -9
  228. package/dist/components/app/separator/AppSeparator.vue.d.ts +0 -8
  229. package/dist/components/app/tags-input-field/AppTagsInputField.vue.d.ts +0 -31
  230. package/dist/components/app/vat-number-field/AppVatNumberField.vue.d.ts +0 -21
  231. package/dist/components/auto-focus/AutoFocus.vue.d.ts +0 -13
  232. package/dist/components/base/fieldset/BaseFieldset.vue.d.ts +0 -13
  233. package/dist/components/base/fieldset/BaseFieldsetLegend.vue.d.ts +0 -17
  234. package/dist/components/base/fieldset/baseFieldset.context.d.ts +0 -5
  235. package/dist/components/button-tooltip/ButtonTooltip.vue.d.ts +0 -25
  236. package/dist/components/cbe/CbeAutocomplete.vue.d.ts +0 -18
  237. package/dist/components/center-content/CenterContent.vue.d.ts +0 -13
  238. package/dist/components/clickable-element/ClickableElement.vue.d.ts +0 -20
  239. package/dist/components/clickable-element/index.d.ts +0 -1
  240. package/dist/components/color-provider/AppColorProvider.vue.d.ts +0 -17
  241. package/dist/components/column-layout/ColumnLayout.vue.d.ts +0 -24
  242. package/dist/components/column-layout/index.d.ts +0 -1
  243. package/dist/components/crm/CrmDetailView.vue.d.ts +0 -22
  244. package/dist/components/crm/CrmOverviewContent.vue.d.ts +0 -3
  245. package/dist/components/crm/search/CrmSearchDialog.vue.d.ts +0 -15
  246. package/dist/components/crm/search/CrmSearchDialogContent.vue.d.ts +0 -13
  247. package/dist/components/crm/search/CrmSearchDialogContentEmptyState.vue.d.ts +0 -12
  248. package/dist/components/crm/search/CrmSearchTrigger.vue.d.ts +0 -8
  249. package/dist/components/crm/search/CrmSearchTriggerActions.vue.d.ts +0 -9
  250. package/dist/components/crm-detail/CrmDetailAccordionRoot.vue.d.ts +0 -19
  251. package/dist/components/crm-detail/CrmDetailContainer.vue.d.ts +0 -13
  252. package/dist/components/crm-detail/CrmDetailContent.vue.d.ts +0 -19
  253. package/dist/components/crm-detail/CrmDetailHeaderCard.vue.d.ts +0 -24
  254. package/dist/components/crm-detail/CrmDetailHeaderContactTooltip.vue.d.ts +0 -7
  255. package/dist/components/crm-detail/CrmDetailSidebarAccordionBillingInformation.vue.d.ts +0 -8
  256. package/dist/components/crm-detail/CrmDetailSidebarAccordionContactPersonInfo.vue.d.ts +0 -14
  257. package/dist/components/crm-detail/CrmDetailSidebarAccordionCustomerInfo.vue.d.ts +0 -7
  258. package/dist/components/crm-detail/CrmDetailSidebarAccordionGenericContactPersonInfo.vue.d.ts +0 -27
  259. package/dist/components/crm-detail/CrmDetailSidebarAccordionHeaderIconButton.vue.d.ts +0 -12
  260. package/dist/components/crm-detail/CrmDetailSidebarAccordionItem.vue.d.ts +0 -24
  261. package/dist/components/crm-detail/CrmDetailSidebarCard.vue.d.ts +0 -13
  262. package/dist/components/crm-detail/CrmDetailSidebarMapCard.vue.d.ts +0 -7
  263. package/dist/components/crm-detail/CrmDetailSidebarTabs.vue.d.ts +0 -29
  264. package/dist/components/custom-field/CustomFieldCheckbox.vue.d.ts +0 -9
  265. package/dist/components/custom-field/CustomFieldDate.vue.d.ts +0 -9
  266. package/dist/components/custom-field/CustomFieldDefinitionForm.vue.d.ts +0 -23
  267. package/dist/components/custom-field/CustomFieldMultiSelect.vue.d.ts +0 -9
  268. package/dist/components/custom-field/CustomFieldNumberField.vue.d.ts +0 -9
  269. package/dist/components/custom-field/CustomFieldRadio.vue.d.ts +0 -9
  270. package/dist/components/custom-field/CustomFieldSelect.vue.d.ts +0 -9
  271. package/dist/components/custom-field/CustomFieldString.vue.d.ts +0 -9
  272. package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +0 -18
  273. package/dist/components/dropdown-menu/DropdownMenuGroup.vue.d.ts +0 -13
  274. package/dist/components/dropdown-menu/DropdownMenuHeader.vue.d.ts +0 -6
  275. package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -9
  276. package/dist/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +0 -24
  277. package/dist/components/dropdown-menu/DropdownMenuRadioGroupItem.vue.d.ts +0 -7
  278. package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +0 -3
  279. package/dist/components/dropdown-menu/dropdownMenu.variant.d.ts +0 -1
  280. package/dist/components/dropdown-menu/dropdownMenuItem.type.d.ts +0 -8
  281. package/dist/components/dropdown-menu/index.d.ts +0 -6
  282. package/dist/components/entity-autocomplete/EntityAutocomplete.vue.d.ts +0 -50
  283. package/dist/components/error/Error.vue.d.ts +0 -16
  284. package/dist/components/file-upload/api/services/fileUpload.service.d.ts +0 -5
  285. package/dist/components/file-upload/components/FormFileUpload.vue.d.ts +0 -58
  286. package/dist/components/file-upload/components/FormFileUploadButton.vue.d.ts +0 -9
  287. package/dist/components/file-upload/components/FormFileUploadDropzoneOverlay.vue.d.ts +0 -7
  288. package/dist/components/file-upload/components/FormFileUploadEmptyState.vue.d.ts +0 -11
  289. package/dist/components/file-upload/components/FormFileUploadItem.vue.d.ts +0 -8
  290. package/dist/components/file-upload/components/FormFileUploadItemRight.vue.d.ts +0 -8
  291. package/dist/components/file-upload/components/FormFileUploadList.vue.d.ts +0 -8
  292. package/dist/components/file-upload/components/FormFileUploadSuccessCheckmark.vue.d.ts +0 -3
  293. package/dist/components/filters/FiltersListbox.vue.d.ts +0 -7
  294. package/dist/components/filters/FiltersRoot.vue.d.ts +0 -17
  295. package/dist/components/filters/active/FiltersActive.vue.d.ts +0 -3
  296. package/dist/components/filters/active/FiltersActiveBadge.vue.d.ts +0 -21
  297. package/dist/components/filters/active/FiltersActiveFilterPopover.vue.d.ts +0 -19
  298. package/dist/components/filters/active/FiltersActiveLabel.vue.d.ts +0 -13
  299. package/dist/components/filters/active/FiltersActiveValue.vue.d.ts +0 -17
  300. package/dist/components/filters/active/types/FiltersActiveBoolean.vue.d.ts +0 -7
  301. package/dist/components/filters/active/types/FiltersActiveDate.vue.d.ts +0 -7
  302. package/dist/components/filters/active/types/FiltersActiveDateRange.vue.d.ts +0 -7
  303. package/dist/components/filters/active/types/FiltersActiveMultiSelect.vue.d.ts +0 -7
  304. package/dist/components/filters/active/types/FiltersActiveSelect.vue.d.ts +0 -7
  305. package/dist/components/filters/createFilters.composable.d.ts +0 -9
  306. package/dist/components/filters/dialog/FiltersDateDialog.vue.d.ts +0 -20
  307. package/dist/components/filters/dialog/FiltersDateRangeDialog.vue.d.ts +0 -29
  308. package/dist/components/filters/dialog/filtersDateDialog.composable.d.ts +0 -8
  309. package/dist/components/filters/dialog/filtersDateRangeDialog.composable.d.ts +0 -8
  310. package/dist/components/filters/dropdown-menu/FiltersDropdownMenu.vue.d.ts +0 -3
  311. package/dist/components/filters/dropdown-menu/types/FiltersDropdownMenuBoolean.vue.d.ts +0 -7
  312. package/dist/components/filters/dropdown-menu/types/FiltersDropdownMenuDate.vue.d.ts +0 -7
  313. package/dist/components/filters/dropdown-menu/types/FiltersDropdownMenuDateRange.vue.d.ts +0 -7
  314. package/dist/components/filters/dropdown-menu/types/FiltersDropdownMenuSelect.vue.d.ts +0 -7
  315. package/dist/components/filters/filterValue.composable.d.ts +0 -2
  316. package/dist/components/filters/filters.composable.d.ts +0 -40
  317. package/dist/components/filters/filters.context.d.ts +0 -8
  318. package/dist/components/filters/filters.type.d.ts +0 -65
  319. package/dist/components/filters/index.d.ts +0 -5
  320. package/dist/components/focusable-element/FocusableElement.vue.d.ts +0 -18
  321. package/dist/components/form/FormFieldset.vue.d.ts +0 -21
  322. package/dist/components/image/Image.vue.d.ts +0 -13
  323. package/dist/components/image/ImageBlurhash.vue.d.ts +0 -6
  324. package/dist/components/image/ImageDialog.vue.d.ts +0 -9
  325. package/dist/components/layout-container/DashboardLayoutContainer.vue.d.ts +0 -13
  326. package/dist/components/layout-container/index.d.ts +0 -1
  327. package/dist/components/logo/Logo.vue.d.ts +0 -8
  328. package/dist/components/logo/LogoWithText.vue.d.ts +0 -8
  329. package/dist/components/logo/index.d.ts +0 -2
  330. package/dist/components/notes/NoteForm.vue.d.ts +0 -8
  331. package/dist/components/notes/NoteList.vue.d.ts +0 -15
  332. package/dist/components/open-entity-button/AppOpenEntityButton.vue.d.ts +0 -20
  333. package/dist/components/reveal-on-hover-or-focus/RevealOnHoverOrFocus.vue.d.ts +0 -13
  334. package/dist/components/row-layout/RowLayout.vue.d.ts +0 -24
  335. package/dist/components/skeleton/AppSkeletonItem.vue.d.ts +0 -18
  336. package/dist/components/skeleton-loader/AppSkeletonLoader.vue.d.ts +0 -3
  337. package/dist/components/table/TableActionsLayout.vue.d.ts +0 -15
  338. package/dist/components/table/TableErrorState.vue.d.ts +0 -6
  339. package/dist/components/table/data-table/DataTable.vue.d.ts +0 -40
  340. package/dist/components/table/data-table/DataTableCell.vue.d.ts +0 -20
  341. package/dist/components/table/data-table/DataTableEmptyOrLoadingState.vue.d.ts +0 -15
  342. package/dist/components/table/data-table/DataTableEmptyOrLoadingStateBlurOverlay.vue.d.ts +0 -3
  343. package/dist/components/table/data-table/DataTableHeader.vue.d.ts +0 -3
  344. package/dist/components/table/data-table/DataTableHeaderCell.vue.d.ts +0 -3
  345. package/dist/components/table/data-table/DataTableHeaderCellProvider.vue.d.ts +0 -19
  346. package/dist/components/table/data-table/dataTable.context.d.ts +0 -14
  347. package/dist/components/table/data-table/dataTableHeaderCell.context.d.ts +0 -9
  348. package/dist/components/text/Text.vue.d.ts +0 -30
  349. package/dist/components/text/index.d.ts +0 -1
  350. package/dist/components/text/isTruncated.composable.d.ts +0 -2
  351. package/dist/components/truncate-text/TruncateText.vue.d.ts +0 -9
  352. package/dist/components/zod-error/ZodError.vue.d.ts +0 -7
  353. package/dist/composables/apiErrorToast.composable.d.ts +0 -5
  354. package/dist/composables/contactCreateDialog.composable.d.ts +0 -10
  355. package/dist/composables/context/context.composable.d.ts +0 -8
  356. package/dist/composables/crm.composable.d.ts +0 -12
  357. package/dist/composables/crmConfig.composable.d.ts +0 -32
  358. package/dist/composables/date-time-format/dateTimeFormat.composable.d.ts +0 -8
  359. package/dist/composables/entity-detail/entityDetail.composable.d.ts +0 -6
  360. package/dist/composables/geocode/geocode.composable.d.ts +0 -9
  361. package/dist/composables/google-maps-api-key/googleMapsApiKey.composable.d.ts +0 -5
  362. package/dist/composables/keyboard-shortcut-visibility/keyboardShortcutVisibility.composable.d.ts +0 -2
  363. package/dist/composables/keyset-infinite-query/keysetInfiniteQuery.composable.d.ts +0 -234
  364. package/dist/composables/offset-infinite-query/offsetInfiniteQuery.composable.d.ts +0 -235
  365. package/dist/composables/page-loader/pageLoader.composable.d.ts +0 -7
  366. package/dist/composables/route-query-state/routeQueryState.composable.d.ts +0 -12
  367. package/dist/composables/search/search.composable.d.ts +0 -13
  368. package/dist/composables/sort/sort.composable.d.ts +0 -19
  369. package/dist/composables/stepper/stepper.composable.d.ts +0 -18
  370. package/dist/composables/unsaved-changes/unsavedChanges.composable.d.ts +0 -6
  371. package/dist/contact-person/ContactPersonCreateExisitngForm.vue.d.ts +0 -12
  372. package/dist/contact-person/ContactPersonCreateForm.vue.d.ts +0 -13
  373. package/dist/contact-person/ContactPersonCreateNewForm.vue.d.ts +0 -18
  374. package/dist/contact-person/ContactPersonFormContactField.vue.d.ts +0 -9
  375. package/dist/contact-person/ContactPersonFormNameField.vue.d.ts +0 -8
  376. package/dist/deal/components/DealCommunicationMailList.vue.d.ts +0 -7
  377. package/dist/deal/components/DealCommunicationMailListSectionContainer.vue.d.ts +0 -13
  378. package/dist/deal/components/DealContactPersonCreateExistingForm.vue.d.ts +0 -12
  379. package/dist/deal/components/DealContactPersonCreateNewForm.vue.d.ts +0 -18
  380. package/dist/deal/components/DealCreateDialogExtraInfoForm.vue.d.ts +0 -8
  381. package/dist/deal/components/DealCreateDialogSelectBusinessForm.vue.d.ts +0 -12
  382. package/dist/deal/components/DealCreateDialogStepperForm.vue.d.ts +0 -15
  383. package/dist/deal/components/DealDetailSidebarGeneralInfo.vue.d.ts +0 -7
  384. package/dist/deal/components/DealDetailSidebarNameField.vue.d.ts +0 -7
  385. package/dist/deal/components/DealDetailSidebarOverviewContent.vue.d.ts +0 -7
  386. package/dist/deal/components/DealDetailSidebarTransitionSelect.vue.d.ts +0 -16
  387. package/dist/deal/components/DealDialogSidebarNotesContent.vue.d.ts +0 -7
  388. package/dist/deal/components/DealExternalAttachment.vue.d.ts +0 -7
  389. package/dist/deal/components/DealOverviewColumn.vue.d.ts +0 -13
  390. package/dist/deal/components/DealOverviewColumnItem.vue.d.ts +0 -13
  391. package/dist/deal/components/DealSendMailForm.vue.d.ts +0 -25
  392. package/dist/deal/components/DealSendMailFormAttachmentField.vue.d.ts +0 -60
  393. package/dist/deal/components/DealSendMailFormFooter.vue.d.ts +0 -14
  394. package/dist/deal/components/DealSettingsDialogMailTemplate.vue.d.ts +0 -7
  395. package/dist/deal/components/DealSettingsDialogMailTemplateFooter.vue.d.ts +0 -12
  396. package/dist/deal/components/DealSettingsDialogMailTemplateForm.vue.d.ts +0 -14
  397. package/dist/deal/components/DealSettingsDialogMailTemplateFormFields.vue.d.ts +0 -13
  398. package/dist/deal/components/DealSettingsDialogMailTemplateLocaleField.vue.d.ts +0 -8
  399. package/dist/deal/content/DealContactPersonUpdateForm.vue.d.ts +0 -9
  400. package/dist/deal/dialogs/DealContactPersonCreateDialog.vue.d.ts +0 -22
  401. package/dist/deal/dialogs/DealContactPersonUpdateDialog.vue.d.ts +0 -13
  402. package/dist/deal/dialogs/DealCreateDialog.vue.d.ts +0 -7
  403. package/dist/deal/dialogs/DealSendMailDialog.vue.d.ts +0 -23
  404. package/dist/deal/dialogs/DealSettingsDialog.vue.d.ts +0 -7
  405. package/dist/deal/routes/deal.routes.d.ts +0 -3
  406. package/dist/deal/tab-views/DealCommunicationTabView.vue.d.ts +0 -3
  407. package/dist/deal/views/DealDetailSidebar.vue.d.ts +0 -7
  408. package/dist/deal/views/DealDetailSidebarProvider.vue.d.ts +0 -7
  409. package/dist/deal/views/DealDetailView.vue.d.ts +0 -10
  410. package/dist/deal/views/DealOverview.vue.d.ts +0 -3
  411. package/dist/dialogs/contact-create/ContactCreateDialog.vue.d.ts +0 -17
  412. package/dist/dialogs/contact-create/components/ContactCreateDialogBusinessCbeSearch.vue.d.ts +0 -12
  413. package/dist/dialogs/contact-create/components/ContactCreateDialogBusinessContactPerson.vue.d.ts +0 -12
  414. package/dist/dialogs/contact-create/components/ContactCreateDialogBusinessContactPersonSearch.vue.d.ts +0 -18
  415. package/dist/dialogs/contact-create/components/ContactCreateDialogBusinessForm.vue.d.ts +0 -11
  416. package/dist/dialogs/contact-create/components/ContactCreateDialogBusinessGeneralInfo.vue.d.ts +0 -15
  417. package/dist/dialogs/contact-create/components/ContactCreateDialogContactTypeSection.vue.d.ts +0 -13
  418. package/dist/dialogs/contact-create/components/ContactCreateDialogFooter.vue.d.ts +0 -14
  419. package/dist/dialogs/contact-create/components/ContactCreateDialogFormSection.vue.d.ts +0 -16
  420. package/dist/dialogs/contact-create/components/ContactCreateDialogIndividualForm.vue.d.ts +0 -11
  421. package/dist/dialogs/contact-create/components/animations/ContactCreateDialogContentTransition.vue.d.ts +0 -13
  422. package/dist/dialogs/note/CrmDetailSidebarNotesView.vue.d.ts +0 -19
  423. package/dist/dialogs/note/NoteUpdateDialog.vue.d.ts +0 -15
  424. package/dist/helpers/assert.helper.d.ts +0 -1
  425. package/dist/icons/ActivityIcon.vue.d.ts +0 -3
  426. package/dist/icons/AttachmentIcon.vue.d.ts +0 -3
  427. package/dist/icons/BoldIcon.vue.d.ts +0 -3
  428. package/dist/icons/BookIcon.vue.d.ts +0 -3
  429. package/dist/icons/BuildingIcon.vue.d.ts +0 -3
  430. package/dist/icons/BuildingsIcon.vue.d.ts +0 -3
  431. package/dist/icons/BulletListIcon.vue.d.ts +0 -3
  432. package/dist/icons/ChevronDownIcon.vue.d.ts +0 -3
  433. package/dist/icons/ClockIcon.vue.d.ts +0 -3
  434. package/dist/icons/ClockPlusIcon.vue.d.ts +0 -3
  435. package/dist/icons/CopyIcon.vue.d.ts +0 -3
  436. package/dist/icons/DealIcon.vue.d.ts +0 -3
  437. package/dist/icons/DownloadCloudIcon.vue.d.ts +0 -3
  438. package/dist/icons/EditWithLineIcon.vue.d.ts +0 -3
  439. package/dist/icons/FileIcon.vue.d.ts +0 -3
  440. package/dist/icons/FilterLinesIcon.vue.d.ts +0 -3
  441. package/dist/icons/H1Icon.vue.d.ts +0 -3
  442. package/dist/icons/H2Icon.vue.d.ts +0 -3
  443. package/dist/icons/H3Icon.vue.d.ts +0 -3
  444. package/dist/icons/HashIcon.vue.d.ts +0 -3
  445. package/dist/icons/HomeFilledIcon.vue.d.ts +0 -3
  446. package/dist/icons/ItalicIcon.vue.d.ts +0 -3
  447. package/dist/icons/LayersTreeIcon.vue.d.ts +0 -3
  448. package/dist/icons/LinkBrokenIcon.vue.d.ts +0 -3
  449. package/dist/icons/LinkExternalIcon.vue.d.ts +0 -3
  450. package/dist/icons/LinkIcon.vue.d.ts +0 -3
  451. package/dist/icons/LocationPinIcon.vue.d.ts +0 -3
  452. package/dist/icons/MailIcon.vue.d.ts +0 -3
  453. package/dist/icons/MobilePhoneIcon.vue.d.ts +0 -3
  454. package/dist/icons/NumberedListIcon.vue.d.ts +0 -3
  455. package/dist/icons/PhoneIcon.vue.d.ts +0 -3
  456. package/dist/icons/RefreshIcon.vue.d.ts +0 -3
  457. package/dist/icons/SendIcon.vue.d.ts +0 -3
  458. package/dist/icons/SettingsIcon.vue.d.ts +0 -3
  459. package/dist/icons/StarOutlineIcon.vue.d.ts +0 -3
  460. package/dist/icons/StarYellowIcon.vue.d.ts +0 -3
  461. package/dist/icons/ThreeDotsIcon.vue.d.ts +0 -3
  462. package/dist/icons/TimeLineMarkerIcon.vue.d.ts +0 -3
  463. package/dist/icons/TrashIcon.vue.d.ts +0 -3
  464. package/dist/icons/UploadCloudIcon.vue.d.ts +0 -3
  465. package/dist/icons/UserCircleIcon.vue.d.ts +0 -3
  466. package/dist/icons/UserIcon.vue.d.ts +0 -3
  467. package/dist/icons/VerticalDotsIcon.vue.d.ts +0 -3
  468. package/dist/icons/WalletIcon.vue.d.ts +0 -3
  469. package/dist/icons/icon.d.ts +0 -55
  470. package/dist/individual/IndividualAutocomplete.vue.d.ts +0 -27
  471. package/dist/individual/IndividualDialog.vue.d.ts +0 -15
  472. package/dist/individual/content/IndividualBillingInformationCard.vue.d.ts +0 -7
  473. package/dist/individual/content/IndividualBillingInformationUpdateForm.vue.d.ts +0 -13
  474. package/dist/individual/content/IndividualContactPersonUpdateForm.vue.d.ts +0 -11
  475. package/dist/individual/content/IndividualCustomerInfoForm.vue.d.ts +0 -11
  476. package/dist/individual/content/IndividualInfoUpdateCard.vue.d.ts +0 -7
  477. package/dist/individual/dialogs/IndividualContactPersonCreateDialog.vue.d.ts +0 -22
  478. package/dist/individual/dialogs/IndividualContactPersonUpdateDialog.vue.d.ts +0 -12
  479. package/dist/individual/individualDialog.context.d.ts +0 -7
  480. package/dist/individual/routes/individual.routes.d.ts +0 -3
  481. package/dist/individual/sidebar/IndividualDetailSidebar.vue.d.ts +0 -7
  482. package/dist/individual/sidebar/IndividualDetailSidebarActivityContent.vue.d.ts +0 -7
  483. package/dist/individual/sidebar/IndividualDetailSidebarNotesContent.vue.d.ts +0 -7
  484. package/dist/individual/sidebar/IndividualDetailSidebarOverviewContent.vue.d.ts +0 -7
  485. package/dist/individual/sidebar/IndividualDetailSidebarProvider.vue.d.ts +0 -7
  486. package/dist/individual/views/IndividualOverview.vue.d.ts +0 -7
  487. package/dist/individual/views/components/IndividualOverviewTableNameCell.vue.d.ts +0 -7
  488. package/dist/individual/views/detail/IndividualDetailView.vue.d.ts +0 -10
  489. package/dist/kbo-client/client/client.gen.d.ts +0 -2
  490. package/dist/kbo-client/client/index.d.ts +0 -8
  491. package/dist/kbo-client/client/types.gen.d.ts +0 -117
  492. package/dist/kbo-client/client/utils.gen.d.ts +0 -33
  493. package/dist/kbo-client/client.gen.d.ts +0 -12
  494. package/dist/kbo-client/core/auth.gen.d.ts +0 -18
  495. package/dist/kbo-client/core/bodySerializer.gen.d.ts +0 -25
  496. package/dist/kbo-client/core/params.gen.d.ts +0 -43
  497. package/dist/kbo-client/core/pathSerializer.gen.d.ts +0 -33
  498. package/dist/kbo-client/core/queryKeySerializer.gen.d.ts +0 -18
  499. package/dist/kbo-client/core/serverSentEvents.gen.d.ts +0 -71
  500. package/dist/kbo-client/core/types.gen.d.ts +0 -78
  501. package/dist/kbo-client/core/utils.gen.d.ts +0 -19
  502. package/dist/kbo-client/index.d.ts +0 -2
  503. package/dist/kbo-client/sdk.gen.d.ts +0 -72
  504. package/dist/kbo-client/types.gen.d.ts +0 -2089
  505. package/dist/kbo-client/zod.gen.d.ts +0 -5943
  506. package/dist/libs/http.lib.d.ts +0 -3
  507. package/dist/libs/kboBaseUrl.lib.d.ts +0 -1
  508. package/dist/models/activity/activityIndex.model.d.ts +0 -24
  509. package/dist/models/activity/activityIndex.transformer.d.ts +0 -13
  510. package/dist/models/activity/activityIndexDto.model.d.ts +0 -6
  511. package/dist/models/activity/activityIndexPagination.model.d.ts +0 -5
  512. package/dist/models/activity/activityIndexPaginationDto.model.d.ts +0 -5
  513. package/dist/models/address/address.transformer.d.ts +0 -11
  514. package/dist/models/address/addressCreateForm.model.d.ts +0 -15
  515. package/dist/models/address/addressDetailDto.model.d.ts +0 -2
  516. package/dist/models/address/addressDto.model.d.ts +0 -2
  517. package/dist/models/apiError.model.d.ts +0 -7
  518. package/dist/models/billing-information/billingInformationUuid.model.d.ts +0 -3
  519. package/dist/models/board/boardColumn.model.d.ts +0 -13
  520. package/dist/models/board/boardColumn.transformer.d.ts +0 -5
  521. package/dist/models/board/boardColumnDto.model.d.ts +0 -6
  522. package/dist/models/board/boardColumnUpdate.model.d.ts +0 -7
  523. package/dist/models/board/boardColumnUuid.model.d.ts +0 -3
  524. package/dist/models/board/transition/boardColumnTransition.model.d.ts +0 -20
  525. package/dist/models/board/transition/boardColumnTransition.transformer.d.ts +0 -5
  526. package/dist/models/board/transition/boardColumnTransitionDto.model.d.ts +0 -2
  527. package/dist/models/board/transition/boardColumnTransitionTriggerType.model.d.ts +0 -8
  528. package/dist/models/board/transition/boardColumnTransitionUuid.model.d.ts +0 -3
  529. package/dist/models/brand-colors/brandColor.model.d.ts +0 -14
  530. package/dist/models/brand-colors/brandColor.transformer.d.ts +0 -5
  531. package/dist/models/business/billing-information/businessBillingInformation.model.d.ts +0 -19
  532. package/dist/models/business/billing-information/businessBillingInformation.transformer.d.ts +0 -6
  533. package/dist/models/business/billing-information/businessBillingInformationDto.model.d.ts +0 -2
  534. package/dist/models/business/billing-information/update/businessBillingInformationForm.model.d.ts +0 -90
  535. package/dist/models/business/billing-information/update/businessBillingInformationUpdate.transformer.d.ts +0 -5
  536. package/dist/models/business/billing-information/update/businessBillingInformationUpdateDto.model.d.ts +0 -2
  537. package/dist/models/business/businessUuid.model.d.ts +0 -3
  538. package/dist/models/business/contact-person/businessContactPerson.transformer.d.ts +0 -5
  539. package/dist/models/business/contact-person/businessContactPersonDetail.model.d.ts +0 -13
  540. package/dist/models/business/contact-person/businessContactPersonDetailDto.model.d.ts +0 -2
  541. package/dist/models/business/create/businessCreate.transformer.d.ts +0 -5
  542. package/dist/models/business/create/businessCreateDto.model.d.ts +0 -2
  543. package/dist/models/business/create/businessCreateForm.model.d.ts +0 -80
  544. package/dist/models/business/detail/businessDetail.model.d.ts +0 -47
  545. package/dist/models/business/detail/businessDetail.transformer.d.ts +0 -5
  546. package/dist/models/business/detail/businessDetailDto.model.d.ts +0 -2
  547. package/dist/models/business/index/businessIndex.model.d.ts +0 -11
  548. package/dist/models/business/index/businessIndex.transformer.d.ts +0 -5
  549. package/dist/models/business/index/businessIndexDto.model.d.ts +0 -2
  550. package/dist/models/business/index/businessIndexQueryParams.model.d.ts +0 -3
  551. package/dist/models/business/index/businessIndexQueryParams.transformer.d.ts +0 -6
  552. package/dist/models/business/individualItem.model.d.ts +0 -6
  553. package/dist/models/business/node/businessNode.model.d.ts +0 -14
  554. package/dist/models/business/node/businessNode.transformer.d.ts +0 -5
  555. package/dist/models/business/node/businessNodeDto.model.d.ts +0 -2
  556. package/dist/models/business/statistics/businessStatistics.model.d.ts +0 -5
  557. package/dist/models/business/statistics/businessStatistics.transformer.d.ts +0 -5
  558. package/dist/models/business/update/businessUpdate.transformer.d.ts +0 -5
  559. package/dist/models/business/update/businessUpdateDto.model.d.ts +0 -2
  560. package/dist/models/business/update/businessUpdateForm.model.d.ts +0 -58
  561. package/dist/models/cbe/cbeEnterpriseNumber.model.d.ts +0 -3
  562. package/dist/models/cbe/search/cbeEnterpriseItem.model.d.ts +0 -6
  563. package/dist/models/cbe/search/cbeEnterpriseSearch.model.d.ts +0 -15
  564. package/dist/models/cbe/search/cbeEnterpriseSearch.transformer.d.ts +0 -5
  565. package/dist/models/cbe/search/cbeEnterpriseSearchDto.model.d.ts +0 -2
  566. package/dist/models/conent-locale/contentLocaleEnum.model.d.ts +0 -8
  567. package/dist/models/contact-info/contactInfo.model.d.ts +0 -5
  568. package/dist/models/contact-person/create/contactPersonCreateExistingForm.model.d.ts +0 -12
  569. package/dist/models/contact-person/create/contactPersonCreateForm.model.d.ts +0 -10
  570. package/dist/models/contact-person/update/contactPersonUpdate.transformer.d.ts +0 -5
  571. package/dist/models/contact-person/update/contactPersonUpdateDto.model.d.ts +0 -2
  572. package/dist/models/contact-person/update/contactPersonUpdateForm.model.d.ts +0 -10
  573. package/dist/models/custom-field-definition/customFieldDefinition.transformer.d.ts +0 -5
  574. package/dist/models/custom-field-definition/customFieldDefinitionIndex.model.d.ts +0 -56
  575. package/dist/models/custom-field-definition/customFieldDefinitionIndexDto.model.d.ts +0 -2
  576. package/dist/models/custom-field-definition/customFieldDefinitionRecord.model.d.ts +0 -1
  577. package/dist/models/date/date.transformer.d.ts +0 -11
  578. package/dist/models/deal/contact-person/dealContactPerson.transformer.d.ts +0 -10
  579. package/dist/models/deal/contact-person/dealContactPersonCreateExistingForm.model.d.ts +0 -11
  580. package/dist/models/deal/contact-person/dealContactPersonCreateForm.model.d.ts +0 -9
  581. package/dist/models/deal/contact-person/dealContactPersonDetail.model.d.ts +0 -12
  582. package/dist/models/deal/contact-person/dealContactPersonDetailDto.model.d.ts +0 -2
  583. package/dist/models/deal/contact-person/dealContactPersonUpdateForm.model.d.ts +0 -9
  584. package/dist/models/deal/create/dealCreate.transformer.d.ts +0 -5
  585. package/dist/models/deal/create/dealCreateDto.model.d.ts +0 -2
  586. package/dist/models/deal/create/dealCreateForm.model.d.ts +0 -13
  587. package/dist/models/deal/dealSourceEnum.model.d.ts +0 -6
  588. package/dist/models/deal/dealUuid.model.d.ts +0 -3
  589. package/dist/models/deal/detail/dealDetail.model.d.ts +0 -41
  590. package/dist/models/deal/detail/dealDetail.transformer.d.ts +0 -5
  591. package/dist/models/deal/detail/dealDetailDto.model.d.ts +0 -2
  592. package/dist/models/deal/index/dealIndex.model.d.ts +0 -28
  593. package/dist/models/deal/index/dealIndex.transformer.d.ts +0 -5
  594. package/dist/models/deal/index/dealIndexDto.model.d.ts +0 -2
  595. package/dist/models/deal/index/dealIndexQueryParams.model.d.ts +0 -7
  596. package/dist/models/deal/index/dealIndexQueryParams.tranformer.d.ts +0 -6
  597. package/dist/models/deal/update/dealUpdate.transformer.d.ts +0 -5
  598. package/dist/models/deal/update/dealUpdateDto.model.d.ts +0 -2
  599. package/dist/models/deal/update/dealUpdateForm.model.d.ts +0 -12
  600. package/dist/models/enitityType.model.d.ts +0 -4
  601. package/dist/models/file-reference/fileReference.model.d.ts +0 -21
  602. package/dist/models/file-reference/fileReference.transformer.d.ts +0 -19
  603. package/dist/models/file-reference/fileReferenceForm.model.d.ts +0 -10
  604. package/dist/models/global-search/globalSearchItem.model.d.ts +0 -43
  605. package/dist/models/global-search/globalSearchItem.transformer.d.ts +0 -11
  606. package/dist/models/individual/billing-information/individualBillingInformation.model.d.ts +0 -14
  607. package/dist/models/individual/billing-information/individualBillingInformation.transformer.d.ts +0 -5
  608. package/dist/models/individual/billing-information/individualBillingInformationDto.model.d.ts +0 -2
  609. package/dist/models/individual/billing-information/update/individualBillingInformationForm.model.d.ts +0 -74
  610. package/dist/models/individual/billing-information/update/individualBillingInformationForm.transformer.d.ts +0 -5
  611. package/dist/models/individual/billing-information/update/individualBillingInformationFormDto.model.d.ts +0 -2
  612. package/dist/models/individual/contact-person/individualContactPerson.transformer.d.ts +0 -5
  613. package/dist/models/individual/contact-person/individualContactPersonDetail.model.d.ts +0 -12
  614. package/dist/models/individual/contact-person/individualContactPersonDetailDto.model.d.ts +0 -2
  615. package/dist/models/individual/contact-person/individualDetailContactPerson.model.d.ts +0 -11
  616. package/dist/models/individual/create/individualCreate.transformer.d.ts +0 -5
  617. package/dist/models/individual/create/individualCreateDto.model.d.ts +0 -2
  618. package/dist/models/individual/create/individualCreateForm.model.d.ts +0 -48
  619. package/dist/models/individual/detail/individualDetail.model.d.ts +0 -41
  620. package/dist/models/individual/detail/individualDetail.transformer.d.ts +0 -5
  621. package/dist/models/individual/detail/individualDetailDto.model.d.ts +0 -2
  622. package/dist/models/individual/index/individualIndex.model.d.ts +0 -8
  623. package/dist/models/individual/index/individualIndex.transformer.d.ts +0 -5
  624. package/dist/models/individual/index/individualIndexDto.model.d.ts +0 -2
  625. package/dist/models/individual/index/individualIndexQueryParams.model.d.ts +0 -3
  626. package/dist/models/individual/index/individualIndexQueryParams.transformer.d.ts +0 -6
  627. package/dist/models/individual/individualItem.model.d.ts +0 -6
  628. package/dist/models/individual/individualUuid.model.d.ts +0 -3
  629. package/dist/models/individual/statistics/individualStatistics.model.d.ts +0 -5
  630. package/dist/models/individual/statistics/individualStatistics.transformer.d.ts +0 -5
  631. package/dist/models/individual/update/individualUpdate.transformer.d.ts +0 -7
  632. package/dist/models/individual/update/individualUpdateDto.model.d.ts +0 -2
  633. package/dist/models/individual/update/individualUpdateForm.model.d.ts +0 -51
  634. package/dist/models/locale/locale.model.d.ts +0 -8
  635. package/dist/models/location/locationUuid.model.d.ts +0 -3
  636. package/dist/models/mail/create/mailCreate.transformer.d.ts +0 -6
  637. package/dist/models/mail/create/mailCreateDto.model.d.ts +0 -2
  638. package/dist/models/mail/create/mailCreateForm.model.d.ts +0 -26
  639. package/dist/models/mail/index/mailIndex.model.d.ts +0 -24
  640. package/dist/models/mail/index/mailIndex.transformer.d.ts +0 -8
  641. package/dist/models/mail/index/mailIndexDto.model.d.ts +0 -2
  642. package/dist/models/mail/index/mailIndexQueryParams.model.d.ts +0 -9
  643. package/dist/models/mail/index/mailIndexQueryParams.transformer.d.ts +0 -6
  644. package/dist/models/mail/mailUuid.model.d.ts +0 -3
  645. package/dist/models/mail-template/detail/mailTemplateDetail.model.d.ts +0 -23
  646. package/dist/models/mail-template/detail/mailTemplateDetail.transformer.d.ts +0 -5
  647. package/dist/models/mail-template/detail/mailTemplateDetailDto.model.d.ts +0 -2
  648. package/dist/models/mail-template/index/mailTemplateIndex.model.d.ts +0 -8
  649. package/dist/models/mail-template/index/mailTemplateIndex.transformer.d.ts +0 -5
  650. package/dist/models/mail-template/index/mailTemplateIndexDto.model.d.ts +0 -2
  651. package/dist/models/mail-template/index/mailTemplateIndexQueryParams.model.d.ts +0 -2
  652. package/dist/models/mail-template/index/mailTemplateIndexQueryParams.transformer.d.ts +0 -6
  653. package/dist/models/mail-template/mailTemplateUuid.model.d.ts +0 -3
  654. package/dist/models/mail-template/update/mailTemplateUpdate.transformer.d.ts +0 -5
  655. package/dist/models/mail-template/update/mailTemplateUpdateDto.model.d.ts +0 -2
  656. package/dist/models/mail-template/update/mailTemplateUpdateForm.model.d.ts +0 -36
  657. package/dist/models/notes/create/noteCreateDto.model.d.ts +0 -2
  658. package/dist/models/notes/create/noteCreateForm.model.d.ts +0 -5
  659. package/dist/models/notes/index/noteIndex.model.d.ts +0 -9
  660. package/dist/models/notes/index/noteIndexDto.model.d.ts +0 -2
  661. package/dist/models/notes/index/noteIndexQueryParams.model.d.ts +0 -2
  662. package/dist/models/notes/note.transformer.d.ts +0 -13
  663. package/dist/models/notes/noteUuid.model.d.ts +0 -3
  664. package/dist/models/phone-number/phoneNumberForm.model.d.ts +0 -3
  665. package/dist/models/recent-entities/recentEntities.transformer.d.ts +0 -10
  666. package/dist/models/recent-entities/recentEntitiesIndexQueryParams.d.ts +0 -3
  667. package/dist/models/recent-entities/recentEntitiesItem.model.d.ts +0 -8
  668. package/dist/models/recent-entities/recentEntitiesPagination.model.d.ts +0 -5
  669. package/dist/models/recent-entities/recentEntitiesPaginationDto.model.d.ts +0 -4
  670. package/dist/models/tenant-config/tenantConfig.model.d.ts +0 -30
  671. package/dist/models/tenant-config/tenantConfig.transformer.d.ts +0 -5
  672. package/dist/models/tenant-config/tenantConfigDto.model.d.ts +0 -2
  673. package/dist/models/user/index/userIndex.model.d.ts +0 -12
  674. package/dist/models/user/index/userIndex.transformer.d.ts +0 -5
  675. package/dist/models/user/index/userIndexDto.model.d.ts +0 -11
  676. package/dist/models/user/index/userIndexQueryParams.model.d.ts +0 -3
  677. package/dist/models/user/userUuid.model.d.ts +0 -3
  678. package/dist/models/vat-number/vatNumber.model.d.ts +0 -7
  679. package/dist/models/vat-number/vatNumber.transformer.d.ts +0 -8
  680. package/dist/plugins/dayjs.plugin.d.ts +0 -2
  681. package/dist/plugins/i18n.plugin.d.ts +0 -1266
  682. package/dist/plugins/pinia.plugin.d.ts +0 -1
  683. package/dist/plugins/vueQuery.plugin.d.ts +0 -5
  684. package/dist/routes/crmRoutes.composable.d.ts +0 -12
  685. package/dist/testing/factories/business.factory.d.ts +0 -10
  686. package/dist/testing/factories/deal.factory.d.ts +0 -8
  687. package/dist/testing/factories/factory.util.d.ts +0 -12
  688. package/dist/testing/factories/index.d.ts +0 -5
  689. package/dist/testing/factories/individual.factory.d.ts +0 -10
  690. package/dist/testing/factories/note.factory.d.ts +0 -10
  691. package/dist/testing/factories/tenantConfig.factory.d.ts +0 -5
  692. package/dist/testing/index.d.ts +0 -1
  693. package/dist/types/apiError.type.d.ts +0 -11
  694. package/dist/types/dialog-content-tab/dialogContentTab.type.d.ts +0 -6
  695. package/dist/types/enum.type.d.ts +0 -8
  696. package/dist/types/pagination.type.d.ts +0 -37
  697. package/dist/types/query.type.d.ts +0 -21
  698. package/dist/types/queryKey.type.d.ts +0 -115
  699. package/dist/types/table.type.d.ts +0 -64
  700. package/dist/types/withKeyboardShortcut.type.d.ts +0 -4
  701. package/dist/utils/address.util.d.ts +0 -5
  702. package/dist/utils/apiError.util.d.ts +0 -5
  703. package/dist/utils/belgianSsn.util.d.ts +0 -30
  704. package/dist/utils/color.util.d.ts +0 -6
  705. package/dist/utils/context.util.d.ts +0 -8
  706. package/dist/utils/customFieldDefinition.util.d.ts +0 -5
  707. package/dist/utils/date.util.d.ts +0 -14
  708. package/dist/utils/entityRoute.util.d.ts +0 -8
  709. package/dist/utils/entityType.util.d.ts +0 -10
  710. package/dist/utils/error.util.d.ts +0 -8
  711. package/dist/utils/file.util.d.ts +0 -5
  712. package/dist/utils/form.util.d.ts +0 -9
  713. package/dist/utils/locale.util.d.ts +0 -3
  714. package/dist/utils/logger.util.d.ts +0 -6
  715. package/dist/utils/name.util.d.ts +0 -6
  716. package/dist/utils/object.util.d.ts +0 -14
  717. package/dist/utils/string.util.d.ts +0 -5
  718. package/dist/utils/translation.util.d.ts +0 -4
  719. package/dist/utils/uuid.util.d.ts +0 -3
  720. package/dist/utils/vatNumber.util.d.ts +0 -4
  721. package/dist/uuid.util-DpiDKVoj.js +0 -11
  722. package/dist/widgets/WidgetBusinessStatistics.vue.d.ts +0 -7
  723. package/dist/widgets/WidgetIndividualStatistics.vue.d.ts +0 -7
  724. package/dist/widgets/WidgetRecentlyCreated.vue.d.ts +0 -3
  725. package/dist/widgets/components/WidgetRecentlyCreatedItem.vue.d.ts +0 -11
  726. package/dist/widgets/svg/BackgroundAvatar.vue.d.ts +0 -3
  727. package/dist/widgets/svg/BackgroundBuilding.vue.d.ts +0 -3
  728. package/dist/widgets/svg/BackgroundPattern.vue.d.ts +0 -3
@@ -1,1099 +0,0 @@
1
- import { t as e } from "./_plugin-vue_export-helper-D3hKq4w_.js";
2
- import t from "zod";
3
- import { computed as n, createElementBlock as r, defineComponent as i, getCurrentScope as a, hasInjectionContext as o, inject as s, isRef as c, normalizeClass as l, onScopeDispose as u, openBlock as d, reactive as f, readonly as p, renderSlot as m, shallowReactive as h, shallowReadonly as g, toRefs as _, unref as v, watch as y } from "vue";
4
- import { useI18n as b } from "vue-i18n";
5
- import { useInjectConfigContext as x } from "@wisemen/vue-core-components";
6
- import { Temporal as S } from "temporal-polyfill";
7
- //#region ../../node_modules/.pnpm/@wisemen+vue-core-query@0.0.47_motion-v@2.2.1_@vueuse+core@14.2.1_vue@3.5.32_typescript_11c6a2830f9095f6795776c7b67c8655/node_modules/@wisemen/vue-core-query/dist/index.js
8
- var C = class {
9
- constructor() {
10
- this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
11
- }
12
- subscribe(e) {
13
- return this.listeners.add(e), this.onSubscribe(), () => {
14
- this.listeners.delete(e), this.onUnsubscribe();
15
- };
16
- }
17
- hasListeners() {
18
- return this.listeners.size > 0;
19
- }
20
- onSubscribe() {}
21
- onUnsubscribe() {}
22
- }, w = typeof window > "u" || "Deno" in globalThis;
23
- function ee() {}
24
- function T(e) {
25
- return typeof e == "number" && e >= 0 && e !== Infinity;
26
- }
27
- function te(e, t) {
28
- return Math.max(e + (t || 0) - Date.now(), 0);
29
- }
30
- function E(e, t) {
31
- return typeof e == "function" ? e(t) : e;
32
- }
33
- function D(e, t) {
34
- return typeof e == "function" ? e(t) : e;
35
- }
36
- function O(e) {
37
- return JSON.stringify(e, (e, t) => M(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
38
- }
39
- function k(e, t) {
40
- if (e === t) return e;
41
- let n = j(e) && j(t);
42
- if (n || M(e) && M(t)) {
43
- let r = n ? e : Object.keys(e), i = r.length, a = n ? t : Object.keys(t), o = a.length, s = n ? [] : {}, c = 0;
44
- for (let i = 0; i < o; i++) {
45
- let o = n ? i : a[i];
46
- (!n && r.includes(o) || n) && e[o] === void 0 && t[o] === void 0 ? (s[o] = void 0, c++) : (s[o] = k(e[o], t[o]), s[o] === e[o] && e[o] !== void 0 && c++);
47
- }
48
- return i === o && c === i ? e : s;
49
- }
50
- return t;
51
- }
52
- function A(e, t) {
53
- if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
54
- for (let n in e) if (e[n] !== t[n]) return !1;
55
- return !0;
56
- }
57
- function j(e) {
58
- return Array.isArray(e) && e.length === Object.keys(e).length;
59
- }
60
- function M(e) {
61
- if (!N(e)) return !1;
62
- let t = e.constructor;
63
- if (t === void 0) return !0;
64
- let n = t.prototype;
65
- return !(!N(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
66
- }
67
- function N(e) {
68
- return Object.prototype.toString.call(e) === "[object Object]";
69
- }
70
- function P(e, t, n) {
71
- if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
72
- if (n.structuralSharing !== !1) {
73
- if (process.env.NODE_ENV !== "production") try {
74
- return k(e, t);
75
- } catch (e) {
76
- throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`), e;
77
- }
78
- return k(e, t);
79
- }
80
- return t;
81
- }
82
- function ne(e, t, n = 0) {
83
- let r = [...e, t];
84
- return n && r.length > n ? r.slice(1) : r;
85
- }
86
- function re(e, t, n = 0) {
87
- let r = [t, ...e];
88
- return n && r.length > n ? r.slice(0, -1) : r;
89
- }
90
- var F = Symbol();
91
- function ie(e, t) {
92
- return process.env.NODE_ENV !== "production" && e.queryFn === F && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === F ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
93
- }
94
- function I(e, t) {
95
- return typeof e == "function" ? e(...t) : !!e;
96
- }
97
- var ae = new class extends C {
98
- #e;
99
- #t;
100
- #n;
101
- constructor() {
102
- super(), this.#n = (e) => {
103
- if (!w && window.addEventListener) {
104
- let t = () => e();
105
- return window.addEventListener("visibilitychange", t, !1), () => {
106
- window.removeEventListener("visibilitychange", t);
107
- };
108
- }
109
- };
110
- }
111
- onSubscribe() {
112
- this.#t || this.setEventListener(this.#n);
113
- }
114
- onUnsubscribe() {
115
- this.hasListeners() || (this.#t?.(), this.#t = void 0);
116
- }
117
- setEventListener(e) {
118
- this.#n = e, this.#t?.(), this.#t = e((e) => {
119
- typeof e == "boolean" ? this.setFocused(e) : this.onFocus();
120
- });
121
- }
122
- setFocused(e) {
123
- this.#e !== e && (this.#e = e, this.onFocus());
124
- }
125
- onFocus() {
126
- let e = this.isFocused();
127
- this.listeners.forEach((t) => {
128
- t(e);
129
- });
130
- }
131
- isFocused() {
132
- return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
133
- }
134
- }(), oe = new class extends C {
135
- #e = !0;
136
- #t;
137
- #n;
138
- constructor() {
139
- super(), this.#n = (e) => {
140
- if (!w && window.addEventListener) {
141
- let t = () => e(!0), n = () => e(!1);
142
- return window.addEventListener("online", t, !1), window.addEventListener("offline", n, !1), () => {
143
- window.removeEventListener("online", t), window.removeEventListener("offline", n);
144
- };
145
- }
146
- };
147
- }
148
- onSubscribe() {
149
- this.#t || this.setEventListener(this.#n);
150
- }
151
- onUnsubscribe() {
152
- this.hasListeners() || (this.#t?.(), this.#t = void 0);
153
- }
154
- setEventListener(e) {
155
- this.#n = e, this.#t?.(), this.#t = e(this.setOnline.bind(this));
156
- }
157
- setOnline(e) {
158
- this.#e !== e && (this.#e = e, this.listeners.forEach((t) => {
159
- t(e);
160
- }));
161
- }
162
- isOnline() {
163
- return this.#e;
164
- }
165
- }();
166
- function L() {
167
- let e, t, n = new Promise((n, r) => {
168
- e = n, t = r;
169
- });
170
- n.status = "pending", n.catch(() => {});
171
- function r(e) {
172
- Object.assign(n, e), delete n.resolve, delete n.reject;
173
- }
174
- return n.resolve = (t) => {
175
- r({
176
- status: "fulfilled",
177
- value: t
178
- }), e(t);
179
- }, n.reject = (e) => {
180
- r({
181
- status: "rejected",
182
- reason: e
183
- }), t(e);
184
- }, n;
185
- }
186
- function se(e) {
187
- return (e ?? "online") === "online" ? oe.isOnline() : !0;
188
- }
189
- var ce = (e) => setTimeout(e, 0);
190
- function le() {
191
- let e = [], t = 0, n = (e) => {
192
- e();
193
- }, r = (e) => {
194
- e();
195
- }, i = ce, a = (r) => {
196
- t ? e.push(r) : i(() => {
197
- n(r);
198
- });
199
- }, o = () => {
200
- let t = e;
201
- e = [], t.length && i(() => {
202
- r(() => {
203
- t.forEach((e) => {
204
- n(e);
205
- });
206
- });
207
- });
208
- };
209
- return {
210
- batch: (e) => {
211
- let n;
212
- t++;
213
- try {
214
- n = e();
215
- } finally {
216
- t--, t || o();
217
- }
218
- return n;
219
- },
220
- batchCalls: (e) => (...t) => {
221
- a(() => {
222
- e(...t);
223
- });
224
- },
225
- schedule: a,
226
- setNotifyFunction: (e) => {
227
- n = e;
228
- },
229
- setBatchNotifyFunction: (e) => {
230
- r = e;
231
- },
232
- setScheduler: (e) => {
233
- i = e;
234
- }
235
- };
236
- }
237
- var R = le();
238
- function ue(e, t) {
239
- return {
240
- fetchFailureCount: 0,
241
- fetchFailureReason: null,
242
- fetchStatus: se(t.networkMode) ? "fetching" : "paused",
243
- ...e === void 0 && {
244
- error: null,
245
- status: "pending"
246
- }
247
- };
248
- }
249
- function de() {
250
- return {
251
- context: void 0,
252
- data: void 0,
253
- error: null,
254
- failureCount: 0,
255
- failureReason: null,
256
- isPaused: !1,
257
- status: "idle",
258
- variables: void 0,
259
- submittedAt: 0
260
- };
261
- }
262
- function z(e) {
263
- return { onFetch: (e, t) => {
264
- let n = e.options, r = e.fetchOptions?.meta?.fetchMore?.direction, i = e.state.data?.pages || [], a = e.state.data?.pageParams || [], o = {
265
- pages: [],
266
- pageParams: []
267
- }, s = 0, c = async () => {
268
- let t = !1, c = (n) => {
269
- Object.defineProperty(n, "signal", {
270
- enumerable: !0,
271
- get: () => (e.signal.aborted ? t = !0 : e.signal.addEventListener("abort", () => {
272
- t = !0;
273
- }), e.signal)
274
- });
275
- }, l = ie(e.options, e.fetchOptions), u = async (n, r, i) => {
276
- if (t) return Promise.reject();
277
- if (r == null && n.pages.length) return Promise.resolve(n);
278
- let a = {
279
- client: e.client,
280
- queryKey: e.queryKey,
281
- pageParam: r,
282
- direction: i ? "backward" : "forward",
283
- meta: e.options.meta
284
- };
285
- c(a);
286
- let o = await l(a), { maxPages: s } = e.options, u = i ? re : ne;
287
- return {
288
- pages: u(n.pages, o, s),
289
- pageParams: u(n.pageParams, r, s)
290
- };
291
- };
292
- if (r && i.length) {
293
- let e = r === "backward", t = e ? V : B, s = {
294
- pages: i,
295
- pageParams: a
296
- };
297
- o = await u(s, t(n, s), e);
298
- } else {
299
- let e = i.length;
300
- do {
301
- let e = s === 0 ? a[0] ?? n.initialPageParam : B(n, o);
302
- if (s > 0 && e == null) break;
303
- o = await u(o, e), s++;
304
- } while (s < e);
305
- }
306
- return o;
307
- };
308
- e.options.persister ? e.fetchFn = () => e.options.persister?.(c, {
309
- client: e.client,
310
- queryKey: e.queryKey,
311
- meta: e.options.meta,
312
- signal: e.signal
313
- }, t) : e.fetchFn = c;
314
- } };
315
- }
316
- function B(e, { pages: t, pageParams: n }) {
317
- let r = t.length - 1;
318
- return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
319
- }
320
- function V(e, { pages: t, pageParams: n }) {
321
- return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
322
- }
323
- function fe(e, t) {
324
- return t ? B(e, t) != null : !1;
325
- }
326
- function pe(e, t) {
327
- return !t || !e.getPreviousPageParam ? !1 : V(e, t) != null;
328
- }
329
- var H = class extends C {
330
- constructor(e, t) {
331
- super(), this.options = t, this.#e = e, this.#s = null, this.#o = L(), this.options.experimental_prefetchInRender || this.#o.reject(/* @__PURE__ */ Error("experimental_prefetchInRender feature flag is not enabled")), this.bindMethods(), this.setOptions(t);
332
- }
333
- #e;
334
- #t = void 0;
335
- #n = void 0;
336
- #r = void 0;
337
- #i;
338
- #a;
339
- #o;
340
- #s;
341
- #c;
342
- #l;
343
- #u;
344
- #d;
345
- #f;
346
- #p;
347
- #m = /* @__PURE__ */ new Set();
348
- bindMethods() {
349
- this.refetch = this.refetch.bind(this);
350
- }
351
- onSubscribe() {
352
- this.listeners.size === 1 && (this.#t.addObserver(this), U(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
353
- }
354
- onUnsubscribe() {
355
- this.hasListeners() || this.destroy();
356
- }
357
- shouldFetchOnReconnect() {
358
- return W(this.#t, this.options, this.options.refetchOnReconnect);
359
- }
360
- shouldFetchOnWindowFocus() {
361
- return W(this.#t, this.options, this.options.refetchOnWindowFocus);
362
- }
363
- destroy() {
364
- this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
365
- }
366
- setOptions(e) {
367
- let t = this.options, n = this.#t;
368
- if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof D(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
369
- this.#S(), this.#t.setOptions(this.options), t._defaulted && !A(this.options, t) && this.#e.getQueryCache().notify({
370
- type: "observerOptionsUpdated",
371
- query: this.#t,
372
- observer: this
373
- });
374
- let r = this.hasListeners();
375
- r && G(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || D(this.options.enabled, this.#t) !== D(t.enabled, this.#t) || E(this.options.staleTime, this.#t) !== E(t.staleTime, this.#t)) && this.#g();
376
- let i = this.#_();
377
- r && (this.#t !== n || D(this.options.enabled, this.#t) !== D(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
378
- }
379
- getOptimisticResult(e) {
380
- let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
381
- return he(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
382
- }
383
- getCurrentResult() {
384
- return this.#r;
385
- }
386
- trackResult(e, t) {
387
- return new Proxy(e, { get: (e, n) => (this.trackProp(n), t?.(n), Reflect.get(e, n)) });
388
- }
389
- trackProp(e) {
390
- this.#m.add(e);
391
- }
392
- getCurrentQuery() {
393
- return this.#t;
394
- }
395
- refetch({ ...e } = {}) {
396
- return this.fetch({ ...e });
397
- }
398
- fetchOptimistic(e) {
399
- let t = this.#e.defaultQueryOptions(e), n = this.#e.getQueryCache().build(this.#e, t);
400
- return n.fetch().then(() => this.createResult(n, t));
401
- }
402
- fetch(e) {
403
- return this.#h({
404
- ...e,
405
- cancelRefetch: e.cancelRefetch ?? !0
406
- }).then(() => (this.updateResult(), this.#r));
407
- }
408
- #h(e) {
409
- this.#S();
410
- let t = this.#t.fetch(this.options, e);
411
- return e?.throwOnError || (t = t.catch(ee)), t;
412
- }
413
- #g() {
414
- this.#b();
415
- let e = E(this.options.staleTime, this.#t);
416
- if (w || this.#r.isStale || !T(e)) return;
417
- let t = te(this.#r.dataUpdatedAt, e) + 1;
418
- this.#d = setTimeout(() => {
419
- this.#r.isStale || this.updateResult();
420
- }, t);
421
- }
422
- #_() {
423
- return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
424
- }
425
- #v(e) {
426
- this.#x(), this.#p = e, !(w || D(this.options.enabled, this.#t) === !1 || !T(this.#p) || this.#p === 0) && (this.#f = setInterval(() => {
427
- (this.options.refetchIntervalInBackground || ae.isFocused()) && this.#h();
428
- }, this.#p));
429
- }
430
- #y() {
431
- this.#g(), this.#v(this.#_());
432
- }
433
- #b() {
434
- this.#d &&= (clearTimeout(this.#d), void 0);
435
- }
436
- #x() {
437
- this.#f &&= (clearInterval(this.#f), void 0);
438
- }
439
- createResult(e, t) {
440
- let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
441
- if (t._optimisticResults) {
442
- let i = this.hasListeners(), a = !i && U(e, t), o = i && G(e, n, t, r);
443
- (a || o) && (l = {
444
- ...l,
445
- ...ue(c.data, e.options)
446
- }), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
447
- }
448
- let { error: f, errorUpdatedAt: p, status: m } = l;
449
- d = l.data;
450
- let h = !1;
451
- if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
452
- let e;
453
- i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d = P(i?.data, e, t), u = !0);
454
- }
455
- if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
456
- else try {
457
- this.#c = t.select, d = t.select(d), d = P(i?.data, d, t), this.#l = d, this.#s = null;
458
- } catch (e) {
459
- this.#s = e;
460
- }
461
- this.#s && (f = this.#s, d = this.#l, p = Date.now(), m = "error");
462
- let g = l.fetchStatus === "fetching", _ = m === "pending", v = m === "error", y = _ && g, b = d !== void 0, x = {
463
- status: m,
464
- fetchStatus: l.fetchStatus,
465
- isPending: _,
466
- isSuccess: m === "success",
467
- isError: v,
468
- isInitialLoading: y,
469
- isLoading: y,
470
- data: d,
471
- dataUpdatedAt: l.dataUpdatedAt,
472
- error: f,
473
- errorUpdatedAt: p,
474
- failureCount: l.fetchFailureCount,
475
- failureReason: l.fetchFailureReason,
476
- errorUpdateCount: l.errorUpdateCount,
477
- isFetched: l.dataUpdateCount > 0 || l.errorUpdateCount > 0,
478
- isFetchedAfterMount: l.dataUpdateCount > s.dataUpdateCount || l.errorUpdateCount > s.errorUpdateCount,
479
- isFetching: g,
480
- isRefetching: g && !_,
481
- isLoadingError: v && !b,
482
- isPaused: l.fetchStatus === "paused",
483
- isPlaceholderData: u,
484
- isRefetchError: v && b,
485
- isStale: K(e, t),
486
- refetch: this.refetch,
487
- promise: this.#o
488
- };
489
- if (this.options.experimental_prefetchInRender) {
490
- let t = (e) => {
491
- x.status === "error" ? e.reject(x.error) : x.data !== void 0 && e.resolve(x.data);
492
- }, r = () => {
493
- t(this.#o = x.promise = L());
494
- }, i = this.#o;
495
- switch (i.status) {
496
- case "pending":
497
- e.queryHash === n.queryHash && t(i);
498
- break;
499
- case "fulfilled":
500
- (x.status === "error" || x.data !== i.value) && r();
501
- break;
502
- case "rejected":
503
- (x.status !== "error" || x.error !== i.reason) && r();
504
- break;
505
- }
506
- }
507
- return x;
508
- }
509
- updateResult() {
510
- let e = this.#r, t = this.createResult(this.#t, this.options);
511
- this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !A(t, e) && (this.#r = t, this.#C({ listeners: (() => {
512
- if (!e) return !0;
513
- let { notifyOnChangeProps: t } = this.options, n = typeof t == "function" ? t() : t;
514
- if (n === "all" || !n && !this.#m.size) return !0;
515
- let r = new Set(n ?? this.#m);
516
- return this.options.throwOnError && r.add("error"), Object.keys(this.#r).some((t) => {
517
- let n = t;
518
- return this.#r[n] !== e[n] && r.has(n);
519
- });
520
- })() }));
521
- }
522
- #S() {
523
- let e = this.#e.getQueryCache().build(this.#e, this.options);
524
- if (e === this.#t) return;
525
- let t = this.#t;
526
- this.#t = e, this.#n = e.state, this.hasListeners() && (t?.removeObserver(this), e.addObserver(this));
527
- }
528
- onQueryUpdate() {
529
- this.updateResult(), this.hasListeners() && this.#y();
530
- }
531
- #C(e) {
532
- R.batch(() => {
533
- e.listeners && this.listeners.forEach((e) => {
534
- e(this.#r);
535
- }), this.#e.getQueryCache().notify({
536
- query: this.#t,
537
- type: "observerResultsUpdated"
538
- });
539
- });
540
- }
541
- };
542
- function me(e, t) {
543
- return D(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
544
- }
545
- function U(e, t) {
546
- return me(e, t) || e.state.data !== void 0 && W(e, t, t.refetchOnMount);
547
- }
548
- function W(e, t, n) {
549
- if (D(t.enabled, e) !== !1) {
550
- let r = typeof n == "function" ? n(e) : n;
551
- return r === "always" || r !== !1 && K(e, t);
552
- }
553
- return !1;
554
- }
555
- function G(e, t, n, r) {
556
- return (e !== t || D(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && K(e, n);
557
- }
558
- function K(e, t) {
559
- return D(t.enabled, e) !== !1 && e.isStaleByTime(E(t.staleTime, e));
560
- }
561
- function he(e, t) {
562
- return !A(e.getCurrentResult(), t);
563
- }
564
- var ge = class extends H {
565
- constructor(e, t) {
566
- super(e, t);
567
- }
568
- bindMethods() {
569
- super.bindMethods(), this.fetchNextPage = this.fetchNextPage.bind(this), this.fetchPreviousPage = this.fetchPreviousPage.bind(this);
570
- }
571
- setOptions(e) {
572
- super.setOptions({
573
- ...e,
574
- behavior: z()
575
- });
576
- }
577
- getOptimisticResult(e) {
578
- return e.behavior = z(), super.getOptimisticResult(e);
579
- }
580
- fetchNextPage(e) {
581
- return this.fetch({
582
- ...e,
583
- meta: { fetchMore: { direction: "forward" } }
584
- });
585
- }
586
- fetchPreviousPage(e) {
587
- return this.fetch({
588
- ...e,
589
- meta: { fetchMore: { direction: "backward" } }
590
- });
591
- }
592
- createResult(e, t) {
593
- let { state: n } = e, r = super.createResult(e, t), { isFetching: i, isRefetching: a, isError: o, isRefetchError: s } = r, c = n.fetchMeta?.fetchMore?.direction, l = o && c === "forward", u = i && c === "forward", d = o && c === "backward", f = i && c === "backward";
594
- return {
595
- ...r,
596
- fetchNextPage: this.fetchNextPage,
597
- fetchPreviousPage: this.fetchPreviousPage,
598
- hasNextPage: fe(t, n.data),
599
- hasPreviousPage: pe(t, n.data),
600
- isFetchNextPageError: l,
601
- isFetchingNextPage: u,
602
- isFetchPreviousPageError: d,
603
- isFetchingPreviousPage: f,
604
- isRefetchError: s && !l && !d,
605
- isRefetching: a && !u && !f
606
- };
607
- }
608
- }, _e = class extends C {
609
- #e;
610
- #t = void 0;
611
- #n;
612
- #r;
613
- constructor(e, t) {
614
- super(), this.#e = e, this.setOptions(t), this.bindMethods(), this.#i();
615
- }
616
- bindMethods() {
617
- this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
618
- }
619
- setOptions(e) {
620
- let t = this.options;
621
- this.options = this.#e.defaultMutationOptions(e), A(this.options, t) || this.#e.getMutationCache().notify({
622
- type: "observerOptionsUpdated",
623
- mutation: this.#n,
624
- observer: this
625
- }), t?.mutationKey && this.options.mutationKey && O(t.mutationKey) !== O(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
626
- }
627
- onUnsubscribe() {
628
- this.hasListeners() || this.#n?.removeObserver(this);
629
- }
630
- onMutationUpdate(e) {
631
- this.#i(), this.#a(e);
632
- }
633
- getCurrentResult() {
634
- return this.#t;
635
- }
636
- reset() {
637
- this.#n?.removeObserver(this), this.#n = void 0, this.#i(), this.#a();
638
- }
639
- mutate(e, t) {
640
- return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);
641
- }
642
- #i() {
643
- let e = this.#n?.state ?? de();
644
- this.#t = {
645
- ...e,
646
- isPending: e.status === "pending",
647
- isSuccess: e.status === "success",
648
- isError: e.status === "error",
649
- isIdle: e.status === "idle",
650
- mutate: this.mutate,
651
- reset: this.reset
652
- };
653
- }
654
- #a(e) {
655
- R.batch(() => {
656
- if (this.#r && this.hasListeners()) {
657
- let t = this.#t.variables, n = this.#t.context;
658
- e?.type === "success" ? (this.#r.onSuccess?.(e.data, t, n), this.#r.onSettled?.(e.data, null, t, n)) : e?.type === "error" && (this.#r.onError?.(e.error, t, n), this.#r.onSettled?.(void 0, e.error, t, n));
659
- }
660
- this.listeners.forEach((e) => {
661
- e(this.#t);
662
- });
663
- });
664
- }
665
- }, ve = "VUE_QUERY_CLIENT";
666
- function ye(e) {
667
- return `${ve}${e ? `:${e}` : ""}`;
668
- }
669
- function q(e, t) {
670
- Object.keys(e).forEach((n) => {
671
- e[n] = t[n];
672
- });
673
- }
674
- function J(e, t, n = "", r = 0) {
675
- if (t) {
676
- let i = t(e, n, r);
677
- if (i === void 0 && c(e) || i !== void 0) return i;
678
- }
679
- if (Array.isArray(e)) return e.map((e, n) => J(e, t, String(n), r + 1));
680
- if (typeof e == "object" && xe(e)) {
681
- let n = Object.entries(e).map(([e, n]) => [e, J(n, t, e, r + 1)]);
682
- return Object.fromEntries(n);
683
- }
684
- return e;
685
- }
686
- function be(e, t) {
687
- return J(e, t);
688
- }
689
- function Y(e, t = !1) {
690
- return be(e, (e, n, r) => {
691
- if (r === 1 && n === "queryKey") return Y(e, !0);
692
- if (t && Se(e)) return Y(e(), t);
693
- if (c(e)) return Y(v(e), t);
694
- });
695
- }
696
- function xe(e) {
697
- if (Object.prototype.toString.call(e) !== "[object Object]") return !1;
698
- let t = Object.getPrototypeOf(e);
699
- return t === null || t === Object.prototype;
700
- }
701
- function Se(e) {
702
- return typeof e == "function";
703
- }
704
- function X(e = "") {
705
- if (!o()) throw Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");
706
- let t = s(ye(e));
707
- if (!t) throw Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");
708
- return t;
709
- }
710
- function Z(e, t, r) {
711
- process.env.NODE_ENV === "development" && (a() || console.warn("vue-query composable like \"useQuery()\" should only be used inside a \"setup()\" function or a running effect scope. They might otherwise lead to memory leaks."));
712
- let i = X(), o = n(() => {
713
- let e = Y(t);
714
- typeof e.enabled == "function" && (e.enabled = e.enabled());
715
- let n = i.defaultQueryOptions(e);
716
- return n._optimisticResults = i.isRestoring.value ? "isRestoring" : "optimistic", n;
717
- }), s = new e(i, o.value), c = o.value.shallow ? h(s.getCurrentResult()) : f(s.getCurrentResult()), l = () => {};
718
- y(i.isRestoring, (e) => {
719
- e || (l(), l = s.subscribe((e) => {
720
- q(c, e);
721
- }));
722
- }, { immediate: !0 });
723
- let d = () => {
724
- s.setOptions(o.value), q(c, s.getCurrentResult());
725
- };
726
- y(o, d), u(() => {
727
- l();
728
- });
729
- let m = (...e) => (d(), c.refetch(...e)), v = () => new Promise((e, t) => {
730
- let n = () => {}, r = () => {
731
- if (o.value.enabled !== !1) {
732
- s.setOptions(o.value);
733
- let r = s.getOptimisticResult(o.value);
734
- r.isStale ? (n(), s.fetchOptimistic(o.value).then(e, (n) => {
735
- I(o.value.throwOnError, [n, s.getCurrentQuery()]) ? t(n) : e(s.getCurrentResult());
736
- })) : (n(), e(r));
737
- }
738
- };
739
- r(), n = y(o, r);
740
- });
741
- y(() => c.error, (e) => {
742
- if (c.isError && !c.isFetching && I(o.value.throwOnError, [e, s.getCurrentQuery()])) throw e;
743
- });
744
- let b = _(o.value.shallow ? g(c) : p(c));
745
- for (let e in c) typeof c[e] == "function" && (b[e] = c[e]);
746
- return b.suspense = v, b.refetch = m, b;
747
- }
748
- function Ce(e, t) {
749
- return Z(H, e);
750
- }
751
- function we(e, t) {
752
- return Z(ge, e);
753
- }
754
- function Te(e, t) {
755
- process.env.NODE_ENV === "development" && (a() || console.warn("vue-query composable like \"useQuery()\" should only be used inside a \"setup()\" function or a running effect scope. They might otherwise lead to memory leaks."));
756
- let r = X(), i = n(() => r.defaultMutationOptions(Y(e))), o = new _e(r, i.value), s = i.value.shallow ? h(o.getCurrentResult()) : f(o.getCurrentResult()), c = o.subscribe((e) => {
757
- q(s, e);
758
- }), l = (e, t) => {
759
- o.mutate(e, t).catch(() => {});
760
- };
761
- y(i, () => {
762
- o.setOptions(i.value);
763
- }), u(() => {
764
- c();
765
- });
766
- let d = _(i.value.shallow ? g(s) : p(s));
767
- return y(() => s.error, (e) => {
768
- if (e && I(i.value.throwOnError, [e])) throw e;
769
- }), {
770
- ...d,
771
- mutate: l,
772
- mutateAsync: s.mutate,
773
- reset: s.reset
774
- };
775
- }
776
- function Ee(e) {
777
- let t = e.isDebug ?? !1, r = X();
778
- async function i(n, i) {
779
- await Promise.all(Object.entries(e.queryKeysToInvalidate).map(async ([e, a]) => {
780
- let o = Object.entries(a).reduce((e, [t, r]) => (e[t] = r(i, n), e), {});
781
- t && console.log(`[MUTATION] Invalidating ${e}`, o), await r.invalidateQueries({
782
- exact: !1,
783
- queryKey: [e, o]
784
- });
785
- }));
786
- }
787
- let a = Te({
788
- mutationFn: e.queryFn,
789
- onSuccess: async (e, t) => {
790
- if (t !== void 0 && "params" in t) {
791
- await i(e, t.params);
792
- return;
793
- }
794
- await i(e, {});
795
- }
796
- });
797
- async function o(e) {
798
- return await a.mutateAsync(e);
799
- }
800
- return {
801
- isLoading: n(() => a.isPending.value),
802
- data: n(() => a.data.value),
803
- execute: o
804
- };
805
- }
806
- function De(e) {
807
- let t = e.isDebug ?? !1, r = we({
808
- enabled: e.enabled,
809
- getNextPageParam: (e) => {
810
- if (e.meta === null) return null;
811
- if ("next" in e.meta) return e.meta.next;
812
- if ("offset" in e.meta) {
813
- let t = e.meta.offset + e.meta.limit;
814
- return t >= e.meta.total ? null : t;
815
- }
816
- return null;
817
- },
818
- initialPageParam: "key" in e.paginationOptions.value.pagination ? e.paginationOptions.value.pagination.key : e.paginationOptions.value.pagination.offset,
819
- placeholderData: (e) => e,
820
- queryFn: async ({ pageParam: t }) => {
821
- let n = e.paginationOptions.value.pagination;
822
- return await e.queryFn({
823
- ...e.paginationOptions.value,
824
- pagination: "key" in n ? {
825
- key: t,
826
- limit: n.limit,
827
- type: "keyset"
828
- } : {
829
- limit: n.limit,
830
- offset: t,
831
- type: "offset"
832
- }
833
- });
834
- },
835
- queryKey: i()
836
- });
837
- function i() {
838
- let [n, r] = Object.entries(e.queryKey)[0];
839
- return t && console.log(`Create query with key ${n}`, r), [n, r];
840
- }
841
- return {
842
- hasNextPage: n(() => r.hasNextPage.value),
843
- isError: n(() => r.isError.value),
844
- isFetching: n(() => r.isFetching.value),
845
- isFetchingNextPage: n(() => r.isFetchingNextPage.value),
846
- isLoading: n(() => r.isLoading.value),
847
- isSuccess: n(() => r.isSuccess.value),
848
- data: n(() => {
849
- let e = r.data.value?.pages.flatMap((e) => e.data) ?? [], t = r.data.value?.pages[0].meta ?? null;
850
- return t !== null && "next" in t ? {
851
- data: e,
852
- meta: {
853
- next: t.next,
854
- total: e.length
855
- }
856
- } : {
857
- data: e,
858
- meta: {
859
- limit: t?.limit ?? 0,
860
- offset: t?.offset ?? 0,
861
- total: t?.total ?? 0
862
- }
863
- };
864
- }),
865
- error: n(() => r.error.value),
866
- getNextPage: async () => {
867
- r.isFetchingNextPage.value || !r.hasNextPage.value || await r.fetchNextPage();
868
- },
869
- refetch: async () => {
870
- await r.refetch();
871
- }
872
- };
873
- }
874
- function Oe(e) {
875
- let t = e.isDebug ?? !1, r = Ce({
876
- staleTime: e.staleTime,
877
- enabled: e.isEnabled,
878
- placeholderData: (e) => e,
879
- queryFn: e.queryFn,
880
- queryKey: i()
881
- });
882
- function i() {
883
- let [n, r] = Object.entries(e.queryKey)[0];
884
- return t && console.log(`Create query with key ${n}`, r), [n, r];
885
- }
886
- async function a() {
887
- await r.refetch();
888
- }
889
- return {
890
- isError: n(() => r.isError.value),
891
- isFetching: n(() => r.isFetching.value),
892
- isLoading: n(() => r.isLoading.value),
893
- isSuccess: n(() => r.isSuccess.value),
894
- data: n(() => r.data.value ?? null),
895
- error: n(() => r.error.value),
896
- refetch: a
897
- };
898
- }
899
- //#endregion
900
- //#region src/models/date/date.transformer.ts
901
- var ke = class {
902
- static fromDto(e) {
903
- let t = S.Instant.from(e), n = S.Now.timeZoneId();
904
- return t.toZonedDateTimeISO(n);
905
- }
906
- static fromNullableDto(e) {
907
- return e === null ? null : this.fromDto(e);
908
- }
909
- }, Ae = /* @__PURE__ */ i({
910
- __name: "AppGroup",
911
- props: {
912
- align: { default: "center" },
913
- direction: { default: "row" },
914
- gap: { default: "md" },
915
- justify: { default: "start" }
916
- },
917
- setup(e) {
918
- let t = e, i = n(() => {
919
- switch (t.gap) {
920
- case "2xl": return "gap-2xl";
921
- case "3xl": return "gap-3xl";
922
- case "4xl": return "gap-4xl";
923
- case "5xl": return "gap-5xl";
924
- case "6xl": return "gap-6xl";
925
- case "7xl": return "gap-7xl";
926
- case "8xl": return "gap-8xl";
927
- case "9xl": return "gap-9xl";
928
- case "10xl": return "gap-10xl";
929
- case "11xl": return "gap-11xl";
930
- case "lg": return "gap-lg";
931
- case "md": return "gap-md";
932
- case "none": return "gap-none";
933
- case "sm": return "gap-sm";
934
- case "xl": return "gap-xl";
935
- case "xs": return "gap-xs";
936
- case "xxs": return "gap-xxs";
937
- default: return "gap-none";
938
- }
939
- }), a = n(() => {
940
- switch (t.justify) {
941
- case "between": return "justify-between";
942
- case "center": return "justify-center";
943
- case "end": return "justify-end";
944
- case "start": return "justify-start";
945
- default: return "justify-start";
946
- }
947
- }), o = n(() => {
948
- switch (t.align) {
949
- case "center": return "items-center";
950
- case "end": return "items-end";
951
- case "start": return "items-start";
952
- case "stretch": return "items-stretch";
953
- default: return "items-start";
954
- }
955
- }), s = n(() => {
956
- switch (t.direction) {
957
- case "col": return "flex-col";
958
- case "row": return "flex-row";
959
- default: return "flex-row";
960
- }
961
- });
962
- return (e, t) => (d(), r("div", { class: l([[
963
- o.value,
964
- a.value,
965
- i.value,
966
- s.value
967
- ], "flex"]) }, [m(e.$slots, "default")], 2));
968
- }
969
- }), je = t.instanceof(S.PlainDate), Q = class {
970
- static dateTimeToZonedDateTime(e) {
971
- return e.toZonedDateTime(this.getMyTimezone());
972
- }
973
- static diffInHours(e, t) {
974
- return this.diffInMinutes(e, t) / 60;
975
- }
976
- static diffInMinutes(e, t) {
977
- return this.diffInSeconds(e, t) / 60;
978
- }
979
- static diffInSeconds(e, t) {
980
- return Number(t.epochNanoseconds - e.epochNanoseconds) / 1e9;
981
- }
982
- static getDefaultHourCycle(e) {
983
- let { hourCycle: t } = new Intl.DateTimeFormat(e, { hour: "2-digit" }).resolvedOptions();
984
- return t === "h11" || t === "h12" ? "12-hour" : "24-hour";
985
- }
986
- static getMyTimezone() {
987
- return Intl.DateTimeFormat().resolvedOptions().timeZone;
988
- }
989
- static isToday(e) {
990
- let t = S.Now.zonedDateTimeISO(this.getMyTimezone()).toPlainDate(), n = e.toPlainDate();
991
- return t.equals(n);
992
- }
993
- static plainDateToDate(e) {
994
- return new Date(e.year, e.month - 1, e.day);
995
- }
996
- };
997
- //#endregion
998
- //#region src/composables/date-time-format/dateTimeFormat.composable.ts
999
- function $() {
1000
- return {
1001
- day: "2-digit",
1002
- month: "2-digit",
1003
- year: "numeric"
1004
- };
1005
- }
1006
- function Me() {
1007
- let { locale: e, t } = b(), r = x(), i = n(() => r.hourCycle.value || Q.getDefaultHourCycle(e.value));
1008
- function a(e) {
1009
- return {
1010
- hour: "2-digit",
1011
- hourCycle: i.value === "12-hour" ? "h11" : "h23",
1012
- minute: "2-digit",
1013
- second: e ? "2-digit" : void 0
1014
- };
1015
- }
1016
- function o(t, n = !1) {
1017
- return new Intl.DateTimeFormat(e.value, a(n)).format(t.epochMilliseconds);
1018
- }
1019
- function s(t) {
1020
- return new Intl.DateTimeFormat(e.value, $()).format(t.toZonedDateTime("UTC").epochMilliseconds);
1021
- }
1022
- function c(t, n = !1) {
1023
- return new Intl.DateTimeFormat(e.value, {
1024
- ...$(),
1025
- ...a(n)
1026
- }).format(t.epochMilliseconds);
1027
- }
1028
- function l(n, r = S.Now.instant()) {
1029
- let i = new Intl.RelativeTimeFormat(e.value, {
1030
- numeric: "auto",
1031
- style: "long"
1032
- }), a = n.epochMilliseconds - r.epochMilliseconds, o = [
1033
- {
1034
- ms: 1e3 * 60 * 60 * 24 * 365,
1035
- unit: "year"
1036
- },
1037
- {
1038
- ms: 1e3 * 60 * 60 * 24 * 30,
1039
- unit: "month"
1040
- },
1041
- {
1042
- ms: 1e3 * 60 * 60 * 24,
1043
- unit: "day"
1044
- },
1045
- {
1046
- ms: 1e3 * 60 * 60,
1047
- unit: "hour"
1048
- },
1049
- {
1050
- ms: 1e3 * 60,
1051
- unit: "minute"
1052
- },
1053
- {
1054
- ms: 1e3,
1055
- unit: "second"
1056
- }
1057
- ];
1058
- if (Math.abs(a) < 60 * 1e3) return t("shared.time_format.now");
1059
- for (let { ms: e, unit: t } of o) {
1060
- let n = Math.round(a / e);
1061
- if (Math.abs(n) >= 1) return i.format(n, t);
1062
- }
1063
- return i.format(0, "second");
1064
- }
1065
- function u(t, n = "long") {
1066
- let { hours: r, minutes: i, seconds: a } = S.Duration.from({ seconds: t });
1067
- if (t < 60) return new Intl.NumberFormat(e.value, {
1068
- style: "unit",
1069
- unit: "second",
1070
- unitDisplay: n
1071
- }).format(a);
1072
- let o = new Intl.NumberFormat(e.value, {
1073
- style: "unit",
1074
- unit: "hour",
1075
- unitDisplay: "narrow"
1076
- }).format(r), s = new Intl.NumberFormat(e.value, {
1077
- style: "unit",
1078
- unit: "minute",
1079
- unitDisplay: r === 0 ? "long" : "narrow"
1080
- }).format(i);
1081
- return r === 0 ? s : i === 0 ? o : `${o} ${s}`;
1082
- }
1083
- return {
1084
- toDate: s,
1085
- toDateTime: c,
1086
- toTime: o,
1087
- fromNow: l,
1088
- secondsToDuration: u
1089
- };
1090
- }
1091
- //#endregion
1092
- //#region src/components/skeleton-loader/AppSkeletonLoader.vue
1093
- var Ne = {}, Pe = { class: "bg-tertiary w-full animate-pulse rounded-lg" };
1094
- function Fe(e, t) {
1095
- return d(), r("div", Pe);
1096
- }
1097
- var Ie = /* @__PURE__ */ e(Ne, [["render", Fe]]);
1098
- //#endregion
1099
- export { Ae as a, Oe as c, je as i, Ee as l, Me as n, ke as o, Q as r, De as s, Ie as t };