@isettingkit/business-rules 0.1.15 → 0.1.16

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 (2) hide show
  1. package/dist/index.es.js +109 -110
  2. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -1,21 +1,21 @@
1
- import { jsxs as h, jsx as n, Fragment as R } from "react/jsx-runtime";
1
+ import { jsxs as g, jsx as n, Fragment as F } from "react/jsx-runtime";
2
2
  import { useFormik as Q } from "formik";
3
- import { useState as x, useEffect as P } from "react";
4
- import { Divider as V } from "@inubekit/divider";
3
+ import { useState as x, useEffect as q } from "react";
4
+ import { Divider as E } from "@inubekit/divider";
5
5
  import { Stack as o } from "@inubekit/stack";
6
6
  import { Text as y } from "@inubekit/text";
7
- import { Toggle as $ } from "@inubekit/toggle";
8
- import { ValueHowToSetUp as f, ValueDataType as j, parsePercentageString as Z, DecisionConditionRenderer as L } from "@isettingkit/input";
7
+ import { Toggle as P } from "@inubekit/toggle";
8
+ import { ValueHowToSetUp as f, ValueDataType as R, parsePercentageString as Z, DecisionConditionRenderer as U } from "@isettingkit/input";
9
9
  import { Textarea as J } from "@inubekit/textarea";
10
- import { Date as M } from "@inubekit/date";
10
+ import { Date as L } from "@inubekit/date";
11
11
  import { Checkbox as K } from "@inubekit/checkbox";
12
- import { Button as z } from "@inubekit/button";
13
- import { object as B, string as H, number as F, mixed as I } from "yup";
14
- import { DecisionViewConditionRenderer as A } from "@isettingkit/view";
12
+ import { Button as M } from "@inubekit/button";
13
+ import { object as $, string as z, number as O, mixed as H } from "yup";
14
+ import { DecisionViewConditionRenderer as V } from "@isettingkit/view";
15
15
  import { MdOutlineRemoveRedEye as W, MdOutlineDelete as X } from "react-icons/md";
16
- import { Icon as N } from "@inubekit/icon";
16
+ import { Icon as I } from "@inubekit/icon";
17
17
  import { inube as Y } from "@inubekit/foundations";
