@quidgest/ui 0.16.28 → 0.16.30

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 (181) hide show
  1. package/dist/json/api.json +5777 -0
  2. package/dist/ui.esm.js +311 -307
  3. package/dist/ui.js +5 -5
  4. package/dist/ui.min.js +66 -66
  5. package/dist/ui.scss +1 -1
  6. package/esm/components/QAccordion/QAccordionItem.vue.js +2 -2
  7. package/esm/components/QAccordion/types.d.ts +10 -0
  8. package/esm/components/QAccordion/types.d.ts.map +1 -1
  9. package/esm/components/QAvatar/QAvatar.d.ts +1 -1
  10. package/esm/components/QAvatar/QAvatar.vue.js +3 -3
  11. package/esm/components/QAvatar/index.d.ts +3 -3
  12. package/esm/components/QAvatar/types.d.ts +20 -8
  13. package/esm/components/QAvatar/types.d.ts.map +1 -1
  14. package/esm/components/QBadge/QBadge.vue.js +1 -1
  15. package/esm/components/QBadge/types.d.ts +18 -4
  16. package/esm/components/QBadge/types.d.ts.map +1 -1
  17. package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts +1 -0
  18. package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts.map +1 -1
  19. package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +9 -9
  20. package/esm/components/QBadgeIndicator/index.d.ts +3 -0
  21. package/esm/components/QBadgeIndicator/index.d.ts.map +1 -1
  22. package/esm/components/QBadgeIndicator/types.d.ts +11 -5
  23. package/esm/components/QBadgeIndicator/types.d.ts.map +1 -1
  24. package/esm/components/QButton/QButton.vue.js +3 -3
  25. package/esm/components/QButton/types.d.ts +30 -8
  26. package/esm/components/QButton/types.d.ts.map +1 -1
  27. package/esm/components/QButtonGroup/QButtonGroup.vue.js +2 -2
  28. package/esm/components/QButtonGroup/types.d.ts +12 -4
  29. package/esm/components/QButtonGroup/types.d.ts.map +1 -1
  30. package/esm/components/QCard/QCard.vue.js +3 -3
  31. package/esm/components/QCard/types.d.ts +26 -8
  32. package/esm/components/QCard/types.d.ts.map +1 -1
  33. package/esm/components/QCarousel/types.d.ts +55 -11
  34. package/esm/components/QCarousel/types.d.ts.map +1 -1
  35. package/esm/components/QCheckbox/QCheckbox.vue.js +3 -3
  36. package/esm/components/QCheckbox/QCheckboxLabel.vue.js +2 -2
  37. package/esm/components/QCheckbox/index.d.ts +9 -9
  38. package/esm/components/QCheckbox/types.d.ts +23 -9
  39. package/esm/components/QCheckbox/types.d.ts.map +1 -1
  40. package/esm/components/QCollapsible/QCollapsible.vue.js +2 -2
  41. package/esm/components/QCollapsible/index.d.ts +6 -6
  42. package/esm/components/QCollapsible/types.d.ts +23 -7
  43. package/esm/components/QCollapsible/types.d.ts.map +1 -1
  44. package/esm/components/QColorPicker/types.d.ts +14 -0
  45. package/esm/components/QColorPicker/types.d.ts.map +1 -1
  46. package/esm/components/QCombobox/QCombobox.d.ts +28 -28
  47. package/esm/components/QCombobox/QCombobox.vue.js +4 -4
  48. package/esm/components/QCombobox/index.d.ts +43 -43
  49. package/esm/components/QCombobox/types.d.ts +34 -12
  50. package/esm/components/QCombobox/types.d.ts.map +1 -1
  51. package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +4 -4
  52. package/esm/components/QDateTimePicker/index.d.ts +12 -12
  53. package/esm/components/QDateTimePicker/types.d.ts +29 -13
  54. package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
  55. package/esm/components/QDefaultsProvider/types.d.ts +2 -0
  56. package/esm/components/QDefaultsProvider/types.d.ts.map +1 -1
  57. package/esm/components/QDialog/QDialog.d.ts +1 -1
  58. package/esm/components/QDialog/QDialog.vue.js +5 -5
  59. package/esm/components/QDialog/index.d.ts +15 -15
  60. package/esm/components/QDialog/types.d.ts +46 -18
  61. package/esm/components/QDialog/types.d.ts.map +1 -1
  62. package/esm/components/QDivider/QDivider.d.ts.map +1 -1
  63. package/esm/components/QDivider/QDivider.vue.js +43 -45
  64. package/esm/components/QDivider/types.d.ts +6 -1
  65. package/esm/components/QDivider/types.d.ts.map +1 -1
  66. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +6 -6
  67. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +9 -9
  68. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +6 -6
  69. package/esm/components/QDropdownMenu/index.d.ts +12 -12
  70. package/esm/components/QDropdownMenu/types.d.ts +51 -21
  71. package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
  72. package/esm/components/QField/QField.vue.js +1 -1
  73. package/esm/components/QField/types.d.ts +10 -0
  74. package/esm/components/QField/types.d.ts.map +1 -1
  75. package/esm/components/QFileUpload/QFileUpload.vue.js +1 -1
  76. package/esm/components/QFileUpload/index.d.ts +3 -3
  77. package/esm/components/QFileUpload/types.d.ts +6 -0
  78. package/esm/components/QFileUpload/types.d.ts.map +1 -1
  79. package/esm/components/QGrid/types.d.ts +20 -0
  80. package/esm/components/QGrid/types.d.ts.map +1 -1
  81. package/esm/components/QIcon/QIcon.vue.js +2 -2
  82. package/esm/components/QIcon/QIconFont.vue.js +2 -2
  83. package/esm/components/QIcon/types.d.ts +22 -8
  84. package/esm/components/QIcon/types.d.ts.map +1 -1
  85. package/esm/components/QInputGroup/QInputGroup.vue.js +1 -1
  86. package/esm/components/QInputGroup/types.d.ts +4 -0
  87. package/esm/components/QInputGroup/types.d.ts.map +1 -1
  88. package/esm/components/QLabel/QLabel.vue.js +2 -2
  89. package/esm/components/QLabel/types.d.ts +10 -4
  90. package/esm/components/QLabel/types.d.ts.map +1 -1
  91. package/esm/components/QLineLoader/types.d.ts +4 -0
  92. package/esm/components/QLineLoader/types.d.ts.map +1 -1
  93. package/esm/components/QList/QList.d.ts +2 -2
  94. package/esm/components/QList/QList.vue.js +4 -4
  95. package/esm/components/QList/QListItem.vue.js +1 -1
  96. package/esm/components/QList/index.d.ts +1 -1
  97. package/esm/components/QList/types.d.ts +54 -14
  98. package/esm/components/QList/types.d.ts.map +1 -1
  99. package/esm/components/QMeter/QMeter.vue.js +3 -3
  100. package/esm/components/QMeter/index.d.ts +4 -4
  101. package/esm/components/QMeter/types.d.ts +10 -4
  102. package/esm/components/QMeter/types.d.ts.map +1 -1
  103. package/esm/components/QOverlay/QOverlay.d.ts +2 -2
  104. package/esm/components/QOverlay/QOverlay.vue.js +9 -9
  105. package/esm/components/QOverlay/index.d.ts +30 -30
  106. package/esm/components/QOverlay/types.d.ts +74 -34
  107. package/esm/components/QOverlay/types.d.ts.map +1 -1
  108. package/esm/components/QPasswordField/QPasswordField.d.ts +8 -8
  109. package/esm/components/QPasswordField/QPasswordField.vue.js +1 -1
  110. package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +8 -8
  111. package/esm/components/QPasswordField/index.d.ts +4 -4
  112. package/esm/components/QPasswordField/types.d.ts +12 -0
  113. package/esm/components/QPasswordField/types.d.ts.map +1 -1
  114. package/esm/components/QPopover/QPopover.vue.js +4 -4
  115. package/esm/components/QPopover/index.d.ts +12 -12
  116. package/esm/components/QPopover/types.d.ts +32 -14
  117. package/esm/components/QPopover/types.d.ts.map +1 -1
  118. package/esm/components/QPropertyList/QPropertyList.vue.js +1 -1
  119. package/esm/components/QPropertyList/types.d.ts +41 -5
  120. package/esm/components/QPropertyList/types.d.ts.map +1 -1
  121. package/esm/components/QRadioGroup/QRadioButton.vue.js +6 -6
  122. package/esm/components/QRadioGroup/QRadioGroup.vue.js +5 -5
  123. package/esm/components/QRadioGroup/index.d.ts +12 -12
  124. package/esm/components/QRadioGroup/types.d.ts +57 -27
  125. package/esm/components/QRadioGroup/types.d.ts.map +1 -1
  126. package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +2 -2
  127. package/esm/components/QRemoveScrollBar/types.d.ts +10 -6
  128. package/esm/components/QRemoveScrollBar/types.d.ts.map +1 -1
  129. package/esm/components/QSelect/QSelect.d.ts +10 -10
  130. package/esm/components/QSelect/QSelect.vue.js +4 -4
  131. package/esm/components/QSelect/index.d.ts +17 -17
  132. package/esm/components/QSelect/types.d.ts +30 -10
  133. package/esm/components/QSelect/types.d.ts.map +1 -1
  134. package/esm/components/QSidebar/QSidebar.d.ts +1 -1
  135. package/esm/components/QSidebar/QSidebarAnchor.d.ts +13 -13
  136. package/esm/components/QSidebar/index.d.ts +1 -1
  137. package/esm/components/QSidebar/types.d.ts +29 -9
  138. package/esm/components/QSidebar/types.d.ts.map +1 -1
  139. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +2 -2
  140. package/esm/components/QSkeletonLoader/types.d.ts +10 -4
  141. package/esm/components/QSkeletonLoader/types.d.ts.map +1 -1
  142. package/esm/components/QSpinnerLoader/types.d.ts +2 -0
  143. package/esm/components/QSpinnerLoader/types.d.ts.map +1 -1
  144. package/esm/components/QSwitch/QSwitch.vue.js +3 -3
  145. package/esm/components/QSwitch/index.d.ts +4 -4
  146. package/esm/components/QSwitch/types.d.ts +24 -8
  147. package/esm/components/QSwitch/types.d.ts.map +1 -1
  148. package/esm/components/QTextArea/QTextArea.vue.js +1 -1
  149. package/esm/components/QTextArea/index.d.ts +3 -3
  150. package/esm/components/QTextArea/types.d.ts +14 -0
  151. package/esm/components/QTextArea/types.d.ts.map +1 -1
  152. package/esm/components/QTextField/QTextField.d.ts +2 -2
  153. package/esm/components/QTextField/QTextField.vue.js +1 -1
  154. package/esm/components/QTextField/index.d.ts +4 -4
  155. package/esm/components/QTextField/types.d.ts +10 -0
  156. package/esm/components/QTextField/types.d.ts.map +1 -1
  157. package/esm/components/QThemeProvider/types.d.ts +2 -0
  158. package/esm/components/QThemeProvider/types.d.ts.map +1 -1
  159. package/esm/components/QToast/QToast.vue.js +4 -4
  160. package/esm/components/QToast/types.d.ts +34 -12
  161. package/esm/components/QToast/types.d.ts.map +1 -1
  162. package/esm/components/QToggle/QToggle.vue.js +3 -3
  163. package/esm/components/QToggle/index.d.ts +6 -6
  164. package/esm/components/QToggleGroup/QToggleGroup.vue.js +1 -1
  165. package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +2 -2
  166. package/esm/components/QToggleGroup/index.d.ts +3 -3
  167. package/esm/components/QToggleGroup/types.d.ts +6 -0
  168. package/esm/components/QToggleGroup/types.d.ts.map +1 -1
  169. package/esm/components/QTooltip/QTooltip.vue.js +5 -5
  170. package/esm/components/QTooltip/index.d.ts +12 -12
  171. package/esm/components/QTooltip/types.d.ts +40 -16
  172. package/esm/components/QTooltip/types.d.ts.map +1 -1
  173. package/esm/components/__internal__/QChevron/types.d.ts +2 -0
  174. package/esm/components/__internal__/QChevron/types.d.ts.map +1 -1
  175. package/esm/components/__internal__/QClearButton/types.d.ts +4 -0
  176. package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -1
  177. package/esm/composables/useDialog/index.d.ts +12 -12
  178. package/esm/composables/useDialog/index.d.ts.map +1 -1
  179. package/esm/types/component.d.ts +4 -0
  180. package/esm/types/component.d.ts.map +1 -1
  181. package/package.json +1 -1
