@team-monolith/cds 1.129.2-alpha.2 → 1.129.3-alpha

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 (128) hide show
  1. package/dist/CdsProvider.js +180 -180
  2. package/dist/components/AlertDialog/AlertDialogTitle.js +15 -15
  3. package/dist/components/Banner.js +28 -28
  4. package/dist/components/FileTypeAlertDialog.js +16 -16
  5. package/dist/components/Pagination.js +22 -22
  6. package/dist/emotion.d.ts +185 -0
  7. package/dist/i18n/i18n.js +14 -14
  8. package/dist/index.d.ts +8 -1
  9. package/dist/node_modules/.pnpm/html-parse-stringify@3.0.1/node_modules/html-parse-stringify/dist/html-parse-stringify.module.js +78 -0
  10. package/dist/node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/I18nextProvider.js +12 -0
  11. package/dist/node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/Trans.js +26 -0
  12. package/dist/node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/TransWithoutContext.js +174 -0
  13. package/dist/node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/context.js +20 -0
  14. package/dist/node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/defaults.js +24 -0
  15. package/dist/node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/i18nInstance.js +6 -0
  16. package/dist/node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/initReactI18next.js +11 -0
  17. package/dist/node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/unescape.js +25 -0
  18. package/dist/node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/useTranslation.js +69 -0
  19. package/dist/node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/utils.js +35 -0
  20. package/dist/patterns/LexicalEditor/Plugins.js +64 -64
  21. package/dist/patterns/LexicalEditor/components/FileSelectInput.js +19 -19
  22. package/dist/patterns/LexicalEditor/components/InsertImageDialog/ImagePreview.js +6 -6
  23. package/dist/patterns/LexicalEditor/components/InsertImageDialog/InsertImageDialog.js +34 -34
  24. package/dist/patterns/LexicalEditor/components/UploadFileDialog/UploadFileDialog.js +14 -14
  25. package/dist/patterns/LexicalEditor/nodes/FileNode/FileDownloadButton.js +17 -17
  26. package/dist/patterns/LexicalEditor/nodes/ImageNode/ImageComponent.js +62 -62
  27. package/dist/patterns/LexicalEditor/nodes/ProblemInputNode/InputComponent.js +25 -25
  28. package/dist/patterns/LexicalEditor/nodes/ProblemInputNode/SettingForm/FormPlaceholder.js +7 -7
  29. package/dist/patterns/LexicalEditor/nodes/ProblemInputNode/SettingForm/FormSolution.js +24 -23
  30. package/dist/patterns/LexicalEditor/nodes/ProblemInputNode/SettingForm/SettingForm.js +48 -47
  31. package/dist/patterns/LexicalEditor/nodes/ProblemInputNode/SettingForm/TextTypeDropdown.js +11 -11
  32. package/dist/patterns/LexicalEditor/nodes/ProblemSelectNode/SelectBox/SelectBoxView.js +15 -15
  33. package/dist/patterns/LexicalEditor/nodes/ProblemSelectNode/SelectComponent.js +28 -28
  34. package/dist/patterns/LexicalEditor/nodes/ProblemSelectNode/SettingForm/FormSelection.js +30 -30
  35. package/dist/patterns/LexicalEditor/nodes/ProblemSelectNode/SettingForm/SettingForm.js +35 -35
  36. package/dist/patterns/LexicalEditor/nodes/SelfEvaluationNode/EvaluationComponent/Evaluation/SettingForm/FormIconAndLabel/FormIconAndLabel.js +21 -21
  37. package/dist/patterns/LexicalEditor/nodes/SelfEvaluationNode/EvaluationComponent/Evaluation/SettingForm/FormIconAndLabel/FormLabel.js +15 -15
  38. package/dist/patterns/LexicalEditor/nodes/SelfEvaluationNode/EvaluationComponent/Evaluation/SettingForm/FormQuestion.js +17 -17
  39. package/dist/patterns/LexicalEditor/nodes/SelfEvaluationNode/EvaluationComponent/Evaluation/SettingForm/SettingForm.js +30 -30
  40. package/dist/patterns/LexicalEditor/nodes/SelfEvaluationNode/EvaluationComponent/EvaluationComponent.js +20 -20
  41. package/dist/patterns/LexicalEditor/nodes/SheetInputNode/InputComponent.js +24 -24
  42. package/dist/patterns/LexicalEditor/nodes/SheetInputNode/SettingForm.js +28 -28
  43. package/dist/patterns/LexicalEditor/nodes/SheetSelectNode/SelectComponent/SelectBox/SelectBoxView.js +11 -11
  44. package/dist/patterns/LexicalEditor/nodes/SheetSelectNode/SelectComponent/SelectComponent.js +26 -26
  45. package/dist/patterns/LexicalEditor/nodes/SheetSelectNode/SelectComponent/SettingForm/FormAllowMultipleAnswers.js +8 -8
  46. package/dist/patterns/LexicalEditor/nodes/SheetSelectNode/SelectComponent/SettingForm/FormSelection.js +27 -27
  47. package/dist/patterns/LexicalEditor/nodes/SheetSelectNode/SelectComponent/SettingForm/SettingForm.js +33 -33
  48. package/dist/patterns/LexicalEditor/nodes/VideoNode/VideoComponent.js +21 -21
  49. package/dist/patterns/LexicalEditor/plugins/ComponentAdderPlugin/ComponentAdderPlugin.js +99 -99
  50. package/dist/patterns/LexicalEditor/plugins/ComponentAdderPlugin/useContextMenuOptions.js +50 -50
  51. package/dist/patterns/LexicalEditor/plugins/ComponentPickerMenuPlugin/ComponentPickerMenuPlugin.js +85 -85
  52. package/dist/patterns/LexicalEditor/plugins/DragDropPastePlugin/index.js +13 -13
  53. package/dist/patterns/LexicalEditor/plugins/FloatingLinkEditorPlugin/FloatingLinkEditor.js +48 -48
  54. package/dist/patterns/LexicalEditor/plugins/ImagesPlugin/useImageNodeTransform.js +16 -16
  55. package/dist/patterns/ToggleButtonGroup/ToggleButton.js +17 -17
  56. package/package.json +15 -18
  57. package/@types/emotion.d.ts +0 -197
  58. package/node_modules/react-i18next/.eslintrc.json +0 -74
  59. package/node_modules/react-i18next/.husky/pre-commit +0 -1
  60. package/node_modules/react-i18next/.prettierignore +0 -4
  61. package/node_modules/react-i18next/CHANGELOG.md +0 -1433
  62. package/node_modules/react-i18next/LICENSE +0 -22
  63. package/node_modules/react-i18next/README.md +0 -181
  64. package/node_modules/react-i18next/TransWithoutContext.d.mts +0 -1
  65. package/node_modules/react-i18next/TransWithoutContext.d.ts +0 -129
  66. package/node_modules/react-i18next/dist/amd/react-i18next.js +0 -867
  67. package/node_modules/react-i18next/dist/amd/react-i18next.min.js +0 -1
  68. package/node_modules/react-i18next/dist/commonjs/I18nextProvider.js +0 -21
  69. package/node_modules/react-i18next/dist/commonjs/Trans.js +0 -54
  70. package/node_modules/react-i18next/dist/commonjs/TransWithoutContext.js +0 -330
  71. package/node_modules/react-i18next/dist/commonjs/Translation.js +0 -19
  72. package/node_modules/react-i18next/dist/commonjs/context.js +0 -81
  73. package/node_modules/react-i18next/dist/commonjs/defaults.js +0 -26
  74. package/node_modules/react-i18next/dist/commonjs/i18nInstance.js +0 -13
  75. package/node_modules/react-i18next/dist/commonjs/index.js +0 -128
  76. package/node_modules/react-i18next/dist/commonjs/initReactI18next.js +0 -15
  77. package/node_modules/react-i18next/dist/commonjs/unescape.js +0 -32
  78. package/node_modules/react-i18next/dist/commonjs/useSSR.js +0 -34
  79. package/node_modules/react-i18next/dist/commonjs/useTranslation.js +0 -114
  80. package/node_modules/react-i18next/dist/commonjs/utils.js +0 -76
  81. package/node_modules/react-i18next/dist/commonjs/withSSR.js +0 -27
  82. package/node_modules/react-i18next/dist/commonjs/withTranslation.js +0 -39
  83. package/node_modules/react-i18next/dist/es/I18nextProvider.js +0 -15
  84. package/node_modules/react-i18next/dist/es/Trans.js +0 -43
  85. package/node_modules/react-i18next/dist/es/TransWithoutContext.js +0 -321
  86. package/node_modules/react-i18next/dist/es/Translation.js +0 -12
  87. package/node_modules/react-i18next/dist/es/context.js +0 -42
  88. package/node_modules/react-i18next/dist/es/defaults.js +0 -18
  89. package/node_modules/react-i18next/dist/es/i18nInstance.js +0 -5
  90. package/node_modules/react-i18next/dist/es/index.js +0 -18
  91. package/node_modules/react-i18next/dist/es/initReactI18next.js +0 -9
  92. package/node_modules/react-i18next/dist/es/package.json +0 -1
  93. package/node_modules/react-i18next/dist/es/unescape.js +0 -25
  94. package/node_modules/react-i18next/dist/es/useSSR.js +0 -27
  95. package/node_modules/react-i18next/dist/es/useTranslation.js +0 -107
  96. package/node_modules/react-i18next/dist/es/utils.js +0 -62
  97. package/node_modules/react-i18next/dist/es/withSSR.js +0 -20
  98. package/node_modules/react-i18next/dist/es/withTranslation.js +0 -32
  99. package/node_modules/react-i18next/dist/umd/react-i18next.js +0 -871
  100. package/node_modules/react-i18next/dist/umd/react-i18next.min.js +0 -1
  101. package/node_modules/react-i18next/helpers.d.ts +0 -3
  102. package/node_modules/react-i18next/icu.macro.d.mts +0 -1
  103. package/node_modules/react-i18next/icu.macro.d.ts +0 -103
  104. package/node_modules/react-i18next/icu.macro.js +0 -729
  105. package/node_modules/react-i18next/index.d.mts +0 -1
  106. package/node_modules/react-i18next/index.d.ts +0 -209
  107. package/node_modules/react-i18next/initReactI18next.d.mts +0 -1
  108. package/node_modules/react-i18next/initReactI18next.d.ts +0 -3
  109. package/node_modules/react-i18next/lint-staged.config.mjs +0 -4
  110. package/node_modules/react-i18next/package.json +0 -167
  111. package/node_modules/react-i18next/react-i18next.js +0 -871
  112. package/node_modules/react-i18next/react-i18next.min.js +0 -1
  113. package/node_modules/react-i18next/src/I18nextProvider.js +0 -7
  114. package/node_modules/react-i18next/src/Trans.js +0 -45
  115. package/node_modules/react-i18next/src/TransWithoutContext.js +0 -479
  116. package/node_modules/react-i18next/src/Translation.js +0 -14
  117. package/node_modules/react-i18next/src/context.js +0 -54
  118. package/node_modules/react-i18next/src/defaults.js +0 -20
  119. package/node_modules/react-i18next/src/i18nInstance.js +0 -7
  120. package/node_modules/react-i18next/src/index.js +0 -22
  121. package/node_modules/react-i18next/src/initReactI18next.js +0 -11
  122. package/node_modules/react-i18next/src/unescape.js +0 -31
  123. package/node_modules/react-i18next/src/useSSR.js +0 -33
  124. package/node_modules/react-i18next/src/useTranslation.js +0 -171
  125. package/node_modules/react-i18next/src/utils.js +0 -93
  126. package/node_modules/react-i18next/src/withSSR.js +0 -21
  127. package/node_modules/react-i18next/src/withTranslation.js +0 -35
  128. package/node_modules/react-i18next/vitest.workspace.typescript.mts +0 -52
