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

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