@quidgest/ui 0.14.0 → 0.14.1

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 (117) hide show
  1. package/dist/ui.css +4 -0
  2. package/dist/ui.esm.js +693 -686
  3. package/dist/ui.js +4 -4
  4. package/dist/ui.min.js +51 -51
  5. package/dist/ui.scss +1053 -1049
  6. package/esm/components/QBadge/QBadge.d.ts +14 -41
  7. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  8. package/esm/components/QBadge/QBadge.vue.js +33 -33
  9. package/esm/components/QBadge/index.d.ts +0 -1
  10. package/esm/components/QBadge/types.d.ts +6 -7
  11. package/esm/components/QBadge/types.d.ts.map +1 -1
  12. package/esm/components/QButton/QButton.d.ts +12 -35
  13. package/esm/components/QButton/QButton.d.ts.map +1 -1
  14. package/esm/components/QButton/index.d.ts +0 -1
  15. package/esm/components/QButtonGroup/QButtonGroup.d.ts +9 -26
  16. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  17. package/esm/components/QButtonGroup/index.d.ts +0 -1
  18. package/esm/components/QButtonToggle/QButtonToggle.d.ts +17 -47
  19. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  20. package/esm/components/QButtonToggle/index.d.ts +0 -1
  21. package/esm/components/QCombobox/QCombobox.d.ts +373 -485
  22. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  23. package/esm/components/QCombobox/QCombobox.vue.js +92 -87
  24. package/esm/components/QCombobox/index.d.ts +0 -1
  25. package/esm/components/QCombobox/types.d.ts +9 -8
  26. package/esm/components/QCombobox/types.d.ts.map +1 -1
  27. package/esm/components/QCombobox/types.js +3 -1
  28. package/esm/components/QDialog/QDialog.d.ts +21 -109
  29. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  30. package/esm/components/QDialog/QDialog.vue.js +16 -16
  31. package/esm/components/QDialog/index.d.ts +0 -1
  32. package/esm/components/QDialog/types.d.ts +6 -8
  33. package/esm/components/QDialog/types.d.ts.map +1 -1
  34. package/esm/components/QField/QField.d.ts +18 -41
  35. package/esm/components/QField/QField.d.ts.map +1 -1
  36. package/esm/components/QField/index.d.ts +0 -1
  37. package/esm/components/QIcon/InlineSvg.d.ts +6 -6
  38. package/esm/components/QIcon/QIcon.d.ts +2 -28
  39. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  40. package/esm/components/QIcon/QIconFont.d.ts +2 -30
  41. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  42. package/esm/components/QIcon/QIconImg.d.ts +1 -11
  43. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  44. package/esm/components/QIcon/QIconSvg.d.ts +6 -32
  45. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  46. package/esm/components/QIcon/index.d.ts +0 -1
  47. package/esm/components/QInputGroup/QInputGroup.d.ts +12 -39
  48. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  49. package/esm/components/QInputGroup/index.d.ts +0 -1
  50. package/esm/components/QInputGroup/types.d.ts +0 -1
  51. package/esm/components/QLineLoader/QLineLoader.d.ts +2 -24
  52. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  53. package/esm/components/QLineLoader/index.d.ts +0 -1
  54. package/esm/components/QList/QList.d.ts +22 -72
  55. package/esm/components/QList/QList.d.ts.map +1 -1
  56. package/esm/components/QList/QListItem.d.ts +14 -39
  57. package/esm/components/QList/QListItem.d.ts.map +1 -1
  58. package/esm/components/QList/QListItem.vue.js +5 -5
  59. package/esm/components/QList/QListItemGroup.d.ts +9 -26
  60. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  61. package/esm/components/QList/index.d.ts +0 -1
  62. package/esm/components/QList/types.d.ts +5 -7
  63. package/esm/components/QList/types.d.ts.map +1 -1
  64. package/esm/components/QOverlay/QOverlay.d.ts +23 -141
  65. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  66. package/esm/components/QOverlay/index.d.ts +0 -1
  67. package/esm/components/QOverlay/types.d.ts +0 -1
  68. package/esm/components/QPopover/QPopover.d.ts +19 -77
  69. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  70. package/esm/components/QPopover/index.d.ts +0 -1
  71. package/esm/components/QPopover/types.d.ts +0 -1
  72. package/esm/components/QPropertyList/QPropertyList.d.ts +28 -56
  73. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  74. package/esm/components/QPropertyList/QPropertyList.vue.js +61 -62
  75. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +7 -44
  76. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
  77. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +22 -26
  78. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +11 -43
  79. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
  80. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +14 -16
  81. package/esm/components/QPropertyList/QPropertyListRow.d.ts +12 -17
  82. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
  83. package/esm/components/QPropertyList/index.d.ts +0 -1
  84. package/esm/components/QPropertyList/types.d.ts +70 -34
  85. package/esm/components/QPropertyList/types.d.ts.map +1 -1
  86. package/esm/components/QSelect/QSelect.d.ts +199 -147
  87. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  88. package/esm/components/QSelect/QSelect.vue.js +130 -125
  89. package/esm/components/QSelect/index.d.ts +0 -1
  90. package/esm/components/QSelect/types.d.ts +9 -8
  91. package/esm/components/QSelect/types.d.ts.map +1 -1
  92. package/esm/components/QSelect/types.js +5 -3
  93. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +2 -28
  94. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  95. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +19 -19
  96. package/esm/components/QSkeletonLoader/index.d.ts +0 -1
  97. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +2 -26
  98. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  99. package/esm/components/QSpinnerLoader/index.d.ts +0 -1
  100. package/esm/components/QTextField/QTextField.d.ts +100 -96
  101. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  102. package/esm/components/QTextField/index.d.ts +0 -1
  103. package/esm/components/QTextField/types.d.ts +0 -1
  104. package/esm/components/QThemeProvider/QThemeProvider.d.ts +8 -13
  105. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  106. package/esm/components/QThemeProvider/index.d.ts +0 -1
  107. package/esm/components/QTooltip/QTooltip.d.ts +23 -121
  108. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  109. package/esm/components/QTooltip/index.d.ts +0 -1
  110. package/esm/components/QTooltip/types.d.ts +0 -1
  111. package/esm/composables/defaults.d.ts +0 -1
  112. package/esm/composables/theme.d.ts +0 -1
  113. package/esm/framework.d.ts +0 -1
  114. package/esm/templates/theme.d.ts +0 -1
  115. package/esm/utils/setupPropsProxy.d.ts +0 -1
  116. package/esm/utils/theme.d.ts +0 -1
  117. package/package.json +31 -31
