@itguy614/clean-ui 1.2.2 → 1.3.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 (245) hide show
  1. package/README.md +12 -0
  2. package/dist/clean-ui.css +1 -1
  3. package/dist/components/CuiAccordion.vue.js +2 -2
  4. package/dist/components/CuiAlert.vue.d.ts +3 -5
  5. package/dist/components/CuiAlert.vue.d.ts.map +1 -1
  6. package/dist/components/CuiAlert.vue.js +1 -1
  7. package/dist/components/CuiAlert.vue2.js +54 -50
  8. package/dist/components/CuiBadge.vue.js +3 -3
  9. package/dist/components/CuiBadge.vue2.js +23 -23
  10. package/dist/components/CuiBanner.vue.d.ts +15 -10
  11. package/dist/components/CuiBanner.vue.d.ts.map +1 -1
  12. package/dist/components/CuiBanner.vue.js +5 -80
  13. package/dist/components/CuiBanner.vue2.js +90 -2
  14. package/dist/components/CuiButton.vue.d.ts +9 -0
  15. package/dist/components/CuiButton.vue.d.ts.map +1 -1
  16. package/dist/components/CuiButton.vue.js +1 -1
  17. package/dist/components/CuiButton.vue2.js +77 -83
  18. package/dist/components/CuiButtonGroup.vue.d.ts +4 -2
  19. package/dist/components/CuiButtonGroup.vue.d.ts.map +1 -1
  20. package/dist/components/CuiButtonGroup.vue.js +1 -1
  21. package/dist/components/CuiButtonGroup.vue2.js +18 -9
  22. package/dist/components/CuiCard.vue.d.ts.map +1 -1
  23. package/dist/components/CuiCard.vue.js +5 -33
  24. package/dist/components/CuiCard.vue2.js +32 -2
  25. package/dist/components/CuiCardBody.vue.d.ts.map +1 -1
  26. package/dist/components/CuiCardBody.vue.js +5 -18
  27. package/dist/components/CuiCardBody.vue2.js +18 -2
  28. package/dist/components/CuiCardFooter.vue.d.ts.map +1 -1
  29. package/dist/components/CuiCardFooter.vue.js +5 -30
  30. package/dist/components/CuiCardFooter.vue2.js +25 -2
  31. package/dist/components/CuiCardHeader.vue.d.ts +5 -4
  32. package/dist/components/CuiCardHeader.vue.d.ts.map +1 -1
  33. package/dist/components/CuiCardHeader.vue.js +5 -49
  34. package/dist/components/CuiCardHeader.vue2.js +40 -2
  35. package/dist/components/CuiCardMedia.vue.d.ts.map +1 -1
  36. package/dist/components/CuiCardMedia.vue.js +3 -3
  37. package/dist/components/CuiCardMedia.vue2.js +6 -6
  38. package/dist/components/CuiCheckbox.vue.d.ts +2 -2
  39. package/dist/components/CuiCheckbox.vue.d.ts.map +1 -1
  40. package/dist/components/CuiCheckbox.vue.js +1 -1
  41. package/dist/components/CuiCheckbox.vue2.js +46 -34
  42. package/dist/components/CuiCheckboxGroup.vue.d.ts +2 -2
  43. package/dist/components/CuiCheckboxGroup.vue.d.ts.map +1 -1
  44. package/dist/components/CuiCheckboxGroup.vue.js +2 -2
  45. package/dist/components/CuiCheckboxGroup.vue2.js +45 -35
  46. package/dist/components/CuiCodeBlock.vue.d.ts.map +1 -1
  47. package/dist/components/CuiCodeBlock.vue.js +14 -11
  48. package/dist/components/CuiColorPicker.vue.d.ts +2 -2
  49. package/dist/components/CuiColorPicker.vue.d.ts.map +1 -1
  50. package/dist/components/CuiColorPicker.vue.js +117 -104
  51. package/dist/components/CuiCombobox.vue.d.ts +2 -2
  52. package/dist/components/CuiCombobox.vue.d.ts.map +1 -1
  53. package/dist/components/CuiCombobox.vue.js +5 -330
  54. package/dist/components/CuiCombobox.vue2.js +330 -2
  55. package/dist/components/CuiConfirmDialog.vue.d.ts +5 -4
  56. package/dist/components/CuiConfirmDialog.vue.d.ts.map +1 -1
  57. package/dist/components/CuiConfirmDialog.vue.js +84 -73
  58. package/dist/components/CuiContextMenu.vue.d.ts +40 -1
  59. package/dist/components/CuiContextMenu.vue.d.ts.map +1 -1
  60. package/dist/components/CuiContextMenu.vue.js +1 -1
  61. package/dist/components/CuiContextMenu.vue2.js +149 -91
  62. package/dist/components/CuiCopyButton.vue.d.ts.map +1 -1
  63. package/dist/components/CuiCopyButton.vue.js +5 -61
  64. package/dist/components/CuiCopyButton.vue2.js +68 -2
  65. package/dist/components/CuiDataGridCardView.vue.d.ts.map +1 -1
  66. package/dist/components/CuiDataGridCardView.vue.js +10 -9
  67. package/dist/components/CuiDataGridColumnManager.vue.d.ts.map +1 -1
  68. package/dist/components/CuiDataGridColumnManager.vue.js +12 -11
  69. package/dist/components/CuiDataGridPagination.vue.d.ts.map +1 -1
  70. package/dist/components/CuiDataGridPagination.vue.js +9 -8
  71. package/dist/components/CuiDataGridSearch.vue.d.ts.map +1 -1
  72. package/dist/components/CuiDataGridSearch.vue.js +12 -9
  73. package/dist/components/CuiDataGridTable.vue.d.ts.map +1 -1
  74. package/dist/components/CuiDataGridTable.vue.js +213 -190
  75. package/dist/components/CuiDataGridViewManager.vue.d.ts.map +1 -1
  76. package/dist/components/CuiDataGridViewManager.vue.js +21 -20
  77. package/dist/components/CuiDatePicker.vue.d.ts +2 -2
  78. package/dist/components/CuiDatePicker.vue.d.ts.map +1 -1
  79. package/dist/components/CuiDatePicker.vue.js +257 -173
  80. package/dist/components/CuiDateRangePicker.vue.d.ts +2 -2
  81. package/dist/components/CuiDateRangePicker.vue.d.ts.map +1 -1
  82. package/dist/components/CuiDateRangePicker.vue.js +262 -179
  83. package/dist/components/CuiDivider.vue.d.ts +1 -3
  84. package/dist/components/CuiDivider.vue.d.ts.map +1 -1
  85. package/dist/components/CuiDivider.vue.js +47 -59
  86. package/dist/components/CuiDropdownMenu.vue.js +2 -2
  87. package/dist/components/CuiDropdownRadioGroup.vue.d.ts +4 -1
  88. package/dist/components/CuiDropdownRadioGroup.vue.d.ts.map +1 -1
  89. package/dist/components/CuiDropdownRadioGroup.vue.js +27 -14
  90. package/dist/components/CuiDropdownSub.vue.js +2 -2
  91. package/dist/components/CuiEmptyState.vue.d.ts +5 -4
  92. package/dist/components/CuiEmptyState.vue.d.ts.map +1 -1
  93. package/dist/components/CuiEmptyState.vue.js +1 -1
  94. package/dist/components/CuiEmptyState.vue2.js +30 -24
  95. package/dist/components/CuiFieldset.vue.d.ts.map +1 -1
  96. package/dist/components/CuiFieldset.vue.js +1 -1
  97. package/dist/components/CuiFieldset.vue2.js +21 -21
  98. package/dist/components/CuiFileUpload.vue.d.ts +2 -2
  99. package/dist/components/CuiFileUpload.vue.d.ts.map +1 -1
  100. package/dist/components/CuiFileUpload.vue.js +70 -57
  101. package/dist/components/CuiFormField.vue.d.ts.map +1 -1
  102. package/dist/components/CuiFormField.vue.js +2 -2
  103. package/dist/components/CuiFormField.vue2.js +48 -42
  104. package/dist/components/CuiInput.vue.d.ts +2 -2
  105. package/dist/components/CuiInput.vue.d.ts.map +1 -1
  106. package/dist/components/CuiInput.vue.js +1 -1
  107. package/dist/components/CuiInput.vue2.js +97 -85
  108. package/dist/components/CuiInputStepper.vue.d.ts +2 -2
  109. package/dist/components/CuiInputStepper.vue.d.ts.map +1 -1
  110. package/dist/components/CuiInputStepper.vue.js +5 -187
  111. package/dist/components/CuiInputStepper.vue2.js +237 -2
  112. package/dist/components/CuiKbd.vue.d.ts.map +1 -1
  113. package/dist/components/CuiKbd.vue.js +6 -5
  114. package/dist/components/CuiMaskedInput.vue.d.ts +9 -3
  115. package/dist/components/CuiMaskedInput.vue.d.ts.map +1 -1
  116. package/dist/components/CuiMaskedInput.vue.js +132 -117
  117. package/dist/components/CuiModal.vue.d.ts +10 -2
  118. package/dist/components/CuiModal.vue.d.ts.map +1 -1
  119. package/dist/components/CuiModal.vue.js +2 -2
  120. package/dist/components/CuiModal.vue2.js +48 -44
  121. package/dist/components/CuiModalBody.vue.d.ts.map +1 -1
  122. package/dist/components/CuiModalBody.vue.js +16 -13
  123. package/dist/components/CuiModalFooter.vue.d.ts.map +1 -1
  124. package/dist/components/CuiModalFooter.vue.js +3 -2
  125. package/dist/components/CuiModalHeader.vue.d.ts +13 -4
  126. package/dist/components/CuiModalHeader.vue.d.ts.map +1 -1
  127. package/dist/components/CuiModalHeader.vue.js +54 -42
  128. package/dist/components/CuiPagination.vue.d.ts.map +1 -1
  129. package/dist/components/CuiPagination.vue.js +1 -1
  130. package/dist/components/CuiPagination.vue2.js +28 -25
  131. package/dist/components/CuiPopover.vue.d.ts.map +1 -1
  132. package/dist/components/CuiPopover.vue.js +80 -72
  133. package/dist/components/CuiRadio.vue.d.ts +2 -4
  134. package/dist/components/CuiRadio.vue.d.ts.map +1 -1
  135. package/dist/components/CuiRadio.vue.js +2 -2
  136. package/dist/components/CuiRadio.vue2.js +88 -74
  137. package/dist/components/CuiRadioGroup.vue.d.ts +2 -2
  138. package/dist/components/CuiRadioGroup.vue.d.ts.map +1 -1
  139. package/dist/components/CuiRadioGroup.vue.js +3 -3
  140. package/dist/components/CuiRadioGroup.vue2.js +47 -37
  141. package/dist/components/CuiRating.vue.d.ts.map +1 -1
  142. package/dist/components/CuiRating.vue.js +15 -14
  143. package/dist/components/CuiResizablePanels.vue.d.ts.map +1 -1
  144. package/dist/components/CuiResizablePanels.vue.js +10 -9
  145. package/dist/components/CuiSelect.vue.d.ts +2 -2
  146. package/dist/components/CuiSelect.vue.d.ts.map +1 -1
  147. package/dist/components/CuiSelect.vue.js +2 -2
  148. package/dist/components/CuiSelect.vue2.js +161 -151
  149. package/dist/components/CuiSkeleton.vue.js +2 -2
  150. package/dist/components/CuiSkeleton.vue2.js +10 -10
  151. package/dist/components/CuiSlideover.vue.d.ts +2 -2
  152. package/dist/components/CuiSlideover.vue.d.ts.map +1 -1
  153. package/dist/components/CuiSlideover.vue.js +34 -30
  154. package/dist/components/CuiSlider.vue.d.ts +2 -2
  155. package/dist/components/CuiSlider.vue.d.ts.map +1 -1
  156. package/dist/components/CuiSlider.vue.js +5 -154
  157. package/dist/components/CuiSlider.vue2.js +171 -2
  158. package/dist/components/CuiSpinner.vue.d.ts.map +1 -1
  159. package/dist/components/CuiSpinner.vue.js +5 -4
  160. package/dist/components/CuiTable.vue.d.ts.map +1 -1
  161. package/dist/components/CuiTable.vue.js +4 -1
  162. package/dist/components/CuiTableBody.vue.d.ts.map +1 -1
  163. package/dist/components/CuiTableBody.vue.js +6 -6
  164. package/dist/components/CuiTableCell.vue.d.ts.map +1 -1
  165. package/dist/components/CuiTableCell.vue.js +11 -10
  166. package/dist/components/CuiTableFoot.vue.d.ts.map +1 -1
  167. package/dist/components/CuiTableFoot.vue.js +7 -7
  168. package/dist/components/CuiTableHead.vue.d.ts.map +1 -1
  169. package/dist/components/CuiTableHead.vue.js +7 -7
  170. package/dist/components/CuiTabs.vue.d.ts.map +1 -1
  171. package/dist/components/CuiTabs.vue.js +2 -2
  172. package/dist/components/CuiTabs.vue2.js +81 -76
  173. package/dist/components/CuiTagInput.vue.d.ts +2 -2
  174. package/dist/components/CuiTagInput.vue.d.ts.map +1 -1
  175. package/dist/components/CuiTagInput.vue.js +5 -294
  176. package/dist/components/CuiTagInput.vue2.js +276 -2
  177. package/dist/components/CuiTextarea.vue.d.ts +2 -2
  178. package/dist/components/CuiTextarea.vue.d.ts.map +1 -1
  179. package/dist/components/CuiTextarea.vue.js +4 -4
  180. package/dist/components/CuiTextarea.vue2.js +73 -59
  181. package/dist/components/CuiTimePicker.vue.d.ts +2 -2
  182. package/dist/components/CuiTimePicker.vue.d.ts.map +1 -1
  183. package/dist/components/CuiTimePicker.vue.js +172 -97
  184. package/dist/components/CuiTimeline.vue.d.ts.map +1 -1
  185. package/dist/components/CuiTimeline.vue.js +6 -5
  186. package/dist/components/CuiTimelineItem.vue.d.ts.map +1 -1
  187. package/dist/components/CuiTimelineItem.vue.js +11 -10
  188. package/dist/components/CuiToast.vue.d.ts +8 -10
  189. package/dist/components/CuiToast.vue.d.ts.map +1 -1
  190. package/dist/components/CuiToast.vue.js +2 -2
  191. package/dist/components/CuiToast.vue2.js +69 -67
  192. package/dist/components/CuiToggle.vue.d.ts +2 -2
  193. package/dist/components/CuiToggle.vue.d.ts.map +1 -1
  194. package/dist/components/CuiToggle.vue.js +2 -2
  195. package/dist/components/CuiToggle.vue2.js +71 -59
  196. package/dist/components/CuiToggleGroup.vue.d.ts +2 -2
  197. package/dist/components/CuiToggleGroup.vue.d.ts.map +1 -1
  198. package/dist/components/CuiToggleGroup.vue.js +2 -2
  199. package/dist/components/CuiToggleGroup.vue2.js +45 -35
  200. package/dist/components/CuiTooltip.vue.d.ts.map +1 -1
  201. package/dist/components/CuiTooltip.vue.js +2 -2
  202. package/dist/components/CuiTooltip.vue2.js +49 -45
  203. package/dist/components/CuiTransferList.vue.d.ts.map +1 -1
  204. package/dist/components/CuiTransferList.vue.js +31 -30
  205. package/dist/components/CuiTreeNode.vue.d.ts +9 -2
  206. package/dist/components/CuiTreeNode.vue.d.ts.map +1 -1
  207. package/dist/components/CuiTreeNode.vue.js +5 -179
  208. package/dist/components/CuiTreeNode.vue2.js +198 -2
  209. package/dist/components/CuiTreeView.vue.d.ts +33 -5
  210. package/dist/components/CuiTreeView.vue.d.ts.map +1 -1
  211. package/dist/components/CuiTreeView.vue.js +187 -44
  212. package/dist/composables/useCalendarKeyboard.d.ts +48 -0
  213. package/dist/composables/useCalendarKeyboard.d.ts.map +1 -0
  214. package/dist/composables/useCalendarKeyboard.js +91 -0
  215. package/dist/composables/useFieldDescribedBy.d.ts +30 -0
  216. package/dist/composables/useFieldDescribedBy.d.ts.map +1 -0
  217. package/dist/composables/useFieldDescribedBy.js +11 -0
  218. package/dist/composables/useMessages.d.ts.map +1 -1
  219. package/dist/composables/useMessages.js +6 -6
  220. package/dist/composables/usePopover.d.ts.map +1 -1
  221. package/dist/composables/usePopover.js +10 -0
  222. package/dist/composables/useScrollShadows.d.ts +3 -0
  223. package/dist/composables/useScrollShadows.d.ts.map +1 -1
  224. package/dist/composables/useScrollShadows.js +15 -12
  225. package/dist/icons/builtin.d.ts.map +1 -1
  226. package/dist/icons/builtin.js +38 -37
  227. package/dist/index.d.ts +3 -2
  228. package/dist/index.d.ts.map +1 -1
  229. package/dist/index.js +185 -182
  230. package/dist/messages.d.ts +39 -4
  231. package/dist/messages.d.ts.map +1 -1
  232. package/dist/messages.js +8 -7
  233. package/dist/types/common.d.ts +90 -0
  234. package/dist/types/common.d.ts.map +1 -1
  235. package/dist/utils/colorIconMap.d.ts +47 -3
  236. package/dist/utils/colorIconMap.d.ts.map +1 -1
  237. package/dist/utils/colorIconMap.js +20 -5
  238. package/dist/utils/date.d.ts +13 -0
  239. package/dist/utils/date.d.ts.map +1 -1
  240. package/dist/utils/date.js +46 -40
  241. package/dist/utils/sizing.d.ts +26 -1
  242. package/dist/utils/sizing.d.ts.map +1 -1
  243. package/dist/utils/sizing.js +22 -21
  244. package/dist/version.js +1 -1
  245. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
