@sheetxl/studio-mui 0.8.0-beta.11 → 0.8.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/browser/esm/{DTpRkgsTm_zYnWfW.mjs → 0IBZhOJaVmzJxuTv.mjs} +1 -1
  2. package/browser/esm/{LZoYSQAYV2wksnDv.mjs → 2nRxqrNYbmEn8fS8.mjs} +5 -5
  3. package/browser/esm/{DDc6rDuU9JAo1DH_.mjs → 7fVZXXuonYb6Z7FU.mjs} +3 -3
  4. package/browser/esm/{DpD4fg2WcyiKX_2K.mjs → BAzhmMX4Fk_qnUTp.mjs} +5 -5
  5. package/browser/esm/{CBD4RiRKbbZtSXV-.mjs → BGL3x0W74D7qZXlf.mjs} +3 -3
  6. package/browser/esm/{D9ISy7VkaRRFJl46.mjs → BHGr2gsFofTdAFxq.mjs} +4 -4
  7. package/browser/esm/{BknfGJouygmnpFIU.mjs → BKhcJI-G15D3kGap.mjs} +2 -2
  8. package/browser/esm/{CyLn6zOOp_biA3xU.mjs → BNbub9weuqm3mcoF.mjs} +8 -8
  9. package/browser/esm/{CWkOgdL7mOKiTR62.mjs → BSv9MVJaz1DVEffm.mjs} +4 -4
  10. package/browser/esm/{BAbq4-I5f5oUiNaF.mjs → BWfLpYmd3cSgJ0C6.mjs} +4 -4
  11. package/browser/esm/{0BWO0bLZ8Vm_dKd2.mjs → BZqwbIE8qzjSOYcJ.mjs} +13 -13
  12. package/browser/esm/{ttjcNHcFn8O6hfnd.mjs → BZy9xUrYpAtnKeji.mjs} +11 -11
  13. package/browser/esm/{COlZu93LRwuBvjE-.mjs → BnkwC5rsg9LZyhoP.mjs} +2 -2
  14. package/browser/esm/{BvhYPwX3GrRaO9CM.mjs → BpJsBv413cNQpyg0.mjs} +3 -3
  15. package/browser/esm/{DDczwkXhz_MHub4z.mjs → BpVrgbVISiTDyFR3.mjs} +2 -2
  16. package/browser/esm/{DRSCS6aLiYmPjUz1.mjs → BsngRDhvVYGVBJeK.mjs} +365 -362
  17. package/browser/esm/{Ds3XRkne7HxcXD8J.mjs → C29TKq47CbXs652l.mjs} +2 -2
  18. package/browser/esm/{BXhNFzyEGokTF-BL.mjs → C8p2iMad_NNCwGI_.mjs} +2 -2
  19. package/browser/esm/{G0Inqm6Eqw47dMpa.mjs → CBzXksWnb-1gGEWZ.mjs} +1 -1
  20. package/browser/esm/{zqilJefihVd7At2T.mjs → CFIAWgpU3UyepLBn.mjs} +7 -7
  21. package/browser/esm/{DG21x7RKDpge6zAE.mjs → CJD4jF4m9cBGHzr_.mjs} +1 -1
  22. package/browser/esm/{C9pIZVACtl9unFOp.mjs → CMc7G7cevxzPGxr9.mjs} +2 -2
  23. package/browser/esm/{HViD4Wfoi0mmqk9w.mjs → CYtULLhY9M2m3DeH.mjs} +1 -1
  24. package/browser/esm/{Buqcl7J75MJrhpVE.mjs → CeF35ZeFP28Do5Zx.mjs} +8 -8
  25. package/browser/esm/{D3rRUK4dIM5gUSmj.mjs → CjYKDxU4EP2Kf_vo.mjs} +2 -2
  26. package/browser/esm/{BlE_8o8tO2AgAlaj.mjs → Cq82lvdjyBvlJ8xJ.mjs} +1 -1
  27. package/browser/esm/{DEv4pIEgYr5C7etm.mjs → CuRxFAO42JkQvMEx.mjs} +1 -1
  28. package/browser/esm/{C8JU4KsMasmLvojI.mjs → Cvk2yY90hpgXWMAt.mjs} +1 -1
  29. package/browser/esm/{CynTY0oNtyJnoaBq.mjs → D0slJycx3nq53qmf.mjs} +1 -1
  30. package/browser/esm/{DKtJxrpN0axtuQ0l.mjs → D2jzliMwAo2ENpfi.mjs} +1 -1
  31. package/browser/esm/{DdcZrjMLWVukWcU5.mjs → D5Fn0Hqllwv5HY6i.mjs} +768 -660
  32. package/browser/esm/{Bujtz_Guj88d03vI.mjs → D5N4nGaZsXtrHAOh.mjs} +6 -6
  33. package/browser/esm/{ChSVxkPTIjgcC8PL.mjs → D7AqPfyhMiuda5l5.mjs} +2 -2
  34. package/browser/esm/{BED6h6YAwCf1HEQJ.mjs → DHZA48ZMCETvHmeP.mjs} +1 -1
  35. package/browser/esm/{Di3BUxA0SqFWWgeg.mjs → DX2_vf7WX6uRLaOZ.mjs} +1 -1
  36. package/browser/esm/{DnGaP5F7mLwCGUYG.mjs → DaxpbAF1ShkT7hNU.mjs} +206 -124
  37. package/browser/esm/{YThnrg3PadGs7B4j.mjs → Db3oHfXiRtcH015t.mjs} +143 -137
  38. package/browser/esm/{C0wlMAIn9iREPK6w.mjs → Dt47Huh1l3C4_5_w.mjs} +1 -1
  39. package/browser/esm/{xFqkfN8QMCxvsetB.mjs → DtPt0phL7m56YfHZ.mjs} +1 -1
  40. package/browser/esm/{CTjqDD-swFMZzI-Y.mjs → DtTDaXmnWUoG4VBO.mjs} +2 -2
  41. package/browser/esm/{Brsh5yscJ_4uKFXp.mjs → DuuyN4-7K6_io2Py.mjs} +2 -2
  42. package/browser/esm/{w_JrR69vEpvoyeMy.mjs → NeGeLF3gbGMZyV6E.mjs} +1 -1
  43. package/browser/esm/{BokqKEpU6TFgfRs6.mjs → PY3Br5Bo_TxcCnCU.mjs} +2 -2
  44. package/browser/esm/{DV6i9RQZfJiKtEaJ.mjs → WIhvQtBkGiw-oFUs.mjs} +636 -622
  45. package/browser/esm/{DJOOed_OtB-XT7f3.mjs → WgIvwAENeO8LANax.mjs} +6 -6
  46. package/browser/esm/{BjvD_4t2KGsZP5V8.mjs → Yjq3p_7eVGFw2Jod.mjs} +3 -3
  47. package/browser/esm/index.mjs +290 -287
  48. package/browser/esm/{QgaAIDUMmBQBsXP9.mjs → jFRFCWlkD7Dsrhkh.mjs} +84 -84
  49. package/browser/esm/{BYE9gCDWKyx6mnVs.mjs → lKXEDVt2ow1NlWJj.mjs} +114 -103
  50. package/browser/esm/{CEtXsBzEjEKk9GOj.mjs → oC0OwOddhOD0OoCJ.mjs} +2 -2
  51. package/browser/esm/{DsoNMWDwHZP8UXQd.mjs → tIKqpsA0vNXH9EgU.mjs} +1 -1
  52. package/browser/esm/{ClBvNPeNCAhuVWrG.mjs → u84rSnESjxqB6gay.mjs} +1 -1
  53. package/node/esm/{DMXLxp3T0E0SRTQc.mjs → B8Ls4Eh1k8-Yiry_.mjs} +1 -1
  54. package/node/esm/{3WghtBXAvCDwcVrq.mjs → B9X3n8MglL4OitAV.mjs} +1 -1
  55. package/node/esm/{XEDcegsv5AGKBfu2.mjs → BBGoyqs2L_ccSH1e.mjs} +2 -2
  56. package/node/esm/{zITjZ7R4raDqhP-n.mjs → BLv99aovW4R3C5PE.mjs} +3 -3
  57. package/node/esm/{DfCuL8AUxMFoEG2s.mjs → BUGU_5lUtnCRlp3n.mjs} +36 -36
  58. package/node/esm/{BNg4QQY0WAPLE0q7.mjs → BalROFG_oa9PFs9Q.mjs} +3 -3
  59. package/node/esm/{Bph-sR3l6AYWeuxK.mjs → BqVxnA1mo52ubjdf.mjs} +2 -2
  60. package/node/esm/{CZyA9uD4SkTvqp_G.mjs → C3FCh9xju2SccUIE.mjs} +253 -253
  61. package/node/esm/{Do-zCKziWhoG5eAv.mjs → C4F6WY8M4nkLyxdb.mjs} +2 -2
  62. package/node/esm/{CSAnTp5rwId0DUb8.mjs → CKWeipCqqpLnLE5e.mjs} +127 -116
  63. package/node/esm/{DLqBHdFp6wvm6EGs.mjs → CTnVNfz4eqFnM92M.mjs} +1 -1
  64. package/node/esm/{BPzcW4BejRqso338.mjs → Cfi_ly8fBDZZdiZT.mjs} +3 -3
  65. package/node/esm/{Db3dbaYLKUO66T9s.mjs → CgKa6JuyJ1tTodev.mjs} +414 -400
  66. package/node/esm/{4HmLH0bPVJCZLgik.mjs → Cq53M7bAUSXMNq1f.mjs} +1 -1
  67. package/node/esm/{1bf4gn-2vld4BZ9u.mjs → Cr8AYWUoU-XVt0hu.mjs} +1 -1
  68. package/node/esm/CyuOE595I2e-U4cG.mjs +236 -0
  69. package/node/esm/{D-xqQ5qOSd6WrzwJ.mjs → D72CupF9mfy2D1Xa.mjs} +1 -1
  70. package/node/esm/{CyafafEgfmjLqE5O.mjs → DGDHFK8okuVbRCe5.mjs} +1 -1
  71. package/node/esm/{DpJ2gmZJioCyq8La.mjs → DJFkALt4XrwkMbnU.mjs} +166 -160
  72. package/node/esm/{CPq-MIdEnc-53JpF.mjs → DJpwI8PlKBI2rk0r.mjs} +2 -2
  73. package/node/esm/{DWqvf4H5F2wMnZ0L.mjs → DQaGPUYbgL4Y5YZW.mjs} +1 -1
  74. package/node/esm/{CYIoK22I6Yvv12_x.mjs → DsNYnq4NtYBxPmeA.mjs} +1 -1
  75. package/node/esm/{yCUxQuqVuC4DHKPx.mjs → DygDgOpa9sJ6YFVS.mjs} +1 -1
  76. package/node/esm/Dz0Hg87UcJ-awwiI.mjs +489 -0
  77. package/node/esm/{BIMkjQUwG4Ih-6Sh.mjs → M7YxvRPGCuxuk9aK.mjs} +1 -1
  78. package/node/esm/{CWcv7UVXF8IUB0PC.mjs → QNjtpX8rIpqGGLEJ.mjs} +15 -15
  79. package/node/esm/{DdEzhVqYTrGODXrz.mjs → ZzvsynJTCSuChYS-.mjs} +1 -1
  80. package/node/esm/{CjC6s3RUJQNCF7mP.mjs → di_8-pXh90j4BO4j.mjs} +1 -1
  81. package/node/esm/{CvRbu8JPxFarsSR-.mjs → dm8dmEaTIqfmgyeL.mjs} +5 -5
  82. package/node/esm/{CuMePia6i_8yfJ6S.mjs → fmya3XQnTGyQisvT.mjs} +9 -9
  83. package/node/esm/{BR45ogAR-hY2bE60.mjs → gPYAb_A0T5ZwcQ1E.mjs} +1 -1
  84. package/node/esm/index.mjs +2817 -2702
  85. package/node/esm/{DeZJlLk8WJ3BLtLs.mjs → wB8xMpyJ_NvE16yG.mjs} +3 -3
  86. package/node/esm/{BlN7G0DVC24zauig.mjs → zGAcd4Jr7wkvXDBS.mjs} +1 -1
  87. package/package.json +9 -9
  88. package/resources/locales/de/groups.cmd.json +4 -0
  89. package/resources/locales/de/ui.msg.json +3 -1
  90. package/resources/locales/en/groups.cmd.json +4 -0
  91. package/resources/locales/en/ui.msg.json +3 -1
  92. package/types/src/border/BorderPopupButton.d.ts +1 -1
  93. package/types/src/color/ColorPopupButton.d.ts +1 -1
  94. package/types/src/command/AccountingStyleCommandButton.d.ts +1 -1
  95. package/types/src/command/DocThemeCommandButton.d.ts +1 -1
  96. package/types/src/command/FontFamilyCommandButton.d.ts +1 -1
  97. package/types/src/command/FontSizeCommandButton.d.ts +1 -1
  98. package/types/src/command/InsertCellControlCommandButton.d.ts +17 -0
  99. package/types/src/command/LanguageCommandButton.d.ts +1 -1
  100. package/types/src/command/LocaleCommandButton.d.ts +1 -1
  101. package/types/src/command/index.d.ts +1 -0
  102. package/types/src/conditionalFormat/IconPickerPopupButton.d.ts +1 -1
  103. package/types/src/conditions/ConditionEditor.d.ts +1 -1
  104. package/types/src/conditions/OperatorAndParamEditor.d.ts +1 -1
  105. package/types/src/conditions/OperatorSelectPopupButton.d.ts +1 -1
  106. package/types/src/fill/PatternPopupButton.d.ts +1 -1
  107. package/types/src/formulaBar/IFormulaBar.d.ts +4 -2
  108. package/types/src/itemsPanel/ItemsPanel.d.ts +5 -0
  109. package/types/src/named/NamedDetailsPanel.d.ts +2 -2
  110. package/types/src/statusBar/PendingStatus.d.ts +19 -0
  111. package/types/src/statusBar/index.d.ts +1 -0
  112. package/types/src/studio/StudioProps.d.ts +10 -10
  113. package/types/src/template/TemplatePanel.d.ts +5 -1
  114. package/types/src/theme/ThemeSelectPopupButton.d.ts +1 -1
  115. package/types/src/toolbar/WorkbookToolbars.d.ts +1 -1
  116. package/types/src/workbook/DefaultRenderers.d.ts +30 -18
  117. package/types/src/workbook/WorkbookElement.d.ts +5 -4
  118. package/types/src/workbook/WorkbookStrip.d.ts +8 -7
  119. package/types/src/workbook/index.d.ts +1 -1
  120. package/node/esm/B0bdb_6p7fQI_ivo.mjs +0 -236
  121. package/node/esm/DatM6eEYPpAtIMy-.mjs +0 -405
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.11
2
+ * @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.12
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { n as e } from "./DDc6rDuU9JAo1DH_.mjs";
7
+ import { n as e } from "./7fVZXXuonYb6Z7FU.mjs";
8
8
  import { InputField as t } from "./index.mjs";