@@ -1,17 +1,17 @@
1
- import { useState as e } from "react";
2
- import t from "@emotion/styled";
3
- import { useTranslation as n } from "react-i18next";
1
+ import { useTranslation as e } from "../../../../node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/useTranslation.js";
2
+ import { useState as t } from "react";
3
+ import n from "@emotion/styled";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  //#region src/cds/patterns/LexicalEditor/components/InsertImageDialog/ImagePreview.tsx
6
- function a(t) {
7
- let { src: a, alt: s, fallback: c } = t, [l, u] = e(null), { t: d } = n();
6
+ function a(n) {
7
+ let { src: a, alt: s, fallback: c } = n, [l, u] = t(null), { t: d } = e();
8
8
  return /* @__PURE__ */ i(o, { children: [d("이미지 미리보기"), l === a ? c : /* @__PURE__ */ r("img", {
9
9
  src: a,
10
10
  alt: s,
11
11
  onError: () => u(a)
12
12
  })] });
13
13
  }
14
- var o = t.div`
14
+ var o = n.div`
15
15
  display: flex;
16
16
  flex-direction: column;
17
17
  gap: 8px;
@@ -1,32 +1,32 @@
1
1
  import { AlertDialog as e } from "../../../../components/AlertDialog/AlertDialog.js";
2
2
  import { stdin_default as t } from "../../../../node_modules/.pnpm/remixicon@4.3.0/node_modules/remixicon/icons/Editor/link.js";
3
3
  import { stdin_default as n } from "../../../../node_modules/.pnpm/remixicon@4.3.0/node_modules/remixicon/icons/Media/image-fill.js";
4
- import { AlertDialogTitle as r } from "../../../../components/AlertDialog/AlertDialogTitle.js";
5
- import { AlertDialogContent as i } from "../../../../components/AlertDialog/AlertDialogContent.js";
6
- import { AlertDialogActions as a } from "../../../../components/AlertDialog/AlertDialogActions.js";
7
- import { Button as o } from "../../../../components/Button.js";
8
- import { FileSelectInput as s } from "../FileSelectInput.js";
9
- import { FormInput as c } from "../../nodes/Form/FormInput.js";
10
- import { ImagePreview as l } from "./ImagePreview.js";
11
- import { ImageNotAvailable as u } from "../../nodes/ImageNode/ImageNotAvailable.js";
12
- import { css as d, useTheme as f } from "@emotion/react";
13
- import { useEffect as p, useMemo as m, useState as h } from "react";
14
- import g from "@emotion/styled";
15
- import { jsx as _, jsxs as v } from "@emotion/react/jsx-runtime";
16
- import { useTranslation as y } from "react-i18next";
4
+ import { useTranslation as r } from "../../../../node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/useTranslation.js";
5
+ import { AlertDialogTitle as i } from "../../../../components/AlertDialog/AlertDialogTitle.js";
6
+ import { AlertDialogContent as a } from "../../../../components/AlertDialog/AlertDialogContent.js";
7
+ import { AlertDialogActions as o } from "../../../../components/AlertDialog/AlertDialogActions.js";
8
+ import { Button as s } from "../../../../components/Button.js";
9
+ import { FileSelectInput as c } from "../FileSelectInput.js";
10
+ import { FormInput as l } from "../../nodes/Form/FormInput.js";
11
+ import { ImagePreview as u } from "./ImagePreview.js";
12
+ import { ImageNotAvailable as d } from "../../nodes/ImageNode/ImageNotAvailable.js";
13
+ import { css as f, useTheme as p } from "@emotion/react";
14
+ import { useEffect as m, useMemo as h, useState as g } from "react";
15
+ import _ from "@emotion/styled";
16
+ import { jsx as v, jsxs as y } from "@emotion/react/jsx-runtime";
17
17
  import { useForm as b } from "react-hook-form";
18
18
  import { debounce as x } from "lodash";
19
19
  //#region src/cds/patterns/LexicalEditor/components/InsertImageDialog/InsertImageDialog.tsx
20
20
  function S(e) {
21
- let { title: r, open: d, onClose: g, imageProps: S, onChange: E, onDelete: D, shouldReset: O } = e, k = f(), { t: A } = y(), { control: j, setValue: M, watch: N, reset: P, handleSubmit: F, subscribe: I } = b({ defaultValues: S ?? {
21
+ let { title: i, open: f, onClose: _, imageProps: S, onChange: E, onDelete: D, shouldReset: O } = e, k = p(), { t: A } = r(), { control: j, setValue: M, watch: N, reset: P, handleSubmit: F, subscribe: I } = b({ defaultValues: S ?? {
22
22
  src: "",
23
23
  altText: ""
24
24
  } }), L = () => {
25
- O && P(), g();
25
+ O && P(), _();
26
26
  }, R = (e) => {
27
27
  E(e), L();
28
- }, [z, B] = h(N("src")), V = N("src") === "", H = m(() => x((e) => B(e), 500), []);
29
- return p(() => {
28
+ }, [z, B] = g(N("src")), V = N("src") === "", H = h(() => x((e) => B(e), 500), []);
29
+ return m(() => {
30
30
  let e = I({
31
31
  name: "src",
32
32
  formState: { values: !0 },
@@ -35,42 +35,42 @@ function S(e) {
35
35
  }
36
36
  });
37
37
  return () => e();
38
- }, [H, I]), /* @__PURE__ */ v(C, {
38
+ }, [H, I]), /* @__PURE__ */ y(C, {
39
39
  component: "form",
40
- icon: /* @__PURE__ */ _(n, { color: k.color.background.primary }),
41
- open: d,
40
+ icon: /* @__PURE__ */ v(n, { color: k.color.background.primary }),
41
+ open: f,
42
42
  onClose: L,
43
43
  onSubmit: (e) => {
44
44
  e.stopPropagation(), F(R)();
45
45
  },
46
46
  disableIconPadding: !0,
47
47
  children: [
48
- /* @__PURE__ */ _(w, {
48
+ /* @__PURE__ */ v(w, {
49
49
  onClose: L,
50
- children: r
50
+ children: i
51
51
  }),
52
- /* @__PURE__ */ _(i, { children: /* @__PURE__ */ v(T, { children: [
53
- /* @__PURE__ */ _(s, {
52
+ /* @__PURE__ */ v(a, { children: /* @__PURE__ */ y(T, { children: [
53
+ /* @__PURE__ */ v(c, {
54
54
  onChange: (e) => {
55
55
  M("src", e);
56
56
  },
57
57
  fileType: "image"
58
58
  }),
59
- /* @__PURE__ */ _(c, {
59
+ /* @__PURE__ */ v(l, {
60
60
  name: "src",
61
61
  control: j,
62
62
  placeholder: "https://www.pexels.com/photo/n-2848492",
63
63
  size: "medium",
64
64
  label: "URL",
65
65
  fullWidth: !0,
66
- startIcon: /* @__PURE__ */ _(t, {})
66
+ startIcon: /* @__PURE__ */ v(t, {})
67
67
  }),
68
- z && /* @__PURE__ */ _(l, {
68
+ z && /* @__PURE__ */ v(u, {
69
69
  src: z,
70
70
  alt: N("altText"),
71
- fallback: /* @__PURE__ */ _(u, {})
71
+ fallback: /* @__PURE__ */ v(d, {})
72
72
  }),
73
- /* @__PURE__ */ _(c, {
73
+ /* @__PURE__ */ v(l, {
74
74
  name: "altText",
75
75
  control: j,
76
76
  placeholder: A("삽입하는 이미지에 관한 설명"),
@@ -79,14 +79,14 @@ function S(e) {
79
79
  fullWidth: !0
80
80
  })
81
81
  ] }) }),
82
- /* @__PURE__ */ v(a, { children: [/* @__PURE__ */ _(o, {
82
+ /* @__PURE__ */ y(o, { children: [/* @__PURE__ */ v(s, {
83
83
  type: "submit",
84
84
  fullWidth: !0,
85
85
  label: A("삽입하기"),
86
86
  size: "medium",
87
87
  color: "primary",
88
88
  disabled: V
89
- }), D && /* @__PURE__ */ _(o, {
89
+ }), D && /* @__PURE__ */ v(s, {
90
90
  color: "danger",
91
91
  size: "medium",
92
92
  fullWidth: !0,
@@ -96,9 +96,9 @@ function S(e) {
96
96
  ]
97
97
  });
98
98
  }
99
- var C = g(e)`
99
+ var C = _(e)`
100
100
  gap: 16px;
101
- `, w = g(r)(({ theme: e }) => d`
101
+ `, w = _(i)(({ theme: e }) => f`
102
102
  color: ${e.color.foreground.neutralBase};
103
103
  text-align: center;
104
104
  font-family: ${e.fontFamily.ui};
@@ -107,7 +107,7 @@ var C = g(e)`
107
107
  font-weight: 700;
108
108
  line-height: 28px;
109
109
  letter-spacing: 0.25px;
110
- `), T = g.div`
110
+ `), T = _.div`
111
111
  display: flex;
112
112
  flex-direction: column;
113
113
  gap: 16px;
@@ -1,27 +1,27 @@
1
- import { CdsContext as e } from "../../../../CdsProvider.js";
2
- import { getTexts as t } from "../../../../texts.js";
3
- import { useContext as n, useEffect as r, useRef as i } from "react";
4
- import a from "@emotion/styled";
5
- import { jsx as o } from "@emotion/react/jsx-runtime";
6
- import { useTranslation as s } from "react-i18next";
1
+ import { useTranslation as e } from "../../../../node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/useTranslation.js";
2
+ import { CdsContext as t } from "../../../../CdsProvider.js";
3
+ import { getTexts as n } from "../../../../texts.js";
4
+ import { useContext as r, useEffect as i, useRef as a } from "react";
5
+ import o from "@emotion/styled";
6
+ import { jsx as s } from "@emotion/react/jsx-runtime";
7
7
  import c from "moment";
8
8
  //#region src/cds/patterns/LexicalEditor/components/UploadFileDialog/UploadFileDialog.tsx
9
- function l({ open: a, onClose: l, onChange: d }) {
10
- let f = i(null), p = n(e), { t: m } = s();
11
- return r(() => {
12
- a && f.current && (f.current.value = "", f.current.click());
13
- }, [a]), /* @__PURE__ */ o(u, {
9
+ function l({ open: o, onClose: l, onChange: d }) {
10
+ let f = a(null), p = r(t), { t: m } = e();
11
+ return i(() => {
12
+ o && f.current && (f.current.value = "", f.current.click());
13
+ }, [o]), /* @__PURE__ */ s(u, {
14
14
  ref: f,
15
15
  type: "file",
16
16
  accept: "*",
17
17
  onChange: async (e) => {
18
- let n = p.lexical?.showFileError, r = e.target.files?.[0];
18
+ let t = p.lexical?.showFileError, r = e.target.files?.[0];
19
19
  if (!r) {
20
20
  l();
21
21
  return;
22
22
  }
23
23
  if (r.size >= 1 * 1024 * 1024 * 1024) {
24
- n?.("upload", t(m, "errorFileTooLarge")), e.target.value = "", l();
24
+ t?.("upload", n(m, "errorFileTooLarge")), e.target.value = "", l();
25
25
  return;
26
26
  }
27
27
  let i = p.lexical?.uploadByFile;
@@ -34,7 +34,7 @@ function l({ open: a, onClose: l, onChange: d }) {
34
34
  }
35
35
  });
36
36
  }
37
- var u = a.input`
37
+ var u = o.input`
38
38
  display: none;
39
39
  `;
40
40
  //#endregion
@@ -1,24 +1,24 @@
1
1
  import { HOVER as e } from "../../../../utils/hover.js";
2
- import { OverflowTooltip as t } from "../../../../components/OverflowTooltip.js";
3
- import { CdsContext as n } from "../../../../CdsProvider.js";
4
- import { FileSize as r, IconContainer as i, getFileIcon as a } from "./FileComponent.js";
5
- import { css as o, useTheme as s } from "@emotion/react";
6
- import { useContext as c } from "react";
7
- import l from "@emotion/styled";
8
- import { useTranslation as u } from "react-i18next";
2
+ import { useTranslation as t } from "../../../../node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/useTranslation.js";
3
+ import { OverflowTooltip as n } from "../../../../components/OverflowTooltip.js";
4
+ import { CdsContext as r } from "../../../../CdsProvider.js";
5
+ import { FileSize as i, IconContainer as a, getFileIcon as o } from "./FileComponent.js";
6
+ import { css as s, useTheme as c } from "@emotion/react";
7
+ import { useContext as l } from "react";
8
+ import u from "@emotion/styled";
9
9
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
10
10
  //#region src/cds/patterns/LexicalEditor/nodes/FileNode/FileDownloadButton.tsx
11
- function p({ fileName: e, fileSize: o, fileUrl: l }) {
12
- let p = c(n), g = s(), { t: _ } = u();
11
+ function p({ fileName: e, fileSize: s, fileUrl: u }) {
12
+ let p = l(r), g = c(), { t: _ } = t();
13
13
  return /* @__PURE__ */ f(m, {
14
14
  onClick: async () => {
15
15
  let t = p.lexical?.showFileError;
16
16
  try {
17
- if (!l) {
17
+ if (!u) {
18
18
  t?.("download", _("다운로드 중 오류가 발생했어요"));
19
19
  return;
20
20
  }
21
- let n = await fetch(l, { method: "GET" });
21
+ let n = await fetch(u, { method: "GET" });
22
22
  if (!n.ok) {
23
23
  t?.("download", _("파일이 삭제되어 다운로드할 수 없어요."));
24
24
  return;
@@ -31,13 +31,13 @@ function p({ fileName: e, fileSize: o, fileUrl: l }) {
31
31
  },
32
32
  theme: g,
33
33
  children: [
34
- /* @__PURE__ */ d(i, { children: a(e) }),
35
- /* @__PURE__ */ d(h, { children: /* @__PURE__ */ d(t, { text: e }) }),
36
- /* @__PURE__ */ f(r, { children: [(o / (1024 * 1024)).toFixed(1), " MB"] })
34
+ /* @__PURE__ */ d(a, { children: o(e) }),
35
+ /* @__PURE__ */ d(h, { children: /* @__PURE__ */ d(n, { text: e }) }),
36
+ /* @__PURE__ */ f(i, { children: [(s / (1024 * 1024)).toFixed(1), " MB"] })
37
37
  ]
38
38
  });
39
39
  }
40
- var m = l.button(({ theme: t }) => o`
40
+ var m = u.button(({ theme: t }) => s`
41
41
  display: flex;
42
42
  align-items: center;
43
43
  gap: 8px;
@@ -56,11 +56,11 @@ var m = l.button(({ theme: t }) => o`
56
56
  text-align: left;
57
57
  overflow: hidden;
58
58
 
59
- ${e(o`
59
+ ${e(s`
60
60
  background: ${t.color.background.neutralAltActive};
61
61
  color: ${t.color.foreground.neutralBaseActive};
62
62
  `)}
63
- `), h = l.div`
63
+ `), h = u.div`
64
64
  max-width: 152px;
65
65
  `;
66
66
  //#endregion
@@ -1,38 +1,38 @@
1
1
  import { SquareButton as e } from "../../../../components/SquareButton.js";
2
2
  import { stdin_default as t } from "../../../../node_modules/.pnpm/remixicon@4.3.0/node_modules/remixicon/icons/System/settings-3-fill.js";
3
- import { RESET_BUTTON as n } from "../../../../utils/reset.js";
4
- import { VISUALLY_HIDDEN as r } from "../../../../utils/visuallyHidden.js";
5
- import { $isImageNode as i } from "./ImageNode.js";
6
- import { ImageNotAvailable as a } from "./ImageNotAvailable.js";
7
- import { InsertImageDialog as o } from "../../components/InsertImageDialog/InsertImageDialog.js";
8
- import { ImageResizer as s } from "./ImageResizer.js";
3
+ import { useTranslation as n } from "../../../../node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/useTranslation.js";
4
+ import { RESET_BUTTON as r } from "../../../../utils/reset.js";
5
+ import { VISUALLY_HIDDEN as i } from "../../../../utils/visuallyHidden.js";
6
+ import { $isImageNode as a } from "./ImageNode.js";
7
+ import { ImageNotAvailable as o } from "./ImageNotAvailable.js";
8
+ import { InsertImageDialog as s } from "../../components/InsertImageDialog/InsertImageDialog.js";
9
+ import { ImageResizer as ee } from "./ImageResizer.js";
9
10
  import { css as c } from "@emotion/react";
10
11
  import { Suspense as l, useCallback as u, useEffect as d, useRef as f, useState as p } from "react";
11
12
  import m from "@emotion/styled";
12
13
  import { Fragment as h, jsx as g, jsxs as _ } from "@emotion/react/jsx-runtime";
13
- import { useTranslation as ee } from "react-i18next";
14
- import { $getNodeByKey as v, $getSelection as y, $isNodeSelection as b, $isRangeSelection as x, $setSelection as te, CLICK_COMMAND as ne, COMMAND_PRIORITY_LOW as S, DRAGSTART_COMMAND as C, KEY_BACKSPACE_COMMAND as w, KEY_DELETE_COMMAND as re, KEY_ENTER_COMMAND as ie, KEY_ESCAPE_COMMAND as ae, SELECTION_CHANGE_COMMAND as T, createCommand as E } from "lexical";
15
- import { mergeRegister as oe } from "@lexical/utils";
16
- import { useLexicalComposerContext as se } from "@lexical/react/LexicalComposerContext";
17
- import { useLexicalNodeSelection as ce } from "@lexical/react/useLexicalNodeSelection";
18
- import { useLexicalEditable as D } from "@lexical/react/useLexicalEditable";
14
+ import { $getNodeByKey as v, $getSelection as y, $isNodeSelection as b, $isRangeSelection as te, $setSelection as ne, CLICK_COMMAND as re, COMMAND_PRIORITY_LOW as x, DRAGSTART_COMMAND as ie, KEY_BACKSPACE_COMMAND as S, KEY_DELETE_COMMAND as C, KEY_ENTER_COMMAND as w, KEY_ESCAPE_COMMAND as ae, SELECTION_CHANGE_COMMAND as oe, createCommand as T } from "lexical";
15
+ import { mergeRegister as se } from "@lexical/utils";
16
+ import { useLexicalComposerContext as ce } from "@lexical/react/LexicalComposerContext";
17
+ import { useLexicalNodeSelection as le } from "@lexical/react/useLexicalNodeSelection";
18
+ import { useLexicalEditable as E } from "@lexical/react/useLexicalEditable";
19
19
  //#region src/cds/patterns/LexicalEditor/nodes/ImageNode/ImageComponent.tsx
20
- var O = /* @__PURE__ */ new Set(), k = E("RIGHT_CLICK_IMAGE_COMMAND");
21
- function A(e) {
22
- if (!O.has(e)) throw new Promise((t) => {
20
+ var D = /* @__PURE__ */ new Set(), O = T("RIGHT_CLICK_IMAGE_COMMAND");
21
+ function k(e) {
22
+ if (!D.has(e)) throw new Promise((t) => {
23
23
  let n = new Image();
24
24
  n.src = e, n.onload = () => {
25
- O.add(e), t(null);
25
+ D.add(e), t(null);
26
26
  }, n.onerror = () => {
27
- O.add(e);
27
+ D.add(e);
28
28
  };
29
29
  });
30
30
  }
31
- function j(e) {
32
- let { altText: t, className: r, imageRef: i, src: a, width: o, height: s, maxWidth: c, onError: l, title: u, buttonProps: d, addtionalInfoLabel: f } = e;
33
- A(a);
34
- let p = /* @__PURE__ */ g("img", {
35
- className: r || void 0,
31
+ function A(e) {
32
+ let { altText: t, className: n, imageRef: i, src: a, width: o, height: s, maxWidth: ee, onError: c, title: l, buttonProps: u, addtionalInfoLabel: d } = e;
33
+ k(a);
34
+ let f = /* @__PURE__ */ g("img", {
35
+ className: n || void 0,
36
36
  src: a,
37
37
  alt: t,
38
38
  ref: i,
@@ -41,29 +41,29 @@ function j(e) {
41
41
  maxWidth: "100%",
42
42
  width: o
43
43
  },
44
- title: u,
45
- onError: l,
44
+ title: l,
45
+ onError: c,
46
46
  draggable: "false"
47
47
  });
48
- return d ? /* @__PURE__ */ _("button", {
48
+ return u ? /* @__PURE__ */ _("button", {
49
49
  type: "button",
50
- css: n,
51
- ...d,
52
- children: [p, f]
53
- }) : p;
50
+ css: r,
51
+ ...u,
52
+ children: [f, d]
53
+ }) : f;
54
54
  }
55
- function M({ src: n, altText: m, nodeKey: E, width: O, height: A, maxWidth: M, resizable: ue }) {
56
- let N = f(null), P = f(null), [F, I, L] = ce(E), [R, z] = p(!1), [B] = se(), [V, H] = p(null), de = f(null), [U, W] = p(!1), { t: G } = ee(), K = u((e) => {
55
+ function j({ src: r, altText: m, nodeKey: T, width: D, height: k, maxWidth: j, resizable: ue }) {
56
+ let N = f(null), P = f(null), [F, I, L] = le(T), [R, z] = p(!1), [B] = ce(), [V, H] = p(null), de = f(null), [U, W] = p(!1), { t: G } = n(), K = u((e) => {
57
57
  let t = y();
58
58
  return F && b(t) && (e.preventDefault(), B.update(() => {
59
59
  t.getNodes().forEach((e) => {
60
- i(e) && e.remove();
60
+ a(e) && e.remove();
61
61
  });
62
62
  })), !1;
63
63
  }, [B, F]), q = u((e) => {
64
64
  let t = y(), n = P.current;
65
65
  return F && b(t) && t.getNodes().length === 1 && n !== null && n !== document.activeElement ? (e.preventDefault(), n.focus(), !0) : !1;
66
- }, [F]), J = u((e) => P.current === e.target ? (te(null), B.update(() => {
66
+ }, [F]), J = u((e) => P.current === e.target ? (ne(null), B.update(() => {
67
67
  I(!0);
68
68
  let e = B.getRootElement();
69
69
  e !== null && e.focus();
@@ -78,13 +78,13 @@ function M({ src: n, altText: m, nodeKey: E, width: O, height: A, maxWidth: M, r
78
78
  ]), X = u((e) => {
79
79
  B.getEditorState().read(() => {
80
80
  let t = y();
81
- e.target.tagName === "IMG" && x(t) && t.getNodes().length === 1 && B.dispatchCommand(k, e);
81
+ e.target.tagName === "IMG" && te(t) && t.getNodes().length === 1 && B.dispatchCommand(O, e);
82
82
  });
83
83
  }, [B]);
84
84
  d(() => {
85
- let e = !0, t = B.getRootElement(), n = oe(B.registerUpdateListener(({ editorState: t }) => {
85
+ let e = !0, t = B.getRootElement(), n = se(B.registerUpdateListener(({ editorState: t }) => {
86
86
  e && H(t.read(() => y()));
87
- }), B.registerCommand(T, (e, t) => (de.current = t, !1), S), B.registerCommand(ne, Y, S), B.registerCommand(k, Y, S), B.registerCommand(C, (e) => e.target === N.current ? (e.preventDefault(), !0) : !1, S), B.registerCommand(re, K, S), B.registerCommand(w, K, S), B.registerCommand(ie, q, S), B.registerCommand(ae, J, S));
87
+ }), B.registerCommand(oe, (e, t) => (de.current = t, !1), x), B.registerCommand(re, Y, x), B.registerCommand(O, Y, x), B.registerCommand(ie, (e) => e.target === N.current ? (e.preventDefault(), !0) : !1, x), B.registerCommand(C, K, x), B.registerCommand(S, K, x), B.registerCommand(w, q, x), B.registerCommand(ae, J, x));
88
88
  return t?.addEventListener("contextmenu", X), () => {
89
89
  e = !1, n(), t?.removeEventListener("contextmenu", X);
90
90
  };
@@ -93,7 +93,7 @@ function M({ src: n, altText: m, nodeKey: E, width: O, height: A, maxWidth: M, r
93
93
  B,
94
94
  R,
95
95
  F,
96
- E,
96
+ T,
97
97
  K,
98
98
  q,
99
99
  J,
@@ -105,13 +105,13 @@ function M({ src: n, altText: m, nodeKey: E, width: O, height: A, maxWidth: M, r
105
105
  setTimeout(() => {
106
106
  z(!1);
107
107
  }, 200), B.update(() => {
108
- let n = v(E);
109
- i(n) && n.setWidthAndHeight(e, t);
108
+ let n = v(T);
109
+ a(n) && n.setWidthAndHeight(e, t);
110
110
  });
111
111
  }, pe = () => {
112
112
  z(!0);
113
113
  }, Z = F && b(V) && !R, Q = F || R, [me, $] = p(!1);
114
- return D() ? /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ _(le, { children: [/* @__PURE__ */ g(l, {
114
+ return E() ? /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ _(M, { children: [/* @__PURE__ */ g(l, {
115
115
  fallback: null,
116
116
  children: /* @__PURE__ */ g("div", {
117
117
  draggable: Z,
@@ -119,16 +119,16 @@ function M({ src: n, altText: m, nodeKey: E, width: O, height: A, maxWidth: M, r
119
119
  // ImageResizer를 위한 relative 설정입니다.
120
120
  position: relative;
121
121
  `,
122
- children: U ? /* @__PURE__ */ g(a, {}) : /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(j, {
122
+ children: U ? /* @__PURE__ */ g(o, {}) : /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(A, {
123
123
  className: Q ? `focused ${b(V) ? "draggable" : ""}` : null,
124
- src: n,
124
+ src: r,
125
125
  altText: m,
126
126
  imageRef: N,
127
- width: O,
128
- height: A,
129
- maxWidth: M,
127
+ width: D,
128
+ height: k,
129
+ maxWidth: j,
130
130
  onError: () => W(!0)
131
- }), ue && b(V) && Q && /* @__PURE__ */ g(s, {
131
+ }), ue && b(V) && Q && /* @__PURE__ */ g(ee, {
132
132
  showCaption: !1,
133
133
  setShowCaption: () => {},
134
134
  editor: B,
@@ -147,55 +147,55 @@ function M({ src: n, altText: m, nodeKey: E, width: O, height: A, maxWidth: M, r
147
147
  $(!0);
148
148
  },
149
149
  "aria-label": G("이미지 수정하기", { context: "스퀘어버튼, 렉시컬 이미지 도구" })
150
- })] }), /* @__PURE__ */ g(o, {
150
+ })] }), /* @__PURE__ */ g(s, {
151
151
  open: me,
152
152
  title: G("이미지 수정하기", { context: "제목, 이미지 수정 다이얼로그" }),
153
153
  onClose: () => $(!1),
154
154
  imageProps: {
155
- src: n,
155
+ src: r,
156
156
  altText: m
157
157
  },
158
158
  onChange: (e) => {
159
159
  B.update(() => {
160
- let t = v(E);
161
- i(t) && (t.setSrc(e.src), t.setAltText(e.altText));
160
+ let t = v(T);
161
+ a(t) && (t.setSrc(e.src), t.setAltText(e.altText));
162
162
  });
163
163
  },
164
164
  onDelete: () => {
165
165
  B.update(() => {
166
- let e = v(E);
167
- i(e) && e.remove();
166
+ let e = v(T);
167
+ a(e) && e.remove();
168
168
  });
169
169
  }
170
- }, n)] }) : /* @__PURE__ */ g(l, {
170
+ }, r)] }) : /* @__PURE__ */ g(l, {
171
171
  fallback: null,
172
172
  children: /* @__PURE__ */ g("div", {
173
173
  draggable: Z,
174
- children: U ? /* @__PURE__ */ g(a, {}) : /* @__PURE__ */ g(j, {
174
+ children: U ? /* @__PURE__ */ g(o, {}) : /* @__PURE__ */ g(A, {
175
175
  className: Q ? `focused ${b(V) ? "draggable" : ""}` : null,
176
176
  css: c`
177
177
  cursor: pointer;
178
178
  `,
179
- src: n,
179
+ src: r,
180
180
  altText: m,
181
181
  imageRef: N,
182
- width: O,
183
- height: A,
184
- maxWidth: M,
182
+ width: D,
183
+ height: k,
184
+ maxWidth: j,
185
185
  onError: () => W(!0),
186
- buttonProps: { onClick: () => window.open(n, "_blank") },
186
+ buttonProps: { onClick: () => window.open(r, "_blank") },
187
187
  title: G("클릭해서 원본 이미지 보기."),
188
188
  addtionalInfoLabel: /* @__PURE__ */ g("span", {
189
- css: r,
189
+ css: i,
190
190
  children: G("(새 창)", { context: "렉시컬 이미지 도구" })
191
191
  })
192
192
  })
193
193
  })
194
194
  });
195
195
  }
196
- var le = m.div`
196
+ var M = m.div`
197
197
  display: flex;
198
198
  gap: 4px;
199
199
  `;
200
200
  //#endregion
201
- export { M as ImageComponent };
201
+ export { j as ImageComponent };
@@ -1,61 +1,61 @@
1
1
  import { SquareButton as e } from "../../../../components/SquareButton.js";
2
2
  import { stdin_default as t } from "../../../../node_modules/.pnpm/remixicon@4.3.0/node_modules/remixicon/icons/System/settings-3-fill.js";
3
- import { getTexts as n } from "../../../../texts.js";
4
- import { SettingForm as r } from "./SettingForm/SettingForm.js";
5
- import { LexicalCustomConfigContext as i } from "../../LexicalCustomConfigContext.js";
6
- import { TextInput as a } from "./TextInput.js";
7
- import { SegmentedInput as o } from "./SegmentedInput.js";
8
- import { $isProblemInputNode as s } from "./ProblemInputNode.js";
9
- import { css as c } from "@emotion/react";
10
- import { useContext as l, useState as u } from "react";
11
- import d from "@emotion/styled";
12
- import { Fragment as f, jsx as p, jsxs as m } from "@emotion/react/jsx-runtime";
13
- import { useTranslation as h } from "react-i18next";
3
+ import { useTranslation as n } from "../../../../node_modules/.pnpm/react-i18next@15.7.3_i18next@25.5.2_typescript@5.5.4__react-dom@18.2.0_react@18.2.0__react@18.2.0_typescript@5.5.4/node_modules/react-i18next/dist/es/useTranslation.js";
4
+ import { getTexts as r } from "../../../../texts.js";
5
+ import { SettingForm as i } from "./SettingForm/SettingForm.js";
6
+ import { LexicalCustomConfigContext as a } from "../../LexicalCustomConfigContext.js";
7
+ import { TextInput as o } from "./TextInput.js";
8
+ import { SegmentedInput as s } from "./SegmentedInput.js";
9
+ import { $isProblemInputNode as c } from "./ProblemInputNode.js";
10
+ import { css as l } from "@emotion/react";
11
+ import { useContext as u, useState as d } from "react";
12
+ import f from "@emotion/styled";
13
+ import { Fragment as p, jsx as m, jsxs as h } from "@emotion/react/jsx-runtime";
14
14
  import { $getNodeByKey as g } from "lexical";
15
15
  import { useLexicalComposerContext as _ } from "@lexical/react/LexicalComposerContext";
16
16
  import { useLexicalEditable as v } from "@lexical/react/useLexicalEditable";
17
17
  //#region src/cds/patterns/LexicalEditor/nodes/ProblemInputNode/InputComponent.tsx
18
- function y(d) {
19
- let { answer: y, isCorrect: x, ...S } = d, { solutions: C, showCharacterNumber: w, placeholder: T, nodeKey: E } = S, [D] = _(), { t: O } = h(), [k, A] = u(!1), j = v(), [M, N] = u(y), { freezeProblemNode: P } = l(i), F = C[0].value, I = (e) => {
18
+ function y(f) {
19
+ let { answer: y, isCorrect: x, ...S } = f, { solutions: C, showCharacterNumber: w, placeholder: T, nodeKey: E } = S, [D] = _(), { t: O } = n(), [k, A] = d(!1), j = v(), [M, N] = d(y), { freezeProblemNode: P } = u(a), F = C[0].value, I = (e) => {
20
20
  N(e), D.update(() => {
21
21
  let t = g(E);
22
- s(t) && t.setAnswer(e);
22
+ c(t) && t.setAnswer(e);
23
23
  });
24
24
  };
25
- return j ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
26
- css: c`
25
+ return j ? /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ h("div", {
26
+ css: l`
27
27
  display: flex;
28
28
  align-items: center;
29
29
  gap: 4px;
30
30
  `,
31
- children: [/* @__PURE__ */ p(b, {
31
+ children: [/* @__PURE__ */ m(b, {
32
32
  onClick: () => A(!0),
33
33
  children: O("주관식 입력 칸", { context: "렉시컬 주관식 입력 도구" })
34
- }), /* @__PURE__ */ p(e, {
34
+ }), /* @__PURE__ */ m(e, {
35
35
  size: "small",
36
36
  color: "icon",
37
- icon: /* @__PURE__ */ p(t, {}),
37
+ icon: /* @__PURE__ */ m(t, {}),
38
38
  onClick: () => {
39
39
  A(!0);
40
40
  },
41
41
  "aria-label": O("입력 칸 설정", { context: "렉시컬 주관식 입력 도구" })
42
42
  })]
43
- }), k && /* @__PURE__ */ p(r, {
43
+ }), k && /* @__PURE__ */ m(i, {
44
44
  ...S,
45
45
  onClose: () => A(!1)
46
- })] }) : w ? /* @__PURE__ */ p(o, {
46
+ })] }) : w ? /* @__PURE__ */ m(s, {
47
47
  readOnly: P,
48
48
  isCorrect: x,
49
49
  answerFormat: F,
50
- placeholder: T || n(O, "placeholderEnterHere"),
50
+ placeholder: T || r(O, "placeholderEnterHere"),
51
51
  value: M,
52
52
  onChange: I
53
- }) : /* @__PURE__ */ p(a, {
53
+ }) : /* @__PURE__ */ m(o, {
54
54
  readOnly: P,
55
55
  isCorrect: x,
56
56
  size: "small",
57
57
  color: "default",
58
- placeholder: T || n(O, "placeholderEnterHere"),
58
+ placeholder: T || r(O, "placeholderEnterHere"),
59
59
  value: M,
60
60
  onChange: (e) => {
61
61
  I(e.target.value);
@@ -63,7 +63,7 @@ function y(d) {
63
63
  fullWidth: !0
64
64
  });
65
65
  }
66
- var b = d.div(({ theme: e }) => c`
66
+ var b = f.div(({ theme: e }) => l`
67
67
  box-sizing: border-box;
68
68
  height: 36px;
69
69
  width: 300px;