@quidgest/ui 0.21.2 → 0.23.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 (169) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/json/api.json +398 -86
  3. package/dist/manifest/components.json +1 -0
  4. package/dist/ui.css +2130 -1166
  5. package/dist/ui.esm.js +809 -786
  6. package/dist/ui.js +735 -712
  7. package/dist/ui.min.css +1 -1
  8. package/dist/ui.min.js +735 -712
  9. package/dist/ui.scss +1137 -844
  10. package/esm/components/QBadge/QBadge.d.ts +1 -1
  11. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  12. package/esm/components/QBadge/QBadge.vue.js +14 -7
  13. package/esm/components/QBadge/index.d.ts +3 -3
  14. package/esm/components/QBadge/types.d.ts +11 -4
  15. package/esm/components/QBadge/types.d.ts.map +1 -1
  16. package/esm/components/QButton/QButton.d.ts +0 -1
  17. package/esm/components/QButton/QButton.d.ts.map +1 -1
  18. package/esm/components/QButton/QButton.vue.js +10 -4
  19. package/esm/components/QButton/index.d.ts +0 -3
  20. package/esm/components/QButton/index.d.ts.map +1 -1
  21. package/esm/components/QButton/types.d.ts +11 -4
  22. package/esm/components/QButton/types.d.ts.map +1 -1
  23. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  24. package/esm/components/QButtonGroup/QButtonGroup.vue.js +2 -0
  25. package/esm/components/QButtonGroup/types.d.ts +9 -1
  26. package/esm/components/QButtonGroup/types.d.ts.map +1 -1
  27. package/esm/components/QCheckbox/QCheckbox.d.ts +0 -1
  28. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  29. package/esm/components/QCheckbox/QCheckbox.vue.js +2 -2
  30. package/esm/components/QCheckbox/index.d.ts +3 -6
  31. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  32. package/esm/components/QCheckbox/types.d.ts +4 -3
  33. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  34. package/esm/components/QCollapsible/types.d.ts +1 -1
  35. package/esm/components/QCollapsible/types.d.ts.map +1 -1
  36. package/esm/components/QCombobox/QCombobox.d.ts +6 -8
  37. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  38. package/esm/components/QCombobox/QCombobox.vue.js +1 -1
  39. package/esm/components/QCombobox/index.d.ts +3 -4
  40. package/esm/components/QCombobox/index.d.ts.map +1 -1
  41. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +18 -24
  42. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  43. package/esm/components/QDateTimePicker/index.d.ts +9 -12
  44. package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
  45. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  46. package/esm/components/QDialog/QDialog.vue.js +6 -1
  47. package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
  48. package/esm/components/QDialog/QDialogProvider.vue.js +1 -0
  49. package/esm/components/QDialog/index.d.ts +3 -0
  50. package/esm/components/QDialog/index.d.ts.map +1 -1
  51. package/esm/components/QDialog/types.d.ts +14 -0
  52. package/esm/components/QDialog/types.d.ts.map +1 -1
  53. package/esm/components/QDropdownMenu/types.d.ts +1 -1
  54. package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
  55. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  56. package/esm/components/QIcon/QIcon.vue.js +9 -4
  57. package/esm/components/QList/QListItem.d.ts.map +1 -1
  58. package/esm/components/QList/QListItem.vue.js +1 -0
  59. package/esm/components/QObfuscation/QObfuscation.d.ts.map +1 -1
  60. package/esm/components/QObfuscation/QObfuscation.vue.js +0 -1
  61. package/esm/components/QOverflow/QOverflow.d.ts +21 -1
  62. package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
  63. package/esm/components/QOverflow/QOverflow.vue.js +109 -96
  64. package/esm/components/QOverflow/index.d.ts +12 -3
  65. package/esm/components/QOverflow/index.d.ts.map +1 -1
  66. package/esm/components/QOverflow/types.d.ts +11 -2
  67. package/esm/components/QOverflow/types.d.ts.map +1 -1
  68. package/esm/components/QOverlay/QOverlay.d.ts +0 -1
  69. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  70. package/esm/components/QOverlay/QOverlay.vue.js +90 -90
  71. package/esm/components/QOverlay/index.d.ts +0 -3
  72. package/esm/components/QOverlay/index.d.ts.map +1 -1
  73. package/esm/components/QOverlay/types.d.ts +5 -3
  74. package/esm/components/QOverlay/types.d.ts.map +1 -1
  75. package/esm/components/QPhoneField/QPhoneField.d.ts +20 -16
  76. package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
  77. package/esm/components/QPhoneField/index.d.ts +10 -8
  78. package/esm/components/QPhoneField/index.d.ts.map +1 -1
  79. package/esm/components/QPopover/types.d.ts +1 -1
  80. package/esm/components/QPopover/types.d.ts.map +1 -1
  81. package/esm/components/QProgress/QProgress.d.ts +21 -0
  82. package/esm/components/QProgress/QProgress.d.ts.map +1 -0
  83. package/esm/components/QProgress/QProgress.vue.js +108 -0
  84. package/esm/components/QProgress/QProgress2.vue.js +5 -0
  85. package/esm/components/QProgress/index.d.ts +45 -0
  86. package/esm/components/QProgress/index.d.ts.map +1 -0
  87. package/esm/components/QProgress/index.js +6 -0
  88. package/esm/components/QProgress/types.d.ts +78 -0
  89. package/esm/components/QProgress/types.d.ts.map +1 -0
  90. package/esm/components/QRadioGroup/QRadioButton.d.ts +0 -1
  91. package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
  92. package/esm/components/QRadioGroup/QRadioButton.vue.js +2 -2
  93. package/esm/components/QRadioGroup/QRadioGroup.d.ts +1 -1
  94. package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
  95. package/esm/components/QRadioGroup/QRadioGroup.vue.js +55 -46
  96. package/esm/components/QRadioGroup/index.d.ts +9 -36
  97. package/esm/components/QRadioGroup/index.d.ts.map +1 -1
  98. package/esm/components/QRadioGroup/types.d.ts +15 -24
  99. package/esm/components/QRadioGroup/types.d.ts.map +1 -1
  100. package/esm/components/QRemoveScrollBar/constants.d.ts +1 -1
  101. package/esm/components/QRemoveScrollBar/constants.d.ts.map +1 -1
  102. package/esm/components/QRemoveScrollBar/constants.js +1 -1
  103. package/esm/components/QSelect/QSelect.d.ts +20 -16
  104. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  105. package/esm/components/QSelect/QSelect.vue.js +9 -1
  106. package/esm/components/QSelect/index.d.ts +10 -8
  107. package/esm/components/QSelect/index.d.ts.map +1 -1
  108. package/esm/components/QSidebar/QSidebar.d.ts +0 -1
  109. package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
  110. package/esm/components/QSidebar/QSidebar.vue.js +2 -2
  111. package/esm/components/QSidebar/QSidebarAnchor.d.ts +2 -1
  112. package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
  113. package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
  114. package/esm/components/QSidebar/QSidebarItem.d.ts +12 -6
  115. package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
  116. package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
  117. package/esm/components/QSidebar/index.d.ts +6 -6
  118. package/esm/components/QSidebar/index.d.ts.map +1 -1
  119. package/esm/components/QSidebar/types.d.ts +3 -1
  120. package/esm/components/QSidebar/types.d.ts.map +1 -1
  121. package/esm/components/QSwitch/QSwitch.d.ts +3 -2
  122. package/esm/components/QSwitch/QSwitch.d.ts.map +1 -1
  123. package/esm/components/QSwitch/QSwitch.vue.js +34 -26
  124. package/esm/components/QSwitch/index.d.ts +5 -4
  125. package/esm/components/QSwitch/index.d.ts.map +1 -1
  126. package/esm/components/QSwitch/types.d.ts +4 -2
  127. package/esm/components/QSwitch/types.d.ts.map +1 -1
  128. package/esm/components/QTabs/QTab.d.ts +6 -8
  129. package/esm/components/QTabs/QTab.d.ts.map +1 -1
  130. package/esm/components/QTabs/QTabs.d.ts +177 -2
  131. package/esm/components/QTabs/QTabs.d.ts.map +1 -1
  132. package/esm/components/QTabs/QTabs.vue.js +127 -106
  133. package/esm/components/QTabs/context.d.ts +2 -1
  134. package/esm/components/QTabs/context.d.ts.map +1 -1
  135. package/esm/components/QTabs/index.d.ts +91 -5
  136. package/esm/components/QTabs/index.d.ts.map +1 -1
  137. package/esm/components/QToggle/QToggle.vue.js +2 -1
  138. package/esm/components/QToggle/index.d.ts +6 -3
  139. package/esm/components/QToggle/index.d.ts.map +1 -1
  140. package/esm/components/QToggleGroup/QToggleGroup.vue.js +1 -0
  141. package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +1 -0
  142. package/esm/components/QToggleGroup/index.d.ts +3 -0
  143. package/esm/components/QToggleGroup/index.d.ts.map +1 -1
  144. package/esm/components/QTooltip/types.d.ts +1 -1
  145. package/esm/components/QTooltip/types.d.ts.map +1 -1
  146. package/esm/components/__internal__/QClearButton/QClearButton.vue.js +1 -1
  147. package/esm/components/index.d.ts +1 -0
  148. package/esm/components/index.d.ts.map +1 -1
  149. package/esm/components/index.js +34 -32
  150. package/esm/composables/useSafeTriangle/index.d.ts +1 -1
  151. package/esm/composables/useSafeTriangle/index.d.ts.map +1 -1
  152. package/esm/index.d.ts +1 -0
  153. package/esm/templates/theme.js +11 -11
  154. package/esm/types/component.d.ts +7 -0
  155. package/esm/types/component.d.ts.map +1 -1
  156. package/esm/utils/color/theme-colors.d.ts +5 -5
  157. package/esm/utils/density.d.ts +12 -0
  158. package/esm/utils/density.d.ts.map +1 -0
  159. package/esm/utils/density.js +23 -0
  160. package/esm/utils/index.d.ts +1 -0
  161. package/esm/utils/index.d.ts.map +1 -1
  162. package/esm/utils/index.js +6 -2
  163. package/esm/{composables → utils}/overlay.d.ts +12 -0
  164. package/esm/utils/overlay.d.ts.map +1 -0
  165. package/esm/{composables → utils}/overlay.js +10 -2
  166. package/esm/utils/safeTriangle.d.ts +1 -1
  167. package/esm/utils/safeTriangle.d.ts.map +1 -1
  168. package/package.json +1 -1
  169. package/esm/composables/overlay.d.ts.map +0 -1
