@economic/taco 2.67.1-footer-fix.3 → 2.67.2
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/taco.cjs +9 -6
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.js +9 -6
- package/dist/taco.js.map +1 -1
- package/package.json +2 -2
package/dist/taco.cjs
CHANGED
@@ -16970,10 +16970,10 @@ const Navbar = React__namespace.memo(({ onMonthChange, value = /* @__PURE__ */ n
|
|
16970
16970
|
onMonthChange(new Date(year.value, month.value));
|
16971
16971
|
};
|
16972
16972
|
const onNextClick = () => {
|
16973
|
-
onMonthChange(new Date(value.getFullYear(), value.getMonth() + 1
|
16973
|
+
onMonthChange(new Date(value.getFullYear(), value.getMonth() + 1));
|
16974
16974
|
};
|
16975
16975
|
const onPreviousClick = () => {
|
16976
|
-
onMonthChange(new Date(value.getFullYear(), value.getMonth() - 1
|
16976
|
+
onMonthChange(new Date(value.getFullYear(), value.getMonth() - 1));
|
16977
16977
|
};
|
16978
16978
|
return /* @__PURE__ */ React__namespace.createElement("div", { className: "mb-3 flex items-center justify-between" }, /* @__PURE__ */ React__namespace.createElement("form", { className: "inline-flex space-x-1" }, /* @__PURE__ */ React__namespace.createElement("select", { className: "h-8 px-2", name: "month", onChange: handleChange, value: value.getMonth() }, months.map((month, i2) => /* @__PURE__ */ React__namespace.createElement("option", { key: month, value: i2 }, month))), /* @__PURE__ */ React__namespace.createElement("select", { className: "h-8 px-2", name: "year", onChange: handleChange, value: value.getFullYear() }, years.map((year) => /* @__PURE__ */ React__namespace.createElement("option", { key: year, value: year }, String(year))))), /* @__PURE__ */ React__namespace.createElement("div", null, /* @__PURE__ */ React__namespace.createElement(Tooltip$3, { title: actions.previousMonth }, /* @__PURE__ */ React__namespace.createElement(
|
16979
16979
|
IconButton,
|
@@ -29973,7 +29973,7 @@ const Header$6 = React__namespace.forwardRef(function MenuHeader(props, ref) {
|
|
29973
29973
|
},
|
29974
29974
|
props.className
|
29975
29975
|
);
|
29976
|
-
return /* @__PURE__ */ React__namespace.createElement($d08ef79370b62062$export$b04be29aa201d4f5, { ...props, className, ref });
|
29976
|
+
return /* @__PURE__ */ React__namespace.createElement($d08ef79370b62062$export$b04be29aa201d4f5, { "data-taco": "menu-item-header", ...props, className, ref });
|
29977
29977
|
});
|
29978
29978
|
const SubMenu = React__namespace.forwardRef(function MenuSubMenu(props, ref) {
|
29979
29979
|
const internalRef = useMergedRef(ref);
|
@@ -38963,6 +38963,7 @@ const HeaderContent = ({ children, tooltip, isInternalColumnHeader }) => {
|
|
38963
38963
|
return /* @__PURE__ */ React.createElement(Tooltip$3, { title: String(tooltip ?? children), placement: "top" }, /* @__PURE__ */ React.createElement("span", { className: "truncate" }, children));
|
38964
38964
|
};
|
38965
38965
|
function Header$1(props) {
|
38966
|
+
var _a;
|
38966
38967
|
const { header, scrollToIndex } = props;
|
38967
38968
|
if (header.column.getIsGrouped()) {
|
38968
38969
|
return null;
|
@@ -39005,6 +39006,7 @@ function Header$1(props) {
|
|
39005
39006
|
isPinned,
|
39006
39007
|
isPlaceholder: header.isPlaceholder,
|
39007
39008
|
offset: header.column.getStart(isPinned),
|
39009
|
+
parentId: (_a = header.column.parent) == null ? void 0 : _a.id,
|
39008
39010
|
scrollToIndex,
|
39009
39011
|
setRowActiveIndex: tableMeta.rowActive.setRowActiveIndex,
|
39010
39012
|
setColumnSizing: table.setColumnSizing,
|
@@ -39024,8 +39026,8 @@ function Header$1(props) {
|
|
39024
39026
|
}
|
39025
39027
|
if (canGoto) {
|
39026
39028
|
memoedProps.onGoto = (query) => {
|
39027
|
-
var
|
39028
|
-
return (_b = (
|
39029
|
+
var _a2, _b;
|
39030
|
+
return (_b = (_a2 = tableMeta.rowGoto).handleGoto) == null ? void 0 : _b.call(_a2, header.id, query, sorting, filters, search);
|
39029
39031
|
};
|
39030
39032
|
}
|
39031
39033
|
if (canHide) {
|
@@ -39123,7 +39125,8 @@ const MemoedHeader = React.memo(function MemoedHeader2(props) {
|
|
39123
39125
|
"data-cell-align": isGroup2 ? "center" : align,
|
39124
39126
|
"data-cell-id": id2,
|
39125
39127
|
"data-cell-pinned": isPinned ? isPinned : void 0,
|
39126
|
-
"data-taco": isGroup2 ? "grouped-column-header" : "column-header",
|
39128
|
+
"data-taco": isGroup2 ? isPlaceholder ? "grouped-column-header-placeholder" : "grouped-column-header" : "column-header",
|
39129
|
+
"data-parent-group-id": props.parentId ? props.parentId : void 0,
|
39127
39130
|
"data-rows-expanded": isExpanded ? isExpanded : void 0,
|
39128
39131
|
style,
|
39129
39132
|
ref: setRef
|