keli-ui 0.3.12 → 0.3.13
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/TableComponent/TableListSelectAsync/TableListSelectAsync.vue.d.ts +32 -0
- package/dist/components/TableComponent/TableListSelectAsync/index.d.ts +3 -0
- package/dist/components/TableComponent/hooks/tableSelectAsync.hook.d.ts +29 -0
- package/dist/components/TableComponent/index.d.ts +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/keli-ui.css +1 -1
- package/dist/keli-ui.js +1250 -1109
- package/dist/keli-ui.js.map +1 -1
- package/dist/keli-ui.umd.cjs +8 -8
- package/dist/keli-ui.umd.cjs.map +1 -1
- package/dist/types/global-components.d.ts +2 -1
- package/dist/types/tableFrame.d.ts +51 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElButtonPlus, ElColPlus, ElRowPlus, ToolBar, QueryBar, QueryDateTime, QueryInput, QueryInputLike, QuerySelect, QueryTreeFilter, TableInput, TableInputNumber, TableSelect, TableSelectAsync, TableSwitch, TableListSelect, TableCheckBoxAsync, TableRender, TableCardRender, FormInput, FormInputNumber, FormTextArea, FormText, FormSelect, FormSelectAsync, FormSelectRemote, FormRadio, FormCheckBox, FormCheckBoxAsync, FormSwitch, FormDatePicker, FormDateTimePicker, FormCascaderAsync, FormTableSelect, FormTableSelectAsync, FormDictSelector, FormIconPicker, FormImageUpload, FormCodeEditor, FormDivider, FormFieldset, FormDynamicTable, DynamicMapTable, FormRender, AppFormRender, DialogForm, DrawerForm, FileIsland, ApprovalRecord, FlowUserDialog, EmbeddedTable, EmbeddedDialogForm, ChartRender } from './index';
|
|
1
|
+
import { ElButtonPlus, ElColPlus, ElRowPlus, ToolBar, QueryBar, QueryDateTime, QueryInput, QueryInputLike, QuerySelect, QueryTreeFilter, TableInput, TableInputNumber, TableSelect, TableSelectAsync, TableSwitch, TableListSelect, TableListSelectAsync, TableCheckBoxAsync, TableRender, TableCardRender, FormInput, FormInputNumber, FormTextArea, FormText, FormSelect, FormSelectAsync, FormSelectRemote, FormRadio, FormCheckBox, FormCheckBoxAsync, FormSwitch, FormDatePicker, FormDateTimePicker, FormCascaderAsync, FormTableSelect, FormTableSelectAsync, FormDictSelector, FormIconPicker, FormImageUpload, FormCodeEditor, FormDivider, FormFieldset, FormDynamicTable, DynamicMapTable, FormRender, AppFormRender, DialogForm, DrawerForm, FileIsland, ApprovalRecord, FlowUserDialog, EmbeddedTable, EmbeddedDialogForm, ChartRender } from './index';
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
declare module 'vue' {
|
|
@@ -19,6 +19,7 @@ declare module 'vue' {
|
|
|
19
19
|
TableSelectAsync: typeof TableSelectAsync;
|
|
20
20
|
TableSwitch: typeof TableSwitch;
|
|
21
21
|
TableListSelect: typeof TableListSelect;
|
|
22
|
+
TableListSelectAsync: typeof TableListSelectAsync;
|
|
22
23
|
TableCheckBoxAsync: typeof TableCheckBoxAsync;
|
|
23
24
|
TableRender: typeof TableRender;
|
|
24
25
|
TableCardRender: typeof TableCardRender;
|
|
@@ -166,6 +166,57 @@ export interface TableListSelectorProp extends TableComponentFrame {
|
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
+
/** 异步下拉表选择器(选项通过HTTP异步获取) */
|
|
170
|
+
export interface TableListSelectorAsyncProp extends TableComponentFrame {
|
|
171
|
+
editRender: {
|
|
172
|
+
/**
|
|
173
|
+
* 组件名称
|
|
174
|
+
*/
|
|
175
|
+
name: string;
|
|
176
|
+
|
|
177
|
+
props: {
|
|
178
|
+
/** 组件其他参数 可参考element-plus或者vant的组件参数 */
|
|
179
|
+
componentParams: {
|
|
180
|
+
[propName: string]: any;
|
|
181
|
+
/**
|
|
182
|
+
* key字段
|
|
183
|
+
*/
|
|
184
|
+
keyField: string;
|
|
185
|
+
/**
|
|
186
|
+
* label字段
|
|
187
|
+
*/
|
|
188
|
+
labelField: string;
|
|
189
|
+
mode?: string;
|
|
190
|
+
optionSlots: KeFormTableSelectOption[];
|
|
191
|
+
/**
|
|
192
|
+
* option宽度
|
|
193
|
+
*/
|
|
194
|
+
optionWidth?: number;
|
|
195
|
+
/**
|
|
196
|
+
* value字段
|
|
197
|
+
*/
|
|
198
|
+
valueField: string;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* 是否禁止编辑
|
|
202
|
+
*/
|
|
203
|
+
disabled: boolean;
|
|
204
|
+
/** 是否多选 */
|
|
205
|
+
multiple?: boolean;
|
|
206
|
+
/** 下拉框选项(异步组件内部通过HTTP获取,初始为空) */
|
|
207
|
+
options: any[];
|
|
208
|
+
/** Http URL */
|
|
209
|
+
optionHttpUrl: string;
|
|
210
|
+
/** http方法 */
|
|
211
|
+
optionHttpMethod: HttpMethod;
|
|
212
|
+
/** http默认参数 */
|
|
213
|
+
optionHttpParams: any;
|
|
214
|
+
/** http其他字段(从当前行数据rowData中获取对应字段值作为请求参数) */
|
|
215
|
+
optionHttpParamsValue: string[];
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
|
|
169
220
|
/**
|
|
170
221
|
* 分页
|
|
171
222
|
*/
|