rtcpts 0.0.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.
- package/LICENSE +22 -0
- package/README.md +68 -0
- package/dist/charts-D71LM320.cjs +1 -0
- package/dist/charts-DFQ978tO.js +826 -0
- package/dist/charts.cjs.js +1 -0
- package/dist/charts.css +1 -0
- package/dist/charts.d.ts +7 -0
- package/dist/charts.es.js +9 -0
- package/dist/components/j-c-copy/index.d.ts +31 -0
- package/dist/components/j-c-duo-list-editor/index.d.ts +102 -0
- package/dist/components/j-c-editable-proxy/index.d.ts +146 -0
- package/dist/components/j-c-fallback/index.d.ts +56 -0
- package/dist/components/j-c-foldable-list/index.d.ts +66 -0
- package/dist/components/j-c-format-lookup/index.d.ts +65 -0
- package/dist/components/j-c-list-editor/index.d.ts +359 -0
- package/dist/components/j-c-more-menu/index.d.ts +220 -0
- package/dist/components/j-c-permission/index.d.ts +59 -0
- package/dist/components/j-c-tabs/index.d.ts +131 -0
- package/dist/components/j-c-title-line/index.d.ts +15 -0
- package/dist/components/j-c-tree/index.d.ts +16 -0
- package/dist/components/j-c-tree-select/index.d.ts +755 -0
- package/dist/components/j-ch-bar/index.d.ts +39 -0
- package/dist/components/j-ch-bar-line/index.d.ts +38 -0
- package/dist/components/j-ch-bubble/index.d.ts +43 -0
- package/dist/components/j-ch-line/index.d.ts +37 -0
- package/dist/components/j-ch-pie-doughnut/index.d.ts +49 -0
- package/dist/components/j-ch-radar/index.d.ts +38 -0
- package/dist/components/j-q-autocomplete/index.d.ts +71 -0
- package/dist/components/j-q-confirm/index.d.ts +48 -0
- package/dist/components/j-q-confirm-dialog/index.d.ts +65 -0
- package/dist/components/j-q-date/index.d.ts +199 -0
- package/dist/components/j-q-datetime/index.d.ts +166 -0
- package/dist/components/j-q-detail-list/index.d.ts +136 -0
- package/dist/components/j-q-dialog/file.d.ts +5 -0
- package/dist/components/j-q-dialog/form-rules.d.ts +17 -0
- package/dist/components/j-q-dialog/form.d.ts +4 -0
- package/dist/components/j-q-dialog/index.d.ts +53 -0
- package/dist/components/j-q-file/download.d.ts +2 -0
- package/dist/components/j-q-file/index.d.ts +82 -0
- package/dist/components/j-q-form-label/index.d.ts +79 -0
- package/dist/components/j-q-input/index.d.ts +194 -0
- package/dist/components/j-q-message/index.d.ts +19 -0
- package/dist/components/j-q-new-value/index.d.ts +117 -0
- package/dist/components/j-q-option-group/index.d.ts +133 -0
- package/dist/components/j-q-popover/index.d.ts +49 -0
- package/dist/components/j-q-search-form/index.d.ts +67 -0
- package/dist/components/j-q-select/index.d.ts +252 -0
- package/dist/components/j-q-table/index.d.ts +251 -0
- package/dist/components/j-q-table/pagination.d.ts +52 -0
- package/dist/components/j-q-tooltip/index.d.ts +44 -0
- package/dist/components/j-q-tooltip/tooltip.d.ts +3 -0
- package/dist/composables/useI18n.d.ts +14 -0
- package/dist/en-US-BfaBFOjR.cjs +1 -0
- package/dist/en-US-Di49EX5C.js +106 -0
- package/dist/i18n/en-US/index.d.ts +59 -0
- package/dist/i18n/index.d.ts +10 -0
- package/dist/i18n/zh-CN/index.d.ts +59 -0
- package/dist/index-BXXYZm9Q.cjs +1 -0
- package/dist/index-CHKEi8Wc.js +49 -0
- package/dist/index-EGZV35Ev.js +49 -0
- package/dist/index-zt6HltZK.cjs +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +47 -0
- package/dist/rtcpt-styles.css +1 -0
- package/dist/rtcpt-styles.d.ts +1 -0
- package/dist/rtcpt-styles.js +1 -0
- package/dist/rtcpt.cjs.js +1 -0
- package/dist/rtcpt.es.js +5016 -0
- package/dist/types.d.ts +25 -0
- package/dist/utils/custom-svg.d.ts +3 -0
- package/dist/utils/icon-map.d.ts +9 -0
- package/dist/utils/init.d.ts +15 -0
- package/dist/utils/storage.d.ts +3 -0
- package/dist/utils/tool.d.ts +31 -0
- package/dist/zh-CN-BoRskSmh.js +111 -0
- package/dist/zh-CN-DWWgisNr.cjs +1 -0
- package/package.json +80 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { PropType, SlotsType, DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { QInput, QInputProps, ComponentConstructor } from 'quasar';
|
|
3
|
+
import { t } from '../../composables/useI18n.ts';
|
|
4
|
+
type TModelValue = QInputProps['modelValue'];
|
|
5
|
+
type TInputLimitFn = (value: TModelValue) => boolean;
|
|
6
|
+
type TMaxlength = string | number | null;
|
|
7
|
+
type TCustomType = 'text' | 'password' | 'secret';
|
|
8
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: PropType<TModelValue>;
|
|
11
|
+
};
|
|
12
|
+
bgColor: {
|
|
13
|
+
type: PropType<QInputProps["bgColor"]>;
|
|
14
|
+
};
|
|
15
|
+
borderless: {
|
|
16
|
+
type: PropType<QInputProps["borderless"]>;
|
|
17
|
+
};
|
|
18
|
+
dense: {
|
|
19
|
+
type: PropType<QInputProps["dense"]>;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
disable: {
|
|
23
|
+
type: PropType<QInputProps["disable"]>;
|
|
24
|
+
};
|
|
25
|
+
inputLimitFn: {
|
|
26
|
+
type: PropType<TInputLimitFn>;
|
|
27
|
+
default: () => boolean;
|
|
28
|
+
};
|
|
29
|
+
label: {
|
|
30
|
+
type: PropType<QInputProps["label"]>;
|
|
31
|
+
};
|
|
32
|
+
maxlength: {
|
|
33
|
+
type: PropType<TMaxlength>;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
36
|
+
outlined: {
|
|
37
|
+
type: PropType<QInputProps["outlined"]>;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
readonly: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
};
|
|
43
|
+
rules: {
|
|
44
|
+
type: () => QInputProps["rules"];
|
|
45
|
+
};
|
|
46
|
+
type: {
|
|
47
|
+
type: PropType<QInputProps["type"]>;
|
|
48
|
+
};
|
|
49
|
+
customType: {
|
|
50
|
+
type: PropType<TCustomType>;
|
|
51
|
+
default: string;
|
|
52
|
+
required: false;
|
|
53
|
+
};
|
|
54
|
+
smInput: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
}>, {
|
|
59
|
+
t: t;
|
|
60
|
+
innerModel: Ref<string | number | {
|
|
61
|
+
[x: number]: {
|
|
62
|
+
readonly lastModified: number;
|
|
63
|
+
readonly name: string;
|
|
64
|
+
readonly webkitRelativePath: string;
|
|
65
|
+
readonly size: number;
|
|
66
|
+
readonly type: string;
|
|
67
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
68
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
69
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
70
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
71
|
+
text: () => Promise<string>;
|
|
72
|
+
};
|
|
73
|
+
readonly length: number;
|
|
74
|
+
item: (index: number) => File | null;
|
|
75
|
+
[Symbol.iterator]: () => ArrayIterator<File>;
|
|
76
|
+
} | null | undefined, string | number | FileList | {
|
|
77
|
+
[x: number]: {
|
|
78
|
+
readonly lastModified: number;
|
|
79
|
+
readonly name: string;
|
|
80
|
+
readonly webkitRelativePath: string;
|
|
81
|
+
readonly size: number;
|
|
82
|
+
readonly type: string;
|
|
83
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
84
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
85
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
86
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
87
|
+
text: () => Promise<string>;
|
|
88
|
+
};
|
|
89
|
+
readonly length: number;
|
|
90
|
+
item: (index: number) => File | null;
|
|
91
|
+
[Symbol.iterator]: () => ArrayIterator<File>;
|
|
92
|
+
} | null | undefined>;
|
|
93
|
+
computedInputValue: ComputedRef<string | number | {
|
|
94
|
+
[x: number]: {
|
|
95
|
+
readonly lastModified: number;
|
|
96
|
+
readonly name: string;
|
|
97
|
+
readonly webkitRelativePath: string;
|
|
98
|
+
readonly size: number;
|
|
99
|
+
readonly type: string;
|
|
100
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
101
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
102
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
103
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
104
|
+
text: () => Promise<string>;
|
|
105
|
+
};
|
|
106
|
+
readonly length: number;
|
|
107
|
+
item: (index: number) => File | null;
|
|
108
|
+
[Symbol.iterator]: () => ArrayIterator<File>;
|
|
109
|
+
} | null | undefined>;
|
|
110
|
+
computedDisplayValue: ComputedRef<string>;
|
|
111
|
+
computedClass: ComputedRef<{
|
|
112
|
+
'input-password': boolean;
|
|
113
|
+
'j-q-input--table': string | undefined;
|
|
114
|
+
'j-q-input--form': boolean;
|
|
115
|
+
'j-q-input--textarea': boolean;
|
|
116
|
+
'j-q-input--sm': boolean;
|
|
117
|
+
}>;
|
|
118
|
+
change: (val: TModelValue) => void;
|
|
119
|
+
qInputRef: Ref<QInput | null, QInput | null>;
|
|
120
|
+
isContentVisible: Ref<boolean, boolean>;
|
|
121
|
+
toggleVisibility: () => void;
|
|
122
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
123
|
+
change: (value: TModelValue) => true;
|
|
124
|
+
'update:modelValue': (value: TModelValue) => true;
|
|
125
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
126
|
+
modelValue: {
|
|
127
|
+
type: PropType<TModelValue>;
|
|
128
|
+
};
|
|
129
|
+
bgColor: {
|
|
130
|
+
type: PropType<QInputProps["bgColor"]>;
|
|
131
|
+
};
|
|
132
|
+
borderless: {
|
|
133
|
+
type: PropType<QInputProps["borderless"]>;
|
|
134
|
+
};
|
|
135
|
+
dense: {
|
|
136
|
+
type: PropType<QInputProps["dense"]>;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
disable: {
|
|
140
|
+
type: PropType<QInputProps["disable"]>;
|
|
141
|
+
};
|
|
142
|
+
inputLimitFn: {
|
|
143
|
+
type: PropType<TInputLimitFn>;
|
|
144
|
+
default: () => boolean;
|
|
145
|
+
};
|
|
146
|
+
label: {
|
|
147
|
+
type: PropType<QInputProps["label"]>;
|
|
148
|
+
};
|
|
149
|
+
maxlength: {
|
|
150
|
+
type: PropType<TMaxlength>;
|
|
151
|
+
default: number;
|
|
152
|
+
};
|
|
153
|
+
outlined: {
|
|
154
|
+
type: PropType<QInputProps["outlined"]>;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
readonly: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
};
|
|
160
|
+
rules: {
|
|
161
|
+
type: () => QInputProps["rules"];
|
|
162
|
+
};
|
|
163
|
+
type: {
|
|
164
|
+
type: PropType<QInputProps["type"]>;
|
|
165
|
+
};
|
|
166
|
+
customType: {
|
|
167
|
+
type: PropType<TCustomType>;
|
|
168
|
+
default: string;
|
|
169
|
+
required: false;
|
|
170
|
+
};
|
|
171
|
+
smInput: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
}>> & Readonly<{
|
|
176
|
+
"onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
|
|
177
|
+
onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
|
|
178
|
+
}>, {
|
|
179
|
+
dense: boolean | undefined;
|
|
180
|
+
outlined: boolean | undefined;
|
|
181
|
+
inputLimitFn: TInputLimitFn;
|
|
182
|
+
maxlength: TMaxlength;
|
|
183
|
+
readonly: boolean;
|
|
184
|
+
customType: TCustomType;
|
|
185
|
+
smInput: boolean;
|
|
186
|
+
}, SlotsType<{
|
|
187
|
+
after?: void | undefined;
|
|
188
|
+
append?: void | undefined;
|
|
189
|
+
prepend?: void | undefined;
|
|
190
|
+
default?: void | undefined;
|
|
191
|
+
}>, {
|
|
192
|
+
QInput: ComponentConstructor<QInput>;
|
|
193
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
194
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { QVueGlobals } from 'quasar';
|
|
2
|
+
type Position = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top' | 'bottom' | 'left' | 'right' | 'center' | undefined;
|
|
3
|
+
type showParams = {
|
|
4
|
+
type: string;
|
|
5
|
+
content: string;
|
|
6
|
+
position?: Position;
|
|
7
|
+
isNotify?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export interface IGlobalMessage {
|
|
10
|
+
show: (params: showParams) => void;
|
|
11
|
+
setQuasarInstance: (instance: QVueGlobals) => void;
|
|
12
|
+
}
|
|
13
|
+
declare class GlobalMessage implements IGlobalMessage {
|
|
14
|
+
constructor();
|
|
15
|
+
setQuasarInstance(instance: QVueGlobals): void;
|
|
16
|
+
show({ type, content, position, isNotify }: showParams): void;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: GlobalMessage;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { QInputProps, QSelectProps, QIcon, QSelect, ComponentConstructor } from 'quasar';
|
|
3
|
+
import { t } from '../../composables/useI18n.ts';
|
|
4
|
+
type TModelValue = QSelectProps['modelValue'];
|
|
5
|
+
type TOptions = QSelectProps['options'];
|
|
6
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<TModelValue>;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
options: {
|
|
12
|
+
type: PropType<TOptions>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
label: {
|
|
16
|
+
type: PropType<QInputProps["label"]>;
|
|
17
|
+
};
|
|
18
|
+
dense: {
|
|
19
|
+
type: PropType<QInputProps["dense"]>;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
disable: {
|
|
23
|
+
type: PropType<QInputProps["disable"]>;
|
|
24
|
+
};
|
|
25
|
+
readonly: {
|
|
26
|
+
type: PropType<QInputProps["readonly"]>;
|
|
27
|
+
};
|
|
28
|
+
rules: {
|
|
29
|
+
type: () => QInputProps["rules"];
|
|
30
|
+
};
|
|
31
|
+
addRulesName: {
|
|
32
|
+
type: PropType<string>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
useChips: {
|
|
36
|
+
type: PropType<QSelectProps["useChips"]>;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
allowDuplicates: {
|
|
40
|
+
type: PropType<boolean>;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
maxlength: {
|
|
44
|
+
type: PropType<number>;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
}>, {
|
|
48
|
+
t: t;
|
|
49
|
+
newValueErrorMessage: Ref<string, string>;
|
|
50
|
+
innerModel: Ref<any, any>;
|
|
51
|
+
qSelectRef: Ref<QSelect | null, QSelect | null>;
|
|
52
|
+
filterFn: (val: string, update: (callback: () => void) => void) => void;
|
|
53
|
+
handleNewValue: (inputValue: string, doneFn: (item: string | null, mode: QSelectProps["newValueMode"]) => void) => void;
|
|
54
|
+
handleUpdateModelValue: (val: TModelValue) => void;
|
|
55
|
+
handleBlur: () => void;
|
|
56
|
+
change: (val: TModelValue) => void;
|
|
57
|
+
slotNames: ComputedRef<string[]>;
|
|
58
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
59
|
+
change: (value: TModelValue) => true;
|
|
60
|
+
'update:modelValue': (value: TModelValue) => true;
|
|
61
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
62
|
+
modelValue: {
|
|
63
|
+
type: PropType<TModelValue>;
|
|
64
|
+
default: () => never[];
|
|
65
|
+
};
|
|
66
|
+
options: {
|
|
67
|
+
type: PropType<TOptions>;
|
|
68
|
+
default: () => never[];
|
|
69
|
+
};
|
|
70
|
+
label: {
|
|
71
|
+
type: PropType<QInputProps["label"]>;
|
|
72
|
+
};
|
|
73
|
+
dense: {
|
|
74
|
+
type: PropType<QInputProps["dense"]>;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
disable: {
|
|
78
|
+
type: PropType<QInputProps["disable"]>;
|
|
79
|
+
};
|
|
80
|
+
readonly: {
|
|
81
|
+
type: PropType<QInputProps["readonly"]>;
|
|
82
|
+
};
|
|
83
|
+
rules: {
|
|
84
|
+
type: () => QInputProps["rules"];
|
|
85
|
+
};
|
|
86
|
+
addRulesName: {
|
|
87
|
+
type: PropType<string>;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
useChips: {
|
|
91
|
+
type: PropType<QSelectProps["useChips"]>;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
allowDuplicates: {
|
|
95
|
+
type: PropType<boolean>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
maxlength: {
|
|
99
|
+
type: PropType<number>;
|
|
100
|
+
default: number;
|
|
101
|
+
};
|
|
102
|
+
}>> & Readonly<{
|
|
103
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
104
|
+
onChange?: ((value: any) => any) | undefined;
|
|
105
|
+
}>, {
|
|
106
|
+
modelValue: any;
|
|
107
|
+
dense: boolean | undefined;
|
|
108
|
+
options: readonly any[] | undefined;
|
|
109
|
+
maxlength: number;
|
|
110
|
+
useChips: boolean | undefined;
|
|
111
|
+
addRulesName: string;
|
|
112
|
+
allowDuplicates: boolean;
|
|
113
|
+
}, {}, {
|
|
114
|
+
QSelect: ComponentConstructor<QSelect>;
|
|
115
|
+
QIcon: ComponentConstructor<QIcon>;
|
|
116
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
117
|
+
export default _default;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { QField, QOptionGroup, QIcon, QTooltip, QFieldProps, QOptionGroupProps, ComponentConstructor } from 'quasar';
|
|
3
|
+
type TModelValue = QOptionGroupProps['modelValue'];
|
|
4
|
+
type TQOptions = QOptionGroupProps['options'];
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: PropType<TModelValue>;
|
|
8
|
+
default: null;
|
|
9
|
+
};
|
|
10
|
+
options: {
|
|
11
|
+
type: PropType<TQOptions>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
disable: {
|
|
15
|
+
type: PropType<QOptionGroupProps["disable"]>;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
inline: {
|
|
19
|
+
type: PropType<QOptionGroupProps["inline"]>;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
type: PropType<QOptionGroupProps["size"]>;
|
|
24
|
+
};
|
|
25
|
+
color: {
|
|
26
|
+
type: PropType<QOptionGroupProps["color"]>;
|
|
27
|
+
};
|
|
28
|
+
label: {
|
|
29
|
+
type: PropType<QFieldProps["label"]>;
|
|
30
|
+
};
|
|
31
|
+
rules: {
|
|
32
|
+
type: () => QFieldProps["rules"];
|
|
33
|
+
};
|
|
34
|
+
outlined: {
|
|
35
|
+
type: PropType<QFieldProps["outlined"]>;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
dense: {
|
|
39
|
+
type: PropType<QFieldProps["dense"]>;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
type: {
|
|
43
|
+
type: PropType<QOptionGroupProps["type"]>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
inlineSpanCount: {
|
|
47
|
+
type: NumberConstructor;
|
|
48
|
+
default: number;
|
|
49
|
+
required: false;
|
|
50
|
+
};
|
|
51
|
+
filedClass: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
required: false;
|
|
55
|
+
};
|
|
56
|
+
}>, {
|
|
57
|
+
computedInlineSpanClass: ComputedRef<string>;
|
|
58
|
+
innerModel: Ref<any, any>;
|
|
59
|
+
computedOptions: ComputedRef<any[]>;
|
|
60
|
+
change: (val: TModelValue) => void;
|
|
61
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
62
|
+
change: (value: TModelValue) => true;
|
|
63
|
+
'update:modelValue': (value: TModelValue) => true;
|
|
64
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
65
|
+
modelValue: {
|
|
66
|
+
type: PropType<TModelValue>;
|
|
67
|
+
default: null;
|
|
68
|
+
};
|
|
69
|
+
options: {
|
|
70
|
+
type: PropType<TQOptions>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
disable: {
|
|
74
|
+
type: PropType<QOptionGroupProps["disable"]>;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
inline: {
|
|
78
|
+
type: PropType<QOptionGroupProps["inline"]>;
|
|
79
|
+
default: boolean;
|
|
80
|
+
};
|
|
81
|
+
size: {
|
|
82
|
+
type: PropType<QOptionGroupProps["size"]>;
|
|
83
|
+
};
|
|
84
|
+
color: {
|
|
85
|
+
type: PropType<QOptionGroupProps["color"]>;
|
|
86
|
+
};
|
|
87
|
+
label: {
|
|
88
|
+
type: PropType<QFieldProps["label"]>;
|
|
89
|
+
};
|
|
90
|
+
rules: {
|
|
91
|
+
type: () => QFieldProps["rules"];
|
|
92
|
+
};
|
|
93
|
+
outlined: {
|
|
94
|
+
type: PropType<QFieldProps["outlined"]>;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
dense: {
|
|
98
|
+
type: PropType<QFieldProps["dense"]>;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
type: {
|
|
102
|
+
type: PropType<QOptionGroupProps["type"]>;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
inlineSpanCount: {
|
|
106
|
+
type: NumberConstructor;
|
|
107
|
+
default: number;
|
|
108
|
+
required: false;
|
|
109
|
+
};
|
|
110
|
+
filedClass: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
required: false;
|
|
114
|
+
};
|
|
115
|
+
}>> & Readonly<{
|
|
116
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
117
|
+
onChange?: ((value: any) => any) | undefined;
|
|
118
|
+
}>, {
|
|
119
|
+
type: "toggle" | "checkbox" | "radio" | undefined;
|
|
120
|
+
inline: boolean | undefined;
|
|
121
|
+
modelValue: any;
|
|
122
|
+
dense: boolean | undefined;
|
|
123
|
+
disable: boolean | undefined;
|
|
124
|
+
outlined: boolean | undefined;
|
|
125
|
+
inlineSpanCount: number;
|
|
126
|
+
filedClass: string;
|
|
127
|
+
}, {}, {
|
|
128
|
+
QField: ComponentConstructor<QField>;
|
|
129
|
+
QOptionGroup: ComponentConstructor<QOptionGroup>;
|
|
130
|
+
QIcon: ComponentConstructor<QIcon>;
|
|
131
|
+
QTooltip: ComponentConstructor<QTooltip>;
|
|
132
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
133
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { SlotsType, DefineComponent, ExtractPropTypes, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { QPopupProxy, QCard, QCardSection, ComponentConstructor } from 'quasar';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
title: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
width: {
|
|
9
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
trigger: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
validator: (val: string) => boolean;
|
|
16
|
+
};
|
|
17
|
+
}>, {
|
|
18
|
+
popupRef: any;
|
|
19
|
+
rootRef: any;
|
|
20
|
+
popoverStyle: ComputedRef<{
|
|
21
|
+
minWidth: string;
|
|
22
|
+
}>;
|
|
23
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
24
|
+
title: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
width: {
|
|
29
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
trigger: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
validator: (val: string) => boolean;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
|
+
title: string;
|
|
39
|
+
width: string | number;
|
|
40
|
+
trigger: string;
|
|
41
|
+
}, SlotsType<{
|
|
42
|
+
default: void;
|
|
43
|
+
content: void;
|
|
44
|
+
}>, {
|
|
45
|
+
QPopupProxy: ComponentConstructor<QPopupProxy>;
|
|
46
|
+
QCard: ComponentConstructor<QCard>;
|
|
47
|
+
QCardSection: ComponentConstructor<QCardSection>;
|
|
48
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { PropType, SlotsType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { QBtn, ComponentConstructor } from 'quasar';
|
|
3
|
+
import { t } from '../../composables/useI18n.ts';
|
|
4
|
+
type SearchFormData = Record<string, any>;
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: PropType<SearchFormData>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
queryLoading: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
};
|
|
13
|
+
resetLoading: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
};
|
|
16
|
+
resetVisible: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
operationVisible: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}>, {
|
|
25
|
+
t: t;
|
|
26
|
+
searchFormRef: Ref<null, null>;
|
|
27
|
+
handleClickQuery: () => void;
|
|
28
|
+
handleClickReset: () => void;
|
|
29
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
30
|
+
'update:modelValue': (value: SearchFormData) => true;
|
|
31
|
+
query: () => true;
|
|
32
|
+
reset: () => true;
|
|
33
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
34
|
+
modelValue: {
|
|
35
|
+
type: PropType<SearchFormData>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
queryLoading: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
};
|
|
41
|
+
resetLoading: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
};
|
|
44
|
+
resetVisible: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
operationVisible: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{
|
|
53
|
+
"onUpdate:modelValue"?: ((value: SearchFormData) => any) | undefined;
|
|
54
|
+
onReset?: (() => any) | undefined;
|
|
55
|
+
onQuery?: (() => any) | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
queryLoading: boolean;
|
|
58
|
+
resetLoading: boolean;
|
|
59
|
+
resetVisible: boolean;
|
|
60
|
+
operationVisible: boolean;
|
|
61
|
+
}, SlotsType<{
|
|
62
|
+
default: void;
|
|
63
|
+
'extra-operation': void;
|
|
64
|
+
}>, {
|
|
65
|
+
QBtn: ComponentConstructor<QBtn>;
|
|
66
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
export default _default;
|