@nextcloud/vue 8.2.0 → 8.4.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 (265) hide show
  1. package/CHANGELOG.md +67 -2
  2. package/dist/Components/NcActionButton.cjs +4 -4
  3. package/dist/Components/NcActionButton.cjs.map +1 -1
  4. package/dist/Components/NcActionButton.mjs +9 -9
  5. package/dist/Components/NcActionButton.mjs.map +1 -1
  6. package/dist/Components/NcActionButtonGroup.cjs +13 -9
  7. package/dist/Components/NcActionButtonGroup.cjs.map +1 -1
  8. package/dist/Components/NcActionButtonGroup.mjs +16 -11
  9. package/dist/Components/NcActionButtonGroup.mjs.map +1 -1
  10. package/dist/Components/NcActionInput.cjs +9 -8
  11. package/dist/Components/NcActionInput.cjs.map +1 -1
  12. package/dist/Components/NcActionInput.mjs +11 -10
  13. package/dist/Components/NcActionInput.mjs.map +1 -1
  14. package/dist/Components/NcActionLink.cjs +1 -1
  15. package/dist/Components/NcActionLink.mjs +1 -1
  16. package/dist/Components/NcActionRouter.cjs +1 -1
  17. package/dist/Components/NcActionRouter.mjs +1 -1
  18. package/dist/Components/NcActionText.cjs +1 -1
  19. package/dist/Components/NcActionText.mjs +1 -1
  20. package/dist/Components/NcActionTextEditable.cjs +1 -1
  21. package/dist/Components/NcActionTextEditable.mjs +1 -1
  22. package/dist/Components/NcActions.cjs +40 -40
  23. package/dist/Components/NcActions.cjs.map +1 -1
  24. package/dist/Components/NcActions.mjs +37 -37
  25. package/dist/Components/NcActions.mjs.map +1 -1
  26. package/dist/Components/NcAppContent.cjs +15 -14
  27. package/dist/Components/NcAppContent.cjs.map +1 -1
  28. package/dist/Components/NcAppContent.mjs +35 -34
  29. package/dist/Components/NcAppContent.mjs.map +1 -1
  30. package/dist/Components/NcAppNavigation.cjs +14 -14
  31. package/dist/Components/NcAppNavigation.cjs.map +1 -1
  32. package/dist/Components/NcAppNavigation.mjs +20 -20
  33. package/dist/Components/NcAppNavigation.mjs.map +1 -1
  34. package/dist/Components/NcAppNavigationCaption.cjs +2 -2
  35. package/dist/Components/NcAppNavigationCaption.cjs.map +1 -1
  36. package/dist/Components/NcAppNavigationCaption.mjs +2 -2
  37. package/dist/Components/NcAppNavigationCaption.mjs.map +1 -1
  38. package/dist/Components/NcAppNavigationItem.cjs +28 -24
  39. package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
  40. package/dist/Components/NcAppNavigationItem.mjs +66 -63
  41. package/dist/Components/NcAppNavigationItem.mjs.map +1 -1
  42. package/dist/Components/NcAppNavigationNewItem.cjs +2 -2
  43. package/dist/Components/NcAppNavigationNewItem.mjs +2 -2
  44. package/dist/Components/NcAppNavigationSettings.cjs +7 -8
  45. package/dist/Components/NcAppNavigationSettings.cjs.map +1 -1
  46. package/dist/Components/NcAppNavigationSettings.mjs +27 -29
  47. package/dist/Components/NcAppNavigationSettings.mjs.map +1 -1
  48. package/dist/Components/NcAppNavigationToggle.cjs +1 -1
  49. package/dist/Components/NcAppNavigationToggle.mjs +1 -1
  50. package/dist/Components/NcAppSettingsDialog.cjs +31 -30
  51. package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
  52. package/dist/Components/NcAppSettingsDialog.mjs +30 -29
  53. package/dist/Components/NcAppSettingsDialog.mjs.map +1 -1
  54. package/dist/Components/NcAppSidebar.cjs +88 -45
  55. package/dist/Components/NcAppSidebar.cjs.map +1 -1
  56. package/dist/Components/NcAppSidebar.mjs +158 -112
  57. package/dist/Components/NcAppSidebar.mjs.map +1 -1
  58. package/dist/Components/NcAvatar.cjs +1 -1
  59. package/dist/Components/NcAvatar.mjs +1 -1
  60. package/dist/Components/NcBreadcrumb.cjs +4 -3
  61. package/dist/Components/NcBreadcrumb.cjs.map +1 -1
  62. package/dist/Components/NcBreadcrumb.mjs +6 -5
  63. package/dist/Components/NcBreadcrumb.mjs.map +1 -1
  64. package/dist/Components/NcBreadcrumbs.cjs +26 -19
  65. package/dist/Components/NcBreadcrumbs.cjs.map +1 -1
  66. package/dist/Components/NcBreadcrumbs.mjs +48 -41
  67. package/dist/Components/NcBreadcrumbs.mjs.map +1 -1
  68. package/dist/Components/NcCheckboxRadioSwitch.cjs +48 -38
  69. package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
  70. package/dist/Components/NcCheckboxRadioSwitch.mjs +73 -63
  71. package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
  72. package/dist/Components/NcColorPicker.cjs +35 -12
  73. package/dist/Components/NcColorPicker.cjs.map +1 -1
  74. package/dist/Components/NcColorPicker.mjs +52 -29
  75. package/dist/Components/NcColorPicker.mjs.map +1 -1
  76. package/dist/Components/NcDashboardWidget.cjs +7 -6
  77. package/dist/Components/NcDashboardWidget.cjs.map +1 -1
  78. package/dist/Components/NcDashboardWidget.mjs +17 -16
  79. package/dist/Components/NcDashboardWidget.mjs.map +1 -1
  80. package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
  81. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  82. package/dist/Components/NcDateTime.cjs +15 -13
  83. package/dist/Components/NcDateTime.cjs.map +1 -1
  84. package/dist/Components/NcDateTime.mjs +12 -11
  85. package/dist/Components/NcDateTime.mjs.map +1 -1
  86. package/dist/Components/NcDateTimePicker.cjs +24 -23
  87. package/dist/Components/NcDateTimePicker.cjs.map +1 -1
  88. package/dist/Components/NcDateTimePicker.mjs +36 -36
  89. package/dist/Components/NcDateTimePicker.mjs.map +1 -1
  90. package/dist/Components/NcDateTimePickerNative.cjs +3 -3
  91. package/dist/Components/NcDateTimePickerNative.cjs.map +1 -1
  92. package/dist/Components/NcDateTimePickerNative.mjs +3 -3
  93. package/dist/Components/NcDateTimePickerNative.mjs.map +1 -1
  94. package/dist/Components/NcDialog.cjs +21 -20
  95. package/dist/Components/NcDialog.cjs.map +1 -1
  96. package/dist/Components/NcDialog.mjs +30 -28
  97. package/dist/Components/NcDialog.mjs.map +1 -1
  98. package/dist/Components/NcDialogButton.cjs +1 -1
  99. package/dist/Components/NcDialogButton.cjs.map +1 -1
  100. package/dist/Components/NcDialogButton.mjs +1 -1
  101. package/dist/Components/NcDialogButton.mjs.map +1 -1
  102. package/dist/Components/NcEmojiPicker.cjs +2 -1
  103. package/dist/Components/NcEmojiPicker.cjs.map +1 -1
  104. package/dist/Components/NcEmojiPicker.mjs +18 -17
  105. package/dist/Components/NcEmojiPicker.mjs.map +1 -1
  106. package/dist/Components/NcHeaderMenu.cjs +8 -8
  107. package/dist/Components/NcHeaderMenu.cjs.map +1 -1
  108. package/dist/Components/NcHeaderMenu.mjs +6 -6
  109. package/dist/Components/NcHeaderMenu.mjs.map +1 -1
  110. package/dist/Components/NcInputField.cjs +15 -4
  111. package/dist/Components/NcInputField.cjs.map +1 -1
  112. package/dist/Components/NcInputField.mjs +18 -7
  113. package/dist/Components/NcInputField.mjs.map +1 -1
  114. package/dist/Components/NcListItem.cjs +15 -10
  115. package/dist/Components/NcListItem.cjs.map +1 -1
  116. package/dist/Components/NcListItem.mjs +22 -17
  117. package/dist/Components/NcListItem.mjs.map +1 -1
  118. package/dist/Components/NcListItemIcon.cjs +1 -1
  119. package/dist/Components/NcListItemIcon.mjs +1 -1
  120. package/dist/Components/NcModal.cjs +50 -46
  121. package/dist/Components/NcModal.cjs.map +1 -1
  122. package/dist/Components/NcModal.mjs +66 -63
  123. package/dist/Components/NcModal.mjs.map +1 -1
  124. package/dist/Components/NcPasswordField.cjs +14 -12
  125. package/dist/Components/NcPasswordField.cjs.map +1 -1
  126. package/dist/Components/NcPasswordField.mjs +25 -23
  127. package/dist/Components/NcPasswordField.mjs.map +1 -1
  128. package/dist/Components/NcRelatedResourcesPanel.cjs +6 -4
  129. package/dist/Components/NcRelatedResourcesPanel.cjs.map +1 -1
  130. package/dist/Components/NcRelatedResourcesPanel.mjs +24 -22
  131. package/dist/Components/NcRelatedResourcesPanel.mjs.map +1 -1
  132. package/dist/Components/NcRichContenteditable.cjs +113 -82
  133. package/dist/Components/NcRichContenteditable.cjs.map +1 -1
  134. package/dist/Components/NcRichContenteditable.mjs +89 -55
  135. package/dist/Components/NcRichContenteditable.mjs.map +1 -1
  136. package/dist/Components/NcRichText.cjs +1 -1
  137. package/dist/Components/NcRichText.mjs +3 -3
  138. package/dist/Components/NcSelect.cjs +22 -21
  139. package/dist/Components/NcSelect.cjs.map +1 -1
  140. package/dist/Components/NcSelect.mjs +28 -28
  141. package/dist/Components/NcSelect.mjs.map +1 -1
  142. package/dist/Components/NcSelectTags.cjs +4 -2
  143. package/dist/Components/NcSelectTags.cjs.map +1 -1
  144. package/dist/Components/NcSelectTags.mjs +46 -44
  145. package/dist/Components/NcSelectTags.mjs.map +1 -1
  146. package/dist/Components/NcSettingsInputText.cjs +5 -4
  147. package/dist/Components/NcSettingsInputText.cjs.map +1 -1
  148. package/dist/Components/NcSettingsInputText.mjs +15 -14
  149. package/dist/Components/NcSettingsInputText.mjs.map +1 -1
  150. package/dist/Components/NcSettingsSection.cjs +8 -6
  151. package/dist/Components/NcSettingsSection.cjs.map +1 -1
  152. package/dist/Components/NcSettingsSection.mjs +18 -17
  153. package/dist/Components/NcSettingsSection.mjs.map +1 -1
  154. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  155. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  156. package/dist/Components/NcTextArea.cjs +5 -5
  157. package/dist/Components/NcTextArea.cjs.map +1 -1
  158. package/dist/Components/NcTextArea.mjs +4 -4
  159. package/dist/Components/NcTextArea.mjs.map +1 -1
  160. package/dist/Components/NcTextField.cjs +4 -2
  161. package/dist/Components/NcTextField.cjs.map +1 -1
  162. package/dist/Components/NcTextField.mjs +19 -17
  163. package/dist/Components/NcTextField.mjs.map +1 -1
  164. package/dist/Components/NcTimezonePicker.cjs +10 -8
  165. package/dist/Components/NcTimezonePicker.cjs.map +1 -1
  166. package/dist/Components/NcTimezonePicker.mjs +35 -33
  167. package/dist/Components/NcTimezonePicker.mjs.map +1 -1
  168. package/dist/Components/NcUserBubble.cjs +1 -1
  169. package/dist/Components/NcUserBubble.mjs +1 -1
  170. package/dist/Composables/useIsMobile.cjs +13 -8
  171. package/dist/Composables/useIsMobile.cjs.map +1 -1
  172. package/dist/Composables/useIsMobile.mjs +15 -10
  173. package/dist/Composables/useIsMobile.mjs.map +1 -1
  174. package/dist/Functions/usernameToColor.cjs +1 -1
  175. package/dist/Functions/usernameToColor.cjs.map +1 -1
  176. package/dist/Functions/usernameToColor.mjs +1 -1
  177. package/dist/Functions/usernameToColor.mjs.map +1 -1
  178. package/dist/assets/{NcAppNavigationToggle-9e170630.css → NcAppNavigationToggle-48c375e8.css} +4 -2
  179. package/dist/assets/{NcSettingsSelectGroup-6ddb63a6.css → NcSettingsSelectGroup-a29e2156.css} +2 -2
  180. package/dist/assets/{index-a9d1ad5c.css → index-13720a46.css} +24 -24
  181. package/dist/assets/{index-93bc89ef.css → index-1a317434.css} +9 -12
  182. package/dist/assets/{index-a0532427.css → index-2a1ec06b.css} +42 -36
  183. package/dist/assets/{index-3d1ccc15.css → index-2d5cf6b2.css} +45 -45
  184. package/dist/assets/index-3b654875.css +144 -0
  185. package/dist/assets/{index-4437e6bf.css → index-5784183b.css} +8 -8
  186. package/dist/assets/{index-e9fce208.css → index-7868494b.css} +16 -16
  187. package/dist/assets/{index-db846386.css → index-7f77b8ae.css} +49 -45
  188. package/dist/assets/{index-dc612aa3.css → index-86454928.css} +15 -12
  189. package/dist/assets/{index-2d4de2fc.css → index-8b327013.css} +11 -3
  190. package/dist/assets/{index-30ca9574.css → index-97305c1f.css} +27 -40
  191. package/dist/assets/{index-73ded07b.css → index-a3c23731.css} +63 -63
  192. package/dist/assets/{index-5c74e333.css → index-a7fc7815.css} +16 -16
  193. package/dist/assets/{index-51c1f2a9.css → index-a9999048.css} +13 -20
  194. package/dist/assets/{index-3764a447.css → index-aacb7cf8.css} +16 -16
  195. package/dist/assets/{index-d1c0876d.css → index-b0bba2fc.css} +11 -11
  196. package/dist/assets/{index-b991895f.css → index-c20f9f7e.css} +15 -15
  197. package/dist/assets/{index-f8d6daf3.css → index-d8bc189c.css} +38 -41
  198. package/dist/assets/{index-ffa6d11c.css → index-dab51681.css} +64 -31
  199. package/dist/assets/{index-4e03d941.css → index-f24e102f.css} +49 -48
  200. package/dist/assets/{index-4611417f.css → index-f5162bbd.css} +7 -7
  201. package/dist/assets/{index-34dfc54e.css → index-f78bd735.css} +13 -13
  202. package/dist/assets/{index-edee3304.css → index-fe84a063.css} +6 -7
  203. package/dist/chunks/GenColors-5c054042.mjs +137 -0
  204. package/dist/chunks/GenColors-5c054042.mjs.map +1 -0
  205. package/dist/chunks/GenColors-7495e6f6.cjs +136 -0
  206. package/dist/chunks/GenColors-7495e6f6.cjs.map +1 -0
  207. package/dist/chunks/{NcAppNavigationToggle-2574bba5.mjs → NcAppNavigationToggle-0bc638a8.mjs} +27 -31
  208. package/dist/chunks/{NcAppNavigationToggle-2574bba5.mjs.map → NcAppNavigationToggle-0bc638a8.mjs.map} +1 -1
  209. package/dist/chunks/{NcAppNavigationToggle-1301e882.cjs → NcAppNavigationToggle-6d192bea.cjs} +27 -30
  210. package/dist/chunks/{NcAppNavigationToggle-1301e882.cjs.map → NcAppNavigationToggle-6d192bea.cjs.map} +1 -1
  211. package/dist/chunks/{NcInputConfirmCancel-a612e6a3.mjs → NcInputConfirmCancel-a08c5cb4.mjs} +14 -13
  212. package/dist/chunks/{NcInputConfirmCancel-a612e6a3.mjs.map → NcInputConfirmCancel-a08c5cb4.mjs.map} +1 -1
  213. package/dist/chunks/{NcInputConfirmCancel-9906b563.cjs → NcInputConfirmCancel-b99898db.cjs} +8 -7
  214. package/dist/chunks/{NcInputConfirmCancel-9906b563.cjs.map → NcInputConfirmCancel-b99898db.cjs.map} +1 -1
  215. package/dist/chunks/{NcRichText-f5cfcd57.mjs → NcRichText-e4bf7767.mjs} +1 -1
  216. package/dist/chunks/{NcRichText-f5cfcd57.mjs.map → NcRichText-e4bf7767.mjs.map} +1 -1
  217. package/dist/chunks/{NcRichText-9f77a9c6.cjs → NcRichText-f729896c.cjs} +1 -1
  218. package/dist/chunks/{NcRichText-9f77a9c6.cjs.map → NcRichText-f729896c.cjs.map} +1 -1
  219. package/dist/chunks/{NcSettingsSelectGroup-0f71fef4.cjs → NcSettingsSelectGroup-b065ffc8.cjs} +18 -17
  220. package/dist/chunks/NcSettingsSelectGroup-b065ffc8.cjs.map +1 -0
  221. package/dist/chunks/{NcSettingsSelectGroup-091c0306.mjs → NcSettingsSelectGroup-ecc8bc5a.mjs} +19 -19
  222. package/dist/chunks/NcSettingsSelectGroup-ecc8bc5a.mjs.map +1 -0
  223. package/dist/chunks/{ScopeComponent-df4b58b1.cjs → ScopeComponent-06c558d3.cjs} +1 -1
  224. package/dist/chunks/{ScopeComponent-df4b58b1.cjs.map → ScopeComponent-06c558d3.cjs.map} +1 -1
  225. package/dist/chunks/{ScopeComponent-3ea00dcd.mjs → ScopeComponent-b039a43c.mjs} +1 -1
  226. package/dist/chunks/{ScopeComponent-3ea00dcd.mjs.map → ScopeComponent-b039a43c.mjs.map} +1 -1
  227. package/dist/chunks/_l10n-72c5e29e.cjs +62 -0
  228. package/dist/chunks/_l10n-72c5e29e.cjs.map +1 -0
  229. package/dist/chunks/_l10n-f5af5269.mjs +64 -0
  230. package/dist/chunks/_l10n-f5af5269.mjs.map +1 -0
  231. package/dist/chunks/{actionText-60ff01d1.mjs → actionText-123f26b0.mjs} +3 -3
  232. package/dist/chunks/{actionText-60ff01d1.mjs.map → actionText-123f26b0.mjs.map} +1 -1
  233. package/dist/chunks/{actionText-9582810f.cjs → actionText-e450809c.cjs} +5 -5
  234. package/dist/chunks/{actionText-9582810f.cjs.map → actionText-e450809c.cjs.map} +1 -1
  235. package/dist/chunks/{index-cea13a24.mjs → index-309426ff.mjs} +123 -77
  236. package/dist/chunks/index-309426ff.mjs.map +1 -0
  237. package/dist/chunks/{index-dc10fd2b.cjs → index-693e993c.cjs} +109 -64
  238. package/dist/chunks/index-693e993c.cjs.map +1 -0
  239. package/dist/chunks/{referencePickerModal-c2f33569.mjs → referencePickerModal-12935fb3.mjs} +175 -169
  240. package/dist/chunks/{referencePickerModal-c2f33569.mjs.map → referencePickerModal-12935fb3.mjs.map} +1 -1
  241. package/dist/chunks/{referencePickerModal-aa5d3f47.cjs → referencePickerModal-12fa2ad0.cjs} +36 -30
  242. package/dist/chunks/{referencePickerModal-aa5d3f47.cjs.map → referencePickerModal-12fa2ad0.cjs.map} +1 -1
  243. package/dist/index.cjs +93 -93
  244. package/dist/index.cjs.map +1 -1
  245. package/dist/index.mjs +96 -95
  246. package/dist/index.mjs.map +1 -1
  247. package/dist/utils/UserStatus.d.ts +26 -0
  248. package/package.json +10 -4
  249. package/dist/assets/index-2e5e3b55.css +0 -151
  250. package/dist/chunks/GenColors-02173e2c.mjs +0 -56
  251. package/dist/chunks/GenColors-02173e2c.mjs.map +0 -1
  252. package/dist/chunks/GenColors-4314c256.cjs +0 -55
  253. package/dist/chunks/GenColors-4314c256.cjs.map +0 -1
  254. package/dist/chunks/NcSettingsSelectGroup-091c0306.mjs.map +0 -1
  255. package/dist/chunks/NcSettingsSelectGroup-0f71fef4.cjs.map +0 -1
  256. package/dist/chunks/index-cea13a24.mjs.map +0 -1
  257. package/dist/chunks/index-dc10fd2b.cjs.map +0 -1
  258. package/dist/chunks/l10n-a12cdbfa.cjs +0 -8
  259. package/dist/chunks/l10n-a12cdbfa.cjs.map +0 -1
  260. package/dist/chunks/l10n-c603e589.mjs +0 -10
  261. package/dist/chunks/l10n-c603e589.mjs.map +0 -1
  262. package/dist/chunks/l10n-e9ffbe5e.cjs +0 -29
  263. package/dist/chunks/l10n-e9ffbe5e.cjs.map +0 -1
  264. package/dist/chunks/l10n-ef44019c.mjs +0 -31
  265. package/dist/chunks/l10n-ef44019c.mjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -15,33 +15,33 @@ import A from "./Components/NcAppContentDetails.mjs";
