@vulcanjs/react-ui 0.6.8-alpha.1 → 0.6.9-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/VulcanComponents/Consumer.d.ts +0 -0
- package/dist/components/VulcanComponents/Consumer.d.ts.map +0 -0
- package/dist/components/VulcanComponents/Context.d.ts +0 -0
- package/dist/components/VulcanComponents/Context.d.ts.map +0 -0
- package/dist/components/VulcanComponents/Dummy.d.ts +0 -0
- package/dist/components/VulcanComponents/Dummy.d.ts.map +0 -0
- package/dist/components/VulcanComponents/Provider.d.ts +0 -0
- package/dist/components/VulcanComponents/Provider.d.ts.map +0 -0
- package/dist/components/VulcanComponents/defaultVulcanComponents/index.d.ts +0 -0
- package/dist/components/VulcanComponents/defaultVulcanComponents/index.d.ts.map +0 -0
- package/dist/components/VulcanComponents/index.d.ts +0 -0
- package/dist/components/VulcanComponents/index.d.ts.map +0 -0
- package/dist/components/VulcanComponents/typings.d.ts +0 -0
- package/dist/components/VulcanComponents/typings.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/Consumer.d.ts +0 -0
- package/dist/components/VulcanCurrentUser/Consumer.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/Context.d.ts +0 -0
- package/dist/components/VulcanCurrentUser/Context.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/Provider.d.ts +0 -0
- package/dist/components/VulcanCurrentUser/Provider.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/index.d.ts +0 -0
- package/dist/components/VulcanCurrentUser/index.d.ts.map +0 -0
- package/dist/components/core/LoadingButton.d.ts +0 -0
- package/dist/components/core/LoadingButton.d.ts.map +0 -0
- package/dist/components/core/MutationButton.d.ts +0 -0
- package/dist/components/core/MutationButton.d.ts.map +0 -0
- package/dist/components/core/index.d.ts +0 -0
- package/dist/components/core/index.d.ts.map +0 -0
- package/dist/components/core/typings.d.ts +0 -0
- package/dist/components/core/typings.d.ts.map +0 -0
- package/dist/components/form/core/Form/Form.d.ts +0 -0
- package/dist/components/form/core/Form/Form.d.ts.map +0 -0
- package/dist/components/form/core/Form/fields.d.ts +0 -0
- package/dist/components/form/core/Form/fields.d.ts.map +0 -0
- package/dist/components/form/core/Form/index.d.ts +0 -0
- package/dist/components/form/core/Form/index.d.ts.map +0 -0
- package/dist/components/form/core/Form/typings.d.ts +0 -0
- package/dist/components/form/core/Form/typings.d.ts.map +0 -0
- package/dist/components/form/core/Form/utils.d.ts +0 -0
- package/dist/components/form/core/Form/utils.d.ts.map +0 -0
- package/dist/components/form/core/FormContainer.d.ts +0 -0
- package/dist/components/form/core/FormContainer.d.ts.map +0 -0
- package/dist/components/form/core/FormContext.d.ts +0 -0
- package/dist/components/form/core/FormContext.d.ts.map +0 -0
- package/dist/components/form/core/index.d.ts +0 -0
- package/dist/components/form/core/index.d.ts.map +0 -0
- package/dist/components/form/hooks/useBlockTransition/block.d.ts +0 -0
- package/dist/components/form/hooks/useBlockTransition/block.d.ts.map +0 -0
- package/dist/components/form/hooks/useBlockTransition/useBlockTransition.d.ts +0 -0
- package/dist/components/form/hooks/useBlockTransition/useBlockTransition.d.ts.map +0 -0
- package/dist/components/form/hooks/useWarnOnUnsaved/index.d.ts +0 -0
- package/dist/components/form/hooks/useWarnOnUnsaved/index.d.ts.map +0 -0
- package/dist/components/form/hooks/useWarnOnUnsaved/useWarnOnUnsaved.d.ts +0 -0
- package/dist/components/form/hooks/useWarnOnUnsaved/useWarnOnUnsaved.d.ts.map +0 -0
- package/dist/components/form/index.d.ts +1 -1
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/typings.d.ts +2 -0
- package/dist/components/form/typings.d.ts.map +1 -1
- package/dist/components/form/utils/formFragments.d.ts +0 -0
- package/dist/components/form/utils/formFragments.d.ts.map +0 -0
- package/dist/components/form/utils/index.d.ts +0 -0
- package/dist/components/form/utils/index.d.ts.map +0 -0
- package/dist/components/form/utils/path_utils.d.ts +0 -0
- package/dist/components/form/utils/path_utils.d.ts.map +0 -0
- package/dist/components/form/utils/schema_utils.d.ts +0 -0
- package/dist/components/form/utils/schema_utils.d.ts.map +0 -0
- package/dist/components/form/utils/ui_utils.d.ts +0 -0
- package/dist/components/form/utils/ui_utils.d.ts.map +0 -0
- package/dist/components/form/utils/utils.d.ts +0 -0
- package/dist/components/form/utils/utils.d.ts.map +0 -0
- package/dist/componentsHelpers.d.ts +0 -0
- package/dist/componentsHelpers.d.ts.map +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js +0 -76
- package/dist/index.js.map +1 -1
- package/dist/testing/ExpectedErrorBoundary.d.ts +0 -0
- package/dist/testing/ExpectedErrorBoundary.d.ts.map +0 -0
- package/dist/testing.d.ts +0 -0
- package/dist/testing.d.ts.map +0 -0
- package/dist/testing.js +0 -0
- package/dist/testing.js.map +0 -0
- package/package.json +6 -6
- package/dist/components/Datatable/Datatable.d.ts +0 -39
- package/dist/components/Datatable/DatatableCell.d.ts +0 -26
- package/dist/components/Datatable/DatatableContents.d.ts +0 -53
- package/dist/components/Datatable/DatatableFilter.d.ts +0 -33
- package/dist/components/Datatable/DatatableHeader.d.ts +0 -23
- package/dist/components/Datatable/DatatableRow.d.ts +0 -25
- package/dist/components/Datatable/DatatableSelect.d.ts +0 -11
- package/dist/components/Datatable/DatatableSorter.d.ts +0 -8
- package/dist/components/Datatable/DatatableSubmitSelected.d.ts +0 -6
- package/dist/components/Datatable/others/DeleteButton.d.ts +0 -13
- package/dist/components/Datatable/others/EditButton.d.ts +0 -20
- package/dist/components/Datatable/others/NewButton.d.ts +0 -20
- package/dist/components/HeadTags.d.ts +0 -13
- package/dist/components/LoadingButton.d.ts +0 -11
- package/dist/components/MutationButton.d.ts +0 -20
- package/dist/components/VulcanComponents/defaultVulcanComponents/cellComponents.d.ts +0 -3
- package/dist/components/VulcanComponents/defaultVulcanComponents/coreComponents.d.ts +0 -3
- package/dist/components/VulcanComponents/defaultVulcanComponents/datatableComponents.d.ts +0 -3
- package/dist/components/VulcanComponents/defaultVulcanComponents/formComponents.d.ts +0 -3
- package/dist/components/bootstrap/Dropdown.d.ts +0 -24
- package/dist/components/bootstrap/Modal.d.ts +0 -25
- package/dist/components/bootstrap/ModalTrigger.d.ts +0 -18
- package/dist/components/bootstrap/TooltipTrigger.d.ts +0 -6
- package/dist/components/cell/CardItem.d.ts +0 -14
- package/dist/components/cell/CardItemArray.d.ts +0 -6
- package/dist/components/cell/CardItemDate.d.ts +0 -5
- package/dist/components/cell/CardItemDefault.d.ts +0 -5
- package/dist/components/cell/CardItemHTML.d.ts +0 -5
- package/dist/components/cell/CardItemImage.d.ts +0 -6
- package/dist/components/cell/CardItemNumber.d.ts +0 -5
- package/dist/components/cell/CardItemObject.d.ts +0 -3
- package/dist/components/cell/CardItemRelationHasMany.d.ts +0 -3
- package/dist/components/cell/CardItemRelationHasOne.d.ts +0 -3
- package/dist/components/cell/CardItemRelationItem.d.ts +0 -15
- package/dist/components/cell/CardItemString.d.ts +0 -5
- package/dist/components/cell/CardItemURL.d.ts +0 -6
- package/dist/components/core/Button.d.ts +0 -4
- package/dist/components/core/Loading.d.ts +0 -3
- package/dist/components/form/FieldErrors.d.ts +0 -6
- package/dist/components/form/Form/Form.d.ts +0 -4
- package/dist/components/form/Form/fields.d.ts +0 -22
- package/dist/components/form/Form/index.d.ts +0 -3
- package/dist/components/form/Form/typings.d.ts +0 -76
- package/dist/components/form/Form/utils.d.ts +0 -2
- package/dist/components/form/FormComponent.d.ts +0 -31
- package/dist/components/form/FormComponentInner.d.ts +0 -32
- package/dist/components/form/FormComponentLoader.d.ts +0 -15
- package/dist/components/form/FormContainer.d.ts +0 -18
- package/dist/components/form/FormContext.d.ts +0 -25
- package/dist/components/form/FormElement.d.ts +0 -4
- package/dist/components/form/FormError.d.ts +0 -11
- package/dist/components/form/FormErrors.d.ts +0 -3
- package/dist/components/form/FormGroup.d.ts +0 -30
- package/dist/components/form/FormIntl.d.ts +0 -15
- package/dist/components/form/FormLayout.d.ts +0 -10
- package/dist/components/form/FormNestedArray.d.ts +0 -26
- package/dist/components/form/FormNestedArrayLayout.d.ts +0 -18
- package/dist/components/form/FormNestedDivider.d.ts +0 -13
- package/dist/components/form/FormNestedItem.d.ts +0 -52
- package/dist/components/form/FormNestedObject.d.ts +0 -35
- package/dist/components/form/FormOptionLabel.d.ts +0 -5
- package/dist/components/form/FormSubmit.d.ts +0 -38
- package/dist/components/form/core/Button.d.ts +0 -4
- package/dist/components/form/core/FormComponent.d.ts +0 -31
- package/dist/components/form/core/FormComponentInner.d.ts +0 -32
- package/dist/components/form/core/FormComponentLoader.d.ts +0 -15
- package/dist/components/form/core/FormGroup.d.ts +0 -30
- package/dist/components/form/core/Loading.d.ts +0 -3
- package/dist/components/form/elements/FieldErrors.d.ts +0 -5
- package/dist/components/form/elements/FormElement.d.ts +0 -4
- package/dist/components/form/elements/FormError.d.ts +0 -11
- package/dist/components/form/elements/FormErrors.d.ts +0 -3
- package/dist/components/form/elements/FormLayout.d.ts +0 -10
- package/dist/components/form/elements/FormSubmit.d.ts +0 -38
- package/dist/components/form/elements/index.d.ts +0 -7
- package/dist/components/form/inputs/AutocompleteMultiple.d.ts +0 -6
- package/dist/components/form/inputs/BasicInputs.d.ts +0 -16
- package/dist/components/form/inputs/Checkboxgroup.d.ts +0 -9
- package/dist/components/form/inputs/FormItem.d.ts +0 -4
- package/dist/components/form/inputs/FormOptionLabel.d.ts +0 -7
- package/dist/components/form/inputs/RadioGroup.d.ts +0 -4
- package/dist/components/form/inputs/SelectInputs.d.ts +0 -5
- package/dist/components/form/inputs/consts.d.ts +0 -9
- package/dist/components/form/inputs/index.d.ts +0 -8
- package/dist/components/form/intl/FormIntl.d.ts +0 -15
- package/dist/components/form/modules/formFragments.d.ts +0 -16
- package/dist/components/form/modules/path_utils.d.ts +0 -6
- package/dist/components/form/modules/schema_utils.d.ts +0 -14
- package/dist/components/form/modules/utils.d.ts +0 -17
- package/dist/components/form/nested/FormNestedArray.d.ts +0 -26
- package/dist/components/form/nested/FormNestedArrayLayout.d.ts +0 -18
- package/dist/components/form/nested/FormNestedDivider.d.ts +0 -13
- package/dist/components/form/nested/FormNestedItem.d.ts +0 -52
- package/dist/components/form/nested/FormNestedObject.d.ts +0 -35
- package/dist/components/form/nested/index.d.ts +0 -6
- package/dist/components/form/ui_utils.d.ts +0 -3
- package/dist/components/form/useBlockTransition/block.d.ts +0 -4
- package/dist/components/form/useBlockTransition/useBlockTransition.d.ts +0 -5
- package/dist/components/form/useWarnOnUnsaved/index.d.ts +0 -2
- package/dist/components/form/useWarnOnUnsaved/useWarnOnUnsaved.d.ts +0 -5
- package/dist/decorators/autocomplete.d.ts +0 -8
- package/dist/decorators/index.d.ts +0 -4
File without changes
|
File without changes
|
package/dist/testing.d.ts
CHANGED
File without changes
|
package/dist/testing.d.ts.map
CHANGED
File without changes
|
package/dist/testing.js
CHANGED
File without changes
|
package/dist/testing.js.map
CHANGED
File without changes
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vulcanjs/react-ui",
|
3
|
-
"version": "0.6.
|
3
|
+
"version": "0.6.9-alpha.0",
|
4
4
|
"description": "Vulcan UI components for React",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"files": [
|
@@ -29,12 +29,12 @@
|
|
29
29
|
"license": "MIT",
|
30
30
|
"dependencies": {
|
31
31
|
"@vulcanjs/core": "^0.6.7",
|
32
|
-
"@vulcanjs/graphql": "^0.6.
|
33
|
-
"@vulcanjs/i18n": "^0.6.
|
32
|
+
"@vulcanjs/graphql": "^0.6.9-alpha.0",
|
33
|
+
"@vulcanjs/i18n": "^0.6.9-alpha.0",
|
34
34
|
"@vulcanjs/model": "^0.6.7",
|
35
35
|
"@vulcanjs/permissions": "^0.6.7",
|
36
|
-
"@vulcanjs/react-hooks": "^0.6.
|
37
|
-
"@vulcanjs/react-i18n": "^0.6.
|
36
|
+
"@vulcanjs/react-hooks": "^0.6.9-alpha.0",
|
37
|
+
"@vulcanjs/react-i18n": "^0.6.9-alpha.0",
|
38
38
|
"@vulcanjs/schema": "^0.6.7",
|
39
39
|
"@vulcanjs/utils": "^0.6.7",
|
40
40
|
"classnames": "^2.3.1",
|
@@ -55,5 +55,5 @@
|
|
55
55
|
"publishConfig": {
|
56
56
|
"access": "public"
|
57
57
|
},
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "5fb6957e5120be4966ff00c8918a7efaa83afc22"
|
59
59
|
}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import { VulcanModel } from "@vulcanjs/model";
|
3
|
-
import { VulcanGraphqlModel } from "@vulcanjs/graphql";
|
4
|
-
export interface DatatableProps<TData = any> {
|
5
|
-
model: VulcanGraphqlModel;
|
6
|
-
initialState?: any;
|
7
|
-
useUrlState?: boolean;
|
8
|
-
title?: string;
|
9
|
-
columns?: Array<any>;
|
10
|
-
data?: Array<TData>;
|
11
|
-
options?: any;
|
12
|
-
showEdit?: boolean;
|
13
|
-
showDelete?: boolean;
|
14
|
-
showNew?: boolean;
|
15
|
-
showSearch?: boolean;
|
16
|
-
newFormProps?: any;
|
17
|
-
editFormProps?: any;
|
18
|
-
rowClass?: any;
|
19
|
-
location?: any;
|
20
|
-
push: (options: {
|
21
|
-
search?: string;
|
22
|
-
}) => void;
|
23
|
-
currentUser?: any;
|
24
|
-
modalProps?: any;
|
25
|
-
onSubmitSelected?: any;
|
26
|
-
}
|
27
|
-
export declare const Datatable: (props: DatatableProps) => JSX.Element;
|
28
|
-
export declare const DatatableLayout: ({ model, children, }: {
|
29
|
-
model: VulcanModel;
|
30
|
-
children: React.ReactNode;
|
31
|
-
}) => JSX.Element;
|
32
|
-
export declare const DatatableAbove: (props: any) => JSX.Element;
|
33
|
-
export declare const DatatableAboveLeft: (props: any) => JSX.Element;
|
34
|
-
export declare const DatatableAboveRight: (props: any) => JSX.Element;
|
35
|
-
export declare const DatatableAboveSearchInput: (props: any) => JSX.Element;
|
36
|
-
export declare const DatatableAboveLayout: ({ children }: {
|
37
|
-
children: any;
|
38
|
-
}) => JSX.Element;
|
39
|
-
//# sourceMappingURL=Datatable.d.ts.map
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { VulcanModel } from "@vulcanjs/model";
|
2
|
-
import { VulcanUser } from "@vulcanjs/permissions";
|
3
|
-
import { VulcanDocument } from "@vulcanjs/schema";
|
4
|
-
import React from "react";
|
5
|
-
import { PossibleVulcanComponents } from "../VulcanComponents";
|
6
|
-
export declare const DatatableCell: ({ column, document, currentUser, model, }: {
|
7
|
-
column: {
|
8
|
-
component?: React.ComponentType<any>;
|
9
|
-
componentName?: keyof PossibleVulcanComponents;
|
10
|
-
name?: string;
|
11
|
-
label?: string;
|
12
|
-
};
|
13
|
-
document?: VulcanDocument | undefined;
|
14
|
-
currentUser?: VulcanUser | undefined;
|
15
|
-
model: VulcanModel;
|
16
|
-
}) => JSX.Element;
|
17
|
-
export declare const DatatableCellLayout: ({ children, ...otherProps }: {
|
18
|
-
[x: string]: any;
|
19
|
-
children: any;
|
20
|
-
}) => JSX.Element;
|
21
|
-
export declare const DatatableDefaultCell: ({ column, document, ...rest }: {
|
22
|
-
[x: string]: any;
|
23
|
-
column: any;
|
24
|
-
document: any;
|
25
|
-
}) => JSX.Element;
|
26
|
-
//# sourceMappingURL=DatatableCell.d.ts.map
|
@@ -1,53 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { VulcanGraphqlModel } from "@vulcanjs/graphql";
|
3
|
-
import { DatatableSelectControlledProps } from "./DatatableSelect";
|
4
|
-
export interface DatatableContentsProps extends Partial<DatatableSelectControlledProps> {
|
5
|
-
title?: string;
|
6
|
-
model: VulcanGraphqlModel;
|
7
|
-
datatableData?: Array<any>;
|
8
|
-
results?: Array<any>;
|
9
|
-
columns?: Array<any>;
|
10
|
-
loading?: boolean;
|
11
|
-
loadMore?: any;
|
12
|
-
networkStatus?: any;
|
13
|
-
count?: number;
|
14
|
-
totalCount?: number;
|
15
|
-
showEdit?: boolean;
|
16
|
-
showDelete?: boolean;
|
17
|
-
showNew?: boolean;
|
18
|
-
currentUser?: any;
|
19
|
-
toggleSort?: any;
|
20
|
-
currentSort?: any;
|
21
|
-
submitFilters?: any;
|
22
|
-
currentFilters?: any;
|
23
|
-
modalProps?: any;
|
24
|
-
error?: any;
|
25
|
-
showSelect?: boolean;
|
26
|
-
}
|
27
|
-
export declare const DatatableContents: (props: DatatableContentsProps) => JSX.Element;
|
28
|
-
export declare const DatatableContentsLayout: ({ children }: {
|
29
|
-
children: any;
|
30
|
-
}) => JSX.Element;
|
31
|
-
export declare const DatatableContentsInnerLayout: ({ children }: {
|
32
|
-
children: any;
|
33
|
-
}) => JSX.Element;
|
34
|
-
export declare const DatatableContentsHeadLayout: ({ children }: {
|
35
|
-
children: any;
|
36
|
-
}) => JSX.Element;
|
37
|
-
export declare const DatatableContentsBodyLayout: ({ children }: {
|
38
|
-
children: any;
|
39
|
-
}) => JSX.Element;
|
40
|
-
export declare const DatatableContentsMoreLayout: ({ children }: {
|
41
|
-
children: any;
|
42
|
-
}) => JSX.Element;
|
43
|
-
export declare const DatatableLoadMoreButton: ({ count, totalCount, children, ...otherProps }: {
|
44
|
-
[x: string]: any;
|
45
|
-
count: any;
|
46
|
-
totalCount: any;
|
47
|
-
children: any;
|
48
|
-
}) => JSX.Element;
|
49
|
-
export declare const DatatableTitle: ({ title }: {
|
50
|
-
title: any;
|
51
|
-
}) => JSX.Element;
|
52
|
-
export declare const DatatableEmpty: () => JSX.Element;
|
53
|
-
//# sourceMappingURL=DatatableContents.d.ts.map
|
@@ -1,33 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import type { DocumentNode } from "@apollo/client";
|
3
|
-
export declare const DatatableFilter: (props: any) => JSX.Element;
|
4
|
-
export declare const DatatableFilterContentsWithData: (props: {
|
5
|
-
query: DocumentNode | ((options: {
|
6
|
-
mode: "static";
|
7
|
-
}) => DocumentNode);
|
8
|
-
options?: any;
|
9
|
-
}) => JSX.Element;
|
10
|
-
export declare const DatatableFilterContents: (props: any) => JSX.Element;
|
11
|
-
export declare type CheckboxOperator = "_in";
|
12
|
-
export declare const DatatableFilterCheckboxes: ({ options, filters, setFilters, }: {
|
13
|
-
options?: any;
|
14
|
-
filters?: {
|
15
|
-
_in: any[];
|
16
|
-
} | undefined;
|
17
|
-
setFilters?: any;
|
18
|
-
}) => JSX.Element;
|
19
|
-
export declare const DatatableFilterBooleans: ({ filters, setFilters, }: {
|
20
|
-
filters?: {
|
21
|
-
_eq: never[];
|
22
|
-
} | undefined;
|
23
|
-
setFilters: any;
|
24
|
-
}) => JSX.Element;
|
25
|
-
export declare const DatatableFilterDates: ({ filters, setFilters }: {
|
26
|
-
filters: any;
|
27
|
-
setFilters: any;
|
28
|
-
}) => JSX.Element;
|
29
|
-
export declare const DatatableFilterNumbers: ({ filters, setFilters }: {
|
30
|
-
filters: any;
|
31
|
-
setFilters: any;
|
32
|
-
}) => JSX.Element;
|
33
|
-
//# sourceMappingURL=DatatableFilter.d.ts.map
|
@@ -1,23 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { VulcanModel } from "@vulcanjs/model";
|
3
|
-
export interface DatatableColumnDefinition {
|
4
|
-
name: string;
|
5
|
-
label?: string;
|
6
|
-
options?: any;
|
7
|
-
filterComponent?: any;
|
8
|
-
sortable?: boolean;
|
9
|
-
filterable?: boolean;
|
10
|
-
}
|
11
|
-
export declare const DatatableHeader: ({ model, column, toggleSort, currentSort, submitFilters, currentFilters, }: {
|
12
|
-
model: VulcanModel;
|
13
|
-
column: DatatableColumnDefinition;
|
14
|
-
toggleSort?: any;
|
15
|
-
currentSort?: any;
|
16
|
-
submitFilters?: any;
|
17
|
-
currentFilters?: any;
|
18
|
-
}) => JSX.Element;
|
19
|
-
export declare const DatatableHeaderCellLayout: ({ children, ...otherProps }: {
|
20
|
-
[x: string]: any;
|
21
|
-
children: any;
|
22
|
-
}) => JSX.Element;
|
23
|
-
//# sourceMappingURL=DatatableHeader.d.ts.map
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { VulcanGraphqlModel } from "@vulcanjs/graphql";
|
3
|
-
import { VulcanUser } from "@vulcanjs/permissions";
|
4
|
-
import { VulcanDocument } from "@vulcanjs/schema";
|
5
|
-
export declare const DatatableRow: (props: {
|
6
|
-
model: VulcanGraphqlModel;
|
7
|
-
columns: Array<any>;
|
8
|
-
document: VulcanDocument;
|
9
|
-
showEdit?: boolean;
|
10
|
-
showDelete?: boolean;
|
11
|
-
currentUser?: VulcanUser;
|
12
|
-
options?: any;
|
13
|
-
editFormOptions?: any;
|
14
|
-
editFormProps?: any;
|
15
|
-
rowClass?: any;
|
16
|
-
showSelect?: any;
|
17
|
-
toggleItem?: any;
|
18
|
-
selectedItems?: any;
|
19
|
-
modalProps?: any;
|
20
|
-
}) => JSX.Element;
|
21
|
-
export declare const DatatableRowLayout: ({ children, ...otherProps }: {
|
22
|
-
[x: string]: any;
|
23
|
-
children: any;
|
24
|
-
}) => JSX.Element;
|
25
|
-
//# sourceMappingURL=DatatableRow.d.ts.map
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { VulcanDocument } from "@vulcanjs/schema";
|
3
|
-
export interface DatatableSelectControlledProps {
|
4
|
-
selectedItems: Array<string>;
|
5
|
-
toggleItem: (itemId: string) => void;
|
6
|
-
}
|
7
|
-
export interface DatatableSelectProps extends DatatableSelectControlledProps {
|
8
|
-
document: VulcanDocument;
|
9
|
-
}
|
10
|
-
export declare const DatatableSelect: ({ toggleItem, selectedItems, document, }: DatatableSelectProps) => JSX.Element;
|
11
|
-
//# sourceMappingURL=DatatableSelect.d.ts.map
|
@@ -1,13 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { VulcanGraphqlModel } from "@vulcanjs/graphql";
|
3
|
-
import { VulcanUser } from "@vulcanjs/permissions";
|
4
|
-
import { DocumentNode } from "graphql";
|
5
|
-
export declare const DeleteButton: (props: {
|
6
|
-
label?: string;
|
7
|
-
fragment?: DocumentNode;
|
8
|
-
documentId?: string;
|
9
|
-
mutationOptions?: any;
|
10
|
-
currentUser?: VulcanUser;
|
11
|
-
model: VulcanGraphqlModel;
|
12
|
-
}) => JSX.Element;
|
13
|
-
//# sourceMappingURL=DeleteButton.d.ts.map
|
@@ -1,20 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { VulcanDocument } from "@vulcanjs/schema";
|
3
|
-
export declare const EditButton: ({ style, variant, label, size, showId, modalProps, formProps, component, ...props }: {
|
4
|
-
[x: string]: any;
|
5
|
-
style?: string | undefined;
|
6
|
-
variant: any;
|
7
|
-
label: any;
|
8
|
-
size: any;
|
9
|
-
showId: any;
|
10
|
-
modalProps: any;
|
11
|
-
formProps: any;
|
12
|
-
component: any;
|
13
|
-
}) => JSX.Element;
|
14
|
-
export declare const EditForm: ({ closeModal, successCallback, removeSuccessCallback, formProps, ...props }: {
|
15
|
-
successCallback?: ((document: VulcanDocument) => void) | undefined;
|
16
|
-
closeModal: () => void;
|
17
|
-
removeSuccessCallback?: ((document: VulcanDocument) => void) | undefined;
|
18
|
-
formProps?: any;
|
19
|
-
}) => JSX.Element;
|
20
|
-
//# sourceMappingURL=EditButton.d.ts.map
|
@@ -1,20 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { VulcanModel } from "@vulcanjs/model";
|
3
|
-
import { VulcanDocument } from "@vulcanjs/schema";
|
4
|
-
import type { SmartFormProps } from "../../form";
|
5
|
-
import type { ButtonProps } from "../../core/Button";
|
6
|
-
export declare const NewButton: ({ size, label, style, formProps, ...props }: {
|
7
|
-
model: VulcanModel;
|
8
|
-
label?: string | undefined;
|
9
|
-
formProps?: Partial<import("../../form").FormContainerProps> | undefined;
|
10
|
-
} & Pick<any, "size"> & {
|
11
|
-
style?: ButtonProps["variant"];
|
12
|
-
} & NewFormProps) => JSX.Element;
|
13
|
-
export interface NewFormProps {
|
14
|
-
model: VulcanModel;
|
15
|
-
successCallback?: (document: VulcanDocument) => void;
|
16
|
-
closeModal: () => void;
|
17
|
-
formProps?: Partial<SmartFormProps>;
|
18
|
-
}
|
19
|
-
export declare const NewForm: ({ model, closeModal, successCallback, formProps, }: NewFormProps) => JSX.Element;
|
20
|
-
//# sourceMappingURL=NewButton.d.ts.map
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { PureComponent } from "react";
|
2
|
-
export interface HeadTagsProps {
|
3
|
-
url: string;
|
4
|
-
title: string;
|
5
|
-
description?: string;
|
6
|
-
image: string;
|
7
|
-
siteUrl: string;
|
8
|
-
faviconUrl?: string;
|
9
|
-
}
|
10
|
-
export declare class HeadTags extends PureComponent<HeadTagsProps> {
|
11
|
-
render(): JSX.Element;
|
12
|
-
}
|
13
|
-
//# sourceMappingURL=HeadTags.d.ts.map
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import type { ButtonProps } from "./core/Button";
|
3
|
-
export interface LoadingButtonProps extends ButtonProps {
|
4
|
-
loading?: boolean;
|
5
|
-
label?: string | React.ReactNode;
|
6
|
-
onClick?: any;
|
7
|
-
children?: React.ReactNode;
|
8
|
-
className?: string;
|
9
|
-
}
|
10
|
-
export declare const LoadingButton: ({ loading, label, onClick, children, className, ...rest }: LoadingButtonProps & any) => JSX.Element;
|
11
|
-
//# sourceMappingURL=LoadingButton.d.ts.map
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import { DocumentNode } from "graphql";
|
3
|
-
import { MutationHookOptions } from "@apollo/client";
|
4
|
-
import { LoadingButtonProps } from "./LoadingButton";
|
5
|
-
export interface MutationButtonProps {
|
6
|
-
mutationOptions?: MutationHookOptions;
|
7
|
-
mutation: string | DocumentNode;
|
8
|
-
mutationArguments?: MutationHookOptions<any>["variables"];
|
9
|
-
submitCallback?: (mutationArgumentsFromProps: MutationHookOptions<any>["variables"]) => void | {
|
10
|
-
mutationArguments: MutationHookOptions<any>["variables"];
|
11
|
-
} | Promise<void | {
|
12
|
-
mutationArguments: MutationHookOptions<any>["variables"];
|
13
|
-
}>;
|
14
|
-
successCallback?: (res: any) => void | Promise<void>;
|
15
|
-
errorCallback?: (err: any) => void | Promise<void>;
|
16
|
-
loadingButtonProps?: LoadingButtonProps;
|
17
|
-
label?: string | React.ReactNode;
|
18
|
-
}
|
19
|
-
export declare const MutationButton: (props: MutationButtonProps) => JSX.Element;
|
20
|
-
//# sourceMappingURL=MutationButton.d.ts.map
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import PropTypes from "prop-types";
|
2
|
-
declare const BootstrapDropdown: {
|
3
|
-
({ label, labelId, trigger, menuItems, menuContents, variant, buttonProps, ...dropdownProps }: {
|
4
|
-
[x: string]: any;
|
5
|
-
label: any;
|
6
|
-
labelId: any;
|
7
|
-
trigger: any;
|
8
|
-
menuItems: any;
|
9
|
-
menuContents: any;
|
10
|
-
variant?: string | undefined;
|
11
|
-
buttonProps: any;
|
12
|
-
}): any;
|
13
|
-
propTypes: {
|
14
|
-
labelId: PropTypes.Requireable<string>;
|
15
|
-
label: PropTypes.Requireable<string>;
|
16
|
-
trigger: PropTypes.Requireable<object>;
|
17
|
-
menuContents: PropTypes.Requireable<object>;
|
18
|
-
menuItems: PropTypes.Requireable<any[]>;
|
19
|
-
variant: PropTypes.Requireable<string>;
|
20
|
-
buttonProps: PropTypes.Requireable<object>;
|
21
|
-
};
|
22
|
-
};
|
23
|
-
export default BootstrapDropdown;
|
24
|
-
//# sourceMappingURL=Dropdown.d.ts.map
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import PropTypes from "prop-types";
|
3
|
-
export declare const BootstrapModal: {
|
4
|
-
({ children, size, show, onHide, title, showCloseButton, header, footer, ...rest }: {
|
5
|
-
[x: string]: any;
|
6
|
-
children: any;
|
7
|
-
size?: "lg" | undefined;
|
8
|
-
show?: boolean | undefined;
|
9
|
-
onHide: any;
|
10
|
-
title: any;
|
11
|
-
showCloseButton?: boolean | undefined;
|
12
|
-
header: any;
|
13
|
-
footer: any;
|
14
|
-
}): JSX.Element;
|
15
|
-
propTypes: {
|
16
|
-
size: PropTypes.Requireable<string>;
|
17
|
-
show: PropTypes.Requireable<boolean>;
|
18
|
-
showCloseButton: PropTypes.Requireable<boolean>;
|
19
|
-
onHide: PropTypes.Requireable<(...args: any[]) => any>;
|
20
|
-
title: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
|
21
|
-
header: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
|
22
|
-
footer: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
|
23
|
-
};
|
24
|
-
};
|
25
|
-
//# sourceMappingURL=Modal.d.ts.map
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
export declare const ModalTrigger: (props: {
|
3
|
-
openCallback?: () => void;
|
4
|
-
closeCallback?: () => void;
|
5
|
-
onClick?: () => void;
|
6
|
-
trigger?: any;
|
7
|
-
component?: any;
|
8
|
-
children?: any;
|
9
|
-
label?: string | React.ReactNode;
|
10
|
-
size?: string;
|
11
|
-
className?: string;
|
12
|
-
dialogClassName?: string;
|
13
|
-
title?: string | React.ReactNode;
|
14
|
-
modalProps?: any;
|
15
|
-
header?: any;
|
16
|
-
footer?: any;
|
17
|
-
}) => JSX.Element;
|
18
|
-
//# sourceMappingURL=ModalTrigger.d.ts.map
|
@@ -1,14 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { VulcanGraphqlModel } from "@vulcanjs/graphql";
|
3
|
-
import { VulcanDocument } from "@vulcanjs/schema";
|
4
|
-
export interface CellProps {
|
5
|
-
nestingLevel?: number;
|
6
|
-
value?: any;
|
7
|
-
typeName?: string;
|
8
|
-
contents?: any;
|
9
|
-
fieldName?: string;
|
10
|
-
model?: VulcanGraphqlModel;
|
11
|
-
document?: VulcanDocument;
|
12
|
-
}
|
13
|
-
export declare const CardItemSwitcher: (props: CellProps) => JSX.Element;
|
14
|
-
//# sourceMappingURL=CardItem.d.ts.map
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { VulcanGraphqlModel } from "@vulcanjs/graphql";
|
3
|
-
import { VulcanDocument } from "@vulcanjs/schema";
|
4
|
-
export declare const CardItemRelationItem: ({ relatedDocument, relatedModel, }: {
|
5
|
-
relatedDocument: VulcanDocument;
|
6
|
-
relatedModel: VulcanGraphqlModel;
|
7
|
-
}) => JSX.Element;
|
8
|
-
export declare const DefaultCell: ({ document, label }: {
|
9
|
-
document: any;
|
10
|
-
label: any;
|
11
|
-
}) => JSX.Element;
|
12
|
-
export declare const UserCell: ({ document }: {
|
13
|
-
document: any;
|
14
|
-
}) => JSX.Element;
|
15
|
-
//# sourceMappingURL=CardItemRelationItem.d.ts.map
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { FieldGroup } from "@vulcanjs/schema";
|
2
|
-
import { FormField } from "../typings";
|
3
|
-
import { FormProps, FormState } from "./typings";
|
4
|
-
import { VulcanSchema } from "@vulcanjs/schema";
|
5
|
-
import { IntlProviderContextValue } from "@vulcanjs/react-i18n";
|
6
|
-
import { VulcanModel } from "@vulcanjs/model";
|
7
|
-
export declare const getLabel: (model: VulcanModel, flatSchema: any, context: IntlProviderContextValue, fieldName: string, fieldLocale?: string | undefined) => any;
|
8
|
-
export declare const getFieldNames: (props: Pick<FormProps, "fields" | "addFields" | "removeFields">, currentDocument: any, optionsFromArgs: {
|
9
|
-
excludeHiddenFields?: boolean;
|
10
|
-
excludeRemovedFields?: boolean;
|
11
|
-
replaceIntlFields?: boolean;
|
12
|
-
addExtraFields?: boolean;
|
13
|
-
schema?: VulcanSchema;
|
14
|
-
mutableFields?: Array<any>;
|
15
|
-
}) => any[];
|
16
|
-
interface GroupWithFields extends FieldGroup {
|
17
|
-
fields: Array<FormField>;
|
18
|
-
}
|
19
|
-
declare type FormSchemaState = Pick<FormState, "currentDocument" | "schema" | "flatSchema" | "originalSchema">;
|
20
|
-
export declare const getFieldGroups: (props: FormProps, state: FormSchemaState, context: IntlProviderContextValue, mutableFields: Array<string>, formatMessage: any) => GroupWithFields[];
|
21
|
-
export {};
|
22
|
-
//# sourceMappingURL=fields.d.ts.map
|