@misael703/ui 1.49.0 → 1.50.0

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 (144) hide show
  1. package/dist/{chunk-LL7PZ6Q3.js → chunk-2IKGRN2O.js} +12 -12
  2. package/dist/{chunk-LL7PZ6Q3.js.map → chunk-2IKGRN2O.js.map} +1 -1
  3. package/dist/{chunk-KTK5EPQP.js → chunk-2XIFGGF2.js} +7 -7
  4. package/dist/{chunk-KTK5EPQP.js.map → chunk-2XIFGGF2.js.map} +1 -1
  5. package/dist/{chunk-A2U72HLY.mjs → chunk-3TS54SJB.mjs} +5 -5
  6. package/dist/{chunk-A2U72HLY.mjs.map → chunk-3TS54SJB.mjs.map} +1 -1
  7. package/dist/{chunk-QK3COHER.mjs → chunk-4LU36CNV.mjs} +3 -3
  8. package/dist/{chunk-QK3COHER.mjs.map → chunk-4LU36CNV.mjs.map} +1 -1
  9. package/dist/{chunk-XLKTIQTD.js → chunk-5UBYEEOF.js} +8 -8
  10. package/dist/{chunk-XLKTIQTD.js.map → chunk-5UBYEEOF.js.map} +1 -1
  11. package/dist/{chunk-VREEDSRE.js → chunk-64YL7DN5.js} +4 -4
  12. package/dist/{chunk-VREEDSRE.js.map → chunk-64YL7DN5.js.map} +1 -1
  13. package/dist/{chunk-KAQJWVXS.js → chunk-AKUGR3AX.js} +7 -7
  14. package/dist/{chunk-KAQJWVXS.js.map → chunk-AKUGR3AX.js.map} +1 -1
  15. package/dist/{chunk-BY4VPPA4.mjs → chunk-AP655IUN.mjs} +3 -3
  16. package/dist/{chunk-BY4VPPA4.mjs.map → chunk-AP655IUN.mjs.map} +1 -1
  17. package/dist/{chunk-RS74LVAT.mjs → chunk-C4XPGEU2.mjs} +4 -4
  18. package/dist/{chunk-RS74LVAT.mjs.map → chunk-C4XPGEU2.mjs.map} +1 -1
  19. package/dist/{chunk-QTSZWDZR.js → chunk-CJLCPURD.js} +5 -5
  20. package/dist/{chunk-QTSZWDZR.js.map → chunk-CJLCPURD.js.map} +1 -1
  21. package/dist/{chunk-SRSVD5AT.mjs → chunk-D6YFA5HW.mjs} +117 -6
  22. package/dist/chunk-D6YFA5HW.mjs.map +1 -0
  23. package/dist/{chunk-5BACX5CP.mjs → chunk-EE3VOAU4.mjs} +4 -4
  24. package/dist/{chunk-5BACX5CP.mjs.map → chunk-EE3VOAU4.mjs.map} +1 -1
  25. package/dist/{chunk-DQMKMRE4.js → chunk-EI2V2GGG.js} +6 -6
  26. package/dist/{chunk-DQMKMRE4.js.map → chunk-EI2V2GGG.js.map} +1 -1
  27. package/dist/{chunk-TMSEACN2.mjs → chunk-FI5U4TL5.mjs} +4 -4
  28. package/dist/{chunk-TMSEACN2.mjs.map → chunk-FI5U4TL5.mjs.map} +1 -1
  29. package/dist/{chunk-HCOJH3W3.mjs → chunk-H6ZT2DJ2.mjs} +3 -2
  30. package/dist/chunk-H6ZT2DJ2.mjs.map +1 -0
  31. package/dist/{chunk-NZNTB5OI.js → chunk-JDK4GEME.js} +2 -2
  32. package/dist/chunk-JDK4GEME.js.map +1 -0
  33. package/dist/{chunk-4IJTH556.mjs → chunk-JL77KUET.mjs} +3 -3
  34. package/dist/{chunk-4IJTH556.mjs.map → chunk-JL77KUET.mjs.map} +1 -1
  35. package/dist/{chunk-AJNQDMWF.js → chunk-L5R6FKHH.js} +4 -4
  36. package/dist/{chunk-AJNQDMWF.js.map → chunk-L5R6FKHH.js.map} +1 -1
  37. package/dist/{chunk-PGTOBPHI.mjs → chunk-LDCG4KDI.mjs} +3 -3
  38. package/dist/{chunk-PGTOBPHI.mjs.map → chunk-LDCG4KDI.mjs.map} +1 -1
  39. package/dist/{chunk-GNRWMXHN.mjs → chunk-LPKS5CM5.mjs} +5 -5
  40. package/dist/{chunk-GNRWMXHN.mjs.map → chunk-LPKS5CM5.mjs.map} +1 -1
  41. package/dist/{chunk-2KBQSARY.mjs → chunk-MG4MFZL3.mjs} +4 -4
  42. package/dist/{chunk-2KBQSARY.mjs.map → chunk-MG4MFZL3.mjs.map} +1 -1
  43. package/dist/{chunk-SVXJ2IPG.js → chunk-MIUDP3FD.js} +8 -8
  44. package/dist/{chunk-SVXJ2IPG.js.map → chunk-MIUDP3FD.js.map} +1 -1
  45. package/dist/{chunk-WXODIWH7.js → chunk-MJMLNETS.js} +3 -2
  46. package/dist/chunk-MJMLNETS.js.map +1 -0
  47. package/dist/{chunk-KKJDF3EL.mjs → chunk-MMFYXM3J.mjs} +4 -4
  48. package/dist/{chunk-KKJDF3EL.mjs.map → chunk-MMFYXM3J.mjs.map} +1 -1
  49. package/dist/{chunk-5DFEMKK5.js → chunk-MR2KQSBB.js} +10 -10
  50. package/dist/{chunk-5DFEMKK5.js.map → chunk-MR2KQSBB.js.map} +1 -1
  51. package/dist/{chunk-YWRVGG7Q.js → chunk-N5N5K36B.js} +6 -6
  52. package/dist/{chunk-YWRVGG7Q.js.map → chunk-N5N5K36B.js.map} +1 -1
  53. package/dist/{chunk-7SMQLCIU.js → chunk-OG4IEN7J.js} +8 -8
  54. package/dist/{chunk-7SMQLCIU.js.map → chunk-OG4IEN7J.js.map} +1 -1
  55. package/dist/{chunk-LT52N2KJ.mjs → chunk-OSR32MPG.mjs} +4 -4
  56. package/dist/{chunk-LT52N2KJ.mjs.map → chunk-OSR32MPG.mjs.map} +1 -1
  57. package/dist/{chunk-64X5LNXF.mjs → chunk-PDZN6KBV.mjs} +4 -4
  58. package/dist/{chunk-64X5LNXF.mjs.map → chunk-PDZN6KBV.mjs.map} +1 -1
  59. package/dist/{chunk-JSKNG7Y2.js → chunk-Q4MSQLMS.js} +13 -13
  60. package/dist/{chunk-JSKNG7Y2.js.map → chunk-Q4MSQLMS.js.map} +1 -1
  61. package/dist/{chunk-5FIUO3RY.mjs → chunk-QMBSDSSN.mjs} +3 -3
  62. package/dist/{chunk-5FIUO3RY.mjs.map → chunk-QMBSDSSN.mjs.map} +1 -1
  63. package/dist/{chunk-OP2XWWSV.js → chunk-QUP2GEPF.js} +4 -4
  64. package/dist/{chunk-OP2XWWSV.js.map → chunk-QUP2GEPF.js.map} +1 -1
  65. package/dist/{chunk-5AC43UHU.mjs → chunk-RHS4E3R7.mjs} +4 -4
  66. package/dist/{chunk-5AC43UHU.mjs.map → chunk-RHS4E3R7.mjs.map} +1 -1
  67. package/dist/{chunk-4P2MAERZ.mjs → chunk-RSU5CPC7.mjs} +4 -4
  68. package/dist/{chunk-4P2MAERZ.mjs.map → chunk-RSU5CPC7.mjs.map} +1 -1
  69. package/dist/{chunk-MM7MT37Y.mjs → chunk-SDR7JKDF.mjs} +2 -2
  70. package/dist/chunk-SDR7JKDF.mjs.map +1 -0
  71. package/dist/{chunk-7SRJ4UVY.js → chunk-T3IZPDGQ.js} +5 -5
  72. package/dist/{chunk-7SRJ4UVY.js.map → chunk-T3IZPDGQ.js.map} +1 -1
  73. package/dist/{chunk-23U5TMYH.mjs → chunk-TS4UIWRG.mjs} +3 -3
  74. package/dist/{chunk-23U5TMYH.mjs.map → chunk-TS4UIWRG.mjs.map} +1 -1
  75. package/dist/{chunk-DHWGICRP.js → chunk-UWKP36N6.js} +121 -9
  76. package/dist/chunk-UWKP36N6.js.map +1 -0
  77. package/dist/{chunk-VZV24VNK.js → chunk-WXWEZQLX.js} +6 -6
  78. package/dist/{chunk-VZV24VNK.js.map → chunk-WXWEZQLX.js.map} +1 -1
  79. package/dist/{chunk-LWEX5XQF.js → chunk-Y6WOMG2H.js} +6 -6
  80. package/dist/{chunk-LWEX5XQF.js.map → chunk-Y6WOMG2H.js.map} +1 -1
  81. package/dist/{chunk-6NLW2VHE.mjs → chunk-YEIU5W7E.mjs} +4 -4
  82. package/dist/{chunk-6NLW2VHE.mjs.map → chunk-YEIU5W7E.mjs.map} +1 -1
  83. package/dist/{chunk-66QZFBTI.js → chunk-Z3GT7VB2.js} +10 -10
  84. package/dist/{chunk-66QZFBTI.js.map → chunk-Z3GT7VB2.js.map} +1 -1
  85. package/dist/components/AdvancedPickers.js +7 -7
  86. package/dist/components/AdvancedPickers.mjs +3 -3
  87. package/dist/components/AppShell.js +4 -4
  88. package/dist/components/AppShell.mjs +2 -2
  89. package/dist/components/Comments.js +6 -6
  90. package/dist/components/Comments.mjs +3 -3
  91. package/dist/components/Commerce.js +15 -15
  92. package/dist/components/Commerce.mjs +4 -4
  93. package/dist/components/DataTable.js +11 -11
  94. package/dist/components/DataTable.mjs +4 -4
  95. package/dist/components/Display.js +13 -13
  96. package/dist/components/Display.mjs +2 -2
  97. package/dist/components/Display3.js +8 -8
  98. package/dist/components/Display3.mjs +2 -2
  99. package/dist/components/Editing.d.mts +40 -1
  100. package/dist/components/Editing.d.ts +40 -1
  101. package/dist/components/Editing.js +12 -8
  102. package/dist/components/Editing.mjs +3 -3
  103. package/dist/components/Filters.js +9 -9
  104. package/dist/components/Filters.mjs +3 -3
  105. package/dist/components/Gallery.js +5 -5
  106. package/dist/components/Gallery.mjs +3 -3
  107. package/dist/components/Inputs.js +7 -7
  108. package/dist/components/Inputs.mjs +3 -3
  109. package/dist/components/InputsExtra.js +12 -12
  110. package/dist/components/InputsExtra.mjs +3 -3
  111. package/dist/components/Notifications.js +4 -4
  112. package/dist/components/Notifications.mjs +3 -3
  113. package/dist/components/Overlay.js +4 -4
  114. package/dist/components/Overlay.mjs +2 -2
  115. package/dist/components/Permissions.js +4 -4
  116. package/dist/components/Permissions.mjs +3 -3
  117. package/dist/components/Pickers.js +8 -8
  118. package/dist/components/Pickers.mjs +3 -3
  119. package/dist/components/TimeAgo.js +6 -6
  120. package/dist/components/TimeAgo.mjs +4 -4
  121. package/dist/components/Toast.js +4 -4
  122. package/dist/components/Toast.mjs +2 -2
  123. package/dist/index.d.mts +2 -2
  124. package/dist/index.d.ts +2 -2
  125. package/dist/index.js +116 -112
  126. package/dist/index.mjs +21 -21
  127. package/dist/locale/index.d.mts +2 -2
  128. package/dist/locale/index.d.ts +2 -2
  129. package/dist/locale/index.js +6 -6
  130. package/dist/locale/index.mjs +2 -2
  131. package/dist/{messages-CT40Sck2.d.ts → messages-D7YiIzCG.d.mts} +2 -0
  132. package/dist/{messages-CT40Sck2.d.mts → messages-D7YiIzCG.d.ts} +2 -0
  133. package/dist/styles.css +1 -1
  134. package/dist/utils/smartTime.d.mts +1 -1
  135. package/dist/utils/smartTime.d.ts +1 -1
  136. package/dist/utils/smartTime.js +6 -6
  137. package/dist/utils/smartTime.mjs +2 -2
  138. package/package.json +1 -1
  139. package/dist/chunk-DHWGICRP.js.map +0 -1
  140. package/dist/chunk-HCOJH3W3.mjs.map +0 -1
  141. package/dist/chunk-MM7MT37Y.mjs.map +0 -1
  142. package/dist/chunk-NZNTB5OI.js.map +0 -1
  143. package/dist/chunk-SRSVD5AT.mjs.map +0 -1
  144. package/dist/chunk-WXODIWH7.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkVZV24VNK_js = require('../chunk-VZV24VNK.js');
