@secondstaxorg/sscomp 1.8.66 → 1.8.69
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.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +33 -29
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21675,7 +21675,7 @@ const PopupModal = (props) => {
|
|
|
21675
21675
|
(document.querySelector('body') ).classList.add('side-panel-open');
|
|
21676
21676
|
},[]);
|
|
21677
21677
|
|
|
21678
|
-
function
|
|
21678
|
+
function reEnableScroll(){
|
|
21679
21679
|
(document.querySelector('body') ).classList.remove('side-panel-open');
|
|
21680
21680
|
}
|
|
21681
21681
|
|
|
@@ -21684,9 +21684,9 @@ const PopupModal = (props) => {
|
|
|
21684
21684
|
, React$1.createElement(ModalCard, {__self: undefined, __source: {fileName: _jsxFileName$z, lineNumber: 23}}
|
|
21685
21685
|
, React$1.createElement(CardHead, {__self: undefined, __source: {fileName: _jsxFileName$z, lineNumber: 24}}
|
|
21686
21686
|
, React$1.createElement('h5', { className: "heading5Bold", __self: undefined, __source: {fileName: _jsxFileName$z, lineNumber: 25}}, title)
|
|
21687
|
-
, React$1.createElement('button', { onClick: ()=>{
|
|
21687
|
+
, React$1.createElement('button', { type: "button", onClick: ()=>{
|
|
21688
|
+
reEnableScroll();
|
|
21688
21689
|
closeFxn();
|
|
21689
|
-
enableScroll();
|
|
21690
21690
|
}, __self: undefined, __source: {fileName: _jsxFileName$z, lineNumber: 26}}
|
|
21691
21691
|
, React$1.createElement('svg', { width: "32", height: "32", viewBox: "0 0 32 32" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$z, lineNumber: 30}}
|
|
21692
21692
|
, React$1.createElement('path', { d: "M17.88 16L23.6133 10.28C23.8644 10.0289 24.0055 9.6884 24.0055 9.33333C24.0055 8.97826 23.8644 8.63773 23.6133 8.38666C23.3623 8.13559 23.0217 7.99454 22.6667 7.99454C22.3116 7.99454 21.9711 8.13559 21.72 8.38666L16 14.12L10.28 8.38666C10.0289 8.13559 9.6884 7.99454 9.33333 7.99454C8.97826 7.99454 8.63773 8.13559 8.38666 8.38666C8.13559 8.63773 7.99454 8.97826 7.99454 9.33333C7.99454 9.6884 8.13559 10.0289 8.38666 10.28L14.12 16L8.38666 21.72C8.26169 21.8439 8.1625 21.9914 8.09481 22.1539C8.02712 22.3164 7.99226 22.4906 7.99226 22.6667C7.99226 22.8427 8.02712 23.0169 8.09481 23.1794C8.1625 23.3419 8.26169 23.4894 8.38666 23.6133C8.51061 23.7383 8.65808 23.8375 8.82056 23.9052C8.98304 23.9729 9.15731 24.0077 9.33333 24.0077C9.50934 24.0077 9.68362 23.9729 9.8461 23.9052C10.0086 23.8375 10.156 23.7383 10.28 23.6133L16 17.88L21.72 23.6133C21.8439 23.7383 21.9914 23.8375 22.1539 23.9052C22.3164 23.9729 22.4906 24.0077 22.6667 24.0077C22.8427 24.0077 23.017 23.9729 23.1794 23.9052C23.3419 23.8375 23.4894 23.7383 23.6133 23.6133C23.7383 23.4894 23.8375 23.3419 23.9052 23.1794C23.9729 23.0169 24.0077 22.8427 24.0077 22.6667C24.0077 22.4906 23.9729 22.3164 23.9052 22.1539C23.8375 21.9914 23.7383 21.8439 23.6133 21.72L17.88 16Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$z, lineNumber: 31}})
|
|
@@ -22753,15 +22753,17 @@ const SideModal = (props) => {
|
|
|
22753
22753
|
const backdrop = document.querySelector('.backdrop');
|
|
22754
22754
|
|
|
22755
22755
|
const mouseEv = function (e){
|
|
22756
|
-
if(e.target === backdrop)
|
|
22756
|
+
if(e.target === backdrop) {
|
|
22757
|
+
rmOverflow();
|
|
22758
|
+
closeModal(false);
|
|
22759
|
+
}
|
|
22757
22760
|
};
|
|
22758
22761
|
|
|
22759
22762
|
if (backdrop){
|
|
22760
22763
|
backdrop.addEventListener('click', mouseEv);
|
|
22761
|
-
|
|
22762
|
-
|
|
22763
|
-
|
|
22764
|
-
}
|
|
22764
|
+
}
|
|
22765
|
+
return ()=>{
|
|
22766
|
+
backdrop.removeEventListener('click',mouseEv);
|
|
22765
22767
|
}
|
|
22766
22768
|
},[]);
|
|
22767
22769
|
|
|
@@ -22774,44 +22776,46 @@ const SideModal = (props) => {
|
|
|
22774
22776
|
}
|
|
22775
22777
|
|
|
22776
22778
|
return (
|
|
22777
|
-
React$1.createElement(ModalBackdrop, { className: "backdrop", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22778
|
-
, React$1.createElement(SideModalContainer, {__self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22779
|
-
, React$1.createElement(NavSection, {__self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22780
|
-
, React$1.createElement('div', {__self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22779
|
+
React$1.createElement(ModalBackdrop, { className: "backdrop", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 36}}
|
|
22780
|
+
, React$1.createElement(SideModalContainer, {__self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 37}}
|
|
22781
|
+
, React$1.createElement(NavSection, {__self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 38}}
|
|
22782
|
+
, React$1.createElement('div', {__self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 39}}
|
|
22781
22783
|
, showNavigation && !navAreaText &&
|
|
22782
22784
|
React$1.createElement(Button, { disabled: disabledNav, onClick: ()=>{
|
|
22783
|
-
|
|
22784
|
-
if (navButtonAction) {
|
|
22785
|
+
if (navButtonAction){
|
|
22785
22786
|
navButtonAction();
|
|
22786
22787
|
}
|
|
22787
|
-
}, className: "paragraph2Regular", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22788
|
+
}, className: "paragraph2Regular", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 41}}
|
|
22788
22789
|
/*arrow-left*/
|
|
22789
22790
|
, !disabledNav &&
|
|
22790
|
-
React$1.createElement('svg', { width: "12", height: "14", viewBox: "0 0 12 14" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22791
|
-
, React$1.createElement('path', { d: "M11 6H3.41L6.71 2.71C6.89831 2.5217 7.00409 2.2663 7.00409 2C7.00409 1.7337 6.89831 1.47831 6.71 1.29C6.5217 1.1017 6.2663 0.995911 6 0.995911C5.7337 0.995911 5.47831 1.1017 5.29 1.29L0.290003 6.29C0.198963 6.38511 0.127598 6.49725 0.0800031 6.62C-0.0200149 6.86346 -0.0200149 7.13654 0.0800031 7.38C0.127598 7.50275 0.198963 7.6149 0.290003 7.71L5.29 12.71C5.38297 12.8037 5.49357 12.8781 5.61543 12.9289C5.73729 12.9797 5.86799 13.0058 6 13.0058C6.13202 13.0058 6.26272 12.9797 6.38458 12.9289C6.50644 12.8781 6.61704 12.8037 6.71 12.71C6.80373 12.617 6.87813 12.5064 6.92889 12.3846C6.97966 12.2627 7.0058 12.132 7.0058 12C7.0058 11.868 6.97966 11.7373 6.92889 11.6154C6.87813 11.4936 6.80373 11.383 6.71 11.29L3.41 8H11C11.2652 8 11.5196 7.89465 11.7071 7.70711C11.8946 7.51957 12 7.26522 12 7C12 6.73479 11.8946 6.48043 11.7071 6.2929C11.5196 6.10536 11.2652 6 11 6Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22791
|
+
React$1.createElement('svg', { width: "12", height: "14", viewBox: "0 0 12 14" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 48}}
|
|
22792
|
+
, React$1.createElement('path', { d: "M11 6H3.41L6.71 2.71C6.89831 2.5217 7.00409 2.2663 7.00409 2C7.00409 1.7337 6.89831 1.47831 6.71 1.29C6.5217 1.1017 6.2663 0.995911 6 0.995911C5.7337 0.995911 5.47831 1.1017 5.29 1.29L0.290003 6.29C0.198963 6.38511 0.127598 6.49725 0.0800031 6.62C-0.0200149 6.86346 -0.0200149 7.13654 0.0800031 7.38C0.127598 7.50275 0.198963 7.6149 0.290003 7.71L5.29 12.71C5.38297 12.8037 5.49357 12.8781 5.61543 12.9289C5.73729 12.9797 5.86799 13.0058 6 13.0058C6.13202 13.0058 6.26272 12.9797 6.38458 12.9289C6.50644 12.8781 6.61704 12.8037 6.71 12.71C6.80373 12.617 6.87813 12.5064 6.92889 12.3846C6.97966 12.2627 7.0058 12.132 7.0058 12C7.0058 11.868 6.97966 11.7373 6.92889 11.6154C6.87813 11.4936 6.80373 11.383 6.71 11.29L3.41 8H11C11.2652 8 11.5196 7.89465 11.7071 7.70711C11.8946 7.51957 12 7.26522 12 7C12 6.73479 11.8946 6.48043 11.7071 6.2929C11.5196 6.10536 11.2652 6 11 6Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 49}})
|
|
22792
22793
|
)
|
|
22793
22794
|
|
|
22794
22795
|
, disabledNav &&
|
|
22795
|
-
React$1.createElement('svg', { width: "12", height: "14", viewBox: "0 0 12 14" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22796
|
-
, React$1.createElement('path', { d: "M11 6H3.41L6.71 2.71C6.89831 2.5217 7.00409 2.2663 7.00409 2C7.00409 1.7337 6.89831 1.47831 6.71 1.29C6.5217 1.1017 6.2663 0.995911 6 0.995911C5.7337 0.995911 5.47831 1.1017 5.29 1.29L0.290003 6.29C0.198963 6.38511 0.127598 6.49725 0.0800031 6.62C-0.0200149 6.86346 -0.0200149 7.13654 0.0800031 7.38C0.127598 7.50275 0.198963 7.6149 0.290003 7.71L5.29 12.71C5.38297 12.8037 5.49357 12.8781 5.61543 12.9289C5.73729 12.9797 5.86799 13.0058 6 13.0058C6.13202 13.0058 6.26272 12.9797 6.38458 12.9289C6.50644 12.8781 6.61704 12.8037 6.71 12.71C6.80373 12.617 6.87813 12.5064 6.92889 12.3846C6.97966 12.2627 7.0058 12.132 7.0058 12C7.0058 11.868 6.97966 11.7373 6.92889 11.6154C6.87813 11.4936 6.80373 11.383 6.71 11.29L3.41 8H11C11.2652 8 11.5196 7.89465 11.7071 7.70711C11.8946 7.51957 12 7.26522 12 7C12 6.73479 11.8946 6.48043 11.7071 6.2929C11.5196 6.10536 11.2652 6 11 6Z" , fill: "#E8EEF7", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22796
|
+
React$1.createElement('svg', { width: "12", height: "14", viewBox: "0 0 12 14" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 53}}
|
|
22797
|
+
, React$1.createElement('path', { d: "M11 6H3.41L6.71 2.71C6.89831 2.5217 7.00409 2.2663 7.00409 2C7.00409 1.7337 6.89831 1.47831 6.71 1.29C6.5217 1.1017 6.2663 0.995911 6 0.995911C5.7337 0.995911 5.47831 1.1017 5.29 1.29L0.290003 6.29C0.198963 6.38511 0.127598 6.49725 0.0800031 6.62C-0.0200149 6.86346 -0.0200149 7.13654 0.0800031 7.38C0.127598 7.50275 0.198963 7.6149 0.290003 7.71L5.29 12.71C5.38297 12.8037 5.49357 12.8781 5.61543 12.9289C5.73729 12.9797 5.86799 13.0058 6 13.0058C6.13202 13.0058 6.26272 12.9797 6.38458 12.9289C6.50644 12.8781 6.61704 12.8037 6.71 12.71C6.80373 12.617 6.87813 12.5064 6.92889 12.3846C6.97966 12.2627 7.0058 12.132 7.0058 12C7.0058 11.868 6.97966 11.7373 6.92889 11.6154C6.87813 11.4936 6.80373 11.383 6.71 11.29L3.41 8H11C11.2652 8 11.5196 7.89465 11.7071 7.70711C11.8946 7.51957 12 7.26522 12 7C12 6.73479 11.8946 6.48043 11.7071 6.2929C11.5196 6.10536 11.2652 6 11 6Z" , fill: "#E8EEF7", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 54}})
|
|
22797
22798
|
)
|
|
22798
22799
|
, "Go Back"
|
|
22799
22800
|
)
|
|
22800
22801
|
|
|
22801
|
-
, navAreaText && React$1.createElement('span', { className: "paragraph2Regular", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22802
|
+
, navAreaText && React$1.createElement('span', { className: "paragraph2Regular", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 59}}, navAreaText)
|
|
22802
22803
|
)
|
|
22803
|
-
, React$1.createElement(Button, { onClick: ()=>{
|
|
22804
|
+
, React$1.createElement(Button, { onClick: ()=>{
|
|
22805
|
+
rmOverflow();
|
|
22806
|
+
closeModal(false);
|
|
22807
|
+
}, __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 61}}
|
|
22804
22808
|
/*times*/
|
|
22805
|
-
, React$1.createElement('svg', { width: "12", height: "12", viewBox: "0 0 12 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22806
|
-
, React$1.createElement('path', { d: "M7.4 6L11.7 1.7C12.1 1.3 12.1 0.7 11.7 0.3C11.3 -0.1 10.7 -0.1 10.3 0.3L6 4.6L1.7 0.3C1.3 -0.1 0.7 -0.1 0.3 0.3C-0.0999998 0.7 -0.0999998 1.3 0.3 1.7L4.6 6L0.3 10.3C0.1 10.5 0 10.7 0 11C0 11.6 0.4 12 1 12C1.3 12 1.5 11.9 1.7 11.7L6 7.4L10.3 11.7C10.5 11.9 10.7 12 11 12C11.3 12 11.5 11.9 11.7 11.7C12.1 11.3 12.1 10.7 11.7 10.3L7.4 6Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22809
|
+
, React$1.createElement('svg', { width: "12", height: "12", viewBox: "0 0 12 12" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 66}}
|
|
22810
|
+
, React$1.createElement('path', { d: "M7.4 6L11.7 1.7C12.1 1.3 12.1 0.7 11.7 0.3C11.3 -0.1 10.7 -0.1 10.3 0.3L6 4.6L1.7 0.3C1.3 -0.1 0.7 -0.1 0.3 0.3C-0.0999998 0.7 -0.0999998 1.3 0.3 1.7L4.6 6L0.3 10.3C0.1 10.5 0 10.7 0 11C0 11.6 0.4 12 1 12C1.3 12 1.5 11.9 1.7 11.7L6 7.4L10.3 11.7C10.5 11.9 10.7 12 11 12C11.3 12 11.5 11.9 11.7 11.7C12.1 11.3 12.1 10.7 11.7 10.3L7.4 6Z" , fill: "#070B12", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 67}})
|
|
22807
22811
|
)
|
|
22808
22812
|
)
|
|
22809
22813
|
)
|
|
22810
|
-
, React$1.createElement(ModalContent, {__self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22814
|
+
, React$1.createElement(ModalContent, {__self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 71}}
|
|
22811
22815
|
, modalTitle &&
|
|
22812
|
-
React$1.createElement(ModalTitleArea, {__self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22813
|
-
, React$1.createElement('h3', { className: "title", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22814
|
-
, React$1.createElement('p', { className: "sub-text", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber:
|
|
22816
|
+
React$1.createElement(ModalTitleArea, {__self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 73}}
|
|
22817
|
+
, React$1.createElement('h3', { className: "title", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 74}}, modalTitle)
|
|
22818
|
+
, React$1.createElement('p', { className: "sub-text", __self: undefined, __source: {fileName: _jsxFileName$q, lineNumber: 75}}, modalSubText)
|
|
22815
22819
|
)
|
|
22816
22820
|
|
|
22817
22821
|
, children
|
|
@@ -25527,7 +25531,7 @@ const TablePrimary = (props) => {
|
|
|
25527
25531
|
const sortedItems = [...tbody];
|
|
25528
25532
|
sortedItems.sort((a,b) => a[column].localeCompare(b[column]));
|
|
25529
25533
|
let revSort = sortedItems.reverse();
|
|
25530
|
-
|
|
25534
|
+
setTbodyOri(revSort);
|
|
25531
25535
|
setSortedCol('');
|
|
25532
25536
|
}
|
|
25533
25537
|
return
|
|
@@ -25536,7 +25540,7 @@ const TablePrimary = (props) => {
|
|
|
25536
25540
|
if (tbody && tbody.length > 0){
|
|
25537
25541
|
const sortedItems = [...tbody];
|
|
25538
25542
|
sortedItems.sort((a,b) => a[column].localeCompare(b[column]));
|
|
25539
|
-
|
|
25543
|
+
setTbodyOri(sortedItems);
|
|
25540
25544
|
}
|
|
25541
25545
|
return
|
|
25542
25546
|
}
|