@ixo/editor 3.0.0-beta.7 → 3.0.0-beta.9

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.
@@ -2307,7 +2307,14 @@ function BaseContainer({ children, onClick, style }) {
2307
2307
  {
2308
2308
  withBorder: true,
2309
2309
  radius: "lg",
2310
- style: { width: "100%", borderColor: "var(--mantine-color-neutralColor-6)", cursor: onClick ? "pointer" : "default", position: "relative", ...style },
2310
+ style: {
2311
+ width: "100%",
2312
+ borderColor: "var(--mantine-color-neutralColor-6)",
2313
+ cursor: onClick ? "pointer" : "default",
2314
+ position: "relative",
2315
+ userSelect: onClick ? "none" : void 0,
2316
+ ...style
2317
+ },
2311
2318
  onClick
2312
2319
  },
2313
2320
  children
@@ -25271,7 +25278,9 @@ import {
25271
25278
  IconScale,
25272
25279
  IconFileText as IconFileText5,
25273
25280
  IconChecks as IconChecks4,
25274
- IconThumbUp as IconThumbUp2
25281
+ IconThumbUp as IconThumbUp2,
25282
+ IconSignature as IconSignature3,
25283
+ IconBuildingEstate
25275
25284
  } from "@tabler/icons-react";
25276
25285
 
25277
25286
  // src/mantine/components/Base/BaseIconCombobox.tsx
@@ -25284,6 +25293,7 @@ var BaseIconCombobox = ({ options, value, onChange }) => {
25284
25293
  Combobox,
25285
25294
  {
25286
25295
  store: combobox,
25296
+ middlewares: { flip: true, size: true },
25287
25297
  onOptionSubmit: (val) => {
25288
25298
  onChange(val);
25289
25299
  combobox.closeDropdown();
@@ -25328,7 +25338,7 @@ var BaseIconCombobox = ({ options, value, onChange }) => {
25328
25338
  },
25329
25339
  selected ? /* @__PURE__ */ React236.createElement(OptionRow, { option: selected }) : /* @__PURE__ */ React236.createElement(OptionRow, { option: { value: "", label: "Select an option", description: "Choose a type", icon: null } })
25330
25340
  )),
25331
- /* @__PURE__ */ React236.createElement(Combobox.Dropdown, null, /* @__PURE__ */ React236.createElement(Combobox.Options, null, options.filter((o) => o.value !== value).map((option) => /* @__PURE__ */ React236.createElement(Combobox.Option, { key: option.value, value: option.value }, /* @__PURE__ */ React236.createElement(OptionRow, { option })))))
25341
+ /* @__PURE__ */ React236.createElement(Combobox.Dropdown, { mah: "var(--combobox-available-height, 300px)", style: { overflowY: "auto", scrollbarWidth: "none", msOverflowStyle: "none" } }, /* @__PURE__ */ React236.createElement(Combobox.Options, null, options.filter((o) => o.value !== value).map((option) => /* @__PURE__ */ React236.createElement(Combobox.Option, { key: option.value, value: option.value }, /* @__PURE__ */ React236.createElement(OptionRow, { option })))))
25332
25342
  );
25333
25343
  };
25334
25344
  function OptionRow({ option }) {
@@ -25411,6 +25421,16 @@ var ACTION_TYPE_META = {
25411
25421
  label: "Select Protocol",
25412
25422
  description: "Select a protocol from a configured list",
25413
25423
  icon: icon(IconBolt8, COMBO_ICON_SIZE)
25424
+ },
25425
+ "domain.sign": {
25426
+ label: "Sign Domain",
25427
+ description: "Sign a domain card credential",
25428
+ icon: icon(IconSignature3, COMBO_ICON_SIZE)
25429
+ },
25430
+ "domain.create": {
25431
+ label: "Create Domain",
25432
+ description: "Create a new domain entity on-chain",
25433
+ icon: icon(IconBuildingEstate, COMBO_ICON_SIZE)
25414
25434
  }
25415
25435
  };
25416
25436
  function getActionMeta(actionType) {
@@ -29573,18 +29593,12 @@ function parseDomainSignInputs(json) {
29573
29593
  const parsed = typeof json === "string" ? JSON.parse(json) : json;
29574
29594
  return {
29575
29595
  entityType: parsed?.entityType || "",
29576
- linkedEntities: parsed?.linkedEntities || "[]",
29577
- ttlAbsoluteDueDate: parsed?.ttlAbsoluteDueDate || "",
29578
- ttlFromEnablement: parsed?.ttlFromEnablement || "",
29579
- ttlFromCommitment: parsed?.ttlFromCommitment || ""
29596
+ linkedEntities: parsed?.linkedEntities || "[]"
29580
29597
  };
29581
29598
  } catch {
29582
29599
  return {
29583
29600
  entityType: "",
29584
- linkedEntities: "[]",
29585
- ttlAbsoluteDueDate: "",
29586
- ttlFromEnablement: "",
29587
- ttlFromCommitment: ""
29601
+ linkedEntities: "[]"
29588
29602
  };
29589
29603
  }
29590
29604
  }
@@ -29638,33 +29652,6 @@ var DomainSignConfig = ({ inputs, onInputsChange }) => {
29638
29652
  }
29639
29653
  }
29640
29654
  }
29641
- )), /* @__PURE__ */ React258.createElement(Divider26, { variant: "dashed" }), /* @__PURE__ */ React258.createElement(Stack175, { gap: "xs" }, /* @__PURE__ */ React258.createElement(Text148, { size: "sm", fw: 600 }, "TTL Configuration"), /* @__PURE__ */ React258.createElement(
29642
- BaseTextInput,
29643
- {
29644
- label: "Absolute Due Date",
29645
- description: "ISO date string for when this action expires (e.g. 2026-12-31)",
29646
- placeholder: "2026-12-31",
29647
- value: local.ttlAbsoluteDueDate,
29648
- onChange: (event) => update({ ttlAbsoluteDueDate: event.currentTarget.value })
29649
- }
29650
- ), /* @__PURE__ */ React258.createElement(
29651
- BaseTextInput,
29652
- {
29653
- label: "TTL from Enablement",
29654
- description: "Duration after enablement (e.g. P30D for 30 days)",
29655
- placeholder: "P30D",
29656
- value: local.ttlFromEnablement,
29657
- onChange: (event) => update({ ttlFromEnablement: event.currentTarget.value })
29658
- }
29659
- ), /* @__PURE__ */ React258.createElement(
29660
- BaseTextInput,
29661
- {
29662
- label: "TTL from Commitment",
29663
- description: "Duration after commitment (e.g. P7D for 7 days)",
29664
- placeholder: "P7D",
29665
- value: local.ttlFromCommitment,
29666
- onChange: (event) => update({ ttlFromCommitment: event.currentTarget.value })
29667
- }
29668
29655
  )));
29669
29656
  };
29670
29657
 
@@ -33797,4 +33784,4 @@ export {
33797
33784
  getExtraSlashMenuItems,
33798
33785
  useCreateIxoEditor
33799
33786
  };
33800
- //# sourceMappingURL=chunk-IWNDIVXR.mjs.map
33787
+ //# sourceMappingURL=chunk-VFQFOPNS.mjs.map