5
- require('../chunk-WXODIWH7.js');
4
+ var chunkWXWEZQLX_js = require('../chunk-WXWEZQLX.js');
5
+ require('../chunk-MJMLNETS.js');
6
6
  require('../chunk-EUB4PHPI.js');
7
7
  require('../chunk-C4AKMVDZ.js');
8
8
  require('../chunk-PASF6T4H.js');
@@ -11,47 +11,47 @@ require('../chunk-PASF6T4H.js');
11
11
 
12
12
  Object.defineProperty(exports, "Alert", {
13
13
  enumerable: true,
14
- get: function () { return chunkVZV24VNK_js.Alert; }
14
+ get: function () { return chunkWXWEZQLX_js.Alert; }
15
15
  });
16
16
  Object.defineProperty(exports, "Badge", {
17
17
  enumerable: true,
18
- get: function () { return chunkVZV24VNK_js.Badge; }
18
+ get: function () { return chunkWXWEZQLX_js.Badge; }
19
19
  });
20
20
  Object.defineProperty(exports, "Card", {
21
21
  enumerable: true,
22
- get: function () { return chunkVZV24VNK_js.Card; }
22
+ get: function () { return chunkWXWEZQLX_js.Card; }
23
23
  });
24
24
  Object.defineProperty(exports, "CardBody", {
25
25
  enumerable: true,
26
- get: function () { return chunkVZV24VNK_js.CardBody; }
26
+ get: function () { return chunkWXWEZQLX_js.CardBody; }
27
27
  });
