lowcoder-comps 0.0.8 → 0.0.10

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 (41) hide show
  1. package/package.json +2 -10
  2. package/src/index.ts +0 -2
  3. package/package/012a06bb.js +0 -34
  4. package/package/06481cb7.js +0 -1060
  5. package/package/0c8b29d5.js +0 -6
  6. package/package/114884df.js +0 -805
  7. package/package/1264ddb2.js +0 -194
  8. package/package/1cee31ec.js +0 -1095
  9. package/package/269c3ba3.js +0 -46662
  10. package/package/2a2c2e55.js +0 -799
  11. package/package/2b3ab1e4.js +0 -98763
  12. package/package/37590a81.js +0 -967
  13. package/package/3cd7980e.js +0 -184
  14. package/package/40112498.js +0 -424
  15. package/package/4b6e1d6f.js +0 -24
  16. package/package/4bc1082b.js +0 -86
  17. package/package/53e49f9b.js +0 -1600
  18. package/package/55bd5c26.js +0 -266
  19. package/package/591684c8.js +0 -2071
  20. package/package/6c000872.js +0 -16
  21. package/package/756addec.js +0 -775
  22. package/package/7668124e.js +0 -8
  23. package/package/79e8eeeb.js +0 -949
  24. package/package/926fbfec.js +0 -91
  25. package/package/945eefb3.js +0 -2665
  26. package/package/a35f148e.js +0 -1228
  27. package/package/a4d12a43.js +0 -175
  28. package/package/a60de5d1.js +0 -804
  29. package/package/a8dde1ea.js +0 -589
  30. package/package/b4148642.js +0 -7
  31. package/package/b7dd22a2.js +0 -847
  32. package/package/d4f3a2c4.js +0 -18046
  33. package/package/e0f479f3.js +0 -91
  34. package/package/eaa160c9.js +0 -341
  35. package/package/f1bfd8b5.js +0 -311
  36. package/package/f1f9ba79.js +0 -900
  37. package/package/fba61f63.js +0 -2868
  38. package/package/icons/icon-chart.svg +0 -15
  39. package/package/icons/icon-comp-calendar.svg +0 -22
  40. package/package/index.js +0 -5
  41. package/package/package.json +0 -73
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lowcoder-comps",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -16,7 +16,7 @@
16
16
  "big.js": "^6.2.1",
17
17
  "lowcoder-cli": "workspace:^",
18
18
  "lowcoder-sdk": "workspace:^",
19
- "mermaid": "^10.1.x0",
19
+ "mermaid": "^10.0.2",
20
20
  "react": "17",
21
21
  "react-dom": "17",
22
22
  "typescript": "4.8.4"
@@ -47,14 +47,6 @@
47
47
  "w": 15,
48
48
  "h": 60
49
49
  }
50
- },
51
- "mermaid": {
52
- "name": "Mermaid",
53
- "icon": "./icons/icon-chart.svg",
54
- "layoutInfo": {
55
- "w": 15,
56
- "h": 60
57
- }
58
50
  }
59
51
  }
60
52
  },
package/src/index.ts CHANGED
@@ -1,11 +1,9 @@
1
1
  import { ChartCompWithDefault } from "./comps/chartComp/chartComp";
2
2
  import { ImageEditorComp } from "./comps/imageEditorComp/index";
3
3
  import { CalendarComp } from "./comps/calendarComp/calendarComp";
4
- import { MermaidComp } from "./comps/mermaidComp";
5
4
 
6
5
  export default {
7
6
  chart: ChartCompWithDefault,
8
7
  imageEditor: ImageEditorComp,
9
8
  calendar: CalendarComp,
10
- mermaid: MermaidComp,
11
9
  };
@@ -1,34 +0,0 @@
1
- import { a as h } from "./0c8b29d5.js";
2
- import { w as d, c as o } from "./e0f479f3.js";
3
- import { o as v } from "./2b3ab1e4.js";
4
- function w(t) {
5
- return t[0];
6
- }
7
- function b(t) {
8
- return t[1];
9
- }
10
- function P(t, u) {
11
- var s = o(!0), i = null, l = v, r = null, m = d(e);
12
- t = typeof t == "function" ? t : t === void 0 ? w : o(t), u = typeof u == "function" ? u : u === void 0 ? b : o(u);
13
- function e(n) {
14
- var f, g = (n = h(n)).length, p, c = !1, a;
15
- for (i == null && (r = l(a = m())), f = 0; f <= g; ++f)
16
- !(f < g && s(p = n[f], f, n)) === c && ((c = !c) ? r.lineStart() : r.lineEnd()), c && r.point(+t(p, f, n), +u(p, f, n));
17
- if (a)
18
- return r = null, a + "" || null;
19
- }
20
- return e.x = function(n) {
21
- return arguments.length ? (t = typeof n == "function" ? n : o(+n), e) : t;
22
- }, e.y = function(n) {
23
- return arguments.length ? (u = typeof n == "function" ? n : o(+n), e) : u;
24
- }, e.defined = function(n) {
25
- return arguments.length ? (s = typeof n == "function" ? n : o(!!n), e) : s;
26
- }, e.curve = function(n) {
27
- return arguments.length ? (l = n, i != null && (r = l(i)), e) : l;
28
- }, e.context = function(n) {
29
- return arguments.length ? (n == null ? i = r = null : r = l(i = n), e) : i;
30
- }, e;
31
- }
32
- export {
33
- P as l
34
- };