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 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./charts-D71LM320.cjs");exports.JChBar=e.index;exports.JChBarLine=e.index$1;exports.JChBubble=e.index$2;exports.JChLine=e.index$3;exports.JChPieDoughnut=e.index$4;exports.JChRadar=e.index$5;
|
package/dist/charts.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";
|
package/dist/charts.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as JChBar } from './components/j-ch-bar/index';
|
|
2
|
+
import { default as JChBarLine } from './components/j-ch-bar-line/index';
|
|
3
|
+
import { default as JChBubble } from './components/j-ch-bubble/index';
|
|
4
|
+
import { default as JChLine } from './components/j-ch-line/index';
|
|
5
|
+
import { default as JChPieDoughnut } from './components/j-ch-pie-doughnut/index';
|
|
6
|
+
import { default as JChRadar } from './components/j-ch-radar/index';
|
|
7
|
+
export { JChBar, JChBarLine, JChBubble, JChLine, JChPieDoughnut, JChRadar, };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PropType, DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { QIcon, ComponentConstructor } from 'quasar';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
text: {
|
|
5
|
+
type: PropType<any>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
revertDelay: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
}>, {
|
|
13
|
+
copied: Ref<boolean, boolean>;
|
|
14
|
+
iconName: ComputedRef<"check" | "app:rt-copy">;
|
|
15
|
+
iconColor: ComputedRef<"grey" | undefined>;
|
|
16
|
+
handleCopy: () => Promise<void>;
|
|
17
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
18
|
+
text: {
|
|
19
|
+
type: PropType<any>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
revertDelay: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
}>> & Readonly<{}>, {
|
|
27
|
+
revertDelay: number;
|
|
28
|
+
}, {}, {
|
|
29
|
+
QIcon: ComponentConstructor<QIcon>;
|
|
30
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { PropType, SlotsType, DefineComponent, ExtractPropTypes, WritableComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { QBtn, ComponentConstructor } from 'quasar';
|
|
3
|
+
type TModelItem = any;
|
|
4
|
+
type TModelValue = TModelItem[];
|
|
5
|
+
type TActionMode = 'inline' | 'compact';
|
|
6
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: PropType<TModelValue>;
|
|
9
|
+
default: () => {}[];
|
|
10
|
+
};
|
|
11
|
+
defaultNewItem: {
|
|
12
|
+
type: PropType<TModelItem>;
|
|
13
|
+
default: () => {};
|
|
14
|
+
};
|
|
15
|
+
minItems: {
|
|
16
|
+
type: PropType<number>;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
maxItems: {
|
|
20
|
+
type: PropType<number>;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
actionMode: {
|
|
24
|
+
type: PropType<TActionMode>;
|
|
25
|
+
default: string;
|
|
26
|
+
validator: (val: string) => boolean;
|
|
27
|
+
};
|
|
28
|
+
showAddButton: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
showRemoveButton: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
}>, {
|
|
37
|
+
innerValue: WritableComputedRef<TModelValue, TModelValue>;
|
|
38
|
+
getKey: (item: TModelItem, index: number) => any;
|
|
39
|
+
updateItem: (index: number, newItem: TModelItem) => void;
|
|
40
|
+
addItem: (index: number) => void;
|
|
41
|
+
removeItem: (index: number) => void;
|
|
42
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
|
|
43
|
+
modelValue: {
|
|
44
|
+
type: PropType<TModelValue>;
|
|
45
|
+
default: () => {}[];
|
|
46
|
+
};
|
|
47
|
+
defaultNewItem: {
|
|
48
|
+
type: PropType<TModelItem>;
|
|
49
|
+
default: () => {};
|
|
50
|
+
};
|
|
51
|
+
minItems: {
|
|
52
|
+
type: PropType<number>;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
maxItems: {
|
|
56
|
+
type: PropType<number>;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
actionMode: {
|
|
60
|
+
type: PropType<TActionMode>;
|
|
61
|
+
default: string;
|
|
62
|
+
validator: (val: string) => boolean;
|
|
63
|
+
};
|
|
64
|
+
showAddButton: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
showRemoveButton: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{
|
|
73
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
}>, {
|
|
75
|
+
modelValue: TModelValue;
|
|
76
|
+
defaultNewItem: any;
|
|
77
|
+
minItems: number;
|
|
78
|
+
maxItems: number;
|
|
79
|
+
actionMode: TActionMode;
|
|
80
|
+
showAddButton: boolean;
|
|
81
|
+
showRemoveButton: boolean;
|
|
82
|
+
}, SlotsType<{
|
|
83
|
+
'item-content': {
|
|
84
|
+
item: TModelItem;
|
|
85
|
+
index: number;
|
|
86
|
+
updateItem: (index: number, newItem: TModelItem) => void;
|
|
87
|
+
isLast: boolean;
|
|
88
|
+
addItem: (index: number) => void;
|
|
89
|
+
removeItem: (index: number) => void;
|
|
90
|
+
canAdd: boolean;
|
|
91
|
+
canRemove: boolean;
|
|
92
|
+
mode: TActionMode;
|
|
93
|
+
};
|
|
94
|
+
'list-footer-actions': {
|
|
95
|
+
addItem: (index: number) => void;
|
|
96
|
+
canAdd: boolean;
|
|
97
|
+
nextIndex: number;
|
|
98
|
+
};
|
|
99
|
+
}>, {
|
|
100
|
+
QBtn: ComponentConstructor<QBtn>;
|
|
101
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
102
|
+
export default _default;
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { PropType, SlotsType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComputedRef, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { QBtn, QCard, QCardActions, QCardSection, QIcon, QPopupProxy, ComponentConstructor } from 'quasar';
|
|
3
|
+
import { t } from '../..';
|
|
4
|
+
type ModelValueType = any;
|
|
5
|
+
export interface QInputRef {
|
|
6
|
+
validate: () => boolean;
|
|
7
|
+
resetValidation: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: PropType<ModelValueType>;
|
|
12
|
+
default: null;
|
|
13
|
+
};
|
|
14
|
+
iconSize: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
popupWidth: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
code: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
reuiqred: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>, {
|
|
31
|
+
t: t;
|
|
32
|
+
saveLoading: Ref<boolean, boolean>;
|
|
33
|
+
popupRef: Ref<QPopupProxy | null, QPopupProxy | null>;
|
|
34
|
+
tempValue: Ref<any, any>;
|
|
35
|
+
updateTempValue: (val: ModelValueType) => void;
|
|
36
|
+
handleProxyShow: () => void;
|
|
37
|
+
handleSave: () => Promise<void>;
|
|
38
|
+
editorRef: Ref<{
|
|
39
|
+
validate: () => boolean;
|
|
40
|
+
resetValidation: () => void;
|
|
41
|
+
} | null, QInputRef | {
|
|
42
|
+
validate: () => boolean;
|
|
43
|
+
resetValidation: () => void;
|
|
44
|
+
} | null>;
|
|
45
|
+
setEditorRef: (refInstance: QInputRef | null) => void;
|
|
46
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "saved" | "confirm")[], "update:modelValue" | "saved" | "confirm", PublicProps, Readonly< ExtractPropTypes<{
|
|
47
|
+
modelValue: {
|
|
48
|
+
type: PropType<ModelValueType>;
|
|
49
|
+
default: null;
|
|
50
|
+
};
|
|
51
|
+
iconSize: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
popupWidth: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
code: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
reuiqred: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
}>> & Readonly<{
|
|
68
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
69
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
onSaved?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}>, {
|
|
72
|
+
modelValue: any;
|
|
73
|
+
code: string;
|
|
74
|
+
iconSize: string;
|
|
75
|
+
popupWidth: string;
|
|
76
|
+
reuiqred: boolean;
|
|
77
|
+
}, SlotsType<{
|
|
78
|
+
display: void;
|
|
79
|
+
editor: {
|
|
80
|
+
tempValue: ModelValueType;
|
|
81
|
+
updateTempValue: (val: ModelValueType) => void;
|
|
82
|
+
setEditorRef: (ref: QInputRef | null) => void;
|
|
83
|
+
};
|
|
84
|
+
}>, {
|
|
85
|
+
JCPermission: DefineComponent<ExtractPropTypes<{
|
|
86
|
+
code: {
|
|
87
|
+
type: PropType<string | null>;
|
|
88
|
+
default: null;
|
|
89
|
+
};
|
|
90
|
+
defaultContent: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
rmDom: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
pagePermissionId: {
|
|
99
|
+
type: PropType<string[]>;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
pageActionPermissionId: {
|
|
103
|
+
type: PropType<string[]>;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
106
|
+
}>, {
|
|
107
|
+
hasPermission: ComputedRef<boolean>;
|
|
108
|
+
canRender: ComputedRef<boolean>;
|
|
109
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
110
|
+
code: {
|
|
111
|
+
type: PropType<string | null>;
|
|
112
|
+
default: null;
|
|
113
|
+
};
|
|
114
|
+
defaultContent: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
rmDom: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
pagePermissionId: {
|
|
123
|
+
type: PropType<string[]>;
|
|
124
|
+
default: undefined;
|
|
125
|
+
};
|
|
126
|
+
pageActionPermissionId: {
|
|
127
|
+
type: PropType<string[]>;
|
|
128
|
+
default: undefined;
|
|
129
|
+
};
|
|
130
|
+
}>> & Readonly<{}>, {
|
|
131
|
+
code: string | null;
|
|
132
|
+
pageActionPermissionId: string[];
|
|
133
|
+
pagePermissionId: string[];
|
|
134
|
+
defaultContent: string;
|
|
135
|
+
rmDom: boolean;
|
|
136
|
+
}, SlotsType<{
|
|
137
|
+
default: void;
|
|
138
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
139
|
+
QPopupProxy: ComponentConstructor<QPopupProxy>;
|
|
140
|
+
QIcon: ComponentConstructor<QIcon>;
|
|
141
|
+
QCard: ComponentConstructor<QCard>;
|
|
142
|
+
QCardSection: ComponentConstructor<QCardSection>;
|
|
143
|
+
QCardActions: ComponentConstructor<QCardActions>;
|
|
144
|
+
QBtn: ComponentConstructor<QBtn>;
|
|
145
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
146
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { PropType, SlotsType, DefineComponent, ExtractPropTypes, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type FallbackValue = any;
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
value: {
|
|
5
|
+
type: PropType<FallbackValue>;
|
|
6
|
+
default: null;
|
|
7
|
+
};
|
|
8
|
+
defaultContent: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
rmDom: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
zeroIsValid: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
falseIsValid: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}>, {
|
|
25
|
+
hasValue: ComputedRef<boolean>;
|
|
26
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
27
|
+
value: {
|
|
28
|
+
type: PropType<FallbackValue>;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
defaultContent: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
rmDom: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
zeroIsValid: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
falseIsValid: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{}>, {
|
|
48
|
+
defaultContent: string;
|
|
49
|
+
rmDom: boolean;
|
|
50
|
+
value: any;
|
|
51
|
+
zeroIsValid: boolean;
|
|
52
|
+
falseIsValid: boolean;
|
|
53
|
+
}, SlotsType<{
|
|
54
|
+
default: void;
|
|
55
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
export default _default;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { t } from '../../composables/useI18n.ts';
|
|
3
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
4
|
+
maxHeight: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
defaultCollapsed: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
viewInDialog: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
dialogTitle: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
dialogMaxWidth: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
}>, {
|
|
25
|
+
t: t;
|
|
26
|
+
contentWrapperRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
27
|
+
isCollapsed: Ref<boolean, boolean>;
|
|
28
|
+
needsToggle: ComputedRef<boolean>;
|
|
29
|
+
toggleList: () => void;
|
|
30
|
+
currentStyle: ComputedRef<{
|
|
31
|
+
maxHeight: string;
|
|
32
|
+
overflow: string;
|
|
33
|
+
} | {
|
|
34
|
+
maxHeight?: undefined;
|
|
35
|
+
overflow?: undefined;
|
|
36
|
+
}>;
|
|
37
|
+
remeasure: () => void;
|
|
38
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
39
|
+
maxHeight: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
defaultCollapsed: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
viewInDialog: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
dialogTitle: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
dialogMaxWidth: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
}>> & Readonly<{}>, {
|
|
60
|
+
maxHeight: number;
|
|
61
|
+
defaultCollapsed: boolean;
|
|
62
|
+
viewInDialog: boolean;
|
|
63
|
+
dialogTitle: string;
|
|
64
|
+
dialogMaxWidth: string;
|
|
65
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
66
|
+
export default _default;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { PropType, SlotsType, DefineComponent, ExtractPropTypes, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
export interface OptionItem {
|
|
3
|
+
label: string;
|
|
4
|
+
value: any;
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}
|
|
7
|
+
type LookupKey = 'label' | 'value';
|
|
8
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
9
|
+
value: {
|
|
10
|
+
type: PropType<any>;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
options: {
|
|
14
|
+
type: PropType<OptionItem[]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
matchKeys: {
|
|
18
|
+
type: PropType<LookupKey[]>;
|
|
19
|
+
default: () => string[];
|
|
20
|
+
validator: (val: LookupKey[]) => boolean;
|
|
21
|
+
};
|
|
22
|
+
defaultContent: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
rmDom: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
}>, {
|
|
31
|
+
hasMatch: ComputedRef<boolean>;
|
|
32
|
+
displayLabel: ComputedRef<string>;
|
|
33
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
34
|
+
value: {
|
|
35
|
+
type: PropType<any>;
|
|
36
|
+
default: null;
|
|
37
|
+
};
|
|
38
|
+
options: {
|
|
39
|
+
type: PropType<OptionItem[]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
matchKeys: {
|
|
43
|
+
type: PropType<LookupKey[]>;
|
|
44
|
+
default: () => string[];
|
|
45
|
+
validator: (val: LookupKey[]) => boolean;
|
|
46
|
+
};
|
|
47
|
+
defaultContent: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
rmDom: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{}>, {
|
|
56
|
+
defaultContent: string;
|
|
57
|
+
rmDom: boolean;
|
|
58
|
+
value: any;
|
|
59
|
+
matchKeys: LookupKey[];
|
|
60
|
+
}, SlotsType<{
|
|
61
|
+
default: {
|
|
62
|
+
label: string;
|
|
63
|
+
};
|
|
64
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
export default _default;
|