rtcpts 0.0.75 → 0.0.77

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 (70) hide show
  1. package/dist/component-types.d.ts +8 -0
  2. package/dist/components/j-c-copy/types.d.ts +5 -6
  3. package/dist/components/j-c-duo-list-editor/types.d.ts +6 -5
  4. package/dist/components/j-c-editable-proxy/index.d.ts +7 -6
  5. package/dist/components/j-c-editable-proxy/types.d.ts +5 -4
  6. package/dist/components/j-c-fallback/types.d.ts +5 -6
  7. package/dist/components/j-c-foldable-list/types.d.ts +5 -6
  8. package/dist/components/j-c-format-lookup/types.d.ts +5 -6
  9. package/dist/components/j-c-list-editor/types.d.ts +5 -4
  10. package/dist/components/j-c-more-menu/index.d.ts +7 -6
  11. package/dist/components/j-c-more-menu/types.d.ts +7 -4
  12. package/dist/components/j-c-nested-select/types.d.ts +24 -2
  13. package/dist/components/j-c-org-select/types.d.ts +5 -4
  14. package/dist/components/j-c-permission/index.d.ts +2 -3
  15. package/dist/components/j-c-permission/types.d.ts +11 -11
  16. package/dist/components/j-c-platform/types.d.ts +5 -6
  17. package/dist/components/j-c-table/types.d.ts +5 -6
  18. package/dist/components/j-c-tabs/types.d.ts +5 -4
  19. package/dist/components/j-c-title-line/types.d.ts +5 -6
  20. package/dist/components/j-c-tooltip/types.d.ts +5 -3
  21. package/dist/components/j-c-tooltip-ellipsis/types.d.ts +5 -3
  22. package/dist/components/j-c-tree/component.d.ts +277 -0
  23. package/dist/components/j-c-tree/types.d.ts +6 -4
  24. package/dist/components/j-c-tree-select/types.d.ts +5 -4
  25. package/dist/components/j-ch-bar/types.d.ts +6 -6
  26. package/dist/components/j-ch-bar-line/types.d.ts +6 -3
  27. package/dist/components/j-ch-bubble/types.d.ts +6 -3
  28. package/dist/components/j-ch-line/types.d.ts +11 -3
  29. package/dist/components/j-ch-pie-doughnut/types.d.ts +6 -3
  30. package/dist/components/j-ch-radar/types.d.ts +6 -3
  31. package/dist/components/j-q-autocomplete/types.d.ts +6 -4
  32. package/dist/components/j-q-button/types.d.ts +6 -4
  33. package/dist/components/j-q-button-dropdown/types.d.ts +6 -4
  34. package/dist/components/j-q-checkbox/types.d.ts +6 -4
  35. package/dist/components/j-q-confirm/types.d.ts +6 -4
  36. package/dist/components/j-q-confirm-dialog/component.d.ts +335 -0
  37. package/dist/components/j-q-confirm-dialog/index.d.ts +0 -321
  38. package/dist/components/j-q-confirm-dialog/types.d.ts +79 -1
  39. package/dist/components/j-q-date/types.d.ts +7 -4
  40. package/dist/components/j-q-date-month/types.d.ts +6 -4
  41. package/dist/components/j-q-date-year/types.d.ts +6 -4
  42. package/dist/components/j-q-datetime/types.d.ts +7 -7
  43. package/dist/components/j-q-detail-list/types.d.ts +6 -3
  44. package/dist/components/j-q-dialog/component.d.ts +409 -0
  45. package/dist/components/j-q-dialog/types.d.ts +4 -3
  46. package/dist/components/j-q-file/types.d.ts +3 -3
  47. package/dist/components/j-q-form-label/types.d.ts +6 -4
  48. package/dist/components/j-q-input/types.d.ts +6 -4
  49. package/dist/components/j-q-input-recognize/types.d.ts +6 -4
  50. package/dist/components/j-q-new-value/types.d.ts +6 -4
  51. package/dist/components/j-q-option-group/types.d.ts +6 -4
  52. package/dist/components/j-q-pagination/component.d.ts +92 -0
  53. package/dist/components/j-q-pagination/types.d.ts +6 -4
  54. package/dist/components/j-q-popover/types.d.ts +6 -4
  55. package/dist/components/j-q-search-form/types.d.ts +6 -4
  56. package/dist/components/j-q-select/types.d.ts +6 -4
  57. package/dist/components/j-q-table/index.d.ts +5 -2
  58. package/dist/components/j-q-table/types.d.ts +6 -4
  59. package/dist/components/j-q-tooltip/types.d.ts +6 -4
  60. package/dist/global.d.ts +115 -190
  61. package/dist/index.css +1 -1
  62. package/dist/index.d.ts +10 -8
  63. package/dist/resolver.cjs +1 -1
  64. package/dist/resolver.mjs +72 -25
  65. package/dist/rtcpt.cjs.js +1 -1
  66. package/dist/rtcpt.es.js +332 -327
  67. package/dist/utils/generated-component-names.d.ts +9 -0
  68. package/dist/utils/resolver.d.ts +3 -3
  69. package/dist/vue-shim.d.ts +6 -0
  70. package/package.json +9 -5
