@pisell/materials 1.0.246 → 1.0.248
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +8 -8
- package/build/lowcode/view.js +8 -8
- package/es/components/tabs/index.js +3 -0
- package/lib/components/tabs/index.js +1 -0
- package/lowcode/date-picker.range-picker/meta.ts +19 -10
- package/lowcode/tabs/meta.ts +8 -0
- package/package.json +3 -3
|
@@ -117,6 +117,9 @@ var Tabs = /*#__PURE__*/function (_Component) {
|
|
|
117
117
|
return null;
|
|
118
118
|
}).filter(Boolean);
|
|
119
119
|
}
|
|
120
|
+
items = items.filter(function (item) {
|
|
121
|
+
return !(item !== null && item !== void 0 && item.hidden);
|
|
122
|
+
});
|
|
120
123
|
if (type === "icon-label") {
|
|
121
124
|
otherProps = {
|
|
122
125
|
renderTabBar: this.renderIconLabelTabBar,
|
|
@@ -119,6 +119,7 @@ var Tabs = class extends import_react.Component {
|
|
|
119
119
|
return null;
|
|
120
120
|
}).filter(Boolean);
|
|
121
121
|
}
|
|
122
|
+
items = items.filter((item) => !(item == null ? void 0 : item.hidden));
|
|
122
123
|
if (type === "icon-label") {
|
|
123
124
|
otherProps = {
|
|
124
125
|
renderTabBar: this.renderIconLabelTabBar,
|
|
@@ -75,16 +75,25 @@ export default {
|
|
|
75
75
|
propType: "string",
|
|
76
76
|
setter: "PisellI18nSetter",
|
|
77
77
|
},
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
78
|
+
{
|
|
79
|
+
name: "allowClear",
|
|
80
|
+
title: {
|
|
81
|
+
label: "支持清除",
|
|
82
|
+
tip: "allowClear | 是否允许清除",
|
|
83
|
+
},
|
|
84
|
+
propType: "bool",
|
|
85
|
+
defaultValue: true,
|
|
86
|
+
setter: "BoolSetter",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "inputReadOnly",
|
|
90
|
+
title: {
|
|
91
|
+
label: "设置输入框为只读",
|
|
92
|
+
tip: "inputReadOnly | 设置输入框为只读",
|
|
93
|
+
},
|
|
94
|
+
propType: "bool",
|
|
95
|
+
setter: "BoolSetter",
|
|
96
|
+
},
|
|
88
97
|
{
|
|
89
98
|
name: "bordered",
|
|
90
99
|
title: {
|
package/lowcode/tabs/meta.ts
CHANGED
|
@@ -60,6 +60,13 @@ export default {
|
|
|
60
60
|
initialValue: false,
|
|
61
61
|
supportVariable: true,
|
|
62
62
|
},
|
|
63
|
+
{
|
|
64
|
+
name: "hidden",
|
|
65
|
+
title: "隐藏",
|
|
66
|
+
setter: "BoolSetter",
|
|
67
|
+
initialValue: false,
|
|
68
|
+
supportVariable: true,
|
|
69
|
+
},
|
|
63
70
|
{
|
|
64
71
|
name: "forceRender",
|
|
65
72
|
title: "隐藏时保留",
|
|
@@ -106,6 +113,7 @@ export default {
|
|
|
106
113
|
},
|
|
107
114
|
],
|
|
108
115
|
},
|
|
116
|
+
defaultValue: null
|
|
109
117
|
},
|
|
110
118
|
condition(target) {
|
|
111
119
|
return (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.248",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"react-window": "^1.8.10",
|
|
63
63
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
64
64
|
"crypto-js": "^4.2.0",
|
|
65
|
-
"@pisell/utils": "1.0.23",
|
|
66
65
|
"@pisell/icon": "0.0.8",
|
|
67
|
-
"@pisell/
|
|
66
|
+
"@pisell/utils": "1.0.23",
|
|
67
|
+
"@pisell/date-picker": "1.0.70"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"react": "^18.0.0",
|