@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
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ const e = require("../Composables/useIsFullscreen.cjs");
2
3
  /**
3
4
  * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
4
5
  *
@@ -20,25 +21,15 @@
20
21
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
22
  *
22
23
  */
23
- const e = {
24
- data() {
25
- return {
26
- isFullscreen: this._isFullscreen()
27
- };
28
- },
29
- beforeMount() {
30
- window.addEventListener("resize", this._onResize);
31
- },
32
- beforeDestroy() {
33
- window.removeEventListener("resize", this._onResize);
34
- },
35
- methods: {
36
- _onResize() {
37
- this.isFullscreen = this._isFullscreen();
38
- },
39
- _isFullscreen() {
40
- return window.outerHeight === screen.height;
24
+ const s = {
25
+ computed: {
26
+ /**
27
+ * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.
28
+ * Use `composables/useIsFullscreen` instead.
29
+ */
30
+ isFullscreen() {
31
+ return e.isFullscreenState.value;
41
32
  }
42
33
  }
43
34
  };
44
- module.exports = e;
35
+ module.exports = s;
@@ -1 +1 @@
1
- {"version":3,"file":"isFullscreen.cjs","sources":["../../src/mixins/isFullscreen/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 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 {\n\tdata() {\n\t\treturn {\n\t\t\tisFullscreen: this._isFullscreen(),\n\t\t}\n\t},\n\tbeforeMount() {\n\t\twindow.addEventListener('resize', this._onResize)\n\t},\n\tbeforeDestroy() {\n\t\twindow.removeEventListener('resize', this._onResize)\n\t},\n\tmethods: {\n\t\t_onResize() {\n\t\t\t// Update fullscreen mode\n\t\t\tthis.isFullscreen = this._isFullscreen()\n\t\t},\n\t\t_isFullscreen() {\n\t\t\t// if the window height is equal to the screen height,\n\t\t\t// we're in full screen mode\n\t\t\treturn window.outerHeight === screen.height\n\t\t},\n\t},\n}\n"],"names":["index"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBA,MAAeA,IAAA;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,cAAc,KAAK,cAAe;AAAA,IAClC;AAAA,EACD;AAAA,EACD,cAAc;AACb,WAAO,iBAAiB,UAAU,KAAK,SAAS;AAAA,EAChD;AAAA,EACD,gBAAgB;AACf,WAAO,oBAAoB,UAAU,KAAK,SAAS;AAAA,EACnD;AAAA,EACD,SAAS;AAAA,IACR,YAAY;AAEX,WAAK,eAAe,KAAK,cAAe;AAAA,IACxC;AAAA,IACD,gBAAgB;AAGf,aAAO,OAAO,gBAAgB,OAAO;AAAA,IACrC;AAAA,EACD;AACF;;"}
1
+ {"version":3,"file":"isFullscreen.cjs","sources":["../../src/mixins/isFullscreen/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 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\nimport { isFullscreenState } from '../../composables/useIsFullscreen/index.js'\n\nexport default {\n\tcomputed: {\n\t\t/**\n\t\t * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n\t\t * Use `composables/useIsFullscreen` instead.\n\t\t */\n\t\tisFullscreen() {\n\t\t\treturn isFullscreenState.value\n\t\t},\n\t},\n}\n"],"names":["index","isFullscreenState"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBA,MAAeA,IAAA;AAAA,EACd,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,eAAe;AACd,aAAOC,EAAiB,kBAAC;AAAA,IACzB;AAAA,EACD;AACF;;"}
@@ -1,3 +1,4 @@
1
+ import { isFullscreenState as e } from "../Composables/useIsFullscreen.mjs";
1
2
  /**
2
3
  * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
3
4
  *
@@ -19,27 +20,17 @@
19
20
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21
  *
21
22
  */
22
- const e = {
23
- data() {
24
- return {
25
- isFullscreen: this._isFullscreen()
26
- };
27
- },
28
- beforeMount() {
29
- window.addEventListener("resize", this._onResize);
30
- },
31
- beforeDestroy() {
32
- window.removeEventListener("resize", this._onResize);
33
- },
34
- methods: {
35
- _onResize() {
36
- this.isFullscreen = this._isFullscreen();
37
- },
38
- _isFullscreen() {
39
- return window.outerHeight === screen.height;
23
+ const r = {
24
+ computed: {
25
+ /**
26
+ * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.
27
+ * Use `composables/useIsFullscreen` instead.
28
+ */
29
+ isFullscreen() {
30
+ return e.value;
40
31
  }
41
32
  }
42
33
  };
43
34
  export {
44
- e as default
35
+ r as default
45
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"isFullscreen.mjs","sources":["../../src/mixins/isFullscreen/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 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 {\n\tdata() {\n\t\treturn {\n\t\t\tisFullscreen: this._isFullscreen(),\n\t\t}\n\t},\n\tbeforeMount() {\n\t\twindow.addEventListener('resize', this._onResize)\n\t},\n\tbeforeDestroy() {\n\t\twindow.removeEventListener('resize', this._onResize)\n\t},\n\tmethods: {\n\t\t_onResize() {\n\t\t\t// Update fullscreen mode\n\t\t\tthis.isFullscreen = this._isFullscreen()\n\t\t},\n\t\t_isFullscreen() {\n\t\t\t// if the window height is equal to the screen height,\n\t\t\t// we're in full screen mode\n\t\t\treturn window.outerHeight === screen.height\n\t\t},\n\t},\n}\n"],"names":["index"],"mappings":"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBA,MAAeA,IAAA;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,cAAc,KAAK,cAAe;AAAA,IAClC;AAAA,EACD;AAAA,EACD,cAAc;AACb,WAAO,iBAAiB,UAAU,KAAK,SAAS;AAAA,EAChD;AAAA,EACD,gBAAgB;AACf,WAAO,oBAAoB,UAAU,KAAK,SAAS;AAAA,EACnD;AAAA,EACD,SAAS;AAAA,IACR,YAAY;AAEX,WAAK,eAAe,KAAK,cAAe;AAAA,IACxC;AAAA,IACD,gBAAgB;AAGf,aAAO,OAAO,gBAAgB,OAAO;AAAA,IACrC;AAAA,EACD;AACF;"}
1
+ {"version":3,"file":"isFullscreen.mjs","sources":["../../src/mixins/isFullscreen/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 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\nimport { isFullscreenState } from '../../composables/useIsFullscreen/index.js'\n\nexport default {\n\tcomputed: {\n\t\t/**\n\t\t * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n\t\t * Use `composables/useIsFullscreen` instead.\n\t\t */\n\t\tisFullscreen() {\n\t\t\treturn isFullscreenState.value\n\t\t},\n\t},\n}\n"],"names":["index","isFullscreenState"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBA,MAAeA,IAAA;AAAA,EACd,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,eAAe;AACd,aAAOC,EAAkB;AAAA,IACzB;AAAA,EACD;AACF;"}
@@ -1,50 +1,5 @@
1
1
  "use strict";
2
- const t = require("vue"), s = (e) => e && e.__esModule ? e : { default: e }, o = /* @__PURE__ */ s(t);
3
- /**
4
- * @copyright Copyright (c) 2019 Kristof Hamann, Paul Schwörer
5
- *
6
- * @author Kristof Hamann
7
- * @author Paul Schwörer
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
- const i = /* @__PURE__ */ new o.default({
26
- data() {
27
- return {
28
- isMobile: !1
29
- };
30
- },
31
- watch: {
32
- isMobile(e) {
33
- this.$emit("changed", e);
34
- }
35
- },
36
- created() {
37
- window.addEventListener("resize", this.handleWindowResize), this.handleWindowResize();
38
- },
39
- beforeDestroy() {
40
- window.removeEventListener("resize", this.handleWindowResize);
41
- },
42
- methods: {
43
- handleWindowResize() {
44
- this.isMobile = document.documentElement.clientWidth < 1024;
45
- }
46
- }
47
- });
2
+ const e = require("../Composables/useIsMobile.cjs");
48
3
  /**
49
4
  * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
50
5
  *
@@ -66,22 +21,15 @@ const i = /* @__PURE__ */ new o.default({
66
21
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
67
22
  *
68
23
  */
69
- const n = {
70
- data() {
71
- return {
72
- isMobile: !1
73
- };
74
- },
75
- mounted() {
76
- i.$on("changed", this.onIsMobileChanged), this.isMobile = i.isMobile;
77
- },
78
- beforeDestroy() {
79
- i.$off("changed", this.onIsMobileChanged);
80
- },
81
- methods: {
82
- onIsMobileChanged(e) {
83
- this.isMobile = e;
24
+ const s = {
25
+ computed: {
26
+ /**
27
+ * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.
28
+ * Use `composables/useIsMobile` instead.
29
+ */
30
+ isMobile() {
31
+ return e.isMobileState.value;
84
32
  }
85
33
  }
86
34
  };
87
- module.exports = n;
35
+ module.exports = s;
@@ -1 +1 @@
1
- {"version":3,"file":"isMobile.cjs","sources":["../../src/utils/IsMobileState.js","../../src/mixins/isMobile/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 Kristof Hamann, Paul Schwörer\n *\n * @author Kristof Hamann\n * @author Paul Schwörer\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport Vue from 'vue'\n\nexport const IsMobileState = /* @__PURE__ */ new Vue({\n\tdata() {\n\t\treturn {\n\t\t\tisMobile: false,\n\t\t}\n\t},\n\twatch: {\n\t\tisMobile(val) {\n\t\t\tthis.$emit('changed', val)\n\t\t},\n\t},\n\tcreated() {\n\t\twindow.addEventListener('resize', this.handleWindowResize)\n\t\tthis.handleWindowResize()\n\t},\n\tbeforeDestroy() {\n\t\twindow.removeEventListener('resize', this.handleWindowResize)\n\t},\n\tmethods: {\n\t\thandleWindowResize() {\n\t\t\tthis.isMobile = document.documentElement.clientWidth < 1024\n\t\t},\n\t},\n})\n","/**\n * @copyright Copyright (c) 2019 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\nimport { IsMobileState } from '../../utils/IsMobileState.js'\n\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tisMobile: false,\n\t\t}\n\t},\n\tmounted() {\n\t\tIsMobileState.$on('changed', this.onIsMobileChanged)\n\t\tthis.isMobile = IsMobileState.isMobile\n\t},\n\tbeforeDestroy() {\n\t\tIsMobileState.$off('changed', this.onIsMobileChanged)\n\t},\n\tmethods: {\n\t\tonIsMobileChanged(val) {\n\t\t\tthis.isMobile = val\n\t\t},\n\t},\n}\n"],"names":["IsMobileState","Vue","val","isMobile"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyBO,MAAMA,IAAgC,oBAAIC,EAAAA,QAAI;AAAA,EACpD,OAAO;AACN,WAAO;AAAA,MACN,UAAU;AAAA,IACV;AAAA,EACD;AAAA,EACD,OAAO;AAAA,IACN,SAASC,GAAK;AACb,WAAK,MAAM,WAAWA,CAAG;AAAA,IACzB;AAAA,EACD;AAAA,EACD,UAAU;AACT,WAAO,iBAAiB,UAAU,KAAK,kBAAkB,GACzD,KAAK,mBAAoB;AAAA,EACzB;AAAA,EACD,gBAAgB;AACf,WAAO,oBAAoB,UAAU,KAAK,kBAAkB;AAAA,EAC5D;AAAA,EACD,SAAS;AAAA,IACR,qBAAqB;AACpB,WAAK,WAAW,SAAS,gBAAgB,cAAc;AAAA,IACvD;AAAA,EACD;AACF,CAAC;AChDD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBA,MAAeC,IAAA;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,UAAU;AAAA,IACV;AAAA,EACD;AAAA,EACD,UAAU;AACT,IAAAH,EAAc,IAAI,WAAW,KAAK,iBAAiB,GACnD,KAAK,WAAWA,EAAc;AAAA,EAC9B;AAAA,EACD,gBAAgB;AACf,IAAAA,EAAc,KAAK,WAAW,KAAK,iBAAiB;AAAA,EACpD;AAAA,EACD,SAAS;AAAA,IACR,kBAAkBE,GAAK;AACtB,WAAK,WAAWA;AAAA,IAChB;AAAA,EACD;AACF;;"}
1
+ {"version":3,"file":"isMobile.cjs","sources":["../../src/mixins/isMobile/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 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\nimport { isMobileState } from '../../composables/useIsMobile/index.js'\n\nexport default {\n\tcomputed: {\n\t\t/**\n\t\t * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n\t\t * Use `composables/useIsMobile` instead.\n\t\t */\n\t\tisMobile() {\n\t\t\treturn isMobileState.value\n\t\t},\n\t},\n}\n"],"names":["index","isMobileState"],"mappings":";;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBA,MAAeA,IAAA;AAAA,EACd,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,WAAW;AACV,aAAOC,EAAa,cAAC;AAAA,IACrB;AAAA,EACD;AACF;;"}
@@ -1,49 +1,4 @@
1
- import o from "vue";
2
- /**
3
- * @copyright Copyright (c) 2019 Kristof Hamann, Paul Schwörer
4
- *
5
- * @author Kristof Hamann
6
- * @author Paul Schwörer
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
- const i = /* @__PURE__ */ new o({
25
- data() {
26
- return {
27
- isMobile: !1
28
- };
29
- },
30
- watch: {
31
- isMobile(e) {
32
- this.$emit("changed", e);
33
- }
34
- },
35
- created() {
36
- window.addEventListener("resize", this.handleWindowResize), this.handleWindowResize();
37
- },
38
- beforeDestroy() {
39
- window.removeEventListener("resize", this.handleWindowResize);
40
- },
41
- methods: {
42
- handleWindowResize() {
43
- this.isMobile = document.documentElement.clientWidth < 1024;
44
- }
45
- }
46
- });
1
+ import { isMobileState as e } from "../Composables/useIsMobile.mjs";
47
2
  /**
48
3
  * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
49
4
  *
@@ -65,24 +20,17 @@ const i = /* @__PURE__ */ new o({
65
20
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
66
21
  *
67
22
  */
68
- const t = {
69
- data() {
70
- return {
71
- isMobile: !1
72
- };
73
- },
74
- mounted() {
75
- i.$on("changed", this.onIsMobileChanged), this.isMobile = i.isMobile;
76
- },
77
- beforeDestroy() {
78
- i.$off("changed", this.onIsMobileChanged);
79
- },
80
- methods: {
81
- onIsMobileChanged(e) {
82
- this.isMobile = e;
23
+ const o = {
24
+ computed: {
25
+ /**
26
+ * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.
27
+ * Use `composables/useIsMobile` instead.
28
+ */
29
+ isMobile() {
30
+ return e.value;
83
31
  }
84
32
  }
85
33
  };
86
34
  export {
87
- t as default
35
+ o as default
88
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"isMobile.mjs","sources":["../../src/utils/IsMobileState.js","../../src/mixins/isMobile/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 Kristof Hamann, Paul Schwörer\n *\n * @author Kristof Hamann\n * @author Paul Schwörer\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\nimport Vue from 'vue'\n\nexport const IsMobileState = /* @__PURE__ */ new Vue({\n\tdata() {\n\t\treturn {\n\t\t\tisMobile: false,\n\t\t}\n\t},\n\twatch: {\n\t\tisMobile(val) {\n\t\t\tthis.$emit('changed', val)\n\t\t},\n\t},\n\tcreated() {\n\t\twindow.addEventListener('resize', this.handleWindowResize)\n\t\tthis.handleWindowResize()\n\t},\n\tbeforeDestroy() {\n\t\twindow.removeEventListener('resize', this.handleWindowResize)\n\t},\n\tmethods: {\n\t\thandleWindowResize() {\n\t\t\tthis.isMobile = document.documentElement.clientWidth < 1024\n\t\t},\n\t},\n})\n","/**\n * @copyright Copyright (c) 2019 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\nimport { IsMobileState } from '../../utils/IsMobileState.js'\n\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tisMobile: false,\n\t\t}\n\t},\n\tmounted() {\n\t\tIsMobileState.$on('changed', this.onIsMobileChanged)\n\t\tthis.isMobile = IsMobileState.isMobile\n\t},\n\tbeforeDestroy() {\n\t\tIsMobileState.$off('changed', this.onIsMobileChanged)\n\t},\n\tmethods: {\n\t\tonIsMobileChanged(val) {\n\t\t\tthis.isMobile = val\n\t\t},\n\t},\n}\n"],"names":["IsMobileState","Vue","val","isMobile"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyBO,MAAMA,IAAgC,oBAAIC,EAAI;AAAA,EACpD,OAAO;AACN,WAAO;AAAA,MACN,UAAU;AAAA,IACV;AAAA,EACD;AAAA,EACD,OAAO;AAAA,IACN,SAASC,GAAK;AACb,WAAK,MAAM,WAAWA,CAAG;AAAA,IACzB;AAAA,EACD;AAAA,EACD,UAAU;AACT,WAAO,iBAAiB,UAAU,KAAK,kBAAkB,GACzD,KAAK,mBAAoB;AAAA,EACzB;AAAA,EACD,gBAAgB;AACf,WAAO,oBAAoB,UAAU,KAAK,kBAAkB;AAAA,EAC5D;AAAA,EACD,SAAS;AAAA,IACR,qBAAqB;AACpB,WAAK,WAAW,SAAS,gBAAgB,cAAc;AAAA,IACvD;AAAA,EACD;AACF,CAAC;AChDD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBA,MAAeC,IAAA;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,UAAU;AAAA,IACV;AAAA,EACD;AAAA,EACD,UAAU;AACT,IAAAH,EAAc,IAAI,WAAW,KAAK,iBAAiB,GACnD,KAAK,WAAWA,EAAc;AAAA,EAC9B;AAAA,EACD,gBAAgB;AACf,IAAAA,EAAc,KAAK,WAAW,KAAK,iBAAiB;AAAA,EACpD;AAAA,EACD,SAAS;AAAA,IACR,kBAAkBE,GAAK;AACtB,WAAK,WAAWA;AAAA,IAChB;AAAA,EACD;AACF;"}
1
+ {"version":3,"file":"isMobile.mjs","sources":["../../src/mixins/isMobile/index.js"],"sourcesContent":["/**\n * @copyright Copyright (c) 2019 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\nimport { isMobileState } from '../../composables/useIsMobile/index.js'\n\nexport default {\n\tcomputed: {\n\t\t/**\n\t\t * @deprecated Is to be removed in v9.0.0 with Vue 3 migration.\n\t\t * Use `composables/useIsMobile` instead.\n\t\t */\n\t\tisMobile() {\n\t\t\treturn isMobileState.value\n\t\t},\n\t},\n}\n"],"names":["index","isMobileState"],"mappings":";AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBA,MAAeA,IAAA;AAAA,EACd,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,IAKT,WAAW;AACV,aAAOC,EAAc;AAAA,IACrB;AAAA,EACD;AACF;"}
@@ -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-5a35ccce] {
23
+ .material-design-icon[data-v-08d15c14] {
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
- .select-group-error[data-v-5a35ccce] {
30
+ .select-group-error[data-v-08d15c14] {
31
31
  color: var(--color-error);
32
32
  font-size: 13px;
33
33
  padding-inline-start: var(--border-radius-large);
@@ -20,7 +20,7 @@
20
20
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
21
  *
22
22
  */
23
- .material-design-icon[data-v-c788d299] {
23
+ .material-design-icon[data-v-34d9a49c] {
24
24
  display: flex;
25
25
  align-self: center;
26
26
  justify-self: center;
@@ -49,12 +49,12 @@
49
49
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
50
50
  *
51
51
  */
52
- li.active[data-v-c788d299] {
52
+ li.active[data-v-34d9a49c] {
53
53
  background-color: var(--color-background-hover);
54
54
  border-radius: 6px;
55
55
  padding: 0;
56
56
  }
57
- .action-text[data-v-c788d299] {
57
+ .action-text[data-v-34d9a49c] {
58
58
  display: flex;
59
59
  align-items: flex-start;
60
60
  width: 100%;
@@ -73,11 +73,11 @@ li.active[data-v-c788d299] {
73
73
  font-size: var(--default-font-size);
74
74
  line-height: 44px;
75
75
  }
76
- .action-text > span[data-v-c788d299] {
76
+ .action-text > span[data-v-34d9a49c] {
77
77
  cursor: pointer;
78
78
  white-space: nowrap;
79
79
  }
80
- .action-text__icon[data-v-c788d299] {
80
+ .action-text__icon[data-v-34d9a49c] {
81
81
  width: 44px;
82
82
  height: 44px;
83
83
  opacity: 1;
@@ -85,16 +85,16 @@ li.active[data-v-c788d299] {
85
85
  background-size: 16px;
86
86
  background-repeat: no-repeat;
87
87
  }
88
- .action-text[data-v-c788d299] .material-design-icon {
88
+ .action-text[data-v-34d9a49c] .material-design-icon {
89
89
  width: 44px;
90
90
  height: 44px;
91
91
  opacity: 1;
92
92
  }
93
- .action-text[data-v-c788d299] .material-design-icon .material-design-icon__svg {
93
+ .action-text[data-v-34d9a49c] .material-design-icon .material-design-icon__svg {
94
94
  vertical-align: middle;
95
95
  }
96
- .action-text__longtext-wrapper[data-v-c788d299],
97
- .action-text__longtext[data-v-c788d299] {
96
+ .action-text__longtext-wrapper[data-v-34d9a49c],
97
+ .action-text__longtext[data-v-34d9a49c] {
98
98
  max-width: 220px;
99
99
  line-height: 1.6em;
100
100
  padding: 10.8px 0;
@@ -103,11 +103,11 @@ li.active[data-v-c788d299] {
103
103
  overflow: hidden;
104
104
  text-overflow: ellipsis;
105
105
  }
106
- .action-text__longtext[data-v-c788d299] {
106
+ .action-text__longtext[data-v-34d9a49c] {
107
107
  cursor: pointer;
108
108
  white-space: pre-wrap !important;
109
109
  }
110
- .action-text__name[data-v-c788d299] {
110
+ .action-text__name[data-v-34d9a49c] {
111
111
  font-weight: 700;
112
112
  text-overflow: ellipsis;
113
113
  overflow: hidden;
@@ -115,23 +115,23 @@ li.active[data-v-c788d299] {
115
115
  max-width: 100%;
116
116
  display: inline-block;
117
117
  }
118
- .action-text__menu-icon[data-v-c788d299] {
118
+ .action-text__menu-icon[data-v-34d9a49c] {
119
119
  margin-left: auto;
120
120
  margin-right: -14px;
121
121
  }
122
- .action--disabled[data-v-c788d299] {
122
+ .action--disabled[data-v-34d9a49c] {
123
123
  pointer-events: none;
124
124
  opacity: .5;
125
125
  }
126
- .action--disabled[data-v-c788d299]:hover,
127
- .action--disabled[data-v-c788d299]:focus {
126
+ .action--disabled[data-v-34d9a49c]:hover,
127
+ .action--disabled[data-v-34d9a49c]:focus {
128
128
  cursor: default;
129
129
  opacity: .5;
130
130
  }
131
- .action--disabled *[data-v-c788d299] {
131
+ .action--disabled *[data-v-34d9a49c] {
132
132
  opacity: 1 !important;
133
133
  }
134
- .action-text[data-v-c788d299],
135
- .action-text span[data-v-c788d299] {
134
+ .action-text[data-v-34d9a49c],
135
+ .action-text span[data-v-34d9a49c] {
136
136
  cursor: default;
137
137
  }
@@ -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-66fbe6db] {
23
+ .material-design-icon[data-v-82b7f2ae] {
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
- .action-separator[data-v-66fbe6db] {
30
+ .action-separator[data-v-82b7f2ae] {
31
31
  height: 0;
32
32
  margin: 5px 10px 5px 15px;
33
33
  border-bottom: 1px solid var(--color-border-dark);
@@ -20,28 +20,28 @@
20
20
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
21
  *
22
22
  */
23
- .material-design-icon[data-v-44bb430a] {
23
+ .material-design-icon[data-v-c9071493] {
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
- .textarea[data-v-44bb430a] {
30
+ .textarea[data-v-c9071493] {
31
31
  position: relative;
32
32
  width: 100%;
33
33
  border-radius: var(--border-radius-large);
34
34
  margin-block-start: 6px;
35
35
  resize: vertical;
36
36
  }
37
- .textarea__main-wrapper[data-v-44bb430a] {
37
+ .textarea__main-wrapper[data-v-c9071493] {
38
38
  position: relative;
39
39
  }
40
- .textarea--disabled[data-v-44bb430a] {
40
+ .textarea--disabled[data-v-c9071493] {
41
41
  opacity: .7;
42
42
  filter: saturate(.7);
43
43
  }
44
- .textarea__input[data-v-44bb430a] {
44
+ .textarea__input[data-v-c9071493] {
45
45
  margin: 0;
46
46
  padding-inline: 10px 6px;
47
47
  width: 100%;
@@ -53,54 +53,55 @@
53
53
  border-radius: var(--border-radius-large);
54
54
  cursor: pointer;
55
55
  }
56
- .textarea__input[data-v-44bb430a]:active:not([disabled]),
57
- .textarea__input[data-v-44bb430a]:hover:not([disabled]),
58
- .textarea__input[data-v-44bb430a]:focus:not([disabled]) {
59
- border-color: var(--color-primary-element);
56
+ .textarea__input[data-v-c9071493]:active:not([disabled]),
57
+ .textarea__input[data-v-c9071493]:hover:not([disabled]),
58
+ .textarea__input[data-v-c9071493]:focus:not([disabled]) {
59
+ border-color: 2px solid var(--color-main-text) !important;
60
+ box-shadow: 0 0 0 2px var(--color-main-background) !important;
60
61
  }
61
- .textarea__input[data-v-44bb430a]:not(:focus, .textarea__input--label-outside)::placeholder {
62
+ .textarea__input[data-v-c9071493]:not(:focus, .textarea__input--label-outside)::placeholder {
62
63
  opacity: 0;
63
64
  }
64
- .textarea__input[data-v-44bb430a]:focus {
65
+ .textarea__input[data-v-c9071493]:focus {
65
66
  cursor: text;
66
67
  }
67
- .textarea__input[data-v-44bb430a]:disabled {
68
+ .textarea__input[data-v-c9071493]:disabled {
68
69
  cursor: default;
69
70
  }
70
- .textarea__input[data-v-44bb430a]:focus-visible {
71
+ .textarea__input[data-v-c9071493]:focus-visible {
71
72
  box-shadow: unset !important;
72
73
  }
73
- .textarea__input--success[data-v-44bb430a] {
74
+ .textarea__input--success[data-v-c9071493] {
74
75
  border-color: var(--color-success) !important;
75
76
  }
76
- .textarea__input--success[data-v-44bb430a]:focus-visible {
77
+ .textarea__input--success[data-v-c9071493]:focus-visible {
77
78
  box-shadow:
78
79
  #f8fafc 0 0 0 2px,
79
80
  var(--color-primary-element) 0 0 0 4px,
80
81
  #0000000d 0 1px 2px;
81
82
  }
82
- .textarea__input--success:focus + .textarea__label[data-v-44bb430a],
83
- .textarea__input--success:hover:not(:placeholder-shown) + .textarea__label[data-v-44bb430a] {
83
+ .textarea__input--success:focus + .textarea__label[data-v-c9071493],
84
+ .textarea__input--success:hover:not(:placeholder-shown) + .textarea__label[data-v-c9071493] {
84
85
  color: var(--color-success-text);
85
86
  }
86
- .textarea__input--error[data-v-44bb430a] {
87
+ .textarea__input--error[data-v-c9071493] {
87
88
  border-color: var(--color-error) !important;
88
89
  }
89
- .textarea__input--error[data-v-44bb430a]:focus-visible {
90
+ .textarea__input--error[data-v-c9071493]:focus-visible {
90
91
  box-shadow:
91
92
  #f8fafc 0 0 0 2px,
92
93
  var(--color-primary-element) 0 0 0 4px,
93
94
  #0000000d 0 1px 2px;
94
95
  }
95
- .textarea__input--error:focus + .textarea__label[data-v-44bb430a],
96
- .textarea__input--error:hover:not(:placeholder-shown) + .textarea__label[data-v-44bb430a] {
96
+ .textarea__input--error:focus + .textarea__label[data-v-c9071493],
97
+ .textarea__input--error:hover:not(:placeholder-shown) + .textarea__label[data-v-c9071493] {
97
98
  color: var(--color-error-text);
98
99
  }
99
- .textarea__input:not(.textarea__input--success, .textarea__input--error):focus + .textarea__label[data-v-44bb430a],
100
- .textarea__input:not(.textarea__input--success, .textarea__input--error):hover:not(:placeholder-shown) + .textarea__label[data-v-44bb430a] {
100
+ .textarea__input:not(.textarea__input--success, .textarea__input--error):focus + .textarea__label[data-v-c9071493],
101
+ .textarea__input:not(.textarea__input--success, .textarea__input--error):hover:not(:placeholder-shown) + .textarea__label[data-v-c9071493] {
101
102
  color: var(--color-primary-element);
102
103
  }
103
- .textarea__label[data-v-44bb430a] {
104
+ .textarea__label[data-v-c9071493] {
104
105
  position: absolute;
105
106
  margin-inline: 12px 0;
106
107
  height: 17px;
@@ -120,8 +121,8 @@
120
121
  color var(--animation-quick),
121
122
  background-color var(--animation-quick) var(--animation-slow);
122
123
  }
123
- .textarea__input:focus + .textarea__label[data-v-44bb430a],
124
- .textarea__input:not(:placeholder-shown) + .textarea__label[data-v-44bb430a] {
124
+ .textarea__input:focus + .textarea__label[data-v-c9071493],
125
+ .textarea__input:not(:placeholder-shown) + .textarea__label[data-v-c9071493] {
125
126
  inset-block-start: -6px;
126
127
  font-size: 13px;
127
128
  background-color: var(--color-main-background);
@@ -134,17 +135,17 @@
134
135
  font-size var(--animation-quick),
135
136
  color var(--animation-quick);
136
137
  }
137
- .textarea__helper-text-message[data-v-44bb430a] {
138
+ .textarea__helper-text-message[data-v-c9071493] {
138
139
  padding-block: 4px;
139
140
  display: flex;
140
141
  align-items: center;
141
142
  }
142
- .textarea__helper-text-message__icon[data-v-44bb430a] {
143
+ .textarea__helper-text-message__icon[data-v-c9071493] {
143
144
  margin-inline-end: 8px;
144
145
  }
145
- .textarea__helper-text-message--error[data-v-44bb430a] {
146
+ .textarea__helper-text-message--error[data-v-c9071493] {
146
147
  color: var(--color-error-text);
147
148
  }
148
- .textarea__helper-text-message--success[data-v-44bb430a] {
149
+ .textarea__helper-text-message--success[data-v-c9071493] {
149
150
  color: var(--color-success-text);
150
151
  }