@baosight/er4j 0.0.33 → 0.0.35
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/er4j-dist/er4j.es.js +6108 -6050
- package/er4j-dist/er4j.es.js.map +1 -1
- package/er4j-dist/er4j.umd.js +38 -38
- package/er4j-dist/er4j.umd.js.map +1 -1
- package/er4j-dist/types/components/ErGridCellEditor/DropdownEditor.vue.d.ts +1 -0
- package/er4j-dist/types/utils/er.d.ts +9 -0
- package/package.json +1 -1
|
@@ -809,6 +809,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
809
809
|
isCancelBeforeStart: () => boolean;
|
|
810
810
|
isCancelAfterEnd: () => boolean;
|
|
811
811
|
onFilterTextBoxChanged: (e: any) => void;
|
|
812
|
+
onRowSelected: (params: any) => void;
|
|
812
813
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
813
814
|
params?: any;
|
|
814
815
|
}> & Readonly<{}>, {}, {}, {
|
|
@@ -2246,6 +2246,15 @@ export declare namespace ER {
|
|
|
2246
2246
|
setLayoutItemValidateRules(configId: string, itemCode: string, rules: Array<{
|
|
2247
2247
|
[key: string]: any;
|
|
2248
2248
|
}>, replaceExistRules?: boolean): FormHelper;
|
|
2249
|
+
/**
|
|
2250
|
+
* 设置LayoutItem的验证器
|
|
2251
|
+
* @param configId 区域配置代码
|
|
2252
|
+
* @param itemCode 配置项目代码
|
|
2253
|
+
* @param validator 验证器
|
|
2254
|
+
* @param replaceExistRules 替换已有规则
|
|
2255
|
+
* @returns FormHelper
|
|
2256
|
+
*/
|
|
2257
|
+
setLayoutItemValidator(configId: string, itemCode: string, validator: (value: any) => boolean | string, replaceExistRules?: boolean): FormHelper;
|
|
2249
2258
|
/**
|
|
2250
2259
|
* 设置LayoutItem的标题的颜色
|
|
2251
2260
|
* @param configId 区域配置代码
|