ods-component-lib 1.18.109 → 1.18.112

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,3 @@
1
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
2
+ grid: import("antd-style").SerializedStyles;
3
+ }>;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import "./OdsBasicDataGrid.css";
3
2
  import { IOdsDataGridProps } from "./OdsBasicDataGrid.Types";
4
3
  declare const OdsBasicDataGrid: (props: IOdsDataGridProps) => React.JSX.Element;
5
4
  export default OdsBasicDataGrid;
@@ -0,0 +1,4 @@
1
+ export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
2
+ grid: import("antd-style").SerializedStyles;
3
+ gridCustomSummary: import("antd-style").SerializedStyles;
4
+ }>;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import { IVirtualDataGridProps } from './OdsServerSideDatagrid.Types';
3
- import "./OdsServerSideDatagrid.css";
1
+ import React from "react";
2
+ import { IVirtualDataGridProps } from "./OdsServerSideDatagrid.Types";
4
3
  declare const OdsServerSideDatagrid: (props: IVirtualDataGridProps) => React.JSX.Element;
5
4
  export default OdsServerSideDatagrid;
@@ -1,3 +1,54 @@
1
- import React from 'react';
2
- declare const OdsTransfer: () => React.JSX.Element;
1
+ import React from "react";
2
+ import 'devextreme/dist/css/dx.light.css';
3
+ import './styles.css';
4
+ export interface Column {
5
+ title: string;
6
+ dataIndex: string;
7
+ key?: string;
8
+ caption?: string;
9
+ tooltip?: {
10
+ enable: boolean;
11
+ };
12
+ }
13
+ interface IAxiosProps {
14
+ token: string;
15
+ requestData?: any;
16
+ apiUrl: string;
17
+ environmentUrl: string;
18
+ requestQueryString?: any;
19
+ requestType: string;
20
+ }
21
+ interface ISummaryRowOptions {
22
+ summaryLoadedDataLabel?: string;
23
+ summaryTotalDataLabel?: string;
24
+ summaryFilteredDataLabel?: string;
25
+ summaryTotalCount?: number;
26
+ summaryTotalPageCountLabel?: string;
27
+ summarySumLabel?: string;
28
+ summaryAvgLabel?: string;
29
+ summaryMinLabel?: string;
30
+ summaryMaxLabel?: string;
31
+ summaryCountLabel?: string;
32
+ }
33
+ interface OdsTransferProps<RecordType = any> {
34
+ dataSource?: RecordType[];
35
+ language: string;
36
+ pagingEnable?: boolean;
37
+ pageSize?: number;
38
+ isServerSide: boolean;
39
+ axiosRequest?: IAxiosProps;
40
+ customSummary?: ISummaryRowOptions;
41
+ dataGridPageName?: string;
42
+ columns: any[];
43
+ pageTitle?: string;
44
+ keyExpr: string;
45
+ noDataText: string;
46
+ defaultPageSize: number;
47
+ targetItems?: any[];
48
+ noContentMainText: string;
49
+ noContentSubText: string;
50
+ onTargetChange?: (selectedItems: RecordType[]) => void;
51
+ }
52
+ export declare const getRequestHeaders: (props: any) => Headers;
53
+ declare const OdsTransfer: React.FC<OdsTransferProps>;
3
54
  export default OdsTransfer;
package/dist/index.css CHANGED
@@ -158,67 +158,18 @@ tr._2CvVM._3Xrp3._19iuB._3udtX {
158
158
  width: max-content;
159
159
  display: inline-block;
160
160
  }
161
- ._pfzj_ {
162
- background-color: lightgreen;
163
- }
164
- ._2nqLu {
165
- -webkit-touch-callout: none;
166
- -webkit-user-select: none;
167
- -moz-user-select: none;
168
- user-select: none;
169
- }
170
- ._3w58W {
171
- background-color: lightgray;
172
- }
173
- ._13m3V {
174
- font-weight: 900;
175
- /* border-bottom: 1px solid lightgray; */
176
- }
177
- ._2Sks5 {
178
- /* border-bottom: 1px solid lightgray; */
179
- }
180
- ._K4Fg8 {
181
- padding: 0 !important;
182
- }
183
-
184
- ._2abwP {
185
- background-color: lightgreen;
186
- }
187
- ._1V_Vz {
188
- -webkit-touch-callout: none;
189
- -webkit-user-select: none;
190
- -moz-user-select: none;
191
- user-select: none;
192
- }
193
- ._edHyI {
194
- background-color: lightgray;
195
- }
196
- ._mZ4Ke {
197
- font-weight: 900;
198
- /* border-bottom: 1px solid lightgray; */
199
- }
200
-
201
- ._n1i4q {
202
- padding: 0 !important;
203
- }
204
-
205
-
206
- ._eki0-._iIxEJ._1RnGP {
207
- border: none !important;
208
- border-radius: 16px 16px 0 0;
209
- }
210
- ._2sLNZ {
211
- background-color: rgb(255, 255, 255);
212
- border-radius: 0px 0px 16px 16px;
213
- font-size: 13px;
214
- text-align: unset;
215
- padding: 17px 16px 3px 15px;
216
- font-weight: 600;
217
- border-top: 1px solid #ededed;
218
- }
219
- ._1RnGP > ._qUFdx, ._1RnGP > ._3Mxz6 {
220
- border: 0 !important;
221
- }
161
+ ._2o0Iw {
162
+ display: none !important;
163
+ }
164
+
165
+ ._AqJeI {
166
+ border-radius: 16px !important;
167
+ background-color: white !important;
168
+ }
169
+
170
+ ._vOHiU {
171
+ justify-content: center;
172
+ }
222
173
  ._3n8UJ {
223
174
  background-color: lightgreen;
224
175
  }