@quidgest/ui 0.14.6 → 0.14.8

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 (126) hide show
  1. package/dist/ui.css +1 -6
  2. package/dist/ui.esm.js +1202 -1060
  3. package/dist/ui.js +43 -6
  4. package/dist/ui.min.css +1 -1
  5. package/dist/ui.min.js +186 -174
  6. package/dist/ui.scss +2 -6
  7. package/esm/components/QAccordion/QAccordion.d.ts +7 -6
  8. package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
  9. package/esm/components/QBadge/QBadge.d.ts +3 -2
  10. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  11. package/esm/components/QBadge/QBadge.vue.js +11 -11
  12. package/esm/components/QButton/QButton.d.ts +3 -2
  13. package/esm/components/QButton/QButton.d.ts.map +1 -1
  14. package/esm/components/QButton/QButton.vue.js +14 -14
  15. package/esm/components/QButtonGroup/QButtonGroup.d.ts +3 -2
  16. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  17. package/esm/components/QButtonGroup/QButtonGroup.vue.js +3 -3
  18. package/esm/components/QButtonToggle/QButtonToggle.d.ts +7 -6
  19. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  20. package/esm/components/QButtonToggle/QButtonToggle.vue.js +6 -6
  21. package/esm/components/QCard/QCard.d.ts +2 -1
  22. package/esm/components/QCard/QCard.d.ts.map +1 -1
  23. package/esm/components/QCard/QCard.vue.js +30 -30
  24. package/esm/components/QCheckbox/QCheckbox.d.ts +21 -5
  25. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  26. package/esm/components/QCheckbox/QCheckbox.vue.js +62 -45
  27. package/esm/components/QCheckbox/QCheckboxLabel.d.ts +21 -0
  28. package/esm/components/QCheckbox/QCheckboxLabel.d.ts.map +1 -0
  29. package/esm/components/QCheckbox/QCheckboxLabel.vue.js +31 -0
  30. package/esm/components/QCheckbox/QCheckboxLabel.vue2.js +4 -0
  31. package/esm/components/QCheckbox/types.d.ts +7 -5
  32. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  33. package/esm/components/QCollapsible/QCollapsible.d.ts +6 -5
  34. package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
  35. package/esm/components/QCollapsible/QCollapsible.vue.js +25 -25
  36. package/esm/components/QCombobox/QCombobox.d.ts +31 -30
  37. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  38. package/esm/components/QCombobox/QCombobox.vue.js +80 -80
  39. package/esm/components/QDialog/QDialog.d.ts +6 -5
  40. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  41. package/esm/components/QDialog/QDialog.vue.js +7 -7
  42. package/esm/components/QField/QField.d.ts +2 -1
  43. package/esm/components/QField/QField.d.ts.map +1 -1
  44. package/esm/components/QField/QField.vue.js +9 -9
  45. package/esm/components/QIcon/InlineSvg.d.ts +1 -1
  46. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  47. package/esm/components/QIcon/QIcon.vue.js +9 -9
  48. package/esm/components/QIcon/QIconFont.d.ts +1 -1
  49. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  50. package/esm/components/QIcon/QIconFont.vue.js +5 -5
  51. package/esm/components/QIcon/QIconImg.d.ts +1 -1
  52. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  53. package/esm/components/QIcon/QIconImg.vue.js +5 -5
  54. package/esm/components/QIcon/QIconSvg.d.ts +2 -2
  55. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  56. package/esm/components/QIcon/QIconSvg.vue.js +17 -17
  57. package/esm/components/QInputGroup/QInputGroup.d.ts +2 -1
  58. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  59. package/esm/components/QInputGroup/QInputGroup.vue.js +24 -24
  60. package/esm/components/QLineLoader/QLineLoader.d.ts +1 -1
  61. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  62. package/esm/components/QLineLoader/QLineLoader.vue.js +4 -4
  63. package/esm/components/QList/QList.d.ts +6 -5
  64. package/esm/components/QList/QList.d.ts.map +1 -1
  65. package/esm/components/QList/QList.vue.js +1 -1
  66. package/esm/components/QList/QListItem.d.ts +3 -2
  67. package/esm/components/QList/QListItem.d.ts.map +1 -1
  68. package/esm/components/QList/QListItem.vue.js +18 -18
  69. package/esm/components/QList/QListItemGroup.d.ts +3 -2
  70. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  71. package/esm/components/QOverlay/QOverlay.d.ts +6 -5
  72. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  73. package/esm/components/QOverlay/QOverlay.vue.js +148 -138
  74. package/esm/components/QPopover/QPopover.d.ts +6 -5
  75. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  76. package/esm/components/QPropertyList/QPropertyList.d.ts +3 -2
  77. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  78. package/esm/components/QPropertyList/QPropertyList.vue.js +22 -22
  79. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +1 -1
  80. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
  81. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +3 -2
  82. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
  83. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +4 -4
  84. package/esm/components/QPropertyList/QPropertyListRow.d.ts +3 -2
  85. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
  86. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts +24 -0
  87. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -0
  88. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +72 -0
  89. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue2.js +4 -0
  90. package/esm/components/QRemoveScrollBar/constants.d.ts +10 -0
  91. package/esm/components/QRemoveScrollBar/constants.d.ts.map +1 -0
  92. package/esm/components/QRemoveScrollBar/constants.js +8 -0
  93. package/esm/components/QRemoveScrollBar/index.d.ts +4 -0
  94. package/esm/components/QRemoveScrollBar/index.d.ts.map +1 -0
  95. package/esm/components/QRemoveScrollBar/index.js +6 -0
  96. package/esm/components/QRemoveScrollBar/types.d.ts +18 -0
  97. package/esm/components/QRemoveScrollBar/types.d.ts.map +1 -0
  98. package/esm/components/QRemoveScrollBar/utils/gap.d.ts +15 -0
  99. package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -0
  100. package/esm/components/QRemoveScrollBar/utils/gap.js +23 -0
  101. package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts +5 -0
  102. package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts.map +1 -0
  103. package/esm/components/QRemoveScrollBar/utils/stylesheet.js +24 -0
  104. package/esm/components/QSelect/QSelect.d.ts +11 -10
  105. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  106. package/esm/components/QSelect/QSelect.vue.js +33 -33
  107. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +1 -1
  108. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  109. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +11 -11
  110. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +1 -1
  111. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  112. package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +6 -6
  113. package/esm/components/QTextField/QTextField.d.ts +6 -5
  114. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  115. package/esm/components/QTextField/QTextField.vue.js +15 -15
  116. package/esm/components/QThemeProvider/QThemeProvider.d.ts +3 -2
  117. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  118. package/esm/components/QTooltip/QTooltip.d.ts +6 -5
  119. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  120. package/esm/components/QTooltip/QTooltip.vue.js +15 -15
  121. package/esm/composables/defaults.js +5 -5
  122. package/esm/composables/group.js +8 -8
  123. package/esm/composables/overlay.js +11 -11
  124. package/esm/framework.js +2 -2
  125. package/esm/utils/color.js +6 -6
  126. package/package.json +31 -30
