@nextcloud/vue 8.0.0-beta.9 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/CHANGELOG.md +52 -2
  2. package/dist/Components/NcActionButton.cjs +23 -12
  3. package/dist/Components/NcActionButton.cjs.map +1 -1
  4. package/dist/Components/NcActionButton.mjs +21 -9
  5. package/dist/Components/NcActionButton.mjs.map +1 -1
  6. package/dist/Components/NcActionInput.cjs +1 -1
  7. package/dist/Components/NcActionInput.mjs +1 -1
  8. package/dist/Components/NcActionLink.cjs +1 -1
  9. package/dist/Components/NcActionLink.mjs +1 -1
  10. package/dist/Components/NcActionRouter.cjs +1 -1
  11. package/dist/Components/NcActionRouter.mjs +1 -1
  12. package/dist/Components/NcActionText.cjs +1 -1
  13. package/dist/Components/NcActionText.mjs +1 -1
  14. package/dist/Components/NcActionTextEditable.cjs +10 -10
  15. package/dist/Components/NcActionTextEditable.cjs.map +1 -1
  16. package/dist/Components/NcActionTextEditable.mjs +1 -1
  17. package/dist/Components/NcActions.cjs +55 -52
  18. package/dist/Components/NcActions.cjs.map +1 -1
  19. package/dist/Components/NcActions.mjs +44 -41
  20. package/dist/Components/NcActions.mjs.map +1 -1
  21. package/dist/Components/NcAppContent.cjs +19 -20
  22. package/dist/Components/NcAppContent.cjs.map +1 -1
  23. package/dist/Components/NcAppContent.mjs +8 -8
  24. package/dist/Components/NcAppContent.mjs.map +1 -1
  25. package/dist/Components/NcAppNavigation.cjs +58 -27
  26. package/dist/Components/NcAppNavigation.cjs.map +1 -1
  27. package/dist/Components/NcAppNavigation.mjs +67 -34
  28. package/dist/Components/NcAppNavigation.mjs.map +1 -1
  29. package/dist/Components/NcAppNavigationItem.cjs +166 -62
  30. package/dist/Components/NcAppNavigationItem.cjs.map +1 -1
  31. package/dist/Components/NcAppNavigationItem.mjs +145 -43
  32. package/dist/Components/NcAppNavigationItem.mjs.map +1 -1
  33. package/dist/Components/NcAppNavigationNew.cjs +6 -6
  34. package/dist/Components/NcAppNavigationNew.cjs.map +1 -1
  35. package/dist/Components/NcAppNavigationNew.mjs +17 -17
  36. package/dist/Components/NcAppNavigationNew.mjs.map +1 -1
  37. package/dist/Components/NcAppNavigationNewItem.cjs +7 -7
  38. package/dist/Components/NcAppNavigationNewItem.cjs.map +1 -1
  39. package/dist/Components/NcAppNavigationNewItem.mjs +5 -5
  40. package/dist/Components/NcAppNavigationNewItem.mjs.map +1 -1
  41. package/dist/Components/NcAppNavigationSettings.cjs +46 -14
  42. package/dist/Components/NcAppNavigationSettings.cjs.map +1 -1
  43. package/dist/Components/NcAppNavigationSettings.mjs +48 -16
  44. package/dist/Components/NcAppNavigationSettings.mjs.map +1 -1
  45. package/dist/Components/NcAppNavigationToggle.cjs +1 -1
  46. package/dist/Components/NcAppNavigationToggle.mjs +1 -1
  47. package/dist/Components/NcAppSettingsDialog.cjs +75 -54
  48. package/dist/Components/NcAppSettingsDialog.cjs.map +1 -1
  49. package/dist/Components/NcAppSettingsDialog.mjs +79 -57
  50. package/dist/Components/NcAppSettingsDialog.mjs.map +1 -1
  51. package/dist/Components/NcAppSettingsSection.cjs +29 -10
  52. package/dist/Components/NcAppSettingsSection.cjs.map +1 -1
  53. package/dist/Components/NcAppSettingsSection.mjs +29 -10
  54. package/dist/Components/NcAppSettingsSection.mjs.map +1 -1
  55. package/dist/Components/NcAppSidebar.cjs +99 -33
  56. package/dist/Components/NcAppSidebar.cjs.map +1 -1
  57. package/dist/Components/NcAppSidebar.mjs +156 -92
  58. package/dist/Components/NcAppSidebar.mjs.map +1 -1
  59. package/dist/Components/NcAppSidebarTab.cjs +7 -7
  60. package/dist/Components/NcAppSidebarTab.cjs.map +1 -1
  61. package/dist/Components/NcAppSidebarTab.mjs +6 -6
  62. package/dist/Components/NcAppSidebarTab.mjs.map +1 -1
  63. package/dist/Components/NcAvatar.cjs +1 -1
  64. package/dist/Components/NcAvatar.mjs +1 -1
  65. package/dist/Components/NcBreadcrumb.cjs +10 -10
  66. package/dist/Components/NcBreadcrumb.cjs.map +1 -1
  67. package/dist/Components/NcBreadcrumb.mjs +1 -1
  68. package/dist/Components/NcBreadcrumbs.cjs +85 -53
  69. package/dist/Components/NcBreadcrumbs.cjs.map +1 -1
  70. package/dist/Components/NcBreadcrumbs.mjs +91 -60
  71. package/dist/Components/NcBreadcrumbs.mjs.map +1 -1
  72. package/dist/Components/NcButton.cjs +25 -25
  73. package/dist/Components/NcButton.cjs.map +1 -1
  74. package/dist/Components/NcButton.mjs +25 -25
  75. package/dist/Components/NcButton.mjs.map +1 -1
  76. package/dist/Components/NcCheckboxRadioSwitch.cjs +305 -67
  77. package/dist/Components/NcCheckboxRadioSwitch.cjs.map +1 -1
  78. package/dist/Components/NcCheckboxRadioSwitch.mjs +307 -75
  79. package/dist/Components/NcCheckboxRadioSwitch.mjs.map +1 -1
  80. package/dist/Components/NcColorPicker.cjs +18 -18
  81. package/dist/Components/NcColorPicker.cjs.map +1 -1
  82. package/dist/Components/NcColorPicker.mjs +17 -17
  83. package/dist/Components/NcColorPicker.mjs.map +1 -1
  84. package/dist/Components/NcCounterBubble.cjs +6 -6
  85. package/dist/Components/NcCounterBubble.cjs.map +1 -1
  86. package/dist/Components/NcCounterBubble.mjs +2 -2
  87. package/dist/Components/NcCounterBubble.mjs.map +1 -1
  88. package/dist/Components/NcDashboardWidget.cjs +30 -30
  89. package/dist/Components/NcDashboardWidget.cjs.map +1 -1
  90. package/dist/Components/NcDashboardWidget.mjs +3 -3
  91. package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
  92. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  93. package/dist/Components/NcDateTime.cjs +1 -1
  94. package/dist/Components/NcDateTime.mjs +1 -1
  95. package/dist/Components/NcDateTimePicker.cjs +109 -44
  96. package/dist/Components/NcDateTimePicker.cjs.map +1 -1
  97. package/dist/Components/NcDateTimePicker.mjs +115 -52
  98. package/dist/Components/NcDateTimePicker.mjs.map +1 -1
  99. package/dist/Components/NcDateTimePickerNative.cjs +1 -1
  100. package/dist/Components/NcDateTimePickerNative.mjs +1 -1
  101. package/dist/Components/NcDialogButton.cjs +11 -11
  102. package/dist/Components/NcDialogButton.cjs.map +1 -1
  103. package/dist/Components/NcDialogButton.mjs +14 -14
  104. package/dist/Components/NcDialogButton.mjs.map +1 -1
  105. package/dist/Components/NcEmojiPicker.cjs +1 -1
  106. package/dist/Components/NcEmojiPicker.mjs +1 -1
  107. package/dist/Components/NcEmptyContent.cjs +14 -14
  108. package/dist/Components/NcEmptyContent.cjs.map +1 -1
  109. package/dist/Components/NcEmptyContent.mjs +7 -7
  110. package/dist/Components/NcEmptyContent.mjs.map +1 -1
  111. package/dist/Components/NcInputField.cjs +16 -16
  112. package/dist/Components/NcInputField.cjs.map +1 -1
  113. package/dist/Components/NcInputField.mjs +5 -5
  114. package/dist/Components/NcInputField.mjs.map +1 -1
  115. package/dist/Components/NcListItem.cjs +3 -3
  116. package/dist/Components/NcListItem.cjs.map +1 -1
  117. package/dist/Components/NcListItem.mjs +3 -3
  118. package/dist/Components/NcListItem.mjs.map +1 -1
  119. package/dist/Components/NcListItemIcon.cjs +1 -1
  120. package/dist/Components/NcListItemIcon.mjs +1 -1
  121. package/dist/Components/NcModal.cjs +165 -68
  122. package/dist/Components/NcModal.cjs.map +1 -1
  123. package/dist/Components/NcModal.mjs +129 -35
  124. package/dist/Components/NcModal.mjs.map +1 -1
  125. package/dist/Components/NcNoteCard.cjs +146 -18
  126. package/dist/Components/NcNoteCard.cjs.map +1 -1
  127. package/dist/Components/NcNoteCard.mjs +146 -21
  128. package/dist/Components/NcNoteCard.mjs.map +1 -1
  129. package/dist/Components/NcPasswordField.cjs +84 -20
  130. package/dist/Components/NcPasswordField.cjs.map +1 -1
  131. package/dist/Components/NcPasswordField.mjs +104 -42
  132. package/dist/Components/NcPasswordField.mjs.map +1 -1
  133. package/dist/Components/NcRelatedResourcesPanel.cjs +48 -31
  134. package/dist/Components/NcRelatedResourcesPanel.cjs.map +1 -1
  135. package/dist/Components/NcRelatedResourcesPanel.mjs +31 -14
  136. package/dist/Components/NcRelatedResourcesPanel.mjs.map +1 -1
  137. package/dist/Components/NcRichContenteditable.cjs +22 -18
  138. package/dist/Components/NcRichContenteditable.cjs.map +1 -1
  139. package/dist/Components/NcRichContenteditable.mjs +32 -28
  140. package/dist/Components/NcRichContenteditable.mjs.map +1 -1
  141. package/dist/Components/NcRichText.cjs +1 -1
  142. package/dist/Components/NcRichText.mjs +3 -3
  143. package/dist/Components/NcSelect.cjs +80 -57
  144. package/dist/Components/NcSelect.cjs.map +1 -1
  145. package/dist/Components/NcSelect.mjs +75 -50
  146. package/dist/Components/NcSelect.mjs.map +1 -1
  147. package/dist/Components/NcSelectTags.cjs +2 -2
  148. package/dist/Components/NcSelectTags.cjs.map +1 -1
  149. package/dist/Components/NcSelectTags.mjs +4 -4
  150. package/dist/Components/NcSelectTags.mjs.map +1 -1
  151. package/dist/Components/NcSettingsInputText.cjs +1 -1
  152. package/dist/Components/NcSettingsInputText.mjs +1 -1
  153. package/dist/Components/NcSettingsSection.cjs +46 -14
  154. package/dist/Components/NcSettingsSection.cjs.map +1 -1
  155. package/dist/Components/NcSettingsSection.mjs +44 -12
  156. package/dist/Components/NcSettingsSection.mjs.map +1 -1
  157. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  158. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  159. package/dist/Components/NcTextArea.cjs +14 -14
  160. package/dist/Components/NcTextArea.cjs.map +1 -1
  161. package/dist/Components/NcTextArea.mjs +6 -6
  162. package/dist/Components/NcTextArea.mjs.map +1 -1
  163. package/dist/Components/NcTextField.cjs +51 -19
  164. package/dist/Components/NcTextField.cjs.map +1 -1
  165. package/dist/Components/NcTextField.mjs +59 -28
  166. package/dist/Components/NcTextField.mjs.map +1 -1
  167. package/dist/Components/NcTimezonePicker.cjs +32 -24
  168. package/dist/Components/NcTimezonePicker.cjs.map +1 -1
  169. package/dist/Components/NcTimezonePicker.mjs +36 -27
  170. package/dist/Components/NcTimezonePicker.mjs.map +1 -1
  171. package/dist/Components/NcUserBubble.cjs +24 -20
  172. package/dist/Components/NcUserBubble.cjs.map +1 -1
  173. package/dist/Components/NcUserBubble.mjs +25 -20
  174. package/dist/Components/NcUserBubble.mjs.map +1 -1
  175. package/dist/assets/{NcAppNavigationToggle-2cc5b864.css → NcAppNavigationToggle-9e170630.css} +3 -2
  176. package/dist/assets/{NcInputConfirmCancel-2ba60a52.css → NcInputConfirmCancel-45d1d76b.css} +7 -7
  177. package/dist/assets/{index-af72a30b.css → index-05760fea.css} +5 -1
  178. package/dist/assets/{index-30e099f7.css → index-0ac09203.css} +3 -3
  179. package/dist/assets/{index-eea65531.css → index-0e9b11c7.css} +20 -16
  180. package/dist/assets/{index-7813bab3.css → index-17673ea1.css} +7 -9
  181. package/dist/assets/{index-1151d229.css → index-1f25a3c0.css} +3 -3
  182. package/dist/assets/{index-9dcf6260.css → index-2e5e3b55.css} +30 -30
  183. package/dist/assets/{index-ed4adf1d.css → index-4271da53.css} +18 -17
  184. package/dist/assets/{index-abb90c97.css → index-4e03d941.css} +48 -48
  185. package/dist/assets/{index-4b75fe20.css → index-55600948.css} +11 -11
  186. package/dist/assets/{index-236620b0.css → index-6899d75b.css} +29 -29
  187. package/dist/assets/{index-5ee8a575.css → index-73ded07b.css} +63 -63
  188. package/dist/assets/{index-1beccc92.css → index-750c02cc.css} +28 -10
  189. package/dist/assets/{index-9e9587e1.css → index-77a548be.css} +4 -4
  190. package/dist/assets/{index-c5ae3bc4.css → index-7d211db9.css} +11 -11
  191. package/dist/assets/{index-8304db49.css → index-802d2118.css} +5 -1
  192. package/dist/assets/{index-a2d55f92.css → index-9176105d.css} +41 -41
  193. package/dist/assets/index-93bc89ef.css +197 -0
  194. package/dist/assets/{index-50b0766d.css → index-a0532427.css} +55 -70
  195. package/dist/assets/{index-e828b286.css → index-ab715d82.css} +4 -4
  196. package/dist/assets/{index-9e44e336.css → index-c221fe05.css} +9 -9
  197. package/dist/assets/{index-c6f0da2e.css → index-c239a2fc.css} +14 -8
  198. package/dist/assets/{index-73867d38.css → index-d3702c91.css} +5 -1
  199. package/dist/assets/{index-4a775ba1.css → index-d812ed9e.css} +43 -43
  200. package/dist/assets/{index-793eae6b.css → index-d9ae9479.css} +6 -6
  201. package/dist/assets/{index-f85aa003.css → index-db5a8b1c.css} +22 -10
  202. package/dist/assets/{index-574438d6.css → index-dea0aef3.css} +10 -10
  203. package/dist/assets/{index-0adc989c.css → index-ebbb7829.css} +9 -13
  204. package/dist/assets/{index-c06ad941.css → index-fbc0b606.css} +58 -42
  205. package/dist/chunks/AlertCircleOutline-7085c10f.cjs +35 -0
  206. package/dist/chunks/AlertCircleOutline-7085c10f.cjs.map +1 -0
  207. package/dist/chunks/AlertCircleOutline-b73838e0.mjs +37 -0
  208. package/dist/chunks/AlertCircleOutline-b73838e0.mjs.map +1 -0
  209. package/dist/chunks/ArrowLeft-2f9b9323.cjs +35 -0
  210. package/dist/chunks/ArrowLeft-2f9b9323.cjs.map +1 -0
  211. package/dist/chunks/ArrowLeft-3779ba88.mjs +37 -0
  212. package/dist/chunks/ArrowLeft-3779ba88.mjs.map +1 -0
  213. package/dist/chunks/ArrowRight-7315f6c1.cjs +35 -0
  214. package/dist/chunks/ArrowRight-7315f6c1.cjs.map +1 -0
  215. package/dist/chunks/ArrowRight-74a9fcb2.mjs +37 -0
  216. package/dist/chunks/ArrowRight-74a9fcb2.mjs.map +1 -0
  217. package/dist/chunks/Check-2ea0a88a.mjs +37 -0
  218. package/dist/chunks/Check-2ea0a88a.mjs.map +1 -0
  219. package/dist/chunks/Check-be8cd6af.cjs +35 -0
  220. package/dist/chunks/Check-be8cd6af.cjs.map +1 -0
  221. package/dist/chunks/ChevronDown-a72d365d.mjs +37 -0
  222. package/dist/chunks/ChevronDown-a72d365d.mjs.map +1 -0
  223. package/dist/chunks/ChevronDown-dc32e51d.cjs +35 -0
  224. package/dist/chunks/ChevronDown-dc32e51d.cjs.map +1 -0
  225. package/dist/chunks/ChevronRight-1a6a6cf2.mjs +37 -0
  226. package/dist/chunks/ChevronRight-1a6a6cf2.mjs.map +1 -0
  227. package/dist/chunks/ChevronRight-a4c1e0d3.cjs +35 -0
  228. package/dist/chunks/ChevronRight-a4c1e0d3.cjs.map +1 -0
  229. package/dist/chunks/Close-271f72e2.mjs +37 -0
  230. package/dist/chunks/Close-271f72e2.mjs.map +1 -0
  231. package/dist/chunks/Close-98cb6f12.cjs +35 -0
  232. package/dist/chunks/Close-98cb6f12.cjs.map +1 -0
  233. package/dist/chunks/DotsHorizontal-0ee7d901.mjs +37 -0
  234. package/dist/chunks/DotsHorizontal-0ee7d901.mjs.map +1 -0
  235. package/dist/chunks/DotsHorizontal-ac96129a.cjs +35 -0
  236. package/dist/chunks/DotsHorizontal-ac96129a.cjs.map +1 -0
  237. package/dist/chunks/NcAppNavigationToggle-60664a28.cjs +113 -0
  238. package/dist/chunks/NcAppNavigationToggle-60664a28.cjs.map +1 -0
  239. package/dist/chunks/NcAppNavigationToggle-82764816.mjs +118 -0
  240. package/dist/chunks/NcAppNavigationToggle-82764816.mjs.map +1 -0
  241. package/dist/chunks/NcInputConfirmCancel-262d455f.cjs +90 -0
  242. package/dist/chunks/{NcInputConfirmCancel-44052477.mjs.map → NcInputConfirmCancel-262d455f.cjs.map} +1 -1
  243. package/dist/chunks/{NcInputConfirmCancel-44052477.mjs → NcInputConfirmCancel-906c7816.mjs} +11 -11
  244. package/dist/chunks/{NcInputConfirmCancel-6bea0fdc.cjs.map → NcInputConfirmCancel-906c7816.mjs.map} +1 -1
  245. package/dist/chunks/{NcRichText-8fda53c8.mjs → NcRichText-1e8fd02d.mjs} +1 -1
  246. package/dist/chunks/{NcRichText-8fda53c8.mjs.map → NcRichText-1e8fd02d.mjs.map} +1 -1
  247. package/dist/chunks/{NcRichText-332fe454.cjs → NcRichText-ae95c854.cjs} +1 -1
  248. package/dist/chunks/{NcRichText-332fe454.cjs.map → NcRichText-ae95c854.cjs.map} +1 -1
  249. package/dist/chunks/{NcSettingsSelectGroup-fdd3309c.mjs → NcSettingsSelectGroup-ae323579.mjs} +2 -2
  250. package/dist/chunks/{NcSettingsSelectGroup-fdd3309c.mjs.map → NcSettingsSelectGroup-ae323579.mjs.map} +1 -1
  251. package/dist/chunks/{NcSettingsSelectGroup-a5ff8c36.cjs → NcSettingsSelectGroup-e8f9f9fe.cjs} +1 -1
  252. package/dist/chunks/{NcSettingsSelectGroup-a5ff8c36.cjs.map → NcSettingsSelectGroup-e8f9f9fe.cjs.map} +1 -1
  253. package/dist/chunks/{ScopeComponent-9519afcc.mjs → ScopeComponent-1ab1ebb9.mjs} +1 -1
  254. package/dist/chunks/{ScopeComponent-9519afcc.mjs.map → ScopeComponent-1ab1ebb9.mjs.map} +1 -1
  255. package/dist/chunks/{ScopeComponent-e060526a.cjs → ScopeComponent-50287dad.cjs} +1 -1
  256. package/dist/chunks/{ScopeComponent-e060526a.cjs.map → ScopeComponent-50287dad.cjs.map} +1 -1
  257. package/dist/chunks/{index-032137a6.cjs → index-e06b96d3.cjs} +56 -47
  258. package/dist/chunks/index-e06b96d3.cjs.map +1 -0
  259. package/dist/chunks/{index-fb2ee22c.mjs → index-fbf943b3.mjs} +93 -84
  260. package/dist/chunks/index-fbf943b3.mjs.map +1 -0
  261. package/dist/chunks/{l10n-9aa6482d.mjs → l10n-9fc9974f.mjs} +1 -1
  262. package/dist/chunks/{l10n-9aa6482d.mjs.map → l10n-9fc9974f.mjs.map} +1 -1
  263. package/dist/chunks/{l10n-c7bd0ea6.cjs → l10n-ec2d3010.cjs} +1 -1
  264. package/dist/chunks/{l10n-c7bd0ea6.cjs.map → l10n-ec2d3010.cjs.map} +1 -1
  265. package/dist/chunks/l10n-f491109d.cjs +29 -0
  266. package/dist/chunks/l10n-f491109d.cjs.map +1 -0
  267. package/dist/chunks/l10n-f692947e.mjs +31 -0
  268. package/dist/chunks/l10n-f692947e.mjs.map +1 -0
  269. package/dist/chunks/{referencePickerModal-443a4c57.mjs → referencePickerModal-6bc8f6b9.mjs} +156 -124
  270. package/dist/chunks/referencePickerModal-6bc8f6b9.mjs.map +1 -0
  271. package/dist/chunks/{referencePickerModal-279a483d.cjs → referencePickerModal-e033bf2c.cjs} +144 -111
  272. package/dist/chunks/referencePickerModal-e033bf2c.cjs.map +1 -0
  273. package/dist/index.cjs +4 -8
  274. package/dist/index.cjs.map +1 -1
  275. package/dist/index.mjs +26 -30
  276. package/dist/index.mjs.map +1 -1
  277. package/dist/vendor.LICENSE.txt +5 -1
  278. package/package.json +3 -3
  279. package/dist/assets/index-d646553d.css +0 -41
  280. package/dist/chunks/NcAppNavigationToggle-841d3015.cjs +0 -49
  281. package/dist/chunks/NcAppNavigationToggle-841d3015.cjs.map +0 -1
  282. package/dist/chunks/NcAppNavigationToggle-e358aa47.mjs +0 -55
  283. package/dist/chunks/NcAppNavigationToggle-e358aa47.mjs.map +0 -1
  284. package/dist/chunks/NcInputConfirmCancel-6bea0fdc.cjs +0 -90
  285. package/dist/chunks/index-032137a6.cjs.map +0 -1
  286. package/dist/chunks/index-fb2ee22c.mjs.map +0 -1
  287. package/dist/chunks/l10n-05a09c66.mjs +0 -31
  288. package/dist/chunks/l10n-05a09c66.mjs.map +0 -1
  289. package/dist/chunks/l10n-b1d264c7.cjs +0 -29
  290. package/dist/chunks/l10n-b1d264c7.cjs.map +0 -1
  291. package/dist/chunks/referencePickerModal-279a483d.cjs.map +0 -1
  292. package/dist/chunks/referencePickerModal-443a4c57.mjs.map +0 -1
