ar-design 0.2.97 → 0.2.98
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/README.md +223 -0
- package/dist/assets/css/components/data-display/diagram/styles.css +113 -0
- package/dist/assets/css/components/feedback/tooltip/styles.css +1 -0
- package/dist/assets/css/core/variants/borderless.css +45 -56
- package/dist/assets/css/core/variants/dashed.css +11 -22
- package/dist/assets/css/core/variants/outlined.css +11 -22
- package/dist/assets/css/core/variants/surface.css +11 -22
- package/dist/components/charts/pie/index.js +1 -0
- package/dist/components/data-display/diagram/IProps.d.ts +48 -0
- package/dist/components/data-display/diagram/IProps.js +1 -0
- package/dist/components/data-display/diagram/index.d.ts +4 -0
- package/dist/components/data-display/diagram/index.js +258 -0
- package/dist/components/data-display/dnd/index.js +0 -12
- package/dist/components/data-display/table/FilterPopup.js +1 -0
- package/dist/components/form/upload/Dropzone.js +1 -0
- package/dist/components/form/upload/index.js +1 -0
- package/dist/components/icons/Compiler.js +19 -17
- package/dist/components/navigation/breadcrumb/index.js +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/libs/core/application/hooks/index.js +1 -0
- package/dist/libs/core/service/Api.d.ts +5 -8
- package/dist/libs/core/service/Api.js +15 -7
- package/dist/libs/core/service/index.d.ts +5 -8
- package/dist/libs/core/service/index.js +1 -5
- package/dist/libs/types/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -15,11 +15,11 @@ class Icon {
|
|
|
15
15
|
case "ArrowLeft":
|
|
16
16
|
return (React.createElement("path", { d: "M15 19.92L8.48 13.4c-.77-.77-.77-2.03 0-2.8L15 4.08", stroke: this._stroke, strokeWidth: this._strokeWidth, strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
17
17
|
case "ArrowRight":
|
|
18
|
-
return (React.createElement("path", { d: "
|
|
18
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8" }));
|
|
19
19
|
case "Bold":
|
|
20
20
|
return (React.createElement("path", { d: "M8.21 13c2.106 0 3.412-1.087 3.412-2.823 0-1.306-.984-2.283-2.324-2.386v-.055a2.176 2.176 0 0 0 1.852-2.14c0-1.51-1.162-2.46-3.014-2.46H3.843V13zM5.908 4.674h1.696c.963 0 1.517.451 1.517 1.244 0 .834-.629 1.32-1.73 1.32H5.908V4.673zm0 6.788V8.598h1.73c1.217 0 1.88.492 1.88 1.415 0 .943-.643 1.449-1.832 1.449H5.907z" }));
|
|
21
21
|
case "BulletList":
|
|
22
|
-
return (React.createElement("path", {
|
|
22
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m-3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2" }));
|
|
23
23
|
case "CameraReels":
|
|
24
24
|
return (React.createElement(React.Fragment, null,
|
|
25
25
|
React.createElement("path", { d: "M6 3a3 3 0 1 1-6 0 3 3 0 0 1 6 0M1 3a2 2 0 1 0 4 0 2 2 0 0 0-4 0" }),
|
|
@@ -31,6 +31,8 @@ class Icon {
|
|
|
31
31
|
return (React.createElement("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10ZM9.17 14.83l5.66-5.66M14.83 14.83 9.17 9.17", stroke: this._stroke, strokeWidth: this._strokeWidth, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
32
32
|
case "CloseSquare":
|
|
33
33
|
return (React.createElement("path", { d: "m9.17 14.83 5.66-5.66M14.83 14.83 9.17 9.17M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z", stroke: this._stroke, strokeWidth: this._strokeWidth, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
34
|
+
case "Dash":
|
|
35
|
+
return React.createElement("path", { d: "M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8" });
|
|
34
36
|
case "Document":
|
|
35
37
|
return (React.createElement(React.Fragment, null,
|
|
36
38
|
React.createElement("path", { d: "M22 10v5c0 5-2 7-7 7H9c-5 0-7-2-7-7V9c0-5 2-7 7-7h5", stroke: this._stroke, strokeWidth: this._strokeWidth, strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -44,27 +46,27 @@ class Icon {
|
|
|
44
46
|
React.createElement("path", { d: "M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16" }),
|
|
45
47
|
React.createElement("path", { d: "M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0M7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0z" })));
|
|
46
48
|
case "FileTypeCsv":
|
|
47
|
-
return (React.createElement("path", {
|
|
49
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM3.517 14.841a1.13 1.13 0 0 0 .401.823q.195.162.478.252.284.091.665.091.507 0 .859-.158.354-.158.539-.44.187-.284.187-.656 0-.336-.134-.56a1 1 0 0 0-.375-.357 2 2 0 0 0-.566-.21l-.621-.144a1 1 0 0 1-.404-.176.37.37 0 0 1-.144-.299q0-.234.185-.384.188-.152.512-.152.214 0 .37.068a.6.6 0 0 1 .246.181.56.56 0 0 1 .12.258h.75a1.1 1.1 0 0 0-.2-.566 1.2 1.2 0 0 0-.5-.41 1.8 1.8 0 0 0-.78-.152q-.439 0-.776.15-.337.149-.527.421-.19.273-.19.639 0 .302.122.524.124.223.352.367.228.143.539.213l.618.144q.31.073.463.193a.39.39 0 0 1 .152.326.5.5 0 0 1-.085.29.56.56 0 0 1-.255.193q-.167.07-.413.07-.175 0-.32-.04a.8.8 0 0 1-.248-.115.58.58 0 0 1-.255-.384zM.806 13.693q0-.373.102-.633a.87.87 0 0 1 .302-.399.8.8 0 0 1 .475-.137q.225 0 .398.097a.7.7 0 0 1 .272.26.85.85 0 0 1 .12.381h.765v-.072a1.33 1.33 0 0 0-.466-.964 1.4 1.4 0 0 0-.489-.272 1.8 1.8 0 0 0-.606-.097q-.534 0-.911.223-.375.222-.572.632-.195.41-.196.979v.498q0 .568.193.976.197.407.572.626.375.217.914.217.439 0 .785-.164t.55-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.764a.8.8 0 0 1-.118.363.7.7 0 0 1-.272.25.9.9 0 0 1-.401.087.85.85 0 0 1-.478-.132.83.83 0 0 1-.299-.392 1.7 1.7 0 0 1-.102-.627zm8.239 2.238h-.953l-1.338-3.999h.917l.896 3.138h.038l.888-3.138h.879z" }));
|
|
48
50
|
case "FileTypeDoc":
|
|
49
|
-
return (React.createElement("path", {
|
|
51
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zm-6.839 9.688v-.522a1.5 1.5 0 0 0-.117-.641.86.86 0 0 0-.322-.387.86.86 0 0 0-.469-.129.87.87 0 0 0-.471.13.87.87 0 0 0-.32.386 1.5 1.5 0 0 0-.117.641v.522q0 .384.117.641a.87.87 0 0 0 .32.387.9.9 0 0 0 .471.126.9.9 0 0 0 .469-.126.86.86 0 0 0 .322-.386 1.55 1.55 0 0 0 .117-.642m.803-.516v.513q0 .563-.205.973a1.47 1.47 0 0 1-.589.627q-.381.216-.917.216a1.86 1.86 0 0 1-.92-.216 1.46 1.46 0 0 1-.589-.627 2.15 2.15 0 0 1-.205-.973v-.513q0-.569.205-.975.205-.411.59-.627.386-.22.92-.22.535 0 .916.22.383.219.59.63.204.406.204.972M1 15.925v-3.999h1.459q.609 0 1.005.235.396.233.589.68.196.445.196 1.074 0 .634-.196 1.084-.197.451-.595.689-.396.237-.999.237zm1.354-3.354H1.79v2.707h.563q.277 0 .483-.082a.8.8 0 0 0 .334-.252q.132-.17.196-.422a2.3 2.3 0 0 0 .068-.592q0-.45-.118-.753a.9.9 0 0 0-.354-.454q-.237-.152-.61-.152Zm6.756 1.116q0-.373.103-.633a.87.87 0 0 1 .301-.398.8.8 0 0 1 .475-.138q.225 0 .398.097a.7.7 0 0 1 .273.26.85.85 0 0 1 .12.381h.765v-.073a1.33 1.33 0 0 0-.466-.964 1.4 1.4 0 0 0-.49-.272 1.8 1.8 0 0 0-.606-.097q-.534 0-.911.223-.375.222-.571.633-.197.41-.197.978v.498q0 .568.194.976.195.406.571.627.375.216.914.216.44 0 .785-.164t.551-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.765a.8.8 0 0 1-.117.364.7.7 0 0 1-.273.248.9.9 0 0 1-.401.088.85.85 0 0 1-.478-.131.83.83 0 0 1-.298-.393 1.7 1.7 0 0 1-.103-.627zm5.092-1.76h.894l-1.275 2.006 1.254 1.992h-.908l-.85-1.415h-.035l-.852 1.415h-.862l1.24-2.015-1.228-1.984h.932l.832 1.439h.035z" }));
|
|
50
52
|
case "FileTypeDocx":
|
|
51
|
-
return (React.createElement("path", {
|
|
53
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zm-6.839 9.688v-.522a1.5 1.5 0 0 0-.117-.641.86.86 0 0 0-.322-.387.86.86 0 0 0-.469-.129.87.87 0 0 0-.471.13.87.87 0 0 0-.32.386 1.5 1.5 0 0 0-.117.641v.522q0 .384.117.641a.87.87 0 0 0 .32.387.9.9 0 0 0 .471.126.9.9 0 0 0 .469-.126.86.86 0 0 0 .322-.386 1.55 1.55 0 0 0 .117-.642m.803-.516v.513q0 .563-.205.973a1.47 1.47 0 0 1-.589.627q-.381.216-.917.216a1.86 1.86 0 0 1-.92-.216 1.46 1.46 0 0 1-.589-.627 2.15 2.15 0 0 1-.205-.973v-.513q0-.569.205-.975.205-.411.59-.627.386-.22.92-.22.535 0 .916.22.383.219.59.63.204.406.204.972M1 15.925v-3.999h1.459q.609 0 1.005.235.396.233.589.68.196.445.196 1.074 0 .634-.196 1.084-.197.451-.595.689-.396.237-.999.237zm1.354-3.354H1.79v2.707h.563q.277 0 .483-.082a.8.8 0 0 0 .334-.252q.132-.17.196-.422a2.3 2.3 0 0 0 .068-.592q0-.45-.118-.753a.9.9 0 0 0-.354-.454q-.237-.152-.61-.152Zm6.756 1.116q0-.373.103-.633a.87.87 0 0 1 .301-.398.8.8 0 0 1 .475-.138q.225 0 .398.097a.7.7 0 0 1 .273.26.85.85 0 0 1 .12.381h.765v-.073a1.33 1.33 0 0 0-.466-.964 1.4 1.4 0 0 0-.49-.272 1.8 1.8 0 0 0-.606-.097q-.534 0-.911.223-.375.222-.571.633-.197.41-.197.978v.498q0 .568.194.976.195.406.571.627.375.216.914.216.44 0 .785-.164t.551-.454a1.27 1.27 0 0 0 .226-.674v-.076h-.765a.8.8 0 0 1-.117.364.7.7 0 0 1-.273.248.9.9 0 0 1-.401.088.85.85 0 0 1-.478-.131.83.83 0 0 1-.298-.393 1.7 1.7 0 0 1-.103-.627zm5.092-1.76h.894l-1.275 2.006 1.254 1.992h-.908l-.85-1.415h-.035l-.852 1.415h-.862l1.24-2.015-1.228-1.984h.932l.832 1.439h.035z" }));
|
|
52
54
|
case "FileTypeHtml":
|
|
53
|
-
return (React.createElement("path", {
|
|
55
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zm-9.736 7.35v3.999h-.791v-1.714H1.79v1.714H1V11.85h.791v1.626h1.682V11.85h.79Zm2.251.662v3.337h-.794v-3.337H4.588v-.662h3.064v.662zm2.176 3.337v-2.66h.038l.952 2.159h.516l.946-2.16h.038v2.661h.715V11.85h-.8l-1.14 2.596H9.93L8.79 11.85h-.805v3.999zm4.71-.674h1.696v.674H12.61V11.85h.79v3.325Z" }));
|
|
54
56
|
case "FileTypeJson":
|
|
55
|
-
return (React.createElement("path", {
|
|
57
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM4.151 15.29a1.2 1.2 0 0 1-.111-.449h.764a.58.58 0 0 0 .255.384q.105.073.25.114.142.041.319.041.245 0 .413-.07a.56.56 0 0 0 .255-.193.5.5 0 0 0 .084-.29.39.39 0 0 0-.152-.326q-.152-.12-.463-.193l-.618-.143a1.7 1.7 0 0 1-.539-.214 1 1 0 0 1-.352-.367 1.1 1.1 0 0 1-.123-.524q0-.366.19-.639.192-.272.528-.422.337-.15.777-.149.456 0 .779.152.326.153.5.41.18.255.2.566h-.75a.56.56 0 0 0-.12-.258.6.6 0 0 0-.246-.181.9.9 0 0 0-.37-.068q-.324 0-.512.152a.47.47 0 0 0-.185.384q0 .18.144.3a1 1 0 0 0 .404.175l.621.143q.326.075.566.211a1 1 0 0 1 .375.358q.135.222.135.56 0 .37-.188.656a1.2 1.2 0 0 1-.539.439q-.351.158-.858.158-.381 0-.665-.09a1.4 1.4 0 0 1-.478-.252 1.1 1.1 0 0 1-.29-.375m-3.104-.033a1.3 1.3 0 0 1-.082-.466h.764a.6.6 0 0 0 .074.27.5.5 0 0 0 .454.246q.285 0 .422-.164.137-.165.137-.466v-2.745h.791v2.725q0 .66-.357 1.005-.355.345-.985.345a1.6 1.6 0 0 1-.568-.094 1.15 1.15 0 0 1-.407-.266 1.1 1.1 0 0 1-.243-.39m9.091-1.585v.522q0 .384-.117.641a.86.86 0 0 1-.322.387.9.9 0 0 1-.47.126.9.9 0 0 1-.47-.126.87.87 0 0 1-.32-.387 1.55 1.55 0 0 1-.117-.641v-.522q0-.386.117-.641a.87.87 0 0 1 .32-.387.87.87 0 0 1 .47-.129q.265 0 .47.129a.86.86 0 0 1 .322.387q.117.255.117.641m.803.519v-.513q0-.565-.205-.973a1.46 1.46 0 0 0-.59-.63q-.38-.22-.916-.22-.534 0-.92.22a1.44 1.44 0 0 0-.589.628q-.205.407-.205.975v.513q0 .562.205.973.205.407.589.626.386.217.92.217.536 0 .917-.217.384-.22.589-.626.204-.41.205-.973m1.29-.935v2.675h-.746v-3.999h.662l1.752 2.66h.032v-2.66h.75v4h-.656l-1.761-2.676z" }));
|
|
56
58
|
case "FileTypePdf":
|
|
57
|
-
return (React.createElement("path", {
|
|
59
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.6 11.85H0v3.999h.791v-1.342h.803q.43 0 .732-.173.305-.175.463-.474a1.4 1.4 0 0 0 .161-.677q0-.375-.158-.677a1.2 1.2 0 0 0-.46-.477q-.3-.18-.732-.179m.545 1.333a.8.8 0 0 1-.085.38.57.57 0 0 1-.238.241.8.8 0 0 1-.375.082H.788V12.48h.66q.327 0 .512.181.185.183.185.522m1.217-1.333v3.999h1.46q.602 0 .998-.237a1.45 1.45 0 0 0 .595-.689q.196-.45.196-1.084 0-.63-.196-1.075a1.43 1.43 0 0 0-.589-.68q-.396-.234-1.005-.234zm.791.645h.563q.371 0 .609.152a.9.9 0 0 1 .354.454q.118.302.118.753a2.3 2.3 0 0 1-.068.592 1.1 1.1 0 0 1-.196.422.8.8 0 0 1-.334.252 1.3 1.3 0 0 1-.483.082h-.563zm3.743 1.763v1.591h-.79V11.85h2.548v.653H7.896v1.117h1.606v.638z" }));
|
|
58
60
|
case "FileTypePptx":
|
|
59
|
-
return (React.createElement("path", {
|
|
61
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.5 11.85h1.6q.434 0 .732.179.302.175.46.477t.158.677-.16.677q-.159.299-.464.474a1.45 1.45 0 0 1-.732.173H2.29v1.342H1.5zm2.06 1.714a.8.8 0 0 0 .085-.381q0-.34-.185-.521-.185-.182-.513-.182h-.659v1.406h.66a.8.8 0 0 0 .374-.082.57.57 0 0 0 .238-.24m1.302-1.714h1.6q.434 0 .732.179.302.175.46.477t.158.677-.16.677q-.158.299-.464.474a1.45 1.45 0 0 1-.732.173h-.803v1.342h-.79zm2.06 1.714a.8.8 0 0 0 .085-.381q0-.34-.185-.521-.184-.182-.513-.182H5.65v1.406h.66a.8.8 0 0 0 .374-.082.57.57 0 0 0 .238-.24m2.852 2.285v-3.337h1.137v-.662H7.846v.662H8.98v3.337zm3.796-3.999h.893l-1.274 2.007 1.254 1.992h-.908l-.85-1.415h-.035l-.853 1.415h-.861l1.24-2.016-1.228-1.983h.931l.832 1.439h.035z" }));
|
|
60
62
|
case "FileTypeTxt":
|
|
61
|
-
return (React.createElement("path", {
|
|
63
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V14a2 2 0 0 1-2 2h-2v-1h2a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM1.928 15.849v-3.337h1.136v-.662H0v.662h1.134v3.337zm4.689-3.999h-.894L4.9 13.289h-.035l-.832-1.439h-.932l1.228 1.983-1.24 2.016h.862l.853-1.415h.035l.85 1.415h.907l-1.253-1.992zm1.93.662v3.337h-.794v-3.337H6.619v-.662h3.064v.662H8.546Z" }));
|
|
62
64
|
case "FileTypeXls":
|
|
63
|
-
return (React.createElement("path", {
|
|
65
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V14a2 2 0 0 1-2 2h-1v-1h1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM6.472 15.29a1.2 1.2 0 0 1-.111-.449h.765a.58.58 0 0 0 .254.384q.106.073.25.114.143.041.319.041.246 0 .413-.07a.56.56 0 0 0 .255-.193.5.5 0 0 0 .085-.29.39.39 0 0 0-.153-.326q-.152-.12-.462-.193l-.619-.143a1.7 1.7 0 0 1-.539-.214 1 1 0 0 1-.351-.367 1.1 1.1 0 0 1-.123-.524q0-.366.19-.639.19-.272.527-.422.338-.15.777-.149.457 0 .78.152.324.153.5.41.18.255.2.566h-.75a.56.56 0 0 0-.12-.258.6.6 0 0 0-.247-.181.9.9 0 0 0-.369-.068q-.325 0-.513.152a.47.47 0 0 0-.184.384q0 .18.143.3a1 1 0 0 0 .405.175l.62.143q.326.075.566.211a1 1 0 0 1 .375.358q.135.222.135.56 0 .37-.188.656a1.2 1.2 0 0 1-.539.439q-.351.158-.858.158-.381 0-.665-.09a1.4 1.4 0 0 1-.478-.252 1.1 1.1 0 0 1-.29-.375m-2.945-3.358h-.893L1.81 13.37h-.036l-.832-1.438h-.93l1.227 1.983L0 15.931h.861l.853-1.415h.035l.85 1.415h.908L2.253 13.94zm2.727 3.325H4.557v-3.325h-.79v4h2.487z" }));
|
|
64
66
|
case "FileTypeXlsx":
|
|
65
|
-
return (React.createElement("path", {
|
|
67
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM7.86 14.841a1.13 1.13 0 0 0 .401.823q.195.162.479.252.284.091.665.091.507 0 .858-.158.355-.158.54-.44a1.17 1.17 0 0 0 .187-.656q0-.336-.135-.56a1 1 0 0 0-.375-.357 2 2 0 0 0-.565-.21l-.621-.144a1 1 0 0 1-.405-.176.37.37 0 0 1-.143-.299q0-.234.184-.384.188-.152.513-.152.214 0 .37.068a.6.6 0 0 1 .245.181.56.56 0 0 1 .12.258h.75a1.1 1.1 0 0 0-.199-.566 1.2 1.2 0 0 0-.5-.41 1.8 1.8 0 0 0-.78-.152q-.44 0-.777.15-.336.149-.527.421-.19.273-.19.639 0 .302.123.524t.351.367q.229.143.54.213l.618.144q.31.073.462.193a.39.39 0 0 1 .153.326.5.5 0 0 1-.085.29.56.56 0 0 1-.255.193q-.168.07-.413.07-.176 0-.32-.04a.8.8 0 0 1-.249-.115.58.58 0 0 1-.255-.384zm-3.726-2.909h.893l-1.274 2.007 1.254 1.992h-.908l-.85-1.415h-.035l-.853 1.415H1.5l1.24-2.016-1.228-1.983h.931l.832 1.438h.036zm1.923 3.325h1.697v.674H5.266v-3.999h.791zm7.636-3.325h.893l-1.274 2.007 1.254 1.992h-.908l-.85-1.415h-.035l-.853 1.415h-.861l1.24-2.016-1.228-1.983h.931l.832 1.438h.036z" }));
|
|
66
68
|
case "FileTypeXml":
|
|
67
|
-
return (React.createElement("path", {
|
|
69
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M14 4.5V14a2 2 0 0 1-2 2v-1a1 1 0 0 0 1-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zM3.527 11.85h-.893l-.823 1.439h-.036L.943 11.85H.012l1.227 1.983L0 15.85h.861l.853-1.415h.035l.85 1.415h.908l-1.254-1.992zm.954 3.999v-2.66h.038l.952 2.159h.516l.946-2.16h.038v2.661h.715V11.85h-.8l-1.14 2.596h-.025L4.58 11.85h-.806v3.999zm4.71-.674h1.696v.674H8.4V11.85h.791z" }));
|
|
68
70
|
case "FileTypeZip":
|
|
69
71
|
return (React.createElement(React.Fragment, null,
|
|
70
72
|
React.createElement("path", { d: "M5 7.5a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v.938l.4 1.599a1 1 0 0 1-.416 1.074l-.93.62a1 1 0 0 1-1.11 0l-.929-.62a1 1 0 0 1-.415-1.074L5 8.438zm2 0H6v.938a1 1 0 0 1-.03.243l-.4 1.598.93.62.929-.62-.4-1.598A1 1 0 0 1 7 8.438z" }),
|
|
@@ -82,16 +84,16 @@ class Icon {
|
|
|
82
84
|
return (React.createElement("path", { d: "M7.991 11.674 9.53 4.455c.123-.595.246-.71 1.347-.807l.11-.52H7.211l-.11.52c1.06.096 1.128.212 1.005.807L6.57 11.674c-.123.595-.246.71-1.346.806l-.11.52h3.774l.11-.52c-1.06-.095-1.129-.211-1.006-.806z" }));
|
|
83
85
|
case "NumberList":
|
|
84
86
|
return (React.createElement(React.Fragment, null,
|
|
85
|
-
React.createElement("path", {
|
|
87
|
+
React.createElement("path", { fillRule: "evenodd", d: "M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5" }),
|
|
86
88
|
React.createElement("path", { d: "M1.713 11.865v-.474H2c.217 0 .363-.137.363-.317 0-.185-.158-.31-.361-.31-.223 0-.367.152-.373.31h-.59c.016-.467.373-.787.986-.787.588-.002.954.291.957.703a.595.595 0 0 1-.492.594v.033a.615.615 0 0 1 .569.631c.003.533-.502.8-1.051.8-.656 0-1-.37-1.008-.794h.582c.008.178.186.306.422.309.254 0 .424-.145.422-.35-.002-.195-.155-.348-.414-.348h-.3zm-.004-4.699h-.604v-.035c0-.408.295-.844.958-.844.583 0 .96.326.96.756 0 .389-.257.617-.476.848l-.537.572v.03h1.054V9H1.143v-.395l.957-.99c.138-.142.293-.304.293-.508 0-.18-.147-.32-.342-.32a.33.33 0 0 0-.342.338zM2.564 5h-.635V2.924h-.031l-.598.42v-.567l.629-.443h.635z" })));
|
|
87
89
|
case "Strikethrough":
|
|
88
90
|
return (React.createElement("path", { d: "M6.333 5.686c0 .31.083.581.27.814H5.166a2.8 2.8 0 0 1-.099-.76c0-1.627 1.436-2.768 3.48-2.768 1.969 0 3.39 1.175 3.445 2.85h-1.23c-.11-1.08-.964-1.743-2.25-1.743-1.23 0-2.18.602-2.18 1.607zm2.194 7.478c-2.153 0-3.589-1.107-3.705-2.81h1.23c.144 1.06 1.129 1.703 2.544 1.703 1.34 0 2.31-.705 2.31-1.675 0-.827-.547-1.374-1.914-1.675L8.046 8.5H1v-1h14v1h-3.504c.468.437.675.994.675 1.697 0 1.826-1.436 2.967-3.644 2.967" }));
|
|
89
91
|
case "TextAlingCenter":
|
|
90
|
-
return (React.createElement("path", {
|
|
92
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M4 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5m2-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m-2-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5" }));
|
|
91
93
|
case "TextAlingLeft":
|
|
92
|
-
return (React.createElement("path", {
|
|
94
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5m0-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5" }));
|
|
93
95
|
case "TextAlingRight":
|
|
94
|
-
return (React.createElement("path", {
|
|
96
|
+
return (React.createElement("path", { fillRule: "evenodd", d: "M6 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m-4-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5m4-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m-4-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5" }));
|
|
95
97
|
case "TickCircle":
|
|
96
98
|
return (React.createElement(React.Fragment, null,
|
|
97
99
|
React.createElement("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z", stroke: this._stroke, strokeWidth: this._strokeWidth, strokeLinecap: "round", strokeLinejoin: "round" }),
|
package/dist/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import TextEditor from "./components/form/text-editor";
|
|
|
13
13
|
import Upload from "./components/form/upload";
|
|
14
14
|
import Card from "./components/data-display/card";
|
|
15
15
|
import Chip from "./components/data-display/chip";
|
|
16
|
+
import Diagram from "./components/data-display/diagram/index";
|
|
16
17
|
import Divider from "./components/data-display/divider";
|
|
17
18
|
import DnD from "./components/data-display/dnd";
|
|
18
19
|
import Paper from "./components/data-display/paper";
|
|
@@ -31,4 +32,4 @@ import Menu from "./components/navigation/menu";
|
|
|
31
32
|
import Steps from "./components/navigation/steps";
|
|
32
33
|
import Grid from "./components/data-display/grid-system";
|
|
33
34
|
import Layout from "./components/layout";
|
|
34
|
-
export { Button, ButtonAction, ButtonGroup, Checkbox, DatePicker, Input, InputTag, Radio, Select, Switch, TextEditor, Upload, Card, Chip, Divider, DnD, Paper, SyntaxHighlighter, Table, Tabs, Typography, Alert, Drawer, Modal, Popover, Progress, Tooltip, Breadcrumb, Menu, Steps, Grid, Layout, };
|
|
35
|
+
export { Button, ButtonAction, ButtonGroup, Checkbox, DatePicker, Input, InputTag, Radio, Select, Switch, TextEditor, Upload, Card, Chip, Diagram, Divider, DnD, Paper, SyntaxHighlighter, Table, Tabs, Typography, Alert, Drawer, Modal, Popover, Progress, Tooltip, Breadcrumb, Menu, Steps, Grid, Layout, };
|
package/dist/index.js
CHANGED
|
@@ -15,6 +15,7 @@ import Upload from "./components/form/upload";
|
|
|
15
15
|
// Data Display
|
|
16
16
|
import Card from "./components/data-display/card";
|
|
17
17
|
import Chip from "./components/data-display/chip";
|
|
18
|
+
import Diagram from "./components/data-display/diagram/index";
|
|
18
19
|
import Divider from "./components/data-display/divider";
|
|
19
20
|
import DnD from "./components/data-display/dnd";
|
|
20
21
|
import Paper from "./components/data-display/paper";
|
|
@@ -40,7 +41,7 @@ export {
|
|
|
40
41
|
// Form Elements
|
|
41
42
|
Button, ButtonAction, ButtonGroup, Checkbox, DatePicker, Input, InputTag, Radio, Select, Switch, TextEditor, Upload,
|
|
42
43
|
// Data Display
|
|
43
|
-
Card, Chip, Divider, DnD, Paper, SyntaxHighlighter, Table, Tabs, Typography,
|
|
44
|
+
Card, Chip, Diagram, Divider, DnD, Paper, SyntaxHighlighter, Table, Tabs, Typography,
|
|
44
45
|
// Feedback
|
|
45
46
|
Alert, Drawer, Modal, Popover, Progress, Tooltip,
|
|
46
47
|
// Navigation
|
|
@@ -10,7 +10,7 @@ declare class Api {
|
|
|
10
10
|
});
|
|
11
11
|
Get(values: {
|
|
12
12
|
input?: RequestInfo | undefined;
|
|
13
|
-
|
|
13
|
+
init?: RequestInit;
|
|
14
14
|
}): Promise<{
|
|
15
15
|
p_response: Promise<Response>;
|
|
16
16
|
response: Response;
|
|
@@ -18,8 +18,7 @@ declare class Api {
|
|
|
18
18
|
Post(values: {
|
|
19
19
|
input?: RequestInfo;
|
|
20
20
|
data?: any;
|
|
21
|
-
|
|
22
|
-
init?: Omit<RequestInit | undefined, "body">;
|
|
21
|
+
init?: Omit<RequestInit, "body">;
|
|
23
22
|
}): Promise<{
|
|
24
23
|
p_response: Promise<Response>;
|
|
25
24
|
response: Response;
|
|
@@ -27,18 +26,16 @@ declare class Api {
|
|
|
27
26
|
PostWithFormData(values: {
|
|
28
27
|
input?: RequestInfo;
|
|
29
28
|
data?: FormData;
|
|
30
|
-
|
|
31
|
-
init?: Omit<RequestInit | undefined, "body">;
|
|
29
|
+
init?: Omit<RequestInit, "body">;
|
|
32
30
|
}): Promise<Response>;
|
|
33
31
|
Put(values: {
|
|
34
32
|
input?: RequestInfo;
|
|
35
33
|
data?: any;
|
|
36
|
-
|
|
37
|
-
init?: Omit<RequestInit | undefined, "body">;
|
|
34
|
+
init?: Omit<RequestInit, "body">;
|
|
38
35
|
}): Promise<Response>;
|
|
39
36
|
Delete(values: {
|
|
40
37
|
input?: RequestInfo;
|
|
41
|
-
|
|
38
|
+
init?: RequestInit;
|
|
42
39
|
}): Promise<Response>;
|
|
43
40
|
private HeaderProperties;
|
|
44
41
|
private Cookies;
|
|
@@ -16,9 +16,10 @@ class Api {
|
|
|
16
16
|
}
|
|
17
17
|
const p_response = this.CustomFetch(`${this._url}${values.input}`, {
|
|
18
18
|
method: "GET",
|
|
19
|
+
...values.init,
|
|
19
20
|
headers: {
|
|
20
21
|
...this.HeaderProperties(),
|
|
21
|
-
...values.headers,
|
|
22
|
+
...values.init?.headers,
|
|
22
23
|
},
|
|
23
24
|
});
|
|
24
25
|
const clone = (await p_response).clone();
|
|
@@ -31,9 +32,12 @@ class Api {
|
|
|
31
32
|
}
|
|
32
33
|
const p_response = this.CustomFetch(`${this._url}${values.input}`, {
|
|
33
34
|
method: "POST",
|
|
34
|
-
headers: { ...this.HeaderProperties(), ...values.headers },
|
|
35
35
|
body: JSON.stringify(values.data),
|
|
36
36
|
...values.init,
|
|
37
|
+
headers: {
|
|
38
|
+
...this.HeaderProperties(),
|
|
39
|
+
...values.init?.headers,
|
|
40
|
+
},
|
|
37
41
|
});
|
|
38
42
|
const clone = (await p_response).clone();
|
|
39
43
|
const response = await clone;
|
|
@@ -45,9 +49,12 @@ class Api {
|
|
|
45
49
|
}
|
|
46
50
|
const response = await this.CustomFetch(`${this._url}${values.input}`, {
|
|
47
51
|
method: "POST",
|
|
48
|
-
headers: { ...this.HeaderProperties(), ...values.headers },
|
|
49
52
|
body: values.data,
|
|
50
53
|
...values.init,
|
|
54
|
+
headers: {
|
|
55
|
+
...this.HeaderProperties(),
|
|
56
|
+
...values.init?.headers,
|
|
57
|
+
},
|
|
51
58
|
});
|
|
52
59
|
return response;
|
|
53
60
|
}
|
|
@@ -57,12 +64,12 @@ class Api {
|
|
|
57
64
|
}
|
|
58
65
|
const response = await this.CustomFetch(`${this._url}${values.input}`, {
|
|
59
66
|
method: "PUT",
|
|
67
|
+
body: JSON.stringify(values.data),
|
|
68
|
+
...values.init,
|
|
60
69
|
headers: {
|
|
61
70
|
...this.HeaderProperties(),
|
|
62
|
-
...values.headers,
|
|
71
|
+
...values.init?.headers,
|
|
63
72
|
},
|
|
64
|
-
body: JSON.stringify(values.data),
|
|
65
|
-
...values.init,
|
|
66
73
|
});
|
|
67
74
|
return response;
|
|
68
75
|
}
|
|
@@ -72,9 +79,10 @@ class Api {
|
|
|
72
79
|
}
|
|
73
80
|
const response = await this.CustomFetch(`${this._url}${values.input}`, {
|
|
74
81
|
method: "DELETE",
|
|
82
|
+
...values.init,
|
|
75
83
|
headers: {
|
|
76
84
|
...this.HeaderProperties(),
|
|
77
|
-
...values.headers,
|
|
85
|
+
...values.init?.headers,
|
|
78
86
|
},
|
|
79
87
|
});
|
|
80
88
|
return response;
|
|
@@ -16,29 +16,26 @@ declare class Service {
|
|
|
16
16
|
});
|
|
17
17
|
Get<TResponse>(values?: {
|
|
18
18
|
input?: string;
|
|
19
|
-
|
|
19
|
+
init?: RequestInit;
|
|
20
20
|
}): Promise<Result<TResponse>>;
|
|
21
21
|
Post<TResponse, TData>(values?: {
|
|
22
22
|
input?: RequestInfo;
|
|
23
23
|
data?: TData;
|
|
24
|
-
|
|
25
|
-
init?: RequestInit | undefined;
|
|
24
|
+
init?: RequestInit;
|
|
26
25
|
}): Promise<Result<TResponse>>;
|
|
27
26
|
PostWithFormData<TResponse>(values?: {
|
|
28
27
|
input?: RequestInfo;
|
|
29
28
|
data?: FormData;
|
|
30
|
-
|
|
31
|
-
init?: Omit<RequestInit | undefined, "body">;
|
|
29
|
+
init?: Omit<RequestInit, "body">;
|
|
32
30
|
}): Promise<Result<TResponse>>;
|
|
33
31
|
Put<TResponse, TData>(values?: {
|
|
34
32
|
input?: RequestInfo;
|
|
35
33
|
data?: TData;
|
|
36
|
-
|
|
37
|
-
init?: Omit<RequestInit | undefined, "body">;
|
|
34
|
+
init?: Omit<RequestInit, "body">;
|
|
38
35
|
}): Promise<Result<TResponse>>;
|
|
39
36
|
Delete<TResponse>(values?: {
|
|
40
37
|
input?: RequestInfo;
|
|
41
|
-
|
|
38
|
+
init?: RequestInit;
|
|
42
39
|
}): Promise<Result<TResponse>>;
|
|
43
40
|
private Response;
|
|
44
41
|
}
|
|
@@ -13,7 +13,6 @@ class Service {
|
|
|
13
13
|
endPoint += `/${values.input}`;
|
|
14
14
|
const { p_response, response } = await this._api.Get({
|
|
15
15
|
input: endPoint,
|
|
16
|
-
headers: values?.headers,
|
|
17
16
|
});
|
|
18
17
|
return await this.Response(p_response, response);
|
|
19
18
|
}
|
|
@@ -29,7 +28,6 @@ class Service {
|
|
|
29
28
|
const { p_response, response } = await this._api.Post({
|
|
30
29
|
input: endPoint,
|
|
31
30
|
data: values?.data,
|
|
32
|
-
headers: values?.headers,
|
|
33
31
|
init: values?.init,
|
|
34
32
|
});
|
|
35
33
|
return await this.Response(p_response, response);
|
|
@@ -46,7 +44,6 @@ class Service {
|
|
|
46
44
|
const response = await this._api.PostWithFormData({
|
|
47
45
|
input: endPoint,
|
|
48
46
|
data: values?.data,
|
|
49
|
-
headers: values?.headers,
|
|
50
47
|
init: values?.init,
|
|
51
48
|
});
|
|
52
49
|
return await this.Response(null, response);
|
|
@@ -63,7 +60,6 @@ class Service {
|
|
|
63
60
|
const response = await this._api.Put({
|
|
64
61
|
input: endPoint,
|
|
65
62
|
data: values?.data,
|
|
66
|
-
headers: values?.headers,
|
|
67
63
|
init: values?.init,
|
|
68
64
|
});
|
|
69
65
|
return await this.Response(null, response);
|
|
@@ -79,7 +75,7 @@ class Service {
|
|
|
79
75
|
endPoint += `/${values.input}`;
|
|
80
76
|
const response = await this._api.Delete({
|
|
81
77
|
input: endPoint,
|
|
82
|
-
|
|
78
|
+
init: values?.init,
|
|
83
79
|
});
|
|
84
80
|
return await this.Response(null, response);
|
|
85
81
|
}
|
|
@@ -3,10 +3,10 @@ export type Variants = "filled" | "surface" | "outlined" | "dashed" | "borderles
|
|
|
3
3
|
export type Status = "primary" | "primary-light" | "secondary" | "success" | "danger" | "warning" | "information" | "dark" | "light";
|
|
4
4
|
export type Color = "blue" | "purple" | "pink" | "red" | "orange" | "yellow" | "green" | "teal" | "cyan" | "gray" | "light";
|
|
5
5
|
export type ParagraphColors = "gray-100" | "gray-200" | "gray-300" | "gray-400" | "gray-500" | "gray-600" | "gray-700" | "gray-800" | "gray-900";
|
|
6
|
+
export type BorderRadiuses = "sm" | "lg" | "xl" | "xxl" | "pill" | "none";
|
|
6
7
|
export type Border = {
|
|
7
8
|
radius: BorderRadiuses;
|
|
8
9
|
};
|
|
9
|
-
export type BorderRadiuses = "sm" | "lg" | "xl" | "xxl" | "pill" | "none";
|
|
10
10
|
export type Icon = {
|
|
11
11
|
element: React.JSX.Element;
|
|
12
12
|
position?: "start" | "end";
|
|
@@ -71,7 +71,7 @@ export type Errors<TData> = Partial<{
|
|
|
71
71
|
export type MimeTypes = "image/jpeg" | "image/png" | "image/gif" | "image/webp" | "image/svg+xml" | "image/bmp" | "image/tiff" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/zip" | "application/x-rar-compressed" | "application/x-7z-compressed" | "application/gzip" | "application/json" | "application/xml" | "text/plain" | "text/csv" | "text/html" | "video/mp4" | "video/quicktime" | "video/x-msvideo" | "video/x-matroska" | "video/webm" | "video/x-flv" | "audio/mpeg" | "audio/wav" | "audio/ogg" | "audio/aac" | "audio/flac" | "application/octet-stream";
|
|
72
72
|
export type FileCategory = "image" | "document" | "spreadsheet" | "presentation" | "archive" | "text" | "video" | "audio" | "json" | "xml" | "binary" | "other";
|
|
73
73
|
export type IconVariants = "linear" | "fill";
|
|
74
|
-
export type Icons = "Add" | "ArrowLeft" | "ArrowRight" | "Bold" | "BulletList" | "CameraReels" | "CheckAll" | "CloseCircle" | "CloseSquare" | "CloudUpload" | "Document" | "Download" | "ExclamationCircle" | "ExclamationDiamond" | "Eye" | "File" | "FileEarmark" | "FileTypeCsv" | "FileTypeDoc" | "FileTypeDocx" | "FileTypeHtml" | "FileTypeJson" | "FileTypePdf" | "FileTypePptx" | "FileTypeTxt" | "FileTypeXls" | "FileTypeXlsx" | "FileTypeXml" | "FileTypeZip" | "Filter" | "Folder" | "GripVertical" | "Import" | "Italic" | "NumberList" | "Strikethrough" | "TextAlingCenter" | "TextAlingLeft" | "TextAlingRight" | "TickCircle" | "Trash" | "Underline" | "Upload" | "Warning" | "XCircle";
|
|
74
|
+
export type Icons = "Add" | "ArrowLeft" | "ArrowRight" | "Bold" | "BulletList" | "CameraReels" | "CheckAll" | "CloseCircle" | "CloseSquare" | "CloudUpload" | "Dash" | "Document" | "Download" | "ExclamationCircle" | "ExclamationDiamond" | "Eye" | "File" | "FileEarmark" | "FileTypeCsv" | "FileTypeDoc" | "FileTypeDocx" | "FileTypeHtml" | "FileTypeJson" | "FileTypePdf" | "FileTypePptx" | "FileTypeTxt" | "FileTypeXls" | "FileTypeXlsx" | "FileTypeXml" | "FileTypeZip" | "Filter" | "Folder" | "GripVertical" | "Import" | "Italic" | "NumberList" | "Strikethrough" | "TextAlingCenter" | "TextAlingLeft" | "TextAlingRight" | "TickCircle" | "Trash" | "Underline" | "Upload" | "Warning" | "XCircle";
|
|
75
75
|
export type PieChartDataType = {
|
|
76
76
|
value: number;
|
|
77
77
|
text: string;
|