@olenbetong/synergi-react 2.5.1 → 2.5.2
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/es/components/AppMenu/index.d.ts +1 -1
- package/es/components/AppShell/index.d.ts +1 -1
- package/es/components/ColorCard/index.d.ts +6 -6
- package/es/components/DateNavigator/index.d.ts +1 -1
- package/es/components/FilePond.d.ts +1 -1
- package/es/components/ImageEditor/DragHandle.d.ts +1 -1
- package/es/components/ImageEditor/EdgeHandle.d.ts +1 -1
- package/es/components/ImageEditor/ResponsiveButton.d.ts +1 -1
- package/es/components/ImageEditor/plugins/cropPlugin/CropContext.d.ts +1 -1
- package/es/components/ImageEditor/plugins/cropPlugin/CropOverlay.d.ts +1 -1
- package/es/components/ImageEditor/plugins/cropPlugin/CropToolbar.d.ts +1 -1
- package/es/components/ImageEditor/plugins/redactPlugin/RedactContext.d.ts +1 -1
- package/es/components/ImageEditor/plugins/redactPlugin/RedactOverlay.d.ts +1 -1
- package/es/components/ImageEditor/plugins/redactPlugin/RedactToolbar.d.ts +1 -1
- package/es/components/ImageEditor/plugins/zoomPlugin/ZoomCanvas.d.ts +1 -1
- package/es/components/ImageEditor/plugins/zoomPlugin/ZoomContext.d.ts +1 -1
- package/es/components/ImageEditor/plugins/zoomPlugin/ZoomControls.d.ts +1 -1
- package/es/components/LinkedCardList/index.d.ts +3 -3
- package/es/components/MergeProgressDialog/index.d.ts +1 -1
- package/es/components/PageBanner/index.d.ts +4 -4
- package/es/components/PdfViewer/PdfViewer.d.ts +1 -1
- package/es/components/Portal/index.d.ts +1 -1
- package/es/components/Sidebar/index.d.ts +1 -1
- package/es/components/Spinner/index.d.ts +1 -1
- package/es/components/SplitContainer/index.d.ts +1 -1
- package/es/components/Toolbar/index.d.ts +1 -1
- package/es/elements/ElementDamage/DamageFormButtons.d.ts +1 -1
- package/es/elements/ElementDamage/DescriptionInput.d.ts +1 -1
- package/es/elements/ElementDamage/DuplicateDamage/DesktopView.d.ts +2 -2
- package/es/elements/ElementDamage/DuplicateDamage/DublicateElementDamageDialog.d.ts +1 -1
- package/es/elements/ElementDamage/DuplicateDamage/PhoneView.d.ts +1 -1
- package/es/elements/ElementDamage/ElementNumberTextField.d.ts +1 -1
- package/es/elements/ElementDamage/HiddenDamageFields.d.ts +1 -1
- package/es/elements/ElementDamage/RegisterFix.d.ts +1 -1
- package/es/elements/ElementDamage/SubmitButtons.d.ts +1 -1
- package/es/elements/ElementDamage/TransportElementSelect.d.ts +1 -1
- package/es/elements/ElementLookup.d.ts +1 -1
- package/es/elements/ElementLookupDialog/BarcodeScanner/DeadIcon.d.ts +1 -1
- package/es/elements/ElementLookupDialog/BarcodeScanner/Error.d.ts +1 -1
- package/es/elements/ElementLookupDialog/BarcodeScanner/index.d.ts +1 -1
- package/es/elements/ElementLookupDialog/HIDScanner/index.d.ts +1 -1
- package/es/elements/ElementLookupDialog/Manual/ManualForm.d.ts +1 -1
- package/es/elements/ElementLookupDialog/index.d.ts +1 -1
- package/es/elements/ProjectSelect.d.ts +1 -1
- package/package.json +5 -5
|
@@ -9,4 +9,4 @@ export type AppMenuArticle = {
|
|
|
9
9
|
export type AppMenuProps = {
|
|
10
10
|
dataObject: DataObject<AppMenuArticle>;
|
|
11
11
|
};
|
|
12
|
-
export declare function AppMenu({ dataObject }: AppMenuProps): import("react
|
|
12
|
+
export declare function AppMenu({ dataObject }: AppMenuProps): import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import { type ReactNode } from "react";
|
|
|
2
2
|
export type AppShellProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
export declare function AppShell({ children }: AppShellProps): import("react
|
|
5
|
+
export declare function AppShell({ children }: AppShellProps): import("react").JSX.Element;
|
|
@@ -3,14 +3,14 @@ export type ColorCardProps = Pick<React.HTMLAttributes<HTMLDivElement>, "id" | "
|
|
|
3
3
|
as?: "a" | "div" | "button" | "span" | "section" | "article";
|
|
4
4
|
href?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function ColorCard({ as: Component, children, className, href, ...other }: ColorCardProps): import("react
|
|
7
|
-
export declare function CardStepList({ children, className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react
|
|
8
|
-
export declare function CardStep({ children, className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react
|
|
6
|
+
export declare function ColorCard({ as: Component, children, className, href, ...other }: ColorCardProps): import("react").JSX.Element;
|
|
7
|
+
export declare function CardStepList({ children, className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
8
|
+
export declare function CardStep({ children, className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
9
9
|
export declare function CardColumn({ children, className, minor, ...other }: React.HTMLAttributes<HTMLDivElement> & {
|
|
10
10
|
minor?: boolean;
|
|
11
|
-
}): import("react
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
12
|
export declare function CardDetail({ children, className, label, primary, ...other }: React.HTMLAttributes<HTMLDivElement> & {
|
|
13
13
|
label?: React.ReactNode;
|
|
14
14
|
primary?: boolean;
|
|
15
|
-
}): import("react
|
|
16
|
-
export declare function CardLabel({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): import("react
|
|
15
|
+
}): import("react").JSX.Element;
|
|
16
|
+
export declare function CardLabel({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export type DateNavigatorProps = {
|
|
|
7
7
|
minDate?: Date | string | number;
|
|
8
8
|
maxDate?: Date | string | number;
|
|
9
9
|
};
|
|
10
|
-
export declare function DateNavigator({ date: dateProp, defaultDate, disableTodayButton, onChange, minDate: minDateProp, maxDate: maxDateProp, }: DateNavigatorProps): import("react
|
|
10
|
+
export declare function DateNavigator({ date: dateProp, defaultDate, disableTodayButton, onChange, minDate: minDateProp, maxDate: maxDateProp, }: DateNavigatorProps): import("react").JSX.Element;
|
|
@@ -41,4 +41,4 @@ type FileStoreDataObjectRecord = {
|
|
|
41
41
|
Damage: boolean;
|
|
42
42
|
DamageID: number | null;
|
|
43
43
|
};
|
|
44
|
-
export declare function FilePond<T extends FileStoreDataObjectRecord>({ dataObject, fields, onUploadStart, onFileUploaded, onFinishedUploads, onFileRemoved, onError, fieldName, filePondOptions, primKey, attachmentPrimKeys, whereClause, inputRef: inputRefProp, ...props }: FilePondProps<T>): import("react
|
|
44
|
+
export declare function FilePond<T extends FileStoreDataObjectRecord>({ dataObject, fields, onUploadStart, onFileUploaded, onFinishedUploads, onFileRemoved, onError, fieldName, filePondOptions, primKey, attachmentPrimKeys, whereClause, inputRef: inputRefProp, ...props }: FilePondProps<T>): import("react").JSX.Element;
|
|
@@ -10,5 +10,5 @@ interface Props {
|
|
|
10
10
|
* Absolutely-positioned draggable corner handle.
|
|
11
11
|
* Position is in CSS pixels relative to the nearest `position: relative` ancestor.
|
|
12
12
|
*/
|
|
13
|
-
export declare function DragHandle({ x, y, onChange, containerWidth, containerHeight }: Props): import("react
|
|
13
|
+
export declare function DragHandle({ x, y, onChange, containerWidth, containerHeight }: Props): import("react").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -12,5 +12,5 @@ interface Props {
|
|
|
12
12
|
* Tracks the pointer delta so both corners on this edge move by the same amount,
|
|
13
13
|
* preserving the edge angle.
|
|
14
14
|
*/
|
|
15
|
-
export declare function EdgeHandle({ x, y, axis, onChange }: Props): import("react
|
|
15
|
+
export declare function EdgeHandle({ x, y, axis, onChange }: Props): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -7,5 +7,5 @@ interface Props {
|
|
|
7
7
|
isSmall: boolean;
|
|
8
8
|
}
|
|
9
9
|
/** Renders a labelled Button on large screens and a Tooltip-wrapped IconButton on small ones. */
|
|
10
|
-
export declare function ResponsiveButton({ icon, label, onClick, disabled, isSmall }: Props): import("react
|
|
10
|
+
export declare function ResponsiveButton({ icon, label, onClick, disabled, isSmall }: Props): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -5,6 +5,6 @@ interface CropContextValue extends CropToolState {
|
|
|
5
5
|
onApply: (blob: Blob, actions: EditAction[]) => void;
|
|
6
6
|
onCancel: () => void;
|
|
7
7
|
}
|
|
8
|
-
export declare function CropProvider({ imageUrl, onApply, onCancel, children }: ToolProviderProps): import("react
|
|
8
|
+
export declare function CropProvider({ imageUrl, onApply, onCancel, children }: ToolProviderProps): import("react").JSX.Element;
|
|
9
9
|
export declare function useCropContext(): CropContextValue;
|
|
10
10
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Canvas-area overlay for the crop tool. Reads all state from CropContext. */
|
|
2
|
-
export declare function CropOverlay(): import("react
|
|
2
|
+
export declare function CropOverlay(): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Toolbar shown while the crop tool is active. Reads state from CropContext. */
|
|
2
|
-
export declare function CropToolbar(): import("react
|
|
2
|
+
export declare function CropToolbar(): import("react").JSX.Element;
|
|
@@ -5,6 +5,6 @@ interface RedactContextValue extends RedactToolState {
|
|
|
5
5
|
onApply: (blob: Blob, actions: EditAction[]) => void;
|
|
6
6
|
onCancel: () => void;
|
|
7
7
|
}
|
|
8
|
-
export declare function RedactProvider({ imageUrl, onApply, onCancel, children }: ToolProviderProps): import("react
|
|
8
|
+
export declare function RedactProvider({ imageUrl, onApply, onCancel, children }: ToolProviderProps): import("react").JSX.Element;
|
|
9
9
|
export declare function useRedactContext(): RedactContextValue;
|
|
10
10
|
export {};
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Uses an SVG layer over the image for drawing; blur preview uses SVG feGaussianBlur
|
|
4
4
|
* so the live preview matches the final applied output.
|
|
5
5
|
*/
|
|
6
|
-
export declare function RedactOverlay(): import("react
|
|
6
|
+
export declare function RedactOverlay(): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Toolbar shown while the redact tool is active. Reads state from RedactContext. */
|
|
2
|
-
export declare function RedactToolbar(): import("react
|
|
2
|
+
export declare function RedactToolbar(): import("react").JSX.Element;
|
|
@@ -16,5 +16,5 @@ interface Props {
|
|
|
16
16
|
* • 2-finger pinch + translate: simultaneous zoom + pan anchored at midpoint
|
|
17
17
|
* • 1-finger drag (when panEnabled): pan
|
|
18
18
|
*/
|
|
19
|
-
export declare function ZoomCanvas({ children, panEnabled }: Props): import("react
|
|
19
|
+
export declare function ZoomCanvas({ children, panEnabled }: Props): import("react").JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -2,5 +2,5 @@ interface Props {
|
|
|
2
2
|
disabled?: boolean;
|
|
3
3
|
isSmall?: boolean;
|
|
4
4
|
}
|
|
5
|
-
export declare function ZoomControls({ disabled, isSmall }: Props): import("react
|
|
5
|
+
export declare function ZoomControls({ disabled, isSmall }: Props): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./index.css";
|
|
2
|
-
export declare function LinkedList({ children, className, ...other }: React.HTMLProps<HTMLUListElement>): import("react
|
|
2
|
+
export declare function LinkedList({ children, className, ...other }: React.HTMLProps<HTMLUListElement>): import("react").JSX.Element;
|
|
3
3
|
export declare function LinkedListItem({ children, className, label, ...other }: React.HTMLProps<HTMLLIElement> & {
|
|
4
4
|
label: React.ReactNode;
|
|
5
|
-
}): import("react
|
|
5
|
+
}): import("react").JSX.Element;
|
|
6
6
|
export declare function Card({ as, children, className, ...other }: React.HTMLProps<HTMLDivElement> & {
|
|
7
7
|
as?: any;
|
|
8
|
-
}): import("react
|
|
8
|
+
}): import("react").JSX.Element;
|
|
@@ -5,4 +5,4 @@ export type MergeProgressDialogProps = {
|
|
|
5
5
|
getMergerId: () => Promise<string | number>;
|
|
6
6
|
mergeType?: "pdf" | "zip";
|
|
7
7
|
};
|
|
8
|
-
export declare function MergeProgressDialog({ open, onClose, getMergerId, mergeType }: MergeProgressDialogProps): import("react
|
|
8
|
+
export declare function MergeProgressDialog({ open, onClose, getMergerId, mergeType }: MergeProgressDialogProps): import("react").JSX.Element;
|
|
@@ -3,20 +3,20 @@ import React from "react";
|
|
|
3
3
|
export type PageBannerProps = React.HTMLProps<HTMLDivElement> & {
|
|
4
4
|
as?: "header" | "section" | "div";
|
|
5
5
|
};
|
|
6
|
-
export declare function PageBanner({ as, className, children, ...other }: PageBannerProps):
|
|
6
|
+
export declare function PageBanner({ as, className, children, ...other }: PageBannerProps): React.JSX.Element;
|
|
7
7
|
export type BannerImageProps = React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
|
|
8
8
|
export declare const BannerImage: React.ForwardRefExoticComponent<Omit<BannerImageProps, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
9
9
|
export type TabListProps = Pick<React.HTMLProps<HTMLDivElement>, "id" | "className" | "children"> & {
|
|
10
10
|
as?: "ul" | "ol" | "nav" | "div" | "span";
|
|
11
11
|
sticky?: boolean;
|
|
12
12
|
};
|
|
13
|
-
export declare function TabList({ as, className, children, sticky, ...other }: TabListProps):
|
|
13
|
+
export declare function TabList({ as, className, children, sticky, ...other }: TabListProps): React.JSX.Element;
|
|
14
14
|
export type TabProps = Pick<React.HTMLProps<HTMLDivElement>, "id" | "className" | "children"> & {
|
|
15
15
|
active?: boolean;
|
|
16
16
|
as?: "a" | "li" | "div" | "span";
|
|
17
17
|
};
|
|
18
|
-
export declare function Tab({ active, as, className, children, ...other }: TabProps):
|
|
18
|
+
export declare function Tab({ active, as, className, children, ...other }: TabProps): React.JSX.Element;
|
|
19
19
|
export type TitleProps = Pick<React.HTMLProps<HTMLDivElement>, "id" | "className" | "children"> & {
|
|
20
20
|
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div" | "span" | "p";
|
|
21
21
|
};
|
|
22
|
-
export declare function Title({ as, className, children, ...other }: TitleProps):
|
|
22
|
+
export declare function Title({ as, className, children, ...other }: TitleProps): React.JSX.Element;
|
|
@@ -3,5 +3,5 @@ type PdfViewerProps = {
|
|
|
3
3
|
url?: string;
|
|
4
4
|
file?: string | Blob | ArrayBuffer;
|
|
5
5
|
};
|
|
6
|
-
export declare function PdfViewer({ url, file }: PdfViewerProps): import("react
|
|
6
|
+
export declare function PdfViewer({ url, file }: PdfViewerProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -3,4 +3,4 @@ export type PortalProps = {
|
|
|
3
3
|
root?: string;
|
|
4
4
|
type?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare function Portal({ children, root, type }: PortalProps): import("react
|
|
6
|
+
export declare function Portal({ children, root, type }: PortalProps): import("react").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export type SidebarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
6
6
|
pullRight?: boolean;
|
|
7
7
|
shadow?: boolean;
|
|
8
8
|
};
|
|
9
|
-
export declare function Sidebar(props: SidebarProps): import("react
|
|
9
|
+
export declare function Sidebar(props: SidebarProps): import("react").JSX.Element;
|
|
@@ -19,4 +19,4 @@ export type SplitContainerProps = {
|
|
|
19
19
|
*/
|
|
20
20
|
id?: string;
|
|
21
21
|
};
|
|
22
|
-
export declare function SplitContainer({ className, children, direction, fixedPanel, panelClassName, defaultFixedSize, layoutVersion, min, max, id, }: SplitContainerProps):
|
|
22
|
+
export declare function SplitContainer({ className, children, direction, fixedPanel, panelClassName, defaultFixedSize, layoutVersion, min, max, id, }: SplitContainerProps): React.JSX.Element;
|
|
@@ -12,4 +12,4 @@ export type BreadcrumbItem = {
|
|
|
12
12
|
export type ToolbarBreadcrumbsProps = {
|
|
13
13
|
items: BreadcrumbItem[];
|
|
14
14
|
};
|
|
15
|
-
export declare function ToolbarBreadcrumbs({ items }: ToolbarBreadcrumbsProps): import("react
|
|
15
|
+
export declare function ToolbarBreadcrumbs({ items }: ToolbarBreadcrumbsProps): import("react").JSX.Element;
|
|
@@ -5,5 +5,5 @@ type DamageFormButtonsProps = {
|
|
|
5
5
|
handleDelete: () => void;
|
|
6
6
|
handleCancel: () => void;
|
|
7
7
|
};
|
|
8
|
-
export declare function DamageFormButtonsProps({ isEdit, loading, uploadingFile, handleDelete, handleCancel, }: DamageFormButtonsProps): import("react
|
|
8
|
+
export declare function DamageFormButtonsProps({ isEdit, loading, uploadingFile, handleDelete, handleCancel, }: DamageFormButtonsProps): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -12,5 +12,5 @@ type DescriptionInputProps = {
|
|
|
12
12
|
onCopyPrevDamage?: (value: DescriptionInputType) => void;
|
|
13
13
|
onChange?: (value: DescriptionInputType) => void;
|
|
14
14
|
};
|
|
15
|
-
export declare function DescriptionInput({ value, defaultValue, descriptionOptions, storageNamespace, onCopyPrevDamage, onChange, }: DescriptionInputProps): import("react
|
|
15
|
+
export declare function DescriptionInput({ value, defaultValue, descriptionOptions, storageNamespace, onCopyPrevDamage, onChange, }: DescriptionInputProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -3,6 +3,6 @@ type ElementDamagesItemProps = {
|
|
|
3
3
|
record: DamagesRecord;
|
|
4
4
|
linkToDamage: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare function ElementDamagesItem({ record, linkToDamage }: ElementDamagesItemProps): import("react
|
|
7
|
-
export declare function ElementDamagesHeader(): import("react
|
|
6
|
+
export declare function ElementDamagesItem({ record, linkToDamage }: ElementDamagesItemProps): import("react").JSX.Element;
|
|
7
|
+
export declare function ElementDamagesHeader(): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -7,5 +7,5 @@ type DuplicateElementDamageDialogProps = {
|
|
|
7
7
|
loading: boolean;
|
|
8
8
|
linkToDamage: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare function DuplicateElementDamageDialog({ open, onClose, record, onRegisterAnyway, loading, linkToDamage, }: DuplicateElementDamageDialogProps): import("react
|
|
10
|
+
export declare function DuplicateElementDamageDialog({ open, onClose, record, onRegisterAnyway, loading, linkToDamage, }: DuplicateElementDamageDialogProps): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -3,5 +3,5 @@ type DuplicatePhoneViewItemProps = {
|
|
|
3
3
|
record: DamagesRecord;
|
|
4
4
|
linkToDamage: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare function DuplicatePhoneViewItem({ record, linkToDamage }: DuplicatePhoneViewItemProps): import("react
|
|
6
|
+
export declare function DuplicatePhoneViewItem({ record, linkToDamage }: DuplicatePhoneViewItemProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -6,5 +6,5 @@ type ElementNumberTextFieldProps = {
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
sx?: SxProps<Theme>;
|
|
8
8
|
};
|
|
9
|
-
export declare function ElementNumberTextField({ value, defaultValue, onChange, disabled, sx }: ElementNumberTextFieldProps): import("react
|
|
9
|
+
export declare function ElementNumberTextField({ value, defaultValue, onChange, disabled, sx }: ElementNumberTextFieldProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -2,5 +2,5 @@ type HiddenDamageFieldsProps = {
|
|
|
2
2
|
primKey: string;
|
|
3
3
|
ID: number;
|
|
4
4
|
};
|
|
5
|
-
export declare function HiddenDamageFields({ primKey, ID }: HiddenDamageFieldsProps): import("react
|
|
5
|
+
export declare function HiddenDamageFields({ primKey, ID }: HiddenDamageFieldsProps): import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -10,5 +10,5 @@ type RegisterFixProps = {
|
|
|
10
10
|
onFix?: (ID: number) => void;
|
|
11
11
|
edit?: boolean;
|
|
12
12
|
};
|
|
13
|
-
export declare function RegisterFix({ value, defaultValue, onFix, edit }: RegisterFixProps): import("react
|
|
13
|
+
export declare function RegisterFix({ value, defaultValue, onFix, edit }: RegisterFixProps): import("react").JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -16,5 +16,5 @@ type SubmitButtonsProps = {
|
|
|
16
16
|
onCancel?: () => void;
|
|
17
17
|
onSubmit?: () => void;
|
|
18
18
|
};
|
|
19
|
-
export declare function SubmitButtons({ edit, loading, onDelete, onCancel, onSubmit, sx }: SubmitButtonsProps): import("react
|
|
19
|
+
export declare function SubmitButtons({ edit, loading, onDelete, onCancel, onSubmit, sx }: SubmitButtonsProps): import("react").JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -3,5 +3,5 @@ type TransportElementSelectProps = {
|
|
|
3
3
|
elements: TransportElementsRecord[];
|
|
4
4
|
onSelect: (element: TransportElementsRecord) => void;
|
|
5
5
|
};
|
|
6
|
-
export declare function TransportElementSelect({ elements, onSelect }: TransportElementSelectProps): import("react
|
|
6
|
+
export declare function TransportElementSelect({ elements, onSelect }: TransportElementSelectProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -19,4 +19,4 @@ export type ElementLookupProps = {
|
|
|
19
19
|
onChange?: (value: Element | null) => void;
|
|
20
20
|
onDialogChange?: (open: boolean) => void;
|
|
21
21
|
};
|
|
22
|
-
export declare function ElementLookup({ value, defaultValue, ref, elementIDRequired, openLookupDialogIcon, onChange, onDialogChange, }: ElementLookupProps): import("react
|
|
22
|
+
export declare function ElementLookup({ value, defaultValue, ref, elementIDRequired, openLookupDialogIcon, onChange, onDialogChange, }: ElementLookupProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type SvgIconProps } from "@mui/material";
|
|
2
|
-
export declare function Dead(props: SvgIconProps): import("react
|
|
2
|
+
export declare function Dead(props: SvgIconProps): import("react").JSX.Element;
|
|
@@ -7,4 +7,4 @@ declare global {
|
|
|
7
7
|
export type BarcodeScannerProps = {
|
|
8
8
|
onRead: (barcode: string) => void;
|
|
9
9
|
};
|
|
10
|
-
export declare function BarcodeScanner({ onRead }: BarcodeScannerProps): import("react
|
|
10
|
+
export declare function BarcodeScanner({ onRead }: BarcodeScannerProps): import("react").JSX.Element;
|
|
@@ -10,4 +10,4 @@ export type AddElementManualFormProps = {
|
|
|
10
10
|
defaultProject?: ProjectRecordBase;
|
|
11
11
|
allowEmptyElement?: boolean;
|
|
12
12
|
};
|
|
13
|
-
export declare function AddElementManualForm({ onAdd, mode, defaultProject, allowEmptyElement, }: AddElementManualFormProps): import("react
|
|
13
|
+
export declare function AddElementManualForm({ onAdd, mode, defaultProject, allowEmptyElement, }: AddElementManualFormProps): import("react").JSX.Element;
|
|
@@ -21,5 +21,5 @@ export type ElementLookupDialogMultiModeProps = ElementLookupDialogSharedProps &
|
|
|
21
21
|
onAdd: (element: AddElement[]) => Promise<void>;
|
|
22
22
|
};
|
|
23
23
|
export type ElementLookupDialogProps = ElementLookupDialogSingleModeProps | ElementLookupDialogMultiModeProps;
|
|
24
|
-
export declare function ElementLookupDialog(props: ElementLookupDialogProps): import("react
|
|
24
|
+
export declare function ElementLookupDialog(props: ElementLookupDialogProps): import("react").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -19,5 +19,5 @@ type ProjectSelectProps = {
|
|
|
19
19
|
sx?: SxProps<Theme> | undefined;
|
|
20
20
|
report?: boolean;
|
|
21
21
|
};
|
|
22
|
-
export declare function ProjectSelect({ className, disabled, id, names, onChange, readOnly, required, defaultValue, value, label, sx, report, }: ProjectSelectProps): import("react
|
|
22
|
+
export declare function ProjectSelect({ className, disabled, id, names, onChange, readOnly, required, defaultValue, value, label, sx, report, }: ProjectSelectProps): import("react").JSX.Element;
|
|
23
23
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olenbetong/synergi-react",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"description": "Standalone React component for SynergiWeb and Partner Portal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"react-pdf": "^10.4.1",
|
|
45
45
|
"@olenbetong/appframe-core": "2.11.10",
|
|
46
46
|
"@olenbetong/appframe-data": "1.5.0",
|
|
47
|
-
"@olenbetong/appframe-react": "1.
|
|
48
|
-
"@olenbetong/appframe-mui": "6.
|
|
47
|
+
"@olenbetong/appframe-react": "1.22.0",
|
|
48
|
+
"@olenbetong/appframe-mui": "6.3.0"
|
|
49
49
|
},
|
|
50
50
|
"repository": {
|
|
51
51
|
"type": "git",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"react": "19.2.
|
|
63
|
-
"react-dom": "19.2.
|
|
62
|
+
"react": "19.2.7",
|
|
63
|
+
"react-dom": "19.2.7",
|
|
64
64
|
"replace-in-files": "^3.0.0"
|
|
65
65
|
},
|
|
66
66
|
"optionalDependencies": {},
|