lowcoder-comps 0.0.31 → 0.0.33

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 (87) hide show
  1. package/00bb478a.js +1102 -0
  2. package/02bef5a4.js +505 -0
  3. package/057d2a44.js +1127 -0
  4. package/0964fcc6.js +34 -0
  5. package/14220e98.js +1276 -0
  6. package/1c074fe4.js +25 -0
  7. package/250a6954.js +804 -0
  8. package/256b619e.js +92 -0
  9. package/2cd27cf0.js +2501 -0
  10. package/2f064957.js +64 -0
  11. package/2ff2c7a6.js +6 -0
  12. package/2ff7471d.js +9 -0
  13. package/30c4916b.js +8 -0
  14. package/36ec7270.js +915 -0
  15. package/38c14832.js +960 -0
  16. package/3ae34bed.js +819 -0
  17. package/3e2939fa.js +237 -0
  18. package/3f5f874f.js +86 -0
  19. package/3fb86fb9.js +447 -0
  20. package/415177f9.js +1579 -0
  21. package/47848c42.js +11636 -0
  22. package/4c6a0ece.js +162535 -0
  23. package/4db8e48b.js +2284 -0
  24. package/531065f1.js +1089 -0
  25. package/5a398ea8.js +881 -0
  26. package/5ab1614c.js +268 -0
  27. package/65bbb6ae.js +1536 -0
  28. package/777cd15c.js +48428 -0
  29. package/7dacfa82.js +220 -0
  30. package/800cf0d0.js +796 -0
  31. package/92e85b65.js +65 -0
  32. package/93e9bd3a.js +391 -0
  33. package/98622dfa.js +16582 -0
  34. package/a2e74e62.js +2967 -0
  35. package/a61c3bd3.js +5 -0
  36. package/b8f48ff4.js +769 -0
  37. package/bd0f5f65.js +319 -0
  38. package/bf4428f5.js +1269 -0
  39. package/cb1972f7.js +455 -0
  40. package/dfc10c94.js +818 -0
  41. package/ed2c9753.js +208 -0
  42. package/ef2833e6.js +927 -0
  43. package/f9637058.js +16 -0
  44. package/f9e72519.js +1284 -0
  45. package/fe063d15.js +19339 -0
  46. package/index.js +5 -0
  47. package/package.json +30 -3
  48. package/README.md +0 -120
  49. package/index.html +0 -26
  50. package/index.tsx +0 -21
  51. package/jest.config.js +0 -6
  52. package/src/__test__/allComp.test.tsx +0 -61
  53. package/src/app-env.d.ts +0 -3
  54. package/src/comps/calendarComp/calendarComp.tsx +0 -633
  55. package/src/comps/calendarComp/calendarConstants.tsx +0 -1048
  56. package/src/comps/calendarComp/errorBoundary.tsx +0 -30
  57. package/src/comps/chartComp/chartComp.tsx +0 -442
  58. package/src/comps/chartComp/chartConfigs/barChartConfig.tsx +0 -51
  59. package/src/comps/chartComp/chartConfigs/cartesianAxisConfig.tsx +0 -307
  60. package/src/comps/chartComp/chartConfigs/chartUrls.tsx +0 -9
  61. package/src/comps/chartComp/chartConfigs/legendConfig.tsx +0 -55
  62. package/src/comps/chartComp/chartConfigs/lineChartConfig.tsx +0 -96
  63. package/src/comps/chartComp/chartConfigs/pieChartConfig.tsx +0 -83
  64. package/src/comps/chartComp/chartConfigs/scatterChartConfig.tsx +0 -62
  65. package/src/comps/chartComp/chartConstants.tsx +0 -299
  66. package/src/comps/chartComp/chartPropertyView.tsx +0 -235
  67. package/src/comps/chartComp/chartUtils.ts +0 -291
  68. package/src/comps/chartComp/reactEcharts/core.tsx +0 -194
  69. package/src/comps/chartComp/reactEcharts/index.ts +0 -21
  70. package/src/comps/chartComp/reactEcharts/types.ts +0 -76
  71. package/src/comps/chartComp/seriesComp.tsx +0 -119
  72. package/src/comps/imageEditorComp/imageEditorClass.tsx +0 -52
  73. package/src/comps/imageEditorComp/imageEditorConstants.tsx +0 -109
  74. package/src/comps/imageEditorComp/index.tsx +0 -184
  75. package/src/comps/mermaidComp/index.tsx +0 -44
  76. package/src/comps/mermaidComp/mermaid.tsx +0 -29
  77. package/src/global.ts +0 -1
  78. package/src/i18n/comps/index.tsx +0 -29
  79. package/src/i18n/comps/locales/en.ts +0 -163
  80. package/src/i18n/comps/locales/enObj.tsx +0 -198
  81. package/src/i18n/comps/locales/index.ts +0 -7
  82. package/src/i18n/comps/locales/types.tsx +0 -10
  83. package/src/i18n/comps/locales/zh.ts +0 -156
  84. package/src/i18n/comps/locales/zhObj.tsx +0 -4
  85. package/src/index.ts +0 -11
  86. package/tsconfig.json +0 -22
  87. package/vite.config.js +0 -10