15
15
  import g from "./Components/NcAppContentList.mjs";
16
16
  import b from "./Components/NcAppNavigation.mjs";
17
17
  import S from "./Components/NcAppNavigationCaption.mjs";
18
- import x from "./Components/NcAppNavigationIconBullet.mjs";
19
- import T from "./Components/NcAppNavigationItem.mjs";
20
- import v from "./Components/NcAppNavigationNew.mjs";
21
- import C from "./Components/NcAppNavigationNewItem.mjs";
22
- import I from "./Components/NcAppNavigationSettings.mjs";
23
- import k from "./Components/NcAppNavigationSpacer.mjs";
24
- import h from "./Components/NcAppSettingsDialog.mjs";
25
- import B from "./Components/NcAppSettingsSection.mjs";
26
- import P from "./Components/NcAppSidebar.mjs";
18
+ import T from "./Components/NcAppNavigationIconBullet.mjs";
19
+ import x from "./Components/NcAppNavigationItem.mjs";
20
+ import I from "./Components/NcAppNavigationNew.mjs";
21
+ import v from "./Components/NcAppNavigationNewItem.mjs";
22
+ import C from "./Components/NcAppNavigationSettings.mjs";
23
+ import B from "./Components/NcAppNavigationSpacer.mjs";
24
+ import k from "./Components/NcAppSettingsDialog.mjs";
25
+ import P from "./Components/NcAppSettingsSection.mjs";
26
+ import h from "./Components/NcAppSidebar.mjs";
27
27
  import y from "./Components/NcAppSidebarTab.mjs";
