qlu-20-ui-library 1.3.20 → 1.3.21
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.
|
@@ -30641,7 +30641,7 @@ const Lr = ({
|
|
|
30641
30641
|
}) })
|
|
30642
30642
|
] });
|
|
30643
30643
|
const oJ = ({ education: e }) => /* @__PURE__ */ u.jsxs("div", { className: "personViewEducationCard--Generic", children: [
|
|
30644
|
-
/* @__PURE__ */ u.jsx("div", { className: "personViewEducationCard-EducationLogo-Container", children: /* @__PURE__ */ u.jsx(Qe, { iconType: "graduationHat", iconSize: "
|
|
30644
|
+
/* @__PURE__ */ u.jsx("div", { className: "personViewEducationCard-EducationLogo-Container", children: /* @__PURE__ */ u.jsx(Qe, { iconType: "graduationHat", iconSize: "40" }) }),
|
|
30645
30645
|
/* @__PURE__ */ u.jsxs("span", { className: "personViewEducationCard-EducationDetails", children: [
|
|
30646
30646
|
(e == null ? void 0 : e.schoolName) && /* @__PURE__ */ u.jsx("h2", { children: e.schoolName }),
|
|
30647
30647
|
(e == null ? void 0 : e.degreeName) && (e == null ? void 0 : e.fieldOfStudy) && /* @__PURE__ */ u.jsxs("h3", { children: [
|
|
@@ -55742,7 +55742,7 @@ const Rre = ({
|
|
|
55742
55742
|
isDisabled: o,
|
|
55743
55743
|
tooltipContent: s
|
|
55744
55744
|
}) => {
|
|
55745
|
-
const [l, d] = Te(!1), [h, f] = Te(
|
|
55745
|
+
const [l, d] = Te(!1), [h, f] = Te(t), m = g1(null), v = g1(null), g = () => {
|
|
55746
55746
|
var A;
|
|
55747
55747
|
o || (console.log("dropdownRef?.current?.close", (A = m == null ? void 0 : m.current) == null ? void 0 : A.close), d((M) => {
|
|
55748
55748
|
var C, F;
|
|
@@ -55822,10 +55822,11 @@ const Rre = ({
|
|
|
55822
55822
|
/* @__PURE__ */ u.jsx("span", { className: "space", children: l && /* @__PURE__ */ u.jsx(
|
|
55823
55823
|
tJ,
|
|
55824
55824
|
{
|
|
55825
|
-
initialNumber: String(
|
|
55825
|
+
initialNumber: String(h),
|
|
55826
55826
|
handleChange: (A) => {
|
|
55827
55827
|
f(A);
|
|
55828
|
-
}
|
|
55828
|
+
},
|
|
55829
|
+
props: { style: { width: "70px", maxWidth: "70px" } }
|
|
55829
55830
|
}
|
|
55830
55831
|
) })
|
|
55831
55832
|
] }),
|
|
@@ -3,7 +3,7 @@ import { GetSvgIcon } from "../..";
|
|
|
3
3
|
import "./style.scss";
|
|
4
4
|
import { getFormatedDate } from "../../../utils";
|
|
5
5
|
const PersonViewEducationCard = ({ education }) => {
|
|
6
|
-
return (_jsxs("div", { className: "personViewEducationCard--Generic", children: [_jsx("div", { className: "personViewEducationCard-EducationLogo-Container", children: _jsx(GetSvgIcon, { iconType: "graduationHat", iconSize: "
|
|
6
|
+
return (_jsxs("div", { className: "personViewEducationCard--Generic", children: [_jsx("div", { className: "personViewEducationCard-EducationLogo-Container", children: _jsx(GetSvgIcon, { iconType: "graduationHat", iconSize: "40" }) }), _jsxs("span", { className: "personViewEducationCard-EducationDetails", children: [education?.schoolName && _jsx("h2", { children: education.schoolName }), education?.degreeName && education?.fieldOfStudy && (_jsxs("h3", { children: [education?.degreeName &&
|
|
7
7
|
`${education?.degreeName}${education?.fieldOfStudy && ", "}`, education?.fieldOfStudy && education?.fieldOfStudy] })), !(education?.start === "NA" && education?.end === "NA") && (_jsx("p", { children: `${getFormatedDate(education?.start)} -
|
|
8
8
|
${getFormatedDate(education?.end)}` }))] })] }, education?.index));
|
|
9
9
|
};
|
|
@@ -6,7 +6,7 @@ import SearchCheckboxComponent from "../SearchCheckboxComponent";
|
|
|
6
6
|
import { v4 as uuidv4 } from "uuid";
|
|
7
7
|
const SelectDropDown = ({ onApplyClick, selectedCount = 0, showCancel = true, onCancelClick = () => false, totalCount = 10, isAllSelected, isDisabled, tooltipContent, }) => {
|
|
8
8
|
const [listShow, setListShow] = useState(false);
|
|
9
|
-
const [topRange, setTopRange] = useState(
|
|
9
|
+
const [topRange, setTopRange] = useState(selectedCount);
|
|
10
10
|
const dropdownRef = useRef(null);
|
|
11
11
|
const selectContainerRef = useRef(null);
|
|
12
12
|
const toggleListShow = () => {
|
|
@@ -55,9 +55,9 @@ const SelectDropDown = ({ onApplyClick, selectedCount = 0, showCancel = true, on
|
|
|
55
55
|
toggleListShow();
|
|
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
|
-
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(
|
|
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
|
setTopRange(value);
|
|
60
|
-
} })) })] }), _jsx("span", { className: "apply", children: _jsx(PrimaryButton, { text: "Apply", colorVariant: "orange", onClick: () => {
|
|
60
|
+
}, props: { style: { width: "70px", maxWidth: "70px" } } })) })] }), _jsx("span", { className: "apply", children: _jsx(PrimaryButton, { text: "Apply", colorVariant: "orange", onClick: () => {
|
|
61
61
|
onApplyClick(topRange);
|
|
62
62
|
toggleListShow();
|
|
63
63
|
}, isDisabled: topRange < 0 }) }), showCancel && (_jsx("span", { className: "cancel", children: _jsx(TertiaryButton, { text: "Clear Selection", onClick: () => {
|