@lax-wp/design-system 0.13.35 → 0.13.36

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 (29) hide show
  1. package/dist/components/forms/date-time-field/DateTimeField.cjs.js +1 -1
  2. package/dist/components/forms/date-time-field/DateTimeField.cjs.js.map +1 -1
  3. package/dist/components/forms/date-time-field/DateTimeField.es.js +97 -92
  4. package/dist/components/forms/date-time-field/DateTimeField.es.js.map +1 -1
  5. package/dist/components/forms/dynamic-data-input/DynamicDataInputField.cjs.js +1 -1
  6. package/dist/components/forms/dynamic-data-input/DynamicDataInputField.cjs.js.map +1 -1
  7. package/dist/components/forms/dynamic-data-input/DynamicDataInputField.d.ts +6 -0
  8. package/dist/components/forms/dynamic-data-input/DynamicDataInputField.es.js +172 -142
  9. package/dist/components/forms/dynamic-data-input/DynamicDataInputField.es.js.map +1 -1
  10. package/dist/components/forms/link-input/LinkInputField.cjs.js +2 -0
  11. package/dist/components/forms/link-input/LinkInputField.cjs.js.map +1 -0
  12. package/dist/components/forms/link-input/LinkInputField.d.ts +59 -0
  13. package/dist/components/forms/link-input/LinkInputField.es.js +102 -0
  14. package/dist/components/forms/link-input/LinkInputField.es.js.map +1 -0
  15. package/dist/components/forms/master-data-input/MasterDataInputField.cjs.js +1 -1
  16. package/dist/components/forms/master-data-input/MasterDataInputField.cjs.js.map +1 -1
  17. package/dist/components/forms/master-data-input/MasterDataInputField.d.ts +6 -0
  18. package/dist/components/forms/master-data-input/MasterDataInputField.es.js +199 -169
  19. package/dist/components/forms/master-data-input/MasterDataInputField.es.js.map +1 -1
  20. package/dist/components/forms/percentage-input/PercentageInputField.cjs.js +1 -5
  21. package/dist/components/forms/percentage-input/PercentageInputField.cjs.js.map +1 -1
  22. package/dist/components/forms/percentage-input/PercentageInputField.d.ts +6 -0
  23. package/dist/components/forms/percentage-input/PercentageInputField.es.js +141 -134
  24. package/dist/components/forms/percentage-input/PercentageInputField.es.js.map +1 -1
  25. package/dist/index.cjs.js +1 -1
  26. package/dist/index.d.ts +5 -3
  27. package/dist/index.es.js +407 -405
  28. package/dist/index.es.js.map +1 -1
  29. package/package.json +1 -1
@@ -1,119 +1,148 @@
1
- import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import b from "../../../_virtual/index.es.js";
3
- import { forwardRef as Ce, useState as c, useRef as ke, useEffect as g } from "react";
4
- import { Tooltip as ye } from "antd";
5
- import { useTranslation as Ne } from "react-i18next";
6
- import { Typography as Ie } from "../../data-display/typography/Typography.es.js";
7
- import { Label as Se } from "../../data-display/label/Label.es.js";
8
- import { BoltOutlined as $e, NoteAddOutlined as ze, TableChartRounded as Ve } from "@mui/icons-material";
9
- import { AIExtractedIndicator as Ee } from "../../icons/AIExtractedIndicator.es.js";
10
- import { AIStarIcon as Be } from "../../icons/AIStarIcon.es.js";
1
+ import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
+ import l from "../../../_virtual/index.es.js";
3
+ import { forwardRef as Ee, useState as f, useRef as Ne, useEffect as k } from "react";
4
+ import { Tooltip as Ie } from "antd";
5
+ import { useTranslation as Be } from "react-i18next";
6
+ import { Typography as ze } from "../../data-display/typography/Typography.es.js";
7
+ import { Label as Ve } from "../../data-display/label/Label.es.js";
8
+ import { BoltOutlined as $e, NoteAddOutlined as Ae, TableChartRounded as Re } from "@mui/icons-material";
9
+ import { AIExtractedIndicator as Le } from "../../icons/AIExtractedIndicator.es.js";
10
+ import { AIStarIcon as We } from "../../icons/AIStarIcon.es.js";
11
11
  import { HelpIcon as Me } from "../../icons/HelpIcon.es.js";
