@esic-lab/data-core-ui 0.0.16 → 0.0.18

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/dist/index.js CHANGED
@@ -680,7 +680,7 @@ function Switch({ label, checked, onChange, disabled }) {
680
680
  onChange(!checked);
681
681
  }
682
682
  };
683
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex items-center gap-[10px]", children: [
683
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex flex-col gap-[10px]", children: [
684
684
  label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", { className: `body-1 ${disabled ? "opacity-50 select-none" : ""}`, children: label }),
685
685
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
686
686
  "button",
@@ -922,17 +922,29 @@ function AntDataTable({
922
922
  onRowSelect && onRowSelect(newSelectedRowKeys);
923
923
  }
924
924
  };
925
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
926
- import_antd.Table,
925
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_jsx_runtime15.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
926
+ import_antd.ConfigProvider,
927
927
  {
928
- dataSource,
929
- columns,
930
- rowSelection: rowCheckbox ? rowSelection : void 0,
931
- pagination: { position: ["bottomCenter"], pageSize },
932
- style: { width },
933
- scroll: { y: height }
928
+ theme: {
929
+ components: {},
930
+ token: {
931
+ fontFamily: "Kanit",
932
+ fontSize: 14
933
+ }
934
+ },
935
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
936
+ import_antd.Table,
937
+ {
938
+ dataSource,
939
+ columns,
940
+ rowSelection: rowCheckbox ? rowSelection : void 0,
941
+ pagination: { position: ["bottomCenter"], pageSize },
942
+ style: { width },
943
+ scroll: { y: height }
944
+ }
945
+ )
934
946
  }
935
- );
947
+ ) });
936
948
  }
937
949
 
938
950
  // src/Calendar/Calendar/Calendar.tsx
@@ -1147,7 +1159,7 @@ var import_jsx_runtime18 = require("react/jsx-runtime");
1147
1159
  function InputField({
1148
1160
  value,
1149
1161
  onChange,
1150
- placeholder,
1162
+ placeholder = "\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38",
1151
1163
  title,
1152
1164
  require: require2,
1153
1165
  bottomText,
@@ -1156,7 +1168,8 @@ function InputField({
1156
1168
  errorMessage,
1157
1169
  addonBefore,
1158
1170
  addonAfter,
1159
- defaultValue
1171
+ defaultValue,
1172
+ className
1160
1173
  }) {
1161
1174
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1162
1175
  import_antd2.ConfigProvider,
@@ -1166,9 +1179,9 @@ function InputField({
1166
1179
  fontFamily: "Kanit"
1167
1180
  }
1168
1181
  },
1169
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { children: [
1182
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "container-input", children: [
1170
1183
  /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { children: [
1171
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "body-3", children: title }),
1184
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "body-1", children: title }),
1172
1185
  " ",
1173
1186
  require2 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-red-500", children: "*" })
1174
1187
  ] }),
@@ -1178,6 +1191,7 @@ function InputField({
1178
1191
  value,
1179
1192
  placeholder,
1180
1193
  disabled,
1194
+ className: `body-1 w-full ${className ?? ""}`,
1181
1195
  onChange: (e) => onChange(e.target.value || void 0),
1182
1196
  allowClear: true,
1183
1197
  addonBefore,
@@ -1212,30 +1226,42 @@ function TextAreaInput({
1212
1226
  error,
1213
1227
  disabled
1214
1228
  }) {
1215
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { children: [
1216
- label && /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("p", { className: "body-1 mb-[8px]", children: [
1217
- label,
1218
- " ",
1219
- required && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "text-red-500", children: "\xA0*" })
1220
- ] }),
1221
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1222
- TextArea,
1223
- {
1224
- value,
1225
- rows: height,
1226
- style: {
1227
- ...error && resizable ? { borderColor: "red" } : {},
1228
- ...disabled || !resizable ? { resize: "none" } : {}
1229
- },
1230
- placeholder,
1231
- maxLength,
1232
- showCount,
1233
- onChange: (e) => onChange(e.target.value),
1234
- disabled
1235
- }
1236
- ),
1237
- error && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "text-red-600 body-1", children: error })
1238
- ] });
1229
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1230
+ import_antd3.ConfigProvider,
1231
+ {
1232
+ theme: {
1233
+ components: {},
1234
+ token: {
1235
+ fontFamily: "Kanit",
1236
+ fontSize: 16
1237
+ }
1238
+ },
1239
+ children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { children: [
1240
+ label && /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("p", { className: "body-1 mb-[8px]", children: [
1241
+ label,
1242
+ " ",
1243
+ required && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "text-red-500", children: "\xA0*" })
1244
+ ] }),
1245
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1246
+ TextArea,
1247
+ {
1248
+ value,
1249
+ rows: height,
1250
+ style: {
1251
+ ...error && resizable ? { borderColor: "red" } : {},
1252
+ ...disabled || !resizable ? { resize: "none" } : {}
1253
+ },
1254
+ placeholder,
1255
+ maxLength,
1256
+ showCount,
1257
+ onChange: (e) => onChange(e.target.value),
1258
+ disabled
1259
+ }
1260
+ ),
1261
+ error && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "text-red-600 body-1", children: error })
1262
+ ] })
1263
+ }
1264
+ ) });
1239
1265
  }
