ods-component-lib 1.18.197 → 1.18.199
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/components/antd/modal/OdsAdvanceModal.d.ts +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +14 -14
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/dist/App.d.ts +0 -3
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/ContentHandlers.d.ts +0 -14
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/EditorPreparedHandlers.d.ts +0 -7
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OnExportingHandlers.d.ts +0 -19
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/OptionHandlers.d.ts +0 -7
- package/dist/components/devextreme/OdsInlineEditDataGrid/handlers/SummaryHandlers.d.ts +0 -21
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/ActionCellRender.d.ts +0 -15
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/EditingPartial.d.ts +0 -9
- package/dist/components/devextreme/OdsInlineEditDataGrid/partials/PageTitle.d.ts +0 -8
- package/dist/components/devextreme/OdsInlineEditDataGrid/utils.d.ts +0 -19
- package/dist/index.umd.js +0 -2
- package/dist/index.umd.js.map +0 -1
- package/dist/stories/OdsAdvanceModal/OdsAdvanceModal.stories.d.ts +0 -42
- package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +0 -8
- package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -1655,7 +1655,7 @@ var useStyles = antdStyle.createStyles(function (_ref, props) {
|
|
|
1655
1655
|
filterBodyWrapper: cx(grid, css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteralLoose(["\n transition: grid-template-rows 0.3s;\n grid-template-rows: ", ";\n "])), props.open ? "1fr" : "0fr")),
|
|
1656
1656
|
filterBody: cx(css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n width: 100%;\n "])))),
|
|
1657
1657
|
filterActionButtonsWrapper: cx(flex, css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteralLoose(["\n width: 100%;\n justify-content: flex-end;\n gap: ", "px;\n "])), token.sizeSM)),
|
|
1658
|
-
filterTagsWrapper: cx(flex, css(_templateObject12 || (_templateObject12 = _taggedTemplateLiteralLoose(["\n align-items: center;\n justify-content: center;\n width: 85%;\n max-width: 85%;\n min-width: 85%;\n "])))),
|
|
1658
|
+
filterTagsWrapper: cx(flex, css(_templateObject12 || (_templateObject12 = _taggedTemplateLiteralLoose(["\n align-items: center;\n justify-content: center;\n width: 85%;\n max-width: 85%;\n min-width: 85%;\n transition: opacity 0.3s;\n opacity: ", ";\n "])), props.open ? 0 : 1)),
|
|
1659
1659
|
toggleButton: cx(flex),
|
|
1660
1660
|
clearButton: cx(flex)
|
|
1661
1661
|
};
|
|
@@ -1674,7 +1674,7 @@ var useFilterTagsStyles = antdStyle.createStyles(function (_ref3) {
|
|
|
1674
1674
|
var css = _ref3.css,
|
|
1675
1675
|
token = _ref3.token;
|
|
1676
1676
|
return {
|
|
1677
|
-
menu: css(_templateObject16 || (_templateObject16 = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 0;\n gap: ", "px;\n position: relative;\n\n &::after,\n &::before {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal {\n & > .ant-menu-item {\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n top: unset;\n }\n\n & > .ant-menu-submenu {\n &:hover {\n &::after {\n display: none;\n }\n }\n }\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item::after,\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-submenu\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-item::after {\n display: none;\n }\n "])), token.sizeXS)
|
|
1677
|
+
menu: css(_templateObject16 || (_templateObject16 = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: 0;\n gap: ", "px;\n position: relative;\n\n &::after,\n &::before {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal {\n & > .ant-menu-item {\n cursor: default;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0;\n top: unset;\n }\n\n & > .ant-menu-submenu {\n &:hover {\n &::after {\n display: none;\n }\n }\n }\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-submenu-selected::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item::after,\n &.ant-menu-light.ant-menu-horizontal > .ant-menu-item:hover::after {\n display: none;\n }\n\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-submenu\n &.ant-menu-light.ant-menu-horizontal\n > .ant-menu-item::after {\n display: none;\n }\n "])), token.sizeXS)
|
|
1678
1678
|
};
|
|
1679
1679
|
});
|
|
1680
1680
|
|
|
@@ -1707,8 +1707,15 @@ var OdsFilterTagView = function OdsFilterTagView(_ref) {
|
|
|
1707
1707
|
theme: {
|
|
1708
1708
|
components: {
|
|
1709
1709
|
Menu: {
|
|
1710
|
+
horizontalLineHeight: "22px",
|
|
1711
|
+
activeBarHeight: 0,
|
|
1710
1712
|
itemPaddingInline: 0,
|
|
1711
|
-
|
|
1713
|
+
itemHeight: 30,
|
|
1714
|
+
itemMarginBlock: 0,
|
|
1715
|
+
itemActiveBg: "transparent",
|
|
1716
|
+
itemHoverBg: "transparent",
|
|
1717
|
+
itemSelectedBg: "transparent",
|
|
1718
|
+
subMenuItemBg: "transparent"
|
|
1712
1719
|
},
|
|
1713
1720
|
Tag: {
|
|
1714
1721
|
marginXS: 0
|
|
@@ -1716,7 +1723,6 @@ var OdsFilterTagView = function OdsFilterTagView(_ref) {
|
|
|
1716
1723
|
}
|
|
1717
1724
|
}
|
|
1718
1725
|
}, React__default.createElement(antd.Menu, {
|
|
1719
|
-
expandIcon: React__default.createElement("div", null, React__default.createElement(outline.ChevronDownIcon, null)),
|
|
1720
1726
|
defaultSelectedKeys: ["1"],
|
|
1721
1727
|
mode: "horizontal",
|
|
1722
1728
|
className: styles.menu
|
|
@@ -1761,14 +1767,8 @@ var OdsFilter = function OdsFilter(props) {
|
|
|
1761
1767
|
}
|
|
1762
1768
|
};
|
|
1763
1769
|
var handleHideShowFilter = function handleHideShowFilter() {
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
setTimeout(function () {
|
|
1767
|
-
setShowFilter(!showFilter);
|
|
1768
|
-
}, 100);
|
|
1769
|
-
} else {
|
|
1770
|
-
setShowFilter(!showFilter);
|
|
1771
|
-
}
|
|
1770
|
+
setShowAdvanceFilter(false);
|
|
1771
|
+
setShowFilter(!showFilter);
|
|
1772
1772
|
};
|
|
1773
1773
|
var onClearSearch = function onClearSearch() {
|
|
1774
1774
|
if (props.onClickClear) {
|
|
@@ -33162,7 +33162,7 @@ var ExportDataGridToExcel = function ExportDataGridToExcel(_ref) {
|
|
|
33162
33162
|
}
|
|
33163
33163
|
if ((gridCell.column.dataType === "datetime" || gridCell.column.dataType === "date" || gridCell.column.dataField === "CreateDate" || gridCell.column.dataField === "ModifyDate") && gridCell.value) {
|
|
33164
33164
|
var date = moment(gridCell.value);
|
|
33165
|
-
var formattedDate = date.format("DD.MM.YYYY HH:mm
|
|
33165
|
+
var formattedDate = date.format("DD.MM.YYYY HH:mm");
|
|
33166
33166
|
excelCell.value = formattedDate;
|
|
33167
33167
|
} else {
|
|
33168
33168
|
excelCell.font = {
|