@nextcloud/vue 8.11.2 → 8.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (789) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/Components/NcActionButton.cjs +68 -31
  3. package/dist/Components/NcActionButton.cjs.map +1 -1
  4. package/dist/Components/NcActionButton.mjs +68 -35
  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 +29 -23
  19. package/dist/Components/NcActionLink.cjs.map +1 -1
  20. package/dist/Components/NcActionLink.mjs +29 -25
  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 +80 -59
  101. package/dist/Components/NcButton.cjs.map +1 -1
  102. package/dist/Components/NcButton.mjs +80 -60
  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 +22 -19
  139. package/dist/Components/NcEmptyContent.cjs.map +1 -1
  140. package/dist/Components/NcEmptyContent.mjs +22 -20
  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-D08gPtwM.css} +27 -22
  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-ufhOZDI9.css} +19 -16
  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-CiiQkX9v.css → NcActions-N_Y6Nzew.css} +40 -13
  275. package/dist/assets/{NcAppContent-aWiDWWeq.css → NcAppContent-C08OMmgh.css} +42 -17
  276. package/dist/assets/{NcAppNavigation-wkQJnaLW.css → NcAppNavigation-DlFgsfe2.css} +44 -11
  277. package/dist/assets/{NcAppNavigationCaption-jV1y8HQ1.css → NcAppNavigationCaption-DnApJ5OW.css} +13 -9
  278. package/dist/assets/{NcAppNavigationIconBullet-1_cBEwu8.css → NcAppNavigationIconBullet-B8q3pUL5.css} +5 -2
  279. package/dist/assets/{NcAppNavigationItem-hYyNqvah.css → NcAppNavigationItem-OJEHVyVk.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-DlVjDHcd.css → NcAppSidebar-DixS4RLm.css} +149 -53
  289. package/dist/assets/{NcAppSidebarTab-XLBsrGqg.css → NcAppSidebarTab-CBFET-hQ.css} +5 -2
  290. package/dist/assets/{NcAvatar-BozWHt1s.css → NcAvatar-C2EFGp-3.css} +30 -31
  291. package/dist/assets/{NcBreadcrumb-eyloXKCC.css → NcBreadcrumb-AES5eSWo.css} +8 -6
  292. package/dist/assets/{NcBreadcrumbs-E-TglkuV.css → NcBreadcrumbs-tYrp1DVs.css} +5 -3
  293. package/dist/assets/{NcButton-DhaPcomf.css → NcButton-DZS360ia.css} +56 -56
  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-q_BLnhHU.css → NcDateTimePicker-3FfsWOh0.css} +144 -163
  301. package/dist/assets/{NcDateTimePickerNative-DnLJu29_.css → NcDateTimePickerNative-CV_VuzvQ.css} +7 -4
  302. package/dist/assets/{NcDialog-DEKSpcnR.css → NcDialog-DFMxsFp5.css} +53 -20
  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-BY1-Gge4.css} +16 -12
  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-DF9sBD2g.css} +12 -9
  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-CuPMgXoB.css} +17 -19
  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-TX28tYCG.css} +16 -14
  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-BaGbKZky.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-CAUl-IDP.cjs +160 -0
  368. package/dist/chunks/{GenColors-Dceu3ds2.mjs.map → GenColors-CAUl-IDP.cjs.map} +1 -1
  369. package/dist/chunks/{GenColors-Dceu3ds2.mjs → GenColors-DcjtQMk3.mjs} +69 -50
  370. package/dist/chunks/{GenColors-hkqGpnOK.cjs.map → GenColors-DcjtQMk3.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-D650-6zv.mjs +53 -0
  380. package/dist/chunks/{NcActionButtonGroup-DU1taycQ.mjs.map → NcActionButtonGroup-D650-6zv.mjs.map} +1 -1
  381. package/dist/chunks/NcActionButtonGroup-D7hycpXY.cjs +52 -0
  382. package/dist/chunks/{NcActionButtonGroup-B1XhnIBl.cjs.map → NcActionButtonGroup-D7hycpXY.cjs.map} +1 -1
  383. package/dist/chunks/NcActionInput-BqG7gSLn.mjs +254 -0
  384. package/dist/chunks/{NcActionInput-53RB9uQe.mjs.map → NcActionInput-BqG7gSLn.mjs.map} +1 -1
  385. package/dist/chunks/NcActionInput-CHucaM0V.cjs +253 -0
  386. package/dist/chunks/{NcActionInput-N2wrvq5K.cjs.map → NcActionInput-CHucaM0V.cjs.map} +1 -1
  387. package/dist/chunks/NcActions-CocYka0Y.mjs +845 -0
  388. package/dist/chunks/NcActions-CocYka0Y.mjs.map +1 -0
  389. package/dist/chunks/NcActions-JX6wbAVA.cjs +846 -0
  390. package/dist/chunks/NcActions-JX6wbAVA.cjs.map +1 -0
  391. package/dist/chunks/NcAppContent-CkO1Y93z.cjs +303 -0
  392. package/dist/chunks/{NcAppContent-BDhK1rUf.mjs.map → NcAppContent-CkO1Y93z.cjs.map} +1 -1
  393. package/dist/chunks/NcAppContent-wlhVbyg0.mjs +304 -0
  394. package/dist/chunks/{NcAppContent-Be1m1O_W.cjs.map → NcAppContent-wlhVbyg0.mjs.map} +1 -1
  395. package/dist/chunks/NcAppNavigation-BKiDVBw7.mjs +142 -0
  396. package/dist/chunks/{NcAppNavigation-DKUnWfen.cjs.map → NcAppNavigation-BKiDVBw7.mjs.map} +1 -1
  397. package/dist/chunks/NcAppNavigation-Du3J8BTm.cjs +143 -0
  398. package/dist/chunks/{NcAppNavigation-CElLRpH-.mjs.map → NcAppNavigation-Du3J8BTm.cjs.map} +1 -1
  399. package/dist/chunks/NcAppNavigationCaption-BoN0P7tD.cjs +78 -0
  400. package/dist/chunks/NcAppNavigationCaption-BoN0P7tD.cjs.map +1 -0
  401. package/dist/chunks/NcAppNavigationCaption-CKTQZ_u_.mjs +79 -0
  402. package/dist/chunks/NcAppNavigationCaption-CKTQZ_u_.mjs.map +1 -0
  403. package/dist/chunks/NcAppNavigationItem-D_lh17am.cjs +521 -0
  404. package/dist/chunks/NcAppNavigationItem-D_lh17am.cjs.map +1 -0
  405. package/dist/chunks/NcAppNavigationItem-qe8jnLow.mjs +522 -0
  406. package/dist/chunks/NcAppNavigationItem-qe8jnLow.mjs.map +1 -0
  407. package/dist/chunks/NcAppNavigationNewItem-B107Beoc.mjs +98 -0
  408. package/dist/chunks/{NcAppNavigationNewItem-CN3vYnc_.mjs.map → NcAppNavigationNewItem-B107Beoc.mjs.map} +1 -1
  409. package/dist/chunks/NcAppNavigationNewItem-DyxVXE5t.cjs +97 -0
  410. package/dist/chunks/{NcAppNavigationNewItem-5B4-U2NI.cjs.map → NcAppNavigationNewItem-DyxVXE5t.cjs.map} +1 -1
  411. package/dist/chunks/NcAppNavigationSettings-CmP_tXFm.cjs +110 -0
  412. package/dist/chunks/{NcAppNavigationSettings-LmpAoM-x.mjs.map → NcAppNavigationSettings-CmP_tXFm.cjs.map} +1 -1
  413. package/dist/chunks/NcAppNavigationSettings-DZ1-Sbdz.mjs +111 -0
  414. package/dist/chunks/{NcAppNavigationSettings-Cnr4jYzW.cjs.map → NcAppNavigationSettings-DZ1-Sbdz.mjs.map} +1 -1
  415. package/dist/chunks/NcAppNavigationToggle-hmEUqxbP.cjs +129 -0
  416. package/dist/chunks/{NcAppNavigationToggle-D0oeWL17.mjs.map → NcAppNavigationToggle-hmEUqxbP.cjs.map} +1 -1
  417. package/dist/chunks/NcAppNavigationToggle-zCGgvNDT.mjs +130 -0
  418. package/dist/chunks/{NcAppNavigationToggle-B5XmO21v.cjs.map → NcAppNavigationToggle-zCGgvNDT.mjs.map} +1 -1
  419. package/dist/chunks/NcAppSettingsDialog-D9cNYQ8b.mjs +230 -0
  420. package/dist/chunks/{NcAppSettingsDialog-BLOgrVCz.mjs.map → NcAppSettingsDialog-D9cNYQ8b.mjs.map} +1 -1
  421. package/dist/chunks/NcAppSettingsDialog-YqNhco1P.cjs +232 -0
  422. package/dist/chunks/{NcAppSettingsDialog-B6crPJ6a.cjs.map → NcAppSettingsDialog-YqNhco1P.cjs.map} +1 -1
  423. package/dist/chunks/NcAppSidebar-CQWODfsy.mjs +792 -0
  424. package/dist/chunks/NcAppSidebar-CQWODfsy.mjs.map +1 -0
  425. package/dist/chunks/NcAppSidebar-J15zHyfq.cjs +791 -0
  426. package/dist/chunks/NcAppSidebar-J15zHyfq.cjs.map +1 -0
  427. package/dist/chunks/NcAvatar-CX3OX2C4.mjs +594 -0
  428. package/dist/chunks/NcAvatar-CX3OX2C4.mjs.map +1 -0
  429. package/dist/chunks/NcAvatar-CYzikYku.cjs +595 -0
  430. package/dist/chunks/NcAvatar-CYzikYku.cjs.map +1 -0
  431. package/dist/chunks/NcBreadcrumb-DytGDsr8.mjs +206 -0
  432. package/dist/chunks/{NcBreadcrumb-BxCf2hEA.mjs.map → NcBreadcrumb-DytGDsr8.mjs.map} +1 -1
  433. package/dist/chunks/NcBreadcrumb-jMJw2OQJ.cjs +205 -0
  434. package/dist/chunks/{NcBreadcrumb-BRpLGeLr.cjs.map → NcBreadcrumb-jMJw2OQJ.cjs.map} +1 -1
  435. package/dist/chunks/NcBreadcrumbs-BqFPBZ-h.mjs +525 -0
  436. package/dist/chunks/{NcBreadcrumbs-BmK-6Q-n.mjs.map → NcBreadcrumbs-BqFPBZ-h.mjs.map} +1 -1
  437. package/dist/chunks/NcBreadcrumbs-CzObAKB-.cjs +527 -0
  438. package/dist/chunks/{NcBreadcrumbs-BKPXzHC1.cjs.map → NcBreadcrumbs-CzObAKB-.cjs.map} +1 -1
  439. package/dist/chunks/NcCheckboxRadioSwitch-CIHl8lnP.cjs +685 -0
  440. package/dist/chunks/NcCheckboxRadioSwitch-CIHl8lnP.cjs.map +1 -0
  441. package/dist/chunks/NcCheckboxRadioSwitch-CpupDtee.mjs +686 -0
  442. package/dist/chunks/NcCheckboxRadioSwitch-CpupDtee.mjs.map +1 -0
  443. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-CAFQAKcK.mjs +3 -0
  444. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-CAFQAKcK.mjs.map +1 -0
  445. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-D2wGnjg7.cjs +4 -0
  446. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_6d6e6a47_lang-D2wGnjg7.cjs.map +1 -0
  447. package/dist/chunks/NcColorPicker-BEs2B-HB.mjs +191 -0
  448. package/dist/chunks/NcColorPicker-BEs2B-HB.mjs.map +1 -0
  449. package/dist/chunks/NcColorPicker-KrvDMhej.cjs +190 -0
  450. package/dist/chunks/NcColorPicker-KrvDMhej.cjs.map +1 -0
  451. package/dist/chunks/NcContent-CcrNrpVC.mjs +104 -0
  452. package/dist/chunks/{NcContent-BPA0KfuT.mjs.map → NcContent-CcrNrpVC.mjs.map} +1 -1
  453. package/dist/chunks/NcContent-DChC6Khv.cjs +103 -0
  454. package/dist/chunks/{NcContent-DbFAEdX_.cjs.map → NcContent-DChC6Khv.cjs.map} +1 -1
  455. package/dist/chunks/NcDashboardWidget-BvNtltPU.cjs +147 -0
  456. package/dist/chunks/{NcDashboardWidget-2-nW7dII.mjs.map → NcDashboardWidget-BvNtltPU.cjs.map} +1 -1
  457. package/dist/chunks/NcDashboardWidget-Da715DSB.mjs +148 -0
  458. package/dist/chunks/{NcDashboardWidget-auMQiAFt.cjs.map → NcDashboardWidget-Da715DSB.mjs.map} +1 -1
  459. package/dist/chunks/NcDashboardWidgetItem-BkJTg3kj.mjs +151 -0
  460. package/dist/chunks/{NcDashboardWidgetItem-D2yoF9Oo.mjs.map → NcDashboardWidgetItem-BkJTg3kj.mjs.map} +1 -1
  461. package/dist/chunks/NcDashboardWidgetItem-CKv_fb-1.cjs +150 -0
  462. package/dist/chunks/{NcDashboardWidgetItem-xqVAP32n.cjs.map → NcDashboardWidgetItem-CKv_fb-1.cjs.map} +1 -1
  463. package/dist/chunks/NcDateTime-CpJDGhl7.mjs +181 -0
  464. package/dist/chunks/NcDateTime-CpJDGhl7.mjs.map +1 -0
  465. package/dist/chunks/NcDateTime-Cy5Bp0d2.cjs +180 -0
  466. package/dist/chunks/NcDateTime-Cy5Bp0d2.cjs.map +1 -0
  467. package/dist/chunks/NcDialog-B3ZaXnpn.mjs +235 -0
  468. package/dist/chunks/{NcDialog-C_1rhUHk.mjs.map → NcDialog-B3ZaXnpn.mjs.map} +1 -1
  469. package/dist/chunks/NcDialog-C7KRNdTc.cjs +234 -0
  470. package/dist/chunks/{NcDialog-Ciz0hlFn.cjs.map → NcDialog-C7KRNdTc.cjs.map} +1 -1
  471. package/dist/chunks/NcDialogButton-BV3Kf9U7.mjs +79 -0
  472. package/dist/chunks/{NcDialogButton-DQFoaN7q.mjs.map → NcDialogButton-BV3Kf9U7.mjs.map} +1 -1
  473. package/dist/chunks/NcDialogButton-CLWLvwpm.cjs +78 -0
  474. package/dist/chunks/{NcDialogButton-D7ibBxsQ.cjs.map → NcDialogButton-CLWLvwpm.cjs.map} +1 -1
  475. package/dist/chunks/NcEmojiPicker-LFuZ15M5.cjs +285 -0
  476. package/dist/chunks/{NcEmojiPicker-S2pfwxlK.cjs.map → NcEmojiPicker-LFuZ15M5.cjs.map} +1 -1
  477. package/dist/chunks/NcEmojiPicker-SqbRSwu2.mjs +284 -0
  478. package/dist/chunks/{NcEmojiPicker-Cie30NYK.mjs.map → NcEmojiPicker-SqbRSwu2.mjs.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-KWEbPRC9.mjs +101 -0
  484. package/dist/chunks/{NcIconSvgWrapper-kIn1eQyv.cjs.map → NcIconSvgWrapper-KWEbPRC9.mjs.map} +1 -1
  485. package/dist/chunks/NcIconSvgWrapper-O61kZVNp.cjs +103 -0
  486. package/dist/chunks/{NcIconSvgWrapper-BTdzvQGV.mjs.map → NcIconSvgWrapper-O61kZVNp.cjs.map} +1 -1
  487. package/dist/chunks/NcInputConfirmCancel-CJ7nPGEd.cjs +112 -0
  488. package/dist/chunks/{NcInputConfirmCancel-DVmY85-V.cjs.map → NcInputConfirmCancel-CJ7nPGEd.cjs.map} +1 -1
  489. package/dist/chunks/NcInputConfirmCancel-XXXgXoSw.mjs +113 -0
  490. package/dist/chunks/{NcInputConfirmCancel-Nn_JgG9d.mjs.map → NcInputConfirmCancel-XXXgXoSw.mjs.map} +1 -1
  491. package/dist/chunks/NcListItem-CxpC4EKk.cjs +275 -0
  492. package/dist/chunks/{NcListItem-BopkGRDs.mjs.map → NcListItem-CxpC4EKk.cjs.map} +1 -1
  493. package/dist/chunks/NcListItem-DrTIia88.mjs +276 -0
  494. package/dist/chunks/{NcListItem-B_MPLJ_8.cjs.map → NcListItem-DrTIia88.mjs.map} +1 -1
  495. package/dist/chunks/NcListItemIcon-44A7fm62.cjs +175 -0
  496. package/dist/chunks/NcListItemIcon-44A7fm62.cjs.map +1 -0
  497. package/dist/chunks/NcListItemIcon-CTTJYWzN.mjs +176 -0
  498. package/dist/chunks/NcListItemIcon-CTTJYWzN.mjs.map +1 -0
  499. package/dist/chunks/NcPasswordField-DN-kdAfl.cjs +256 -0
  500. package/dist/chunks/{NcPasswordField-BgSp7dK4.mjs.map → NcPasswordField-DN-kdAfl.cjs.map} +1 -1
  501. package/dist/chunks/NcPasswordField-Z6BCKScy.mjs +254 -0
  502. package/dist/chunks/{NcPasswordField-BooDzf0Z.cjs.map → NcPasswordField-Z6BCKScy.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-D3QlWSNc.mjs +438 -0
  512. package/dist/chunks/{NcRelatedResourcesPanel-DaiuNCYU.cjs.map → NcRelatedResourcesPanel-D3QlWSNc.mjs.map} +1 -1
  513. package/dist/chunks/NcRelatedResourcesPanel-Dcm2wvfd.cjs +439 -0
  514. package/dist/chunks/{NcRelatedResourcesPanel-Ch1b_Gl3.mjs.map → NcRelatedResourcesPanel-Dcm2wvfd.cjs.map} +1 -1
  515. package/dist/chunks/NcRichContenteditable-BB-qsHEm.mjs +797 -0
  516. package/dist/chunks/{NcRichContenteditable-CEqdmoem.mjs.map → NcRichContenteditable-BB-qsHEm.mjs.map} +1 -1
  517. package/dist/chunks/NcRichContenteditable-DljQv8gw.cjs +800 -0
  518. package/dist/chunks/{NcRichContenteditable-BF3BkdqM.cjs.map → NcRichContenteditable-DljQv8gw.cjs.map} +1 -1
  519. package/dist/chunks/NcRichText-BDVKgmY5.cjs +419 -0
  520. package/dist/chunks/{NcRichText-DCkExl5g.cjs.map → NcRichText-BDVKgmY5.cjs.map} +1 -1
  521. package/dist/chunks/NcRichText-BT4VjvXi.mjs +412 -0
  522. package/dist/chunks/{NcRichText-CUKFkHQg.mjs.map → NcRichText-BT4VjvXi.mjs.map} +1 -1
  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-Bo71Yd6L.mjs → NcSelect-CNm4fmR6.mjs} +159 -121
  528. package/dist/chunks/{NcSelect-Bn3oTHtq.cjs.map → NcSelect-CNm4fmR6.mjs.map} +1 -1
  529. package/dist/chunks/{NcSelect-Bn3oTHtq.cjs → NcSelect-DckQCxxX.cjs} +161 -111
  530. package/dist/chunks/{NcSelect-Bo71Yd6L.mjs.map → NcSelect-DckQCxxX.cjs.map} +1 -1
  531. package/dist/chunks/NcSelectTags-CnkBJ3vP.cjs +303 -0
  532. package/dist/chunks/{NcSelectTags-CgYWiDjX.cjs.map → NcSelectTags-CnkBJ3vP.cjs.map} +1 -1
  533. package/dist/chunks/NcSelectTags-nCqLANFH.mjs +302 -0
  534. package/dist/chunks/{NcSelectTags-9aCrLRT0.mjs.map → NcSelectTags-nCqLANFH.mjs.map} +1 -1
  535. package/dist/chunks/NcSettingsInputText-D-S5LBmN.mjs +102 -0
  536. package/dist/chunks/{NcSettingsInputText-JboV8u2l.mjs.map → NcSettingsInputText-D-S5LBmN.mjs.map} +1 -1
  537. package/dist/chunks/NcSettingsInputText-Dd3wEwGy.cjs +101 -0
  538. package/dist/chunks/{NcSettingsInputText-1i2TqdMB.cjs.map → NcSettingsInputText-Dd3wEwGy.cjs.map} +1 -1
  539. package/dist/chunks/NcSettingsSection-B0-LmypW.mjs +112 -0
  540. package/dist/chunks/NcSettingsSection-B0-LmypW.mjs.map +1 -0
  541. package/dist/chunks/NcSettingsSection-ayl3nvdL.cjs +111 -0
  542. package/dist/chunks/NcSettingsSection-ayl3nvdL.cjs.map +1 -0
  543. package/dist/chunks/NcSettingsSelectGroup-C51Km4wj.mjs +211 -0
  544. package/dist/chunks/{NcSettingsSelectGroup-DUzmbtZx.mjs.map → NcSettingsSelectGroup-C51Km4wj.mjs.map} +1 -1
  545. package/dist/chunks/NcSettingsSelectGroup-Dc7oy0Jg.cjs +213 -0
  546. package/dist/chunks/{NcSettingsSelectGroup-CgUJmyF7.cjs.map → NcSettingsSelectGroup-Dc7oy0Jg.cjs.map} +1 -1
  547. package/dist/chunks/NcTextField-BmOKGaQ4.cjs +150 -0
  548. package/dist/chunks/{NcTextField-B5cUYgRy.cjs.map → NcTextField-BmOKGaQ4.cjs.map} +1 -1
  549. package/dist/chunks/NcTextField-BmaDUUfq.mjs +151 -0
  550. package/dist/chunks/{NcTextField-D_eUEl2B.mjs.map → NcTextField-BmaDUUfq.mjs.map} +1 -1
  551. package/dist/chunks/{NcTimezonePicker-CH1lkCMF.mjs → NcTimezonePicker-BSgT2QA5.mjs} +814 -551
  552. package/dist/chunks/{NcTimezonePicker-CH1lkCMF.mjs.map → NcTimezonePicker-BSgT2QA5.mjs.map} +1 -1
  553. package/dist/chunks/{NcTimezonePicker-BF5TeadZ.cjs → NcTimezonePicker-iD8mrVb_.cjs} +814 -546
  554. package/dist/chunks/{NcTimezonePicker-BF5TeadZ.cjs.map → NcTimezonePicker-iD8mrVb_.cjs.map} +1 -1
  555. package/dist/chunks/NcUserBubble-BJp-ZBGW.mjs +211 -0
  556. package/dist/chunks/{NcUserBubble-BadEJRgs.cjs.map → NcUserBubble-BJp-ZBGW.mjs.map} +1 -1
  557. package/dist/chunks/NcUserBubble-BsQJPVXD.cjs +212 -0
  558. package/dist/chunks/{NcUserBubble-C0HbPO9p.mjs.map → NcUserBubble-BsQJPVXD.cjs.map} +1 -1
  559. package/dist/chunks/NcUserStatusIcon-Ba9ajMhK.cjs +170 -0
  560. package/dist/chunks/{NcUserStatusIcon-HOUdT_MR.mjs.map → NcUserStatusIcon-Ba9ajMhK.cjs.map} +1 -1
  561. package/dist/chunks/NcUserStatusIcon-BkO1ZAdq.mjs +168 -0
  562. package/dist/chunks/{NcUserStatusIcon-B69NZ9Hw.cjs.map → NcUserStatusIcon-BkO1ZAdq.mjs.map} +1 -1
  563. package/dist/chunks/{ScopeComponent-IO407Bzb.cjs → ScopeComponent-BpyBuaF3.cjs} +9 -4
  564. package/dist/chunks/{ScopeComponent-IO407Bzb.cjs.map → ScopeComponent-BpyBuaF3.cjs.map} +1 -1
  565. package/dist/chunks/{ScopeComponent-Dz4pyD77.mjs → ScopeComponent-Dy6ublmy.mjs} +9 -4
  566. package/dist/chunks/{ScopeComponent-Dz4pyD77.mjs.map → ScopeComponent-Dy6ublmy.mjs.map} +1 -1
  567. package/dist/chunks/_l10n-BYPqjHzt.cjs +121 -0
  568. package/dist/chunks/_l10n-BYPqjHzt.cjs.map +1 -0
  569. package/dist/chunks/_l10n-hRR5zBTZ.mjs +122 -0
  570. package/dist/chunks/_l10n-hRR5zBTZ.mjs.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-CFPdv-m1.mjs +3469 -0
  616. package/dist/chunks/referencePickerModal-CFPdv-m1.mjs.map +1 -0
  617. package/dist/chunks/referencePickerModal-m0FcnvxK.cjs +3471 -0
  618. package/dist/chunks/referencePickerModal-m0FcnvxK.cjs.map +1 -0
  619. package/dist/chunks/{usernameToColor-BHkzj1tb.mjs → usernameToColor-CLlyFMmy.mjs} +22 -16
  620. package/dist/chunks/{usernameToColor-BHkzj1tb.mjs.map → usernameToColor-CLlyFMmy.mjs.map} +1 -1
  621. package/dist/chunks/usernameToColor-cfXKb46d.cjs +48 -0
  622. package/dist/chunks/{usernameToColor-DA36rR48.cjs.map → usernameToColor-cfXKb46d.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 +8 -8
  630. package/dist/assets/NcRichText-DNXuHl34.css +0 -229
  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-hkqGpnOK.cjs +0 -141
  651. package/dist/chunks/NcActionButtonGroup-B1XhnIBl.cjs +0 -46
  652. package/dist/chunks/NcActionButtonGroup-DU1taycQ.mjs +0 -50
  653. package/dist/chunks/NcActionInput-53RB9uQe.mjs +0 -244
  654. package/dist/chunks/NcActionInput-N2wrvq5K.cjs +0 -235
  655. package/dist/chunks/NcActions-BtvXtZF4.cjs +0 -688
  656. package/dist/chunks/NcActions-BtvXtZF4.cjs.map +0 -1
  657. package/dist/chunks/NcActions-DiFslXqv.mjs +0 -696
  658. package/dist/chunks/NcActions-DiFslXqv.mjs.map +0 -1
  659. package/dist/chunks/NcAppContent-BDhK1rUf.mjs +0 -265
  660. package/dist/chunks/NcAppContent-Be1m1O_W.cjs +0 -256
  661. package/dist/chunks/NcAppNavigation-CElLRpH-.mjs +0 -124
  662. package/dist/chunks/NcAppNavigation-DKUnWfen.cjs +0 -115
  663. package/dist/chunks/NcAppNavigationCaption-Cdcv-0jj.cjs +0 -58
  664. package/dist/chunks/NcAppNavigationCaption-Cdcv-0jj.cjs.map +0 -1
  665. package/dist/chunks/NcAppNavigationCaption-DI7SIPdI.mjs +0 -61
  666. package/dist/chunks/NcAppNavigationCaption-DI7SIPdI.mjs.map +0 -1
  667. package/dist/chunks/NcAppNavigationItem-7xN_CMHW.cjs +0 -463
  668. package/dist/chunks/NcAppNavigationItem-7xN_CMHW.cjs.map +0 -1
  669. package/dist/chunks/NcAppNavigationItem-Djfc0DPY.mjs +0 -475
  670. package/dist/chunks/NcAppNavigationItem-Djfc0DPY.mjs.map +0 -1
  671. package/dist/chunks/NcAppNavigationNewItem-5B4-U2NI.cjs +0 -87
  672. package/dist/chunks/NcAppNavigationNewItem-CN3vYnc_.mjs +0 -91
  673. package/dist/chunks/NcAppNavigationSettings-Cnr4jYzW.cjs +0 -104
  674. package/dist/chunks/NcAppNavigationSettings-LmpAoM-x.mjs +0 -106
  675. package/dist/chunks/NcAppNavigationToggle-B5XmO21v.cjs +0 -119
  676. package/dist/chunks/NcAppNavigationToggle-D0oeWL17.mjs +0 -122
  677. package/dist/chunks/NcAppSettingsDialog-B6crPJ6a.cjs +0 -184
  678. package/dist/chunks/NcAppSettingsDialog-BLOgrVCz.mjs +0 -191
  679. package/dist/chunks/NcAppSidebar-CqER6-dl.mjs +0 -606
  680. package/dist/chunks/NcAppSidebar-CqER6-dl.mjs.map +0 -1
  681. package/dist/chunks/NcAppSidebar-qC5-u1p0.cjs +0 -588
  682. package/dist/chunks/NcAppSidebar-qC5-u1p0.cjs.map +0 -1
  683. package/dist/chunks/NcAvatar-BBhoG-za.mjs +0 -486
  684. package/dist/chunks/NcAvatar-BBhoG-za.mjs.map +0 -1
  685. package/dist/chunks/NcAvatar-BuqOk4mX.cjs +0 -467
  686. package/dist/chunks/NcAvatar-BuqOk4mX.cjs.map +0 -1
  687. package/dist/chunks/NcBreadcrumb-BRpLGeLr.cjs +0 -180
  688. package/dist/chunks/NcBreadcrumb-BxCf2hEA.mjs +0 -186
  689. package/dist/chunks/NcBreadcrumbs-BKPXzHC1.cjs +0 -412
  690. package/dist/chunks/NcBreadcrumbs-BmK-6Q-n.mjs +0 -422
  691. package/dist/chunks/NcCheckboxRadioSwitch-B9w3Znu7.cjs +0 -603
  692. package/dist/chunks/NcCheckboxRadioSwitch-B9w3Znu7.cjs.map +0 -1
  693. package/dist/chunks/NcCheckboxRadioSwitch-BOl1O2zi.mjs +0 -607
  694. package/dist/chunks/NcCheckboxRadioSwitch-BOl1O2zi.mjs.map +0 -1
  695. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-CCwH-BzH.mjs +0 -3
  696. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-CCwH-BzH.mjs.map +0 -1
  697. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-DAxGPyzS.cjs +0 -4
  698. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_2603be83_lang-DAxGPyzS.cjs.map +0 -1
  699. package/dist/chunks/NcColorPicker-CeoImUTC.mjs +0 -178
  700. package/dist/chunks/NcColorPicker-CeoImUTC.mjs.map +0 -1
  701. package/dist/chunks/NcColorPicker-DOcxlY35.cjs +0 -168
  702. package/dist/chunks/NcColorPicker-DOcxlY35.cjs.map +0 -1
  703. package/dist/chunks/NcContent-BPA0KfuT.mjs +0 -87
  704. package/dist/chunks/NcContent-DbFAEdX_.cjs +0 -80
  705. package/dist/chunks/NcDashboardWidget-2-nW7dII.mjs +0 -141
  706. package/dist/chunks/NcDashboardWidget-auMQiAFt.cjs +0 -135
  707. package/dist/chunks/NcDashboardWidgetItem-D2yoF9Oo.mjs +0 -143
  708. package/dist/chunks/NcDashboardWidgetItem-xqVAP32n.cjs +0 -138
  709. package/dist/chunks/NcDateTime-CeOdKcvC.mjs +0 -146
  710. package/dist/chunks/NcDateTime-CeOdKcvC.mjs.map +0 -1
  711. package/dist/chunks/NcDateTime-DneyKibb.cjs +0 -142
  712. package/dist/chunks/NcDateTime-DneyKibb.cjs.map +0 -1
  713. package/dist/chunks/NcDialog-C_1rhUHk.mjs +0 -214
  714. package/dist/chunks/NcDialog-Ciz0hlFn.cjs +0 -207
  715. package/dist/chunks/NcDialogButton-D7ibBxsQ.cjs +0 -69
  716. package/dist/chunks/NcDialogButton-DQFoaN7q.mjs +0 -74
  717. package/dist/chunks/NcEmojiPicker-Cie30NYK.mjs +0 -251
  718. package/dist/chunks/NcEmojiPicker-S2pfwxlK.cjs +0 -241
  719. package/dist/chunks/NcHeaderMenu-58OTmM-5.cjs +0 -187
  720. package/dist/chunks/NcHeaderMenu-DOGXti7v.mjs +0 -193
  721. package/dist/chunks/NcIconSvgWrapper-BTdzvQGV.mjs +0 -93
  722. package/dist/chunks/NcIconSvgWrapper-kIn1eQyv.cjs +0 -89
  723. package/dist/chunks/NcInputConfirmCancel-DVmY85-V.cjs +0 -92
  724. package/dist/chunks/NcInputConfirmCancel-Nn_JgG9d.mjs +0 -97
  725. package/dist/chunks/NcListItem-B_MPLJ_8.cjs +0 -233
  726. package/dist/chunks/NcListItem-BopkGRDs.mjs +0 -238
  727. package/dist/chunks/NcListItemIcon-CI23iFQz.mjs +0 -166
  728. package/dist/chunks/NcListItemIcon-CI23iFQz.mjs.map +0 -1
  729. package/dist/chunks/NcListItemIcon-Dwgi2cPr.cjs +0 -163
  730. package/dist/chunks/NcListItemIcon-Dwgi2cPr.cjs.map +0 -1
  731. package/dist/chunks/NcPasswordField-BgSp7dK4.mjs +0 -238
  732. package/dist/chunks/NcPasswordField-BooDzf0Z.cjs +0 -229
  733. package/dist/chunks/NcPopover--V3R3EKV.mjs +0 -239
  734. package/dist/chunks/NcPopover-h-t7Dnjk.cjs +0 -233
  735. package/dist/chunks/NcProgressBar-BYk5hfPI.cjs +0 -96
  736. package/dist/chunks/NcProgressBar-DDAeXyp8.mjs +0 -99
  737. package/dist/chunks/NcRelatedResourcesPanel-Ch1b_Gl3.mjs +0 -381
  738. package/dist/chunks/NcRelatedResourcesPanel-DaiuNCYU.cjs +0 -371
  739. package/dist/chunks/NcRichContenteditable-BF3BkdqM.cjs +0 -640
  740. package/dist/chunks/NcRichContenteditable-CEqdmoem.mjs +0 -649
  741. package/dist/chunks/NcRichText-CUKFkHQg.mjs +0 -355
  742. package/dist/chunks/NcRichText-DCkExl5g.cjs +0 -339
  743. package/dist/chunks/NcSavingIndicatorIcon-BTvUkUn-.cjs +0 -59
  744. package/dist/chunks/NcSavingIndicatorIcon-Bf0SEmgS.mjs +0 -62
  745. package/dist/chunks/NcSelectTags-9aCrLRT0.mjs +0 -258
  746. package/dist/chunks/NcSelectTags-CgYWiDjX.cjs +0 -252
  747. package/dist/chunks/NcSettingsInputText-1i2TqdMB.cjs +0 -92
  748. package/dist/chunks/NcSettingsInputText-JboV8u2l.mjs +0 -95
  749. package/dist/chunks/NcSettingsSection-CNMpCD3o.cjs +0 -96
  750. package/dist/chunks/NcSettingsSection-CNMpCD3o.cjs.map +0 -1
  751. package/dist/chunks/NcSettingsSection-Lgwm3w2e.mjs +0 -98
  752. package/dist/chunks/NcSettingsSection-Lgwm3w2e.mjs.map +0 -1
  753. package/dist/chunks/NcSettingsSelectGroup-CgUJmyF7.cjs +0 -185
  754. package/dist/chunks/NcSettingsSelectGroup-DUzmbtZx.mjs +0 -192
  755. package/dist/chunks/NcTextField-B5cUYgRy.cjs +0 -140
  756. package/dist/chunks/NcTextField-D_eUEl2B.mjs +0 -146
  757. package/dist/chunks/NcUserBubble-BadEJRgs.cjs +0 -193
  758. package/dist/chunks/NcUserBubble-C0HbPO9p.mjs +0 -198
  759. package/dist/chunks/NcUserStatusIcon-B69NZ9Hw.cjs +0 -150
  760. package/dist/chunks/NcUserStatusIcon-HOUdT_MR.mjs +0 -157
  761. package/dist/chunks/_l10n-B8iumFKB.cjs +0 -66
  762. package/dist/chunks/_l10n-B8iumFKB.cjs.map +0 -1
  763. package/dist/chunks/_l10n-BaNxGGXy.mjs +0 -68
  764. package/dist/chunks/_l10n-BaNxGGXy.mjs.map +0 -1
  765. package/dist/chunks/_plugin-vue2_normalizer-Bj5bLKV4.mjs +0 -32
  766. package/dist/chunks/_plugin-vue2_normalizer-Bj5bLKV4.mjs.map +0 -1
  767. package/dist/chunks/_plugin-vue2_normalizer-GXKvuwrq.cjs +0 -31
  768. package/dist/chunks/_plugin-vue2_normalizer-GXKvuwrq.cjs.map +0 -1
  769. package/dist/chunks/autolink-DNGB8YSW.mjs +0 -86
  770. package/dist/chunks/autolink-DNGB8YSW.mjs.map +0 -1
  771. package/dist/chunks/autolink-MMzlO_Ai.cjs +0 -82
  772. package/dist/chunks/autolink-MMzlO_Ai.cjs.map +0 -1
  773. package/dist/chunks/emoji-DEH9dtOa.cjs +0 -59
  774. package/dist/chunks/emoji-DEH9dtOa.cjs.map +0 -1
  775. package/dist/chunks/emoji-k4gWHxrE.mjs +0 -62
  776. package/dist/chunks/emoji-k4gWHxrE.mjs.map +0 -1
  777. package/dist/chunks/index-Bh9FEWbr.cjs +0 -87
  778. package/dist/chunks/index-Bh9FEWbr.cjs.map +0 -1
  779. package/dist/chunks/index-CMnR5Pf6.cjs +0 -157
  780. package/dist/chunks/index-CU14QsCg.mjs +0 -88
  781. package/dist/chunks/index-CU14QsCg.mjs.map +0 -1
  782. package/dist/chunks/index-Cke9rKBg.cjs +0 -148
  783. package/dist/chunks/index-CnpswYi6.mjs +0 -149
  784. package/dist/chunks/index-uiNhPYvS.mjs +0 -163
  785. package/dist/chunks/referencePickerModal-AvSHyw1b.mjs +0 -2428
  786. package/dist/chunks/referencePickerModal-AvSHyw1b.mjs.map +0 -1
  787. package/dist/chunks/referencePickerModal-B_Su3XpN.cjs +0 -2408
  788. package/dist/chunks/referencePickerModal-B_Su3XpN.cjs.map +0 -1
  789. package/dist/chunks/usernameToColor-DA36rR48.cjs +0 -39
@@ -1,2408 +0,0 @@
1
- require('../assets/referencePickerModal-DWB2ghBg.css');
2
- "use strict";
3
- const k = require("./index-Bh9FEWbr.cjs"), $ = require("./_plugin-vue2_normalizer-GXKvuwrq.cjs"), y = require("./_l10n-B8iumFKB.cjs"), Ot = require("@nextcloud/axios"), Xe = require("@nextcloud/initial-state"), W = require("@nextcloud/router"), me = require("../Components/NcEmptyContent.cjs"), Ye = require("./index-Cke9rKBg.cjs"), Ze = require("./NcSelect-Bn3oTHtq.cjs"), Oe = require("@vueuse/core"), Q = require("vue"), $t = require("./autolink-MMzlO_Ai.cjs"), et = require("../Components/NcButton.cjs"), Lt = require("../Components/NcLoadingIcon.cjs"), Tt = require("./NcTextField-B5cUYgRy.cjs"), It = require("./DotsHorizontal-B8kTqpHe.cjs"), Vt = require("../Components/NcModal.cjs"), At = require("@nextcloud/event-bus"), qt = require("./ArrowLeft-CjNnGIlF.cjs"), Bt = require("./Close-DBfrdXMw.cjs"), tt = (t) => t && t.__esModule ? t : { default: t }, ge = /* @__PURE__ */ tt(Ot), jt = /* @__PURE__ */ tt(Q);
4
- /*!
5
- * vue-router v3.6.5
6
- * (c) 2022 Evan You
7
- * @license MIT
8
- */
9
- function A(t, e) {
10
- if (!t)
11
- throw new Error("[vue-router] " + e);
12
- }
13
- function P(t, e) {
14
- t || typeof console < "u" && console.warn("[vue-router] " + e);
15
- }
16
- function x(t, e) {
17
- for (var r in e)
18
- t[r] = e[r];
19
- return t;
20
- }
21
- var Mt = /[!'()*]/g, Ut = function(t) {
22
- return "%" + t.charCodeAt(0).toString(16);
23
- }, zt = /%2C/g, B = function(t) {
24
- return encodeURIComponent(t).replace(Mt, Ut).replace(zt, ",");
25
- };
26
- function fe(t) {
27
- try {
28
- return decodeURIComponent(t);
29
- } catch {
30
- process.env.NODE_ENV !== "production" && P(!1, 'Error decoding "' + t + '". Leaving it intact.');
31
- }
32
- return t;
33
- }
34
- function Dt(t, e, r) {
35
- e === void 0 && (e = {});
36
- var n = r || Wt, i;
37
- try {
38
- i = n(t || "");
39
- } catch (a) {
40
- process.env.NODE_ENV !== "production" && P(!1, a.message), i = {};
41
- }
42
- for (var s in e) {
43
- var o = e[s];
44
- i[s] = Array.isArray(o) ? o.map($e) : $e(o);
45
- }
46
- return i;
47
- }
48
- var $e = function(t) {
49
- return t == null || typeof t == "object" ? t : String(t);
50
- };
51
- function Wt(t) {
52
- var e = {};
53
- return t = t.trim().replace(/^(\?|#|&)/, ""), t && t.split("&").forEach(function(r) {
54
- var n = r.replace(/\+/g, " ").split("="), i = fe(n.shift()), s = n.length > 0 ? fe(n.join("=")) : null;
55
- e[i] === void 0 ? e[i] = s : Array.isArray(e[i]) ? e[i].push(s) : e[i] = [e[i], s];
56
- }), e;
57
- }
58
- function Ft(t) {
59
- var e = t ? Object.keys(t).map(function(r) {
60
- var n = t[r];
61
- if (n === void 0)
62
- return "";
63
- if (n === null)
64
- return B(r);
65
- if (Array.isArray(n)) {
66
- var i = [];
67
- return n.forEach(function(s) {
68
- s !== void 0 && (s === null ? i.push(B(r)) : i.push(B(r) + "=" + B(s)));
69
- }), i.join("&");
70
- }
71
- return B(r) + "=" + B(n);
72
- }).filter(function(r) {
73
- return r.length > 0;
74
- }).join("&") : null;
75
- return e ? "?" + e : "";
76
- }
77
- var ee = /\/?$/;
78
- function te(t, e, r, n) {
79
- var i = n && n.options.stringifyQuery, s = e.query || {};
80
- try {
81
- s = he(s);
82
- } catch {
83
- }
84
- var o = {
85
- name: e.name || t && t.name,
86
- meta: t && t.meta || {},
87
- path: e.path || "/",
88
- hash: e.hash || "",
89
- query: s,
90
- params: e.params || {},
91
- fullPath: Le(e, i),
92
- matched: t ? Ht(t) : []
93
- };
94
- return r && (o.redirectedFrom = Le(r, i)), Object.freeze(o);
95
- }
96
- function he(t) {
97
- if (Array.isArray(t))
98
- return t.map(he);
99
- if (t && typeof t == "object") {
100
- var e = {};
101
- for (var r in t)
102
- e[r] = he(t[r]);
103
- return e;
104
- } else
105
- return t;
106
- }
107
- var V = te(null, {
108
- path: "/"
109
- });
110
- function Ht(t) {
111
- for (var e = []; t; )
112
- e.unshift(t), t = t.parent;
113
- return e;
114
- }
115
- function Le(t, e) {
116
- var r = t.path, n = t.query;
117
- n === void 0 && (n = {});
118
- var i = t.hash;
119
- i === void 0 && (i = "");
120
- var s = e || Ft;
121
- return (r || "/") + s(n) + i;
122
- }
123
- function rt(t, e, r) {
124
- return e === V ? t === e : e ? t.path && e.path ? t.path.replace(ee, "") === e.path.replace(ee, "") && (r || t.hash === e.hash && K(t.query, e.query)) : t.name && e.name ? t.name === e.name && (r || t.hash === e.hash && K(t.query, e.query) && K(t.params, e.params)) : !1 : !1;
125
- }
126
- function K(t, e) {
127
- if (t === void 0 && (t = {}), e === void 0 && (e = {}), !t || !e)
128
- return t === e;
129
- var r = Object.keys(t).sort(), n = Object.keys(e).sort();
130
- return r.length !== n.length ? !1 : r.every(function(i, s) {
131
- var o = t[i], a = n[s];
132
- if (a !== i)
133
- return !1;
134
- var c = e[i];
135
- return o == null || c == null ? o === c : typeof o == "object" && typeof c == "object" ? K(o, c) : String(o) === String(c);
136
- });
137
- }
138
- function Gt(t, e) {
139
- return t.path.replace(ee, "/").indexOf(
140
- e.path.replace(ee, "/")
141
- ) === 0 && (!e.hash || t.hash === e.hash) && Qt(t.query, e.query);
142
- }
143
- function Qt(t, e) {
144
- for (var r in e)
145
- if (!(r in t))
146
- return !1;
147
- return !0;
148
- }
149
- function nt(t) {
150
- for (var e = 0; e < t.matched.length; e++) {
151
- var r = t.matched[e];
152
- for (var n in r.instances) {
153
- var i = r.instances[n], s = r.enteredCbs[n];
154
- if (!(!i || !s)) {
155
- delete r.enteredCbs[n];
156
- for (var o = 0; o < s.length; o++)
157
- i._isBeingDestroyed || s[o](i);
158
- }
159
- }
160
- }
161
- }
162
- var Kt = {
163
- name: "RouterView",
164
- functional: !0,
165
- props: {
166
- name: {
167
- type: String,
168
- default: "default"
169
- }
170
- },
171
- render: function(e, r) {
172
- var n = r.props, i = r.children, s = r.parent, o = r.data;
173
- o.routerView = !0;
174
- for (var a = s.$createElement, c = n.name, u = s.$route, d = s._routerViewCache || (s._routerViewCache = {}), m = 0, h = !1; s && s._routerRoot !== s; ) {
175
- var v = s.$vnode ? s.$vnode.data : {};
176
- v.routerView && m++, v.keepAlive && s._directInactive && s._inactive && (h = !0), s = s.$parent;
177
- }
178
- if (o.routerViewDepth = m, h) {
179
- var p = d[c], l = p && p.component;
180
- return l ? (p.configProps && Te(l, o, p.route, p.configProps), a(l, o, i)) : a();
181
- }
182
- var f = u.matched[m], g = f && f.components[c];
183
- if (!f || !g)
184
- return d[c] = null, a();
185
- d[c] = { component: g }, o.registerRouteInstance = function(_, C) {
186
- var R = f.instances[c];
187
- (C && R !== _ || !C && R === _) && (f.instances[c] = C);
188
- }, (o.hook || (o.hook = {})).prepatch = function(_, C) {
189
- f.instances[c] = C.componentInstance;
190
- }, o.hook.init = function(_) {
191
- _.data.keepAlive && _.componentInstance && _.componentInstance !== f.instances[c] && (f.instances[c] = _.componentInstance), nt(u);
192
- };
193
- var w = f.props && f.props[c];
194
- return w && (x(d[c], {
195
- route: u,
196
- configProps: w
197
- }), Te(g, o, u, w)), a(g, o, i);
198
- }
199
- };
200
- function Te(t, e, r, n) {
201
- var i = e.props = Jt(r, n);
202
- if (i) {
203
- i = e.props = x({}, i);
204
- var s = e.attrs = e.attrs || {};
205
- for (var o in i)
206
- (!t.props || !(o in t.props)) && (s[o] = i[o], delete i[o]);
207
- }
208
- }
209
- function Jt(t, e) {
210
- switch (typeof e) {
211
- case "undefined":
212
- return;
213
- case "object":
214
- return e;
215
- case "function":
216
- return e(t);
217
- case "boolean":
218
- return e ? t.params : void 0;
219
- default:
220
- process.env.NODE_ENV !== "production" && P(
221
- !1,
222
- 'props in "' + t.path + '" is a ' + typeof e + ", expecting an object, function or boolean."
223
- );
224
- }
225
- }
226
- function it(t, e, r) {
227
- var n = t.charAt(0);
228
- if (n === "/")
229
- return t;
230
- if (n === "?" || n === "#")
231
- return e + t;
232
- var i = e.split("/");
233
- (!r || !i[i.length - 1]) && i.pop();
234
- for (var s = t.replace(/^\//, "").split("/"), o = 0; o < s.length; o++) {
235
- var a = s[o];
236
- a === ".." ? i.pop() : a !== "." && i.push(a);
237
- }
238
- return i[0] !== "" && i.unshift(""), i.join("/");
239
- }
240
- function Xt(t) {
241
- var e = "", r = "", n = t.indexOf("#");
242
- n >= 0 && (e = t.slice(n), t = t.slice(0, n));
243
- var i = t.indexOf("?");
244
- return i >= 0 && (r = t.slice(i + 1), t = t.slice(0, i)), {
245
- path: t,
246
- query: r,
247
- hash: e
248
- };
249
- }
250
- function L(t) {
251
- return t.replace(/\/(?:\s*\/)+/g, "/");
252
- }
253
- var re = Array.isArray || function(t) {
254
- return Object.prototype.toString.call(t) == "[object Array]";
255
- }, M = at, Yt = ye, Zt = nr, er = st, tr = ot, rr = new RegExp([
256
- // Match escaped characters that would otherwise appear in future matches.
257
- // This allows the user to escape special characters that won't transform.
258
- "(\\\\.)",
259
- // Match Express-style parameters and un-named parameters with a prefix
260
- // and optional suffixes. Matches appear as:
261
- //
262
- // "/:test(\\d+)?" => ["/", "test", "\d+", undefined, "?", undefined]
263
- // "/route(\\d+)" => [undefined, undefined, undefined, "\d+", undefined, undefined]
264
- // "/*" => ["/", undefined, undefined, undefined, undefined, "*"]
265
- "([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"
266
- ].join("|"), "g");
267
- function ye(t, e) {
268
- for (var r = [], n = 0, i = 0, s = "", o = e && e.delimiter || "/", a; (a = rr.exec(t)) != null; ) {
269
- var c = a[0], u = a[1], d = a.index;
270
- if (s += t.slice(i, d), i = d + c.length, u) {
271
- s += u[1];
272
- continue;
273
- }
274
- var m = t[i], h = a[2], v = a[3], p = a[4], l = a[5], f = a[6], g = a[7];
275
- s && (r.push(s), s = "");
276
- var w = h != null && m != null && m !== h, _ = f === "+" || f === "*", C = f === "?" || f === "*", R = a[2] || o, E = p || l;
277
- r.push({
278
- name: v || n++,
279
- prefix: h || "",
280
- delimiter: R,
281
- optional: C,
282
- repeat: _,
283
- partial: w,
284
- asterisk: !!g,
285
- pattern: E ? or(E) : g ? ".*" : "[^" + J(R) + "]+?"
286
- });
287
- }
288
- return i < t.length && (s += t.substr(i)), s && r.push(s), r;
289
- }
290
- function nr(t, e) {
291
- return st(ye(t, e), e);
292
- }
293
- function ir(t) {
294
- return encodeURI(t).replace(/[\/?#]/g, function(e) {
295
- return "%" + e.charCodeAt(0).toString(16).toUpperCase();
296
- });
297
- }
298
- function sr(t) {
299
- return encodeURI(t).replace(/[?#]/g, function(e) {
300
- return "%" + e.charCodeAt(0).toString(16).toUpperCase();
301
- });
302
- }
303
- function st(t, e) {
304
- for (var r = new Array(t.length), n = 0; n < t.length; n++)
305
- typeof t[n] == "object" && (r[n] = new RegExp("^(?:" + t[n].pattern + ")$", we(e)));
306
- return function(i, s) {
307
- for (var o = "", a = i || {}, c = s || {}, u = c.pretty ? ir : encodeURIComponent, d = 0; d < t.length; d++) {
308
- var m = t[d];
309
- if (typeof m == "string") {
310
- o += m;
311
- continue;
312
- }
313
- var h = a[m.name], v;
314
- if (h == null)
315
- if (m.optional) {
316
- m.partial && (o += m.prefix);
317
- continue;
318
- } else
319
- throw new TypeError('Expected "' + m.name + '" to be defined');
320
- if (re(h)) {
321
- if (!m.repeat)
322
- throw new TypeError('Expected "' + m.name + '" to not repeat, but received `' + JSON.stringify(h) + "`");
323
- if (h.length === 0) {
324
- if (m.optional)
325
- continue;
326
- throw new TypeError('Expected "' + m.name + '" to not be empty');
327
- }
328
- for (var p = 0; p < h.length; p++) {
329
- if (v = u(h[p]), !r[d].test(v))
330
- throw new TypeError('Expected all "' + m.name + '" to match "' + m.pattern + '", but received `' + JSON.stringify(v) + "`");
331
- o += (p === 0 ? m.prefix : m.delimiter) + v;
332
- }
333
- continue;
334
- }
335
- if (v = m.asterisk ? sr(h) : u(h), !r[d].test(v))
336
- throw new TypeError('Expected "' + m.name + '" to match "' + m.pattern + '", but received "' + v + '"');
337
- o += m.prefix + v;
338
- }
339
- return o;
340
- };
341
- }
342
- function J(t) {
343
- return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1");
344
- }
345
- function or(t) {
346
- return t.replace(/([=!:$\/()])/g, "\\$1");
347
- }
348
- function _e(t, e) {
349
- return t.keys = e, t;
350
- }
351
- function we(t) {
352
- return t && t.sensitive ? "" : "i";
353
- }
354
- function ar(t, e) {
355
- var r = t.source.match(/\((?!\?)/g);
356
- if (r)
357
- for (var n = 0; n < r.length; n++)
358
- e.push({
359
- name: n,
360
- prefix: null,
361
- delimiter: null,
362
- optional: !1,
363
- repeat: !1,
364
- partial: !1,
365
- asterisk: !1,
366
- pattern: null
367
- });
368
- return _e(t, e);
369
- }
370
- function cr(t, e, r) {
371
- for (var n = [], i = 0; i < t.length; i++)
372
- n.push(at(t[i], e, r).source);
373
- var s = new RegExp("(?:" + n.join("|") + ")", we(r));
374
- return _e(s, e);
375
- }
376
- function ur(t, e, r) {
377
- return ot(ye(t, r), e, r);
378
- }
379
- function ot(t, e, r) {
380
- re(e) || (r = /** @type {!Object} */
381
- e || r, e = []), r = r || {};
382
- for (var n = r.strict, i = r.end !== !1, s = "", o = 0; o < t.length; o++) {
383
- var a = t[o];
384
- if (typeof a == "string")
385
- s += J(a);
386
- else {
387
- var c = J(a.prefix), u = "(?:" + a.pattern + ")";
388
- e.push(a), a.repeat && (u += "(?:" + c + u + ")*"), a.optional ? a.partial ? u = c + "(" + u + ")?" : u = "(?:" + c + "(" + u + "))?" : u = c + "(" + u + ")", s += u;
389
- }
390
- }
391
- var d = J(r.delimiter || "/"), m = s.slice(-d.length) === d;
392
- return n || (s = (m ? s.slice(0, -d.length) : s) + "(?:" + d + "(?=$))?"), i ? s += "$" : s += n && m ? "" : "(?=" + d + "|$)", _e(new RegExp("^" + s, we(r)), e);
393
- }
394
- function at(t, e, r) {
395
- return re(e) || (r = /** @type {!Object} */
396
- e || r, e = []), r = r || {}, t instanceof RegExp ? ar(
397
- t,
398
- /** @type {!Array} */
399
- e
400
- ) : re(t) ? cr(
401
- /** @type {!Array} */
402
- t,
403
- /** @type {!Array} */
404
- e,
405
- r
406
- ) : ur(
407
- /** @type {string} */
408
- t,
409
- /** @type {!Array} */
410
- e,
411
- r
412
- );
413
- }
414
- M.parse = Yt;
415
- M.compile = Zt;
416
- M.tokensToFunction = er;
417
- M.tokensToRegExp = tr;
418
- var Ie = /* @__PURE__ */ Object.create(null);
419
- function X(t, e, r) {
420
- e = e || {};
421
- try {
422
- var n = Ie[t] || (Ie[t] = M.compile(t));
423
- return typeof e.pathMatch == "string" && (e[0] = e.pathMatch), n(e, { pretty: !0 });
424
- } catch (i) {
425
- return process.env.NODE_ENV !== "production" && P(typeof e.pathMatch == "string", "missing param for " + r + ": " + i.message), "";
426
- } finally {
427
- delete e[0];
428
- }
429
- }
430
- function be(t, e, r, n) {
431
- var i = typeof t == "string" ? { path: t } : t;
432
- if (i._normalized)
433
- return i;
434
- if (i.name) {
435
- i = x({}, t);
436
- var s = i.params;
437
- return s && typeof s == "object" && (i.params = x({}, s)), i;
438
- }
439
- if (!i.path && i.params && e) {
440
- i = x({}, i), i._normalized = !0;
441
- var o = x(x({}, e.params), i.params);
442
- if (e.name)
443
- i.name = e.name, i.params = o;
444
- else if (e.matched.length) {
445
- var a = e.matched[e.matched.length - 1].path;
446
- i.path = X(a, o, "path " + e.path);
447
- } else
448
- process.env.NODE_ENV !== "production" && P(!1, "relative params navigation requires a current route.");
449
- return i;
450
- }
451
- var c = Xt(i.path || ""), u = e && e.path || "/", d = c.path ? it(c.path, u, r || i.append) : u, m = Dt(
452
- c.query,
453
- i.query,
454
- n && n.options.parseQuery
455
- ), h = i.hash || c.hash;
456
- return h && h.charAt(0) !== "#" && (h = "#" + h), {
457
- _normalized: !0,
458
- path: d,
459
- query: m,
460
- hash: h
461
- };
462
- }
463
- var lr = [String, Object], fr = [String, Array], Ve = function() {
464
- }, Ae, qe, Be, Ce = {
465
- name: "RouterLink",
466
- props: {
467
- to: {
468
- type: lr,
469
- required: !0
470
- },
471
- tag: {
472
- type: String,
473
- default: "a"
474
- },
475
- custom: Boolean,
476
- exact: Boolean,
477
- exactPath: Boolean,
478
- append: Boolean,
479
- replace: Boolean,
480
- activeClass: String,
481
- exactActiveClass: String,
482
- ariaCurrentValue: {
483
- type: String,
484
- default: "page"
485
- },
486
- event: {
487
- type: fr,
488
- default: "click"
489
- }
490
- },
491
- render: function(e) {
492
- var r = this, n = this.$router, i = this.$route, s = n.resolve(
493
- this.to,
494
- i,
495
- this.append
496
- ), o = s.location, a = s.route, c = s.href, u = {}, d = n.options.linkActiveClass, m = n.options.linkExactActiveClass, h = d == null ? "router-link-active" : d, v = m == null ? "router-link-exact-active" : m, p = this.activeClass == null ? h : this.activeClass, l = this.exactActiveClass == null ? v : this.exactActiveClass, f = a.redirectedFrom ? te(null, be(a.redirectedFrom), null, n) : a;
497
- u[l] = rt(i, f, this.exactPath), u[p] = this.exact || this.exactPath ? u[l] : Gt(i, f);
498
- var g = u[l] ? this.ariaCurrentValue : null, w = function(le) {
499
- je(le) && (r.replace ? n.replace(o, Ve) : n.push(o, Ve));
500
- }, _ = { click: je };
501
- Array.isArray(this.event) ? this.event.forEach(function(le) {
502
- _[le] = w;
503
- }) : _[this.event] = w;
504
- var C = { class: u }, R = !this.$scopedSlots.$hasNormal && this.$scopedSlots.default && this.$scopedSlots.default({
505
- href: c,
506
- route: a,
507
- navigate: w,
508
- isActive: u[p],
509
- isExactActive: u[l]
510
- });
511
- if (R) {
512
- if (process.env.NODE_ENV !== "production" && !this.custom && (!Ae && P(!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'), Ae = !0), R.length === 1)
513
- return R[0];
514
- if (R.length > 1 || !R.length)
515
- return process.env.NODE_ENV !== "production" && P(
516
- !1,
517
- '<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."
518
- ), R.length === 0 ? e() : e("span", {}, R);
519
- }
520
- if (process.env.NODE_ENV !== "production" && ("tag" in this.$options.propsData && !qe && (P(
521
- !1,
522
- "<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."
523
- ), qe = !0), "event" in this.$options.propsData && !Be && (P(
524
- !1,
525
- "<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."
526
- ), Be = !0)), this.tag === "a")
527
- C.on = _, C.attrs = { href: c, "aria-current": g };
528
- else {
529
- var E = ct(this.$slots.default);
530
- if (E) {
531
- E.isStatic = !1;
532
- var S = E.data = x({}, E.data);
533
- S.on = S.on || {};
534
- for (var O in S.on) {
535
- var U = S.on[O];
536
- O in _ && (S.on[O] = Array.isArray(U) ? U : [U]);
537
- }
538
- for (var H in _)
539
- H in S.on ? S.on[H].push(_[H]) : S.on[H] = w;
540
- var Ne = E.data.attrs = x({}, E.data.attrs);
541
- Ne.href = c, Ne["aria-current"] = g;
542
- } else
543
- C.on = _;
544
- }
545
- return e(this.tag, C, this.$slots.default);
546
- }
547
- };
548
- function je(t) {
549
- if (!(t.metaKey || t.altKey || t.ctrlKey || t.shiftKey) && !t.defaultPrevented && !(t.button !== void 0 && t.button !== 0)) {
550
- if (t.currentTarget && t.currentTarget.getAttribute) {
551
- var e = t.currentTarget.getAttribute("target");
552
- if (/\b_blank\b/i.test(e))
553
- return;
554
- }
555
- return t.preventDefault && t.preventDefault(), !0;
556
- }
557
- }
558
- function ct(t) {
559
- if (t) {
560
- for (var e, r = 0; r < t.length; r++)
561
- if (e = t[r], e.tag === "a" || e.children && (e = ct(e.children)))
562
- return e;
563
- }
564
- }
565
- var ne;
566
- function ie(t) {
567
- if (!(ie.installed && ne === t)) {
568
- ie.installed = !0, ne = t;
569
- var e = function(i) {
570
- return i !== void 0;
571
- }, r = function(i, s) {
572
- var o = i.$options._parentVnode;
573
- e(o) && e(o = o.data) && e(o = o.registerRouteInstance) && o(i, s);
574
- };
575
- t.mixin({
576
- beforeCreate: function() {
577
- 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);
578
- },
579
- destroyed: function() {
580
- r(this);
581
- }
582
- }), Object.defineProperty(t.prototype, "$router", {
583
- get: function() {
584
- return this._routerRoot._router;
585
- }
586
- }), Object.defineProperty(t.prototype, "$route", {
587
- get: function() {
588
- return this._routerRoot._route;
589
- }
590
- }), t.component("RouterView", Kt), t.component("RouterLink", Ce);
591
- var n = t.config.optionMergeStrategies;
592
- n.beforeRouteEnter = n.beforeRouteLeave = n.beforeRouteUpdate = n.created;
593
- }
594
- }
595
- var F = typeof window < "u";
596
- function G(t, e, r, n, i) {
597
- var s = e || [], o = r || /* @__PURE__ */ Object.create(null), a = n || /* @__PURE__ */ Object.create(null);
598
- t.forEach(function(h) {
599
- de(s, o, a, h, i);
600
- });
601
- for (var c = 0, u = s.length; c < u; c++)
602
- s[c] === "*" && (s.push(s.splice(c, 1)[0]), u--, c--);
603
- if (process.env.NODE_ENV === "development") {
604
- var d = s.filter(function(h) {
605
- return h && h.charAt(0) !== "*" && h.charAt(0) !== "/";
606
- });
607
- if (d.length > 0) {
608
- var m = d.map(function(h) {
609
- return "- " + h;
610
- }).join("\n");
611
- P(!1, "Non-nested routes must include a leading slash character. Fix the following routes: \n" + m);
612
- }
613
- }
614
- return {
615
- pathList: s,
616
- pathMap: o,
617
- nameMap: a
618
- };
619
- }
620
- function de(t, e, r, n, i, s) {
621
- var o = n.path, a = n.name;
622
- process.env.NODE_ENV !== "production" && (A(o != null, '"path" is required in a route configuration.'), A(
623
- typeof n.component != "string",
624
- 'route config "component" for path: ' + String(
625
- o || a
626
- ) + " cannot be a string id. Use an actual component instead."
627
- ), P(
628
- // eslint-disable-next-line no-control-regex
629
- !/[^\u0000-\u007F]+/.test(o),
630
- 'Route with path "' + o + '" 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.'
631
- ));
632
- var c = n.pathToRegexpOptions || {}, u = dr(o, i, c.strict);
633
- typeof n.caseSensitive == "boolean" && (c.sensitive = n.caseSensitive);
634
- var d = {
635
- path: u,
636
- regex: hr(u, c),
637
- components: n.components || { default: n.component },
638
- alias: n.alias ? typeof n.alias == "string" ? [n.alias] : n.alias : [],
639
- instances: {},
640
- enteredCbs: {},
641
- name: a,
642
- parent: i,
643
- matchAs: s,
644
- redirect: n.redirect,
645
- beforeEnter: n.beforeEnter,
646
- meta: n.meta || {},
647
- props: n.props == null ? {} : n.components ? n.props : { default: n.props }
648
- };
649
- if (n.children && (process.env.NODE_ENV !== "production" && n.name && !n.redirect && n.children.some(function(l) {
650
- return /^\/?$/.test(l.path);
651
- }) && P(
652
- !1,
653
- "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."
654
- ), n.children.forEach(function(l) {
655
- var f = s ? L(s + "/" + l.path) : void 0;
656
- de(t, e, r, l, d, f);
657
- })), e[d.path] || (t.push(d.path), e[d.path] = d), n.alias !== void 0)
658
- for (var m = Array.isArray(n.alias) ? n.alias : [n.alias], h = 0; h < m.length; ++h) {
659
- var v = m[h];
660
- if (process.env.NODE_ENV !== "production" && v === o) {
661
- P(
662
- !1,
663
- 'Found an alias with the same value as the path: "' + o + '". You have to remove that alias. It will be ignored in development.'
664
- );
665
- continue;
666
- }
667
- var p = {
668
- path: v,
669
- children: n.children
670
- };
671
- de(
672
- t,
673
- e,
674
- r,
675
- p,
676
- i,
677
- d.path || "/"
678
- // matchAs
679
- );
680
- }
681
- a && (r[a] ? process.env.NODE_ENV !== "production" && !s && P(
682
- !1,
683
- 'Duplicate named routes definition: { name: "' + a + '", path: "' + d.path + '" }'
684
- ) : r[a] = d);
685
- }
686
- function hr(t, e) {
687
- var r = M(t, [], e);
688
- if (process.env.NODE_ENV !== "production") {
689
- var n = /* @__PURE__ */ Object.create(null);
690
- r.keys.forEach(function(i) {
691
- P(
692
- !n[i.name],
693
- 'Duplicate param keys in route with path: "' + t + '"'
694
- ), n[i.name] = !0;
695
- });
696
- }
697
- return r;
698
- }
699
- function dr(t, e, r) {
700
- return r || (t = t.replace(/\/$/, "")), t[0] === "/" || e == null ? t : L(e.path + "/" + t);
701
- }
702
- function pr(t, e) {
703
- var r = G(t), n = r.pathList, i = r.pathMap, s = r.nameMap;
704
- function o(v) {
705
- G(v, n, i, s);
706
- }
707
- function a(v, p) {
708
- var l = typeof v != "object" ? s[v] : void 0;
709
- G([p || v], n, i, s, l), l && l.alias.length && G(
710
- // $flow-disable-line route is defined if parent is
711
- l.alias.map(function(f) {
712
- return { path: f, children: [p] };
713
- }),
714
- n,
715
- i,
716
- s,
717
- l
718
- );
719
- }
720
- function c() {
721
- return n.map(function(v) {
722
- return i[v];
723
- });
724
- }
725
- function u(v, p, l) {
726
- var f = be(v, p, !1, e), g = f.name;
727
- if (g) {
728
- var w = s[g];
729
- if (process.env.NODE_ENV !== "production" && P(w, "Route with name '" + g + "' does not exist"), !w)
730
- return h(null, f);
731
- var _ = w.regex.keys.filter(function(O) {
732
- return !O.optional;
733
- }).map(function(O) {
734
- return O.name;
735
- });
736
- if (typeof f.params != "object" && (f.params = {}), p && typeof p.params == "object")
737
- for (var C in p.params)
738
- !(C in f.params) && _.indexOf(C) > -1 && (f.params[C] = p.params[C]);
739
- return f.path = X(w.path, f.params, 'named route "' + g + '"'), h(w, f, l);
740
- } else if (f.path) {
741
- f.params = {};
742
- for (var R = 0; R < n.length; R++) {
743
- var E = n[R], S = i[E];
744
- if (vr(S.regex, f.path, f.params))
745
- return h(S, f, l);
746
- }
747
- }
748
- return h(null, f);
749
- }
750
- function d(v, p) {
751
- var l = v.redirect, f = typeof l == "function" ? l(te(v, p, null, e)) : l;
752
- if (typeof f == "string" && (f = { path: f }), !f || typeof f != "object")
753
- return process.env.NODE_ENV !== "production" && P(
754
- !1,
755
- "invalid redirect option: " + JSON.stringify(f)
756
- ), h(null, p);
757
- var g = f, w = g.name, _ = g.path, C = p.query, R = p.hash, E = p.params;
758
- if (C = g.hasOwnProperty("query") ? g.query : C, R = g.hasOwnProperty("hash") ? g.hash : R, E = g.hasOwnProperty("params") ? g.params : E, w) {
759
- var S = s[w];
760
- return process.env.NODE_ENV !== "production" && A(S, 'redirect failed: named route "' + w + '" not found.'), u({
761
- _normalized: !0,
762
- name: w,
763
- query: C,
764
- hash: R,
765
- params: E
766
- }, void 0, p);
767
- } else if (_) {
768
- var O = mr(_, v), U = X(O, E, 'redirect route with path "' + O + '"');
769
- return u({
770
- _normalized: !0,
771
- path: U,
772
- query: C,
773
- hash: R
774
- }, void 0, p);
775
- } else
776
- return process.env.NODE_ENV !== "production" && P(!1, "invalid redirect option: " + JSON.stringify(f)), h(null, p);
777
- }
778
- function m(v, p, l) {
779
- var f = X(l, p.params, 'aliased route with path "' + l + '"'), g = u({
780
- _normalized: !0,
781
- path: f
782
- });
783
- if (g) {
784
- var w = g.matched, _ = w[w.length - 1];
785
- return p.params = g.params, h(_, p);
786
- }
787
- return h(null, p);
788
- }
789
- function h(v, p, l) {
790
- return v && v.redirect ? d(v, l || p) : v && v.matchAs ? m(v, p, v.matchAs) : te(v, p, l, e);
791
- }
792
- return {
793
- match: u,
794
- addRoute: a,
795
- getRoutes: c,
796
- addRoutes: o
797
- };
798
- }
799
- function vr(t, e, r) {
800
- var n = e.match(t);
801
- if (n) {
802
- if (!r)
803
- return !0;
804
- } else
805
- return !1;
806
- for (var i = 1, s = n.length; i < s; ++i) {
807
- var o = t.keys[i - 1];
808
- o && (r[o.name || "pathMatch"] = typeof n[i] == "string" ? fe(n[i]) : n[i]);
809
- }
810
- return !0;
811
- }
812
- function mr(t, e) {
813
- return it(t, e.parent ? e.parent.path : "/", !0);
814
- }
815
- var gr = F && window.performance && window.performance.now ? window.performance : Date;
816
- function ut() {
817
- return gr.now().toFixed(3);
818
- }
819
- var lt = ut();
820
- function ae() {
821
- return lt;
822
- }
823
- function ft(t) {
824
- return lt = t;
825
- }
826
- var ht = /* @__PURE__ */ Object.create(null);
827
- function dt() {
828
- "scrollRestoration" in window.history && (window.history.scrollRestoration = "manual");
829
- var t = window.location.protocol + "//" + window.location.host, e = window.location.href.replace(t, ""), r = x({}, window.history.state);
830
- return r.key = ae(), window.history.replaceState(r, "", e), window.addEventListener("popstate", Me), function() {
831
- window.removeEventListener("popstate", Me);
832
- };
833
- }
834
- function T(t, e, r, n) {
835
- if (t.app) {
836
- var i = t.options.scrollBehavior;
837
- i && (process.env.NODE_ENV !== "production" && A(typeof i == "function", "scrollBehavior must be a function"), t.app.$nextTick(function() {
838
- var s = yr(), o = i.call(
839
- t,
840
- e,
841
- r,
842
- n ? s : null
843
- );
844
- o && (typeof o.then == "function" ? o.then(function(a) {
845
- De(a, s);
846
- }).catch(function(a) {
847
- process.env.NODE_ENV !== "production" && A(!1, a.toString());
848
- }) : De(o, s));
849
- }));
850
- }
851
- }
852
- function pt() {
853
- var t = ae();
854
- t && (ht[t] = {
855
- x: window.pageXOffset,
856
- y: window.pageYOffset
857
- });
858
- }
859
- function Me(t) {
860
- pt(), t.state && t.state.key && ft(t.state.key);
861
- }
862
- function yr() {
863
- var t = ae();
864
- if (t)
865
- return ht[t];
866
- }
867
- function _r(t, e) {
868
- var r = document.documentElement, n = r.getBoundingClientRect(), i = t.getBoundingClientRect();
869
- return {
870
- x: i.left - n.left - e.x,
871
- y: i.top - n.top - e.y
872
- };
873
- }
874
- function Ue(t) {
875
- return j(t.x) || j(t.y);
876
- }
877
- function ze(t) {
878
- return {
879
- x: j(t.x) ? t.x : window.pageXOffset,
880
- y: j(t.y) ? t.y : window.pageYOffset
881
- };
882
- }
883
- function wr(t) {
884
- return {
885
- x: j(t.x) ? t.x : 0,
886
- y: j(t.y) ? t.y : 0
887
- };
888
- }
889
- function j(t) {
890
- return typeof t == "number";
891
- }
892
- var br = /^#\d/;
893
- function De(t, e) {
894
- var r = typeof t == "object";
895
- if (r && typeof t.selector == "string") {
896
- var n = br.test(t.selector) ? document.getElementById(t.selector.slice(1)) : document.querySelector(t.selector);
897
- if (n) {
898
- var i = t.offset && typeof t.offset == "object" ? t.offset : {};
899
- i = wr(i), e = _r(n, i);
900
- } else
901
- Ue(t) && (e = ze(t));
902
- } else
903
- r && Ue(t) && (e = ze(t));
904
- e && ("scrollBehavior" in document.documentElement.style ? window.scrollTo({
905
- left: e.x,
906
- top: e.y,
907
- // $flow-disable-line
908
- behavior: t.behavior
909
- }) : window.scrollTo(e.x, e.y));
910
- }
911
- var I = F && function() {
912
- var t = window.navigator.userAgent;
913
- 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";
914
- }();
915
- function se(t, e) {
916
- pt();
917
- var r = window.history;
918
- try {
919
- if (e) {
920
- var n = x({}, r.state);
921
- n.key = ae(), r.replaceState(n, "", t);
922
- } else
923
- r.pushState({ key: ft(ut()) }, "", t);
924
- } catch {
925
- window.location[e ? "replace" : "assign"](t);
926
- }
927
- }
928
- function pe(t) {
929
- se(t, !0);
930
- }
931
- var q = {
932
- redirected: 2,
933
- aborted: 4,
934
- cancelled: 8,
935
- duplicated: 16
936
- };
937
- function Cr(t, e) {
938
- return ce(
939
- t,
940
- e,
941
- q.redirected,
942
- 'Redirected when going from "' + t.fullPath + '" to "' + kr(
943
- e
944
- ) + '" via a navigation guard.'
945
- );
946
- }
947
- function Rr(t, e) {
948
- var r = ce(
949
- t,
950
- e,
951
- q.duplicated,
952
- 'Avoided redundant navigation to current location: "' + t.fullPath + '".'
953
- );
954
- return r.name = "NavigationDuplicated", r;
955
- }
956
- function We(t, e) {
957
- return ce(
958
- t,
959
- e,
960
- q.cancelled,
961
- 'Navigation cancelled from "' + t.fullPath + '" to "' + e.fullPath + '" with a new navigation.'
962
- );
963
- }
964
- function Pr(t, e) {
965
- return ce(
966
- t,
967
- e,
968
- q.aborted,
969
- 'Navigation aborted from "' + t.fullPath + '" to "' + e.fullPath + '" via a navigation guard.'
970
- );
971
- }
972
- function ce(t, e, r, n) {
973
- var i = new Error(n);
974
- return i._isRouter = !0, i.from = t, i.to = e, i.type = r, i;
975
- }
976
- var Er = ["params", "query", "hash"];
977
- function kr(t) {
978
- if (typeof t == "string")
979
- return t;
980
- if ("path" in t)
981
- return t.path;
982
- var e = {};
983
- return Er.forEach(function(r) {
984
- r in t && (e[r] = t[r]);
985
- }), JSON.stringify(e, null, 2);
986
- }
987
- function oe(t) {
988
- return Object.prototype.toString.call(t).indexOf("Error") > -1;
989
- }
990
- function ue(t, e) {
991
- return oe(t) && t._isRouter && (e == null || t.type === e);
992
- }
993
- function Fe(t, e, r) {
994
- var n = function(i) {
995
- i >= t.length ? r() : t[i] ? e(t[i], function() {
996
- n(i + 1);
997
- }) : n(i + 1);
998
- };
999
- n(0);
1000
- }
1001
- function Sr(t) {
1002
- return function(e, r, n) {
1003
- var i = !1, s = 0, o = null;
1004
- vt(t, function(a, c, u, d) {
1005
- if (typeof a == "function" && a.cid === void 0) {
1006
- i = !0, s++;
1007
- var m = He(function(l) {
1008
- Nr(l) && (l = l.default), a.resolved = typeof l == "function" ? l : ne.extend(l), u.components[d] = l, s--, s <= 0 && n();
1009
- }), h = He(function(l) {
1010
- var f = "Failed to resolve async component " + d + ": " + l;
1011
- process.env.NODE_ENV !== "production" && P(!1, f), o || (o = oe(l) ? l : new Error(f), n(o));
1012
- }), v;
1013
- try {
1014
- v = a(m, h);
1015
- } catch (l) {
1016
- h(l);
1017
- }
1018
- if (v)
1019
- if (typeof v.then == "function")
1020
- v.then(m, h);
1021
- else {
1022
- var p = v.component;
1023
- p && typeof p.then == "function" && p.then(m, h);
1024
- }
1025
- }
1026
- }), i || n();
1027
- };
1028
- }
1029
- function vt(t, e) {
1030
- return mt(t.map(function(r) {
1031
- return Object.keys(r.components).map(function(n) {
1032
- return e(
1033
- r.components[n],
1034
- r.instances[n],
1035
- r,
1036
- n
1037
- );
1038
- });
1039
- }));
1040
- }
1041
- function mt(t) {
1042
- return Array.prototype.concat.apply([], t);
1043
- }
1044
- var xr = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol";
1045
- function Nr(t) {
1046
- return t.__esModule || xr && t[Symbol.toStringTag] === "Module";
1047
- }
1048
- function He(t) {
1049
- var e = !1;
1050
- return function() {
1051
- for (var r = [], n = arguments.length; n--; )
1052
- r[n] = arguments[n];
1053
- if (!e)
1054
- return e = !0, t.apply(this, r);
1055
- };
1056
- }
1057
- var N = function(e, r) {
1058
- this.router = e, this.base = Or(r), this.current = V, this.pending = null, this.ready = !1, this.readyCbs = [], this.readyErrorCbs = [], this.errorCbs = [], this.listeners = [];
1059
- };
1060
- N.prototype.listen = function(e) {
1061
- this.cb = e;
1062
- };
1063
- N.prototype.onReady = function(e, r) {
1064
- this.ready ? e() : (this.readyCbs.push(e), r && this.readyErrorCbs.push(r));
1065
- };
1066
- N.prototype.onError = function(e) {
1067
- this.errorCbs.push(e);
1068
- };
1069
- N.prototype.transitionTo = function(e, r, n) {
1070
- var i = this, s;
1071
- try {
1072
- s = this.router.match(e, this.current);
1073
- } catch (a) {
1074
- throw this.errorCbs.forEach(function(c) {
1075
- c(a);
1076
- }), a;
1077
- }
1078
- var o = this.current;
1079
- this.confirmTransition(
1080
- s,
1081
- function() {
1082
- i.updateRoute(s), r && r(s), i.ensureURL(), i.router.afterHooks.forEach(function(a) {
1083
- a && a(s, o);
1084
- }), i.ready || (i.ready = !0, i.readyCbs.forEach(function(a) {
1085
- a(s);
1086
- }));
1087
- },
1088
- function(a) {
1089
- n && n(a), a && !i.ready && (!ue(a, q.redirected) || o !== V) && (i.ready = !0, i.readyErrorCbs.forEach(function(c) {
1090
- c(a);
1091
- }));
1092
- }
1093
- );
1094
- };
1095
- N.prototype.confirmTransition = function(e, r, n) {
1096
- var i = this, s = this.current;
1097
- this.pending = e;
1098
- var o = function(l) {
1099
- !ue(l) && oe(l) && (i.errorCbs.length ? i.errorCbs.forEach(function(f) {
1100
- f(l);
1101
- }) : (process.env.NODE_ENV !== "production" && P(!1, "uncaught error during route navigation:"), console.error(l))), n && n(l);
1102
- }, a = e.matched.length - 1, c = s.matched.length - 1;
1103
- if (rt(e, s) && // in the case the route map has been dynamically appended to
1104
- a === c && e.matched[a] === s.matched[c])
1105
- return this.ensureURL(), e.hash && T(this.router, s, e, !1), o(Rr(s, e));
1106
- var u = $r(
1107
- this.current.matched,
1108
- e.matched
1109
- ), d = u.updated, m = u.deactivated, h = u.activated, v = [].concat(
1110
- // in-component leave guards
1111
- Tr(m),
1112
- // global before hooks
1113
- this.router.beforeHooks,
1114
- // in-component update hooks
1115
- Ir(d),
1116
- // in-config enter guards
1117
- h.map(function(l) {
1118
- return l.beforeEnter;
1119
- }),
1120
- // async components
1121
- Sr(h)
1122
- ), p = function(l, f) {
1123
- if (i.pending !== e)
1124
- return o(We(s, e));
1125
- try {
1126
- l(e, s, function(g) {
1127
- g === !1 ? (i.ensureURL(!0), o(Pr(s, e))) : oe(g) ? (i.ensureURL(!0), o(g)) : typeof g == "string" || typeof g == "object" && (typeof g.path == "string" || typeof g.name == "string") ? (o(Cr(s, e)), typeof g == "object" && g.replace ? i.replace(g) : i.push(g)) : f(g);
1128
- });
1129
- } catch (g) {
1130
- o(g);
1131
- }
1132
- };
1133
- Fe(v, p, function() {
1134
- var l = Vr(h), f = l.concat(i.router.resolveHooks);
1135
- Fe(f, p, function() {
1136
- if (i.pending !== e)
1137
- return o(We(s, e));
1138
- i.pending = null, r(e), i.router.app && i.router.app.$nextTick(function() {
1139
- nt(e);
1140
- });
1141
- });
1142
- });
1143
- };
1144
- N.prototype.updateRoute = function(e) {
1145
- this.current = e, this.cb && this.cb(e);
1146
- };
1147
- N.prototype.setupListeners = function() {
1148
- };
1149
- N.prototype.teardown = function() {
1150
- this.listeners.forEach(function(e) {
1151
- e();
1152
- }), this.listeners = [], this.current = V, this.pending = null;
1153
- };
1154
- function Or(t) {
1155
- if (!t)
1156
- if (F) {
1157
- var e = document.querySelector("base");
1158
- t = e && e.getAttribute("href") || "/", t = t.replace(/^https?:\/\/[^\/]+/, "");
1159
- } else
1160
- t = "/";
1161
- return t.charAt(0) !== "/" && (t = "/" + t), t.replace(/\/$/, "");
1162
- }
1163
- function $r(t, e) {
1164
- var r, n = Math.max(t.length, e.length);
1165
- for (r = 0; r < n && t[r] === e[r]; r++)
1166
- ;
1167
- return {
1168
- updated: e.slice(0, r),
1169
- activated: e.slice(r),
1170
- deactivated: t.slice(r)
1171
- };
1172
- }
1173
- function Re(t, e, r, n) {
1174
- var i = vt(t, function(s, o, a, c) {
1175
- var u = Lr(s, e);
1176
- if (u)
1177
- return Array.isArray(u) ? u.map(function(d) {
1178
- return r(d, o, a, c);
1179
- }) : r(u, o, a, c);
1180
- });
1181
- return mt(n ? i.reverse() : i);
1182
- }
1183
- function Lr(t, e) {
1184
- return typeof t != "function" && (t = ne.extend(t)), t.options[e];
1185
- }
1186
- function Tr(t) {
1187
- return Re(t, "beforeRouteLeave", gt, !0);
1188
- }
1189
- function Ir(t) {
1190
- return Re(t, "beforeRouteUpdate", gt);
1191
- }
1192
- function gt(t, e) {
1193
- if (e)
1194
- return function() {
1195
- return t.apply(e, arguments);
1196
- };
1197
- }
1198
- function Vr(t) {
1199
- return Re(
1200
- t,
1201
- "beforeRouteEnter",
1202
- function(e, r, n, i) {
1203
- return Ar(e, n, i);
1204
- }
1205
- );
1206
- }
1207
- function Ar(t, e, r) {
1208
- return function(i, s, o) {
1209
- return t(i, s, function(a) {
1210
- typeof a == "function" && (e.enteredCbs[r] || (e.enteredCbs[r] = []), e.enteredCbs[r].push(a)), o(a);
1211
- });
1212
- };
1213
- }
1214
- var yt = /* @__PURE__ */ function(t) {
1215
- function e(r, n) {
1216
- t.call(this, r, n), this._startLocation = D(this.base);
1217
- }
1218
- return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.setupListeners = function() {
1219
- var n = this;
1220
- if (!(this.listeners.length > 0)) {
1221
- var i = this.router, s = i.options.scrollBehavior, o = I && s;
1222
- o && this.listeners.push(dt());
1223
- var a = function() {
1224
- var c = n.current, u = D(n.base);
1225
- n.current === V && u === n._startLocation || n.transitionTo(u, function(d) {
1226
- o && T(i, d, c, !0);
1227
- });
1228
- };
1229
- window.addEventListener("popstate", a), this.listeners.push(function() {
1230
- window.removeEventListener("popstate", a);
1231
- });
1232
- }
1233
- }, e.prototype.go = function(n) {
1234
- window.history.go(n);
1235
- }, e.prototype.push = function(n, i, s) {
1236
- var o = this, a = this, c = a.current;
1237
- this.transitionTo(n, function(u) {
1238
- se(L(o.base + u.fullPath)), T(o.router, u, c, !1), i && i(u);
1239
- }, s);
1240
- }, e.prototype.replace = function(n, i, s) {
1241
- var o = this, a = this, c = a.current;
1242
- this.transitionTo(n, function(u) {
1243
- pe(L(o.base + u.fullPath)), T(o.router, u, c, !1), i && i(u);
1244
- }, s);
1245
- }, e.prototype.ensureURL = function(n) {
1246
- if (D(this.base) !== this.current.fullPath) {
1247
- var i = L(this.base + this.current.fullPath);
1248
- n ? se(i) : pe(i);
1249
- }
1250
- }, e.prototype.getCurrentLocation = function() {
1251
- return D(this.base);
1252
- }, e;
1253
- }(N);
1254
- function D(t) {
1255
- var e = window.location.pathname, r = e.toLowerCase(), n = t.toLowerCase();
1256
- return t && (r === n || r.indexOf(L(n + "/")) === 0) && (e = e.slice(t.length)), (e || "/") + window.location.search + window.location.hash;
1257
- }
1258
- var _t = /* @__PURE__ */ function(t) {
1259
- function e(r, n, i) {
1260
- t.call(this, r, n), !(i && qr(this.base)) && Ge();
1261
- }
1262
- return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.setupListeners = function() {
1263
- var n = this;
1264
- if (!(this.listeners.length > 0)) {
1265
- var i = this.router, s = i.options.scrollBehavior, o = I && s;
1266
- o && this.listeners.push(dt());
1267
- var a = function() {
1268
- var u = n.current;
1269
- Ge() && n.transitionTo(Y(), function(d) {
1270
- o && T(n.router, d, u, !0), I || Z(d.fullPath);
1271
- });
1272
- }, c = I ? "popstate" : "hashchange";
1273
- window.addEventListener(
1274
- c,
1275
- a
1276
- ), this.listeners.push(function() {
1277
- window.removeEventListener(c, a);
1278
- });
1279
- }
1280
- }, e.prototype.push = function(n, i, s) {
1281
- var o = this, a = this, c = a.current;
1282
- this.transitionTo(
1283
- n,
1284
- function(u) {
1285
- Qe(u.fullPath), T(o.router, u, c, !1), i && i(u);
1286
- },
1287
- s
1288
- );
1289
- }, e.prototype.replace = function(n, i, s) {
1290
- var o = this, a = this, c = a.current;
1291
- this.transitionTo(
1292
- n,
1293
- function(u) {
1294
- Z(u.fullPath), T(o.router, u, c, !1), i && i(u);
1295
- },
1296
- s
1297
- );
1298
- }, e.prototype.go = function(n) {
1299
- window.history.go(n);
1300
- }, e.prototype.ensureURL = function(n) {
1301
- var i = this.current.fullPath;
1302
- Y() !== i && (n ? Qe(i) : Z(i));
1303
- }, e.prototype.getCurrentLocation = function() {
1304
- return Y();
1305
- }, e;
1306
- }(N);
1307
- function qr(t) {
1308
- var e = D(t);
1309
- if (!/^\/#/.test(e))
1310
- return window.location.replace(L(t + "/#" + e)), !0;
1311
- }
1312
- function Ge() {
1313
- var t = Y();
1314
- return t.charAt(0) === "/" ? !0 : (Z("/" + t), !1);
1315
- }
1316
- function Y() {
1317
- var t = window.location.href, e = t.indexOf("#");
1318
- return e < 0 ? "" : (t = t.slice(e + 1), t);
1319
- }
1320
- function ve(t) {
1321
- var e = window.location.href, r = e.indexOf("#"), n = r >= 0 ? e.slice(0, r) : e;
1322
- return n + "#" + t;
1323
- }
1324
- function Qe(t) {
1325
- I ? se(ve(t)) : window.location.hash = t;
1326
- }
1327
- function Z(t) {
1328
- I ? pe(ve(t)) : window.location.replace(ve(t));
1329
- }
1330
- var Br = /* @__PURE__ */ function(t) {
1331
- function e(r, n) {
1332
- t.call(this, r, n), this.stack = [], this.index = -1;
1333
- }
1334
- return t && (e.__proto__ = t), e.prototype = Object.create(t && t.prototype), e.prototype.constructor = e, e.prototype.push = function(n, i, s) {
1335
- var o = this;
1336
- this.transitionTo(
1337
- n,
1338
- function(a) {
1339
- o.stack = o.stack.slice(0, o.index + 1).concat(a), o.index++, i && i(a);
1340
- },
1341
- s
1342
- );
1343
- }, e.prototype.replace = function(n, i, s) {
1344
- var o = this;
1345
- this.transitionTo(
1346
- n,
1347
- function(a) {
1348
- o.stack = o.stack.slice(0, o.index).concat(a), i && i(a);
1349
- },
1350
- s
1351
- );
1352
- }, e.prototype.go = function(n) {
1353
- var i = this, s = this.index + n;
1354
- if (!(s < 0 || s >= this.stack.length)) {
1355
- var o = this.stack[s];
1356
- this.confirmTransition(
1357
- o,
1358
- function() {
1359
- var a = i.current;
1360
- i.index = s, i.updateRoute(o), i.router.afterHooks.forEach(function(c) {
1361
- c && c(o, a);
1362
- });
1363
- },
1364
- function(a) {
1365
- ue(a, q.duplicated) && (i.index = s);
1366
- }
1367
- );
1368
- }
1369
- }, e.prototype.getCurrentLocation = function() {
1370
- var n = this.stack[this.stack.length - 1];
1371
- return n ? n.fullPath : "/";
1372
- }, e.prototype.ensureURL = function() {
1373
- }, e;
1374
- }(N), b = function t(e) {
1375
- e === void 0 && (e = {}), process.env.NODE_ENV !== "production" && P(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);
1376
- var r = e.mode || "hash";
1377
- switch (this.fallback = r === "history" && !I && e.fallback !== !1, this.fallback && (r = "hash"), F || (r = "abstract"), this.mode = r, r) {
1378
- case "history":
1379
- this.history = new yt(this, e.base);
1380
- break;
1381
- case "hash":
1382
- this.history = new _t(this, e.base, this.fallback);
1383
- break;
1384
- case "abstract":
1385
- this.history = new Br(this, e.base);
1386
- break;
1387
- default:
1388
- process.env.NODE_ENV !== "production" && A(!1, "invalid mode: " + r);
1389
- }
1390
- }, wt = { currentRoute: { configurable: !0 } };
1391
- b.prototype.match = function(e, r, n) {
1392
- return this.matcher.match(e, r, n);
1393
- };
1394
- wt.currentRoute.get = function() {
1395
- return this.history && this.history.current;
1396
- };
1397
- b.prototype.init = function(e) {
1398
- var r = this;
1399
- if (process.env.NODE_ENV !== "production" && A(
1400
- ie.installed,
1401
- "not installed. Make sure to call `Vue.use(VueRouter)` before creating root instance."
1402
- ), this.apps.push(e), e.$once("hook:destroyed", function() {
1403
- var o = r.apps.indexOf(e);
1404
- o > -1 && r.apps.splice(o, 1), r.app === e && (r.app = r.apps[0] || null), r.app || r.history.teardown();
1405
- }), !this.app) {
1406
- this.app = e;
1407
- var n = this.history;
1408
- if (n instanceof yt || n instanceof _t) {
1409
- var i = function(o) {
1410
- var a = n.current, c = r.options.scrollBehavior, u = I && c;
1411
- u && "fullPath" in o && T(r, o, a, !1);
1412
- }, s = function(o) {
1413
- n.setupListeners(), i(o);
1414
- };
1415
- n.transitionTo(
1416
- n.getCurrentLocation(),
1417
- s,
1418
- s
1419
- );
1420
- }
1421
- n.listen(function(o) {
1422
- r.apps.forEach(function(a) {
1423
- a._route = o;
1424
- });
1425
- });
1426
- }
1427
- };
1428
- b.prototype.beforeEach = function(e) {
1429
- return Pe(this.beforeHooks, e);
1430
- };
1431
- b.prototype.beforeResolve = function(e) {
1432
- return Pe(this.resolveHooks, e);
1433
- };
1434
- b.prototype.afterEach = function(e) {
1435
- return Pe(this.afterHooks, e);
1436
- };
1437
- b.prototype.onReady = function(e, r) {
1438
- this.history.onReady(e, r);
1439
- };
1440
- b.prototype.onError = function(e) {
1441
- this.history.onError(e);
1442
- };
1443
- b.prototype.push = function(e, r, n) {
1444
- var i = this;
1445
- if (!r && !n && typeof Promise < "u")
1446
- return new Promise(function(s, o) {
1447
- i.history.push(e, s, o);
1448
- });
1449
- this.history.push(e, r, n);
1450
- };
1451
- b.prototype.replace = function(e, r, n) {
1452
- var i = this;
1453
- if (!r && !n && typeof Promise < "u")
1454
- return new Promise(function(s, o) {
1455
- i.history.replace(e, s, o);
1456
- });
1457
- this.history.replace(e, r, n);
1458
- };
1459
- b.prototype.go = function(e) {
1460
- this.history.go(e);
1461
- };
1462
- b.prototype.back = function() {
1463
- this.go(-1);
1464
- };
1465
- b.prototype.forward = function() {
1466
- this.go(1);
1467
- };
1468
- b.prototype.getMatchedComponents = function(e) {
1469
- var r = e ? e.matched ? e : this.resolve(e).route : this.currentRoute;
1470
- return r ? [].concat.apply(
1471
- [],
1472
- r.matched.map(function(n) {
1473
- return Object.keys(n.components).map(function(i) {
1474
- return n.components[i];
1475
- });
1476
- })
1477
- ) : [];
1478
- };
1479
- b.prototype.resolve = function(e, r, n) {
1480
- r = r || this.history.current;
1481
- var i = be(e, r, n, this), s = this.match(i, r), o = s.redirectedFrom || s.fullPath, a = this.history.base, c = jr(a, o, this.mode);
1482
- return {
1483
- location: i,
1484
- route: s,
1485
- href: c,
1486
- // for backwards compat
1487
- normalizedTo: i,
1488
- resolved: s
1489
- };
1490
- };
1491
- b.prototype.getRoutes = function() {
1492
- return this.matcher.getRoutes();
1493
- };
1494
- b.prototype.addRoute = function(e, r) {
1495
- this.matcher.addRoute(e, r), this.history.current !== V && this.history.transitionTo(this.history.getCurrentLocation());
1496
- };
1497
- b.prototype.addRoutes = function(e) {
1498
- process.env.NODE_ENV !== "production" && P(!1, "router.addRoutes() is deprecated and has been removed in Vue Router 4. Use router.addRoute() instead."), this.matcher.addRoutes(e), this.history.current !== V && this.history.transitionTo(this.history.getCurrentLocation());
1499
- };
1500
- Object.defineProperties(b.prototype, wt);
1501
- function Pe(t, e) {
1502
- return t.push(e), function() {
1503
- var r = t.indexOf(e);
1504
- r > -1 && t.splice(r, 1);
1505
- };
1506
- }
1507
- function jr(t, e, r) {
1508
- var n = r === "hash" ? "#" + e : e;
1509
- return t ? L(t + "/" + n) : n;
1510
- }
1511
- b.install = ie;
1512
- b.version = "3.6.5";
1513
- b.isNavigationFailure = ue;
1514
- b.NavigationFailureType = q;
1515
- b.START_LOCATION = V;
1516
- F && window.Vue && window.Vue.use(b);
1517
- y.register(y.t20);
1518
- const Mr = 3 * 60 * 1e3, Ur = {
1519
- name: "NcReferenceWidget",
1520
- components: {
1521
- NcButton: et
1522
- },
1523
- props: {
1524
- reference: {
1525
- type: Object,
1526
- required: !0
1527
- },
1528
- interactive: {
1529
- type: Boolean,
1530
- default: !0
1531
- },
1532
- interactiveOptIn: {
1533
- type: Boolean,
1534
- default: !1
1535
- }
1536
- },
1537
- setup() {
1538
- const t = Q.ref(3), e = Q.ref(!1), r = Q.ref();
1539
- return Oe.useIntersectionObserver(r, (n) => {
1540
- var i, s;
1541
- e.value = (s = (i = n[0]) == null ? void 0 : i.isIntersecting) != null ? s : !1;
1542
- }), Oe.useResizeObserver(r, (n) => {
1543
- 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;
1544
- }), {
1545
- compact: t,
1546
- isVisible: e,
1547
- widgetRoot: r
1548
- };
1549
- },
1550
- data() {
1551
- return {
1552
- showInteractive: !1,
1553
- rendered: !1,
1554
- idleTimeout: null
1555
- };
1556
- },
1557
- computed: {
1558
- isInteractive() {
1559
- return !this.interactiveOptIn && this.interactive || this.showInteractive;
1560
- },
1561
- hasFullWidth() {
1562
- return k.hasFullWidth(this.reference.richObjectType);
1563
- },
1564
- hasCustomWidget() {
1565
- return k.isWidgetRegistered(this.reference.richObjectType);
1566
- },
1567
- hasInteractiveView() {
1568
- return k.isWidgetRegistered(this.reference.richObjectType) && k.hasInteractiveView(this.reference.richObjectType);
1569
- },
1570
- noAccess() {
1571
- return this.reference && !this.reference.accessible;
1572
- },
1573
- descriptionStyle() {
1574
- if (this.compact === 0)
1575
- return {
1576
- display: "none"
1577
- };
1578
- const t = this.compact < 4 ? this.compact : 3;
1579
- return {
1580
- lineClamp: t,
1581
- webkitLineClamp: t
1582
- };
1583
- },
1584
- compactLink() {
1585
- const t = this.reference.openGraphObject.link;
1586
- return t ? t.startsWith("https://") ? t.substring(8) : t.startsWith("http://") ? t.substring(7) : t : "";
1587
- },
1588
- route() {
1589
- return $t.getRoute(this.$router, this.reference.openGraphObject.link);
1590
- },
1591
- referenceWidgetLinkComponent() {
1592
- return this.route ? Ce : "a";
1593
- },
1594
- referenceWidgetLinkProps() {
1595
- return this.route ? { to: this.route } : { href: this.reference.openGraphObject.link, target: "_blank" };
1596
- }
1597
- },
1598
- watch: {
1599
- isVisible: {
1600
- handler(t) {
1601
- if (!t) {
1602
- this.idleTimeout = setTimeout(() => {
1603
- this.isVisible || this.destroyWidget();
1604
- }, Mr);
1605
- return;
1606
- }
1607
- this.idleTimeout && (clearTimeout(this.idleTimeout), this.idleTimeout = null), this.rendered || this.renderWidget();
1608
- },
1609
- immediate: !0
1610
- }
1611
- },
1612
- beforeDestroy() {
1613
- this.destroyWidget();
1614
- },
1615
- methods: {
1616
- t: y.t,
1617
- enableInteractive() {
1618
- this.showInteractive = !0, this.renderWidget();
1619
- },
1620
- renderWidget() {
1621
- var e;
1622
- if (this.$refs.customWidget && (this.$refs.customWidget.innerHTML = ""), ((e = this == null ? void 0 : this.reference) == null ? void 0 : e.richObjectType) === "open-graph")
1623
- return;
1624
- const t = document.createElement("div");
1625
- this.$refs.customWidget.appendChild(t), this.$nextTick(() => {
1626
- k.renderWidget(t, {
1627
- ...this.reference,
1628
- interactive: this.isInteractive
1629
- }), this.rendered = !0;
1630
- });
1631
- },
1632
- destroyWidget() {
1633
- this.rendered && (k.destroyWidget(this.reference.richObjectType, this.$el), this.rendered = !1);
1634
- }
1635
- }
1636
- };
1637
- var zr = function() {
1638
- var e = this, r = e._self._c;
1639
- 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);
1640
- }, Dr = [], Wr = /* @__PURE__ */ $.normalizeComponent(
1641
- Ur,
1642
- zr,
1643
- Dr,
1644
- !1,
1645
- null,
1646
- "08d7279d",
1647
- null,
1648
- null
1649
- );
1650
- const bt = Wr.exports, Fr = {
1651
- name: "NcCustomPickerElement",
1652
- props: {
1653
- /**
1654
- * The reference provider
1655
- */
1656
- provider: {
1657
- type: Object,
1658
- required: !0
1659
- }
1660
- },
1661
- emits: [
1662
- "cancel",
1663
- "submit"
1664
- ],
1665
- data() {
1666
- return {
1667
- isRegistered: k.isCustomPickerElementRegistered(this.provider.id),
1668
- renderResult: null
1669
- };
1670
- },
1671
- mounted() {
1672
- this.isRegistered && this.renderElement();
1673
- },
1674
- beforeDestroy() {
1675
- this.isRegistered && k.destroyCustomPickerElement(this.provider.id, this.$el, this.renderResult);
1676
- },
1677
- methods: {
1678
- renderElement() {
1679
- this.$refs.domElement && (this.$refs.domElement.innerHTML = "");
1680
- const t = k.renderCustomPickerElement(this.$refs.domElement, { providerId: this.provider.id, accessible: !1 });
1681
- Promise.resolve(t).then((e) => {
1682
- var r, n;
1683
- 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) => {
1684
- this.onSubmit(i.detail);
1685
- }), this.renderResult.element.addEventListener("cancel", this.onCancel);
1686
- });
1687
- },
1688
- onSubmit(t) {
1689
- this.$emit("submit", t);
1690
- },
1691
- onCancel() {
1692
- this.$emit("cancel");
1693
- }
1694
- }
1695
- };
1696
- var Hr = function() {
1697
- var e = this, r = e._self._c;
1698
- return r("div", { ref: "domElement" });
1699
- }, Gr = [], Qr = /* @__PURE__ */ $.normalizeComponent(
1700
- Fr,
1701
- Hr,
1702
- Gr,
1703
- !1,
1704
- null,
1705
- "25f1cef8",
1706
- null,
1707
- null
1708
- );
1709
- const Kr = Qr.exports;
1710
- y.register(y.t7);
1711
- const Ee = "any-link", Ct = {
1712
- id: Ee,
1713
- title: y.t("Any link"),
1714
- icon_url: W.imagePath("core", "filetypes/link.svg")
1715
- };
1716
- window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers = Xe.loadState("core", "reference-provider-list", []));
1717
- window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps = Xe.loadState("core", "reference-provider-timestamps", {}));
1718
- function Rt(t) {
1719
- return t === Ee ? Ct : ke().find((e) => e.id === t);
1720
- }
1721
- function ke() {
1722
- return window._vue_richtext_reference_providers.filter((t) => {
1723
- const e = !!t.search_providers_ids && t.search_providers_ids.length > 0 || k.isCustomPickerElementRegistered(t.id);
1724
- 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;
1725
- });
1726
- }
1727
- function Pt(t) {
1728
- const e = window._vue_richtext_reference_provider_timestamps;
1729
- return t.sort((r, n) => r.order === n.order ? 0 : r.order > n.order ? 1 : -1).sort((r, n) => {
1730
- const i = e[r.id], s = e[n.id];
1731
- return i === s ? 0 : s === void 0 ? -1 : i === void 0 ? 1 : i > s ? -1 : 1;
1732
- });
1733
- }
1734
- function Et(t, e = null) {
1735
- const r = ke(), n = t.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(n, "i"), o = Pt(r).filter((c) => c.title.match(i)), a = e ? o.slice(0, e) : o;
1736
- return (t === "" || a.length === 0) && a.push(Ct), a;
1737
- }
1738
- function Jr(t) {
1739
- const e = Math.floor(Date.now() / 1e3), r = {
1740
- timestamp: e
1741
- }, n = W.generateOcsUrl("references/provider/{providerId}", { providerId: t });
1742
- ge.default.put(n, r).then((i) => {
1743
- window._vue_richtext_reference_provider_timestamps[t] = e;
1744
- });
1745
- }
1746
- let Ke = 0;
1747
- function kt(t, e) {
1748
- return function() {
1749
- const r = this, n = arguments;
1750
- clearTimeout(Ke), Ke = setTimeout(function() {
1751
- t.apply(r, n);
1752
- }, e || 0);
1753
- };
1754
- }
1755
- function Se(t) {
1756
- try {
1757
- return !!new URL(t);
1758
- } catch {
1759
- return !1;
1760
- }
1761
- }
1762
- y.register(y.t34, y.t38);
1763
- const Xr = {
1764
- name: "LinkVariantIcon",
1765
- emits: ["click"],
1766
- props: {
1767
- title: {
1768
- type: String
1769
- },
1770
- fillColor: {
1771
- type: String,
1772
- default: "currentColor"
1773
- },
1774
- size: {
1775
- type: Number,
1776
- default: 24
1777
- }
1778
- }
1779
- };
1780
- var Yr = function() {
1781
- var e = this, r = e._self._c;
1782
- 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) {
1783
- return e.$emit("click", n);
1784
- } } }, "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()])])]);
1785
- }, Zr = [], en = /* @__PURE__ */ $.normalizeComponent(
1786
- Xr,
1787
- Yr,
1788
- Zr,
1789
- !1,
1790
- null,
1791
- null,
1792
- null,
1793
- null
1794
- );
1795
- const xe = en.exports, tn = {
1796
- name: "NcProviderList",
1797
- components: {
1798
- NcSelect: Ze.NcSelect,
1799
- NcHighlight: Ye.NcHighlight,
1800
- NcEmptyContent: me,
1801
- LinkVariantIcon: xe
1802
- },
1803
- emits: [
1804
- "select-provider",
1805
- "submit"
1806
- ],
1807
- data() {
1808
- return {
1809
- selectedProvider: null,
1810
- query: "",
1811
- multiselectPlaceholder: y.t("Select provider"),
1812
- providerIconAlt: y.t("Provider icon")
1813
- };
1814
- },
1815
- computed: {
1816
- options() {
1817
- const t = [];
1818
- return this.query !== "" && Se(this.query) && t.push({
1819
- id: this.query,
1820
- title: this.query,
1821
- isLink: !0
1822
- }), t.push(...Et(this.query)), t;
1823
- }
1824
- },
1825
- methods: {
1826
- focus() {
1827
- setTimeout(() => {
1828
- var t, e, r;
1829
- (r = (e = (t = this.$refs["provider-select"]) == null ? void 0 : t.$el) == null ? void 0 : e.querySelector("#provider-select-input")) == null || r.focus();
1830
- }, 300);
1831
- },
1832
- onProviderSelected(t) {
1833
- t !== null && (t.isLink ? this.$emit("submit", t.title) : this.$emit("select-provider", t), this.selectedProvider = null);
1834
- },
1835
- onSearch(t, e) {
1836
- this.query = t;
1837
- }
1838
- }
1839
- };
1840
- var rn = function() {
1841
- var e = this, r = e._self._c;
1842
- 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) {
1843
- 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)];
1844
- } }]), model: { value: e.selectedProvider, callback: function(n) {
1845
- e.selectedProvider = n;
1846
- }, expression: "selectedProvider" } }), r("NcEmptyContent", { staticClass: "provider-list--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
1847
- return [r("LinkVariantIcon")];
1848
- }, proxy: !0 }]) })], 1);
1849
- }, nn = [], sn = /* @__PURE__ */ $.normalizeComponent(
1850
- tn,
1851
- rn,
1852
- nn,
1853
- !1,
1854
- null,
1855
- "e880790e",
1856
- null,
1857
- null
1858
- );
1859
- const on = sn.exports;
1860
- y.register(y.t21);
1861
- const an = {
1862
- name: "NcRawLinkInput",
1863
- components: {
1864
- LinkVariantIcon: xe,
1865
- NcEmptyContent: me,
1866
- NcLoadingIcon: Lt,
1867
- NcReferenceWidget: bt,
1868
- NcTextField: Tt.NcTextField
1869
- },
1870
- props: {
1871
- /**
1872
- * The reference provider
1873
- */
1874
- provider: {
1875
- type: Object,
1876
- required: !0
1877
- }
1878
- },
1879
- emits: [
1880
- "submit"
1881
- ],
1882
- data() {
1883
- return {
1884
- inputValue: "",
1885
- loading: !1,
1886
- reference: null,
1887
- abortController: null,
1888
- inputPlaceholder: y.t("Enter link")
1889
- };
1890
- },
1891
- computed: {
1892
- isLinkValid() {
1893
- return Se(this.inputValue);
1894
- }
1895
- },
1896
- methods: {
1897
- focus() {
1898
- var t;
1899
- (t = this.$refs["url-input"].$el.getElementsByTagName("input")[0]) == null || t.focus();
1900
- },
1901
- onSubmit(t) {
1902
- const e = t.target.value;
1903
- this.isLinkValid && this.$emit("submit", e);
1904
- },
1905
- onClear() {
1906
- this.inputValue = "", this.reference = null;
1907
- },
1908
- onInput() {
1909
- this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid && kt(() => {
1910
- this.updateReference();
1911
- }, 500)();
1912
- },
1913
- updateReference() {
1914
- this.loading = !0, this.abortController = new AbortController(), ge.default.get(W.generateOcsUrl("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
1915
- signal: this.abortController.signal
1916
- }).then((t) => {
1917
- this.reference = t.data.ocs.data.references[this.inputValue];
1918
- }).catch((t) => {
1919
- console.error(t);
1920
- }).then(() => {
1921
- this.loading = !1;
1922
- });
1923
- }
1924
- }
1925
- };
1926
- var cn = function() {
1927
- var e = this, r = e._self._c;
1928
- 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) {
1929
- e.inputValue = n;
1930
- }, e.onInput], "trailing-button-click": e.onClear }, nativeOn: { keyup: function(n) {
1931
- return !n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter") ? null : e.onSubmit.apply(null, arguments);
1932
- } } }, [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() {
1933
- return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { src: e.provider.icon_url } }) : r("LinkVariantIcon")];
1934
- }, proxy: !0 }]) })], 1);
1935
- }, un = [], ln = /* @__PURE__ */ $.normalizeComponent(
1936
- an,
1937
- cn,
1938
- un,
1939
- !1,
1940
- null,
1941
- "d0ba247a",
1942
- null,
1943
- null
1944
- );
1945
- const fn = ln.exports, hn = {
1946
- name: "NcSearchResult",
1947
- components: {
1948
- NcHighlight: Ye.NcHighlight
1949
- },
1950
- props: {
1951
- /**
1952
- * Unified search result entry
1953
- */
1954
- entry: {
1955
- type: Object,
1956
- required: !0
1957
- },
1958
- /**
1959
- * The query that led to getting this result
1960
- * Used to highlight the entry text
1961
- */
1962
- query: {
1963
- type: String,
1964
- required: !0
1965
- }
1966
- }
1967
- };
1968
- var dn = function() {
1969
- var e = this, r = e._self._c;
1970
- 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)])]);
1971
- }, pn = [], vn = /* @__PURE__ */ $.normalizeComponent(
1972
- hn,
1973
- dn,
1974
- pn,
1975
- !1,
1976
- null,
1977
- "7a394a58",
1978
- null,
1979
- null
1980
- );
1981
- const mn = vn.exports;
1982
- y.register(y.t27, y.t34, y.t36);
1983
- const Je = 5, gn = {
1984
- name: "NcSearch",
1985
- components: {
1986
- LinkVariantIcon: xe,
1987
- DotsHorizontalIcon: It.DotsHorizontal,
1988
- NcEmptyContent: me,
1989
- NcSelect: Ze.NcSelect,
1990
- NcSearchResult: mn
1991
- },
1992
- props: {
1993
- /**
1994
- * The selected reference provider
1995
- */
1996
- provider: {
1997
- type: Object,
1998
- required: !0
1999
- },
2000
- showEmptyContent: {
2001
- type: Boolean,
2002
- default: !0
2003
- },
2004
- searchPlaceholder: {
2005
- type: String,
2006
- default: null
2007
- }
2008
- },
2009
- emits: [
2010
- "submit"
2011
- ],
2012
- data() {
2013
- return {
2014
- searchQuery: "",
2015
- selectedResult: null,
2016
- resultsBySearchProvider: {},
2017
- searching: !1,
2018
- searchingMoreOf: null,
2019
- abortController: null,
2020
- noOptionsText: y.t("Start typing to search"),
2021
- providerIconAlt: y.t("Provider icon")
2022
- };
2023
- },
2024
- computed: {
2025
- mySearchPlaceholder() {
2026
- return this.searchPlaceholder || y.t("Search");
2027
- },
2028
- searchProviderIds() {
2029
- return this.provider.search_providers_ids;
2030
- },
2031
- options() {
2032
- if (this.searchQuery === "")
2033
- return [];
2034
- const t = [];
2035
- return Se(this.searchQuery) && t.push(this.rawLinkEntry), t.push(...this.formattedSearchResults), t;
2036
- },
2037
- rawLinkEntry() {
2038
- return {
2039
- id: "rawLinkEntry",
2040
- resourceUrl: this.searchQuery,
2041
- isRawLink: !0
2042
- };
2043
- },
2044
- formattedSearchResults() {
2045
- const t = [];
2046
- return this.searchProviderIds.forEach((e) => {
2047
- if (this.resultsBySearchProvider[e].entries.length > 0) {
2048
- (this.searchProviderIds.length > 1 || this.resultsBySearchProvider[e].entries.length > 1) && t.push({
2049
- id: "groupTitle-" + e,
2050
- name: this.resultsBySearchProvider[e].name,
2051
- isCustomGroupTitle: !0,
2052
- providerId: e
2053
- });
2054
- const r = this.resultsBySearchProvider[e].entries.map((n, i) => ({
2055
- id: "provider-" + e + "-entry-" + i,
2056
- ...n
2057
- }));
2058
- t.push(...r), this.resultsBySearchProvider[e].isPaginated && t.push({
2059
- id: "moreOf-" + e,
2060
- name: this.resultsBySearchProvider[e].name,
2061
- isMore: !0,
2062
- providerId: e,
2063
- isLoading: this.searchingMoreOf === e
2064
- });
2065
- }
2066
- }), t;
2067
- }
2068
- },
2069
- mounted() {
2070
- this.resetResults();
2071
- },
2072
- beforeDestroy() {
2073
- this.cancelSearchRequests();
2074
- },
2075
- methods: {
2076
- t: y.t,
2077
- resetResults() {
2078
- const t = {};
2079
- this.searchProviderIds.forEach((e) => {
2080
- t[e] = {
2081
- entries: []
2082
- };
2083
- }), this.resultsBySearchProvider = t;
2084
- },
2085
- focus() {
2086
- setTimeout(() => {
2087
- var t, e, r;
2088
- (r = (e = (t = this.$refs["search-select"]) == null ? void 0 : t.$el) == null ? void 0 : e.querySelector("#search-select-input")) == null || r.focus();
2089
- }, 300);
2090
- },
2091
- cancelSearchRequests() {
2092
- this.abortController && this.abortController.abort();
2093
- },
2094
- onSearchInput(t, e) {
2095
- this.searchQuery = t, kt(() => {
2096
- this.updateSearch();
2097
- }, 500)();
2098
- },
2099
- onSelectResultSelected(t) {
2100
- t !== null && (t.resourceUrl ? (this.cancelSearchRequests(), this.$emit("submit", t.resourceUrl)) : t.isMore && this.searchMoreOf(t.providerId).then(() => {
2101
- this.selectedResult = null;
2102
- }));
2103
- },
2104
- searchMoreOf(t) {
2105
- return this.searchingMoreOf = t, this.cancelSearchRequests(), this.searchProviders(t);
2106
- },
2107
- updateSearch() {
2108
- if (this.cancelSearchRequests(), this.resetResults(), this.searchQuery === "") {
2109
- this.searching = !1;
2110
- return;
2111
- }
2112
- return this.searchProviders();
2113
- },
2114
- searchProviders(t = null) {
2115
- var r, n;
2116
- this.abortController = new AbortController(), this.searching = !0;
2117
- 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)];
2118
- return Promise.allSettled(e).then((i) => {
2119
- !!i.find((o) => o.status === "rejected" && (o.reason.name === "CanceledError" || o.reason.code === "ERR_CANCELED")) || (this.searching = !1, this.searchingMoreOf = null);
2120
- });
2121
- },
2122
- searchOneProvider(t, e = null) {
2123
- const r = e === null ? W.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}", { providerId: t, term: this.searchQuery, limit: Je }) : W.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}", { providerId: t, term: this.searchQuery, limit: Je, cursor: e });
2124
- return ge.default.get(r, {
2125
- signal: this.abortController.signal
2126
- }).then((n) => {
2127
- const i = n.data.ocs.data;
2128
- 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);
2129
- });
2130
- }
2131
- }
2132
- };
2133
- var yn = function() {
2134
- var e = this, r = e._self._c;
2135
- 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) {
2136
- 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()];
2137
- } }, { key: "no-options", fn: function() {
2138
- return [e._v(" " + e._s(e.noOptionsText) + " ")];
2139
- }, proxy: !0 }]), model: { value: e.selectedResult, callback: function(n) {
2140
- e.selectedResult = n;
2141
- }, expression: "selectedResult" } }), e.showEmptyContent ? r("NcEmptyContent", { staticClass: "smart-picker-search--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
2142
- return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { alt: e.providerIconAlt, src: e.provider.icon_url } }) : r("LinkVariantIcon")];
2143
- }, proxy: !0 }], null, !1, 2922132592) }) : e._e()], 1);
2144
- }, _n = [], wn = /* @__PURE__ */ $.normalizeComponent(
2145
- gn,
2146
- yn,
2147
- _n,
2148
- !1,
2149
- null,
2150
- "97d196f0",
2151
- null,
2152
- null
2153
- );
2154
- const St = wn.exports, z = {
2155
- providerList: 1,
2156
- standardLinkInput: 2,
2157
- searchInput: 3,
2158
- customElement: 4
2159
- }, bn = {
2160
- name: "NcReferencePicker",
2161
- components: {
2162
- NcCustomPickerElement: Kr,
2163
- NcProviderList: on,
2164
- NcRawLinkInput: fn,
2165
- NcSearch: St
2166
- },
2167
- props: {
2168
- /**
2169
- * Provider to select on creation
2170
- * Default: null. Show the provider list
2171
- */
2172
- initialProvider: {
2173
- type: Object,
2174
- default: () => null
2175
- },
2176
- /**
2177
- * Optional width in pixels
2178
- * Default: 100%
2179
- */
2180
- width: {
2181
- type: Number,
2182
- default: null
2183
- },
2184
- /**
2185
- * Focus on the provider list select input on creation
2186
- * Default: true
2187
- */
2188
- focusOnCreate: {
2189
- type: Boolean,
2190
- default: !0
2191
- }
2192
- },
2193
- emits: [
2194
- "cancel",
2195
- "cancel-raw-link",
2196
- "cancel-search",
2197
- "provider-selected",
2198
- "submit"
2199
- ],
2200
- data() {
2201
- return {
2202
- MODES: z,
2203
- selectedProvider: this.initialProvider
2204
- };
2205
- },
2206
- computed: {
2207
- mode() {
2208
- return this.selectedProvider === null ? z.providerList : k.isCustomPickerElementRegistered(this.selectedProvider.id) ? z.customElement : this.selectedProvider.search_providers_ids ? z.searchInput : z.standardLinkInput;
2209
- },
2210
- pickerWrapperStyle() {
2211
- return {
2212
- width: this.width ? this.width + "px" : void 0
2213
- };
2214
- }
2215
- },
2216
- mounted() {
2217
- this.focusOnCreate && (this.initialProvider ? setTimeout(() => {
2218
- var t;
2219
- (t = this.$refs["url-input"]) == null || t.focus();
2220
- }, 300) : this.$nextTick(() => {
2221
- var t;
2222
- (t = this.$refs["provider-list"]) == null || t.focus();
2223
- }));
2224
- },
2225
- methods: {
2226
- onEscapePressed() {
2227
- this.selectedProvider !== null ? this.deselectProvider() : this.cancelProviderSelection();
2228
- },
2229
- onProviderSelected(t) {
2230
- this.selectedProvider = t, this.$emit("provider-selected", t), this.$nextTick(() => {
2231
- var e;
2232
- (e = this.$refs["url-input"]) == null || e.focus();
2233
- });
2234
- },
2235
- cancelCustomElement() {
2236
- this.deselectProvider();
2237
- },
2238
- cancelSearch() {
2239
- var t;
2240
- this.$emit("cancel-search", (t = this.selectedProvider) == null ? void 0 : t.title), this.deselectProvider();
2241
- },
2242
- cancelRawLinkInput() {
2243
- var t;
2244
- this.$emit("cancel-raw-link", (t = this.selectedProvider) == null ? void 0 : t.title), this.deselectProvider();
2245
- },
2246
- cancelProviderSelection() {
2247
- this.$emit("cancel");
2248
- },
2249
- submitLink(t) {
2250
- this.selectedProvider !== null && Jr(this.selectedProvider.id), this.$emit("submit", t), this.deselectProvider();
2251
- },
2252
- deselectProvider() {
2253
- this.selectedProvider = null, this.$emit("provider-selected", null), setTimeout(() => {
2254
- var t;
2255
- (t = this.$refs["provider-list"]) == null || t.focus();
2256
- }, 300);
2257
- }
2258
- }
2259
- };
2260
- var Cn = function() {
2261
- var e = this, r = e._self._c;
2262
- return r("div", { staticClass: "reference-picker", style: e.pickerWrapperStyle, attrs: { tabindex: "-1" }, on: { keydown: function(n) {
2263
- 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));
2264
- } } }, [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);
2265
- }, Rn = [], Pn = /* @__PURE__ */ $.normalizeComponent(
2266
- bn,
2267
- Cn,
2268
- Rn,
2269
- !1,
2270
- null,
2271
- "12c38c93",
2272
- null,
2273
- null
2274
- );
2275
- const xt = Pn.exports;
2276
- y.register(y.t11, y.t16);
2277
- const En = {
2278
- name: "NcReferencePickerModal",
2279
- components: {
2280
- NcReferencePicker: xt,
2281
- NcModal: Vt,
2282
- NcButton: et,
2283
- ArrowLeftIcon: qt.ArrowLeft,
2284
- CloseIcon: Bt.Close
2285
- },
2286
- props: {
2287
- /**
2288
- * Provider to select on creation
2289
- * Show the provider list if no initial one is provided
2290
- */
2291
- initialProvider: {
2292
- type: Object,
2293
- default: () => null
2294
- },
2295
- /**
2296
- * Focus on the input item on create
2297
- */
2298
- focusOnCreate: {
2299
- type: Boolean,
2300
- default: !0
2301
- },
2302
- /**
2303
- * If true, add the modal content to the Viewer trap elements via the event-bus
2304
- */
2305
- isInsideViewer: {
2306
- type: Boolean,
2307
- default: !1
2308
- }
2309
- },
2310
- emits: [
2311
- "cancel",
2312
- "submit"
2313
- ],
2314
- data() {
2315
- return {
2316
- show: !0,
2317
- selectedProvider: this.initialProvider,
2318
- backButtonTitle: y.t("Back to provider selection"),
2319
- closeButtonTitle: y.t("Close"),
2320
- closeButtonLabel: y.t("Close Smart Picker")
2321
- };
2322
- },
2323
- computed: {
2324
- isProviderSelected() {
2325
- return this.selectedProvider !== null;
2326
- },
2327
- showBackButton() {
2328
- return this.initialProvider === null && this.isProviderSelected;
2329
- },
2330
- modalSize() {
2331
- var t;
2332
- return this.isProviderSelected && k.isCustomPickerElementRegistered(this.selectedProvider.id) ? (t = k.getCustomPickerElementSize(this.selectedProvider.id)) != null ? t : "large" : "normal";
2333
- },
2334
- showModalName() {
2335
- return !this.isProviderSelected || !k.isCustomPickerElementRegistered(this.selectedProvider.id);
2336
- },
2337
- modalName() {
2338
- return this.isProviderSelected ? this.selectedProvider.title : y.t("Smart Picker");
2339
- }
2340
- },
2341
- mounted() {
2342
- if (this.isInsideViewer) {
2343
- const t = this.$refs.modal_content;
2344
- At.emit("viewer:trapElements:changed", t);
2345
- }
2346
- },
2347
- methods: {
2348
- onCancel() {
2349
- this.show = !1, this.$emit("cancel");
2350
- },
2351
- onSubmit(t) {
2352
- this.show = !1, this.$emit("submit", t);
2353
- },
2354
- onProviderSelect(t) {
2355
- this.selectedProvider = t, t === null && this.initialProvider !== null && this.onCancel();
2356
- },
2357
- onBackClicked() {
2358
- this.$refs.referencePicker.deselectProvider();
2359
- }
2360
- }
2361
- };
2362
- var kn = function() {
2363
- var e = this, r = e._self._c;
2364
- 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() {
2365
- return [r("ArrowLeftIcon")];
2366
- }, 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() {
2367
- return [r("CloseIcon")];
2368
- }, 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();
2369
- }, Sn = [], xn = /* @__PURE__ */ $.normalizeComponent(
2370
- En,
2371
- kn,
2372
- Sn,
2373
- !1,
2374
- null,
2375
- "ab09ebaa",
2376
- null,
2377
- null
2378
- );
2379
- const Nt = xn.exports;
2380
- async function Nn(t = null, e = void 0) {
2381
- return await new Promise((r, n) => {
2382
- var u;
2383
- const i = "referencePickerModal", s = document.createElement("div");
2384
- s.id = i, document.body.append(s);
2385
- const o = t === null ? null : (u = Rt(t)) != null ? u : null, a = jt.default.extend(Nt), c = new a({
2386
- propsData: {
2387
- initialProvider: o,
2388
- isInsideViewer: e
2389
- }
2390
- }).$mount(s);
2391
- c.$on("cancel", () => {
2392
- c.$destroy(), n(new Error("User cancellation"));
2393
- }), c.$on("submit", (d) => {
2394
- c.$destroy(), r(d);
2395
- });
2396
- });
2397
- }
2398
- exports.Link = Ce;
2399
- exports.NcReferencePicker = xt;
2400
- exports.NcReferencePickerModal = Nt;
2401
- exports.NcReferenceWidget = bt;
2402
- exports.NcSearch = St;
2403
- exports.anyLinkProviderId = Ee;
2404
- exports.getLinkWithPicker = Nn;
2405
- exports.getProvider = Rt;
2406
- exports.getProviders = ke;
2407
- exports.searchProvider = Et;
2408
- exports.sortProviders = Pt;