28
- import { N as D } from "./chunks/index-cea13a24.mjs";
29
- import { u as tt } from "./chunks/index-cea13a24.mjs";
28
+ import { N as M } from "./chunks/index-309426ff.mjs";
29
+ import { u as rt } from "./chunks/index-309426ff.mjs";
30
30
  import O from "./Components/NcBreadcrumb.mjs";
31
- import R from "./Components/NcBreadcrumbs.mjs";
32
- import j from "./Components/NcButton.mjs";
33
- import E from "./Components/NcCheckboxRadioSwitch.mjs";
34
- import M from "./Components/NcColorPicker.mjs";
35
- import _ from "./Components/NcContent.mjs";
36
- import L from "./Components/NcCounterBubble.mjs";
31
+ import E from "./Components/NcBreadcrumbs.mjs";
32
+ import L from "./Components/NcButton.mjs";
33
+ import R from "./Components/NcCheckboxRadioSwitch.mjs";
34
+ import _ from "./Components/NcColorPicker.mjs";
35
+ import D from "./Components/NcContent.mjs";
36
+ import j from "./Components/NcCounterBubble.mjs";
37
37
  import F from "./Components/NcDashboardWidget.mjs";
38
38
  import w from "./Components/NcDashboardWidgetItem.mjs";
39
39
  import z from "./Components/NcDateTime.mjs";
40
40
  import G from "./Components/NcDateTimePicker.mjs";
41
41
  import W from "./Components/NcDateTimePickerNative.mjs";
42
42
  import H from "./Components/NcDialog.mjs";
43
- import V from "./Components/NcDialogButton.mjs";
44
- import K from "./Components/NcEmojiPicker.mjs";
43
+ import K from "./Components/NcDialogButton.mjs";
44
+ import V from "./Components/NcEmojiPicker.mjs";
45
45
  import U from "./Components/NcEmptyContent.mjs";
46
46
  import $ from "./Components/NcGuestContent.mjs";
47
47
  import q from "./Components/NcHeaderMenu.mjs";
@@ -57,14 +57,13 @@ import io from "./Components/NcPopover.mjs";
57
57
  import mo from "./Components/NcProgressBar.mjs";
58
58
  import eo from "./Components/NcRelatedResourcesPanel.mjs";
