@grapadigital/shared-app-modules 0.0.215 → 0.0.217
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/chuncks/{format.util.BvyPnfZB.js → format.util.CesJhvUo.js} +1 -1
- package/dist/chuncks/organization-users.service.B9edFs4F.js +14 -0
- package/dist/chuncks/use-debounce.hook.TyZMbuZv.js +42 -0
- package/dist/chuncks/{youtube-icon.component.GLRb_270.js → youtube-icon.component.BSdD-jlw.js} +1476 -1380
- package/dist/components.d.ts +17 -1
- package/dist/components.js +180 -180
- package/dist/configs.d.ts +2 -0
- package/dist/constants.js +1 -1
- package/dist/dictionaries.js +4 -4
- package/dist/events.js +1 -1
- package/dist/hooks.d.ts +2 -0
- package/dist/hooks.js +24 -15
- package/dist/providers.d.ts +2 -0
- package/dist/utils.js +4 -4
- package/package.json +9 -9
- package/dist/chuncks/organization-users.service.CUZsF7go.js +0 -15
- package/dist/chuncks/use-shared-app-modules.hook.uZhjsTQ0.js +0 -53
package/dist/components.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ declare interface Approval {
|
|
|
93
93
|
approvedAt: string;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
export declare function AsyncBoundary({ suspenseFallback: SuspenseFallback, errorFallback
|
|
96
|
+
export declare function AsyncBoundary({ suspenseFallback: SuspenseFallback, errorFallback, children, }: AsyncBoundaryProps): JSX.Element;
|
|
97
97
|
|
|
98
98
|
declare interface AsyncBoundaryProps extends React.PropsWithChildren {
|
|
99
99
|
suspenseFallback?: React.ComponentType;
|
|
@@ -274,6 +274,15 @@ declare interface DeliveryScope {
|
|
|
274
274
|
twitter?: number | null;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
+
declare interface ErrorBoundaryProps extends React.PropsWithChildren {
|
|
278
|
+
errorFallback?: React.ComponentType<{
|
|
279
|
+
error?: Error | unknown;
|
|
280
|
+
onRetry?: () => void;
|
|
281
|
+
}>;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export declare function ErrorBundary({ errorFallback: ErrorFallback, children, }: ErrorBoundaryProps): JSX.Element;
|
|
285
|
+
|
|
277
286
|
export declare function ErrorCard({ icon: Icon, title, description, onRetry, tip, className, ...props }: ErrorCardProps): JSX.Element;
|
|
278
287
|
|
|
279
288
|
declare interface ErrorCardProps extends React.ComponentProps<typeof Card> {
|
|
@@ -992,6 +1001,13 @@ declare interface SpeedDialButtonProps {
|
|
|
992
1001
|
declare interface SupplierInterface extends UserInterface {
|
|
993
1002
|
}
|
|
994
1003
|
|
|
1004
|
+
export declare const SuppliersSelectInput: default_2.ForwardRefExoticComponent<Omit<SuppliersSelectInputProps, "ref"> & default_2.RefAttributes<HTMLInputElement>>;
|
|
1005
|
+
|
|
1006
|
+
declare interface SuppliersSelectInputProps extends Omit<default_2.ComponentProps<typeof CommandInput>, "onValueChange"> {
|
|
1007
|
+
queryKey?: string[];
|
|
1008
|
+
onValueChange: (supplier: SupplierInterface) => void;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
995
1011
|
declare const Switch: React_2.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
996
1012
|
|
|
997
1013
|
export declare function TableSkeleton({ columns, rows, hasActions, actionsCount, }: TableSkeletonProps): JSX.Element;
|