@quidgest/ui 0.28.0 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/CHANGELOG.md +51 -8
  2. package/README.md +19 -0
  3. package/dist/json/api.json +1517 -86
  4. package/dist/manifest/components.json +0 -1
  5. package/dist/ui.css +59 -68
  6. package/dist/ui.esm.js +1031 -1043
  7. package/dist/ui.js +1000 -1013
  8. package/dist/ui.min.css +1 -1
  9. package/dist/ui.min.js +1000 -1013
  10. package/dist/ui.scss +83 -27
  11. package/esm/components/QAccordion/QAccordion.d.ts +3 -3
  12. package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
  13. package/esm/components/QAccordion/QAccordion.vue.js +33 -30
  14. package/esm/components/QAccordion/QAccordionItem.d.ts +4 -1
  15. package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -1
  16. package/esm/components/QAccordion/QAccordionItem.vue.js +37 -6
  17. package/esm/components/QAccordion/index.d.ts +20 -11
  18. package/esm/components/QAccordion/index.d.ts.map +1 -1
  19. package/esm/components/QAvatar/QAvatar.d.ts.map +1 -1
  20. package/esm/components/QAvatar/QAvatar.vue.js +19 -12
  21. package/esm/components/QAvatar/types.d.ts +2 -1
  22. package/esm/components/QAvatar/types.d.ts.map +1 -1
  23. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  24. package/esm/components/QBadge/QBadge.vue.js +36 -37
  25. package/esm/components/QButtonGroup/QButtonGroup.vue.js +18 -18
  26. package/esm/components/QCarousel/QCarousel.d.ts +1 -1
  27. package/esm/components/QCarousel/QCarousel.d.ts.map +1 -1
  28. package/esm/components/QCarousel/QCarousel.vue.js +99 -95
  29. package/esm/components/QCarousel/constants.d.ts +1 -0
  30. package/esm/components/QCarousel/constants.d.ts.map +1 -1
  31. package/esm/components/QCarousel/constants.js +2 -1
  32. package/esm/components/QCarousel/index.d.ts +3 -3
  33. package/esm/components/QCheckbox/QCheckbox.d.ts +0 -2
  34. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  35. package/esm/components/QCheckbox/QCheckbox.vue.js +33 -36
  36. package/esm/components/QCheckbox/index.d.ts +0 -1
  37. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  38. package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
  39. package/esm/components/QColorPicker/QColorPicker.vue.js +1 -2
  40. package/esm/components/QCombobox/QCombobox.d.ts +9 -0
  41. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  42. package/esm/components/QCombobox/QCombobox.vue.js +142 -134
  43. package/esm/components/QCombobox/index.d.ts +10 -0
  44. package/esm/components/QCombobox/index.d.ts.map +1 -1
  45. package/esm/components/QCombobox/types.d.ts +8 -0
  46. package/esm/components/QCombobox/types.d.ts.map +1 -1
  47. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  48. package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +199 -219
  49. package/esm/components/QDialog/QDialog.d.ts +1 -1
  50. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  51. package/esm/components/QDialog/QDialog.vue.js +4 -4
  52. package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
  53. package/esm/components/QDialog/index.d.ts +6 -6
  54. package/esm/components/QDialog/types.d.ts +3 -3
  55. package/esm/components/QDialog/types.d.ts.map +1 -1
  56. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +8 -0
  57. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
  58. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +136 -124
  59. package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
  60. package/esm/components/QFileUpload/QFileUpload.vue.js +82 -79
  61. package/esm/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
  62. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  63. package/esm/components/QIcon/QSvgSymbol.d.ts.map +1 -1
  64. package/esm/components/QIcon/QSvgSymbol.vue.js +31 -31
  65. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  66. package/esm/components/QInputGroup/QInputGroup.vue.js +67 -41
  67. package/esm/components/QInputGroup/types.d.ts +15 -1
  68. package/esm/components/QInputGroup/types.d.ts.map +1 -1
  69. package/esm/components/QList/QList.d.ts +6 -0
  70. package/esm/components/QList/QList.d.ts.map +1 -1
  71. package/esm/components/QList/QList.vue.js +4 -1
  72. package/esm/components/QList/QListItem.d.ts +6 -2
  73. package/esm/components/QList/QListItem.d.ts.map +1 -1
  74. package/esm/components/QList/QListItem.vue.js +54 -41
  75. package/esm/components/QList/index.d.ts +6 -1
  76. package/esm/components/QList/index.d.ts.map +1 -1
  77. package/esm/components/QList/types.d.ts +16 -0
  78. package/esm/components/QList/types.d.ts.map +1 -1
  79. package/esm/components/QOverflow/QOverflow.d.ts +6 -1
  80. package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
  81. package/esm/components/QOverflow/QOverflow.vue.js +90 -95
  82. package/esm/components/QOverflow/index.d.ts +3 -3
  83. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  84. package/esm/components/QOverlay/QOverlay.vue.js +125 -117
  85. package/esm/components/QOverlay/types.d.ts +9 -2
  86. package/esm/components/QOverlay/types.d.ts.map +1 -1
  87. package/esm/components/QPasswordField/QPasswordField.d.ts +1 -0
  88. package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
  89. package/esm/components/QPasswordField/QPasswordField.vue.js +5 -0
  90. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +1 -0
  91. package/esm/components/QPasswordField/index.d.ts +6 -0
  92. package/esm/components/QPasswordField/index.d.ts.map +1 -1
  93. package/esm/components/QPasswordField/types.d.ts +10 -0
  94. package/esm/components/QPasswordField/types.d.ts.map +1 -1
  95. package/esm/components/QPhoneField/QPhoneField.d.ts +184 -18
  96. package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
  97. package/esm/components/QPhoneField/index.d.ts +92 -9
  98. package/esm/components/QPhoneField/index.d.ts.map +1 -1
  99. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  100. package/esm/components/QPropertyList/QPropertyList.vue.js +62 -60
  101. package/esm/components/QPropertyList/QPropertyListRow.vue.js +2 -2
  102. package/esm/components/QPropertyList/index.d.ts.map +1 -1
  103. package/esm/components/QRadioGroup/QRadioButton.vue.js +2 -2
  104. package/esm/components/QRadioGroup/QRadioGroup.vue.js +46 -46
  105. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
  106. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +7 -7
  107. package/esm/components/QRemoveScrollBar/utils/gap.d.ts +0 -6
  108. package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -1
  109. package/esm/components/QRemoveScrollBar/utils/gap.js +12 -18
  110. package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts +11 -0
  111. package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts.map +1 -1
  112. package/esm/components/QRemoveScrollBar/utils/stylesheet.js +5 -5
  113. package/esm/components/QSelect/QSelect.d.ts +157 -0
  114. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  115. package/esm/components/QSelect/QSelect.vue.js +240 -212
  116. package/esm/components/QSelect/index.d.ts +84 -0
  117. package/esm/components/QSelect/index.d.ts.map +1 -1
  118. package/esm/components/QSelect/types.d.ts +8 -0
  119. package/esm/components/QSelect/types.d.ts.map +1 -1
  120. package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
  121. package/esm/components/QSidebar/QSidebar.vue.js +1 -2
  122. package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
  123. package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
  124. package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
  125. package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
  126. package/esm/components/QSidebar/QSidebarPanel.vue.js +5 -5
  127. package/esm/components/QSidebar/context.d.ts +3 -3
  128. package/esm/components/QSidebar/context.d.ts.map +1 -1
  129. package/esm/components/QSteps/QSteps.d.ts +4 -4
  130. package/esm/components/QSteps/QSteps.d.ts.map +1 -1
  131. package/esm/components/QSteps/QSteps.vue.js +9 -15
  132. package/esm/components/QSteps/index.d.ts +2 -2
  133. package/esm/components/QSteps/types.d.ts +2 -1
  134. package/esm/components/QSteps/types.d.ts.map +1 -1
  135. package/esm/components/QTabs/QTab.d.ts.map +1 -1
  136. package/esm/components/QTabs/QTab.vue.js +2 -2
  137. package/esm/components/QTabs/QTabs.d.ts +4 -4
  138. package/esm/components/QTabs/QTabs.d.ts.map +1 -1
  139. package/esm/components/QTabs/QTabs.vue.js +86 -85
  140. package/esm/components/QTabs/context.d.ts +3 -3
  141. package/esm/components/QTabs/context.d.ts.map +1 -1
  142. package/esm/components/QTabs/index.d.ts +2 -2
  143. package/esm/components/QTextArea/QTextArea.d.ts +1 -1
  144. package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
  145. package/esm/components/QTextArea/QTextArea.vue.js +25 -24
  146. package/esm/components/QTextArea/index.d.ts +3 -3
  147. package/esm/components/QToast/QToast.d.ts.map +1 -1
  148. package/esm/components/QToast/QToast.vue.js +7 -4
  149. package/esm/components/QToast/QToaster.d.ts.map +1 -1
  150. package/esm/components/QToast/types.d.ts +3 -3
  151. package/esm/components/QToggleGroup/QToggleGroup.d.ts +3 -3
  152. package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
  153. package/esm/components/QToggleGroup/QToggleGroup.vue.js +34 -31
  154. package/esm/components/QToggleGroup/index.d.ts +8 -8
  155. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  156. package/esm/components/QTooltip/QTooltip.vue.js +1 -1
  157. package/esm/composables/defaults.d.ts +10 -0
  158. package/esm/composables/defaults.d.ts.map +1 -1
  159. package/esm/composables/defaults.js +8 -5
  160. package/esm/composables/useDialog/_internal.js +8 -11
  161. package/esm/composables/useDialog/index.js +1 -2
  162. package/esm/composables/useDialog/types.d.ts.map +1 -1
  163. package/esm/composables/useDropZone/index.d.ts +1 -11
  164. package/esm/composables/useDropZone/index.d.ts.map +1 -1
  165. package/esm/composables/useDropZone/index.js +23 -26
  166. package/esm/composables/useGroup/index.d.ts.map +1 -1
  167. package/esm/composables/useGroup/index.js +15 -15
  168. package/esm/composables/useOverlayScope/index.d.ts +29 -0
  169. package/esm/composables/useOverlayScope/index.d.ts.map +1 -0
  170. package/esm/composables/useOverlayScope/index.js +23 -0
  171. package/esm/composables/useTextareaAutosize/index.d.ts +3 -1
  172. package/esm/composables/useTextareaAutosize/index.d.ts.map +1 -1
  173. package/esm/composables/useTextareaAutosize/index.js +6 -6
  174. package/esm/composables/useToast/_internal.js +10 -15
  175. package/esm/composables/useToast/index.js +1 -2
  176. package/esm/composables/useToast/types.d.ts.map +1 -1
  177. package/esm/framework.js +14 -12
  178. package/esm/index.d.ts +1 -2
  179. package/esm/index.d.ts.map +1 -1
  180. package/esm/symbols/overlayScope.d.ts +4 -0
  181. package/esm/symbols/overlayScope.d.ts.map +1 -0
  182. package/esm/symbols/overlayScope.js +4 -0
  183. package/esm/types/component.d.ts +8 -0
  184. package/esm/types/component.d.ts.map +1 -1
  185. package/esm/types/index.d.ts +1 -1
  186. package/esm/types/index.d.ts.map +1 -1
  187. package/esm/utils/color/parse.d.ts.map +1 -1
  188. package/esm/utils/color/parse.js +3 -10
  189. package/esm/utils/date.d.ts +35 -13
  190. package/esm/utils/date.d.ts.map +1 -1
  191. package/esm/utils/date.js +313 -253
  192. package/esm/utils/mask.d.ts +1 -0
  193. package/esm/utils/mask.d.ts.map +1 -1
  194. package/esm/utils/mask.js +42 -100
  195. package/esm/utils/overlay.d.ts +13 -1
  196. package/esm/utils/overlay.d.ts.map +1 -1
  197. package/esm/utils/overlay.js +55 -41
  198. package/esm/utils/safeTriangle.d.ts.map +1 -1
  199. package/esm/utils/safeTriangle.js +2 -2
  200. package/esm/utils/setupPropsProxy.d.ts +3 -1
  201. package/esm/utils/setupPropsProxy.d.ts.map +1 -1
  202. package/esm/utils/setupPropsProxy.js +2 -2
  203. package/package.json +9 -6
