@nextcloud/vue 8.3.0 → 8.5.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 (662) hide show
  1. package/CHANGELOG.md +95 -3
  2. package/dist/Components/NcActionButton.cjs +85 -23
  3. package/dist/Components/NcActionButton.cjs.map +1 -1
  4. package/dist/Components/NcActionButton.mjs +88 -24
  5. package/dist/Components/NcActionButton.mjs.map +1 -1
  6. package/dist/Components/NcActionButtonGroup.cjs +3 -41
  7. package/dist/Components/NcActionButtonGroup.cjs.map +1 -1
  8. package/dist/Components/NcActionButtonGroup.mjs +2 -43
  9. package/dist/Components/NcActionButtonGroup.mjs.map +1 -1
  10. package/dist/Components/NcActionCaption.cjs +8 -9
  11. package/dist/Components/NcActionCaption.cjs.map +1 -1
  12. package/dist/Components/NcActionCaption.mjs +8 -8
  13. package/dist/Components/NcActionCheckbox.cjs +4 -5
  14. package/dist/Components/NcActionCheckbox.cjs.map +1 -1
  15. package/dist/Components/NcActionCheckbox.mjs +13 -13
  16. package/dist/Components/NcActionInput.cjs +3 -233
  17. package/dist/Components/NcActionInput.cjs.map +1 -1
  18. package/dist/Components/NcActionInput.mjs +2 -241
  19. package/dist/Components/NcActionInput.mjs.map +1 -1
  20. package/dist/Components/NcActionLink.cjs +2 -3
  21. package/dist/Components/NcActionLink.cjs.map +1 -1
  22. package/dist/Components/NcActionLink.mjs +3 -3
  23. package/dist/Components/NcActionRadio.cjs +12 -13
  24. package/dist/Components/NcActionRadio.cjs.map +1 -1
  25. package/dist/Components/NcActionRadio.mjs +11 -11
  26. package/dist/Components/NcActionRouter.cjs +5 -6
  27. package/dist/Components/NcActionRouter.cjs.map +1 -1
  28. package/dist/Components/NcActionRouter.mjs +6 -6
  29. package/dist/Components/NcActionSeparator.cjs +6 -7
  30. package/dist/Components/NcActionSeparator.cjs.map +1 -1
  31. package/dist/Components/NcActionSeparator.mjs +9 -9
  32. package/dist/Components/NcActionText.cjs +7 -8
  33. package/dist/Components/NcActionText.cjs.map +1 -1
  34. package/dist/Components/NcActionText.mjs +10 -10
  35. package/dist/Components/NcActionTextEditable.cjs +4 -5
  36. package/dist/Components/NcActionTextEditable.cjs.map +1 -1
  37. package/dist/Components/NcActionTextEditable.mjs +5 -5
  38. package/dist/Components/NcActions.cjs +3 -483
  39. package/dist/Components/NcActions.cjs.map +1 -1
  40. package/dist/Components/NcActions.mjs +2 -489
  41. package/dist/Components/NcActions.mjs.map +1 -1
  42. package/dist/Components/NcAppContent.cjs +3 -221
  43. package/dist/Components/NcAppContent.cjs.map +1 -1
  44. package/dist/Components/NcAppContent.mjs +2 -229
  45. package/dist/Components/NcAppContent.mjs.map +1 -1
  46. package/dist/Components/NcAppContentDetails.cjs +1 -1
  47. package/dist/Components/NcAppContentDetails.mjs +1 -1
  48. package/dist/Components/NcAppContentList.cjs +1 -1
  49. package/dist/Components/NcAppContentList.mjs +1 -1
  50. package/dist/Components/NcAppNavigation.cjs +3 -101
  51. package/dist/Components/NcAppNavigation.cjs.map +1 -1
  52. package/dist/Components/NcAppNavigation.mjs +2 -106
  53. package/dist/Components/NcAppNavigation.mjs.map +1 -1
  54. package/dist/Components/NcAppNavigationCaption.cjs +3 -44
  55. package/dist/Components/NcAppNavigationCaption.cjs.map +1 -1
  56. package/dist/Components/NcAppNavigationCaption.mjs +2 -45
  57. package/dist/Components/NcAppNavigationCaption.mjs.map +1 -1
  58. package/dist/Components/NcAppNavigationIconBullet.cjs +5 -6
  59. package/dist/Components/NcAppNavigationIconBullet.cjs.map +1 -1
  60. package/dist/Components/NcAppNavigationIconBullet.mjs +8 -8
  61. package/dist/Components/NcAppNavigationItem.cjs +3 -494
  62. package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
  63. package/dist/Components/NcAppNavigationItem.mjs +2 -505
  64. package/dist/Components/NcAppNavigationItem.mjs.map +1 -1
  65. package/dist/Components/NcAppNavigationNew.cjs +14 -15
  66. package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
  67. package/dist/Components/NcAppNavigationNew.mjs +6 -6
  68. package/dist/Components/NcAppNavigationNewItem.cjs +3 -87
  69. package/dist/Components/NcAppNavigationNewItem.cjs.map +1 -1
  70. package/dist/Components/NcAppNavigationNewItem.mjs +2 -89
  71. package/dist/Components/NcAppNavigationNewItem.mjs.map +1 -1
  72. package/dist/Components/NcAppNavigationSettings.cjs +3 -103
  73. package/dist/Components/NcAppNavigationSettings.cjs.map +1 -1
  74. package/dist/Components/NcAppNavigationSettings.mjs +2 -105
  75. package/dist/Components/NcAppNavigationSettings.mjs.map +1 -1
  76. package/dist/Components/NcAppNavigationSpacer.cjs +10 -11
  77. package/dist/Components/NcAppNavigationSpacer.cjs.map +1 -1
  78. package/dist/Components/NcAppNavigationSpacer.mjs +10 -10
  79. package/dist/Components/NcAppNavigationToggle.cjs +1 -1
  80. package/dist/Components/NcAppNavigationToggle.mjs +1 -1
  81. package/dist/Components/NcAppSettingsDialog.cjs +3 -181
  82. package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
  83. package/dist/Components/NcAppSettingsDialog.mjs +2 -187
  84. package/dist/Components/NcAppSettingsDialog.mjs.map +1 -1
  85. package/dist/Components/NcAppSettingsSection.cjs +7 -11
  86. package/dist/Components/NcAppSettingsSection.cjs.map +1 -1
  87. package/dist/Components/NcAppSettingsSection.mjs +7 -10
  88. package/dist/Components/NcAppSettingsSection.mjs.map +1 -1
  89. package/dist/Components/NcAppSidebar.cjs +3 -509
  90. package/dist/Components/NcAppSidebar.cjs.map +1 -1
  91. package/dist/Components/NcAppSidebar.mjs +2 -521
  92. package/dist/Components/NcAppSidebar.mjs.map +1 -1
  93. package/dist/Components/NcAppSidebarTab.cjs +5 -7
  94. package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
  95. package/dist/Components/NcAppSidebarTab.mjs +3 -4
  96. package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
  97. package/dist/Components/NcAvatar.cjs +2 -2
  98. package/dist/Components/NcAvatar.mjs +1 -1
  99. package/dist/Components/NcBreadcrumb.cjs +3 -175
  100. package/dist/Components/NcBreadcrumb.cjs.map +1 -1
  101. package/dist/Components/NcBreadcrumb.mjs +2 -178
  102. package/dist/Components/NcBreadcrumb.mjs.map +1 -1
  103. package/dist/Components/NcBreadcrumbs.cjs +3 -404
  104. package/dist/Components/NcBreadcrumbs.cjs.map +1 -1
  105. package/dist/Components/NcBreadcrumbs.mjs +2 -413
  106. package/dist/Components/NcBreadcrumbs.mjs.map +1 -1
  107. package/dist/Components/NcButton.cjs +37 -28
  108. package/dist/Components/NcButton.cjs.map +1 -1
  109. package/dist/Components/NcButton.mjs +37 -27
  110. package/dist/Components/NcButton.mjs.map +1 -1
  111. package/dist/Components/NcCheckboxRadioSwitch.cjs +3 -590
  112. package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
  113. package/dist/Components/NcCheckboxRadioSwitch.mjs +2 -594
  114. package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
  115. package/dist/Components/NcColorPicker.cjs +3 -135
  116. package/dist/Components/NcColorPicker.cjs.map +1 -1
  117. package/dist/Components/NcColorPicker.mjs +2 -144
  118. package/dist/Components/NcColorPicker.mjs.map +1 -1
  119. package/dist/Components/NcContent.cjs +3 -25
  120. package/dist/Components/NcContent.cjs.map +1 -1
  121. package/dist/Components/NcContent.mjs +2 -25
  122. package/dist/Components/NcContent.mjs.map +1 -1
  123. package/dist/Components/NcCounterBubble.cjs +4 -5
  124. package/dist/Components/NcCounterBubble.cjs.map +1 -1
  125. package/dist/Components/NcCounterBubble.mjs +4 -4
  126. package/dist/Components/NcDashboardWidget.cjs +3 -133
  127. package/dist/Components/NcDashboardWidget.cjs.map +1 -1
  128. package/dist/Components/NcDashboardWidget.mjs +2 -138
  129. package/dist/Components/NcDashboardWidget.mjs.map +1 -1
  130. package/dist/Components/NcDashboardWidgetItem.cjs +3 -138
  131. package/dist/Components/NcDashboardWidgetItem.cjs.map +1 -1
  132. package/dist/Components/NcDashboardWidgetItem.mjs +2 -141
  133. package/dist/Components/NcDashboardWidgetItem.mjs.map +1 -1
  134. package/dist/Components/NcDateTime.cjs +2 -127
  135. package/dist/Components/NcDateTime.cjs.map +1 -1
  136. package/dist/Components/NcDateTime.mjs +2 -130
  137. package/dist/Components/NcDateTime.mjs.map +1 -1
  138. package/dist/Components/NcDateTimePicker.cjs +70 -51
  139. package/dist/Components/NcDateTimePicker.cjs.map +1 -1
  140. package/dist/Components/NcDateTimePicker.mjs +77 -58
  141. package/dist/Components/NcDateTimePicker.mjs.map +1 -1
  142. package/dist/Components/NcDateTimePickerNative.cjs +9 -10
  143. package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
  144. package/dist/Components/NcDateTimePickerNative.mjs +8 -8
  145. package/dist/Components/NcDateTimePickerNative.mjs.map +1 -1
  146. package/dist/Components/NcDialog.cjs +3 -171
  147. package/dist/Components/NcDialog.cjs.map +1 -1
  148. package/dist/Components/NcDialog.mjs +2 -175
  149. package/dist/Components/NcDialog.mjs.map +1 -1
  150. package/dist/Components/NcDialogButton.cjs +2 -68
  151. package/dist/Components/NcDialogButton.cjs.map +1 -1
  152. package/dist/Components/NcDialogButton.mjs +2 -72
  153. package/dist/Components/NcDialogButton.mjs.map +1 -1
  154. package/dist/Components/NcEllipsisedOption.cjs +4 -5
  155. package/dist/Components/NcEllipsisedOption.cjs.map +1 -1
  156. package/dist/Components/NcEllipsisedOption.mjs +14 -14
  157. package/dist/Components/NcEmojiPicker.cjs +3 -175
  158. package/dist/Components/NcEmojiPicker.cjs.map +1 -1
  159. package/dist/Components/NcEmojiPicker.mjs +2 -180
  160. package/dist/Components/NcEmojiPicker.mjs.map +1 -1
  161. package/dist/Components/NcEmptyContent.cjs +14 -16
  162. package/dist/Components/NcEmptyContent.cjs.map +1 -1
  163. package/dist/Components/NcEmptyContent.mjs +8 -9
  164. package/dist/Components/NcEmptyContent.mjs.map +1 -1
  165. package/dist/Components/NcGuestContent.cjs +8 -9
  166. package/dist/Components/NcGuestContent.cjs.map +1 -1
  167. package/dist/Components/NcGuestContent.mjs +7 -7
  168. package/dist/Components/NcHeaderMenu.cjs +3 -169
  169. package/dist/Components/NcHeaderMenu.cjs.map +1 -1
  170. package/dist/Components/NcHeaderMenu.mjs +2 -172
  171. package/dist/Components/NcHeaderMenu.mjs.map +1 -1
  172. package/dist/Components/NcHighlight.cjs +1 -1
  173. package/dist/Components/NcHighlight.mjs +1 -1
  174. package/dist/Components/NcIconSvgWrapper.cjs +3 -59
  175. package/dist/Components/NcIconSvgWrapper.cjs.map +1 -1
  176. package/dist/Components/NcIconSvgWrapper.mjs +2 -61
  177. package/dist/Components/NcIconSvgWrapper.mjs.map +1 -1
  178. package/dist/Components/NcInputField.cjs +7 -7
  179. package/dist/Components/NcInputField.cjs.map +1 -1
  180. package/dist/Components/NcInputField.mjs +10 -9
  181. package/dist/Components/NcInputField.mjs.map +1 -1
  182. package/dist/Components/NcListItem.cjs +3 -237
  183. package/dist/Components/NcListItem.cjs.map +1 -1
  184. package/dist/Components/NcListItem.mjs +2 -241
  185. package/dist/Components/NcListItem.mjs.map +1 -1
  186. package/dist/Components/NcListItemIcon.cjs +3 -160
  187. package/dist/Components/NcListItemIcon.cjs.map +1 -1
  188. package/dist/Components/NcListItemIcon.mjs +2 -162
  189. package/dist/Components/NcListItemIcon.mjs.map +1 -1
  190. package/dist/Components/NcLoadingIcon.cjs +9 -10
  191. package/dist/Components/NcLoadingIcon.cjs.map +1 -1
  192. package/dist/Components/NcLoadingIcon.mjs +10 -10
  193. package/dist/Components/NcModal.cjs +61 -49
  194. package/dist/Components/NcModal.cjs.map +1 -1
  195. package/dist/Components/NcModal.mjs +79 -68
  196. package/dist/Components/NcModal.mjs.map +1 -1
  197. package/dist/Components/NcNoteCard.cjs +8 -9
  198. package/dist/Components/NcNoteCard.cjs.map +1 -1
  199. package/dist/Components/NcNoteCard.mjs +8 -9
  200. package/dist/Components/NcNoteCard.mjs.map +1 -1
  201. package/dist/Components/NcPasswordField.cjs +2 -226
  202. package/dist/Components/NcPasswordField.cjs.map +1 -1
  203. package/dist/Components/NcPasswordField.mjs +2 -234
  204. package/dist/Components/NcPasswordField.mjs.map +1 -1
  205. package/dist/Components/NcPopover.cjs +3 -125
  206. package/dist/Components/NcPopover.cjs.map +1 -1
  207. package/dist/Components/NcPopover.mjs +2 -128
  208. package/dist/Components/NcPopover.mjs.map +1 -1
  209. package/dist/Components/NcProgressBar.cjs +3 -57
  210. package/dist/Components/NcProgressBar.cjs.map +1 -1
  211. package/dist/Components/NcProgressBar.mjs +2 -57
  212. package/dist/Components/NcProgressBar.mjs.map +1 -1
  213. package/dist/Components/NcRelatedResourcesPanel.cjs +3 -201
  214. package/dist/Components/NcRelatedResourcesPanel.cjs.map +1 -1
  215. package/dist/Components/NcRelatedResourcesPanel.mjs +2 -205
  216. package/dist/Components/NcRelatedResourcesPanel.mjs.map +1 -1
  217. package/dist/Components/NcRichContenteditable.cjs +5 -481
  218. package/dist/Components/NcRichContenteditable.cjs.map +1 -1
  219. package/dist/Components/NcRichContenteditable.mjs +5 -489
  220. package/dist/Components/NcRichContenteditable.mjs.map +1 -1
  221. package/dist/Components/NcRichText.cjs +1 -1
  222. package/dist/Components/NcRichText.mjs +3 -3
  223. package/dist/Components/NcSavingIndicatorIcon.cjs +2 -58
  224. package/dist/Components/NcSavingIndicatorIcon.cjs.map +1 -1
  225. package/dist/Components/NcSavingIndicatorIcon.mjs +2 -60
  226. package/dist/Components/NcSavingIndicatorIcon.mjs.map +1 -1
  227. package/dist/Components/NcSelect.cjs +3 -434
  228. package/dist/Components/NcSelect.cjs.map +1 -1
  229. package/dist/Components/NcSelect.mjs +2 -444
  230. package/dist/Components/NcSelect.mjs.map +1 -1
  231. package/dist/Components/NcSelectTags.cjs +2 -258
  232. package/dist/Components/NcSelectTags.cjs.map +1 -1
  233. package/dist/Components/NcSelectTags.mjs +2 -263
  234. package/dist/Components/NcSelectTags.mjs.map +1 -1
  235. package/dist/Components/NcSettingsInputText.cjs +3 -90
  236. package/dist/Components/NcSettingsInputText.cjs.map +1 -1
  237. package/dist/Components/NcSettingsInputText.mjs +2 -92
  238. package/dist/Components/NcSettingsInputText.mjs.map +1 -1
  239. package/dist/Components/NcSettingsSection.cjs +3 -94
  240. package/dist/Components/NcSettingsSection.cjs.map +1 -1
  241. package/dist/Components/NcSettingsSection.mjs +2 -96
  242. package/dist/Components/NcSettingsSection.mjs.map +1 -1
  243. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  244. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  245. package/dist/Components/NcTextArea.cjs +3 -4
  246. package/dist/Components/NcTextArea.cjs.map +1 -1
  247. package/dist/Components/NcTextArea.mjs +6 -6
  248. package/dist/Components/NcTextArea.mjs.map +1 -1
  249. package/dist/Components/NcTextField.cjs +2 -137
  250. package/dist/Components/NcTextField.cjs.map +1 -1
  251. package/dist/Components/NcTextField.mjs +2 -142
  252. package/dist/Components/NcTextField.mjs.map +1 -1
  253. package/dist/Components/NcTimezonePicker.cjs +2 -7196
  254. package/dist/Components/NcTimezonePicker.cjs.map +1 -1
  255. package/dist/Components/NcTimezonePicker.mjs +1 -7200
  256. package/dist/Components/NcTimezonePicker.mjs.map +1 -1
  257. package/dist/Components/NcUserBubble.cjs +3 -193
  258. package/dist/Components/NcUserBubble.cjs.map +1 -1
  259. package/dist/Components/NcUserBubble.mjs +2 -197
  260. package/dist/Components/NcUserBubble.mjs.map +1 -1
  261. package/dist/Components/NcUserStatusIcon.cjs +3 -0
  262. package/dist/Components/NcUserStatusIcon.cjs.map +1 -0
  263. package/dist/Components/NcUserStatusIcon.mjs +4 -0
  264. package/dist/Components/NcUserStatusIcon.mjs.map +1 -0
  265. package/dist/Components/NcVNodes.cjs +10 -11
  266. package/dist/Components/NcVNodes.cjs.map +1 -1
  267. package/dist/Components/NcVNodes.mjs +11 -12
  268. package/dist/Components/NcVNodes.mjs.map +1 -1
  269. package/dist/Composables/useIsMobile.cjs +13 -8
  270. package/dist/Composables/useIsMobile.cjs.map +1 -1
  271. package/dist/Composables/useIsMobile.mjs +15 -10
  272. package/dist/Composables/useIsMobile.mjs.map +1 -1
  273. package/dist/Directives/Linkify.cjs +4 -5
  274. package/dist/Directives/Linkify.cjs.map +1 -1
  275. package/dist/Directives/Linkify.mjs +5 -6
  276. package/dist/Directives/Linkify.mjs.map +1 -1
  277. package/dist/Directives/Tooltip.cjs +1 -1
  278. package/dist/Directives/Tooltip.mjs +3 -3
  279. package/dist/Functions/usernameToColor.cjs +2 -38
  280. package/dist/Functions/usernameToColor.cjs.map +1 -1
  281. package/dist/Functions/usernameToColor.mjs +2 -39
  282. package/dist/Functions/usernameToColor.mjs.map +1 -1
  283. package/dist/Mixins/richEditor.cjs +2 -2
  284. package/dist/Mixins/richEditor.mjs +2 -2
  285. package/dist/assets/{index-7868494b.css → NcActionButton-YVkNHN_x.css} +17 -16
  286. package/dist/assets/{index-5fa0ac5a.css → NcActionButtonGroup-oXobVIqQ.css} +14 -0
  287. package/dist/assets/{index-e0e6bab6.css → NcActionCheckbox-6Pvlr1E7.css} +1 -1
  288. package/dist/assets/{index-9020d9ca.css → NcActionInput-4zSvDkWm.css} +67 -67
  289. package/dist/assets/{index-4ba699a1.css → NcActionLink-zdzQgwtH.css} +1 -1
  290. package/dist/assets/{index-542cf50a.css → NcActionRadio-eOr9Sp-D.css} +1 -1
  291. package/dist/assets/{index-7fac55ed.css → NcActionRouter-MFTD6tYI.css} +1 -1
  292. package/dist/assets/{index-00012a4c.css → NcActionText-GJYwsw_U.css} +1 -1
  293. package/dist/assets/{index-93ad846c.css → NcActionTextEditable-JrYuWEDd.css} +1 -1
  294. package/dist/assets/{index-b0a8a48c.css → NcActions-nAi2TA1m.css} +16 -11
  295. package/dist/assets/{index-4596132f.css → NcAppContent-SZz3PTd8.css} +0 -1
  296. package/dist/assets/{index-5784183b.css → NcAppNavigation-vjqOL-kR.css} +8 -8
  297. package/dist/assets/{index-f72cef5d.css → NcAppNavigationCaption-l5yRGXZx.css} +6 -5
  298. package/dist/assets/{index-5e4bf286.css → NcAppNavigationItem-n-wauJE7.css} +43 -41
  299. package/dist/assets/{index-93bc89ef.css → NcAppNavigationNewItem-MQBvffq9.css} +14 -12
  300. package/dist/assets/{index-34dfc54e.css → NcAppNavigationSettings-Jx_6RpSn.css} +13 -13
  301. package/dist/assets/{NcAppNavigationToggle-2bc73ee8.css → NcAppNavigationToggle-upUgYNtL.css} +4 -2
  302. package/dist/assets/{index-810b8984.css → NcAppSettingsDialog-8K8FduDk.css} +11 -11
  303. package/dist/assets/{index-3d1ccc15.css → NcAppSidebar-iU8Zp4Qk.css} +45 -45
  304. package/dist/assets/NcAvatar-Vg6Mi1TD.css +144 -0
  305. package/dist/assets/{index-b991895f.css → NcBreadcrumb-M3hqCbqS.css} +26 -33
  306. package/dist/assets/{index-4611417f.css → NcBreadcrumbs-KBV0Jccv.css} +7 -8
  307. package/dist/assets/{index-f091e784.css → NcButton-DTnreNJ5.css} +43 -43
  308. package/dist/assets/{index-e6a91529.css → NcCheckboxRadioSwitch-IKpLtz9k.css} +50 -47
  309. package/dist/assets/{index-7157aefa.css → NcColorPicker-CNX9fj56.css} +24 -24
  310. package/dist/assets/{index-a9e4fe04.css → NcContent-LWR23l9i.css} +42 -4
  311. package/dist/assets/{index-50dc154e.css → NcDateTimePicker-J_kGHwdu.css} +20 -20
  312. package/dist/assets/NcDateTimePickerNative-2pQS5L0H.css +46 -0
  313. package/dist/assets/{index-9941f384.css → NcDialog-2V180xdm.css} +13 -13
  314. package/dist/assets/{index-2a8e4ca1.css → NcEmojiPicker-lBXbC6Jd.css} +36 -26
  315. package/dist/assets/{index-3764a447.css → NcHeaderMenu-P0OkK9WN.css} +18 -25
  316. package/dist/assets/{index-2d4de2fc.css → NcIconSvgWrapper-arqrq5Bj.css} +13 -7
  317. package/dist/assets/{index-2a1ec06b.css → NcInputField-Y-Qp3D_b.css} +40 -40
  318. package/dist/assets/{index-4e03d941.css → NcListItem-xcW2PRrk.css} +49 -48
  319. package/dist/assets/{index-73ded07b.css → NcModal-QzDLeQrW.css} +63 -63
  320. package/dist/assets/{index-61b63a8f.css → NcProgressBar-w4-G5gQR.css} +19 -9
  321. package/dist/assets/{index-ab715d82.css → NcRelatedResourcesPanel-m3uf_nvH.css} +4 -4
  322. package/dist/assets/{index-ffa6d11c.css → NcRichContenteditable-xiQ4y2Z6.css} +64 -31
  323. package/dist/assets/{index-f9bfa317.css → NcSelect-GsLmwj9w.css} +13 -2
  324. package/dist/assets/{index-76a58945.css → NcSettingsSection-PEWm0eeL.css} +13 -13
  325. package/dist/assets/{NcSettingsSelectGroup-6ddb63a6.css → NcSettingsSelectGroup-_Jpb8yE3.css} +2 -2
  326. package/dist/assets/{index-30ca9574.css → NcTextArea-K-KVPiMp.css} +27 -40
  327. package/dist/assets/{index-c221fe05.css → NcUserBubble-jjzI5imn.css} +9 -9
  328. package/dist/assets/{index-57b305d3.css → NcUserStatusIcon-62u43_6P.css} +7 -10
  329. package/dist/assets/{referencePickerModal-3a127978.css → referencePickerModal-VxSowpb5.css} +84 -57
  330. package/dist/chunks/{AlertCircleOutline-7085c10f.cjs → AlertCircleOutline-VgVvRWpm.cjs} +1 -1
  331. package/dist/chunks/{AlertCircleOutline-7085c10f.cjs.map → AlertCircleOutline-VgVvRWpm.cjs.map} +1 -1
  332. package/dist/chunks/{AlertCircleOutline-b73838e0.mjs → AlertCircleOutline-lwSRucNO.mjs} +1 -1
  333. package/dist/chunks/{AlertCircleOutline-b73838e0.mjs.map → AlertCircleOutline-lwSRucNO.mjs.map} +1 -1
  334. package/dist/chunks/{ArrowLeft-2f9b9323.cjs → ArrowLeft-3KC2k3tR.cjs} +1 -1
  335. package/dist/chunks/{ArrowLeft-2f9b9323.cjs.map → ArrowLeft-3KC2k3tR.cjs.map} +1 -1
  336. package/dist/chunks/{ArrowLeft-3779ba88.mjs → ArrowLeft-buaCjhfr.mjs} +1 -1
  337. package/dist/chunks/{ArrowLeft-3779ba88.mjs.map → ArrowLeft-buaCjhfr.mjs.map} +1 -1
  338. package/dist/chunks/{ArrowRight-74a9fcb2.mjs → ArrowRight-4p6gv-9o.mjs} +1 -1
  339. package/dist/chunks/{ArrowRight-74a9fcb2.mjs.map → ArrowRight-4p6gv-9o.mjs.map} +1 -1
  340. package/dist/chunks/{ArrowRight-7315f6c1.cjs → ArrowRight-uEMed4kl.cjs} +1 -1
  341. package/dist/chunks/{ArrowRight-7315f6c1.cjs.map → ArrowRight-uEMed4kl.cjs.map} +1 -1
  342. package/dist/chunks/{Check-be8cd6af.cjs → Check-5uKO4aXx.cjs} +1 -1
  343. package/dist/chunks/{Check-be8cd6af.cjs.map → Check-5uKO4aXx.cjs.map} +1 -1
  344. package/dist/chunks/{Check-2ea0a88a.mjs → Check-FObi_cEO.mjs} +1 -1
  345. package/dist/chunks/{Check-2ea0a88a.mjs.map → Check-FObi_cEO.mjs.map} +1 -1
  346. package/dist/chunks/{ChevronDown-a72d365d.mjs → ChevronDown-TbRvziNU.mjs} +1 -1
  347. package/dist/chunks/{ChevronDown-a72d365d.mjs.map → ChevronDown-TbRvziNU.mjs.map} +1 -1
  348. package/dist/chunks/{ChevronDown-dc32e51d.cjs → ChevronDown-rdCNNu7u.cjs} +1 -1
  349. package/dist/chunks/{ChevronDown-dc32e51d.cjs.map → ChevronDown-rdCNNu7u.cjs.map} +1 -1
  350. package/dist/chunks/{ChevronRight-1a6a6cf2.mjs → ChevronRight-XOmSMmxA.mjs} +1 -1
  351. package/dist/chunks/{ChevronRight-1a6a6cf2.mjs.map → ChevronRight-XOmSMmxA.mjs.map} +1 -1
  352. package/dist/chunks/{ChevronRight-a4c1e0d3.cjs → ChevronRight-bp7fT1r7.cjs} +1 -1
  353. package/dist/chunks/{ChevronRight-a4c1e0d3.cjs.map → ChevronRight-bp7fT1r7.cjs.map} +1 -1
  354. package/dist/chunks/{Close-271f72e2.mjs → Close-5Hzp7J3v.mjs} +1 -1
  355. package/dist/chunks/{Close-271f72e2.mjs.map → Close-5Hzp7J3v.mjs.map} +1 -1
  356. package/dist/chunks/{Close-98cb6f12.cjs → Close-QFLrdRdG.cjs} +1 -1
  357. package/dist/chunks/{Close-98cb6f12.cjs.map → Close-QFLrdRdG.cjs.map} +1 -1
  358. package/dist/chunks/{DotsHorizontal-0ee7d901.mjs → DotsHorizontal-NssXDZGM.mjs} +1 -1
  359. package/dist/chunks/{DotsHorizontal-0ee7d901.mjs.map → DotsHorizontal-NssXDZGM.mjs.map} +1 -1
  360. package/dist/chunks/{DotsHorizontal-ac96129a.cjs → DotsHorizontal-dlN1WvqM.cjs} +1 -1
  361. package/dist/chunks/{DotsHorizontal-ac96129a.cjs.map → DotsHorizontal-dlN1WvqM.cjs.map} +1 -1
  362. package/dist/chunks/GenColors-6mrcK1J2.cjs +141 -0
  363. package/dist/chunks/GenColors-6mrcK1J2.cjs.map +1 -0
  364. package/dist/chunks/GenColors-ZwEj275X.mjs +142 -0
  365. package/dist/chunks/GenColors-ZwEj275X.mjs.map +1 -0
  366. package/dist/chunks/{GenRandomId-c214d235.cjs.map → GenRandomId-ULxaMkkr.cjs.map} +1 -1
  367. package/dist/chunks/{GenRandomId-cb9ccebe.mjs.map → GenRandomId-VodkdWbp.mjs.map} +1 -1
  368. package/dist/chunks/{Linkify-39f20c9a.mjs.map → Linkify-V7PfCeZ8.mjs.map} +1 -1
  369. package/dist/chunks/{Linkify-40cdd635.cjs.map → Linkify-f3s3nAe_.cjs.map} +1 -1
  370. package/dist/chunks/NcActionButtonGroup-3W6tc8gZ.mjs +50 -0
  371. package/dist/chunks/NcActionButtonGroup-3W6tc8gZ.mjs.map +1 -0
  372. package/dist/chunks/NcActionButtonGroup-IEaXhYp3.cjs +45 -0
  373. package/dist/chunks/NcActionButtonGroup-IEaXhYp3.cjs.map +1 -0
  374. package/dist/chunks/NcActionInput-bLRYLx45.cjs +234 -0
  375. package/dist/chunks/NcActionInput-bLRYLx45.cjs.map +1 -0
  376. package/dist/chunks/NcActionInput-v8cC8WD4.mjs +244 -0
  377. package/dist/chunks/NcActionInput-v8cC8WD4.mjs.map +1 -0
  378. package/dist/chunks/NcActions-7ytNFRBJ.cjs +493 -0
  379. package/dist/chunks/NcActions-7ytNFRBJ.cjs.map +1 -0
  380. package/dist/chunks/NcActions-CNDgnRLf.mjs +501 -0
  381. package/dist/chunks/NcActions-CNDgnRLf.mjs.map +1 -0
  382. package/dist/chunks/NcAppContent-XBosilQH.mjs +231 -0
  383. package/dist/chunks/NcAppContent-XBosilQH.mjs.map +1 -0
  384. package/dist/chunks/NcAppContent-f3dNUfhO.cjs +221 -0
  385. package/dist/chunks/NcAppContent-f3dNUfhO.cjs.map +1 -0
  386. package/dist/chunks/NcAppNavigation-oke9RxP6.cjs +113 -0
  387. package/dist/chunks/NcAppNavigation-oke9RxP6.cjs.map +1 -0
  388. package/dist/chunks/NcAppNavigation-qUXaV47L.mjs +122 -0
  389. package/dist/chunks/NcAppNavigation-qUXaV47L.mjs.map +1 -0
  390. package/dist/chunks/NcAppNavigationCaption-M-KZKijE.mjs +47 -0
  391. package/dist/chunks/NcAppNavigationCaption-M-KZKijE.mjs.map +1 -0
  392. package/dist/chunks/NcAppNavigationCaption-hVmjPz-2.cjs +43 -0
  393. package/dist/chunks/NcAppNavigationCaption-hVmjPz-2.cjs.map +1 -0
  394. package/dist/chunks/NcAppNavigationItem-GNnDmUq5.mjs +508 -0
  395. package/dist/chunks/NcAppNavigationItem-GNnDmUq5.mjs.map +1 -0
  396. package/dist/chunks/NcAppNavigationItem-YYoh37Ky.cjs +496 -0
  397. package/dist/chunks/NcAppNavigationItem-YYoh37Ky.cjs.map +1 -0
  398. package/dist/chunks/NcAppNavigationNewItem-3l4mRRsI.cjs +86 -0
  399. package/dist/chunks/NcAppNavigationNewItem-3l4mRRsI.cjs.map +1 -0
  400. package/dist/chunks/NcAppNavigationNewItem-pBHgj8Es.mjs +91 -0
  401. package/dist/chunks/NcAppNavigationNewItem-pBHgj8Es.mjs.map +1 -0
  402. package/dist/chunks/NcAppNavigationSettings-IkF_z_xt.cjs +102 -0
  403. package/dist/chunks/NcAppNavigationSettings-IkF_z_xt.cjs.map +1 -0
  404. package/dist/chunks/NcAppNavigationSettings-c_S9UbSU.mjs +105 -0
  405. package/dist/chunks/NcAppNavigationSettings-c_S9UbSU.mjs.map +1 -0
  406. package/dist/chunks/{NcAppNavigationToggle-f5591773.mjs → NcAppNavigationToggle-S4YTmnky.mjs} +30 -30
  407. package/dist/chunks/{NcAppNavigationToggle-6a975868.cjs.map → NcAppNavigationToggle-S4YTmnky.mjs.map} +1 -1
  408. package/dist/chunks/NcAppNavigationToggle-Tvz9copM.cjs +109 -0
  409. package/dist/chunks/{NcAppNavigationToggle-f5591773.mjs.map → NcAppNavigationToggle-Tvz9copM.cjs.map} +1 -1
  410. package/dist/chunks/NcAppSettingsDialog-CQtmRXyZ.mjs +184 -0
  411. package/dist/chunks/NcAppSettingsDialog-CQtmRXyZ.mjs.map +1 -0
  412. package/dist/chunks/NcAppSettingsDialog-L6IvAL_I.cjs +176 -0
  413. package/dist/chunks/NcAppSettingsDialog-L6IvAL_I.cjs.map +1 -0
  414. package/dist/chunks/NcAppSidebar-GCbKi7Tk.cjs +547 -0
  415. package/dist/chunks/NcAppSidebar-GCbKi7Tk.cjs.map +1 -0
  416. package/dist/chunks/NcAppSidebar-nHbqU8Wl.mjs +565 -0
  417. package/dist/chunks/NcAppSidebar-nHbqU8Wl.mjs.map +1 -0
  418. package/dist/chunks/{index-efb07851.mjs → NcAvatar-1gX-bnpd.mjs} +68 -93
  419. package/dist/chunks/NcAvatar-1gX-bnpd.mjs.map +1 -0
  420. package/dist/chunks/{index-32c8b581.cjs → NcAvatar-8NgbtiTN.cjs} +40 -66
  421. package/dist/chunks/NcAvatar-8NgbtiTN.cjs.map +1 -0
  422. package/dist/chunks/NcBreadcrumb-3vNer4Fs.cjs +172 -0
  423. package/dist/chunks/NcBreadcrumb-3vNer4Fs.cjs.map +1 -0
  424. package/dist/chunks/NcBreadcrumb-VlYks8Vu.mjs +179 -0
  425. package/dist/chunks/NcBreadcrumb-VlYks8Vu.mjs.map +1 -0
  426. package/dist/chunks/NcBreadcrumbs-GhYBmcix.cjs +407 -0
  427. package/dist/chunks/NcBreadcrumbs-GhYBmcix.cjs.map +1 -0
  428. package/dist/chunks/NcBreadcrumbs-UCJPNjZg.mjs +418 -0
  429. package/dist/chunks/NcBreadcrumbs-UCJPNjZg.mjs.map +1 -0
  430. package/dist/chunks/NcCheckboxRadioSwitch-3sa_9DpY.mjs +607 -0
  431. package/dist/chunks/NcCheckboxRadioSwitch-3sa_9DpY.mjs.map +1 -0
  432. package/dist/chunks/NcCheckboxRadioSwitch-s5C7ZGB_.cjs +603 -0
  433. package/dist/chunks/NcCheckboxRadioSwitch-s5C7ZGB_.cjs.map +1 -0
  434. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-2l55YbP4.cjs +3 -0
  435. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-2l55YbP4.cjs.map +1 -0
  436. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-4V3NxICZ.mjs +3 -0
  437. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-4V3NxICZ.mjs.map +1 -0
  438. package/dist/chunks/NcColorPicker-4qA0UWdA.cjs +161 -0
  439. package/dist/chunks/NcColorPicker-4qA0UWdA.cjs.map +1 -0
  440. package/dist/chunks/NcColorPicker-aNJDKf-I.mjs +172 -0
  441. package/dist/chunks/NcColorPicker-aNJDKf-I.mjs.map +1 -0
  442. package/dist/chunks/NcContent-V1PRVhsU.mjs +131 -0
  443. package/dist/chunks/NcContent-V1PRVhsU.mjs.map +1 -0
  444. package/dist/chunks/NcContent-x5KPSopo.cjs +123 -0
  445. package/dist/chunks/NcContent-x5KPSopo.cjs.map +1 -0
  446. package/dist/chunks/NcDashboardWidget-pzCvVb_0.mjs +141 -0
  447. package/dist/chunks/NcDashboardWidget-pzCvVb_0.mjs.map +1 -0
  448. package/dist/chunks/NcDashboardWidget-w15LYpmC.cjs +134 -0
  449. package/dist/chunks/NcDashboardWidget-w15LYpmC.cjs.map +1 -0
  450. package/dist/chunks/NcDashboardWidgetItem-FNmPTAuj.mjs +143 -0
  451. package/dist/chunks/NcDashboardWidgetItem-FNmPTAuj.mjs.map +1 -0
  452. package/dist/chunks/NcDashboardWidgetItem-YJerQyu5.cjs +137 -0
  453. package/dist/chunks/NcDashboardWidgetItem-YJerQyu5.cjs.map +1 -0
  454. package/dist/chunks/NcDateTime-22ULCxg8.mjs +146 -0
  455. package/dist/chunks/NcDateTime-22ULCxg8.mjs.map +1 -0
  456. package/dist/chunks/NcDateTime-eHTrKYG4.cjs +142 -0
  457. package/dist/chunks/NcDateTime-eHTrKYG4.cjs.map +1 -0
  458. package/dist/chunks/NcDialog-KlvRL7k1.cjs +209 -0
  459. package/dist/chunks/NcDialog-KlvRL7k1.cjs.map +1 -0
  460. package/dist/chunks/NcDialog-b2LjzZB8.mjs +217 -0
  461. package/dist/chunks/NcDialog-b2LjzZB8.mjs.map +1 -0
  462. package/dist/chunks/NcDialogButton-37xKCh_l.cjs +68 -0
  463. package/dist/chunks/NcDialogButton-37xKCh_l.cjs.map +1 -0
  464. package/dist/chunks/NcDialogButton-O4JZ53Dj.mjs +73 -0
  465. package/dist/chunks/NcDialogButton-O4JZ53Dj.mjs.map +1 -0
  466. package/dist/chunks/NcEmojiPicker-H_YmCt4L.mjs +249 -0
  467. package/dist/chunks/NcEmojiPicker-H_YmCt4L.mjs.map +1 -0
  468. package/dist/chunks/NcEmojiPicker-o1VRXxQO.cjs +238 -0
  469. package/dist/chunks/NcEmojiPicker-o1VRXxQO.cjs.map +1 -0
  470. package/dist/chunks/NcHeaderMenu-CIYGCufy.cjs +183 -0
  471. package/dist/chunks/NcHeaderMenu-CIYGCufy.cjs.map +1 -0
  472. package/dist/chunks/NcHeaderMenu-CfEUQ0JV.mjs +190 -0
  473. package/dist/chunks/NcHeaderMenu-CfEUQ0JV.mjs.map +1 -0
  474. package/dist/chunks/NcIconSvgWrapper-P-GkSjTH.mjs +85 -0
  475. package/dist/chunks/NcIconSvgWrapper-P-GkSjTH.mjs.map +1 -0
  476. package/dist/chunks/NcIconSvgWrapper-_lgitSfS.cjs +80 -0
  477. package/dist/chunks/NcIconSvgWrapper-_lgitSfS.cjs.map +1 -0
  478. package/dist/chunks/NcInputConfirmCancel-YzEcukdc.cjs +91 -0
  479. package/dist/chunks/{NcInputConfirmCancel-790f5902.cjs.map → NcInputConfirmCancel-YzEcukdc.cjs.map} +1 -1
  480. package/dist/chunks/{NcInputConfirmCancel-7837eb4d.mjs → NcInputConfirmCancel-lUDtoN2O.mjs} +15 -14
  481. package/dist/chunks/{NcInputConfirmCancel-7837eb4d.mjs.map → NcInputConfirmCancel-lUDtoN2O.mjs.map} +1 -1
  482. package/dist/chunks/NcListItem-AZpInn_s.mjs +248 -0
  483. package/dist/chunks/NcListItem-AZpInn_s.mjs.map +1 -0
  484. package/dist/chunks/NcListItem-bBx6_yWw.cjs +242 -0
  485. package/dist/chunks/NcListItem-bBx6_yWw.cjs.map +1 -0
  486. package/dist/chunks/NcListItemIcon-1ZcwsrMT.mjs +164 -0
  487. package/dist/chunks/NcListItemIcon-1ZcwsrMT.mjs.map +1 -0
  488. package/dist/chunks/NcListItemIcon-uPc7p1KY.cjs +160 -0
  489. package/dist/chunks/NcListItemIcon-uPc7p1KY.cjs.map +1 -0
  490. package/dist/chunks/NcPasswordField-YvUbX2WS.cjs +229 -0
  491. package/dist/chunks/NcPasswordField-YvUbX2WS.cjs.map +1 -0
  492. package/dist/chunks/NcPasswordField-fNiTJMmG.mjs +238 -0
  493. package/dist/chunks/NcPasswordField-fNiTJMmG.mjs.map +1 -0
  494. package/dist/chunks/NcPopover-EXxv8Pzw.cjs +218 -0
  495. package/dist/chunks/NcPopover-EXxv8Pzw.cjs.map +1 -0
  496. package/dist/chunks/NcPopover-NyUZ2r7V.mjs +225 -0
  497. package/dist/chunks/NcPopover-NyUZ2r7V.mjs.map +1 -0
  498. package/dist/chunks/NcProgressBar-hQCFE5H3.mjs +99 -0
  499. package/dist/chunks/NcProgressBar-hQCFE5H3.mjs.map +1 -0
  500. package/dist/chunks/NcProgressBar-yrdD1jxU.cjs +95 -0
  501. package/dist/chunks/NcProgressBar-yrdD1jxU.cjs.map +1 -0
  502. package/dist/chunks/NcRelatedResourcesPanel-DCqlPqZc.cjs +199 -0
  503. package/dist/chunks/NcRelatedResourcesPanel-DCqlPqZc.cjs.map +1 -0
  504. package/dist/chunks/NcRelatedResourcesPanel-H2imJgxi.mjs +205 -0
  505. package/dist/chunks/NcRelatedResourcesPanel-H2imJgxi.mjs.map +1 -0
  506. package/dist/chunks/NcRichContenteditable-EZp-vrCT.mjs +515 -0
  507. package/dist/chunks/NcRichContenteditable-EZp-vrCT.mjs.map +1 -0
  508. package/dist/chunks/NcRichContenteditable-lPa8fqWG.cjs +504 -0
  509. package/dist/chunks/NcRichContenteditable-lPa8fqWG.cjs.map +1 -0
  510. package/dist/chunks/{NcRichText-0db09c78.mjs → NcRichText-7CHftQ4Z.mjs} +125 -81
  511. package/dist/chunks/NcRichText-7CHftQ4Z.mjs.map +1 -0
  512. package/dist/chunks/{NcRichText-0dd96aac.cjs → NcRichText-SPiEkcnt.cjs} +112 -71
  513. package/dist/chunks/NcRichText-SPiEkcnt.cjs.map +1 -0
  514. package/dist/chunks/NcSavingIndicatorIcon-IqoMFcDK.mjs +62 -0
  515. package/dist/chunks/NcSavingIndicatorIcon-IqoMFcDK.mjs.map +1 -0
  516. package/dist/chunks/NcSavingIndicatorIcon-wcQ0mBIL.cjs +59 -0
  517. package/dist/chunks/NcSavingIndicatorIcon-wcQ0mBIL.cjs.map +1 -0
  518. package/dist/chunks/NcSelect-c9-eF29z.cjs +462 -0
  519. package/dist/chunks/NcSelect-c9-eF29z.cjs.map +1 -0
  520. package/dist/chunks/NcSelect-zx9IspDS.mjs +474 -0
  521. package/dist/chunks/NcSelect-zx9IspDS.mjs.map +1 -0
  522. package/dist/chunks/NcSelectTags-WGdCwmRr.mjs +267 -0
  523. package/dist/chunks/NcSelectTags-WGdCwmRr.mjs.map +1 -0
  524. package/dist/chunks/NcSelectTags-doFIXNxC.cjs +261 -0
  525. package/dist/chunks/NcSelectTags-doFIXNxC.cjs.map +1 -0
  526. package/dist/chunks/NcSettingsInputText-YMRo6B3V.mjs +95 -0
  527. package/dist/chunks/NcSettingsInputText-YMRo6B3V.mjs.map +1 -0
  528. package/dist/chunks/NcSettingsInputText-sJarpoq-.cjs +91 -0
  529. package/dist/chunks/NcSettingsInputText-sJarpoq-.cjs.map +1 -0
  530. package/dist/chunks/NcSettingsSection-R_JKZdJk.cjs +95 -0
  531. package/dist/chunks/NcSettingsSection-R_JKZdJk.cjs.map +1 -0
  532. package/dist/chunks/NcSettingsSection-zdWzOqxk.mjs +98 -0
  533. package/dist/chunks/NcSettingsSection-zdWzOqxk.mjs.map +1 -0
  534. package/dist/chunks/{NcSettingsSelectGroup-cdd84895.mjs → NcSettingsSelectGroup-Ghgl6Y_d.mjs} +20 -20
  535. package/dist/chunks/NcSettingsSelectGroup-Ghgl6Y_d.mjs.map +1 -0
  536. package/dist/chunks/{NcSettingsSelectGroup-532ba813.cjs → NcSettingsSelectGroup-NhJyFPsw.cjs} +16 -15
  537. package/dist/chunks/NcSettingsSelectGroup-NhJyFPsw.cjs.map +1 -0
  538. package/dist/chunks/NcTextField-8ap5MAGr.cjs +140 -0
  539. package/dist/chunks/NcTextField-8ap5MAGr.cjs.map +1 -0
  540. package/dist/chunks/NcTextField-tIJ3fJ37.mjs +146 -0
  541. package/dist/chunks/NcTextField-tIJ3fJ37.mjs.map +1 -0
  542. package/dist/chunks/NcTimezonePicker-Ue_mc4jo.mjs +7205 -0
  543. package/dist/chunks/NcTimezonePicker-Ue_mc4jo.mjs.map +1 -0
  544. package/dist/chunks/NcTimezonePicker-ag-krDDP.cjs +7199 -0
  545. package/dist/chunks/NcTimezonePicker-ag-krDDP.cjs.map +1 -0
  546. package/dist/chunks/NcUserBubble-hfgJXqk2.cjs +191 -0
  547. package/dist/chunks/NcUserBubble-hfgJXqk2.cjs.map +1 -0
  548. package/dist/chunks/NcUserBubble-s30BQXdv.mjs +197 -0
  549. package/dist/chunks/NcUserBubble-s30BQXdv.mjs.map +1 -0
  550. package/dist/chunks/NcUserStatusIcon-H5b_e8YL.mjs +174 -0
  551. package/dist/chunks/NcUserStatusIcon-H5b_e8YL.mjs.map +1 -0
  552. package/dist/chunks/NcUserStatusIcon-PevYJx6w.cjs +166 -0
  553. package/dist/chunks/NcUserStatusIcon-PevYJx6w.cjs.map +1 -0
  554. package/dist/chunks/{ScopeComponent-ac5265f5.mjs → ScopeComponent-9XNLQCuu.mjs} +1 -1
  555. package/dist/chunks/{ScopeComponent-ac5265f5.mjs.map → ScopeComponent-9XNLQCuu.mjs.map} +1 -1
  556. package/dist/chunks/{ScopeComponent-92144d97.cjs → ScopeComponent-_Cg8ogL-.cjs} +1 -1
  557. package/dist/chunks/{ScopeComponent-92144d97.cjs.map → ScopeComponent-_Cg8ogL-.cjs.map} +1 -1
  558. package/dist/chunks/_l10n-juAR1Sua.cjs +64 -0
  559. package/dist/chunks/_l10n-juAR1Sua.cjs.map +1 -0
  560. package/dist/chunks/_l10n-tZEKUJRj.mjs +66 -0
  561. package/dist/chunks/_l10n-tZEKUJRj.mjs.map +1 -0
  562. package/dist/chunks/_plugin-vue2_normalizer-DCfUPqga.cjs.map +1 -0
  563. package/dist/chunks/_plugin-vue2_normalizer-u6G_3nkj.mjs.map +1 -0
  564. package/dist/chunks/{actionGlobal-9e29e11b.cjs → actionGlobal-_f-PhW84.cjs} +3 -7
  565. package/dist/chunks/actionGlobal-_f-PhW84.cjs.map +1 -0
  566. package/dist/chunks/{actionGlobal-8c1c28c9.mjs → actionGlobal-ejpd0zqm.mjs} +3 -7
  567. package/dist/chunks/actionGlobal-ejpd0zqm.mjs.map +1 -0
  568. package/dist/chunks/{actionText-60ff01d1.mjs → actionText-AoAs4kqP.mjs} +8 -4
  569. package/dist/chunks/{actionText-60ff01d1.mjs.map → actionText-AoAs4kqP.mjs.map} +1 -1
  570. package/dist/chunks/{actionText-9582810f.cjs → actionText-pGrMQtZ3.cjs} +10 -6
  571. package/dist/chunks/{actionText-9582810f.cjs.map → actionText-pGrMQtZ3.cjs.map} +1 -1
  572. package/dist/chunks/emoji-mJIuLpNR.cjs +58 -0
  573. package/dist/chunks/emoji-mJIuLpNR.cjs.map +1 -0
  574. package/dist/chunks/emoji-tllD0Rvt.mjs +61 -0
  575. package/dist/chunks/emoji-tllD0Rvt.mjs.map +1 -0
  576. package/dist/chunks/{focusTrap-5d0f71d4.mjs.map → focusTrap-Py2bQ9-r.mjs.map} +1 -1
  577. package/dist/chunks/{focusTrap-14985831.cjs.map → focusTrap-n3H52LOw.cjs.map} +1 -1
  578. package/dist/chunks/{index-20a9ace9.mjs → index-2phCrsSH.mjs} +1 -1
  579. package/dist/chunks/{index-20a9ace9.mjs.map → index-2phCrsSH.mjs.map} +1 -1
  580. package/dist/chunks/{index-4398f925.cjs → index-AX_b-FPF.cjs} +2 -1
  581. package/dist/chunks/{index-4398f925.cjs.map → index-AX_b-FPF.cjs.map} +1 -1
  582. package/dist/chunks/{index-e894376a.cjs → index-FO4BaGaF.cjs} +1 -1
  583. package/dist/chunks/{index-e894376a.cjs.map → index-FO4BaGaF.cjs.map} +1 -1
  584. package/dist/chunks/{index-5f2a5f57.mjs → index-KrMGGc7j.mjs} +3 -2
  585. package/dist/chunks/{index-5f2a5f57.mjs.map → index-KrMGGc7j.mjs.map} +1 -1
  586. package/dist/chunks/{logger-3612e664.mjs.map → logger-3m1eQsSo.mjs.map} +1 -1
  587. package/dist/chunks/{logger-4998b668.cjs.map → logger-G6OKp5ly.cjs.map} +1 -1
  588. package/dist/chunks/{referencePickerModal-ded8273d.mjs → referencePickerModal-jbqYHMmd.mjs} +202 -214
  589. package/dist/chunks/{referencePickerModal-ded8273d.mjs.map → referencePickerModal-jbqYHMmd.mjs.map} +1 -1
  590. package/dist/chunks/{referencePickerModal-90dac0d0.cjs → referencePickerModal-rHOAeK-a.cjs} +171 -183
  591. package/dist/chunks/{referencePickerModal-90dac0d0.cjs.map → referencePickerModal-rHOAeK-a.cjs.map} +1 -1
  592. package/dist/chunks/usernameToColor-fJ1S8Q2S.cjs +39 -0
  593. package/dist/chunks/usernameToColor-fJ1S8Q2S.cjs.map +1 -0
  594. package/dist/chunks/usernameToColor-pYptUj7i.mjs +41 -0
  595. package/dist/chunks/usernameToColor-pYptUj7i.mjs.map +1 -0
  596. package/dist/functions/emoji/emoji.d.ts +50 -0
  597. package/dist/{Functions/emoji.mjs → functions/emoji/index.d.ts} +1 -16
  598. package/dist/index.cjs +170 -164
  599. package/dist/index.cjs.map +1 -1
  600. package/dist/index.mjs +169 -160
  601. package/dist/index.mjs.map +1 -1
  602. package/dist/utils/UserStatus.d.ts +24 -0
  603. package/package.json +14 -6
  604. package/dist/Functions/emoji.cjs +0 -36
  605. package/dist/Functions/emoji.cjs.map +0 -1
  606. package/dist/Functions/emoji.mjs.map +0 -1
  607. package/dist/assets/index-2e5e3b55.css +0 -151
  608. package/dist/chunks/GenColors-12ec1caa.mjs +0 -56
  609. package/dist/chunks/GenColors-12ec1caa.mjs.map +0 -1
  610. package/dist/chunks/GenColors-a8d54566.cjs +0 -55
  611. package/dist/chunks/GenColors-a8d54566.cjs.map +0 -1
  612. package/dist/chunks/NcAppNavigationToggle-6a975868.cjs +0 -108
  613. package/dist/chunks/NcInputConfirmCancel-790f5902.cjs +0 -90
  614. package/dist/chunks/NcRichText-0db09c78.mjs.map +0 -1
  615. package/dist/chunks/NcRichText-0dd96aac.cjs.map +0 -1
  616. package/dist/chunks/NcSettingsSelectGroup-532ba813.cjs.map +0 -1
  617. package/dist/chunks/NcSettingsSelectGroup-cdd84895.mjs.map +0 -1
  618. package/dist/chunks/_plugin-vue2_normalizer-71e2aa87.mjs.map +0 -1
  619. package/dist/chunks/_plugin-vue2_normalizer-7f9efb60.cjs.map +0 -1
  620. package/dist/chunks/actionGlobal-8c1c28c9.mjs.map +0 -1
  621. package/dist/chunks/actionGlobal-9e29e11b.cjs.map +0 -1
  622. package/dist/chunks/index-32c8b581.cjs.map +0 -1
  623. package/dist/chunks/index-efb07851.mjs.map +0 -1
  624. package/dist/chunks/l10n-070da9ad.cjs +0 -29
  625. package/dist/chunks/l10n-070da9ad.cjs.map +0 -1
  626. package/dist/chunks/l10n-1b905a9a.mjs +0 -31
  627. package/dist/chunks/l10n-1b905a9a.mjs.map +0 -1
  628. package/dist/chunks/l10n-38626490.cjs +0 -8
  629. package/dist/chunks/l10n-38626490.cjs.map +0 -1
  630. package/dist/chunks/l10n-6cfc1200.mjs +0 -10
  631. package/dist/chunks/l10n-6cfc1200.mjs.map +0 -1
  632. /package/dist/assets/{index-418d4e87.css → NcActionCaption-afJqyJO6.css} +0 -0
  633. /package/dist/assets/{index-018895f7.css → NcActionSeparator-l98xWbiL.css} +0 -0
  634. /package/dist/assets/{index-fc61f2d8.css → NcAppNavigationIconBullet-Nf3ARMLv.css} +0 -0
  635. /package/dist/assets/{index-0ac09203.css → NcAppNavigationNew-joyd78FM.css} +0 -0
  636. /package/dist/assets/{index-76dd9f11.css → NcAppNavigationSpacer-MfL8GeCN.css} +0 -0
  637. /package/dist/assets/{index-1f25a3c0.css → NcAppSettingsSection-ahfdhix_.css} +0 -0
  638. /package/dist/assets/{index-77a548be.css → NcAppSidebarTab-Phau6edJ.css} +0 -0
  639. /package/dist/assets/{index-17673ea1.css → NcCounterBubble-rgkmqN46.css} +0 -0
  640. /package/dist/assets/{index-6416f636.css → NcDashboardWidget-01deRW9Z.css} +0 -0
  641. /package/dist/assets/{index-e7eadba7.css → NcDashboardWidgetItem-S7fELANA.css} +0 -0
  642. /package/dist/assets/{index-a2b51bce.css → NcEllipsisedOption-eoI10kvc.css} +0 -0
  643. /package/dist/assets/{index-c239a2fc.css → NcEmptyContent-pSz7F6Oe.css} +0 -0
  644. /package/dist/assets/{index-8aa4712e.css → NcGuestContent-mGGTzI2_.css} +0 -0
  645. /package/dist/assets/{NcInputConfirmCancel-45d1d76b.css → NcInputConfirmCancel-ks8z8dIn.css} +0 -0
  646. /package/dist/assets/{index-6f721577.css → NcListItemIcon-PQ2s6ZqX.css} +0 -0
  647. /package/dist/assets/{index-b8f13a1f.css → NcLoadingIcon-hZn7TJM8.css} +0 -0
  648. /package/dist/assets/{NcMentionBubble-6e887c5f.css → NcMentionBubble-2OXF_uEJ.css} +0 -0
  649. /package/dist/assets/{index-400b48a6.css → NcNoteCard-OTfZqVvP.css} +0 -0
  650. /package/dist/assets/{index-4ebacc78.css → NcPopover-MK4GcuPY.css} +0 -0
  651. /package/dist/assets/{index-6c47e88a.css → NcSettingsInputText-MPi6a3Yy.css} +0 -0
  652. /package/dist/assets/{index-d211cae8.css → Tooltip-wOLIuz0Q.css} +0 -0
  653. /package/dist/chunks/{GenRandomId-c214d235.cjs → GenRandomId-ULxaMkkr.cjs} +0 -0
  654. /package/dist/chunks/{GenRandomId-cb9ccebe.mjs → GenRandomId-VodkdWbp.mjs} +0 -0
  655. /package/dist/chunks/{Linkify-39f20c9a.mjs → Linkify-V7PfCeZ8.mjs} +0 -0
  656. /package/dist/chunks/{Linkify-40cdd635.cjs → Linkify-f3s3nAe_.cjs} +0 -0
  657. /package/dist/chunks/{_plugin-vue2_normalizer-7f9efb60.cjs → _plugin-vue2_normalizer-DCfUPqga.cjs} +0 -0
  658. /package/dist/chunks/{_plugin-vue2_normalizer-71e2aa87.mjs → _plugin-vue2_normalizer-u6G_3nkj.mjs} +0 -0
  659. /package/dist/chunks/{focusTrap-5d0f71d4.mjs → focusTrap-Py2bQ9-r.mjs} +0 -0
  660. /package/dist/chunks/{focusTrap-14985831.cjs → focusTrap-n3H52LOw.cjs} +0 -0
  661. /package/dist/chunks/{logger-3612e664.mjs → logger-3m1eQsSo.mjs} +0 -0
  662. /package/dist/chunks/{logger-4998b668.cjs → logger-G6OKp5ly.cjs} +0 -0
