@quidgest/ui 0.13.3 → 0.14.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 (179) hide show
  1. package/dist/manifest/components.json +4 -0
  2. package/dist/ui.css +77 -0
  3. package/dist/ui.esm.js +1129 -908
  4. package/dist/ui.js +6 -6
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +94 -85
  7. package/dist/ui.scss +86 -4
  8. package/esm/components/QBadge/QBadge.d.ts +10 -35
  9. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  10. package/esm/components/QBadge/QBadge.vue.js +19 -22
  11. package/esm/components/QBadge/index.d.ts +3 -139
  12. package/esm/components/QBadge/index.d.ts.map +1 -1
  13. package/esm/components/QBadge/types.d.ts +30 -0
  14. package/esm/components/QBadge/types.d.ts.map +1 -0
  15. package/esm/components/QBadge/types.js +8 -0
  16. package/esm/components/QButton/QButton.d.ts +8 -50
  17. package/esm/components/QButton/QButton.d.ts.map +1 -1
  18. package/esm/components/QButton/index.d.ts +3 -197
  19. package/esm/components/QButton/index.d.ts.map +1 -1
  20. package/esm/components/QButton/types.d.ts +47 -0
  21. package/esm/components/QButton/types.d.ts.map +1 -0
  22. package/esm/components/QButtonGroup/QButtonGroup.d.ts +7 -21
  23. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  24. package/esm/components/QButtonGroup/index.d.ts +3 -79
  25. package/esm/components/QButtonGroup/index.d.ts.map +1 -1
  26. package/esm/components/QButtonGroup/types.d.ts +19 -0
  27. package/esm/components/QButtonGroup/types.d.ts.map +1 -0
  28. package/esm/components/QButtonToggle/QButtonToggle.d.ts +6 -33
  29. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  30. package/esm/components/QButtonToggle/index.d.ts +3 -115
  31. package/esm/components/QButtonToggle/index.d.ts.map +1 -1
  32. package/esm/components/QButtonToggle/types.d.ts +32 -0
  33. package/esm/components/QButtonToggle/types.d.ts.map +1 -0
  34. package/esm/components/QCombobox/QCombobox.d.ts +266 -144
  35. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  36. package/esm/components/QCombobox/QCombobox.vue.js +52 -62
  37. package/esm/components/QCombobox/index.d.ts +3 -1075
  38. package/esm/components/QCombobox/index.d.ts.map +1 -1
  39. package/esm/components/QCombobox/types.d.ts +92 -0
  40. package/esm/components/QCombobox/types.d.ts.map +1 -0
  41. package/esm/components/QCombobox/types.js +14 -0
  42. package/esm/components/QDialog/QDialog.d.ts +18 -93
  43. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  44. package/esm/components/QDialog/QDialog.vue.js +45 -61
  45. package/esm/components/QDialog/index.d.ts +3 -267
  46. package/esm/components/QDialog/index.d.ts.map +1 -1
  47. package/esm/components/QDialog/types.d.ts +82 -0
  48. package/esm/components/QDialog/types.d.ts.map +1 -0
  49. package/esm/components/QDialog/types.js +23 -0
  50. package/esm/components/QField/QField.d.ts +15 -47
  51. package/esm/components/QField/QField.d.ts.map +1 -1
  52. package/esm/components/QField/index.d.ts +3 -168
  53. package/esm/components/QField/index.d.ts.map +1 -1
  54. package/esm/components/QField/types.d.ts +37 -0
  55. package/esm/components/QField/types.d.ts.map +1 -0
  56. package/esm/components/QIcon/InlineSvg.d.ts.map +1 -1
  57. package/esm/components/QIcon/InlineSvg.js +6 -13
  58. package/esm/components/QIcon/QIcon.d.ts +3 -19
  59. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  60. package/esm/components/QIcon/QIcon.vue.js +2 -2
  61. package/esm/components/QIcon/QIconFont.d.ts +2 -22
  62. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  63. package/esm/components/QIcon/QIconFont.vue.js +9 -9
  64. package/esm/components/QIcon/QIconImg.d.ts +3 -27
  65. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  66. package/esm/components/QIcon/QIconImg.vue.js +3 -3
  67. package/esm/components/QIcon/QIconSvg.d.ts +4 -36
  68. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  69. package/esm/components/QIcon/QIconSvg.vue.js +9 -9
  70. package/esm/components/QIcon/index.d.ts +9 -156
  71. package/esm/components/QIcon/index.d.ts.map +1 -1
  72. package/esm/components/QIcon/types.d.ts +40 -0
  73. package/esm/components/QIcon/types.d.ts.map +1 -0
  74. package/esm/components/QInputGroup/QInputGroup.d.ts +12 -42
  75. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  76. package/esm/components/QInputGroup/index.d.ts +3 -153
  77. package/esm/components/QInputGroup/index.d.ts.map +1 -1
  78. package/esm/components/QInputGroup/types.d.ts +35 -0
  79. package/esm/components/QInputGroup/types.d.ts.map +1 -0
  80. package/esm/components/QLineLoader/QLineLoader.d.ts +2 -6
  81. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  82. package/esm/components/QLineLoader/index.d.ts +3 -13
  83. package/esm/components/QLineLoader/index.d.ts.map +1 -1
  84. package/esm/components/QLineLoader/types.d.ts +7 -0
  85. package/esm/components/QLineLoader/types.d.ts.map +1 -0
  86. package/esm/components/QList/QList.d.ts +11 -52
  87. package/esm/components/QList/QList.d.ts.map +1 -1
  88. package/esm/components/QList/QListItem.d.ts +10 -53
  89. package/esm/components/QList/QListItem.d.ts.map +1 -1
  90. package/esm/components/QList/QListItem.vue.js +22 -28
  91. package/esm/components/QList/QListItemGroup.d.ts +7 -13
  92. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  93. package/esm/components/QList/index.d.ts +7 -452
  94. package/esm/components/QList/index.d.ts.map +1 -1
  95. package/esm/components/QList/types.d.ts +102 -0
  96. package/esm/components/QList/types.d.ts.map +1 -0
  97. package/esm/components/QList/types.js +11 -0
  98. package/esm/components/QOverlay/QOverlay.d.ts +33 -118
  99. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  100. package/esm/components/QOverlay/QOverlay.vue.js +1 -2
  101. package/esm/components/QOverlay/index.d.ts +3 -339
  102. package/esm/components/QOverlay/index.d.ts.map +1 -1
  103. package/esm/components/QOverlay/types.d.ts +88 -0
  104. package/esm/components/QOverlay/types.d.ts.map +1 -0
  105. package/esm/components/QPopover/QPopover.d.ts +17 -58
  106. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  107. package/esm/components/QPopover/index.d.ts +3 -180
  108. package/esm/components/QPopover/index.d.ts.map +1 -1
  109. package/esm/components/QPopover/types.d.ts +44 -0
  110. package/esm/components/QPopover/types.d.ts.map +1 -0
  111. package/esm/components/QPropertyList/QPropertyList.d.ts +70 -0
  112. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -0
  113. package/esm/components/QPropertyList/QPropertyList.vue.js +146 -0
  114. package/esm/components/QPropertyList/QPropertyList.vue2.js +4 -0
  115. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +48 -0
  116. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -0
  117. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +72 -0
  118. package/esm/components/QPropertyList/QPropertyListGroup.vue2.js +4 -0
  119. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +53 -0
  120. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -0
  121. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +45 -0
  122. package/esm/components/QPropertyList/QPropertyListPanel.vue2.js +4 -0
  123. package/esm/components/QPropertyList/QPropertyListRow.d.ts +29 -0
  124. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -0
  125. package/esm/components/QPropertyList/QPropertyListRow.vue.js +64 -0
  126. package/esm/components/QPropertyList/QPropertyListRow.vue2.js +4 -0
  127. package/esm/components/QPropertyList/index.d.ts +13 -0
  128. package/esm/components/QPropertyList/index.d.ts.map +1 -0
  129. package/esm/components/QPropertyList/index.js +12 -0
  130. package/esm/components/QPropertyList/types.d.ts +101 -0
  131. package/esm/components/QPropertyList/types.d.ts.map +1 -0
  132. package/esm/components/QPropertyList/types.js +14 -0
  133. package/esm/components/QSelect/QSelect.d.ts +25 -102
  134. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  135. package/esm/components/QSelect/QSelect.vue.js +80 -91
  136. package/esm/components/QSelect/index.d.ts +3 -369
  137. package/esm/components/QSelect/index.d.ts.map +1 -1
  138. package/esm/components/QSelect/types.d.ts +80 -0
  139. package/esm/components/QSelect/types.d.ts.map +1 -0
  140. package/esm/components/QSelect/types.js +14 -0
  141. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +2 -14
  142. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  143. package/esm/components/QSkeletonLoader/index.d.ts +3 -31
  144. package/esm/components/QSkeletonLoader/index.d.ts.map +1 -1
  145. package/esm/components/QSkeletonLoader/types.d.ts +15 -0
  146. package/esm/components/QSkeletonLoader/types.d.ts.map +1 -0
  147. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +2 -10
  148. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  149. package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +6 -6
  150. package/esm/components/QSpinnerLoader/index.d.ts +3 -22
  151. package/esm/components/QSpinnerLoader/index.d.ts.map +1 -1
  152. package/esm/components/QSpinnerLoader/types.d.ts +11 -0
  153. package/esm/components/QSpinnerLoader/types.d.ts.map +1 -0
  154. package/esm/components/QTextField/QTextField.d.ts +13 -61
  155. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  156. package/esm/components/QTextField/index.d.ts +3 -229
  157. package/esm/components/QTextField/index.d.ts.map +1 -1
  158. package/esm/components/QTextField/types.d.ts +51 -0
  159. package/esm/components/QTextField/types.d.ts.map +1 -0
  160. package/esm/components/QThemeProvider/QThemeProvider.d.ts +6 -8
  161. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  162. package/esm/components/QThemeProvider/index.d.ts +3 -37
  163. package/esm/components/QThemeProvider/index.d.ts.map +1 -1
  164. package/esm/components/QThemeProvider/types.d.ts +7 -0
  165. package/esm/components/QThemeProvider/types.d.ts.map +1 -0
  166. package/esm/components/QTooltip/QTooltip.d.ts +30 -94
  167. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  168. package/esm/components/QTooltip/index.d.ts +3 -279
  169. package/esm/components/QTooltip/index.d.ts.map +1 -1
  170. package/esm/components/QTooltip/types.d.ts +67 -0
  171. package/esm/components/QTooltip/types.d.ts.map +1 -0
  172. package/esm/components/index.d.ts +1 -0
  173. package/esm/components/index.d.ts.map +1 -1
  174. package/esm/components/index.js +42 -37
  175. package/esm/composables/defaults.js +3 -6
  176. package/esm/index.d.ts +4 -0
  177. package/esm/utils/color.js +1 -2
  178. package/esm/utils/setupPropsProxy.js +2 -4
  179. package/package.json +35 -36