@@ -1,40 +1,40 @@
1
1
  import { useId as e } from "../../composables/useId/index.js";
2
2
  import { useColor as t } from "../../composables/useColor/index.js";
3
3
  import { QIcon as n } from "../QIcon/index.js";
4
- import { mergeDescribedBy as ee } from "../__internal__/QHelpPopover/resolveHelp.js";
5
- import { QButton as r } from "../QButton/index.js";
6
- import { QField as te } from "../QField/index.js";
7
- import { DEFAULT_ICONS as i, DEFAULT_TEXTS as a } from "./constants.js";
8
- import { useDropZone as o } from "../../composables/useDropZone/index.js";
9
- import { downloadFile as s } from "../../utils/download.js";
10
- import { computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as p, createTextVNode as m, createVNode as h, defineComponent as g, guardReactiveProps as _, mergeModels as v, mergeProps as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, openBlock as C, ref as w, renderSlot as ne, toDisplayString as T, toRef as E, unref as D, useAttrs as O, useModel as k, watch as A, withCtx as j } from "vue";
4
+ import { mergeDescribedBy as r } from "../__internal__/QHelpPopover/resolveHelp.js";
5
+ import { QButton as i } from "../QButton/index.js";
6
+ import { QField as a } from "../QField/index.js";
7
+ import { DEFAULT_ICONS as o, DEFAULT_TEXTS as s } from "./constants.js";
8
+ import { useDropZone as c } from "../../composables/useDropZone/index.js";
9
+ import { downloadFile as ee } from "../../utils/download.js";
10
+ import { computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as h, createVNode as g, defineComponent as _, guardReactiveProps as v, mergeModels as y, mergeProps as b, normalizeClass as te, normalizeProps as x, normalizeStyle as S, openBlock as C, ref as w, renderSlot as ne, toDisplayString as T, toRef as re, unref as E, useAttrs as D, useModel as O, watch as k, withCtx as A } from "vue";
11
11
  //#region src/components/QFileUpload/QFileUpload.vue?vue&type=script&setup=true&lang.ts