1240
1266
 
1241
1267
  // src/ColorPicker/ColorPicker.tsx
@@ -1263,9 +1289,9 @@ function ColorPickerBasic({
1263
1289
  fontFamily: "Kanit"
1264
1290
  }
1265
1291
  },
1266
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { children: [
1292
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "container-input", children: [
1267
1293
  /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { children: [
1268
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "body-3", children: title }),
1294
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "body-1", children: title }),
1269
1295
  " ",
1270
1296
  require2 && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: "text-red-500", children: "*" })
1271
1297
  ] }),
@@ -1273,7 +1299,7 @@ function ColorPickerBasic({
1273
1299
  import_antd4.ColorPicker,
1274
1300
  {
1275
1301
  defaultFormat,
1276
- className,
1302
+ className: `body-1 w-full ${className ?? ""}`,
1277
1303
  value,
1278
1304
  defaultValue: "#ffff",
1279
1305
  onChange,
@@ -1316,7 +1342,7 @@ function DatePickerBasic({
1316
1342
  bottomText,
1317
1343
  showError,
1318
1344
  errorMessage,
1319
- placeholder,
1345
+ placeholder = "\u0E01\u0E23\u0E38\u0E13\u0E32\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48",
1320
1346
  disabled,
1321
1347
  defaultValue,
1322
1348
  minDate,
@@ -1333,19 +1359,20 @@ function DatePickerBasic({
1333
1359
  locale: import_th_TH.default,
1334
1360
  theme: {
1335
1361
  token: {
1336
- fontFamily: "Kanit"
1362
+ fontFamily: "Kanit",
1363
+ fontSize: 16
1337
1364
  }
1338
1365
  },
1339
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { children: [
1366
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "container-input", children: [
1340
1367
  /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { children: [
1341
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "body-3", children: title }),
1368
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "body-1", children: title }),
1342
1369
  " ",
1343
1370
  require2 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "text-red-500", children: "*" })
1344
1371
  ] }),
1345
1372
  /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1346
1373
  import_antd5.DatePicker,
1347
1374
  {
1348
- className: `body-1 ${className ?? ""}`,
1375
+ className: `body-1 w-full ${className ?? ""}`,
1349
1376
  value,
1350
1377
  placeholder,
1351
1378
  onChange,
@@ -1403,12 +1430,13 @@ function DatePickerRangePicker({
1403
1430
  locale: import_th_TH2.default,
1404
1431
  theme: {
1405
1432
  token: {
1406
- fontFamily: "Kanit"
1433
+ fontFamily: "Kanit",
1434
+ fontSize: 16
1407
1435
  }
1408
1436
  },
1409
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { children: [
1437
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "container-input", children: [
1410
1438
  /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { children: [
1411
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "body-3", children: title }),
1439
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "body-1", children: title }),
1412
1440
  " ",
1413
1441
  require2 && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "text-red-500", children: "*" })
1414
1442
  ] }),
@@ -1418,7 +1446,7 @@ function DatePickerRangePicker({
1418
1446
  format: dateFormat,
1419
1447
  value,
1420
1448
  placeholder,
1421
- className: `body-1 ${className ?? ""}`,
1449
+ className: `body-1 w-full ${className ?? ""}`,
1422
1450
  onChange,
1423
1451
  allowClear: true,
1424
1452
  disabled,
@@ -1443,17 +1471,7 @@ function DatePickerRangePicker({
1443
1471
  // src/TimePicker/TimePickerBasic/TimePickerBasic.tsx
1444
1472
  var import_antd7 = require("antd");
1445
1473
  var import_jsx_runtime23 = require("react/jsx-runtime");
1446
- function TimePickerBasic({
1447
- value,
1448
- onChange,
1449
- require: require2,
1450
- title,
1451
- bottomText,
1452
- showError,
1453
- errorMessage,
1454
- placeholder,
1455
- disabled
1456
- }) {
1474
+ function TimePickerBasic({ value, onChange, require: require2, title, bottomText, showError, errorMessage, placeholder, disabled, className }) {
1457
1475
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1458
1476
  import_antd7.ConfigProvider,
1459
1477
  {
@@ -1462,9 +1480,9 @@ function TimePickerBasic({
1462
1480
  fontFamily: "Kanit"
1463
1481
  }
1464
1482
  },
1465
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { children: [
1483
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "container-input", children: [
1466
1484
  /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { children: [
1467
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "body-3", children: title }),
1485
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "body-1", children: title }),
1468
1486
  " ",
1469
1487
  require2 && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "text-red-500", children: "*" })
1470
1488
  ] }),
@@ -1472,7 +1490,7 @@ function TimePickerBasic({
1472
1490
  import_antd7.TimePicker,
1473
1491
  {
1474
1492
  format: "HH:mm",
1475
- className: "body-1",
1493
+ className: `body-1 w-full ${className ?? ""}`,
1476
1494
  value,
1477
1495
  placeholder,
1478
1496
  onChange,
@@ -1502,7 +1520,8 @@ function TimePickerRangePicker({
1502
1520
  bottomText,
1503
1521
  showError,
1504
1522
  errorMessage,
1505
- disabled
1523
+ disabled,
1524
+ className
1506
1525
  }) {
1507
1526
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1508
1527
  import_antd8.ConfigProvider,
@@ -1512,9 +1531,9 @@ function TimePickerRangePicker({
1512
1531
  fontFamily: "Kanit"
1513
1532
  }
1514
1533
  },
1515
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { children: [
1534
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "container-input", children: [
1516
1535
  /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { children: [
1517
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "body-3", children: title }),
1536
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "body-1", children: title }),
1518
1537
  " ",
1519
1538
  require2 && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "text-red-500", children: "*" })
1520
1539
  ] }),
@@ -1524,7 +1543,7 @@ function TimePickerRangePicker({
1524
1543
  format: "HH:mm",
1525
1544
  value,
1526
1545
  placeholder,
1527
- className: "body-1",
1546
+ className: `body-1 w-full ${className ?? ""}`,
1528
1547
  onChange,
1529
1548
  allowClear: true,
1530
1549
  disabled
@@ -1546,7 +1565,7 @@ var import_jsx_runtime25 = require("react/jsx-runtime");
1546
1565
  function SelectField({
1547
1566
  value,
1548
1567
  onChange,
1549
- placeholder,
1568
+ placeholder = "\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38",
1550
1569
  title,
1551
1570
  require: require2,
1552
1571
  bottomText,
@@ -1558,26 +1577,21 @@ function SelectField({
1558
1577
  mode,
1559
1578
  prefix,
1560
1579
  prefixSize = 20,
1561
- handleSearch
1580
+ handleSearch,
1581
+ className
1562
1582
  }) {
1563
1583
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1564
1584
  import_antd9.ConfigProvider,
1565
1585
  {
1566
1586
  theme: {
1567
- components: {
1568
- Select: {
1569
- hoverBorderColor: "#D9D9D9",
1570
- activeBorderColor: "#D9D9D9",
1571
- activeOutlineColor: "#D9D9D9"
1572
- }
1573
- },
1574
1587
  token: {
1575
- fontFamily: "Kanit"
1588
+ fontFamily: "Kanit",
1589
+ fontSize: 16
1576
1590
  }
1577
1591
  },
1578
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { children: [
1592
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "container-input", children: [
1579
1593
  /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { children: [
1580
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "body-3", children: title }),
1594
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "body-1", children: title }),
1581
1595
  " ",
1582
1596
  require2 && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "text-red-500", children: "*" })
1583
1597
  ] }),
@@ -1588,7 +1602,7 @@ function SelectField({
1588
1602
  value,
1589
1603
  defaultValue,
1590
1604
  onChange,
1591
- className: "body-3 flex justify-center w-full",
1605
+ className: `body-1 flex justify-center w-full ${className ?? ""}`,
1592
1606
  placeholder,
1593
1607
  optionFilterProp: "label",
1594
1608
  filterOption: (input, option) => (option?.label ?? "").toString().toLowerCase().includes(input.toLowerCase()),
@@ -1616,7 +1630,7 @@ var import_jsx_runtime26 = require("react/jsx-runtime");
1616
1630
  function SelectFieldGroup({
1617
1631
  value,
1618
1632
  onChange,
1619
- placeholder,
1633
+ placeholder = "\u0E42\u0E1B\u0E23\u0E14\u0E23\u0E30\u0E1A\u0E38",
1620
1634
  title,
1621
1635
  require: require2,
1622
1636
  bottomText,
@@ -1628,26 +1642,20 @@ function SelectFieldGroup({
1628
1642
  mode,
1629
1643
  prefix,
1630
1644
  prefixSize = 20,
1631
- handleSearch
1645
+ handleSearch,
1646
+ className
1632
1647
  }) {
1633
1648
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1634
1649
  import_antd10.ConfigProvider,
1635
1650
  {
1636
1651
  theme: {
1637
- components: {
1638
- Select: {
1639
- hoverBorderColor: "#D9D9D9",
1640
- activeBorderColor: "#D9D9D9",
1641
- activeOutlineColor: "#D9D9D9"
1642
- }
1643
- },
1644
1652
  token: {
1645
1653
  fontFamily: "Kanit"
1646
1654
  }
1647
1655
  },
1648
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { children: [
1656
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "container-input", children: [
1649
1657
  /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { children: [
1650
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "body-3", children: title }),
1658
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "body-1", children: title }),
1651
1659
  " ",
1652
1660
  require2 && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "text-red-500", children: "*" })
1653
1661
  ] }),
@@ -1658,7 +1666,7 @@ function SelectFieldGroup({
1658
1666
  value,
1659
1667
  defaultValue,
1660
1668
  onChange,
1661
- className: "body-3 flex justify-center w-full",
1669
+ className: `body-1 flex justify-center w-full ${className ?? ""}`,
1662
1670
  placeholder,
1663
1671
  optionFilterProp: "label",
1664
1672
  filterOption: (input, option) => (option?.label ?? "").toString().toLowerCase().includes(input.toLowerCase()),
@@ -1716,7 +1724,9 @@ function SelectFieldStatus({
1716
1724
  bottomText,
1717
1725
  disabled,
1718
1726
  showError,
1719
- errorMessage
1727
+ errorMessage,
1728
+ options,
1729
+ className
1720
1730
  }) {
1721
1731
  const selectedItem = status.find((s) => s.value === value);
1722
1732
  return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
@@ -1735,9 +1745,9 @@ function SelectFieldStatus({
1735
1745
  fontFamily: "Kanit"
1736
1746
  }
1737
1747
  },
1738
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { children: [
1748
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "container-input", children: [
1739
1749
  /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { children: [
1740
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "body-3", children: title }),
1750
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "body-1", children: title }),
1741
1751
  " ",
1742
1752
  require2 && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "text-red-500", children: "*" })
1743
1753
  ] }),
@@ -1748,15 +1758,11 @@ function SelectFieldStatus({
1748
1758
  suffixIcon: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_icons.DownOutlined, { style: { color: value ? "#fff" : "#D9D9D9" } }),
1749
1759
  value,
1750
1760
  onChange,
1751
- className: "body-3 custom-select flex justify-center w-full",
1761
+ className: `body-3 custom-select flex justify-center w-full ${className ?? ""}`,
1752
1762
  placeholder,
1753
1763
  optionFilterProp: "label",
1754
- filterSort: (optionA, optionB) => (optionA?.label ?? "").toLowerCase().localeCompare((optionB?.label ?? "").toLowerCase()),
1755
- options: status.map((s) => ({
1756
- value: s.value,
1757
- label: s.label,
1758
- color: s.color
1759
- }))
1764
+ filterOption: (input, option) => (option?.label ?? "").toString().toLowerCase().includes(input.toLowerCase()),
1765
+ options
1760
1766
  }
1761
1767
  ),
1762
1768
  /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { children: [
@@ -1790,7 +1796,8 @@ function SelectFieldStatusReport({
1790
1796
  bottomText,
1791
1797
  disabled,
1792
1798
  showError,
1793
- errorMessage
1799
+ errorMessage,
1800
+ className
1794
1801
  }) {
1795
1802
  const selectedItem = status2.find((s) => s.value === value);
1796
1803
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
@@ -1809,9 +1816,9 @@ function SelectFieldStatusReport({
1809
1816
  fontFamily: "Kanit"
1810
1817
  }
1811
1818
  },
1812
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { children: [
1819
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "container-input", children: [
1813
1820
  /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { children: [
1814
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "body-3", children: title }),
1821
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "body-1", children: title }),
1815
1822
  " ",
1816
1823
  require2 && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "text-red-500", children: "*" })
1817
1824
  ] }),
@@ -1822,7 +1829,7 @@ function SelectFieldStatusReport({
1822
1829
  suffixIcon: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_icons2.DownOutlined, { style: { color: value ? "#fff" : "#D9D9D9" } }),
1823
1830
  value,
1824
1831
  onChange,
1825
- className: "body-3 custom-select flex justify-center w-full",
1832
+ className: `body-3 custom-select flex justify-center w-full ${className ?? ""}`,
1826
1833
  placeholder,
1827
1834
  optionFilterProp: "label",
1828
1835
  filterSort: (optionA, optionB) => (optionA?.label ?? "").toLowerCase().localeCompare((optionB?.label ?? "").toLowerCase()),
@@ -1856,6 +1863,7 @@ function SelectFieldTag({
1856
1863
  showError,
1857
1864
  errorMessage,
1858
1865
  value: controlledValue,
1866
+ className,
1859
1867
  onChange
1860
1868
  }) {
1861
1869
  const [internalValue, setInternalValue] = (0, import_react8.useState)([]);
@@ -1883,20 +1891,13 @@ function SelectFieldTag({
1883
1891
  import_antd13.ConfigProvider,
1884
1892
  {
1885
1893
  theme: {
1886
- components: {
1887
- Select: {
1888
- hoverBorderColor: "#D9D9D9",
1889
- activeBorderColor: "#D9D9D9",
1890
- activeOutlineColor: "#D9D9D9"
1891
- }
1892
- },
1893
1894
  token: {
1894
1895
  fontFamily: "Kanit"
1895
1896
  }
1896
1897
  },
1897
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { children: [
1898
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "container-input", children: [
1898
1899
  /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { children: [
1899
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "body-3", children: title }),
1900
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "body-1", children: title }),
1900
1901
  " ",
1901
1902
  require2 && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "text-red-500", children: "*" })
1902
1903
  ] }),
@@ -1904,7 +1905,7 @@ function SelectFieldTag({
1904
1905
  import_antd13.Select,
1905
1906
  {
1906
1907
  mode: "tags",
1907
- className: "flex justify-center w-full",
1908
+ className: `body-1 flex justify-center w-full ${className ?? ""}`,
1908
1909
  placeholder,
1909
1910
  value,
1910
1911
  onChange: handleChange,