28
28
  Object.defineProperty(exports, "CardFooter", {
29
29
  enumerable: true,
30
- get: function () { return chunkVZV24VNK_js.CardFooter; }
30
+ get: function () { return chunkWXWEZQLX_js.CardFooter; }
31
31
  });
32
32
  Object.defineProperty(exports, "CardHeader", {
33
33
  enumerable: true,
34
- get: function () { return chunkVZV24VNK_js.CardHeader; }
34
+ get: function () { return chunkWXWEZQLX_js.CardHeader; }
35
35
  });
36
36
  Object.defineProperty(exports, "Chip", {
37
37
  enumerable: true,
38
- get: function () { return chunkVZV24VNK_js.Chip; }
38
+ get: function () { return chunkWXWEZQLX_js.Chip; }
39
39
  });
40
40
  Object.defineProperty(exports, "ChipGroup", {
41
41
  enumerable: true,
42
- get: function () { return chunkVZV24VNK_js.ChipGroup; }
42
+ get: function () { return chunkWXWEZQLX_js.ChipGroup; }
43
43
  });
44
44
  Object.defineProperty(exports, "ProductCard", {
45
45
  enumerable: true,
46
- get: function () { return chunkVZV24VNK_js.ProductCard; }
46
+ get: function () { return chunkWXWEZQLX_js.ProductCard; }
47
47
  });
48
48
  Object.defineProperty(exports, "Skeleton", {
49
49
  enumerable: true,
50
- get: function () { return chunkVZV24VNK_js.Skeleton; }
50
+ get: function () { return chunkWXWEZQLX_js.Skeleton; }
51
51
  });
52
52
  Object.defineProperty(exports, "Spinner", {
53
53
  enumerable: true,
54
- get: function () { return chunkVZV24VNK_js.Spinner; }
54
+ get: function () { return chunkWXWEZQLX_js.Spinner; }
55
55
  });
56
56
  //# sourceMappingURL=Display.js.map
57
57
  //# sourceMappingURL=Display.js.map
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- export { Alert, Badge, Card, CardBody, CardFooter, CardHeader, Chip, ChipGroup, ProductCard, Skeleton, Spinner } from '../chunk-5FIUO3RY.mjs';
3
- import '../chunk-HCOJH3W3.mjs';
2
+ export { Alert, Badge, Card, CardBody, CardFooter, CardHeader, Chip, ChipGroup, ProductCard, Skeleton, Spinner } from '../chunk-QMBSDSSN.mjs';
3
+ import '../chunk-H6ZT2DJ2.mjs';
4
4
  import '../chunk-IEPKSPBX.mjs';
5
5
  import '../chunk-BJGMROKL.mjs';
6
6
  import '../chunk-IEPCH3JB.mjs';
@@ -1,12 +1,12 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkVREEDSRE_js = require('../chunk-VREEDSRE.js');
4
+ var chunk64YL7DN5_js = require('../chunk-64YL7DN5.js');
5
5
  require('../chunk-AGMDYCGG.js');
6
6
  require('../chunk-MVJITG75.js');
7
7
  require('../chunk-WAGWB35Q.js');
8
8
  require('../chunk-3PXYCXDW.js');
