cx 24.9.0 → 24.9.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.
- package/dist/charts.js +25 -22
- package/dist/data.js +29 -26
- package/dist/manifest.js +528 -528
- package/dist/svg.js +56 -59
- package/dist/ui.js +52 -51
- package/dist/widgets.css +3 -6
- package/dist/widgets.js +44 -40
- package/package.json +32 -32
- package/src/charts/Legend.js +151 -151
- package/src/charts/PieLabel.js +71 -71
- package/src/charts/axis/NumericAxis.js +347 -347
- package/src/charts/axis/Stack.js +55 -55
- package/src/charts/helpers/PointReducer.js +43 -43
- package/src/charts/helpers/SnapPointFinder.js +69 -69
- package/src/data/Binding.spec.js +69 -69
- package/src/data/StringTemplate.spec.js +105 -105
- package/src/data/getAccessor.spec.js +11 -11
- package/src/index.scss +6 -6
- package/src/svg/Text.d.ts +40 -40
- package/src/ui/Culture.d.ts +55 -55
- package/src/ui/Culture.js +139 -139
- package/src/ui/FocusManager.js +171 -171
- package/src/ui/Instance.d.ts +72 -72
- package/src/ui/VDOM.d.ts +12 -12
- package/src/ui/app/startAppLoop.js +58 -58
- package/src/ui/index.d.ts +42 -42
- package/src/util/Console.d.ts +4 -4
- package/src/util/scss/add-rules.scss +38 -38
- package/src/widgets/CxCredit.scss +37 -37
- package/src/widgets/List.scss +91 -91
- package/src/widgets/drag-drop/DropZone.js +214 -214
- package/src/widgets/form/Calendar.scss +196 -196
- package/src/widgets/form/ColorField.scss +2 -1
- package/src/widgets/form/ColorPicker.scss +283 -283
- package/src/widgets/form/LookupField.scss +2 -2
- package/src/widgets/form/MonthPicker.scss +118 -118
- package/src/widgets/form/NumberField.scss +61 -61
- package/src/widgets/form/Radio.scss +1 -2
- package/src/widgets/form/Select.scss +99 -99
- package/src/widgets/form/Slider.scss +118 -118
- package/src/widgets/form/Switch.scss +140 -140
- package/src/widgets/form/TextArea.scss +43 -43
- package/src/widgets/form/TextField.js +289 -289
- package/src/widgets/form/TextField.scss +55 -55
- package/src/widgets/form/UploadButton.d.ts +34 -34
- package/src/widgets/grid/TreeNode.scss +88 -88
- package/src/widgets/grid/variables.scss +88 -88
- package/src/widgets/nav/Menu.scss +74 -74
- package/src/widgets/overlay/Dropdown.js +612 -612
- package/src/widgets/overlay/FlyweightTooltipTracker.js +39 -39
- package/src/widgets/overlay/Tooltip.js +300 -300
- package/src/widgets/overlay/Window.js +196 -196
- package/src/widgets/overlay/captureMouse.js +124 -124
- package/src/widgets/overlay/variables.scss +83 -83
package/dist/charts.js
CHANGED
|
@@ -37,31 +37,34 @@ import {
|
|
|
37
37
|
} from "cx/widgets";
|
|
38
38
|
|
|
39
39
|
function _extends() {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
_extends = Object.assign
|
|
41
|
+
? Object.assign.bind()
|
|
42
|
+
: function (target) {
|
|
43
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
44
|
+
var source = arguments[i];
|
|
45
|
+
for (var key in source) {
|
|
46
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
47
|
+
target[key] = source[key];
|
|
48
|
+
}
|
|
47
49
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
);
|
|
50
|
+
}
|
|
51
|
+
return target;
|
|
52
|
+
};
|
|
53
|
+
return _extends.apply(this, arguments);
|
|
52
54
|
}
|
|
53
|
-
function _inheritsLoose(
|
|
54
|
-
|
|
55
|
+
function _inheritsLoose(subClass, superClass) {
|
|
56
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
57
|
+
subClass.prototype.constructor = subClass;
|
|
58
|
+
_setPrototypeOf(subClass, superClass);
|
|
55
59
|
}
|
|
56
|
-
function _setPrototypeOf(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
);
|
|
60
|
+
function _setPrototypeOf(o, p) {
|
|
61
|
+
_setPrototypeOf = Object.setPrototypeOf
|
|
62
|
+
? Object.setPrototypeOf.bind()
|
|
63
|
+
: function _setPrototypeOf(o, p) {
|
|
64
|
+
o.__proto__ = p;
|
|
65
|
+
return o;
|
|
66
|
+
};
|
|
67
|
+
return _setPrototypeOf(o, p);
|
|
65
68
|
}
|
|
66
69
|
|
|
67
70
|
var Rect = /*#__PURE__*/ (function () {
|
package/dist/data.js
CHANGED
|
@@ -118,23 +118,6 @@ function _construct(t, e, r) {
|
|
|
118
118
|
var p = new (t.bind.apply(t, o))();
|
|
119
119
|
return p;
|
|
120
120
|
}
|
|
121
|
-
function _extends() {
|
|
122
|
-
return (
|
|
123
|
-
(_extends = Object.assign
|
|
124
|
-
? Object.assign.bind()
|
|
125
|
-
: function (n) {
|
|
126
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
127
|
-
var t = arguments[e];
|
|
128
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
129
|
-
}
|
|
130
|
-
return n;
|
|
131
|
-
}),
|
|
132
|
-
_extends.apply(null, arguments)
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
function _inheritsLoose(t, o) {
|
|
136
|
-
(t.prototype = Object.create(o.prototype)), (t.prototype.constructor = t), _setPrototypeOf(t, o);
|
|
137
|
-
}
|
|
138
121
|
function _isNativeReflectConstruct() {
|
|
139
122
|
try {
|
|
140
123
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
@@ -143,15 +126,35 @@ function _isNativeReflectConstruct() {
|
|
|
143
126
|
return !!t;
|
|
144
127
|
})();
|
|
145
128
|
}
|
|
146
|
-
function
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
129
|
+
function _extends() {
|
|
130
|
+
_extends = Object.assign
|
|
131
|
+
? Object.assign.bind()
|
|
132
|
+
: function (target) {
|
|
133
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
134
|
+
var source = arguments[i];
|
|
135
|
+
for (var key in source) {
|
|
136
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
137
|
+
target[key] = source[key];
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return target;
|
|
142
|
+
};
|
|
143
|
+
return _extends.apply(this, arguments);
|
|
144
|
+
}
|
|
145
|
+
function _inheritsLoose(subClass, superClass) {
|
|
146
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
147
|
+
subClass.prototype.constructor = subClass;
|
|
148
|
+
_setPrototypeOf(subClass, superClass);
|
|
149
|
+
}
|
|
150
|
+
function _setPrototypeOf(o, p) {
|
|
151
|
+
_setPrototypeOf = Object.setPrototypeOf
|
|
152
|
+
? Object.setPrototypeOf.bind()
|
|
153
|
+
: function _setPrototypeOf(o, p) {
|
|
154
|
+
o.__proto__ = p;
|
|
155
|
+
return o;
|
|
156
|
+
};
|
|
157
|
+
return _setPrototypeOf(o, p);
|
|
155
158
|
}
|
|
156
159
|
|
|
157
160
|
function computable() {
|