9
9
  import { useReferenceMode as n } from "@sheetxl/react";
10
10
  import { useCallbackRef as r, useTranslator as i } from "@sheetxl/utils-react";
@@ -12,8 +12,8 @@ import { memo as a, useEffect as o, useId as ee, useMemo as s, useRef as c, useS
12
12
  import { OptionsDialog as te } from "@sheetxl/utils-mui";
13
13
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
14
14
  import { Box as ne, FormControl as p, InputLabel as re, MenuItem as m, Select as ie, TextField as ae } from "@mui/material";
15
- var oe = ["Ok", "Cancel"], h = { paddingTop: (e) => e.spacing(1.5) }, g = "mailto:", _ = (e) => e.length >= 7 && e.substring(0, 7).toLowerCase() === g, v = (e) => {
16
- if (!_(e)) return null;
15
+ var oe = ["Ok", "Cancel"], h = { paddingTop: (e) => e.spacing(1.5) }, g = (e) => e?.isReadOnly() ? null : e, _ = "mailto:", v = (e) => e.length >= 7 && e.substring(0, 7).toLowerCase() === _, y = (e) => {
16
+ if (!v(e)) return null;
17
17
  let t = e.substring(7), n = t.indexOf("?");
18
18
  if (n === -1) return {
19
19
  address: t,
@@ -27,31 +27,31 @@ var oe = ["Ok", "Cancel"], h = { paddingTop: (e) => e.spacing(1.5) }, g = "mailt
27
27
  address: t.substring(0, n),
28
28
  subject: r
29
29
  };
30
- }, y = a((a) => {
31
- let { initialValue: y = null, context: b, onInput: x, onOption: S, onValidateOption: C, onDone: w, options: T = oe, defaultOption: E = T?.[0], cancelOption: D = "Cancel", sx: se, ...ce } = a, O = i(), le = s(() => (y ?? b?.()?.getHyperlink()) !== null, []), k = s(() => {
30
+ }, b = a((a) => {
31
+ let { initialValue: b = null, context: x, onInput: S, onOption: C, onValidateOption: w, onDone: T, options: E = oe, defaultOption: D = E?.[0], cancelOption: O = "Cancel", sx: se, ...ce } = a, k = i(), le = s(() => (b ?? g(x?.()?.getHyperlink())) !== null, []), A = s(() => {
32
32
  let e = null, t = null;
33
- y && (typeof y == "string" ? t = y : e = y);
34
- let n = e ? null : b?.()?.getHyperlink();
33
+ b && (typeof b == "string" ? t = b : e = b);
34
+ let n = e ? null : g(x?.()?.getHyperlink());
35
35
  return {
36
36
  address: t ?? e?.address ?? n?.getAddress() ?? "",
37
37
  textToDisplay: e?.textToDisplay ?? n?.getTextToDisplay() ?? ""
38
38
  };
39
- }, [y, b]), A = k.address.startsWith("#"), j = s(() => v(k.address), [k.address]), [M, N] = l(A ? "document" : j ? "email" : "url"), [P, F] = l(A || j ? "" : k.address), [I, L] = l(j?.address ?? ""), [R, z] = l(j?.subject ?? ""), [B, V] = l(() => A && k.address.substring(1) || null), [H, U] = l(A ? k.address.substring(1) : ""), [W, ue] = l(null), [G, de] = l(() => {
40
- let e = b?.().getText({ useFormattingCategory: !0 }) ?? k.textToDisplay;
41
- return e === k.address || j && e === j.address ? "" : e;
42
- }), [K, q] = l(!1), J = ee(), Y = c(null), X = c(null), Z = r(() => {
43
- Y.current?.querySelector("input.autoFocus")?.focus(), X.current?.engage();
44
- }, []), Q = c(M);
39
+ }, [b, x]), j = A.address.startsWith("#"), M = s(() => y(A.address), [A.address]), [N, ue] = l(j ? "document" : M ? "email" : "url"), [P, F] = l(j || M ? "" : A.address), [I, L] = l(M?.address ?? ""), [R, z] = l(M?.subject ?? ""), [B, V] = l(() => j && A.address.substring(1) || null), [H, de] = l(j ? A.address.substring(1) : ""), [U, fe] = l(null), [W, pe] = l(() => {
40
+ let e = x?.().getText({ useFormattingCategory: !0 }) ?? A.textToDisplay;
41
+ return e === A.address || M && e === M.address ? "" : e;
42
+ }), [G, K] = l(!1), q = ee(), J = c(null), Y = c(null), X = r(() => {
43
+ J.current?.querySelector("input.autoFocus")?.focus(), Y.current?.engage();
44
+ }, []), Z = c(N);
45
45
  o(() => {
46
- Q.current !== M && (Q.current = M, Z());
47
- }, [M]);
48
- let fe = s(() => {
49
- let e = b?.()?.getWorksheet()?.getName();
46
+ Z.current !== N && (Z.current = N, X());
47
+ }, [N]);
48
+ let me = s(() => {
49
+ let e = x?.()?.getWorksheet()?.getName();
50
50
  return e ? { scope: e } : void 0;
51
- }, [b]), pe = n().getMode()?.mode === "point", me = r((e) => {
52
- de(e.target.value);
53
- }, []), $ = r(() => {
54
- if (M === "document") {
51
+ }, [x]), he = n().getMode()?.mode === "point", ge = r((e) => {
52
+ pe(e.target.value);
53
+ }, []), Q = r(() => {
54
+ if (N === "document") {
55
55
  if (typeof B == "string") {
56
56
  let e = B.trim();
57
57
  return e ? `#${e}` : null;
@@ -59,59 +59,59 @@ var oe = ["Ok", "Cancel"], h = { paddingTop: (e) => e.spacing(1.5) }, g = "mailt
59
59
  let e = B?.getReferences()?.getAddress();
60
60
  return e ? `#${e}` : null;
61
61
  }
62
- return M === "email" ? ((e, t) => {
62
+ return N === "email" ? ((e, t) => {
63
63
  let n = e.trim();
64
- if (_(n) && (n = n.substring(7)), !n) return null;
64
+ if (v(n) && (n = n.substring(7)), !n) return null;
65
65
  let r = t.trim();
66
- return `${g}${n}${r ? `?subject=${encodeURIComponent(r)}` : ""}`;
66
+ return `${_}${n}${r ? `?subject=${encodeURIComponent(r)}` : ""}`;
67
67
  })(I, R) : P === "" ? null : P;
68
68
  }, [
69
- M,
69
+ N,
70
70
  B,
71
71
  P,
72
72
  I,
73
73
  R
74
- ]), he = r(async (e) => {
75
- let t = e === D;
74
+ ]), $ = r(async (e) => {
75
+ let t = e === O;
76
76
  if (!t) {
77
- let e = $(), t = e;
78
- e?.startsWith("#") ? t = e.substring(1) : M === "email" && e && (t = v(e)?.address ?? e), x?.({
77
+ let e = Q(), t = e;
78
+ e?.startsWith("#") ? t = e.substring(1) : N === "email" && e && (t = y(e)?.address ?? e), S?.({
79
79
  address: e,
80
- textToDisplay: (G === "" ? t : G) ?? null
80
+ textToDisplay: (W === "" ? t : W) ?? null
81
81
  });
82
82
  }
83
- S?.(e, t, e === E), w?.();
83
+ C?.(e, t, e === D), T?.();
84
84
  }, [
85
- $,
86
- M,
87
- G,
88
- x,
89
- w,
85
+ Q,
86
+ N,
87
+ W,
90
88
  S,
91
- E,
92
- D
93
- ]), ge = r(async (e) => !1 !== await Promise.resolve(C?.(e)) && (M !== "document" || !W), [
89
+ T,
94
90
  C,
95
- M,
96
- W
97
- ]), _e = M === "document" ? H : M === "email" ? I : P;
91
+ D,
92
+ O
93
+ ]), _e = r(async (e) => !1 !== await Promise.resolve(w?.(e)) && (N !== "document" || !U), [
94
+ w,
95
+ N,
96
+ U
97
+ ]), ve = N === "document" ? H : N === "email" ? I : P;
98
98
  return d(te, {
99
- title: O(le ? "hyperlink.titleEdit" : "hyperlink.titleInsert"),
100
- options: T,
101
- onDone: w,
102
- onOption: (e) => he(e),
103
- onValidateOption: ge,
104
- defaultOption: E,
105
- cancelOption: D,
99
+ title: k(le ? "hyperlink.titleEdit" : "hyperlink.titleInsert"),
100
+ options: E,
101
+ onDone: T,
102
+ onOption: (e) => $(e),
103
+ onValidateOption: _e,
104
+ defaultOption: D,
105
+ cancelOption: O,
106
106
  autoFocusSel: ".autoFocus",
107
- suspendModal: pe,
107
+ suspendModal: he,
108
108
  sx: {
109
109
  width: "480px",
110
110
  ...se
111
111
  },
112
112
  ...ce,
113
113
  children: f(ne, {
114
- ref: Y,
114
+ ref: J,
115
115
  sx: {
116
116
  paddingTop: (e) => e.spacing(1),
117
117
  paddingBottom: (e) => e.spacing(0),
@@ -127,74 +127,74 @@ var oe = ["Ok", "Cancel"], h = { paddingTop: (e) => e.spacing(1.5) }, g = "mailt
127
127
  },
128
128
  size: "small",
129
129
  children: [d(re, {
130
- id: J,
131
- children: O("hyperlink.linkTo")
130
+ id: q,
131
+ children: k("hyperlink.linkTo")
132
132
  }), f(ie, {
133
- labelId: J,
134
- value: M,
135
- label: O("hyperlink.linkTo"),
133
+ labelId: q,
134
+ value: N,
135
+ label: k("hyperlink.linkTo"),
136
136
  MenuProps: {
137
137
  disableRestoreFocus: !0,
138
- slotProps: { transition: { onExited: Z } },
138
+ slotProps: { transition: { onExited: X } },
139
139
  container: () => document.fullscreenElement
140
140
  },
141
141
  onChange: (e) => {
142
- N(e.target.value);
142
+ ue(e.target.value);
143
143
  },
144
144
  children: [
145
145
  d(m, {
146
146
  value: "url",
147
- children: O("hyperlink.typeWebPage")
147
+ children: k("hyperlink.typeWebPage")
148
148
  }),
149
149
  d(m, {
150
150
  value: "document",
151
- children: O("hyperlink.typeInDocument")
151
+ children: k("hyperlink.typeInDocument")
152
152
  }),
153
153
  d(m, {
154
154
  value: "email",
155
- children: O("hyperlink.typeEmail")
155
+ children: k("hyperlink.typeEmail")
156
156
  })
157
157
  ]
158
158
  })]
159
159
  }),
160
- M === "email" ? f(u, { children: [d(t, {
160
+ N === "email" ? f(u, { children: [d(t, {
161
161
  sx: h,
162
- label: O("hyperlink.emailAddress"),
163
- defaultInput: O("hyperlink.emailPlaceholder"),
162
+ label: k("hyperlink.emailAddress"),
163
+ defaultInput: k("hyperlink.emailPlaceholder"),
164
164
  value: I,
165
165
  onChangeInput: (e) => L(e),
166
166
  onFocus: (e) => {
167
- K || e.target?.select?.(), q(!0);
167
+ G || e.target?.select?.(), K(!0);
168
168
  }
169
169
  }), d(t, {
170
- label: O("hyperlink.subject"),
170
+ label: k("hyperlink.subject"),
171
171
  defaultInput: "",
172
172
  value: R,
173
173
  onChangeInput: (e) => z(e),
174
- onFocus: () => q(!0)
175
- })] }) : M === "document" ? d(e, {
174
+ onFocus: () => K(!0)
175
+ })] }) : N === "document" ? d(e, {
176
176
  sx: h,
177
177
  grammar: "reference",
178
- apiRef: X,
178
+ apiRef: Y,
179
179
  classNameInput: "autoFocus",
180
- label: O("hyperlink.reference"),
180
+ label: k("hyperlink.reference"),
181
181
  value: B,
182
182
  allowMulti: !1,
183
- home: fe,
183
+ home: me,
184
184
  onChangeInput: (e) => V(e),
185
- onChangeText: (e) => U(e),
186
- onChangeError: (e) => ue(e),
185
+ onChangeText: (e) => de(e),
186
+ onChangeError: (e) => fe(e),
187
187
  onFocus: (e) => {
188
- K || e.target?.select?.(), q(!0);
188
+ G || e.target?.select?.(), K(!0);
189
189
  }
190
190
  }) : d(t, {
191
191
  sx: h,
192
- label: O("hyperlink.address"),
193
- defaultInput: O("hyperlink.addressPlaceholder"),
192
+ label: k("hyperlink.address"),
193
+ defaultInput: k("hyperlink.addressPlaceholder"),
194
194
  value: P,
195
195
  onChangeInput: (e) => F(e),
196
196
  onFocus: (e) => {
197
- K || e.target?.select?.(), q(!0);
197
+ G || e.target?.select?.(), K(!0);
198
198
  }
199
199
  }),
200
200
  d(p, {
@@ -205,10 +205,10 @@ var oe = ["Ok", "Cancel"], h = { paddingTop: (e) => e.spacing(1.5) }, g = "mailt
205
205
  },
206
206
  size: "small",
207
207
  children: d(ae, {
208
- label: O("hyperlink.displayText"),
209
- placeholder: _e,
208
+ label: k("hyperlink.displayText"),
209
+ placeholder: ve,
210
210
  onFocus: () => {
211
- q(!0);
211
+ K(!0);
212
212
  },
213
213
  sx: { "& .MuiFormHelperText-root": { marginTop: (e) => e.spacing(.5) } },
214
214
  slotProps: {
@@ -222,8 +222,8 @@ var oe = ["Ok", "Cancel"], h = { paddingTop: (e) => e.spacing(1.5) }, g = "mailt
222
222
  }
223
223
  }
224
224
  },
225
- value: G,
226
- onChange: me,
225
+ value: W,
226
+ onChange: ge,
227
227
  onContextMenu: (e) => {
228
228
  e.stopPropagation();
229
229
  }
@@ -233,4 +233,4 @@ var oe = ["Ok", "Cancel"], h = { paddingTop: (e) => e.spacing(1.5) }, g = "mailt
233
233
  })
234
234
  });
235
235
  });
236
- export { y as HyperlinkDialog, y as default };
236
+ export { b as HyperlinkDialog, b as default };