anysystem-design 0.0.29 → 0.0.31

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 (77) hide show
  1. package/dist/components/AutoComplete/AutoCompleteBase.d.ts +1 -0
  2. package/dist/components/AutoComplete/AutoCompleteBase.js +81 -59
  3. package/dist/components/AutoComplete/AutoCompleteMultiple.js +8 -7
  4. package/dist/components/Checkbox/CheckboxBase.js +55 -30
  5. package/dist/components/Checkbox/FormCheckbox.js +1 -1
  6. package/dist/components/Column/Column.d.ts +1 -1
  7. package/dist/components/Column/Column.js +20 -10
  8. package/dist/components/DataTable/components/FieldSelectbox.js +1 -1
  9. package/dist/components/DatePicker/DatePicker.d.ts +2 -2
  10. package/dist/components/DatePicker/DatePicker.js +101 -6662
  11. package/dist/components/FormControl/FormComponent.d.ts +5 -3
  12. package/dist/components/FormControl/FormComponent.js +38 -11
  13. package/dist/components/FormControl/FormContent.d.ts +13 -0
  14. package/dist/components/FormControl/FormContent.js +87 -0
  15. package/dist/components/FormControl/FormControl.d.ts +4 -29
  16. package/dist/components/FormControl/FormControl.js +48 -20
  17. package/dist/components/FormControl/helpers.d.ts +9 -0
  18. package/dist/components/FormControl/helpers.js +90 -0
  19. package/dist/components/FormControl/index.d.ts +3 -0
  20. package/dist/components/FormControl/index.js +8 -4
  21. package/dist/components/FormControl/type.d.ts +87 -0
  22. package/dist/components/FormControl/type.js +1 -0
  23. package/dist/components/Icon/Icon.js +1 -1
  24. package/dist/components/Input/FormInput.js +9 -9
  25. package/dist/components/Input/Input.d.ts +2 -4
  26. package/dist/components/Input/Input.js +3 -4
  27. package/dist/components/Input/InputTel.d.ts +5 -16
  28. package/dist/components/Input/InputTel.js +24 -25
  29. package/dist/components/Label/FormLabel.js +3 -3
  30. package/dist/components/PasswordInput/FormPasswordInput.js +5 -5
  31. package/dist/components/Row/Row.d.ts +1 -0
  32. package/dist/components/Row/Row.js +2 -1
  33. package/dist/components/Row/index.js +3 -2
  34. package/dist/components/Selectbox/FormSelectbox.js +1 -1
  35. package/dist/components/Selectbox/SelectboxMultiple.js +18 -17
  36. package/dist/components/TelephoneInput/TelephoneInput.d.ts +17 -0
  37. package/dist/components/TelephoneInput/TelephoneInput.js +68 -0
  38. package/dist/components/TelephoneInput/index.d.ts +2 -2
  39. package/dist/components/TelephoneInput/index.js +1 -1
  40. package/dist/components/index.d.ts +1 -0
  41. package/dist/components/index.js +46 -41
  42. package/dist/core.esm-Cdxdv0vp.js +2718 -0
  43. package/dist/features/FormBuilder/FormBuilder.d.ts +8 -0
  44. package/dist/features/FormBuilder/FormBuilder.js +190 -0
  45. package/dist/features/FormBuilder/components/BuilderColumn.d.ts +10 -0
  46. package/dist/features/FormBuilder/components/BuilderColumn.js +14 -0
  47. package/dist/features/FormBuilder/components/BuilderRow.d.ts +10 -0
  48. package/dist/features/FormBuilder/components/BuilderRow.js +56 -0
  49. package/dist/features/FormBuilder/components/Controller.d.ts +8 -0
  50. package/dist/features/FormBuilder/components/Controller.js +63 -0
  51. package/dist/features/FormBuilder/components/Draggable.d.ts +10 -0
  52. package/dist/features/FormBuilder/components/Draggable.js +36 -0
  53. package/dist/features/FormBuilder/components/DraggableFormControl.d.ts +8 -0
  54. package/dist/features/FormBuilder/components/DraggableFormControl.js +35 -0
  55. package/dist/features/FormBuilder/components/Droppable.d.ts +9 -0
  56. package/dist/features/FormBuilder/components/Droppable.js +22 -0
  57. package/dist/features/FormBuilder/components/RowController.d.ts +9 -0
  58. package/dist/features/FormBuilder/components/RowController.js +24 -0
  59. package/dist/features/FormBuilder/constants/component_type.d.ts +106 -0
  60. package/dist/features/FormBuilder/constants/component_type.js +227 -0
  61. package/dist/features/FormBuilder/contexts/FormBuilderContext.d.ts +15 -0
  62. package/dist/features/FormBuilder/contexts/FormBuilderContext.js +29 -0
  63. package/dist/features/FormBuilder/index.d.ts +3 -0
  64. package/dist/features/FormBuilder/index.js +4 -0
  65. package/dist/features/FormBuilder/type.d.ts +13 -0
  66. package/dist/features/FormBuilder/type.js +1 -0
  67. package/dist/features/index.d.ts +2 -0
  68. package/dist/features/index.js +4 -0
  69. package/dist/{formik.esm-C1r1xebq.js → formik.esm-C4MFRNh0.js} +8 -7
  70. package/dist/headless-datepicker-BV7tOa5a.js +6568 -0
  71. package/dist/{index-DUypCuzD.js → index-CHNNgawm.js} +3 -3
  72. package/dist/index.css +1 -1
  73. package/dist/index.d.ts +1 -0
  74. package/dist/index.esm-tvWIpiMA.js +1720 -0
  75. package/dist/index.js +54 -47
  76. package/dist/sortable.esm-CtIsNNOX.js +406 -0
  77. package/package.json +34 -31