@@ -3,7 +3,6 @@ import { default as _QPropertyListRow } from './QPropertyListRow';
3
3
  import { default as _QPropertyListGroup } from './QPropertyListGroup';
4
4
  import { default as _QPropertyListPanel } from './QPropertyListPanel';
5
5
  import { QPropertyListProps, QPropertyListRowProps, QPropertyListGroupProps, QPropertyListPanelProps } from './types';
6
-
7
6
  declare const QPropertyList: typeof _QPropertyList;
8
7
  declare const QPropertyListRow: typeof _QPropertyListRow;
9
8
  declare const QPropertyListGroup: typeof _QPropertyListGroup;
@@ -1,101 +1,137 @@
1
1
  import { Icon } from '../QIcon';
2
- import { Component } from 'vue';
3
-
4
- export type PanelPostion = 'bottom' | 'right';
2
+ import { Component, PropType } from 'vue';
3
+ /**
4
+ * Position where the panel should be rendered relative to the main content
5
+ * @value 'bottom' - Panel appears below the main content
6
+ * @value 'right' - Panel appears to the right of the main content
7
+ */
8
+ export type PanelPosition = 'bottom' | 'right';
5
9
  export type QPropertyListProps = {
6
10
  /**
7
- * List of fields to be rendered
11
+ * Array of field configurations that define the content and behavior
12
+ * of each property list item
8
13
  */
9
14
  fields?: QPropertyListField[];
10
15
  /**
11
- * Disables/Enables the description panel
16
+ * When true, hides the description panel that displays additional field information.
12
17
  */
13
18
  noPanel?: boolean;
14
19
  /**
15
- * Decides if the groups have the toggle functionality
20
+ * When true, disables the ability to expand/collapse property groups.
16
21
  */
17
22
  noToggle?: boolean;
18
23
  /**
19
- * Decides the panel positioning (bottom, right)
24
+ * Determines the layout position of the description panel.
20
25
  */
21
- panelPosition?: PanelPostion;
26
+ panelPosition?: PanelPosition;
22
27
  /**
23
- * The row groups used for organizing the available fields.
28
+ * Configuration for property groups used to organize and categorize fields.
24
29
  */
25
30
  groups?: QPropertyListGroupProps[];
26
31
  /**
27
- * Custom set of classes to apply to the component.
32
+ * Custom CSS classes to apply to the root element.
28
33
  */
29
34
  class?: string | unknown[];
30
35
  /**
31
- * The internal elements of the component
36
+ * When true, renders all fields in a read-only state preventing user interaction.
32
37
  */
33
- internals?: Internals;
38
+ readonly?: boolean;
34
39
  /**
35
- * Decides if the component is readonly
40
+ * Custom icon configurations.
36
41
  */
37
- readonly?: boolean;
42
+ icons?: typeof DEFAULT_ICONS;
43
+ /**
44
+ * Custom text configurations.
45
+ */
46
+ texts?: typeof DEFAULT_TEXTS;
38
47
  };
