@zgfe/business-lib 1.1.7 → 1.1.8-dm.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.
|
@@ -149,20 +149,17 @@ var AttrListPanel = function AttrListPanel(props) {
|
|
|
149
149
|
disableItemlist === null || disableItemlist === void 0 ? void 0 : disableItemlist.forEach(function (item) {
|
|
150
150
|
if (item.key === option.key) disabled = true;
|
|
151
151
|
});
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
onClick: onClick
|
|
164
|
-
}));
|
|
165
|
-
}
|
|
152
|
+
childList.push( /*#__PURE__*/React.createElement(Option, {
|
|
153
|
+
option: option,
|
|
154
|
+
key: option === null || option === void 0 ? void 0 : option.key,
|
|
155
|
+
checked: (currentAttr === null || currentAttr === void 0 ? void 0 : currentAttr.key) === (option === null || option === void 0 ? void 0 : option.key),
|
|
156
|
+
highlight: {
|
|
157
|
+
enable: true,
|
|
158
|
+
text: searchValue
|
|
159
|
+
},
|
|
160
|
+
disabled: disabled,
|
|
161
|
+
onClick: onClick
|
|
162
|
+
}));
|
|
166
163
|
});
|
|
167
164
|
|
|
168
165
|
if (childList.length) {
|
|
@@ -37,6 +37,7 @@ export interface BasicProp {
|
|
|
37
37
|
type?: PropType;
|
|
38
38
|
realTime?: boolean;
|
|
39
39
|
dimensionSub?: string;
|
|
40
|
+
isHidden?: boolean;
|
|
40
41
|
}
|
|
41
42
|
export interface UserProp extends BasicProp {
|
|
42
43
|
name: string;
|
|
@@ -44,7 +45,6 @@ export interface UserProp extends BasicProp {
|
|
|
44
45
|
propCategory: 'userProp';
|
|
45
46
|
key?: string;
|
|
46
47
|
subtype?: number;
|
|
47
|
-
isHidden?: number;
|
|
48
48
|
}
|
|
49
49
|
export interface EnvProp extends BasicProp {
|
|
50
50
|
category?: 'fixed' | 'custom';
|
|
@@ -56,7 +56,6 @@ export interface EventProp extends BasicProp {
|
|
|
56
56
|
eventId?: number;
|
|
57
57
|
propCategory: 'eventProp';
|
|
58
58
|
key?: number;
|
|
59
|
-
isHidden?: boolean;
|
|
60
59
|
}
|
|
61
60
|
export interface PropGroups {
|
|
62
61
|
eventGroupList?: EventGroup[];
|
|
@@ -68,7 +68,6 @@ export default function convertAttributeData(store) {
|
|
|
68
68
|
res.userPropList = (_store$userPropList = store.userPropList) === null || _store$userPropList === void 0 ? void 0 : _store$userPropList.map(function (prop) {
|
|
69
69
|
return {
|
|
70
70
|
id: prop.id || 0,
|
|
71
|
-
isHidden: prop.hidden,
|
|
72
71
|
alias: prop.alias_name,
|
|
73
72
|
category: prop.category,
|
|
74
73
|
key: "userProp-".concat(prop.name),
|
package/es/utils/ajax.js
CHANGED
package/es/utils/type.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/business-lib",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8-dm.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"react": "^16.12.0 || ^17.0.0",
|
|
61
61
|
"yorkie": "^2.0.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "dfba7dca09d223172290debf733dfa8fff654b27"
|
|
64
64
|
}
|