@quidgest/ui 0.16.37 → 0.16.39

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 (39) hide show
  1. package/dist/json/api.json +92 -1
  2. package/dist/manifest/components.json +1 -0
  3. package/dist/ui.css +127 -10
  4. package/dist/ui.esm.js +3673 -3644
  5. package/dist/ui.js +7 -7
  6. package/dist/ui.min.css +1 -1
  7. package/dist/ui.min.js +139 -136
  8. package/dist/ui.scss +123 -3
  9. package/esm/components/QDialog/QDialog.d.ts +1 -0
  10. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  11. package/esm/components/QDialog/QDialog.vue.js +38 -36
  12. package/esm/components/QDialog/index.d.ts +6 -0
  13. package/esm/components/QDialog/index.d.ts.map +1 -1
  14. package/esm/components/QDialog/types.d.ts +7 -0
  15. package/esm/components/QDialog/types.d.ts.map +1 -1
  16. package/esm/components/QGrid/QCol.d.ts.map +1 -1
  17. package/esm/components/QGrid/QCol.vue.js +12 -9
  18. package/esm/components/QGroupBox/QGroupBox.d.ts +21 -0
  19. package/esm/components/QGroupBox/QGroupBox.d.ts.map +1 -0
  20. package/esm/components/QGroupBox/QGroupBox.vue.js +44 -0
  21. package/esm/components/QGroupBox/QGroupBox.vue2.js +4 -0
  22. package/esm/components/QGroupBox/index.d.ts +26 -0
  23. package/esm/components/QGroupBox/index.d.ts.map +1 -0
  24. package/esm/components/QGroupBox/index.js +6 -0
  25. package/esm/components/QGroupBox/types.d.ts +32 -0
  26. package/esm/components/QGroupBox/types.d.ts.map +1 -0
  27. package/esm/components/QList/QList.d.ts.map +1 -1
  28. package/esm/components/QList/QList.vue.js +3 -7
  29. package/esm/components/QOverlay/QOverlay.vue.js +1 -1
  30. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  31. package/esm/components/QSelect/QSelect.vue.js +163 -169
  32. package/esm/components/index.d.ts +1 -0
  33. package/esm/components/index.d.ts.map +1 -1
  34. package/esm/components/index.js +70 -68
  35. package/esm/composables/useDialog/index.d.ts +1 -0
  36. package/esm/composables/useDialog/index.d.ts.map +1 -1
  37. package/esm/composables/useGroup/index.js +17 -17
  38. package/esm/index.d.ts +1 -0
  39. package/package.json +1 -1
package/dist/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest UI v0.16.37
2
+ * Quidgest UI v0.16.39
3
3
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
4
4
  * Released under the MIT License.
5
5
  */
@@ -256,6 +256,7 @@ $outline: $outline-width $outline-style $outline-color;
256
256
  $scrollbar-thumb: var(--q-theme-neutral-light);
257
257
  $scrollbar-track: rgb(var(--q-theme-neutral-light-rgb) / 25%);
258
258
  $headings-text-transform: uppercase !default;
259
+ $group-border-bottom: 1px solid $border !default;
259
260
  $input-padding-y: 0.26rem !default;
260
261
  $input-padding-x: 0.25rem !default;