9
- require('../chunk-WXODIWH7.js');
9
+ require('../chunk-MJMLNETS.js');
10
10
  require('../chunk-XMLBKK7X.js');
11
11
  require('../chunk-CRKYET66.js');
12
12
  require('../chunk-C4AKMVDZ.js');
@@ -16,27 +16,27 @@ require('../chunk-PASF6T4H.js');
16
16
 
17
17
  Object.defineProperty(exports, "Calendar", {
18
18
  enumerable: true,
19
- get: function () { return chunkVREEDSRE_js.Calendar; }
19
+ get: function () { return chunk64YL7DN5_js.Calendar; }
20
20
  });
21
21
  Object.defineProperty(exports, "StatusIndicator", {
22
22
  enumerable: true,
23
- get: function () { return chunkVREEDSRE_js.StatusIndicator; }
23
+ get: function () { return chunk64YL7DN5_js.StatusIndicator; }
24
24
  });
25
25
  Object.defineProperty(exports, "Timeline", {
26
26
  enumerable: true,
27
- get: function () { return chunkVREEDSRE_js.Timeline; }
27
+ get: function () { return chunk64YL7DN5_js.Timeline; }
28
28
  });
29
29
  Object.defineProperty(exports, "TimelineItem", {
30
30
  enumerable: true,
31
- get: function () { return chunkVREEDSRE_js.TimelineItem; }
31
+ get: function () { return chunk64YL7DN5_js.TimelineItem; }
32
32
  });
33
33
  Object.defineProperty(exports, "Tree", {
34
34
  enumerable: true,
35
- get: function () { return chunkVREEDSRE_js.Tree; }
35
+ get: function () { return chunk64YL7DN5_js.Tree; }
36
36
  });
37
37
  Object.defineProperty(exports, "UserCell", {
38
38
  enumerable: true,
39
- get: function () { return chunkVREEDSRE_js.UserCell; }
39
+ get: function () { return chunk64YL7DN5_js.UserCell; }
40
40
  });
41
41
  //# sourceMappingURL=Display3.js.map
42
42
  //# sourceMappingURL=Display3.js.map
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- export { Calendar, StatusIndicator, Timeline, TimelineItem, Tree, UserCell } from '../chunk-QK3COHER.mjs';
2
+ export { Calendar, StatusIndicator, Timeline, TimelineItem, Tree, UserCell } from '../chunk-4LU36CNV.mjs';
3
3
  import '../chunk-DH3IXJRJ.mjs';
4
4
  import '../chunk-4QHE5H36.mjs';
5
5
  import '../chunk-FKBQYQQD.mjs';
6
6
  import '../chunk-5GEWIK4T.mjs';
7
- import '../chunk-HCOJH3W3.mjs';
7
+ import '../chunk-H6ZT2DJ2.mjs';
8
8
  import '../chunk-6P2TKRTL.mjs';
9
9
  import '../chunk-5XT2LX3I.mjs';
10
10
  import '../chunk-BJGMROKL.mjs';
@@ -48,5 +48,44 @@ interface TransferListProps {
48
48
  className?: string;
49
49
  }
50
50
  declare function TransferList({ source, selected, onChange, sourceTitle, selectedTitle, className, }: TransferListProps): react_jsx_runtime.JSX.Element;
51
+ interface EditableCellProps {
52
+ /** Committed value (controlled — the consumer owns it). */
53
+ value: string;
54
+ /**
55
+ * Called on commit (Enter or blur) with the edited raw value. May return
56
+ * a promise: while it's pending the input is disabled; on rejection the
57
+ * cell STAYS in edit mode with the invalid style, so the user's typing
58
+ * is never lost to a failed PATCH. Not called when the value is
59
+ * unchanged.
60
+ */
61
+ onCommit: (next: string) => void | Promise<void>;
62
+ /** Input mode. `'number'` renders a numeric input. */
63
+ type?: 'text' | 'number';
64
+ /**
65
+ * Display-mode formatter (e.g. `formatCurrency`) — editing always works
66
+ * on the RAW `value`; only the resting presentation is formatted.
67
+ */
68
+ formatDisplay?: (value: string) => React.ReactNode;
69
+ /**
70
+ * Sync validation before commit. Return an error message to block the
71
+ * commit (cell stays editing, invalid style, message via title/aria);
72
+ * return `null` to allow it.
73
+ */
74
+ validate?: (next: string) => string | null;
75
+ disabled?: boolean;
76
+ placeholder?: string;
77
+ /** Accessible name of the edit affordance (e.g. "Editar precio de Taladro"). */
78
+ ariaLabel?: string;
79
+ className?: string;
80
+ }
81
+ /**
82
+ * Click-to-edit primitive for inline editing (Airtable/Notion semantics):
83
+ * click or Enter to edit, Enter/blur commits, Escape cancels. Composable
84
+ * anywhere — typically inside a `DataTable` cell via `accessor`. The kit
85
+ * deliberately ships the CELL, not an editable-table subsystem: commit
86
+ * orchestration (optimistic update, refetch, toast) stays in the consumer,
87
+ * where the data layer lives.
88
+ */
89
+ declare function EditableCell({ value, onCommit, type, formatDisplay, validate, disabled, placeholder, ariaLabel, className, }: EditableCellProps): react_jsx_runtime.JSX.Element;
51
90
 
52
- export { ConfirmDialog, type ConfirmDialogProps, DescriptionList, DescriptionListItem, type DescriptionListItemProps, type DiffEntry, DiffViewer, type DiffViewerProps, type TransferItem, TransferList, type TransferListProps };
91
+ export { ConfirmDialog, type ConfirmDialogProps, DescriptionList, DescriptionListItem, type DescriptionListItemProps, type DiffEntry, DiffViewer, type DiffViewerProps, EditableCell, type EditableCellProps, type TransferItem, TransferList, type TransferListProps };
@@ -48,5 +48,44 @@ interface TransferListProps {
48
48
  className?: string;
49
49
  }
50
50
  declare function TransferList({ source, selected, onChange, sourceTitle, selectedTitle, className, }: TransferListProps): react_jsx_runtime.JSX.Element;