@@ -2,11 +2,11 @@ import { useTheme as e } from "../../composables/theme.js";
2
2
  import { QDismissibleLayer as t } from "../QDismissibleLayer/index.js";
3
3
  import { QRemoveScrollBar as n } from "../QRemoveScrollBar/index.js";
4
4
  import { QFocusWrap as ee } from "../QFocusWrap/index.js";
5
- import { computePosition as r, getSideFromPlacement as i } from "../../composables/overlay.js";
6
- import { getElement as a } from "../../utils/getElement.js";
7
- import { Fragment as o, Teleport as s, Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as te, createVNode as p, defineComponent as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeStyle as v, onBeforeUnmount as ne, onMounted as re, openBlock as y, reactive as b, renderSlot as x, unref as S, useTemplateRef as C, watch as w, withCtx as T, withModifiers as E } from "vue";
5
+ import { getElement as r } from "../../utils/getElement.js";
6
+ import { computePosition as i, getSideFromPlacement as a, resolveOverlayOffset as o } from "../../utils/overlay.js";
7
+ import { Fragment as s, Teleport as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, mergeProps as te, nextTick as _, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as ne, onMounted as re, openBlock as b, reactive as x, renderSlot as ie, unref as S, useTemplateRef as C, watch as w, withCtx as T, withModifiers as E } from "vue";
8
8
  //#region src/components/QOverlay/QOverlay.vue?vue&type=script&setup=true&lang.ts
