@kengic/uni 0.3.2-beta.3
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/README.md +1 -0
- package/dist/index.css +1 -0
- package/dist/kengic-uni.js +1374 -0
- package/dist/src/components/index.d.ts +5 -0
- package/dist/src/components/uni-ui/uni-badge/uni-badge.vue.d.ts +108 -0
- package/dist/src/components/uni-ui/uni-breadcrumb/uni-breadcrumb.vue.d.ts +23 -0
- package/dist/src/components/uni-ui/uni-breadcrumb-item/uni-breadcrumb-item.vue.d.ts +30 -0
- package/dist/src/components/uni-ui/uni-calendar/calendar.d.ts +67 -0
- package/dist/src/components/uni-ui/uni-calendar/i18n/index.d.ts +39 -0
- package/dist/src/components/uni-ui/uni-calendar/uni-calendar-item.vue.d.ts +47 -0
- package/dist/src/components/uni-ui/uni-calendar/uni-calendar.vue.d.ts +166 -0
- package/dist/src/components/uni-ui/uni-calendar/util.d.ts +211 -0
- package/dist/src/components/uni-ui/uni-card/uni-card.vue.d.ts +117 -0
- package/dist/src/components/uni-ui/uni-col/uni-col.vue.d.ts +70 -0
- package/dist/src/components/uni-ui/uni-collapse/uni-collapse.vue.d.ts +45 -0
- package/dist/src/components/uni-ui/uni-collapse-item/uni-collapse-item.vue.d.ts +102 -0
- package/dist/src/components/uni-ui/uni-combox/uni-combox.vue.d.ts +95 -0
- package/dist/src/components/uni-ui/uni-countdown/i18n/index.d.ts +21 -0
- package/dist/src/components/uni-ui/uni-countdown/uni-countdown.vue.d.ts +158 -0
- package/dist/src/components/uni-ui/uni-data-checkbox/uni-data-checkbox.vue.d.ts +192 -0
- package/dist/src/components/uni-ui/uni-data-picker/uni-data-picker.vue.d.ts +267 -0
- package/dist/src/components/uni-ui/uni-data-pickerview/uni-data-picker.d.ts +221 -0
- package/dist/src/components/uni-ui/uni-data-pickerview/uni-data-pickerview.vue.d.ts +169 -0
- package/dist/src/components/uni-ui/uni-data-select/uni-data-select.vue.d.ts +125 -0
- package/dist/src/components/uni-ui/uni-dateformat/date-format.d.ts +6 -0
- package/dist/src/components/uni-ui/uni-dateformat/uni-dateformat.vue.d.ts +57 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/calendar-item.vue.d.ts +44 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/calendar.vue.d.ts +253 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/i18n/index.d.ts +69 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/time-picker.vue.d.ts +225 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/uni-datetime-picker.vue.d.ts +236 -0
- package/dist/src/components/uni-ui/uni-datetime-picker/util.d.ts +171 -0
- package/dist/src/components/uni-ui/uni-drawer/keypress.d.ts +14 -0
- package/dist/src/components/uni-ui/uni-drawer/uni-drawer.vue.d.ts +78 -0
- package/dist/src/components/uni-ui/uni-easyinput/uni-easyinput.vue.d.ts +269 -0
- package/dist/src/components/uni-ui/uni-fab/uni-fab.vue.d.ts +109 -0
- package/dist/src/components/uni-ui/uni-fav/i18n/index.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-fav/uni-fav.vue.d.ts +99 -0
- package/dist/src/components/uni-ui/uni-file-picker/choose-and-upload-file.d.ts +4 -0
- package/dist/src/components/uni-ui/uni-file-picker/uni-file-picker.vue.d.ts +254 -0
- package/dist/src/components/uni-ui/uni-file-picker/upload-file.vue.d.ts +81 -0
- package/dist/src/components/uni-ui/uni-file-picker/upload-image.vue.d.ts +90 -0
- package/dist/src/components/uni-ui/uni-file-picker/utils.d.ts +22 -0
- package/dist/src/components/uni-ui/uni-forms/uni-forms.vue.d.ts +160 -0
- package/dist/src/components/uni-ui/uni-forms/utils.d.ts +20 -0
- package/dist/src/components/uni-ui/uni-forms/validate.d.ts +42 -0
- package/dist/src/components/uni-ui/uni-forms-item/uni-forms-item.vue.d.ts +127 -0
- package/dist/src/components/uni-ui/uni-goods-nav/i18n/index.d.ts +21 -0
- package/dist/src/components/uni-ui/uni-goods-nav/uni-goods-nav.vue.d.ts +61 -0
- package/dist/src/components/uni-ui/uni-grid/uni-grid.vue.d.ts +59 -0
- package/dist/src/components/uni-ui/uni-grid-item/uni-grid-item.vue.d.ts +26 -0
- package/dist/src/components/uni-ui/uni-group/uni-group.vue.d.ts +52 -0
- package/dist/src/components/uni-ui/uni-icons/icons.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-icons/uni-icons.vue.d.ts +56 -0
- package/dist/src/components/uni-ui/uni-indexed-list/uni-indexed-list-item.vue.d.ts +45 -0
- package/dist/src/components/uni-ui/uni-indexed-list/uni-indexed-list.vue.d.ts +49 -0
- package/dist/src/components/uni-ui/uni-link/uni-link.vue.d.ts +75 -0
- package/dist/src/components/uni-ui/uni-list/uni-list.vue.d.ts +53 -0
- package/dist/src/components/uni-ui/uni-list/uni-refresh.vue.d.ts +22 -0
- package/dist/src/components/uni-ui/uni-list-ad/uni-list-ad.vue.d.ts +25 -0
- package/dist/src/components/uni-ui/uni-list-chat/uni-list-chat.vue.d.ts +123 -0
- package/dist/src/components/uni-ui/uni-list-item/uni-list-item.vue.d.ts +248 -0
- package/dist/src/components/uni-ui/uni-load-more/i18n/index.d.ts +18 -0
- package/dist/src/components/uni-ui/uni-load-more/uni-load-more.vue.d.ts +89 -0
- package/dist/src/components/uni-ui/uni-nav-bar/uni-nav-bar.vue.d.ts +163 -0
- package/dist/src/components/uni-ui/uni-nav-bar/uni-status-bar.vue.d.ts +4 -0
- package/dist/src/components/uni-ui/uni-notice-bar/uni-notice-bar.vue.d.ts +138 -0
- package/dist/src/components/uni-ui/uni-number-box/uni-number-box.vue.d.ts +90 -0
- package/dist/src/components/uni-ui/uni-pagination/i18n/index.d.ts +28 -0
- package/dist/src/components/uni-ui/uni-pagination/uni-pagination.vue.d.ts +127 -0
- package/dist/src/components/uni-ui/uni-popup/i18n/index.d.ts +24 -0
- package/dist/src/components/uni-ui/uni-popup/keypress.d.ts +14 -0
- package/dist/src/components/uni-ui/uni-popup/popup.d.ts +17 -0
- package/dist/src/components/uni-ui/uni-popup/uni-popup.vue.d.ts +136 -0
- package/dist/src/components/uni-ui/uni-popup-dialog/uni-popup-dialog.vue.d.ts +123 -0
- package/dist/src/components/uni-ui/uni-popup-message/uni-popup-message.vue.d.ts +67 -0
- package/dist/src/components/uni-ui/uni-popup-share/uni-popup-share.vue.d.ts +49 -0
- package/dist/src/components/uni-ui/uni-rate/uni-rate.vue.d.ts +154 -0
- package/dist/src/components/uni-ui/uni-row/uni-row.vue.d.ts +41 -0
- package/dist/src/components/uni-ui/uni-search-bar/i18n/index.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-search-bar/uni-search-bar.vue.d.ts +126 -0
- package/dist/src/components/uni-ui/uni-section/uni-section.vue.d.ts +85 -0
- package/dist/src/components/uni-ui/uni-segmented-control/uni-segmented-control.vue.d.ts +47 -0
- package/dist/src/components/uni-ui/uni-steps/uni-steps.vue.d.ts +59 -0
- package/dist/src/components/uni-ui/uni-swipe-action/uni-swipe-action.vue.d.ts +6 -0
- package/dist/src/components/uni-ui/uni-swiper-dot/uni-swiper-dot.vue.d.ts +65 -0
- package/dist/src/components/uni-ui/uni-table/uni-table.vue.d.ts +99 -0
- package/dist/src/components/uni-ui/uni-tag/uni-tag.vue.d.ts +84 -0
- package/dist/src/components/uni-ui/uni-tbody/uni-tbody.vue.d.ts +2 -0
- package/dist/src/components/uni-ui/uni-td/uni-td.vue.d.ts +48 -0
- package/dist/src/components/uni-ui/uni-th/filter-dropdown.vue.d.ts +99 -0
- package/dist/src/components/uni-ui/uni-th/uni-th.vue.d.ts +97 -0
- package/dist/src/components/uni-ui/uni-thead/uni-thead.vue.d.ts +15 -0
- package/dist/src/components/uni-ui/uni-title/uni-title.vue.d.ts +54 -0
- package/dist/src/components/uni-ui/uni-tooltip/uni-tooltip.vue.d.ts +23 -0
- package/dist/src/components/uni-ui/uni-tr/table-checkbox.vue.d.ts +58 -0
- package/dist/src/components/uni-ui/uni-tr/uni-tr.vue.d.ts +39 -0
- package/dist/src/components/uni-ui/uni-transition/createAnimation.d.ts +16 -0
- package/dist/src/components/uni-ui/uni-transition/uni-transition.vue.d.ts +240 -0
- package/dist/src/consts/i18n/en.d.ts +45 -0
- package/dist/src/consts/i18n/index.d.ts +90 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +45 -0
- package/dist/src/consts/index.d.ts +1 -0
- package/dist/src/helpers/tsx.helper.d.ts +13 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/kg.util.d.ts +5 -0
- package/package.json +79 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
mode: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
multiple: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
value: {
|
|
11
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
12
|
+
default(): "";
|
|
13
|
+
};
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
16
|
+
default(): "";
|
|
17
|
+
};
|
|
18
|
+
localdata: {
|
|
19
|
+
type: ArrayConstructor;
|
|
20
|
+
default(): never[];
|
|
21
|
+
};
|
|
22
|
+
min: {
|
|
23
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
max: {
|
|
27
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
wrap: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
icon: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
selectedColor: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
selectedTextColor: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
emptyText: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
disabled: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
map: {
|
|
55
|
+
type: ObjectConstructor;
|
|
56
|
+
default(): {
|
|
57
|
+
text: string;
|
|
58
|
+
value: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
}, any, {
|
|
62
|
+
dataList: never[];
|
|
63
|
+
range: never[];
|
|
64
|
+
contentText: {
|
|
65
|
+
contentdown: string;
|
|
66
|
+
contentrefresh: string;
|
|
67
|
+
contentnomore: string;
|
|
68
|
+
};
|
|
69
|
+
isLocal: boolean;
|
|
70
|
+
styles: {
|
|
71
|
+
selectedColor: string;
|
|
72
|
+
selectedTextColor: string;
|
|
73
|
+
};
|
|
74
|
+
isTop: number;
|
|
75
|
+
}, {
|
|
76
|
+
dataValue(): string | number | unknown[];
|
|
77
|
+
}, {
|
|
78
|
+
loadData(): void;
|
|
79
|
+
/**
|
|
80
|
+
* 获取父元素实例
|
|
81
|
+
*/
|
|
82
|
+
getForm(name?: string): false | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
83
|
+
chagne(e: any): void;
|
|
84
|
+
/**
|
|
85
|
+
* 获取渲染的新数组
|
|
86
|
+
* @param {Object} value 选中内容
|
|
87
|
+
*/
|
|
88
|
+
getDataList(value: Object): Object;
|
|
89
|
+
/**
|
|
90
|
+
* 处理最大最小值
|
|
91
|
+
* @param {Object} list
|
|
92
|
+
*/
|
|
93
|
+
setRange(list: Object): Object;
|
|
94
|
+
/**
|
|
95
|
+
* 设置 class
|
|
96
|
+
* @param {Object} item
|
|
97
|
+
* @param {Object} index
|
|
98
|
+
*/
|
|
99
|
+
setStyles(item: Object, index: Object): void;
|
|
100
|
+
/**
|
|
101
|
+
* 获取选中值
|
|
102
|
+
* @param {Object} range
|
|
103
|
+
*/
|
|
104
|
+
getSelectedValue(range: Object): string | number | any[];
|
|
105
|
+
/**
|
|
106
|
+
* 设置背景样式
|
|
107
|
+
*/
|
|
108
|
+
setStyleBackgroud(item: any): string;
|
|
109
|
+
setStyleIcon(item: any): string;
|
|
110
|
+
setStyleIconText(item: any): string;
|
|
111
|
+
setStyleRightIcon(item: any): string;
|
|
112
|
+
}, any, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue")[], "input" | "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
+
mode: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
multiple: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
value: {
|
|
122
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
123
|
+
default(): "";
|
|
124
|
+
};
|
|
125
|
+
modelValue: {
|
|
126
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
127
|
+
default(): "";
|
|
128
|
+
};
|
|
129
|
+
localdata: {
|
|
130
|
+
type: ArrayConstructor;
|
|
131
|
+
default(): never[];
|
|
132
|
+
};
|
|
133
|
+
min: {
|
|
134
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
max: {
|
|
138
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
wrap: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
icon: {
|
|
146
|
+
type: StringConstructor;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
selectedColor: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
selectedTextColor: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
emptyText: {
|
|
158
|
+
type: StringConstructor;
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
disabled: {
|
|
162
|
+
type: BooleanConstructor;
|
|
163
|
+
default: boolean;
|
|
164
|
+
};
|
|
165
|
+
map: {
|
|
166
|
+
type: ObjectConstructor;
|
|
167
|
+
default(): {
|
|
168
|
+
text: string;
|
|
169
|
+
value: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
}>> & {
|
|
173
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
174
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
175
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
}, {
|
|
177
|
+
map: Record<string, any>;
|
|
178
|
+
value: string | number | unknown[];
|
|
179
|
+
mode: string;
|
|
180
|
+
modelValue: string | number | unknown[];
|
|
181
|
+
disabled: boolean;
|
|
182
|
+
localdata: unknown[];
|
|
183
|
+
multiple: boolean;
|
|
184
|
+
min: string | number;
|
|
185
|
+
max: string | number;
|
|
186
|
+
wrap: boolean;
|
|
187
|
+
icon: string;
|
|
188
|
+
selectedColor: string;
|
|
189
|
+
selectedTextColor: string;
|
|
190
|
+
emptyText: string;
|
|
191
|
+
}>;
|
|
192
|
+
export default _default;
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
options: {
|
|
3
|
+
type: (ArrayConstructor | ObjectConstructor)[];
|
|
4
|
+
default(): {};
|
|
5
|
+
};
|
|
6
|
+
popupTitle: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
placeholder: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
heightMobile: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
readonly: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
clearIcon: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
border: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
split: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
ellipsis: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
}, any, {
|
|
39
|
+
isOpened: boolean;
|
|
40
|
+
inputSelected: never[];
|
|
41
|
+
}, {}, {
|
|
42
|
+
clear(): void;
|
|
43
|
+
onPropsChange(): void;
|
|
44
|
+
load(): void;
|
|
45
|
+
show(): void;
|
|
46
|
+
hide(): void;
|
|
47
|
+
handleInput(): void;
|
|
48
|
+
handleClose(e: any): void;
|
|
49
|
+
onnodeclick(e: any): void;
|
|
50
|
+
ondatachange(e: any): void;
|
|
51
|
+
onchange(e: any): void;
|
|
52
|
+
_processReadonly(dataList: any, value: any): void;
|
|
53
|
+
_filterForArray(data: any, valueArray: any): any[];
|
|
54
|
+
_dispatchEvent(selected: any): void;
|
|
55
|
+
}, {
|
|
56
|
+
props: {
|
|
57
|
+
localdata: {
|
|
58
|
+
type: (ArrayConstructor | ObjectConstructor)[];
|
|
59
|
+
default(): never[];
|
|
60
|
+
};
|
|
61
|
+
spaceInfo: {
|
|
62
|
+
/**
|
|
63
|
+
* DataPicker 级联选择
|
|
64
|
+
* @description 支持单列、和多列级联选择。列数没有限制,如果屏幕显示不全,顶部tab区域会左右滚动。
|
|
65
|
+
* @tutorial https://ext.dcloud.net.cn/plugin?id=3796
|
|
66
|
+
* @property {String} popup-title 弹出窗口标题
|
|
67
|
+
* @property {Array} localdata 本地数据,参考
|
|
68
|
+
* @property {Boolean} border = [true|false] 是否有边框
|
|
69
|
+
* @property {Boolean} readonly = [true|false] 是否仅读
|
|
70
|
+
* @property {Boolean} preload = [true|false] 是否预加载数据
|
|
71
|
+
* @value true 开启预加载数据,点击弹出窗口后显示已加载数据
|
|
72
|
+
* @value false 关闭预加载数据,点击弹出窗口后开始加载数据
|
|
73
|
+
* @property {Boolean} step-searh = [true|false] 是否分布查询
|
|
74
|
+
* @value true 启用分布查询,仅查询当前选中节点
|
|
75
|
+
* @value false 关闭分布查询,一次查询出所有数据
|
|
76
|
+
* @property {String|DBFieldString} self-field 分布查询当前字段名称
|
|
77
|
+
* @property {String|DBFieldString} parent-field 分布查询父字段名称
|
|
78
|
+
* @property {String|DBCollectionString} collection 表名
|
|
79
|
+
* @property {String|DBFieldString} field 查询字段,多个字段用 `,` 分割
|
|
80
|
+
* @property {String} orderby 排序字段及正序倒叙设置
|
|
81
|
+
* @property {String|JQLString} where 查询条件
|
|
82
|
+
* @event {Function} popupshow 弹出的选择窗口打开时触发此事件
|
|
83
|
+
* @event {Function} popuphide 弹出的选择窗口关闭时触发此事件
|
|
84
|
+
*/
|
|
85
|
+
type: ObjectConstructor;
|
|
86
|
+
default(): {};
|
|
87
|
+
};
|
|
88
|
+
collection: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
action: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
field: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
orderby: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
where: {
|
|
105
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
pageData: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
pageCurrent: {
|
|
113
|
+
type: NumberConstructor;
|
|
114
|
+
default: number;
|
|
115
|
+
};
|
|
116
|
+
pageSize: {
|
|
117
|
+
type: NumberConstructor;
|
|
118
|
+
default: number;
|
|
119
|
+
};
|
|
120
|
+
getcount: {
|
|
121
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
getone: {
|
|
125
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
gettree: {
|
|
129
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
132
|
+
manual: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
value: {
|
|
137
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
138
|
+
default(): never[];
|
|
139
|
+
};
|
|
140
|
+
modelValue: {
|
|
141
|
+
type: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
142
|
+
default(): never[];
|
|
143
|
+
};
|
|
144
|
+
preload: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
stepSearh: {
|
|
149
|
+
type: BooleanConstructor;
|
|
150
|
+
default: boolean;
|
|
151
|
+
};
|
|
152
|
+
selfField: {
|
|
153
|
+
type: StringConstructor;
|
|
154
|
+
default: string;
|
|
155
|
+
};
|
|
156
|
+
parentField: {
|
|
157
|
+
type: StringConstructor;
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
160
|
+
multiple: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
164
|
+
map: {
|
|
165
|
+
type: ObjectConstructor;
|
|
166
|
+
default(): {
|
|
167
|
+
text: string;
|
|
168
|
+
value: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
data(): any;
|
|
173
|
+
computed: {
|
|
174
|
+
isLocalData(): any;
|
|
175
|
+
isCloudData(): any;
|
|
176
|
+
isCloudDataList(): any;
|
|
177
|
+
isCloudDataTree(): any;
|
|
178
|
+
dataValue(): any;
|
|
179
|
+
hasValue(): boolean;
|
|
180
|
+
};
|
|
181
|
+
created(): void;
|
|
182
|
+
methods: {
|
|
183
|
+
onPropsChange(): void;
|
|
184
|
+
loadData(): Promise<void>;
|
|
185
|
+
loadLocalData(): Promise<void>;
|
|
186
|
+
loadCloudDataList(): Promise<void>;
|
|
187
|
+
loadCloudDataTree(): Promise<void>;
|
|
188
|
+
loadCloudDataNode(callback: any): Promise<void>;
|
|
189
|
+
getCloudDataValue(): any;
|
|
190
|
+
getCloudDataListValue(): any;
|
|
191
|
+
getCloudDataTreeValue(): any;
|
|
192
|
+
getCommand(options?: {}): UniCloud.Database;
|
|
193
|
+
_cloudDataPostField(): string;
|
|
194
|
+
_cloudDataTreeWhere(): string;
|
|
195
|
+
_cloudDataNodeWhere(): string | any[];
|
|
196
|
+
_getWhereByForeignKey(): string;
|
|
197
|
+
_getForeignKeyByField(): any;
|
|
198
|
+
_updateBindData(node: any): {
|
|
199
|
+
isleaf: boolean;
|
|
200
|
+
hasNodes: boolean;
|
|
201
|
+
};
|
|
202
|
+
_updateSelected(): void;
|
|
203
|
+
_filterData(data: any, paths: any): {
|
|
204
|
+
dataList: any[];
|
|
205
|
+
hasNodes: boolean;
|
|
206
|
+
};
|
|
207
|
+
_extractTree(nodes: any, result: any, parent_value: any): void;
|
|
208
|
+
_extractTreePath(nodes: any, result: any): void;
|
|
209
|
+
_findNodePath(key: any, nodes: any, path?: any[]): any;
|
|
210
|
+
};
|
|
211
|
+
}, import("vue").ComponentOptionsMixin, ("change" | "input" | "update:modelValue" | "nodeclick" | "popupopened" | "popupclosed" | "inputclick")[], "input" | "change" | "update:modelValue" | "nodeclick" | "popupopened" | "popupclosed" | "inputclick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
212
|
+
options: {
|
|
213
|
+
type: (ArrayConstructor | ObjectConstructor)[];
|
|
214
|
+
default(): {};
|
|
215
|
+
};
|
|
216
|
+
popupTitle: {
|
|
217
|
+
type: StringConstructor;
|
|
218
|
+
default: string;
|
|
219
|
+
};
|
|
220
|
+
placeholder: {
|
|
221
|
+
type: StringConstructor;
|
|
222
|
+
default: string;
|
|
223
|
+
};
|
|
224
|
+
heightMobile: {
|
|
225
|
+
type: StringConstructor;
|
|
226
|
+
default: string;
|
|
227
|
+
};
|
|
228
|
+
readonly: {
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
default: boolean;
|
|
231
|
+
};
|
|
232
|
+
clearIcon: {
|
|
233
|
+
type: BooleanConstructor;
|
|
234
|
+
default: boolean;
|
|
235
|
+
};
|
|
236
|
+
border: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
240
|
+
split: {
|
|
241
|
+
type: StringConstructor;
|
|
242
|
+
default: string;
|
|
243
|
+
};
|
|
244
|
+
ellipsis: {
|
|
245
|
+
type: BooleanConstructor;
|
|
246
|
+
default: boolean;
|
|
247
|
+
};
|
|
248
|
+
}>> & {
|
|
249
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
250
|
+
onInput?: ((...args: any[]) => any) | undefined;
|
|
251
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
252
|
+
onNodeclick?: ((...args: any[]) => any) | undefined;
|
|
253
|
+
onPopupopened?: ((...args: any[]) => any) | undefined;
|
|
254
|
+
onPopupclosed?: ((...args: any[]) => any) | undefined;
|
|
255
|
+
onInputclick?: ((...args: any[]) => any) | undefined;
|
|
256
|
+
}, {
|
|
257
|
+
split: string;
|
|
258
|
+
border: boolean;
|
|
259
|
+
options: unknown[] | Record<string, any>;
|
|
260
|
+
placeholder: string;
|
|
261
|
+
ellipsis: boolean;
|
|
262
|
+
popupTitle: string;
|
|
263
|
+
heightMobile: string;
|
|
264
|
+
readonly: boolean;
|
|
265
|
+
clearIcon: boolean;
|
|
266
|
+
}>;
|
|
267
|
+
export default _default;
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace props {
|
|
3
|
+
namespace localdata {
|
|
4
|
+
export const type: (ArrayConstructor | ObjectConstructor)[];
|
|
5
|
+
function _default(): never[];
|
|
6
|
+
function _default(): never[];
|
|
7
|
+
export { _default as default };
|
|
8
|
+
}
|
|
9
|
+
namespace spaceInfo {
|
|
10
|
+
const type_1: ObjectConstructor;
|
|
11
|
+
export { type_1 as type };
|
|
12
|
+
function _default(): {};
|
|
13
|
+
function _default(): {};
|
|
14
|
+
export { _default as default };
|
|
15
|
+
}
|
|
16
|
+
namespace collection {
|
|
17
|
+
const type_2: StringConstructor;
|
|
18
|
+
export { type_2 as type };
|
|
19
|
+
const _default: string;
|
|
20
|
+
export { _default as default };
|
|
21
|
+
}
|
|
22
|
+
namespace action {
|
|
23
|
+
const type_3: StringConstructor;
|
|
24
|
+
export { type_3 as type };
|
|
25
|
+
const _default_1: string;
|
|
26
|
+
export { _default_1 as default };
|
|
27
|
+
}
|
|
28
|
+
namespace field {
|
|
29
|
+
const type_4: StringConstructor;
|
|
30
|
+
export { type_4 as type };
|
|
31
|
+
const _default_2: string;
|
|
32
|
+
export { _default_2 as default };
|
|
33
|
+
}
|
|
34
|
+
namespace orderby {
|
|
35
|
+
const type_5: StringConstructor;
|
|
36
|
+
export { type_5 as type };
|
|
37
|
+
const _default_3: string;
|
|
38
|
+
export { _default_3 as default };
|
|
39
|
+
}
|
|
40
|
+
namespace where {
|
|
41
|
+
const type_6: (StringConstructor | ObjectConstructor)[];
|
|
42
|
+
export { type_6 as type };
|
|
43
|
+
const _default_4: string;
|
|
44
|
+
export { _default_4 as default };
|
|
45
|
+
}
|
|
46
|
+
namespace pageData {
|
|
47
|
+
const type_7: StringConstructor;
|
|
48
|
+
export { type_7 as type };
|
|
49
|
+
const _default_5: string;
|
|
50
|
+
export { _default_5 as default };
|
|
51
|
+
}
|
|
52
|
+
namespace pageCurrent {
|
|
53
|
+
const type_8: NumberConstructor;
|
|
54
|
+
export { type_8 as type };
|
|
55
|
+
const _default_6: number;
|
|
56
|
+
export { _default_6 as default };
|
|
57
|
+
}
|
|
58
|
+
namespace pageSize {
|
|
59
|
+
const type_9: NumberConstructor;
|
|
60
|
+
export { type_9 as type };
|
|
61
|
+
const _default_7: number;
|
|
62
|
+
export { _default_7 as default };
|
|
63
|
+
}
|
|
64
|
+
namespace getcount {
|
|
65
|
+
const type_10: (StringConstructor | BooleanConstructor)[];
|
|
66
|
+
export { type_10 as type };
|
|
67
|
+
const _default_8: boolean;
|
|
68
|
+
export { _default_8 as default };
|
|
69
|
+
}
|
|
70
|
+
namespace getone {
|
|
71
|
+
const type_11: (StringConstructor | BooleanConstructor)[];
|
|
72
|
+
export { type_11 as type };
|
|
73
|
+
const _default_9: boolean;
|
|
74
|
+
export { _default_9 as default };
|
|
75
|
+
}
|
|
76
|
+
namespace gettree {
|
|
77
|
+
const type_12: (StringConstructor | BooleanConstructor)[];
|
|
78
|
+
export { type_12 as type };
|
|
79
|
+
const _default_10: boolean;
|
|
80
|
+
export { _default_10 as default };
|
|
81
|
+
}
|
|
82
|
+
namespace manual {
|
|
83
|
+
const type_13: BooleanConstructor;
|
|
84
|
+
export { type_13 as type };
|
|
85
|
+
const _default_11: boolean;
|
|
86
|
+
export { _default_11 as default };
|
|
87
|
+
}
|
|
88
|
+
namespace value {
|
|
89
|
+
const type_14: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
90
|
+
export { type_14 as type };
|
|
91
|
+
function _default(): never[];
|
|
92
|
+
function _default(): never[];
|
|
93
|
+
export { _default as default };
|
|
94
|
+
}
|
|
95
|
+
namespace modelValue {
|
|
96
|
+
const type_15: (StringConstructor | NumberConstructor | ArrayConstructor)[];
|
|
97
|
+
export { type_15 as type };
|
|
98
|
+
function _default(): never[];
|
|
99
|
+
function _default(): never[];
|
|
100
|
+
export { _default as default };
|
|
101
|
+
}
|
|
102
|
+
namespace preload {
|
|
103
|
+
const type_16: BooleanConstructor;
|
|
104
|
+
export { type_16 as type };
|
|
105
|
+
const _default_12: boolean;
|
|
106
|
+
export { _default_12 as default };
|
|
107
|
+
}
|
|
108
|
+
namespace stepSearh {
|
|
109
|
+
const type_17: BooleanConstructor;
|
|
110
|
+
export { type_17 as type };
|
|
111
|
+
const _default_13: boolean;
|
|
112
|
+
export { _default_13 as default };
|
|
113
|
+
}
|
|
114
|
+
namespace selfField {
|
|
115
|
+
const type_18: StringConstructor;
|
|
116
|
+
export { type_18 as type };
|
|
117
|
+
const _default_14: string;
|
|
118
|
+
export { _default_14 as default };
|
|
119
|
+
}
|
|
120
|
+
namespace parentField {
|
|
121
|
+
const type_19: StringConstructor;
|
|
122
|
+
export { type_19 as type };
|
|
123
|
+
const _default_15: string;
|
|
124
|
+
export { _default_15 as default };
|
|
125
|
+
}
|
|
126
|
+
namespace multiple {
|
|
127
|
+
const type_20: BooleanConstructor;
|
|
128
|
+
export { type_20 as type };
|
|
129
|
+
const _default_16: boolean;
|
|
130
|
+
export { _default_16 as default };
|
|
131
|
+
}
|
|
132
|
+
namespace map {
|
|
133
|
+
const type_21: ObjectConstructor;
|
|
134
|
+
export { type_21 as type };
|
|
135
|
+
function _default(): {
|
|
136
|
+
text: string;
|
|
137
|
+
value: string;
|
|
138
|
+
};
|
|
139
|
+
function _default(): {
|
|
140
|
+
text: string;
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
143
|
+
export { _default as default };
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
function data(): any;
|
|
147
|
+
function data(): any;
|
|
148
|
+
namespace computed {
|
|
149
|
+
function isLocalData(): any;
|
|
150
|
+
function isLocalData(): any;
|
|
151
|
+
function isCloudData(): any;
|
|
152
|
+
function isCloudData(): any;
|
|
153
|
+
function isCloudDataList(): any;
|
|
154
|
+
function isCloudDataList(): any;
|
|
155
|
+
function isCloudDataTree(): any;
|
|
156
|
+
function isCloudDataTree(): any;
|
|
157
|
+
function dataValue(): any;
|
|
158
|
+
function dataValue(): any;
|
|
159
|
+
function hasValue(): boolean;
|
|
160
|
+
function hasValue(): boolean;
|
|
161
|
+
}
|
|
162
|
+
function created(): void;
|
|
163
|
+
function created(): void;
|
|
164
|
+
namespace methods {
|
|
165
|
+
function onPropsChange(): void;
|
|
166
|
+
function onPropsChange(): void;
|
|
167
|
+
function loadData(): Promise<void>;
|
|
168
|
+
function loadData(): Promise<void>;
|
|
169
|
+
function loadLocalData(): Promise<void>;
|
|
170
|
+
function loadLocalData(): Promise<void>;
|
|
171
|
+
function loadCloudDataList(): Promise<void>;
|
|
172
|
+
function loadCloudDataList(): Promise<void>;
|
|
173
|
+
function loadCloudDataTree(): Promise<void>;
|
|
174
|
+
function loadCloudDataTree(): Promise<void>;
|
|
175
|
+
function loadCloudDataNode(callback: any): Promise<void>;
|
|
176
|
+
function loadCloudDataNode(callback: any): Promise<void>;
|
|
177
|
+
function getCloudDataValue(): any;
|
|
178
|
+
function getCloudDataValue(): any;
|
|
179
|
+
function getCloudDataListValue(): any;
|
|
180
|
+
function getCloudDataListValue(): any;
|
|
181
|
+
function getCloudDataTreeValue(): any;
|
|
182
|
+
function getCloudDataTreeValue(): any;
|
|
183
|
+
function getCommand(options?: {}): UniCloud.Database;
|
|
184
|
+
function getCommand(options?: {}): UniCloud.Database;
|
|
185
|
+
function _cloudDataPostField(): string;
|
|
186
|
+
function _cloudDataPostField(): string;
|
|
187
|
+
function _cloudDataTreeWhere(): string;
|
|
188
|
+
function _cloudDataTreeWhere(): string;
|
|
189
|
+
function _cloudDataNodeWhere(): string | any[];
|
|
190
|
+
function _cloudDataNodeWhere(): string | any[];
|
|
191
|
+
function _getWhereByForeignKey(): string;
|
|
192
|
+
function _getWhereByForeignKey(): string;
|
|
193
|
+
function _getForeignKeyByField(): any;
|
|
194
|
+
function _getForeignKeyByField(): any;
|
|
195
|
+
function _updateBindData(node: any): {
|
|
196
|
+
isleaf: boolean;
|
|
197
|
+
hasNodes: boolean;
|
|
198
|
+
};
|
|
199
|
+
function _updateBindData(node: any): {
|
|
200
|
+
isleaf: boolean;
|
|
201
|
+
hasNodes: boolean;
|
|
202
|
+
};
|
|
203
|
+
function _updateSelected(): void;
|
|
204
|
+
function _updateSelected(): void;
|
|
205
|
+
function _filterData(data: any, paths: any): {
|
|
206
|
+
dataList: any[];
|
|
207
|
+
hasNodes: boolean;
|
|
208
|
+
};
|
|
209
|
+
function _filterData(data: any, paths: any): {
|
|
210
|
+
dataList: any[];
|
|
211
|
+
hasNodes: boolean;
|
|
212
|
+
};
|
|
213
|
+
function _extractTree(nodes: any, result: any, parent_value: any): void;
|
|
214
|
+
function _extractTree(nodes: any, result: any, parent_value: any): void;
|
|
215
|
+
function _extractTreePath(nodes: any, result: any): void;
|
|
216
|
+
function _extractTreePath(nodes: any, result: any): void;
|
|
217
|
+
function _findNodePath(key: any, nodes: any, path?: any[]): any;
|
|
218
|
+
function _findNodePath(key: any, nodes: any, path?: any[]): any;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
export default _default;
|