cx 24.10.2 → 24.10.4
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 +24 -27
- package/dist/data.js +26 -29
- package/dist/manifest.js +434 -434
- package/dist/svg.js +59 -56
- package/dist/ui.js +51 -52
- package/dist/widgets.css +8 -8
- package/dist/widgets.js +40 -44
- package/package.json +32 -32
- package/src/charts/PieChart.js +2 -2
- package/src/charts/PieLabel.js +71 -71
- package/src/charts/axis/Axis.js +260 -260
- package/src/charts/axis/NumericAxis.js +347 -347
- package/src/charts/axis/Stack.js +55 -55
- package/src/charts/axis/TimeAxis.js +510 -510
- 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/Expression.js +221 -221
- package/src/data/Expression.spec.js +184 -184
- 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/ui/layout/LabelsTopLayout.js +134 -134
- package/src/util/Console.d.ts +4 -4
- package/src/util/index.d.ts +51 -51
- package/src/util/index.js +54 -54
- package/src/util/isValidIdentifierName.d.ts +1 -1
- package/src/util/isValidIdentifierName.js +5 -5
- package/src/util/isValidIdentifierName.spec.js +33 -33
- package/src/util/scss/add-rules.scss +38 -38
- package/src/widgets/CxCredit.scss +37 -37
- package/src/widgets/HighlightedSearchText.js +36 -36
- package/src/widgets/HighlightedSearchText.scss +18 -18
- 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.js +397 -397
- package/src/widgets/form/ColorPicker.scss +283 -283
- package/src/widgets/form/DateTimeField.js +573 -573
- package/src/widgets/form/LookupField.d.ts +179 -179
- package/src/widgets/form/MonthField.js +516 -516
- package/src/widgets/form/MonthPicker.scss +118 -118
- package/src/widgets/form/NumberField.js +459 -459
- package/src/widgets/form/NumberField.scss +61 -61
- 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 +290 -290
- package/src/widgets/form/TextField.scss +55 -55
- package/src/widgets/form/UploadButton.d.ts +34 -34
- package/src/widgets/form/variables.scss +353 -353
- package/src/widgets/grid/Grid.scss +2 -2
- package/src/widgets/grid/TreeNode.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/src/widgets/variables.scss +144 -144
package/dist/charts.js
CHANGED
|
@@ -38,34 +38,31 @@ import {
|
|
|
38
38
|
} from "cx/widgets";
|
|
39
39
|
|
|
40
40
|
function _extends() {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
target[key] = source[key];
|
|
49
|
-
}
|
|
41
|
+
return (
|
|
42
|
+
(_extends = Object.assign
|
|
43
|
+
? Object.assign.bind()
|
|
44
|
+
: function (n) {
|
|
45
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
46
|
+
var t = arguments[e];
|
|
47
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
50
48
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
return n;
|
|
50
|
+
}),
|
|
51
|
+
_extends.apply(null, arguments)
|
|
52
|
+
);
|
|
55
53
|
}
|
|
56
|
-
function _inheritsLoose(
|
|
57
|
-
|
|
58
|
-
subClass.prototype.constructor = subClass;
|
|
59
|
-
_setPrototypeOf(subClass, superClass);
|
|
54
|
+
function _inheritsLoose(t, o) {
|
|
55
|
+
(t.prototype = Object.create(o.prototype)), (t.prototype.constructor = t), _setPrototypeOf(t, o);
|
|
60
56
|
}
|
|
61
|
-
function _setPrototypeOf(
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
57
|
+
function _setPrototypeOf(t, e) {
|
|
58
|
+
return (
|
|
59
|
+
(_setPrototypeOf = Object.setPrototypeOf
|
|
60
|
+
? Object.setPrototypeOf.bind()
|
|
61
|
+
: function (t, e) {
|
|
62
|
+
return (t.__proto__ = e), t;
|
|
63
|
+
}),
|
|
64
|
+
_setPrototypeOf(t, e)
|
|
65
|
+
);
|
|
69
66
|
}
|
|
70
67
|
|
|
71
68
|
var Rect = /*#__PURE__*/ (function () {
|
|
@@ -674,10 +671,10 @@ var PieCalculator = /*#__PURE__*/ (function () {
|
|
|
674
671
|
var clockFactor = this.clockwise ? -1 : 1;
|
|
675
672
|
var gapAngle = r0 > 0 && s.gap > 0 ? 2 * Math.asin(s.gap / r0 / 2) : 0;
|
|
676
673
|
s.lastAngle += clockFactor * (angle + gapAngle);
|
|
677
|
-
var endAngle = startAngle + clockFactor * angle + gapAngle;
|
|
674
|
+
var endAngle = startAngle + clockFactor * (angle + gapAngle);
|
|
678
675
|
return {
|
|
679
676
|
startAngle: startAngle,
|
|
680
|
-
endAngle: startAngle + clockFactor * angle + gapAngle,
|
|
677
|
+
endAngle: startAngle + clockFactor * (angle + gapAngle),
|
|
681
678
|
angle: angle,
|
|
682
679
|
midAngle: (startAngle + endAngle) / 2,
|
|
683
680
|
gap: s.gap,
|
package/dist/data.js
CHANGED
|
@@ -118,6 +118,23 @@ 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
|
+
}
|
|
121
138
|
function _isNativeReflectConstruct() {
|
|
122
139
|
try {
|
|
123
140
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
@@ -126,35 +143,15 @@ function _isNativeReflectConstruct() {
|
|
|
126
143
|
return !!t;
|
|
127
144
|
})();
|
|
128
145
|
}
|
|
129
|
-
function
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
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);
|
|
146
|
+
function _setPrototypeOf(t, e) {
|
|
147
|
+
return (
|
|
148
|
+
(_setPrototypeOf = Object.setPrototypeOf
|
|
149
|
+
? Object.setPrototypeOf.bind()
|
|
150
|
+
: function (t, e) {
|
|
151
|
+
return (t.__proto__ = e), t;
|
|
152
|
+
}),
|
|
153
|
+
_setPrototypeOf(t, e)
|
|
154
|
+
);
|
|
158
155
|
}
|
|
159
156
|
|
|
160
157
|
function computable() {
|