@juzhenfe/page-model 3.10.5 → 3.11.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/dist/components/buttons-renderer/components/button-item-render/index.vue.d.ts +28 -0
- package/dist/components/buttons-renderer/index.vue.d.ts +18 -0
- package/dist/components/page-model/components/selectable-operate/index.vue.d.ts +18 -0
- package/dist/index.es.js +107 -67
- package/dist/index.umd.js +3 -3
- package/dist/types/common.d.ts +2 -0
- package/package.json +1 -1
package/dist/types/common.d.ts
CHANGED
|
@@ -104,6 +104,7 @@ declare global {
|
|
|
104
104
|
copyText?: CreateDeType<string>;
|
|
105
105
|
props?: Partial<_ButtonProps>;
|
|
106
106
|
customProps?: AnyObject;
|
|
107
|
+
renderFn?: (this: CTX) => JSX.Element;
|
|
107
108
|
} & _Badge
|
|
108
109
|
|
|
109
110
|
type Button<MODEL = AnyObject, CTX = any> = _Button<MODEL, CTX> & {
|
|
@@ -230,6 +231,7 @@ declare global {
|
|
|
230
231
|
filterData?: FormItem<MODEL, CTX>,
|
|
231
232
|
// 是否直接显示编辑组件
|
|
232
233
|
showEdit?: boolean;
|
|
234
|
+
required?: boolean;
|
|
233
235
|
// 内置编辑组件
|
|
234
236
|
editData?: FormItem<MODEL, CTX> & {
|
|
235
237
|
api?: string | ((this: CTX, data: MODEL) => string);
|