@nextcloud/vue 8.4.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 (647) hide show
  1. package/CHANGELOG.md +51 -0
  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 -45
  7. package/dist/Components/NcActionButtonGroup.cjs.map +1 -1
  8. package/dist/Components/NcActionButtonGroup.mjs +2 -48
  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 -234
  17. package/dist/Components/NcActionInput.cjs.map +1 -1
  18. package/dist/Components/NcActionInput.mjs +2 -242
  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 -222
  43. package/dist/Components/NcAppContent.cjs.map +1 -1
  44. package/dist/Components/NcAppContent.mjs +2 -230
  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 -498
  62. package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
  63. package/dist/Components/NcAppNavigationItem.mjs +2 -508
  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 -102
  73. package/dist/Components/NcAppNavigationSettings.cjs.map +1 -1
  74. package/dist/Components/NcAppNavigationSettings.mjs +2 -103
  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 -182
  82. package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
  83. package/dist/Components/NcAppSettingsDialog.mjs +2 -188
  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 -552
  90. package/dist/Components/NcAppSidebar.cjs.map +1 -1
  91. package/dist/Components/NcAppSidebar.mjs +2 -567
  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 -176
  100. package/dist/Components/NcBreadcrumb.cjs.map +1 -1
  101. package/dist/Components/NcBreadcrumb.mjs +2 -179
  102. package/dist/Components/NcBreadcrumb.mjs.map +1 -1
  103. package/dist/Components/NcBreadcrumbs.cjs +3 -411
  104. package/dist/Components/NcBreadcrumbs.cjs.map +1 -1
  105. package/dist/Components/NcBreadcrumbs.mjs +2 -420
  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 -600
  112. package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
  113. package/dist/Components/NcCheckboxRadioSwitch.mjs +2 -604
  114. package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
  115. package/dist/Components/NcColorPicker.cjs +3 -158
  116. package/dist/Components/NcColorPicker.cjs.map +1 -1
  117. package/dist/Components/NcColorPicker.mjs +2 -167
  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 -134
  127. package/dist/Components/NcDashboardWidget.cjs.map +1 -1
  128. package/dist/Components/NcDashboardWidget.mjs +2 -139
  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 -129
  135. package/dist/Components/NcDateTime.cjs.map +1 -1
  136. package/dist/Components/NcDateTime.mjs +2 -131
  137. package/dist/Components/NcDateTime.mjs.map +1 -1
  138. package/dist/Components/NcDateTimePicker.cjs +68 -50
  139. package/dist/Components/NcDateTimePicker.cjs.map +1 -1
  140. package/dist/Components/NcDateTimePicker.mjs +72 -53
  141. package/dist/Components/NcDateTimePicker.mjs.map +1 -1
  142. package/dist/Components/NcDateTimePickerNative.cjs +8 -9
  143. package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
  144. package/dist/Components/NcDateTimePickerNative.mjs +7 -7
  145. package/dist/Components/NcDialog.cjs +3 -172
  146. package/dist/Components/NcDialog.cjs.map +1 -1
  147. package/dist/Components/NcDialog.mjs +2 -177
  148. package/dist/Components/NcDialog.mjs.map +1 -1
  149. package/dist/Components/NcDialogButton.cjs +2 -68
  150. package/dist/Components/NcDialogButton.cjs.map +1 -1
  151. package/dist/Components/NcDialogButton.mjs +2 -72
  152. package/dist/Components/NcDialogButton.mjs.map +1 -1
  153. package/dist/Components/NcEllipsisedOption.cjs +4 -5
  154. package/dist/Components/NcEllipsisedOption.cjs.map +1 -1
  155. package/dist/Components/NcEllipsisedOption.mjs +14 -14
  156. package/dist/Components/NcEmojiPicker.cjs +3 -176
  157. package/dist/Components/NcEmojiPicker.cjs.map +1 -1
  158. package/dist/Components/NcEmojiPicker.mjs +2 -181
  159. package/dist/Components/NcEmojiPicker.mjs.map +1 -1
  160. package/dist/Components/NcEmptyContent.cjs +14 -16
  161. package/dist/Components/NcEmptyContent.cjs.map +1 -1
  162. package/dist/Components/NcEmptyContent.mjs +8 -9
  163. package/dist/Components/NcEmptyContent.mjs.map +1 -1
  164. package/dist/Components/NcGuestContent.cjs +8 -9
  165. package/dist/Components/NcGuestContent.cjs.map +1 -1
  166. package/dist/Components/NcGuestContent.mjs +7 -7
  167. package/dist/Components/NcHeaderMenu.cjs +3 -169
  168. package/dist/Components/NcHeaderMenu.cjs.map +1 -1
  169. package/dist/Components/NcHeaderMenu.mjs +2 -172
  170. package/dist/Components/NcHeaderMenu.mjs.map +1 -1
  171. package/dist/Components/NcHighlight.cjs +1 -1
  172. package/dist/Components/NcHighlight.mjs +1 -1
  173. package/dist/Components/NcIconSvgWrapper.cjs +3 -59
  174. package/dist/Components/NcIconSvgWrapper.cjs.map +1 -1
  175. package/dist/Components/NcIconSvgWrapper.mjs +2 -61
  176. package/dist/Components/NcIconSvgWrapper.mjs.map +1 -1
  177. package/dist/Components/NcInputField.cjs +7 -7
  178. package/dist/Components/NcInputField.cjs.map +1 -1
  179. package/dist/Components/NcInputField.mjs +10 -9
  180. package/dist/Components/NcInputField.mjs.map +1 -1
  181. package/dist/Components/NcListItem.cjs +3 -242
  182. package/dist/Components/NcListItem.cjs.map +1 -1
  183. package/dist/Components/NcListItem.mjs +2 -246
  184. package/dist/Components/NcListItem.mjs.map +1 -1
  185. package/dist/Components/NcListItemIcon.cjs +3 -160
  186. package/dist/Components/NcListItemIcon.cjs.map +1 -1
  187. package/dist/Components/NcListItemIcon.mjs +2 -162
  188. package/dist/Components/NcListItemIcon.mjs.map +1 -1
  189. package/dist/Components/NcLoadingIcon.cjs +9 -10
  190. package/dist/Components/NcLoadingIcon.cjs.map +1 -1
  191. package/dist/Components/NcLoadingIcon.mjs +10 -10
  192. package/dist/Components/NcModal.cjs +32 -24
  193. package/dist/Components/NcModal.cjs.map +1 -1
  194. package/dist/Components/NcModal.mjs +37 -29
  195. package/dist/Components/NcModal.mjs.map +1 -1
  196. package/dist/Components/NcNoteCard.cjs +8 -9
  197. package/dist/Components/NcNoteCard.cjs.map +1 -1
  198. package/dist/Components/NcNoteCard.mjs +8 -9
  199. package/dist/Components/NcNoteCard.mjs.map +1 -1
  200. package/dist/Components/NcPasswordField.cjs +2 -228
  201. package/dist/Components/NcPasswordField.cjs.map +1 -1
  202. package/dist/Components/NcPasswordField.mjs +2 -236
  203. package/dist/Components/NcPasswordField.mjs.map +1 -1
  204. package/dist/Components/NcPopover.cjs +3 -125
  205. package/dist/Components/NcPopover.cjs.map +1 -1
  206. package/dist/Components/NcPopover.mjs +2 -128
  207. package/dist/Components/NcPopover.mjs.map +1 -1
  208. package/dist/Components/NcProgressBar.cjs +3 -57
  209. package/dist/Components/NcProgressBar.cjs.map +1 -1
  210. package/dist/Components/NcProgressBar.mjs +2 -57
  211. package/dist/Components/NcProgressBar.mjs.map +1 -1
  212. package/dist/Components/NcRelatedResourcesPanel.cjs +3 -203
  213. package/dist/Components/NcRelatedResourcesPanel.cjs.map +1 -1
  214. package/dist/Components/NcRelatedResourcesPanel.mjs +2 -207
  215. package/dist/Components/NcRelatedResourcesPanel.mjs.map +1 -1
  216. package/dist/Components/NcRichContenteditable.cjs +5 -512
  217. package/dist/Components/NcRichContenteditable.cjs.map +1 -1
  218. package/dist/Components/NcRichContenteditable.mjs +5 -523
  219. package/dist/Components/NcRichContenteditable.mjs.map +1 -1
  220. package/dist/Components/NcRichText.cjs +1 -1
  221. package/dist/Components/NcRichText.mjs +3 -3
  222. package/dist/Components/NcSavingIndicatorIcon.cjs +2 -58
  223. package/dist/Components/NcSavingIndicatorIcon.cjs.map +1 -1
  224. package/dist/Components/NcSavingIndicatorIcon.mjs +2 -60
  225. package/dist/Components/NcSavingIndicatorIcon.mjs.map +1 -1
  226. package/dist/Components/NcSelect.cjs +3 -435
  227. package/dist/Components/NcSelect.cjs.map +1 -1
  228. package/dist/Components/NcSelect.mjs +2 -444
  229. package/dist/Components/NcSelect.mjs.map +1 -1
  230. package/dist/Components/NcSelectTags.cjs +2 -260
  231. package/dist/Components/NcSelectTags.cjs.map +1 -1
  232. package/dist/Components/NcSelectTags.mjs +2 -265
  233. package/dist/Components/NcSelectTags.mjs.map +1 -1
  234. package/dist/Components/NcSettingsInputText.cjs +3 -91
  235. package/dist/Components/NcSettingsInputText.cjs.map +1 -1
  236. package/dist/Components/NcSettingsInputText.mjs +2 -93
  237. package/dist/Components/NcSettingsInputText.mjs.map +1 -1
  238. package/dist/Components/NcSettingsSection.cjs +3 -96
  239. package/dist/Components/NcSettingsSection.cjs.map +1 -1
  240. package/dist/Components/NcSettingsSection.mjs +2 -97
  241. package/dist/Components/NcSettingsSection.mjs.map +1 -1
  242. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  243. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  244. package/dist/Components/NcTextArea.cjs +5 -6
  245. package/dist/Components/NcTextArea.cjs.map +1 -1
  246. package/dist/Components/NcTextArea.mjs +7 -7
  247. package/dist/Components/NcTextField.cjs +2 -139
  248. package/dist/Components/NcTextField.cjs.map +1 -1
  249. package/dist/Components/NcTextField.mjs +2 -144
  250. package/dist/Components/NcTextField.mjs.map +1 -1
  251. package/dist/Components/NcTimezonePicker.cjs +2 -7198
  252. package/dist/Components/NcTimezonePicker.cjs.map +1 -1
  253. package/dist/Components/NcTimezonePicker.mjs +2 -7203
  254. package/dist/Components/NcTimezonePicker.mjs.map +1 -1
  255. package/dist/Components/NcUserBubble.cjs +3 -193
  256. package/dist/Components/NcUserBubble.cjs.map +1 -1
  257. package/dist/Components/NcUserBubble.mjs +2 -197
  258. package/dist/Components/NcUserBubble.mjs.map +1 -1
  259. package/dist/Components/NcUserStatusIcon.cjs +3 -0
  260. package/dist/Components/NcUserStatusIcon.cjs.map +1 -0
  261. package/dist/Components/NcUserStatusIcon.mjs +4 -0
  262. package/dist/Components/NcUserStatusIcon.mjs.map +1 -0
  263. package/dist/Components/NcVNodes.cjs +10 -11
  264. package/dist/Components/NcVNodes.cjs.map +1 -1
  265. package/dist/Components/NcVNodes.mjs +11 -12
  266. package/dist/Components/NcVNodes.mjs.map +1 -1
  267. package/dist/Directives/Linkify.cjs +4 -5
  268. package/dist/Directives/Linkify.cjs.map +1 -1
  269. package/dist/Directives/Linkify.mjs +5 -6
  270. package/dist/Directives/Linkify.mjs.map +1 -1
  271. package/dist/Directives/Tooltip.cjs +1 -1
  272. package/dist/Directives/Tooltip.mjs +3 -3
  273. package/dist/Functions/usernameToColor.cjs +2 -38
  274. package/dist/Functions/usernameToColor.cjs.map +1 -1
  275. package/dist/Functions/usernameToColor.mjs +2 -39
  276. package/dist/Functions/usernameToColor.mjs.map +1 -1
  277. package/dist/Mixins/richEditor.cjs +2 -2
  278. package/dist/Mixins/richEditor.mjs +2 -2
  279. package/dist/assets/{index-7868494b.css → NcActionButton-YVkNHN_x.css} +17 -16
  280. package/dist/assets/{index-5fa0ac5a.css → NcActionButtonGroup-oXobVIqQ.css} +14 -0
  281. package/dist/assets/{index-e0e6bab6.css → NcActionCheckbox-6Pvlr1E7.css} +1 -1
  282. package/dist/assets/{index-9020d9ca.css → NcActionInput-4zSvDkWm.css} +67 -67
  283. package/dist/assets/{index-4ba699a1.css → NcActionLink-zdzQgwtH.css} +1 -1
  284. package/dist/assets/{index-542cf50a.css → NcActionRadio-eOr9Sp-D.css} +1 -1
  285. package/dist/assets/{index-7fac55ed.css → NcActionRouter-MFTD6tYI.css} +1 -1
  286. package/dist/assets/{index-00012a4c.css → NcActionText-GJYwsw_U.css} +1 -1
  287. package/dist/assets/{index-93ad846c.css → NcActionTextEditable-JrYuWEDd.css} +1 -1
  288. package/dist/assets/{index-b0bba2fc.css → NcActions-nAi2TA1m.css} +16 -11
  289. package/dist/assets/{index-4596132f.css → NcAppContent-SZz3PTd8.css} +0 -1
  290. package/dist/assets/{index-5784183b.css → NcAppNavigation-vjqOL-kR.css} +8 -8
  291. package/dist/assets/{index-fe84a063.css → NcAppNavigationCaption-l5yRGXZx.css} +6 -5
  292. package/dist/assets/{index-d8bc189c.css → NcAppNavigationItem-n-wauJE7.css} +5 -0
  293. package/dist/assets/{index-1a317434.css → NcAppNavigationNewItem-MQBvffq9.css} +5 -0
  294. package/dist/assets/{index-a9999048.css → NcAppSettingsDialog-8K8FduDk.css} +11 -11
  295. package/dist/assets/{index-3b654875.css → NcAvatar-Vg6Mi1TD.css} +27 -27
  296. package/dist/assets/{index-c20f9f7e.css → NcBreadcrumb-M3hqCbqS.css} +26 -33
  297. package/dist/assets/{index-f5162bbd.css → NcBreadcrumbs-KBV0Jccv.css} +7 -8
  298. package/dist/assets/{index-f091e784.css → NcButton-DTnreNJ5.css} +43 -43
  299. package/dist/assets/{index-7f77b8ae.css → NcCheckboxRadioSwitch-IKpLtz9k.css} +50 -47
  300. package/dist/assets/{index-13720a46.css → NcColorPicker-CNX9fj56.css} +24 -24
  301. package/dist/assets/{index-a9e4fe04.css → NcContent-LWR23l9i.css} +42 -4
  302. package/dist/assets/{index-a7fc7815.css → NcDateTimePicker-J_kGHwdu.css} +20 -20
  303. package/dist/assets/{index-86454928.css → NcDialog-2V180xdm.css} +13 -13
  304. package/dist/assets/{index-2a8e4ca1.css → NcEmojiPicker-lBXbC6Jd.css} +36 -26
  305. package/dist/assets/{index-aacb7cf8.css → NcHeaderMenu-P0OkK9WN.css} +16 -23
  306. package/dist/assets/NcIconSvgWrapper-arqrq5Bj.css +44 -0
  307. package/dist/assets/{index-2a1ec06b.css → NcInputField-Y-Qp3D_b.css} +40 -40
  308. package/dist/assets/{index-a3c23731.css → NcModal-QzDLeQrW.css} +63 -63
  309. package/dist/assets/{index-61b63a8f.css → NcProgressBar-w4-G5gQR.css} +19 -9
  310. package/dist/assets/{index-ab715d82.css → NcRelatedResourcesPanel-m3uf_nvH.css} +4 -4
  311. package/dist/assets/{index-dab51681.css → NcRichContenteditable-xiQ4y2Z6.css} +25 -25
  312. package/dist/assets/{index-f9bfa317.css → NcSelect-GsLmwj9w.css} +13 -2
  313. package/dist/assets/{index-76a58945.css → NcSettingsSection-PEWm0eeL.css} +13 -13
  314. package/dist/assets/{index-c221fe05.css → NcUserBubble-jjzI5imn.css} +9 -9
  315. package/dist/assets/{index-57b305d3.css → NcUserStatusIcon-62u43_6P.css} +7 -10
  316. package/dist/assets/{referencePickerModal-3a127978.css → referencePickerModal-VxSowpb5.css} +84 -57
  317. package/dist/chunks/{AlertCircleOutline-7085c10f.cjs → AlertCircleOutline-VgVvRWpm.cjs} +1 -1
  318. package/dist/chunks/{AlertCircleOutline-7085c10f.cjs.map → AlertCircleOutline-VgVvRWpm.cjs.map} +1 -1
  319. package/dist/chunks/{AlertCircleOutline-b73838e0.mjs → AlertCircleOutline-lwSRucNO.mjs} +1 -1
  320. package/dist/chunks/{AlertCircleOutline-b73838e0.mjs.map → AlertCircleOutline-lwSRucNO.mjs.map} +1 -1
  321. package/dist/chunks/{ArrowLeft-2f9b9323.cjs → ArrowLeft-3KC2k3tR.cjs} +1 -1
  322. package/dist/chunks/{ArrowLeft-2f9b9323.cjs.map → ArrowLeft-3KC2k3tR.cjs.map} +1 -1
  323. package/dist/chunks/{ArrowLeft-3779ba88.mjs → ArrowLeft-buaCjhfr.mjs} +1 -1
  324. package/dist/chunks/{ArrowLeft-3779ba88.mjs.map → ArrowLeft-buaCjhfr.mjs.map} +1 -1
  325. package/dist/chunks/{ArrowRight-74a9fcb2.mjs → ArrowRight-4p6gv-9o.mjs} +1 -1
  326. package/dist/chunks/{ArrowRight-74a9fcb2.mjs.map → ArrowRight-4p6gv-9o.mjs.map} +1 -1
  327. package/dist/chunks/{ArrowRight-7315f6c1.cjs → ArrowRight-uEMed4kl.cjs} +1 -1
  328. package/dist/chunks/{ArrowRight-7315f6c1.cjs.map → ArrowRight-uEMed4kl.cjs.map} +1 -1
  329. package/dist/chunks/{Check-be8cd6af.cjs → Check-5uKO4aXx.cjs} +1 -1
  330. package/dist/chunks/{Check-be8cd6af.cjs.map → Check-5uKO4aXx.cjs.map} +1 -1
  331. package/dist/chunks/{Check-2ea0a88a.mjs → Check-FObi_cEO.mjs} +1 -1
  332. package/dist/chunks/{Check-2ea0a88a.mjs.map → Check-FObi_cEO.mjs.map} +1 -1
  333. package/dist/chunks/{ChevronDown-a72d365d.mjs → ChevronDown-TbRvziNU.mjs} +1 -1
  334. package/dist/chunks/{ChevronDown-a72d365d.mjs.map → ChevronDown-TbRvziNU.mjs.map} +1 -1
  335. package/dist/chunks/{ChevronDown-dc32e51d.cjs → ChevronDown-rdCNNu7u.cjs} +1 -1
  336. package/dist/chunks/{ChevronDown-dc32e51d.cjs.map → ChevronDown-rdCNNu7u.cjs.map} +1 -1
  337. package/dist/chunks/{ChevronRight-1a6a6cf2.mjs → ChevronRight-XOmSMmxA.mjs} +1 -1
  338. package/dist/chunks/{ChevronRight-1a6a6cf2.mjs.map → ChevronRight-XOmSMmxA.mjs.map} +1 -1
  339. package/dist/chunks/{ChevronRight-a4c1e0d3.cjs → ChevronRight-bp7fT1r7.cjs} +1 -1
  340. package/dist/chunks/{ChevronRight-a4c1e0d3.cjs.map → ChevronRight-bp7fT1r7.cjs.map} +1 -1
  341. package/dist/chunks/{Close-271f72e2.mjs → Close-5Hzp7J3v.mjs} +1 -1
  342. package/dist/chunks/{Close-271f72e2.mjs.map → Close-5Hzp7J3v.mjs.map} +1 -1
  343. package/dist/chunks/{Close-98cb6f12.cjs → Close-QFLrdRdG.cjs} +1 -1
  344. package/dist/chunks/{Close-98cb6f12.cjs.map → Close-QFLrdRdG.cjs.map} +1 -1
  345. package/dist/chunks/{DotsHorizontal-0ee7d901.mjs → DotsHorizontal-NssXDZGM.mjs} +1 -1
  346. package/dist/chunks/{DotsHorizontal-0ee7d901.mjs.map → DotsHorizontal-NssXDZGM.mjs.map} +1 -1
  347. package/dist/chunks/{DotsHorizontal-ac96129a.cjs → DotsHorizontal-dlN1WvqM.cjs} +1 -1
  348. package/dist/chunks/{DotsHorizontal-ac96129a.cjs.map → DotsHorizontal-dlN1WvqM.cjs.map} +1 -1
  349. package/dist/chunks/{GenColors-7495e6f6.cjs → GenColors-6mrcK1J2.cjs} +23 -18
  350. package/dist/chunks/GenColors-6mrcK1J2.cjs.map +1 -0
  351. package/dist/chunks/{GenColors-5c054042.mjs → GenColors-ZwEj275X.mjs} +16 -11
  352. package/dist/chunks/GenColors-ZwEj275X.mjs.map +1 -0
  353. package/dist/chunks/{GenRandomId-c214d235.cjs.map → GenRandomId-ULxaMkkr.cjs.map} +1 -1
  354. package/dist/chunks/{GenRandomId-cb9ccebe.mjs.map → GenRandomId-VodkdWbp.mjs.map} +1 -1
  355. package/dist/chunks/{Linkify-39f20c9a.mjs.map → Linkify-V7PfCeZ8.mjs.map} +1 -1
  356. package/dist/chunks/{Linkify-40cdd635.cjs.map → Linkify-f3s3nAe_.cjs.map} +1 -1
  357. package/dist/chunks/NcActionButtonGroup-3W6tc8gZ.mjs +50 -0
  358. package/dist/chunks/NcActionButtonGroup-3W6tc8gZ.mjs.map +1 -0
  359. package/dist/chunks/NcActionButtonGroup-IEaXhYp3.cjs +45 -0
  360. package/dist/chunks/NcActionButtonGroup-IEaXhYp3.cjs.map +1 -0
  361. package/dist/chunks/NcActionInput-bLRYLx45.cjs +234 -0
  362. package/dist/chunks/NcActionInput-bLRYLx45.cjs.map +1 -0
  363. package/dist/chunks/NcActionInput-v8cC8WD4.mjs +244 -0
  364. package/dist/chunks/NcActionInput-v8cC8WD4.mjs.map +1 -0
  365. package/dist/chunks/NcActions-7ytNFRBJ.cjs +493 -0
  366. package/dist/chunks/NcActions-7ytNFRBJ.cjs.map +1 -0
  367. package/dist/chunks/NcActions-CNDgnRLf.mjs +501 -0
  368. package/dist/chunks/NcActions-CNDgnRLf.mjs.map +1 -0
  369. package/dist/chunks/NcAppContent-XBosilQH.mjs +231 -0
  370. package/dist/chunks/NcAppContent-XBosilQH.mjs.map +1 -0
  371. package/dist/chunks/NcAppContent-f3dNUfhO.cjs +221 -0
  372. package/dist/chunks/NcAppContent-f3dNUfhO.cjs.map +1 -0
  373. package/dist/chunks/NcAppNavigation-oke9RxP6.cjs +113 -0
  374. package/dist/chunks/NcAppNavigation-oke9RxP6.cjs.map +1 -0
  375. package/dist/chunks/NcAppNavigation-qUXaV47L.mjs +122 -0
  376. package/dist/chunks/NcAppNavigation-qUXaV47L.mjs.map +1 -0
  377. package/dist/chunks/NcAppNavigationCaption-M-KZKijE.mjs +47 -0
  378. package/dist/chunks/NcAppNavigationCaption-M-KZKijE.mjs.map +1 -0
  379. package/dist/chunks/NcAppNavigationCaption-hVmjPz-2.cjs +43 -0
  380. package/dist/chunks/NcAppNavigationCaption-hVmjPz-2.cjs.map +1 -0
  381. package/dist/chunks/NcAppNavigationItem-GNnDmUq5.mjs +508 -0
  382. package/dist/chunks/NcAppNavigationItem-GNnDmUq5.mjs.map +1 -0
  383. package/dist/chunks/NcAppNavigationItem-YYoh37Ky.cjs +496 -0
  384. package/dist/chunks/NcAppNavigationItem-YYoh37Ky.cjs.map +1 -0
  385. package/dist/chunks/NcAppNavigationNewItem-3l4mRRsI.cjs +86 -0
  386. package/dist/chunks/NcAppNavigationNewItem-3l4mRRsI.cjs.map +1 -0
  387. package/dist/chunks/NcAppNavigationNewItem-pBHgj8Es.mjs +91 -0
  388. package/dist/chunks/NcAppNavigationNewItem-pBHgj8Es.mjs.map +1 -0
  389. package/dist/chunks/NcAppNavigationSettings-IkF_z_xt.cjs +102 -0
  390. package/dist/chunks/NcAppNavigationSettings-IkF_z_xt.cjs.map +1 -0
  391. package/dist/chunks/NcAppNavigationSettings-c_S9UbSU.mjs +105 -0
  392. package/dist/chunks/NcAppNavigationSettings-c_S9UbSU.mjs.map +1 -0
  393. package/dist/chunks/{NcAppNavigationToggle-0bc638a8.mjs → NcAppNavigationToggle-S4YTmnky.mjs} +16 -17
  394. package/dist/chunks/{NcAppNavigationToggle-0bc638a8.mjs.map → NcAppNavigationToggle-S4YTmnky.mjs.map} +1 -1
  395. package/dist/chunks/NcAppNavigationToggle-Tvz9copM.cjs +109 -0
  396. package/dist/chunks/{NcAppNavigationToggle-6d192bea.cjs.map → NcAppNavigationToggle-Tvz9copM.cjs.map} +1 -1
  397. package/dist/chunks/NcAppSettingsDialog-CQtmRXyZ.mjs +184 -0
  398. package/dist/chunks/NcAppSettingsDialog-CQtmRXyZ.mjs.map +1 -0
  399. package/dist/chunks/NcAppSettingsDialog-L6IvAL_I.cjs +176 -0
  400. package/dist/chunks/NcAppSettingsDialog-L6IvAL_I.cjs.map +1 -0
  401. package/dist/chunks/NcAppSidebar-GCbKi7Tk.cjs +547 -0
  402. package/dist/chunks/NcAppSidebar-GCbKi7Tk.cjs.map +1 -0
  403. package/dist/chunks/NcAppSidebar-nHbqU8Wl.mjs +565 -0
  404. package/dist/chunks/NcAppSidebar-nHbqU8Wl.mjs.map +1 -0
  405. package/dist/chunks/{index-309426ff.mjs → NcAvatar-1gX-bnpd.mjs} +67 -138
  406. package/dist/chunks/NcAvatar-1gX-bnpd.mjs.map +1 -0
  407. package/dist/chunks/{index-693e993c.cjs → NcAvatar-8NgbtiTN.cjs} +50 -121
  408. package/dist/chunks/NcAvatar-8NgbtiTN.cjs.map +1 -0
  409. package/dist/chunks/NcBreadcrumb-3vNer4Fs.cjs +172 -0
  410. package/dist/chunks/NcBreadcrumb-3vNer4Fs.cjs.map +1 -0
  411. package/dist/chunks/NcBreadcrumb-VlYks8Vu.mjs +179 -0
  412. package/dist/chunks/NcBreadcrumb-VlYks8Vu.mjs.map +1 -0
  413. package/dist/chunks/NcBreadcrumbs-GhYBmcix.cjs +407 -0
  414. package/dist/chunks/NcBreadcrumbs-GhYBmcix.cjs.map +1 -0
  415. package/dist/chunks/NcBreadcrumbs-UCJPNjZg.mjs +418 -0
  416. package/dist/chunks/NcBreadcrumbs-UCJPNjZg.mjs.map +1 -0
  417. package/dist/chunks/NcCheckboxRadioSwitch-3sa_9DpY.mjs +607 -0
  418. package/dist/chunks/NcCheckboxRadioSwitch-3sa_9DpY.mjs.map +1 -0
  419. package/dist/chunks/NcCheckboxRadioSwitch-s5C7ZGB_.cjs +603 -0
  420. package/dist/chunks/NcCheckboxRadioSwitch-s5C7ZGB_.cjs.map +1 -0
  421. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-2l55YbP4.cjs +3 -0
  422. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-2l55YbP4.cjs.map +1 -0
  423. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-4V3NxICZ.mjs +3 -0
  424. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_835b7036_lang-4V3NxICZ.mjs.map +1 -0
  425. package/dist/chunks/NcColorPicker-4qA0UWdA.cjs +161 -0
  426. package/dist/chunks/NcColorPicker-4qA0UWdA.cjs.map +1 -0
  427. package/dist/chunks/NcColorPicker-aNJDKf-I.mjs +172 -0
  428. package/dist/chunks/NcColorPicker-aNJDKf-I.mjs.map +1 -0
  429. package/dist/chunks/NcContent-V1PRVhsU.mjs +131 -0
  430. package/dist/chunks/NcContent-V1PRVhsU.mjs.map +1 -0
  431. package/dist/chunks/NcContent-x5KPSopo.cjs +123 -0
  432. package/dist/chunks/NcContent-x5KPSopo.cjs.map +1 -0
  433. package/dist/chunks/NcDashboardWidget-pzCvVb_0.mjs +141 -0
  434. package/dist/chunks/NcDashboardWidget-pzCvVb_0.mjs.map +1 -0
  435. package/dist/chunks/NcDashboardWidget-w15LYpmC.cjs +134 -0
  436. package/dist/chunks/NcDashboardWidget-w15LYpmC.cjs.map +1 -0
  437. package/dist/chunks/NcDashboardWidgetItem-FNmPTAuj.mjs +143 -0
  438. package/dist/chunks/NcDashboardWidgetItem-FNmPTAuj.mjs.map +1 -0
  439. package/dist/chunks/NcDashboardWidgetItem-YJerQyu5.cjs +137 -0
  440. package/dist/chunks/NcDashboardWidgetItem-YJerQyu5.cjs.map +1 -0
  441. package/dist/chunks/NcDateTime-22ULCxg8.mjs +146 -0
  442. package/dist/chunks/NcDateTime-22ULCxg8.mjs.map +1 -0
  443. package/dist/chunks/NcDateTime-eHTrKYG4.cjs +142 -0
  444. package/dist/chunks/NcDateTime-eHTrKYG4.cjs.map +1 -0
  445. package/dist/chunks/NcDialog-KlvRL7k1.cjs +209 -0
  446. package/dist/chunks/NcDialog-KlvRL7k1.cjs.map +1 -0
  447. package/dist/chunks/NcDialog-b2LjzZB8.mjs +217 -0
  448. package/dist/chunks/NcDialog-b2LjzZB8.mjs.map +1 -0
  449. package/dist/chunks/NcDialogButton-37xKCh_l.cjs +68 -0
  450. package/dist/chunks/NcDialogButton-37xKCh_l.cjs.map +1 -0
  451. package/dist/chunks/NcDialogButton-O4JZ53Dj.mjs +73 -0
  452. package/dist/chunks/NcDialogButton-O4JZ53Dj.mjs.map +1 -0
  453. package/dist/chunks/NcEmojiPicker-H_YmCt4L.mjs +249 -0
  454. package/dist/chunks/NcEmojiPicker-H_YmCt4L.mjs.map +1 -0
  455. package/dist/chunks/NcEmojiPicker-o1VRXxQO.cjs +238 -0
  456. package/dist/chunks/NcEmojiPicker-o1VRXxQO.cjs.map +1 -0
  457. package/dist/chunks/NcHeaderMenu-CIYGCufy.cjs +183 -0
  458. package/dist/chunks/NcHeaderMenu-CIYGCufy.cjs.map +1 -0
  459. package/dist/chunks/NcHeaderMenu-CfEUQ0JV.mjs +190 -0
  460. package/dist/chunks/NcHeaderMenu-CfEUQ0JV.mjs.map +1 -0
  461. package/dist/chunks/NcIconSvgWrapper-P-GkSjTH.mjs +85 -0
  462. package/dist/chunks/NcIconSvgWrapper-P-GkSjTH.mjs.map +1 -0
  463. package/dist/chunks/NcIconSvgWrapper-_lgitSfS.cjs +80 -0
  464. package/dist/chunks/NcIconSvgWrapper-_lgitSfS.cjs.map +1 -0
  465. package/dist/chunks/NcInputConfirmCancel-YzEcukdc.cjs +91 -0
  466. package/dist/chunks/{NcInputConfirmCancel-b99898db.cjs.map → NcInputConfirmCancel-YzEcukdc.cjs.map} +1 -1
  467. package/dist/chunks/{NcInputConfirmCancel-a08c5cb4.mjs → NcInputConfirmCancel-lUDtoN2O.mjs} +12 -12
  468. package/dist/chunks/{NcInputConfirmCancel-a08c5cb4.mjs.map → NcInputConfirmCancel-lUDtoN2O.mjs.map} +1 -1
  469. package/dist/chunks/NcListItem-AZpInn_s.mjs +248 -0
  470. package/dist/chunks/NcListItem-AZpInn_s.mjs.map +1 -0
  471. package/dist/chunks/NcListItem-bBx6_yWw.cjs +242 -0
  472. package/dist/chunks/NcListItem-bBx6_yWw.cjs.map +1 -0
  473. package/dist/chunks/NcListItemIcon-1ZcwsrMT.mjs +164 -0
  474. package/dist/chunks/NcListItemIcon-1ZcwsrMT.mjs.map +1 -0
  475. package/dist/chunks/NcListItemIcon-uPc7p1KY.cjs +160 -0
  476. package/dist/chunks/NcListItemIcon-uPc7p1KY.cjs.map +1 -0
  477. package/dist/chunks/NcPasswordField-YvUbX2WS.cjs +229 -0
  478. package/dist/chunks/NcPasswordField-YvUbX2WS.cjs.map +1 -0
  479. package/dist/chunks/NcPasswordField-fNiTJMmG.mjs +238 -0
  480. package/dist/chunks/NcPasswordField-fNiTJMmG.mjs.map +1 -0
  481. package/dist/chunks/NcPopover-EXxv8Pzw.cjs +218 -0
  482. package/dist/chunks/NcPopover-EXxv8Pzw.cjs.map +1 -0
  483. package/dist/chunks/NcPopover-NyUZ2r7V.mjs +225 -0
  484. package/dist/chunks/NcPopover-NyUZ2r7V.mjs.map +1 -0
  485. package/dist/chunks/NcProgressBar-hQCFE5H3.mjs +99 -0
  486. package/dist/chunks/NcProgressBar-hQCFE5H3.mjs.map +1 -0
  487. package/dist/chunks/NcProgressBar-yrdD1jxU.cjs +95 -0
  488. package/dist/chunks/NcProgressBar-yrdD1jxU.cjs.map +1 -0
  489. package/dist/chunks/NcRelatedResourcesPanel-DCqlPqZc.cjs +199 -0
  490. package/dist/chunks/NcRelatedResourcesPanel-DCqlPqZc.cjs.map +1 -0
  491. package/dist/chunks/NcRelatedResourcesPanel-H2imJgxi.mjs +205 -0
  492. package/dist/chunks/NcRelatedResourcesPanel-H2imJgxi.mjs.map +1 -0
  493. package/dist/chunks/NcRichContenteditable-EZp-vrCT.mjs +515 -0
  494. package/dist/chunks/NcRichContenteditable-EZp-vrCT.mjs.map +1 -0
  495. package/dist/chunks/NcRichContenteditable-lPa8fqWG.cjs +504 -0
  496. package/dist/chunks/NcRichContenteditable-lPa8fqWG.cjs.map +1 -0
  497. package/dist/chunks/{NcRichText-e4bf7767.mjs → NcRichText-7CHftQ4Z.mjs} +125 -81
  498. package/dist/chunks/NcRichText-7CHftQ4Z.mjs.map +1 -0
  499. package/dist/chunks/{NcRichText-f729896c.cjs → NcRichText-SPiEkcnt.cjs} +112 -71
  500. package/dist/chunks/NcRichText-SPiEkcnt.cjs.map +1 -0
  501. package/dist/chunks/NcSavingIndicatorIcon-IqoMFcDK.mjs +62 -0
  502. package/dist/chunks/NcSavingIndicatorIcon-IqoMFcDK.mjs.map +1 -0
  503. package/dist/chunks/NcSavingIndicatorIcon-wcQ0mBIL.cjs +59 -0
  504. package/dist/chunks/NcSavingIndicatorIcon-wcQ0mBIL.cjs.map +1 -0
  505. package/dist/chunks/NcSelect-c9-eF29z.cjs +462 -0
  506. package/dist/chunks/NcSelect-c9-eF29z.cjs.map +1 -0
  507. package/dist/chunks/NcSelect-zx9IspDS.mjs +474 -0
  508. package/dist/chunks/NcSelect-zx9IspDS.mjs.map +1 -0
  509. package/dist/chunks/NcSelectTags-WGdCwmRr.mjs +267 -0
  510. package/dist/chunks/NcSelectTags-WGdCwmRr.mjs.map +1 -0
  511. package/dist/chunks/NcSelectTags-doFIXNxC.cjs +261 -0
  512. package/dist/chunks/NcSelectTags-doFIXNxC.cjs.map +1 -0
  513. package/dist/chunks/NcSettingsInputText-YMRo6B3V.mjs +95 -0
  514. package/dist/chunks/NcSettingsInputText-YMRo6B3V.mjs.map +1 -0
  515. package/dist/chunks/NcSettingsInputText-sJarpoq-.cjs +91 -0
  516. package/dist/chunks/NcSettingsInputText-sJarpoq-.cjs.map +1 -0
  517. package/dist/chunks/NcSettingsSection-R_JKZdJk.cjs +95 -0
  518. package/dist/chunks/NcSettingsSection-R_JKZdJk.cjs.map +1 -0
  519. package/dist/chunks/NcSettingsSection-zdWzOqxk.mjs +98 -0
  520. package/dist/chunks/NcSettingsSection-zdWzOqxk.mjs.map +1 -0
  521. package/dist/chunks/{NcSettingsSelectGroup-ecc8bc5a.mjs → NcSettingsSelectGroup-Ghgl6Y_d.mjs} +5 -5
  522. package/dist/chunks/{NcSettingsSelectGroup-ecc8bc5a.mjs.map → NcSettingsSelectGroup-Ghgl6Y_d.mjs.map} +1 -1
  523. package/dist/chunks/{NcSettingsSelectGroup-b065ffc8.cjs → NcSettingsSelectGroup-NhJyFPsw.cjs} +9 -9
  524. package/dist/chunks/{NcSettingsSelectGroup-b065ffc8.cjs.map → NcSettingsSelectGroup-NhJyFPsw.cjs.map} +1 -1
  525. package/dist/chunks/NcTextField-8ap5MAGr.cjs +140 -0
  526. package/dist/chunks/NcTextField-8ap5MAGr.cjs.map +1 -0
  527. package/dist/chunks/NcTextField-tIJ3fJ37.mjs +146 -0
  528. package/dist/chunks/NcTextField-tIJ3fJ37.mjs.map +1 -0
  529. package/dist/chunks/NcTimezonePicker-Ue_mc4jo.mjs +7205 -0
  530. package/dist/chunks/NcTimezonePicker-Ue_mc4jo.mjs.map +1 -0
  531. package/dist/chunks/NcTimezonePicker-ag-krDDP.cjs +7199 -0
  532. package/dist/chunks/NcTimezonePicker-ag-krDDP.cjs.map +1 -0
  533. package/dist/chunks/NcUserBubble-hfgJXqk2.cjs +191 -0
  534. package/dist/chunks/NcUserBubble-hfgJXqk2.cjs.map +1 -0
  535. package/dist/chunks/NcUserBubble-s30BQXdv.mjs +197 -0
  536. package/dist/chunks/NcUserBubble-s30BQXdv.mjs.map +1 -0
  537. package/dist/chunks/NcUserStatusIcon-H5b_e8YL.mjs +174 -0
  538. package/dist/chunks/NcUserStatusIcon-H5b_e8YL.mjs.map +1 -0
  539. package/dist/chunks/NcUserStatusIcon-PevYJx6w.cjs +166 -0
  540. package/dist/chunks/NcUserStatusIcon-PevYJx6w.cjs.map +1 -0
  541. package/dist/chunks/{ScopeComponent-b039a43c.mjs → ScopeComponent-9XNLQCuu.mjs} +1 -1
  542. package/dist/chunks/{ScopeComponent-b039a43c.mjs.map → ScopeComponent-9XNLQCuu.mjs.map} +1 -1
  543. package/dist/chunks/{ScopeComponent-06c558d3.cjs → ScopeComponent-_Cg8ogL-.cjs} +1 -1
  544. package/dist/chunks/{ScopeComponent-06c558d3.cjs.map → ScopeComponent-_Cg8ogL-.cjs.map} +1 -1
  545. package/dist/chunks/_l10n-juAR1Sua.cjs +64 -0
  546. package/dist/chunks/_l10n-juAR1Sua.cjs.map +1 -0
  547. package/dist/chunks/_l10n-tZEKUJRj.mjs +66 -0
  548. package/dist/chunks/_l10n-tZEKUJRj.mjs.map +1 -0
  549. package/dist/chunks/_plugin-vue2_normalizer-DCfUPqga.cjs.map +1 -0
  550. package/dist/chunks/_plugin-vue2_normalizer-u6G_3nkj.mjs.map +1 -0
  551. package/dist/chunks/{actionGlobal-9e29e11b.cjs → actionGlobal-_f-PhW84.cjs} +3 -7
  552. package/dist/chunks/actionGlobal-_f-PhW84.cjs.map +1 -0
  553. package/dist/chunks/{actionGlobal-8c1c28c9.mjs → actionGlobal-ejpd0zqm.mjs} +3 -7
  554. package/dist/chunks/actionGlobal-ejpd0zqm.mjs.map +1 -0
  555. package/dist/chunks/{actionText-123f26b0.mjs → actionText-AoAs4kqP.mjs} +6 -2
  556. package/dist/chunks/{actionText-e450809c.cjs.map → actionText-AoAs4kqP.mjs.map} +1 -1
  557. package/dist/chunks/{actionText-e450809c.cjs → actionText-pGrMQtZ3.cjs} +6 -2
  558. package/dist/chunks/{actionText-123f26b0.mjs.map → actionText-pGrMQtZ3.cjs.map} +1 -1
  559. package/dist/chunks/emoji-mJIuLpNR.cjs +58 -0
  560. package/dist/chunks/emoji-mJIuLpNR.cjs.map +1 -0
  561. package/dist/chunks/emoji-tllD0Rvt.mjs +61 -0
  562. package/dist/chunks/emoji-tllD0Rvt.mjs.map +1 -0
  563. package/dist/chunks/{focusTrap-5d0f71d4.mjs.map → focusTrap-Py2bQ9-r.mjs.map} +1 -1
  564. package/dist/chunks/{focusTrap-14985831.cjs.map → focusTrap-n3H52LOw.cjs.map} +1 -1
  565. package/dist/chunks/{index-20a9ace9.mjs → index-2phCrsSH.mjs} +1 -1
  566. package/dist/chunks/{index-20a9ace9.mjs.map → index-2phCrsSH.mjs.map} +1 -1
  567. package/dist/chunks/{index-4398f925.cjs → index-AX_b-FPF.cjs} +2 -1
  568. package/dist/chunks/{index-4398f925.cjs.map → index-AX_b-FPF.cjs.map} +1 -1
  569. package/dist/chunks/{index-e894376a.cjs → index-FO4BaGaF.cjs} +1 -1
  570. package/dist/chunks/{index-e894376a.cjs.map → index-FO4BaGaF.cjs.map} +1 -1
  571. package/dist/chunks/{index-5f2a5f57.mjs → index-KrMGGc7j.mjs} +3 -2
  572. package/dist/chunks/{index-5f2a5f57.mjs.map → index-KrMGGc7j.mjs.map} +1 -1
  573. package/dist/chunks/{logger-3612e664.mjs.map → logger-3m1eQsSo.mjs.map} +1 -1
  574. package/dist/chunks/{logger-4998b668.cjs.map → logger-G6OKp5ly.cjs.map} +1 -1
  575. package/dist/chunks/{referencePickerModal-12935fb3.mjs → referencePickerModal-jbqYHMmd.mjs} +171 -189
  576. package/dist/chunks/{referencePickerModal-12935fb3.mjs.map → referencePickerModal-jbqYHMmd.mjs.map} +1 -1
  577. package/dist/chunks/{referencePickerModal-12fa2ad0.cjs → referencePickerModal-rHOAeK-a.cjs} +152 -170
  578. package/dist/chunks/{referencePickerModal-12fa2ad0.cjs.map → referencePickerModal-rHOAeK-a.cjs.map} +1 -1
  579. package/dist/chunks/usernameToColor-fJ1S8Q2S.cjs +39 -0
  580. package/dist/chunks/usernameToColor-fJ1S8Q2S.cjs.map +1 -0
  581. package/dist/chunks/usernameToColor-pYptUj7i.mjs +41 -0
  582. package/dist/chunks/usernameToColor-pYptUj7i.mjs.map +1 -0
  583. package/dist/functions/emoji/emoji.d.ts +50 -0
  584. package/dist/{Functions/emoji.mjs → functions/emoji/index.d.ts} +1 -16
  585. package/dist/index.cjs +163 -157
  586. package/dist/index.cjs.map +1 -1
  587. package/dist/index.mjs +157 -149
  588. package/dist/index.mjs.map +1 -1
  589. package/dist/utils/UserStatus.d.ts +1 -3
  590. package/package.json +5 -3
  591. package/dist/Functions/emoji.cjs +0 -36
  592. package/dist/Functions/emoji.cjs.map +0 -1
  593. package/dist/Functions/emoji.mjs.map +0 -1
  594. package/dist/chunks/GenColors-5c054042.mjs.map +0 -1
  595. package/dist/chunks/GenColors-7495e6f6.cjs.map +0 -1
  596. package/dist/chunks/NcAppNavigationToggle-6d192bea.cjs +0 -110
  597. package/dist/chunks/NcInputConfirmCancel-b99898db.cjs +0 -91
  598. package/dist/chunks/NcRichText-e4bf7767.mjs.map +0 -1
  599. package/dist/chunks/NcRichText-f729896c.cjs.map +0 -1
  600. package/dist/chunks/_l10n-72c5e29e.cjs +0 -62
  601. package/dist/chunks/_l10n-72c5e29e.cjs.map +0 -1
  602. package/dist/chunks/_l10n-f5af5269.mjs +0 -64
  603. package/dist/chunks/_l10n-f5af5269.mjs.map +0 -1
  604. package/dist/chunks/_plugin-vue2_normalizer-71e2aa87.mjs.map +0 -1
  605. package/dist/chunks/_plugin-vue2_normalizer-7f9efb60.cjs.map +0 -1
  606. package/dist/chunks/actionGlobal-8c1c28c9.mjs.map +0 -1
  607. package/dist/chunks/actionGlobal-9e29e11b.cjs.map +0 -1
  608. package/dist/chunks/index-309426ff.mjs.map +0 -1
  609. package/dist/chunks/index-693e993c.cjs.map +0 -1
  610. /package/dist/assets/{index-418d4e87.css → NcActionCaption-afJqyJO6.css} +0 -0
  611. /package/dist/assets/{index-018895f7.css → NcActionSeparator-l98xWbiL.css} +0 -0
  612. /package/dist/assets/{index-fc61f2d8.css → NcAppNavigationIconBullet-Nf3ARMLv.css} +0 -0
  613. /package/dist/assets/{index-0ac09203.css → NcAppNavigationNew-joyd78FM.css} +0 -0
  614. /package/dist/assets/{index-f78bd735.css → NcAppNavigationSettings-Jx_6RpSn.css} +0 -0
  615. /package/dist/assets/{index-76dd9f11.css → NcAppNavigationSpacer-MfL8GeCN.css} +0 -0
  616. /package/dist/assets/{NcAppNavigationToggle-48c375e8.css → NcAppNavigationToggle-upUgYNtL.css} +0 -0
  617. /package/dist/assets/{index-1f25a3c0.css → NcAppSettingsSection-ahfdhix_.css} +0 -0
  618. /package/dist/assets/{index-2d5cf6b2.css → NcAppSidebar-iU8Zp4Qk.css} +0 -0
  619. /package/dist/assets/{index-77a548be.css → NcAppSidebarTab-Phau6edJ.css} +0 -0
  620. /package/dist/assets/{index-17673ea1.css → NcCounterBubble-rgkmqN46.css} +0 -0
  621. /package/dist/assets/{index-6416f636.css → NcDashboardWidget-01deRW9Z.css} +0 -0
  622. /package/dist/assets/{index-e7eadba7.css → NcDashboardWidgetItem-S7fELANA.css} +0 -0
  623. /package/dist/assets/{index-8b327013.css → NcDateTimePickerNative-2pQS5L0H.css} +0 -0
  624. /package/dist/assets/{index-a2b51bce.css → NcEllipsisedOption-eoI10kvc.css} +0 -0
  625. /package/dist/assets/{index-c239a2fc.css → NcEmptyContent-pSz7F6Oe.css} +0 -0
  626. /package/dist/assets/{index-8aa4712e.css → NcGuestContent-mGGTzI2_.css} +0 -0
  627. /package/dist/assets/{NcInputConfirmCancel-45d1d76b.css → NcInputConfirmCancel-ks8z8dIn.css} +0 -0
  628. /package/dist/assets/{index-f24e102f.css → NcListItem-xcW2PRrk.css} +0 -0
  629. /package/dist/assets/{index-6f721577.css → NcListItemIcon-PQ2s6ZqX.css} +0 -0
  630. /package/dist/assets/{index-b8f13a1f.css → NcLoadingIcon-hZn7TJM8.css} +0 -0
  631. /package/dist/assets/{NcMentionBubble-6e887c5f.css → NcMentionBubble-2OXF_uEJ.css} +0 -0
  632. /package/dist/assets/{index-400b48a6.css → NcNoteCard-OTfZqVvP.css} +0 -0
  633. /package/dist/assets/{index-4ebacc78.css → NcPopover-MK4GcuPY.css} +0 -0
  634. /package/dist/assets/{index-6c47e88a.css → NcSettingsInputText-MPi6a3Yy.css} +0 -0
  635. /package/dist/assets/{NcSettingsSelectGroup-a29e2156.css → NcSettingsSelectGroup-_Jpb8yE3.css} +0 -0
  636. /package/dist/assets/{index-97305c1f.css → NcTextArea-K-KVPiMp.css} +0 -0
  637. /package/dist/assets/{index-d211cae8.css → Tooltip-wOLIuz0Q.css} +0 -0
  638. /package/dist/chunks/{GenRandomId-c214d235.cjs → GenRandomId-ULxaMkkr.cjs} +0 -0
  639. /package/dist/chunks/{GenRandomId-cb9ccebe.mjs → GenRandomId-VodkdWbp.mjs} +0 -0
  640. /package/dist/chunks/{Linkify-39f20c9a.mjs → Linkify-V7PfCeZ8.mjs} +0 -0
  641. /package/dist/chunks/{Linkify-40cdd635.cjs → Linkify-f3s3nAe_.cjs} +0 -0
  642. /package/dist/chunks/{_plugin-vue2_normalizer-7f9efb60.cjs → _plugin-vue2_normalizer-DCfUPqga.cjs} +0 -0
  643. /package/dist/chunks/{_plugin-vue2_normalizer-71e2aa87.mjs → _plugin-vue2_normalizer-u6G_3nkj.mjs} +0 -0
  644. /package/dist/chunks/{focusTrap-5d0f71d4.mjs → focusTrap-Py2bQ9-r.mjs} +0 -0
  645. /package/dist/chunks/{focusTrap-14985831.cjs → focusTrap-n3H52LOw.cjs} +0 -0
  646. /package/dist/chunks/{logger-3612e664.mjs → logger-3m1eQsSo.mjs} +0 -0
  647. /package/dist/chunks/{logger-4998b668.cjs → logger-G6OKp5ly.cjs} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"DotsHorizontal-0ee7d901.mjs","sources":["../../node_modules/vue-material-design-icons/DotsHorizontal.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon dots-horizontal-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"DotsHorizontalIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>"],"names":["_sfc_main"],"mappings":";AAoBA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"DotsHorizontal-NssXDZGM.mjs","sources":["../../node_modules/vue-material-design-icons/DotsHorizontal.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon dots-horizontal-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"DotsHorizontalIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>"],"names":["_sfc_main"],"mappings":";AAoBA,MAAAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const l = require("./_plugin-vue2_normalizer-7f9efb60.cjs"), n = {
2
+ const l = require("./_plugin-vue2_normalizer-DCfUPqga.cjs"), n = {
3
3
  name: "DotsHorizontalIcon",
4
4
  emits: ["click"],
5
5
  props: {
@@ -1 +1 @@
1
- {"version":3,"file":"DotsHorizontal-ac96129a.cjs","sources":["../../node_modules/vue-material-design-icons/DotsHorizontal.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon dots-horizontal-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"DotsHorizontalIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>"],"names":["_sfc_main"],"mappings":";6DAoBAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"DotsHorizontal-dlN1WvqM.cjs","sources":["../../node_modules/vue-material-design-icons/DotsHorizontal.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon dots-horizontal-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"DotsHorizontalIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>"],"names":["_sfc_main"],"mappings":";6DAoBAA,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA,CAAA,OAAA;AAAA,EACA,OAAA;AAAA,IACA,OAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,IACA,WAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const e = require("./_l10n-72c5e29e.cjs");
2
+ const e = require("./_l10n-juAR1Sua.cjs");
3
3
  e.register(e.t3);
4
4
  /**
5
5
  * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
@@ -30,25 +30,29 @@ class n {
30
30
  * @param {number} b The blue value
31
31
  * @param {string} [name] The name of the color
32
32
  */
33
- constructor(t, l, r, c) {
34
- this.r = t, this.g = l, this.b = r, c && (this.name = c);
33
+ constructor(t, r, l, c) {
34
+ this.r = t, this.g = r, this.b = l, c && (this.name = c);
35
+ }
36
+ get color() {
37
+ const t = (r) => `00${r.toString(16)}`.slice(-2);
38
+ return `#${t(this.r)}${t(this.g)}${t(this.b)}`;
35
39
  }
36
40
  }
37
- function h(o, t) {
38
- const l = new Array(3);
39
- return l[0] = (t[1].r - t[0].r) / o, l[1] = (t[1].g - t[0].g) / o, l[2] = (t[1].b - t[0].b) / o, l;
41
+ function f(o, t) {
42
+ const r = new Array(3);
43
+ return r[0] = (t[1].r - t[0].r) / o, r[1] = (t[1].g - t[0].g) / o, r[2] = (t[1].b - t[0].b) / o, r;
40
44
  }
41
- function i(o, t, l) {
42
- const r = [];
43
- r.push(t);
44
- const c = h(o, [t, l]);
45
+ function a(o, t, r) {
46
+ const l = [];
47
+ l.push(t);
48
+ const c = f(o, [t, r]);
45
49
  for (let u = 1; u < o; u++) {
46
- const a = Math.floor(t.r + c[0] * u), s = Math.floor(t.g + c[1] * u), f = Math.floor(t.b + c[2] * u);
47
- r.push(new n(a, s, f));
50
+ const i = Math.floor(t.r + c[0] * u), w = Math.floor(t.g + c[1] * u), h = Math.floor(t.b + c[2] * u);
51
+ l.push(new n(i, w, h));
48
52
  }
49
- return r;
53
+ return l;
50
54
  }
51
- const w = [
55
+ const s = [
52
56
  new n(182, 70, 157, e.t("Purple")),
53
57
  new n(
54
58
  191,
@@ -128,9 +132,10 @@ const w = [
128
132
  ];
129
133
  function b(o) {
130
134
  if (o || (o = 6), o === 4)
131
- return w;
132
- const t = new n(182, 70, 157, e.t("Purple")), l = new n(221, 203, 85, e.t("Gold")), r = new n(0, 130, 201, e.t("Nextcloud blue")), c = i(o, t, l), u = i(o, l, r), a = i(o, r, t);
133
- return c.concat(u).concat(a);
135
+ return s;
136
+ const t = new n(182, 70, 157, e.t("Purple")), r = new n(221, 203, 85, e.t("Gold")), l = new n(0, 130, 201, e.t("Nextcloud blue")), c = a(o, t, r), u = a(o, r, l), i = a(o, l, t);
137
+ return c.concat(u).concat(i);
134
138
  }
139
+ exports.Color = n;
135
140
  exports.GenColors = b;
136
- exports.defaultPalette = w;
141
+ exports.defaultPalette = s;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenColors-6mrcK1J2.cjs","sources":["../../src/utils/GenColors.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { t } from '../l10n.js'\n\nexport class Color {\n\n\t/**\n\t * @param {number} r The red value\n\t * @param {number} g The green value\n\t * @param {number} b The blue value\n\t * @param {string} [name] The name of the color\n\t */\n\tconstructor(r, g, b, name) {\n\t\tthis.r = r\n\t\tthis.g = g\n\t\tthis.b = b\n\t\tif (name) {\n\t\t\tthis.name = name\n\t\t}\n\t}\n\n\tget color() {\n\t\tconst toHex = (num) => `00${num.toString(16)}`.slice(-2)\n\t\treturn `#${toHex(this.r)}${toHex(this.g)}${toHex(this.b)}`\n\t}\n\n}\n\n/**\n * Calculate the number of steps\n *\n * @param {number} steps The number of steps\n * @param {Array} ends The ends\n * @return {Array} Array containing the number of steps per color\n */\nfunction stepCalc(steps, ends) {\n\tconst step = new Array(3)\n\tstep[0] = (ends[1].r - ends[0].r) / steps\n\tstep[1] = (ends[1].g - ends[0].g) / steps\n\tstep[2] = (ends[1].b - ends[0].b) / steps\n\treturn step\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param {number} steps The number of steps the palette has\n * @param {Color} color1 The first color\n * @param {Color} color2 The second color\n * @return {Array} The created palette array\n */\nfunction mixPalette(steps, color1, color2) {\n\tconst palette = []\n\tpalette.push(color1)\n\tconst step = stepCalc(steps, [color1, color2])\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + step[0] * i)\n\t\tconst g = Math.floor(color1.g + step[1] * i)\n\t\tconst b = Math.floor(color1.b + step[2] * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Like GenColor(4) but with labels\n */\nexport const defaultPalette = [\n\tnew Color(182, 70, 157, t('Purple')),\n\tnew Color(\n\t\t191, 103, 139,\n\t\tt('Rosy brown'), // TRANSLATORS: A color name for RGB(191, 103, 139)\n\t),\n\tnew Color(\n\t\t201, 136, 121,\n\t\tt('Feldspar'), // TRANSLATORS: A color name for RGB(201, 136, 121)\n\t),\n\tnew Color(\n\t\t211, 169, 103,\n\t\tt('Whiskey'), // TRANSLATORS: A color name for RGB(211, 169, 103)\n\t),\n\tnew Color(\n\t\t221, 203, 85,\n\t\tt('Gold'),\n\t),\n\tnew Color(\n\t\t165, 184, 114,\n\t\tt('Olivine'), // TRANSLATORS: A color name for RGB(165, 184, 114)\n\t),\n\tnew Color(\n\t\t110, 166, 143,\n\t\tt('Acapulco'), // TRANSLATORS: A color name for RGB(110, 166, 143)\n\t),\n\tnew Color(\n\t\t55, 148, 172,\n\t\tt('Boston Blue'), // TRANSLATORS: A color name for RGB(55, 148, 172)\n\t),\n\tnew Color(\n\t\t0, 130, 201,\n\t\tt('Nextcloud blue'),\n\t),\n\tnew Color(\n\t\t45, 115, 190,\n\t\tt('Mariner'), // TRANSLATORS: A color name for RGB(45, 115, 190)\n\t),\n\tnew Color(\n\t\t91, 100, 179,\n\t\tt('Blue Violet'), // TRANSLATORS: A color name for RGB(91, 100, 179)\n\t),\n\tnew Color(\n\t\t136, 85, 168,\n\t\tt('Deluge'), // TRANSLATORS: A color name for RGB(136, 85, 168)\n\t),\n]\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3)\n * if step = 6\n * 3 colors * 6 will result in 18 generated colors\n *\n * @param {number} [steps] Number of steps to go from a color to another\n * @return {object[]}\n */\nexport function GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\n\t}\n\n\tif (steps === 4) {\n\t\treturn defaultPalette\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n"],"names":["Color","r","g","b","name","toHex","num","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","defaultPalette","t","GenColors","red","yellow","blue","palette1","palette2","palette3"],"mappings":"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"}
@@ -1,5 +1,5 @@
1
- import { r as f, t as h, a as n } from "./_l10n-f5af5269.mjs";
2
- f(h);
1
+ import { r as h, t as f, a as n } from "./_l10n-tZEKUJRj.mjs";
2
+ h(f);
3
3
  /**
4
4
  * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
5
5
  *
@@ -29,21 +29,25 @@ class e {
29
29
  * @param {number} b The blue value
30
30
  * @param {string} [name] The name of the color
31
31
  */
32
- constructor(t, r, l, a) {
33
- this.r = t, this.g = r, this.b = l, a && (this.name = a);
32
+ constructor(t, r, l, c) {
33
+ this.r = t, this.g = r, this.b = l, c && (this.name = c);
34
+ }
35
+ get color() {
36
+ const t = (r) => `00${r.toString(16)}`.slice(-2);
37
+ return `#${t(this.r)}${t(this.g)}${t(this.b)}`;
34
38
  }
35
39
  }
36
40
  function b(o, t) {
37
41
  const r = new Array(3);
38
42
  return r[0] = (t[1].r - t[0].r) / o, r[1] = (t[1].g - t[0].g) / o, r[2] = (t[1].b - t[0].b) / o, r;
39
43
  }
40
- function i(o, t, r) {
44
+ function u(o, t, r) {
41
45
  const l = [];
42
46
  l.push(t);
43
- const a = b(o, [t, r]);
44
- for (let c = 1; c < o; c++) {
45
- const u = Math.floor(t.r + a[0] * c), w = Math.floor(t.g + a[1] * c), s = Math.floor(t.b + a[2] * c);
46
- l.push(new e(u, w, s));
47
+ const c = b(o, [t, r]);
48
+ for (let a = 1; a < o; a++) {
49
+ const i = Math.floor(t.r + c[0] * a), s = Math.floor(t.g + c[1] * a), w = Math.floor(t.b + c[2] * a);
50
+ l.push(new e(i, s, w));
47
51
  }
48
52
  return l;
49
53
  }
@@ -128,10 +132,11 @@ const g = [
128
132
  function x(o) {
129
133
  if (o || (o = 6), o === 4)
130
134
  return g;
131
- const t = new e(182, 70, 157, n("Purple")), r = new e(221, 203, 85, n("Gold")), l = new e(0, 130, 201, n("Nextcloud blue")), a = i(o, t, r), c = i(o, r, l), u = i(o, l, t);
132
- return a.concat(c).concat(u);
135
+ const t = new e(182, 70, 157, n("Purple")), r = new e(221, 203, 85, n("Gold")), l = new e(0, 130, 201, n("Nextcloud blue")), c = u(o, t, r), a = u(o, r, l), i = u(o, l, t);
136
+ return c.concat(a).concat(i);
133
137
  }
134
138
  export {
139
+ e as C,
135
140
  x as G,
136
141
  g as d
137
142
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenColors-ZwEj275X.mjs","sources":["../../src/utils/GenColors.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Grigorii K. Shartsev <me@shgk.me>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport { t } from '../l10n.js'\n\nexport class Color {\n\n\t/**\n\t * @param {number} r The red value\n\t * @param {number} g The green value\n\t * @param {number} b The blue value\n\t * @param {string} [name] The name of the color\n\t */\n\tconstructor(r, g, b, name) {\n\t\tthis.r = r\n\t\tthis.g = g\n\t\tthis.b = b\n\t\tif (name) {\n\t\t\tthis.name = name\n\t\t}\n\t}\n\n\tget color() {\n\t\tconst toHex = (num) => `00${num.toString(16)}`.slice(-2)\n\t\treturn `#${toHex(this.r)}${toHex(this.g)}${toHex(this.b)}`\n\t}\n\n}\n\n/**\n * Calculate the number of steps\n *\n * @param {number} steps The number of steps\n * @param {Array} ends The ends\n * @return {Array} Array containing the number of steps per color\n */\nfunction stepCalc(steps, ends) {\n\tconst step = new Array(3)\n\tstep[0] = (ends[1].r - ends[0].r) / steps\n\tstep[1] = (ends[1].g - ends[0].g) / steps\n\tstep[2] = (ends[1].b - ends[0].b) / steps\n\treturn step\n}\n\n/**\n * Create a color palette from two colors\n *\n * @param {number} steps The number of steps the palette has\n * @param {Color} color1 The first color\n * @param {Color} color2 The second color\n * @return {Array} The created palette array\n */\nfunction mixPalette(steps, color1, color2) {\n\tconst palette = []\n\tpalette.push(color1)\n\tconst step = stepCalc(steps, [color1, color2])\n\tfor (let i = 1; i < steps; i++) {\n\t\tconst r = Math.floor(color1.r + step[0] * i)\n\t\tconst g = Math.floor(color1.g + step[1] * i)\n\t\tconst b = Math.floor(color1.b + step[2] * i)\n\t\tpalette.push(new Color(r, g, b))\n\t}\n\treturn palette\n}\n\n/**\n * Like GenColor(4) but with labels\n */\nexport const defaultPalette = [\n\tnew Color(182, 70, 157, t('Purple')),\n\tnew Color(\n\t\t191, 103, 139,\n\t\tt('Rosy brown'), // TRANSLATORS: A color name for RGB(191, 103, 139)\n\t),\n\tnew Color(\n\t\t201, 136, 121,\n\t\tt('Feldspar'), // TRANSLATORS: A color name for RGB(201, 136, 121)\n\t),\n\tnew Color(\n\t\t211, 169, 103,\n\t\tt('Whiskey'), // TRANSLATORS: A color name for RGB(211, 169, 103)\n\t),\n\tnew Color(\n\t\t221, 203, 85,\n\t\tt('Gold'),\n\t),\n\tnew Color(\n\t\t165, 184, 114,\n\t\tt('Olivine'), // TRANSLATORS: A color name for RGB(165, 184, 114)\n\t),\n\tnew Color(\n\t\t110, 166, 143,\n\t\tt('Acapulco'), // TRANSLATORS: A color name for RGB(110, 166, 143)\n\t),\n\tnew Color(\n\t\t55, 148, 172,\n\t\tt('Boston Blue'), // TRANSLATORS: A color name for RGB(55, 148, 172)\n\t),\n\tnew Color(\n\t\t0, 130, 201,\n\t\tt('Nextcloud blue'),\n\t),\n\tnew Color(\n\t\t45, 115, 190,\n\t\tt('Mariner'), // TRANSLATORS: A color name for RGB(45, 115, 190)\n\t),\n\tnew Color(\n\t\t91, 100, 179,\n\t\tt('Blue Violet'), // TRANSLATORS: A color name for RGB(91, 100, 179)\n\t),\n\tnew Color(\n\t\t136, 85, 168,\n\t\tt('Deluge'), // TRANSLATORS: A color name for RGB(136, 85, 168)\n\t),\n]\n\n/**\n * Generate colors from the official nextcloud color\n * You can provide how many colors you want (multiplied by 3)\n * if step = 6\n * 3 colors * 6 will result in 18 generated colors\n *\n * @param {number} [steps] Number of steps to go from a color to another\n * @return {object[]}\n */\nexport function GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\n\t}\n\n\tif (steps === 4) {\n\t\treturn defaultPalette\n\t}\n\n\tconst red = new Color(182, 70, 157, t('Purple'))\n\tconst yellow = new Color(221, 203, 85, t('Gold'))\n\tconst blue = new Color(0, 130, 201, t('Nextcloud blue'))\n\n\tconst palette1 = mixPalette(steps, red, yellow)\n\tconst palette2 = mixPalette(steps, yellow, blue)\n\tconst palette3 = mixPalette(steps, blue, red)\n\n\treturn palette1.concat(palette2).concat(palette3)\n}\n"],"names":["Color","r","g","b","name","toHex","num","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","defaultPalette","t","GenColors","red","yellow","blue","palette1","palette2","palette3"],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"GenRandomId-c214d235.cjs","sources":["../../src/utils/GenRandomId.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nconst GenRandomId = (length) => {\n\treturn Math.random()\n\t\t.toString(36)\n\t\t.replace(/[^a-z]+/g, '')\n\t\t.slice(0, length || 5)\n}\n\nexport default GenRandomId\n"],"names":["GenRandomId","length"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBK,MAACA,IAAc,CAACC,MACb,KAAK,OAAQ,EAClB,SAAS,EAAE,EACX,QAAQ,YAAY,EAAE,EACtB,MAAM,GAAGA,KAAU,CAAC;;"}
1
+ {"version":3,"file":"GenRandomId-ULxaMkkr.cjs","sources":["../../src/utils/GenRandomId.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nconst GenRandomId = (length) => {\n\treturn Math.random()\n\t\t.toString(36)\n\t\t.replace(/[^a-z]+/g, '')\n\t\t.slice(0, length || 5)\n}\n\nexport default GenRandomId\n"],"names":["GenRandomId","length"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBK,MAACA,IAAc,CAACC,MACb,KAAK,OAAQ,EAClB,SAAS,EAAE,EACX,QAAQ,YAAY,EAAE,EACtB,MAAM,GAAGA,KAAU,CAAC;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"GenRandomId-cb9ccebe.mjs","sources":["../../src/utils/GenRandomId.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nconst GenRandomId = (length) => {\n\treturn Math.random()\n\t\t.toString(36)\n\t\t.replace(/[^a-z]+/g, '')\n\t\t.slice(0, length || 5)\n}\n\nexport default GenRandomId\n"],"names":["GenRandomId","length"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBK,MAACA,IAAc,CAACC,MACb,KAAK,OAAQ,EAClB,SAAS,EAAE,EACX,QAAQ,YAAY,EAAE,EACtB,MAAM,GAAGA,KAAU,CAAC;"}
1
+ {"version":3,"file":"GenRandomId-VodkdWbp.mjs","sources":["../../src/utils/GenRandomId.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nconst GenRandomId = (length) => {\n\treturn Math.random()\n\t\t.toString(36)\n\t\t.replace(/[^a-z]+/g, '')\n\t\t.slice(0, length || 5)\n}\n\nexport default GenRandomId\n"],"names":["GenRandomId","length"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBK,MAACA,IAAc,CAACC,MACb,KAAK,OAAQ,EAClB,SAAS,EAAE,EACX,QAAQ,YAAY,EAAE,EACtB,MAAM,GAAGA,KAAU,CAAC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Linkify-39f20c9a.mjs","sources":["../../src/utils/Linkify.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2021 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport linkifyStr from 'linkify-string'\n\n/**\n * Linkify text\n *\n * @param {string} text The text to linkify\n * @return {string} The linkified string\n */\nconst Linkify = (text) => {\n\treturn linkifyStr(text, {\n\t\tdefaultProtocol: 'https',\n\t\ttarget: '_blank',\n\t\tclassName: 'external linkified',\n\t\tattributes: {\n\t\t\trel: 'nofollow noopener noreferrer',\n\t\t},\n\t})\n}\n\nexport default Linkify\n"],"names":["Linkify","text","linkifyStr"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BK,MAACA,IAAU,CAACC,MACTC,EAAWD,GAAM;AAAA,EACvB,iBAAiB;AAAA,EACjB,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,YAAY;AAAA,IACX,KAAK;AAAA,EACL;AACH,CAAE;"}
1
+ {"version":3,"file":"Linkify-V7PfCeZ8.mjs","sources":["../../src/utils/Linkify.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2021 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport linkifyStr from 'linkify-string'\n\n/**\n * Linkify text\n *\n * @param {string} text The text to linkify\n * @return {string} The linkified string\n */\nconst Linkify = (text) => {\n\treturn linkifyStr(text, {\n\t\tdefaultProtocol: 'https',\n\t\ttarget: '_blank',\n\t\tclassName: 'external linkified',\n\t\tattributes: {\n\t\t\trel: 'nofollow noopener noreferrer',\n\t\t},\n\t})\n}\n\nexport default Linkify\n"],"names":["Linkify","text","linkifyStr"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BK,MAACA,IAAU,CAACC,MACTC,EAAWD,GAAM;AAAA,EACvB,iBAAiB;AAAA,EACjB,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,YAAY;AAAA,IACX,KAAK;AAAA,EACL;AACH,CAAE;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Linkify-40cdd635.cjs","sources":["../../src/utils/Linkify.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2021 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport linkifyStr from 'linkify-string'\n\n/**\n * Linkify text\n *\n * @param {string} text The text to linkify\n * @return {string} The linkified string\n */\nconst Linkify = (text) => {\n\treturn linkifyStr(text, {\n\t\tdefaultProtocol: 'https',\n\t\ttarget: '_blank',\n\t\tclassName: 'external linkified',\n\t\tattributes: {\n\t\t\trel: 'nofollow noopener noreferrer',\n\t\t},\n\t})\n}\n\nexport default Linkify\n"],"names":["Linkify","text","linkifyStr"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BK,MAACA,IAAU,CAACC,MACTC,EAAAA,QAAWD,GAAM;AAAA,EACvB,iBAAiB;AAAA,EACjB,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,YAAY;AAAA,IACX,KAAK;AAAA,EACL;AACH,CAAE;;"}
1
+ {"version":3,"file":"Linkify-f3s3nAe_.cjs","sources":["../../src/utils/Linkify.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2021 Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport linkifyStr from 'linkify-string'\n\n/**\n * Linkify text\n *\n * @param {string} text The text to linkify\n * @return {string} The linkified string\n */\nconst Linkify = (text) => {\n\treturn linkifyStr(text, {\n\t\tdefaultProtocol: 'https',\n\t\ttarget: '_blank',\n\t\tclassName: 'external linkified',\n\t\tattributes: {\n\t\t\trel: 'nofollow noopener noreferrer',\n\t\t},\n\t})\n}\n\nexport default Linkify\n"],"names":["Linkify","text","linkifyStr"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BK,MAACA,IAAU,CAACC,MACTC,EAAAA,QAAWD,GAAM;AAAA,EACvB,iBAAiB;AAAA,EACjB,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,YAAY;AAAA,IACX,KAAK;AAAA,EACL;AACH,CAAE;;"}
@@ -0,0 +1,50 @@
1
+ import "../assets/NcActionButtonGroup-oXobVIqQ.css";
2
+ import { defineComponent as t } from "vue";
3
+ import { G as r } from "./GenRandomId-VodkdWbp.mjs";
4
+ import { r as o, a } from "./_l10n-tZEKUJRj.mjs";
5
+ import { n as s } from "./_plugin-vue2_normalizer-u6G_3nkj.mjs";
6
+ o();
7
+ const i = t({
8
+ name: "NcActionButtonGroup",
9
+ inject: {
10
+ isInSemanticMenu: {
11
+ from: "NcActions:isSemanticMenu",
12
+ default: !1
13
+ }
14
+ },
15
+ props: {
16
+ /**
17
+ * Optional text shown below the button group
18
+ */
19
+ name: {
20
+ required: !1,
21
+ default: void 0,
22
+ type: String
23
+ }
24
+ },
25
+ setup() {
26
+ return {
27
+ labelId: `nc-action-button-group-${r()}`
28
+ };
29
+ },
30
+ methods: {
31
+ t: a
32
+ }
33
+ });
34
+ var l = function() {
35
+ var e = this, n = e._self._c;
36
+ return e._self._setupProxy, n("li", { staticClass: "nc-button-group-base", attrs: { role: e.isInSemanticMenu && "presentation" } }, [e.name ? n("div", { attrs: { id: e.labelId } }, [e._v(" " + e._s(e.name) + " ")]) : e._e(), n("ul", { staticClass: "nc-button-group-content", attrs: { role: "group", "aria-labelledby": e.name ? e.labelId : void 0 } }, [e._t("default")], 2)]);
37
+ }, u = [], c = /* @__PURE__ */ s(
38
+ i,
39
+ l,
40
+ u,
41
+ !1,
42
+ null,
43
+ null,
44
+ null,
45
+ null
46
+ );
47
+ const v = c.exports;
48
+ export {
49
+ v as N
50
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NcActionButtonGroup-3W6tc8gZ.mjs","sources":["../../src/components/NcActionButtonGroup/NcActionButtonGroup.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2022\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<docs>\nThis component is made to be used inside of the [NcActions](#NcActions) component slots,\nto group buttons as one visual action, like for text alignment.\nThis should be used sparingly for accessibility.\n\n```vue\n<template>\n\t<div style=\"display: flex; align-items: center;\">\n\t\t<NcActions>\n\t\t\t<NcActionButtonGroup name=\"Text alignment\">\n\t\t\t\t<NcActionButton aria-label=\"Align left\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"l\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignLeft :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align center\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"c\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignCenter :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align right\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"r\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignRight :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t</NcActionButtonGroup>\n\t\t\t<NcActionButton :close-after-click=\"true\"\n\t\t\t\t@click=\"showMessage('Some other action')\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Plus :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\tSome other action\n\t\t\t</NcActionButton>\n\t\t</NcActions>\n\t</div>\n</template>\n<script>\nimport AlignLeft from 'vue-material-design-icons/AlignHorizontalLeft'\nimport AlignRight from 'vue-material-design-icons/AlignHorizontalRight'\nimport AlignCenter from 'vue-material-design-icons/AlignHorizontalCenter'\nimport Plus from 'vue-material-design-icons/Plus'\n\nexport default {\n\tcomponents: {\n\t\tAlignLeft,\n\t\tAlignRight,\n\t\tAlignCenter,\n\t\tPlus,\n\t},\n\tdata() {\n\t\treturn { alignment: 'l' }\n\t},\n\tmethods: {\n\t\tshowMessage(msg) {\n\t\t\talert(msg)\n\t\t},\n\t},\n}\n</script>\n```\n</docs>\n\n<template>\n\t<li class=\"nc-button-group-base\" :role=\"isInSemanticMenu && 'presentation'\">\n\t\t<div v-if=\"name\" :id=\"labelId\">\n\t\t\t{{ name }}\n\t\t</div>\n\t\t<ul class=\"nc-button-group-content\" role=\"group\" :aria-labelledby=\"name ? labelId : undefined\">\n\t\t\t<slot />\n\t\t</ul>\n\t</li>\n</template>\n\n<script>\nimport { defineComponent } from 'vue'\nimport GenRandomId from '../../utils/GenRandomId.js'\nimport { t } from '../../l10n.js'\n\n/**\n * A wrapper for allowing inlining NcAction components within the action menu\n */\nexport default defineComponent({\n\tname: 'NcActionButtonGroup',\n\n\tinject: {\n\t\tisInSemanticMenu: {\n\t\t\tfrom: 'NcActions:isSemanticMenu',\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * Optional text shown below the button group\n\t\t */\n\t\tname: {\n\t\t\trequired: false,\n\t\t\tdefault: undefined,\n\t\t\ttype: String,\n\t\t},\n\t},\n\n\tsetup() {\n\t\treturn {\n\t\t\tlabelId: `nc-action-button-group-${GenRandomId()}`,\n\t\t}\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n})\n</script>\n\n<style lang=\"scss\">\n.nc-button-group-base {\n\t>div {\n\t\ttext-align: center;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n\n\tul.nc-button-group-content {\n\t\tdisplay: flex;\n\t\tgap: 4px; // required for the focus-visible outline\n\t\tjustify-content: space-between;\n\t\tli {\n\t\t\tflex: 1 1;\n\t\t}\n\n\t\t.action-button {\n\t\t\t// Fix action buttons beeing shifted to the left (right padding)\n\t\t\tpadding: 0 !important;\n\t\t\twidth: 100%;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\n\t\t\t&.action-button--active {\n\t\t\t\tbackground-color: var(--color-primary-element);\n\t\t\t\tborder-radius: var(--border-radius-large);\n\t\t\t\tcolor: var(--color-primary-element-text);\n\n\t\t\t\t&:hover, &:focus, &:focus-within {\n\t\t\t\t\tbackground-color: var(--color-primary-element-hover);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.action-button__pressed-icon {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main","defineComponent","GenRandomId","t"],"mappings":";;;;;;AA8GA,MAAAA,IAAAC,EAAA;AAAA,EACA,MAAA;AAAA,EAEA,QAAA;AAAA,IACA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,SAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,QAAA;AACA,WAAA;AAAA,MACA,SAAA,0BAAAC,EAAA,CAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,GAAAC;AAAA,EACA;AACA,CAAA;;;;;;;;;;;;;;;"}
@@ -0,0 +1,45 @@
1
+ var _ = require("../assets/NcActionButtonGroup-oXobVIqQ.css");
2
+ const r = require("vue"), o = require("./GenRandomId-ULxaMkkr.cjs"), t = require("./_l10n-juAR1Sua.cjs"), s = require("./_plugin-vue2_normalizer-DCfUPqga.cjs");
3
+ t.register();
4
+ const a = r.defineComponent({
5
+ name: "NcActionButtonGroup",
6
+ inject: {
7
+ isInSemanticMenu: {
8
+ from: "NcActions:isSemanticMenu",
9
+ default: !1
10
+ }
11
+ },
12
+ props: {
13
+ /**
14
+ * Optional text shown below the button group
15
+ */
16
+ name: {
17
+ required: !1,
18
+ default: void 0,
19
+ type: String
20
+ }
21
+ },
22
+ setup() {
23
+ return {
24
+ labelId: `nc-action-button-group-${o.GenRandomId()}`
25
+ };
26
+ },
27
+ methods: {
28
+ t: t.t
29
+ }
30
+ });
31
+ var u = function() {
32
+ var e = this, n = e._self._c;
33
+ return e._self._setupProxy, n("li", { staticClass: "nc-button-group-base", attrs: { role: e.isInSemanticMenu && "presentation" } }, [e.name ? n("div", { attrs: { id: e.labelId } }, [e._v(" " + e._s(e.name) + " ")]) : e._e(), n("ul", { staticClass: "nc-button-group-content", attrs: { role: "group", "aria-labelledby": e.name ? e.labelId : void 0 } }, [e._t("default")], 2)]);
34
+ }, i = [], l = /* @__PURE__ */ s.normalizeComponent(
35
+ a,
36
+ u,
37
+ i,
38
+ !1,
39
+ null,
40
+ null,
41
+ null,
42
+ null
43
+ );
44
+ const c = l.exports;
45
+ exports.NcActionButtonGroup = c;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NcActionButtonGroup-IEaXhYp3.cjs","sources":["../../src/components/NcActionButtonGroup/NcActionButtonGroup.vue"],"sourcesContent":["<!--\n - @copyright Copyright (c) 2022\n -\n - @license AGPL-3.0-or-later\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n -->\n\n<docs>\nThis component is made to be used inside of the [NcActions](#NcActions) component slots,\nto group buttons as one visual action, like for text alignment.\nThis should be used sparingly for accessibility.\n\n```vue\n<template>\n\t<div style=\"display: flex; align-items: center;\">\n\t\t<NcActions>\n\t\t\t<NcActionButtonGroup name=\"Text alignment\">\n\t\t\t\t<NcActionButton aria-label=\"Align left\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"l\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignLeft :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align center\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"c\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignCenter :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t\t<NcActionButton aria-label=\"Align right\"\n\t\t\t\t\t:model-value.sync=\"alignment\"\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tvalue=\"r\">\n\t\t\t\t\t<template #icon>\n\t\t\t\t\t\t<AlignRight :size=\"20\" />\n\t\t\t\t\t</template>\n\t\t\t\t</NcActionButton>\n\t\t\t</NcActionButtonGroup>\n\t\t\t<NcActionButton :close-after-click=\"true\"\n\t\t\t\t@click=\"showMessage('Some other action')\">\n\t\t\t\t<template #icon>\n\t\t\t\t\t<Plus :size=\"20\" />\n\t\t\t\t</template>\n\t\t\t\tSome other action\n\t\t\t</NcActionButton>\n\t\t</NcActions>\n\t</div>\n</template>\n<script>\nimport AlignLeft from 'vue-material-design-icons/AlignHorizontalLeft'\nimport AlignRight from 'vue-material-design-icons/AlignHorizontalRight'\nimport AlignCenter from 'vue-material-design-icons/AlignHorizontalCenter'\nimport Plus from 'vue-material-design-icons/Plus'\n\nexport default {\n\tcomponents: {\n\t\tAlignLeft,\n\t\tAlignRight,\n\t\tAlignCenter,\n\t\tPlus,\n\t},\n\tdata() {\n\t\treturn { alignment: 'l' }\n\t},\n\tmethods: {\n\t\tshowMessage(msg) {\n\t\t\talert(msg)\n\t\t},\n\t},\n}\n</script>\n```\n</docs>\n\n<template>\n\t<li class=\"nc-button-group-base\" :role=\"isInSemanticMenu && 'presentation'\">\n\t\t<div v-if=\"name\" :id=\"labelId\">\n\t\t\t{{ name }}\n\t\t</div>\n\t\t<ul class=\"nc-button-group-content\" role=\"group\" :aria-labelledby=\"name ? labelId : undefined\">\n\t\t\t<slot />\n\t\t</ul>\n\t</li>\n</template>\n\n<script>\nimport { defineComponent } from 'vue'\nimport GenRandomId from '../../utils/GenRandomId.js'\nimport { t } from '../../l10n.js'\n\n/**\n * A wrapper for allowing inlining NcAction components within the action menu\n */\nexport default defineComponent({\n\tname: 'NcActionButtonGroup',\n\n\tinject: {\n\t\tisInSemanticMenu: {\n\t\t\tfrom: 'NcActions:isSemanticMenu',\n\t\t\tdefault: false,\n\t\t},\n\t},\n\n\tprops: {\n\t\t/**\n\t\t * Optional text shown below the button group\n\t\t */\n\t\tname: {\n\t\t\trequired: false,\n\t\t\tdefault: undefined,\n\t\t\ttype: String,\n\t\t},\n\t},\n\n\tsetup() {\n\t\treturn {\n\t\t\tlabelId: `nc-action-button-group-${GenRandomId()}`,\n\t\t}\n\t},\n\n\tmethods: {\n\t\tt,\n\t},\n})\n</script>\n\n<style lang=\"scss\">\n.nc-button-group-base {\n\t>div {\n\t\ttext-align: center;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n\n\tul.nc-button-group-content {\n\t\tdisplay: flex;\n\t\tgap: 4px; // required for the focus-visible outline\n\t\tjustify-content: space-between;\n\t\tli {\n\t\t\tflex: 1 1;\n\t\t}\n\n\t\t.action-button {\n\t\t\t// Fix action buttons beeing shifted to the left (right padding)\n\t\t\tpadding: 0 !important;\n\t\t\twidth: 100%;\n\t\t\tdisplay: flex;\n\t\t\tjustify-content: center;\n\n\t\t\t&.action-button--active {\n\t\t\t\tbackground-color: var(--color-primary-element);\n\t\t\t\tborder-radius: var(--border-radius-large);\n\t\t\t\tcolor: var(--color-primary-element-text);\n\n\t\t\t\t&:hover, &:focus, &:focus-within {\n\t\t\t\t\tbackground-color: var(--color-primary-element-hover);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.action-button__pressed-icon {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n</style>\n"],"names":["_sfc_main","Vue","GenRandomId","_l10n"],"mappings":";;;AA8GA,MAAAA,IAAAC,EAAA,gBAAA;AAAA,EACA,MAAA;AAAA,EAEA,QAAA;AAAA,IACA,kBAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,SAAA;AAAA,MACA,MAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,QAAA;AACA,WAAA;AAAA,MACA,SAAA,0BAAAC,EAAA,YAAA,CAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,SAAA;AAAA,IACA,GAAAC,EAAA;AAAA,EACA;AACA,CAAA;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,234 @@
1
+ var g = require("../assets/NcActionInput-4zSvDkWm.css");
2
+ const n = require("../Components/NcDateTimePicker.cjs"), r = require("../Components/NcDateTimePickerNative.cjs"), c = require("./NcPasswordField-YvUbX2WS.cjs"), o = require("./NcSelect-c9-eF29z.cjs"), u = require("./NcTextField-8ap5MAGr.cjs"), d = require("./actionGlobal-_f-PhW84.cjs"), s = require("./GenRandomId-ULxaMkkr.cjs"), l = require("./_l10n-juAR1Sua.cjs"), p = require("./_plugin-vue2_normalizer-DCfUPqga.cjs");
3
+ l.register(l.t39);
4
+ const b = {
5
+ name: "NcActionInput",
6
+ components: {
7
+ NcDateTimePicker: n,
8
+ NcDateTimePickerNative: r,
9
+ NcPasswordField: c.NcPasswordField,
10
+ NcSelect: o.NcSelect,
11
+ NcTextField: u.NcTextField
12
+ },
13
+ mixins: [d.ActionGlobalMixin],
14
+ props: {
15
+ /**
16
+ * id attribute of the checkbox element
17
+ */
18
+ id: {
19
+ type: String,
20
+ default: () => "action-" + s.GenRandomId(),
21
+ validator: (t) => t.trim() !== ""
22
+ },
23
+ /**
24
+ * id attribute of the text input element
25
+ */
26
+ inputId: {
27
+ type: String,
28
+ default: () => "action-input-" + s.GenRandomId(),
29
+ validator: (t) => t.trim() !== ""
30
+ },
31
+ /**
32
+ * Icon to show with the action, can be either a CSS class or an URL
33
+ */
34
+ icon: {
35
+ type: String,
36
+ default: ""
37
+ },
38
+ /**
39
+ * type attribute of the input field
40
+ */
41
+ type: {
42
+ type: String,
43
+ default: "text",
44
+ validator(t) {
45
+ return [
46
+ "date",
47
+ "datetime-local",
48
+ "month",
49
+ "multiselect",
50
+ "number",
51
+ "password",
52
+ "search",
53
+ "tel",
54
+ "text",
55
+ "time",
56
+ "url",
57
+ "week",
58
+ "color",
59
+ "email"
60
+ ].indexOf(t) > -1;
61
+ }
62
+ },
63
+ /**
64
+ * id attribute for the native date time picker
65
+ */
66
+ idNativeDateTimePicker: {
67
+ type: String,
68
+ default: "date-time-picker_id"
69
+ },
70
+ /**
71
+ * Flag to use a native date time picker
72
+ */
73
+ isNativePicker: {
74
+ type: Boolean,
75
+ default: !1
76
+ },
77
+ /**
78
+ * The visible input label for accessibility purposes.
79
+ */
80
+ label: {
81
+ type: String,
82
+ default: null
83
+ },
84
+ /**
85
+ * If you want to show the label just above the
86
+ * input field, pass in `true` to this prop.
87
+ */
88
+ labelOutside: {
89
+ type: Boolean,
90
+ default: !0
91
+ },
92
+ /**
93
+ * value attribute of the input field
94
+ */
95
+ value: {
96
+ type: [String, Date, Number, Array],
97
+ default: ""
98
+ },
99
+ /**
100
+ * disabled state of the input field
101
+ */
102
+ disabled: {
103
+ type: Boolean,
104
+ default: !1
105
+ },
106
+ /**
107
+ * aria-label attribute of the input field
108
+ */
109
+ ariaLabel: {
110
+ type: String,
111
+ default: ""
112
+ },
113
+ /**
114
+ * @deprecated To be removed in @nextcloud/vue 9. Migration guide: remove ariaHidden prop from NcAction* components.
115
+ * @todo Add a check in @nextcloud/vue 9 that this prop is not provided,
116
+ * otherwise root element will inherit incorrect aria-hidden.
117
+ */
118
+ ariaHidden: {
119
+ type: Boolean,
120
+ default: null
121
+ },
122
+ /**
123
+ * Attribute forwarded to the underlying NcPasswordField and NcTextField
124
+ */
125
+ showTrailingButton: {
126
+ type: Boolean,
127
+ default: !0
128
+ },
129
+ /**
130
+ * Trailing button label forwarded to the underlying NcTextField
131
+ */
132
+ trailingButtonLabel: {
133
+ type: String,
134
+ default: l.t("Submit")
135
+ }
136
+ },
137
+ emits: [
138
+ "input",
139
+ "submit",
140
+ "change",
141
+ "update:value"
142
+ ],
143
+ computed: {
144
+ isIconUrl() {
145
+ try {
146
+ return new URL(this.icon);
147
+ } catch {
148
+ return !1;
149
+ }
150
+ },
151
+ isMultiselectType() {
152
+ return this.type === "multiselect";
153
+ },
154
+ nativeDatePickerType() {
155
+ switch (this.type) {
156
+ case "date":
157
+ case "month":
158
+ case "time":
159
+ case "week":
160
+ case "datetime-local":
161
+ return this.type;
162
+ }
163
+ return !1;
164
+ },
165
+ datePickerType() {
166
+ if (!this.isNativePicker)
167
+ switch (this.type) {
168
+ case "date":
169
+ case "month":
170
+ case "time":
171
+ return this.type;
172
+ case "datetime-local":
173
+ return "datetime";
174
+ }
175
+ return !1;
176
+ },
177
+ /**
178
+ * determines if the action is focusable
179
+ *
180
+ * @return {boolean} is the action focusable ?
181
+ */
182
+ isFocusable() {
183
+ return !this.disabled;
184
+ }
185
+ },
186
+ methods: {
187
+ // closing datepicker popup on mouseleave = unfocus
188
+ onLeave() {
189
+ this.$refs.datetimepicker && this.$refs.datetimepicker.$refs.datepicker && this.$refs.datetimepicker.$refs.datepicker.closePopup();
190
+ },
191
+ onInput(t) {
192
+ this.$emit("input", t), this.$emit("update:value", t.target ? t.target.value : t);
193
+ },
194
+ onSubmit(t) {
195
+ if (t.preventDefault(), t.stopPropagation(), !this.disabled)
196
+ this.$emit("submit", t);
197
+ else
198
+ return !1;
199
+ },
200
+ onChange(t) {
201
+ this.$emit("change", t);
202
+ }
203
+ }
204
+ };
205
+ var m = function() {
206
+ var e = this, i = e._self._c;
207
+ return i("li", { staticClass: "action", class: { "action--disabled": e.disabled } }, [i("span", { staticClass: "action-input", class: {
208
+ "action-input-picker--disabled": e.disabled,
209
+ "action-input--visible-label": e.labelOutside && e.label
210
+ }, on: { mouseleave: e.onLeave } }, [i("span", { staticClass: "action-input__icon-wrapper" }, [e._t("icon", function() {
211
+ return [i("span", { staticClass: "action-input__icon", class: [e.isIconUrl ? "action-input__icon--url" : e.icon], style: { backgroundImage: e.isIconUrl ? `url(${e.icon})` : null }, attrs: { "aria-hidden": "true" } })];
212
+ })], 2), i("form", { ref: "form", staticClass: "action-input__form", attrs: { disabled: e.disabled }, on: { submit: function(a) {
213
+ return a.preventDefault(), e.onSubmit.apply(null, arguments);
214
+ } } }, [i("div", { staticClass: "action-input__container" }, [e.label && e.labelOutside ? i("label", { staticClass: "action-input__text-label", class: { "action-input__text-label--hidden": !e.labelOutside }, attrs: { for: e.inputId } }, [e._v(" " + e._s(e.label) + " ")]) : e._e(), i("div", { staticClass: "action-input__input-container" }, [e.datePickerType ? i("NcDateTimePicker", e._b({ ref: "datetimepicker", staticClass: "action-input__datetimepicker", staticStyle: { "z-index": "99999999999" }, attrs: { value: e.value, placeholder: e.text, disabled: e.disabled, type: e.datePickerType, "input-class": ["mx-input", { focusable: e.isFocusable }] }, on: { input: e.onInput, change: e.onChange } }, "NcDateTimePicker", e.$attrs, !1)) : e.isNativePicker ? i("NcDateTimePickerNative", e._b({ staticClass: "action-input__datetimepicker", attrs: { id: e.idNativeDateTimePicker, value: e.value, type: e.nativeDatePickerType, "input-class": { focusable: e.isFocusable } }, on: { input: function(a) {
215
+ return e.$emit("input", a);
216
+ }, change: function(a) {
217
+ return e.$emit("change", a);
218
+ } } }, "NcDateTimePickerNative", e.$attrs, !1)) : e.isMultiselectType ? i("NcSelect", e._g(e._b({ staticClass: "action-input__multi", attrs: { value: e.value, placeholder: e.text, disabled: e.disabled, "append-to-body": e.$attrs.appendToBody || e.$attrs["append-to-body"] || !1, "input-class": { focusable: e.isFocusable } } }, "NcSelect", e.$attrs, !1), e.$listeners)) : e.type === "password" ? i("NcPasswordField", e._g(e._b({ attrs: { id: e.inputId, value: e.value, label: e.label, "label-outside": !e.label || e.labelOutside, placeholder: e.text, disabled: e.disabled, "input-class": { focusable: e.isFocusable }, "show-trailing-button": e.showTrailingButton && !e.disabled }, on: { input: e.onInput, change: e.onChange } }, "NcPasswordField", e.$attrs, !1), e.$listeners)) : e.type === "color" ? i("div", { staticClass: "action-input__container" }, [e.label && e.type === "color" ? i("label", { staticClass: "action-input__text-label", class: { "action-input__text-label--hidden": !e.labelOutside }, attrs: { for: e.inputId } }, [e._v(" " + e._s(e.label) + " ")]) : e._e(), i("div", { staticClass: "action-input__input-container" }, [i("NcColorPicker", e._g(e._b({ staticClass: "colorpicker__trigger", attrs: { id: "inputId", value: e.value }, on: { input: e.onInput, submit: function(a) {
219
+ return e.$refs.form.requestSubmit();
220
+ } } }, "NcColorPicker", e.$attrs, !1), e.$listeners), [i("button", { staticClass: "colorpicker__preview", class: { focusable: e.isFocusable }, style: { "background-color": e.value } })])], 1)]) : i("NcTextField", e._g(e._b({ attrs: { id: e.inputId, value: e.value, label: e.label, "label-outside": !e.label || e.labelOutside, placeholder: e.text, disabled: e.disabled, "input-class": { focusable: e.isFocusable }, type: e.type, "trailing-button-icon": "arrowRight", "trailing-button-label": e.trailingButtonLabel, "show-trailing-button": e.showTrailingButton && !e.disabled }, on: { "trailing-button-click": function(a) {
221
+ return e.$refs.form.requestSubmit();
222
+ }, input: e.onInput, change: e.onChange } }, "NcTextField", e.$attrs, !1), e.$listeners))], 1)])])])]);
223
+ }, _ = [], f = /* @__PURE__ */ p.normalizeComponent(
224
+ b,
225
+ m,
226
+ _,
227
+ !1,
228
+ null,
229
+ "f55526ee",
230
+ null,
231
+ null
232
+ );
233
+ const h = f.exports;
234
+ exports.NcActionInput = h;