qlu-20-ui-library 1.3.21 → 1.3.22
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.
|
@@ -55824,7 +55824,7 @@ const Rre = ({
|
|
|
55824
55824
|
{
|
|
55825
55825
|
initialNumber: String(h),
|
|
55826
55826
|
handleChange: (A) => {
|
|
55827
|
-
f(A);
|
|
55827
|
+
A >= 0 && A <= a && f(A);
|
|
55828
55828
|
},
|
|
55829
55829
|
props: { style: { width: "70px", maxWidth: "70px" } }
|
|
55830
55830
|
}
|
|
@@ -56,7 +56,9 @@ const SelectDropDown = ({ onApplyClick, selectedCount = 0, showCancel = true, on
|
|
|
56
56
|
}, disabled: isDisabled, className: "selectDropDown--btn--dropdown", ref: selectContainerRef, children: [_jsx(SearchCheckboxComponent, { sizeVariant: "base", checked: false, onClick: handleCheckboxClick, isAllSelected: isAllSelected, isSubsetSelected: !isAllSelected && selectedCount > 0, isDisabled: isDisabled }), selectedCount > 0 && _jsxs("p", { children: [selectedCount, " selected"] }), _jsx("span", { children: _jsx(GetSvgIcon, { iconType: "arrowDown", iconSize: "16" }) })] }), _jsx("dialog", {
|
|
57
57
|
// open={listShow}
|
|
58
58
|
id: uuidv4(), ref: dropdownRef, className: "dropdownContainer", children: _jsxs("ul", { className: `selectDropDown--dropdown-list-${listShow ? "show" : "hide"}`, children: [_jsx("li", { onClick: handleSelectAllClick, children: "Select All" }), _jsxs("li", { children: ["Select Top", _jsx("span", { className: "space", children: listShow && (_jsx(NumberInputField, { initialNumber: String(topRange), handleChange: (value) => {
|
|
59
|
-
|
|
59
|
+
if (value >= 0 && value <= totalCount) {
|
|
60
|
+
setTopRange(value);
|
|
61
|
+
}
|
|
60
62
|
}, props: { style: { width: "70px", maxWidth: "70px" } } })) })] }), _jsx("span", { className: "apply", children: _jsx(PrimaryButton, { text: "Apply", colorVariant: "orange", onClick: () => {
|
|
61
63
|
onApplyClick(topRange);
|
|
62
64
|
toggleListShow();
|