@nextcloud/vue 8.0.1 → 8.2.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 (249) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/Components/NcActionButton.cjs +16 -8
  3. package/dist/Components/NcActionButton.cjs.map +1 -1
  4. package/dist/Components/NcActionButton.mjs +21 -13
  5. package/dist/Components/NcActionButton.mjs.map +1 -1
  6. package/dist/Components/NcActionButtonGroup.cjs +22 -11
  7. package/dist/Components/NcActionButtonGroup.cjs.map +1 -1
  8. package/dist/Components/NcActionButtonGroup.mjs +19 -7
  9. package/dist/Components/NcActionButtonGroup.mjs.map +1 -1
  10. package/dist/Components/NcActionCaption.cjs +17 -11
  11. package/dist/Components/NcActionCaption.cjs.map +1 -1
  12. package/dist/Components/NcActionCaption.mjs +14 -8
  13. package/dist/Components/NcActionCaption.mjs.map +1 -1
  14. package/dist/Components/NcActionCheckbox.cjs +26 -11
  15. package/dist/Components/NcActionCheckbox.cjs.map +1 -1
  16. package/dist/Components/NcActionCheckbox.mjs +26 -11
  17. package/dist/Components/NcActionCheckbox.mjs.map +1 -1
  18. package/dist/Components/NcActionInput.cjs +7 -5
  19. package/dist/Components/NcActionInput.cjs.map +1 -1
  20. package/dist/Components/NcActionInput.mjs +11 -9
  21. package/dist/Components/NcActionInput.mjs.map +1 -1
  22. package/dist/Components/NcActionLink.cjs +14 -6
  23. package/dist/Components/NcActionLink.cjs.map +1 -1
  24. package/dist/Components/NcActionLink.mjs +19 -11
  25. package/dist/Components/NcActionLink.mjs.map +1 -1
  26. package/dist/Components/NcActionRadio.cjs +29 -14
  27. package/dist/Components/NcActionRadio.cjs.map +1 -1
  28. package/dist/Components/NcActionRadio.mjs +26 -11
  29. package/dist/Components/NcActionRadio.mjs.map +1 -1
  30. package/dist/Components/NcActionRouter.cjs +14 -8
  31. package/dist/Components/NcActionRouter.cjs.map +1 -1
  32. package/dist/Components/NcActionRouter.mjs +17 -11
  33. package/dist/Components/NcActionRouter.mjs.map +1 -1
  34. package/dist/Components/NcActionSeparator.cjs +10 -10
  35. package/dist/Components/NcActionSeparator.cjs.map +1 -1
  36. package/dist/Components/NcActionSeparator.mjs +11 -11
  37. package/dist/Components/NcActionSeparator.mjs.map +1 -1
  38. package/dist/Components/NcActionText.cjs +15 -9
  39. package/dist/Components/NcActionText.cjs.map +1 -1
  40. package/dist/Components/NcActionText.mjs +20 -14
  41. package/dist/Components/NcActionText.mjs.map +1 -1
  42. package/dist/Components/NcActionTextEditable.cjs +1 -1
  43. package/dist/Components/NcActionTextEditable.mjs +1 -1
  44. package/dist/Components/NcActions.cjs +100 -79
  45. package/dist/Components/NcActions.cjs.map +1 -1
  46. package/dist/Components/NcActions.mjs +103 -82
  47. package/dist/Components/NcActions.mjs.map +1 -1
  48. package/dist/Components/NcAppContent.cjs +9 -5
  49. package/dist/Components/NcAppContent.cjs.map +1 -1
  50. package/dist/Components/NcAppContent.mjs +13 -9
  51. package/dist/Components/NcAppContent.mjs.map +1 -1
  52. package/dist/Components/NcAppNavigation.cjs +11 -7
  53. package/dist/Components/NcAppNavigation.cjs.map +1 -1
  54. package/dist/Components/NcAppNavigation.mjs +9 -5
  55. package/dist/Components/NcAppNavigation.mjs.map +1 -1
  56. package/dist/Components/NcAppNavigationItem.cjs +16 -12
  57. package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
  58. package/dist/Components/NcAppNavigationItem.mjs +14 -10
  59. package/dist/Components/NcAppNavigationItem.mjs.map +1 -1
  60. package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
  61. package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
  62. package/dist/Components/NcAppNavigationSettings.cjs +4 -2
  63. package/dist/Components/NcAppNavigationSettings.cjs.map +1 -1
  64. package/dist/Components/NcAppNavigationSettings.mjs +6 -4
  65. package/dist/Components/NcAppNavigationSettings.mjs.map +1 -1
  66. package/dist/Components/NcAppNavigationToggle.cjs +1 -1
  67. package/dist/Components/NcAppNavigationToggle.mjs +1 -1
  68. package/dist/Components/NcAppSettingsDialog.cjs +43 -39
  69. package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
  70. package/dist/Components/NcAppSettingsDialog.mjs +63 -58
  71. package/dist/Components/NcAppSettingsDialog.mjs.map +1 -1
  72. package/dist/Components/NcAppSidebar.cjs +3 -3
  73. package/dist/Components/NcAppSidebar.cjs.map +1 -1
  74. package/dist/Components/NcAppSidebar.mjs +3 -3
  75. package/dist/Components/NcAppSidebar.mjs.map +1 -1
  76. package/dist/Components/NcAvatar.cjs +1 -1
  77. package/dist/Components/NcAvatar.mjs +1 -1
  78. package/dist/Components/NcButton.cjs +6 -4
  79. package/dist/Components/NcButton.cjs.map +1 -1
  80. package/dist/Components/NcButton.mjs +11 -9
  81. package/dist/Components/NcButton.mjs.map +1 -1
  82. package/dist/Components/NcCheckboxRadioSwitch.cjs +3 -3
  83. package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
  84. package/dist/Components/NcCheckboxRadioSwitch.mjs +3 -3
  85. package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
  86. package/dist/Components/NcColorPicker.cjs +48 -31
  87. package/dist/Components/NcColorPicker.cjs.map +1 -1
  88. package/dist/Components/NcColorPicker.mjs +56 -38
  89. package/dist/Components/NcColorPicker.mjs.map +1 -1
  90. package/dist/Components/NcDashboardWidget.cjs +1 -1
  91. package/dist/Components/NcDashboardWidget.mjs +2 -2
  92. package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
  93. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  94. package/dist/Components/NcDateTime.cjs +17 -14
  95. package/dist/Components/NcDateTime.cjs.map +1 -1
  96. package/dist/Components/NcDateTime.mjs +18 -15
  97. package/dist/Components/NcDateTime.mjs.map +1 -1
  98. package/dist/Components/NcDateTimePicker.cjs +2 -2
  99. package/dist/Components/NcDateTimePicker.mjs +4 -4
  100. package/dist/Components/NcDateTimePickerNative.cjs +1 -1
  101. package/dist/Components/NcDateTimePickerNative.mjs +1 -1
  102. package/dist/Components/NcEmojiPicker.cjs +1 -1
  103. package/dist/Components/NcEmojiPicker.mjs +1 -1
  104. package/dist/Components/NcHeaderMenu.cjs +11 -9
  105. package/dist/Components/NcHeaderMenu.cjs.map +1 -1
  106. package/dist/Components/NcHeaderMenu.mjs +16 -14
  107. package/dist/Components/NcHeaderMenu.mjs.map +1 -1
  108. package/dist/Components/NcListItem.cjs +1 -1
  109. package/dist/Components/NcListItem.mjs +1 -1
  110. package/dist/Components/NcListItemIcon.cjs +4 -2
  111. package/dist/Components/NcListItemIcon.cjs.map +1 -1
  112. package/dist/Components/NcListItemIcon.mjs +9 -7
  113. package/dist/Components/NcListItemIcon.mjs.map +1 -1
  114. package/dist/Components/NcModal.cjs +1 -1
  115. package/dist/Components/NcModal.mjs +3 -3
  116. package/dist/Components/NcPasswordField.cjs +1 -1
  117. package/dist/Components/NcPasswordField.mjs +1 -1
  118. package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
  119. package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
  120. package/dist/Components/NcRichContenteditable.cjs +5 -5
  121. package/dist/Components/NcRichContenteditable.cjs.map +1 -1
  122. package/dist/Components/NcRichContenteditable.mjs +5 -5
  123. package/dist/Components/NcRichContenteditable.mjs.map +1 -1
  124. package/dist/Components/NcRichText.cjs +1 -1
  125. package/dist/Components/NcRichText.mjs +3 -3
  126. package/dist/Components/NcSelect.cjs +2 -2
  127. package/dist/Components/NcSelect.cjs.map +1 -1
  128. package/dist/Components/NcSelect.mjs +3 -3
  129. package/dist/Components/NcSelect.mjs.map +1 -1
  130. package/dist/Components/NcSelectTags.cjs +1 -1
  131. package/dist/Components/NcSelectTags.mjs +1 -1
  132. package/dist/Components/NcSettingsInputText.cjs +1 -1
  133. package/dist/Components/NcSettingsInputText.mjs +1 -1
  134. package/dist/Components/NcSettingsSection.cjs +1 -1
  135. package/dist/Components/NcSettingsSection.mjs +1 -1
  136. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  137. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  138. package/dist/Components/NcTextArea.cjs +5 -5
  139. package/dist/Components/NcTextArea.cjs.map +1 -1
  140. package/dist/Components/NcTextArea.mjs +4 -4
  141. package/dist/Components/NcTextArea.mjs.map +1 -1
  142. package/dist/Components/NcTextField.cjs +25 -17
  143. package/dist/Components/NcTextField.cjs.map +1 -1
  144. package/dist/Components/NcTextField.mjs +27 -19
  145. package/dist/Components/NcTextField.mjs.map +1 -1
  146. package/dist/Components/NcTimezonePicker.cjs +1 -1
  147. package/dist/Components/NcTimezonePicker.mjs +1 -1
  148. package/dist/Components/NcUserBubble.cjs +1 -1
  149. package/dist/Components/NcUserBubble.mjs +1 -1
  150. package/dist/Composables/useIsFullscreen.cjs +34 -0
  151. package/dist/Composables/useIsFullscreen.cjs.map +1 -0
  152. package/dist/Composables/useIsFullscreen.mjs +34 -0
  153. package/dist/Composables/useIsFullscreen.mjs.map +1 -0
  154. package/dist/Composables/useIsMobile.cjs +35 -0
  155. package/dist/Composables/useIsMobile.cjs.map +1 -0
  156. package/dist/Composables/useIsMobile.mjs +35 -0
  157. package/dist/Composables/useIsMobile.mjs.map +1 -0
  158. package/dist/Functions/usernameToColor.cjs +1 -1
  159. package/dist/Functions/usernameToColor.mjs +1 -1
  160. package/dist/Mixins/isFullscreen.cjs +10 -19
  161. package/dist/Mixins/isFullscreen.cjs.map +1 -1
  162. package/dist/Mixins/isFullscreen.mjs +10 -19
  163. package/dist/Mixins/isFullscreen.mjs.map +1 -1
  164. package/dist/Mixins/isMobile.cjs +10 -62
  165. package/dist/Mixins/isMobile.cjs.map +1 -1
  166. package/dist/Mixins/isMobile.mjs +10 -62
  167. package/dist/Mixins/isMobile.mjs.map +1 -1
  168. package/dist/assets/{NcSettingsSelectGroup-0d38d76b.css → NcSettingsSelectGroup-6ddb63a6.css} +2 -2
  169. package/dist/assets/{index-d3702c91.css → index-00012a4c.css} +18 -18
  170. package/dist/assets/{index-8f52a20f.css → index-018895f7.css} +2 -2
  171. package/dist/assets/{index-6899d75b.css → index-30ca9574.css} +31 -30
  172. package/dist/assets/{index-7d211db9.css → index-3d1ccc15.css} +31 -16
  173. package/dist/assets/{index-441b6552.css → index-418d4e87.css} +2 -2
  174. package/dist/assets/{index-ebbb7829.css → index-4437e6bf.css} +8 -8
  175. package/dist/assets/{index-4271da53.css → index-4596132f.css} +17 -17
  176. package/dist/assets/{index-05760fea.css → index-4ba699a1.css} +12 -12
  177. package/dist/assets/{index-db5a8b1c.css → index-51c1f2a9.css} +15 -11
  178. package/dist/assets/{index-24f6c355.css → index-542cf50a.css} +12 -12
  179. package/dist/assets/{index-dea0aef3.css → index-5c74e333.css} +10 -10
  180. package/dist/assets/{index-802d2118.css → index-7fac55ed.css} +16 -16
  181. package/dist/assets/{index-e7c55791.css → index-9020d9ca.css} +67 -67
  182. package/dist/assets/{index-4ef32afd.css → index-a9d1ad5c.css} +26 -23
  183. package/dist/assets/{index-55600948.css → index-d1c0876d.css} +11 -11
  184. package/dist/assets/{index-fbc0b606.css → index-db846386.css} +10 -9
  185. package/dist/assets/{index-baf8711a.css → index-e0e6bab6.css} +12 -12
  186. package/dist/assets/{index-0e9b11c7.css → index-e9fce208.css} +16 -16
  187. package/dist/assets/{index-d812ed9e.css → index-f091e784.css} +43 -43
  188. package/dist/assets/{index-9176105d.css → index-f8d6daf3.css} +41 -41
  189. package/dist/assets/{index-750c02cc.css → index-f9bfa317.css} +3 -0
  190. package/dist/assets/{index-d9ae9479.css → index-ffa6d11c.css} +7 -7
  191. package/dist/chunks/GenColors-02173e2c.mjs +56 -0
  192. package/dist/chunks/GenColors-02173e2c.mjs.map +1 -0
  193. package/dist/chunks/GenColors-4314c256.cjs +55 -0
  194. package/dist/chunks/GenColors-4314c256.cjs.map +1 -0
  195. package/dist/chunks/{NcAppNavigationToggle-60664a28.cjs → NcAppNavigationToggle-1301e882.cjs} +1 -1
  196. package/dist/chunks/{NcAppNavigationToggle-60664a28.cjs.map → NcAppNavigationToggle-1301e882.cjs.map} +1 -1
  197. package/dist/chunks/{NcAppNavigationToggle-82764816.mjs → NcAppNavigationToggle-2574bba5.mjs} +1 -1
  198. package/dist/chunks/{NcAppNavigationToggle-82764816.mjs.map → NcAppNavigationToggle-2574bba5.mjs.map} +1 -1
  199. package/dist/chunks/{NcInputConfirmCancel-262d455f.cjs → NcInputConfirmCancel-9906b563.cjs} +1 -1
  200. package/dist/chunks/{NcInputConfirmCancel-262d455f.cjs.map → NcInputConfirmCancel-9906b563.cjs.map} +1 -1
  201. package/dist/chunks/{NcInputConfirmCancel-906c7816.mjs → NcInputConfirmCancel-a612e6a3.mjs} +1 -1
  202. package/dist/chunks/{NcInputConfirmCancel-906c7816.mjs.map → NcInputConfirmCancel-a612e6a3.mjs.map} +1 -1
  203. package/dist/chunks/{NcRichText-ae95c854.cjs → NcRichText-9f77a9c6.cjs} +1 -1
  204. package/dist/chunks/{NcRichText-ae95c854.cjs.map → NcRichText-9f77a9c6.cjs.map} +1 -1
  205. package/dist/chunks/{NcRichText-1e8fd02d.mjs → NcRichText-f5cfcd57.mjs} +1 -1
  206. package/dist/chunks/{NcRichText-1e8fd02d.mjs.map → NcRichText-f5cfcd57.mjs.map} +1 -1
  207. package/dist/chunks/{NcSettingsSelectGroup-ae323579.mjs → NcSettingsSelectGroup-091c0306.mjs} +12 -12
  208. package/dist/chunks/NcSettingsSelectGroup-091c0306.mjs.map +1 -0
  209. package/dist/chunks/{NcSettingsSelectGroup-e8f9f9fe.cjs → NcSettingsSelectGroup-0f71fef4.cjs} +12 -12
  210. package/dist/chunks/NcSettingsSelectGroup-0f71fef4.cjs.map +1 -0
  211. package/dist/chunks/{ScopeComponent-1ab1ebb9.mjs → ScopeComponent-3ea00dcd.mjs} +1 -1
  212. package/dist/chunks/{ScopeComponent-1ab1ebb9.mjs.map → ScopeComponent-3ea00dcd.mjs.map} +1 -1
  213. package/dist/chunks/{ScopeComponent-50287dad.cjs → ScopeComponent-df4b58b1.cjs} +1 -1
  214. package/dist/chunks/{ScopeComponent-50287dad.cjs.map → ScopeComponent-df4b58b1.cjs.map} +1 -1
  215. package/dist/chunks/{actionText-a64be267.mjs → actionText-60ff01d1.mjs} +3 -1
  216. package/dist/chunks/{actionText-54bc24a6.cjs.map → actionText-60ff01d1.mjs.map} +1 -1
  217. package/dist/chunks/{actionText-54bc24a6.cjs → actionText-9582810f.cjs} +3 -1
  218. package/dist/chunks/{actionText-a64be267.mjs.map → actionText-9582810f.cjs.map} +1 -1
  219. package/dist/chunks/{index-fbf943b3.mjs → index-cea13a24.mjs} +6 -4
  220. package/dist/chunks/{index-fbf943b3.mjs.map → index-cea13a24.mjs.map} +1 -1
  221. package/dist/chunks/{index-e06b96d3.cjs → index-dc10fd2b.cjs} +7 -5
  222. package/dist/chunks/{index-e06b96d3.cjs.map → index-dc10fd2b.cjs.map} +1 -1
  223. package/dist/chunks/{l10n-ec2d3010.cjs → l10n-a12cdbfa.cjs} +1 -1
  224. package/dist/chunks/{l10n-ec2d3010.cjs.map → l10n-a12cdbfa.cjs.map} +1 -1
  225. package/dist/chunks/{l10n-9fc9974f.mjs → l10n-c603e589.mjs} +1 -1
  226. package/dist/chunks/{l10n-9fc9974f.mjs.map → l10n-c603e589.mjs.map} +1 -1
  227. package/dist/chunks/l10n-e9ffbe5e.cjs +29 -0
  228. package/dist/chunks/l10n-e9ffbe5e.cjs.map +1 -0
  229. package/dist/chunks/l10n-ef44019c.mjs +31 -0
  230. package/dist/chunks/l10n-ef44019c.mjs.map +1 -0
  231. package/dist/chunks/{referencePickerModal-e033bf2c.cjs → referencePickerModal-aa5d3f47.cjs} +1 -1
  232. package/dist/chunks/{referencePickerModal-e033bf2c.cjs.map → referencePickerModal-aa5d3f47.cjs.map} +1 -1
  233. package/dist/chunks/{referencePickerModal-6bc8f6b9.mjs → referencePickerModal-c2f33569.mjs} +1 -1
  234. package/dist/chunks/{referencePickerModal-6bc8f6b9.mjs.map → referencePickerModal-c2f33569.mjs.map} +1 -1
  235. package/dist/index.cjs +139 -134
  236. package/dist/index.cjs.map +1 -1
  237. package/dist/index.mjs +96 -89
  238. package/dist/index.mjs.map +1 -1
  239. package/package.json +2 -2
  240. package/dist/chunks/GenColors-38246c38.mjs +0 -46
  241. package/dist/chunks/GenColors-38246c38.mjs.map +0 -1
  242. package/dist/chunks/GenColors-eedcc70a.cjs +0 -45
  243. package/dist/chunks/GenColors-eedcc70a.cjs.map +0 -1
  244. package/dist/chunks/NcSettingsSelectGroup-ae323579.mjs.map +0 -1
  245. package/dist/chunks/NcSettingsSelectGroup-e8f9f9fe.cjs.map +0 -1
  246. package/dist/chunks/l10n-f491109d.cjs +0 -29
  247. package/dist/chunks/l10n-f491109d.cjs.map +0 -1
  248. package/dist/chunks/l10n-f692947e.mjs +0 -31
  249. package/dist/chunks/l10n-f692947e.mjs.map +0 -1