51
+ interface EditableCellProps {
52
+ /** Committed value (controlled — the consumer owns it). */
53
+ value: string;
54
+ /**
55
+ * Called on commit (Enter or blur) with the edited raw value. May return
56
+ * a promise: while it's pending the input is disabled; on rejection the
57
+ * cell STAYS in edit mode with the invalid style, so the user's typing
58
+ * is never lost to a failed PATCH. Not called when the value is
59
+ * unchanged.
60
+ */
61
+ onCommit: (next: string) => void | Promise<void>;
62
+ /** Input mode. `'number'` renders a numeric input. */
63
+ type?: 'text' | 'number';
64
+ /**
65
+ * Display-mode formatter (e.g. `formatCurrency`) — editing always works
66
+ * on the RAW `value`; only the resting presentation is formatted.
67
+ */
68
+ formatDisplay?: (value: string) => React.ReactNode;
69
+ /**
70
+ * Sync validation before commit. Return an error message to block the
71
+ * commit (cell stays editing, invalid style, message via title/aria);
72
+ * return `null` to allow it.
73
+ */
74
+ validate?: (next: string) => string | null;
75
+ disabled?: boolean;
76
+ placeholder?: string;
77
+ /** Accessible name of the edit affordance (e.g. "Editar precio de Taladro"). */
78
+ ariaLabel?: string;
79
+ className?: string;
80
+ }
81
+ /**
82
+ * Click-to-edit primitive for inline editing (Airtable/Notion semantics):
83
+ * click or Enter to edit, Enter/blur commits, Escape cancels. Composable
84
+ * anywhere — typically inside a `DataTable` cell via `accessor`. The kit
85
+ * deliberately ships the CELL, not an editable-table subsystem: commit
86
+ * orchestration (optimistic update, refetch, toast) stays in the consumer,
87
+ * where the data layer lives.
88
+ */
89
+ declare function EditableCell({ value, onCommit, type, formatDisplay, validate, disabled, placeholder, ariaLabel, className, }: EditableCellProps): react_jsx_runtime.JSX.Element;
51
90
 
52
- export { ConfirmDialog, type ConfirmDialogProps, DescriptionList, DescriptionListItem, type DescriptionListItemProps, type DiffEntry, DiffViewer, type DiffViewerProps, type TransferItem, TransferList, type TransferListProps };
91
+ export { ConfirmDialog, type ConfirmDialogProps, DescriptionList, DescriptionListItem, type DescriptionListItemProps, type DiffEntry, DiffViewer, type DiffViewerProps, EditableCell, type EditableCellProps, type TransferItem, TransferList, type TransferListProps };
@@ -1,15 +1,15 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkDHWGICRP_js = require('../chunk-DHWGICRP.js');
5
- require('../chunk-7SRJ4UVY.js');
4
+ var chunkUWKP36N6_js = require('../chunk-UWKP36N6.js');
5
+ require('../chunk-T3IZPDGQ.js');
6
6
  require('../chunk-6SSTTJV4.js');
7
7
  require('../chunk-2KZ4NI3X.js');
8
8
  require('../chunk-D2H4VZVL.js');
9
9
  require('../chunk-FL4ZCWUF.js');
10
10
  require('../chunk-NPXEZCTA.js');
11
11
  require('../chunk-55P5FA5Q.js');
12
- require('../chunk-WXODIWH7.js');
12
+ require('../chunk-MJMLNETS.js');
13
13
  require('../chunk-XMLBKK7X.js');
14
14
  require('../chunk-CRKYET66.js');
15
15
  require('../chunk-C4AKMVDZ.js');
@@ -19,23 +19,27 @@ require('../chunk-PASF6T4H.js');
19
19
 
20
20
  Object.defineProperty(exports, "ConfirmDialog", {
21
21
  enumerable: true,
22
- get: function () { return chunkDHWGICRP_js.ConfirmDialog; }
22
+ get: function () { return chunkUWKP36N6_js.ConfirmDialog; }
23
23
  });
24
24
  Object.defineProperty(exports, "DescriptionList", {
25
25
  enumerable: true,
26
- get: function () { return chunkDHWGICRP_js.DescriptionList; }
26
+ get: function () { return chunkUWKP36N6_js.DescriptionList; }
27
27
  });
28
28
  Object.defineProperty(exports, "DescriptionListItem", {
29
29
  enumerable: true,
30
- get: function () { return chunkDHWGICRP_js.DescriptionListItem; }
30
+ get: function () { return chunkUWKP36N6_js.DescriptionListItem; }
31
31
  });
32
32
  Object.defineProperty(exports, "DiffViewer", {
33
33
  enumerable: true,
34
- get: function () { return chunkDHWGICRP_js.DiffViewer; }
34
+ get: function () { return chunkUWKP36N6_js.DiffViewer; }
35
+ });
36
+ Object.defineProperty(exports, "EditableCell", {
37
+ enumerable: true,
38
+ get: function () { return chunkUWKP36N6_js.EditableCell; }
35
39
  });
36
40
  Object.defineProperty(exports, "TransferList", {
37
41
  enumerable: true,
38
- get: function () { return chunkDHWGICRP_js.TransferList; }
42
+ get: function () { return chunkUWKP36N6_js.TransferList; }
39
43
  });
40
44
  //# sourceMappingURL=Editing.js.map
41
45
  //# sourceMappingURL=Editing.js.map
@@ -1,13 +1,13 @@
1
1
  'use client';
2
- export { ConfirmDialog, DescriptionList, DescriptionListItem, DiffViewer, TransferList } from '../chunk-SRSVD5AT.mjs';
3
- import '../chunk-BY4VPPA4.mjs';
2
+ export { ConfirmDialog, DescriptionList, DescriptionListItem, DiffViewer, EditableCell, TransferList } from '../chunk-D6YFA5HW.mjs';
3
+ import '../chunk-AP655IUN.mjs';
4
4
  import '../chunk-SUQLII3F.mjs';
5
5
  import '../chunk-QQE3XOEM.mjs';
6
6
  import '../chunk-R5DCDEB5.mjs';
