npm-prod-doworks02 0.0.1 → 0.0.4
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/dist/components/TableData/index.d.ts +3 -0
- package/dist/images/csv-tuhmbNail.svg +5 -0
- package/dist/images/img-thumbnail.svg +5 -0
- package/dist/images/pdf-file.svg +5 -0
- package/dist/images/unknown.svg +1 -0
- package/dist/images/xls-thumbnail.svg +5 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/types/dashboard.d.ts +4 -3
- package/package.json +1 -1
|
@@ -5,16 +5,19 @@ interface TableDataResponse {
|
|
|
5
5
|
data?: Record<string, {
|
|
6
6
|
work_id: string;
|
|
7
7
|
rows: RecordType[];
|
|
8
|
+
columns?: Record<string, string>;
|
|
8
9
|
}>;
|
|
9
10
|
}
|
|
10
11
|
interface ArrayTable {
|
|
11
12
|
name?: string;
|
|
12
13
|
work_id?: string;
|
|
13
14
|
data: RecordType[];
|
|
15
|
+
columns?: Record<string, string>;
|
|
14
16
|
}
|
|
15
17
|
type TablesData = TableDataResponse | ArrayTable[] | Record<string, {
|
|
16
18
|
work_id: string;
|
|
17
19
|
rows: RecordType[];
|
|
20
|
+
columns?: Record<string, string>;
|
|
18
21
|
}> | null;
|
|
19
22
|
interface TableDataProps {
|
|
20
23
|
tablesData: TablesData;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M6.65964 0H15.359L22.723 7.68295V22.6177C22.723 24.4859 21.2089 26 19.3407 26H6.65964C4.79148 26 3.27734 24.4858 3.27734 22.6177V3.3823C3.27734 1.51416 4.79148 0 6.65964 0Z" fill="#4EB3F2"/>
|
|
3
|
+
<path opacity="0.302" fill-rule="evenodd" clip-rule="evenodd" d="M15.3486 0V7.61984H22.7231L15.3486 0Z" fill="white"/>
|
|
4
|
+
<path d="M10.0064 16.7536H8.76349C8.74692 16.6259 8.71295 16.5108 8.66158 16.408C8.6102 16.3053 8.54226 16.2174 8.45774 16.1445C8.37322 16.0716 8.27296 16.0161 8.15696 15.978C8.04261 15.9382 7.91584 15.9183 7.77663 15.9183C7.52971 15.9183 7.31676 15.9788 7.13778 16.0998C6.96046 16.2208 6.82375 16.3956 6.72763 16.6243C6.63317 16.853 6.58594 17.1297 6.58594 17.4545C6.58594 17.7926 6.634 18.076 6.73011 18.3047C6.82789 18.5317 6.96461 18.7032 7.14027 18.8192C7.31759 18.9336 7.52723 18.9908 7.76918 18.9908C7.90507 18.9908 8.02853 18.9734 8.13956 18.9386C8.25225 18.9038 8.35085 18.8532 8.43537 18.7869C8.52154 18.719 8.59197 18.637 8.64666 18.5408C8.70301 18.4431 8.74195 18.3329 8.76349 18.2102L10.0064 18.2177C9.98485 18.4431 9.91939 18.6651 9.81001 18.8839C9.7023 19.1026 9.55398 19.3023 9.36506 19.483C9.17614 19.6619 8.94579 19.8045 8.67401 19.9105C8.40388 20.0166 8.09399 20.0696 7.74432 20.0696C7.28362 20.0696 6.87098 19.9685 6.50639 19.7663C6.14347 19.5625 5.85677 19.2659 5.64631 18.8764C5.43584 18.487 5.33061 18.013 5.33061 17.4545C5.33061 16.8944 5.4375 16.4196 5.65128 16.0302C5.86506 15.6407 6.15424 15.3449 6.51882 15.1428C6.8834 14.9406 7.2919 14.8395 7.74432 14.8395C8.05256 14.8395 8.33759 14.8826 8.59943 14.9688C8.86127 15.0533 9.09162 15.1776 9.29048 15.3416C9.48935 15.504 9.65092 15.7037 9.77521 15.9407C9.8995 16.1777 9.97656 16.4486 10.0064 16.7536ZM13.4623 16.4354C13.4457 16.2531 13.372 16.1114 13.241 16.0103C13.1118 15.9076 12.927 15.8562 12.6867 15.8562C12.5276 15.8562 12.395 15.8769 12.289 15.9183C12.1829 15.9598 12.1034 16.0169 12.0503 16.0898C11.9973 16.1611 11.97 16.2431 11.9683 16.3359C11.965 16.4122 11.9799 16.4793 12.0131 16.5373C12.0479 16.5953 12.0976 16.6467 12.1622 16.6914C12.2285 16.7345 12.308 16.7726 12.4008 16.8058C12.4936 16.8389 12.598 16.8679 12.714 16.8928L13.1515 16.9922C13.4034 17.0469 13.6255 17.1198 13.8177 17.2109C14.0116 17.3021 14.174 17.4106 14.305 17.5366C14.4375 17.6625 14.5378 17.8075 14.6057 17.9716C14.6737 18.1357 14.7085 18.3196 14.7101 18.5234C14.7085 18.8449 14.6273 19.1209 14.4665 19.3512C14.3058 19.5816 14.0746 19.758 13.773 19.8807C13.473 20.0033 13.1109 20.0646 12.6867 20.0646C12.2608 20.0646 11.8896 20.0008 11.5731 19.8732C11.2565 19.7456 11.0104 19.5517 10.8348 19.2915C10.6591 19.0314 10.5688 18.7024 10.5638 18.3047H11.7421C11.752 18.4688 11.796 18.6055 11.8738 18.7148C11.9517 18.8242 12.0586 18.9071 12.1945 18.9634C12.3321 19.0198 12.4912 19.0479 12.6718 19.0479C12.8375 19.0479 12.9784 19.0256 13.0944 18.9808C13.212 18.9361 13.3023 18.8739 13.3653 18.7944C13.4283 18.7148 13.4606 18.6237 13.4623 18.521C13.4606 18.4248 13.4308 18.3428 13.3728 18.2749C13.3148 18.2053 13.2253 18.1456 13.1043 18.0959C12.985 18.0445 12.8325 17.9973 12.6469 17.9542L12.115 17.8299C11.6742 17.7288 11.327 17.5656 11.0734 17.3402C10.8199 17.1132 10.6939 16.8066 10.6956 16.4205C10.6939 16.1056 10.7784 15.8297 10.9491 15.5927C11.1198 15.3557 11.356 15.1709 11.6576 15.0384C11.9592 14.9058 12.3031 14.8395 12.6892 14.8395C13.0836 14.8395 13.4258 14.9066 13.7158 15.0408C14.0075 15.1734 14.2337 15.3598 14.3944 15.6001C14.5552 15.8404 14.6372 16.1188 14.6405 16.4354H13.4623ZM16.4875 14.9091L17.626 18.6378H17.6682L18.8067 14.9091H20.1839L18.4662 20H16.828L15.1104 14.9091H16.4875Z" fill="white"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.66241 0H15.3584L22.7241 7.68455V22.614C22.7241 24.4829 21.207 26 19.3381 26H6.66241C4.79349 26 3.27637 24.4829 3.27637 22.614V3.38604C3.27637 1.51712 4.79349 0 6.66241 0Z" fill="#0AC963"/>
|
|
3
|
+
<path opacity="0.302" fill-rule="evenodd" clip-rule="evenodd" d="M15.3472 0V7.61859H22.7239L15.3472 0Z" fill="white"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.3036 12.9941H9.69642C9.20172 12.9941 8.79492 13.4009 8.79492 13.8956V18.0952C8.79492 18.5899 9.20168 18.9967 9.69642 18.9967H16.3036C16.7983 18.9967 17.1941 18.5899 17.1941 18.0952V13.8956C17.1941 13.4009 16.7983 12.9941 16.3036 12.9941ZM11.4994 14.1265C12.0381 14.1265 12.4668 14.5662 12.4668 15.0939C12.4668 15.6326 12.0381 16.0723 11.4994 16.0723C10.9607 16.0723 10.5209 15.6326 10.5209 15.0939C10.5209 14.5662 10.9607 14.1265 11.4994 14.1265ZM16.6004 18.0952C16.6004 18.2601 16.4685 18.403 16.3036 18.403H9.69642C9.53151 18.403 9.39958 18.2601 9.39958 18.0952V17.9193L10.5979 16.721L11.5873 17.7104C11.7082 17.8314 11.8951 17.8314 12.0161 17.7104L14.5006 15.2259L16.6004 17.3257V18.0952Z" fill="white"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.66263 0H15.3553L22.7226 7.67917V22.6152C22.7226 24.4863 21.2089 26 19.3443 26H6.66263C4.79157 26 3.27783 24.4863 3.27783 22.6152V3.3848C3.2778 1.51374 4.79154 0 6.66263 0Z" fill="#E5252A"/>
|
|
3
|
+
<path opacity="0.302" fill-rule="evenodd" clip-rule="evenodd" d="M15.3491 0V7.62069H22.7229L15.3491 0Z" fill="white"/>
|
|
4
|
+
<path d="M7.03955 19.3995V14.6504H9.06005C9.5603 14.6504 9.95661 14.7868 10.2555 15.0662C10.5543 15.339 10.7037 15.7094 10.7037 16.1706C10.7037 16.6319 10.5543 17.0022 10.2555 17.2751C9.95661 17.5544 9.5603 17.6909 9.06005 17.6909H8.25444V19.3995H7.03955ZM8.25444 16.6579H8.92362C9.10551 16.6579 9.24845 16.6189 9.34592 16.528C9.44335 16.4435 9.49535 16.3266 9.49535 16.1707C9.49535 16.0148 9.44338 15.8978 9.34592 15.8133C9.24848 15.7224 9.10555 15.6834 8.92362 15.6834H8.25444V16.6579ZM11.204 19.3995V14.6504H12.8866C13.218 14.6504 13.5298 14.6959 13.8222 14.7933C14.1145 14.8908 14.3809 15.0272 14.6147 15.2156C14.8486 15.3975 15.037 15.6444 15.1735 15.9562C15.3034 16.2681 15.3749 16.6254 15.3749 17.0282C15.3749 17.4245 15.3034 17.7818 15.1735 18.0937C15.037 18.4055 14.8486 18.6524 14.6147 18.8343C14.3808 19.0227 14.1145 19.1591 13.8222 19.2566C13.5298 19.354 13.218 19.3995 12.8866 19.3995H11.204ZM12.3929 18.3666H12.7437C12.9321 18.3666 13.1075 18.3471 13.2699 18.3016C13.4258 18.2561 13.5753 18.1846 13.7182 18.0872C13.8546 17.9898 13.9651 17.8533 14.043 17.6714C14.121 17.4895 14.16 17.2751 14.16 17.0282C14.16 16.7748 14.121 16.5604 14.043 16.3785C13.9651 16.1967 13.8546 16.0602 13.7182 15.9628C13.5753 15.8653 13.4259 15.7938 13.2699 15.7484C13.1075 15.7029 12.9321 15.6834 12.7437 15.6834H12.3929V18.3666ZM15.9856 19.3995V14.6504H19.3639V15.6834H17.2005V16.4435H18.9286V17.47H17.2005V19.3995H15.9856Z" fill="white"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="Capa_1" enable-background="new 0 0 791.454 791.454" height="512" viewBox="0 0 791.454 791.454" width="512" xmlns="http://www.w3.org/2000/svg"><g><g id="Vrstva_x0020_1_16_"><path clip-rule="evenodd" d="m202.8 0h264.71l224.217 233.922v454.459c0 56.891-46.182 103.073-103.073 103.073h-385.854c-56.891 0-103.073-46.182-103.073-103.073v-585.308c0-56.891 46.182-103.073 103.073-103.073z" fill="#7542ed" fill-rule="evenodd"/><g fill="#fff"><path clip-rule="evenodd" d="m467.176 0v231.914h224.552z" fill-rule="evenodd" opacity=".302"/><path d="m273.411 567.906c-2.008-1.004-4.016-2.008-5.354-3.681l-64.253-64.253c-1.673-1.339-2.677-3.347-3.681-5.354-.669-2.008-1.339-4.016-1.339-6.358s.669-4.35 1.339-6.358c1.004-2.008 2.008-4.016 3.681-5.354l64.253-64.253c1.339-1.673 3.347-2.677 5.354-3.681 2.008-.669 4.016-1.339 6.358-1.339 4.685 0 8.701 2.008 11.713 5.02 3.347 3.012 5.02 7.362 5.02 11.713 0 2.343-.335 4.35-1.339 6.693-.669 2.008-2.008 3.681-3.681 5.354l-52.206 52.206 52.206 52.206c1.673 1.673 3.012 3.347 3.681 5.354 1.004 2.343 1.339 4.35 1.339 6.693 0 4.35-1.673 8.701-5.02 11.713-3.012 3.012-7.028 5.02-11.713 5.02-2.342-.002-4.35-.672-6.358-1.341zm91.361-110.435c-3.012 3.012-7.362 4.685-11.713 4.685-4.685 0-9.036-1.673-12.048-4.685s-4.685-7.362-4.685-12.047c0-16.398 6.358-31.123 17.402-41.832 10.709-11.044 25.434-17.402 41.832-17.402s31.457 6.358 42.166 17.402c10.709 10.709 17.402 25.434 17.402 41.832 0 14.39-5.02 27.442-13.386 37.816-7.362 9.036-17.402 16.063-29.449 19.41v28.446c0 4.35-1.673 8.701-4.685 11.713s-7.362 5.02-12.048 5.02c-4.35 0-8.701-2.008-11.713-5.02s-5.02-7.362-5.02-11.713v-42.836c0-4.685 2.008-8.701 5.02-11.713s7.362-5.02 11.713-5.02c7.362 0 13.721-3.012 18.406-7.697s7.697-11.044 7.697-18.406c0-7.028-3.012-13.721-7.697-18.406s-11.044-7.362-18.406-7.362c-7.028 0-13.721 2.677-18.406 7.362s-7.362 11.378-7.362 18.406c0 4.684-2.008 9.035-5.02 12.047zm42.835 104.411c3.012 3.012 4.685 7.362 4.685 11.713 0 4.685-1.673 9.036-4.685 12.047-3.012 3.012-7.362 4.685-12.048 4.685-4.35 0-8.701-1.673-11.713-4.685s-5.02-7.362-5.02-12.047c0-4.35 2.008-8.701 5.02-11.713s7.362-5.02 11.713-5.02c4.686 0 9.036 2.008 12.048 5.02zm97.719 6.024c-2.343-1.004-4.016-2.008-5.689-3.681-1.339-1.673-2.677-3.347-3.681-5.354-.669-2.008-1.004-4.35-1.004-6.358 0-2.343.335-4.685 1.004-6.693 1.004-2.008 2.343-3.681 3.681-5.354l52.206-52.206-52.206-52.206c-1.339-1.673-2.677-3.347-3.681-5.354-.669-2.008-1.004-4.35-1.004-6.693 0-4.35 1.673-8.701 4.685-11.713s7.362-5.02 12.048-5.02c2.008 0 4.35.669 6.358 1.339 2.008 1.004 4.016 2.008 5.354 3.681l64.253 64.253c1.339 1.339 2.677 3.347 3.346 5.354 1.004 2.008 1.339 4.016 1.339 6.358s-.335 4.35-1.004 6.358c-1.004 2.008-2.343 4.016-3.681 5.354l-64.253 64.253c-1.339 1.673-3.347 2.677-5.354 3.681-2.008.669-4.351 1.339-6.358 1.339-2.343.001-4.351-.669-6.359-1.338z"/></g></g></g></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.65641 0H15.3579L22.7214 7.68613V22.6124C22.7214 24.4818 21.2126 26 19.3433 26H6.65641C4.79656 26 3.27832 24.4818 3.27832 22.6124V3.37809C3.27829 1.51824 4.79656 0 6.65641 0Z" fill="#00733B"/>
|
|
3
|
+
<path opacity="0.302" fill-rule="evenodd" clip-rule="evenodd" d="M15.3486 0V7.61971H22.7216L15.3486 0Z" fill="white"/>
|
|
4
|
+
<path d="M11.3631 18.9302H10.1011L9.23759 17.4784L8.37407 18.9302H7.10254L8.60182 16.4061L7.28286 14.2141H8.55435L9.23755 15.3528L9.91126 14.2141H11.1828L9.87329 16.4156L11.3631 18.9302ZM11.8091 18.9302V14.2141H13.0142V17.9054H15.0638V18.9302H11.8091V18.9302ZM17.0565 18.9871C16.5821 18.9871 16.1646 18.8353 15.804 18.5412C15.4529 18.2565 15.2536 17.8959 15.2252 17.4689L16.2595 17.1653C16.288 17.393 16.3828 17.5923 16.5442 17.7441C16.715 17.8959 16.9047 17.9718 17.1135 17.9718C17.2843 17.9718 17.4266 17.9339 17.5405 17.8579C17.6449 17.782 17.7018 17.6777 17.7018 17.5543C17.7018 17.4499 17.6544 17.3645 17.5689 17.2886C17.4835 17.2222 17.3697 17.1653 17.2368 17.1178C17.104 17.0704 16.9427 17.0229 16.7813 16.985C16.6106 16.9375 16.4397 16.8806 16.2784 16.8047C16.1076 16.7383 15.9558 16.6528 15.823 16.5485C15.6806 16.4536 15.5762 16.3113 15.4908 16.1309C15.4054 15.9602 15.358 15.7514 15.358 15.5142C15.358 15.1251 15.5193 14.8025 15.8514 14.5463C16.1835 14.2806 16.5821 14.1572 17.047 14.1572C17.512 14.1572 17.92 14.2711 18.2616 14.4894C18.6032 14.7171 18.8215 15.0113 18.9069 15.3718L17.8251 15.8273C17.7777 15.628 17.6828 15.4667 17.5499 15.3434C17.4171 15.2295 17.2463 15.1631 17.047 15.1631C16.8952 15.1631 16.7813 15.201 16.6864 15.258C16.601 15.3149 16.5631 15.4003 16.5631 15.5047C16.5631 15.5996 16.62 15.685 16.7339 15.7514C16.8477 15.8083 16.9996 15.8558 17.1704 15.8843C17.3412 15.9127 17.5309 15.9602 17.7302 16.0266C17.939 16.1025 18.1193 16.1784 18.2996 16.2828C18.4703 16.3777 18.6127 16.539 18.7265 16.7478C18.8499 16.966 18.9068 17.2223 18.9068 17.5164C18.9068 17.9529 18.736 18.3135 18.3944 18.5792C18.0528 18.8448 17.6069 18.9871 17.0565 18.9871Z" fill="white"/>
|
|
5
|
+
</svg>
|