hi-tm 0.14.9 → 0.15.1
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.
|
@@ -309,16 +309,14 @@ const HeaderLayout = ({ appVersion, branchName, userFirstName, sidebarHandler, u
|
|
|
309
309
|
: "scale-y-0 opacity-0"} origin-top` },
|
|
310
310
|
react_1.default.createElement("ul", { className: "flex h-auto w-full flex-col items-start justify-center gap-3 bg-inherit p-3" }, userBranchesData &&
|
|
311
311
|
userBranchesData.map((item) => (react_1.default.createElement("li", { onClick: () => selectItemBranchHandler(item), key: item?.id, className: "customTransition flex w-full flex-row items-center justify-end gap-2 rounded-tiny px-5 py-2 text-text-color-primary hover:bg-gray-primary" },
|
|
312
|
-
item?.subBranch?.length > 0 && (
|
|
313
|
-
// <
|
|
314
|
-
//
|
|
315
|
-
//
|
|
316
|
-
//
|
|
317
|
-
//
|
|
318
|
-
//
|
|
319
|
-
|
|
320
|
-
// ></svg>
|
|
321
|
-
),
|
|
312
|
+
item?.subBranch?.length > 0 && (
|
|
313
|
+
// <Image
|
|
314
|
+
// alt="arrowLeft"
|
|
315
|
+
// src={"/icons/arrow-left.svg"}
|
|
316
|
+
// width={10}
|
|
317
|
+
// height={10}
|
|
318
|
+
// />
|
|
319
|
+
react_1.default.createElement("svg", { width: "30", height: "30", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: `transition-transform ` })),
|
|
322
320
|
react_1.default.createElement(image_1.default, { src: item.logoName
|
|
323
321
|
? `${baseUrlCDN}/${item.urlName || branchName}/${item.logoName}`
|
|
324
322
|
: imageDefaultSRC, alt: "logo.svg", width: 16, height: 16, className: "rounded-xl" }),
|
|
@@ -563,7 +563,7 @@ pageIndex = 0, // Default to first page (0-indexed)
|
|
|
563
563
|
e.stopPropagation();
|
|
564
564
|
handleRowExpandToggle(row.id, e);
|
|
565
565
|
}, className: "p-2 hover:bg-gray-100 rounded" },
|
|
566
|
-
react_1.default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "
|
|
566
|
+
react_1.default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "#000", xmlns: "http://www.w3.org/2000/svg", className: `transition-transform ${expandedRows.includes(row.id) ? "rotate-90" : ""}` },
|
|
567
567
|
react_1.default.createElement("path", { d: "M15 5L8 12L15 19", stroke: "rgba(0, 0, 0, 0.40)", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })))),
|
|
568
568
|
showFavoriteIcon && (react_1.default.createElement("button", { className: "p-2 hover:bg-gray-100 rounded" },
|
|
569
569
|
react_1.default.createElement(image_1.default, { src: isFavorited
|