@itilite/lumina-ui 1.1.4 → 1.1.6

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 (181) hide show
  1. package/dist/atom/LoadingSpinner/LoadingSpinner.d.mts +19 -0
  2. package/dist/atom/LoadingSpinner/LoadingSpinner.d.ts +19 -0
  3. package/dist/atom/LoadingSpinner/LoadingSpinner.js +90 -0
  4. package/dist/atom/LoadingSpinner/LoadingSpinner.mjs +9 -0
  5. package/dist/atom/RangePicker/Chevron.d.mts +13 -0
  6. package/dist/atom/RangePicker/Chevron.d.ts +13 -0
  7. package/dist/atom/RangePicker/Chevron.js +110 -0
  8. package/dist/atom/RangePicker/Chevron.mjs +7 -0
  9. package/dist/atom/RangePicker/RangePicker.d.mts +26 -0
  10. package/dist/atom/RangePicker/RangePicker.d.ts +26 -0
  11. package/dist/atom/RangePicker/RangePicker.js +1451 -0
  12. package/dist/atom/RangePicker/RangePicker.mjs +13 -0
  13. package/dist/atom/Select/Select.d.mts +43 -0
  14. package/dist/atom/Select/Select.d.ts +43 -0
  15. package/dist/atom/Select/Select.js +800 -0
  16. package/dist/atom/Select/Select.mjs +11 -0
  17. package/dist/chunk-22VF7AVT.mjs +618 -0
  18. package/dist/chunk-2BNAAOBU.mjs +670 -0
  19. package/dist/chunk-2IMRLK6M.mjs +44 -0
  20. package/dist/chunk-2JIINZEK.mjs +618 -0
  21. package/dist/chunk-2LBFKQDZ.mjs +660 -0
  22. package/dist/chunk-2ZJBF5C4.mjs +618 -0
  23. package/dist/chunk-33JITG5Y.mjs +621 -0
  24. package/dist/chunk-3IMCN4K3.mjs +670 -0
  25. package/dist/chunk-3K2RTVMH.mjs +584 -0
  26. package/dist/chunk-3KBQQCET.mjs +674 -0
  27. package/dist/chunk-3KUHXNFH.mjs +678 -0
  28. package/dist/chunk-3PPNOIXN.mjs +618 -0
  29. package/dist/chunk-3XFY3TXJ.mjs +611 -0
  30. package/dist/chunk-3XW7HS5W.mjs +618 -0
  31. package/dist/chunk-3YDCRJYV.mjs +618 -0
  32. package/dist/chunk-447HZYZ4.mjs +612 -0
  33. package/dist/chunk-46F3B4U6.mjs +618 -0
  34. package/dist/chunk-4K5RZHL4.mjs +618 -0
  35. package/dist/chunk-4QHFP4YD.mjs +666 -0
  36. package/dist/chunk-4TFX4DHY.mjs +702 -0
  37. package/dist/chunk-4TWO6JES.mjs +666 -0
  38. package/dist/chunk-4UQVJ3ZU.mjs +666 -0
  39. package/dist/chunk-5247J65D.mjs +670 -0
  40. package/dist/chunk-66H5WSEJ.mjs +618 -0
  41. package/dist/chunk-6NZEDJ2M.mjs +582 -0
  42. package/dist/chunk-6OGEXG5U.mjs +618 -0
  43. package/dist/chunk-6ROQXYVN.mjs +672 -0
  44. package/dist/chunk-6WNI6X5Q.mjs +618 -0
  45. package/dist/chunk-72PPCN6D.mjs +675 -0
  46. package/dist/chunk-74EGXFNN.mjs +618 -0
  47. package/dist/chunk-77NCDGJA.mjs +707 -0
  48. package/dist/chunk-7NGBIPZT.mjs +618 -0
  49. package/dist/chunk-7NM4FNMQ.mjs +666 -0
  50. package/dist/chunk-7YBBSVUA.mjs +672 -0
  51. package/dist/chunk-7Z52UP7P.mjs +618 -0
  52. package/dist/chunk-B3LDL3KD.mjs +670 -0
  53. package/dist/chunk-B65LGQ47.mjs +666 -0
  54. package/dist/chunk-B6MTRO54.mjs +618 -0
  55. package/dist/chunk-BJBP5XYB.mjs +618 -0
  56. package/dist/chunk-BLLSWPCC.mjs +618 -0
  57. package/dist/chunk-BOYB7REJ.mjs +670 -0
  58. package/dist/chunk-BP2D64XI.mjs +618 -0
  59. package/dist/chunk-BP4XS2GF.mjs +585 -0
  60. package/dist/chunk-BRT5IPGQ.mjs +618 -0
  61. package/dist/chunk-BTIIO2CP.mjs +582 -0
  62. package/dist/chunk-C2J3VBFZ.mjs +670 -0
  63. package/dist/chunk-CDOR7GQP.mjs +618 -0
  64. package/dist/chunk-CI2RMA4V.mjs +612 -0
  65. package/dist/chunk-CNUIZOQJ.mjs +669 -0
  66. package/dist/chunk-CPBXPEST.mjs +672 -0
  67. package/dist/chunk-CVOLXLMU.mjs +618 -0
  68. package/dist/chunk-CWUCNC36.mjs +666 -0
  69. package/dist/chunk-CZBGN6GS.mjs +612 -0
  70. package/dist/chunk-D3APB62N.mjs +618 -0
  71. package/dist/chunk-D5B2TUSL.mjs +591 -0
  72. package/dist/chunk-D7TWXVL2.mjs +674 -0
  73. package/dist/chunk-DAZ53AD7.mjs +671 -0
  74. package/dist/chunk-DBY5U6IU.mjs +618 -0
  75. package/dist/chunk-DXTVU4M5.mjs +618 -0
  76. package/dist/chunk-DZBTD6QK.mjs +666 -0
  77. package/dist/chunk-E6UPDTDY.mjs +611 -0
  78. package/dist/chunk-EAK2IMM4.mjs +37 -0
  79. package/dist/chunk-EQT2Q2LW.mjs +610 -0
  80. package/dist/chunk-EWMCELQV.mjs +670 -0
  81. package/dist/chunk-EYKWBEHX.mjs +612 -0
  82. package/dist/chunk-FHLCFUP6.mjs +666 -0
  83. package/dist/chunk-FMPFLQZV.mjs +670 -0
  84. package/dist/chunk-G25YXZ74.mjs +618 -0
  85. package/dist/chunk-G6P5MKL3.mjs +582 -0
  86. package/dist/chunk-GSG6ZC3R.mjs +37 -0
  87. package/dist/chunk-H3MQUFTJ.mjs +618 -0
  88. package/dist/chunk-HKZRLVBX.mjs +618 -0
  89. package/dist/chunk-HQALJGVT.mjs +618 -0
  90. package/dist/chunk-I5GBZ3UX.mjs +676 -0
  91. package/dist/chunk-IUTUCRDD.mjs +611 -0
  92. package/dist/chunk-IV4V55OA.mjs +672 -0
  93. package/dist/chunk-J2RAFKAD.mjs +618 -0
  94. package/dist/chunk-JCMSG75Q.mjs +51 -0
  95. package/dist/chunk-JL34UFI7.mjs +670 -0
  96. package/dist/chunk-JTKSGGQM.mjs +611 -0
  97. package/dist/chunk-JZC2RRDH.mjs +618 -0
  98. package/dist/chunk-JZCHXA6R.mjs +585 -0
  99. package/dist/chunk-K3Y7VKT6.mjs +670 -0
  100. package/dist/chunk-KEVXNUFG.mjs +672 -0
  101. package/dist/chunk-KH7D4ESJ.mjs +584 -0
  102. package/dist/chunk-KQBCWIIM.mjs +618 -0
  103. package/dist/chunk-KRYAP7NG.mjs +670 -0
  104. package/dist/chunk-KU655POK.mjs +657 -0
  105. package/dist/chunk-L55SLVNX.mjs +618 -0
  106. package/dist/chunk-LCRYOZEV.mjs +618 -0
  107. package/dist/chunk-LH7PP6V2.mjs +618 -0
  108. package/dist/chunk-LJMMYKE2.mjs +618 -0
  109. package/dist/chunk-LK5TROLL.mjs +666 -0
  110. package/dist/chunk-MDR7DAKM.mjs +618 -0
  111. package/dist/chunk-MJZLCWZ5.mjs +666 -0
  112. package/dist/chunk-MKZTEJLS.mjs +612 -0
  113. package/dist/chunk-MQCOQHHP.mjs +618 -0
  114. package/dist/chunk-MSM4KUBM.mjs +618 -0
  115. package/dist/chunk-MTIUER63.mjs +676 -0
  116. package/dist/chunk-NBLV3UX5.mjs +618 -0
  117. package/dist/chunk-NLADSOJS.mjs +618 -0
  118. package/dist/chunk-NPMTWR3Y.mjs +618 -0
  119. package/dist/chunk-NQ6GKEO7.mjs +670 -0
  120. package/dist/chunk-NZSFYNUK.mjs +618 -0
  121. package/dist/chunk-OCNF4O5U.mjs +612 -0
  122. package/dist/chunk-OCW5QSWA.mjs +618 -0
  123. package/dist/chunk-OQF7JZFS.mjs +670 -0
  124. package/dist/chunk-OT675HGC.mjs +670 -0
  125. package/dist/chunk-P47TCYKN.mjs +618 -0
  126. package/dist/chunk-P7TOGXPI.mjs +672 -0
  127. package/dist/chunk-PCAXXEEQ.mjs +618 -0
  128. package/dist/chunk-PDHMG7OZ.mjs +672 -0
  129. package/dist/chunk-PFGVOZGM.mjs +618 -0
  130. package/dist/chunk-PGAAFJOG.mjs +576 -0
  131. package/dist/chunk-PQSSDK3E.mjs +618 -0
  132. package/dist/chunk-PST7W3NG.mjs +618 -0
  133. package/dist/chunk-QGPBZ2YV.mjs +664 -0
  134. package/dist/chunk-QKTMWS4J.mjs +43 -0
  135. package/dist/chunk-QOPCJITC.mjs +618 -0
  136. package/dist/chunk-QSE52CRC.mjs +618 -0
  137. package/dist/chunk-QTP2QMPL.mjs +669 -0
  138. package/dist/chunk-QUZAACW5.mjs +585 -0
  139. package/dist/chunk-R47XX6IW.mjs +611 -0
  140. package/dist/chunk-RL6AEU6E.mjs +612 -0
  141. package/dist/chunk-RZ7V2KQZ.mjs +621 -0
  142. package/dist/chunk-S3CUYIE3.mjs +585 -0
  143. package/dist/chunk-T7T4HCHH.mjs +618 -0
  144. package/dist/chunk-TED2WCDG.mjs +618 -0
  145. package/dist/chunk-TENXL4LK.mjs +107 -0
  146. package/dist/chunk-TJLIMMMB.mjs +612 -0
  147. package/dist/chunk-TNOJDLON.mjs +611 -0
  148. package/dist/chunk-TOR67IHH.mjs +672 -0
  149. package/dist/chunk-TOV7NVKM.mjs +618 -0
  150. package/dist/chunk-TSYMIRRN.mjs +618 -0
  151. package/dist/chunk-TTSRI4V7.mjs +708 -0
  152. package/dist/chunk-UBS3DTE5.mjs +672 -0
  153. package/dist/chunk-UBW6RYVF.mjs +670 -0
  154. package/dist/chunk-UFAFA6RV.mjs +585 -0
  155. package/dist/chunk-UJNUFKR5.mjs +43 -0
  156. package/dist/chunk-VAZZJOSJ.mjs +618 -0
  157. package/dist/chunk-VCWXOX2B.mjs +618 -0
  158. package/dist/chunk-VHCLEOHZ.mjs +618 -0
  159. package/dist/chunk-VTZSCGME.mjs +666 -0
  160. package/dist/chunk-W33KZ2XR.mjs +618 -0
  161. package/dist/chunk-WOVMTYDV.mjs +612 -0
  162. package/dist/chunk-WR3USBWK.mjs +672 -0
  163. package/dist/chunk-WXYQARQ6.mjs +618 -0
  164. package/dist/chunk-XE4LPYOW.mjs +581 -0
  165. package/dist/chunk-Y6XKW4NG.mjs +618 -0
  166. package/dist/chunk-YQSNJFZE.mjs +618 -0
  167. package/dist/chunk-Z6VG6AG7.mjs +678 -0
  168. package/dist/chunk-ZAPKQ4C3.mjs +678 -0
  169. package/dist/chunk-ZCWDQNHL.mjs +618 -0
  170. package/dist/chunk-ZF5JBNCI.mjs +618 -0
  171. package/dist/chunk-ZN7BHWOF.mjs +672 -0
  172. package/dist/chunk-ZTRM4HZJ.mjs +53 -0
  173. package/dist/chunk-ZUMHWVMV.mjs +585 -0
  174. package/dist/chunk-ZUQJKA5J.mjs +666 -0
  175. package/dist/chunk-ZWHWIGYQ.mjs +618 -0
  176. package/dist/index.d.mts +4 -0
  177. package/dist/index.d.ts +4 -0
  178. package/dist/index.js +1350 -0
  179. package/dist/index.mjs +22 -9
  180. package/dist/styles.css +845 -228
  181. package/package.json +4 -2
