@juzhenfe/page-model 3.18.4 → 3.18.6
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/form/type.d.ts +4 -3
- package/dist/index.es.js +5 -2
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
|
@@ -79,14 +79,15 @@ declare global {
|
|
|
79
79
|
type GridLayout = {}
|
|
80
80
|
|
|
81
81
|
type FormItem<MODEL = AnyObject, CTX = any> = LinkedFormItem<MODEL, CTX> & ColLayout & GridLayout
|
|
82
|
-
|
|
82
|
+
|
|
83
|
+
|
|
83
84
|
type Form<MODEL = AnyObject, CTX = any> = {
|
|
84
85
|
// 表单容器的显示模式
|
|
85
86
|
mode?: FormMode;
|
|
86
87
|
// 弹窗模式配置参数
|
|
87
|
-
dialogProps?: CreatePropsFromElement<
|
|
88
|
+
dialogProps?: CreatePropsFromElement<Omit<DrawerProps, 'title'> & { title?: CreateDeType<string, CTX> }, undefined, CTX>;
|
|
88
89
|
// 抽屉的参数
|
|
89
|
-
drawerProps?: CreatePropsFromElement<DrawerProps, undefined, CTX>;
|
|
90
|
+
drawerProps?: CreatePropsFromElement<(Omit<DrawerProps, 'title'>) & { title?: CreateDeType<string, CTX> }, undefined, CTX>;
|
|
90
91
|
// 全屏表单模式参数
|
|
91
92
|
fullpageProps?: FullPageProps;
|
|
92
93
|
// 容器组件
|
package/dist/index.es.js
CHANGED
|
@@ -5328,7 +5328,10 @@ class TableManager extends IManager {
|
|
|
5328
5328
|
const el = exportEls[j];
|
|
5329
5329
|
let val = this.getTableCellText(el, item);
|
|
5330
5330
|
if (((_a = el == null ? void 0 : el.filters) == null ? void 0 : _a.filterType) === "number") {
|
|
5331
|
-
|
|
5331
|
+
let _val = Number(val);
|
|
5332
|
+
if (!isNaN(_val)) {
|
|
5333
|
+
val = _val;
|
|
5334
|
+
}
|
|
5332
5335
|
}
|
|
5333
5336
|
rowData.push(val);
|
|
5334
5337
|
}
|
|
@@ -14928,7 +14931,7 @@ const defineEditableTable = function(config) {
|
|
|
14928
14931
|
};
|
|
14929
14932
|
var iconfont = "";
|
|
14930
14933
|
const name = "@juzhenfe/page-model";
|
|
14931
|
-
const version = "3.18.
|
|
14934
|
+
const version = "3.18.6";
|
|
14932
14935
|
const types = "dist/main.d.ts";
|
|
14933
14936
|
const main = "dist/index.umd.js";
|
|
14934
14937
|
const keywords = [
|