@nextcloud/vue 8.15.0 → 8.15.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 (303) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/Components/NcActionButtonGroup.cjs +1 -1
  3. package/dist/Components/NcActionButtonGroup.mjs +1 -1
  4. package/dist/Components/NcActionCheckbox.cjs +2 -2
  5. package/dist/Components/NcActionCheckbox.cjs.map +1 -1
  6. package/dist/Components/NcActionCheckbox.mjs +2 -2
  7. package/dist/Components/NcActionCheckbox.mjs.map +1 -1
  8. package/dist/Components/NcActionInput.cjs +1 -1
  9. package/dist/Components/NcActionInput.mjs +1 -1
  10. package/dist/Components/NcActions.cjs +1 -1
  11. package/dist/Components/NcActions.mjs +1 -1
  12. package/dist/Components/NcAppContent.cjs +1 -1
  13. package/dist/Components/NcAppContent.mjs +1 -1
  14. package/dist/Components/NcAppNavigation.cjs +1 -1
  15. package/dist/Components/NcAppNavigation.mjs +1 -1
  16. package/dist/Components/NcAppNavigationCaption.cjs +1 -1
  17. package/dist/Components/NcAppNavigationCaption.mjs +1 -1
  18. package/dist/Components/NcAppNavigationItem.cjs +1 -1
  19. package/dist/Components/NcAppNavigationItem.mjs +1 -1
  20. package/dist/Components/NcAppNavigationNewItem.cjs +1 -1
  21. package/dist/Components/NcAppNavigationNewItem.mjs +1 -1
  22. package/dist/Components/NcAppNavigationSearch.cjs +1 -1
  23. package/dist/Components/NcAppNavigationSearch.mjs +1 -1
  24. package/dist/Components/NcAppNavigationSettings.cjs +1 -1
  25. package/dist/Components/NcAppNavigationSettings.mjs +1 -1
  26. package/dist/Components/NcAppNavigationToggle.cjs +1 -1
  27. package/dist/Components/NcAppNavigationToggle.mjs +1 -1
  28. package/dist/Components/NcAppSettingsDialog.cjs +1 -1
  29. package/dist/Components/NcAppSettingsDialog.mjs +1 -1
  30. package/dist/Components/NcAppSidebar.cjs +1 -1
  31. package/dist/Components/NcAppSidebar.mjs +1 -1
  32. package/dist/Components/NcAvatar.cjs +1 -1
  33. package/dist/Components/NcAvatar.mjs +1 -1
  34. package/dist/Components/NcBreadcrumb.cjs +1 -1
  35. package/dist/Components/NcBreadcrumb.mjs +1 -1
  36. package/dist/Components/NcBreadcrumbs.cjs +1 -1
  37. package/dist/Components/NcBreadcrumbs.mjs +1 -1
  38. package/dist/Components/NcCheckboxRadioSwitch.cjs +1 -1
  39. package/dist/Components/NcCheckboxRadioSwitch.mjs +1 -1
  40. package/dist/Components/NcChip.cjs +33 -38
  41. package/dist/Components/NcChip.cjs.map +1 -1
  42. package/dist/Components/NcChip.mjs +34 -39
  43. package/dist/Components/NcChip.mjs.map +1 -1
  44. package/dist/Components/NcCollectionList.cjs +1 -1
  45. package/dist/Components/NcCollectionList.mjs +1 -1
  46. package/dist/Components/NcColorPicker.cjs +1 -1
  47. package/dist/Components/NcColorPicker.mjs +1 -1
  48. package/dist/Components/NcContent.cjs +1 -1
  49. package/dist/Components/NcContent.mjs +1 -1
  50. package/dist/Components/NcDashboardWidget.cjs +1 -1
  51. package/dist/Components/NcDashboardWidget.mjs +1 -1
  52. package/dist/Components/NcDashboardWidgetItem.cjs +1 -1
  53. package/dist/Components/NcDashboardWidgetItem.mjs +1 -1
  54. package/dist/Components/NcDateTime.cjs +1 -1
  55. package/dist/Components/NcDateTime.mjs +1 -1
  56. package/dist/Components/NcDateTimePicker.cjs +4 -4
  57. package/dist/Components/NcDateTimePicker.mjs +4 -4
  58. package/dist/Components/NcDateTimePickerNative.cjs +1 -1
  59. package/dist/Components/NcDateTimePickerNative.mjs +1 -1
  60. package/dist/Components/NcEmojiPicker.cjs +1 -1
  61. package/dist/Components/NcEmojiPicker.mjs +1 -1
  62. package/dist/Components/NcInputField.cjs +2 -2
  63. package/dist/Components/NcInputField.cjs.map +1 -1
  64. package/dist/Components/NcInputField.mjs +2 -2
  65. package/dist/Components/NcInputField.mjs.map +1 -1
  66. package/dist/Components/NcListItem.cjs +1 -1
  67. package/dist/Components/NcListItem.mjs +1 -1
  68. package/dist/Components/NcListItemIcon.cjs +1 -1
  69. package/dist/Components/NcListItemIcon.mjs +1 -1
  70. package/dist/Components/NcModal.cjs +3 -3
  71. package/dist/Components/NcModal.mjs +3 -3
  72. package/dist/Components/NcPasswordField.cjs +1 -1
  73. package/dist/Components/NcPasswordField.mjs +1 -1
  74. package/dist/Components/NcRelatedResourcesPanel.cjs +1 -1
  75. package/dist/Components/NcRelatedResourcesPanel.mjs +1 -1
  76. package/dist/Components/NcRichContenteditable.cjs +1 -1
  77. package/dist/Components/NcRichContenteditable.mjs +1 -1
  78. package/dist/Components/NcRichText.cjs +2 -2
  79. package/dist/Components/NcRichText.mjs +3 -3
  80. package/dist/Components/NcSelect.cjs +1 -1
  81. package/dist/Components/NcSelect.mjs +1 -1
  82. package/dist/Components/NcSelectTags.cjs +1 -1
  83. package/dist/Components/NcSelectTags.mjs +1 -1
  84. package/dist/Components/NcSettingsInputText.cjs +1 -1
  85. package/dist/Components/NcSettingsInputText.mjs +1 -1
  86. package/dist/Components/NcSettingsSection.cjs +1 -1
  87. package/dist/Components/NcSettingsSection.mjs +1 -1
  88. package/dist/Components/NcSettingsSelectGroup.cjs +1 -1
  89. package/dist/Components/NcSettingsSelectGroup.mjs +1 -1
  90. package/dist/Components/NcTextField.cjs +1 -1
  91. package/dist/Components/NcTextField.mjs +1 -1
  92. package/dist/Components/NcTimezonePicker.cjs +1 -1
  93. package/dist/Components/NcTimezonePicker.mjs +1 -1
  94. package/dist/Components/NcUserBubble.cjs +1 -1
  95. package/dist/Components/NcUserBubble.mjs +1 -1
  96. package/dist/Components/NcUserStatusIcon.cjs +1 -1
  97. package/dist/Components/NcUserStatusIcon.mjs +1 -1
  98. package/dist/Functions/reference.cjs +1 -1
  99. package/dist/Functions/reference.mjs +1 -1
  100. package/dist/Functions/usernameToColor.cjs +1 -1
  101. package/dist/Functions/usernameToColor.mjs +1 -1
  102. package/dist/assets/{NcActionCheckbox-C-PJVvtb.css → NcActionCheckbox-wDyhRXuN.css} +13 -12
  103. package/dist/assets/{NcAppNavigation-DdJfTimg.css → NcAppNavigation-BM1S8Ewr.css} +12 -12
  104. package/dist/assets/{NcChip-CQm1mq2C.css → NcChip-CEKw1zaK.css} +13 -9
  105. package/dist/assets/{NcDateTimePicker-Aq9TnHYj.css → NcDateTimePicker-C_TL2niN.css} +7 -7
  106. package/dist/assets/{NcInputField-B7T0X2lM.css → NcInputField-BcdNbzaE.css} +34 -31
  107. package/dist/assets/NcListItem-CeiJZojD.css +178 -0
  108. package/dist/assets/{NcSelect-BQt_SpyP.css → NcSelect-Bt5aEZZX.css} +11 -5
  109. package/dist/chunks/{GenColors-CzzMrdzl.cjs → GenColors-D-WqPHEB.cjs} +1 -1
  110. package/dist/chunks/{GenColors-CzzMrdzl.cjs.map → GenColors-D-WqPHEB.cjs.map} +1 -1
  111. package/dist/chunks/{GenColors-BV6-FB5-.mjs → GenColors-b4A2ply0.mjs} +1 -1
  112. package/dist/chunks/{GenColors-BV6-FB5-.mjs.map → GenColors-b4A2ply0.mjs.map} +1 -1
  113. package/dist/chunks/{NcActionButtonGroup-YZjkAQfi.mjs → NcActionButtonGroup-B7kbycZb.mjs} +1 -1
  114. package/dist/chunks/{NcActionButtonGroup-YZjkAQfi.mjs.map → NcActionButtonGroup-B7kbycZb.mjs.map} +1 -1
  115. package/dist/chunks/{NcActionButtonGroup-CIHtVerj.cjs → NcActionButtonGroup-CPziJr1Y.cjs} +1 -1
  116. package/dist/chunks/{NcActionButtonGroup-CIHtVerj.cjs.map → NcActionButtonGroup-CPziJr1Y.cjs.map} +1 -1
  117. package/dist/chunks/{NcActionInput-BolqgAyP.cjs → NcActionInput-DTyRHjMP.cjs} +4 -4
  118. package/dist/chunks/{NcActionInput-BolqgAyP.cjs.map → NcActionInput-DTyRHjMP.cjs.map} +1 -1
  119. package/dist/chunks/{NcActionInput-Dffj2gx5.mjs → NcActionInput-hT1S6x5u.mjs} +4 -4
  120. package/dist/chunks/{NcActionInput-Dffj2gx5.mjs.map → NcActionInput-hT1S6x5u.mjs.map} +1 -1
  121. package/dist/chunks/{NcActions-BanQsba7.cjs → NcActions-B3s-7Qzq.cjs} +1 -1
  122. package/dist/chunks/{NcActions-BanQsba7.cjs.map → NcActions-B3s-7Qzq.cjs.map} +1 -1
  123. package/dist/chunks/{NcActions-jYBYK6WE.mjs → NcActions-CISHDrZG.mjs} +1 -1
  124. package/dist/chunks/{NcActions-jYBYK6WE.mjs.map → NcActions-CISHDrZG.mjs.map} +1 -1
  125. package/dist/chunks/{NcAppContent-3ufgCG77.cjs → NcAppContent-Ba0xqWel.cjs} +1 -1
  126. package/dist/chunks/{NcAppContent-3ufgCG77.cjs.map → NcAppContent-Ba0xqWel.cjs.map} +1 -1
  127. package/dist/chunks/{NcAppContent-C4K-sTYm.mjs → NcAppContent-Bb5o48aT.mjs} +1 -1
  128. package/dist/chunks/{NcAppContent-C4K-sTYm.mjs.map → NcAppContent-Bb5o48aT.mjs.map} +1 -1
  129. package/dist/chunks/{NcAppNavigation-hx60VxfZ.mjs → NcAppNavigation-Bwm7RccS.mjs} +3 -3
  130. package/dist/chunks/NcAppNavigation-Bwm7RccS.mjs.map +1 -0
  131. package/dist/chunks/{NcAppNavigation-Dcf2w78V.cjs → NcAppNavigation-DD4dKkkX.cjs} +3 -3
  132. package/dist/chunks/NcAppNavigation-DD4dKkkX.cjs.map +1 -0
  133. package/dist/chunks/{NcAppNavigationCaption-C5x4p-eV.mjs → NcAppNavigationCaption-BeddfL2b.mjs} +1 -1
  134. package/dist/chunks/{NcAppNavigationCaption-C5x4p-eV.mjs.map → NcAppNavigationCaption-BeddfL2b.mjs.map} +1 -1
  135. package/dist/chunks/{NcAppNavigationCaption-Hb65-Hwg.cjs → NcAppNavigationCaption-DfZnrU9o.cjs} +1 -1
  136. package/dist/chunks/{NcAppNavigationCaption-Hb65-Hwg.cjs.map → NcAppNavigationCaption-DfZnrU9o.cjs.map} +1 -1
  137. package/dist/chunks/{NcAppNavigationItem-heUPZili.cjs → NcAppNavigationItem-D68yn-Hi.cjs} +3 -3
  138. package/dist/chunks/{NcAppNavigationItem-heUPZili.cjs.map → NcAppNavigationItem-D68yn-Hi.cjs.map} +1 -1
  139. package/dist/chunks/{NcAppNavigationItem-JGpx1LjC.mjs → NcAppNavigationItem-Di1H-Tw5.mjs} +3 -3
  140. package/dist/chunks/{NcAppNavigationItem-JGpx1LjC.mjs.map → NcAppNavigationItem-Di1H-Tw5.mjs.map} +1 -1
  141. package/dist/chunks/{NcAppNavigationNewItem-U7nmcavB.mjs → NcAppNavigationNewItem-CBXDGIkq.mjs} +1 -1
  142. package/dist/chunks/{NcAppNavigationNewItem-U7nmcavB.mjs.map → NcAppNavigationNewItem-CBXDGIkq.mjs.map} +1 -1
  143. package/dist/chunks/{NcAppNavigationNewItem-Bk8Qo0Yf.cjs → NcAppNavigationNewItem-_Tk4JcXt.cjs} +1 -1
  144. package/dist/chunks/{NcAppNavigationNewItem-Bk8Qo0Yf.cjs.map → NcAppNavigationNewItem-_Tk4JcXt.cjs.map} +1 -1
  145. package/dist/chunks/{NcAppNavigationSearch-Ak-Cq3nx.mjs → NcAppNavigationSearch-04pQ1n2W.mjs} +1 -1
  146. package/dist/chunks/{NcAppNavigationSearch-Ak-Cq3nx.mjs.map → NcAppNavigationSearch-04pQ1n2W.mjs.map} +1 -1
  147. package/dist/chunks/{NcAppNavigationSearch-ClnL2j6U.cjs → NcAppNavigationSearch-C8t2wCJA.cjs} +1 -1
  148. package/dist/chunks/{NcAppNavigationSearch-ClnL2j6U.cjs.map → NcAppNavigationSearch-C8t2wCJA.cjs.map} +1 -1
  149. package/dist/chunks/{NcAppNavigationSettings-DABhRWZL.cjs → NcAppNavigationSettings-B0y7Cj58.cjs} +1 -1
  150. package/dist/chunks/{NcAppNavigationSettings-DABhRWZL.cjs.map → NcAppNavigationSettings-B0y7Cj58.cjs.map} +1 -1
  151. package/dist/chunks/{NcAppNavigationSettings-DtpUeFhv.mjs → NcAppNavigationSettings-BHWA2Rtx.mjs} +1 -1
  152. package/dist/chunks/{NcAppNavigationSettings-DtpUeFhv.mjs.map → NcAppNavigationSettings-BHWA2Rtx.mjs.map} +1 -1
  153. package/dist/chunks/{NcAppNavigationToggle-DTbZFYws.mjs → NcAppNavigationToggle-BvFWFxXo.mjs} +1 -1
  154. package/dist/chunks/{NcAppNavigationToggle-DTbZFYws.mjs.map → NcAppNavigationToggle-BvFWFxXo.mjs.map} +1 -1
  155. package/dist/chunks/{NcAppNavigationToggle-Ci9rArNU.cjs → NcAppNavigationToggle-E9vzw71g.cjs} +1 -1
  156. package/dist/chunks/{NcAppNavigationToggle-Ci9rArNU.cjs.map → NcAppNavigationToggle-E9vzw71g.cjs.map} +1 -1
  157. package/dist/chunks/{NcAppSettingsDialog-DZcj5Hg3.cjs → NcAppSettingsDialog-8ak7BUOn.cjs} +1 -1
  158. package/dist/chunks/{NcAppSettingsDialog-DZcj5Hg3.cjs.map → NcAppSettingsDialog-8ak7BUOn.cjs.map} +1 -1
  159. package/dist/chunks/{NcAppSettingsDialog-Dgqy88lj.mjs → NcAppSettingsDialog-D2vPpqBX.mjs} +1 -1
  160. package/dist/chunks/{NcAppSettingsDialog-Dgqy88lj.mjs.map → NcAppSettingsDialog-D2vPpqBX.mjs.map} +1 -1
  161. package/dist/chunks/{NcAppSidebar-CfD7b5WF.cjs → NcAppSidebar-JZSiSveK.cjs} +3 -3
  162. package/dist/chunks/{NcAppSidebar-CfD7b5WF.cjs.map → NcAppSidebar-JZSiSveK.cjs.map} +1 -1
  163. package/dist/chunks/{NcAppSidebar-CCL2-_-5.mjs → NcAppSidebar-hknsZQJD.mjs} +3 -3
  164. package/dist/chunks/{NcAppSidebar-CCL2-_-5.mjs.map → NcAppSidebar-hknsZQJD.mjs.map} +1 -1
  165. package/dist/chunks/{NcAvatar-CjtwClIu.cjs → NcAvatar-BPt2WJCV.cjs} +4 -4
  166. package/dist/chunks/{NcAvatar-CjtwClIu.cjs.map → NcAvatar-BPt2WJCV.cjs.map} +1 -1
  167. package/dist/chunks/{NcAvatar-CLQ7_AQw.mjs → NcAvatar-hFHnd3-m.mjs} +4 -4
  168. package/dist/chunks/{NcAvatar-CLQ7_AQw.mjs.map → NcAvatar-hFHnd3-m.mjs.map} +1 -1
  169. package/dist/chunks/{NcBreadcrumb-CDSQfqgy.cjs → NcBreadcrumb-CamnZPfo.cjs} +1 -1
  170. package/dist/chunks/{NcBreadcrumb-CDSQfqgy.cjs.map → NcBreadcrumb-CamnZPfo.cjs.map} +1 -1
  171. package/dist/chunks/{NcBreadcrumb-lCjBkeeU.mjs → NcBreadcrumb-DcekD2gL.mjs} +1 -1
  172. package/dist/chunks/{NcBreadcrumb-lCjBkeeU.mjs.map → NcBreadcrumb-DcekD2gL.mjs.map} +1 -1
  173. package/dist/chunks/{NcBreadcrumbs-LgHb45DJ.mjs → NcBreadcrumbs-B7B-HlbZ.mjs} +2 -2
  174. package/dist/chunks/{NcBreadcrumbs-LgHb45DJ.mjs.map → NcBreadcrumbs-B7B-HlbZ.mjs.map} +1 -1
  175. package/dist/chunks/{NcBreadcrumbs-eOkyOf9_.cjs → NcBreadcrumbs-CciLrzHY.cjs} +2 -2
  176. package/dist/chunks/{NcBreadcrumbs-eOkyOf9_.cjs.map → NcBreadcrumbs-CciLrzHY.cjs.map} +1 -1
  177. package/dist/chunks/{NcCheckboxRadioSwitch-BU-MnU4U.mjs → NcCheckboxRadioSwitch-B2PO6aNp.mjs} +2 -2
  178. package/dist/chunks/{NcCheckboxRadioSwitch-BU-MnU4U.mjs.map → NcCheckboxRadioSwitch-B2PO6aNp.mjs.map} +1 -1
  179. package/dist/chunks/{NcCheckboxRadioSwitch-BbMh0Uc8.cjs → NcCheckboxRadioSwitch-DqWcw1C1.cjs} +2 -2
  180. package/dist/chunks/{NcCheckboxRadioSwitch-BbMh0Uc8.cjs.map → NcCheckboxRadioSwitch-DqWcw1C1.cjs.map} +1 -1
  181. package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-D3PU8il5.mjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-A_mTcfF_.mjs} +1 -1
  182. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-A_mTcfF_.mjs.map +1 -0
  183. package/dist/chunks/{NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-D63ceZ-I.cjs → NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-RF3-KLI6.cjs} +1 -1
  184. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-RF3-KLI6.cjs.map +1 -0
  185. package/dist/chunks/{NcCollectionList-Csni5btL.mjs → NcCollectionList-DRZDPx-B.mjs} +4 -4
  186. package/dist/chunks/{NcCollectionList-Csni5btL.mjs.map → NcCollectionList-DRZDPx-B.mjs.map} +1 -1
  187. package/dist/chunks/{NcCollectionList-DAeLF8Lc.cjs → NcCollectionList-TES3PYdM.cjs} +4 -4
  188. package/dist/chunks/{NcCollectionList-DAeLF8Lc.cjs.map → NcCollectionList-TES3PYdM.cjs.map} +1 -1
  189. package/dist/chunks/{NcColorPicker-DuJJC4lB.cjs → NcColorPicker-C0xZdVTb.cjs} +2 -2
  190. package/dist/chunks/{NcColorPicker-DuJJC4lB.cjs.map → NcColorPicker-C0xZdVTb.cjs.map} +1 -1
  191. package/dist/chunks/{NcColorPicker-19JdVR99.mjs → NcColorPicker-C7S5S6TC.mjs} +2 -2
  192. package/dist/chunks/{NcColorPicker-19JdVR99.mjs.map → NcColorPicker-C7S5S6TC.mjs.map} +1 -1
  193. package/dist/chunks/{NcContent-BPWplwmy.cjs → NcContent-Ba3ScZsp.cjs} +1 -1
  194. package/dist/chunks/{NcContent-BPWplwmy.cjs.map → NcContent-Ba3ScZsp.cjs.map} +1 -1
  195. package/dist/chunks/{NcContent-D2roywh0.mjs → NcContent-Bhalk7rm.mjs} +1 -1
  196. package/dist/chunks/{NcContent-D2roywh0.mjs.map → NcContent-Bhalk7rm.mjs.map} +1 -1
  197. package/dist/chunks/{NcDashboardWidget-eYMkaNge.mjs → NcDashboardWidget-Boxk4y1i.mjs} +3 -3
  198. package/dist/chunks/{NcDashboardWidget-eYMkaNge.mjs.map → NcDashboardWidget-Boxk4y1i.mjs.map} +1 -1
  199. package/dist/chunks/{NcDashboardWidget-CiQ9nKkn.cjs → NcDashboardWidget-ByPxY1rN.cjs} +3 -3
  200. package/dist/chunks/{NcDashboardWidget-CiQ9nKkn.cjs.map → NcDashboardWidget-ByPxY1rN.cjs.map} +1 -1
  201. package/dist/chunks/{NcDashboardWidgetItem-BlmOcEja.cjs → NcDashboardWidgetItem-2oRU-z9N.cjs} +2 -2
  202. package/dist/chunks/{NcDashboardWidgetItem-BlmOcEja.cjs.map → NcDashboardWidgetItem-2oRU-z9N.cjs.map} +1 -1
  203. package/dist/chunks/{NcDashboardWidgetItem-BtIXF3nP.mjs → NcDashboardWidgetItem-Dwa8QRZP.mjs} +2 -2
  204. package/dist/chunks/{NcDashboardWidgetItem-BtIXF3nP.mjs.map → NcDashboardWidgetItem-Dwa8QRZP.mjs.map} +1 -1
  205. package/dist/chunks/{NcDateTime-C06to8gC.cjs → NcDateTime-BmQ4_DFj.cjs} +1 -1
  206. package/dist/chunks/{NcDateTime-C06to8gC.cjs.map → NcDateTime-BmQ4_DFj.cjs.map} +1 -1
  207. package/dist/chunks/{NcDateTime-D63dAM9i.mjs → NcDateTime-DgjfUiKI.mjs} +1 -1
  208. package/dist/chunks/{NcDateTime-D63dAM9i.mjs.map → NcDateTime-DgjfUiKI.mjs.map} +1 -1
  209. package/dist/chunks/{NcEmojiPicker-C5QwBqju.mjs → NcEmojiPicker-DExoie86.mjs} +4 -4
  210. package/dist/chunks/{NcEmojiPicker-C5QwBqju.mjs.map → NcEmojiPicker-DExoie86.mjs.map} +1 -1
  211. package/dist/chunks/{NcEmojiPicker-C6N8_T2s.cjs → NcEmojiPicker-dWlXYcVd.cjs} +4 -4
  212. package/dist/chunks/{NcEmojiPicker-C6N8_T2s.cjs.map → NcEmojiPicker-dWlXYcVd.cjs.map} +1 -1
  213. package/dist/chunks/{NcInputConfirmCancel-CHbaA18n.mjs → NcInputConfirmCancel-BGuN01On.mjs} +1 -1
  214. package/dist/chunks/{NcInputConfirmCancel-CHbaA18n.mjs.map → NcInputConfirmCancel-BGuN01On.mjs.map} +1 -1
  215. package/dist/chunks/{NcInputConfirmCancel-Cabqh9yr.cjs → NcInputConfirmCancel-CdYnRngZ.cjs} +1 -1
  216. package/dist/chunks/{NcInputConfirmCancel-Cabqh9yr.cjs.map → NcInputConfirmCancel-CdYnRngZ.cjs.map} +1 -1
  217. package/dist/chunks/{NcListItem-0EnLrbng.mjs → NcListItem-BqaD6qqB.mjs} +13 -4
  218. package/dist/chunks/NcListItem-BqaD6qqB.mjs.map +1 -0
  219. package/dist/chunks/{NcListItem-BfbxhMcD.cjs → NcListItem-tdvCJ2pG.cjs} +13 -4
  220. package/dist/chunks/NcListItem-tdvCJ2pG.cjs.map +1 -0
  221. package/dist/chunks/{NcListItemIcon-Bw6Wddoz.mjs → NcListItemIcon-C7zSZcCY.mjs} +1 -1
  222. package/dist/chunks/{NcListItemIcon-Bw6Wddoz.mjs.map → NcListItemIcon-C7zSZcCY.mjs.map} +1 -1
  223. package/dist/chunks/{NcListItemIcon-57iRCVpy.cjs → NcListItemIcon-CxzeW2na.cjs} +1 -1
  224. package/dist/chunks/{NcListItemIcon-57iRCVpy.cjs.map → NcListItemIcon-CxzeW2na.cjs.map} +1 -1
  225. package/dist/chunks/{NcPasswordField-Iq8u9C_A.cjs → NcPasswordField-BQUXT4sH.cjs} +1 -1
  226. package/dist/chunks/{NcPasswordField-Iq8u9C_A.cjs.map → NcPasswordField-BQUXT4sH.cjs.map} +1 -1
  227. package/dist/chunks/{NcPasswordField-U7jnnuI6.mjs → NcPasswordField-Cbt3BHWa.mjs} +1 -1
  228. package/dist/chunks/{NcPasswordField-U7jnnuI6.mjs.map → NcPasswordField-Cbt3BHWa.mjs.map} +1 -1
  229. package/dist/chunks/{NcRelatedResourcesPanel-CHMgVvv8.cjs → NcRelatedResourcesPanel-CSV3L528.cjs} +1 -1
  230. package/dist/chunks/{NcRelatedResourcesPanel-CHMgVvv8.cjs.map → NcRelatedResourcesPanel-CSV3L528.cjs.map} +1 -1
  231. package/dist/chunks/{NcRelatedResourcesPanel-TaYxpT6y.mjs → NcRelatedResourcesPanel-DLnhQCAc.mjs} +1 -1
  232. package/dist/chunks/{NcRelatedResourcesPanel-TaYxpT6y.mjs.map → NcRelatedResourcesPanel-DLnhQCAc.mjs.map} +1 -1
  233. package/dist/chunks/{NcRichContenteditable-B32ivG6v.cjs → NcRichContenteditable-B01oU1Py.cjs} +6 -6
  234. package/dist/chunks/{NcRichContenteditable-B32ivG6v.cjs.map → NcRichContenteditable-B01oU1Py.cjs.map} +1 -1
  235. package/dist/chunks/{NcRichContenteditable-Jk627HvF.mjs → NcRichContenteditable-DI-ZXpT5.mjs} +6 -6
  236. package/dist/chunks/{NcRichContenteditable-Jk627HvF.mjs.map → NcRichContenteditable-DI-ZXpT5.mjs.map} +1 -1
  237. package/dist/chunks/{NcRichText-DhS9L0ia.cjs → NcRichText-Cv3E2opm.cjs} +2 -2
  238. package/dist/chunks/{NcRichText-DhS9L0ia.cjs.map → NcRichText-Cv3E2opm.cjs.map} +1 -1
  239. package/dist/chunks/{NcRichText-rgX1D4Mv.mjs → NcRichText-S2tUM9cE.mjs} +2 -2
  240. package/dist/chunks/{NcRichText-rgX1D4Mv.mjs.map → NcRichText-S2tUM9cE.mjs.map} +1 -1
  241. package/dist/chunks/{NcSelect-CFkeC89U.cjs → NcSelect-CY9k8Npn.cjs} +5 -5
  242. package/dist/chunks/{NcSelect-CFkeC89U.cjs.map → NcSelect-CY9k8Npn.cjs.map} +1 -1
  243. package/dist/chunks/{NcSelect-VXa9BD3h.mjs → NcSelect-SndWSyFc.mjs} +5 -5
  244. package/dist/chunks/{NcSelect-VXa9BD3h.mjs.map → NcSelect-SndWSyFc.mjs.map} +1 -1
  245. package/dist/chunks/{NcSelectTags-BGqJO7nz.cjs → NcSelectTags-BRDbJ3zM.cjs} +2 -2
  246. package/dist/chunks/{NcSelectTags-BGqJO7nz.cjs.map → NcSelectTags-BRDbJ3zM.cjs.map} +1 -1
  247. package/dist/chunks/{NcSelectTags-CnMksmUz.mjs → NcSelectTags-j1vMgnP_.mjs} +2 -2
  248. package/dist/chunks/{NcSelectTags-CnMksmUz.mjs.map → NcSelectTags-j1vMgnP_.mjs.map} +1 -1
  249. package/dist/chunks/{NcSettingsInputText-BHQoBpdB.cjs → NcSettingsInputText-CFEhlYqU.cjs} +1 -1
  250. package/dist/chunks/{NcSettingsInputText-BHQoBpdB.cjs.map → NcSettingsInputText-CFEhlYqU.cjs.map} +1 -1
  251. package/dist/chunks/{NcSettingsInputText-6NUV0AUU.mjs → NcSettingsInputText-Cw8sfqJD.mjs} +1 -1
  252. package/dist/chunks/{NcSettingsInputText-6NUV0AUU.mjs.map → NcSettingsInputText-Cw8sfqJD.mjs.map} +1 -1
  253. package/dist/chunks/{NcSettingsSection-NrhuTTW4.cjs → NcSettingsSection-CC40z0BR.cjs} +1 -1
  254. package/dist/chunks/{NcSettingsSection-NrhuTTW4.cjs.map → NcSettingsSection-CC40z0BR.cjs.map} +1 -1
  255. package/dist/chunks/{NcSettingsSection-HExFhUqF.mjs → NcSettingsSection-DR413pDz.mjs} +1 -1
  256. package/dist/chunks/{NcSettingsSection-HExFhUqF.mjs.map → NcSettingsSection-DR413pDz.mjs.map} +1 -1
  257. package/dist/chunks/{NcSettingsSelectGroup-BvSwvGmQ.mjs → NcSettingsSelectGroup-SY4s3QMa.mjs} +2 -2
  258. package/dist/chunks/{NcSettingsSelectGroup-BvSwvGmQ.mjs.map → NcSettingsSelectGroup-SY4s3QMa.mjs.map} +1 -1
  259. package/dist/chunks/{NcSettingsSelectGroup-DKwhOABo.cjs → NcSettingsSelectGroup-SzqRWbEs.cjs} +2 -2
  260. package/dist/chunks/{NcSettingsSelectGroup-DKwhOABo.cjs.map → NcSettingsSelectGroup-SzqRWbEs.cjs.map} +1 -1
  261. package/dist/chunks/{NcTextField-DMo1G8i6.cjs → NcTextField-CY1UACDQ.cjs} +1 -1
  262. package/dist/chunks/{NcTextField-DMo1G8i6.cjs.map → NcTextField-CY1UACDQ.cjs.map} +1 -1
  263. package/dist/chunks/{NcTextField-DCDVcnqT.mjs → NcTextField-NPhch54I.mjs} +1 -1
  264. package/dist/chunks/{NcTextField-DCDVcnqT.mjs.map → NcTextField-NPhch54I.mjs.map} +1 -1
  265. package/dist/chunks/{NcTimezonePicker-aP3TJBd2.cjs → NcTimezonePicker-B3wVH7l0.cjs} +2 -2
  266. package/dist/chunks/{NcTimezonePicker-aP3TJBd2.cjs.map → NcTimezonePicker-B3wVH7l0.cjs.map} +1 -1
  267. package/dist/chunks/{NcTimezonePicker-CTNhHwMc.mjs → NcTimezonePicker-C-FQGZe0.mjs} +2 -2
  268. package/dist/chunks/{NcTimezonePicker-CTNhHwMc.mjs.map → NcTimezonePicker-C-FQGZe0.mjs.map} +1 -1
  269. package/dist/chunks/{NcUserBubble-CTJW09AG.cjs → NcUserBubble-BI5uBaCY.cjs} +1 -1
  270. package/dist/chunks/{NcUserBubble-CTJW09AG.cjs.map → NcUserBubble-BI5uBaCY.cjs.map} +1 -1
  271. package/dist/chunks/{NcUserBubble-CT56m7hy.mjs → NcUserBubble-CzoM20ew.mjs} +1 -1
  272. package/dist/chunks/{NcUserBubble-CT56m7hy.mjs.map → NcUserBubble-CzoM20ew.mjs.map} +1 -1
  273. package/dist/chunks/{NcUserStatusIcon-Bw4HYlgZ.mjs → NcUserStatusIcon-JAQFdYUq.mjs} +1 -1
  274. package/dist/chunks/{NcUserStatusIcon-Bw4HYlgZ.mjs.map → NcUserStatusIcon-JAQFdYUq.mjs.map} +1 -1
  275. package/dist/chunks/{NcUserStatusIcon-DAsG7fFc.cjs → NcUserStatusIcon-OYRvKpLC.cjs} +1 -1
  276. package/dist/chunks/{NcUserStatusIcon-DAsG7fFc.cjs.map → NcUserStatusIcon-OYRvKpLC.cjs.map} +1 -1
  277. package/dist/chunks/{ScopeComponent-C0xOBUg-.mjs → ScopeComponent-utlyd2B_.mjs} +1 -1
  278. package/dist/chunks/{ScopeComponent-C0xOBUg-.mjs.map → ScopeComponent-utlyd2B_.mjs.map} +1 -1
  279. package/dist/chunks/{ScopeComponent-p6wwuGWn.cjs → ScopeComponent-wXF17wBK.cjs} +1 -1
  280. package/dist/chunks/{ScopeComponent-p6wwuGWn.cjs.map → ScopeComponent-wXF17wBK.cjs.map} +1 -1
  281. package/dist/chunks/{_l10n-DdIq5MvQ.cjs → _l10n-Dkgq8-k1.cjs} +17 -17
  282. package/dist/chunks/{_l10n-DdIq5MvQ.cjs.map → _l10n-Dkgq8-k1.cjs.map} +1 -1
  283. package/dist/chunks/{_l10n-CG5VZvYT.mjs → _l10n-em5EAi4q.mjs} +17 -17
  284. package/dist/chunks/_l10n-em5EAi4q.mjs.map +1 -0
  285. package/dist/chunks/{referencePickerModal-Dk80B426.cjs → referencePickerModal-B2vY_tQ_.cjs} +3 -3
  286. package/dist/chunks/{referencePickerModal-Dk80B426.cjs.map → referencePickerModal-B2vY_tQ_.cjs.map} +1 -1
  287. package/dist/chunks/{referencePickerModal-X5iEJq4e.mjs → referencePickerModal-LSsnfOpt.mjs} +3 -3
  288. package/dist/chunks/{referencePickerModal-X5iEJq4e.mjs.map → referencePickerModal-LSsnfOpt.mjs.map} +1 -1
  289. package/dist/chunks/{usernameToColor-B18lWdWj.cjs → usernameToColor-BAqfFlwH.cjs} +1 -1
  290. package/dist/chunks/{usernameToColor-B18lWdWj.cjs.map → usernameToColor-BAqfFlwH.cjs.map} +1 -1
  291. package/dist/chunks/{usernameToColor-BlQigKGC.mjs → usernameToColor-o6GbhQWU.mjs} +1 -1
  292. package/dist/chunks/{usernameToColor-BlQigKGC.mjs.map → usernameToColor-o6GbhQWU.mjs.map} +1 -1
  293. package/dist/index.cjs +40 -40
  294. package/dist/index.mjs +42 -42
  295. package/package.json +1 -1
  296. package/dist/assets/NcListItem-Cah9oImZ.css +0 -164
  297. package/dist/chunks/NcAppNavigation-Dcf2w78V.cjs.map +0 -1
  298. package/dist/chunks/NcAppNavigation-hx60VxfZ.mjs.map +0 -1
  299. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-D3PU8il5.mjs.map +0 -1
  300. package/dist/chunks/NcCheckboxRadioSwitch.vue_vue_type_style_index_0_scoped_919d07b7_lang-D63ceZ-I.cjs.map +0 -1
  301. package/dist/chunks/NcListItem-0EnLrbng.mjs.map +0 -1
  302. package/dist/chunks/NcListItem-BfbxhMcD.cjs.map +0 -1
  303. package/dist/chunks/_l10n-CG5VZvYT.mjs.map +0 -1
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcCollectionList = require("../chunks/NcCollectionList-DAeLF8Lc.cjs");
2
+ const NcCollectionList = require("../chunks/NcCollectionList-TES3PYdM.cjs");
3
3
  module.exports = NcCollectionList.NcCollectionList;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcCollectionList-Csni5btL.mjs";
