beca-ui 2.0.19-beta.2 → 2.0.19-beta.21
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/beca-ui.js +144205 -112035
- package/dist/components/WorkflowForm/WorkflowForm.d.ts +1 -1
- package/dist/components/{BecaCard → WorkflowForm/components/DynamicAttachTable/components}/BecaCard.d.ts +1 -1
- package/dist/components/{BecaCard → WorkflowForm/components/DynamicAttachTable/components}/BecaCard.types.d.ts +1 -1
- package/dist/components/WorkflowForm/components/SendUserWorkflowActionsModal.d.ts +1 -1
- package/dist/components/WorkflowForm/services/WorkflowService.d.ts +1 -5
- package/dist/components/index.d.ts +0 -1
- package/dist/main.css +1 -1
- package/dist/models/Core/Result.d.ts +1 -1
- package/package.json +2 -1
- package/dist/components/BecaCard/index.d.ts +0 -2
- /package/dist/{theme → components/WorkflowForm/theme}/Colors.d.ts +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BecaCardProps } from ".";
|
|
1
|
+
import { BecaCardProps } from "./BecaCard.types";
|
|
2
2
|
export declare const BecaCard: (props: BecaCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties } from "react";
|
|
2
|
-
import { DivProps } from "
|
|
2
|
+
import { DivProps } from "../../../models/ui";
|
|
3
3
|
export type StatusType = "success" | "warning" | "danger" | "info";
|
|
4
4
|
export interface BecaCardStatusType {
|
|
5
5
|
status: StatusType;
|
|
@@ -6,7 +6,7 @@ type Props = {
|
|
|
6
6
|
isVisible: boolean;
|
|
7
7
|
onCancel: () => void;
|
|
8
8
|
action: SendUserWorkflowActionsModel;
|
|
9
|
-
goBack
|
|
9
|
+
goBack?: () => void;
|
|
10
10
|
};
|
|
11
11
|
declare function SendUserWorkflowActionsModal({ userWorkflowId, workflow, isVisible, onCancel, action, goBack, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default SendUserWorkflowActionsModal;
|
|
@@ -28,11 +28,7 @@ type SearchParamsType = {
|
|
|
28
28
|
};
|
|
29
29
|
export default class WorkflowService {
|
|
30
30
|
static search(props: SearchParamsType): Promise<Result<QueryResult<WorkflowModel>>>;
|
|
31
|
-
static getWorkflow(id: number, isCheckingPermission?: boolean, isAdmin?: boolean): Promise<
|
|
32
|
-
success: boolean;
|
|
33
|
-
value: undefined;
|
|
34
|
-
errors: string[];
|
|
35
|
-
}>;
|
|
31
|
+
static getWorkflow(id: number, isCheckingPermission?: boolean, isAdmin?: boolean): Promise<Result<WorkflowModel>>;
|
|
36
32
|
static activate(id: number): Promise<Result<WorkflowModel> | {
|
|
37
33
|
hasErrors: boolean;
|
|
38
34
|
success: boolean;
|