@ixo/editor 1.13.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";
@@ -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 }) => {
@@ -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);
@@ -2865,18 +2992,21 @@ var ListFlowView = ({ block, editor }) => {
2865
2992
  relayerDid = handlers.getRelayerDid();
2866
2993
  if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2867
2994
  result = await handlers.getCollections(listConfig.relayedNodeDid || relayerDid, page);
2995
+ setTotalPages(Math.ceil(result.totalCount / DEFAULT_PAGE_SIZE));
2868
2996
  setData({ items: result.data });
2869
2997
  break;
2870
2998
  case "investments":
2871
2999
  relayerDid = handlers.getRelayerDid();
2872
3000
  if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2873
3001
  result = await handlers.getInvestments(listConfig.relayedNodeDid || relayerDid, page);
3002
+ setTotalPages(Math.ceil(result.totalCount / DEFAULT_PAGE_SIZE));
2874
3003
  setData({ items: result.data });
2875
3004
  break;
2876
3005
  case "oracles":
2877
3006
  relayerDid = handlers.getRelayerDid();
2878
3007
  if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2879
3008
  result = await handlers.getOracles(listConfig.relayedNodeDid || relayerDid, page);
3009
+ setTotalPages(Math.ceil(result.totalCount / DEFAULT_PAGE_SIZE));
2880
3010
  setData({ items: result.data });
2881
3011
  break;
2882
3012
  case "pods":
@@ -2886,15 +3016,29 @@ var ListFlowView = ({ block, editor }) => {
2886
3016
  setData({ items: result.data });
2887
3017
  break;
2888
3018
  case "proposals":
2889
- relayerDid = handlers.getRelayerDid();
2890
- if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2891
- result = await handlers.getProposals(listConfig.relayedNodeDid || relayerDid, page);
3019
+ if (!listConfig.groupCoreAddress) throw new Error("GroupCoreAddress is required");
3020
+ result = await handlers.getProposals(listConfig.groupCoreAddress, page);
2892
3021
  setData({ items: result.data });
2893
3022
  break;
2894
3023
  case "requests":
2895
3024
  relayerDid = handlers.getRelayerDid();
2896
3025
  if (!relayerDid && !listConfig.relayedNodeDid) throw new Error("Relayer is required");
2897
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));
2898
3042
  setData({ items: result.data });
2899
3043
  break;
2900
3044
  case "group_members":
@@ -2956,40 +3100,44 @@ var ListFlowView = ({ block, editor }) => {
2956
3100
  if (!filteredData || !listType) return null;
2957
3101
  switch (listType) {
2958
3102
  case "linked_resources":
2959
- 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 });
2960
3104
  case "assets":
2961
- 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 });
2962
3106
  case "transactions":
2963
- 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 });
2964
3108
  case "collections":
