rtcpts 0.0.11 → 0.0.12
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.
- package/dist/components/j-c-tree-select/index.d.ts +13 -13
- package/dist/components/j-q-dialog/index.d.ts +50 -1
- package/dist/components/j-q-dialog/prompt-content.d.ts +1708 -0
- package/dist/components/j-q-new-value/index.d.ts +1 -1
- package/dist/components/j-q-select/index.d.ts +5 -5
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/rtcpt.cjs.js +1 -1
- package/dist/rtcpt.es.js +2159 -1976
- package/package.json +1 -1
|
@@ -108,12 +108,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
108
108
|
computedValue: WritableComputedRef<(string | number)[], (string | number)[]>;
|
|
109
109
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], PublicProps, {
|
|
110
110
|
disable: boolean;
|
|
111
|
-
options: any[];
|
|
112
111
|
readonly: boolean;
|
|
113
|
-
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
114
112
|
multiple: boolean;
|
|
113
|
+
options: any[];
|
|
115
114
|
optionLabel: string;
|
|
116
115
|
optionValue: string;
|
|
116
|
+
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
117
117
|
}, true, {}, {}, {
|
|
118
118
|
JQTooltip: DefineComponent<ExtractPropTypes<{
|
|
119
119
|
content: {
|
|
@@ -204,12 +204,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
204
204
|
computedValue: WritableComputedRef<(string | number)[], (string | number)[]>;
|
|
205
205
|
}, {}, {}, {}, {
|
|
206
206
|
disable: boolean;
|
|
207
|
-
options: any[];
|
|
208
207
|
readonly: boolean;
|
|
209
|
-
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
210
208
|
multiple: boolean;
|
|
209
|
+
options: any[];
|
|
211
210
|
optionLabel: string;
|
|
212
211
|
optionValue: string;
|
|
212
|
+
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
213
213
|
}> | null, CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
214
214
|
modelValue: {
|
|
215
215
|
type: PropType<(string | number)[]>;
|
|
@@ -250,12 +250,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
250
250
|
computedValue: WritableComputedRef<(string | number)[], (string | number)[]>;
|
|
251
251
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], PublicProps, {
|
|
252
252
|
disable: boolean;
|
|
253
|
-
options: any[];
|
|
254
253
|
readonly: boolean;
|
|
255
|
-
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
256
254
|
multiple: boolean;
|
|
255
|
+
options: any[];
|
|
257
256
|
optionLabel: string;
|
|
258
257
|
optionValue: string;
|
|
258
|
+
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
259
259
|
}, true, {}, {}, {
|
|
260
260
|
JQTooltip: DefineComponent<ExtractPropTypes<{
|
|
261
261
|
content: {
|
|
@@ -346,12 +346,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
346
346
|
computedValue: WritableComputedRef<(string | number)[], (string | number)[]>;
|
|
347
347
|
}, {}, {}, {}, {
|
|
348
348
|
disable: boolean;
|
|
349
|
-
options: any[];
|
|
350
349
|
readonly: boolean;
|
|
351
|
-
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
352
350
|
multiple: boolean;
|
|
351
|
+
options: any[];
|
|
353
352
|
optionLabel: string;
|
|
354
353
|
optionValue: string;
|
|
354
|
+
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
355
355
|
}> | null>;
|
|
356
356
|
computedValue: WritableComputedRef<ModelValue, ModelValue>;
|
|
357
357
|
computedValueDisplay: ComputedRef<string | undefined>;
|
|
@@ -431,12 +431,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
431
431
|
readonly: boolean;
|
|
432
432
|
clearable: boolean;
|
|
433
433
|
clearIcon: string;
|
|
434
|
-
|
|
434
|
+
dropdownIcon: string;
|
|
435
|
+
filterable: boolean;
|
|
435
436
|
multiple: boolean;
|
|
436
437
|
optionLabel: string;
|
|
437
438
|
optionValue: string;
|
|
438
|
-
|
|
439
|
-
filterable: boolean;
|
|
439
|
+
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
440
440
|
}, SlotsType<{
|
|
441
441
|
'value-display': void;
|
|
442
442
|
}>, {
|
|
@@ -698,12 +698,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
698
698
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
699
699
|
}>, {
|
|
700
700
|
disable: boolean;
|
|
701
|
-
options: any[];
|
|
702
701
|
readonly: boolean;
|
|
703
|
-
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
704
702
|
multiple: boolean;
|
|
703
|
+
options: any[];
|
|
705
704
|
optionLabel: string;
|
|
706
705
|
optionValue: string;
|
|
706
|
+
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
707
707
|
}, {}, {
|
|
708
708
|
JQTooltip: DefineComponent<ExtractPropTypes<{
|
|
709
709
|
content: {
|
|
@@ -22,10 +22,55 @@ interface DialogProviderOptions {
|
|
|
22
22
|
iconMapFn?: (iconName: string) => any;
|
|
23
23
|
}
|
|
24
24
|
export type DialogPosition = 'standard' | 'right' | 'top' | 'bottom' | 'left';
|
|
25
|
+
export type DialogType = 'dialog' | 'text' | 'textarea' | 'select';
|
|
26
|
+
/** 文本输入配置 */
|
|
27
|
+
export interface TextInputConfig {
|
|
28
|
+
/** 输入框占位符 */
|
|
29
|
+
placeholder?: string;
|
|
30
|
+
/** 初始值 */
|
|
31
|
+
modelValue?: string | number;
|
|
32
|
+
/** 验证规则 */
|
|
33
|
+
rules?: any[];
|
|
34
|
+
/** 最大长度 */
|
|
35
|
+
maxlength?: string | number | null;
|
|
36
|
+
/** 额外的输入框属性 */
|
|
37
|
+
inputProps?: Record<string, any>;
|
|
38
|
+
}
|
|
39
|
+
/** 多行文本输入配置 */
|
|
40
|
+
export interface TextareaInputConfig {
|
|
41
|
+
/** 输入框占位符 */
|
|
42
|
+
placeholder?: string;
|
|
43
|
+
/** 初始值 */
|
|
44
|
+
modelValue?: string | number;
|
|
45
|
+
/** 验证规则 */
|
|
46
|
+
rules?: any[];
|
|
47
|
+
/** 最大长度 */
|
|
48
|
+
maxlength?: string | number | null;
|
|
49
|
+
/** 额外的输入框属性 */
|
|
50
|
+
inputProps?: Record<string, any>;
|
|
51
|
+
}
|
|
52
|
+
/** 下拉选择配置 */
|
|
53
|
+
export interface SelectInputConfig {
|
|
54
|
+
/** 占位符 */
|
|
55
|
+
placeholder?: string;
|
|
56
|
+
/** 初始值 */
|
|
57
|
+
modelValue?: any;
|
|
58
|
+
/** 验证规则 */
|
|
59
|
+
rules?: any[];
|
|
60
|
+
/** 下拉选项 */
|
|
61
|
+
options: any[];
|
|
62
|
+
/** 选项显示字段 */
|
|
63
|
+
optionLabel?: string;
|
|
64
|
+
/** 选项值字段 */
|
|
65
|
+
optionValue?: string;
|
|
66
|
+
/** 是否多选 */
|
|
67
|
+
multiple?: boolean;
|
|
68
|
+
/** 额外的选择框属性 */
|
|
69
|
+
selectProps?: Record<string, any>;
|
|
70
|
+
}
|
|
25
71
|
export interface JQDialogRegisterProps {
|
|
26
72
|
allowFocusOutside?: boolean;
|
|
27
73
|
showFooter?: boolean;
|
|
28
|
-
/** 控制确认按钮显示/隐藏(默认 true) */
|
|
29
74
|
showConfirm?: boolean;
|
|
30
75
|
component?: any;
|
|
31
76
|
content?: any;
|
|
@@ -38,6 +83,10 @@ export interface JQDialogRegisterProps {
|
|
|
38
83
|
title?: string;
|
|
39
84
|
maxWidth?: string | number;
|
|
40
85
|
minHeight?: string | number;
|
|
86
|
+
dialogType?: DialogType;
|
|
87
|
+
text?: TextInputConfig;
|
|
88
|
+
textarea?: TextareaInputConfig;
|
|
89
|
+
select?: SelectInputConfig;
|
|
41
90
|
}
|
|
42
91
|
export interface JQDialogExposed {
|
|
43
92
|
open: () => void;
|