@@ -13,6 +13,7 @@ export type AutoCompleteBaseProps<ListOption extends SelectOption> = {
13
13
  readOnly?: boolean;
14
14
  className?: string;
15
15
  placeholder?: string;
16
+ closeButton?: boolean;
16
17
  onChange?: (value: string) => void;
17
18
  onSearch?: (query: string) => void;
18
19
  valueField?: ValueField<ListOption>;
@@ -1,91 +1,113 @@
1
- import { jsx as a, jsxs as p } from "react/jsx-runtime";
2
- import c, { Fragment as y } from "react";
3
- import { t as h } from "../../bundle-mjs-SHnj3fHy.js";
4
- import { H as x } from "../../index-BVp57yIc.js";
5
- import { c as w } from "../../index-CBEJ8A3p.js";
6
- import { getValue as n } from "../Selectbox/helper.js";
7
- import { N as C, G as E, H as N, z as L, K as H } from "../../combobox-DcjIgW1K.js";
8
- import { X as S } from "../../transition-6o20faRl.js";
9
- const A = (t, r) => r.type === "SEARCH" ? {
1
+ import { jsx as r, jsxs as m } from "react/jsx-runtime";
2
+ import y, { Fragment as h } from "react";
3
+ import { t as f } from "../../bundle-mjs-SHnj3fHy.js";
4
+ import { H as E } from "../../index-BVp57yIc.js";
5
+ import { c as C } from "../../index-CBEJ8A3p.js";
6
+ import { G as w } from "../../iconBase-Bipuk9tK.js";
7
+ import { getValue as c } from "../Selectbox/helper.js";
8
+ import { N, G as A, H as L, z as S, K as H } from "../../combobox-DcjIgW1K.js";
9
+ import { X as T } from "../../transition-6o20faRl.js";
10
+ function R(t) {
11
+ return w({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z" }, child: [] }] })(t);
12
+ }
13
+ const k = (t, a) => a.type === "SEARCH" ? {
10
14
  ...t,
11
- query: r.query,
12
- filterList: t.list.filter((l) => l.label.toLowerCase().includes(r.query.toLowerCase()))
13
- } : r.type === "SETVALUE" ? {
15
+ query: a.query,
16
+ filterList: t.list.filter((l) => l.label.toLowerCase().includes(a.query.toLowerCase()))
17
+ } : a.type === "SETVALUE" ? {
14
18
  ...t,
15
- value: r.value,
16
- selected: t.list.find((l) => n(l, t.valueField) === r.value) || null
17
- } : r.type === "SETSELECT" ? {
19
+ value: a.value,
20
+ selected: t.list.find((l) => c(l, t.valueField) === a.value) || null
21
+ } : a.type === "SETSELECT" ? {
18
22
  ...t,
19
- selected: r.selected,
20
- value: n(r.selected, t.valueField) + ""
21
- } : t, T = ({
23
+ selected: a.selected,
24
+ value: c(a.selected, t.valueField) + ""
25
+ } : t, q = ({
22
26
  id: t,
23
- name: r,
27
+ name: a,
24
28
  options: l,
25
29
  value: i = "",
26
- valueField: o = "value",
27
- onChange: d,
28
- onSearch: f,
29
- placeholder: v
30
- }, g) => {
31
- const [m, s] = c.useReducer(A, {
30
+ valueField: d = "value",
31
+ onChange: u,
32
+ onSearch: p,
33
+ placeholder: v,
34
+ closeButton: g = !0
35
+ }, b) => {
36
+ const [n, s] = y.useReducer(k, {
32
37
  list: l,
33
38
  query: "",
34
39
  filterList: l,
35
40
  value: i,
36
- valueField: o,
41
+ valueField: d,
37
42
  selected: l.find((e) => {
38
- const u = n(e, o);
39
- return i ? u === i : !1;
43
+ const o = c(e, d);
44
+ return i ? o === i : !1;
40
45
  }) || null
41
46
  });
42
- return c.useImperativeHandle(g, () => ({
47
+ return y.useImperativeHandle(b, () => ({
43
48
  search: (e) => s({ type: "SEARCH", query: e }),
44
49
  setValue: (e) => s({ type: "SETVALUE", value: e })
45
- })), /* @__PURE__ */ a(
46
- C,
50
+ })), /* @__PURE__ */ r(
51
+ N,
47
52
  {
48
- value: m.selected,
53
+ value: n.selected,
49
54
  onChange: (e) => {
50
55
  s({
51
56
  type: "SETSELECT",
52
57
  selected: e
53
- }), d && d(e ? n(e, o) : "");
58
+ }), u && u(e ? c(e, d) : "");
54
59
  },
55
- children: /* @__PURE__ */ p("div", { className: "relative", children: [
56
- /* @__PURE__ */ a(
57
- E,
60
+ children: /* @__PURE__ */ m("div", { className: "relative", children: [
61
+ /* @__PURE__ */ r(
62
+ A,
58
63
  {
59
64
  placeholder: v,
60
65
  onChange: (e) => {
61
- s({ type: "SEARCH", query: e.target.value }), f && f(e.target.value);
66
+ s({ type: "SEARCH", query: e.target.value }), p && p(e.target.value);
62
67
  },
63
68
  autoComplete: "off",
64
69
  displayValue: (e) => (e == null ? void 0 : e.label) || ""
65
70
  }
66
71
  ),
67
- /* @__PURE__ */ a(N, { className: "absolute inset-y-0 right-0 flex items-center pr-2", children: /* @__PURE__ */ a(
68
- x,
69
- {
70
- className: "h-5 w-5 text-gray-400",
71
- "aria-hidden": "true"
72
- }
73
- ) }),
74
- /* @__PURE__ */ a(
72
+ /* @__PURE__ */ m("div", { className: "absolute inset-y-0 right-0 flex items-center pr-2", children: [
73
+ /* @__PURE__ */ r(
74
+ "button",
75
+ {
76
+ type: "button",
77
+ className: f(
78
+ "size-5 text-gray-400 hover:text-gray-500 rounded-full hover:bg-gray-200 items-center flex justify-center",
79
+ n.value ? "" : "hidden",
80
+ g ? "" : "!hidden"
81
+ ),
82
+ onClick: () => {
83
+ s({ type: "SETVALUE", value: "" }), s({ type: "SEARCH", query: "" }), u && u("");
84
+ },
85
+ children: /* @__PURE__ */ r(R, {})
86
+ }
87
+ ),
88
+ /* @__PURE__ */ r(L, { className: "items-center", children: /* @__PURE__ */ r(
89
+ E,
90
+ {
91
+ className: "text-gray-400 size-5",
92
+ "aria-hidden": "true"
93
+ }
94
+ ) })
95
+ ] }),
96
+ /* @__PURE__ */ r(
75
97
  "input",
76
98
  {
77
99
  className: "!hidden",
78
100
  type: "text",
79
101
  id: t,
80
- name: r,
102
+ name: a,
81
103
  readOnly: !0,
82
- value: m.value + ""
104
+ value: n.value + ""
83
105
  }
84
106
  ),
85
- /* @__PURE__ */ a(
86
- S,
107
+ /* @__PURE__ */ r(
108
+ T,
87
109
  {
88
- as: y,
110
+ as: h,
89
111
  enter: "transition duration-100 ease-out",
90
112
  enterFrom: "scale-95 transform opacity-0",
91
113
  enterTo: "scale-100 transform opacity-100",
@@ -93,23 +115,23 @@ const A = (t, r) => r.type === "SEARCH" ? {
93
115
  leaveFrom: "scale-100 transform opacity-100",
94
116
  leaveTo: "scale-95 transform opacity-0",
95
117
  afterLeave: () => s({ type: "SEARCH", query: "" }),
96
- children: /* @__PURE__ */ a(L, { className: "absolute z-50 mt-5 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black/5 focus:outline-none dark:bg-gray-900 sm:text-sm", children: m.filterList.map((e) => /* @__PURE__ */ a(H, { as: y, value: e, children: ({ selected: u, focus: b }) => /* @__PURE__ */ p(
118
+ children: /* @__PURE__ */ r(S, { className: "absolute z-50 w-full py-1 mt-5 overflow-auto text-base bg-white shadow-lg max-h-60 rounded-md ring-1 ring-black/5 focus:outline-none dark:bg-gray-900 sm:text-sm", children: n.filterList.map((e) => /* @__PURE__ */ r(H, { as: h, value: e, children: ({ selected: o, focus: x }) => /* @__PURE__ */ m(
97
119
  "li",
98
120
  {
99
- className: h(
121
+ className: f(
100
122
  "relative flex cursor-pointer justify-between px-5 py-4 text-black hover:bg-primary-100 dark:text-white",
101
- (u || b) && "bg-primary-100 dark:bg-gray-700",
123
+ (o || x) && "bg-primary-100 dark:bg-gray-700",
102
124
  e.enable === !1 && "cursor-not-allowed opacity-50"
103
125
  ),
104
126
  children: [
105
- /* @__PURE__ */ a("span", { className: "pl-5", children: e.label }),
106
- u ? /* @__PURE__ */ a(
127
+ /* @__PURE__ */ r("span", { className: "pl-5", children: e.label }),
128
+ o ? /* @__PURE__ */ r(
107
129
  "span",
108
130
  {
109
- className: h(
131
+ className: f(
110
132
  "absolute inset-y-0 left-0 flex items-center pl-3 text-primary-600"
111
133
  ),
112
- children: /* @__PURE__ */ a(w, { className: "h-5 w-5", "aria-hidden": "true" })
134
+ children: /* @__PURE__ */ r(C, { className: "w-5 h-5", "aria-hidden": "true" })
113
135
  }
114
136
  ) : null
115
137
  ]
@@ -120,7 +142,7 @@ const A = (t, r) => r.type === "SEARCH" ? {
120
142
  ] })
121
143
  }
122
144
  );
123
- }, B = c.forwardRef(T);
145
+ }, X = y.forwardRef(q);
124
146
  export {
125
- B as default
147
+ X as default
126
148
  };
@@ -1,10 +1,10 @@
1
1
  import { jsx as l, jsxs as m } from "react/jsx-runtime";
2
2
  import p, { Fragment as v } from "react";
3
- import { _ as b } from "../../lodash-DH2GRwR5.js";
3
+ import { _ as x } from "../../lodash-DH2GRwR5.js";
4
4
  import { t as E } from "../../bundle-mjs-SHnj3fHy.js";
5
5
  import { H as C } from "../../index-BVp57yIc.js";
6
6
  import { c as w } from "../../index-CBEJ8A3p.js";
7
- import { d as N } from "../../index-DUypCuzD.js";
7
+ import { f as N } from "../../index-CHNNgawm.js";
8
8
  import { getValue as o } from "../Selectbox/helper.js";
9
9
  import { N as L, G as S, H as T, z as q, K as A } from "../../combobox-DcjIgW1K.js";
10
10
  import { X as R } from "../../transition-6o20faRl.js";
@@ -50,7 +50,7 @@ const k = (r, t) => {
50
50
  onChange: f,
51
51
  onSearch: y,
52
52
  placeholder: g
53
- }, x) => {
53
+ }, b) => {
54
54
  var h;
55
55
  const [s, c] = p.useReducer(k, {
56
56
  query: "",
@@ -60,10 +60,10 @@ const k = (r, t) => {
60
60
  valueField: n,
61
61
  selected: u.filter((e) => {
62
62
  const i = o(e, n);
63
- return b.some(a, (d) => d + "" == i + "");
63
+ return x.some(a, (d) => d + "" == i + "");
64
64
  }) || []
65
65
  });
66
- return p.useImperativeHandle(x, () => ({
66
+ return p.useImperativeHandle(b, () => ({
67
67
  search: (e) => {
68
68
  c({ type: "SEARCH", query: e });
69
69
  },
@@ -89,6 +89,7 @@ const k = (r, t) => {
89
89
  /* @__PURE__ */ l(
90
90
  "button",
91
91
  {
92
+ type: "button",
92
93
  onClick: () => c({ type: "REMOVESELECT", selected: e }),
93
94
  children: /* @__PURE__ */ l(N, { fontSize: 12, className: "font-bold" })
94
95
  }
@@ -114,7 +115,7 @@ const k = (r, t) => {
114
115
  /* @__PURE__ */ l(T, { className: "absolute inset-y-0 right-0 flex items-center pr-2", children: /* @__PURE__ */ l(
115
116
  C,
116
117
  {
117
- className: "h-5 w-5 text-gray-400",
118
+ className: "w-5 h-5 text-gray-400",
118
119
  "aria-hidden": "true"
119
120
  }
120
121
  ) }),
@@ -140,7 +141,7 @@ const k = (r, t) => {
140
141
  leaveFrom: "scale-100 transform opacity-100",
141
142
  leaveTo: "scale-95 transform opacity-0",
142
143
  afterLeave: () => c({ type: "SEARCH", query: "" }),
143
- children: /* @__PURE__ */ l(q, { className: "absolute mt-10 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black/5 focus:outline-none dark:bg-gray-900 sm:text-sm", children: s.filterList.map((e) => /* @__PURE__ */ l(A, { as: v, value: e, children: ({ selected: i, focus: d }) => /* @__PURE__ */ m(
144
+ children: /* @__PURE__ */ l(q, { className: "absolute w-full py-1 mt-10 overflow-auto text-base bg-white shadow-lg max-h-60 rounded-md ring-1 ring-black/5 focus:outline-none dark:bg-gray-900 sm:text-sm", children: s.filterList.map((e) => /* @__PURE__ */ l(A, { as: v, value: e, children: ({ selected: i, focus: d }) => /* @__PURE__ */ m(
144
145
  "li",
145
146
  {
146
147
  className: E(
@@ -1,32 +1,57 @@
1
- import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { b as n, c as s } from "../../index-DUypCuzD.js";
3
- import { t as c } from "../../bundle-mjs-SHnj3fHy.js";
4
- const m = ({
5
- className: t,
6
- isError: o,
7
- inputProps: l,
8
- intermediate: a = !1,
9
- ...r
10
- }) => /* @__PURE__ */ d("div", { className: "relative w-5 h-5 overflow-hidden rounded", children: [
11
- /* @__PURE__ */ e(
12
- "input",
13
- {
14
- type: "checkbox",
15
- className: c(
16
- "relative z-10",
17
- "peer block h-full w-full cursor-pointer appearance-none rounded border-2 border-gray-400 focus:outline-4 focus:outline-blue-500",
18
- "checked:border-primary-600",
19
- a && "border-primary-600",
20
- o && "border-red-500",
21
- t
22
- ),
23
- value: (l == null ? void 0 : l.value) || (r == null ? void 0 : r.value) || "",
24
- ...r
25
- }
26
- ),
27
- a === !0 && /* @__PURE__ */ e("span", { className: "absolute left-1/2 top-1/2 flex h-[150%] w-[150%] -translate-x-1/2 -translate-y-1/2 transform items-center justify-center overflow-hidden rounded font-bold text-primary-600 dark:fill-primary-600", children: /* @__PURE__ */ e(n, { className: "w-full h-full rounded" }) }),
28
- /* @__PURE__ */ e("span", { className: "absolute left-1/2 top-1/2 hidden h-[150%] w-[150%] -translate-x-1/2 -translate-y-1/2 transform items-center justify-center overflow-hidden rounded font-bold text-primary-600 peer-checked:flex dark:fill-primary-600", children: /* @__PURE__ */ e(s, { className: "w-full h-full rounded" }) })
29
- ] });
1
+ import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
+ import d from "react";
3
+ import { b as s, c as u } from "../../index-CHNNgawm.js";
4
+ import { t as f } from "../../bundle-mjs-SHnj3fHy.js";
5
+ const w = ({
6
+ className: n,
7
+ isError: c,
8
+ inputProps: t,
9
+ intermediate: o = !1,
10
+ ...l
11
+ }) => {
12
+ const a = d.useRef(null);
13
+ return /* @__PURE__ */ i("div", { className: "relative w-5 h-5 overflow-hidden rounded", children: [
14
+ /* @__PURE__ */ r(
15
+ "input",
16
+ {
17
+ ref: a,
18
+ type: "checkbox",
19
+ className: f(
20
+ "relative ",
21
+ "peer block h-full w-full cursor-pointer appearance-none rounded border-2 border-gray-400 focus:outline-4 focus:outline-blue-500 bg-transparent",
22
+ "checked:border-primary-600",
23
+ o && "border-primary-600",
24
+ c && "border-red-500",
25
+ n
26
+ ),
27
+ value: (t == null ? void 0 : t.value) || (l == null ? void 0 : l.value) || "",
28
+ ...l
29
+ }
30
+ ),
31
+ o === !0 && /* @__PURE__ */ r(
32
+ "span",
33
+ {
34
+ className: "absolute left-1/2 top-1/2 flex h-[150%] w-[150%] -translate-x-1/2 -translate-y-1/2 transform items-center justify-center overflow-hidden rounded font-bold text-primary-600 dark:fill-primary-600 bg-white cursor-pointer",
35
+ onClick: () => {
36
+ var e;
37
+ return (e = a.current) == null ? void 0 : e.click();
38
+ },
39
+ children: /* @__PURE__ */ r(s, { className: "w-full h-full rounded" })
40
+ }
41
+ ),
42
+ /* @__PURE__ */ r(
43
+ "span",
44
+ {
45
+ className: "absolute left-1/2 top-1/2 hidden h-[150%] w-[150%] -translate-x-1/2 -translate-y-1/2 transform items-center justify-center overflow-hidden rounded font-bold text-primary-600 peer-checked:flex dark:fill-primary-600 bg-white cursor-pointer",
46
+ onClick: () => {
47
+ var e;
48
+ return (e = a.current) == null ? void 0 : e.click();
49
+ },
50
+ children: /* @__PURE__ */ r(u, { className: "w-full h-full rounded" })
51
+ }
52
+ )
53
+ ] });
54
+ };
30
55
  export {
31
- m as CheckboxBase
56
+ w as CheckboxBase
32
57
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { u as i } from "../../formik.esm-C1r1xebq.js";
2
+ import { a as i } from "../../formik.esm-C4MFRNh0.js";
3
3
  import { Checkbox as m } from "./Checkbox.js";
4
4
  const f = ({
5
5
  name: o,
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { ResponsiveColumn } from '../Row';
3
3
 
4
- export type ColumnProps = {
4
+ export type ColumnProps = React.HtmlHTMLAttributes<HTMLDivElement> & {
5
5
  className?: string;
6
6
  span?: ResponsiveColumn;
7
7
  children: React.ReactNode;
@@ -1,6 +1,6 @@
1
- import { jsx as p } from "react/jsx-runtime";
2
- import { t as l } from "../../bundle-mjs-SHnj3fHy.js";
3
- const o = (a) => {
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { t as r } from "../../bundle-mjs-SHnj3fHy.js";
3
+ const n = (a) => {
4
4
  if (!a)
5
5
  return "";
6
6
  const s = [];
@@ -119,14 +119,24 @@ const o = (a) => {
119
119
  break;
120
120
  }
121
121
  return s.join(" ");
122
- }, u = ({
123
- span: a = { sm: 1, md: 1 },
124
- className: s,
125
- children: e
122
+ }, h = ({
123
+ id: a,
124
+ span: s = { sm: 1, md: 1 },
125
+ className: e,
126
+ children: c,
127
+ ...p
126
128
  }) => {
127
- const c = o(a);
128
- return /* @__PURE__ */ p("div", { className: l("my-col", c, s), children: e });
129
+ const l = n(s);
130
+ return /* @__PURE__ */ o(
131
+ "div",
132
+ {
133
+ className: r("my-col", l, e),
134
+ id: a,
135
+ ...p,
136
+ children: c
137
+ }
138
+ );
129
139
  };
130
140
  export {
131
- u as default
141
+ h as default
132
142
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as n, jsx as s, Fragment as F } from "react/jsx-runtime";
2
2
  import w, { Fragment as k } from "react";
3
- import { A as N, a as T } from "../../../index-DUypCuzD.js";
3
+ import { A as N, a as T } from "../../../index-CHNNgawm.js";
4
4
  import { t as c } from "../../../bundle-mjs-SHnj3fHy.js";
5
5
  import { u as C, a as D, b as S, c as j, d as M, e as R } from "../../../calculate-active-index-xXUBsarF.js";
6
6
  import { DataTableContext as A } from "../contexts/DataTableContext.js";
@@ -2,8 +2,8 @@ import { default as React } from 'react';
2
2
 
3
3
  export type DatePickerProps = {
4
4
  name: string;
5
- value: number;
6
- onChange: (value: number) => void;
5
+ value: string;
6
+ onChange: (value: string) => void;
7
7
  showTime?: boolean;
8
8
  readOnly?: boolean;
9
9
  };