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/esm/index.js CHANGED
@@ -69356,7 +69356,7 @@ const normalizeText = (value) => {
69356
69356
  .trim();
69357
69357
  };
69358
69358
 
69359
- 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, }) => {
69359
+ 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, }) => {
69360
69360
  // Chiều cao hàng = min-height item + gap xs (4px): md 36+4, lg 44+4.
69361
69361
  const intrinsicItemHeight = virtualItemHeight ?? (size === "lg" ? 48 : 40);
69362
69362
  const [localSearch, setLocalSearch] = useState(searchValue);
@@ -72982,7 +72982,7 @@ const FISCombobox = forwardRef(({ className, options, value, disabled = false, t
72982
72982
  const count = selected.length;
72983
72983
  return multiDisplayText
72984
72984
  ? multiDisplayText(count)
72985
- : `Selected ${count.toString().padStart(2, "0")} option${count !== 1 ? "s" : ""}`;
72985
+ : `Đã chọn ${count.toString().padStart(2, "0")} tùy chọn`;
72986
72986
  }
72987
72987
  else {
72988
72988
  const selected = flatItems.find((item) => item.value === value);
@@ -75789,7 +75789,7 @@ const FISSelect = forwardRef(({ className, style, size = "md", options, value, d
75789
75789
  }
75790
75790
  return multiDisplayText
75791
75791
  ? multiDisplayText(count)
75792
- : `Selected ${count.toString().padStart(2, "0")} option${count !== 1 ? "s" : ""}`;
75792
+ : `Đã chọn ${count.toString().padStart(2, "0")} tùy chọn`;
75793
75793
  }
75794
75794
  else {
75795
75795
  if (value) {