@quidgest/ui 0.14.16 → 0.14.18

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 (42) hide show
  1. package/dist/manifest/components.json +1 -0
  2. package/dist/ui.css +96 -20
  3. package/dist/ui.esm.js +3852 -3675
  4. package/dist/ui.js +16 -16
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +640 -615
  7. package/dist/ui.scss +84 -23
  8. package/esm/components/QCheckbox/QCheckbox.d.ts +2 -1
  9. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  10. package/esm/components/QCheckbox/QCheckbox.vue.js +4 -4
  11. package/esm/components/QCheckbox/constants.d.ts +9 -0
  12. package/esm/components/QCheckbox/constants.d.ts.map +1 -0
  13. package/esm/components/QCheckbox/index.d.ts +6 -6
  14. package/esm/components/QCheckbox/types.d.ts +1 -8
  15. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  16. package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
  17. package/esm/components/QCollapsible/QCollapsible.vue.js +9 -8
  18. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  19. package/esm/components/QOverlay/QOverlay.vue.js +94 -102
  20. package/esm/components/QTextArea/QTextArea.d.ts +39 -0
  21. package/esm/components/QTextArea/QTextArea.d.ts.map +1 -0
  22. package/esm/components/QTextArea/QTextArea.vue.js +105 -0
  23. package/esm/components/QTextArea/QTextArea.vue2.js +4 -0
  24. package/esm/components/QTextArea/index.d.ts +98 -0
  25. package/esm/components/QTextArea/index.d.ts.map +1 -0
  26. package/esm/components/QTextArea/index.js +6 -0
  27. package/esm/components/QTextArea/types.d.ts +33 -0
  28. package/esm/components/QTextArea/types.d.ts.map +1 -0
  29. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  30. package/esm/components/QThemeProvider/QThemeProvider.vue.js +9 -9
  31. package/esm/components/index.d.ts +1 -0
  32. package/esm/components/index.d.ts.map +1 -1
  33. package/esm/components/index.js +12 -10
  34. package/esm/composables/theme.d.ts +2 -0
  35. package/esm/composables/theme.d.ts.map +1 -1
  36. package/esm/index.d.ts +1 -0
  37. package/esm/utils/theme.d.ts.map +1 -1
  38. package/esm/utils/theme.js +27 -26
  39. package/esm/vendors/@vueuse/core/index.js +85 -0
  40. package/esm/vendors/@vueuse/shared/index.js +20 -0
  41. package/package.json +2 -1
  42. /package/esm/components/QCheckbox/{types.js → constants.js} +0 -0
package/dist/ui.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Quidgest UI v0.14.16
2
+ * Quidgest UI v0.14.18
3
3
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
4
4
  * Released under the MIT License.
5
5
  */
@@ -319,6 +319,9 @@ body {
319
319
  }
320
320
  }
321
321
  }
322
+ .q-icon {
323
+ color: currentcolor;
324
+ }
322
325
 
323
326
  &--large {
324
327
  font-size: 0.9rem;
@@ -519,6 +522,9 @@ $button-text-on-plain: var(--q-theme-on-background);
519
522
  pointer-events: none;
520
523
  line-height: 1;
521
524
  }
525
+ .q-icon {
526
+ color: currentcolor;
527
+ }
522
528
  .q-spinner-loader {
523
529
  color: currentcolor;
524
530
  }
@@ -803,6 +809,7 @@ $button-text-on-plain: var(--q-theme-on-background);
803
809
  justify-content: center;
804
810
  width: var(--box-size);
805
811
  height: var(--box-size);
812
+ font-size: calc(var(--box-size) * 0.75);
806
813
  border: 1px solid $border;
807
814
  border-radius: var(--border-radius);
808
815
  padding: 0;
@@ -926,16 +933,15 @@ $button-text-on-plain: var(--q-theme-on-background);
926
933
  margin: 0;
927
934
  padding: 0;
928
935
  .q-btn__content {
929
- width: 100%;
930
936
  gap: 0;
931
937
  padding: $btn-padding;
932
938
  display: flex;
933
939
  flex-direction: column;
934
940
  align-items: start;
935
941
  letter-spacing: 0.02rem;
936
- color: var(--q-theme-on-background);
937
942
  h4 {
938
943
  margin: 0;
944
+ text-transform: uppercase;
939
945
  }
940
946
  }