@@ -0,0 +1,800 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
37
+ var __export = (target, all) => {
38
+ for (var name in all)
39
+ __defProp(target, name, { get: all[name], enumerable: true });
40
+ };
41
+ var __copyProps = (to, from, except, desc) => {
42
+ if (from && typeof from === "object" || typeof from === "function") {
43
+ for (let key of __getOwnPropNames(from))
44
+ if (!__hasOwnProp.call(to, key) && key !== except)
45
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
46
+ }
47
+ return to;
48
+ };
49
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
50
+ // If the importer is in node compatibility mode or this is not an ESM
51
+ // file that has been converted to a CommonJS file using a Babel-
52
+ // compatible transform (i.e. "__esModule" has not been set), then set
53
+ // "default" to the CommonJS "module.exports" for node compatibility.
54
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
55
+ mod
56
+ ));
57
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
58
+
59
+ // src/atom/Select/Select.tsx
60
+ var Select_exports = {};
61
+ __export(Select_exports, {
62
+ Select: () => Select,
63
+ default: () => Select_default
64
+ });
65
+ module.exports = __toCommonJS(Select_exports);
66
+ var import_react2 = require("react");
67
+ var import_clsx = __toESM(require("clsx"));
68
+
69
+ // src/icons/Chevron.tsx
70
+ var React = __toESM(require("react"));
71
+ var import_jsx_runtime = require("react/jsx-runtime");
72
+ var Chevron = React.memo(
73
+ (_a) => {
74
+ var _b = _a, { size = 16, color = "#6b7280", className } = _b, rest = __objRest(_b, ["size", "color", "className"]);
75
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
76
+ "svg",
77
+ __spreadProps(__spreadValues({
78
+ xmlns: "http://www.w3.org/2000/svg",
79
+ width: size,
80
+ height: size,
81
+ fill: "none",
82
+ viewBox: "0 0 16 16",
83
+ className
84
+ }, rest), {
85
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
86
+ "path",
87
+ {
88
+ fill: color,
89
+ d: "M11.78 6.22a.75.75 0 00-1.06 0L8 8.94 5.28 6.22a.75.75 0 00-1.06 1.06l3.25 3.25a.75.75 0 001.06 0l3.25-3.25a.75.75 0 000-1.06z"
90
+ }
91
+ )
92
+ })
93
+ );
94
+ }
95
+ );
96
+ Chevron.displayName = "Chevron";
97
+
98
+ // src/icons/CrossV2.tsx
99
+ var React2 = __toESM(require("react"));
100
+ var import_jsx_runtime2 = require("react/jsx-runtime");
101
+ var CrossV2 = React2.memo(
102
+ (_a) => {
103
+ var _b = _a, { size = 16, color = "#111827", className } = _b, rest = __objRest(_b, ["size", "color", "className"]);
104
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
105
+ "svg",
106
+ __spreadProps(__spreadValues({
107
+ xmlns: "http://www.w3.org/2000/svg",
108
+ width: size,
109
+ height: size,
110
+ fill: "none",
111
+ viewBox: "0 0 20 20"
112
+ }, rest), {
113
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
114
+ "path",
115
+ {
116
+ fill: color,
117
+ d: "M4.411 4.41a.833.833 0 0 1 1.179 0L10 8.822l4.411-4.41a.833.833 0 1 1 1.179 1.178L11.179 10l4.41 4.41a.833.833 0 0 1-1.178 1.18l-4.41-4.411-4.411 4.41a.833.833 0 1 1-1.179-1.178L8.821 10l-4.41-4.41a.833.833 0 0 1 0-1.18"
118
+ }
119
+ )
120
+ })
121
+ );
122
+ }
123
+ );
124
+ CrossV2.displayName = "CrossV2";
125
+
126
+ // src/icons/Lock.tsx
127
+ var import_react = __toESM(require("react"));
128
+ var import_jsx_runtime3 = require("react/jsx-runtime");
129
+ var Lock = import_react.default.memo((_a) => {
130
+ var _b = _a, { size = 16, color = "#000" } = _b, rest = __objRest(_b, ["size", "color"]);
131
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
132
+ "svg",
133
+ __spreadProps(__spreadValues({
134
+ xmlns: "http://www.w3.org/2000/svg",
135
+ width: size,
136
+ height: size,
137
+ fill: "none",
138
+ viewBox: "0 0 16 16"
139
+ }, rest), {
140
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
141
+ "path",
142
+ {
143
+ fill: color,
144
+ d: "M9 9a1 1 0 11-2 0 1 1 0 012 0zM5 4h-.5A2.5 2.5 0 002 6.5v5A2.5 2.5 0 004.5 14h7a2.5 2.5 0 002.5-2.5v-5A2.5 2.5 0 0011.5 4H11v-.5a3 3 0 00-6 0V4zm1-.5a2 2 0 114 0V4H6v-.5zM11.5 5A1.5 1.5 0 0113 6.5v5a1.5 1.5 0 01-1.5 1.5h-7A1.5 1.5 0 013 11.5v-5A1.5 1.5 0 014.5 5h7z"
145
+ }
146
+ )
147
+ })
148
+ );
149
+ });
150
+
151
+ // src/atom/Tooltip/Tooltip.tsx
152
+ var import_antd = require("antd");
153
+
154
+ // src/atom/Tooltip/Tooltip.module.scss
155
+ var Tooltip_module_default = { "light": "Tooltip-module__light___H5oCc" };
156
+
157
+ // src/atom/Tooltip/Tooltip.tsx
158
+ var import_jsx_runtime4 = require("react/jsx-runtime");
159
+ var Tooltip = (_a) => {
160
+ var _b = _a, {
161
+ children,
162
+ title = "",
163
+ placement = "top",
164
+ color = "#1F2937",
165
+ className,
166
+ mode = "dark"
167
+ } = _b, rest = __objRest(_b, [
168
+ "children",
169
+ "title",
170
+ "placement",
171
+ "color",
172
+ "className",
173
+ "mode"
174
+ ]);
175
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
176
+ import_antd.Tooltip,
177
+ __spreadProps(__spreadValues({
178
+ className,
179
+ color,
180
+ title,
181
+ placement,
182
+ overlayClassName: mode === "light" ? Tooltip_module_default.light : ""
183
+ }, rest), {
184
+ children
185
+ })
186
+ );
187
+ };
188
+ Tooltip.displayName = "Tooltip";
189
+ var Tooltip_default = Tooltip;
190
+
191
+ // src/atom/LoadingSpinner/LoadingSpinner.tsx
192
+ var import_icons = require("@ant-design/icons");
193
+ var import_antd2 = require("antd");
194
+
195
+ // src/atom/LoadingSpinner/LoadingSpinner.module.scss
196
+ var LoadingSpinner_module_default = { "spinnerContainer": "LoadingSpinner-module__spinnerContainer___DiPLf" };
197
+
198
+ // src/atom/LoadingSpinner/LoadingSpinner.tsx
199
+ var import_jsx_runtime5 = require("react/jsx-runtime");
200
+ var sizeMapping = {
201
+ xs: 16,
202
+ small: 24,
203
+ medium: 36,
204
+ large: 48
205
+ };
206
+ var LoadingSpinner = (_a) => {
207
+ var _b = _a, { size = "small", color = "#ec5d25" } = _b, rest = __objRest(_b, ["size", "color"]);
208
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", __spreadProps(__spreadValues({ className: LoadingSpinner_module_default.spinnerContainer }, rest), { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
209
+ import_antd2.Spin,
210
+ {
211
+ indicator: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
212
+ import_icons.LoadingOutlined,
213
+ {
214
+ style: { fontSize: sizeMapping[size], color },
215
+ spin: true
216
+ }
217
+ )
218
+ }
219
+ ) }));
220
+ };
221
+ LoadingSpinner.displayName = "LoadingSpinner";
222
+ var LoadingSpinner_default = LoadingSpinner;
223
+
224
+ // src/atom/Select/Select.tsx
225
+ var import_jsx_runtime6 = require("react/jsx-runtime");
226
+ var Select = ({
227
+ label,
228
+ mandatory = false,
229
+ error = false,
230
+ options = [],
231
+ valueSelected = "",
232
+ // Keep for backward compatibility
233
+ value: _valueProp,
234
+ // Rename to avoid potential conflicts with native value attribute
235
+ onChange,
236
+ onSearch,
237
+ isLoading = false,
238
+ disabled = false,
239
+ disabledTooltip = "",
240
+ className = "",
241
+ dropdownClassName = "",
242
+ optionClassName = "",
243
+ style = {},
244
+ showDisplayValue = false,
245
+ // New prop to show displayValue instead of label
246
+ allowClear = true,
247
+ enableSearch = true,
248
+ doubleCharSearch = false,
249
+ id,
250
+ name,
251
+ tabIndex,
252
+ // Add tabIndex prop
253
+ // Additional styling props
254
+ size = "default",
255
+ // 'small', 'default', 'large'
256
+ variant = "default",
257
+ // 'default', 'filled', 'outlined'
258
+ wrapperClassName = "",
259
+ inputClassName = "",
260
+ // Custom class for input element specifically
261
+ labelClassName = "",
262
+ // Custom class for label element specifically
263
+ height = "tw-h-12",
264
+ // Custom height
265
+ experience = "business"
266
+ }) => {
267
+ const normalizeValue = (0, import_react2.useCallback)(
268
+ (val) => {
269
+ if (val === null || val === void 0) return "";
270
+ return String(val);
271
+ },
272
+ []
273
+ );
274
+ const validatedOptions = (0, import_react2.useMemo)(() => {
275
+ if (!Array.isArray(options)) return [];
276
+ return options.filter(
277
+ (opt) => opt && typeof opt === "object" && opt.value !== void 0 && opt.value !== null && opt.label !== void 0
278
+ );
279
+ }, [options]);
280
+ const [isOpen, setIsOpen] = (0, import_react2.useState)(false);
281
+ const [isFocused, setIsFocused] = (0, import_react2.useState)(false);
282
+ const [searchTerm, setSearchTerm] = (0, import_react2.useState)("");
283
+ const [isHovering, setIsHovering] = (0, import_react2.useState)(false);
284
+ const [highlightedIndex, setHighlightedIndex] = (0, import_react2.useState)(-1);
285
+ const [selectedValue, setSelectedValue] = (0, import_react2.useState)(() => {
286
+ const initialValue = valueSelected;
287
+ if (initialValue === null || initialValue === void 0) return "";
288
+ return String(initialValue);
289
+ });
290
+ const inputRef = (0, import_react2.useRef)(null);
291
+ const inputValueRef = (0, import_react2.useRef)("");
292
+ const dropdownRef = (0, import_react2.useRef)(null);
293
+ const optionRefs = (0, import_react2.useRef)([]);
294
+ const optionListRef = (0, import_react2.useRef)(null);
295
+ const blurTimeoutRef = (0, import_react2.useRef)(null);
296
+ const hoverTimeoutRef = (0, import_react2.useRef)(null);
297
+ const isActive = isFocused || Boolean(selectedValue) || Boolean(valueSelected) || Boolean(searchTerm);
298
+ const sizeClasses = (0, import_react2.useMemo)(() => {
299
+ switch (size) {
300
+ case "small":
301
+ return {
302
+ input: "tw-h-6 tw-px-3 tw-typography-caption1Bold !tw-rounded-lg",
303
+ padding: "tw-px-2 tw-py-1",
304
+ labelActive: "tw-top-0.5 tw-typography-caption2",
305
+ labelInactive: "tw-top-1.5 tw-typography-caption3"
306
+ };
307
+ case "medium":
308
+ return {
309
+ input: "tw-h-10 tw-px-4 tw-typography-body2",
310
+ padding: label ? "tw-pt-4 tw-pb-1" : "tw-py-2",
311
+ labelActive: "tw-top-1 tw-typography-caption3",
312
+ labelInactive: "tw-top-2.5 tw-typography-body2"
313
+ };
314
+ case "large":
315
+ return {
316
+ input: "tw-h-16 tw-px-5 tw-typography-bodyLarge",
317
+ padding: label ? "tw-pt-8 tw-pb-4" : "tw-py-5",
318
+ labelActive: "tw-top-1 tw-typography-caption2",
319
+ labelInactive: "tw-top-5 tw-typography-body1"
320
+ };
321
+ default:
322
+ return {
323
+ input: height + " tw-px-4 tw-typography-bodyLarge",
324
+ padding: label ? "tw-pt-6 tw-pb-3" : "tw-py-3",
325
+ labelActive: "tw-top-1 tw-typography-caption3",
326
+ labelInactive: "tw-top-3.5 tw-typography-body2"
327
+ };
328
+ }
329
+ }, [size, label, height]);
330
+ const variantClasses = (0, import_react2.useMemo)(() => {
331
+ switch (variant) {
332
+ case "filled":
333
+ return "tw-bg-gray-50 tw-border-transparent";
334
+ case "outlined":
335
+ return "tw-bg-transparent tw-border-2";
336
+ default:
337
+ return " tw-border";
338
+ }
339
+ }, [variant]);
340
+ const handleBlur = (0, import_react2.useCallback)(() => {
341
+ blurTimeoutRef.current = setTimeout(() => {
342
+ setIsOpen(false);
343
+ setSearchTerm("");
344
+ setHighlightedIndex(-1);
345
+ blurTimeoutRef.current = null;
346
+ setIsFocused(false);
347
+ }, 150);
348
+ }, []);
349
+ const handleSearchChange = (0, import_react2.useCallback)(
350
+ (e) => {
351
+ var _a;
352
+ const searchValue = doubleCharSearch ? e.target.value.slice(0, 2) || "" : e.target.value;
353
+ if (doubleCharSearch) {
354
+ setSearchTerm(searchValue);
355
+ } else {
356
+ setSearchTerm(searchValue);
357
+ }
358
+ setIsOpen(true);
359
+ setHighlightedIndex(-1);
360
+ if (onSearch && typeof onSearch === "function") {
361
+ onSearch(searchValue);
362
+ }
363
+ (_a = optionListRef == null ? void 0 : optionListRef.current) == null ? void 0 : _a.scrollTo({
364
+ top: 0,
365
+ behavior: "smooth"
366
+ });
367
+ },
368
+ [doubleCharSearch, onSearch]
369
+ );
370
+ const handleOptionSelect = (0, import_react2.useCallback)(
371
+ (option) => {
372
+ var _a;
373
+ if (blurTimeoutRef.current) {
374
+ clearTimeout(blurTimeoutRef.current);
375
+ blurTimeoutRef.current = null;
376
+ }
377
+ inputValueRef.current = option.label;
378
+ const normalizedValue = normalizeValue(option.value);
379
+ setSelectedValue(normalizedValue);
380
+ setSearchTerm("");
381
+ setIsOpen(false);
382
+ if (enableSearch) {
383
+ setIsFocused(false);
384
+ }
385
+ setIsHovering(false);
386
+ if (onChange) onChange(option.value);
387
+ if (enableSearch) (_a = inputRef.current) == null ? void 0 : _a.blur();
388
+ },
389
+ [normalizeValue, onChange, enableSearch]
390
+ );
391
+ const handleClear = (0, import_react2.useCallback)(
392
+ (e) => {
393
+ var _a;
394
+ inputValueRef.current = "";
395
+ e.stopPropagation();
396
+ e.preventDefault();
397
+ setSelectedValue("");
398
+ setSearchTerm("");
399
+ if (enableSearch) {
400
+ setIsOpen(true);
401
+ setIsFocused(true);
402
+ (_a = inputRef.current) == null ? void 0 : _a.focus();
403
+ } else {
404
+ setIsOpen(false);
405
+ setIsFocused(false);
406
+ }
407
+ if (onChange) onChange(null);
408
+ },
409
+ [onChange, enableSearch]
410
+ );
411
+ (0, import_react2.useEffect)(() => {
412
+ if (!validatedOptions.length) {
413
+ setSelectedValue("");
414
+ setSearchTerm("");
415
+ inputValueRef.current = "";
416
+ }
417
+ }, [validatedOptions.length]);
418
+ (0, import_react2.useEffect)(() => {
419
+ const externalValue = _valueProp !== void 0 ? _valueProp : valueSelected;
420
+ const newValue = normalizeValue(externalValue);
421
+ setSelectedValue((prevValue) => {
422
+ const prevNormalized = normalizeValue(prevValue);
423
+ return prevNormalized !== newValue ? newValue : prevValue;
424
+ });
425
+ }, [valueSelected, _valueProp, normalizeValue]);
426
+ (0, import_react2.useEffect)(() => {
427
+ const handleClickOutside = (event) => {
428
+ if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {
429
+ if (blurTimeoutRef.current) {
430
+ clearTimeout(blurTimeoutRef.current);
431
+ blurTimeoutRef.current = null;
432
+ }
433
+ setIsOpen(false);
434
+ setIsFocused(false);
435
+ setSearchTerm("");
436
+ setHighlightedIndex(-1);
437
+ }
438
+ };
439
+ document.addEventListener("mousedown", handleClickOutside);
440
+ return () => {
441
+ document.removeEventListener("mousedown", handleClickOutside);
442
+ if (blurTimeoutRef.current) {
443
+ clearTimeout(blurTimeoutRef.current);
444
+ }
445
+ if (hoverTimeoutRef.current) {
446
+ clearTimeout(hoverTimeoutRef.current);
447
+ }
448
+ };
449
+ }, []);
450
+ const getDisplayValue = (0, import_react2.useCallback)(() => {
451
+ if (selectedValue && (validatedOptions == null ? void 0 : validatedOptions.length) > 0) {
452
+ const selected = validatedOptions.find(
453
+ (opt) => normalizeValue(opt.value) === normalizeValue(selectedValue)
454
+ );
455
+ if (selected) {
456
+ return showDisplayValue && selected.displayValue ? selected.displayValue : selected.label;
457
+ }
458
+ }
459
+ if (selectedValue && (!validatedOptions || validatedOptions.length === 0)) {
460
+ return selectedValue;
461
+ }
462
+ return "";
463
+ }, [selectedValue, validatedOptions, showDisplayValue, normalizeValue]);
464
+ const filteredOptions = (0, import_react2.useMemo)(() => {
465
+ var _a;
466
+ if (!enableSearch) {
467
+ return validatedOptions;
468
+ }
469
+ (_a = dropdownRef.current) == null ? void 0 : _a.scrollTo(0, 0);
470
+ const updatedFilteredOptions = validatedOptions.filter((option) => {
471
+ var _a2;
472
+ return (_a2 = option == null ? void 0 : option.label) == null ? void 0 : _a2.toLowerCase().includes(searchTerm == null ? void 0 : searchTerm.toLowerCase());
473
+ });
474
+ return updatedFilteredOptions;
475
+ }, [validatedOptions, searchTerm, enableSearch]);
476
+ const getSelectedOptionIndex = (0, import_react2.useCallback)(() => {
477
+ if (!selectedValue || !filteredOptions.length) {
478
+ return 0;
479
+ }
480
+ const index = filteredOptions.findIndex(
481
+ (option) => normalizeValue(option.value) === normalizeValue(selectedValue)
482
+ );
483
+ return index >= 0 ? index : 0;
484
+ }, [selectedValue, filteredOptions, normalizeValue]);
485
+ const handleInputInteraction = (0, import_react2.useCallback)(
486
+ (_e) => {
487
+ var _a;
488
+ if (blurTimeoutRef.current) {
489
+ clearTimeout(blurTimeoutRef.current);
490
+ blurTimeoutRef.current = null;
491
+ }
492
+ if (isOpen) {
493
+ setIsOpen(false);
494
+ setIsFocused(false);
495
+ setSearchTerm("");
496
+ setHighlightedIndex(-1);
497
+ (_a = inputRef.current) == null ? void 0 : _a.blur();
498
+ return;
499
+ }
500
+ setIsFocused(true);
501
+ setIsOpen(true);
502
+ setHighlightedIndex(getSelectedOptionIndex());
503
+ if (inputRef.current) {
504
+ inputRef.current.focus();
505
+ }
506
+ },
507
+ [isOpen, getSelectedOptionIndex]
508
+ );
509
+ const handleKeyDown = (0, import_react2.useCallback)(
510
+ (e) => {
511
+ var _a;
512
+ if (!isOpen) return;
513
+ switch (e.key) {
514
+ case "ArrowDown":
515
+ e.preventDefault();
516
+ setHighlightedIndex((prev) => {
517
+ const nextIndex = prev < filteredOptions.length - 1 ? prev + 1 : prev;
518
+ return nextIndex;
519
+ });
520
+ break;
521
+ case "ArrowUp":
522
+ e.preventDefault();
523
+ setHighlightedIndex((prev) => {
524
+ const nextIndex = prev > 0 ? prev - 1 : prev;
525
+ return nextIndex;
526
+ });
527
+ break;
528
+ case "Enter":
529
+ e.preventDefault();
530
+ if (highlightedIndex >= 0 && filteredOptions[highlightedIndex]) {
531
+ handleOptionSelect(filteredOptions[highlightedIndex]);
532
+ }
533
+ break;
534
+ case "Escape":
535
+ e.preventDefault();
536
+ setIsOpen(false);
537
+ setIsFocused(false);
538
+ setSearchTerm("");
539
+ setHighlightedIndex(-1);
540
+ (_a = inputRef.current) == null ? void 0 : _a.blur();
541
+ break;
542
+ default:
543
+ break;
544
+ }
545
+ },
546
+ [isOpen, highlightedIndex, filteredOptions, handleOptionSelect]
547
+ );
548
+ (0, import_react2.useEffect)(() => {
549
+ if (highlightedIndex >= 0 && optionRefs.current[highlightedIndex]) {
550
+ optionRefs.current[highlightedIndex].scrollIntoView({
551
+ block: "nearest",
552
+ behavior: "smooth"
553
+ });
554
+ }
555
+ }, [highlightedIndex]);
556
+ (0, import_react2.useEffect)(() => {
557
+ optionRefs.current = [];
558
+ }, [filteredOptions]);
559
+ const handleMouseEnter = (0, import_react2.useCallback)(() => {
560
+ if (hoverTimeoutRef.current) {
561
+ clearTimeout(hoverTimeoutRef.current);
562
+ }
563
+ if (!isHovering) {
564
+ setIsHovering(true);
565
+ }
566
+ }, [isHovering]);
567
+ const handleMouseLeave = (0, import_react2.useCallback)(() => {
568
+ hoverTimeoutRef.current = setTimeout(() => {
569
+ setIsHovering(false);
570
+ }, 50);
571
+ }, []);
572
+ const handleChevronClick = (0, import_react2.useCallback)(
573
+ (e) => {
574
+ var _a;
575
+ e.preventDefault();
576
+ if (blurTimeoutRef.current) {
577
+ clearTimeout(blurTimeoutRef.current);
578
+ blurTimeoutRef.current = null;
579
+ }
580
+ if (isOpen) {
581
+ setIsOpen(false);
582
+ setIsFocused(false);
583
+ setSearchTerm("");
584
+ setHighlightedIndex(-1);
585
+ (_a = inputRef.current) == null ? void 0 : _a.blur();
586
+ } else {
587
+ if (inputRef.current) {
588
+ inputRef.current.focus();
589
+ }
590
+ handleInputInteraction();
591
+ }
592
+ },
593
+ [isOpen, handleInputInteraction]
594
+ );
595
+ const InputWrapper = ({ children }) => {
596
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Tooltip_default, { title: disabledTooltip, children });
597
+ return children;
598
+ };
599
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(InputWrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
600
+ "div",
601
+ {
602
+ style,
603
+ className: (0, import_clsx.default)("tw-relative tw-w-full", wrapperClassName, {
604
+ "tw-cursor-not-allowed": disabled
605
+ }),
606
+ ref: dropdownRef,
607
+ onMouseEnter: handleMouseEnter,
608
+ onMouseLeave: handleMouseLeave,
609
+ children: [
610
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "tw-relative", children: [
611
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
612
+ "input",
613
+ {
614
+ ref: inputRef,
615
+ type: "text",
616
+ id,
617
+ name,
618
+ tabIndex,
619
+ autoComplete: "off",
620
+ autoCorrect: "off",
621
+ autoCapitalize: "off",
622
+ spellCheck: "false",
623
+ value: isFocused && enableSearch ? searchTerm : getDisplayValue(),
624
+ onChange: enableSearch ? handleSearchChange : void 0,
625
+ onClick: handleInputInteraction,
626
+ onKeyDown: handleKeyDown,
627
+ className: (0, import_clsx.default)(
628
+ "tw-w-full tw-rounded-xl tw-outline-none tw-transition-all tw-duration-200 tw-cursor-pointer tw-border-solid tw-text-color-text-default",
629
+ sizeClasses.input,
630
+ sizeClasses.padding,
631
+ variantClasses,
632
+ {
633
+ "tw-bg-white": valueSelected || getDisplayValue() || isFocused,
634
+ "tw-bg-color-gray-5": !valueSelected || !getDisplayValue(),
635
+ "!tw-bg-[#F8F7F6] tw-cursor-not-allowed tw-pointer-events-none": disabled
636
+ },
637
+ // Conditional padding based on label presence
638
+ !label && "tw-flex tw-items-center",
639
+ {
640
+ "!tw-border-color-primary": isFocused && experience === "business"
641
+ },
642
+ {
643
+ "!tw-border-[#804D7B]": isFocused && experience === "personal"
644
+ },
645
+ error ? "!tw-border-color-text-critical " : "tw-border-[#EBE3DD] hover:tw-border-[#C5B7AC]",
646
+ // Add focus state styling
647
+ "focus:tw-shadow-sm focus:tw-ring-offset-1",
648
+ className,
649
+ inputClassName
650
+ // Put inputClassName last so it can override default classes
651
+ ),
652
+ readOnly: !isFocused || !enableSearch
653
+ }
654
+ ),
655
+ label && size !== "small" && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
656
+ "label",
657
+ {
658
+ htmlFor: id,
659
+ className: (0, import_clsx.default)(
660
+ "tw-absolute tw-left-[18px] tw-pointer-events-none tw-transition-all tw-duration-200 tw-ease-out tw-text-gray-500",
661
+ isActive ? sizeClasses.labelActive : sizeClasses.labelInactive,
662
+ error && "tw-text-color-text-critical",
663
+ labelClassName
664
+ ),
665
+ children: [
666
+ label,
667
+ mandatory && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "tw-text-color-text-critical tw-ml-1", children: "*" })
668
+ ]
669
+ }
670
+ ),
671
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
672
+ "div",
673
+ {
674
+ className: (0, import_clsx.default)(
675
+ "tw-absolute tw-right-3 tw--translate-y-1/2 tw-flex tw-items-center",
676
+ {
677
+ "!tw-right-[5px]": doubleCharSearch && !(isHovering && selectedValue && allowClear),
678
+ "tw-top-3.5 !tw-right-2": size === "small",
679
+ "tw-top-1/2": size !== "small"
680
+ }
681
+ ),
682
+ children: [
683
+ disabled && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "tw-absolute tw-right-0 -tw-top-2", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Lock, { size: 16 }) }),
684
+ isLoading ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(LoadingSpinner_default, { size: "xs" }) }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
685
+ "div",
686
+ {
687
+ className: (0, import_clsx.default)(
688
+ "tw-transition-all tw-duration-200 tw-cursor-pointer tw-flex tw-items-center",
689
+ // Only rotate chevron when open and not showing clear icon
690
+ isOpen && !(isHovering && selectedValue && allowClear) && "-tw-rotate-180"
691
+ ),
692
+ onMouseDown: (e) => {
693
+ if (isHovering && selectedValue && allowClear) {
694
+ handleClear(e);
695
+ } else {
696
+ handleChevronClick(e);
697
+ }
698
+ },
699
+ children: disabled ? null : isHovering && selectedValue && allowClear ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
700
+ CrossV2,
701
+ {
702
+ color: "#111827",
703
+ className: (0, import_clsx.default)({ "tw-mr-1": size !== "small" }),
704
+ size: size === "small" ? 12 : 16
705
+ }
706
+ ) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
707
+ Chevron,
708
+ {
709
+ className: (0, import_clsx.default)("tw-text-gray-400"),
710
+ color: "#6B7280"
711
+ }
712
+ )
713
+ }
714
+ )
715
+ ]
716
+ }
717
+ )
718
+ ] }),
719
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
720
+ "div",
721
+ {
722
+ className: (0, import_clsx.default)(
723
+ "tw-absolute tw-z-[100] tw-w-full tw-mt-0 tw-bg-white tw-border tw-border-[#ebe3dd] tw-border-solid tw-rounded-xl tw-shadow-lg tw-overflow-y-auto tw-py-1",
724
+ { "tw-max-h-60": !doubleCharSearch },
725
+ { "tw-max-h-44": doubleCharSearch },
726
+ dropdownClassName
727
+ ),
728
+ ref: optionListRef,
729
+ children: filteredOptions.length > 0 ? filteredOptions.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
730
+ "div",
731
+ {
732
+ ref: (el) => optionRefs.current[index] = el,
733
+ onClick: () => handleOptionSelect(option),
734
+ onMouseEnter: () => setHighlightedIndex(index),
735
+ className: (0, import_clsx.default)(
736
+ "tw-transition-all tw-duration-150 tw-typography-body2",
737
+ // Selected option styling
738
+ optionClassName
739
+ ),
740
+ children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
741
+ "div",
742
+ {
743
+ className: (0, import_clsx.default)(
744
+ "tw-px-4 tw-cursor-pointer tw-py-2 tw-mx-0.5 tw-rounded-xl",
745
+ normalizeValue(selectedValue) === normalizeValue(option.value) ? experience === "personal" ? "tw-bg-[#f1e8fa]" : "tw-bg-[#fff1e1]" : (
746
+ // Highlighted option styling (keyboard navigation)
747
+ index === highlightedIndex ? "tw-bg-[#f3f4f6] tw-text-gray-900" : (
748
+ // Default option styling
749
+ "tw-text-gray-900 hover:tw-bg-[#1118270a]"
750
+ )
751
+ )
752
+ ),
753
+ children: option.label
754
+ }
755
+ )
756
+ },
757
+ doubleCharSearch ? option.label : option.value
758
+ )) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "tw-px-4 tw-py-3 tw-text-gray-500 tw-text-sm", children: "No options found" })
759
+ }
760
+ )
761
+ ]
762
+ }
763
+ ) });
764
+ };
765
+ var arePropsEqual = (prevProps, nextProps) => {
766
+ var _a, _b;
767
+ const criticalProps = [
768
+ "value",
769
+ "valueSelected",
770
+ "options",
771
+ "error",
772
+ "disabled",
773
+ "label",
774
+ "mandatory"
775
+ ];
776
+ for (const prop of criticalProps) {
777
+ if (prevProps[prop] !== nextProps[prop]) {
778
+ return false;
779
+ }
780
+ }
781
+ if (((_a = prevProps.options) == null ? void 0 : _a.length) !== ((_b = nextProps.options) == null ? void 0 : _b.length)) {
782
+ return false;
783
+ }
784
+ if (prevProps.options && nextProps.options) {
785
+ for (let i = 0; i < prevProps.options.length; i++) {
786
+ const prevOpt = prevProps.options[i];
787
+ const nextOpt = nextProps.options[i];
788
+ if ((prevOpt == null ? void 0 : prevOpt.value) !== (nextOpt == null ? void 0 : nextOpt.value) || (prevOpt == null ? void 0 : prevOpt.label) !== (nextOpt == null ? void 0 : nextOpt.label)) {
789
+ return false;
790
+ }
791
+ }
792
+ }
793
+ return true;
794
+ };
795
+ Select.displayName = "Select";
796
+ var Select_default = (0, import_react2.memo)(Select, arePropsEqual);
797
+ // Annotate the CommonJS export names for ESM import in node:
798
+ 0 && (module.exports = {
799
+ Select
800
+ });