@nextcloud/vue 8.0.0-beta.9 → 8.0.1

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 (292) hide show
  1. package/CHANGELOG.md +52 -2
  2. package/dist/Components/NcActionButton.cjs +23 -12
  3. package/dist/Components/NcActionButton.cjs.map +1 -1
  4. package/dist/Components/NcActionButton.mjs +21 -9
  5. package/dist/Components/NcActionButton.mjs.map +1 -1
  6. package/dist/Components/NcActionInput.cjs +1 -1
  7. package/dist/Components/NcActionInput.mjs +1 -1
  8. package/dist/Components/NcActionLink.cjs +1 -1
  9. package/dist/Components/NcActionLink.mjs +1 -1
  10. package/dist/Components/NcActionRouter.cjs +1 -1
  11. package/dist/Components/NcActionRouter.mjs +1 -1
  12. package/dist/Components/NcActionText.cjs +1 -1
  13. package/dist/Components/NcActionText.mjs +1 -1
  14. package/dist/Components/NcActionTextEditable.cjs +10 -10
  15. package/dist/Components/NcActionTextEditable.cjs.map +1 -1
  16. package/dist/Components/NcActionTextEditable.mjs +1 -1
  17. package/dist/Components/NcActions.cjs +55 -52
  18. package/dist/Components/NcActions.cjs.map +1 -1
  19. package/dist/Components/NcActions.mjs +44 -41
  20. package/dist/Components/NcActions.mjs.map +1 -1
  21. package/dist/Components/NcAppContent.cjs +19 -20
  22. package/dist/Components/NcAppContent.cjs.map +1 -1
  23. package/dist/Components/NcAppContent.mjs +8 -8
  24. package/dist/Components/NcAppContent.mjs.map +1 -1
  25. package/dist/Components/NcAppNavigation.cjs +58 -27
  26. package/dist/Components/NcAppNavigation.cjs.map +1 -1
  27. package/dist/Components/NcAppNavigation.mjs +67 -34
  28. package/dist/Components/NcAppNavigation.mjs.map +1 -1
  29. package/dist/Components/NcAppNavigationItem.cjs +166 -62
  30. package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
  31. package/dist/Components/NcAppNavigationItem.mjs +145 -43
  32. package/dist/Components/NcAppNavigationItem.mjs.map +1 -1
  33. package/dist/Components/NcAppNavigationNew.cjs +6 -6
  34. package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
  35. package/dist/Components/NcAppNavigationNew.mjs +17 -17
  36. package/dist/Components/NcAppNavigationNew.mjs.map +1 -1
  37. package/dist/Components/NcAppNavigationNewItem.cjs +7 -7
  38. package/dist/Components/NcAppNavigationNewItem.cjs.map +1 -1
  39. package/dist/Components/NcAppNavigationNewItem.mjs +5 -5
  40. package/dist/Components/NcAppNavigationNewItem.mjs.map +1 -1
  41. package/dist/Components/NcAppNavigationSettings.cjs +46 -14
  42. package/dist/Components/NcAppNavigationSettings.cjs.map +1 -1
  43. package/dist/Components/NcAppNavigationSettings.mjs +48 -16
  44. package/dist/Components/NcAppNavigationSettings.mjs.map +1 -1
  45. package/dist/Components/NcAppNavigationToggle.cjs +1 -1
  46. package/dist/Components/NcAppNavigationToggle.mjs +1 -1
  47. package/dist/Components/NcAppSettingsDialog.cjs +75 -54
  48. package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
  49. package/dist/Components/NcAppSettingsDialog.mjs +79 -57
  50. package/dist/Components/NcAppSettingsDialog.mjs.map +1 -1
  51. package/dist/Components/NcAppSettingsSection.cjs +29 -10
  52. package/dist/Components/NcAppSettingsSection.cjs.map +1 -1
  53. package/dist/Components/NcAppSettingsSection.mjs +29 -10
  54. package/dist/Components/NcAppSettingsSection.mjs.map +1 -1
  55. package/dist/Components/NcAppSidebar.cjs +99 -33
  56. package/dist/Components/NcAppSidebar.cjs.map +1 -1
  57. package/dist/Components/NcAppSidebar.mjs +156 -92
  58. package/dist/Components/NcAppSidebar.mjs.map +1 -1
  59. package/dist/Components/NcAppSidebarTab.cjs +7 -7
  60. package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
  61. package/dist/Components/NcAppSidebarTab.mjs +6 -6
  62. package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
  63. package/dist/Components/NcAvatar.cjs +1 -1
  64. package/dist/Components/NcAvatar.mjs +1 -1
  65. package/dist/Components/NcBreadcrumb.cjs +10 -10
  66. package/dist/Components/NcBreadcrumb.cjs.map +1 -1
  67. package/dist/Components/NcBreadcrumb.mjs +1 -1
  68. package/dist/Components/NcBreadcrumbs.cjs +85 -53
  69. package/dist/Components/NcBreadcrumbs.cjs.map +1 -1
  70. package/dist/Components/NcBreadcrumbs.mjs +91 -60
  71. package/dist/Components/NcBreadcrumbs.mjs.map +1 -1
  72. package/dist/Components/NcButton.cjs +25 -25
  73. package/dist/Components/NcButton.cjs.map +1 -1
  74. package/dist/Components/NcButton.mjs +25 -25
  75. package/dist/Components/NcButton.mjs.map +1 -1
  76. package/dist/Components/NcCheckboxRadioSwitch.cjs +305 -67
  77. package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
  78. package/dist/Components/NcCheckboxRadioSwitch.mjs +307 -75
  79. package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
  80. package/dist/Components/NcColorPicker.cjs +18 -18
  81. package/dist/Components/NcColorPicker.cjs.map +1 -1
  82. package/dist/Components/NcColorPicker.mjs +17 -17
  83. package/dist/Components/NcColorPicker.mjs.map +1 -1
  84. package/dist/Components/NcCounterBubble.cjs +6 -6
  85. package/dist/Components/NcCounterBubble.cjs.map +1 -1
  86. package/dist/Components/NcCounterBubble.mjs +2 -2
  87. package/dist/Components/NcCounterBubble.mjs.map +1 -1
  88. package/dist/Components/NcDashboardWidget.cjs +30 -30
  89. package/dist/Components/NcDashboardWidget.cjs.map +1 -1
  90. package/dist/Components/NcDashboardWidget.mjs +3 -3
  91. package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
  92. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  93. package/dist/Components/NcDateTime.cjs +1 -1
  94. package/dist/Components/NcDateTime.mjs +1 -1
  95. package/dist/Components/NcDateTimePicker.cjs +109 -44
  96. package/dist/Components/NcDateTimePicker.cjs.map +1 -1
  97. package/dist/Components/NcDateTimePicker.mjs +115 -52
  98. package/dist/Components/NcDateTimePicker.mjs.map +1 -1
  99. package/dist/Components/NcDateTimePickerNative.cjs +1 -1
  100. package/dist/Components/NcDateTimePickerNative.mjs +1 -1
  101. package/dist/Components/NcDialogButton.cjs +11 -11
  102. package/dist/Components/NcDialogButton.cjs.map +1 -1
  103. package/dist/Components/NcDialogButton.mjs +14 -14
  104. package/dist/Components/NcDialogButton.mjs.map +1 -1
  105. package/dist/Components/NcEmojiPicker.cjs +1 -1
  106. package/dist/Components/NcEmojiPicker.mjs +1 -1
  107. package/dist/Components/NcEmptyContent.cjs +14 -14
  108. package/dist/Components/NcEmptyContent.cjs.map +1 -1
  109. package/dist/Components/NcEmptyContent.mjs +7 -7
  110. package/dist/Components/NcEmptyContent.mjs.map +1 -1
  111. package/dist/Components/NcInputField.cjs +16 -16
  112. package/dist/Components/NcInputField.cjs.map +1 -1
  113. package/dist/Components/NcInputField.mjs +5 -5
  114. package/dist/Components/NcInputField.mjs.map +1 -1
  115. package/dist/Components/NcListItem.cjs +3 -3
  116. package/dist/Components/NcListItem.cjs.map +1 -1
  117. package/dist/Components/NcListItem.mjs +3 -3
  118. package/dist/Components/NcListItem.mjs.map +1 -1
  119. package/dist/Components/NcListItemIcon.cjs +1 -1
  120. package/dist/Components/NcListItemIcon.mjs +1 -1
  121. package/dist/Components/NcModal.cjs +165 -68
  122. package/dist/Components/NcModal.cjs.map +1 -1
  123. package/dist/Components/NcModal.mjs +129 -35
  124. package/dist/Components/NcModal.mjs.map +1 -1
  125. package/dist/Components/NcNoteCard.cjs +146 -18
  126. package/dist/Components/NcNoteCard.cjs.map +1 -1
  127. package/dist/Components/NcNoteCard.mjs +146 -21
  128. package/dist/Components/NcNoteCard.mjs.map +1 -1
  129. package/dist/Components/NcPasswordField.cjs +84 -20
  130. package/dist/Components/NcPasswordField.cjs.map +1 -1
  131. package/dist/Components/NcPasswordField.mjs +104 -42
  132. package/dist/Components/NcPasswordField.mjs.map +1 -1
  133. package/dist/Components/NcRelatedResourcesPanel.cjs +48 -31
  134. package/dist/Components/NcRelatedResourcesPanel.cjs.map +1 -1
  135. package/dist/Components/NcRelatedResourcesPanel.mjs +31 -14
  136. package/dist/Components/NcRelatedResourcesPanel.mjs.map +1 -1
  137. package/dist/Components/NcRichContenteditable.cjs +22 -18
  138. package/dist/Components/NcRichContenteditable.cjs.map +1 -1
  139. package/dist/Components/NcRichContenteditable.mjs +32 -28
  140. package/dist/Components/NcRichContenteditable.mjs.map +1 -1
  141. package/dist/Components/NcRichText.cjs +1 -1
  142. package/dist/Components/NcRichText.mjs +3 -3
  143. package/dist/Components/NcSelect.cjs +80 -57
  144. package/dist/Components/NcSelect.cjs.map +1 -1
  145. package/dist/Components/NcSelect.mjs +75 -50
  146. package/dist/Components/NcSelect.mjs.map +1 -1
  147. package/dist/Components/NcSelectTags.cjs +2 -2
  148. package/dist/Components/NcSelectTags.cjs.map +1 -1
  149. package/dist/Components/NcSelectTags.mjs +4 -4
  150. package/dist/Components/NcSelectTags.mjs.map +1 -1
  151. package/dist/Components/NcSettingsInputText.cjs +1 -1
  152. package/dist/Components/NcSettingsInputText.mjs +1 -1
  153. package/dist/Components/NcSettingsSection.cjs +46 -14
  154. package/dist/Components/NcSettingsSection.cjs.map +1 -1
  155. package/dist/Components/NcSettingsSection.mjs +44 -12
  156. package/dist/Components/NcSettingsSection.mjs.map +1 -1
  157. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  158. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  159. package/dist/Components/NcTextArea.cjs +14 -14
  160. package/dist/Components/NcTextArea.cjs.map +1 -1
  161. package/dist/Components/NcTextArea.mjs +6 -6
  162. package/dist/Components/NcTextArea.mjs.map +1 -1
  163. package/dist/Components/NcTextField.cjs +51 -19
  164. package/dist/Components/NcTextField.cjs.map +1 -1
  165. package/dist/Components/NcTextField.mjs +59 -28
  166. package/dist/Components/NcTextField.mjs.map +1 -1
  167. package/dist/Components/NcTimezonePicker.cjs +32 -24
  168. package/dist/Components/NcTimezonePicker.cjs.map +1 -1
  169. package/dist/Components/NcTimezonePicker.mjs +36 -27
  170. package/dist/Components/NcTimezonePicker.mjs.map +1 -1
  171. package/dist/Components/NcUserBubble.cjs +24 -20
  172. package/dist/Components/NcUserBubble.cjs.map +1 -1
  173. package/dist/Components/NcUserBubble.mjs +25 -20
  174. package/dist/Components/NcUserBubble.mjs.map +1 -1
  175. package/dist/assets/{NcAppNavigationToggle-2cc5b864.css → NcAppNavigationToggle-9e170630.css} +3 -2
  176. package/dist/assets/{NcInputConfirmCancel-2ba60a52.css → NcInputConfirmCancel-45d1d76b.css} +7 -7
  177. package/dist/assets/{index-af72a30b.css → index-05760fea.css} +5 -1
  178. package/dist/assets/{index-30e099f7.css → index-0ac09203.css} +3 -3
  179. package/dist/assets/{index-eea65531.css → index-0e9b11c7.css} +20 -16
  180. package/dist/assets/{index-7813bab3.css → index-17673ea1.css} +7 -9
  181. package/dist/assets/{index-1151d229.css → index-1f25a3c0.css} +3 -3
  182. package/dist/assets/{index-9dcf6260.css → index-2e5e3b55.css} +30 -30
  183. package/dist/assets/{index-ed4adf1d.css → index-4271da53.css} +18 -17
  184. package/dist/assets/{index-abb90c97.css → index-4e03d941.css} +48 -48
  185. package/dist/assets/{index-4b75fe20.css → index-55600948.css} +11 -11
  186. package/dist/assets/{index-236620b0.css → index-6899d75b.css} +29 -29
  187. package/dist/assets/{index-5ee8a575.css → index-73ded07b.css} +63 -63
  188. package/dist/assets/{index-1beccc92.css → index-750c02cc.css} +28 -10
  189. package/dist/assets/{index-9e9587e1.css → index-77a548be.css} +4 -4
  190. package/dist/assets/{index-c5ae3bc4.css → index-7d211db9.css} +11 -11
  191. package/dist/assets/{index-8304db49.css → index-802d2118.css} +5 -1
  192. package/dist/assets/{index-a2d55f92.css → index-9176105d.css} +41 -41
  193. package/dist/assets/index-93bc89ef.css +197 -0
  194. package/dist/assets/{index-50b0766d.css → index-a0532427.css} +55 -70
  195. package/dist/assets/{index-e828b286.css → index-ab715d82.css} +4 -4
  196. package/dist/assets/{index-9e44e336.css → index-c221fe05.css} +9 -9
  197. package/dist/assets/{index-c6f0da2e.css → index-c239a2fc.css} +14 -8
  198. package/dist/assets/{index-73867d38.css → index-d3702c91.css} +5 -1
  199. package/dist/assets/{index-4a775ba1.css → index-d812ed9e.css} +43 -43
  200. package/dist/assets/{index-793eae6b.css → index-d9ae9479.css} +6 -6
  201. package/dist/assets/{index-f85aa003.css → index-db5a8b1c.css} +22 -10
  202. package/dist/assets/{index-574438d6.css → index-dea0aef3.css} +10 -10
  203. package/dist/assets/{index-0adc989c.css → index-ebbb7829.css} +9 -13
  204. package/dist/assets/{index-c06ad941.css → index-fbc0b606.css} +58 -42
  205. package/dist/chunks/AlertCircleOutline-7085c10f.cjs +35 -0
  206. package/dist/chunks/AlertCircleOutline-7085c10f.cjs.map +1 -0
  207. package/dist/chunks/AlertCircleOutline-b73838e0.mjs +37 -0
  208. package/dist/chunks/AlertCircleOutline-b73838e0.mjs.map +1 -0
  209. package/dist/chunks/ArrowLeft-2f9b9323.cjs +35 -0
  210. package/dist/chunks/ArrowLeft-2f9b9323.cjs.map +1 -0
  211. package/dist/chunks/ArrowLeft-3779ba88.mjs +37 -0
  212. package/dist/chunks/ArrowLeft-3779ba88.mjs.map +1 -0
  213. package/dist/chunks/ArrowRight-7315f6c1.cjs +35 -0
  214. package/dist/chunks/ArrowRight-7315f6c1.cjs.map +1 -0
  215. package/dist/chunks/ArrowRight-74a9fcb2.mjs +37 -0
  216. package/dist/chunks/ArrowRight-74a9fcb2.mjs.map +1 -0
  217. package/dist/chunks/Check-2ea0a88a.mjs +37 -0
  218. package/dist/chunks/Check-2ea0a88a.mjs.map +1 -0
  219. package/dist/chunks/Check-be8cd6af.cjs +35 -0
  220. package/dist/chunks/Check-be8cd6af.cjs.map +1 -0
  221. package/dist/chunks/ChevronDown-a72d365d.mjs +37 -0
  222. package/dist/chunks/ChevronDown-a72d365d.mjs.map +1 -0
  223. package/dist/chunks/ChevronDown-dc32e51d.cjs +35 -0
  224. package/dist/chunks/ChevronDown-dc32e51d.cjs.map +1 -0
  225. package/dist/chunks/ChevronRight-1a6a6cf2.mjs +37 -0
  226. package/dist/chunks/ChevronRight-1a6a6cf2.mjs.map +1 -0
  227. package/dist/chunks/ChevronRight-a4c1e0d3.cjs +35 -0
  228. package/dist/chunks/ChevronRight-a4c1e0d3.cjs.map +1 -0
  229. package/dist/chunks/Close-271f72e2.mjs +37 -0
  230. package/dist/chunks/Close-271f72e2.mjs.map +1 -0
  231. package/dist/chunks/Close-98cb6f12.cjs +35 -0
  232. package/dist/chunks/Close-98cb6f12.cjs.map +1 -0
  233. package/dist/chunks/DotsHorizontal-0ee7d901.mjs +37 -0
  234. package/dist/chunks/DotsHorizontal-0ee7d901.mjs.map +1 -0
  235. package/dist/chunks/DotsHorizontal-ac96129a.cjs +35 -0
  236. package/dist/chunks/DotsHorizontal-ac96129a.cjs.map +1 -0
  237. package/dist/chunks/NcAppNavigationToggle-60664a28.cjs +113 -0
  238. package/dist/chunks/NcAppNavigationToggle-60664a28.cjs.map +1 -0
  239. package/dist/chunks/NcAppNavigationToggle-82764816.mjs +118 -0
  240. package/dist/chunks/NcAppNavigationToggle-82764816.mjs.map +1 -0
  241. package/dist/chunks/NcInputConfirmCancel-262d455f.cjs +90 -0
  242. package/dist/chunks/{NcInputConfirmCancel-44052477.mjs.map → NcInputConfirmCancel-262d455f.cjs.map} +1 -1
  243. package/dist/chunks/{NcInputConfirmCancel-44052477.mjs → NcInputConfirmCancel-906c7816.mjs} +11 -11
  244. package/dist/chunks/{NcInputConfirmCancel-6bea0fdc.cjs.map → NcInputConfirmCancel-906c7816.mjs.map} +1 -1
  245. package/dist/chunks/{NcRichText-8fda53c8.mjs → NcRichText-1e8fd02d.mjs} +1 -1
  246. package/dist/chunks/{NcRichText-8fda53c8.mjs.map → NcRichText-1e8fd02d.mjs.map} +1 -1
  247. package/dist/chunks/{NcRichText-332fe454.cjs → NcRichText-ae95c854.cjs} +1 -1
  248. package/dist/chunks/{NcRichText-332fe454.cjs.map → NcRichText-ae95c854.cjs.map} +1 -1
  249. package/dist/chunks/{NcSettingsSelectGroup-fdd3309c.mjs → NcSettingsSelectGroup-ae323579.mjs} +2 -2
  250. package/dist/chunks/{NcSettingsSelectGroup-fdd3309c.mjs.map → NcSettingsSelectGroup-ae323579.mjs.map} +1 -1
  251. package/dist/chunks/{NcSettingsSelectGroup-a5ff8c36.cjs → NcSettingsSelectGroup-e8f9f9fe.cjs} +1 -1
  252. package/dist/chunks/{NcSettingsSelectGroup-a5ff8c36.cjs.map → NcSettingsSelectGroup-e8f9f9fe.cjs.map} +1 -1
  253. package/dist/chunks/{ScopeComponent-9519afcc.mjs → ScopeComponent-1ab1ebb9.mjs} +1 -1
  254. package/dist/chunks/{ScopeComponent-9519afcc.mjs.map → ScopeComponent-1ab1ebb9.mjs.map} +1 -1
  255. package/dist/chunks/{ScopeComponent-e060526a.cjs → ScopeComponent-50287dad.cjs} +1 -1
  256. package/dist/chunks/{ScopeComponent-e060526a.cjs.map → ScopeComponent-50287dad.cjs.map} +1 -1
  257. package/dist/chunks/{index-032137a6.cjs → index-e06b96d3.cjs} +56 -47
  258. package/dist/chunks/index-e06b96d3.cjs.map +1 -0
  259. package/dist/chunks/{index-fb2ee22c.mjs → index-fbf943b3.mjs} +93 -84
  260. package/dist/chunks/index-fbf943b3.mjs.map +1 -0
  261. package/dist/chunks/{l10n-9aa6482d.mjs → l10n-9fc9974f.mjs} +1 -1
  262. package/dist/chunks/{l10n-9aa6482d.mjs.map → l10n-9fc9974f.mjs.map} +1 -1
  263. package/dist/chunks/{l10n-c7bd0ea6.cjs → l10n-ec2d3010.cjs} +1 -1
  264. package/dist/chunks/{l10n-c7bd0ea6.cjs.map → l10n-ec2d3010.cjs.map} +1 -1
  265. package/dist/chunks/l10n-f491109d.cjs +29 -0
  266. package/dist/chunks/l10n-f491109d.cjs.map +1 -0
  267. package/dist/chunks/l10n-f692947e.mjs +31 -0
  268. package/dist/chunks/l10n-f692947e.mjs.map +1 -0
  269. package/dist/chunks/{referencePickerModal-443a4c57.mjs → referencePickerModal-6bc8f6b9.mjs} +156 -124
  270. package/dist/chunks/referencePickerModal-6bc8f6b9.mjs.map +1 -0
  271. package/dist/chunks/{referencePickerModal-279a483d.cjs → referencePickerModal-e033bf2c.cjs} +144 -111
  272. package/dist/chunks/referencePickerModal-e033bf2c.cjs.map +1 -0
  273. package/dist/index.cjs +4 -8
  274. package/dist/index.cjs.map +1 -1
  275. package/dist/index.mjs +26 -30
  276. package/dist/index.mjs.map +1 -1
  277. package/dist/vendor.LICENSE.txt +5 -1
  278. package/package.json +3 -3
  279. package/dist/assets/index-d646553d.css +0 -41
  280. package/dist/chunks/NcAppNavigationToggle-841d3015.cjs +0 -49
  281. package/dist/chunks/NcAppNavigationToggle-841d3015.cjs.map +0 -1
  282. package/dist/chunks/NcAppNavigationToggle-e358aa47.mjs +0 -55
  283. package/dist/chunks/NcAppNavigationToggle-e358aa47.mjs.map +0 -1
  284. package/dist/chunks/NcInputConfirmCancel-6bea0fdc.cjs +0 -90
  285. package/dist/chunks/index-032137a6.cjs.map +0 -1
  286. package/dist/chunks/index-fb2ee22c.mjs.map +0 -1
  287. package/dist/chunks/l10n-05a09c66.mjs +0 -31
  288. package/dist/chunks/l10n-05a09c66.mjs.map +0 -1
  289. package/dist/chunks/l10n-b1d264c7.cjs +0 -29
  290. package/dist/chunks/l10n-b1d264c7.cjs.map +0 -1
  291. package/dist/chunks/referencePickerModal-279a483d.cjs.map +0 -1
  292. package/dist/chunks/referencePickerModal-443a4c57.mjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  var Ue = require("../assets/referencePickerModal-3a127978.css");
