@visactor/vchart 2.0.12-alpha.3 → 2.0.12-alpha.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/build/es5/index.js +1 -1
- package/build/index.es.js +9 -1
- package/build/index.js +9 -1
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/component/index.js +1 -2
- package/cjs/constant/attribute.js +2 -1
- package/cjs/constant/box-plot.js +1 -2
- package/cjs/constant/waterfall.js +2 -1
- package/esm/component/index.js +1 -2
- package/esm/constant/attribute.js +2 -1
- package/esm/constant/box-plot.js +1 -2
- package/esm/constant/waterfall.js +2 -1
- package/package.json +8 -8
package/build/index.es.js
CHANGED
|
@@ -35126,7 +35126,15 @@ class AnimationTransitionRegistry {
|
|
|
35126
35126
|
AnimationTransitionRegistry.getInstance();
|
|
35127
35127
|
|
|
35128
35128
|
function getCustomType(custom) {
|
|
35129
|
-
|
|
35129
|
+
if (!custom || !isFunction$1(custom)) return 0;
|
|
35130
|
+
const functionStr = Function.prototype.toString.call(custom);
|
|
35131
|
+
if (/^class\s/.test(functionStr)) return 1;
|
|
35132
|
+
if (!custom.prototype) return 2;
|
|
35133
|
+
if (custom.prototype.constructor === custom) {
|
|
35134
|
+
const descriptor = Object.getOwnPropertyDescriptor(custom, "prototype");
|
|
35135
|
+
if (descriptor && !descriptor.writable) return 1;
|
|
35136
|
+
}
|
|
35137
|
+
return 2;
|
|
35130
35138
|
}
|
|
35131
35139
|
|
|
35132
35140
|
class AnimateExecutor {
|
package/build/index.js
CHANGED
|
@@ -35132,7 +35132,15 @@
|
|
|
35132
35132
|
AnimationTransitionRegistry.getInstance();
|
|
35133
35133
|
|
|
35134
35134
|
function getCustomType(custom) {
|
|
35135
|
-
|
|
35135
|
+
if (!custom || !isFunction$1(custom)) return 0;
|
|
35136
|
+
const functionStr = Function.prototype.toString.call(custom);
|
|
35137
|
+
if (/^class\s/.test(functionStr)) return 1;
|
|
35138
|
+
if (!custom.prototype) return 2;
|
|
35139
|
+
if (custom.prototype.constructor === custom) {
|
|
35140
|
+
const descriptor = Object.getOwnPropertyDescriptor(custom, "prototype");
|
|
35141
|
+
if (descriptor && !descriptor.writable) return 1;
|
|
35142
|
+
}
|
|
35143
|
+
return 2;
|
|
35136
35144
|
}
|
|
35137
35145
|
|
|
35138
35146
|
class AnimateExecutor {
|