lowcoder-comps 0.0.6 → 0.0.8

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/012a06bb.js +34 -0
  2. package/package/06481cb7.js +1060 -0
  3. package/package/0c8b29d5.js +6 -0
  4. package/package/114884df.js +805 -0
  5. package/package/1264ddb2.js +194 -0
  6. package/package/1cee31ec.js +1095 -0
  7. package/package/269c3ba3.js +46662 -0
  8. package/package/2a2c2e55.js +799 -0
  9. package/package/2b3ab1e4.js +98763 -0
  10. package/package/37590a81.js +967 -0
  11. package/package/3cd7980e.js +184 -0
  12. package/package/40112498.js +424 -0
  13. package/package/4b6e1d6f.js +24 -0
  14. package/package/4bc1082b.js +86 -0
  15. package/package/53e49f9b.js +1600 -0
  16. package/package/55bd5c26.js +266 -0
  17. package/package/591684c8.js +2071 -0
  18. package/package/6c000872.js +16 -0
  19. package/package/756addec.js +775 -0
  20. package/package/7668124e.js +8 -0
  21. package/package/79e8eeeb.js +949 -0
  22. package/package/926fbfec.js +91 -0
  23. package/package/945eefb3.js +2665 -0
  24. package/package/a35f148e.js +1228 -0
  25. package/package/a4d12a43.js +175 -0
  26. package/package/a60de5d1.js +804 -0
  27. package/package/a8dde1ea.js +589 -0
  28. package/package/b4148642.js +7 -0
  29. package/package/b7dd22a2.js +847 -0
  30. package/package/d4f3a2c4.js +18046 -0
  31. package/package/e0f479f3.js +91 -0
  32. package/package/eaa160c9.js +341 -0
  33. package/package/f1bfd8b5.js +311 -0
  34. package/package/f1f9ba79.js +900 -0
  35. package/package/fba61f63.js +2868 -0
  36. package/package/icons/icon-chart.svg +15 -0
  37. package/package/icons/icon-comp-calendar.svg +22 -0
  38. package/package/index.js +5 -0
  39. package/package/package.json +73 -0
  40. package/package.json +10 -2
  41. package/src/index.ts +2 -0
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48px" height="48px" viewBox="0 0 48 48" version="1.1">
2
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
3
+ <g transform="translate(6.000000, 11.500000)" stroke="#D7D9E0" stroke-linecap="round" stroke-width="2">
4
+ <line x1="-2.00715996e-17" y1="0.5" x2="36" y2="0.5"/>
5
+ <line x1="-2.00715996e-17" y1="8.5" x2="36" y2="8.5"/>
6
+ <line x1="2.70913881e-14" y1="16.5" x2="36" y2="16.5"/>
7
+ <line x1="2.70913881e-14" y1="24.5" x2="36" y2="24.5"/>
8
+ </g>
9
+ <g transform="translate(11.000000, 10.000000)" fill="#3377FF">
10
+ <path d="M11,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,25 L16,25 L10,25 L10,1 C10,0.44771525 10.4477153,7.67586877e-16 11,0 Z"/>
11
+ <path d="M1,13 L5,13 C5.55228475,13 6,13.4477153 6,14 L6,25 L6,25 L0,25 L0,14 C-6.76353751e-17,13.4477153 0.44771525,13 1,13 Z"/>
12
+ <path d="M21,6 L25,6 C25.5522847,6 26,6.44771525 26,7 L26,25 L26,25 L20,25 L20,7 C20,6.44771525 20.4477153,6 21,6 Z"/>
13
+ </g>
14
+ </g>
15
+ </svg>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
4
+ <g transform="translate(6.000000, 5.000000)">
5
+ <rect stroke="#D7D9E0" stroke-width="2" fill="#FFFFFF" x="1" y="4" width="34" height="30" rx="3"></rect>
6
+ <g transform="translate(5.000000, 14.000000)">
7
+ <rect fill="#3377FF" x="14" y="0" width="5" height="5" rx="1.5"></rect>
8
+ <rect fill="#8B8FA3" x="7" y="0" width="5" height="5" rx="1.5"></rect>
9
+ <rect fill="#3377FF" x="14" y="6" width="5" height="5" rx="1.5"></rect>
10
+ <rect fill="#8B8FA3" x="7" y="6" width="5" height="5" rx="1.5"></rect>
11
+ <rect fill="#8B8FA3" x="0" y="6" width="5" height="5" rx="1.5"></rect>
12
+ <rect fill="#8B8FA3" x="7" y="12" width="5" height="5" rx="1.5"></rect>
13
+ <rect fill="#8B8FA3" x="0" y="12" width="5" height="5" rx="1.5"></rect>
14
+ <rect fill="#8B8FA3" x="21" y="0" width="5" height="5" rx="1.5"></rect>
15
+ <rect fill="#8B8FA3" x="21" y="6" width="5" height="5" rx="1.5"></rect>
16
+ </g>
17
+ <path d="M3,3 L33,3 C34.6568542,3 36,4.34314575 36,6 L36,12 L36,12 L0,12 L0,6 C-2.02906125e-16,4.34314575 1.34314575,3 3,3 Z" fill="#D7D9E0"></path>
18
+ <rect fill="#D7D9E0" x="7" y="0" width="4" height="8" rx="1"></rect>
19
+ <rect fill="#D7D9E0" x="25" y="0" width="4" height="8" rx="1"></rect>
20
+ </g>
21
+ </g>
22
+ </svg>
@@ -0,0 +1,5 @@
1
+ import { aJ as f } from "./2b3ab1e4.js";
2
+ export {
3
+ f as default
4
+ };
5
+ (function(){"use strict";try{if(typeof document!="undefined"){var e=document.createElement("style");e.id="lowcoder-comps-0.0.8",e.appendChild(document.createTextNode("")),document.head.appendChild(e)}}catch(c){console.error("vite-plugin-css-injected-by-js",c)}})();
@@ -0,0 +1,73 @@
1
+ {
2
+ "name": "lowcoder-comps",
3
+ "version": "0.0.8",
4
+ "type": "module",
5
+ "license": "MIT",
6
+ "dependencies": {
7
+ "@fullcalendar/core": "^6.1.6",
8
+ "@fullcalendar/daygrid": "^6.1.6",
9
+ "@fullcalendar/interaction": "^6.1.6",
10
+ "@fullcalendar/list": "^6.1.6",
11
+ "@fullcalendar/moment": "^6.1.6",
12
+ "@fullcalendar/react": "^6.1.6",
13
+ "@fullcalendar/timegrid": "^6.1.6",
14
+ "@types/react": "17",
15
+ "@types/react-dom": "17",
16
+ "big.js": "^6.2.1",
17
+ "lowcoder-cli": "workspace:^",
18
+ "lowcoder-sdk": "workspace:^",
19
+ "mermaid": "^10.1.x0",
20
+ "react": "17",
21
+ "react-dom": "17",
22
+ "typescript": "4.8.4"
23
+ },
24
+ "lowcoder": {
25
+ "description": "",
26
+ "comps": {
27
+ "chart": {
28
+ "name": "Chart",
29
+ "icon": "./icons/icon-chart.svg",
30
+ "layoutInfo": {
31
+ "w": 11,
32
+ "h": 35
33
+ }
34
+ },
35
+ "imageEditor": {
36
+ "name": "Image Editor",
37
+ "icon": "./icons/icon-chart.svg",
38
+ "layoutInfo": {
39
+ "w": 15,
40
+ "h": 60
41
+ }
42
+ },
43
+ "calendar": {
44
+ "name": "Calendar",
45
+ "icon": "./icons/icon-comp-calendar.svg",
46
+ "layoutInfo": {
47
+ "w": 15,
48
+ "h": 60
49
+ }
50
+ },
51
+ "mermaid": {
52
+ "name": "Mermaid",
53
+ "icon": "./icons/icon-chart.svg",
54
+ "layoutInfo": {
55
+ "w": 15,
56
+ "h": 60
57
+ }
58
+ }
59
+ },
60
+ "entry": "index.js"
61
+ },
62
+ "scripts": {
63
+ "start": "vite",
64
+ "build": "yarn test && lowcoder-cli build",
65
+ "build_only": "lowcoder-cli build",
66
+ "test": "jest"
67
+ },
68
+ "devDependencies": {
69
+ "jest": "29.3.0",
70
+ "vite": "^3.2.4",
71
+ "vite-tsconfig-paths": "^3.6.0"
72
+ }
73
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lowcoder-comps",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
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.0.2",
19
+ "mermaid": "^10.1.x0",
20
20
  "react": "17",
21
21
  "react-dom": "17",
22
22
  "typescript": "4.8.4"
@@ -47,6 +47,14 @@
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
+ }
50
58
  }
51
59
  }
52
60
  },
package/src/index.ts CHANGED
@@ -1,9 +1,11 @@
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";
4
5
 
5
6
  export default {
6
7
  chart: ChartCompWithDefault,
7
8
  imageEditor: ImageEditorComp,
8
9
  calendar: CalendarComp,
10
+ mermaid: MermaidComp,
9
11
  };