package/256b619e.js ADDED
@@ -0,0 +1,92 @@
1
+ var E = Math.pow;
2
+ const c = Math.PI, x = 2 * c, u = 1e-6, A = x - u;
3
+ function T(e) {
4
+ this._ += e[0];
5
+ for (let t = 1, h = e.length; t < h; ++t)
6
+ this._ += arguments[t] + e[t];
7
+ }
8
+ function L(e) {
9
+ let t = Math.floor(e);
10
+ if (!(t >= 0))
11
+ throw new Error(`invalid digits: ${e}`);
12
+ if (t > 15)
13
+ return T;
14
+ const h = E(10, t);
15
+ return function(i) {
16
+ this._ += i[0];
17
+ for (let s = 1, n = i.length; s < n; ++s)
18
+ this._ += Math.round(arguments[s] * h) / h + i[s];
19
+ };
20
+ }
21
+ class P {
22
+ constructor(t) {
23
+ this._x0 = this._y0 = // start of current subpath
24
+ this._x1 = this._y1 = null, this._ = "", this._append = t == null ? T : L(t);
25
+ }
26
+ moveTo(t, h) {
27
+ this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +h}`;
28
+ }
29
+ closePath() {
30
+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);
31
+ }
32
+ lineTo(t, h) {
33
+ this._append`L${this._x1 = +t},${this._y1 = +h}`;
34
+ }
35
+ quadraticCurveTo(t, h, i, s) {
36
+ this._append`Q${+t},${+h},${this._x1 = +i},${this._y1 = +s}`;
37
+ }
38
+ bezierCurveTo(t, h, i, s, n, $) {
39
+ this._append`C${+t},${+h},${+i},${+s},${this._x1 = +n},${this._y1 = +$}`;
40
+ }
41
+ arcTo(t, h, i, s, n) {
42
+ if (t = +t, h = +h, i = +i, s = +s, n = +n, n < 0)
43
+ throw new Error(`negative radius: ${n}`);
44
+ let $ = this._x1, r = this._y1, p = i - t, l = s - h, _ = $ - t, o = r - h, a = _ * _ + o * o;
45
+ if (this._x1 === null)
46
+ this._append`M${this._x1 = t},${this._y1 = h}`;
47
+ else if (a > u)
48
+ if (!(Math.abs(o * p - l * _) > u) || !n)
49
+ this._append`L${this._x1 = t},${this._y1 = h}`;
50
+ else {
51
+ let d = i - $, f = s - r, y = p * p + l * l, m = d * d + f * f, g = Math.sqrt(y), v = Math.sqrt(a), w = n * Math.tan((c - Math.acos((y + a - m) / (2 * g * v))) / 2), M = w / v, b = w / g;
52
+ Math.abs(M - 1) > u && this._append`L${t + M * _},${h + M * o}`, this._append`A${n},${n},0,0,${+(o * d > _ * f)},${this._x1 = t + b * p},${this._y1 = h + b * l}`;
53
+ }
54
+ }
55
+ arc(t, h, i, s, n, $) {
56
+ if (t = +t, h = +h, i = +i, $ = !!$, i < 0)
57
+ throw new Error(`negative radius: ${i}`);
58
+ let r = i * Math.cos(s), p = i * Math.sin(s), l = t + r, _ = h + p, o = 1 ^ $, a = $ ? s - n : n - s;
59
+ this._x1 === null ? this._append`M${l},${_}` : (Math.abs(this._x1 - l) > u || Math.abs(this._y1 - _) > u) && this._append`L${l},${_}`, i && (a < 0 && (a = a % x + x), a > A ? this._append`A${i},${i},0,1,${o},${t - r},${h - p}A${i},${i},0,1,${o},${this._x1 = l},${this._y1 = _}` : a > u && this._append`A${i},${i},0,${+(a >= c)},${o},${this._x1 = t + i * Math.cos(n)},${this._y1 = h + i * Math.sin(n)}`);
60
+ }
61
+ rect(t, h, i, s) {
62
+ this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +h}h${i = +i}v${+s}h${-i}Z`;
63
+ }
64
+ toString() {
65
+ return this._;
66
+ }
67
+ }
68
+ function C(e) {
69
+ return function() {
70
+ return e;
71
+ };
72
+ }
73
+ function R(e) {
74
+ let t = 3;
75
+ return e.digits = function(h) {
76
+ if (!arguments.length)
77
+ return t;
78
+ if (h == null)
79
+ t = null;
80
+ else {
81
+ const i = Math.floor(h);
82
+ if (!(i >= 0))
83
+ throw new RangeError(`invalid digits: ${h}`);
84
+ t = i;
85
+ }
86
+ return e;
87
+ }, () => new P(t);
88
+ }
89
+ export {
90
+ C as c,
91
+ R as w
92
+ };