2
- const l = require("./_plugin-vue2_normalizer-7f9efb60.cjs"), n = require("./l10n-b1d264c7.cjs"), j = require("@nextcloud/axios"), b = require("@nextcloud/initial-state"), p = require("@nextcloud/router"), m = require("../Components/NcEmptyContent.cjs"), S = require("./index-e894376a.cjs"), R = require("../Components/NcSelect.cjs"), A = require("vue-material-design-icons/LinkVariant.vue"), H = require("../Components/NcLoadingIcon.cjs"), U = require("../Components/NcTextField.cjs"), F = require("vue-material-design-icons/DotsHorizontal.vue"), Q = require("../Components/NcButton.cjs"), G = require("../Components/NcModal.cjs"), J = require("@nextcloud/event-bus"), K = require("vue-material-design-icons/ArrowLeft.vue"), X = require("vue-material-design-icons/Close.vue"), Y = require("vue"), d = (t) => t && t.__esModule ? t : { default: t }, f = /* @__PURE__ */ d(j), v = /* @__PURE__ */ d(A), Z = /* @__PURE__ */ d(F), ee = /* @__PURE__ */ d(K), te = /* @__PURE__ */ d(X), re = /* @__PURE__ */ d(Y);
2
+ const c = require("./_plugin-vue2_normalizer-7f9efb60.cjs"), n = require("./l10n-f491109d.cjs"), j = require("@nextcloud/axios"), w = require("@nextcloud/initial-state"), _ = require("@nextcloud/router"), p = require("../Components/NcEmptyContent.cjs"), b = require("./index-e894376a.cjs"), S = require("../Components/NcSelect.cjs"), A = require("../Components/NcLoadingIcon.cjs"), H = require("../Components/NcTextField.cjs"), U = require("./DotsHorizontal-ac96129a.cjs"), F = require("../Components/NcButton.cjs"), Q = require("../Components/NcModal.cjs"), G = require("@nextcloud/event-bus"), Z = require("./ArrowLeft-2f9b9323.cjs"), J = require("./Close-98cb6f12.cjs"), K = require("vue"), R = (t) => t && t.__esModule ? t : { default: t }, m = /* @__PURE__ */ R(j), X = /* @__PURE__ */ R(K);
3
3
  window._vue_richtext_widgets || (window._vue_richtext_widgets = {});