12
- import V from "../../tooltip/Tooltip.es.js";
13
- import A from "../../button/IconButton.es.js";
14
- import { InputLabel as Le } from "../shared/InputLabel.es.js";
15
- import { shouldShowConfidenceScore as J, getConfidenceScoreBadgeFill as Re, getConfidenceScoreBadgeColor as je, getConfidenceScoreBadgeTextColor as He, getConfidenceScoreBadgeClass as Ke } from "../../../utils/confidenceScoreUtils.es.js";
16
- import { CloseIcon as Oe } from "../../icon/icons.generated.es.js";
17
- const Pe = Ce(
12
+ import z from "../../tooltip/Tooltip.es.js";
13
+ import D from "../../button/IconButton.es.js";
14
+ import { InputLabel as Oe } from "../shared/InputLabel.es.js";
15
+ import { shouldShowConfidenceScore as J, getConfidenceScoreBadgeFill as je, getConfidenceScoreBadgeColor as He, getConfidenceScoreBadgeTextColor as Ke, getConfidenceScoreBadgeClass as Pe } from "../../../utils/confidenceScoreUtils.es.js";
16
+ import { CloseIcon as _e } from "../../icon/icons.generated.es.js";
17
+ const qe = Ee(
18
18
  ({
19
19
  id: Q,
20
20
  label: T,
21
- placeholder: U,
22
- value: n,
23
- onChange: E,
24
- errorMessage: f,
25
- defaultValue: X,
26
- required: B = !1,
27
- isRequiredConditional: Y = !1,
28
- masterDataName: m,
29
- masterDataColumnName: Z,
30
- masterDataFormula: a,
31
- masterDataFilters: G,
32
- tags: F,
33
- index: D,
34
- tooltip: M = "",
35
- originalCase: ee = !1,
36
- color: L = "",
37
- isGTN: w = !1,
38
- labelClassName: te,
21
+ labelExtra: U,
22
+ placeholder: X,
23
+ value: i,
24
+ onChange: V,
25
+ errorMessage: o,
26
+ defaultValue: Y,
27
+ required: $ = !1,
28
+ isRequiredConditional: Z = !1,
29
+ masterDataName: b,
30
+ masterDataColumnName: G,
31
+ masterDataFormula: s,
32
+ masterDataFilters: ee,
33
+ tags: te,
34
+ index: re,
35
+ tooltip: A = "",
36
+ originalCase: le = !1,
37
+ color: d = "",
38
+ isGTN: v = !1,
39
+ labelClassName: ne,
39
40
  gtnName: R = null,
40
- isAiExtracted: le = !1,
41
- confidenceScore: v,
42
- confidenceType: d = "high",
41
+ isAiExtracted: oe = !1,
42
+ confidenceScore: w,
43
+ confidenceType: m = "high",
43
44
  confidenceTooltip: C,
44
- sourceMeta: re = [],
45
- onConfidenceScoreClick: oe,
46
- disabled: j = !1,
47
- reference: ne = {},
48
- isLiveField: ae = !1,
49
- onBlur: ie,
50
- onAddGTNToDocument: k,
51
- riskDetails: i,
52
- isRiskAnalysisOpen: y = !1,
53
- RiskDetailsCard: H,
54
- primaryColorShades: se,
55
- setDisableActions: K,
56
- showDeprecatedFieldWarning: O,
57
- MasterDataModal: P,
58
- parseMasterDataFormula: p
59
- }, ce) => {
60
- const { t: de } = Ne(), [h, N] = c(!1), [o, u] = c(null), [s, _] = c(!1), [ue, fe] = c(""), [I, q] = c(null), [me, pe] = c(!1), S = ke(null), $ = ce || S;
61
- g(() => {
62
- const t = () => {
63
- const l = $.current || S.current;
64
- l && pe(l.scrollWidth > l.clientWidth);
45
+ sourceMeta: ae = [],
46
+ onConfidenceScoreClick: ie,
47
+ disabled: L = !1,
48
+ reference: se = {},
49
+ isLiveField: de = !1,
50
+ onBlur: ce,
51
+ onAddGTNToDocument: y,
52
+ riskDetails: c,
53
+ isRiskAnalysisOpen: W = !1,
54
+ RiskDetailsCard: M,
55
+ primaryColorShades: ue,
56
+ setDisableActions: O,
57
+ showDeprecatedFieldWarning: j,
58
+ MasterDataModal: H,
59
+ parseMasterDataFormula: x,
60
+ inputEmphasis: S = "default"
61
+ }, fe) => {
62
+ const { t: me } = Be(), g = !!(W && c?.color), pe = S === "modified" && !o && !g, be = S === "deleted" && !o && !g, xe = S === "success" && !o && !g, [h, F] = f(!1), [a, p] = f(null), [u, K] = f(!1), [ge, he] = f(""), [E, P] = f(null), [ke, ve] = f(!1), N = Ne(null), I = fe || N;
63
+ k(() => {
64
+ const e = () => {
65
+ const r = I.current || N.current;
66
+ r && ve(r.scrollWidth > r.clientWidth);
65
67
  };
66
- return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
67
- }, [o, n]), g(() => {
68
- u(n);
69
- }, [D, n]), g(() => {
70
- o !== null && o !== n && E(o, I);
71
- }, [o, I]);
72
- const z = () => {
73
- K?.(!s), _(!s);
74
- }, he = (t) => {
75
- if (t.keyCode === 9 || t.key === "Enter") {
76
- const l = $.current || S.current;
77
- l && (u(ue), l.blur());
68
+ return e(), window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
69
+ }, [a, i]), k(() => {
70
+ p(i);
71
+ }, [re, i]), k(() => {
72
+ a !== null && a !== i && V(a, E);
73
+ }, [a, E]);
74
+ const B = () => {
75
+ O?.(!u), K(!u);
76
+ }, we = (e) => {
77
+ if (e.keyCode === 9 || e.key === "Enter") {
78
+ const r = I.current || N.current;
79
+ r && (p(ge), r.blur());
78
80
  }
79
- }, xe = (t, l) => {
80
- let x = t;
81
- a && p && (x = p(a, l)), fe(""), u(x), z(), q(l);
82
- }, be = () => {
83
- u(""), q(null);
84
- }, ge = (t) => {
85
- k && R && k({
81
+ }, Ce = (e, r) => {
82
+ let q = e;
83
+ s && x && (q = x(s, r)), he(""), p(q), B(), P(r);
84
+ }, ye = () => {
85
+ p(""), P(null);
86
+ }, Se = (e) => {
87
+ y && R && y({
86
88
  key: R,
87
- value: t
89
+ value: e
88
90
  });
89
- }, we = () => {
90
- const t = "border h-8 text-sm rounded-lg block w-full p-2.5 pr-16 font-inter font-medium", l = f ? "border-red-300" : y && i?.color ? `border-${i?.color}-300` : "border-gray-300 dark:border-black-600", x = "placeholder:text-neutral-900 dark:placeholder:text-black-400", ve = `${y && i?.color ? `bg-${i?.color}-50` : "dark:bg-black-600 "} ${L || "text-neutral-900 dark:text-black-200"}`;
91
- return `${t} ${l} ${ve} ${x}`;
92
- }, W = () => o !== null ? o : a && p ? p(a, ne) : n;
93
- return g(() => {
94
- s && !m && (O?.(), _(!1));
95
- }, [s, m, O]), /* @__PURE__ */ r(
91
+ }, Fe = () => {
92
+ const e = "border h-8 text-sm rounded-lg block w-full p-2.5 pr-16 font-inter font-medium", r = "placeholder:text-neutral-900 dark:placeholder:text-black-400";
93
+ return o ? l(
94
+ e,
95
+ r,
96
+ "border-red-300 bg-gray-200 dark:border-black-600 dark:bg-black-600",
97
+ d || "text-neutral-900 dark:text-black-200"
98
+ ) : g && c?.color ? l(
99
+ e,
100
+ r,
101
+ `border-${c.color}-300 bg-${c.color}-50`,
102
+ d || "text-neutral-900 dark:text-black-200"
103
+ ) : be ? l(
104
+ e,
105
+ r,
106
+ "border-[var(--Error-200,#FECACA)] bg-[var(--Error-50,#FEF2F2)] !text-[#475467] dark:border-[var(--Error-200,#FECACA)] dark:bg-[var(--Error-50,#FEF2F2)] dark:!text-[#475467]"
107
+ ) : pe ? l(
108
+ e,
109
+ r,
110
+ "border-[var(--Warning-200,#FEDF89)] bg-[var(--Warning-50,#FFFAEB)] text-neutral-900 dark:text-black-100 dark:border-[var(--Warning-200,#FEDF89)] dark:bg-[var(--Warning-50,#FFFAEB)]"
111
+ ) : xe ? l(
112
+ e,
113
+ r,
114
+ "border-[var(--Success-200,#BBF7D0)] bg-[var(--Success-50,#F0FDF4)] !text-[#101828] dark:border-[var(--Success-200,#BBF7D0)] dark:bg-[var(--Success-50,#F0FDF4)] dark:!text-[#101828]"
115
+ ) : l(
116
+ e,
117
+ r,
118
+ "border-gray-300 bg-gray-200 dark:border-black-600 dark:bg-black-600",
119
+ d || "text-neutral-900 dark:text-black-200"
120
+ );
121
+ }, _ = () => a !== null ? a : s && x ? x(s, se) : i;
122
+ return k(() => {
123
+ u && !b && (j?.(), K(!1));
124
+ }, [u, b, j]), /* @__PURE__ */ n(
96
125
  "div",
97
126
  {
98
- className: b(
127
+ className: l(
99
128
  "flex gap-0.5 w-full relative",
100
- h && w ? "border rounded-lg border-primary-100 p-1" : "",
101
- { "error-field": !!f }
129
+ h && v ? "border rounded-lg border-primary-100 p-1" : "",
130
+ { "error-field": !!o }
102
131
  ),
103
- onMouseEnter: () => N(!0),
104
- onMouseLeave: () => N(!1),
132
+ onMouseEnter: () => F(!0),
133
+ onMouseLeave: () => F(!1),
105
134
  children: [
106
- w && !h ? /* @__PURE__ */ e("div", { className: "w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5" }) : null,
107
- /* @__PURE__ */ r("div", { className: b("flex flex-col w-full"), children: [
108
- /* @__PURE__ */ e(
135
+ v && !h ? /* @__PURE__ */ t("div", { className: "w-1 h-1 bg-primary-600 rounded-full animate-blink mt-1.5" }) : null,
136
+ /* @__PURE__ */ n("div", { className: l("flex flex-col w-full"), children: [
137
+ /* @__PURE__ */ t(
109
138
  "label",
110
139
  {
111
140
  htmlFor: "text",
112
- className: `text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${ee ? "" : "capitalize"} ${te || ""}`,
113
- children: /* @__PURE__ */ r("div", { className: "grid w-full grid-cols-[minmax(0,1fr)_auto] items-start gap-x-1", children: [
114
- /* @__PURE__ */ r("div", { className: "inline-flex min-w-0 items-center gap-1 flex-wrap", children: [
115
- /* @__PURE__ */ e(Le, { label: T || "", required: B || !1, isRequiredConditional: Y || !1 }),
116
- ae && /* @__PURE__ */ e(
141
+ className: `text-xs font-medium text-gray-600 inline-flex items-center gap-1 ${le ? "" : "capitalize"} ${ne || ""}`,
142
+ children: /* @__PURE__ */ n("div", { className: "grid w-full grid-cols-[minmax(0,1fr)_auto] items-start gap-x-1", children: [
143
+ /* @__PURE__ */ n("div", { className: "inline-flex min-w-0 items-center gap-1 flex-wrap", children: [
144
+ /* @__PURE__ */ t(Oe, { label: T || "", required: $ || !1, isRequiredConditional: Z || !1 }),
145
+ de && /* @__PURE__ */ t(
117
146
  $e,
118
147
  {
119
148
  sx: {
@@ -123,44 +152,45 @@ const Pe = Ce(
123
152
  }
124
153
  }
125
154
  ),
126
- le && !J(v) && /* @__PURE__ */ e(Ee, {}),
127
- /* @__PURE__ */ e(Se, { labels: F }),
128
- M && /* @__PURE__ */ e(
129
- V,
155
+ oe && !J(w) && /* @__PURE__ */ t(Le, {}),
156
+ /* @__PURE__ */ t(Ve, { labels: te }),
157
+ A && /* @__PURE__ */ t(
158
+ z,
130
159
  {
131
160
  placement: "top",
132
- title: `${M}${a ? ` | ${a}` : ""}`,
133
- children: /* @__PURE__ */ e("div", { className: "cursor-pointer", children: /* @__PURE__ */ e(Me, { className: "w-icon-sm h-icon-sm" }) })
161
+ title: `${A}${s ? ` | ${s}` : ""}`,
162
+ children: /* @__PURE__ */ t("div", { className: "cursor-pointer", children: /* @__PURE__ */ t(Me, { className: "w-icon-sm h-icon-sm" }) })
134
163
  }
135
- )
164
+ ),
165
+ U
136
166
  ] }),
137
- /* @__PURE__ */ r("div", { className: "flex items-center gap-1 justify-self-end", children: [
138
- J(v) && d ? /* @__PURE__ */ e(
139
- V,
167
+ /* @__PURE__ */ n("div", { className: "flex items-center gap-1 justify-self-end", children: [
168
+ J(w) && m ? /* @__PURE__ */ t(
169
+ z,
140
170
  {
141
171
  placement: "top-end",
142
172
  title: C ?? "",
143
173
  hideTooltip: C == null,
144
174
  className: "cursor-pointer",
145
- children: /* @__PURE__ */ r(
175
+ children: /* @__PURE__ */ n(
146
176
  "div",
147
177
  {
148
- className: b(
178
+ className: l(
149
179
  "inline-flex min-w-[50px] items-center gap-1 rounded-md px-1 py-0.5",
150
- Ke(d)
180
+ Pe(m)
151
181
  ),
152
- onClick: () => oe?.(re),
182
+ onClick: () => ie?.(ae),
153
183
  children: [
154
- /* @__PURE__ */ e(
155
- Be,
184
+ /* @__PURE__ */ t(
185
+ We,
156
186
  {
157
187
  size: 12,
158
- fill: je(d),
159
- fillSecondary: Re(d)
188
+ fill: He(m),
189
+ fillSecondary: je(m)
160
190
  }
161
191
  ),
162
- /* @__PURE__ */ r("span", { className: b("text-xs font-medium leading-4", He(d)), children: [
163
- v,
192
+ /* @__PURE__ */ n("span", { className: l("text-xs font-medium leading-4", Ke(m)), children: [
193
+ w,
164
194
  "%"
165
195
  ] })
166
196
  ]
@@ -168,19 +198,19 @@ const Pe = Ce(
168
198
  )
169
199
  }
170
200
  ) : null,
171
- w && h && k ? /* @__PURE__ */ e(
201
+ v && h && y ? /* @__PURE__ */ t(
172
202
  "button",
173
203
  {
174
204
  id: "btn-master-data-input-add-to-document",
175
205
  className: "cursor-pointer",
176
- onClick: () => ge(n?.toString() || ""),
206
+ onClick: () => Se(i?.toString() || ""),
177
207
  type: "button",
178
- children: /* @__PURE__ */ e(ye, { placement: "top", title: de("Add to document"), children: /* @__PURE__ */ e(
179
- ze,
208
+ children: /* @__PURE__ */ t(Ie, { placement: "top", title: me("Add to document"), children: /* @__PURE__ */ t(
209
+ Ae,
180
210
  {
181
211
  sx: {
182
212
  fontSize: 16,
183
- color: se?.[600] || "var(--color-primary-600)"
213
+ color: ue?.[600] || "var(--color-primary-600)"
184
214
  }
185
215
  }
186
216
  ) })
@@ -190,53 +220,53 @@ const Pe = Ce(
190
220
  ] })
191
221
  }
192
222
  ),
193
- /* @__PURE__ */ r("label", { className: "relative block mt-1", children: [
194
- /* @__PURE__ */ e(
195
- V,
223
+ /* @__PURE__ */ n("label", { className: "relative block mt-1", children: [
224
+ /* @__PURE__ */ t(
225
+ z,
196
226
  {
197
- title: me ? W() : "",
198
- children: /* @__PURE__ */ e(
227
+ title: ke ? _() : "",
228
+ children: /* @__PURE__ */ t(
199
229
  "input",
200
230
  {
201
231
  id: Q,
202
- ref: $,
203
- required: B,
204
- placeholder: U,
205
- className: we(),
206
- onChange: (t) => {
207
- E(t.target.value, I), u(t.target?.value);
232
+ ref: I,
233
+ required: $,
234
+ placeholder: X,
235
+ className: Fe(),
236
+ onChange: (e) => {
237
+ V(e.target.value, E), p(e.target?.value);
208
238
  },
209
- onKeyDown: he,
210
- value: W(),
211
- defaultValue: X,
239
+ onKeyDown: we,
240
+ value: _(),
241
+ defaultValue: Y,
212
242
  disabled: !0,
213
243
  autoComplete: "off",
214
- onBlur: ie
244
+ onBlur: ce
215
245
  }
216
246
  )
217
247
  }
218
248
  ),
219
- /* @__PURE__ */ e(
220
- A,
249
+ /* @__PURE__ */ t(
250
+ D,
221
251
  {
222
252
  id: "btn-dynamic-data-input-rx-cross",
223
- onClick: be,
253
+ onClick: ye,
224
254
  className: "absolute inset-y-0 right-1 flex items-center px-2 focus:border-transparent",
225
255
  variant: "ghost",
226
- disabled: j,
227
- children: /* @__PURE__ */ e(Oe, { className: "w-6 h-6 text-neutral-500 dark:text-neutral-400 w-sm h-sm" })
256
+ disabled: L,
257
+ children: /* @__PURE__ */ t(_e, { className: "w-6 h-6 text-neutral-500 dark:text-neutral-400 w-sm h-sm" })
228
258
  }
229
259
  ),
230
- /* @__PURE__ */ e(
231
- A,
260
+ /* @__PURE__ */ t(
261
+ D,
232
262
  {
233
263
  id: "btn-dynamic-data-input-ai-outline-pic-center",
234
- onClick: z,
264
+ onClick: B,
235
265
  className: "absolute inset-y-0 right-8 flex items-center px-2 focus:border-transparent",
236
266
  variant: "ghost",
237
- disabled: j,
238
- children: /* @__PURE__ */ e(
239
- Ve,
267
+ disabled: L,
268
+ children: /* @__PURE__ */ t(
269
+ Re,
240
270
  {
241
271
  className: "text-neutral-500 dark:text-neutral-400 w-sm h-sm"
242
272
  }
@@ -244,42 +274,42 @@ const Pe = Ce(
244
274
  }
245
275
  )
246
276
  ] }),
247
- f && /* @__PURE__ */ e(
248
- Ie,
277
+ o && /* @__PURE__ */ t(
278
+ ze,
249
279
  {
250
280
  className: "text-error-500 mt-1",
251
281
  appearance: "custom",
252
282
  size: "extra-small",
253
283
  variant: "medium",
254
- children: f
284
+ children: o
255
285
  }
256
286
  ),
257
- s && P && /* @__PURE__ */ e(
258
- P,
287
+ u && H && /* @__PURE__ */ t(
288
+ H,
259
289
  {
260
- isVisible: s,
261
- onSelected: xe,
262
- onClose: z,
263
- masterDataColumnName: Z,
264
- masterDataFilters: G,
265
- masterDataName: m,
266
- masterDataId: m,
290
+ isVisible: u,
291
+ onSelected: Ce,
292
+ onClose: B,
293
+ masterDataColumnName: G,
294
+ masterDataFilters: ee,
295
+ masterDataName: b,
296
+ masterDataId: b,
267
297
  showFilters: !0
268
298
  }
269
299
  )
270
300
  ] }),
271
- h && i && y && H && /* @__PURE__ */ e(
301
+ h && c && W && M && /* @__PURE__ */ t(
272
302
  "div",
273
303
  {
274
304
  role: "tooltip",
275
305
  tabIndex: 0,
276
306
  className: "absolute left-0 right-0 top-[95%] mt-1 z-50 bg-white dark:bg-black-600 rounded-xl",
277
- onClick: (t) => t.stopPropagation(),
278
- onMouseDown: (t) => t.preventDefault(),
279
- onKeyDown: (t) => {
280
- t.key === "Escape" && N(!1);
307
+ onClick: (e) => e.stopPropagation(),
308
+ onMouseDown: (e) => e.preventDefault(),
309
+ onKeyDown: (e) => {
310
+ e.key === "Escape" && F(!1);
281
311
  },
282
- children: /* @__PURE__ */ e(H, { riskDetails: i })
312
+ children: /* @__PURE__ */ t(M, { riskDetails: c })
283
313
  }
284
314
  )
285
315
  ]
@@ -287,8 +317,8 @@ const Pe = Ce(
287
317
  );
288
318
  }
289
319
  );
290
- Pe.displayName = "MasterDataInputField";
320
+ qe.displayName = "MasterDataInputField";
291
321
  export {
292
- Pe as MasterDataInputField
322
+ qe as MasterDataInputField
293
323
  };
294
324
  //# sourceMappingURL=MasterDataInputField.es.js.map