@nextcloud/vue 8.11.1 → 8.11.3

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 (781) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/Components/NcActionButton.cjs +67 -30
  3. package/dist/Components/NcActionButton.cjs.map +1 -1
  4. package/dist/Components/NcActionButton.mjs +67 -34
  5. package/dist/Components/NcActionButton.mjs.map +1 -1
  6. package/dist/Components/NcActionButtonGroup.cjs +2 -2
  7. package/dist/Components/NcActionButtonGroup.mjs +2 -2
  8. package/dist/Components/NcActionCaption.cjs +17 -14
  9. package/dist/Components/NcActionCaption.cjs.map +1 -1
  10. package/dist/Components/NcActionCaption.mjs +17 -15
  11. package/dist/Components/NcActionCaption.mjs.map +1 -1
  12. package/dist/Components/NcActionCheckbox.cjs +42 -24
  13. package/dist/Components/NcActionCheckbox.cjs.map +1 -1
  14. package/dist/Components/NcActionCheckbox.mjs +42 -27
  15. package/dist/Components/NcActionCheckbox.mjs.map +1 -1
  16. package/dist/Components/NcActionInput.cjs +2 -2
  17. package/dist/Components/NcActionInput.mjs +2 -2
  18. package/dist/Components/NcActionLink.cjs +28 -22
  19. package/dist/Components/NcActionLink.cjs.map +1 -1
  20. package/dist/Components/NcActionLink.mjs +28 -24
  21. package/dist/Components/NcActionLink.mjs.map +1 -1
  22. package/dist/Components/NcActionRadio.cjs +38 -25
  23. package/dist/Components/NcActionRadio.cjs.map +1 -1
  24. package/dist/Components/NcActionRadio.mjs +38 -28
  25. package/dist/Components/NcActionRadio.mjs.map +1 -1
  26. package/dist/Components/NcActionRouter.cjs +24 -20
  27. package/dist/Components/NcActionRouter.cjs.map +1 -1
  28. package/dist/Components/NcActionRouter.mjs +24 -22
  29. package/dist/Components/NcActionRouter.mjs.map +1 -1
  30. package/dist/Components/NcActionSeparator.cjs +15 -12
  31. package/dist/Components/NcActionSeparator.cjs.map +1 -1
  32. package/dist/Components/NcActionSeparator.mjs +15 -13
  33. package/dist/Components/NcActionSeparator.mjs.map +1 -1
  34. package/dist/Components/NcActionText.cjs +20 -16
  35. package/dist/Components/NcActionText.cjs.map +1 -1
  36. package/dist/Components/NcActionText.mjs +20 -18
  37. package/dist/Components/NcActionText.mjs.map +1 -1
  38. package/dist/Components/NcActionTextEditable.cjs +40 -29
  39. package/dist/Components/NcActionTextEditable.cjs.map +1 -1
  40. package/dist/Components/NcActionTextEditable.mjs +40 -33
  41. package/dist/Components/NcActionTextEditable.mjs.map +1 -1
  42. package/dist/Components/NcActions.cjs +2 -2
  43. package/dist/Components/NcActions.mjs +2 -2
  44. package/dist/Components/NcAppContent.cjs +2 -2
  45. package/dist/Components/NcAppContent.mjs +2 -2
  46. package/dist/Components/NcAppContentDetails.cjs +14 -11
  47. package/dist/Components/NcAppContentDetails.cjs.map +1 -1
  48. package/dist/Components/NcAppContentDetails.mjs +14 -12
  49. package/dist/Components/NcAppContentDetails.mjs.map +1 -1
  50. package/dist/Components/NcAppContentList.cjs +16 -13
  51. package/dist/Components/NcAppContentList.cjs.map +1 -1
  52. package/dist/Components/NcAppContentList.mjs +16 -14
  53. package/dist/Components/NcAppContentList.mjs.map +1 -1
  54. package/dist/Components/NcAppNavigation.cjs +2 -2
  55. package/dist/Components/NcAppNavigation.mjs +2 -2
  56. package/dist/Components/NcAppNavigationCaption.cjs +2 -2
  57. package/dist/Components/NcAppNavigationCaption.mjs +2 -2
  58. package/dist/Components/NcAppNavigationIconBullet.cjs +24 -18
  59. package/dist/Components/NcAppNavigationIconBullet.cjs.map +1 -1
  60. package/dist/Components/NcAppNavigationIconBullet.mjs +24 -19
  61. package/dist/Components/NcAppNavigationIconBullet.mjs.map +1 -1
  62. package/dist/Components/NcAppNavigationItem.cjs +2 -2
  63. package/dist/Components/NcAppNavigationItem.mjs +2 -2
  64. package/dist/Components/NcAppNavigationList.cjs +15 -12
  65. package/dist/Components/NcAppNavigationList.cjs.map +1 -1
  66. package/dist/Components/NcAppNavigationList.mjs +15 -13
  67. package/dist/Components/NcAppNavigationList.mjs.map +1 -1
  68. package/dist/Components/NcAppNavigationNew.cjs +27 -23
  69. package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
  70. package/dist/Components/NcAppNavigationNew.mjs +27 -25
  71. package/dist/Components/NcAppNavigationNew.mjs.map +1 -1
  72. package/dist/Components/NcAppNavigationNewItem.cjs +2 -2
  73. package/dist/Components/NcAppNavigationNewItem.mjs +2 -2
  74. package/dist/Components/NcAppNavigationSettings.cjs +2 -2
  75. package/dist/Components/NcAppNavigationSettings.mjs +2 -2
  76. package/dist/Components/NcAppNavigationSpacer.cjs +15 -12
  77. package/dist/Components/NcAppNavigationSpacer.cjs.map +1 -1
  78. package/dist/Components/NcAppNavigationSpacer.mjs +15 -13
  79. package/dist/Components/NcAppNavigationSpacer.mjs.map +1 -1
  80. package/dist/Components/NcAppNavigationToggle.cjs +4 -4
  81. package/dist/Components/NcAppNavigationToggle.mjs +3 -3
  82. package/dist/Components/NcAppSettingsDialog.cjs +2 -2
  83. package/dist/Components/NcAppSettingsDialog.mjs +2 -2
  84. package/dist/Components/NcAppSettingsSection.cjs +29 -24
  85. package/dist/Components/NcAppSettingsSection.cjs.map +1 -1
  86. package/dist/Components/NcAppSettingsSection.mjs +29 -25
  87. package/dist/Components/NcAppSettingsSection.mjs.map +1 -1
  88. package/dist/Components/NcAppSidebar.cjs +2 -2
  89. package/dist/Components/NcAppSidebar.mjs +2 -2
  90. package/dist/Components/NcAppSidebarTab.cjs +24 -18
  91. package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
  92. package/dist/Components/NcAppSidebarTab.mjs +24 -19
  93. package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
  94. package/dist/Components/NcAvatar.cjs +2 -2
  95. package/dist/Components/NcAvatar.mjs +2 -2
  96. package/dist/Components/NcBreadcrumb.cjs +2 -2
  97. package/dist/Components/NcBreadcrumb.mjs +2 -2
  98. package/dist/Components/NcBreadcrumbs.cjs +2 -2
  99. package/dist/Components/NcBreadcrumbs.mjs +2 -2
  100. package/dist/Components/NcButton.cjs +79 -58
  101. package/dist/Components/NcButton.cjs.map +1 -1
  102. package/dist/Components/NcButton.mjs +79 -59
  103. package/dist/Components/NcButton.mjs.map +1 -1
  104. package/dist/Components/NcCheckboxRadioSwitch.cjs +2 -2
  105. package/dist/Components/NcCheckboxRadioSwitch.mjs +2 -2
  106. package/dist/Components/NcColorPicker.cjs +2 -2
  107. package/dist/Components/NcColorPicker.mjs +2 -2
  108. package/dist/Components/NcContent.cjs +2 -2
  109. package/dist/Components/NcContent.mjs +2 -2
  110. package/dist/Components/NcCounterBubble.cjs +18 -15
  111. package/dist/Components/NcCounterBubble.cjs.map +1 -1
  112. package/dist/Components/NcCounterBubble.mjs +18 -16
  113. package/dist/Components/NcCounterBubble.mjs.map +1 -1
  114. package/dist/Components/NcDashboardWidget.cjs +2 -2
  115. package/dist/Components/NcDashboardWidget.mjs +2 -2
  116. package/dist/Components/NcDashboardWidgetItem.cjs +2 -2
  117. package/dist/Components/NcDashboardWidgetItem.mjs +2 -2
  118. package/dist/Components/NcDateTime.cjs +2 -2
  119. package/dist/Components/NcDateTime.mjs +2 -2
  120. package/dist/Components/NcDateTimePicker.cjs +142 -101
  121. package/dist/Components/NcDateTimePicker.cjs.map +1 -1
  122. package/dist/Components/NcDateTimePicker.mjs +140 -108
  123. package/dist/Components/NcDateTimePicker.mjs.map +1 -1
  124. package/dist/Components/NcDateTimePickerNative.cjs +72 -52
  125. package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
  126. package/dist/Components/NcDateTimePickerNative.mjs +72 -54
  127. package/dist/Components/NcDateTimePickerNative.mjs.map +1 -1
  128. package/dist/Components/NcDialog.cjs +2 -2
  129. package/dist/Components/NcDialog.mjs +2 -2
  130. package/dist/Components/NcDialogButton.cjs +2 -2
  131. package/dist/Components/NcDialogButton.mjs +2 -2
  132. package/dist/Components/NcEllipsisedOption.cjs +35 -20
  133. package/dist/Components/NcEllipsisedOption.cjs.map +1 -1
  134. package/dist/Components/NcEllipsisedOption.mjs +35 -22
  135. package/dist/Components/NcEllipsisedOption.mjs.map +1 -1
  136. package/dist/Components/NcEmojiPicker.cjs +2 -2
  137. package/dist/Components/NcEmojiPicker.mjs +2 -2
  138. package/dist/Components/NcEmptyContent.cjs +21 -18
  139. package/dist/Components/NcEmptyContent.cjs.map +1 -1
  140. package/dist/Components/NcEmptyContent.mjs +21 -19
  141. package/dist/Components/NcEmptyContent.mjs.map +1 -1
  142. package/dist/Components/NcGuestContent.cjs +15 -12
  143. package/dist/Components/NcGuestContent.cjs.map +1 -1
  144. package/dist/Components/NcGuestContent.mjs +15 -13
  145. package/dist/Components/NcGuestContent.mjs.map +1 -1
  146. package/dist/Components/NcHeaderMenu.cjs +2 -2
  147. package/dist/Components/NcHeaderMenu.mjs +2 -2
  148. package/dist/Components/NcHighlight.cjs +2 -2
  149. package/dist/Components/NcHighlight.mjs +2 -2
  150. package/dist/Components/NcIconSvgWrapper.cjs +2 -2
  151. package/dist/Components/NcIconSvgWrapper.mjs +2 -2
  152. package/dist/Components/NcInputField.cjs +68 -52
  153. package/dist/Components/NcInputField.cjs.map +1 -1
  154. package/dist/Components/NcInputField.mjs +68 -57
  155. package/dist/Components/NcInputField.mjs.map +1 -1
  156. package/dist/Components/NcListItem.cjs +2 -2
  157. package/dist/Components/NcListItem.mjs +2 -2
  158. package/dist/Components/NcListItemIcon.cjs +2 -2
  159. package/dist/Components/NcListItemIcon.mjs +2 -2
  160. package/dist/Components/NcLoadingIcon.cjs +24 -16
  161. package/dist/Components/NcLoadingIcon.cjs.map +1 -1
  162. package/dist/Components/NcLoadingIcon.mjs +24 -17
  163. package/dist/Components/NcLoadingIcon.mjs.map +1 -1
  164. package/dist/Components/NcModal.cjs +257 -146
  165. package/dist/Components/NcModal.cjs.map +1 -1
  166. package/dist/Components/NcModal.mjs +257 -156
  167. package/dist/Components/NcModal.mjs.map +1 -1
  168. package/dist/Components/NcNoteCard.cjs +80 -65
  169. package/dist/Components/NcNoteCard.cjs.map +1 -1
  170. package/dist/Components/NcNoteCard.mjs +80 -66
  171. package/dist/Components/NcNoteCard.mjs.map +1 -1
  172. package/dist/Components/NcPasswordField.cjs +2 -2
  173. package/dist/Components/NcPasswordField.mjs +2 -2
  174. package/dist/Components/NcPopover.cjs +2 -2
  175. package/dist/Components/NcPopover.mjs +2 -2
  176. package/dist/Components/NcProgressBar.cjs +2 -2
  177. package/dist/Components/NcProgressBar.mjs +2 -2
  178. package/dist/Components/NcRelatedResourcesPanel.cjs +2 -2
  179. package/dist/Components/NcRelatedResourcesPanel.mjs +2 -2
  180. package/dist/Components/NcRichContenteditable.cjs +6 -5
  181. package/dist/Components/NcRichContenteditable.cjs.map +1 -1
  182. package/dist/Components/NcRichContenteditable.mjs +5 -5
  183. package/dist/Components/NcRichText.cjs +24 -22
  184. package/dist/Components/NcRichText.cjs.map +1 -1
  185. package/dist/Components/NcRichText.mjs +24 -24
  186. package/dist/Components/NcSavingIndicatorIcon.cjs +2 -2
  187. package/dist/Components/NcSavingIndicatorIcon.mjs +2 -2
  188. package/dist/Components/NcSelect.cjs +2 -2
  189. package/dist/Components/NcSelect.mjs +2 -2
  190. package/dist/Components/NcSelectTags.cjs +2 -2
  191. package/dist/Components/NcSelectTags.mjs +2 -2
  192. package/dist/Components/NcSettingsInputText.cjs +2 -2
  193. package/dist/Components/NcSettingsInputText.mjs +2 -2
  194. package/dist/Components/NcSettingsSection.cjs +2 -2
  195. package/dist/Components/NcSettingsSection.mjs +2 -2
  196. package/dist/Components/NcSettingsSelectGroup.cjs +4 -4
  197. package/dist/Components/NcSettingsSelectGroup.mjs +3 -3
  198. package/dist/Components/NcTextArea.cjs +51 -36
  199. package/dist/Components/NcTextArea.cjs.map +1 -1
  200. package/dist/Components/NcTextArea.mjs +51 -40
  201. package/dist/Components/NcTextArea.mjs.map +1 -1
  202. package/dist/Components/NcTextField.cjs +2 -2
  203. package/dist/Components/NcTextField.mjs +2 -2
  204. package/dist/Components/NcTimezonePicker.cjs +2 -2
  205. package/dist/Components/NcTimezonePicker.mjs +2 -2
  206. package/dist/Components/NcUserBubble.cjs +2 -2
  207. package/dist/Components/NcUserBubble.mjs +2 -2
  208. package/dist/Components/NcUserStatusIcon.cjs +2 -2
  209. package/dist/Components/NcUserStatusIcon.mjs +2 -2
  210. package/dist/Components/NcVNodes.cjs +15 -12
  211. package/dist/Components/NcVNodes.cjs.map +1 -1
  212. package/dist/Components/NcVNodes.mjs +15 -13
  213. package/dist/Components/NcVNodes.mjs.map +1 -1
  214. package/dist/Composables/useIsFullscreen.cjs +9 -8
  215. package/dist/Composables/useIsFullscreen.cjs.map +1 -1
  216. package/dist/Composables/useIsFullscreen.mjs +9 -8
  217. package/dist/Composables/useIsFullscreen.mjs.map +1 -1
  218. package/dist/Composables/useIsMobile.cjs +19 -14
  219. package/dist/Composables/useIsMobile.cjs.map +1 -1
  220. package/dist/Composables/useIsMobile.mjs +19 -14
  221. package/dist/Composables/useIsMobile.mjs.map +1 -1
  222. package/dist/Directives/Focus.cjs +6 -6
  223. package/dist/Directives/Focus.cjs.map +1 -1
  224. package/dist/Directives/Focus.mjs +5 -5
  225. package/dist/Directives/Focus.mjs.map +1 -1
  226. package/dist/Directives/Linkify.cjs +9 -6
  227. package/dist/Directives/Linkify.cjs.map +1 -1
  228. package/dist/Directives/Linkify.mjs +8 -6
  229. package/dist/Directives/Linkify.mjs.map +1 -1
  230. package/dist/Directives/Tooltip.cjs +11 -11
  231. package/dist/Directives/Tooltip.cjs.map +1 -1
  232. package/dist/Directives/Tooltip.mjs +9 -9
  233. package/dist/Directives/Tooltip.mjs.map +1 -1
  234. package/dist/Functions/a11y.cjs +33 -0
  235. package/dist/Functions/a11y.cjs.map +1 -0
  236. package/dist/Functions/a11y.mjs +33 -0
  237. package/dist/Functions/a11y.mjs.map +1 -0
  238. package/dist/Functions/emoji.cjs +8 -0
  239. package/dist/Functions/emoji.cjs.map +1 -0
  240. package/dist/Functions/emoji.mjs +8 -0
  241. package/dist/Functions/emoji.mjs.map +1 -0
  242. package/dist/Functions/reference.cjs +16 -15
  243. package/dist/Functions/reference.cjs.map +1 -1
  244. package/dist/Functions/reference.mjs +16 -16
  245. package/dist/Functions/registerReference.cjs +11 -11
  246. package/dist/Functions/registerReference.mjs +10 -10
  247. package/dist/Functions/usernameToColor.cjs +2 -2
  248. package/dist/Functions/usernameToColor.mjs +2 -2
  249. package/dist/Mixins/clickOutsideOptions.cjs +4 -3
  250. package/dist/Mixins/clickOutsideOptions.cjs.map +1 -1
  251. package/dist/Mixins/clickOutsideOptions.mjs +4 -3
  252. package/dist/Mixins/clickOutsideOptions.mjs.map +1 -1
  253. package/dist/Mixins/isFullscreen.cjs +4 -4
  254. package/dist/Mixins/isFullscreen.cjs.map +1 -1
  255. package/dist/Mixins/isFullscreen.mjs +4 -4
  256. package/dist/Mixins/isFullscreen.mjs.map +1 -1
  257. package/dist/Mixins/isMobile.cjs +4 -4
  258. package/dist/Mixins/isMobile.cjs.map +1 -1
  259. package/dist/Mixins/isMobile.mjs +4 -4
  260. package/dist/Mixins/isMobile.mjs.map +1 -1
  261. package/dist/Mixins/richEditor.cjs +6 -6
  262. package/dist/Mixins/richEditor.mjs +5 -5
  263. package/dist/assets/{NcActionButton-Cs5kVVAD.css → NcActionButton-CkChpLnH.css} +16 -11
  264. package/dist/assets/{NcActionButtonGroup-ChehtUip.css → NcActionButtonGroup-CvloX35s.css} +5 -4
  265. package/dist/assets/{NcActionCaption-Bp8mrIk7.css → NcActionCaption-sfcjBZnu.css} +4 -2
  266. package/dist/assets/{NcActionCheckbox-Do--WvUT.css → NcActionCheckbox-DTlI7y7p.css} +13 -9
  267. package/dist/assets/{NcActionInput-8F2WF3yH.css → NcActionInput-B8l22cnm.css} +44 -16
  268. package/dist/assets/{NcActionLink-DN3NCDC0.css → NcActionLink-C-NDmERH.css} +9 -6
  269. package/dist/assets/{NcActionRadio-B46v1Kn4.css → NcActionRadio-syUIsm9B.css} +13 -9
  270. package/dist/assets/{NcActionRouter-wVMPq1gi.css → NcActionRouter-BbTCI4sn.css} +12 -10
  271. package/dist/assets/{NcActionSeparator-CX3zFZuI.css → NcActionSeparator-CB59y4di.css} +4 -1
  272. package/dist/assets/{NcActionText-YljCzD9Q.css → NcActionText-Ceh88fy8.css} +12 -10
  273. package/dist/assets/{NcActionTextEditable-mti5YQN1.css → NcActionTextEditable-BoxziChR.css} +52 -24
  274. package/dist/assets/{NcActions-DL7ZZIjx.css → NcActions-9_rnkpG4.css} +40 -13
  275. package/dist/assets/{NcAppContent-aWiDWWeq.css → NcAppContent-C08OMmgh.css} +42 -17
  276. package/dist/assets/{NcAppNavigation-wkQJnaLW.css → NcAppNavigation-ClImKhvx.css} +31 -3
  277. package/dist/assets/{NcAppNavigationCaption-jV1y8HQ1.css → NcAppNavigationCaption-BbwgabsF.css} +5 -2
  278. package/dist/assets/{NcAppNavigationIconBullet-1_cBEwu8.css → NcAppNavigationIconBullet-B8q3pUL5.css} +5 -2
  279. package/dist/assets/{NcAppNavigationItem-BxoyzD83.css → NcAppNavigationItem-Dy9C3jxc.css} +70 -48
  280. package/dist/assets/{NcAppNavigationList-CUnaMQQD.css → NcAppNavigationList-DnIxrbVX.css} +4 -1
  281. package/dist/assets/{NcAppNavigationNew-COjJ3vwU.css → NcAppNavigationNew-BPZ1O8Xm.css} +6 -1
  282. package/dist/assets/{NcAppNavigationNewItem-C574fgtB.css → NcAppNavigationNewItem-DF3nldsK.css} +26 -28
  283. package/dist/assets/{NcAppNavigationSettings-nH_pGlKc.css → NcAppNavigationSettings-BCkvRAy8.css} +11 -6
  284. package/dist/assets/{NcAppNavigationSpacer-C5p-33VT.css → NcAppNavigationSpacer-Cb4q1zb5.css} +4 -2
  285. package/dist/assets/{NcAppNavigationToggle-De8wq0JA.css → NcAppNavigationToggle-0yhQ9xse.css} +4 -1
  286. package/dist/assets/{NcAppSettingsDialog-DR46jcRG.css → NcAppSettingsDialog-CajWZJNV.css} +7 -5
  287. package/dist/assets/{NcAppSettingsSection-BqF92GLH.css → NcAppSettingsSection-BDvzWKkd.css} +5 -2
  288. package/dist/assets/{NcAppSidebar-BJPR-mTB.css → NcAppSidebar-Bi22qfW1.css} +105 -53
  289. package/dist/assets/{NcAppSidebarTab-XLBsrGqg.css → NcAppSidebarTab-CBFET-hQ.css} +5 -2
  290. package/dist/assets/{NcAvatar-CR4U9eTm.css → NcAvatar-DaftSb4x.css} +30 -31
  291. package/dist/assets/{NcBreadcrumb-eyloXKCC.css → NcBreadcrumb-AES5eSWo.css} +8 -6
  292. package/dist/assets/{NcBreadcrumbs-oFXQlxy-.css → NcBreadcrumbs-tYrp1DVs.css} +10 -8
  293. package/dist/assets/{NcButton-DhaPcomf.css → NcButton-D4HxnscK.css} +13 -13
  294. package/dist/assets/{NcCheckboxRadioSwitch-CaAqi0Jt.css → NcCheckboxRadioSwitch-DArK1Q95.css} +76 -53
  295. package/dist/assets/{NcColorPicker-CNboc7FY.css → NcColorPicker-CzKZjMxY.css} +38 -33
  296. package/dist/assets/{NcContent-tZHbeX2L.css → NcContent-Cuv2HvFH.css} +29 -3
  297. package/dist/assets/{NcCounterBubble-CuCSao3j.css → NcCounterBubble-CWi_P1Tb.css} +6 -3
  298. package/dist/assets/{NcDashboardWidget-DTV15Fb1.css → NcDashboardWidget-CGOA8X60.css} +7 -3
  299. package/dist/assets/{NcDashboardWidgetItem-4v77FH89.css → NcDashboardWidgetItem-BevETFRF.css} +18 -3
  300. package/dist/assets/{NcDateTimePicker-qKgAO9KO.css → NcDateTimePicker-D1jwoP61.css} +144 -163
  301. package/dist/assets/{NcDateTimePickerNative-DnLJu29_.css → NcDateTimePickerNative-CV_VuzvQ.css} +7 -4
  302. package/dist/assets/{NcDialog-M36tj7nk.css → NcDialog-DFMxsFp5.css} +55 -21
  303. package/dist/assets/{NcEllipsisedOption-B6gjXSS9.css → NcEllipsisedOption-ClDzkIX6.css} +7 -6
  304. package/dist/assets/{NcEmojiPicker-B-4WNYcx.css → NcEmojiPicker-XL3oUsqE.css} +79 -50
  305. package/dist/assets/{NcEmptyContent-ClLPsXo5.css → NcEmptyContent--xKgddPn.css} +7 -3
  306. package/dist/assets/{NcGuestContent-CYYZPMjb.css → NcGuestContent-CeRLfUEi.css} +28 -1
  307. package/dist/assets/{NcHeaderMenu-BKufmJd0.css → NcHeaderMenu-N5y8yFGd.css} +7 -7
  308. package/dist/assets/{NcIconSvgWrapper-oui2KPBT.css → NcIconSvgWrapper-C5vV6-c0.css} +4 -1
  309. package/dist/assets/{NcInputConfirmCancel-CSzzPx0i.css → NcInputConfirmCancel-UcHrm0al.css} +7 -5
  310. package/dist/assets/{NcInputField-vYuV3-IY.css → NcInputField-CXoTqF9T.css} +16 -33
  311. package/dist/assets/{NcListItem-BIFTbr17.css → NcListItem-DMYcn1cc.css} +11 -21
  312. package/dist/assets/{NcListItemIcon-9Dazpmpd.css → NcListItemIcon-B9UQBQSa.css} +9 -11
  313. package/dist/assets/{NcLoadingIcon-CFmftMkz.css → NcLoadingIcon-gxK0ujO0.css} +5 -2
  314. package/dist/assets/{NcMentionBubble-7PQ8wEko.css → NcMentionBubble-DmzU72Mw.css} +5 -2
  315. package/dist/assets/{NcModal-CwgrmxSg.css → NcModal-Cof88czY.css} +42 -38
  316. package/dist/assets/{NcNoteCard-B_Q1mnCM.css → NcNoteCard-e7-Bxio8.css} +10 -6
  317. package/dist/assets/{NcPopover-wrgZy49g.css → NcPopover-BwI1hPzy.css} +4 -1
  318. package/dist/assets/{NcProgressBar-DDj4bmBB.css → NcProgressBar-D5VftcJm.css} +4 -1
  319. package/dist/assets/{NcRelatedResourcesPanel-D6K7OQFJ.css → NcRelatedResourcesPanel-BrXxbjgR.css} +60 -8
  320. package/dist/assets/{NcRichContenteditable-BQ2-fqnd.css → NcRichContenteditable-C-eZyVQM.css} +60 -22
  321. package/dist/assets/NcRichText-Cdp_2wEm.css +240 -0
  322. package/dist/assets/{NcSelect-4aBmXHhA.css → NcSelect-Fmyu7qyl.css} +34 -13
  323. package/dist/assets/{NcSettingsInputText-w-LprdjK.css → NcSettingsInputText-CU65Coab.css} +4 -1
  324. package/dist/assets/{NcSettingsSection-8RabR54v.css → NcSettingsSection-e9XGyBq8.css} +9 -7
  325. package/dist/assets/{NcSettingsSelectGroup-D8mlvzIT.css → NcSettingsSelectGroup-CPauLI-o.css} +4 -1
  326. package/dist/assets/{NcTextArea-DitXCroY.css → NcTextArea-XCi8a16Y.css} +13 -28
  327. package/dist/assets/{NcUserBubble-COPMjmKa.css → NcUserBubble-D5ieZC-f.css} +7 -4
  328. package/dist/assets/{NcUserStatusIcon-Dra7jf_o.css → NcUserStatusIcon-BcLArDqV.css} +4 -1
  329. package/dist/assets/{Tooltip-DA4si7PR.css → Tooltip-jHgt4m-W.css} +19 -3
  330. package/dist/assets/referencePickerModal-C0ibN2gO.css +539 -0
  331. package/dist/chunks/AlertCircleOutline-BzttElgq.mjs +39 -0
  332. package/dist/chunks/{AlertCircleOutline-DHFN4OkX.cjs.map → AlertCircleOutline-BzttElgq.mjs.map} +1 -1
  333. package/dist/chunks/AlertCircleOutline-Cb0gAiDw.cjs +38 -0
  334. package/dist/chunks/{AlertCircleOutline-U_bhL30C.mjs.map → AlertCircleOutline-Cb0gAiDw.cjs.map} +1 -1
  335. package/dist/chunks/ArrowLeft-B9iGweTd.mjs +39 -0
  336. package/dist/chunks/{ArrowLeft-CjNnGIlF.cjs.map → ArrowLeft-B9iGweTd.mjs.map} +1 -1
  337. package/dist/chunks/ArrowLeft-BhNmMdMz.cjs +38 -0
  338. package/dist/chunks/{ArrowLeft-kklNBL9z.mjs.map → ArrowLeft-BhNmMdMz.cjs.map} +1 -1
  339. package/dist/chunks/ArrowRight-Clf455e1.mjs +39 -0
  340. package/dist/chunks/{ArrowRight-CxzzJJQ6.cjs.map → ArrowRight-Clf455e1.mjs.map} +1 -1
  341. package/dist/chunks/ArrowRight-DaYrccVG.cjs +38 -0
  342. package/dist/chunks/{ArrowRight-C3BxTDjF.mjs.map → ArrowRight-DaYrccVG.cjs.map} +1 -1
  343. package/dist/chunks/Check-DZc7keoa.cjs +38 -0
  344. package/dist/chunks/{Check-CVn5nytg.cjs.map → Check-DZc7keoa.cjs.map} +1 -1
  345. package/dist/chunks/Check-PawIlCwa.mjs +39 -0
  346. package/dist/chunks/{Check-CRLmJNGG.mjs.map → Check-PawIlCwa.mjs.map} +1 -1
  347. package/dist/chunks/ChevronDown-CF9m1o8_.cjs +38 -0
  348. package/dist/chunks/{ChevronDown-DQPox_nl.cjs.map → ChevronDown-CF9m1o8_.cjs.map} +1 -1
  349. package/dist/chunks/ChevronDown-PedEroXo.mjs +39 -0
  350. package/dist/chunks/{ChevronDown-HHJdUMN4.mjs.map → ChevronDown-PedEroXo.mjs.map} +1 -1
  351. package/dist/chunks/ChevronRight-BNa7yMja.mjs +39 -0
  352. package/dist/chunks/{ChevronRight-BAJhNawb.cjs.map → ChevronRight-BNa7yMja.mjs.map} +1 -1
  353. package/dist/chunks/ChevronRight-DVw6mR11.cjs +38 -0
  354. package/dist/chunks/{ChevronRight-DL3e8bjj.mjs.map → ChevronRight-DVw6mR11.cjs.map} +1 -1
  355. package/dist/chunks/ChevronUp-CTOKWYlC.cjs +38 -0
  356. package/dist/chunks/{ChevronUp-kmHRpe7H.cjs.map → ChevronUp-CTOKWYlC.cjs.map} +1 -1
  357. package/dist/chunks/ChevronUp-DGLTg_nO.mjs +39 -0
  358. package/dist/chunks/{ChevronUp-B6TIgl1a.mjs.map → ChevronUp-DGLTg_nO.mjs.map} +1 -1
  359. package/dist/chunks/Close-1V1F2F-M.mjs +39 -0
  360. package/dist/chunks/{Close-DBfrdXMw.cjs.map → Close-1V1F2F-M.mjs.map} +1 -1
  361. package/dist/chunks/Close-C2VrgKj3.cjs +38 -0
  362. package/dist/chunks/{Close-BtO5TPBO.mjs.map → Close-C2VrgKj3.cjs.map} +1 -1
  363. package/dist/chunks/DotsHorizontal-C0STD_HU.mjs +39 -0
  364. package/dist/chunks/{DotsHorizontal-B8kTqpHe.cjs.map → DotsHorizontal-C0STD_HU.mjs.map} +1 -1
  365. package/dist/chunks/DotsHorizontal-Cjw3-45t.cjs +38 -0
  366. package/dist/chunks/{DotsHorizontal-DfVgEXgz.mjs.map → DotsHorizontal-Cjw3-45t.cjs.map} +1 -1
  367. package/dist/chunks/GenColors-B1GUK4zF.cjs +160 -0
  368. package/dist/chunks/{GenColors-D0bH59Rv.mjs.map → GenColors-B1GUK4zF.cjs.map} +1 -1
  369. package/dist/chunks/{GenColors-D0bH59Rv.mjs → GenColors-DjFwlIhX.mjs} +69 -50
  370. package/dist/chunks/{GenColors-Du2-qv6X.cjs.map → GenColors-DjFwlIhX.mjs.map} +1 -1
  371. package/dist/chunks/{GenRandomId-BW3iYFf9.mjs → GenRandomId-CXkjMlAT.mjs} +4 -2
  372. package/dist/chunks/{GenRandomId-BW3iYFf9.mjs.map → GenRandomId-CXkjMlAT.mjs.map} +1 -1
  373. package/dist/chunks/{GenRandomId-B2O1GMbH.cjs → GenRandomId-kBCcgMJd.cjs} +4 -2
  374. package/dist/chunks/{GenRandomId-B2O1GMbH.cjs.map → GenRandomId-kBCcgMJd.cjs.map} +1 -1
  375. package/dist/chunks/{Linkify-BaDLLFxP.mjs → Linkify-BBPJHBma.mjs} +12 -10
  376. package/dist/chunks/{Linkify-Dola0NBa.cjs.map → Linkify-BBPJHBma.mjs.map} +1 -1
  377. package/dist/chunks/{Linkify-Dola0NBa.cjs → Linkify-CIO279AG.cjs} +14 -10
  378. package/dist/chunks/{Linkify-BaDLLFxP.mjs.map → Linkify-CIO279AG.cjs.map} +1 -1
  379. package/dist/chunks/NcActionButtonGroup-BISuGifY.mjs +53 -0
  380. package/dist/chunks/{NcActionButtonGroup-jODsi2kz.mjs.map → NcActionButtonGroup-BISuGifY.mjs.map} +1 -1
  381. package/dist/chunks/NcActionButtonGroup-iKUlQ6Sg.cjs +52 -0
  382. package/dist/chunks/{NcActionButtonGroup-Cawk1Q5J.cjs.map → NcActionButtonGroup-iKUlQ6Sg.cjs.map} +1 -1
  383. package/dist/chunks/NcActionInput-CU4Ycto_.cjs +253 -0
  384. package/dist/chunks/{NcActionInput-NL0c8XAX.cjs.map → NcActionInput-CU4Ycto_.cjs.map} +1 -1
  385. package/dist/chunks/NcActionInput-GJBTX1-r.mjs +254 -0
  386. package/dist/chunks/{NcActionInput-BJSgHPYh.mjs.map → NcActionInput-GJBTX1-r.mjs.map} +1 -1
  387. package/dist/chunks/NcActions-CZe78ai2.mjs +845 -0
  388. package/dist/chunks/{NcActions-B1Ue3gj8.mjs.map → NcActions-CZe78ai2.mjs.map} +1 -1
  389. package/dist/chunks/NcActions-ePQTvWyX.cjs +846 -0
  390. package/dist/chunks/{NcActions-X10TnO-4.cjs.map → NcActions-ePQTvWyX.cjs.map} +1 -1
  391. package/dist/chunks/NcAppContent-BCShRsQU.cjs +303 -0
  392. package/dist/chunks/{NcAppContent-BkVLz0T8.mjs.map → NcAppContent-BCShRsQU.cjs.map} +1 -1
  393. package/dist/chunks/NcAppContent-gyRkh2hd.mjs +304 -0
  394. package/dist/chunks/{NcAppContent-CxdfMOVw.cjs.map → NcAppContent-gyRkh2hd.mjs.map} +1 -1
  395. package/dist/chunks/NcAppNavigation-DjlepJn1.mjs +142 -0
  396. package/dist/chunks/{NcAppNavigation-BxaQQTmk.mjs.map → NcAppNavigation-DjlepJn1.mjs.map} +1 -1
  397. package/dist/chunks/NcAppNavigation-NMvbfe_y.cjs +143 -0
  398. package/dist/chunks/{NcAppNavigation-CmBNq0sh.cjs.map → NcAppNavigation-NMvbfe_y.cjs.map} +1 -1
  399. package/dist/chunks/NcAppNavigationCaption-B-flkujS.cjs +62 -0
  400. package/dist/chunks/{NcAppNavigationCaption-BQsUUBUS.mjs.map → NcAppNavigationCaption-B-flkujS.cjs.map} +1 -1
  401. package/dist/chunks/NcAppNavigationCaption-PZDKx81g.mjs +63 -0
  402. package/dist/chunks/{NcAppNavigationCaption-CUJSIO54.cjs.map → NcAppNavigationCaption-PZDKx81g.mjs.map} +1 -1
  403. package/dist/chunks/NcAppNavigationItem-CFyEP8wP.mjs +522 -0
  404. package/dist/chunks/{NcAppNavigationItem-Cheox0NI.mjs.map → NcAppNavigationItem-CFyEP8wP.mjs.map} +1 -1
  405. package/dist/chunks/NcAppNavigationItem-D-j_j_i5.cjs +521 -0
  406. package/dist/chunks/{NcAppNavigationItem-DdfXf1p_.cjs.map → NcAppNavigationItem-D-j_j_i5.cjs.map} +1 -1
  407. package/dist/chunks/NcAppNavigationNewItem-0C1S6gig.mjs +98 -0
  408. package/dist/chunks/{NcAppNavigationNewItem-Dmb8qw0g.mjs.map → NcAppNavigationNewItem-0C1S6gig.mjs.map} +1 -1
  409. package/dist/chunks/NcAppNavigationNewItem-DU1Va5Qs.cjs +97 -0
  410. package/dist/chunks/{NcAppNavigationNewItem-BkyKxjL8.cjs.map → NcAppNavigationNewItem-DU1Va5Qs.cjs.map} +1 -1
  411. package/dist/chunks/NcAppNavigationSettings-BVYD-_ON.mjs +111 -0
  412. package/dist/chunks/{NcAppNavigationSettings-CCjTkNf3.cjs.map → NcAppNavigationSettings-BVYD-_ON.mjs.map} +1 -1
  413. package/dist/chunks/NcAppNavigationSettings-CnuxB4p7.cjs +110 -0
  414. package/dist/chunks/{NcAppNavigationSettings-_O0oYU8k.mjs.map → NcAppNavigationSettings-CnuxB4p7.cjs.map} +1 -1
  415. package/dist/chunks/NcAppNavigationToggle--6uvG5sY.cjs +129 -0
  416. package/dist/chunks/{NcAppNavigationToggle-VDwkZ4nu.mjs.map → NcAppNavigationToggle--6uvG5sY.cjs.map} +1 -1
  417. package/dist/chunks/NcAppNavigationToggle-xOyRbwls.mjs +130 -0
  418. package/dist/chunks/{NcAppNavigationToggle-nnE6CrRb.cjs.map → NcAppNavigationToggle-xOyRbwls.mjs.map} +1 -1
  419. package/dist/chunks/NcAppSettingsDialog-CAYJSfm3.cjs +232 -0
  420. package/dist/chunks/{NcAppSettingsDialog-CECnsnfv.mjs.map → NcAppSettingsDialog-CAYJSfm3.cjs.map} +1 -1
  421. package/dist/chunks/NcAppSettingsDialog-CMknLVAP.mjs +230 -0
  422. package/dist/chunks/{NcAppSettingsDialog-wqDewrRQ.cjs.map → NcAppSettingsDialog-CMknLVAP.mjs.map} +1 -1
  423. package/dist/chunks/NcAppSidebar-D4v3Msgl.cjs +723 -0
  424. package/dist/chunks/NcAppSidebar-D4v3Msgl.cjs.map +1 -0
  425. package/dist/chunks/NcAppSidebar-DWb4MNeo.mjs +724 -0
  426. package/dist/chunks/NcAppSidebar-DWb4MNeo.mjs.map +1 -0
  427. package/dist/chunks/NcAvatar-BYvbqQP3.mjs +594 -0
  428. package/dist/chunks/NcAvatar-BYvbqQP3.mjs.map +1 -0
  429. package/dist/chunks/NcAvatar-DvV77AjU.cjs +595 -0
  430. package/dist/chunks/NcAvatar-DvV77AjU.cjs.map +1 -0
  431. package/dist/chunks/NcBreadcrumb-CccFNtmn.mjs +206 -0
  432. package/dist/chunks/{NcBreadcrumb-BerOYeSO.mjs.map → NcBreadcrumb-CccFNtmn.mjs.map} +1 -1
  433. package/dist/chunks/NcBreadcrumb-D_B838UO.cjs +205 -0
  434. package/dist/chunks/{NcBreadcrumb-BBZofeFG.cjs.map → NcBreadcrumb-D_B838UO.cjs.map} +1 -1
  435. package/dist/chunks/NcBreadcrumbs-BhBkulau.mjs +525 -0
  436. package/dist/chunks/{NcBreadcrumbs-BypDKcgj.mjs.map → NcBreadcrumbs-BhBkulau.mjs.map} +1 -1
  437. package/dist/chunks/NcBreadcrumbs-CaLzYM5s.cjs +527 -0
  438. package/dist/chunks/{NcBreadcrumbs-D0aoSiDN.cjs.map → NcBreadcrumbs-CaLzYM5s.cjs.map} +1 -1
  439. package/dist/chunks/NcCheckboxRadioSwitch-0kVQhCVw.cjs +685 -0
  440. package/dist/chunks/NcCheckboxRadioSwitch-0kVQhCVw.cjs.map +1 -0
  441. package/dist/chunks/NcCheckboxRadioSwitch-ByOy5xz5.mjs +686 -0
  442. package/dist/chunks/NcCheckboxRadioSwitch-ByOy5xz5.mjs.map +1 -0
  443. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-BhTGXTuA.mjs +3 -0
  444. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-BhTGXTuA.mjs.map +1 -0
  445. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-CrbKZag1.cjs +4 -0
  446. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-CrbKZag1.cjs.map +1 -0
  447. package/dist/chunks/NcColorPicker-BZ8w5NOJ.mjs +191 -0
  448. package/dist/chunks/NcColorPicker-BZ8w5NOJ.mjs.map +1 -0
  449. package/dist/chunks/NcColorPicker-BhdOJcFp.cjs +190 -0
  450. package/dist/chunks/NcColorPicker-BhdOJcFp.cjs.map +1 -0
  451. package/dist/chunks/NcContent-DW28aXMb.mjs +104 -0
  452. package/dist/chunks/{NcContent-CQk_EERB.mjs.map → NcContent-DW28aXMb.mjs.map} +1 -1
  453. package/dist/chunks/NcContent-JMqroMPc.cjs +103 -0
  454. package/dist/chunks/{NcContent-D-F_hXQE.cjs.map → NcContent-JMqroMPc.cjs.map} +1 -1
  455. package/dist/chunks/NcDashboardWidget-Bt_AiMLT.cjs +147 -0
  456. package/dist/chunks/{NcDashboardWidget-B5kIIXjc.mjs.map → NcDashboardWidget-Bt_AiMLT.cjs.map} +1 -1
  457. package/dist/chunks/NcDashboardWidget-hoZw8Qfz.mjs +148 -0
  458. package/dist/chunks/{NcDashboardWidget-DLTh61Jk.cjs.map → NcDashboardWidget-hoZw8Qfz.mjs.map} +1 -1
  459. package/dist/chunks/NcDashboardWidgetItem-C-Wa9TNk.mjs +151 -0
  460. package/dist/chunks/{NcDashboardWidgetItem-xj-DfJjn.mjs.map → NcDashboardWidgetItem-C-Wa9TNk.mjs.map} +1 -1
  461. package/dist/chunks/NcDashboardWidgetItem-DjSXMVgm.cjs +150 -0
  462. package/dist/chunks/{NcDashboardWidgetItem-BKhL4kyY.cjs.map → NcDashboardWidgetItem-DjSXMVgm.cjs.map} +1 -1
  463. package/dist/chunks/NcDateTime-iW-kErE1.mjs +181 -0
  464. package/dist/chunks/NcDateTime-iW-kErE1.mjs.map +1 -0
  465. package/dist/chunks/NcDateTime-kvWumSJA.cjs +180 -0
  466. package/dist/chunks/NcDateTime-kvWumSJA.cjs.map +1 -0
  467. package/dist/chunks/NcDialog-1TWFrsjf.mjs +235 -0
  468. package/dist/chunks/{NcDialog-C6nYgBDF.cjs.map → NcDialog-1TWFrsjf.mjs.map} +1 -1
  469. package/dist/chunks/NcDialog-G7XA1Z88.cjs +234 -0
  470. package/dist/chunks/{NcDialog-D6YSjidf.mjs.map → NcDialog-G7XA1Z88.cjs.map} +1 -1
  471. package/dist/chunks/NcDialogButton-NiGZGBjq.cjs +78 -0
  472. package/dist/chunks/{NcDialogButton-DQFoaN7q.mjs.map → NcDialogButton-NiGZGBjq.cjs.map} +1 -1
  473. package/dist/chunks/NcDialogButton-jh2GOQ_7.mjs +79 -0
  474. package/dist/chunks/{NcDialogButton-D7ibBxsQ.cjs.map → NcDialogButton-jh2GOQ_7.mjs.map} +1 -1
  475. package/dist/chunks/NcEmojiPicker-Drc9tYzl.mjs +284 -0
  476. package/dist/chunks/{NcEmojiPicker-028V7lKH.mjs.map → NcEmojiPicker-Drc9tYzl.mjs.map} +1 -1
  477. package/dist/chunks/NcEmojiPicker-Ju0ogVxs.cjs +285 -0
  478. package/dist/chunks/{NcEmojiPicker-BDRuuzNw.cjs.map → NcEmojiPicker-Ju0ogVxs.cjs.map} +1 -1
  479. package/dist/chunks/NcHeaderMenu-2n5GDt37.mjs +226 -0
  480. package/dist/chunks/{NcHeaderMenu-DOGXti7v.mjs.map → NcHeaderMenu-2n5GDt37.mjs.map} +1 -1
  481. package/dist/chunks/NcHeaderMenu-830tFszI.cjs +225 -0
  482. package/dist/chunks/{NcHeaderMenu-58OTmM-5.cjs.map → NcHeaderMenu-830tFszI.cjs.map} +1 -1
  483. package/dist/chunks/NcIconSvgWrapper-5v5HBSpx.mjs +109 -0
  484. package/dist/chunks/{NcIconSvgWrapper-kIn1eQyv.cjs.map → NcIconSvgWrapper-5v5HBSpx.mjs.map} +1 -1
  485. package/dist/chunks/NcIconSvgWrapper-D4GEZPIc.cjs +111 -0
  486. package/dist/chunks/{NcIconSvgWrapper-BTdzvQGV.mjs.map → NcIconSvgWrapper-D4GEZPIc.cjs.map} +1 -1
  487. package/dist/chunks/NcInputConfirmCancel-_SvdghX9.cjs +112 -0
  488. package/dist/chunks/{NcInputConfirmCancel-unF2X_Ax.cjs.map → NcInputConfirmCancel-_SvdghX9.cjs.map} +1 -1
  489. package/dist/chunks/NcInputConfirmCancel-uSZodQXZ.mjs +113 -0
  490. package/dist/chunks/{NcInputConfirmCancel-D5GYt1Th.mjs.map → NcInputConfirmCancel-uSZodQXZ.mjs.map} +1 -1
  491. package/dist/chunks/NcListItem-DwXB_QT2.cjs +275 -0
  492. package/dist/chunks/{NcListItem-DUrmhUuv.mjs.map → NcListItem-DwXB_QT2.cjs.map} +1 -1
  493. package/dist/chunks/NcListItem-R4rlqTZ-.mjs +276 -0
  494. package/dist/chunks/{NcListItem-BnsP7HQy.cjs.map → NcListItem-R4rlqTZ-.mjs.map} +1 -1
  495. package/dist/chunks/NcListItemIcon-DKSzgujO.cjs +175 -0
  496. package/dist/chunks/{NcListItemIcon-9um1JI9_.mjs.map → NcListItemIcon-DKSzgujO.cjs.map} +1 -1
  497. package/dist/chunks/NcListItemIcon-DONcrnT_.mjs +176 -0
  498. package/dist/chunks/{NcListItemIcon-Dd_ykGiP.cjs.map → NcListItemIcon-DONcrnT_.mjs.map} +1 -1
  499. package/dist/chunks/NcPasswordField-CGhVkWI2.cjs +256 -0
  500. package/dist/chunks/{NcPasswordField-BE4xwMjQ.mjs.map → NcPasswordField-CGhVkWI2.cjs.map} +1 -1
  501. package/dist/chunks/NcPasswordField-Vyt7Pk2z.mjs +254 -0
  502. package/dist/chunks/{NcPasswordField-ghqpLn7G.cjs.map → NcPasswordField-Vyt7Pk2z.mjs.map} +1 -1
  503. package/dist/chunks/NcPopover-BS1bBSkg.cjs +268 -0
  504. package/dist/chunks/{NcPopover--V3R3EKV.mjs.map → NcPopover-BS1bBSkg.cjs.map} +1 -1
  505. package/dist/chunks/NcPopover-foxJPAfG.mjs +267 -0
  506. package/dist/chunks/{NcPopover-h-t7Dnjk.cjs.map → NcPopover-foxJPAfG.mjs.map} +1 -1
  507. package/dist/chunks/NcProgressBar-BafFcKiu.mjs +117 -0
  508. package/dist/chunks/{NcProgressBar-BYk5hfPI.cjs.map → NcProgressBar-BafFcKiu.mjs.map} +1 -1
  509. package/dist/chunks/NcProgressBar-mFqoqB4L.cjs +116 -0
  510. package/dist/chunks/{NcProgressBar-DDAeXyp8.mjs.map → NcProgressBar-mFqoqB4L.cjs.map} +1 -1
  511. package/dist/chunks/NcRelatedResourcesPanel-BY8X00Zd.mjs +438 -0
  512. package/dist/chunks/{NcRelatedResourcesPanel-_r1K7ZaY.cjs.map → NcRelatedResourcesPanel-BY8X00Zd.mjs.map} +1 -1
  513. package/dist/chunks/NcRelatedResourcesPanel-Ci31S2dU.cjs +439 -0
  514. package/dist/chunks/{NcRelatedResourcesPanel-CuvKC8Is.mjs.map → NcRelatedResourcesPanel-Ci31S2dU.cjs.map} +1 -1
  515. package/dist/chunks/NcRichContenteditable-BpHLlt5A.mjs +797 -0
  516. package/dist/chunks/{NcRichContenteditable-Bo4te1z-.mjs.map → NcRichContenteditable-BpHLlt5A.mjs.map} +1 -1
  517. package/dist/chunks/NcRichContenteditable-DnukwC1y.cjs +800 -0
  518. package/dist/chunks/{NcRichContenteditable-Bm4NjGuD.cjs.map → NcRichContenteditable-DnukwC1y.cjs.map} +1 -1
  519. package/dist/chunks/NcRichText-Ba2D7EQq.mjs +412 -0
  520. package/dist/chunks/NcRichText-Ba2D7EQq.mjs.map +1 -0
  521. package/dist/chunks/NcRichText-U0Ral4-y.cjs +419 -0
  522. package/dist/chunks/NcRichText-U0Ral4-y.cjs.map +1 -0
  523. package/dist/chunks/NcSavingIndicatorIcon-Bhy7wcoT.mjs +65 -0
  524. package/dist/chunks/{NcSavingIndicatorIcon-Bf0SEmgS.mjs.map → NcSavingIndicatorIcon-Bhy7wcoT.mjs.map} +1 -1
  525. package/dist/chunks/NcSavingIndicatorIcon-BzKAIkhk.cjs +64 -0
  526. package/dist/chunks/{NcSavingIndicatorIcon-BTvUkUn-.cjs.map → NcSavingIndicatorIcon-BzKAIkhk.cjs.map} +1 -1
  527. package/dist/chunks/{NcSelect-DRVEZt73.mjs → NcSelect-EnQUx7gf.mjs} +159 -121
  528. package/dist/chunks/{NcSelect-C58Mm9lZ.cjs.map → NcSelect-EnQUx7gf.mjs.map} +1 -1
  529. package/dist/chunks/{NcSelect-C58Mm9lZ.cjs → NcSelect-uODI-lly.cjs} +161 -111
  530. package/dist/chunks/{NcSelect-DRVEZt73.mjs.map → NcSelect-uODI-lly.cjs.map} +1 -1
  531. package/dist/chunks/NcSelectTags-BzQxtK0g.cjs +303 -0
  532. package/dist/chunks/{NcSelectTags-Cleij1YB.cjs.map → NcSelectTags-BzQxtK0g.cjs.map} +1 -1
  533. package/dist/chunks/NcSelectTags-tEADv0cv.mjs +302 -0
  534. package/dist/chunks/{NcSelectTags-35nlauoq.mjs.map → NcSelectTags-tEADv0cv.mjs.map} +1 -1
  535. package/dist/chunks/NcSettingsInputText-BdjyNei5.mjs +102 -0
  536. package/dist/chunks/{NcSettingsInputText-BxsnpVjM.mjs.map → NcSettingsInputText-BdjyNei5.mjs.map} +1 -1
  537. package/dist/chunks/NcSettingsInputText-Bg_VDGoS.cjs +101 -0
  538. package/dist/chunks/{NcSettingsInputText-Cy7Umyq4.cjs.map → NcSettingsInputText-Bg_VDGoS.cjs.map} +1 -1
  539. package/dist/chunks/NcSettingsSection-CWQHnXy4.cjs +102 -0
  540. package/dist/chunks/{NcSettingsSection-BntYMcIt.mjs.map → NcSettingsSection-CWQHnXy4.cjs.map} +1 -1
  541. package/dist/chunks/NcSettingsSection-CWUIg3WZ.mjs +103 -0
  542. package/dist/chunks/{NcSettingsSection-fWPqQmzZ.cjs.map → NcSettingsSection-CWUIg3WZ.mjs.map} +1 -1
  543. package/dist/chunks/NcSettingsSelectGroup-DyQfy9P5.cjs +213 -0
  544. package/dist/chunks/{NcSettingsSelectGroup-CehQI4oG.mjs.map → NcSettingsSelectGroup-DyQfy9P5.cjs.map} +1 -1
  545. package/dist/chunks/NcSettingsSelectGroup-I_qUQ6nA.mjs +211 -0
  546. package/dist/chunks/{NcSettingsSelectGroup-68kJocD5.cjs.map → NcSettingsSelectGroup-I_qUQ6nA.mjs.map} +1 -1
  547. package/dist/chunks/NcTextField-Bu1cvjSc.mjs +151 -0
  548. package/dist/chunks/{NcTextField-BAKyJTQ0.mjs.map → NcTextField-Bu1cvjSc.mjs.map} +1 -1
  549. package/dist/chunks/NcTextField-CO0wnb8n.cjs +150 -0
  550. package/dist/chunks/{NcTextField-DKppZoIo.cjs.map → NcTextField-CO0wnb8n.cjs.map} +1 -1
  551. package/dist/chunks/{NcTimezonePicker-8juQvyGU.mjs → NcTimezonePicker-BA3AYCBm.mjs} +131 -84
  552. package/dist/chunks/{NcTimezonePicker-8juQvyGU.mjs.map → NcTimezonePicker-BA3AYCBm.mjs.map} +1 -1
  553. package/dist/chunks/{NcTimezonePicker-D6psCKlf.cjs → NcTimezonePicker-D1jVCuUh.cjs} +131 -79
  554. package/dist/chunks/{NcTimezonePicker-D6psCKlf.cjs.map → NcTimezonePicker-D1jVCuUh.cjs.map} +1 -1
  555. package/dist/chunks/NcUserBubble-CSAU8jCM.cjs +212 -0
  556. package/dist/chunks/{NcUserBubble-6o5fw3gB.mjs.map → NcUserBubble-CSAU8jCM.cjs.map} +1 -1
  557. package/dist/chunks/NcUserBubble-h9Zo3CCT.mjs +211 -0
  558. package/dist/chunks/{NcUserBubble-J_kbLTpc.cjs.map → NcUserBubble-h9Zo3CCT.mjs.map} +1 -1
  559. package/dist/chunks/NcUserStatusIcon-BC9qDAzb.mjs +168 -0
  560. package/dist/chunks/{NcUserStatusIcon-Bqtgf32T.cjs.map → NcUserStatusIcon-BC9qDAzb.mjs.map} +1 -1
  561. package/dist/chunks/NcUserStatusIcon-BpLvFq3p.cjs +170 -0
  562. package/dist/chunks/{NcUserStatusIcon-D_ItGF5U.mjs.map → NcUserStatusIcon-BpLvFq3p.cjs.map} +1 -1
  563. package/dist/chunks/{ScopeComponent-BZYPT7rR.mjs → ScopeComponent-B9RptB1A.mjs} +9 -4
  564. package/dist/chunks/{ScopeComponent-BZYPT7rR.mjs.map → ScopeComponent-B9RptB1A.mjs.map} +1 -1
  565. package/dist/chunks/{ScopeComponent-C0EJf0Ag.cjs → ScopeComponent-Cmn9OSZb.cjs} +9 -4
  566. package/dist/chunks/{ScopeComponent-C0EJf0Ag.cjs.map → ScopeComponent-Cmn9OSZb.cjs.map} +1 -1
  567. package/dist/chunks/_l10n-DwEsZ6zb.mjs +122 -0
  568. package/dist/chunks/_l10n-DwEsZ6zb.mjs.map +1 -0
  569. package/dist/chunks/_l10n-ftziezFF.cjs +121 -0
  570. package/dist/chunks/_l10n-ftziezFF.cjs.map +1 -0
  571. package/dist/chunks/_plugin-vue2_normalizer-D637Qkok.mjs +59 -0
  572. package/dist/chunks/_plugin-vue2_normalizer-D637Qkok.mjs.map +1 -0
  573. package/dist/chunks/_plugin-vue2_normalizer-DbFIE4_M.cjs +58 -0
  574. package/dist/chunks/_plugin-vue2_normalizer-DbFIE4_M.cjs.map +1 -0
  575. package/dist/chunks/{actionGlobal-DL1VaQzF.cjs → actionGlobal-BfK-CImU.cjs} +2 -2
  576. package/dist/chunks/{actionGlobal-D49NL940.mjs.map → actionGlobal-BfK-CImU.cjs.map} +1 -1
  577. package/dist/chunks/{actionGlobal-D49NL940.mjs → actionGlobal-DV5ZiuS0.mjs} +2 -2
  578. package/dist/chunks/{actionGlobal-DL1VaQzF.cjs.map → actionGlobal-DV5ZiuS0.mjs.map} +1 -1
  579. package/dist/chunks/{actionText-jLsEBszD.mjs → actionText-BaGktsVf.mjs} +21 -17
  580. package/dist/chunks/{actionText-jLsEBszD.mjs.map → actionText-BaGktsVf.mjs.map} +1 -1
  581. package/dist/chunks/{actionText-iWNpvZuI.cjs → actionText-BnA6RS9I.cjs} +21 -17
  582. package/dist/chunks/{actionText-iWNpvZuI.cjs.map → actionText-BnA6RS9I.cjs.map} +1 -1
  583. package/dist/chunks/autolink-Bgjz08wN.cjs +125 -0
  584. package/dist/chunks/autolink-Bgjz08wN.cjs.map +1 -0
  585. package/dist/chunks/autolink-DA7VzS8Y.mjs +126 -0
  586. package/dist/chunks/autolink-DA7VzS8Y.mjs.map +1 -0
  587. package/dist/chunks/emoji-CWr00EYY.cjs +87 -0
  588. package/dist/chunks/emoji-CWr00EYY.cjs.map +1 -0
  589. package/dist/chunks/emoji-CbOkKZx5.mjs +86 -0
  590. package/dist/chunks/emoji-CbOkKZx5.mjs.map +1 -0
  591. package/dist/chunks/{focusTrap-xauhLvvr.cjs → focusTrap-Dsmd28wG.cjs} +4 -3
  592. package/dist/chunks/{focusTrap-Be9GEB5C.mjs.map → focusTrap-Dsmd28wG.cjs.map} +1 -1
  593. package/dist/chunks/{focusTrap-Be9GEB5C.mjs → focusTrap-hWDNhn4t.mjs} +4 -3
  594. package/dist/chunks/{focusTrap-xauhLvvr.cjs.map → focusTrap-hWDNhn4t.mjs.map} +1 -1
  595. package/dist/chunks/{getAvatarUrl-BHpn8LgJ.mjs → getAvatarUrl-BBvqBOJD.mjs} +7 -7
  596. package/dist/chunks/{getAvatarUrl-BHpn8LgJ.mjs.map → getAvatarUrl-BBvqBOJD.mjs.map} +1 -1
  597. package/dist/chunks/{getAvatarUrl-CjIpoO6I.cjs → getAvatarUrl-C40xfr4C.cjs} +7 -7
  598. package/dist/chunks/{getAvatarUrl-CjIpoO6I.cjs.map → getAvatarUrl-C40xfr4C.cjs.map} +1 -1
  599. package/dist/chunks/index-BRQQ9NaL.mjs +198 -0
  600. package/dist/chunks/{index-uiNhPYvS.mjs.map → index-BRQQ9NaL.mjs.map} +1 -1
  601. package/dist/chunks/index-BwyQ2N-M.mjs +119 -0
  602. package/dist/chunks/index-BwyQ2N-M.mjs.map +1 -0
  603. package/dist/chunks/index-D0euettC.cjs +201 -0
  604. package/dist/chunks/{index-CMnR5Pf6.cjs.map → index-D0euettC.cjs.map} +1 -1
  605. package/dist/chunks/index-DYccGIvD.mjs +197 -0
  606. package/dist/chunks/{index-CnpswYi6.mjs.map → index-DYccGIvD.mjs.map} +1 -1
  607. package/dist/chunks/index-Dl-SBuhJ.cjs +196 -0
  608. package/dist/chunks/{index-Cke9rKBg.cjs.map → index-Dl-SBuhJ.cjs.map} +1 -1
  609. package/dist/chunks/index-Dsgv-f-l.cjs +118 -0
  610. package/dist/chunks/index-Dsgv-f-l.cjs.map +1 -0
  611. package/dist/chunks/{logger-D9RRY4er.cjs → logger-BcZGm6Un.cjs} +3 -3
  612. package/dist/chunks/{logger-C7qcfVW8.mjs.map → logger-BcZGm6Un.cjs.map} +1 -1
  613. package/dist/chunks/{logger-C7qcfVW8.mjs → logger-C7ZZ6zFQ.mjs} +3 -3
  614. package/dist/chunks/{logger-D9RRY4er.cjs.map → logger-C7ZZ6zFQ.mjs.map} +1 -1
  615. package/dist/chunks/referencePickerModal-DBIqS1ep.mjs +3474 -0
  616. package/dist/chunks/referencePickerModal-DBIqS1ep.mjs.map +1 -0
  617. package/dist/chunks/referencePickerModal-XXILzgbd.cjs +3476 -0
  618. package/dist/chunks/referencePickerModal-XXILzgbd.cjs.map +1 -0
  619. package/dist/chunks/{usernameToColor-CgqbKJ4t.mjs → usernameToColor-3O2cQhM4.mjs} +22 -16
  620. package/dist/chunks/{usernameToColor-CgqbKJ4t.mjs.map → usernameToColor-3O2cQhM4.mjs.map} +1 -1
  621. package/dist/chunks/usernameToColor-DiRnOvlG.cjs +48 -0
  622. package/dist/chunks/{usernameToColor-B7GSjspk.cjs.map → usernameToColor-DiRnOvlG.cjs.map} +1 -1
  623. package/dist/composables/useFormatDateTime.d.ts +57 -0
  624. package/dist/index.cjs +284 -224
  625. package/dist/index.cjs.map +1 -1
  626. package/dist/index.mjs +287 -306
  627. package/dist/index.mjs.map +1 -1
  628. package/dist/plugin.d.ts +2 -1
  629. package/package.json +7 -6
  630. package/dist/assets/NcRichText-D2BBsB-_.css +0 -218
  631. package/dist/assets/referencePickerModal-DWB2ghBg.css +0 -336
  632. package/dist/chunks/AlertCircleOutline-DHFN4OkX.cjs +0 -35
  633. package/dist/chunks/AlertCircleOutline-U_bhL30C.mjs +0 -37
  634. package/dist/chunks/ArrowLeft-CjNnGIlF.cjs +0 -35
  635. package/dist/chunks/ArrowLeft-kklNBL9z.mjs +0 -37
  636. package/dist/chunks/ArrowRight-C3BxTDjF.mjs +0 -37
  637. package/dist/chunks/ArrowRight-CxzzJJQ6.cjs +0 -35
  638. package/dist/chunks/Check-CRLmJNGG.mjs +0 -37
  639. package/dist/chunks/Check-CVn5nytg.cjs +0 -35
  640. package/dist/chunks/ChevronDown-DQPox_nl.cjs +0 -35
  641. package/dist/chunks/ChevronDown-HHJdUMN4.mjs +0 -37
  642. package/dist/chunks/ChevronRight-BAJhNawb.cjs +0 -35
  643. package/dist/chunks/ChevronRight-DL3e8bjj.mjs +0 -37
  644. package/dist/chunks/ChevronUp-B6TIgl1a.mjs +0 -37
  645. package/dist/chunks/ChevronUp-kmHRpe7H.cjs +0 -35
  646. package/dist/chunks/Close-BtO5TPBO.mjs +0 -37
  647. package/dist/chunks/Close-DBfrdXMw.cjs +0 -35
  648. package/dist/chunks/DotsHorizontal-B8kTqpHe.cjs +0 -35
  649. package/dist/chunks/DotsHorizontal-DfVgEXgz.mjs +0 -37
  650. package/dist/chunks/GenColors-Du2-qv6X.cjs +0 -141
  651. package/dist/chunks/NcActionButtonGroup-Cawk1Q5J.cjs +0 -46
  652. package/dist/chunks/NcActionButtonGroup-jODsi2kz.mjs +0 -50
  653. package/dist/chunks/NcActionInput-BJSgHPYh.mjs +0 -244
  654. package/dist/chunks/NcActionInput-NL0c8XAX.cjs +0 -235
  655. package/dist/chunks/NcActions-B1Ue3gj8.mjs +0 -676
  656. package/dist/chunks/NcActions-X10TnO-4.cjs +0 -668
  657. package/dist/chunks/NcAppContent-BkVLz0T8.mjs +0 -265
  658. package/dist/chunks/NcAppContent-CxdfMOVw.cjs +0 -256
  659. package/dist/chunks/NcAppNavigation-BxaQQTmk.mjs +0 -124
  660. package/dist/chunks/NcAppNavigation-CmBNq0sh.cjs +0 -115
  661. package/dist/chunks/NcAppNavigationCaption-BQsUUBUS.mjs +0 -61
  662. package/dist/chunks/NcAppNavigationCaption-CUJSIO54.cjs +0 -58
  663. package/dist/chunks/NcAppNavigationItem-Cheox0NI.mjs +0 -477
  664. package/dist/chunks/NcAppNavigationItem-DdfXf1p_.cjs +0 -465
  665. package/dist/chunks/NcAppNavigationNewItem-BkyKxjL8.cjs +0 -87
  666. package/dist/chunks/NcAppNavigationNewItem-Dmb8qw0g.mjs +0 -91
  667. package/dist/chunks/NcAppNavigationSettings-CCjTkNf3.cjs +0 -104
  668. package/dist/chunks/NcAppNavigationSettings-_O0oYU8k.mjs +0 -106
  669. package/dist/chunks/NcAppNavigationToggle-VDwkZ4nu.mjs +0 -122
  670. package/dist/chunks/NcAppNavigationToggle-nnE6CrRb.cjs +0 -119
  671. package/dist/chunks/NcAppSettingsDialog-CECnsnfv.mjs +0 -191
  672. package/dist/chunks/NcAppSettingsDialog-wqDewrRQ.cjs +0 -184
  673. package/dist/chunks/NcAppSidebar-9W8ytMkj.mjs +0 -600
  674. package/dist/chunks/NcAppSidebar-9W8ytMkj.mjs.map +0 -1
  675. package/dist/chunks/NcAppSidebar-DkDtOUbu.cjs +0 -582
  676. package/dist/chunks/NcAppSidebar-DkDtOUbu.cjs.map +0 -1
  677. package/dist/chunks/NcAvatar-CO9waN_L.cjs +0 -458
  678. package/dist/chunks/NcAvatar-CO9waN_L.cjs.map +0 -1
  679. package/dist/chunks/NcAvatar-GULQurjA.mjs +0 -474
  680. package/dist/chunks/NcAvatar-GULQurjA.mjs.map +0 -1
  681. package/dist/chunks/NcBreadcrumb-BBZofeFG.cjs +0 -180
  682. package/dist/chunks/NcBreadcrumb-BerOYeSO.mjs +0 -186
  683. package/dist/chunks/NcBreadcrumbs-BypDKcgj.mjs +0 -422
  684. package/dist/chunks/NcBreadcrumbs-D0aoSiDN.cjs +0 -412
  685. package/dist/chunks/NcCheckboxRadioSwitch-BcwXUfkk.mjs +0 -607
  686. package/dist/chunks/NcCheckboxRadioSwitch-BcwXUfkk.mjs.map +0 -1
  687. package/dist/chunks/NcCheckboxRadioSwitch-UnycoV8I.cjs +0 -603
  688. package/dist/chunks/NcCheckboxRadioSwitch-UnycoV8I.cjs.map +0 -1
  689. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Dfig4O2O.cjs +0 -4
  690. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Dfig4O2O.cjs.map +0 -1
  691. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Zn4mWlPY.mjs +0 -3
  692. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-Zn4mWlPY.mjs.map +0 -1
  693. package/dist/chunks/NcColorPicker-BUsEYIj3.cjs +0 -168
  694. package/dist/chunks/NcColorPicker-BUsEYIj3.cjs.map +0 -1
  695. package/dist/chunks/NcColorPicker-C29EJ5Gw.mjs +0 -178
  696. package/dist/chunks/NcColorPicker-C29EJ5Gw.mjs.map +0 -1
  697. package/dist/chunks/NcContent-CQk_EERB.mjs +0 -87
  698. package/dist/chunks/NcContent-D-F_hXQE.cjs +0 -80
  699. package/dist/chunks/NcDashboardWidget-B5kIIXjc.mjs +0 -141
  700. package/dist/chunks/NcDashboardWidget-DLTh61Jk.cjs +0 -135
  701. package/dist/chunks/NcDashboardWidgetItem-BKhL4kyY.cjs +0 -138
  702. package/dist/chunks/NcDashboardWidgetItem-xj-DfJjn.mjs +0 -143
  703. package/dist/chunks/NcDateTime-BeI2IjH3.mjs +0 -146
  704. package/dist/chunks/NcDateTime-BeI2IjH3.mjs.map +0 -1
  705. package/dist/chunks/NcDateTime-DuS_515z.cjs +0 -142
  706. package/dist/chunks/NcDateTime-DuS_515z.cjs.map +0 -1
  707. package/dist/chunks/NcDialog-C6nYgBDF.cjs +0 -207
  708. package/dist/chunks/NcDialog-D6YSjidf.mjs +0 -214
  709. package/dist/chunks/NcDialogButton-D7ibBxsQ.cjs +0 -69
  710. package/dist/chunks/NcDialogButton-DQFoaN7q.mjs +0 -74
  711. package/dist/chunks/NcEmojiPicker-028V7lKH.mjs +0 -251
  712. package/dist/chunks/NcEmojiPicker-BDRuuzNw.cjs +0 -241
  713. package/dist/chunks/NcHeaderMenu-58OTmM-5.cjs +0 -187
  714. package/dist/chunks/NcHeaderMenu-DOGXti7v.mjs +0 -193
  715. package/dist/chunks/NcIconSvgWrapper-BTdzvQGV.mjs +0 -93
  716. package/dist/chunks/NcIconSvgWrapper-kIn1eQyv.cjs +0 -89
  717. package/dist/chunks/NcInputConfirmCancel-D5GYt1Th.mjs +0 -97
  718. package/dist/chunks/NcInputConfirmCancel-unF2X_Ax.cjs +0 -92
  719. package/dist/chunks/NcListItem-BnsP7HQy.cjs +0 -233
  720. package/dist/chunks/NcListItem-DUrmhUuv.mjs +0 -238
  721. package/dist/chunks/NcListItemIcon-9um1JI9_.mjs +0 -166
  722. package/dist/chunks/NcListItemIcon-Dd_ykGiP.cjs +0 -163
  723. package/dist/chunks/NcPasswordField-BE4xwMjQ.mjs +0 -238
  724. package/dist/chunks/NcPasswordField-ghqpLn7G.cjs +0 -229
  725. package/dist/chunks/NcPopover--V3R3EKV.mjs +0 -239
  726. package/dist/chunks/NcPopover-h-t7Dnjk.cjs +0 -233
  727. package/dist/chunks/NcProgressBar-BYk5hfPI.cjs +0 -96
  728. package/dist/chunks/NcProgressBar-DDAeXyp8.mjs +0 -99
  729. package/dist/chunks/NcRelatedResourcesPanel-CuvKC8Is.mjs +0 -381
  730. package/dist/chunks/NcRelatedResourcesPanel-_r1K7ZaY.cjs +0 -371
  731. package/dist/chunks/NcRichContenteditable-Bm4NjGuD.cjs +0 -640
  732. package/dist/chunks/NcRichContenteditable-Bo4te1z-.mjs +0 -649
  733. package/dist/chunks/NcRichText-BP7ht7d4.cjs +0 -329
  734. package/dist/chunks/NcRichText-BP7ht7d4.cjs.map +0 -1
  735. package/dist/chunks/NcRichText-DUCudV4J.mjs +0 -345
  736. package/dist/chunks/NcRichText-DUCudV4J.mjs.map +0 -1
  737. package/dist/chunks/NcSavingIndicatorIcon-BTvUkUn-.cjs +0 -59
  738. package/dist/chunks/NcSavingIndicatorIcon-Bf0SEmgS.mjs +0 -62
  739. package/dist/chunks/NcSelectTags-35nlauoq.mjs +0 -258
  740. package/dist/chunks/NcSelectTags-Cleij1YB.cjs +0 -252
  741. package/dist/chunks/NcSettingsInputText-BxsnpVjM.mjs +0 -95
  742. package/dist/chunks/NcSettingsInputText-Cy7Umyq4.cjs +0 -92
  743. package/dist/chunks/NcSettingsSection-BntYMcIt.mjs +0 -98
  744. package/dist/chunks/NcSettingsSection-fWPqQmzZ.cjs +0 -96
  745. package/dist/chunks/NcSettingsSelectGroup-68kJocD5.cjs +0 -185
  746. package/dist/chunks/NcSettingsSelectGroup-CehQI4oG.mjs +0 -192
  747. package/dist/chunks/NcTextField-BAKyJTQ0.mjs +0 -146
  748. package/dist/chunks/NcTextField-DKppZoIo.cjs +0 -140
  749. package/dist/chunks/NcUserBubble-6o5fw3gB.mjs +0 -198
  750. package/dist/chunks/NcUserBubble-J_kbLTpc.cjs +0 -193
  751. package/dist/chunks/NcUserStatusIcon-Bqtgf32T.cjs +0 -150
  752. package/dist/chunks/NcUserStatusIcon-D_ItGF5U.mjs +0 -157
  753. package/dist/chunks/_l10n-BVVVUgGU.cjs +0 -66
  754. package/dist/chunks/_l10n-BVVVUgGU.cjs.map +0 -1
  755. package/dist/chunks/_l10n-BZu8wI2q.mjs +0 -68
  756. package/dist/chunks/_l10n-BZu8wI2q.mjs.map +0 -1
  757. package/dist/chunks/_plugin-vue2_normalizer-Bj5bLKV4.mjs +0 -32
  758. package/dist/chunks/_plugin-vue2_normalizer-Bj5bLKV4.mjs.map +0 -1
  759. package/dist/chunks/_plugin-vue2_normalizer-GXKvuwrq.cjs +0 -31
  760. package/dist/chunks/_plugin-vue2_normalizer-GXKvuwrq.cjs.map +0 -1
  761. package/dist/chunks/autolink-BtgUDDdk.mjs +0 -59
  762. package/dist/chunks/autolink-BtgUDDdk.mjs.map +0 -1
  763. package/dist/chunks/autolink-D0rLUkqm.cjs +0 -55
  764. package/dist/chunks/autolink-D0rLUkqm.cjs.map +0 -1
  765. package/dist/chunks/emoji-DEH9dtOa.cjs +0 -59
  766. package/dist/chunks/emoji-DEH9dtOa.cjs.map +0 -1
  767. package/dist/chunks/emoji-k4gWHxrE.mjs +0 -62
  768. package/dist/chunks/emoji-k4gWHxrE.mjs.map +0 -1
  769. package/dist/chunks/index-Bh9FEWbr.cjs +0 -87
  770. package/dist/chunks/index-Bh9FEWbr.cjs.map +0 -1
  771. package/dist/chunks/index-CMnR5Pf6.cjs +0 -157
  772. package/dist/chunks/index-CU14QsCg.mjs +0 -88
  773. package/dist/chunks/index-CU14QsCg.mjs.map +0 -1
  774. package/dist/chunks/index-Cke9rKBg.cjs +0 -148
  775. package/dist/chunks/index-CnpswYi6.mjs +0 -149
  776. package/dist/chunks/index-uiNhPYvS.mjs +0 -163
  777. package/dist/chunks/referencePickerModal-CoaOqLOw.cjs +0 -2408
  778. package/dist/chunks/referencePickerModal-CoaOqLOw.cjs.map +0 -1
  779. package/dist/chunks/referencePickerModal-DJNSkODj.mjs +0 -2428
  780. package/dist/chunks/referencePickerModal-DJNSkODj.mjs.map +0 -1
  781. package/dist/chunks/usernameToColor-B7GSjspk.cjs +0 -39
