@appcorp/app-corp-vista 0.2.87 → 0.2.89
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.
|
@@ -39,6 +39,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
exports.VistaDashboardSidebarV1 = void 0;
|
|
41
41
|
var react_1 = __importStar(require("react"));
|
|
42
|
+
var link_1 = __importDefault(require("next/link"));
|
|
42
43
|
var image_1 = __importDefault(require("next/image"));
|
|
43
44
|
var class_names_1 = require("../../utils/class-names");
|
|
44
45
|
var VistaDashboardSidebarV1 = function (_a) {
|
|
@@ -52,7 +53,8 @@ var VistaDashboardSidebarV1 = function (_a) {
|
|
|
52
53
|
return (react_1.default.createElement("div", { className: "flex grow flex-col overflow-y-auto gap-y-4 bg-gray-200 dark:bg-gray-900 px-6 ring-1 ring-white/10" },
|
|
53
54
|
react_1.default.createElement("div", { className: 'flex h-16 shrink-0 items-center p-y-2 flex-row' },
|
|
54
55
|
react_1.default.createElement("div", { className: 'relative size-10' },
|
|
55
|
-
react_1.default.createElement(
|
|
56
|
+
react_1.default.createElement(link_1.default, { href: "/" },
|
|
57
|
+
react_1.default.createElement(image_1.default, { alt: appName, className: 'object-left object-contain', fill: true, height: 0, sizes: '10vw', src: logo, width: 0 })))),
|
|
56
58
|
react_1.default.createElement("nav", { className: "flex flex-1 flex-col" },
|
|
57
59
|
react_1.default.createElement("ul", { role: "list", className: "flex flex-1 flex-col gap-y-7" },
|
|
58
60
|
react_1.default.createElement("li", null,
|
|
@@ -19,7 +19,7 @@ var VistaTableV1 = function (_a) {
|
|
|
19
19
|
react_1.default.createElement("thead", null,
|
|
20
20
|
react_1.default.createElement(vista_table_head_v1_1.VistaTableHeadV1, { items: tableHeadItems })),
|
|
21
21
|
react_1.default.createElement("tbody", { className: "divide-y divide-gray-700 overflow-y-auto" }, (tableBodyRows === null || tableBodyRows === void 0 ? void 0 : tableBodyRows.length) > 0 && (react_1.default.createElement(vista_table_body_v1_1.VistaTableBodyV1, { colLength: tableHeadItems.length, loading: loading, pageLimit: pageLimit, rowActions: rowActions, tableBodyCols: tableBodyCols, tableBodyRows: tableBodyRows })))),
|
|
22
|
-
(tableBodyRows === null || tableBodyRows === void 0 ? void 0 : tableBodyRows.length) === 0 && (react_1.default.createElement("div", { className: 'flex flex-row justify-center p-16' },
|
|
22
|
+
!loading && (tableBodyRows === null || tableBodyRows === void 0 ? void 0 : tableBodyRows.length) === 0 && (react_1.default.createElement("div", { className: 'flex flex-row justify-center p-16' },
|
|
23
23
|
react_1.default.createElement(empty_table_1.EmptyTable, null))),
|
|
24
24
|
react_1.default.createElement(vista_table_footer_v1_1.VistaTableFooterV1, { currentPage: currentPage, dir: dir, handleNextOnClick: handleNextOnClick, handleOnSelect: handleOnSelect, handlePreviousOnClick: handlePreviousOnClick, isNextDisabled: isNextDisabled, isPreviousDisabled: isPreviousDisabled, listOptions: listOptions, nextLabel: nextLabel, nodeSelectKey: nodeSelectKey, ofLabel: ofLabel, pageLabel: pageLabel, previousLabel: previousLabel, selectKey1: selectKey1, selectKey2: selectKey2, selectedItem: selectedItem, totalPages: totalPages }))));
|
|
25
25
|
};
|