4
- const N = (t) => !!window._vue_richtext_widgets[t], x = (t, e, r = (s) => {
4
+ const x = (t) => !!window._vue_richtext_widgets[t], N = (t, e, r = (s) => {
5
5
  }) => {
6
6
  if (window._vue_richtext_widgets[t]) {
7
7
  console.error("Widget for id " + t + " already registered");
@@ -20,11 +20,11 @@ const N = (t) => !!window._vue_richtext_widgets[t], x = (t, e, r = (s) => {
20
20
  }
21
21
  window._vue_richtext_widgets[e].callback(t, { richObjectType: e, richObject: r, accessible: s });
22
22
  }
23
- }, se = (t, e) => {
23
+ }, Y = (t, e) => {
24
24
  t !== "open-graph" && window._vue_richtext_widgets[t] && window._vue_richtext_widgets[t].onDestroy(e);
25
25
  };
26
- window._registerWidget = x;
27
- const ie = {
26
+ window._registerWidget = N;
27
+ const ee = {
28
28
  name: "NcReferenceWidget",
29
29
  props: {
30
30
  reference: {
@@ -39,7 +39,7 @@ const ie = {
39
39
  },
40
40
  computed: {
41
41
  hasCustomWidget() {
42
- return N(this.reference.richObjectType);
42
+ return x(this.reference.richObjectType);
43
43
  },
44
44
  noAccess() {
45
45
  return this.reference && !this.reference.accessible;
@@ -66,7 +66,7 @@ const ie = {
66
66
  }), this.observer.observe(this.$el);
67
67
  },
68
68
  beforeDestroy() {
69
- this.observer.disconnect(), se(this.reference.richObjectType, this.$el);
69
+ this.observer.disconnect(), Y(this.reference.richObjectType, this.$el);
70
70
  },
71
71
  methods: {
72
72
  renderWidget() {
@@ -77,22 +77,22 @@ const ie = {
77
77
  }
78
78
  }
79
79
  };
80
- var ne = function() {
80
+ var te = function() {
81
81
  var e = this, r = e._self._c;
82
82
  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()]);
83
- }, oe = [], ce = /* @__PURE__ */ l.normalizeComponent(
84
- ie,
85
- ne,
86
- oe,
83
+ }, re = [], se = /* @__PURE__ */ c.normalizeComponent(
84
+ ee,
85
+ te,
86
+ re,
87
87
  !1,
88
88
  null,
89
89
  "b1c5a80f",
90
90
  null,
91
91
  null
92
92
  );
93
- const $ = ce.exports;
93
+ const $ = se.exports;
94
94
  window._vue_richtext_custom_picker_elements || (window._vue_richtext_custom_picker_elements = {});
95
- class le {
95
+ class ie {
96
96
  /**
97
97
  * @param {HTMLElement} element The HTML element
98
98
  * @param {object} object The object
@@ -101,7 +101,7 @@ class le {
101
101
  this.element = e, this.object = r;
102
102
  }
103
103
  }
104
- const u = (t) => !!window._vue_richtext_custom_picker_elements[t], ae = (t) => {
104
+ const u = (t) => !!window._vue_richtext_custom_picker_elements[t], ne = (t) => {
105
105
  var r;
106
106
  const e = (r = window._vue_richtext_custom_picker_elements[t]) == null ? void 0 : r.size;
107
107
  return ["small", "normal", "large", "full"].includes(e) ? e : null;
@@ -123,11 +123,11 @@ const u = (t) => !!window._vue_richtext_custom_picker_elements[t], ae = (t) => {
123
123
  return;
124
124
  }
125
125
  return window._vue_richtext_custom_picker_elements[e].callback(t, { providerId: e, accessible: r });
126
- }, ue = (t, e, r) => {
126
+ }, oe = (t, e, r) => {
127
127
  window._vue_richtext_custom_picker_elements[t] && window._vue_richtext_custom_picker_elements[t].onDestroy(e, r);
128
128
  };
129
129
  window._registerCustomPickerElement = E;
130
- const de = {
130
+ const ce = {
131
131
  name: "NcCustomPickerElement",
132
132
  props: {
133
133
  /**
@@ -152,7 +152,7 @@ const de = {
152
152
  this.isRegistered && this.renderElement();
153
153
  },
154
154
  beforeDestroy() {
155
- this.isRegistered && ue(this.provider.id, this.$el, this.renderResult);
155
+ this.isRegistered && oe(this.provider.id, this.$el, this.renderResult);
156
156
  },
157
157
  methods: {
158
158
  renderElement() {
@@ -173,30 +173,30 @@ const de = {
173
173
  }
174
174
  }
175
175
  };
176
- var he = function() {
176
+ var le = function() {
177
177
  var e = this, r = e._self._c;
178
178
  return r("div", { ref: "domElement" });
179
- }, _e = [], pe = /* @__PURE__ */ l.normalizeComponent(
180
- de,
181
- he,
182
- _e,
179
+ }, ae = [], ue = /* @__PURE__ */ c.normalizeComponent(
180
+ ce,
181
+ le,
182
+ ae,
183
183
  !1,
184
184
  null,
185
185
  "cf695ff9",
186
186
  null,
187
187
  null
188
188
  );
189
- const me = pe.exports, g = "any-link", q = {
190
- id: g,
189
+ const de = ue.exports, f = "any-link", O = {
190
+ id: f,
191
191
  title: n.t("Any link"),
192
- icon_url: p.imagePath("core", "filetypes/link.svg")
192
+ icon_url: _.imagePath("core", "filetypes/link.svg")
193
193
  };
194
- window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers = b.loadState("core", "reference-provider-list", []));
195
- window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps = b.loadState("core", "reference-provider-timestamps", {}));
196
- function O(t) {
197
- return t === g ? q : y().find((e) => e.id === t);
194
+ window._vue_richtext_reference_providers || (window._vue_richtext_reference_providers = w.loadState("core", "reference-provider-list", []));
195
+ window._vue_richtext_reference_provider_timestamps || (window._vue_richtext_reference_provider_timestamps = w.loadState("core", "reference-provider-timestamps", {}));
196
+ function q(t) {
197
+ return t === f ? O : v().find((e) => e.id === t);
198
198
  }
199
- function y() {
199
+ function v() {
200
200
  return window._vue_richtext_reference_providers.filter((t) => {
201
201
  const e = !!t.search_providers_ids && t.search_providers_ids.length > 0 || u(t.id);
202
202
  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;
@@ -209,41 +209,74 @@ function B(t) {
209
209
  return i === o ? 0 : o === void 0 ? -1 : i === void 0 ? 1 : i > o ? -1 : 1;
210
210
  });
211
211
  }
212
- function W(t, e = null) {
213
- const r = y(), s = t.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(s, "i"), c = B(r).filter((a) => a.title.match(i)), h = e ? c.slice(0, e) : c;
214
- return (t === "" || h.length === 0) && h.push(q), h;
212
+ function M(t, e = null) {
213
+ const r = v(), s = t.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), i = new RegExp(s, "i"), l = B(r).filter((a) => a.title.match(i)), d = e ? l.slice(0, e) : l;
214
+ return (t === "" || d.length === 0) && d.push(O), d;
215
215
  }
216
- function fe(t) {
216
+ function he(t) {
217
217
  const e = Math.floor(Date.now() / 1e3), r = {
218
218
  timestamp: e
219
- }, s = p.generateOcsUrl("references/provider/{providerId}", { providerId: t });
220
- f.default.put(s, r).then((i) => {
219
+ }, s = _.generateOcsUrl("references/provider/{providerId}", { providerId: t });
220
+ m.default.put(s, r).then((i) => {
221
221
  window._vue_richtext_reference_provider_timestamps[t] = e;
222
222
  });
223
223
  }
224
- let C = 0;
225
- function M(t, e) {
224
+ let k = 0;
225
+ function W(t, e) {
226
226
  return function() {
227
227
  const r = this, s = arguments;
228
- clearTimeout(C), C = setTimeout(function() {
228
+ clearTimeout(k), k = setTimeout(function() {
229
229
  t.apply(r, s);
230
230
  }, e || 0);
231
231
  };
232
232
  }
233
- function k(t) {
233
+ function g(t) {
234
234
  try {
235
235
  return !!new URL(t);
236
236
  } catch {
237
237
  return !1;
238
238
  }
239
239
  }
240
+ const _e = {
241
+ name: "LinkVariantIcon",
242
+ emits: ["click"],
243
+ props: {
244
+ title: {
245
+ type: String
246
+ },
247
+ fillColor: {
248
+ type: String,
249
+ default: "currentColor"
250
+ },
251
+ size: {
252
+ type: Number,
253
+ default: 24
254
+ }
255
+ }
256
+ };
257
+ var pe = function() {
258
+ var e = this, r = e._self._c;
259
+ 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) {
260
+ return e.$emit("click", s);
261
+ } } }, "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()])])]);
262
+ }, me = [], fe = /* @__PURE__ */ c.normalizeComponent(
263
+ _e,
264
+ pe,
265
+ me,
266
+ !1,
267
+ null,
268
+ null,
269
+ null,
270
+ null
271
+ );
272
+ const y = fe.exports;
240
273
  const ve = {
241
274
  name: "NcProviderList",
242
275
  components: {
243
- NcSelect: R,
244
- NcHighlight: S.NcHighlight,
245
- NcEmptyContent: m,
246
- LinkVariantIcon: v.default
276
+ NcSelect: S,
277
+ NcHighlight: b.NcHighlight,
278
+ NcEmptyContent: p,
279
+ LinkVariantIcon: y
247
280
  },
248
281
  emits: [
249
282
  "select-provider",
@@ -260,11 +293,11 @@ const ve = {
260
293
  computed: {
261
294
  options() {
262
295
  const t = [];
263
- return this.query !== "" && k(this.query) && t.push({
296
+ return this.query !== "" && g(this.query) && t.push({
264
297
  id: this.query,
265
298
  title: this.query,
266
299
  isLink: !0
267
- }), t.push(...W(this.query)), t;
300
+ }), t.push(...M(this.query)), t;
268
301
  }
269
302
  },
270
303
  methods: {
@@ -291,7 +324,7 @@ var ge = function() {
291
324
  }, expression: "selectedProvider" } }), r("NcEmptyContent", { staticClass: "provider-list--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
292
325
  return [r("LinkVariantIcon")];
293
326
  }, proxy: !0 }]) })], 1);
294
- }, ye = [], ke = /* @__PURE__ */ l.normalizeComponent(
327
+ }, ye = [], Ce = /* @__PURE__ */ c.normalizeComponent(
295
328
  ve,
296
329
  ge,
297
330
  ye,
@@ -301,15 +334,15 @@ var ge = function() {
301
334
  null,
302
335
  null
303
336
  );
304
- const Pe = ke.exports;
305
- const Ce = {
337
+ const ke = Ce.exports;
338
+ const Pe = {
306
339
  name: "NcRawLinkInput",
307
340
  components: {
308
- LinkVariantIcon: v.default,
309
- NcEmptyContent: m,
310
- NcLoadingIcon: H,
341
+ LinkVariantIcon: y,
342
+ NcEmptyContent: p,
343
+ NcLoadingIcon: A,
311
344
  NcReferenceWidget: $,
312
- NcTextField: U
345
+ NcTextField: H
313
346
  },
314
347
  props: {
315
348
  /**
@@ -334,7 +367,7 @@ const Ce = {
334
367
  },
335
368
  computed: {
336
369
  isLinkValid() {
337
- return k(this.inputValue);
370
+ return g(this.inputValue);
338
371
  }
339
372
  },
340
373
  methods: {
@@ -350,12 +383,12 @@ const Ce = {
350
383
  this.inputValue = "", this.reference = null;
351
384
  },
352
385
  onInput() {
353
- this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid && M(() => {
386
+ this.reference = null, this.abortController && this.abortController.abort(), this.isLinkValid && W(() => {
354
387
  this.updateReference();
355
388
  }, 500)();
356
389
  },
357
390
  updateReference() {
358
- this.loading = !0, this.abortController = new AbortController(), f.default.get(p.generateOcsUrl("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
391
+ this.loading = !0, this.abortController = new AbortController(), m.default.get(_.generateOcsUrl("references/resolve", 2) + "?reference=" + encodeURIComponent(this.inputValue), {
359
392
  signal: this.abortController.signal
360
393
  }).then((t) => {
361
394
  this.reference = t.data.ocs.data.references[this.inputValue];
@@ -376,8 +409,8 @@ var we = function() {
376
409
  } } }, [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() {
377
410
  return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { src: e.provider.icon_url } }) : r("LinkVariantIcon")];
378
411
  }, proxy: !0 }]) })], 1);
379
- }, be = [], Se = /* @__PURE__ */ l.normalizeComponent(
380
- Ce,
412
+ }, be = [], Se = /* @__PURE__ */ c.normalizeComponent(
413
+ Pe,
381
414
  we,
382
415
  be,
383
416
  !1,
@@ -387,10 +420,10 @@ var we = function() {
387
420
  null
388
421
  );
389
422
  const Re = Se.exports;
390
- const Ne = {
423
+ const xe = {
391
424
  name: "NcSearchResult",
392
425
  components: {
393
- NcHighlight: S.NcHighlight
426
+ NcHighlight: b.NcHighlight
394
427
  },
395
428
  props: {
396
429
  /**
@@ -410,12 +443,12 @@ const Ne = {
410
443
  }
411
444
  }
412
445
  };
413
- var xe = function() {
446
+ var Ne = function() {
414
447
  var e = this, r = e._self._c;
415
448
  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)])]);
416
- }, Le = [], $e = /* @__PURE__ */ l.normalizeComponent(
417
- Ne,
449
+ }, Le = [], $e = /* @__PURE__ */ c.normalizeComponent(
418
450
  xe,
451
+ Ne,
419
452
  Le,
420
453
  !1,
421
454
  null,
@@ -424,13 +457,13 @@ var xe = function() {
424
457
  null
425
458
  );
426
459
  const Ee = $e.exports;
427
- const w = 5, Ie = {
460
+ const P = 5, Ie = {
428
461
  name: "NcSearch",
429
462
  components: {
430
- LinkVariantIcon: v.default,
431
- DotsHorizontalIcon: Z.default,
432
- NcEmptyContent: m,
433
- NcSelect: R,
463
+ LinkVariantIcon: y,
464
+ DotsHorizontalIcon: U.DotsHorizontal,
465
+ NcEmptyContent: p,
466
+ NcSelect: S,
434
467
  NcSearchResult: Ee
435
468
  },
436
469
  props: {
@@ -476,7 +509,7 @@ const w = 5, Ie = {
476
509
  if (this.searchQuery === "")
477
510
  return [];
478
511
  const t = [];
479
- return k(this.searchQuery) && t.push(this.rawLinkEntry), t.push(...this.formattedSearchResults), t;
512
+ return g(this.searchQuery) && t.push(this.rawLinkEntry), t.push(...this.formattedSearchResults), t;
480
513
  },
481
514
  rawLinkEntry() {
482
515
  return {
@@ -536,7 +569,7 @@ const w = 5, Ie = {
536
569
  this.abortController && this.abortController.abort();
537
570
  },
538
571
  onSearchInput(t, e) {
539
- this.searchQuery = t, M(() => {
572
+ this.searchQuery = t, W(() => {
540
573
  this.updateSearch();
541
574
  }, 500)();
542
575
  },
@@ -560,12 +593,12 @@ const w = 5, Ie = {
560
593
  this.abortController = new AbortController(), this.searching = !0;
561
594
  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)];
562
595
  return Promise.allSettled(e).then((i) => {
563
- !!i.find((c) => c.status === "rejected" && (c.reason.name === "CanceledError" || c.reason.code === "ERR_CANCELED")) || (this.searching = !1, this.searchingMoreOf = null);
596
+ !!i.find((l) => l.status === "rejected" && (l.reason.name === "CanceledError" || l.reason.code === "ERR_CANCELED")) || (this.searching = !1, this.searchingMoreOf = null);
564
597
  });
565
598
  },
566
599
  searchOneProvider(t, e = null) {
567
- const r = e === null ? p.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}", { providerId: t, term: this.searchQuery, limit: w }) : p.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}", { providerId: t, term: this.searchQuery, limit: w, cursor: e });
568
- return f.default.get(r, {
600
+ const r = e === null ? _.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}", { providerId: t, term: this.searchQuery, limit: P }) : _.generateOcsUrl("search/providers/{providerId}/search?term={term}&limit={limit}&cursor={cursor}", { providerId: t, term: this.searchQuery, limit: P, cursor: e });
601
+ return m.default.get(r, {
569
602
  signal: this.abortController.signal
570
603
  }).then((s) => {
571
604
  const i = s.data.ocs.data;
@@ -574,7 +607,7 @@ const w = 5, Ie = {
574
607
  }
575
608
  }
576
609
  };
577
- var qe = function() {
610
+ var Oe = function() {
578
611
  var e = this, r = e._self._c;
579
612
  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) {
580
613
  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()];
@@ -585,29 +618,29 @@ var qe = function() {
585
618
  }, expression: "selectedResult" } }), e.showEmptyContent ? r("NcEmptyContent", { staticClass: "smart-picker-search--empty-content", scopedSlots: e._u([{ key: "icon", fn: function() {
586
619
  return [e.provider.icon_url ? r("img", { staticClass: "provider-icon", attrs: { alt: e.providerIconAlt, src: e.provider.icon_url } }) : r("LinkVariantIcon")];
587
620
  }, proxy: !0 }], null, !1, 2922132592) }) : e._e()], 1);
588
- }, Oe = [], Be = /* @__PURE__ */ l.normalizeComponent(
621
+ }, qe = [], Be = /* @__PURE__ */ c.normalizeComponent(
589
622
  Ie,
590
- qe,
591
623
  Oe,
624
+ qe,
592
625
  !1,
593
626
  null,
594
627
  "97d196f0",
595
628
  null,
596
629
  null
597
630
  );
598
- const V = Be.exports;
599
- const _ = {
631
+ const z = Be.exports;
632
+ const h = {
600
633
  providerList: 1,
601
634
  standardLinkInput: 2,
602
635
  searchInput: 3,
603
636
  customElement: 4
604
- }, We = {
637
+ }, Me = {
605
638
  name: "NcReferencePicker",
606
639
  components: {
607
- NcCustomPickerElement: me,
608
- NcProviderList: Pe,
640
+ NcCustomPickerElement: de,
641
+ NcProviderList: ke,
609
642
  NcRawLinkInput: Re,
610
- NcSearch: V
643
+ NcSearch: z
611
644
  },
612
645
  props: {
613
646
  /**
@@ -644,13 +677,13 @@ const _ = {
644
677
  ],
645
678
  data() {
646
679
  return {
647
- MODES: _,
680
+ MODES: h,
648
681
  selectedProvider: this.initialProvider
649
682
  };
650
683
  },
651
684
  computed: {
652
685
  mode() {
653
- return this.selectedProvider === null ? _.providerList : u(this.selectedProvider.id) ? _.customElement : this.selectedProvider.search_providers_ids ? _.searchInput : _.standardLinkInput;
686
+ return this.selectedProvider === null ? h.providerList : u(this.selectedProvider.id) ? h.customElement : this.selectedProvider.search_providers_ids ? h.searchInput : h.standardLinkInput;
654
687
  },
655
688
  pickerWrapperStyle() {
656
689
  return {
@@ -692,7 +725,7 @@ const _ = {
692
725
  this.$emit("cancel");
693
726
  },
694
727
  submitLink(t) {
695
- this.selectedProvider !== null && fe(this.selectedProvider.id), this.$emit("submit", t), this.deselectProvider();
728
+ this.selectedProvider !== null && he(this.selectedProvider.id), this.$emit("submit", t), this.deselectProvider();
696
729
  },
697
730
  deselectProvider() {
698
731
  this.selectedProvider = null, this.$emit("provider-selected", null), setTimeout(() => {
@@ -702,30 +735,30 @@ const _ = {
702
735
  }
703
736
  }
704
737
  };
705
- var Me = function() {
738
+ var We = function() {
706
739
  var e = this, r = e._self._c;
707
740
  return r("div", { staticClass: "reference-picker", style: e.pickerWrapperStyle, attrs: { tabindex: "-1" }, on: { keydown: function(s) {
708
741
  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));
709
742
  } } }, [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);
710
- }, Ve = [], ze = /* @__PURE__ */ l.normalizeComponent(
711
- We,
743
+ }, ze = [], Ve = /* @__PURE__ */ c.normalizeComponent(
712
744
  Me,
713
- Ve,
745
+ We,
746
+ ze,
714
747
  !1,
715
748
  null,
716
749
  "aa77d0d3",
717
750
  null,
718
751
  null
719
752
  );
720
- const z = ze.exports;
753
+ const V = Ve.exports;
721
754
  const Te = {
722
755
  name: "NcReferencePickerModal",
723
756
  components: {
724
- NcReferencePicker: z,
725
- NcModal: G,
726
- NcButton: Q,
727
- ArrowLeftIcon: ee.default,
728
- CloseIcon: te.default
757
+ NcReferencePicker: V,
758
+ NcModal: Q,
759
+ NcButton: F,
760
+ ArrowLeftIcon: Z.ArrowLeft,
761
+ CloseIcon: J.Close
729
762
  },
730
763
  props: {
731
764
  /**
@@ -773,7 +806,7 @@ const Te = {
773
806
  },
774
807
  modalSize() {
775
808
  var t;
776
- return this.isProviderSelected && u(this.selectedProvider.id) ? (t = ae(this.selectedProvider.id)) != null ? t : "large" : "normal";
809
+ return this.isProviderSelected && u(this.selectedProvider.id) ? (t = ne(this.selectedProvider.id)) != null ? t : "large" : "normal";
777
810
  },
778
811
  showModalName() {
779
812
  return !this.isProviderSelected || !u(this.selectedProvider.id);
@@ -785,7 +818,7 @@ const Te = {
785
818
  mounted() {
786
819
  if (this.isInsideViewer) {
787
820
  const t = this.$refs.modal_content;
788
- J.emit("viewer:trapElements:changed", t);
821
+ G.emit("viewer:trapElements:changed", t);
789
822
  }
790
823
  },
791
824
  methods: {
@@ -810,7 +843,7 @@ var De = function() {
810
843
  }, 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() {
811
844
  return [r("CloseIcon")];
812
845
  }, 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();
813
- }, je = [], Ae = /* @__PURE__ */ l.normalizeComponent(
846
+ }, je = [], Ae = /* @__PURE__ */ c.normalizeComponent(
814
847
  Te,
815
848
  De,
816
849
  je,
@@ -823,12 +856,12 @@ var De = function() {
823
856
  const T = Ae.exports;
824
857
  async function He(t = null, e = void 0) {
825
858
  return await new Promise((r, s) => {
826
- var P;
859
+ var C;
827
860
  const i = "referencePickerModal", o = document.createElement("div");
828
861
  o.id = i, document.body.append(o);
829
- const c = t === null ? null : (P = O(t)) != null ? P : null, h = re.default.extend(T), a = new h({
862
+ const l = t === null ? null : (C = q(t)) != null ? C : null, d = X.default.extend(T), a = new d({
830
863
  propsData: {
831
- initialProvider: c,
864
+ initialProvider: l,
832
865
  isInsideViewer: e
833
866
  }
834
867
  }).$mount(o);
@@ -839,20 +872,20 @@ async function He(t = null, e = void 0) {
839
872
  });
840
873
  });
841
874
  }
842
- exports.NcCustomPickerRenderResult = le;
843
- exports.NcReferencePicker = z;
875
+ exports.NcCustomPickerRenderResult = ie;
876
+ exports.NcReferencePicker = V;
844
877
  exports.NcReferencePickerModal = T;
845
878
  exports.NcReferenceWidget = $;
846
- exports.NcSearch = V;
847
- exports.anyLinkProviderId = g;
879
+ exports.NcSearch = z;
880
+ exports.anyLinkProviderId = f;
848
881
  exports.getLinkWithPicker = He;
849
- exports.getProvider = O;
850
- exports.getProviders = y;
882
+ exports.getProvider = q;
883
+ exports.getProviders = v;
851
884
  exports.isCustomPickerElementRegistered = u;
852
- exports.isWidgetRegistered = N;
885
+ exports.isWidgetRegistered = x;
853
886
  exports.registerCustomPickerElement = E;
854
- exports.registerWidget = x;
887
+ exports.registerWidget = N;
855
888
  exports.renderCustomPickerElement = I;
856
889
  exports.renderWidget = L;
857
- exports.searchProvider = W;
890
+ exports.searchProvider = M;
858
891
  exports.sortProviders = B;