1
+ import { N } from "../chunks/NcCollectionList-DRZDPx-B.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcColorPicker = require("../chunks/NcColorPicker-DuJJC4lB.cjs");
2
+ const NcColorPicker = require("../chunks/NcColorPicker-C0xZdVTb.cjs");
3
3
  module.exports = NcColorPicker.NcColorPicker;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcColorPicker-19JdVR99.mjs";
1
+ import { N } from "../chunks/NcColorPicker-C7S5S6TC.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcContent = require("../chunks/NcContent-BPWplwmy.cjs");
2
+ const NcContent = require("../chunks/NcContent-Ba3ScZsp.cjs");
3
3
  module.exports = NcContent.NcContent;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcContent-D2roywh0.mjs";
1
+ import { N } from "../chunks/NcContent-Bhalk7rm.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcDashboardWidget = require("../chunks/NcDashboardWidget-CiQ9nKkn.cjs");
2
+ const NcDashboardWidget = require("../chunks/NcDashboardWidget-ByPxY1rN.cjs");
3
3
  module.exports = NcDashboardWidget.NcDashboardWidget;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcDashboardWidget-eYMkaNge.mjs";
1
+ import { N } from "../chunks/NcDashboardWidget-Boxk4y1i.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcDashboardWidgetItem = require("../chunks/NcDashboardWidgetItem-BlmOcEja.cjs");
2
+ const NcDashboardWidgetItem = require("../chunks/NcDashboardWidgetItem-2oRU-z9N.cjs");
3
3
  module.exports = NcDashboardWidgetItem.NcDashboardWidgetItem;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcDashboardWidgetItem-BtIXF3nP.mjs";