- import { defineComponent as K, ref as y, computed as q, useTemplateRef as G, withDirectives as H, openBlock as c, createElementBlock as s, toDisplayString as l, createCommentVNode as f, createElementVNode as n, normalizeStyle as z, createVNode as h, createTextVNode as b, withModifiers as J, Fragment as P, renderList as Q, withCtx as k, unref as Z, createBlock as _, vShow as ee } from "vue";
1
+ import { defineComponent as Y, ref as p, computed as K, useTemplateRef as G, withDirectives as H, openBlock as c, createElementBlock as u, toDisplayString as l, createCommentVNode as f, createElementVNode as n, normalizeStyle as b, createVNode as y, createTextVNode as z, withModifiers as J, Fragment as P, renderList as Q, withCtx as k, unref as Z, createBlock as _, vShow as ee } from "vue";
2
2
  import C from "./CuiButton.vue.js";
3
- import p from "./CuiIcon.vue.js";
3
+ import g from "./CuiIcon.vue.js";
4
4
  import { useMessages as te } from "../composables/useMessages.js";
5
5
  const ie = {
6
6
  key: 0,
7
7
  style: { display: "block", marginBottom: "calc(0.375rem * var(--cui-density-scale, 1))", fontSize: "0.875rem", fontWeight: "500", color: "var(--cui-text-secondary)" }
8
- }, ae = ["accept", "multiple"], le = { style: { fontSize: "0.875rem", color: "var(--cui-text-secondary)" } }, re = {
8
+ }, ae = ["id", "name", "autocomplete", "aria-describedby", "aria-required", "aria-labelledby", "accept", "multiple"], le = { style: { fontSize: "0.875rem", color: "var(--cui-text-secondary)" } }, re = {
9
9
  key: 0,
10
10
  style: { fontSize: "0.75rem", color: "var(--cui-text-tertiary)", marginTop: "calc(0.375rem * var(--cui-density-scale, 1))" }
11
- }, ne = { key: 0 }, oe = { key: 1 }, ce = { key: 2 }, se = {
11
+ }, ne = { key: 0 }, oe = { key: 1 }, ce = { key: 2 }, ue = {
12
12
  key: 1,
13
13
  style: { marginTop: "calc(0.75rem * var(--cui-density-scale, 1))" }
14
- }, ue = { style: { flex: "1", minWidth: "0" } }, de = { style: { fontSize: "0.8125rem", fontWeight: "500", color: "var(--cui-text-body)", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" } }, fe = { style: { fontSize: "0.6875rem", color: "var(--cui-text-tertiary)" } }, me = ["onClick"], ve = { style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginTop: "calc(0.5rem * var(--cui-density-scale, 1))" } }, he = { style: { fontSize: "0.75rem", color: "var(--cui-text-tertiary)" } }, xe = { style: { display: "flex", gap: "calc(0.375rem * var(--cui-density-scale, 1))" } }, ke = /* @__PURE__ */ K({
14
+ }, se = { style: { flex: "1", minWidth: "0" } }, de = { style: { fontSize: "0.8125rem", fontWeight: "500", color: "var(--cui-text-body)", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" } }, fe = { style: { fontSize: "0.6875rem", color: "var(--cui-text-tertiary)" } }, me = ["onClick"], ve = { style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginTop: "calc(0.5rem * var(--cui-density-scale, 1))" } }, ye = { style: { fontSize: "0.75rem", color: "var(--cui-text-tertiary)" } }, he = { style: { display: "flex", gap: "calc(0.375rem * var(--cui-density-scale, 1))" } }, ke = /* @__PURE__ */ Y({
15
15
  __name: "CuiFileUpload",
16
16
  props: {
17
17
  accept: {},
@@ -23,27 +23,33 @@ const ie = {
23
23
  dragText: { default: "Drag and drop files here, or" },
24
24
  browseText: { default: "Browse" },
25
25
  uploadText: { default: "Upload" },
26
+ name: {},
27
+ autocomplete: {},
28
+ id: {},
29
+ ariaDescribedby: {},
30
+ ariaLabelledby: {},
31
+ ariaRequired: { type: Boolean },
26
32
  hidden: { type: Boolean, default: !1 },
27
33
  color: { default: "primary" },
28
34
  disabled: { type: Boolean, default: !1 }
29
35
  },
30
36
  emits: ["upload", "reject", "change"],
31
37
  setup(i, { expose: B, emit: D }) {
32
- const r = i, u = D, a = y([]), m = y(!1), S = y(null);
38
+ const r = i, s = D, a = p([]), m = p(!1), S = p(null);
33
39
  let T = 0;
34
40
  function $() {
35
41
  return `file-${++T}-${Date.now()}`;
36
42
  }
37
- function x(e) {
43
+ function h(e) {
38
44
  return e < 1024 ? `${e} B` : e < 1024 * 1024 ? `${(e / 1024).toFixed(1)} KB` : `${(e / (1024 * 1024)).toFixed(1)} MB`;
39
45
  }
40
46
  function W(e) {
41
47
  return e.startsWith("image/") ? "image" : e.startsWith("video/") ? "video-camera" : e.startsWith("audio/") ? "music-note" : e.includes("pdf") ? "file-pdf" : e.includes("zip") || e.includes("compressed") || e.includes("archive") ? "file-zip" : e.includes("spreadsheet") || e.includes("csv") || e.includes("excel") ? "file-xls" : e.includes("document") || e.includes("word") ? "file-doc" : e.includes("text") || e.includes("json") || e.includes("xml") ? "file-text" : "file";
42
48
  }
43
- function M(e) {
49
+ function R(e) {
44
50
  var t;
45
51
  if (r.maxFileSize > 0 && e.size > r.maxFileSize)
46
- return `File exceeds maximum size of ${x(r.maxFileSize)}`;
52
+ return `File exceeds maximum size of ${h(r.maxFileSize)}`;
47
53
  if (r.accept) {
48
54
  const o = r.accept.split(",").map((d) => d.trim().toLowerCase()), v = "." + ((t = e.name.split(".").pop()) == null ? void 0 : t.toLowerCase());
49
55
  if (!o.some((d) => d.startsWith(".") ? v === d : d.endsWith("/*") ? e.type.startsWith(d.replace("/*", "/")) : e.type === d)) return "File type not accepted";
@@ -54,12 +60,12 @@ const ie = {
54
60
  if (!r.disabled) {
55
61
  for (const t of Array.from(e)) {
56
62
  if (r.maxFiles > 0 && a.value.length >= r.maxFiles) {
57
- u("reject", { file: t, reason: `Maximum ${r.maxFiles} files allowed` });
63
+ s("reject", { file: t, reason: `Maximum ${r.maxFiles} files allowed` });
58
64
  continue;
59
65
  }
60
- const o = M(t);
66
+ const o = R(t);
61
67
  if (o) {
62
- u("reject", { file: t, reason: o });
68
+ s("reject", { file: t, reason: o });
63
69
  continue;
64
70
  }
65
71
  a.value.some((v) => v.name === t.name && v.size === t.size) || a.value.push({
@@ -70,17 +76,17 @@ const ie = {
70
76
  type: t.type
71
77
  });
72
78
  }
73
- u("change", [...a.value]), r.autoUpload && u("upload", a.value.map((t) => t.file));
79
+ s("change", [...a.value]), r.autoUpload && s("upload", a.value.map((t) => t.file));
74
80
  }
75
81
  }
76
- function R(e) {
77
- a.value = a.value.filter((t) => t.id !== e), u("change", [...a.value]);
82
+ function M(e) {
83
+ a.value = a.value.filter((t) => t.id !== e), s("change", [...a.value]);
78
84
  }
79
85
  function j() {
80
- a.value = [], u("change", []);
86
+ a.value = [], s("change", []);
81
87
  }
82
88
  function E() {
83
- a.value.length !== 0 && u("upload", a.value.map((e) => e.file));
89
+ a.value.length !== 0 && s("upload", a.value.map((e) => e.file));
84
90
  }
85
91
  function w() {
86
92
  var e;
@@ -90,39 +96,46 @@ const ie = {
90
96
  const t = e.target;
91
97
  t.files && F(t.files), t.value = "";
92
98
  }
93
- function U(e) {
99
+ function L(e) {
94
100
  e.preventDefault(), r.disabled || (m.value = !0);
95
101
  }
96
- function A(e) {
102
+ function U(e) {
97
103
  e.preventDefault();
98
104
  }
99
- function L(e) {
105
+ function q(e) {
100
106
  const t = e.currentTarget.getBoundingClientRect();
101
107
  (e.clientX <= t.left || e.clientX >= t.right || e.clientY <= t.top || e.clientY >= t.bottom) && (m.value = !1);
102
108
  }
103
- function N(e) {
109
+ function A(e) {
104
110
  var t;
105
111
  e.preventDefault(), m.value = !1, (t = e.dataTransfer) != null && t.files && F(e.dataTransfer.files);
106
112
  }
107
- const V = q(() => x(a.value.reduce((e, t) => e + t.size, 0))), g = G("rootEl");
108
- function O(e) {
113
+ const N = K(() => h(a.value.reduce((e, t) => e + t.size, 0))), x = G("rootEl");
114
+ function V(e) {
109
115
  var t;
110
- (t = g.value) == null || t.focus(e);
116
+ (t = x.value) == null || t.focus(e);
111
117
  }
112
- function X() {
118
+ function O() {
113
119
  var e;
114
- (e = g.value) == null || e.blur();
120
+ (e = x.value) == null || e.blur();
115
121
  }
116
- B({ el: g, focus: O, blur: X });
117
- const Y = te();
118
- return (e, t) => H((c(), s("div", {
122
+ B({ el: x, focus: V, blur: O });
123
+ const X = te();
124
+ return (e, t) => H((c(), u("div", {
125
+ class: "cui-file-upload",
119
126
  ref_key: "rootEl",
120
- ref: g
127
+ ref: x
121
128
  }, [
122
- i.label ? (c(), s("label", ie, l(i.label), 1)) : f("", !0),
129
+ i.label ? (c(), u("label", ie, l(i.label), 1)) : f("", !0),
123
130
  n("input", {
124
131
  ref_key: "inputRef",
125
132
  ref: S,
133
+ id: i.id,
134
+ name: i.name,
135
+ autocomplete: i.autocomplete,
136
+ "aria-describedby": i.ariaDescribedby,
137
+ "aria-required": i.ariaRequired || void 0,
138
+ "aria-labelledby": i.ariaLabelledby,
126
139
  type: "file",
127
140
  accept: i.accept,
128
141
  multiple: i.multiple,
@@ -130,7 +143,7 @@ const ie = {
130
143
  onChange: I
131
144
  }, null, 40, ae),
132
145
  n("div", {
133
- style: z({
146
+ style: b({
134
147
  border: `2px dashed ${m.value ? `var(--cui-${i.color})` : "var(--cui-border)"}`,
135
148
  borderRadius: "0.625rem",
136
149
  padding: "calc(1.5rem * var(--cui-density-scale, 1))",
@@ -141,31 +154,31 @@ const ie = {
141
154
  transition: "border-color 0.15s ease, background 0.15s ease"
142
155
  }),
143
156
  onClick: w,
144
- onDragenter: U,
145
- onDragover: A,
146
- onDragleave: L,
147
- onDrop: N
157
+ onDragenter: L,
158
+ onDragover: U,
159
+ onDragleave: q,
160
+ onDrop: A
148
161
  }, [
149
- h(p, {
162
+ y(g, {
150
163
  name: "cloud-arrow-up",
151
164
  size: "2rem",
152
- style: z({ color: m.value ? `var(--cui-${i.color})` : "var(--cui-text-tertiary)", marginBottom: "calc(0.5rem * var(--cui-density-scale, 1))" })
165
+ style: b({ color: m.value ? `var(--cui-${i.color})` : "var(--cui-text-tertiary)", marginBottom: "calc(0.5rem * var(--cui-density-scale, 1))" })
153
166
  }, null, 8, ["style"]),
154
167
  n("div", le, [
155
- b(l(i.dragText) + " ", 1),
168
+ z(l(i.dragText) + " ", 1),
156
169
  n("span", {
157
- style: z({ color: `var(--cui-${i.color})`, fontWeight: "600", cursor: "pointer" }),
170
+ style: b({ color: `var(--cui-${i.color})`, fontWeight: "600", cursor: "pointer" }),
158
171
  onClick: J(w, ["stop"])
159
172
  }, l(i.browseText), 5)
160
173
  ]),
161
- i.accept || i.maxFileSize > 0 ? (c(), s("div", re, [
162
- i.accept ? (c(), s("span", ne, l(i.accept), 1)) : f("", !0),
163
- i.accept && i.maxFileSize > 0 ? (c(), s("span", oe, " · ")) : f("", !0),
164
- i.maxFileSize > 0 ? (c(), s("span", ce, "Max " + l(x(i.maxFileSize)), 1)) : f("", !0)
174
+ i.accept || i.maxFileSize > 0 ? (c(), u("div", re, [
175
+ i.accept ? (c(), u("span", ne, l(i.accept), 1)) : f("", !0),
176
+ i.accept && i.maxFileSize > 0 ? (c(), u("span", oe, " · ")) : f("", !0),
177
+ i.maxFileSize > 0 ? (c(), u("span", ce, "Max " + l(h(i.maxFileSize)), 1)) : f("", !0)
165
178
  ])) : f("", !0)
166
179
  ], 36),
167
- a.value.length > 0 ? (c(), s("div", se, [
168
- (c(!0), s(P, null, Q(a.value, (o) => (c(), s("div", {
180
+ a.value.length > 0 ? (c(), u("div", ue, [
181
+ (c(!0), u(P, null, Q(a.value, (o) => (c(), u("div", {
169
182
  key: o.id,
170
183
  style: {
171
184
  display: "flex",
@@ -178,14 +191,14 @@ const ie = {
178
191
  background: "var(--cui-surface-base, white)"
179
192
  }
180
193
  }, [
181
- h(p, {
194
+ y(g, {
182
195
  name: W(o.type),
183
196
  size: "1.25rem",
184
197
  style: { flexShrink: "0", color: "var(--cui-text-secondary)" }
185
198
  }, null, 8, ["name"]),
186
- n("div", ue, [
199
+ n("div", se, [
187
200
  n("div", de, l(o.name), 1),
188
- n("div", fe, l(x(o.size)), 1)
201
+ n("div", fe, l(h(o.size)), 1)
189
202
  ]),
190
203
  n("button", {
191
204
  type: "button",
@@ -202,24 +215,24 @@ const ie = {
202
215
  borderRadius: "0.25rem",
203
216
  flexShrink: "0"
204
217
  },
205
- onClick: (v) => R(o.id)
218
+ onClick: (v) => M(o.id)
206
219
  }, [
207
- h(p, {
220
+ y(g, {
208
221
  name: "x",
209
222
  size: "0.75rem"
210
223
  })
211
224
  ], 8, me)
212
225
  ]))), 128)),
213
226
  n("div", ve, [
214
- n("span", he, l(a.value.length) + " file" + l(a.value.length === 1 ? "" : "s") + " · " + l(V.value), 1),
215
- n("div", xe, [
216
- h(C, {
227
+ n("span", ye, l(a.value.length) + " file" + l(a.value.length === 1 ? "" : "s") + " · " + l(N.value), 1),
228
+ n("div", he, [
229
+ y(C, {
217
230
  variant: "ghost",
218
231
  size: "xs",
219
232
  onClick: j
220
233
  }, {
221
234
  default: k(() => [
222
- b(l(Z(Y).clearAll), 1)
235
+ z(l(Z(X).clearAll), 1)
223
236
  ]),
224
237
  _: 1
225
238
  }),
@@ -231,13 +244,13 @@ const ie = {
231
244
  onClick: E
232
245
  }, {
233
246
  prefix: k(() => [
234
- h(p, {
247
+ y(g, {
235
248
  name: "upload-simple",
236
249
  size: "0.75rem"
237
250
  })
238
251
  ]),
239
252
  default: k(() => [
240
- b(" " + l(i.uploadText), 1)
253
+ z(" " + l(i.uploadText), 1)
241
254
  ]),
242
255
  _: 1
243
256
  }, 8, ["color"]))
@@ -1 +1 @@
1
- {"version":3,"file":"CuiFormField.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiFormField.vue"],"names":[],"mappings":"AAsMA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGvE,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MA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E,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,yDAAyD;IACzD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,iFAAiF;IACjF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAkKD,QAAA,IAAI,OAAO;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA4B/C,QAAA,MAAM,eAAe;WAnMX,OAAO;cANJ,OAAO;;;mBAVF,aAAa;6EA0N7B,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./CuiFormField.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-7a8440be"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-402f1c2a"]]);
5
5
  export {
6
- e as default
6
+ f as default
7
7
  };
@@ -1,19 +1,10 @@
1
- import { defineComponent as _, inject as x, computed as a, onBeforeUnmount as g, withDirectives as q, openBlock as t, createElementBlock as i, normalizeClass as B, unref as k, createElementVNode as u, toDisplayString as d, createCommentVNode as c, renderSlot as T, normalizeProps as V, guardReactiveProps as p, vShow as C } from "vue";
2
- import { FormContextKey as E } from "./form-context.js";
3
- const F = ["for"], M = {
4
- key: 0,
5
- class: "cui-form-field__required",
6
- "aria-hidden": "true"
7
- }, P = {
1
+ import { defineComponent as B, inject as k, computed as o, onBeforeUnmount as T, withDirectives as _, openBlock as i, createElementBlock as t, normalizeClass as F, unref as g, createElementVNode as s, toDisplayString as d, Fragment as V, createCommentVNode as v, renderSlot as C, normalizeProps as M, guardReactiveProps as $, vShow as D } from "vue";
2
+ import { useMessages as E } from "../composables/useMessages.js";
3
+ import { FormContextKey as P } from "./form-context.js";
4
+ const S = ["for"], w = { class: "cui-sr-only" }, I = {
8
5
  key: 1,
9
6
  class: "cui-form-field__required-text"
10
- }, S = { class: "cui-form-field__body" }, w = { class: "cui-form-field__control" }, D = {
11
- key: 0,
12
- class: "cui-form-field__error"
13
- }, $ = {
14
- key: 1,
15
- class: "cui-form-field__help"
16
- }, U = /* @__PURE__ */ _({
7
+ }, z = { class: "cui-form-field__body" }, N = { class: "cui-form-field__control" }, K = /* @__PURE__ */ B({
17
8
  __name: "CuiFormField",
18
9
  props: {
19
10
  label: {},
@@ -28,46 +19,61 @@ const F = ["for"], M = {
28
19
  hidden: { type: Boolean, default: !1 },
29
20
  disabled: { type: Boolean, default: !1 }
30
21
  },
31
- setup(e) {
32
- const l = e, o = x(E, null), s = a(() => !!l.name && !!o), n = a(
33
- () => s.value ? !!o.errors.value[l.name] : !!l.error
34
- ), f = a(
35
- () => s.value ? o.errors.value[l.name] : l.errorMessage
36
- ), h = a(() => n.value && f.value), b = a(() => l.disabled || ((o == null ? void 0 : o.disabled.value) ?? !1)), m = l.for ?? `cui-field-${Math.random().toString(36).slice(2, 8)}`, y = a(() => {
37
- const r = {
38
- id: m,
39
- error: n.value,
40
- disabled: b.value
22
+ setup(l) {
23
+ const e = l, r = k(P, null), c = o(() => !!e.name && !!r), f = o(
24
+ () => c.value ? !!r.errors.value[e.name] : !!e.error
25
+ ), b = o(
26
+ () => c.value ? r.errors.value[e.name] : e.errorMessage
27
+ ), y = o(() => f.value && b.value), p = o(() => e.disabled || ((r == null ? void 0 : r.disabled.value) ?? !1)), n = e.for ?? `cui-field-${Math.random().toString(36).slice(2, 8)}`, q = E(), h = `${n}-label`, m = `${n}-description`, x = o(() => {
28
+ const a = {
29
+ id: n,
30
+ error: f.value,
31
+ disabled: p.value
41
32
  };
42
- return s.value && (r.modelValue = o.getValue(l.name), r["onUpdate:modelValue"] = (v) => o.setValue(l.name, v), r.readonly = o.readonly.value), r;
33
+ return e.label && (a.ariaLabelledby = h), e.required && (a.ariaRequired = !0), (y.value || e.helpText) && (a.ariaDescribedby = m), c.value && (a.modelValue = r.getValue(e.name), a["onUpdate:modelValue"] = (u) => r.setValue(e.name, u), a.readonly = r.readonly.value), a;
43
34
  });
44
- return g(() => {
45
- l.name && o && o.unregisterField(l.name);
46
- }), (r, v) => q((t(), i("div", {
47
- class: B(["cui-form-field", [
48
- `cui-form-field--${e.labelPosition}`,
49
- { "cui-form-field--error": n.value }
35
+ return T(() => {
36
+ e.name && r && r.unregisterField(e.name);
37
+ }), (a, u) => _((i(), t("div", {
38
+ class: F(["cui-form-field", [
39
+ `cui-form-field--${l.labelPosition}`,
40
+ { "cui-form-field--error": f.value }
50
41
  ]])
51
42
  }, [
52
- e.label ? (t(), i("label", {
43
+ l.label ? (i(), t("label", {
53
44
  key: 0,
54
- for: k(m),
45
+ id: h,
46
+ for: g(n),
55
47
  class: "cui-form-field__label"
56
48
  }, [
57
- u("span", null, d(e.label), 1),
58
- e.required && !e.requiredText ? (t(), i("span", M, "*")) : e.required && e.requiredText ? (t(), i("span", P, d(e.requiredText), 1)) : c("", !0)
59
- ], 8, F)) : c("", !0),
60
- u("div", S, [
61
- u("div", w, [
62
- T(r.$slots, "default", V(p(y.value)), void 0, !0)
49
+ s("span", null, d(l.label), 1),
50
+ l.required && !l.requiredText ? (i(), t(V, { key: 0 }, [
51
+ u[0] || (u[0] = s("span", {
52
+ class: "cui-form-field__required",
53
+ "aria-hidden": "true"
54
+ }, "*", -1)),
55
+ s("span", w, d(g(q).formField.required), 1)
56
+ ], 64)) : l.required ? (i(), t("span", I, d(l.requiredText), 1)) : v("", !0)
57
+ ], 8, S)) : v("", !0),
58
+ s("div", z, [
59
+ s("div", N, [
60
+ C(a.$slots, "default", M($(x.value)), void 0, !0)
63
61
  ]),
64
- h.value ? (t(), i("div", D, d(f.value), 1)) : e.helpText ? (t(), i("div", $, d(e.helpText), 1)) : c("", !0)
62
+ y.value ? (i(), t("div", {
63
+ key: 0,
64
+ class: "cui-form-field__error",
65
+ id: m
66
+ }, d(b.value), 1)) : l.helpText ? (i(), t("div", {
67
+ key: 1,
68
+ class: "cui-form-field__help",
69
+ id: m
70
+ }, d(l.helpText), 1)) : v("", !0)
65
71
  ])
66
72
  ], 2)), [
67
- [C, !e.hidden]
73
+ [D, !l.hidden]
68
74
  ]);
69
75
  }
70
76
  });
71
77
  export {
72
- U as default
78
+ K as default
73
79
  };
@@ -1,6 +1,6 @@
1
- import type { HideableProps, ColorableProps, SizeableProps, DisableableProps, CuiRounded } from "../types/common";
1
+ import type { HideableProps, ColorableProps, SizeableProps, DisableableProps, CuiRounded, NativeControlProps } from "../types/common";
2
2
  export type InputType = "text" | "password" | "email" | "url" | "tel" | "search" | "number" | "range";
3
- export interface CuiInputProps extends HideableProps, ColorableProps, SizeableProps, DisableableProps {
3
+ export interface CuiInputProps extends NativeControlProps, HideableProps, ColorableProps, SizeableProps, DisableableProps {
4
4
  /** v-model binding. `string | number` so `type="number"` / `v-model.number` bind without a cast. */
5
5
  modelValue?: string | number;
6
6
  /** Input type */
@@ -1 +1 @@
1
- {"version":3,"file":"CuiInput.vue.d.ts","sourceRoot":"","sources":["../../src/components/CuiInput.vue"],"names":[],"mappings":"AAmYA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,aAAa,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Y,QAEjC;AAED,iBAAS,IAAI,SAEZ;AA0ND,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACrF,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAkCxD,QAAA,MAAM,eAAe;;;;;;;;;;;WAvUX,OAAO;cAIJ,OAAO;;;;UAVX,SAAS;aAYN,UAAU;;gBAdP,MAAM,GAAG,MAAM;eAMhB,OAAO;6EAkVnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./CuiInput.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-29588c2a"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8462dac5"]]);
5
5
  export {
6
6
  m as default
7
7
  };