@ixo/editor 1.12.0 → 1.14.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.
@@ -1287,11 +1287,11 @@ var CheckboxBlockSpec = createReactBlockSpec(
1287
1287
  );
1288
1288
 
1289
1289
  // src/mantine/blocks/list/ListBlockSpec.tsx
1290
- import React39 from "react";
1290
+ import React41 from "react";
1291
1291
  import { createReactBlockSpec as createReactBlockSpec2 } from "@blocknote/react";
1292
1292
 
1293
1293
  // src/mantine/blocks/list/ListBlock.tsx
1294
- import React38 from "react";
1294
+ import React40 from "react";
1295
1295
 
1296
1296
  // src/mantine/blocks/list/template/TemplateView.tsx
1297
1297
  import React16, { useMemo as useMemo6 } from "react";
@@ -1429,7 +1429,7 @@ var collectionsConfigFields = [
1429
1429
  label: "Relayed Node DID",
1430
1430
  description: "The DID of the relayed node to fetch collections from",
1431
1431
  type: "text",
1432
- required: true
1432
+ required: false
1433
1433
  }
1434
1434
  ];
1435
1435
  var collectionsSortFields = [
@@ -1466,7 +1466,7 @@ var investmentsConfigFields = [
1466
1466
  label: "Relayed Node DID",
1467
1467
  description: "The DID of the relayed node to fetch investments from",
1468
1468
  type: "text",
1469
- required: true
1469
+ required: false
1470
1470
  }
1471
1471
  ];
1472
1472
  var investmentsSortFields = [
@@ -1508,7 +1508,7 @@ var oraclesConfigFields = [
1508
1508
  label: "Relayed Node DID",
1509
1509
  description: "The DID of the relayed node to fetch oracles from",
1510
1510
  type: "text",
1511
- required: true
1511
+ required: false
1512
1512
  }
1513
1513
  ];