941
947
  }
@@ -995,8 +1001,6 @@ $button-text-on-plain: var(--q-theme-on-background);
995
1001
  }
996
1002
 
997
1003
  &--required {
998
- margin-top: -0.3rem;
999
- margin-left: 0.1rem;
1000
1004
  font-weight: 700;
1001
1005
  color: var(--q-theme-danger);
1002
1006
  }
@@ -1049,10 +1053,10 @@ $button-text-on-plain: var(--q-theme-on-background);
1049
1053
  cursor: inherit;
1050
1054
  }
1051
1055
  }
1052
- .q-date-time-picker {
1053
- &__input-icon {
1054
- opacity: 0.5;
1055
- }
1056
+ .dp__menu.dp__theme_light,
1057
+ .dp__menu.dp__theme_dark {
1058
+ --dp-hover-color: rgb(var(--q-theme-primary-light-rgb) / 50%);
1059
+ --dp-primary-color: var(--q-theme-primary);
1056
1060
  }
1057
1061
  .dp__main {
1058
1062
  font-family: inherit;
@@ -1169,6 +1173,9 @@ $button-text-on-plain: var(--q-theme-on-background);
1169
1173
  align-items: center;
1170
1174
  color: var(--q-theme-neutral-dark);
1171
1175
  line-height: 1.5;
1176
+ .q-icon {
1177
+ color: currentcolor;
1178
+ }
1172
1179
  }
1173
1180
  &__control {
1174
1181
  display: flex;
@@ -1189,6 +1196,9 @@ $button-text-on-plain: var(--q-theme-on-background);
1189
1196
  color: var(--q-theme-neutral);
1190
1197
  margin-top: $space-base;
1191
1198
  font-size: calc(0.9 * $font-size-base);
1199
+ .q-icon {
1200
+ color: currentcolor;
1201
+ }
1192
1202
  }
1193
1203
  &__prepend,
1194
1204
  &__append {
@@ -1346,6 +1356,7 @@ $button-text-on-plain: var(--q-theme-on-background);
1346
1356
  }
1347
1357
  .q-icon {
1348
1358
  display: inline-block;
1359
+ color: var(--q-theme-primary);
1349
1360
  &__svg {
1350
1361
  fill: currentcolor;
1351
1362
  }
@@ -1548,6 +1559,7 @@ $line-color: var(--q-theme-primary);
1548
1559
  color: var(--q-theme-neutral);
1549
1560
  font-size: 0.75em;
1550
1561
  .q-icon {
1562
+ color: currentcolor;
1551
1563
  font-size: inherit;
1552
1564
  flex-shrink: 0;
1553
1565
  height: 1lh;
@@ -1649,35 +1661,28 @@ $arrow-tip-radius: 0.1rem;
1649
1661
  --q-overlay-border-color: var(--q-theme-neutral-dark);
1650
1662
  }
1651
1663
  }
1652
- $popover-header-bg: rgb(var(--q-theme-neutral-light-rgb) / 25%);
1653
1664
  .q-popover {
1654
1665
  .q-overlay__content {
1655
- z-index: 1070;
1656
1666
  position: relative;
1667
+ z-index: 1070;
1668
+ display: flex;
1669
+ flex-direction: column;
1670
+ gap: $space-base * 2;
1657
1671
  max-width: 276px;
1672
+ padding: $space-base * 4;
1673
+ font-size: calc($font-size-base * 0.9);
1658
1674
  line-height: 1.5;
1659
1675
  word-break: normal;
1660
1676
  word-spacing: normal;
1661
1677
  word-wrap: break-word;
1662
1678
  white-space: normal;
1663
1679
  line-break: auto;
1664
- font-size: calc($font-size-base * 0.9);
1665
1680
  }
1666
1681
  &__header {
1667
- padding: 0.5rem 1rem;
1668
1682
  margin: 0;
1683
+ border-radius: 0.25rem;
1669
1684
  font-size: $font-size-base;
1670
- background-color: $popover-header-bg;
1671
- border-bottom: 1px solid var(--q-overlay-border-color);
1672
- border-top-left-radius: inherit;
1673
- border-top-right-radius: inherit;
1674
1685
  }
1675
- &__body {
1676
- padding: 1rem;
1677
- }
1678
- }
1679
- .q-popover.q-overlay--bottom .q-overlay__arrow::after {
1680
- border-bottom-color: $popover-header-bg;
1681
1686
  }
1682
1687
  $table-header-bg: rgb(var(--q-theme-neutral-light-rgb) / 25%);
1683
1688
  $row-hover-bg: rgb(var(--q-theme-primary-light-rgb) / 50%);
@@ -1901,6 +1906,62 @@ $spinner-color: var(--q-theme-primary);
1901
1906
  transform: rotate(1turn);
1902
1907
  }
