yahee-components 0.0.111 → 0.0.113

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.
Files changed (181) hide show
  1. package/es/operation-log/operation-log-form.vue.js +39 -40
  2. package/es/operation-log/operation-log.vue2.js +6 -6
  3. package/package.json +1 -1
  4. package/types/src/installs.d.ts +1 -1
  5. package/types/src/operation-log/index.d.ts +1 -1
  6. package/types/src/operation-log/operation-log.d.ts +1 -1
  7. package/types/src/operation-log/operation-log.vue.d.ts +1 -1
  8. package/types/src/operation-log/props.d.ts +1 -1
  9. package/es/annex-upload/annex-upload.vue.js +0 -55
  10. package/es/annex-upload/annex-upload.vue2.js +0 -121
  11. package/es/annex-upload/index.js +0 -7
  12. package/es/annex-upload/mimeType.js +0 -822
  13. package/es/annex-upload/style/index.css +0 -7
  14. package/es/border-wrap/border-wrap.vue.js +0 -75
  15. package/es/border-wrap/border-wrap.vue2.js +0 -48
  16. package/es/border-wrap/index.js +0 -7
  17. package/es/border-wrap/props.js +0 -11
  18. package/es/border-wrap/style/index.css +0 -24
  19. package/es/common-import/common-import.vue.js +0 -394
  20. package/es/common-import/common-import.vue2.js +0 -366
  21. package/es/common-import/index.js +0 -7
  22. package/es/common-import/props.js +0 -23
  23. package/es/common-import/style/index.css +0 -32
  24. package/es/complex-search/batch-search-dialog.vue.js +0 -119
  25. package/es/complex-search/batch-search-dialog.vue2.js +0 -50
  26. package/es/complex-search/complex-search.vue.js +0 -122
  27. package/es/complex-search/complex-search.vue2.js +0 -71
  28. package/es/complex-search/index.js +0 -7
  29. package/es/complex-search/props.js +0 -19
  30. package/es/complex-search/style/index.css +0 -24
  31. package/es/complex-search/useComplexSearch.js +0 -44
  32. package/es/copy/copy.vue.js +0 -39
  33. package/es/copy/copy.vue2.js +0 -36
  34. package/es/copy/index.js +0 -7
  35. package/es/copy/props.js +0 -9
  36. package/es/copy/style/index.css +0 -12
  37. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +0 -120
  38. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +0 -127
  39. package/es/country-platform-shop-condition/index.js +0 -7
  40. package/es/country-platform-shop-condition/style/index.css +0 -59
  41. package/es/drop-down-condition/drop-down-condition.vue.js +0 -125
  42. package/es/drop-down-condition/drop-down-condition.vue2.js +0 -129
  43. package/es/drop-down-condition/index.js +0 -7
  44. package/es/drop-down-condition/style/index.css +0 -64
  45. package/es/echart-gauge/echart-gauge.vue.js +0 -14
  46. package/es/echart-gauge/echart-gauge.vue2.js +0 -149
  47. package/es/echart-gauge/index.js +0 -7
  48. package/es/echart-gauge/props.js +0 -9
  49. package/es/echart-gauge/style/index.css +0 -4
  50. package/es/file-download-wrapper/file-download-wrapper.vue.js +0 -164
  51. package/es/file-download-wrapper/file-download-wrapper.vue2.js +0 -115
  52. package/es/file-download-wrapper/index.js +0 -7
  53. package/es/file-download-wrapper/key.js +0 -17
  54. package/es/file-download-wrapper/props.js +0 -12
  55. package/es/file-download-wrapper/style/index.css +0 -66
  56. package/es/filter-container/filter-container.vue.js +0 -24
  57. package/es/filter-container/filter-container.vue2.js +0 -61
  58. package/es/filter-container/index.js +0 -7
  59. package/es/filter-container/key.js +0 -4
  60. package/es/filter-container/props.js +0 -11
  61. package/es/filter-container/style/index.css +0 -16
  62. package/es/filter-wrapper/filter-wrapper.vue.js +0 -19
  63. package/es/filter-wrapper/filter-wrapper.vue2.js +0 -56
  64. package/es/filter-wrapper/index.js +0 -7
  65. package/es/filter-wrapper/props.js +0 -10
  66. package/es/filter-wrapper/style/index.css +0 -3
  67. package/es/height-collapse/height-collapse.vue.js +0 -26
  68. package/es/height-collapse/height-collapse.vue2.js +0 -44
  69. package/es/height-collapse/index.js +0 -7
  70. package/es/height-collapse/props.js +0 -11
  71. package/es/height-collapse/style/index.css +0 -32
  72. package/es/help-tag/help-tag.vue.js +0 -46
  73. package/es/help-tag/help-tag.vue2.js +0 -51
  74. package/es/help-tag/index.js +0 -7
  75. package/es/help-tag/props.js +0 -9
  76. package/es/help-tag/style/index.css +0 -8
  77. package/es/image-upload/image-upload.vue.js +0 -116
  78. package/es/image-upload/image-upload.vue2.js +0 -93
  79. package/es/image-upload/index.js +0 -7
  80. package/es/image-upload/style/index.css +0 -33
  81. package/es/index.js +0 -63
  82. package/es/installs.js +0 -41
  83. package/es/left-condition/index.js +0 -7
  84. package/es/left-condition/left-condition-sub.vue.js +0 -36
  85. package/es/left-condition/left-condition-sub.vue2.js +0 -78
  86. package/es/left-condition/left-condition.vue.js +0 -77
  87. package/es/left-condition/left-condition.vue2.js +0 -162
  88. package/es/left-condition/style/index.css +0 -10
  89. package/es/left-condition-enum/index.js +0 -7
  90. package/es/left-condition-enum/left-condition-enum.vue.js +0 -22
  91. package/es/left-condition-enum/left-condition-enum.vue2.js +0 -42
  92. package/es/left-condition-enum/style/index.css +0 -10
  93. package/es/node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js +0 -99
  94. package/es/node_modules/.pnpm/@vueuse_shared@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/shared/index.js +0 -22
  95. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/index.js +0 -38
  96. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/adapters.js +0 -53
  97. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/fetch.js +0 -141
  98. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/xhr.js +0 -71
  99. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/axios.js +0 -46
  100. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CancelToken.js +0 -77
  101. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CanceledError.js +0 -11
  102. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/isCancel.js +0 -6
  103. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/Axios.js +0 -136
  104. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosError.js +0 -54
  105. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosHeaders.js +0 -181
  106. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/InterceptorManager.js +0 -58
  107. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/buildFullPath.js +0 -9
  108. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/dispatchRequest.js +0 -31
  109. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/mergeConfig.js +0 -70
  110. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/settle.js +0 -14
  111. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/transformData.js +0 -13
  112. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/index.js +0 -89
  113. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/transitional.js +0 -8
  114. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/env/data.js +0 -4
  115. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -33
  116. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -71
  117. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/bind.js +0 -8
  118. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/buildURL.js +0 -23
  119. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  120. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/composeSignals.js +0 -30
  121. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/cookies.js +0 -32
  122. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/formDataToJSON.js +0 -31
  123. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  124. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  125. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -8
  126. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/null.js +0 -4
  127. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseHeaders.js +0 -30
  128. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  129. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/progressEventReducer.js +0 -35
  130. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/resolveConfig.js +0 -33
  131. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/speedometer.js +0 -19
  132. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/spread.js +0 -8
  133. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/throttle.js +0 -15
  134. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toFormData.js +0 -85
  135. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -13
  136. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/trackStream.js +0 -63
  137. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/validator.js +0 -54
  138. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  139. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  140. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  141. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/index.js +0 -15
  142. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/common/utils.js +0 -9
  143. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/index.js +0 -9
  144. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/utils.js +0 -222
  145. package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +0 -282
  146. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/index.js +0 -97
  147. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/basicTransition.js +0 -96
  148. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +0 -56
  149. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicTransition.js +0 -242
  150. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/morphTransitionHelper.js +0 -106
  151. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/universalTransition.js +0 -345
  152. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarSeries.js +0 -56
  153. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarView.js +0 -487
  154. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +0 -77
  155. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +0 -49
  156. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarView.js +0 -325
  157. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/install.js +0 -23
  158. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/installPictorialBar.js +0 -10
  159. package/lib/annex-upload/style/index.css +0 -7
  160. package/lib/border-wrap/style/index.css +0 -24
  161. package/lib/common-import/style/index.css +0 -32
  162. package/lib/complex-search/style/index.css +0 -24
  163. package/lib/copy/style/index.css +0 -12
  164. package/lib/country-platform-shop-condition/style/index.css +0 -59
  165. package/lib/drop-down-condition/style/index.css +0 -64
  166. package/lib/echart-gauge/style/index.css +0 -4
  167. package/lib/file-download-wrapper/style/index.css +0 -66
  168. package/lib/filter-container/style/index.css +0 -16
  169. package/lib/filter-wrapper/style/index.css +0 -3
  170. package/lib/height-collapse/style/index.css +0 -32
  171. package/lib/help-tag/style/index.css +0 -8
  172. package/lib/image-upload/style/index.css +0 -33
  173. package/lib/left-condition/style/index.css +0 -10
  174. package/lib/left-condition-enum/style/index.css +0 -10
  175. package/lib/operation-log/style/index.css +0 -234
  176. package/lib/scale-screen/style/index.css +0 -0
  177. package/lib/style.css +0 -1405
  178. package/lib/styles/custom.css +0 -82
  179. package/lib/styles/globals.css +0 -699
  180. package/lib/styles/index.css +0 -753
  181. package/lib/styles/variables.css +0 -34
