cx 22.8.1 → 22.9.0
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/charts.js +35 -39
- package/dist/data.js +36 -40
- package/dist/manifest.js +361 -361
- package/dist/svg.js +55 -63
- package/dist/ui.js +41 -42
- package/dist/widgets.css +27 -5
- package/dist/widgets.js +44 -41
- package/package.json +1 -1
- package/src/charts/ColorMap.d.ts +9 -15
- package/src/data/View.d.ts +5 -5
- package/src/ui/Repeater.spec.js +124 -40
- package/src/ui/adapter/ArrayAdapter.spec.js +55 -0
- package/src/widgets/Button.scss +36 -28
- package/src/widgets/form/LookupField.js +1 -0
- package/src/widgets/form/LookupField.scss +12 -3
- package/src/widgets/form/TextField.scss +5 -17
- package/src/widgets/form/variables.scss +5 -4
- package/src/widgets/nav/Menu.d.ts +1 -1
- package/src/widgets/overlay/Tooltip.js +6 -1
package/dist/charts.js
CHANGED
|
@@ -35,31 +35,16 @@ import {
|
|
|
35
35
|
tooltipParentDidMount
|
|
36
36
|
} from "cx/widgets";
|
|
37
37
|
|
|
38
|
-
function _defineProperty(obj, key, value) {
|
|
39
|
-
if (key in obj) {
|
|
40
|
-
Object.defineProperty(obj, key, {
|
|
41
|
-
value: value,
|
|
42
|
-
enumerable: true,
|
|
43
|
-
configurable: true,
|
|
44
|
-
writable: true
|
|
45
|
-
});
|
|
46
|
-
} else {
|
|
47
|
-
obj[key] = value;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
return obj;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
38
|
function ownKeys(object, enumerableOnly) {
|
|
54
39
|
var keys = Object.keys(object);
|
|
55
40
|
|
|
56
41
|
if (Object.getOwnPropertySymbols) {
|
|
57
42
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
58
|
-
|
|
59
|
-
symbols = symbols.filter(function(sym) {
|
|
43
|
+
enumerableOnly &&
|
|
44
|
+
(symbols = symbols.filter(function(sym) {
|
|
60
45
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
61
|
-
})
|
|
62
|
-
|
|
46
|
+
})),
|
|
47
|
+
keys.push.apply(keys, symbols);
|
|
63
48
|
}
|
|
64
49
|
|
|
65
50
|
return keys;
|
|
@@ -67,24 +52,36 @@ function ownKeys(object, enumerableOnly) {
|
|
|
67
52
|
|
|
68
53
|
function _objectSpread2(target) {
|
|
69
54
|
for (var i = 1; i < arguments.length; i++) {
|
|
70
|
-
var source = arguments[i]
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
81
|
-
});
|
|
82
|
-
}
|
|
55
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
56
|
+
i % 2
|
|
57
|
+
? ownKeys(Object(source), !0).forEach(function(key) {
|
|
58
|
+
_defineProperty(target, key, source[key]);
|
|
59
|
+
})
|
|
60
|
+
: Object.getOwnPropertyDescriptors
|
|
61
|
+
? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source))
|
|
62
|
+
: ownKeys(Object(source)).forEach(function(key) {
|
|
63
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
64
|
+
});
|
|
83
65
|
}
|
|
84
66
|
|
|
85
67
|
return target;
|
|
86
68
|
}
|
|
87
69
|
|
|
70
|
+
function _defineProperty(obj, key, value) {
|
|
71
|
+
if (key in obj) {
|
|
72
|
+
Object.defineProperty(obj, key, {
|
|
73
|
+
value: value,
|
|
74
|
+
enumerable: true,
|
|
75
|
+
configurable: true,
|
|
76
|
+
writable: true
|
|
77
|
+
});
|
|
78
|
+
} else {
|
|
79
|
+
obj[key] = value;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return obj;
|
|
83
|
+
}
|
|
84
|
+
|
|
88
85
|
function _inheritsLoose(subClass, superClass) {
|
|
89
86
|
subClass.prototype = Object.create(superClass.prototype);
|
|
90
87
|
subClass.prototype.constructor = subClass;
|
|
@@ -93,13 +90,12 @@ function _inheritsLoose(subClass, superClass) {
|
|
|
93
90
|
}
|
|
94
91
|
|
|
95
92
|
function _setPrototypeOf(o, p) {
|
|
96
|
-
_setPrototypeOf =
|
|
97
|
-
Object.setPrototypeOf
|
|
98
|
-
function _setPrototypeOf(o, p) {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
93
|
+
_setPrototypeOf = Object.setPrototypeOf
|
|
94
|
+
? Object.setPrototypeOf.bind()
|
|
95
|
+
: function _setPrototypeOf(o, p) {
|
|
96
|
+
o.__proto__ = p;
|
|
97
|
+
return o;
|
|
98
|
+
};
|
|
103
99
|
return _setPrototypeOf(o, p);
|
|
104
100
|
}
|
|
105
101
|
|
package/dist/data.js
CHANGED
|
@@ -136,31 +136,16 @@ function isBinding(value) {
|
|
|
136
136
|
return value instanceof Binding;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
function _defineProperty(obj, key, value) {
|
|
140
|
-
if (key in obj) {
|
|
141
|
-
Object.defineProperty(obj, key, {
|
|
142
|
-
value: value,
|
|
143
|
-
enumerable: true,
|
|
144
|
-
configurable: true,
|
|
145
|
-
writable: true
|
|
146
|
-
});
|
|
147
|
-
} else {
|
|
148
|
-
obj[key] = value;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
return obj;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
139
|
function ownKeys(object, enumerableOnly) {
|
|
155
140
|
var keys = Object.keys(object);
|
|
156
141
|
|
|
157
142
|
if (Object.getOwnPropertySymbols) {
|
|
158
143
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
159
|
-
|
|
160
|
-
symbols = symbols.filter(function(sym) {
|
|
144
|
+
enumerableOnly &&
|
|
145
|
+
(symbols = symbols.filter(function(sym) {
|
|
161
146
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
162
|
-
})
|
|
163
|
-
|
|
147
|
+
})),
|
|
148
|
+
keys.push.apply(keys, symbols);
|
|
164
149
|
}
|
|
165
150
|
|
|
166
151
|
return keys;
|
|
@@ -168,24 +153,36 @@ function ownKeys(object, enumerableOnly) {
|
|
|
168
153
|
|
|
169
154
|
function _objectSpread2(target) {
|
|
170
155
|
for (var i = 1; i < arguments.length; i++) {
|
|
171
|
-
var source = arguments[i]
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
182
|
-
});
|
|
183
|
-
}
|
|
156
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
157
|
+
i % 2
|
|
158
|
+
? ownKeys(Object(source), !0).forEach(function(key) {
|
|
159
|
+
_defineProperty(target, key, source[key]);
|
|
160
|
+
})
|
|
161
|
+
: Object.getOwnPropertyDescriptors
|
|
162
|
+
? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source))
|
|
163
|
+
: ownKeys(Object(source)).forEach(function(key) {
|
|
164
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
165
|
+
});
|
|
184
166
|
}
|
|
185
167
|
|
|
186
168
|
return target;
|
|
187
169
|
}
|
|
188
170
|
|
|
171
|
+
function _defineProperty(obj, key, value) {
|
|
172
|
+
if (key in obj) {
|
|
173
|
+
Object.defineProperty(obj, key, {
|
|
174
|
+
value: value,
|
|
175
|
+
enumerable: true,
|
|
176
|
+
configurable: true,
|
|
177
|
+
writable: true
|
|
178
|
+
});
|
|
179
|
+
} else {
|
|
180
|
+
obj[key] = value;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
return obj;
|
|
184
|
+
}
|
|
185
|
+
|
|
189
186
|
function _inheritsLoose(subClass, superClass) {
|
|
190
187
|
subClass.prototype = Object.create(superClass.prototype);
|
|
191
188
|
subClass.prototype.constructor = subClass;
|
|
@@ -194,13 +191,12 @@ function _inheritsLoose(subClass, superClass) {
|
|
|
194
191
|
}
|
|
195
192
|
|
|
196
193
|
function _setPrototypeOf(o, p) {
|
|
197
|
-
_setPrototypeOf =
|
|
198
|
-
Object.setPrototypeOf
|
|
199
|
-
function _setPrototypeOf(o, p) {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
194
|
+
_setPrototypeOf = Object.setPrototypeOf
|
|
195
|
+
? Object.setPrototypeOf.bind()
|
|
196
|
+
: function _setPrototypeOf(o, p) {
|
|
197
|
+
o.__proto__ = p;
|
|
198
|
+
return o;
|
|
199
|
+
};
|
|
204
200
|
return _setPrototypeOf(o, p);
|
|
205
201
|
}
|
|
206
202
|
|
|
@@ -219,7 +215,7 @@ function _isNativeReflectConstruct() {
|
|
|
219
215
|
|
|
220
216
|
function _construct(Parent, args, Class) {
|
|
221
217
|
if (_isNativeReflectConstruct()) {
|
|
222
|
-
_construct = Reflect.construct;
|
|
218
|
+
_construct = Reflect.construct.bind();
|
|
223
219
|
} else {
|
|
224
220
|
_construct = function _construct(Parent, args, Class) {
|
|
225
221
|
var a = [null];
|