59
59
  import { N as po } from "./chunks/index-5f2a5f57.mjs";
60
- import { r as mt } from "./chunks/index-5f2a5f57.mjs";
60
+ import { r as it } from "./chunks/index-5f2a5f57.mjs";
61
61
  import co, { NcAutoCompleteResult as fo } from "./Components/NcRichContenteditable.mjs";
62
- import { N as no } from "./chunks/NcRichText-f5cfcd57.mjs";
63
- import "./chunks/referencePickerModal-c2f33569.mjs";
62
+ import { N as no } from "./chunks/NcRichText-e4bf7767.mjs";
63
+ import "./chunks/referencePickerModal-12935fb3.mjs";
64
64
  import "@nextcloud/axios";
65
65
  import "@nextcloud/router";
66
66
  import No from "./Components/NcSelect.mjs";
67
- import "./chunks/l10n-ef44019c.mjs";
68
67
  import ao from "./Components/NcTextField.mjs";
69
68
  import "@nextcloud/event-bus";
70
69
  import "vue";
@@ -72,22 +71,22 @@ import so from "./Components/NcSavingIndicatorIcon.mjs";
72
71
  import lo from "./Components/NcSelectTags.mjs";
73
72
  import uo from "./Components/NcSettingsInputText.mjs";
74
73
  import Ao from "./Components/NcSettingsSection.mjs";
75
- import { N as go } from "./chunks/NcSettingsSelectGroup-091c0306.mjs";
74
+ import { N as go } from "./chunks/NcSettingsSelectGroup-ecc8bc5a.mjs";
76
75
  import bo from "./Components/NcTimezonePicker.mjs";
77
76
  import So from "./Components/NcUserBubble.mjs";
78
- import xo from "./Components/NcTextArea.mjs";
79
- import { isFullscreenState as pt, useIsFullscreen as ct } from "./Composables/useIsFullscreen.mjs";
80
- import { MOBILE_BREAKPOINT as nt, isMobileState as Nt, useIsMobile as at } from "./Composables/useIsMobile.mjs";
81
- import { emojiAddRecent as lt, emojiSearch as ut } from "./Functions/emoji.mjs";
82
- import { default as At } from "./Functions/usernameToColor.mjs";
83
- import { directive as To } from "./Directives/Focus.mjs";
84
- import { directive as vo } from "./Directives/Linkify.mjs";
77
+ import To from "./Components/NcTextArea.mjs";
78
+ import { isFullscreenState as et, useIsFullscreen as pt } from "./Composables/useIsFullscreen.mjs";
79
+ import { MOBILE_BREAKPOINT as ft, MOBILE_SMALL_BREAKPOINT as nt, isMobileState as Nt, useIsMobile as at, useIsSmallMobile as st } from "./Composables/useIsMobile.mjs";
80
+ import { emojiAddRecent as ut, emojiSearch as dt } from "./Functions/emoji.mjs";
81
+ import { default as gt } from "./Functions/usernameToColor.mjs";
82
+ import { directive as xo } from "./Directives/Focus.mjs";
83
+ import { directive as Io } from "./Directives/Linkify.mjs";
85
84
  import "./Directives/Tooltip.mjs";
86
- import { default as bt } from "./Mixins/clickOutsideOptions.mjs";
85
+ import { default as St } from "./Mixins/clickOutsideOptions.mjs";
87
86
  import { default as xt } from "./Mixins/isFullscreen.mjs";
88
87
  import { default as vt } from "./Mixins/isMobile.mjs";
89
- import { VTooltip as Co } from "floating-vue";
90
- import { VTooltip as It } from "floating-vue";
88
+ import { VTooltip as vo } from "floating-vue";
89
+ import { VTooltip as Bt } from "floating-vue";
91
90
  /**
92
91
  * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
93
92
  *
@@ -109,7 +108,7 @@ import { VTooltip as It } from "floating-vue";
109
108
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
110
109
  *
111
110
  */
112
- const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
111
+ const Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
113
112
  __proto__: null,
114
113
  NcActionButton: i,
115
114
  NcActionButtonGroup: m,
@@ -128,33 +127,33 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
128
127
  NcAppContentList: g,
129
128
  NcAppNavigation: b,
130
129
  NcAppNavigationCaption: S,
131
- NcAppNavigationIconBullet: x,
132
- NcAppNavigationItem: T,
133
- NcAppNavigationNew: v,
134
- NcAppNavigationNewItem: C,
135
- NcAppNavigationSettings: I,
136
- NcAppNavigationSpacer: k,
137
- NcAppSettingsDialog: h,
138
- NcAppSettingsSection: B,
139
- NcAppSidebar: P,
130
+ NcAppNavigationIconBullet: T,
131
+ NcAppNavigationItem: x,
132
+ NcAppNavigationNew: I,
133
+ NcAppNavigationNewItem: v,
134
+ NcAppNavigationSettings: C,
135
+ NcAppNavigationSpacer: B,
136
+ NcAppSettingsDialog: k,
137
+ NcAppSettingsSection: P,
138
+ NcAppSidebar: h,
140
139
  NcAppSidebarTab: y,
141
140
  NcAutoCompleteResult: fo,
142
- NcAvatar: D,
141
+ NcAvatar: M,
143
142
  NcBreadcrumb: O,
144
- NcBreadcrumbs: R,
145
- NcButton: j,
146
- NcCheckboxRadioSwitch: E,
147
- NcColorPicker: M,
148
- NcContent: _,
149
- NcCounterBubble: L,
143
+ NcBreadcrumbs: E,
144
+ NcButton: L,
145
+ NcCheckboxRadioSwitch: R,
146
+ NcColorPicker: _,
147
+ NcContent: D,
148
+ NcCounterBubble: j,
150
149
  NcDashboardWidget: F,
151
150
  NcDashboardWidgetItem: w,
152
151
  NcDateTime: z,
153
152
  NcDateTimePicker: G,
154
153
  NcDateTimePickerNative: W,
155
154
  NcDialog: H,
156
- NcDialogButton: V,
157
- NcEmojiPicker: K,
155
+ NcDialogButton: K,
156
+ NcEmojiPicker: V,
158
157
  NcEmptyContent: U,
159
158
  NcGuestContent: $,
160
159
  NcHeaderMenu: q,
@@ -178,7 +177,7 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
178
177
  NcSettingsInputText: uo,
179
178
  NcSettingsSection: Ao,
180
179
  NcSettingsSelectGroup: go,
181
- NcTextArea: xo,
180
+ NcTextArea: To,
182
181
  NcTextField: ao,
183
182
  NcTimezonePicker: bo,
184
183
  NcUserBubble: So
@@ -204,7 +203,7 @@ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
204
203
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
205
204
  *
206
205
  */
207
- const Yr = (o) => o.type === "click" || o.type === "keydown" && o.key === "Enter";
206
+ const Xr = (o) => o.type === "click" || o.type === "keydown" && o.key === "Enter";
208
207
  /**
209
208
  * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
210
209
  *
@@ -226,24 +225,25 @@ const Yr = (o) => o.type === "click" || o.type === "keydown" && o.key === "Enter
226
225
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
227
226
  *
228
227
  */
229
- const ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
228
+ const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
230
229
  __proto__: null,
