@vulcanjs/react-ui 0.6.6-y.1 → 0.6.6-y.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/VulcanComponents/Consumer.d.ts.map +0 -0
- package/dist/components/VulcanComponents/Context.d.ts.map +0 -0
- package/dist/components/VulcanComponents/Dummy.d.ts.map +1 -1
- package/dist/components/VulcanComponents/Provider.d.ts.map +1 -1
- package/dist/components/VulcanComponents/defaultVulcanComponents/index.d.ts +7 -316
- package/dist/components/VulcanComponents/defaultVulcanComponents/index.d.ts.map +1 -1
- package/dist/components/VulcanComponents/index.d.ts +1 -0
- package/dist/components/VulcanComponents/index.d.ts.map +1 -1
- package/dist/components/VulcanComponents/typings.d.ts +60 -91
- package/dist/components/VulcanComponents/typings.d.ts.map +1 -1
- package/dist/components/VulcanCurrentUser/Consumer.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/Context.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/Provider.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/index.d.ts.map +0 -0
- package/dist/components/core/LoadingButton.d.ts +11 -0
- package/dist/components/core/LoadingButton.d.ts.map +1 -0
- package/dist/components/core/MutationButton.d.ts +20 -0
- package/dist/components/core/MutationButton.d.ts.map +1 -0
- package/dist/components/{form/core/Button.d.ts → core/typings.d.ts} +2 -3
- package/dist/components/core/typings.d.ts.map +1 -0
- package/dist/components/form/core/Form/Form.d.ts.map +1 -1
- package/dist/components/form/core/Form/fields.d.ts.map +0 -0
- package/dist/components/form/core/Form/index.d.ts.map +0 -0
- package/dist/components/form/core/Form/typings.d.ts.map +0 -0
- package/dist/components/form/core/Form/utils.d.ts.map +0 -0
- package/dist/components/form/core/FormComponent.d.ts +2 -27
- package/dist/components/form/core/FormComponentInner.d.ts +2 -30
- package/dist/components/form/core/FormContainer.d.ts.map +1 -1
- package/dist/components/form/core/FormContext.d.ts.map +0 -0
- package/dist/components/form/core/index.d.ts +2 -5
- package/dist/components/form/core/index.d.ts.map +1 -1
- package/dist/components/form/hooks/useBlockTransition/block.d.ts.map +0 -0
- package/dist/components/form/hooks/useBlockTransition/useBlockTransition.d.ts.map +0 -0
- package/dist/components/form/hooks/useWarnOnUnsaved/index.d.ts.map +0 -0
- package/dist/components/form/hooks/useWarnOnUnsaved/useWarnOnUnsaved.d.ts.map +0 -0
- package/dist/components/form/index.d.ts +3 -3
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/inputs/AutocompleteMultiple.d.ts +1 -1
- package/dist/components/form/inputs/BasicInputs.d.ts +1 -1
- package/dist/components/form/inputs/Checkboxgroup.d.ts +1 -1
- package/dist/components/form/inputs/FormItem.d.ts +1 -1
- package/dist/components/form/inputs/FormOptionLabel.d.ts +1 -1
- package/dist/components/form/inputs/RadioGroup.d.ts +1 -1
- package/dist/components/form/inputs/SelectInputs.d.ts +1 -1
- package/dist/components/form/typings.d.ts +53 -1
- package/dist/components/form/typings.d.ts.map +1 -1
- package/dist/components/form/utils/formFragments.d.ts.map +0 -0
- package/dist/components/form/utils/path_utils.d.ts.map +0 -0
- package/dist/components/form/utils/schema_utils.d.ts.map +0 -0
- package/dist/components/form/utils/utils.d.ts.map +0 -0
- package/dist/componentsHelpers.d.ts.map +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2987 -11804
- package/dist/index.js.map +1 -1
- package/package.json +2 -4
- package/dist/components/Datatable/Datatable.d.ts.map +0 -1
- package/dist/components/Datatable/DatatableCell.d.ts.map +0 -1
- package/dist/components/Datatable/DatatableContents.d.ts.map +0 -1
- package/dist/components/Datatable/DatatableFilter.d.ts.map +0 -1
- package/dist/components/Datatable/DatatableHeader.d.ts.map +0 -1
- package/dist/components/Datatable/DatatableRow.d.ts.map +0 -1
- package/dist/components/Datatable/DatatableSelect.d.ts.map +0 -1
- package/dist/components/Datatable/DatatableSorter.d.ts.map +0 -1
- package/dist/components/Datatable/DatatableSubmitSelected.d.ts.map +0 -1
- package/dist/components/Datatable/others/DeleteButton.d.ts.map +0 -1
- package/dist/components/Datatable/others/EditButton.d.ts.map +0 -1
- package/dist/components/Datatable/others/NewButton.d.ts.map +0 -1
- package/dist/components/HeadTags.d.ts.map +0 -1
- package/dist/components/LoadingButton.d.ts.map +0 -1
- package/dist/components/MutationButton.d.ts.map +0 -1
- package/dist/components/VulcanComponents/defaultVulcanComponents/cellComponents.d.ts.map +0 -1
- package/dist/components/VulcanComponents/defaultVulcanComponents/coreComponents.d.ts.map +0 -1
- package/dist/components/VulcanComponents/defaultVulcanComponents/datatableComponents.d.ts.map +0 -1
- package/dist/components/VulcanComponents/defaultVulcanComponents/formComponents.d.ts.map +0 -1
- package/dist/components/bootstrap/Dropdown.d.ts.map +0 -1
- package/dist/components/bootstrap/Modal.d.ts.map +0 -1
- package/dist/components/bootstrap/ModalTrigger.d.ts.map +0 -1
- package/dist/components/bootstrap/TooltipTrigger.d.ts.map +0 -1
- package/dist/components/cell/CardItem.d.ts.map +0 -1
- package/dist/components/cell/CardItemArray.d.ts.map +0 -1
- package/dist/components/cell/CardItemDate.d.ts.map +0 -1
- package/dist/components/cell/CardItemDefault.d.ts.map +0 -1
- package/dist/components/cell/CardItemHTML.d.ts.map +0 -1
- package/dist/components/cell/CardItemImage.d.ts.map +0 -1
- package/dist/components/cell/CardItemNumber.d.ts.map +0 -1
- package/dist/components/cell/CardItemObject.d.ts.map +0 -1
- package/dist/components/cell/CardItemRelationHasMany.d.ts.map +0 -1
- package/dist/components/cell/CardItemRelationHasOne.d.ts.map +0 -1
- package/dist/components/cell/CardItemRelationItem.d.ts.map +0 -1
- package/dist/components/cell/CardItemString.d.ts.map +0 -1
- package/dist/components/cell/CardItemURL.d.ts.map +0 -1
- package/dist/components/core/Button.d.ts.map +0 -1
- package/dist/components/core/Loading.d.ts.map +0 -1
- 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/FormComponent.d.ts.map +0 -1
- package/dist/components/form/core/FormComponentInner.d.ts.map +0 -1
- package/dist/components/form/core/FormComponentLoader.d.ts.map +0 -1
- package/dist/components/form/core/FormGroup.d.ts.map +0 -1
- package/dist/components/form/core/Loading.d.ts +0 -3
- package/dist/components/form/elements/FieldErrors.d.ts.map +0 -1
- package/dist/components/form/elements/FormElement.d.ts.map +0 -1
- package/dist/components/form/elements/FormError.d.ts.map +0 -1
- package/dist/components/form/elements/FormErrors.d.ts.map +0 -1
- package/dist/components/form/elements/FormLayout.d.ts.map +0 -1
- package/dist/components/form/elements/FormSubmit.d.ts.map +0 -1
- package/dist/components/form/elements/index.d.ts.map +0 -1
- package/dist/components/form/inputs/AutocompleteMultiple.d.ts.map +0 -1
- package/dist/components/form/inputs/BasicInputs.d.ts.map +0 -1
- package/dist/components/form/inputs/Checkboxgroup.d.ts.map +0 -1
- package/dist/components/form/inputs/FormItem.d.ts.map +0 -1
- package/dist/components/form/inputs/FormOptionLabel.d.ts.map +0 -1
- package/dist/components/form/inputs/RadioGroup.d.ts.map +0 -1
- package/dist/components/form/inputs/SelectInputs.d.ts.map +0 -1
- package/dist/components/form/inputs/consts.d.ts.map +0 -1
- package/dist/components/form/inputs/index.d.ts.map +0 -1
- package/dist/components/form/intl/FormIntl.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/components/form/nested/FormNestedArrayLayout.d.ts.map +0 -1
- package/dist/components/form/nested/FormNestedDivider.d.ts.map +0 -1
- package/dist/components/form/nested/FormNestedItem.d.ts.map +0 -1
- package/dist/components/form/nested/FormNestedObject.d.ts.map +0 -1
- package/dist/components/form/nested/index.d.ts.map +0 -1
- 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/components/form/utils/ui_utils.d.ts.map +0 -1
- package/dist/decorators/autocomplete.d.ts +0 -8
- package/dist/decorators/index.d.ts +0 -4
File without changes
|
File without changes
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dummy.d.ts","sourceRoot":"","sources":["../../../components/VulcanComponents/Dummy.tsx"],"names":[],"mappings":";AACA,MAAM,WAAW,UAAU;
|
1
|
+
{"version":3,"file":"Dummy.d.ts","sourceRoot":"","sources":["../../../components/VulcanComponents/Dummy.tsx"],"names":[],"mappings":";AACA,MAAM,WAAW,UAAU;CAAI;AAE/B,eAAO,MAAM,KAAK,mBAMjB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../components/VulcanComponents/Provider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../components/VulcanComponents/Provider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAUrD,eAAO,MAAM,wBAAwB;;cAKzB,MAAM,SAAS;iBAgC1B,CAAC"}
|
@@ -1,319 +1,10 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export
|
6
|
-
export declare const
|
7
|
-
|
8
|
-
|
9
|
-
FormComponentText: any;
|
10
|
-
FormComponentPassword: any;
|
11
|
-
FormComponentNumber: any;
|
12
|
-
FormComponentUrl: any;
|
13
|
-
FormComponentEmail: any;
|
14
|
-
FormComponentTextarea: any;
|
15
|
-
FormComponentCheckbox: any;
|
16
|
-
FormComponentCheckboxGroup: any;
|
17
|
-
FormComponentRadioGroup: any;
|
18
|
-
FormComponentSelect: any;
|
19
|
-
FormComponentSelectMultiple: any;
|
20
|
-
FormComponentDateTime: any;
|
21
|
-
FormComponentDate: any;
|
22
|
-
FormComponentTime: any;
|
23
|
-
FormComponentStaticText: any;
|
24
|
-
FormComponentLikert: any;
|
25
|
-
FormComponentAutocomplete: any;
|
26
|
-
FormComponentMultiAutocomplete: any;
|
27
|
-
FormComponent: any;
|
28
|
-
FormComponentInner: any;
|
29
|
-
FormComponentLoader: any;
|
30
|
-
FormElement: any;
|
31
|
-
FormGroup: any;
|
32
|
-
FormGroupLayout: any;
|
33
|
-
FormGroupHeader: any;
|
34
|
-
FormIntlLayout: any;
|
35
|
-
FormIntlItemLayout: any;
|
36
|
-
FormIntl: any;
|
37
|
-
FormErrors: any;
|
38
|
-
FormSubmit: import("react").ComponentType<import("../../form/elements").FormSubmitProps>;
|
39
|
-
FormLayout: any;
|
40
|
-
FormNestedArray: any;
|
41
|
-
FormNestedArrayInnerLayout: any;
|
42
|
-
FormNestedArrayLayout: any;
|
43
|
-
FormNestedItem: any;
|
44
|
-
IconAdd: any;
|
45
|
-
IconRemove: any;
|
46
|
-
FieldErrors: any;
|
47
|
-
FormNestedDivider: any;
|
48
|
-
FormNestedItemLayout: any;
|
49
|
-
FormNestedObjectLayout: any;
|
50
|
-
FormNestedObject: any;
|
51
|
-
FormOptionLabel: import("react").ComponentType<import("../../form/inputs").FormOptionLabelProps>;
|
52
|
-
Form: any;
|
53
|
-
SmartForm: any;
|
54
|
-
FormItem: any;
|
55
|
-
__not_initialized?: boolean | undefined;
|
56
|
-
Loading: any;
|
57
|
-
FormattedMessage: any;
|
58
|
-
Alert: any;
|
59
|
-
Button: import("react").ComponentType<any>;
|
60
|
-
Icon: any;
|
61
|
-
MutationButton: import("react").ComponentType<import("../../MutationButton").MutationButtonProps>;
|
62
|
-
LoadingButton: import("react").ComponentType<any>;
|
63
|
-
HeadTags: import("react").ComponentType<any>;
|
64
|
-
TooltipTrigger: import("react").ComponentType<any>;
|
65
|
-
Dropdown: import("react").ComponentType<any>;
|
66
|
-
Modal: {
|
67
|
-
({ children, size, show, onHide, title, showCloseButton, header, footer, ...rest }: {
|
68
|
-
[x: string]: any;
|
69
|
-
children: any;
|
70
|
-
size?: "lg" | undefined;
|
71
|
-
show?: boolean | undefined;
|
72
|
-
onHide: any;
|
73
|
-
title: any;
|
74
|
-
showCloseButton?: boolean | undefined;
|
75
|
-
header: any;
|
76
|
-
footer: any;
|
77
|
-
}): JSX.Element;
|
78
|
-
propTypes: {
|
79
|
-
size: import("prop-types").Requireable<string>;
|
80
|
-
show: import("prop-types").Requireable<boolean>;
|
81
|
-
showCloseButton: import("prop-types").Requireable<boolean>;
|
82
|
-
onHide: import("prop-types").Requireable<(...args: any[]) => any>;
|
83
|
-
title: import("prop-types").Requireable<string | import("prop-types").ReactElementLike>;
|
84
|
-
header: import("prop-types").Requireable<string | import("prop-types").ReactElementLike>;
|
85
|
-
footer: import("prop-types").Requireable<string | import("prop-types").ReactElementLike>;
|
86
|
-
};
|
87
|
-
};
|
88
|
-
ModalTrigger: (props: {
|
89
|
-
openCallback?: (() => void) | undefined;
|
90
|
-
closeCallback?: (() => void) | undefined;
|
91
|
-
onClick?: (() => void) | undefined;
|
92
|
-
trigger?: any;
|
93
|
-
component?: any;
|
94
|
-
children?: any;
|
95
|
-
label?: import("react").ReactNode;
|
96
|
-
size?: string | undefined;
|
97
|
-
className?: string | undefined;
|
98
|
-
dialogClassName?: string | undefined;
|
99
|
-
title?: import("react").ReactNode;
|
100
|
-
modalProps?: any;
|
101
|
-
header?: any;
|
102
|
-
footer?: any;
|
103
|
-
}) => JSX.Element;
|
104
|
-
CardItemSwitcher: (props: import("../../cell/CardItem").CellProps) => JSX.Element;
|
105
|
-
CardItem: (props: import("../../cell/CardItem").CellProps) => JSX.Element;
|
106
|
-
DefaultCell: ({ document, label }: {
|
107
|
-
document: any;
|
108
|
-
label: any;
|
109
|
-
}) => JSX.Element;
|
110
|
-
UserCell: ({ document }: {
|
111
|
-
document: any;
|
112
|
-
}) => JSX.Element;
|
113
|
-
CardItemArray: ({ nestingLevel, value, }: {
|
114
|
-
nestingLevel?: number | undefined;
|
115
|
-
value: any;
|
116
|
-
}) => JSX.Element;
|
117
|
-
CardItemDate: ({ value }: {
|
118
|
-
value: any;
|
119
|
-
}) => JSX.Element;
|
120
|
-
CardItemDefault: ({ value }: {
|
121
|
-
value?: any;
|
122
|
-
}) => JSX.Element;
|
123
|
-
CardItemHTML: ({ value }: {
|
124
|
-
value: any;
|
125
|
-
}) => JSX.Element;
|
126
|
-
CardItemImage: ({ value, force }: {
|
127
|
-
value: any;
|
128
|
-
force?: boolean | undefined;
|
129
|
-
}) => JSX.Element;
|
130
|
-
CardItemNumber: ({ value }: {
|
131
|
-
value?: any;
|
132
|
-
}) => JSX.Element;
|
133
|
-
CardItemObject: (props: any) => JSX.Element;
|
134
|
-
CardItemRelationHasMany: ({ relatedDocument: relatedDocuments, ...rest }: any) => JSX.Element;
|
135
|
-
CardItemRelationHasOne: ({ ...rest }: any) => JSX.Element;
|
136
|
-
CardItemRelationItem: ({ relatedDocument, relatedModel, }: {
|
137
|
-
relatedDocument: import("@vulcanjs/schema").VulcanDocument;
|
138
|
-
relatedModel: import("@vulcanjs/graphql").VulcanGraphqlModel;
|
139
|
-
}) => JSX.Element;
|
140
|
-
CardItemString: ({ string }: {
|
141
|
-
string: any;
|
142
|
-
}) => JSX.Element;
|
143
|
-
CardItemURL: ({ value, force, }: {
|
144
|
-
value?: any;
|
145
|
-
force?: boolean | undefined;
|
146
|
-
}) => JSX.Element;
|
147
|
-
Datatable: (props: import("../../Datatable/Datatable").DatatableProps<any>) => JSX.Element;
|
148
|
-
DatatableAbove: (props: any) => JSX.Element;
|
149
|
-
DatatableAboveLayout: ({ children }: {
|
150
|
-
children: any;
|
151
|
-
}) => JSX.Element;
|
152
|
-
DatatableAboveLeft: (props: any) => JSX.Element;
|
153
|
-
DatatableAboveRight: (props: any) => JSX.Element;
|
154
|
-
DatatableAboveSearchInput: (props: any) => JSX.Element;
|
155
|
-
DatatableLayout: ({ model, children, }: {
|
156
|
-
model: import("@vulcanjs/model").VulcanModel<import("@vulcanjs/schema").VulcanSchema<{
|
157
|
-
[key: string]: any;
|
158
|
-
}>>;
|
159
|
-
children: import("react").ReactNode;
|
160
|
-
}) => JSX.Element;
|
161
|
-
DatatableContents: (props: import("../../Datatable/DatatableContents").DatatableContentsProps) => JSX.Element;
|
162
|
-
DatatableContentsBodyLayout: ({ children }: {
|
163
|
-
children: any;
|
164
|
-
}) => JSX.Element;
|
165
|
-
DatatableContentsHeadLayout: ({ children }: {
|
166
|
-
children: any;
|
167
|
-
}) => JSX.Element;
|
168
|
-
DatatableContentsInnerLayout: ({ children }: {
|
169
|
-
children: any;
|
170
|
-
}) => JSX.Element;
|
171
|
-
DatatableContentsLayout: ({ children }: {
|
172
|
-
children: any;
|
173
|
-
}) => JSX.Element;
|
174
|
-
DatatableContentsMoreLayout: ({ children }: {
|
175
|
-
children: any;
|
176
|
-
}) => JSX.Element;
|
177
|
-
DatatableEmpty: () => JSX.Element;
|
178
|
-
DatatableLoadMoreButton: ({ count, totalCount, children, ...otherProps }: {
|
179
|
-
[x: string]: any;
|
180
|
-
count: any;
|
181
|
-
totalCount: any;
|
182
|
-
children: any;
|
183
|
-
}) => JSX.Element;
|
184
|
-
DatatableTitle: ({ title }: {
|
185
|
-
title: any;
|
186
|
-
}) => JSX.Element;
|
187
|
-
DatatableHeader: ({ model, column, toggleSort, currentSort, submitFilters, currentFilters, }: {
|
188
|
-
model: import("@vulcanjs/model").VulcanModel<import("@vulcanjs/schema").VulcanSchema<{
|
189
|
-
[key: string]: any;
|
190
|
-
}>>;
|
191
|
-
column: import("../../Datatable/DatatableHeader").DatatableColumnDefinition;
|
192
|
-
toggleSort?: any;
|
193
|
-
currentSort?: any;
|
194
|
-
submitFilters?: any;
|
195
|
-
currentFilters?: any;
|
196
|
-
}) => JSX.Element;
|
197
|
-
DatatableHeaderCellLayout: ({ children, ...otherProps }: {
|
198
|
-
[x: string]: any;
|
199
|
-
children: any;
|
200
|
-
}) => JSX.Element;
|
201
|
-
DatatableRow: (props: {
|
202
|
-
model: import("@vulcanjs/graphql").VulcanGraphqlModel;
|
203
|
-
columns: any[];
|
204
|
-
document: import("@vulcanjs/schema").VulcanDocument;
|
205
|
-
showEdit?: boolean | undefined;
|
206
|
-
showDelete?: boolean | undefined;
|
207
|
-
currentUser?: import("@vulcanjs/permissions").VulcanUser | undefined;
|
208
|
-
options?: any;
|
209
|
-
editFormOptions?: any;
|
210
|
-
editFormProps?: any;
|
211
|
-
rowClass?: any;
|
212
|
-
showSelect?: any;
|
213
|
-
toggleItem?: any;
|
214
|
-
selectedItems?: any;
|
215
|
-
modalProps?: any;
|
216
|
-
}) => JSX.Element;
|
217
|
-
DatatableRowLayout: ({ children, ...otherProps }: {
|
218
|
-
[x: string]: any;
|
219
|
-
children: any;
|
220
|
-
}) => JSX.Element;
|
221
|
-
DatatableCell: ({ column, document, currentUser, model, }: {
|
222
|
-
column: {
|
223
|
-
component?: import("react").ComponentType<any> | undefined;
|
224
|
-
componentName?: keyof import("..").PossibleCoreComponents | keyof import("..").PossibleFormComponents | keyof import("..").DatatableComponents | keyof import("..").CellComponents | undefined;
|
225
|
-
name?: string | undefined;
|
226
|
-
label?: string | undefined;
|
227
|
-
};
|
228
|
-
document?: import("@vulcanjs/schema").VulcanDocument | undefined;
|
229
|
-
currentUser?: import("@vulcanjs/permissions").VulcanUser | undefined;
|
230
|
-
model: import("@vulcanjs/model").VulcanModel<import("@vulcanjs/schema").VulcanSchema<{
|
231
|
-
[key: string]: any;
|
232
|
-
}>>;
|
233
|
-
}) => JSX.Element;
|
234
|
-
DatatableCellLayout: ({ children, ...otherProps }: {
|
235
|
-
[x: string]: any;
|
236
|
-
children: any;
|
237
|
-
}) => JSX.Element;
|
238
|
-
DatatableDefaultCell: ({ column, document, ...rest }: {
|
239
|
-
[x: string]: any;
|
240
|
-
column: any;
|
241
|
-
document: any;
|
242
|
-
}) => JSX.Element;
|
243
|
-
DatatableFilter: (props: any) => JSX.Element;
|
244
|
-
DatatableFilterBooleans: ({ filters, setFilters, }: {
|
245
|
-
filters?: {
|
246
|
-
_eq: never[];
|
247
|
-
} | undefined;
|
248
|
-
setFilters: any;
|
249
|
-
}) => JSX.Element;
|
250
|
-
DatatableFilterCheckboxes: ({ options, filters, setFilters, }: {
|
251
|
-
options?: any;
|
252
|
-
filters?: {
|
253
|
-
_in: any[];
|
254
|
-
} | undefined;
|
255
|
-
setFilters?: any;
|
256
|
-
}) => JSX.Element;
|
257
|
-
DatatableFilterContents: (props: any) => JSX.Element;
|
258
|
-
DatatableFilterContentsWithData: (props: {
|
259
|
-
query: import("graphql").DocumentNode | ((options: {
|
260
|
-
mode: "static";
|
261
|
-
}) => import("graphql").DocumentNode);
|
262
|
-
options?: any;
|
263
|
-
}) => JSX.Element;
|
264
|
-
DatatableFilterDates: ({ filters, setFilters }: {
|
265
|
-
filters: any;
|
266
|
-
setFilters: any;
|
267
|
-
}) => JSX.Element;
|
268
|
-
DatatableFilterNumbers: ({ filters, setFilters }: {
|
269
|
-
filters: any;
|
270
|
-
setFilters: any;
|
271
|
-
}) => JSX.Element;
|
272
|
-
DatatableSorter: ({ name, label, toggleSort, currentSort }: {
|
273
|
-
name: any;
|
274
|
-
label: any;
|
275
|
-
toggleSort: any;
|
276
|
-
currentSort: any;
|
277
|
-
}) => JSX.Element;
|
278
|
-
DatatableSelect: ({ toggleItem, selectedItems, document, }: import("../../Datatable/DatatableSelect").DatatableSelectProps) => JSX.Element;
|
279
|
-
DatatableSubmitSelected: ({ selectedItems, onSubmitSelected, }: {
|
280
|
-
selectedItems: any;
|
281
|
-
onSubmitSelected: any;
|
282
|
-
}) => JSX.Element;
|
283
|
-
EditButton: ({ style, variant, label, size, showId, modalProps, formProps, component, ...props }: {
|
284
|
-
[x: string]: any;
|
285
|
-
style?: string | undefined;
|
286
|
-
variant: any;
|
287
|
-
label: any;
|
288
|
-
size: any;
|
289
|
-
showId: any;
|
290
|
-
modalProps: any;
|
291
|
-
formProps: any;
|
292
|
-
component: any;
|
293
|
-
}) => JSX.Element;
|
294
|
-
EditForm: ({ closeModal, successCallback, removeSuccessCallback, formProps, ...props }: {
|
295
|
-
successCallback?: ((document: import("@vulcanjs/schema").VulcanDocument) => void) | undefined;
|
296
|
-
closeModal: () => void;
|
297
|
-
removeSuccessCallback?: ((document: import("@vulcanjs/schema").VulcanDocument) => void) | undefined;
|
298
|
-
formProps?: any;
|
299
|
-
}) => JSX.Element;
|
300
|
-
NewButton: ({ size, label, style, formProps, ...props }: {
|
301
|
-
model: import("@vulcanjs/model").VulcanModel<import("@vulcanjs/schema").VulcanSchema<{
|
302
|
-
[key: string]: any;
|
303
|
-
}>>;
|
304
|
-
label?: string | undefined;
|
305
|
-
formProps?: Partial<import("../../form").FormContainerProps> | undefined;
|
306
|
-
} & Pick<any, "size"> & {
|
307
|
-
style?: any;
|
308
|
-
} & import("../../Datatable/others/NewButton").NewFormProps) => JSX.Element;
|
309
|
-
NewForm: ({ model, closeModal, successCallback, formProps, }: import("../../Datatable/others/NewButton").NewFormProps) => JSX.Element;
|
310
|
-
DeleteButton: (props: {
|
311
|
-
label?: string | undefined;
|
312
|
-
fragment?: import("graphql").DocumentNode | undefined;
|
313
|
-
documentId?: string | undefined;
|
314
|
-
mutationOptions?: any;
|
315
|
-
currentUser?: import("@vulcanjs/permissions").VulcanUser | undefined;
|
316
|
-
model: import("@vulcanjs/graphql").VulcanGraphqlModel;
|
317
|
-
}) => JSX.Element;
|
2
|
+
import { PossibleFormComponents } from "../typings";
|
3
|
+
export declare const defaultFormComponents: Partial<PossibleFormComponents>;
|
4
|
+
export declare const defaultDatatableComponents: {};
|
5
|
+
export declare const defaultCellComponents: {};
|
6
|
+
export declare const defaultCoreComponents: {
|
7
|
+
MutationButton: (props: import("../../core/MutationButton").MutationButtonProps) => JSX.Element;
|
8
|
+
LoadingButton: ({ loading, label, onClick, children, className, ...rest }: any) => JSX.Element;
|
318
9
|
};
|
319
10
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/VulcanComponents/defaultVulcanComponents/index.ts"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/VulcanComponents/defaultVulcanComponents/index.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAEpD,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,sBAAsB,CAGjE,CAAC;AAEF,eAAO,MAAM,0BAA0B,IAAK,CAAC;AAC7C,eAAO,MAAM,qBAAqB,IAAK,CAAC;AACxC,eAAO,MAAM,qBAAqB;;;CAGjC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/VulcanComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/VulcanComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAE1B,cAAc,iCAAiC,CAAC"}
|
@@ -1,48 +1,17 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import type { FormSubmitProps } from "../form/elements";
|
3
|
-
import type { ButtonProps } from "../core/Button";
|
4
|
-
import type { MutationButtonProps } from "../MutationButton";
|
5
|
-
import type { Datatable, DatatableAbove, DatatableAboveLayout, DatatableAboveLeft, DatatableAboveRight, DatatableAboveSearchInput, DatatableLayout } from "../Datatable/Datatable";
|
6
|
-
import type { DatatableContents, DatatableContentsBodyLayout, DatatableContentsHeadLayout, DatatableContentsInnerLayout, DatatableContentsLayout, DatatableContentsMoreLayout, DatatableEmpty, DatatableLoadMoreButton, DatatableTitle } from "../Datatable/DatatableContents";
|
7
|
-
import type { DatatableHeader, DatatableHeaderCellLayout } from "../Datatable/DatatableHeader";
|
8
|
-
import type { DatatableRow, DatatableRowLayout } from "../Datatable/DatatableRow";
|
9
|
-
import type { DatatableCell, DatatableCellLayout, DatatableDefaultCell } from "../Datatable/DatatableCell";
|
10
|
-
import type { DatatableFilter, DatatableFilterBooleans, DatatableFilterCheckboxes, DatatableFilterContents, DatatableFilterContentsWithData, DatatableFilterDates, DatatableFilterNumbers } from "../Datatable/DatatableFilter";
|
11
|
-
import type { DatatableSorter } from "../Datatable/DatatableSorter";
|
12
|
-
import type { DatatableSelect } from "../Datatable/DatatableSelect";
|
13
|
-
import type { DatatableSubmitSelected } from "../Datatable/DatatableSubmitSelected";
|
14
|
-
import type { EditButton, EditForm } from "../Datatable/others/EditButton";
|
15
|
-
import type { NewButton, NewForm } from "../Datatable/others/NewButton";
|
16
|
-
import type { DeleteButton } from "../Datatable/others/DeleteButton";
|
17
|
-
import type { BootstrapModal as Modal } from "../bootstrap/Modal";
|
18
|
-
import type { CardItemSwitcher } from "../cell/CardItem";
|
19
|
-
import type { CardItemRelationItem, DefaultCell, UserCell } from "../cell/CardItemRelationItem";
|
20
|
-
import type { CardItemArray } from "../cell/CardItemArray";
|
21
|
-
import type { CardItemDate } from "../cell/CardItemDate";
|
22
|
-
import type { CardItemDefault } from "../cell/CardItemDefault";
|
23
|
-
import type { CardItemHTML } from "../cell/CardItemHTML";
|
24
|
-
import type { CardItemImage } from "../cell/CardItemImage";
|
25
|
-
import type { CardItemNumber } from "../cell/CardItemNumber";
|
26
|
-
import type { CardItemObject } from "../cell/CardItemObject";
|
27
|
-
import type { CardItemRelationHasMany } from "../cell/CardItemRelationHasMany";
|
28
|
-
import type { CardItemRelationHasOne } from "../cell/CardItemRelationHasOne";
|
29
|
-
import type { CardItemString } from "../cell/CardItemString";
|
30
|
-
import type { CardItemURL } from "../cell/CardItemURL";
|
31
|
-
import type { ModalTrigger } from "../bootstrap/ModalTrigger";
|
32
|
-
import type { FormOptionLabelProps } from "../form/inputs/FormOptionLabel";
|
33
2
|
export interface PossibleCoreComponents {
|
34
3
|
Loading: any;
|
35
4
|
FormattedMessage: any;
|
36
5
|
Alert: any;
|
37
|
-
Button:
|
6
|
+
Button: any;
|
38
7
|
Icon: any;
|
39
|
-
MutationButton:
|
8
|
+
MutationButton: any;
|
40
9
|
LoadingButton: React.ComponentType<any>;
|
41
10
|
HeadTags: React.ComponentType<any>;
|
42
11
|
TooltipTrigger: React.ComponentType<any>;
|
43
12
|
Dropdown: React.ComponentType<any>;
|
44
|
-
Modal:
|
45
|
-
ModalTrigger:
|
13
|
+
Modal: any;
|
14
|
+
ModalTrigger: any;
|
46
15
|
}
|
47
16
|
export interface PossibleFormComponents {
|
48
17
|
FormError: any;
|
@@ -76,7 +45,7 @@ export interface PossibleFormComponents {
|
|
76
45
|
FormIntlItemLayout: any;
|
77
46
|
FormIntl: any;
|
78
47
|
FormErrors: any;
|
79
|
-
FormSubmit:
|
48
|
+
FormSubmit: any;
|
80
49
|
FormLayout: any;
|
81
50
|
FormNestedArray: any;
|
82
51
|
FormNestedArrayInnerLayout: any;
|
@@ -89,69 +58,69 @@ export interface PossibleFormComponents {
|
|
89
58
|
FormNestedItemLayout: any;
|
90
59
|
FormNestedObjectLayout: any;
|
91
60
|
FormNestedObject: any;
|
92
|
-
FormOptionLabel:
|
61
|
+
FormOptionLabel: any;
|
93
62
|
Form: any;
|
94
63
|
SmartForm: any;
|
95
64
|
FormItem: any;
|
96
65
|
__not_initialized?: boolean;
|
97
66
|
}
|
98
67
|
export interface DatatableComponents {
|
99
|
-
Datatable:
|
100
|
-
DatatableAbove:
|
101
|
-
DatatableAboveLayout:
|
102
|
-
DatatableAboveLeft:
|
103
|
-
DatatableAboveRight:
|
104
|
-
DatatableAboveSearchInput:
|
105
|
-
DatatableLayout:
|
106
|
-
DatatableContents:
|
107
|
-
DatatableContentsBodyLayout:
|
108
|
-
DatatableContentsHeadLayout:
|
109
|
-
DatatableContentsInnerLayout:
|
110
|
-
DatatableContentsLayout:
|
111
|
-
DatatableContentsMoreLayout:
|
112
|
-
DatatableEmpty:
|
113
|
-
DatatableLoadMoreButton:
|
114
|
-
DatatableTitle:
|
115
|
-
DatatableHeader:
|
116
|
-
DatatableHeaderCellLayout:
|
117
|
-
DatatableRow:
|
118
|
-
DatatableRowLayout:
|
119
|
-
DatatableCell:
|
120
|
-
DatatableCellLayout:
|
121
|
-
DatatableDefaultCell:
|
122
|
-
DatatableFilter:
|
123
|
-
DatatableFilterBooleans:
|
124
|
-
DatatableFilterCheckboxes:
|
125
|
-
DatatableFilterContents:
|
126
|
-
DatatableFilterContentsWithData:
|
127
|
-
DatatableFilterDates:
|
128
|
-
DatatableFilterNumbers:
|
129
|
-
DatatableSorter:
|
130
|
-
DatatableSelect:
|
131
|
-
DatatableSubmitSelected:
|
132
|
-
EditButton:
|
133
|
-
EditForm:
|
134
|
-
NewButton:
|
135
|
-
NewForm:
|
136
|
-
DeleteButton:
|
68
|
+
Datatable: any;
|
69
|
+
DatatableAbove: any;
|
70
|
+
DatatableAboveLayout: any;
|
71
|
+
DatatableAboveLeft: any;
|
72
|
+
DatatableAboveRight: any;
|
73
|
+
DatatableAboveSearchInput: any;
|
74
|
+
DatatableLayout: any;
|
75
|
+
DatatableContents: any;
|
76
|
+
DatatableContentsBodyLayout: any;
|
77
|
+
DatatableContentsHeadLayout: any;
|
78
|
+
DatatableContentsInnerLayout: any;
|
79
|
+
DatatableContentsLayout: any;
|
80
|
+
DatatableContentsMoreLayout: any;
|
81
|
+
DatatableEmpty: any;
|
82
|
+
DatatableLoadMoreButton: any;
|
83
|
+
DatatableTitle: any;
|
84
|
+
DatatableHeader: any;
|
85
|
+
DatatableHeaderCellLayout: any;
|
86
|
+
DatatableRow: any;
|
87
|
+
DatatableRowLayout: any;
|
88
|
+
DatatableCell: any;
|
89
|
+
DatatableCellLayout: any;
|
90
|
+
DatatableDefaultCell: any;
|
91
|
+
DatatableFilter: any;
|
92
|
+
DatatableFilterBooleans: any;
|
93
|
+
DatatableFilterCheckboxes: any;
|
94
|
+
DatatableFilterContents: any;
|
95
|
+
DatatableFilterContentsWithData: any;
|
96
|
+
DatatableFilterDates: any;
|
97
|
+
DatatableFilterNumbers: any;
|
98
|
+
DatatableSorter: any;
|
99
|
+
DatatableSelect: any;
|
100
|
+
DatatableSubmitSelected: any;
|
101
|
+
EditButton: any;
|
102
|
+
EditForm: any;
|
103
|
+
NewButton: any;
|
104
|
+
NewForm: any;
|
105
|
+
DeleteButton: any;
|
137
106
|
}
|
138
107
|
export interface CellComponents {
|
139
|
-
CardItemSwitcher:
|
140
|
-
CardItem:
|
141
|
-
DefaultCell:
|
142
|
-
UserCell:
|
143
|
-
CardItemArray:
|
144
|
-
CardItemDate:
|
145
|
-
CardItemDefault:
|
146
|
-
CardItemHTML:
|
147
|
-
CardItemImage:
|
148
|
-
CardItemNumber:
|
149
|
-
CardItemObject:
|
150
|
-
CardItemRelationHasMany:
|
151
|
-
CardItemRelationHasOne:
|
152
|
-
CardItemRelationItem:
|
153
|
-
CardItemString:
|
154
|
-
CardItemURL:
|
108
|
+
CardItemSwitcher: any;
|
109
|
+
CardItem: any;
|
110
|
+
DefaultCell: any;
|
111
|
+
UserCell: any;
|
112
|
+
CardItemArray: any;
|
113
|
+
CardItemDate: any;
|
114
|
+
CardItemDefault: any;
|
115
|
+
CardItemHTML: any;
|
116
|
+
CardItemImage: any;
|
117
|
+
CardItemNumber: any;
|
118
|
+
CardItemObject: any;
|
119
|
+
CardItemRelationHasMany: any;
|
120
|
+
CardItemRelationHasOne: any;
|
121
|
+
CardItemRelationItem: any;
|
122
|
+
CardItemString: any;
|
123
|
+
CardItemURL: any;
|
155
124
|
}
|
156
125
|
export declare type PossibleVulcanComponents = PossibleCoreComponents & PossibleFormComponents & DatatableComponents & CellComponents;
|
157
126
|
//# sourceMappingURL=typings.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"typings.d.ts","sourceRoot":"","sources":["../../../components/VulcanComponents/typings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"typings.d.ts","sourceRoot":"","sources":["../../../components/VulcanComponents/typings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA0F1B,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,GAAG,CAAC;IACb,gBAAgB,EAAE,GAAG,CAAC;IACtB,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,GAAG,CAAC;IACZ,IAAI,EAAE,GAAG,CAAC;IAEV,cAAc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wB,GAAG,sBAAsB,GAC3D,sBAAsB,GACtB,mBAAmB,GACnB,cAAc,CAAC"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import type { ButtonProps } from "./typings";
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"LoadingButton.d.ts","sourceRoot":"","sources":["../../../components/core/LoadingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,eAAO,MAAM,aAAa,8DAOvB,kBAAkB,GAAG,GAAG,gBAqC1B,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MutationButton.d.ts","sourceRoot":"","sources":["../../../components/core/MutationButton.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAe,MAAM,gBAAgB,CAAC;AAGlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAsBrD,MAAM,WAAW,mBAAmB;IASlC,eAAe,CAAC,EAAE,mBAAmB,CAAC;IAStC,QAAQ,EAAE,MAAM,GAAG,YAAY,CAAC;IAEhC,iBAAiB,CAAC,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC;IAE1D,cAAc,CAAC,EAAE,CACf,0BAA0B,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,KAE/D,IAAI,GACJ;QAAE,iBAAiB,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,CAAA;KAAE,GAC5D,OAAO,CAAC,IAAI,GAAG;QACf,iBAAiB,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC;KAC1D,CAAC,CAAC;IACL,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrD,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnD,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAExC,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;CAClC;AACD,eAAO,MAAM,cAAc,UAAW,mBAAmB,gBAwFxD,CAAC"}
|
@@ -1,4 +1,3 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
export declare type ButtonProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & any;
|
3
|
-
|
4
|
-
//# sourceMappingURL=Button.d.ts.map
|
3
|
+
//# sourceMappingURL=typings.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"typings.d.ts","sourceRoot":"","sources":["../../../components/core/typings.ts"],"names":[],"mappings":";AACA,oBAAY,WAAW,GAAG,KAAK,CAAC,iBAAiB,CAC/C,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,EACvC,iBAAiB,CAClB,GAGC,GAAG,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../components/form/core/Form/Form.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../components/form/core/Form/Form.tsx"],"names":[],"mappings":"AAmDA,OAAO,EAEL,SAAS,EAGV,MAAM,WAAW,CAAC;AA+PnB,eAAO,MAAM,IAAI,UAAW,SAAS,QA+hBpC,CAAC;AAeF,eAAe,IAAI,CAAC"}
|