ods-component-lib 1.18.97 → 1.18.99
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/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/stories/{OdsAdvanceModal/OdsAdvanceModal.stories.d.ts → OdsFilter/OdsFilter.stories.d.ts} +13 -16
- package/dist/stories/OdsFilter/Samples/OdsFilter.Sample.d.ts +12 -0
- package/package.json +2 -2
- package/dist/components/antd/icon/OdsIcon.d.ts +0 -10
- package/dist/components/antd/modal/OdsAdvanceModal.d.ts +0 -7
- package/dist/components/antd/select/OdsCustomMultiSelect.d.ts +0 -7
- package/dist/components/antd/select/OdsMultiSelect.d.ts +0 -9
- package/dist/components/custom/OdsLogin.d.ts +0 -8
- package/dist/components/devextreme/DxDataPopupForm.d.ts +0 -3
- package/dist/components/devextreme/DynamicIcon.d.ts +0 -5
- package/dist/components/devextreme/OdsDataGridNew.d.ts +0 -56
- package/dist/components/devextreme/OdsProfDataGrid.d.ts +0 -3
- package/dist/components/devextreme/treeview/DxTreeView.d.ts +0 -3
- package/dist/stories/OdsAdvanceModal/Samples/BasicOdsAdvanceModal.sample.d.ts +0 -8
- package/dist/stories/OdsCustomMultiSelect/OdsCustomMultiSelect.stories.d.ts +0 -9
- package/dist/stories/OdsCustomMultiSelect/Samples/Basic.Sample.d.ts +0 -1
- package/dist/stories/OdsCustomMultiSelect/Samples/ModeMultiple.Sample.d.ts +0 -1
- package/dist/stories/OdsModal/Samples/OdsModal.Sample.d.ts +0 -1
- package/dist/stories/OdsTimePicker/Samples/TimeRangePicker.d.ts +0 -2
package/dist/index.modern.js
CHANGED
|
@@ -16,7 +16,7 @@ import jsPDF from 'jspdf';
|
|
|
16
16
|
import { Workbook } from 'exceljs';
|
|
17
17
|
import { saveAs } from 'file-saver-es';
|
|
18
18
|
import moment from 'moment';
|
|
19
|
-
import { GridIcon, ChevronDownIcon, UpArrow5Icon, DownArrow5Icon, Loop1Icon, EditIcon, Trash1Icon, CopyIcon, DiscountIcon, KebabMenuIcon, RefreshIcon, LinkBreakIcon, FloppyDiskIcon } from 'ods-icon/react/24/outline';
|
|
19
|
+
import { GridIcon, ChevronDownIcon, UpArrow5Icon, DownArrow5Icon, Loop1Icon, EditIcon, Trash1Icon, CopyIcon, DiscountIcon, KebabMenuIcon, RefreshIcon, LinkBreakIcon, FloppyDiskIcon, Discount2Icon } from 'ods-icon/react/24/outline';
|
|
20
20
|
import { TreeList, Lookup } from 'devextreme-react';
|
|
21
21
|
|
|
22
22
|
function _extends() {
|
|
@@ -33415,7 +33415,8 @@ var iconComponents = {
|
|
|
33415
33415
|
refresh: RefreshIcon,
|
|
33416
33416
|
unmap: LinkBreakIcon,
|
|
33417
33417
|
save: FloppyDiskIcon,
|
|
33418
|
-
cancel: Loop1Icon
|
|
33418
|
+
cancel: Loop1Icon,
|
|
33419
|
+
discount2Icon: Discount2Icon
|
|
33419
33420
|
};
|
|
33420
33421
|
var DynamicIcon = function DynamicIcon(_ref) {
|
|
33421
33422
|
var iconName = _ref.iconName;
|
|
@@ -33603,8 +33604,8 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
|
|
|
33603
33604
|
}
|
|
33604
33605
|
}, [(_props$axiosRequest4 = props.axiosRequest) === null || _props$axiosRequest4 === void 0 ? void 0 : _props$axiosRequest4.requestData, (_props$axiosRequest5 = props.axiosRequest) === null || _props$axiosRequest5 === void 0 ? void 0 : _props$axiosRequest5.requestQueryString]);
|
|
33605
33606
|
useEffect(function () {
|
|
33606
|
-
if (
|
|
33607
|
-
var newColumns =
|
|
33607
|
+
if (props.columns !== undefined && props.columns.length > 0) {
|
|
33608
|
+
var newColumns = props.columns.map(function (colItem) {
|
|
33608
33609
|
if (colItem.tooltip !== undefined && colItem.tooltip.enable) {
|
|
33609
33610
|
var headerCellRenderr = function headerCellRenderr() {
|
|
33610
33611
|
return React.createElement("div", null, React.createElement("span", null, colItem.caption), React.createElement(Tooltip, {
|