231
- Focus: To,
232
- Linkify: vo,
233
- Tooltip: Co
234
- }, Symbol.toStringTag, { value: "Module" })), Zr = {
230
+ Focus: xo,
231
+ Linkify: Io,
232
+ Tooltip: vo
233
+ }, Symbol.toStringTag, { value: "Module" })), Yr = {
235
234
  install(o) {
236
- Object.entries(Io).forEach(([t, r]) => {
235
+ Object.entries(Co).forEach(([t, r]) => {
237
236
  o.component(r.name || t, r);
238
- }), Object.entries(ko).forEach(([t, r]) => {
237
+ }), Object.entries(Bo).forEach(([t, r]) => {
239
238
  o.directive(t, r);
240
239
  });
241
240
  }
242
241
  };
243
242
  export {
244
- To as Focus,
245
- vo as Linkify,
246
- nt as MOBILE_BREAKPOINT,
243
+ xo as Focus,
244
+ Io as Linkify,
245
+ ft as MOBILE_BREAKPOINT,
246
+ nt as MOBILE_SMALL_BREAKPOINT,
247
247
  i as NcActionButton,
248
248
  m as NcActionButtonGroup,
249
249
  e as NcActionCaption,
@@ -261,33 +261,33 @@ export {
261
261
  g as NcAppContentList,
262
262
  b as NcAppNavigation,
263
263
  S as NcAppNavigationCaption,
264
- x as NcAppNavigationIconBullet,
265
- T as NcAppNavigationItem,
266
- v as NcAppNavigationNew,
267
- C as NcAppNavigationNewItem,
268
- I as NcAppNavigationSettings,
269
- k as NcAppNavigationSpacer,
270
- h as NcAppSettingsDialog,
271
- B as NcAppSettingsSection,
272
- P as NcAppSidebar,
264
+ T as NcAppNavigationIconBullet,
265
+ x as NcAppNavigationItem,
266
+ I as NcAppNavigationNew,
267
+ v as NcAppNavigationNewItem,
268
+ C as NcAppNavigationSettings,
269
+ B as NcAppNavigationSpacer,
270
+ k as NcAppSettingsDialog,
271
+ P as NcAppSettingsSection,
272
+ h as NcAppSidebar,
273
273
  y as NcAppSidebarTab,
274
274
  fo as NcAutoCompleteResult,
275
- D as NcAvatar,
275
+ M as NcAvatar,
276
276
  O as NcBreadcrumb,
277
- R as NcBreadcrumbs,
278
- j as NcButton,
279
- E as NcCheckboxRadioSwitch,
280
- M as NcColorPicker,
281
- _ as NcContent,
282
- L as NcCounterBubble,
277
+ E as NcBreadcrumbs,
278
+ L as NcButton,
279
+ R as NcCheckboxRadioSwitch,
280
+ _ as NcColorPicker,
281
+ D as NcContent,
282
+ j as NcCounterBubble,
283
283
  F as NcDashboardWidget,
284
284
  w as NcDashboardWidgetItem,
285
285
  z as NcDateTime,
286
286
  G as NcDateTimePicker,
287
287
  W as NcDateTimePickerNative,
288
288
  H as NcDialog,
289
- V as NcDialogButton,
290
- K as NcEmojiPicker,
289
+ K as NcDialogButton,
290
+ V as NcEmojiPicker,
291
291
  U as NcEmptyContent,
292
292
  $ as NcGuestContent,
293
293
  q as NcHeaderMenu,
@@ -311,23 +311,24 @@ export {
311
311
  uo as NcSettingsInputText,
312
312
  Ao as NcSettingsSection,
313
313
  go as NcSettingsSelectGroup,
314
- xo as NcTextArea,
314
+ To as NcTextArea,
315
315
  ao as NcTextField,
316
316
  bo as NcTimezonePicker,
317
317
  So as NcUserBubble,
318
- Zr as NextcloudVuePlugin,
319
- It as Tooltip,
320
- bt as clickOutsideOptions,
321
- lt as emojiAddRecent,
322
- ut as emojiSearch,
323
- Yr as isA11yActivation,
318
+ Yr as NextcloudVuePlugin,
319
+ Bt as Tooltip,
320
+ St as clickOutsideOptions,
321
+ ut as emojiAddRecent,
322
+ dt as emojiSearch,
323
+ Xr as isA11yActivation,
324
324
  xt as isFullscreen,
325
- pt as isFullscreenState,
325
+ et as isFullscreenState,
326
326
  vt as isMobile,
327
327
  Nt as isMobileState,
328
- mt as richEditor,
329
- ct as useIsFullscreen,
328
+ it as richEditor,
329
+ pt as useIsFullscreen,
330
330
  at as useIsMobile,
331
- tt as userStatus,
332
- At as usernameToColor
331
+ st as useIsSmallMobile,
332
+ rt as userStatus,
333
+ gt as usernameToColor
333
334
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../src/components/index.js","../src/functions/a11y/index.ts","../src/directives/index.js","../src/plugin.ts"],"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\nexport { default as NcActionButton } from './NcActionButton/index.js'\nexport { default as NcActionButtonGroup } from './NcActionButtonGroup/index.js'\nexport { default as NcActionCaption } from './NcActionCaption/index.js'\nexport { default as NcActionCheckbox } from './NcActionCheckbox/index.js'\nexport { default as NcActionInput } from './NcActionInput/index.js'\nexport { default as NcActionLink } from './NcActionLink/index.js'\nexport { default as NcActionRadio } from './NcActionRadio/index.js'\nexport { default as NcActionRouter } from './NcActionRouter/index.js'\nexport { default as NcActions } from './NcActions/index.js'\nexport { default as NcActionSeparator } from './NcActionSeparator/index.js'\nexport { default as NcActionText } from './NcActionText/index.js'\nexport { default as NcActionTextEditable } from './NcActionTextEditable/index.js'\nexport { default as NcAppContent } from './NcAppContent/index.js'\nexport { default as NcAppContentDetails } from './NcAppContentDetails/index.js'\nexport { default as NcAppContentList } from './NcAppContentList/index.js'\nexport { default as NcAppNavigation } from './NcAppNavigation/index.js'\nexport { default as NcAppNavigationCaption } from './NcAppNavigationCaption/index.js'\nexport { default as NcAppNavigationIconBullet } from './NcAppNavigationIconBullet/index.js'\nexport { default as NcAppNavigationItem } from './NcAppNavigationItem/index.js'\nexport { default as NcAppNavigationNew } from './NcAppNavigationNew/index.js'\nexport { default as NcAppNavigationNewItem } from './NcAppNavigationNewItem/index.js'\nexport { default as NcAppNavigationSettings } from './NcAppNavigationSettings/index.js'\nexport { default as NcAppNavigationSpacer } from './NcAppNavigationSpacer/index.js'\nexport { default as NcAppSettingsDialog } from './NcAppSettingsDialog/index.js'\nexport { default as NcAppSettingsSection } from './NcAppSettingsSection/index.js'\nexport { default as NcAppSidebar } from './NcAppSidebar/index.js'\nexport { default as NcAppSidebarTab } from './NcAppSidebarTab/index.js'\nexport { default as NcAvatar } from './NcAvatar/index.js'\nexport { default as NcBreadcrumb } from './NcBreadcrumb/index.js'\nexport { default as NcBreadcrumbs } from './NcBreadcrumbs/index.js'\nexport { default as NcButton } from './NcButton/index.js'\nexport { default as NcCheckboxRadioSwitch } from './NcCheckboxRadioSwitch/index.js'\nexport { default as NcColorPicker } from './NcColorPicker/index.js'\nexport { default as NcContent } from './NcContent/index.js'\nexport { default as NcCounterBubble } from './NcCounterBubble/index.js'\nexport { default as NcDashboardWidget } from './NcDashboardWidget/index.js'\nexport { default as NcDashboardWidgetItem } from './NcDashboardWidgetItem/index.js'\nexport { default as NcDateTime } from './NcDateTime/index.js'\nexport { default as NcDateTimePicker } from './NcDateTimePicker/index.js'\nexport { default as NcDateTimePickerNative } from './NcDateTimePickerNative/index.js'\nexport { default as NcDialog } from './NcDialog/index.js'\nexport { default as NcDialogButton } from './NcDialogButton/index.js'\n// Not exported on purpose\n// export { default as NcEllipsisedOption } from './NcEllipsisedOption/index.js'\nexport { default as NcEmojiPicker } from './NcEmojiPicker/index.js'\nexport { default as NcEmptyContent } from './NcEmptyContent/index.js'\nexport { default as NcGuestContent } from './NcGuestContent/index.js'\nexport { default as NcHeaderMenu } from './NcHeaderMenu/index.js'\nexport { default as NcHighlight } from './NcHighlight/index.js'\nexport { default as NcIconSvgWrapper } from './NcIconSvgWrapper/index.js'\n// Not exported on purpose as it is only meant as a base component\n// export { default as NcInputField } from './NcInputField/index.js'\nexport { default as NcListItem } from './NcListItem/index.js'\nexport { default as NcListItemIcon } from './NcListItemIcon/index.js'\nexport { default as NcLoadingIcon } from './NcLoadingIcon/index.js'\nexport { default as NcModal } from './NcModal/index.js'\nexport { default as NcNoteCard } from './NcNoteCard/index.js'\nexport { default as NcPasswordField } from './NcPasswordField/index.js'\nexport { default as NcPopover } from './NcPopover/index.js'\nexport { default as NcProgressBar } from './NcProgressBar/index.js'\nexport { default as NcRelatedResourcesPanel } from './NcRelatedResourcesPanel/index.js'\nexport { default as NcRichContenteditable, NcAutoCompleteResult, NcMentionBubble } from './NcRichContenteditable/index.js'\nexport { default as NcRichText } from './NcRichText/index.js'\nexport { default as NcSavingIndicatorIcon } from './NcSavingIndicatorIcon/index.js'\nexport { default as NcSelect } from './NcSelect/index.js'\nexport { default as NcSelectTags } from './NcSelectTags/index.js'\nexport { default as NcSettingsInputText } from './NcSettingsInputText/index.js'\nexport { default as NcSettingsSection } from './NcSettingsSection/index.js'\nexport { default as NcSettingsSelectGroup } from './NcSettingsSelectGroup/index.js'\nexport { default as NcTextField } from './NcTextField/index.js'\nexport { default as NcTimezonePicker } from './NcTimezonePicker/index.js'\nexport { default as NcUserBubble } from './NcUserBubble/index.js'\nexport { default as NcTextArea } from './NcTextArea/index.js'\n","/**\n * @copyright 2022 Christopher Ng <chrng8@gmail.com>\n *\n * @author Christopher Ng <chrng8@gmail.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\n/**\n * Return true if the DOM event is an accessible mouse or keyboard element activation, false otherwise\n *\n * @param {Event} event DOM event\n *\n * @return {boolean}\n */\nexport const isA11yActivation = (event: Event) => {\n\tif (event.type === 'click') {\n\t\treturn true\n\t}\n\tif (event.type === 'keydown' && (event as KeyboardEvent).key === 'Enter') {\n\t\treturn true\n\t}\n\treturn false\n}\n","/**\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\nexport { default as Focus } from './Focus/index.js'\nexport { default as Linkify } from './Linkify/index.js'\nexport { default as Tooltip } from './Tooltip/index.js'\n","import type { DefineComponent, Directive, PluginObject } from 'vue'\n\nimport * as NcComponents from './components/index.js'\nimport * as NcDirectives from './directives/index.js'\n\n/**\n * Install all Nextcloud Vue components and directives globally\n * @example\n * ```js\n * import { NextcloudVuePlugin } from '@nextcloud/vue'\n * import Vue from 'vue'\n *\n * // ...\n *\n * Vue.use(NextcloudVuePlugin)\n * new Vue({\n * // options\n * })\n * ```\n */\nexport const NextcloudVuePlugin: PluginObject<never> = {\n\tinstall(Vue) {\n\t\t// Install components\n\t\tObject.entries(NcComponents as { [key: string]: DefineComponent }).forEach(([name, component]) => {\n\t\t\tVue.component(component.name || name, component)\n\t\t})\n\n\t\t// Install directives\n\t\tObject.entries(NcDirectives as { [key: string]: Directive }).forEach(([name, directive]) => {\n\t\t\tVue.directive(name, directive)\n\t\t})\n\t},\n}\n"],"names":["isA11yActivation","event","NextcloudVuePlugin","Vue","NcComponents","name","component","NcDirectives","directive"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6Ba,MAAAA,KAAmB,CAACC,MAC5BA,EAAM,SAAS,WAGfA,EAAM,SAAS,aAAcA,EAAwB,QAAQ;ACjClE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;8CCoBaC,KAA0C;AAAA,EACtD,QAAQC,GAAK;AAEL,WAAA,QAAQC,EAAkD,EAAE,QAAQ,CAAC,CAACC,GAAMC,CAAS,MAAM;AACjG,MAAAH,EAAI,UAAUG,EAAU,QAAQD,GAAMC,CAAS;AAAA,IAAA,CAC/C,GAGM,OAAA,QAAQC,EAA4C,EAAE,QAAQ,CAAC,CAACF,GAAMG,CAAS,MAAM;AACvF,MAAAL,EAAA,UAAUE,GAAMG,CAAS;AAAA,IAAA,CAC7B;AAAA,EACF;AACD;"}
1
+ {"version":3,"file":"index.mjs","sources":["../src/components/index.js","../src/functions/a11y/index.ts","../src/directives/index.js","../src/plugin.ts"],"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\nexport { default as NcActionButton } from './NcActionButton/index.js'\nexport { default as NcActionButtonGroup } from './NcActionButtonGroup/index.js'\nexport { default as NcActionCaption } from './NcActionCaption/index.js'\nexport { default as NcActionCheckbox } from './NcActionCheckbox/index.js'\nexport { default as NcActionInput } from './NcActionInput/index.js'\nexport { default as NcActionLink } from './NcActionLink/index.js'\nexport { default as NcActionRadio } from './NcActionRadio/index.js'\nexport { default as NcActionRouter } from './NcActionRouter/index.js'\nexport { default as NcActions } from './NcActions/index.js'\nexport { default as NcActionSeparator } from './NcActionSeparator/index.js'\nexport { default as NcActionText } from './NcActionText/index.js'\nexport { default as NcActionTextEditable } from './NcActionTextEditable/index.js'\nexport { default as NcAppContent } from './NcAppContent/index.js'\nexport { default as NcAppContentDetails } from './NcAppContentDetails/index.js'\nexport { default as NcAppContentList } from './NcAppContentList/index.js'\nexport { default as NcAppNavigation } from './NcAppNavigation/index.js'\nexport { default as NcAppNavigationCaption } from './NcAppNavigationCaption/index.js'\nexport { default as NcAppNavigationIconBullet } from './NcAppNavigationIconBullet/index.js'\nexport { default as NcAppNavigationItem } from './NcAppNavigationItem/index.js'\nexport { default as NcAppNavigationNew } from './NcAppNavigationNew/index.js'\nexport { default as NcAppNavigationNewItem } from './NcAppNavigationNewItem/index.js'\nexport { default as NcAppNavigationSettings } from './NcAppNavigationSettings/index.js'\nexport { default as NcAppNavigationSpacer } from './NcAppNavigationSpacer/index.js'\nexport { default as NcAppSettingsDialog } from './NcAppSettingsDialog/index.js'\nexport { default as NcAppSettingsSection } from './NcAppSettingsSection/index.js'\nexport { default as NcAppSidebar } from './NcAppSidebar/index.js'\nexport { default as NcAppSidebarTab } from './NcAppSidebarTab/index.js'\nexport { default as NcAvatar } from './NcAvatar/index.js'\nexport { default as NcBreadcrumb } from './NcBreadcrumb/index.js'\nexport { default as NcBreadcrumbs } from './NcBreadcrumbs/index.js'\nexport { default as NcButton } from './NcButton/index.js'\nexport { default as NcCheckboxRadioSwitch } from './NcCheckboxRadioSwitch/index.js'\nexport { default as NcColorPicker } from './NcColorPicker/index.js'\nexport { default as NcContent } from './NcContent/index.js'\nexport { default as NcCounterBubble } from './NcCounterBubble/index.js'\nexport { default as NcDashboardWidget } from './NcDashboardWidget/index.js'\nexport { default as NcDashboardWidgetItem } from './NcDashboardWidgetItem/index.js'\nexport { default as NcDateTime } from './NcDateTime/index.js'\nexport { default as NcDateTimePicker } from './NcDateTimePicker/index.js'\nexport { default as NcDateTimePickerNative } from './NcDateTimePickerNative/index.js'\nexport { default as NcDialog } from './NcDialog/index.js'\nexport { default as NcDialogButton } from './NcDialogButton/index.js'\n// Not exported on purpose\n// export { default as NcEllipsisedOption } from './NcEllipsisedOption/index.js'\nexport { default as NcEmojiPicker } from './NcEmojiPicker/index.js'\nexport { default as NcEmptyContent } from './NcEmptyContent/index.js'\nexport { default as NcGuestContent } from './NcGuestContent/index.js'\nexport { default as NcHeaderMenu } from './NcHeaderMenu/index.js'\nexport { default as NcHighlight } from './NcHighlight/index.js'\nexport { default as NcIconSvgWrapper } from './NcIconSvgWrapper/index.js'\n// Not exported on purpose as it is only meant as a base component\n// export { default as NcInputField } from './NcInputField/index.js'\nexport { default as NcListItem } from './NcListItem/index.js'\nexport { default as NcListItemIcon } from './NcListItemIcon/index.js'\nexport { default as NcLoadingIcon } from './NcLoadingIcon/index.js'\nexport { default as NcModal } from './NcModal/index.js'\nexport { default as NcNoteCard } from './NcNoteCard/index.js'\nexport { default as NcPasswordField } from './NcPasswordField/index.js'\nexport { default as NcPopover } from './NcPopover/index.js'\nexport { default as NcProgressBar } from './NcProgressBar/index.js'\nexport { default as NcRelatedResourcesPanel } from './NcRelatedResourcesPanel/index.js'\nexport { default as NcRichContenteditable, NcAutoCompleteResult, NcMentionBubble } from './NcRichContenteditable/index.js'\nexport { default as NcRichText } from './NcRichText/index.js'\nexport { default as NcSavingIndicatorIcon } from './NcSavingIndicatorIcon/index.js'\nexport { default as NcSelect } from './NcSelect/index.js'\nexport { default as NcSelectTags } from './NcSelectTags/index.js'\nexport { default as NcSettingsInputText } from './NcSettingsInputText/index.js'\nexport { default as NcSettingsSection } from './NcSettingsSection/index.js'\nexport { default as NcSettingsSelectGroup } from './NcSettingsSelectGroup/index.js'\nexport { default as NcTextField } from './NcTextField/index.js'\nexport { default as NcTimezonePicker } from './NcTimezonePicker/index.js'\nexport { default as NcUserBubble } from './NcUserBubble/index.js'\nexport { default as NcTextArea } from './NcTextArea/index.js'\n","/**\n * @copyright 2022 Christopher Ng <chrng8@gmail.com>\n *\n * @author Christopher Ng <chrng8@gmail.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\n/**\n * Return true if the DOM event is an accessible mouse or keyboard element activation, false otherwise\n *\n * @param {Event} event DOM event\n *\n * @return {boolean}\n */\nexport const isA11yActivation = (event: Event) => {\n\tif (event.type === 'click') {\n\t\treturn true\n\t}\n\tif (event.type === 'keydown' && (event as KeyboardEvent).key === 'Enter') {\n\t\treturn true\n\t}\n\treturn false\n}\n","/**\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\nexport { default as Focus } from './Focus/index.js'\nexport { default as Linkify } from './Linkify/index.js'\nexport { default as Tooltip } from './Tooltip/index.js'\n","import type { DefineComponent, Directive, PluginObject } from 'vue'\n\nimport * as NcComponents from './components/index.js'\nimport * as NcDirectives from './directives/index.js'\n\n/**\n * Install all Nextcloud Vue components and directives globally\n * @example\n * ```js\n * import { NextcloudVuePlugin } from '@nextcloud/vue'\n * import Vue from 'vue'\n *\n * // ...\n *\n * Vue.use(NextcloudVuePlugin)\n * new Vue({\n * // options\n * })\n * ```\n */\nexport const NextcloudVuePlugin: PluginObject<never> = {\n\tinstall(Vue) {\n\t\t// Install components\n\t\tObject.entries(NcComponents as { [key: string]: DefineComponent }).forEach(([name, component]) => {\n\t\t\tVue.component(component.name || name, component)\n\t\t})\n\n\t\t// Install directives\n\t\tObject.entries(NcDirectives as { [key: string]: Directive }).forEach(([name, directive]) => {\n\t\t\tVue.directive(name, directive)\n\t\t})\n\t},\n}\n"],"names":["isA11yActivation","event","NextcloudVuePlugin","Vue","NcComponents","name","component","NcDirectives","directive"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6Ba,MAAAA,KAAmB,CAACC,MAC5BA,EAAM,SAAS,WAGfA,EAAM,SAAS,aAAcA,EAAwB,QAAQ;ACjClE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;8CCoBaC,KAA0C;AAAA,EACtD,QAAQC,GAAK;AAEL,WAAA,QAAQC,EAAkD,EAAE,QAAQ,CAAC,CAACC,GAAMC,CAAS,MAAM;AACjG,MAAAH,EAAI,UAAUG,EAAU,QAAQD,GAAMC,CAAS;AAAA,IAAA,CAC/C,GAGM,OAAA,QAAQC,EAA4C,EAAE,QAAQ,CAAC,CAACF,GAAMG,CAAS,MAAM;AACvF,MAAAL,EAAA,UAAUE,GAAMG,CAAS;AAAA,IAAA,CAC7B;AAAA,EACF;AACD;"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @copyright 2023 Christopher Ng <chrng8@gmail.com>
3
+ *
4
+ * @author Christopher Ng <chrng8@gmail.com>
5
+ *
6
+ * @license AGPL-3.0-or-later
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU Affero General Public License as
10
+ * published by the Free Software Foundation, either version 3 of the
11
+ * License, or (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU Affero General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU Affero General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+ type Status = 'online' | 'away' | 'dnd' | 'invisible' | 'offline';
23
+ export declare const getUserStatusText: (status: Status) => string;
24
+ export declare const getUserStatusIcon: (status: Status) => null | string;
25
+ export declare const getUserStatusIconName: (status: Status) => string;
26
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextcloud/vue",
3
- "version": "8.2.0",
3
+ "version": "8.4.0",
4
4
  "description": "Nextcloud vue components",
5
5
  "keywords": [
6
6
  "vuejs",
@@ -17,10 +17,10 @@
17
17
  "dev": "vite build --mode development",
18
18
  "dev:watch": "vite build --mode development --watch",
19
19
  "watch": "npm run dev:watch",
20
- "l10n:extract": "node build/extract-l10n.js",
20
+ "l10n:extract": "node build/extract-l10n.mjs",
21
21
  "lint": "eslint --ext .js,.vue src",
22
22
  "lint:fix": "eslint --ext .js,.vue src --fix",
23
- "test": "TZ=UTC jest --verbose",
23
+ "test": "TZ=UTC jest --verbose --color",
24
24
  "test:coverage": "TZ=UTC jest --verbose --coverage --no-cache",
25
25
  "stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css",
26
26
  "stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css --fix",
@@ -51,6 +51,10 @@
51
51
  "./dist/Mixins/*.js": {
52
52
  "import": "./dist/Mixins/*.mjs",
53
53
  "require": "./dist/Mixins/*.cjs"
54
+ },
55
+ "./dist/Composables/*.js": {
56
+ "import": "./dist/Composables/*.mjs",
57
+ "require": "./dist/Composables/*.cjs"
54
58
  }
55
59
  },
56
60
  "files": [
@@ -83,7 +87,6 @@
83
87
  "focus-trap": "^7.4.3",
84
88
  "linkify-string": "^4.0.0",
85
89
  "md5": "^2.3.0",
86
- "node-polyfill-webpack-plugin": "^2.0.1",
87
90
  "rehype-external-links": "^3.0.0",
88
91
  "rehype-react": "^7.1.2",
89
92
  "remark-breaks": "^4.0.0",
@@ -118,6 +121,7 @@
118
121
  "@nextcloud/stylelint-config": "^2.3.1",
119
122
  "@nextcloud/vite-config": "^1.0.1",
120
123
  "@nextcloud/webpack-vue-config": "github:nextcloud/webpack-vue-config#master",
124
+ "@types/gettext-parser": "^4.0.4",
121
125
  "@types/jest": "^29.5.5",
122
126
  "@vue/test-utils": "^1.3.0",
123
127
  "@vue/tsconfig": "^0.4.0",
@@ -133,8 +137,10 @@
133
137
  "glob": "^10.0.0",
134
138
  "jest": "^29.0.1",
135
139
  "jest-environment-jsdom": "29.7.0",
140
+ "jest-raw-loader": "^1.0.1",
136
141
  "jest-serializer-vue": "^3.1.0",
137
142
  "jest-transform-stub": "^2.0.0",
143
+ "node-polyfill-webpack-plugin": "^3.0.0",
138
144
  "resolve-url-loader": "^5.0.0",
139
145
  "sanitize-filename": "^1.6.3",
140
146
  "ts-node": "^10.9.1",
@@ -1,151 +0,0 @@
1
- @charset "UTF-8";
2
- /**
3
- * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
4
- *
5
- * @author John Molakvoæ <skjnldsv@protonmail.com>
6
- *
7
- * @license GNU AGPL version 3 or any later version
8
- *
9
- * This program is free software: you can redistribute it and/or modify
10
- * it under the terms of the GNU Affero General Public License as
11
- * published by the Free Software Foundation, either version 3 of the
12
- * License, or (at your option) any later version.
13
- *
14
- * This program is distributed in the hope that it will be useful,
15
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
- * GNU Affero General Public License for more details.
18
- *
19
- * You should have received a copy of the GNU Affero General Public License
20
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
- *
22
- */
23
- .material-design-icon[data-v-b9bda6c2] {
24
- display: flex;
25
- align-self: center;
26
- justify-self: center;
27
- align-items: center;
28
- justify-content: center;
29
- }
30
- .avatardiv[data-v-b9bda6c2] {
31
- position: relative;
32
- display: inline-block;
33
- width: var(--size);
34
- height: var(--size);
35
- }
36
- .avatardiv--unknown[data-v-b9bda6c2] {
37
- position: relative;
38
- background-color: var(--color-main-background);
39
- white-space: normal;
40
- }
41
- .avatardiv[data-v-b9bda6c2]:not(.avatardiv--unknown) {
42
- background-color: var(--color-main-background) !important;
43
- box-shadow: 0 0 5px #0000000d inset;
44
- }
45
- .avatardiv--with-menu[data-v-b9bda6c2] {
46
- cursor: pointer;
47
- }
48
- .avatardiv--with-menu .action-item[data-v-b9bda6c2] {
49
- position: absolute;
50
- top: 0;
51
- left: 0;
52
- }
53
- .avatardiv--with-menu[data-v-b9bda6c2] .action-item__menutoggle {
54
- cursor: pointer;
55
- opacity: 0;
56
- }
57
- .avatardiv--with-menu[data-v-b9bda6c2]:focus .action-item__menutoggle,
58
- .avatardiv--with-menu[data-v-b9bda6c2]:hover .action-item__menutoggle,
59
- .avatardiv--with-menu.avatardiv--with-menu-loading[data-v-b9bda6c2] .action-item__menutoggle {
60
- opacity: 1;
61
- }
62
- .avatardiv--with-menu:focus img[data-v-b9bda6c2],
63
- .avatardiv--with-menu:hover img[data-v-b9bda6c2],
64
- .avatardiv--with-menu.avatardiv--with-menu-loading img[data-v-b9bda6c2] {
65
- opacity: .3;
66
- }
67
- .avatardiv--with-menu[data-v-b9bda6c2] .action-item__menutoggle,
68
- .avatardiv--with-menu img[data-v-b9bda6c2] {
69
- transition: opacity var(--animation-quick);
70
- }
71
- .avatardiv--with-menu[data-v-b9bda6c2] .button-vue,
72
- .avatardiv--with-menu[data-v-b9bda6c2] .button-vue__icon {
73
- height: var(--size);
74
- min-height: var(--size);
75
- width: var(--size) !important;
76
- min-width: var(--size);
77
- }
78
- .avatardiv .avatardiv__initials-wrapper[data-v-b9bda6c2] {
79
- display: block;
80
- height: var(--size);
81
- width: var(--size);
82
- background-color: var(--color-main-background);
83
- border-radius: 50%;
84
- }
85
- .avatardiv .avatardiv__initials-wrapper .avatardiv__initials[data-v-b9bda6c2] {
86
- position: absolute;
87
- top: 0;
88
- left: 0;
89
- display: block;
90
- width: 100%;
91
- text-align: center;
92
- font-weight: 400;
93
- }
94
- .avatardiv img[data-v-b9bda6c2] {
95
- width: 100%;
96
- height: 100%;
97
- object-fit: cover;
98
- }
99
- .avatardiv .material-design-icon[data-v-b9bda6c2] {
100
- width: var(--size);
101
- height: var(--size);
102
- }
103
- .avatardiv .avatardiv__user-status[data-v-b9bda6c2] {
104
- position: absolute;
105
- right: -4px;
106
- bottom: -4px;
107
- max-height: 18px;
108
- max-width: 18px;
109
- height: 40%;
110
- width: 40%;
111
- line-height: 15px;
112
- font-size: var(--default-font-size);
113
- border: 2px solid var(--color-main-background);
114
- background-color: var(--color-main-background);
115
- background-repeat: no-repeat;
116
- background-size: 16px;
117
- background-position: center;
118
- border-radius: 50%;
119
- }
120
- .acli:hover .avatardiv .avatardiv__user-status[data-v-b9bda6c2] {
121
- border-color: var(--color-background-hover);
122
- background-color: var(--color-background-hover);
123
- }
124
- .acli.active .avatardiv .avatardiv__user-status[data-v-b9bda6c2] {
125
- border-color: var(--color-primary-element-light);
126
- background-color: var(--color-primary-element-light);
127
- }
128
- .avatardiv .avatardiv__user-status--online[data-v-b9bda6c2] {
129
- background-image: url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTQuOCAxMS4yaDYuNFY0LjhINC44djYuNHpNOCAwQzMuNiAwIDAgMy42IDAgOHMzLjYgOCA4IDggOC0zLjYgOC04LTMuNi04LTgtOHoiIGZpbGw9IiM0OWIzODIiLz48L3N2Zz4K);
130
- }
131
- .avatardiv .avatardiv__user-status--dnd[data-v-b9bda6c2] {
132
- background-image: url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTS00LTRoMjR2MjRILTRWLTR6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhzMy42IDggOCA4IDgtMy42IDgtOC0zLjYtOC04LTh6IiBmaWxsPSIjZWQ0ODRjIi8+PHBhdGggZD0iTTUgNi41aDZjLjggMCAxLjUuNyAxLjUgMS41cy0uNyAxLjUtMS41IDEuNUg1Yy0uOCAwLTEuNS0uNy0xLjUtMS41UzQuMiA2LjUgNSA2LjV6IiBmaWxsPSIjZmRmZmZmIi8+PC9zdmc+Cg==);
133
- background-color: #fff;
134
- }
135
- .avatardiv .avatardiv__user-status--away[data-v-b9bda6c2] {
136
- background-image: url(data:image/svg+xml;base64,PCEtLSBUaGlzIGljb24gaXMgcGFydCBvZiBNYXRlcmlhbCBVSSBJY29ucy4gQ29weXJpZ2h0IDIwMjAgR29vZ2xlIEluYy4sIEFwYWNoZS0yLjAgTGljZW5zZSAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS00LTRoMjR2MjRILTR6Ii8+PHBhdGggZD0iTTYuOS4xQzMgLjYtLjEgNC0uMSA4YzAgNC40IDMuNiA4IDggOCA0IDAgNy40LTMgOC02LjktMS4yIDEuMy0yLjkgMi4xLTQuNyAyLjEtMy41IDAtNi40LTIuOS02LjQtNi40IDAtMS45LjgtMy42IDIuMS00Ljd6IiBmaWxsPSIjZjRhMzMxIi8+PC9zdmc+Cg==);
137
- }
138
- .avatardiv .avatardiv__user-status--icon[data-v-b9bda6c2] {
139
- border: none;
140
- background-color: transparent;
141
- }
142
- .avatardiv .popovermenu-wrapper[data-v-b9bda6c2] {
143
- position: relative;
144
- display: inline-block;
145
- }
146
- .avatar-class-icon[data-v-b9bda6c2] {
147
- display: block;
148
- border-radius: 50%;
149
- background-color: var(--color-background-darker);
150
- height: 100%;
151
- }
@@ -1,56 +0,0 @@
1
- import { t as u } from "./l10n-ef44019c.mjs";
2
- /**
3
- * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
4
- *
5
- * @author John Molakvoæ <skjnldsv@protonmail.com>
6
- * @author Grigorii K. Shartsev <me@shgk.me>
7
- *
8
- * @license AGPL-3.0-or-later
9
- *
10
- * This program is free software: you can redistribute it and/or modify
11
- * it under the terms of the GNU Affero General Public License as
12
- * published by the Free Software Foundation, either version 3 of the
13
- * License, or (at your option) any later version.
14
- *
15
- * This program is distributed in the hope that it will be useful,
16
- * but WITHOUT ANY WARRANTY without even the implied warranty of
17
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
- * GNU Affero General Public License for more details.
19
- *
20
- * You should have received a copy of the GNU Affero General Public License
21
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
22
- *
23
- */
24
- class l {
25
- /**
26
- * @param {number} r The red value
27
- * @param {number} g The green value
28
- * @param {number} b The blue value
29
- * @param {string} [name] The name of the color
30
- */
31
- constructor(t, n, r, c) {
32
- this.r = t, this.g = n, this.b = r, c && (this.name = c);
33
- }
34
- }
35
- function b(o, t) {
36
- const n = new Array(3);
37
- return n[0] = (t[1].r - t[0].r) / o, n[1] = (t[1].g - t[0].g) / o, n[2] = (t[1].b - t[0].b) / o, n;
38
- }
39
- function i(o, t, n) {
40
- const r = [];
41
- r.push(t);
42
- const c = b(o, [t, n]);
43
- for (let e = 1; e < o; e++) {
44
- const a = Math.floor(t.r + c[0] * e), f = Math.floor(t.g + c[1] * e), h = Math.floor(t.b + c[2] * e);
45
- r.push(new l(a, f, h));
46
- }
47
- return r;
48
- }
49
- function w(o) {
50
- o || (o = 6);
51
- const t = new l(182, 70, 157, u("Purple")), n = new l(221, 203, 85, u("Gold")), r = new l(0, 130, 201, u("Nextcloud blue")), c = i(o, t, n), e = i(o, n, r), a = i(o, r, t);
52
- return c.concat(e).concat(a);
53
- }
54
- export {
55
- w as G
56
- };