react-declarative 2.7.109 → 2.7.111
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.d.ts +30 -48
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -400,11 +400,8 @@ declare module "react-declarative" {
|
|
|
400
400
|
> = IFeatureInternal<Data, Payload>;
|
|
401
401
|
export { FeatureType } from "react-declarative/components/FeatureView";
|
|
402
402
|
export { IVisibilityGroup } from "react-declarative/components/VisibilityView";
|
|
403
|
-
import {
|
|
404
|
-
|
|
405
|
-
RECORD_NEVER_VALUE,
|
|
406
|
-
} from "react-declarative/components/RecordView";
|
|
407
|
-
export { recordToExcelExport, RECORD_NEVER_VALUE };
|
|
403
|
+
import { RECORD_NEVER_VALUE } from "react-declarative/components/RecordView";
|
|
404
|
+
export { RECORD_NEVER_VALUE };
|
|
408
405
|
export { ErrorBoundary } from "react-declarative/components";
|
|
409
406
|
export { AutoSizer } from "react-declarative/components";
|
|
410
407
|
export { ActionStopIcon } from "react-declarative/components";
|
|
@@ -7263,7 +7260,6 @@ declare module "react-declarative/components/VisibilityView" {
|
|
|
7263
7260
|
declare module "react-declarative/components/RecordView" {
|
|
7264
7261
|
export * from "react-declarative/components/RecordView/RecordView";
|
|
7265
7262
|
export { RECORD_NEVER_VALUE } from "react-declarative/components/RecordView/constant/RECORD_NEVER_VALUE";
|
|
7266
|
-
export { excelExport as recordToExcelExport } from "react-declarative/components/RecordView/helpers/excelExport";
|
|
7267
7263
|
export { default } from "react-declarative/components/RecordView/RecordView";
|
|
7268
7264
|
}
|
|
7269
7265
|
|
|
@@ -20224,6 +20220,7 @@ declare module "react-declarative/components/VisibilityView/hooks/useVisibilityV
|
|
|
20224
20220
|
declare module "react-declarative/components/RecordView/RecordView" {
|
|
20225
20221
|
import IData from "react-declarative/components/RecordView/model/IData";
|
|
20226
20222
|
import IRecordViewProps from "react-declarative/components/RecordView/model/IRecordViewProps";
|
|
20223
|
+
import IAnything from "react-declarative/model/IAnything";
|
|
20227
20224
|
/**
|
|
20228
20225
|
* Renders a view to display record data with search capabilities.
|
|
20229
20226
|
*
|
|
@@ -20251,36 +20248,33 @@ declare module "react-declarative/components/RecordView/RecordView" {
|
|
|
20251
20248
|
*
|
|
20252
20249
|
* @returns The rendered component.
|
|
20253
20250
|
*/
|
|
20254
|
-
export const RecordView: {
|
|
20255
|
-
|
|
20256
|
-
|
|
20257
|
-
|
|
20258
|
-
|
|
20259
|
-
|
|
20260
|
-
|
|
20261
|
-
|
|
20262
|
-
|
|
20263
|
-
|
|
20264
|
-
|
|
20265
|
-
|
|
20266
|
-
|
|
20267
|
-
|
|
20268
|
-
|
|
20269
|
-
|
|
20270
|
-
|
|
20271
|
-
|
|
20272
|
-
|
|
20273
|
-
|
|
20274
|
-
|
|
20275
|
-
|
|
20276
|
-
|
|
20277
|
-
|
|
20278
|
-
|
|
20279
|
-
|
|
20280
|
-
|
|
20281
|
-
}: IRecordViewProps<Data, Payload>): JSX.Element;
|
|
20282
|
-
excelExport: (data: IData, sheetName?: string) => void;
|
|
20283
|
-
};
|
|
20251
|
+
export const RecordView: <Data extends any = IData, Payload = IAnything>({
|
|
20252
|
+
data: upperData,
|
|
20253
|
+
search,
|
|
20254
|
+
onSearchChanged,
|
|
20255
|
+
formatValue,
|
|
20256
|
+
formatKey,
|
|
20257
|
+
formatSearch,
|
|
20258
|
+
withExpandAll,
|
|
20259
|
+
withExpandRoot,
|
|
20260
|
+
withExpandLevel,
|
|
20261
|
+
expandList,
|
|
20262
|
+
keyWidth,
|
|
20263
|
+
valueWidth,
|
|
20264
|
+
totalWidth,
|
|
20265
|
+
background,
|
|
20266
|
+
BeforeSearch,
|
|
20267
|
+
AfterSearch,
|
|
20268
|
+
BeforeCollapseLabel,
|
|
20269
|
+
AfterCollapseLabel,
|
|
20270
|
+
payload,
|
|
20271
|
+
className,
|
|
20272
|
+
style,
|
|
20273
|
+
sx,
|
|
20274
|
+
EmptyItem,
|
|
20275
|
+
CustomItem,
|
|
20276
|
+
...otherProps
|
|
20277
|
+
}: IRecordViewProps<Data, Payload>) => JSX.Element;
|
|
20284
20278
|
export default RecordView;
|
|
20285
20279
|
}
|
|
20286
20280
|
|
|
@@ -20288,18 +20282,6 @@ declare module "react-declarative/components/RecordView/constant/RECORD_NEVER_VA
|
|
|
20288
20282
|
export const RECORD_NEVER_VALUE = "react-declarative__recordView_never_value";
|
|
20289
20283
|
}
|
|
20290
20284
|
|
|
20291
|
-
declare module "react-declarative/components/RecordView/helpers/excelExport" {
|
|
20292
|
-
import IData from "react-declarative/components/RecordView/model/IData";
|
|
20293
|
-
/**
|
|
20294
|
-
* Export data to Excel.
|
|
20295
|
-
*
|
|
20296
|
-
* @param data - The data to export to Excel.
|
|
20297
|
-
* @param [sheetName="Records"] - The name of the sheet in the Excel file. Default is "Records".
|
|
20298
|
-
*/
|
|
20299
|
-
export const excelExport: (data: IData, sheetName?: string) => void;
|
|
20300
|
-
export default excelExport;
|
|
20301
|
-
}
|
|
20302
|
-
|
|
20303
20285
|
declare module "react-declarative/components/Scaffold2/Scaffold2" {
|
|
20304
20286
|
import IScaffold2Props from "react-declarative/components/Scaffold2/model/IScaffold2Props";
|
|
20305
20287
|
import Payload from "react-declarative/components/Scaffold2/model/Payload";
|