@@ -1,2428 +0,0 @@
1
- import '../assets/referencePickerModal-DWB2ghBg.css';
2
- import { e as Et, i as xe, h as Pt, a as St, f as kt, d as F, g as xt, c as $t, j as Ot } from "./index-CU14QsCg.mjs";
3
- import { n as O } from "./_plugin-vue2_normalizer-Bj5bLKV4.mjs";
4
- import { r as q, P as Nt, a as S, Q as Lt, R as Tt, S as Ke, T as It, u as Vt, U as At, E as jt, V as Bt } from "./_l10n-BZu8wI2q.mjs";
5
- import ye from "@nextcloud/axios";
6
- import { loadState as Je } from "@nextcloud/initial-state";
7
- import { imagePath as qt, generateOcsUrl as Z } from "@nextcloud/router";
8
- import ge from "../Components/NcEmptyContent.mjs";
9
- import { N as Xe } from "./index-CnpswYi6.mjs";
10
- import { N as Ye } from "./NcSelect-DRVEZt73.mjs";
11
- import { useIntersectionObserver as Mt, useResizeObserver as Ut } from "@vueuse/core";
12
- import Dt, { ref as fe } from "vue";
13
- import { g as Wt } from "./autolink-BtgUDDdk.mjs";
14
- import Ze from "../Components/NcButton.mjs";
15
- import Ft from "../Components/NcLoadingIcon.mjs";
16
- import { N as zt } from "./NcTextField-BAKyJTQ0.mjs";
17
- import { D as Ht } from "./DotsHorizontal-DfVgEXgz.mjs";
18
- import Gt from "../Components/NcModal.mjs";
19
- import { emit as Qt } from "@nextcloud/event-bus";
20
- import { A as Kt } from "./ArrowLeft-kklNBL9z.mjs";
21
- import { C as Jt } from "./Close-BtO5TPBO.mjs";
22
- /*!
23
- * vue-router v3.6.5
24
- * (c) 2022 Evan You
25
- * @license MIT
26
- */
27
- function V(t, e) {
28
- if (!t)
29
- throw new Error("[vue-router] " + e);
30
- }
31
- function C(t, e) {
32
- t || typeof console < "u" && console.warn("[vue-router] " + e);
33
- }
34
- function k(t, e) {
35
- for (var r in e)
36
- t[r] = e[r];
37
- return t;
38
- }
39
- var Xt = /[!'()*]/g, Yt = function(t) {
40
- return "%" + t.charCodeAt(0).toString(16);
41
- }, Zt = /%2C/g, j = function(t) {
42
- return encodeURIComponent(t).replace(Xt, Yt).replace(Zt, ",");
43
- };
44
- function he(t) {
45
- try {
46
- return decodeURIComponent(t);
47
- } catch {
48
- process.env.NODE_ENV !== "production" && C(!1, 'Error decoding "' + t + '". Leaving it intact.');
49
- }
50
- return t;
51
- }
52
- function er(t, e, r) {
53
- e === void 0 && (e = {});
54
- var n = r || tr, i;
55
- try {
56
- i = n(t || "");
57
- } catch (o) {
58
- process.env.NODE_ENV !== "production" && C(!1, o.message), i = {};
59
- }
60
- for (var s in e) {
61
- var a = e[s];
62
- i[s] = Array.isArray(a) ? a.map($e) : $e(a);
63
- }
64
- return i;
65
- }
66
- var $e = function(t) {
67
- return t == null || typeof t == "object" ? t : String(t);
68
- };
69
- function tr(t) {
70
- var e = {};
71
- return t = t.trim().replace(/^(\?|#|&)/, ""), t && t.split("&").forEach(function(r) {
72
- var n = r.replace(/\+/g, " ").split("="), i = he(n.shift()), s = n.length > 0 ? he(n.join("=")) : null;
73
- e[i] === void 0 ? e[i] = s : Array.isArray(e[i]) ? e[i].push(s) : e[i] = [e[i], s];
74
- }), e;
75
- }
76
- function rr(t) {
77
- var e = t ? Object.keys(t).map(function(r) {
78
- var n = t[r];
79
- if (n === void 0)
80
- return "";
81
- if (n === null)
82
- return j(r);
83
- if (Array.isArray(n)) {
84
- var i = [];
85
- return n.forEach(function(s) {
86
- s !== void 0 && (s === null ? i.push(j(r)) : i.push(j(r) + "=" + j(s)));
87
- }), i.join("&");
88
- }
89
- return j(r) + "=" + j(n);
90
- }).filter(function(r) {
91
- return r.length > 0;
92
- }).join("&") : null;
93
- return e ? "?" + e : "";
94
- }
95
- var ee = /\/?$/;
96
- function te(t, e, r, n) {
97
- var i = n && n.options.stringifyQuery, s = e.query || {};
98
- try {
99
- s = pe(s);
100
- } catch {
101
- }
102
- var a = {
103
- name: e.name || t && t.name,
104
- meta: t && t.meta || {},
105
- path: e.path || "/",
106
- hash: e.hash || "",
107
- query: s,
108
- params: e.params || {},
109
- fullPath: Oe(e, i),
110
- matched: t ? nr(t) : []
111
- };
112
- return r && (a.redirectedFrom = Oe(r, i)), Object.freeze(a);
113
- }
114
- function pe(t) {
115
- if (Array.isArray(t))
116
- return t.map(pe);
117
- if (t && typeof t == "object") {
118
- var e = {};
119
- for (var r in t)
120
- e[r] = pe(t[r]);
121
- return e;
122
- } else
123
- return t;
124
- }
125
- var I = te(null, {
126
- path: "/"
127
- });
128
- function nr(t) {
129
- for (var e = []; t; )
130
- e.unshift(t), t = t.parent;
131
- return e;
132
- }
133
- function Oe(t, e) {
134
- var r = t.path, n = t.query;
135
- n === void 0 && (n = {});
136
- var i = t.hash;
137
- i === void 0 && (i = "");
138
- var s = e || rr;
139
- return (r || "/") + s(n) + i;
140
- }
141
- function et(t, e, r) {
142
- return e === I ? t === e : e ? t.path && e.path ? t.path.replace(ee, "") === e.path.replace(ee, "") && (r || t.hash === e.hash && Q(t.query, e.query)) : t.name && e.name ? t.name === e.name && (r || t.hash === e.hash && Q(t.query, e.query) && Q(t.params, e.params)) : !1 : !1;
143
- }
144
- function Q(t, e) {
145
- if (t === void 0 && (t = {}), e === void 0 && (e = {}), !t || !e)
146
- return t === e;
147
- var r = Object.keys(t).sort(), n = Object.keys(e).sort();
148
- return r.length !== n.length ? !1 : r.every(function(i, s) {
149
- var a = t[i], o = n[s];
150
- if (o !== i)
151
- return !1;
152
- var c = e[i];
153
- return a == null || c == null ? a === c : typeof a == "object" && typeof c == "object" ? Q(a, c) : String(a) === String(c);
154
- });
155
- }
156
- function ir(t, e) {
157
- return t.path.replace(ee, "/").indexOf(
158
- e.path.replace(ee, "/")
159
- ) === 0 && (!e.hash || t.hash === e.hash) && sr(t.query, e.query);
160
- }
161
- function sr(t, e) {
162
- for (var r in e)
163
- if (!(r in t))
164
- return !1;
165
- return !0;
166
- }
167
- function tt(t) {
168
- for (var e = 0; e < t.matched.length; e++) {
169
- var r = t.matched[e];
170
- for (var n in r.instances) {
171
- var i = r.instances[n], s = r.enteredCbs[n];
172
- if (!(!i || !s)) {
173
- delete r.enteredCbs[n];
174
- for (var a = 0; a < s.length; a++)
175
- i._isBeingDestroyed || s[a](i);
176
- }
177
- }
178
- }
179
- }
180
- var ar = {
181
- name: "RouterView",
182
- functional: !0,
183
- props: {
184
- name: {
185
- type: String,
186
- default: "default"
187
- }
188
- },
189
- render: function(e, r) {
190
- var n = r.props, i = r.children, s = r.parent, a = r.data;
191
- a.routerView = !0;
192
- for (var o = s.$createElement, c = n.name, u = s.$route, p = s._routerViewCache || (s._routerViewCache = {}), m = 0, h = !1; s && s._routerRoot !== s; ) {
193
- var v = s.$vnode ? s.$vnode.data : {};
194
- v.routerView && m++, v.keepAlive && s._directInactive && s._inactive && (h = !0), s = s.$parent;
195
- }
196
- if (a.routerViewDepth = m, h) {
197
- var d = p[c], l = d && d.component;
198
- return l ? (d.configProps && Ne(l, a, d.route, d.configProps), o(l, a, i)) : o();
199
- }
200
- var f = u.matched[m], y = f && f.components[c];
201
- if (!f || !y)
202
- return p[c] = null, o();
203
- p[c] = { component: y }, a.registerRouteInstance = function(g, b) {
204
- var R = f.instances[c];
205
- (b && R !== g || !b && R === g) && (f.instances[c] = b);
206
- }, (a.hook || (a.hook = {})).prepatch = function(g, b) {
207
- f.instances[c] = b.componentInstance;
208
- }, a.hook.init = function(g) {
209
- g.data.keepAlive && g.componentInstance && g.componentInstance !== f.instances[c] && (f.instances[c] = g.componentInstance), tt(u);
210
- };
211
- var _ = f.props && f.props[c];
212
- return _ && (k(p[c], {
213
- route: u,
214
- configProps: _
215
- }), Ne(y, a, u, _)), o(y, a, i);
216
- }
217
- };
218
- function Ne(t, e, r, n) {
219
- var i = e.props = or(r, n);
220
- if (i) {
221
- i = e.props = k({}, i);
222
- var s = e.attrs = e.attrs || {};
223
- for (var a in i)
224
- (!t.props || !(a in t.props)) && (s[a] = i[a], delete i[a]);
225
- }
226
- }
227
- function or(t, e) {
228
- switch (typeof e) {
229
- case "undefined":
230
- return;
231
- case "object":
232
- return e;
233
- case "function":
234
- return e(t);
235
- case "boolean":
236
- return e ? t.params : void 0;
237
- default:
238
- process.env.NODE_ENV !== "production" && C(
239
- !1,
240
- 'props in "' + t.path + '" is a ' + typeof e + ", expecting an object, function or boolean."
241
- );
242
- }
243
- }
244
- function rt(t, e, r) {
245
- var n = t.charAt(0);
246
- if (n === "/")
247
- return t;
248
- if (n === "?" || n === "#")
249
- return e + t;
250
- var i = e.split("/");
251
- (!r || !i[i.length - 1]) && i.pop();
252
- for (var s = t.replace(/^\//, "").split("/"), a = 0; a < s.length; a++) {
253
- var o = s[a];
254
- o === ".." ? i.pop() : o !== "." && i.push(o);
255
- }
256
- return i[0] !== "" && i.unshift(""), i.join("/");
257
- }
258
- function cr(t) {
259
- var e = "", r = "", n = t.indexOf("#");
260
- n >= 0 && (e = t.slice(n), t = t.slice(0, n));
261
- var i = t.indexOf("?");
262
- return i >= 0 && (r = t.slice(i + 1), t = t.slice(0, i)), {
263
- path: t,
264
- query: r,
265
- hash: e
266
- };
267
- }
268
- function N(t) {
269
- return t.replace(/\/(?:\s*\/)+/g, "/");
270
- }
271
- var re = Array.isArray || function(t) {
272
- return Object.prototype.toString.call(t) == "[object Array]";
273
- }, M = st, ur = _e, lr = dr, fr = nt, hr = it, pr = new RegExp([
274
- // Match escaped characters that would otherwise appear in future matches.
275
- // This allows the user to escape special characters that won't transform.
276
- "(\\\\.)",
277
- // Match Express-style parameters and un-named parameters with a prefix
278
- // and optional suffixes. Matches appear as:
279
- //
280
- // "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined]
281
- // "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined]
282
- // "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
283
- "([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"
284
- ].join("|"), "g");
285
- function _e(t, e) {
286
- for (var r = [], n = 0, i = 0, s = "", a = e && e.delimiter || "/", o; (o = pr.exec(t)) != null; ) {
287
- var c = o[0], u = o[1], p = o.index;
288
- if (s += t.slice(i, p), i = p + c.length, u) {
289
- s += u[1];
290
- continue;
291
- }
292
- var m = t[i], h = o[2], v = o[3], d = o[4], l = o[5], f = o[6], y = o[7];
293
- s && (r.push(s), s = "");
294
- var _ = h != null && m != null && m !== h, g = f === "+" || f === "*", b = f === "?" || f === "*", R = o[2] || a, E = d || l;
295
- r.push({
296
- name: v || n++,
297
- prefix: h || "",
298
- delimiter: R,
299
- optional: b,
300
- repeat: g,
301
- partial: _,
302
- asterisk: !!y,
303
- pattern: E ? yr(E) : y ? ".*" : "[^" + K(R) + "]+?"
304
- });
305
- }
306
- return i < t.length && (s += t.substr(i)), s && r.push(s), r;
307
- }
308
- function dr(t, e) {
309
- return nt(_e(t, e), e);
310
- }
311
- function vr(t) {
312
- return encodeURI(t).replace(/[\/?#]/g, function(e) {
313
- return "%" + e.charCodeAt(0).toString(16).toUpperCase();
314
- });
315
- }
316
- function mr(t) {
317
- return encodeURI(t).replace(/[?#]/g, function(e) {
318
- return "%" + e.charCodeAt(0).toString(16).toUpperCase();
319
- });
320
- }
321
- function nt(t, e) {
322
- for (var r = new Array(t.length), n = 0; n < t.length; n++)
323
- typeof t[n] == "object" && (r[n] = new RegExp("^(?:" + t[n].pattern + ")$", be(e)));
324
- return function(i, s) {
325
- for (var a = "", o = i || {}, c = s || {}, u = c.pretty ? vr : encodeURIComponent, p = 0; p < t.length; p++) {
326
- var m = t[p];
327
- if (typeof m == "string") {
328
- a += m;
329
- continue;
330
- }
331
- var h = o[m.name], v;
332
- if (h == null)
333
- if (m.optional) {
334
- m.partial && (a += m.prefix);
335
- continue;
336
- } else
337
- throw new TypeError('Expected "' + m.name + '" to be defined');
338
- if (re(h)) {
339
- if (!m.repeat)
340
- throw new TypeError('Expected "' + m.name + '" to not repeat, but received `' + JSON.stringify(h) + "`");
341
- if (h.length === 0) {
342
- if (m.optional)
343
- continue;
344
- throw new TypeError('Expected "' + m.name + '" to not be empty');
345
- }
346
- for (var d = 0; d < h.length; d++) {
347
- if (v = u(h[d]), !r[p].test(v))
348
- throw new TypeError('Expected all "' + m.name + '" to match "' + m.pattern + '", but received `' + JSON.stringify(v) + "`");
349
- a += (d === 0 ? m.prefix : m.delimiter) + v;
350
- }
351
- continue;
352
- }
353
- if (v = m.asterisk ? mr(h) : u(h), !r[p].test(v))
354
- throw new TypeError('Expected "' + m.name + '" to match "' + m.pattern + '", but received "' + v + '"');
355
- a += m.prefix + v;
356
- }
357
- return a;
358
- };
359
- }
360
- function K(t) {
361
- return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1");
362
- }
363
- function yr(t) {
364
- return t.replace(/([=!:$\/()])/g, "\\$1");
365
- }
366
- function we(t, e) {
367
- return t.keys = e, t;
368
- }
369
- function be(t) {
370
- return t && t.sensitive ? "" : "i";
371
- }
372
- function gr(t, e) {
373
- var r = t.source.match(/\((?!\?)/g);
374
- if (r)
375
- for (var n = 0; n < r.length; n++)
376
- e.push({
377
- name: n,
378
- prefix: null,
379
- delimiter: null,
380
- optional: !1,
381
- repeat: !1,
382
- partial: !1,
383
- asterisk: !1,
384
- pattern: null
385
- });
386
- return we(t, e);
387
- }
388
- function _r(t, e, r) {
389
- for (var n = [], i = 0; i < t.length; i++)
390
- n.push(st(t[i], e, r).source);
391
- var s = new RegExp("(?:" + n.join("|") + ")", be(r));
392
- return we(s, e);
393
- }
394
- function wr(t, e, r) {
395
- return it(_e(t, r), e, r);
396
- }
397
- function it(t, e, r) {
398
- re(e) || (r = /** @type {!Object} */
399
- e || r, e = []), r = r || {};
400
- for (var n = r.strict, i = r.end !== !1, s = "", a = 0; a < t.length; a++) {
401
- var o = t[a];
402
- if (typeof o == "string")
403
- s += K(o);
404
- else {
405
- var c = K(o.prefix), u = "(?:" + o.pattern + ")";
406
- e.push(o), o.repeat && (u += "(?:" + c + u + ")*"), o.optional ? o.partial ? u = c + "(" + u + ")?" : u = "(?:" + c + "(" + u + "))?" : u = c + "(" + u + ")", s += u;
407
- }
408
- }
409
- var p = K(r.delimiter || "/"), m = s.slice(-p.length) === p;
410
- return n || (s = (m ? s.slice(0, -p.length) : s) + "(?:" + p + "(?=$))?"), i ? s += "$" : s += n && m ? "" : "(?=" + p + "|$)", we(new RegExp("^" + s, be(r)), e);
411
- }
412
- function st(t, e, r) {
413
- return re(e) || (r = /** @type {!Object} */
414
- e || r, e = []), r = r || {}, t instanceof RegExp ? gr(
415
- t,
416
- /** @type {!Array} */
417
- e
418
- ) : re(t) ? _r(
419
- /** @type {!Array} */
420
- t,
421
- /** @type {!Array} */
422
- e,
423
- r
424
- ) : wr(
425
- /** @type {string} */
426
- t,
427
- /** @type {!Array} */
428
- e,
429
- r
430
- );
431
- }
432
- M.parse = ur;
433
- M.compile = lr;
434
- M.tokensToFunction = fr;
435
- M.tokensToRegExp = hr;
436
- var Le = /* @__PURE__ */ Object.create(null);
437
- function J(t, e, r) {
438
- e = e || {};
439
- try {
440
- var n = Le[t] || (Le[t] = M.compile(t));
441
- return typeof e.pathMatch == "string" && (e[0] = e.pathMatch), n(e, { pretty: !0 });
442
- } catch (i) {
443
- return process.env.NODE_ENV !== "production" && C(typeof e.pathMatch == "string", "missing param for " + r + ": " + i.message), "";
444
- } finally {
445
- delete e[0];
446
- }
447
- }
448
- function Re(t, e, r, n) {
449
- var i = typeof t == "string" ? { path: t } : t;
450
- if (i._normalized)
451
- return i;
452
- if (i.name) {
453
- i = k({}, t);
454
- var s = i.params;
455
- return s && typeof s == "object" && (i.params = k({}, s)), i;
456
- }
457
- if (!i.path && i.params && e) {
458
- i = k({}, i), i._normalized = !0;
459
- var a = k(k({}, e.params), i.params);
460
- if (e.name)
461
- i.name = e.name, i.params = a;
462
- else if (e.matched.length) {
463
- var o = e.matched[e.matched.length - 1].path;
464
- i.path = J(o, a, "path " + e.path);
465
- } else
466
- process.env.NODE_ENV !== "production" && C(!1, "relative params navigation requires a current route.");
467
- return i;
468
- }
469
- var c = cr(i.path || ""), u = e && e.path || "/", p = c.path ? rt(c.path, u, r || i.append) : u, m = er(
470
- c.query,
471
- i.query,
472
- n && n.options.parseQuery
473
- ), h = i.hash || c.hash;
474
- return h && h.charAt(0) !== "#" && (h = "#" + h), {
475
- _normalized: !0,
476
- path: p,
477
- query: m,
478
- hash: h
479
- };
480
- }
481
- var br = [String, Object], Rr = [String, Array], Te = function() {
482
- }, Ie, Ve, Ae, at = {
483
- name: "RouterLink",
484
- props: {
485
- to: {
486
- type: br,
487
- required: !0
488
- },
489
- tag: {
490
- type: String,
491
- default: "a"
492
- },
493
- custom: Boolean,
494
- exact: Boolean,
495
- exactPath: Boolean,
496
- append: Boolean,
497
- replace: Boolean,
498
- activeClass: String,
499
- exactActiveClass: String,
500
- ariaCurrentValue: {
501
- type: String,
502
- default: "page"
503
- },
504
- event: {
505
- type: Rr,
506
- default: "click"
507
- }
508
- },
509
- render: function(e) {
510
- var r = this, n = this.$router, i = this.$route, s = n.resolve(
511
- this.to,
512
- i,
513
- this.append
514
- ), a = s.location, o = s.route, c = s.href, u = {}, p = n.options.linkActiveClass, m = n.options.linkExactActiveClass, h = p == null ? "router-link-active" : p, v = m == null ? "router-link-exact-active" : m, d = this.activeClass == null ? h : this.activeClass, l = this.exactActiveClass == null ? v : this.exactActiveClass, f = o.redirectedFrom ? te(null, Re(o.redirectedFrom), null, n) : o;
515
- u[l] = et(i, f, this.exactPath), u[d] = this.exact || this.exactPath ? u[l] : ir(i, f);
516
- var y = u[l] ? this.ariaCurrentValue : null, _ = function(le) {
517
- je(le) && (r.replace ? n.replace(a, Te) : n.push(a, Te));
518
- }, g = { click: je };
519
- Array.isArray(this.event) ? this.event.forEach(function(le) {
520
- g[le] = _;
521
- }) : g[this.event] = _;
522
- var b = { class: u }, R = !this.$scopedSlots.$hasNormal && this.$scopedSlots.default && this.$scopedSlots.default({
523
- href: c,
524
- route: o,
525
- navigate: _,
526
- isActive: u[d],
527
- isExactActive: u[l]
528
- });
529
- if (R) {
530
- if (process.env.NODE_ENV !== "production" && !this.custom && (!Ie && C(!1, 'In Vue Router 4, the v-slot API will by default wrap its content with an <a> element. Use the custom prop to remove this warning:\n<router-link v-slot="{ navigate, href }" custom></router-link>\n'), Ie = !0), R.length === 1)
531
- return R[0];
532
- if (R.length > 1 || !R.length)
533
- return process.env.NODE_ENV !== "production" && C(
534
- !1,
535
- '<router-link> with to="' + this.to + "\" is trying to use a scoped slot but it didn't provide exactly one child. Wrapping the content with a span element."
536
- ), R.length === 0 ? e() : e("span", {}, R);
537
- }
538
- if (process.env.NODE_ENV !== "production" && ("tag" in this.$options.propsData && !Ve && (C(
539
- !1,
540
- "<router-link>'s tag prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link."
541
- ), Ve = !0), "event" in this.$options.propsData && !Ae && (C(
542
- !1,
543
- "<router-link>'s event prop is deprecated and has been removed in Vue Router 4. Use the v-slot API to remove this warning: https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link."
544
- ), Ae = !0)), this.tag === "a")
545
- b.on = g, b.attrs = { href: c, "aria-current": y };
546
- else {
547
- var E = ot(this.$slots.default);
548
- if (E) {
549
- E.isStatic = !1;
550
- var P = E.data = k({}, E.data);
551
- P.on = P.on || {};
552
- for (var $ in P.on) {
553
- var U = P.on[$];
554
- $ in g && (P.on[$] = Array.isArray(U) ? U : [U]);
555
- }
556
- for (var H in g)
557
- H in P.on ? P.on[H].push(g[H]) : P.on[H] = _;
558
- var ke = E.data.attrs = k({}, E.data.attrs);
559
- ke.href = c, ke["aria-current"] = y;
560
- } else
561
- b.on = g;
562
- }
563
- return e(this.tag, b, this.$slots.default);
564
- }
565
- };
566
- function je(t) {
567
- if (!(t.metaKey || t.altKey || t.ctrlKey || t.shiftKey) && !t.defaultPrevented && !(t.button !== void 0 && t.button !== 0)) {
568
- if (t.currentTarget && t.currentTarget.getAttribute) {
569
- var e = t.currentTarget.getAttribute("target");
570
- if (/\b_blank\b/i.test(e))
571
- return;
572
- }
573
- return t.preventDefault && t.preventDefault(), !0;
574
- }
575
- }
576
- function ot(t) {
577
- if (t) {
578
- for (var e, r = 0; r < t.length; r++)
579
- if (e = t[r], e.tag === "a" || e.children && (e = ot(e.children)))
580
- return e;
581
- }
582
- }
583
- var ne;
584
- function ie(t) {
585
- if (!(ie.installed && ne === t)) {
586
- ie.installed = !0, ne = t;
587
- var e = function(i) {
588
- return i !== void 0;
589
- }, r = function(i, s) {
590
- var a = i.$options._parentVnode;
591
- e(a) && e(a = a.data) && e(a = a.registerRouteInstance) && a(i, s);
592
- };
593
- t.mixin({
594
- beforeCreate: function() {
595
- e(this.$options.router) ? (this._routerRoot = this, this._router = this.$options.router, this._router.init(this), t.util.defineReactive(this, "_route", this._router.history.current)) : this._routerRoot = this.$parent && this.$parent._routerRoot || this, r(this, this);
596
- },
597
- destroyed: function() {
598
- r(this);
599
- }
600
- }), Object.defineProperty(t.prototype, "$router", {
601
- get: function() {
602
- return this._routerRoot._router;
603
- }
604
- }), Object.defineProperty(t.prototype, "$route", {
605
- get: function() {
606
- return this._routerRoot._route;
607
- }
608
- }), t.component("RouterView", ar), t.component("RouterLink", at);
609
- var n = t.config.optionMergeStrategies;
610
- n.beforeRouteEnter = n.beforeRouteLeave = n.beforeRouteUpdate = n.created;
611
- }
612
- }
613
- var z = typeof window < "u";
614
- function G(t, e, r, n, i) {
615
- var s = e || [], a = r || /* @__PURE__ */ Object.create(null), o = n || /* @__PURE__ */ Object.create(null);
616
- t.forEach(function(h) {
617
- de(s, a, o, h, i);
618
- });
619
- for (var c = 0, u = s.length; c < u; c++)
620
- s[c] === "*" && (s.push(s.splice(c, 1)[0]), u--, c--);
621
- if (process.env.NODE_ENV === "development") {
622
- var p = s.filter(function(h) {
623
- return h && h.charAt(0) !== "*" && h.charAt(0) !== "/";
624
- });
625
- if (p.length > 0) {
626
- var m = p.map(function(h) {
627
- return "- " + h;
628
- }).join("\n");
629
- C(!1, "Non-nested routes must include a leading slash character. Fix the following routes: \n" + m);
630
- }
631
- }
632
- return {
633
- pathList: s,
634
- pathMap: a,
635
- nameMap: o
636
- };
637
- }
638
- function de(t, e, r, n, i, s) {
639
- var a = n.path, o = n.name;
640
- process.env.NODE_ENV !== "production" && (V(a != null, '"path" is required in a route configuration.'), V(
641
- typeof n.component != "string",
642
- 'route config "component" for path: ' + String(
643
- a || o
644
- ) + " cannot be a string id. Use an actual component instead."
645
- ), C(
646
- // eslint-disable-next-line no-control-regex
647
- !/[^\u0000-\u007F]+/.test(a),
648
- 'Route with path "' + a + '" contains unencoded characters, make sure your path is correctly encoded before passing it to the router. Use encodeURI to encode static segments of your path.'
649
- ));
650
- var c = n.pathToRegexpOptions || {}, u = Er(a, i, c.strict);
651
- typeof n.caseSensitive == "boolean" && (c.sensitive = n.caseSensitive);
652
- var p = {
653
- path: u,
654
- regex: Cr(u, c),
655
- components: n.components || { default: n.component },
656
- alias: n.alias ? typeof n.alias == "string" ? [n.alias] : n.alias : [],
657
- instances: {},
658
- enteredCbs: {},
659
- name: o,
660
- parent: i,
661
- matchAs: s,
662
- redirect: n.redirect,
663
- beforeEnter: n.beforeEnter,
664
- meta: n.meta || {},
665
- props: n.props == null ? {} : n.components ? n.props : { default: n.props }
666
- };
667
- if (n.children && (process.env.NODE_ENV !== "production" && n.name && !n.redirect && n.children.some(function(l) {
668
- return /^\/?$/.test(l.path);
669
- }) && C(
670
- !1,
671
- "Named Route '" + n.name + "' has a default child route. When navigating to this named route (:to=\"{name: '" + n.name + "'}\"), the default child route will not be rendered. Remove the name from this route and use the name of the default child route for named links instead."
672
- ), n.children.forEach(function(l) {
673
- var f = s ? N(s + "/" + l.path) : void 0;
674
- de(t, e, r, l, p, f);
675
- })), e[p.path] || (t.push(p.path), e[p.path] = p), n.alias !== void 0)
676
- for (var m = Array.isArray(n.alias) ? n.alias : [n.alias], h = 0; h < m.length; ++h) {
677
- var v = m[h];
678
- if (process.env.NODE_ENV !== "production" && v === a) {
679
- C(
680
- !1,
681
- 'Found an alias with the same value as the path: "' + a + '". You have to remove that alias. It will be ignored in development.'
682
- );
683
- continue;
684
- }
685
- var d = {
686
- path: v,
687
- children: n.children
688
- };
689
- de(
690
- t,
691
- e,
692
- r,
693
- d,
694
- i,
695
- p.path || "/"
696
- // matchAs
697
- );
698
- }
699
- o && (r[o] ? process.env.NODE_ENV !== "production" && !s && C(
700
- !1,
701
- 'Duplicate named routes definition: { name: "' + o + '", path: "' + p.path + '" }'
702
- ) : r[o] = p);
703
- }
704
- function Cr(t, e) {
705
- var r = M(t, [], e);
706
- if (process.env.NODE_ENV !== "production") {
707
- var n = /* @__PURE__ */ Object.create(null);
708
- r.keys.forEach(function(i) {
709
- C(
710
- !n[i.name],
711
- 'Duplicate param keys in route with path: "' + t + '"'
712
- ), n[i.name] = !0;
713
- });
714
- }
715
- return r;
716
- }
717
- function Er(t, e, r) {
718
- return r || (t = t.replace(/\/$/, "")), t[0] === "/" || e == null ? t : N(e.path + "/" + t);
719
- }
720
- function Pr(t, e) {
721
- var r = G(t), n = r.pathList, i = r.pathMap, s = r.nameMap;
722
- function a(v) {
723
- G(v, n, i, s);
724
- }
725
- function o(v, d) {
726
- var l = typeof v != "object" ? s[v] : void 0;
727
- G([d || v], n, i, s, l), l && l.alias.length && G(
728
- // $flow-disable-line route is defined if parent is
729
- l.alias.map(function(f) {
730
- return { path: f, children: [d] };
731
- }),
732
- n,
733
- i,
734
- s,
735
- l
736
- );
737
- }
738
- function c() {
739
- return n.map(function(v) {
740
- return i[v];
741
- });
742
- }
743
- function u(v, d, l) {
744
- var f = Re(v, d, !1, e), y = f.name;
745
- if (y) {
746
- var _ = s[y];
747
- if (process.env.NODE_ENV !== "production" && C(_, "Route with name '" + y + "' does not exist"), !_)
748
- return h(null, f);
749
- var g = _.regex.keys.filter(function($) {
750
- return !$.optional;
751
- }).map(function($) {
752
- return $.name;
753
- });
754
- if (typeof f.params != "object" && (f.params = {}), d && typeof d.params == "object")
755
- for (var b in d.params)
756
- !(b in f.params) && g.indexOf(b) > -1 && (f.params[b] = d.params[b]);
757
- return f.path = J(_.path, f.params, 'named route "' + y + '"'), h(_, f, l);
758
- } else if (f.path) {
759
- f.params = {};
760
- for (var R = 0; R < n.length; R++) {
761
- var E = n[R], P = i[E];
762
- if (Sr(P.regex, f.path, f.params))
763
- return h(P, f, l);
764
- }
765
- }
766
- return h(null, f);
767
- }
768
- function p(v, d) {
769
- var l = v.redirect, f = typeof l == "function" ? l(te(v, d, null, e)) : l;
770
- if (typeof f == "string" && (f = { path: f }), !f || typeof f != "object")
771
- return process.env.NODE_ENV !== "production" && C(
772
- !1,
773
- "invalid redirect option: " + JSON.stringify(f)
774
- ), h(null, d);
775
- var y = f, _ = y.name, g = y.path, b = d.query, R = d.hash, E = d.params;
776
- if (b = y.hasOwnProperty("query") ? y.query : b, R = y.hasOwnProperty("hash") ? y.hash : R, E = y.hasOwnProperty("params") ? y.params : E, _) {
777
- var P = s[_];
778
- return process.env.NODE_ENV !== "production" && V(P, 'redirect failed: named route "' + _ + '" not found.'), u({
779
- _normalized: !0,
780
- name: _,
781
- query: b,
782
- hash: R,
783
- params: E
784
- }, void 0, d);
785
- } else if (g) {
786
- var $ = kr(g, v), U = J($, E, 'redirect route with path "' + $ + '"');
787
- return u({
788
- _normalized: !0,
789
- path: U,
790
- query: b,
791
- hash: R
792
- }, void 0, d);
793
- } else
794
- return process.env.NODE_ENV !== "production" && C(!1, "invalid redirect option: " + JSON.stringify(f)), h(null, d);
795
- }
796
- function m(v, d, l) {
797
- var f = J(l, d.params, 'aliased route with path "' + l + '"'), y = u({
798
- _normalized: !0,
799
- path: f
800
- });
801
- if (y) {
802
- var _ = y.matched, g = _[_.length - 1];
803
- return d.params = y.params, h(g, d);
804
- }
805
- return h(null, d);
806
- }
807
- function h(v, d, l) {
808
- return v && v.redirect ? p(v, l || d) : v && v.matchAs ? m(v, d, v.matchAs) : te(v, d, l, e);
809
- }
810
- return {
811
- match: u,
812
- addRoute: o,
813
- getRoutes: c,
814
- addRoutes: a
815
- };
816
- }
817
- function Sr(t, e, r) {
818
- var n = e.match(t);
819
- if (n) {
820
- if (!r)
821
- return !0;
822
- } else
823
- return !1;
824
- for (var i = 1, s = n.length; i < s; ++i) {
825
- var a = t.keys[i - 1];
826
- a && (r[a.name || "pathMatch"] = typeof n[i] == "string" ? he(n[i]) : n[i]);
827
- }
828
- return !0;
829
- }
830
- function kr(t, e) {
831
- return rt(t, e.parent ? e.parent.path : "/", !0);
832
- }
833
- var xr = z && window.performance && window.performance.now ? window.performance : Date;
834
- function ct() {
835
- return xr.now().toFixed(3);
836
- }
837
- var ut = ct();
838
- function oe() {
839
- return ut;
840
- }
841
- function lt(t) {
842
- return ut = t;
843
- }
844
- var ft = /* @__PURE__ */ Object.create(null);
845
- function ht() {
846
- "scrollRestoration" in window.history && (window.history.scrollRestoration = "manual");
847
- var t = window.location.protocol + "//" + window.location.host, e = window.location.href.replace(t, ""), r = k({}, window.history.state);
848
- return r.key = oe(), window.history.replaceState(r, "", e), window.addEventListener("popstate", Be), function() {
849
- window.removeEventListener("popstate", Be);
850
- };
851
- }
852
- function L(t, e, r, n) {
853
- if (t.app) {
854
- var i = t.options.scrollBehavior;
855
- i && (process.env.NODE_ENV !== "production" && V(typeof i == "function", "scrollBehavior must be a function"), t.app.$nextTick(function() {
856
- var s = $r(), a = i.call(
857
- t,
858
- e,
859
- r,
860
- n ? s : null
861
- );
862
- a && (typeof a.then == "function" ? a.then(function(o) {
863
- Ue(o, s);
864
- }).catch(function(o) {
865
- process.env.NODE_ENV !== "production" && V(!1, o.toString());
866
- }) : Ue(a, s));
867
- }));
868
- }
869
- }
870
- function pt() {
871
- var t = oe();
872
- t && (ft[t] = {
873
- x: window.pageXOffset,
874
- y: window.pageYOffset
875
- });
876
- }
877
- function Be(t) {
878
- pt(), t.state && t.state.key && lt(t.state.key);
879
- }
880
- function $r() {
881
- var t = oe();
882
- if (t)
883
- return ft[t];
884
- }
885
- function Or(t, e) {
886
- var r = document.documentElement, n = r.getBoundingClientRect(), i = t.getBoundingClientRect();
887
- return {
888
- x: i.left - n.left - e.x,
889
- y: i.top - n.top - e.y
890
- };
891
- }
892
- function qe(t) {
893
- return B(t.x) || B(t.y);
894
- }
895
- function Me(t) {
896
- return {
897
- x: B(t.x) ? t.x : window.pageXOffset,
898
- y: B(t.y) ? t.y : window.pageYOffset
899
- };
900
- }
901
- function Nr(t) {
902
- return {
903
- x: B(t.x) ? t.x : 0,
904
- y: B(t.y) ? t.y : 0
905
- };
906
- }
907
- function B(t) {
908
- return typeof t == "number";
909
- }
910
- var Lr = /^#\d/;
911
- function Ue(t, e) {
912
- var r = typeof t == "object";
913
- if (r && typeof t.selector == "string") {
914
- var n = Lr.test(t.selector) ? document.getElementById(t.selector.slice(1)) : document.querySelector(t.selector);
915
- if (n) {
916
- var i = t.offset && typeof t.offset == "object" ? t.offset : {};
917
- i = Nr(i), e = Or(n, i);
918
- } else
919
- qe(t) && (e = Me(t));
920
- } else
921
- r && qe(t) && (e = Me(t));
922
- e && ("scrollBehavior" in document.documentElement.style ? window.scrollTo({
923
- left: e.x,
924
- top: e.y,
925
- // $flow-disable-line
926
- behavior: t.behavior
927
- }) : window.scrollTo(e.x, e.y));
928
- }
929
- var T = z && function() {
930
- var t = window.navigator.userAgent;
931
- return (t.indexOf("Android 2.") !== -1 || t.indexOf("Android 4.0") !== -1) && t.indexOf("Mobile Safari") !== -1 && t.indexOf("Chrome") === -1 && t.indexOf("Windows Phone") === -1 ? !1 : window.history && typeof window.history.pushState == "function";
932
- }();
933
- function se(t, e) {
934
- pt();
935
- var r = window.history;
936
- try {
937
- if (e) {
938
- var n = k({}, r.state);
939
- n.key = oe(), r.replaceState(n, "", t);
940
- } else
941
- r.pushState({ key: lt(ct()) }, "", t);
942
- } catch {
943
- window.location[e ? "replace" : "assign"](t);
944
- }
945
- }
946
- function ve(t) {
947
- se(t, !0);
948
- }
949
- var A = {
950
- redirected: 2,
951
- aborted: 4,
952
- cancelled: 8,
953
- duplicated: 16
954
- };
955
- function Tr(t, e) {
956
- return ce(
957
- t,
958
- e,
959
- A.redirected,
960
- 'Redirected when going from "' + t.fullPath + '" to "' + jr(
961
- e
962
- ) + '" via a navigation guard.'
963
- );
964
- }
965
- function Ir(t, e) {
966
- var r = ce(
967
- t,
968
- e,
969
- A.duplicated,
970
- 'Avoided redundant navigation to current location: "' + t.fullPath + '".'
971
- );
972
- return r.name = "NavigationDuplicated", r;
973
- }
974
- function De(t, e) {
975
- return ce(
976
- t,
977
- e,
978
- A.cancelled,
979
- 'Navigation cancelled from "' + t.fullPath + '" to "' + e.fullPath + '" with a new navigation.'
980
- );
981
- }
982
- function Vr(t, e) {
983
- return ce(
984
- t,
985
- e,
986
- A.aborted,
987
- 'Navigation aborted from "' + t.fullPath + '" to "' + e.fullPath + '" via a navigation guard.'
988
- );
989
- }
990
- function ce(t, e, r, n) {
991
- var i = new Error(n);
992
- return i._isRouter = !0, i.from = t, i.to = e, i.type = r, i;
993
- }
994
- var Ar = ["params", "query", "hash"];
995
- function jr(t) {
996
- if (typeof t == "string")
997
- return t;
998
- if ("path" in t)
999
- return t.path;
1000
- var e = {};
1001
- return Ar.forEach(function(r) {
1002
- r in t && (e[r] = t[r]);
1003
- }), JSON.stringify(e, null, 2);
1004
- }
1005
- function ae(t) {
1006
- return Object.prototype.toString.call(t).indexOf("Error") > -1;
1007
- }
1008
- function ue(t, e) {
1009
- return ae(t) && t._isRouter && (e == null || t.type === e);
1010
- }
1011
- function We(t, e, r) {
1012
- var n = function(i) {
1013
- i >= t.length ? r() : t[i] ? e(t[i], function() {
1014
- n(i + 1);
1015
- }) : n(i + 1);
1016
- };
1017
- n(0);
1018
- }
1019
- function Br(t) {
1020
- return function(e, r, n) {
1021
- var i = !1, s = 0, a = null;
1022
- dt(t, function(o, c, u, p) {
1023
- if (typeof o == "function" && o.cid === void 0) {
1024
- i = !0, s++;
1025
- var m = Fe(function(l) {
1026
- Mr(l) && (l = l.default), o.resolved = typeof l == "function" ? l : ne.extend(l), u.components[p] = l, s--, s <= 0 && n();
1027
- }), h = Fe(function(l) {
1028
- var f = "Failed to resolve async component " + p + ": " + l;
1029
- process.env.NODE_ENV !== "production" && C(!1, f), a || (a = ae(l) ? l : new Error(f), n(a));
1030
- }), v;
1031
- try {
1032
- v = o(m, h);
1033
- } catch (l) {
1034
- h(l);
1035
- }
1036
- if (v)
1037
- if (typeof v.then == "function")
1038
- v.then(m, h);
1039
- else {
1040
- var d = v.component;
1041
- d && typeof d.then == "function" && d.then(m, h);
1042
- }
1043
- }
1044
- }), i || n();
1045
- };
1046
- }
1047
- function dt(t, e) {
1048
- return vt(t.map(function(r) {
1049
- return Object.keys(r.components).map(function(n) {
1050
- return e(
1051
- r.components[n],
1052
- r.instances[n],
1053
- r,
1054
- n
1055
- );
1056
- });
1057
- }));
1058
- }
1059
- function vt(t) {
1060
- return Array.prototype.concat.apply([], t);
1061
- }
1062
- var qr = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol";
1063
- function Mr(t) {
1064
- return t.__esModule || qr && t[Symbol.toStringTag] === "Module";
1065
- }
1066
- function Fe(t) {
1067
- var e = !1;
1068
- return function() {
1069
- for (var r = [], n = arguments.length; n--; )
1070
- r[n] = arguments[n];
1071
- if (!e)
1072
- return e = !0, t.apply(this, r);
1073
- };
1074
- }
1075
- var x = function(e, r) {
1076
- this.router = e, this.base = Ur(r), this.current = I, this.pending = null, this.ready = !1, this.readyCbs = [], this.readyErrorCbs = [], this.errorCbs = [], this.listeners = [];
1077
- };
1078
- x.prototype.listen = function(e) {
1079
- this.cb = e;
1080
- };
1081
- x.prototype.onReady = function(e, r) {
1082
- this.ready ? e() : (this.readyCbs.push(e), r && this.readyErrorCbs.push(r));
1083
- };
1084
- x.prototype.onError = function(e) {
1085
- this.errorCbs.push(e);
1086
- };
1087
- x.prototype.transitionTo = function(e, r, n) {
1088
- var i = this, s;
1089
- try {
1090
- s = this.router.match(e, this.current);
1091
- } catch (o) {
1092
- throw this.errorCbs.forEach(function(c) {
1093
- c(o);
1094
- }), o;
1095
- }
1096
- var a = this.current;
1097
- this.confirmTransition(
1098
- s,
1099
- function() {
1100
- i.updateRoute(s), r && r(s), i.ensureURL(), i.router.afterHooks.forEach(function(o) {
1101
- o && o(s, a);
1102
- }), i.ready || (i.ready = !0, i.readyCbs.forEach(function(o) {
1103
- o(s);
1104
- }));
1105
- },
1106
- function(o) {
1107
- n && n(o), o && !i.ready && (!ue(o, A.redirected) || a !== I) && (i.ready = !0, i.readyErrorCbs.forEach(function(c) {
1108
- c(o);
1109
- }));
1110
- }
1111
- );
1112
- };
1113
- x.prototype.confirmTransition = function(e, r, n) {
1114
- var i = this, s = this.current;
1115
- this.pending = e;
1116
- var a = function(l) {
1117
- !ue(l) && ae(l) && (i.errorCbs.length ? i.errorCbs.forEach(function(f) {
1118
- f(l);
1119
- }) : (process.env.NODE_ENV !== "production" && C(!1, "uncaught error during route navigation:"), console.error(l))), n && n(l);
1120
- }, o = e.matched.length - 1, c = s.matched.length - 1;
1121
- if (et(e, s) && // in the case the route map has been dynamically appended to
1122
- o === c && e.matched[o] === s.matched[c])
1123
- return this.ensureURL(), e.hash && L(this.router, s, e, !1), a(Ir(s, e));
1124
- var u = Dr(
1125
- this.current.matched,
1126
- e.matched
1127
- ), p = u.updated, m = u.deactivated, h = u.activated, v = [].concat(
1128
- // in-component leave guards
1129
- Fr(m),
1130
- // global before hooks
1131
- this.router.beforeHooks,
1132
- // in-component update hooks
1133
- zr(p),
1134
- // in-config enter guards
1135
- h.map(function(l) {
1136
- return l.beforeEnter;
1137
- }),
1138
- // async components
1139
- Br(h)
1140
- ), d = function(l, f) {
1141
- if (i.pending !== e)
1142
- return a(De(s, e));
1143
- try {
1144
- l(e, s, function(y) {
1145
- y === !1 ? (i.ensureURL(!0), a(Vr(s, e))) : ae(y) ? (i.ensureURL(!0), a(y)) : typeof y == "string" || typeof y == "object" && (typeof y.path == "string" || typeof y.name == "string") ? (a(Tr(s, e)), typeof y == "object" && y.replace ? i.replace(y) : i.push(y)) : f(y);
1146
- });
1147
- } catch (y) {
1148
- a(y);
1149
- }
1150
- };
1151
- We(v, d, function() {
1152
- var l = Hr(h), f = l.concat(i.router.resolveHooks);
1153
- We(f, d, function() {
1154
- if (i.pending !== e)
1155
- return a(De(s, e));
1156
- i.pending = null, r(e), i.router.app && i.router.app.$nextTick(function() {
1157
- tt(e);
1158
- });
1159
- });
1160
- });
1161
- };
1162
- x.prototype.updateRoute = function(e) {
1163
- this.current = e, this.cb && this.cb(e);
1164
- };
1165
- x.prototype.setupListeners = function() {
1166
- };
1167
- x.prototype.teardown = function() {
1168
- this.listeners.forEach(function(e) {
1169
- e();
1170
- }), this.listeners = [], this.current = I, this.pending = null;
1171
- };
1172
- function Ur(t) {
1173
- if (!t)
1174
- if (z) {
1175
- var e = document.querySelector("base");
1176
- t = e && e.getAttribute("href") || "/", t = t.replace(/^https?:\/\/[^\/]+/, "");
1177
- } else
1178
- t = "/";
1179
- return t.charAt(0) !== "/" && (t = "/" + t), t.replace(/\/$/, "");
1180
- }
1181
- function Dr(t, e) {
1182
- var r, n = Math.max(t.length, e.length);
1183
- for (r = 0; r < n && t[r] === e[r]; r++)
1184
- ;
1185
- return {
1186
- updated: e.slice(0, r),
1187
- activated: e.slice(r),
1188
- deactivated: t.slice(r)
1189
- };
1190
- }
1191
- function Ce(t, e, r, n) {
1192
- var i = dt(t, function(s, a, o, c) {
1193
- var u = Wr(s, e);
1194
- if (u)
1195
- return Array.isArray(u) ? u.map(function(p) {
1196
- return r(p, a, o, c);
1197
- }) : r(u, a, o, c);
1198
- });
1199
- return vt(n ? i.reverse() : i);
1200
- }
1201
- function Wr(t, e) {
1202
- return typeof t != "function" && (t = ne.extend(t)), t.options[e];
1203
- }
1204
- function Fr(t) {
1205
- return Ce(t, "beforeRouteLeave", mt, !0);
1206
- }
1207
- function zr(t) {
1208
- return Ce(t, "beforeRouteUpdate", mt);
1209
- }
1210
- function mt(t, e) {
1211
- if (e)
1212
- return function() {
1213
- return t.apply(e, arguments);
1214
- };
1215
- }
1216
- function Hr(t) {
1217
- return Ce(
1218
- t,
1219
- "beforeRouteEnter",
1220
- function(e, r, n, i) {
1221
- return Gr(e, n, i);
1222
- }
1223
- );
1224
- }
1225
- function Gr(t, e, r) {
1226
- return function(i, s, a) {
1227
- return t(i, s, function(o) {
1228
- typeof o == "function" && (e.enteredCbs[r] || (e.enteredCbs[r] = []), e.enteredCbs[r].push(o)), a(o);
1229
- });
1230
- };
1231
- }
1232
- var yt = /* @__PURE__ */ function(t) {
1233
- function e(r, n) {
1234
- t.call(this, r, n), this._startLocation = W(this.base);
1235
- }
1236
- return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.setupListeners = function() {
1237
- var n = this;
1238
- if (!(this.listeners.length > 0)) {
1239
- var i = this.router, s = i.options.scrollBehavior, a = T && s;
1240
- a && this.listeners.push(ht());
1241
- var o = function() {
1242
- var c = n.current, u = W(n.base);
1243
- n.current === I && u === n._startLocation || n.transitionTo(u, function(p) {
1244
- a && L(i, p, c, !0);
1245
- });
1246
- };
1247
- window.addEventListener("popstate", o), this.listeners.push(function() {
1248
- window.removeEventListener("popstate", o);
1249
- });
1250
- }
1251
- }, e.prototype.go = function(n) {
1252
- window.history.go(n);
1253
- }, e.prototype.push = function(n, i, s) {
1254
- var a = this, o = this, c = o.current;
1255
- this.transitionTo(n, function(u) {
1256
- se(N(a.base + u.fullPath)), L(a.router, u, c, !1), i && i(u);
1257
- }, s);
1258
- }, e.prototype.replace = function(n, i, s) {
1259
- var a = this, o = this, c = o.current;
1260
- this.transitionTo(n, function(u) {
1261
- ve(N(a.base + u.fullPath)), L(a.router, u, c, !1), i && i(u);
1262
- }, s);
1263
- }, e.prototype.ensureURL = function(n) {
1264
- if (W(this.base) !== this.current.fullPath) {
1265
- var i = N(this.base + this.current.fullPath);
1266
- n ? se(i) : ve(i);
1267
- }
1268
- }, e.prototype.getCurrentLocation = function() {
1269
- return W(this.base);
1270
- }, e;
1271
- }(x);
1272
- function W(t) {
1273
- var e = window.location.pathname, r = e.toLowerCase(), n = t.toLowerCase();
1274
- return t && (r === n || r.indexOf(N(n + "/")) === 0) && (e = e.slice(t.length)), (e || "/") + window.location.search + window.location.hash;
1275
- }
1276
- var gt = /* @__PURE__ */ function(t) {
1277
- function e(r, n, i) {
1278
- t.call(this, r, n), !(i && Qr(this.base)) && ze();
1279
- }
1280
- return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.setupListeners = function() {
1281
- var n = this;
1282
- if (!(this.listeners.length > 0)) {
1283
- var i = this.router, s = i.options.scrollBehavior, a = T && s;
1284
- a && this.listeners.push(ht());
1285
- var o = function() {
1286
- var u = n.current;
1287
- ze() && n.transitionTo(X(), function(p) {
1288
- a && L(n.router, p, u, !0), T || Y(p.fullPath);
1289
- });
1290
- }, c = T ? "popstate" : "hashchange";
1291
- window.addEventListener(
1292
- c,
1293
- o
1294
- ), this.listeners.push(function() {
1295
- window.removeEventListener(c, o);
1296
- });
1297
- }
1298
- }, e.prototype.push = function(n, i, s) {
1299
- var a = this, o = this, c = o.current;
1300
- this.transitionTo(
1301
- n,
1302
- function(u) {
1303
- He(u.fullPath), L(a.router, u, c, !1), i && i(u);
1304
- },
1305
- s
1306
- );
1307
- }, e.prototype.replace = function(n, i, s) {
1308
- var a = this, o = this, c = o.current;
1309
- this.transitionTo(
1310
- n,
1311
- function(u) {
1312
- Y(u.fullPath), L(a.router, u, c, !1), i && i(u);
1313
- },
1314
- s
1315
- );
1316
- }, e.prototype.go = function(n) {
1317
- window.history.go(n);
1318
- }, e.prototype.ensureURL = function(n) {
1319
- var i = this.current.fullPath;
1320
- X() !== i && (n ? He(i) : Y(i));
1321
- }, e.prototype.getCurrentLocation = function() {
1322
- return X();
1323
- }, e;
1324
- }(x);
1325
- function Qr(t) {
1326
- var e = W(t);
1327
- if (!/^\/#/.test(e))
1328
- return window.location.replace(N(t + "/#" + e)), !0;
1329
- }
1330
- function ze() {
1331
- var t = X();
1332
- return t.charAt(0) === "/" ? !0 : (Y("/" + t), !1);
1333
- }
1334
- function X() {
1335
- var t = window.location.href, e = t.indexOf("#");
1336
- return e < 0 ? "" : (t = t.slice(e + 1), t);
1337
- }
1338
- function me(t) {
1339
- var e = window.location.href, r = e.indexOf("#"), n = r >= 0 ? e.slice(0, r) : e;
1340
- return n + "#" + t;
1341
- }
1342
- function He(t) {
1343
- T ? se(me(t)) : window.location.hash = t;
1344
- }
1345
- function Y(t) {
1346
- T ? ve(me(t)) : window.location.replace(me(t));
1347
- }
1348
- var Kr = /* @__PURE__ */ function(t) {
1349
- function e(r, n) {
1350
- t.call(this, r, n), this.stack = [], this.index = -1;
1351
- }
1352
- return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.push = function(n, i, s) {
1353
- var a = this;
1354
- this.transitionTo(
1355
- n,
1356
- function(o) {
1357
- a.stack = a.stack.slice(0, a.index + 1).concat(o), a.index++, i && i(o);
1358
- },
1359
- s
1360
- );
1361
- }, e.prototype.replace = function(n, i, s) {
1362
- var a = this;
1363
- this.transitionTo(
1364
- n,
1365
- function(o) {
1366
- a.stack = a.stack.slice(0, a.index).concat(o), i && i(o);
1367
- },
1368
- s
1369
- );
1370
- }, e.prototype.go = function(n) {
1371
- var i = this, s = this.index + n;
1372
- if (!(s < 0 || s >= this.stack.length)) {
1373
- var a = this.stack[s];
1374
- this.confirmTransition(
1375
- a,
1376
- function() {
1377
- var o = i.current;
1378
- i.index = s, i.updateRoute(a), i.router.afterHooks.forEach(function(c) {
1379
- c && c(a, o);
1380
- });
1381
- },
1382
- function(o) {
1383
- ue(o, A.duplicated) && (i.index = s);
1384
- }
1385
- );
1386
- }
1387
- }, e.prototype.getCurrentLocation = function() {
1388
- var n = this.stack[this.stack.length - 1];
1389
- return n ? n.fullPath : "/";
1390
- }, e.prototype.ensureURL = function() {
1391
- }, e;
1392
- }(x), w = function t(e) {
1393
- e === void 0 && (e = {}), process.env.NODE_ENV !== "production" && C(this instanceof t, "Router must be called with the new operator."), this.app = null, this.apps = [], this.options = e, this.beforeHooks = [], this.resolveHooks = [], this.afterHooks = [], this.matcher = Pr(e.routes || [], this);
1394
- var r = e.mode || "hash";
1395
- switch (this.fallback = r === "history" && !T && e.fallback !== !1, this.fallback && (r = "hash"), z || (r = "abstract"), this.mode = r, r) {
1396
- case "history":
1397
- this.history = new yt(this, e.base);
1398
- break;
1399
- case "hash":
1400
- this.history = new gt(this, e.base, this.fallback);
1401
- break;
1402
- case "abstract":
1403
- this.history = new Kr(this, e.base);
1404
- break;
1405
- default:
1406
- process.env.NODE_ENV !== "production" && V(!1, "invalid mode: " + r);
1407
- }
1408
- }, _t = { currentRoute: { configurable: !0 } };
1409
- w.prototype.match = function(e, r, n) {
1410
- return this.matcher.match(e, r, n);
1411
- };
1412
- _t.currentRoute.get = function() {
1413
- return this.history && this.history.current;
1414
- };
1415
- w.prototype.init = function(e) {
1416
- var r = this;
1417
- if (process.env.NODE_ENV !== "production" && V(
1418
- ie.installed,
1419
- "not installed. Make sure to call `Vue.use(VueRouter)` before creating root instance."
1420
- ), this.apps.push(e), e.$once("hook:destroyed", function() {
1421
- var a = r.apps.indexOf(e);
1422
- a > -1 && r.apps.splice(a, 1), r.app === e && (r.app = r.apps[0] || null), r.app || r.history.teardown();
1423
- }), !this.app) {
1424
- this.app = e;
1425
- var n = this.history;
1426
- if (n instanceof yt || n instanceof gt) {
1427
- var i = function(a) {
1428
- var o = n.current, c = r.options.scrollBehavior, u = T && c;
1429
- u && "fullPath" in a && L(r, a, o, !1);
1430
- }, s = function(a) {
1431
- n.setupListeners(), i(a);
1432
- };
1433
- n.transitionTo(
1434
- n.getCurrentLocation(),
1435
- s,
1436
- s
1437
- );
1438
- }
1439
- n.listen(function(a) {
1440
- r.apps.forEach(function(o) {
1441
- o._route = a;
1442
- });
1443
- });
1444
- }
1445
- };
1446
- w.prototype.beforeEach = function(e) {
1447
- return Ee(this.beforeHooks, e);
1448
- };
1449
- w.prototype.beforeResolve = function(e) {
1450
- return Ee(this.resolveHooks, e);
1451
- };
1452
- w.prototype.afterEach = function(e) {
1453
- return Ee(this.afterHooks, e);
1454
- };
1455
- w.prototype.onReady = function(e, r) {
1456
- this.history.onReady(e, r);
1457
- };
1458
- w.prototype.onError = function(e) {
1459
- this.history.onError(e);
1460
- };
1461
- w.prototype.push = function(e, r, n) {
1462
- var i = this;
1463
- if (!r && !n && typeof Promise < "u")
1464
- return new Promise(function(s, a) {
1465
- i.history.push(e, s, a);
1466
- });
1467
- this.history.push(e, r, n);
1468
- };
1469
- w.prototype.replace = function(e, r, n) {
1470
- var i = this;
1471
- if (!r && !n && typeof Promise < "u")
1472
- return new Promise(function(s, a) {
1473
- i.history.replace(e, s, a);
1474
- });
1475
- this.history.replace(e, r, n);
1476
- };
1477
- w.prototype.go = function(e) {
1478
- this.history.go(e);
1479
- };
1480
- w.prototype.back = function() {
1481
- this.go(-1);
1482
- };
1483
- w.prototype.forward = function() {
1484
- this.go(1);
1485
- };
1486
- w.prototype.getMatchedComponents = function(e) {
1487
- var r = e ? e.matched ? e : this.resolve(e).route : this.currentRoute;
1488
- return r ? [].concat.apply(
1489
- [],
1490
- r.matched.map(function(n) {
1491
- return Object.keys(n.components).map(function(i) {
1492
- return n.components[i];
1493
- });
1494
- })
1495
- ) : [];
1496
- };
1497
- w.prototype.resolve = function(e, r, n) {
1498
- r = r || this.history.current;
1499
- var i = Re(e, r, n, this), s = this.match(i, r), a = s.redirectedFrom || s.fullPath, o = this.history.base, c = Jr(o, a, this.mode);
1500
- return {
1501
- location: i,
1502
- route: s,
1503
- href: c,
1504
- // for backwards compat
1505
- normalizedTo: i,
1506
- resolved: s
1507
- };
1508
- };
1509
- w.prototype.getRoutes = function() {
1510
- return this.matcher.getRoutes();
1511
- };
1512
- w.prototype.addRoute = function(e, r) {
1513
- this.matcher.addRoute(e, r), this.history.current !== I && this.history.transitionTo(this.history.getCurrentLocation());
1514
- };
1515
- w.prototype.addRoutes = function(e) {
1516
- process.env.NODE_ENV !== "production" && C(!1, "router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead."), this.matcher.addRoutes(e), this.history.current !== I && this.history.transitionTo(this.history.getCurrentLocation());
1517
- };
1518
- Object.defineProperties(w.prototype, _t);
1519
- function Ee(t, e) {
1520
- return t.push(e), function() {
1521
- var r = t.indexOf(e);
1522
- r > -1 && t.splice(r, 1);
1523
- };
1524
- }
1525
- function Jr(t, e, r) {
1526
- var n = r === "hash" ? "#" + e : e;
1527
- return t ? N(t + "/" + n) : n;
1528
- }
1529
- w.install = ie;
1530
- w.version = "3.6.5";
1531
- w.isNavigationFailure = ue;
1532
- w.NavigationFailureType = A;
1533
- w.START_LOCATION = I;
1534
- z && window.Vue && window.Vue.use(w);
1535
- q(Nt);
1536
- const Xr = 3 * 60 * 1e3, Yr = {
1537
- name: "NcReferenceWidget",
1538
- components: {
1539
- NcButton: Ze
1540
- },
1541
- props: {
1542
- reference: {
1543
- type: Object,
1544
- required: !0
1545
- },
1546
- interactive: {
1547
- type: Boolean,
1548
- default: !0
1549
- },
1550
- interactiveOptIn: {
1551
- type: Boolean,
1552
- default: !1
1553
- }
1554
- },
1555
- setup() {
1556
- const t = fe(3), e = fe(!1), r = fe();
1557
- return Mt(r, (n) => {
1558
- var i, s;
1559
- e.value = (s = (i = n[0]) == null ? void 0 : i.isIntersecting) != null ? s : !1;
1560
- }), Ut(r, (n) => {
1561
- n[0].contentRect.width < 450 ? t.value = 0 : n[0].contentRect.width < 550 ? t.value = 1 : n[0].contentRect.width < 650 ? t.value = 2 : t.value = 3;
1562
- }), {
1563
- compact: t,
1564
- isVisible: e,
1565
- widgetRoot: r
1566
- };
1567
- },
1568
- data() {
1569
- return {
1570
- showInteractive: !1,
1571
- rendered: !1,
1572
- idleTimeout: null
1573
- };
1574
- },
1575
- computed: {
1576
- isInteractive() {
1577
- return !this.interactiveOptIn && this.interactive || this.showInteractive;
1578
- },
1579
- hasFullWidth() {
1580
- return Et(this.reference.richObjectType);
1581
- },
1582
- hasCustomWidget() {
1583
- return xe(this.reference.richObjectType);
1584
- },
1585
- hasInteractiveView() {
1586
- return xe(this.reference.richObjectType) && Pt(this.reference.richObjectType);
1587
- },
1588
- noAccess() {
1589
- return this.reference && !this.reference.accessible;
1590
- },
1591
- descriptionStyle() {
1592
- if (this.compact === 0)
1593
- return {
1594
- display: "none"
1595
- };
1596
- const t = this.compact < 4 ? this.compact : 3;
1597
- return {
1598
- lineClamp: t,
1599
- webkitLineClamp: t
1600
- };
1601
- },
1602
- compactLink() {
1603
- const t = this.reference.openGraphObject.link;
1604
- return t ? t.startsWith("https://") ? t.substring(8) : t.startsWith("http://") ? t.substring(7) : t : "";
1605
- },
1606
- route() {
1607
- return Wt(this.$router, this.reference.openGraphObject.link);
1608
- },
1609
- referenceWidgetLinkComponent() {
1610
- return this.route ? at : "a";
1611
- },
1612
- referenceWidgetLinkProps() {
1613
- return this.route ? { to: this.route } : { href: this.reference.openGraphObject.link, target: "_blank" };
1614
- }
1615
- },
1616
- watch: {
1617
- isVisible: {
1618
- handler(t) {
1619
- if (!t) {
1620
- this.idleTimeout = setTimeout(() => {
1621
- this.isVisible || this.destroyWidget();
1622
- }, Xr);
1623
- return;
1624
- }
1625
- this.idleTimeout && (clearTimeout(this.idleTimeout), this.idleTimeout = null), this.rendered || this.renderWidget();
1626
- },
1627
- immediate: !0
1628
- }
1629
- },
1630
- beforeDestroy() {
1631
- this.destroyWidget();
1632
- },
1633
- methods: {
1634
- t: S,
1635
- enableInteractive() {
1636
- this.showInteractive = !0, this.renderWidget();
1637
- },
1638
- renderWidget() {
1639
- var e;
1640
- if (this.$refs.customWidget && (this.$refs.customWidget.innerHTML = ""), ((e = this == null ? void 0 : this.reference) == null ? void 0 : e.richObjectType) === "open-graph")
1641
- return;
1642
- const t = document.createElement("div");
1643
- this.$refs.customWidget.appendChild(t), this.$nextTick(() => {
1644
- St(t, {
1645
- ...this.reference,
1646
- interactive: this.isInteractive
1647
- }), this.rendered = !0;
1648
- });
1649
- },
1650
- destroyWidget() {
1651
- this.rendered && (kt(this.reference.richObjectType, this.$el), this.rendered = !1);
1652
- }
1653
- }
1654
- };
1655
- var Zr = function() {
1656
- var e = this, r = e._self._c;
1657
- return r("div", { ref: "widgetRoot", class: { "toggle-interactive": e.hasInteractiveView && !e.isInteractive } }, [e.reference && e.hasCustomWidget ? r("div", { ref: "customWidget", staticClass: "widget-custom", class: { "full-width": e.hasFullWidth } }) : !e.noAccess && e.reference && e.reference.openGraphObject && !e.hasCustomWidget ? r(e.referenceWidgetLinkComponent, e._b({ tag: "component", staticClass: "widget-default", attrs: { rel: "noopener noreferrer" } }, "component", e.referenceWidgetLinkProps, !1), [e.reference.openGraphObject.thumb ? r("img", { staticClass: "widget-default--image", attrs: { src: e.reference.openGraphObject.thumb } }) : e._e(), r("div", { staticClass: "widget-default--details" }, [r("p", { staticClass: "widget-default--name" }, [e._v(" " + e._s(e.reference.openGraphObject.name) + " ")]), r("p", { staticClass: "widget-default--description", style: e.descriptionStyle }, [e._v(" " + e._s(e.reference.openGraphObject.description) + " ")]), r("p", { staticClass: "widget-default--link" }, [e._v(" " + e._s(e.compactLink) + " ")])])]) : e._e(), e.interactiveOptIn && e.hasInteractiveView && !e.isInteractive ? r("NcButton", { staticClass: "toggle-interactive--button", on: { click: e.enableInteractive } }, [e._v(" " + e._s(e.t("Enable interactive view")) + " ")]) : e._e()], 1);
1658
- }, en = [], tn = /* @__PURE__ */ O(
1659
- Yr,
1660
- Zr,
1661
- en,
1662
- !1,
1663
- null,
1664
- "08d7279d",
1665
- null,
1666
- null
1667
- );
1668
- const rn = tn.exports, nn = {
1669
- name: "NcCustomPickerElement",
1670
- props: {
1671
- /**
1672
- * The reference provider
1673
- */
1674
- provider: {
1675
- type: Object,
1676
- required: !0
1677
- }
1678
- },
1679
- emits: [
1680
- "cancel",
1681
- "submit"
1682
- ],
1683
- data() {
1684
- return {
1685
- isRegistered: F(this.provider.id),
1686
- renderResult: null
1687
- };
1688
- },
1689
- mounted() {
1690
- this.isRegistered && this.renderElement();
1691
- },
1692
- beforeDestroy() {
1693
- this.isRegistered && xt(this.provider.id, this.$el, this.renderResult);
1694
- },
1695
- methods: {
1696
- renderElement() {
1697
- this.$refs.domElement && (this.$refs.domElement.innerHTML = "");
1698
- const t = $t(this.$refs.domElement, { providerId: this.provider.id, accessible: !1 });
1699
- Promise.resolve(t).then((e) => {
1700
- var r, n;
1701
- this.renderResult = e, (r = this.renderResult.object) != null && r._isVue && ((n = this.renderResult.object) != null && n.$on) && (this.renderResult.object.$on("submit", this.onSubmit), this.renderResult.object.$on("cancel", this.onCancel)), this.renderResult.element.addEventListener("submit", (i) => {
1702
- this.onSubmit(i.detail);
1703
- }), this.renderResult.element.addEventListener("cancel", this.onCancel);
1704
- });
1705
- },
1706
- onSubmit(t) {
1707
- this.$emit("submit", t);
1708
- },
1709
- onCancel() {
1710
- this.$emit("cancel");
1711
- }
1712
- }
1713
- };
1714
- var sn = function() {
1715
- var e = this, r = e._self._c;
1716
- return r("div", { ref: "domElement" });
1717
- }, an = [], on = /* @__PURE__ */ O(
1718
- nn,
1719
- sn,
1720
- an,
1721
- !1,
1722
- null,
1723
- "25f1cef8",
1724
- null,
1725
- null
1726
- );
1727
- const cn = on.exports;
1728
- q(Lt);
1729
- const wt = "any-link", bt = {
1730
- id: wt,
1731
- title: S("Any link"),
1732
- icon_url: qt("core", "filetypes/link.svg")
1733
- };
1734
- window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers = Je("core", "reference-provider-list", []));
1735
- window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps = Je("core", "reference-provider-timestamps", {}));
1736
- function un(t) {
1737
- return t === wt ? bt : Rt().find((e) => e.id === t);
1738
- }
1739
- function Rt() {
1740
- return window._vue_richtext_reference_providers.filter((t) => {
1741
- const e = !!t.search_providers_ids && t.search_providers_ids.length > 0 || F(t.id);
1742
- return e || console.debug("[smart picker]", t.id, "reference provider is discoverable but does not have any related search provider or custom picker component registered"), e;
1743
- });
1744
- }
1745
- function ln(t) {
1746
- const e = window._vue_richtext_reference_provider_timestamps;
1747
- return t.sort((r, n) => r.order === n.order ? 0 : r.order > n.order ? 1 : -1).sort((r, n) => {
1748
- const i = e[r.id], s = e[n.id];
1749
- return i === s ? 0 : s === void 0 ? -1 : i === void 0 ? 1 : i > s ? -1 : 1;
1750
- });
1751
- }
1752
- function fn(t, e = null) {
1753
- const r = Rt(), n = t.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(n, "i"), a = ln(r).filter((c) => c.title.match(i)), o = e ? a.slice(0, e) : a;
1754
- return (t === "" || o.length === 0) && o.push(bt), o;
1755
- }
1756
- function hn(t) {
1757
- const e = Math.floor(Date.now() / 1e3), r = {
1758
- timestamp: e
1759
- }, n = Z("references/provider/{providerId}", { providerId: t });
1760
- ye.put(n, r).then((i) => {
1761
- window._vue_richtext_reference_provider_timestamps[t] = e;
1762
- });
1763
- }
1764
- let Ge = 0;
1765
- function Ct(t, e) {
1766
- return function() {
1767
- const r = this, n = arguments;
1768
- clearTimeout(Ge), Ge = setTimeout(function() {
1769
- t.apply(r, n);
1770
- }, e || 0);
1771
- };
1772
- }
1773
- function Pe(t) {
1774
- try {
1775
- return !!new URL(t);
1776
- } catch {
1777
- return !1;
1778
- }
1779
- }
1780
- q(Ke, Tt);
1781
- const pn = {
1782
- name: "LinkVariantIcon",
1783
- emits: ["click"],
1784
- props: {
1785
- title: {
1786
- type: String
1787
- },
1788
- fillColor: {
1789
- type: String,
1790
- default: "currentColor"
1791
- },
1792
- size: {
1793
- type: Number,
1794
- default: 24
1795
- }
1796
- }
1797
- };
1798
- var dn = function() {
1799
- var e = this, r = e._self._c;
1800
- return r("span", e._b({ staticClass: "material-design-icon link-variant-icon", attrs: { "aria-hidden": e.title ? null : !0, "aria-label": e.title, role: "img" }, on: { click: function(n) {
1801
- return e.$emit("click", n);
1802
- } } }, "span", e.$attrs, !1), [r("svg", { staticClass: "material-design-icon__svg", attrs: { fill: e.fillColor, width: e.size, height: e.size, viewBox: "0 0 24 24" } }, [r("path", { attrs: { d: "M10.59,13.41C11,13.8 11,14.44 10.59,14.83C10.2,15.22 9.56,15.22 9.17,14.83C7.22,12.88 7.22,9.71 9.17,7.76V7.76L12.71,4.22C14.66,2.27 17.83,2.27 19.78,4.22C21.73,6.17 21.73,9.34 19.78,11.29L18.29,12.78C18.3,11.96 18.17,11.14 17.89,10.36L18.36,9.88C19.54,8.71 19.54,6.81 18.36,5.64C17.19,4.46 15.29,4.46 14.12,5.64L10.59,9.17C9.41,10.34 9.41,12.24 10.59,13.41M13.41,9.17C13.8,8.78 14.44,8.78 14.83,9.17C16.78,11.12 16.78,14.29 14.83,16.24V16.24L11.29,19.78C9.34,21.73 6.17,21.73 4.22,19.78C2.27,17.83 2.27,14.66 4.22,12.71L5.71,11.22C5.7,12.04 5.83,12.86 6.11,13.65L5.64,14.12C4.46,15.29 4.46,17.19 5.64,18.36C6.81,19.54 8.71,19.54 9.88,18.36L13.41,14.83C14.59,13.66 14.59,11.76 13.41,10.59C13,10.2 13,9.56 13.41,9.17Z" } }, [e.title ? r("title", [e._v(e._s(e.title))]) : e._e()])])]);
1803
- }, vn = [], mn = /* @__PURE__ */ O(
1804
- pn,
1805
- dn,
1806
- vn,
1807
- !1,
1808
- null,
1809
- null,
1810
- null,
1811
- null
1812
- );
1813
- const Se = mn.exports, yn = {
1814
- name: "NcProviderList",
1815
- components: {
1816
- NcSelect: Ye,
1817
- NcHighlight: Xe,
1818
- NcEmptyContent: ge,
1819
- LinkVariantIcon: Se
1820
- },
1821
- emits: [
1822
- "select-provider",
1823
- "submit"
1824
- ],
1825
- data() {
1826
- return {
1827
- selectedProvider: null,
1828
- query: "",
1829
- multiselectPlaceholder: S("Select provider"),
1830
- providerIconAlt: S("Provider icon")
1831
- };
1832
- },
1833
- computed: {
1834
- options() {
1835
- const t = [];
1836
- return this.query !== "" && Pe(this.query) && t.push({
1837
- id: this.query,
1838
- title: this.query,
1839
- isLink: !0
1840
- }), t.push(...fn(this.query)), t;
1841
- }
1842
- },
1843
- methods: {
1844
- focus() {
1845
- setTimeout(() => {
1846
- var t, e, r;
1847
- (r = (e = (t = this.$refs["provider-select"]) == null ? void 0 : t.$el) == null ? void 0 : e.querySelector("#provider-select-input")) == null || r.focus();
1848
- }, 300);
1849
- },
1850
- onProviderSelected(t) {
1851
- t !== null && (t.isLink ? this.$emit("submit", t.title) : this.$emit("select-provider", t), this.selectedProvider = null);
1852
- },
1853
- onSearch(t, e) {
1854
- this.query = t;
1855
- }
1856
- }
1857
- };
1858
- var gn = function() {
1859
- var e = this, r = e._self._c;
1860
- return r("div", { staticClass: "provider-list" }, [r("NcSelect", { ref: "provider-select", staticClass: "provider-list--select", attrs: { "input-id": "provider-select-input", label: "title", placeholder: e.multiselectPlaceholder, options: e.options, "append-to-body": !1, "clear-search-on-select": !0, "clear-search-on-blur": () => !1, filterable: !1 }, on: { search: e.onSearch, input: e.onProviderSelected }, scopedSlots: e._u([{ key: "option", fn: function(n) {
1861
- return [n.isLink ? r("div", { staticClass: "provider" }, [r("LinkVariantIcon", { staticClass: "link-icon", attrs: { size: 20 } }), r("span", [e._v(e._s(n.title))])], 1) : r("div", { staticClass: "provider" }, [r("img", { staticClass: "provider-icon", attrs: { src: n.icon_url, alt: e.providerIconAlt } }), r("NcHighlight", { staticClass: "option-text", attrs: { search: e.query, text: n.title } })], 1)];
1862
- } }]), model: { value: e.selectedProvider, callback: function(n) {
1863
- e.selectedProvider = n;
1864
- }, expression: "selectedProvider" } }), r("NcEmptyContent", { staticClass: "provider-list--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
1865
- return [r("LinkVariantIcon")];
1866
- }, proxy: !0 }]) })], 1);
1867
- }, _n = [], wn = /* @__PURE__ */ O(
1868
- yn,
1869
- gn,
1870
- _n,
1871
- !1,
1872
- null,
1873
- "e880790e",
1874
- null,
1875
- null
1876
- );
1877
- const bn = wn.exports;
1878
- q(It);
1879
- const Rn = {
1880
- name: "NcRawLinkInput",
1881
- components: {
1882
- LinkVariantIcon: Se,
1883
- NcEmptyContent: ge,
1884
- NcLoadingIcon: Ft,
1885
- NcReferenceWidget: rn,
1886
- NcTextField: zt
1887
- },
1888
- props: {
1889
- /**
1890
- * The reference provider
1891
- */
1892
- provider: {
1893
- type: Object,
1894
- required: !0
1895
- }
1896
- },
1897
- emits: [
1898
- "submit"
1899
- ],
1900
- data() {
1901
- return {
1902
- inputValue: "",
1903
- loading: !1,
1904
- reference: null,
1905
- abortController: null,
1906
- inputPlaceholder: S("Enter link")
1907
- };
1908
- },
1909
- computed: {
1910
- isLinkValid() {
1911
- return Pe(this.inputValue);
1912
- }
1913
- },
1914
- methods: {
1915
- focus() {
1916
- var t;
1917
- (t = this.$refs["url-input"].$el.getElementsByTagName("input")[0]) == null || t.focus();
1918
- },
1919
- onSubmit(t) {
1920
- const e = t.target.value;
1921
- this.isLinkValid && this.$emit("submit", e);
1922
- },
1923
- onClear() {
1924
- this.inputValue = "", this.reference = null;
1925
- },
1926
- onInput() {
1927
- this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid && Ct(() => {
1928
- this.updateReference();
1929
- }, 500)();
1930
- },
1931
- updateReference() {
1932
- this.loading = !0, this.abortController = new AbortController(), ye.get(Z("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
1933
- signal: this.abortController.signal
1934
- }).then((t) => {
1935
- this.reference = t.data.ocs.data.references[this.inputValue];
1936
- }).catch((t) => {
1937
- console.error(t);
1938
- }).then(() => {
1939
- this.loading = !1;
1940
- });
1941
- }
1942
- }
1943
- };
1944
- var Cn = function() {
1945
- var e = this, r = e._self._c;
1946
- return r("div", { staticClass: "raw-link" }, [r("div", { staticClass: "input-wrapper" }, [r("NcTextField", { ref: "url-input", attrs: { value: e.inputValue, "show-trailing-button": e.inputValue !== "", label: e.inputPlaceholder }, on: { "update:value": [function(n) {
1947
- e.inputValue = n;
1948
- }, e.onInput], "trailing-button-click": e.onClear }, nativeOn: { keyup: function(n) {
1949
- return !n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter") ? null : e.onSubmit.apply(null, arguments);
1950
- } } }, [e.loading ? r("NcLoadingIcon", { attrs: { size: 16 } }) : r("LinkVariantIcon", { attrs: { size: 16 } })], 1)], 1), e.reference !== null ? r("NcReferenceWidget", { staticClass: "reference-widget", attrs: { reference: e.reference } }) : r("NcEmptyContent", { staticClass: "raw-link--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
1951
- return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { src: e.provider.icon_url } }) : r("LinkVariantIcon")];
1952
- }, proxy: !0 }]) })], 1);
1953
- }, En = [], Pn = /* @__PURE__ */ O(
1954
- Rn,
1955
- Cn,
1956
- En,
1957
- !1,
1958
- null,
1959
- "d0ba247a",
1960
- null,
1961
- null
1962
- );
1963
- const Sn = Pn.exports, kn = {
1964
- name: "NcSearchResult",
1965
- components: {
1966
- NcHighlight: Xe
1967
- },
1968
- props: {
1969
- /**
1970
- * Unified search result entry
1971
- */
1972
- entry: {
1973
- type: Object,
1974
- required: !0
1975
- },
1976
- /**
1977
- * The query that led to getting this result
1978
- * Used to highlight the entry text
1979
- */
1980
- query: {
1981
- type: String,
1982
- required: !0
1983
- }
1984
- }
1985
- };
1986
- var xn = function() {
1987
- var e = this, r = e._self._c;
1988
- return r("div", { staticClass: "result" }, [e.entry.icon ? r("div", { staticClass: "result--icon-class", class: { [e.entry.icon]: !0, rounded: e.entry.rounded } }) : r("img", { staticClass: "result--image", class: { rounded: e.entry.rounded }, attrs: { src: e.entry.thumbnailUrl } }), r("div", { staticClass: "result--content" }, [r("span", { staticClass: "result--content--name" }, [r("NcHighlight", { attrs: { search: e.query, text: e.entry.title } })], 1), r("span", { staticClass: "result--content--subline" }, [r("NcHighlight", { attrs: { search: e.query, text: e.entry.subline } })], 1)])]);
1989
- }, $n = [], On = /* @__PURE__ */ O(
1990
- kn,
1991
- xn,
1992
- $n,
1993
- !1,
1994
- null,
1995
- "7a394a58",
1996
- null,
1997
- null
1998
- );
1999
- const Nn = On.exports;
2000
- q(At, Ke, Vt);
2001
- const Qe = 5, Ln = {
2002
- name: "NcSearch",
2003
- components: {
2004
- LinkVariantIcon: Se,
2005
- DotsHorizontalIcon: Ht,
2006
- NcEmptyContent: ge,
2007
- NcSelect: Ye,
2008
- NcSearchResult: Nn
2009
- },
2010
- props: {
2011
- /**
2012
- * The selected reference provider
2013
- */
2014
- provider: {
2015
- type: Object,
2016
- required: !0
2017
- },
2018
- showEmptyContent: {
2019
- type: Boolean,
2020
- default: !0
2021
- },
2022
- searchPlaceholder: {
2023
- type: String,
2024
- default: null
2025
- }
2026
- },
2027
- emits: [
2028
- "submit"
2029
- ],
2030
- data() {
2031
- return {
2032
- searchQuery: "",
2033
- selectedResult: null,
2034
- resultsBySearchProvider: {},
2035
- searching: !1,
2036
- searchingMoreOf: null,
2037
- abortController: null,
2038
- noOptionsText: S("Start typing to search"),
2039
- providerIconAlt: S("Provider icon")
2040
- };
2041
- },
2042
- computed: {
2043
- mySearchPlaceholder() {
2044
- return this.searchPlaceholder || S("Search");
2045
- },
2046
- searchProviderIds() {
2047
- return this.provider.search_providers_ids;
2048
- },
2049
- options() {
2050
- if (this.searchQuery === "")
2051
- return [];
2052
- const t = [];
2053
- return Pe(this.searchQuery) && t.push(this.rawLinkEntry), t.push(...this.formattedSearchResults), t;
2054
- },
2055
- rawLinkEntry() {
2056
- return {
2057
- id: "rawLinkEntry",
2058
- resourceUrl: this.searchQuery,
2059
- isRawLink: !0
2060
- };
2061
- },
2062
- formattedSearchResults() {
2063
- const t = [];
2064
- return this.searchProviderIds.forEach((e) => {
2065
- if (this.resultsBySearchProvider[e].entries.length > 0) {
2066
- (this.searchProviderIds.length > 1 || this.resultsBySearchProvider[e].entries.length > 1) && t.push({
2067
- id: "groupTitle-" + e,
2068
- name: this.resultsBySearchProvider[e].name,
2069
- isCustomGroupTitle: !0,
2070
- providerId: e
2071
- });
2072
- const r = this.resultsBySearchProvider[e].entries.map((n, i) => ({
2073
- id: "provider-" + e + "-entry-" + i,
2074
- ...n
2075
- }));
2076
- t.push(...r), this.resultsBySearchProvider[e].isPaginated && t.push({
2077
- id: "moreOf-" + e,
2078
- name: this.resultsBySearchProvider[e].name,
2079
- isMore: !0,
2080
- providerId: e,
2081
- isLoading: this.searchingMoreOf === e
2082
- });
2083
- }
2084
- }), t;
2085
- }
2086
- },
2087
- mounted() {
2088
- this.resetResults();
2089
- },
2090
- beforeDestroy() {
2091
- this.cancelSearchRequests();
2092
- },
2093
- methods: {
2094
- t: S,
2095
- resetResults() {
2096
- const t = {};
2097
- this.searchProviderIds.forEach((e) => {
2098
- t[e] = {
2099
- entries: []
2100
- };
2101
- }), this.resultsBySearchProvider = t;
2102
- },
2103
- focus() {
2104
- setTimeout(() => {
2105
- var t, e, r;
2106
- (r = (e = (t = this.$refs["search-select"]) == null ? void 0 : t.$el) == null ? void 0 : e.querySelector("#search-select-input")) == null || r.focus();
2107
- }, 300);
2108
- },
2109
- cancelSearchRequests() {
2110
- this.abortController && this.abortController.abort();
2111
- },
2112
- onSearchInput(t, e) {
2113
- this.searchQuery = t, Ct(() => {
2114
- this.updateSearch();
2115
- }, 500)();
2116
- },
2117
- onSelectResultSelected(t) {
2118
- t !== null && (t.resourceUrl ? (this.cancelSearchRequests(), this.$emit("submit", t.resourceUrl)) : t.isMore && this.searchMoreOf(t.providerId).then(() => {
2119
- this.selectedResult = null;
2120
- }));
2121
- },
2122
- searchMoreOf(t) {
2123
- return this.searchingMoreOf = t, this.cancelSearchRequests(), this.searchProviders(t);
2124
- },
2125
- updateSearch() {
2126
- if (this.cancelSearchRequests(), this.resetResults(), this.searchQuery === "") {
2127
- this.searching = !1;
2128
- return;
2129
- }
2130
- return this.searchProviders();
2131
- },
2132
- searchProviders(t = null) {
2133
- var r, n;
2134
- this.abortController = new AbortController(), this.searching = !0;
2135
- const e = t === null ? [...this.searchProviderIds].map((i) => this.searchOneProvider(i)) : [this.searchOneProvider(t, (n = (r = this.resultsBySearchProvider[t]) == null ? void 0 : r.cursor) != null ? n : null)];
2136
- return Promise.allSettled(e).then((i) => {
2137
- !!i.find((a) => a.status === "rejected" && (a.reason.name === "CanceledError" || a.reason.code === "ERR_CANCELED")) || (this.searching = !1, this.searchingMoreOf = null);
2138
- });
2139
- },
2140
- searchOneProvider(t, e = null) {
2141
- const r = e === null ? Z("search/providers/{providerId}/search?term={term}&limit={limit}", { providerId: t, term: this.searchQuery, limit: Qe }) : Z("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}", { providerId: t, term: this.searchQuery, limit: Qe, cursor: e });
2142
- return ye.get(r, {
2143
- signal: this.abortController.signal
2144
- }).then((n) => {
2145
- const i = n.data.ocs.data;
2146
- this.resultsBySearchProvider[t].name = i.name, this.resultsBySearchProvider[t].cursor = i.cursor, this.resultsBySearchProvider[t].isPaginated = i.isPaginated, this.resultsBySearchProvider[t].entries.push(...i.entries);
2147
- });
2148
- }
2149
- }
2150
- };
2151
- var Tn = function() {
2152
- var e = this, r = e._self._c;
2153
- return r("div", { staticClass: "smart-picker-search", class: { "with-empty-content": e.showEmptyContent } }, [r("NcSelect", { ref: "search-select", staticClass: "smart-picker-search--select", attrs: { "input-id": "search-select-input", label: "name", placeholder: e.mySearchPlaceholder, options: e.options, "append-to-body": !1, "close-on-select": !1, "clear-search-on-select": !1, "clear-search-on-blur": () => !1, "reset-focus-on-options-change": !1, filterable: !1, autoscroll: !0, "reset-on-options-change": !1, loading: e.searching }, on: { search: e.onSearchInput, input: e.onSelectResultSelected }, scopedSlots: e._u([{ key: "option", fn: function(n) {
2154
- return [n.isRawLink ? r("div", { staticClass: "custom-option" }, [r("LinkVariantIcon", { staticClass: "option-simple-icon", attrs: { size: 20 } }), r("span", { staticClass: "option-text" }, [e._v(" " + e._s(e.t("Raw link {options}", { options: n.resourceUrl })) + " ")])], 1) : n.resourceUrl ? r("NcSearchResult", { staticClass: "search-result", attrs: { entry: n, query: e.searchQuery } }) : n.isCustomGroupTitle ? r("span", { staticClass: "custom-option group-name" }, [e.provider.icon_url ? r("img", { staticClass: "provider-icon group-name-icon", attrs: { src: e.provider.icon_url } }) : e._e(), r("span", { staticClass: "option-text" }, [r("strong", [e._v(e._s(n.name))])])]) : n.isMore ? r("span", { class: { "custom-option": !0 } }, [n.isLoading ? r("span", { staticClass: "option-simple-icon icon-loading-small" }) : r("DotsHorizontalIcon", { staticClass: "option-simple-icon", attrs: { size: 20 } }), r("span", { staticClass: "option-text" }, [e._v(" " + e._s(e.t('Load more "{options}"', { options: n.name })) + " ")])], 1) : e._e()];
2155
- } }, { key: "no-options", fn: function() {
2156
- return [e._v(" " + e._s(e.noOptionsText) + " ")];
2157
- }, proxy: !0 }]), model: { value: e.selectedResult, callback: function(n) {
2158
- e.selectedResult = n;
2159
- }, expression: "selectedResult" } }), e.showEmptyContent ? r("NcEmptyContent", { staticClass: "smart-picker-search--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
2160
- return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { alt: e.providerIconAlt, src: e.provider.icon_url } }) : r("LinkVariantIcon")];
2161
- }, proxy: !0 }], null, !1, 2922132592) }) : e._e()], 1);
2162
- }, In = [], Vn = /* @__PURE__ */ O(
2163
- Ln,
2164
- Tn,
2165
- In,
2166
- !1,
2167
- null,
2168
- "97d196f0",
2169
- null,
2170
- null
2171
- );
2172
- const An = Vn.exports, D = {
2173
- providerList: 1,
2174
- standardLinkInput: 2,
2175
- searchInput: 3,
2176
- customElement: 4
2177
- }, jn = {
2178
- name: "NcReferencePicker",
2179
- components: {
2180
- NcCustomPickerElement: cn,
2181
- NcProviderList: bn,
2182
- NcRawLinkInput: Sn,
2183
- NcSearch: An
2184
- },
2185
- props: {
2186
- /**
2187
- * Provider to select on creation
2188
- * Default: null. Show the provider list
2189
- */
2190
- initialProvider: {
2191
- type: Object,
2192
- default: () => null
2193
- },
2194
- /**
2195
- * Optional width in pixels
2196
- * Default: 100%
2197
- */
2198
- width: {
2199
- type: Number,
2200
- default: null
2201
- },
2202
- /**
2203
- * Focus on the provider list select input on creation
2204
- * Default: true
2205
- */
2206
- focusOnCreate: {
2207
- type: Boolean,
2208
- default: !0
2209
- }
2210
- },
2211
- emits: [
2212
- "cancel",
2213
- "cancel-raw-link",
2214
- "cancel-search",
2215
- "provider-selected",
2216
- "submit"
2217
- ],
2218
- data() {
2219
- return {
2220
- MODES: D,
2221
- selectedProvider: this.initialProvider
2222
- };
2223
- },
2224
- computed: {
2225
- mode() {
2226
- return this.selectedProvider === null ? D.providerList : F(this.selectedProvider.id) ? D.customElement : this.selectedProvider.search_providers_ids ? D.searchInput : D.standardLinkInput;
2227
- },
2228
- pickerWrapperStyle() {
2229
- return {
2230
- width: this.width ? this.width + "px" : void 0
2231
- };
2232
- }
2233
- },
2234
- mounted() {
2235
- this.focusOnCreate && (this.initialProvider ? setTimeout(() => {
2236
- var t;
2237
- (t = this.$refs["url-input"]) == null || t.focus();
2238
- }, 300) : this.$nextTick(() => {
2239
- var t;
2240
- (t = this.$refs["provider-list"]) == null || t.focus();
2241
- }));
2242
- },
2243
- methods: {
2244
- onEscapePressed() {
2245
- this.selectedProvider !== null ? this.deselectProvider() : this.cancelProviderSelection();
2246
- },
2247
- onProviderSelected(t) {
2248
- this.selectedProvider = t, this.$emit("provider-selected", t), this.$nextTick(() => {
2249
- var e;
2250
- (e = this.$refs["url-input"]) == null || e.focus();
2251
- });
2252
- },
2253
- cancelCustomElement() {
2254
- this.deselectProvider();
2255
- },
2256
- cancelSearch() {
2257
- var t;
2258
- this.$emit("cancel-search", (t = this.selectedProvider) == null ? void 0 : t.title), this.deselectProvider();
2259
- },
2260
- cancelRawLinkInput() {
2261
- var t;
2262
- this.$emit("cancel-raw-link", (t = this.selectedProvider) == null ? void 0 : t.title), this.deselectProvider();
2263
- },
2264
- cancelProviderSelection() {
2265
- this.$emit("cancel");
2266
- },
2267
- submitLink(t) {
2268
- this.selectedProvider !== null && hn(this.selectedProvider.id), this.$emit("submit", t), this.deselectProvider();
2269
- },
2270
- deselectProvider() {
2271
- this.selectedProvider = null, this.$emit("provider-selected", null), setTimeout(() => {
2272
- var t;
2273
- (t = this.$refs["provider-list"]) == null || t.focus();
2274
- }, 300);
2275
- }
2276
- }
2277
- };
2278
- var Bn = function() {
2279
- var e = this, r = e._self._c;
2280
- return r("div", { staticClass: "reference-picker", style: e.pickerWrapperStyle, attrs: { tabindex: "-1" }, on: { keydown: function(n) {
2281
- return !n.type.indexOf("key") && e._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : (n.stopPropagation(), n.preventDefault(), e.onEscapePressed.apply(null, arguments));
2282
- } } }, [e.mode === e.MODES.providerList ? r("NcProviderList", { ref: "provider-list", on: { "select-provider": e.onProviderSelected, submit: e.submitLink, cancel: e.cancelProviderSelection } }) : e.mode === e.MODES.standardLinkInput ? r("NcRawLinkInput", { ref: "url-input", attrs: { provider: e.selectedProvider }, on: { submit: e.submitLink, cancel: e.cancelRawLinkInput } }) : e.mode === e.MODES.searchInput ? r("NcSearch", { ref: "url-input", attrs: { provider: e.selectedProvider }, on: { cancel: e.cancelSearch, submit: e.submitLink } }) : e.mode === e.MODES.customElement ? r("div", { staticClass: "custom-element-wrapper" }, [r("NcCustomPickerElement", { attrs: { provider: e.selectedProvider }, on: { submit: e.submitLink, cancel: e.cancelCustomElement } })], 1) : e._e()], 1);
2283
- }, qn = [], Mn = /* @__PURE__ */ O(
2284
- jn,
2285
- Bn,
2286
- qn,
2287
- !1,
2288
- null,
2289
- "12c38c93",
2290
- null,
2291
- null
2292
- );
2293
- const Un = Mn.exports;
2294
- q(Bt, jt);
2295
- const Dn = {
2296
- name: "NcReferencePickerModal",
2297
- components: {
2298
- NcReferencePicker: Un,
2299
- NcModal: Gt,
2300
- NcButton: Ze,
2301
- ArrowLeftIcon: Kt,
2302
- CloseIcon: Jt
2303
- },
2304
- props: {
2305
- /**
2306
- * Provider to select on creation
2307
- * Show the provider list if no initial one is provided
2308
- */
2309
- initialProvider: {
2310
- type: Object,
2311
- default: () => null
2312
- },
2313
- /**
2314
- * Focus on the input item on create
2315
- */
2316
- focusOnCreate: {
2317
- type: Boolean,
2318
- default: !0
2319
- },
2320
- /**
2321
- * If true, add the modal content to the Viewer trap elements via the event-bus
2322
- */
2323
- isInsideViewer: {
2324
- type: Boolean,
2325
- default: !1
2326
- }
2327
- },
2328
- emits: [
2329
- "cancel",
2330
- "submit"
2331
- ],
2332
- data() {
2333
- return {
2334
- show: !0,
2335
- selectedProvider: this.initialProvider,
2336
- backButtonTitle: S("Back to provider selection"),
2337
- closeButtonTitle: S("Close"),
2338
- closeButtonLabel: S("Close Smart Picker")
2339
- };
2340
- },
2341
- computed: {
2342
- isProviderSelected() {
2343
- return this.selectedProvider !== null;
2344
- },
2345
- showBackButton() {
2346
- return this.initialProvider === null && this.isProviderSelected;
2347
- },
2348
- modalSize() {
2349
- var t;
2350
- return this.isProviderSelected && F(this.selectedProvider.id) ? (t = Ot(this.selectedProvider.id)) != null ? t : "large" : "normal";
2351
- },
2352
- showModalName() {
2353
- return !this.isProviderSelected || !F(this.selectedProvider.id);
2354
- },
2355
- modalName() {
2356
- return this.isProviderSelected ? this.selectedProvider.title : S("Smart Picker");
2357
- }
2358
- },
2359
- mounted() {
2360
- if (this.isInsideViewer) {
2361
- const t = this.$refs.modal_content;
2362
- Qt("viewer:trapElements:changed", t);
2363
- }
2364
- },
2365
- methods: {
2366
- onCancel() {
2367
- this.show = !1, this.$emit("cancel");
2368
- },
2369
- onSubmit(t) {
2370
- this.show = !1, this.$emit("submit", t);
2371
- },
2372
- onProviderSelect(t) {
2373
- this.selectedProvider = t, t === null && this.initialProvider !== null && this.onCancel();
2374
- },
2375
- onBackClicked() {
2376
- this.$refs.referencePicker.deselectProvider();
2377
- }
2378
- }
2379
- };
2380
- var Wn = function() {
2381
- var e = this, r = e._self._c;
2382
- return e.show ? r("NcModal", { staticClass: "reference-picker-modal", attrs: { size: e.modalSize, "can-close": !1 }, on: { close: e.onCancel } }, [r("div", { ref: "modal_content", staticClass: "reference-picker-modal--content" }, [e.showBackButton ? r("NcButton", { staticClass: "back-button", attrs: { "aria-label": e.backButtonTitle, title: e.backButtonTitle }, on: { click: e.onBackClicked }, scopedSlots: e._u([{ key: "icon", fn: function() {
2383
- return [r("ArrowLeftIcon")];
2384
- }, proxy: !0 }], null, !1, 3001860362) }) : e._e(), r("NcButton", { staticClass: "close-button", attrs: { "aria-label": e.closeButtonLabel, title: e.closeButtonTitle, type: "tertiary" }, on: { click: e.onCancel }, scopedSlots: e._u([{ key: "icon", fn: function() {
2385
- return [r("CloseIcon")];
2386
- }, proxy: !0 }], null, !1, 2491825086) }), e.showModalName ? r("h2", [e._v(" " + e._s(e.modalName) + " ")]) : e._e(), r("NcReferencePicker", { ref: "referencePicker", attrs: { "initial-provider": e.initialProvider, "focus-on-create": e.focusOnCreate }, on: { "provider-selected": e.onProviderSelect, submit: e.onSubmit, cancel: e.onCancel } })], 1)]) : e._e();
2387
- }, Fn = [], zn = /* @__PURE__ */ O(
2388
- Dn,
2389
- Wn,
2390
- Fn,
2391
- !1,
2392
- null,
2393
- "ab09ebaa",
2394
- null,
2395
- null
2396
- );
2397
- const Hn = zn.exports;
2398
- async function pi(t = null, e = void 0) {
2399
- return await new Promise((r, n) => {
2400
- var u;
2401
- const i = "referencePickerModal", s = document.createElement("div");
2402
- s.id = i, document.body.append(s);
2403
- const a = t === null ? null : (u = un(t)) != null ? u : null, o = Dt.extend(Hn), c = new o({
2404
- propsData: {
2405
- initialProvider: a,
2406
- isInsideViewer: e
2407
- }
2408
- }).$mount(s);
2409
- c.$on("cancel", () => {
2410
- c.$destroy(), n(new Error("User cancellation"));
2411
- }), c.$on("submit", (p) => {
2412
- c.$destroy(), r(p);
2413
- });
2414
- });
2415
- }
2416
- export {
2417
- at as L,
2418
- rn as N,
2419
- wt as a,
2420
- un as b,
2421
- Rt as c,
2422
- fn as d,
2423
- Un as e,
2424
- Hn as f,
2425
- pi as g,
2426
- An as h,
2427
- ln as s
2428
- };