12
- var M = [
12
+ var j = [
13
13
  "id",
14
14
  "accept",
15
15
  "required",
16
16
  "readonly",
17
17
  "disabled",
18
18
  "aria-describedby"
19
- ], N = {
19
+ ], M = {
20
20
  key: 0,
21
21
  class: "q-file-input__drop-area"
22
- }, P = {
22
+ }, N = {
23
23
  key: 1,
24
24
  class: "q-file-input__file-details"
25
- }, F = { class: "q-file-input__attached-file" }, I = {
25
+ }, P = { class: "q-file-input__attached-file" }, F = {
26
26
  key: 0,
27
27
  class: "q-file-input__preview q-file-input__image-preview"
28
- }, L = ["src", "alt"], R = { class: "q-file-input__file-meta" }, z = { class: "q-file-input__file-name" }, B = { class: "q-file-input__file-type" }, V = {
28
+ }, I = ["src", "alt"], L = { class: "q-file-input__file-meta" }, R = { class: "q-file-input__file-name" }, z = { class: "q-file-input__file-type" }, B = {
29
29
  key: 0,
30
30
  class: "q-file-input__action-buttons"
31
- }, re = {
31
+ }, V = {
32
32
  key: 2,
33
33
  class: "q-file-input__empty-container"
34
- }, H = /*@__PURE__*/ g({
34
+ }, H = /*@__PURE__*/ _({
35
35
  inheritAttrs: !1,
36
36
  __name: "QFileUpload",
37
- props: /*@__PURE__*/ v({
37
+ props: /*@__PURE__*/ y({
38
38
  id: {},
39
39
  class: {},
40
40
  label: {},
@@ -43,8 +43,8 @@ var M = [
43
43
  labelPosition: {},
44
44
  help: {},
45
45
  helpDisplay: {},
46
- icons: { default: () => i },
47
- texts: { default: () => a },
46
+ icons: { default: () => o },
47
+ texts: { default: () => s },
48
48
  size: { default: "large" },
49
49
  readonly: { type: Boolean },
50
50
  disabled: { type: Boolean },
@@ -55,9 +55,9 @@ var M = [
55
55
  modelModifiers: {}
56
56
  }),
57
57
  emits: ["update:modelValue"],
58
- setup(i) {
59
- let a = i, g = k(i, "modelValue"), v = e(E(a, "id")), { style: H } = t("primary"), U = c(() => ({ "--q-file-input-tint-color": H.value?.tintColor })), W = O(), G = c(() => `${v.value}_field`), K = c(() => typeof W["aria-describedby"] == "string" ? W["aria-describedby"] : void 0), q = c(() => !a.readonly && !a.disabled), J = w(null);
60
- A(g, (e) => {
58
+ setup(o) {
59
+ let s = o, _ = O(o, "modelValue"), y = e(re(s, "id")), { style: H } = t("primary"), U = l(() => ({ "--q-file-input-tint-color": H.value?.tintColor })), W = D(), G = l(() => `${y.value}_field`), K = l(() => typeof W["aria-describedby"] == "string" ? W["aria-describedby"] : void 0), q = l(() => !s.readonly && !s.disabled), J = w(null);
60
+ k(_, (e) => {
61
61
  J.value && URL.revokeObjectURL(J.value), J.value = e && e.type.startsWith("image/") ? URL.createObjectURL(e) : null;
62
62
  });
63
63
  let Y = w(null);
@@ -66,94 +66,97 @@ var M = [
66
66
  }
67
67
  function ie(e) {
68
68
  let t = e.target;
69
- t?.files?.[0] && (g.value = t.files[0]);
69
+ t?.files?.[0] && (_.value = t.files[0]);
70
70
  }
71
71
  function ae() {
72
- g.value && s(g.value);
72
+ _.value && ee(_.value);
73
73
  }
74
74
  function oe() {
75
- g.value = void 0, Y.value && (Y.value.value = "");
75
+ _.value = void 0, Y.value && (Y.value.value = "");
76
76
  }
77
77
  function se(e) {
78
- if (!q.value) return;
79
- let t = e?.[0];
80
- t && (g.value = t);
78
+ _.value = e[0];
81
79
  }
82
- let Z = w(null), Q = c(() => Array.isArray(a.accept) ? a.accept : a.accept ? a.accept.split(",").map((e) => e.trim()) : []), ce = c(() => Q.value?.join(",")), { isOverDropZone: le, isValid: $ } = o(Z, {
80
+ let Z = w(null), Q = l(() => Array.isArray(s.accept) ? s.accept : s.accept ? s.accept.split(",").map((e) => e.trim()) : []), ce = l(() => Q.value?.join(",")), { isOverDropZone: le, isValid: $ } = c(Z, {
83
81
  onDrop: se,
84
82
  accept: Q,
85
- enabled: c(() => q.value && !g.value)
86
- }), ue = c(() => [
83
+ enabled: l(() => q.value && !_.value)
84
+ }), ue = l(() => [
87
85
  "q-field__control",
88
86
  "q-file-input",
89
87
  { "q-file-input--highlighted": le.value && $.value },
90
- a.class
88
+ s.class
91
89
  ]);
92
- return (e, t) => (C(), l(D(te), {
90
+ return (e, t) => (C(), u(E(a), {
93
91
  id: G.value,
94
- for: D(v),
95
- label: a.label,
96
- "label-position": a.labelPosition,
97
- size: a.size,
98
- readonly: a.readonly,
99
- disabled: a.disabled,
100
- required: a.required,
101
- invalid: a.invalid,
102
- help: a.help,
103
- "help-display": a.helpDisplay,
104
- icons: a.icons,
105
- texts: a.texts
106
- }, p({
107
- control: j(({ describedBy: t }) => [f("div", {
92
+ for: E(y),
93
+ label: s.label,
94
+ "label-position": s.labelPosition,
95
+ size: s.size,
96
+ readonly: s.readonly,
97
+ disabled: s.disabled,
98
+ required: s.required,
99
+ invalid: s.invalid,
100
+ help: s.help,
101
+ "help-display": s.helpDisplay,
102
+ icons: s.icons,
103
+ texts: s.texts
104
+ }, m({
105
+ control: A(({ describedBy: t }) => [p("div", {
108
106
  ref_key: "dropZoneRef",
109
107
  ref: Z,
110
- class: b(ue.value),
108
+ class: te(ue.value),
111
109
  style: S(U.value)
112
- }, [f("input", y({
113
- id: D(v),
110
+ }, [p("input", b({
111
+ id: E(y),
114
112
  ref_key: "fileInput",
115
113
  ref: Y,
116
114
  type: "file",
117
115
  class: "q-file-input__file-input",
118
116
  accept: ce.value,
119
- required: a.required,
120
- readonly: a.readonly,
121
- disabled: a.disabled
117
+ required: s.required,
118
+ readonly: s.readonly,
119
+ disabled: s.disabled
122
120
  }, e.$attrs, {
123
- "aria-describedby": D(ee)(t, K.value),
121
+ "aria-describedby": E(r)(t, K.value),
124
122
  onChange: ie
125
- }), null, 16, M), !g.value && q.value ? (C(), d("div", N, [
126
- h(D(n), x(_(a.icons.upload)), null, 16),
127
- f("span", null, T(a.texts.dropHereOr), 1),
128
- h(D(r), {
129
- label: a.texts.chooseFile,
123
+ }), null, 16, j), !_.value && q.value ? (C(), f("div", M, [
124
+ g(E(n), x(v(s.icons.upload)), null, 16),
125
+ p("span", null, T(s.texts.dropHereOr), 1),
126
+ g(E(i), {
127
+ label: s.texts.chooseFile,
130
128
  onClick: X
131
129
  }, null, 8, ["label"])
132
- ])) : g.value ? (C(), d("div", P, [f("div", F, [J.value ? (C(), d("div", I, [f("img", {
133
- src: J.value,
134
- alt: a.texts.preview
135
- }, null, 8, L)])) : (C(), l(D(n), y({
136
- key: 1,
137
- class: "q-file-input__preview"
138
- }, a.icons.file), null, 16)), f("div", R, [f("span", z, T(g.value.name), 1), f("span", B, T(g.value.type), 1)])]), q.value ? (C(), d("div", V, [h(D(r), {
139
- title: a.texts.download,
140
- borderless: "",
141
- onClick: ae
142
- }, {
143
- default: j(() => [h(D(n), x(_(a.icons.download)), null, 16)]),
144
- _: 1
145
- }, 8, ["title"]), h(D(r), {
146
- title: a.texts.remove,
147
- borderless: "",
148
- onClick: oe
149
- }, {
150
- default: j(() => [h(D(n), x(_(a.icons.remove)), null, 16)]),
151
- _: 1
152
- }, 8, ["title"])])) : u("v-if", !0)])) : (C(), d("div", re, [h(D(n), x(_(a.icons.empty)), null, 16), m(" " + T(a.texts.empty), 1)]))], 6)]),
130
+ ])) : _.value ? (C(), f("div", N, [
131
+ p("div", P, [J.value ? (C(), f("div", F, [p("img", {
132
+ src: J.value,
133
+ alt: s.texts.preview
134
+ }, null, 8, I)])) : (C(), u(E(n), b({
135
+ key: 1,
136
+ class: "q-file-input__preview"
137
+ }, s.icons.file), null, 16)), p("div", L, [p("span", R, T(_.value.name), 1), p("span", z, T(_.value.type), 1)])]),
138
+ d(" Read-only still lets the user download the file, only not remove it "),
139
+ s.disabled ? d("v-if", !0) : (C(), f("div", B, [g(E(i), {
140
+ title: s.texts.download,
141
+ borderless: "",
142
+ onClick: ae
143
+ }, {
144
+ default: A(() => [g(E(n), x(v(s.icons.download)), null, 16)]),
145
+ _: 1
146
+ }, 8, ["title"]), q.value ? (C(), u(E(i), {
147
+ key: 0,
148
+ title: s.texts.remove,
149
+ borderless: "",
150
+ onClick: oe
151
+ }, {
152
+ default: A(() => [g(E(n), x(v(s.icons.remove)), null, 16)]),
153
+ _: 1
154
+ }, 8, ["title"])) : d("v-if", !0)]))
155
+ ])) : (C(), f("div", V, [g(E(n), x(v(s.icons.empty)), null, 16), h(" " + T(s.texts.empty), 1)]))], 6)]),
153
156
  _: 2
154
157
  }, [e.$slots.extras ? {
155
158
  name: "extras",
156
- fn: j(() => [ne(e.$slots, "extras")]),
159
+ fn: A(() => [ne(e.$slots, "extras")]),
157
160
  key: "0"
158
161
  } : void 0]), 1032, [
159
162
  "id",
@@ -1 +1 @@
1
- {"version":3,"file":"QFocusWrap.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusWrap/QFocusWrap.vue"],"names":[],"mappings":"AAmBA;AAyIC,OAAO,KAAK,EAAE,eAAe,EAA8B,MAAM,GAAG,CAAA;AAuHrE,iBAAS,cAAc;WA2CT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;OAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QFocusWrap.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusWrap/QFocusWrap.vue"],"names":[],"mappings":"AAiBA;AAuIC,OAAO,KAAK,EAAE,eAAe,EAA8B,MAAM,GAAG,CAAA;AAuHrE,iBAAS,cAAc;WA2CT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;OAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QIconFont.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconFont.vue"],"names":[],"mappings":"AAMA;AAqCC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;;AA6DxC,wBAOG"}
1
+ {"version":3,"file":"QIconFont.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QIconFont.vue"],"names":[],"mappings":"AAKA;AAoCC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;;AA6DxC,wBAOG"}
@@ -1 +1 @@
1
- {"version":3,"file":"QSvgSymbol.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QSvgSymbol.vue"],"names":[],"mappings":"AASA;AAqPC;;;GAGG;AACH,KAAK,eAAe,GAAG;IACtB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;OAKG;IACH,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,UAAU,CAAA;IAEjD;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA;;;;;;;;;;YAxBS,MAAM;WAOP,MAAM;SAdR,MAAM;qBAsBM,CAAC,GAAG,EAAE,UAAU,KAAK,UAAU;uBAQ7B,OAAO;;AAmP7B,wBAQG"}
1
+ {"version":3,"file":"QSvgSymbol.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QIcon/QSvgSymbol.vue"],"names":[],"mappings":"AAcA;AA0PC;;;GAGG;AACH,KAAK,eAAe,GAAG;IACtB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;OAKG;IACH,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,UAAU,CAAA;IAEjD;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA;;;;;;;;;;YAxBS,MAAM;WAOP,MAAM;SAdR,MAAM;qBAsBM,CAAC,GAAG,EAAE,UAAU,KAAK,UAAU;uBAQ7B,OAAO;;AAyP7B,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import { loadSvg as e } from "./utils/svgSource.js";
2
- import { computed as t, createCommentVNode as n, createElementBlock as r, defineComponent as i, getCurrentInstance as a, mergeProps as o, nextTick as s, normalizeProps as c, onMounted as l, openBlock as u, ref as d, unref as f, useAttrs as p, watch as m } from "vue";
2
+ import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, defineComponent as a, getCurrentInstance as o, mergeProps as s, nextTick as c, normalizeProps as l, onMounted as u, openBlock as d, ref as f, unref as p, useAttrs as m, watch as h } from "vue";
3
3
  //#region src/components/QIcon/QSvgSymbol.vue?vue&type=script&setup=true&lang.ts
4
- var h = ["innerHTML"], g = /*@__PURE__*/ i({
4
+ var g = ["innerHTML"], _ = /*@__PURE__*/ a({
5
5
  name: "QSvgSymbol",
6
6
  inheritAttrs: !1,
7
7
  __name: "QSvgSymbol",
@@ -23,54 +23,54 @@ var h = ["innerHTML"], g = /*@__PURE__*/ i({
23
23
  "unloaded",
24
24
  "error"
25
25
  ],
26
- setup(i, { emit: g }) {
27
- let _ = i, v = g, y = p(), b = a(), x = d(null);
28
- function S(e) {
26
+ setup(a, { emit: _ }) {
27
+ let v = a, y = _, b = m(), x = o(), S = f(null);
28
+ function C(e) {
29
29
  let t = e;
30
- if (_.symbol) {
31
- let n = e.getElementById(_.symbol);
30
+ if (v.symbol) {
31
+ let n = e.getElementById(v.symbol);
32
32
  if (!n) return null;
33
33
  t = n;
34
34
  }
35
- return _.transformSource && (t = _.transformSource(t.cloneNode(!0))), _.title && (_.transformSource || (t = t.cloneNode(!0)), A(t, _.title)), t;
35
+ return v.transformSource && (t = v.transformSource(t.cloneNode(!0))), v.title && (v.transformSource || (t = t.cloneNode(!0)), j(t, v.title)), t;
36
36
  }
37
- let C = t(() => x.value ? S(x.value) : null), w = t(() => x.value !== null && C.value === null), T = t(() => {
38
- if (!x.value || !C.value) return {};
37
+ let w = n(() => S.value ? C(S.value) : null), T = n(() => S.value !== null && w.value === null), E = n(() => {
38
+ if (!S.value || !w.value) return {};
39
39
  let e = {};
40
- return O(e, x.value), O(e, C.value), k(e, y), y.id || delete e.id, e;
41
- }), E = 0;
42
- async function D(t) {
43
- let n = ++E;
40
+ return k(e, S.value), k(e, w.value), A(e, b), b.id || delete e.id, e;
41
+ }), D = 0;
42
+ async function O(t) {
43
+ let n = ++D;
44
44
  if (!t) {
45
- x.value && (x.value = null, v("unloaded"));
45
+ S.value && (S.value = null, y("unloaded"));
46
46
  return;
47
47
  }
48
48
  try {
49
49
  let r = e(t);
50
- x.value && r.getIsPending() && !_.keepDuringLoading && (x.value = null, v("unloaded"));
50
+ S.value && r.getIsPending() && !v.keepDuringLoading && (S.value = null, y("unloaded"));
51
51
  let i = await r;
52
- if (n !== E) return;
53
- x.value = i, await s();
54
- let a = b?.proxy?.$el;
55
- a instanceof Element && v("loaded", a);
52
+ if (n !== D) return;
53
+ S.value = i, await c();
54
+ let a = x?.proxy?.$el;
55
+ a instanceof Element && y("loaded", a);
56
56
  } catch (e) {
57
- if (n !== E) return;
58
- x.value && (x.value = null, v("unloaded")), v("error", e);
57
+ if (n !== D) return;
58
+ S.value && (S.value = null, y("unloaded")), y("error", e);
59
59
  }
60
60
  }
61
- l(() => {
62
- D(_.src);
63
- }), m(() => _.src, (e) => {
64
- D(e);
61
+ u(() => {
62
+ O(v.src);
63
+ }), h(() => v.src, (e) => {
64
+ O(e);
65
65
  });
66
- function O(e, t) {
66
+ function k(e, t) {
67
67
  let n = t.attributes;
68
68
  if (n) for (let t of n) e[t.name] = t.value;
69
69
  }
70
- function k(e, t) {
70
+ function A(e, t) {
71
71
  for (let [n, r] of Object.entries(t)) r !== !1 && r != null && (e[n] = r);
72
72
  }
73
- function A(e, t) {
73
+ function j(e, t) {
74
74
  let n = e.getElementsByTagName("title");
75
75
  if (n.length) n[0].textContent = t;
76
76
  else {
@@ -78,8 +78,8 @@ var h = ["innerHTML"], g = /*@__PURE__*/ i({
78
78
  n.textContent = t, e.insertBefore(n, e.firstChild);
79
79
  }
80
80
  }
81
- return (e, t) => w.value ? (u(), r("div", c(o({ key: 0 }, f(y))), null, 16)) : C.value ? (u(), r("svg", o({ key: 1 }, T.value, { innerHTML: C.value.innerHTML }), null, 16, h)) : n("v-if", !0);
81
+ return (e, n) => T.value ? (d(), i("div", l(s({ key: 0 }, p(b))), null, 16)) : w.value ? (d(), i("svg", s({ key: 1 }, E.value, { innerHTML: w.value.innerHTML }), null, 16, g)) : (d(), i(t, { key: 2 }, [r(" Until the bundle loads, an empty icon keeps its box, so the layout does not shift "), (d(), i("svg", s(p(b), { "aria-hidden": "true" }), null, 16))], 2112));
82
82
  }
83
83
  });
84
84
  //#endregion
85
- export { g as default };
85
+ export { _ as default };
@@ -1 +1 @@
1
- {"version":3,"file":"QInputGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/QInputGroup.vue"],"names":[],"mappings":"AAiDA;AAiGC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAA;AAsC1C,iBAAS,cAAc;WA0IT,OAAO,IAA6B;;iCAhBb,GAAG;gCACJ,GAAG;yBACT,GAAG;;;YACH,GAAG;wBACJ,GAAG;wBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDA4Du+hB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;EA5C5niB;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDA+Bk/hB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;OArB3niB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QInputGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/QInputGroup.vue"],"names":[],"mappings":"AAiDA;AA0HC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAA;AA+D1C,iBAAS,cAAc;WA0IT,OAAO,IAA6B;;iCAhBb,GAAG;gCACJ,GAAG;yBACT,GAAG;;;YACH,GAAG;wBACJ,GAAG;wBACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDA4Du7e,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;EA5C5kf;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDA+Bk8e,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;OArB3kf,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,16 +1,16 @@
1
- import { provideDefaults as e } from "../../composables/defaults.js";
2
- import { useId as t } from "../../composables/useId/index.js";
3
- import { QIcon as n } from "../QIcon/index.js";
4
- import { QField as r } from "../QField/index.js";
5
- import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createSlots as c, createVNode as l, defineComponent as u, guardReactiveProps as d, normalizeClass as f, normalizeProps as p, openBlock as m, renderSlot as h, toRef as g, unref as _, useTemplateRef as v, withCtx as y } from "vue";
1
+ import { booleanDefault as e, provideDefaults as t } from "../../composables/defaults.js";
2
+ import { useId as n } from "../../composables/useId/index.js";
3
+ import { QIcon as r } from "../QIcon/index.js";
4
+ import { QField as i } from "../QField/index.js";
5
+ import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createSlots as l, createVNode as u, defineComponent as d, guardReactiveProps as f, normalizeClass as p, normalizeProps as m, openBlock as h, renderSlot as g, toRef as _, unref as v, useTemplateRef as y, withCtx as b } from "vue";
6
6
  //#region src/components/QInputGroup/QInputGroup.vue?vue&type=script&setup=true&lang.ts
7
- var b = {
7
+ var x = {
8
8
  key: 0,
9
9
  class: "q-input-group__prepend"
10
- }, x = { key: 0 }, S = {
10
+ }, S = { key: 0 }, C = {
11
11
  key: 1,
12
12
  class: "q-input-group__append"
13
- }, C = { key: 0 }, w = /*@__PURE__*/ u({
13
+ }, w = { key: 0 }, T = /*@__PURE__*/ d({
14
14
  __name: "QInputGroup",
15
15
  props: {
16
16
  id: {},
@@ -24,47 +24,73 @@ var b = {
24
24
  icons: {},
25
25
  texts: {},
26
26
  size: { default: "large" },
27
- readonly: { type: Boolean },
28
- disabled: { type: Boolean },
29
27
  invalid: { type: Boolean },
28
+ disabled: { type: Boolean },
29
+ readonly: { type: Boolean },
30
30
  prependIcon: {},
31
31
  appendIcon: {}
32
32
  },
33
- setup(u, { expose: w }) {
34
- let T = u, E = t(g(T, "id"));
35
- e({ QField: { size: "block" } });
36
- let D = v("field");
37
- return w({
38
- fieldRef: i(() => D.value?.fieldRef),
39
- helpDescribedBy: i(() => D.value?.helpDescribedBy)
40
- }), (e, t) => (m(), a(_(r), {
41
- id: _(E),
33
+ setup(d, { expose: T }) {
34
+ let E = d, D = n(_(E, "id")), O = [
35
+ "QCheckbox",
36
+ "QColorPicker",
37
+ "QCombobox",
38
+ "QDateTimePicker",
39
+ "QFileUpload",
40
+ "QObfuscation",
41
+ "QPasswordField",
42
+ "QPhoneField",
43
+ "QRadioGroup",
44
+ "QSelect",
45
+ "QSwitch",
46
+ "QTextArea",
47
+ "QTextField"
48
+ ], k = [
49
+ "QButton",
50
+ "QButtonGroup",
51
+ "QToggle",
52
+ "QToggleGroup"
53
+ ], A = e(() => E.disabled), j = e(() => E.readonly);
54
+ t({
55
+ QField: { size: "block" },
56
+ ...Object.fromEntries(O.map((e) => [e, {
57
+ disabled: A,
58
+ readonly: j
59
+ }])),
60
+ ...Object.fromEntries(k.map((e) => [e, { disabled: A }]))
61
+ });
62
+ let M = y("field");
63
+ return T({
64
+ fieldRef: a(() => M.value?.fieldRef),
65
+ helpDescribedBy: a(() => M.value?.helpDescribedBy)
66
+ }), (e, t) => (h(), o(v(i), {
67
+ id: v(D),
42
68
  ref: "field",
43
- class: f(["q-input-group", T.class]),
44
- for: T.for,
45
- label: T.label,
46
- "label-position": T.labelPosition,
47
- required: T.required,
48
- size: T.size,
49
- readonly: T.readonly,
50
- disabled: T.disabled,
51
- invalid: T.invalid,
52
- help: T.help,
53
- "help-display": T.helpDisplay,
54
- icons: T.icons,
55
- texts: T.texts
56
- }, c({
57
- "label.prepend": y(() => [h(e.$slots, "label.prepend")]),
58
- "label.append": y(() => [h(e.$slots, "label.append")]),
59
- default: y(({ describedBy: t }) => [
60
- e.$slots.prepend || T.prependIcon ? (m(), s("div", b, [T.prependIcon ? (m(), s("span", x, [l(_(n), p(d(T.prependIcon)), null, 16)])) : o("v-if", !0), h(e.$slots, "prepend")])) : o("v-if", !0),
61
- h(e.$slots, "default", { describedBy: t }),
62
- e.$slots.append || T.appendIcon ? (m(), s("div", S, [T.appendIcon ? (m(), s("span", C, [l(_(n), p(d(T.appendIcon)), null, 16)])) : o("v-if", !0), h(e.$slots, "append")])) : o("v-if", !0)
69
+ class: p(["q-input-group", E.class]),
70
+ for: E.for,
71
+ label: E.label,
72
+ "label-position": E.labelPosition,
73
+ required: E.required,
74
+ size: E.size,
75
+ readonly: E.readonly,
76
+ disabled: E.disabled,
77
+ invalid: E.invalid,
78
+ help: E.help,
79
+ "help-display": E.helpDisplay,
80
+ icons: E.icons,
81
+ texts: E.texts
82
+ }, l({
83
+ "label.prepend": b(() => [g(e.$slots, "label.prepend")]),
84
+ "label.append": b(() => [g(e.$slots, "label.append")]),
85
+ default: b(({ describedBy: t }) => [
86
+ e.$slots.prepend || E.prependIcon ? (h(), c("div", x, [E.prependIcon ? (h(), c("span", S, [u(v(r), m(f(E.prependIcon)), null, 16)])) : s("v-if", !0), g(e.$slots, "prepend")])) : s("v-if", !0),
87
+ g(e.$slots, "default", { describedBy: t }),
88
+ e.$slots.append || E.appendIcon ? (h(), c("div", C, [E.appendIcon ? (h(), c("span", w, [u(v(r), m(f(E.appendIcon)), null, 16)])) : s("v-if", !0), g(e.$slots, "append")])) : s("v-if", !0)
63
89
  ]),
64
90
  _: 2
65
91
  }, [e.$slots.extras ? {
66
92
  name: "extras",
67
- fn: y(() => [h(e.$slots, "extras")]),
93
+ fn: b(() => [g(e.$slots, "extras")]),
68
94
  key: "0"
69
95
  } : void 0]), 1032, [
70
96
  "id",
@@ -85,4 +111,4 @@ var b = {
85
111
  }
86
112
  });
87
113
  //#endregion
88
- export { w as default };
114
+ export { T as default };
@@ -1,6 +1,20 @@
1
1
  import { QFieldProps } from '../QField';
2
2
  import { QIconProps } from '../QIcon';
3
- export type QInputGroupProps = QFieldProps & {
3
+ export type QInputGroupProps = Omit<QFieldProps, 'disabled' | 'readonly'> & {
4
+ /**
5
+ * Disables the group and every Quidgest UI control in it, buttons included. A control that
6
+ * sets its own `disabled` keeps it.
7
+ *
8
+ * @category State
9
+ */
10
+ disabled?: boolean;
11
+ /**
12
+ * Makes every Quidgest UI field in the group read-only. Buttons stay enabled. A field that
13
+ * sets its own `readonly` keeps it.
14
+ *
15
+ * @category State
16
+ */
17
+ readonly?: boolean;
4
18
  /**
5
19
  * An icon to add at the start of the field group.
6
20
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAE1C,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C;;;;OAIG;IACH,WAAW,CAAC,EAAE,UAAU,CAAA;IAExB;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;CACvB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QInputGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAE1C,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,UAAU,CAAC,GAAG;IAC3E;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,WAAW,CAAC,EAAE,UAAU,CAAA;IAExB;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;CACvB,CAAA"}
@@ -55,6 +55,7 @@ declare function __VLS_template(): {
55
55
  readonly modelValue?: boolean | undefined;
56
56
  readonly value: any;
57
57
  readonly label: string;
58
+ readonly overflowTitle?: boolean | undefined;
58
59
  readonly icon?: import('..').QIconProps | undefined;
59
60
  readonly description?: string | undefined;
60
61
  readonly selectable?: boolean | undefined;
@@ -69,6 +70,8 @@ declare function __VLS_template(): {
69
70
  $attrs: import('vue').Attrs;
70
71
  $refs: {
71
72
  [x: string]: unknown;
73
+ } & {
74
+ label: HTMLSpanElement;
72
75
  };
73
76
  $slots: Readonly<{
74
77
  [name: string]: import('vue').Slot<any> | undefined;
@@ -158,6 +161,7 @@ declare const __VLS_component: import('vue').DefineComponent<QListProps, {
158
161
  readonly modelValue?: boolean | undefined;
159
162
  readonly value: any;
160
163
  readonly label: string;
164
+ readonly overflowTitle?: boolean | undefined;
161
165
  readonly icon?: import('..').QIconProps | undefined;
162
166
  readonly description?: string | undefined;
163
167
  readonly selectable?: boolean | undefined;
@@ -172,6 +176,8 @@ declare const __VLS_component: import('vue').DefineComponent<QListProps, {
172
176
  $attrs: import('vue').Attrs;
173
177
  $refs: {
174
178
  [x: string]: unknown;
179
+ } & {
180
+ label: HTMLSpanElement;
175
181
  };
176
182
  $slots: Readonly<{
177
183
  [name: string]: import('vue').Slot<any> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"QList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QList.vue"],"names":[],"mappings":"AAmDA;AA4dC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAY3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,GAAG,CAAA;AA4QnC,iBAAS,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAIrD;AAED;;;;GAIG;AACH,iBAAS,kBAAkB,IAAI,MAAM,CAIpC;AAED;;;;;;GAMG;AACH,iBAAS,0BAA0B,IAAI,MAAM,CAO5C;AAED;;;;;;GAMG;AACH,iBAAS,yBAAyB,IAAI,MAAM,CAO3C;AAmCD;;;;;;;;GAQG;AACH,iBAAS,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAuB7E;AA2CF,iBAAS,cAAc;WAuHT,OAAO,IAA6B;;yBAdrB,GAAG;;;;YACL,GAAG;;;;YACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCArGpB,GAAG,8CACU,GAAG,yBAAyB,GAAG,6DACjD,GAAG;;;;;;;;;;;;;;;;;;EAoHhB;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA/IF,GAAG,8CACU,GAAG,yBAAyB,GAAG,6DACjD,GAAG;;;;;;;;;;;;;;;;kBAwJf,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QList.vue"],"names":[],"mappings":"AAoDA;AA+dC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAY3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,GAAG,CAAA;AA4QnC,iBAAS,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAIrD;AAED;;;;GAIG;AACH,iBAAS,kBAAkB,IAAI,MAAM,CAIpC;AAED;;;;;;GAMG;AACH,iBAAS,0BAA0B,IAAI,MAAM,CAO5C;AAED;;;;;;GAMG;AACH,iBAAS,yBAAyB,IAAI,MAAM,CAO3C;AAmCD;;;;;;;;GAQG;AACH,iBAAS,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAuB7E;AA6CF,iBAAS,cAAc;WAyHT,OAAO,IAA6B;;yBAdrB,GAAG;;;;YACL,GAAG;;;;YACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA7GrC,GAAG,8CACmB,GAAE,yBAAyB,GAAG,6DACtD,GAAG;;;;;;;;;;;;;;;;;;EA4HF;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAvJnB,GAAG,8CACmB,GAAE,yBAAyB,GAAG,6DACtD,GAAG;;;;;;;;;;;;;;;;kBAgKD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -32,6 +32,7 @@ var ee = [
32
32
  required: { type: Boolean },
33
33
  itemValue: { default: "key" },
34
34
  itemLabel: { default: "label" },
35
+ itemTitle: { type: Boolean },
35
36
  icons: { default: () => i }
36
37
  },
37
38
  emits: [
@@ -156,7 +157,7 @@ var ee = [
156
157
  return e.getAttribute("tabindex") === "-1";
157
158
  }
158
159
  return x(M, (e) => {
159
- T("update:modelValue", e);
160
+ e !== w.modelValue && T("update:modelValue", e);
160
161
  }), f({
161
162
  getItem: q,
162
163
  getActiveItemIndex: J,
@@ -193,6 +194,7 @@ var ee = [
193
194
  ref: P,
194
195
  value: n[w.itemValue],
195
196
  label: n[w.itemLabel],
197
+ "overflow-title": w.itemTitle,
196
198
  description: n.description,
197
199
  icon: n.icon,
198
200
  disabled: w.disabled || t.disabled || n.disabled,
@@ -216,6 +218,7 @@ var ee = [
216
218
  }, 1032, [
217
219
  "value",
218
220
  "label",
221
+ "overflow-title",
219
222
  "description",
220
223
  "icon",
221
224
  "disabled",
@@ -11,7 +11,9 @@ declare function __VLS_template(): {
11
11
  default?(_: {}): any;
12
12
  append?(_: {}): any;
13
13
  };
14
- refs: {};
14
+ refs: {
15
+ label: HTMLSpanElement;
16
+ };
15
17
  rootEl: HTMLLIElement;
16
18
  };
17
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -25,7 +27,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
25
27
  }>, {
26
28
  icons: typeof DEFAULT_ICONS;
27
29
  selectOnTab: boolean;
28
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
+ label: HTMLSpanElement;
32
+ }, HTMLLIElement>;
29
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
34
  export default _default;
31
35
  type __VLS_WithTemplateSlots<T, S> = T & {