@adyen/kyc-components 4.25.0-beta.2 → 4.26.0-beta.0
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/{4-people-DKuivE0m.js → 4-people-CAxQpi_3.js} +2 -2
- package/dist/{AcceptTermsOfServiceWorkflow-BKWCrZdZ.js → AcceptTermsOfServiceWorkflow-eOcHITwQ.js} +4 -4
- package/dist/{Accordion-D_DOaWj2.js → Accordion-BAdwrgCR.js} +4 -24
- package/dist/{AccountSetupRejected-BtcxtVKO.js → AccountSetupRejected-Jii0yaLC.js} +3 -4
- package/dist/{NodeRenderer-Z10yF5MV.js → AdaptiveWorkflow-B6SIOcbU.js} +87 -34
- package/dist/{AdaptiveWorkflowComponent-C4Q6NVtv.js → AdaptiveWorkflowComponent-we5_UgiI.js} +32 -33
- package/dist/{AddressFields-CFG2_P0x.js → AddressFields-Qq_8lUYz.js} +21 -27
- package/dist/{Avatar-k5lNd5KG.js → Avatar-C2zeqSSB.js} +10 -8
- package/dist/{BusinessFinancingDropin-BjTnxk__.js → BusinessFinancingDropin-gMa--znJ.js} +61 -71
- package/dist/{BusinessFinancingPage-C4dAslMp.js → BusinessFinancingPage-BIdRvI7h.js} +7 -7
- package/dist/{BusinessRegistrationNumberField-Dz1uGvRQ.js → BusinessRegistrationNumberField-Vr3KBWJD.js} +7 -8
- package/dist/{BusinessRegistrationNumberFieldGroup-BFPrFa1_.js → BusinessRegistrationNumberFieldGroup-DLGAFcRN.js} +7 -8
- package/dist/{BusinessTypeSelectionPage-DeWD37jR.js → BusinessTypeSelectionPage-9B2SxGcV.js} +16 -17
- package/dist/{Button-BxdC8cVB.js → Button-Dwr6jvJZ.js} +2 -2
- package/dist/Checkbox-zAGhz7rC.js +114 -0
- package/dist/{ComponentGroup-S6c3rVoX.js → ComponentGroup-DH_CH6bM.js} +4 -4
- package/dist/{ConstitutionalDocument-CNNhKkzD.js → ConstitutionalDocument-DMNlJJzp.js} +25 -28
- package/dist/{ContactDetails-_HCOKj3-.js → ContactDetails-kwe-LwUD.js} +8 -13
- package/dist/{ContextGuidance-v-d9RQuo.js → ContextGuidance-1tQjHxTm.js} +3 -3
- package/dist/CountryField-BkNURmjP.js +56 -0
- package/dist/{Currency-3Z9i_AhY.js → Currency-BjBbhCzV.js} +10 -12
- package/dist/{CustomerSupport-B0UJHtAq.js → CustomerSupport-CT4s3fyC.js} +17 -17
- package/dist/DateField-CJeu0KoS.js +73 -0
- package/dist/{DebugModal-BxebnUyQ.js → DebugModal-YjFFNeOM.js} +12 -17
- package/dist/{DecisionMakerDetails-RF9BoMYF.js → DecisionMakerDetails-B4aCl2kl.js} +21 -24
- package/dist/{DecisionMakerDetailsPage-CGOs2Ubt.js → DecisionMakerDetailsPage-Dg_RbdxY.js} +43 -40
- package/dist/{DecisionMakers-qRoXooYA.js → DecisionMakers-Cq3yVb54.js} +55 -61
- package/dist/{DetailViewLayout-DNCGEd7b.js → DetailViewLayout-DJgAzdlZ.js} +8 -6
- package/dist/{Dropzone-cewfCgXt.js → Dropzone-Cgqct7ux.js} +8 -8
- package/dist/EmailField-CVwmsS5d.js +61 -0
- package/dist/{EmbeddedStatus-Keg7UojY.js → EmbeddedStatus-4YjyzkcD.js} +4 -4
- package/dist/{EndStateLayout-GHEYl82p.js → EndStateLayout-C5Pqler-.js} +3 -3
- package/dist/{EntityAssociation-BPtrqdQR.js → EntityAssociation-DzNk5XbC.js} +7 -7
- package/dist/{ErrorPanel-PefRq1M4.js → ErrorPanel-DtbpEeJk.js} +24 -19
- package/dist/{GlobalEntryModal-CTGSdkW7.js → GlobalEntryModal-D9rqts-z.js} +203 -78
- package/dist/{GlobalEntryPage-CdGXV-QZ.js → GlobalEntryPage-OTglAvMX.js} +10 -10
- package/dist/Icon-_YUEZg1p.js +175 -0
- package/dist/{IdentityNumber-Cz6-4YcM.js → IdentityNumber-9SwAYweE.js} +10 -12
- package/dist/{IdentityNumberFieldGroup-D2PV_4A5.js → IdentityNumberFieldGroup-B9SxTHei.js} +16 -14
- package/dist/{IdentityScreeningWorkflow-mbcaIctn.js → IdentityScreeningWorkflow-C-nLWlJS.js} +16 -16
- package/dist/{Image-Bn_Yyuof.js → Image-CxnjHtP1.js} +1 -1
- package/dist/{IndividualDropin-D1UOavsw.js → IndividualDropin-BpFRq3S4.js} +266 -281
- package/dist/{IndustryCodeFieldGroup-DmOqxPIg.js → IndustryCodeFieldGroup-CEWUFYmK.js} +9 -10
- package/dist/{InputDate-B0RNGCq2.js → InputDate-DjUm9FiK.js} +6 -29
- package/dist/InputDate.utils-D4Ov0KIl.js +25 -0
- package/dist/{InputGroup-B4U3QVEp.js → InputGroup-Bv005B22.js} +7 -6
- package/dist/{InputText-CwPK55J0.js → InputText-DtoBABE5.js} +42 -4
- package/dist/{Introduction-DFW6EaLG.js → Introduction-GW5FJSTJ.js} +9 -9
- package/dist/{InvitedDecisionMakerComponent-hdQc0T7D.js → InvitedDecisionMakerComponent-tahktJVa.js} +45 -45
- package/dist/{JpAddressFields-CzGnXBMk.js → JpAddressFields-CpRh_gFz.js} +13 -13
- package/dist/{LegalCompanyNameField-CV2EgRCw.js → LegalCompanyNameField-Coff77lN.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BiAfoErR.js → LegalRepresentativeDetailsPage-CXMGtJvO.js} +35 -34
- package/dist/{Link-C3dYYTm_.js → Link-D0Yqc2r0.js} +7 -6
- package/dist/{List-ywoRPg-q.js → List-qvNxW9lm.js} +3 -2
- package/dist/{ListItem-CHGVbHhB.js → ListItem-DY-qq1lS.js} +29 -4
- package/dist/{Loader-BVtlpTeo.js → Loader-BDaKGf77.js} +1 -1
- package/dist/{Modal-Dq44ZUNN.js → Modal-Dx_NESnV.js} +25 -5
- package/dist/{Name-BfQr3et_.js → Name-CrLaukRh.js} +5 -5
- package/dist/NumberField-CS93IGoS.js +60 -0
- package/dist/{PatriotActDisclosure-BNAsJXEL.js → PatriotActDisclosure-C3jKKi6y.js} +11 -12
- package/dist/{PayoutDetailsDropin-NyizAaYy.js → PayoutDetailsDropin-BxOJ9P17.js} +163 -158
- package/dist/{PayoutDetailsPage-NM0Eqf4K.js → PayoutDetailsPage-BxaCk685.js} +10 -9
- package/dist/{Review-CzgmjDcZ.js → Review-C81Qsrkg.js} +25 -24
- package/dist/{RootBusinessDetailsPage-B1a0hu8F.js → RootBusinessDetailsPage-CwRyRbEv.js} +9 -7
- package/dist/{RootBusinessLinesPage-Dv1uT7OS.js → RootBusinessLinesPage-C3GZQ-KO.js} +48 -53
- package/dist/{RootIndividualDetailsPage-vkjzmyF7.js → RootIndividualDetailsPage-CvVVlkJI.js} +42 -39
- package/dist/{Select-prMx73V9.js → Select-AiAom5JL.js} +330 -19
- package/dist/{SignPCIComponent-CIkdVNH2.js → SignPCIComponent-Dmr9dDYB.js} +19 -23
- package/dist/{SingpassSelection-B6NONcr4.js → SingpassSelection-BXHvwmgp.js} +7 -7
- package/dist/Skeleton-7xDqhYr-.js +30 -0
- package/dist/{SoleProprietorshipPage-BmNs557C.js → SoleProprietorshipPage-DKL4anrn.js} +7 -7
- package/dist/{SourceOfFundsPage-B5nZ3MjN.js → SourceOfFundsPage-2dxP6dlL.js} +46 -58
- package/dist/{SourceOfFundsWorkflow-IkLZG9JI.js → SourceOfFundsWorkflow-Didn1fld.js} +4 -4
- package/dist/{StackLayout-IUdNMDgW.js → StackLayout-J1ynSX-P.js} +6 -5
- package/dist/{utils-lIizXlcC.js → StateField-BoIVEnaZ.js} +89 -3
- package/dist/{Step-BJh4XZae.js → Step-CiwqdcuY.js} +19 -13
- package/dist/SummarySection-B6A_AT1m.js +60 -0
- package/dist/{Task-yQcY16x1.js → Task-CJDcviJ6.js} +8 -8
- package/dist/{TaskGroup-C9iFHpux.js → TaskGroup-BXkrbyTG.js} +5 -5
- package/dist/{TaskListItem-ChlmCIfF.js → TaskListItem-CQXvVRWG.js} +11 -11
- package/dist/{TaskStepperContextProvider-I7talGDO.js → TaskStepperContextProvider-9wlnwii7.js} +1 -1
- package/dist/{TaskVerificationStatus-Bd5Eftf2.js → TaskVerificationStatus-zoxTZ2mt.js} +3 -3
- package/dist/{TaxInformationFieldGroup-Dq0J9rBU.js → TaxInformationFieldGroup-CnaGMge9.js} +19 -18
- package/dist/{TaxReportingDropin-Cq3gBWtp.js → TaxReportingDropin-F4e4CxiC.js} +22 -26
- package/dist/{TaxReportingWorkflow-flQPRAPy.js → TaxReportingWorkflow-Caa_klQR.js} +4 -4
- package/dist/{TermsOfServiceManagement-BM5K4cpw.js → TermsOfServiceManagement-5x2f0QgC.js} +21 -30
- package/dist/{TextArea-C12oXMzX.js → TextArea-eJQFkYyd.js} +5 -5
- package/dist/TextField-Ca7rT4tr.js +73 -0
- package/dist/{TrustDetailsPage-z7s9FxVC.js → TrustDetailsPage-D3RkKlpJ.js} +59 -67
- package/dist/{TrustMemberCompanyPage-tU2HTiDG.js → TrustMemberCompanyPage-BvBxQg7D.js} +8 -8
- package/dist/{TrustMemberIndividualPage-BLBtnoSq.js → TrustMemberIndividualPage-D4idWK8j.js} +35 -34
- package/dist/{TrustMemberRoleAndTypePage-DIwrtOWr.js → TrustMemberRoleAndTypePage-CyKm_knd.js} +23 -30
- package/dist/{TrustMembersOverview-CowTgfIb.js → TrustMembersOverview-BnP0wZSf.js} +18 -22
- package/dist/{UboTaskItem-CZLDzQil.js → UboTaskItem-Degn5OyC.js} +8 -8
- package/dist/{UnincorporatedPartnershipIndividualPage-BT0j54-O.js → UnincorporatedPartnershipIndividualPage-Bgb4oCRJ.js} +35 -34
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DFOoV0wQ.js → UnincorporatedPartnershipMemberCompanyPage-T6SOH3Mv.js} +8 -8
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-D973uyHj.js → UnincorporatedPartnershipMemberRoleAndTypePage-BVfav_Z_.js} +14 -16
- package/dist/{UnincorporatedPartnershipMembersOverview-5w1BrDMI.js → UnincorporatedPartnershipMembersOverview-DPW48_Lv.js} +11 -14
- package/dist/VerificationErrorAlert-q1SEqBXx.js +68 -0
- package/dist/WebsiteField-CnOU49Hn.js +62 -0
- package/dist/{Workflow-CF-HUIjR.js → Workflow-D298oRt0.js} +9 -9
- package/dist/{accountHolderUtils-CAu4V0ed.js → accountHolderUtils-CLuKAgaj.js} +3 -3
- package/dist/adyen-business-financing.js +8 -9
- package/dist/adyen-individual-configuration.js +36 -36
- package/dist/adyen-individual-status.js +8 -9
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +61 -59
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +6 -7
- package/dist/adyen-transfer-instrument-configuration.js +7 -8
- package/dist/adyen-transfer-instrument-management.js +16 -22
- package/dist/adyen-verification-status.js +7 -9
- package/dist/{arrow-right-D2hul7WG.js → arrow-right-BwP9nNDE.js} +2 -2
- package/dist/bafinUtils-CsDthERR.js +3548 -0
- package/dist/{bag-CRRS1aow.js → bag-Cnk9dcZg.js} +2 -2
- package/dist/{bank-BoirCLLW.js → bank-UssyP-aG.js} +2 -2
- package/dist/bg-BG-C7z9VtPy.js +7 -0
- package/dist/{bin-BOmfqfrr.js → bin--Ft4cPCj.js} +2 -2
- package/dist/{capital-DTjbiurV.js → capital-BbOFhTHY.js} +2 -2
- package/dist/{cash-stack-7KpYpBek.js → cash-stack-LTzc8hQZ.js} +2 -2
- package/dist/{certificate-BPuoJ6Ip.js → certificate-CswNcwlI.js} +2 -2
- package/dist/{checkmark-BiSLf8M1.js → checkmark-DH1abKZn.js} +2 -2
- package/dist/{checkmark-circle-Ams7bSve.js → checkmark-circle-VWM-JsI6.js} +2 -2
- package/dist/{checkmark-circle-fill-_p4ss4ac.js → checkmark-circle-fill-AuW2DQDT.js} +2 -2
- package/dist/{checkmark-small-3bw4ftPV.js → checkmark-small-B6vsnsSO.js} +2 -2
- package/dist/{chevron-down-GgZawvoy.js → chevron-down-BGAMP7CF.js} +2 -2
- package/dist/{chevron-left-TeZTTvo5.js → chevron-left-EjFIt8Cd.js} +2 -2
- package/dist/{chevron-right-Cg8XlTxx.js → chevron-right-B5zb9mkt.js} +2 -2
- package/dist/{chevron-up-COQUTli0.js → chevron-up-DZiittpJ.js} +2 -2
- package/dist/{circle-CypWzg83.js → circle-CygvxRY_.js} +2 -2
- package/dist/{circle-small-filled-DfdK2A35.js → circle-small-filled-PeElhgJU.js} +2 -2
- package/dist/{clock-DmfGJ2r9.js → clock-CQXEE5jK.js} +2 -2
- package/dist/{coins-CBvbB8_X.js → coins-C7syygUR.js} +2 -2
- package/dist/{constants-DAb_IqC6.js → constants-Dvga6KjU.js} +7 -8
- package/dist/{contract-D1_RJ_xh.js → contract-BWEAd7e-.js} +2 -2
- package/dist/{countries-BGMTpyJv.js → countries-ZMuvRtQR.js} +1 -1
- package/dist/{country-BEZkohEO.js → country-WYlusjTL.js} +2 -2
- package/dist/{cross-circle-fill-CUXdo1x-.js → cross-circle-fill-Bxj_fgQE.js} +2 -2
- package/dist/cross-circle-fill-small-DwUKcL9P.js +20 -0
- package/dist/{cross-BORHADVQ.js → cross-vK6qh9R0.js} +2 -2
- package/dist/cs-CZ-B_u3kWRS.js +7 -0
- package/dist/da-DK-s_nCUhFO.js +7 -0
- package/dist/de-DE-5lHcZmT6.js +7 -0
- package/dist/{decisionMakerRoles-JEb0ON4e.js → decisionMakerRoles-DA8MK9Dh.js} +2 -2
- package/dist/{document-1-qvV57JdS.js → document-1-BPWF8zKf.js} +2 -2
- package/dist/{document-person-DiJ7M8-D.js → document-person-DVRFNq7g.js} +2 -2
- package/dist/{documentUtils-CxjFpoJB.js → documentUtils-6K3LdjjN.js} +6 -4
- package/dist/{download-Ca4w0Yfr.js → download-DfdpoHdN.js} +2 -2
- package/dist/dropinUtils-CSlRmPSn.js +2572 -0
- package/dist/{edit-1-D8VhDchs.js → edit-1-BgVB06zI.js} +2 -2
- package/dist/el-GR-DTaQeK-A.js +7 -0
- package/dist/{entityAssociationUtil-CY0grcyH.js → entityAssociationUtil-BlfcBl3i.js} +1 -1
- package/dist/{error-DrzrPjvf.js → error-DjErFfKK.js} +3 -3
- package/dist/es-ES-tZMJvO6B.js +7 -0
- package/dist/es-LA-C0x1nQUQ.js +7 -0
- package/dist/et-EE-BqB-3lW_.js +7 -0
- package/dist/{external-link-Dy4le-8Q.js → external-link-BbXGAtFE.js} +2 -2
- package/dist/fi-FI-BpwWFhLW.js +7 -0
- package/dist/{form-rules-DhuNdiqF.js → form-rules-HzaYJh36.js} +90 -5
- package/dist/{formatValidationError-z2D5oU1e.js → formatValidationError-D3vBdIym.js} +2 -2
- package/dist/fr-FR-DMPXwPYV.js +7 -0
- package/dist/{getDefaultRegistrationNumberType-BNO2BcfK.js → getDefaultRegistrationNumberType-CiEvyeR9.js} +5 -7
- package/dist/{useAssociatedLegalEntity-BdcoiUby.js → getFormSlice-CxtXJ0-P.js} +23 -5
- package/dist/{getName-DgxRqagk.js → getName-Cii7OyRd.js} +2 -2
- package/dist/{getProblemsForEntity-BY_voJ99.js → getProblemsForEntity-mdb3Bfpj.js} +3 -3
- package/dist/{getTrustedDecisionMakers-Ta-pURcL.js → getTrustedDecisionMakers-D89oYOLp.js} +2 -2
- package/dist/getValidationError-DvQgc-X3.js +19 -0
- package/dist/{gift-Bs_mAgul.js → gift-BjS6ErNG.js} +2 -2
- package/dist/{graph-Co0JhGiY.js → graph-B8rX9eXr.js} +2 -2
- package/dist/{graph-up-DIvH9haf.js → graph-up-Dwaq7upe.js} +2 -2
- package/dist/{headquarter-BESfDGKh.js → headquarter-CXwws_UP.js} +2 -2
- package/dist/{hotel-Vne7G5M6.js → hotel-CD5Lv9P7.js} +2 -2
- package/dist/hr-HR-D5kV_w60.js +7 -0
- package/dist/{http-DsJtugN1.js → http-C8rt2BZk.js} +5 -4
- package/dist/hu-HU-Bl1dnZfO.js +7 -0
- package/dist/{image-BQM21XCk.js → image-BTE2a8ZV.js} +2 -2
- package/dist/{info-DExoPRH5.js → info-BTc0bCCM.js} +2 -2
- package/dist/{info-filled-11KMeUso.js → info-filled-DhYinieW.js} +2 -2
- package/dist/it-IT-DiuPLWbr.js +7 -0
- package/dist/ja-JP-COBWjdXk.js +7 -0
- package/dist/{legalArrangementUtils-C68JdH6I.js → legalArrangementUtils-Crgt_L7h.js} +1 -1
- package/dist/{location-zRH5zJ8c.js → location-CwE3Q0gg.js} +2 -2
- package/dist/lt-LT-D9Pum2_8.js +7 -0
- package/dist/lv-LV-DDcLP43G.js +7 -0
- package/dist/{mail-i1-zg-cv.js → mail-CIeugZTd.js} +2 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js → mapAddressLocalizationToJpAddressSchema-BLOAhwWM.js} +2 -2
- package/dist/{mapExistingFile-RrS8dCpX.js → mapExistingFile-BXfeQxev.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-wwD6Rp3Q.js → mapJpAddressSchemaToAddressLocalizations-cseKFm-l.js} +16 -15
- package/dist/{mapLegalEntityToIndividualSchema-DtT3pcZJ.js → mapLegalEntityToIndividualSchema-DvGFy20Z.js} +12 -13
- package/dist/{mapTransferInstrumentToPayoutAccount-BpXU-nP1.js → mapTransferInstrumentToPayoutAccount-Cq7PMPOa.js} +4 -4
- package/dist/{minus-circle-filled-CxUdRO8J.js → minus-circle-filled-96DZCdcJ.js} +2 -2
- package/dist/nl-NL-CBRRvqAY.js +7 -0
- package/dist/no-NO-C9lYR_fQ.js +7 -0
- package/dist/{options-horizontal-D86T_xAF.js → options-horizontal-BU9r-Xx3.js} +2 -2
- package/dist/{partner-Dje0ykF6.js → partner-C1SWc0pB.js} +2 -2
- package/dist/{pay-by-link-plane-DAiddPu6.js → pay-by-link-plane-xK4Zkol0.js} +2 -2
- package/dist/{payout-DKiGv3F9.js → payout-zGf0LNbo.js} +2 -2
- package/dist/{pdf-CC8vqpTo.js → pdf-Bbs3Ji9v.js} +157 -174
- package/dist/{pdf.worker.min-CdKJICZZ.js → pdf.worker.min-DTQpK-0h.js} +67 -58
- package/dist/{person-DgALGIIz.js → person-xTKhpEGR.js} +2 -2
- package/dist/pl-PL-CZST_1gV.js +7 -0
- package/dist/{plus-DlQKP2C9.js → plus-Cm_dWRpB.js} +2 -2
- package/dist/{plus-circle-filled-BntUOVIJ.js → plus-circle-filled-Df77eidx.js} +2 -2
- package/dist/{processCapabilities-CWE5UFt8.js → processCapabilities-FL4-KAbd.js} +7 -9
- package/dist/{processValidationErrors-CFU1x_1n.js → processValidationErrors-Cn-RYAun.js} +4 -4
- package/dist/pt-BR-C32QroLH.js +7 -0
- package/dist/pt-PT-ByfmK1XA.js +7 -0
- package/dist/{recurring-DZgT_ekJ.js → recurring-BfwVHJ2Z.js} +2 -2
- package/dist/resolveEnvironment-D8-1H8bU.js +2516 -0
- package/dist/{revenue-accelerate-aMLYFVW6.js → revenue-accelerate-ClN0cx7Z.js} +2 -2
- package/dist/ro-RO-YkglLwfY.js +7 -0
- package/dist/{save-uDNye08N.js → save-QK2A-teG.js} +2 -2
- package/dist/{search-0OS6oe8N.js → search-DVSyT7Q7.js} +2 -2
- package/dist/{uppercase-DvjwUM0n.js → sharedValidators-DODW7kuK.js} +5 -3
- package/dist/{show-BWoS9-Y1.js → show-BRWLIRSA.js} +2 -2
- package/dist/sk-SK-BYRIVzdY.js +7 -0
- package/dist/sl-SI-Cjub_bfF.js +7 -0
- package/dist/{solution-payments-BMal7uJZ.js → solution-payments-BZZceFVV.js} +2 -2
- package/dist/{store-N7ZA4FKy.js → store-DLKKLXhn.js} +2 -2
- package/dist/style.css +1418 -1157
- package/dist/styles-DYaAeu4q.js +1418 -1157
- package/dist/sv-SE-1re-9Lp8.js +7 -0
- package/dist/{terminal-1-0RlQpbUC.js → terminal-1-CpAyEdjO.js} +2 -2
- package/dist/{translation-DbATp_35.js → translation-CpH8D2NK.js} +34 -30
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +19 -2
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/CountryField/CountryField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/CountryField/contextMap.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/DateField/DateField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/DateField/contextMap.d.ts +9 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/DateField/validators.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/EmailField/EmailField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/EmailField/contextMap.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/EmailField/validators.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/NumberField/NumberField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/NumberField/contextMap.d.ts +9 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/NumberField/validators.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/TextField/TextField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/TextField/contextMap.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/TextField/validators.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/WebsiteField/WebsiteField.d.ts +4 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/WebsiteField/contextMap.d.ts +10 -0
- package/dist/types/adaptiveWorkflow/components/Shared/Fields/WebsiteField/validators.d.ts +3 -0
- package/dist/types/adaptiveWorkflow/utils/validators/getValidationError.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/utils/validators/sharedValidators.d.ts +3 -0
- package/dist/types/adaptiveWorkflow/utils/validators/types.d.ts +6 -0
- package/dist/types/api/adaptive/useAdaptiveWorkflow.d.ts +1 -1
- package/dist/types/api/address/useAddressCleanse.d.ts +2 -2
- package/dist/types/api/address/useRetrieveAddress.d.ts +2 -2
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +2 -2
- package/dist/types/api/address/useSearchAddress.d.ts +2 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -1
- package/dist/types/api/companySearch/useCompanySearch.d.ts +6 -293
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -2
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
- package/dist/types/api/documents/useDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocuments.d.ts +2 -2
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -3
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +2 -2
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -1
- package/dist/types/api/invitations/useInvitationStatus.d.ts +1 -1
- package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +2 -2
- package/dist/types/api/invitedEntity/useInvitedEntityRootCapabilities.d.ts +2 -2
- package/dist/types/api/invitedEntity/useInvitedEntityVerificationErrors.d.ts +2 -2
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +9 -9
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -1
- package/dist/types/api/pci/usePciQuestionnaireList.d.ts +2 -2
- package/dist/types/api/pci/usePciStatus.d.ts +2 -2
- package/dist/types/api/pci/usePciTemplate.d.ts +2 -2
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
- package/dist/types/api/taskStatus/useTaskStatuses.d.ts +2 -2
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +2 -2
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +2 -2
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +2 -2
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -2
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +5 -245
- package/dist/types/api/toggles/useToggles.d.ts +1 -1
- package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -2
- package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +3 -2
- package/dist/types/components/Business/forms/rules.d.ts +3 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +3 -2
- package/dist/types/components/GlobalEntry/hooks/usePrefetchCompanySearch.d.ts +11 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +1 -1
- package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +3 -1
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +4 -2
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +7 -6
- package/dist/types/components/Shared/SummarySection/SummarySection.d.ts +12 -4
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +11 -1
- package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -1
- package/dist/types/context/SettingsContext/types.d.ts +8 -0
- package/dist/types/context/ToggleContext/types.d.ts +3 -13
- package/dist/types/utils/japanSupportUtils.d.ts +2 -2
- package/dist/types/utils/validatorUtils.d.ts +2 -0
- package/dist/{types-D6p5FQF-.js → types-BymnGWO9.js} +1 -1
- package/dist/{types-B9zXzag-.js → types-qahGXhtr.js} +1 -1
- package/dist/{upload-C5NC1E4N.js → upload-BI7LKlDm.js} +2 -2
- package/dist/{useAdaptiveWorkflow-DsQESk9f.js → useAdaptiveWorkflow-B35cXauP.js} +1 -1
- package/dist/{useBusinessDetailsData-dsYTeDom.js → useBusinessDetailsData-BEM6OCqH.js} +132 -150
- package/dist/{useBusinessLines-BhSN6qCH.js → useBusinessLines-0FcuDMzo.js} +1 -1
- package/dist/{useCanSeeIntroduction-BLGY7sE-.js → useCanSeeIntroduction-B6BDOCm_.js} +5 -5
- package/dist/{useDataMissingRemediations-ttUrk09_.js → useDataMissingRemediations-DKjYzfe2.js} +3 -3
- package/dist/{useForm-BFeaSvlP.js → useForm-fYu8sJ-i.js} +6 -6
- package/dist/{useHideTaskStepper-C_w6iUY-.js → useHideTaskStepper-BgCN--mG.js} +1 -1
- package/dist/{invalidateRootLegalEntity-B97dCa-s.js → useId-CEUET5IS.js} +32 -4
- package/dist/{useIndustryCodes-uAj90IyS.js → useIndustryCodes-La1cU8oH.js} +1 -1
- package/dist/{useLegalEntity-QQXN6YOm.js → useLegalEntity-CxeMoCm4.js} +4 -3
- package/dist/{useNavigate-J0sRAAoI.js → useNavigate-B1z7McBl.js} +33 -33
- package/dist/{useOnboardingStatus-CsGUjkm-.js → useOnboardingStatus-CX8IrDe_.js} +1 -1
- package/dist/{usePciQuestionnaireList-CFNJD8pS.js → usePciQuestionnaireList-CB_tjNsz.js} +1 -1
- package/dist/{useSalesChannels-huIL6Dhk.js → useSalesChannels-DJAmDo-r.js} +5 -5
- package/dist/{useScenarios-DV2TeNvN.js → useScenarios-DfE71fl7.js} +7 -6
- package/dist/{useSettingsContext-9O3Aqpfq.js → useSettingsContext-Bpf4UqRT.js} +6 -3
- package/dist/{useTaskLandedEvent-DwZHcMEQ.js → useTaskLandedEvent-BtuFBe20.js} +2 -2
- package/dist/{useTaskStatus-CgrhdaE_.js → useTaskStatus-4nAPf_uD.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DbJDklA2.js → useTermsOfServiceStatus-FDpSDjco.js} +1 -1
- package/dist/{useTrustMembers-uhgi2qfN.js → useTrustMembers-D3sCwcaT.js} +9 -8
- package/dist/{useUnincorporatedPartnershipMembers-DVEWj1is.js → useUnincorporatedPartnershipMembers-DcfQJdVZ.js} +5 -5
- package/dist/{useUpdateBusinessLines-DCKYTzxd.js → useUpdateBusinessLines-B-pF2YT-.js} +1 -1
- package/dist/{utils-SKYT7xU4.js → utils-BFxg3gPM.js} +2 -2
- package/dist/{utils-D8pwjFm5.js → utils-CcBgYW2P.js} +5 -6
- package/dist/utils-Oc-YLiM0.js +214 -0
- package/dist/{validate-BBVJuFm5.js → validate-1rlz-OH4.js} +15 -17
- package/dist/{validate-Bkpa-y5Q.js → validate-B2P8hpA5.js} +7 -7
- package/dist/{validate-t6pT7AaZ.js → validate-S1Bm0XnT.js} +3 -3
- package/dist/{validate-Dmdw3pYn.js → validate-x5CYfY5E.js} +2 -2
- package/dist/{validateExtractionResult-qkFkcrwl.js → validateExtractionResult-IRRMwcNi.js} +5 -7
- package/dist/{warning-circle-fill-C2lMYPJW.js → warning-circle-fill-ClFvGo5m.js} +2 -2
- package/dist/{warning-diamond-filled-CQ2DdW5g.js → warning-diamond-filled-CWyKR65i.js} +2 -2
- package/dist/{webinar-BpZWqd-g.js → webinar-DWX7Z5Wz.js} +2 -2
- package/package.json +36 -36
- package/dist/AdaptiveWorkflow-2EE8iiMD.js +0 -33
- package/dist/Alert-BqbbDRYR.js +0 -172
- package/dist/AnalyticsContext-CpimDlw4.js +0 -21
- package/dist/Checkbox-qfdF12cF.js +0 -60
- package/dist/Confirm-DjFpxSzC.js +0 -77
- package/dist/CountryField-CMOB4yz4.js +0 -38
- package/dist/DataConflictsModal-8Nnj7_UD.js +0 -238
- package/dist/Field-Df7ajJE2.js +0 -154
- package/dist/FormFlow.module-DqMxjYHl.js +0 -20
- package/dist/Header-DvifUz7-.js +0 -93
- package/dist/Icon-DFQgr7dy.js +0 -175
- package/dist/LandingLayout-BsIoIFzs.js +0 -76
- package/dist/LegalName-BYQ12uWc.js +0 -33
- package/dist/LoaderWrapper-Dc88hY-P.js +0 -34
- package/dist/MaskedInput-CkDwzLxe.js +0 -719
- package/dist/MaybeModal-Dfm1rIUG.js +0 -24
- package/dist/NewSummary-DYLlnpwx.js +0 -73
- package/dist/ProgressBar-DWFxLMUA.js +0 -38
- package/dist/RadioGroup-CY33MT83.js +0 -47
- package/dist/RadioWithLabel-BmUFWDxq.js +0 -45
- package/dist/SettingsContext-Dl-9WWCI.js +0 -9
- package/dist/StateContext-B2_Pqd_y.js +0 -9
- package/dist/StateField-BiNI3dm9.js +0 -55
- package/dist/StructuredList-BHUmeWeh.js +0 -56
- package/dist/Summary-BTDbRMfh.js +0 -235
- package/dist/TaxInformationField--Uhp0zLv.js +0 -242
- package/dist/TileGroup-BFcSgQ1l.js +0 -172
- package/dist/ToastContext-B_wd2IY2.js +0 -13
- package/dist/ToastContextProvider-BSQ1Upl_.js +0 -103
- package/dist/VerificationErrorAlert-B6HmAZ0g.js +0 -38
- package/dist/_rolldown_dynamic_import_helper-sGNwd-kR.js +0 -14
- package/dist/bafinUtils-RXELXyTR.js +0 -96
- package/dist/bg-BG-DfbtcqF4.js +0 -7
- package/dist/birthDateUtils-D6uk7zwm.js +0 -84
- package/dist/businessRegistrationNumberPatterns-pbrCVTTp.js +0 -982
- package/dist/cross-circle-fill-small-DdoPZZeo.js +0 -20
- package/dist/cs-CZ-CajuRLo4.js +0 -7
- package/dist/da-DK-BEwmSejn.js +0 -7
- package/dist/datasetUtil-BdHPWsxZ.js +0 -45
- package/dist/de-DE-PyK3jl-6.js +0 -7
- package/dist/debouncedInputEvent-Fwwp_K_-.js +0 -54
- package/dist/debugStore-Dwn1FXrh.js +0 -9
- package/dist/dropinUtils-OsMsnnYG.js +0 -496
- package/dist/el-GR-KPFghikv.js +0 -7
- package/dist/es-ES-z4jLCvkJ.js +0 -7
- package/dist/es-LA-Dx4QymCh.js +0 -7
- package/dist/et-EE-1EhDxtTe.js +0 -7
- package/dist/fi-FI-Dc2RMc_u.js +0 -7
- package/dist/fieldConfigurations-CZCFghnK.js +0 -11
- package/dist/formFieldsUtils-CnDkgahc.js +0 -7
- package/dist/formUtils-BHgG8yQZ.js +0 -52
- package/dist/formUtils-DAKrWwgL.js +0 -84
- package/dist/fr-FR-DswL4wQ1.js +0 -7
- package/dist/getFormSlice-C1ma6Xd4.js +0 -21
- package/dist/getTrustedFields-BJ88GlM-.js +0 -28
- package/dist/globalStore--_np-9ON.js +0 -418
- package/dist/hr-HR-DI2D_V50.js +0 -7
- package/dist/hu-HU-lyRcZjGI.js +0 -7
- package/dist/isEmpty-Uewyl-r6.js +0 -14
- package/dist/isEmptyEntity-3OHnhXqG.js +0 -43
- package/dist/it-IT-Bn4CEcmI.js +0 -7
- package/dist/ja-JP-CAX_xwUx.js +0 -7
- package/dist/keys-Ce8YnRP2.js +0 -20
- package/dist/listToRecord-DumSkYDz.js +0 -10
- package/dist/lt-LT-BdgYuJW7.js +0 -7
- package/dist/lv-LV-Bz5c0Psg.js +0 -7
- package/dist/mapScriptLocalization-BCfkZo1y.js +0 -46
- package/dist/nl-NL-BE2cQh0x.js +0 -7
- package/dist/no-NO-vgzpp44v.js +0 -7
- package/dist/patternValidators-DsrZkuOO.js +0 -73
- package/dist/pl-PL-DgDSRVmp.js +0 -7
- package/dist/pt-BR-BaKp-J8F.js +0 -7
- package/dist/pt-PT-Df48oeP5.js +0 -7
- package/dist/resolveEnvironment-CcCbs90B.js +0 -999
- package/dist/ro-RO-CTMsv_EY.js +0 -7
- package/dist/roleMetadata-CbgaYaH8.js +0 -56
- package/dist/sk-SK-oqO5I3Aw.js +0 -7
- package/dist/sl-SI-CQhJFnpj.js +0 -7
- package/dist/summaryItem-uDWmtYtt.js +0 -16
- package/dist/sv-SE-CmevESLi.js +0 -7
- package/dist/toFullWidth-Dgy4X4i8.js +0 -52
- package/dist/trustUtil-BG17fZ56.js +0 -98
- package/dist/types/adaptiveWorkflow/components/Fields/LegalName.d.ts +0 -14
- package/dist/types-B28r2lAW.js +0 -30
- package/dist/types-CZAHRt31.js +0 -147
- package/dist/useAccountHolder-BpIX1iBG.js +0 -102
- package/dist/useAllowedCountries-qyvo-c6A.js +0 -80
- package/dist/useAnalyticsContext-gSnRnYgV.js +0 -12
- package/dist/useCreateLegalEntity-CYZd_62a.js +0 -24
- package/dist/useDataset-K19TDoyR.js +0 -98
- package/dist/useDeleteTransferInstrument-C10xzHiO.js +0 -31
- package/dist/useId-BkDhUta2.js +0 -28
- package/dist/useMultiForm-CM3lpilP.js +0 -790
- package/dist/useToastContext-B6Mqc2HY.js +0 -12
- package/dist/useToggleContext-B_YexrbT.js +0 -21
- package/dist/useUpdateLegalEntity-B7LRg8m0.js +0 -29
- package/dist/utils-BLBh0VEd.js +0 -1755
- package/dist/utils-CYUYe54m.js +0 -24
- package/dist/utils-DdHbAadK.js +0 -80
- package/dist/validationError-DUn2rT0n.js +0 -55
- package/dist/validationResult-bjYBDjbU.js +0 -29
- package/dist/validatorUtils-D2O6AAZn.js +0 -106
- /package/dist/{pt-BR-CPbFPNwq2.js → pt-BR-CPbFPNwq.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3ffb93f2-46af-4f24-92ba-238492826997", e._sentryDebugIdIdentifier = "sentry-dbid-3ffb93f2-46af-4f24-92ba-238492826997");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
var __webpack_require__ = {};
|
|
6
6
|
(() => {
|
|
@@ -779,7 +779,6 @@ var XfaLayer = class {
|
|
|
779
779
|
const value = options.selectedIndex === -1 ? "" : options[options.selectedIndex].value;
|
|
780
780
|
storage.setValue(id, { value });
|
|
781
781
|
});
|
|
782
|
-
break;
|
|
783
782
|
}
|
|
784
783
|
}
|
|
785
784
|
static setAttributes({ html, element, storage = null, intent, linkService }) {
|
|
@@ -1386,9 +1385,7 @@ function RGBToHSL(rgb, output) {
|
|
|
1386
1385
|
case g:
|
|
1387
1386
|
output[0] = ((b - r) / d + 2) * 60;
|
|
1388
1387
|
break;
|
|
1389
|
-
case b:
|
|
1390
|
-
output[0] = ((r - g) / d + 4) * 60;
|
|
1391
|
-
break;
|
|
1388
|
+
case b: output[0] = ((r - g) / d + 4) * 60;
|
|
1392
1389
|
}
|
|
1393
1390
|
}
|
|
1394
1391
|
output[2] = l;
|
|
@@ -1431,7 +1428,6 @@ function HSLToRGB(hsl, output) {
|
|
|
1431
1428
|
output[0] = c + m;
|
|
1432
1429
|
output[1] = m;
|
|
1433
1430
|
output[2] = x + m;
|
|
1434
|
-
break;
|
|
1435
1431
|
}
|
|
1436
1432
|
}
|
|
1437
1433
|
function computeLuminance(x) {
|
|
@@ -1521,9 +1517,7 @@ function makePathFromDrawOPS(data) {
|
|
|
1521
1517
|
case DrawOPS.closePath:
|
|
1522
1518
|
path.closePath();
|
|
1523
1519
|
break;
|
|
1524
|
-
default:
|
|
1525
|
-
warn(`Unrecognized drawing path operator: ${data[i - 1]}`);
|
|
1526
|
-
break;
|
|
1520
|
+
default: warn(`Unrecognized drawing path operator: ${data[i - 1]}`);
|
|
1527
1521
|
}
|
|
1528
1522
|
return path;
|
|
1529
1523
|
}
|
|
@@ -1659,7 +1653,6 @@ var EditorToolbar = class EditorToolbar {
|
|
|
1659
1653
|
this.#comment = null;
|
|
1660
1654
|
this.#commentButtonDivider?.remove();
|
|
1661
1655
|
this.#commentButtonDivider = null;
|
|
1662
|
-
break;
|
|
1663
1656
|
}
|
|
1664
1657
|
}
|
|
1665
1658
|
async addButton(name, tool) {
|
|
@@ -1676,9 +1669,7 @@ var EditorToolbar = class EditorToolbar {
|
|
|
1676
1669
|
case "delete":
|
|
1677
1670
|
this.addDeleteButton();
|
|
1678
1671
|
break;
|
|
1679
|
-
case "comment":
|
|
1680
|
-
if (tool) this.addComment(tool);
|
|
1681
|
-
break;
|
|
1672
|
+
case "comment": if (tool) this.addComment(tool);
|
|
1682
1673
|
}
|
|
1683
1674
|
}
|
|
1684
1675
|
async addButtonBefore(name, tool, beforeSelector) {
|
|
@@ -2519,9 +2510,7 @@ var AnnotationEditorUIManager = class AnnotationEditorUIManager {
|
|
|
2519
2510
|
}
|
|
2520
2511
|
onSetPreference({ name, value }) {
|
|
2521
2512
|
switch (name) {
|
|
2522
|
-
case "enableNewAltTextWhenAddingImage":
|
|
2523
|
-
this.#enableNewAltTextWhenAddingImage = value;
|
|
2524
|
-
break;
|
|
2513
|
+
case "enableNewAltTextWhenAddingImage": this.#enableNewAltTextWhenAddingImage = value;
|
|
2525
2514
|
}
|
|
2526
2515
|
}
|
|
2527
2516
|
onPageChanging({ pageNumber }) {
|
|
@@ -2858,9 +2847,7 @@ var AnnotationEditorUIManager = class AnnotationEditorUIManager {
|
|
|
2858
2847
|
case "highlightSelection":
|
|
2859
2848
|
this.highlightSelection("context_menu");
|
|
2860
2849
|
break;
|
|
2861
|
-
case "commentSelection":
|
|
2862
|
-
this.commentSelection("context_menu");
|
|
2863
|
-
break;
|
|
2850
|
+
case "commentSelection": this.commentSelection("context_menu");
|
|
2864
2851
|
}
|
|
2865
2852
|
}
|
|
2866
2853
|
updatePageIndex(oldPageIndex, newPageIndex) {
|
|
@@ -3047,7 +3034,6 @@ var AnnotationEditorUIManager = class AnnotationEditorUIManager {
|
|
|
3047
3034
|
});
|
|
3048
3035
|
(this.#showAllStates ||= /* @__PURE__ */ new Map()).set(type, value);
|
|
3049
3036
|
this.showAllEditors("highlight", value);
|
|
3050
|
-
break;
|
|
3051
3037
|
}
|
|
3052
3038
|
if (this.hasSelection) for (const editor of this.#selectedEditors) editor.updateParams(type, value);
|
|
3053
3039
|
else for (const editorType of this.#editorTypes) editorType.updateDefaultParams(type, value);
|
|
@@ -3414,14 +3400,12 @@ var AnnotationEditorUIManager = class AnnotationEditorUIManager {
|
|
|
3414
3400
|
height: w / parentWidth
|
|
3415
3401
|
});
|
|
3416
3402
|
break;
|
|
3417
|
-
default:
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
});
|
|
3424
|
-
break;
|
|
3403
|
+
default: rotator = (x, y, w, h) => ({
|
|
3404
|
+
x: (x - layerX) / parentWidth,
|
|
3405
|
+
y: (y - layerY) / parentHeight,
|
|
3406
|
+
width: w / parentWidth,
|
|
3407
|
+
height: h / parentHeight
|
|
3408
|
+
});
|
|
3425
3409
|
}
|
|
3426
3410
|
const boxes = [];
|
|
3427
3411
|
for (let i = 0, ii = selection.rangeCount; i < ii; i++) {
|
|
@@ -4214,7 +4198,6 @@ var AnnotationEditor = class AnnotationEditor {
|
|
|
4214
4198
|
default:
|
|
4215
4199
|
this.x -= this.width / 2;
|
|
4216
4200
|
this.y -= this.height / 2;
|
|
4217
|
-
break;
|
|
4218
4201
|
}
|
|
4219
4202
|
this.fixAndSetPosition();
|
|
4220
4203
|
}
|
|
@@ -4376,7 +4359,6 @@ var AnnotationEditor = class AnnotationEditor {
|
|
|
4376
4359
|
case 270:
|
|
4377
4360
|
x = MathClamp(x, height, pageWidth);
|
|
4378
4361
|
y = MathClamp(y, 0, pageHeight - width);
|
|
4379
|
-
break;
|
|
4380
4362
|
}
|
|
4381
4363
|
this.x = x /= pageWidth;
|
|
4382
4364
|
this.y = y /= pageHeight;
|
|
@@ -4608,7 +4590,6 @@ var AnnotationEditor = class AnnotationEditor {
|
|
|
4608
4590
|
isHorizontal = true;
|
|
4609
4591
|
getPoint = (w, h) => [0, h / 2];
|
|
4610
4592
|
getOpposite = (w, h) => [w, h / 2];
|
|
4611
|
-
break;
|
|
4612
4593
|
}
|
|
4613
4594
|
const point = getPoint(savedWidth, savedHeight);
|
|
4614
4595
|
const oppositePoint = getOpposite(savedWidth, savedHeight);
|
|
@@ -5658,8 +5639,10 @@ var AnnotationStorage = class {
|
|
|
5658
5639
|
let numberOfDeletedComments = 0;
|
|
5659
5640
|
for (const value of this.#storage.values()) {
|
|
5660
5641
|
if (!(value instanceof AnnotationEditor)) {
|
|
5661
|
-
if (value.popup)
|
|
5662
|
-
|
|
5642
|
+
if (value.popup) {
|
|
5643
|
+
if (value.popup.deleted) numberOfDeletedComments += 1;
|
|
5644
|
+
else numberOfEditedComments += 1;
|
|
5645
|
+
}
|
|
5663
5646
|
continue;
|
|
5664
5647
|
}
|
|
5665
5648
|
if (value.isCommentDeleted) numberOfDeletedComments += 1;
|
|
@@ -7738,8 +7721,10 @@ var DOMFilterFactory = class extends BaseFilterFactory {
|
|
|
7738
7721
|
if (this.#baseUrl === void 0) {
|
|
7739
7722
|
this.#baseUrl = "";
|
|
7740
7723
|
const url = this.#document.URL;
|
|
7741
|
-
if (url !== this.#document.baseURI)
|
|
7742
|
-
|
|
7724
|
+
if (url !== this.#document.baseURI) {
|
|
7725
|
+
if (isDataScheme(url)) warn("#createUrl: ignore \"data:\"-URL for performance reasons.");
|
|
7726
|
+
else this.#baseUrl = updateUrlHash(url, "");
|
|
7727
|
+
}
|
|
7743
7728
|
}
|
|
7744
7729
|
return `url(${this.#baseUrl}#${id})`;
|
|
7745
7730
|
}
|
|
@@ -8255,9 +8240,11 @@ var RadialAxialShadingPattern = class extends BaseShadingPattern {
|
|
|
8255
8240
|
const n1 = Math.hypot(transf[0], transf[1]);
|
|
8256
8241
|
const n2 = Math.hypot(transf[2], transf[3]);
|
|
8257
8242
|
const ps = (transf[0] * transf[2] + transf[1] * transf[3]) / (n1 * n2);
|
|
8258
|
-
if (Math.abs(ps) < precision)
|
|
8259
|
-
if (
|
|
8260
|
-
|
|
8243
|
+
if (Math.abs(ps) < precision) {
|
|
8244
|
+
if (this.isRadial()) {
|
|
8245
|
+
if (Math.abs(n1 - n2) < precision) return this._createGradient(ctx, transf);
|
|
8246
|
+
} else return this._createGradient(ctx, transf);
|
|
8247
|
+
}
|
|
8261
8248
|
}
|
|
8262
8249
|
const ownerBBox = owner.current.getClippedPathBoundingBox(pathType, getCurrentTransform(ctx)) || [
|
|
8263
8250
|
0,
|
|
@@ -8420,8 +8407,8 @@ var MeshShadingPattern = class extends BaseShadingPattern {
|
|
|
8420
8407
|
scaleX: 1 / scaleX,
|
|
8421
8408
|
scaleY: 1 / scaleY
|
|
8422
8409
|
};
|
|
8423
|
-
const paddedWidth = width +
|
|
8424
|
-
const paddedHeight = height +
|
|
8410
|
+
const paddedWidth = width + 4;
|
|
8411
|
+
const paddedHeight = height + 4;
|
|
8425
8412
|
const tmpCanvas = canvasFactory.create(paddedWidth, paddedHeight);
|
|
8426
8413
|
if (isGPUReady() && this._vertexCount > 48) tmpCanvas.context.drawImage(drawMeshWithGPU(this._posData, this._colData, this._vertexCount, context, backgroundColor, paddedWidth, paddedHeight, BORDER_SIZE), 0, 0);
|
|
8427
8414
|
else {
|
|
@@ -9200,9 +9187,10 @@ var CanvasGraphics = class CanvasGraphics {
|
|
|
9200
9187
|
if (!operationsFilter || operationsFilter(i)) {
|
|
9201
9188
|
fnId = fnArray[i];
|
|
9202
9189
|
fnArgs = argsArray[i] ?? null;
|
|
9203
|
-
if (fnId !== OPS.dependency)
|
|
9204
|
-
|
|
9205
|
-
|
|
9190
|
+
if (fnId !== OPS.dependency) {
|
|
9191
|
+
if (fnArgs === null) this[fnId](i);
|
|
9192
|
+
else this[fnId](i, ...fnArgs);
|
|
9193
|
+
} else for (const depObjId of fnArgs) {
|
|
9206
9194
|
this.dependencyTracker?.recordNamedData(depObjId, i);
|
|
9207
9195
|
const objsPool = depObjId.startsWith("g_") ? commonObjs : objs;
|
|
9208
9196
|
if (!objsPool.has(depObjId)) {
|
|
@@ -9499,7 +9487,6 @@ var CanvasGraphics = class CanvasGraphics {
|
|
|
9499
9487
|
case "TR":
|
|
9500
9488
|
this.dependencyTracker?.recordSimpleData("filter", opIdx);
|
|
9501
9489
|
this.ctx.filter = this.current.transferMaps = this.filterFactory.addFilter(value);
|
|
9502
|
-
break;
|
|
9503
9490
|
}
|
|
9504
9491
|
}
|
|
9505
9492
|
get inSMaskMode() {
|
|
@@ -9717,18 +9704,20 @@ var CanvasGraphics = class CanvasGraphics {
|
|
|
9717
9704
|
const ctx = this.ctx;
|
|
9718
9705
|
const strokeColor = this.current.strokeColor;
|
|
9719
9706
|
ctx.globalAlpha = this.current.strokeAlpha;
|
|
9720
|
-
if (this.contentVisible)
|
|
9721
|
-
|
|
9722
|
-
|
|
9723
|
-
|
|
9724
|
-
|
|
9725
|
-
|
|
9726
|
-
|
|
9727
|
-
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9707
|
+
if (this.contentVisible) {
|
|
9708
|
+
if (typeof strokeColor === "object" && strokeColor?.getPattern) {
|
|
9709
|
+
const baseTransform = strokeColor.isModifyingCurrentTransform() ? ctx.getTransform() : null;
|
|
9710
|
+
ctx.save();
|
|
9711
|
+
ctx.strokeStyle = strokeColor.getPattern(ctx, this, getCurrentTransformInverse(ctx), PathType.STROKE, opIdx);
|
|
9712
|
+
if (baseTransform) {
|
|
9713
|
+
const newPath = new Path2D();
|
|
9714
|
+
newPath.addPath(path, ctx.getTransform().invertSelf().multiplySelf(baseTransform));
|
|
9715
|
+
path = newPath;
|
|
9716
|
+
}
|
|
9717
|
+
this.rescaleAndStroke(path, false);
|
|
9718
|
+
ctx.restore();
|
|
9719
|
+
} else this.rescaleAndStroke(path, true);
|
|
9720
|
+
}
|
|
9732
9721
|
this.dependencyTracker?.recordDependencies(opIdx, Dependencies.stroke);
|
|
9733
9722
|
if (consumePath) this.consumePath(opIdx, path, this.current.getClippedPathBoundingBox(PathType.STROKE, getCurrentTransform(this.ctx)));
|
|
9734
9723
|
ctx.globalAlpha = this.current.fillAlpha;
|
|
@@ -9764,10 +9753,12 @@ var CanvasGraphics = class CanvasGraphics {
|
|
|
9764
9753
|
}
|
|
9765
9754
|
needRestore = true;
|
|
9766
9755
|
}
|
|
9767
|
-
if (this.contentVisible && intersect !== null)
|
|
9768
|
-
|
|
9769
|
-
|
|
9770
|
-
|
|
9756
|
+
if (this.contentVisible && intersect !== null) {
|
|
9757
|
+
if (this.pendingEOFill) {
|
|
9758
|
+
ctx.fill(path, "evenodd");
|
|
9759
|
+
this.pendingEOFill = false;
|
|
9760
|
+
} else ctx.fill(path);
|
|
9761
|
+
}
|
|
9771
9762
|
if (needRestore) {
|
|
9772
9763
|
ctx.restore();
|
|
9773
9764
|
this.dependencyTracker?.restore(opIdx);
|
|
@@ -9929,31 +9920,35 @@ var CanvasGraphics = class CanvasGraphics {
|
|
|
9929
9920
|
ctx.scale(fontSize, -fontSize);
|
|
9930
9921
|
this.dependencyTracker?.recordCharacterBBox(opIdx, ctx, font);
|
|
9931
9922
|
let currentTransform;
|
|
9932
|
-
if (fillStrokeMode === TextRenderingMode.FILL || fillStrokeMode === TextRenderingMode.FILL_STROKE)
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
a,
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9923
|
+
if (fillStrokeMode === TextRenderingMode.FILL || fillStrokeMode === TextRenderingMode.FILL_STROKE) {
|
|
9924
|
+
if (patternFillTransform) {
|
|
9925
|
+
currentTransform = ctx.getTransform();
|
|
9926
|
+
ctx.setTransform(...patternFillTransform);
|
|
9927
|
+
const scaledPath = this.#getScaledPath(path, currentTransform, patternFillTransform);
|
|
9928
|
+
ctx.fill(scaledPath);
|
|
9929
|
+
} else ctx.fill(path);
|
|
9930
|
+
}
|
|
9931
|
+
if (fillStrokeMode === TextRenderingMode.STROKE || fillStrokeMode === TextRenderingMode.FILL_STROKE) {
|
|
9932
|
+
if (patternStrokeTransform) {
|
|
9933
|
+
currentTransform ||= ctx.getTransform();
|
|
9934
|
+
ctx.setTransform(...patternStrokeTransform);
|
|
9935
|
+
const { a, b, c, d } = currentTransform;
|
|
9936
|
+
const invPatternTransform = Util.inverseTransform(patternStrokeTransform);
|
|
9937
|
+
const transf = Util.transform([
|
|
9938
|
+
a,
|
|
9939
|
+
b,
|
|
9940
|
+
c,
|
|
9941
|
+
d,
|
|
9942
|
+
0,
|
|
9943
|
+
0
|
|
9944
|
+
], invPatternTransform);
|
|
9945
|
+
Util.singularValueDecompose2dScale(transf, XY);
|
|
9946
|
+
ctx.lineWidth *= Math.max(XY[0], XY[1]) / fontSize;
|
|
9947
|
+
ctx.stroke(this.#getScaledPath(path, currentTransform, patternStrokeTransform));
|
|
9948
|
+
} else {
|
|
9949
|
+
ctx.lineWidth /= fontSize;
|
|
9950
|
+
ctx.stroke(path);
|
|
9951
|
+
}
|
|
9957
9952
|
}
|
|
9958
9953
|
ctx.restore();
|
|
9959
9954
|
} else {
|
|
@@ -10107,15 +10102,17 @@ var CanvasGraphics = class CanvasGraphics {
|
|
|
10107
10102
|
scaledX /= characterScaleX;
|
|
10108
10103
|
} else if (width !== measuredWidth) scaledX += (width - measuredWidth) / 2e3 * fontSize / fontSizeScale;
|
|
10109
10104
|
}
|
|
10110
|
-
if (this.contentVisible && (glyph.isInFont || font.missingFile))
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10105
|
+
if (this.contentVisible && (glyph.isInFont || font.missingFile)) {
|
|
10106
|
+
if (simpleFillText && !accent) {
|
|
10107
|
+
ctx.fillText(character, scaledX, scaledY);
|
|
10108
|
+
this.dependencyTracker?.recordCharacterBBox(opIdx, ctx, measure ? { bbox: null } : font, fontSize / fontSizeScale, scaledX, scaledY, () => measure ?? ctx.measureText(character));
|
|
10109
|
+
} else {
|
|
10110
|
+
this.paintChar(opIdx, character, scaledX, scaledY, patternFillTransform, patternStrokeTransform);
|
|
10111
|
+
if (accent) {
|
|
10112
|
+
const scaledAccentX = scaledX + fontSize * accent.offset.x / fontSizeScale;
|
|
10113
|
+
const scaledAccentY = scaledY - fontSize * accent.offset.y / fontSizeScale;
|
|
10114
|
+
this.paintChar(opIdx, accent.fontChar, scaledAccentX, scaledAccentY, patternFillTransform, patternStrokeTransform);
|
|
10115
|
+
}
|
|
10119
10116
|
}
|
|
10120
10117
|
}
|
|
10121
10118
|
const charWidth = vertical ? width * widthAdvanceScale - spacing * fontDirection : width * widthAdvanceScale + spacing * fontDirection;
|
|
@@ -10717,8 +10714,10 @@ var CanvasGraphics = class CanvasGraphics {
|
|
|
10717
10714
|
if (!this.pendingClip) this.compose(clipBox);
|
|
10718
10715
|
const ctx = this.ctx;
|
|
10719
10716
|
if (this.pendingClip) {
|
|
10720
|
-
if (!isEmpty)
|
|
10721
|
-
|
|
10717
|
+
if (!isEmpty) {
|
|
10718
|
+
if (this.pendingClip === EO_CLIP) ctx.clip(path, "evenodd");
|
|
10719
|
+
else ctx.clip(path);
|
|
10720
|
+
}
|
|
10722
10721
|
this.pendingClip = null;
|
|
10723
10722
|
this.dependencyTracker?.bboxToClipBoxDropOperation(opIdx).recordFutureForcedDependency("clipPath", opIdx);
|
|
10724
10723
|
} else this.dependencyTracker?.recordOperation(opIdx);
|
|
@@ -10745,12 +10744,13 @@ var CanvasGraphics = class CanvasGraphics {
|
|
|
10745
10744
|
if (b === 0 && c === 0) {
|
|
10746
10745
|
const normX = Math.abs(a);
|
|
10747
10746
|
const normY = Math.abs(d);
|
|
10748
|
-
if (normX === normY)
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10747
|
+
if (normX === normY) {
|
|
10748
|
+
if (lineWidth === 0) scaleX = scaleY = 1 / normX;
|
|
10749
|
+
else {
|
|
10750
|
+
const scaledLineWidth = normX * lineWidth;
|
|
10751
|
+
scaleX = scaleY = scaledLineWidth < 1 ? 1 / scaledLineWidth : 1;
|
|
10752
|
+
}
|
|
10753
|
+
} else if (lineWidth === 0) {
|
|
10754
10754
|
scaleX = 1 / normX;
|
|
10755
10755
|
scaleY = 1 / normY;
|
|
10756
10756
|
} else {
|
|
@@ -11172,16 +11172,16 @@ var PDFDataTransportStream = class extends BasePDFStream {
|
|
|
11172
11172
|
case "progressiveDone":
|
|
11173
11173
|
this._fullReader?.progressiveDone();
|
|
11174
11174
|
this._progressiveDone = true;
|
|
11175
|
-
break;
|
|
11176
11175
|
}
|
|
11177
11176
|
};
|
|
11178
11177
|
pdfDataRangeTransport.transportReady(listener);
|
|
11179
11178
|
}
|
|
11180
11179
|
#onReceiveData(begin, chunk) {
|
|
11181
11180
|
const buffer = transport_stream_getArrayBuffer(chunk);
|
|
11182
|
-
if (begin === void 0)
|
|
11183
|
-
|
|
11184
|
-
|
|
11181
|
+
if (begin === void 0) {
|
|
11182
|
+
if (this._fullReader) this._fullReader._enqueue(buffer);
|
|
11183
|
+
else this._queuedChunks.push(buffer);
|
|
11184
|
+
} else {
|
|
11185
11185
|
const rangeReader = this._rangeReaders.keys().find((r) => r._begin === begin);
|
|
11186
11186
|
assert(rangeReader, "#onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.");
|
|
11187
11187
|
rangeReader._enqueue(buffer);
|
|
@@ -11823,9 +11823,7 @@ var OptionalContentConfig = class {
|
|
|
11823
11823
|
case "OFF":
|
|
11824
11824
|
this.setVisibility(elem, false, preserveRB);
|
|
11825
11825
|
break;
|
|
11826
|
-
case "Toggle":
|
|
11827
|
-
this.setVisibility(elem, !group.visible, preserveRB);
|
|
11828
|
-
break;
|
|
11826
|
+
case "Toggle": this.setVisibility(elem, !group.visible, preserveRB);
|
|
11829
11827
|
}
|
|
11830
11828
|
}
|
|
11831
11829
|
this.#cachedGetHash = null;
|
|
@@ -14352,10 +14350,7 @@ var AnnotationElement = class AnnotationElement {
|
|
|
14352
14350
|
case AnnotationBorderStyleType.INSET:
|
|
14353
14351
|
warn("Unimplemented border style: inset");
|
|
14354
14352
|
break;
|
|
14355
|
-
case AnnotationBorderStyleType.UNDERLINE:
|
|
14356
|
-
style.borderBottomStyle = "solid";
|
|
14357
|
-
break;
|
|
14358
|
-
default: break;
|
|
14353
|
+
case AnnotationBorderStyleType.UNDERLINE: style.borderBottomStyle = "solid";
|
|
14359
14354
|
}
|
|
14360
14355
|
const borderColor = data.borderColor || null;
|
|
14361
14356
|
if (borderColor) {
|
|
@@ -15044,15 +15039,16 @@ var TextWidgetAnnotationElement = class extends WidgetAnnotationElement {
|
|
|
15044
15039
|
}
|
|
15045
15040
|
if (elementData.userValue) {
|
|
15046
15041
|
const value = elementData.userValue;
|
|
15047
|
-
if (hasDateOrTime)
|
|
15048
|
-
|
|
15049
|
-
|
|
15050
|
-
|
|
15051
|
-
|
|
15052
|
-
|
|
15053
|
-
|
|
15054
|
-
|
|
15055
|
-
|
|
15042
|
+
if (hasDateOrTime) {
|
|
15043
|
+
if (datetimeType === "time") {
|
|
15044
|
+
const date = new Date(value);
|
|
15045
|
+
target.value = [
|
|
15046
|
+
date.getHours(),
|
|
15047
|
+
date.getMinutes(),
|
|
15048
|
+
date.getSeconds()
|
|
15049
|
+
].map((v) => v.toString().padStart(2, "0")).join(":");
|
|
15050
|
+
} else target.value = new Date(value - TIMEZONE_OFFSET).toISOString().split(datetimeType === "date" ? "T" : ".", 1)[0];
|
|
15051
|
+
} else target.value = value;
|
|
15056
15052
|
}
|
|
15057
15053
|
elementData.lastCommittedValue = target.value;
|
|
15058
15054
|
elementData.commitKey = 1;
|
|
@@ -15181,9 +15177,7 @@ var TextWidgetAnnotationElement = class extends WidgetAnnotationElement {
|
|
|
15181
15177
|
case "deleteContentBackward":
|
|
15182
15178
|
if (selectionStart === selectionEnd) selStart -= 1;
|
|
15183
15179
|
break;
|
|
15184
|
-
case "deleteContentForward":
|
|
15185
|
-
if (selectionStart === selectionEnd) selEnd += 1;
|
|
15186
|
-
break;
|
|
15180
|
+
case "deleteContentForward": if (selectionStart === selectionEnd) selEnd += 1;
|
|
15187
15181
|
}
|
|
15188
15182
|
event.preventDefault();
|
|
15189
15183
|
this.linkService.eventBus?.dispatch("dispatcheventinsandbox", {
|
|
@@ -15875,10 +15869,12 @@ var PopupElement = class {
|
|
|
15875
15869
|
if (deleted) {
|
|
15876
15870
|
this.remove();
|
|
15877
15871
|
this.#commentText = null;
|
|
15878
|
-
} else if (popup)
|
|
15879
|
-
|
|
15880
|
-
|
|
15881
|
-
|
|
15872
|
+
} else if (popup) {
|
|
15873
|
+
if (popup.deleted) this.remove();
|
|
15874
|
+
else {
|
|
15875
|
+
this.#updateColor();
|
|
15876
|
+
this.#commentText = popup.text;
|
|
15877
|
+
}
|
|
15882
15878
|
}
|
|
15883
15879
|
if (rect) {
|
|
15884
15880
|
this.#commentButtonPosition = null;
|
|
@@ -16789,9 +16785,7 @@ var FreeTextEditor = class FreeTextEditor extends AnnotationEditor {
|
|
|
16789
16785
|
case AnnotationEditorParamsType.FREETEXT_SIZE:
|
|
16790
16786
|
FreeTextEditor._defaultFontSize = value;
|
|
16791
16787
|
break;
|
|
16792
|
-
case AnnotationEditorParamsType.FREETEXT_COLOR:
|
|
16793
|
-
FreeTextEditor._defaultColor = value;
|
|
16794
|
-
break;
|
|
16788
|
+
case AnnotationEditorParamsType.FREETEXT_COLOR: FreeTextEditor._defaultColor = value;
|
|
16795
16789
|
}
|
|
16796
16790
|
}
|
|
16797
16791
|
updateParams(type, value) {
|
|
@@ -16799,9 +16793,7 @@ var FreeTextEditor = class FreeTextEditor extends AnnotationEditor {
|
|
|
16799
16793
|
case AnnotationEditorParamsType.FREETEXT_SIZE:
|
|
16800
16794
|
this.#updateFontSize(value);
|
|
16801
16795
|
break;
|
|
16802
|
-
case AnnotationEditorParamsType.FREETEXT_COLOR:
|
|
16803
|
-
this.#updateColor(value);
|
|
16804
|
-
break;
|
|
16796
|
+
case AnnotationEditorParamsType.FREETEXT_COLOR: this.#updateColor(value);
|
|
16805
16797
|
}
|
|
16806
16798
|
}
|
|
16807
16799
|
static get defaultPropertiesToUpdate() {
|
|
@@ -17070,7 +17062,6 @@ var FreeTextEditor = class FreeTextEditor extends AnnotationEditor {
|
|
|
17070
17062
|
posX = baseX + (position[0] - pageX - this.height * pageHeight) / pageWidth;
|
|
17071
17063
|
posY = baseY + (position[1] - pageY - this.width * pageWidth) / pageHeight;
|
|
17072
17064
|
[tx, ty] = [-ty, tx];
|
|
17073
|
-
break;
|
|
17074
17065
|
}
|
|
17075
17066
|
this.setAt(posX * parentWidth, posY * parentHeight, tx, ty);
|
|
17076
17067
|
} else this._moveAfterPaste(baseX, baseY);
|
|
@@ -17648,7 +17639,6 @@ var FreeDrawOutline = class extends Outline {
|
|
|
17648
17639
|
case 270:
|
|
17649
17640
|
outline = Outline._rescaleAndSwap(this.#outline, trX, trY, -width, -height);
|
|
17650
17641
|
points = Outline._rescaleAndSwap(this.#points, trX, trY, -width, -height);
|
|
17651
|
-
break;
|
|
17652
17642
|
}
|
|
17653
17643
|
return {
|
|
17654
17644
|
outline: Array.from(outline),
|
|
@@ -18172,9 +18162,7 @@ var HighlightEditor = class HighlightEditor extends AnnotationEditor {
|
|
|
18172
18162
|
case AnnotationEditorParamsType.HIGHLIGHT_COLOR:
|
|
18173
18163
|
HighlightEditor._defaultColor = value;
|
|
18174
18164
|
break;
|
|
18175
|
-
case AnnotationEditorParamsType.HIGHLIGHT_THICKNESS:
|
|
18176
|
-
HighlightEditor._defaultThickness = value;
|
|
18177
|
-
break;
|
|
18165
|
+
case AnnotationEditorParamsType.HIGHLIGHT_THICKNESS: HighlightEditor._defaultThickness = value;
|
|
18178
18166
|
}
|
|
18179
18167
|
}
|
|
18180
18168
|
translateInPage(x, y) {}
|
|
@@ -18189,9 +18177,7 @@ var HighlightEditor = class HighlightEditor extends AnnotationEditor {
|
|
|
18189
18177
|
case AnnotationEditorParamsType.HIGHLIGHT_COLOR:
|
|
18190
18178
|
this.#updateColor(value);
|
|
18191
18179
|
break;
|
|
18192
|
-
case AnnotationEditorParamsType.HIGHLIGHT_THICKNESS:
|
|
18193
|
-
this.#updateThickness(value);
|
|
18194
|
-
break;
|
|
18180
|
+
case AnnotationEditorParamsType.HIGHLIGHT_THICKNESS: this.#updateThickness(value);
|
|
18195
18181
|
}
|
|
18196
18182
|
}
|
|
18197
18183
|
static get defaultPropertiesToUpdate() {
|
|
@@ -18425,9 +18411,7 @@ var HighlightEditor = class HighlightEditor extends AnnotationEditor {
|
|
|
18425
18411
|
this.#setCaret(true);
|
|
18426
18412
|
break;
|
|
18427
18413
|
case 1:
|
|
18428
|
-
case 3:
|
|
18429
|
-
this.#setCaret(false);
|
|
18430
|
-
break;
|
|
18414
|
+
case 3: this.#setCaret(false);
|
|
18431
18415
|
}
|
|
18432
18416
|
}
|
|
18433
18417
|
#setCaret(start) {
|
|
@@ -19571,7 +19555,6 @@ var InkDrawOutline = class extends Outline {
|
|
|
19571
19555
|
y1 = pageY + (1 - x - width) * pageHeight;
|
|
19572
19556
|
x2 = pageX + (1 - y) * pageWidth;
|
|
19573
19557
|
y2 = pageY + (1 - x) * pageHeight;
|
|
19574
|
-
break;
|
|
19575
19558
|
}
|
|
19576
19559
|
for (const { line, points } of this.#lines) {
|
|
19577
19560
|
serializedLines.push(rescaleFn(line, tx, ty, sx, sy, isForCopying ? new Array(line.length) : null));
|
|
@@ -19619,7 +19602,6 @@ var InkDrawOutline = class extends Outline {
|
|
|
19619
19602
|
ty = pageX / pageWidth + 1;
|
|
19620
19603
|
sx = -1 / pageHeight;
|
|
19621
19604
|
sy = -1 / pageWidth;
|
|
19622
|
-
break;
|
|
19623
19605
|
}
|
|
19624
19606
|
if (!lines) {
|
|
19625
19607
|
lines = [];
|
|
@@ -20409,7 +20391,7 @@ var SignatureExtractor = class {
|
|
|
20409
20391
|
ctx.fillStyle = "white";
|
|
20410
20392
|
ctx.fillRect(0, 0, canvasWidth, canvasHeight);
|
|
20411
20393
|
ctx.fillStyle = "black";
|
|
20412
|
-
ctx.fillText(text, canvasWidth *
|
|
20394
|
+
ctx.fillText(text, canvasWidth * .5 / 2, canvasHeight * 1.5 / 2);
|
|
20413
20395
|
const uint8Buf = this.#toUint8(ctx.getImageData(0, 0, canvasWidth, canvasHeight).data);
|
|
20414
20396
|
const histogram = this.#getHistogram(uint8Buf);
|
|
20415
20397
|
const threshold = this.#guessThreshold(histogram);
|
|
@@ -20605,16 +20587,14 @@ var SignatureExtractor = class {
|
|
|
20605
20587
|
case Int16Array.BYTES_PER_ELEMENT:
|
|
20606
20588
|
diffs = new Int16Array(data.buffer, diffsOffset);
|
|
20607
20589
|
break;
|
|
20608
|
-
case Int32Array.BYTES_PER_ELEMENT:
|
|
20609
|
-
diffs = new Int32Array(data.buffer, diffsOffset);
|
|
20610
|
-
break;
|
|
20590
|
+
case Int32Array.BYTES_PER_ELEMENT: diffs = new Int32Array(data.buffer, diffsOffset);
|
|
20611
20591
|
}
|
|
20612
20592
|
offset = 0;
|
|
20613
20593
|
for (let i = 0; i < numberOfDrawings; i++) {
|
|
20614
20594
|
const len = header[POINTS_PROPERTIES_NUMBER * i + BASE_HEADER_LENGTH];
|
|
20615
20595
|
const points = new Float32Array(len + 2);
|
|
20616
20596
|
outlines.push(points);
|
|
20617
|
-
for (let j = 0; j <
|
|
20597
|
+
for (let j = 0; j < 2; j++) points[j] = header[POINTS_PROPERTIES_NUMBER * i + BASE_HEADER_LENGTH + j + 1];
|
|
20618
20598
|
for (let j = 0; j < len; j++) points[j + 2] = points[j] + diffs[offset++];
|
|
20619
20599
|
}
|
|
20620
20600
|
return {
|
|
@@ -20726,25 +20706,26 @@ var SignatureEditor = class SignatureEditor extends DrawingEditor {
|
|
|
20726
20706
|
baseY = this.y;
|
|
20727
20707
|
}
|
|
20728
20708
|
super.render();
|
|
20729
|
-
if (this._drawId === null)
|
|
20730
|
-
|
|
20731
|
-
|
|
20732
|
-
|
|
20733
|
-
|
|
20734
|
-
|
|
20735
|
-
|
|
20736
|
-
|
|
20737
|
-
|
|
20738
|
-
|
|
20739
|
-
|
|
20740
|
-
|
|
20741
|
-
|
|
20742
|
-
|
|
20743
|
-
|
|
20744
|
-
|
|
20745
|
-
|
|
20746
|
-
|
|
20747
|
-
|
|
20709
|
+
if (this._drawId === null) {
|
|
20710
|
+
if (this.#signatureData) {
|
|
20711
|
+
const { lines, mustSmooth, areContours, description, uuid, heightInPage } = this.#signatureData;
|
|
20712
|
+
const { rawDims: { pageWidth, pageHeight }, rotation } = this.parent.viewport;
|
|
20713
|
+
const outline = SignatureExtractor.processDrawnLines({
|
|
20714
|
+
lines,
|
|
20715
|
+
pageWidth,
|
|
20716
|
+
pageHeight,
|
|
20717
|
+
rotation,
|
|
20718
|
+
innerMargin: SignatureEditor._INNER_MARGIN,
|
|
20719
|
+
mustSmooth,
|
|
20720
|
+
areContours
|
|
20721
|
+
});
|
|
20722
|
+
this.addSignature(outline, heightInPage, description, uuid);
|
|
20723
|
+
} else {
|
|
20724
|
+
this.div.setAttribute("data-l10n-args", JSON.stringify({ description: "" }));
|
|
20725
|
+
this.div.hidden = true;
|
|
20726
|
+
this._uiManager.getSignature(this);
|
|
20727
|
+
}
|
|
20728
|
+
} else this.div.setAttribute("data-l10n-args", JSON.stringify({ description: this.#description || "" }));
|
|
20748
20729
|
if (_isCopy) {
|
|
20749
20730
|
this._isCopy = true;
|
|
20750
20731
|
this._moveAfterPaste(baseX, baseY);
|
|
@@ -21109,8 +21090,10 @@ var StampEditor = class extends AnnotationEditor {
|
|
|
21109
21090
|
super.render();
|
|
21110
21091
|
this.div.hidden = true;
|
|
21111
21092
|
this.createAltText();
|
|
21112
|
-
if (!this.#missingCanvas)
|
|
21113
|
-
|
|
21093
|
+
if (!this.#missingCanvas) {
|
|
21094
|
+
if (this.#bitmap) this.#createCanvas();
|
|
21095
|
+
else this.#getBitmap();
|
|
21096
|
+
}
|
|
21114
21097
|
if (this._isCopy) this._moveAfterPaste(baseX, baseY);
|
|
21115
21098
|
this._uiManager.addShouldRescale(this);
|
|
21116
21099
|
return this.div;
|