@ixo/editor 6.33.0 → 6.35.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/BidConfig-YLGSEIOS.js +154 -0
- package/dist/BidConfig-YLGSEIOS.js.map +1 -0
- package/dist/BidFlowDetail-U2SX5M7F.js +365 -0
- package/dist/BidFlowDetail-U2SX5M7F.js.map +1 -0
- package/dist/CalendarEventCreateConfig-J2LU6LJO.js +155 -0
- package/dist/CalendarEventCreateConfig-J2LU6LJO.js.map +1 -0
- package/dist/CalendarEventCreateFlowDetail-ZWHZWDOK.js +174 -0
- package/dist/CalendarEventCreateFlowDetail-ZWHZWDOK.js.map +1 -0
- package/dist/CalendarEventListConfig-GQNNF4ZB.js +116 -0
- package/dist/CalendarEventListConfig-GQNNF4ZB.js.map +1 -0
- package/dist/CalendarEventListFlowDetail-SSRTOXIX.js +58 -0
- package/dist/CalendarEventListFlowDetail-SSRTOXIX.js.map +1 -0
- package/dist/CalendarEventUpdateConfig-KACZA6GH.js +133 -0
- package/dist/CalendarEventUpdateConfig-KACZA6GH.js.map +1 -0
- package/dist/CalendarEventUpdateFlowDetail-CD6NHHOU.js +155 -0
- package/dist/CalendarEventUpdateFlowDetail-CD6NHHOU.js.map +1 -0
- package/dist/ClaimConfig-3HKPGK55.js +200 -0
- package/dist/ClaimConfig-3HKPGK55.js.map +1 -0
- package/dist/ClaimFlowDetail-I4OQSHAB.js +641 -0
- package/dist/ClaimFlowDetail-I4OQSHAB.js.map +1 -0
- package/dist/CollectionLifecycleConfig-LCCGZ3CJ.js +149 -0
- package/dist/CollectionLifecycleConfig-LCCGZ3CJ.js.map +1 -0
- package/dist/CollectionLifecycleFlowDetail-LQHKB227.js +647 -0
- package/dist/CollectionLifecycleFlowDetail-LQHKB227.js.map +1 -0
- package/dist/CollectionUsersConfig-RI2X3YY2.js +271 -0
- package/dist/CollectionUsersConfig-RI2X3YY2.js.map +1 -0
- package/dist/CollectionUsersFlowDetail-LHXVCCPQ.js +1276 -0
- package/dist/CollectionUsersFlowDetail-LHXVCCPQ.js.map +1 -0
- package/dist/CredentialStoreConfig-G66AQDGZ.js +75 -0
- package/dist/CredentialStoreConfig-G66AQDGZ.js.map +1 -0
- package/dist/CredentialStoreFlowDetail-FL7QAM3S.js +99 -0
- package/dist/CredentialStoreFlowDetail-FL7QAM3S.js.map +1 -0
- package/dist/DesignPodConfig-LJ7H2CZ6.js +8 -0
- package/dist/DesignPodConfig-LJ7H2CZ6.js.map +1 -0
- package/dist/DesignPodFlowDetail-JHJWGNVY.js +309 -0
- package/dist/DesignPodFlowDetail-JHJWGNVY.js.map +1 -0
- package/dist/DomainCardPreviewConfig-Q3X5M4WF.js +37 -0
- package/dist/DomainCardPreviewConfig-Q3X5M4WF.js.map +1 -0
- package/dist/DomainCardPreviewFlowDetail-Y2FE7O5Z.js +131 -0
- package/dist/DomainCardPreviewFlowDetail-Y2FE7O5Z.js.map +1 -0
- package/dist/DomainIndexerLookupConfig-N4VONQUY.js +41 -0
- package/dist/DomainIndexerLookupConfig-N4VONQUY.js.map +1 -0
- package/dist/DomainIndexerLookupFlowDetail-GJ7WWK7I.js +70 -0
- package/dist/DomainIndexerLookupFlowDetail-GJ7WWK7I.js.map +1 -0
- package/dist/DomainSignConfig-XFIXROVK.js +47 -0
- package/dist/DomainSignConfig-XFIXROVK.js.map +1 -0
- package/dist/DomainSignFlowDetail-BXZ6JBPR.js +206 -0
- package/dist/DomainSignFlowDetail-BXZ6JBPR.js.map +1 -0
- package/dist/DomainSingleSelectionConfig-ZNKIXB4P.js +101 -0
- package/dist/DomainSingleSelectionConfig-ZNKIXB4P.js.map +1 -0
- package/dist/DomainSingleSelectionFlowDetail-HWTQXSLA.js +147 -0
- package/dist/DomainSingleSelectionFlowDetail-HWTQXSLA.js.map +1 -0
- package/dist/EmailSendConfig-YEGZ5Q77.js +215 -0
- package/dist/EmailSendConfig-YEGZ5Q77.js.map +1 -0
- package/dist/EntityCreateOracleConfig-UZ6ZIMP5.js +150 -0
- package/dist/EntityCreateOracleConfig-UZ6ZIMP5.js.map +1 -0
- package/dist/EntityCreateOracleFlowDetail-H2X7CPYU.js +120 -0
- package/dist/EntityCreateOracleFlowDetail-H2X7CPYU.js.map +1 -0
- package/dist/EntitySingleSelectionConfig-DL57KNKM.js +30 -0
- package/dist/EntitySingleSelectionConfig-DL57KNKM.js.map +1 -0
- package/dist/EntitySingleSelectionFlowDetail-GFQGX3GA.js +118 -0
- package/dist/EntitySingleSelectionFlowDetail-GFQGX3GA.js.map +1 -0
- package/dist/EntityTransferConfig-JVZ3H35B.js +62 -0
- package/dist/EntityTransferConfig-JVZ3H35B.js.map +1 -0
- package/dist/EntityTransferFlowDetail-XEXM34XB.js +132 -0
- package/dist/EntityTransferFlowDetail-XEXM34XB.js.map +1 -0
- package/dist/EvalEngineConfig-CHC4IRN3.js +464 -0
- package/dist/EvalEngineConfig-CHC4IRN3.js.map +1 -0
- package/dist/EvalEngineFlowDetail-PUFRNO4U.js +4291 -0
- package/dist/EvalEngineFlowDetail-PUFRNO4U.js.map +1 -0
- package/dist/EvaluateBidConfig-OE4CM43G.js +151 -0
- package/dist/EvaluateBidConfig-OE4CM43G.js.map +1 -0
- package/dist/EvaluateBidFlowDetail-2EXGNBYC.js +564 -0
- package/dist/EvaluateBidFlowDetail-2EXGNBYC.js.map +1 -0
- package/dist/EvaluateClaimConfig-3D4F5LHU.js +297 -0
- package/dist/EvaluateClaimConfig-3D4F5LHU.js.map +1 -0
- package/dist/EvaluateClaimFlowDetail-QKHJVEDE.js +2237 -0
- package/dist/EvaluateClaimFlowDetail-QKHJVEDE.js.map +1 -0
- package/dist/FormSubmitConfig-UFZYMLUN.js +59 -0
- package/dist/FormSubmitConfig-UFZYMLUN.js.map +1 -0
- package/dist/FormSubmitFlowDetail-IAHDJS6P.js +169 -0
- package/dist/FormSubmitFlowDetail-IAHDJS6P.js.map +1 -0
- package/dist/GovernanceAuthzExecFlowDetail-SQBGU5BX.js +166 -0
- package/dist/GovernanceAuthzExecFlowDetail-SQBGU5BX.js.map +1 -0
- package/dist/GovernanceAuthzGrantFlowDetail-DZPNLANT.js +88 -0
- package/dist/GovernanceAuthzGrantFlowDetail-DZPNLANT.js.map +1 -0
- package/dist/GovernanceAuthzRevokeFlowDetail-3JZ4IUJG.js +88 -0
- package/dist/GovernanceAuthzRevokeFlowDetail-3JZ4IUJG.js.map +1 -0
- package/dist/GovernanceChainVoteFlowDetail-475UDNG6.js +83 -0
- package/dist/GovernanceChainVoteFlowDetail-475UDNG6.js.map +1 -0
- package/dist/GovernanceConfigConfig-V3WM4WBP.js +30 -0
- package/dist/GovernanceConfigConfig-V3WM4WBP.js.map +1 -0
- package/dist/GovernanceConfigFlowDetail-SQ5PPDRX.js +267 -0
- package/dist/GovernanceConfigFlowDetail-SQ5PPDRX.js.map +1 -0
- package/dist/GovernanceContractExecuteFlowDetail-H2ZV6W2E.js +113 -0
- package/dist/GovernanceContractExecuteFlowDetail-H2ZV6W2E.js.map +1 -0
- package/dist/GovernanceContractInstantiateFlowDetail-YJJMGM54.js +144 -0
- package/dist/GovernanceContractInstantiateFlowDetail-YJJMGM54.js.map +1 -0
- package/dist/GovernanceContractManageCw20FlowDetail-OCBMW3YJ.js +72 -0
- package/dist/GovernanceContractManageCw20FlowDetail-OCBMW3YJ.js.map +1 -0
- package/dist/GovernanceContractMigrateFlowDetail-JDNIKTT3.js +104 -0
- package/dist/GovernanceContractMigrateFlowDetail-JDNIKTT3.js.map +1 -0
- package/dist/GovernanceContractUpdateAdminFlowDetail-SZBOAOCC.js +68 -0
- package/dist/GovernanceContractUpdateAdminFlowDetail-SZBOAOCC.js.map +1 -0
- package/dist/GovernanceCustomMessageFlowDetail-CXD4ZATO.js +78 -0
- package/dist/GovernanceCustomMessageFlowDetail-CXD4ZATO.js.map +1 -0
- package/dist/GovernanceDaoAcceptToMarketplaceFlowDetail-Q6ZBNY7Z.js +98 -0
- package/dist/GovernanceDaoAcceptToMarketplaceFlowDetail-Q6ZBNY7Z.js.map +1 -0
- package/dist/GovernanceDaoAdminExecFlowDetail-JAEAY2US.js +94 -0
- package/dist/GovernanceDaoAdminExecFlowDetail-JAEAY2US.js.map +1 -0
- package/dist/GovernanceDaoCreateEntityFlowDetail-7RVNTVAB.js +96 -0
- package/dist/GovernanceDaoCreateEntityFlowDetail-7RVNTVAB.js.map +1 -0
- package/dist/GovernanceDaoJoinFlowDetail-XYCTCNHO.js +68 -0
- package/dist/GovernanceDaoJoinFlowDetail-XYCTCNHO.js.map +1 -0
- package/dist/GovernanceDaoManageStorageFlowDetail-LMLYLYYC.js +93 -0
- package/dist/GovernanceDaoManageStorageFlowDetail-LMLYLYYC.js.map +1 -0
- package/dist/GovernanceDaoManageSubDaosFlowDetail-YUFQ67JN.js +84 -0
- package/dist/GovernanceDaoManageSubDaosFlowDetail-YUFQ67JN.js.map +1 -0
- package/dist/GovernanceDaoUpdateInfoFlowDetail-G5FIBY4L.js +104 -0
- package/dist/GovernanceDaoUpdateInfoFlowDetail-G5FIBY4L.js.map +1 -0
- package/dist/GovernanceMemberProposalConfig-IGPXEFDB.js +42 -0
- package/dist/GovernanceMemberProposalConfig-IGPXEFDB.js.map +1 -0
- package/dist/GovernanceMemberProposalFlowDetail-T3VURONF.js +240 -0
- package/dist/GovernanceMemberProposalFlowDetail-T3VURONF.js.map +1 -0
- package/dist/GovernanceNftBurnFlowDetail-AG4I2O7H.js +69 -0
- package/dist/GovernanceNftBurnFlowDetail-AG4I2O7H.js.map +1 -0
- package/dist/GovernanceNftManageCollectionsFlowDetail-UAAGO3Q6.js +71 -0
- package/dist/GovernanceNftManageCollectionsFlowDetail-UAAGO3Q6.js.map +1 -0
- package/dist/GovernanceNftTransferFlowDetail-KXM7DTOV.js +130 -0
- package/dist/GovernanceNftTransferFlowDetail-KXM7DTOV.js.map +1 -0
- package/dist/GovernanceSettingsProposalConfig-4SLJTBLW.js +42 -0
- package/dist/GovernanceSettingsProposalConfig-4SLJTBLW.js.map +1 -0
- package/dist/GovernanceSettingsProposalFlowDetail-VFZPSCLR.js +165 -0
- package/dist/GovernanceSettingsProposalFlowDetail-VFZPSCLR.js.map +1 -0
- package/dist/GovernanceStakingStakeFlowDetail-ULLJ7FLM.js +123 -0
- package/dist/GovernanceStakingStakeFlowDetail-ULLJ7FLM.js.map +1 -0
- package/dist/GovernanceStakingStakeToGroupFlowDetail-CSPKJA3H.js +84 -0
- package/dist/GovernanceStakingStakeToGroupFlowDetail-CSPKJA3H.js.map +1 -0
- package/dist/GovernanceSubmissionConfigProposalFlowDetail-MZCPSZF2.js +111 -0
- package/dist/GovernanceSubmissionConfigProposalFlowDetail-MZCPSZF2.js.map +1 -0
- package/dist/GovernanceTransactionMintFlowDetail-Y2WRAODH.js +66 -0
- package/dist/GovernanceTransactionMintFlowDetail-Y2WRAODH.js.map +1 -0
- package/dist/GovernanceTransactionPerformTokenSwapFlowDetail-GEK6PMMI.js +133 -0
- package/dist/GovernanceTransactionPerformTokenSwapFlowDetail-GEK6PMMI.js.map +1 -0
- package/dist/GovernanceTransactionSendFundsConfig-VBKMLSF3.js +42 -0
- package/dist/GovernanceTransactionSendFundsConfig-VBKMLSF3.js.map +1 -0
- package/dist/GovernanceTransactionSendFundsFlowDetail-5TZB64VL.js +182 -0
- package/dist/GovernanceTransactionSendFundsFlowDetail-5TZB64VL.js.map +1 -0
- package/dist/GovernanceTransactionSendGroupTokenFlowDetail-EGOWVZM2.js +155 -0
- package/dist/GovernanceTransactionSendGroupTokenFlowDetail-EGOWVZM2.js.map +1 -0
- package/dist/GovernanceTransactionWithdrawTokenSwapFlowDetail-6XWVO5O6.js +56 -0
- package/dist/GovernanceTransactionWithdrawTokenSwapFlowDetail-6XWVO5O6.js.map +1 -0
- package/dist/GovernanceValidatorActionsFlowDetail-ZMLPAFUB.js +117 -0
- package/dist/GovernanceValidatorActionsFlowDetail-ZMLPAFUB.js.map +1 -0
- package/dist/HarvestConfig-AIGOGBFR.js +56 -0
- package/dist/HarvestConfig-AIGOGBFR.js.map +1 -0
- package/dist/HarvestFlowDetail-X3RUH3X3.js +131 -0
- package/dist/HarvestFlowDetail-X3RUH3X3.js.map +1 -0
- package/dist/HttpRequestConfig-OQEJIIJY.js +194 -0
- package/dist/HttpRequestConfig-OQEJIIJY.js.map +1 -0
- package/dist/HttpRequestFlowDetail-JVLV533Z.js +116 -0
- package/dist/HttpRequestFlowDetail-JVLV533Z.js.map +1 -0
- package/dist/IdentityCreateConfig-ZBUOJ6AL.js +94 -0
- package/dist/IdentityCreateConfig-ZBUOJ6AL.js.map +1 -0
- package/dist/IdentityCreateFlowDetail-4TE6UCEB.js +83 -0
- package/dist/IdentityCreateFlowDetail-4TE6UCEB.js.map +1 -0
- package/dist/IidCreateConfig-RRV2DYXI.js +75 -0
- package/dist/IidCreateConfig-RRV2DYXI.js.map +1 -0
- package/dist/IidCreateFlowDetail-HPVZAHVY.js +57 -0
- package/dist/IidCreateFlowDetail-HPVZAHVY.js.map +1 -0
- package/dist/KycVerifyConfig-VCG65K5K.js +65 -0
- package/dist/KycVerifyConfig-VCG65K5K.js.map +1 -0
- package/dist/KycVerifyFlowDetail-FEU43HML.js +421 -0
- package/dist/KycVerifyFlowDetail-FEU43HML.js.map +1 -0
- package/dist/ListDomainFlowsConfig-3JZEPTOJ.js +37 -0
- package/dist/ListDomainFlowsConfig-3JZEPTOJ.js.map +1 -0
- package/dist/ListDomainFlowsFlowDetail-XX5AXDZZ.js +257 -0
- package/dist/ListDomainFlowsFlowDetail-XX5AXDZZ.js.map +1 -0
- package/dist/LoadBatchesConfig-IMODIWRT.js +38 -0
- package/dist/LoadBatchesConfig-IMODIWRT.js.map +1 -0
- package/dist/LoadBatchesFlowDetail-GB24T76O.js +101 -0
- package/dist/LoadBatchesFlowDetail-GB24T76O.js.map +1 -0
- package/dist/MatrixDmConfig-NBII27CS.js +120 -0
- package/dist/MatrixDmConfig-NBII27CS.js.map +1 -0
- package/dist/MatrixRegisterConfig-N2U4FBYF.js +62 -0
- package/dist/MatrixRegisterConfig-N2U4FBYF.js.map +1 -0
- package/dist/MatrixRegisterFlowDetail-D5YNL5QX.js +86 -0
- package/dist/MatrixRegisterFlowDetail-D5YNL5QX.js.map +1 -0
- package/dist/MemberMultiSelectConfig-E7WUB2WD.js +30 -0
- package/dist/MemberMultiSelectConfig-E7WUB2WD.js.map +1 -0
- package/dist/MemberMultiSelectFlowDetail-6C4ZMSDR.js +392 -0
- package/dist/MemberMultiSelectFlowDetail-6C4ZMSDR.js.map +1 -0
- package/dist/OracleConfig-R7TDTTKN.js +56 -0
- package/dist/OracleConfig-R7TDTTKN.js.map +1 -0
- package/dist/OracleConfigureOracleConfig-QFF74X3N.js +198 -0
- package/dist/OracleConfigureOracleConfig-QFF74X3N.js.map +1 -0
- package/dist/OracleConfigureOracleFlowDetail-MIBXUEKC.js +255 -0
- package/dist/OracleConfigureOracleFlowDetail-MIBXUEKC.js.map +1 -0
- package/dist/OracleContractConfig-PHY5L7W2.js +38 -0
- package/dist/OracleContractConfig-PHY5L7W2.js.map +1 -0
- package/dist/OracleContractFlowDetail-M3PM4AU4.js +78 -0
- package/dist/OracleContractFlowDetail-M3PM4AU4.js.map +1 -0
- package/dist/OracleDeployConfig-QBG76ATZ.js +10 -0
- package/dist/OracleDeployConfig-QBG76ATZ.js.map +1 -0
- package/dist/OracleDeployFlowDetail-WKTMD2AD.js +231 -0
- package/dist/OracleDeployFlowDetail-WKTMD2AD.js.map +1 -0
- package/dist/OracleDeploySetupConfig-75XPGFJQ.js +10 -0
- package/dist/OracleDeploySetupConfig-75XPGFJQ.js.map +1 -0
- package/dist/OracleDeploySetupFlowDetail-R3BQ7EAU.js +165 -0
- package/dist/OracleDeploySetupFlowDetail-R3BQ7EAU.js.map +1 -0
- package/dist/OracleDeployStartConfig-NA6GZ4VQ.js +10 -0
- package/dist/OracleDeployStartConfig-NA6GZ4VQ.js.map +1 -0
- package/dist/OracleDeployStartFlowDetail-EL3CMDMG.js +89 -0
- package/dist/OracleDeployStartFlowDetail-EL3CMDMG.js.map +1 -0
- package/dist/OracleFlowDetail-5JCJK3GH.js +76 -0
- package/dist/OracleFlowDetail-5JCJK3GH.js.map +1 -0
- package/dist/OraclePromptConfig-YBRESISH.js +39 -0
- package/dist/OraclePromptConfig-YBRESISH.js.map +1 -0
- package/dist/OraclePromptFlowDetail-O3XNK7HY.js +112 -0
- package/dist/OraclePromptFlowDetail-O3XNK7HY.js.map +1 -0
- package/dist/OracleStoreConfigConfig-TUZWTJMA.js +134 -0
- package/dist/OracleStoreConfigConfig-TUZWTJMA.js.map +1 -0
- package/dist/OracleStoreConfigFlowDetail-Q6AUUSUL.js +99 -0
- package/dist/OracleStoreConfigFlowDetail-Q6AUUSUL.js.map +1 -0
- package/dist/OracleStoreSecretsAndConfigConfig-SZPYEK7U.js +198 -0
- package/dist/OracleStoreSecretsAndConfigConfig-SZPYEK7U.js.map +1 -0
- package/dist/OracleStoreSecretsAndConfigFlowDetail-HQU3UKEB.js +220 -0
- package/dist/OracleStoreSecretsAndConfigFlowDetail-HQU3UKEB.js.map +1 -0
- package/dist/OracleStoreSecretsConfig-PQMF7LFT.js +191 -0
- package/dist/OracleStoreSecretsConfig-PQMF7LFT.js.map +1 -0
- package/dist/OracleStoreSecretsFlowDetail-5RXWQ3KA.js +197 -0
- package/dist/OracleStoreSecretsFlowDetail-5RXWQ3KA.js.map +1 -0
- package/dist/ProposalCreateConfig-U5IHZNT7.js +161 -0
- package/dist/ProposalCreateConfig-U5IHZNT7.js.map +1 -0
- package/dist/ProposalCreateFlowDetail-2FCRCNYV.js +235 -0
- package/dist/ProposalCreateFlowDetail-2FCRCNYV.js.map +1 -0
- package/dist/ProposalVoteConfig-MH4MU7SL.js +150 -0
- package/dist/ProposalVoteConfig-MH4MU7SL.js.map +1 -0
- package/dist/ProposalVoteFlowDetail-IJJ3OHAB.js +280 -0
- package/dist/ProposalVoteFlowDetail-IJJ3OHAB.js.map +1 -0
- package/dist/ProtocolSelectConfig-S5U3P6K7.js +48 -0
- package/dist/ProtocolSelectConfig-S5U3P6K7.js.map +1 -0
- package/dist/ProtocolSelectFlowDetail-XBSJIEIH.js +116 -0
- package/dist/ProtocolSelectFlowDetail-XBSJIEIH.js.map +1 -0
- package/dist/RetireConfig-MV37WWZ6.js +59 -0
- package/dist/RetireConfig-MV37WWZ6.js.map +1 -0
- package/dist/RetireFlowDetail-VZ5O4SXI.js +147 -0
- package/dist/RetireFlowDetail-VZ5O4SXI.js.map +1 -0
- package/dist/SandboxProvisionConfig-ZGG4IRHM.js +46 -0
- package/dist/SandboxProvisionConfig-ZGG4IRHM.js.map +1 -0
- package/dist/SandboxProvisionFlowDetail-RUY64INV.js +79 -0
- package/dist/SandboxProvisionFlowDetail-RUY64INV.js.map +1 -0
- package/dist/WalletFundConfig-CMM3EP3B.js +117 -0
- package/dist/WalletFundConfig-CMM3EP3B.js.map +1 -0
- package/dist/WalletFundFlowDetail-TXWCZA4K.js +279 -0
- package/dist/WalletFundFlowDetail-TXWCZA4K.js.map +1 -0
- package/dist/WalletGenerateAndFundConfig-364RSEND.js +10 -0
- package/dist/WalletGenerateAndFundConfig-364RSEND.js.map +1 -0
- package/dist/WalletGenerateAndFundFlowDetail-C2LZW3NO.js +54 -0
- package/dist/WalletGenerateAndFundFlowDetail-C2LZW3NO.js.map +1 -0
- package/dist/WalletGenerateConfig-YYLCS65G.js +10 -0
- package/dist/WalletGenerateConfig-YYLCS65G.js.map +1 -0
- package/dist/WalletGenerateFlowDetail-CQCNDGJA.js +53 -0
- package/dist/WalletGenerateFlowDetail-CQCNDGJA.js.map +1 -0
- package/dist/XeroContactCreateConfig-OWG5PA3B.js +102 -0
- package/dist/XeroContactCreateConfig-OWG5PA3B.js.map +1 -0
- package/dist/XeroContactCreateFlowDetail-6MAINCF6.js +127 -0
- package/dist/XeroContactCreateFlowDetail-6MAINCF6.js.map +1 -0
- package/dist/XeroInvoiceCreateConfig-O74RUSZM.js +403 -0
- package/dist/XeroInvoiceCreateConfig-O74RUSZM.js.map +1 -0
- package/dist/XeroInvoiceCreateFlowDetail-UL7KS6CZ.js +631 -0
- package/dist/XeroInvoiceCreateFlowDetail-UL7KS6CZ.js.map +1 -0
- package/dist/XeroInvoiceListConfig-UR3GONBJ.js +113 -0
- package/dist/XeroInvoiceListConfig-UR3GONBJ.js.map +1 -0
- package/dist/XeroInvoiceListFlowDetail-LYHODWH6.js +58 -0
- package/dist/XeroInvoiceListFlowDetail-LYHODWH6.js.map +1 -0
- package/dist/XeroPaymentCreateConfig-RPMAIK6E.js +116 -0
- package/dist/XeroPaymentCreateConfig-RPMAIK6E.js.map +1 -0
- package/dist/XeroPaymentCreateFlowDetail-CF35MVIM.js +573 -0
- package/dist/XeroPaymentCreateFlowDetail-CF35MVIM.js.map +1 -0
- package/dist/action-manifest.json +2091 -393
- package/dist/chunk-2GAYKKTL.js +9 -0
- package/dist/chunk-2GAYKKTL.js.map +1 -0
- package/dist/chunk-3TUYY4HK.js +20 -0
- package/dist/chunk-3TUYY4HK.js.map +1 -0
- package/dist/chunk-4DGCCXD6.js +710 -0
- package/dist/chunk-4DGCCXD6.js.map +1 -0
- package/dist/chunk-4NAFQF6V.js +11 -0
- package/dist/chunk-4NAFQF6V.js.map +1 -0
- package/dist/chunk-4PONO4US.js +799 -0
- package/dist/chunk-4PONO4US.js.map +1 -0
- package/dist/chunk-4TMOIK5M.js +21 -0
- package/dist/chunk-4TMOIK5M.js.map +1 -0
- package/dist/chunk-5E6Z6JJN.js +4456 -0
- package/dist/chunk-5E6Z6JJN.js.map +1 -0
- package/dist/chunk-5IH3VC5I.js +102 -0
- package/dist/chunk-5IH3VC5I.js.map +1 -0
- package/dist/chunk-5NTKDOP6.js +89 -0
- package/dist/chunk-5NTKDOP6.js.map +1 -0
- package/dist/chunk-5O2SFRGU.js +18 -0
- package/dist/chunk-5O2SFRGU.js.map +1 -0
- package/dist/chunk-632JLECF.js +55 -0
- package/dist/chunk-632JLECF.js.map +1 -0
- package/dist/chunk-676HDB7K.js +95 -0
- package/dist/chunk-676HDB7K.js.map +1 -0
- package/dist/chunk-6ESTNTSH.js +223 -0
- package/dist/chunk-6ESTNTSH.js.map +1 -0
- package/dist/chunk-6GKJR52N.js +15 -0
- package/dist/chunk-6GKJR52N.js.map +1 -0
- package/dist/chunk-6L4ZIKYU.js +23 -0
- package/dist/chunk-6L4ZIKYU.js.map +1 -0
- package/dist/chunk-76YX5R4L.js +11 -0
- package/dist/chunk-76YX5R4L.js.map +1 -0
- package/dist/chunk-7J3GFMN3.js +32 -0
- package/dist/chunk-7J3GFMN3.js.map +1 -0
- package/dist/chunk-7LSARC2G.js +102 -0
- package/dist/chunk-7LSARC2G.js.map +1 -0
- package/dist/chunk-7W7UUUIE.js +609 -0
- package/dist/chunk-7W7UUUIE.js.map +1 -0
- package/dist/chunk-7ZLW7H37.js +21 -0
- package/dist/chunk-7ZLW7H37.js.map +1 -0
- package/dist/chunk-AAZHI22G.js +18 -0
- package/dist/chunk-AAZHI22G.js.map +1 -0
- package/dist/chunk-ACNE455I.js +76 -0
- package/dist/chunk-ACNE455I.js.map +1 -0
- package/dist/chunk-BKLSSLPZ.js +27 -0
- package/dist/chunk-BKLSSLPZ.js.map +1 -0
- package/dist/chunk-BZ7UPUTY.js +417 -0
- package/dist/chunk-BZ7UPUTY.js.map +1 -0
- package/dist/chunk-CGFAICUE.js +28 -0
- package/dist/chunk-CGFAICUE.js.map +1 -0
- package/dist/chunk-CMCEWQ3C.js +19 -0
- package/dist/chunk-CMCEWQ3C.js.map +1 -0
- package/dist/chunk-CP4UV436.js +41 -0
- package/dist/chunk-CP4UV436.js.map +1 -0
- package/dist/chunk-DIQRZP7Z.js +51 -0
- package/dist/chunk-DIQRZP7Z.js.map +1 -0
- package/dist/chunk-EBFFDDAS.js +13 -0
- package/dist/chunk-EBFFDDAS.js.map +1 -0
- package/dist/chunk-EGVS23DR.js +85 -0
- package/dist/chunk-EGVS23DR.js.map +1 -0
- package/dist/chunk-EKBQ7K4N.js +15 -0
- package/dist/chunk-EKBQ7K4N.js.map +1 -0
- package/dist/chunk-EKQCZRAN.js +24 -0
- package/dist/chunk-EKQCZRAN.js.map +1 -0
- package/dist/chunk-EYKZIZ5J.js +48 -0
- package/dist/chunk-EYKZIZ5J.js.map +1 -0
- package/dist/{chunk-NEOPTPDF.js → chunk-F4PTFXZH.js} +11554 -22046
- package/dist/chunk-F4PTFXZH.js.map +1 -0
- package/dist/chunk-F5GTFCYV.js +3333 -0
- package/dist/chunk-F5GTFCYV.js.map +1 -0
- package/dist/chunk-FFYZXA75.js +58 -0
- package/dist/chunk-FFYZXA75.js.map +1 -0
- package/dist/chunk-GFGDHPZ2.js +22 -0
- package/dist/chunk-GFGDHPZ2.js.map +1 -0
- package/dist/chunk-GR3CDFID.js +18 -0
- package/dist/chunk-GR3CDFID.js.map +1 -0
- package/dist/chunk-GR4SIU32.js +104 -0
- package/dist/chunk-GR4SIU32.js.map +1 -0
- package/dist/chunk-H5E46IIS.js +18 -0
- package/dist/chunk-H5E46IIS.js.map +1 -0
- package/dist/chunk-HFHVAMZL.js +22 -0
- package/dist/chunk-HFHVAMZL.js.map +1 -0
- package/dist/chunk-HT6L7A5M.js +12 -0
- package/dist/chunk-HT6L7A5M.js.map +1 -0
- package/dist/chunk-I2FPFISM.js +301 -0
- package/dist/chunk-I2FPFISM.js.map +1 -0
- package/dist/chunk-IADAQJDH.js +28 -0
- package/dist/chunk-IADAQJDH.js.map +1 -0
- package/dist/chunk-IBOBCMQQ.js +99 -0
- package/dist/chunk-IBOBCMQQ.js.map +1 -0
- package/dist/chunk-IFWKRCFF.js +56 -0
- package/dist/chunk-IFWKRCFF.js.map +1 -0
- package/dist/chunk-IH4T7V4C.js +40 -0
- package/dist/chunk-IH4T7V4C.js.map +1 -0
- package/dist/chunk-IIIZZ4E4.js +1679 -0
- package/dist/chunk-IIIZZ4E4.js.map +1 -0
- package/dist/chunk-ILSFU3WD.js +83 -0
- package/dist/chunk-ILSFU3WD.js.map +1 -0
- package/dist/chunk-IX3VBV3L.js +43 -0
- package/dist/chunk-IX3VBV3L.js.map +1 -0
- package/dist/chunk-JB6ASLUJ.js +315 -0
- package/dist/chunk-JB6ASLUJ.js.map +1 -0
- package/dist/chunk-JBBFSORW.js +846 -0
- package/dist/chunk-JBBFSORW.js.map +1 -0
- package/dist/chunk-JIDTNKKL.js +1183 -0
- package/dist/chunk-JIDTNKKL.js.map +1 -0
- package/dist/chunk-JSPE6NGZ.js +22 -0
- package/dist/chunk-JSPE6NGZ.js.map +1 -0
- package/dist/chunk-JVROGQ7Q.js +150 -0
- package/dist/chunk-JVROGQ7Q.js.map +1 -0
- package/dist/chunk-K4WUMWNJ.js +32 -0
- package/dist/chunk-K4WUMWNJ.js.map +1 -0
- package/dist/chunk-K74XQ4Q5.js +11 -0
- package/dist/chunk-K74XQ4Q5.js.map +1 -0
- package/dist/chunk-KLLMJ4U3.js +22 -0
- package/dist/chunk-KLLMJ4U3.js.map +1 -0
- package/dist/chunk-LTKVCJ2E.js +27 -0
- package/dist/chunk-LTKVCJ2E.js.map +1 -0
- package/dist/chunk-M36DJTFZ.js +34 -0
- package/dist/chunk-M36DJTFZ.js.map +1 -0
- package/dist/chunk-MHM52LCJ.js +154 -0
- package/dist/chunk-MHM52LCJ.js.map +1 -0
- package/dist/chunk-MQCDMHRZ.js +59 -0
- package/dist/chunk-MQCDMHRZ.js.map +1 -0
- package/dist/chunk-MZIBZ5FY.js +554 -0
- package/dist/chunk-MZIBZ5FY.js.map +1 -0
- package/dist/chunk-N3ORMGAI.js +348 -0
- package/dist/chunk-N3ORMGAI.js.map +1 -0
- package/dist/chunk-NCSGIRRQ.js +28 -0
- package/dist/chunk-NCSGIRRQ.js.map +1 -0
- package/dist/chunk-NIXT2SBH.js +1423 -0
- package/dist/chunk-NIXT2SBH.js.map +1 -0
- package/dist/chunk-NJAII6CO.js +148 -0
- package/dist/chunk-NJAII6CO.js.map +1 -0
- package/dist/chunk-NKE4TL43.js +92 -0
- package/dist/chunk-NKE4TL43.js.map +1 -0
- package/dist/chunk-NZ7AXA7B.js +1 -0
- package/dist/chunk-NZ7AXA7B.js.map +1 -0
- package/dist/chunk-OCAYEGI2.js +26 -0
- package/dist/chunk-OCAYEGI2.js.map +1 -0
- package/dist/chunk-OMLI45ER.js +90 -0
- package/dist/chunk-OMLI45ER.js.map +1 -0
- package/dist/chunk-P7OBLJAG.js +88 -0
- package/dist/chunk-P7OBLJAG.js.map +1 -0
- package/dist/chunk-PAY3CBWL.js +2321 -0
- package/dist/chunk-PAY3CBWL.js.map +1 -0
- package/dist/chunk-PFF6VY35.js +257 -0
- package/dist/chunk-PFF6VY35.js.map +1 -0
- package/dist/chunk-PYNDJDWZ.js +1758 -0
- package/dist/chunk-PYNDJDWZ.js.map +1 -0
- package/dist/chunk-QDQ6UMMN.js +53 -0
- package/dist/chunk-QDQ6UMMN.js.map +1 -0
- package/dist/chunk-QGT3G2XG.js +24 -0
- package/dist/chunk-QGT3G2XG.js.map +1 -0
- package/dist/chunk-QZYCJ2GZ.js +55 -0
- package/dist/chunk-QZYCJ2GZ.js.map +1 -0
- package/dist/chunk-REZ7RFSA.js +124 -0
- package/dist/chunk-REZ7RFSA.js.map +1 -0
- package/dist/chunk-RRYBAE6E.js +2449 -0
- package/dist/chunk-RRYBAE6E.js.map +1 -0
- package/dist/chunk-RWUZOB62.js +34 -0
- package/dist/chunk-RWUZOB62.js.map +1 -0
- package/dist/chunk-SB5UCPZH.js +116 -0
- package/dist/chunk-SB5UCPZH.js.map +1 -0
- package/dist/chunk-SEJJ7CRI.js +99 -0
- package/dist/chunk-SEJJ7CRI.js.map +1 -0
- package/dist/chunk-SHBFGRPV.js +45 -0
- package/dist/chunk-SHBFGRPV.js.map +1 -0
- package/dist/chunk-SOFJ4GC5.js +45 -0
- package/dist/chunk-SOFJ4GC5.js.map +1 -0
- package/dist/chunk-STH2HPZK.js +44 -0
- package/dist/chunk-STH2HPZK.js.map +1 -0
- package/dist/chunk-TK3JNKME.js +28 -0
- package/dist/chunk-TK3JNKME.js.map +1 -0
- package/dist/chunk-TMONHFE3.js +46 -0
- package/dist/chunk-TMONHFE3.js.map +1 -0
- package/dist/chunk-TR4KO3AG.js +44 -0
- package/dist/chunk-TR4KO3AG.js.map +1 -0
- package/dist/chunk-TS2LNBF2.js +68 -0
- package/dist/chunk-TS2LNBF2.js.map +1 -0
- package/dist/chunk-UZUMBFPP.js +26 -0
- package/dist/chunk-UZUMBFPP.js.map +1 -0
- package/dist/chunk-VRZ5LMOW.js +176 -0
- package/dist/chunk-VRZ5LMOW.js.map +1 -0
- package/dist/chunk-WLGGY6Z6.js +75 -0
- package/dist/chunk-WLGGY6Z6.js.map +1 -0
- package/dist/chunk-WO7V6ZNC.js +11 -0
- package/dist/chunk-WO7V6ZNC.js.map +1 -0
- package/dist/chunk-WXSENSRP.js +64 -0
- package/dist/chunk-WXSENSRP.js.map +1 -0
- package/dist/chunk-XEKBZ2SA.js +19 -0
- package/dist/chunk-XEKBZ2SA.js.map +1 -0
- package/dist/chunk-XPBKU3JX.js +61 -0
- package/dist/chunk-XPBKU3JX.js.map +1 -0
- package/dist/chunk-XRYXBXWH.js +24 -0
- package/dist/chunk-XRYXBXWH.js.map +1 -0
- package/dist/chunk-XVA7QRVH.js +22 -0
- package/dist/chunk-XVA7QRVH.js.map +1 -0
- package/dist/chunk-XYXDY72K.js +27508 -0
- package/dist/chunk-XYXDY72K.js.map +1 -0
- package/dist/chunk-YCTHHBSS.js +37 -0
- package/dist/chunk-YCTHHBSS.js.map +1 -0
- package/dist/chunk-YHPWD5NE.js +70 -0
- package/dist/chunk-YHPWD5NE.js.map +1 -0
- package/dist/chunk-YLNEKJQ5.js +126 -0
- package/dist/chunk-YLNEKJQ5.js.map +1 -0
- package/dist/chunk-YN4CEKCF.js +73 -0
- package/dist/chunk-YN4CEKCF.js.map +1 -0
- package/dist/chunk-YYNMESIF.js +17 -0
- package/dist/chunk-YYNMESIF.js.map +1 -0
- package/dist/chunk-Z6PRMCV6.js +1 -0
- package/dist/chunk-Z6PRMCV6.js.map +1 -0
- package/dist/chunk-ZDNW6VQG.js +11 -0
- package/dist/chunk-ZDNW6VQG.js.map +1 -0
- package/dist/chunk-ZP4D73DO.js +36 -0
- package/dist/chunk-ZP4D73DO.js.map +1 -0
- package/dist/chunk-ZUATADUV.js +26 -0
- package/dist/chunk-ZUATADUV.js.map +1 -0
- package/dist/{connections-1NtNQrsY.d.ts → connections-CEcurtWI.d.ts} +74 -9
- package/dist/core/index.cjs +14041 -6973
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +422 -138
- package/dist/core/index.js +425 -183
- package/dist/core/index.js.map +1 -1
- package/dist/flow-vnext/index.cjs +2842 -0
- package/dist/flow-vnext/index.cjs.map +1 -0
- package/dist/flow-vnext/index.d.ts +3 -0
- package/dist/flow-vnext/index.js +119 -0
- package/dist/flow-vnext/index.js.map +1 -0
- package/dist/{graphql-client-Bn0tN049.d.ts → graphql-client-B2tREsx6.d.ts} +3 -1
- package/dist/index-b9xxXGFs.d.ts +1230 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +202 -37
- package/dist/index.js.map +1 -1
- package/dist/legacy-BpgIqaQ5.d.ts +14 -0
- package/dist/mantine/index.d.ts +7 -4
- package/dist/mantine/index.js +84 -30
- package/dist/mantine/index.js.map +1 -1
- package/dist/{runtime-BFwvCQDF.d.ts → types-Dqk5MTfW.d.ts} +6096 -5386
- package/package.json +12 -2
- package/dist/chunk-A4CWC4AG.js +0 -374
- package/dist/chunk-A4CWC4AG.js.map +0 -1
- package/dist/chunk-NEOPTPDF.js.map +0 -1
- package/dist/chunk-VRCRDKN5.js +0 -59694
- package/dist/chunk-VRCRDKN5.js.map +0 -1
|
@@ -0,0 +1,799 @@
|
|
|
1
|
+
import {
|
|
2
|
+
parseHttpRequestInputs
|
|
3
|
+
} from "./chunk-XPBKU3JX.js";
|
|
4
|
+
import {
|
|
5
|
+
createReference,
|
|
6
|
+
hasReferences,
|
|
7
|
+
parseReferences
|
|
8
|
+
} from "./chunk-JVROGQ7Q.js";
|
|
9
|
+
import {
|
|
10
|
+
getAction,
|
|
11
|
+
getEventsForBlock,
|
|
12
|
+
getOutputSchemaForBlock
|
|
13
|
+
} from "./chunk-IIIZZ4E4.js";
|
|
14
|
+
|
|
15
|
+
// src/mantine/components/DataInput/DataInput.tsx
|
|
16
|
+
import React2, { useState as useState2, useCallback, useMemo as useMemo2 } from "react";
|
|
17
|
+
import { Input, ActionIcon as ActionIcon2, Tooltip, Group as Group2 } from "@mantine/core";
|
|
18
|
+
import { IconVariable, IconX as IconX2 } from "@tabler/icons-react";
|
|
19
|
+
|
|
20
|
+
// src/mantine/components/DataInput/BlockPropSelector.tsx
|
|
21
|
+
import React, { useState, useMemo } from "react";
|
|
22
|
+
import { Popover, Text, Stack, Group, ActionIcon, TextInput, ScrollArea, Badge, Box } from "@mantine/core";
|
|
23
|
+
import { IconSearch, IconX, IconChevronRight, IconArrowLeft, IconBolt } from "@tabler/icons-react";
|
|
24
|
+
|
|
25
|
+
// src/mantine/blocks/apiRequest/types.ts
|
|
26
|
+
function parseResponseSchema(schemaString) {
|
|
27
|
+
if (!schemaString) return null;
|
|
28
|
+
try {
|
|
29
|
+
return JSON.parse(schemaString);
|
|
30
|
+
} catch (error) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function validateResponseAgainstSchema(response, schema) {
|
|
35
|
+
const errors = [];
|
|
36
|
+
schema.fields.forEach((field) => {
|
|
37
|
+
const value = getNestedValueForValidation(response, field.path);
|
|
38
|
+
if (value === void 0) {
|
|
39
|
+
errors.push(`Missing field: ${field.path}`);
|
|
40
|
+
} else {
|
|
41
|
+
const actualType = Array.isArray(value) ? "array" : typeof value;
|
|
42
|
+
if (field.type === "object" && actualType !== "object") {
|
|
43
|
+
errors.push(`Type mismatch for ${field.path}: expected object, got ${actualType}`);
|
|
44
|
+
} else if (field.type === "array" && !Array.isArray(value)) {
|
|
45
|
+
errors.push(`Type mismatch for ${field.path}: expected array, got ${actualType}`);
|
|
46
|
+
} else if (field.type !== "object" && field.type !== "array" && actualType !== field.type) {
|
|
47
|
+
errors.push(`Type mismatch for ${field.path}: expected ${field.type}, got ${actualType}`);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
return errors;
|
|
52
|
+
}
|
|
53
|
+
function getNestedValueForValidation(obj, path) {
|
|
54
|
+
return path.split(".").reduce((current, key) => {
|
|
55
|
+
return current?.[key];
|
|
56
|
+
}, obj);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// src/mantine/blocks/registry/conditionableProperties.ts
|
|
60
|
+
var CONDITIONABLE_PROPERTIES = {
|
|
61
|
+
checkbox: [
|
|
62
|
+
{
|
|
63
|
+
name: "checked",
|
|
64
|
+
displayName: "Is checked",
|
|
65
|
+
type: "boolean",
|
|
66
|
+
description: "Whether the checkbox is currently checked"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "title",
|
|
70
|
+
displayName: "Title",
|
|
71
|
+
type: "string",
|
|
72
|
+
description: "The title text of the checkbox"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: "description",
|
|
76
|
+
displayName: "Description",
|
|
77
|
+
type: "string",
|
|
78
|
+
description: "The description text of the checkbox"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: "allowedCheckers",
|
|
82
|
+
displayName: "Allowed checkers",
|
|
83
|
+
type: "string",
|
|
84
|
+
description: "Who can check this checkbox"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
proposal: [
|
|
88
|
+
{
|
|
89
|
+
name: "status",
|
|
90
|
+
displayName: "Status",
|
|
91
|
+
type: "select",
|
|
92
|
+
selectOptions: [
|
|
93
|
+
{ value: "draft", label: "Draft" },
|
|
94
|
+
{ value: "created", label: "Created" }
|
|
95
|
+
],
|
|
96
|
+
description: "The current status of the proposal"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: "title",
|
|
100
|
+
displayName: "Title",
|
|
101
|
+
type: "string",
|
|
102
|
+
description: "The title of the proposal"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "description",
|
|
106
|
+
displayName: "Description",
|
|
107
|
+
type: "string",
|
|
108
|
+
description: "The description of the proposal"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
name: "proposalId",
|
|
112
|
+
displayName: "Proposal ID",
|
|
113
|
+
type: "string",
|
|
114
|
+
description: "The unique identifier of the proposal"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
proposalVote: [
|
|
118
|
+
{
|
|
119
|
+
name: "status",
|
|
120
|
+
displayName: "Status",
|
|
121
|
+
type: "select",
|
|
122
|
+
selectOptions: [
|
|
123
|
+
{ value: "open", label: "Open" },
|
|
124
|
+
{ value: "passed", label: "Passed" },
|
|
125
|
+
{ value: "rejected", label: "Rejected" },
|
|
126
|
+
{ value: "executed", label: "Executed" },
|
|
127
|
+
{ value: "closed", label: "Closed" }
|
|
128
|
+
],
|
|
129
|
+
description: "The current status of the proposal vote"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: "title",
|
|
133
|
+
displayName: "Title",
|
|
134
|
+
type: "string",
|
|
135
|
+
description: "The title of the proposal vote"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: "subtitle",
|
|
139
|
+
displayName: "Subtitle",
|
|
140
|
+
type: "string",
|
|
141
|
+
description: "The subtitle of the proposal vote"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: "daysLeft",
|
|
145
|
+
displayName: "Days left",
|
|
146
|
+
type: "number",
|
|
147
|
+
description: "Number of days remaining for voting"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: "proposalId",
|
|
151
|
+
displayName: "Proposal ID",
|
|
152
|
+
type: "string",
|
|
153
|
+
description: "The unique identifier of the proposal"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
list: [
|
|
157
|
+
{
|
|
158
|
+
name: "title",
|
|
159
|
+
displayName: "Title",
|
|
160
|
+
type: "string",
|
|
161
|
+
description: "The title of the list"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
name: "did",
|
|
165
|
+
displayName: "DID",
|
|
166
|
+
type: "string",
|
|
167
|
+
description: "The DID associated with the list"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: "fragmentIdentifier",
|
|
171
|
+
displayName: "Fragment identifier",
|
|
172
|
+
type: "string",
|
|
173
|
+
description: "The fragment identifier for the list"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
overview: [
|
|
177
|
+
{
|
|
178
|
+
name: "did",
|
|
179
|
+
displayName: "DID",
|
|
180
|
+
type: "string",
|
|
181
|
+
description: "The DID associated with the overview"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
proposalActions: [
|
|
185
|
+
{
|
|
186
|
+
name: "proposalBlockId",
|
|
187
|
+
displayName: "Proposal block ID",
|
|
188
|
+
type: "string",
|
|
189
|
+
description: "The ID of the associated proposal block"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: "actions",
|
|
193
|
+
displayName: "Actions",
|
|
194
|
+
type: "string",
|
|
195
|
+
description: "The JSON string of actions"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
apiRequest: [
|
|
199
|
+
{
|
|
200
|
+
name: "endpoint",
|
|
201
|
+
displayName: "Endpoint",
|
|
202
|
+
type: "string",
|
|
203
|
+
description: "The API endpoint URL"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: "method",
|
|
207
|
+
displayName: "HTTP Method",
|
|
208
|
+
type: "select",
|
|
209
|
+
selectOptions: [
|
|
210
|
+
{ value: "GET", label: "GET" },
|
|
211
|
+
{ value: "POST", label: "POST" },
|
|
212
|
+
{ value: "PUT", label: "PUT" },
|
|
213
|
+
{ value: "DELETE", label: "DELETE" },
|
|
214
|
+
{ value: "PATCH", label: "PATCH" }
|
|
215
|
+
],
|
|
216
|
+
description: "The HTTP method for the request"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
name: "response",
|
|
220
|
+
displayName: "Response",
|
|
221
|
+
type: "string",
|
|
222
|
+
description: "The response data from the API request"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
name: "status",
|
|
226
|
+
displayName: "Status",
|
|
227
|
+
type: "select",
|
|
228
|
+
selectOptions: [
|
|
229
|
+
{ value: "idle", label: "Idle" },
|
|
230
|
+
{ value: "loading", label: "Loading" },
|
|
231
|
+
{ value: "success", label: "Success" },
|
|
232
|
+
{ value: "error", label: "Error" }
|
|
233
|
+
],
|
|
234
|
+
description: "The current status of the API request"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: "title",
|
|
238
|
+
displayName: "Title",
|
|
239
|
+
type: "string",
|
|
240
|
+
description: "The title of the API request block"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
name: "description",
|
|
244
|
+
displayName: "Description",
|
|
245
|
+
type: "string",
|
|
246
|
+
description: "The description of the API request block"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
domainCreator: [
|
|
250
|
+
{
|
|
251
|
+
name: "title",
|
|
252
|
+
displayName: "Title",
|
|
253
|
+
type: "string",
|
|
254
|
+
description: "The title of the domain creator block"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: "description",
|
|
258
|
+
displayName: "Description",
|
|
259
|
+
type: "string",
|
|
260
|
+
description: "Supporting description text for the domain creator block"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
name: "surveySchema",
|
|
264
|
+
displayName: "Survey schema",
|
|
265
|
+
type: "string",
|
|
266
|
+
description: "JSON string containing the full survey definition with field types, titles, and structure"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
name: "answers",
|
|
270
|
+
displayName: "Survey answers",
|
|
271
|
+
type: "string",
|
|
272
|
+
description: "JSON string containing current survey answers (can be updated by AI agents)"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
name: "lastSubmission",
|
|
276
|
+
displayName: "Last submission data",
|
|
277
|
+
type: "string",
|
|
278
|
+
description: "JSON string from the last completed survey response"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
name: "entityDid",
|
|
282
|
+
displayName: "Entity DID",
|
|
283
|
+
type: "string",
|
|
284
|
+
description: "The DID of the created entity"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: "entityType",
|
|
288
|
+
displayName: "Entity Type",
|
|
289
|
+
type: "string",
|
|
290
|
+
description: "The type of entity created (e.g., dao, protocol)"
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
email: [
|
|
294
|
+
{
|
|
295
|
+
name: "status",
|
|
296
|
+
displayName: "Status",
|
|
297
|
+
type: "select",
|
|
298
|
+
selectOptions: [
|
|
299
|
+
{ value: "idle", label: "Idle" },
|
|
300
|
+
{ value: "sending", label: "Sending" },
|
|
301
|
+
{ value: "sent", label: "Sent" },
|
|
302
|
+
{ value: "error", label: "Error" }
|
|
303
|
+
],
|
|
304
|
+
description: "The current status of the email"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: "lastSentAt",
|
|
308
|
+
displayName: "Last sent at",
|
|
309
|
+
type: "string",
|
|
310
|
+
description: "Timestamp when the email was last sent"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
name: "templateName",
|
|
314
|
+
displayName: "Template",
|
|
315
|
+
type: "string",
|
|
316
|
+
description: "Selected email template name"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
name: "title",
|
|
320
|
+
displayName: "Title",
|
|
321
|
+
type: "string",
|
|
322
|
+
description: "The title of the email block"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
name: "error",
|
|
326
|
+
displayName: "Error",
|
|
327
|
+
type: "string",
|
|
328
|
+
description: "Error message if sending failed"
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
governanceGroup: [
|
|
332
|
+
{
|
|
333
|
+
name: "coreAddress",
|
|
334
|
+
displayName: "Core Address",
|
|
335
|
+
type: "string",
|
|
336
|
+
description: "The DAO core contract address"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
name: "groupAddress",
|
|
340
|
+
displayName: "Group Address",
|
|
341
|
+
type: "string",
|
|
342
|
+
description: "The voting group contract address"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
name: "groupType",
|
|
346
|
+
displayName: "Group Type",
|
|
347
|
+
type: "select",
|
|
348
|
+
selectOptions: [
|
|
349
|
+
{ value: "categorical", label: "Categorical" },
|
|
350
|
+
{ value: "multisig", label: "Multisig" },
|
|
351
|
+
{ value: "nftStaking", label: "NFT Staking" },
|
|
352
|
+
{ value: "tokenStaking", label: "Token Staking" }
|
|
353
|
+
],
|
|
354
|
+
description: "Type of governance group"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: "title",
|
|
358
|
+
displayName: "Title",
|
|
359
|
+
type: "string",
|
|
360
|
+
description: "Title of the governance group block"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
name: "description",
|
|
364
|
+
displayName: "Description",
|
|
365
|
+
type: "string",
|
|
366
|
+
description: "Description of the governance group block"
|
|
367
|
+
}
|
|
368
|
+
],
|
|
369
|
+
flowLink: [
|
|
370
|
+
{
|
|
371
|
+
name: "title",
|
|
372
|
+
displayName: "Title",
|
|
373
|
+
type: "string",
|
|
374
|
+
description: "Block title"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
name: "description",
|
|
378
|
+
displayName: "Description",
|
|
379
|
+
type: "string",
|
|
380
|
+
description: "Block description"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
name: "linksCount",
|
|
384
|
+
displayName: "Links count",
|
|
385
|
+
type: "number",
|
|
386
|
+
description: "Number of configured links"
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
action: [],
|
|
390
|
+
embed: []
|
|
391
|
+
};
|
|
392
|
+
function getConditionableProperties(blockType, block) {
|
|
393
|
+
const baseProperties = CONDITIONABLE_PROPERTIES[blockType] || [];
|
|
394
|
+
if (blockType === "apiRequest" && block?.props?.responseSchema) {
|
|
395
|
+
const schema = parseResponseSchema(block.props.responseSchema);
|
|
396
|
+
if (schema && schema.fields.length > 0) {
|
|
397
|
+
const schemaProperties = schema.fields.map((field) => ({
|
|
398
|
+
name: `response.${field.path}`,
|
|
399
|
+
displayName: field.displayName,
|
|
400
|
+
type: field.type,
|
|
401
|
+
description: field.description || `Response field: ${field.displayName}`
|
|
402
|
+
}));
|
|
403
|
+
const filteredBase = baseProperties.filter((prop) => prop.name !== "response");
|
|
404
|
+
return [...filteredBase, ...schemaProperties];
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
if (blockType === "action" && block?.props?.actionType) {
|
|
408
|
+
const actionDef = getAction(block.props.actionType);
|
|
409
|
+
const schema = getOutputSchemaForBlock(actionDef, block.props?.inputs);
|
|
410
|
+
if (schema.length > 0) {
|
|
411
|
+
return schema.map((field) => ({
|
|
412
|
+
name: `output.${field.path}`,
|
|
413
|
+
displayName: field.displayName,
|
|
414
|
+
type: field.type,
|
|
415
|
+
description: field.description || `Output field: ${field.displayName}`
|
|
416
|
+
}));
|
|
417
|
+
}
|
|
418
|
+
if (block.props.inputs) {
|
|
419
|
+
const parsed = parseHttpRequestInputs(block.props.inputs);
|
|
420
|
+
const schema2 = parsed.responseSchema;
|
|
421
|
+
if (schema2 && schema2.fields.length > 0) {
|
|
422
|
+
return schema2.fields.map((field) => ({
|
|
423
|
+
name: `output.${field.path}`,
|
|
424
|
+
displayName: field.displayName,
|
|
425
|
+
type: field.type,
|
|
426
|
+
description: field.description || `Output field: ${field.displayName}`
|
|
427
|
+
}));
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
return baseProperties;
|
|
432
|
+
}
|
|
433
|
+
function getEventPayloadProperties(actionType, eventName, sourceBlockInputs) {
|
|
434
|
+
if (!actionType || !eventName) return [];
|
|
435
|
+
const actionDef = getAction(actionType);
|
|
436
|
+
const events = getEventsForBlock(actionDef, sourceBlockInputs);
|
|
437
|
+
const event = events.find((e) => e.name === eventName);
|
|
438
|
+
if (!event) return [];
|
|
439
|
+
return event.payloadSchema.map((field) => ({
|
|
440
|
+
name: `payload.${field.path}`,
|
|
441
|
+
displayName: field.displayName,
|
|
442
|
+
type: narrowFieldType(field.type),
|
|
443
|
+
description: field.description || `Event payload field: ${field.displayName}`
|
|
444
|
+
}));
|
|
445
|
+
}
|
|
446
|
+
function narrowFieldType(type) {
|
|
447
|
+
switch (type) {
|
|
448
|
+
case "string":
|
|
449
|
+
case "number":
|
|
450
|
+
case "boolean":
|
|
451
|
+
case "object":
|
|
452
|
+
case "array":
|
|
453
|
+
return type;
|
|
454
|
+
default:
|
|
455
|
+
return "string";
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
function getPropertyByName(blockType, propertyName) {
|
|
459
|
+
const properties = getConditionableProperties(blockType);
|
|
460
|
+
return properties.find((prop) => prop.name === propertyName) || null;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
// src/mantine/components/DataInput/BlockPropSelector.tsx
|
|
464
|
+
var TRIGGER_PAYLOAD_BLOCK_ID = "__trigger__";
|
|
465
|
+
var ITEM_SCOPE_BLOCK_ID = "item";
|
|
466
|
+
function buildPropertyTree(properties) {
|
|
467
|
+
const root = [];
|
|
468
|
+
properties.forEach((prop) => {
|
|
469
|
+
const pathParts = prop.name.split(".");
|
|
470
|
+
let currentLevel = root;
|
|
471
|
+
pathParts.forEach((part, index) => {
|
|
472
|
+
const isLastPart = index === pathParts.length - 1;
|
|
473
|
+
const fullPath = pathParts.slice(0, index + 1).join(".");
|
|
474
|
+
let existingNode = currentLevel.find((node) => node.name === part);
|
|
475
|
+
if (!existingNode) {
|
|
476
|
+
const newNode = {
|
|
477
|
+
name: part,
|
|
478
|
+
displayName: isLastPart ? prop.displayName : part,
|
|
479
|
+
type: isLastPart ? prop.type : "object",
|
|
480
|
+
fullPath,
|
|
481
|
+
children: [],
|
|
482
|
+
isLeaf: isLastPart
|
|
483
|
+
};
|
|
484
|
+
currentLevel.push(newNode);
|
|
485
|
+
existingNode = newNode;
|
|
486
|
+
}
|
|
487
|
+
if (!isLastPart) {
|
|
488
|
+
currentLevel = existingNode.children;
|
|
489
|
+
}
|
|
490
|
+
});
|
|
491
|
+
});
|
|
492
|
+
return root;
|
|
493
|
+
}
|
|
494
|
+
function getBlockDisplayName(block) {
|
|
495
|
+
const title = block.props?.title || block.props?.name || block.props?.label;
|
|
496
|
+
if (title) return title;
|
|
497
|
+
return `${block.type} (${block.id.slice(0, 8)}...)`;
|
|
498
|
+
}
|
|
499
|
+
function getBlockTypeColor(blockType) {
|
|
500
|
+
const colorMap = {
|
|
501
|
+
checkbox: "blue",
|
|
502
|
+
proposal: "green",
|
|
503
|
+
proposalVote: "teal",
|
|
504
|
+
list: "orange",
|
|
505
|
+
overview: "violet",
|
|
506
|
+
proposalActions: "pink",
|
|
507
|
+
apiRequest: "cyan",
|
|
508
|
+
action: "teal",
|
|
509
|
+
email: "indigo",
|
|
510
|
+
claim: "yellow",
|
|
511
|
+
bid: "orange",
|
|
512
|
+
evaluator: "grape"
|
|
513
|
+
};
|
|
514
|
+
return colorMap[blockType] || "gray";
|
|
515
|
+
}
|
|
516
|
+
var DROPDOWN_BG = "var(--mantine-color-neutralColor-2)";
|
|
517
|
+
var ITEM_HOVER_BG = "var(--mantine-color-neutralColor-3)";
|
|
518
|
+
var BORDER_COLOR = "var(--mantine-color-neutralColor-5)";
|
|
519
|
+
var TEXT_PRIMARY = "var(--mantine-color-text)";
|
|
520
|
+
var TEXT_DIMMED = "var(--mantine-color-dimmed)";
|
|
521
|
+
function BlockPropSelector({ children, opened, onClose, onSelect, editorDocument, currentBlockId, triggerSource, itemScope }) {
|
|
522
|
+
const [searchQuery, setSearchQuery] = useState("");
|
|
523
|
+
const [selectedBlock, setSelectedBlock] = useState(null);
|
|
524
|
+
const [navigationPath, setNavigationPath] = useState([]);
|
|
525
|
+
const triggerVirtualBlock = useMemo(() => {
|
|
526
|
+
if (!triggerSource) return null;
|
|
527
|
+
const properties = getEventPayloadProperties(triggerSource.sourceActionType, triggerSource.eventName, triggerSource.sourceBlockInputs);
|
|
528
|
+
if (properties.length === 0) return null;
|
|
529
|
+
const sourceLabel = triggerSource.sourceDisplayName || triggerSource.sourceBlockId;
|
|
530
|
+
return {
|
|
531
|
+
id: TRIGGER_PAYLOAD_BLOCK_ID,
|
|
532
|
+
type: "trigger",
|
|
533
|
+
displayName: `On ${triggerSource.eventName} from ${sourceLabel}`,
|
|
534
|
+
properties,
|
|
535
|
+
propertyTree: buildPropertyTree(properties)
|
|
536
|
+
};
|
|
537
|
+
}, [triggerSource]);
|
|
538
|
+
const itemVirtualBlock = useMemo(() => {
|
|
539
|
+
if (!itemScope || !itemScope.schema || itemScope.schema.length === 0) return null;
|
|
540
|
+
const properties = itemScope.schema.map((f) => ({
|
|
541
|
+
name: f.path,
|
|
542
|
+
displayName: f.displayName || f.path,
|
|
543
|
+
type: ["string", "number", "boolean", "object", "array"].includes(f.type) ? f.type : "string",
|
|
544
|
+
description: f.description
|
|
545
|
+
}));
|
|
546
|
+
return {
|
|
547
|
+
id: ITEM_SCOPE_BLOCK_ID,
|
|
548
|
+
type: "item",
|
|
549
|
+
displayName: itemScope.displayName || "Current line item",
|
|
550
|
+
properties,
|
|
551
|
+
propertyTree: buildPropertyTree(properties)
|
|
552
|
+
};
|
|
553
|
+
}, [itemScope]);
|
|
554
|
+
const availableBlocks = useMemo(() => {
|
|
555
|
+
if (!editorDocument) return [];
|
|
556
|
+
const regularBlocks = editorDocument.filter((block) => {
|
|
557
|
+
if (currentBlockId && block.id === currentBlockId) return false;
|
|
558
|
+
return getConditionableProperties(block.type, block).length > 0;
|
|
559
|
+
}).map((block) => ({
|
|
560
|
+
...block,
|
|
561
|
+
displayName: getBlockDisplayName(block),
|
|
562
|
+
properties: getConditionableProperties(block.type, block),
|
|
563
|
+
propertyTree: buildPropertyTree(getConditionableProperties(block.type, block))
|
|
564
|
+
}));
|
|
565
|
+
const virtuals = [];
|
|
566
|
+
if (itemVirtualBlock) virtuals.push(itemVirtualBlock);
|
|
567
|
+
if (triggerVirtualBlock) virtuals.push(triggerVirtualBlock);
|
|
568
|
+
return [...virtuals, ...regularBlocks];
|
|
569
|
+
}, [editorDocument, currentBlockId, triggerVirtualBlock, itemVirtualBlock]);
|
|
570
|
+
const filteredBlocks = useMemo(() => {
|
|
571
|
+
if (!searchQuery.trim()) return availableBlocks;
|
|
572
|
+
const query = searchQuery.toLowerCase();
|
|
573
|
+
return availableBlocks.filter((block) => {
|
|
574
|
+
if (block.displayName.toLowerCase().includes(query)) return true;
|
|
575
|
+
if (block.type.toLowerCase().includes(query)) return true;
|
|
576
|
+
return block.properties.some((prop) => prop.name.toLowerCase().includes(query) || prop.displayName.toLowerCase().includes(query));
|
|
577
|
+
});
|
|
578
|
+
}, [availableBlocks, searchQuery]);
|
|
579
|
+
const currentNodes = useMemo(() => {
|
|
580
|
+
if (!selectedBlock) return [];
|
|
581
|
+
if (navigationPath.length === 0) return selectedBlock.propertyTree;
|
|
582
|
+
return navigationPath[navigationPath.length - 1].children;
|
|
583
|
+
}, [selectedBlock, navigationPath]);
|
|
584
|
+
const handleBlockSelect = (block) => {
|
|
585
|
+
setSelectedBlock(block);
|
|
586
|
+
setNavigationPath([]);
|
|
587
|
+
setSearchQuery("");
|
|
588
|
+
};
|
|
589
|
+
const handleNodeClick = (node) => {
|
|
590
|
+
if (node.isLeaf) {
|
|
591
|
+
onSelect({
|
|
592
|
+
blockId: selectedBlock.id,
|
|
593
|
+
blockType: selectedBlock.type,
|
|
594
|
+
propName: node.fullPath,
|
|
595
|
+
propDisplayName: node.displayName
|
|
596
|
+
});
|
|
597
|
+
handleClose();
|
|
598
|
+
} else {
|
|
599
|
+
setNavigationPath([...navigationPath, node]);
|
|
600
|
+
}
|
|
601
|
+
};
|
|
602
|
+
const handleBack = () => {
|
|
603
|
+
if (navigationPath.length > 0) {
|
|
604
|
+
setNavigationPath(navigationPath.slice(0, -1));
|
|
605
|
+
} else {
|
|
606
|
+
setSelectedBlock(null);
|
|
607
|
+
}
|
|
608
|
+
};
|
|
609
|
+
const handleClose = () => {
|
|
610
|
+
setSelectedBlock(null);
|
|
611
|
+
setNavigationPath([]);
|
|
612
|
+
setSearchQuery("");
|
|
613
|
+
onClose();
|
|
614
|
+
};
|
|
615
|
+
const headerTitle = !selectedBlock ? "Select a Block" : navigationPath.length === 0 ? selectedBlock.displayName : navigationPath[navigationPath.length - 1].displayName;
|
|
616
|
+
const headerSubtitle = !selectedBlock ? null : navigationPath.length === 0 ? "Select a property" : null;
|
|
617
|
+
return /* @__PURE__ */ React.createElement(Popover, { opened, onClose: handleClose, position: "bottom-end", width: 360, withinPortal: true }, /* @__PURE__ */ React.createElement(Popover.Target, null, children), /* @__PURE__ */ React.createElement(
|
|
618
|
+
Popover.Dropdown,
|
|
619
|
+
{
|
|
620
|
+
p: 0,
|
|
621
|
+
style: {
|
|
622
|
+
backgroundColor: DROPDOWN_BG,
|
|
623
|
+
border: `1px solid ${BORDER_COLOR}`,
|
|
624
|
+
borderRadius: 10,
|
|
625
|
+
overflow: "hidden"
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
/* @__PURE__ */ React.createElement(
|
|
629
|
+
Box,
|
|
630
|
+
{
|
|
631
|
+
px: "md",
|
|
632
|
+
py: "sm",
|
|
633
|
+
style: {
|
|
634
|
+
borderBottom: `1px solid ${BORDER_COLOR}`,
|
|
635
|
+
backgroundColor: "#282828"
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
/* @__PURE__ */ React.createElement(Group, { justify: "space-between", align: "center" }, /* @__PURE__ */ React.createElement(Group, { gap: 6 }, (selectedBlock || navigationPath.length > 0) && /* @__PURE__ */ React.createElement(ActionIcon, { variant: "subtle", size: "sm", onClick: handleBack, color: "gray", styles: { root: { color: TEXT_DIMMED, "&:hover": { backgroundColor: ITEM_HOVER_BG } } } }, /* @__PURE__ */ React.createElement(IconArrowLeft, { size: 14 })), /* @__PURE__ */ React.createElement(Stack, { gap: 0 }, /* @__PURE__ */ React.createElement(Text, { size: "sm", fw: 500, c: TEXT_PRIMARY, style: { letterSpacing: "0.2px" } }, headerTitle), headerSubtitle && /* @__PURE__ */ React.createElement(Text, { size: "xs", c: TEXT_DIMMED }, headerSubtitle))), /* @__PURE__ */ React.createElement(ActionIcon, { variant: "subtle", size: "sm", onClick: handleClose, styles: { root: { color: TEXT_DIMMED, "&:hover": { backgroundColor: ITEM_HOVER_BG } } } }, /* @__PURE__ */ React.createElement(IconX, { size: 14 })))
|
|
639
|
+
),
|
|
640
|
+
!selectedBlock && /* @__PURE__ */ React.createElement(Box, { px: "md", py: "xs", style: { borderBottom: `1px solid ${BORDER_COLOR}` } }, /* @__PURE__ */ React.createElement(
|
|
641
|
+
TextInput,
|
|
642
|
+
{
|
|
643
|
+
placeholder: "Search blocks...",
|
|
644
|
+
leftSection: /* @__PURE__ */ React.createElement(IconSearch, { size: 14, color: TEXT_DIMMED }),
|
|
645
|
+
value: searchQuery,
|
|
646
|
+
onChange: (e) => setSearchQuery(e.currentTarget.value),
|
|
647
|
+
size: "xs",
|
|
648
|
+
rightSection: searchQuery ? /* @__PURE__ */ React.createElement(ActionIcon, { variant: "subtle", size: "xs", onClick: () => setSearchQuery(""), styles: { root: { color: TEXT_DIMMED } } }, /* @__PURE__ */ React.createElement(IconX, { size: 12 })) : null,
|
|
649
|
+
styles: {
|
|
650
|
+
input: {
|
|
651
|
+
backgroundColor: "var(--mantine-color-neutralColor-3)",
|
|
652
|
+
border: `1px solid ${BORDER_COLOR}`,
|
|
653
|
+
color: TEXT_PRIMARY,
|
|
654
|
+
"&::placeholder": { color: TEXT_DIMMED },
|
|
655
|
+
"&:focus": { borderColor: "var(--mantine-color-accent-5)" }
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
)),
|
|
660
|
+
/* @__PURE__ */ React.createElement(ScrollArea, { h: 280, type: "auto", scrollbarSize: 4, styles: { scrollbar: { '&[data-orientation="vertical"] .mantine-ScrollArea-thumb': { backgroundColor: BORDER_COLOR } } } }, /* @__PURE__ */ React.createElement(Box, { p: "xs" }, !selectedBlock ? filteredBlocks.length === 0 ? /* @__PURE__ */ React.createElement(Text, { c: TEXT_DIMMED, ta: "center", py: "xl", size: "sm" }, availableBlocks.length === 0 ? "No referenceable blocks found" : "No blocks match your search") : /* @__PURE__ */ React.createElement(Stack, { gap: 4 }, filteredBlocks.map((block) => /* @__PURE__ */ React.createElement(
|
|
661
|
+
Box,
|
|
662
|
+
{
|
|
663
|
+
key: block.id,
|
|
664
|
+
onClick: () => handleBlockSelect(block),
|
|
665
|
+
style: {
|
|
666
|
+
borderRadius: 6,
|
|
667
|
+
border: `1px solid ${BORDER_COLOR}`,
|
|
668
|
+
padding: "10px 12px",
|
|
669
|
+
cursor: "pointer",
|
|
670
|
+
transition: "background-color 0.1s ease, border-color 0.1s ease",
|
|
671
|
+
backgroundColor: "transparent"
|
|
672
|
+
},
|
|
673
|
+
onMouseEnter: (e) => {
|
|
674
|
+
e.currentTarget.style.backgroundColor = ITEM_HOVER_BG;
|
|
675
|
+
e.currentTarget.style.borderColor = "#555";
|
|
676
|
+
},
|
|
677
|
+
onMouseLeave: (e) => {
|
|
678
|
+
e.currentTarget.style.backgroundColor = "transparent";
|
|
679
|
+
e.currentTarget.style.borderColor = BORDER_COLOR;
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
/* @__PURE__ */ React.createElement(Group, { gap: "xs", justify: "space-between" }, /* @__PURE__ */ React.createElement(Group, { gap: 8 }, /* @__PURE__ */ React.createElement(IconBolt, { size: 14, color: `var(--mantine-color-${getBlockTypeColor(block.type)}-5)` }), /* @__PURE__ */ React.createElement(Text, { fw: 500, size: "sm", c: TEXT_PRIMARY }, block.displayName), /* @__PURE__ */ React.createElement(Badge, { size: "xs", variant: "light", color: getBlockTypeColor(block.type), style: { textTransform: "none" } }, block.type)), /* @__PURE__ */ React.createElement(IconChevronRight, { size: 14, color: TEXT_DIMMED }))
|
|
683
|
+
))) : currentNodes.length === 0 ? /* @__PURE__ */ React.createElement(Text, { c: TEXT_DIMMED, ta: "center", py: "xl", size: "sm" }, "No properties available") : /* @__PURE__ */ React.createElement(Stack, { gap: 2 }, currentNodes.map((node, index) => /* @__PURE__ */ React.createElement(
|
|
684
|
+
Box,
|
|
685
|
+
{
|
|
686
|
+
key: index,
|
|
687
|
+
onClick: () => handleNodeClick(node),
|
|
688
|
+
style: {
|
|
689
|
+
padding: "9px 12px",
|
|
690
|
+
borderRadius: 6,
|
|
691
|
+
cursor: "pointer",
|
|
692
|
+
transition: "background-color 0.1s ease",
|
|
693
|
+
backgroundColor: "transparent"
|
|
694
|
+
},
|
|
695
|
+
onMouseEnter: (e) => e.currentTarget.style.backgroundColor = ITEM_HOVER_BG,
|
|
696
|
+
onMouseLeave: (e) => e.currentTarget.style.backgroundColor = "transparent"
|
|
697
|
+
},
|
|
698
|
+
/* @__PURE__ */ React.createElement(Group, { gap: "xs", justify: "space-between" }, /* @__PURE__ */ React.createElement(Group, { gap: 8 }, /* @__PURE__ */ React.createElement(Text, { size: "sm", c: node.isLeaf ? TEXT_PRIMARY : TEXT_DIMMED }, node.displayName), /* @__PURE__ */ React.createElement(Badge, { size: "xs", variant: "outline", color: "gray", style: { borderColor: BORDER_COLOR, color: TEXT_DIMMED, textTransform: "none" } }, node.type)), !node.isLeaf && /* @__PURE__ */ React.createElement(IconChevronRight, { size: 14, color: TEXT_DIMMED }))
|
|
699
|
+
)))))
|
|
700
|
+
));
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
// src/mantine/components/DataInput/DataInput.tsx
|
|
704
|
+
function DataInput({
|
|
705
|
+
value,
|
|
706
|
+
onChange,
|
|
707
|
+
placeholder,
|
|
708
|
+
editorDocument,
|
|
709
|
+
currentBlockId,
|
|
710
|
+
leftSection,
|
|
711
|
+
leftSectionWidth,
|
|
712
|
+
disabled = false,
|
|
713
|
+
description,
|
|
714
|
+
label,
|
|
715
|
+
required,
|
|
716
|
+
size = "sm",
|
|
717
|
+
itemScope
|
|
718
|
+
}) {
|
|
719
|
+
const [selectorOpened, setSelectorOpened] = useState2(false);
|
|
720
|
+
const containsReferences = useMemo2(() => hasReferences(value), [value]);
|
|
721
|
+
const references = useMemo2(() => parseReferences(value || ""), [value]);
|
|
722
|
+
const handleOpenSelector = useCallback(() => setSelectorOpened(true), []);
|
|
723
|
+
const handleCloseSelector = useCallback(() => setSelectorOpened(false), []);
|
|
724
|
+
const handleSelectProperty = useCallback(
|
|
725
|
+
(selection) => {
|
|
726
|
+
const reference = createReference(selection.blockId, selection.propName);
|
|
727
|
+
onChange(value ? `${value}${reference}` : reference);
|
|
728
|
+
},
|
|
729
|
+
[value, onChange]
|
|
730
|
+
);
|
|
731
|
+
const handleClearReferences = useCallback(() => {
|
|
732
|
+
let newValue = value || "";
|
|
733
|
+
references.forEach((ref) => {
|
|
734
|
+
newValue = newValue.replace(ref.fullMatch, "");
|
|
735
|
+
});
|
|
736
|
+
onChange(newValue);
|
|
737
|
+
}, [value, references, onChange]);
|
|
738
|
+
return /* @__PURE__ */ React2.createElement(
|
|
739
|
+
Input.Wrapper,
|
|
740
|
+
{
|
|
741
|
+
label,
|
|
742
|
+
description,
|
|
743
|
+
required,
|
|
744
|
+
size,
|
|
745
|
+
style: { width: "100%" },
|
|
746
|
+
styles: {
|
|
747
|
+
label: { color: "var(--mantine-color-dimmed)" },
|
|
748
|
+
description: { color: "var(--mantine-color-dimmed)" }
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
/* @__PURE__ */ React2.createElement(
|
|
752
|
+
Input,
|
|
753
|
+
{
|
|
754
|
+
value: value || "",
|
|
755
|
+
onChange: (e) => onChange(e.currentTarget.value),
|
|
756
|
+
placeholder,
|
|
757
|
+
leftSection,
|
|
758
|
+
leftSectionWidth,
|
|
759
|
+
disabled,
|
|
760
|
+
size,
|
|
761
|
+
radius: "md",
|
|
762
|
+
style: { width: "100%" },
|
|
763
|
+
styles: {
|
|
764
|
+
input: {
|
|
765
|
+
background: "var(--mantine-color-neutralColor-2)",
|
|
766
|
+
borderColor: "var(--mantine-color-neutralColor-5)",
|
|
767
|
+
color: "var(--mantine-color-text)",
|
|
768
|
+
"&:focus": {
|
|
769
|
+
borderColor: "var(--mantine-color-accent-5)"
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
rightSectionPointerEvents: "all",
|
|
774
|
+
rightSectionWidth: containsReferences ? 52 : 28,
|
|
775
|
+
rightSection: /* @__PURE__ */ React2.createElement(Group2, { gap: 2, wrap: "nowrap" }, containsReferences && /* @__PURE__ */ React2.createElement(Tooltip, { label: "Clear references", position: "top" }, /* @__PURE__ */ React2.createElement(ActionIcon2, { variant: "subtle", color: "gray", onClick: handleClearReferences, size: "xs" }, /* @__PURE__ */ React2.createElement(IconX2, { size: 12 }))), /* @__PURE__ */ React2.createElement(
|
|
776
|
+
BlockPropSelector,
|
|
777
|
+
{
|
|
778
|
+
opened: selectorOpened,
|
|
779
|
+
onClose: handleCloseSelector,
|
|
780
|
+
onSelect: handleSelectProperty,
|
|
781
|
+
editorDocument,
|
|
782
|
+
currentBlockId,
|
|
783
|
+
itemScope
|
|
784
|
+
},
|
|
785
|
+
/* @__PURE__ */ React2.createElement(Tooltip, { label: containsReferences ? "Add another reference" : "Insert block reference", position: "top" }, /* @__PURE__ */ React2.createElement(ActionIcon2, { variant: "subtle", color: containsReferences ? "teal" : "gray", onClick: handleOpenSelector, disabled, size: "xs" }, /* @__PURE__ */ React2.createElement(IconVariable, { size: 14 })))
|
|
786
|
+
))
|
|
787
|
+
}
|
|
788
|
+
)
|
|
789
|
+
);
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
export {
|
|
793
|
+
parseResponseSchema,
|
|
794
|
+
validateResponseAgainstSchema,
|
|
795
|
+
getConditionableProperties,
|
|
796
|
+
getPropertyByName,
|
|
797
|
+
DataInput
|
|
798
|
+
};
|
|
799
|
+
//# sourceMappingURL=chunk-4PONO4US.js.map
|