7
7
  import '../chunk-U3JH4T3A.mjs';
8
8
  import '../chunk-6W7ZGWNA.mjs';
9
9
  import '../chunk-XOV4D6J3.mjs';
10
- import '../chunk-HCOJH3W3.mjs';
10
+ import '../chunk-H6ZT2DJ2.mjs';
11
11
  import '../chunk-6P2TKRTL.mjs';
12
12
  import '../chunk-5XT2LX3I.mjs';
13
13
  import '../chunk-BJGMROKL.mjs';
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkXLKTIQTD_js = require('../chunk-XLKTIQTD.js');
5
- require('../chunk-NZNTB5OI.js');
6
- require('../chunk-WXODIWH7.js');
4
+ var chunk5UBYEEOF_js = require('../chunk-5UBYEEOF.js');
5
+ require('../chunk-JDK4GEME.js');
6
+ require('../chunk-MJMLNETS.js');
7
7
  require('../chunk-C4AKMVDZ.js');
8
8
  require('../chunk-PASF6T4H.js');
9
9
 
@@ -11,27 +11,27 @@ require('../chunk-PASF6T4H.js');
11
11
 
12
12
  Object.defineProperty(exports, "BulkActionBar", {
13
13
  enumerable: true,
14
- get: function () { return chunkXLKTIQTD_js.BulkActionBar; }
14
+ get: function () { return chunk5UBYEEOF_js.BulkActionBar; }
15
15
  });
16
16
  Object.defineProperty(exports, "FilterBar", {
17
17
  enumerable: true,
18
- get: function () { return chunkXLKTIQTD_js.FilterBar; }
18
+ get: function () { return chunk5UBYEEOF_js.FilterBar; }
19
19
  });
20
20
  Object.defineProperty(exports, "FilterField", {
21
21
  enumerable: true,
22
- get: function () { return chunkXLKTIQTD_js.FilterField; }
22
+ get: function () { return chunk5UBYEEOF_js.FilterField; }
23
23
  });
24
24
  Object.defineProperty(exports, "FilterPanel", {
25
25
  enumerable: true,
26
- get: function () { return chunkXLKTIQTD_js.FilterPanel; }
26
+ get: function () { return chunk5UBYEEOF_js.FilterPanel; }
27
27
  });
28
28
  Object.defineProperty(exports, "FilterSection", {
29
29
  enumerable: true,
30
- get: function () { return chunkXLKTIQTD_js.FilterSection; }
30
+ get: function () { return chunk5UBYEEOF_js.FilterSection; }
31
31
  });
32
32
  Object.defineProperty(exports, "SortDropdown", {
33
33
  enumerable: true,
34
- get: function () { return chunkXLKTIQTD_js.SortDropdown; }
34
+ get: function () { return chunk5UBYEEOF_js.SortDropdown; }
35
35
  });
36
36
  //# sourceMappingURL=Filters.js.map
37
37
  //# sourceMappingURL=Filters.js.map
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- export { BulkActionBar, FilterBar, FilterField, FilterPanel, FilterSection, SortDropdown } from '../chunk-5AC43UHU.mjs';
3
- import '../chunk-MM7MT37Y.mjs';
4
- import '../chunk-HCOJH3W3.mjs';
2
+ export { BulkActionBar, FilterBar, FilterField, FilterPanel, FilterSection, SortDropdown } from '../chunk-RHS4E3R7.mjs';
3
+ import '../chunk-SDR7JKDF.mjs';
4
+ import '../chunk-H6ZT2DJ2.mjs';
5
5
  import '../chunk-BJGMROKL.mjs';
6
6
  import '../chunk-IEPCH3JB.mjs';
7
7
  //# sourceMappingURL=Filters.mjs.map
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkKTK5EPQP_js = require('../chunk-KTK5EPQP.js');
5
- require('../chunk-NZNTB5OI.js');
6
- require('../chunk-WXODIWH7.js');
4
+ var chunk2XIFGGF2_js = require('../chunk-2XIFGGF2.js');
5
+ require('../chunk-JDK4GEME.js');
6
+ require('../chunk-MJMLNETS.js');
7
7
  require('../chunk-C4AKMVDZ.js');
8
8
  require('../chunk-PASF6T4H.js');
9
9
 
@@ -11,11 +11,11 @@ require('../chunk-PASF6T4H.js');
11
11
 
12
12
  Object.defineProperty(exports, "ImageGallery", {
13
13
  enumerable: true,
14
- get: function () { return chunkKTK5EPQP_js.ImageGallery; }
14
+ get: function () { return chunk2XIFGGF2_js.ImageGallery; }
15
15
  });
16
16
  Object.defineProperty(exports, "Lightbox", {
17
17
  enumerable: true,
18
- get: function () { return chunkKTK5EPQP_js.Lightbox; }
18
+ get: function () { return chunk2XIFGGF2_js.Lightbox; }
19
19
  });
20
20
  //# sourceMappingURL=Gallery.js.map
21
21
  //# sourceMappingURL=Gallery.js.map
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- export { ImageGallery, Lightbox } from '../chunk-LT52N2KJ.mjs';
3
- import '../chunk-MM7MT37Y.mjs';
4
- import '../chunk-HCOJH3W3.mjs';
2
+ export { ImageGallery, Lightbox } from '../chunk-OSR32MPG.mjs';
3
+ import '../chunk-SDR7JKDF.mjs';
4
+ import '../chunk-H6ZT2DJ2.mjs';
5
5
  import '../chunk-BJGMROKL.mjs';
6
6
  import '../chunk-IEPCH3JB.mjs';
7
7
  //# sourceMappingURL=Gallery.mjs.map
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkKAQJWVXS_js = require('../chunk-KAQJWVXS.js');
5
- require('../chunk-NZNTB5OI.js');
6
- require('../chunk-WXODIWH7.js');
4
+ var chunkAKUGR3AX_js = require('../chunk-AKUGR3AX.js');
5
+ require('../chunk-JDK4GEME.js');
6
+ require('../chunk-MJMLNETS.js');
7
7
  require('../chunk-C4AKMVDZ.js');