1903
1908
  }
1909
+ .q-text-area {
1910
+
1911
+ display: flex;
1912
+ flex-direction: column;
1913
+ &__input {
1914
+ width: 100%;
1915
+ line-height: inherit;
1916
+ outline: none;
1917
+ color: inherit;
1918
+ background-color: transparent;
1919
+ padding: 0;
1920
+ min-height: 2.5rem;
1921
+ resize: vertical;
1922
+ font-family: inherit;
1923
+ font-size: inherit;
1924
+ border: 0;
1925
+ &::placeholder {
1926
+ font-style: italic;
1927
+ color: var(--q-theme-neutral);
1928
+ }
1929
+ &:disabled {
1930
+ user-select: none;
1931
+ }
1932
+ &:hover {
1933
+ cursor: inherit;
1934
+ }
1935
+
1936
+ @mixin resize-attr($direction) {
1937
+ &[resize='#{$direction}'] {
1938
+ resize: $direction;
1939
+ }
1940
+ }
1941
+ @include resize-attr(none);
1942
+ @include resize-attr(horizontal);
1943
+ @include resize-attr(vertical);
1944
+ @include resize-attr(both);
1945
+ }
1946
+ .q-text-area__input {
1947
+ flex: 1;
1948
+ min-width: 0;
1949
+ }
1950
+ }
1951
+ .q-field--mini,
1952
+ .q-field--small,
1953
+ .q-field--medium,
1954
+ .q-field--large,
1955
+ .q-field--xlarge,
1956
+ .q-field--xxlarge,
1957
+ .q-field--block {
1958
+ > .q-field__control:has(
1959
+ .q-text-area__input[resize='both'],
1960
+ .q-text-area__input[resize='horizontal']
1961
+ ) {
1962
+ width: unset;
1963
+ }
1964
+ }
1904
1965
  .q-text-field__input {
1905
1966
  width: 100%;
1906
1967
  line-height: inherit;
@@ -1,4 +1,5 @@
1
- import { QCheckboxProps, DEFAULT_ICONS } from './types';
1
+ import { DEFAULT_ICONS } from './constants';
2
+ import { QCheckboxProps } from './types';
2
3
  type __VLS_Props = QCheckboxProps;
3
4
  type __VLS_PublicProps = {
4
5
  modelValue?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"QCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/QCheckbox.vue"],"names":[],"mappings":"AAiDA;AA0GC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAI7C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,WAAW,GAAG,cAAc,CAAC;AA+CnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkGT,OAAO,IAA6B;;wBAZtB,GAAG;wBACF,GAAG;;;;EAgB/B;AAeD,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;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":"QCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/QCheckbox.vue"],"names":[],"mappings":"AAiDA;AAwGC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAO3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,KAAK,WAAW,GAAG,cAAc,CAAC;AA+CnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkGT,OAAO,IAA6B;;wBAZtB,GAAG;wBACF,GAAG;;;;EAgB/B;AAeD,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;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as y, mergeModels as x, useModel as v, computed as _, createElementBlock as q, openBlock as a, Fragment as g, createElementVNode as o, normalizeClass as $, createBlock as n, createCommentVNode as i, createSlots as u, withCtx as m, renderSlot as b, mergeProps as h, withKeys as k, withModifiers as d, unref as B } from "vue";
2
- import { QIcon as C } from "../QIcon/index.js";
2
+ import { DEFAULT_ICONS as C } from "./constants.js";
3
+ import { QIcon as w } from "../QIcon/index.js";
3
4
  import p from "./QCheckboxLabel.vue.js";
