@deepnoid/ui 0.1.223 → 1.0.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.
- package/.turbo/turbo-build.log +266 -251
- package/dist/{chunk-NTNF5T5I.mjs → chunk-23KGTXH2.mjs} +1 -1
- package/dist/{chunk-SX3JDFTH.mjs → chunk-2K3HZMC6.mjs} +9 -9
- package/dist/{chunk-ZFC5O2V3.mjs → chunk-3JKORA4G.mjs} +1 -1
- package/dist/{chunk-HFOHFBZH.mjs → chunk-3N442F6I.mjs} +2 -2
- package/dist/{chunk-WA7CSZQ3.mjs → chunk-3QZPVRM5.mjs} +1 -1
- package/dist/{chunk-BH3I4LIZ.mjs → chunk-4V5D237Z.mjs} +1 -1
- package/dist/chunk-63JRWMWN.mjs +215 -0
- package/dist/{chunk-GDHLN463.mjs → chunk-6CNPC722.mjs} +2 -2
- package/dist/{chunk-4IEHQI5B.mjs → chunk-7JCCPTBU.mjs} +3 -3
- package/dist/chunk-A6UUVHC6.mjs +38 -0
- package/dist/{chunk-P5L4YI54.mjs → chunk-AOU4QX7H.mjs} +106 -40
- package/dist/{chunk-U7SYKG2C.mjs → chunk-BBCJTXGU.mjs} +1 -1
- package/dist/{chunk-4S4AAZFC.mjs → chunk-CBFUVFGI.mjs} +4 -4
- package/dist/{chunk-AGE57VDD.mjs → chunk-CBIV6KFQ.mjs} +22 -25
- package/dist/{chunk-KWHCUAFU.mjs → chunk-CGJBY53Q.mjs} +3 -3
- package/dist/{chunk-XZYQFBCT.mjs → chunk-DI7QXTYZ.mjs} +1 -1
- package/dist/{chunk-U4DJHAM5.mjs → chunk-DPWUIAVC.mjs} +413 -149
- package/dist/chunk-E4VJDQD5.mjs +142 -0
- package/dist/{chunk-TE5JU3WA.mjs → chunk-EAWNUQDB.mjs} +90 -133
- package/dist/{chunk-OXJX5G3O.mjs → chunk-EIVSXVP5.mjs} +2 -2
- package/dist/{chunk-JGG3ZUNG.mjs → chunk-GSOTTSR4.mjs} +1 -1
- package/dist/{chunk-NGRGAY42.mjs → chunk-HKF5BNPX.mjs} +1 -1
- package/dist/{chunk-2URJGQFC.mjs → chunk-JUKILR6X.mjs} +2 -2
- package/dist/{chunk-DW3BX4M2.mjs → chunk-KPOXK7NN.mjs} +1 -1
- package/dist/{chunk-5KC3IFNR.mjs → chunk-LJSGQO4B.mjs} +1 -1
- package/dist/{chunk-LH6Z7SDZ.mjs → chunk-M7V5YMM2.mjs} +1 -1
- package/dist/{chunk-44FMPRHV.mjs → chunk-MAGZDGUW.mjs} +67 -38
- package/dist/chunk-MV2WCFK7.mjs +1 -0
- package/dist/{chunk-U52FBRJ3.mjs → chunk-NJWXYTBQ.mjs} +1 -1
- package/dist/{chunk-3DCUMRYP.mjs → chunk-NPQBJO6G.mjs} +11 -39
- package/dist/chunk-OK34FKBQ.mjs +224 -0
- package/dist/{chunk-OC5C42CB.mjs → chunk-OPGGL4CG.mjs} +3 -3
- package/dist/{chunk-R2XKPG4K.mjs → chunk-OPSMMRA2.mjs} +1 -1
- package/dist/{chunk-4X35QQTI.mjs → chunk-P4GNXDMO.mjs} +1 -1
- package/dist/{chunk-MTT24BLX.mjs → chunk-PCWANNZ4.mjs} +3 -3
- package/dist/{chunk-V2YH54JQ.mjs → chunk-PXUYPS6M.mjs} +12 -2
- package/dist/chunk-RFHWRBAB.mjs +105 -0
- package/dist/{chunk-EJ4GDC6K.mjs → chunk-S2T4GHJA.mjs} +27 -27
- package/dist/{chunk-5VTYO3RF.mjs → chunk-TBI5O3OL.mjs} +1 -1
- package/dist/{chunk-FZYZSMSS.mjs → chunk-TBRF36RK.mjs} +1 -1
- package/dist/{chunk-Q3KBMVJS.mjs → chunk-TEERNFIT.mjs} +77 -46
- package/dist/{chunk-RH3AHG52.mjs → chunk-V5XX3CGL.mjs} +1 -1
- package/dist/{chunk-6WD32ERF.mjs → chunk-VO2ZIGIK.mjs} +1 -1
- package/dist/{chunk-H6ZQDMYU.mjs → chunk-VOOEH6OJ.mjs} +24 -38
- package/dist/{chunk-ACZ3DQVT.mjs → chunk-VUO5J2OK.mjs} +16 -15
- package/dist/{chunk-RY5VVXQ4.mjs → chunk-WYTAGN2P.mjs} +1 -1
- package/dist/{chunk-NDNIAALB.mjs → chunk-YBDQSEPV.mjs} +17 -18
- package/dist/chunk-Z4NO7SMY.mjs +460 -0
- package/dist/components/accordion/accordion.js +366 -4
- package/dist/components/accordion/accordion.mjs +2 -2
- package/dist/components/accordion/accordionItem.js +366 -4
- package/dist/components/accordion/accordionItem.mjs +2 -2
- package/dist/components/accordion/index.js +366 -4
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/avatar/avatar.js +472 -44
- package/dist/components/avatar/avatar.mjs +3 -3
- package/dist/components/avatar/index.js +472 -44
- package/dist/components/avatar/index.mjs +3 -3
- package/dist/components/backdrop/backdrop.js +366 -4
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.js +366 -4
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +951 -74
- package/dist/components/breadcrumb/breadcrumb.mjs +10 -9
- package/dist/components/breadcrumb/index.js +951 -74
- package/dist/components/breadcrumb/index.mjs +10 -9
- package/dist/components/button/button-group.js +366 -4
- package/dist/components/button/button-group.mjs +2 -2
- package/dist/components/button/button.d.mts +82 -119
- package/dist/components/button/button.d.ts +82 -119
- package/dist/components/button/button.js +966 -355
- package/dist/components/button/button.mjs +6 -5
- package/dist/components/button/button.style.d.mts +89 -0
- package/dist/components/button/button.style.d.ts +89 -0
- package/dist/components/button/button.style.js +1172 -0
- package/dist/components/button/button.style.mjs +9 -0
- package/dist/components/button/icon-button.d.mts +45 -46
- package/dist/components/button/icon-button.d.ts +45 -46
- package/dist/components/button/icon-button.js +1125 -527
- package/dist/components/button/icon-button.mjs +6 -5
- package/dist/components/button/index.js +1154 -830
- package/dist/components/button/index.mjs +9 -8
- package/dist/components/button/text-button.d.mts +59 -39
- package/dist/components/button/text-button.d.ts +59 -39
- package/dist/components/button/text-button.js +831 -21
- package/dist/components/button/text-button.mjs +3 -2
- package/dist/components/charts/areaChart.js +366 -4
- package/dist/components/charts/areaChart.mjs +2 -2
- package/dist/components/charts/barChart.js +366 -4
- package/dist/components/charts/barChart.mjs +2 -2
- package/dist/components/charts/circularProgress.js +366 -4
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.js +366 -4
- package/dist/components/charts/index.mjs +6 -6
- package/dist/components/charts/radarChart.js +366 -4
- package/dist/components/charts/radarChart.mjs +2 -2
- package/dist/components/charts/simpleBarChart.js +366 -4
- package/dist/components/charts/simpleBarChart.mjs +2 -2
- package/dist/components/checkbox/checkbox.js +376 -42
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.js +376 -42
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.d.mts +32 -0
- package/dist/components/chip/chip.d.ts +32 -0
- package/dist/components/chip/chip.js +496 -57
- package/dist/components/chip/chip.mjs +4 -4
- package/dist/components/chip/index.js +496 -57
- package/dist/components/chip/index.mjs +4 -4
- package/dist/components/drawer/drawer.js +366 -4
- package/dist/components/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.js +366 -4
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.js +1014 -402
- package/dist/components/fileUpload/fileUpload.mjs +12 -11
- package/dist/components/fileUpload/index.js +1014 -402
- package/dist/components/fileUpload/index.mjs +12 -11
- package/dist/components/icon/Icon.d.mts +23 -10
- package/dist/components/icon/Icon.d.ts +23 -10
- package/dist/components/icon/Icon.js +120 -53
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +120 -53
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +5 -2
- package/dist/components/icon/template.d.ts +5 -2
- package/dist/components/icon/template.js +106 -40
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +511 -82
- package/dist/components/input/index.mjs +4 -4
- package/dist/components/input/input.js +511 -82
- package/dist/components/input/input.mjs +4 -4
- package/dist/components/list/index.js +486 -57
- package/dist/components/list/index.mjs +6 -6
- package/dist/components/list/list.js +366 -4
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.js +486 -57
- package/dist/components/list/listItem.mjs +5 -5
- package/dist/components/modal/GlobalModalProvider.d.mts +2 -0
- package/dist/components/modal/GlobalModalProvider.d.ts +2 -0
- package/dist/components/modal/GlobalModalProvider.js +1028 -416
- package/dist/components/modal/GlobalModalProvider.mjs +12 -11
- package/dist/components/modal/index.d.mts +2 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/index.js +1028 -416
- package/dist/components/modal/index.mjs +13 -12
- package/dist/components/modal/modal.d.mts +101 -29
- package/dist/components/modal/modal.d.ts +101 -29
- package/dist/components/modal/modal.js +1028 -416
- package/dist/components/modal/modal.mjs +11 -10
- package/dist/components/modal/useGlobalModal.d.mts +2 -0
- package/dist/components/modal/useGlobalModal.d.ts +2 -0
- package/dist/components/modal/useGlobalModal.mjs +13 -12
- package/dist/components/pagination/index.js +598 -212
- package/dist/components/pagination/index.mjs +5 -5
- package/dist/components/pagination/pagination.js +598 -212
- package/dist/components/pagination/pagination.mjs +5 -5
- package/dist/components/picker/datePicker.js +1029 -705
- package/dist/components/picker/datePicker.mjs +12 -11
- package/dist/components/picker/day.js +366 -4
- package/dist/components/picker/day.mjs +2 -2
- package/dist/components/picker/index.js +1027 -703
- package/dist/components/picker/index.mjs +15 -14
- package/dist/components/picker/timePicker/Panel.js +831 -21
- package/dist/components/picker/timePicker/Panel.mjs +10 -9
- package/dist/components/picker/timePicker/index.js +976 -99
- package/dist/components/picker/timePicker/index.mjs +12 -11
- package/dist/components/progress/index.js +381 -18
- package/dist/components/progress/index.mjs +2 -2
- package/dist/components/progress/progress.d.mts +21 -18
- package/dist/components/progress/progress.d.ts +21 -18
- package/dist/components/progress/progress.js +381 -18
- package/dist/components/progress/progress.mjs +2 -2
- package/dist/components/radio/index.js +389 -41
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.d.mts +33 -48
- package/dist/components/radio/radio.d.ts +33 -48
- package/dist/components/radio/radio.js +389 -41
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.js +819 -221
- package/dist/components/select/index.mjs +10 -9
- package/dist/components/select/select.js +819 -221
- package/dist/components/select/select.mjs +10 -9
- package/dist/components/slider/index.d.mts +4 -0
- package/dist/components/slider/index.d.ts +4 -0
- package/dist/components/slider/index.js +955 -0
- package/dist/components/slider/index.mjs +11 -0
- package/dist/components/slider/slider.d.mts +158 -0
- package/dist/components/slider/slider.d.ts +158 -0
- package/dist/components/slider/slider.js +949 -0
- package/dist/components/slider/slider.mjs +10 -0
- package/dist/components/starRating/index.js +486 -57
- package/dist/components/starRating/index.mjs +4 -4
- package/dist/components/starRating/starRating.js +486 -57
- package/dist/components/starRating/starRating.mjs +4 -4
- package/dist/components/switch/index.js +22 -25
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +0 -18
- package/dist/components/switch/switch.d.ts +0 -18
- package/dist/components/switch/switch.js +22 -25
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/table/definition-table.js +366 -4
- package/dist/components/table/definition-table.mjs +2 -2
- package/dist/components/table/form-table.js +366 -4
- package/dist/components/table/form-table.mjs +1 -1
- package/dist/components/table/index.js +679 -291
- package/dist/components/table/index.mjs +10 -10
- package/dist/components/table/table-body.js +679 -291
- package/dist/components/table/table-body.mjs +7 -7
- package/dist/components/table/table-head.js +679 -291
- package/dist/components/table/table-head.mjs +7 -7
- package/dist/components/table/table.d.mts +8 -29
- package/dist/components/table/table.d.ts +8 -29
- package/dist/components/table/table.js +679 -291
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/tabs/index.js +366 -4
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.js +366 -4
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/textarea/index.js +67 -38
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/textarea/textarea.d.mts +21 -0
- package/dist/components/textarea/textarea.d.ts +21 -0
- package/dist/components/textarea/textarea.js +67 -38
- package/dist/components/textarea/textarea.mjs +1 -1
- package/dist/components/timePicker/calendar.js +486 -57
- package/dist/components/timePicker/calendar.mjs +3 -3
- package/dist/components/toast/index.js +486 -57
- package/dist/components/toast/index.mjs +5 -5
- package/dist/components/toast/toast.js +486 -57
- package/dist/components/toast/toast.mjs +4 -4
- package/dist/components/toast/use-toast.js +486 -57
- package/dist/components/toast/use-toast.mjs +5 -5
- package/dist/components/tooltip/index.js +366 -4
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.js +366 -4
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.js +486 -57
- package/dist/components/tree/index.mjs +4 -4
- package/dist/components/tree/tree.js +486 -57
- package/dist/components/tree/tree.mjs +4 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1705 -1281
- package/dist/index.mjs +76 -70
- package/dist/utils/tailwind-variants.js +366 -4
- package/dist/utils/tailwind-variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6AID2NLT.mjs +0 -37
- package/dist/chunk-BBRO35V3.mjs +0 -385
- package/dist/chunk-EVJ46M3U.mjs +0 -141
- package/dist/chunk-SKX5QPUD.mjs +0 -482
|
@@ -183,6 +183,352 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
183
183
|
// ../tailwind-config/src/plugin.ts
|
|
184
184
|
var import_plugin = __toESM(require_plugin());
|
|
185
185
|
|
|
186
|
+
// ../tailwind-config/src/colors/primitive-palette.ts
|
|
187
|
+
var primitivePalette = {
|
|
188
|
+
bg: {
|
|
189
|
+
"01": "#040811",
|
|
190
|
+
"02": "#040811",
|
|
191
|
+
"03": "#14161E",
|
|
192
|
+
"04": "#070414",
|
|
193
|
+
"05": "#070C12",
|
|
194
|
+
"06": "#202123"
|
|
195
|
+
},
|
|
196
|
+
gray: {
|
|
197
|
+
cool: {
|
|
198
|
+
50: "#F7F7F8",
|
|
199
|
+
100: "#EEEEF0",
|
|
200
|
+
200: "#D8D9DF",
|
|
201
|
+
300: "#B6B8C3",
|
|
202
|
+
400: "#999CA9",
|
|
203
|
+
500: "#717486",
|
|
204
|
+
600: "#5B5E6E",
|
|
205
|
+
700: "#4A4C5A",
|
|
206
|
+
800: "#40424C",
|
|
207
|
+
900: "#36373F",
|
|
208
|
+
950: "#25252C"
|
|
209
|
+
},
|
|
210
|
+
warm: {
|
|
211
|
+
50: "#F6F6F6",
|
|
212
|
+
100: "#E7E7E7",
|
|
213
|
+
200: "#D1D1D1",
|
|
214
|
+
300: "#B0B0B0",
|
|
215
|
+
400: "#888888",
|
|
216
|
+
500: "#6D6D6D",
|
|
217
|
+
600: "#5D5D5D",
|
|
218
|
+
700: "#525252",
|
|
219
|
+
800: "#454545",
|
|
220
|
+
900: "#3D3D3D",
|
|
221
|
+
950: "#25252C"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
opacity: {
|
|
225
|
+
white: {
|
|
226
|
+
"0": "#FFFFFF, 0",
|
|
227
|
+
5: "#FFFFFF, 5",
|
|
228
|
+
10: "#FFFFFF, 10",
|
|
229
|
+
20: "#FFFFFF, 20",
|
|
230
|
+
30: "#FFFFFF, 30",
|
|
231
|
+
40: "#FFFFFF, 40",
|
|
232
|
+
50: "#FFFFFF, 50",
|
|
233
|
+
60: "#FFFFFF, 60",
|
|
234
|
+
70: "#FFFFFF, 70",
|
|
235
|
+
80: "#FFFFFF, 80",
|
|
236
|
+
90: "#FFFFFF, 90"
|
|
237
|
+
},
|
|
238
|
+
black: {
|
|
239
|
+
"0": "#000000, 0",
|
|
240
|
+
5: "#000000, 5",
|
|
241
|
+
10: "#000000, 10",
|
|
242
|
+
20: "#000000, 20",
|
|
243
|
+
30: "#000000, 30",
|
|
244
|
+
40: "#000000, 40",
|
|
245
|
+
50: "#000000, 50",
|
|
246
|
+
60: "#000000, 60",
|
|
247
|
+
70: "#000000, 70",
|
|
248
|
+
80: "#000000, 80",
|
|
249
|
+
90: "#000000, 90"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
red: {
|
|
253
|
+
50: "#FEF2F2",
|
|
254
|
+
100: "#FEE9E9",
|
|
255
|
+
200: "#FCCFD2",
|
|
256
|
+
300: "#F9A8AC",
|
|
257
|
+
400: "#F57780",
|
|
258
|
+
500: "#EC4757",
|
|
259
|
+
600: "#D82640",
|
|
260
|
+
700: "#B71934",
|
|
261
|
+
800: "#991832",
|
|
262
|
+
900: "#831831",
|
|
263
|
+
950: "#831831"
|
|
264
|
+
},
|
|
265
|
+
rose: {
|
|
266
|
+
50: "#FDF4F6",
|
|
267
|
+
100: "#F9E9EC",
|
|
268
|
+
200: "#F4D8DD",
|
|
269
|
+
300: "#E9B8C2",
|
|
270
|
+
400: "#DF96A6",
|
|
271
|
+
500: "#CB6881",
|
|
272
|
+
600: "#B54969",
|
|
273
|
+
700: "#973957",
|
|
274
|
+
800: "#7F324D",
|
|
275
|
+
900: "#6A2740",
|
|
276
|
+
950: "#3C1523"
|
|
277
|
+
},
|
|
278
|
+
hotPink: {
|
|
279
|
+
50: "#FDF2F7",
|
|
280
|
+
100: "#FDE6F0",
|
|
281
|
+
200: "#FCCEE3",
|
|
282
|
+
300: "#FBA6CA",
|
|
283
|
+
400: "#F76FA6",
|
|
284
|
+
500: "#F04485",
|
|
285
|
+
600: "#E2326C",
|
|
286
|
+
700: "#C21448",
|
|
287
|
+
800: "#A1133C",
|
|
288
|
+
900: "#861535",
|
|
289
|
+
950: "#52051B"
|
|
290
|
+
},
|
|
291
|
+
sepia: {
|
|
292
|
+
50: "#FCF5F4",
|
|
293
|
+
100: "#FAE9E9",
|
|
294
|
+
200: "#F5D6D7",
|
|
295
|
+
300: "#EDB4B6",
|
|
296
|
+
400: "#E28A8F",
|
|
297
|
+
500: "#D45F69",
|
|
298
|
+
600: "#BE4051",
|
|
299
|
+
700: "#9F3142",
|
|
300
|
+
800: "#862B3C",
|
|
301
|
+
900: "#6B2433",
|
|
302
|
+
950: "#320E15"
|
|
303
|
+
},
|
|
304
|
+
orange: {
|
|
305
|
+
50: "#FEF7EE",
|
|
306
|
+
100: "#FDEDD7",
|
|
307
|
+
200: "#F9D8AF",
|
|
308
|
+
300: "#F5BB7C",
|
|
309
|
+
400: "#F09447",
|
|
310
|
+
500: "#EC7723",
|
|
311
|
+
600: "#E15F19",
|
|
312
|
+
700: "#E15F19",
|
|
313
|
+
800: "#92391A",
|
|
314
|
+
900: "#763118",
|
|
315
|
+
950: "#40160A"
|
|
316
|
+
},
|
|
317
|
+
yellow: {
|
|
318
|
+
50: "#F9F2E5",
|
|
319
|
+
100: "#F5E6BC",
|
|
320
|
+
200: "#FFE9BC",
|
|
321
|
+
300: "#FFD174",
|
|
322
|
+
400: "#F8BE4A",
|
|
323
|
+
500: "#EAAD30",
|
|
324
|
+
600: "#D77908",
|
|
325
|
+
700: "#B2550B",
|
|
326
|
+
800: "#91420F",
|
|
327
|
+
900: "#773610",
|
|
328
|
+
950: "#441B04"
|
|
329
|
+
},
|
|
330
|
+
tree: {
|
|
331
|
+
50: "#F5F3F1",
|
|
332
|
+
100: "#E5E1DC",
|
|
333
|
+
200: "#CCC5BC",
|
|
334
|
+
300: "#AFA395",
|
|
335
|
+
400: "#978878",
|
|
336
|
+
500: "#907E6F",
|
|
337
|
+
600: "#756459",
|
|
338
|
+
700: "#5F4F49",
|
|
339
|
+
800: "#524541",
|
|
340
|
+
900: "#483D3B",
|
|
341
|
+
950: "#282120"
|
|
342
|
+
},
|
|
343
|
+
brown: {
|
|
344
|
+
50: "#F6F3F0",
|
|
345
|
+
100: "#F4EDEC",
|
|
346
|
+
200: "#EBDFDD",
|
|
347
|
+
300: "#DCC9C5",
|
|
348
|
+
400: "#C6A9A3",
|
|
349
|
+
500: "#B08983",
|
|
350
|
+
600: "#A27E77",
|
|
351
|
+
700: "#7F5D56",
|
|
352
|
+
800: "#6A4F4A",
|
|
353
|
+
900: "#5B4541",
|
|
354
|
+
950: "#2C1E1C"
|
|
355
|
+
},
|
|
356
|
+
lime: {
|
|
357
|
+
50: "#F7FFE5",
|
|
358
|
+
100: "#ECFFC7",
|
|
359
|
+
200: "#D9FF95",
|
|
360
|
+
300: "#BDFE58",
|
|
361
|
+
400: "#A1F524",
|
|
362
|
+
500: "#82DC06",
|
|
363
|
+
600: "#63B000",
|
|
364
|
+
700: "#4B8506",
|
|
365
|
+
800: "#3E690B",
|
|
366
|
+
900: "#34580F",
|
|
367
|
+
950: "#193102"
|
|
368
|
+
},
|
|
369
|
+
green: {
|
|
370
|
+
50: "#E7F3EB",
|
|
371
|
+
100: "#DFF9EA",
|
|
372
|
+
200: "#CEECDA",
|
|
373
|
+
300: "#9CD4B3",
|
|
374
|
+
400: "#6EC092",
|
|
375
|
+
500: "#3FA46B",
|
|
376
|
+
600: "#209754",
|
|
377
|
+
700: "#1E7745",
|
|
378
|
+
800: "#1D5E3A",
|
|
379
|
+
900: "#194E32",
|
|
380
|
+
950: "#082B19"
|
|
381
|
+
},
|
|
382
|
+
timberGreen: {
|
|
383
|
+
50: "#F1FCF5",
|
|
384
|
+
100: "#DFF9EA",
|
|
385
|
+
200: "#B5DACD",
|
|
386
|
+
300: "#8ABFAF",
|
|
387
|
+
400: "#60A18F",
|
|
388
|
+
500: "#468675",
|
|
389
|
+
600: "#366B5F",
|
|
390
|
+
700: "#2E574D",
|
|
391
|
+
800: "#2A4641",
|
|
392
|
+
900: "#1D2F2B",
|
|
393
|
+
950: "#11221E"
|
|
394
|
+
},
|
|
395
|
+
teal: {
|
|
396
|
+
50: "#E2F1F0",
|
|
397
|
+
100: "#C9EBE8",
|
|
398
|
+
200: "#C7E8E5",
|
|
399
|
+
300: "#8AD0D0",
|
|
400
|
+
400: "#67C4C4",
|
|
401
|
+
500: "#39A6A7",
|
|
402
|
+
600: "#258386",
|
|
403
|
+
700: "#1B666A",
|
|
404
|
+
800: "#1A5255",
|
|
405
|
+
900: "#1A4447",
|
|
406
|
+
950: "#09272A"
|
|
407
|
+
},
|
|
408
|
+
lightBlue: {
|
|
409
|
+
50: "#F2F8FD",
|
|
410
|
+
100: "#E3EFFB",
|
|
411
|
+
200: "#C1E0F6",
|
|
412
|
+
300: "#8BC6EE",
|
|
413
|
+
400: "#3DA2E1",
|
|
414
|
+
500: "#258FD2",
|
|
415
|
+
600: "#1771B2",
|
|
416
|
+
700: "#145A90",
|
|
417
|
+
800: "#154D77",
|
|
418
|
+
900: "#174163",
|
|
419
|
+
950: "#062C2D"
|
|
420
|
+
},
|
|
421
|
+
sea: {
|
|
422
|
+
50: "#F4F6FC",
|
|
423
|
+
100: "#E8EDF6",
|
|
424
|
+
200: "#CBD9EB",
|
|
425
|
+
300: "#9FB9DA",
|
|
426
|
+
400: "#6A93C5",
|
|
427
|
+
500: "#446FA4",
|
|
428
|
+
600: "#375D92",
|
|
429
|
+
700: "#2D4B77",
|
|
430
|
+
800: "#294163",
|
|
431
|
+
900: "#263954",
|
|
432
|
+
950: "#1A2537"
|
|
433
|
+
},
|
|
434
|
+
blue: {
|
|
435
|
+
50: "#F0F6FE",
|
|
436
|
+
100: "#DDEAFC",
|
|
437
|
+
200: "#C2DBFB",
|
|
438
|
+
300: "#98C5F8",
|
|
439
|
+
400: "#68A7F2",
|
|
440
|
+
500: "#377CEB",
|
|
441
|
+
600: "#2F68E1",
|
|
442
|
+
700: "#2754CE",
|
|
443
|
+
800: "#20429E",
|
|
444
|
+
900: "#1C2A52",
|
|
445
|
+
950: "#061132"
|
|
446
|
+
},
|
|
447
|
+
lightPurple: {
|
|
448
|
+
50: "#F6F5FD",
|
|
449
|
+
100: "#EEEDFA",
|
|
450
|
+
200: "#DDDCFD",
|
|
451
|
+
300: "#BDB9EC",
|
|
452
|
+
400: "#AAA1E4",
|
|
453
|
+
500: "#826CE3",
|
|
454
|
+
600: "#7250D7",
|
|
455
|
+
700: "#623DC4",
|
|
456
|
+
800: "#5133A4",
|
|
457
|
+
900: "#442B87",
|
|
458
|
+
950: "#291A5B"
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
// ../tailwind-config/src/colors/semantic-palette.ts
|
|
463
|
+
var semanticPalette = {
|
|
464
|
+
primary: {
|
|
465
|
+
soft: { light: primitivePalette.blue[100], dark: primitivePalette.blue[950] },
|
|
466
|
+
light: { light: primitivePalette.blue[200], dark: primitivePalette.blue[900] },
|
|
467
|
+
main: { light: primitivePalette.blue[600], dark: primitivePalette.blue[600] },
|
|
468
|
+
dark: { light: primitivePalette.blue[800], dark: primitivePalette.blue[500] },
|
|
469
|
+
strong: { light: primitivePalette.blue[900], dark: primitivePalette.blue[200] }
|
|
470
|
+
},
|
|
471
|
+
secondary: {
|
|
472
|
+
soft: { light: primitivePalette.lightPurple[100], dark: primitivePalette.lightPurple[950] },
|
|
473
|
+
light: { light: primitivePalette.lightPurple[200], dark: primitivePalette.lightPurple[900] },
|
|
474
|
+
main: { light: primitivePalette.lightPurple[600], dark: primitivePalette.lightPurple[500] },
|
|
475
|
+
dark: { light: primitivePalette.lightPurple[800], dark: primitivePalette.lightPurple[700] },
|
|
476
|
+
strong: { light: primitivePalette.lightPurple[950], dark: primitivePalette.lightPurple[950] }
|
|
477
|
+
},
|
|
478
|
+
body: {
|
|
479
|
+
foreground: { light: primitivePalette.gray.cool[950], dark: primitivePalette.gray.cool[50] },
|
|
480
|
+
background: { light: primitivePalette.gray.cool[50], dark: primitivePalette.bg["06"] }
|
|
481
|
+
},
|
|
482
|
+
neutral: {
|
|
483
|
+
soft: { light: primitivePalette.gray.cool[100], dark: primitivePalette.gray.cool[900] },
|
|
484
|
+
light: { light: primitivePalette.gray.cool[200], dark: primitivePalette.gray.cool[700] },
|
|
485
|
+
main: { light: primitivePalette.gray.cool[400], dark: primitivePalette.gray.cool[400] },
|
|
486
|
+
dark: { light: primitivePalette.gray.cool[500], dark: primitivePalette.gray.cool[300] },
|
|
487
|
+
strong: { light: primitivePalette.gray.cool[700], dark: primitivePalette.gray.cool[200] }
|
|
488
|
+
},
|
|
489
|
+
trans: {
|
|
490
|
+
soft: { light: primitivePalette.opacity.black[5], dark: primitivePalette.opacity.white[5] },
|
|
491
|
+
light: { light: primitivePalette.opacity.black[10], dark: primitivePalette.opacity.white[10] },
|
|
492
|
+
main: { light: primitivePalette.opacity.black[20], dark: primitivePalette.opacity.white[20] },
|
|
493
|
+
dark: { light: primitivePalette.opacity.black[30], dark: primitivePalette.opacity.white[30] },
|
|
494
|
+
strong: { light: primitivePalette.opacity.black[60], dark: primitivePalette.opacity.black[60] }
|
|
495
|
+
},
|
|
496
|
+
common: {
|
|
497
|
+
black: { light: primitivePalette.gray.cool[950], dark: primitivePalette.gray.cool[950] },
|
|
498
|
+
white: { light: primitivePalette.gray.cool[50], dark: primitivePalette.gray.cool[50] },
|
|
499
|
+
transparent: { light: primitivePalette.opacity.white["0"], dark: primitivePalette.opacity.black["0"] },
|
|
500
|
+
hover: { light: primitivePalette.opacity.black[5], dark: primitivePalette.opacity.white[5] }
|
|
501
|
+
},
|
|
502
|
+
info: {
|
|
503
|
+
soft: { light: primitivePalette.teal[50], dark: primitivePalette.teal[950] },
|
|
504
|
+
light: { light: primitivePalette.teal[100], dark: primitivePalette.teal[900] },
|
|
505
|
+
main: { light: primitivePalette.teal[500], dark: primitivePalette.teal[500] },
|
|
506
|
+
dark: { light: primitivePalette.teal[600], dark: primitivePalette.teal[700] },
|
|
507
|
+
strong: { light: "", dark: "" }
|
|
508
|
+
},
|
|
509
|
+
success: {
|
|
510
|
+
soft: { light: primitivePalette.green[50], dark: primitivePalette.green[950] },
|
|
511
|
+
light: { light: primitivePalette.green[200], dark: primitivePalette.green[900] },
|
|
512
|
+
main: { light: primitivePalette.green[500], dark: primitivePalette.green[600] },
|
|
513
|
+
dark: { light: primitivePalette.green[600], dark: primitivePalette.green[700] },
|
|
514
|
+
strong: { light: "", dark: "" }
|
|
515
|
+
},
|
|
516
|
+
warning: {
|
|
517
|
+
soft: { light: primitivePalette.yellow[50], dark: primitivePalette.yellow[950] },
|
|
518
|
+
light: { light: primitivePalette.yellow[100], dark: primitivePalette.yellow[900] },
|
|
519
|
+
main: { light: primitivePalette.yellow[500], dark: primitivePalette.yellow[600] },
|
|
520
|
+
dark: { light: primitivePalette.yellow[600], dark: primitivePalette.yellow[700] },
|
|
521
|
+
strong: { light: "", dark: "" }
|
|
522
|
+
},
|
|
523
|
+
danger: {
|
|
524
|
+
soft: { light: primitivePalette.hotPink[50], dark: primitivePalette.hotPink[950] },
|
|
525
|
+
light: { light: primitivePalette.hotPink[200], dark: primitivePalette.hotPink[900] },
|
|
526
|
+
main: { light: primitivePalette.hotPink[500], dark: primitivePalette.hotPink[500] },
|
|
527
|
+
dark: { light: primitivePalette.hotPink[600], dark: primitivePalette.hotPink[700] },
|
|
528
|
+
strong: { light: "", dark: "" }
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
|
|
186
532
|
// ../tailwind-config/src/typography/font.ts
|
|
187
533
|
var fontSize = {
|
|
188
534
|
h1: [
|
|
@@ -386,7 +732,7 @@ var boxShadow = {
|
|
|
386
732
|
"drop-sm": "0 4px 12px 0 rgba(0, 0, 0, 0.1)",
|
|
387
733
|
"drop-md": "0 6px 18px 0 rgba(0, 0, 0, 0.1)",
|
|
388
734
|
"drop-lg": "0 8px 24px 0 rgba(0, 0, 0, 0.1)",
|
|
389
|
-
"drop-xl": "0
|
|
735
|
+
"drop-xl": "0 0px 60px 0 rgba(0, 0, 0, 0.2)"
|
|
390
736
|
};
|
|
391
737
|
|
|
392
738
|
// ../tailwind-config/src/border/radius.ts
|
|
@@ -395,8 +741,19 @@ var borderRadius = {
|
|
|
395
741
|
md: "6px",
|
|
396
742
|
lg: "8px",
|
|
397
743
|
xl: "10px",
|
|
744
|
+
"2xl": "20px",
|
|
398
745
|
none: "0",
|
|
399
|
-
full: "9999px"
|
|
746
|
+
full: "9999px",
|
|
747
|
+
2: "2px",
|
|
748
|
+
5: "5px"
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
// ../tailwind-config/src/border/width.ts
|
|
752
|
+
var borderWidth = {
|
|
753
|
+
sm: "1px",
|
|
754
|
+
md: "1.25px",
|
|
755
|
+
lg: "1.5px",
|
|
756
|
+
xl: "1.75px"
|
|
400
757
|
};
|
|
401
758
|
|
|
402
759
|
// ../tailwind-config/src/space/gap.ts
|
|
@@ -404,7 +761,11 @@ var gap = {
|
|
|
404
761
|
sm: "4px",
|
|
405
762
|
md: "6px",
|
|
406
763
|
lg: "8px",
|
|
407
|
-
xl: "10px"
|
|
764
|
+
xl: "10px",
|
|
765
|
+
5: "5px",
|
|
766
|
+
10: "10px",
|
|
767
|
+
20: "20px",
|
|
768
|
+
30: "30px"
|
|
408
769
|
};
|
|
409
770
|
|
|
410
771
|
// src/utils/tailwind-variants.ts
|
|
@@ -419,7 +780,8 @@ var tv = (0, import_tailwind_variants.createTV)({
|
|
|
419
780
|
borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
|
|
420
781
|
boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
|
|
421
782
|
padding: [{ p: [...COMMON_SIZE] }],
|
|
422
|
-
gap: [{ gap: [...typedKeys(gap)] }]
|
|
783
|
+
gap: [{ gap: [...typedKeys(gap)] }],
|
|
784
|
+
borderWidth: [{ border: [...typedKeys(borderWidth)] }]
|
|
423
785
|
}
|
|
424
786
|
}
|
|
425
787
|
});
|
|
@@ -475,7 +837,7 @@ var CheckBoxIcon = ({ size, isSelected, className }) => {
|
|
|
475
837
|
"path",
|
|
476
838
|
{
|
|
477
839
|
d: "M2.16667 6.90123L5.63334 10.1111L10.8333 2.88889",
|
|
478
|
-
stroke: "
|
|
840
|
+
stroke: "currentColor",
|
|
479
841
|
strokeWidth,
|
|
480
842
|
strokeLinecap: "round",
|
|
481
843
|
strokeLinejoin: "round",
|
|
@@ -508,7 +870,7 @@ var checkboxStyle = tv({
|
|
|
508
870
|
"group-has-[:checked]:after:opacity-100",
|
|
509
871
|
"before:transition duration-200"
|
|
510
872
|
],
|
|
511
|
-
icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-
|
|
873
|
+
icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-common-white"],
|
|
512
874
|
labelReverse: ["flex-row-reverse"],
|
|
513
875
|
label: ["relative", "text-body-foreground", "select-none"]
|
|
514
876
|
},
|
|
@@ -541,54 +903,26 @@ var checkboxStyle = tv({
|
|
|
541
903
|
},
|
|
542
904
|
size: {
|
|
543
905
|
sm: {
|
|
544
|
-
base: ["gap-
|
|
545
|
-
wrapper: [
|
|
546
|
-
"w-[12px]",
|
|
547
|
-
"h-[12px]",
|
|
548
|
-
"rounded-[2px]",
|
|
549
|
-
"before:border-sm",
|
|
550
|
-
"before:rounded-[2px]",
|
|
551
|
-
"after:rounded-[2px]"
|
|
552
|
-
],
|
|
906
|
+
base: ["gap-lg"],
|
|
907
|
+
wrapper: ["w-[12px]", "h-[12px]", "rounded-2", "before:border-sm", "before:rounded-2", "after:rounded-2"],
|
|
553
908
|
label: ["text-sm"],
|
|
554
909
|
icon: ["w-[10px]", "h-[10px]"]
|
|
555
910
|
},
|
|
556
911
|
md: {
|
|
557
|
-
base: ["gap-
|
|
558
|
-
wrapper: [
|
|
559
|
-
"w-[15px]",
|
|
560
|
-
"h-[15px]",
|
|
561
|
-
"rounded-[2px]",
|
|
562
|
-
"before:border-md",
|
|
563
|
-
"before:rounded-[2px]",
|
|
564
|
-
"after:rounded-[2px]"
|
|
565
|
-
],
|
|
912
|
+
base: ["gap-lg"],
|
|
913
|
+
wrapper: ["w-[15px]", "h-[15px]", "rounded-2", "before:border-md", "before:rounded-2", "after:rounded-2"],
|
|
566
914
|
label: ["text-md"],
|
|
567
915
|
icon: ["w-[13px]", "h-[13px]"]
|
|
568
916
|
},
|
|
569
917
|
lg: {
|
|
570
|
-
base: ["gap-
|
|
571
|
-
wrapper: [
|
|
572
|
-
"w-[18px]",
|
|
573
|
-
"h-[18px]",
|
|
574
|
-
"rounded-[4px]",
|
|
575
|
-
"before:border-lg",
|
|
576
|
-
"before:rounded-[4px]",
|
|
577
|
-
"after:rounded-[4px]"
|
|
578
|
-
],
|
|
918
|
+
base: ["gap-xl"],
|
|
919
|
+
wrapper: ["w-[18px]", "h-[18px]", "rounded-sm", "before:border-lg", "before:rounded-sm", "after:rounded-sm"],
|
|
579
920
|
label: ["text-lg"],
|
|
580
921
|
icon: ["w-[16px]", "h-[16px]"]
|
|
581
922
|
},
|
|
582
923
|
xl: {
|
|
583
|
-
base: ["gap-
|
|
584
|
-
wrapper: [
|
|
585
|
-
"w-[21px]",
|
|
586
|
-
"h-[21px]",
|
|
587
|
-
"rounded-[4px]",
|
|
588
|
-
"before:border-xl",
|
|
589
|
-
"before:rounded-[2px]",
|
|
590
|
-
"after:rounded-[2px]"
|
|
591
|
-
],
|
|
924
|
+
base: ["gap-xl"],
|
|
925
|
+
wrapper: ["w-[21px]", "h-[21px]", "rounded-sm", "before:border-xl", "before:rounded-sm", "after:rounded-sm"],
|
|
592
926
|
label: ["text-xl"],
|
|
593
927
|
icon: ["w-[19px]", "h-[19px]"]
|
|
594
928
|
}
|
|
@@ -667,7 +1001,16 @@ function TableCell({
|
|
|
667
1001
|
textOverflow: isTextContent ? "ellipsis" : void 0
|
|
668
1002
|
},
|
|
669
1003
|
title: showTitle && isTextContent ? String(content != null ? content : "") : void 0,
|
|
670
|
-
children: content
|
|
1004
|
+
children: isTextContent ? content : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
1005
|
+
"div",
|
|
1006
|
+
{
|
|
1007
|
+
className: clsx(
|
|
1008
|
+
"flex w-full items-center",
|
|
1009
|
+
column.align === "right" ? "justify-end" : column.align === "left" ? "justify-start" : "justify-center"
|
|
1010
|
+
),
|
|
1011
|
+
children: content
|
|
1012
|
+
}
|
|
1013
|
+
)
|
|
671
1014
|
},
|
|
672
1015
|
`${row.id}-${column.field}-${colIdx}-${rowIndex}`
|
|
673
1016
|
);
|
|
@@ -692,7 +1035,7 @@ var TableBody = ({
|
|
|
692
1035
|
{
|
|
693
1036
|
className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"),
|
|
694
1037
|
style: { width: "40px", minWidth: "40px", textAlign: "center" },
|
|
695
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { "data-checkbox": true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) })
|
|
1038
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { "data-checkbox": true, className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) })
|
|
696
1039
|
},
|
|
697
1040
|
`checkbox-${rowId}-${rowIndex}`
|
|
698
1041
|
);
|
|
@@ -770,6 +1113,98 @@ var import_react4 = require("react");
|
|
|
770
1113
|
// src/components/icon/template.tsx
|
|
771
1114
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
772
1115
|
var template = {
|
|
1116
|
+
left: ({ className }) => {
|
|
1117
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1118
|
+
"svg",
|
|
1119
|
+
{
|
|
1120
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1121
|
+
width: "21",
|
|
1122
|
+
height: "21",
|
|
1123
|
+
viewBox: "0 0 21 21",
|
|
1124
|
+
fill: "none",
|
|
1125
|
+
className,
|
|
1126
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1127
|
+
"path",
|
|
1128
|
+
{
|
|
1129
|
+
d: "M12.8333 15.1667L8.16667 10.5L12.8333 5.83334",
|
|
1130
|
+
stroke: "currentColor",
|
|
1131
|
+
strokeWidth: "1.25",
|
|
1132
|
+
strokeLinecap: "round",
|
|
1133
|
+
strokeLinejoin: "round"
|
|
1134
|
+
}
|
|
1135
|
+
)
|
|
1136
|
+
}
|
|
1137
|
+
);
|
|
1138
|
+
},
|
|
1139
|
+
"left-double": ({ className }) => {
|
|
1140
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1141
|
+
"svg",
|
|
1142
|
+
{
|
|
1143
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1144
|
+
width: "21",
|
|
1145
|
+
height: "21",
|
|
1146
|
+
viewBox: "0 0 21 21",
|
|
1147
|
+
fill: "none",
|
|
1148
|
+
className,
|
|
1149
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1150
|
+
"path",
|
|
1151
|
+
{
|
|
1152
|
+
d: "M15.1667 5.83334L9.98148 10.5L15.1667 15.1667M11.0185 5.83334L5.83334 10.5L11.0185 15.1667",
|
|
1153
|
+
stroke: "currentColor",
|
|
1154
|
+
strokeWidth: "1.25",
|
|
1155
|
+
strokeLinecap: "round",
|
|
1156
|
+
strokeLinejoin: "round"
|
|
1157
|
+
}
|
|
1158
|
+
)
|
|
1159
|
+
}
|
|
1160
|
+
);
|
|
1161
|
+
},
|
|
1162
|
+
right: ({ className }) => {
|
|
1163
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1164
|
+
"svg",
|
|
1165
|
+
{
|
|
1166
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1167
|
+
width: "21",
|
|
1168
|
+
height: "21",
|
|
1169
|
+
viewBox: "0 0 21 21",
|
|
1170
|
+
fill: "none",
|
|
1171
|
+
className,
|
|
1172
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1173
|
+
"path",
|
|
1174
|
+
{
|
|
1175
|
+
d: "M8.16666 5.83334L12.8333 10.5L8.16666 15.1667",
|
|
1176
|
+
stroke: "currentColor",
|
|
1177
|
+
strokeWidth: "1.25",
|
|
1178
|
+
strokeLinecap: "round",
|
|
1179
|
+
strokeLinejoin: "round"
|
|
1180
|
+
}
|
|
1181
|
+
)
|
|
1182
|
+
}
|
|
1183
|
+
);
|
|
1184
|
+
},
|
|
1185
|
+
"right-double": ({ className }) => {
|
|
1186
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1187
|
+
"svg",
|
|
1188
|
+
{
|
|
1189
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1190
|
+
width: "21",
|
|
1191
|
+
height: "21",
|
|
1192
|
+
viewBox: "0 0 21 21",
|
|
1193
|
+
fill: "none",
|
|
1194
|
+
className,
|
|
1195
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1196
|
+
"path",
|
|
1197
|
+
{
|
|
1198
|
+
d: "M5.83334 5.83334L11.0185 10.5L5.83334 15.1667M9.98149 5.83334L15.1667 10.5L9.98149 15.1667",
|
|
1199
|
+
stroke: "currentColor",
|
|
1200
|
+
strokeWidth: "1.25",
|
|
1201
|
+
strokeLinecap: "round",
|
|
1202
|
+
strokeLinejoin: "round"
|
|
1203
|
+
}
|
|
1204
|
+
)
|
|
1205
|
+
}
|
|
1206
|
+
);
|
|
1207
|
+
},
|
|
773
1208
|
"left-chevron": ({ className }) => {
|
|
774
1209
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
775
1210
|
"svg",
|
|
@@ -2155,46 +2590,6 @@ var template = {
|
|
|
2155
2590
|
}
|
|
2156
2591
|
);
|
|
2157
2592
|
},
|
|
2158
|
-
left: ({ className }) => {
|
|
2159
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2160
|
-
"svg",
|
|
2161
|
-
{
|
|
2162
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2163
|
-
width: "22",
|
|
2164
|
-
height: "22",
|
|
2165
|
-
viewBox: "0 0 22 22",
|
|
2166
|
-
fill: "none",
|
|
2167
|
-
className,
|
|
2168
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2169
|
-
"path",
|
|
2170
|
-
{
|
|
2171
|
-
d: "M14.4955 7.21404C14.4957 7.26442 14.4957 7.26442 14.4959 7.31582C14.4962 7.40882 14.4962 7.50182 14.496 7.59482C14.496 7.69521 14.4962 7.79559 14.4965 7.89598C14.4969 8.09257 14.497 8.28915 14.4969 8.48574C14.4968 8.64555 14.4969 8.80536 14.497 8.96516C14.4971 8.98791 14.4971 9.01066 14.4971 9.0341C14.4971 9.08032 14.4972 9.12653 14.4972 9.17275C14.4976 9.60613 14.4975 10.0395 14.4973 10.4729C14.4971 10.8692 14.4975 11.2656 14.4981 11.6619C14.4988 12.069 14.499 12.4761 14.4989 12.8832C14.4989 13.1117 14.4989 13.3402 14.4994 13.5687C14.4998 13.7633 14.4998 13.9578 14.4994 14.1524C14.4992 14.2516 14.4992 14.3508 14.4996 14.45C14.4999 14.5577 14.4997 14.6653 14.4993 14.7729C14.4995 14.8042 14.4997 14.8354 14.5 14.8676C14.4981 15.094 14.4635 15.2952 14.2769 15.4694C14.0633 15.6269 13.8501 15.6664 13.574 15.6667C13.3359 15.6312 13.1607 15.5177 12.9847 15.381C12.9446 15.3506 12.9044 15.3202 12.8642 15.2898C12.8338 15.2666 12.8338 15.2666 12.8028 15.2429C12.7059 15.1692 12.6076 15.0969 12.5094 15.0246C12.4807 15.0034 12.4807 15.0034 12.4515 14.9819C12.3238 14.8875 12.1955 14.7936 12.0669 14.7C11.8604 14.5497 11.6552 14.3982 11.4501 14.2465C11.3539 14.1754 11.2577 14.1043 11.1615 14.0332C11.1231 14.0048 11.0847 13.9765 11.0462 13.9481C11.0177 13.927 11.0177 13.927 10.9886 13.9055C10.1627 13.2955 9.33686 12.6854 8.51098 12.0753C8.49194 12.0613 8.47291 12.0472 8.45329 12.0328C8.41508 12.0045 8.37691 11.9762 8.33878 11.9479C8.23994 11.8746 8.14044 11.8021 8.03961 11.7309C7.56492 11.3929 7.56492 11.3929 7.50676 11.139C7.48169 10.8947 7.5218 10.7077 7.70431 10.5165C7.82684 10.4027 7.96443 10.3072 8.1052 10.2107C8.19396 10.1488 8.27857 10.0845 8.36282 10.0181C8.5044 9.90695 8.65122 9.80273 8.80011 9.69893C8.88704 9.63693 8.97086 9.57289 9.05425 9.50739C9.19583 9.3962 9.34265 9.29198 9.49154 9.18818C9.57847 9.12618 9.6623 9.06214 9.74569 8.99664C9.88726 8.88544 10.0341 8.78123 10.183 8.67742C10.2699 8.61542 10.3537 8.55139 10.4371 8.48589C10.5787 8.37469 10.7255 8.27048 10.8744 8.16667C10.9613 8.10467 11.0452 8.04064 11.1286 7.97514C11.2379 7.88937 11.3491 7.80701 11.464 7.72686C11.676 7.57888 11.881 7.42428 12.0868 7.26992C12.2036 7.18255 12.321 7.09588 12.4386 7.00934C12.5366 6.93723 12.6341 6.8648 12.7311 6.7917C13.3456 6.32986 13.3456 6.32986 13.7814 6.33404C13.9843 6.35117 14.1418 6.41415 14.2854 6.53943C14.4816 6.75169 14.4966 6.95069 14.4955 7.21404Z",
|
|
2172
|
-
fill: "currentColor"
|
|
2173
|
-
}
|
|
2174
|
-
)
|
|
2175
|
-
}
|
|
2176
|
-
);
|
|
2177
|
-
},
|
|
2178
|
-
right: ({ className }) => {
|
|
2179
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2180
|
-
"svg",
|
|
2181
|
-
{
|
|
2182
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2183
|
-
width: "22",
|
|
2184
|
-
height: "22",
|
|
2185
|
-
viewBox: "0 0 22 22",
|
|
2186
|
-
fill: "none",
|
|
2187
|
-
className,
|
|
2188
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2189
|
-
"path",
|
|
2190
|
-
{
|
|
2191
|
-
d: "M7.50447 7.21404C7.50428 7.26442 7.50428 7.26442 7.50409 7.31582C7.50381 7.40882 7.50383 7.50182 7.50397 7.59482C7.50405 7.69521 7.50375 7.79559 7.5035 7.89598C7.50308 8.09257 7.50303 8.28915 7.5031 8.48574C7.50316 8.64555 7.5031 8.80536 7.50296 8.96516C7.50294 8.98791 7.50292 9.01066 7.5029 9.0341C7.50286 9.08032 7.50282 9.12653 7.50278 9.17275C7.50243 9.60613 7.5025 10.0395 7.5027 10.4729C7.50287 10.8692 7.5025 11.2656 7.50187 11.6619C7.50123 12.069 7.50096 12.4761 7.50109 12.8832C7.50115 13.1117 7.50107 13.3402 7.5006 13.5687C7.50021 13.7633 7.50016 13.9578 7.50056 14.1524C7.50076 14.2516 7.50079 14.3508 7.5004 14.45C7.50005 14.5577 7.50032 14.6653 7.50074 14.7729C7.50049 14.8042 7.50025 14.8354 7.5 14.8676C7.50185 15.094 7.53645 15.2952 7.72309 15.4694C7.93671 15.6269 8.14985 15.6664 8.42597 15.6667C8.66414 15.6312 8.8393 15.5177 9.01528 15.381C9.05544 15.3506 9.09561 15.3202 9.13579 15.2898C9.16617 15.2666 9.16617 15.2666 9.19716 15.2429C9.29408 15.1692 9.39237 15.0969 9.49064 15.0246C9.51926 15.0034 9.51926 15.0034 9.54847 14.9819C9.67623 14.8875 9.80451 14.7936 9.93307 14.7C10.1396 14.5497 10.3448 14.3982 10.5499 14.2465C10.6461 14.1754 10.7423 14.1043 10.8385 14.0332C10.8769 14.0048 10.9153 13.9765 10.9538 13.9481C10.9823 13.927 10.9823 13.927 11.0114 13.9055C11.8373 13.2955 12.6631 12.6854 13.489 12.0753C13.5081 12.0613 13.5271 12.0472 13.5467 12.0328C13.5849 12.0045 13.6231 11.9762 13.6612 11.9479C13.7601 11.8746 13.8596 11.8021 13.9604 11.7309C14.4351 11.3929 14.4351 11.3929 14.4932 11.139C14.5183 10.8947 14.4782 10.7077 14.2957 10.5165C14.1732 10.4027 14.0356 10.3072 13.8948 10.2107C13.806 10.1488 13.7214 10.0845 13.6372 10.0181C13.4956 9.90695 13.3488 9.80273 13.1999 9.69893C13.113 9.63693 13.0291 9.57289 12.9457 9.50739C12.8042 9.3962 12.6573 9.29198 12.5085 9.18818C12.4215 9.12618 12.3377 9.06214 12.2543 8.99664C12.1127 8.88544 11.9659 8.78123 11.817 8.67742C11.7301 8.61542 11.6463 8.55139 11.5629 8.48589C11.4213 8.37469 11.2745 8.27048 11.1256 8.16667C11.0387 8.10467 10.9548 8.04064 10.8714 7.97514C10.7621 7.88937 10.6509 7.80701 10.536 7.72686C10.324 7.57888 10.119 7.42428 9.9132 7.26992C9.79643 7.18255 9.67897 7.09588 9.56138 7.00934C9.46343 6.93723 9.36586 6.8648 9.26891 6.7917C8.65441 6.32986 8.65441 6.32986 8.21864 6.33404C8.01565 6.35117 7.85817 6.41415 7.7146 6.53943C7.51841 6.75169 7.50343 6.95069 7.50447 7.21404Z",
|
|
2192
|
-
fill: "currentColor"
|
|
2193
|
-
}
|
|
2194
|
-
)
|
|
2195
|
-
}
|
|
2196
|
-
);
|
|
2197
|
-
},
|
|
2198
2593
|
"brace-left": ({ className }) => {
|
|
2199
2594
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2200
2595
|
"svg",
|
|
@@ -2504,6 +2899,20 @@ var template = {
|
|
|
2504
2899
|
}
|
|
2505
2900
|
);
|
|
2506
2901
|
},
|
|
2902
|
+
polygon: ({ className }) => {
|
|
2903
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2904
|
+
"svg",
|
|
2905
|
+
{
|
|
2906
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2907
|
+
width: "24",
|
|
2908
|
+
height: "24",
|
|
2909
|
+
viewBox: "0 0 24 24",
|
|
2910
|
+
fill: "none",
|
|
2911
|
+
className,
|
|
2912
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polygon", { points: "12 4 20 9 20 15 12 20 4 15 4 9", stroke: "currentColor", strokeWidth: "2" })
|
|
2913
|
+
}
|
|
2914
|
+
);
|
|
2915
|
+
},
|
|
2507
2916
|
"new-window": ({ className }) => {
|
|
2508
2917
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
2509
2918
|
"svg",
|
|
@@ -5617,25 +6026,26 @@ var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
|
5617
6026
|
var Icon = ({ name, size = "md", fill = false, className, onClick, ...props }) => {
|
|
5618
6027
|
const SVGIcon = template[name];
|
|
5619
6028
|
const getInputIconSize = (size2) => {
|
|
5620
|
-
switch (size2) {
|
|
6029
|
+
switch (String(size2)) {
|
|
5621
6030
|
case "sm":
|
|
5622
|
-
return "
|
|
6031
|
+
return "w-[18px] h-[18px]";
|
|
5623
6032
|
case "md":
|
|
5624
|
-
return "
|
|
6033
|
+
return "w-[21px] h-[21px] stroke-[1.25px]";
|
|
5625
6034
|
case "lg":
|
|
5626
|
-
return "
|
|
6035
|
+
return "w-[24px] h-[24px] stroke-[1.5px]";
|
|
5627
6036
|
case "xl":
|
|
5628
|
-
return "
|
|
6037
|
+
return "w-[27px] h-[27px] stroke-[1.5px]";
|
|
6038
|
+
case "20":
|
|
6039
|
+
return "w-[20px] h-[20px] stroke-[1.25px]";
|
|
6040
|
+
case "30":
|
|
6041
|
+
return "w-[30px] h-[30px] stroke-[1.5px]";
|
|
6042
|
+
case "40":
|
|
6043
|
+
return "w-[40px] h-[40px] stroke-[2px]";
|
|
6044
|
+
default:
|
|
6045
|
+
return "w-[21px] h-[21px] stroke-[1.25px]";
|
|
5629
6046
|
}
|
|
5630
6047
|
};
|
|
5631
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className:
|
|
5632
|
-
SVGIcon,
|
|
5633
|
-
{
|
|
5634
|
-
fill,
|
|
5635
|
-
className: className ? `${getInputIconSize(size)} ${className}` : `${getInputIconSize(size)}`,
|
|
5636
|
-
...props
|
|
5637
|
-
}
|
|
5638
|
-
) });
|
|
6048
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: `m-0 flex items-center justify-center p-0 ${className}`, onClick, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SVGIcon, { fill, className: getInputIconSize(size), ...props }) });
|
|
5639
6049
|
};
|
|
5640
6050
|
var Icon_default = Icon;
|
|
5641
6051
|
|
|
@@ -5777,10 +6187,10 @@ var inputStyle = tv(
|
|
|
5777
6187
|
"placeholder:text-neutral-main",
|
|
5778
6188
|
"outline-none",
|
|
5779
6189
|
"focus:ring-0",
|
|
5780
|
-
"group-
|
|
5781
|
-
"group-
|
|
5782
|
-
"
|
|
5783
|
-
"
|
|
6190
|
+
"group-hover/input:text-neutral-dark",
|
|
6191
|
+
"group-hover/input:placeholder:text-neutral-dark",
|
|
6192
|
+
"focus:text-neutral-dark",
|
|
6193
|
+
"focus:placeholder:text-neutral-dark",
|
|
5784
6194
|
"read-only:!text-body-foreground",
|
|
5785
6195
|
"read-only:placeholder:!text-body-foreground"
|
|
5786
6196
|
],
|
|
@@ -5789,10 +6199,10 @@ var inputStyle = tv(
|
|
|
5789
6199
|
"items-center",
|
|
5790
6200
|
"select-none",
|
|
5791
6201
|
"text-neutral-main",
|
|
5792
|
-
"
|
|
5793
|
-
"
|
|
6202
|
+
"transition-colors",
|
|
6203
|
+
"group-hover/input:text-neutral-dark"
|
|
5794
6204
|
],
|
|
5795
|
-
helperMessage: ["text-neutral-main", "group-
|
|
6205
|
+
helperMessage: ["text-neutral-main", "group-hover/input:text-neutral-dark"],
|
|
5796
6206
|
errorMessage: ["text-danger-main"],
|
|
5797
6207
|
readonlyWrapper: [
|
|
5798
6208
|
"pointer-events-none",
|
|
@@ -5831,46 +6241,46 @@ var inputStyle = tv(
|
|
|
5831
6241
|
},
|
|
5832
6242
|
color: {
|
|
5833
6243
|
primary: {
|
|
5834
|
-
content: ["group-
|
|
5835
|
-
helperMessage: ["group-
|
|
5836
|
-
readonly: ["text-primary-main"]
|
|
6244
|
+
content: ["group-focus-within/input:!text-primary-main"],
|
|
6245
|
+
helperMessage: ["group-focus-within/input:!text-primary-main"],
|
|
6246
|
+
readonly: ["!text-primary-main"]
|
|
5837
6247
|
},
|
|
5838
6248
|
secondary: {
|
|
5839
|
-
content: ["group-
|
|
5840
|
-
helperMessage: ["group-
|
|
5841
|
-
readonly: ["text-secondary-main"]
|
|
6249
|
+
content: ["group-focus-within/input:!text-secondary-main"],
|
|
6250
|
+
helperMessage: ["group-focus-within/input:!text-secondary-main"],
|
|
6251
|
+
readonly: ["!text-secondary-main"]
|
|
5842
6252
|
}
|
|
5843
6253
|
},
|
|
5844
6254
|
size: {
|
|
5845
6255
|
sm: {
|
|
5846
|
-
base: ["text-sm", "gap-
|
|
6256
|
+
base: ["text-sm", "gap-sm"],
|
|
5847
6257
|
label: ["text-sm"],
|
|
5848
|
-
innerWrapper: ["gap-
|
|
5849
|
-
inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-
|
|
6258
|
+
innerWrapper: ["gap-sm"],
|
|
6259
|
+
inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-xs", "gap-sm"],
|
|
5850
6260
|
helperMessage: ["text-sm"],
|
|
5851
6261
|
errorMessage: ["text-sm"]
|
|
5852
6262
|
},
|
|
5853
6263
|
md: {
|
|
5854
|
-
base: ["text-md", "gap-
|
|
6264
|
+
base: ["text-md", "gap-md"],
|
|
5855
6265
|
label: ["text-md"],
|
|
5856
|
-
innerWrapper: ["gap-
|
|
5857
|
-
inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-
|
|
6266
|
+
innerWrapper: ["gap-md"],
|
|
6267
|
+
inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-sm", "gap-md"],
|
|
5858
6268
|
helperMessage: ["text-sm"],
|
|
5859
6269
|
errorMessage: ["text-sm"]
|
|
5860
6270
|
},
|
|
5861
6271
|
lg: {
|
|
5862
|
-
base: ["text-lg", "gap-
|
|
6272
|
+
base: ["text-lg", "gap-lg"],
|
|
5863
6273
|
label: ["text-lg"],
|
|
5864
|
-
innerWrapper: ["gap-
|
|
5865
|
-
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-
|
|
6274
|
+
innerWrapper: ["gap-lg"],
|
|
6275
|
+
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-md", "gap-lg"],
|
|
5866
6276
|
helperMessage: ["text-md"],
|
|
5867
6277
|
errorMessage: ["text-md"]
|
|
5868
6278
|
},
|
|
5869
6279
|
xl: {
|
|
5870
|
-
base: ["text-xl", "gap-
|
|
6280
|
+
base: ["text-xl", "gap-xl"],
|
|
5871
6281
|
label: ["text-xl"],
|
|
5872
|
-
innerWrapper: ["gap-
|
|
5873
|
-
inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-
|
|
6282
|
+
innerWrapper: ["gap-xl"],
|
|
6283
|
+
inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-lg", "gap-xl"],
|
|
5874
6284
|
helperMessage: ["text-md"],
|
|
5875
6285
|
errorMessage: ["text-md"]
|
|
5876
6286
|
}
|
|
@@ -6059,32 +6469,34 @@ var Pagination = (0, import_react5.forwardRef)((originalProps, ref) => {
|
|
|
6059
6469
|
}
|
|
6060
6470
|
}
|
|
6061
6471
|
};
|
|
6062
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
6472
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
6063
6473
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6474
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex", children: [
|
|
6475
|
+
showFirstLastButtons && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
6476
|
+
"div",
|
|
6477
|
+
{
|
|
6478
|
+
"aria-label": "firstPage",
|
|
6479
|
+
"data-disabled": isFirstPageDisabled,
|
|
6480
|
+
className: slots.icon({
|
|
6481
|
+
class: clsx(classNames == null ? void 0 : classNames.icon, isFirstPageDisabled && "!text-neutral-light !cursor-default")
|
|
6482
|
+
}),
|
|
6483
|
+
onClick: !isFirstPageDisabled ? handleClickMovePage(1) : void 0,
|
|
6484
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon_default, { name: "left-double", size })
|
|
6485
|
+
}
|
|
6486
|
+
),
|
|
6487
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
6488
|
+
"div",
|
|
6489
|
+
{
|
|
6490
|
+
"aria-label": "prevPage",
|
|
6491
|
+
"data-disabled": isPrevPageDisabled,
|
|
6492
|
+
className: slots.icon({
|
|
6493
|
+
class: clsx(classNames == null ? void 0 : classNames.icon, isPrevPageDisabled && "!text-neutral-light !cursor-default")
|
|
6494
|
+
}),
|
|
6495
|
+
onClick: !isPrevPageDisabled ? handleClickMovePage(currentPage - 1) : void 0,
|
|
6496
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon_default, { name: "left", size })
|
|
6497
|
+
}
|
|
6498
|
+
)
|
|
6499
|
+
] }),
|
|
6088
6500
|
showPageNumber && pageList.map((page, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
6089
6501
|
"div",
|
|
6090
6502
|
{
|
|
@@ -6095,30 +6507,32 @@ var Pagination = (0, import_react5.forwardRef)((originalProps, ref) => {
|
|
|
6095
6507
|
},
|
|
6096
6508
|
index
|
|
6097
6509
|
)),
|
|
6098
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6510
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex", children: [
|
|
6511
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
6512
|
+
"div",
|
|
6513
|
+
{
|
|
6514
|
+
"aria-label": "nextPage",
|
|
6515
|
+
"data-disabled": isNextPageDisabled,
|
|
6516
|
+
className: slots.icon({
|
|
6517
|
+
class: clsx(classNames == null ? void 0 : classNames.icon, isNextPageDisabled && "!text-neutral-light !cursor-default")
|
|
6518
|
+
}),
|
|
6519
|
+
onClick: !isNextPageDisabled ? handleClickMovePage(currentPage + 1) : void 0,
|
|
6520
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon_default, { name: "right", size })
|
|
6521
|
+
}
|
|
6522
|
+
),
|
|
6523
|
+
showFirstLastButtons && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
6524
|
+
"div",
|
|
6525
|
+
{
|
|
6526
|
+
"aria-label": "lastPage",
|
|
6527
|
+
"data-disabled": isLastPageDisabled,
|
|
6528
|
+
className: slots.icon({
|
|
6529
|
+
class: clsx(classNames == null ? void 0 : classNames.icon, isLastPageDisabled && "!text-neutral-light !cursor-default")
|
|
6530
|
+
}),
|
|
6531
|
+
onClick: !isLastPageDisabled ? handleClickMovePage(totalPage) : void 0,
|
|
6532
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon_default, { name: "right-double", size })
|
|
6533
|
+
}
|
|
6534
|
+
)
|
|
6535
|
+
] })
|
|
6122
6536
|
] }),
|
|
6123
6537
|
showPageLabel && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: [
|
|
6124
6538
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
@@ -6145,8 +6559,8 @@ var pagination_default = Pagination;
|
|
|
6145
6559
|
var paginationStyle = tv(
|
|
6146
6560
|
{
|
|
6147
6561
|
slots: {
|
|
6148
|
-
base: ["flex", "items-center", "select-none", "gap-
|
|
6149
|
-
wrapper: ["flex", "items-center", "overflow-hidden", "gap-
|
|
6562
|
+
base: ["flex", "items-center", "select-none", "gap-20"],
|
|
6563
|
+
wrapper: ["flex", "items-center", "overflow-hidden", "gap-5"],
|
|
6150
6564
|
icon: [
|
|
6151
6565
|
"flex",
|
|
6152
6566
|
"items-center",
|
|
@@ -6168,15 +6582,24 @@ var paginationStyle = tv(
|
|
|
6168
6582
|
"text-neutral-main",
|
|
6169
6583
|
"data-[selected=true]:font-bold"
|
|
6170
6584
|
],
|
|
6171
|
-
label: ["whitespace-nowrap", "text-neutral-main", "flex", "items-center", "gap-
|
|
6585
|
+
label: ["whitespace-nowrap", "text-neutral-main", "flex", "items-center", "gap-5", "text-sm"]
|
|
6172
6586
|
},
|
|
6173
6587
|
variants: {
|
|
6174
6588
|
variant: {
|
|
6175
6589
|
solid: {
|
|
6176
|
-
button: ["rounded-
|
|
6590
|
+
button: ["rounded-sm"]
|
|
6177
6591
|
},
|
|
6178
6592
|
underline: {
|
|
6179
|
-
button: [
|
|
6593
|
+
button: [
|
|
6594
|
+
"rounded-0",
|
|
6595
|
+
"relative",
|
|
6596
|
+
"after:content-['']",
|
|
6597
|
+
"after:absolute",
|
|
6598
|
+
"after:inset-x-0",
|
|
6599
|
+
"after:bottom-0",
|
|
6600
|
+
"after:border-solid",
|
|
6601
|
+
"after:border-transparent"
|
|
6602
|
+
]
|
|
6180
6603
|
}
|
|
6181
6604
|
},
|
|
6182
6605
|
size: {
|
|
@@ -6201,7 +6624,7 @@ var paginationStyle = tv(
|
|
|
6201
6624
|
disabled: {
|
|
6202
6625
|
true: {
|
|
6203
6626
|
icon: ["!text-neutral-light", "!cursor-default"],
|
|
6204
|
-
button: ["!text-neutral-light", "!cursor-default"]
|
|
6627
|
+
button: ["!text-neutral-light", "!cursor-default", "data-[selected=true]:after:border-neutral-light"]
|
|
6205
6628
|
}
|
|
6206
6629
|
}
|
|
6207
6630
|
},
|
|
@@ -6246,120 +6669,64 @@ var paginationStyle = tv(
|
|
|
6246
6669
|
variant: "underline",
|
|
6247
6670
|
color: "primary",
|
|
6248
6671
|
class: {
|
|
6249
|
-
button: [
|
|
6672
|
+
button: [
|
|
6673
|
+
"hover:text-primary-main",
|
|
6674
|
+
"data-[selected=true]:text-primary-main",
|
|
6675
|
+
"data-[selected=true]:after:border-primary-main"
|
|
6676
|
+
],
|
|
6250
6677
|
icon: ["hover:text-primary-main", "data-[disabled=true]:hover:text-neutral-light"]
|
|
6251
6678
|
}
|
|
6252
6679
|
},
|
|
6253
|
-
{
|
|
6254
|
-
variant: "underline",
|
|
6255
|
-
color: "primary",
|
|
6256
|
-
size: "sm",
|
|
6257
|
-
class: {
|
|
6258
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1px_0_0_var(--dn-primary-main)]"]
|
|
6259
|
-
}
|
|
6260
|
-
},
|
|
6261
|
-
{
|
|
6262
|
-
variant: "underline",
|
|
6263
|
-
color: "primary",
|
|
6264
|
-
size: "md",
|
|
6265
|
-
class: {
|
|
6266
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.25px_0_0_var(--dn-primary-main)]"]
|
|
6267
|
-
}
|
|
6268
|
-
},
|
|
6269
|
-
{
|
|
6270
|
-
variant: "underline",
|
|
6271
|
-
color: "primary",
|
|
6272
|
-
size: "lg",
|
|
6273
|
-
class: {
|
|
6274
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.5px_0_0_var(--dn-primary-main)]"]
|
|
6275
|
-
}
|
|
6276
|
-
},
|
|
6277
|
-
{
|
|
6278
|
-
variant: "underline",
|
|
6279
|
-
color: "primary",
|
|
6280
|
-
size: "xl",
|
|
6281
|
-
class: {
|
|
6282
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.75px_0_0_var(--dn-primary-main)]"]
|
|
6283
|
-
}
|
|
6284
|
-
},
|
|
6285
6680
|
{
|
|
6286
6681
|
variant: "underline",
|
|
6287
6682
|
color: "secondary",
|
|
6288
6683
|
class: {
|
|
6289
|
-
button: [
|
|
6684
|
+
button: [
|
|
6685
|
+
"hover:text-secondary-main",
|
|
6686
|
+
"data-[selected=true]:text-secondary-main",
|
|
6687
|
+
"data-[selected=true]:after:border-secondary-main"
|
|
6688
|
+
],
|
|
6290
6689
|
icon: ["hover:text-secondary-main", "data-[disabled=true]:hover:text-neutral-light"]
|
|
6291
6690
|
}
|
|
6292
6691
|
},
|
|
6293
|
-
{
|
|
6294
|
-
variant: "underline",
|
|
6295
|
-
color: "secondary",
|
|
6296
|
-
size: "sm",
|
|
6297
|
-
class: {
|
|
6298
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1px_0_0_var(--dn-secondary-main)]"]
|
|
6299
|
-
}
|
|
6300
|
-
},
|
|
6301
|
-
{
|
|
6302
|
-
variant: "underline",
|
|
6303
|
-
color: "secondary",
|
|
6304
|
-
size: "md",
|
|
6305
|
-
class: {
|
|
6306
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.25px_0_0_var(--dn-secondary-main)]"]
|
|
6307
|
-
}
|
|
6308
|
-
},
|
|
6309
|
-
{
|
|
6310
|
-
variant: "underline",
|
|
6311
|
-
color: "secondary",
|
|
6312
|
-
size: "lg",
|
|
6313
|
-
class: {
|
|
6314
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.5px_0_0_var(--dn-secondary-main)]"]
|
|
6315
|
-
}
|
|
6316
|
-
},
|
|
6317
|
-
{
|
|
6318
|
-
variant: "underline",
|
|
6319
|
-
color: "secondary",
|
|
6320
|
-
size: "xl",
|
|
6321
|
-
class: {
|
|
6322
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.75px_0_0_var(--dn-secondary-main)]"]
|
|
6323
|
-
}
|
|
6324
|
-
},
|
|
6325
6692
|
{
|
|
6326
6693
|
variant: "underline",
|
|
6327
6694
|
color: "neutral",
|
|
6328
6695
|
class: {
|
|
6329
|
-
button: [
|
|
6696
|
+
button: [
|
|
6697
|
+
"hover:text-neutral-dark",
|
|
6698
|
+
"data-[selected=true]:text-neutral-dark",
|
|
6699
|
+
"data-[selected=true]:after:border-neutral-main"
|
|
6700
|
+
],
|
|
6330
6701
|
icon: ["hover:text-neutral-dark", "data-[disabled=true]:hover:text-neutral-light"]
|
|
6331
6702
|
}
|
|
6332
6703
|
},
|
|
6333
6704
|
{
|
|
6334
6705
|
variant: "underline",
|
|
6335
|
-
color: "neutral",
|
|
6336
6706
|
size: "sm",
|
|
6337
6707
|
class: {
|
|
6338
|
-
button: ["
|
|
6708
|
+
button: ["after:border-b-sm"]
|
|
6339
6709
|
}
|
|
6340
6710
|
},
|
|
6341
6711
|
{
|
|
6342
6712
|
variant: "underline",
|
|
6343
|
-
color: "neutral",
|
|
6344
6713
|
size: "md",
|
|
6345
6714
|
class: {
|
|
6346
|
-
button: ["
|
|
6715
|
+
button: ["after:border-b-md"]
|
|
6347
6716
|
}
|
|
6348
6717
|
},
|
|
6349
6718
|
{
|
|
6350
6719
|
variant: "underline",
|
|
6351
|
-
color: "neutral",
|
|
6352
6720
|
size: "lg",
|
|
6353
6721
|
class: {
|
|
6354
|
-
button: ["
|
|
6722
|
+
button: ["after:border-b-lg"]
|
|
6355
6723
|
}
|
|
6356
6724
|
},
|
|
6357
6725
|
{
|
|
6358
6726
|
variant: "underline",
|
|
6359
|
-
color: "neutral",
|
|
6360
6727
|
size: "xl",
|
|
6361
6728
|
class: {
|
|
6362
|
-
button: ["
|
|
6729
|
+
button: ["after:border-b-xl"]
|
|
6363
6730
|
}
|
|
6364
6731
|
}
|
|
6365
6732
|
],
|
|
@@ -6447,17 +6814,26 @@ var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
|
|
|
6447
6814
|
const checkboxWidth = rowCheckbox ? 40 : 0;
|
|
6448
6815
|
return columnsWidth + checkboxWidth;
|
|
6449
6816
|
}, [columns, rowCheckbox]);
|
|
6817
|
+
const prevCheckedRef = (0, import_react6.useRef)("");
|
|
6450
6818
|
(0, import_react6.useEffect)(() => {
|
|
6451
|
-
|
|
6819
|
+
const currentCheckedStr = Array.from(checkedRowIds).sort().join(",");
|
|
6820
|
+
if (prevCheckedRef.current !== currentCheckedStr) {
|
|
6821
|
+
prevCheckedRef.current = currentCheckedStr;
|
|
6822
|
+
onCheckedRowsChange == null ? void 0 : onCheckedRowsChange(getCheckedRowData(checkedRowIds));
|
|
6823
|
+
}
|
|
6452
6824
|
}, [checkedRowIds]);
|
|
6453
6825
|
(0, import_react6.useEffect)(() => {
|
|
6454
6826
|
const currentRowIds = new Set(rows.map((row) => row.id));
|
|
6455
6827
|
const ids = Array.from(checkedRowIds);
|
|
6456
6828
|
const hasValidCheckedRows = ids.every((id) => currentRowIds.has(id));
|
|
6457
6829
|
if (!hasValidCheckedRows) {
|
|
6458
|
-
|
|
6830
|
+
const newCheckedSet = new Set(checkedRows == null ? void 0 : checkedRows.map((row) => row.id));
|
|
6831
|
+
const newCheckedStr = Array.from(newCheckedSet).sort().join(",");
|
|
6832
|
+
if (prevCheckedRef.current !== newCheckedStr) {
|
|
6833
|
+
setCheckedRowIds(newCheckedSet);
|
|
6834
|
+
}
|
|
6459
6835
|
}
|
|
6460
|
-
}, [rows
|
|
6836
|
+
}, [rows]);
|
|
6461
6837
|
(0, import_react6.useImperativeHandle)(
|
|
6462
6838
|
ref,
|
|
6463
6839
|
() => ({
|
|
@@ -6551,7 +6927,7 @@ var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
|
|
|
6551
6927
|
color,
|
|
6552
6928
|
size: "sm",
|
|
6553
6929
|
currentPage: page,
|
|
6554
|
-
totalPage: Math.ceil(totalData / perPage),
|
|
6930
|
+
totalPage: Math.ceil(totalData / (perPage || 1)),
|
|
6555
6931
|
groupSize: paginationGroupSize,
|
|
6556
6932
|
showFirstLastButtons,
|
|
6557
6933
|
showPageLabel,
|
|
@@ -6564,11 +6940,11 @@ var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
|
|
|
6564
6940
|
Table.displayName = "Table";
|
|
6565
6941
|
var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
6566
6942
|
slots: {
|
|
6567
|
-
base: ["flex", "flex-col", "relative", "select-none", "gap-
|
|
6943
|
+
base: ["flex", "flex-col", "relative", "select-none", "gap-20", "h-full", "min-h-0"],
|
|
6568
6944
|
scroll: [],
|
|
6569
6945
|
table: ["w-full", "h-auto"],
|
|
6570
|
-
thead: ["w-full"],
|
|
6571
|
-
tbody: ["w-full"],
|
|
6946
|
+
thead: ["w-full", "px-lg"],
|
|
6947
|
+
tbody: ["w-full", "[&>tr:hover]:bg-common-hover"],
|
|
6572
6948
|
tr: ["group/tr", "outline-none", "w-full", "h-full"],
|
|
6573
6949
|
th: [
|
|
6574
6950
|
"text-body-foreground",
|
|
@@ -6576,9 +6952,9 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
6576
6952
|
"whitespace-nowrap",
|
|
6577
6953
|
"outline-none",
|
|
6578
6954
|
"align-middle",
|
|
6579
|
-
"px-[
|
|
6955
|
+
"px-[5px]",
|
|
6580
6956
|
"[&>div]:flex",
|
|
6581
|
-
"[&>div]:gap-
|
|
6957
|
+
"[&>div]:gap-10"
|
|
6582
6958
|
],
|
|
6583
6959
|
td: [
|
|
6584
6960
|
"relative",
|
|
@@ -6588,8 +6964,8 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
6588
6964
|
"outline-none",
|
|
6589
6965
|
"[&>*]:z-1",
|
|
6590
6966
|
"[&>*]:relative",
|
|
6591
|
-
"px-[
|
|
6592
|
-
"gap-
|
|
6967
|
+
"px-[5px]",
|
|
6968
|
+
"gap-10",
|
|
6593
6969
|
"transition duration-200",
|
|
6594
6970
|
"align-middle"
|
|
6595
6971
|
],
|
|
@@ -6607,17 +6983,10 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
6607
6983
|
},
|
|
6608
6984
|
variants: {
|
|
6609
6985
|
variant: {
|
|
6610
|
-
solid: {
|
|
6611
|
-
|
|
6612
|
-
},
|
|
6613
|
-
outline: {
|
|
6614
|
-
tbody: ["[&>td]:border"],
|
|
6615
|
-
th: ["border"],
|
|
6616
|
-
td: ["border"]
|
|
6617
|
-
},
|
|
6986
|
+
solid: {},
|
|
6987
|
+
outline: {},
|
|
6618
6988
|
underline: {
|
|
6619
|
-
|
|
6620
|
-
th: ["border-t-[2px]", "border-b"]
|
|
6989
|
+
th: ["bg-body-background", "border-t-[2px]", "border-b-[1px]"]
|
|
6621
6990
|
}
|
|
6622
6991
|
},
|
|
6623
6992
|
size: {
|
|
@@ -6656,26 +7025,32 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
6656
7025
|
}
|
|
6657
7026
|
},
|
|
6658
7027
|
compoundVariants: [
|
|
7028
|
+
{ variant: "solid", size: "sm", class: { tbody: ["[&>tr]:border-b-sm"] } },
|
|
7029
|
+
{ variant: "solid", size: "md", class: { tbody: ["[&>tr]:border-b-md"] } },
|
|
7030
|
+
{ variant: "solid", size: "lg", class: { tbody: ["[&>tr]:border-b-lg"] } },
|
|
7031
|
+
{ variant: "solid", size: "xl", class: { tbody: ["[&>tr]:border-b-xl"] } },
|
|
7032
|
+
{ variant: "outline", size: "sm", class: { th: ["border-sm"], td: ["border-sm"] } },
|
|
7033
|
+
{ variant: "outline", size: "md", class: { th: ["border-md"], td: ["border-md"] } },
|
|
7034
|
+
{ variant: "outline", size: "lg", class: { th: ["border-lg"], td: ["border-lg"] } },
|
|
7035
|
+
{ variant: "outline", size: "xl", class: { th: ["border-xl"], td: ["border-xl"] } },
|
|
7036
|
+
{ variant: "underline", size: "sm", class: { tbody: ["[&>tr]:border-b-sm"], th: ["border-b-sm"] } },
|
|
7037
|
+
{ variant: "underline", size: "md", class: { tbody: ["[&>tr]:border-b-md"], th: ["border-b-md"] } },
|
|
7038
|
+
{ variant: "underline", size: "lg", class: { tbody: ["[&>tr]:border-b-lg"], th: ["border-b-lg"] } },
|
|
7039
|
+
{ variant: "underline", size: "xl", class: { tbody: ["[&>tr]:border-b-xl"], th: ["border-b-xl"] } },
|
|
6659
7040
|
{
|
|
6660
7041
|
variant: "solid",
|
|
6661
7042
|
color: "primary",
|
|
6662
|
-
class: {
|
|
6663
|
-
th: ["bg-primary-soft"]
|
|
6664
|
-
}
|
|
7043
|
+
class: { th: ["bg-primary-soft"] }
|
|
6665
7044
|
},
|
|
6666
7045
|
{
|
|
6667
7046
|
variant: "solid",
|
|
6668
7047
|
color: "secondary",
|
|
6669
|
-
class: {
|
|
6670
|
-
th: ["bg-secondary-soft"]
|
|
6671
|
-
}
|
|
7048
|
+
class: { th: ["bg-secondary-soft"] }
|
|
6672
7049
|
},
|
|
6673
7050
|
{
|
|
6674
7051
|
variant: "solid",
|
|
6675
7052
|
color: "neutral",
|
|
6676
|
-
class: {
|
|
6677
|
-
th: ["bg-neutral-soft"]
|
|
6678
|
-
}
|
|
7053
|
+
class: { th: ["bg-neutral-soft"] }
|
|
6679
7054
|
},
|
|
6680
7055
|
{
|
|
6681
7056
|
variant: "outline",
|
|
@@ -6705,21 +7080,21 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
6705
7080
|
variant: "underline",
|
|
6706
7081
|
color: "primary",
|
|
6707
7082
|
class: {
|
|
6708
|
-
th: ["
|
|
7083
|
+
th: ["border-primary-light"]
|
|
6709
7084
|
}
|
|
6710
7085
|
},
|
|
6711
7086
|
{
|
|
6712
7087
|
variant: "underline",
|
|
6713
7088
|
color: "secondary",
|
|
6714
7089
|
class: {
|
|
6715
|
-
th: ["
|
|
7090
|
+
th: ["border-secondary-light"]
|
|
6716
7091
|
}
|
|
6717
7092
|
},
|
|
6718
7093
|
{
|
|
6719
7094
|
variant: "underline",
|
|
6720
7095
|
color: "neutral",
|
|
6721
7096
|
class: {
|
|
6722
|
-
th: ["
|
|
7097
|
+
th: ["border-neutral-light"]
|
|
6723
7098
|
}
|
|
6724
7099
|
},
|
|
6725
7100
|
{
|
|
@@ -6819,12 +7194,17 @@ function TableHeaderCell({
|
|
|
6819
7194
|
setShowTitle(el.scrollWidth > el.clientWidth);
|
|
6820
7195
|
}
|
|
6821
7196
|
}, [content, isCheckbox]);
|
|
6822
|
-
const
|
|
7197
|
+
const isTextContent = ["string", "number"].includes(typeof content) || content === null || content === void 0;
|
|
7198
|
+
const titleText = !isCheckbox && showTitle && isTextContent ? String(content) : void 0;
|
|
6823
7199
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
6824
7200
|
"th",
|
|
6825
7201
|
{
|
|
6826
7202
|
ref: thRef,
|
|
6827
|
-
className: clsx(
|
|
7203
|
+
className: clsx(
|
|
7204
|
+
slots.th({ class: classNames == null ? void 0 : classNames.th }),
|
|
7205
|
+
column == null ? void 0 : column.className,
|
|
7206
|
+
!isCheckbox && isTextContent && "truncate"
|
|
7207
|
+
),
|
|
6828
7208
|
style: isCheckbox ? {
|
|
6829
7209
|
width: "40px",
|
|
6830
7210
|
minWidth: "40px",
|
|
@@ -6833,11 +7213,19 @@ function TableHeaderCell({
|
|
|
6833
7213
|
flexGrow: 0,
|
|
6834
7214
|
boxSizing: "border-box"
|
|
6835
7215
|
} : column ? {
|
|
6836
|
-
...getCellStyle(column)
|
|
6837
|
-
textAlign: "center"
|
|
7216
|
+
...getCellStyle(column)
|
|
6838
7217
|
} : void 0,
|
|
6839
7218
|
title: titleText,
|
|
6840
|
-
children: content
|
|
7219
|
+
children: isTextContent ? content : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
7220
|
+
"div",
|
|
7221
|
+
{
|
|
7222
|
+
className: clsx(
|
|
7223
|
+
"flex w-full items-center",
|
|
7224
|
+
isCheckbox ? "justify-center" : (column == null ? void 0 : column.align) === "right" ? "justify-end" : (column == null ? void 0 : column.align) === "left" ? "justify-start" : "justify-center"
|
|
7225
|
+
),
|
|
7226
|
+
children: content
|
|
7227
|
+
}
|
|
7228
|
+
)
|
|
6841
7229
|
}
|
|
6842
7230
|
);
|
|
6843
7231
|
}
|
|
@@ -6864,7 +7252,7 @@ var TableHead = ({
|
|
|
6864
7252
|
rowCheckbox && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
6865
7253
|
TableHeaderCell,
|
|
6866
7254
|
{
|
|
6867
|
-
content: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { "data-checkbox": true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
7255
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { "data-checkbox": true, className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
6868
7256
|
checkbox_default,
|
|
6869
7257
|
{
|
|
6870
7258
|
size,
|