ods-component-lib 1.18.96 → 1.18.98

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.
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ declare type FileUploadProps = {
3
+ image: any | null;
4
+ setFile?: (file: any) => void;
5
+ title: string;
6
+ sendDataToParent: (obj: any) => void;
7
+ allowDocumentUpload?: boolean;
8
+ multipleDoc?: boolean;
9
+ removeFile?: (file: any) => void;
10
+ };
11
+ declare const OdsFileUpload: (props: FileUploadProps) => React.JSX.Element;
12
+ export default OdsFileUpload;
@@ -0,0 +1,7 @@
1
+ import { ModalProps } from "antd";
2
+ import React from "react";
3
+ export interface ICustomModalProps extends ModalProps {
4
+ content: React.ReactNode;
5
+ }
6
+ declare const OdsAdvanceModal: React.FC<ICustomModalProps>;
7
+ export default OdsAdvanceModal;
package/dist/index.js CHANGED
@@ -33608,8 +33608,8 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
33608
33608
  }
33609
33609
  }, [(_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]);
33610
33610
  React.useEffect(function () {
33611
- if (gridColumns !== undefined && gridColumns.length > 0) {
33612
- var newColumns = gridColumns.map(function (colItem) {
33611
+ if (props.columns !== undefined && props.columns.length > 0) {
33612
+ var newColumns = props.columns.map(function (colItem) {
33613
33613
  if (colItem.tooltip !== undefined && colItem.tooltip.enable) {
33614
33614
  var headerCellRenderr = function headerCellRenderr() {
33615
33615
  return React__default.createElement("div", null, React__default.createElement("span", null, colItem.caption), React__default.createElement(antd.Tooltip, {