1514
1514
  var oraclesSortFields = [
@@ -1573,14 +1573,14 @@ var podsSelectionPanelConfig = {
1573
1573
  var proposalsMetadata = {
1574
1574
  id: "proposals",
1575
1575
  name: "Proposals",
1576
- description: "Display proposals from a registry",
1576
+ description: "Display proposals from a group",
1577
1577
  icon: "\u{1F4DC}"
1578
1578
  };
1579
1579
  var proposalsConfigFields = [
1580
1580
  {
1581
- key: "relayedNodeDid",
1582
- label: "Relayed Node DID",
1583
- description: "The DID of the relayed node to fetch proposals from",
1581
+ key: "groupCoreAddress",
1582
+ label: "Group Core Address",
1583
+ description: "The Core Address of the group to fetch proposals from",
1584
1584
  type: "text",
1585
1585
  required: true
1586
1586
  }
@@ -1615,7 +1615,7 @@ var requestsConfigFields = [
1615
1615
  label: "Relayed Node DID",
1616
1616
  description: "The DID of the relayed node to fetch requests from",
1617
1617
  type: "text",
1618
- required: true
1618
+ required: false
1619
1619
  }
1620
1620
  ];
1621
1621
  var requestsSortFields = [
@@ -1764,6 +1764,60 @@ var daoMembersSelectionPanelConfig = {
1764
1764
  detailsHandlerKey: "getDaoMemberDetails"
1765
1765
  };
1766
1766
 
1767
+ // src/mantine/blocks/list/projects/config.ts
1768
+ var projectsMetadata = {
1769
+ id: "projects",
1770
+ name: "Projects",
1771
+ description: "Display projects from a registry",
1772
+ icon: "\u{1F4E9}"
1773
+ };
1774
+ var projectsConfigFields = [
1775
+ {
1776
+ key: "relayedNodeDid",
1777
+ label: "Relayed Node DID",
1778
+ description: "The DID of the relayed node to fetch projects from",
1779
+ type: "text",
1780
+ required: false
1781
+ }
1782
+ ];
1783
+ var projectsSortFields = [{ key: "name", label: "Name", type: "string" }];
1784
+ var projectsFilterFields = [];
1785
+ var projectsHandlerKey = "getProjects";
1786
+ var projectsSelectionPanelConfig = {
1787
+ title: (item) => item.name || "Project",
1788
+ description: (item) => item.description || "No description",
1789
+ prompts: (item) => [{ text: `DID: ${item.did}` }],
1790
+ actionSections: (item) => item.actionSections,
1791
+ detailsHandlerKey: "getProjectDetails"
1792
+ };
1793
+
1794
+ // src/mantine/blocks/list/daos/config.ts
1795
+ var daosMetadata = {
1796
+ id: "daos",
1797
+ name: "Daos",
1798
+ description: "Display Daos from a registry",
1799
+ icon: "\u{1F4E9}"
1800
+ };
1801
+ var daosConfigFields = [
1802
+ {
1803
+ key: "relayedNodeDid",
1804
+ label: "Relayed Node DID",
1805
+ description: "The DID of the relayed node to fetch Daos from",
1806
+ type: "text",
1807
+ required: false
1808
+ }
1809
+ ];
1810
+ var daosSortFields = [{ key: "name", label: "Name", type: "string" }];
1811
+ var daosFilterFields = [];
1812
+ var daosHandlerKey = "getDaos";
1813
+ var daosSelectionPanelConfig = {
1814
+ title: (item) => item.name || "Dao",
1815
+ description: (item) => item.description || "No description",
1816
+ prompts: (item) => [{ text: `DID: ${item.did}` }],
1817
+ actionSections: (item) => item.actionSections,
1818
+ detailsHandlerKey: "getDaoDetails"
1819
+ };
1820
+
1767
1821
  // src/mantine/blocks/list/registry.ts
1768
1822
  var listTypeRegistry = {
1769
1823
  linked_resources: {
@@ -1849,6 +1903,20 @@ var listTypeRegistry = {
1849
1903
  sortFields: daoMembersSortFields,
1850
1904
  filterFields: [],
1851
1905
  handlerKey: daoMembersHandlerKey
1906
+ },
1907
+ projects: {
1908
+ metadata: projectsMetadata,
1909
+ configFields: projectsConfigFields,
1910
+ sortFields: projectsSortFields,
1911
+ filterFields: projectsFilterFields,
1912
+ handlerKey: projectsHandlerKey
1913
+ },
1914
+ daos: {
1915
+ metadata: daosMetadata,
1916
+ configFields: daosConfigFields,
1917
+ sortFields: daosSortFields,
1918
+ filterFields: daosFilterFields,
1919
+ handlerKey: daosHandlerKey
1852
1920
  }
1853
1921
  };
1854
1922
  var getAllListTypes = () => {
@@ -1872,7 +1940,9 @@ var listSelectionPanelRegistry = {
1872
1940
  requests: requestsSelectionPanelConfig,
1873
1941
  group_members: groupMembersSelectionPanelConfig,
1874
1942
  validators: validatorsSelectionPanelConfig,
1875
- dao_members: daoMembersSelectionPanelConfig
1943
+ dao_members: daoMembersSelectionPanelConfig,
1944
+ projects: projectsSelectionPanelConfig,
1945
+ daos: daosSelectionPanelConfig
1876
1946
  };
1877
1947
  var getSelectionPanelConfig = (type) => {
1878
1948
  return listSelectionPanelRegistry[type];
@@ -2043,8 +2113,9 @@ var TemplateConfig2 = ({ editor, block }) => {
2043
2113
  filter: JSON.stringify(config.filter)
2044
2114
  }
2045
2115
  });
2116
+ closePanel();
2046
2117
  },
2047
- [editor, block]
2118
+ [editor, closePanel, block]
2048
2119
  );
2049
2120
  const listType = block.props.listType && block.props.listType !== "" ? block.props.listType : null;
2050
2121
  let listConfig = {};
@@ -2132,8 +2203,8 @@ var ListTemplateView = ({ editor, block }) => {
2132
2203
  };
2133
2204
 
2134
2205
  // src/mantine/blocks/list/flow/FlowView.tsx
2135
- import React37, { useState as useState6, useEffect as useEffect6, useMemo as useMemo8, useCallback as useCallback9 } from "react";
2136
- import { Group as Group7, Stack as Stack24, Text as Text24, ActionIcon as ActionIcon4, Alert as Alert4, Loader as Loader2, Center as Center2, Flex as Flex15, Button as Button5 } from "@mantine/core";
2206
+ import React39, { useState as useState6, useEffect as useEffect6, useMemo as useMemo8, useCallback as useCallback9 } from "react";
2207
+ import { Group as Group7, Stack as Stack26, Text as Text26, ActionIcon as ActionIcon4, Alert as Alert4, Loader as Loader2, Center as Center2, Flex as Flex17, Button as Button5 } from "@mantine/core";
2137
2208
 
2138
2209
  // src/mantine/blocks/list/linked_resources/LinkedResourcesList.tsx
2139
2210
  import React20 from "react";
@@ -2240,6 +2311,14 @@ import { Text as Text9, Box as Box3, Stack as Stack11, Flex as Flex3, Image } fr
2240
2311
 
2241
2312
  // src/core/lib/formatters.ts
2242
2313
  var formatNumber = (value) => typeof value === "number" ? value.toLocaleString() : "-";
2314
+ function shortStr(str, threshold = 30, saveSymbolsAtTheEnd = 10, insert = "...") {
2315
+ if (!str) return str;
2316
+ const len = str.length;
2317
+ if (len <= threshold) return str;
2318
+ const ending = saveSymbolsAtTheEnd ? str.slice(-1 * saveSymbolsAtTheEnd) : "";
2319
+ const beginning = str.substring(0, threshold - saveSymbolsAtTheEnd - insert.length);
2320
+ return `${beginning}${insert}${ending}`;
2321
+ }
2243
2322
 
2244
2323
  // src/mantine/blocks/list/assets/AssetsList.tsx
2245
2324
  var AssetsList = ({ items, mods, isItemChecked, onItemCheck }) => {
@@ -2287,7 +2366,7 @@ var CollectionsList = ({ items, mods, isItemChecked, onItemCheck }) => {
2287
2366
  if (!items || items.length === 0) {
2288
2367
  return /* @__PURE__ */ React23.createElement(Text11, { size: "sm", c: "dimmed", ta: "center", py: "md" }, "No collections found");
2289
2368
  }
2290
- const rows = items.map((collection) => /* @__PURE__ */ React23.createElement(ListItemContainer, { key: collection.did }, /* @__PURE__ */ React23.createElement(Flex5, { align: "center", gap: "sm" }, /* @__PURE__ */ React23.createElement(Image2, { radius: 16, w: 32, h: 32, src: collection.icon }), /* @__PURE__ */ React23.createElement(Stack13, { gap: 0 }, /* @__PURE__ */ React23.createElement(Text11, { size: "sm" }, collection.name || "-"), /* @__PURE__ */ React23.createElement(Text11, { size: "sm", c: "dimmed" }, collection.brand || "-"))), /* @__PURE__ */ React23.createElement(Flex5, { align: "center", gap: "md" }, /* @__PURE__ */ React23.createElement(Stack13, { ta: "right", gap: 0 }, /* @__PURE__ */ React23.createElement(Text11, { size: "sm" }, collection.totalAssets || "-", " Assets"), /* @__PURE__ */ React23.createElement(Text11, { size: "sm", c: "dimmed" }, collection.currency || "-", collection.price || "-")), mods && /* @__PURE__ */ React23.createElement(
2369
+ const rows = items.map((collection) => /* @__PURE__ */ React23.createElement(ListItemContainer, { key: collection.did }, /* @__PURE__ */ React23.createElement(Flex5, { align: "center", gap: "sm" }, /* @__PURE__ */ React23.createElement(Image2, { radius: 16, w: 32, h: 32, src: collection.icon }), /* @__PURE__ */ React23.createElement(Stack13, { gap: 0 }, /* @__PURE__ */ React23.createElement(Text11, { size: "sm" }, collection.name), /* @__PURE__ */ React23.createElement(Text11, { size: "sm", c: "dimmed" }, collection.brand))), /* @__PURE__ */ React23.createElement(Flex5, { align: "center", gap: "md" }, /* @__PURE__ */ React23.createElement(Stack13, { ta: "right", gap: 0 }, /* @__PURE__ */ React23.createElement(Text11, { size: "sm" }, collection.totalAssets, " Assets"), /* @__PURE__ */ React23.createElement(Text11, { size: "sm", c: "dimmed" }, collection.currency, collection.price)), mods && /* @__PURE__ */ React23.createElement(
2291
2370
  ListItemCheckbox,
2292
2371
  {
2293
2372
  ariaLabel: `Select collection ${collection.did}`,
@@ -2338,14 +2417,14 @@ var PodsList = ({ items, mods, isItemChecked, onItemCheck }) => {
2338
2417
  return /* @__PURE__ */ React26.createElement(Box8, { flex: 1 }, /* @__PURE__ */ React26.createElement(Stack16, null, rows));
2339
2418
  };
2340
2419
 
2341
- // src/mantine/blocks/list/proposals/CollectionsList.tsx
2420
+ // src/mantine/blocks/list/proposals/ProposalsList.tsx
2342
2421
  import React27 from "react";
2343
2422
  import { Text as Text15, Box as Box9, Image as Image6, Stack as Stack17, Flex as Flex9, Badge as Badge4 } from "@mantine/core";
2344
2423
  var ProposalsList = ({ items, mods, isItemChecked, onItemCheck }) => {
2345
2424
  if (!items || items.length === 0) {
2346
2425
  return /* @__PURE__ */ React27.createElement(Text15, { size: "sm", c: "dimmed", ta: "center", py: "md" }, "No proposals found");
2347
2426
  }
2348
- const rows = items.map((proposal) => /* @__PURE__ */ React27.createElement(ListItemContainer, { key: proposal.did }, /* @__PURE__ */ React27.createElement(Flex9, { align: "center", gap: "sm" }, /* @__PURE__ */ React27.createElement(Image6, { radius: 16, w: 32, h: 32, src: proposal.icon }), /* @__PURE__ */ React27.createElement(Stack17, { gap: 0 }, /* @__PURE__ */ React27.createElement(Text15, { size: "sm" }, proposal.name || "-"), /* @__PURE__ */ React27.createElement(Text15, { size: "xs", c: "dimmed" }, proposal.description || "-"))), /* @__PURE__ */ React27.createElement(Flex9, { align: "center", gap: "md" }, /* @__PURE__ */ React27.createElement(Stack17, { ta: "right", gap: 0 }, /* @__PURE__ */ React27.createElement(Badge4, { size: "sm", variant: "light", color: "blue", style: { fontFamily: "monospace", fontSize: "10px" } }, proposal.status), /* @__PURE__ */ React27.createElement(Text15, { size: "sm", c: "dimmed" }, proposal.isVotedOn ? "Voted" : "Not voted")), mods && /* @__PURE__ */ React27.createElement(ListItemCheckbox, { ariaLabel: `Select proposal ${proposal.did}`, checked: isItemChecked?.(proposal.did), onCheck: (checked) => onItemCheck?.(proposal.did, checked) }))));
2427
+ const rows = items.map((proposal) => /* @__PURE__ */ React27.createElement(ListItemContainer, { key: proposal.did }, /* @__PURE__ */ React27.createElement(Flex9, { align: "center", gap: "sm" }, /* @__PURE__ */ React27.createElement(Image6, { radius: 16, w: 32, h: 32, src: proposal.icon }), /* @__PURE__ */ React27.createElement(Stack17, { gap: 0 }, /* @__PURE__ */ React27.createElement(Text15, { size: "sm" }, proposal.name || "-"), /* @__PURE__ */ React27.createElement(Text15, { size: "xs", c: "dimmed" }, proposal.description || "-"))), /* @__PURE__ */ React27.createElement(Flex9, { align: "center", gap: "md" }, /* @__PURE__ */ React27.createElement(Stack17, { ta: "right", align: "end", gap: 0 }, /* @__PURE__ */ React27.createElement(Badge4, { size: "sm", variant: "light", color: "blue", style: { fontFamily: "monospace", fontSize: "10px" } }, proposal.status), /* @__PURE__ */ React27.createElement(Text15, { size: "sm", c: "dimmed" }, proposal.isVotedOn ? "Voted" : "Not voted")), mods && /* @__PURE__ */ React27.createElement(ListItemCheckbox, { ariaLabel: `Select proposal ${proposal.did}`, checked: isItemChecked?.(proposal.did), onCheck: (checked) => onItemCheck?.(proposal.did, checked) }))));
2349
2428
  return /* @__PURE__ */ React27.createElement(Box9, { flex: 1 }, /* @__PURE__ */ React27.createElement(Stack17, null, rows));
2350
2429
  };
2351
2430
 
@@ -2374,11 +2453,37 @@ var MembersList = ({ items, mods, isItemChecked, onItemCheck }) => {
2374
2453
  // src/mantine/blocks/list/validators/ValidatorsList.tsx
2375
2454
  import React30 from "react";
2376
2455
  import { Text as Text18, Box as Box12, Image as Image9, Stack as Stack20, Flex as Flex12 } from "@mantine/core";
2456
+
2457
+ // src/core/utils/numbers.ts
2458
+ var numberFormatter = (num, digits) => {
2459
+ const lookup = [
2460
+ { value: 1, symbol: "" },
2461
+ { value: 1e3, symbol: "k" },
2462
+ { value: 1e6, symbol: "M" },
2463
+ { value: 1e9, symbol: "G" },
2464
+ { value: 1e12, symbol: "T" },
2465
+ { value: 1e15, symbol: "P" },
2466
+ { value: 1e18, symbol: "E" }
2467
+ ];
2468
+ const rx = /\.0+$|(\.[0-9]*[1-9])0+$/;
2469
+ const item = lookup.slice().reverse().find((lookupItem) => num >= lookupItem.value);
2470
+ return item ? (num / item.value).toFixed(digits).replace(rx, "$1") + item.symbol : "0";
2471
+ };
2472
+ var microAmountToAmount = (microAmount, microUnits = 6) => {
2473
+ const amount = (microAmount ?? 0) / Math.pow(10, microUnits);
2474
+ return amount;
2475
+ };
2476
+
2477
+ // src/core/lib/validators.ts
2478
+ var getDelegatedTokensFromValidator = (validator) => Number(validator?.amount ?? 0);
2479
+ var getDisplayDelegatedTokensFromValidator = (validator) => microAmountToAmount(getDelegatedTokensFromValidator(validator), 6);
2480
+
2481
+ // src/mantine/blocks/list/validators/ValidatorsList.tsx
2377
2482
  var ValidatorsList = ({ items, mods, isItemChecked, onItemCheck }) => {
2378
2483
  if (!items || items.length === 0) {
2379
2484
  return /* @__PURE__ */ React30.createElement(Text18, { size: "sm", c: "dimmed", ta: "center", py: "md" }, "No validators found");
2380
2485
  }
2381
- const rows = items.map((v) => /* @__PURE__ */ React30.createElement(ListItemContainer, { key: v.did }, /* @__PURE__ */ React30.createElement(Flex12, { align: "center", gap: "sm" }, /* @__PURE__ */ React30.createElement(Image9, { radius: 16, w: 32, h: 32, src: v.icon }), /* @__PURE__ */ React30.createElement(Stack20, { gap: 0 }, /* @__PURE__ */ React30.createElement(Text18, { size: "sm" }, v.name || "-"), /* @__PURE__ */ React30.createElement(Text18, { size: "xs", c: "dimmed" }, v.description || "-"))), /* @__PURE__ */ React30.createElement(Flex12, { align: "center", gap: "md" }, /* @__PURE__ */ React30.createElement(Stack20, { ta: "right", gap: 0 }, /* @__PURE__ */ React30.createElement(Text18, { size: "sm" }, formatNumber(v.amount), " ", v.currency), /* @__PURE__ */ React30.createElement(Text18, { size: "sm", c: "dimmed" }, v.commission, "% fee"), /* @__PURE__ */ React30.createElement(Text18, { size: "xs", c: "dimmed" }, v.isActive ? "Active" : "Inactive", " \u2022 ", v.isStaked ? "Staked" : "Not staked", " \u2022 ", v.isBonding ? "Bonding" : "Not bonding")), mods && /* @__PURE__ */ React30.createElement(ListItemCheckbox, { ariaLabel: `Select validator ${v.did}`, checked: isItemChecked?.(v.did), onCheck: (checked) => onItemCheck?.(v.did, checked) }))));
2486
+ const rows = items.map((v) => /* @__PURE__ */ React30.createElement(ListItemContainer, { key: v.did }, /* @__PURE__ */ React30.createElement(Flex12, { align: "center", gap: "sm" }, /* @__PURE__ */ React30.createElement(Image9, { radius: 16, w: 32, h: 32, src: v.icon }), /* @__PURE__ */ React30.createElement(Stack20, { gap: 0 }, /* @__PURE__ */ React30.createElement(Text18, { size: "sm" }, v.name || "-"), /* @__PURE__ */ React30.createElement(Text18, { size: "xs", c: "dimmed" }, v.description || "-"))), /* @__PURE__ */ React30.createElement(Flex12, { align: "center", gap: "md" }, /* @__PURE__ */ React30.createElement(Stack20, { ta: "right", gap: 0 }, /* @__PURE__ */ React30.createElement(Text18, { size: "sm" }, numberFormatter(getDisplayDelegatedTokensFromValidator(v), 2), " ", v.currency), /* @__PURE__ */ React30.createElement(Text18, { size: "sm", c: "dimmed" }, v.commission, "% fee"), /* @__PURE__ */ React30.createElement(Text18, { size: "xs", c: "dimmed" }, v.isActive ? "Active" : "Inactive", " \u2022 ", v.isStaked ? "Staked" : "Not staked", " \u2022 ", v.isBonding ? "Bonding" : "Not bonding")), mods && /* @__PURE__ */ React30.createElement(ListItemCheckbox, { ariaLabel: `Select validator ${v.did}`, checked: isItemChecked?.(v.did), onCheck: (checked) => onItemCheck?.(v.did, checked) }))));
2382
2487
  return /* @__PURE__ */ React30.createElement(Box12, { flex: 1 }, /* @__PURE__ */ React30.createElement(Stack20, null, rows));
2383
2488
  };
2384
2489
 
@@ -2707,10 +2812,32 @@ var ListSelectionPanel = ({ selectedIds, listType }) => {
2707
2812
  );
2708
2813
  };
2709
2814
 
2815
+ // src/mantine/blocks/list/projects/ProjectsList.tsx
2816
+ import React37 from "react";
2817
+ import { Text as Text24, Box as Box14, Image as Image11, Stack as Stack24, Flex as Flex15 } from "@mantine/core";
2818
+ var ProjectsList = ({ items, mods, isItemChecked, onItemCheck }) => {
2819
+ if (!items || items.length === 0) {
2820
+ return /* @__PURE__ */ React37.createElement(Text24, { size: "sm", c: "dimmed", ta: "center", py: "md" }, "No Projects found");
2821
+ }
2822
+ const rows = items.map((project) => /* @__PURE__ */ React37.createElement(ListItemContainer, { key: project.did }, /* @__PURE__ */ React37.createElement(Flex15, { align: "center", gap: "sm" }, /* @__PURE__ */ React37.createElement(Image11, { radius: 16, w: 32, h: 32, src: project.icon }), /* @__PURE__ */ React37.createElement(Stack24, { gap: 0 }, /* @__PURE__ */ React37.createElement(Text24, { size: "sm" }, project.name || "-"), /* @__PURE__ */ React37.createElement(Text24, { size: "sm", c: "dimmed" }, shortStr(project.description, 50, 0) || "-"))), /* @__PURE__ */ React37.createElement(Flex15, { align: "center", gap: "md" }, mods && /* @__PURE__ */ React37.createElement(ListItemCheckbox, { ariaLabel: `Select request ${project.did}`, checked: isItemChecked?.(project.did), onCheck: (checked) => onItemCheck?.(project.did, checked) }))));
2823
+ return /* @__PURE__ */ React37.createElement(Box14, { flex: 1 }, /* @__PURE__ */ React37.createElement(Stack24, null, rows));
2824
+ };
2825
+
2826
+ // src/mantine/blocks/list/daos/DaosList.tsx
2827
+ import React38 from "react";
2828
+ import { Text as Text25, Box as Box15, Image as Image12, Stack as Stack25, Flex as Flex16 } from "@mantine/core";
2829
+ var DaosList = ({ items, mods, isItemChecked, onItemCheck }) => {
2830
+ if (!items || items.length === 0) {
2831
+ return /* @__PURE__ */ React38.createElement(Text25, { size: "sm", c: "dimmed", ta: "center", py: "md" }, "No Daos found");
2832
+ }
2833
+ const rows = items.map((dao) => /* @__PURE__ */ React38.createElement(ListItemContainer, { key: dao.did }, /* @__PURE__ */ React38.createElement(Flex16, { align: "center", gap: "sm" }, /* @__PURE__ */ React38.createElement(Image12, { radius: 16, w: 32, h: 32, src: dao.icon }), /* @__PURE__ */ React38.createElement(Stack25, { gap: 0 }, /* @__PURE__ */ React38.createElement(Text25, { size: "sm" }, dao.name || "-"), /* @__PURE__ */ React38.createElement(Text25, { size: "sm", c: "dimmed" }, shortStr(dao.description, 50, 0) || "-"))), /* @__PURE__ */ React38.createElement(Flex16, { align: "center", gap: "md" }, mods && /* @__PURE__ */ React38.createElement(ListItemCheckbox, { ariaLabel: `Select request ${dao.did}`, checked: isItemChecked?.(dao.did), onCheck: (checked) => onItemCheck?.(dao.did, checked) }))));
2834
+ return /* @__PURE__ */ React38.createElement(Box15, { flex: 1 }, /* @__PURE__ */ React38.createElement(Stack25, null, rows));
2835
+ };
2836
+
2710
2837
  // src/mantine/blocks/list/flow/FlowView.tsx
2711
- var IconRefresh = () => /* @__PURE__ */ React37.createElement("span", null, "\u{1F504}");
2712
- var IconSettings = () => /* @__PURE__ */ React37.createElement("span", null, "\u2699\uFE0F");
2713
- var IconAlertCircle = () => /* @__PURE__ */ React37.createElement("span", null, "\u26A0\uFE0F");
2838
+ var IconRefresh = () => /* @__PURE__ */ React39.createElement("span", null, "\u{1F504}");
2839
+ var IconSettings = () => /* @__PURE__ */ React39.createElement("span", null, "\u2699\uFE0F");
2840
+ var IconAlertCircle = () => /* @__PURE__ */ React39.createElement("span", null, "\u26A0\uFE0F");
2714
2841
  var LIST_FLOW_PANEL_ID = "list-flow-panel";
2715
2842
  var LIST_SELECTION_FLOW_PANEL_ID = "list-selection-flow-panel";
2716
2843
  var ListFlowView = ({ block, editor }) => {
@@ -2724,13 +2851,13 @@ var ListFlowView = ({ block, editor }) => {
2724
2851
  const [totalPages, setTotalPages] = useState6(0);
2725
2852
  const [selectedIds, setSelectedIds] = useState6(/* @__PURE__ */ new Set());
2726
2853
  const panelId = `${LIST_FLOW_PANEL_ID}-${block.id}`;
2727
- const panelContent = useMemo8(() => /* @__PURE__ */ React37.createElement(TemplateConfig2, { editor, block }), [editor, block]);
2854
+ const panelContent = useMemo8(() => /* @__PURE__ */ React39.createElement(TemplateConfig2, { editor, block }), [editor, block]);
2728
2855
  const { open: openPanel } = usePanel(panelId, panelContent);
2729
2856
  const handlers = useBlocknoteHandlers();
2730
2857
  const listType = block.props.listType && block.props.listType !== "" ? block.props.listType : null;
2731
2858
  const selectionPanelId = `${LIST_SELECTION_FLOW_PANEL_ID}-${block.id}`;
2732
2859
  const selectionPanelContent = useMemo8(
2733
- () => /* @__PURE__ */ React37.createElement(ListSelectionPanel, { editor, block, selectedIds, listType }),
2860
+ () => /* @__PURE__ */ React39.createElement(ListSelectionPanel, { editor, block, selectedIds, listType }),
2734
2861
  [editor, block, selectedIds, listType]
2735
2862
  );
2736
2863
  const { open: openSelectionPanel } = usePanel(selectionPanelId, selectionPanelContent);
@@ -2838,6 +2965,7 @@ var ListFlowView = ({ block, editor }) => {
2838
2965
  try {
2839
2966
  let result;
2840
2967
  let did;
2968
+ let relayerDid;
2841
2969
  let groupIds;
2842
2970
  let userAddress;
2843
2971
  switch (listType) {
@@ -2861,39 +2989,56 @@ var ListFlowView = ({ block, editor }) => {
2861
2989
  setData({ items: result.data });
2862
2990
  break;
2863
2991
  case "collections":
2864
- did = handlers.getEntityDid();
2865
- if (!did && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2866
- result = await handlers.getCollections(listConfig.relayedNodeDid || did, page);
2992
+ relayerDid = handlers.getRelayerDid();
2993
+ if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2994
+ result = await handlers.getCollections(listConfig.relayedNodeDid || relayerDid, page);
2995
+ setTotalPages(Math.ceil(result.totalCount / DEFAULT_PAGE_SIZE));
2867
2996
  setData({ items: result.data });
2868
2997
  break;
2869
2998
  case "investments":
2870
- did = handlers.getEntityDid();
2871
- if (!did && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2872
- result = await handlers.getInvestments(listConfig.relayedNodeDid || did, page);
2999
+ relayerDid = handlers.getRelayerDid();
3000
+ if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
3001
+ result = await handlers.getInvestments(listConfig.relayedNodeDid || relayerDid, page);
3002
+ setTotalPages(Math.ceil(result.totalCount / DEFAULT_PAGE_SIZE));
2873
3003
  setData({ items: result.data });
2874
3004
  break;
2875
3005
  case "oracles":
2876
- did = handlers.getEntityDid();
2877
- if (!did && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2878
- result = await handlers.getOracles(listConfig.relayedNodeDid || did, page);
3006
+ relayerDid = handlers.getRelayerDid();
3007
+ if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
3008
+ result = await handlers.getOracles(listConfig.relayedNodeDid || relayerDid, page);
3009
+ setTotalPages(Math.ceil(result.totalCount / DEFAULT_PAGE_SIZE));
2879
3010
  setData({ items: result.data });
2880
3011
  break;
2881
3012
  case "pods":
2882
- did = handlers.getEntityDid();
2883
- if (!did && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2884
- result = await handlers.getPODs(listConfig.relayedNodeDid || did, page);
3013
+ relayerDid = handlers.getRelayerDid();
3014
+ if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
3015
+ result = await handlers.getPODs(listConfig.relayedNodeDid || relayerDid, page);
2885
3016
  setData({ items: result.data });
2886
3017
  break;
2887
3018
  case "proposals":
2888
- did = handlers.getEntityDid();
2889
- if (!did && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2890
- result = await handlers.getProposals(listConfig.relayedNodeDid || did, page);
3019
+ if (!listConfig.groupCoreAddress) throw new Error("GroupCoreAddress is required");
3020
+ result = await handlers.getProposals(listConfig.groupCoreAddress, page);
2891
3021
  setData({ items: result.data });
2892
3022
  break;
2893
3023
  case "requests":
2894
- did = handlers.getEntityDid();
2895
- if (!did && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2896
- result = await handlers.getRequests(listConfig.relayedNodeDid || did, page);
3024
+ relayerDid = handlers.getRelayerDid();
3025
+ if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
3026
+ result = await handlers.getRequests(listConfig.relayedNodeDid || relayerDid, page);
3027
+ setTotalPages(Math.ceil(result.totalCount / DEFAULT_PAGE_SIZE));
3028
+ setData({ items: result.data });
3029
+ break;
3030
+ case "projects":
3031
+ relayerDid = handlers.getRelayerDid();
3032
+ if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
3033
+ result = await handlers.getProjects(listConfig.relayedNodeDid || relayerDid, page);
3034
+ setTotalPages(Math.ceil(result.totalCount / DEFAULT_PAGE_SIZE));
3035
+ setData({ items: result.data });
3036
+ break;
3037
+ case "daos":
3038
+ relayerDid = handlers.getRelayerDid();
3039
+ if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
3040
+ result = await handlers.getDaos(listConfig.relayedNodeDid || relayerDid, page);
3041
+ setTotalPages(Math.ceil(result.totalCount / DEFAULT_PAGE_SIZE));
2897
3042
  setData({ items: result.data });
2898
3043
  break;
2899
3044
  case "group_members":
@@ -2903,9 +3048,9 @@ var ListFlowView = ({ block, editor }) => {
2903
3048
  setData({ items: result.data });
2904
3049
  break;
2905
3050
  case "validators":
2906
- did = handlers.getEntityDid();
2907
- if (!did && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2908
- result = await handlers.getValidators(listConfig.relayedNodeDid || did, page);
3051
+ relayerDid = handlers.getRelayerDid();
3052
+ if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
3053
+ result = await handlers.getValidators(listConfig.relayedNodeDid || relayerDid, page);
2909
3054
  setData({ items: result.data });
2910
3055
  break;
2911
3056
  case "dao_members":
@@ -2955,40 +3100,44 @@ var ListFlowView = ({ block, editor }) => {
2955
3100
  if (!filteredData || !listType) return null;
2956
3101
  switch (listType) {
2957
3102
  case "linked_resources":
2958
- return /* @__PURE__ */ React37.createElement(LinkedResourcesList, { items: filteredData, config: listConfig, mods: selectionMode, isItemChecked, onItemCheck });
3103
+ return /* @__PURE__ */ React39.createElement(LinkedResourcesList, { items: filteredData, config: listConfig, mods: selectionMode, isItemChecked, onItemCheck });
2959
3104
  case "assets":
2960
- return /* @__PURE__ */ React37.createElement(AssetsList, { items: filteredData, config: listConfig, mods: selectionMode, isItemChecked, onItemCheck });
3105
+ return /* @__PURE__ */ React39.createElement(AssetsList, { items: filteredData, config: listConfig, mods: selectionMode, isItemChecked, onItemCheck });
2961
3106
  case "transactions":
2962
- return /* @__PURE__ */ React37.createElement(TransactionsList, { items: filteredData, config: listConfig, mods: selectionMode, isItemChecked, onItemCheck });
3107
+ return /* @__PURE__ */ React39.createElement(TransactionsList, { items: filteredData, config: listConfig, mods: selectionMode, isItemChecked, onItemCheck });
2963
3108
  case "collections":
2964
- return /* @__PURE__ */ React37.createElement(CollectionsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3109
+ return /* @__PURE__ */ React39.createElement(CollectionsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2965
3110
  case "investments":
2966
- return /* @__PURE__ */ React37.createElement(InvestmentsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3111
+ return /* @__PURE__ */ React39.createElement(InvestmentsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2967
3112
  case "oracles":
2968
- return /* @__PURE__ */ React37.createElement(OraclesList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3113
+ return /* @__PURE__ */ React39.createElement(OraclesList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2969
3114
  case "pods":
2970
- return /* @__PURE__ */ React37.createElement(PodsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3115
+ return /* @__PURE__ */ React39.createElement(PodsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2971
3116
  case "proposals":
2972
- return /* @__PURE__ */ React37.createElement(ProposalsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3117
+ return /* @__PURE__ */ React39.createElement(ProposalsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2973
3118
  case "requests":
2974
- return /* @__PURE__ */ React37.createElement(RequestsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3119
+ return /* @__PURE__ */ React39.createElement(RequestsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3120
+ case "projects":
3121
+ return /* @__PURE__ */ React39.createElement(ProjectsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3122
+ case "daos":
3123
+ return /* @__PURE__ */ React39.createElement(DaosList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2975
3124
  case "group_members":
2976
- return /* @__PURE__ */ React37.createElement(MembersList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3125
+ return /* @__PURE__ */ React39.createElement(MembersList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2977
3126
  case "dao_members":
2978
- return /* @__PURE__ */ React37.createElement(DaoMembersList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3127
+ return /* @__PURE__ */ React39.createElement(DaoMembersList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2979
3128
  case "validators":
2980
- return /* @__PURE__ */ React37.createElement(ValidatorsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3129
+ return /* @__PURE__ */ React39.createElement(ValidatorsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2981
3130
  default:
2982
3131
  return null;
2983
3132
  }
2984
3133
  };
2985
3134
  if (!listType) {
2986
- return /* @__PURE__ */ React37.createElement(Center2, { py: "xl" }, /* @__PURE__ */ React37.createElement(Text24, { size: "sm", c: "dimmed" }, "List not configured"));
3135
+ return /* @__PURE__ */ React39.createElement(Center2, { py: "xl" }, /* @__PURE__ */ React39.createElement(Text26, { size: "sm", c: "dimmed" }, "List not configured"));
2987
3136
  }
2988
- return /* @__PURE__ */ React37.createElement(Stack24, { mih: totalPages !== 0 ? 700 : void 0, w: "100%" }, /* @__PURE__ */ React37.createElement(Flex15, { align: "center", gap: "xs" }, /* @__PURE__ */ React37.createElement(Text24, null, getListNameByType(listType)), listSortConfig?.key && /* @__PURE__ */ React37.createElement(Flex15, { align: "center" }, /* @__PURE__ */ React37.createElement(Text24, { size: "xs", c: "dimmed" }, listSortConfig.key?.replace(/([A-Z])/g, " $1").replace(
3137
+ return /* @__PURE__ */ React39.createElement(Stack26, { mih: totalPages !== 1 ? 700 : void 0, w: "100%" }, /* @__PURE__ */ React39.createElement(Flex17, { align: "center", gap: "xs" }, /* @__PURE__ */ React39.createElement(Text26, null, getListNameByType(listType)), listSortConfig?.key && /* @__PURE__ */ React39.createElement(Flex17, { align: "center" }, /* @__PURE__ */ React39.createElement(Text26, { size: "xs", c: "dimmed" }, listSortConfig.key?.replace(/([A-Z])/g, " $1").replace(
2989
3138
  /^./,
2990
3139
  (str) => str.toUpperCase()
2991
- ), " "), /* @__PURE__ */ React37.createElement(Text24, { lh: 0.5, c: "dimmed" }, listSortConfig.direction === "asc" && /* @__PURE__ */ React37.createElement(IconArrowUp2, { size: 18 }), listSortConfig.direction === "desc" && /* @__PURE__ */ React37.createElement(IconArrowDown2, { size: 18 }))), selectionMode && /* @__PURE__ */ React37.createElement(Text24, { lh: 0.5, c: "dimmed" }, selectionMode === "single" ? "Single Selection" : "Multi Selection")), /* @__PURE__ */ React37.createElement(Flex15, { justify: "space-between" }, /* @__PURE__ */ React37.createElement(Flex15, { gap: "xs", align: "center" }, /* @__PURE__ */ React37.createElement(FilterTab, { key: "All", label: "All", isActive: !listFilterConfig?.key, onClick: () => handleFilterChange(null) }), Array.isArray(listFilterConfigOptions) && listFilterConfigOptions.length > 0 && listFilterConfigOptions.map(({ key, label, type }) => /* @__PURE__ */ React37.createElement(
3140
+ ), " "), /* @__PURE__ */ React39.createElement(Text26, { lh: 0.5, c: "dimmed" }, listSortConfig.direction === "asc" && /* @__PURE__ */ React39.createElement(IconArrowUp2, { size: 18 }), listSortConfig.direction === "desc" && /* @__PURE__ */ React39.createElement(IconArrowDown2, { size: 18 }))), selectionMode && /* @__PURE__ */ React39.createElement(Text26, { lh: 0.5, c: "dimmed" }, selectionMode === "single" ? "Single Selection" : "Multi Selection")), /* @__PURE__ */ React39.createElement(Flex17, { justify: "space-between" }, /* @__PURE__ */ React39.createElement(Flex17, { gap: "xs", align: "center" }, /* @__PURE__ */ React39.createElement(FilterTab, { key: "All", label: "All", isActive: !listFilterConfig?.key, onClick: () => handleFilterChange(null) }), Array.isArray(listFilterConfigOptions) && listFilterConfigOptions.length > 0 && listFilterConfigOptions.map(({ key, label, type }) => /* @__PURE__ */ React39.createElement(
2992
3141
  FilterTab,
2993
3142
  {
2994
3143
  key: label,
@@ -2996,7 +3145,7 @@ var ListFlowView = ({ block, editor }) => {
2996
3145
  isActive: listFilterConfig?.key === key && listFilterConfig?.value === type,
2997
3146
  onClick: () => handleFilterChange({ key, value: type })
2998
3147
  }
2999
- ))), /* @__PURE__ */ React37.createElement(Flex15, { gap: "xs" }, /* @__PURE__ */ React37.createElement(ActionIcon4, { variant: "subtle", size: "sm", onClick: fetchData, loading }, /* @__PURE__ */ React37.createElement(IconRefresh, null)), editable && /* @__PURE__ */ React37.createElement(ActionIcon4, { variant: "subtle", size: "sm", onClick: openPanel }, /* @__PURE__ */ React37.createElement(IconSettings, null)), selectedIds.size > 0 && /* @__PURE__ */ React37.createElement(ActionIcon4, { variant: "subtle", size: "sm", onClick: openSelectionPanel }, /* @__PURE__ */ React37.createElement(IconArrowRight2, null)), listConfig && listSortConfigOptions && listSortConfigOptions?.length > 0 && /* @__PURE__ */ React37.createElement(
3148
+ ))), /* @__PURE__ */ React39.createElement(Flex17, { gap: "xs" }, /* @__PURE__ */ React39.createElement(ActionIcon4, { variant: "subtle", size: "sm", onClick: fetchData, loading }, /* @__PURE__ */ React39.createElement(IconRefresh, null)), editable && /* @__PURE__ */ React39.createElement(ActionIcon4, { variant: "subtle", size: "sm", onClick: openPanel }, /* @__PURE__ */ React39.createElement(IconSettings, null)), selectedIds.size > 0 && /* @__PURE__ */ React39.createElement(ActionIcon4, { variant: "subtle", size: "sm", onClick: openSelectionPanel }, /* @__PURE__ */ React39.createElement(IconArrowRight2, null)), listConfig && listSortConfigOptions && listSortConfigOptions?.length > 0 && /* @__PURE__ */ React39.createElement(
3000
3149
  ListActionsMenu,
3001
3150
  {
3002
3151
  onSelectActionClick: (mode) => setSelectionMode(mode),
@@ -3005,7 +3154,7 @@ var ListFlowView = ({ block, editor }) => {
3005
3154
  value: listSortConfig,
3006
3155
  onChange: (sortOption) => handleSortChange(sortOption)
3007
3156
  }
3008
- ))), /* @__PURE__ */ React37.createElement(Flex15, { flex: 1 }, loading ? /* @__PURE__ */ React37.createElement(Center2, { py: "xl", w: "100%" }, /* @__PURE__ */ React37.createElement(Loader2, { size: "md", mx: "auto" })) : error ? /* @__PURE__ */ React37.createElement(Alert4, { color: "red", title: "Failed to load data", icon: /* @__PURE__ */ React37.createElement(IconAlertCircle, null) }, /* @__PURE__ */ React37.createElement(Stack24, { gap: "xs" }, /* @__PURE__ */ React37.createElement(Text24, { size: "sm" }, showErrorDetails ? error : "Unable to fetch list data"), /* @__PURE__ */ React37.createElement(Group7, { gap: "xs" }, /* @__PURE__ */ React37.createElement(Button5, { size: "xs", variant: "subtle", onClick: fetchData }, "Retry"), /* @__PURE__ */ React37.createElement(Button5, { size: "xs", variant: "subtle", onClick: () => setShowErrorDetails(!showErrorDetails) }, showErrorDetails ? "Hide" : "Show", " Details")))) : /* @__PURE__ */ React37.createElement(Stack24, { gap: "md", flex: 1 }, renderListComponent(), /* @__PURE__ */ React37.createElement(
3157
+ ))), /* @__PURE__ */ React39.createElement(Flex17, { flex: 1 }, loading ? /* @__PURE__ */ React39.createElement(Center2, { py: "xl", w: "100%" }, /* @__PURE__ */ React39.createElement(Loader2, { size: "md", mx: "auto" })) : error ? /* @__PURE__ */ React39.createElement(Alert4, { color: "red", title: "Failed to load data", icon: /* @__PURE__ */ React39.createElement(IconAlertCircle, null) }, /* @__PURE__ */ React39.createElement(Stack26, { gap: "xs" }, /* @__PURE__ */ React39.createElement(Text26, { size: "sm" }, showErrorDetails ? error : "Unable to fetch list data"), /* @__PURE__ */ React39.createElement(Group7, { gap: "xs" }, /* @__PURE__ */ React39.createElement(Button5, { size: "xs", variant: "subtle", onClick: fetchData }, "Retry"), /* @__PURE__ */ React39.createElement(Button5, { size: "xs", variant: "subtle", onClick: () => setShowErrorDetails(!showErrorDetails) }, showErrorDetails ? "Hide" : "Show", " Details")))) : /* @__PURE__ */ React39.createElement(Stack26, { gap: "md", flex: 1 }, renderListComponent(), /* @__PURE__ */ React39.createElement(
3009
3158
  ListPagination,
3010
3159
  {
3011
3160
  page,
@@ -3023,9 +3172,9 @@ function ListBlock({ editor, block }) {
3023
3172
  const listType = block.props.listType && block.props.listType !== "";
3024
3173
  const isConfigured = listType;
3025
3174
  if (editable && !isConfigured) {
3026
- return /* @__PURE__ */ React38.createElement(ListTemplateView, { editor, block });
3175
+ return /* @__PURE__ */ React40.createElement(ListTemplateView, { editor, block });
3027
3176
  }
3028
- return /* @__PURE__ */ React38.createElement(ListFlowView, { block, editor });
3177
+ return /* @__PURE__ */ React40.createElement(ListFlowView, { block, editor });
3029
3178
  }
3030
3179
 
3031
3180
  // src/mantine/blocks/list/ListBlockSpec.tsx
@@ -3060,16 +3209,16 @@ var ListBlockSpec = createReactBlockSpec2(
3060
3209
  {
3061
3210
  render: (props) => {
3062
3211
  const ixoProps = props;
3063
- return /* @__PURE__ */ React39.createElement(ListBlock, { ...ixoProps });
3212
+ return /* @__PURE__ */ React41.createElement(ListBlock, { ...ixoProps });
3064
3213
  }
3065
3214
  }
3066
3215
  );
3067
3216
 
3068
3217
  // src/mantine/blocks/overview/OverviewBlock.tsx
3069
- import React40 from "react";
3218
+ import React42 from "react";
3070
3219
  import { createReactBlockSpec as createReactBlockSpec3 } from "@blocknote/react";
3071
3220
  var OverviewBlockContent = ({ block, editor }) => {
3072
- return /* @__PURE__ */ React40.createElement(
3221
+ return /* @__PURE__ */ React42.createElement(
3073
3222
  "div",
3074
3223
  {
3075
3224
  style: {
@@ -3081,7 +3230,7 @@ var OverviewBlockContent = ({ block, editor }) => {
3081
3230
  border: "1px solid #e5e7eb"
3082
3231
  }
3083
3232
  },
3084
- /* @__PURE__ */ React40.createElement("div", { style: { marginBottom: "12px" } }, /* @__PURE__ */ React40.createElement(
3233
+ /* @__PURE__ */ React42.createElement("div", { style: { marginBottom: "12px" } }, /* @__PURE__ */ React42.createElement(
3085
3234
  "input",
3086
3235
  {
3087
3236
  type: "text",
@@ -3107,7 +3256,7 @@ var OverviewBlockContent = ({ block, editor }) => {
3107
3256
  }
3108
3257
  }
3109
3258
  )),
3110
- /* @__PURE__ */ React40.createElement("div", { style: { minHeight: "40px", color: "#6b7280" } }, block.props.did ? /* @__PURE__ */ React40.createElement("p", null, "Loading overview for DID: ", block.props.did) : /* @__PURE__ */ React40.createElement("p", null, "Enter a DID to load overview data"))
3259
+ /* @__PURE__ */ React42.createElement("div", { style: { minHeight: "40px", color: "#6b7280" } }, block.props.did ? /* @__PURE__ */ React42.createElement("p", null, "Loading overview for DID: ", block.props.did) : /* @__PURE__ */ React42.createElement("p", null, "Enter a DID to load overview data"))
3111
3260
  );
3112
3261
  };
3113
3262
  var OverviewBlock = createReactBlockSpec3(
@@ -3121,7 +3270,7 @@ var OverviewBlock = createReactBlockSpec3(
3121
3270
  content: "none"
3122
3271
  },
3123
3272
  {
3124
- render: (props) => /* @__PURE__ */ React40.createElement(OverviewBlockContent, { ...props })
3273
+ render: (props) => /* @__PURE__ */ React42.createElement(OverviewBlockContent, { ...props })
3125
3274
  }
3126
3275
  );
3127
3276
 
@@ -3177,22 +3326,22 @@ var useSharedProposal = ({ proposalId, contractAddress, autoFetch = true }) => {
3177
3326
  };
3178
3327
 
3179
3328
  // src/mantine/blocks/proposal/ProposalBlockSpec.tsx
3180
- import React84 from "react";
3329
+ import React86 from "react";
3181
3330
  import { createReactBlockSpec as createReactBlockSpec4 } from "@blocknote/react";
3182
3331
 
3183
3332
  // src/mantine/blocks/proposal/ProposalBlock.tsx
3184
- import React83 from "react";
3333
+ import React85 from "react";
3185
3334
 
3186
3335
  // src/mantine/blocks/proposal/template/TemplateView.tsx
3187
- import React77, { useMemo as useMemo10 } from "react";
3336
+ import React79, { useMemo as useMemo10 } from "react";
3188
3337
 
3189
3338
  // src/mantine/blocks/proposal/template/TemplateConfig.tsx
3190
- import React76, { useCallback as useCallback12 } from "react";
3339
+ import React78, { useCallback as useCallback12 } from "react";
3191
3340
  import { Paper as Paper6, CloseButton as CloseButton4, Title as Title4 } from "@mantine/core";
3192
3341
 
3193
3342
  // src/mantine/blocks/proposal/template/GeneralTab.tsx
3194
- import React41, { useEffect as useEffect8, useState as useState8 } from "react";
3195
- import { Stack as Stack25, Text as Text25, TextInput as TextInput5, Textarea as Textarea2, Select as Select3, Loader as Loader3 } from "@mantine/core";
3343
+ import React43, { useEffect as useEffect8, useState as useState8 } from "react";
3344
+ import { Stack as Stack27, Text as Text27, TextInput as TextInput5, Textarea as Textarea2, Select as Select3, Loader as Loader3 } from "@mantine/core";
3196
3345
  var GeneralTab3 = ({ title, description, coreAddress, onTitleChange, onDescriptionChange, onGroupChange }) => {
3197
3346
  const handlers = useBlocknoteHandlers();
3198
3347
  const [localTitle, setLocalTitle] = useState8(title || "");
@@ -3223,7 +3372,7 @@ var GeneralTab3 = ({ title, description, coreAddress, onTitleChange, onDescripti
3223
3372
  };
3224
3373
  fetchGroups();
3225
3374
  }, [handlers]);
3226
- return /* @__PURE__ */ React41.createElement(Stack25, { gap: "lg" }, /* @__PURE__ */ React41.createElement(Stack25, { gap: "xs" }, /* @__PURE__ */ React41.createElement(Text25, { size: "sm", fw: 600 }, "Title"), /* @__PURE__ */ React41.createElement(
3375
+ return /* @__PURE__ */ React43.createElement(Stack27, { gap: "lg" }, /* @__PURE__ */ React43.createElement(Stack27, { gap: "xs" }, /* @__PURE__ */ React43.createElement(Text27, { size: "sm", fw: 600 }, "Title"), /* @__PURE__ */ React43.createElement(
3227
3376
  TextInput5,
3228
3377
  {
3229
3378
  placeholder: "e.g. Proposal Title",
@@ -3234,7 +3383,7 @@ var GeneralTab3 = ({ title, description, coreAddress, onTitleChange, onDescripti
3234
3383
  onTitleChange(newTitle);
3235
3384
  }
3236
3385
  }
3237
- )), /* @__PURE__ */ React41.createElement(Stack25, { gap: "xs" }, /* @__PURE__ */ React41.createElement(Text25, { size: "sm", fw: 600 }, "Description"), /* @__PURE__ */ React41.createElement(
3386
+ )), /* @__PURE__ */ React43.createElement(Stack27, { gap: "xs" }, /* @__PURE__ */ React43.createElement(Text27, { size: "sm", fw: 600 }, "Description"), /* @__PURE__ */ React43.createElement(
3238
3387
  Textarea2,
3239
3388
  {
3240
3389
  placeholder: "Describe what this proposal is about",
@@ -3246,7 +3395,7 @@ var GeneralTab3 = ({ title, description, coreAddress, onTitleChange, onDescripti
3246
3395
  onDescriptionChange(newDescription);
3247
3396
  }
3248
3397
  }
3249
- )), /* @__PURE__ */ React41.createElement(Stack25, { gap: "xs" }, /* @__PURE__ */ React41.createElement(Text25, { size: "sm", fw: 600 }, "Group"), /* @__PURE__ */ React41.createElement(
3398
+ )), /* @__PURE__ */ React43.createElement(Stack27, { gap: "xs" }, /* @__PURE__ */ React43.createElement(Text27, { size: "sm", fw: 600 }, "Group"), /* @__PURE__ */ React43.createElement(
3250
3399
  Select3,
3251
3400
  {
3252
3401
  placeholder: loadingGroups ? "Loading groups..." : "Select a DAO group",
@@ -3264,19 +3413,19 @@ var GeneralTab3 = ({ title, description, coreAddress, onTitleChange, onDescripti
3264
3413
  label: group.name
3265
3414
  })),
3266
3415
  disabled: loadingGroups,
3267
- rightSection: loadingGroups ? /* @__PURE__ */ React41.createElement(Loader3, { size: "xs" }) : void 0,
3416
+ rightSection: loadingGroups ? /* @__PURE__ */ React43.createElement(Loader3, { size: "xs" }) : void 0,
3268
3417
  searchable: true
3269
3418
  }
3270
3419
  )));
3271
3420
  };
3272
3421
 
3273
3422
  // src/mantine/blocks/proposal/template/ActionsTab.tsx
3274
- import React74, { useCallback as useCallback11, useEffect as useEffect11, useState as useState16 } from "react";
3275
- import { Card as Card13, Stack as Stack58 } from "@mantine/core";
3423
+ import React76, { useCallback as useCallback11, useEffect as useEffect11, useState as useState16 } from "react";
3424
+ import { Card as Card13, Stack as Stack60 } from "@mantine/core";
3276
3425
 
3277
3426
  // src/mantine/blocks/proposal/actions-components/ActionsCard.tsx
3278
- import React42 from "react";
3279
- import { Card as Card6, Group as Group8, Text as Text26, Badge as Badge5, Stack as Stack26, ActionIcon as ActionIcon5, ScrollArea } from "@mantine/core";
3427
+ import React44 from "react";
3428
+ import { Card as Card6, Group as Group8, Text as Text28, Badge as Badge5, Stack as Stack28, ActionIcon as ActionIcon5, ScrollArea } from "@mantine/core";
3280
3429
  var getActionSummary = (action) => {
3281
3430
  switch (action.type) {
3282
3431
  case "Spend":
@@ -3308,7 +3457,7 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3308
3457
  }
3309
3458
  onClick();
3310
3459
  };
3311
- return /* @__PURE__ */ React42.createElement(
3460
+ return /* @__PURE__ */ React44.createElement(
3312
3461
  Card6,
3313
3462
  {
3314
3463
  shadow: "sm",
@@ -3325,7 +3474,7 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3325
3474
  },
3326
3475
  onClick: handleCardClick
3327
3476
  },
3328
- /* @__PURE__ */ React42.createElement(Group8, { justify: "space-between", align: "flex-start" }, /* @__PURE__ */ React42.createElement(Stack26, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React42.createElement(Text26, { size: "md", fw: 600, style: { color: "#f1f3f5" } }, "Proposal Actions (", actions.length, ")"), actions.length === 0 ? /* @__PURE__ */ React42.createElement(Text26, { size: "sm", style: { color: "#868e96" } }, "No actions added yet.") : /* @__PURE__ */ React42.createElement(ScrollArea, { h: actions.length > 3 ? 150 : void 0, style: { marginTop: 8 } }, /* @__PURE__ */ React42.createElement(Stack26, { gap: "xs" }, actions.map((action, index) => /* @__PURE__ */ React42.createElement(
3477
+ /* @__PURE__ */ React44.createElement(Group8, { justify: "space-between", align: "flex-start" }, /* @__PURE__ */ React44.createElement(Stack28, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React44.createElement(Text28, { size: "md", fw: 600, style: { color: "#f1f3f5" } }, "Proposal Actions (", actions.length, ")"), actions.length === 0 ? /* @__PURE__ */ React44.createElement(Text28, { size: "sm", style: { color: "#868e96" } }, "No actions added yet.") : /* @__PURE__ */ React44.createElement(ScrollArea, { h: actions.length > 3 ? 150 : void 0, style: { marginTop: 8 } }, /* @__PURE__ */ React44.createElement(Stack28, { gap: "xs" }, actions.map((action, index) => /* @__PURE__ */ React44.createElement(
3329
3478
  Card6,
3330
3479
  {
3331
3480
  key: index,
@@ -3336,7 +3485,7 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3336
3485
  borderColor: "#333"
3337
3486
  }
3338
3487
  },
3339
- /* @__PURE__ */ React42.createElement(Group8, { justify: "space-between", align: "center" }, /* @__PURE__ */ React42.createElement(Group8, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React42.createElement(
3488
+ /* @__PURE__ */ React44.createElement(Group8, { justify: "space-between", align: "center" }, /* @__PURE__ */ React44.createElement(Group8, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React44.createElement(
3340
3489
  Badge5,
3341
3490
  {
3342
3491
  size: "sm",
@@ -3347,7 +3496,7 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3347
3496
  }
3348
3497
  },
3349
3498
  action.type
3350
- ), /* @__PURE__ */ React42.createElement(Text26, { size: "sm", style: { color: "#adb5bd" } }, getActionSummary(action))), !disabled && /* @__PURE__ */ React42.createElement(Group8, { gap: 4 }, /* @__PURE__ */ React42.createElement(
3499
+ ), /* @__PURE__ */ React44.createElement(Text28, { size: "sm", style: { color: "#adb5bd" } }, getActionSummary(action))), !disabled && /* @__PURE__ */ React44.createElement(Group8, { gap: 4 }, /* @__PURE__ */ React44.createElement(
3351
3500
  ActionIcon5,
3352
3501
  {
3353
3502
  size: "sm",
@@ -3360,7 +3509,7 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3360
3509
  style: { color: "#4dabf7" }
3361
3510
  },
3362
3511
  "\u270F\uFE0F"
3363
- ), /* @__PURE__ */ React42.createElement(
3512
+ ), /* @__PURE__ */ React44.createElement(
3364
3513
  ActionIcon5,
3365
3514
  {
3366
3515
  size: "sm",
@@ -3379,14 +3528,14 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3379
3528
  };
3380
3529
 
3381
3530
  // src/mantine/blocks/proposal/ActionsPanel.tsx
3382
- import React73, { useState as useState15, useEffect as useEffect10, useMemo as useMemo9 } from "react";
3383
- import { Stack as Stack57, Button as Button11, Group as Group19, Text as Text34, Card as Card12, Badge as Badge8, Divider as Divider4, ScrollArea as ScrollArea3, Alert as Alert7, Tabs as Tabs2, SimpleGrid, Paper as Paper5 } from "@mantine/core";
3531
+ import React75, { useState as useState15, useEffect as useEffect10, useMemo as useMemo9 } from "react";
3532
+ import { Stack as Stack59, Button as Button11, Group as Group19, Text as Text36, Card as Card12, Badge as Badge8, Divider as Divider4, ScrollArea as ScrollArea3, Alert as Alert7, Tabs as Tabs2, SimpleGrid, Paper as Paper5 } from "@mantine/core";
3384
3533
 
3385
3534
  // src/mantine/blocks/proposal/actions-components/SpendActionForm.tsx
3386
- import React43 from "react";
3387
- import { TextInput as TextInput6, Stack as Stack27 } from "@mantine/core";
3535
+ import React45 from "react";
3536
+ import { TextInput as TextInput6, Stack as Stack29 } from "@mantine/core";
3388
3537
  var SpendActionForm = ({ data, onChange }) => {
3389
- return /* @__PURE__ */ React43.createElement(Stack27, null, /* @__PURE__ */ React43.createElement(
3538
+ return /* @__PURE__ */ React45.createElement(Stack29, null, /* @__PURE__ */ React45.createElement(
3390
3539
  TextInput6,
3391
3540
  {
3392
3541
  label: "Recipient Address",
@@ -3406,7 +3555,7 @@ var SpendActionForm = ({ data, onChange }) => {
3406
3555
  }
3407
3556
  }
3408
3557
  }
3409
- ), /* @__PURE__ */ React43.createElement(
3558
+ ), /* @__PURE__ */ React45.createElement(
3410
3559
  TextInput6,
3411
3560
  {
3412
3561
  label: "Denomination",
@@ -3426,7 +3575,7 @@ var SpendActionForm = ({ data, onChange }) => {
3426
3575
  }
3427
3576
  }
3428
3577
  }
3429
- ), /* @__PURE__ */ React43.createElement(
3578
+ ), /* @__PURE__ */ React45.createElement(
3430
3579
  TextInput6,
3431
3580
  {
3432
3581
  label: "Amount",
@@ -3450,8 +3599,8 @@ var SpendActionForm = ({ data, onChange }) => {
3450
3599
  };
3451
3600
 
3452
3601
  // src/mantine/blocks/proposal/actions-components/UpdateMembersActionForm.tsx
3453
- import React44, { useState as useState9 } from "react";
3454
- import { Stack as Stack28, TextInput as TextInput7, NumberInput as NumberInput2, Button as Button6, Group as Group9, Text as Text27, Card as Card7, Badge as Badge6, ActionIcon as ActionIcon6, Divider as Divider3, ScrollArea as ScrollArea2 } from "@mantine/core";
3602
+ import React46, { useState as useState9 } from "react";
3603
+ import { Stack as Stack30, TextInput as TextInput7, NumberInput as NumberInput2, Button as Button6, Group as Group9, Text as Text29, Card as Card7, Badge as Badge6, ActionIcon as ActionIcon6, Divider as Divider3, ScrollArea as ScrollArea2 } from "@mantine/core";
3455
3604
  var UpdateMembersActionForm = ({ data, onChange }) => {
3456
3605
  const [newMember, setNewMember] = useState9({ addr: "", weight: 1 });
3457
3606
  const [newRemoveAddress, setNewRemoveAddress] = useState9("");
@@ -3494,7 +3643,7 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3494
3643
  }
3495
3644
  }
3496
3645
  };
3497
- return /* @__PURE__ */ React44.createElement(Stack28, null, /* @__PURE__ */ React44.createElement(Stack28, { gap: "xs" }, /* @__PURE__ */ React44.createElement(Text27, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Members to Add"), /* @__PURE__ */ React44.createElement(ScrollArea2, { h: 150 }, /* @__PURE__ */ React44.createElement(Stack28, { gap: "xs" }, (data.add || []).map((member, index) => /* @__PURE__ */ React44.createElement(
3646
+ return /* @__PURE__ */ React46.createElement(Stack30, null, /* @__PURE__ */ React46.createElement(Stack30, { gap: "xs" }, /* @__PURE__ */ React46.createElement(Text29, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Members to Add"), /* @__PURE__ */ React46.createElement(ScrollArea2, { h: 150 }, /* @__PURE__ */ React46.createElement(Stack30, { gap: "xs" }, (data.add || []).map((member, index) => /* @__PURE__ */ React46.createElement(
3498
3647
  Card7,
3499
3648
  {
3500
3649
  key: index,
@@ -3505,7 +3654,7 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3505
3654
  borderColor: "#333"
3506
3655
  }
3507
3656
  },
3508
- /* @__PURE__ */ React44.createElement(Group9, { justify: "space-between" }, /* @__PURE__ */ React44.createElement("div", null, /* @__PURE__ */ React44.createElement(Text27, { size: "sm", fw: 500, style: { color: "#f1f3f5" } }, member.addr.slice(0, 20), "..."), /* @__PURE__ */ React44.createElement(
3657
+ /* @__PURE__ */ React46.createElement(Group9, { justify: "space-between" }, /* @__PURE__ */ React46.createElement("div", null, /* @__PURE__ */ React46.createElement(Text29, { size: "sm", fw: 500, style: { color: "#f1f3f5" } }, member.addr.slice(0, 20), "..."), /* @__PURE__ */ React46.createElement(
3509
3658
  Badge6,
3510
3659
  {
3511
3660
  size: "sm",
@@ -3516,8 +3665,8 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3516
3665
  },
3517
3666
  "Weight: ",
3518
3667
  member.weight
3519
- )), /* @__PURE__ */ React44.createElement(ActionIcon6, { size: "sm", variant: "subtle", onClick: () => handleRemoveMember(index), style: { color: "#ff6b6b" } }, "\u{1F5D1}\uFE0F"))
3520
- )))), /* @__PURE__ */ React44.createElement(Group9, { grow: true }, /* @__PURE__ */ React44.createElement(TextInput7, { placeholder: "Member address", value: newMember.addr, onChange: (e) => setNewMember({ ...newMember, addr: e.currentTarget.value }), styles: inputStyles29 }), /* @__PURE__ */ React44.createElement(
3668
+ )), /* @__PURE__ */ React46.createElement(ActionIcon6, { size: "sm", variant: "subtle", onClick: () => handleRemoveMember(index), style: { color: "#ff6b6b" } }, "\u{1F5D1}\uFE0F"))
3669
+ )))), /* @__PURE__ */ React46.createElement(Group9, { grow: true }, /* @__PURE__ */ React46.createElement(TextInput7, { placeholder: "Member address", value: newMember.addr, onChange: (e) => setNewMember({ ...newMember, addr: e.currentTarget.value }), styles: inputStyles29 }), /* @__PURE__ */ React46.createElement(
3521
3670
  NumberInput2,
3522
3671
  {
3523
3672
  placeholder: "Weight",
@@ -3526,7 +3675,7 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3526
3675
  min: 1,
3527
3676
  styles: inputStyles29
3528
3677
  }
3529
- ), /* @__PURE__ */ React44.createElement(
3678
+ ), /* @__PURE__ */ React46.createElement(
3530
3679
  Button6,
3531
3680
  {
3532
3681
  size: "sm",
@@ -3539,7 +3688,7 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3539
3688
  }
3540
3689
  },
3541
3690
  "\u2795 Add"
3542
- ))), /* @__PURE__ */ React44.createElement(Divider3, { color: "#333" }), /* @__PURE__ */ React44.createElement(Stack28, { gap: "xs" }, /* @__PURE__ */ React44.createElement(Text27, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Members to Remove"), /* @__PURE__ */ React44.createElement(ScrollArea2, { h: 100 }, /* @__PURE__ */ React44.createElement(Stack28, { gap: "xs" }, (data.remove || []).map((item, index) => /* @__PURE__ */ React44.createElement(
3691
+ ))), /* @__PURE__ */ React46.createElement(Divider3, { color: "#333" }), /* @__PURE__ */ React46.createElement(Stack30, { gap: "xs" }, /* @__PURE__ */ React46.createElement(Text29, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Members to Remove"), /* @__PURE__ */ React46.createElement(ScrollArea2, { h: 100 }, /* @__PURE__ */ React46.createElement(Stack30, { gap: "xs" }, (data.remove || []).map((item, index) => /* @__PURE__ */ React46.createElement(
3543
3692
  Card7,
3544
3693
  {
3545
3694
  key: index,
@@ -3550,8 +3699,8 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3550
3699
  borderColor: "#333"
3551
3700
  }
3552
3701
  },
3553
- /* @__PURE__ */ React44.createElement(Group9, { justify: "space-between" }, /* @__PURE__ */ React44.createElement(Text27, { size: "sm", style: { color: "#adb5bd" } }, item.addr.slice(0, 30), "..."), /* @__PURE__ */ React44.createElement(ActionIcon6, { size: "sm", variant: "subtle", onClick: () => handleRemoveRemoveAddress(index), style: { color: "#ff6b6b" } }, "\u{1F5D1}\uFE0F"))
3554
- )))), /* @__PURE__ */ React44.createElement(Group9, { grow: true }, /* @__PURE__ */ React44.createElement(TextInput7, { placeholder: "Address to remove", value: newRemoveAddress, onChange: (e) => setNewRemoveAddress(e.currentTarget.value), styles: inputStyles29 }), /* @__PURE__ */ React44.createElement(
3702
+ /* @__PURE__ */ React46.createElement(Group9, { justify: "space-between" }, /* @__PURE__ */ React46.createElement(Text29, { size: "sm", style: { color: "#adb5bd" } }, item.addr.slice(0, 30), "..."), /* @__PURE__ */ React46.createElement(ActionIcon6, { size: "sm", variant: "subtle", onClick: () => handleRemoveRemoveAddress(index), style: { color: "#ff6b6b" } }, "\u{1F5D1}\uFE0F"))
3703
+ )))), /* @__PURE__ */ React46.createElement(Group9, { grow: true }, /* @__PURE__ */ React46.createElement(TextInput7, { placeholder: "Address to remove", value: newRemoveAddress, onChange: (e) => setNewRemoveAddress(e.currentTarget.value), styles: inputStyles29 }), /* @__PURE__ */ React46.createElement(
3555
3704
  Button6,
3556
3705
  {
3557
3706
  size: "sm",
@@ -3568,8 +3717,8 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3568
3717
  };
3569
3718
 
3570
3719
  // src/mantine/blocks/proposal/actions-components/StakeActionForm.tsx
3571
- import React45 from "react";
3572
- import { Stack as Stack29, TextInput as TextInput8, Select as Select4, NumberInput as NumberInput3 } from "@mantine/core";
3720
+ import React47 from "react";
3721
+ import { Stack as Stack31, TextInput as TextInput8, Select as Select4, NumberInput as NumberInput3 } from "@mantine/core";
3573
3722
  var stakeTypeOptions = [
3574
3723
  { value: StakeType.Delegate, label: "Delegate" },
3575
3724
  { value: StakeType.Undelegate, label: "Undelegate" },
@@ -3614,7 +3763,7 @@ var selectStyles = {
3614
3763
  var StakeActionForm = ({ data, onChange }) => {
3615
3764
  const isRedelegate = data.stakeType === StakeType.Redelegate;
3616
3765
  const needsAmount = data.stakeType !== StakeType.WithdrawDelegatorReward;
3617
- return /* @__PURE__ */ React45.createElement(Stack29, { gap: "md" }, /* @__PURE__ */ React45.createElement(
3766
+ return /* @__PURE__ */ React47.createElement(Stack31, { gap: "md" }, /* @__PURE__ */ React47.createElement(
3618
3767
  Select4,
3619
3768
  {
3620
3769
  label: "Stake Type",
@@ -3624,7 +3773,7 @@ var StakeActionForm = ({ data, onChange }) => {
3624
3773
  required: true,
3625
3774
  styles: selectStyles
3626
3775
  }
3627
- ), /* @__PURE__ */ React45.createElement(
3776
+ ), /* @__PURE__ */ React47.createElement(
3628
3777
  TextInput8,
3629
3778
  {
3630
3779
  label: "Validator Address",
@@ -3634,7 +3783,7 @@ var StakeActionForm = ({ data, onChange }) => {
3634
3783
  required: true,
3635
3784
  styles: inputStyles
3636
3785
  }
3637
- ), isRedelegate && /* @__PURE__ */ React45.createElement(
3786
+ ), isRedelegate && /* @__PURE__ */ React47.createElement(
3638
3787
  TextInput8,
3639
3788
  {
3640
3789
  label: "Destination Validator Address",
@@ -3644,7 +3793,7 @@ var StakeActionForm = ({ data, onChange }) => {
3644
3793
  required: true,
3645
3794
  styles: inputStyles
3646
3795
  }
3647
- ), needsAmount && /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(
3796
+ ), needsAmount && /* @__PURE__ */ React47.createElement(React47.Fragment, null, /* @__PURE__ */ React47.createElement(
3648
3797
  NumberInput3,
3649
3798
  {
3650
3799
  label: "Amount",
@@ -3656,7 +3805,7 @@ var StakeActionForm = ({ data, onChange }) => {
3656
3805
  required: true,
3657
3806
  styles: inputStyles
3658
3807
  }
3659
- ), /* @__PURE__ */ React45.createElement(
3808
+ ), /* @__PURE__ */ React47.createElement(
3660
3809
  Select4,
3661
3810
  {
3662
3811
  label: "Denomination",
@@ -3673,8 +3822,8 @@ var StakeActionForm = ({ data, onChange }) => {
3673
3822
  };
3674
3823
 
3675
3824
  // src/mantine/blocks/proposal/actions-components/JoinActionForm.tsx
3676
- import React46 from "react";
3677
- import { Stack as Stack30, TextInput as TextInput9 } from "@mantine/core";
3825
+ import React48 from "react";
3826
+ import { Stack as Stack32, TextInput as TextInput9 } from "@mantine/core";
3678
3827
  var inputStyles2 = {
3679
3828
  label: { color: "#adb5bd" },
3680
3829
  input: {
@@ -3687,7 +3836,7 @@ var inputStyles2 = {
3687
3836
  }
3688
3837
  };
3689
3838
  var JoinActionForm = ({ data, onChange }) => {
3690
- return /* @__PURE__ */ React46.createElement(Stack30, { gap: "md" }, /* @__PURE__ */ React46.createElement(TextInput9, { label: "ID", placeholder: "did:ixo:entity:abc123...", value: data.id, onChange: (e) => onChange({ ...data, id: e.target.value }), required: true, styles: inputStyles2 }), /* @__PURE__ */ React46.createElement(
3839
+ return /* @__PURE__ */ React48.createElement(Stack32, { gap: "md" }, /* @__PURE__ */ React48.createElement(TextInput9, { label: "ID", placeholder: "did:ixo:entity:abc123...", value: data.id, onChange: (e) => onChange({ ...data, id: e.target.value }), required: true, styles: inputStyles2 }), /* @__PURE__ */ React48.createElement(
3691
3840
  TextInput9,
3692
3841
  {
3693
3842
  label: "Core Address",
@@ -3697,12 +3846,12 @@ var JoinActionForm = ({ data, onChange }) => {
3697
3846
  required: true,
3698
3847
  styles: inputStyles2
3699
3848
  }
3700
- ), /* @__PURE__ */ React46.createElement(TextInput9, { label: "Address", placeholder: "ixo1...", value: data.address, onChange: (e) => onChange({ ...data, address: e.target.value }), required: true, styles: inputStyles2 }));
3849
+ ), /* @__PURE__ */ React48.createElement(TextInput9, { label: "Address", placeholder: "ixo1...", value: data.address, onChange: (e) => onChange({ ...data, address: e.target.value }), required: true, styles: inputStyles2 }));
3701
3850
  };
3702
3851
 
3703
3852
  // src/mantine/blocks/proposal/actions-components/forms/MintActionForm.tsx
3704
- import React47 from "react";
3705
- import { Stack as Stack31, TextInput as TextInput10, NumberInput as NumberInput4 } from "@mantine/core";
3853
+ import React49 from "react";
3854
+ import { Stack as Stack33, TextInput as TextInput10, NumberInput as NumberInput4 } from "@mantine/core";
3706
3855
  var inputStyles3 = {
3707
3856
  label: { color: "#adb5bd" },
3708
3857
  input: {
@@ -3715,7 +3864,7 @@ var inputStyles3 = {
3715
3864
  }
3716
3865
  };
3717
3866
  var MintActionForm = ({ data, onChange }) => {
3718
- return /* @__PURE__ */ React47.createElement(Stack31, { gap: "md" }, /* @__PURE__ */ React47.createElement(TextInput10, { label: "Recipient Address", placeholder: "ixo1...", value: data.to, onChange: (e) => onChange({ ...data, to: e.currentTarget.value }), required: true, styles: inputStyles3 }), /* @__PURE__ */ React47.createElement(
3867
+ return /* @__PURE__ */ React49.createElement(Stack33, { gap: "md" }, /* @__PURE__ */ React49.createElement(TextInput10, { label: "Recipient Address", placeholder: "ixo1...", value: data.to, onChange: (e) => onChange({ ...data, to: e.currentTarget.value }), required: true, styles: inputStyles3 }), /* @__PURE__ */ React49.createElement(
3719
3868
  NumberInput4,
3720
3869
  {
3721
3870
  label: "Amount",
@@ -3731,8 +3880,8 @@ var MintActionForm = ({ data, onChange }) => {
3731
3880
  };
3732
3881
 
3733
3882
  // src/mantine/blocks/proposal/actions-components/forms/ExecuteActionForm.tsx
3734
- import React48, { useState as useState10 } from "react";
3735
- import { Stack as Stack32, TextInput as TextInput11, Textarea as Textarea3, Button as Button7, Group as Group10, Text as Text28, Card as Card8 } from "@mantine/core";
3883
+ import React50, { useState as useState10 } from "react";
3884
+ import { Stack as Stack34, TextInput as TextInput11, Textarea as Textarea3, Button as Button7, Group as Group10, Text as Text30, Card as Card8 } from "@mantine/core";
3736
3885
  var inputStyles4 = {
3737
3886
  label: { color: "#adb5bd" },
3738
3887
  input: {
@@ -3769,7 +3918,7 @@ var ExecuteActionForm = ({ data, onChange }) => {
3769
3918
  return data.message;
3770
3919
  }
3771
3920
  };
3772
- return /* @__PURE__ */ React48.createElement(Stack32, { gap: "md" }, /* @__PURE__ */ React48.createElement(
3921
+ return /* @__PURE__ */ React50.createElement(Stack34, { gap: "md" }, /* @__PURE__ */ React50.createElement(
3773
3922
  TextInput11,
3774
3923
  {
3775
3924
  label: "Contract Address",
@@ -3779,7 +3928,7 @@ var ExecuteActionForm = ({ data, onChange }) => {
3779
3928
  required: true,
3780
3929
  styles: inputStyles4
3781
3930
  }
3782
- ), /* @__PURE__ */ React48.createElement(
3931
+ ), /* @__PURE__ */ React50.createElement(
3783
3932
  Textarea3,
3784
3933
  {
3785
3934
  label: "Message (JSON)",
@@ -3790,7 +3939,7 @@ var ExecuteActionForm = ({ data, onChange }) => {
3790
3939
  required: true,
3791
3940
  styles: inputStyles4
3792
3941
  }
3793
- ), /* @__PURE__ */ React48.createElement(Stack32, { gap: "xs" }, /* @__PURE__ */ React48.createElement(Text28, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Funds (Optional)"), (data.funds || []).map((fund, index) => /* @__PURE__ */ React48.createElement(Card8, { key: index, withBorder: true, padding: "xs", style: { backgroundColor: "#2a2a2a", borderColor: "#333" } }, /* @__PURE__ */ React48.createElement(Group10, { justify: "space-between" }, /* @__PURE__ */ React48.createElement(Text28, { size: "sm", style: { color: "#f1f3f5" } }, fund.amount, " ", fund.denom), /* @__PURE__ */ React48.createElement(Button7, { size: "xs", variant: "subtle", onClick: () => handleRemoveFund(index), style: { color: "#ff6b6b" } }, "Remove")))), /* @__PURE__ */ React48.createElement(Group10, { grow: true }, /* @__PURE__ */ React48.createElement(TextInput11, { placeholder: "Amount", value: newFund.amount, onChange: (e) => setNewFund({ ...newFund, amount: e.currentTarget.value }), styles: inputStyles4 }), /* @__PURE__ */ React48.createElement(TextInput11, { placeholder: "Denom (e.g., uixo)", value: newFund.denom, onChange: (e) => setNewFund({ ...newFund, denom: e.currentTarget.value }), styles: inputStyles4 }), /* @__PURE__ */ React48.createElement(
3942
+ ), /* @__PURE__ */ React50.createElement(Stack34, { gap: "xs" }, /* @__PURE__ */ React50.createElement(Text30, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Funds (Optional)"), (data.funds || []).map((fund, index) => /* @__PURE__ */ React50.createElement(Card8, { key: index, withBorder: true, padding: "xs", style: { backgroundColor: "#2a2a2a", borderColor: "#333" } }, /* @__PURE__ */ React50.createElement(Group10, { justify: "space-between" }, /* @__PURE__ */ React50.createElement(Text30, { size: "sm", style: { color: "#f1f3f5" } }, fund.amount, " ", fund.denom), /* @__PURE__ */ React50.createElement(Button7, { size: "xs", variant: "subtle", onClick: () => handleRemoveFund(index), style: { color: "#ff6b6b" } }, "Remove")))), /* @__PURE__ */ React50.createElement(Group10, { grow: true }, /* @__PURE__ */ React50.createElement(TextInput11, { placeholder: "Amount", value: newFund.amount, onChange: (e) => setNewFund({ ...newFund, amount: e.currentTarget.value }), styles: inputStyles4 }), /* @__PURE__ */ React50.createElement(TextInput11, { placeholder: "Denom (e.g., uixo)", value: newFund.denom, onChange: (e) => setNewFund({ ...newFund, denom: e.currentTarget.value }), styles: inputStyles4 }), /* @__PURE__ */ React50.createElement(
3794
3943
  Button7,
3795
3944
  {
3796
3945
  size: "sm",
@@ -3805,8 +3954,8 @@ var ExecuteActionForm = ({ data, onChange }) => {
3805
3954
  };
3806
3955
 
3807
3956
  // src/mantine/blocks/proposal/actions-components/forms/CustomActionForm.tsx
3808
- import React49, { useState as useState11, useEffect as useEffect9 } from "react";
3809
- import { Stack as Stack33, Textarea as Textarea4, Alert as Alert5, Text as Text29, Badge as Badge7 } from "@mantine/core";
3957
+ import React51, { useState as useState11, useEffect as useEffect9 } from "react";
3958
+ import { Stack as Stack35, Textarea as Textarea4, Alert as Alert5, Text as Text31, Badge as Badge7 } from "@mantine/core";
3810
3959
  import { Group as Group11 } from "@mantine/core";
3811
3960
  var inputStyles5 = {
3812
3961
  label: { color: "#adb5bd" },
@@ -3843,7 +3992,7 @@ var CustomActionForm = ({ data, onChange }) => {
3843
3992
  return data.message;
3844
3993
  }
3845
3994
  };
3846
- return /* @__PURE__ */ React49.createElement(Stack33, { gap: "md" }, /* @__PURE__ */ React49.createElement(Alert5, { color: "yellow", style: { backgroundColor: "#2a2a2a", borderColor: "#ffd43b" } }, /* @__PURE__ */ React49.createElement(Text29, { size: "sm", style: { color: "#ffd43b" } }, "\u26A0\uFE0F Custom actions require valid JSON messages. Supports both Wasm and Stargate message formats.")), /* @__PURE__ */ React49.createElement("div", null, /* @__PURE__ */ React49.createElement(Group11, { gap: "xs", mb: "xs" }, /* @__PURE__ */ React49.createElement(Text29, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Custom Message (JSON)"), /* @__PURE__ */ React49.createElement(
3995
+ return /* @__PURE__ */ React51.createElement(Stack35, { gap: "md" }, /* @__PURE__ */ React51.createElement(Alert5, { color: "yellow", style: { backgroundColor: "#2a2a2a", borderColor: "#ffd43b" } }, /* @__PURE__ */ React51.createElement(Text31, { size: "sm", style: { color: "#ffd43b" } }, "\u26A0\uFE0F Custom actions require valid JSON messages. Supports both Wasm and Stargate message formats.")), /* @__PURE__ */ React51.createElement("div", null, /* @__PURE__ */ React51.createElement(Group11, { gap: "xs", mb: "xs" }, /* @__PURE__ */ React51.createElement(Text31, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Custom Message (JSON)"), /* @__PURE__ */ React51.createElement(
3847
3996
  Badge7,
3848
3997
  {
3849
3998
  size: "sm",
@@ -3853,7 +4002,7 @@ var CustomActionForm = ({ data, onChange }) => {
3853
4002
  }
3854
4003
  },
3855
4004
  isValid ? "Valid JSON" : "Invalid JSON"
3856
- )), /* @__PURE__ */ React49.createElement(
4005
+ )), /* @__PURE__ */ React51.createElement(
3857
4006
  Textarea4,
3858
4007
  {
3859
4008
  placeholder: `Example Wasm message:
@@ -3886,8 +4035,8 @@ Example Stargate message:
3886
4035
  };
3887
4036
 
3888
4037
  // src/mantine/blocks/proposal/actions-components/forms/AuthzExecActionForm.tsx
3889
- import React50 from "react";
3890
- import { Stack as Stack34, Select as Select5, TextInput as TextInput12, Textarea as Textarea5 } from "@mantine/core";
4038
+ import React52 from "react";
4039
+ import { Stack as Stack36, Select as Select5, TextInput as TextInput12, Textarea as Textarea5 } from "@mantine/core";
3891
4040
  var inputStyles6 = {
3892
4041
  label: { color: "#adb5bd" },
3893
4042
  input: {
@@ -3922,7 +4071,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3922
4071
  onChange({ ...data, [field]: value });
3923
4072
  }
3924
4073
  };
3925
- return /* @__PURE__ */ React50.createElement(Stack34, { gap: "md" }, /* @__PURE__ */ React50.createElement(
4074
+ return /* @__PURE__ */ React52.createElement(Stack36, { gap: "md" }, /* @__PURE__ */ React52.createElement(
3926
4075
  Select5,
3927
4076
  {
3928
4077
  label: "Action Type",
@@ -3933,7 +4082,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3933
4082
  required: true,
3934
4083
  styles: inputStyles6
3935
4084
  }
3936
- ), data.authzExecActionType === AuthzExecActionTypes.Delegate && /* @__PURE__ */ React50.createElement(
4085
+ ), data.authzExecActionType === AuthzExecActionTypes.Delegate && /* @__PURE__ */ React52.createElement(
3937
4086
  Textarea5,
3938
4087
  {
3939
4088
  label: "Delegate Message (JSON)",
@@ -3943,7 +4092,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3943
4092
  minRows: 4,
3944
4093
  styles: inputStyles6
3945
4094
  }
3946
- ), data.authzExecActionType === AuthzExecActionTypes.Undelegate && /* @__PURE__ */ React50.createElement(
4095
+ ), data.authzExecActionType === AuthzExecActionTypes.Undelegate && /* @__PURE__ */ React52.createElement(
3947
4096
  Textarea5,
3948
4097
  {
3949
4098
  label: "Undelegate Message (JSON)",
@@ -3953,7 +4102,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3953
4102
  minRows: 4,
3954
4103
  styles: inputStyles6
3955
4104
  }
3956
- ), data.authzExecActionType === AuthzExecActionTypes.Redelegate && /* @__PURE__ */ React50.createElement(
4105
+ ), data.authzExecActionType === AuthzExecActionTypes.Redelegate && /* @__PURE__ */ React52.createElement(
3957
4106
  Textarea5,
3958
4107
  {
3959
4108
  label: "Redelegate Message (JSON)",
@@ -3963,7 +4112,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3963
4112
  minRows: 4,
3964
4113
  styles: inputStyles6
3965
4114
  }
3966
- ), data.authzExecActionType === AuthzExecActionTypes.ClaimRewards && /* @__PURE__ */ React50.createElement(
4115
+ ), data.authzExecActionType === AuthzExecActionTypes.ClaimRewards && /* @__PURE__ */ React52.createElement(
3967
4116
  Textarea5,
3968
4117
  {
3969
4118
  label: "Claim Rewards Message (JSON)",
@@ -3973,7 +4122,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3973
4122
  minRows: 3,
3974
4123
  styles: inputStyles6
3975
4124
  }
3976
- ), data.authzExecActionType === AuthzExecActionTypes.Custom && /* @__PURE__ */ React50.createElement(
4125
+ ), data.authzExecActionType === AuthzExecActionTypes.Custom && /* @__PURE__ */ React52.createElement(
3977
4126
  TextInput12,
3978
4127
  {
3979
4128
  label: "Custom Message",
@@ -3986,8 +4135,8 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3986
4135
  };
3987
4136
 
3988
4137
  // src/mantine/blocks/proposal/actions-components/forms/AuthzGrantActionForm.tsx
3989
- import React51 from "react";
3990
- import { Stack as Stack35, TextInput as TextInput13 } from "@mantine/core";
4138
+ import React53 from "react";
4139
+ import { Stack as Stack37, TextInput as TextInput13 } from "@mantine/core";
3991
4140
  var inputStyles7 = {
3992
4141
  label: { color: "#adb5bd" },
3993
4142
  input: {
@@ -4000,7 +4149,7 @@ var inputStyles7 = {
4000
4149
  }
4001
4150
  };
4002
4151
  var AuthzGrantActionForm = ({ data, onChange }) => {
4003
- return /* @__PURE__ */ React51.createElement(Stack35, { gap: "md" }, /* @__PURE__ */ React51.createElement(
4152
+ return /* @__PURE__ */ React53.createElement(Stack37, { gap: "md" }, /* @__PURE__ */ React53.createElement(
4004
4153
  TextInput13,
4005
4154
  {
4006
4155
  label: "Type URL",
@@ -4010,7 +4159,7 @@ var AuthzGrantActionForm = ({ data, onChange }) => {
4010
4159
  required: true,
4011
4160
  styles: inputStyles7
4012
4161
  }
4013
- ), /* @__PURE__ */ React51.createElement(
4162
+ ), /* @__PURE__ */ React53.createElement(
4014
4163
  TextInput13,
4015
4164
  {
4016
4165
  label: "Grantee Address",
@@ -4023,7 +4172,7 @@ var AuthzGrantActionForm = ({ data, onChange }) => {
4023
4172
  required: true,
4024
4173
  styles: inputStyles7
4025
4174
  }
4026
- ), /* @__PURE__ */ React51.createElement(
4175
+ ), /* @__PURE__ */ React53.createElement(
4027
4176
  TextInput13,
4028
4177
  {
4029
4178
  label: "Message Type URL",
@@ -4040,8 +4189,8 @@ var AuthzGrantActionForm = ({ data, onChange }) => {
4040
4189
  };
4041
4190
 
4042
4191
  // src/mantine/blocks/proposal/actions-components/forms/BurnNftActionForm.tsx
4043
- import React52 from "react";
4044
- import { Stack as Stack36, TextInput as TextInput14 } from "@mantine/core";
4192
+ import React54 from "react";
4193
+ import { Stack as Stack38, TextInput as TextInput14 } from "@mantine/core";
4045
4194
  var inputStyles8 = {
4046
4195
  label: { color: "#adb5bd" },
4047
4196
  input: {
@@ -4054,7 +4203,7 @@ var inputStyles8 = {
4054
4203
  }
4055
4204
  };
4056
4205
  var BurnNftActionForm = ({ data, onChange }) => {
4057
- return /* @__PURE__ */ React52.createElement(Stack36, { gap: "md" }, /* @__PURE__ */ React52.createElement(
4206
+ return /* @__PURE__ */ React54.createElement(Stack38, { gap: "md" }, /* @__PURE__ */ React54.createElement(
4058
4207
  TextInput14,
4059
4208
  {
4060
4209
  label: "Collection Address",
@@ -4064,12 +4213,12 @@ var BurnNftActionForm = ({ data, onChange }) => {
4064
4213
  required: true,
4065
4214
  styles: inputStyles8
4066
4215
  }
4067
- ), /* @__PURE__ */ React52.createElement(TextInput14, { label: "Token ID", placeholder: "1", value: data.tokenId, onChange: (e) => onChange({ ...data, tokenId: e.currentTarget.value }), required: true, styles: inputStyles8 }));
4216
+ ), /* @__PURE__ */ React54.createElement(TextInput14, { label: "Token ID", placeholder: "1", value: data.tokenId, onChange: (e) => onChange({ ...data, tokenId: e.currentTarget.value }), required: true, styles: inputStyles8 }));
4068
4217
  };
4069
4218
 
4070
4219
  // src/mantine/blocks/proposal/actions-components/forms/TransferNftActionForm.tsx
4071
- import React53 from "react";
4072
- import { Stack as Stack37, TextInput as TextInput15, Checkbox as Checkbox4, Textarea as Textarea6 } from "@mantine/core";
4220
+ import React55 from "react";
4221
+ import { Stack as Stack39, TextInput as TextInput15, Checkbox as Checkbox4, Textarea as Textarea6 } from "@mantine/core";
4073
4222
  var inputStyles9 = {
4074
4223
  label: { color: "#adb5bd" },
4075
4224
  input: {
@@ -4082,7 +4231,7 @@ var inputStyles9 = {
4082
4231
  }
4083
4232
  };
4084
4233
  var TransferNftActionForm = ({ data, onChange }) => {
4085
- return /* @__PURE__ */ React53.createElement(Stack37, { gap: "md" }, /* @__PURE__ */ React53.createElement(
4234
+ return /* @__PURE__ */ React55.createElement(Stack39, { gap: "md" }, /* @__PURE__ */ React55.createElement(
4086
4235
  TextInput15,
4087
4236
  {
4088
4237
  label: "Collection Address",
@@ -4092,7 +4241,7 @@ var TransferNftActionForm = ({ data, onChange }) => {
4092
4241
  required: true,
4093
4242
  styles: inputStyles9
4094
4243
  }
4095
- ), /* @__PURE__ */ React53.createElement(TextInput15, { label: "Token ID", placeholder: "1", value: data.tokenId, onChange: (e) => onChange({ ...data, tokenId: e.currentTarget.value }), required: true, styles: inputStyles9 }), /* @__PURE__ */ React53.createElement(
4244
+ ), /* @__PURE__ */ React55.createElement(TextInput15, { label: "Token ID", placeholder: "1", value: data.tokenId, onChange: (e) => onChange({ ...data, tokenId: e.currentTarget.value }), required: true, styles: inputStyles9 }), /* @__PURE__ */ React55.createElement(
4096
4245
  TextInput15,
4097
4246
  {
4098
4247
  label: "Recipient Address",
@@ -4102,7 +4251,7 @@ var TransferNftActionForm = ({ data, onChange }) => {
4102
4251
  required: true,
4103
4252
  styles: inputStyles9
4104
4253
  }
4105
- ), /* @__PURE__ */ React53.createElement(
4254
+ ), /* @__PURE__ */ React55.createElement(
4106
4255
  Checkbox4,
4107
4256
  {
4108
4257
  label: "Execute Smart Contract",
@@ -4113,7 +4262,7 @@ var TransferNftActionForm = ({ data, onChange }) => {
4113
4262
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4114
4263
  }
4115
4264
  }
4116
- ), data.executeSmartContract && /* @__PURE__ */ React53.createElement(
4265
+ ), data.executeSmartContract && /* @__PURE__ */ React55.createElement(
4117
4266
  Textarea6,
4118
4267
  {
4119
4268
  label: "Smart Contract Message (JSON)",
@@ -4127,8 +4276,8 @@ var TransferNftActionForm = ({ data, onChange }) => {
4127
4276
  };
4128
4277
 
4129
4278
  // src/mantine/blocks/proposal/actions-components/forms/ManageCw721ActionForm.tsx
4130
- import React54 from "react";
4131
- import { Stack as Stack38, TextInput as TextInput16, Radio, Group as Group12 } from "@mantine/core";
4279
+ import React56 from "react";
4280
+ import { Stack as Stack40, TextInput as TextInput16, Radio, Group as Group12 } from "@mantine/core";
4132
4281
  var inputStyles10 = {
4133
4282
  label: { color: "#adb5bd" },
4134
4283
  input: {
@@ -4141,7 +4290,7 @@ var inputStyles10 = {
4141
4290
  }
4142
4291
  };
4143
4292
  var ManageCw721ActionForm = ({ data, onChange }) => {
4144
- return /* @__PURE__ */ React54.createElement(Stack38, { gap: "md" }, /* @__PURE__ */ React54.createElement(Radio.Group, { label: "Action", value: data.adding ? "add" : "remove", onChange: (value) => onChange({ ...data, adding: value === "add" }) }, /* @__PURE__ */ React54.createElement(Group12, { mt: "xs" }, /* @__PURE__ */ React54.createElement(
4293
+ return /* @__PURE__ */ React56.createElement(Stack40, { gap: "md" }, /* @__PURE__ */ React56.createElement(Radio.Group, { label: "Action", value: data.adding ? "add" : "remove", onChange: (value) => onChange({ ...data, adding: value === "add" }) }, /* @__PURE__ */ React56.createElement(Group12, { mt: "xs" }, /* @__PURE__ */ React56.createElement(
4145
4294
  Radio,
4146
4295
  {
4147
4296
  value: "add",
@@ -4151,7 +4300,7 @@ var ManageCw721ActionForm = ({ data, onChange }) => {
4151
4300
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4152
4301
  }
4153
4302
  }
4154
- ), /* @__PURE__ */ React54.createElement(
4303
+ ), /* @__PURE__ */ React56.createElement(
4155
4304
  Radio,
4156
4305
  {
4157
4306
  value: "remove",
@@ -4161,7 +4310,7 @@ var ManageCw721ActionForm = ({ data, onChange }) => {
4161
4310
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4162
4311
  }
4163
4312
  }
4164
- ))), /* @__PURE__ */ React54.createElement(
4313
+ ))), /* @__PURE__ */ React56.createElement(
4165
4314
  TextInput16,
4166
4315
  {
4167
4316
  label: "NFT Contract Address",
@@ -4175,8 +4324,8 @@ var ManageCw721ActionForm = ({ data, onChange }) => {
4175
4324
  };
4176
4325
 
4177
4326
  // src/mantine/blocks/proposal/actions-components/forms/InstantiateActionForm.tsx
4178
- import React55, { useState as useState12 } from "react";
4179
- import { Stack as Stack39, TextInput as TextInput17, Textarea as Textarea7, NumberInput as NumberInput5, Button as Button8, Group as Group13, Text as Text30, Card as Card9 } from "@mantine/core";
4327
+ import React57, { useState as useState12 } from "react";
4328
+ import { Stack as Stack41, TextInput as TextInput17, Textarea as Textarea7, NumberInput as NumberInput5, Button as Button8, Group as Group13, Text as Text32, Card as Card9 } from "@mantine/core";
4180
4329
  var inputStyles11 = {
4181
4330
  label: { color: "#adb5bd" },
4182
4331
  input: {
@@ -4213,7 +4362,7 @@ var InstantiateActionForm = ({ data, onChange }) => {
4213
4362
  return data.message;
4214
4363
  }
4215
4364
  };
4216
- return /* @__PURE__ */ React55.createElement(Stack39, { gap: "md" }, /* @__PURE__ */ React55.createElement(
4365
+ return /* @__PURE__ */ React57.createElement(Stack41, { gap: "md" }, /* @__PURE__ */ React57.createElement(
4217
4366
  TextInput17,
4218
4367
  {
4219
4368
  label: "Admin Address",
@@ -4223,7 +4372,7 @@ var InstantiateActionForm = ({ data, onChange }) => {
4223
4372
  required: true,
4224
4373
  styles: inputStyles11
4225
4374
  }
4226
- ), /* @__PURE__ */ React55.createElement(
4375
+ ), /* @__PURE__ */ React57.createElement(
4227
4376
  NumberInput5,
4228
4377
  {
4229
4378
  label: "Code ID",
@@ -4234,7 +4383,7 @@ var InstantiateActionForm = ({ data, onChange }) => {
4234
4383
  required: true,
4235
4384
  styles: inputStyles11
4236
4385
  }
4237
- ), /* @__PURE__ */ React55.createElement(TextInput17, { label: "Label", placeholder: "My Contract", value: data.label, onChange: (e) => onChange({ ...data, label: e.currentTarget.value }), required: true, styles: inputStyles11 }), /* @__PURE__ */ React55.createElement(
4386
+ ), /* @__PURE__ */ React57.createElement(TextInput17, { label: "Label", placeholder: "My Contract", value: data.label, onChange: (e) => onChange({ ...data, label: e.currentTarget.value }), required: true, styles: inputStyles11 }), /* @__PURE__ */ React57.createElement(
4238
4387
  Textarea7,
4239
4388
  {
4240
4389
  label: "Instantiate Message (JSON)",
@@ -4245,7 +4394,7 @@ var InstantiateActionForm = ({ data, onChange }) => {
4245
4394
  required: true,
4246
4395
  styles: inputStyles11
4247
4396
  }
4248
- ), /* @__PURE__ */ React55.createElement(Stack39, { gap: "xs" }, /* @__PURE__ */ React55.createElement(Text30, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Funds (Optional)"), (data.funds || []).map((fund, index) => /* @__PURE__ */ React55.createElement(Card9, { key: index, withBorder: true, padding: "xs", style: { backgroundColor: "#2a2a2a", borderColor: "#333" } }, /* @__PURE__ */ React55.createElement(Group13, { justify: "space-between" }, /* @__PURE__ */ React55.createElement(Text30, { size: "sm", style: { color: "#f1f3f5" } }, fund.amount, " ", fund.denom), /* @__PURE__ */ React55.createElement(Button8, { size: "xs", variant: "subtle", onClick: () => handleRemoveFund(index), style: { color: "#ff6b6b" } }, "Remove")))), /* @__PURE__ */ React55.createElement(Group13, { grow: true }, /* @__PURE__ */ React55.createElement(TextInput17, { placeholder: "Amount", value: newFund.amount, onChange: (e) => setNewFund({ ...newFund, amount: e.currentTarget.value }), styles: inputStyles11 }), /* @__PURE__ */ React55.createElement(TextInput17, { placeholder: "Denom (e.g., uixo)", value: newFund.denom, onChange: (e) => setNewFund({ ...newFund, denom: e.currentTarget.value }), styles: inputStyles11 }), /* @__PURE__ */ React55.createElement(
4397
+ ), /* @__PURE__ */ React57.createElement(Stack41, { gap: "xs" }, /* @__PURE__ */ React57.createElement(Text32, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Funds (Optional)"), (data.funds || []).map((fund, index) => /* @__PURE__ */ React57.createElement(Card9, { key: index, withBorder: true, padding: "xs", style: { backgroundColor: "#2a2a2a", borderColor: "#333" } }, /* @__PURE__ */ React57.createElement(Group13, { justify: "space-between" }, /* @__PURE__ */ React57.createElement(Text32, { size: "sm", style: { color: "#f1f3f5" } }, fund.amount, " ", fund.denom), /* @__PURE__ */ React57.createElement(Button8, { size: "xs", variant: "subtle", onClick: () => handleRemoveFund(index), style: { color: "#ff6b6b" } }, "Remove")))), /* @__PURE__ */ React57.createElement(Group13, { grow: true }, /* @__PURE__ */ React57.createElement(TextInput17, { placeholder: "Amount", value: newFund.amount, onChange: (e) => setNewFund({ ...newFund, amount: e.currentTarget.value }), styles: inputStyles11 }), /* @__PURE__ */ React57.createElement(TextInput17, { placeholder: "Denom (e.g., uixo)", value: newFund.denom, onChange: (e) => setNewFund({ ...newFund, denom: e.currentTarget.value }), styles: inputStyles11 }), /* @__PURE__ */ React57.createElement(
4249
4398
  Button8,
4250
4399
  {
4251
4400
  size: "sm",
@@ -4260,8 +4409,8 @@ var InstantiateActionForm = ({ data, onChange }) => {
4260
4409
  };
4261
4410
 
4262
4411
  // src/mantine/blocks/proposal/actions-components/forms/MigrateActionForm.tsx
4263
- import React56 from "react";
4264
- import { Stack as Stack40, TextInput as TextInput18, Textarea as Textarea8, NumberInput as NumberInput6 } from "@mantine/core";
4412
+ import React58 from "react";
4413
+ import { Stack as Stack42, TextInput as TextInput18, Textarea as Textarea8, NumberInput as NumberInput6 } from "@mantine/core";
4265
4414
  var inputStyles12 = {
4266
4415
  label: { color: "#adb5bd" },
4267
4416
  input: {
@@ -4282,7 +4431,7 @@ var MigrateActionForm = ({ data, onChange }) => {
4282
4431
  return data.msg;
4283
4432
  }
4284
4433
  };
4285
- return /* @__PURE__ */ React56.createElement(Stack40, { gap: "md" }, /* @__PURE__ */ React56.createElement(
4434
+ return /* @__PURE__ */ React58.createElement(Stack42, { gap: "md" }, /* @__PURE__ */ React58.createElement(
4286
4435
  TextInput18,
4287
4436
  {
4288
4437
  label: "Contract Address",
@@ -4292,7 +4441,7 @@ var MigrateActionForm = ({ data, onChange }) => {
4292
4441
  required: true,
4293
4442
  styles: inputStyles12
4294
4443
  }
4295
- ), /* @__PURE__ */ React56.createElement(
4444
+ ), /* @__PURE__ */ React58.createElement(
4296
4445
  NumberInput6,
4297
4446
  {
4298
4447
  label: "New Code ID",
@@ -4303,7 +4452,7 @@ var MigrateActionForm = ({ data, onChange }) => {
4303
4452
  required: true,
4304
4453
  styles: inputStyles12
4305
4454
  }
4306
- ), /* @__PURE__ */ React56.createElement(
4455
+ ), /* @__PURE__ */ React58.createElement(
4307
4456
  Textarea8,
4308
4457
  {
4309
4458
  label: "Migration Message (JSON)",
@@ -4318,8 +4467,8 @@ var MigrateActionForm = ({ data, onChange }) => {
4318
4467
  };
4319
4468
 
4320
4469
  // src/mantine/blocks/proposal/actions-components/forms/UpdateAdminActionForm.tsx
4321
- import React57 from "react";
4322
- import { Stack as Stack41, TextInput as TextInput19 } from "@mantine/core";
4470
+ import React59 from "react";
4471
+ import { Stack as Stack43, TextInput as TextInput19 } from "@mantine/core";
4323
4472
  var inputStyles13 = {
4324
4473
  label: { color: "#adb5bd" },
4325
4474
  input: {
@@ -4332,7 +4481,7 @@ var inputStyles13 = {
4332
4481
  }
4333
4482
  };
4334
4483
  var UpdateAdminActionForm = ({ data, onChange }) => {
4335
- return /* @__PURE__ */ React57.createElement(Stack41, { gap: "md" }, /* @__PURE__ */ React57.createElement(
4484
+ return /* @__PURE__ */ React59.createElement(Stack43, { gap: "md" }, /* @__PURE__ */ React59.createElement(
4336
4485
  TextInput19,
4337
4486
  {
4338
4487
  label: "Contract Address",
@@ -4342,7 +4491,7 @@ var UpdateAdminActionForm = ({ data, onChange }) => {
4342
4491
  required: true,
4343
4492
  styles: inputStyles13
4344
4493
  }
4345
- ), /* @__PURE__ */ React57.createElement(
4494
+ ), /* @__PURE__ */ React59.createElement(
4346
4495
  TextInput19,
4347
4496
  {
4348
4497
  label: "New Admin Address",
@@ -4356,8 +4505,8 @@ var UpdateAdminActionForm = ({ data, onChange }) => {
4356
4505
  };
4357
4506
 
4358
4507
  // src/mantine/blocks/proposal/actions-components/forms/ManageCw20ActionForm.tsx
4359
- import React58 from "react";
4360
- import { Stack as Stack42, TextInput as TextInput20, Radio as Radio2, Group as Group14 } from "@mantine/core";
4508
+ import React60 from "react";
4509
+ import { Stack as Stack44, TextInput as TextInput20, Radio as Radio2, Group as Group14 } from "@mantine/core";
4361
4510
  var inputStyles14 = {
4362
4511
  label: { color: "#adb5bd" },
4363
4512
  input: {
@@ -4370,7 +4519,7 @@ var inputStyles14 = {
4370
4519
  }
4371
4520
  };
4372
4521
  var ManageCw20ActionForm = ({ data, onChange }) => {
4373
- return /* @__PURE__ */ React58.createElement(Stack42, { gap: "md" }, /* @__PURE__ */ React58.createElement(Radio2.Group, { label: "Action", value: data.adding ? "add" : "remove", onChange: (value) => onChange({ ...data, adding: value === "add" }) }, /* @__PURE__ */ React58.createElement(Group14, { mt: "xs" }, /* @__PURE__ */ React58.createElement(
4522
+ return /* @__PURE__ */ React60.createElement(Stack44, { gap: "md" }, /* @__PURE__ */ React60.createElement(Radio2.Group, { label: "Action", value: data.adding ? "add" : "remove", onChange: (value) => onChange({ ...data, adding: value === "add" }) }, /* @__PURE__ */ React60.createElement(Group14, { mt: "xs" }, /* @__PURE__ */ React60.createElement(
4374
4523
  Radio2,
4375
4524
  {
4376
4525
  value: "add",
@@ -4380,7 +4529,7 @@ var ManageCw20ActionForm = ({ data, onChange }) => {
4380
4529
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4381
4530
  }
4382
4531
  }
4383
- ), /* @__PURE__ */ React58.createElement(
4532
+ ), /* @__PURE__ */ React60.createElement(
4384
4533
  Radio2,
4385
4534
  {
4386
4535
  value: "remove",
@@ -4390,7 +4539,7 @@ var ManageCw20ActionForm = ({ data, onChange }) => {
4390
4539
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4391
4540
  }
4392
4541
  }
4393
- ))), /* @__PURE__ */ React58.createElement(
4542
+ ))), /* @__PURE__ */ React60.createElement(
4394
4543
  TextInput20,
4395
4544
  {
4396
4545
  label: "Token Contract Address",
@@ -4404,8 +4553,8 @@ var ManageCw20ActionForm = ({ data, onChange }) => {
4404
4553
  };
4405
4554
 
4406
4555
  // src/mantine/blocks/proposal/actions-components/forms/ManageSubDaosActionForm.tsx
4407
- import React59, { useState as useState13 } from "react";
4408
- import { Stack as Stack43, TextInput as TextInput21, Button as Button9, Group as Group15, Text as Text31, Card as Card10, Textarea as Textarea9 } from "@mantine/core";
4556
+ import React61, { useState as useState13 } from "react";
4557
+ import { Stack as Stack45, TextInput as TextInput21, Button as Button9, Group as Group15, Text as Text33, Card as Card10, Textarea as Textarea9 } from "@mantine/core";
4409
4558
  var inputStyles15 = {
4410
4559
  label: { color: "#adb5bd" },
4411
4560
  input: {
@@ -4450,7 +4599,7 @@ var ManageSubDaosActionForm = ({ data, onChange }) => {
4450
4599
  toRemove: (data.toRemove || []).filter((_, i) => i !== index)
4451
4600
  });
4452
4601
  };
4453
- return /* @__PURE__ */ React59.createElement(Stack43, { gap: "md" }, /* @__PURE__ */ React59.createElement(Stack43, { gap: "xs" }, /* @__PURE__ */ React59.createElement(Text31, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "SubDAOs to Add"), (data.toAdd || []).map((subDao, index) => /* @__PURE__ */ React59.createElement(Card10, { key: index, withBorder: true, padding: "xs", style: { backgroundColor: "#2a2a2a", borderColor: "#333" } }, /* @__PURE__ */ React59.createElement(Stack43, { gap: "xs" }, /* @__PURE__ */ React59.createElement(Group15, { justify: "space-between" }, /* @__PURE__ */ React59.createElement(Text31, { size: "sm", style: { color: "#f1f3f5" } }, subDao.addr), /* @__PURE__ */ React59.createElement(Button9, { size: "xs", variant: "subtle", onClick: () => handleRemoveFromAddList(index), style: { color: "#ff6b6b" } }, "Remove")), subDao.charter && /* @__PURE__ */ React59.createElement(Text31, { size: "xs", style: { color: "#adb5bd" } }, "Charter: ", subDao.charter)))), /* @__PURE__ */ React59.createElement(Stack43, { gap: "xs" }, /* @__PURE__ */ React59.createElement(TextInput21, { placeholder: "SubDAO Address", value: newSubDao.addr, onChange: (e) => setNewSubDao({ ...newSubDao, addr: e.currentTarget.value }), styles: inputStyles15 }), /* @__PURE__ */ React59.createElement(
4602
+ return /* @__PURE__ */ React61.createElement(Stack45, { gap: "md" }, /* @__PURE__ */ React61.createElement(Stack45, { gap: "xs" }, /* @__PURE__ */ React61.createElement(Text33, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "SubDAOs to Add"), (data.toAdd || []).map((subDao, index) => /* @__PURE__ */ React61.createElement(Card10, { key: index, withBorder: true, padding: "xs", style: { backgroundColor: "#2a2a2a", borderColor: "#333" } }, /* @__PURE__ */ React61.createElement(Stack45, { gap: "xs" }, /* @__PURE__ */ React61.createElement(Group15, { justify: "space-between" }, /* @__PURE__ */ React61.createElement(Text33, { size: "sm", style: { color: "#f1f3f5" } }, subDao.addr), /* @__PURE__ */ React61.createElement(Button9, { size: "xs", variant: "subtle", onClick: () => handleRemoveFromAddList(index), style: { color: "#ff6b6b" } }, "Remove")), subDao.charter && /* @__PURE__ */ React61.createElement(Text33, { size: "xs", style: { color: "#adb5bd" } }, "Charter: ", subDao.charter)))), /* @__PURE__ */ React61.createElement(Stack45, { gap: "xs" }, /* @__PURE__ */ React61.createElement(TextInput21, { placeholder: "SubDAO Address", value: newSubDao.addr, onChange: (e) => setNewSubDao({ ...newSubDao, addr: e.currentTarget.value }), styles: inputStyles15 }), /* @__PURE__ */ React61.createElement(
4454
4603
  Textarea9,
4455
4604
  {
4456
4605
  placeholder: "Charter (optional)",
@@ -4459,7 +4608,7 @@ var ManageSubDaosActionForm = ({ data, onChange }) => {
4459
4608
  minRows: 2,
4460
4609
  styles: inputStyles15
4461
4610
  }
4462
- ), /* @__PURE__ */ React59.createElement(
4611
+ ), /* @__PURE__ */ React61.createElement(
4463
4612
  Button9,
4464
4613
  {
4465
4614
  size: "sm",
@@ -4470,7 +4619,7 @@ var ManageSubDaosActionForm = ({ data, onChange }) => {
4470
4619
  }
4471
4620
  },
4472
4621
  "Add SubDAO"
4473
- ))), /* @__PURE__ */ React59.createElement(Stack43, { gap: "xs" }, /* @__PURE__ */ React59.createElement(Text31, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "SubDAOs to Remove"), (data.toRemove || []).map((subDao, index) => /* @__PURE__ */ React59.createElement(Card10, { key: index, withBorder: true, padding: "xs", style: { backgroundColor: "#2a2a2a", borderColor: "#333" } }, /* @__PURE__ */ React59.createElement(Group15, { justify: "space-between" }, /* @__PURE__ */ React59.createElement(Text31, { size: "sm", style: { color: "#f1f3f5" } }, subDao.address), /* @__PURE__ */ React59.createElement(Button9, { size: "xs", variant: "subtle", onClick: () => handleRemoveFromRemoveList(index), style: { color: "#ff6b6b" } }, "Remove")))), /* @__PURE__ */ React59.createElement(Group15, { grow: true }, /* @__PURE__ */ React59.createElement(TextInput21, { placeholder: "SubDAO Address to Remove", value: newRemoveAddress, onChange: (e) => setNewRemoveAddress(e.currentTarget.value), styles: inputStyles15 }), /* @__PURE__ */ React59.createElement(
4622
+ ))), /* @__PURE__ */ React61.createElement(Stack45, { gap: "xs" }, /* @__PURE__ */ React61.createElement(Text33, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "SubDAOs to Remove"), (data.toRemove || []).map((subDao, index) => /* @__PURE__ */ React61.createElement(Card10, { key: index, withBorder: true, padding: "xs", style: { backgroundColor: "#2a2a2a", borderColor: "#333" } }, /* @__PURE__ */ React61.createElement(Group15, { justify: "space-between" }, /* @__PURE__ */ React61.createElement(Text33, { size: "sm", style: { color: "#f1f3f5" } }, subDao.address), /* @__PURE__ */ React61.createElement(Button9, { size: "xs", variant: "subtle", onClick: () => handleRemoveFromRemoveList(index), style: { color: "#ff6b6b" } }, "Remove")))), /* @__PURE__ */ React61.createElement(Group15, { grow: true }, /* @__PURE__ */ React61.createElement(TextInput21, { placeholder: "SubDAO Address to Remove", value: newRemoveAddress, onChange: (e) => setNewRemoveAddress(e.currentTarget.value), styles: inputStyles15 }), /* @__PURE__ */ React61.createElement(
4474
4623
  Button9,
4475
4624
  {
4476
4625
  size: "sm",
@@ -4485,8 +4634,8 @@ var ManageSubDaosActionForm = ({ data, onChange }) => {
4485
4634
  };
4486
4635
 
4487
4636
  // src/mantine/blocks/proposal/actions-components/forms/UpdateInfoActionForm.tsx
4488
- import React60 from "react";
4489
- import { Stack as Stack44, TextInput as TextInput22, Textarea as Textarea10, Checkbox as Checkbox5 } from "@mantine/core";
4637
+ import React62 from "react";
4638
+ import { Stack as Stack46, TextInput as TextInput22, Textarea as Textarea10, Checkbox as Checkbox5 } from "@mantine/core";
4490
4639
  var inputStyles16 = {
4491
4640
  label: { color: "#adb5bd" },
4492
4641
  input: {
@@ -4499,7 +4648,7 @@ var inputStyles16 = {
4499
4648
  }
4500
4649
  };
4501
4650
  var UpdateInfoActionForm = ({ data, onChange }) => {
4502
- return /* @__PURE__ */ React60.createElement(Stack44, { gap: "md" }, /* @__PURE__ */ React60.createElement(TextInput22, { label: "DAO Name", placeholder: "My DAO", value: data.name, onChange: (e) => onChange({ ...data, name: e.currentTarget.value }), required: true, styles: inputStyles16 }), /* @__PURE__ */ React60.createElement(
4651
+ return /* @__PURE__ */ React62.createElement(Stack46, { gap: "md" }, /* @__PURE__ */ React62.createElement(TextInput22, { label: "DAO Name", placeholder: "My DAO", value: data.name, onChange: (e) => onChange({ ...data, name: e.currentTarget.value }), required: true, styles: inputStyles16 }), /* @__PURE__ */ React62.createElement(
4503
4652
  Textarea10,
4504
4653
  {
4505
4654
  label: "Description",
@@ -4509,7 +4658,7 @@ var UpdateInfoActionForm = ({ data, onChange }) => {
4509
4658
  minRows: 3,
4510
4659
  styles: inputStyles16
4511
4660
  }
4512
- ), /* @__PURE__ */ React60.createElement(
4661
+ ), /* @__PURE__ */ React62.createElement(
4513
4662
  TextInput22,
4514
4663
  {
4515
4664
  label: "Image URL (Optional)",
@@ -4518,7 +4667,7 @@ var UpdateInfoActionForm = ({ data, onChange }) => {
4518
4667
  onChange: (e) => onChange({ ...data, image_url: e.currentTarget.value || null }),
4519
4668
  styles: inputStyles16
4520
4669
  }
4521
- ), /* @__PURE__ */ React60.createElement(
4670
+ ), /* @__PURE__ */ React62.createElement(
4522
4671
  TextInput22,
4523
4672
  {
4524
4673
  label: "DAO URI (Optional)",
@@ -4527,7 +4676,7 @@ var UpdateInfoActionForm = ({ data, onChange }) => {
4527
4676
  onChange: (e) => onChange({ ...data, dao_uri: e.currentTarget.value || null }),
4528
4677
  styles: inputStyles16
4529
4678
  }
4530
- ), /* @__PURE__ */ React60.createElement(
4679
+ ), /* @__PURE__ */ React62.createElement(
4531
4680
  Checkbox5,
4532
4681
  {
4533
4682
  label: "Automatically add CW20 tokens",
@@ -4538,7 +4687,7 @@ var UpdateInfoActionForm = ({ data, onChange }) => {
4538
4687
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4539
4688
  }
4540
4689
  }
4541
- ), /* @__PURE__ */ React60.createElement(
4690
+ ), /* @__PURE__ */ React62.createElement(
4542
4691
  Checkbox5,
4543
4692
  {
4544
4693
  label: "Automatically add CW721 NFTs",
@@ -4553,8 +4702,8 @@ var UpdateInfoActionForm = ({ data, onChange }) => {
4553
4702
  };
4554
4703
 
4555
4704
  // src/mantine/blocks/proposal/actions-components/forms/ManageStorageItemsActionForm.tsx
4556
- import React61 from "react";
4557
- import { Stack as Stack45, TextInput as TextInput23, Radio as Radio3, Group as Group16, Textarea as Textarea11 } from "@mantine/core";
4705
+ import React63 from "react";
4706
+ import { Stack as Stack47, TextInput as TextInput23, Radio as Radio3, Group as Group16, Textarea as Textarea11 } from "@mantine/core";
4558
4707
  var inputStyles17 = {
4559
4708
  label: { color: "#adb5bd" },
4560
4709
  input: {
@@ -4567,7 +4716,7 @@ var inputStyles17 = {
4567
4716
  }
4568
4717
  };
4569
4718
  var ManageStorageItemsActionForm = ({ data, onChange }) => {
4570
- return /* @__PURE__ */ React61.createElement(Stack45, { gap: "md" }, /* @__PURE__ */ React61.createElement(Radio3.Group, { label: "Action", value: data.setting ? "set" : "remove", onChange: (value) => onChange({ ...data, setting: value === "set" }) }, /* @__PURE__ */ React61.createElement(Group16, { mt: "xs" }, /* @__PURE__ */ React61.createElement(
4719
+ return /* @__PURE__ */ React63.createElement(Stack47, { gap: "md" }, /* @__PURE__ */ React63.createElement(Radio3.Group, { label: "Action", value: data.setting ? "set" : "remove", onChange: (value) => onChange({ ...data, setting: value === "set" }) }, /* @__PURE__ */ React63.createElement(Group16, { mt: "xs" }, /* @__PURE__ */ React63.createElement(
4571
4720
  Radio3,
4572
4721
  {
4573
4722
  value: "set",
@@ -4577,7 +4726,7 @@ var ManageStorageItemsActionForm = ({ data, onChange }) => {
4577
4726
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4578
4727
  }
4579
4728
  }
4580
- ), /* @__PURE__ */ React61.createElement(
4729
+ ), /* @__PURE__ */ React63.createElement(
4581
4730
  Radio3,
4582
4731
  {
4583
4732
  value: "remove",
@@ -4587,7 +4736,7 @@ var ManageStorageItemsActionForm = ({ data, onChange }) => {
4587
4736
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4588
4737
  }
4589
4738
  }
4590
- ))), /* @__PURE__ */ React61.createElement(TextInput23, { label: "Storage Key", placeholder: "config_key", value: data.key, onChange: (e) => onChange({ ...data, key: e.currentTarget.value }), required: true, styles: inputStyles17 }), data.setting && /* @__PURE__ */ React61.createElement(
4739
+ ))), /* @__PURE__ */ React63.createElement(TextInput23, { label: "Storage Key", placeholder: "config_key", value: data.key, onChange: (e) => onChange({ ...data, key: e.currentTarget.value }), required: true, styles: inputStyles17 }), data.setting && /* @__PURE__ */ React63.createElement(
4591
4740
  Textarea11,
4592
4741
  {
4593
4742
  label: "Storage Value",
@@ -4602,8 +4751,8 @@ var ManageStorageItemsActionForm = ({ data, onChange }) => {
4602
4751
  };
4603
4752
 
4604
4753
  // src/mantine/blocks/proposal/actions-components/forms/DaoAdminExecActionForm.tsx
4605
- import React62, { useState as useState14 } from "react";
4606
- import { Stack as Stack46, TextInput as TextInput24, Button as Button10, Group as Group17, Text as Text32, Card as Card11, Textarea as Textarea12 } from "@mantine/core";
4754
+ import React64, { useState as useState14 } from "react";
4755
+ import { Stack as Stack48, TextInput as TextInput24, Button as Button10, Group as Group17, Text as Text34, Card as Card11, Textarea as Textarea12 } from "@mantine/core";
4607
4756
  var inputStyles18 = {
4608
4757
  label: { color: "#adb5bd" },
4609
4758
  input: {
@@ -4636,7 +4785,7 @@ var DaoAdminExecActionForm = ({ data, onChange }) => {
4636
4785
  msgs: (data.msgs || []).filter((_, i) => i !== index)
4637
4786
  });
4638
4787
  };
4639
- return /* @__PURE__ */ React62.createElement(Stack46, { gap: "md" }, /* @__PURE__ */ React62.createElement(
4788
+ return /* @__PURE__ */ React64.createElement(Stack48, { gap: "md" }, /* @__PURE__ */ React64.createElement(
4640
4789
  TextInput24,
4641
4790
  {
4642
4791
  label: "Core Address",
@@ -4646,7 +4795,7 @@ var DaoAdminExecActionForm = ({ data, onChange }) => {
4646
4795
  required: true,
4647
4796
  styles: inputStyles18
4648
4797
  }
4649
- ), /* @__PURE__ */ React62.createElement(Stack46, { gap: "xs" }, /* @__PURE__ */ React62.createElement(Text32, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Messages to Execute"), (data.msgs || []).map((msg, index) => /* @__PURE__ */ React62.createElement(Card11, { key: index, withBorder: true, padding: "xs", style: { backgroundColor: "#2a2a2a", borderColor: "#333" } }, /* @__PURE__ */ React62.createElement(Group17, { justify: "space-between" }, /* @__PURE__ */ React62.createElement(Text32, { size: "sm", style: { color: "#f1f3f5" } }, "Message ", index + 1), /* @__PURE__ */ React62.createElement(Button10, { size: "xs", variant: "subtle", onClick: () => handleRemoveMessage(index), style: { color: "#ff6b6b" } }, "Remove")), /* @__PURE__ */ React62.createElement(Text32, { size: "xs", style: { color: "#adb5bd", fontFamily: "monospace" } }, JSON.stringify(msg, null, 2).substring(0, 100), "..."))), /* @__PURE__ */ React62.createElement(
4798
+ ), /* @__PURE__ */ React64.createElement(Stack48, { gap: "xs" }, /* @__PURE__ */ React64.createElement(Text34, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Messages to Execute"), (data.msgs || []).map((msg, index) => /* @__PURE__ */ React64.createElement(Card11, { key: index, withBorder: true, padding: "xs", style: { backgroundColor: "#2a2a2a", borderColor: "#333" } }, /* @__PURE__ */ React64.createElement(Group17, { justify: "space-between" }, /* @__PURE__ */ React64.createElement(Text34, { size: "sm", style: { color: "#f1f3f5" } }, "Message ", index + 1), /* @__PURE__ */ React64.createElement(Button10, { size: "xs", variant: "subtle", onClick: () => handleRemoveMessage(index), style: { color: "#ff6b6b" } }, "Remove")), /* @__PURE__ */ React64.createElement(Text34, { size: "xs", style: { color: "#adb5bd", fontFamily: "monospace" } }, JSON.stringify(msg, null, 2).substring(0, 100), "..."))), /* @__PURE__ */ React64.createElement(
4650
4799
  Textarea12,
4651
4800
  {
4652
4801
  placeholder: 'Add cosmos message as JSON:\\n{"bank": {"send": {"to_address": "ixo1...", "amount": [{"denom": "uixo", "amount": "1000"}]}}}',
@@ -4655,7 +4804,7 @@ var DaoAdminExecActionForm = ({ data, onChange }) => {
4655
4804
  minRows: 4,
4656
4805
  styles: inputStyles18
4657
4806
  }
4658
- ), /* @__PURE__ */ React62.createElement(
4807
+ ), /* @__PURE__ */ React64.createElement(
4659
4808
  Button10,
4660
4809
  {
4661
4810
  size: "sm",
@@ -4670,8 +4819,8 @@ var DaoAdminExecActionForm = ({ data, onChange }) => {
4670
4819
  };
4671
4820
 
4672
4821
  // src/mantine/blocks/proposal/actions-components/forms/AcceptToMarketplaceActionForm.tsx
4673
- import React63 from "react";
4674
- import { Stack as Stack47, TextInput as TextInput25 } from "@mantine/core";
4822
+ import React65 from "react";
4823
+ import { Stack as Stack49, TextInput as TextInput25 } from "@mantine/core";
4675
4824
  var inputStyles19 = {
4676
4825
  label: { color: "#adb5bd" },
4677
4826
  input: {
@@ -4684,7 +4833,7 @@ var inputStyles19 = {
4684
4833
  }
4685
4834
  };
4686
4835
  var AcceptToMarketplaceActionForm = ({ data, onChange }) => {
4687
- return /* @__PURE__ */ React63.createElement(Stack47, { gap: "md" }, /* @__PURE__ */ React63.createElement(TextInput25, { label: "DID", placeholder: "did:ixo:...", value: data.did, onChange: (e) => onChange({ ...data, did: e.currentTarget.value }), required: true, styles: inputStyles19 }), /* @__PURE__ */ React63.createElement(
4836
+ return /* @__PURE__ */ React65.createElement(Stack49, { gap: "md" }, /* @__PURE__ */ React65.createElement(TextInput25, { label: "DID", placeholder: "did:ixo:...", value: data.did, onChange: (e) => onChange({ ...data, did: e.currentTarget.value }), required: true, styles: inputStyles19 }), /* @__PURE__ */ React65.createElement(
4688
4837
  TextInput25,
4689
4838
  {
4690
4839
  label: "Relayer Node DID",
@@ -4694,7 +4843,7 @@ var AcceptToMarketplaceActionForm = ({ data, onChange }) => {
4694
4843
  required: true,
4695
4844
  styles: inputStyles19
4696
4845
  }
4697
- ), /* @__PURE__ */ React63.createElement(
4846
+ ), /* @__PURE__ */ React65.createElement(
4698
4847
  TextInput25,
4699
4848
  {
4700
4849
  label: "Relayer Node Address",
@@ -4708,8 +4857,8 @@ var AcceptToMarketplaceActionForm = ({ data, onChange }) => {
4708
4857
  };
4709
4858
 
4710
4859
  // src/mantine/blocks/proposal/actions-components/forms/CreateEntityActionForm.tsx
4711
- import React64 from "react";
4712
- import { Stack as Stack48, Textarea as Textarea13, Alert as Alert6, Text as Text33 } from "@mantine/core";
4860
+ import React66 from "react";
4861
+ import { Stack as Stack50, Textarea as Textarea13, Alert as Alert6, Text as Text35 } from "@mantine/core";
4713
4862
  var inputStyles20 = {
4714
4863
  label: { color: "#adb5bd" },
4715
4864
  input: {
@@ -4729,7 +4878,7 @@ var CreateEntityActionForm = ({ data, onChange }) => {
4729
4878
  } catch {
4730
4879
  }
4731
4880
  };
4732
- return /* @__PURE__ */ React64.createElement(Stack48, { gap: "md" }, /* @__PURE__ */ React64.createElement(Alert6, { color: "blue", style: { backgroundColor: "#2a2a2a", borderColor: "#4dabf7" } }, /* @__PURE__ */ React64.createElement(Text33, { size: "sm", style: { color: "#4dabf7" } }, "This is a complex entity creation action. Please provide the complete entity data as JSON.")), /* @__PURE__ */ React64.createElement(
4881
+ return /* @__PURE__ */ React66.createElement(Stack50, { gap: "md" }, /* @__PURE__ */ React66.createElement(Alert6, { color: "blue", style: { backgroundColor: "#2a2a2a", borderColor: "#4dabf7" } }, /* @__PURE__ */ React66.createElement(Text35, { size: "sm", style: { color: "#4dabf7" } }, "This is a complex entity creation action. Please provide the complete entity data as JSON.")), /* @__PURE__ */ React66.createElement(
4733
4882
  Textarea13,
4734
4883
  {
4735
4884
  label: "Entity Data (JSON)",
@@ -4744,8 +4893,8 @@ var CreateEntityActionForm = ({ data, onChange }) => {
4744
4893
  };
4745
4894
 
4746
4895
  // src/mantine/blocks/proposal/actions-components/forms/UpdateVotingConfigActionForm.tsx
4747
- import React65 from "react";
4748
- import { Stack as Stack49, Checkbox as Checkbox6, Select as Select6, NumberInput as NumberInput7, Group as Group18 } from "@mantine/core";
4896
+ import React67 from "react";
4897
+ import { Stack as Stack51, Checkbox as Checkbox6, Select as Select6, NumberInput as NumberInput7, Group as Group18 } from "@mantine/core";
4749
4898
  var inputStyles21 = {
4750
4899
  label: { color: "#adb5bd" },
4751
4900
  input: {
@@ -4758,7 +4907,7 @@ var inputStyles21 = {
4758
4907
  }
4759
4908
  };
4760
4909
  var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4761
- return /* @__PURE__ */ React65.createElement(Stack49, { gap: "md" }, /* @__PURE__ */ React65.createElement(
4910
+ return /* @__PURE__ */ React67.createElement(Stack51, { gap: "md" }, /* @__PURE__ */ React67.createElement(
4762
4911
  Checkbox6,
4763
4912
  {
4764
4913
  label: "Only members can execute",
@@ -4769,7 +4918,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4769
4918
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4770
4919
  }
4771
4920
  }
4772
- ), /* @__PURE__ */ React65.createElement(
4921
+ ), /* @__PURE__ */ React67.createElement(
4773
4922
  Select6,
4774
4923
  {
4775
4924
  label: "Threshold Type",
@@ -4781,7 +4930,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4781
4930
  ],
4782
4931
  styles: inputStyles21
4783
4932
  }
4784
- ), data.thresholdType === "%" && /* @__PURE__ */ React65.createElement(
4933
+ ), data.thresholdType === "%" && /* @__PURE__ */ React67.createElement(
4785
4934
  NumberInput7,
4786
4935
  {
4787
4936
  label: "Threshold Percentage",
@@ -4793,7 +4942,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4793
4942
  suffix: "%",
4794
4943
  styles: inputStyles21
4795
4944
  }
4796
- ), /* @__PURE__ */ React65.createElement(
4945
+ ), /* @__PURE__ */ React67.createElement(
4797
4946
  Checkbox6,
4798
4947
  {
4799
4948
  label: "Enable Quorum",
@@ -4804,7 +4953,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4804
4953
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4805
4954
  }
4806
4955
  }
4807
- ), data.quorumEnabled && /* @__PURE__ */ React65.createElement(React65.Fragment, null, /* @__PURE__ */ React65.createElement(
4956
+ ), data.quorumEnabled && /* @__PURE__ */ React67.createElement(React67.Fragment, null, /* @__PURE__ */ React67.createElement(
4808
4957
  Select6,
4809
4958
  {
4810
4959
  label: "Quorum Type",
@@ -4816,7 +4965,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4816
4965
  ],
4817
4966
  styles: inputStyles21
4818
4967
  }
4819
- ), data.quorumType === "%" && /* @__PURE__ */ React65.createElement(
4968
+ ), data.quorumType === "%" && /* @__PURE__ */ React67.createElement(
4820
4969
  NumberInput7,
4821
4970
  {
4822
4971
  label: "Quorum Percentage",
@@ -4828,7 +4977,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4828
4977
  suffix: "%",
4829
4978
  styles: inputStyles21
4830
4979
  }
4831
- )), /* @__PURE__ */ React65.createElement(Group18, { grow: true }, /* @__PURE__ */ React65.createElement(
4980
+ )), /* @__PURE__ */ React67.createElement(Group18, { grow: true }, /* @__PURE__ */ React67.createElement(
4832
4981
  NumberInput7,
4833
4982
  {
4834
4983
  label: "Proposal Duration",
@@ -4838,7 +4987,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4838
4987
  min: 1,
4839
4988
  styles: inputStyles21
4840
4989
  }
4841
- ), /* @__PURE__ */ React65.createElement(
4990
+ ), /* @__PURE__ */ React67.createElement(
4842
4991
  Select6,
4843
4992
  {
4844
4993
  label: "Duration Units",
@@ -4852,7 +5001,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4852
5001
  ],
4853
5002
  styles: inputStyles21
4854
5003
  }
4855
- )), /* @__PURE__ */ React65.createElement(
5004
+ )), /* @__PURE__ */ React67.createElement(
4856
5005
  Checkbox6,
4857
5006
  {
4858
5007
  label: "Allow revoting",
@@ -4867,8 +5016,8 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4867
5016
  };
4868
5017
 
4869
5018
  // src/mantine/blocks/proposal/actions-components/forms/UpdatePreProposeConfigActionForm.tsx
4870
- import React66 from "react";
4871
- import { Stack as Stack50, Checkbox as Checkbox7, TextInput as TextInput26, Select as Select7, Textarea as Textarea14 } from "@mantine/core";
5019
+ import React68 from "react";
5020
+ import { Stack as Stack52, Checkbox as Checkbox7, TextInput as TextInput26, Select as Select7, Textarea as Textarea14 } from "@mantine/core";
4872
5021
  var inputStyles22 = {
4873
5022
  label: { color: "#adb5bd" },
4874
5023
  input: {
@@ -4881,7 +5030,7 @@ var inputStyles22 = {
4881
5030
  }
4882
5031
  };
4883
5032
  var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4884
- return /* @__PURE__ */ React66.createElement(Stack50, { gap: "md" }, /* @__PURE__ */ React66.createElement(
5033
+ return /* @__PURE__ */ React68.createElement(Stack52, { gap: "md" }, /* @__PURE__ */ React68.createElement(
4885
5034
  Checkbox7,
4886
5035
  {
4887
5036
  label: "Anyone can propose",
@@ -4892,7 +5041,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4892
5041
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4893
5042
  }
4894
5043
  }
4895
- ), /* @__PURE__ */ React66.createElement(
5044
+ ), /* @__PURE__ */ React68.createElement(
4896
5045
  Checkbox7,
4897
5046
  {
4898
5047
  label: "Deposit required",
@@ -4903,7 +5052,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4903
5052
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4904
5053
  }
4905
5054
  }
4906
- ), data.depositRequired && /* @__PURE__ */ React66.createElement(React66.Fragment, null, /* @__PURE__ */ React66.createElement(
5055
+ ), data.depositRequired && /* @__PURE__ */ React68.createElement(React68.Fragment, null, /* @__PURE__ */ React68.createElement(
4907
5056
  TextInput26,
4908
5057
  {
4909
5058
  label: "Deposit Amount",
@@ -4916,7 +5065,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4916
5065
  required: true,
4917
5066
  styles: inputStyles22
4918
5067
  }
4919
- ), /* @__PURE__ */ React66.createElement(
5068
+ ), /* @__PURE__ */ React68.createElement(
4920
5069
  Select7,
4921
5070
  {
4922
5071
  label: "Deposit Type",
@@ -4932,7 +5081,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4932
5081
  ],
4933
5082
  styles: inputStyles22
4934
5083
  }
4935
- ), /* @__PURE__ */ React66.createElement(
5084
+ ), /* @__PURE__ */ React68.createElement(
4936
5085
  TextInput26,
4937
5086
  {
4938
5087
  label: "Token Denomination or Address",
@@ -4945,7 +5094,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4945
5094
  required: true,
4946
5095
  styles: inputStyles22
4947
5096
  }
4948
- ), /* @__PURE__ */ React66.createElement(
5097
+ ), /* @__PURE__ */ React68.createElement(
4949
5098
  TextInput26,
4950
5099
  {
4951
5100
  label: "Refund Policy",
@@ -4958,7 +5107,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4958
5107
  required: true,
4959
5108
  styles: inputStyles22
4960
5109
  }
4961
- ), data.depositInfo.type !== "native" && /* @__PURE__ */ React66.createElement(
5110
+ ), data.depositInfo.type !== "native" && /* @__PURE__ */ React68.createElement(
4962
5111
  Textarea14,
4963
5112
  {
4964
5113
  label: "Token Configuration (JSON)",
@@ -4981,8 +5130,8 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4981
5130
  };
4982
5131
 
4983
5132
  // src/mantine/blocks/proposal/actions-components/forms/GovernanceVoteActionForm.tsx
4984
- import React67 from "react";
4985
- import { Stack as Stack51, TextInput as TextInput27, Select as Select8 } from "@mantine/core";
5133
+ import React69 from "react";
5134
+ import { Stack as Stack53, TextInput as TextInput27, Select as Select8 } from "@mantine/core";
4986
5135
  var inputStyles23 = {
4987
5136
  label: { color: "#adb5bd" },
4988
5137
  input: {
@@ -5001,7 +5150,7 @@ var GovernanceVoteActionForm = ({ data, onChange }) => {
5001
5150
  { value: "3", label: "No" },
5002
5151
  { value: "4", label: "No with Veto" }
5003
5152
  ];
5004
- return /* @__PURE__ */ React67.createElement(Stack51, { gap: "md" }, /* @__PURE__ */ React67.createElement(
5153
+ return /* @__PURE__ */ React69.createElement(Stack53, { gap: "md" }, /* @__PURE__ */ React69.createElement(
5005
5154
  TextInput27,
5006
5155
  {
5007
5156
  label: "Proposal ID",
@@ -5011,7 +5160,7 @@ var GovernanceVoteActionForm = ({ data, onChange }) => {
5011
5160
  required: true,
5012
5161
  styles: inputStyles23
5013
5162
  }
5014
- ), /* @__PURE__ */ React67.createElement(
5163
+ ), /* @__PURE__ */ React69.createElement(
5015
5164
  Select8,
5016
5165
  {
5017
5166
  label: "Vote Option",
@@ -5025,8 +5174,8 @@ var GovernanceVoteActionForm = ({ data, onChange }) => {
5025
5174
  };
5026
5175
 
5027
5176
  // src/mantine/blocks/proposal/actions-components/forms/WithdrawTokenSwapActionForm.tsx
5028
- import React68 from "react";
5029
- import { Stack as Stack52, TextInput as TextInput28, Checkbox as Checkbox8 } from "@mantine/core";
5177
+ import React70 from "react";
5178
+ import { Stack as Stack54, TextInput as TextInput28, Checkbox as Checkbox8 } from "@mantine/core";
5030
5179
  var inputStyles24 = {
5031
5180
  label: { color: "#adb5bd" },
5032
5181
  input: {
@@ -5039,7 +5188,7 @@ var inputStyles24 = {
5039
5188
  }
5040
5189
  };
5041
5190
  var WithdrawTokenSwapActionForm = ({ data, onChange }) => {
5042
- return /* @__PURE__ */ React68.createElement(Stack52, { gap: "md" }, /* @__PURE__ */ React68.createElement(
5191
+ return /* @__PURE__ */ React70.createElement(Stack54, { gap: "md" }, /* @__PURE__ */ React70.createElement(
5043
5192
  Checkbox8,
5044
5193
  {
5045
5194
  label: "Contract chosen",
@@ -5050,7 +5199,7 @@ var WithdrawTokenSwapActionForm = ({ data, onChange }) => {
5050
5199
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
5051
5200
  }
5052
5201
  }
5053
- ), data.contractChosen && /* @__PURE__ */ React68.createElement(
5202
+ ), data.contractChosen && /* @__PURE__ */ React70.createElement(
5054
5203
  TextInput28,
5055
5204
  {
5056
5205
  label: "Token Swap Contract Address",
@@ -5064,8 +5213,8 @@ var WithdrawTokenSwapActionForm = ({ data, onChange }) => {
5064
5213
  };
5065
5214
 
5066
5215
  // src/mantine/blocks/proposal/actions-components/forms/PerformTokenSwapActionForm.tsx
5067
- import React69 from "react";
5068
- import { Stack as Stack53, TextInput as TextInput29, Checkbox as Checkbox9, Textarea as Textarea15 } from "@mantine/core";
5216
+ import React71 from "react";
5217
+ import { Stack as Stack55, TextInput as TextInput29, Checkbox as Checkbox9, Textarea as Textarea15 } from "@mantine/core";
5069
5218
  var inputStyles25 = {
5070
5219
  label: { color: "#adb5bd" },
5071
5220
  input: {
@@ -5078,7 +5227,7 @@ var inputStyles25 = {
5078
5227
  }
5079
5228
  };
5080
5229
  var PerformTokenSwapActionForm = ({ data, onChange }) => {
5081
- return /* @__PURE__ */ React69.createElement(Stack53, { gap: "md" }, /* @__PURE__ */ React69.createElement(
5230
+ return /* @__PURE__ */ React71.createElement(Stack55, { gap: "md" }, /* @__PURE__ */ React71.createElement(
5082
5231
  Checkbox9,
5083
5232
  {
5084
5233
  label: "Contract chosen",
@@ -5089,7 +5238,7 @@ var PerformTokenSwapActionForm = ({ data, onChange }) => {
5089
5238
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
5090
5239
  }
5091
5240
  }
5092
- ), data.contractChosen && /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(
5241
+ ), data.contractChosen && /* @__PURE__ */ React71.createElement(React71.Fragment, null, /* @__PURE__ */ React71.createElement(
5093
5242
  TextInput29,
5094
5243
  {
5095
5244
  label: "Token Swap Contract Address",
@@ -5099,7 +5248,7 @@ var PerformTokenSwapActionForm = ({ data, onChange }) => {
5099
5248
  required: true,
5100
5249
  styles: inputStyles25
5101
5250
  }
5102
- ), /* @__PURE__ */ React69.createElement(
5251
+ ), /* @__PURE__ */ React71.createElement(
5103
5252
  Textarea15,
5104
5253
  {
5105
5254
  label: "Self Party Information (JSON)",
@@ -5115,7 +5264,7 @@ var PerformTokenSwapActionForm = ({ data, onChange }) => {
5115
5264
  minRows: 4,
5116
5265
  styles: inputStyles25
5117
5266
  }
5118
- ), /* @__PURE__ */ React69.createElement(
5267
+ ), /* @__PURE__ */ React71.createElement(
5119
5268
  Textarea15,
5120
5269
  {
5121
5270
  label: "Counterparty Information (JSON)",
@@ -5135,8 +5284,8 @@ var PerformTokenSwapActionForm = ({ data, onChange }) => {
5135
5284
  };
5136
5285
 
5137
5286
  // src/mantine/blocks/proposal/actions-components/forms/StakeToGroupActionForm.tsx
5138
- import React70 from "react";
5139
- import { Stack as Stack54, TextInput as TextInput30 } from "@mantine/core";
5287
+ import React72 from "react";
5288
+ import { Stack as Stack56, TextInput as TextInput30 } from "@mantine/core";
5140
5289
  var inputStyles26 = {
5141
5290
  label: { color: "#adb5bd" },
5142
5291
  input: {
@@ -5149,7 +5298,7 @@ var inputStyles26 = {
5149
5298
  }
5150
5299
  };
5151
5300
  var StakeToGroupActionForm = ({ data, onChange }) => {
5152
- return /* @__PURE__ */ React70.createElement(Stack54, { gap: "md" }, /* @__PURE__ */ React70.createElement(
5301
+ return /* @__PURE__ */ React72.createElement(Stack56, { gap: "md" }, /* @__PURE__ */ React72.createElement(
5153
5302
  TextInput30,
5154
5303
  {
5155
5304
  label: "Token Contract Address",
@@ -5159,7 +5308,7 @@ var StakeToGroupActionForm = ({ data, onChange }) => {
5159
5308
  required: true,
5160
5309
  styles: inputStyles26
5161
5310
  }
5162
- ), /* @__PURE__ */ React70.createElement(
5311
+ ), /* @__PURE__ */ React72.createElement(
5163
5312
  TextInput30,
5164
5313
  {
5165
5314
  label: "Staking Contract Address",
@@ -5169,12 +5318,12 @@ var StakeToGroupActionForm = ({ data, onChange }) => {
5169
5318
  required: true,
5170
5319
  styles: inputStyles26
5171
5320
  }
5172
- ), /* @__PURE__ */ React70.createElement(TextInput30, { label: "Amount", placeholder: "1000", value: data.amount, onChange: (e) => onChange({ ...data, amount: e.currentTarget.value }), required: true, styles: inputStyles26 }));
5321
+ ), /* @__PURE__ */ React72.createElement(TextInput30, { label: "Amount", placeholder: "1000", value: data.amount, onChange: (e) => onChange({ ...data, amount: e.currentTarget.value }), required: true, styles: inputStyles26 }));
5173
5322
  };
5174
5323
 
5175
5324
  // src/mantine/blocks/proposal/actions-components/forms/SendGroupTokenActionForm.tsx
5176
- import React71 from "react";
5177
- import { Stack as Stack55, TextInput as TextInput31 } from "@mantine/core";
5325
+ import React73 from "react";
5326
+ import { Stack as Stack57, TextInput as TextInput31 } from "@mantine/core";
5178
5327
  var inputStyles27 = {
5179
5328
  label: { color: "#adb5bd" },
5180
5329
  input: {
@@ -5187,7 +5336,7 @@ var inputStyles27 = {
5187
5336
  }
5188
5337
  };
5189
5338
  var SendGroupTokenActionForm = ({ data, onChange }) => {
5190
- return /* @__PURE__ */ React71.createElement(Stack55, { gap: "md" }, /* @__PURE__ */ React71.createElement(
5339
+ return /* @__PURE__ */ React73.createElement(Stack57, { gap: "md" }, /* @__PURE__ */ React73.createElement(
5191
5340
  TextInput31,
5192
5341
  {
5193
5342
  label: "Contract Address",
@@ -5197,7 +5346,7 @@ var SendGroupTokenActionForm = ({ data, onChange }) => {
5197
5346
  required: true,
5198
5347
  styles: inputStyles27
5199
5348
  }
5200
- ), /* @__PURE__ */ React71.createElement(
5349
+ ), /* @__PURE__ */ React73.createElement(
5201
5350
  TextInput31,
5202
5351
  {
5203
5352
  label: "Recipient Address",
@@ -5207,12 +5356,12 @@ var SendGroupTokenActionForm = ({ data, onChange }) => {
5207
5356
  required: true,
5208
5357
  styles: inputStyles27
5209
5358
  }
5210
- ), /* @__PURE__ */ React71.createElement(TextInput31, { label: "Amount", placeholder: "1000", value: data.amount, onChange: (e) => onChange({ ...data, amount: e.currentTarget.value }), required: true, styles: inputStyles27 }));
5359
+ ), /* @__PURE__ */ React73.createElement(TextInput31, { label: "Amount", placeholder: "1000", value: data.amount, onChange: (e) => onChange({ ...data, amount: e.currentTarget.value }), required: true, styles: inputStyles27 }));
5211
5360
  };
5212
5361
 
5213
5362
  // src/mantine/blocks/proposal/actions-components/forms/ValidatorActionsActionForm.tsx
5214
- import React72 from "react";
5215
- import { Stack as Stack56, Select as Select9, Textarea as Textarea16 } from "@mantine/core";
5363
+ import React74 from "react";
5364
+ import { Stack as Stack58, Select as Select9, Textarea as Textarea16 } from "@mantine/core";
5216
5365
  var inputStyles28 = {
5217
5366
  label: { color: "#adb5bd" },
5218
5367
  input: {
@@ -5231,7 +5380,7 @@ var ValidatorActionsActionForm = ({ data, onChange }) => {
5231
5380
  { value: "/cosmos.slashing.v1beta1.MsgUnjail" /* UnjailValidator */, label: "Unjail Validator" },
5232
5381
  { value: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission" /* WithdrawValidatorCommission */, label: "Withdraw Commission" }
5233
5382
  ];
5234
- return /* @__PURE__ */ React72.createElement(Stack56, { gap: "md" }, /* @__PURE__ */ React72.createElement(
5383
+ return /* @__PURE__ */ React74.createElement(Stack58, { gap: "md" }, /* @__PURE__ */ React74.createElement(
5235
5384
  Select9,
5236
5385
  {
5237
5386
  label: "Validator Action Type",
@@ -5241,7 +5390,7 @@ var ValidatorActionsActionForm = ({ data, onChange }) => {
5241
5390
  required: true,
5242
5391
  styles: inputStyles28
5243
5392
  }
5244
- ), data.validatorActionType === "/cosmos.staking.v1beta1.MsgCreateValidator" /* CreateValidator */ && /* @__PURE__ */ React72.createElement(
5393
+ ), data.validatorActionType === "/cosmos.staking.v1beta1.MsgCreateValidator" /* CreateValidator */ && /* @__PURE__ */ React74.createElement(
5245
5394
  Textarea16,
5246
5395
  {
5247
5396
  label: "Create Validator Message (JSON)",
@@ -5252,7 +5401,7 @@ var ValidatorActionsActionForm = ({ data, onChange }) => {
5252
5401
  required: true,
5253
5402
  styles: inputStyles28
5254
5403
  }
5255
- ), data.validatorActionType === "/cosmos.staking.v1beta1.MsgEditValidator" /* EditValidator */ && /* @__PURE__ */ React72.createElement(
5404
+ ), data.validatorActionType === "/cosmos.staking.v1beta1.MsgEditValidator" /* EditValidator */ && /* @__PURE__ */ React74.createElement(
5256
5405
  Textarea16,
5257
5406
  {
5258
5407
  label: "Edit Validator Message (JSON)",
@@ -5957,10 +6106,10 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
5957
6106
  };
5958
6107
  const renderActionForm = () => {
5959
6108
  if (!currentActionConfig) {
5960
- return /* @__PURE__ */ React73.createElement(Alert7, { color: "red", style: { backgroundColor: "#2a2a2a", borderColor: "#ff6b6b" } }, /* @__PURE__ */ React73.createElement(Text34, { size: "sm", style: { color: "#ff6b6b" } }, "Unknown action type selected"));
6109
+ return /* @__PURE__ */ React75.createElement(Alert7, { color: "red", style: { backgroundColor: "#2a2a2a", borderColor: "#ff6b6b" } }, /* @__PURE__ */ React75.createElement(Text36, { size: "sm", style: { color: "#ff6b6b" } }, "Unknown action type selected"));
5961
6110
  }
5962
6111
  const FormComponent = currentActionConfig.FormComponent;
5963
- return /* @__PURE__ */ React73.createElement(FormComponent, { data: actionData, onChange: setActionData, isTemplateMode });
6112
+ return /* @__PURE__ */ React75.createElement(FormComponent, { data: actionData, onChange: setActionData, isTemplateMode });
5964
6113
  };
5965
6114
  const getCategoryColor = (category) => {
5966
6115
  const colors = {
@@ -5975,7 +6124,7 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
5975
6124
  };
5976
6125
  return colors[category] || "#6b7280";
5977
6126
  };
5978
- return /* @__PURE__ */ React73.createElement(Stack57, { style: { backgroundColor: "#1a1a1a", color: "#f1f3f5", height: "100%" } }, /* @__PURE__ */ React73.createElement(Text34, { size: "lg", fw: 600, style: { color: "#f1f3f5" } }, isEditing ? "Edit Action" : "Add New Action"), !isEditing ? /* @__PURE__ */ React73.createElement(Stack57, { gap: "md" }, /* @__PURE__ */ React73.createElement(Text34, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Select Action Type"), /* @__PURE__ */ React73.createElement(
6127
+ return /* @__PURE__ */ React75.createElement(Stack59, { style: { backgroundColor: "#1a1a1a", color: "#f1f3f5", height: "100%" } }, /* @__PURE__ */ React75.createElement(Text36, { size: "lg", fw: 600, style: { color: "#f1f3f5" } }, isEditing ? "Edit Action" : "Add New Action"), !isEditing ? /* @__PURE__ */ React75.createElement(Stack59, { gap: "md" }, /* @__PURE__ */ React75.createElement(Text36, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Select Action Type"), /* @__PURE__ */ React75.createElement(
5979
6128
  Tabs2,
5980
6129
  {
5981
6130
  defaultValue: ACTION_CATEGORIES[0].id,
@@ -5996,8 +6145,8 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
5996
6145
  panel: { paddingTop: "md" }
5997
6146
  }
5998
6147
  },
5999
- /* @__PURE__ */ React73.createElement(Tabs2.List, null, ACTION_CATEGORIES.map((category) => /* @__PURE__ */ React73.createElement(Tabs2.Tab, { key: category.id, value: category.id }, /* @__PURE__ */ React73.createElement(Group19, { gap: "xs" }, /* @__PURE__ */ React73.createElement("span", null, category.icon), /* @__PURE__ */ React73.createElement("span", null, category.label))))),
6000
- ACTION_CATEGORIES.map((category) => /* @__PURE__ */ React73.createElement(Tabs2.Panel, { key: category.id, value: category.id, mt: 10 }, /* @__PURE__ */ React73.createElement(SimpleGrid, { cols: 2, spacing: "xs" }, (categorizedActions.get(category.id) || []).map((config) => /* @__PURE__ */ React73.createElement(
6148
+ /* @__PURE__ */ React75.createElement(Tabs2.List, null, ACTION_CATEGORIES.map((category) => /* @__PURE__ */ React75.createElement(Tabs2.Tab, { key: category.id, value: category.id }, /* @__PURE__ */ React75.createElement(Group19, { gap: "xs" }, /* @__PURE__ */ React75.createElement("span", null, category.icon), /* @__PURE__ */ React75.createElement("span", null, category.label))))),
6149
+ ACTION_CATEGORIES.map((category) => /* @__PURE__ */ React75.createElement(Tabs2.Panel, { key: category.id, value: category.id, mt: 10 }, /* @__PURE__ */ React75.createElement(SimpleGrid, { cols: 2, spacing: "xs" }, (categorizedActions.get(category.id) || []).map((config) => /* @__PURE__ */ React75.createElement(
6001
6150
  Paper5,
6002
6151
  {
6003
6152
  key: config.value,
@@ -6011,9 +6160,9 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6011
6160
  },
6012
6161
  onClick: () => setSelectedActionType(config.value)
6013
6162
  },
6014
- /* @__PURE__ */ React73.createElement(Stack57, { gap: "xs" }, /* @__PURE__ */ React73.createElement(Group19, { justify: "space-between" }, /* @__PURE__ */ React73.createElement(Text34, { size: "sm", fw: 500, style: { color: "#f1f3f5" } }, config.label), selectedActionType === config.value && /* @__PURE__ */ React73.createElement(Badge8, { size: "xs", style: { backgroundColor: "#4dabf7" } }, "Selected")), config.description && /* @__PURE__ */ React73.createElement(Text34, { size: "xs", style: { color: "#adb5bd" } }, config.description))
6163
+ /* @__PURE__ */ React75.createElement(Stack59, { gap: "xs" }, /* @__PURE__ */ React75.createElement(Group19, { justify: "space-between" }, /* @__PURE__ */ React75.createElement(Text36, { size: "sm", fw: 500, style: { color: "#f1f3f5" } }, config.label), selectedActionType === config.value && /* @__PURE__ */ React75.createElement(Badge8, { size: "xs", style: { backgroundColor: "#4dabf7" } }, "Selected")), config.description && /* @__PURE__ */ React75.createElement(Text36, { size: "xs", style: { color: "#adb5bd" } }, config.description))
6015
6164
  )))))
6016
- )) : /* @__PURE__ */ React73.createElement(
6165
+ )) : /* @__PURE__ */ React75.createElement(
6017
6166
  Card12,
6018
6167
  {
6019
6168
  withBorder: true,
@@ -6023,7 +6172,7 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6023
6172
  borderColor: "#333"
6024
6173
  }
6025
6174
  },
6026
- /* @__PURE__ */ React73.createElement(Group19, { justify: "space-between" }, /* @__PURE__ */ React73.createElement(Group19, { gap: "xs" }, /* @__PURE__ */ React73.createElement(
6175
+ /* @__PURE__ */ React75.createElement(Group19, { justify: "space-between" }, /* @__PURE__ */ React75.createElement(Group19, { gap: "xs" }, /* @__PURE__ */ React75.createElement(
6027
6176
  Badge8,
6028
6177
  {
6029
6178
  size: "sm",
@@ -6033,10 +6182,10 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6033
6182
  }
6034
6183
  },
6035
6184
  currentActionConfig?.label || selectedActionType
6036
- ), /* @__PURE__ */ React73.createElement(Text34, { size: "sm", style: { color: "#adb5bd" } }, "(Editing)")))
6037
- ), /* @__PURE__ */ React73.createElement(Divider4, { color: "#333" }), /* @__PURE__ */ React73.createElement(ScrollArea3, { style: { flex: 1 } }, renderActionForm()), /* @__PURE__ */ React73.createElement(Divider4, { color: "#333" }), /* @__PURE__ */ React73.createElement(Stack57, { gap: "xs" }, /* @__PURE__ */ React73.createElement(Text34, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Current Actions (", actions.length, ")"), /* @__PURE__ */ React73.createElement(ScrollArea3, { h: 100 }, /* @__PURE__ */ React73.createElement(Stack57, { gap: "xs" }, actions.map((action, index) => {
6185
+ ), /* @__PURE__ */ React75.createElement(Text36, { size: "sm", style: { color: "#adb5bd" } }, "(Editing)")))
6186
+ ), /* @__PURE__ */ React75.createElement(Divider4, { color: "#333" }), /* @__PURE__ */ React75.createElement(ScrollArea3, { style: { flex: 1 } }, renderActionForm()), /* @__PURE__ */ React75.createElement(Divider4, { color: "#333" }), /* @__PURE__ */ React75.createElement(Stack59, { gap: "xs" }, /* @__PURE__ */ React75.createElement(Text36, { size: "sm", fw: 500, style: { color: "#adb5bd" } }, "Current Actions (", actions.length, ")"), /* @__PURE__ */ React75.createElement(ScrollArea3, { h: 100 }, /* @__PURE__ */ React75.createElement(Stack59, { gap: "xs" }, actions.map((action, index) => {
6038
6187
  const config = getActionConfig(action.type);
6039
- return /* @__PURE__ */ React73.createElement(
6188
+ return /* @__PURE__ */ React75.createElement(
6040
6189
  Card12,
6041
6190
  {
6042
6191
  key: index,
@@ -6049,7 +6198,7 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6049
6198
  opacity: index === editingIndex ? 0.7 : 1
6050
6199
  }
6051
6200
  },
6052
- /* @__PURE__ */ React73.createElement(Group19, { gap: "xs" }, /* @__PURE__ */ React73.createElement(
6201
+ /* @__PURE__ */ React75.createElement(Group19, { gap: "xs" }, /* @__PURE__ */ React75.createElement(
6053
6202
  Badge8,
6054
6203
  {
6055
6204
  size: "sm",
@@ -6059,9 +6208,9 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6059
6208
  }
6060
6209
  },
6061
6210
  config?.label || action.type
6062
- ), /* @__PURE__ */ React73.createElement(Text34, { size: "sm", style: { color: "#adb5bd" } }, config?.getSummary(action.data) || "Action"), index === editingIndex && /* @__PURE__ */ React73.createElement(Badge8, { size: "xs", style: { backgroundColor: "#4dabf7", color: "#fff" } }, "Editing"))
6211
+ ), /* @__PURE__ */ React75.createElement(Text36, { size: "sm", style: { color: "#adb5bd" } }, config?.getSummary(action.data) || "Action"), index === editingIndex && /* @__PURE__ */ React75.createElement(Badge8, { size: "xs", style: { backgroundColor: "#4dabf7", color: "#fff" } }, "Editing"))
6063
6212
  );
6064
- })))), /* @__PURE__ */ React73.createElement(Group19, { justify: "flex-end", mt: "md" }, /* @__PURE__ */ React73.createElement(
6213
+ })))), /* @__PURE__ */ React75.createElement(Group19, { justify: "flex-end", mt: "md" }, /* @__PURE__ */ React75.createElement(
6065
6214
  Button11,
6066
6215
  {
6067
6216
  variant: "default",
@@ -6076,7 +6225,7 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6076
6225
  }
6077
6226
  },
6078
6227
  "Cancel"
6079
- ), /* @__PURE__ */ React73.createElement(
6228
+ ), /* @__PURE__ */ React75.createElement(
6080
6229
  Button11,
6081
6230
  {
6082
6231
  onClick: handleSave,
@@ -6149,8 +6298,8 @@ var ActionsTab = ({ actions, onActionsChange, editor, block }) => {
6149
6298
  setIsEditorVisible(false);
6150
6299
  setEditingIndex(null);
6151
6300
  }, []);
6152
- return /* @__PURE__ */ React74.createElement(Stack58, { gap: "md" }, /* @__PURE__ */ React74.createElement(ActionsCard, { actions: currentActions, isSelected: false, onClick: () => {
6153
- }, onEditAction: handleEditAction, onRemoveAction: handleRemoveAction }), isEditorVisible && /* @__PURE__ */ React74.createElement(
6301
+ return /* @__PURE__ */ React76.createElement(Stack60, { gap: "md" }, /* @__PURE__ */ React76.createElement(ActionsCard, { actions: currentActions, isSelected: false, onClick: () => {
6302
+ }, onEditAction: handleEditAction, onRemoveAction: handleRemoveAction }), isEditorVisible && /* @__PURE__ */ React76.createElement(
6154
6303
  Card13,
6155
6304
  {
6156
6305
  withBorder: true,
@@ -6161,15 +6310,15 @@ var ActionsTab = ({ actions, onActionsChange, editor, block }) => {
6161
6310
  borderColor: "#333"
6162
6311
  }
6163
6312
  },
6164
- /* @__PURE__ */ React74.createElement(ActionsPanel, { actions: currentActions, editingIndex, onSave: handleSaveAction, onCancel: handleCancelEditor, isTemplateMode: true })
6313
+ /* @__PURE__ */ React76.createElement(ActionsPanel, { actions: currentActions, editingIndex, onSave: handleSaveAction, onCancel: handleCancelEditor, isTemplateMode: true })
6165
6314
  ));
6166
6315
  };
6167
6316
 
6168
6317
  // src/mantine/blocks/proposal/template/VoteTab.tsx
6169
- import React75 from "react";
6170
- import { Stack as Stack59, TextInput as TextInput32 } from "@mantine/core";
6318
+ import React77 from "react";
6319
+ import { Stack as Stack61, TextInput as TextInput32 } from "@mantine/core";
6171
6320
  var VoteTab = ({ voteTitle, voteSubtitle, voteIcon, onVoteTitleChange, onVoteSubtitleChange, onVoteIconChange }) => {
6172
- return /* @__PURE__ */ React75.createElement(Stack59, { gap: "md" }, /* @__PURE__ */ React75.createElement(TextInput32, { label: "Vote Button Title", placeholder: "Vote on this proposal", value: voteTitle, onChange: (event) => onVoteTitleChange(event.currentTarget.value) }), /* @__PURE__ */ React75.createElement(TextInput32, { label: "Vote Button Subtitle", placeholder: "Cast your vote", value: voteSubtitle, onChange: (event) => onVoteSubtitleChange(event.currentTarget.value) }), /* @__PURE__ */ React75.createElement(TextInput32, { label: "Vote Icon", placeholder: "checklist", value: voteIcon, onChange: (event) => onVoteIconChange(event.currentTarget.value) }));
6321
+ return /* @__PURE__ */ React77.createElement(Stack61, { gap: "md" }, /* @__PURE__ */ React77.createElement(TextInput32, { label: "Vote Button Title", placeholder: "Vote on this proposal", value: voteTitle, onChange: (event) => onVoteTitleChange(event.currentTarget.value) }), /* @__PURE__ */ React77.createElement(TextInput32, { label: "Vote Button Subtitle", placeholder: "Cast your vote", value: voteSubtitle, onChange: (event) => onVoteSubtitleChange(event.currentTarget.value) }), /* @__PURE__ */ React77.createElement(TextInput32, { label: "Vote Icon", placeholder: "checklist", value: voteIcon, onChange: (event) => onVoteIconChange(event.currentTarget.value) }));
6173
6322
  };
6174
6323
 
6175
6324
  // src/mantine/blocks/proposal/template/TemplateConfig.tsx
@@ -6186,7 +6335,7 @@ var TemplateConfig3 = ({ editor, block }) => {
6186
6335
  },
6187
6336
  [editor, block]
6188
6337
  );
6189
- return /* @__PURE__ */ React76.createElement(
6338
+ return /* @__PURE__ */ React78.createElement(
6190
6339
  Paper6,
6191
6340
  {
6192
6341
  p: "md",
@@ -6197,7 +6346,7 @@ var TemplateConfig3 = ({ editor, block }) => {
6197
6346
  flexDirection: "column"
6198
6347
  }
6199
6348
  },
6200
- /* @__PURE__ */ React76.createElement(
6349
+ /* @__PURE__ */ React78.createElement(
6201
6350
  "div",
6202
6351
  {
6203
6352
  style: {
@@ -6207,17 +6356,17 @@ var TemplateConfig3 = ({ editor, block }) => {
6207
6356
  marginBottom: "1rem"
6208
6357
  }
6209
6358
  },
6210
- /* @__PURE__ */ React76.createElement(Title4, { order: 3 }, "Proposal Settings"),
6211
- /* @__PURE__ */ React76.createElement(CloseButton4, { onClick: closePanel })
6359
+ /* @__PURE__ */ React78.createElement(Title4, { order: 3 }, "Proposal Settings"),
6360
+ /* @__PURE__ */ React78.createElement(CloseButton4, { onClick: closePanel })
6212
6361
  ),
6213
- /* @__PURE__ */ React76.createElement(
6362
+ /* @__PURE__ */ React78.createElement(
6214
6363
  ReusablePanel,
6215
6364
  {
6216
6365
  extraTabs: [
6217
6366
  {
6218
6367
  label: "General",
6219
6368
  value: "general",
6220
- content: /* @__PURE__ */ React76.createElement(
6369
+ content: /* @__PURE__ */ React78.createElement(
6221
6370
  GeneralTab3,
6222
6371
  {
6223
6372
  title: block.props.title || "",
@@ -6232,12 +6381,12 @@ var TemplateConfig3 = ({ editor, block }) => {
6232
6381
  {
6233
6382
  label: "Actions",
6234
6383
  value: "actions",
6235
- content: /* @__PURE__ */ React76.createElement(ActionsTab, { actions: block.props.actions || "[]", onActionsChange: (actions) => updateProp("actions", JSON.stringify(actions)), editor, block })
6384
+ content: /* @__PURE__ */ React78.createElement(ActionsTab, { actions: block.props.actions || "[]", onActionsChange: (actions) => updateProp("actions", JSON.stringify(actions)), editor, block })
6236
6385
  },
6237
6386
  {
6238
6387
  label: "Vote",
6239
6388
  value: "vote",
6240
- content: /* @__PURE__ */ React76.createElement(
6389
+ content: /* @__PURE__ */ React78.createElement(
6241
6390
  VoteTab,
6242
6391
  {
6243
6392
  voteTitle: block.props.voteTitle || "",
@@ -6257,21 +6406,21 @@ var TemplateConfig3 = ({ editor, block }) => {
6257
6406
  };
6258
6407
 
6259
6408
  // src/mantine/blocks/proposal/template/TemplateView.tsx
6260
- import { Card as Card14, Group as Group20, Stack as Stack60, Text as Text35, ActionIcon as ActionIcon7 } from "@mantine/core";
6409
+ import { Card as Card14, Group as Group20, Stack as Stack62, Text as Text37, ActionIcon as ActionIcon7 } from "@mantine/core";
6261
6410
  var PROPOSAL_TEMPLATE_PANEL_ID = "proposal-template-panel";
6262
6411
  var ProposalTemplateView = ({ editor, block }) => {
6263
6412
  const panelId = `${PROPOSAL_TEMPLATE_PANEL_ID}-${block.id}`;
6264
- const panelContent = useMemo10(() => /* @__PURE__ */ React77.createElement(TemplateConfig3, { editor, block }), [editor, block]);
6413
+ const panelContent = useMemo10(() => /* @__PURE__ */ React79.createElement(TemplateConfig3, { editor, block }), [editor, block]);
6265
6414
  const { open } = usePanel(panelId, panelContent);
6266
- return /* @__PURE__ */ React77.createElement(Card14, { withBorder: true, padding: "md", radius: "md", style: { width: "100%", cursor: "pointer" }, onClick: open }, /* @__PURE__ */ React77.createElement(Group20, { wrap: "nowrap", justify: "space-between", align: "center" }, /* @__PURE__ */ React77.createElement(Group20, { wrap: "nowrap", align: "center" }, /* @__PURE__ */ React77.createElement(ActionIcon7, { variant: "light", color: "blue", size: "lg", radius: "xl", style: { flexShrink: 0 } }, getIcon(block.props.icon, 18, 1.5, "file-text")), /* @__PURE__ */ React77.createElement(Stack60, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React77.createElement(Text35, { fw: 500, size: "sm", contentEditable: false }, block.props.title || "Proposal Title"), /* @__PURE__ */ React77.createElement(Text35, { size: "xs", c: "dimmed", contentEditable: false }, block.props.description || "Proposal description"))), /* @__PURE__ */ React77.createElement(Text35, { size: "xs", c: "dimmed", contentEditable: false }, block.props.status || "draft")));
6415
+ return /* @__PURE__ */ React79.createElement(Card14, { withBorder: true, padding: "md", radius: "md", style: { width: "100%", cursor: "pointer" }, onClick: open }, /* @__PURE__ */ React79.createElement(Group20, { wrap: "nowrap", justify: "space-between", align: "center" }, /* @__PURE__ */ React79.createElement(Group20, { wrap: "nowrap", align: "center" }, /* @__PURE__ */ React79.createElement(ActionIcon7, { variant: "light", color: "blue", size: "lg", radius: "xl", style: { flexShrink: 0 } }, getIcon(block.props.icon, 18, 1.5, "file-text")), /* @__PURE__ */ React79.createElement(Stack62, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React79.createElement(Text37, { fw: 500, size: "sm", contentEditable: false }, block.props.title || "Proposal Title"), /* @__PURE__ */ React79.createElement(Text37, { size: "xs", c: "dimmed", contentEditable: false }, block.props.description || "Proposal description"))), /* @__PURE__ */ React79.createElement(Text37, { size: "xs", c: "dimmed", contentEditable: false }, block.props.status || "draft")));
6267
6416
  };
6268
6417
 
6269
6418
  // src/mantine/blocks/proposal/flow/FlowView.tsx
6270
- import React82, { useMemo as useMemo11 } from "react";
6419
+ import React84, { useMemo as useMemo11 } from "react";
6271
6420
 
6272
6421
  // src/mantine/blocks/proposal/components/OnChainProposalCard.tsx
6273
- import React78 from "react";
6274
- import { Card as Card15, Group as Group21, Stack as Stack61, Text as Text36, Skeleton, Badge as Badge9, Button as Button13, ActionIcon as ActionIcon8 } from "@mantine/core";
6422
+ import React80 from "react";
6423
+ import { Card as Card15, Group as Group21, Stack as Stack63, Text as Text38, Skeleton, Badge as Badge9, Button as Button13, ActionIcon as ActionIcon8 } from "@mantine/core";
6275
6424
  var statusColor = {
6276
6425
  open: "#4dabf7",
6277
6426
  passed: "#51cf66",
@@ -6300,7 +6449,7 @@ var OnChainProposalCard = ({
6300
6449
  onVote,
6301
6450
  voteEnabled = false
6302
6451
  }) => {
6303
- return /* @__PURE__ */ React78.createElement(
6452
+ return /* @__PURE__ */ React80.createElement(
6304
6453
  Card15,
6305
6454
  {
6306
6455
  shadow: "sm",
@@ -6313,9 +6462,9 @@ var OnChainProposalCard = ({
6313
6462
  },
6314
6463
  onClick
6315
6464
  },
6316
- isFetching && /* @__PURE__ */ React78.createElement(Stack61, null, /* @__PURE__ */ React78.createElement(Skeleton, { height: 20, width: "70%" }), /* @__PURE__ */ React78.createElement(Skeleton, { height: 16 }), /* @__PURE__ */ React78.createElement(Skeleton, { height: 16, width: "40%" })),
6317
- error && /* @__PURE__ */ React78.createElement(Text36, { size: "sm", c: "red" }, typeof error === "string" ? error : error.message || "An error occurred while loading the proposal."),
6318
- !isFetching && /* @__PURE__ */ React78.createElement(Group21, { justify: "space-between", align: "flex-start" }, /* @__PURE__ */ React78.createElement(Group21, { align: "flex-start", gap: "md", style: { flex: 1 } }, /* @__PURE__ */ React78.createElement(ActionIcon8, { variant: "light", color: "blue", size: "xl", radius: "xl", style: { flexShrink: 0 } }, getIcon(icon, 24, 1.5, "file-text")), /* @__PURE__ */ React78.createElement(Stack61, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React78.createElement(Group21, { gap: "xs" }, /* @__PURE__ */ React78.createElement(Text36, { size: "md", fw: 600 }, title || "Proposal"), /* @__PURE__ */ React78.createElement(Badge9, { color: statusColor[status], variant: "filled", size: "sm", radius: "sm" }, status.replace(/_/g, " ").toUpperCase())), /* @__PURE__ */ React78.createElement(Text36, { size: "sm", c: "dimmed" }, getDisplayDescription(description)))), /* @__PURE__ */ React78.createElement(Group21, { gap: "xs" }, voteEnabled && onVote && status === "open" && /* @__PURE__ */ React78.createElement(
6465
+ isFetching && /* @__PURE__ */ React80.createElement(Stack63, null, /* @__PURE__ */ React80.createElement(Skeleton, { height: 20, width: "70%" }), /* @__PURE__ */ React80.createElement(Skeleton, { height: 16 }), /* @__PURE__ */ React80.createElement(Skeleton, { height: 16, width: "40%" })),
6466
+ error && /* @__PURE__ */ React80.createElement(Text38, { size: "sm", c: "red" }, typeof error === "string" ? error : error.message || "An error occurred while loading the proposal."),
6467
+ !isFetching && /* @__PURE__ */ React80.createElement(Group21, { justify: "space-between", align: "flex-start" }, /* @__PURE__ */ React80.createElement(Group21, { align: "flex-start", gap: "md", style: { flex: 1 } }, /* @__PURE__ */ React80.createElement(ActionIcon8, { variant: "light", color: "blue", size: "xl", radius: "xl", style: { flexShrink: 0 } }, getIcon(icon, 24, 1.5, "file-text")), /* @__PURE__ */ React80.createElement(Stack63, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React80.createElement(Group21, { gap: "xs" }, /* @__PURE__ */ React80.createElement(Text38, { size: "md", fw: 600 }, title || "Proposal"), /* @__PURE__ */ React80.createElement(Badge9, { color: statusColor[status], variant: "filled", size: "sm", radius: "sm" }, status.replace(/_/g, " ").toUpperCase())), /* @__PURE__ */ React80.createElement(Text38, { size: "sm", c: "dimmed" }, getDisplayDescription(description)))), /* @__PURE__ */ React80.createElement(Group21, { gap: "xs" }, voteEnabled && onVote && status === "open" && /* @__PURE__ */ React80.createElement(
6319
6468
  Button13,
6320
6469
  {
6321
6470
  size: "sm",
@@ -6328,7 +6477,7 @@ var OnChainProposalCard = ({
6328
6477
  style: { flexShrink: 0 }
6329
6478
  },
6330
6479
  "Vote"
6331
- ), status === "passed" && onExecute && /* @__PURE__ */ React78.createElement(
6480
+ ), status === "passed" && onExecute && /* @__PURE__ */ React80.createElement(
6332
6481
  Button13,
6333
6482
  {
6334
6483
  size: "sm",
@@ -6347,8 +6496,8 @@ var OnChainProposalCard = ({
6347
6496
  };
6348
6497
 
6349
6498
  // src/mantine/blocks/proposal/flow/FlowConfig.tsx
6350
- import React81, { useCallback as useCallback14, useState as useState21 } from "react";
6351
- import { Paper as Paper7, CloseButton as CloseButton5, Title as Title5, Stack as Stack64, TextInput as TextInput33, Textarea as Textarea18, Button as Button16, Text as Text39, Card as Card18 } from "@mantine/core";
6499
+ import React83, { useCallback as useCallback14, useState as useState21 } from "react";
6500
+ import { Paper as Paper7, CloseButton as CloseButton5, Title as Title5, Stack as Stack66, TextInput as TextInput33, Textarea as Textarea18, Button as Button16, Text as Text41, Card as Card18 } from "@mantine/core";
6352
6501
 
6353
6502
  // src/mantine/blocks/proposal/flow/useFlowBusinessLogic.ts
6354
6503
  import { useEffect as useEffect12, useState as useState17 } from "react";
@@ -6588,8 +6737,8 @@ var useVoteBusinessLogic = ({ block, editor }) => {
6588
6737
  };
6589
6738
 
6590
6739
  // src/mantine/blocks/proposal/flow/VoteGeneralTab.tsx
6591
- import React79, { useState as useState19 } from "react";
6592
- import { Stack as Stack62, Text as Text37, Group as Group22, Card as Card16, Button as Button14, Progress as Progress2, Box as Box14, Textarea as Textarea17, Tooltip as Tooltip3 } from "@mantine/core";
6740
+ import React81, { useState as useState19 } from "react";
6741
+ import { Stack as Stack64, Text as Text39, Group as Group22, Card as Card16, Button as Button14, Progress as Progress2, Box as Box16, Textarea as Textarea17, Tooltip as Tooltip3 } from "@mantine/core";
6593
6742
  var getVoteIcon = (voteType) => {
6594
6743
  switch (voteType) {
6595
6744
  case "yes":
@@ -6631,7 +6780,7 @@ var FlowGeneralTab = ({
6631
6780
  setRationale("");
6632
6781
  }
6633
6782
  };
6634
- return /* @__PURE__ */ React79.createElement(Stack62, { gap: "lg" }, !hasSubmittedProposal && /* @__PURE__ */ React79.createElement(
6783
+ return /* @__PURE__ */ React81.createElement(Stack64, { gap: "lg" }, !hasSubmittedProposal && /* @__PURE__ */ React81.createElement(
6635
6784
  Card16,
6636
6785
  {
6637
6786
  padding: "md",
@@ -6642,8 +6791,8 @@ var FlowGeneralTab = ({
6642
6791
  color: "#f1f3f5"
6643
6792
  }
6644
6793
  },
6645
- /* @__PURE__ */ React79.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React79.createElement(
6646
- Box14,
6794
+ /* @__PURE__ */ React81.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React81.createElement(
6795
+ Box16,
6647
6796
  {
6648
6797
  style: {
6649
6798
  width: 8,
@@ -6652,9 +6801,9 @@ var FlowGeneralTab = ({
6652
6801
  borderRadius: "50%"
6653
6802
  }
6654
6803
  }
6655
- ), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", fw: 500, style: { color: "#ffd43b" } }, "Waiting for Proposal Submission")),
6656
- /* @__PURE__ */ React79.createElement(Text37, { size: "xs", style: { color: "#adb5bd", marginTop: 4 } }, "The connected proposal needs to be submitted before voting can begin.")
6657
- ), /* @__PURE__ */ React79.createElement(
6804
+ ), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", fw: 500, style: { color: "#ffd43b" } }, "Waiting for Proposal Submission")),
6805
+ /* @__PURE__ */ React81.createElement(Text39, { size: "xs", style: { color: "#adb5bd", marginTop: 4 } }, "The connected proposal needs to be submitted before voting can begin.")
6806
+ ), /* @__PURE__ */ React81.createElement(
6658
6807
  Card16,
6659
6808
  {
6660
6809
  padding: "lg",
@@ -6666,8 +6815,8 @@ var FlowGeneralTab = ({
6666
6815
  opacity: !hasSubmittedProposal ? 0.6 : 1
6667
6816
  }
6668
6817
  },
6669
- /* @__PURE__ */ React79.createElement(Stack62, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React79.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React79.createElement(
6670
- Box14,
6818
+ /* @__PURE__ */ React81.createElement(Stack64, { gap: "xs" }, /* @__PURE__ */ React81.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React81.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React81.createElement(
6819
+ Box16,
6671
6820
  {
6672
6821
  w: 8,
6673
6822
  h: 8,
@@ -6676,8 +6825,8 @@ var FlowGeneralTab = ({
6676
6825
  borderRadius: "50%"
6677
6826
  }
6678
6827
  }
6679
- ), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", style: { color: "#adb5bd" } }, "Status")), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", fw: 500, style: { color: "#f1f3f5" } }, hasSubmittedProposal ? proposalStatus === "open" ? "Active" : proposalStatus || "Active" : "Waiting")), /* @__PURE__ */ React79.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React79.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Box14, { w: 8, h: 8, style: { backgroundColor: "#adb5bd", borderRadius: "50%" } }), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", style: { color: "#adb5bd" } }, "Proposal ID")), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", fw: 500, style: { color: "#f1f3f5" } }, hasSubmittedProposal ? `#${proposalId}` : "TBD")), /* @__PURE__ */ React79.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React79.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Box14, { w: 8, h: 8, style: { backgroundColor: "#adb5bd", borderRadius: "50%" } }), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", style: { color: "#adb5bd" } }, "Title")), /* @__PURE__ */ React79.createElement(
6680
- Text37,
6828
+ ), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", style: { color: "#adb5bd" } }, "Status")), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", fw: 500, style: { color: "#f1f3f5" } }, hasSubmittedProposal ? proposalStatus === "open" ? "Active" : proposalStatus || "Active" : "Waiting")), /* @__PURE__ */ React81.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React81.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React81.createElement(Box16, { w: 8, h: 8, style: { backgroundColor: "#adb5bd", borderRadius: "50%" } }), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", style: { color: "#adb5bd" } }, "Proposal ID")), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", fw: 500, style: { color: "#f1f3f5" } }, hasSubmittedProposal ? `#${proposalId}` : "TBD")), /* @__PURE__ */ React81.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React81.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React81.createElement(Box16, { w: 8, h: 8, style: { backgroundColor: "#adb5bd", borderRadius: "50%" } }), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", style: { color: "#adb5bd" } }, "Title")), /* @__PURE__ */ React81.createElement(
6829
+ Text39,
6681
6830
  {
6682
6831
  size: "sm",
6683
6832
  fw: 500,
@@ -6686,8 +6835,8 @@ var FlowGeneralTab = ({
6686
6835
  }
6687
6836
  },
6688
6837
  hasSubmittedProposal ? proposalTitle || "Untitled" : "N/A"
6689
- )), /* @__PURE__ */ React79.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React79.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Box14, { w: 8, h: 8, style: { backgroundColor: "#adb5bd", borderRadius: "50%" } }), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", style: { color: "#adb5bd" } }, "Description")), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", fw: 500, style: { color: "#f1f3f5" }, title: proposalDescription }, hasSubmittedProposal ? proposalDescription ? proposalDescription.length > 30 ? proposalDescription.substring(0, 30) + "..." : proposalDescription : "No description" : "N/A")), /* @__PURE__ */ React79.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React79.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Box14, { w: 8, h: 8, style: { backgroundColor: "#adb5bd", borderRadius: "50%" } }), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", style: { color: "#adb5bd" } }, "My Vote")), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", fw: 500, style: { color: "#f1f3f5" } }, hasSubmittedProposal ? userVote?.vote ? userVote.vote.vote : "Pending" : "N/A"))),
6690
- /* @__PURE__ */ React79.createElement(Stack62, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Text37, { size: "sm", style: { color: "#adb5bd" } }, hasSubmittedProposal ? "Voting is open" : "Voting pending"), /* @__PURE__ */ React79.createElement(
6838
+ )), /* @__PURE__ */ React81.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React81.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React81.createElement(Box16, { w: 8, h: 8, style: { backgroundColor: "#adb5bd", borderRadius: "50%" } }), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", style: { color: "#adb5bd" } }, "Description")), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", fw: 500, style: { color: "#f1f3f5" }, title: proposalDescription }, hasSubmittedProposal ? proposalDescription ? proposalDescription.length > 30 ? proposalDescription.substring(0, 30) + "..." : proposalDescription : "No description" : "N/A")), /* @__PURE__ */ React81.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React81.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React81.createElement(Box16, { w: 8, h: 8, style: { backgroundColor: "#adb5bd", borderRadius: "50%" } }), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", style: { color: "#adb5bd" } }, "My Vote")), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", fw: 500, style: { color: "#f1f3f5" } }, hasSubmittedProposal ? userVote?.vote ? userVote.vote.vote : "Pending" : "N/A"))),
6839
+ /* @__PURE__ */ React81.createElement(Stack64, { gap: "xs" }, /* @__PURE__ */ React81.createElement(Text39, { size: "sm", style: { color: "#adb5bd" } }, hasSubmittedProposal ? "Voting is open" : "Voting pending"), /* @__PURE__ */ React81.createElement(
6691
6840
  Progress2,
6692
6841
  {
6693
6842
  value: hasSubmittedProposal ? 75 : 0,
@@ -6700,7 +6849,7 @@ var FlowGeneralTab = ({
6700
6849
  }
6701
6850
  }
6702
6851
  ))
6703
- ), hasSubmittedProposal && !hasVoted && (status === "open" || proposalStatus === "open") && /* @__PURE__ */ React79.createElement(Stack62, { gap: "lg" }, disabled && isDisabled?.message && /* @__PURE__ */ React79.createElement(
6852
+ ), hasSubmittedProposal && !hasVoted && (status === "open" || proposalStatus === "open") && /* @__PURE__ */ React81.createElement(Stack64, { gap: "lg" }, disabled && isDisabled?.message && /* @__PURE__ */ React81.createElement(
6704
6853
  Card16,
6705
6854
  {
6706
6855
  padding: "md",
@@ -6711,8 +6860,8 @@ var FlowGeneralTab = ({
6711
6860
  color: "#f1f3f5"
6712
6861
  }
6713
6862
  },
6714
- /* @__PURE__ */ React79.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React79.createElement(
6715
- Box14,
6863
+ /* @__PURE__ */ React81.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React81.createElement(
6864
+ Box16,
6716
6865
  {
6717
6866
  style: {
6718
6867
  width: 8,
@@ -6721,8 +6870,8 @@ var FlowGeneralTab = ({
6721
6870
  borderRadius: "50%"
6722
6871
  }
6723
6872
  }
6724
- ), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", fw: 500, style: { color: "#ffd43b" } }, isDisabled.message))
6725
- ), /* @__PURE__ */ React79.createElement(Stack62, { gap: "md" }, ["yes", "no", "no_with_veto", "abstain"].map((voteType) => /* @__PURE__ */ React79.createElement(Tooltip3, { key: voteType, label: disabled ? isDisabled?.message : void 0, disabled: !disabled, position: "top" }, /* @__PURE__ */ React79.createElement(
6873
+ ), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", fw: 500, style: { color: "#ffd43b" } }, isDisabled.message))
6874
+ ), /* @__PURE__ */ React81.createElement(Stack64, { gap: "md" }, ["yes", "no", "no_with_veto", "abstain"].map((voteType) => /* @__PURE__ */ React81.createElement(Tooltip3, { key: voteType, label: disabled ? isDisabled?.message : void 0, disabled: !disabled, position: "top" }, /* @__PURE__ */ React81.createElement(
6726
6875
  Button14,
6727
6876
  {
6728
6877
  variant: "outline",
@@ -6741,8 +6890,8 @@ var FlowGeneralTab = ({
6741
6890
  opacity: disabled ? 0.5 : 1
6742
6891
  }
6743
6892
  },
6744
- /* @__PURE__ */ React79.createElement(Text37, { fw: 500, tt: "capitalize", style: { textAlign: "left" } }, voteType === "no_with_veto" ? "No with Veto" : voteType)
6745
- )))), /* @__PURE__ */ React79.createElement(Stack62, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Text37, { size: "sm", style: { color: "#adb5bd" } }, "Rationale (optional)"), /* @__PURE__ */ React79.createElement(
6893
+ /* @__PURE__ */ React81.createElement(Text39, { fw: 500, tt: "capitalize", style: { textAlign: "left" } }, voteType === "no_with_veto" ? "No with Veto" : voteType)
6894
+ )))), /* @__PURE__ */ React81.createElement(Stack64, { gap: "xs" }, /* @__PURE__ */ React81.createElement(Text39, { size: "sm", style: { color: "#adb5bd" } }, "Rationale (optional)"), /* @__PURE__ */ React81.createElement(
6746
6895
  Textarea17,
6747
6896
  {
6748
6897
  value: rationale,
@@ -6759,7 +6908,7 @@ var FlowGeneralTab = ({
6759
6908
  }
6760
6909
  }
6761
6910
  }
6762
- ))), (status === "executed" || proposalStatus === "executed") && /* @__PURE__ */ React79.createElement(
6911
+ ))), (status === "executed" || proposalStatus === "executed") && /* @__PURE__ */ React81.createElement(
6763
6912
  Card16,
6764
6913
  {
6765
6914
  padding: "md",
@@ -6769,8 +6918,8 @@ var FlowGeneralTab = ({
6769
6918
  border: "1px solid #333"
6770
6919
  }
6771
6920
  },
6772
- /* @__PURE__ */ React79.createElement(Stack62, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Text37, { fw: 500, size: "sm", style: { color: "#f1f3f5" } }, "Proposal Executed"), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", style: { color: "#adb5bd" } }, "This proposal has been successfully executed."))
6773
- ), !hasSubmittedProposal && /* @__PURE__ */ React79.createElement(Stack62, { gap: "lg" }, /* @__PURE__ */ React79.createElement(Stack62, { gap: "md" }, ["yes", "no", "no_with_veto", "abstain"].map((voteType) => /* @__PURE__ */ React79.createElement(Tooltip3, { key: voteType, label: "Proposal must be submitted before voting", position: "top" }, /* @__PURE__ */ React79.createElement(
6921
+ /* @__PURE__ */ React81.createElement(Stack64, { gap: "xs" }, /* @__PURE__ */ React81.createElement(Text39, { fw: 500, size: "sm", style: { color: "#f1f3f5" } }, "Proposal Executed"), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", style: { color: "#adb5bd" } }, "This proposal has been successfully executed."))
6922
+ ), !hasSubmittedProposal && /* @__PURE__ */ React81.createElement(Stack64, { gap: "lg" }, /* @__PURE__ */ React81.createElement(Stack64, { gap: "md" }, ["yes", "no", "no_with_veto", "abstain"].map((voteType) => /* @__PURE__ */ React81.createElement(Tooltip3, { key: voteType, label: "Proposal must be submitted before voting", position: "top" }, /* @__PURE__ */ React81.createElement(
6774
6923
  Button14,
6775
6924
  {
6776
6925
  variant: "outline",
@@ -6787,8 +6936,8 @@ var FlowGeneralTab = ({
6787
6936
  opacity: 0.5
6788
6937
  }
6789
6938
  },
6790
- /* @__PURE__ */ React79.createElement(Text37, { fw: 500, tt: "capitalize", style: { textAlign: "left" } }, voteType === "no_with_veto" ? "No with Veto" : voteType)
6791
- ))))), hasSubmittedProposal && !hasVoted && selectedVote && (status === "open" || proposalStatus === "open") && /* @__PURE__ */ React79.createElement(Tooltip3, { label: disabled ? isDisabled?.message : "Sign to vote", position: "top" }, /* @__PURE__ */ React79.createElement("div", null, /* @__PURE__ */ React79.createElement(
6939
+ /* @__PURE__ */ React81.createElement(Text39, { fw: 500, tt: "capitalize", style: { textAlign: "left" } }, voteType === "no_with_veto" ? "No with Veto" : voteType)
6940
+ ))))), hasSubmittedProposal && !hasVoted && selectedVote && (status === "open" || proposalStatus === "open") && /* @__PURE__ */ React81.createElement(Tooltip3, { label: disabled ? isDisabled?.message : "Sign to vote", position: "top" }, /* @__PURE__ */ React81.createElement("div", null, /* @__PURE__ */ React81.createElement(
6792
6941
  Button14,
6793
6942
  {
6794
6943
  size: "sm",
@@ -6804,7 +6953,7 @@ var FlowGeneralTab = ({
6804
6953
  }
6805
6954
  },
6806
6955
  "Sign"
6807
- ))), hasVoted && hasSubmittedProposal && /* @__PURE__ */ React79.createElement(
6956
+ ))), hasVoted && hasSubmittedProposal && /* @__PURE__ */ React81.createElement(
6808
6957
  Card16,
6809
6958
  {
6810
6959
  padding: "md",
@@ -6815,8 +6964,8 @@ var FlowGeneralTab = ({
6815
6964
  color: "#f1f3f5"
6816
6965
  }
6817
6966
  },
6818
- /* @__PURE__ */ React79.createElement(Stack62, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React79.createElement(
6819
- Box14,
6967
+ /* @__PURE__ */ React81.createElement(Stack64, { gap: "xs" }, /* @__PURE__ */ React81.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React81.createElement(
6968
+ Box16,
6820
6969
  {
6821
6970
  style: {
6822
6971
  width: 8,
@@ -6825,13 +6974,13 @@ var FlowGeneralTab = ({
6825
6974
  borderRadius: "50%"
6826
6975
  }
6827
6976
  }
6828
- ), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", fw: 500, style: { color: "#51cf66" } }, "Vote Submitted")), /* @__PURE__ */ React79.createElement(Text37, { size: "xs", style: { color: "#adb5bd" } }, "You have already voted on this proposal. Your vote:", " ", /* @__PURE__ */ React79.createElement(Text37, { span: true, fw: 500, tt: "capitalize" }, userVote?.vote?.vote)))
6977
+ ), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", fw: 500, style: { color: "#51cf66" } }, "Vote Submitted")), /* @__PURE__ */ React81.createElement(Text39, { size: "xs", style: { color: "#adb5bd" } }, "You have already voted on this proposal. Your vote:", " ", /* @__PURE__ */ React81.createElement(Text39, { span: true, fw: 500, tt: "capitalize" }, userVote?.vote?.vote)))
6829
6978
  ));
6830
6979
  };
6831
6980
 
6832
6981
  // src/mantine/blocks/proposal/flow/ActionsTab.tsx
6833
- import React80, { useCallback as useCallback13, useEffect as useEffect14, useState as useState20 } from "react";
6834
- import { Alert as Alert8, Button as Button15, Card as Card17, Stack as Stack63, Text as Text38 } from "@mantine/core";
6982
+ import React82, { useCallback as useCallback13, useEffect as useEffect14, useState as useState20 } from "react";
6983
+ import { Alert as Alert8, Button as Button15, Card as Card17, Stack as Stack65, Text as Text40 } from "@mantine/core";
6835
6984
  var ActionsTab2 = ({ actions, onActionsChange, editor, block, isProposalCreated }) => {
6836
6985
  const [isEditorVisible, setIsEditorVisible] = useState20(false);
6837
6986
  const [editingIndex, setEditingIndex] = useState20(null);
@@ -6890,7 +7039,7 @@ var ActionsTab2 = ({ actions, onActionsChange, editor, block, isProposalCreated
6890
7039
  setIsEditorVisible(false);
6891
7040
  setEditingIndex(null);
6892
7041
  }, []);
6893
- return /* @__PURE__ */ React80.createElement(Stack63, { gap: "md" }, isProposalCreated && /* @__PURE__ */ React80.createElement(Alert8, { color: "yellow", title: "Actions Locked" }, /* @__PURE__ */ React80.createElement(Text38, { size: "sm" }, "Actions cannot be edited after the proposal has been created. These actions are now part of the on-chain proposal.")), /* @__PURE__ */ React80.createElement(Stack63, { gap: "sm" }, !isProposalCreated && /* @__PURE__ */ React80.createElement(
7042
+ return /* @__PURE__ */ React82.createElement(Stack65, { gap: "md" }, isProposalCreated && /* @__PURE__ */ React82.createElement(Alert8, { color: "yellow", title: "Actions Locked" }, /* @__PURE__ */ React82.createElement(Text40, { size: "sm" }, "Actions cannot be edited after the proposal has been created. These actions are now part of the on-chain proposal.")), /* @__PURE__ */ React82.createElement(Stack65, { gap: "sm" }, !isProposalCreated && /* @__PURE__ */ React82.createElement(
6894
7043
  Button15,
6895
7044
  {
6896
7045
  onClick: handleAddAction,
@@ -6902,7 +7051,7 @@ var ActionsTab2 = ({ actions, onActionsChange, editor, block, isProposalCreated
6902
7051
  }
6903
7052
  },
6904
7053
  "Add Action"
6905
- ), /* @__PURE__ */ React80.createElement(
7054
+ ), /* @__PURE__ */ React82.createElement(
6906
7055
  ActionsCard,
6907
7056
  {
6908
7057
  actions: currentActions,
@@ -6913,7 +7062,7 @@ var ActionsTab2 = ({ actions, onActionsChange, editor, block, isProposalCreated
6913
7062
  onRemoveAction: handleRemoveAction,
6914
7063
  disabled: isProposalCreated
6915
7064
  }
6916
- )), !isProposalCreated && isEditorVisible && /* @__PURE__ */ React80.createElement(
7065
+ )), !isProposalCreated && isEditorVisible && /* @__PURE__ */ React82.createElement(
6917
7066
  Card17,
6918
7067
  {
6919
7068
  withBorder: true,
@@ -6924,7 +7073,7 @@ var ActionsTab2 = ({ actions, onActionsChange, editor, block, isProposalCreated
6924
7073
  borderColor: "#333"
6925
7074
  }
6926
7075
  },
6927
- /* @__PURE__ */ React80.createElement(ActionsPanel, { actions: currentActions, editingIndex, onSave: handleSaveAction, onCancel: handleCancelEditor, isTemplateMode: false })
7076
+ /* @__PURE__ */ React82.createElement(ActionsPanel, { actions: currentActions, editingIndex, onSave: handleSaveAction, onCancel: handleCancelEditor, isTemplateMode: false })
6928
7077
  ));
6929
7078
  };
6930
7079
 
@@ -6977,7 +7126,7 @@ var FlowConfig = ({ editor, block }) => {
6977
7126
  setIsCreating(false);
6978
7127
  }
6979
7128
  };
6980
- const createProposalTab = /* @__PURE__ */ React81.createElement(Stack64, { gap: "lg" }, coreAddress && /* @__PURE__ */ React81.createElement(Card18, { padding: "sm", radius: "md", withBorder: true }, /* @__PURE__ */ React81.createElement(Text39, { size: "xs", c: "dimmed" }, "Core Address:", " ", /* @__PURE__ */ React81.createElement(Text39, { span: true, ff: "monospace", c: "bright" }, coreAddress.slice(0, 20), "...", coreAddress.slice(-10)))), /* @__PURE__ */ React81.createElement(
7129
+ const createProposalTab = /* @__PURE__ */ React83.createElement(Stack66, { gap: "lg" }, coreAddress && /* @__PURE__ */ React83.createElement(Card18, { padding: "sm", radius: "md", withBorder: true }, /* @__PURE__ */ React83.createElement(Text41, { size: "xs", c: "dimmed" }, "Core Address:", " ", /* @__PURE__ */ React83.createElement(Text41, { span: true, ff: "monospace", c: "bright" }, coreAddress.slice(0, 20), "...", coreAddress.slice(-10)))), /* @__PURE__ */ React83.createElement(
6981
7130
  TextInput33,
6982
7131
  {
6983
7132
  label: "Title",
@@ -6988,7 +7137,7 @@ var FlowConfig = ({ editor, block }) => {
6988
7137
  required: true,
6989
7138
  disabled: isProposalCreated
6990
7139
  }
6991
- ), /* @__PURE__ */ React81.createElement(
7140
+ ), /* @__PURE__ */ React83.createElement(
6992
7141
  Textarea18,
6993
7142
  {
6994
7143
  label: "Description",
@@ -7000,7 +7149,7 @@ var FlowConfig = ({ editor, block }) => {
7000
7149
  required: true,
7001
7150
  disabled: isProposalCreated
7002
7151
  }
7003
- ), errors.general && /* @__PURE__ */ React81.createElement(Text39, { size: "sm", c: "red" }, errors.general), isProposalCreated && /* @__PURE__ */ React81.createElement(Card18, { padding: "md", radius: "md", withBorder: true, style: { borderColor: "var(--mantine-color-green-6)" } }, /* @__PURE__ */ React81.createElement(Text39, { fw: 500, size: "sm", c: "green" }, "Proposal Created Successfully"), /* @__PURE__ */ React81.createElement(Text39, { size: "sm", c: "dimmed" }, "Your proposal has been created and is now open for voting.")), /* @__PURE__ */ React81.createElement(Button16, { fullWidth: true, onClick: handleCreateProposal, disabled: isProposalCreated, loading: isCreating }, isProposalCreated ? "Proposal Created" : "Create Proposal"));
7152
+ ), errors.general && /* @__PURE__ */ React83.createElement(Text41, { size: "sm", c: "red" }, errors.general), isProposalCreated && /* @__PURE__ */ React83.createElement(Card18, { padding: "md", radius: "md", withBorder: true, style: { borderColor: "var(--mantine-color-green-6)" } }, /* @__PURE__ */ React83.createElement(Text41, { fw: 500, size: "sm", c: "green" }, "Proposal Created Successfully"), /* @__PURE__ */ React83.createElement(Text41, { size: "sm", c: "dimmed" }, "Your proposal has been created and is now open for voting.")), /* @__PURE__ */ React83.createElement(Button16, { fullWidth: true, onClick: handleCreateProposal, disabled: isProposalCreated, loading: isCreating }, isProposalCreated ? "Proposal Created" : "Create Proposal"));
7004
7153
  const handleActionsChange = useCallback14(
7005
7154
  (newActions) => {
7006
7155
  updateProp("actions", JSON.stringify(newActions));
@@ -7016,12 +7165,12 @@ var FlowConfig = ({ editor, block }) => {
7016
7165
  {
7017
7166
  label: "Actions",
7018
7167
  value: "actions",
7019
- content: /* @__PURE__ */ React81.createElement(ActionsTab2, { actions: block.props.actions || "[]", onActionsChange: handleActionsChange, editor, block, isProposalCreated })
7168
+ content: /* @__PURE__ */ React83.createElement(ActionsTab2, { actions: block.props.actions || "[]", onActionsChange: handleActionsChange, editor, block, isProposalCreated })
7020
7169
  },
7021
7170
  {
7022
7171
  label: "Vote",
7023
7172
  value: "vote",
7024
- content: /* @__PURE__ */ React81.createElement(
7173
+ content: /* @__PURE__ */ React83.createElement(
7025
7174
  FlowGeneralTab,
7026
7175
  {
7027
7176
  proposalId: voteLogic.proposalId,
@@ -7037,7 +7186,7 @@ var FlowConfig = ({ editor, block }) => {
7037
7186
  )
7038
7187
  }
7039
7188
  ];
7040
- return /* @__PURE__ */ React81.createElement(
7189
+ return /* @__PURE__ */ React83.createElement(
7041
7190
  Paper7,
7042
7191
  {
7043
7192
  p: "md",
@@ -7048,7 +7197,7 @@ var FlowConfig = ({ editor, block }) => {
7048
7197
  flexDirection: "column"
7049
7198
  }
7050
7199
  },
7051
- /* @__PURE__ */ React81.createElement(
7200
+ /* @__PURE__ */ React83.createElement(
7052
7201
  "div",
7053
7202
  {
7054
7203
  style: {
@@ -7058,10 +7207,10 @@ var FlowConfig = ({ editor, block }) => {
7058
7207
  marginBottom: "1rem"
7059
7208
  }
7060
7209
  },
7061
- /* @__PURE__ */ React81.createElement(Title5, { order: 3 }, "Proposal Settings"),
7062
- /* @__PURE__ */ React81.createElement(CloseButton5, { onClick: closePanel })
7210
+ /* @__PURE__ */ React83.createElement(Title5, { order: 3 }, "Proposal Settings"),
7211
+ /* @__PURE__ */ React83.createElement(CloseButton5, { onClick: closePanel })
7063
7212
  ),
7064
- /* @__PURE__ */ React81.createElement(ReusablePanel, { extraTabs, context: { editor, block } })
7213
+ /* @__PURE__ */ React83.createElement(ReusablePanel, { extraTabs, context: { editor, block } })
7065
7214
  );
7066
7215
  };
7067
7216
 
@@ -7073,13 +7222,13 @@ var ProposalFlowView = ({ block, editor }) => {
7073
7222
  block,
7074
7223
  editor
7075
7224
  });
7076
- const panelContent = useMemo11(() => /* @__PURE__ */ React82.createElement(FlowConfig, { editor, block }), [editor, block]);
7225
+ const panelContent = useMemo11(() => /* @__PURE__ */ React84.createElement(FlowConfig, { editor, block }), [editor, block]);
7077
7226
  const { open } = usePanel(panelId, panelContent);
7078
7227
  const handleVote = () => {
7079
7228
  open();
7080
7229
  };
7081
7230
  const showVoteButton = (block.props.voteEnabled || false) && proposalId;
7082
- return /* @__PURE__ */ React82.createElement(
7231
+ return /* @__PURE__ */ React84.createElement(
7083
7232
  OnChainProposalCard,
7084
7233
  {
7085
7234
  title,
@@ -7106,10 +7255,10 @@ function ProposalBlock({ editor, block }) {
7106
7255
  console.log("[ProposalBlock] Rendering with docType:", docType);
7107
7256
  if (docType === "template") {
7108
7257
  console.log("[ProposalBlock] Rendering ProposalTemplateView (docType is template)");
7109
- return /* @__PURE__ */ React83.createElement(ProposalTemplateView, { editor, block });
7258
+ return /* @__PURE__ */ React85.createElement(ProposalTemplateView, { editor, block });
7110
7259
  }
7111
7260
  console.log("[ProposalBlock] Rendering ProposalFlowView (docType is flow)");
7112
- return /* @__PURE__ */ React83.createElement(ProposalFlowView, { block, editor });
7261
+ return /* @__PURE__ */ React85.createElement(ProposalFlowView, { block, editor });
7113
7262
  }
7114
7263
 
7115
7264
  // src/mantine/blocks/proposal/ProposalBlockSpec.tsx
@@ -7168,28 +7317,28 @@ var ProposalBlockSpec = createReactBlockSpec4(
7168
7317
  {
7169
7318
  render: (props) => {
7170
7319
  const ixoProps = props;
7171
- return /* @__PURE__ */ React84.createElement(ProposalBlock, { ...ixoProps });
7320
+ return /* @__PURE__ */ React86.createElement(ProposalBlock, { ...ixoProps });
7172
7321
  }
7173
7322
  }
7174
7323
  );
7175
7324
 
7176
7325
  // src/mantine/blocks/apiRequest/ApiRequestBlockSpec.tsx
7177
- import React90 from "react";
7326
+ import React92 from "react";
7178
7327
  import { createReactBlockSpec as createReactBlockSpec5 } from "@blocknote/react";
7179
7328
 
7180
7329
  // src/mantine/blocks/apiRequest/ApiRequestBlock.tsx
7181
- import React89 from "react";
7330
+ import React91 from "react";
7182
7331
 
7183
7332
  // src/mantine/blocks/apiRequest/template/TemplateView.tsx
7184
- import React87, { useMemo as useMemo12 } from "react";
7333
+ import React89, { useMemo as useMemo12 } from "react";
7185
7334
 
7186
7335
  // src/mantine/blocks/apiRequest/template/TemplateConfig.tsx
7187
- import React86, { useCallback as useCallback15 } from "react";
7336
+ import React88, { useCallback as useCallback15 } from "react";
7188
7337
  import { Paper as Paper9, CloseButton as CloseButton6, Title as Title6 } from "@mantine/core";
7189
7338
 
7190
7339
  // src/mantine/blocks/apiRequest/template/GeneralTab.tsx
7191
- import React85, { useEffect as useEffect15, useState as useState22 } from "react";
7192
- import { Divider as Divider5, Select as Select10, Stack as Stack65, Text as Text40, TextInput as TextInput34, Textarea as Textarea19, Button as Button17, Group as Group23, ActionIcon as ActionIcon9, Paper as Paper8 } from "@mantine/core";
7340
+ import React87, { useEffect as useEffect15, useState as useState22 } from "react";
7341
+ import { Divider as Divider5, Select as Select10, Stack as Stack67, Text as Text42, TextInput as TextInput34, Textarea as Textarea19, Button as Button17, Group as Group23, ActionIcon as ActionIcon9, Paper as Paper8 } from "@mantine/core";
7193
7342
  import { IconTrash, IconPlus } from "@tabler/icons-react";
7194
7343
  var GeneralTab4 = ({
7195
7344
  title,
@@ -7249,7 +7398,7 @@ var GeneralTab4 = ({
7249
7398
  setLocalBody(newBody);
7250
7399
  onBodyChange(newBody);
7251
7400
  };
7252
- return /* @__PURE__ */ React85.createElement(Stack65, { gap: "lg" }, /* @__PURE__ */ React85.createElement(Stack65, { gap: "xs" }, /* @__PURE__ */ React85.createElement(Text40, { size: "sm", fw: 600 }, "Title"), /* @__PURE__ */ React85.createElement(
7401
+ return /* @__PURE__ */ React87.createElement(Stack67, { gap: "lg" }, /* @__PURE__ */ React87.createElement(Stack67, { gap: "xs" }, /* @__PURE__ */ React87.createElement(Text42, { size: "sm", fw: 600 }, "Title"), /* @__PURE__ */ React87.createElement(
7253
7402
  TextInput34,
7254
7403
  {
7255
7404
  placeholder: "e.g. Submit User Data",
@@ -7260,7 +7409,7 @@ var GeneralTab4 = ({
7260
7409
  onTitleChange(newTitle);
7261
7410
  }
7262
7411
  }
7263
- )), /* @__PURE__ */ React85.createElement(Stack65, { gap: "xs" }, /* @__PURE__ */ React85.createElement(Text40, { size: "sm", fw: 600 }, "Description"), /* @__PURE__ */ React85.createElement(
7412
+ )), /* @__PURE__ */ React87.createElement(Stack67, { gap: "xs" }, /* @__PURE__ */ React87.createElement(Text42, { size: "sm", fw: 600 }, "Description"), /* @__PURE__ */ React87.createElement(
7264
7413
  Textarea19,
7265
7414
  {
7266
7415
  placeholder: "Describe what this API request does",
@@ -7272,7 +7421,7 @@ var GeneralTab4 = ({
7272
7421
  onDescriptionChange(newDescription);
7273
7422
  }
7274
7423
  }
7275
- )), /* @__PURE__ */ React85.createElement(Divider5, { variant: "dashed" }), /* @__PURE__ */ React85.createElement(Stack65, { gap: "xs" }, /* @__PURE__ */ React85.createElement(Text40, { size: "sm", fw: 600 }, "HTTP Method"), /* @__PURE__ */ React85.createElement(
7424
+ )), /* @__PURE__ */ React87.createElement(Divider5, { variant: "dashed" }), /* @__PURE__ */ React87.createElement(Stack67, { gap: "xs" }, /* @__PURE__ */ React87.createElement(Text42, { size: "sm", fw: 600 }, "HTTP Method"), /* @__PURE__ */ React87.createElement(
7276
7425
  Select10,
7277
7426
  {
7278
7427
  value: localMethod,
@@ -7289,7 +7438,7 @@ var GeneralTab4 = ({
7289
7438
  { value: "PATCH", label: "PATCH" }
7290
7439
  ]
7291
7440
  }
7292
- )), /* @__PURE__ */ React85.createElement(Stack65, { gap: "xs" }, /* @__PURE__ */ React85.createElement(Text40, { size: "sm", fw: 600 }, "Endpoint URL"), /* @__PURE__ */ React85.createElement(
7441
+ )), /* @__PURE__ */ React87.createElement(Stack67, { gap: "xs" }, /* @__PURE__ */ React87.createElement(Text42, { size: "sm", fw: 600 }, "Endpoint URL"), /* @__PURE__ */ React87.createElement(
7293
7442
  TextInput34,
7294
7443
  {
7295
7444
  placeholder: "https://api.example.com/endpoint",
@@ -7300,7 +7449,7 @@ var GeneralTab4 = ({
7300
7449
  onEndpointChange(newEndpoint);
7301
7450
  }
7302
7451
  }
7303
- )), /* @__PURE__ */ React85.createElement(Divider5, { variant: "dashed" }), /* @__PURE__ */ React85.createElement(Stack65, { gap: "xs" }, /* @__PURE__ */ React85.createElement(Group23, { justify: "space-between" }, /* @__PURE__ */ React85.createElement(Text40, { size: "sm", fw: 600 }, "Request Headers"), /* @__PURE__ */ React85.createElement(Button17, { size: "xs", variant: "light", leftSection: /* @__PURE__ */ React85.createElement(IconPlus, { size: 14 }), onClick: handleAddHeader }, "Add Header")), /* @__PURE__ */ React85.createElement(Text40, { size: "xs" }, "Add custom headers to your API request (e.g., Authorization, Content-Type)"), localHeaders.length > 0 && /* @__PURE__ */ React85.createElement(Stack65, { gap: "xs" }, localHeaders.map((header, index) => /* @__PURE__ */ React85.createElement(Paper8, { key: index, p: "xs" }, /* @__PURE__ */ React85.createElement(Group23, { gap: "xs", align: "flex-start" }, /* @__PURE__ */ React85.createElement(
7452
+ )), /* @__PURE__ */ React87.createElement(Divider5, { variant: "dashed" }), /* @__PURE__ */ React87.createElement(Stack67, { gap: "xs" }, /* @__PURE__ */ React87.createElement(Group23, { justify: "space-between" }, /* @__PURE__ */ React87.createElement(Text42, { size: "sm", fw: 600 }, "Request Headers"), /* @__PURE__ */ React87.createElement(Button17, { size: "xs", variant: "light", leftSection: /* @__PURE__ */ React87.createElement(IconPlus, { size: 14 }), onClick: handleAddHeader }, "Add Header")), /* @__PURE__ */ React87.createElement(Text42, { size: "xs" }, "Add custom headers to your API request (e.g., Authorization, Content-Type)"), localHeaders.length > 0 && /* @__PURE__ */ React87.createElement(Stack67, { gap: "xs" }, localHeaders.map((header, index) => /* @__PURE__ */ React87.createElement(Paper8, { key: index, p: "xs" }, /* @__PURE__ */ React87.createElement(Group23, { gap: "xs", align: "flex-start" }, /* @__PURE__ */ React87.createElement(
7304
7453
  TextInput34,
7305
7454
  {
7306
7455
  placeholder: "Header key (e.g., Authorization)",
@@ -7308,7 +7457,7 @@ var GeneralTab4 = ({
7308
7457
  onChange: (event) => handleHeaderChange(index, "key", event.currentTarget.value),
7309
7458
  style: { flex: 1 }
7310
7459
  }
7311
- ), /* @__PURE__ */ React85.createElement(
7460
+ ), /* @__PURE__ */ React87.createElement(
7312
7461
  TextInput34,
7313
7462
  {
7314
7463
  placeholder: "Header value (e.g., Bearer token123)",
@@ -7316,7 +7465,7 @@ var GeneralTab4 = ({
7316
7465
  onChange: (event) => handleHeaderChange(index, "value", event.currentTarget.value),
7317
7466
  style: { flex: 1 }
7318
7467
  }
7319
- ), /* @__PURE__ */ React85.createElement(ActionIcon9, { color: "red", variant: "subtle", onClick: () => handleRemoveHeader(index) }, /* @__PURE__ */ React85.createElement(IconTrash, { size: 16 }))))))), /* @__PURE__ */ React85.createElement(Divider5, { variant: "dashed" }), /* @__PURE__ */ React85.createElement(Stack65, { gap: "xs" }, /* @__PURE__ */ React85.createElement(Group23, { justify: "space-between" }, /* @__PURE__ */ React85.createElement(Text40, { size: "sm", fw: 600 }, "Request Body (JSON)"), /* @__PURE__ */ React85.createElement(Button17, { size: "xs", variant: "light", leftSection: /* @__PURE__ */ React85.createElement(IconPlus, { size: 14 }), onClick: handleAddBodyField }, "Add Field")), /* @__PURE__ */ React85.createElement(Text40, { size: "xs" }, "Build your JSON request body as key-value pairs"), localBody.length > 0 && /* @__PURE__ */ React85.createElement(Stack65, { gap: "xs" }, localBody.map((field, index) => /* @__PURE__ */ React85.createElement(Paper8, { key: index, p: "xs" }, /* @__PURE__ */ React85.createElement(Group23, { gap: "xs", align: "flex-start" }, /* @__PURE__ */ React85.createElement(
7468
+ ), /* @__PURE__ */ React87.createElement(ActionIcon9, { color: "red", variant: "subtle", onClick: () => handleRemoveHeader(index) }, /* @__PURE__ */ React87.createElement(IconTrash, { size: 16 }))))))), /* @__PURE__ */ React87.createElement(Divider5, { variant: "dashed" }), /* @__PURE__ */ React87.createElement(Stack67, { gap: "xs" }, /* @__PURE__ */ React87.createElement(Group23, { justify: "space-between" }, /* @__PURE__ */ React87.createElement(Text42, { size: "sm", fw: 600 }, "Request Body (JSON)"), /* @__PURE__ */ React87.createElement(Button17, { size: "xs", variant: "light", leftSection: /* @__PURE__ */ React87.createElement(IconPlus, { size: 14 }), onClick: handleAddBodyField }, "Add Field")), /* @__PURE__ */ React87.createElement(Text42, { size: "xs" }, "Build your JSON request body as key-value pairs"), localBody.length > 0 && /* @__PURE__ */ React87.createElement(Stack67, { gap: "xs" }, localBody.map((field, index) => /* @__PURE__ */ React87.createElement(Paper8, { key: index, p: "xs" }, /* @__PURE__ */ React87.createElement(Group23, { gap: "xs", align: "flex-start" }, /* @__PURE__ */ React87.createElement(
7320
7469
  TextInput34,
7321
7470
  {
7322
7471
  placeholder: "Field key (e.g., name)",
@@ -7324,7 +7473,7 @@ var GeneralTab4 = ({
7324
7473
  onChange: (event) => handleBodyFieldChange(index, "key", event.currentTarget.value),
7325
7474
  style: { flex: 1 }
7326
7475
  }
7327
- ), /* @__PURE__ */ React85.createElement(
7476
+ ), /* @__PURE__ */ React87.createElement(
7328
7477
  TextInput34,
7329
7478
  {
7330
7479
  placeholder: "Field value (e.g., John Doe)",
@@ -7332,7 +7481,7 @@ var GeneralTab4 = ({
7332
7481
  onChange: (event) => handleBodyFieldChange(index, "value", event.currentTarget.value),
7333
7482
  style: { flex: 1 }
7334
7483
  }
7335
- ), /* @__PURE__ */ React85.createElement(ActionIcon9, { color: "red", variant: "subtle", onClick: () => handleRemoveBodyField(index) }, /* @__PURE__ */ React85.createElement(IconTrash, { size: 16 }))))))));
7484
+ ), /* @__PURE__ */ React87.createElement(ActionIcon9, { color: "red", variant: "subtle", onClick: () => handleRemoveBodyField(index) }, /* @__PURE__ */ React87.createElement(IconTrash, { size: 16 }))))))));
7336
7485
  };
7337
7486
 
7338
7487
  // src/mantine/blocks/apiRequest/template/TemplateConfig.tsx
@@ -7361,7 +7510,7 @@ var TemplateConfig4 = ({ editor, block }) => {
7361
7510
  },
7362
7511
  [updateProp]
7363
7512
  );
7364
- return /* @__PURE__ */ React86.createElement(
7513
+ return /* @__PURE__ */ React88.createElement(
7365
7514
  Paper9,
7366
7515
  {
7367
7516
  p: "md",
@@ -7372,7 +7521,7 @@ var TemplateConfig4 = ({ editor, block }) => {
7372
7521
  flexDirection: "column"
7373
7522
  }
7374
7523
  },
7375
- /* @__PURE__ */ React86.createElement(
7524
+ /* @__PURE__ */ React88.createElement(
7376
7525
  "div",
7377
7526
  {
7378
7527
  style: {
@@ -7382,17 +7531,17 @@ var TemplateConfig4 = ({ editor, block }) => {
7382
7531
  marginBottom: "1rem"
7383
7532
  }
7384
7533
  },
7385
- /* @__PURE__ */ React86.createElement(Title6, { order: 3 }, "API Request Settings"),
7386
- /* @__PURE__ */ React86.createElement(CloseButton6, { onClick: closePanel })
7534
+ /* @__PURE__ */ React88.createElement(Title6, { order: 3 }, "API Request Settings"),
7535
+ /* @__PURE__ */ React88.createElement(CloseButton6, { onClick: closePanel })
7387
7536
  ),
7388
- /* @__PURE__ */ React86.createElement(
7537
+ /* @__PURE__ */ React88.createElement(
7389
7538
  ReusablePanel,
7390
7539
  {
7391
7540
  extraTabs: [
7392
7541
  {
7393
7542
  label: "General",
7394
7543
  value: "general",
7395
- content: /* @__PURE__ */ React86.createElement(
7544
+ content: /* @__PURE__ */ React88.createElement(
7396
7545
  GeneralTab4,
7397
7546
  {
7398
7547
  title: block.props.title || "",
@@ -7430,11 +7579,11 @@ var TemplateConfig4 = ({ editor, block }) => {
7430
7579
  };
7431
7580
 
7432
7581
  // src/mantine/blocks/apiRequest/template/TemplateView.tsx
7433
- import { Card as Card19, Group as Group24, Stack as Stack66, Text as Text41, ActionIcon as ActionIcon10, Badge as Badge10 } from "@mantine/core";
7582
+ import { Card as Card19, Group as Group24, Stack as Stack68, Text as Text43, ActionIcon as ActionIcon10, Badge as Badge10 } from "@mantine/core";
7434
7583
  var API_REQUEST_TEMPLATE_PANEL_ID = "api-request-template-panel";
7435
7584
  var ApiRequestTemplateView = ({ editor, block }) => {
7436
7585
  const panelId = `${API_REQUEST_TEMPLATE_PANEL_ID}-${block.id}`;
7437
- const panelContent = useMemo12(() => /* @__PURE__ */ React87.createElement(TemplateConfig4, { editor, block }), [editor, block]);
7586
+ const panelContent = useMemo12(() => /* @__PURE__ */ React89.createElement(TemplateConfig4, { editor, block }), [editor, block]);
7438
7587
  const { open } = usePanel(panelId, panelContent);
7439
7588
  const method = block.props.method || "GET";
7440
7589
  const endpoint = block.props.endpoint || "https://api.example.com/endpoint";
@@ -7454,12 +7603,12 @@ var ApiRequestTemplateView = ({ editor, block }) => {
7454
7603
  return "gray";
7455
7604
  }
7456
7605
  };
7457
- return /* @__PURE__ */ React87.createElement(Card19, { withBorder: true, padding: "md", radius: "md", style: { width: "100%", cursor: "pointer", position: "relative" }, onClick: open }, /* @__PURE__ */ React87.createElement(Badge10, { size: "xs", variant: "light", color: "gray", style: { position: "absolute", top: 8, right: 8 } }, "Template"), /* @__PURE__ */ React87.createElement(Group24, { wrap: "nowrap", justify: "space-between", align: "center" }, /* @__PURE__ */ React87.createElement(Group24, { wrap: "nowrap", align: "center" }, /* @__PURE__ */ React87.createElement(ActionIcon10, { variant: "light", color: "violet", size: "lg", radius: "xl", style: { flexShrink: 0 } }, getIcon(block.props.icon, 18, 1.5, "square-check")), /* @__PURE__ */ React87.createElement(Stack66, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React87.createElement(Group24, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React87.createElement(Badge10, { size: "sm", variant: "filled", color: getMethodColor(method) }, method), /* @__PURE__ */ React87.createElement(Text41, { fw: 500, size: "sm", contentEditable: false }, block.props.title || "API Request")), /* @__PURE__ */ React87.createElement(Text41, { size: "xs", c: "dimmed", contentEditable: false, lineClamp: 1 }, endpoint), block.props.description && /* @__PURE__ */ React87.createElement(Text41, { size: "xs", c: "dimmed", contentEditable: false }, block.props.description)))));
7606
+ return /* @__PURE__ */ React89.createElement(Card19, { withBorder: true, padding: "md", radius: "md", style: { width: "100%", cursor: "pointer", position: "relative" }, onClick: open }, /* @__PURE__ */ React89.createElement(Badge10, { size: "xs", variant: "light", color: "gray", style: { position: "absolute", top: 8, right: 8 } }, "Template"), /* @__PURE__ */ React89.createElement(Group24, { wrap: "nowrap", justify: "space-between", align: "center" }, /* @__PURE__ */ React89.createElement(Group24, { wrap: "nowrap", align: "center" }, /* @__PURE__ */ React89.createElement(ActionIcon10, { variant: "light", color: "violet", size: "lg", radius: "xl", style: { flexShrink: 0 } }, getIcon(block.props.icon, 18, 1.5, "square-check")), /* @__PURE__ */ React89.createElement(Stack68, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React89.createElement(Group24, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React89.createElement(Badge10, { size: "sm", variant: "filled", color: getMethodColor(method) }, method), /* @__PURE__ */ React89.createElement(Text43, { fw: 500, size: "sm", contentEditable: false }, block.props.title || "API Request")), /* @__PURE__ */ React89.createElement(Text43, { size: "xs", c: "dimmed", contentEditable: false, lineClamp: 1 }, endpoint), block.props.description && /* @__PURE__ */ React89.createElement(Text43, { size: "xs", c: "dimmed", contentEditable: false }, block.props.description)))));
7458
7607
  };
7459
7608
 
7460
7609
  // src/mantine/blocks/apiRequest/flow/FlowView.tsx
7461
- import React88, { useState as useState23 } from "react";
7462
- import { Card as Card20, Group as Group25, Stack as Stack67, Text as Text42, ActionIcon as ActionIcon11, Tooltip as Tooltip4, Button as Button18, Badge as Badge11, Collapse, Code, Loader as Loader4, Alert as Alert9 } from "@mantine/core";
7610
+ import React90, { useState as useState23 } from "react";
7611
+ import { Card as Card20, Group as Group25, Stack as Stack69, Text as Text44, ActionIcon as ActionIcon11, Tooltip as Tooltip4, Button as Button18, Badge as Badge11, Collapse, Code, Loader as Loader4, Alert as Alert9 } from "@mantine/core";
7463
7612
  import { IconSend, IconChevronDown, IconChevronUp } from "@tabler/icons-react";
7464
7613
  var ApiRequestFlowView = ({ editor, block, isDisabled }) => {
7465
7614
  const disabled = isDisabled?.isDisabled === "disable";
@@ -7577,21 +7726,21 @@ var ApiRequestFlowView = ({ editor, block, isDisabled }) => {
7577
7726
  setIsLoading(false);
7578
7727
  }
7579
7728
  };
7580
- const executeButton = /* @__PURE__ */ React88.createElement(
7729
+ const executeButton = /* @__PURE__ */ React90.createElement(
7581
7730
  Button18,
7582
7731
  {
7583
7732
  size: "sm",
7584
7733
  variant: "light",
7585
7734
  color: getMethodColor(method),
7586
- leftSection: isLoading ? /* @__PURE__ */ React88.createElement(Loader4, { size: 14 }) : /* @__PURE__ */ React88.createElement(IconSend, { size: 14 }),
7735
+ leftSection: isLoading ? /* @__PURE__ */ React90.createElement(Loader4, { size: 14 }) : /* @__PURE__ */ React90.createElement(IconSend, { size: 14 }),
7587
7736
  onClick: handleExecuteRequest,
7588
7737
  disabled: disabled || isLoading || !endpoint,
7589
7738
  style: { flexShrink: 0 }
7590
7739
  },
7591
7740
  isLoading ? "Sending..." : "Execute"
7592
7741
  );
7593
- return /* @__PURE__ */ React88.createElement(Card20, { withBorder: true, padding: "md", radius: "md", style: { width: "100%" } }, /* @__PURE__ */ React88.createElement(Stack67, { gap: "md" }, /* @__PURE__ */ React88.createElement(Group25, { wrap: "nowrap", justify: "space-between", align: "flex-start" }, /* @__PURE__ */ React88.createElement(Group25, { wrap: "nowrap", align: "flex-start", style: { flex: 1 } }, /* @__PURE__ */ React88.createElement(ActionIcon11, { variant: "light", color: "violet", size: "lg", radius: "xl", style: { flexShrink: 0 } }, getIcon(block.props.icon, 18, 1.5, "square-check")), /* @__PURE__ */ React88.createElement(Stack67, { gap: "xs", style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React88.createElement(Group25, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React88.createElement(Badge11, { size: "sm", variant: "filled", color: getMethodColor(method) }, method), /* @__PURE__ */ React88.createElement(Text42, { fw: 500, size: "sm", contentEditable: false }, block.props.title || "API Request"), status !== "idle" && /* @__PURE__ */ React88.createElement(Badge11, { size: "xs", variant: "dot", color: getStatusColor(status) }, status)), /* @__PURE__ */ React88.createElement(
7594
- Text42,
7742
+ return /* @__PURE__ */ React90.createElement(Card20, { withBorder: true, padding: "md", radius: "md", style: { width: "100%" } }, /* @__PURE__ */ React90.createElement(Stack69, { gap: "md" }, /* @__PURE__ */ React90.createElement(Group25, { wrap: "nowrap", justify: "space-between", align: "flex-start" }, /* @__PURE__ */ React90.createElement(Group25, { wrap: "nowrap", align: "flex-start", style: { flex: 1 } }, /* @__PURE__ */ React90.createElement(ActionIcon11, { variant: "light", color: "violet", size: "lg", radius: "xl", style: { flexShrink: 0 } }, getIcon(block.props.icon, 18, 1.5, "square-check")), /* @__PURE__ */ React90.createElement(Stack69, { gap: "xs", style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React90.createElement(Group25, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React90.createElement(Badge11, { size: "sm", variant: "filled", color: getMethodColor(method) }, method), /* @__PURE__ */ React90.createElement(Text44, { fw: 500, size: "sm", contentEditable: false }, block.props.title || "API Request"), status !== "idle" && /* @__PURE__ */ React90.createElement(Badge11, { size: "xs", variant: "dot", color: getStatusColor(status) }, status)), /* @__PURE__ */ React90.createElement(
7743
+ Text44,
7595
7744
  {
7596
7745
  size: "xs",
7597
7746
  c: "dimmed",
@@ -7603,7 +7752,7 @@ var ApiRequestFlowView = ({ editor, block, isDisabled }) => {
7603
7752
  }
7604
7753
  },
7605
7754
  endpoint || "No endpoint configured"
7606
- ), block.props.description && /* @__PURE__ */ React88.createElement(Text42, { size: "xs", c: "dimmed", contentEditable: false }, block.props.description))), /* @__PURE__ */ React88.createElement(Group25, { gap: "xs", style: { flexShrink: 0 } }, disabled && isDisabled?.message ? /* @__PURE__ */ React88.createElement(Tooltip4, { label: isDisabled.message, position: "left", withArrow: true }, executeButton) : executeButton, /* @__PURE__ */ React88.createElement(ActionIcon11, { variant: "subtle", onClick: () => setShowDetails(!showDetails), disabled: headers.length === 0 && body.length === 0 && !response }, showDetails ? /* @__PURE__ */ React88.createElement(IconChevronUp, { size: 16 }) : /* @__PURE__ */ React88.createElement(IconChevronDown, { size: 16 })))), /* @__PURE__ */ React88.createElement(Collapse, { in: showDetails }, /* @__PURE__ */ React88.createElement(Stack67, { gap: "md" }, headers.length > 0 && /* @__PURE__ */ React88.createElement(Stack67, { gap: "xs" }, /* @__PURE__ */ React88.createElement(Text42, { size: "xs", fw: 600, c: "dimmed" }, "Headers:"), /* @__PURE__ */ React88.createElement(Code, { block: true, style: { fontSize: "11px" } }, JSON.stringify(
7755
+ ), block.props.description && /* @__PURE__ */ React90.createElement(Text44, { size: "xs", c: "dimmed", contentEditable: false }, block.props.description))), /* @__PURE__ */ React90.createElement(Group25, { gap: "xs", style: { flexShrink: 0 } }, disabled && isDisabled?.message ? /* @__PURE__ */ React90.createElement(Tooltip4, { label: isDisabled.message, position: "left", withArrow: true }, executeButton) : executeButton, /* @__PURE__ */ React90.createElement(ActionIcon11, { variant: "subtle", onClick: () => setShowDetails(!showDetails), disabled: headers.length === 0 && body.length === 0 && !response }, showDetails ? /* @__PURE__ */ React90.createElement(IconChevronUp, { size: 16 }) : /* @__PURE__ */ React90.createElement(IconChevronDown, { size: 16 })))), /* @__PURE__ */ React90.createElement(Collapse, { in: showDetails }, /* @__PURE__ */ React90.createElement(Stack69, { gap: "md" }, headers.length > 0 && /* @__PURE__ */ React90.createElement(Stack69, { gap: "xs" }, /* @__PURE__ */ React90.createElement(Text44, { size: "xs", fw: 600, c: "dimmed" }, "Headers:"), /* @__PURE__ */ React90.createElement(Code, { block: true, style: { fontSize: "11px" } }, JSON.stringify(
7607
7756
  headers.reduce(
7608
7757
  (acc, h) => {
7609
7758
  if (h.key && h.value) acc[h.key] = h.value;
@@ -7613,7 +7762,7 @@ var ApiRequestFlowView = ({ editor, block, isDisabled }) => {
7613
7762
  ),
7614
7763
  null,
7615
7764
  2
7616
- ))), method !== "GET" && body.length > 0 && /* @__PURE__ */ React88.createElement(Stack67, { gap: "xs" }, /* @__PURE__ */ React88.createElement(Text42, { size: "xs", fw: 600, c: "dimmed" }, "Body:"), /* @__PURE__ */ React88.createElement(Code, { block: true, style: { fontSize: "11px" } }, JSON.stringify(
7765
+ ))), method !== "GET" && body.length > 0 && /* @__PURE__ */ React90.createElement(Stack69, { gap: "xs" }, /* @__PURE__ */ React90.createElement(Text44, { size: "xs", fw: 600, c: "dimmed" }, "Body:"), /* @__PURE__ */ React90.createElement(Code, { block: true, style: { fontSize: "11px" } }, JSON.stringify(
7617
7766
  body.reduce(
7618
7767
  (acc, b) => {
7619
7768
  if (b.key && b.value) acc[b.key] = b.value;
@@ -7623,7 +7772,7 @@ var ApiRequestFlowView = ({ editor, block, isDisabled }) => {
7623
7772
  ),
7624
7773
  null,
7625
7774
  2
7626
- ))), response && /* @__PURE__ */ React88.createElement(Stack67, { gap: "xs" }, /* @__PURE__ */ React88.createElement(Text42, { size: "xs", fw: 600, c: "dimmed" }, "Response:"), status === "error" ? /* @__PURE__ */ React88.createElement(Alert9, { color: "red", title: "Error", styles: { message: { fontSize: "11px" } } }, /* @__PURE__ */ React88.createElement(Code, { block: true, style: { fontSize: "11px" } }, response)) : /* @__PURE__ */ React88.createElement(Code, { block: true, style: { fontSize: "11px", maxHeight: "300px", overflow: "auto" } }, response))))));
7775
+ ))), response && /* @__PURE__ */ React90.createElement(Stack69, { gap: "xs" }, /* @__PURE__ */ React90.createElement(Text44, { size: "xs", fw: 600, c: "dimmed" }, "Response:"), status === "error" ? /* @__PURE__ */ React90.createElement(Alert9, { color: "red", title: "Error", styles: { message: { fontSize: "11px" } } }, /* @__PURE__ */ React90.createElement(Code, { block: true, style: { fontSize: "11px" } }, response)) : /* @__PURE__ */ React90.createElement(Code, { block: true, style: { fontSize: "11px", maxHeight: "300px", overflow: "auto" } }, response))))));
7627
7776
  };
7628
7777
 
7629
7778
  // src/mantine/blocks/apiRequest/ApiRequestBlock.tsx
@@ -7631,7 +7780,7 @@ function ApiRequestBlock({ editor, block }) {
7631
7780
  const { docType } = useBlocknoteContext();
7632
7781
  const { actions } = useBlockConditions(block, editor);
7633
7782
  if (docType === "template") {
7634
- return /* @__PURE__ */ React89.createElement(ApiRequestTemplateView, { editor, block });
7783
+ return /* @__PURE__ */ React91.createElement(ApiRequestTemplateView, { editor, block });
7635
7784
  }
7636
7785
  const conditionConfig = parseConditionConfig(block.props.conditions);
7637
7786
  const hasVisibility = hasVisibilityConditions(conditionConfig);
@@ -7643,7 +7792,7 @@ function ApiRequestBlock({ editor, block }) {
7643
7792
  const hasEnable = hasEnableConditions(conditionConfig);
7644
7793
  const enableActionExists = actions.some((a) => a.action === "enable");
7645
7794
  const shouldDisable = hasEnable && !enableActionExists;
7646
- return /* @__PURE__ */ React89.createElement(
7795
+ return /* @__PURE__ */ React91.createElement(
7647
7796
  ApiRequestFlowView,
7648
7797
  {
7649
7798
  block,
@@ -7697,36 +7846,36 @@ var ApiRequestBlockSpec = createReactBlockSpec5(
7697
7846
  {
7698
7847
  render: (props) => {
7699
7848
  const ixoProps = props;
7700
- return /* @__PURE__ */ React90.createElement(ApiRequestBlock, { ...ixoProps });
7849
+ return /* @__PURE__ */ React92.createElement(ApiRequestBlock, { ...ixoProps });
7701
7850
  }
7702
7851
  }
7703
7852
  );
7704
7853
 
7705
7854
  // src/mantine/blocks/enumChecklist/EnumChecklistBlock.tsx
7706
- import React97, { useState as useState25, useEffect as useEffect16, useMemo as useMemo13, useCallback as useCallback16 } from "react";
7855
+ import React99, { useState as useState25, useEffect as useEffect16, useMemo as useMemo13, useCallback as useCallback16 } from "react";
7707
7856
  import { createReactBlockSpec as createReactBlockSpec6 } from "@blocknote/react";
7708
- import { Stack as Stack73, Text as Text48, Button as Button23, ActionIcon as ActionIcon12, Center as Center3, Flex as Flex17 } from "@mantine/core";
7857
+ import { Stack as Stack75, Text as Text50, Button as Button23, ActionIcon as ActionIcon12, Center as Center3, Flex as Flex19 } from "@mantine/core";
7709
7858
 
7710
7859
  // src/mantine/blocks/enumChecklist/oracle_personalities/index.tsx
7711
- import React91 from "react";
7712
- import { Box as Box15, Flex as Flex16, Stack as Stack68, Text as Text43, Image as Image11 } from "@mantine/core";
7860
+ import React93 from "react";
7861
+ import { Box as Box17, Flex as Flex18, Stack as Stack70, Text as Text45, Image as Image13 } from "@mantine/core";
7713
7862
  function OraclePersonalitiesEnumList({ selectionMode, isItemChecked, onItemCheck, items }) {
7714
7863
  if (!items || items.length === 0) {
7715
- return /* @__PURE__ */ React91.createElement(Text43, { size: "sm", c: "dimmed", ta: "center", py: "md" }, "No assets found");
7864
+ return /* @__PURE__ */ React93.createElement(Text45, { size: "sm", c: "dimmed", ta: "center", py: "md" }, "No assets found");
7716
7865
  }
7717
- const rows = items.map(({ id, name, description, voice, icon }) => /* @__PURE__ */ React91.createElement(ListItemContainer, { key: id }, /* @__PURE__ */ React91.createElement(Flex16, { align: "center", gap: "sm" }, /* @__PURE__ */ React91.createElement(Image11, { radius: 16, w: 62, h: 62, src: icon, alt: name }), /* @__PURE__ */ React91.createElement(Stack68, { gap: 0 }, /* @__PURE__ */ React91.createElement(Text43, { size: "sm", fw: 500 }, name || "-"), description !== void 0 && /* @__PURE__ */ React91.createElement(Text43, { size: "sm", c: "dimmed" }, description))), /* @__PURE__ */ React91.createElement(Flex16, { align: "center", gap: "md" }, /* @__PURE__ */ React91.createElement(Stack68, { ta: "right", gap: 0 }, /* @__PURE__ */ React91.createElement(Text43, { size: "sm", fw: 500 }, "Voice"), /* @__PURE__ */ React91.createElement(Text43, { size: "sm", c: "dimmed" }, voice)), selectionMode && /* @__PURE__ */ React91.createElement(ListItemCheckbox, { ariaLabel: `Select oracle ${name}`, checked: isItemChecked?.(id), onCheck: (checked) => onItemCheck?.(id, checked) }))));
7718
- return /* @__PURE__ */ React91.createElement(Box15, { flex: 1 }, /* @__PURE__ */ React91.createElement(Stack68, null, rows));
7866
+ const rows = items.map(({ id, name, description, voice, icon }) => /* @__PURE__ */ React93.createElement(ListItemContainer, { key: id }, /* @__PURE__ */ React93.createElement(Flex18, { align: "center", gap: "sm" }, /* @__PURE__ */ React93.createElement(Image13, { radius: 16, w: 62, h: 62, src: icon, alt: name }), /* @__PURE__ */ React93.createElement(Stack70, { gap: 0 }, /* @__PURE__ */ React93.createElement(Text45, { size: "sm", fw: 500 }, name || "-"), description !== void 0 && /* @__PURE__ */ React93.createElement(Text45, { size: "sm", c: "dimmed" }, description))), /* @__PURE__ */ React93.createElement(Flex18, { align: "center", gap: "md" }, /* @__PURE__ */ React93.createElement(Stack70, { ta: "right", gap: 0 }, /* @__PURE__ */ React93.createElement(Text45, { size: "sm", fw: 500 }, "Voice"), /* @__PURE__ */ React93.createElement(Text45, { size: "sm", c: "dimmed" }, voice)), selectionMode && /* @__PURE__ */ React93.createElement(ListItemCheckbox, { ariaLabel: `Select oracle ${name}`, checked: isItemChecked?.(id), onCheck: (checked) => onItemCheck?.(id, checked) }))));
7867
+ return /* @__PURE__ */ React93.createElement(Box17, { flex: 1 }, /* @__PURE__ */ React93.createElement(Stack70, null, rows));
7719
7868
  }
7720
7869
 
7721
7870
  // src/mantine/blocks/enumChecklist/EnumChecklistConfigModal.tsx
7722
- import React96, { useState as useState24 } from "react";
7723
- import { Modal, Group as Group29, Box as Box17 } from "@mantine/core";
7871
+ import React98, { useState as useState24 } from "react";
7872
+ import { Modal, Group as Group29, Box as Box19 } from "@mantine/core";
7724
7873
 
7725
7874
  // src/mantine/blocks/list/modal/ModalNavigation.tsx
7726
- import React92 from "react";
7727
- import { Stack as Stack69, Button as Button19, Text as Text44 } from "@mantine/core";
7875
+ import React94 from "react";
7876
+ import { Stack as Stack71, Button as Button19, Text as Text46 } from "@mantine/core";
7728
7877
  var ModalNavigation = ({ steps, activeStep, onStepChange, showUpdateButton = false, onUpdateBlock }) => {
7729
- return /* @__PURE__ */ React92.createElement(Stack69, { gap: "xs", style: { height: "100%" } }, /* @__PURE__ */ React92.createElement(Stack69, { gap: "xs", style: { flex: 1 } }, steps.map((step) => /* @__PURE__ */ React92.createElement(
7878
+ return /* @__PURE__ */ React94.createElement(Stack71, { gap: "xs", style: { height: "100%" } }, /* @__PURE__ */ React94.createElement(Stack71, { gap: "xs", style: { flex: 1 } }, steps.map((step) => /* @__PURE__ */ React94.createElement(
7730
7879
  Button19,
7731
7880
  {
7732
7881
  key: step.id,
@@ -7744,13 +7893,13 @@ var ModalNavigation = ({ steps, activeStep, onStepChange, showUpdateButton = fal
7744
7893
  }
7745
7894
  }
7746
7895
  },
7747
- /* @__PURE__ */ React92.createElement(Stack69, { gap: 2, align: "flex-start" }, /* @__PURE__ */ React92.createElement(Text44, { size: "sm", fw: 500 }, step.label), /* @__PURE__ */ React92.createElement(Text44, { size: "xs", opacity: 0.7 }, step.description))
7748
- ))), showUpdateButton && /* @__PURE__ */ React92.createElement(Button19, { variant: "filled", color: "blue", onClick: onUpdateBlock, style: { marginTop: "auto" } }, "Update Block"));
7896
+ /* @__PURE__ */ React94.createElement(Stack71, { gap: 2, align: "flex-start" }, /* @__PURE__ */ React94.createElement(Text46, { size: "sm", fw: 500 }, step.label), /* @__PURE__ */ React94.createElement(Text46, { size: "xs", opacity: 0.7 }, step.description))
7897
+ ))), showUpdateButton && /* @__PURE__ */ React94.createElement(Button19, { variant: "filled", color: "blue", onClick: onUpdateBlock, style: { marginTop: "auto" } }, "Update Block"));
7749
7898
  };
7750
7899
 
7751
7900
  // src/mantine/blocks/enumChecklist/EnumChecklistTypeSelection.tsx
7752
- import React93 from "react";
7753
- import { Stack as Stack70, Card as Card21, Group as Group26, Text as Text45, Box as Box16, Button as Button20 } from "@mantine/core";
7901
+ import React95 from "react";
7902
+ import { Stack as Stack72, Card as Card21, Group as Group26, Text as Text47, Box as Box18, Button as Button20 } from "@mantine/core";
7754
7903
 
7755
7904
  // src/mantine/blocks/enumChecklist/oracle_personalities/config.ts
7756
7905
  var oraclePersonalitiesMetadata = {
@@ -7879,7 +8028,7 @@ function getEnumListItems(type) {
7879
8028
  // src/mantine/blocks/enumChecklist/EnumChecklistTypeSelection.tsx
7880
8029
  var EnumChecklistTypeSelection = ({ selectedType, onTypeSelect, onNext }) => {
7881
8030
  const enumListsMeta = getEnumListTypesMetadata();
7882
- return /* @__PURE__ */ React93.createElement(Stack70, { gap: "md" }, /* @__PURE__ */ React93.createElement("div", null, /* @__PURE__ */ React93.createElement(Text45, { size: "lg", fw: 600, mb: "xs" }, "Choose List Type"), /* @__PURE__ */ React93.createElement(Text45, { size: "sm", c: "dimmed" }, "Select the type of list you want to create")), /* @__PURE__ */ React93.createElement(Stack70, { gap: "sm" }, enumListsMeta.map((enumChecklistMeta) => /* @__PURE__ */ React93.createElement(
8031
+ return /* @__PURE__ */ React95.createElement(Stack72, { gap: "md" }, /* @__PURE__ */ React95.createElement("div", null, /* @__PURE__ */ React95.createElement(Text47, { size: "lg", fw: 600, mb: "xs" }, "Choose List Type"), /* @__PURE__ */ React95.createElement(Text47, { size: "sm", c: "dimmed" }, "Select the type of list you want to create")), /* @__PURE__ */ React95.createElement(Stack72, { gap: "sm" }, enumListsMeta.map((enumChecklistMeta) => /* @__PURE__ */ React95.createElement(
7883
8032
  Card21,
7884
8033
  {
7885
8034
  key: enumChecklistMeta.id,
@@ -7892,8 +8041,8 @@ var EnumChecklistTypeSelection = ({ selectedType, onTypeSelect, onNext }) => {
7892
8041
  },
7893
8042
  onClick: () => onTypeSelect(enumChecklistMeta.id)
7894
8043
  },
7895
- /* @__PURE__ */ React93.createElement(Group26, { gap: "md", align: "flex-start" }, /* @__PURE__ */ React93.createElement(
7896
- Box16,
8044
+ /* @__PURE__ */ React95.createElement(Group26, { gap: "md", align: "flex-start" }, /* @__PURE__ */ React95.createElement(
8045
+ Box18,
7897
8046
  {
7898
8047
  style: {
7899
8048
  width: 48,
@@ -7908,35 +8057,35 @@ var EnumChecklistTypeSelection = ({ selectedType, onTypeSelect, onNext }) => {
7908
8057
  }
7909
8058
  },
7910
8059
  enumChecklistMeta.icon
7911
- ), /* @__PURE__ */ React93.createElement(Stack70, { gap: 2, style: { flex: 1 } }, /* @__PURE__ */ React93.createElement(Text45, { size: "md", fw: 600 }, enumChecklistMeta.name), /* @__PURE__ */ React93.createElement(Text45, { size: "sm", c: "dimmed" }, enumChecklistMeta.description)))
7912
- ))), /* @__PURE__ */ React93.createElement(Group26, { justify: "flex-end", mt: "md" }, /* @__PURE__ */ React93.createElement(Button20, { onClick: onNext, disabled: !selectedType }, "Next")));
8060
+ ), /* @__PURE__ */ React95.createElement(Stack72, { gap: 2, style: { flex: 1 } }, /* @__PURE__ */ React95.createElement(Text47, { size: "md", fw: 600 }, enumChecklistMeta.name), /* @__PURE__ */ React95.createElement(Text47, { size: "sm", c: "dimmed" }, enumChecklistMeta.description)))
8061
+ ))), /* @__PURE__ */ React95.createElement(Group26, { justify: "flex-end", mt: "md" }, /* @__PURE__ */ React95.createElement(Button20, { onClick: onNext, disabled: !selectedType }, "Next")));
7913
8062
  };
7914
8063
 
7915
8064
  // src/mantine/blocks/enumChecklist/EnumChecklistPreviewStep.tsx
7916
- import React94 from "react";
7917
- import { Stack as Stack71, Text as Text46, Button as Button21, Group as Group27 } from "@mantine/core";
8065
+ import React96 from "react";
8066
+ import { Stack as Stack73, Text as Text48, Button as Button21, Group as Group27 } from "@mantine/core";
7918
8067
  var EnumChecklistPreviewStep = ({ listType, onAddToBlock, onPrev }) => {
7919
8068
  const renderListComponent = () => {
7920
8069
  switch (listType) {
7921
8070
  case "oracle_personalities":
7922
- return /* @__PURE__ */ React94.createElement(OraclePersonalitiesEnumList, { items: getEnumListItems(listType) });
8071
+ return /* @__PURE__ */ React96.createElement(OraclePersonalitiesEnumList, { items: getEnumListItems(listType) });
7923
8072
  default:
7924
8073
  return null;
7925
8074
  }
7926
8075
  };
7927
- return /* @__PURE__ */ React94.createElement(Stack71, { gap: "md" }, /* @__PURE__ */ React94.createElement("div", null, /* @__PURE__ */ React94.createElement(Text46, { size: "lg", fw: 600, mb: "xs" }, "Preview ", getEnumListNameByType(listType)), /* @__PURE__ */ React94.createElement(Text46, { size: "sm", c: "dimmed" }, "Preview how your list will look with the current configuration")), /* @__PURE__ */ React94.createElement("div", { style: { maxHeight: "400px", overflow: "auto" } }, renderListComponent()), /* @__PURE__ */ React94.createElement(Group27, { justify: "space-between", mt: "md" }, /* @__PURE__ */ React94.createElement(Button21, { variant: "subtle", onClick: onPrev }, "Previous"), /* @__PURE__ */ React94.createElement(Button21, { onClick: onAddToBlock }, "Add to Block")));
8076
+ return /* @__PURE__ */ React96.createElement(Stack73, { gap: "md" }, /* @__PURE__ */ React96.createElement("div", null, /* @__PURE__ */ React96.createElement(Text48, { size: "lg", fw: 600, mb: "xs" }, "Preview ", getEnumListNameByType(listType)), /* @__PURE__ */ React96.createElement(Text48, { size: "sm", c: "dimmed" }, "Preview how your list will look with the current configuration")), /* @__PURE__ */ React96.createElement("div", { style: { maxHeight: "400px", overflow: "auto" } }, renderListComponent()), /* @__PURE__ */ React96.createElement(Group27, { justify: "space-between", mt: "md" }, /* @__PURE__ */ React96.createElement(Button21, { variant: "subtle", onClick: onPrev }, "Previous"), /* @__PURE__ */ React96.createElement(Button21, { onClick: onAddToBlock }, "Add to Block")));
7928
8077
  };
7929
8078
 
7930
8079
  // src/mantine/blocks/enumChecklist/EnumChecklistConfigurationStep.tsx
7931
- import React95 from "react";
7932
- import { Stack as Stack72, TextInput as TextInput35, Text as Text47, Button as Button22, Group as Group28, Switch as Switch4, Select as Select11 } from "@mantine/core";
8080
+ import React97 from "react";
8081
+ import { Stack as Stack74, TextInput as TextInput35, Text as Text49, Button as Button22, Group as Group28, Switch as Switch4, Select as Select11 } from "@mantine/core";
7933
8082
  var EnumChecklistConfigurationStep = ({ enumChecklistType: listType, config, onConfigChange, onPrev, onNext, isValid }) => {
7934
8083
  const typeConfig = ENUM_LIST_CONFIG[listType];
7935
8084
  const configFields = getEnumListTypesConfigFields(listType);
7936
8085
  const renderListConfigField = (field) => {
7937
8086
  switch (field.type) {
7938
8087
  case "text":
7939
- return /* @__PURE__ */ React95.createElement(
8088
+ return /* @__PURE__ */ React97.createElement(
7940
8089
  TextInput35,
7941
8090
  {
7942
8091
  label: field.label,
@@ -7948,7 +8097,7 @@ var EnumChecklistConfigurationStep = ({ enumChecklistType: listType, config, onC
7948
8097
  }
7949
8098
  );
7950
8099
  case "switch":
7951
- return /* @__PURE__ */ React95.createElement(
8100
+ return /* @__PURE__ */ React97.createElement(
7952
8101
  Switch4,
7953
8102
  {
7954
8103
  label: field.label,
@@ -7958,7 +8107,7 @@ var EnumChecklistConfigurationStep = ({ enumChecklistType: listType, config, onC
7958
8107
  }
7959
8108
  );
7960
8109
  case "select":
7961
- return /* @__PURE__ */ React95.createElement(
8110
+ return /* @__PURE__ */ React97.createElement(
7962
8111
  Select11,
7963
8112
  {
7964
8113
  label: field.label,
@@ -7971,7 +8120,7 @@ var EnumChecklistConfigurationStep = ({ enumChecklistType: listType, config, onC
7971
8120
  }
7972
8121
  );
7973
8122
  default:
7974
- return /* @__PURE__ */ React95.createElement(
8123
+ return /* @__PURE__ */ React97.createElement(
7975
8124
  TextInput35,
7976
8125
  {
7977
8126
  label: field.label,
@@ -7984,7 +8133,7 @@ var EnumChecklistConfigurationStep = ({ enumChecklistType: listType, config, onC
7984
8133
  );
7985
8134
  }
7986
8135
  };
7987
- return /* @__PURE__ */ React95.createElement(Stack72, { gap: "md" }, /* @__PURE__ */ React95.createElement("div", null, /* @__PURE__ */ React95.createElement(Text47, { size: "lg", fw: 600, mb: "xs" }, "Configure ", typeConfig.metadata.name), /* @__PURE__ */ React95.createElement(Text47, { size: "sm", c: "dimmed" }, typeConfig.metadata.description)), /* @__PURE__ */ React95.createElement(Stack72, { gap: "sm" }, configFields.map((field) => /* @__PURE__ */ React95.createElement("div", { key: field.key }, renderListConfigField(field)))), /* @__PURE__ */ React95.createElement(Group28, { justify: "space-between", mt: "md" }, /* @__PURE__ */ React95.createElement(Button22, { variant: "subtle", onClick: onPrev }, "Previous"), /* @__PURE__ */ React95.createElement(Button22, { onClick: onNext, disabled: !isValid }, "Next")));
8136
+ return /* @__PURE__ */ React97.createElement(Stack74, { gap: "md" }, /* @__PURE__ */ React97.createElement("div", null, /* @__PURE__ */ React97.createElement(Text49, { size: "lg", fw: 600, mb: "xs" }, "Configure ", typeConfig.metadata.name), /* @__PURE__ */ React97.createElement(Text49, { size: "sm", c: "dimmed" }, typeConfig.metadata.description)), /* @__PURE__ */ React97.createElement(Stack74, { gap: "sm" }, configFields.map((field) => /* @__PURE__ */ React97.createElement("div", { key: field.key }, renderListConfigField(field)))), /* @__PURE__ */ React97.createElement(Group28, { justify: "space-between", mt: "md" }, /* @__PURE__ */ React97.createElement(Button22, { variant: "subtle", onClick: onPrev }, "Previous"), /* @__PURE__ */ React97.createElement(Button22, { onClick: onNext, disabled: !isValid }, "Next")));
7988
8137
  };
7989
8138
 
7990
8139
  // src/mantine/blocks/enumChecklist/EnumChecklistConfigModal.tsx
@@ -8046,9 +8195,9 @@ var EnumChecklistConfigModal = ({ opened, onClose, onSave, initialConfig }) => {
8046
8195
  const renderStepContent = () => {
8047
8196
  switch (activeStep) {
8048
8197
  case "type":
8049
- return /* @__PURE__ */ React96.createElement(EnumChecklistTypeSelection, { selectedType, onTypeSelect: handleTypeSelect, onNext: () => setActiveStep("configure") });
8198
+ return /* @__PURE__ */ React98.createElement(EnumChecklistTypeSelection, { selectedType, onTypeSelect: handleTypeSelect, onNext: () => setActiveStep("configure") });
8050
8199
  case "configure":
8051
- return selectedType ? /* @__PURE__ */ React96.createElement(
8200
+ return selectedType ? /* @__PURE__ */ React98.createElement(
8052
8201
  EnumChecklistConfigurationStep,
8053
8202
  {
8054
8203
  enumChecklistType: selectedType,
@@ -8060,16 +8209,16 @@ var EnumChecklistConfigModal = ({ opened, onClose, onSave, initialConfig }) => {
8060
8209
  }
8061
8210
  ) : null;
8062
8211
  case "preview":
8063
- return selectedType ? /* @__PURE__ */ React96.createElement(EnumChecklistPreviewStep, { listType: selectedType, onAddToBlock: handleAddToBlock, onPrev: () => setActiveStep("configure") }) : null;
8212
+ return selectedType ? /* @__PURE__ */ React98.createElement(EnumChecklistPreviewStep, { listType: selectedType, onAddToBlock: handleAddToBlock, onPrev: () => setActiveStep("configure") }) : null;
8064
8213
  default:
8065
8214
  return null;
8066
8215
  }
8067
8216
  };
8068
- return /* @__PURE__ */ React96.createElement(Modal, { opened, onClose: handleClose, title: "Configure Enum Checklist Block", size: "xl" }, /* @__PURE__ */ React96.createElement(Group29, { align: "flex-start", gap: "lg", style: { minHeight: "400px" } }, /* @__PURE__ */ React96.createElement(Box17, { style: { width: "200px", flexShrink: 0, height: "400px", display: "flex" } }, /* @__PURE__ */ React96.createElement(ModalNavigation, { steps, activeStep, onStepChange: setActiveStep, showUpdateButton: selectedType !== null, onUpdateBlock: handleAddToBlock })), /* @__PURE__ */ React96.createElement(Box17, { style: { flex: 1 } }, renderStepContent())));
8217
+ return /* @__PURE__ */ React98.createElement(Modal, { opened, onClose: handleClose, title: "Configure Enum Checklist Block", size: "xl" }, /* @__PURE__ */ React98.createElement(Group29, { align: "flex-start", gap: "lg", style: { minHeight: "400px" } }, /* @__PURE__ */ React98.createElement(Box19, { style: { width: "200px", flexShrink: 0, height: "400px", display: "flex" } }, /* @__PURE__ */ React98.createElement(ModalNavigation, { steps, activeStep, onStepChange: setActiveStep, showUpdateButton: selectedType !== null, onUpdateBlock: handleAddToBlock })), /* @__PURE__ */ React98.createElement(Box19, { style: { flex: 1 } }, renderStepContent())));
8069
8218
  };
8070
8219
 
8071
8220
  // src/mantine/blocks/enumChecklist/EnumChecklistBlock.tsx
8072
- var IconSettings2 = () => /* @__PURE__ */ React97.createElement("span", null, "\u2699\uFE0F");
8221
+ var IconSettings2 = () => /* @__PURE__ */ React99.createElement("span", null, "\u2699\uFE0F");
8073
8222
  var EnumChecklistBlockType = "enumChecklist";
8074
8223
  var EnumChecklistBlockContent = ({ block, editor }) => {
8075
8224
  const [modalOpened, setModalOpened] = useState25(false);
@@ -8155,7 +8304,7 @@ var EnumChecklistBlockContent = ({ block, editor }) => {
8155
8304
  if (!listType) return null;
8156
8305
  switch (listType) {
8157
8306
  case "oracle_personalities":
8158
- return /* @__PURE__ */ React97.createElement(
8307
+ return /* @__PURE__ */ React99.createElement(
8159
8308
  OraclePersonalitiesEnumList,
8160
8309
  {
8161
8310
  items: getEnumListItems(listType),
@@ -8168,7 +8317,7 @@ var EnumChecklistBlockContent = ({ block, editor }) => {
8168
8317
  return null;
8169
8318
  }
8170
8319
  };
8171
- return /* @__PURE__ */ React97.createElement(Stack73, { w: "100%" }, listType && /* @__PURE__ */ React97.createElement(Flex17, { align: "center", justify: "space-between", gap: "xs" }, /* @__PURE__ */ React97.createElement(Text48, null, getEnumListNameByType(listType)), listConfig.listSelectionMode && /* @__PURE__ */ React97.createElement(Text48, { lh: 0.5, c: "dimmed" }, listConfig?.selection_mode === "single" ? "Single Selection" : "Multi Selection"), editable && /* @__PURE__ */ React97.createElement(Flex17, { justify: listType ? "space-between" : "flex-end" }, /* @__PURE__ */ React97.createElement(Flex17, { gap: "xs" }, /* @__PURE__ */ React97.createElement(ActionIcon12, { variant: "subtle", size: "sm", onClick: () => setModalOpened(true) }, /* @__PURE__ */ React97.createElement(IconSettings2, null))))), /* @__PURE__ */ React97.createElement(Flex17, { flex: 1 }, !listType ? /* @__PURE__ */ React97.createElement(Center3, { py: "xl" }, /* @__PURE__ */ React97.createElement(Stack73, { align: "center", gap: "sm" }, /* @__PURE__ */ React97.createElement(Text48, { size: "sm", c: "dimmed", ta: "center" }, "No list type configured"), /* @__PURE__ */ React97.createElement(Button23, { size: "sm", variant: "light", onClick: () => setModalOpened(true) }, "Configure List"))) : /* @__PURE__ */ React97.createElement(Stack73, { gap: "md", flex: 1 }, renderListComponent())), /* @__PURE__ */ React97.createElement(
8320
+ return /* @__PURE__ */ React99.createElement(Stack75, { w: "100%" }, listType && /* @__PURE__ */ React99.createElement(Flex19, { align: "center", justify: "space-between", gap: "xs" }, /* @__PURE__ */ React99.createElement(Text50, null, getEnumListNameByType(listType)), listConfig.listSelectionMode && /* @__PURE__ */ React99.createElement(Text50, { lh: 0.5, c: "dimmed" }, listConfig?.selection_mode === "single" ? "Single Selection" : "Multi Selection"), editable && /* @__PURE__ */ React99.createElement(Flex19, { justify: listType ? "space-between" : "flex-end" }, /* @__PURE__ */ React99.createElement(Flex19, { gap: "xs" }, /* @__PURE__ */ React99.createElement(ActionIcon12, { variant: "subtle", size: "sm", onClick: () => setModalOpened(true) }, /* @__PURE__ */ React99.createElement(IconSettings2, null))))), /* @__PURE__ */ React99.createElement(Flex19, { flex: 1 }, !listType ? /* @__PURE__ */ React99.createElement(Center3, { py: "xl" }, /* @__PURE__ */ React99.createElement(Stack75, { align: "center", gap: "sm" }, /* @__PURE__ */ React99.createElement(Text50, { size: "sm", c: "dimmed", ta: "center" }, "No list type configured"), /* @__PURE__ */ React99.createElement(Button23, { size: "sm", variant: "light", onClick: () => setModalOpened(true) }, "Configure List"))) : /* @__PURE__ */ React99.createElement(Stack75, { gap: "md", flex: 1 }, renderListComponent())), /* @__PURE__ */ React99.createElement(
8172
8321
  EnumChecklistConfigModal,
8173
8322
  {
8174
8323
  opened: modalOpened,
@@ -8200,27 +8349,27 @@ var EnumChecklistBlock = createReactBlockSpec6(
8200
8349
  content: "none"
8201
8350
  },
8202
8351
  {
8203
- render: (props) => /* @__PURE__ */ React97.createElement(EnumChecklistBlockContent, { ...props })
8352
+ render: (props) => /* @__PURE__ */ React99.createElement(EnumChecklistBlockContent, { ...props })
8204
8353
  }
8205
8354
  );
8206
8355
 
8207
8356
  // src/mantine/blocks/notify/NotifyBlockSpec.tsx
8208
- import React103 from "react";
8357
+ import React105 from "react";
8209
8358
  import { createReactBlockSpec as createReactBlockSpec7 } from "@blocknote/react";
8210
8359
 
8211
8360
  // src/mantine/blocks/notify/NotifyBlock.tsx
8212
- import React102 from "react";
8361
+ import React104 from "react";
8213
8362
 
8214
8363
  // src/mantine/blocks/notify/template/TemplateView.tsx
8215
- import React100, { useMemo as useMemo14 } from "react";
8364
+ import React102, { useMemo as useMemo14 } from "react";
8216
8365
 
8217
8366
  // src/mantine/blocks/notify/template/TemplateConfig.tsx
8218
- import React99, { useCallback as useCallback17 } from "react";
8367
+ import React101, { useCallback as useCallback17 } from "react";
8219
8368
  import { Paper as Paper11, CloseButton as CloseButton7, Title as Title7 } from "@mantine/core";
8220
8369
 
8221
8370
  // src/mantine/blocks/notify/template/GeneralTab.tsx
8222
- import React98, { useEffect as useEffect17, useState as useState26 } from "react";
8223
- import { Divider as Divider6, Select as Select12, Stack as Stack74, Text as Text49, TextInput as TextInput36, Textarea as Textarea20, Button as Button24, Group as Group30, ActionIcon as ActionIcon13, Paper as Paper10 } from "@mantine/core";
8371
+ import React100, { useEffect as useEffect17, useState as useState26 } from "react";
8372
+ import { Divider as Divider6, Select as Select12, Stack as Stack76, Text as Text51, TextInput as TextInput36, Textarea as Textarea20, Button as Button24, Group as Group30, ActionIcon as ActionIcon13, Paper as Paper10 } from "@mantine/core";
8224
8373
  import { IconTrash as IconTrash2, IconPlus as IconPlus2 } from "@tabler/icons-react";
8225
8374
  var GeneralTab5 = ({
8226
8375
  title,
@@ -8293,7 +8442,7 @@ var GeneralTab5 = ({
8293
8442
  setter(newRecipients);
8294
8443
  callback(newRecipients);
8295
8444
  };
8296
- return /* @__PURE__ */ React98.createElement(Stack74, { gap: "lg" }, /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "Title"), /* @__PURE__ */ React98.createElement(
8445
+ return /* @__PURE__ */ React100.createElement(Stack76, { gap: "lg" }, /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "Title"), /* @__PURE__ */ React100.createElement(
8297
8446
  TextInput36,
8298
8447
  {
8299
8448
  placeholder: "e.g. Welcome Email",
@@ -8304,7 +8453,7 @@ var GeneralTab5 = ({
8304
8453
  onTitleChange(newTitle);
8305
8454
  }
8306
8455
  }
8307
- )), /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "Description"), /* @__PURE__ */ React98.createElement(
8456
+ )), /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "Description"), /* @__PURE__ */ React100.createElement(
8308
8457
  Textarea20,
8309
8458
  {
8310
8459
  placeholder: "Describe what this notification does",
@@ -8316,7 +8465,7 @@ var GeneralTab5 = ({
8316
8465
  onDescriptionChange(newDescription);
8317
8466
  }
8318
8467
  }
8319
- )), /* @__PURE__ */ React98.createElement(Divider6, { variant: "dashed" }), /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "Channel"), /* @__PURE__ */ React98.createElement(
8468
+ )), /* @__PURE__ */ React100.createElement(Divider6, { variant: "dashed" }), /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "Channel"), /* @__PURE__ */ React100.createElement(
8320
8469
  Select12,
8321
8470
  {
8322
8471
  value: localChannel,
@@ -8332,7 +8481,7 @@ var GeneralTab5 = ({
8332
8481
  { value: "rcs", label: "RCS (Coming Soon)", disabled: true }
8333
8482
  ]
8334
8483
  }
8335
- )), /* @__PURE__ */ React98.createElement(Divider6, { variant: "dashed" }), localChannel === "email" && /* @__PURE__ */ React98.createElement(React98.Fragment, null, /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Group30, { justify: "space-between" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "To (Recipients)"), /* @__PURE__ */ React98.createElement(Button24, { size: "xs", leftSection: /* @__PURE__ */ React98.createElement(IconPlus2, { size: 14 }), onClick: () => handleAddRecipient("to") }, "Add")), localTo.length === 0 && /* @__PURE__ */ React98.createElement(Text49, { size: "xs", c: "dimmed" }, "No recipients added yet"), /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, localTo.map((recipient, index) => /* @__PURE__ */ React98.createElement(Paper10, { key: index, p: "xs", withBorder: true }, /* @__PURE__ */ React98.createElement(Group30, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React98.createElement(TextInput36, { style: { flex: 1 }, placeholder: "email@example.com", value: recipient, onChange: (e) => handleRecipientChange("to", index, e.currentTarget.value) }), /* @__PURE__ */ React98.createElement(ActionIcon13, { color: "red", variant: "light", onClick: () => handleRemoveRecipient("to", index) }, /* @__PURE__ */ React98.createElement(IconTrash2, { size: 16 }))))))), /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Group30, { justify: "space-between" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "CC (Optional)"), /* @__PURE__ */ React98.createElement(Button24, { size: "xs", leftSection: /* @__PURE__ */ React98.createElement(IconPlus2, { size: 14 }), onClick: () => handleAddRecipient("cc") }, "Add")), localCc.length > 0 && /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, localCc.map((recipient, index) => /* @__PURE__ */ React98.createElement(Paper10, { key: index, p: "xs", withBorder: true }, /* @__PURE__ */ React98.createElement(Group30, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React98.createElement(
8484
+ )), /* @__PURE__ */ React100.createElement(Divider6, { variant: "dashed" }), localChannel === "email" && /* @__PURE__ */ React100.createElement(React100.Fragment, null, /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Group30, { justify: "space-between" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "To (Recipients)"), /* @__PURE__ */ React100.createElement(Button24, { size: "xs", leftSection: /* @__PURE__ */ React100.createElement(IconPlus2, { size: 14 }), onClick: () => handleAddRecipient("to") }, "Add")), localTo.length === 0 && /* @__PURE__ */ React100.createElement(Text51, { size: "xs", c: "dimmed" }, "No recipients added yet"), /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, localTo.map((recipient, index) => /* @__PURE__ */ React100.createElement(Paper10, { key: index, p: "xs", withBorder: true }, /* @__PURE__ */ React100.createElement(Group30, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React100.createElement(TextInput36, { style: { flex: 1 }, placeholder: "email@example.com", value: recipient, onChange: (e) => handleRecipientChange("to", index, e.currentTarget.value) }), /* @__PURE__ */ React100.createElement(ActionIcon13, { color: "red", variant: "light", onClick: () => handleRemoveRecipient("to", index) }, /* @__PURE__ */ React100.createElement(IconTrash2, { size: 16 }))))))), /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Group30, { justify: "space-between" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "CC (Optional)"), /* @__PURE__ */ React100.createElement(Button24, { size: "xs", leftSection: /* @__PURE__ */ React100.createElement(IconPlus2, { size: 14 }), onClick: () => handleAddRecipient("cc") }, "Add")), localCc.length > 0 && /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, localCc.map((recipient, index) => /* @__PURE__ */ React100.createElement(Paper10, { key: index, p: "xs", withBorder: true }, /* @__PURE__ */ React100.createElement(Group30, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React100.createElement(
8336
8485
  TextInput36,
8337
8486
  {
8338
8487
  style: { flex: 1 },
@@ -8340,7 +8489,7 @@ var GeneralTab5 = ({
8340
8489
  value: recipient,
8341
8490
  onChange: (e) => handleRecipientChange("cc", index, e.currentTarget.value)
8342
8491
  }
8343
- ), /* @__PURE__ */ React98.createElement(ActionIcon13, { color: "red", variant: "light", onClick: () => handleRemoveRecipient("cc", index) }, /* @__PURE__ */ React98.createElement(IconTrash2, { size: 16 }))))))), /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Group30, { justify: "space-between" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "BCC (Optional)"), /* @__PURE__ */ React98.createElement(Button24, { size: "xs", leftSection: /* @__PURE__ */ React98.createElement(IconPlus2, { size: 14 }), onClick: () => handleAddRecipient("bcc") }, "Add")), localBcc.length > 0 && /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, localBcc.map((recipient, index) => /* @__PURE__ */ React98.createElement(Paper10, { key: index, p: "xs", withBorder: true }, /* @__PURE__ */ React98.createElement(Group30, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React98.createElement(
8492
+ ), /* @__PURE__ */ React100.createElement(ActionIcon13, { color: "red", variant: "light", onClick: () => handleRemoveRecipient("cc", index) }, /* @__PURE__ */ React100.createElement(IconTrash2, { size: 16 }))))))), /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Group30, { justify: "space-between" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "BCC (Optional)"), /* @__PURE__ */ React100.createElement(Button24, { size: "xs", leftSection: /* @__PURE__ */ React100.createElement(IconPlus2, { size: 14 }), onClick: () => handleAddRecipient("bcc") }, "Add")), localBcc.length > 0 && /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, localBcc.map((recipient, index) => /* @__PURE__ */ React100.createElement(Paper10, { key: index, p: "xs", withBorder: true }, /* @__PURE__ */ React100.createElement(Group30, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React100.createElement(
8344
8493
  TextInput36,
8345
8494
  {
8346
8495
  style: { flex: 1 },
@@ -8348,7 +8497,7 @@ var GeneralTab5 = ({
8348
8497
  value: recipient,
8349
8498
  onChange: (e) => handleRecipientChange("bcc", index, e.currentTarget.value)
8350
8499
  }
8351
- ), /* @__PURE__ */ React98.createElement(ActionIcon13, { color: "red", variant: "light", onClick: () => handleRemoveRecipient("bcc", index) }, /* @__PURE__ */ React98.createElement(IconTrash2, { size: 16 }))))))), /* @__PURE__ */ React98.createElement(Divider6, { variant: "dashed" }), /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "From (Optional)"), /* @__PURE__ */ React98.createElement(
8500
+ ), /* @__PURE__ */ React100.createElement(ActionIcon13, { color: "red", variant: "light", onClick: () => handleRemoveRecipient("bcc", index) }, /* @__PURE__ */ React100.createElement(IconTrash2, { size: 16 }))))))), /* @__PURE__ */ React100.createElement(Divider6, { variant: "dashed" }), /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "From (Optional)"), /* @__PURE__ */ React100.createElement(
8352
8501
  TextInput36,
8353
8502
  {
8354
8503
  placeholder: "sender@example.com",
@@ -8359,7 +8508,7 @@ var GeneralTab5 = ({
8359
8508
  onFromChange(newFrom);
8360
8509
  }
8361
8510
  }
8362
- ), /* @__PURE__ */ React98.createElement(Text49, { size: "xs", c: "dimmed" }, "Custom sender email address")), /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "Reply-To (Optional)"), /* @__PURE__ */ React98.createElement(
8511
+ ), /* @__PURE__ */ React100.createElement(Text51, { size: "xs", c: "dimmed" }, "Custom sender email address")), /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "Reply-To (Optional)"), /* @__PURE__ */ React100.createElement(
8363
8512
  TextInput36,
8364
8513
  {
8365
8514
  placeholder: "reply@example.com",
@@ -8370,7 +8519,7 @@ var GeneralTab5 = ({
8370
8519
  onReplyToChange(newReplyTo);
8371
8520
  }
8372
8521
  }
8373
- ), /* @__PURE__ */ React98.createElement(Text49, { size: "xs", c: "dimmed" }, "Where replies should be sent")), /* @__PURE__ */ React98.createElement(Divider6, { variant: "dashed" }), /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "Subject"), /* @__PURE__ */ React98.createElement(
8522
+ ), /* @__PURE__ */ React100.createElement(Text51, { size: "xs", c: "dimmed" }, "Where replies should be sent")), /* @__PURE__ */ React100.createElement(Divider6, { variant: "dashed" }), /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "Subject"), /* @__PURE__ */ React100.createElement(
8374
8523
  TextInput36,
8375
8524
  {
8376
8525
  placeholder: "Email subject line",
@@ -8381,7 +8530,7 @@ var GeneralTab5 = ({
8381
8530
  onSubjectChange(newSubject);
8382
8531
  }
8383
8532
  }
8384
- )), /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "Body Type"), /* @__PURE__ */ React98.createElement(
8533
+ )), /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "Body Type"), /* @__PURE__ */ React100.createElement(
8385
8534
  Select12,
8386
8535
  {
8387
8536
  value: localBodyType,
@@ -8395,7 +8544,7 @@ var GeneralTab5 = ({
8395
8544
  { value: "html", label: "HTML" }
8396
8545
  ]
8397
8546
  }
8398
- )), /* @__PURE__ */ React98.createElement(Stack74, { gap: "xs" }, /* @__PURE__ */ React98.createElement(Text49, { size: "sm", fw: 600 }, "Body"), /* @__PURE__ */ React98.createElement(
8547
+ )), /* @__PURE__ */ React100.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React100.createElement(Text51, { size: "sm", fw: 600 }, "Body"), /* @__PURE__ */ React100.createElement(
8399
8548
  Textarea20,
8400
8549
  {
8401
8550
  placeholder: localBodyType === "html" ? "<h1>Hello!</h1><p>Welcome to our service.</p>" : "Email body content",
@@ -8407,7 +8556,7 @@ var GeneralTab5 = ({
8407
8556
  onBodyChange(newBody);
8408
8557
  }
8409
8558
  }
8410
- ), /* @__PURE__ */ React98.createElement(Text49, { size: "xs", c: "dimmed" }, localBodyType === "html" ? "HTML content for the email body" : "Plain text content for the email body"))));
8559
+ ), /* @__PURE__ */ React100.createElement(Text51, { size: "xs", c: "dimmed" }, localBodyType === "html" ? "HTML content for the email body" : "Plain text content for the email body"))));
8411
8560
  };
8412
8561
 
8413
8562
  // src/mantine/blocks/notify/template/TemplateConfig.tsx
@@ -8442,7 +8591,7 @@ var TemplateConfig5 = ({ editor, block }) => {
8442
8591
  },
8443
8592
  [updateProp]
8444
8593
  );
8445
- return /* @__PURE__ */ React99.createElement(
8594
+ return /* @__PURE__ */ React101.createElement(
8446
8595
  Paper11,
8447
8596
  {
8448
8597
  p: "md",
@@ -8453,7 +8602,7 @@ var TemplateConfig5 = ({ editor, block }) => {
8453
8602
  flexDirection: "column"
8454
8603
  }
8455
8604
  },
8456
- /* @__PURE__ */ React99.createElement(
8605
+ /* @__PURE__ */ React101.createElement(
8457
8606
  "div",
8458
8607
  {
8459
8608
  style: {
@@ -8463,17 +8612,17 @@ var TemplateConfig5 = ({ editor, block }) => {
8463
8612
  marginBottom: "1rem"
8464
8613
  }
8465
8614
  },
8466
- /* @__PURE__ */ React99.createElement(Title7, { order: 3 }, "Notification Settings"),
8467
- /* @__PURE__ */ React99.createElement(CloseButton7, { onClick: closePanel })
8615
+ /* @__PURE__ */ React101.createElement(Title7, { order: 3 }, "Notification Settings"),
8616
+ /* @__PURE__ */ React101.createElement(CloseButton7, { onClick: closePanel })
8468
8617
  ),
8469
- /* @__PURE__ */ React99.createElement(
8618
+ /* @__PURE__ */ React101.createElement(
8470
8619
  ReusablePanel,
8471
8620
  {
8472
8621
  extraTabs: [
8473
8622
  {
8474
8623
  label: "General",
8475
8624
  value: "general",
8476
- content: /* @__PURE__ */ React99.createElement(
8625
+ content: /* @__PURE__ */ React101.createElement(
8477
8626
  GeneralTab5,
8478
8627
  {
8479
8628
  title: block.props.title || "",
@@ -8527,11 +8676,11 @@ var TemplateConfig5 = ({ editor, block }) => {
8527
8676
  };
8528
8677
 
8529
8678
  // src/mantine/blocks/notify/template/TemplateView.tsx
8530
- import { Card as Card22, Group as Group31, Stack as Stack75, Text as Text50, ActionIcon as ActionIcon14, Badge as Badge12 } from "@mantine/core";
8679
+ import { Card as Card22, Group as Group31, Stack as Stack77, Text as Text52, ActionIcon as ActionIcon14, Badge as Badge12 } from "@mantine/core";
8531
8680
  var NOTIFY_TEMPLATE_PANEL_ID = "notify-template-panel";
8532
8681
  var NotifyTemplateView = ({ editor, block }) => {
8533
8682
  const panelId = `${NOTIFY_TEMPLATE_PANEL_ID}-${block.id}`;
8534
- const panelContent = useMemo14(() => /* @__PURE__ */ React100.createElement(TemplateConfig5, { editor, block }), [editor, block]);
8683
+ const panelContent = useMemo14(() => /* @__PURE__ */ React102.createElement(TemplateConfig5, { editor, block }), [editor, block]);
8535
8684
  const { open } = usePanel(panelId, panelContent);
8536
8685
  const channel = block.props.channel || "email";
8537
8686
  const to = (() => {
@@ -8556,12 +8705,12 @@ var NotifyTemplateView = ({ editor, block }) => {
8556
8705
  return "gray";
8557
8706
  }
8558
8707
  };
8559
- return /* @__PURE__ */ React100.createElement(Card22, { withBorder: true, padding: "md", radius: "md", style: { width: "100%", cursor: "pointer", position: "relative" }, onClick: open }, /* @__PURE__ */ React100.createElement(Badge12, { size: "xs", variant: "light", color: "gray", style: { position: "absolute", top: 8, right: 8 } }, "Template"), /* @__PURE__ */ React100.createElement(Group31, { wrap: "nowrap", justify: "space-between", align: "center" }, /* @__PURE__ */ React100.createElement(Group31, { wrap: "nowrap", align: "center" }, /* @__PURE__ */ React100.createElement(ActionIcon14, { variant: "light", color: getChannelColor(channel), size: "lg", radius: "xl", style: { flexShrink: 0 } }, getIcon(block.props.icon, 18, 1.5, "bell")), /* @__PURE__ */ React100.createElement(Stack75, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React100.createElement(Group31, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React100.createElement(Badge12, { size: "sm", variant: "filled", color: getChannelColor(channel) }, channel.toUpperCase()), /* @__PURE__ */ React100.createElement(Text50, { fw: 500, size: "sm", contentEditable: false }, block.props.title || "Notification")), /* @__PURE__ */ React100.createElement(Text50, { size: "xs", c: "dimmed", contentEditable: false, lineClamp: 1 }, to.length > 0 ? `To: ${to.join(", ")}` : "Click to configure recipients"), block.props.description && /* @__PURE__ */ React100.createElement(Text50, { size: "xs", c: "dimmed", contentEditable: false }, block.props.description)))));
8708
+ return /* @__PURE__ */ React102.createElement(Card22, { withBorder: true, padding: "md", radius: "md", style: { width: "100%", cursor: "pointer", position: "relative" }, onClick: open }, /* @__PURE__ */ React102.createElement(Badge12, { size: "xs", variant: "light", color: "gray", style: { position: "absolute", top: 8, right: 8 } }, "Template"), /* @__PURE__ */ React102.createElement(Group31, { wrap: "nowrap", justify: "space-between", align: "center" }, /* @__PURE__ */ React102.createElement(Group31, { wrap: "nowrap", align: "center" }, /* @__PURE__ */ React102.createElement(ActionIcon14, { variant: "light", color: getChannelColor(channel), size: "lg", radius: "xl", style: { flexShrink: 0 } }, getIcon(block.props.icon, 18, 1.5, "bell")), /* @__PURE__ */ React102.createElement(Stack77, { gap: "xs", style: { flex: 1 } }, /* @__PURE__ */ React102.createElement(Group31, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React102.createElement(Badge12, { size: "sm", variant: "filled", color: getChannelColor(channel) }, channel.toUpperCase()), /* @__PURE__ */ React102.createElement(Text52, { fw: 500, size: "sm", contentEditable: false }, block.props.title || "Notification")), /* @__PURE__ */ React102.createElement(Text52, { size: "xs", c: "dimmed", contentEditable: false, lineClamp: 1 }, to.length > 0 ? `To: ${to.join(", ")}` : "Click to configure recipients"), block.props.description && /* @__PURE__ */ React102.createElement(Text52, { size: "xs", c: "dimmed", contentEditable: false }, block.props.description)))));
8560
8709
  };
8561
8710
 
8562
8711
  // src/mantine/blocks/notify/flow/FlowView.tsx
8563
- import React101, { useState as useState27 } from "react";
8564
- import { Card as Card23, Group as Group32, Stack as Stack76, Text as Text51, ActionIcon as ActionIcon15, Tooltip as Tooltip5, Button as Button25, Badge as Badge13, Collapse as Collapse2, Alert as Alert10, Loader as Loader5, Code as Code2 } from "@mantine/core";
8712
+ import React103, { useState as useState27 } from "react";
8713
+ import { Card as Card23, Group as Group32, Stack as Stack78, Text as Text53, ActionIcon as ActionIcon15, Tooltip as Tooltip5, Button as Button25, Badge as Badge13, Collapse as Collapse2, Alert as Alert10, Loader as Loader5, Code as Code2 } from "@mantine/core";
8565
8714
  import { IconSend as IconSend2, IconChevronDown as IconChevronDown2, IconChevronUp as IconChevronUp2, IconCheck, IconX } from "@tabler/icons-react";
8566
8715
  var NotifyFlowView = ({ editor, block, isDisabled }) => {
8567
8716
  const disabled = isDisabled?.isDisabled === "disable";
@@ -8667,20 +8816,20 @@ var NotifyFlowView = ({ editor, block, isDisabled }) => {
8667
8816
  }
8668
8817
  };
8669
8818
  const canSend = !disabled && !isLoading && handlers && to.length > 0 && (channel === "email" ? block.props.subject && block.props.body : true);
8670
- const sendButton = /* @__PURE__ */ React101.createElement(
8819
+ const sendButton = /* @__PURE__ */ React103.createElement(
8671
8820
  Button25,
8672
8821
  {
8673
8822
  size: "sm",
8674
8823
  variant: "light",
8675
8824
  color: getChannelColor(channel),
8676
- leftSection: isLoading ? /* @__PURE__ */ React101.createElement(Loader5, { size: 14 }) : status === "sent" ? /* @__PURE__ */ React101.createElement(IconCheck, { size: 14 }) : /* @__PURE__ */ React101.createElement(IconSend2, { size: 14 }),
8825
+ leftSection: isLoading ? /* @__PURE__ */ React103.createElement(Loader5, { size: 14 }) : status === "sent" ? /* @__PURE__ */ React103.createElement(IconCheck, { size: 14 }) : /* @__PURE__ */ React103.createElement(IconSend2, { size: 14 }),
8677
8826
  onClick: handleSendNotification,
8678
8827
  disabled: !canSend,
8679
8828
  style: { flexShrink: 0 }
8680
8829
  },
8681
8830
  isLoading ? "Sending..." : status === "sent" ? "Sent" : "Send"
8682
8831
  );
8683
- return /* @__PURE__ */ React101.createElement(Card23, { withBorder: true, padding: "md", radius: "md", style: { width: "100%" } }, /* @__PURE__ */ React101.createElement(Stack76, { gap: "md" }, /* @__PURE__ */ React101.createElement(Group32, { wrap: "nowrap", justify: "space-between", align: "flex-start" }, /* @__PURE__ */ React101.createElement(Group32, { wrap: "nowrap", align: "flex-start", style: { flex: 1 } }, /* @__PURE__ */ React101.createElement(ActionIcon15, { variant: "light", color: getChannelColor(channel), size: "lg", radius: "xl", style: { flexShrink: 0 } }, getIcon(block.props.icon, 18, 1.5, "bell")), /* @__PURE__ */ React101.createElement(Stack76, { gap: "xs", style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React101.createElement(Group32, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React101.createElement(Badge13, { size: "sm", variant: "filled", color: getChannelColor(channel) }, channel.toUpperCase()), /* @__PURE__ */ React101.createElement(Text51, { fw: 500, size: "sm", contentEditable: false }, block.props.title || "Notification"), status !== "idle" && /* @__PURE__ */ React101.createElement(Badge13, { size: "xs", variant: "dot", color: getStatusColor(status) }, status)), /* @__PURE__ */ React101.createElement(Text51, { size: "xs", c: "dimmed", contentEditable: false, lineClamp: 1 }, to.length > 0 ? `To: ${to.slice(0, 2).join(", ")}${to.length > 2 ? ` +${to.length - 2} more` : ""}` : "No recipients"), block.props.description && /* @__PURE__ */ React101.createElement(Text51, { size: "xs", c: "dimmed", contentEditable: false }, block.props.description))), /* @__PURE__ */ React101.createElement(Group32, { gap: "xs", style: { flexShrink: 0 } }, disabled && isDisabled?.message ? /* @__PURE__ */ React101.createElement(Tooltip5, { label: isDisabled.message, position: "left", withArrow: true }, sendButton) : sendButton, /* @__PURE__ */ React101.createElement(ActionIcon15, { variant: "subtle", onClick: () => setShowDetails(!showDetails) }, showDetails ? /* @__PURE__ */ React101.createElement(IconChevronUp2, { size: 16 }) : /* @__PURE__ */ React101.createElement(IconChevronDown2, { size: 16 })))), status === "failed" && block.props.errorMessage && /* @__PURE__ */ React101.createElement(Alert10, { color: "red", icon: /* @__PURE__ */ React101.createElement(IconX, { size: 16 }), title: "Failed to send", styles: { message: { fontSize: "12px" } } }, block.props.errorMessage), status === "sent" && block.props.messageId && /* @__PURE__ */ React101.createElement(Alert10, { color: "green", icon: /* @__PURE__ */ React101.createElement(IconCheck, { size: 16 }), title: "Sent successfully", styles: { message: { fontSize: "12px" } } }, "Message ID: ", block.props.messageId, block.props.sentAt && /* @__PURE__ */ React101.createElement(React101.Fragment, null, /* @__PURE__ */ React101.createElement("br", null), "Sent at: ", new Date(block.props.sentAt).toLocaleString())), /* @__PURE__ */ React101.createElement(Collapse2, { in: showDetails }, /* @__PURE__ */ React101.createElement(Stack76, { gap: "md" }, channel === "email" && /* @__PURE__ */ React101.createElement(React101.Fragment, null, /* @__PURE__ */ React101.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React101.createElement(Text51, { size: "xs", fw: 600, c: "dimmed" }, "Recipients:"), /* @__PURE__ */ React101.createElement(Code2, { block: true, style: { fontSize: "11px" } }, JSON.stringify(
8832
+ return /* @__PURE__ */ React103.createElement(Card23, { withBorder: true, padding: "md", radius: "md", style: { width: "100%" } }, /* @__PURE__ */ React103.createElement(Stack78, { gap: "md" }, /* @__PURE__ */ React103.createElement(Group32, { wrap: "nowrap", justify: "space-between", align: "flex-start" }, /* @__PURE__ */ React103.createElement(Group32, { wrap: "nowrap", align: "flex-start", style: { flex: 1 } }, /* @__PURE__ */ React103.createElement(ActionIcon15, { variant: "light", color: getChannelColor(channel), size: "lg", radius: "xl", style: { flexShrink: 0 } }, getIcon(block.props.icon, 18, 1.5, "bell")), /* @__PURE__ */ React103.createElement(Stack78, { gap: "xs", style: { flex: 1, minWidth: 0 } }, /* @__PURE__ */ React103.createElement(Group32, { gap: "xs", wrap: "nowrap" }, /* @__PURE__ */ React103.createElement(Badge13, { size: "sm", variant: "filled", color: getChannelColor(channel) }, channel.toUpperCase()), /* @__PURE__ */ React103.createElement(Text53, { fw: 500, size: "sm", contentEditable: false }, block.props.title || "Notification"), status !== "idle" && /* @__PURE__ */ React103.createElement(Badge13, { size: "xs", variant: "dot", color: getStatusColor(status) }, status)), /* @__PURE__ */ React103.createElement(Text53, { size: "xs", c: "dimmed", contentEditable: false, lineClamp: 1 }, to.length > 0 ? `To: ${to.slice(0, 2).join(", ")}${to.length > 2 ? ` +${to.length - 2} more` : ""}` : "No recipients"), block.props.description && /* @__PURE__ */ React103.createElement(Text53, { size: "xs", c: "dimmed", contentEditable: false }, block.props.description))), /* @__PURE__ */ React103.createElement(Group32, { gap: "xs", style: { flexShrink: 0 } }, disabled && isDisabled?.message ? /* @__PURE__ */ React103.createElement(Tooltip5, { label: isDisabled.message, position: "left", withArrow: true }, sendButton) : sendButton, /* @__PURE__ */ React103.createElement(ActionIcon15, { variant: "subtle", onClick: () => setShowDetails(!showDetails) }, showDetails ? /* @__PURE__ */ React103.createElement(IconChevronUp2, { size: 16 }) : /* @__PURE__ */ React103.createElement(IconChevronDown2, { size: 16 })))), status === "failed" && block.props.errorMessage && /* @__PURE__ */ React103.createElement(Alert10, { color: "red", icon: /* @__PURE__ */ React103.createElement(IconX, { size: 16 }), title: "Failed to send", styles: { message: { fontSize: "12px" } } }, block.props.errorMessage), status === "sent" && block.props.messageId && /* @__PURE__ */ React103.createElement(Alert10, { color: "green", icon: /* @__PURE__ */ React103.createElement(IconCheck, { size: 16 }), title: "Sent successfully", styles: { message: { fontSize: "12px" } } }, "Message ID: ", block.props.messageId, block.props.sentAt && /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement("br", null), "Sent at: ", new Date(block.props.sentAt).toLocaleString())), /* @__PURE__ */ React103.createElement(Collapse2, { in: showDetails }, /* @__PURE__ */ React103.createElement(Stack78, { gap: "md" }, channel === "email" && /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(Stack78, { gap: "xs" }, /* @__PURE__ */ React103.createElement(Text53, { size: "xs", fw: 600, c: "dimmed" }, "Recipients:"), /* @__PURE__ */ React103.createElement(Code2, { block: true, style: { fontSize: "11px" } }, JSON.stringify(
8684
8833
  {
8685
8834
  to: to.filter((e) => e.trim() !== ""),
8686
8835
  ...cc.length > 0 && { cc: cc.filter((e) => e.trim() !== "") },
@@ -8688,7 +8837,7 @@ var NotifyFlowView = ({ editor, block, isDisabled }) => {
8688
8837
  },
8689
8838
  null,
8690
8839
  2
8691
- ))), block.props.subject && /* @__PURE__ */ React101.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React101.createElement(Text51, { size: "xs", fw: 600, c: "dimmed" }, "Subject:"), /* @__PURE__ */ React101.createElement(Text51, { size: "xs" }, block.props.subject)), block.props.body && /* @__PURE__ */ React101.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React101.createElement(Text51, { size: "xs", fw: 600, c: "dimmed" }, "Body (", block.props.bodyType || "text", "):"), /* @__PURE__ */ React101.createElement(Code2, { block: true, style: { fontSize: "11px", maxHeight: "200px", overflow: "auto" } }, block.props.body)), (block.props.from || block.props.replyTo) && /* @__PURE__ */ React101.createElement(Stack76, { gap: "xs" }, /* @__PURE__ */ React101.createElement(Text51, { size: "xs", fw: 600, c: "dimmed" }, "Additional:"), /* @__PURE__ */ React101.createElement(Code2, { block: true, style: { fontSize: "11px" } }, JSON.stringify(
8840
+ ))), block.props.subject && /* @__PURE__ */ React103.createElement(Stack78, { gap: "xs" }, /* @__PURE__ */ React103.createElement(Text53, { size: "xs", fw: 600, c: "dimmed" }, "Subject:"), /* @__PURE__ */ React103.createElement(Text53, { size: "xs" }, block.props.subject)), block.props.body && /* @__PURE__ */ React103.createElement(Stack78, { gap: "xs" }, /* @__PURE__ */ React103.createElement(Text53, { size: "xs", fw: 600, c: "dimmed" }, "Body (", block.props.bodyType || "text", "):"), /* @__PURE__ */ React103.createElement(Code2, { block: true, style: { fontSize: "11px", maxHeight: "200px", overflow: "auto" } }, block.props.body)), (block.props.from || block.props.replyTo) && /* @__PURE__ */ React103.createElement(Stack78, { gap: "xs" }, /* @__PURE__ */ React103.createElement(Text53, { size: "xs", fw: 600, c: "dimmed" }, "Additional:"), /* @__PURE__ */ React103.createElement(Code2, { block: true, style: { fontSize: "11px" } }, JSON.stringify(
8692
8841
  {
8693
8842
  ...block.props.from && { from: block.props.from },
8694
8843
  ...block.props.replyTo && { replyTo: block.props.replyTo }
@@ -8703,7 +8852,7 @@ function NotifyBlock({ editor, block }) {
8703
8852
  const { editable } = useBlocknoteContext();
8704
8853
  const { actions } = useBlockConditions(block, editor);
8705
8854
  if (editable) {
8706
- return /* @__PURE__ */ React102.createElement(NotifyTemplateView, { editor, block });
8855
+ return /* @__PURE__ */ React104.createElement(NotifyTemplateView, { editor, block });
8707
8856
  }
8708
8857
  const conditionConfig = parseConditionConfig(block.props.conditions);
8709
8858
  const hasVisibility = hasVisibilityConditions(conditionConfig);
@@ -8715,7 +8864,7 @@ function NotifyBlock({ editor, block }) {
8715
8864
  const hasEnable = hasEnableConditions(conditionConfig);
8716
8865
  const enableActionExists = actions.some((a) => a.action === "enable");
8717
8866
  const shouldDisable = hasEnable && !enableActionExists;
8718
- return /* @__PURE__ */ React102.createElement(NotifyFlowView, { block, editor, isDisabled: shouldDisable ? { isDisabled: "disable", message: "Notification disabled by conditions" } : void 0 });
8867
+ return /* @__PURE__ */ React104.createElement(NotifyFlowView, { block, editor, isDisabled: shouldDisable ? { isDisabled: "disable", message: "Notification disabled by conditions" } : void 0 });
8719
8868
  }
8720
8869
 
8721
8870
  // src/mantine/blocks/notify/NotifyBlockSpec.tsx
@@ -8759,7 +8908,7 @@ var NotifyBlockSpec = createReactBlockSpec7(
8759
8908
  {
8760
8909
  render: (props) => {
8761
8910
  const ixoProps = props;
8762
- return /* @__PURE__ */ React103.createElement(NotifyBlock, { ...ixoProps });
8911
+ return /* @__PURE__ */ React105.createElement(NotifyBlock, { ...ixoProps });
8763
8912
  }
8764
8913
  }
8765
8914
  );
@@ -9516,19 +9665,19 @@ function useCreateCollaborativeIxoEditor(options) {
9516
9665
  }
9517
9666
 
9518
9667
  // src/mantine/IxoEditor.tsx
9519
- import React105 from "react";
9668
+ import React107 from "react";
9520
9669
  import { getDefaultReactSlashMenuItems, SuggestionMenuController } from "@blocknote/react";
9521
9670
  import { BlockNoteView } from "@blocknote/mantine";
9522
9671
  import { filterSuggestionItems } from "@blocknote/core";
9523
9672
  import { MantineProvider } from "@mantine/core";
9524
9673
 
9525
9674
  // src/mantine/components/PanelContent.tsx
9526
- import React104 from "react";
9675
+ import React106 from "react";
9527
9676
  function PanelContent() {
9528
9677
  const { activePanel, registeredPanels } = usePanelStore();
9529
9678
  const isOpen = activePanel !== null;
9530
9679
  const content = activePanel ? registeredPanels.get(activePanel) : null;
9531
- return /* @__PURE__ */ React104.createElement(
9680
+ return /* @__PURE__ */ React106.createElement(
9532
9681
  "div",
9533
9682
  {
9534
9683
  style: {
@@ -9552,7 +9701,7 @@ function IxoEditorContent({
9552
9701
  onSelectionChange,
9553
9702
  children
9554
9703
  }) {
9555
- return /* @__PURE__ */ React105.createElement("div", { style: { display: "flex", height: "100%" } }, /* @__PURE__ */ React105.createElement("div", { className: `ixo-editor ixo-editor--theme-${config.theme} ${className}`, style: { flex: 1 } }, /* @__PURE__ */ React105.createElement(
9704
+ return /* @__PURE__ */ React107.createElement("div", { style: { display: "flex", height: "100%" } }, /* @__PURE__ */ React107.createElement("div", { className: `ixo-editor ixo-editor--theme-${config.theme} ${className}`, style: { flex: 1 } }, /* @__PURE__ */ React107.createElement(
9556
9705
  BlockNoteView,
9557
9706
  {
9558
9707
  editor,
@@ -9567,7 +9716,7 @@ function IxoEditorContent({
9567
9716
  onChange,
9568
9717
  onSelectionChange
9569
9718
  },
9570
- config.slashMenu && /* @__PURE__ */ React105.createElement(
9719
+ config.slashMenu && /* @__PURE__ */ React107.createElement(
9571
9720
  SuggestionMenuController,
9572
9721
  {
9573
9722
  triggerCharacter: "/",
@@ -9579,7 +9728,7 @@ function IxoEditorContent({
9579
9728
  }
9580
9729
  ),
9581
9730
  children
9582
- )), /* @__PURE__ */ React105.createElement(PanelContent, null));
9731
+ )), /* @__PURE__ */ React107.createElement(PanelContent, null));
9583
9732
  }
9584
9733
  function IxoEditor({
9585
9734
  editor,
@@ -9605,9 +9754,9 @@ function IxoEditor({
9605
9754
  tableHandles: true
9606
9755
  };
9607
9756
  const isEditable = editable;
9608
- const editorContent = /* @__PURE__ */ React105.createElement(BlocknoteProvider, { editor, handlers, blockRequirements, editable: isEditable }, /* @__PURE__ */ React105.createElement(IxoEditorContent, { editor, config, isEditable, className, onChange, onSelectionChange }, children));
9757
+ const editorContent = /* @__PURE__ */ React107.createElement(BlocknoteProvider, { editor, handlers, blockRequirements, editable: isEditable }, /* @__PURE__ */ React107.createElement(IxoEditorContent, { editor, config, isEditable, className, onChange, onSelectionChange }, children));
9609
9758
  if (mantineTheme) {
9610
- return /* @__PURE__ */ React105.createElement(MantineProvider, { theme: mantineTheme }, editorContent);
9759
+ return /* @__PURE__ */ React107.createElement(MantineProvider, { theme: mantineTheme }, editorContent);
9611
9760
  }
9612
9761
  return editorContent;
9613
9762
  }
@@ -9691,4 +9840,4 @@ export {
9691
9840
  ixoGraphQLClient,
9692
9841
  getEntity
9693
9842
  };
9694
- //# sourceMappingURL=chunk-74X5B74P.mjs.map
9843
+ //# sourceMappingURL=chunk-2YUNEIWS.mjs.map