2965
- return /* @__PURE__ */ React37.createElement(CollectionsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3109
+ return /* @__PURE__ */ React39.createElement(CollectionsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2966
3110
  case "investments":
2967
- return /* @__PURE__ */ React37.createElement(InvestmentsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3111
+ return /* @__PURE__ */ React39.createElement(InvestmentsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2968
3112
  case "oracles":
2969
- return /* @__PURE__ */ React37.createElement(OraclesList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3113
+ return /* @__PURE__ */ React39.createElement(OraclesList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2970
3114
  case "pods":
2971
- return /* @__PURE__ */ React37.createElement(PodsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3115
+ return /* @__PURE__ */ React39.createElement(PodsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2972
3116
  case "proposals":
2973
- return /* @__PURE__ */ React37.createElement(ProposalsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3117
+ return /* @__PURE__ */ React39.createElement(ProposalsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2974
3118
  case "requests":
2975
- 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 });
2976
3124
  case "group_members":
2977
- return /* @__PURE__ */ React37.createElement(MembersList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3125
+ return /* @__PURE__ */ React39.createElement(MembersList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2978
3126
  case "dao_members":
2979
- return /* @__PURE__ */ React37.createElement(DaoMembersList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3127
+ return /* @__PURE__ */ React39.createElement(DaoMembersList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2980
3128
  case "validators":
2981
- return /* @__PURE__ */ React37.createElement(ValidatorsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
3129
+ return /* @__PURE__ */ React39.createElement(ValidatorsList, { items: filteredData, mods: selectionMode, isItemChecked, onItemCheck });
2982
3130
  default:
2983
3131
  return null;
2984
3132
  }
2985
3133
  };
2986
3134
  if (!listType) {
2987
- 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"));
2988
3136
  }
2989
- 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(
2990
3138
  /^./,
2991
3139
  (str) => str.toUpperCase()
2992
- ), " "), /* @__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(
2993
3141
  FilterTab,
2994
3142
  {
2995
3143
  key: label,
@@ -2997,7 +3145,7 @@ var ListFlowView = ({ block, editor }) => {
2997
3145
  isActive: listFilterConfig?.key === key && listFilterConfig?.value === type,
2998
3146
  onClick: () => handleFilterChange({ key, value: type })
2999
3147
  }
3000
- ))), /* @__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(
3001
3149
  ListActionsMenu,
3002
3150
  {
3003
3151
  onSelectActionClick: (mode) => setSelectionMode(mode),
@@ -3006,7 +3154,7 @@ var ListFlowView = ({ block, editor }) => {
3006
3154
  value: listSortConfig,
3007
3155
  onChange: (sortOption) => handleSortChange(sortOption)
3008
3156
  }
3009
- ))), /* @__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(
3010
3158
  ListPagination,
3011
3159
  {
3012
3160
  page,
@@ -3024,9 +3172,9 @@ function ListBlock({ editor, block }) {
3024
3172
  const listType = block.props.listType && block.props.listType !== "";
3025
3173
  const isConfigured = listType;
3026
3174
  if (editable && !isConfigured) {
3027
- return /* @__PURE__ */ React38.createElement(ListTemplateView, { editor, block });
3175
+ return /* @__PURE__ */ React40.createElement(ListTemplateView, { editor, block });
3028
3176
  }
3029
- return /* @__PURE__ */ React38.createElement(ListFlowView, { block, editor });
3177
+ return /* @__PURE__ */ React40.createElement(ListFlowView, { block, editor });
3030
3178
  }
3031
3179
 
3032
3180
  // src/mantine/blocks/list/ListBlockSpec.tsx
@@ -3061,16 +3209,16 @@ var ListBlockSpec = createReactBlockSpec2(
3061
3209
  {
3062
3210
  render: (props) => {
3063
3211
  const ixoProps = props;
3064
- return /* @__PURE__ */ React39.createElement(ListBlock, { ...ixoProps });
3212
+ return /* @__PURE__ */ React41.createElement(ListBlock, { ...ixoProps });
3065
3213
  }
3066
3214
  }
3067
3215
  );
3068
3216
 
3069
3217
  // src/mantine/blocks/overview/OverviewBlock.tsx
3070
- import React40 from "react";
3218
+ import React42 from "react";
3071
3219
  import { createReactBlockSpec as createReactBlockSpec3 } from "@blocknote/react";
3072
3220
  var OverviewBlockContent = ({ block, editor }) => {
3073
- return /* @__PURE__ */ React40.createElement(
3221
+ return /* @__PURE__ */ React42.createElement(
3074
3222
  "div",
3075
3223
  {
3076
3224
  style: {
@@ -3082,7 +3230,7 @@ var OverviewBlockContent = ({ block, editor }) => {
3082
3230
  border: "1px solid #e5e7eb"
3083
3231
  }
3084
3232
  },
3085
- /* @__PURE__ */ React40.createElement("div", { style: { marginBottom: "12px" } }, /* @__PURE__ */ React40.createElement(
3233
+ /* @__PURE__ */ React42.createElement("div", { style: { marginBottom: "12px" } }, /* @__PURE__ */ React42.createElement(
3086
3234
  "input",
3087
3235
  {
3088
3236
  type: "text",
@@ -3108,7 +3256,7 @@ var OverviewBlockContent = ({ block, editor }) => {
3108
3256
  }
3109
3257
  }
3110
3258
  )),
3111
- /* @__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"))
3112
3260
  );
3113
3261
  };
3114
3262
  var OverviewBlock = createReactBlockSpec3(
@@ -3122,7 +3270,7 @@ var OverviewBlock = createReactBlockSpec3(
3122
3270
  content: "none"
3123
3271
  },
3124
3272
  {
3125
- render: (props) => /* @__PURE__ */ React40.createElement(OverviewBlockContent, { ...props })
3273
+ render: (props) => /* @__PURE__ */ React42.createElement(OverviewBlockContent, { ...props })
3126
3274
  }
3127
3275
  );
3128
3276
 
@@ -3178,22 +3326,22 @@ var useSharedProposal = ({ proposalId, contractAddress, autoFetch = true }) => {
3178
3326
  };
3179
3327
 
3180
3328
  // src/mantine/blocks/proposal/ProposalBlockSpec.tsx
3181
- import React84 from "react";
3329
+ import React86 from "react";
3182
3330
  import { createReactBlockSpec as createReactBlockSpec4 } from "@blocknote/react";
3183
3331
 
3184
3332
  // src/mantine/blocks/proposal/ProposalBlock.tsx
3185
- import React83 from "react";
3333
+ import React85 from "react";
3186
3334
 
3187
3335
  // src/mantine/blocks/proposal/template/TemplateView.tsx
3188
- import React77, { useMemo as useMemo10 } from "react";
3336
+ import React79, { useMemo as useMemo10 } from "react";
3189
3337
 
3190
3338
  // src/mantine/blocks/proposal/template/TemplateConfig.tsx
3191
- import React76, { useCallback as useCallback12 } from "react";
3339
+ import React78, { useCallback as useCallback12 } from "react";
3192
3340
  import { Paper as Paper6, CloseButton as CloseButton4, Title as Title4 } from "@mantine/core";
3193
3341
 
3194
3342
  // src/mantine/blocks/proposal/template/GeneralTab.tsx
3195
- import React41, { useEffect as useEffect8, useState as useState8 } from "react";
3196
- 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";
3197
3345
  var GeneralTab3 = ({ title, description, coreAddress, onTitleChange, onDescriptionChange, onGroupChange }) => {
3198
3346
  const handlers = useBlocknoteHandlers();
3199
3347
  const [localTitle, setLocalTitle] = useState8(title || "");
@@ -3224,7 +3372,7 @@ var GeneralTab3 = ({ title, description, coreAddress, onTitleChange, onDescripti
3224
3372
  };
3225
3373
  fetchGroups();
3226
3374
  }, [handlers]);
3227
- 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(
3228
3376
  TextInput5,
3229
3377
  {
3230
3378
  placeholder: "e.g. Proposal Title",
@@ -3235,7 +3383,7 @@ var GeneralTab3 = ({ title, description, coreAddress, onTitleChange, onDescripti
3235
3383
  onTitleChange(newTitle);
3236
3384
  }
3237
3385
  }
3238
- )), /* @__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(
3239
3387
  Textarea2,
3240
3388
  {
3241
3389
  placeholder: "Describe what this proposal is about",
@@ -3247,7 +3395,7 @@ var GeneralTab3 = ({ title, description, coreAddress, onTitleChange, onDescripti
3247
3395
  onDescriptionChange(newDescription);
3248
3396
  }
3249
3397
  }
3250
- )), /* @__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(
3251
3399
  Select3,
3252
3400
  {
3253
3401
  placeholder: loadingGroups ? "Loading groups..." : "Select a DAO group",
@@ -3265,19 +3413,19 @@ var GeneralTab3 = ({ title, description, coreAddress, onTitleChange, onDescripti
3265
3413
  label: group.name
3266
3414
  })),
3267
3415
  disabled: loadingGroups,
3268
- rightSection: loadingGroups ? /* @__PURE__ */ React41.createElement(Loader3, { size: "xs" }) : void 0,
3416
+ rightSection: loadingGroups ? /* @__PURE__ */ React43.createElement(Loader3, { size: "xs" }) : void 0,
3269
3417
  searchable: true
3270
3418
  }
3271
3419
  )));
3272
3420
  };
3273
3421
 
3274
3422
  // src/mantine/blocks/proposal/template/ActionsTab.tsx
3275
- import React74, { useCallback as useCallback11, useEffect as useEffect11, useState as useState16 } from "react";
3276
- 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";
3277
3425
 
3278
3426
  // src/mantine/blocks/proposal/actions-components/ActionsCard.tsx
3279
- import React42 from "react";
3280
- 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";
3281
3429
  var getActionSummary = (action) => {
3282
3430
  switch (action.type) {
3283
3431
  case "Spend":
@@ -3309,7 +3457,7 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3309
3457
  }
3310
3458
  onClick();
3311
3459
  };
3312
- return /* @__PURE__ */ React42.createElement(
3460
+ return /* @__PURE__ */ React44.createElement(
3313
3461
  Card6,
3314
3462
  {
3315
3463
  shadow: "sm",
@@ -3326,7 +3474,7 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3326
3474
  },
3327
3475
  onClick: handleCardClick
3328
3476
  },
3329
- /* @__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(
3330
3478
  Card6,
3331
3479
  {
3332
3480
  key: index,
@@ -3337,7 +3485,7 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3337
3485
  borderColor: "#333"
3338
3486
  }
3339
3487
  },
3340
- /* @__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(
3341
3489
  Badge5,
3342
3490
  {
3343
3491
  size: "sm",
@@ -3348,7 +3496,7 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3348
3496
  }
3349
3497
  },
3350
3498
  action.type
3351
- ), /* @__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(
3352
3500
  ActionIcon5,
3353
3501
  {
3354
3502
  size: "sm",
@@ -3361,7 +3509,7 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3361
3509
  style: { color: "#4dabf7" }
3362
3510
  },
3363
3511
  "\u270F\uFE0F"
3364
- ), /* @__PURE__ */ React42.createElement(
3512
+ ), /* @__PURE__ */ React44.createElement(
3365
3513
  ActionIcon5,
3366
3514
  {
3367
3515
  size: "sm",
@@ -3380,14 +3528,14 @@ var ActionsCard = ({ actions, isSelected, onClick, onEditAction, onRemoveAction,
3380
3528
  };
3381
3529
 
3382
3530
  // src/mantine/blocks/proposal/ActionsPanel.tsx
3383
- import React73, { useState as useState15, useEffect as useEffect10, useMemo as useMemo9 } from "react";
3384
- 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";
3385
3533
 
3386
3534
  // src/mantine/blocks/proposal/actions-components/SpendActionForm.tsx
3387
- import React43 from "react";
3388
- 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";
3389
3537
  var SpendActionForm = ({ data, onChange }) => {
3390
- return /* @__PURE__ */ React43.createElement(Stack27, null, /* @__PURE__ */ React43.createElement(
3538
+ return /* @__PURE__ */ React45.createElement(Stack29, null, /* @__PURE__ */ React45.createElement(
3391
3539
  TextInput6,
3392
3540
  {
3393
3541
  label: "Recipient Address",
@@ -3407,7 +3555,7 @@ var SpendActionForm = ({ data, onChange }) => {
3407
3555
  }
3408
3556
  }
3409
3557
  }
3410
- ), /* @__PURE__ */ React43.createElement(
3558
+ ), /* @__PURE__ */ React45.createElement(
3411
3559
  TextInput6,
3412
3560
  {
3413
3561
  label: "Denomination",
@@ -3427,7 +3575,7 @@ var SpendActionForm = ({ data, onChange }) => {
3427
3575
  }
3428
3576
  }
3429
3577
  }
3430
- ), /* @__PURE__ */ React43.createElement(
3578
+ ), /* @__PURE__ */ React45.createElement(
3431
3579
  TextInput6,
3432
3580
  {
3433
3581
  label: "Amount",
@@ -3451,8 +3599,8 @@ var SpendActionForm = ({ data, onChange }) => {
3451
3599
  };
3452
3600
 
3453
3601
  // src/mantine/blocks/proposal/actions-components/UpdateMembersActionForm.tsx
3454
- import React44, { useState as useState9 } from "react";
3455
- 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";
3456
3604
  var UpdateMembersActionForm = ({ data, onChange }) => {
3457
3605
  const [newMember, setNewMember] = useState9({ addr: "", weight: 1 });
3458
3606
  const [newRemoveAddress, setNewRemoveAddress] = useState9("");
@@ -3495,7 +3643,7 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3495
3643
  }
3496
3644
  }
3497
3645
  };
3498
- 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(
3499
3647
  Card7,
3500
3648
  {
3501
3649
  key: index,
@@ -3506,7 +3654,7 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3506
3654
  borderColor: "#333"
3507
3655
  }
3508
3656
  },
3509
- /* @__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(
3510
3658
  Badge6,
3511
3659
  {
3512
3660
  size: "sm",
@@ -3517,8 +3665,8 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3517
3665
  },
3518
3666
  "Weight: ",
3519
3667
  member.weight
3520
- )), /* @__PURE__ */ React44.createElement(ActionIcon6, { size: "sm", variant: "subtle", onClick: () => handleRemoveMember(index), style: { color: "#ff6b6b" } }, "\u{1F5D1}\uFE0F"))
3521
- )))), /* @__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(
3522
3670
  NumberInput2,
3523
3671
  {
3524
3672
  placeholder: "Weight",
@@ -3527,7 +3675,7 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3527
3675
  min: 1,
3528
3676
  styles: inputStyles29
3529
3677
  }
3530
- ), /* @__PURE__ */ React44.createElement(
3678
+ ), /* @__PURE__ */ React46.createElement(
3531
3679
  Button6,
3532
3680
  {
3533
3681
  size: "sm",
@@ -3540,7 +3688,7 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3540
3688
  }
3541
3689
  },
3542
3690
  "\u2795 Add"
3543
- ))), /* @__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(
3544
3692
  Card7,
3545
3693
  {
3546
3694
  key: index,
@@ -3551,8 +3699,8 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3551
3699
  borderColor: "#333"
3552
3700
  }
3553
3701
  },
3554
- /* @__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"))
3555
- )))), /* @__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(
3556
3704
  Button6,
3557
3705
  {
3558
3706
  size: "sm",
@@ -3569,8 +3717,8 @@ var UpdateMembersActionForm = ({ data, onChange }) => {
3569
3717
  };
3570
3718
 
3571
3719
  // src/mantine/blocks/proposal/actions-components/StakeActionForm.tsx
3572
- import React45 from "react";
3573
- 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";
3574
3722
  var stakeTypeOptions = [
3575
3723
  { value: StakeType.Delegate, label: "Delegate" },
3576
3724
  { value: StakeType.Undelegate, label: "Undelegate" },
@@ -3615,7 +3763,7 @@ var selectStyles = {
3615
3763
  var StakeActionForm = ({ data, onChange }) => {
3616
3764
  const isRedelegate = data.stakeType === StakeType.Redelegate;
3617
3765
  const needsAmount = data.stakeType !== StakeType.WithdrawDelegatorReward;
3618
- return /* @__PURE__ */ React45.createElement(Stack29, { gap: "md" }, /* @__PURE__ */ React45.createElement(
3766
+ return /* @__PURE__ */ React47.createElement(Stack31, { gap: "md" }, /* @__PURE__ */ React47.createElement(
3619
3767
  Select4,
3620
3768
  {
3621
3769
  label: "Stake Type",
@@ -3625,7 +3773,7 @@ var StakeActionForm = ({ data, onChange }) => {
3625
3773
  required: true,
3626
3774
  styles: selectStyles
3627
3775
  }
3628
- ), /* @__PURE__ */ React45.createElement(
3776
+ ), /* @__PURE__ */ React47.createElement(
3629
3777
  TextInput8,
3630
3778
  {
3631
3779
  label: "Validator Address",
@@ -3635,7 +3783,7 @@ var StakeActionForm = ({ data, onChange }) => {
3635
3783
  required: true,
3636
3784
  styles: inputStyles
3637
3785
  }
3638
- ), isRedelegate && /* @__PURE__ */ React45.createElement(
3786
+ ), isRedelegate && /* @__PURE__ */ React47.createElement(
3639
3787
  TextInput8,
3640
3788
  {
3641
3789
  label: "Destination Validator Address",
@@ -3645,7 +3793,7 @@ var StakeActionForm = ({ data, onChange }) => {
3645
3793
  required: true,
3646
3794
  styles: inputStyles
3647
3795
  }
3648
- ), needsAmount && /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(
3796
+ ), needsAmount && /* @__PURE__ */ React47.createElement(React47.Fragment, null, /* @__PURE__ */ React47.createElement(
3649
3797
  NumberInput3,
3650
3798
  {
3651
3799
  label: "Amount",
@@ -3657,7 +3805,7 @@ var StakeActionForm = ({ data, onChange }) => {
3657
3805
  required: true,
3658
3806
  styles: inputStyles
3659
3807
  }
3660
- ), /* @__PURE__ */ React45.createElement(
3808
+ ), /* @__PURE__ */ React47.createElement(
3661
3809
  Select4,
3662
3810
  {
3663
3811
  label: "Denomination",
@@ -3674,8 +3822,8 @@ var StakeActionForm = ({ data, onChange }) => {
3674
3822
  };
3675
3823
 
3676
3824
  // src/mantine/blocks/proposal/actions-components/JoinActionForm.tsx
3677
- import React46 from "react";
3678
- 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";
3679
3827
  var inputStyles2 = {
3680
3828
  label: { color: "#adb5bd" },
3681
3829
  input: {
@@ -3688,7 +3836,7 @@ var inputStyles2 = {
3688
3836
  }
3689
3837
  };
3690
3838
  var JoinActionForm = ({ data, onChange }) => {
3691
- 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(
3692
3840
  TextInput9,
3693
3841
  {
3694
3842
  label: "Core Address",
@@ -3698,12 +3846,12 @@ var JoinActionForm = ({ data, onChange }) => {
3698
3846
  required: true,
3699
3847
  styles: inputStyles2
3700
3848
  }
3701
- ), /* @__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 }));
3702
3850
  };
3703
3851
 
3704
3852
  // src/mantine/blocks/proposal/actions-components/forms/MintActionForm.tsx
3705
- import React47 from "react";
3706
- 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";
3707
3855
  var inputStyles3 = {
3708
3856
  label: { color: "#adb5bd" },
3709
3857
  input: {
@@ -3716,7 +3864,7 @@ var inputStyles3 = {
3716
3864
  }
3717
3865
  };
3718
3866
  var MintActionForm = ({ data, onChange }) => {
3719
- 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(
3720
3868
  NumberInput4,
3721
3869
  {
3722
3870
  label: "Amount",
@@ -3732,8 +3880,8 @@ var MintActionForm = ({ data, onChange }) => {
3732
3880
  };
3733
3881
 
3734
3882
  // src/mantine/blocks/proposal/actions-components/forms/ExecuteActionForm.tsx
3735
- import React48, { useState as useState10 } from "react";
3736
- 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";
3737
3885
  var inputStyles4 = {
3738
3886
  label: { color: "#adb5bd" },
3739
3887
  input: {
@@ -3770,7 +3918,7 @@ var ExecuteActionForm = ({ data, onChange }) => {
3770
3918
  return data.message;
3771
3919
  }
3772
3920
  };
3773
- return /* @__PURE__ */ React48.createElement(Stack32, { gap: "md" }, /* @__PURE__ */ React48.createElement(
3921
+ return /* @__PURE__ */ React50.createElement(Stack34, { gap: "md" }, /* @__PURE__ */ React50.createElement(
3774
3922
  TextInput11,
3775
3923
  {
3776
3924
  label: "Contract Address",
@@ -3780,7 +3928,7 @@ var ExecuteActionForm = ({ data, onChange }) => {
3780
3928
  required: true,
3781
3929
  styles: inputStyles4
3782
3930
  }
3783
- ), /* @__PURE__ */ React48.createElement(
3931
+ ), /* @__PURE__ */ React50.createElement(
3784
3932
  Textarea3,
3785
3933
  {
3786
3934
  label: "Message (JSON)",
@@ -3791,7 +3939,7 @@ var ExecuteActionForm = ({ data, onChange }) => {
3791
3939
  required: true,
3792
3940
  styles: inputStyles4
3793
3941
  }
3794
- ), /* @__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(
3795
3943
  Button7,
3796
3944
  {
3797
3945
  size: "sm",
@@ -3806,8 +3954,8 @@ var ExecuteActionForm = ({ data, onChange }) => {
3806
3954
  };
3807
3955
 
3808
3956
  // src/mantine/blocks/proposal/actions-components/forms/CustomActionForm.tsx
3809
- import React49, { useState as useState11, useEffect as useEffect9 } from "react";
3810
- 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";
3811
3959
  import { Group as Group11 } from "@mantine/core";
3812
3960
  var inputStyles5 = {
3813
3961
  label: { color: "#adb5bd" },
@@ -3844,7 +3992,7 @@ var CustomActionForm = ({ data, onChange }) => {
3844
3992
  return data.message;
3845
3993
  }
3846
3994
  };
3847
- 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(
3848
3996
  Badge7,
3849
3997
  {
3850
3998
  size: "sm",
@@ -3854,7 +4002,7 @@ var CustomActionForm = ({ data, onChange }) => {
3854
4002
  }
3855
4003
  },
3856
4004
  isValid ? "Valid JSON" : "Invalid JSON"
3857
- )), /* @__PURE__ */ React49.createElement(
4005
+ )), /* @__PURE__ */ React51.createElement(
3858
4006
  Textarea4,
3859
4007
  {
3860
4008
  placeholder: `Example Wasm message:
@@ -3887,8 +4035,8 @@ Example Stargate message:
3887
4035
  };
3888
4036
 
3889
4037
  // src/mantine/blocks/proposal/actions-components/forms/AuthzExecActionForm.tsx
3890
- import React50 from "react";
3891
- 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";
3892
4040
  var inputStyles6 = {
3893
4041
  label: { color: "#adb5bd" },
3894
4042
  input: {
@@ -3923,7 +4071,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3923
4071
  onChange({ ...data, [field]: value });
3924
4072
  }
3925
4073
  };
3926
- return /* @__PURE__ */ React50.createElement(Stack34, { gap: "md" }, /* @__PURE__ */ React50.createElement(
4074
+ return /* @__PURE__ */ React52.createElement(Stack36, { gap: "md" }, /* @__PURE__ */ React52.createElement(
3927
4075
  Select5,
3928
4076
  {
3929
4077
  label: "Action Type",
@@ -3934,7 +4082,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3934
4082
  required: true,
3935
4083
  styles: inputStyles6
3936
4084
  }
3937
- ), data.authzExecActionType === AuthzExecActionTypes.Delegate && /* @__PURE__ */ React50.createElement(
4085
+ ), data.authzExecActionType === AuthzExecActionTypes.Delegate && /* @__PURE__ */ React52.createElement(
3938
4086
  Textarea5,
3939
4087
  {
3940
4088
  label: "Delegate Message (JSON)",
@@ -3944,7 +4092,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3944
4092
  minRows: 4,
3945
4093
  styles: inputStyles6
3946
4094
  }
3947
- ), data.authzExecActionType === AuthzExecActionTypes.Undelegate && /* @__PURE__ */ React50.createElement(
4095
+ ), data.authzExecActionType === AuthzExecActionTypes.Undelegate && /* @__PURE__ */ React52.createElement(
3948
4096
  Textarea5,
3949
4097
  {
3950
4098
  label: "Undelegate Message (JSON)",
@@ -3954,7 +4102,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3954
4102
  minRows: 4,
3955
4103
  styles: inputStyles6
3956
4104
  }
3957
- ), data.authzExecActionType === AuthzExecActionTypes.Redelegate && /* @__PURE__ */ React50.createElement(
4105
+ ), data.authzExecActionType === AuthzExecActionTypes.Redelegate && /* @__PURE__ */ React52.createElement(
3958
4106
  Textarea5,
3959
4107
  {
3960
4108
  label: "Redelegate Message (JSON)",
@@ -3964,7 +4112,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3964
4112
  minRows: 4,
3965
4113
  styles: inputStyles6
3966
4114
  }
3967
- ), data.authzExecActionType === AuthzExecActionTypes.ClaimRewards && /* @__PURE__ */ React50.createElement(
4115
+ ), data.authzExecActionType === AuthzExecActionTypes.ClaimRewards && /* @__PURE__ */ React52.createElement(
3968
4116
  Textarea5,
3969
4117
  {
3970
4118
  label: "Claim Rewards Message (JSON)",
@@ -3974,7 +4122,7 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3974
4122
  minRows: 3,
3975
4123
  styles: inputStyles6
3976
4124
  }
3977
- ), data.authzExecActionType === AuthzExecActionTypes.Custom && /* @__PURE__ */ React50.createElement(
4125
+ ), data.authzExecActionType === AuthzExecActionTypes.Custom && /* @__PURE__ */ React52.createElement(
3978
4126
  TextInput12,
3979
4127
  {
3980
4128
  label: "Custom Message",
@@ -3987,8 +4135,8 @@ var AuthzExecActionForm = ({ data, onChange }) => {
3987
4135
  };
3988
4136
 
3989
4137
  // src/mantine/blocks/proposal/actions-components/forms/AuthzGrantActionForm.tsx
3990
- import React51 from "react";
3991
- 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";
3992
4140
  var inputStyles7 = {
3993
4141
  label: { color: "#adb5bd" },
3994
4142
  input: {
@@ -4001,7 +4149,7 @@ var inputStyles7 = {
4001
4149
  }
4002
4150
  };
4003
4151
  var AuthzGrantActionForm = ({ data, onChange }) => {
4004
- return /* @__PURE__ */ React51.createElement(Stack35, { gap: "md" }, /* @__PURE__ */ React51.createElement(
4152
+ return /* @__PURE__ */ React53.createElement(Stack37, { gap: "md" }, /* @__PURE__ */ React53.createElement(
4005
4153
  TextInput13,
4006
4154
  {
4007
4155
  label: "Type URL",
@@ -4011,7 +4159,7 @@ var AuthzGrantActionForm = ({ data, onChange }) => {
4011
4159
  required: true,
4012
4160
  styles: inputStyles7
4013
4161
  }
4014
- ), /* @__PURE__ */ React51.createElement(
4162
+ ), /* @__PURE__ */ React53.createElement(
4015
4163
  TextInput13,
4016
4164
  {
4017
4165
  label: "Grantee Address",
@@ -4024,7 +4172,7 @@ var AuthzGrantActionForm = ({ data, onChange }) => {
4024
4172
  required: true,
4025
4173
  styles: inputStyles7
4026
4174
  }
4027
- ), /* @__PURE__ */ React51.createElement(
4175
+ ), /* @__PURE__ */ React53.createElement(
4028
4176
  TextInput13,
4029
4177
  {
4030
4178
  label: "Message Type URL",
@@ -4041,8 +4189,8 @@ var AuthzGrantActionForm = ({ data, onChange }) => {
4041
4189
  };
4042
4190
 
4043
4191
  // src/mantine/blocks/proposal/actions-components/forms/BurnNftActionForm.tsx
4044
- import React52 from "react";
4045
- 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";
4046
4194
  var inputStyles8 = {
4047
4195
  label: { color: "#adb5bd" },
4048
4196
  input: {
@@ -4055,7 +4203,7 @@ var inputStyles8 = {
4055
4203
  }
4056
4204
  };
4057
4205
  var BurnNftActionForm = ({ data, onChange }) => {
4058
- return /* @__PURE__ */ React52.createElement(Stack36, { gap: "md" }, /* @__PURE__ */ React52.createElement(
4206
+ return /* @__PURE__ */ React54.createElement(Stack38, { gap: "md" }, /* @__PURE__ */ React54.createElement(
4059
4207
  TextInput14,
4060
4208
  {
4061
4209
  label: "Collection Address",
@@ -4065,12 +4213,12 @@ var BurnNftActionForm = ({ data, onChange }) => {
4065
4213
  required: true,
4066
4214
  styles: inputStyles8
4067
4215
  }
4068
- ), /* @__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 }));
4069
4217
  };
4070
4218
 
4071
4219
  // src/mantine/blocks/proposal/actions-components/forms/TransferNftActionForm.tsx
4072
- import React53 from "react";
4073
- 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";
4074
4222
  var inputStyles9 = {
4075
4223
  label: { color: "#adb5bd" },
4076
4224
  input: {
@@ -4083,7 +4231,7 @@ var inputStyles9 = {
4083
4231
  }
4084
4232
  };
4085
4233
  var TransferNftActionForm = ({ data, onChange }) => {
4086
- return /* @__PURE__ */ React53.createElement(Stack37, { gap: "md" }, /* @__PURE__ */ React53.createElement(
4234
+ return /* @__PURE__ */ React55.createElement(Stack39, { gap: "md" }, /* @__PURE__ */ React55.createElement(
4087
4235
  TextInput15,
4088
4236
  {
4089
4237
  label: "Collection Address",
@@ -4093,7 +4241,7 @@ var TransferNftActionForm = ({ data, onChange }) => {
4093
4241
  required: true,
4094
4242
  styles: inputStyles9
4095
4243
  }
4096
- ), /* @__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(
4097
4245
  TextInput15,
4098
4246
  {
4099
4247
  label: "Recipient Address",
@@ -4103,7 +4251,7 @@ var TransferNftActionForm = ({ data, onChange }) => {
4103
4251
  required: true,
4104
4252
  styles: inputStyles9
4105
4253
  }
4106
- ), /* @__PURE__ */ React53.createElement(
4254
+ ), /* @__PURE__ */ React55.createElement(
4107
4255
  Checkbox4,
4108
4256
  {
4109
4257
  label: "Execute Smart Contract",
@@ -4114,7 +4262,7 @@ var TransferNftActionForm = ({ data, onChange }) => {
4114
4262
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4115
4263
  }
4116
4264
  }
4117
- ), data.executeSmartContract && /* @__PURE__ */ React53.createElement(
4265
+ ), data.executeSmartContract && /* @__PURE__ */ React55.createElement(
4118
4266
  Textarea6,
4119
4267
  {
4120
4268
  label: "Smart Contract Message (JSON)",
@@ -4128,8 +4276,8 @@ var TransferNftActionForm = ({ data, onChange }) => {
4128
4276
  };
4129
4277
 
4130
4278
  // src/mantine/blocks/proposal/actions-components/forms/ManageCw721ActionForm.tsx
4131
- import React54 from "react";
4132
- 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";
4133
4281
  var inputStyles10 = {
4134
4282
  label: { color: "#adb5bd" },
4135
4283
  input: {
@@ -4142,7 +4290,7 @@ var inputStyles10 = {
4142
4290
  }
4143
4291
  };
4144
4292
  var ManageCw721ActionForm = ({ data, onChange }) => {
4145
- 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(
4146
4294
  Radio,
4147
4295
  {
4148
4296
  value: "add",
@@ -4152,7 +4300,7 @@ var ManageCw721ActionForm = ({ data, onChange }) => {
4152
4300
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4153
4301
  }
4154
4302
  }
4155
- ), /* @__PURE__ */ React54.createElement(
4303
+ ), /* @__PURE__ */ React56.createElement(
4156
4304
  Radio,
4157
4305
  {
4158
4306
  value: "remove",
@@ -4162,7 +4310,7 @@ var ManageCw721ActionForm = ({ data, onChange }) => {
4162
4310
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4163
4311
  }
4164
4312
  }
4165
- ))), /* @__PURE__ */ React54.createElement(
4313
+ ))), /* @__PURE__ */ React56.createElement(
4166
4314
  TextInput16,
4167
4315
  {
4168
4316
  label: "NFT Contract Address",
@@ -4176,8 +4324,8 @@ var ManageCw721ActionForm = ({ data, onChange }) => {
4176
4324
  };
4177
4325
 
4178
4326
  // src/mantine/blocks/proposal/actions-components/forms/InstantiateActionForm.tsx
4179
- import React55, { useState as useState12 } from "react";
4180
- 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";
4181
4329
  var inputStyles11 = {
4182
4330
  label: { color: "#adb5bd" },
4183
4331
  input: {
@@ -4214,7 +4362,7 @@ var InstantiateActionForm = ({ data, onChange }) => {
4214
4362
  return data.message;
4215
4363
  }
4216
4364
  };
4217
- return /* @__PURE__ */ React55.createElement(Stack39, { gap: "md" }, /* @__PURE__ */ React55.createElement(
4365
+ return /* @__PURE__ */ React57.createElement(Stack41, { gap: "md" }, /* @__PURE__ */ React57.createElement(
4218
4366
  TextInput17,
4219
4367
  {
4220
4368
  label: "Admin Address",
@@ -4224,7 +4372,7 @@ var InstantiateActionForm = ({ data, onChange }) => {
4224
4372
  required: true,
4225
4373
  styles: inputStyles11
4226
4374
  }
4227
- ), /* @__PURE__ */ React55.createElement(
4375
+ ), /* @__PURE__ */ React57.createElement(
4228
4376
  NumberInput5,
4229
4377
  {
4230
4378
  label: "Code ID",
@@ -4235,7 +4383,7 @@ var InstantiateActionForm = ({ data, onChange }) => {
4235
4383
  required: true,
4236
4384
  styles: inputStyles11
4237
4385
  }
4238
- ), /* @__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(
4239
4387
  Textarea7,
4240
4388
  {
4241
4389
  label: "Instantiate Message (JSON)",
@@ -4246,7 +4394,7 @@ var InstantiateActionForm = ({ data, onChange }) => {
4246
4394
  required: true,
4247
4395
  styles: inputStyles11
4248
4396
  }
4249
- ), /* @__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(
4250
4398
  Button8,
4251
4399
  {
4252
4400
  size: "sm",
@@ -4261,8 +4409,8 @@ var InstantiateActionForm = ({ data, onChange }) => {
4261
4409
  };
4262
4410
 
4263
4411
  // src/mantine/blocks/proposal/actions-components/forms/MigrateActionForm.tsx
4264
- import React56 from "react";
4265
- 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";
4266
4414
  var inputStyles12 = {
4267
4415
  label: { color: "#adb5bd" },
4268
4416
  input: {
@@ -4283,7 +4431,7 @@ var MigrateActionForm = ({ data, onChange }) => {
4283
4431
  return data.msg;
4284
4432
  }
4285
4433
  };
4286
- return /* @__PURE__ */ React56.createElement(Stack40, { gap: "md" }, /* @__PURE__ */ React56.createElement(
4434
+ return /* @__PURE__ */ React58.createElement(Stack42, { gap: "md" }, /* @__PURE__ */ React58.createElement(
4287
4435
  TextInput18,
4288
4436
  {
4289
4437
  label: "Contract Address",
@@ -4293,7 +4441,7 @@ var MigrateActionForm = ({ data, onChange }) => {
4293
4441
  required: true,
4294
4442
  styles: inputStyles12
4295
4443
  }
4296
- ), /* @__PURE__ */ React56.createElement(
4444
+ ), /* @__PURE__ */ React58.createElement(
4297
4445
  NumberInput6,
4298
4446
  {
4299
4447
  label: "New Code ID",
@@ -4304,7 +4452,7 @@ var MigrateActionForm = ({ data, onChange }) => {
4304
4452
  required: true,
4305
4453
  styles: inputStyles12
4306
4454
  }
4307
- ), /* @__PURE__ */ React56.createElement(
4455
+ ), /* @__PURE__ */ React58.createElement(
4308
4456
  Textarea8,
4309
4457
  {
4310
4458
  label: "Migration Message (JSON)",
@@ -4319,8 +4467,8 @@ var MigrateActionForm = ({ data, onChange }) => {
4319
4467
  };
4320
4468
 
4321
4469
  // src/mantine/blocks/proposal/actions-components/forms/UpdateAdminActionForm.tsx
4322
- import React57 from "react";
4323
- 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";
4324
4472
  var inputStyles13 = {
4325
4473
  label: { color: "#adb5bd" },
4326
4474
  input: {
@@ -4333,7 +4481,7 @@ var inputStyles13 = {
4333
4481
  }
4334
4482
  };
4335
4483
  var UpdateAdminActionForm = ({ data, onChange }) => {
4336
- return /* @__PURE__ */ React57.createElement(Stack41, { gap: "md" }, /* @__PURE__ */ React57.createElement(
4484
+ return /* @__PURE__ */ React59.createElement(Stack43, { gap: "md" }, /* @__PURE__ */ React59.createElement(
4337
4485
  TextInput19,
4338
4486
  {
4339
4487
  label: "Contract Address",
@@ -4343,7 +4491,7 @@ var UpdateAdminActionForm = ({ data, onChange }) => {
4343
4491
  required: true,
4344
4492
  styles: inputStyles13
4345
4493
  }
4346
- ), /* @__PURE__ */ React57.createElement(
4494
+ ), /* @__PURE__ */ React59.createElement(
4347
4495
  TextInput19,
4348
4496
  {
4349
4497
  label: "New Admin Address",
@@ -4357,8 +4505,8 @@ var UpdateAdminActionForm = ({ data, onChange }) => {
4357
4505
  };
4358
4506
 
4359
4507
  // src/mantine/blocks/proposal/actions-components/forms/ManageCw20ActionForm.tsx
4360
- import React58 from "react";
4361
- 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";
4362
4510
  var inputStyles14 = {
4363
4511
  label: { color: "#adb5bd" },
4364
4512
  input: {
@@ -4371,7 +4519,7 @@ var inputStyles14 = {
4371
4519
  }
4372
4520
  };
4373
4521
  var ManageCw20ActionForm = ({ data, onChange }) => {
4374
- 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(
4375
4523
  Radio2,
4376
4524
  {
4377
4525
  value: "add",
@@ -4381,7 +4529,7 @@ var ManageCw20ActionForm = ({ data, onChange }) => {
4381
4529
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4382
4530
  }
4383
4531
  }
4384
- ), /* @__PURE__ */ React58.createElement(
4532
+ ), /* @__PURE__ */ React60.createElement(
4385
4533
  Radio2,
4386
4534
  {
4387
4535
  value: "remove",
@@ -4391,7 +4539,7 @@ var ManageCw20ActionForm = ({ data, onChange }) => {
4391
4539
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4392
4540
  }
4393
4541
  }
4394
- ))), /* @__PURE__ */ React58.createElement(
4542
+ ))), /* @__PURE__ */ React60.createElement(
4395
4543
  TextInput20,
4396
4544
  {
4397
4545
  label: "Token Contract Address",
@@ -4405,8 +4553,8 @@ var ManageCw20ActionForm = ({ data, onChange }) => {
4405
4553
  };
4406
4554
 
4407
4555
  // src/mantine/blocks/proposal/actions-components/forms/ManageSubDaosActionForm.tsx
4408
- import React59, { useState as useState13 } from "react";
4409
- 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";
4410
4558
  var inputStyles15 = {
4411
4559
  label: { color: "#adb5bd" },
4412
4560
  input: {
@@ -4451,7 +4599,7 @@ var ManageSubDaosActionForm = ({ data, onChange }) => {
4451
4599
  toRemove: (data.toRemove || []).filter((_, i) => i !== index)
4452
4600
  });
4453
4601
  };
4454
- 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(
4455
4603
  Textarea9,
4456
4604
  {
4457
4605
  placeholder: "Charter (optional)",
@@ -4460,7 +4608,7 @@ var ManageSubDaosActionForm = ({ data, onChange }) => {
4460
4608
  minRows: 2,
4461
4609
  styles: inputStyles15
4462
4610
  }
4463
- ), /* @__PURE__ */ React59.createElement(
4611
+ ), /* @__PURE__ */ React61.createElement(
4464
4612
  Button9,
4465
4613
  {
4466
4614
  size: "sm",
@@ -4471,7 +4619,7 @@ var ManageSubDaosActionForm = ({ data, onChange }) => {
4471
4619
  }
4472
4620
  },
4473
4621
  "Add SubDAO"
4474
- ))), /* @__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(
4475
4623
  Button9,
4476
4624
  {
4477
4625
  size: "sm",
@@ -4486,8 +4634,8 @@ var ManageSubDaosActionForm = ({ data, onChange }) => {
4486
4634
  };
4487
4635
 
4488
4636
  // src/mantine/blocks/proposal/actions-components/forms/UpdateInfoActionForm.tsx
4489
- import React60 from "react";
4490
- 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";
4491
4639
  var inputStyles16 = {
4492
4640
  label: { color: "#adb5bd" },
4493
4641
  input: {
@@ -4500,7 +4648,7 @@ var inputStyles16 = {
4500
4648
  }
4501
4649
  };
4502
4650
  var UpdateInfoActionForm = ({ data, onChange }) => {
4503
- 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(
4504
4652
  Textarea10,
4505
4653
  {
4506
4654
  label: "Description",
@@ -4510,7 +4658,7 @@ var UpdateInfoActionForm = ({ data, onChange }) => {
4510
4658
  minRows: 3,
4511
4659
  styles: inputStyles16
4512
4660
  }
4513
- ), /* @__PURE__ */ React60.createElement(
4661
+ ), /* @__PURE__ */ React62.createElement(
4514
4662
  TextInput22,
4515
4663
  {
4516
4664
  label: "Image URL (Optional)",
@@ -4519,7 +4667,7 @@ var UpdateInfoActionForm = ({ data, onChange }) => {
4519
4667
  onChange: (e) => onChange({ ...data, image_url: e.currentTarget.value || null }),
4520
4668
  styles: inputStyles16
4521
4669
  }
4522
- ), /* @__PURE__ */ React60.createElement(
4670
+ ), /* @__PURE__ */ React62.createElement(
4523
4671
  TextInput22,
4524
4672
  {
4525
4673
  label: "DAO URI (Optional)",
@@ -4528,7 +4676,7 @@ var UpdateInfoActionForm = ({ data, onChange }) => {
4528
4676
  onChange: (e) => onChange({ ...data, dao_uri: e.currentTarget.value || null }),
4529
4677
  styles: inputStyles16
4530
4678
  }
4531
- ), /* @__PURE__ */ React60.createElement(
4679
+ ), /* @__PURE__ */ React62.createElement(
4532
4680
  Checkbox5,
4533
4681
  {
4534
4682
  label: "Automatically add CW20 tokens",
@@ -4539,7 +4687,7 @@ var UpdateInfoActionForm = ({ data, onChange }) => {
4539
4687
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4540
4688
  }
4541
4689
  }
4542
- ), /* @__PURE__ */ React60.createElement(
4690
+ ), /* @__PURE__ */ React62.createElement(
4543
4691
  Checkbox5,
4544
4692
  {
4545
4693
  label: "Automatically add CW721 NFTs",
@@ -4554,8 +4702,8 @@ var UpdateInfoActionForm = ({ data, onChange }) => {
4554
4702
  };
4555
4703
 
4556
4704
  // src/mantine/blocks/proposal/actions-components/forms/ManageStorageItemsActionForm.tsx
4557
- import React61 from "react";
4558
- 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";
4559
4707
  var inputStyles17 = {
4560
4708
  label: { color: "#adb5bd" },
4561
4709
  input: {
@@ -4568,7 +4716,7 @@ var inputStyles17 = {
4568
4716
  }
4569
4717
  };
4570
4718
  var ManageStorageItemsActionForm = ({ data, onChange }) => {
4571
- 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(
4572
4720
  Radio3,
4573
4721
  {
4574
4722
  value: "set",
@@ -4578,7 +4726,7 @@ var ManageStorageItemsActionForm = ({ data, onChange }) => {
4578
4726
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4579
4727
  }
4580
4728
  }
4581
- ), /* @__PURE__ */ React61.createElement(
4729
+ ), /* @__PURE__ */ React63.createElement(
4582
4730
  Radio3,
4583
4731
  {
4584
4732
  value: "remove",
@@ -4588,7 +4736,7 @@ var ManageStorageItemsActionForm = ({ data, onChange }) => {
4588
4736
  radio: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4589
4737
  }
4590
4738
  }
4591
- ))), /* @__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(
4592
4740
  Textarea11,
4593
4741
  {
4594
4742
  label: "Storage Value",
@@ -4603,8 +4751,8 @@ var ManageStorageItemsActionForm = ({ data, onChange }) => {
4603
4751
  };
4604
4752
 
4605
4753
  // src/mantine/blocks/proposal/actions-components/forms/DaoAdminExecActionForm.tsx
4606
- import React62, { useState as useState14 } from "react";
4607
- 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";
4608
4756
  var inputStyles18 = {
4609
4757
  label: { color: "#adb5bd" },
4610
4758
  input: {
@@ -4637,7 +4785,7 @@ var DaoAdminExecActionForm = ({ data, onChange }) => {
4637
4785
  msgs: (data.msgs || []).filter((_, i) => i !== index)
4638
4786
  });
4639
4787
  };
4640
- return /* @__PURE__ */ React62.createElement(Stack46, { gap: "md" }, /* @__PURE__ */ React62.createElement(
4788
+ return /* @__PURE__ */ React64.createElement(Stack48, { gap: "md" }, /* @__PURE__ */ React64.createElement(
4641
4789
  TextInput24,
4642
4790
  {
4643
4791
  label: "Core Address",
@@ -4647,7 +4795,7 @@ var DaoAdminExecActionForm = ({ data, onChange }) => {
4647
4795
  required: true,
4648
4796
  styles: inputStyles18
4649
4797
  }
4650
- ), /* @__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(
4651
4799
  Textarea12,
4652
4800
  {
4653
4801
  placeholder: 'Add cosmos message as JSON:\\n{"bank": {"send": {"to_address": "ixo1...", "amount": [{"denom": "uixo", "amount": "1000"}]}}}',
@@ -4656,7 +4804,7 @@ var DaoAdminExecActionForm = ({ data, onChange }) => {
4656
4804
  minRows: 4,
4657
4805
  styles: inputStyles18
4658
4806
  }
4659
- ), /* @__PURE__ */ React62.createElement(
4807
+ ), /* @__PURE__ */ React64.createElement(
4660
4808
  Button10,
4661
4809
  {
4662
4810
  size: "sm",
@@ -4671,8 +4819,8 @@ var DaoAdminExecActionForm = ({ data, onChange }) => {
4671
4819
  };
4672
4820
 
4673
4821
  // src/mantine/blocks/proposal/actions-components/forms/AcceptToMarketplaceActionForm.tsx
4674
- import React63 from "react";
4675
- 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";
4676
4824
  var inputStyles19 = {
4677
4825
  label: { color: "#adb5bd" },
4678
4826
  input: {
@@ -4685,7 +4833,7 @@ var inputStyles19 = {
4685
4833
  }
4686
4834
  };
4687
4835
  var AcceptToMarketplaceActionForm = ({ data, onChange }) => {
4688
- 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(
4689
4837
  TextInput25,
4690
4838
  {
4691
4839
  label: "Relayer Node DID",
@@ -4695,7 +4843,7 @@ var AcceptToMarketplaceActionForm = ({ data, onChange }) => {
4695
4843
  required: true,
4696
4844
  styles: inputStyles19
4697
4845
  }
4698
- ), /* @__PURE__ */ React63.createElement(
4846
+ ), /* @__PURE__ */ React65.createElement(
4699
4847
  TextInput25,
4700
4848
  {
4701
4849
  label: "Relayer Node Address",
@@ -4709,8 +4857,8 @@ var AcceptToMarketplaceActionForm = ({ data, onChange }) => {
4709
4857
  };
4710
4858
 
4711
4859
  // src/mantine/blocks/proposal/actions-components/forms/CreateEntityActionForm.tsx
4712
- import React64 from "react";
4713
- 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";
4714
4862
  var inputStyles20 = {
4715
4863
  label: { color: "#adb5bd" },
4716
4864
  input: {
@@ -4730,7 +4878,7 @@ var CreateEntityActionForm = ({ data, onChange }) => {
4730
4878
  } catch {
4731
4879
  }
4732
4880
  };
4733
- 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(
4734
4882
  Textarea13,
4735
4883
  {
4736
4884
  label: "Entity Data (JSON)",
@@ -4745,8 +4893,8 @@ var CreateEntityActionForm = ({ data, onChange }) => {
4745
4893
  };
4746
4894
 
4747
4895
  // src/mantine/blocks/proposal/actions-components/forms/UpdateVotingConfigActionForm.tsx
4748
- import React65 from "react";
4749
- 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";
4750
4898
  var inputStyles21 = {
4751
4899
  label: { color: "#adb5bd" },
4752
4900
  input: {
@@ -4759,7 +4907,7 @@ var inputStyles21 = {
4759
4907
  }
4760
4908
  };
4761
4909
  var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4762
- return /* @__PURE__ */ React65.createElement(Stack49, { gap: "md" }, /* @__PURE__ */ React65.createElement(
4910
+ return /* @__PURE__ */ React67.createElement(Stack51, { gap: "md" }, /* @__PURE__ */ React67.createElement(
4763
4911
  Checkbox6,
4764
4912
  {
4765
4913
  label: "Only members can execute",
@@ -4770,7 +4918,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4770
4918
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4771
4919
  }
4772
4920
  }
4773
- ), /* @__PURE__ */ React65.createElement(
4921
+ ), /* @__PURE__ */ React67.createElement(
4774
4922
  Select6,
4775
4923
  {
4776
4924
  label: "Threshold Type",
@@ -4782,7 +4930,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4782
4930
  ],
4783
4931
  styles: inputStyles21
4784
4932
  }
4785
- ), data.thresholdType === "%" && /* @__PURE__ */ React65.createElement(
4933
+ ), data.thresholdType === "%" && /* @__PURE__ */ React67.createElement(
4786
4934
  NumberInput7,
4787
4935
  {
4788
4936
  label: "Threshold Percentage",
@@ -4794,7 +4942,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4794
4942
  suffix: "%",
4795
4943
  styles: inputStyles21
4796
4944
  }
4797
- ), /* @__PURE__ */ React65.createElement(
4945
+ ), /* @__PURE__ */ React67.createElement(
4798
4946
  Checkbox6,
4799
4947
  {
4800
4948
  label: "Enable Quorum",
@@ -4805,7 +4953,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4805
4953
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4806
4954
  }
4807
4955
  }
4808
- ), data.quorumEnabled && /* @__PURE__ */ React65.createElement(React65.Fragment, null, /* @__PURE__ */ React65.createElement(
4956
+ ), data.quorumEnabled && /* @__PURE__ */ React67.createElement(React67.Fragment, null, /* @__PURE__ */ React67.createElement(
4809
4957
  Select6,
4810
4958
  {
4811
4959
  label: "Quorum Type",
@@ -4817,7 +4965,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4817
4965
  ],
4818
4966
  styles: inputStyles21
4819
4967
  }
4820
- ), data.quorumType === "%" && /* @__PURE__ */ React65.createElement(
4968
+ ), data.quorumType === "%" && /* @__PURE__ */ React67.createElement(
4821
4969
  NumberInput7,
4822
4970
  {
4823
4971
  label: "Quorum Percentage",
@@ -4829,7 +4977,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4829
4977
  suffix: "%",
4830
4978
  styles: inputStyles21
4831
4979
  }
4832
- )), /* @__PURE__ */ React65.createElement(Group18, { grow: true }, /* @__PURE__ */ React65.createElement(
4980
+ )), /* @__PURE__ */ React67.createElement(Group18, { grow: true }, /* @__PURE__ */ React67.createElement(
4833
4981
  NumberInput7,
4834
4982
  {
4835
4983
  label: "Proposal Duration",
@@ -4839,7 +4987,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4839
4987
  min: 1,
4840
4988
  styles: inputStyles21
4841
4989
  }
4842
- ), /* @__PURE__ */ React65.createElement(
4990
+ ), /* @__PURE__ */ React67.createElement(
4843
4991
  Select6,
4844
4992
  {
4845
4993
  label: "Duration Units",
@@ -4853,7 +5001,7 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4853
5001
  ],
4854
5002
  styles: inputStyles21
4855
5003
  }
4856
- )), /* @__PURE__ */ React65.createElement(
5004
+ )), /* @__PURE__ */ React67.createElement(
4857
5005
  Checkbox6,
4858
5006
  {
4859
5007
  label: "Allow revoting",
@@ -4868,8 +5016,8 @@ var UpdateVotingConfigActionForm = ({ data, onChange }) => {
4868
5016
  };
4869
5017
 
4870
5018
  // src/mantine/blocks/proposal/actions-components/forms/UpdatePreProposeConfigActionForm.tsx
4871
- import React66 from "react";
4872
- 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";
4873
5021
  var inputStyles22 = {
4874
5022
  label: { color: "#adb5bd" },
4875
5023
  input: {
@@ -4882,7 +5030,7 @@ var inputStyles22 = {
4882
5030
  }
4883
5031
  };
4884
5032
  var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4885
- return /* @__PURE__ */ React66.createElement(Stack50, { gap: "md" }, /* @__PURE__ */ React66.createElement(
5033
+ return /* @__PURE__ */ React68.createElement(Stack52, { gap: "md" }, /* @__PURE__ */ React68.createElement(
4886
5034
  Checkbox7,
4887
5035
  {
4888
5036
  label: "Anyone can propose",
@@ -4893,7 +5041,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4893
5041
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4894
5042
  }
4895
5043
  }
4896
- ), /* @__PURE__ */ React66.createElement(
5044
+ ), /* @__PURE__ */ React68.createElement(
4897
5045
  Checkbox7,
4898
5046
  {
4899
5047
  label: "Deposit required",
@@ -4904,7 +5052,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4904
5052
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
4905
5053
  }
4906
5054
  }
4907
- ), data.depositRequired && /* @__PURE__ */ React66.createElement(React66.Fragment, null, /* @__PURE__ */ React66.createElement(
5055
+ ), data.depositRequired && /* @__PURE__ */ React68.createElement(React68.Fragment, null, /* @__PURE__ */ React68.createElement(
4908
5056
  TextInput26,
4909
5057
  {
4910
5058
  label: "Deposit Amount",
@@ -4917,7 +5065,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4917
5065
  required: true,
4918
5066
  styles: inputStyles22
4919
5067
  }
4920
- ), /* @__PURE__ */ React66.createElement(
5068
+ ), /* @__PURE__ */ React68.createElement(
4921
5069
  Select7,
4922
5070
  {
4923
5071
  label: "Deposit Type",
@@ -4933,7 +5081,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4933
5081
  ],
4934
5082
  styles: inputStyles22
4935
5083
  }
4936
- ), /* @__PURE__ */ React66.createElement(
5084
+ ), /* @__PURE__ */ React68.createElement(
4937
5085
  TextInput26,
4938
5086
  {
4939
5087
  label: "Token Denomination or Address",
@@ -4946,7 +5094,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4946
5094
  required: true,
4947
5095
  styles: inputStyles22
4948
5096
  }
4949
- ), /* @__PURE__ */ React66.createElement(
5097
+ ), /* @__PURE__ */ React68.createElement(
4950
5098
  TextInput26,
4951
5099
  {
4952
5100
  label: "Refund Policy",
@@ -4959,7 +5107,7 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4959
5107
  required: true,
4960
5108
  styles: inputStyles22
4961
5109
  }
4962
- ), data.depositInfo.type !== "native" && /* @__PURE__ */ React66.createElement(
5110
+ ), data.depositInfo.type !== "native" && /* @__PURE__ */ React68.createElement(
4963
5111
  Textarea14,
4964
5112
  {
4965
5113
  label: "Token Configuration (JSON)",
@@ -4982,8 +5130,8 @@ var UpdatePreProposeConfigActionForm = ({ data, onChange }) => {
4982
5130
  };
4983
5131
 
4984
5132
  // src/mantine/blocks/proposal/actions-components/forms/GovernanceVoteActionForm.tsx
4985
- import React67 from "react";
4986
- 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";
4987
5135
  var inputStyles23 = {
4988
5136
  label: { color: "#adb5bd" },
4989
5137
  input: {
@@ -5002,7 +5150,7 @@ var GovernanceVoteActionForm = ({ data, onChange }) => {
5002
5150
  { value: "3", label: "No" },
5003
5151
  { value: "4", label: "No with Veto" }
5004
5152
  ];
5005
- return /* @__PURE__ */ React67.createElement(Stack51, { gap: "md" }, /* @__PURE__ */ React67.createElement(
5153
+ return /* @__PURE__ */ React69.createElement(Stack53, { gap: "md" }, /* @__PURE__ */ React69.createElement(
5006
5154
  TextInput27,
5007
5155
  {
5008
5156
  label: "Proposal ID",
@@ -5012,7 +5160,7 @@ var GovernanceVoteActionForm = ({ data, onChange }) => {
5012
5160
  required: true,
5013
5161
  styles: inputStyles23
5014
5162
  }
5015
- ), /* @__PURE__ */ React67.createElement(
5163
+ ), /* @__PURE__ */ React69.createElement(
5016
5164
  Select8,
5017
5165
  {
5018
5166
  label: "Vote Option",
@@ -5026,8 +5174,8 @@ var GovernanceVoteActionForm = ({ data, onChange }) => {
5026
5174
  };
5027
5175
 
5028
5176
  // src/mantine/blocks/proposal/actions-components/forms/WithdrawTokenSwapActionForm.tsx
5029
- import React68 from "react";
5030
- 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";
5031
5179
  var inputStyles24 = {
5032
5180
  label: { color: "#adb5bd" },
5033
5181
  input: {
@@ -5040,7 +5188,7 @@ var inputStyles24 = {
5040
5188
  }
5041
5189
  };
5042
5190
  var WithdrawTokenSwapActionForm = ({ data, onChange }) => {
5043
- return /* @__PURE__ */ React68.createElement(Stack52, { gap: "md" }, /* @__PURE__ */ React68.createElement(
5191
+ return /* @__PURE__ */ React70.createElement(Stack54, { gap: "md" }, /* @__PURE__ */ React70.createElement(
5044
5192
  Checkbox8,
5045
5193
  {
5046
5194
  label: "Contract chosen",
@@ -5051,7 +5199,7 @@ var WithdrawTokenSwapActionForm = ({ data, onChange }) => {
5051
5199
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
5052
5200
  }
5053
5201
  }
5054
- ), data.contractChosen && /* @__PURE__ */ React68.createElement(
5202
+ ), data.contractChosen && /* @__PURE__ */ React70.createElement(
5055
5203
  TextInput28,
5056
5204
  {
5057
5205
  label: "Token Swap Contract Address",
@@ -5065,8 +5213,8 @@ var WithdrawTokenSwapActionForm = ({ data, onChange }) => {
5065
5213
  };
5066
5214
 
5067
5215
  // src/mantine/blocks/proposal/actions-components/forms/PerformTokenSwapActionForm.tsx
5068
- import React69 from "react";
5069
- 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";
5070
5218
  var inputStyles25 = {
5071
5219
  label: { color: "#adb5bd" },
5072
5220
  input: {
@@ -5079,7 +5227,7 @@ var inputStyles25 = {
5079
5227
  }
5080
5228
  };
5081
5229
  var PerformTokenSwapActionForm = ({ data, onChange }) => {
5082
- return /* @__PURE__ */ React69.createElement(Stack53, { gap: "md" }, /* @__PURE__ */ React69.createElement(
5230
+ return /* @__PURE__ */ React71.createElement(Stack55, { gap: "md" }, /* @__PURE__ */ React71.createElement(
5083
5231
  Checkbox9,
5084
5232
  {
5085
5233
  label: "Contract chosen",
@@ -5090,7 +5238,7 @@ var PerformTokenSwapActionForm = ({ data, onChange }) => {
5090
5238
  input: { backgroundColor: "#2a2a2a", borderColor: "#333" }
5091
5239
  }
5092
5240
  }
5093
- ), data.contractChosen && /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(
5241
+ ), data.contractChosen && /* @__PURE__ */ React71.createElement(React71.Fragment, null, /* @__PURE__ */ React71.createElement(
5094
5242
  TextInput29,
5095
5243
  {
5096
5244
  label: "Token Swap Contract Address",
@@ -5100,7 +5248,7 @@ var PerformTokenSwapActionForm = ({ data, onChange }) => {
5100
5248
  required: true,
5101
5249
  styles: inputStyles25
5102
5250
  }
5103
- ), /* @__PURE__ */ React69.createElement(
5251
+ ), /* @__PURE__ */ React71.createElement(
5104
5252
  Textarea15,
5105
5253
  {
5106
5254
  label: "Self Party Information (JSON)",
@@ -5116,7 +5264,7 @@ var PerformTokenSwapActionForm = ({ data, onChange }) => {
5116
5264
  minRows: 4,
5117
5265
  styles: inputStyles25
5118
5266
  }
5119
- ), /* @__PURE__ */ React69.createElement(
5267
+ ), /* @__PURE__ */ React71.createElement(
5120
5268
  Textarea15,
5121
5269
  {
5122
5270
  label: "Counterparty Information (JSON)",
@@ -5136,8 +5284,8 @@ var PerformTokenSwapActionForm = ({ data, onChange }) => {
5136
5284
  };
5137
5285
 
5138
5286
  // src/mantine/blocks/proposal/actions-components/forms/StakeToGroupActionForm.tsx
5139
- import React70 from "react";
5140
- 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";
5141
5289
  var inputStyles26 = {
5142
5290
  label: { color: "#adb5bd" },
5143
5291
  input: {
@@ -5150,7 +5298,7 @@ var inputStyles26 = {
5150
5298
  }
5151
5299
  };
5152
5300
  var StakeToGroupActionForm = ({ data, onChange }) => {
5153
- return /* @__PURE__ */ React70.createElement(Stack54, { gap: "md" }, /* @__PURE__ */ React70.createElement(
5301
+ return /* @__PURE__ */ React72.createElement(Stack56, { gap: "md" }, /* @__PURE__ */ React72.createElement(
5154
5302
  TextInput30,
5155
5303
  {
5156
5304
  label: "Token Contract Address",
@@ -5160,7 +5308,7 @@ var StakeToGroupActionForm = ({ data, onChange }) => {
5160
5308
  required: true,
5161
5309
  styles: inputStyles26
5162
5310
  }
5163
- ), /* @__PURE__ */ React70.createElement(
5311
+ ), /* @__PURE__ */ React72.createElement(
5164
5312
  TextInput30,
5165
5313
  {
5166
5314
  label: "Staking Contract Address",
@@ -5170,12 +5318,12 @@ var StakeToGroupActionForm = ({ data, onChange }) => {
5170
5318
  required: true,
5171
5319
  styles: inputStyles26
5172
5320
  }
5173
- ), /* @__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 }));
5174
5322
  };
5175
5323
 
5176
5324
  // src/mantine/blocks/proposal/actions-components/forms/SendGroupTokenActionForm.tsx
5177
- import React71 from "react";
5178
- 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";
5179
5327
  var inputStyles27 = {
5180
5328
  label: { color: "#adb5bd" },
5181
5329
  input: {
@@ -5188,7 +5336,7 @@ var inputStyles27 = {
5188
5336
  }
5189
5337
  };
5190
5338
  var SendGroupTokenActionForm = ({ data, onChange }) => {
5191
- return /* @__PURE__ */ React71.createElement(Stack55, { gap: "md" }, /* @__PURE__ */ React71.createElement(
5339
+ return /* @__PURE__ */ React73.createElement(Stack57, { gap: "md" }, /* @__PURE__ */ React73.createElement(
5192
5340
  TextInput31,
5193
5341
  {
5194
5342
  label: "Contract Address",
@@ -5198,7 +5346,7 @@ var SendGroupTokenActionForm = ({ data, onChange }) => {
5198
5346
  required: true,
5199
5347
  styles: inputStyles27
5200
5348
  }
5201
- ), /* @__PURE__ */ React71.createElement(
5349
+ ), /* @__PURE__ */ React73.createElement(
5202
5350
  TextInput31,
5203
5351
  {
5204
5352
  label: "Recipient Address",
@@ -5208,12 +5356,12 @@ var SendGroupTokenActionForm = ({ data, onChange }) => {
5208
5356
  required: true,
5209
5357
  styles: inputStyles27
5210
5358
  }
5211
- ), /* @__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 }));
5212
5360
  };
5213
5361
 
5214
5362
  // src/mantine/blocks/proposal/actions-components/forms/ValidatorActionsActionForm.tsx
5215
- import React72 from "react";
5216
- 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";
5217
5365
  var inputStyles28 = {
5218
5366
  label: { color: "#adb5bd" },
5219
5367
  input: {
@@ -5232,7 +5380,7 @@ var ValidatorActionsActionForm = ({ data, onChange }) => {
5232
5380
  { value: "/cosmos.slashing.v1beta1.MsgUnjail" /* UnjailValidator */, label: "Unjail Validator" },
5233
5381
  { value: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission" /* WithdrawValidatorCommission */, label: "Withdraw Commission" }
5234
5382
  ];
5235
- return /* @__PURE__ */ React72.createElement(Stack56, { gap: "md" }, /* @__PURE__ */ React72.createElement(
5383
+ return /* @__PURE__ */ React74.createElement(Stack58, { gap: "md" }, /* @__PURE__ */ React74.createElement(
5236
5384
  Select9,
5237
5385
  {
5238
5386
  label: "Validator Action Type",
@@ -5242,7 +5390,7 @@ var ValidatorActionsActionForm = ({ data, onChange }) => {
5242
5390
  required: true,
5243
5391
  styles: inputStyles28
5244
5392
  }
5245
- ), data.validatorActionType === "/cosmos.staking.v1beta1.MsgCreateValidator" /* CreateValidator */ && /* @__PURE__ */ React72.createElement(
5393
+ ), data.validatorActionType === "/cosmos.staking.v1beta1.MsgCreateValidator" /* CreateValidator */ && /* @__PURE__ */ React74.createElement(
5246
5394
  Textarea16,
5247
5395
  {
5248
5396
  label: "Create Validator Message (JSON)",
@@ -5253,7 +5401,7 @@ var ValidatorActionsActionForm = ({ data, onChange }) => {
5253
5401
  required: true,
5254
5402
  styles: inputStyles28
5255
5403
  }
5256
- ), data.validatorActionType === "/cosmos.staking.v1beta1.MsgEditValidator" /* EditValidator */ && /* @__PURE__ */ React72.createElement(
5404
+ ), data.validatorActionType === "/cosmos.staking.v1beta1.MsgEditValidator" /* EditValidator */ && /* @__PURE__ */ React74.createElement(
5257
5405
  Textarea16,
5258
5406
  {
5259
5407
  label: "Edit Validator Message (JSON)",
@@ -5958,10 +6106,10 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
5958
6106
  };
5959
6107
  const renderActionForm = () => {
5960
6108
  if (!currentActionConfig) {
5961
- 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"));
5962
6110
  }
5963
6111
  const FormComponent = currentActionConfig.FormComponent;
5964
- return /* @__PURE__ */ React73.createElement(FormComponent, { data: actionData, onChange: setActionData, isTemplateMode });
6112
+ return /* @__PURE__ */ React75.createElement(FormComponent, { data: actionData, onChange: setActionData, isTemplateMode });
5965
6113
  };
5966
6114
  const getCategoryColor = (category) => {
5967
6115
  const colors = {
@@ -5976,7 +6124,7 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
5976
6124
  };
5977
6125
  return colors[category] || "#6b7280";
5978
6126
  };
5979
- 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(
5980
6128
  Tabs2,
5981
6129
  {
5982
6130
  defaultValue: ACTION_CATEGORIES[0].id,
@@ -5997,8 +6145,8 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
5997
6145
  panel: { paddingTop: "md" }
5998
6146
  }
5999
6147
  },
6000
- /* @__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))))),
6001
- 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(
6002
6150
  Paper5,
6003
6151
  {
6004
6152
  key: config.value,
@@ -6012,9 +6160,9 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6012
6160
  },
6013
6161
  onClick: () => setSelectedActionType(config.value)
6014
6162
  },
6015
- /* @__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))
6016
6164
  )))))
6017
- )) : /* @__PURE__ */ React73.createElement(
6165
+ )) : /* @__PURE__ */ React75.createElement(
6018
6166
  Card12,
6019
6167
  {
6020
6168
  withBorder: true,
@@ -6024,7 +6172,7 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6024
6172
  borderColor: "#333"
6025
6173
  }
6026
6174
  },
6027
- /* @__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(
6028
6176
  Badge8,
6029
6177
  {
6030
6178
  size: "sm",
@@ -6034,10 +6182,10 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6034
6182
  }
6035
6183
  },
6036
6184
  currentActionConfig?.label || selectedActionType
6037
- ), /* @__PURE__ */ React73.createElement(Text34, { size: "sm", style: { color: "#adb5bd" } }, "(Editing)")))
6038
- ), /* @__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) => {
6039
6187
  const config = getActionConfig(action.type);
6040
- return /* @__PURE__ */ React73.createElement(
6188
+ return /* @__PURE__ */ React75.createElement(
6041
6189
  Card12,
6042
6190
  {
6043
6191
  key: index,
@@ -6050,7 +6198,7 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6050
6198
  opacity: index === editingIndex ? 0.7 : 1
6051
6199
  }
6052
6200
  },
6053
- /* @__PURE__ */ React73.createElement(Group19, { gap: "xs" }, /* @__PURE__ */ React73.createElement(
6201
+ /* @__PURE__ */ React75.createElement(Group19, { gap: "xs" }, /* @__PURE__ */ React75.createElement(
6054
6202
  Badge8,
6055
6203
  {
6056
6204
  size: "sm",
@@ -6060,9 +6208,9 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6060
6208
  }
6061
6209
  },
6062
6210
  config?.label || action.type
6063
- ), /* @__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"))
6064
6212
  );
6065
- })))), /* @__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(
6066
6214
  Button11,
6067
6215
  {
6068
6216
  variant: "default",
@@ -6077,7 +6225,7 @@ var ActionsPanel = ({ actions, editingIndex, onSave, onCancel, isTemplateMode =
6077
6225
  }
6078
6226
  },
6079
6227
  "Cancel"
6080
- ), /* @__PURE__ */ React73.createElement(
6228
+ ), /* @__PURE__ */ React75.createElement(
6081
6229
  Button11,
6082
6230
  {
6083
6231
  onClick: handleSave,
@@ -6150,8 +6298,8 @@ var ActionsTab = ({ actions, onActionsChange, editor, block }) => {
6150
6298
  setIsEditorVisible(false);
6151
6299
  setEditingIndex(null);
6152
6300
  }, []);
6153
- return /* @__PURE__ */ React74.createElement(Stack58, { gap: "md" }, /* @__PURE__ */ React74.createElement(ActionsCard, { actions: currentActions, isSelected: false, onClick: () => {
6154
- }, 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(
6155
6303
  Card13,
6156
6304
  {
6157
6305
  withBorder: true,
@@ -6162,15 +6310,15 @@ var ActionsTab = ({ actions, onActionsChange, editor, block }) => {
6162
6310
  borderColor: "#333"
6163
6311
  }
6164
6312
  },
6165
- /* @__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 })
6166
6314
  ));
6167
6315
  };
6168
6316
 
6169
6317
  // src/mantine/blocks/proposal/template/VoteTab.tsx
6170
- import React75 from "react";
6171
- 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";
6172
6320
  var VoteTab = ({ voteTitle, voteSubtitle, voteIcon, onVoteTitleChange, onVoteSubtitleChange, onVoteIconChange }) => {
6173
- 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) }));
6174
6322
  };
6175
6323
 
6176
6324
  // src/mantine/blocks/proposal/template/TemplateConfig.tsx
@@ -6187,7 +6335,7 @@ var TemplateConfig3 = ({ editor, block }) => {
6187
6335
  },
6188
6336
  [editor, block]
6189
6337
  );
6190
- return /* @__PURE__ */ React76.createElement(
6338
+ return /* @__PURE__ */ React78.createElement(
6191
6339
  Paper6,
6192
6340
  {
6193
6341
  p: "md",
@@ -6198,7 +6346,7 @@ var TemplateConfig3 = ({ editor, block }) => {
6198
6346
  flexDirection: "column"
6199
6347
  }
6200
6348
  },
6201
- /* @__PURE__ */ React76.createElement(
6349
+ /* @__PURE__ */ React78.createElement(
6202
6350
  "div",
6203
6351
  {
6204
6352
  style: {
@@ -6208,17 +6356,17 @@ var TemplateConfig3 = ({ editor, block }) => {
6208
6356
  marginBottom: "1rem"
6209
6357
  }
6210
6358
  },
6211
- /* @__PURE__ */ React76.createElement(Title4, { order: 3 }, "Proposal Settings"),
6212
- /* @__PURE__ */ React76.createElement(CloseButton4, { onClick: closePanel })
6359
+ /* @__PURE__ */ React78.createElement(Title4, { order: 3 }, "Proposal Settings"),
6360
+ /* @__PURE__ */ React78.createElement(CloseButton4, { onClick: closePanel })
6213
6361
  ),
6214
- /* @__PURE__ */ React76.createElement(
6362
+ /* @__PURE__ */ React78.createElement(
6215
6363
  ReusablePanel,
6216
6364
  {
6217
6365
  extraTabs: [
6218
6366
  {
6219
6367
  label: "General",
6220
6368
  value: "general",
6221
- content: /* @__PURE__ */ React76.createElement(
6369
+ content: /* @__PURE__ */ React78.createElement(
6222
6370
  GeneralTab3,
6223
6371
  {
6224
6372
  title: block.props.title || "",
@@ -6233,12 +6381,12 @@ var TemplateConfig3 = ({ editor, block }) => {
6233
6381
  {
6234
6382
  label: "Actions",
6235
6383
  value: "actions",
6236
- 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 })
6237
6385
  },
6238
6386
  {
6239
6387
  label: "Vote",
6240
6388
  value: "vote",
6241
- content: /* @__PURE__ */ React76.createElement(
6389
+ content: /* @__PURE__ */ React78.createElement(
6242
6390
  VoteTab,
6243
6391
  {
6244
6392
  voteTitle: block.props.voteTitle || "",
@@ -6258,21 +6406,21 @@ var TemplateConfig3 = ({ editor, block }) => {
6258
6406
  };
6259
6407
 
6260
6408
  // src/mantine/blocks/proposal/template/TemplateView.tsx
6261
- 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";
6262
6410
  var PROPOSAL_TEMPLATE_PANEL_ID = "proposal-template-panel";
6263
6411
  var ProposalTemplateView = ({ editor, block }) => {
6264
6412
  const panelId = `${PROPOSAL_TEMPLATE_PANEL_ID}-${block.id}`;
6265
- const panelContent = useMemo10(() => /* @__PURE__ */ React77.createElement(TemplateConfig3, { editor, block }), [editor, block]);
6413
+ const panelContent = useMemo10(() => /* @__PURE__ */ React79.createElement(TemplateConfig3, { editor, block }), [editor, block]);
6266
6414
  const { open } = usePanel(panelId, panelContent);
6267
- 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")));
6268
6416
  };
6269
6417
 
6270
6418
  // src/mantine/blocks/proposal/flow/FlowView.tsx
6271
- import React82, { useMemo as useMemo11 } from "react";
6419
+ import React84, { useMemo as useMemo11 } from "react";
6272
6420
 
6273
6421
  // src/mantine/blocks/proposal/components/OnChainProposalCard.tsx
6274
- import React78 from "react";
6275
- 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";
6276
6424
  var statusColor = {
6277
6425
  open: "#4dabf7",
6278
6426
  passed: "#51cf66",
@@ -6301,7 +6449,7 @@ var OnChainProposalCard = ({
6301
6449
  onVote,
6302
6450
  voteEnabled = false
6303
6451
  }) => {
6304
- return /* @__PURE__ */ React78.createElement(
6452
+ return /* @__PURE__ */ React80.createElement(
6305
6453
  Card15,
6306
6454
  {
6307
6455
  shadow: "sm",
@@ -6314,9 +6462,9 @@ var OnChainProposalCard = ({
6314
6462
  },
6315
6463
  onClick
6316
6464
  },
6317
- 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%" })),
6318
- error && /* @__PURE__ */ React78.createElement(Text36, { size: "sm", c: "red" }, typeof error === "string" ? error : error.message || "An error occurred while loading the proposal."),
6319
- !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(
6320
6468
  Button13,
6321
6469
  {
6322
6470
  size: "sm",
@@ -6329,7 +6477,7 @@ var OnChainProposalCard = ({
6329
6477
  style: { flexShrink: 0 }
6330
6478
  },
6331
6479
  "Vote"
6332
- ), status === "passed" && onExecute && /* @__PURE__ */ React78.createElement(
6480
+ ), status === "passed" && onExecute && /* @__PURE__ */ React80.createElement(
6333
6481
  Button13,
6334
6482
  {
6335
6483
  size: "sm",
@@ -6348,8 +6496,8 @@ var OnChainProposalCard = ({
6348
6496
  };
6349
6497
 
6350
6498
  // src/mantine/blocks/proposal/flow/FlowConfig.tsx
6351
- import React81, { useCallback as useCallback14, useState as useState21 } from "react";
6352
- 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";
6353
6501
 
6354
6502
  // src/mantine/blocks/proposal/flow/useFlowBusinessLogic.ts
6355
6503
  import { useEffect as useEffect12, useState as useState17 } from "react";
@@ -6589,8 +6737,8 @@ var useVoteBusinessLogic = ({ block, editor }) => {
6589
6737
  };
6590
6738
 
6591
6739
  // src/mantine/blocks/proposal/flow/VoteGeneralTab.tsx
6592
- import React79, { useState as useState19 } from "react";
6593
- 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";
6594
6742
  var getVoteIcon = (voteType) => {
6595
6743
  switch (voteType) {
6596
6744
  case "yes":
@@ -6632,7 +6780,7 @@ var FlowGeneralTab = ({
6632
6780
  setRationale("");
6633
6781
  }
6634
6782
  };
6635
- return /* @__PURE__ */ React79.createElement(Stack62, { gap: "lg" }, !hasSubmittedProposal && /* @__PURE__ */ React79.createElement(
6783
+ return /* @__PURE__ */ React81.createElement(Stack64, { gap: "lg" }, !hasSubmittedProposal && /* @__PURE__ */ React81.createElement(
6636
6784
  Card16,
6637
6785
  {
6638
6786
  padding: "md",
@@ -6643,8 +6791,8 @@ var FlowGeneralTab = ({
6643
6791
  color: "#f1f3f5"
6644
6792
  }
6645
6793
  },
6646
- /* @__PURE__ */ React79.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React79.createElement(
6647
- Box14,
6794
+ /* @__PURE__ */ React81.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React81.createElement(
6795
+ Box16,
6648
6796
  {
6649
6797
  style: {
6650
6798
  width: 8,
@@ -6653,9 +6801,9 @@ var FlowGeneralTab = ({
6653
6801
  borderRadius: "50%"
6654
6802
  }
6655
6803
  }
6656
- ), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", fw: 500, style: { color: "#ffd43b" } }, "Waiting for Proposal Submission")),
6657
- /* @__PURE__ */ React79.createElement(Text37, { size: "xs", style: { color: "#adb5bd", marginTop: 4 } }, "The connected proposal needs to be submitted before voting can begin.")
6658
- ), /* @__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(
6659
6807
  Card16,
6660
6808
  {
6661
6809
  padding: "lg",
@@ -6667,8 +6815,8 @@ var FlowGeneralTab = ({
6667
6815
  opacity: !hasSubmittedProposal ? 0.6 : 1
6668
6816
  }
6669
6817
  },
6670
- /* @__PURE__ */ React79.createElement(Stack62, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Group22, { justify: "space-between" }, /* @__PURE__ */ React79.createElement(Group22, { gap: "xs" }, /* @__PURE__ */ React79.createElement(
6671
- 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,
6672
6820
  {
6673
6821
  w: 8,
6674
6822
  h: 8,
@@ -6677,8 +6825,8 @@ var FlowGeneralTab = ({
6677
6825
  borderRadius: "50%"
6678
6826
  }
6679
6827
  }
6680
- ), /* @__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(
6681
- 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,
6682
6830
  {
6683
6831
  size: "sm",
6684
6832
  fw: 500,
@@ -6687,8 +6835,8 @@ var FlowGeneralTab = ({
6687
6835
  }
6688
6836
  },
6689
6837
  hasSubmittedProposal ? proposalTitle || "Untitled" : "N/A"
6690
- )), /* @__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"))),
6691
- /* @__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(
6692
6840
  Progress2,
6693
6841
  {
6694
6842
  value: hasSubmittedProposal ? 75 : 0,
@@ -6701,7 +6849,7 @@ var FlowGeneralTab = ({
6701
6849
  }
6702
6850
  }
6703
6851
  ))
6704
- ), 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(
6705
6853
  Card16,
6706
6854
  {
6707
6855
  padding: "md",
@@ -6712,8 +6860,8 @@ var FlowGeneralTab = ({
6712
6860
  color: "#f1f3f5"
6713
6861
  }
6714
6862
  },
6715
- /* @__PURE__ */ React79.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React79.createElement(
6716
- Box14,
6863
+ /* @__PURE__ */ React81.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React81.createElement(
6864
+ Box16,
6717
6865
  {
6718
6866
  style: {
6719
6867
  width: 8,
@@ -6722,8 +6870,8 @@ var FlowGeneralTab = ({
6722
6870
  borderRadius: "50%"
6723
6871
  }
6724
6872
  }
6725
- ), /* @__PURE__ */ React79.createElement(Text37, { size: "sm", fw: 500, style: { color: "#ffd43b" } }, isDisabled.message))
6726
- ), /* @__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(
6727
6875
  Button14,
6728
6876
  {
6729
6877
  variant: "outline",
@@ -6742,8 +6890,8 @@ var FlowGeneralTab = ({
6742
6890
  opacity: disabled ? 0.5 : 1
6743
6891
  }
6744
6892
  },
6745
- /* @__PURE__ */ React79.createElement(Text37, { fw: 500, tt: "capitalize", style: { textAlign: "left" } }, voteType === "no_with_veto" ? "No with Veto" : voteType)
6746
- )))), /* @__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(
6747
6895
  Textarea17,
6748
6896
  {
6749
6897
  value: rationale,
@@ -6760,7 +6908,7 @@ var FlowGeneralTab = ({
6760
6908
  }
6761
6909
  }
6762
6910
  }
6763
- ))), (status === "executed" || proposalStatus === "executed") && /* @__PURE__ */ React79.createElement(
6911
+ ))), (status === "executed" || proposalStatus === "executed") && /* @__PURE__ */ React81.createElement(
6764
6912
  Card16,
6765
6913
  {
6766
6914
  padding: "md",
@@ -6770,8 +6918,8 @@ var FlowGeneralTab = ({
6770
6918
  border: "1px solid #333"
6771
6919
  }
6772
6920
  },
6773
- /* @__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."))
6774
- ), !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(
6775
6923
  Button14,
6776
6924
  {
6777
6925
  variant: "outline",
@@ -6788,8 +6936,8 @@ var FlowGeneralTab = ({
6788
6936
  opacity: 0.5
6789
6937
  }
6790
6938
  },
6791
- /* @__PURE__ */ React79.createElement(Text37, { fw: 500, tt: "capitalize", style: { textAlign: "left" } }, voteType === "no_with_veto" ? "No with Veto" : voteType)
6792
- ))))), 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(
6793
6941
  Button14,
6794
6942
  {
6795
6943
  size: "sm",
@@ -6805,7 +6953,7 @@ var FlowGeneralTab = ({
6805
6953
  }
6806
6954
  },
6807
6955
  "Sign"
6808
- ))), hasVoted && hasSubmittedProposal && /* @__PURE__ */ React79.createElement(
6956
+ ))), hasVoted && hasSubmittedProposal && /* @__PURE__ */ React81.createElement(
6809
6957
  Card16,
6810
6958
  {
6811
6959
  padding: "md",
@@ -6816,8 +6964,8 @@ var FlowGeneralTab = ({
6816
6964
  color: "#f1f3f5"
6817
6965
  }
6818
6966
  },
6819
- /* @__PURE__ */ React79.createElement(Stack62, { gap: "xs" }, /* @__PURE__ */ React79.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React79.createElement(
6820
- Box14,
6967
+ /* @__PURE__ */ React81.createElement(Stack64, { gap: "xs" }, /* @__PURE__ */ React81.createElement(Group22, { gap: "xs", align: "center" }, /* @__PURE__ */ React81.createElement(
6968
+ Box16,
6821
6969
  {
6822
6970
  style: {
6823
6971
  width: 8,
@@ -6826,13 +6974,13 @@ var FlowGeneralTab = ({
6826
6974
  borderRadius: "50%"
6827
6975
  }
6828
6976
  }
6829
- ), /* @__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)))
6830
6978
  ));
6831
6979
  };
6832
6980
 
6833
6981
  // src/mantine/blocks/proposal/flow/ActionsTab.tsx
6834
- import React80, { useCallback as useCallback13, useEffect as useEffect14, useState as useState20 } from "react";
6835
- 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";
6836
6984
  var ActionsTab2 = ({ actions, onActionsChange, editor, block, isProposalCreated }) => {
6837
6985
  const [isEditorVisible, setIsEditorVisible] = useState20(false);
6838
6986
  const [editingIndex, setEditingIndex] = useState20(null);
@@ -6891,7 +7039,7 @@ var ActionsTab2 = ({ actions, onActionsChange, editor, block, isProposalCreated
6891
7039
  setIsEditorVisible(false);
6892
7040
  setEditingIndex(null);
6893
7041
  }, []);
6894
- 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(
6895
7043
  Button15,
6896
7044
  {
6897
7045
  onClick: handleAddAction,
@@ -6903,7 +7051,7 @@ var ActionsTab2 = ({ actions, onActionsChange, editor, block, isProposalCreated
6903
7051
  }
6904
7052
  },
6905
7053
  "Add Action"
6906
- ), /* @__PURE__ */ React80.createElement(
7054
+ ), /* @__PURE__ */ React82.createElement(
6907
7055
  ActionsCard,
6908
7056
  {
6909
7057
  actions: currentActions,
@@ -6914,7 +7062,7 @@ var ActionsTab2 = ({ actions, onActionsChange, editor, block, isProposalCreated
6914
7062
  onRemoveAction: handleRemoveAction,
6915
7063
  disabled: isProposalCreated
6916
7064
  }
6917
- )), !isProposalCreated && isEditorVisible && /* @__PURE__ */ React80.createElement(
7065
+ )), !isProposalCreated && isEditorVisible && /* @__PURE__ */ React82.createElement(
6918
7066
  Card17,
6919
7067
  {
6920
7068
  withBorder: true,
@@ -6925,7 +7073,7 @@ var ActionsTab2 = ({ actions, onActionsChange, editor, block, isProposalCreated
6925
7073
  borderColor: "#333"
6926
7074
  }
6927
7075
  },
6928
- /* @__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 })
6929
7077
  ));
6930
7078
  };
6931
7079
 
@@ -6978,7 +7126,7 @@ var FlowConfig = ({ editor, block }) => {
6978
7126
  setIsCreating(false);
6979
7127
  }
6980
7128
  };
6981
- 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(
6982
7130
  TextInput33,
6983
7131
  {
6984
7132
  label: "Title",
@@ -6989,7 +7137,7 @@ var FlowConfig = ({ editor, block }) => {
6989
7137
  required: true,
6990
7138
  disabled: isProposalCreated
6991
7139
  }
6992
- ), /* @__PURE__ */ React81.createElement(
7140
+ ), /* @__PURE__ */ React83.createElement(
6993
7141
  Textarea18,
6994
7142
  {
6995
7143
  label: "Description",
@@ -7001,7 +7149,7 @@ var FlowConfig = ({ editor, block }) => {
7001
7149
  required: true,
7002
7150
  disabled: isProposalCreated
7003
7151
  }
7004
- ), 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"));
7005
7153
  const handleActionsChange = useCallback14(
7006
7154
  (newActions) => {
7007
7155
  updateProp("actions", JSON.stringify(newActions));
@@ -7017,12 +7165,12 @@ var FlowConfig = ({ editor, block }) => {
7017
7165
  {
7018
7166
  label: "Actions",
7019
7167
  value: "actions",
7020
- 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 })
7021
7169
  },
7022
7170
  {
7023
7171
  label: "Vote",
7024
7172
  value: "vote",
7025
- content: /* @__PURE__ */ React81.createElement(
7173
+ content: /* @__PURE__ */ React83.createElement(
7026
7174
  FlowGeneralTab,
7027
7175
  {
7028
7176
  proposalId: voteLogic.proposalId,
@@ -7038,7 +7186,7 @@ var FlowConfig = ({ editor, block }) => {
7038
7186
  )
7039
7187
  }
7040
7188
  ];
7041
- return /* @__PURE__ */ React81.createElement(
7189
+ return /* @__PURE__ */ React83.createElement(
7042
7190
  Paper7,
7043
7191
  {
7044
7192
  p: "md",
@@ -7049,7 +7197,7 @@ var FlowConfig = ({ editor, block }) => {
7049
7197
  flexDirection: "column"
7050
7198
  }
7051
7199
  },
7052
- /* @__PURE__ */ React81.createElement(
7200
+ /* @__PURE__ */ React83.createElement(
7053
7201
  "div",
7054
7202
  {
7055
7203
  style: {
@@ -7059,10 +7207,10 @@ var FlowConfig = ({ editor, block }) => {
7059
7207
  marginBottom: "1rem"
7060
7208
  }
7061
7209
  },
7062
- /* @__PURE__ */ React81.createElement(Title5, { order: 3 }, "Proposal Settings"),
7063
- /* @__PURE__ */ React81.createElement(CloseButton5, { onClick: closePanel })
7210
+ /* @__PURE__ */ React83.createElement(Title5, { order: 3 }, "Proposal Settings"),
7211
+ /* @__PURE__ */ React83.createElement(CloseButton5, { onClick: closePanel })
7064
7212
  ),
7065
- /* @__PURE__ */ React81.createElement(ReusablePanel, { extraTabs, context: { editor, block } })
7213
+ /* @__PURE__ */ React83.createElement(ReusablePanel, { extraTabs, context: { editor, block } })
7066
7214
  );
7067
7215
  };
7068
7216
 
@@ -7074,13 +7222,13 @@ var ProposalFlowView = ({ block, editor }) => {
7074
7222
  block,
7075
7223
  editor
7076
7224
  });
7077
- const panelContent = useMemo11(() => /* @__PURE__ */ React82.createElement(FlowConfig, { editor, block }), [editor, block]);
7225
+ const panelContent = useMemo11(() => /* @__PURE__ */ React84.createElement(FlowConfig, { editor, block }), [editor, block]);
7078
7226
  const { open } = usePanel(panelId, panelContent);
7079
7227
  const handleVote = () => {
7080
7228
  open();
7081
7229
  };
7082
7230
  const showVoteButton = (block.props.voteEnabled || false) && proposalId;
7083
- return /* @__PURE__ */ React82.createElement(
7231
+ return /* @__PURE__ */ React84.createElement(
7084
7232
  OnChainProposalCard,
7085
7233
  {
7086
7234
  title,
@@ -7107,10 +7255,10 @@ function ProposalBlock({ editor, block }) {
7107
7255
  console.log("[ProposalBlock] Rendering with docType:", docType);
7108
7256
  if (docType === "template") {
7109
7257
  console.log("[ProposalBlock] Rendering ProposalTemplateView (docType is template)");
7110
- return /* @__PURE__ */ React83.createElement(ProposalTemplateView, { editor, block });
7258
+ return /* @__PURE__ */ React85.createElement(ProposalTemplateView, { editor, block });
7111
7259
  }
7112
7260
  console.log("[ProposalBlock] Rendering ProposalFlowView (docType is flow)");
7113
- return /* @__PURE__ */ React83.createElement(ProposalFlowView, { block, editor });
7261
+ return /* @__PURE__ */ React85.createElement(ProposalFlowView, { block, editor });
7114
7262
  }
7115
7263
 
7116
7264
  // src/mantine/blocks/proposal/ProposalBlockSpec.tsx
@@ -7169,28 +7317,28 @@ var ProposalBlockSpec = createReactBlockSpec4(
7169
7317
  {
7170
7318
  render: (props) => {
7171
7319
  const ixoProps = props;
7172
- return /* @__PURE__ */ React84.createElement(ProposalBlock, { ...ixoProps });
7320
+ return /* @__PURE__ */ React86.createElement(ProposalBlock, { ...ixoProps });
7173
7321
  }
7174
7322
  }
7175
7323
  );
7176
7324
 
7177
7325
  // src/mantine/blocks/apiRequest/ApiRequestBlockSpec.tsx
7178
- import React90 from "react";
7326
+ import React92 from "react";
7179
7327
  import { createReactBlockSpec as createReactBlockSpec5 } from "@blocknote/react";
7180
7328
 
7181
7329
  // src/mantine/blocks/apiRequest/ApiRequestBlock.tsx
7182
- import React89 from "react";
7330
+ import React91 from "react";
7183
7331
 
7184
7332
  // src/mantine/blocks/apiRequest/template/TemplateView.tsx
7185
- import React87, { useMemo as useMemo12 } from "react";
7333
+ import React89, { useMemo as useMemo12 } from "react";
7186
7334
 
7187
7335
  // src/mantine/blocks/apiRequest/template/TemplateConfig.tsx
7188
- import React86, { useCallback as useCallback15 } from "react";
7336
+ import React88, { useCallback as useCallback15 } from "react";
7189
7337
  import { Paper as Paper9, CloseButton as CloseButton6, Title as Title6 } from "@mantine/core";
7190
7338
 
7191
7339
  // src/mantine/blocks/apiRequest/template/GeneralTab.tsx
7192
- import React85, { useEffect as useEffect15, useState as useState22 } from "react";
7193
- 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";
7194
7342
  import { IconTrash, IconPlus } from "@tabler/icons-react";
7195
7343
  var GeneralTab4 = ({
7196
7344
  title,
@@ -7250,7 +7398,7 @@ var GeneralTab4 = ({
7250
7398
  setLocalBody(newBody);
7251
7399
  onBodyChange(newBody);
7252
7400
  };
7253
- 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(
7254
7402
  TextInput34,
7255
7403
  {
7256
7404
  placeholder: "e.g. Submit User Data",
@@ -7261,7 +7409,7 @@ var GeneralTab4 = ({
7261
7409
  onTitleChange(newTitle);
7262
7410
  }
7263
7411
  }
7264
- )), /* @__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(
7265
7413
  Textarea19,
7266
7414
  {
7267
7415
  placeholder: "Describe what this API request does",
@@ -7273,7 +7421,7 @@ var GeneralTab4 = ({
7273
7421
  onDescriptionChange(newDescription);
7274
7422
  }
7275
7423
  }
7276
- )), /* @__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(
7277
7425
  Select10,
7278
7426
  {
7279
7427
  value: localMethod,
@@ -7290,7 +7438,7 @@ var GeneralTab4 = ({
7290
7438
  { value: "PATCH", label: "PATCH" }
7291
7439
  ]
7292
7440
  }
7293
- )), /* @__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(
7294
7442
  TextInput34,
7295
7443
  {
7296
7444
  placeholder: "https://api.example.com/endpoint",
@@ -7301,7 +7449,7 @@ var GeneralTab4 = ({
7301
7449
  onEndpointChange(newEndpoint);
7302
7450
  }
7303
7451
  }
7304
- )), /* @__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(
7305
7453
  TextInput34,
7306
7454
  {
7307
7455
  placeholder: "Header key (e.g., Authorization)",
@@ -7309,7 +7457,7 @@ var GeneralTab4 = ({
7309
7457
  onChange: (event) => handleHeaderChange(index, "key", event.currentTarget.value),
7310
7458
  style: { flex: 1 }
7311
7459
  }
7312
- ), /* @__PURE__ */ React85.createElement(
7460
+ ), /* @__PURE__ */ React87.createElement(
7313
7461
  TextInput34,
7314
7462
  {
7315
7463
  placeholder: "Header value (e.g., Bearer token123)",
@@ -7317,7 +7465,7 @@ var GeneralTab4 = ({
7317
7465
  onChange: (event) => handleHeaderChange(index, "value", event.currentTarget.value),
7318
7466
  style: { flex: 1 }
7319
7467
  }
7320
- ), /* @__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(
7321
7469
  TextInput34,
7322
7470
  {
7323
7471
  placeholder: "Field key (e.g., name)",
@@ -7325,7 +7473,7 @@ var GeneralTab4 = ({
7325
7473
  onChange: (event) => handleBodyFieldChange(index, "key", event.currentTarget.value),
7326
7474
  style: { flex: 1 }
7327
7475
  }
7328
- ), /* @__PURE__ */ React85.createElement(
7476
+ ), /* @__PURE__ */ React87.createElement(
7329
7477
  TextInput34,
7330
7478
  {
7331
7479
  placeholder: "Field value (e.g., John Doe)",
@@ -7333,7 +7481,7 @@ var GeneralTab4 = ({
7333
7481
  onChange: (event) => handleBodyFieldChange(index, "value", event.currentTarget.value),
7334
7482
  style: { flex: 1 }
7335
7483
  }
7336
- ), /* @__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 }))))))));
7337
7485
  };
7338
7486
 
7339
7487
  // src/mantine/blocks/apiRequest/template/TemplateConfig.tsx
@@ -7362,7 +7510,7 @@ var TemplateConfig4 = ({ editor, block }) => {
7362
7510
  },
7363
7511
  [updateProp]
7364
7512
  );
7365
- return /* @__PURE__ */ React86.createElement(
7513
+ return /* @__PURE__ */ React88.createElement(
7366
7514
  Paper9,
7367
7515
  {
7368
7516
  p: "md",
@@ -7373,7 +7521,7 @@ var TemplateConfig4 = ({ editor, block }) => {
7373
7521
  flexDirection: "column"
7374
7522
  }
7375
7523
  },
7376
- /* @__PURE__ */ React86.createElement(
7524
+ /* @__PURE__ */ React88.createElement(
7377
7525
  "div",
7378
7526
  {
7379
7527
  style: {
@@ -7383,17 +7531,17 @@ var TemplateConfig4 = ({ editor, block }) => {
7383
7531
  marginBottom: "1rem"
7384
7532
  }
7385
7533
  },
7386
- /* @__PURE__ */ React86.createElement(Title6, { order: 3 }, "API Request Settings"),
7387
- /* @__PURE__ */ React86.createElement(CloseButton6, { onClick: closePanel })
7534
+ /* @__PURE__ */ React88.createElement(Title6, { order: 3 }, "API Request Settings"),
7535
+ /* @__PURE__ */ React88.createElement(CloseButton6, { onClick: closePanel })
7388
7536
  ),
7389
- /* @__PURE__ */ React86.createElement(
7537
+ /* @__PURE__ */ React88.createElement(
7390
7538
  ReusablePanel,
7391
7539
  {
7392
7540
  extraTabs: [
7393
7541
  {
7394
7542
  label: "General",
7395
7543
  value: "general",
7396
- content: /* @__PURE__ */ React86.createElement(
7544
+ content: /* @__PURE__ */ React88.createElement(
7397
7545
  GeneralTab4,
7398
7546
  {
7399
7547
  title: block.props.title || "",
@@ -7431,11 +7579,11 @@ var TemplateConfig4 = ({ editor, block }) => {
7431
7579
  };
7432
7580
 
7433
7581
  // src/mantine/blocks/apiRequest/template/TemplateView.tsx
7434
- 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";
7435
7583
  var API_REQUEST_TEMPLATE_PANEL_ID = "api-request-template-panel";
7436
7584
  var ApiRequestTemplateView = ({ editor, block }) => {
7437
7585
  const panelId = `${API_REQUEST_TEMPLATE_PANEL_ID}-${block.id}`;
7438
- const panelContent = useMemo12(() => /* @__PURE__ */ React87.createElement(TemplateConfig4, { editor, block }), [editor, block]);
7586
+ const panelContent = useMemo12(() => /* @__PURE__ */ React89.createElement(TemplateConfig4, { editor, block }), [editor, block]);
7439
7587
  const { open } = usePanel(panelId, panelContent);
7440
7588
  const method = block.props.method || "GET";
7441
7589
  const endpoint = block.props.endpoint || "https://api.example.com/endpoint";
@@ -7455,12 +7603,12 @@ var ApiRequestTemplateView = ({ editor, block }) => {
7455
7603
  return "gray";
7456
7604
  }
7457
7605
  };
7458
- 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)))));
7459
7607
  };
7460
7608
 
7461
7609
  // src/mantine/blocks/apiRequest/flow/FlowView.tsx
7462
- import React88, { useState as useState23 } from "react";
7463
- 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";
7464
7612
  import { IconSend, IconChevronDown, IconChevronUp } from "@tabler/icons-react";
7465
7613
  var ApiRequestFlowView = ({ editor, block, isDisabled }) => {
7466
7614
  const disabled = isDisabled?.isDisabled === "disable";
@@ -7578,21 +7726,21 @@ var ApiRequestFlowView = ({ editor, block, isDisabled }) => {
7578
7726
  setIsLoading(false);
7579
7727
  }
7580
7728
  };
7581
- const executeButton = /* @__PURE__ */ React88.createElement(
7729
+ const executeButton = /* @__PURE__ */ React90.createElement(
7582
7730
  Button18,
7583
7731
  {
7584
7732
  size: "sm",
7585
7733
  variant: "light",
7586
7734
  color: getMethodColor(method),
7587
- 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 }),
7588
7736
  onClick: handleExecuteRequest,
7589
7737
  disabled: disabled || isLoading || !endpoint,
7590
7738
  style: { flexShrink: 0 }
7591
7739
  },
7592
7740
  isLoading ? "Sending..." : "Execute"
7593
7741
  );
7594
- 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(
7595
- 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,
7596
7744
  {
7597
7745
  size: "xs",
7598
7746
  c: "dimmed",
@@ -7604,7 +7752,7 @@ var ApiRequestFlowView = ({ editor, block, isDisabled }) => {
7604
7752
  }
7605
7753
  },
7606
7754
  endpoint || "No endpoint configured"
7607
- ), 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(
7608
7756
  headers.reduce(
7609
7757
  (acc, h) => {
7610
7758
  if (h.key && h.value) acc[h.key] = h.value;
@@ -7614,7 +7762,7 @@ var ApiRequestFlowView = ({ editor, block, isDisabled }) => {
7614
7762
  ),
7615
7763
  null,
7616
7764
  2
7617
- ))), 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(
7618
7766
  body.reduce(
7619
7767
  (acc, b) => {
7620
7768
  if (b.key && b.value) acc[b.key] = b.value;
@@ -7624,7 +7772,7 @@ var ApiRequestFlowView = ({ editor, block, isDisabled }) => {
7624
7772
  ),
7625
7773
  null,
7626
7774
  2
7627
- ))), 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))))));
7628
7776
  };
7629
7777
 
7630
7778
  // src/mantine/blocks/apiRequest/ApiRequestBlock.tsx
@@ -7632,7 +7780,7 @@ function ApiRequestBlock({ editor, block }) {
7632
7780
  const { docType } = useBlocknoteContext();
7633
7781
  const { actions } = useBlockConditions(block, editor);
7634
7782
  if (docType === "template") {
7635
- return /* @__PURE__ */ React89.createElement(ApiRequestTemplateView, { editor, block });
7783
+ return /* @__PURE__ */ React91.createElement(ApiRequestTemplateView, { editor, block });
7636
7784
  }
7637
7785
  const conditionConfig = parseConditionConfig(block.props.conditions);
7638
7786
  const hasVisibility = hasVisibilityConditions(conditionConfig);
@@ -7644,7 +7792,7 @@ function ApiRequestBlock({ editor, block }) {
7644
7792
  const hasEnable = hasEnableConditions(conditionConfig);
7645
7793
  const enableActionExists = actions.some((a) => a.action === "enable");
7646
7794
  const shouldDisable = hasEnable && !enableActionExists;
7647
- return /* @__PURE__ */ React89.createElement(
7795
+ return /* @__PURE__ */ React91.createElement(
7648
7796
  ApiRequestFlowView,
7649
7797
  {
7650
7798
  block,
@@ -7698,36 +7846,36 @@ var ApiRequestBlockSpec = createReactBlockSpec5(
7698
7846
  {
7699
7847
  render: (props) => {
7700
7848
  const ixoProps = props;
7701
- return /* @__PURE__ */ React90.createElement(ApiRequestBlock, { ...ixoProps });
7849
+ return /* @__PURE__ */ React92.createElement(ApiRequestBlock, { ...ixoProps });
7702
7850
  }
7703
7851
  }
7704
7852
  );
7705
7853
 
7706
7854
  // src/mantine/blocks/enumChecklist/EnumChecklistBlock.tsx
7707
- 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";
7708
7856
  import { createReactBlockSpec as createReactBlockSpec6 } from "@blocknote/react";
7709
- 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";
7710
7858
 
7711
7859
  // src/mantine/blocks/enumChecklist/oracle_personalities/index.tsx
7712
- import React91 from "react";
7713
- 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";
7714
7862
  function OraclePersonalitiesEnumList({ selectionMode, isItemChecked, onItemCheck, items }) {
7715
7863
  if (!items || items.length === 0) {
7716
- 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");
7717
7865
  }
7718
- 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) }))));
7719
- 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));
7720
7868
  }
7721
7869
 
7722
7870
  // src/mantine/blocks/enumChecklist/EnumChecklistConfigModal.tsx
7723
- import React96, { useState as useState24 } from "react";
7724
- 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";
7725
7873
 
7726
7874
  // src/mantine/blocks/list/modal/ModalNavigation.tsx
7727
- import React92 from "react";
7728
- 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";
7729
7877
  var ModalNavigation = ({ steps, activeStep, onStepChange, showUpdateButton = false, onUpdateBlock }) => {
7730
- 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(
7731
7879
  Button19,
7732
7880
  {
7733
7881
  key: step.id,
@@ -7745,13 +7893,13 @@ var ModalNavigation = ({ steps, activeStep, onStepChange, showUpdateButton = fal
7745
7893
  }
7746
7894
  }
7747
7895
  },
7748
- /* @__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))
7749
- ))), 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"));
7750
7898
  };
7751
7899
 
7752
7900
  // src/mantine/blocks/enumChecklist/EnumChecklistTypeSelection.tsx
7753
- import React93 from "react";
7754
- 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";
7755
7903
 
7756
7904
  // src/mantine/blocks/enumChecklist/oracle_personalities/config.ts
7757
7905
  var oraclePersonalitiesMetadata = {
@@ -7880,7 +8028,7 @@ function getEnumListItems(type) {
7880
8028
  // src/mantine/blocks/enumChecklist/EnumChecklistTypeSelection.tsx
7881
8029
  var EnumChecklistTypeSelection = ({ selectedType, onTypeSelect, onNext }) => {
7882
8030
  const enumListsMeta = getEnumListTypesMetadata();
7883
- 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(
7884
8032
  Card21,
7885
8033
  {
7886
8034
  key: enumChecklistMeta.id,
@@ -7893,8 +8041,8 @@ var EnumChecklistTypeSelection = ({ selectedType, onTypeSelect, onNext }) => {
7893
8041
  },
7894
8042
  onClick: () => onTypeSelect(enumChecklistMeta.id)
7895
8043
  },
7896
- /* @__PURE__ */ React93.createElement(Group26, { gap: "md", align: "flex-start" }, /* @__PURE__ */ React93.createElement(
7897
- Box16,
8044
+ /* @__PURE__ */ React95.createElement(Group26, { gap: "md", align: "flex-start" }, /* @__PURE__ */ React95.createElement(
8045
+ Box18,
7898
8046
  {
7899
8047
  style: {
7900
8048
  width: 48,
@@ -7909,35 +8057,35 @@ var EnumChecklistTypeSelection = ({ selectedType, onTypeSelect, onNext }) => {
7909
8057
  }
7910
8058
  },
7911
8059
  enumChecklistMeta.icon
7912
- ), /* @__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)))
7913
- ))), /* @__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")));
7914
8062
  };
7915
8063
 
7916
8064
  // src/mantine/blocks/enumChecklist/EnumChecklistPreviewStep.tsx
7917
- import React94 from "react";
7918
- 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";
7919
8067
  var EnumChecklistPreviewStep = ({ listType, onAddToBlock, onPrev }) => {
7920
8068
  const renderListComponent = () => {
7921
8069
  switch (listType) {
7922
8070
  case "oracle_personalities":
7923
- return /* @__PURE__ */ React94.createElement(OraclePersonalitiesEnumList, { items: getEnumListItems(listType) });
8071
+ return /* @__PURE__ */ React96.createElement(OraclePersonalitiesEnumList, { items: getEnumListItems(listType) });
7924
8072
  default:
7925
8073
  return null;
7926
8074
  }
7927
8075
  };
7928
- 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")));
7929
8077
  };
7930
8078
 
7931
8079
  // src/mantine/blocks/enumChecklist/EnumChecklistConfigurationStep.tsx
7932
- import React95 from "react";
7933
- 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";
7934
8082
  var EnumChecklistConfigurationStep = ({ enumChecklistType: listType, config, onConfigChange, onPrev, onNext, isValid }) => {
7935
8083
  const typeConfig = ENUM_LIST_CONFIG[listType];
7936
8084
  const configFields = getEnumListTypesConfigFields(listType);
7937
8085
  const renderListConfigField = (field) => {
7938
8086
  switch (field.type) {
7939
8087
  case "text":
7940
- return /* @__PURE__ */ React95.createElement(
8088
+ return /* @__PURE__ */ React97.createElement(
7941
8089
  TextInput35,
7942
8090
  {
7943
8091
  label: field.label,
@@ -7949,7 +8097,7 @@ var EnumChecklistConfigurationStep = ({ enumChecklistType: listType, config, onC
7949
8097
  }
7950
8098
  );
7951
8099
  case "switch":
7952
- return /* @__PURE__ */ React95.createElement(
8100
+ return /* @__PURE__ */ React97.createElement(
7953
8101
  Switch4,
7954
8102
  {
7955
8103
  label: field.label,
@@ -7959,7 +8107,7 @@ var EnumChecklistConfigurationStep = ({ enumChecklistType: listType, config, onC
7959
8107
  }
7960
8108
  );
7961
8109
  case "select":
7962
- return /* @__PURE__ */ React95.createElement(
8110
+ return /* @__PURE__ */ React97.createElement(
7963
8111
  Select11,
7964
8112
  {
7965
8113
  label: field.label,
@@ -7972,7 +8120,7 @@ var EnumChecklistConfigurationStep = ({ enumChecklistType: listType, config, onC
7972
8120
  }
7973
8121
  );
7974
8122
  default:
7975
- return /* @__PURE__ */ React95.createElement(
8123
+ return /* @__PURE__ */ React97.createElement(
7976
8124
  TextInput35,
7977
8125
  {
7978
8126
  label: field.label,
@@ -7985,7 +8133,7 @@ var EnumChecklistConfigurationStep = ({ enumChecklistType: listType, config, onC
7985
8133
  );
7986
8134
  }
7987
8135
  };
7988
- 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")));
7989
8137
  };
7990
8138
 
7991
8139
  // src/mantine/blocks/enumChecklist/EnumChecklistConfigModal.tsx
@@ -8047,9 +8195,9 @@ var EnumChecklistConfigModal = ({ opened, onClose, onSave, initialConfig }) => {
8047
8195
  const renderStepContent = () => {
8048
8196
  switch (activeStep) {
8049
8197
  case "type":
8050
- return /* @__PURE__ */ React96.createElement(EnumChecklistTypeSelection, { selectedType, onTypeSelect: handleTypeSelect, onNext: () => setActiveStep("configure") });
8198
+ return /* @__PURE__ */ React98.createElement(EnumChecklistTypeSelection, { selectedType, onTypeSelect: handleTypeSelect, onNext: () => setActiveStep("configure") });
8051
8199
  case "configure":
8052
- return selectedType ? /* @__PURE__ */ React96.createElement(
8200
+ return selectedType ? /* @__PURE__ */ React98.createElement(
8053
8201
  EnumChecklistConfigurationStep,
8054
8202
  {
8055
8203
  enumChecklistType: selectedType,
@@ -8061,16 +8209,16 @@ var EnumChecklistConfigModal = ({ opened, onClose, onSave, initialConfig }) => {
8061
8209
  }
8062
8210
  ) : null;
8063
8211
  case "preview":
8064
- 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;
8065
8213
  default:
8066
8214
  return null;
8067
8215
  }
8068
8216
  };
8069
- 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())));
8070
8218
  };
8071
8219
 
8072
8220
  // src/mantine/blocks/enumChecklist/EnumChecklistBlock.tsx
8073
- var IconSettings2 = () => /* @__PURE__ */ React97.createElement("span", null, "\u2699\uFE0F");
8221
+ var IconSettings2 = () => /* @__PURE__ */ React99.createElement("span", null, "\u2699\uFE0F");
8074
8222
  var EnumChecklistBlockType = "enumChecklist";
8075
8223
  var EnumChecklistBlockContent = ({ block, editor }) => {
8076
8224
  const [modalOpened, setModalOpened] = useState25(false);
@@ -8156,7 +8304,7 @@ var EnumChecklistBlockContent = ({ block, editor }) => {
8156
8304
  if (!listType) return null;
8157
8305
  switch (listType) {
8158
8306
  case "oracle_personalities":
8159
- return /* @__PURE__ */ React97.createElement(
8307
+ return /* @__PURE__ */ React99.createElement(
8160
8308
  OraclePersonalitiesEnumList,
8161
8309
  {
8162
8310
  items: getEnumListItems(listType),
@@ -8169,7 +8317,7 @@ var EnumChecklistBlockContent = ({ block, editor }) => {
8169
8317
  return null;
8170
8318
  }
8171
8319
  };
8172
- 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(
8173
8321
  EnumChecklistConfigModal,
8174
8322
  {
8175
8323
  opened: modalOpened,
@@ -8201,27 +8349,27 @@ var EnumChecklistBlock = createReactBlockSpec6(
8201
8349
  content: "none"
8202
8350
  },
8203
8351
  {
8204
- render: (props) => /* @__PURE__ */ React97.createElement(EnumChecklistBlockContent, { ...props })
8352
+ render: (props) => /* @__PURE__ */ React99.createElement(EnumChecklistBlockContent, { ...props })
8205
8353
  }
8206
8354
  );
8207
8355
 
8208
8356
  // src/mantine/blocks/notify/NotifyBlockSpec.tsx
8209
- import React103 from "react";
8357
+ import React105 from "react";
8210
8358
  import { createReactBlockSpec as createReactBlockSpec7 } from "@blocknote/react";
8211
8359
 
8212
8360
  // src/mantine/blocks/notify/NotifyBlock.tsx
8213
- import React102 from "react";
8361
+ import React104 from "react";
8214
8362
 
8215
8363
  // src/mantine/blocks/notify/template/TemplateView.tsx
8216
- import React100, { useMemo as useMemo14 } from "react";
8364
+ import React102, { useMemo as useMemo14 } from "react";
8217
8365
 
8218
8366
  // src/mantine/blocks/notify/template/TemplateConfig.tsx
8219
- import React99, { useCallback as useCallback17 } from "react";
8367
+ import React101, { useCallback as useCallback17 } from "react";
8220
8368
  import { Paper as Paper11, CloseButton as CloseButton7, Title as Title7 } from "@mantine/core";
8221
8369
 
8222
8370
  // src/mantine/blocks/notify/template/GeneralTab.tsx
8223
- import React98, { useEffect as useEffect17, useState as useState26 } from "react";
8224
- 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";
8225
8373
  import { IconTrash as IconTrash2, IconPlus as IconPlus2 } from "@tabler/icons-react";
8226
8374
  var GeneralTab5 = ({
8227
8375
  title,
@@ -8294,7 +8442,7 @@ var GeneralTab5 = ({
8294
8442
  setter(newRecipients);
8295
8443
  callback(newRecipients);
8296
8444
  };
8297
- 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(
8298
8446
  TextInput36,
8299
8447
  {
8300
8448
  placeholder: "e.g. Welcome Email",
@@ -8305,7 +8453,7 @@ var GeneralTab5 = ({
8305
8453
  onTitleChange(newTitle);
8306
8454
  }
8307
8455
  }
8308
- )), /* @__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(
8309
8457
  Textarea20,
8310
8458
  {
8311
8459
  placeholder: "Describe what this notification does",
@@ -8317,7 +8465,7 @@ var GeneralTab5 = ({
8317
8465
  onDescriptionChange(newDescription);
8318
8466
  }
8319
8467
  }
8320
- )), /* @__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(
8321
8469
  Select12,
8322
8470
  {
8323
8471
  value: localChannel,
@@ -8333,7 +8481,7 @@ var GeneralTab5 = ({
8333
8481
  { value: "rcs", label: "RCS (Coming Soon)", disabled: true }
8334
8482
  ]
8335
8483
  }
8336
- )), /* @__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(
8337
8485
  TextInput36,
8338
8486
  {
8339
8487
  style: { flex: 1 },
@@ -8341,7 +8489,7 @@ var GeneralTab5 = ({
8341
8489
  value: recipient,
8342
8490
  onChange: (e) => handleRecipientChange("cc", index, e.currentTarget.value)
8343
8491
  }
8344
- ), /* @__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(
8345
8493
  TextInput36,
8346
8494
  {
8347
8495
  style: { flex: 1 },
@@ -8349,7 +8497,7 @@ var GeneralTab5 = ({
8349
8497
  value: recipient,
8350
8498
  onChange: (e) => handleRecipientChange("bcc", index, e.currentTarget.value)
8351
8499
  }
8352
- ), /* @__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(
8353
8501
  TextInput36,
8354
8502
  {
8355
8503
  placeholder: "sender@example.com",
@@ -8360,7 +8508,7 @@ var GeneralTab5 = ({
8360
8508
  onFromChange(newFrom);
8361
8509
  }
8362
8510
  }
8363
- ), /* @__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(
8364
8512
  TextInput36,
8365
8513
  {
8366
8514
  placeholder: "reply@example.com",
@@ -8371,7 +8519,7 @@ var GeneralTab5 = ({
8371
8519
  onReplyToChange(newReplyTo);
8372
8520
  }
8373
8521
  }
8374
- ), /* @__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(
8375
8523
  TextInput36,
8376
8524
  {
8377
8525
  placeholder: "Email subject line",
@@ -8382,7 +8530,7 @@ var GeneralTab5 = ({
8382
8530
  onSubjectChange(newSubject);
8383
8531
  }
8384
8532
  }
8385
- )), /* @__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(
8386
8534
  Select12,
8387
8535
  {
8388
8536
  value: localBodyType,
@@ -8396,7 +8544,7 @@ var GeneralTab5 = ({
8396
8544
  { value: "html", label: "HTML" }
8397
8545
  ]
8398
8546
  }
8399
- )), /* @__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(
8400
8548
  Textarea20,
8401
8549
  {
8402
8550
  placeholder: localBodyType === "html" ? "<h1>Hello!</h1><p>Welcome to our service.</p>" : "Email body content",
@@ -8408,7 +8556,7 @@ var GeneralTab5 = ({
8408
8556
  onBodyChange(newBody);
8409
8557
  }
8410
8558
  }
8411
- ), /* @__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"))));
8412
8560
  };
8413
8561
 
8414
8562
  // src/mantine/blocks/notify/template/TemplateConfig.tsx
@@ -8443,7 +8591,7 @@ var TemplateConfig5 = ({ editor, block }) => {
8443
8591
  },
8444
8592
  [updateProp]
8445
8593
  );
8446
- return /* @__PURE__ */ React99.createElement(
8594
+ return /* @__PURE__ */ React101.createElement(
8447
8595
  Paper11,
8448
8596
  {
8449
8597
  p: "md",
@@ -8454,7 +8602,7 @@ var TemplateConfig5 = ({ editor, block }) => {
8454
8602
  flexDirection: "column"
8455
8603
  }
8456
8604
  },
8457
- /* @__PURE__ */ React99.createElement(
8605
+ /* @__PURE__ */ React101.createElement(
8458
8606
  "div",
8459
8607
  {
8460
8608
  style: {
@@ -8464,17 +8612,17 @@ var TemplateConfig5 = ({ editor, block }) => {
8464
8612
  marginBottom: "1rem"
8465
8613
  }
8466
8614
  },
8467
- /* @__PURE__ */ React99.createElement(Title7, { order: 3 }, "Notification Settings"),
8468
- /* @__PURE__ */ React99.createElement(CloseButton7, { onClick: closePanel })
8615
+ /* @__PURE__ */ React101.createElement(Title7, { order: 3 }, "Notification Settings"),
8616
+ /* @__PURE__ */ React101.createElement(CloseButton7, { onClick: closePanel })
8469
8617
  ),
8470
- /* @__PURE__ */ React99.createElement(
8618
+ /* @__PURE__ */ React101.createElement(
8471
8619
  ReusablePanel,
8472
8620
  {
8473
8621
  extraTabs: [
8474
8622
  {
8475
8623
  label: "General",
8476
8624
  value: "general",
8477
- content: /* @__PURE__ */ React99.createElement(
8625
+ content: /* @__PURE__ */ React101.createElement(
8478
8626
  GeneralTab5,
8479
8627
  {
8480
8628
  title: block.props.title || "",
@@ -8528,11 +8676,11 @@ var TemplateConfig5 = ({ editor, block }) => {
8528
8676
  };
8529
8677
 
8530
8678
  // src/mantine/blocks/notify/template/TemplateView.tsx
8531
- 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";
8532
8680
  var NOTIFY_TEMPLATE_PANEL_ID = "notify-template-panel";
8533
8681
  var NotifyTemplateView = ({ editor, block }) => {
8534
8682
  const panelId = `${NOTIFY_TEMPLATE_PANEL_ID}-${block.id}`;
8535
- const panelContent = useMemo14(() => /* @__PURE__ */ React100.createElement(TemplateConfig5, { editor, block }), [editor, block]);
8683
+ const panelContent = useMemo14(() => /* @__PURE__ */ React102.createElement(TemplateConfig5, { editor, block }), [editor, block]);
8536
8684
  const { open } = usePanel(panelId, panelContent);
8537
8685
  const channel = block.props.channel || "email";
8538
8686
  const to = (() => {
@@ -8557,12 +8705,12 @@ var NotifyTemplateView = ({ editor, block }) => {
8557
8705
  return "gray";
8558
8706
  }
8559
8707
  };
8560
- 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)))));
8561
8709
  };
8562
8710
 
8563
8711
  // src/mantine/blocks/notify/flow/FlowView.tsx
8564
- import React101, { useState as useState27 } from "react";
8565
- 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";
8566
8714
  import { IconSend as IconSend2, IconChevronDown as IconChevronDown2, IconChevronUp as IconChevronUp2, IconCheck, IconX } from "@tabler/icons-react";
8567
8715
  var NotifyFlowView = ({ editor, block, isDisabled }) => {
8568
8716
  const disabled = isDisabled?.isDisabled === "disable";
@@ -8668,20 +8816,20 @@ var NotifyFlowView = ({ editor, block, isDisabled }) => {
8668
8816
  }
8669
8817
  };
8670
8818
  const canSend = !disabled && !isLoading && handlers && to.length > 0 && (channel === "email" ? block.props.subject && block.props.body : true);
8671
- const sendButton = /* @__PURE__ */ React101.createElement(
8819
+ const sendButton = /* @__PURE__ */ React103.createElement(
8672
8820
  Button25,
8673
8821
  {
8674
8822
  size: "sm",
8675
8823
  variant: "light",
8676
8824
  color: getChannelColor(channel),
8677
- 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 }),
8678
8826
  onClick: handleSendNotification,
8679
8827
  disabled: !canSend,
8680
8828
  style: { flexShrink: 0 }
8681
8829
  },
8682
8830
  isLoading ? "Sending..." : status === "sent" ? "Sent" : "Send"
8683
8831
  );
8684
- 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(
8685
8833
  {
8686
8834
  to: to.filter((e) => e.trim() !== ""),
8687
8835
  ...cc.length > 0 && { cc: cc.filter((e) => e.trim() !== "") },
@@ -8689,7 +8837,7 @@ var NotifyFlowView = ({ editor, block, isDisabled }) => {
8689
8837
  },
8690
8838
  null,
8691
8839
  2
8692
- ))), 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(
8693
8841
  {
8694
8842
  ...block.props.from && { from: block.props.from },
8695
8843
  ...block.props.replyTo && { replyTo: block.props.replyTo }
@@ -8704,7 +8852,7 @@ function NotifyBlock({ editor, block }) {
8704
8852
  const { editable } = useBlocknoteContext();
8705
8853
  const { actions } = useBlockConditions(block, editor);
8706
8854
  if (editable) {
8707
- return /* @__PURE__ */ React102.createElement(NotifyTemplateView, { editor, block });
8855
+ return /* @__PURE__ */ React104.createElement(NotifyTemplateView, { editor, block });
8708
8856
  }
8709
8857
  const conditionConfig = parseConditionConfig(block.props.conditions);
8710
8858
  const hasVisibility = hasVisibilityConditions(conditionConfig);
@@ -8716,7 +8864,7 @@ function NotifyBlock({ editor, block }) {
8716
8864
  const hasEnable = hasEnableConditions(conditionConfig);
8717
8865
  const enableActionExists = actions.some((a) => a.action === "enable");
8718
8866
  const shouldDisable = hasEnable && !enableActionExists;
8719
- 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 });
8720
8868
  }
8721
8869
 
8722
8870
  // src/mantine/blocks/notify/NotifyBlockSpec.tsx
@@ -8760,7 +8908,7 @@ var NotifyBlockSpec = createReactBlockSpec7(
8760
8908
  {
8761
8909
  render: (props) => {
8762
8910
  const ixoProps = props;
8763
- return /* @__PURE__ */ React103.createElement(NotifyBlock, { ...ixoProps });
8911
+ return /* @__PURE__ */ React105.createElement(NotifyBlock, { ...ixoProps });
8764
8912
  }
8765
8913
  }
8766
8914
  );
@@ -9517,19 +9665,19 @@ function useCreateCollaborativeIxoEditor(options) {
9517
9665
  }
9518
9666
 
9519
9667
  // src/mantine/IxoEditor.tsx
9520
- import React105 from "react";
9668
+ import React107 from "react";
9521
9669
  import { getDefaultReactSlashMenuItems, SuggestionMenuController } from "@blocknote/react";
9522
9670
  import { BlockNoteView } from "@blocknote/mantine";
9523
9671
  import { filterSuggestionItems } from "@blocknote/core";
9524
9672
  import { MantineProvider } from "@mantine/core";
9525
9673
 
9526
9674
  // src/mantine/components/PanelContent.tsx
9527
- import React104 from "react";
9675
+ import React106 from "react";
9528
9676
  function PanelContent() {
9529
9677
  const { activePanel, registeredPanels } = usePanelStore();
9530
9678
  const isOpen = activePanel !== null;
9531
9679
  const content = activePanel ? registeredPanels.get(activePanel) : null;
9532
- return /* @__PURE__ */ React104.createElement(
9680
+ return /* @__PURE__ */ React106.createElement(
9533
9681
  "div",
9534
9682
  {
9535
9683
  style: {
@@ -9553,7 +9701,7 @@ function IxoEditorContent({
9553
9701
  onSelectionChange,
9554
9702
  children
9555
9703
  }) {
9556
- 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(
9557
9705
  BlockNoteView,
9558
9706
  {
9559
9707
  editor,
@@ -9568,7 +9716,7 @@ function IxoEditorContent({
9568
9716
  onChange,
9569
9717
  onSelectionChange
9570
9718
  },
9571
- config.slashMenu && /* @__PURE__ */ React105.createElement(
9719
+ config.slashMenu && /* @__PURE__ */ React107.createElement(
9572
9720
  SuggestionMenuController,
9573
9721
  {
9574
9722
  triggerCharacter: "/",
@@ -9580,7 +9728,7 @@ function IxoEditorContent({
9580
9728
  }
9581
9729
  ),
9582
9730
  children
9583
- )), /* @__PURE__ */ React105.createElement(PanelContent, null));
9731
+ )), /* @__PURE__ */ React107.createElement(PanelContent, null));
9584
9732
  }
9585
9733
  function IxoEditor({
9586
9734
  editor,
@@ -9606,9 +9754,9 @@ function IxoEditor({
9606
9754
  tableHandles: true
9607
9755
  };
9608
9756
  const isEditable = editable;
9609
- 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));
9610
9758
  if (mantineTheme) {
9611
- return /* @__PURE__ */ React105.createElement(MantineProvider, { theme: mantineTheme }, editorContent);
9759
+ return /* @__PURE__ */ React107.createElement(MantineProvider, { theme: mantineTheme }, editorContent);
9612
9760
  }
9613
9761
  return editorContent;
9614
9762
  }
@@ -9692,4 +9840,4 @@ export {
9692
9840
  ixoGraphQLClient,
9693
9841
  getEntity
9694
9842
  };
9695
- //# sourceMappingURL=chunk-3LUJTQVK.mjs.map
9843
+ //# sourceMappingURL=chunk-2YUNEIWS.mjs.map