@@ -0,0 +1,24 @@
1
+ import { QRemoveScrollBarProps } from './types';
2
+ import { GapMode } from './utils/gap';
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<QRemoveScrollBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QRemoveScrollBarProps> & Readonly<{}>, {
13
+ noRelative: boolean;
14
+ noImportant: boolean;
15
+ gapMode: GapMode;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
+ export default _default;
19
+ type __VLS_WithTemplateSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
24
+ //# sourceMappingURL=QRemoveScrollBar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QRemoveScrollBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QRemoveScrollBar/QRemoveScrollBar.vue"],"names":[],"mappings":"AAGA;AAuHC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AACpD,OAAO,EAAE,KAAK,OAAO,EAA+B,MAAM,aAAa,CAAA;AA0GxE,iBAAS,cAAc;WAiCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6EAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,72 @@
1
+ import { defineComponent as c, onMounted as f, onUnmounted as h, renderSlot as b } from "vue";
2
+ import { lockAttribute as r, noScrollbarsClassName as v, zeroRightClassName as i, fullWidthClassName as d, removedBarSizeVariable as y } from "./constants.js";
3
+ import { getGapWidth as x } from "./utils/gap.js";
4
+ import { useStylesheet as S } from "./utils/stylesheet.js";
5
+ const R = /* @__PURE__ */ c({
6
+ __name: "QRemoveScrollBar",
7
+ props: {
8
+ noRelative: { type: Boolean, default: !1 },
9
+ noImportant: { type: Boolean, default: !1 },
10
+ gapMode: { default: "margin" }
11
+ },
12
+ setup(g) {
13
+ const n = g, a = S(), l = () => {
14
+ const e = parseInt(document.body.getAttribute(r) || "0", 10);
15
+ return isFinite(e) ? e : 0;
16
+ }, u = ({ left: e, top: s, right: m, gap: o }, p, $ = "margin", t) => `
17
+ .${v} {
18
+ overflow: hidden ${t};
19
+ padding-right: ${o}px ${t};
20
+ }
21
+ body[${r}] {
22
+ overflow: hidden ${t};
23
+ overscroll-behavior: contain;
24
+ ${[
25
+ p && `position: relative ${t};`,
26
+ $ === "margin" && `
27
+ padding-left: ${e}px;
28
+ padding-top: ${s}px;
29
+ padding-right: ${m}px;
30
+ margin-left:0;
31
+ margin-top:0;
32
+ margin-right: ${o}px ${t};
33
+ `,
34
+ $ === "padding" && `padding-right: ${o}px ${t};`
35
+ ].filter(Boolean).join("")}
36
+ }
37
+
38
+ .${i} {
39
+ right: ${o}px ${t};
40
+ }
41
+
42
+ .${d} {
43
+ margin-right: ${o}px ${t};
44
+ }
45
+
46
+ .${i} .${i} {
47
+ right: 0 ${t};
48
+ }
49
+
50
+ .${d} .${d} {
51
+ margin-right: 0 ${t};
52
+ }
53
+
54
+ body[${r}] {
55
+ ${y}: ${o}px;
56
+ }
57
+ `;
58
+ return f(() => {
59
+ document.body.setAttribute(r, (l() + 1).toString());
60
+ const e = x(n.gapMode);
61
+ a.add(
62
+ u(e, !n.noRelative, n.gapMode, n.noImportant ? "" : "!important")
63
+ );
64
+ }), h(() => {
65
+ const e = l() - 1;
66
+ e <= 0 ? document.body.removeAttribute(r) : document.body.setAttribute(r, e.toString()), a.remove();
67
+ }), (e, s) => b(e.$slots, "default");
68
+ }
69
+ });
70
+ export {
71
+ R as default
72
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QRemoveScrollBar.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,10 @@
1
+ export declare const lockAttribute = "data-scroll-locked";
2
+ export declare const zeroRightClassName = "right-scroll-bar-position";
3
+ export declare const fullWidthClassName = "width-before-scroll-bar";
4
+ export declare const noScrollbarsClassName = "with-scroll-bars-hidden";
5
+ /**
6
+ * Name of a CSS variable containing the amount of "hidden" scrollbar
7
+ * ! might be undefined ! use will fallback!
8
+ */
9
+ export declare const removedBarSizeVariable = "--removed-body-scroll-bar-size";
10
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QRemoveScrollBar/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,uBAAuB,CAAA;AACjD,eAAO,MAAM,kBAAkB,8BAA8B,CAAA;AAC7D,eAAO,MAAM,kBAAkB,4BAA4B,CAAA;AAC3D,eAAO,MAAM,qBAAqB,4BAA4B,CAAA;AAC9D;;;GAGG;AACH,eAAO,MAAM,sBAAsB,mCAAmC,CAAA"}
@@ -0,0 +1,8 @@
1
+ const o = "data-scroll-locked", l = "right-scroll-bar-position", r = "width-before-scroll-bar", s = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
2
+ export {
3
+ r as fullWidthClassName,
4
+ o as lockAttribute,
5
+ s as noScrollbarsClassName,
6
+ e as removedBarSizeVariable,
7
+ l as zeroRightClassName
8
+ };
@@ -0,0 +1,4 @@
1
+ import { default as _QRemoveScrollBar } from './QRemoveScrollBar';
2
+ declare const QRemoveScrollBar: typeof _QRemoveScrollBar;
3
+ export { QRemoveScrollBar };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QRemoveScrollBar/index.ts"],"names":[],"mappings":"AAMA,OAAO,iBAAiB,MAAM,wBAAwB,CAAA;AAKtD,QAAA,MAAM,gBAAgB,EAAyC,OAAO,iBAAiB,CAAA;AAGvF,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
@@ -0,0 +1,6 @@
1
+ import o from "./QRemoveScrollBar.vue.js";
2
+ import { setupPropsProxy as r } from "../../utils/setupPropsProxy.js";
3
+ const t = r(o);
4
+ export {
5
+ t as QRemoveScrollBar
6
+ };
@@ -0,0 +1,18 @@
1
+ import { GapMode } from './utils/gap';
2
+ export type QRemoveScrollBarProps = {
3
+ /**
4
+ * Whether to disable relative positioning. Default is false.
5
+ * @default false
6
+ */
7
+ noRelative?: boolean;
8
+ /**
9
+ * Whether to disable the use of `!important` CSS rule. Default is false.
10
+ * @default false
11
+ */
12
+ noImportant?: boolean;
13
+ /**
14
+ * Defines the gap behavior or mode. Custom `GapMode` type.
15
+ */
16
+ gapMode?: GapMode;
17
+ };
18
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QRemoveScrollBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,MAAM,qBAAqB,GAAG;IACnC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
@@ -0,0 +1,15 @@
1
+ export type GapMode = 'padding' | 'margin';
2
+ export interface GapOffset {
3
+ left: number;
4
+ top: number;
5
+ right: number;
6
+ gap: number;
7
+ }
8
+ export declare const zeroGap: {
9
+ left: number;
10
+ top: number;
11
+ right: number;
12
+ gap: number;
13
+ };
14
+ export declare const getGapWidth: (gapMode?: GapMode) => GapOffset;
15
+ //# sourceMappingURL=gap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gap.d.ts","sourceRoot":"","sources":["../../../../src/components/QRemoveScrollBar/utils/gap.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE1C,MAAM,WAAW,SAAS;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;CACX;AAED,eAAO,MAAM,OAAO;;;;;CAKnB,CAAA;AAcD,eAAO,MAAM,WAAW,aAAa,OAAO,KAAc,SAezD,CAAA"}
@@ -0,0 +1,23 @@
1
+ const g = {
2
+ left: 0,
3
+ top: 0,
4
+ right: 0,
5
+ gap: 0
6
+ }, o = (n) => parseInt(n || "", 10) || 0, p = (n) => {
7
+ const t = window.getComputedStyle(document.body), e = t[n === "padding" ? "paddingLeft" : "marginLeft"], i = t[n === "padding" ? "paddingTop" : "marginTop"], d = t[n === "padding" ? "paddingRight" : "marginRight"];
8
+ return [o(e), o(i), o(d)];
9
+ }, r = (n = "margin") => {
10
+ if (typeof window > "u")
11
+ return g;
12
+ const t = p(n), e = document.documentElement.clientWidth, i = window.innerWidth;
13
+ return {
14
+ left: t[0],
15
+ top: t[1],
16
+ right: t[2],
17
+ gap: Math.max(0, i - e + t[2] - t[0])
18
+ };
19
+ };
20
+ export {
21
+ r as getGapWidth,
22
+ g as zeroGap
23
+ };
@@ -0,0 +1,5 @@
1
+ export declare const useStylesheet: () => {
2
+ add: (style: string) => void;
3
+ remove: () => void;
4
+ };
5
+ //# sourceMappingURL=stylesheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stylesheet.d.ts","sourceRoot":"","sources":["../../../../src/components/QRemoveScrollBar/utils/stylesheet.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,aAAa,QAAO;IAChC,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAC5B,MAAM,EAAE,MAAM,IAAI,CAAA;CAyBlB,CAAA"}
@@ -0,0 +1,24 @@
1
+ function l() {
2
+ return document ? document.createElement("style") : null;
3
+ }
4
+ function d(t, e) {
5
+ t.appendChild(document.createTextNode(e));
6
+ }
7
+ function a(t) {
8
+ (document.head || document.getElementsByTagName("head")[0]).appendChild(t);
9
+ }
10
+ const o = () => {
11
+ let t = 0, e = null;
12
+ return {
13
+ add: (n) => {
14
+ t === 0 && (e = l()) && (d(e, n), a(e)), t++;
15
+ },
16
+ remove: () => {
17
+ var n;
18
+ t--, !t && e && ((n = e.parentNode) == null || n.removeChild(e), e = null);
19
+ }
20
+ };
21
+ };
22
+ export {
23
+ o as useStylesheet
24
+ };
@@ -1,11 +1,12 @@
1
1
  import { QSelectProps, DEFAULT_ICONS, DEFAULT_TEXTS } from './types';
2
2
  import { Primitive } from '../../types/primitive';
3
3
  import { nextTick } from 'vue';
4
- declare let __VLS_typeProps: QSelectProps;
4
+ type __VLS_Props = QSelectProps;
5
5
  type __VLS_PublicProps = {
6
6
  modelValue?: any;
7
- } & typeof __VLS_typeProps;
7
+ } & __VLS_Props;
8
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
9
10
  slots: {
10
11
  prepend?(_: {}): any;
11
12
  append?(_: {}): any;
@@ -105,7 +106,7 @@ declare function __VLS_template(): {
105
106
  readonly disabled?: boolean | undefined;
106
107
  readonly class?: (string | unknown[]) | undefined;
107
108
  readonly selectable?: boolean | undefined;
108
- readonly "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
109
+ readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
109
110
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
110
111
  $attrs: {
111
112
  [x: string]: unknown;
@@ -119,12 +120,12 @@ declare function __VLS_template(): {
119
120
  $root: import('vue').ComponentPublicInstance | null;
120
121
  $parent: import('vue').ComponentPublicInstance | null;
121
122
  $host: Element | null;
122
- $emit: (event: "update:modelValue", modelValue: any) => void;
123
+ $emit: (event: "update:modelValue", value: any) => void;
123
124
  $el: any;
124
125
  $options: import('vue').ComponentOptionsBase<Readonly<{
125
126
  modelValue?: any;
126
127
  } & import('../QList').QListProps> & Readonly<{
127
- "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
128
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
128
129
  }>, {
129
130
  focusItem: (itemIdx: number, preventScroll?: boolean) => void;
130
131
  getItem: (idx: number) => HTMLElement | undefined;
@@ -132,7 +133,7 @@ declare function __VLS_template(): {
132
133
  getFirstFocusableItemIndex: () => number;
133
134
  getLastFocusableItemIndex: () => number;
134
135
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
135
- "update:modelValue": (modelValue: any) => any;
136
+ "update:modelValue": (value: any) => any;
136
137
  }, string, {
137
138
  class: string | unknown[];
138
139
  highlighted: Primitive;
@@ -168,7 +169,7 @@ declare function __VLS_template(): {
168
169
  }> & Omit<Readonly<{
169
170
  modelValue?: any;
170
171
  } & import('../QList').QListProps> & Readonly<{
171
- "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
172
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
172
173
  }>, "focusItem" | "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("class" | "highlighted" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
173
174
  focusItem: (itemIdx: number, preventScroll?: boolean) => void;
174
175
  getItem: (idx: number) => HTMLElement | undefined;
@@ -183,18 +184,18 @@ declare function __VLS_template(): {
183
184
  };
184
185
  }) | null;
185
186
  };
186
- attrs: Partial<{}>;
187
+ rootEl: any;
187
188
  };
188
189
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
189
190
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
190
- "update:modelValue": (modelValue: any) => any;
191
+ "update:modelValue": (value: any) => any;
191
192
  } & {
192
193
  "before-show": () => any;
193
194
  "before-hide": () => any;
194
195
  show: () => any;
195
196
  hide: () => any;
196
197
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
197
- "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
198
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
198
199
  "onBefore-show"?: (() => any) | undefined;
199
200
  "onBefore-hide"?: (() => any) | undefined;
200
201
  onShow?: (() => any) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAmVC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAIlD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACtD,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAIrD,QAAA,IAAI,eAAe,EAAG,YAAY,CAAC;AAkNnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,OAAO,eAAe,CAAC;AAI3B,iBAAS,cAAc;;yBA6QO,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAhCJ,GAAG,8CACR,GAAG,yBAAyB,GAAG,6DAC7D,GACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAHmC,GAAG,8CACR,GAAG,yBAAyB,GAAG,6DAC7D,GACA;;;;;;;;;;;;;;;;;;;;;;;;;WAyCc,OAAO,IAA6B;EAEjD;AAqCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;6EAanB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AA2HA;AAmVC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAIlD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACtD,OAAO,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAA;AAIrD,KAAK,WAAW,GAAG,YAAY,CAAC;AA+MhC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA6RT,OAAO,IAA6B;;yBAhBpB,GAAG;wBACJ,GAAG;wBACH,GAAG;gCACK,GAAG;;;YACb,GAAG;+BACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAjC1B,GAAG,8CACS,GAAG,yBAC5B,GAAE,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAF3B,GAAG,8CACS,GAAG,yBAC5B,GAAE,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CvC;AAgCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;6EAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,8 +1,8 @@
1
- import { defineComponent as Y, mergeModels as R, useModel as Z, ref as f, computed as k, watch as ee, nextTick as le, openBlock as o, createElementBlock as m, Fragment as D, createVNode as p, unref as i, mergeProps as F, withModifiers as O, createSlots as ae, withCtx as n, renderSlot as u, createBlock as g, normalizeProps as x, guardReactiveProps as A, createCommentVNode as h, toDisplayString as M, createTextVNode as te, createElementVNode as oe } from "vue";
1
+ import { defineComponent as Y, mergeModels as R, useModel as Z, ref as f, computed as k, watch as ee, nextTick as le, openBlock as o, createElementBlock as m, Fragment as D, createVNode as p, unref as n, mergeProps as F, withModifiers as O, createSlots as ae, withCtx as i, renderSlot as u, createBlock as g, normalizeProps as x, guardReactiveProps as A, createCommentVNode as h, toDisplayString as M, createTextVNode as te, createElementVNode as oe } from "vue";
2
2
  import { QButton as U } from "../QButton/index.js";
3
- import { QField as ie } from "../QField/index.js";
3
+ import { QField as ne } from "../QField/index.js";
4
4
  import { QIcon as S } from "../QIcon/index.js";
5
- import { QList as ne } from "../QList/index.js";
5
+ import { QList as ie } from "../QList/index.js";
6
6
  import { QOverlay as se } from "../QOverlay/index.js";
7
7
  import { QSpinnerLoader as de } from "../QSpinnerLoader/index.js";
8
8
  import { DEFAULT_ICONS as re, DEFAULT_TEXTS as ue } from "./types.js";
@@ -43,10 +43,10 @@ const ce = {
43
43
  }),
44
44
  emits: /* @__PURE__ */ R(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
45
45
  setup($, { emit: P }) {
46
- const e = $, v = P, y = Z($, "modelValue"), t = f(!1), _ = f(""), b = f(null), w = f(null), V = f(null), K = k(() => s.value === void 0), s = k(
46
+ const e = $, y = P, b = Z($, "modelValue"), t = f(!1), _ = f(""), v = f(null), w = f(null), V = f(null), K = k(() => s.value === void 0), s = k(
47
47
  () => {
48
48
  var l;
49
- return (l = e.items) == null ? void 0 : l.find((a) => a[e.itemValue] === y.value);
49
+ return (l = e.items) == null ? void 0 : l.find((a) => a[e.itemValue] === b.value);
50
50
  }
51
51
  ), H = k(
52
52
  () => s.value ? s.value[e.itemLabel] : ""
@@ -54,20 +54,20 @@ const ce = {
54
54
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
55
55
  );
56
56
  function B(l) {
57
- y.value = l, L();
57
+ b.value = l, L();
58
58
  }
59
59
  function E() {
60
60
  q.value && (B(e.emptyValue), I());
61
61
  }
62
62
  function W(l) {
63
63
  var a, d, c;
64
- !((a = V.value) != null && a.contains(l.relatedTarget)) && !((c = (d = b.value) == null ? void 0 : d.fieldRef) != null && c.contains(l.relatedTarget)) && L();
64
+ !((a = V.value) != null && a.contains(l.relatedTarget)) && !((c = (d = v.value) == null ? void 0 : d.fieldRef) != null && c.contains(l.relatedTarget)) && L();
65
65
  }
66
66
  function X() {
67
- t.value || (v("before-show"), t.value = !0);
67
+ t.value || (y("before-show"), t.value = !0);
68
68
  }
69
69
  function L() {
70
- t.value && (v("before-hide"), t.value = !1);
70
+ t.value && (y("before-hide"), t.value = !1);
71
71
  }
72
72
  function T() {
73
73
  e.readonly || e.disabled || (t.value ? L() : X());
@@ -90,14 +90,14 @@ const ce = {
90
90
  }
91
91
  function j() {
92
92
  var l;
93
- e.loading ? (l = V.value) == null || l.focus() : N(), v("show");
93
+ e.loading ? (l = V.value) == null || l.focus() : N(), y("show");
94
94
  }
95
95
  function G() {
96
- I(), v("hide");
96
+ I(), y("hide");
97
97
  }
98
98
  function I() {
99
99
  var l, a;
100
- (a = (l = b.value) == null ? void 0 : l.fieldRef) == null || a.focus();
100
+ (a = (l = v.value) == null ? void 0 : l.fieldRef) == null || a.focus();
101
101
  }
102
102
  function N() {
103
103
  var l;
@@ -118,12 +118,12 @@ const ce = {
118
118
  D,
119
119
  null,
120
120
  [
121
- p(i(ie), F({
121
+ p(n(ne), F({
122
122
  id: e.id,
123
+ ref_key: "triggerEl",
124
+ ref: v,
123
125
  label: e.label,
124
126
  required: e.required,
125
- ref_key: "triggerEl",
126
- ref: b,
127
127
  role: "combobox",
128
128
  tabindex: e.disabled ? -1 : 0,
129
129
  class: [
@@ -145,9 +145,9 @@ const ce = {
145
145
  onClick: T,
146
146
  onKeydown: O(z, ["stop"])
147
147
  }), ae({
148
- append: n(() => [
148
+ append: i(() => [
149
149
  u(l.$slots, "append"),
150
- q.value && y.value ? (o(), g(i(U), {
150
+ q.value && b.value ? (o(), g(n(U), {
151
151
  key: 0,
152
152
  class: "q-select__clear",
153
153
  "aria-label": e.texts.clearValue,
@@ -156,9 +156,9 @@ const ce = {
156
156
  tabindex: "-1",
157
157
  onClick: E
158
158
  }, {
159
- default: n(() => [
159
+ default: i(() => [
160
160
  p(
161
- i(S),
161
+ n(S),
162
162
  x(A(e.icons.clear)),
163
163
  null,
164
164
  16
@@ -168,7 +168,7 @@ const ce = {
168
168
  _: 1
169
169
  /* STABLE */
170
170
  }, 8, ["aria-label"])) : h("v-if", !0),
171
- e.readonly ? h("v-if", !0) : (o(), g(i(U), {
171
+ e.readonly ? h("v-if", !0) : (o(), g(n(U), {
172
172
  key: 1,
173
173
  class: "q-select__chevron",
174
174
  "aria-label": e.texts.showOptions,
@@ -178,9 +178,9 @@ const ce = {
178
178
  disabled: e.disabled,
179
179
  onClick: T
180
180
  }, {
181
- default: n(() => [
181
+ default: i(() => [
182
182
  p(
183
- i(S),
183
+ n(S),
184
184
  x(A(e.icons.chevron)),
185
185
  null,
186
186
  16
@@ -191,7 +191,7 @@ const ce = {
191
191
  /* STABLE */
192
192
  }, 8, ["aria-label", "disabled"]))
193
193
  ]),
194
- default: n(() => [
194
+ default: i(() => [
195
195
  K.value ? (o(), m("span", fe, [
196
196
  !e.readonly && !e.disabled ? (o(), m(
197
197
  D,
@@ -219,12 +219,12 @@ const ce = {
219
219
  }, [
220
220
  (d = s.value) != null && d.icon || l.$slots.prepend ? {
221
221
  name: "prepend",
222
- fn: n(() => {
222
+ fn: i(() => {
223
223
  var r, Q;
224
224
  return [
225
225
  u(l.$slots, "prepend"),
226
226
  (r = s.value) != null && r.icon ? (o(), g(
227
- i(S),
227
+ n(S),
228
228
  x(F({ key: 0 }, (Q = s.value) == null ? void 0 : Q.icon)),
229
229
  null,
230
230
  16
@@ -236,13 +236,13 @@ const ce = {
236
236
  } : void 0,
237
237
  l.$slots.extras ? {
238
238
  name: "extras",
239
- fn: n(() => [
239
+ fn: i(() => [
240
240
  u(l.$slots, "extras")
241
241
  ]),
242
242
  key: "1"
243
243
  } : void 0
244
244
  ]), 1040, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size"]),
245
- p(i(se), {
245
+ p(n(se), {
246
246
  modelValue: t.value,
247
247
  "onUpdate:modelValue": a[0] || (a[0] = (r) => t.value = r),
248
248
  spy: "",
@@ -250,12 +250,12 @@ const ce = {
250
250
  placement: "bottom-start",
251
251
  width: "anchor",
252
252
  "scroll-lock": "",
253
- anchor: (c = b.value) == null ? void 0 : c.$el,
253
+ anchor: (c = v.value) == null ? void 0 : c.$el,
254
254
  offset: 2,
255
255
  onEnter: j,
256
256
  onLeave: G
257
257
  }, {
258
- default: n(() => [
258
+ default: i(() => [
259
259
  oe("div", {
260
260
  ref_key: "contentRef",
261
261
  ref: V,
@@ -268,21 +268,21 @@ const ce = {
268
268
  }, [
269
269
  u(l.$slots, "body.prepend"),
270
270
  e.loading ? (o(), m("div", pe, [
271
- p(i(de), { size: 24 })
272
- ])) : (o(), g(i(ne), {
271
+ p(n(de), { size: 24 })
272
+ ])) : (o(), g(n(ie), {
273
273
  key: 1,
274
274
  ref_key: "listRef",
275
275
  ref: w,
276
276
  class: "q-select__items",
277
277
  selectable: "",
278
- "model-value": y.value,
278
+ "model-value": b.value,
279
279
  items: e.items,
280
280
  groups: l.groups,
281
281
  "item-label": e.itemLabel,
282
282
  "item-value": e.itemValue,
283
283
  "onUpdate:modelValue": B
284
284
  }, {
285
- item: n(({ item: r }) => [
285
+ item: i(({ item: r }) => [
286
286
  u(l.$slots, "item", { item: r })
287
287
  ]),
288
288
  _: 3
@@ -3,6 +3,6 @@ declare const _default: import('vue').DefineComponent<QSkeletonLoaderProps, {},
3
3
  type: "text" | "icon";
4
4
  width: string | number;
5
5
  height: string | number;
6
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
7
  export default _default;
8
8
  //# sourceMappingURL=QSkeletonLoader.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QSkeletonLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSkeletonLoader/QSkeletonLoader.vue"],"names":[],"mappings":"AAoCC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;AAoFpD,wBAOG"}
1
+ {"version":3,"file":"QSkeletonLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSkeletonLoader/QSkeletonLoader.vue"],"names":[],"mappings":"AAOA;AAoCC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;;;;;;AAuFpD,wBAQG"}
@@ -1,27 +1,27 @@
1
- import { defineComponent as i, computed as l, openBlock as r, createElementBlock as a, normalizeClass as p, normalizeStyle as h, createElementVNode as u } from "vue";
2
- const m = /* @__PURE__ */ i({
1
+ import { defineComponent as i, computed as o, openBlock as r, createElementBlock as a, normalizeClass as p, normalizeStyle as u, createElementVNode as h } from "vue";
2
+ const f = /* @__PURE__ */ i({
3
3
  __name: "QSkeletonLoader",
4
4
  props: {
5
5
  type: { default: void 0 },
6
6
  width: { default: void 0 },
7
7
  height: { default: void 0 }
8
8
  },
9
- setup(n) {
10
- const e = n, s = l(() => e.type ? `q-skeleton-loader--${e.type}` : void 0), d = l(() => {
11
- const o = typeof e.width == "number" ? `${e.width}px` : e.width, t = typeof e.height == "number" ? `${e.height}px` : e.height;
9
+ setup(l) {
10
+ const e = l, d = o(() => e.type ? `q-skeleton-loader--${e.type}` : void 0), s = o(() => {
11
+ const n = typeof e.width == "number" ? `${e.width}px` : e.width, t = typeof e.height == "number" ? `${e.height}px` : e.height;
12
12
  return {
13
- width: o,
13
+ width: n,
14
14
  height: t
15
15
  };
16
16
  });
17
- return (o, t) => (r(), a(
17
+ return (n, t) => (r(), a(
18
18
  "div",
19
19
  {
20
- class: p(["q-skeleton-loader", s.value]),
21
- style: h(d.value)
20
+ class: p(["q-skeleton-loader", d.value]),
21
+ style: u(s.value)
22
22
  },
23
23
  t[0] || (t[0] = [
24
- u(
24
+ h(
25
25
  "div",
26
26
  { class: "q-skeleton-loader__bone" },
27
27
  null,
@@ -35,5 +35,5 @@ const m = /* @__PURE__ */ i({
35
35
  }
36
36
  });
37
37
  export {
38
- m as default
38
+ f as default
39
39
  };
@@ -2,6 +2,6 @@ import { QSpinnerLoaderProps } from './types';
2
2
  declare const _default: import('vue').DefineComponent<QSpinnerLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QSpinnerLoaderProps> & Readonly<{}>, {
3
3
  size: number;
4
4
  class: string | unknown[];
5
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
6
  export default _default;
7
7
  //# sourceMappingURL=QSpinnerLoader.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QSpinnerLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSpinnerLoader/QSpinnerLoader.vue"],"names":[],"mappings":"AAyBC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;;;;;AAuEnD,wBAOG"}
1
+ {"version":3,"file":"QSpinnerLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSpinnerLoader/QSpinnerLoader.vue"],"names":[],"mappings":"AAKA;AAyBC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;;;;;AA0EnD,wBAQG"}