@ixo/editor 6.32.1 → 6.34.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.
Files changed (526) hide show
  1. package/dist/BidConfig-YLGSEIOS.js +154 -0
  2. package/dist/BidConfig-YLGSEIOS.js.map +1 -0
  3. package/dist/BidFlowDetail-TJCJBJZZ.js +365 -0
  4. package/dist/BidFlowDetail-TJCJBJZZ.js.map +1 -0
  5. package/dist/CalendarEventCreateConfig-J2LU6LJO.js +155 -0
  6. package/dist/CalendarEventCreateConfig-J2LU6LJO.js.map +1 -0
  7. package/dist/CalendarEventCreateFlowDetail-ZWHZWDOK.js +174 -0
  8. package/dist/CalendarEventCreateFlowDetail-ZWHZWDOK.js.map +1 -0
  9. package/dist/CalendarEventListConfig-GQNNF4ZB.js +116 -0
  10. package/dist/CalendarEventListConfig-GQNNF4ZB.js.map +1 -0
  11. package/dist/CalendarEventListFlowDetail-SSRTOXIX.js +58 -0
  12. package/dist/CalendarEventListFlowDetail-SSRTOXIX.js.map +1 -0
  13. package/dist/CalendarEventUpdateConfig-KACZA6GH.js +133 -0
  14. package/dist/CalendarEventUpdateConfig-KACZA6GH.js.map +1 -0
  15. package/dist/CalendarEventUpdateFlowDetail-CD6NHHOU.js +155 -0
  16. package/dist/CalendarEventUpdateFlowDetail-CD6NHHOU.js.map +1 -0
  17. package/dist/ClaimConfig-3HKPGK55.js +200 -0
  18. package/dist/ClaimConfig-3HKPGK55.js.map +1 -0
  19. package/dist/ClaimFlowDetail-UVEQMEI5.js +641 -0
  20. package/dist/ClaimFlowDetail-UVEQMEI5.js.map +1 -0
  21. package/dist/CollectionLifecycleConfig-LCCGZ3CJ.js +149 -0
  22. package/dist/CollectionLifecycleConfig-LCCGZ3CJ.js.map +1 -0
  23. package/dist/CollectionLifecycleFlowDetail-WFCSVIIG.js +647 -0
  24. package/dist/CollectionLifecycleFlowDetail-WFCSVIIG.js.map +1 -0
  25. package/dist/CollectionUsersConfig-RI2X3YY2.js +271 -0
  26. package/dist/CollectionUsersConfig-RI2X3YY2.js.map +1 -0
  27. package/dist/CollectionUsersFlowDetail-ZLCJBWHG.js +1276 -0
  28. package/dist/CollectionUsersFlowDetail-ZLCJBWHG.js.map +1 -0
  29. package/dist/CredentialStoreConfig-G66AQDGZ.js +75 -0
  30. package/dist/CredentialStoreConfig-G66AQDGZ.js.map +1 -0
  31. package/dist/CredentialStoreFlowDetail-FL7QAM3S.js +99 -0
  32. package/dist/CredentialStoreFlowDetail-FL7QAM3S.js.map +1 -0
  33. package/dist/DesignPodConfig-LJ7H2CZ6.js +8 -0
  34. package/dist/DesignPodConfig-LJ7H2CZ6.js.map +1 -0
  35. package/dist/DesignPodFlowDetail-JHJWGNVY.js +309 -0
  36. package/dist/DesignPodFlowDetail-JHJWGNVY.js.map +1 -0
  37. package/dist/DomainCardPreviewConfig-Q3X5M4WF.js +37 -0
  38. package/dist/DomainCardPreviewConfig-Q3X5M4WF.js.map +1 -0
  39. package/dist/DomainCardPreviewFlowDetail-Y2FE7O5Z.js +131 -0
  40. package/dist/DomainCardPreviewFlowDetail-Y2FE7O5Z.js.map +1 -0
  41. package/dist/DomainIndexerLookupConfig-N4VONQUY.js +41 -0
  42. package/dist/DomainIndexerLookupConfig-N4VONQUY.js.map +1 -0
  43. package/dist/DomainIndexerLookupFlowDetail-GJ7WWK7I.js +70 -0
  44. package/dist/DomainIndexerLookupFlowDetail-GJ7WWK7I.js.map +1 -0
  45. package/dist/DomainSignConfig-XFIXROVK.js +47 -0
  46. package/dist/DomainSignConfig-XFIXROVK.js.map +1 -0
  47. package/dist/DomainSignFlowDetail-BXZ6JBPR.js +206 -0
  48. package/dist/DomainSignFlowDetail-BXZ6JBPR.js.map +1 -0
  49. package/dist/DomainSingleSelectionConfig-ZNKIXB4P.js +101 -0
  50. package/dist/DomainSingleSelectionConfig-ZNKIXB4P.js.map +1 -0
  51. package/dist/DomainSingleSelectionFlowDetail-HWTQXSLA.js +147 -0
  52. package/dist/DomainSingleSelectionFlowDetail-HWTQXSLA.js.map +1 -0
  53. package/dist/EmailSendConfig-YEGZ5Q77.js +215 -0
  54. package/dist/EmailSendConfig-YEGZ5Q77.js.map +1 -0
  55. package/dist/EntityCreateOracleConfig-UZ6ZIMP5.js +150 -0
  56. package/dist/EntityCreateOracleConfig-UZ6ZIMP5.js.map +1 -0
  57. package/dist/EntityCreateOracleFlowDetail-H2X7CPYU.js +120 -0
  58. package/dist/EntityCreateOracleFlowDetail-H2X7CPYU.js.map +1 -0
  59. package/dist/EntitySingleSelectionConfig-DL57KNKM.js +30 -0
  60. package/dist/EntitySingleSelectionConfig-DL57KNKM.js.map +1 -0
  61. package/dist/EntitySingleSelectionFlowDetail-GFQGX3GA.js +118 -0
  62. package/dist/EntitySingleSelectionFlowDetail-GFQGX3GA.js.map +1 -0
  63. package/dist/EntityTransferConfig-JVZ3H35B.js +62 -0
  64. package/dist/EntityTransferConfig-JVZ3H35B.js.map +1 -0
  65. package/dist/EntityTransferFlowDetail-XEXM34XB.js +132 -0
  66. package/dist/EntityTransferFlowDetail-XEXM34XB.js.map +1 -0
  67. package/dist/EvalEngineConfig-CHC4IRN3.js +464 -0
  68. package/dist/EvalEngineConfig-CHC4IRN3.js.map +1 -0
  69. package/dist/EvalEngineFlowDetail-PUFRNO4U.js +4291 -0
  70. package/dist/EvalEngineFlowDetail-PUFRNO4U.js.map +1 -0
  71. package/dist/EvaluateBidConfig-OE4CM43G.js +151 -0
  72. package/dist/EvaluateBidConfig-OE4CM43G.js.map +1 -0
  73. package/dist/EvaluateBidFlowDetail-2S2N4YTW.js +564 -0
  74. package/dist/EvaluateBidFlowDetail-2S2N4YTW.js.map +1 -0
  75. package/dist/EvaluateClaimConfig-3D4F5LHU.js +297 -0
  76. package/dist/EvaluateClaimConfig-3D4F5LHU.js.map +1 -0
  77. package/dist/EvaluateClaimFlowDetail-QYR7PJRD.js +2237 -0
  78. package/dist/EvaluateClaimFlowDetail-QYR7PJRD.js.map +1 -0
  79. package/dist/FormSubmitConfig-UFZYMLUN.js +59 -0
  80. package/dist/FormSubmitConfig-UFZYMLUN.js.map +1 -0
  81. package/dist/FormSubmitFlowDetail-IAHDJS6P.js +169 -0
  82. package/dist/FormSubmitFlowDetail-IAHDJS6P.js.map +1 -0
  83. package/dist/GovernanceAuthzExecFlowDetail-SQBGU5BX.js +166 -0
  84. package/dist/GovernanceAuthzExecFlowDetail-SQBGU5BX.js.map +1 -0
  85. package/dist/GovernanceAuthzGrantFlowDetail-DZPNLANT.js +88 -0
  86. package/dist/GovernanceAuthzGrantFlowDetail-DZPNLANT.js.map +1 -0
  87. package/dist/GovernanceAuthzRevokeFlowDetail-3JZ4IUJG.js +88 -0
  88. package/dist/GovernanceAuthzRevokeFlowDetail-3JZ4IUJG.js.map +1 -0
  89. package/dist/GovernanceChainVoteFlowDetail-475UDNG6.js +83 -0
  90. package/dist/GovernanceChainVoteFlowDetail-475UDNG6.js.map +1 -0
  91. package/dist/GovernanceConfigConfig-V3WM4WBP.js +30 -0
  92. package/dist/GovernanceConfigConfig-V3WM4WBP.js.map +1 -0
  93. package/dist/GovernanceConfigFlowDetail-SQ5PPDRX.js +267 -0
  94. package/dist/GovernanceConfigFlowDetail-SQ5PPDRX.js.map +1 -0
  95. package/dist/GovernanceContractExecuteFlowDetail-H2ZV6W2E.js +113 -0
  96. package/dist/GovernanceContractExecuteFlowDetail-H2ZV6W2E.js.map +1 -0
  97. package/dist/GovernanceContractInstantiateFlowDetail-YJJMGM54.js +144 -0
  98. package/dist/GovernanceContractInstantiateFlowDetail-YJJMGM54.js.map +1 -0
  99. package/dist/GovernanceContractManageCw20FlowDetail-OCBMW3YJ.js +72 -0
  100. package/dist/GovernanceContractManageCw20FlowDetail-OCBMW3YJ.js.map +1 -0
  101. package/dist/GovernanceContractMigrateFlowDetail-JDNIKTT3.js +104 -0
  102. package/dist/GovernanceContractMigrateFlowDetail-JDNIKTT3.js.map +1 -0
  103. package/dist/GovernanceContractUpdateAdminFlowDetail-SZBOAOCC.js +68 -0
  104. package/dist/GovernanceContractUpdateAdminFlowDetail-SZBOAOCC.js.map +1 -0
  105. package/dist/GovernanceCustomMessageFlowDetail-CXD4ZATO.js +78 -0
  106. package/dist/GovernanceCustomMessageFlowDetail-CXD4ZATO.js.map +1 -0
  107. package/dist/GovernanceDaoAcceptToMarketplaceFlowDetail-Q6ZBNY7Z.js +98 -0
  108. package/dist/GovernanceDaoAcceptToMarketplaceFlowDetail-Q6ZBNY7Z.js.map +1 -0
  109. package/dist/GovernanceDaoAdminExecFlowDetail-JAEAY2US.js +94 -0
  110. package/dist/GovernanceDaoAdminExecFlowDetail-JAEAY2US.js.map +1 -0
  111. package/dist/GovernanceDaoCreateEntityFlowDetail-7RVNTVAB.js +96 -0
  112. package/dist/GovernanceDaoCreateEntityFlowDetail-7RVNTVAB.js.map +1 -0
  113. package/dist/GovernanceDaoJoinFlowDetail-XYCTCNHO.js +68 -0
  114. package/dist/GovernanceDaoJoinFlowDetail-XYCTCNHO.js.map +1 -0
  115. package/dist/GovernanceDaoManageStorageFlowDetail-LMLYLYYC.js +93 -0
  116. package/dist/GovernanceDaoManageStorageFlowDetail-LMLYLYYC.js.map +1 -0
  117. package/dist/GovernanceDaoManageSubDaosFlowDetail-YUFQ67JN.js +84 -0
  118. package/dist/GovernanceDaoManageSubDaosFlowDetail-YUFQ67JN.js.map +1 -0
  119. package/dist/GovernanceDaoUpdateInfoFlowDetail-G5FIBY4L.js +104 -0
  120. package/dist/GovernanceDaoUpdateInfoFlowDetail-G5FIBY4L.js.map +1 -0
  121. package/dist/GovernanceMemberProposalConfig-IGPXEFDB.js +42 -0
  122. package/dist/GovernanceMemberProposalConfig-IGPXEFDB.js.map +1 -0
  123. package/dist/GovernanceMemberProposalFlowDetail-T3VURONF.js +240 -0
  124. package/dist/GovernanceMemberProposalFlowDetail-T3VURONF.js.map +1 -0
  125. package/dist/GovernanceNftBurnFlowDetail-AG4I2O7H.js +69 -0
  126. package/dist/GovernanceNftBurnFlowDetail-AG4I2O7H.js.map +1 -0
  127. package/dist/GovernanceNftManageCollectionsFlowDetail-UAAGO3Q6.js +71 -0
  128. package/dist/GovernanceNftManageCollectionsFlowDetail-UAAGO3Q6.js.map +1 -0
  129. package/dist/GovernanceNftTransferFlowDetail-KXM7DTOV.js +130 -0
  130. package/dist/GovernanceNftTransferFlowDetail-KXM7DTOV.js.map +1 -0
  131. package/dist/GovernanceSettingsProposalConfig-4SLJTBLW.js +42 -0
  132. package/dist/GovernanceSettingsProposalConfig-4SLJTBLW.js.map +1 -0
  133. package/dist/GovernanceSettingsProposalFlowDetail-VFZPSCLR.js +165 -0
  134. package/dist/GovernanceSettingsProposalFlowDetail-VFZPSCLR.js.map +1 -0
  135. package/dist/GovernanceStakingStakeFlowDetail-ULLJ7FLM.js +123 -0
  136. package/dist/GovernanceStakingStakeFlowDetail-ULLJ7FLM.js.map +1 -0
  137. package/dist/GovernanceStakingStakeToGroupFlowDetail-CSPKJA3H.js +84 -0
  138. package/dist/GovernanceStakingStakeToGroupFlowDetail-CSPKJA3H.js.map +1 -0
  139. package/dist/GovernanceSubmissionConfigProposalFlowDetail-MZCPSZF2.js +111 -0
  140. package/dist/GovernanceSubmissionConfigProposalFlowDetail-MZCPSZF2.js.map +1 -0
  141. package/dist/GovernanceTransactionMintFlowDetail-Y2WRAODH.js +66 -0
  142. package/dist/GovernanceTransactionMintFlowDetail-Y2WRAODH.js.map +1 -0
  143. package/dist/GovernanceTransactionPerformTokenSwapFlowDetail-GEK6PMMI.js +133 -0
  144. package/dist/GovernanceTransactionPerformTokenSwapFlowDetail-GEK6PMMI.js.map +1 -0
  145. package/dist/GovernanceTransactionSendFundsConfig-VBKMLSF3.js +42 -0
  146. package/dist/GovernanceTransactionSendFundsConfig-VBKMLSF3.js.map +1 -0
  147. package/dist/GovernanceTransactionSendFundsFlowDetail-5TZB64VL.js +182 -0
  148. package/dist/GovernanceTransactionSendFundsFlowDetail-5TZB64VL.js.map +1 -0
  149. package/dist/GovernanceTransactionSendGroupTokenFlowDetail-EGOWVZM2.js +155 -0
  150. package/dist/GovernanceTransactionSendGroupTokenFlowDetail-EGOWVZM2.js.map +1 -0
  151. package/dist/GovernanceTransactionWithdrawTokenSwapFlowDetail-6XWVO5O6.js +56 -0
  152. package/dist/GovernanceTransactionWithdrawTokenSwapFlowDetail-6XWVO5O6.js.map +1 -0
  153. package/dist/GovernanceValidatorActionsFlowDetail-ZMLPAFUB.js +117 -0
  154. package/dist/GovernanceValidatorActionsFlowDetail-ZMLPAFUB.js.map +1 -0
  155. package/dist/HarvestConfig-AIGOGBFR.js +56 -0
  156. package/dist/HarvestConfig-AIGOGBFR.js.map +1 -0
  157. package/dist/HarvestFlowDetail-X3RUH3X3.js +131 -0
  158. package/dist/HarvestFlowDetail-X3RUH3X3.js.map +1 -0
  159. package/dist/HttpRequestConfig-OQEJIIJY.js +194 -0
  160. package/dist/HttpRequestConfig-OQEJIIJY.js.map +1 -0
  161. package/dist/HttpRequestFlowDetail-JVLV533Z.js +116 -0
  162. package/dist/HttpRequestFlowDetail-JVLV533Z.js.map +1 -0
  163. package/dist/IdentityCreateConfig-ZBUOJ6AL.js +94 -0
  164. package/dist/IdentityCreateConfig-ZBUOJ6AL.js.map +1 -0
  165. package/dist/IdentityCreateFlowDetail-WGKO43IH.js +83 -0
  166. package/dist/IdentityCreateFlowDetail-WGKO43IH.js.map +1 -0
  167. package/dist/IidCreateConfig-RRV2DYXI.js +75 -0
  168. package/dist/IidCreateConfig-RRV2DYXI.js.map +1 -0
  169. package/dist/IidCreateFlowDetail-6M32S6XS.js +57 -0
  170. package/dist/IidCreateFlowDetail-6M32S6XS.js.map +1 -0
  171. package/dist/KycVerifyConfig-VCG65K5K.js +65 -0
  172. package/dist/KycVerifyConfig-VCG65K5K.js.map +1 -0
  173. package/dist/KycVerifyFlowDetail-EWOMXSD3.js +421 -0
  174. package/dist/KycVerifyFlowDetail-EWOMXSD3.js.map +1 -0
  175. package/dist/ListDomainFlowsConfig-3JZEPTOJ.js +37 -0
  176. package/dist/ListDomainFlowsConfig-3JZEPTOJ.js.map +1 -0
  177. package/dist/ListDomainFlowsFlowDetail-XX5AXDZZ.js +257 -0
  178. package/dist/ListDomainFlowsFlowDetail-XX5AXDZZ.js.map +1 -0
  179. package/dist/LoadBatchesConfig-IMODIWRT.js +38 -0
  180. package/dist/LoadBatchesConfig-IMODIWRT.js.map +1 -0
  181. package/dist/LoadBatchesFlowDetail-GB24T76O.js +101 -0
  182. package/dist/LoadBatchesFlowDetail-GB24T76O.js.map +1 -0
  183. package/dist/MatrixDmConfig-NBII27CS.js +120 -0
  184. package/dist/MatrixDmConfig-NBII27CS.js.map +1 -0
  185. package/dist/MatrixRegisterConfig-N2U4FBYF.js +62 -0
  186. package/dist/MatrixRegisterConfig-N2U4FBYF.js.map +1 -0
  187. package/dist/MatrixRegisterFlowDetail-D5YNL5QX.js +86 -0
  188. package/dist/MatrixRegisterFlowDetail-D5YNL5QX.js.map +1 -0
  189. package/dist/MemberMultiSelectConfig-E7WUB2WD.js +30 -0
  190. package/dist/MemberMultiSelectConfig-E7WUB2WD.js.map +1 -0
  191. package/dist/MemberMultiSelectFlowDetail-6C4ZMSDR.js +392 -0
  192. package/dist/MemberMultiSelectFlowDetail-6C4ZMSDR.js.map +1 -0
  193. package/dist/OracleConfig-R7TDTTKN.js +56 -0
  194. package/dist/OracleConfig-R7TDTTKN.js.map +1 -0
  195. package/dist/OracleConfigureOracleConfig-QFF74X3N.js +198 -0
  196. package/dist/OracleConfigureOracleConfig-QFF74X3N.js.map +1 -0
  197. package/dist/OracleConfigureOracleFlowDetail-73BHAN76.js +255 -0
  198. package/dist/OracleConfigureOracleFlowDetail-73BHAN76.js.map +1 -0
  199. package/dist/OracleContractConfig-PHY5L7W2.js +38 -0
  200. package/dist/OracleContractConfig-PHY5L7W2.js.map +1 -0
  201. package/dist/OracleContractFlowDetail-M3PM4AU4.js +78 -0
  202. package/dist/OracleContractFlowDetail-M3PM4AU4.js.map +1 -0
  203. package/dist/OracleDeployConfig-QBG76ATZ.js +10 -0
  204. package/dist/OracleDeployConfig-QBG76ATZ.js.map +1 -0
  205. package/dist/OracleDeployFlowDetail-WKTMD2AD.js +231 -0
  206. package/dist/OracleDeployFlowDetail-WKTMD2AD.js.map +1 -0
  207. package/dist/OracleDeploySetupConfig-75XPGFJQ.js +10 -0
  208. package/dist/OracleDeploySetupConfig-75XPGFJQ.js.map +1 -0
  209. package/dist/OracleDeploySetupFlowDetail-R3BQ7EAU.js +165 -0
  210. package/dist/OracleDeploySetupFlowDetail-R3BQ7EAU.js.map +1 -0
  211. package/dist/OracleDeployStartConfig-NA6GZ4VQ.js +10 -0
  212. package/dist/OracleDeployStartConfig-NA6GZ4VQ.js.map +1 -0
  213. package/dist/OracleDeployStartFlowDetail-EL3CMDMG.js +89 -0
  214. package/dist/OracleDeployStartFlowDetail-EL3CMDMG.js.map +1 -0
  215. package/dist/OracleFlowDetail-5JCJK3GH.js +76 -0
  216. package/dist/OracleFlowDetail-5JCJK3GH.js.map +1 -0
  217. package/dist/OraclePromptConfig-YBRESISH.js +39 -0
  218. package/dist/OraclePromptConfig-YBRESISH.js.map +1 -0
  219. package/dist/OraclePromptFlowDetail-O3XNK7HY.js +112 -0
  220. package/dist/OraclePromptFlowDetail-O3XNK7HY.js.map +1 -0
  221. package/dist/OracleStoreConfigConfig-TUZWTJMA.js +134 -0
  222. package/dist/OracleStoreConfigConfig-TUZWTJMA.js.map +1 -0
  223. package/dist/OracleStoreConfigFlowDetail-Q6AUUSUL.js +99 -0
  224. package/dist/OracleStoreConfigFlowDetail-Q6AUUSUL.js.map +1 -0
  225. package/dist/OracleStoreSecretsAndConfigConfig-SZPYEK7U.js +198 -0
  226. package/dist/OracleStoreSecretsAndConfigConfig-SZPYEK7U.js.map +1 -0
  227. package/dist/OracleStoreSecretsAndConfigFlowDetail-BFV2EHLT.js +220 -0
  228. package/dist/OracleStoreSecretsAndConfigFlowDetail-BFV2EHLT.js.map +1 -0
  229. package/dist/OracleStoreSecretsConfig-PQMF7LFT.js +191 -0
  230. package/dist/OracleStoreSecretsConfig-PQMF7LFT.js.map +1 -0
  231. package/dist/OracleStoreSecretsFlowDetail-DNNOPHVA.js +197 -0
  232. package/dist/OracleStoreSecretsFlowDetail-DNNOPHVA.js.map +1 -0
  233. package/dist/ProposalCreateConfig-U5IHZNT7.js +161 -0
  234. package/dist/ProposalCreateConfig-U5IHZNT7.js.map +1 -0
  235. package/dist/ProposalCreateFlowDetail-4VZZPAWH.js +235 -0
  236. package/dist/ProposalCreateFlowDetail-4VZZPAWH.js.map +1 -0
  237. package/dist/ProposalVoteConfig-MH4MU7SL.js +150 -0
  238. package/dist/ProposalVoteConfig-MH4MU7SL.js.map +1 -0
  239. package/dist/ProposalVoteFlowDetail-IJJ3OHAB.js +280 -0
  240. package/dist/ProposalVoteFlowDetail-IJJ3OHAB.js.map +1 -0
  241. package/dist/ProtocolSelectConfig-S5U3P6K7.js +48 -0
  242. package/dist/ProtocolSelectConfig-S5U3P6K7.js.map +1 -0
  243. package/dist/ProtocolSelectFlowDetail-XBSJIEIH.js +116 -0
  244. package/dist/ProtocolSelectFlowDetail-XBSJIEIH.js.map +1 -0
  245. package/dist/RetireConfig-MV37WWZ6.js +59 -0
  246. package/dist/RetireConfig-MV37WWZ6.js.map +1 -0
  247. package/dist/RetireFlowDetail-VZ5O4SXI.js +147 -0
  248. package/dist/RetireFlowDetail-VZ5O4SXI.js.map +1 -0
  249. package/dist/SandboxProvisionConfig-ZGG4IRHM.js +46 -0
  250. package/dist/SandboxProvisionConfig-ZGG4IRHM.js.map +1 -0
  251. package/dist/SandboxProvisionFlowDetail-RUY64INV.js +79 -0
  252. package/dist/SandboxProvisionFlowDetail-RUY64INV.js.map +1 -0
  253. package/dist/WalletFundConfig-CMM3EP3B.js +117 -0
  254. package/dist/WalletFundConfig-CMM3EP3B.js.map +1 -0
  255. package/dist/WalletFundFlowDetail-TXWCZA4K.js +279 -0
  256. package/dist/WalletFundFlowDetail-TXWCZA4K.js.map +1 -0
  257. package/dist/WalletGenerateAndFundConfig-364RSEND.js +10 -0
  258. package/dist/WalletGenerateAndFundConfig-364RSEND.js.map +1 -0
  259. package/dist/WalletGenerateAndFundFlowDetail-C2LZW3NO.js +54 -0
  260. package/dist/WalletGenerateAndFundFlowDetail-C2LZW3NO.js.map +1 -0
  261. package/dist/WalletGenerateConfig-YYLCS65G.js +10 -0
  262. package/dist/WalletGenerateConfig-YYLCS65G.js.map +1 -0
  263. package/dist/WalletGenerateFlowDetail-CQCNDGJA.js +53 -0
  264. package/dist/WalletGenerateFlowDetail-CQCNDGJA.js.map +1 -0
  265. package/dist/XeroContactCreateConfig-OWG5PA3B.js +102 -0
  266. package/dist/XeroContactCreateConfig-OWG5PA3B.js.map +1 -0
  267. package/dist/XeroContactCreateFlowDetail-6MAINCF6.js +127 -0
  268. package/dist/XeroContactCreateFlowDetail-6MAINCF6.js.map +1 -0
  269. package/dist/XeroInvoiceCreateConfig-O74RUSZM.js +403 -0
  270. package/dist/XeroInvoiceCreateConfig-O74RUSZM.js.map +1 -0
  271. package/dist/XeroInvoiceCreateFlowDetail-UL7KS6CZ.js +631 -0
  272. package/dist/XeroInvoiceCreateFlowDetail-UL7KS6CZ.js.map +1 -0
  273. package/dist/XeroInvoiceListConfig-UR3GONBJ.js +113 -0
  274. package/dist/XeroInvoiceListConfig-UR3GONBJ.js.map +1 -0
  275. package/dist/XeroInvoiceListFlowDetail-LYHODWH6.js +58 -0
  276. package/dist/XeroInvoiceListFlowDetail-LYHODWH6.js.map +1 -0
  277. package/dist/XeroPaymentCreateConfig-RPMAIK6E.js +116 -0
  278. package/dist/XeroPaymentCreateConfig-RPMAIK6E.js.map +1 -0
  279. package/dist/XeroPaymentCreateFlowDetail-CF35MVIM.js +573 -0
  280. package/dist/XeroPaymentCreateFlowDetail-CF35MVIM.js.map +1 -0
  281. package/dist/action-manifest.json +2091 -393
  282. package/dist/chunk-2GAYKKTL.js +9 -0
  283. package/dist/chunk-2GAYKKTL.js.map +1 -0
  284. package/dist/chunk-2WPEATI7.js +315 -0
  285. package/dist/chunk-2WPEATI7.js.map +1 -0
  286. package/dist/chunk-3O42FYT3.js +3333 -0
  287. package/dist/chunk-3O42FYT3.js.map +1 -0
  288. package/dist/chunk-3TUYY4HK.js +20 -0
  289. package/dist/chunk-3TUYY4HK.js.map +1 -0
  290. package/dist/chunk-3XSLBJYI.js +554 -0
  291. package/dist/chunk-3XSLBJYI.js.map +1 -0
  292. package/dist/chunk-4DGCCXD6.js +710 -0
  293. package/dist/chunk-4DGCCXD6.js.map +1 -0
  294. package/dist/chunk-4NAFQF6V.js +11 -0
  295. package/dist/chunk-4NAFQF6V.js.map +1 -0
  296. package/dist/chunk-4PONO4US.js +799 -0
  297. package/dist/chunk-4PONO4US.js.map +1 -0
  298. package/dist/chunk-4TMOIK5M.js +21 -0
  299. package/dist/chunk-4TMOIK5M.js.map +1 -0
  300. package/dist/chunk-5IH3VC5I.js +102 -0
  301. package/dist/chunk-5IH3VC5I.js.map +1 -0
  302. package/dist/chunk-5NTKDOP6.js +89 -0
  303. package/dist/chunk-5NTKDOP6.js.map +1 -0
  304. package/dist/chunk-5O2SFRGU.js +18 -0
  305. package/dist/chunk-5O2SFRGU.js.map +1 -0
  306. package/dist/chunk-632JLECF.js +55 -0
  307. package/dist/chunk-632JLECF.js.map +1 -0
  308. package/dist/chunk-676HDB7K.js +95 -0
  309. package/dist/chunk-676HDB7K.js.map +1 -0
  310. package/dist/chunk-6ESTNTSH.js +223 -0
  311. package/dist/chunk-6ESTNTSH.js.map +1 -0
  312. package/dist/chunk-6GKJR52N.js +15 -0
  313. package/dist/chunk-6GKJR52N.js.map +1 -0
  314. package/dist/chunk-6L4ZIKYU.js +23 -0
  315. package/dist/chunk-6L4ZIKYU.js.map +1 -0
  316. package/dist/chunk-76YX5R4L.js +11 -0
  317. package/dist/chunk-76YX5R4L.js.map +1 -0
  318. package/dist/chunk-7J3GFMN3.js +32 -0
  319. package/dist/chunk-7J3GFMN3.js.map +1 -0
  320. package/dist/chunk-7LSARC2G.js +102 -0
  321. package/dist/chunk-7LSARC2G.js.map +1 -0
  322. package/dist/chunk-7W7UUUIE.js +609 -0
  323. package/dist/chunk-7W7UUUIE.js.map +1 -0
  324. package/dist/chunk-7ZLW7H37.js +21 -0
  325. package/dist/chunk-7ZLW7H37.js.map +1 -0
  326. package/dist/chunk-AAZHI22G.js +18 -0
  327. package/dist/chunk-AAZHI22G.js.map +1 -0
  328. package/dist/chunk-ACNE455I.js +76 -0
  329. package/dist/chunk-ACNE455I.js.map +1 -0
  330. package/dist/chunk-BKLSSLPZ.js +27 -0
  331. package/dist/chunk-BKLSSLPZ.js.map +1 -0
  332. package/dist/chunk-BZ7UPUTY.js +417 -0
  333. package/dist/chunk-BZ7UPUTY.js.map +1 -0
  334. package/dist/chunk-CGFAICUE.js +28 -0
  335. package/dist/chunk-CGFAICUE.js.map +1 -0
  336. package/dist/chunk-CMCEWQ3C.js +19 -0
  337. package/dist/chunk-CMCEWQ3C.js.map +1 -0
  338. package/dist/chunk-CP4UV436.js +41 -0
  339. package/dist/chunk-CP4UV436.js.map +1 -0
  340. package/dist/chunk-D2CQPNQG.js +27508 -0
  341. package/dist/chunk-D2CQPNQG.js.map +1 -0
  342. package/dist/chunk-DIQRZP7Z.js +51 -0
  343. package/dist/chunk-DIQRZP7Z.js.map +1 -0
  344. package/dist/chunk-EBFFDDAS.js +13 -0
  345. package/dist/chunk-EBFFDDAS.js.map +1 -0
  346. package/dist/chunk-EGVS23DR.js +85 -0
  347. package/dist/chunk-EGVS23DR.js.map +1 -0
  348. package/dist/chunk-EKBQ7K4N.js +15 -0
  349. package/dist/chunk-EKBQ7K4N.js.map +1 -0
  350. package/dist/chunk-EKQCZRAN.js +24 -0
  351. package/dist/chunk-EKQCZRAN.js.map +1 -0
  352. package/dist/chunk-EYKZIZ5J.js +48 -0
  353. package/dist/chunk-EYKZIZ5J.js.map +1 -0
  354. package/dist/{chunk-NEOPTPDF.js → chunk-F4PTFXZH.js} +11554 -22046
  355. package/dist/chunk-F4PTFXZH.js.map +1 -0
  356. package/dist/chunk-FFYZXA75.js +58 -0
  357. package/dist/chunk-FFYZXA75.js.map +1 -0
  358. package/dist/chunk-GFGDHPZ2.js +22 -0
  359. package/dist/chunk-GFGDHPZ2.js.map +1 -0
  360. package/dist/chunk-GR3CDFID.js +18 -0
  361. package/dist/chunk-GR3CDFID.js.map +1 -0
  362. package/dist/chunk-GR4SIU32.js +104 -0
  363. package/dist/chunk-GR4SIU32.js.map +1 -0
  364. package/dist/chunk-H5E46IIS.js +18 -0
  365. package/dist/chunk-H5E46IIS.js.map +1 -0
  366. package/dist/chunk-HFHVAMZL.js +22 -0
  367. package/dist/chunk-HFHVAMZL.js.map +1 -0
  368. package/dist/chunk-HRRI4BLF.js +4456 -0
  369. package/dist/chunk-HRRI4BLF.js.map +1 -0
  370. package/dist/chunk-HT6L7A5M.js +12 -0
  371. package/dist/chunk-HT6L7A5M.js.map +1 -0
  372. package/dist/chunk-I2FPFISM.js +301 -0
  373. package/dist/chunk-I2FPFISM.js.map +1 -0
  374. package/dist/chunk-IADAQJDH.js +28 -0
  375. package/dist/chunk-IADAQJDH.js.map +1 -0
  376. package/dist/chunk-IBOBCMQQ.js +99 -0
  377. package/dist/chunk-IBOBCMQQ.js.map +1 -0
  378. package/dist/chunk-IFWKRCFF.js +56 -0
  379. package/dist/chunk-IFWKRCFF.js.map +1 -0
  380. package/dist/chunk-IH4T7V4C.js +40 -0
  381. package/dist/chunk-IH4T7V4C.js.map +1 -0
  382. package/dist/chunk-IIIZZ4E4.js +1679 -0
  383. package/dist/chunk-IIIZZ4E4.js.map +1 -0
  384. package/dist/chunk-ILSFU3WD.js +83 -0
  385. package/dist/chunk-ILSFU3WD.js.map +1 -0
  386. package/dist/chunk-IX3VBV3L.js +43 -0
  387. package/dist/chunk-IX3VBV3L.js.map +1 -0
  388. package/dist/chunk-JBBFSORW.js +846 -0
  389. package/dist/chunk-JBBFSORW.js.map +1 -0
  390. package/dist/chunk-JIDTNKKL.js +1183 -0
  391. package/dist/chunk-JIDTNKKL.js.map +1 -0
  392. package/dist/chunk-JSPE6NGZ.js +22 -0
  393. package/dist/chunk-JSPE6NGZ.js.map +1 -0
  394. package/dist/chunk-JVROGQ7Q.js +150 -0
  395. package/dist/chunk-JVROGQ7Q.js.map +1 -0
  396. package/dist/chunk-K4WUMWNJ.js +32 -0
  397. package/dist/chunk-K4WUMWNJ.js.map +1 -0
  398. package/dist/chunk-K74XQ4Q5.js +11 -0
  399. package/dist/chunk-K74XQ4Q5.js.map +1 -0
  400. package/dist/chunk-KLLMJ4U3.js +22 -0
  401. package/dist/chunk-KLLMJ4U3.js.map +1 -0
  402. package/dist/chunk-LTKVCJ2E.js +27 -0
  403. package/dist/chunk-LTKVCJ2E.js.map +1 -0
  404. package/dist/chunk-M36DJTFZ.js +34 -0
  405. package/dist/chunk-M36DJTFZ.js.map +1 -0
  406. package/dist/chunk-MHM52LCJ.js +154 -0
  407. package/dist/chunk-MHM52LCJ.js.map +1 -0
  408. package/dist/chunk-MQCDMHRZ.js +59 -0
  409. package/dist/chunk-MQCDMHRZ.js.map +1 -0
  410. package/dist/chunk-N3ORMGAI.js +348 -0
  411. package/dist/chunk-N3ORMGAI.js.map +1 -0
  412. package/dist/chunk-NCSGIRRQ.js +28 -0
  413. package/dist/chunk-NCSGIRRQ.js.map +1 -0
  414. package/dist/chunk-NIXT2SBH.js +1423 -0
  415. package/dist/chunk-NIXT2SBH.js.map +1 -0
  416. package/dist/chunk-NJAII6CO.js +148 -0
  417. package/dist/chunk-NJAII6CO.js.map +1 -0
  418. package/dist/chunk-NKE4TL43.js +92 -0
  419. package/dist/chunk-NKE4TL43.js.map +1 -0
  420. package/dist/chunk-NZ7AXA7B.js +1 -0
  421. package/dist/chunk-NZ7AXA7B.js.map +1 -0
  422. package/dist/chunk-OCAYEGI2.js +26 -0
  423. package/dist/chunk-OCAYEGI2.js.map +1 -0
  424. package/dist/chunk-OMLI45ER.js +90 -0
  425. package/dist/chunk-OMLI45ER.js.map +1 -0
  426. package/dist/chunk-P7OBLJAG.js +88 -0
  427. package/dist/chunk-P7OBLJAG.js.map +1 -0
  428. package/dist/chunk-PAY3CBWL.js +2321 -0
  429. package/dist/chunk-PAY3CBWL.js.map +1 -0
  430. package/dist/chunk-PFF6VY35.js +257 -0
  431. package/dist/chunk-PFF6VY35.js.map +1 -0
  432. package/dist/chunk-PYNDJDWZ.js +1758 -0
  433. package/dist/chunk-PYNDJDWZ.js.map +1 -0
  434. package/dist/chunk-QDQ6UMMN.js +53 -0
  435. package/dist/chunk-QDQ6UMMN.js.map +1 -0
  436. package/dist/chunk-QGT3G2XG.js +24 -0
  437. package/dist/chunk-QGT3G2XG.js.map +1 -0
  438. package/dist/chunk-QZYCJ2GZ.js +55 -0
  439. package/dist/chunk-QZYCJ2GZ.js.map +1 -0
  440. package/dist/chunk-REZ7RFSA.js +124 -0
  441. package/dist/chunk-REZ7RFSA.js.map +1 -0
  442. package/dist/chunk-RRYBAE6E.js +2449 -0
  443. package/dist/chunk-RRYBAE6E.js.map +1 -0
  444. package/dist/chunk-RWUZOB62.js +34 -0
  445. package/dist/chunk-RWUZOB62.js.map +1 -0
  446. package/dist/chunk-SB5UCPZH.js +116 -0
  447. package/dist/chunk-SB5UCPZH.js.map +1 -0
  448. package/dist/chunk-SEJJ7CRI.js +99 -0
  449. package/dist/chunk-SEJJ7CRI.js.map +1 -0
  450. package/dist/chunk-SHBFGRPV.js +45 -0
  451. package/dist/chunk-SHBFGRPV.js.map +1 -0
  452. package/dist/chunk-SOFJ4GC5.js +45 -0
  453. package/dist/chunk-SOFJ4GC5.js.map +1 -0
  454. package/dist/chunk-STH2HPZK.js +44 -0
  455. package/dist/chunk-STH2HPZK.js.map +1 -0
  456. package/dist/chunk-TK3JNKME.js +28 -0
  457. package/dist/chunk-TK3JNKME.js.map +1 -0
  458. package/dist/chunk-TMONHFE3.js +46 -0
  459. package/dist/chunk-TMONHFE3.js.map +1 -0
  460. package/dist/chunk-TR4KO3AG.js +44 -0
  461. package/dist/chunk-TR4KO3AG.js.map +1 -0
  462. package/dist/chunk-TS2LNBF2.js +68 -0
  463. package/dist/chunk-TS2LNBF2.js.map +1 -0
  464. package/dist/chunk-UZUMBFPP.js +26 -0
  465. package/dist/chunk-UZUMBFPP.js.map +1 -0
  466. package/dist/chunk-VRZ5LMOW.js +176 -0
  467. package/dist/chunk-VRZ5LMOW.js.map +1 -0
  468. package/dist/chunk-WLGGY6Z6.js +75 -0
  469. package/dist/chunk-WLGGY6Z6.js.map +1 -0
  470. package/dist/chunk-WO7V6ZNC.js +11 -0
  471. package/dist/chunk-WO7V6ZNC.js.map +1 -0
  472. package/dist/chunk-WXSENSRP.js +64 -0
  473. package/dist/chunk-WXSENSRP.js.map +1 -0
  474. package/dist/chunk-XEKBZ2SA.js +19 -0
  475. package/dist/chunk-XEKBZ2SA.js.map +1 -0
  476. package/dist/chunk-XPBKU3JX.js +61 -0
  477. package/dist/chunk-XPBKU3JX.js.map +1 -0
  478. package/dist/chunk-XRYXBXWH.js +24 -0
  479. package/dist/chunk-XRYXBXWH.js.map +1 -0
  480. package/dist/chunk-XVA7QRVH.js +22 -0
  481. package/dist/chunk-XVA7QRVH.js.map +1 -0
  482. package/dist/chunk-YCTHHBSS.js +37 -0
  483. package/dist/chunk-YCTHHBSS.js.map +1 -0
  484. package/dist/chunk-YHPWD5NE.js +70 -0
  485. package/dist/chunk-YHPWD5NE.js.map +1 -0
  486. package/dist/chunk-YLNEKJQ5.js +126 -0
  487. package/dist/chunk-YLNEKJQ5.js.map +1 -0
  488. package/dist/chunk-YN4CEKCF.js +73 -0
  489. package/dist/chunk-YN4CEKCF.js.map +1 -0
  490. package/dist/chunk-YYNMESIF.js +17 -0
  491. package/dist/chunk-YYNMESIF.js.map +1 -0
  492. package/dist/chunk-Z6PRMCV6.js +1 -0
  493. package/dist/chunk-Z6PRMCV6.js.map +1 -0
  494. package/dist/chunk-ZDNW6VQG.js +11 -0
  495. package/dist/chunk-ZDNW6VQG.js.map +1 -0
  496. package/dist/chunk-ZP4D73DO.js +36 -0
  497. package/dist/chunk-ZP4D73DO.js.map +1 -0
  498. package/dist/chunk-ZUATADUV.js +26 -0
  499. package/dist/chunk-ZUATADUV.js.map +1 -0
  500. package/dist/{connections-1NtNQrsY.d.ts → connections-CEcurtWI.d.ts} +74 -9
  501. package/dist/core/index.cjs +14041 -6973
  502. package/dist/core/index.cjs.map +1 -1
  503. package/dist/core/index.d.ts +422 -138
  504. package/dist/core/index.js +425 -183
  505. package/dist/core/index.js.map +1 -1
  506. package/dist/flow-vnext/index.cjs +2842 -0
  507. package/dist/flow-vnext/index.cjs.map +1 -0
  508. package/dist/flow-vnext/index.d.ts +3 -0
  509. package/dist/flow-vnext/index.js +119 -0
  510. package/dist/flow-vnext/index.js.map +1 -0
  511. package/dist/{graphql-client-Bn0tN049.d.ts → graphql-client-B2tREsx6.d.ts} +3 -1
  512. package/dist/index-b9xxXGFs.d.ts +1230 -0
  513. package/dist/index.d.ts +5 -3
  514. package/dist/index.js +202 -37
  515. package/dist/index.js.map +1 -1
  516. package/dist/legacy-BpgIqaQ5.d.ts +14 -0
  517. package/dist/mantine/index.d.ts +7 -4
  518. package/dist/mantine/index.js +84 -30
  519. package/dist/mantine/index.js.map +1 -1
  520. package/dist/{runtime-BFwvCQDF.d.ts → types-Dqk5MTfW.d.ts} +6096 -5386
  521. package/package.json +12 -2
  522. package/dist/chunk-5JF23UP3.js +0 -59687
  523. package/dist/chunk-5JF23UP3.js.map +0 -1
  524. package/dist/chunk-A4CWC4AG.js +0 -374
  525. package/dist/chunk-A4CWC4AG.js.map +0 -1
  526. package/dist/chunk-NEOPTPDF.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