8
8
  require('../chunk-PASF6T4H.js');
9
9
 
@@ -11,19 +11,19 @@ require('../chunk-PASF6T4H.js');
11
11
 
12
12
  Object.defineProperty(exports, "EmptyState", {
13
13
  enumerable: true,
14
- get: function () { return chunkKAQJWVXS_js.EmptyState; }
14
+ get: function () { return chunkAKUGR3AX_js.EmptyState; }
15
15
  });
16
16
  Object.defineProperty(exports, "Kpi", {
17
17
  enumerable: true,
18
- get: function () { return chunkKAQJWVXS_js.Kpi; }
18
+ get: function () { return chunkAKUGR3AX_js.Kpi; }
19
19
  });
20
20
  Object.defineProperty(exports, "NumberInput", {
21
21
  enumerable: true,
22
- get: function () { return chunkKAQJWVXS_js.NumberInput; }
22
+ get: function () { return chunkAKUGR3AX_js.NumberInput; }
23
23
  });
24
24
  Object.defineProperty(exports, "Pagination", {
25
25
  enumerable: true,
26
- get: function () { return chunkKAQJWVXS_js.Pagination; }
26
+ get: function () { return chunkAKUGR3AX_js.Pagination; }
27
27
  });
28
28
  //# sourceMappingURL=Inputs.js.map
29
29
  //# sourceMappingURL=Inputs.js.map
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- export { EmptyState, Kpi, NumberInput, Pagination } from '../chunk-6NLW2VHE.mjs';
3
- import '../chunk-MM7MT37Y.mjs';
4
- import '../chunk-HCOJH3W3.mjs';
2
+ export { EmptyState, Kpi, NumberInput, Pagination } from '../chunk-YEIU5W7E.mjs';
3
+ import '../chunk-SDR7JKDF.mjs';
4
+ import '../chunk-H6ZT2DJ2.mjs';
5
5
  import '../chunk-BJGMROKL.mjs';
6
6
  import '../chunk-IEPCH3JB.mjs';
7
7
  //# sourceMappingURL=Inputs.mjs.map
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkLWEX5XQF_js = require('../chunk-LWEX5XQF.js');
5
- require('../chunk-NZNTB5OI.js');
4
+ var chunkY6WOMG2H_js = require('../chunk-Y6WOMG2H.js');
5
+ require('../chunk-JDK4GEME.js');
6
6
  require('../chunk-3PXYCXDW.js');
7
- require('../chunk-WXODIWH7.js');
7
+ require('../chunk-MJMLNETS.js');
8
8
  require('../chunk-C4AKMVDZ.js');
9
9
  require('../chunk-PASF6T4H.js');
10
10
 
@@ -12,39 +12,39 @@ require('../chunk-PASF6T4H.js');
12
12
 
13
13
  Object.defineProperty(exports, "CheckboxGroup", {
14
14
  enumerable: true,
15
- get: function () { return chunkLWEX5XQF_js.CheckboxGroup; }
15
+ get: function () { return chunkY6WOMG2H_js.CheckboxGroup; }
16
16
  });
17
17
  Object.defineProperty(exports, "MoneyInput", {
18
18
  enumerable: true,
19
- get: function () { return chunkLWEX5XQF_js.MoneyInput; }
19
+ get: function () { return chunkY6WOMG2H_js.MoneyInput; }
20
20
  });
21
21
  Object.defineProperty(exports, "PhoneInput", {
22
22
  enumerable: true,
23
- get: function () { return chunkLWEX5XQF_js.PhoneInput; }
23
+ get: function () { return chunkY6WOMG2H_js.PhoneInput; }
24
24
  });
25
25
  Object.defineProperty(exports, "Progress", {
26
26
  enumerable: true,
27
- get: function () { return chunkLWEX5XQF_js.Progress; }
27
+ get: function () { return chunkY6WOMG2H_js.Progress; }
28
28
  });
29
29
  Object.defineProperty(exports, "ProgressCircle", {
30
30
  enumerable: true,
31
- get: function () { return chunkLWEX5XQF_js.ProgressCircle; }
31
+ get: function () { return chunkY6WOMG2H_js.ProgressCircle; }
32
32
  });
33
33
  Object.defineProperty(exports, "RadioGroup", {
34
34
  enumerable: true,
35
- get: function () { return chunkLWEX5XQF_js.RadioGroup; }
35
+ get: function () { return chunkY6WOMG2H_js.RadioGroup; }
36
36
  });
37
37
  Object.defineProperty(exports, "Slider", {
38
38
  enumerable: true,
39
- get: function () { return chunkLWEX5XQF_js.Slider; }
39
+ get: function () { return chunkY6WOMG2H_js.Slider; }
40
40
  });
41
41
  Object.defineProperty(exports, "TagInput", {
42
42
  enumerable: true,
43
- get: function () { return chunkLWEX5XQF_js.TagInput; }
43
+ get: function () { return chunkY6WOMG2H_js.TagInput; }
44
44
  });
45
45
  Object.defineProperty(exports, "TimePicker", {
46
46
  enumerable: true,
47
- get: function () { return chunkLWEX5XQF_js.TimePicker; }
47
+ get: function () { return chunkY6WOMG2H_js.TimePicker; }
48
48
  });
49
49
  //# sourceMappingURL=InputsExtra.js.map
50
50
  //# sourceMappingURL=InputsExtra.js.map
@@ -1,8 +1,8 @@
1
1
  'use client';
2
- export { CheckboxGroup, MoneyInput, PhoneInput, Progress, ProgressCircle, RadioGroup, Slider, TagInput, TimePicker } from '../chunk-4P2MAERZ.mjs';
3
- import '../chunk-MM7MT37Y.mjs';
2
+ export { CheckboxGroup, MoneyInput, PhoneInput, Progress, ProgressCircle, RadioGroup, Slider, TagInput, TimePicker } from '../chunk-RSU5CPC7.mjs';
3
+ import '../chunk-SDR7JKDF.mjs';
4
4
  import '../chunk-5GEWIK4T.mjs';