39
48
  export type QPropertyListGroupProps = {
40
49
  /**
41
- * The group id
50
+ * Unique identifier for the property group.
42
51
  */
43
52
  id: string;
44
53
  /**
45
- * The group title
54
+ * Display title for the group header.
46
55
  */
47
56
  title: string;
48
57
  /**
49
- * Decided if the group has toggle functionality
58
+ * When true, disables the expand/collapse functionality for this specific group,
59
+ * keeping it permanently expanded.
50
60
  */
51
61
  noToggle?: boolean;
52
62
  /**
53
- * The internal elements of the component
63
+ * Custom icon configurations.
64
+ */
65
+ icons?: typeof DEFAULT_ICONS;
66
+ /**
67
+ * Custom text configurations.
54
68
  */
55
- internals?: Internals;
69
+ texts?: typeof DEFAULT_TEXTS;
56
70
  };
57
71
  export type QPropertyListField = {
72
+ /**
73
+ * Unique identifier for the field.
74
+ */
58
75
  id: string;
76
+ /**
77
+ * Associates the field with a specific group.
78
+ */
59
79
  group?: string;
80
+ /**
81
+ * Display label that appears above the field input.
82
+ */
60
83
  label: string;
84
+ /**
85
+ * Additional explanatory text shown below the field.
86
+ */
61
87
  description?: string;
62
- component: string | Component;
88
+ /**
89
+ * Component responsible for rendering the field's input element.
90
+ * Can be specified as either:
91
+ * - A string identifier for a registered component
92
+ * - A direct component reference
93
+ */
94
+ component: PropType<string | Component>;
95
+ /**
96
+ * Configuration object passed as props to the rendered component.
97
+ * Supports any valid props accepted by the specified component.
98
+ * @example { placeholder: 'Enter value', disabled: false }
99
+ */
63
100
  props: Record<string, unknown>;
64
101
  };
65
102
  export type QPropertyListRowProps = {
66
103
  /**
67
- * The field to be rendered
104
+ * Configuration object for the field to be rendered within this row.
68
105
  */
69
106
  field: QPropertyListField;
70
107
  /**
71
- * Custom set of classes to apply to the component.
108
+ * Custom CSS classes to apply to the row element.
72
109
  */
73
110
  class?: string | unknown[];
74
111
  /**
75
- * Decides if the row is readonly
112
+ * When true, renders the field in a read-only state preventing user interaction.
76
113
  */
77
114
  readonly?: boolean;
78
115
  };