9
- var D = ["id"], O = ["role"], k = /*@__PURE__*/ m({
9
+ var D = ["id"], O = ["role"], k = /*@__PURE__*/ g({
10
10
  inheritAttrs: !1,
11
11
  __name: "QOverlay",
12
12
  props: {
@@ -18,7 +18,7 @@ var D = ["id"], O = ["role"], k = /*@__PURE__*/ m({
18
18
  arrow: { type: Boolean },
19
19
  backdropBlur: { type: Boolean },
20
20
  backdropClass: {},
21
- offset: { default: 8 },
21
+ offset: {},
22
22
  crossOffset: { default: 0 },
23
23
  placement: { default: "right" },
24
24
  transition: { default: "fade" },
@@ -49,98 +49,98 @@ var D = ["id"], O = ["role"], k = /*@__PURE__*/ m({
49
49
  "enter",
50
50
  "leave"
51
51
  ],
52
- setup(m, { emit: k }) {
53
- let A = m, j = k, { class: ie } = e(), ae = l(() => [
52
+ setup(g, { emit: k }) {
53
+ let A = g, j = k, { class: ae } = e(), oe = u(() => [
54
54
  "q-overlay",
55
- `q-overlay--${i(P.placement)}`,
56
- ie.value,
55
+ `q-overlay--${a(F.placement)}`,
56
+ ae.value,
57
57
  {
58
58
  "q-overlay--independent": M.value,
59
59
  "q-overlay--inverted": A.appearance === "inverted",
60
60
  "q-overlay--center": A.centerVertically
61
61
  },
62
62
  A.class
63
- ]), M = l(() => A.anchor === void 0), N = l(() => A.modelValue && !A.nonModal), oe = l(() => (A.modelValue || P.animating) && A.scrollLock), se = l(() => !A.inline && (A.modelValue || P.animating)), P = b({
63
+ ]), M = u(() => A.anchor === void 0), N = u(() => A.modelValue && !A.nonModal), se = u(() => (A.modelValue || F.animating) && A.scrollLock), P = u(() => !A.inline && (A.modelValue || F.animating)), F = x({
64
64
  animating: !1,
65
65
  top: 0,
66
66
  left: 0,
67
67
  width: 0,
68
68
  placement: A.placement
69
- }), F = b({
69
+ }), I = x({
70
70
  top: void 0,
71
71
  left: void 0,
72
72
  hidden: !0
73
73
  });
74
74
  w(() => A.modelValue, fe);
75
- let I = l(() => {
75
+ let L = u(() => {
76
76
  if (M.value) return;
77
- let e = Y(), t = A.width === "anchor" ? e?.getBoundingClientRect().width : void 0;
77
+ let e = X(), t = A.width === "anchor" ? e?.getBoundingClientRect().width : void 0;
78
78
  return {
79
- top: `${P.top}px`,
80
- left: `${P.left}px`,
79
+ top: `${F.top}px`,
80
+ left: `${F.left}px`,
81
81
  width: t === void 0 ? void 0 : `${t}px`
82
82
  };
83
- }), L = l(() => {
83
+ }), R = u(() => {
84
84
  if (A.arrow) return {
85
- top: F.top === void 0 ? void 0 : `${F.top}px`,
86
- left: F.left === void 0 ? void 0 : `${F.left}px`,
87
- opacity: +!F.hidden
85
+ top: I.top === void 0 ? void 0 : `${I.top}px`,
86
+ left: I.left === void 0 ? void 0 : `${I.left}px`,
87
+ opacity: +!I.hidden
88
88
  };
89
- }), R = C("arrow"), z = C("overlay"), B = C("overlayContainer");
90
- function V() {
91
- let e = Y();
92
- if (!e || !B.value) return;
89
+ }), z = C("arrow"), B = C("overlay"), V = C("overlayContainer");
90
+ function H() {
91
+ let e = X();
92
+ if (!e || !V.value) return;
93
93
  let t = {
94
94
  placement: A.placement,
95
95
  width: A.width,
96
- offset: A.offset,
96
+ offset: o(A.offset, V.value),
97
97
  crossOffset: A.crossOffset,
98
98
  arrow: A.arrow
99
- }, n = r(e, B.value, R?.value ?? void 0, t);
100
- P.left = n.overlayCoords.x, P.top = n.overlayCoords.y, P.placement = n.placement, F.hidden = n.arrowCoords === void 0, n.arrowCoords && (F.top = n.arrowCoords.y, F.left = n.arrowCoords.x);
101
- }
102
- w(() => A.placement, () => g(V));
103
- let H;
104
- function U() {
105
- G(0);
99
+ }, n = i(e, V.value, z?.value ?? void 0, t);
100
+ F.left = n.overlayCoords.x, F.top = n.overlayCoords.y, F.placement = n.placement, I.hidden = n.arrowCoords === void 0, n.arrowCoords && (I.top = n.arrowCoords.y, I.left = n.arrowCoords.x);
106
101
  }
102
+ w(() => A.placement, () => _(H));
103
+ let U;
107
104
  function W() {
108
- G(A.delay);
105
+ K(0);
106
+ }
107
+ function G() {
108
+ K(A.delay);
109
109
  }
110
- function G(e) {
111
- H && q(), H = window.setTimeout(() => {
110
+ function K(e) {
111
+ U && J(), U = window.setTimeout(() => {
112
112
  j("update:modelValue", !0);
113
113
  }, e);
114
114
  }
115
- function K() {
116
- if (H && q(), j("update:modelValue", !1), A.anchor && A.trigger === "click") {
117
- let e = Y();
118
- g(() => e?.focus());
115
+ function q() {
116
+ if (U && J(), j("update:modelValue", !1), A.anchor && A.trigger === "click") {
117
+ let e = X();
118
+ _(() => e?.focus());
119
119
  }
120
120
  }
121
- function q() {
122
- clearTimeout(H), H = void 0;
121
+ function J() {
122
+ clearTimeout(U), U = void 0;
123
123
  }
124
124
  function ce() {
125
- g(ye), j("enter");
125
+ _(be), j("enter");
126
126
  }
127
127
  function le() {
128
- J();
128
+ Y();
129
129
  }
130
130
  function ue() {
131
131
  j("leave");
132
132
  }
133
133
  function de() {
134
- J(), be();
134
+ Y(), xe();
135
135
  }
136
136
  function fe() {
137
- P.animating = !0;
138
- }
139
- function J() {
140
- P.animating = !1;
137
+ F.animating = !0;
141
138
  }
142
139
  function Y() {
143
- return A.anchor ? a(A.anchor) : null;
140
+ F.animating = !1;
141
+ }
142
+ function X() {
143
+ return A.anchor ? r(A.anchor) : null;
144
144
  }
145
145
  function pe(e) {
146
146
  A.persistent && e.preventDefault();
@@ -153,79 +153,79 @@ var D = ["id"], O = ["role"], k = /*@__PURE__*/ m({
153
153
  let t = !1;
154
154
  e.defaultPrevented || e.detail.originalEvent.type === "pointerdown" && (t = !0);
155
155
  let n = e.detail.originalEvent.target;
156
- if (Y()?.contains(n)) {
156
+ if (X()?.contains(n)) {
157
157
  e.preventDefault();
158
158
  return;
159
159
  }
160
160
  e.detail.originalEvent.type === "focusin" && t && e.preventDefault();
161
161
  }
162
162
  function he() {
163
- K();
163
+ q();
164
164
  }
165
- let X;
166
- function Z() {
167
- let e = Y();
168
- if (e) switch (X = new MutationObserver(V), X.observe(e, {
165
+ let Z;
166
+ function ge() {
167
+ let e = X();
168
+ if (e) switch (Z = new MutationObserver(H), Z.observe(e, {
169
169
  attributes: !1,
170
170
  childList: !0,
171
171
  characterData: !0,
172
172
  subtree: !0
173
173
  }), A.trigger) {
174
174
  case "click":
175
- e.addEventListener("click", U);
175
+ e.addEventListener("click", W);
176
176
  break;
177
177
  case "hover":
178
- e.addEventListener("mouseenter", W), e.addEventListener("mouseleave", K), e.addEventListener("focusin", U), e.addEventListener("focusout", K);
178
+ e.addEventListener("mouseenter", G), e.addEventListener("mouseleave", q), e.addEventListener("focusin", W), e.addEventListener("focusout", q);
179
179
  break;
180
180
  }
181
181
  }
182
- function ge() {
183
- let e = Y();
184
- if (e) switch (X?.disconnect(), A.trigger) {
182
+ function _e() {
183
+ let e = X();
184
+ if (e) switch (Z?.disconnect(), A.trigger) {
185
185
  case "click":
186
- e.removeEventListener("click", U);
186
+ e.removeEventListener("click", W);
187
187
  break;
188
188
  case "hover":
189
- e.removeEventListener("mouseenter", W), e.removeEventListener("mouseleave", K), e.removeEventListener("focusin", U), e.removeEventListener("focusout", K);
189
+ e.removeEventListener("mouseenter", G), e.removeEventListener("mouseleave", q), e.removeEventListener("focusin", W), e.removeEventListener("focusout", q);
190
190
  break;
191
191
  }
192
192
  }
193
- function _e() {
194
- window.addEventListener("resize", V), A.scrollLock || window.addEventListener("scroll", V);
195
- }
196
193
  function ve() {
197
- window.removeEventListener("resize", V), A.scrollLock || window.removeEventListener("scroll", V);
194
+ window.addEventListener("resize", H), A.scrollLock || window.addEventListener("scroll", H);
195
+ }
196
+ function ye() {
197
+ window.removeEventListener("resize", H), A.scrollLock || window.removeEventListener("scroll", H);
198
198
  }
199
199
  let Q;
200
200
  function $() {
201
- Y() ? (V(), Q = window.setTimeout($, 100)) : K();
202
- }
203
- function ye() {
204
- M.value || (_e(), A.spy ? $() : V()), (M.value || A.trigger === "click") && !A.initialFocus && !A.focusWithinOnActivate && z.value?.focus();
201
+ X() ? (H(), Q = window.setTimeout($, 100)) : q();
205
202
  }
206
203
  function be() {
207
- M.value || ve(), A.spy && (clearTimeout(Q), Q = void 0);
204
+ M.value || (ve(), A.spy ? $() : H()), (M.value || A.trigger === "click") && !A.initialFocus && !A.focusWithinOnActivate && B.value?.focus();
205
+ }
206
+ function xe() {
207
+ M.value || ye(), A.spy && (clearTimeout(Q), Q = void 0);
208
208
  }
209
209
  return re(() => {
210
- g(Z);
211
- }), ne(ge), (e, r) => (y(), f(o, null, [(y(), u(s, {
212
- disabled: !se.value,
210
+ _(ge);
211
+ }), ne(_e), (e, r) => (b(), p(s, null, [(b(), d(c, {
212
+ disabled: !P.value,
213
213
  to: A.attach
214
- }, [p(c, {
214
+ }, [h(l, {
215
215
  name: "fade",
216
216
  appear: ""
217
217
  }, {
218
- default: T(() => [N.value ? (y(), f("div", {
218
+ default: T(() => [N.value ? (b(), p("div", {
219
219
  key: 0,
220
- class: _([
220
+ class: v([
221
221
  A.backdropClass,
222
222
  "q-overlay__underlay",
223
223
  { "q-overlay__underlay--blur": A.backdropBlur }
224
224
  ]),
225
225
  onMousedown: r[0] ||= E(() => {}, ["prevent"])
226
- }, null, 34)) : d("v-if", !0)]),
226
+ }, null, 34)) : f("v-if", !0)]),
227
227
  _: 1
228
- }), p(c, {
228
+ }), h(l, {
229
229
  name: A.transition,
230
230
  appear: "",
231
231
  onEnter: ce,
@@ -233,19 +233,19 @@ var D = ["id"], O = ["role"], k = /*@__PURE__*/ m({
233
233
  onLeave: ue,
234
234
  onAfterLeave: de
235
235
  }, {
236
- default: T(() => [A.modelValue ? (y(), f("div", {
236
+ default: T(() => [A.modelValue ? (b(), p("div", {
237
237
  key: 0,
238
238
  id: A.id,
239
239
  ref: "overlayContainer",
240
240
  tabindex: "-1",
241
- class: _(ae.value),
242
- style: v(I.value)
243
- }, [p(S(t), {
241
+ class: v(oe.value),
242
+ style: y(L.value)
243
+ }, [h(S(t), {
244
244
  onDismiss: he,
245
245
  onInteractOutside: me,
246
246
  onPointerDownOutside: pe
247
247
  }, {
248
- default: T(() => [B.value ? (y(), u(S(ee), {
248
+ default: T(() => [V.value ? (b(), d(S(ee), {
249
249
  key: 0,
250
250
  active: !A.nonModal && A.modelValue && A.focusWrap,
251
251
  "initial-focus": A.initialFocus,
@@ -253,18 +253,18 @@ var D = ["id"], O = ["role"], k = /*@__PURE__*/ m({
253
253
  "closing-focus": A.closingFocus,
254
254
  "return-focus-on-deactivate": A.returnFocusOnDeactivate
255
255
  }, {
256
- default: T(() => [te("div", h({
256
+ default: T(() => [m("div", te({
257
257
  ref: "overlay",
258
258
  class: "q-overlay__content",
259
259
  tabindex: "-1",
260
260
  role: N.value ? "dialog" : void 0
261
- }, e.$attrs), [A.arrow ? (y(), f("div", {
261
+ }, e.$attrs), [A.arrow ? (b(), p("div", {
262
262
  key: 0,
263
263
  ref: "arrow",
264
264
  role: "presentation",
265
265
  class: "q-overlay__arrow",
266
- style: v(L.value)
267
- }, null, 4)) : d("v-if", !0), x(e.$slots, "default")], 16, O)]),
266
+ style: y(R.value)
267
+ }, null, 4)) : f("v-if", !0), ie(e.$slots, "default")], 16, O)]),
268
268
  _: 3
269
269
  }, 8, [
270
270
  "active",
@@ -272,11 +272,11 @@ var D = ["id"], O = ["role"], k = /*@__PURE__*/ m({
272
272
  "focus-within-on-activate",
273
273
  "closing-focus",
274
274
  "return-focus-on-deactivate"
275
- ])) : d("v-if", !0)]),
275
+ ])) : f("v-if", !0)]),
276
276
  _: 3
277
- })], 14, D)) : d("v-if", !0)]),
277
+ })], 14, D)) : f("v-if", !0)]),
278
278
  _: 3
279
- }, 8, ["name"])], 8, ["disabled", "to"])), oe.value ? (y(), u(S(n), { key: 0 })) : d("v-if", !0)], 64));
279
+ }, 8, ["name"])], 8, ["disabled", "to"])), se.value ? (b(), d(S(n), { key: 0 })) : f("v-if", !0)], 64));
280
280
  }
281
281
  });
282
282
  //#endregion
@@ -14,7 +14,6 @@ declare const QOverlay: {
14
14
  focusWithinOnActivate: boolean;
15
15
  returnFocusOnDeactivate: boolean;
16
16
  appearance: import('./types').QOverlayAppearance;
17
- offset: number;
18
17
  crossOffset: number;
19
18
  attach: string;
20
19
  delay: number;
@@ -41,7 +40,6 @@ declare const QOverlay: {
41
40
  focusWithinOnActivate: boolean;
42
41
  returnFocusOnDeactivate: boolean;
43
42
  appearance: import('./types').QOverlayAppearance;
44
- offset: number;
45
43
  crossOffset: number;
46
44
  attach: string;
47
45
  delay: number;
@@ -65,7 +63,6 @@ declare const QOverlay: {
65
63
  focusWithinOnActivate: boolean;
66
64
  returnFocusOnDeactivate: boolean;
67
65
  appearance: import('./types').QOverlayAppearance;
68
- offset: number;
69
66
  crossOffset: number;
70
67
  attach: string;
71
68
  delay: number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA;AAG3C,OAAO,EAAE,QAAQ,EAAE,CAAA;AAGnB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6B,CAAA;AAG3C,OAAO,EAAE,QAAQ,EAAE,CAAA;AAGnB,cAAc,SAAS,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { QBaseComponentProps } from '../../types/component';
2
- import { Appearance, Placement, Trigger } from '../../composables/overlay';
2
+ import { Appearance, Placement, Trigger } from '../../utils/overlay';
3
3
  import { Selector } from '../../utils/getElement';
4
- export type { Appearance as QOverlayAppearance, Trigger as QOverlayTrigger, Axis as QOverlayAxis, Side as QOverlaySide, Alignment as QOverlayAlignment, Placement as QOverlayPlacement } from '../../composables/overlay';
4
+ export type { Appearance as QOverlayAppearance, Trigger as QOverlayTrigger, Axis as QOverlayAxis, Side as QOverlaySide, Alignment as QOverlayAlignment, Placement as QOverlayPlacement } from '../../utils/overlay';
5
5
  /** A DOM selector or element used to position an overlay. */
6
6
  export type QOverlayAnchor = Selector | null;
7
7
  export type QOverlayProps = QBaseComponentProps & {
@@ -44,7 +44,9 @@ export type QOverlayProps = QBaseComponentProps & {
44
44
  */
45
45
  backdropClass?: string | unknown[];
46
46
  /**
47
- * Offset the overlay in the given amount of pixels.
47
+ * Offset the overlay in the given amount of pixels along the main axis.
48
+ * When omitted, uses the computed `--q-overlay-arrow-gap` (density-scaled 8px)
49
+ * so the default gap stays paired with the arrow tip.
48
50
  *
49
51
  * @category Presentation
50
52
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AAEtD,YAAY,EACX,UAAU,IAAI,kBAAkB,EAChC,OAAO,IAAI,eAAe,EAC1B,IAAI,IAAI,YAAY,EACpB,IAAI,IAAI,YAAY,EACpB,SAAS,IAAI,iBAAiB,EAC9B,SAAS,IAAI,iBAAiB,EAC9B,MAAM,2BAA2B,CAAA;AAElC,6DAA6D;AAC7D,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,IAAI,CAAA;AAE5C,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAA;IAEvB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;IAElC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;;;OAIG;IACH,UAAU,CAAC,EAA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AAE,OAAO,CAAA;IAEb;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAAA;IAE1C;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAE/B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,MAAM,CAAA;IAEnC;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CACjC,CAAA"}
@@ -270,9 +270,10 @@ declare function __VLS_template(): {
270
270
  readonly variant?: import('..').QBadgeVariant | undefined;
271
271
  readonly color?: string | undefined;
272
272
  readonly pill?: boolean | undefined;
273
- readonly size?: import('..').QBadgeSize | undefined;
273
+ readonly size?: import('../../types/component').QComponentSize | undefined;
274
274
  readonly disabled?: boolean | undefined;
275
275
  readonly removable?: boolean | undefined;
276
+ readonly focusable?: boolean | undefined;
276
277
  readonly icons?: typeof import('../QBadge/constants').DEFAULT_ICONS | undefined;
277
278
  readonly texts?: typeof import('../QBadge/constants').DEFAULT_TEXTS | undefined;
278
279
  readonly "onClick:remove"?: (() => any) | undefined;
@@ -294,11 +295,11 @@ declare function __VLS_template(): {
294
295
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
295
296
  "click:remove": () => any;
296
297
  }, string, {
297
- size: import('..').QBadgeSize;
298
298
  variant: import('..').QBadgeVariant;
299
299
  color: string;
300
300
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
301
301
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
302
+ focusable: boolean;
302
303
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
303
304
  beforeCreate?: (() => void) | (() => void)[];
304
305
  created?: (() => void) | (() => void)[];
@@ -320,14 +321,14 @@ declare function __VLS_template(): {
320
321
  $nextTick: typeof nextTick;
321
322
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
322
323
  } & Readonly<{
323
- size: import('..').QBadgeSize;
324
324
  variant: import('..').QBadgeVariant;
325
325
  color: string;
326
326
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
327
327
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
328
+ focusable: boolean;
328
329
  }> & Omit<Readonly<import('..').QBadgeProps> & Readonly<{
329
330
  "onClick:remove"?: (() => any) | undefined;
330
- }>, "size" | "variant" | "color" | "icons" | "texts"> & {} & import('vue').ComponentCustomProperties & {} & {
331
+ }>, "variant" | "color" | "icons" | "texts" | "focusable"> & {} & import('vue').ComponentCustomProperties & {} & {
331
332
  $slots: {
332
333
  default?(_: {}): any;
333
334
  default?(_: {}): any;
@@ -342,9 +343,10 @@ declare function __VLS_template(): {
342
343
  readonly variant?: import('..').QBadgeVariant | undefined;
343
344
  readonly color?: string | undefined;
344
345
  readonly pill?: boolean | undefined;
345
- readonly size?: import('..').QBadgeSize | undefined;
346
+ readonly size?: import('../../types/component').QComponentSize | undefined;
346
347
  readonly disabled?: boolean | undefined;
347
348
  readonly removable?: boolean | undefined;
349
+ readonly focusable?: boolean | undefined;
348
350
  readonly icons?: typeof import('../QBadge/constants').DEFAULT_ICONS | undefined;
349
351
  readonly texts?: typeof import('../QBadge/constants').DEFAULT_TEXTS | undefined;
350
352
  readonly "onClick:remove"?: (() => any) | undefined;
@@ -366,11 +368,11 @@ declare function __VLS_template(): {
366
368
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
367
369
  "click:remove": () => any;
368
370
  }, string, {
369
- size: import('..').QBadgeSize;
370
371
  variant: import('..').QBadgeVariant;
371
372
  color: string;
372
373
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
373
374
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
375
+ focusable: boolean;
374
376
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
375
377
  beforeCreate?: (() => void) | (() => void)[];
376
378
  created?: (() => void) | (() => void)[];
@@ -392,14 +394,14 @@ declare function __VLS_template(): {
392
394
  $nextTick: typeof nextTick;
393
395
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
394
396
  } & Readonly<{
395
- size: import('..').QBadgeSize;
396
397
  variant: import('..').QBadgeVariant;
397
398
  color: string;
398
399
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
399
400
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
401
+ focusable: boolean;
400
402
  }> & Omit<Readonly<import('..').QBadgeProps> & Readonly<{
401
403
  "onClick:remove"?: (() => any) | undefined;
402
- }>, "size" | "variant" | "color" | "icons" | "texts"> & {} & import('vue').ComponentCustomProperties & {} & {
404
+ }>, "variant" | "color" | "icons" | "texts" | "focusable"> & {} & import('vue').ComponentCustomProperties & {} & {
403
405
  $slots: {
404
406
  default?(_: {}): any;
405
407
  default?(_: {}): any;
@@ -1403,9 +1405,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1403
1405
  readonly variant?: import('..').QBadgeVariant | undefined;
1404
1406
  readonly color?: string | undefined;
1405
1407
  readonly pill?: boolean | undefined;
1406
- readonly size?: import('..').QBadgeSize | undefined;
1408
+ readonly size?: import('../../types/component').QComponentSize | undefined;
1407
1409
  readonly disabled?: boolean | undefined;
1408
1410
  readonly removable?: boolean | undefined;
1411
+ readonly focusable?: boolean | undefined;
1409
1412
  readonly icons?: typeof import('../QBadge/constants').DEFAULT_ICONS | undefined;
1410
1413
  readonly texts?: typeof import('../QBadge/constants').DEFAULT_TEXTS | undefined;
1411
1414
  readonly "onClick:remove"?: (() => any) | undefined;
@@ -1427,11 +1430,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1427
1430
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1428
1431
  "click:remove": () => any;
1429
1432
  }, string, {
1430
- size: import('..').QBadgeSize;
1431
1433
  variant: import('..').QBadgeVariant;
1432
1434
  color: string;
1433
1435
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
1434
1436
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
1437
+ focusable: boolean;
1435
1438
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1436
1439
  beforeCreate?: (() => void) | (() => void)[];
1437
1440
  created?: (() => void) | (() => void)[];
@@ -1453,14 +1456,14 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1453
1456
  $nextTick: typeof nextTick;
1454
1457
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1455
1458
  } & Readonly<{
1456
- size: import('..').QBadgeSize;
1457
1459
  variant: import('..').QBadgeVariant;
1458
1460
  color: string;
1459
1461
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
1460
1462
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
1463
+ focusable: boolean;
1461
1464
  }> & Omit<Readonly<import('..').QBadgeProps> & Readonly<{
1462
1465
  "onClick:remove"?: (() => any) | undefined;
1463
- }>, "size" | "variant" | "color" | "icons" | "texts"> & {} & import('vue').ComponentCustomProperties & {} & {
1466
+ }>, "variant" | "color" | "icons" | "texts" | "focusable"> & {} & import('vue').ComponentCustomProperties & {} & {
1464
1467
  $slots: {
1465
1468
  default?(_: {}): any;
1466
1469
  default?(_: {}): any;
@@ -1475,9 +1478,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1475
1478
  readonly variant?: import('..').QBadgeVariant | undefined;
1476
1479
  readonly color?: string | undefined;
1477
1480
  readonly pill?: boolean | undefined;
1478
- readonly size?: import('..').QBadgeSize | undefined;
1481
+ readonly size?: import('../../types/component').QComponentSize | undefined;
1479
1482
  readonly disabled?: boolean | undefined;
1480
1483
  readonly removable?: boolean | undefined;
1484
+ readonly focusable?: boolean | undefined;
1481
1485
  readonly icons?: typeof import('../QBadge/constants').DEFAULT_ICONS | undefined;
1482
1486
  readonly texts?: typeof import('../QBadge/constants').DEFAULT_TEXTS | undefined;
1483
1487
  readonly "onClick:remove"?: (() => any) | undefined;
@@ -1499,11 +1503,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1499
1503
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
1500
1504
  "click:remove": () => any;
1501
1505
  }, string, {
1502
- size: import('..').QBadgeSize;
1503
1506
  variant: import('..').QBadgeVariant;
1504
1507
  color: string;
1505
1508
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
1506
1509
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
1510
+ focusable: boolean;
1507
1511
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1508
1512
  beforeCreate?: (() => void) | (() => void)[];
1509
1513
  created?: (() => void) | (() => void)[];
@@ -1525,14 +1529,14 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
1525
1529
  $nextTick: typeof nextTick;
1526
1530
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1527
1531
  } & Readonly<{
1528
- size: import('..').QBadgeSize;
1529
1532
  variant: import('..').QBadgeVariant;
1530
1533
  color: string;
1531
1534
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
1532
1535
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
1536
+ focusable: boolean;
1533
1537
  }> & Omit<Readonly<import('..').QBadgeProps> & Readonly<{
1534
1538
  "onClick:remove"?: (() => any) | undefined;
1535
- }>, "size" | "variant" | "color" | "icons" | "texts"> & {} & import('vue').ComponentCustomProperties & {} & {
1539
+ }>, "variant" | "color" | "icons" | "texts" | "focusable"> & {} & import('vue').ComponentCustomProperties & {} & {
1536
1540
  $slots: {
1537
1541
  default?(_: {}): any;
1538
1542
  default?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"QPhoneField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPhoneField/QPhoneField.vue"],"names":[],"mappings":"AAwJA;AA4yBC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAY3C,OAAO,KAAK,EACX,iBAAiB,EAEjB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,MAAM,SAAS,CAAA;AAehB,OAAO,EAAY,QAAQ,EAA+C,MAAM,KAAK,CAAA;AAWrF,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAmnBrC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC1C,MAAM,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,WAAW,CAAC;AAOhB,iBAAS,cAAc;WAiWT,OAAO,IAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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