@@ -1,96 +0,0 @@
1
- import { isFunction as c, isObject as O, retrieve2 as y } from "../../../../../zrender@6.0.0/node_modules/zrender/lib/core/util.js";
2
- import { makeInner as A } from "../util/model.js";
3
- var D = A();
4
- function F(i, n, o, e, t) {
5
- var r;
6
- if (n && n.ecModel) {
7
- var u = n.ecModel.getUpdatePayload();
8
- r = u && u.animation;
9
- }
10
- var m = n && n.isAnimationEnabled(), s = i === "update";
11
- if (m) {
12
- var v = void 0, a = void 0, f = void 0;
13
- e ? (v = y(e.duration, 200), a = y(e.easing, "cubicOut"), f = 0) : (v = n.getShallow(s ? "animationDurationUpdate" : "animationDuration"), a = n.getShallow(s ? "animationEasingUpdate" : "animationEasing"), f = n.getShallow(s ? "animationDelayUpdate" : "animationDelay")), r && (r.duration != null && (v = r.duration), r.easing != null && (a = r.easing), r.delay != null && (f = r.delay)), c(f) && (f = f(o, t)), c(v) && (v = v(o));
14
- var l = {
15
- duration: v || 0,
16
- delay: f,
17
- easing: a
18
- };
19
- return l;
20
- } else
21
- return null;
22
- }
23
- function p(i, n, o, e, t, r, u) {
24
- var m = !1, s;
25
- c(t) ? (u = r, r = t, t = null) : O(t) && (r = t.cb, u = t.during, m = t.isFrom, s = t.removeOpt, t = t.dataIndex);
26
- var v = i === "leave";
27
- v || n.stopAnimation("leave");
28
- var a = F(i, e, t, v ? s || {} : null, e && e.getAnimationDelayParams ? e.getAnimationDelayParams(n, t) : null);
29
- if (a && a.duration > 0) {
30
- var f = a.duration, l = a.delay, E = a.easing, g = {
31
- duration: f,
32
- delay: l || 0,
33
- easing: E,
34
- done: r,
35
- force: !!r || !!u,
36
- // Set to final state in update/init animation.
37
- // So the post processing based on the path shape can be done correctly.
38
- setToFinal: !v,
39
- scope: i,
40
- during: u
41
- };
42
- m ? n.animateFrom(o, g) : n.animateTo(o, g);
43
- } else
44
- n.stopAnimation(), !m && n.attr(o), u && u(1), r && r();
45
- }
46
- function G(i, n, o, e, t, r) {
47
- p("update", i, n, o, e, t, r);
48
- }
49
- function R(i, n, o, e, t, r) {
50
- p("enter", i, n, o, e, t, r);
51
- }
52
- function P(i) {
53
- if (!i.__zr)
54
- return !0;
55
- for (var n = 0; n < i.animators.length; n++) {
56
- var o = i.animators[n];
57
- if (o.scope === "leave")
58
- return !0;
59
- }
60
- return !1;
61
- }
62
- function h(i, n, o, e, t, r) {
63
- P(i) || p("leave", i, n, o, e, t, r);
64
- }
65
- function S(i, n, o, e) {
66
- i.removeTextContent(), i.removeTextGuideLine(), h(i, {
67
- style: {
68
- opacity: 0
69
- }
70
- }, n, o, e);
71
- }
72
- function C(i, n, o) {
73
- function e() {
74
- i.parent && i.parent.remove(i);
75
- }
76
- i.isGroup ? i.traverse(function(t) {
77
- t.isGroup || S(t, n, o, e);
78
- }) : S(i, n, o, e);
79
- }
80
- function T(i) {
81
- D(i).oldStyle = i.style;
82
- }
83
- function _(i) {
84
- return D(i).oldStyle;
85
- }
86
- export {
87
- F as getAnimationConfig,
88
- _ as getOldStyle,
89
- R as initProps,
90
- P as isElementRemoved,
91
- h as removeElement,
92
- C as removeElementWithFadeOut,
93
- T as saveOldStyle,
94
- D as transitionStore,
95
- G as updateProps
96
- };
@@ -1,56 +0,0 @@
1
- import { isArray as K, each as E, keys as T, filter as _, indexOf as R } from "../../../../../zrender@6.0.0/node_modules/zrender/lib/core/util.js";
2
- import { ELEMENT_ANIMATABLE_PROPS as k } from "./customGraphicTransition.js";
3
- import { getAnimationConfig as S } from "./basicTransition.js";
4
- import { warn as w } from "../util/log.js";
5
- import { makeInner as x } from "../util/model.js";
6
- var h = x(), D = ["percent", "easing", "shape", "style", "extra"];
7
- function B(n) {
8
- n.stopAnimation("keyframe"), n.attr(h(n));
9
- }
10
- function I(n, e, c) {
11
- if (!(!c.isAnimationEnabled() || !e)) {
12
- if (K(e)) {
13
- E(e, function(r) {
14
- I(n, r, c);
15
- });
16
- return;
17
- }
18
- var y = e.keyframes, s = e.duration;
19
- if (c && s == null) {
20
- var d = S("enter", c, 0);
21
- s = d && d.duration;
22
- }
23
- if (!(!y || !s)) {
24
- var a = h(n);
25
- E(k, function(r) {
26
- if (!(r && !n[r])) {
27
- var i, m = !1;
28
- y.sort(function(t, f) {
29
- return t.percent - f.percent;
30
- }), E(y, function(t) {
31
- var f = n.animators, A = r ? t[r] : t;
32
- if (process.env.NODE_ENV !== "production" && t.percent >= 1 && (m = !0), !!A) {
33
- var o = T(A);
34
- if (r || (o = _(o, function(v) {
35
- return R(D, v) < 0;
36
- })), !!o.length) {
37
- i || (i = n.animate(r, e.loop, !0), i.scope = "keyframe");
38
- for (var u = 0; u < f.length; u++)
39
- f[u] !== i && f[u].targetName === i.targetName && f[u].stopTracks(o);
40
- r && (a[r] = a[r] || {});
41
- var p = r ? a[r] : a;
42
- E(o, function(v) {
43
- p[v] = ((r ? n[r] : n) || {})[v];
44
- }), i.whenWithKeys(s * t.percent, A, o, t.easing);
45
- }
46
- }
47
- }), i && (process.env.NODE_ENV !== "production" && (m || w("End frame with percent: 1 is missing in the keyframeAnimation.", !0)), i.delay(e.delay || 0).duration(s).start(e.easing));
48
- }
49
- });
50
- }
51
- }
52
- }
53
- export {
54
- I as applyKeyframeAnimation,
55
- B as stopPreviousKeyframeAnimationAndRestore
56
- };
@@ -1,242 +0,0 @@
1
- import { makeInner as U, normalizeToArray as V } from "../util/model.js";
2
- import { each as X, extend as x, bind as j, keys as A, indexOf as B, hasOwn as p, isArrayLike as q, eqNaN as z, assert as L, reduce as H } from "../../../../../zrender@6.0.0/node_modules/zrender/lib/core/util.js";
3
- import { cloneValue as J } from "../../../../../zrender@6.0.0/node_modules/zrender/lib/animation/Animator.js";
4
- import Q from "../../../../../zrender@6.0.0/node_modules/zrender/lib/graphic/Displayable.js";
5
- import { getAnimationConfig as W } from "./basicTransition.js";
6
- import "../util/graphic.js";
7
- import { warn as C } from "../util/log.js";
8
- import { TRANSFORMABLE_PROPS as N } from "../../../../../zrender@6.0.0/node_modules/zrender/lib/core/Transformable.js";
9
- import Z from "../../../../../zrender@6.0.0/node_modules/zrender/lib/graphic/Path.js";
10
- var O = {
11
- position: ["x", "y"],
12
- scale: ["scaleX", "scaleY"],
13
- origin: ["originX", "originY"]
14
- }, F = A(O), y = H(N, function(r, n) {
15
- return r[n] = 1, r;
16
- }, {}), M = N.join(", "), _ = ["", "style", "shape", "extra"], D = U();
17
- function I(r, n, a, t, s) {
18
- var i = r + "Animation", e = W(r, t, s) || {}, o = D(n).userDuring;
19
- return e.duration > 0 && (e.during = o ? j(tr, {
20
- el: n,
21
- userDuring: o
22
- }) : null, e.setToFinal = !0, e.scope = r), x(e, a[i]), e;
23
- }
24
- function Er(r, n, a, t) {
25
- t = t || {};
26
- var s = t.dataIndex, i = t.isInit, e = t.clearStyle, o = a.isAnimationEnabled(), d = D(r), u = n.style;
27
- d.userDuring = n.during;
28
- var v = {}, f = {};
29
- if (er(r, n, f), r.type === "compound")
30
- for (var h = r.shape.paths, g = n.shape.paths, l = 0; l < g.length; l++) {
31
- var G = g[l];
32
- P("shape", G, h[l]);
33
- }
34
- else
35
- P("shape", n, f), P("extra", n, f);
36
- if (!i && o && (ar(r, n, v), w("shape", r, n, v), w("extra", r, n, v), ir(r, n, u, v)), f.style = u, K(r, f, e), rr(r, n), o)
37
- if (i) {
38
- var T = {};
39
- X(_, function(E) {
40
- var R = E ? n[E] : n;
41
- R && R.enterFrom && (E && (T[E] = T[E] || {}), x(E ? T[E] : T, R.enterFrom));
42
- });
43
- var b = I("enter", r, n, a, s);
44
- b.duration > 0 && r.animateFrom(T, b);
45
- } else
46
- k(r, n, s || 0, a, v);
47
- $(r, n), u ? r.dirty() : r.markRedraw();
48
- }
49
- function $(r, n) {
50
- for (var a = D(r).leaveToProps, t = 0; t < _.length; t++) {
51
- var s = _[t], i = s ? n[s] : n;
52
- i && i.leaveTo && (a || (a = D(r).leaveToProps = {}), s && (a[s] = a[s] || {}), x(s ? a[s] : a, i.leaveTo));
53
- }
54
- }
55
- function pr(r, n, a, t) {
56
- if (r) {
57
- var s = r.parent, i = D(r).leaveToProps;
58
- if (i) {
59
- var e = I("update", r, n, a, 0);
60
- e.done = function() {
61
- s && s.remove(r);
62
- }, r.animateTo(i, e);
63
- } else
64
- s && s.remove(r);
65
- }
66
- }
67
- function m(r) {
68
- return r === "all";
69
- }
70
- function K(r, n, a) {
71
- var t = n.style;
72
- if (!r.isGroup && t) {
73
- if (a) {
74
- r.useStyle({});
75
- for (var s = r.animators, i = 0; i < s.length; i++) {
76
- var e = s[i];
77
- e.targetName === "style" && e.changeTarget(r.style);
78
- }
79
- }
80
- r.setStyle(t);
81
- }
82
- n && (n.style = null, n && r.attr(n), n.style = t);
83
- }
84
- function k(r, n, a, t, s) {
85
- if (s) {
86
- var i = I("update", r, n, t, a);
87
- i.duration > 0 && r.animateFrom(s, i);
88
- }
89
- }
90
- function rr(r, n) {
91
- p(n, "silent") && (r.silent = n.silent), p(n, "ignore") && (r.ignore = n.ignore), r instanceof Q && p(n, "invisible") && (r.invisible = n.invisible), r instanceof Z && p(n, "autoBatch") && (r.autoBatch = n.autoBatch);
92
- }
93
- var c = {}, nr = {
94
- // Usually other props do not need to be changed in animation during.
95
- setTransform: function(r, n) {
96
- return process.env.NODE_ENV !== "production" && L(p(y, r), "Only " + M + " available in `setTransform`."), c.el[r] = n, this;
97
- },
98
- getTransform: function(r) {
99
- return process.env.NODE_ENV !== "production" && L(p(y, r), "Only " + M + " available in `getTransform`."), c.el[r];
100
- },
101
- setShape: function(r, n) {
102
- process.env.NODE_ENV !== "production" && S(r);
103
- var a = c.el, t = a.shape || (a.shape = {});
104
- return t[r] = n, a.dirtyShape && a.dirtyShape(), this;
105
- },
106
- getShape: function(r) {
107
- process.env.NODE_ENV !== "production" && S(r);
108
- var n = c.el.shape;
109
- if (n)
110
- return n[r];
111
- },
112
- setStyle: function(r, n) {
113
- process.env.NODE_ENV !== "production" && S(r);
114
- var a = c.el, t = a.style;
115
- return t && (process.env.NODE_ENV !== "production" && z(n) && C("style." + r + " must not be assigned with NaN."), t[r] = n, a.dirtyStyle && a.dirtyStyle()), this;
116
- },
117
- getStyle: function(r) {
118
- process.env.NODE_ENV !== "production" && S(r);
119
- var n = c.el.style;
120
- if (n)
121
- return n[r];
122
- },
123
- setExtra: function(r, n) {
124
- process.env.NODE_ENV !== "production" && S(r);
125
- var a = c.el.extra || (c.el.extra = {});
126
- return a[r] = n, this;
127
- },
128
- getExtra: function(r) {
129
- process.env.NODE_ENV !== "production" && S(r);
130
- var n = c.el.extra;
131
- if (n)
132
- return n[r];
133
- }
134
- };
135
- function S(r) {
136
- if (process.env.NODE_ENV !== "production" && (r === "transition" || r === "enterFrom" || r === "leaveTo"))
137
- throw new Error('key must not be "' + r + '"');
138
- }
139
- function tr() {
140
- var r = this, n = r.el;
141
- if (n) {
142
- var a = D(n).userDuring, t = r.userDuring;
143
- if (a !== t) {
144
- r.el = r.userDuring = null;
145
- return;
146
- }
147
- c.el = n, t(nr);
148
- }
149
- }
150
- function w(r, n, a, t) {
151
- var s = a[r];
152
- if (s) {
153
- var i = n[r], e;
154
- if (i) {
155
- var o = a.transition, d = s.transition;
156
- if (d)
157
- if (!e && (e = t[r] = {}), m(d))
158
- x(e, i);
159
- else
160
- for (var u = V(d), v = 0; v < u.length; v++) {
161
- var f = u[v], h = i[f];
162
- e[f] = h;
163
- }
164
- else if (m(o) || B(o, r) >= 0) {
165
- !e && (e = t[r] = {});
166
- for (var g = A(i), v = 0; v < g.length; v++) {
167
- var f = g[v], h = i[f];
168
- sr(s[f], h) && (e[f] = h);
169
- }
170
- }
171
- }
172
- }
173
- }
174
- function P(r, n, a) {
175
- var t = n[r];
176
- if (t)
177
- for (var s = a[r] = {}, i = A(t), e = 0; e < i.length; e++) {
178
- var o = i[e];
179
- s[o] = J(t[o]);
180
- }
181
- }
182
- function ar(r, n, a) {
183
- for (var t = n.transition, s = m(t) ? N : V(t || []), i = 0; i < s.length; i++) {
184
- var e = s[i];
185
- if (!(e === "style" || e === "shape" || e === "extra")) {
186
- var o = r[e];
187
- process.env.NODE_ENV !== "production" && Y(e, "el.transition"), a[e] = o;
188
- }
189
- }
190
- }
191
- function er(r, n, a) {
192
- for (var t = 0; t < F.length; t++) {
193
- var s = F[t], i = O[s], e = n[s];
194
- e && (a[i[0]] = e[0], a[i[1]] = e[1]);
195
- }
196
- for (var t = 0; t < N.length; t++) {
197
- var o = N[t];
198
- n[o] != null && (a[o] = n[o]);
199
- }
200
- }
201
- function ir(r, n, a, t) {
202
- if (a) {
203
- var s = r.style, i;
204
- if (s) {
205
- var e = a.transition, o = n.transition;
206
- if (e && !m(e)) {
207
- var d = V(e);
208
- !i && (i = t.style = {});
209
- for (var u = 0; u < d.length; u++) {
210
- var v = d[u], f = s[v];
211
- i[v] = f;
212
- }
213
- } else if (r.getAnimationStyleProps && (m(o) || m(e) || B(o, "style") >= 0)) {
214
- var h = r.getAnimationStyleProps(), g = h ? h.style : null;
215
- if (g) {
216
- !i && (i = t.style = {});
217
- for (var l = A(a), u = 0; u < l.length; u++) {
218
- var v = l[u];
219
- if (g[v]) {
220
- var f = s[v];
221
- i[v] = f;
222
- }
223
- }
224
- }
225
- }
226
- }
227
- }
228
- }
229
- function sr(r, n) {
230
- return q(r) ? r !== n : r != null && isFinite(r);
231
- }
232
- var Y;
233
- process.env.NODE_ENV !== "production" && (Y = function(r, n) {
234
- p(y, r) || C("Prop `" + r + "` is not a permitted in `" + n + "`. Only `" + A(y).join("`, `") + "` are permitted.");
235
- });
236
- export {
237
- _ as ELEMENT_ANIMATABLE_PROPS,
238
- pr as applyLeaveTransition,
239
- Er as applyUpdateTransition,
240
- m as isTransitionAll,
241
- $ as updateLeaveTo
242
- };
@@ -1,106 +0,0 @@
1
- import { isCombineMorphing as Q, morphPath as R, combineMorph as U, separateMorph as V } from "../../../../../zrender@6.0.0/node_modules/zrender/lib/tool/morphPath.js";
2
- import "../util/graphic.js";
3
- import { isArray as H, defaults as O } from "../../../../../zrender@6.0.0/node_modules/zrender/lib/core/util.js";
4
- import { getAnimationConfig as W } from "./basicTransition.js";
5
- import { clonePath as X } from "../../../../../zrender@6.0.0/node_modules/zrender/lib/tool/path.js";
6
- import Y from "../../../../../zrender@6.0.0/node_modules/zrender/lib/graphic/Path.js";
7
- function E(r) {
8
- return H(r[0]);
9
- }
10
- function G(r, a) {
11
- for (var t = [], i = r.length, n = 0; n < i; n++)
12
- t.push({
13
- one: r[n],
14
- many: []
15
- });
16
- for (var n = 0; n < a.length; n++) {
17
- var u = a[n].length, h = void 0;
18
- for (h = 0; h < u; h++)
19
- t[h % i].many.push(a[n][h]);
20
- }
21
- for (var e = 0, n = i - 1; n >= 0; n--)
22
- if (!t[n].many.length) {
23
- var v = t[e].many;
24
- if (v.length <= 1)
25
- if (e)
26
- e = 0;
27
- else
28
- return t;
29
- var u = v.length, l = Math.ceil(u / 2);
30
- t[n].many = v.slice(l, u), t[e].many = v.slice(0, l), e++;
31
- }
32
- return t;
33
- }
34
- var Z = {
35
- clone: function(r) {
36
- for (var a = [], t = 1 - Math.pow(1 - r.path.style.opacity, 1 / r.count), i = 0; i < r.count; i++) {
37
- var n = X(r.path);
38
- n.setStyle("opacity", t), a.push(n);
39
- }
40
- return a;
41
- },
42
- // Use the default divider
43
- split: null
44
- };
45
- function ar(r, a, t, i, n, u) {
46
- if (!r.length || !a.length)
47
- return;
48
- var h = W("update", i, n);
49
- if (!(h && h.duration > 0))
50
- return;
51
- var e = i.getModel("universalTransition").get("delay"), v = Object.assign({
52
- // Need to setToFinal so the further calculation based on the style can be correct.
53
- // Like emphasis color.
54
- setToFinal: !0
55
- }, h), l, A;
56
- E(r) && (l = r, A = a), E(a) && (l = a, A = r);
57
- function j(c, s, C, D, J) {
58
- var p = c.many, d = c.one;
59
- if (p.length === 1 && !J) {
60
- var y = s ? p[0] : d, M = s ? d : p[0];
61
- if (Q(y))
62
- j({
63
- many: [y],
64
- one: M
65
- }, !0, C, D, !0);
66
- else {
67
- var P = e ? O({
68
- delay: e(C, D)
69
- }, v) : v;
70
- R(y, M, P), u(y, M, y, M, P);
71
- }
72
- } else
73
- for (var L = O({
74
- dividePath: Z[t],
75
- individualDelay: e && function(N, b, m, T) {
76
- return e(N + C, D);
77
- }
78
- }, v), S = s ? U(p, d, L) : V(d, p, L), q = S.fromIndividuals, K = S.toIndividuals, z = q.length, f = 0; f < z; f++) {
79
- var P = e ? O({
80
- delay: e(f, z)
81
- }, v) : v;
82
- u(q[f], K[f], s ? p[f] : c.one, s ? c.one : p[f], P);
83
- }
84
- }
85
- for (var B = l ? l === r : r.length > a.length, g = l ? G(A, l) : G(B ? a : r, [B ? r : a]), w = 0, o = 0; o < g.length; o++)
86
- w += g[o].many.length;
87
- for (var x = 0, o = 0; o < g.length; o++)
88
- j(g[o], B, x, w), x += g[o].many.length;
89
- }
90
- function $(r) {
91
- if (!r)
92
- return [];
93
- if (H(r)) {
94
- for (var a = [], t = 0; t < r.length; t++)
95
- a.push($(r[t]));
96
- return a;
97
- }
98
- var i = [];
99
- return r.traverse(function(n) {
100
- n instanceof Y && !n.disableMorphing && !n.invisible && !n.ignore && i.push(n);
101
- }), i;
102
- }
103
- export {
104
- ar as applyMorphAnimation,
105
- $ as getPathList
106
- };