18
- import G from "styled-components";
18
+ import B from "styled-components";
19
19
  const ee = (t) => {
20
20
  const {
21
21
  label: e,
@@ -25,7 +25,7 @@ const ee = (t) => {
25
25
  required: c,
26
26
  value: m = ""
27
27
  } = t, [d, b] = x(m);
28
- return /* @__PURE__ */ h(o, { direction: "column", margin: "10px 4px", children: [
28
+ return /* @__PURE__ */ g(o, { direction: "column", margin: "10px 4px", children: [
29
29
  /* @__PURE__ */ n(y, { size: "large", appearance: "gray", weight: "bold", margin: "10px 0", children: a }),
30
30
  /* @__PURE__ */ n(o, { margin: "10px 0", children: /* @__PURE__ */ n(
31
31
  J,
@@ -55,11 +55,11 @@ const ee = (t) => {
55
55
  } = t, [b, C] = x(e), p = (v) => {
56
56
  C(v.target.checked), i(v);
57
57
  };
58
- return P(() => {
58
+ return q(() => {
59
59
  C(e);
60
- }, [e]), /* @__PURE__ */ h(R, { children: [
60
+ }, [e]), /* @__PURE__ */ g(F, { children: [
61
61
  /* @__PURE__ */ n(o, { children: /* @__PURE__ */ n(
62
- $,
62
+ P,
63
63
  {
64
64
  checked: b,
65
65
  id: l,
@@ -71,7 +71,7 @@ const ee = (t) => {
71
71
  children: /* @__PURE__ */ n(y, { size: "medium", type: "label", weight: "bold", children: c })
72
72
  }
73
73
  ) }),
74
- b && /* @__PURE__ */ n(R, { children: a })
74
+ b && /* @__PURE__ */ n(F, { children: a })
75
75
  ] });
76
76
  }, te = (t) => {
77
77
  const {
@@ -83,9 +83,9 @@ const ee = (t) => {
83
83
  required: m = !1,
84
84
  valueStart: d = "",
85
85
  valueEnd: b = ""
86
- } = t, [C, p] = x(c), [v, E] = x(d), [S, T] = x(b);
87
- return /* @__PURE__ */ h(R, { children: [
88
- /* @__PURE__ */ h(o, { direction: "row", justifyContent: "space-between", margin: "10px 0", children: [
86
+ } = t, [C, p] = x(c), [v, w] = x(d), [S, T] = x(b);
87
+ return /* @__PURE__ */ g(F, { children: [
88
+ /* @__PURE__ */ g(o, { direction: "row", justifyContent: "space-between", margin: "10px 0", children: [
89
89
  /* @__PURE__ */ n(o, { children: /* @__PURE__ */ n(
90
90
  y,
91
91
  {
@@ -118,14 +118,14 @@ const ee = (t) => {
118
118
  }
119
119
  )
120
120
  ] }),
121
- /* @__PURE__ */ h(o, { justifyContent: "space-between", gap: "24px", children: [
121
+ /* @__PURE__ */ g(o, { justifyContent: "space-between", gap: "24px", children: [
122
122
  /* @__PURE__ */ n(o, { width: "189px", children: /* @__PURE__ */ n(
123
- M,
123
+ L,
124
124
  {
125
125
  id: "dateStart",
126
126
  label: i,
127
127
  onChange: (s) => {
128
- E(s.target.value), e(s);
128
+ w(s.target.value), e(s);
129
129
  },
130
130
  value: v,
131
131
  required: m,
@@ -133,7 +133,7 @@ const ee = (t) => {
133
133
  }
134
134
  ) }),
135
135
  C && /* @__PURE__ */ n(o, { width: "189px", children: /* @__PURE__ */ n(
136
- M,
136
+ L,
137
137
  {
138
138
  id: "dateEnd",
139
139
  label: l,
@@ -147,13 +147,13 @@ const ee = (t) => {
147
147
  ) })
148
148
  ] })
149
149
  ] });
150
- }, _ = (t) => {
150
+ }, N = (t) => {
151
151
  if ("value" in t && "valueUse" in t && t.value !== void 0) {
152
152
  const e = t.value, a = typeof e == "object" && "from" in e && typeof e.from == "number" ? e.from : 0, i = typeof e == "object" && "to" in e && typeof e.to == "number" ? e.to : 1 / 0;
153
153
  switch (t.valueUse) {
154
154
  case f.LIST_OF_VALUES:
155
155
  return {
156
- schema: I().test(
156
+ schema: H().test(
157
157
  "isArrayOrString",
158
158
  "Must be an array of strings/numbers or a single string",
159
159
  (l) => Array.isArray(l) ? l.every(
@@ -164,7 +164,7 @@ const ee = (t) => {
164
164
  };
165
165
  case f.LIST_OF_VALUES_MULTI:
166
166
  return {
167
- schema: I().test(
167
+ schema: H().test(
168
168
  "isArrayOrString",
169
169
  "Must be an array of strings/numbers or a single string",
170
170
  (l) => Array.isArray(l) ? l.every(
@@ -175,9 +175,9 @@ const ee = (t) => {
175
175
  };
176
176
  case f.RANGE:
177
177
  return {
178
- schema: B({
179
- from: F().required("Range From is required").max(i, "'Range From' cannot be greater than 'Range To'").min(0, "'Range From' cannot be less than 0"),
180
- to: F().required("Range To is required").min(a, "'Range To' cannot be less than 'Range From'").min(0, "'Range To' cannot be less than 0")
178
+ schema: $({
179
+ from: O().required("Range From is required").max(i, "'Range From' cannot be greater than 'Range To'").min(0, "'Range From' cannot be less than 0"),
180
+ to: O().required("Range To is required").min(a, "'Range To' cannot be less than 'Range From'").min(0, "'Range To' cannot be less than 0")
181
181
  }),
182
182
  value: {
183
183
  from: a,
@@ -187,16 +187,16 @@ const ee = (t) => {
187
187
  case f.GREATER_THAN:
188
188
  case f.LESS_THAN:
189
189
  case f.EQUAL:
190
- return t.dataType === j.PERCENTAGE ? {
191
- schema: F().required("Percentage is required").min(0, "Percentage cannot be less than 0").max(100, "Percentage cannot be greater than 100"),
190
+ return t.dataType === R.PERCENTAGE ? {
191
+ schema: O().required("Percentage is required").min(0, "Percentage cannot be less than 0").max(100, "Percentage cannot be greater than 100"),
192
192
  value: e
193
193
  } : {
194
- schema: H().required("Required"),
194
+ schema: z().required("Required"),
195
195
  value: e
196
196
  };
197
197
  default:
198
198
  return {
199
- schema: H(),
199
+ schema: z(),
200
200
  value: void 0
201
201
  };
202
202
  }
@@ -204,14 +204,14 @@ const ee = (t) => {
204
204
  }, ae = (t) => {
205
205
  const e = {}, a = {};
206
206
  if (t) {
207
- const i = _(t);
207
+ const i = N(t);
208
208
  i && (e[t.name] = i.schema, a[t.name] = i.value);
209
209
  }
210
210
  return t.conditions && t.conditions.forEach((i) => {
211
- const l = _(i);
211
+ const l = N(i);
212
212
  l && (e[i.name] = l.schema, a[i.name] = l.value);
213
- }), { validationSchema: B().shape(e), initialValues: a };
214
- }, U = (t) => {
213
+ }), { validationSchema: $().shape(e), initialValues: a };
214
+ }, j = (t) => {
215
215
  if (typeof t == "string")
216
216
  return t;
217
217
  if (typeof t == "object" && ("from" in t || "to" in t))
@@ -221,12 +221,11 @@ const ee = (t) => {
221
221
  };
222
222
  for (const e in t)
223
223
  if (Object.prototype.hasOwnProperty.call(t, e)) {
224
- const a = U(t[e]);
224
+ const a = j(t[e]);
225
225
  if (a) return a;
226
226
  }
227
227
  return "";
228
228
  }, re = (t) => {
229
- var D;
230
229
  const {
231
230
  decision: e,
232
231
  formik: a,
@@ -237,32 +236,32 @@ const ee = (t) => {
237
236
  textValues: d,
238
237
  onCancel: b,
239
238
  onSubmit: C
240
- } = t, [p, v] = x(!1), [E, S] = x(!0), T = {
239
+ } = t, [p, v] = x(!1), [w, S] = x(!0), T = {
241
240
  name: e.name,
242
241
  dataType: e.dataType,
243
242
  value: e.dataType === "percentage" ? Z(e.value) : e.value,
244
243
  valueUse: e.valueUse,
245
244
  possibleValue: e.possibleValue
246
245
  };
247
- P(() => {
246
+ q(() => {
248
247
  console.log("Updated formik.errors in RulesFormUI:", a.errors);
249
248
  }, [a.errors]);
250
- const k = (r) => {
249
+ const D = (r) => {
251
250
  v(r.target.checked);
252
- }, w = (r) => {
251
+ }, k = (r) => {
253
252
  r.target.value ? S(!1) : S(!0);
254
253
  }, u = (r) => {
255
- const g = U(a.errors[r] || {});
256
- return typeof g == "string" ? g ? "invalid" : "pending" : g;
254
+ const h = j(a.errors[r] || {});
255
+ return typeof h == "string" ? h ? "invalid" : "pending" : h;
257
256
  }, s = (r) => {
258
- const g = U(a.errors[r] || {});
259
- return g;
257
+ const h = j(a.errors[r] || {});
258
+ return h;
260
259
  };
261
- return /* @__PURE__ */ h(o, { direction: "column", gap: "24px", children: [
262
- /* @__PURE__ */ h(o, { direction: "column", gap: "16", children: [
260
+ return /* @__PURE__ */ g(o, { direction: "column", gap: "24px", children: [
261
+ /* @__PURE__ */ g(o, { direction: "column", gap: "16", children: [
263
262
  /* @__PURE__ */ n(y, { weight: "bold", size: "medium", children: d.criteria }),
264
263
  e && /* @__PURE__ */ n(
265
- L,
264
+ U,
266
265
  {
267
266
  element: T,
268
267
  onDecision: l,
@@ -278,15 +277,15 @@ const ee = (t) => {
278
277
  }
279
278
  )
280
279
  ] }),
281
- /* @__PURE__ */ n(V, { dashed: !0 }),
282
- /* @__PURE__ */ h(o, { direction: "column", children: [
283
- /* @__PURE__ */ h(o, { direction: "row", gap: "16px", justifyContent: "space-between", children: [
280
+ /* @__PURE__ */ n(E, { dashed: !0 }),
281
+ /* @__PURE__ */ g(o, { direction: "column", children: [
282
+ /* @__PURE__ */ g(o, { direction: "row", gap: "16px", justifyContent: "space-between", children: [
284
283
  /* @__PURE__ */ n(y, { children: d.factsThatConditionIt }),
285
284
  /* @__PURE__ */ n(
286
- $,
285
+ P,
287
286
  {
288
287
  id: "toogleNone",
289
- onChange: k,
288
+ onChange: D,
290
289
  checked: p,
291
290
  size: "small",
292
291
  children: /* @__PURE__ */ n(y, { size: "medium", type: "label", weight: "bold", children: d.none })
@@ -297,8 +296,8 @@ const ee = (t) => {
297
296
  ne,
298
297
  {
299
298
  checked: !p,
300
- handleToggleChange: (g) => {
301
- g.target.checked || i(
299
+ handleToggleChange: (h) => {
300
+ h.target.checked || i(
302
301
  {
303
302
  value: "",
304
303
  to: 0,
@@ -312,7 +311,7 @@ const ee = (t) => {
312
311
  labelToggle: r.name.split(/(?=[A-Z])/).join(" "),
313
312
  name: r.name.replace(" ", ""),
314
313
  children: /* @__PURE__ */ n(
315
- L,
314
+ U,
316
315
  {
317
316
  element: r,
318
317
  onDecision: i,
@@ -322,26 +321,26 @@ const ee = (t) => {
322
321
  textValues: {
323
322
  selectOptions: "Select an option",
324
323
  selectOption: "Option selected",
325
- rangeMin: (g) => `Minimum ${g}`,
326
- rangeMax: (g) => `Maximum ${g}`
324
+ rangeMin: (h) => `Minimum ${h}`,
325
+ rangeMax: (h) => `Maximum ${h}`
327
326
  }
328
327
  }
329
328
  )
330
329
  }
331
330
  ) }, r.name))
332
331
  ] }),
333
- /* @__PURE__ */ n(V, { dashed: !0 }),
332
+ /* @__PURE__ */ n(E, { dashed: !0 }),
334
333
  /* @__PURE__ */ n(o, { direction: "column", children: /* @__PURE__ */ n(
335
334
  ee,
336
335
  {
337
336
  label: d.reasonForChange,
338
337
  labelText: d.change,
339
- onHandleChange: w,
338
+ onHandleChange: k,
340
339
  placeholder: d.changePlaceholder,
341
340
  required: !0
342
341
  }
343
342
  ) }),
344
- /* @__PURE__ */ n(V, { dashed: !0 }),
343
+ /* @__PURE__ */ n(E, { dashed: !0 }),
345
344
  /* @__PURE__ */ n(o, { direction: "column", children: e && /* @__PURE__ */ n(
346
345
  te,
347
346
  {
@@ -350,18 +349,18 @@ const ee = (t) => {
350
349
  labelStart: d.termStart,
351
350
  labelEnd: d.termEnd,
352
351
  checkedClosed: !!e.endDate,
353
- valueStart: e.startDate.toLocaleDateString("en-CA"),
354
- valueEnd: ((D = e.endDate) == null ? void 0 : D.toLocaleDateString("en-CA")) || ""
352
+ valueStart: String(e.startDate),
353
+ valueEnd: String(e.endDate) || ""
355
354
  }
356
355
  ) }),
357
- /* @__PURE__ */ n(V, { dashed: !0 }),
358
- /* @__PURE__ */ h(o, { direction: "row", justifyContent: "end", gap: "16px", children: [
359
- /* @__PURE__ */ n(z, { appearance: "gray", onClick: b, children: d.cancel }),
356
+ /* @__PURE__ */ n(E, { dashed: !0 }),
357
+ /* @__PURE__ */ g(o, { direction: "row", justifyContent: "end", gap: "16px", children: [
358
+ /* @__PURE__ */ n(M, { appearance: "gray", onClick: b, children: d.cancel }),
360
359
  /* @__PURE__ */ n(
361
- z,
360
+ M,
362
361
  {
363
362
  onClick: C,
364
- disabled: E || !a.isValid,
363
+ disabled: w || !a.isValid,
365
364
  type: "submit",
366
365
  children: d.confirm
367
366
  }
@@ -370,33 +369,33 @@ const ee = (t) => {
370
369
  ] });
371
370
  }, ke = (t) => {
372
371
  const { id: e, decision: a, onCancel: i, onSubmitEvent: l, textValues: c } = t, [m, d] = x(a), b = (u, s) => {
373
- k.setFieldValue(u, s), k.validateField(u);
372
+ D.setFieldValue(u, s), D.validateField(u);
374
373
  }, C = (u, s) => {
375
- const D = u instanceof Date ? u.toISOString() : u;
376
- d((r) => {
377
- if (!r.conditions)
378
- return r;
379
- const g = r.conditions.map((O) => O.name === s ? { ...O, value: D } : O);
374
+ const r = u instanceof Date ? u.toISOString() : u;
375
+ d((h) => {
376
+ if (!h.conditions)
377
+ return h;
378
+ const G = h.conditions.map((A) => A.name === s ? { ...A, value: r } : A);
380
379
  return {
381
- ...r,
382
- conditions: g
380
+ ...h,
381
+ conditions: G
383
382
  };
384
- }), b(s, D);
383
+ }), b(s, r);
385
384
  }, p = (u) => {
386
385
  d(
387
- (s) => w(s, "value", u)
386
+ (s) => k(s, "value", u)
388
387
  );
389
388
  }, v = (u) => {
390
389
  d(
391
- (s) => w(s, "endDate", new Date(u))
390
+ (s) => k(s, "endDate", u)
392
391
  );
393
- }, E = (u) => {
392
+ }, w = (u) => {
394
393
  d(
395
- (s) => w(s, "startDate", new Date(u))
394
+ (s) => k(s, "startDate", u)
396
395
  );
397
396
  }, { validationSchema: S, initialValues: T } = ae(m);
398
397
  S.validate(T, { abortEarly: !1 }).then(() => console.log("Validation passed")).catch((u) => console.log("Validation failed:", u.errors));
399
- const k = Q({
398
+ const D = Q({
400
399
  initialValues: T,
401
400
  validationSchema: S,
402
401
  validateOnChange: !0,
@@ -404,27 +403,27 @@ const ee = (t) => {
404
403
  onSubmit: () => {
405
404
  l(m);
406
405
  }
407
- }), w = (u, s, D) => ({
406
+ }), k = (u, s, r) => ({
408
407
  ...u,
409
408
  ...u.decision,
410
- [s]: D
409
+ [s]: r
411
410
  });
412
411
  return /* @__PURE__ */ n(
413
412
  re,
414
413
  {
415
414
  id: e,
416
- formik: k,
415
+ formik: D,
417
416
  decision: m,
418
417
  onCancel: i,
419
418
  onSubmit: () => l(m),
420
419
  onChangeCondition: C,
421
420
  onChangeDecision: p,
422
- onStartChange: E,
421
+ onStartChange: w,
423
422
  onEndChange: v,
424
423
  textValues: c
425
424
  }
426
425
  );
427
- }, q = (t) => {
426
+ }, _ = (t) => {
428
427
  if (!t)
429
428
  return;
430
429
  const e = t.value;
@@ -452,44 +451,44 @@ const ee = (t) => {
452
451
  value: e.value,
453
452
  valueUse: e.valueUse
454
453
  };
455
- return /* @__PURE__ */ h(o, { direction: "column", gap: "24px", children: [
456
- /* @__PURE__ */ h(o, { direction: "column", gap: "16px", children: [
454
+ return /* @__PURE__ */ g(o, { direction: "column", gap: "24px", children: [
455
+ /* @__PURE__ */ g(o, { direction: "column", gap: "16px", children: [
457
456
  /* @__PURE__ */ n(y, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: a.criteria }),
458
457
  /* @__PURE__ */ n(o, { justifyContent: "space-between", children: e && /* @__PURE__ */ n(o, { direction: "column", children: /* @__PURE__ */ n(
459
- A,
458
+ V,
460
459
  {
461
460
  element: l,
462
- valueData: q(l)
461
+ valueData: _(l)
463
462
  }
464
463
  ) }, e.name) })
465
464
  ] }),
466
- /* @__PURE__ */ h(o, { direction: "column", gap: "16px", justifyContent: "space-between", children: [
465
+ /* @__PURE__ */ g(o, { direction: "column", gap: "16px", justifyContent: "space-between", children: [
467
466
  /* @__PURE__ */ n(y, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: a.factsThatConditionIt }),
468
467
  e.conditions && e.conditions.map((c) => {
469
468
  const m = c.value;
470
469
  return (typeof m == "object" && i(m) || m) && /* @__PURE__ */ n(o, { direction: "column", children: /* @__PURE__ */ n(
471
- A,
470
+ V,
472
471
  {
473
472
  element: {
474
473
  ...c,
475
474
  value: m
476
475
  },
477
- valueData: q(c)
476
+ valueData: _(c)
478
477
  }
479
478
  ) }, c.name);
480
479
  })
481
480
  ] }),
482
- /* @__PURE__ */ h(o, { direction: "column", gap: "12px", children: [
481
+ /* @__PURE__ */ g(o, { direction: "column", gap: "12px", children: [
483
482
  /* @__PURE__ */ n(y, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: a.terms }),
484
- /* @__PURE__ */ h(o, { justifyContent: "space-between", children: [
483
+ /* @__PURE__ */ g(o, { justifyContent: "space-between", children: [
485
484
  (e == null ? void 0 : e.startDate) && /* @__PURE__ */ n(
486
- A,
485
+ V,
487
486
  {
488
487
  element: {
489
488
  name: "Fecha de inicio",
490
489
  value: String(e.startDate),
491
490
  valueUse: f.EQUAL,
492
- dataType: j.DATE
491
+ dataType: R.DATE
493
492
  },
494
493
  valueData: new Date(e.startDate).toLocaleDateString(
495
494
  "en-CA"
@@ -498,13 +497,13 @@ const ee = (t) => {
498
497
  "startDate"
499
498
  ),
500
499
  (e == null ? void 0 : e.endDate) && /* @__PURE__ */ n(
501
- A,
500
+ V,
502
501
  {
503
502
  element: {
504
503
  name: "Fecha de final",
505
504
  value: String(e.endDate),
506
505
  valueUse: f.EQUAL,
507
- dataType: j.DATE
506
+ dataType: R.DATE
508
507
  },
509
508
  valueData: new Date(e.endDate).toLocaleDateString("en-CA")
510
509
  },
@@ -513,7 +512,7 @@ const ee = (t) => {
513
512
  ] })
514
513
  ] })
515
514
  ] });
516
- }, oe = G.div`
515
+ }, oe = B.div`
517
516
  border-radius: 8px;
518
517
  border: 1px solid ${Y.palette.neutral.N30};
519
518
  box-sizing: border-box;
@@ -522,7 +521,7 @@ const ee = (t) => {
522
521
  height: 340px;
523
522
  width: 332px;
524
523
  box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.1);
525
- `, ie = G.div`
524
+ `, ie = B.div`
526
525
  width: 100%;
527
526
  height: 100%;
528
527
  overflow-y: auto;
@@ -542,13 +541,13 @@ const ee = (t) => {
542
541
  }
543
542
  `, Ee = (t) => {
544
543
  const { children: e, handleDelete: a, handleView: i, id: l } = t;
545
- return /* @__PURE__ */ h(oe, { children: [
544
+ return /* @__PURE__ */ g(oe, { children: [
546
545
  /* @__PURE__ */ n(o, { height: "282px", gap: "24px", direction: "column", children: /* @__PURE__ */ n(ie, { children: /* @__PURE__ */ n(o, { direction: "column", margin: "10px", children: e }) }) }),
547
- /* @__PURE__ */ h(o, { gap: "16px", direction: "column", margin: "2px 12px", children: [
548
- /* @__PURE__ */ n(V, {}),
549
- /* @__PURE__ */ h(o, { gap: "16px", justifyContent: "end", children: [
546
+ /* @__PURE__ */ g(o, { gap: "16px", direction: "column", margin: "2px 12px", children: [
547
+ /* @__PURE__ */ n(E, {}),
548
+ /* @__PURE__ */ g(o, { gap: "16px", justifyContent: "end", children: [
550
549
  /* @__PURE__ */ n(
551
- N,
550
+ I,
552
551
  {
553
552
  appearance: "dark",
554
553
  size: "24px",
@@ -560,7 +559,7 @@ const ee = (t) => {
560
559
  }
561
560
  ),
562
561
  /* @__PURE__ */ n(
563
- N,
562
+ I,
564
563
  {
565
564
  cursorHover: !0,
566
565
  appearance: "dark",
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "description": "",
12
12
  "private": false,
13
- "version": "0.1.15",
13
+ "version": "0.1.16",
14
14
  "type": "module",
15
15
  "exports": {
16
16
  ".": {
@@ -48,7 +48,7 @@
48
48
  "@inubekit/text": "^2.17.0",
49
49
  "@inubekit/textarea": "^2.45.0",
50
50
  "@inubekit/toggle": "^3.8.2",
51
- "@isettingkit/input": "^0.1.23",
51
+ "@isettingkit/input": "^0.1.24",
52
52
  "@isettingkit/view": "^0.1.13"
53
53
  },
54
54
  "peerDependencies": {