4
- import { DEFAULT_ICONS as w } from "./types.js";
5
5
  const V = ["id"], M = ["aria-checked", "disabled", "onKeydown"], P = ["checked", "disabled"], S = /* @__PURE__ */ y({
6
6
  inheritAttrs: !1,
7
7
  __name: "QCheckbox",
@@ -15,7 +15,7 @@ const V = ["id"], M = ["aria-checked", "disabled", "onKeydown"], P = ["checked",
15
15
  indeterminate: { type: Boolean },
16
16
  color: { default: "primary" },
17
17
  size: { default: "regular" },
18
- icons: { default: () => w }
18
+ icons: { default: () => C }
19
19
  }, {
20
20
  modelValue: { type: Boolean },
21
21
  modelModifiers: {}
@@ -75,7 +75,7 @@ const V = ["id"], M = ["aria-checked", "disabled", "onKeydown"], P = ["checked",
75
75
  ]
76
76
  }), [
77
77
  l.value || t.indeterminate ? (a(), n(
78
- B(C),
78
+ B(w),
79
79
  h({ key: 0 }, l.value ? e.icons.checked : e.icons.indeterminate, { class: "q-checkbox__input-icon" }),
80
80
  null,
81
81
  16
@@ -0,0 +1,9 @@
1
+ export declare const DEFAULT_ICONS: {
2
+ checked: {
3
+ icon: string;
4
+ };
5
+ indeterminate: {
6
+ icon: string;
7
+ };
8
+ };
9
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA"}
@@ -10,7 +10,7 @@ declare const QCheckbox: {
10
10
  indeterminate?: boolean;
11
11
  color?: string;
12
12
  size?: import('./types').QCheckboxLabelSize;
13
- icons?: typeof import('./types').DEFAULT_ICONS;
13
+ icons?: typeof import('./constants').DEFAULT_ICONS;
14
14
  }> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
16
16
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -18,7 +18,7 @@ declare const QCheckbox: {
18
18
  }, import('vue').PublicProps, {
19
19
  size: import('./types').QCheckboxLabelSize;
20
20
  color: string;
21
- icons: typeof import('./types').DEFAULT_ICONS;
21
+ icons: typeof import('./constants').DEFAULT_ICONS;
22
22
  labelPlacement: import('./types').QCheckboxLabelPlacement;
23
23
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
24
24
  P: {};
@@ -38,13 +38,13 @@ declare const QCheckbox: {
38
38
  indeterminate?: boolean;
39
39
  color?: string;
40
40
  size?: import('./types').QCheckboxLabelSize;
41
- icons?: typeof import('./types').DEFAULT_ICONS;
41
+ icons?: typeof import('./constants').DEFAULT_ICONS;
42
42
  }> & Readonly<{
43
43
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
44
44
  }>, {}, {}, {}, {}, {
45
45
  size: import('./types').QCheckboxLabelSize;
46
46
  color: string;
47
- icons: typeof import('./types').DEFAULT_ICONS;
47
+ icons: typeof import('./constants').DEFAULT_ICONS;
48
48
  labelPlacement: import('./types').QCheckboxLabelPlacement;
49
49
  }>;
50
50
  __isFragment?: never;
@@ -61,7 +61,7 @@ declare const QCheckbox: {
61
61
  indeterminate?: boolean;
62
62
  color?: string;
63
63
  size?: import('./types').QCheckboxLabelSize;
64
- icons?: typeof import('./types').DEFAULT_ICONS;
64
+ icons?: typeof import('./constants').DEFAULT_ICONS;
65
65
  }> & Readonly<{
66
66
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
67
67
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -69,7 +69,7 @@ declare const QCheckbox: {
69
69
  }, string, {
70
70
  size: import('./types').QCheckboxLabelSize;
71
71
  color: string;
72
- icons: typeof import('./types').DEFAULT_ICONS;
72
+ icons: typeof import('./constants').DEFAULT_ICONS;
73
73
  labelPlacement: import('./types').QCheckboxLabelPlacement;
74
74
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
75
75
  $slots: {
@@ -1,3 +1,4 @@
1
+ import { DEFAULT_ICONS } from './constants';
1
2
  import { QBaseComponentProps } from '../../types/component';
2
3
  export type QCheckboxLabelProps = QBaseComponentProps & {
3
4
  /**
@@ -37,12 +38,4 @@ export type QCheckboxProps = QCheckboxLabelProps & {
37
38
  */
38
39
  icons?: typeof DEFAULT_ICONS;
39
40
  };
40
- export declare const DEFAULT_ICONS: {
41
- checked: {
42
- icon: string;
43
- };
44
- indeterminate: {
45
- icon: string;
46
- };
47
- };
48
41
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG;IACvD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE9D,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG;IAClD;;OAEG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAA;IAExC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCheckbox/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG;IACvD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE9D,MAAM,MAAM,cAAc,GAAG,mBAAmB,GAAG;IAClD;;OAEG;IACH,cAAc,CAAC,EAAE,uBAAuB,CAAA;IAExC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAA;IAEzB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"QCollapsible.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCollapsible/QCollapsible.vue"],"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c,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 y, mergeModels as T, useModel as w, computed as r, watch as N, createBlock as $, openBlock as c, unref as a, normalizeClass as _, withCtx as d, createElementVNode as n, renderSlot as i, createElementBlock as u, createCommentVNode as o, createVNode as p, toDisplayString as b, createTextVNode as B } from "vue";
1
+ import { defineComponent as y, mergeModels as T, useModel as w, computed as r, watch as N, createBlock as $, openBlock as c, unref as a, normalizeClass as b, withCtx as d, createElementVNode as n, renderSlot as i, createElementBlock as u, createCommentVNode as o, createVNode as p, toDisplayString as _, createTextVNode as B } from "vue";
2
2
  import { DEFAULT_ICONS as E } from "./types.js";
3
3
  import { QButton as I } from "../QButton/index.js";
4
4
  import { QCard as V } from "../QCard/index.js";
@@ -44,13 +44,13 @@ const L = {
44
44
  },
45
45
  l.class
46
46
  ];
47
- }), C = r(() => [
47
+ }), k = r(() => [
48
48
  "q-collapsible__content-wrapper",
49
49
  {
50
50
  "q-collapsible__content-show": s.value
51
51
  }
52
52
  ]);
53
- function k() {
53
+ function C() {
54
54
  s.value = !s.value, t == null || t.toggle();
55
55
  }
56
56
  return N(
@@ -58,15 +58,16 @@ const L = {
58
58
  () => s.value = t == null ? void 0 : t.isActive.value
59
59
  ), (e, f) => (c(), $(a(V), {
60
60
  id: a(m),
61
- class: _(g.value),
61
+ class: b(g.value),
62
62
  width: q.value
63
63
  }, {
64
64
  header: d(() => [
65
65
  e.title ? (c(), u("div", L, [
66
66
  p(a(I), {
67
67
  "b-style": "tertiary",
68
+ block: "",
68
69
  class: "q-collapsible__btn",
69
- onClick: k
70
+ onClick: C
70
71
  }, {
71
72
  default: d(() => [
72
73
  o(" TITLE "),
@@ -82,7 +83,7 @@ const L = {
82
83
  n(
83
84
  "h4",
84
85
  S,
85
- b(e.title),
86
+ _(e.title),
86
87
  1
87
88
  /* TEXT */
88
89
  ),
@@ -101,7 +102,7 @@ const L = {
101
102
  e.$slots.subtitle || e.subtitle ? (c(), u("div", H, [
102
103
  i(e.$slots, "subtitle", {}, () => [
103
104
  B(
104
- b(e.subtitle),
105
+ _(e.subtitle),
105
106
  1
106
107
  /* TEXT */
107
108
  )
@@ -117,7 +118,7 @@ const L = {
117
118
  n(
118
119
  "div",
119
120
  {
120
- class: _(C.value)
121
+ class: b(k.value)
121
122
  },
122
123
  [
123
124
  n("div", M, [
@@ -1 +1 @@
1
- {"version":3,"file":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue"],"names":[],"mappings":"AA6CA;AA4ZC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAM5C,KAAK,WAAW,GAAG,aAAa,CAAC;AAmWlC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAiHT,OAAO,IAA6B;;yBAbpB,GAAG;;;;;;;EAkBhC;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;OASnB,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":"QOverlay.vue.d.ts","sourceRoot":"","sources":["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