@@ -1,23 +1,23 @@
1
- import "../assets/referencePickerModal-3a127978.css";
2
- import { n as c } from "./_plugin-vue2_normalizer-71e2aa87.mjs";
3
- import { t as n } from "./l10n-1b905a9a.mjs";
4
- import p from "@nextcloud/axios";
5
- import { loadState as C } from "@nextcloud/initial-state";
6
- import { imagePath as L, generateOcsUrl as _ } from "@nextcloud/router";
7
- import m from "../Components/NcEmptyContent.mjs";
8
- import { N as P } from "./index-20a9ace9.mjs";
9
- import w from "../Components/NcSelect.mjs";
10
- import N from "../Components/NcLoadingIcon.mjs";
11
- import E from "../Components/NcTextField.mjs";
12
- import { D as I } from "./DotsHorizontal-0ee7d901.mjs";
13
- import O from "../Components/NcButton.mjs";
14
- import B from "../Components/NcModal.mjs";
15
- import { emit as M } from "@nextcloud/event-bus";
16
- import { A as V } from "./ArrowLeft-3779ba88.mjs";
17
- import { C as W } from "./Close-271f72e2.mjs";
18
- import q from "vue";
1
+ import "../assets/referencePickerModal-VxSowpb5.css";
2
+ import { n as o } from "./_plugin-vue2_normalizer-u6G_3nkj.mjs";
3
+ import { r as h, O as E, a as n, P as N, Q as C, R as I, u as O, S as B, G as M, T as V } from "./_l10n-tZEKUJRj.mjs";
4
+ import f from "@nextcloud/axios";
5
+ import { loadState as P } from "@nextcloud/initial-state";
6
+ import { imagePath as W, generateOcsUrl as p } from "@nextcloud/router";
7
+ import _ from "../Components/NcEmptyContent.mjs";
8
+ import { N as w } from "./index-2phCrsSH.mjs";
9
+ import { N as b } from "./NcSelect-zx9IspDS.mjs";
10
+ import q from "../Components/NcLoadingIcon.mjs";
11
+ import { N as T } from "./NcTextField-tIJ3fJ37.mjs";
12
+ import { D as j } from "./DotsHorizontal-NssXDZGM.mjs";
13
+ import z from "../Components/NcButton.mjs";
14
+ import D from "../Components/NcModal.mjs";
15
+ import { emit as A } from "@nextcloud/event-bus";
16
+ import { A as F } from "./ArrowLeft-buaCjhfr.mjs";
17
+ import { C as Q } from "./Close-5Hzp7J3v.mjs";
18
+ import U from "vue";
19
19
  window._vue_richtext_widgets || (window._vue_richtext_widgets = {});
