andoncloud-sdk 1.4.10 → 1.4.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "andoncloud-sdk",
3
- "version": "1.4.10",
3
+ "version": "1.4.12",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "source": "src/index.js",
@@ -77,8 +77,6 @@
77
77
  "react-router-dom": "^6.0.0"
78
78
  },
79
79
  "files": [
80
- "dist",
81
- "src/index.d.ts",
82
- "src/assets"
80
+ "dist"
83
81
  ]
84
82
  }
@@ -1,4 +0,0 @@
1
- <svg width="81" height="32" viewBox="0 0 81 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M41.551 9.09939C41.7454 9.09939 41.9318 9.17661 42.0693 9.31406C42.2068 9.4515 42.284 9.63793 42.284 9.83231V17.1615C42.284 17.3559 42.2068 17.5423 42.0693 17.6797C41.9318 17.8172 41.7454 17.8944 41.551 17.8944H28.8326C28.6382 17.8944 28.4518 17.8172 28.3143 17.6797C28.1768 17.5423 28.0996 17.3559 28.0996 17.1615V9.83231C28.0996 9.63793 28.1768 9.4515 28.3143 9.31406C28.4518 9.17661 28.6382 9.09939 28.8326 9.09939H41.551ZM41.551 8.00001H28.8326C28.5917 7.99905 28.353 8.04578 28.1302 8.13752C27.9074 8.22925 27.705 8.36418 27.5346 8.53452C27.3642 8.70486 27.2293 8.90723 27.1375 9.12997C27.0458 9.35272 26.999 9.59142 27 9.83231V17.1615C26.999 17.4024 27.0458 17.6411 27.1375 17.8638C27.2293 18.0865 27.3642 18.2889 27.5346 18.4593C27.705 18.6296 27.9074 18.7645 28.1302 18.8563C28.353 18.948 28.5917 18.9947 28.8326 18.9938H41.551C42.037 18.9938 42.5031 18.8007 42.8468 18.4571C43.1905 18.1135 43.3836 17.6474 43.3836 17.1615V9.83231C43.3836 9.34635 43.1905 8.8803 42.8468 8.53668C42.5031 8.19306 42.037 8.00001 41.551 8.00001ZM31.3088 21.1925H39.0717C39.2175 21.1925 39.3574 21.1346 39.4605 21.0315C39.5636 20.9284 39.6215 20.7886 39.6215 20.6428C39.6215 20.497 39.5636 20.3572 39.4605 20.2541C39.3574 20.151 39.2175 20.0931 39.0717 20.0931H31.3088C31.163 20.0931 31.0231 20.151 30.92 20.2541C30.8169 20.3572 30.759 20.497 30.759 20.6428C30.759 20.7886 30.8169 20.9284 30.92 21.0315C31.0231 21.1346 31.163 21.1925 31.3088 21.1925Z" fill="white" fill-opacity="0.75"/>
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M22.1674 9.09939C22.3618 9.09939 22.5483 9.17661 22.6857 9.31406C22.8232 9.4515 22.9004 9.63793 22.9004 9.83231V17.1615C22.9004 17.3559 22.8232 17.5423 22.6857 17.6797C22.5483 17.8172 22.3618 17.8944 22.1674 17.8944H9.44905C9.25464 17.8944 9.06818 17.8172 8.93071 17.6797C8.79324 17.5423 8.71601 17.3559 8.71601 17.1615V9.83231C8.71601 9.63793 8.79324 9.4515 8.93071 9.31406C9.06818 9.17661 9.25464 9.09939 9.44905 9.09939H22.1674ZM22.1674 8.00001H9.44905C9.20812 7.99905 8.96938 8.04578 8.7466 8.13752C8.52382 8.22925 8.3214 8.36418 8.15104 8.53452C7.98067 8.70486 7.84572 8.90723 7.75396 9.12997C7.66221 9.35272 7.61547 9.59142 7.61644 9.83231V17.1615C7.61547 17.4024 7.66221 17.6411 7.75396 17.8638C7.84572 18.0865 7.98067 18.2889 8.15104 18.4593C8.3214 18.6296 8.52382 18.7645 8.7466 18.8563C8.96938 18.948 9.20812 18.9947 9.44905 18.9938H22.1674C22.6534 18.9938 23.1196 18.8007 23.4632 18.4571C23.8069 18.1135 24 17.6474 24 17.1615V9.83231C24 9.34635 23.8069 8.8803 23.4632 8.53668C23.1196 8.19306 22.6534 8.00001 22.1674 8.00001ZM10.5387 20.5403C10.5566 20.5075 10.5762 20.4757 10.5973 20.445H8.59613C8.32422 20.8445 7.95933 21.1719 7.53284 21.3991C7.10635 21.6264 6.63103 21.7467 6.14776 21.7496C5.34288 21.7496 4.57096 21.4299 4.00183 20.8609C3.43269 20.2918 3.11295 19.5201 3.11295 18.7153C3.11295 17.9106 3.43269 17.1388 4.00183 16.5698C4.57096 16.0007 5.34288 15.681 6.14776 15.681V12.5808C5.92075 12.5662 5.69304 12.5662 5.46603 12.5808C5.38113 12.5883 5.30241 12.6283 5.24638 12.6925C5.19036 12.7567 5.16136 12.8401 5.16548 12.9253C5.1849 13.2102 5.11386 13.4939 4.96248 13.7361C4.81111 13.9783 4.58713 14.1664 4.32248 14.2738C4.06271 14.3646 3.78264 14.3804 3.5143 14.3195C3.24596 14.2586 3.00018 14.1234 2.80507 13.9294C2.75039 13.8625 2.67257 13.8186 2.58703 13.8063C2.50149 13.7941 2.41448 13.8145 2.34326 13.8634C1.97616 14.1617 1.64196 14.4983 1.34632 14.8675C1.28756 14.93 1.25485 15.0126 1.25485 15.0984C1.25485 15.1842 1.28756 15.2667 1.34632 15.3292C1.55558 15.5173 1.70116 15.7657 1.76289 16.0402C1.82462 16.3147 1.79945 16.6015 1.69085 16.861C1.57688 17.109 1.39394 17.319 1.16387 17.4658C0.933797 17.6127 0.666315 17.6902 0.393357 17.6892C0.307001 17.6831 0.221711 17.7112 0.155886 17.7674C0.09006 17.8237 0.0489754 17.9035 0.0414951 17.9897C-0.0138317 18.4523 -0.0138317 18.9197 0.0414951 19.3823C0.0658625 19.47 0.118692 19.5471 0.191675 19.6015C0.264658 19.6559 0.353655 19.6845 0.44467 19.6828C0.714501 19.6791 0.97917 19.7568 1.20411 19.9059C1.42904 20.055 1.60378 20.2684 1.70551 20.5183C1.81163 20.7752 1.8362 21.0586 1.77589 21.33C1.71557 21.6013 1.57329 21.8476 1.36831 22.0354C1.30273 22.0921 1.26213 22.1724 1.25527 22.2588C1.24841 22.3452 1.27585 22.4308 1.33165 22.4972C1.61443 22.8593 1.93924 23.1865 2.29927 23.4719C2.36682 23.5282 2.45367 23.5558 2.5413 23.549C2.62893 23.5421 2.71043 23.5013 2.76842 23.4353C2.96114 23.2353 3.20824 23.096 3.47921 23.0348C3.75017 22.9736 4.03313 22.9931 4.29316 23.0908C4.55265 23.2004 4.77208 23.3872 4.9216 23.6259C5.07113 23.8646 5.14348 24.1435 5.12883 24.4247C5.12264 24.5119 5.15051 24.598 5.20657 24.665C5.26263 24.732 5.34251 24.7746 5.42938 24.7839C5.54319 24.7839 5.65701 24.7925 5.77418 24.8014L5.77423 24.8014C5.89852 24.8108 6.02659 24.8205 6.16242 24.8205C6.42632 24.8205 6.60958 24.8205 6.83682 24.7839C6.92233 24.7731 7.0009 24.7313 7.05765 24.6665C7.1144 24.6016 7.14538 24.5182 7.1447 24.4321C7.13405 24.1553 7.20843 23.8819 7.35783 23.6487C7.50723 23.4155 7.72449 23.2336 7.98037 23.1275C8.23942 23.0313 8.52089 23.0126 8.79037 23.0738C9.05986 23.135 9.30567 23.2733 9.49778 23.4719C9.55765 23.5349 9.6387 23.5735 9.72532 23.5802C9.81194 23.587 9.898 23.5615 9.96692 23.5086C10.3321 23.2216 10.6641 22.8946 10.9565 22.5338C11.011 22.4655 11.0376 22.3791 11.0308 22.292C11.024 22.205 10.9843 22.1237 10.9199 22.0647C10.7059 21.8817 10.5542 21.6365 10.4859 21.3633C10.4176 21.0902 10.436 20.8025 10.5387 20.5403ZM11.9252 21.1925H19.6882C19.834 21.1925 19.9738 21.1346 20.0769 21.0315C20.18 20.9284 20.2379 20.7886 20.2379 20.6428C20.2379 20.497 20.18 20.3572 20.0769 20.2541C19.9738 20.151 19.834 20.0931 19.6882 20.0931H11.9252C11.7794 20.0931 11.6396 20.151 11.5365 20.2541C11.4333 20.3572 11.3754 20.497 11.3754 20.6428C11.3754 20.7886 11.4333 20.9284 11.5365 21.0315C11.6396 21.1346 11.7794 21.1925 11.9252 21.1925Z" fill="white" fill-opacity="0.75"/>
4
- </svg>
@@ -1,52 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background: none; display: block; shape-rendering: auto;" width="200px" height="200px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
3
- <g transform="rotate(0 50 50)">
4
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
5
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.9166666666666666s" repeatCount="indefinite"></animate>
6
- </rect>
7
- </g><g transform="rotate(30 50 50)">
8
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
9
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.8333333333333334s" repeatCount="indefinite"></animate>
10
- </rect>
11
- </g><g transform="rotate(60 50 50)">
12
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
13
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.75s" repeatCount="indefinite"></animate>
14
- </rect>
15
- </g><g transform="rotate(90 50 50)">
16
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
17
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.6666666666666666s" repeatCount="indefinite"></animate>
18
- </rect>
19
- </g><g transform="rotate(120 50 50)">
20
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
21
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.5833333333333334s" repeatCount="indefinite"></animate>
22
- </rect>
23
- </g><g transform="rotate(150 50 50)">
24
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
25
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.5s" repeatCount="indefinite"></animate>
26
- </rect>
27
- </g><g transform="rotate(180 50 50)">
28
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
29
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.4166666666666667s" repeatCount="indefinite"></animate>
30
- </rect>
31
- </g><g transform="rotate(210 50 50)">
32
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
33
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.3333333333333333s" repeatCount="indefinite"></animate>
34
- </rect>
35
- </g><g transform="rotate(240 50 50)">
36
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
37
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.25s" repeatCount="indefinite"></animate>
38
- </rect>
39
- </g><g transform="rotate(270 50 50)">
40
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
41
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.16666666666666666s" repeatCount="indefinite"></animate>
42
- </rect>
43
- </g><g transform="rotate(300 50 50)">
44
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
45
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="-0.08333333333333333s" repeatCount="indefinite"></animate>
46
- </rect>
47
- </g><g transform="rotate(330 50 50)">
48
- <rect x="47" y="24" rx="3" ry="6" width="6" height="12" fill="#969696">
49
- <animate attributeName="opacity" values="1;0" keyTimes="0;1" dur="1s" begin="0s" repeatCount="indefinite"></animate>
50
- </rect>
51
- </g>
52
- <!-- [ldio] generated by https://loading.io/ --></svg>
@@ -1,16 +0,0 @@
1
- <svg width="148" height="50" viewBox="0 0 148 50" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g opacity="0.25">
3
- <path d="M106.56 8C106.114 8.80635 105.803 9.6575 105.536 10.5534C105.18 10.5982 104.868 10.643 104.556 10.6878C104.245 10.7774 103.889 10.867 103.577 10.9566C103.043 10.2399 102.464 9.56791 101.796 8.94074C101.351 9.16473 100.906 9.38872 100.461 9.7023C100.594 10.5982 100.817 11.4942 101.129 12.3901C100.862 12.6141 100.639 12.8381 100.416 13.1069C100.194 13.3757 99.9713 13.5997 99.7932 13.9133C98.9474 13.6445 98.0571 13.4205 97.1668 13.3309C96.8997 13.7789 96.7216 14.2716 96.5436 14.7196C97.1668 15.3916 97.879 15.9739 98.6358 16.4667C98.4577 17.1387 98.3687 17.8106 98.4132 18.4826C97.5674 18.7514 96.7216 19.1097 95.9648 19.5577C96.0094 20.0505 96.0984 20.5881 96.2765 21.0808C97.1668 21.26 98.1016 21.3048 98.9919 21.26C99.1255 21.5736 99.259 21.8872 99.4371 22.156C99.6152 22.4695 99.7932 22.7383 99.9713 23.0071C99.4371 23.7239 98.9919 24.5302 98.5913 25.3366C98.9474 25.695 99.3035 26.0533 99.7042 26.3669C100.505 25.9637 101.307 25.471 102.019 24.8886C102.286 25.0678 102.598 25.247 102.909 25.3814C103.221 25.5158 103.533 25.6502 103.844 25.7397C103.844 26.6357 103.933 27.5316 104.111 28.4276C104.601 28.5172 105.135 28.6068 105.625 28.6068C106.07 27.8004 106.382 26.9493 106.649 26.0533C107.005 26.0085 107.316 25.9637 107.628 25.9189C107.94 25.8293 108.296 25.7398 108.607 25.6502C109.142 26.3669 109.72 27.0389 110.388 27.666C110.833 27.4421 111.278 27.2181 111.723 26.9045C111.59 26.0085 111.367 25.1126 111.056 24.2166C111.323 23.9927 111.545 23.7687 111.768 23.4999C111.991 23.2311 112.213 23.0071 112.391 22.6935C113.237 22.9623 114.127 23.1863 115.018 23.2759C115.285 22.8279 115.463 22.3352 115.641 21.8872C115.018 21.2152 114.305 20.6329 113.549 20.1401C113.727 19.4681 113.816 18.7962 113.771 18.1242C114.617 17.8554 115.463 17.497 116.22 17.0491C116.175 16.5563 116.086 16.0187 115.908 15.526C115.018 15.3468 114.083 15.302 113.193 15.3468C113.059 15.0332 112.925 14.7196 112.747 14.4508C112.569 14.1372 112.391 13.8685 112.213 13.5997C112.747 12.8829 113.193 12.0766 113.593 11.2702C113.237 10.9118 112.881 10.5534 112.48 10.2399C111.679 10.643 110.878 11.1358 110.165 11.7182C109.898 11.539 109.587 11.3598 109.275 11.2254C108.963 11.091 108.652 10.9566 108.34 10.867C108.34 9.97108 108.251 9.07514 108.073 8.17919C107.539 8.0896 107.049 8 106.56 8ZM108.029 13.9133C110.433 15.0332 111.456 17.8554 110.388 20.2297C109.765 21.6184 108.518 22.6039 107.049 22.9175C106.07 23.0967 105.046 23.0071 104.156 22.6039C101.752 21.484 100.728 18.6618 101.796 16.2875C102.42 14.8988 103.666 13.9133 105.135 13.5997C106.114 13.3757 107.138 13.5101 108.029 13.9133Z" fill="white"/>
4
- <path d="M63.7393 23.4994L63.0271 27.9792H60L63.2942 8.49231H67.3006L70.5503 27.9792H67.4787L66.8109 23.4994H63.7393ZM65.2529 12.9272L64.1845 20.6324H66.3658L65.2529 12.9272Z" fill="white"/>
5
- <path d="M76.2926 8.44861L80.1655 21.5294V8.44861H83.1036V27.9355H79.9875L75.981 15.437V27.9355H73.043V8.44861H76.2926Z" fill="white"/>
6
- <path d="M94.8578 23.2765C94.8578 24.5309 94.3681 25.6956 93.5223 26.5467C92.6765 27.4427 91.5191 27.9355 90.2726 27.9355H85.6875V8.44861H90.2726C91.5191 8.44861 92.6765 8.94138 93.5223 9.83733C94.4126 10.6885 94.8578 11.898 94.8578 13.1075V23.2765ZM88.581 25.0684H90.3172C90.7623 25.0684 91.2075 24.8892 91.4746 24.5757C91.7862 24.2621 91.9642 23.8141 91.9642 23.3661V13.1523C91.9642 12.7044 91.7862 12.2564 91.4746 11.9428C91.163 11.6292 90.7623 11.45 90.3172 11.45H88.581V25.0684Z" fill="white"/>
7
- <path d="M62.8935 41.9572C61.291 41.9572 60 40.6581 60 39.0902C60 39.0902 60 39.0902 60 39.0454V32.4154C60 30.8027 61.2464 29.5036 62.849 29.4588C64.4516 29.414 65.7426 30.7131 65.7871 32.3258C65.7871 32.3706 65.7871 32.3706 65.7871 32.4154V33.8041H63.9174V32.3706C63.9174 31.7882 63.4277 31.2955 62.849 31.2955C62.5819 31.2955 62.3148 31.3851 62.0922 31.609C61.9142 31.7882 61.7806 32.057 61.7806 32.3706V39.0454C61.7806 39.6278 62.2258 40.0757 62.8045 40.0757C63.0716 40.0757 63.3387 39.9861 63.5613 39.7622C63.7839 39.583 63.8729 39.3142 63.8729 39.0006V37.3431H65.7871V39.0454C65.7871 40.6581 64.4961 41.9572 62.8935 41.9572Z" fill="white"/>
8
- <path d="M80.703 41.8201H75.7617V29.6801H77.5869V40.0282H80.7475L80.703 41.8201Z" fill="white"/>
9
- <path d="M93.2998 29.546C94.9024 29.546 96.1933 30.8451 96.1933 32.4579V39.0879C96.1933 40.7006 94.9024 41.9997 93.2998 41.9997C92.543 41.9997 91.7862 41.6861 91.252 41.1485C90.7179 40.611 90.4062 39.8494 90.4062 39.0879V32.4579C90.4062 30.8451 91.6972 29.546 93.2998 29.546ZM94.2791 32.4131C94.2791 31.8307 93.834 31.3827 93.2553 31.3827C92.9882 31.3827 92.7211 31.4723 92.4985 31.6963C92.2759 31.8755 92.1869 32.1443 92.1869 32.4579V39.0879C92.1869 39.3566 92.2759 39.6254 92.4985 39.8046C92.6766 39.9838 92.9437 40.1182 93.2553 40.1182C93.834 40.1182 94.2791 39.6702 94.2791 39.0879V32.4131Z" fill="white"/>
10
- <path d="M109.097 41.9545C107.539 41.9545 106.248 40.7002 106.203 39.0875V29.6801H107.984V39.0875C107.984 39.3563 108.073 39.6251 108.295 39.8491C108.473 40.0282 108.741 40.1626 109.052 40.1626C109.631 40.1626 110.076 39.7147 110.076 39.1323V29.7249H111.99V39.1323C111.99 39.8939 111.679 40.6554 111.144 41.193C110.61 41.6857 109.898 41.9993 109.097 41.9545Z" fill="white"/>
11
- <path d="M127.796 38.9083C127.796 39.6699 127.484 40.4314 126.95 40.969C126.416 41.5066 125.703 41.8201 124.947 41.8201H122.098V29.6801H124.947C125.703 29.6801 126.46 29.9936 126.95 30.5312C127.484 31.0688 127.796 31.8303 127.796 32.5919V38.9083ZM123.923 40.0282H125.036C125.303 40.0282 125.57 39.9387 125.748 39.7147C125.926 39.5355 126.06 39.2667 126.06 38.9531V32.5919C126.06 32.3231 125.971 32.0543 125.748 31.8303C125.57 31.6511 125.303 31.5167 125.036 31.5167H123.923V40.0282Z" fill="white"/>
12
- <path d="M120.933 8.44861L124.806 21.5294V8.44861H127.744V27.9355H124.628L120.622 15.437V27.9355H117.684V8.44861H120.933Z" fill="white"/>
13
- </g>
14
- <path fill-rule="evenodd" clip-rule="evenodd" d="M38.3261 25.8133C38.2955 25.6809 38.2194 25.5633 38.111 25.4811C38.0027 25.3989 37.8689 25.3572 37.733 25.3633C37.321 25.3705 36.9166 25.2515 36.5741 25.0225C36.2316 24.7935 35.9673 24.4652 35.8168 24.0818C35.6662 23.6984 35.6365 23.2782 35.7316 22.8774C35.8268 22.4767 36.0423 22.1146 36.3492 21.8397C36.4372 21.7461 36.4862 21.6224 36.4862 21.494C36.4862 21.3655 36.4372 21.2418 36.3492 21.1482C35.9221 20.602 35.4318 20.1082 34.8885 19.6773C34.7948 19.5893 34.6711 19.5403 34.5425 19.5403C34.414 19.5403 34.2902 19.5893 34.1965 19.6773C33.9069 19.979 33.5347 20.1889 33.1265 20.2806C32.7183 20.3724 32.2921 20.342 31.9011 20.1932C31.5327 20.0267 31.2228 19.7536 31.0113 19.4092C30.7999 19.0648 30.6966 18.6649 30.715 18.2613C30.7215 18.1314 30.6788 18.0038 30.5953 17.9041C30.5118 17.8044 30.3937 17.7398 30.2647 17.7234C29.5749 17.6466 28.8787 17.6466 28.1889 17.7234C28.0617 17.7346 27.9437 17.7946 27.8598 17.8907C27.7759 17.9869 27.7324 18.1118 27.7386 18.2393C27.7544 18.6566 27.6418 19.0687 27.4159 19.4201C27.1901 19.7714 26.8619 20.0451 26.4755 20.2042C26.0853 20.3387 25.6651 20.3606 25.263 20.2675C24.8609 20.1743 24.4932 19.9697 24.2021 19.6773C24.1084 19.5893 23.9847 19.5403 23.8561 19.5403C23.7276 19.5403 23.6038 19.5893 23.5102 19.6773C22.9598 20.0907 22.4586 20.5658 22.0165 21.0933C21.9284 21.1869 21.8794 21.3106 21.8794 21.4391C21.8794 21.5676 21.9284 21.6912 22.0165 21.7848C22.33 22.0665 22.5481 22.4386 22.6406 22.8497C22.7331 23.2607 22.6954 23.6903 22.5327 24.079C22.3619 24.4504 22.0878 24.7649 21.7431 24.9848C21.3984 25.2047 20.9977 25.3209 20.5887 25.3194C20.5243 25.3134 20.4594 25.3203 20.3978 25.3399C20.3362 25.3594 20.2791 25.3911 20.2299 25.433C20.1808 25.475 20.1405 25.5264 20.1116 25.5842C20.0827 25.642 20.0656 25.705 20.0615 25.7694C19.9795 26.4585 19.9795 27.1549 20.0615 27.8441C20.0934 27.9776 20.1691 28.0967 20.2766 28.1823C20.3841 28.2678 20.5172 28.3149 20.6546 28.3161C21.0589 28.3105 21.4554 28.427 21.7924 28.6503C22.1294 28.8735 22.3912 29.1931 22.5437 29.5674C22.7027 29.9522 22.7395 30.3766 22.6491 30.783C22.5587 31.1895 22.3456 31.5583 22.0384 31.8396C21.9402 31.9246 21.8794 32.0447 21.8691 32.1741C21.8588 32.3036 21.8999 32.4318 21.9835 32.5312C22.4072 33.0735 22.8939 33.5636 23.4333 33.9911C23.5356 34.0727 23.6651 34.1125 23.7956 34.1023C23.9261 34.0921 24.0478 34.0327 24.1362 33.9362C24.4233 33.6342 24.7936 33.424 25.2002 33.3321C25.6068 33.2403 26.0315 33.271 26.4206 33.4203C26.8106 33.5807 27.1413 33.8577 27.3675 34.2135C27.5936 34.5692 27.7041 34.9861 27.6837 35.4071C27.6745 35.5364 27.7166 35.6641 27.8009 35.7627C27.8851 35.8613 28.0048 35.9228 28.134 35.934C28.4983 35.9797 28.8651 36.0017 29.2323 35.9999C29.5727 35.9999 29.9022 35.9999 30.2427 35.945C30.3698 35.9266 30.4862 35.8634 30.5708 35.7668C30.6554 35.6702 30.7027 35.5465 30.704 35.4181C30.688 35.0036 30.7995 34.5941 31.0233 34.2448C31.2471 33.8955 31.5726 33.6231 31.956 33.4642C32.3438 33.3173 32.7662 33.2878 33.1706 33.3796C33.575 33.4714 33.9433 33.6802 34.2295 33.9801C34.3192 34.0744 34.4406 34.1321 34.5704 34.1423C34.7002 34.1524 34.8291 34.1142 34.9324 34.035C35.4796 33.6052 35.9769 33.1155 36.4151 32.5751C36.4968 32.4728 36.5365 32.3434 36.5263 32.213C36.5161 32.0826 36.4568 31.9609 36.3602 31.8726C36.0489 31.5917 35.8322 31.2216 35.7398 30.8128C35.6474 30.404 35.6838 29.9767 35.844 29.5894C35.9935 29.2246 36.2449 28.9105 36.5682 28.6847C36.8915 28.4589 37.273 28.3309 37.6672 28.3161H37.788C37.9179 28.3226 38.0455 28.2799 38.1453 28.1965C38.2451 28.113 38.3097 27.995 38.3261 27.866C38.403 27.1729 38.403 26.4735 38.3261 25.7804V25.8133ZM29.2103 31.4006C28.3048 31.418 27.4147 31.1655 26.6534 30.6751C25.8922 30.1848 25.2943 29.479 24.9361 28.6476C24.578 27.8163 24.4757 26.8971 24.6424 26.0075C24.8091 25.1178 25.2372 24.2979 25.8721 23.6524C26.5071 23.007 27.32 22.5652 28.2072 22.3834C29.0943 22.2017 30.0156 22.2882 30.8534 22.6319C31.6912 22.9757 32.4075 23.5611 32.911 24.3134C33.4145 25.0658 33.6824 25.951 33.6803 26.8561C33.6862 28.0499 33.2196 29.1976 32.3822 30.0489C31.5449 30.9002 30.4047 31.3861 29.2103 31.4006Z" fill="white" fill-opacity="0.65"/>
15
- <path fill-rule="evenodd" clip-rule="evenodd" d="M41.9636 19.2964C41.94 19.2122 41.8898 19.1379 41.8206 19.0845C41.7513 19.0311 41.6666 19.0015 41.5792 19C41.3137 19.0043 41.0532 18.9276 40.8323 18.7802C40.6115 18.6328 40.4408 18.4217 40.3431 18.175C40.2453 17.9283 40.225 17.6576 40.2849 17.3991C40.3448 17.1405 40.4822 16.9063 40.6786 16.7277C40.735 16.6685 40.7664 16.5899 40.7664 16.5082C40.7664 16.4264 40.735 16.3478 40.6786 16.2886C40.4081 15.94 40.1026 15.62 39.7669 15.3336C39.7047 15.2788 39.6247 15.2486 39.5418 15.2486C39.4589 15.2486 39.3788 15.2788 39.3166 15.3336C39.1293 15.5282 38.8887 15.6633 38.6249 15.7219C38.3612 15.7805 38.086 15.7599 37.8338 15.6629C37.5894 15.5616 37.3812 15.3891 37.2363 15.1679C37.0913 14.9466 37.0163 14.6869 37.0211 14.4225C37.0289 14.3775 37.0272 14.3315 37.0162 14.2872C37.0052 14.2429 36.9852 14.2014 36.9573 14.1653C36.9294 14.1291 36.8943 14.0992 36.8542 14.0773C36.8142 14.0555 36.77 14.0422 36.7245 14.0383C36.2757 13.9872 35.8224 13.9872 35.3736 14.0383C35.2901 14.0466 35.2129 14.0865 35.1578 14.1497C35.1027 14.2129 35.0738 14.2948 35.077 14.3786C35.0941 14.6509 35.0261 14.9218 34.8824 15.1538C34.7388 15.3858 34.5266 15.5676 34.2752 15.6739C34.0243 15.7672 33.7517 15.7857 33.4905 15.7272C33.2293 15.6688 32.9906 15.5359 32.8035 15.3446C32.7442 15.2882 32.6656 15.2568 32.5838 15.2568C32.502 15.2568 32.4233 15.2882 32.3641 15.3446C32.0104 15.6253 31.6865 15.9417 31.3976 16.2886C31.3428 16.3508 31.3125 16.4308 31.3125 16.5137C31.3125 16.5965 31.3428 16.6765 31.3976 16.7387C31.5871 16.9083 31.7226 17.1298 31.787 17.3758C31.8515 17.6217 31.8421 17.8812 31.76 18.1218C31.76 18.1987 31.76 18.2755 31.76 18.3633C31.7471 18.5546 31.7941 18.7451 31.8945 18.9083C31.9948 19.0716 32.1437 19.1996 32.3202 19.2745C32.4742 19.3215 32.6367 19.334 32.7962 19.3112C32.9556 19.2885 33.1081 19.231 33.2428 19.1427C33.4417 18.4774 33.8748 17.9064 34.4621 17.5353C35.0494 17.1642 35.7512 17.018 36.4379 17.1237C37.1247 17.2294 37.7499 17.5798 38.1983 18.1103C38.6467 18.6409 38.8878 19.3156 38.8773 20.0099C38.8776 20.6034 38.697 21.183 38.3595 21.6713C38.022 22.1596 37.5436 22.5336 36.9881 22.7433C36.8659 22.873 36.7833 23.0349 36.7502 23.21C36.7172 23.3851 36.7349 23.5659 36.8014 23.7312C36.8751 23.9025 36.9979 24.048 37.1543 24.1496C37.3106 24.2512 37.4936 24.3042 37.6801 24.3021C37.9308 24.2074 38.2037 24.1881 38.4653 24.2467C38.7268 24.3052 38.9655 24.4389 39.1519 24.6314C39.2141 24.6862 39.2941 24.7164 39.377 24.7164C39.4599 24.7164 39.54 24.6862 39.6022 24.6314C39.9552 24.3536 40.2757 24.0369 40.5577 23.6873C40.6149 23.6263 40.6467 23.5459 40.6467 23.4623C40.6467 23.3787 40.6149 23.2983 40.5577 23.2373C40.3577 23.046 40.2241 22.7958 40.1767 22.5232C40.1293 22.2506 40.1704 21.9699 40.2941 21.7224C40.3962 21.4862 40.5648 21.2848 40.7792 21.1425C40.9937 21.0003 41.2449 20.9233 41.5023 20.9211H41.5792C41.6242 20.9288 41.6703 20.9272 41.7146 20.9162C41.7589 20.9052 41.8004 20.8852 41.8366 20.8573C41.8727 20.8294 41.9027 20.7944 41.9245 20.7543C41.9464 20.7143 41.9597 20.6701 41.9636 20.6247C42.0123 20.1833 42.0123 19.7378 41.9636 19.2964Z" fill="white" fill-opacity="0.35"/>
16
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="24" height="17" viewBox="0 0 24 17" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M22.1674 1.09939C22.3618 1.09939 22.5483 1.17661 22.6857 1.31406C22.8232 1.4515 22.9004 1.63793 22.9004 1.83231V9.16148C22.9004 9.35586 22.8232 9.54228 22.6857 9.67972C22.5483 9.81717 22.3618 9.89439 22.1674 9.89439H9.44905C9.25464 9.89439 9.06818 9.81717 8.93071 9.67972C8.79324 9.54228 8.71601 9.35586 8.71601 9.16148V1.83231C8.71601 1.63793 8.79324 1.4515 8.93071 1.31406C9.06818 1.17661 9.25464 1.09939 9.44905 1.09939H22.1674ZM22.1674 1.4778e-05H9.44905C9.20812 -0.000954616 8.96938 0.0457773 8.7466 0.137515C8.52382 0.229253 8.3214 0.364182 8.15104 0.534519C7.98067 0.704857 7.84572 0.907232 7.75396 1.12997C7.66221 1.35272 7.61547 1.59142 7.61644 1.83231V9.16148C7.61547 9.40237 7.66221 9.64107 7.75396 9.86381C7.84572 10.0865 7.98067 10.2889 8.15104 10.4593C8.3214 10.6296 8.52382 10.7645 8.7466 10.8563C8.96938 10.948 9.20812 10.9947 9.44905 10.9938H22.1674C22.6534 10.9938 23.1196 10.8007 23.4632 10.4571C23.8069 10.1135 24 9.64743 24 9.16148V1.83231C24 1.34635 23.8069 0.880302 23.4632 0.536681C23.1196 0.193059 22.6534 1.4778e-05 22.1674 1.4778e-05ZM10.5387 12.5403C10.5566 12.5075 10.5762 12.4757 10.5973 12.445H8.59613C8.32422 12.8445 7.95933 13.1719 7.53284 13.3991C7.10635 13.6264 6.63103 13.7467 6.14776 13.7496C5.34288 13.7496 4.57096 13.4299 4.00183 12.8609C3.43269 12.2918 3.11295 11.5201 3.11295 10.7153C3.11295 9.91057 3.43269 9.13879 4.00183 8.56975C4.57096 8.00072 5.34288 7.68103 6.14776 7.68103V4.5808C5.92075 4.56621 5.69304 4.56621 5.46603 4.5808C5.38113 4.58827 5.30241 4.62831 5.24638 4.69253C5.19036 4.75674 5.16136 4.84015 5.16548 4.92527C5.1849 5.21017 5.11386 5.49393 4.96248 5.73609C4.81111 5.97825 4.58713 6.16644 4.32248 6.27383C4.06271 6.36458 3.78264 6.3804 3.5143 6.31948C3.24596 6.25856 3.00018 6.12337 2.80507 5.92936C2.75039 5.86247 2.67257 5.81856 2.58703 5.80634C2.50149 5.79413 2.41448 5.81449 2.34326 5.8634C1.97616 6.16169 1.64196 6.49829 1.34632 6.8675C1.28756 6.93001 1.25485 7.01258 1.25485 7.09837C1.25485 7.18415 1.28756 7.26672 1.34632 7.32923C1.55558 7.51728 1.70116 7.76574 1.76289 8.0402C1.82462 8.31466 1.79945 8.60152 1.69085 8.86103C1.57688 9.10902 1.39394 9.31897 1.16387 9.46583C0.933797 9.61269 0.666315 9.69024 0.393357 9.68923C0.307001 9.68313 0.221711 9.71122 0.155886 9.76744C0.09006 9.82366 0.0489754 9.90349 0.0414951 9.98972C-0.0138317 10.4523 -0.0138317 10.9197 0.0414951 11.3823C0.0658625 11.47 0.118692 11.5471 0.191675 11.6015C0.264658 11.6559 0.353655 11.6845 0.44467 11.6828C0.714501 11.6791 0.97917 11.7568 1.20411 11.9059C1.42904 12.055 1.60378 12.2684 1.70551 12.5183C1.81163 12.7752 1.8362 13.0586 1.77589 13.33C1.71557 13.6013 1.57329 13.8476 1.36831 14.0354C1.30273 14.0921 1.26213 14.1724 1.25527 14.2588C1.24841 14.3452 1.27585 14.4308 1.33165 14.4972C1.61443 14.8593 1.93924 15.1865 2.29927 15.4719C2.36682 15.5282 2.45367 15.5558 2.5413 15.549C2.62893 15.5421 2.71043 15.5013 2.76842 15.4353C2.96114 15.2353 3.20824 15.096 3.47921 15.0348C3.75017 14.9736 4.03313 14.9931 4.29316 15.0908C4.55265 15.2004 4.77208 15.3872 4.9216 15.6259C5.07113 15.8646 5.14348 16.1435 5.12883 16.4247C5.12264 16.5119 5.15051 16.598 5.20657 16.665C5.26263 16.732 5.34251 16.7746 5.42938 16.7839C5.54319 16.7839 5.65701 16.7925 5.77418 16.8014L5.77423 16.8014C5.89852 16.8108 6.02659 16.8205 6.16242 16.8205C6.42632 16.8205 6.60958 16.8205 6.83682 16.7839C6.92233 16.7731 7.0009 16.7313 7.05765 16.6665C7.1144 16.6016 7.14538 16.5182 7.1447 16.4321C7.13405 16.1553 7.20843 15.8819 7.35783 15.6487C7.50723 15.4155 7.72449 15.2336 7.98037 15.1275C8.23942 15.0313 8.52089 15.0126 8.79037 15.0738C9.05986 15.135 9.30567 15.2733 9.49778 15.4719C9.55765 15.5349 9.6387 15.5735 9.72532 15.5802C9.81194 15.587 9.898 15.5615 9.96692 15.5086C10.3321 15.2216 10.6641 14.8946 10.9565 14.5338C11.011 14.4655 11.0376 14.3791 11.0308 14.292C11.024 14.205 10.9843 14.1237 10.9199 14.0647C10.7059 13.8817 10.5542 13.6365 10.4859 13.3633C10.4176 13.0902 10.436 12.8025 10.5387 12.5403ZM11.9252 13.1925H19.6882C19.834 13.1925 19.9738 13.1346 20.0769 13.0315C20.18 12.9284 20.2379 12.7886 20.2379 12.6428C20.2379 12.497 20.18 12.3572 20.0769 12.2541C19.9738 12.151 19.834 12.0931 19.6882 12.0931H11.9252C11.7794 12.0931 11.6396 12.151 11.5365 12.2541C11.4333 12.3572 11.3754 12.497 11.3754 12.6428C11.3754 12.7886 11.4333 12.9284 11.5365 13.0315C11.6396 13.1346 11.7794 13.1925 11.9252 13.1925Z" fill="white" fill-opacity="0.75"/>
3
- </svg>
package/src/index.d.ts DELETED
@@ -1,112 +0,0 @@
1
- import toast from "react-hot-toast";
2
-
3
- declare module "andoncloud-sdk" {
4
- interface NavItem {
5
- label: string;
6
- url?: string;
7
- action?: () => void;
8
- icon?: React.ReactNode;
9
- }
10
-
11
- interface MenuItem {
12
- label: string;
13
- url?: string;
14
- action?: () => void;
15
- }
16
-
17
- interface AuthProps {
18
- enabled?: boolean;
19
- loginUrl?: string;
20
- redirectUri?: string;
21
- redirectPath?: string;
22
- clientId: string;
23
- grantType?: "authorization_code" | "password";
24
- }
25
-
26
- interface AppProps {
27
- children: React.ReactNode;
28
- baseUrl: string;
29
- authProps: AuthProps;
30
- muiTheme?: Record<string, unknown>;
31
- }
32
- export const App: React.FC<AppProps>;
33
-
34
- interface NavProps {
35
- items?: NavItem[];
36
- }
37
-
38
- interface UserProps {
39
- show?: boolean;
40
- showCompanyLogo?: boolean;
41
- }
42
-
43
- interface MenuProps {
44
- items?: MenuItem[];
45
- buttonColor?: string;
46
- dropdownStyles?: React.CSSProperties;
47
- styles?: React.CSSProperties;
48
- }
49
-
50
- interface HeaderProps {
51
- position?: "absolute" | "fixed" | "relative" | "static" | "sticky";
52
- showAcLogo?: boolean;
53
- leadingText?: string;
54
- title?: string;
55
- titleStyles?: React.CSSProperties;
56
- navProps?: NavProps;
57
- userProps?: UserProps;
58
- menuProps?: MenuProps;
59
- styles?: React.CSSProperties;
60
- }
61
-
62
- interface ContainerProps {
63
- children: React.ReactNode;
64
- headerProps: HeaderProps;
65
- styles?: React.CSSProperties;
66
- }
67
- export const Container: React.FC<ContainerProps>;
68
-
69
- interface UserData {
70
- id: number;
71
- companyId: number;
72
- roleId: number;
73
- username: string;
74
- email: string;
75
- name: string;
76
- }
77
-
78
- export interface Session {
79
- user: UserData;
80
- accessToken: string;
81
- }
82
-
83
- interface LoginProps {
84
- title?: string;
85
- subtitle?: string;
86
- redirectPath?: string;
87
- storeSession?: boolean;
88
- onSuccess?: (session: Session) => void;
89
- onFailure?: () => void;
90
- onCancel?: () => void;
91
- }
92
-
93
- export const useLogin: (scope: string, loginProps?: LoginProps) => () => void;
94
-
95
- interface LoginStatus {
96
- status: "connected" | "not_authorized" | "unknown";
97
- authResponse?: {
98
- user: UserData;
99
- accessToken: string;
100
- tokenType: string;
101
- expiresIn: string;
102
- };
103
- }
104
-
105
- export const useLoginStatus: () => LoginStatus;
106
-
107
- export const logout: () => void;
108
-
109
- export const setLocale: (lang: string) => void;
110
-
111
- export const notify: typeof toast;
112
- }