@quidgest/ui 0.22.0 → 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 (156) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/json/api.json +197 -85
  3. package/dist/ui.css +2054 -1250
  4. package/dist/ui.esm.js +770 -751
  5. package/dist/ui.js +701 -682
  6. package/dist/ui.min.css +1 -1
  7. package/dist/ui.min.js +701 -682
  8. package/dist/ui.scss +1048 -880
  9. package/esm/components/QBadge/QBadge.d.ts +1 -1
  10. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  11. package/esm/components/QBadge/QBadge.vue.js +14 -7
  12. package/esm/components/QBadge/index.d.ts +3 -3
  13. package/esm/components/QBadge/types.d.ts +11 -4
  14. package/esm/components/QBadge/types.d.ts.map +1 -1
  15. package/esm/components/QButton/QButton.d.ts +0 -1
  16. package/esm/components/QButton/QButton.d.ts.map +1 -1
  17. package/esm/components/QButton/QButton.vue.js +10 -4
  18. package/esm/components/QButton/index.d.ts +0 -3
  19. package/esm/components/QButton/index.d.ts.map +1 -1
  20. package/esm/components/QButton/types.d.ts +11 -4
  21. package/esm/components/QButton/types.d.ts.map +1 -1
  22. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  23. package/esm/components/QButtonGroup/QButtonGroup.vue.js +2 -0
  24. package/esm/components/QButtonGroup/types.d.ts +9 -1
  25. package/esm/components/QButtonGroup/types.d.ts.map +1 -1
  26. package/esm/components/QCheckbox/QCheckbox.d.ts +0 -1
  27. package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
  28. package/esm/components/QCheckbox/QCheckbox.vue.js +2 -2
  29. package/esm/components/QCheckbox/index.d.ts +3 -6
  30. package/esm/components/QCheckbox/index.d.ts.map +1 -1
  31. package/esm/components/QCheckbox/types.d.ts +4 -3
  32. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  33. package/esm/components/QCollapsible/types.d.ts +1 -1
  34. package/esm/components/QCollapsible/types.d.ts.map +1 -1
  35. package/esm/components/QCombobox/QCombobox.d.ts +6 -8
  36. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  37. package/esm/components/QCombobox/QCombobox.vue.js +1 -1
  38. package/esm/components/QCombobox/index.d.ts +3 -4
  39. package/esm/components/QCombobox/index.d.ts.map +1 -1
  40. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +18 -24
  41. package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
  42. package/esm/components/QDateTimePicker/index.d.ts +9 -12
  43. package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
  44. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  45. package/esm/components/QDialog/QDialog.vue.js +6 -1
  46. package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
  47. package/esm/components/QDialog/QDialogProvider.vue.js +1 -0
  48. package/esm/components/QDialog/index.d.ts +3 -0
  49. package/esm/components/QDialog/index.d.ts.map +1 -1
  50. package/esm/components/QDialog/types.d.ts +14 -0
  51. package/esm/components/QDialog/types.d.ts.map +1 -1
  52. package/esm/components/QDropdownMenu/types.d.ts +1 -1
  53. package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
  54. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  55. package/esm/components/QIcon/QIcon.vue.js +9 -4
  56. package/esm/components/QList/QListItem.d.ts.map +1 -1
  57. package/esm/components/QList/QListItem.vue.js +1 -0
  58. package/esm/components/QObfuscation/QObfuscation.d.ts.map +1 -1
  59. package/esm/components/QObfuscation/QObfuscation.vue.js +0 -1
  60. package/esm/components/QOverflow/QOverflow.d.ts +21 -1
  61. package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
  62. package/esm/components/QOverflow/QOverflow.vue.js +109 -96
  63. package/esm/components/QOverflow/index.d.ts +12 -3
  64. package/esm/components/QOverflow/index.d.ts.map +1 -1
  65. package/esm/components/QOverflow/types.d.ts +11 -2
  66. package/esm/components/QOverflow/types.d.ts.map +1 -1
  67. package/esm/components/QOverlay/QOverlay.d.ts +0 -1
  68. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  69. package/esm/components/QOverlay/QOverlay.vue.js +90 -90
  70. package/esm/components/QOverlay/index.d.ts +0 -3
  71. package/esm/components/QOverlay/index.d.ts.map +1 -1
  72. package/esm/components/QOverlay/types.d.ts +5 -3
  73. package/esm/components/QOverlay/types.d.ts.map +1 -1
  74. package/esm/components/QPhoneField/QPhoneField.d.ts +20 -16
  75. package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
  76. package/esm/components/QPhoneField/index.d.ts +10 -8
  77. package/esm/components/QPhoneField/index.d.ts.map +1 -1
  78. package/esm/components/QPopover/types.d.ts +1 -1
  79. package/esm/components/QPopover/types.d.ts.map +1 -1
  80. package/esm/components/QProgress/QProgress.vue.js +29 -33
  81. package/esm/components/QRadioGroup/QRadioButton.d.ts +0 -1
  82. package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
  83. package/esm/components/QRadioGroup/QRadioButton.vue.js +2 -2
  84. package/esm/components/QRadioGroup/QRadioGroup.d.ts +1 -1
  85. package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
  86. package/esm/components/QRadioGroup/QRadioGroup.vue.js +55 -46
  87. package/esm/components/QRadioGroup/index.d.ts +9 -36
  88. package/esm/components/QRadioGroup/index.d.ts.map +1 -1
  89. package/esm/components/QRadioGroup/types.d.ts +15 -24
  90. package/esm/components/QRadioGroup/types.d.ts.map +1 -1
  91. package/esm/components/QRemoveScrollBar/constants.d.ts +1 -1
  92. package/esm/components/QRemoveScrollBar/constants.d.ts.map +1 -1
  93. package/esm/components/QRemoveScrollBar/constants.js +1 -1
  94. package/esm/components/QSelect/QSelect.d.ts +20 -16
  95. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  96. package/esm/components/QSelect/QSelect.vue.js +9 -1
  97. package/esm/components/QSelect/index.d.ts +10 -8
  98. package/esm/components/QSelect/index.d.ts.map +1 -1
  99. package/esm/components/QSidebar/QSidebar.d.ts +0 -1
  100. package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
  101. package/esm/components/QSidebar/QSidebar.vue.js +2 -2
  102. package/esm/components/QSidebar/QSidebarAnchor.d.ts +2 -1
  103. package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
  104. package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
  105. package/esm/components/QSidebar/QSidebarItem.d.ts +12 -6
  106. package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
  107. package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
  108. package/esm/components/QSidebar/index.d.ts +6 -6
  109. package/esm/components/QSidebar/index.d.ts.map +1 -1
  110. package/esm/components/QSidebar/types.d.ts +3 -1
  111. package/esm/components/QSidebar/types.d.ts.map +1 -1
  112. package/esm/components/QSwitch/QSwitch.d.ts +3 -2
  113. package/esm/components/QSwitch/QSwitch.d.ts.map +1 -1
  114. package/esm/components/QSwitch/QSwitch.vue.js +34 -26
  115. package/esm/components/QSwitch/index.d.ts +5 -4
  116. package/esm/components/QSwitch/index.d.ts.map +1 -1
  117. package/esm/components/QSwitch/types.d.ts +4 -2
  118. package/esm/components/QSwitch/types.d.ts.map +1 -1
  119. package/esm/components/QTabs/QTab.d.ts +6 -8
  120. package/esm/components/QTabs/QTab.d.ts.map +1 -1
  121. package/esm/components/QTabs/QTabs.d.ts +177 -2
  122. package/esm/components/QTabs/QTabs.d.ts.map +1 -1
  123. package/esm/components/QTabs/QTabs.vue.js +127 -106
  124. package/esm/components/QTabs/context.d.ts +2 -1
  125. package/esm/components/QTabs/context.d.ts.map +1 -1
  126. package/esm/components/QTabs/index.d.ts +91 -5
  127. package/esm/components/QTabs/index.d.ts.map +1 -1
  128. package/esm/components/QToggle/QToggle.vue.js +2 -1
  129. package/esm/components/QToggle/index.d.ts +6 -3
  130. package/esm/components/QToggle/index.d.ts.map +1 -1
  131. package/esm/components/QToggleGroup/QToggleGroup.vue.js +1 -0
  132. package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +1 -0
  133. package/esm/components/QToggleGroup/index.d.ts +3 -0
  134. package/esm/components/QToggleGroup/index.d.ts.map +1 -1
  135. package/esm/components/QTooltip/types.d.ts +1 -1
  136. package/esm/components/QTooltip/types.d.ts.map +1 -1
  137. package/esm/components/__internal__/QClearButton/QClearButton.vue.js +1 -1
  138. package/esm/composables/useSafeTriangle/index.d.ts +1 -1
  139. package/esm/composables/useSafeTriangle/index.d.ts.map +1 -1
  140. package/esm/templates/theme.js +11 -11
  141. package/esm/types/component.d.ts +7 -0
  142. package/esm/types/component.d.ts.map +1 -1
  143. package/esm/utils/color/theme-colors.d.ts +5 -5
  144. package/esm/utils/density.d.ts +12 -0
  145. package/esm/utils/density.d.ts.map +1 -0
  146. package/esm/utils/density.js +23 -0
  147. package/esm/utils/index.d.ts +1 -0
  148. package/esm/utils/index.d.ts.map +1 -1
  149. package/esm/utils/index.js +6 -2
  150. package/esm/{composables → utils}/overlay.d.ts +12 -0
  151. package/esm/utils/overlay.d.ts.map +1 -0
  152. package/esm/{composables → utils}/overlay.js +10 -2
  153. package/esm/utils/safeTriangle.d.ts +1 -1
  154. package/esm/utils/safeTriangle.d.ts.map +1 -1
  155. package/package.json +1 -1
  156. package/esm/composables/overlay.d.ts.map +0 -1