@@ -13,324 +13,3 @@ declare class GlobalConfirm implements IJQConfirmDialog {
13
13
  }
14
14
  declare const globalConfirm: GlobalConfirm;
15
15
  export default globalConfirm;
16
- type: StringConstructor;
17
- default: string;
18
- };
19
- cancelButtonText: {
20
- type: StringConstructor;
21
- default: string;
22
- };
23
- cancel: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- isDelete: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- color: {
32
- type: StringConstructor;
33
- default: string;
34
- };
35
- icon: {
36
- type: PropType<string | VNode | VueComponent>;
37
- default: null;
38
- };
39
- showClose: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- }>, {
44
- dialogRef: Ref<QDialog | undefined, QDialog | undefined>;
45
- onDialogHide: () => void;
46
- onOKClick(): void;
47
- onCancelClick: () => void;
48
- computedCancelText: ComputedRef<string>;
49
- computedConfirmText: ComputedRef<string>;
50
- computedButtonColor: ComputedRef<string>;
51
- isIconString: ComputedRef<boolean>;
52
- onCloseClick: () => void;
53
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("hide" | "ok")[], "hide" | "ok", PublicProps, Readonly< ExtractPropTypes<{
54
- title: {
55
- type: StringConstructor;
56
- default: string;
57
- };
58
- content: {
59
- type: StringConstructor;
60
- default: string;
61
- };
62
- confirmButtonText: {
63
- type: StringConstructor;
64
- default: string;
65
- };
66
- cancelButtonText: {
67
- type: StringConstructor;
68
- default: string;
69
- };
70
- cancel: {
71
- type: BooleanConstructor;
72
- default: boolean;
73
- };
74
- isDelete: {
75
- type: BooleanConstructor;
76
- default: boolean;
77
- };
78
- color: {
79
- type: StringConstructor;
80
- default: string;
81
- };
82
- icon: {
83
- type: PropType<string | VNode | VueComponent>;
84
- default: null;
85
- };
86
- showClose: {
87
- type: BooleanConstructor;
88
- default: boolean;
89
- };
90
- }>> & Readonly<{
91
- onHide?: ((...args: any[]) => any) | undefined;
92
- onOk?: ((...args: any[]) => any) | undefined;
93
- }>, {
94
- color: string;
95
- title: string;
96
- icon: string | VNode< RendererNode, RendererElement, {
97
- [key: string]: any;
98
- }> | VueComponent;
99
- content: string;
100
- cancel: boolean;
101
- confirmButtonText: string;
102
- cancelButtonText: string;
103
- isDelete: boolean;
104
- showClose: boolean;
105
- }, {}, {
106
- QDialog: ComponentConstructor<QDialog>;
107
- QCard: ComponentConstructor<QCard>;
108
- QCardSection: ComponentConstructor<QCardSection>;
109
- QIcon: ComponentConstructor<QIcon>;
110
- JQButton: DefineComponent<ExtractPropTypes<{
111
- size: {
112
- type: PropType< JQButtonSizeType>;
113
- default: "large";
114
- validator: (value: JQButtonSizeType) => boolean;
115
- };
116
- type: {
117
- type: PropType< JQButtonTypeType>;
118
- default: "primary";
119
- validator: (value: JQButtonTypeType) => boolean;
120
- };
121
- label: {
122
- type: StringConstructor;
123
- default: string;
124
- };
125
- icon: {
126
- type: StringConstructor;
127
- default: undefined;
128
- };
129
- loading: {
130
- type: BooleanConstructor;
131
- default: boolean;
132
- };
133
- tips: {
134
- type: (StringConstructor | NumberConstructor)[];
135
- default: string;
136
- };
137
- tooltipConfig: {
138
- type: PropType<Omit< JCTooltipProps, "content">>;
139
- default: undefined;
140
- };
141
- }>, {
142
- click: (e: Event) => void;
143
- computedClass: ComputedRef<{
144
- [x: string]: boolean;
145
- 'j-q-button': boolean;
146
- 'j-q-button--primary': boolean;
147
- 'j-q-button--secondary': boolean;
148
- 'j-q-button--text'?: undefined;
149
- } | {
150
- 'j-q-button--text': boolean;
151
- 'j-q-button'?: undefined;
152
- 'j-q-button--primary'?: undefined;
153
- 'j-q-button--secondary'?: undefined;
154
- }>;
155
- iconPadding: ComputedRef<{
156
- 'j-q-button-label': string | (() => any) | undefined;
157
- }>;
158
- mergedTooltipConfig: ComputedRef<{
159
- modelValue?: boolean;
160
- placement?: JCTooltipPlacementType;
161
- effect?: JCTooltipEffectType;
162
- trigger?: JCTooltipTriggerType;
163
- disabled?: boolean;
164
- showArrow?: boolean;
165
- openDelay?: number;
166
- closeDelay?: number;
167
- maxWidth?: string;
168
- offset?: number;
169
- showOnFocus?: boolean;
170
- }>;
171
- qBtnRef: Ref< QBtn | null, QBtn | null>;
172
- tooltipContent: ComputedRef<string>;
173
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
174
- click: (e: Event) => true;
175
- }, string, PublicProps, Readonly< ExtractPropTypes<{
176
- size: {
177
- type: PropType< JQButtonSizeType>;
178
- default: "large";
179
- validator: (value: JQButtonSizeType) => boolean;
180
- };
181
- type: {
182
- type: PropType< JQButtonTypeType>;
183
- default: "primary";
184
- validator: (value: JQButtonTypeType) => boolean;
185
- };
186
- label: {
187
- type: StringConstructor;
188
- default: string;
189
- };
190
- icon: {
191
- type: StringConstructor;
192
- default: undefined;
193
- };
194
- loading: {
195
- type: BooleanConstructor;
196
- default: boolean;
197
- };
198
- tips: {
199
- type: (StringConstructor | NumberConstructor)[];
200
- default: string;
201
- };
202
- tooltipConfig: {
203
- type: PropType<Omit< JCTooltipProps, "content">>;
204
- default: undefined;
205
- };
206
- }>> & Readonly<{
207
- onClick?: ((e: Event) => any) | undefined;
208
- }>, {
209
- type: JQButtonTypeType;
210
- size: JQButtonSizeType;
211
- label: string;
212
- icon: string;
213
- loading: boolean;
214
- tooltipConfig: Omit< JCTooltipProps, "content">;
215
- tips: string | number;
216
- }, SlotsType<JQButtonSlots>, {
217
- QBtn: ComponentConstructor<QBtn>;
218
- JCTooltip: DefineComponent<ExtractPropTypes<{
219
- content: {
220
- type: StringConstructor;
221
- default: string;
222
- };
223
- placement: {
224
- type: PropType< JCTooltipPlacementType>;
225
- default: string;
226
- };
227
- effect: {
228
- type: PropType< JCTooltipEffectType>;
229
- default: string;
230
- };
231
- trigger: {
232
- type: PropType< JCTooltipTriggerType>;
233
- default: string;
234
- };
235
- disabled: {
236
- type: BooleanConstructor;
237
- default: boolean;
238
- };
239
- showArrow: {
240
- type: BooleanConstructor;
241
- default: boolean;
242
- };
243
- openDelay: {
244
- type: NumberConstructor;
245
- default: number;
246
- };
247
- closeDelay: {
248
- type: NumberConstructor;
249
- default: number;
250
- };
251
- maxWidth: {
252
- type: StringConstructor;
253
- default: string;
254
- };
255
- offset: {
256
- type: NumberConstructor;
257
- default: number;
258
- };
259
- modelValue: {
260
- type: BooleanConstructor;
261
- default: undefined;
262
- };
263
- showOnFocus: {
264
- type: BooleanConstructor;
265
- default: boolean;
266
- };
267
- }>, () => VNode< RendererNode, RendererElement, {
268
- [key: string]: any;
269
- }>[] | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
270
- content: {
271
- type: StringConstructor;
272
- default: string;
273
- };
274
- placement: {
275
- type: PropType< JCTooltipPlacementType>;
276
- default: string;
277
- };
278
- effect: {
279
- type: PropType< JCTooltipEffectType>;
280
- default: string;
281
- };
282
- trigger: {
283
- type: PropType< JCTooltipTriggerType>;
284
- default: string;
285
- };
286
- disabled: {
287
- type: BooleanConstructor;
288
- default: boolean;
289
- };
290
- showArrow: {
291
- type: BooleanConstructor;
292
- default: boolean;
293
- };
294
- openDelay: {
295
- type: NumberConstructor;
296
- default: number;
297
- };
298
- closeDelay: {
299
- type: NumberConstructor;
300
- default: number;
301
- };
302
- maxWidth: {
303
- type: StringConstructor;
304
- default: string;
305
- };
306
- offset: {
307
- type: NumberConstructor;
308
- default: number;
309
- };
310
- modelValue: {
311
- type: BooleanConstructor;
312
- default: undefined;
313
- };
314
- showOnFocus: {
315
- type: BooleanConstructor;
316
- default: boolean;
317
- };
318
- }>> & Readonly<{
319
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
320
- }>, {
321
- modelValue: boolean;
322
- content: string;
323
- placement: JCTooltipPlacementType;
324
- effect: JCTooltipEffectType;
325
- trigger: JCTooltipTriggerType;
326
- disabled: boolean;
327
- showArrow: boolean;
328
- openDelay: number;
329
- closeDelay: number;
330
- maxWidth: string;
331
- offset: number;
332
- showOnFocus: boolean;
333
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
334
- }, {}, string, ComponentProvideOptions, true, {}, any>;
335
- }, {}, string, ComponentProvideOptions, true, {}, any>;
336
- export default _default;
@@ -1,5 +1,50 @@
1
+ import { RtcptComponent } from '../../component-types';
1
2
  import { QVueGlobals } from 'quasar';
2
3
  import { VNode, Component } from 'vue';
4
+ /** 确认弹窗图标类型 */
5
+ export type JQConfirmDialogIcon = string | VNode | Component;
6
+ /**
7
+ * JQConfirmDialog 内部组件 Props 接口
8
+ * @description 该组件由 Quasar Dialog 插件创建;业务侧命令式调用请使用 JQConfirmDialogShowParams
9
+ */
10
+ export interface JQConfirmDialogProps {
11
+ /** 对话框标题
12
+ * @default ''
13
+ */
14
+ title?: string;
15
+ /** 支持 HTML 的对话框内容
16
+ * @default ''
17
+ */
18
+ content?: string;
19
+ /** 确认按钮文本
20
+ * @default ''
21
+ */
22
+ confirmButtonText?: string;
23
+ /** 取消按钮文本
24
+ * @default ''
25
+ */
26
+ cancelButtonText?: string;
27
+ /** 是否显示取消按钮
28
+ * @default true
29
+ */
30
+ cancel?: boolean;
31
+ /** 是否为删除确认对话框
32
+ * @default false
33
+ */
34
+ isDelete?: boolean;
35
+ /** 确认按钮颜色
36
+ * @default ''
37
+ */
38
+ color?: string;
39
+ /** 自定义图标
40
+ * @default null
41
+ */
42
+ icon?: JQConfirmDialogIcon | null;
43
+ /** 是否显示关闭按钮
44
+ * @default true
45
+ */
46
+ showClose?: boolean;
47
+ }
3
48
  /** JQConfirmDialog 显示参数接口 */
4
49
  export interface JQConfirmDialogShowParams {
5
50
  /**
@@ -46,7 +91,7 @@ export interface JQConfirmDialogShowParams {
46
91
  * @default undefined
47
92
  * @description 可以是 Quasar 图标名称字符串或 Vue 组件
48
93
  */
49
- icon?: string | VNode | Component;
94
+ icon?: JQConfirmDialogIcon;
50
95
  /**
51
96
  * 是否显示关闭按钮
52
97
  * @default true
@@ -71,3 +116,36 @@ export interface IJQConfirmDialog {
71
116
  }
72
117
  /** @deprecated 使用 IJQConfirmDialog 代替 */
73
118
  export type IGlobalConfirm = IJQConfirmDialog;
119
+ /** JQConfirmDialog Emits 接口 */
120
+ export interface JQConfirmDialogEmits {
121
+ /** 确认事件 */
122
+ (e: 'ok', payload?: any): void;
123
+ /** 弹窗隐藏事件 */
124
+ (e: 'hide'): void;
125
+ }
126
+ /** JQConfirmDialog 不提供插槽 */
127
+ export interface JQConfirmDialogSlots {
128
+ }
129
+ /** Quasar Dialog 插件要求组件公开的方法 */
130
+ export interface JQConfirmDialogExpose {
131
+ /** 显示弹窗 */
132
+ show: () => void;
133
+ /** 隐藏弹窗 */
134
+ hide: () => void;
135
+ }
136
+ /** JQConfirmDialog Emits 配置对象 */
137
+ export type JQConfirmDialogEmitsOptions = {
138
+ ok: (payload?: any) => true;
139
+ hide: () => true;
140
+ };
141
+ /** JQConfirmDialog 内部组件类型 */
142
+ export type JQConfirmDialogComponent = RtcptComponent<JQConfirmDialogProps, JQConfirmDialogExpose, JQConfirmDialogSlots, JQConfirmDialogEmitsOptions>;
143
+ /** JQConfirmDialog 内部组件实例类型 */
144
+ export type JQConfirmDialogInstance = InstanceType<JQConfirmDialogComponent> & JQConfirmDialogExpose;
145
+ /** JQConfirmDialog 模板 Props 类型 */
146
+ export interface JQConfirmDialogTemplateProps extends JQConfirmDialogProps {
147
+ /** 确认事件处理器 */
148
+ onOk?: (payload?: any) => void;
149
+ /** 弹窗隐藏事件处理器 */
150
+ onHide?: () => void;
151
+ }
@@ -1,4 +1,5 @@
1
- import { CSSProperties, DefineComponent, SlotsType } from 'vue';
1
+ import { RtcptComponent } from '../../component-types';
2
+ import { CSSProperties } from 'vue';
2
3
  import { QDateProps, QFieldProps } from 'quasar';
3
4
  /** 日期模型值类型 */
4
5
  export type DateModelValue = QDateProps['modelValue'] | number | Date | {
@@ -7,7 +8,10 @@ export type DateModelValue = QDateProps['modelValue'] | number | Date | {
7
8
  };
8
9
  /** 日期显示值函数类型 */
9
10
  export type DateValueDisplayFn = (value: DateModelValue) => string | number | null | undefined;
10
- /** JQDate Props 接口 */
11
+ /**
12
+ * JQDate Props 接口
13
+ * @description 日期选择器组件,支持单日期和日期范围选择
14
+ */
11
15
  export interface JQDateProps {
12
16
  /**
13
17
  * 绑定值
@@ -73,7 +77,6 @@ export interface JQDateProps {
73
77
  }
74
78
  /** JQDate Emits 接口 */
75
79
  export interface JQDateEmits {
76
- [key: string]: any;
77
80
  /**
78
81
  * 弹窗隐藏事件
79
82
  * @param evt 事件对象
@@ -126,7 +129,7 @@ export type JQDateEmitsOptions = {
126
129
  'update:modelValue': (value: any) => true;
127
130
  };
128
131
  /** JQDate 组件类型定义 */
129
- export type JQDateComponent = DefineComponent<JQDateProps, JQDateExpose, {}, {}, {}, {}, SlotsType<JQDateSlots>, JQDateEmitsOptions>;
132
+ export type JQDateComponent = RtcptComponent<JQDateProps, JQDateExpose, JQDateSlots, JQDateEmitsOptions>;
130
133
  /** JQDate 实例类型 - 用于 ref 类型定义 */
131
134
  export type JQDateInstance = InstanceType<JQDateComponent> & JQDateExpose;
132
135
  /**
@@ -1,4 +1,4 @@
1
- import { DefineComponent, SlotsType } from 'vue';
1
+ import { RtcptComponent } from '../../component-types';
2
2
  import { QFieldProps } from 'quasar';
3
3
  /** 月份模型值类型 */
4
4
  export type MonthModelValue = any;
@@ -10,7 +10,10 @@ export type MonthValueDisplayFn = (value: MonthModelValue) => any;
10
10
  export type MonthOptionDisabledFn = (optionValue: number, options: {
11
11
  rangeStartValue?: number;
12
12
  }) => boolean;
13
- /** JQDateMonth Props 接口 */
13
+ /**
14
+ * JQDateMonth Props 接口
15
+ * @description 月份选择器组件,支持单月份和月份范围选择
16
+ */
14
17
  export interface JQDateMonthProps {
15
18
  /**
16
19
  * 绑定值
@@ -62,7 +65,6 @@ export interface JQDateMonthProps {
62
65
  }
63
66
  /** JQDateMonth Emits 接口 */
64
67
  export interface JQDateMonthEmits {
65
- [key: string]: any;
66
68
  /**
67
69
  * 更新 modelValue 事件
68
70
  * @param value 新值
@@ -79,7 +81,7 @@ export interface JQDateMonthSlots {
79
81
  export interface JQDateMonthExpose {
80
82
  }
81
83
  /** JQDateMonth 组件类型定义 */
82
- export type JQDateMonthComponent = DefineComponent<JQDateMonthProps, JQDateMonthExpose, {}, {}, {}, {}, SlotsType<JQDateMonthSlots>, {
84
+ export type JQDateMonthComponent = RtcptComponent<JQDateMonthProps, JQDateMonthExpose, JQDateMonthSlots, {
83
85
  'update:modelValue': (value: MonthModelValue) => true;
84
86
  }>;
85
87
  /** JQDateMonth 实例类型 - 用于 ref 类型定义 */
@@ -1,10 +1,13 @@
1
- import { DefineComponent, SlotsType } from 'vue';
1
+ import { RtcptComponent } from '../../component-types';
2
2
  import { QFieldProps } from 'quasar';
3
3
  /** 年份模型值类型 */
4
4
  export type YearModelValue = any;
5
5
  /** 年份显示值函数类型 */
6
6
  export type YearValueDisplayFn = (value: YearModelValue) => any;
7
- /** JQDateYear Props 接口 */
7
+ /**
8
+ * JQDateYear Props 接口
9
+ * @description 年份选择器组件
10
+ */
8
11
  export interface JQDateYearProps {
9
12
  /**
10
13
  * 绑定值
@@ -44,7 +47,6 @@ export interface JQDateYearProps {
44
47
  }
45
48
  /** JQDateYear Emits 接口 */
46
49
  export interface JQDateYearEmits {
47
- [key: string]: any;
48
50
  /**
49
51
  * 更新 modelValue 事件
50
52
  * @param value 新值
@@ -61,7 +63,7 @@ export interface JQDateYearSlots {
61
63
  export interface JQDateYearExpose {
62
64
  }
63
65
  /** JQDateYear 组件类型定义 */
64
- export type JQDateYearComponent = DefineComponent<JQDateYearProps, JQDateYearExpose, {}, {}, {}, {}, SlotsType<JQDateYearSlots>, {
66
+ export type JQDateYearComponent = RtcptComponent<JQDateYearProps, JQDateYearExpose, JQDateYearSlots, {
65
67
  'update:modelValue': (value: YearModelValue) => true;
66
68
  }>;
67
69
  /** JQDateYear 实例类型 - 用于 ref 类型定义 */
@@ -1,4 +1,4 @@
1
- import { DefineComponent, SlotsType } from 'vue';
1
+ import { RtcptComponent } from '../../component-types';
2
2
  import { QDateProps, QFieldProps } from 'quasar';
3
3
  /** 日期时间掩码 */
4
4
  export declare const DATETIME_MASK: "YYYY-MM-DD HH:mm:ss";
@@ -27,7 +27,10 @@ export interface QDateRangeValue {
27
27
  export type DateTimeModelValue = DateTimeRangeValue | SingleDateTimeValue | number | Date;
28
28
  /** 日期时间显示值函数类型 */
29
29
  export type DateTimeValueDisplayFn = (value: DateTimeModelValue) => string | number | null | undefined;
30
- /** JQDateTime Props 接口 */
30
+ /**
31
+ * JQDateTime Props 接口
32
+ * @description 日期时间选择器组件,支持选择日期和时间,以及日期时间范围选择
33
+ */
31
34
  export interface JQDateTimeProps {
32
35
  /**
33
36
  * 绑定值
@@ -91,7 +94,6 @@ export interface JQDateTimeProps {
91
94
  }
92
95
  /** JQDateTime Emits 接口 */
93
96
  export interface JQDateTimeEmits {
94
- [key: string]: any;
95
97
  /**
96
98
  * 弹窗隐藏事件
97
99
  * @param evt 事件对象
@@ -122,12 +124,10 @@ export interface JQDateTimeExpose {
122
124
  /**
123
125
  * 弹窗可见性状态
124
126
  */
125
- popupVisible: {
126
- value: boolean;
127
- };
127
+ popupVisible: boolean;
128
128
  }
129
129
  /** JQDateTime 组件类型定义 */
130
- export type JQDateTimeComponent = DefineComponent<JQDateTimeProps, JQDateTimeExpose, {}, {}, {}, {}, SlotsType<JQDateTimeSlots>, {
130
+ export type JQDateTimeComponent = RtcptComponent<JQDateTimeProps, JQDateTimeExpose, JQDateTimeSlots, {
131
131
  hide: (evt: any) => true;
132
132
  'update:modelValue': (value: DateTimeModelValue) => true;
133
133
  }>;
@@ -1,4 +1,4 @@
1
- import { DefineComponent, SlotsType } from 'vue';
1
+ import { RtcptComponent } from '../../component-types';
2
2
  /** 详情列表数据类型 */
3
3
  export type DetailData = Record<string, any>;
4
4
  /** 详情项配置接口 */
@@ -41,7 +41,10 @@ export interface DetailItem {
41
41
  onDetailClick?: (value: string, row: DetailData) => void;
42
42
  [key: string]: any;
43
43
  }
44
- /** JQDetailList Props 接口 */
44
+ /**
45
+ * JQDetailList Props 接口
46
+ * @description 详情列表展示组件,以标签-值网格形式展示数据对象的字段信息,支持垂直和水平两种布局
47
+ */
45
48
  export interface JQDetailListProps {
46
49
  /**
47
50
  * 详情项配置数组
@@ -91,7 +94,7 @@ export interface JQDetailListSlots {
91
94
  export interface JQDetailListExpose {
92
95
  }
93
96
  /** JQDetailList 组件类型定义 */
94
- export type JQDetailListComponent = DefineComponent<JQDetailListProps, JQDetailListExpose, {}, {}, {}, {}, SlotsType<JQDetailListSlots>, {}>;
97
+ export type JQDetailListComponent = RtcptComponent<JQDetailListProps, JQDetailListExpose, JQDetailListSlots>;
95
98
  /** JQDetailList 实例类型 - 用于 ref 类型定义 */
96
99
  export type JQDetailListInstance = InstanceType<JQDetailListComponent> & JQDetailListExpose;
97
100
  /**