261
262
  :root {
@@ -1937,6 +1938,121 @@ $q-carousel-height-md: 300px;
1937
1938
  .q-spacer {
1938
1939
  flex: 1 1 0;
1939
1940
  }
1941
+ .q-group-box {
1942
+ $this: &;
1943
+ display: inline-block;
1944
+ word-wrap: break-word;
1945
+ background-color: var(--q-theme-container);
1946
+ border-width: 1px;
1947
+ border-bottom: $group-border-bottom;
1948
+ padding: 0.5rem 1rem 1rem;
1949
+ border-radius: var(--border-radius);
1950
+ position: relative;
1951
+ max-width: 100%;
1952
+ &:focus-visible {
1953
+ outline: $outline;
1954
+ border-radius: var(--border-radius);
1955
+ }
1956
+ &__title {
1957
+ font-size: 1.2rem;
1958
+ line-height: 1rem;
1959
+ letter-spacing: 0.02rem;
1960
+ color: var(--q-theme-primary);
1961
+ text-transform: $headings-text-transform;
1962
+ margin: 0;
1963
+ margin-top: 0.25rem;
1964
+ display: flex;
1965
+ align-items: flex-start;
1966
+ width: fit-content;
1967
+ gap: 0.25rem;
1968
+ margin-bottom: 0.5rem;
1969
+ }
1970
+
1971
+ &--background {
1972
+ background-color: rgb(var(--q-theme-primary-light-rgb) / 50%);
1973
+ padding: 0.5rem 1rem 1rem;
1974
+ }
1975
+ &--minor {
1976
+ background-color: transparent;
1977
+ border: none;
1978
+ border-radius: 0;
1979
+ padding: 0.5rem 0 0;
1980
+ }
1981
+ &--minor-border-top {
1982
+ background-color: transparent;
1983
+ border: none;
1984
+ border-top: 1px solid var(--q-theme-neutral-light);
1985
+ border-radius: 0;
1986
+ margin-top: 0.5rem;
1987
+ padding: 0.25rem 0;
1988
+ }
1989
+ &--minor,
1990
+ &--minor-border-top {
1991
+ #{$this}__title {
1992
+ font-size: 0.9rem;
1993
+ line-height: 1;
1994
+ letter-spacing: initial;
1995
+ color: var(--q-theme-neutral-dark);
1996
+ text-transform: none;
1997
+ font-weight: 600;
1998
+ margin-bottom: 0.25rem;
1999
+ margin-top: 0.25rem;
2000
+ }
2001
+ }
2002
+ &--title-background {
2003
+ padding: 0 !important;
2004
+ &::before {
2005
+ position: absolute;
2006
+ top: 0;
2007
+ left: 0;
2008
+ height: 30px;
2009
+ width: 100%;
2010
+ content: '';
2011
+ background-color: rgb(var(--q-theme-neutral-light-rgb) / 25%);
2012
+ border-radius: var(--border-radius) var(--border-radius) 0 0;
2013
+ }
2014
+ #{$this}__title {
2015
+ padding: 0.5rem 1rem;
2016
+ margin: 0;
2017
+ font-size: 0.9rem;
2018
+ font-weight: 700;
2019
+ line-height: 1;
2020
+ letter-spacing: 0.01rem;
2021
+ color: var(--q-theme-on-background);
2022
+ text-transform: none;
2023
+ z-index: 10;
2024
+ position: relative;
2025
+ }
2026
+ > #{$this}__content {
2027
+ padding: 0.2rem 1rem 1rem;
2028
+ }
2029
+ }
2030
+ &--subsection {
2031
+ border: none;
2032
+ margin-left: 0.625rem;
2033
+ margin-bottom: 0.625rem;
2034
+ #{$this}__title {
2035
+ font-size: 0.9rem;
2036
+ line-height: 1;
2037
+ letter-spacing: initial;
2038
+ background-color: transparent;
2039
+ color: var(--q-theme-neutral-dark);
2040
+ text-transform: none;
2041
+ font-weight: 600;
2042
+ margin-bottom: 0.25rem;
2043
+ }
2044
+ }
2045
+
2046
+ &--borderless {
2047
+ border-color: transparent;
2048
+ margin: 0;
2049
+ padding: 0;
2050
+ background-color: transparent;
2051
+ }
2052
+ &--block {
2053
+ width: 100%;
2054
+ }
2055
+ }
1940
2056
  .q-icon {
1941
2057
  display: inline-block;
1942
2058
  color: var(--q-theme-primary);
@@ -2598,7 +2714,7 @@ $base-border: 1px solid rgb(var(--q-theme-neutral-light-rgb) / 50%);
2598
2714
  width: 100%;
2599
2715
  #{$this}__badge {
2600
2716
  &-count {
2601
- font-weight: bold;
2717
+ font-weight: $font-weight-black;
2602
2718
  }
2603
2719
  &-hidden {
2604
2720
  visibility: hidden;
@@ -2606,6 +2722,7 @@ $base-border: 1px solid rgb(var(--q-theme-neutral-light-rgb) / 50%);
2606
2722
  }
2607
2723
  .q-badge__content {
2608
2724
  height: 0.85em;
2725
+ white-space: nowrap;
2609
2726
  }
2610
2727
  }
