@applica-software-guru/react-admin 1.5.318 → 1.5.320
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/ra-lists/Datagrid/Datagrid.d.ts.map +1 -1
- package/dist/components/ra-lists/Empty.d.ts +6 -6
- package/dist/components/ra-lists/Empty.d.ts.map +1 -1
- package/dist/components/ra-lists/List.d.ts.map +1 -1
- package/dist/components/ra-lists/SimpleList.d.ts +3 -13
- package/dist/components/ra-lists/SimpleList.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +48 -48
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +2741 -2730
- package/dist/react-admin.es.js.gz +0 -0
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +53 -53
- package/dist/react-admin.umd.js.gz +0 -0
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-lists/Datagrid/Datagrid.tsx +1 -2
- package/src/components/ra-lists/Empty.tsx +45 -41
- package/src/components/ra-lists/List.tsx +8 -1
- package/src/components/ra-lists/SimpleList.tsx +18 -10
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Datagrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-lists/Datagrid/Datagrid.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,EAAwF,MAAM,OAAO,CAAC;AACjH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAQL,aAAa,IAAI,eAAe,EACjC,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Datagrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-lists/Datagrid/Datagrid.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,EAAwF,MAAM,OAAO,CAAC;AACjH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAQL,aAAa,IAAI,eAAe,EACjC,MAAM,aAAa,CAAC;AAKrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,QAAA,MAAM,QAAQ,mBA6JS,CAAC;AAExB,KAAK,aAAa,GAAG,eAAe,GAClC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,kBAAkB,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE,GAAG,OAAO,CAAC;CAC1D,CAAC;AA2BJ,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SxProps } from '@mui/material
|
|
1
|
+
import { SxProps } from '@mui/material';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
type EmptyProps = {
|
|
4
4
|
/**
|
|
@@ -41,6 +41,11 @@ type EmptyProps = {
|
|
|
41
41
|
subtitle?: string | React.ReactNode;
|
|
42
42
|
sx?: SxProps;
|
|
43
43
|
};
|
|
44
|
+
declare const EmptyClasses: {
|
|
45
|
+
message: string;
|
|
46
|
+
icon: string;
|
|
47
|
+
toolbar: string;
|
|
48
|
+
};
|
|
44
49
|
/**
|
|
45
50
|
* The Empty component is used to display a message when the list is empty.
|
|
46
51
|
* This component can be used only inside a List component.
|
|
@@ -49,11 +54,6 @@ type EmptyProps = {
|
|
|
49
54
|
* <List empty={<Empty actions={<Button label="Add" onClick={add} />} />} />
|
|
50
55
|
*/
|
|
51
56
|
declare function Empty({ actions, className, hasCreate: _hasCreate, icon, title, subtitle, sx, ...props }: EmptyProps): JSX.Element;
|
|
52
|
-
declare const EmptyClasses: {
|
|
53
|
-
message: string;
|
|
54
|
-
icon: string;
|
|
55
|
-
toolbar: string;
|
|
56
|
-
};
|
|
57
57
|
export { Empty, EmptyClasses };
|
|
58
58
|
export type { EmptyProps };
|
|
59
59
|
//# sourceMappingURL=Empty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/Empty.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/Empty.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,OAAO,EAAsB,MAAM,eAAe,CAAC;AAEjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,UAAU,GAAG;IAChB;;;;;;;QAOI;IACJ,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;;QAKI;IACJ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;QAKI;IACJ,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;;;;QAKI;IACJ,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC;;;;;QAKI;IACJ,QAAQ,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACpC,EAAE,CAAC,EAAE,OAAO,CAAC;CACd,CAAC;AAQF,QAAA,MAAM,YAAY;;;;CAIjB,CAAC;AA2BF;;;;;;GAMG;AACH,iBAAS,KAAK,CAAC,EACb,OAAO,EACP,SAAS,EACT,SAAS,EAAE,UAAU,EACrB,IAAwD,EACxD,KAAK,EACL,QAAQ,EACR,EAAE,EACF,GAAG,KAAK,EACT,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAwC1B;AAED,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC;AAC/B,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/List.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/List.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAwMxC,iBAAS,IAAI,CAAC,KAAK,EAAE,SAAS,GAAG,YAAY,CAE5C;AAED,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
leftIcon: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
5
|
-
linkType: import("prop-types").Requireable<NonNullable<string | boolean | ((...args: any[]) => any)>>;
|
|
6
|
-
primaryText: import("prop-types").Requireable<NonNullable<string | import("prop-types").ReactElementLike | ((...args: any[]) => any)>>;
|
|
7
|
-
rightAvatar: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
8
|
-
rightIcon: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
9
|
-
secondaryText: import("prop-types").Requireable<NonNullable<string | import("prop-types").ReactElementLike | ((...args: any[]) => any)>>;
|
|
10
|
-
tertiaryText: import("prop-types").Requireable<NonNullable<string | import("prop-types").ReactElementLike | ((...args: any[]) => any)>>;
|
|
11
|
-
rowStyle: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
12
|
-
rowSx: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
13
|
-
}>, never> & Pick<import("react-admin").SimpleListProps<import("react-admin").RaRecord<import("react-admin").Identifier>>, "children" | "title" | "ref" | "key" | "data" | "slot" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "dense" | "component" | "subheader" | "isLoading" | "disablePadding" | "total" | "empty" | "hasBulkActions" | "isLoaded">, keyof import("react-admin").SimpleListProps<import("react-admin").RaRecord<import("react-admin").Identifier>>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SimpleListProps } from 'react-admin';
|
|
3
|
+
declare function SimpleList({ empty, ...props }: SimpleListProps): JSX.Element;
|
|
14
4
|
export { SimpleList };
|
|
15
5
|
//# sourceMappingURL=SimpleList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleList.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/SimpleList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SimpleList.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/SimpleList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA8B,eAAe,EAAgB,MAAM,aAAa,CAAC;AAIxF,iBAAS,UAAU,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAcrE;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|