versacall-dashboards-library-react 2.0.35 → 2.0.37
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.
|
@@ -57,7 +57,6 @@ function DashboardsCellGlobalActions(props) {
|
|
|
57
57
|
classes = props.classes,
|
|
58
58
|
images = props.images,
|
|
59
59
|
dashboards = props.dashboards,
|
|
60
|
-
variables = props.variables,
|
|
61
60
|
updateAction = props.updateAction,
|
|
62
61
|
action = props.action;
|
|
63
62
|
|
|
@@ -120,10 +119,6 @@ function DashboardsCellGlobalActions(props) {
|
|
|
120
119
|
fullWidth: true,
|
|
121
120
|
select: true
|
|
122
121
|
}, /*#__PURE__*/_react.default.createElement("option", {
|
|
123
|
-
value: "text"
|
|
124
|
-
}, intl.formatMessage({
|
|
125
|
-
id: '__text'
|
|
126
|
-
})), /*#__PURE__*/_react.default.createElement("option", {
|
|
127
122
|
value: "url"
|
|
128
123
|
}, intl.formatMessage({
|
|
129
124
|
id: '__url'
|
|
@@ -138,25 +133,7 @@ function DashboardsCellGlobalActions(props) {
|
|
|
138
133
|
})))), /*#__PURE__*/_react.default.createElement(_Grid.default, {
|
|
139
134
|
xs: 10,
|
|
140
135
|
item: true
|
|
141
|
-
}, action.type === '
|
|
142
|
-
id: "name",
|
|
143
|
-
value: action.value,
|
|
144
|
-
options: variables,
|
|
145
|
-
label: intl.formatMessage({
|
|
146
|
-
id: '__text'
|
|
147
|
-
}),
|
|
148
|
-
InputLabelProps: {
|
|
149
|
-
shrink: true
|
|
150
|
-
},
|
|
151
|
-
updateValue: eventValue => updateAction(_objectSpread(_objectSpread({}, action), {}, {
|
|
152
|
-
value: eventValue
|
|
153
|
-
})),
|
|
154
|
-
selectOption: eventOption => updateAction(_objectSpread(_objectSpread({}, action), {}, {
|
|
155
|
-
value: "~".concat(eventOption.name)
|
|
156
|
-
})),
|
|
157
|
-
fullWidth: true,
|
|
158
|
-
multiline: true
|
|
159
|
-
}), action.type === 'url' && /*#__PURE__*/_react.default.createElement(_TextField.default, {
|
|
136
|
+
}, action.type === 'url' && /*#__PURE__*/_react.default.createElement(_TextField.default, {
|
|
160
137
|
id: "url",
|
|
161
138
|
variant: "outlined",
|
|
162
139
|
value: action.value,
|
|
@@ -229,12 +206,10 @@ DashboardsCellGlobalActions.propTypes = {
|
|
|
229
206
|
classes: _propTypes.default.shape().isRequired,
|
|
230
207
|
updateAction: _propTypes.default.func.isRequired,
|
|
231
208
|
images: _propTypes.default.arrayOf(_propTypes.default.shape()),
|
|
232
|
-
dashboards: _propTypes.default.arrayOf(_propTypes.default.shape())
|
|
233
|
-
variables: _propTypes.default.arrayOf(_propTypes.default.shape())
|
|
209
|
+
dashboards: _propTypes.default.arrayOf(_propTypes.default.shape())
|
|
234
210
|
};
|
|
235
211
|
DashboardsCellGlobalActions.defaultProps = {
|
|
236
212
|
images: [],
|
|
237
|
-
variables: [],
|
|
238
213
|
dashboards: []
|
|
239
214
|
};
|
|
240
215
|
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"versacall": {
|
|
3
3
|
"title": "Versacall Dashboards Library React",
|
|
4
4
|
"applicationType": "react-library",
|
|
5
|
-
"build":
|
|
5
|
+
"build": 37
|
|
6
6
|
},
|
|
7
7
|
"name": "versacall-dashboards-library-react",
|
|
8
|
-
"version": "2.0.
|
|
8
|
+
"version": "2.0.37",
|
|
9
9
|
"description": "Versacall Dashboards Library",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"module": "dist/index.js",
|