20
- const T = (t) => !!window._vue_richtext_widgets[t], j = (t, e, r = (s) => {
20
+ const G = (t) => !!window._vue_richtext_widgets[t], H = (t, e, r = (s) => {
21
21
  }) => {
22
22
  if (window._vue_richtext_widgets[t]) {
23
23
  console.error("Widget for id " + t + " already registered");
@@ -28,7 +28,7 @@ const T = (t) => !!window._vue_richtext_widgets[t], j = (t, e, r = (s) => {
28
28
  callback: e,
29
29
  onDestroy: r
30
30
  };
31
- }, z = (t, { richObjectType: e, richObject: r, accessible: s }) => {
31
+ }, Z = (t, { richObjectType: e, richObject: r, accessible: s }) => {
32
32
  if (e !== "open-graph") {
33
33
  if (!window._vue_richtext_widgets[e]) {
34
34
  console.error("Widget for rich object type " + e + " not registered");
@@ -36,11 +36,11 @@ const T = (t) => !!window._vue_richtext_widgets[t], j = (t, e, r = (s) => {
36
36
  }
37
37
  window._vue_richtext_widgets[e].callback(t, { richObjectType: e, richObject: r, accessible: s });
38
38
  }
39
- }, D = (t, e) => {
39
+ }, J = (t, e) => {
40
40
  t !== "open-graph" && window._vue_richtext_widgets[t] && window._vue_richtext_widgets[t].onDestroy(e);
41
41
  };
42
- window._registerWidget = j;
43
- const A = {
42
+ window._registerWidget = H;
43
+ const K = {
44
44
  name: "NcReferenceWidget",
45
45
  props: {
46
46
  reference: {
@@ -55,7 +55,7 @@ const A = {
55
55
  },
56
56
  computed: {
57
57
  hasCustomWidget() {
58
- return T(this.reference.richObjectType);
58
+ return G(this.reference.richObjectType);
59
59
  },
60
60
  noAccess() {
61
61
  return this.reference && !this.reference.accessible;
@@ -82,33 +82,32 @@ const A = {
82
82
  }), this.observer.observe(this.$el);
83
83
  },
84
84
  beforeDestroy() {
85
- this.observer.disconnect(), D(this.reference.richObjectType, this.$el);
85
+ this.observer.disconnect(), J(this.reference.richObjectType, this.$el);
86
86
  },
87
87
  methods: {
88
88
  renderWidget() {
89
- var t;
90
- this.$refs.customWidget && (this.$refs.customWidget.innerHTML = ""), ((t = this == null ? void 0 : this.reference) == null ? void 0 : t.richObjectType) !== "open-graph" && this.$nextTick(() => {
91
- z(this.$refs.customWidget, this.reference);
89
+ this.$refs.customWidget && (this.$refs.customWidget.innerHTML = ""), this?.reference?.richObjectType !== "open-graph" && this.$nextTick(() => {
90
+ Z(this.$refs.customWidget, this.reference);
92
91
  });
93
92
  }
94
93
  }
95
94
  };
96
- var F = function() {
95
+ var X = function() {
97
96
  var e = this, r = e._self._c;
98
97
  return r("div", [e.reference && e.hasCustomWidget ? r("div", { staticClass: "widget-custom" }, [r("div", { ref: "customWidget" })]) : !e.noAccess && e.reference && e.reference.openGraphObject && !e.hasCustomWidget ? r("a", { staticClass: "widget-default", attrs: { href: e.reference.openGraphObject.link, rel: "noopener noreferrer", target: "_blank" } }, [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()]);
99
- }, U = [], Q = /* @__PURE__ */ c(
100
- A,
101
- F,
102
- U,
98
+ }, Y = [], ee = /* @__PURE__ */ o(
99
+ K,
100
+ X,
101
+ Y,
103
102
  !1,
104
103
  null,
105
104
  "b1c5a80f",
106
105
  null,
107
106
  null
108
107
  );
109
- const G = Q.exports;
108
+ const te = ee.exports;
110
109
  window._vue_richtext_custom_picker_elements || (window._vue_richtext_custom_picker_elements = {});
111
- class nt {
110
+ class mt {
112
111
  /**
113
112
  * @param {HTMLElement} element The HTML element
114
113
  * @param {object} object The object
@@ -117,11 +116,10 @@ class nt {
117
116
  this.element = e, this.object = r;
118
117
  }
119
118
  }
120
- const h = (t) => !!window._vue_richtext_custom_picker_elements[t], H = (t) => {
121
- var r;
122
- const e = (r = window._vue_richtext_custom_picker_elements[t]) == null ? void 0 : r.size;
119
+ const d = (t) => !!window._vue_richtext_custom_picker_elements[t], re = (t) => {
120
+ const e = window._vue_richtext_custom_picker_elements[t]?.size;
123
121
  return ["small", "normal", "large", "full"].includes(e) ? e : null;
124
- }, Z = (t, e, r = (i) => {
122
+ }, se = (t, e, r = (i) => {
125
123
  }, s = "large") => {
126
124
  if (window._vue_richtext_custom_picker_elements[t]) {
127
125
  console.error("Custom reference picker element for id " + t + " already registered");
@@ -133,17 +131,17 @@ const h = (t) => !!window._vue_richtext_custom_picker_elements[t], H = (t) => {
133
131
  onDestroy: r,
134
132
  size: s
135
133
  };
136
- }, J = (t, { providerId: e, accessible: r }) => {
134
+ }, ie = (t, { providerId: e, accessible: r }) => {
137
135
  if (!window._vue_richtext_custom_picker_elements[e]) {
138
136
  console.error("Custom reference picker element for reference provider ID " + e + " not registered");
139
137
  return;
140
138
  }
141
139
  return window._vue_richtext_custom_picker_elements[e].callback(t, { providerId: e, accessible: r });
142
- }, K = (t, e, r) => {
140
+ }, ne = (t, e, r) => {
143
141
  window._vue_richtext_custom_picker_elements[t] && window._vue_richtext_custom_picker_elements[t].onDestroy(e, r);
144
142
  };
145
- window._registerCustomPickerElement = Z;
146
- const X = {
143
+ window._registerCustomPickerElement = se;
144
+ const oe = {
147
145
  name: "NcCustomPickerElement",
148
146
  props: {
149
147
  /**
@@ -160,7 +158,7 @@ const X = {
160
158
  ],
161
159
  data() {
162
160
  return {
163
- isRegistered: h(this.provider.id),
161
+ isRegistered: d(this.provider.id),
164
162
  renderResult: null
165
163
  };
166
164
  },
@@ -168,16 +166,15 @@ const X = {
168
166
  this.isRegistered && this.renderElement();
169
167
  },
170
168
  beforeDestroy() {
171
- this.isRegistered && K(this.provider.id, this.$el, this.renderResult);
169
+ this.isRegistered && ne(this.provider.id, this.$el, this.renderResult);
172
170
  },
173
171
  methods: {
174
172
  renderElement() {
175
173
  this.$refs.domElement && (this.$refs.domElement.innerHTML = "");
176
- const t = J(this.$refs.domElement, { providerId: this.provider.id, accessible: !1 });
174
+ const t = ie(this.$refs.domElement, { providerId: this.provider.id, accessible: !1 });
177
175
  Promise.resolve(t).then((e) => {
178
- var r, s;
179
- this.renderResult = e, (r = this.renderResult.object) != null && r._isVue && ((s = this.renderResult.object) != null && s.$on) && (this.renderResult.object.$on("submit", this.onSubmit), this.renderResult.object.$on("cancel", this.onCancel)), this.renderResult.element.addEventListener("submit", (i) => {
180
- this.onSubmit(i.detail);
176
+ this.renderResult = e, this.renderResult.object?._isVue && this.renderResult.object?.$on && (this.renderResult.object.$on("submit", this.onSubmit), this.renderResult.object.$on("cancel", this.onCancel)), this.renderResult.element.addEventListener("submit", (r) => {
177
+ this.onSubmit(r.detail);
181
178
  }), this.renderResult.element.addEventListener("cancel", this.onCancel);
182
179
  });
183
180
  },
@@ -189,71 +186,74 @@ const X = {
189
186
  }
190
187
  }
191
188
  };
192
- var Y = function() {
189
+ var ce = function() {
193
190
  var e = this, r = e._self._c;
194
191
  return r("div", { ref: "domElement" });
195
- }, ee = [], te = /* @__PURE__ */ c(
196
- X,
197
- Y,
198
- ee,
192
+ }, le = [], ae = /* @__PURE__ */ o(
193
+ oe,
194
+ ce,
195
+ le,
199
196
  !1,
200
197
  null,
201
198
  "cf695ff9",
202
199
  null,
203
200
  null
204
201
  );
205
- const re = te.exports, b = "any-link", S = {
206
- id: b,
202
+ const ue = ae.exports;
203
+ h(E);
204
+ const S = "any-link", $ = {
205
+ id: S,
207
206
  title: n("Any link"),
208
- icon_url: L("core", "filetypes/link.svg")
207
+ icon_url: W("core", "filetypes/link.svg")
209
208
  };
210
- window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers = C("core", "reference-provider-list", []));
211
- window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps = C("core", "reference-provider-timestamps", {}));
212
- function se(t) {
213
- return t === b ? S : R().find((e) => e.id === t);
209
+ window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers = P("core", "reference-provider-list", []));
210
+ window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps = P("core", "reference-provider-timestamps", {}));
211
+ function de(t) {
212
+ return t === S ? $ : R().find((e) => e.id === t);
214
213
  }
215
214
  function R() {
216
215
  return window._vue_richtext_reference_providers.filter((t) => {
217
- const e = !!t.search_providers_ids && t.search_providers_ids.length > 0 || h(t.id);
216
+ const e = !!t.search_providers_ids && t.search_providers_ids.length > 0 || d(t.id);
218
217
  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;
219
218
  });
220
219
  }
221
- function ie(t) {
220
+ function he(t) {
222
221
  const e = window._vue_richtext_reference_provider_timestamps;
223
222
  return t.sort((r, s) => r.order === s.order ? 0 : r.order > s.order ? 1 : -1).sort((r, s) => {
224
- const i = e[r.id], o = e[s.id];
225
- return i === o ? 0 : o === void 0 ? -1 : i === void 0 ? 1 : i > o ? -1 : 1;
223
+ const i = e[r.id], c = e[s.id];
224
+ return i === c ? 0 : c === void 0 ? -1 : i === void 0 ? 1 : i > c ? -1 : 1;
226
225
  });
227
226
  }
228
- function ne(t, e = null) {
229
- const r = R(), s = t.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(s, "i"), l = ie(r).filter((a) => a.title.match(i)), u = e ? l.slice(0, e) : l;
230
- return (t === "" || u.length === 0) && u.push(S), u;
227
+ function me(t, e = null) {
228
+ const r = R(), s = t.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(s, "i"), m = he(r).filter((l) => l.title.match(i)), a = e ? m.slice(0, e) : m;
229
+ return (t === "" || a.length === 0) && a.push($), a;
231
230
  }
232
- function oe(t) {
231
+ function pe(t) {
233
232
  const e = Math.floor(Date.now() / 1e3), r = {
234
233
  timestamp: e
235
- }, s = _("references/provider/{providerId}", { providerId: t });
236
- p.put(s, r).then((i) => {
234
+ }, s = p("references/provider/{providerId}", { providerId: t });
235
+ f.put(s, r).then((i) => {
237
236
  window._vue_richtext_reference_provider_timestamps[t] = e;
238
237
  });
239
238
  }
240
- let y = 0;
241
- function x(t, e) {
239
+ let k = 0;
240
+ function L(t, e) {
242
241
  return function() {
243
242
  const r = this, s = arguments;
244
- clearTimeout(y), y = setTimeout(function() {
243
+ clearTimeout(k), k = setTimeout(function() {
245
244
  t.apply(r, s);
246
245
  }, e || 0);
247
246
  };
248
247
  }
249
- function f(t) {
248
+ function v(t) {
250
249
  try {
251
250
  return !!new URL(t);
252
251
  } catch {
253
252
  return !1;
254
253
  }
255
254
  }
256
- const ce = {
255
+ h(C, N);
256
+ const fe = {
257
257
  name: "LinkVariantIcon",
258
258
  emits: ["click"],
259
259
  props: {
@@ -270,29 +270,28 @@ const ce = {
270
270
  }
271
271
  }
272
272
  };
273
- var le = function() {
273
+ var _e = function() {
274
274
  var e = this, r = e._self._c;
275
275
  return r("span", e._b({ staticClass: "material-design-icon link-variant-icon", attrs: { "aria-hidden": !e.title, "aria-label": e.title, role: "img" }, on: { click: function(s) {
276
276
  return e.$emit("click", s);
277
277
  } } }, "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()])])]);
278
- }, ae = [], ue = /* @__PURE__ */ c(
279
- ce,
280
- le,
281
- ae,
278
+ }, ve = [], ge = /* @__PURE__ */ o(
279
+ fe,
280
+ _e,
281
+ ve,
282
282
  !1,
283
283
  null,
284
284
  null,
285
285
  null,
286
286
  null
287
287
  );
288
- const v = ue.exports;
289
- const de = {
288
+ const g = ge.exports, ke = {
290
289
  name: "NcProviderList",
291
290
  components: {
292
- NcSelect: w,
293
- NcHighlight: P,
294
- NcEmptyContent: m,
295
- LinkVariantIcon: v
291
+ NcSelect: b,
292
+ NcHighlight: w,
293
+ NcEmptyContent: _,
294
+ LinkVariantIcon: g
296
295
  },
297
296
  emits: [
298
297
  "select-provider",
@@ -309,18 +308,17 @@ const de = {
309
308
  computed: {
310
309
  options() {
311
310
  const t = [];
312
- return this.query !== "" && f(this.query) && t.push({
311
+ return this.query !== "" && v(this.query) && t.push({
313
312
  id: this.query,
314
313
  title: this.query,
315
314
  isLink: !0
316
- }), t.push(...ne(this.query)), t;
315
+ }), t.push(...me(this.query)), t;
317
316
  }
318
317
  },
319
318
  methods: {
320
319
  focus() {
321
320
  setTimeout(() => {
322
- var t, e, r;
323
- (r = (e = (t = this.$refs["provider-select"]) == null ? void 0 : t.$el) == null ? void 0 : e.querySelector("#provider-select-input")) == null || r.focus();
321
+ this.$refs["provider-select"]?.$el?.querySelector("#provider-select-input")?.focus();
324
322
  }, 300);
325
323
  },
326
324
  onProviderSelected(t) {
@@ -331,7 +329,7 @@ const de = {
331
329
  }
332
330
  }
333
331
  };
334
- var he = function() {
332
+ var ye = function() {
335
333
  var e = this, r = e._self._c;
336
334
  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(s) {
337
335
  return [s.isLink ? r("div", { staticClass: "provider" }, [r("LinkVariantIcon", { staticClass: "link-icon", attrs: { size: 20 } }), r("span", [e._v(e._s(s.title))])], 1) : r("div", { staticClass: "provider" }, [r("img", { staticClass: "provider-icon", attrs: { src: s.icon_url, alt: e.providerIconAlt } }), r("NcHighlight", { staticClass: "option-text", attrs: { search: e.query, text: s.title } })], 1)];
@@ -340,25 +338,26 @@ var he = function() {
340
338
  }, expression: "selectedProvider" } }), r("NcEmptyContent", { staticClass: "provider-list--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
341
339
  return [r("LinkVariantIcon")];
342
340
  }, proxy: !0 }]) })], 1);
343
- }, _e = [], pe = /* @__PURE__ */ c(
344
- de,
345
- he,
346
- _e,
341
+ }, Ce = [], Pe = /* @__PURE__ */ o(
342
+ ke,
343
+ ye,
344
+ Ce,
347
345
  !1,
348
346
  null,
349
347
  "9d850ea5",
350
348
  null,
351
349
  null
352
350
  );
353
- const me = pe.exports;
354
- const fe = {
351
+ const we = Pe.exports;
352
+ h(I);
353
+ const be = {
355
354
  name: "NcRawLinkInput",
356
355
  components: {
357
- LinkVariantIcon: v,
358
- NcEmptyContent: m,
359
- NcLoadingIcon: N,
360
- NcReferenceWidget: G,
361
- NcTextField: E
356
+ LinkVariantIcon: g,
357
+ NcEmptyContent: _,
358
+ NcLoadingIcon: q,
359
+ NcReferenceWidget: te,
360
+ NcTextField: T
362
361
  },
363
362
  props: {
364
363
  /**
@@ -383,13 +382,12 @@ const fe = {
383
382
  },
384
383
  computed: {
385
384
  isLinkValid() {
386
- return f(this.inputValue);
385
+ return v(this.inputValue);
387
386
  }
388
387
  },
389
388
  methods: {
390
389
  focus() {
391
- var t;
392
- (t = this.$refs["url-input"].$el.getElementsByTagName("input")[0]) == null || t.focus();
390
+ this.$refs["url-input"].$el.getElementsByTagName("input")[0]?.focus();
393
391
  },
394
392
  onSubmit(t) {
395
393
  const e = t.target.value;
@@ -399,12 +397,12 @@ const fe = {
399
397
  this.inputValue = "", this.reference = null;
400
398
  },
401
399
  onInput() {
402
- this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid && x(() => {
400
+ this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid && L(() => {
403
401
  this.updateReference();
404
402
  }, 500)();
405
403
  },
406
404
  updateReference() {
407
- this.loading = !0, this.abortController = new AbortController(), p.get(_("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
405
+ this.loading = !0, this.abortController = new AbortController(), f.get(p("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
408
406
  signal: this.abortController.signal
409
407
  }).then((t) => {
410
408
  this.reference = t.data.ocs.data.references[this.inputValue];
@@ -416,7 +414,7 @@ const fe = {
416
414
  }
417
415
  }
418
416
  };
419
- var ve = function() {
417
+ var Se = function() {
420
418
  var e = this, r = e._self._c;
421
419
  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(s) {
422
420
  e.inputValue = s;
@@ -425,21 +423,20 @@ var ve = function() {
425
423
  } } }, [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() {
426
424
  return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { src: e.provider.icon_url } }) : r("LinkVariantIcon")];
427
425
  }, proxy: !0 }]) })], 1);
428
- }, ge = [], ye = /* @__PURE__ */ c(
429
- fe,
430
- ve,
431
- ge,
426
+ }, $e = [], Re = /* @__PURE__ */ o(
427
+ be,
428
+ Se,
429
+ $e,
432
430
  !1,
433
431
  null,
434
432
  "d0ba247a",
435
433
  null,
436
434
  null
437
435
  );
438
- const ke = ye.exports;
439
- const Ce = {
436
+ const Le = Re.exports, xe = {
440
437
  name: "NcSearchResult",
441
438
  components: {
442
- NcHighlight: P
439
+ NcHighlight: w
443
440
  },
444
441
  props: {
445
442
  /**
@@ -459,28 +456,29 @@ const Ce = {
459
456
  }
460
457
  }
461
458
  };
462
- var Pe = function() {
459
+ var Ee = function() {
463
460
  var e = this, r = e._self._c;
464
461
  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)])]);
465
- }, we = [], be = /* @__PURE__ */ c(
466
- Ce,
467
- Pe,
468
- we,
462
+ }, Ne = [], Ie = /* @__PURE__ */ o(
463
+ xe,
464
+ Ee,
465
+ Ne,
469
466
  !1,
470
467
  null,
471
468
  "7a394a58",
472
469
  null,
473
470
  null
474
471
  );
475
- const Se = be.exports;
476
- const k = 5, Re = {
472
+ const Oe = Ie.exports;
473
+ h(B, C, O);
474
+ const y = 5, Be = {
477
475
  name: "NcSearch",
478
476
  components: {
479
- LinkVariantIcon: v,
480
- DotsHorizontalIcon: I,
481
- NcEmptyContent: m,
482
- NcSelect: w,
483
- NcSearchResult: Se
477
+ LinkVariantIcon: g,
478
+ DotsHorizontalIcon: j,
479
+ NcEmptyContent: _,
480
+ NcSelect: b,
481
+ NcSearchResult: Oe
484
482
  },
485
483
  props: {
486
484
  /**
@@ -525,7 +523,7 @@ const k = 5, Re = {
525
523
  if (this.searchQuery === "")
526
524
  return [];
527
525
  const t = [];
528
- return f(this.searchQuery) && t.push(this.rawLinkEntry), t.push(...this.formattedSearchResults), t;
526
+ return v(this.searchQuery) && t.push(this.rawLinkEntry), t.push(...this.formattedSearchResults), t;
529
527
  },
530
528
  rawLinkEntry() {
531
529
  return {
@@ -577,15 +575,14 @@ const k = 5, Re = {
577
575
  },
578
576
  focus() {
579
577
  setTimeout(() => {
580
- var t, e, r;
581
- (r = (e = (t = this.$refs["search-select"]) == null ? void 0 : t.$el) == null ? void 0 : e.querySelector("#search-select-input")) == null || r.focus();
578
+ this.$refs["search-select"]?.$el?.querySelector("#search-select-input")?.focus();
582
579
  }, 300);
583
580
  },
584
581
  cancelSearchRequests() {
585
582
  this.abortController && this.abortController.abort();
586
583
  },
587
584
  onSearchInput(t, e) {
588
- this.searchQuery = t, x(() => {
585
+ this.searchQuery = t, L(() => {
589
586
  this.updateSearch();
590
587
  }, 500)();
591
588
  },
@@ -605,16 +602,15 @@ const k = 5, Re = {
605
602
  return this.searchProviders();
606
603
  },
607
604
  searchProviders(t = null) {
608
- var r, s;
609
605
  this.abortController = new AbortController(), this.searching = !0;
610
- const e = t === null ? [...this.searchProviderIds].map((i) => this.searchOneProvider(i)) : [this.searchOneProvider(t, (s = (r = this.resultsBySearchProvider[t]) == null ? void 0 : r.cursor) != null ? s : null)];
611
- return Promise.allSettled(e).then((i) => {
612
- !!i.find((l) => l.status === "rejected" && (l.reason.name === "CanceledError" || l.reason.code === "ERR_CANCELED")) || (this.searching = !1, this.searchingMoreOf = null);
606
+ const e = t === null ? [...this.searchProviderIds].map((r) => this.searchOneProvider(r)) : [this.searchOneProvider(t, this.resultsBySearchProvider[t]?.cursor ?? null)];
607
+ return Promise.allSettled(e).then((r) => {
608
+ !!r.find((i) => i.status === "rejected" && (i.reason.name === "CanceledError" || i.reason.code === "ERR_CANCELED")) || (this.searching = !1, this.searchingMoreOf = null);
613
609
  });
614
610
  },
615
611
  searchOneProvider(t, e = null) {
616
- const r = e === null ? _("search/providers/{providerId}/search?term={term}&limit={limit}", { providerId: t, term: this.searchQuery, limit: k }) : _("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}", { providerId: t, term: this.searchQuery, limit: k, cursor: e });
617
- return p.get(r, {
612
+ const r = e === null ? p("search/providers/{providerId}/search?term={term}&limit={limit}", { providerId: t, term: this.searchQuery, limit: y }) : p("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}", { providerId: t, term: this.searchQuery, limit: y, cursor: e });
613
+ return f.get(r, {
618
614
  signal: this.abortController.signal
619
615
  }).then((s) => {
620
616
  const i = s.data.ocs.data;
@@ -623,7 +619,7 @@ const k = 5, Re = {
623
619
  }
624
620
  }
625
621
  };
626
- var xe = function() {
622
+ var Me = function() {
627
623
  var e = this, r = e._self._c;
628
624
  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(s) {
629
625
  return [s.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: s.resourceUrl })) + " ")])], 1) : s.resourceUrl ? r("NcSearchResult", { staticClass: "search-result", attrs: { entry: s, query: e.searchQuery } }) : s.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(s.name))])])]) : s.isMore ? r("span", { class: { "custom-option": !0 } }, [s.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: s.name })) + " ")])], 1) : e._e()];
@@ -634,29 +630,28 @@ var xe = function() {
634
630
  }, expression: "selectedResult" } }), e.showEmptyContent ? r("NcEmptyContent", { staticClass: "smart-picker-search--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
635
631
  return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { alt: e.providerIconAlt, src: e.provider.icon_url } }) : r("LinkVariantIcon")];
636
632
  }, proxy: !0 }], null, !1, 2922132592) }) : e._e()], 1);
637
- }, $e = [], Le = /* @__PURE__ */ c(
638
- Re,
639
- xe,
640
- $e,
633
+ }, Ve = [], We = /* @__PURE__ */ o(
634
+ Be,
635
+ Me,
636
+ Ve,
641
637
  !1,
642
638
  null,
643
639
  "97d196f0",
644
640
  null,
645
641
  null
646
642
  );
647
- const Ne = Le.exports;
648
- const d = {
643
+ const qe = We.exports, u = {
649
644
  providerList: 1,
650
645
  standardLinkInput: 2,
651
646
  searchInput: 3,
652
647
  customElement: 4
653
- }, Ee = {
648
+ }, Te = {
654
649
  name: "NcReferencePicker",
655
650
  components: {
656
- NcCustomPickerElement: re,
657
- NcProviderList: me,
658
- NcRawLinkInput: ke,
659
- NcSearch: Ne
651
+ NcCustomPickerElement: ue,
652
+ NcProviderList: we,
653
+ NcRawLinkInput: Le,
654
+ NcSearch: qe
660
655
  },
661
656
  props: {
662
657
  /**
@@ -693,13 +688,13 @@ const d = {
693
688
  ],
694
689
  data() {
695
690
  return {
696
- MODES: d,
691
+ MODES: u,
697
692
  selectedProvider: this.initialProvider
698
693
  };
699
694
  },
700
695
  computed: {
701
696
  mode() {
702
- return this.selectedProvider === null ? d.providerList : h(this.selectedProvider.id) ? d.customElement : this.selectedProvider.search_providers_ids ? d.searchInput : d.standardLinkInput;
697
+ return this.selectedProvider === null ? u.providerList : d(this.selectedProvider.id) ? u.customElement : this.selectedProvider.search_providers_ids ? u.searchInput : u.standardLinkInput;
703
698
  },
704
699
  pickerWrapperStyle() {
705
700
  return {
@@ -709,11 +704,9 @@ const d = {
709
704
  },
710
705
  mounted() {
711
706
  this.focusOnCreate && (this.initialProvider ? setTimeout(() => {
712
- var t;
713
- (t = this.$refs["url-input"]) == null || t.focus();
707
+ this.$refs["url-input"]?.focus();
714
708
  }, 300) : this.$nextTick(() => {
715
- var t;
716
- (t = this.$refs["provider-list"]) == null || t.focus();
709
+ this.$refs["provider-list"]?.focus();
717
710
  }));
718
711
  },
719
712
  methods: {
@@ -722,59 +715,56 @@ const d = {
722
715
  },
723
716
  onProviderSelected(t) {
724
717
  this.selectedProvider = t, this.$emit("provider-selected", t), this.$nextTick(() => {
725
- var e;
726
- (e = this.$refs["url-input"]) == null || e.focus();
718
+ this.$refs["url-input"]?.focus();
727
719
  });
728
720
  },
729
721
  cancelCustomElement() {
730
722
  this.deselectProvider();
731
723
  },
732
724
  cancelSearch() {
733
- var t;
734
- this.$emit("cancel-search", (t = this.selectedProvider) == null ? void 0 : t.title), this.deselectProvider();
725
+ this.$emit("cancel-search", this.selectedProvider?.title), this.deselectProvider();
735
726
  },
736
727
  cancelRawLinkInput() {
737
- var t;
738
- this.$emit("cancel-raw-link", (t = this.selectedProvider) == null ? void 0 : t.title), this.deselectProvider();
728
+ this.$emit("cancel-raw-link", this.selectedProvider?.title), this.deselectProvider();
739
729
  },
740
730
  cancelProviderSelection() {
741
731
  this.$emit("cancel");
742
732
  },
743
733
  submitLink(t) {
744
- this.selectedProvider !== null && oe(this.selectedProvider.id), this.$emit("submit", t), this.deselectProvider();
734
+ this.selectedProvider !== null && pe(this.selectedProvider.id), this.$emit("submit", t), this.deselectProvider();
745
735
  },
746
736
  deselectProvider() {
747
737
  this.selectedProvider = null, this.$emit("provider-selected", null), setTimeout(() => {
748
- var t;
749
- (t = this.$refs["provider-list"]) == null || t.focus();
738
+ this.$refs["provider-list"]?.focus();
750
739
  }, 300);
751
740
  }
752
741
  }
753
742
  };
754
- var Ie = function() {
743
+ var je = function() {
755
744
  var e = this, r = e._self._c;
756
745
  return r("div", { staticClass: "reference-picker", style: e.pickerWrapperStyle, attrs: { tabindex: "-1" }, on: { keydown: function(s) {
757
746
  return !s.type.indexOf("key") && e._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : (s.stopPropagation(), s.preventDefault(), e.onEscapePressed.apply(null, arguments));
758
747
  } } }, [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);
759
- }, Oe = [], Be = /* @__PURE__ */ c(
760
- Ee,
761
- Ie,
762
- Oe,
748
+ }, ze = [], De = /* @__PURE__ */ o(
749
+ Te,
750
+ je,
751
+ ze,
763
752
  !1,
764
753
  null,
765
754
  "aa77d0d3",
766
755
  null,
767
756
  null
768
757
  );
769
- const Me = Be.exports;
770
- const Ve = {
758
+ const Ae = De.exports;
759
+ h(V, M);
760
+ const Fe = {
771
761
  name: "NcReferencePickerModal",
772
762
  components: {
773
- NcReferencePicker: Me,
774
- NcModal: B,
775
- NcButton: O,
776
- ArrowLeftIcon: V,
777
- CloseIcon: W
763
+ NcReferencePicker: Ae,
764
+ NcModal: D,
765
+ NcButton: z,
766
+ ArrowLeftIcon: F,
767
+ CloseIcon: Q
778
768
  },
779
769
  props: {
780
770
  /**
@@ -821,11 +811,10 @@ const Ve = {
821
811
  return this.initialProvider === null && this.isProviderSelected;
822
812
  },
823
813
  modalSize() {
824
- var t;
825
- return this.isProviderSelected && h(this.selectedProvider.id) ? (t = H(this.selectedProvider.id)) != null ? t : "large" : "normal";
814
+ return this.isProviderSelected && d(this.selectedProvider.id) ? re(this.selectedProvider.id) ?? "large" : "normal";
826
815
  },
827
816
  showModalName() {
828
- return !this.isProviderSelected || !h(this.selectedProvider.id);
817
+ return !this.isProviderSelected || !d(this.selectedProvider.id);
829
818
  },
830
819
  modalName() {
831
820
  return this.isProviderSelected ? this.selectedProvider.title : n("Smart Picker");
@@ -834,7 +823,7 @@ const Ve = {
834
823
  mounted() {
835
824
  if (this.isInsideViewer) {
836
825
  const t = this.$refs.modal_content;
837
- M("viewer:trapElements:changed", t);
826
+ A("viewer:trapElements:changed", t);
838
827
  }
839
828
  },
840
829
  methods: {
@@ -852,58 +841,57 @@ const Ve = {
852
841
  }
853
842
  }
854
843
  };
855
- var We = function() {
844
+ var Qe = function() {
856
845
  var e = this, r = e._self._c;
857
846
  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() {
858
847
  return [r("ArrowLeftIcon")];
859
848
  }, 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() {
860
849
  return [r("CloseIcon")];
861
850
  }, 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();
862
- }, qe = [], Te = /* @__PURE__ */ c(
863
- Ve,
864
- We,
865
- qe,
851
+ }, Ue = [], Ge = /* @__PURE__ */ o(
852
+ Fe,
853
+ Qe,
854
+ Ue,
866
855
  !1,
867
856
  null,
868
857
  "3f1a4ac7",
869
858
  null,
870
859
  null
871
860
  );
872
- const je = Te.exports;
873
- async function ot(t = null, e = void 0) {
861
+ const He = Ge.exports;
862
+ async function pt(t = null, e = void 0) {
874
863
  return await new Promise((r, s) => {
875
- var g;
876
- const i = "referencePickerModal", o = document.createElement("div");
877
- o.id = i, document.body.append(o);
878
- const l = t === null ? null : (g = se(t)) != null ? g : null, u = q.extend(je), a = new u({
864
+ const i = "referencePickerModal", c = document.createElement("div");
865
+ c.id = i, document.body.append(c);
866
+ const m = t === null ? null : de(t) ?? null, a = U.extend(He), l = new a({
879
867
  propsData: {
880
- initialProvider: l,
868
+ initialProvider: m,
881
869
  isInsideViewer: e
882
870
  }
883
- }).$mount(o);
884
- a.$on("cancel", () => {
885
- a.$destroy(), s(new Error("User cancellation"));
886
- }), a.$on("submit", ($) => {
887
- a.$destroy(), r($);
871
+ }).$mount(c);
872
+ l.$on("cancel", () => {
873
+ l.$destroy(), s(new Error("User cancellation"));
874
+ }), l.$on("submit", (x) => {
875
+ l.$destroy(), r(x);
888
876
  });
889
877
  });
890
878
  }
891
879
  export {
892
- G as N,
893
- Me as a,
894
- je as b,
895
- Ne as c,
896
- z as d,
897
- nt as e,
898
- Z as f,
899
- J as g,
900
- h,
901
- T as i,
902
- ot as j,
903
- b as k,
904
- se as l,
880
+ te as N,
881
+ Ae as a,
882
+ He as b,
883
+ qe as c,
884
+ Z as d,
885
+ mt as e,
886
+ se as f,
887
+ ie as g,
888
+ d as h,
889
+ G as i,
890
+ pt as j,
891
+ S as k,
892
+ de as l,
905
893
  R as m,
906
- ne as n,
907
- j as r,
908
- ie as s
894
+ me as n,
895
+ H as r,
896
+ he as s
909
897
  };