1
+ import { N } from "../chunks/NcDashboardWidgetItem-Dwa8QRZP.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcDateTime = require("../chunks/NcDateTime-C06to8gC.cjs");
2
+ const NcDateTime = require("../chunks/NcDateTime-BmQ4_DFj.cjs");
3
3
  module.exports = NcDateTime.NcDateTime;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcDateTime-D63dAM9i.mjs";
1
+ import { N } from "../chunks/NcDateTime-DgjfUiKI.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,13 +1,13 @@
1
- require('../assets/NcDateTimePicker-Aq9TnHYj.css');
1
+ require('../assets/NcDateTimePicker-C_TL2niN.css');
2
2
  "use strict";
3
- const _l10n = require("../chunks/_l10n-DdIq5MvQ.cjs");
3
+ const _l10n = require("../chunks/_l10n-Dkgq8-k1.cjs");
4
4
  const GenRandomId = require("../chunks/GenRandomId-BQDud3d4.cjs");
5
- const NcTimezonePicker = require("../chunks/NcTimezonePicker-aP3TJBd2.cjs");
5
+ const NcTimezonePicker = require("../chunks/NcTimezonePicker-B3wVH7l0.cjs");
6
6
  const NcPopover = require("../chunks/NcPopover-Cl1AvQ5o.cjs");
7
7
  const _pluginVue2_normalizer = require("../chunks/_plugin-vue2_normalizer-DbFIE4_M.cjs");
8
8
  const l10n = require("@nextcloud/l10n");
9
9
  const DatePicker = require("vue2-datepicker");
10
- const ScopeComponent = require("../chunks/ScopeComponent-p6wwuGWn.cjs");
10
+ const ScopeComponent = require("../chunks/ScopeComponent-wXF17wBK.cjs");
11
11
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
12
12
  const DatePicker__default = /* @__PURE__ */ _interopDefault(DatePicker);
13
13
  _l10n.register(_l10n.t36);
@@ -1,12 +1,12 @@
1
- import '../assets/NcDateTimePicker-Aq9TnHYj.css';
2
- import { r as register, H as t36, a as t } from "../chunks/_l10n-CG5VZvYT.mjs";
1
+ import '../assets/NcDateTimePicker-C_TL2niN.css';
2
+ import { r as register, H as t36, a as t } from "../chunks/_l10n-em5EAi4q.mjs";
3
3
  import { G as GenRandomId } from "../chunks/GenRandomId-CMooMQt0.mjs";
4
- import { N as NcTimezonePicker } from "../chunks/NcTimezonePicker-CTNhHwMc.mjs";
4
+ import { N as NcTimezonePicker } from "../chunks/NcTimezonePicker-C-FQGZe0.mjs";
5
5
  import { N as NcPopover } from "../chunks/NcPopover-VxUr4c6P.mjs";
6
6
  import { n as normalizeComponent } from "../chunks/_plugin-vue2_normalizer-D637Qkok.mjs";
7
7
  import { getMonthNames, getMonthNamesShort, getDayNames, getDayNamesShort, getDayNamesMin, getFirstDay } from "@nextcloud/l10n";
8
8
  import DatePicker from "vue2-datepicker";
9
- import { S as ScopeComponent } from "../chunks/ScopeComponent-C0xOBUg-.mjs";
9
+ import { S as ScopeComponent } from "../chunks/ScopeComponent-utlyd2B_.mjs";
10
10
  register(t36);
