sprint-asia-custom-component 0.1.44 → 0.1.46
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/index.js +515 -6
- package/package.json +1 -1
- package/src/components/button/dangerbutton/index.js +1 -0
- package/src/components/button/outlinebutton/index.js +1 -0
- package/src/components/button/primarybutton/index.js +1 -0
- package/src/components/dropzone/uploadfile/index.js +37 -29
- package/src/components/table/listTable/cellmodefive/index.js +107 -0
- package/src/components/table/listTable/cellmodelseven/index.js +120 -0
- package/src/components/table/listTable/cellmodesix/index.js +139 -0
- package/src/components/table/listTable/report/detaildivision/index.js +174 -0
- package/src/index.js +17 -1
- package/src/templates/index.js +99 -0
package/src/templates/index.js
CHANGED
|
@@ -55,6 +55,10 @@ import Header from '../components/header';
|
|
|
55
55
|
import CellModelTwo from '../components/table/listTable/cellmodeltwo';
|
|
56
56
|
import CellModelThree from '../components/table/listTable/cellmodelthree';
|
|
57
57
|
import CellModelFour from '../components/table/listTable/cellmodefour';
|
|
58
|
+
import DetailDivision from '../components/table/listTable/report/detaildivision';
|
|
59
|
+
import CellModelFive from '../components/table/listTable/cellmodefive';
|
|
60
|
+
import CellModelSix from '../components/table/listTable/cellmodesix';
|
|
61
|
+
import CellModelSeven from '../components/table/listTable/cellmodelseven';
|
|
58
62
|
|
|
59
63
|
|
|
60
64
|
const Templates = () => {
|
|
@@ -1050,6 +1054,7 @@ const Templates = () => {
|
|
|
1050
1054
|
<DropzoneUploadFile
|
|
1051
1055
|
title="Upload Your File"
|
|
1052
1056
|
subtitle="Accepts PDF, JPEG, JPG. Max size 5 MB"
|
|
1057
|
+
required={true}
|
|
1053
1058
|
/>
|
|
1054
1059
|
|
|
1055
1060
|
<div className='m-9'></div>
|
|
@@ -1396,6 +1401,12 @@ const Templates = () => {
|
|
|
1396
1401
|
<div className='m-9'></div>
|
|
1397
1402
|
<ReportListClient {...transactionData} />
|
|
1398
1403
|
|
|
1404
|
+
<div className='m-9'></div>
|
|
1405
|
+
<div className='m-10'>
|
|
1406
|
+
<DetailDivision {...reportData} />
|
|
1407
|
+
</div>
|
|
1408
|
+
|
|
1409
|
+
|
|
1399
1410
|
<div className='m-9'></div>
|
|
1400
1411
|
<p className='text-black font-bold text-2xl text-center py-2'>Pagination</p>
|
|
1401
1412
|
<ul>
|
|
@@ -1749,6 +1760,62 @@ const Templates = () => {
|
|
|
1749
1760
|
</table>
|
|
1750
1761
|
|
|
1751
1762
|
|
|
1763
|
+
<div className='m-9'></div>
|
|
1764
|
+
<table className='w-full text-left'>
|
|
1765
|
+
<HeaderTable dataHeader={["Cient Data", "PIC", "Data Created", "Last Updated", "State", "Action"]} />
|
|
1766
|
+
<tbody>
|
|
1767
|
+
{
|
|
1768
|
+
client.map((product, index) => (
|
|
1769
|
+
<CellModelSix
|
|
1770
|
+
key={index}
|
|
1771
|
+
Column_One_A={product.Column_One_A}
|
|
1772
|
+
Column_One_B={product.Column_One_B}
|
|
1773
|
+
Column_One_C={product.Column_One_C}
|
|
1774
|
+
Column_Two_A={product.Column_Two_A}
|
|
1775
|
+
Column_Two_B={product.Column_Two_B}
|
|
1776
|
+
Column_Two_C={product.Column_Two_C}
|
|
1777
|
+
Column_Three_A={product.Column_Three_A}
|
|
1778
|
+
Column_Three_B={product.Column_Three_B}
|
|
1779
|
+
Column_Four_A={product.Column_Four_A}
|
|
1780
|
+
Column_Four_B={product.Column_Four_B}
|
|
1781
|
+
Column_Five_A={product.Column_Five_A}
|
|
1782
|
+
imageUrl={product.imageUrl}
|
|
1783
|
+
onClickDelete={() => console.log('Delete', product)}
|
|
1784
|
+
onClickBody={() => console.log('Body', product)}
|
|
1785
|
+
/>
|
|
1786
|
+
))
|
|
1787
|
+
}
|
|
1788
|
+
</tbody>
|
|
1789
|
+
</table>
|
|
1790
|
+
|
|
1791
|
+
<div className='m-9'></div>
|
|
1792
|
+
<table className='w-full text-left'>
|
|
1793
|
+
<HeaderTable dataHeader={["Cient Data", "PIC", "Data Created", "State"]} />
|
|
1794
|
+
<tbody>
|
|
1795
|
+
{
|
|
1796
|
+
client.map((product, index) => (
|
|
1797
|
+
<CellModelFive
|
|
1798
|
+
key={index}
|
|
1799
|
+
Column_One_A={product.Column_One_A}
|
|
1800
|
+
Column_One_B={product.Column_One_B}
|
|
1801
|
+
Column_One_C={product.Column_One_C}
|
|
1802
|
+
Column_Two_A={product.Column_Two_A}
|
|
1803
|
+
Column_Two_B={product.Column_Two_B}
|
|
1804
|
+
Column_Two_C={product.Column_Two_C}
|
|
1805
|
+
Column_Three_A={product.Column_Three_A}
|
|
1806
|
+
Column_Three_B={product.Column_Three_B}
|
|
1807
|
+
Column_Four_A={product.Column_Four_A}
|
|
1808
|
+
Column_Four_B={product.Column_Four_B}
|
|
1809
|
+
Column_Five_A={product.Column_Five_A}
|
|
1810
|
+
imageUrl={product.imageUrl}
|
|
1811
|
+
onClickBody={() => console.log('Body', product)}
|
|
1812
|
+
/>
|
|
1813
|
+
))
|
|
1814
|
+
}
|
|
1815
|
+
</tbody>
|
|
1816
|
+
</table>
|
|
1817
|
+
|
|
1818
|
+
|
|
1752
1819
|
<div className='m-9'></div>
|
|
1753
1820
|
<table className='w-full text-left'>
|
|
1754
1821
|
<HeaderTable dataHeader={["Division DATA", "PIC DATA", "TYPE", "DATA CREATED", "LAST UPDATE", "STATUS", "Action"]} />
|
|
@@ -1780,6 +1847,38 @@ const Templates = () => {
|
|
|
1780
1847
|
</tbody>
|
|
1781
1848
|
</table>
|
|
1782
1849
|
|
|
1850
|
+
|
|
1851
|
+
<div className='m-9'></div>
|
|
1852
|
+
<table className='w-full text-left'>
|
|
1853
|
+
<HeaderTable dataHeader={["Division DATA", "PIC DATA", "BILLER","TYPE", "ACTION"]} />
|
|
1854
|
+
<tbody>
|
|
1855
|
+
{
|
|
1856
|
+
division.map((division, index) => (
|
|
1857
|
+
<CellModelSeven
|
|
1858
|
+
key={index}
|
|
1859
|
+
Column_One_A={division.Column_One_A}
|
|
1860
|
+
Column_One_B={division.Column_One_B}
|
|
1861
|
+
Column_Two_A={division.Column_Two_A}
|
|
1862
|
+
Column_Two_B={division.Column_Two_B}
|
|
1863
|
+
Column_Two_C={division.Column_Two_C}
|
|
1864
|
+
Column_Three_A={division.Column_Three_A}
|
|
1865
|
+
Column_Four_A={division.Column_Four_A}
|
|
1866
|
+
Column_Four_B={division.Column_Four_B}
|
|
1867
|
+
Column_Four_C={division.Column_Four_C}
|
|
1868
|
+
Column_Five_A={division.Column_Five_A}
|
|
1869
|
+
Column_Five_B={division.Column_Five_B}
|
|
1870
|
+
Column_Five_C={division.Column_Five_C}
|
|
1871
|
+
Column_Six_A={division.Column_Six_A}
|
|
1872
|
+
imageUrl={division.imageUrl}
|
|
1873
|
+
onClickEdit={() => console.log('Edit', division)}
|
|
1874
|
+
onClickDelete={() => console.log('Delete', division)}
|
|
1875
|
+
onClickBody={() => console.log('Body', division)}
|
|
1876
|
+
/>
|
|
1877
|
+
))
|
|
1878
|
+
}
|
|
1879
|
+
</tbody>
|
|
1880
|
+
</table>
|
|
1881
|
+
|
|
1783
1882
|
</div>
|
|
1784
1883
|
|
|
1785
1884
|
|