79
116
  export type QPropertyListPanelProps = {
80
117
  /**
81
- * The field to be rendered
118
+ * Configuration object for the currently selected field to display
119
+ * in the description panel.
82
120
  */
83
121
  field?: QPropertyListField;
84
122
  /**
85
- * Necessary strings to be used in the component.
123
+ * Custom icon configurations.
124
+ */
125
+ icons?: typeof DEFAULT_ICONS;
126
+ /**
127
+ * Custom text configurations.
86
128
  */
87
- internals?: Internals;
129
+ texts?: typeof DEFAULT_TEXTS;
88
130
  };
89
131
  export declare const DEFAULT_TEXTS: {
90
132
  emptyMessage: string;
91
133
  };
92
- export type texts = {
93
- texts: typeof DEFAULT_TEXTS;
94
- };
95
- export declare const DEFAULT_ICONS: Record<string, Icon>;
96
- type Internals = {
97
- icons: typeof DEFAULT_ICONS;
98
- texts: typeof DEFAULT_TEXTS;
99
- };
134
+ type IconKeys = 'open' | 'close';
135
+ export declare const DEFAULT_ICONS: Record<IconKeys, Icon>;
100
136
  export {};
101
137
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QPropertyList/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE7C,MAAM,MAAM,kBAAkB,GAAG;IAChC;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAE7B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,YAAY,CAAA;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,uBAAuB,EAAE,CAAA;IAElC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,EAAE,CAAA;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;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AAG,OAAO,EAAE,CAAA;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG;IACrC;;;OAGG;IACH,KAAK,CAAC,EAAE,kBAAkB,CAAA;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,aAAa;;CAEzB,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAA;AAGhC,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,QAAQ,EAAE,IAAI,CAOhD,CAAA"}
@@ -1,158 +1,209 @@
1
+ import { QSelectProps, DEFAULT_ICONS, DEFAULT_TEXTS } from './types';
1
2
  import { Primitive } from '../../types/primitive';
