@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,21 +1,21 @@
1
1
  import { shadows as e } from "../../../../../../../foundation/shadows.js";
2
2
  import { stdin_default as t } from "../../../../../../../node_modules/.pnpm/remixicon@4.3.0/node_modules/remixicon/icons/Communication/emoji-sticker-line.js";
3
3
  import { stdin_default as n } from "../../../../../../../node_modules/.pnpm/remixicon@4.3.0/node_modules/remixicon/icons/System/add-fill.js";
4
- import { Button as r } from "../../../../../../../components/Button.js";
5
- import { getTexts as i } from "../../../../../../../texts.js";
6
- import { FormIconAndLabel as a } from "./FormIconAndLabel/FormIconAndLabel.js";
7
- import { FormQuestion as o } from "./FormQuestion.js";
8
- import { $isSelfEvaluationNode as s } from "../../../SelfEvaluationNode.js";
9
- import { css as c } from "@emotion/react";
10
- import l from "@emotion/styled";
11
- import { jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
12
- import { useTranslation as f } 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 { Button as i } from "../../../../../../../components/Button.js";
6
+ import { getTexts as a } from "../../../../../../../texts.js";
7
+ import { FormIconAndLabel as o } from "./FormIconAndLabel/FormIconAndLabel.js";
8
+ import { FormQuestion as s } from "./FormQuestion.js";
9
+ import { $isSelfEvaluationNode as c } from "../../../SelfEvaluationNode.js";
10
+ import { css as l } from "@emotion/react";
11
+ import u from "@emotion/styled";
12
+ import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
13
13
  import { $getNodeByKey as p } from "lexical";
14
14
  import { useLexicalComposerContext as m } from "@lexical/react/LexicalComposerContext";
15
15
  import { useFieldArray as h, useForm as g } from "react-hook-form";
16
16
  //#region src/cds/patterns/LexicalEditor/nodes/SelfEvaluationNode/EvaluationComponent/Evaluation/SettingForm/SettingForm.tsx
17
17
  function _(e) {
18
- let { className: l, iconType: _, labels: T, evaluations: E, nodeKey: D, onClose: O } = e, [k] = m(), { t: A } = f(), { control: j, handleSubmit: M } = g({
18
+ let { className: u, iconType: _, labels: T, evaluations: E, nodeKey: D, onClose: O } = e, [k] = m(), { t: A } = r(), { control: j, handleSubmit: M } = g({
19
19
  mode: "all",
20
20
  defaultValues: {
21
21
  iconType: _,
@@ -27,50 +27,50 @@ function _(e) {
27
27
  name: "evaluations",
28
28
  keyName: "uid"
29
29
  });
30
- return /* @__PURE__ */ d(v, {
31
- className: l,
30
+ return /* @__PURE__ */ f(v, {
31
+ className: u,
32
32
  onSubmit: M((e) => {
33
33
  k.update(() => {
34
34
  let t = p(D);
35
- s(t) && (t.setIconType(e.iconType), t.setLabels(e.labels), t.setEvaluations(e.evaluations));
35
+ c(t) && (t.setIconType(e.iconType), t.setLabels(e.labels), t.setEvaluations(e.evaluations));
36
36
  }), O();
37
37
  }),
38
38
  children: [
39
- /* @__PURE__ */ d(y, { children: [/* @__PURE__ */ u(t, { css: c`
39
+ /* @__PURE__ */ f(y, { children: [/* @__PURE__ */ d(t, { css: l`
40
40
  width: 12px;
41
41
  height: 12px;
42
42
  ` }), A("3단계 평가")] }),
43
- /* @__PURE__ */ d(b, { children: [/* @__PURE__ */ d(x, { children: [
44
- /* @__PURE__ */ u(C, { children: A("평가 항목") }),
45
- N.map((e, t) => /* @__PURE__ */ u(o, {
43
+ /* @__PURE__ */ f(b, { children: [/* @__PURE__ */ f(x, { children: [
44
+ /* @__PURE__ */ d(C, { children: A("평가 항목") }),
45
+ N.map((e, t) => /* @__PURE__ */ d(s, {
46
46
  index: t,
47
47
  control: j,
48
48
  onDelete: t === 0 ? void 0 : () => {
49
49
  F(t);
50
50
  }
51
51
  }, e.uid)),
52
- /* @__PURE__ */ u(r, {
52
+ /* @__PURE__ */ d(i, {
53
53
  color: "grey",
54
54
  size: "small",
55
- startIcon: /* @__PURE__ */ u(n, {}),
55
+ startIcon: /* @__PURE__ */ d(n, {}),
56
56
  label: A("평가 항목 추가"),
57
57
  onClick: () => {
58
58
  P({
59
- question: { text: i(A, "placeholderEvaluationItem") },
59
+ question: { text: a(A, "placeholderEvaluationItem") },
60
60
  selectedLabelIndex: null
61
61
  });
62
62
  }
63
63
  })
64
- ] }), /* @__PURE__ */ d(S, { children: [/* @__PURE__ */ u(C, { children: A("아이콘, 레이블") }), /* @__PURE__ */ u(a, {
64
+ ] }), /* @__PURE__ */ f(S, { children: [/* @__PURE__ */ d(C, { children: A("아이콘, 레이블") }), /* @__PURE__ */ d(o, {
65
65
  control: j,
66
66
  labelsLength: T.length
67
67
  })] })] }),
68
- /* @__PURE__ */ d(w, { children: [/* @__PURE__ */ u(r, {
68
+ /* @__PURE__ */ f(w, { children: [/* @__PURE__ */ d(i, {
69
69
  color: "grey",
70
70
  size: "xsmall",
71
71
  label: A("닫기", { context: "렉시컬 도구 설정창" }),
72
72
  onClick: O
73
- }), /* @__PURE__ */ u(r, {
73
+ }), /* @__PURE__ */ d(i, {
74
74
  color: "primary",
75
75
  size: "xsmall",
76
76
  label: A("이대로 넣기", { context: "렉시컬 도구 설정창" }),
@@ -79,14 +79,14 @@ function _(e) {
79
79
  ]
80
80
  });
81
81
  }
82
- var v = l.form(({ theme: t }) => c`
82
+ var v = u.form(({ theme: t }) => l`
83
83
  display: flex;
84
84
  flex-direction: column;
85
85
  border-radius: 6px;
86
86
  border: 1px solid ${t.color.background.neutralAltActive};
87
87
  background: ${t.color.background.neutralBase};
88
88
  box-shadow: ${e.shadow08};
89
- `), y = l.div(({ theme: e }) => c`
89
+ `), y = u.div(({ theme: e }) => l`
90
90
  display: flex;
91
91
  padding: 8px 12px;
92
92
  gap: 4px;
@@ -98,23 +98,23 @@ var v = l.form(({ theme: t }) => c`
98
98
  font-style: normal;
99
99
  font-weight: 500;
100
100
  line-height: 16px; /* 133.333% */
101
- `), b = l.div(({ theme: e }) => c`
101
+ `), b = u.div(({ theme: e }) => l`
102
102
  display: flex;
103
103
  border-top: 1px solid ${e.color.background.neutralAltActive};
104
104
  border-bottom: 1px solid ${e.color.background.neutralAltActive};
105
- `), x = l.div`
105
+ `), x = u.div`
106
106
  flex: 1;
107
107
  display: flex;
108
108
  flex-direction: column;
109
109
  gap: 12px;
110
110
  padding: 12px;
111
- `, S = l.div`
111
+ `, S = u.div`
112
112
  width: 240px;
113
113
  display: flex;
114
114
  flex-direction: column;
115
115
  gap: 8px;
116
116
  padding: 12px;
117
- `, C = l.div(({ theme: e }) => c`
117
+ `, C = u.div(({ theme: e }) => l`
118
118
  color: ${e.color.foreground.neutralBaseDisabled};
119
119
  /* Default/Label/12px-Md */
120
120
  font-family: ${e.fontFamily.ui};
@@ -122,7 +122,7 @@ var v = l.form(({ theme: t }) => c`
122
122
  font-style: normal;
123
123
  font-weight: 500;
124
124
  line-height: 16px; /* 133.333% */
125
- `), w = l.div`
125
+ `), w = u.div`
126
126
  display: flex;
127
127
  padding: 12px;
128
128
  justify-content: flex-end;
@@ -1,14 +1,14 @@
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 { LexicalCustomConfigContext as n } from "../../../LexicalCustomConfigContext.js";
4
- import { Evaluation as r } from "./Evaluation/Evaluation.js";
5
- import { getIconData as i } from "../iconData.js";
6
- import { SettingForm as a } from "./Evaluation/SettingForm/SettingForm.js";
7
- import { $isSelfEvaluationNode as o } from "../SelfEvaluationNode.js";
8
- import { css as s, useTheme as c } from "@emotion/react";
9
- import { useContext as l, useState as u } from "react";
10
- import { Fragment as d, jsx as f, jsxs as p } from "@emotion/react/jsx-runtime";
11
- import { useTranslation as m } 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 { LexicalCustomConfigContext as r } from "../../../LexicalCustomConfigContext.js";
5
+ import { Evaluation as i } from "./Evaluation/Evaluation.js";
6
+ import { getIconData as a } from "../iconData.js";
7
+ import { SettingForm as o } from "./Evaluation/SettingForm/SettingForm.js";
8
+ import { $isSelfEvaluationNode as s } from "../SelfEvaluationNode.js";
9
+ import { css as c, useTheme as l } from "@emotion/react";
10
+ import { useContext as u, useState as d } from "react";
11
+ import { Fragment as f, jsx as p, jsxs as m } from "@emotion/react/jsx-runtime";
12
12
  import { $getNodeByKey as h } from "lexical";
13
13
  import { useLexicalComposerContext as g } from "@lexical/react/LexicalComposerContext";
14
14
  import { useLexicalEditable as _ } from "@lexical/react/useLexicalEditable";
@@ -16,34 +16,34 @@ import v from "lodash";
16
16
  //#region src/cds/patterns/LexicalEditor/nodes/SelfEvaluationNode/EvaluationComponent/EvaluationComponent.tsx
17
17
  var y = 620;
18
18
  function b(b) {
19
- let { iconType: x, labels: S, evaluations: C, nodeKey: w } = b, T = c(), [E] = g(), D = _(), { freezeProblemNode: O } = l(n), { t: k } = m(), [A, j] = u(!1), { icons: M } = i(x, T, k), N = v.zipWith(S, M, (e, { onIcon: t, offIcon: n }) => ({
19
+ let { iconType: x, labels: S, evaluations: C, nodeKey: w } = b, T = l(), [E] = g(), D = _(), { freezeProblemNode: O } = u(r), { t: k } = n(), [A, j] = d(!1), { icons: M } = a(x, T, k), N = v.zipWith(S, M, (e, { onIcon: t, offIcon: n }) => ({
20
20
  label: e,
21
21
  onIcon: t,
22
22
  offIcon: n
23
23
  }));
24
- return D ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ p("div", {
25
- css: s`
24
+ return D ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
25
+ css: c`
26
26
  display: flex;
27
27
  gap: 4px;
28
28
  `,
29
- children: [/* @__PURE__ */ f(r, {
30
- css: s`
29
+ children: [/* @__PURE__ */ p(i, {
30
+ css: c`
31
31
  width: ${y}px;
32
32
  `,
33
33
  data: N,
34
34
  evaluations: C,
35
35
  onClick: () => j((e) => !e)
36
- }), /* @__PURE__ */ f(e, {
36
+ }), /* @__PURE__ */ p(e, {
37
37
  size: "small",
38
38
  color: "icon",
39
- icon: /* @__PURE__ */ f(t, {}),
39
+ icon: /* @__PURE__ */ p(t, {}),
40
40
  onClick: () => {
41
41
  j((e) => !e);
42
42
  },
43
43
  "aria-label": k("평가 칸 설정")
44
44
  })]
45
- }), A && /* @__PURE__ */ f(a, {
46
- css: s`
45
+ }), A && /* @__PURE__ */ p(o, {
46
+ css: c`
47
47
  width: ${y}px;
48
48
  `,
49
49
  iconType: x,
@@ -51,13 +51,13 @@ function b(b) {
51
51
  evaluations: C,
52
52
  nodeKey: w,
53
53
  onClose: () => j(!1)
54
- })] }) : /* @__PURE__ */ f(r, {
54
+ })] }) : /* @__PURE__ */ p(i, {
55
55
  data: N,
56
56
  evaluations: C,
57
57
  onChange: O ? void 0 : (e) => {
58
58
  E.update(() => {
59
59
  let t = h(w);
60
- o(t) && t.setEvaluations(e);
60
+ s(t) && t.setEvaluations(e);
61
61
  });
62
62
  }
63
63
  });
@@ -1,55 +1,55 @@
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 { Input as n } from "../../../../components/Input.js";
4
- import { getTexts as r } from "../../../../texts.js";
5
- import { LexicalCustomConfigContext as i } from "../../LexicalCustomConfigContext.js";
6
- import { SettingForm as a } from "./SettingForm.js";
7
- import { $isSheetInputNode as o } from "./SheetInputNode.js";
8
- import { css as s } from "@emotion/react";
9
- import { useContext as c, useState as l } from "react";
10
- import u from "@emotion/styled";
11
- import { Fragment as d, jsx as f, jsxs as p } from "@emotion/react/jsx-runtime";
12
- import { useTranslation as m } 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 { Input as r } from "../../../../components/Input.js";
5
+ import { getTexts as i } from "../../../../texts.js";
6
+ import { LexicalCustomConfigContext as a } from "../../LexicalCustomConfigContext.js";
7
+ import { SettingForm as o } from "./SettingForm.js";
8
+ import { $isSheetInputNode as s } from "./SheetInputNode.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
13
  import { $getNodeByKey as h } from "lexical";
14
14
  import { useLexicalComposerContext as g } from "@lexical/react/LexicalComposerContext";
15
15
  import { useLexicalEditable as _ } from "@lexical/react/useLexicalEditable";
16
16
  //#region src/cds/patterns/LexicalEditor/nodes/SheetInputNode/InputComponent.tsx
17
17
  var v = 84, y = 8;
18
- function b(u) {
19
- let { multiline: b, value: S, placeholder: C, nodeKey: w } = u, [T] = g(), [E, D] = l(!1), O = _(), [k, A] = l(!1), [j, M] = l(S), { freezeProblemNode: N } = c(i), { t: P } = m(), F = (e) => {
18
+ function b(d) {
19
+ let { multiline: b, value: S, placeholder: C, nodeKey: w } = d, [T] = g(), [E, D] = u(!1), O = _(), [k, A] = u(!1), [j, M] = u(S), { freezeProblemNode: N } = l(a), { t: P } = n(), F = (e) => {
20
20
  M(e), T.update(() => {
21
21
  let t = h(w);
22
- o(t) && t.setValue(e);
22
+ s(t) && t.setValue(e);
23
23
  });
24
24
  };
25
- return O ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ p("div", {
26
- css: s`
25
+ return O ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
26
+ css: c`
27
27
  display: flex;
28
28
  align-items: center;
29
29
  gap: 4px;
30
30
  `,
31
- children: [/* @__PURE__ */ f(x, {
31
+ children: [/* @__PURE__ */ p(x, {
32
32
  onClick: () => D((e) => !e),
33
- css: b && s`
33
+ css: b && c`
34
34
  height: ${v + 2 * y}px;
35
35
  `,
36
36
  children: P(b ? "서술형 입력 칸" : "단답형 입력 칸", { context: "렉시컬 단답형/서술형 도구" })
37
- }), /* @__PURE__ */ f(e, {
37
+ }), /* @__PURE__ */ p(e, {
38
38
  size: "small",
39
39
  color: "icon",
40
- icon: /* @__PURE__ */ f(t, {}),
40
+ icon: /* @__PURE__ */ p(t, {}),
41
41
  onClick: () => D((e) => !e),
42
42
  "aria-label": P("입력 칸 설정", { context: "렉시컬 단답형/서술형 도구" })
43
43
  })]
44
- }), E && /* @__PURE__ */ f(a, {
44
+ }), E && /* @__PURE__ */ p(o, {
45
45
  multiline: b,
46
46
  placeholder: C,
47
47
  nodeKey: w,
48
48
  onClose: () => D(!1)
49
- })] }) : /* @__PURE__ */ f(n, {
49
+ })] }) : /* @__PURE__ */ p(r, {
50
50
  multiline: b,
51
51
  disableAutosize: !0,
52
- css: s`
52
+ css: c`
53
53
  textarea {
54
54
  height: ${v}px;
55
55
  }
@@ -60,7 +60,7 @@ function b(u) {
60
60
  },
61
61
  size: "small",
62
62
  color: k ? "activePrimary" : "default",
63
- placeholder: C || r(P, "placeholderEnterHere"),
63
+ placeholder: C || i(P, "placeholderEnterHere"),
64
64
  value: j,
65
65
  onChange: (e) => {
66
66
  F(e.target.value);
@@ -68,7 +68,7 @@ function b(u) {
68
68
  fullWidth: !0
69
69
  });
70
70
  }
71
- var x = u.div(({ theme: e }) => s`
71
+ var x = d.div(({ theme: e }) => c`
72
72
  box-sizing: border-box;
73
73
  height: 36px;
74
74
  width: 400px;
@@ -1,60 +1,60 @@
1
1
  import { shadows as e } from "../../../../foundation/shadows.js";
2
2
  import { stdin_default as t } from "../../../../node_modules/.pnpm/remixicon@4.3.0/node_modules/remixicon/icons/Design/input-method-line.js";
3
3
  import { stdin_default as n } from "../../../../node_modules/.pnpm/remixicon@4.3.0/node_modules/remixicon/icons/System/question-fill.js";
4
- import { Button as r } from "../../../../components/Button.js";
5
- import { Input as i } from "../../../../components/Input.js";
6
- import { Tooltip as a } from "../../../../components/Tooltip.js";
7
- import { getTexts as o } from "../../../../texts.js";
8
- import { $isSheetInputNode as s } from "./SheetInputNode.js";
9
- import { css as c } from "@emotion/react";
10
- import l from "@emotion/styled";
11
- import { jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
12
- import { useTranslation as f } 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 { Button as i } from "../../../../components/Button.js";
6
+ import { Input as a } from "../../../../components/Input.js";
7
+ import { Tooltip as o } from "../../../../components/Tooltip.js";
8
+ import { getTexts as s } from "../../../../texts.js";
9
+ import { $isSheetInputNode as c } from "./SheetInputNode.js";
10
+ import { css as l } from "@emotion/react";
11
+ import u from "@emotion/styled";
12
+ import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
13
13
  import { $getNodeByKey as p } from "lexical";
14
14
  import { useLexicalComposerContext as m } from "@lexical/react/LexicalComposerContext";
15
15
  import { Controller as h, useForm as g } from "react-hook-form";
16
16
  //#region src/cds/patterns/LexicalEditor/nodes/SheetInputNode/SettingForm.tsx
17
17
  function _(e) {
18
- let { multiline: l, placeholder: _, nodeKey: w, onClose: T } = e, [E] = m(), { t: D } = f(), { control: O, handleSubmit: k } = g({
18
+ let { multiline: u, placeholder: _, nodeKey: w, onClose: T } = e, [E] = m(), { t: D } = r(), { control: O, handleSubmit: k } = g({
19
19
  mode: "all",
20
20
  defaultValues: { placeholder: _ }
21
21
  });
22
- return /* @__PURE__ */ d(v, {
22
+ return /* @__PURE__ */ f(v, {
23
23
  onSubmit: k((e) => {
24
24
  E.update(() => {
25
25
  let t = p(w);
26
- s(t) && t.setPlaceholder(e.placeholder);
26
+ c(t) && t.setPlaceholder(e.placeholder);
27
27
  }), T();
28
28
  }),
29
29
  children: [
30
- /* @__PURE__ */ d(y, { children: [/* @__PURE__ */ u(t, { css: c`
30
+ /* @__PURE__ */ f(y, { children: [/* @__PURE__ */ d(t, { css: l`
31
31
  width: 12px;
32
32
  height: 12px;
33
- ` }), D(l ? "서술형 입력 칸" : "단답형 입력 칸", { context: "렉시컬 단답형/서술형 도구" })] }),
34
- /* @__PURE__ */ u(b, { children: /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ d(S, { children: [D("자리 표시자", { context: "렉시컬 단답형/서술형 도구" }), /* @__PURE__ */ u(a, {
35
- text: o(D, "descriptionDefaultInputText"),
33
+ ` }), D(u ? "서술형 입력 칸" : "단답형 입력 칸", { context: "렉시컬 단답형/서술형 도구" })] }),
34
+ /* @__PURE__ */ d(b, { children: /* @__PURE__ */ f(x, { children: [/* @__PURE__ */ f(S, { children: [D("자리 표시자", { context: "렉시컬 단답형/서술형 도구" }), /* @__PURE__ */ d(o, {
35
+ text: s(D, "descriptionDefaultInputText"),
36
36
  placement: "top",
37
- children: /* @__PURE__ */ u(n, { css: c`
37
+ children: /* @__PURE__ */ d(n, { css: l`
38
38
  width: 12px;
39
39
  height: 12px;
40
40
  ` })
41
- })] }), /* @__PURE__ */ u(h, {
41
+ })] }), /* @__PURE__ */ d(h, {
42
42
  name: "placeholder",
43
43
  control: O,
44
- render: ({ field: { value: e, onChange: t } }) => /* @__PURE__ */ u(i, {
44
+ render: ({ field: { value: e, onChange: t } }) => /* @__PURE__ */ d(a, {
45
45
  size: "small",
46
46
  color: "default",
47
47
  value: e,
48
48
  onChange: t,
49
- placeholder: o(D, "exampleEnterHere")
49
+ placeholder: s(D, "exampleEnterHere")
50
50
  })
51
51
  })] }) }),
52
- /* @__PURE__ */ d(C, { children: [/* @__PURE__ */ u(r, {
52
+ /* @__PURE__ */ f(C, { children: [/* @__PURE__ */ d(i, {
53
53
  color: "grey",
54
54
  size: "xsmall",
55
55
  label: D("닫기", { context: "렉시컬 도구 설정창" }),
56
56
  onClick: T
57
- }), /* @__PURE__ */ u(r, {
57
+ }), /* @__PURE__ */ d(i, {
58
58
  color: "primary",
59
59
  size: "xsmall",
60
60
  label: D("이대로 넣기", { context: "렉시컬 도구 설정창" }),
@@ -63,7 +63,7 @@ function _(e) {
63
63
  ]
64
64
  });
65
65
  }
66
- var v = l.form(({ theme: t }) => c`
66
+ var v = u.form(({ theme: t }) => l`
67
67
  display: flex;
68
68
  width: 620px;
69
69
  flex-direction: column;
@@ -71,7 +71,7 @@ var v = l.form(({ theme: t }) => c`
71
71
  border: 1px solid ${t.color.background.neutralAltActive};
72
72
  background: ${t.color.background.neutralBase};
73
73
  box-shadow: ${e.shadow08};
74
- `), y = l.div(({ theme: e }) => c`
74
+ `), y = u.div(({ theme: e }) => l`
75
75
  display: flex;
76
76
  padding: 8px 12px;
77
77
  gap: 4px;
@@ -83,17 +83,17 @@ var v = l.form(({ theme: t }) => c`
83
83
  font-style: normal;
84
84
  font-weight: 500;
85
85
  line-height: 16px; /* 133.333% */
86
- `), b = l.div(({ theme: e }) => c`
86
+ `), b = u.div(({ theme: e }) => l`
87
87
  display: flex;
88
88
  border-top: 1px solid ${e.color.background.neutralAltActive};
89
89
  border-bottom: 1px solid ${e.color.background.neutralAltActive};
90
- `), x = l.div`
90
+ `), x = u.div`
91
91
  width: 240px;
92
92
  display: flex;
93
93
  flex-direction: column;
94
94
  gap: 8px;
95
95
  padding: 12px;
96
- `, S = l.div(({ theme: e }) => c`
96
+ `, S = u.div(({ theme: e }) => l`
97
97
  display: flex;
98
98
  gap: 4px;
99
99
  align-items: center;
@@ -104,7 +104,7 @@ var v = l.form(({ theme: t }) => c`
104
104
  font-style: normal;
105
105
  font-weight: 500;
106
106
  line-height: 16px; /* 133.333% */
107
- `), C = l.div`
107
+ `), C = u.div`
108
108
  display: flex;
109
109
  padding: 12px;
110
110
  justify-content: flex-end;
@@ -1,22 +1,22 @@
1
1
  import { stdin_default as e } from "../../../../../../node_modules/.pnpm/remixicon@4.3.0/node_modules/remixicon/icons/System/check-fill.js";
2
- import { SelectBoxComponent as t } from "./SelectBoxComponent.js";
3
- import { css as n } from "@emotion/react";
4
- import { useRef as r } from "react";
5
- import { jsx as i } from "@emotion/react/jsx-runtime";
6
- import { useTranslation as a } 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 { SelectBoxComponent as n } from "./SelectBoxComponent.js";
4
+ import { css as r } from "@emotion/react";
5
+ import { useRef as i } from "react";
6
+ import { jsx as a } from "@emotion/react/jsx-runtime";
7
7
  import { useEventListener as o } from "usehooks-ts";
8
8
  //#region src/cds/patterns/LexicalEditor/nodes/SheetSelectNode/SelectComponent/SelectBox/SelectBoxView.tsx
9
- function s(t, r) {
9
+ function s(t, n) {
10
10
  return {
11
- primary: /* @__PURE__ */ i(e, { css: n`
11
+ primary: /* @__PURE__ */ a(e, { css: r`
12
12
  width: 12px;
13
13
  height: 12px;
14
14
  ` }),
15
- normal: r
15
+ normal: n
16
16
  }[t];
17
17
  }
18
18
  function c(e) {
19
- let { index: c, isSelected: l, image: u, text: d, onClick: f } = e, { t: p } = a(), m = l ? "primary" : "normal", h = r(null);
19
+ let { index: c, isSelected: l, image: u, text: d, onClick: f } = e, { t: p } = t(), m = l ? "primary" : "normal", h = i(null);
20
20
  o("keydown", (e) => {
21
21
  f && document.activeElement === h.current && (e.key === " " || e.key === "Enter") && (e.preventDefault(), f());
22
22
  });
@@ -24,8 +24,8 @@ function c(e) {
24
24
  index: c,
25
25
  context: "렉시컬 선택지 도구"
26
26
  });
27
- return /* @__PURE__ */ i(t, {
28
- css: n`
27
+ return /* @__PURE__ */ a(n, {
28
+ css: r`
29
29
  width: 100%;
30
30
  `,
31
31
  ref: h,
@@ -1,35 +1,35 @@
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/alarm-warning-fill.js";
3
3
  import { stdin_default as n } from "../../../../../node_modules/.pnpm/remixicon@4.3.0/node_modules/remixicon/icons/System/settings-3-fill.js";
4
- import { getTexts as r } from "../../../../../texts.js";
5
- import { LexicalCustomConfigContext as i } from "../../../LexicalCustomConfigContext.js";
6
- import { SettingForm as a } from "./SettingForm/SettingForm.js";
7
- import { SelectBoxView as o } from "./SelectBox/SelectBoxView.js";
8
- import { SelectBoxEdit as s } from "./SelectBox/SelectBoxEdit.js";
9
- import { $isSheetSelectNode as c } from "../SheetSelectNode.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
- import { useTranslation as g } 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 { getTexts as i } from "../../../../../texts.js";
6
+ import { LexicalCustomConfigContext as a } from "../../../LexicalCustomConfigContext.js";
7
+ import { SettingForm as o } from "./SettingForm/SettingForm.js";
8
+ import { SelectBoxView as s } from "./SelectBox/SelectBoxView.js";
9
+ import { SelectBoxEdit as c } from "./SelectBox/SelectBoxEdit.js";
10
+ import { $isSheetSelectNode as l } from "../SheetSelectNode.js";
11
+ import { css as u } from "@emotion/react";
12
+ import { useContext as d, useState as f } from "react";
13
+ import p from "@emotion/styled";
14
+ import { Fragment as m, jsx as h, jsxs as g } from "@emotion/react/jsx-runtime";
15
15
  import { $getNodeByKey as _ } from "lexical";
16
16
  import { useLexicalComposerContext as v } from "@lexical/react/LexicalComposerContext";
17
17
  import { useLexicalEditable as y } from "@lexical/react/useLexicalEditable";
18
18
  //#region src/cds/patterns/LexicalEditor/nodes/SheetSelectNode/SelectComponent/SelectComponent.tsx
19
- function b(f) {
20
- let { selections: b, selected: S, allowMultipleAnswers: C, nodeKey: w } = f, [T] = v(), { t: E } = g(), [D, O] = d(!1), k = y(), { freezeProblemNode: A } = u(i);
21
- return k ? /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ h("div", {
22
- css: l`
19
+ function b(p) {
20
+ let { selections: b, selected: S, allowMultipleAnswers: C, nodeKey: w } = p, [T] = v(), { t: E } = r(), [D, O] = f(!1), k = y(), { freezeProblemNode: A } = d(a);
21
+ return k ? /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ g("div", {
22
+ css: u`
23
23
  display: flex;
24
24
  gap: 4px;
25
25
  `,
26
- children: [/* @__PURE__ */ m("div", {
27
- css: l`
26
+ children: [/* @__PURE__ */ h("div", {
27
+ css: u`
28
28
  display: flex;
29
29
  flex-direction: column;
30
30
  gap: 4px;
31
31
  `,
32
- children: b.map((e, t) => /* @__PURE__ */ m(s, {
32
+ children: b.map((e, t) => /* @__PURE__ */ h(c, {
33
33
  index: t + 1,
34
34
  image: e.show.image,
35
35
  text: e.show.text === "" && e.show.image === null ? E("{{index}}번 선택지", {
@@ -38,26 +38,26 @@ function b(f) {
38
38
  }) : e.show.text,
39
39
  onClick: () => O((e) => !e)
40
40
  }, t))
41
- }), /* @__PURE__ */ m(e, {
41
+ }), /* @__PURE__ */ h(e, {
42
42
  size: "small",
43
43
  color: "icon",
44
- icon: /* @__PURE__ */ m(n, {}),
44
+ icon: /* @__PURE__ */ h(n, {}),
45
45
  onClick: () => {
46
46
  O((e) => !e);
47
47
  },
48
48
  "aria-label": E("선택지 설정", { context: "렉시컬 선택지 도구" })
49
49
  })]
50
- }), D && /* @__PURE__ */ m(a, {
50
+ }), D && /* @__PURE__ */ h(o, {
51
51
  data: {
52
52
  selections: b,
53
53
  allowMultipleAnswers: C
54
54
  },
55
55
  nodeKey: w,
56
56
  onClose: () => O(!1)
57
- })] }) : /* @__PURE__ */ h(p, { children: [C && /* @__PURE__ */ h(x, { children: [/* @__PURE__ */ m(t, { css: l`
57
+ })] }) : /* @__PURE__ */ g(m, { children: [C && /* @__PURE__ */ g(x, { children: [/* @__PURE__ */ h(t, { css: u`
58
58
  width: 14px;
59
59
  height: 14px;
60
- ` }), r(E, "multipleChoicesProblem")] }), b.map((e, t) => /* @__PURE__ */ m(o, {
60
+ ` }), i(E, "multipleChoicesProblem")] }), b.map((e, t) => /* @__PURE__ */ h(s, {
61
61
  index: t + 1,
62
62
  isSelected: S.includes(e.value),
63
63
  image: e.show.image,
@@ -65,15 +65,15 @@ function b(f) {
65
65
  onClick: A ? void 0 : () => {
66
66
  S.includes(e.value) ? T.update(() => {
67
67
  let t = _(w);
68
- c(t) && t.setSelected(S.filter((t) => t !== e.value));
68
+ l(t) && t.setSelected(S.filter((t) => t !== e.value));
69
69
  }) : T.update(() => {
70
70
  let t = _(w);
71
- c(t) && (C ? t.setSelected([...S, e.value]) : t.setSelected([e.value]));
71
+ l(t) && (C ? t.setSelected([...S, e.value]) : t.setSelected([e.value]));
72
72
  });
73
73
  }
74
74
  }, t))] });
75
75
  }
76
- var x = f.div(({ theme: e }) => l`
76
+ var x = p.div(({ theme: e }) => u`
77
77
  display: flex;
78
78
  gap: 4px;
79
79
  margin-bottom: 12px;