2611
2728
  &__placeholder {
@@ -2671,7 +2788,7 @@ $sidebar-sizes: (
2671
2788
  @mixin sidebar-size-modifiers($prefix, $property) {
2672
2789
  @each $size, $value in $sidebar-sizes {
2673
2790
  $suffix: if($prefix == '', $size, '#{$prefix}-#{$size}');
2674
- .q-sidebar--#{$suffix} {
2791
+ .q-sidebar--expanded.q-sidebar--#{$suffix} {
2675
2792
  #{$property}: $value;
2676
2793
  }
2677
2794
  }
@@ -2681,6 +2798,9 @@ $sidebar-sizes: (
2681
2798
  display: flex;
2682
2799
  overflow: hidden;
2683
2800
  flex-direction: row;
2801
+ width: min-content;
2802
+ }
2803
+ .q-sidebar--expanded {
2684
2804
  min-width: $sidebar-size-small;
2685
2805
  max-width: $sidebar-size-large;
2686
2806
  }
@@ -35,6 +35,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
35
35
  icons: typeof DEFAULT_ICONS;
36
36
  backdropBlur: boolean;
37
37
  attach: string;
38
+ focusTrap: boolean;
38
39
  buttons: DialogButton[];
39
40
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
40
41
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1 +1 @@
1
- {"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAmGA;AAkLC,OAAO,EAAiC,aAAa,EAAE,MAAM,aAAa,CAAA;AAS1E,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAKzD,KAAK,WAAW,GAAG,YAAY,CAAC;AAyEjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAsPT,OAAO,IAA6B;;wBAhBrB,GAAG;kCACO,GAAG;iCACJ,GAAG;sBACd,GAAG;6BACI,GAAG;+BACD,GAAG;iCACD,GAAG;;;;EAexC;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;6EASnB,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":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAoGA;AAoLC,OAAO,EAAiC,aAAa,EAAE,MAAM,aAAa,CAAA;AAS1E,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAKzD,KAAK,WAAW,GAAG,YAAY,CAAC;AA2EjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAwPT,OAAO,IAA6B;;wBAhBrB,GAAG;kCACO,GAAG;iCACJ,GAAG;sBACd,GAAG;6BACI,GAAG;+BACD,GAAG;iCACD,GAAG;;;;EAexC;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;6EASnB,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,4 +1,4 @@
1
- import { defineComponent as Q, mergeModels as g, useModel as A, ref as V, computed as b, createBlock as c, openBlock as l, unref as a, normalizeClass as B, withCtx as p, createElementVNode as $, createElementBlock as i, createCommentVNode as s, renderSlot as r, toDisplayString as v, createVNode as _, normalizeProps as q, guardReactiveProps as C, createTextVNode as O, Fragment as S, renderList as I, mergeProps as T } from "vue";
1
+ import { defineComponent as Q, mergeModels as g, useModel as A, ref as V, computed as b, createBlock as c, openBlock as l, unref as a, normalizeClass as B, withCtx as p, createElementVNode as $, createElementBlock as s, createCommentVNode as i, renderSlot as n, toDisplayString as v, createVNode as _, normalizeProps as q, guardReactiveProps as C, createTextVNode as O, Fragment as S, renderList as I, mergeProps as T } from "vue";
2
2
  import { DEFAULT_ICONS as P, DEFAULT_BUTTONS as H, DEFAULT_ICON as w } from "./constants.js";
3
3
  import { QButton as L } from "../QButton/index.js";
4
4
  import { QIcon as f } from "../QIcon/index.js";
@@ -25,7 +25,7 @@ const j = {
25
25
  }, oe = {
26
26
  key: 0,
27
27
  class: "q-dialog__footer-buttons"
28
- }, re = /* @__PURE__ */ Q({
28
+ }, ne = /* @__PURE__ */ Q({
29
29
  __name: "QDialog",
30
30
  props: /* @__PURE__ */ g({
31
31
  id: {},
@@ -39,6 +39,7 @@ const j = {
39
39
  centerVertically: { type: Boolean },
40
40
  attach: { default: "body" },
41
41
  inline: { type: Boolean },
42
+ focusTrap: { type: Boolean, default: !0 },
42
43
  dismissible: { type: Boolean },
43
44
  html: { type: Boolean, default: !0 },
44
45
  input: {},
@@ -54,9 +55,9 @@ const j = {
54
55
  m.value = !1;
55
56
  }
56
57
  function E(o) {
57
- var n, t;
58
+ var r, t;
58
59
  if (o.action) {
59
- if ((n = e.input) != null && n.validator && (d.value = e.input.validator(a(u)), a(d)))
60
+ if ((r = e.input) != null && r.validator && (d.value = e.input.validator(a(u)), a(d)))
60
61
  return;
61
62
  (t = o.action) == null || t.call(o, a(u));
62
63
  }
@@ -68,10 +69,10 @@ const j = {
68
69
  function U() {
69
70
  k("leave");
70
71
  }
71
- return (o, n) => (l(), c(a(x), {
72
+ return (o, r) => (l(), c(a(x), {
72
73
  id: e.id,
73
74
  modelValue: m.value,
74
- "onUpdate:modelValue": n[1] || (n[1] = (t) => m.value = t),
75
+ "onUpdate:modelValue": r[1] || (r[1] = (t) => m.value = t),
75
76
  "backdrop-class": "q-dialog__underlay",
76
77
  "scroll-lock": "",
77
78
  persistent: "",
@@ -79,6 +80,7 @@ const j = {
79
80
  attach: e.attach,
80
81
  "backdrop-blur": e.backdropBlur,
81
82
  "center-vertically": e.centerVertically,
83
+ "focus-trap": e.focusTrap,
82
84
  class: B(D.value),
83
85
  onEnter: M,
84
86
  onLeave: U
@@ -90,25 +92,25 @@ const j = {
90
92
  class: B(z.value)
91
93
  },
92
94
  [
93
- e.title || o.$slots.header || o.$slots["header.prepend"] || o.$slots["header.append"] ? (l(), i("div", j, [
94
- r(o.$slots, "header", {}, () => [
95
- r(o.$slots, "header.prepend"),
96
- e.title ? (l(), i(
95
+ e.title || o.$slots.header || o.$slots["header.prepend"] || o.$slots["header.append"] ? (l(), s("div", j, [
96
+ n(o.$slots, "header", {}, () => [
97
+ n(o.$slots, "header.prepend"),
98
+ e.title ? (l(), s(
97
99
  "span",
98
100
  G,
99
101
  v(e.title),
100
102
  1
101
103
  /* TEXT */
102
- )) : s("v-if", !0),
103
- r(o.$slots, "header.append")
104
+ )) : i("v-if", !0),
105
+ n(o.$slots, "header.append")
104
106
  ])
105
- ])) : s("v-if", !0),
106
- e.icon || e.text || o.$slots.body ? (l(), i("div", J, [
107
- r(o.$slots, "body", {}, () => {
107
+ ])) : i("v-if", !0),
108
+ e.icon || e.text || o.$slots.body ? (l(), s("div", J, [
109
+ n(o.$slots, "body", {}, () => {
108
110
  var t;
109
111
  return [
110
- r(o.$slots, "body.icon", {}, () => [
111
- e.icon ? (l(), i("span", K, [
112
+ n(o.$slots, "body.icon", {}, () => [
113
+ e.icon ? (l(), s("span", K, [
112
114
  _(
113
115
  a(f),
114
116
  q(C(e.icon)),
@@ -116,13 +118,13 @@ const j = {
116
118
  16
117
119
  /* FULL_PROPS */
118
120
  )
119
- ])) : s("v-if", !0)
121
+ ])) : i("v-if", !0)
120
122
  ]),
121
123
  $("div", W, [
122
- e.html ? (l(), i("div", {
124
+ e.html ? (l(), s("div", {
123
125
  key: 0,
124
126
  innerHTML: e.text
125
- }, null, 8, X)) : (l(), i(
127
+ }, null, 8, X)) : (l(), s(
126
128
  "div",
127
129
  Y,
128
130
  v(e.text),
@@ -130,10 +132,10 @@ const j = {
130
132
  /* TEXT */
131
133
  ))
132
134
  ]),
133
- e.input ? (l(), i("div", Z, [
135
+ e.input ? (l(), s("div", Z, [
134
136
  _(a(R), {
135
137
  modelValue: u.value,
136
- "onUpdate:modelValue": n[0] || (n[0] = (F) => u.value = F),
138
+ "onUpdate:modelValue": r[0] || (r[0] = (F) => u.value = F),
137
139
  invalid: !!d.value,
138
140
  placeholder: (t = e.input) == null ? void 0 : t.placeholder,
139
141
  size: "block"
@@ -142,7 +144,7 @@ const j = {
142
144
  d.value ? (l(), c(a(f), {
143
145
  key: 0,
144
146
  icon: "exclamation-sign"
145
- })) : s("v-if", !0),
147
+ })) : i("v-if", !0),
146
148
  O(
147
149
  " " + v(d.value),
148
150
  1
@@ -152,14 +154,14 @@ const j = {
152
154
  _: 1
153
155
  /* STABLE */
154
156
  }, 8, ["modelValue", "invalid", "placeholder"])
155
- ])) : s("v-if", !0),
156
- r(o.$slots, "body.append")
157
+ ])) : i("v-if", !0),
158
+ n(o.$slots, "body.append")
157
159
  ];
158
160
  })
159
- ])) : s("v-if", !0),
160
- e.buttons || o.$slots["footer.append"] ? (l(), i("div", ee, [
161
- e.buttons ? (l(), i("span", oe, [
162
- (l(!0), i(
161
+ ])) : i("v-if", !0),
162
+ e.buttons || o.$slots["footer.append"] ? (l(), s("div", ee, [
163
+ e.buttons ? (l(), s("span", oe, [
164
+ (l(!0), s(
163
165
  S,
164
166
  null,
165
167
  I(e.buttons, (t) => (l(), c(a(L), T({ ref_for: !0 }, t.props, {
@@ -176,7 +178,7 @@ const j = {
176
178
  null,
177
179
  16
178
180
  /* FULL_PROPS */
179
- )) : s("v-if", !0)
181
+ )) : i("v-if", !0)
180
182
  ]),
181
183
  _: 2
182
184
  /* DYNAMIC */
@@ -184,9 +186,9 @@ const j = {
184
186
  128
185
187
  /* KEYED_FRAGMENT */
186
188
  ))
187
- ])) : s("v-if", !0),
188
- r(o.$slots, "footer.append")
189
- ])) : s("v-if", !0),
189
+ ])) : i("v-if", !0),
190
+ n(o.$slots, "footer.append")
191
+ ])) : i("v-if", !0),
190
192
  e.dismissible ? (l(), c(a(L), {
191
193
  key: 3,
192
194
  class: "q-dialog__close",
@@ -204,7 +206,7 @@ const j = {
204
206
  ]),
205
207
  _: 1
206
208
  /* STABLE */
207
- })) : s("v-if", !0)
209
+ })) : i("v-if", !0)
208
210
  ],
209
211
  2
210
212
  /* CLASS */
@@ -212,9 +214,9 @@ const j = {
212
214
  ]),
213
215
  _: 3
214
216
  /* FORWARDED */
215
- }, 8, ["id", "modelValue", "inline", "attach", "backdrop-blur", "center-vertically", "class"]));
217
+ }, 8, ["id", "modelValue", "inline", "attach", "backdrop-blur", "center-vertically", "focus-trap", "class"]));
216
218
  }
217
219
  });
218
220
  export {
219
- re as default
221
+ ne as default
220
222
  };
@@ -11,6 +11,7 @@ declare const QDialog: {
11
11
  centerVertically?: boolean;
12
12
  attach?: string;
13
13
  inline?: boolean;
14
+ focusTrap?: boolean;
14
15
  dismissible?: boolean;
15
16
  html?: boolean;
16
17
  input?: import('./types').QDialogInputOption;
@@ -31,6 +32,7 @@ declare const QDialog: {
31
32
  icons: typeof import('./constants').DEFAULT_ICONS;
32
33
  backdropBlur: boolean;
33
34
  attach: string;
35
+ focusTrap: boolean;
34
36
  buttons: import('./types').DialogButton[];
35
37
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
36
38
  P: {};
@@ -51,6 +53,7 @@ declare const QDialog: {
51
53
  centerVertically?: boolean;
52
54
  attach?: string;
53
55
  inline?: boolean;
56
+ focusTrap?: boolean;
54
57
  dismissible?: boolean;
55
58
  html?: boolean;
56
59
  input?: import('./types').QDialogInputOption;
@@ -66,6 +69,7 @@ declare const QDialog: {
66
69
  icons: typeof import('./constants').DEFAULT_ICONS;
67
70
  backdropBlur: boolean;
68
71
  attach: string;
72
+ focusTrap: boolean;
69
73
  buttons: import('./types').DialogButton[];
70
74
  }>;
71
75
  __isFragment?: never;
@@ -83,6 +87,7 @@ declare const QDialog: {
83
87
  centerVertically?: boolean;
84
88
  attach?: string;
85
89
  inline?: boolean;
90
+ focusTrap?: boolean;
86
91
  dismissible?: boolean;
87
92
  html?: boolean;
88
93
  input?: import('./types').QDialogInputOption;
@@ -103,6 +108,7 @@ declare const QDialog: {
103
108
  icons: typeof import('./constants').DEFAULT_ICONS;
104
109
  backdropBlur: boolean;
105
110
  attach: string;
111
+ focusTrap: boolean;
106
112
  buttons: import('./types').DialogButton[];
107
113
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
108
114
  $slots: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AACzC,QAAA,MAAM,eAAe;;;;kFAAoC,CAAA;AAGzD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAA;AAGnC,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AACzC,QAAA,MAAM,eAAe;;;;kFAAoC,CAAA;AAGzD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAA;AAGnC,cAAc,SAAS,CAAA"}
@@ -60,6 +60,13 @@ export type QDialogProps = QBaseComponentProps & {
60
60
  * @category Behavior
61
61
  */
62
62
  inline?: boolean;
63
+ /**
64
+ * Whether to enable focus trapping within the dialog.
65
+ * When enabled, focus will be constrained to elements within the dialog.
66
+ *
67
+ * @category Behavior
68
+ */
69
+ focusTrap?: boolean;
63
70
  /**
64
71
  * True if the dialog window can be closed, false otherwise.
65
72
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK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C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AA4CzC,iBAAS,cAAc;WAuBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,ySAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QCol.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGrid/QCol.vue"],"names":[],"mappings":"AAKA;AA6DC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AA+CzC,iBAAS,cAAc;WAuBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,ySAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, computed as t, createElementBlock as u, openBlock as a, normalizeClass as m, renderSlot as d } from "vue";
1
+ import { defineComponent as c, computed as s, createElementBlock as u, openBlock as a, normalizeClass as d, renderSlot as m } from "vue";
2
2
  import { provideDefaults as i } from "../../composables/defaults.js";
3
3
  const p = /* @__PURE__ */ c({
4
4
  __name: "QCol",
@@ -11,7 +11,7 @@ const p = /* @__PURE__ */ c({
11
11
  xxl: {}
12
12
  },
13
13
  setup(n) {
14
- const e = n, r = t(() => [
14
+ const e = n, r = s(() => [
15
15
  "q-col",
16
16
  o("", e.cols),
17
17
  o("sm", e.sm),
@@ -20,21 +20,24 @@ const p = /* @__PURE__ */ c({
20
20
  o("xl", e.xl),
21
21
  o("xxl", e.xxl)
22
22
  ].filter(Boolean));
23
- function o(l, s) {
24
- if (s)
25
- return s === "auto" ? `q-col${l ? `-${l}` : ""}-auto` : `q-col${l ? `-${l}` : ""}-${s}`;
23
+ function o(l, t) {
24
+ if (t)
25
+ return t === "auto" ? `q-col${l ? `-${l}` : ""}-auto` : `q-col${l ? `-${l}` : ""}-${t}`;
26
26
  }
27
27
  return i({
28
+ QGroupBox: {
29
+ block: s(() => e.cols === "auto" ? void 0 : !0)
30
+ },
28
31
  QField: {
29
- size: t(() => e.cols === "auto" ? void 0 : "block")
32
+ size: s(() => e.cols === "auto" ? void 0 : "block")
30
33
  }
31
- }), (l, s) => (a(), u(
34
+ }), (l, t) => (a(), u(
32
35
  "div",
33
36
  {
34
- class: m(r.value)
37
+ class: d(r.value)
35
38
  },
36
39
  [
37
- d(l.$slots, "default")
40
+ m(l.$slots, "default")
38
41
  ],
39
42
  2
40
43
  /* CLASS */
@@ -0,0 +1,21 @@
1
+ import { QGroupBoxProps } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: HTMLDivElement;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<QGroupBoxProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QGroupBoxProps> & Readonly<{}>, {
12
+ variant: import('./types').QGroupBoxVariant;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
+ export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
21
+ //# sourceMappingURL=QGroupBox.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QGroupBox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGroupBox/QGroupBox.vue"],"names":[],"mappings":"AAcA;AA6CC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AA+B9C,iBAAS,cAAc;WAkCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;wFAQnB,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"}
@@ -0,0 +1,44 @@
1
+ import { defineComponent as l, computed as n, createElementBlock as t, openBlock as s, normalizeClass as i, createCommentVNode as c, createElementVNode as d, toDisplayString as p, renderSlot as u } from "vue";
2
+ const _ = ["id"], b = {
3
+ key: 0,
4
+ class: "q-group-box__title"
5
+ }, m = { class: "q-group-box__content" }, x = /* @__PURE__ */ l({
6
+ __name: "QGroupBox",
7
+ props: {
8
+ id: {},
9
+ class: {},
10
+ title: {},
11
+ borderless: { type: Boolean },
12
+ variant: { default: "default" },
13
+ block: { type: Boolean }
14
+ },
15
+ setup(r) {
16
+ const e = r, a = n(() => [
17
+ "q-group-box",
18
+ e.variant === "default" ? void 0 : `q-group-box--${e.variant}`,
19
+ {
20
+ "q-group-box--block": e.block,
21
+ "q-group-box--borderless": e.borderless
22
+ },
23
+ e.class
24
+ ]);
25
+ return (o, f) => (s(), t("div", {
26
+ id: e.id,
27
+ class: i(a.value)
28
+ }, [
29
+ e.title ? (s(), t(
30
+ "div",
31
+ b,
32
+ p(e.title),
33
+ 1
34
+ /* TEXT */
35
+ )) : c("v-if", !0),
36
+ d("div", m, [
37
+ u(o.$slots, "default")
38
+ ])
39
+ ], 10, _));
40
+ }
41
+ });
42
+ export {
43
+ x as default
44
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QGroupBox.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,26 @@
1
+ declare const QGroupBox: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QGroupBoxProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
3
+ variant: import('./types').QGroupBoxVariant;
4
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
5
+ P: {};
6
+ B: {};
7
+ D: {};
8
+ C: {};
9
+ M: {};
10
+ Defaults: {};
11
+ }, Readonly<import('./types').QGroupBoxProps> & Readonly<{}>, {}, {}, {}, {}, {
12
+ variant: import('./types').QGroupBoxVariant;
13
+ }>;
14
+ __isFragment?: never;
15
+ __isTeleport?: never;
16
+ __isSuspense?: never;
17
+ } & import('vue').ComponentOptionsBase<Readonly<import('./types').QGroupBoxProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
18
+ variant: import('./types').QGroupBoxVariant;
19
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
20
+ $slots: {
21
+ default?(_: {}): any;
22
+ };
23
+ });
24
+ export { QGroupBox };
25
+ export * from './types';
26
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QGroupBox/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,CAAA;AAGpB,cAAc,SAAS,CAAA"}
@@ -0,0 +1,6 @@
1
+ import o from "./QGroupBox.vue.js";
2
+ import { setupPropsProxy as r } from "../../utils/setupPropsProxy.js";
3
+ const t = r(o);
4
+ export {
5
+ t as QGroupBox
6
+ };
@@ -0,0 +1,32 @@
1
+ import { QBaseComponentProps } from '../../types/component';
2
+ /**
3
+ * QGroupBox visual style variants.
4
+ */
5
+ export type QGroupBoxVariant = 'default' | 'background' | 'minor' | 'minor-border-top' | 'title-background';
6
+ export type QGroupBoxProps = QBaseComponentProps & {
7
+ /**
8
+ * The title of the group box.
9
+ *
10
+ * @category Content
11
+ */
12
+ title?: string;
13
+ /**
14
+ * If true, the group box has no borders.
15
+ *
16
+ * @category Presentation
17
+ */
18
+ borderless?: boolean;
19
+ /**
20
+ * The styling variant of the group box.
21
+ *
22
+ * @category Presentation
23
+ */
24
+ variant?: QGroupBoxVariant;
25
+ /**
26
+ * If true, the group box spans the full width of its container.
27
+ *
28
+ * @category Presentation
29
+ */
30
+ block?: boolean;
31
+ };
32
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QGroupBox/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACzB,SAAS,GACT,YAAY,GACZ,OAAO,GACP,kBAAkB,GAClB,kBAAkB,CAAA;AAErB,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG;IAClD;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAA;IAE1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,CAAA"}