@@ -1,49 +1,71 @@
1
1
  import { Group, Item } from '../QList/types';
2
2
  import { QTextFieldProps } from '../QTextField/types';
3
3
  export type QComboboxProps = Omit<QTextFieldProps, 'type'> & {
4
- /**
5
- * The list of available items for selection.
6
- */
7
- items?: Item[];
8
- /**
9
- * The item groups used for organizing the available items.
10
- */
11
- groups?: Group[];
12
4
  /**
13
5
  * Property on each item that contains its value.
6
+ *
7
+ * @category Identification
14
8
  */
15
9
  itemValue?: string;
16
10
  /**
17
11
  * Property on each item that contains its title.
12
+ *
13
+ * @category Identification
18
14
  */
19
15
  itemLabel?: string;
16
+ /**
17
+ * The list of available items for selection.
18
+ *
19
+ * @category Content
20
+ */
21
+ items?: Item[];
22
+ /**
23
+ * The item groups used for organizing the available items.
24
+ *
25
+ * @category Content
26
+ */
27
+ groups?: Group[];
20
28
  /**
21
29
  * The nature of the autocomplete and selection mechanism.
30
+ *
31
+ * @category Behavior
22
32
  */
23
33
  selectionMode?: 'manual' | 'automatic';
24
34
  /**
25
35
  * The mode of the combobox filter.
36
+ *
37
+ * @category Behavior
26
38
  */
27
39
  filterMode?: 'builtin' | 'manual';
40
+ /**
41
+ * Whether to disable the teleport of the combobox overlay.
42
+ *
43
+ * @category Behavior
44
+ */
45
+ inline?: boolean;
28
46
  /**
29
47
  * Whether the items of the list are being loaded.
48
+ *
49
+ * @category State
30
50
  */
31
51
  loading?: boolean;
32
52
  /**
33
53
  * The value to be used in comparisons,
34
54
  * used to check if the field has a selected item.
55
+ *
56
+ * @category Configuration
35
57
  */
36
58
  emptyValue?: any;
37
- /**
38
- * Whether to disable the teleport of the combobox overlay.
39
- */
40
- inline?: boolean;
41
59
  /**
42
60
  * Custom icon configurations.
61
+ *
62
+ * @category Configuration
43
63
  */
44
64
  icons?: typeof DEFAULT_ICONS;
45
65
  /**
46
66
  * Custom text configurations.
67
+ *
68
+ * @category Configuration
47
69
  */
48
70
  texts?: typeof DEFAULT_TEXTS;
49
71
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/types.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE1D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAAG;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAA;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAEjC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;OAGG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA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a;;;;;;;CAGM,CAAA"}
@@ -16,19 +16,19 @@ const ee = ["value", "placeholder", "disabled", "readonly", "required", "onInput
16
16
  id: {},
17
17
  class: {},
18
18
  label: {},
19
- for: {},
20
19
  required: { type: Boolean },
20
+ for: {},
21
21
  size: {},
22
22
  readonly: { type: Boolean },
23
23
  disabled: { type: Boolean },
24
24
  invalid: { type: Boolean },
25
+ placeholder: {},
26
+ inline: { type: Boolean },
27
+ closeOnSelect: { type: Boolean },
25
28
  format: { default: "dd/MM/yyyy HH:mm" },
26
29
  minTime: {},
27
30
  maxTime: {},
28
31
  locale: { default: "en-US" },
29
- placeholder: {},
30
- inline: { type: Boolean },
31
- closeOnSelect: { type: Boolean },
32
32
  icons: { default: () => I },
33
33
  texts: { default: () => H }
34
34
  }, {
@@ -4,8 +4,8 @@ declare const QDateTimePicker: {
4
4
  modelValue?: Date | string;
5
5
  } & import('../../types/component').QBaseComponentProps & {
6
6
  label?: string;
7
- for?: string;
8
7
  required?: boolean;
8
+ for?: string;
9
9
  } & {
10
10
  size?: import('..').QFieldSize;
11
11
  readonly?: boolean;
@@ -13,13 +13,13 @@ declare const QDateTimePicker: {
13
13
  required?: boolean;
14
14
  invalid?: boolean;
15
15
  } & {
16
+ placeholder?: string;
17
+ inline?: boolean;
18
+ closeOnSelect?: boolean;
16
19
  format?: string;
17
20
  minTime?: string;
18
21
  maxTime?: string;
19
22
  locale?: string;
20
- placeholder?: string;
21
- inline?: boolean;
22
- closeOnSelect?: boolean;
23
23
  icons?: typeof import('./types').DEFAULT_ICONS;
24
24
  texts?: typeof import('./types').DEFAULT_TEXTS;
25
25
  }> & Readonly<{
@@ -44,8 +44,8 @@ declare const QDateTimePicker: {
44
44
  modelValue?: Date | string;
45
45
  } & import('../../types/component').QBaseComponentProps & {
46
46
  label?: string;
47
- for?: string;
48
47
  required?: boolean;
48
+ for?: string;
49
49
  } & {
50
50
  size?: import('..').QFieldSize;
51
51
  readonly?: boolean;
@@ -53,13 +53,13 @@ declare const QDateTimePicker: {
53
53
  required?: boolean;
54
54
  invalid?: boolean;
55
55
  } & {
56
+ placeholder?: string;
57
+ inline?: boolean;
58
+ closeOnSelect?: boolean;
56
59
  format?: string;
57
60
  minTime?: string;
58
61
  maxTime?: string;
59
62
  locale?: string;
60
- placeholder?: string;
61
- inline?: boolean;
62
- closeOnSelect?: boolean;
63
63
  icons?: typeof import('./types').DEFAULT_ICONS;
64
64
  texts?: typeof import('./types').DEFAULT_TEXTS;
65
65
  }> & Readonly<{
@@ -77,8 +77,8 @@ declare const QDateTimePicker: {
77
77
  modelValue?: Date | string;
78
78
  } & import('../../types/component').QBaseComponentProps & {
79
79
  label?: string;
80
- for?: string;
81
80
  required?: boolean;
81
+ for?: string;
82
82
  } & {
83
83
  size?: import('..').QFieldSize;
84
84
  readonly?: boolean;
@@ -86,13 +86,13 @@ declare const QDateTimePicker: {
86
86
  required?: boolean;
87
87
  invalid?: boolean;
88
88
  } & {
89
+ placeholder?: string;
90
+ inline?: boolean;
91
+ closeOnSelect?: boolean;
89
92
  format?: string;
90
93
  minTime?: string;
91
94
  maxTime?: string;
92
95
  locale?: string;
93
- placeholder?: string;
94
- inline?: boolean;
95
- closeOnSelect?: boolean;
96
96
  icons?: typeof import('./types').DEFAULT_ICONS;
97
97
  texts?: typeof import('./types').DEFAULT_TEXTS;
98
98
  }> & Readonly<{
@@ -1,5 +1,23 @@
1
1
  import { QFieldProps } from '../QField';
2
2
  export type QDateTimePickerProps = QFieldProps & {
3
+ /**
4
+ * The placeholder text for the control.
5
+ *
6
+ * @category Content
7
+ */
8
+ placeholder?: string;
9
+ /**
10
+ * Whether to disable teleport.
11
+ *
12
+ * @category Behavior
13
+ */
14
+ inline?: boolean;
15
+ /**
16
+ * Whether to close the popup when selecting the date.
17
+ *
18
+ * @category Behavior
19
+ */
20
+ closeOnSelect?: boolean;
3
21
  /**
4
22
  * The format prop determines the display format of the date and time in the picker.
5
23
  * It defines how the selected date and time will be shown to the user.
@@ -13,7 +31,7 @@ export type QDateTimePickerProps = QFieldProps & {
13
31
  * - hh:mm a: 12-hour format with AM/PM (e.g., "08:45 PM")
14
32
  * - HH:mm:ss: 24-hour format with seconds (e.g., "20:45:30")
15
33
  *
16
- * @type {string}
34
+ * @category Configuration
17
35
  * @default 'yyyy-MM-dd' (ISO format)
18
36
  * @example 'dd/MM/yyyy'
19
37
  * @example 'hh:mm a'
@@ -21,36 +39,34 @@ export type QDateTimePickerProps = QFieldProps & {
21
39
  format?: string;
22
40
  /**
23
41
  * The minimum time allowed in HH:mm format.
42
+ *
43
+ * @category Configuration
24
44
  */
25
45
  minTime?: string;
26
46
  /**
27
47
  * The maximum time allowed in HH:mm format.
48
+ *
49
+ * @category Configuration
28
50
  */
29
51
  maxTime?: string;
30
52
  /**
31
53
  * The datepicker locale.
32
54
  * Datepicker will use built in javascript locale formatter to extract month and weekday names.
33
55
  * https://vue3datepicker.com/props/localization/#locale
56
+ *
57
+ * @category Configuration
34
58
  */
35
59
  locale?: string;
36
- /**
37
- * The placeholder text for the control.
38
- */
39
- placeholder?: string;
40
- /**
41
- * Whether to disable teleport.
42
- */
43
- inline?: boolean;
44
- /**
45
- * Whether to close the popup when selecting the date.
46
- */
47
- closeOnSelect?: boolean;
48
60
  /**
49
61
  * Custom icon configurations.
62
+ *
63
+ * @category Configuration
50
64
  */
51
65
  icons?: typeof DEFAULT_ICONS;
52
66
  /**
53
67
  * Custom text configurations.
68
+ *
69
+ * @category Configuration
54
70
  */
55
71
  texts?: typeof DEFAULT_TEXTS;
56
72
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDateTimePicker/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAChD;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,OAAO,CA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a;;CAEQ,CAAA"}
@@ -7,6 +7,8 @@ export type QDefaultsProviderProps = QBaseComponentProps & {
7
7
  /**
8
8
  * The default configuration values to provide to child components.
9
9
  * These values will be **merged with each component's own defaults**.
10
+ *
11
+ * @category Configuration
10
12
  */
11
13
  defaults: Defaults;
12
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDefaultsProvider/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GAAG;IAC1D;;;OAGG;IACH,QAAQ,EAAE,QAAQ,CAAA;CAClB,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDefaultsProvider/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,GAAG;IAC1D;;;;;OAKG;IACH,QAAQ,EAAE,QAAQ,CAAA;CAClB,CAAA"}
@@ -32,8 +32,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
32
32
  html: boolean;
33
33
  icon: import('..').Icon;
34
34
  icons: typeof DEFAULT_ICONS;
35
- attach: string;
36
35
  backdropBlur: boolean;
36
+ attach: string;
37
37
  buttons: DialogButton[];
38
38
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
39
39
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -34,15 +34,15 @@ const j = {
34
34
  text: {},
35
35
  icon: { default: () => w },
36
36
  buttons: { default: () => H },
37
+ backdropBlur: { type: Boolean, default: !0 },
38
+ size: { default: "small" },
39
+ centerVertically: { type: Boolean },
37
40
  attach: { default: "body" },
38
41
  inline: { type: Boolean },
39
- backdropBlur: { type: Boolean, default: !0 },
40
42
  dismissible: { type: Boolean },
41
43
  html: { type: Boolean, default: !0 },
42
- icons: { default: () => P },
43
- size: { default: "small" },
44
- centerVertically: { type: Boolean },
45
- input: {}
44
+ input: {},
45
+ icons: { default: () => P }
46
46
  }, {
47
47
  modelValue: { type: Boolean },
48
48
  modelModifiers: {}
@@ -7,15 +7,15 @@ declare const QDialog: {
7
7
  text?: string;
8
8
  icon?: import('..').Icon;
9
9
  buttons?: DialogButton[];
10
+ backdropBlur?: boolean;
11
+ size?: import('./types').QDialogSize;
12
+ centerVertically?: boolean;
10
13
  attach?: string;
11
14
  inline?: boolean;
12
- backdropBlur?: boolean;
13
15
  dismissible?: boolean;
14
16
  html?: boolean;
15
- icons?: typeof import('./types').DEFAULT_ICONS;
16
- size?: import('./types').QDialogSize;
17
- centerVertically?: boolean;
18
17
  input?: import('./types').QDialogInputOption;
18
+ icons?: typeof import('./types').DEFAULT_ICONS;
19
19
  }> & Readonly<{
20
20
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
21
  onEnter?: (() => any) | undefined;
@@ -30,8 +30,8 @@ declare const QDialog: {
30
30
  html: boolean;
31
31
  icon: import('..').Icon;
32
32
  icons: typeof import('./types').DEFAULT_ICONS;
33
- attach: string;
34
33
  backdropBlur: boolean;
34
+ attach: string;
35
35
  buttons: DialogButton[];
36
36
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
37
37
  P: {};
@@ -47,15 +47,15 @@ declare const QDialog: {
47
47
  text?: string;
48
48
  icon?: import('..').Icon;
49
49
  buttons?: DialogButton[];
50
+ backdropBlur?: boolean;
51
+ size?: import('./types').QDialogSize;
52
+ centerVertically?: boolean;
50
53
  attach?: string;
51
54
  inline?: boolean;
52
- backdropBlur?: boolean;
53
55
  dismissible?: boolean;
54
56
  html?: boolean;
55
- icons?: typeof import('./types').DEFAULT_ICONS;
56
- size?: import('./types').QDialogSize;
57
- centerVertically?: boolean;
58
57
  input?: import('./types').QDialogInputOption;
58
+ icons?: typeof import('./types').DEFAULT_ICONS;
59
59
  }> & Readonly<{
60
60
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
61
61
  onEnter?: (() => any) | undefined;
@@ -65,8 +65,8 @@ declare const QDialog: {
65
65
  html: boolean;
66
66
  icon: import('..').Icon;
67
67
  icons: typeof import('./types').DEFAULT_ICONS;
68
- attach: string;
69
68
  backdropBlur: boolean;
69
+ attach: string;
70
70
  buttons: DialogButton[];
71
71
  }>;
72
72
  __isFragment?: never;
@@ -79,15 +79,15 @@ declare const QDialog: {
79
79
  text?: string;
80
80
  icon?: import('..').Icon;
81
81
  buttons?: DialogButton[];
82
+ backdropBlur?: boolean;
83
+ size?: import('./types').QDialogSize;
84
+ centerVertically?: boolean;
82
85
  attach?: string;
83
86
  inline?: boolean;
84
- backdropBlur?: boolean;
85
87
  dismissible?: boolean;
86
88
  html?: boolean;
87
- icons?: typeof import('./types').DEFAULT_ICONS;
88
- size?: import('./types').QDialogSize;
89
- centerVertically?: boolean;
90
89
  input?: import('./types').QDialogInputOption;
90
+ icons?: typeof import('./types').DEFAULT_ICONS;
91
91
  }> & Readonly<{
92
92
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
93
93
  onEnter?: (() => any) | undefined;
@@ -102,8 +102,8 @@ declare const QDialog: {
102
102
  html: boolean;
103
103
  icon: import('..').Icon;
104
104
  icons: typeof import('./types').DEFAULT_ICONS;
105
- attach: string;
106
105
  backdropBlur: boolean;
106
+ attach: string;
107
107
  buttons: DialogButton[];
108
108
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
109
109
  $slots: {
@@ -5,58 +5,84 @@ export type QDialogSize = 'small' | 'medium' | 'large' | 'xlarge';
5
5
  export type QDialogProps = QBaseComponentProps & {
6
6
  /**
7
7
  * The title of the dialog window.
8
+ *
9
+ * @category Content
8
10
  */
9
11
  title?: string;
10
12
  /**
11
13
  * The text of the dialog window.
14
+ *
15
+ * @category Content
12
16
  */
13
17
  text?: string;
14
18
  /**
15
19
  * The icon of the dialog window.
20
+ *
21
+ * @category Content
16
22
  */
17
23
  icon?: Icon;
18
24
  /**
19
25
  * The buttons to interact with the dialog window.
26
+ *
27
+ * @category Content
20
28
  */
21
29
  buttons?: DialogButton[];
30
+ /**
31
+ * Applies a backdrop blur effect behind the dialog window.
32
+ *
33
+ * @category Presentation
34
+ */
35
+ backdropBlur?: boolean;
36
+ /**
37
+ * The size category of the dialog.
38
+ *
39
+ * @category Presentation
40
+ */
41
+ size?: QDialogSize;
42
+ /**
43
+ * Whether to vertically align the dialog to the center (true) or top (false).
44
+ *
45
+ * @category Presentation
46
+ */
47
+ centerVertically?: boolean;
22
48
  /**
23
49
  * The DOM element the tooltip should be teleported to.
24
50
  * Defaults to the body of the document.
51
+ *
52
+ * @category Behavior
25
53
  */
26
54
  attach?: string;
27
55
  /**
28
56
  * Whether to disable teleport.
29
57
  * If enabled, the prop `attach` is ignored.
58
+ *
59
+ * @category Behavior
30
60
  */
31
61
  inline?: boolean;
32
62
  /**
33
- * Applies a backdrop blur effect behind the dialog window.
34
- */
35
- backdropBlur?: boolean;
36
- /**
37
- * True if the dialog window can be closed, false otherwise
63
+ * True if the dialog window can be closed, false otherwise.
64
+ *
65
+ * @category Behavior
38
66
  */
39
67
  dismissible?: boolean;
40
68
  /**
41
69
  * Whether the window's content is treated as HTML.
70
+ *
71
+ * @category Behavior
42
72
  */
43
73
  html?: boolean;
44
- /**
45
- * Custom icon configurations.
46
- */
47
- icons?: typeof DEFAULT_ICONS;
48
- /**
49
- * The size category of the dialog.
50
- */
51
- size?: QDialogSize;
52
- /**
53
- * Whether to vertically align the dialog to the center (true) or top (false)
54
- */
55
- centerVertically?: boolean;
56
74
  /**
57
75
  * The input control configuration.
76
+ *
77
+ * @category Configuration
58
78
  */
59
79
  input?: QDialogInputOption;
80
+ /**
81
+ * Custom icon configurations.
82
+ *
83
+ * @category Configuration
84
+ */
85
+ icons?: typeof DEFAULT_ICONS;
60
86
  };
61
87
  export type DialogButton = {
62
88
  /**
@@ -100,7 +126,9 @@ export type QDialogInputOption = {
100
126
  };
101
127
  export type QDialogProviderProps = {
102
128
  /**
103
- * Whether to inline the dialogs
129
+ * Whether to inline the dialogs.
130
+ *
131
+ * @category Behavior
104
132
  */
105
133
  inline?: boolean;
106
134
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEjE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,IA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AEG;IACH,KAAK,CAAC,EAAE,kBAAkB,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAA;CACjD,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAGD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,YAAY,CAW/C,CAAA;AAGD,eAAO,MAAM,YAAY,EAAE,IAE1B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"QDivider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/QDivider.vue"],"names":[],"mappings":"AAaA;AAuCC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AA0B7C,iBAAS,cAAc;WAoCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,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"}
1
+ {"version":3,"file":"QDivider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/QDivider.vue"],"names":[],"mappings":"AAcA;AAyCC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AA2B7C,iBAAS,cAAc;WAqCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,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"}
@@ -1,57 +1,55 @@
1
- import { defineComponent as v, computed as s, useSlots as u, createElementBlock as d, openBlock as o, normalizeClass as p, createCommentVNode as c, Fragment as m, createElementVNode as i, renderSlot as _ } from "vue";
2
- const f = { class: "q-divider__label" }, C = /* @__PURE__ */ v({
1
+ import { defineComponent as v, computed as t, useSlots as c, createElementBlock as l, openBlock as o, normalizeClass as u, createCommentVNode as p, Fragment as m, createElementVNode as s, renderSlot as _ } from "vue";
2
+ const f = ["id"], q = { class: "q-divider__label" }, b = /* @__PURE__ */ v({
3
3
  __name: "QDivider",
4
4
  props: {
5
+ id: {},
6
+ class: {},
5
7
  direction: { default: "horizontal" },
6
8
  inset: { type: Boolean }
7
9
  },
8
- setup(r) {
9
- const t = r, l = s(() => !!u().default), n = s(() => [
10
+ setup(n) {
11
+ const e = n, d = t(() => !!c().default), r = t(() => [
10
12
  "q-divider",
11
- `q-divider--${t.direction}`,
13
+ `q-divider--${e.direction}`,
12
14
  {
13
- "q-divider--inset": t.inset,
14
- "q-divider--labeled": l.value
15
- }
16
- ]);
17
- return (a, e) => (o(), d(
18
- "div",
19
- {
20
- class: p(n.value),
21
- role: "separator"
15
+ "q-divider--inset": e.inset,
16
+ "q-divider--labeled": d.value
22
17
  },
23
- [
24
- l.value ? (o(), d(
25
- m,
26
- { key: 0 },
27
- [
28
- e[0] || (e[0] = i(
29
- "div",
30
- { class: "q-divider__line" },
31
- null,
32
- -1
33
- /* HOISTED */
34
- )),
35
- i("span", f, [
36
- _(a.$slots, "default")
37
- ]),
38
- e[1] || (e[1] = i(
39
- "div",
40
- { class: "q-divider__line" },
41
- null,
42
- -1
43
- /* HOISTED */
44
- ))
45
- ],
46
- 64
47
- /* STABLE_FRAGMENT */
48
- )) : c("v-if", !0)
49
- ],
50
- 2
51
- /* CLASS */
52
- ));
18
+ e.class
19
+ ]);
20
+ return (a, i) => (o(), l("div", {
21
+ id: e.id,
22
+ class: u(r.value),
23
+ role: "separator"
24
+ }, [
25
+ d.value ? (o(), l(
26
+ m,
27
+ { key: 0 },
28
+ [
29
+ i[0] || (i[0] = s(
30
+ "div",
31
+ { class: "q-divider__line" },
32
+ null,
33
+ -1
34
+ /* HOISTED */
35
+ )),
36
+ s("span", q, [
37
+ _(a.$slots, "default")
38
+ ]),
39
+ i[1] || (i[1] = s(
40
+ "div",
41
+ { class: "q-divider__line" },
42
+ null,
43
+ -1
44
+ /* HOISTED */
45
+ ))
46
+ ],
47
+ 64
48
+ /* STABLE_FRAGMENT */
49
+ )) : p("v-if", !0)
50
+ ], 10, f));
53
51
  }
54
52
  });
55
53
  export {
56
- C as default
54
+ b as default
57
55
  };
@@ -1,10 +1,15 @@
1
- export type QDividerProps = {
1
+ import { QBaseComponentProps } from '../../types/component';
2
+ export type QDividerProps = QBaseComponentProps & {
2
3
  /**
3
4
  * Orientation of the divider.
5
+ *
6
+ * @category Presentation
4
7
  */
5
8
  direction?: 'horizontal' | 'vertical';
6
9
  /**
7
10
  * If true, applies inset margin.
11
+ *
12
+ * @category Presentation
8
13
  */
9
14
  inset?: boolean;
10
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IAErC;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDivider/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IACjD;;;;OAIG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;IAErC;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CACf,CAAA"}