@@ -1,19 +1,237 @@
1
- import "../assets/index-c06ad941.css";
2
- import c from "vue-material-design-icons/CheckboxBlankOutline.vue";
3
- import l from "vue-material-design-icons/MinusBox.vue";
4
- import u from "vue-material-design-icons/CheckboxMarked.vue";
5
- import d from "vue-material-design-icons/RadioboxMarked.vue";
6
- import h from "vue-material-design-icons/RadioboxBlank.vue";
7
- import p from "vue-material-design-icons/ToggleSwitchOff.vue";
8
- import f from "vue-material-design-icons/ToggleSwitch.vue";
9
- import m from "./NcLoadingIcon.mjs";
1
+ import "../assets/index-fbc0b606.css";
10
2
  import { n as s } from "../chunks/_plugin-vue2_normalizer-71e2aa87.mjs";
11
- import { G as y } from "../chunks/GenRandomId-cb9ccebe.mjs";
12
- import { l as _ } from "../chunks/l10n-9aa6482d.mjs";
13
- const b = {
3
+ import c from "./NcLoadingIcon.mjs";
4
+ import { G as u } from "../chunks/GenRandomId-cb9ccebe.mjs";
5
+ import { l as d } from "../chunks/l10n-9fc9974f.mjs";
6
+ const _ = {
7
+ name: "CheckboxBlankOutlineIcon",
8
+ emits: ["click"],
9
+ props: {
10
+ title: {
11
+ type: String
12
+ },
13
+ fillColor: {
14
+ type: String,
15
+ default: "currentColor"
16
+ },
17
+ size: {
18
+ type: Number,
19
+ default: 24
20
+ }
21
+ }
22
+ };
23
+ var p = function() {
24
+ var t = this, e = t._self._c;
25
+ return e("span", t._b({ staticClass: "material-design-icon checkbox-blank-outline-icon", attrs: { "aria-hidden": !t.title, "aria-label": t.title, role: "img" }, on: { click: function(n) {
26
+ return t.$emit("click", n);
27
+ } } }, "span", t.$attrs, !1), [e("svg", { staticClass: "material-design-icon__svg", attrs: { fill: t.fillColor, width: t.size, height: t.size, viewBox: "0 0 24 24" } }, [e("path", { attrs: { d: "M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z" } }, [t.title ? e("title", [t._v(t._s(t.title))]) : t._e()])])]);
28
+ }, h = [], f = /* @__PURE__ */ s(
29
+ _,
30
+ p,
31
+ h,
32
+ !1,
33
+ null,
34
+ null,
35
+ null,
36
+ null
37
+ );
38
+ const m = f.exports, g = {
39
+ name: "MinusBoxIcon",
40
+ emits: ["click"],
41
+ props: {
42
+ title: {
43
+ type: String
44
+ },
45
+ fillColor: {
46
+ type: String,
47
+ default: "currentColor"
48
+ },
49
+ size: {
50
+ type: Number,
51
+ default: 24
52
+ }
53
+ }
54
+ };
55
+ var b = function() {
56
+ var t = this, e = t._self._c;
57
+ return e("span", t._b({ staticClass: "material-design-icon minus-box-icon", attrs: { "aria-hidden": !t.title, "aria-label": t.title, role: "img" }, on: { click: function(n) {
58
+ return t.$emit("click", n);
59
+ } } }, "span", t.$attrs, !1), [e("svg", { staticClass: "material-design-icon__svg", attrs: { fill: t.fillColor, width: t.size, height: t.size, viewBox: "0 0 24 24" } }, [e("path", { attrs: { d: "M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z" } }, [t.title ? e("title", [t._v(t._s(t.title))]) : t._e()])])]);
60
+ }, k = [], v = /* @__PURE__ */ s(
61
+ g,
62
+ b,
63
+ k,
64
+ !1,
65
+ null,
66
+ null,
67
+ null,
68
+ null
69
+ );
70
+ const y = v.exports, C = {
71
+ name: "CheckboxMarkedIcon",
72
+ emits: ["click"],
73
+ props: {
74
+ title: {
75
+ type: String
76
+ },
77
+ fillColor: {
78
+ type: String,
79
+ default: "currentColor"
80
+ },
81
+ size: {
82
+ type: Number,
83
+ default: 24
84
+ }
85
+ }
86
+ };
87
+ var x = function() {
88
+ var t = this, e = t._self._c;
89
+ return e("span", t._b({ staticClass: "material-design-icon checkbox-marked-icon", attrs: { "aria-hidden": !t.title, "aria-label": t.title, role: "img" }, on: { click: function(n) {
90
+ return t.$emit("click", n);
91
+ } } }, "span", t.$attrs, !1), [e("svg", { staticClass: "material-design-icon__svg", attrs: { fill: t.fillColor, width: t.size, height: t.size, viewBox: "0 0 24 24" } }, [e("path", { attrs: { d: "M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z" } }, [t.title ? e("title", [t._v(t._s(t.title))]) : t._e()])])]);
92
+ }, w = [], $ = /* @__PURE__ */ s(
93
+ C,
94
+ x,
95
+ w,
96
+ !1,
97
+ null,
98
+ null,
99
+ null,
100
+ null
101
+ );
102
+ const A = $.exports, S = {
103
+ name: "RadioboxMarkedIcon",
104
+ emits: ["click"],
105
+ props: {
106
+ title: {
107
+ type: String
108
+ },
109
+ fillColor: {
110
+ type: String,
111
+ default: "currentColor"
112
+ },
113
+ size: {
114
+ type: Number,
115
+ default: 24
116
+ }
117
+ }
118
+ };
119
+ var B = function() {
120
+ var t = this, e = t._self._c;
121
+ return e("span", t._b({ staticClass: "material-design-icon radiobox-marked-icon", attrs: { "aria-hidden": !t.title, "aria-label": t.title, role: "img" }, on: { click: function(n) {
122
+ return t.$emit("click", n);
123
+ } } }, "span", t.$attrs, !1), [e("svg", { staticClass: "material-design-icon__svg", attrs: { fill: t.fillColor, width: t.size, height: t.size, viewBox: "0 0 24 24" } }, [e("path", { attrs: { d: "M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z" } }, [t.title ? e("title", [t._v(t._s(t.title))]) : t._e()])])]);
124
+ }, z = [], T = /* @__PURE__ */ s(
125
+ S,
126
+ B,
127
+ z,
128
+ !1,
129
+ null,
130
+ null,
131
+ null,
132
+ null
133
+ );
134
+ const V = T.exports, M = {
135
+ name: "RadioboxBlankIcon",
136
+ emits: ["click"],
137
+ props: {
138
+ title: {
139
+ type: String
140
+ },
141
+ fillColor: {
142
+ type: String,
143
+ default: "currentColor"
144
+ },
145
+ size: {
146
+ type: Number,
147
+ default: 24
148
+ }
149
+ }
150
+ };
151
+ var R = function() {
152
+ var t = this, e = t._self._c;
153
+ return e("span", t._b({ staticClass: "material-design-icon radiobox-blank-icon", attrs: { "aria-hidden": !t.title, "aria-label": t.title, role: "img" }, on: { click: function(n) {
154
+ return t.$emit("click", n);
155
+ } } }, "span", t.$attrs, !1), [e("svg", { staticClass: "material-design-icon__svg", attrs: { fill: t.fillColor, width: t.size, height: t.size, viewBox: "0 0 24 24" } }, [e("path", { attrs: { d: "M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" } }, [t.title ? e("title", [t._v(t._s(t.title))]) : t._e()])])]);
156
+ }, N = [], E = /* @__PURE__ */ s(
157
+ M,
158
+ R,
159
+ N,
160
+ !1,
161
+ null,
162
+ null,
163
+ null,
164
+ null
165
+ );
166
+ const I = E.exports, H = {
167
+ name: "ToggleSwitchOffIcon",
168
+ emits: ["click"],
169
+ props: {
170
+ title: {
171
+ type: String
172
+ },
173
+ fillColor: {
174
+ type: String,
175
+ default: "currentColor"
176
+ },
177
+ size: {
178
+ type: Number,
179
+ default: 24
180
+ }
181
+ }
182
+ };
183
+ var O = function() {
184
+ var t = this, e = t._self._c;
185
+ return e("span", t._b({ staticClass: "material-design-icon toggle-switch-off-icon", attrs: { "aria-hidden": !t.title, "aria-label": t.title, role: "img" }, on: { click: function(n) {
186
+ return t.$emit("click", n);
187
+ } } }, "span", t.$attrs, !1), [e("svg", { staticClass: "material-design-icon__svg", attrs: { fill: t.fillColor, width: t.size, height: t.size, viewBox: "0 0 24 24" } }, [e("path", { attrs: { d: "M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M7,15A3,3 0 0,1 4,12A3,3 0 0,1 7,9A3,3 0 0,1 10,12A3,3 0 0,1 7,15Z" } }, [t.title ? e("title", [t._v(t._s(t.title))]) : t._e()])])]);
188
+ }, F = [], P = /* @__PURE__ */ s(
189
+ H,
190
+ O,
191
+ F,
192
+ !1,
193
+ null,
194
+ null,
195
+ null,
196
+ null
197
+ );
198
+ const L = P.exports, Z = {
199
+ name: "ToggleSwitchIcon",
200
+ emits: ["click"],
201
+ props: {
202
+ title: {
203
+ type: String
204
+ },
205
+ fillColor: {
206
+ type: String,
207
+ default: "currentColor"
208
+ },
209
+ size: {
210
+ type: Number,
211
+ default: 24
212
+ }
213
+ }
214
+ };
215
+ var G = function() {
216
+ var t = this, e = t._self._c;
217
+ return e("span", t._b({ staticClass: "material-design-icon toggle-switch-icon", attrs: { "aria-hidden": !t.title, "aria-label": t.title, role: "img" }, on: { click: function(n) {
218
+ return t.$emit("click", n);
219
+ } } }, "span", t.$attrs, !1), [e("svg", { staticClass: "material-design-icon__svg", attrs: { fill: t.fillColor, width: t.size, height: t.size, viewBox: "0 0 24 24" } }, [e("path", { attrs: { d: "M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z" } }, [t.title ? e("title", [t._v(t._s(t.title))]) : t._e()])])]);
220
+ }, W = [], Y = /* @__PURE__ */ s(
221
+ Z,
222
+ G,
223
+ W,
224
+ !1,
225
+ null,
226
+ null,
227
+ null,
228
+ null
229
+ );
230
+ const q = Y.exports;
231
+ const r = "checkbox", l = "radio", a = "switch", o = "button", j = {
14
232
  name: "NcCheckboxContent",
15
233
  components: {
16
- NcLoadingIcon: m
234
+ NcLoadingIcon: c
17
235
  },
18
236
  props: {
19
237
  /**
@@ -46,12 +264,12 @@ const b = {
46
264
  type: {
47
265
  type: String,
48
266
  default: "checkbox",
49
- validator: (t) => [
50
- o,
267
+ validator: (i) => [
51
268
  r,
52
- i,
53
- a
54
- ].includes(t)
269
+ l,
270
+ a,
271
+ o
272
+ ].includes(i)
55
273
  },
56
274
  /**
57
275
  * Toggle the alternative button style
@@ -67,6 +285,13 @@ const b = {
67
285
  type: Boolean,
68
286
  default: !1
69
287
  },
288
+ /**
289
+ * Indeterminate state
290
+ */
291
+ indeterminate: {
292
+ type: Boolean,
293
+ default: !1
294
+ },
70
295
  /**
71
296
  * Loading state
72
297
  */
@@ -84,7 +309,7 @@ const b = {
84
309
  },
85
310
  computed: {
86
311
  isButtonType() {
87
- return this.type === a;
312
+ return this.type === o;
88
313
  },
89
314
  wrapperElement() {
90
315
  return this.isButtonType ? "span" : "label";
@@ -95,40 +320,47 @@ const b = {
95
320
  * @return {object}
96
321
  */
97
322
  checkboxRadioIconElement() {
98
- return this.type === r ? this.isChecked ? d : h : this.type === i ? this.isChecked ? f : p : this.indeterminate ? l : this.isChecked ? u : c;
323
+ return this.type === l ? this.isChecked ? V : I : this.type === a ? this.isChecked ? q : L : this.indeterminate ? y : this.isChecked ? A : m;
99
324
  }
100
325
  }
101
326
  };
102
- var k = function() {
103
- var e = this, n = e._self._c;
104
- return n(e.wrapperElement, { tag: "component", staticClass: "checkbox-content", attrs: { for: e.isButtonType ? null : e.id } }, [n("span", { class: ["checkbox-content__icon", e.iconClass], attrs: { "aria-hidden": !0 } }, [e._t("icon", function() {
105
- return [e.loading ? n("NcLoadingIcon") : e.buttonVariant ? e._e() : n(e.checkboxRadioIconElement, { tag: "component", attrs: { size: e.size } })];
106
- }, { checked: e.isChecked, loading: e.loading })], 2), n("span", { class: ["checkbox-content__text", e.textClass] }, [e._t("default")], 2)]);
107
- }, x = [], g = /* @__PURE__ */ s(
108
- b,
109
- k,
110
- x,
327
+ var D = function() {
328
+ var t = this, e = t._self._c;
329
+ return e(t.wrapperElement, { tag: "component", staticClass: "checkbox-content", class: {
330
+ ["checkbox-content-" + t.type]: !0,
331
+ "checkbox-content--button-variant": t.buttonVariant
332
+ }, attrs: { for: t.isButtonType ? null : t.id } }, [e("span", { class: {
333
+ "checkbox-content__icon": !0,
334
+ "checkbox-content__icon--checked": t.isChecked,
335
+ [t.iconClass]: !0
336
+ }, attrs: { "aria-hidden": !0 } }, [t._t("icon", function() {
337
+ return [t.loading ? e("NcLoadingIcon") : t.buttonVariant ? t._e() : e(t.checkboxRadioIconElement, { tag: "component", attrs: { size: t.size } })];
338
+ }, { checked: t.isChecked, loading: t.loading })], 2), e("span", { class: ["checkbox-content__text", t.textClass] }, [t._t("default")], 2)]);
339
+ }, K = [], U = /* @__PURE__ */ s(
340
+ j,
341
+ D,
342
+ K,
111
343
  !1,
112
344
  null,
113
- "ad1f8733",
345
+ "af4ec574",
114
346
  null,
115
347
  null
116
348
  );
117
- const v = g.exports;
118
- const o = "checkbox", r = "radio", i = "switch", a = "button", w = {
349
+ const X = U.exports;
350
+ const J = {
119
351
  name: "NcCheckboxRadioSwitch",
120
352
  components: {
121
- NcCheckboxContent: v
353
+ NcCheckboxContent: X
122
354
  },
123
- mixins: [_],
355
+ mixins: [d],
124
356
  props: {
125
357
  /**
126
358
  * Unique id attribute of the input
127
359
  */
128
360
  id: {
129
361
  type: String,
130
- default: () => "checkbox-radio-switch-" + y(),
131
- validator: (t) => t.trim() !== ""
362
+ default: () => "checkbox-radio-switch-" + u(),
363
+ validator: (i) => i.trim() !== ""
132
364
  },
133
365
  /**
134
366
  * Unique id attribute of the wrapper element
@@ -154,12 +386,12 @@ const o = "checkbox", r = "radio", i = "switch", a = "button", w = {
154
386
  type: {
155
387
  type: String,
156
388
  default: "checkbox",
157
- validator: (t) => [
158
- o,
389
+ validator: (i) => [
159
390
  r,
160
- i,
161
- a
162
- ].includes(t)
391
+ l,
392
+ a,
393
+ o
394
+ ].includes(i)
163
395
  },
164
396
  /**
165
397
  * Toggle the alternative button style
@@ -176,7 +408,7 @@ const o = "checkbox", r = "radio", i = "switch", a = "button", w = {
176
408
  buttonVariantGrouped: {
177
409
  type: String,
178
410
  default: "no",
179
- validator: (t) => ["no", "vertical", "horizontal"].includes(t)
411
+ validator: (i) => ["no", "vertical", "horizontal"].includes(i)
180
412
  },
181
413
  /**
182
414
  * Checked state. To be used with `:value.sync`
@@ -235,7 +467,7 @@ const o = "checkbox", r = "radio", i = "switch", a = "button", w = {
235
467
  emits: ["update:checked"],
236
468
  computed: {
237
469
  isButtonType() {
238
- return this.type === a;
470
+ return this.type === o;
239
471
  },
240
472
  computedWrapperElement() {
241
473
  return this.isButtonType ? "button" : this.wrapperElement !== null ? this.wrapperElement : "span";
@@ -261,7 +493,7 @@ const o = "checkbox", r = "radio", i = "switch", a = "button", w = {
261
493
  * @return {number}
262
494
  */
263
495
  size() {
264
- return this.type === i ? 36 : 24;
496
+ return this.type === a ? 36 : 24;
265
497
  },
266
498
  /**
267
499
  * Css local variables for this component
@@ -281,10 +513,10 @@ const o = "checkbox", r = "radio", i = "switch", a = "button", w = {
281
513
  */
282
514
  inputType() {
283
515
  return [
284
- o,
285
516
  r,
286
- a
287
- ].includes(this.type) ? this.type : o;
517
+ l,
518
+ o
519
+ ].includes(this.type) ? this.type : r;
288
520
  },
289
521
  /**
290
522
  * Check if that entry is checked
@@ -298,22 +530,22 @@ const o = "checkbox", r = "radio", i = "switch", a = "button", w = {
298
530
  }
299
531
  },
300
532
  mounted() {
301
- if (this.name && this.type === o && !Array.isArray(this.checked))
533
+ if (this.name && this.type === r && !Array.isArray(this.checked))
302
534
  throw new Error("When using groups of checkboxes, the updated value will be an array.");
303
- if (this.name && this.type === i)
535
+ if (this.name && this.type === a)
304
536
  throw new Error("Switches are not made to be used for data sets. Please use checkboxes instead.");
305
- if (typeof this.checked != "boolean" && this.type === i)
537
+ if (typeof this.checked != "boolean" && this.type === a)
306
538
  throw new Error("Switches can only be used with boolean as checked prop.");
307
539
  },
308
540
  methods: {
309
541
  onToggle() {
310
542
  if (this.disabled)
311
543
  return;
312
- if (this.type === r) {
544
+ if (this.type === l) {
313
545
  this.$emit("update:checked", this.value);
314
546
  return;
315
547
  }
316
- if (this.type === i) {
548
+ if (this.type === a) {
317
549
  this.$emit("update:checked", !this.isChecked);
318
550
  return;
319
551
  }
@@ -321,8 +553,8 @@ const o = "checkbox", r = "radio", i = "switch", a = "button", w = {
321
553
  this.$emit("update:checked", !this.isChecked);
322
554
  return;
323
555
  }
324
- const t = this.getInputsSet().filter((e) => e.checked).map((e) => e.value);
325
- this.$emit("update:checked", t);
556
+ const i = this.getInputsSet().filter((t) => t.checked).map((t) => t.value);
557
+ this.$emit("update:checked", i);
326
558
  },
327
559
  /**
328
560
  * Get the input set based on this name
@@ -334,31 +566,31 @@ const o = "checkbox", r = "radio", i = "switch", a = "button", w = {
334
566
  }
335
567
  }
336
568
  };
337
- var C = function() {
338
- var e = this, n = e._self._c;
339
- return n(e.computedWrapperElement, e._g({ tag: "component", staticClass: "checkbox-radio-switch", class: {
340
- ["checkbox-radio-switch-" + e.type]: e.type,
341
- "checkbox-radio-switch--checked": e.isChecked,
342
- "checkbox-radio-switch--disabled": e.disabled,
343
- "checkbox-radio-switch--indeterminate": e.indeterminate,
344
- "checkbox-radio-switch--button-variant": e.buttonVariant,
345
- "checkbox-radio-switch--button-variant-v-grouped": e.buttonVariant && e.buttonVariantGrouped === "vertical",
346
- "checkbox-radio-switch--button-variant-h-grouped": e.buttonVariant && e.buttonVariantGrouped === "horizontal",
347
- "button-vue": e.isButtonType
348
- }, style: e.cssVars, attrs: { id: e.wrapperId, type: e.isButtonType ? "button" : null } }, e.isButtonType ? e.listeners : null), [e.isButtonType ? e._e() : n("input", e._g(e._b({ staticClass: "checkbox-radio-switch__input", attrs: { id: e.id, disabled: e.disabled, type: e.inputType }, domProps: { value: e.value } }, "input", e.inputProps, !1), e.listeners)), n("NcCheckboxContent", { staticClass: "checkbox-radio-switch__content", attrs: { id: e.id, "icon-class": "checkbox-radio-switch__icon", "text-class": "checkbox-radio-switch__text", type: e.type, "button-variant": e.buttonVariant, "is-checked": e.isChecked, loading: e.loading, size: e.size }, scopedSlots: e._u([{ key: "icon", fn: function() {
349
- return [e._t("icon")];
350
- }, proxy: !0 }], null, !0) }, [e._t("default")], 2)], 1);
351
- }, T = [], B = /* @__PURE__ */ s(
352
- w,
353
- C,
354
- T,
569
+ var Q = function() {
570
+ var t = this, e = t._self._c;
571
+ return e(t.computedWrapperElement, t._g({ tag: "component", staticClass: "checkbox-radio-switch", class: {
572
+ ["checkbox-radio-switch-" + t.type]: t.type,
573
+ "checkbox-radio-switch--checked": t.isChecked,
574
+ "checkbox-radio-switch--disabled": t.disabled,
575
+ "checkbox-radio-switch--indeterminate": t.indeterminate,
576
+ "checkbox-radio-switch--button-variant": t.buttonVariant,
577
+ "checkbox-radio-switch--button-variant-v-grouped": t.buttonVariant && t.buttonVariantGrouped === "vertical",
578
+ "checkbox-radio-switch--button-variant-h-grouped": t.buttonVariant && t.buttonVariantGrouped === "horizontal",
579
+ "button-vue": t.isButtonType
580
+ }, style: t.cssVars, attrs: { id: t.wrapperId, type: t.isButtonType ? "button" : null } }, t.isButtonType ? t.listeners : null), [t.isButtonType ? t._e() : e("input", t._g(t._b({ staticClass: "checkbox-radio-switch__input", attrs: { id: t.id, disabled: t.disabled, type: t.inputType }, domProps: { value: t.value } }, "input", t.inputProps, !1), t.listeners)), e("NcCheckboxContent", { staticClass: "checkbox-radio-switch__content", attrs: { id: t.id, "icon-class": "checkbox-radio-switch__icon", "text-class": "checkbox-radio-switch__text", type: t.type, indeterminate: t.indeterminate, "button-variant": t.buttonVariant, "is-checked": t.isChecked, loading: t.loading, size: t.size }, scopedSlots: t._u([{ key: "icon", fn: function() {
581
+ return [t._t("icon")];
582
+ }, proxy: !0 }], null, !0) }, [t._t("default")], 2)], 1);
583
+ }, tt = [], et = /* @__PURE__ */ s(
584
+ J,
585
+ Q,
586
+ tt,
355
587
  !1,
356
588
  null,
357
- "dcc8fabc",
589
+ "9005171d",
358
590
  null,
359
591
  null
360
592
  );
361
- const W = B.exports;
593
+ const lt = et.exports;
362
594
  export {
363
- W as default
595
+ lt as default
364
596
  };