2
-
3
+ import { nextTick } from 'vue';
4
+ declare let __VLS_typeProps: QSelectProps;
5
+ type __VLS_PublicProps = {
6
+ modelValue?: any;
7
+ } & typeof __VLS_typeProps;
3
8
  declare function __VLS_template(): {
4
- prepend?(_: {}): any;
5
- append?(_: {}): any;
6
- extras?(_: {}): any;
7
- "body.prepend"?(_: {}): any;
8
- item?(_: {
9
- item: import('../QList/types').Item;
10
- }): any;
11
- "body.append"?(_: {}): any;
12
- };
13
- declare const __VLS_component: import('vue').DefineComponent<{
14
- modelValue: import('vue').PropType<any>;
15
- size: {
16
- type: import('vue').PropType<import('../QField').QFieldSize>;
17
- default: undefined;
18
- };
19
- class: {
20
- type: import('vue').PropType<string | unknown[]>;
21
- default: string;
22
- };
23
- label: {
24
- type: import('vue').PropType<string>;
25
- default: string;
26
- };
27
- disabled: {
28
- type: import('vue').PropType<boolean>;
29
- };
30
- loading: {
31
- type: import('vue').PropType<boolean>;
32
- };
33
- required: {
34
- type: import('vue').PropType<boolean>;
35
- };
36
- internals: {
37
- type: import('vue').PropType<import('./types').Internals>;
38
- default: () => {
39
- icons: Record<string, import('../QIcon').Icon>;
40
- texts: Record<string, string>;
41
- };
42
- };
43
- items: {
44
- type: import('vue').PropType<(Omit<import('../QList').QListItemProps, "label" | "value"> & {
45
- [key: string]: any;
46
- })[]>;
47
- required: true;
48
- };
49
- groups: {
50
- type: import('vue').PropType<(import('../QList').QListItemGroupProps & {
9
+ slots: {
10
+ prepend?(_: {}): any;
11
+ append?(_: {}): any;
12
+ extras?(_: {}): any;
13
+ "body.prepend"?(_: {}): any;
14
+ item?(_: {
15
+ item: import('../QList/types').Item;
16
+ }): any;
17
+ "body.append"?(_: {}): any;
18
+ };
19
+ refs: {
20
+ triggerEl: ({
21
+ $: import('vue').ComponentInternalInstance;
22
+ $data: {};
23
+ $props: {
24
+ readonly id?: string | undefined;
25
+ readonly label?: string | undefined;
26
+ readonly for?: string | undefined;
27
+ readonly size?: import('../QField').QFieldSize | undefined;
28
+ readonly readonly?: boolean | undefined;
29
+ readonly disabled?: boolean | undefined;
30
+ readonly required?: boolean | undefined;
31
+ readonly class?: (string | unknown[]) | undefined;
32
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
33
+ $attrs: {
34
+ [x: string]: unknown;
35
+ };
36
+ $refs: {
37
+ [x: string]: unknown;
38
+ };
39
+ $slots: Readonly<{
40
+ [name: string]: import('vue').Slot<any> | undefined;
41
+ }>;
42
+ $root: import('vue').ComponentPublicInstance | null;
43
+ $parent: import('vue').ComponentPublicInstance | null;
44
+ $host: Element | null;
45
+ $emit: (event: string, ...args: any[]) => void;
46
+ $el: any;
47
+ $options: import('vue').ComponentOptionsBase<Readonly<import('../QField').QFieldProps> & Readonly<{}>, {
48
+ fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
49
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
50
+ size: import('../QField').QFieldSize;
51
+ class: string | unknown[];
52
+ label: string;
53
+ id: string;
54
+ for: string;
55
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
56
+ beforeCreate?: (() => void) | (() => void)[];
57
+ created?: (() => void) | (() => void)[];
58
+ beforeMount?: (() => void) | (() => void)[];
59
+ mounted?: (() => void) | (() => void)[];
60
+ beforeUpdate?: (() => void) | (() => void)[];
61
+ updated?: (() => void) | (() => void)[];
62
+ activated?: (() => void) | (() => void)[];
63
+ deactivated?: (() => void) | (() => void)[];
64
+ beforeDestroy?: (() => void) | (() => void)[];
65
+ beforeUnmount?: (() => void) | (() => void)[];
66
+ destroyed?: (() => void) | (() => void)[];
67
+ unmounted?: (() => void) | (() => void)[];
68
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
69
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
70
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
71
+ };
72
+ $forceUpdate: () => void;
73
+ $nextTick: typeof nextTick;
74
+ $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;
75
+ } & Readonly<{
76
+ size: import('../QField').QFieldSize;
77
+ class: string | unknown[];
78
+ label: string;
51
79
  id: string;
52
- })[]>;
53
- default: () => never[];
54
- };
55
- itemValue: {
56
- type: import('vue').PropType<string>;
57
- default: string;
58
- };
59
- itemLabel: {
60
- type: import('vue').PropType<string>;
61
- default: string;
62
- };
63
- id: {
64
- type: import('vue').PropType<string>;
65
- default: undefined;
66
- };
67
- readonly: {
68
- type: import('vue').PropType<boolean>;
69
- };
70
- clearable: {
71
- type: import('vue').PropType<boolean>;
72
- };
73
- emptyValue: {
74
- type: import('vue').PropType<Primitive>;
75
- default: undefined;
76
- };
77
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
78
- "before-show": () => void;
79
- "before-hide": () => void;
80
- show: () => void;
81
- hide: () => void;
82
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
83
- modelValue: import('vue').PropType<any>;
84
- size: {
85
- type: import('vue').PropType<import('../QField').QFieldSize>;
86
- default: undefined;
87
- };
88
- class: {
89
- type: import('vue').PropType<string | unknown[]>;
90
- default: string;
91
- };
92
- label: {
93
- type: import('vue').PropType<string>;
94
- default: string;
95
- };
96
- disabled: {
97
- type: import('vue').PropType<boolean>;
98
- };
99
- loading: {
100
- type: import('vue').PropType<boolean>;
101
- };
102
- required: {
103
- type: import('vue').PropType<boolean>;
104
- };
105
- internals: {
106
- type: import('vue').PropType<import('./types').Internals>;
107
- default: () => {
108
- icons: Record<string, import('../QIcon').Icon>;
109
- texts: Record<string, string>;
110
- };
111
- };
112
- items: {
113
- type: import('vue').PropType<(Omit<import('../QList').QListItemProps, "label" | "value"> & {
114
- [key: string]: any;
115
- })[]>;
116
- required: true;
117
- };
118
- groups: {
119
- type: import('vue').PropType<(import('../QList').QListItemGroupProps & {
120
- id: string;
121
- })[]>;
122
- default: () => never[];
123
- };
124
- itemValue: {
125
- type: import('vue').PropType<string>;
126
- default: string;
127
- };
128
- itemLabel: {
129
- type: import('vue').PropType<string>;
130
- default: string;
131
- };
132
- id: {
133
- type: import('vue').PropType<string>;
134
- default: undefined;
135
- };
136
- readonly: {
137
- type: import('vue').PropType<boolean>;
138
- };
139
- clearable: {
140
- type: import('vue').PropType<boolean>;
141
- };
142
- emptyValue: {
143
- type: import('vue').PropType<Primitive>;
144
- default: undefined;
145
- };
146
- }>> & {
80
+ for: string;
81
+ }> & Omit<Readonly<import('../QField').QFieldProps> & Readonly<{}>, "fieldRef" | ("size" | "class" | "label" | "id" | "for")> & import('vue').ShallowUnwrapRef<{
82
+ fieldRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
83
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
84
+ $slots: {
85
+ "label.prepend"?(_: {}): any;
86
+ "label.append"?(_: {}): any;
87
+ control?(_: {}): any;
88
+ prepend?(_: {}): any;
89
+ default?(_: {}): any;
90
+ append?(_: {}): any;
91
+ extras?(_: {}): any;
92
+ };
93
+ }) | null;
94
+ contentRef: HTMLDivElement;
95
+ listRef: ({
96
+ $: import('vue').ComponentInternalInstance;
97
+ $data: {};
98
+ $props: {
99
+ readonly modelValue?: any;
100
+ readonly highlighted?: Primitive | undefined;
101
+ readonly items: import('../QList/types').Item[];
102
+ readonly groups?: import('../QList/types').Group[] | undefined;
103
+ readonly itemValue?: string | undefined;
104
+ readonly itemLabel?: string | undefined;
105
+ readonly disabled?: boolean | undefined;
106
+ readonly class?: (string | unknown[]) | undefined;
107
+ readonly selectable?: boolean | undefined;
108
+ readonly "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
109
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
110
+ $attrs: {
111
+ [x: string]: unknown;
112
+ };
113
+ $refs: {
114
+ [x: string]: unknown;
115
+ };
116
+ $slots: Readonly<{
117
+ [name: string]: import('vue').Slot<any> | undefined;
118
+ }>;
119
+ $root: import('vue').ComponentPublicInstance | null;
120
+ $parent: import('vue').ComponentPublicInstance | null;
121
+ $host: Element | null;
122
+ $emit: (event: "update:modelValue", modelValue: any) => void;
123
+ $el: any;
124
+ $options: import('vue').ComponentOptionsBase<Readonly<{
125
+ modelValue?: any;
126
+ } & import('../QList').QListProps> & Readonly<{
127
+ "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
128
+ }>, {
129
+ focusItem: (itemIdx: number, preventScroll?: boolean) => void;
130
+ getItem: (idx: number) => HTMLElement | undefined;
131
+ getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
132
+ getFirstFocusableItemIndex: () => number;
133
+ getLastFocusableItemIndex: () => number;
134
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
135
+ "update:modelValue": (modelValue: any) => any;
136
+ }, string, {
137
+ class: string | unknown[];
138
+ highlighted: Primitive;
139
+ groups: import('../QList/types').Group[];
140
+ itemValue: string;
141
+ itemLabel: string;
142
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
143
+ beforeCreate?: (() => void) | (() => void)[];
144
+ created?: (() => void) | (() => void)[];
145
+ beforeMount?: (() => void) | (() => void)[];
146
+ mounted?: (() => void) | (() => void)[];
147
+ beforeUpdate?: (() => void) | (() => void)[];
148
+ updated?: (() => void) | (() => void)[];
149
+ activated?: (() => void) | (() => void)[];
150
+ deactivated?: (() => void) | (() => void)[];
151
+ beforeDestroy?: (() => void) | (() => void)[];
152
+ beforeUnmount?: (() => void) | (() => void)[];
153
+ destroyed?: (() => void) | (() => void)[];
154
+ unmounted?: (() => void) | (() => void)[];
155
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
156
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
157
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
158
+ };
159
+ $forceUpdate: () => void;
160
+ $nextTick: typeof nextTick;
161
+ $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;
162
+ } & Readonly<{
163
+ class: string | unknown[];
164
+ highlighted: Primitive;
165
+ groups: import('../QList/types').Group[];
166
+ itemValue: string;
167
+ itemLabel: string;
168
+ }> & Omit<Readonly<{
169
+ modelValue?: any;
170
+ } & import('../QList').QListProps> & Readonly<{
171
+ "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
172
+ }>, "focusItem" | "getItem" | "getAdjacentItemIndex" | "getFirstFocusableItemIndex" | "getLastFocusableItemIndex" | ("class" | "highlighted" | "groups" | "itemValue" | "itemLabel")> & import('vue').ShallowUnwrapRef<{
173
+ focusItem: (itemIdx: number, preventScroll?: boolean) => void;
174
+ getItem: (idx: number) => HTMLElement | undefined;
175
+ getAdjacentItemIndex: (idx: number, direction: "next" | "prev") => number;
176
+ getFirstFocusableItemIndex: () => number;
177
+ getLastFocusableItemIndex: () => number;
178
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
179
+ $slots: {
180
+ item?(_: {
181
+ item: import('../QList/types').Item;
182
+ }): any;
183
+ };
184
+ }) | null;
185
+ };
186
+ attrs: Partial<{}>;
187
+ };
188
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
189
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
190
+ "update:modelValue": (modelValue: any) => any;
191
+ } & {
192
+ "before-show": () => any;
193
+ "before-hide": () => any;
194
+ show: () => any;
195
+ hide: () => any;
196
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
197
+ "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
147
198
  "onBefore-show"?: (() => any) | undefined;
148
199
  "onBefore-hide"?: (() => any) | undefined;
149
200
  onShow?: (() => any) | undefined;
150
201
  onHide?: (() => any) | undefined;
151
- }, {
202
+ }>, {
152
203
  size: import('../QField').QFieldSize;
153
204
  class: string | unknown[];
154
205
  label: string;
155
- internals: import('./types').Internals;
206
+ icons: typeof DEFAULT_ICONS;
156
207
  groups: (import('../QList').QListItemGroupProps & {
157
208
  id: string;
158
209
  })[];
@@ -160,8 +211,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
160
211
  itemLabel: string;
161
212
  id: string;
162
213
  emptyValue: Primitive;
163
- }, {}>;
164
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
214
+ texts: typeof DEFAULT_TEXTS;
215
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
216
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
165
217
  export default _default;
166
218
  type __VLS_WithTemplateSlots<T, S> = T & {
167
219
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"QSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/QSelect.vue"],"names":[],"mappings":"AAwHA;AAYC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAqNnD,iBAAS,cAAc;qBAqVO,GAAG;oBACJ,GAAG;oBACH,GAAG;4BACK,GAAG;;;QACZ,GAAG;2BACM,GAAG;EAGvC;AAkCD,QAAA,MAAM,eAAe;gBArYT,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkZ8J,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAlZ7L,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkZ8J,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
+ {"version":3,"file":"QSelect.vue.d.ts","sourceRoot":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