5
- import '../chunk-HCOJH3W3.mjs';
5
+ import '../chunk-H6ZT2DJ2.mjs';
6
6
  import '../chunk-BJGMROKL.mjs';
7
7
  import '../chunk-IEPCH3JB.mjs';
8
8
  //# sourceMappingURL=InputsExtra.mjs.map
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkYWRVGG7Q_js = require('../chunk-YWRVGG7Q.js');
5
- require('../chunk-NZNTB5OI.js');
6
- require('../chunk-WXODIWH7.js');
4
+ var chunkN5N5K36B_js = require('../chunk-N5N5K36B.js');
5
+ require('../chunk-JDK4GEME.js');
6
+ require('../chunk-MJMLNETS.js');
7
7
  require('../chunk-C4AKMVDZ.js');
8
8
  require('../chunk-PASF6T4H.js');
9
9
 
@@ -11,7 +11,7 @@ require('../chunk-PASF6T4H.js');
11
11
 
12
12
  Object.defineProperty(exports, "NotificationCenter", {
13
13
  enumerable: true,
14
- get: function () { return chunkYWRVGG7Q_js.NotificationCenter; }
14
+ get: function () { return chunkN5N5K36B_js.NotificationCenter; }
15
15
  });
16
16
  //# sourceMappingURL=Notifications.js.map
17
17
  //# sourceMappingURL=Notifications.js.map
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- export { NotificationCenter } from '../chunk-64X5LNXF.mjs';
3
- import '../chunk-MM7MT37Y.mjs';
4
- import '../chunk-HCOJH3W3.mjs';
2
+ export { NotificationCenter } from '../chunk-PDZN6KBV.mjs';
3
+ import '../chunk-SDR7JKDF.mjs';
4
+ import '../chunk-H6ZT2DJ2.mjs';
5
5
  import '../chunk-BJGMROKL.mjs';
6
6
  import '../chunk-IEPCH3JB.mjs';
7
7
  //# sourceMappingURL=Notifications.mjs.map
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunk7SRJ4UVY_js = require('../chunk-7SRJ4UVY.js');
4
+ var chunkT3IZPDGQ_js = require('../chunk-T3IZPDGQ.js');
5
5
  require('../chunk-2KZ4NI3X.js');
6
6
  require('../chunk-D2H4VZVL.js');
7
7
  require('../chunk-FL4ZCWUF.js');
8
8
  require('../chunk-NPXEZCTA.js');
9
9
  require('../chunk-55P5FA5Q.js');
10
- require('../chunk-WXODIWH7.js');
10
+ require('../chunk-MJMLNETS.js');
11
11
  require('../chunk-XMLBKK7X.js');
12
12
  require('../chunk-CRKYET66.js');
13
13
  require('../chunk-C4AKMVDZ.js');
@@ -17,11 +17,11 @@ require('../chunk-PASF6T4H.js');
17
17
 
18
18
  Object.defineProperty(exports, "Drawer", {
19
19
  enumerable: true,
20
- get: function () { return chunk7SRJ4UVY_js.Drawer; }
20
+ get: function () { return chunkT3IZPDGQ_js.Drawer; }
21
21
  });
22
22
  Object.defineProperty(exports, "Modal", {
23
23
  enumerable: true,
24
- get: function () { return chunk7SRJ4UVY_js.Modal; }
24
+ get: function () { return chunkT3IZPDGQ_js.Modal; }
25
25
  });
26
26
  //# sourceMappingURL=Overlay.js.map
27
27
  //# sourceMappingURL=Overlay.js.map
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- export { Drawer, Modal } from '../chunk-BY4VPPA4.mjs';
2
+ export { Drawer, Modal } from '../chunk-AP655IUN.mjs';
3
3
  import '../chunk-QQE3XOEM.mjs';
4
4
  import '../chunk-R5DCDEB5.mjs';
5
5
  import '../chunk-U3JH4T3A.mjs';
6
6
  import '../chunk-6W7ZGWNA.mjs';
7
7
  import '../chunk-XOV4D6J3.mjs';
8
- import '../chunk-HCOJH3W3.mjs';
8
+ import '../chunk-H6ZT2DJ2.mjs';
9
9
  import '../chunk-6P2TKRTL.mjs';
10
10
  import '../chunk-5XT2LX3I.mjs';
11
11
  import '../chunk-BJGMROKL.mjs';
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkDQMKMRE4_js = require('../chunk-DQMKMRE4.js');
4
+ var chunkEI2V2GGG_js = require('../chunk-EI2V2GGG.js');
5
5
  require('../chunk-6SSTTJV4.js');
6
- require('../chunk-NZNTB5OI.js');
7
- require('../chunk-WXODIWH7.js');
6
+ require('../chunk-JDK4GEME.js');
7
+ require('../chunk-MJMLNETS.js');
8
8
  require('../chunk-C4AKMVDZ.js');
9
9
  require('../chunk-PASF6T4H.js');
10
10
 
@@ -12,7 +12,7 @@ require('../chunk-PASF6T4H.js');
12
12
 
13
13
  Object.defineProperty(exports, "PermissionMatrix", {
14
14
  enumerable: true,
15
- get: function () { return chunkDQMKMRE4_js.PermissionMatrix; }
15
+ get: function () { return chunkEI2V2GGG_js.PermissionMatrix; }
16
16
  });
17
17
  //# sourceMappingURL=Permissions.js.map
18
18
  //# sourceMappingURL=Permissions.js.map
@@ -1,8 +1,8 @@
1
1
  'use client';
2
- export { PermissionMatrix } from '../chunk-RS74LVAT.mjs';
2
+ export { PermissionMatrix } from '../chunk-C4XPGEU2.mjs';
3
3
  import '../chunk-SUQLII3F.mjs';
4
- import '../chunk-MM7MT37Y.mjs';
5
- import '../chunk-HCOJH3W3.mjs';
4
+ import '../chunk-SDR7JKDF.mjs';
5
+ import '../chunk-H6ZT2DJ2.mjs';
6
6
  import '../chunk-BJGMROKL.mjs';
7
7
  import '../chunk-IEPCH3JB.mjs';
8
8
  //# sourceMappingURL=Permissions.mjs.map