@secondstaxorg/sscomp 1.8.13 → 1.8.15
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 +12 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +26 -15
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +12 -4
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/PDFViewer/PDFViewer.d.ts +3 -0
package/dist/index.es.js
CHANGED
|
@@ -4627,7 +4627,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
4627
4627
|
margin: 0;
|
|
4628
4628
|
}
|
|
4629
4629
|
`;function Xb(e,t){return new Intl.NumberFormat("en-US",{style:"currency",currency:t,currencyDisplay:"code"}).format(e)}const qb="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\BidsCards\\BidsCard.tsx",Jb=e=>{const{offers:i}=e;return t.createElement(Ub,{__self:void 0,__source:{fileName:qb,lineNumber:13}},t.createElement(t.Fragment,null,i&&i.length>0&&t.createElement(Sb,{__self:void 0,__source:{fileName:qb,lineNumber:16}},i.map(((e,i)=>t.createElement(Zb,{key:i,__self:void 0,__source:{fileName:qb,lineNumber:27}},e.selectedProvider&&t.createElement("p",{className:"recommended",__self:void 0,__source:{fileName:qb,lineNumber:28}},"Selected"),t.createElement(Gb,{__self:void 0,__source:{fileName:qb,lineNumber:29}},t.createElement(Kb,{__self:void 0,__source:{fileName:qb,lineNumber:30}},t.createElement(Wb,{__self:void 0,__source:{fileName:qb,lineNumber:31}},t.createElement("h4",{__self:void 0,__source:{fileName:qb,lineNumber:32}},e.providerName),t.createElement(Tb,{__self:void 0,__source:{fileName:qb,lineNumber:33}},t.createElement("p",{__self:void 0,__source:{fileName:qb,lineNumber:34}},Xb(e.baseAmount,e.baseCurrency)),t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qb,lineNumber:36}},t.createElement("path",{d:"M17.9999 10C17.9999 9.73479 17.8945 9.48043 17.707 9.2929C17.5195 9.10536 17.2651 9 16.9999 9H5.4099L7.7099 6.71C7.8982 6.5217 8.00399 6.2663 8.00399 6C8.00399 5.7337 7.8982 5.47831 7.7099 5.29C7.52159 5.1017 7.2662 4.99591 6.9999 4.99591C6.73359 4.99591 6.4782 5.1017 6.2899 5.29L2.2899 9.29C2.15114 9.43063 2.05714 9.6092 2.01977 9.80319C1.98239 9.99718 2.00332 10.1979 2.0799 10.38C2.15492 10.5626 2.28231 10.7189 2.44603 10.8293C2.60975 10.9396 2.80247 10.999 2.9999 11H16.9999C17.2651 11 17.5195 10.8946 17.707 10.7071C17.8945 10.5196 17.9999 10.2652 17.9999 10ZM21.9199 13.62C21.8449 13.4374 21.7175 13.2811 21.5538 13.1707C21.39 13.0604 21.1973 13.001 20.9999 13H6.9999C6.73468 13 6.48033 13.1054 6.29279 13.2929C6.10525 13.4804 5.9999 13.7348 5.9999 14C5.9999 14.2652 6.10525 14.5196 6.29279 14.7071C6.48033 14.8946 6.73468 15 6.9999 15H18.5899L16.2899 17.29C16.1962 17.383 16.1218 17.4936 16.071 17.6154C16.0202 17.7373 15.9941 17.868 15.9941 18C15.9941 18.132 16.0202 18.2627 16.071 18.3846C16.1218 18.5064 16.1962 18.617 16.2899 18.71C16.3829 18.8037 16.4935 18.8781 16.6153 18.9289C16.7372 18.9797 16.8679 19.0058 16.9999 19.0058C17.1319 19.0058 17.2626 18.9797 17.3845 18.9289C17.5063 18.8781 17.6169 18.8037 17.7099 18.71L21.7099 14.71C21.8487 14.5694 21.9426 14.3908 21.98 14.1968C22.0174 14.0028 21.9965 13.8021 21.9199 13.62Z",fill:"#BBCCE6",__self:void 0,__source:{fileName:qb,lineNumber:37}})),t.createElement("p",{__self:void 0,__source:{fileName:qb,lineNumber:39}},Xb(e.exchangeAmount,e.exchangeCurrency))),t.createElement("p",{__self:void 0,__source:{fileName:qb,lineNumber:41}},e.baseCurrency," 1.00 = ",e.exchangeCurrency," ",e.rate.toFixed(4)))))))))))},$b=l.div`
|
|
4630
|
-
overflow-x: auto;
|
|
4630
|
+
//overflow-x: auto;
|
|
4631
4631
|
`,em=l.table`
|
|
4632
4632
|
width: 100%;
|
|
4633
4633
|
border-collapse: separate;
|
|
@@ -5371,9 +5371,17 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
5371
5371
|
justify-content: start;
|
|
5372
5372
|
align-items: center;
|
|
5373
5373
|
`,dA="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NumberField\\NumberField.tsx",uA=e=>{let{label:n,subtext:o,errMsg:l,disabled:a,required:c,width:d,value:u,currencyFlagPath:f,onChange:b,placeholder:m,readonly:h}=e;const[p,A]=t.useState(""),[g,C]=i(isNaN(Number(u))?"":u),[v,N]=t.useState(!1);function x(){g?(A("success"),N(!1)):(A(""),c&&(A("error"),N(!0)))}r((()=>{g&&x()}),[g,u]);return t.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},__self:void 0,__source:{fileName:dA,lineNumber:43}},n&&t.createElement(lA,{__self:void 0,__source:{fileName:dA,lineNumber:45}},t.createElement("label",{className:"paragraph2Medium",__self:void 0,__source:{fileName:dA,lineNumber:46}},n),o&&t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:dA,lineNumber:47}},o)),t.createElement(sA,{className:`${p} ${a?"disabled":""}`,style:{width:d||"100%",border:a?`1px solid ${s["neutral-100"]}`:""},__self:void 0,__source:{fileName:dA,lineNumber:50}},f&&t.createElement("img",{src:f,alt:"currency flag",__self:void 0,__source:{fileName:dA,lineNumber:51}}),t.createElement(aA,{type:"text",value:g,onBlur:x,onInvalid:x,onChange:e=>{h||isNaN(Number(e.target.value))||(b(e.target.value),C(e.target.value))},placeholder:m,required:c,__self:void 0,__source:{fileName:dA,lineNumber:52}})),!g&&c&&v&&t.createElement(cA,{__self:void 0,__source:{fileName:dA,lineNumber:60}},t.createElement("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:dA,lineNumber:62}},t.createElement("path",{d:"M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z",fill:"#F80000",__self:void 0,__source:{fileName:dA,lineNumber:63}})),l?t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:dA,lineNumber:65}},l):t.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:dA,lineNumber:65}},"This field is required")))},fA=l.div`
|
|
5374
|
-
|
|
5374
|
+
position:relative;
|
|
5375
|
+
display: flex;
|
|
5376
|
+
justify-content: center;
|
|
5377
|
+
background: #000000;
|
|
5378
|
+
padding-top: 24px;
|
|
5379
|
+
canvas{
|
|
5380
|
+
width: 996px;
|
|
5381
|
+
border-radius: 16px;
|
|
5382
|
+
}
|
|
5375
5383
|
`,bA=l.div`
|
|
5376
|
-
position:
|
|
5384
|
+
position: absolute;
|
|
5377
5385
|
bottom: 0;
|
|
5378
5386
|
display: flex;
|
|
5379
5387
|
justify-content: center;
|
|
@@ -5400,5 +5408,5 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
5400
5408
|
cursor: not-allowed;
|
|
5401
5409
|
}
|
|
5402
5410
|
}
|
|
5403
|
-
`,mA="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\PDFViewer\\PDFViewer.tsx";a.GlobalWorkerOptions.workerSrc="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js";const hA=e=>{const{fileUrl:n}=e,[l,s]=i(1),[c,d]=i(1),u=o(null);return r((()=>{a.getDocument(n).promise.then((e=>{s(e.numPages),e.getPage(c).then((e=>{const t=u.current,i=t.getContext("2d"),r=e.getViewport({scale:2
|
|
5411
|
+
`,mA="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\PDFViewer\\PDFViewer.tsx";a.GlobalWorkerOptions.workerSrc="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.worker.min.js";const hA=e=>{const{fileUrl:n}=e,[l,s]=i(1),[c,d]=i(1),u=o(null);return r((()=>{a.getDocument(n).promise.then((e=>{s(e.numPages),e.getPage(c).then((e=>{const t=u.current,i=t.getContext("2d"),r=e.getViewport({scale:2});t.width=r.width,t.height=r.height,e.render({canvasContext:i,viewport:r})}))}))}),[n,c]),t.createElement(fA,{__self:void 0,__source:{fileName:mA,lineNumber:36}},t.createElement("canvas",{ref:u,__self:void 0,__source:{fileName:mA,lineNumber:37}}),t.createElement(bA,{__self:void 0,__source:{fileName:mA,lineNumber:38}},t.createElement("div",{className:"page-nav",__self:void 0,__source:{fileName:mA,lineNumber:39}},t.createElement("button",{type:"button",onClick:()=>{c>1&&d(c-1)},disabled:1==c,__self:void 0,__source:{fileName:mA,lineNumber:40}},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:mA,lineNumber:41}},t.createElement("path",{d:"M11.2898 11.9999L14.8298 8.45995C15.0161 8.27259 15.1206 8.01913 15.1206 7.75495C15.1206 7.49076 15.0161 7.23731 14.8298 7.04995C14.7369 6.95622 14.6263 6.88183 14.5044 6.83106C14.3825 6.78029 14.2518 6.75415 14.1198 6.75415C13.9878 6.75415 13.8571 6.78029 13.7352 6.83106C13.6134 6.88183 13.5028 6.95622 13.4098 7.04995L9.16982 11.2899C9.07609 11.3829 9.0017 11.4935 8.95093 11.6154C8.90016 11.7372 8.87402 11.8679 8.87402 11.9999C8.87402 12.132 8.90016 12.2627 8.95093 12.3845C9.0017 12.5064 9.07609 12.617 9.16982 12.7099L13.4098 16.9999C13.5033 17.0926 13.6141 17.166 13.7359 17.2157C13.8578 17.2655 13.9882 17.2907 14.1198 17.2899C14.2514 17.2907 14.3819 17.2655 14.5037 17.2157C14.6256 17.166 14.7364 17.0926 14.8298 16.9999C15.0161 16.8126 15.1206 16.5591 15.1206 16.2949C15.1206 16.0308 15.0161 15.7773 14.8298 15.5899L11.2898 11.9999Z",fill:"#070B12",__self:void 0,__source:{fileName:mA,lineNumber:42}}))),t.createElement("span",{__self:void 0,__source:{fileName:mA,lineNumber:45}},c," of ",l),t.createElement("button",{type:"button",onClick:()=>{c<l&&d(c+1)},disabled:c==l,__self:void 0,__source:{fileName:mA,lineNumber:46}},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:mA,lineNumber:47}},t.createElement("path",{d:"M14.8302 11.2899L10.5902 7.04995C10.4972 6.95622 10.3866 6.88183 10.2648 6.83106C10.1429 6.78029 10.0122 6.75415 9.88019 6.75415C9.74818 6.75415 9.61747 6.78029 9.49561 6.83106C9.37375 6.88183 9.26315 6.95622 9.17019 7.04995C8.98394 7.23731 8.87939 7.49076 8.87939 7.75495C8.87939 8.01913 8.98394 8.27259 9.17019 8.45995L12.7102 11.9999L9.17019 15.5399C8.98394 15.7273 8.87939 15.9808 8.87939 16.2449C8.87939 16.5091 8.98394 16.7626 9.17019 16.9499C9.26363 17.0426 9.37444 17.116 9.49628 17.1657C9.61812 17.2155 9.74858 17.2407 9.88019 17.2399C10.0118 17.2407 10.1423 17.2155 10.2641 17.1657C10.3859 17.116 10.4967 17.0426 10.5902 16.9499L14.8302 12.7099C14.9239 12.617 14.9983 12.5064 15.0491 12.3845C15.0998 12.2627 15.126 12.132 15.126 11.9999C15.126 11.8679 15.0998 11.7372 15.0491 11.6154C14.9983 11.4935 14.9239 11.3829 14.8302 11.2899Z",fill:"#070B12",__self:void 0,__source:{fileName:mA,lineNumber:48}}))))))};export{Tp as Accordion,m as ActionFailed,g as ActionSuccess,D as AppActionsTable,L as AppFormsTable,j as AppModulesTable,G as AuditLog,ie as BankAccounts,se as BankSelector,Jb as BidsCards,ue as BreadcrumbBar,ge as BrokersTable,d as Button,J as ButtonOutline,qa as Chart,ls as ChartMedium,bs as ChartSmall,vs as CookieConsent,Is as CountrySelector,Fs as CurrencyPairs,Zs as DatePicker,$s as DateRangePicker,ic as DisplayField,fc as DropdownList,oA as EmailField,Ac as ExchangeRates,$p as FileUpload,vc as FooterNew,Mc as Indices,Qc as LPRequestTable,Kc as LPSideNav,hd as LPTopBar,Ic as LoadingShimmer,ee as LoadingSpinner,_d as MarketData,zd as MarketMovers,Ud as MenuBar,Jd as NewsCard,iu as NewsFilterBar,ou as NewsSourceTag,su as NewsTitleBar,uA as NumberField,hA as PDFViewer,_ as Pagination,hu as PasswordField,Nu as PaymentMethodsTable,km as PhoneInput,Du as PopupModal,Ru as ProvidersTable,Su as RateHistory,ef as RequestForm,lf as Ribbon,Yb as SSXBar,df as SearchBar,bf as SearchResultsBar,bm as Selector,Nf as SideModal,kf as SmallNewsCard,Lu as StatusBadge,Cm as StepProgress,zf as StocksTicker,Zf as SystemConfigTable,Fd as Tab,qf as Table,om as TableAlternative,im as TablePrimary,rb as TextArea,Ju as TextField,Zp as Tooltip,sb as TransactionDetails,fb as TransactionDetailsWithPayment,Cb as UpdateUserActions,_b as UserActions,Hb as UserRolesTable,Qb as UsersTable,jb as WidgetTitle};
|
|
5404
5412
|
//# sourceMappingURL=index.es.js.map
|