@@ -303,9 +303,10 @@ declare const QPhoneField: {
303
303
  readonly variant?: import('..').QBadgeVariant | undefined;
304
304
  readonly color?: string | undefined;
305
305
  readonly pill?: boolean | undefined;
306
- readonly size?: import('..').QBadgeSize | undefined;
306
+ readonly size?: import('../../types/component').QComponentSize | undefined;
307
307
  readonly disabled?: boolean | undefined;
308
308
  readonly removable?: boolean | undefined;
309
+ readonly focusable?: boolean | undefined;
309
310
  readonly icons?: typeof import('../QBadge/constants').DEFAULT_ICONS | undefined;
310
311
  readonly texts?: typeof import('../QBadge/constants').DEFAULT_TEXTS | undefined;
311
312
  readonly "onClick:remove"?: (() => any) | undefined;
@@ -327,11 +328,11 @@ declare const QPhoneField: {
327
328
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
328
329
  "click:remove": () => any;
329
330
  }, string, {
330
- size: import('..').QBadgeSize;
331
331
  variant: import('..').QBadgeVariant;
332
332
  color: string;
333
333
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
334
334
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
335
+ focusable: boolean;
335
336
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
336
337
  beforeCreate?: (() => void) | (() => void)[];
337
338
  created?: (() => void) | (() => void)[];
@@ -353,14 +354,14 @@ declare const QPhoneField: {
353
354
  $nextTick: typeof import('vue').nextTick;
354
355
  $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;
355
356
  } & Readonly<{
356
- size: import('..').QBadgeSize;
357
357
  variant: import('..').QBadgeVariant;
358
358
  color: string;
359
359
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
360
360
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
361
+ focusable: boolean;
361
362
  }> & Omit<Readonly<import('..').QBadgeProps> & Readonly<{
362
363
  "onClick:remove"?: (() => any) | undefined;
363
- }>, "size" | "variant" | "color" | "icons" | "texts"> & {} & import('vue').ComponentCustomProperties & {} & {
364
+ }>, "variant" | "color" | "icons" | "texts" | "focusable"> & {} & import('vue').ComponentCustomProperties & {} & {
364
365
  $slots: {
365
366
  default?(_: {}): any;
366
367
  default?(_: {}): any;
@@ -375,9 +376,10 @@ declare const QPhoneField: {
375
376
  readonly variant?: import('..').QBadgeVariant | undefined;
376
377
  readonly color?: string | undefined;
377
378
  readonly pill?: boolean | undefined;
378
- readonly size?: import('..').QBadgeSize | undefined;
379
+ readonly size?: import('../../types/component').QComponentSize | undefined;
379
380
  readonly disabled?: boolean | undefined;
380
381
  readonly removable?: boolean | undefined;
382
+ readonly focusable?: boolean | undefined;
381
383
  readonly icons?: typeof import('../QBadge/constants').DEFAULT_ICONS | undefined;
382
384
  readonly texts?: typeof import('../QBadge/constants').DEFAULT_TEXTS | undefined;
383
385
  readonly "onClick:remove"?: (() => any) | undefined;
@@ -399,11 +401,11 @@ declare const QPhoneField: {
399
401
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
400
402
  "click:remove": () => any;
401
403
  }, string, {
402
- size: import('..').QBadgeSize;
403
404
  variant: import('..').QBadgeVariant;
404
405
  color: string;
405
406
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
406
407
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
408
+ focusable: boolean;
407
409
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
408
410
  beforeCreate?: (() => void) | (() => void)[];
409
411
  created?: (() => void) | (() => void)[];
@@ -425,14 +427,14 @@ declare const QPhoneField: {
425
427
  $nextTick: typeof import('vue').nextTick;
426
428
  $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;
427
429
  } & Readonly<{
428
- size: import('..').QBadgeSize;
429
430
  variant: import('..').QBadgeVariant;
430
431
  color: string;
431
432
  icons: typeof import('../QBadge/constants').DEFAULT_ICONS;
432
433
  texts: typeof import('../QBadge/constants').DEFAULT_TEXTS;
434
+ focusable: boolean;
433
435
  }> & Omit<Readonly<import('..').QBadgeProps> & Readonly<{
434
436
  "onClick:remove"?: (() => any) | undefined;
435
- }>, "size" | "variant" | "color" | "icons" | "texts"> & {} & import('vue').ComponentCustomProperties & {} & {
437
+ }>, "variant" | "color" | "icons" | "texts" | "focusable"> & {} & import('vue').ComponentCustomProperties & {} & {
436
438
  $slots: {
437
439
  default?(_: {}): any;
438
440
  default?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPhoneField/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAO650B,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wDAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;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+ import { Placement } from '../../utils/overlay';
2
2
  import { Selector } from '../../utils/getElement';
3
3
  import { QBaseComponentProps } from '../../types/component';
4
4
  export type QPopoverProps = QBaseComponentProps & {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;;;OAIG;IACH,MAAM,EAAE,QAAQ,CAAA;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;;;OAIG;IACH,MAAM,EAAE,QAAQ,CAAA;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
@@ -58,53 +58,49 @@ var y = ["id"], b = [
58
58
  }),
59
59
  emits: ["update:modelValue"],
60
60
  setup(o) {
61
- let s = o, E = _(o, "modelValue"), { isUtilityColor: D, style: O } = e(h(s, "color")), k = t(h(s, "id")), A = n(() => Number.isFinite(s.min) ? s.min < s.max ? s.min : s.max : 0), j = n(() => Number.isFinite(s.max) ? s.max > s.min ? s.max : s.min === s.max ? s.max + 1 : s.min : A.value + 1), M = n(() => Number.isNaN(E.value) ? 0 : E.value < A.value ? A.value : E.value > j.value ? j.value : E.value), N = n(() => Number(((M.value - A.value) / (j.value - A.value) * 100).toFixed(2))), P = n(() => ["q-progress", s.class]), F = n(() => [
62
- "q-progress__bar",
63
- { "q-progress__bar--mini": s.mini },
64
- D.value ? `q-progress--${s.color}` : void 0
65
- ]), I = n(() => ["q-progress__fill", {
61
+ let s = o, E = _(o, "modelValue"), { style: D } = e(h(s, "color")), O = t(h(s, "id")), k = n(() => Number.isFinite(s.min) ? s.min < s.max ? s.min : s.max : 0), A = n(() => Number.isFinite(s.max) ? s.max > s.min ? s.max : s.min === s.max ? s.max + 1 : s.min : k.value + 1), j = n(() => Number.isNaN(E.value) ? 0 : E.value < k.value ? k.value : E.value > A.value ? A.value : E.value), M = n(() => Number(((j.value - k.value) / (A.value - k.value) * 100).toFixed(2))), N = n(() => ["q-progress", s.class]), P = n(() => ["q-progress__bar", { "q-progress__bar--mini": s.mini }]), F = n(() => ["q-progress__fill", {
66
62
  "q-progress__fill--striped": s.striped,
67
- "q-progress__fill--animated": s.animated && N.value < 100
68
- }]), L = n(() => ({ width: `${N.value}%` })), R = n(() => {
69
- if (!D.value) return {
70
- "--q-progress-main-color": O.value?.mainColor,
71
- "--q-progress-main-color-rgb": O.value?.mainColorRgb,
72
- "--q-progress-on-main-color": O.value?.onMainColor
63
+ "q-progress__fill--animated": s.animated && M.value < 100
64
+ }]), I = n(() => ({ width: `${M.value}%` })), L = n(() => {
65
+ if (D.value) return {
66
+ "--q-progress-main-color": D.value.mainColor,
67
+ "--q-progress-main-color-rgb": D.value.mainColorRgb,
68
+ "--q-progress-on-main-color": D.value.onMainColor
73
69
  };
74
- }), z = n(() => `${s.text ? `${s.text} ` : ""}${M.value} (${N.value}%)`), B = n(() => {
70
+ }), R = n(() => `${s.text ? `${s.text} ` : ""}${j.value} (${M.value}%)`), z = n(() => {
75
71
  if (s.mini) return "";
76
72
  let e = s.text ?? "";
77
- return e += s.text && s.showValue ? " " : "", e += s.showValue ? M.value.toString() : "", e += (s.text || s.showValue) && s.showPercent ? " " : "", e += s.showPercent ? N.value.toString() + "%" : "", e;
78
- }), V = n(() => s.label ? k.value + "_label" : void 0), H = p(""), U = p(0);
73
+ return e += s.text && s.showValue ? " " : "", e += s.showValue ? j.value.toString() : "", e += (s.text || s.showValue) && s.showPercent ? " " : "", e += s.showPercent ? M.value.toString() + "%" : "", e;
74
+ }), B = n(() => s.label ? O.value + "_label" : void 0), V = p(""), H = p(0);
79
75
  return v(E, async () => {
80
- let e = N.value;
81
- e - U.value < 25 && e < 100 || (U.value = e, await l(), H.value = `${s.label ? `${s.label} ` : ""}${N.value}%`);
82
- }), (e, t) => (f(), i("div", { class: u(P.value) }, [
76
+ let e = M.value;
77
+ e - H.value < 25 && e < 100 || (H.value = e, await l(), V.value = `${s.label ? `${s.label} ` : ""}${M.value}%`);
78
+ }), (e, t) => (f(), i("div", { class: u(N.value) }, [
83
79
  s.label ? (f(), i("span", {
84
80
  key: 0,
85
- id: V.value,
81
+ id: B.value,
86
82
  class: u(["q-progress__label", "q-label"])
87
83
  }, m(s.label), 9, y)) : r("v-if", !0),
88
84
  a("div", c({
89
- id: g(k),
90
- class: F.value,
91
- style: R.value,
85
+ id: g(O),
86
+ class: P.value,
87
+ style: L.value,
92
88
  role: "progressbar",
93
- "aria-valuenow": M.value,
94
- "aria-valuemin": A.value,
95
- "aria-valuemax": j.value,
96
- "aria-valuetext": z.value || void 0,
97
- "aria-labelledby": V.value
89
+ "aria-valuenow": j.value,
90
+ "aria-valuemin": k.value,
91
+ "aria-valuemax": A.value,
92
+ "aria-valuetext": R.value || void 0,
93
+ "aria-labelledby": B.value
98
94
  }, e.$attrs), [a("div", {
99
- class: u(I.value),
100
- style: d(L.value)
101
- }, [B.value ? (f(), i("span", {
95
+ class: u(F.value),
96
+ style: d(I.value)
97
+ }, [z.value ? (f(), i("span", {
102
98
  key: 0,
103
99
  class: "q-progress__fill-text",
104
- title: B.value
105
- }, m(B.value), 9, x)) : r("v-if", !0)], 6)], 16, b),
106
- a("div", S, m(H.value), 1),
107
- o.showLimits ? (f(), i("div", C, [a("span", w, m(A.value), 1), a("span", T, m(j.value), 1)])) : r("v-if", !0)
100
+ title: z.value
101
+ }, m(z.value), 9, x)) : r("v-if", !0)], 6)], 16, b),
102
+ a("div", S, m(V.value), 1),
103
+ o.showLimits ? (f(), i("div", C, [a("span", w, m(k.value), 1), a("span", T, m(A.value), 1)])) : r("v-if", !0)
108
104
  ], 2));
109
105
  }
110
106
  });
@@ -12,7 +12,6 @@ declare function __VLS_template(): {
12
12
  };
13
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
14
  declare const __VLS_component: import('vue').DefineComponent<QRadioButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QRadioButtonProps> & Readonly<{}>, {
15
- size: import('./types').QRadioButtonSize;
16
15
  color: string;
17
16
  labelPlacement: import('./types').QRadioButtonLabelPlacement;
18
17
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -1 +1 @@
1
- {"version":3,"file":"QRadioButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/QRadioButton.vue"],"names":[],"mappings":"AAiCA;AA4IC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAA;AA+F3C,iBAAS,cAAc;WAmFT,OAAO,IAA6B;;yBAbrB,GAAG;yBACF,GAAG;;;;;;EAiBhC;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;OAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"QRadioButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/QRadioButton.vue"],"names":[],"mappings":"AAiCA;AA8IC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAA;AAgG3C,iBAAS,cAAc;WAmFT,OAAO,IAA6B;;yBAbrB,GAAG;yBACF,GAAG;;;;;;EAiBhC;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;OAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -24,7 +24,7 @@ var v = [
24
24
  name: {},
25
25
  labelPlacement: { default: "end" },
26
26
  color: { default: "primary" },
27
- size: { default: "regular" },
27
+ size: {},
28
28
  disabled: { type: Boolean },
29
29
  readonly: { type: Boolean },
30
30
  invalid: { type: Boolean }
@@ -34,7 +34,7 @@ var v = [
34
34
  if (!S) throw Error("QRadioButton must be used inside a QRadioGroup");
35
35
  let C = r(() => y.labelPlacement === "start" ? "append" : "prepend"), w = r(() => [
36
36
  "q-radio-button",
37
- y.size === "regular" ? void 0 : `q-radio-button--${y.size}`,
37
+ y.size === "small" || y.size === "large" ? `q-radio-button--${y.size}` : void 0,
38
38
  y.color === "primary" ? void 0 : `q-radio-button--${y.color}`,
39
39
  {
40
40
  "q-radio-button--readonly": y.readonly,
@@ -18,7 +18,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
18
18
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
19
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
20
20
  }>, {
21
- size: import('./types').QRadioButtonSize;
21
+ labelPosition: import('..').QLabelPosition;
22
22
  hasFocusOutline: boolean;
23
23
  orientation: import('./types').QRadioButtonOrientation;
24
24
  columns: number;
@@ -1 +1 @@
1
- {"version":3,"file":"QRadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/QRadioGroup.vue"],"names":[],"mappings":"AAsBA;AAwGC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAA;AAKzC,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAiErC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAsDT,OAAO,IAA6B;;yBAZrB,GAAG;wBACJ,GAAG;;;;EAgB9B;AAcD,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":"QRadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/QRadioGroup.vue"],"names":[],"mappings":"AA2BA;AA6GC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAA;AAKzC,KAAK,WAAW,GAAG,gBAAgB,CAAC;AAiErC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmET,OAAO,IAA6B;;yBAZrB,GAAG;wBACJ,GAAG;;;;EAgB9B;AAcD,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,29 +1,26 @@
1
1
  import { provideDefaults as e } from "../../composables/defaults.js";
2
2
  import { useGroup as t } from "../../composables/useGroup/index.js";
3
3
  import { useId as n } from "../../composables/useId/index.js";
4
- import { QLabel as r } from "../QLabel/index.js";
5
- import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, mergeModels as u, mergeProps as d, normalizeClass as f, openBlock as p, renderSlot as m, toRef as h, unref as g, useModel as _, watch as v } from "vue";
4
+ import { QField as r } from "../QField/index.js";
5
+ import { computed as i, createBlock as a, createElementVNode as o, createSlots as s, defineComponent as c, mergeModels as l, mergeProps as u, normalizeClass as d, openBlock as f, renderSlot as p, toRef as m, unref as h, useModel as g, watch as _, withCtx as v } from "vue";
6
6
  //#region src/components/QRadioGroup/QRadioGroup.vue?vue&type=script&setup=true&lang.ts
7
- var y = ["id"], b = {
8
- key: 1,
9
- class: "q-field__extras"
10
- }, x = /*@__PURE__*/ l({
7
+ var y = ["id"], b = /*@__PURE__*/ c({
11
8
  inheritAttrs: !1,
12
9
  __name: "QRadioGroup",
13
- props: /*@__PURE__*/ u({
10
+ props: /*@__PURE__*/ l({
14
11
  id: {},
15
12
  class: {},
16
13
  label: {},
17
14
  required: { type: Boolean },
18
15
  for: {},
19
- labelPosition: {},
16
+ labelPosition: { default: "topleft" },
17
+ readonly: { type: Boolean },
18
+ disabled: { type: Boolean },
19
+ invalid: { type: Boolean },
20
20
  name: {},
21
21
  orientation: { default: "vertical" },
22
- size: { default: "regular" },
22
+ size: {},
23
23
  columns: { default: 1 },
24
- disabled: { type: Boolean },
25
- readonly: { type: Boolean },
26
- invalid: { type: Boolean },
27
24
  hasFocusOutline: {
28
25
  type: Boolean,
29
26
  default: !0
@@ -33,48 +30,60 @@ var y = ["id"], b = {
33
30
  modelModifiers: {}
34
31
  }),
35
32
  emits: ["update:modelValue"],
36
- setup(l) {
37
- let u = l, x = _(l, "modelValue"), { active: S } = t({
38
- active: x,
33
+ setup(c) {
34
+ let l = c, b = g(c, "modelValue"), { active: x } = t({
35
+ active: b,
39
36
  required: !0
40
37
  });
41
- v(S, (e) => {
42
- x.value = e;
38
+ _(x, (e) => {
39
+ b.value = e;
43
40
  });
44
- let C = n(h(u, "id")), w = i(() => u.name ?? C.value), T = i(() => [
41
+ let S = n(m(l, "id")), C = i(() => l.name ?? S.value), w = i(() => [
45
42
  "q-radio-group",
46
43
  {
47
- "q-radio-group--horizontal": u.orientation === "horizontal",
48
- "q-radio-group--focus-style": u.hasFocusOutline
44
+ "q-radio-group--horizontal": l.orientation === "horizontal",
45
+ "q-radio-group--focus-style": l.hasFocusOutline
49
46
  },
50
- u.class
51
- ]), E = i(() => u.columns > 1 ? { "--q-radio-group-columns": u.columns } : {});
47
+ l.class
48
+ ]), T = i(() => l.columns > 1 ? { "--q-radio-group-columns": l.columns } : {});
52
49
  return e({ QRadioButton: {
53
- size: h(u, "size"),
54
- disabled: h(u, "disabled"),
55
- readonly: h(u, "readonly"),
56
- invalid: h(u, "invalid"),
57
- name: w
58
- } }), (e, t) => (p(), s("div", { class: f(T.value) }, [
59
- u.label ? (p(), a(g(r), {
60
- key: 0,
61
- for: g(C),
62
- label: u.label,
63
- required: u.required
64
- }, null, 8, [
65
- "for",
66
- "label",
67
- "required"
68
- ])) : o("v-if", !0),
69
- c("div", d({
70
- id: g(C),
71
- class: ["q-radio-group__group", { "q-radio-group--grid": u.columns > 1 }],
50
+ size: m(l, "size"),
51
+ disabled: m(l, "disabled"),
52
+ readonly: m(l, "readonly"),
53
+ invalid: m(l, "invalid"),
54
+ name: C
55
+ } }), (e, t) => (f(), a(h(r), {
56
+ for: h(S),
57
+ class: d(w.value),
58
+ label: l.label,
59
+ "label-position": l.labelPosition,
60
+ required: l.required,
61
+ readonly: l.readonly,
62
+ disabled: l.disabled,
63
+ invalid: l.invalid
64
+ }, s({
65
+ control: v(() => [o("div", u({
66
+ id: h(S),
67
+ class: ["q-radio-group__group", { "q-radio-group--grid": l.columns > 1 }],
72
68
  role: "radiogroup",
73
- style: E.value
74
- }, e.$attrs), [m(e.$slots, "default")], 16, y),
75
- e.$slots.extras ? (p(), s("div", b, [m(e.$slots, "extras")])) : o("v-if", !0)
76
- ], 2));
69
+ style: T.value
70
+ }, e.$attrs), [p(e.$slots, "default")], 16, y)]),
71
+ _: 2
72
+ }, [e.$slots.extras ? {
73
+ name: "extras",
74
+ fn: v(() => [p(e.$slots, "extras")]),
75
+ key: "0"
76
+ } : void 0]), 1032, [
77
+ "for",
78
+ "class",
79
+ "label",
80
+ "label-position",
81
+ "required",
82
+ "readonly",
83
+ "disabled",
84
+ "invalid"
85
+ ]));
77
86
  }
78
87
  });
79
88
  //#endregion
80
- export { x as default };
89
+ export { b as default };
@@ -1,6 +1,5 @@
1
1
  declare const QRadioButton: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QRadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
3
- size: import('./types').QRadioButtonSize;
4
3
  color: string;
5
4
  labelPlacement: import('./types').QRadioButtonLabelPlacement;
6
5
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -13,7 +12,6 @@ declare const QRadioButton: {
13
12
  M: {};
14
13
  Defaults: {};
15
14
  }, Readonly<import('./types').QRadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, {
16
- size: import('./types').QRadioButtonSize;
17
15
  color: string;
18
16
  labelPlacement: import('./types').QRadioButtonLabelPlacement;
19
17
  }>;
@@ -21,7 +19,6 @@ declare const QRadioButton: {
21
19
  __isTeleport?: never;
22
20
  __isSuspense?: never;
23
21
  } & import('vue').ComponentOptionsBase<Readonly<import('./types').QRadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
24
- size: import('./types').QRadioButtonSize;
25
22
  color: string;
26
23
  labelPlacement: import('./types').QRadioButtonLabelPlacement;
27
24
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -33,26 +30,18 @@ declare const QRadioButton: {
33
30
  declare const QRadioGroup: {
34
31
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
35
32
  modelValue?: any;
36
- } & import('../../types/component').QBaseComponentProps & {
37
- label?: string;
38
- required?: boolean;
39
- for?: string;
40
- labelPosition?: import('..').QLabelPosition;
41
- } & {
33
+ } & Omit<import('..').QFieldProps, "size"> & {
42
34
  name?: string;
43
35
  orientation?: import('./types').QRadioButtonOrientation;
44
- size?: import('./types').QRadioButtonSize;
36
+ size?: import('../../types/component').QComponentSize;
45
37
  columns?: number;
46
- disabled?: boolean;
47
- readonly?: boolean;
48
- invalid?: boolean;
49
38
  hasFocusOutline?: boolean;
50
39
  }> & Readonly<{
51
40
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
52
41
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
53
42
  "update:modelValue": (value: any) => any;
54
43
  }, import('vue').PublicProps, {
55
- size: import('./types').QRadioButtonSize;
44
+ labelPosition: import('..').QLabelPosition;
56
45
  hasFocusOutline: boolean;
57
46
  orientation: import('./types').QRadioButtonOrientation;
58
47
  columns: number;
@@ -65,24 +54,16 @@ declare const QRadioGroup: {
65
54
  Defaults: {};
66
55
  }, Readonly<{
67
56
  modelValue?: any;
68
- } & import('../../types/component').QBaseComponentProps & {
69
- label?: string;
70
- required?: boolean;
71
- for?: string;
72
- labelPosition?: import('..').QLabelPosition;
73
- } & {
57
+ } & Omit<import('..').QFieldProps, "size"> & {
74
58
  name?: string;
75
59
  orientation?: import('./types').QRadioButtonOrientation;
76
- size?: import('./types').QRadioButtonSize;
60
+ size?: import('../../types/component').QComponentSize;
77
61
  columns?: number;
78
- disabled?: boolean;
79
- readonly?: boolean;
80
- invalid?: boolean;
81
62
  hasFocusOutline?: boolean;
82
63
  }> & Readonly<{
83
64
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
84
65
  }>, {}, {}, {}, {}, {
85
- size: import('./types').QRadioButtonSize;
66
+ labelPosition: import('..').QLabelPosition;
86
67
  hasFocusOutline: boolean;
87
68
  orientation: import('./types').QRadioButtonOrientation;
88
69
  columns: number;
@@ -92,26 +73,18 @@ declare const QRadioGroup: {
92
73
  __isSuspense?: never;
93
74
  } & import('vue').ComponentOptionsBase<Readonly<{
94
75
  modelValue?: any;
95
- } & import('../../types/component').QBaseComponentProps & {
96
- label?: string;
97
- required?: boolean;
98
- for?: string;
99
- labelPosition?: import('..').QLabelPosition;
100
- } & {
76
+ } & Omit<import('..').QFieldProps, "size"> & {
101
77
  name?: string;
102
78
  orientation?: import('./types').QRadioButtonOrientation;
103
- size?: import('./types').QRadioButtonSize;
79
+ size?: import('../../types/component').QComponentSize;
104
80
  columns?: number;
105
- disabled?: boolean;
106
- readonly?: boolean;
107
- invalid?: boolean;
108
81
  hasFocusOutline?: boolean;
109
82
  }> & Readonly<{
110
83
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
111
84
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
112
85
  "update:modelValue": (value: any) => any;
113
86
  }, string, {
114
- size: import('./types').QRadioButtonSize;
87
+ labelPosition: import('..').QLabelPosition;
115
88
  hasFocusOutline: boolean;
116
89
  orientation: import('./types').QRadioButtonOrientation;
117
90
  columns: number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA;AACnD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAA;AAGjD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,CAAA;AAGpC,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiC,CAAA;AACnD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAA;AAGjD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,CAAA;AAGpC,cAAc,SAAS,CAAA"}
@@ -1,7 +1,13 @@
1
+ import { QComponentSize } from '../../types/component';
2
+ import { QFieldProps } from '../QField';
1
3
  import { QLabelProps } from '../QLabel';
2
4
  export type QRadioButtonOrientation = 'vertical' | 'horizontal';
3
- export type QRadioButtonSize = 'small' | 'regular' | 'large';
4
- export type QRadioGroupProps = QLabelProps & {
5
+ /**
6
+ * Radio group props. Extends {@link QFieldProps} for label layout (`labelPosition`, etc.).
7
+ * `size` is control chrome (`small` | `medium` | `large`), not Field layout width —
8
+ * Field’s layout `size` is omitted on purpose.
9
+ */
10
+ export type QRadioGroupProps = Omit<QFieldProps, 'size'> & {
5
11
  /**
6
12
  * The name for each radio buttons in radio group.
7
13
  *
@@ -15,35 +21,19 @@ export type QRadioGroupProps = QLabelProps & {
15
21
  */
16
22
  orientation?: QRadioButtonOrientation;
17
23
  /**
18
- * The size of the checkbox, either 'regular', 'small' or 'large'.
24
+ * Local chrome size. Multiplies the inherited global density scale
25
+ * (`small` ×0.8, `medium` ×1, `large` ×1.2). Omit to inherit global density only.
26
+ * Propagated to child `QRadioButton` instances via defaults.
19
27
  *
20
28
  * @category Presentation
21
29
  */
22
- size?: QRadioButtonSize;
30
+ size?: QComponentSize;
23
31
  /**
24
32
  * Number of columns to divide the radio button group into.
25
33
  *
26
34
  * @category Behavior
27
35
  */
28
36
  columns?: number;
29
- /**
30
- * If true, the radio button is disabled and cannot be interacted with.
31
- *
32
- * @category State
33
- */
34
- disabled?: boolean;
35
- /**
36
- * If set to true, the radio button is read-only.
37
- *
38
- * @category State
39
- */
40
- readonly?: boolean;
41
- /**
42
- * Indicates whether the provided value fails the validation criteria.
43
- *
44
- * @category State
45
- */
46
- invalid?: boolean;
47
37
  /**
48
38
  * Indicates whether the control will have an outline when focused.
49
39
  *
@@ -78,11 +68,12 @@ export type QRadioButtonProps = QLabelProps & {
78
68
  */
79
69
  color?: string;
80
70
  /**
81
- * The size of the checkbox, either 'regular', 'small' or 'large'.
71
+ * Local chrome size. Multiplies the inherited global density scale
72
+ * (`small` ×0.8, `medium` ×1, `large` ×1.2). Omit to inherit global density only.
82
73
  *
83
74
  * @category Presentation
84
75
  */
85
- size?: QRadioButtonSize;
76
+ size?: QComponentSize;
86
77
  /**
87
78
  * If true, the radio button is disabled and cannot be interacted with.
88
79
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QRadioGroup/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,MAAM,MAAM,uBAAuB,GAAG,UAAU,GAAG,YAAY,CAAA;AAE/D,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;AAE5D,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,WAAW,CAAC,EAAE,uBAAuB,CAAA;IAErC;;;;OAIG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAA;IAEvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,O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G;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,OAAO,GAAG,KAAK,CAAA;AAExD,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG;IAC7C;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,cAAc,CAAC,EAAE,0BAA0B,CAAA;IAE3C;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
@@ -6,5 +6,5 @@ export declare const noScrollbarsClassName = "with-scroll-bars-hidden";
6
6
  * Name of a CSS variable containing the amount of "hidden" scrollbar
7
7
  * ! might be undefined ! use will fallback!
8
8
  */
9
- export declare const removedBarSizeVariable = "--removed-body-scroll-bar-size";
9
+ export declare const removedBarSizeVariable = "--q-removed-body-scroll-bar-size";
10
10
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +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"}
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,qCAAqC,CAAA"}
@@ -1,4 +1,4 @@
1
1
  //#region src/components/QRemoveScrollBar/constants.ts
2
- var e = "data-scroll-locked", t = "right-scroll-bar-position", n = "width-before-scroll-bar", r = "with-scroll-bars-hidden", i = "--removed-body-scroll-bar-size";
2
+ var e = "data-scroll-locked", t = "right-scroll-bar-position", n = "width-before-scroll-bar", r = "with-scroll-bars-hidden", i = "--q-removed-body-scroll-bar-size";
3
3
  //#endregion
4
4
  export { n as fullWidthClassName, e as lockAttribute, r as noScrollbarsClassName, i as removedBarSizeVariable, t as zeroRightClassName };