@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
- if (option.isHidden != 1) {
154
- childList.push( /*#__PURE__*/React.createElement(Option, {
155
- option: option,
156
- key: option === null || option === void 0 ? void 0 : option.key,
157
- checked: (currentAttr === null || currentAttr === void 0 ? void 0 : currentAttr.key) === (option === null || option === void 0 ? void 0 : option.key),
158
- highlight: {
159
- enable: true,
160
- text: searchValue
161
- },
162
- disabled: disabled,
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
@@ -80,6 +80,7 @@ function responseErrorHandler(url, apiResult, errorTitle) {
80
80
  message: errorTitle || "\u8BF7\u6C42\u9519\u8BEF",
81
81
  description: message
82
82
  });
83
+ throw new Error(message);
83
84
  }
84
85
 
85
86
  return apiResult;
@@ -45,7 +45,6 @@ export declare namespace OldSystem {
45
45
  prop_type: PropType;
46
46
  }
47
47
  interface UserProp {
48
- hidden: any;
49
48
  id: number;
50
49
  alias_name?: string;
51
50
  category: 'fixed' | 'custom';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.1.7",
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": "efadc4601b93ddfe08f1cab167463f7391acefea"
63
+ "gitHead": "dfba7dca09d223172290debf733dfa8fff654b27"
64
64
  }