11
11
  const _sfc_main$2 = {
12
12
  name: "CalendarBlankIcon",
@@ -1,7 +1,7 @@
1
1
  require('../assets/NcDateTimePickerNative-BAcKr0B3.css');
2
2
  "use strict";
3
3
  const _pluginVue2_normalizer = require("../chunks/_plugin-vue2_normalizer-DbFIE4_M.cjs");
4
- const ScopeComponent = require("../chunks/ScopeComponent-p6wwuGWn.cjs");
4
+ const ScopeComponent = require("../chunks/ScopeComponent-wXF17wBK.cjs");
5
5
  const inputDateTypes = ["date", "datetime-local", "month", "time", "week"];
6
6
  const _sfc_main = {
7
7
  name: "NcDateTimePickerNative",
@@ -1,6 +1,6 @@
1
1
  import '../assets/NcDateTimePickerNative-BAcKr0B3.css';
2
2
  import { n as normalizeComponent } from "../chunks/_plugin-vue2_normalizer-D637Qkok.mjs";
3
- import { S as ScopeComponent } from "../chunks/ScopeComponent-C0xOBUg-.mjs";
3
+ import { S as ScopeComponent } from "../chunks/ScopeComponent-utlyd2B_.mjs";
4
4
  const inputDateTypes = ["date", "datetime-local", "month", "time", "week"];
5
5
  const _sfc_main = {
6
6
  name: "NcDateTimePickerNative",
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcEmojiPicker = require("../chunks/NcEmojiPicker-C6N8_T2s.cjs");
2
+ const NcEmojiPicker = require("../chunks/NcEmojiPicker-dWlXYcVd.cjs");
3
3
  module.exports = NcEmojiPicker.NcEmojiPicker;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcEmojiPicker-C5QwBqju.mjs";
1
+ import { N } from "../chunks/NcEmojiPicker-DExoie86.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,4 +1,4 @@
1
- require('../assets/NcInputField-B7T0X2lM.css');
1
+ require('../assets/NcInputField-BcdNbzaE.css');
2
2
  "use strict";
3
3
  const Components_NcButton = require("./NcButton.cjs");
4
4
  const GenRandomId = require("../chunks/GenRandomId-BQDud3d4.cjs");
@@ -227,7 +227,7 @@ var __component__ = /* @__PURE__ */ _pluginVue2_normalizer.normalizeComponent(
227
227
  _sfc_staticRenderFns,
228
228
  false,
229
229
  null,
230
- "07b05442",
230
+ "1a8b7a28",
231
231
  null,
232
232
  null
233
233
  );
@@ -1 +1 @@
1
- {"version":3,"file":"NcInputField.cjs","sources":["../../src/components/NcInputField/NcInputField.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\n### Description\n\nThis component is used by the other Fields components.\nIt extends and styles an HTMLInputElement.\n\nYou cannot use it as is. This is here for documentation purposes.\nSee the other field components.\n\nFor a list of all available props and attributes, please check the [HTMLInputElement documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attributes)\n\n</docs>\n\n<template>\n\t<div class=\"input-field\"\n\t\t:class=\"{\n\t\t\t'input-field--disabled': disabled,\n\t\t\t'input-field--label-outside': labelOutside || !isValidLabel,\n\t\t\t'input-field--leading-icon': hasLeadingIcon,\n\t\t\t'input-field--trailing-icon': showTrailingButton || hasTrailingIcon,\n\t\t\t'input-field--pill': pill,\n\t\t}\">\n\t\t<div class=\"input-field__main-wrapper\">\n\t\t\t<input v-bind=\"$attrs\"\n\t\t\t\t:id=\"computedId\"\n\t\t\t\tref=\"input\"\n\t\t\t\tclass=\"input-field__input\"\n\t\t\t\t:type=\"type\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:placeholder=\"computedPlaceholder\"\n\t\t\t\t:aria-describedby=\"ariaDescribedby\"\n\t\t\t\taria-live=\"polite\"\n\t\t\t\t:class=\"[inputClass,\n\t\t\t\t\t{\n\t\t\t\t\t\t'input-field__input--success': success,\n\t\t\t\t\t\t'input-field__input--error': error,\n\t\t\t\t\t}]\"\n\t\t\t\t:value=\"value.toString()\"\n\t\t\t\tv-on=\"$listeners\"\n\t\t\t\t@input=\"handleInput\">\n\t\t\t<!-- Label -->\n\t\t\t<label v-if=\"!labelOutside && isValidLabel\"\n\t\t\t\tclass=\"input-field__label\"\n\t\t\t\t:for=\"computedId\">\n\t\t\t\t{{ label }}\n\t\t\t</label>\n\n\t\t\t<!-- Leading icon -->\n\t\t\t<div v-show=\"hasLeadingIcon\" class=\"input-field__icon input-field__icon--leading\">\n\t\t\t\t<!-- Leading material design icon in the text field, set the size to 18 -->\n\t\t\t\t<slot />\n\t\t\t</div>\n\n\t\t\t<!-- trailing button -->\n\t\t\t<NcButton v-if=\"showTrailingButton\"\n\t\t\t\ttype=\"tertiary-no-background\"\n\t\t\t\tclass=\"input-field__trailing-button\"\n\t\t\t\t:aria-label=\"trailingButtonLabel\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t@click=\"handleTrailingButtonClick\">\n\t\t\t\t<!-- Populating this slot creates a trailing button within the\n\t\t\t\tinput boundaries that emits a `trailing-button-click` event -->\n\t\t\t\t<template #icon>\n\t\t\t\t\t<slot name=\"trailing-button-icon\" />\n\t\t\t\t</template>\n\t\t\t</NcButton>\n\n\t\t\t<!-- Success and error icons -->\n\t\t\t<div v-else-if=\"success || error\"\n\t\t\t\tclass=\"input-field__icon input-field__icon--trailing\">\n\t\t\t\t<Check v-if=\"success\" :size=\"20\" style=\"color: var(--color-success-text);\" />\n\t\t\t\t<AlertCircle v-else-if=\"error\" :size=\"20\" style=\"color: var(--color-error-text);\" />\n\t\t\t</div>\n\t\t</div>\n\t\t<p v-if=\"helperText.length > 0\"\n\t\t\t:id=\"`${inputName}-helper-text`\"\n\t\t\tclass=\"input-field__helper-text-message\"\n\t\t\t:class=\"{\n\t\t\t\t'input-field__helper-text-message--error': error,\n\t\t\t\t'input-field__helper-text-message--success': success,\n\t\t\t}\">\n\t\t\t<Check v-if=\"success\" class=\"input-field__helper-text-message__icon\" :size=\"18\" />\n\t\t\t<AlertCircle v-else-if=\"error\" class=\"input-field__helper-text-message__icon\" :size=\"18\" />\n\t\t\t{{ helperText }}\n\t\t</p>\n\t</div>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport GenRandomId from '../../utils/GenRandomId.js'\n\nimport AlertCircle from 'vue-material-design-icons/AlertCircleOutline.vue'\nimport Check from 'vue-material-design-icons/Check.vue'\n\nexport default {\n\tname: 'NcInputField',\n\n\tcomponents: {\n\t\tNcButton,\n\t\tAlertCircle,\n\t\tCheck,\n\t},\n\n\tinheritAttrs: false,\n\n\tprops: {\n\t\t/**\n\t\t * The value of the input field\n\t\t * If type is 'number' and a number is passed as value than the type of `update:value` will also be 'number'\n\t\t */\n\t\tvalue: {\n\t\t\ttype: [String, Number],\n\t\t\trequired: true,\n\t\t},\n\n\t\t/**\n\t\t * The type of the input element\n\t\t */\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'text',\n\t\t\tvalidator: (value) => [\n\t\t\t\t'text',\n\t\t\t\t'password',\n\t\t\t\t'email',\n\t\t\t\t'tel',\n\t\t\t\t'url',\n\t\t\t\t'search',\n\t\t\t\t'number',\n\t\t\t].includes(value),\n\t\t},\n\n\t\t/**\n\t\t * The input label, always provide one for accessibility purposes.\n\t\t * This will also be used as a placeholder unless the placeholder\n\t\t * prop is populated with a different string.\n\t\t *\n\t\t * Note: If the background color is not `--color-main-background` consider using an external label instead (see `labelOutside`).\n\t\t */\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Pass in true if you want to use an external label. This is useful\n\t\t * if you need a label that looks different from the one provided by\n\t\t * this component\n\t\t */\n\t\tlabelOutside: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * The placeholder of the input. This defaults as the string that's\n\t\t * passed into the label prop. In order to remove the placeholder,\n\t\t * pass in an empty string.\n\t\t */\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Controls whether to display the trailing button.\n\t\t */\n\t\tshowTrailingButton: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Label of the trailing button\n\t\t *\n\t\t * Required when showTrailingButton is set\n\t\t */\n\t\ttrailingButtonLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Toggles the success state of the component. Adds a checkmark icon.\n\t\t * this cannot be used together with canClear.\n\t\t */\n\t\tsuccess: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Toggles the error state of the component. Adds an error icon.\n\t\t * this cannot be used together with canClear.\n\t\t */\n\t\terror: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Additional helper text message\n\t\t *\n\t\t * This will be displayed beneath the input field. In case the field is\n\t\t * also marked as having an error, the text will be displayed in red.\n\t\t */\n\t\thelperText: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Disable the input field\n\t\t */\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Specifies whether the input should have a pill form.\n\t\t * By default, input has rounded corners.\n\t\t */\n\t\tpill: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Class to add to the input field.\n\t\t * Necessary to use NcInputField in the NcActionInput component.\n\t\t */\n\t\tinputClass: {\n\t\t\ttype: [Object, String],\n\t\t\tdefault: '',\n\t\t},\n\t},\n\n\temits: [\n\t\t'update:value',\n\t\t'trailing-button-click',\n\t],\n\n\tcomputed: {\n\t\tcomputedId() {\n\t\t\treturn this.$attrs.id && this.$attrs.id !== '' ? this.$attrs.id : this.inputName\n\t\t},\n\n\t\tinputName() {\n\t\t\treturn 'input' + GenRandomId()\n\t\t},\n\n\t\thasLeadingIcon() {\n\t\t\treturn this.$slots.default\n\t\t},\n\n\t\thasTrailingIcon() {\n\t\t\treturn this.success\n\t\t},\n\n\t\thasPlaceholder() {\n\t\t\treturn this.placeholder !== '' && this.placeholder !== undefined\n\t\t},\n\n\t\tcomputedPlaceholder() {\n\t\t\treturn this.hasPlaceholder ? this.placeholder : this.label\n\t\t},\n\n\t\tisValidLabel() {\n\t\t\tconst isValidLabel = this.label || this.labelOutside\n\t\t\tif (!isValidLabel) {\n\t\t\t\tconsole.warn('You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation.')\n\t\t\t}\n\t\t\treturn isValidLabel\n\t\t},\n\n\t\tariaDescribedby() {\n\t\t\tconst ariaDescribedby = []\n\t\t\tif (this.helperText.length > 0) {\n\t\t\t\tariaDescribedby.push(`${this.inputName}-helper-text`)\n\t\t\t}\n\t\t\tif (this.$attrs['aria-describedby']) {\n\t\t\t\tariaDescribedby.push(this.$attrs['aria-describedby'])\n\t\t\t}\n\t\t\treturn ariaDescribedby.join(' ') || null\n\t\t},\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * Focus the input element\n\t\t *\n\t\t * @public\n\t\t */\n\t\tfocus() {\n\t\t\tthis.$refs.input.focus()\n\t\t},\n\n\t\t/**\n\t\t * Select all the text in the input\n\t\t *\n\t\t * @public\n\t\t */\n\t\tselect() {\n\t\t\tthis.$refs.input.select()\n\t\t},\n\n\t\thandleInput(event) {\n\t\t\tthis.$emit('update:value', this.type === 'number' && typeof this.value === 'number' ? parseFloat(event.target.value, 10) : event.target.value)\n\t\t},\n\n\t\thandleTrailingButtonClick(event) {\n\t\t\tthis.$emit('trailing-button-click', event)\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.input-field {\n\t--input-border-radius: var(--border-radius-element, var(--border-radius-large));\n\t// The padding before the input can start (leading button or border)\n\t--input-padding-start: var(--border-radius-large);\n\t// The padding where the input has to end (trailing button or border)\n\t--input-padding-end: var(--border-radius-large);\n\t// positional styles\n\tposition: relative;\n\twidth: 100%;\n\tmargin-block-start: 6px; // for the label in active state\n\n\t&--disabled {\n\t\topacity: 0.4;\n\t\tfilter: saturate(0.4);\n\t}\n\n\t// If there is no internal label we reset the margin reserved for it\n\t&--label-outside {\n\t\tmargin-block-start: 0;\n\t}\n\n\t&--leading-icon {\n\t\t--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline));\n\t}\n\n\t&--trailing-icon {\n\t\t--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline));\n\t}\n\n\t&--pill {\n\t\t--input-border-radius: var(--border-radius-pill);\n\t}\n\n\t&__main-wrapper {\n\t\theight: var(--default-clickable-area);\n\t\tposition: relative;\n\t}\n\n\t&__input {\n\t\t// If border width differes between focused and unfocused we need to compensate to prevent jumping\n\t\t--input-border-width-offset: calc(var(--border-width-input-focused, 2px) - var(--border-width-input, 2px));\n\t\tbackground-color: var(--color-main-background);\n\t\tcolor: var(--color-main-text);\n\t\tborder: var(--border-width-input, 2px) solid var(--color-border-maxcontrast);\n\t\tborder-radius: var(--input-border-radius);\n\n\t\tcursor: pointer;\n\t\t-webkit-appearance: textfield !important;\n\t\t-moz-appearance: textfield !important;\n\t\tappearance: textfield !important;\n\n\t\tfont-size: var(--default-font-size);\n\t\ttext-overflow: ellipsis;\n\n\t\theight: calc(var(--default-clickable-area) - 2 * var(--input-border-width-offset)) !important;\n\t\twidth: 100%;\n\n\t\tpadding-inline: calc(var(--input-padding-start) + var(--input-border-width-offset)) calc(var(--input-padding-end) + var(--input-border-width-offset));\n\t\tpadding-block: var(--input-border-width-offset);\n\n\t\t&:active:not([disabled]),\n\t\t&:hover:not([disabled]),\n\t\t&:focus:not([disabled]) {\n\t\t\tborder-width: var(--border-width-input-focused, 2px);\n\t\t\tborder-color: var(--color-main-text) !important;\n\t\t\tbox-shadow: 0 0 0 2px var(--color-main-background) !important;\n\t\t\t// Reset padding offset when focused\n\t\t\t--input-border-width-offset: 0px;\n\t\t}\n\n\t\t&:focus + .input-field__label,\n\t\t&:hover:not(:placeholder-shown) + .input-field__label {\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\n\t\t&:focus {\n\t\t\tcursor: text;\n\t\t}\n\n\t\t&:disabled {\n\t\t\tcursor: default;\n\t\t}\n\n\t\t&:focus-visible {\n\t\t\tbox-shadow: unset !important; // Override server rules\n\t\t}\n\n\t\t&--success {\n\t\t\tborder-color: var(--color-success) !important; //Override hover border color\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px\n\t\t\t}\n\t\t}\n\n\t\t&--error {\n\t\t\tborder-color: var(--color-error) !important; //Override hover border color\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px\n\t\t\t}\n\t\t}\n\t}\n\n\t// Hide placeholder while not focussed -> show label instead (only if internal label is used)\n\t&:not(&--label-outside) &__input:not(:focus)::placeholder {\n\t\topacity: 0;\n\t}\n\n\t&__label {\n\t\t--input-label-font-size: var(--default-font-size);\n\t\tposition: absolute;\n\t\tmargin-inline: var(--input-padding-start) var(--input-padding-end);\n\t\tmax-width: fit-content;\n\t\tfont-size: var(--input-label-font-size);\n\t\tinset-block-start: calc((var(--default-clickable-area) - var(--default-line-height)) / 2); // center the label vertically\n\t\tinset-inline: var(--border-width-input-focused, 2px);\n\t\t// Fix color so that users do not think the input already has content\n\t\tcolor: var(--color-text-maxcontrast);\n\t\t// only one line labels are allowed\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\t// forward events to input\n\t\tpointer-events: none;\n\t\t// Position transition\n\t\ttransition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick), background-color var(--animation-quick) var(--animation-slow);\n\t}\n\n\t&__input:focus + &__label,\n\t&__input:not(:placeholder-shown) + &__label {\n\t\t--input-label-font-size: 13px; // minimum allowed font size for accessibility\n\t\tline-height: 1.5; // minimum allowed line height for accessibility\n\t\t// 1.5 * font-size = line-height; line-height / 2 for centering and make it negative as we need to move outside the element\n\t\tinset-block-start: calc(-1.5 * var(--input-label-font-size) / 2);\n\t\tfont-weight: 500;\n\t\tborder-radius: var(--default-grid-baseline) var(--default-grid-baseline) 0 0;\n\t\tbackground-color: var(--color-main-background);\n\t\tpadding-inline: var(--default-grid-baseline);\n\t\tmargin-inline: calc(var(--input-padding-start) - var(--default-grid-baseline)) calc(var(--input-padding-end) - var(--default-grid-baseline));\n\n\t\ttransition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick);\n\t}\n\n\t&__icon {\n\t\tposition: absolute;\n\t\theight: var(--default-clickable-area);\n\t\twidth: var(--default-clickable-area);\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\topacity: 0.7;\n\n\t\tinset-block-end: 0;\n\n\t\t&--leading {\n\t\t\tinset-inline-start: 0px;\n\t\t}\n\n\t\t&--trailing {\n\t\t\tinset-inline-end: 0px;\n\t\t}\n\t}\n\n\t&__trailing-button {\n\t\t--button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;\n\t\t--button-radius: calc(var(--input-border-radius) - var(--border-width-input-focused, 2px)); // lower radius as size is smaller\n\n\t\t&.button-vue {\n\t\t\tposition: absolute;\n\t\t\ttop: var(--border-width-input-focused, 2px);\n\t\t\tright: var(--border-width-input-focused, 2px);\n\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: none !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__helper-text-message {\n\t\tpadding-block: 4px;\n\t\tpadding-inline: var(--border-radius-large);\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\t&__icon {\n\t\t\tmargin-inline-end: 8px;\n\t\t}\n\n\t\t&--error {\n\t\t\tcolor: var(--color-error-text);\n\t\t}\n\n\t\t&--success {\n\t\t\tcolor: var(--color-success-text);\n\t\t}\n\t}\n}\n</style>\n"],"names":["NcButton","AlertCircle","Check","GenRandomId"],"mappings":"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"}
1
+ {"version":3,"file":"NcInputField.cjs","sources":["../../src/components/NcInputField/NcInputField.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\n### Description\n\nThis component is used by the other Fields components.\nIt extends and styles an HTMLInputElement.\n\nYou cannot use it as is. This is here for documentation purposes.\nSee the other field components.\n\nFor a list of all available props and attributes, please check the [HTMLInputElement documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attributes)\n\n</docs>\n\n<template>\n\t<div class=\"input-field\"\n\t\t:class=\"{\n\t\t\t'input-field--disabled': disabled,\n\t\t\t'input-field--label-outside': labelOutside || !isValidLabel,\n\t\t\t'input-field--leading-icon': hasLeadingIcon,\n\t\t\t'input-field--trailing-icon': showTrailingButton || hasTrailingIcon,\n\t\t\t'input-field--pill': pill,\n\t\t}\">\n\t\t<div class=\"input-field__main-wrapper\">\n\t\t\t<input v-bind=\"$attrs\"\n\t\t\t\t:id=\"computedId\"\n\t\t\t\tref=\"input\"\n\t\t\t\tclass=\"input-field__input\"\n\t\t\t\t:type=\"type\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:placeholder=\"computedPlaceholder\"\n\t\t\t\t:aria-describedby=\"ariaDescribedby\"\n\t\t\t\taria-live=\"polite\"\n\t\t\t\t:class=\"[inputClass,\n\t\t\t\t\t{\n\t\t\t\t\t\t'input-field__input--success': success,\n\t\t\t\t\t\t'input-field__input--error': error,\n\t\t\t\t\t}]\"\n\t\t\t\t:value=\"value.toString()\"\n\t\t\t\tv-on=\"$listeners\"\n\t\t\t\t@input=\"handleInput\">\n\t\t\t<!-- Label -->\n\t\t\t<label v-if=\"!labelOutside && isValidLabel\"\n\t\t\t\tclass=\"input-field__label\"\n\t\t\t\t:for=\"computedId\">\n\t\t\t\t{{ label }}\n\t\t\t</label>\n\n\t\t\t<!-- Leading icon -->\n\t\t\t<div v-show=\"hasLeadingIcon\" class=\"input-field__icon input-field__icon--leading\">\n\t\t\t\t<!-- Leading material design icon in the text field, set the size to 18 -->\n\t\t\t\t<slot />\n\t\t\t</div>\n\n\t\t\t<!-- trailing button -->\n\t\t\t<NcButton v-if=\"showTrailingButton\"\n\t\t\t\ttype=\"tertiary-no-background\"\n\t\t\t\tclass=\"input-field__trailing-button\"\n\t\t\t\t:aria-label=\"trailingButtonLabel\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t@click=\"handleTrailingButtonClick\">\n\t\t\t\t<!-- Populating this slot creates a trailing button within the\n\t\t\t\tinput boundaries that emits a `trailing-button-click` event -->\n\t\t\t\t<template #icon>\n\t\t\t\t\t<slot name=\"trailing-button-icon\" />\n\t\t\t\t</template>\n\t\t\t</NcButton>\n\n\t\t\t<!-- Success and error icons -->\n\t\t\t<div v-else-if=\"success || error\"\n\t\t\t\tclass=\"input-field__icon input-field__icon--trailing\">\n\t\t\t\t<Check v-if=\"success\" :size=\"20\" style=\"color: var(--color-success-text);\" />\n\t\t\t\t<AlertCircle v-else-if=\"error\" :size=\"20\" style=\"color: var(--color-error-text);\" />\n\t\t\t</div>\n\t\t</div>\n\t\t<p v-if=\"helperText.length > 0\"\n\t\t\t:id=\"`${inputName}-helper-text`\"\n\t\t\tclass=\"input-field__helper-text-message\"\n\t\t\t:class=\"{\n\t\t\t\t'input-field__helper-text-message--error': error,\n\t\t\t\t'input-field__helper-text-message--success': success,\n\t\t\t}\">\n\t\t\t<Check v-if=\"success\" class=\"input-field__helper-text-message__icon\" :size=\"18\" />\n\t\t\t<AlertCircle v-else-if=\"error\" class=\"input-field__helper-text-message__icon\" :size=\"18\" />\n\t\t\t{{ helperText }}\n\t\t</p>\n\t</div>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport GenRandomId from '../../utils/GenRandomId.js'\n\nimport AlertCircle from 'vue-material-design-icons/AlertCircleOutline.vue'\nimport Check from 'vue-material-design-icons/Check.vue'\n\nexport default {\n\tname: 'NcInputField',\n\n\tcomponents: {\n\t\tNcButton,\n\t\tAlertCircle,\n\t\tCheck,\n\t},\n\n\tinheritAttrs: false,\n\n\tprops: {\n\t\t/**\n\t\t * The value of the input field\n\t\t * If type is 'number' and a number is passed as value than the type of `update:value` will also be 'number'\n\t\t */\n\t\tvalue: {\n\t\t\ttype: [String, Number],\n\t\t\trequired: true,\n\t\t},\n\n\t\t/**\n\t\t * The type of the input element\n\t\t */\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'text',\n\t\t\tvalidator: (value) => [\n\t\t\t\t'text',\n\t\t\t\t'password',\n\t\t\t\t'email',\n\t\t\t\t'tel',\n\t\t\t\t'url',\n\t\t\t\t'search',\n\t\t\t\t'number',\n\t\t\t].includes(value),\n\t\t},\n\n\t\t/**\n\t\t * The input label, always provide one for accessibility purposes.\n\t\t * This will also be used as a placeholder unless the placeholder\n\t\t * prop is populated with a different string.\n\t\t *\n\t\t * Note: If the background color is not `--color-main-background` consider using an external label instead (see `labelOutside`).\n\t\t */\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Pass in true if you want to use an external label. This is useful\n\t\t * if you need a label that looks different from the one provided by\n\t\t * this component\n\t\t */\n\t\tlabelOutside: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * The placeholder of the input. This defaults as the string that's\n\t\t * passed into the label prop. In order to remove the placeholder,\n\t\t * pass in an empty string.\n\t\t */\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Controls whether to display the trailing button.\n\t\t */\n\t\tshowTrailingButton: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Label of the trailing button\n\t\t *\n\t\t * Required when showTrailingButton is set\n\t\t */\n\t\ttrailingButtonLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Toggles the success state of the component. Adds a checkmark icon.\n\t\t * this cannot be used together with canClear.\n\t\t */\n\t\tsuccess: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Toggles the error state of the component. Adds an error icon.\n\t\t * this cannot be used together with canClear.\n\t\t */\n\t\terror: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Additional helper text message\n\t\t *\n\t\t * This will be displayed beneath the input field. In case the field is\n\t\t * also marked as having an error, the text will be displayed in red.\n\t\t */\n\t\thelperText: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Disable the input field\n\t\t */\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Specifies whether the input should have a pill form.\n\t\t * By default, input has rounded corners.\n\t\t */\n\t\tpill: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Class to add to the input field.\n\t\t * Necessary to use NcInputField in the NcActionInput component.\n\t\t */\n\t\tinputClass: {\n\t\t\ttype: [Object, String],\n\t\t\tdefault: '',\n\t\t},\n\t},\n\n\temits: [\n\t\t'update:value',\n\t\t'trailing-button-click',\n\t],\n\n\tcomputed: {\n\t\tcomputedId() {\n\t\t\treturn this.$attrs.id && this.$attrs.id !== '' ? this.$attrs.id : this.inputName\n\t\t},\n\n\t\tinputName() {\n\t\t\treturn 'input' + GenRandomId()\n\t\t},\n\n\t\thasLeadingIcon() {\n\t\t\treturn this.$slots.default\n\t\t},\n\n\t\thasTrailingIcon() {\n\t\t\treturn this.success\n\t\t},\n\n\t\thasPlaceholder() {\n\t\t\treturn this.placeholder !== '' && this.placeholder !== undefined\n\t\t},\n\n\t\tcomputedPlaceholder() {\n\t\t\treturn this.hasPlaceholder ? this.placeholder : this.label\n\t\t},\n\n\t\tisValidLabel() {\n\t\t\tconst isValidLabel = this.label || this.labelOutside\n\t\t\tif (!isValidLabel) {\n\t\t\t\tconsole.warn('You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation.')\n\t\t\t}\n\t\t\treturn isValidLabel\n\t\t},\n\n\t\tariaDescribedby() {\n\t\t\tconst ariaDescribedby = []\n\t\t\tif (this.helperText.length > 0) {\n\t\t\t\tariaDescribedby.push(`${this.inputName}-helper-text`)\n\t\t\t}\n\t\t\tif (this.$attrs['aria-describedby']) {\n\t\t\t\tariaDescribedby.push(this.$attrs['aria-describedby'])\n\t\t\t}\n\t\t\treturn ariaDescribedby.join(' ') || null\n\t\t},\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * Focus the input element\n\t\t *\n\t\t * @public\n\t\t */\n\t\tfocus() {\n\t\t\tthis.$refs.input.focus()\n\t\t},\n\n\t\t/**\n\t\t * Select all the text in the input\n\t\t *\n\t\t * @public\n\t\t */\n\t\tselect() {\n\t\t\tthis.$refs.input.select()\n\t\t},\n\n\t\thandleInput(event) {\n\t\t\tthis.$emit('update:value', this.type === 'number' && typeof this.value === 'number' ? parseFloat(event.target.value, 10) : event.target.value)\n\t\t},\n\n\t\thandleTrailingButtonClick(event) {\n\t\t\tthis.$emit('trailing-button-click', event)\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.input-field {\n\t--input-border-radius: var(--border-radius-element, var(--border-radius-large));\n\t// The padding before the input can start (leading button or border)\n\t--input-padding-start: var(--border-radius-large);\n\t// The padding where the input has to end (trailing button or border)\n\t--input-padding-end: var(--border-radius-large);\n\t// positional styles\n\tposition: relative;\n\twidth: 100%;\n\tmargin-block-start: 6px; // for the label in active state\n\n\t&--disabled {\n\t\topacity: 0.4;\n\t\tfilter: saturate(0.4);\n\t}\n\n\t// If there is no internal label we reset the margin reserved for it\n\t&--label-outside {\n\t\tmargin-block-start: 0;\n\t}\n\n\t&--leading-icon {\n\t\t--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline));\n\t}\n\n\t&--trailing-icon {\n\t\t--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline));\n\t}\n\n\t&--pill {\n\t\t--input-border-radius: var(--border-radius-pill);\n\t}\n\n\t&__main-wrapper {\n\t\theight: var(--default-clickable-area);\n\t\tposition: relative;\n\t}\n\n\t&__input {\n\t\t// If border width differes between focused and unfocused we need to compensate to prevent jumping\n\t\t--input-border-width-offset: calc(var(--border-width-input-focused, 2px) - var(--border-width-input, 2px));\n\t\tbackground-color: var(--color-main-background);\n\t\tcolor: var(--color-main-text);\n\t\tborder: var(--border-width-input, 2px) solid var(--color-border-maxcontrast);\n\t\tborder-radius: var(--input-border-radius);\n\n\t\tcursor: pointer;\n\t\t-webkit-appearance: textfield !important;\n\t\t-moz-appearance: textfield !important;\n\t\tappearance: textfield !important;\n\n\t\tfont-size: var(--default-font-size);\n\t\ttext-overflow: ellipsis;\n\n\t\theight: calc(var(--default-clickable-area) - 2 * var(--input-border-width-offset)) !important;\n\t\twidth: 100%;\n\n\t\tpadding-inline: calc(var(--input-padding-start) + var(--input-border-width-offset)) calc(var(--input-padding-end) + var(--input-border-width-offset));\n\t\tpadding-block: var(--input-border-width-offset);\n\n\t\t&::placeholder {\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\n\t\t&:active:not([disabled]),\n\t\t&:hover:not([disabled]),\n\t\t&:focus:not([disabled]) {\n\t\t\tborder-width: var(--border-width-input-focused, 2px);\n\t\t\tborder-color: var(--color-main-text) !important;\n\t\t\tbox-shadow: 0 0 0 2px var(--color-main-background) !important;\n\t\t\t// Reset padding offset when focused\n\t\t\t--input-border-width-offset: 0px;\n\t\t}\n\n\t\t&:focus + .input-field__label,\n\t\t&:hover:not(:placeholder-shown) + .input-field__label {\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\n\t\t&:focus {\n\t\t\tcursor: text;\n\t\t}\n\n\t\t&:disabled {\n\t\t\tcursor: default;\n\t\t}\n\n\t\t&:focus-visible {\n\t\t\tbox-shadow: unset !important; // Override server rules\n\t\t}\n\n\t\t&--success {\n\t\t\tborder-color: var(--color-success) !important; //Override hover border color\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px\n\t\t\t}\n\t\t}\n\n\t\t&--error {\n\t\t\tborder-color: var(--color-error) !important; //Override hover border color\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px\n\t\t\t}\n\t\t}\n\t}\n\n\t// Hide placeholder while not focussed -> show label instead (only if internal label is used)\n\t&:not(&--label-outside) &__input:not(:focus)::placeholder {\n\t\topacity: 0;\n\t}\n\n\t&__label {\n\t\t--input-label-font-size: var(--default-font-size);\n\t\tposition: absolute;\n\t\tmargin-inline: var(--input-padding-start) var(--input-padding-end);\n\t\tmax-width: fit-content;\n\t\tfont-size: var(--input-label-font-size);\n\t\tinset-block-start: calc((var(--default-clickable-area) - var(--default-line-height)) / 2); // center the label vertically\n\t\tinset-inline: var(--border-width-input-focused, 2px);\n\t\t// Fix color so that users do not think the input already has content\n\t\tcolor: var(--color-text-maxcontrast);\n\t\t// only one line labels are allowed\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\t// forward events to input\n\t\tpointer-events: none;\n\t\t// Position transition\n\t\ttransition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick), background-color var(--animation-quick) var(--animation-slow);\n\t}\n\n\t&__input:focus + &__label,\n\t&__input:not(:placeholder-shown) + &__label {\n\t\t--input-label-font-size: 13px; // minimum allowed font size for accessibility\n\t\tline-height: 1.5; // minimum allowed line height for accessibility\n\t\t// 1.5 * font-size = line-height; line-height / 2 for centering and make it negative as we need to move outside the element\n\t\tinset-block-start: calc(-1.5 * var(--input-label-font-size) / 2);\n\t\tfont-weight: 500;\n\t\tborder-radius: var(--default-grid-baseline) var(--default-grid-baseline) 0 0;\n\t\tbackground-color: var(--color-main-background);\n\t\tpadding-inline: var(--default-grid-baseline);\n\t\tmargin-inline: calc(var(--input-padding-start) - var(--default-grid-baseline)) calc(var(--input-padding-end) - var(--default-grid-baseline));\n\n\t\ttransition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick);\n\t}\n\n\t&__icon {\n\t\tposition: absolute;\n\t\theight: var(--default-clickable-area);\n\t\twidth: var(--default-clickable-area);\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\topacity: 0.7;\n\n\t\tinset-block-end: 0;\n\n\t\t&--leading {\n\t\t\tinset-inline-start: 0px;\n\t\t}\n\n\t\t&--trailing {\n\t\t\tinset-inline-end: 0px;\n\t\t}\n\t}\n\n\t&__trailing-button {\n\t\t--button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;\n\t\t--button-radius: calc(var(--input-border-radius) - var(--border-width-input-focused, 2px)); // lower radius as size is smaller\n\n\t\t&.button-vue {\n\t\t\tposition: absolute;\n\t\t\ttop: var(--border-width-input-focused, 2px);\n\t\t\tright: var(--border-width-input-focused, 2px);\n\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: none !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__helper-text-message {\n\t\tpadding-block: 4px;\n\t\tpadding-inline: var(--border-radius-large);\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\t&__icon {\n\t\t\tmargin-inline-end: 8px;\n\t\t}\n\n\t\t&--error {\n\t\t\tcolor: var(--color-error-text);\n\t\t}\n\n\t\t&--success {\n\t\t\tcolor: var(--color-success-text);\n\t\t}\n\t}\n}\n</style>\n"],"names":["NcButton","AlertCircle","Check","GenRandomId"],"mappings":"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"}
@@ -1,4 +1,4 @@
1
- import '../assets/NcInputField-B7T0X2lM.css';
1
+ import '../assets/NcInputField-BcdNbzaE.css';
2
2
  import NcButton from "./NcButton.mjs";
3
3
  import { G as GenRandomId } from "../chunks/GenRandomId-CMooMQt0.mjs";
4
4
  import { A as AlertCircle } from "../chunks/AlertCircleOutline-BzttElgq.mjs";
@@ -226,7 +226,7 @@ var __component__ = /* @__PURE__ */ normalizeComponent(
226
226
  _sfc_staticRenderFns,
227
227
  false,
228
228
  null,
229
- "07b05442",
229
+ "1a8b7a28",
230
230
  null,
231
231
  null
232
232
  );
@@ -1 +1 @@
1
- {"version":3,"file":"NcInputField.mjs","sources":["../../src/components/NcInputField/NcInputField.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\n### Description\n\nThis component is used by the other Fields components.\nIt extends and styles an HTMLInputElement.\n\nYou cannot use it as is. This is here for documentation purposes.\nSee the other field components.\n\nFor a list of all available props and attributes, please check the [HTMLInputElement documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attributes)\n\n</docs>\n\n<template>\n\t<div class=\"input-field\"\n\t\t:class=\"{\n\t\t\t'input-field--disabled': disabled,\n\t\t\t'input-field--label-outside': labelOutside || !isValidLabel,\n\t\t\t'input-field--leading-icon': hasLeadingIcon,\n\t\t\t'input-field--trailing-icon': showTrailingButton || hasTrailingIcon,\n\t\t\t'input-field--pill': pill,\n\t\t}\">\n\t\t<div class=\"input-field__main-wrapper\">\n\t\t\t<input v-bind=\"$attrs\"\n\t\t\t\t:id=\"computedId\"\n\t\t\t\tref=\"input\"\n\t\t\t\tclass=\"input-field__input\"\n\t\t\t\t:type=\"type\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:placeholder=\"computedPlaceholder\"\n\t\t\t\t:aria-describedby=\"ariaDescribedby\"\n\t\t\t\taria-live=\"polite\"\n\t\t\t\t:class=\"[inputClass,\n\t\t\t\t\t{\n\t\t\t\t\t\t'input-field__input--success': success,\n\t\t\t\t\t\t'input-field__input--error': error,\n\t\t\t\t\t}]\"\n\t\t\t\t:value=\"value.toString()\"\n\t\t\t\tv-on=\"$listeners\"\n\t\t\t\t@input=\"handleInput\">\n\t\t\t<!-- Label -->\n\t\t\t<label v-if=\"!labelOutside && isValidLabel\"\n\t\t\t\tclass=\"input-field__label\"\n\t\t\t\t:for=\"computedId\">\n\t\t\t\t{{ label }}\n\t\t\t</label>\n\n\t\t\t<!-- Leading icon -->\n\t\t\t<div v-show=\"hasLeadingIcon\" class=\"input-field__icon input-field__icon--leading\">\n\t\t\t\t<!-- Leading material design icon in the text field, set the size to 18 -->\n\t\t\t\t<slot />\n\t\t\t</div>\n\n\t\t\t<!-- trailing button -->\n\t\t\t<NcButton v-if=\"showTrailingButton\"\n\t\t\t\ttype=\"tertiary-no-background\"\n\t\t\t\tclass=\"input-field__trailing-button\"\n\t\t\t\t:aria-label=\"trailingButtonLabel\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t@click=\"handleTrailingButtonClick\">\n\t\t\t\t<!-- Populating this slot creates a trailing button within the\n\t\t\t\tinput boundaries that emits a `trailing-button-click` event -->\n\t\t\t\t<template #icon>\n\t\t\t\t\t<slot name=\"trailing-button-icon\" />\n\t\t\t\t</template>\n\t\t\t</NcButton>\n\n\t\t\t<!-- Success and error icons -->\n\t\t\t<div v-else-if=\"success || error\"\n\t\t\t\tclass=\"input-field__icon input-field__icon--trailing\">\n\t\t\t\t<Check v-if=\"success\" :size=\"20\" style=\"color: var(--color-success-text);\" />\n\t\t\t\t<AlertCircle v-else-if=\"error\" :size=\"20\" style=\"color: var(--color-error-text);\" />\n\t\t\t</div>\n\t\t</div>\n\t\t<p v-if=\"helperText.length > 0\"\n\t\t\t:id=\"`${inputName}-helper-text`\"\n\t\t\tclass=\"input-field__helper-text-message\"\n\t\t\t:class=\"{\n\t\t\t\t'input-field__helper-text-message--error': error,\n\t\t\t\t'input-field__helper-text-message--success': success,\n\t\t\t}\">\n\t\t\t<Check v-if=\"success\" class=\"input-field__helper-text-message__icon\" :size=\"18\" />\n\t\t\t<AlertCircle v-else-if=\"error\" class=\"input-field__helper-text-message__icon\" :size=\"18\" />\n\t\t\t{{ helperText }}\n\t\t</p>\n\t</div>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport GenRandomId from '../../utils/GenRandomId.js'\n\nimport AlertCircle from 'vue-material-design-icons/AlertCircleOutline.vue'\nimport Check from 'vue-material-design-icons/Check.vue'\n\nexport default {\n\tname: 'NcInputField',\n\n\tcomponents: {\n\t\tNcButton,\n\t\tAlertCircle,\n\t\tCheck,\n\t},\n\n\tinheritAttrs: false,\n\n\tprops: {\n\t\t/**\n\t\t * The value of the input field\n\t\t * If type is 'number' and a number is passed as value than the type of `update:value` will also be 'number'\n\t\t */\n\t\tvalue: {\n\t\t\ttype: [String, Number],\n\t\t\trequired: true,\n\t\t},\n\n\t\t/**\n\t\t * The type of the input element\n\t\t */\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'text',\n\t\t\tvalidator: (value) => [\n\t\t\t\t'text',\n\t\t\t\t'password',\n\t\t\t\t'email',\n\t\t\t\t'tel',\n\t\t\t\t'url',\n\t\t\t\t'search',\n\t\t\t\t'number',\n\t\t\t].includes(value),\n\t\t},\n\n\t\t/**\n\t\t * The input label, always provide one for accessibility purposes.\n\t\t * This will also be used as a placeholder unless the placeholder\n\t\t * prop is populated with a different string.\n\t\t *\n\t\t * Note: If the background color is not `--color-main-background` consider using an external label instead (see `labelOutside`).\n\t\t */\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Pass in true if you want to use an external label. This is useful\n\t\t * if you need a label that looks different from the one provided by\n\t\t * this component\n\t\t */\n\t\tlabelOutside: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * The placeholder of the input. This defaults as the string that's\n\t\t * passed into the label prop. In order to remove the placeholder,\n\t\t * pass in an empty string.\n\t\t */\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Controls whether to display the trailing button.\n\t\t */\n\t\tshowTrailingButton: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Label of the trailing button\n\t\t *\n\t\t * Required when showTrailingButton is set\n\t\t */\n\t\ttrailingButtonLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Toggles the success state of the component. Adds a checkmark icon.\n\t\t * this cannot be used together with canClear.\n\t\t */\n\t\tsuccess: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Toggles the error state of the component. Adds an error icon.\n\t\t * this cannot be used together with canClear.\n\t\t */\n\t\terror: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Additional helper text message\n\t\t *\n\t\t * This will be displayed beneath the input field. In case the field is\n\t\t * also marked as having an error, the text will be displayed in red.\n\t\t */\n\t\thelperText: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Disable the input field\n\t\t */\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Specifies whether the input should have a pill form.\n\t\t * By default, input has rounded corners.\n\t\t */\n\t\tpill: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Class to add to the input field.\n\t\t * Necessary to use NcInputField in the NcActionInput component.\n\t\t */\n\t\tinputClass: {\n\t\t\ttype: [Object, String],\n\t\t\tdefault: '',\n\t\t},\n\t},\n\n\temits: [\n\t\t'update:value',\n\t\t'trailing-button-click',\n\t],\n\n\tcomputed: {\n\t\tcomputedId() {\n\t\t\treturn this.$attrs.id && this.$attrs.id !== '' ? this.$attrs.id : this.inputName\n\t\t},\n\n\t\tinputName() {\n\t\t\treturn 'input' + GenRandomId()\n\t\t},\n\n\t\thasLeadingIcon() {\n\t\t\treturn this.$slots.default\n\t\t},\n\n\t\thasTrailingIcon() {\n\t\t\treturn this.success\n\t\t},\n\n\t\thasPlaceholder() {\n\t\t\treturn this.placeholder !== '' && this.placeholder !== undefined\n\t\t},\n\n\t\tcomputedPlaceholder() {\n\t\t\treturn this.hasPlaceholder ? this.placeholder : this.label\n\t\t},\n\n\t\tisValidLabel() {\n\t\t\tconst isValidLabel = this.label || this.labelOutside\n\t\t\tif (!isValidLabel) {\n\t\t\t\tconsole.warn('You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation.')\n\t\t\t}\n\t\t\treturn isValidLabel\n\t\t},\n\n\t\tariaDescribedby() {\n\t\t\tconst ariaDescribedby = []\n\t\t\tif (this.helperText.length > 0) {\n\t\t\t\tariaDescribedby.push(`${this.inputName}-helper-text`)\n\t\t\t}\n\t\t\tif (this.$attrs['aria-describedby']) {\n\t\t\t\tariaDescribedby.push(this.$attrs['aria-describedby'])\n\t\t\t}\n\t\t\treturn ariaDescribedby.join(' ') || null\n\t\t},\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * Focus the input element\n\t\t *\n\t\t * @public\n\t\t */\n\t\tfocus() {\n\t\t\tthis.$refs.input.focus()\n\t\t},\n\n\t\t/**\n\t\t * Select all the text in the input\n\t\t *\n\t\t * @public\n\t\t */\n\t\tselect() {\n\t\t\tthis.$refs.input.select()\n\t\t},\n\n\t\thandleInput(event) {\n\t\t\tthis.$emit('update:value', this.type === 'number' && typeof this.value === 'number' ? parseFloat(event.target.value, 10) : event.target.value)\n\t\t},\n\n\t\thandleTrailingButtonClick(event) {\n\t\t\tthis.$emit('trailing-button-click', event)\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.input-field {\n\t--input-border-radius: var(--border-radius-element, var(--border-radius-large));\n\t// The padding before the input can start (leading button or border)\n\t--input-padding-start: var(--border-radius-large);\n\t// The padding where the input has to end (trailing button or border)\n\t--input-padding-end: var(--border-radius-large);\n\t// positional styles\n\tposition: relative;\n\twidth: 100%;\n\tmargin-block-start: 6px; // for the label in active state\n\n\t&--disabled {\n\t\topacity: 0.4;\n\t\tfilter: saturate(0.4);\n\t}\n\n\t// If there is no internal label we reset the margin reserved for it\n\t&--label-outside {\n\t\tmargin-block-start: 0;\n\t}\n\n\t&--leading-icon {\n\t\t--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline));\n\t}\n\n\t&--trailing-icon {\n\t\t--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline));\n\t}\n\n\t&--pill {\n\t\t--input-border-radius: var(--border-radius-pill);\n\t}\n\n\t&__main-wrapper {\n\t\theight: var(--default-clickable-area);\n\t\tposition: relative;\n\t}\n\n\t&__input {\n\t\t// If border width differes between focused and unfocused we need to compensate to prevent jumping\n\t\t--input-border-width-offset: calc(var(--border-width-input-focused, 2px) - var(--border-width-input, 2px));\n\t\tbackground-color: var(--color-main-background);\n\t\tcolor: var(--color-main-text);\n\t\tborder: var(--border-width-input, 2px) solid var(--color-border-maxcontrast);\n\t\tborder-radius: var(--input-border-radius);\n\n\t\tcursor: pointer;\n\t\t-webkit-appearance: textfield !important;\n\t\t-moz-appearance: textfield !important;\n\t\tappearance: textfield !important;\n\n\t\tfont-size: var(--default-font-size);\n\t\ttext-overflow: ellipsis;\n\n\t\theight: calc(var(--default-clickable-area) - 2 * var(--input-border-width-offset)) !important;\n\t\twidth: 100%;\n\n\t\tpadding-inline: calc(var(--input-padding-start) + var(--input-border-width-offset)) calc(var(--input-padding-end) + var(--input-border-width-offset));\n\t\tpadding-block: var(--input-border-width-offset);\n\n\t\t&:active:not([disabled]),\n\t\t&:hover:not([disabled]),\n\t\t&:focus:not([disabled]) {\n\t\t\tborder-width: var(--border-width-input-focused, 2px);\n\t\t\tborder-color: var(--color-main-text) !important;\n\t\t\tbox-shadow: 0 0 0 2px var(--color-main-background) !important;\n\t\t\t// Reset padding offset when focused\n\t\t\t--input-border-width-offset: 0px;\n\t\t}\n\n\t\t&:focus + .input-field__label,\n\t\t&:hover:not(:placeholder-shown) + .input-field__label {\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\n\t\t&:focus {\n\t\t\tcursor: text;\n\t\t}\n\n\t\t&:disabled {\n\t\t\tcursor: default;\n\t\t}\n\n\t\t&:focus-visible {\n\t\t\tbox-shadow: unset !important; // Override server rules\n\t\t}\n\n\t\t&--success {\n\t\t\tborder-color: var(--color-success) !important; //Override hover border color\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px\n\t\t\t}\n\t\t}\n\n\t\t&--error {\n\t\t\tborder-color: var(--color-error) !important; //Override hover border color\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px\n\t\t\t}\n\t\t}\n\t}\n\n\t// Hide placeholder while not focussed -> show label instead (only if internal label is used)\n\t&:not(&--label-outside) &__input:not(:focus)::placeholder {\n\t\topacity: 0;\n\t}\n\n\t&__label {\n\t\t--input-label-font-size: var(--default-font-size);\n\t\tposition: absolute;\n\t\tmargin-inline: var(--input-padding-start) var(--input-padding-end);\n\t\tmax-width: fit-content;\n\t\tfont-size: var(--input-label-font-size);\n\t\tinset-block-start: calc((var(--default-clickable-area) - var(--default-line-height)) / 2); // center the label vertically\n\t\tinset-inline: var(--border-width-input-focused, 2px);\n\t\t// Fix color so that users do not think the input already has content\n\t\tcolor: var(--color-text-maxcontrast);\n\t\t// only one line labels are allowed\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\t// forward events to input\n\t\tpointer-events: none;\n\t\t// Position transition\n\t\ttransition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick), background-color var(--animation-quick) var(--animation-slow);\n\t}\n\n\t&__input:focus + &__label,\n\t&__input:not(:placeholder-shown) + &__label {\n\t\t--input-label-font-size: 13px; // minimum allowed font size for accessibility\n\t\tline-height: 1.5; // minimum allowed line height for accessibility\n\t\t// 1.5 * font-size = line-height; line-height / 2 for centering and make it negative as we need to move outside the element\n\t\tinset-block-start: calc(-1.5 * var(--input-label-font-size) / 2);\n\t\tfont-weight: 500;\n\t\tborder-radius: var(--default-grid-baseline) var(--default-grid-baseline) 0 0;\n\t\tbackground-color: var(--color-main-background);\n\t\tpadding-inline: var(--default-grid-baseline);\n\t\tmargin-inline: calc(var(--input-padding-start) - var(--default-grid-baseline)) calc(var(--input-padding-end) - var(--default-grid-baseline));\n\n\t\ttransition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick);\n\t}\n\n\t&__icon {\n\t\tposition: absolute;\n\t\theight: var(--default-clickable-area);\n\t\twidth: var(--default-clickable-area);\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\topacity: 0.7;\n\n\t\tinset-block-end: 0;\n\n\t\t&--leading {\n\t\t\tinset-inline-start: 0px;\n\t\t}\n\n\t\t&--trailing {\n\t\t\tinset-inline-end: 0px;\n\t\t}\n\t}\n\n\t&__trailing-button {\n\t\t--button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;\n\t\t--button-radius: calc(var(--input-border-radius) - var(--border-width-input-focused, 2px)); // lower radius as size is smaller\n\n\t\t&.button-vue {\n\t\t\tposition: absolute;\n\t\t\ttop: var(--border-width-input-focused, 2px);\n\t\t\tright: var(--border-width-input-focused, 2px);\n\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: none !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__helper-text-message {\n\t\tpadding-block: 4px;\n\t\tpadding-inline: var(--border-radius-large);\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\t&__icon {\n\t\t\tmargin-inline-end: 8px;\n\t\t}\n\n\t\t&--error {\n\t\t\tcolor: var(--color-error-text);\n\t\t}\n\n\t\t&--success {\n\t\t\tcolor: var(--color-success-text);\n\t\t}\n\t}\n}\n</style>\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"NcInputField.mjs","sources":["../../src/components/NcInputField/NcInputField.vue"],"sourcesContent":["<!--\n - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<docs>\n### Description\n\nThis component is used by the other Fields components.\nIt extends and styles an HTMLInputElement.\n\nYou cannot use it as is. This is here for documentation purposes.\nSee the other field components.\n\nFor a list of all available props and attributes, please check the [HTMLInputElement documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attributes)\n\n</docs>\n\n<template>\n\t<div class=\"input-field\"\n\t\t:class=\"{\n\t\t\t'input-field--disabled': disabled,\n\t\t\t'input-field--label-outside': labelOutside || !isValidLabel,\n\t\t\t'input-field--leading-icon': hasLeadingIcon,\n\t\t\t'input-field--trailing-icon': showTrailingButton || hasTrailingIcon,\n\t\t\t'input-field--pill': pill,\n\t\t}\">\n\t\t<div class=\"input-field__main-wrapper\">\n\t\t\t<input v-bind=\"$attrs\"\n\t\t\t\t:id=\"computedId\"\n\t\t\t\tref=\"input\"\n\t\t\t\tclass=\"input-field__input\"\n\t\t\t\t:type=\"type\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:placeholder=\"computedPlaceholder\"\n\t\t\t\t:aria-describedby=\"ariaDescribedby\"\n\t\t\t\taria-live=\"polite\"\n\t\t\t\t:class=\"[inputClass,\n\t\t\t\t\t{\n\t\t\t\t\t\t'input-field__input--success': success,\n\t\t\t\t\t\t'input-field__input--error': error,\n\t\t\t\t\t}]\"\n\t\t\t\t:value=\"value.toString()\"\n\t\t\t\tv-on=\"$listeners\"\n\t\t\t\t@input=\"handleInput\">\n\t\t\t<!-- Label -->\n\t\t\t<label v-if=\"!labelOutside && isValidLabel\"\n\t\t\t\tclass=\"input-field__label\"\n\t\t\t\t:for=\"computedId\">\n\t\t\t\t{{ label }}\n\t\t\t</label>\n\n\t\t\t<!-- Leading icon -->\n\t\t\t<div v-show=\"hasLeadingIcon\" class=\"input-field__icon input-field__icon--leading\">\n\t\t\t\t<!-- Leading material design icon in the text field, set the size to 18 -->\n\t\t\t\t<slot />\n\t\t\t</div>\n\n\t\t\t<!-- trailing button -->\n\t\t\t<NcButton v-if=\"showTrailingButton\"\n\t\t\t\ttype=\"tertiary-no-background\"\n\t\t\t\tclass=\"input-field__trailing-button\"\n\t\t\t\t:aria-label=\"trailingButtonLabel\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t@click=\"handleTrailingButtonClick\">\n\t\t\t\t<!-- Populating this slot creates a trailing button within the\n\t\t\t\tinput boundaries that emits a `trailing-button-click` event -->\n\t\t\t\t<template #icon>\n\t\t\t\t\t<slot name=\"trailing-button-icon\" />\n\t\t\t\t</template>\n\t\t\t</NcButton>\n\n\t\t\t<!-- Success and error icons -->\n\t\t\t<div v-else-if=\"success || error\"\n\t\t\t\tclass=\"input-field__icon input-field__icon--trailing\">\n\t\t\t\t<Check v-if=\"success\" :size=\"20\" style=\"color: var(--color-success-text);\" />\n\t\t\t\t<AlertCircle v-else-if=\"error\" :size=\"20\" style=\"color: var(--color-error-text);\" />\n\t\t\t</div>\n\t\t</div>\n\t\t<p v-if=\"helperText.length > 0\"\n\t\t\t:id=\"`${inputName}-helper-text`\"\n\t\t\tclass=\"input-field__helper-text-message\"\n\t\t\t:class=\"{\n\t\t\t\t'input-field__helper-text-message--error': error,\n\t\t\t\t'input-field__helper-text-message--success': success,\n\t\t\t}\">\n\t\t\t<Check v-if=\"success\" class=\"input-field__helper-text-message__icon\" :size=\"18\" />\n\t\t\t<AlertCircle v-else-if=\"error\" class=\"input-field__helper-text-message__icon\" :size=\"18\" />\n\t\t\t{{ helperText }}\n\t\t</p>\n\t</div>\n</template>\n\n<script>\nimport NcButton from '../NcButton/index.js'\nimport GenRandomId from '../../utils/GenRandomId.js'\n\nimport AlertCircle from 'vue-material-design-icons/AlertCircleOutline.vue'\nimport Check from 'vue-material-design-icons/Check.vue'\n\nexport default {\n\tname: 'NcInputField',\n\n\tcomponents: {\n\t\tNcButton,\n\t\tAlertCircle,\n\t\tCheck,\n\t},\n\n\tinheritAttrs: false,\n\n\tprops: {\n\t\t/**\n\t\t * The value of the input field\n\t\t * If type is 'number' and a number is passed as value than the type of `update:value` will also be 'number'\n\t\t */\n\t\tvalue: {\n\t\t\ttype: [String, Number],\n\t\t\trequired: true,\n\t\t},\n\n\t\t/**\n\t\t * The type of the input element\n\t\t */\n\t\ttype: {\n\t\t\ttype: String,\n\t\t\tdefault: 'text',\n\t\t\tvalidator: (value) => [\n\t\t\t\t'text',\n\t\t\t\t'password',\n\t\t\t\t'email',\n\t\t\t\t'tel',\n\t\t\t\t'url',\n\t\t\t\t'search',\n\t\t\t\t'number',\n\t\t\t].includes(value),\n\t\t},\n\n\t\t/**\n\t\t * The input label, always provide one for accessibility purposes.\n\t\t * This will also be used as a placeholder unless the placeholder\n\t\t * prop is populated with a different string.\n\t\t *\n\t\t * Note: If the background color is not `--color-main-background` consider using an external label instead (see `labelOutside`).\n\t\t */\n\t\tlabel: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Pass in true if you want to use an external label. This is useful\n\t\t * if you need a label that looks different from the one provided by\n\t\t * this component\n\t\t */\n\t\tlabelOutside: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * The placeholder of the input. This defaults as the string that's\n\t\t * passed into the label prop. In order to remove the placeholder,\n\t\t * pass in an empty string.\n\t\t */\n\t\tplaceholder: {\n\t\t\ttype: String,\n\t\t\tdefault: undefined,\n\t\t},\n\n\t\t/**\n\t\t * Controls whether to display the trailing button.\n\t\t */\n\t\tshowTrailingButton: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Label of the trailing button\n\t\t *\n\t\t * Required when showTrailingButton is set\n\t\t */\n\t\ttrailingButtonLabel: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Toggles the success state of the component. Adds a checkmark icon.\n\t\t * this cannot be used together with canClear.\n\t\t */\n\t\tsuccess: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Toggles the error state of the component. Adds an error icon.\n\t\t * this cannot be used together with canClear.\n\t\t */\n\t\terror: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Additional helper text message\n\t\t *\n\t\t * This will be displayed beneath the input field. In case the field is\n\t\t * also marked as having an error, the text will be displayed in red.\n\t\t */\n\t\thelperText: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\n\t\t/**\n\t\t * Disable the input field\n\t\t */\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Specifies whether the input should have a pill form.\n\t\t * By default, input has rounded corners.\n\t\t */\n\t\tpill: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Class to add to the input field.\n\t\t * Necessary to use NcInputField in the NcActionInput component.\n\t\t */\n\t\tinputClass: {\n\t\t\ttype: [Object, String],\n\t\t\tdefault: '',\n\t\t},\n\t},\n\n\temits: [\n\t\t'update:value',\n\t\t'trailing-button-click',\n\t],\n\n\tcomputed: {\n\t\tcomputedId() {\n\t\t\treturn this.$attrs.id && this.$attrs.id !== '' ? this.$attrs.id : this.inputName\n\t\t},\n\n\t\tinputName() {\n\t\t\treturn 'input' + GenRandomId()\n\t\t},\n\n\t\thasLeadingIcon() {\n\t\t\treturn this.$slots.default\n\t\t},\n\n\t\thasTrailingIcon() {\n\t\t\treturn this.success\n\t\t},\n\n\t\thasPlaceholder() {\n\t\t\treturn this.placeholder !== '' && this.placeholder !== undefined\n\t\t},\n\n\t\tcomputedPlaceholder() {\n\t\t\treturn this.hasPlaceholder ? this.placeholder : this.label\n\t\t},\n\n\t\tisValidLabel() {\n\t\t\tconst isValidLabel = this.label || this.labelOutside\n\t\t\tif (!isValidLabel) {\n\t\t\t\tconsole.warn('You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation.')\n\t\t\t}\n\t\t\treturn isValidLabel\n\t\t},\n\n\t\tariaDescribedby() {\n\t\t\tconst ariaDescribedby = []\n\t\t\tif (this.helperText.length > 0) {\n\t\t\t\tariaDescribedby.push(`${this.inputName}-helper-text`)\n\t\t\t}\n\t\t\tif (this.$attrs['aria-describedby']) {\n\t\t\t\tariaDescribedby.push(this.$attrs['aria-describedby'])\n\t\t\t}\n\t\t\treturn ariaDescribedby.join(' ') || null\n\t\t},\n\t},\n\n\tmethods: {\n\t\t/**\n\t\t * Focus the input element\n\t\t *\n\t\t * @public\n\t\t */\n\t\tfocus() {\n\t\t\tthis.$refs.input.focus()\n\t\t},\n\n\t\t/**\n\t\t * Select all the text in the input\n\t\t *\n\t\t * @public\n\t\t */\n\t\tselect() {\n\t\t\tthis.$refs.input.select()\n\t\t},\n\n\t\thandleInput(event) {\n\t\t\tthis.$emit('update:value', this.type === 'number' && typeof this.value === 'number' ? parseFloat(event.target.value, 10) : event.target.value)\n\t\t},\n\n\t\thandleTrailingButtonClick(event) {\n\t\t\tthis.$emit('trailing-button-click', event)\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\n.input-field {\n\t--input-border-radius: var(--border-radius-element, var(--border-radius-large));\n\t// The padding before the input can start (leading button or border)\n\t--input-padding-start: var(--border-radius-large);\n\t// The padding where the input has to end (trailing button or border)\n\t--input-padding-end: var(--border-radius-large);\n\t// positional styles\n\tposition: relative;\n\twidth: 100%;\n\tmargin-block-start: 6px; // for the label in active state\n\n\t&--disabled {\n\t\topacity: 0.4;\n\t\tfilter: saturate(0.4);\n\t}\n\n\t// If there is no internal label we reset the margin reserved for it\n\t&--label-outside {\n\t\tmargin-block-start: 0;\n\t}\n\n\t&--leading-icon {\n\t\t--input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline));\n\t}\n\n\t&--trailing-icon {\n\t\t--input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline));\n\t}\n\n\t&--pill {\n\t\t--input-border-radius: var(--border-radius-pill);\n\t}\n\n\t&__main-wrapper {\n\t\theight: var(--default-clickable-area);\n\t\tposition: relative;\n\t}\n\n\t&__input {\n\t\t// If border width differes between focused and unfocused we need to compensate to prevent jumping\n\t\t--input-border-width-offset: calc(var(--border-width-input-focused, 2px) - var(--border-width-input, 2px));\n\t\tbackground-color: var(--color-main-background);\n\t\tcolor: var(--color-main-text);\n\t\tborder: var(--border-width-input, 2px) solid var(--color-border-maxcontrast);\n\t\tborder-radius: var(--input-border-radius);\n\n\t\tcursor: pointer;\n\t\t-webkit-appearance: textfield !important;\n\t\t-moz-appearance: textfield !important;\n\t\tappearance: textfield !important;\n\n\t\tfont-size: var(--default-font-size);\n\t\ttext-overflow: ellipsis;\n\n\t\theight: calc(var(--default-clickable-area) - 2 * var(--input-border-width-offset)) !important;\n\t\twidth: 100%;\n\n\t\tpadding-inline: calc(var(--input-padding-start) + var(--input-border-width-offset)) calc(var(--input-padding-end) + var(--input-border-width-offset));\n\t\tpadding-block: var(--input-border-width-offset);\n\n\t\t&::placeholder {\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\n\t\t&:active:not([disabled]),\n\t\t&:hover:not([disabled]),\n\t\t&:focus:not([disabled]) {\n\t\t\tborder-width: var(--border-width-input-focused, 2px);\n\t\t\tborder-color: var(--color-main-text) !important;\n\t\t\tbox-shadow: 0 0 0 2px var(--color-main-background) !important;\n\t\t\t// Reset padding offset when focused\n\t\t\t--input-border-width-offset: 0px;\n\t\t}\n\n\t\t&:focus + .input-field__label,\n\t\t&:hover:not(:placeholder-shown) + .input-field__label {\n\t\t\tcolor: var(--color-main-text);\n\t\t}\n\n\t\t&:focus {\n\t\t\tcursor: text;\n\t\t}\n\n\t\t&:disabled {\n\t\t\tcursor: default;\n\t\t}\n\n\t\t&:focus-visible {\n\t\t\tbox-shadow: unset !important; // Override server rules\n\t\t}\n\n\t\t&--success {\n\t\t\tborder-color: var(--color-success) !important; //Override hover border color\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px\n\t\t\t}\n\t\t}\n\n\t\t&--error {\n\t\t\tborder-color: var(--color-error) !important; //Override hover border color\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px\n\t\t\t}\n\t\t}\n\t}\n\n\t// Hide placeholder while not focussed -> show label instead (only if internal label is used)\n\t&:not(&--label-outside) &__input:not(:focus)::placeholder {\n\t\topacity: 0;\n\t}\n\n\t&__label {\n\t\t--input-label-font-size: var(--default-font-size);\n\t\tposition: absolute;\n\t\tmargin-inline: var(--input-padding-start) var(--input-padding-end);\n\t\tmax-width: fit-content;\n\t\tfont-size: var(--input-label-font-size);\n\t\tinset-block-start: calc((var(--default-clickable-area) - var(--default-line-height)) / 2); // center the label vertically\n\t\tinset-inline: var(--border-width-input-focused, 2px);\n\t\t// Fix color so that users do not think the input already has content\n\t\tcolor: var(--color-text-maxcontrast);\n\t\t// only one line labels are allowed\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\t// forward events to input\n\t\tpointer-events: none;\n\t\t// Position transition\n\t\ttransition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick), background-color var(--animation-quick) var(--animation-slow);\n\t}\n\n\t&__input:focus + &__label,\n\t&__input:not(:placeholder-shown) + &__label {\n\t\t--input-label-font-size: 13px; // minimum allowed font size for accessibility\n\t\tline-height: 1.5; // minimum allowed line height for accessibility\n\t\t// 1.5 * font-size = line-height; line-height / 2 for centering and make it negative as we need to move outside the element\n\t\tinset-block-start: calc(-1.5 * var(--input-label-font-size) / 2);\n\t\tfont-weight: 500;\n\t\tborder-radius: var(--default-grid-baseline) var(--default-grid-baseline) 0 0;\n\t\tbackground-color: var(--color-main-background);\n\t\tpadding-inline: var(--default-grid-baseline);\n\t\tmargin-inline: calc(var(--input-padding-start) - var(--default-grid-baseline)) calc(var(--input-padding-end) - var(--default-grid-baseline));\n\n\t\ttransition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick);\n\t}\n\n\t&__icon {\n\t\tposition: absolute;\n\t\theight: var(--default-clickable-area);\n\t\twidth: var(--default-clickable-area);\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\topacity: 0.7;\n\n\t\tinset-block-end: 0;\n\n\t\t&--leading {\n\t\t\tinset-inline-start: 0px;\n\t\t}\n\n\t\t&--trailing {\n\t\t\tinset-inline-end: 0px;\n\t\t}\n\t}\n\n\t&__trailing-button {\n\t\t--button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;\n\t\t--button-radius: calc(var(--input-border-radius) - var(--border-width-input-focused, 2px)); // lower radius as size is smaller\n\n\t\t&.button-vue {\n\t\t\tposition: absolute;\n\t\t\ttop: var(--border-width-input-focused, 2px);\n\t\t\tright: var(--border-width-input-focused, 2px);\n\n\t\t\t&:focus-visible {\n\t\t\t\tbox-shadow: none !important;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__helper-text-message {\n\t\tpadding-block: 4px;\n\t\tpadding-inline: var(--border-radius-large);\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tcolor: var(--color-text-maxcontrast);\n\n\t\t&__icon {\n\t\t\tmargin-inline-end: 8px;\n\t\t}\n\n\t\t&--error {\n\t\t\tcolor: var(--color-error-text);\n\t\t}\n\n\t\t&--success {\n\t\t\tcolor: var(--color-success-text);\n\t\t}\n\t}\n}\n</style>\n"],"names":[],"mappings":"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"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcListItem = require("../chunks/NcListItem-BfbxhMcD.cjs");
2
+ const NcListItem = require("../chunks/NcListItem-tdvCJ2pG.cjs");
3
3
  module.exports = NcListItem.NcListItem;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcListItem-0EnLrbng.mjs";
1
+ import { N } from "../chunks/NcListItem-BqaD6qqB.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcListItemIcon = require("../chunks/NcListItemIcon-57iRCVpy.cjs");
2
+ const NcListItemIcon = require("../chunks/NcListItemIcon-CxzeW2na.cjs");
3
3
  module.exports = NcListItemIcon.NcListItemIcon;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcListItemIcon-Bw6Wddoz.mjs";
1
+ import { N } from "../chunks/NcListItemIcon-C7zSZcCY.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,13 +1,13 @@
1
1
  require('../assets/NcModal-Ch7ovo9y.css');
2
2
  "use strict";
3
- const ScopeComponent = require("../chunks/ScopeComponent-p6wwuGWn.cjs");
3
+ const ScopeComponent = require("../chunks/ScopeComponent-wXF17wBK.cjs");
4
4
  const core = require("@vueuse/core");
5
5
  const focusTrap$1 = require("focus-trap");
6
6
  const Vue = require("vue");
7
7
  const focusTrap = require("../chunks/focusTrap-EeXFmjdI.cjs");
8
- const _l10n = require("../chunks/_l10n-DdIq5MvQ.cjs");
8
+ const _l10n = require("../chunks/_l10n-Dkgq8-k1.cjs");
9
9
  const GenRandomId = require("../chunks/GenRandomId-BQDud3d4.cjs");
10
- const NcActions = require("../chunks/NcActions-BanQsba7.cjs");
10
+ const NcActions = require("../chunks/NcActions-B3s-7Qzq.cjs");
11
11
  const Components_NcButton = require("./NcButton.cjs");
12
12
  require("../Directives/Tooltip.cjs");
13
13
  const _pluginVue2_normalizer = require("../chunks/_plugin-vue2_normalizer-DbFIE4_M.cjs");
@@ -1,12 +1,12 @@
1
1
  import '../assets/NcModal-Ch7ovo9y.css';
2
- import { S as ScopeComponent } from "../chunks/ScopeComponent-C0xOBUg-.mjs";
2
+ import { S as ScopeComponent } from "../chunks/ScopeComponent-utlyd2B_.mjs";
3
3
  import { useSwipe } from "@vueuse/core";
4
4
  import { createFocusTrap } from "focus-trap";
5
5
  import Vue from "vue";
6
6
  import { g as getTrapStack } from "../chunks/focusTrap-Cecv_gjR.mjs";
7
- import { r as register, G as t33, u as t18, a as t } from "../chunks/_l10n-CG5VZvYT.mjs";
7
+ import { r as register, G as t33, u as t18, a as t } from "../chunks/_l10n-em5EAi4q.mjs";
8
8
  import { G as GenRandomId } from "../chunks/GenRandomId-CMooMQt0.mjs";
9
- import { N as NcActions } from "../chunks/NcActions-jYBYK6WE.mjs";
9
+ import { N as NcActions } from "../chunks/NcActions-CISHDrZG.mjs";
10
10
  import NcButton from "./NcButton.mjs";
11
11
  import "../Directives/Tooltip.mjs";
12
12
  import { n as normalizeComponent } from "../chunks/_plugin-vue2_normalizer-D637Qkok.mjs";
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcPasswordField = require("../chunks/NcPasswordField-Iq8u9C_A.cjs");
2
+ const NcPasswordField = require("../chunks/NcPasswordField-BQUXT4sH.cjs");
3
3
  module.exports = NcPasswordField.NcPasswordField;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcPasswordField-U7jnnuI6.mjs";
1
+ import { N } from "../chunks/NcPasswordField-Cbt3BHWa.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcRelatedResourcesPanel = require("../chunks/NcRelatedResourcesPanel-CHMgVvv8.cjs");
2
+ const NcRelatedResourcesPanel = require("../chunks/NcRelatedResourcesPanel-CSV3L528.cjs");
3
3
  module.exports = NcRelatedResourcesPanel.NcRelatedResourcesPanel;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcRelatedResourcesPanel-TaYxpT6y.mjs";
1
+ import { N } from "../chunks/NcRelatedResourcesPanel-DLnhQCAc.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const Mixins_richEditor = require("../chunks/index-oIpl1nrk.cjs");
4
- const NcRichContenteditable = require("../chunks/NcRichContenteditable-B32ivG6v.cjs");
4
+ const NcRichContenteditable = require("../chunks/NcRichContenteditable-B01oU1Py.cjs");
5
5
  exports.NcMentionBubble = Mixins_richEditor.NcMentionBubble;
6
6
  exports.NcAutoCompleteResult = NcRichContenteditable.NcAutoCompleteResult;
7
7
  exports.default = NcRichContenteditable.NcRichContenteditable;
@@ -1,5 +1,5 @@
1
1
  import { N } from "../chunks/index-DbA2OZyf.mjs";
2
- import { N as N2, a } from "../chunks/NcRichContenteditable-Jk627HvF.mjs";
2
+ import { N as N2, a } from "../chunks/NcRichContenteditable-DI-ZXpT5.mjs";
3
3
  export {
4
4
  N2 as NcAutoCompleteResult,
5
5
  N as NcMentionBubble,
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const NcRichText = require("../chunks/NcRichText-DhS9L0ia.cjs");
3
+ const NcRichText = require("../chunks/NcRichText-Cv3E2opm.cjs");
4
4
  const Functions_registerReference = require("../chunks/index-Dsgv-f-l.cjs");
5
- const referencePickerModal = require("../chunks/referencePickerModal-Dk80B426.cjs");
5
+ const referencePickerModal = require("../chunks/referencePickerModal-B2vY_tQ_.cjs");
6
6
  exports.NcReferenceList = NcRichText.NcReferenceList;
7
7
  exports.NcRichText = NcRichText.NcRichText;
8
8
  exports.default = NcRichText.NcRichText;
@@ -1,7 +1,7 @@
1
- import { N as NcRichText } from "../chunks/NcRichText-rgX1D4Mv.mjs";
2
- import { a } from "../chunks/NcRichText-rgX1D4Mv.mjs";
1
+ import { N as NcRichText } from "../chunks/NcRichText-S2tUM9cE.mjs";
2
+ import { a } from "../chunks/NcRichText-S2tUM9cE.mjs";
3
3
  import { N, d, i, b, r, c, a as a2 } from "../chunks/index-BwyQ2N-M.mjs";
4
- import { e, f, N as N2, h, a as a3, g, b as b2, c as c2, d as d2, s } from "../chunks/referencePickerModal-X5iEJq4e.mjs";
4
+ import { e, f, N as N2, h, a as a3, g, b as b2, c as c2, d as d2, s } from "../chunks/referencePickerModal-LSsnfOpt.mjs";
5
5
  export {
6
6
  N as NcCustomPickerRenderResult,
7
7
  a as NcReferenceList,
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcSelect = require("../chunks/NcSelect-CFkeC89U.cjs");
2
+ const NcSelect = require("../chunks/NcSelect-CY9k8Npn.cjs");
3
3
  module.exports = NcSelect.NcSelect;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcSelect-VXa9BD3h.mjs";
1
+ import { N } from "../chunks/NcSelect-SndWSyFc.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcSelectTags = require("../chunks/NcSelectTags-BGqJO7nz.cjs");
2
+ const NcSelectTags = require("../chunks/NcSelectTags-BRDbJ3zM.cjs");
3
3
  module.exports = NcSelectTags.NcSelectTags;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcSelectTags-CnMksmUz.mjs";
1
+ import { N } from "../chunks/NcSelectTags-j1vMgnP_.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcSettingsInputText = require("../chunks/NcSettingsInputText-BHQoBpdB.cjs");
2
+ const NcSettingsInputText = require("../chunks/NcSettingsInputText-CFEhlYqU.cjs");
3
3
  module.exports = NcSettingsInputText.NcSettingsInputText;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcSettingsInputText-6NUV0AUU.mjs";
1
+ import { N } from "../chunks/NcSettingsInputText-Cw8sfqJD.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcSettingsSection = require("../chunks/NcSettingsSection-NrhuTTW4.cjs");
2
+ const NcSettingsSection = require("../chunks/NcSettingsSection-CC40z0BR.cjs");
3
3
  module.exports = NcSettingsSection.NcSettingsSection;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcSettingsSection-HExFhUqF.mjs";
1
+ import { N } from "../chunks/NcSettingsSection-DR413pDz.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const NcSettingsSelectGroup = require("../chunks/NcSettingsSelectGroup-DKwhOABo.cjs");
3
+ const NcSettingsSelectGroup = require("../chunks/NcSettingsSelectGroup-SzqRWbEs.cjs");
4
4
  exports.NcSettingsSelectGroup = NcSettingsSelectGroup.NcSettingsSelectGroup;
5
5
  exports.default = NcSettingsSelectGroup.NcSettingsSelectGroup;
@@ -1,4 +1,4 @@
1
- import { N as NcSettingsSelectGroup } from "../chunks/NcSettingsSelectGroup-BvSwvGmQ.mjs";
1
+ import { N as NcSettingsSelectGroup } from "../chunks/NcSettingsSelectGroup-SY4s3QMa.mjs";
2
2
  export {
3
3
  NcSettingsSelectGroup,
4
4
  NcSettingsSelectGroup as default
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcTextField = require("../chunks/NcTextField-DMo1G8i6.cjs");
2
+ const NcTextField = require("../chunks/NcTextField-CY1UACDQ.cjs");
3
3
  module.exports = NcTextField.NcTextField;
@@ -1,4 +1,4 @@
1
- import { N } from "../chunks/NcTextField-DCDVcnqT.mjs";
1
+ import { N } from "../chunks/NcTextField-NPhch54I.mjs";
2
2
  export {
3
3
  N as default
4
4
  };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
- const NcTimezonePicker = require("../chunks/NcTimezonePicker-aP3TJBd2.cjs");
2
+ const NcTimezonePicker = require("../chunks/NcTimezonePicker-B3wVH7l0.cjs");
3
3
  module.exports = NcTimezonePicker.NcTimezonePicker;