@@ -20,14 +20,14 @@
20
20
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
21
  *
22
22
  */
23
- .material-design-icon[data-v-f507b497] {
23
+ .material-design-icon[data-v-8f4e0666] {
24
24
  display: flex;
25
25
  align-self: center;
26
26
  justify-self: center;
27
27
  align-items: center;
28
28
  justify-content: center;
29
29
  }
30
- .button-vue[data-v-f507b497] {
30
+ .button-vue[data-v-8f4e0666] {
31
31
  position: relative;
32
32
  width: fit-content;
33
33
  overflow: hidden;
@@ -51,46 +51,46 @@
51
51
  color: var(--color-primary-element-light-text);
52
52
  background-color: var(--color-primary-element-light);
53
53
  }
54
- .button-vue *[data-v-f507b497],
55
- .button-vue span[data-v-f507b497] {
54
+ .button-vue *[data-v-8f4e0666],
55
+ .button-vue span[data-v-8f4e0666] {
56
56
  cursor: pointer;
57
57
  }
58
- .button-vue[data-v-f507b497]:focus {
58
+ .button-vue[data-v-8f4e0666]:focus {
59
59
  outline: none;
60
60
  }
61
- .button-vue[data-v-f507b497]:disabled {
61
+ .button-vue[data-v-8f4e0666]:disabled {
62
62
  cursor: default;
63
63
  opacity: .5;
64
64
  filter: saturate(.7);
65
65
  }
66
- .button-vue:disabled *[data-v-f507b497] {
66
+ .button-vue:disabled *[data-v-8f4e0666] {
67
67
  cursor: default;
68
68
  }
69
- .button-vue[data-v-f507b497]:hover:not(:disabled) {
69
+ .button-vue[data-v-8f4e0666]:hover:not(:disabled) {
70
70
  background-color: var(--color-primary-element-light-hover);
71
71
  }
72
- .button-vue[data-v-f507b497]:active {
72
+ .button-vue[data-v-8f4e0666]:active {
73
73
  background-color: var(--color-primary-element-light);
74
74
  }
75
- .button-vue__wrapper[data-v-f507b497] {
75
+ .button-vue__wrapper[data-v-8f4e0666] {
76
76
  display: inline-flex;
77
77
  align-items: center;
78
78
  justify-content: center;
79
79
  width: 100%;
80
80
  }
81
- .button-vue--end .button-vue__wrapper[data-v-f507b497] {
81
+ .button-vue--end .button-vue__wrapper[data-v-8f4e0666] {
82
82
  justify-content: end;
83
83
  }
84
- .button-vue--start .button-vue__wrapper[data-v-f507b497] {
84
+ .button-vue--start .button-vue__wrapper[data-v-8f4e0666] {
85
85
  justify-content: start;
86
86
  }
87
- .button-vue--reverse .button-vue__wrapper[data-v-f507b497] {
87
+ .button-vue--reverse .button-vue__wrapper[data-v-8f4e0666] {
88
88
  flex-direction: row-reverse;
89
89
  }
90
- .button-vue--reverse.button-vue--icon-and-text[data-v-f507b497] {
90
+ .button-vue--reverse.button-vue--icon-and-text[data-v-8f4e0666] {
91
91
  padding-inline: calc(var(--default-grid-baseline) * 4) var(--default-grid-baseline);
92
92
  }
93
- .button-vue__icon[data-v-f507b497] {
93
+ .button-vue__icon[data-v-8f4e0666] {
94
94
  height: 44px;
95
95
  width: 44px;
96
96
  min-height: 44px;
@@ -99,7 +99,7 @@
99
99
  justify-content: center;
100
100
  align-items: center;
101
101
  }
102
- .button-vue__text[data-v-f507b497] {
102
+ .button-vue__text[data-v-8f4e0666] {
103
103
  font-weight: 700;
104
104
  margin-bottom: 1px;
105
105
  padding: 2px 0;
@@ -107,98 +107,98 @@
107
107
  text-overflow: ellipsis;
108
108
  overflow: hidden;
109
109
  }
110
- .button-vue--icon-only[data-v-f507b497] {
110
+ .button-vue--icon-only[data-v-8f4e0666] {
111
111
  width: 44px !important;
112
112
  }
113
- .button-vue--text-only[data-v-f507b497] {
113
+ .button-vue--text-only[data-v-8f4e0666] {
114
114
  padding: 0 12px;
115
115
  }
116
- .button-vue--text-only .button-vue__text[data-v-f507b497] {
116
+ .button-vue--text-only .button-vue__text[data-v-8f4e0666] {
117
117
  margin-left: 4px;
118
118
  margin-right: 4px;
119
119
  }
120
- .button-vue--icon-and-text[data-v-f507b497] {
120
+ .button-vue--icon-and-text[data-v-8f4e0666] {
121
121
  padding-block: 0;
122
122
  padding-inline: var(--default-grid-baseline) calc(var(--default-grid-baseline) * 4);
123
123
  }
124
- .button-vue--wide[data-v-f507b497] {
124
+ .button-vue--wide[data-v-8f4e0666] {
125
125
  width: 100%;
126
126
  }
127
- .button-vue[data-v-f507b497]:focus-visible {
127
+ .button-vue[data-v-8f4e0666]:focus-visible {
128
128
  outline: 2px solid var(--color-main-text) !important;
129
129
  box-shadow: 0 0 0 4px var(--color-main-background) !important;
130
130
  }
131
- .button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-f507b497] {
131
+ .button-vue:focus-visible.button-vue--vue-tertiary-on-primary[data-v-8f4e0666] {
132
132
  outline: 2px solid var(--color-primary-element-text);
133
133
  border-radius: var(--border-radius);
134
134
  background-color: transparent;
135
135
  }
136
- .button-vue--vue-primary[data-v-f507b497] {
136
+ .button-vue--vue-primary[data-v-8f4e0666] {
137
137
  background-color: var(--color-primary-element);
138
138
  color: var(--color-primary-element-text);
139
139
  }
140
- .button-vue--vue-primary[data-v-f507b497]:hover:not(:disabled) {
140
+ .button-vue--vue-primary[data-v-8f4e0666]:hover:not(:disabled) {
141
141
  background-color: var(--color-primary-element-hover);
142
142
  }
143
- .button-vue--vue-primary[data-v-f507b497]:active {
143
+ .button-vue--vue-primary[data-v-8f4e0666]:active {
144
144
  background-color: var(--color-primary-element);
145
145
  }
146
- .button-vue--vue-secondary[data-v-f507b497] {
146
+ .button-vue--vue-secondary[data-v-8f4e0666] {
147
147
  color: var(--color-primary-element-light-text);
148
148
  background-color: var(--color-primary-element-light);
149
149
  }
150
- .button-vue--vue-secondary[data-v-f507b497]:hover:not(:disabled) {
150
+ .button-vue--vue-secondary[data-v-8f4e0666]:hover:not(:disabled) {
151
151
  color: var(--color-primary-element-light-text);
152
152
  background-color: var(--color-primary-element-light-hover);
153
153
  }
154
- .button-vue--vue-tertiary[data-v-f507b497] {
154
+ .button-vue--vue-tertiary[data-v-8f4e0666] {
155
155
  color: var(--color-main-text);
156
156
  background-color: transparent;
157
157
  }
158
- .button-vue--vue-tertiary[data-v-f507b497]:hover:not(:disabled) {
158
+ .button-vue--vue-tertiary[data-v-8f4e0666]:hover:not(:disabled) {
159
159
  background-color: var(--color-background-hover);
160
160
  }
161
- .button-vue--vue-tertiary-no-background[data-v-f507b497] {
161
+ .button-vue--vue-tertiary-no-background[data-v-8f4e0666] {
162
162
  color: var(--color-main-text);
163
163
  background-color: transparent;
164
164
  }
165
- .button-vue--vue-tertiary-no-background[data-v-f507b497]:hover:not(:disabled) {
165
+ .button-vue--vue-tertiary-no-background[data-v-8f4e0666]:hover:not(:disabled) {
166
166
  background-color: transparent;
167
167
  }
168
- .button-vue--vue-tertiary-on-primary[data-v-f507b497] {
168
+ .button-vue--vue-tertiary-on-primary[data-v-8f4e0666] {
169
169
  color: var(--color-primary-element-text);
170
170
  background-color: transparent;
171
171
  }
172
- .button-vue--vue-tertiary-on-primary[data-v-f507b497]:hover:not(:disabled) {
172
+ .button-vue--vue-tertiary-on-primary[data-v-8f4e0666]:hover:not(:disabled) {
173
173
  background-color: transparent;
174
174
  }
175
- .button-vue--vue-success[data-v-f507b497] {
175
+ .button-vue--vue-success[data-v-8f4e0666] {
176
176
  background-color: var(--color-success);
177
177
  color: #fff;
178
178
  }
179
- .button-vue--vue-success[data-v-f507b497]:hover:not(:disabled) {
179
+ .button-vue--vue-success[data-v-8f4e0666]:hover:not(:disabled) {
180
180
  background-color: var(--color-success-hover);
181
181
  }
182
- .button-vue--vue-success[data-v-f507b497]:active {
182
+ .button-vue--vue-success[data-v-8f4e0666]:active {
183
183
  background-color: var(--color-success);
184
184
  }
185
- .button-vue--vue-warning[data-v-f507b497] {
185
+ .button-vue--vue-warning[data-v-8f4e0666] {
186
186
  background-color: var(--color-warning);
187
187
  color: #fff;
188
188
  }
189
- .button-vue--vue-warning[data-v-f507b497]:hover:not(:disabled) {
189
+ .button-vue--vue-warning[data-v-8f4e0666]:hover:not(:disabled) {
190
190
  background-color: var(--color-warning-hover);
191
191
  }
192
- .button-vue--vue-warning[data-v-f507b497]:active {
192
+ .button-vue--vue-warning[data-v-8f4e0666]:active {
193
193
  background-color: var(--color-warning);
194
194
  }
195
- .button-vue--vue-error[data-v-f507b497] {
195
+ .button-vue--vue-error[data-v-8f4e0666] {
196
196
  background-color: var(--color-error);
197
197
  color: #fff;
198
198
  }
199
- .button-vue--vue-error[data-v-f507b497]:hover:not(:disabled) {
199
+ .button-vue--vue-error[data-v-8f4e0666]:hover:not(:disabled) {
200
200
  background-color: var(--color-error-hover);
201
201
  }
202
- .button-vue--vue-error[data-v-f507b497]:active {
202
+ .button-vue--vue-error[data-v-8f4e0666]:active {
203
203
  background-color: var(--color-error);
204
204
  }
@@ -39,14 +39,14 @@
39
39
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
40
40
  *
41
41
  */
42
- .material-design-icon[data-v-d7365865] {
42
+ .material-design-icon[data-v-24094dee] {
43
43
  display: flex;
44
44
  align-self: center;
45
45
  justify-self: center;
46
46
  align-items: center;
47
47
  justify-content: center;
48
48
  }
49
- .app-navigation-entry[data-v-d7365865] {
49
+ .app-navigation-entry[data-v-24094dee] {
50
50
  position: relative;
51
51
  display: flex;
52
52
  flex-shrink: 0;
@@ -58,7 +58,7 @@
58
58
  transition: background-color .2s ease-in-out;
59
59
  border-radius: var(--border-radius-pill);
60
60
  }
61
- .app-navigation-entry-wrapper[data-v-d7365865] {
61
+ .app-navigation-entry-wrapper[data-v-24094dee] {
62
62
  position: relative;
63
63
  display: flex;
64
64
  flex-shrink: 0;
@@ -66,41 +66,41 @@
66
66
  box-sizing: border-box;
67
67
  width: 100%;
68
68
  }
69
- .app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened) > ul[data-v-d7365865] {
69
+ .app-navigation-entry-wrapper.app-navigation-entry--collapsible:not(.app-navigation-entry--opened) > ul[data-v-24094dee] {
70
70
  display: none;
71
71
  }
72
- .app-navigation-entry.active[data-v-d7365865] {
72
+ .app-navigation-entry.active[data-v-24094dee] {
73
73
  background-color: var(--color-primary-element) !important;
74
74
  }
75
- .app-navigation-entry.active .app-navigation-entry-link[data-v-d7365865],
76
- .app-navigation-entry.active .app-navigation-entry-button[data-v-d7365865] {
75
+ .app-navigation-entry.active .app-navigation-entry-link[data-v-24094dee],
76
+ .app-navigation-entry.active .app-navigation-entry-button[data-v-24094dee] {
77
77
  color: var(--color-primary-element-text) !important;
78
78
  }
79
- .app-navigation-entry[data-v-d7365865]:focus-within,
80
- .app-navigation-entry[data-v-d7365865]:hover {
79
+ .app-navigation-entry[data-v-24094dee]:focus-within,
80
+ .app-navigation-entry[data-v-24094dee]:hover {
81
81
  background-color: var(--color-background-hover);
82
82
  }
83
- .app-navigation-entry.active .app-navigation-entry__children[data-v-d7365865],
84
- .app-navigation-entry:focus-within .app-navigation-entry__children[data-v-d7365865],
85
- .app-navigation-entry:hover .app-navigation-entry__children[data-v-d7365865] {
83
+ .app-navigation-entry.active .app-navigation-entry__children[data-v-24094dee],
84
+ .app-navigation-entry:focus-within .app-navigation-entry__children[data-v-24094dee],
85
+ .app-navigation-entry:hover .app-navigation-entry__children[data-v-24094dee] {
86
86
  background-color: var(--color-main-background);
87
87
  }
88
- .app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-d7365865],
89
- .app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-d7365865],
90
- .app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-d7365865],
91
- .app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-d7365865],
92
- .app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-d7365865] {
88
+ .app-navigation-entry.active .app-navigation-entry__utils .app-navigation-entry__actions[data-v-24094dee],
89
+ .app-navigation-entry.app-navigation-entry--deleted .app-navigation-entry__utils .app-navigation-entry__actions[data-v-24094dee],
90
+ .app-navigation-entry:focus .app-navigation-entry__utils .app-navigation-entry__actions[data-v-24094dee],
91
+ .app-navigation-entry:focus-within .app-navigation-entry__utils .app-navigation-entry__actions[data-v-24094dee],
92
+ .app-navigation-entry:hover .app-navigation-entry__utils .app-navigation-entry__actions[data-v-24094dee] {
93
93
  display: inline-block;
94
94
  }
95
- .app-navigation-entry.app-navigation-entry--deleted > ul[data-v-d7365865] {
95
+ .app-navigation-entry.app-navigation-entry--deleted > ul[data-v-24094dee] {
96
96
  display: none;
97
97
  }
98
- .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-d7365865],
99
- .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-d7365865] {
98
+ .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-link[data-v-24094dee],
99
+ .app-navigation-entry:not(.app-navigation-entry--editing) .app-navigation-entry-button[data-v-24094dee] {
100
100
  padding-right: 14px;
101
101
  }
102
- .app-navigation-entry .app-navigation-entry-link[data-v-d7365865],
103
- .app-navigation-entry .app-navigation-entry-button[data-v-d7365865] {
102
+ .app-navigation-entry .app-navigation-entry-link[data-v-24094dee],
103
+ .app-navigation-entry .app-navigation-entry-button[data-v-24094dee] {
104
104
  z-index: 100;
105
105
  display: flex;
106
106
  overflow: hidden;
@@ -115,8 +115,8 @@
115
115
  background-size: 16px 16px;
116
116
  line-height: 44px;
117
117
  }
118
- .app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-d7365865],
119
- .app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-d7365865] {
118
+ .app-navigation-entry .app-navigation-entry-link .app-navigation-entry-icon[data-v-24094dee],
119
+ .app-navigation-entry .app-navigation-entry-button .app-navigation-entry-icon[data-v-24094dee] {
120
120
  display: flex;
121
121
  align-items: center;
122
122
  flex: 0 0 44px;
@@ -127,19 +127,19 @@
127
127
  background-repeat: no-repeat;
128
128
  background-position: 14px center;
129
129
  }
130
- .app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-d7365865],
131
- .app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-d7365865] {
130
+ .app-navigation-entry .app-navigation-entry-link .app-navigation-entry__name[data-v-24094dee],
131
+ .app-navigation-entry .app-navigation-entry-button .app-navigation-entry__name[data-v-24094dee] {
132
132
  overflow: hidden;
133
133
  max-width: 100%;
134
134
  white-space: nowrap;
135
135
  text-overflow: ellipsis;
136
136
  }
137
- .app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-d7365865],
138
- .app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-d7365865] {
137
+ .app-navigation-entry .app-navigation-entry-link .editingContainer[data-v-24094dee],
138
+ .app-navigation-entry .app-navigation-entry-button .editingContainer[data-v-24094dee] {
139
139
  width: calc(100% - 44px);
140
140
  margin: auto;
141
141
  }
142
- .app-navigation-entry__children[data-v-d7365865] {
142
+ .app-navigation-entry__children[data-v-24094dee] {
143
143
  position: relative;
144
144
  display: flex;
145
145
  flex: 0 1 auto;
@@ -147,17 +147,17 @@
147
147
  width: 100%;
148
148
  gap: var(--default-grid-baseline, 4px);
149
149
  }
150
- .app-navigation-entry__children .app-navigation-entry[data-v-d7365865] {
150
+ .app-navigation-entry__children .app-navigation-entry[data-v-24094dee] {
151
151
  display: inline-flex;
152
152
  flex-wrap: wrap;
153
153
  padding-left: 16px;
154
154
  }
155
- .app-navigation-entry__deleted[data-v-d7365865] {
155
+ .app-navigation-entry__deleted[data-v-24094dee] {
156
156
  display: inline-flex;
157
157
  flex: 1 1 0;
158
158
  padding-left: 30px !important;
159
159
  }
160
- .app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-d7365865] {
160
+ .app-navigation-entry__deleted .app-navigation-entry__deleted-description[data-v-24094dee] {
161
161
  position: relative;
162
162
  overflow: hidden;
163
163
  flex: 1 1 0;
@@ -165,40 +165,40 @@
165
165
  text-overflow: ellipsis;
166
166
  line-height: 44px;
167
167
  }
168
- .app-navigation-entry__utils[data-v-d7365865] {
168
+ .app-navigation-entry__utils[data-v-24094dee] {
169
169
  display: flex;
170
170
  min-width: 44px;
171
171
  align-items: center;
172
172
  flex: 0 1 auto;
173
173
  justify-content: flex-end;
174
174
  }
175
- .app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-d7365865] {
175
+ .app-navigation-entry__utils.app-navigation-entry__utils--display-actions .action-item.app-navigation-entry__actions[data-v-24094dee] {
176
176
  display: inline-block;
177
177
  }
178
- .app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-d7365865] {
178
+ .app-navigation-entry__utils .app-navigation-entry__counter-wrapper[data-v-24094dee] {
179
179
  margin-right: calc(var(--default-grid-baseline) * 3);
180
180
  display: flex;
181
181
  align-items: center;
182
182
  flex: 0 1 auto;
183
183
  }
184
- .app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-d7365865] {
184
+ .app-navigation-entry__utils .action-item.app-navigation-entry__actions[data-v-24094dee] {
185
185
  display: none;
186
186
  }
187
- .app-navigation-entry--editing .app-navigation-entry-edit[data-v-d7365865] {
187
+ .app-navigation-entry--editing .app-navigation-entry-edit[data-v-24094dee] {
188
188
  z-index: 250;
189
189
  opacity: 1;
190
190
  }
191
- .app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-d7365865] {
191
+ .app-navigation-entry--deleted .app-navigation-entry-deleted[data-v-24094dee] {
192
192
  z-index: 250;
193
193
  transform: translate(0);
194
194
  }
195
- .app-navigation-entry--pinned[data-v-d7365865] {
195
+ .app-navigation-entry--pinned[data-v-24094dee] {
196
196
  order: 2;
197
197
  margin-top: auto;
198
198
  }
199
- .app-navigation-entry--pinned ~ .app-navigation-entry--pinned[data-v-d7365865] {
199
+ .app-navigation-entry--pinned ~ .app-navigation-entry--pinned[data-v-24094dee] {
200
200
  margin-top: 0;
201
201
  }
202
- [data-themes*=highcontrast] .app-navigation-entry[data-v-d7365865]:active {
202
+ [data-themes*=highcontrast] .app-navigation-entry[data-v-24094dee]:active {
203
203
  background-color: var(--color-primary-element-light-hover) !important;
204
204
  }
@@ -130,6 +130,9 @@ body {
130
130
  .v-select.select.vs--single .vs__selected-options {
131
131
  flex-wrap: nowrap;
132
132
  }
133
+ .v-select.select.vs--single .vs__selected {
134
+ background: unset !important;
135
+ }
133
136
  .vs__dropdown-menu {
134
137
  border-color: var(--color-main-text) !important;
135
138
  outline: 2px solid var(--color-main-background);
@@ -82,14 +82,14 @@
82
82
  .autocomplete-result__subline[data-v-25cf09d8] {
83
83
  color: var(--color-text-maxcontrast);
84
84
  }
85
- .material-design-icon[data-v-599f92d5] {
85
+ .material-design-icon[data-v-9e395f41] {
86
86
  display: flex;
87
87
  align-self: center;
88
88
  justify-self: center;
89
89
  align-items: center;
90
90
  justify-content: center;
91
91
  }
92
- .rich-contenteditable__input[data-v-599f92d5] {
92
+ .rich-contenteditable__input[data-v-9e395f41] {
93
93
  overflow-y: auto;
94
94
  width: auto;
95
95
  margin: 0;
@@ -107,12 +107,12 @@
107
107
  min-height: 44px;
108
108
  max-height: 242px;
109
109
  }
110
- .rich-contenteditable__input--empty[data-v-599f92d5]:before {
111
- content: attr(placeholder);
110
+ .rich-contenteditable__input--empty[data-v-9e395f41]:before {
111
+ content: attr(aria-placeholder);
112
112
  color: var(--color-text-maxcontrast);
113
113
  position: absolute;
114
114
  }
115
- .rich-contenteditable__input[contenteditable=false][data-v-599f92d5]:not(.rich-contenteditable__input--disabled) {
115
+ .rich-contenteditable__input[contenteditable=false][data-v-9e395f41]:not(.rich-contenteditable__input--disabled) {
116
116
  cursor: default;
117
117
  background-color: transparent;
118
118
  color: var(--color-main-text);
@@ -120,11 +120,11 @@
120
120
  opacity: 1;
121
121
  border-radius: 0;
122
122
  }
123
- .rich-contenteditable__input--multiline[data-v-599f92d5] {
123
+ .rich-contenteditable__input--multiline[data-v-9e395f41] {
124
124
  min-height: 132px;
125
125
  max-height: none;
126
126
  }
127
- .rich-contenteditable__input--disabled[data-v-599f92d5] {
127
+ .rich-contenteditable__input--disabled[data-v-9e395f41] {
128
128
  opacity: .5;
129
129
  color: var(--color-text-maxcontrast);
130
130
  border: 2px solid var(--color-background-darker);
@@ -0,0 +1,56 @@
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
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenColors-02173e2c.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\n/**\n * Originally taken from https://github.com/nextcloud/server/blob/master/core/js/placeholder.js\n */\n\nimport { t } from '../l10n.js'\n\nclass 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}\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 * 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 */\nfunction GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\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\nexport default GenColors\n"],"names":["Color","r","g","b","name","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","GenColors","red","t","yellow","blue","palette1","palette2","palette3"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,MAAMA,EAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQX,YAAYC,GAAGC,GAAGC,GAAGC,GAAM;AAC1B,SAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,IAAIC,GACLC,MACH,KAAK,OAAOA;AAAA,EAEb;AAEF;AASA,SAASC,EAASC,GAAOC,GAAM;AAC9B,QAAMC,IAAO,IAAI,MAAM,CAAC;AACxB,SAAAA,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GAC7BE;AACR;AAUA,SAASC,EAAWH,GAAOI,GAAQC,GAAQ;AAC1C,QAAMC,IAAU,CAAE;AAClB,EAAAA,EAAQ,KAAKF,CAAM;AACnB,QAAMF,IAAOH,EAASC,GAAO,CAACI,GAAQC,CAAM,CAAC;AAC7C,WAASE,IAAI,GAAGA,IAAIP,GAAOO,KAAK;AAC/B,UAAMZ,IAAI,KAAK,MAAMS,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCX,IAAI,KAAK,MAAMQ,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCV,IAAI,KAAK,MAAMO,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC;AAC3C,IAAAD,EAAQ,KAAK,IAAIZ,EAAMC,GAAGC,GAAGC,CAAC,CAAC;AAAA,EAC/B;AACD,SAAOS;AACR;AAWA,SAASE,EAAUR,GAAO;AACzB,EAAKA,MACJA,IAAQ;AAGT,QAAMS,IAAM,IAAIf,EAAM,KAAK,IAAI,KAAKgB,EAAE,QAAQ,CAAC,GACzCC,IAAS,IAAIjB,EAAM,KAAK,KAAK,IAAIgB,EAAE,MAAM,CAAC,GAC1CE,IAAO,IAAIlB,EAAM,GAAG,KAAK,KAAKgB,EAAE,gBAAgB,CAAC,GAEjDG,IAAWV,EAAWH,GAAOS,GAAKE,CAAM,GACxCG,IAAWX,EAAWH,GAAOW,GAAQC,CAAI,GACzCG,IAAWZ,EAAWH,GAAOY,GAAMH,CAAG;AAE5C,SAAOI,EAAS,OAAOC,CAAQ,EAAE,OAAOC,CAAQ;AACjD;"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ const a = require("./l10n-e9ffbe5e.cjs");
3
+ /**
4
+ * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
5
+ *
6
+ * @author John Molakvoæ <skjnldsv@protonmail.com>
7
+ * @author Grigorii K. Shartsev <me@shgk.me>
8
+ *
9
+ * @license AGPL-3.0-or-later
10
+ *
11
+ * This program is free software: you can redistribute it and/or modify
12
+ * it under the terms of the GNU Affero General Public License as
13
+ * published by the Free Software Foundation, either version 3 of the
14
+ * License, or (at your option) any later version.
15
+ *
16
+ * This program is distributed in the hope that it will be useful,
17
+ * but WITHOUT ANY WARRANTY without even the implied warranty of
18
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
+ * GNU Affero General Public License for more details.
20
+ *
21
+ * You should have received a copy of the GNU Affero General Public License
22
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
23
+ *
24
+ */
25
+ class l {
26
+ /**
27
+ * @param {number} r The red value
28
+ * @param {number} g The green value
29
+ * @param {number} b The blue value
30
+ * @param {string} [name] The name of the color
31
+ */
32
+ constructor(t, o, r, c) {
33
+ this.r = t, this.g = o, this.b = r, c && (this.name = c);
34
+ }
35
+ }
36
+ function h(n, t) {
37
+ const o = new Array(3);
38
+ return o[0] = (t[1].r - t[0].r) / n, o[1] = (t[1].g - t[0].g) / n, o[2] = (t[1].b - t[0].b) / n, o;
39
+ }
40
+ function i(n, t, o) {
41
+ const r = [];
42
+ r.push(t);
43
+ const c = h(n, [t, o]);
44
+ for (let e = 1; e < n; e++) {
45
+ const u = Math.floor(t.r + c[0] * e), s = Math.floor(t.g + c[1] * e), f = Math.floor(t.b + c[2] * e);
46
+ r.push(new l(u, s, f));
47
+ }
48
+ return r;
49
+ }
50
+ function b(n) {
51
+ n || (n = 6);
52
+ const t = new l(182, 70, 157, a.t("Purple")), o = new l(221, 203, 85, a.t("Gold")), r = new l(0, 130, 201, a.t("Nextcloud blue")), c = i(n, t, o), e = i(n, o, r), u = i(n, r, t);
53
+ return c.concat(e).concat(u);
54
+ }
55
+ exports.GenColors = b;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenColors-4314c256.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\n/**\n * Originally taken from https://github.com/nextcloud/server/blob/master/core/js/placeholder.js\n */\n\nimport { t } from '../l10n.js'\n\nclass 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}\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 * 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 */\nfunction GenColors(steps) {\n\tif (!steps) {\n\t\tsteps = 6\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\nexport default GenColors\n"],"names":["Color","r","g","b","name","stepCalc","steps","ends","step","mixPalette","color1","color2","palette","i","GenColors","red","t","yellow","blue","palette1","palette2","palette3"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BA,MAAMA,EAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQX,YAAYC,GAAGC,GAAGC,GAAGC,GAAM;AAC1B,SAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,IAAIC,GACLC,MACH,KAAK,OAAOA;AAAA,EAEb;AAEF;AASA,SAASC,EAASC,GAAOC,GAAM;AAC9B,QAAMC,IAAO,IAAI,MAAM,CAAC;AACxB,SAAAA,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GACpCE,EAAK,CAAC,KAAKD,EAAK,CAAC,EAAE,IAAIA,EAAK,CAAC,EAAE,KAAKD,GAC7BE;AACR;AAUA,SAASC,EAAWH,GAAOI,GAAQC,GAAQ;AAC1C,QAAMC,IAAU,CAAE;AAClB,EAAAA,EAAQ,KAAKF,CAAM;AACnB,QAAMF,IAAOH,EAASC,GAAO,CAACI,GAAQC,CAAM,CAAC;AAC7C,WAASE,IAAI,GAAGA,IAAIP,GAAOO,KAAK;AAC/B,UAAMZ,IAAI,KAAK,MAAMS,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCX,IAAI,KAAK,MAAMQ,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC,GACrCV,IAAI,KAAK,MAAMO,EAAO,IAAIF,EAAK,CAAC,IAAIK,CAAC;AAC3C,IAAAD,EAAQ,KAAK,IAAIZ,EAAMC,GAAGC,GAAGC,CAAC,CAAC;AAAA,EAC/B;AACD,SAAOS;AACR;AAWA,SAASE,EAAUR,GAAO;AACzB,EAAKA,MACJA,IAAQ;AAGT,QAAMS,IAAM,IAAIf,EAAM,KAAK,IAAI,KAAKgB,EAAAA,EAAE,QAAQ,CAAC,GACzCC,IAAS,IAAIjB,EAAM,KAAK,KAAK,IAAIgB,EAAAA,EAAE,MAAM,CAAC,GAC1CE,IAAO,IAAIlB,EAAM,GAAG,KAAK,KAAKgB,EAAAA,EAAE,gBAAgB,CAAC,GAEjDG,IAAWV,EAAWH,GAAOS,GAAKE,CAAM,GACxCG,IAAWX,EAAWH,GAAOW,GAAQC,CAAI,GACzCG,IAAWZ,EAAWH,GAAOY,GAAMH,CAAG;AAE5C,SAAOI,EAAS,OAAOC,CAAQ,EAAE,OAAOC,CAAQ;AACjD;;"}
@@ -1,7 +1,7 @@
1
1
  var y = require("../assets/NcAppNavigationToggle-9e170630.css");
2
2
  const l = require("../Components/NcButton.cjs");
3
3
  require("../Directives/Tooltip.cjs");
4
- const o = require("./l10n-f491109d.cjs"), i = require("./_plugin-vue2_normalizer-7f9efb60.cjs"), r = require("floating-vue"), s = {
4
+ const o = require("./l10n-e9ffbe5e.cjs"), i = require("./_plugin-vue2_normalizer-7f9efb60.cjs"), r = require("floating-vue"), s = {
5
5
  name: "MenuIcon",
6
6
  emits: ["click"],
7
7
  props: {
@@ -1 +1 @@
1
- {"version":3,"file":"NcAppNavigationToggle-60664a28.cjs","sources":["../../node_modules/vue-material-design-icons/Menu.vue","../../node_modules/vue-material-design-icons/MenuOpen.vue","../../src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-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=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuIcon\",\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>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-open-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=\"M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuOpenIcon\",\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>","<!--\n - @copyright Copyright (c) 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n -\n - @author Christoph Wurst <christoph@winzerhof-wurst.at>\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n - @author Marco Ambrosini <marcoambrosini@icloud.com>\n -\n - @license GNU AGPL version 3 or any later version\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<template>\n\t<NcButton v-tooltip.auto=\"label\"\n\t\tclass=\"app-navigation-toggle\"\n\t\ttype=\"tertiary\"\n\t\t:aria-expanded=\"open ? 'true' : 'false'\"\n\t\t:aria-label=\"label\"\n\t\taria-controls=\"app-navigation-vue\"\n\t\t@click=\"toggleNavigation\">\n\t\t<template #icon>\n\t\t\t<MenuOpenIcon v-if=\"open\" :size=\"20\" />\n\t\t\t<MenuIcon v-else :size=\"20\" />\n\t\t</template>\n\t</NcButton>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport Tooltip from '../../directives/Tooltip/index.js'\nimport { t } from '../../l10n.js'\n\nimport MenuIcon from 'vue-material-design-icons/Menu.vue'\nimport MenuOpenIcon from 'vue-material-design-icons/MenuOpen.vue'\n\nexport default {\n\tname: 'NcAppNavigationToggle',\n\n\tdirectives: {\n\t\ttooltip: Tooltip,\n\t},\n\n\tcomponents: {\n\t\tNcButton,\n\t\tMenuIcon,\n\t\tMenuOpenIcon,\n\t},\n\n\tprops: {\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\temits: ['update:open'],\n\n\tcomputed: {\n\t\tlabel() {\n\t\t\treturn this.open ? t('Close navigation') : t('Open navigation')\n\t\t},\n\t},\n\tmethods: {\n\t\ttoggleNavigation() {\n\t\t\tthis.$emit('update:open', !this.open)\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\nbutton.app-navigation-toggle {\n\tposition: absolute;\n\ttop: var(--app-navigation-padding);\n\tright: calc(0px - var(--app-navigation-padding));\n\tmargin-right: - $clickable-area;\n\tbackground-color: var(--color-main-background);\n}\n</style>\n"],"names":["_sfc_main$2","_sfc_main$1","_sfc_main","floatingVue","Components_NcButton","MenuIcon","MenuOpenIcon","l10n"],"mappings":";;;8HAoBAA,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;;;;;;;;;;;;;;;;qBChBAC,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;;;;;;;;;;;;;;;;;ACUA,MAAAC,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,SAAAC,EAAA;AAAA,EACA;AAAA,EAEA,YAAA;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA,CAAA,aAAA;AAAA,EAEA,UAAA;AAAA,IACA,QAAA;AACA,aAAA,KAAA,OAAAC,EAAA,EAAA,kBAAA,IAAAA,EAAA,EAAA,iBAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,SAAA;AAAA,IACA,mBAAA;AACA,WAAA,MAAA,eAAA,CAAA,KAAA,IAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"NcAppNavigationToggle-1301e882.cjs","sources":["../../node_modules/vue-material-design-icons/Menu.vue","../../node_modules/vue-material-design-icons/MenuOpen.vue","../../src/components/NcAppNavigationToggle/NcAppNavigationToggle.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-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=\"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuIcon\",\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>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"!title\"\n :aria-label=\"title\"\n class=\"material-design-icon menu-open-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=\"M21,15.61L19.59,17L14.58,12L19.59,7L21,8.39L17.44,12L21,15.61M3,6H16V8H3V6M3,13V11H13V13H3M3,18V16H16V18H3Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MenuOpenIcon\",\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>","<!--\n - @copyright Copyright (c) 2019 Christoph Wurst <christoph@winzerhof-wurst.at>\n -\n - @author Christoph Wurst <christoph@winzerhof-wurst.at>\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n - @author Marco Ambrosini <marcoambrosini@icloud.com>\n -\n - @license GNU AGPL version 3 or any later version\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<template>\n\t<NcButton v-tooltip.auto=\"label\"\n\t\tclass=\"app-navigation-toggle\"\n\t\ttype=\"tertiary\"\n\t\t:aria-expanded=\"open ? 'true' : 'false'\"\n\t\t:aria-label=\"label\"\n\t\taria-controls=\"app-navigation-vue\"\n\t\t@click=\"toggleNavigation\">\n\t\t<template #icon>\n\t\t\t<MenuOpenIcon v-if=\"open\" :size=\"20\" />\n\t\t\t<MenuIcon v-else :size=\"20\" />\n\t\t</template>\n\t</NcButton>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport Tooltip from '../../directives/Tooltip/index.js'\nimport { t } from '../../l10n.js'\n\nimport MenuIcon from 'vue-material-design-icons/Menu.vue'\nimport MenuOpenIcon from 'vue-material-design-icons/MenuOpen.vue'\n\nexport default {\n\tname: 'NcAppNavigationToggle',\n\n\tdirectives: {\n\t\ttooltip: Tooltip,\n\t},\n\n\tcomponents: {\n\t\tNcButton,\n\t\tMenuIcon,\n\t\tMenuOpenIcon,\n\t},\n\n\tprops: {\n\t\topen: {\n\t\t\ttype: Boolean,\n\t\t\trequired: true,\n\t\t},\n\t},\n\n\temits: ['update:open'],\n\n\tcomputed: {\n\t\tlabel() {\n\t\t\treturn this.open ? t('Close navigation') : t('Open navigation')\n\t\t},\n\t},\n\tmethods: {\n\t\ttoggleNavigation() {\n\t\t\tthis.$emit('update:open', !this.open)\n\t\t},\n\t},\n}\n</script>\n\n<style scoped lang=\"scss\">\nbutton.app-navigation-toggle {\n\tposition: absolute;\n\ttop: var(--app-navigation-padding);\n\tright: calc(0px - var(--app-navigation-padding));\n\tmargin-right: - $clickable-area;\n\tbackground-color: var(--color-main-background);\n}\n</style>\n"],"names":["_sfc_main$2","_sfc_main$1","_sfc_main","floatingVue","Components_NcButton","MenuIcon","MenuOpenIcon","l10n"],"mappings":";;;8HAoBAA,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;;;;;;;;;;;;;;;;qBChBAC,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;;;;;;;;;;;;;;;;;ACUA,MAAAC,IAAA;AAAA,EACA,MAAA;AAAA,EAEA,YAAA;AAAA,IACA,SAAAC,EAAA;AAAA,EACA;AAAA,EAEA,YAAA;AAAA,IACA,UAAAC;AAAA,IACA,UAAAC;AAAA,IACA,cAAAC;AAAA,EACA;AAAA,EAEA,OAAA;AAAA,IACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,IACA;AAAA,EACA;AAAA,EAEA,OAAA,CAAA,aAAA;AAAA,EAEA,UAAA;AAAA,IACA,QAAA;AACA,aAAA,KAAA,OAAAC,EAAA,EAAA,kBAAA,IAAAA,EAAA,EAAA,iBAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,SAAA;AAAA,IACA,mBAAA;AACA,WAAA,MAAA,eAAA,CAAA,KAAA,IAAA;AAAA,IACA;AAAA,EACA;AACA;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
@@ -1,7 +1,7 @@
1
1
  import "../assets/NcAppNavigationToggle-9e170630.css";
2
2
  import l from "../Components/NcButton.mjs";
3
3
  import "../Directives/Tooltip.mjs";
4
- import { t as o } from "./l10n-f692947e.mjs";
4
+ import { t as o } from "./l10n-ef44019c.mjs";
5
5
  import { n as i } from "./_plugin-vue2_normalizer-71e2aa87.mjs";
6
6
  import { VTooltip as r } from "floating-vue";
7
7
  const s = {