@@ -1,50 +1,11 @@
1
- import { Placement } from '../../composables/overlay';
2
- import { Selector } from '../../utils/getElement';
3
-
4
- export type QPopoverProps = {
5
- /**
6
- * The DOM element the popover should be anchored to.
7
- */
8
- anchor: Selector;
9
- /**
10
- * Whether the popover has an arrow pointing to the target.
11
- */
12
- arrow?: boolean;
13
- /**
14
- * The DOM element the popover should be teleported to.
15
- * Defaults to the body of the document.
16
- */
17
- attach?: string;
18
- /**
19
- * Whether to disable teleport.
20
- * If enabled, the prop `attach` is ignored.
21
- */
22
- inline?: boolean;
23
- /**
24
- * Whether the popover is disabled.
25
- */
26
- disabled?: boolean;
27
- /**
28
- * Whether the popover's content is treated as HTML.
29
- */
30
- html?: boolean;
31
- /**
32
- * The placement of the popover.
33
- */
34
- placement?: Placement;
35
- /**
36
- * The text of the popover.
37
- */
38
- text: string;
39
- /**
40
- * The title of the popover.
41
- */
42
- title?: string;
1
+ declare function __VLS_template(): {
2
+ header?(_: {}): any;
3
+ body?(_: {}): any;
43
4
  };
44
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
5
+ declare const __VLS_component: import('vue').DefineComponent<{
45
6
  modelValue: import('vue').PropType<boolean>;
46
7
  anchor: {
47
- type: import('vue').PropType<Selector>;
8
+ type: import('vue').PropType<import('../../utils/getElement').Selector>;
48
9
  required: true;
49
10
  };
50
11
  html: {
@@ -62,10 +23,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
62
23
  disabled: {
63
24
  type: import('vue').PropType<boolean>;
64
25
  };
65
- placement: {
66
- type: import('vue').PropType<Placement>;
67
- default: string;
68
- };
69
26
  arrow: {
70
27
  type: import('vue').PropType<boolean>;
71
28
  default: boolean;
@@ -77,10 +34,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
77
34
  inline: {
78
35
  type: import('vue').PropType<boolean>;
79
36
  };
37
+ placement: {
38
+ type: import('vue').PropType<import('../../composables/overlay').Placement>;
39
+ default: string;
40
+ };
80
41
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
81
42
  modelValue: import('vue').PropType<boolean>;
82
43
  anchor: {
83
- type: import('vue').PropType<Selector>;
44
+ type: import('vue').PropType<import('../../utils/getElement').Selector>;
84
45
  required: true;
85
46
  };
86
47
  html: {
@@ -98,10 +59,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
98
59
  disabled: {
99
60
  type: import('vue').PropType<boolean>;
100
61
  };
101
- placement: {
102
- type: import('vue').PropType<Placement>;
103
- default: string;
104
- };
105
62
  arrow: {
106
63
  type: import('vue').PropType<boolean>;
107
64
  default: boolean;
@@ -113,16 +70,18 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
113
70
  inline: {
114
71
  type: import('vue').PropType<boolean>;
115
72
  };
73
+ placement: {
74
+ type: import('vue').PropType<import('../../composables/overlay').Placement>;
75
+ default: string;
76
+ };
116
77
  }>>, {
117
78
  html: boolean;
118
79
  title: string;
119
- placement: Placement;
120
80
  arrow: boolean;
121
81
  attach: string;
122
- }, {}>, {
123
- header?(_: {}): any;
124
- body?(_: {}): any;
125
- }>;
82
+ placement: import('../../composables/overlay').Placement;
83
+ }, {}>;
84
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
126
85
  export default _default;
127
86
  type __VLS_WithTemplateSlots<T, S> = T & {
128
87
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"QPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/QPopover.vue"],"names":[],"mappings":"AA4BA;AAMC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAElD,MAAM,MAAM,aAAa,GAAG;IAC3B;;OAEG;IACH,MAAM,EAAE,QAAQ,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgKF,wBAAwG;AAUxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"QPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/QPopover.vue"],"names":[],"mappings":"AA4BA;AAqCA,iBAAS,cAAc;oBAsGM,GAAG;kBACL,GAAG;EAG7B;AAaD,QAAA,MAAM,eAAe;gBA7HT,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;;;kBAyI0J,IAAI;;;;;;;;;;;;kBAAJ,IAAI;;;;;;;;;;;;;;;;;;;;;gBAzI7L,OAAO,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;;;kBAyI0J,IAAI;;;;;;;;;;;;kBAAJ,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;MAHvM,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAUxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,182 +1,5 @@
1
- declare const QPopover: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
3
- modelValue: import('vue').PropType<boolean>;
4
- anchor: {
5
- type: import('vue').PropType<import('../../utils/getElement').Selector>;
6
- required: true;
7
- };
8
- html: {
9
- type: import('vue').PropType<boolean>;
10
- default: boolean;
11
- };
12
- title: {
13
- type: import('vue').PropType<string>;
14
- default: string;
15
- };
16
- text: {
17
- type: import('vue').PropType<string>;
18
- required: true;
19
- };
20
- disabled: {
21
- type: import('vue').PropType<boolean>;
22
- };
23
- placement: {
24
- type: import('vue').PropType<import('../../composables/overlay').Placement>;
25
- default: string;
26
- };
27
- arrow: {
28
- type: import('vue').PropType<boolean>;
29
- default: boolean;
30
- };
31
- attach: {
32
- type: import('vue').PropType<string>;
33
- default: string;
34
- };
35
- inline: {
36
- type: import('vue').PropType<boolean>;
37
- };
38
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
39
- modelValue: import('vue').PropType<boolean>;
40
- anchor: {
41
- type: import('vue').PropType<import('../../utils/getElement').Selector>;
42
- required: true;
43
- };
44
- html: {
45
- type: import('vue').PropType<boolean>;
46
- default: boolean;
47
- };
48
- title: {
49
- type: import('vue').PropType<string>;
50
- default: string;
51
- };
52
- text: {
53
- type: import('vue').PropType<string>;
54
- required: true;
55
- };
56
- disabled: {
57
- type: import('vue').PropType<boolean>;
58
- };
59
- placement: {
60
- type: import('vue').PropType<import('../../composables/overlay').Placement>;
61
- default: string;
62
- };
63
- arrow: {
64
- type: import('vue').PropType<boolean>;
65
- default: boolean;
66
- };
67
- attach: {
68
- type: import('vue').PropType<string>;
69
- default: string;
70
- };
71
- inline: {
72
- type: import('vue').PropType<boolean>;
73
- };
74
- }>>, {
75
- html: boolean;
76
- title: string;
77
- placement: import('../../composables/overlay').Placement;
78
- arrow: boolean;
79
- attach: string;
80
- }, true, {}, {}, {
81
- P: {};
82
- B: {};
83
- D: {};
84
- C: {};
85
- M: {};
86
- Defaults: {};
87
- }, Readonly<import('vue').ExtractPropTypes<{
88
- modelValue: import('vue').PropType<boolean>;
89
- anchor: {
90
- type: import('vue').PropType<import('../../utils/getElement').Selector>;
91
- required: true;
92
- };
93
- html: {
94
- type: import('vue').PropType<boolean>;
95
- default: boolean;
96
- };
97
- title: {
98
- type: import('vue').PropType<string>;
99
- default: string;
100
- };
101
- text: {
102
- type: import('vue').PropType<string>;
103
- required: true;
104
- };
105
- disabled: {
106
- type: import('vue').PropType<boolean>;
107
- };
108
- placement: {
109
- type: import('vue').PropType<import('../../composables/overlay').Placement>;
110
- default: string;
111
- };
112
- arrow: {
113
- type: import('vue').PropType<boolean>;
114
- default: boolean;
115
- };
116
- attach: {
117
- type: import('vue').PropType<string>;
118
- default: string;
119
- };
120
- inline: {
121
- type: import('vue').PropType<boolean>;
122
- };
123
- }>>, {}, {}, {}, {}, {
124
- html: boolean;
125
- title: string;
126
- placement: import('../../composables/overlay').Placement;
127
- arrow: boolean;
128
- attach: string;
129
- }>;
130
- __isFragment?: undefined;
131
- __isTeleport?: undefined;
132
- __isSuspense?: undefined;
133
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
134
- modelValue: import('vue').PropType<boolean>;
135
- anchor: {
136
- type: import('vue').PropType<import('../../utils/getElement').Selector>;
137
- required: true;
138
- };
139
- html: {
140
- type: import('vue').PropType<boolean>;
141
- default: boolean;
142
- };
143
- title: {
144
- type: import('vue').PropType<string>;
145
- default: string;
146
- };
147
- text: {
148
- type: import('vue').PropType<string>;
149
- required: true;
150
- };
151
- disabled: {
152
- type: import('vue').PropType<boolean>;
153
- };
154
- placement: {
155
- type: import('vue').PropType<import('../../composables/overlay').Placement>;
156
- default: string;
157
- };
158
- arrow: {
159
- type: import('vue').PropType<boolean>;
160
- default: boolean;
161
- };
162
- attach: {
163
- type: import('vue').PropType<string>;
164
- default: string;
165
- };
166
- inline: {
167
- type: import('vue').PropType<boolean>;
168
- };
169
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
170
- html: boolean;
171
- title: string;
172
- placement: import('../../composables/overlay').Placement;
173
- arrow: boolean;
174
- attach: string;
175
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
176
- $slots: {
177
- header?(_: {}): any;
178
- body?(_: {}): any;
179
- };
180
- });
1
+ import { default as _QPopover } from './QPopover';
2
+
3
+ declare const QPopover: typeof _QPopover;
181
4
  export { QPopover };
182
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAiD,CAAA;AAG/D,OAAO,EAAE,QAAQ,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/index.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AAKtC,QAAA,MAAM,QAAQ,EAAiC,OAAO,SAAS,CAAA;AAG/D,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -0,0 +1,44 @@
1
+ import { Placement } from '../../composables/overlay';
2
+ import { Selector } from '../../utils/getElement';
3
+
4
+ export type QPopoverProps = {
5
+ /**
6
+ * The DOM element the popover should be anchored to.
7
+ */
8
+ anchor: Selector;
9
+ /**
10
+ * Whether the popover has an arrow pointing to the target.
11
+ */
12
+ arrow?: boolean;
13
+ /**
14
+ * The DOM element the popover should be teleported to.
15
+ * Defaults to the body of the document.
16
+ */
17
+ attach?: string;
18
+ /**
19
+ * Whether to disable teleport.
20
+ * If enabled, the prop `attach` is ignored.
21
+ */
22
+ inline?: boolean;
23
+ /**
24
+ * Whether the popover is disabled.
25
+ */
26
+ disabled?: boolean;
27
+ /**
28
+ * Whether the popover's content is treated as HTML.
29
+ */
30
+ html?: boolean;
31
+ /**
32
+ * The placement of the popover.
33
+ */
34
+ placement?: Placement;
35
+ /**
36
+ * The text of the popover.
37
+ */
38
+ text: string;
39
+ /**
40
+ * The title of the popover.
41
+ */
42
+ title?: string;
43
+ };
44
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPopover/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAElD,MAAM,MAAM,aAAa,GAAG;IAC3B;;OAEG;IACH,MAAM,EAAE,QAAQ,CAAA;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA"}
@@ -0,0 +1,70 @@
1
+ import { QPropertyListGroupProps, QPropertyListProps, QPropertyListField, DEFAULT_ICONS, DEFAULT_TEXTS } from './types';
2
+
3
+ declare function __VLS_template(): Partial<Record<string, (_: {
4
+ field: QPropertyListField;
5
+ }) => any>> & {
6
+ panel?(_: {
7
+ field: QPropertyListField;
8
+ }): any;
9
+ };
10
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QPropertyListProps>, {
11
+ fields: () => never[];
12
+ panelPosition: string;
13
+ groups: () => never[];
14
+ class: undefined;
15
+ internals: () => {
16
+ icons: Record<string, import('..').Icon>;
17
+ texts: {
18
+ emptyMessage: string;
19
+ };
20
+ };
21
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ "field-change": (field: QPropertyListField) => void;
23
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QPropertyListProps>, {
24
+ fields: () => never[];
25
+ panelPosition: string;
26
+ groups: () => never[];
27
+ class: undefined;
28
+ internals: () => {
29
+ icons: Record<string, import('..').Icon>;
30
+ texts: {
31
+ emptyMessage: string;
32
+ };
33
+ };
34
+ }>>> & {
35
+ "onField-change"?: ((field: QPropertyListField) => any) | undefined;
36
+ }, {
37
+ class: string | unknown[];
38
+ internals: {
39
+ icons: typeof DEFAULT_ICONS;
40
+ texts: typeof DEFAULT_TEXTS;
41
+ };
42
+ groups: QPropertyListGroupProps[];
43
+ fields: QPropertyListField[];
44
+ panelPosition: import('./types').PanelPostion;
45
+ }, {}>;
46
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
47
+ export default _default;
48
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
+ type __VLS_TypePropsToRuntimeProps<T> = {
50
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
51
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
52
+ } : {
53
+ type: import('vue').PropType<T[K]>;
54
+ required: true;
55
+ };
56
+ };
57
+ type __VLS_WithDefaults<P, D> = {
58
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
59
+ default: D[K];
60
+ }> : P[K];
61
+ };
62
+ type __VLS_Prettify<T> = {
63
+ [K in keyof T]: T[K];
64
+ } & {};
65
+ type __VLS_WithTemplateSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
70
+ //# sourceMappingURL=QPropertyList.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QPropertyList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/QPropertyList.vue"],"names":[],"mappings":"AAsDA;AAMC,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAI9F,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAyHvD,iBAAS,cAAc;;MAuK+D,GAAG;;;QAE7D,GAAG;EAG9B;AAsBD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,146 @@
1
+ import { defineComponent as x, ref as d, computed as g, openBlock as n, createElementBlock as u, normalizeClass as v, createElementVNode as i, Fragment as p, renderList as _, createBlock as c, unref as f, createCommentVNode as y, withCtx as h, renderSlot as F } from "vue";
2
+ import { QPropertyListGroup as G, QPropertyListRow as Q, QPropertyListPanel as A } from "./index.js";
3
+ import { DEFAULT_ICONS as N, DEFAULT_TEXTS as O } from "./types.js";
4
+ const S = { class: "q-property-list__table" }, V = /* @__PURE__ */ i(
5
+ "thead",
6
+ { class: "q-property-list__header" },
7
+ [
8
+ /* @__PURE__ */ i("tr", null, [
9
+ /* @__PURE__ */ i("th", { colspan: "2" })
10
+ ])
11
+ ],
12
+ -1
13
+ /* HOISTED */
14
+ ), z = /* @__PURE__ */ x({
15
+ __name: "QPropertyList",
16
+ props: {
17
+ fields: { default: () => [] },
18
+ noPanel: { type: Boolean },
19
+ noToggle: { type: Boolean },
20
+ panelPosition: { default: "bottom" },
21
+ groups: { default: () => [] },
22
+ class: { default: void 0 },
23
+ internals: { default: () => ({
24
+ icons: N,
25
+ texts: O
26
+ }) },
27
+ readonly: { type: Boolean }
28
+ },
29
+ emits: ["field-change"],
30
+ setup(k, { emit: P }) {
31
+ const t = k, C = P, a = d(t.groups.map((e) => e.id)), l = d(void 0), m = d(null), L = g(() => t.groups.length ? t.groups.filter(
32
+ (e) => t.fields.some((o) => o.group === e.id)
33
+ ) : [{ id: "", title: "" }]), T = g(() => [
34
+ t.class,
35
+ {
36
+ "q-property-list--side-panel": t.panelPosition === "right"
37
+ }
38
+ ]);
39
+ function q() {
40
+ var e;
41
+ (e = m.value) != null && e.contains(document.activeElement) || (l.value = void 0);
42
+ }
43
+ function B(e) {
44
+ return e ? t.fields.filter((o) => o.group === e) : t.fields;
45
+ }
46
+ function E(e) {
47
+ const o = a.value.indexOf(e);
48
+ o === -1 ? a.value.push(e) : a.value.splice(o, 1);
49
+ }
50
+ function R(e) {
51
+ var o;
52
+ return [
53
+ {
54
+ "q-property-list__row--closed": e.group && !a.value.includes(e.group),
55
+ "q-property-list__row--selected": ((o = l.value) == null ? void 0 : o.id) === e.id
56
+ }
57
+ ];
58
+ }
59
+ function b(e) {
60
+ l.value = e;
61
+ }
62
+ function w(e, o) {
63
+ t.readonly || (e.props.readonly ?? !1) || (e.props.modelValue = o, C("field-change", e));
64
+ }
65
+ return (e, o) => (n(), u(
66
+ "div",
67
+ {
68
+ tabindex: "0",
69
+ class: v(["q-property-list", T.value]),
70
+ ref_key: "componentRoot",
71
+ ref: m,
72
+ onFocusout: q
73
+ },
74
+ [
75
+ i("table", S, [
76
+ V,
77
+ i("tbody", null, [
78
+ (n(!0), u(
79
+ p,
80
+ null,
81
+ _(L.value, (r) => (n(), u(
82
+ p,
83
+ {
84
+ key: r.id
85
+ },
86
+ [
87
+ r.title ? (n(), c(f(G), {
88
+ key: 0,
89
+ id: r.id,
90
+ title: r.title,
91
+ internals: t.internals,
92
+ "no-toggle": t.noToggle,
93
+ onToggleGroup: E
94
+ }, null, 8, ["id", "title", "internals", "no-toggle"])) : y("v-if", !0),
95
+ (n(!0), u(
96
+ p,
97
+ null,
98
+ _(B(r.id), (s) => (n(), c(f(Q), {
99
+ key: s.id,
100
+ class: v(R(s)),
101
+ field: s,
102
+ readonly: t.readonly,
103
+ onFocus: b,
104
+ onFieldChange: w
105
+ }, {
106
+ default: h(() => [
107
+ F(e.$slots, s.id, { field: s })
108
+ ]),
109
+ _: 2
110
+ /* DYNAMIC */
111
+ }, 1032, ["class", "field", "readonly"]))),
112
+ 128
113
+ /* KEYED_FRAGMENT */
114
+ ))
115
+ ],
116
+ 64
117
+ /* STABLE_FRAGMENT */
118
+ ))),
119
+ 128
120
+ /* KEYED_FRAGMENT */
121
+ ))
122
+ ])
123
+ ]),
124
+ t.noPanel ? y("v-if", !0) : (n(), c(f(A), {
125
+ key: 0,
126
+ internals: t.internals,
127
+ field: l.value
128
+ }, {
129
+ default: h(() => [
130
+ l.value ? F(e.$slots, "panel", {
131
+ key: 0,
132
+ field: l.value
133
+ }) : y("v-if", !0)
134
+ ]),
135
+ _: 3
136
+ /* FORWARDED */
137
+ }, 8, ["internals", "field"]))
138
+ ],
139
+ 34
140
+ /* CLASS, NEED_HYDRATION */
141
+ ));
142
+ }
143
+ });
144
+ export {
145
+ z as default
146
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./QPropertyList.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,48 @@
1
+ import { QPropertyListGroupProps, DEFAULT_ICONS, DEFAULT_TEXTS } from './types';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QPropertyListGroupProps>, {
4
+ noToggle: boolean;
5
+ internals: () => {
6
+ icons: Record<string, import('../QIcon').Icon>;
7
+ texts: {
8
+ emptyMessage: string;
9
+ };
10
+ };
11
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "toggle-group": (id: string) => void;
13
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<QPropertyListGroupProps>, {
14
+ noToggle: boolean;
15
+ internals: () => {
16
+ icons: Record<string, import('../QIcon').Icon>;
17
+ texts: {
18
+ emptyMessage: string;
19
+ };
20
+ };
21
+ }>>> & {
22
+ "onToggle-group"?: ((id: string) => any) | undefined;
23
+ }, {
24
+ internals: {
25
+ icons: typeof DEFAULT_ICONS;
26
+ texts: typeof DEFAULT_TEXTS;
27
+ };
28
+ noToggle: boolean;
29
+ }, {}>;
30
+ export default _default;
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ type __VLS_TypePropsToRuntimeProps<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: import('vue').PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
40
+ type __VLS_WithDefaults<P, D> = {
41
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
+ default: D[K];
43
+ }> : P[K];
44
+ };
45
+ type __VLS_Prettify<T> = {
46
+ [K in keyof T]: T[K];
47
+ } & {};
48
+ //# sourceMappingURL=QPropertyListGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QPropertyListGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/QPropertyListGroup.vue"],"names":[],"mappings":"AAuBA;AAQC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAGtD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0JvD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}