fis-component 0.1.31 → 0.1.32

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/cjs/index.js CHANGED
@@ -69376,7 +69376,7 @@ const normalizeText = (value) => {
69376
69376
  .trim();
69377
69377
  };
69378
69378
 
69379
- const FISMenuSelect = ({ placeholder, groups, size = "md", multi = false, selectedValues = [], onChangeSelected, searchValue = "", onSearchChange, loading = false, noData = false, noResult = false, combobox, className, onClickMenu, loadingText = "Data loading...", noDataText = "No data", noResultText = "No result", removeSelectedText = "Remove selected", selectedGroupLabel = "Selected", maxHeight, focusSearchInput = true, onPopupScroll, normalizeTextSearch = false, renderOption, searchDebounce = 300, footer, showSearch, onSearchInput, virtualized = false, virtualItemHeight, }) => {
69379
+ const FISMenuSelect = ({ placeholder, groups, size = "md", multi = false, selectedValues = [], onChangeSelected, searchValue = "", onSearchChange, loading = false, noData = false, noResult = false, combobox, className, onClickMenu, loadingText = "Đang tải dữ liệu...", noDataText = "Không có dữ liệu", noResultText = "Không tìm thấy kết quả", removeSelectedText = "Bỏ chọn", selectedGroupLabel = "ĐÃ CHỌN", maxHeight, focusSearchInput = true, onPopupScroll, normalizeTextSearch = false, renderOption, searchDebounce = 300, footer, showSearch, onSearchInput, virtualized = false, virtualItemHeight, }) => {
69380
69380
  // Chiều cao hàng = min-height item + gap xs (4px): md 36+4, lg 44+4.
69381
69381
  const intrinsicItemHeight = virtualItemHeight ?? (size === "lg" ? 48 : 40);
69382
69382
  const [localSearch, setLocalSearch] = React.useState(searchValue);
@@ -73002,7 +73002,7 @@ const FISCombobox = React.forwardRef(({ className, options, value, disabled = fa
73002
73002
  const count = selected.length;
73003
73003
  return multiDisplayText
73004
73004
  ? multiDisplayText(count)
73005
- : `Selected ${count.toString().padStart(2, "0")} option${count !== 1 ? "s" : ""}`;
73005
+ : `Đã chọn ${count.toString().padStart(2, "0")} tùy chọn`;
73006
73006
  }
73007
73007
  else {
73008
73008
  const selected = flatItems.find((item) => item.value === value);
@@ -75809,7 +75809,7 @@ const FISSelect = React.forwardRef(({ className, style, size = "md", options, va
75809
75809
  }
75810
75810
  return multiDisplayText
75811
75811
  ? multiDisplayText(count)
75812
- : `Selected ${count.toString().padStart(2, "0")} option${count !== 1 ? "s" : ""}`;
75812
+ : `Đã chọn ${count.toString().padStart(2, "0")} tùy chọn`;
75813
75813
  }
75814
75814
  else {
75815
75815
  if (value) {