@vulcanjs/react-ui 0.5.3 → 0.5.4-alpha.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Datatable/Datatable.d.ts +39 -0
- package/dist/components/Datatable/Datatable.d.ts.map +1 -0
- package/dist/components/Datatable/DatatableCell.d.ts +26 -0
- package/dist/components/Datatable/DatatableCell.d.ts.map +1 -0
- package/dist/components/Datatable/DatatableContents.d.ts +52 -0
- package/dist/components/Datatable/DatatableContents.d.ts.map +1 -0
- package/dist/components/Datatable/DatatableFilter.d.ts +32 -0
- package/dist/components/Datatable/DatatableFilter.d.ts.map +1 -0
- package/dist/components/Datatable/DatatableHeader.d.ts +22 -0
- package/dist/components/Datatable/DatatableHeader.d.ts.map +1 -0
- package/dist/components/Datatable/DatatableRow.d.ts +24 -0
- package/dist/components/Datatable/DatatableRow.d.ts.map +1 -0
- package/dist/components/Datatable/DatatableSelect.d.ts +10 -0
- package/dist/components/Datatable/DatatableSelect.d.ts.map +1 -0
- package/dist/components/Datatable/DatatableSorter.d.ts +7 -0
- package/dist/components/Datatable/DatatableSorter.d.ts.map +1 -0
- package/dist/components/Datatable/DatatableSubmitSelected.d.ts +5 -0
- package/dist/components/Datatable/DatatableSubmitSelected.d.ts.map +1 -0
- package/dist/components/Datatable/others/DeleteButton.d.ts +12 -0
- package/dist/components/Datatable/others/DeleteButton.d.ts.map +1 -0
- package/dist/components/Datatable/others/EditButton.d.ts +19 -0
- package/dist/components/Datatable/others/EditButton.d.ts.map +1 -0
- package/dist/components/Datatable/others/NewButton.d.ts +19 -0
- package/dist/components/Datatable/others/NewButton.d.ts.map +1 -0
- package/dist/components/LoadingButton.d.ts.map +1 -1
- package/dist/components/VulcanComponents/Context.d.ts.map +1 -1
- package/dist/components/VulcanComponents/Provider.d.ts.map +1 -1
- package/dist/components/VulcanComponents/defaultVulcanComponents/cellComponents.d.ts +3 -0
- package/dist/components/VulcanComponents/defaultVulcanComponents/cellComponents.d.ts.map +1 -0
- package/dist/components/VulcanComponents/defaultVulcanComponents/datatableComponents.d.ts +3 -0
- package/dist/components/VulcanComponents/defaultVulcanComponents/datatableComponents.d.ts.map +1 -0
- package/dist/components/VulcanComponents/defaultVulcanComponents/index.d.ts +316 -0
- package/dist/components/VulcanComponents/defaultVulcanComponents/index.d.ts.map +1 -0
- package/dist/components/VulcanComponents/typings.d.ts +91 -2
- package/dist/components/VulcanComponents/typings.d.ts.map +1 -1
- package/dist/components/bootstrap/Dropdown.d.ts.map +1 -1
- package/dist/components/bootstrap/Modal.d.ts +24 -0
- package/dist/components/bootstrap/Modal.d.ts.map +1 -0
- package/dist/components/bootstrap/ModalTrigger.d.ts +18 -0
- package/dist/components/bootstrap/ModalTrigger.d.ts.map +1 -0
- package/dist/components/cell/CardItem.d.ts +13 -0
- package/dist/components/cell/CardItem.d.ts.map +1 -0
- package/dist/components/cell/CardItemArray.d.ts +5 -0
- package/dist/components/cell/CardItemArray.d.ts.map +1 -0
- package/dist/components/cell/CardItemDate.d.ts +4 -0
- package/dist/components/cell/CardItemDate.d.ts.map +1 -0
- package/dist/components/cell/CardItemDefault.d.ts +4 -0
- package/dist/components/cell/CardItemDefault.d.ts.map +1 -0
- package/dist/components/cell/CardItemHTML.d.ts +4 -0
- package/dist/components/cell/CardItemHTML.d.ts.map +1 -0
- package/dist/components/cell/CardItemImage.d.ts +5 -0
- package/dist/components/cell/CardItemImage.d.ts.map +1 -0
- package/dist/components/cell/CardItemNumber.d.ts +4 -0
- package/dist/components/cell/CardItemNumber.d.ts.map +1 -0
- package/dist/components/cell/CardItemObject.d.ts +2 -0
- package/dist/components/cell/CardItemObject.d.ts.map +1 -0
- package/dist/components/cell/CardItemRelationHasMany.d.ts +2 -0
- package/dist/components/cell/CardItemRelationHasMany.d.ts.map +1 -0
- package/dist/components/cell/CardItemRelationHasOne.d.ts +2 -0
- package/dist/components/cell/CardItemRelationHasOne.d.ts.map +1 -0
- package/dist/components/cell/CardItemRelationItem.d.ts +14 -0
- package/dist/components/cell/CardItemRelationItem.d.ts.map +1 -0
- package/dist/components/cell/CardItemString.d.ts +4 -0
- package/dist/components/cell/CardItemString.d.ts.map +1 -0
- package/dist/components/cell/CardItemURL.d.ts +5 -0
- package/dist/components/cell/CardItemURL.d.ts.map +1 -0
- package/dist/components/form/Form/Form.d.ts.map +1 -1
- package/dist/components/form/FormComponent.d.ts.map +1 -1
- package/dist/components/form/inputs/BasicInputs.d.ts.map +1 -1
- package/dist/index.js +16161 -8
- package/dist/index.js.map +1 -0
- package/package.json +17 -17
- package/dist/components/VulcanComponents/defaultVulcanComponents.d.ts +0 -61
- package/dist/components/VulcanComponents/defaultVulcanComponents.d.ts.map +0 -1
@@ -0,0 +1,316 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { PossibleCoreComponents, PossibleFormComponents } from "../typings";
|
3
|
+
export declare const defaultVulcanComponents: {
|
4
|
+
FormError: any;
|
5
|
+
FormComponentDefault: any;
|
6
|
+
FormComponentText: any;
|
7
|
+
FormComponentPassword: any;
|
8
|
+
FormComponentNumber: any;
|
9
|
+
FormComponentUrl: any;
|
10
|
+
FormComponentEmail: any;
|
11
|
+
FormComponentTextarea: any;
|
12
|
+
FormComponentCheckbox: any;
|
13
|
+
FormComponentCheckboxGroup: any;
|
14
|
+
FormComponentRadioGroup: any;
|
15
|
+
FormComponentSelect: any;
|
16
|
+
FormComponentSelectMultiple: any;
|
17
|
+
FormComponentDateTime: any;
|
18
|
+
FormComponentDate: any;
|
19
|
+
FormComponentTime: any;
|
20
|
+
FormComponentStaticText: any;
|
21
|
+
FormComponentLikert: any;
|
22
|
+
FormComponentAutocomplete: any;
|
23
|
+
FormComponentMultiAutocomplete: any;
|
24
|
+
FormComponent: any;
|
25
|
+
FormComponentInner: any;
|
26
|
+
FormComponentLoader: any;
|
27
|
+
FormElement: any;
|
28
|
+
FormGroup: any;
|
29
|
+
FormGroupLayout: any;
|
30
|
+
FormGroupHeader: any;
|
31
|
+
FormIntlLayout: any;
|
32
|
+
FormIntlItemLayout: any;
|
33
|
+
FormIntl: any;
|
34
|
+
FormErrors: any;
|
35
|
+
FormSubmit: import("react").ComponentType<import("../../form/FormSubmit").FormSubmitProps>;
|
36
|
+
FormLayout: any;
|
37
|
+
FormNestedArray: any;
|
38
|
+
FormNestedArrayInnerLayout: any;
|
39
|
+
FormNestedArrayLayout: any;
|
40
|
+
FormNestedItem: any;
|
41
|
+
IconAdd: any;
|
42
|
+
IconRemove: any;
|
43
|
+
FieldErrors: any;
|
44
|
+
FormNestedDivider: any;
|
45
|
+
FormNestedItemLayout: any;
|
46
|
+
FormNestedObjectLayout: any;
|
47
|
+
FormNestedObject: any;
|
48
|
+
FormOptionLabel: any;
|
49
|
+
Form: any;
|
50
|
+
SmartForm: any;
|
51
|
+
FormItem: any;
|
52
|
+
__not_initialized?: boolean | undefined;
|
53
|
+
Loading: any;
|
54
|
+
FormattedMessage: any;
|
55
|
+
Alert: any;
|
56
|
+
Button: import("react").ComponentType<any>;
|
57
|
+
Icon: any;
|
58
|
+
MutationButton: import("react").ComponentType<import("../../MutationButton").MutationButtonProps>;
|
59
|
+
LoadingButton: import("react").ComponentType<any>;
|
60
|
+
HeadTags: import("react").ComponentType<any>;
|
61
|
+
TooltipTrigger: import("react").ComponentType<any>;
|
62
|
+
Dropdown: import("react").ComponentType<any>;
|
63
|
+
Modal: {
|
64
|
+
({ children, size, show, onHide, title, showCloseButton, header, footer, ...rest }: {
|
65
|
+
[x: string]: any;
|
66
|
+
children: any;
|
67
|
+
size?: "lg" | undefined;
|
68
|
+
show?: boolean | undefined;
|
69
|
+
onHide: any;
|
70
|
+
title: any;
|
71
|
+
showCloseButton?: boolean | undefined;
|
72
|
+
header: any;
|
73
|
+
footer: any;
|
74
|
+
}): JSX.Element;
|
75
|
+
propTypes: {
|
76
|
+
size: import("prop-types").Requireable<string>;
|
77
|
+
show: import("prop-types").Requireable<boolean>;
|
78
|
+
showCloseButton: import("prop-types").Requireable<boolean>;
|
79
|
+
onHide: import("prop-types").Requireable<(...args: any[]) => any>;
|
80
|
+
title: import("prop-types").Requireable<string | import("prop-types").ReactElementLike>;
|
81
|
+
header: import("prop-types").Requireable<string | import("prop-types").ReactElementLike>;
|
82
|
+
footer: import("prop-types").Requireable<string | import("prop-types").ReactElementLike>;
|
83
|
+
};
|
84
|
+
};
|
85
|
+
ModalTrigger: (props: {
|
86
|
+
openCallback?: (() => void) | undefined;
|
87
|
+
closeCallback?: (() => void) | undefined;
|
88
|
+
onClick?: (() => void) | undefined;
|
89
|
+
trigger?: any;
|
90
|
+
component?: any;
|
91
|
+
children?: any;
|
92
|
+
label?: import("react").ReactNode;
|
93
|
+
size?: string | undefined;
|
94
|
+
className?: string | undefined;
|
95
|
+
dialogClassName?: string | undefined;
|
96
|
+
title?: import("react").ReactNode;
|
97
|
+
modalProps?: any;
|
98
|
+
header?: any;
|
99
|
+
footer?: any;
|
100
|
+
}) => JSX.Element;
|
101
|
+
CardItemSwitcher: (props: import("../../cell/CardItem").CellProps) => JSX.Element;
|
102
|
+
CardItem: (props: import("../../cell/CardItem").CellProps) => JSX.Element;
|
103
|
+
DefaultCell: ({ document, label }: {
|
104
|
+
document: any;
|
105
|
+
label: any;
|
106
|
+
}) => JSX.Element;
|
107
|
+
UserCell: ({ document }: {
|
108
|
+
document: any;
|
109
|
+
}) => JSX.Element;
|
110
|
+
CardItemArray: ({ nestingLevel, value, }: {
|
111
|
+
nestingLevel?: number | undefined;
|
112
|
+
value: any;
|
113
|
+
}) => JSX.Element;
|
114
|
+
CardItemDate: ({ value }: {
|
115
|
+
value: any;
|
116
|
+
}) => JSX.Element;
|
117
|
+
CardItemDefault: ({ value }: {
|
118
|
+
value?: any;
|
119
|
+
}) => JSX.Element;
|
120
|
+
CardItemHTML: ({ value }: {
|
121
|
+
value: any;
|
122
|
+
}) => JSX.Element;
|
123
|
+
CardItemImage: ({ value, force }: {
|
124
|
+
value: any;
|
125
|
+
force?: boolean | undefined;
|
126
|
+
}) => JSX.Element;
|
127
|
+
CardItemNumber: ({ value }: {
|
128
|
+
value?: any;
|
129
|
+
}) => JSX.Element;
|
130
|
+
CardItemObject: (props: any) => JSX.Element;
|
131
|
+
CardItemRelationHasMany: ({ relatedDocument: relatedDocuments, ...rest }: any) => JSX.Element;
|
132
|
+
CardItemRelationHasOne: ({ ...rest }: any) => JSX.Element;
|
133
|
+
CardItemRelationItem: ({ relatedDocument, relatedModel, }: {
|
134
|
+
relatedDocument: import("@vulcanjs/schema").VulcanDocument;
|
135
|
+
relatedModel: import("@vulcanjs/graphql").VulcanGraphqlModel;
|
136
|
+
}) => JSX.Element;
|
137
|
+
CardItemString: ({ string }: {
|
138
|
+
string: any;
|
139
|
+
}) => JSX.Element;
|
140
|
+
CardItemURL: ({ value, force, }: {
|
141
|
+
value?: any;
|
142
|
+
force?: boolean | undefined;
|
143
|
+
}) => JSX.Element;
|
144
|
+
Datatable: (props: import("../../Datatable/Datatable").DatatableProps<any>) => JSX.Element;
|
145
|
+
DatatableAbove: (props: any) => JSX.Element;
|
146
|
+
DatatableAboveLayout: ({ children }: {
|
147
|
+
children: any;
|
148
|
+
}) => JSX.Element;
|
149
|
+
DatatableAboveLeft: (props: any) => JSX.Element;
|
150
|
+
DatatableAboveRight: (props: any) => JSX.Element;
|
151
|
+
DatatableAboveSearchInput: (props: any) => JSX.Element;
|
152
|
+
DatatableLayout: ({ model, children, }: {
|
153
|
+
model: import("@vulcanjs/model").VulcanModel<import("@vulcanjs/schema").VulcanSchema<{
|
154
|
+
[key: string]: any;
|
155
|
+
}>>;
|
156
|
+
children: import("react").ReactNode;
|
157
|
+
}) => JSX.Element;
|
158
|
+
DatatableContents: (props: import("../../Datatable/DatatableContents").DatatableContentsProps) => JSX.Element;
|
159
|
+
DatatableContentsBodyLayout: ({ children }: {
|
160
|
+
children: any;
|
161
|
+
}) => JSX.Element;
|
162
|
+
DatatableContentsHeadLayout: ({ children }: {
|
163
|
+
children: any;
|
164
|
+
}) => JSX.Element;
|
165
|
+
DatatableContentsInnerLayout: ({ children }: {
|
166
|
+
children: any;
|
167
|
+
}) => JSX.Element;
|
168
|
+
DatatableContentsLayout: ({ children }: {
|
169
|
+
children: any;
|
170
|
+
}) => JSX.Element;
|
171
|
+
DatatableContentsMoreLayout: ({ children }: {
|
172
|
+
children: any;
|
173
|
+
}) => JSX.Element;
|
174
|
+
DatatableEmpty: () => JSX.Element;
|
175
|
+
DatatableLoadMoreButton: ({ count, totalCount, children, ...otherProps }: {
|
176
|
+
[x: string]: any;
|
177
|
+
count: any;
|
178
|
+
totalCount: any;
|
179
|
+
children: any;
|
180
|
+
}) => JSX.Element;
|
181
|
+
DatatableTitle: ({ title }: {
|
182
|
+
title: any;
|
183
|
+
}) => JSX.Element;
|
184
|
+
DatatableHeader: ({ model, column, toggleSort, currentSort, submitFilters, currentFilters, }: {
|
185
|
+
model: import("@vulcanjs/model").VulcanModel<import("@vulcanjs/schema").VulcanSchema<{
|
186
|
+
[key: string]: any;
|
187
|
+
}>>;
|
188
|
+
column: import("../../Datatable/DatatableHeader").DatatableColumnDefinition;
|
189
|
+
toggleSort?: any;
|
190
|
+
currentSort?: any;
|
191
|
+
submitFilters?: any;
|
192
|
+
currentFilters?: any;
|
193
|
+
}) => JSX.Element;
|
194
|
+
DatatableHeaderCellLayout: ({ children, ...otherProps }: {
|
195
|
+
[x: string]: any;
|
196
|
+
children: any;
|
197
|
+
}) => JSX.Element;
|
198
|
+
DatatableRow: (props: {
|
199
|
+
model: import("@vulcanjs/graphql").VulcanGraphqlModel;
|
200
|
+
columns: any[];
|
201
|
+
document: import("@vulcanjs/schema").VulcanDocument;
|
202
|
+
showEdit?: boolean | undefined;
|
203
|
+
showDelete?: boolean | undefined;
|
204
|
+
currentUser?: import("@vulcanjs/permissions").VulcanUser | undefined;
|
205
|
+
options?: any;
|
206
|
+
editFormOptions?: any;
|
207
|
+
editFormProps?: any;
|
208
|
+
rowClass?: any;
|
209
|
+
showSelect?: any;
|
210
|
+
toggleItem?: any;
|
211
|
+
selectedItems?: any;
|
212
|
+
modalProps?: any;
|
213
|
+
}) => JSX.Element;
|
214
|
+
DatatableRowLayout: ({ children, ...otherProps }: {
|
215
|
+
[x: string]: any;
|
216
|
+
children: any;
|
217
|
+
}) => JSX.Element;
|
218
|
+
DatatableCell: ({ column, document, currentUser, model, }: {
|
219
|
+
column: {
|
220
|
+
component?: import("react").ComponentType<any> | undefined;
|
221
|
+
componentName?: keyof PossibleCoreComponents | keyof PossibleFormComponents | keyof import("../typings").DatatableComponents | keyof import("../typings").CellComponents | undefined;
|
222
|
+
name?: string | undefined;
|
223
|
+
label?: string | undefined;
|
224
|
+
};
|
225
|
+
document?: import("@vulcanjs/schema").VulcanDocument | undefined;
|
226
|
+
currentUser?: import("@vulcanjs/permissions").VulcanUser | undefined;
|
227
|
+
model: import("@vulcanjs/model").VulcanModel<import("@vulcanjs/schema").VulcanSchema<{
|
228
|
+
[key: string]: any;
|
229
|
+
}>>;
|
230
|
+
}) => JSX.Element;
|
231
|
+
DatatableCellLayout: ({ children, ...otherProps }: {
|
232
|
+
[x: string]: any;
|
233
|
+
children: any;
|
234
|
+
}) => JSX.Element;
|
235
|
+
DatatableDefaultCell: ({ column, document, ...rest }: {
|
236
|
+
[x: string]: any;
|
237
|
+
column: any;
|
238
|
+
document: any;
|
239
|
+
}) => JSX.Element;
|
240
|
+
DatatableFilter: (props: any) => JSX.Element;
|
241
|
+
DatatableFilterBooleans: ({ filters, setFilters, }: {
|
242
|
+
filters?: {
|
243
|
+
_eq: never[];
|
244
|
+
} | undefined;
|
245
|
+
setFilters: any;
|
246
|
+
}) => JSX.Element;
|
247
|
+
DatatableFilterCheckboxes: ({ options, filters, setFilters, }: {
|
248
|
+
options?: any;
|
249
|
+
filters?: {
|
250
|
+
_in: any[];
|
251
|
+
} | undefined;
|
252
|
+
setFilters?: any;
|
253
|
+
}) => JSX.Element;
|
254
|
+
DatatableFilterContents: (props: any) => JSX.Element;
|
255
|
+
DatatableFilterContentsWithData: (props: {
|
256
|
+
query: import("graphql").DocumentNode | ((options: {
|
257
|
+
mode: "static";
|
258
|
+
}) => import("graphql").DocumentNode);
|
259
|
+
options?: any;
|
260
|
+
}) => JSX.Element;
|
261
|
+
DatatableFilterDates: ({ filters, setFilters }: {
|
262
|
+
filters: any;
|
263
|
+
setFilters: any;
|
264
|
+
}) => JSX.Element;
|
265
|
+
DatatableFilterNumbers: ({ filters, setFilters }: {
|
266
|
+
filters: any;
|
267
|
+
setFilters: any;
|
268
|
+
}) => JSX.Element;
|
269
|
+
DatatableSorter: ({ name, label, toggleSort, currentSort }: {
|
270
|
+
name: any;
|
271
|
+
label: any;
|
272
|
+
toggleSort: any;
|
273
|
+
currentSort: any;
|
274
|
+
}) => JSX.Element;
|
275
|
+
DatatableSelect: ({ toggleItem, selectedItems, document, }: import("../../Datatable/DatatableSelect").DatatableSelectProps) => JSX.Element;
|
276
|
+
DatatableSubmitSelected: ({ selectedItems, onSubmitSelected, }: {
|
277
|
+
selectedItems: any;
|
278
|
+
onSubmitSelected: any;
|
279
|
+
}) => JSX.Element;
|
280
|
+
EditButton: ({ style, variant, label, size, showId, modalProps, formProps, component, ...props }: {
|
281
|
+
[x: string]: any;
|
282
|
+
style?: string | undefined;
|
283
|
+
variant: any;
|
284
|
+
label: any;
|
285
|
+
size: any;
|
286
|
+
showId: any;
|
287
|
+
modalProps: any;
|
288
|
+
formProps: any;
|
289
|
+
component: any;
|
290
|
+
}) => JSX.Element;
|
291
|
+
EditForm: ({ closeModal, successCallback, removeSuccessCallback, formProps, ...props }: {
|
292
|
+
successCallback?: ((document: import("@vulcanjs/schema").VulcanDocument) => void) | undefined;
|
293
|
+
closeModal: () => void;
|
294
|
+
removeSuccessCallback?: ((document: import("@vulcanjs/schema").VulcanDocument) => void) | undefined;
|
295
|
+
formProps?: any;
|
296
|
+
}) => JSX.Element;
|
297
|
+
NewButton: ({ size, label, style, formProps, ...props }: {
|
298
|
+
model: import("@vulcanjs/model").VulcanModel<import("@vulcanjs/schema").VulcanSchema<{
|
299
|
+
[key: string]: any;
|
300
|
+
}>>;
|
301
|
+
label?: string | undefined;
|
302
|
+
formProps?: Partial<import("../../form").FormContainerProps> | undefined;
|
303
|
+
} & Pick<any, "size"> & {
|
304
|
+
style?: any;
|
305
|
+
} & import("../../Datatable/others/NewButton").NewFormProps) => JSX.Element;
|
306
|
+
NewForm: ({ model, closeModal, successCallback, formProps, }: import("../../Datatable/others/NewButton").NewFormProps) => JSX.Element;
|
307
|
+
DeleteButton: (props: {
|
308
|
+
label?: string | undefined;
|
309
|
+
fragment?: import("graphql").DocumentNode | undefined;
|
310
|
+
documentId?: string | undefined;
|
311
|
+
mutationOptions?: any;
|
312
|
+
currentUser?: import("@vulcanjs/permissions").VulcanUser | undefined;
|
313
|
+
model: import("@vulcanjs/graphql").VulcanGraphqlModel;
|
314
|
+
}) => JSX.Element;
|
315
|
+
};
|
316
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/VulcanComponents/defaultVulcanComponents/index.ts"],"names":[],"mappings":";AAyEA,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAwF5E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnC,CAAC"}
|
@@ -2,6 +2,33 @@ import React from "react";
|
|
2
2
|
import type { FormSubmitProps } from "../form/FormSubmit";
|
3
3
|
import type { ButtonProps } from "../form/core/Button";
|
4
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 { DeleteButton } from "../Datatable/others/DeleteButton";
|
17
|
+
import { 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";
|
5
32
|
export interface PossibleCoreComponents {
|
6
33
|
Loading: any;
|
7
34
|
FormattedMessage: any;
|
@@ -13,10 +40,13 @@ export interface PossibleCoreComponents {
|
|
13
40
|
HeadTags: React.ComponentType<any>;
|
14
41
|
TooltipTrigger: React.ComponentType<any>;
|
15
42
|
Dropdown: React.ComponentType<any>;
|
43
|
+
Modal: typeof Modal;
|
44
|
+
ModalTrigger: typeof ModalTrigger;
|
16
45
|
}
|
17
46
|
export interface PossibleFormComponents {
|
18
47
|
FormError: any;
|
19
48
|
FormComponentDefault: any;
|
49
|
+
FormComponentText: any;
|
20
50
|
FormComponentPassword: any;
|
21
51
|
FormComponentNumber: any;
|
22
52
|
FormComponentUrl: any;
|
@@ -60,8 +90,67 @@ export interface PossibleFormComponents {
|
|
60
90
|
FormNestedObject: any;
|
61
91
|
FormOptionLabel: any;
|
62
92
|
Form: any;
|
93
|
+
SmartForm: any;
|
63
94
|
FormItem: any;
|
64
|
-
|
95
|
+
__not_initialized?: boolean;
|
65
96
|
}
|
66
|
-
export
|
97
|
+
export interface DatatableComponents {
|
98
|
+
Datatable: typeof Datatable;
|
99
|
+
DatatableAbove: typeof DatatableAbove;
|
100
|
+
DatatableAboveLayout: typeof DatatableAboveLayout;
|
101
|
+
DatatableAboveLeft: typeof DatatableAboveLeft;
|
102
|
+
DatatableAboveRight: typeof DatatableAboveRight;
|
103
|
+
DatatableAboveSearchInput: typeof DatatableAboveSearchInput;
|
104
|
+
DatatableLayout: typeof DatatableLayout;
|
105
|
+
DatatableContents: typeof DatatableContents;
|
106
|
+
DatatableContentsBodyLayout: typeof DatatableContentsBodyLayout;
|
107
|
+
DatatableContentsHeadLayout: typeof DatatableContentsHeadLayout;
|
108
|
+
DatatableContentsInnerLayout: typeof DatatableContentsInnerLayout;
|
109
|
+
DatatableContentsLayout: typeof DatatableContentsLayout;
|
110
|
+
DatatableContentsMoreLayout: typeof DatatableContentsMoreLayout;
|
111
|
+
DatatableEmpty: typeof DatatableEmpty;
|
112
|
+
DatatableLoadMoreButton: typeof DatatableLoadMoreButton;
|
113
|
+
DatatableTitle: typeof DatatableTitle;
|
114
|
+
DatatableHeader: typeof DatatableHeader;
|
115
|
+
DatatableHeaderCellLayout: typeof DatatableHeaderCellLayout;
|
116
|
+
DatatableRow: typeof DatatableRow;
|
117
|
+
DatatableRowLayout: typeof DatatableRowLayout;
|
118
|
+
DatatableCell: typeof DatatableCell;
|
119
|
+
DatatableCellLayout: typeof DatatableCellLayout;
|
120
|
+
DatatableDefaultCell: typeof DatatableDefaultCell;
|
121
|
+
DatatableFilter: typeof DatatableFilter;
|
122
|
+
DatatableFilterBooleans: typeof DatatableFilterBooleans;
|
123
|
+
DatatableFilterCheckboxes: typeof DatatableFilterCheckboxes;
|
124
|
+
DatatableFilterContents: typeof DatatableFilterContents;
|
125
|
+
DatatableFilterContentsWithData: typeof DatatableFilterContentsWithData;
|
126
|
+
DatatableFilterDates: typeof DatatableFilterDates;
|
127
|
+
DatatableFilterNumbers: typeof DatatableFilterNumbers;
|
128
|
+
DatatableSorter: typeof DatatableSorter;
|
129
|
+
DatatableSelect: typeof DatatableSelect;
|
130
|
+
DatatableSubmitSelected: typeof DatatableSubmitSelected;
|
131
|
+
EditButton: typeof EditButton;
|
132
|
+
EditForm: typeof EditForm;
|
133
|
+
NewButton: typeof NewButton;
|
134
|
+
NewForm: typeof NewForm;
|
135
|
+
DeleteButton: typeof DeleteButton;
|
136
|
+
}
|
137
|
+
export interface CellComponents {
|
138
|
+
CardItemSwitcher: typeof CardItemSwitcher;
|
139
|
+
CardItem: typeof CardItemSwitcher;
|
140
|
+
DefaultCell: typeof DefaultCell;
|
141
|
+
UserCell: typeof UserCell;
|
142
|
+
CardItemArray: typeof CardItemArray;
|
143
|
+
CardItemDate: typeof CardItemDate;
|
144
|
+
CardItemDefault: typeof CardItemDefault;
|
145
|
+
CardItemHTML: typeof CardItemHTML;
|
146
|
+
CardItemImage: typeof CardItemImage;
|
147
|
+
CardItemNumber: typeof CardItemNumber;
|
148
|
+
CardItemObject: typeof CardItemObject;
|
149
|
+
CardItemRelationHasMany: typeof CardItemRelationHasMany;
|
150
|
+
CardItemRelationHasOne: typeof CardItemRelationHasOne;
|
151
|
+
CardItemRelationItem: typeof CardItemRelationItem;
|
152
|
+
CardItemString: typeof CardItemString;
|
153
|
+
CardItemURL: typeof CardItemURL;
|
154
|
+
}
|
155
|
+
export declare type PossibleVulcanComponents = PossibleCoreComponents & PossibleFormComponents & DatatableComponents & CellComponents;
|
67
156
|
//# 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;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,GAAG,CAAC;IACb,gBAAgB,EAAE,GAAG,CAAC;IACtB,KAAK,EAAE,GAAG,CAAC;IACX,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IACzC,IAAI,EAAE,GAAG,CAAC;IAEV,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;IACzD,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACxC,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAEnC,cAAc,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACzC,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"typings.d.ts","sourceRoot":"","sources":["../../../components/VulcanComponents/typings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAG7D,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EACV,iBAAiB,EACjB,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,uBAAuB,EACvB,2BAA2B,EAC3B,cAAc,EACd,uBAAuB,EACvB,cAAc,EACf,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EACV,eAAe,EACf,yBAAyB,EAC1B,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EACV,YAAY,EACZ,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,eAAe,EACf,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,+BAA+B,EAC/B,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,eAA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,YAAY,EAAE,OAAO,YAAY,CAAC;CACnC;AAED,MAAM,WAAW,cAAc;IAC7B,gBAAgB,EAAE,OAAO,gBAAgB,CAAC;IAC1C,QAAQ,EAAE,OAAO,gBAAgB,CAAC;IAClC,WAAW,EAAE,OAAO,WAAW,CAAC;IAChC,QAAQ,EAAE,OAAO,QAAQ,CAAC;IAC1B,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,YAAY,EAAE,OAAO,YAAY,CAAC;IAClC,eAAe,EAAE,OAAO,eAAe,CAAC;IACxC,YAAY,EAAE,OAAO,YAAY,CAAC;IAClC,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,uBAAuB,EAAE,OAAO,uBAAuB,CAAC;IACxD,sBAAsB,EAAE,OAAO,sBAAsB,CAAC;IACtD,oBAAoB,EAAE,OAAO,oBAAoB,CAAC;IAClD,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,WAAW,EAAE,OAAO,WAAW,CAAC;CACjC;AAED,oBAAY,wBAAwB,GAAG,sBAAsB,GAC3D,sBAAsB,GACtB,mBAAmB,GACnB,cAAc,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../components/bootstrap/Dropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,YAAY,CAAC;
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../components/bootstrap/Dropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,YAAY,CAAC;AAqFnC,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;CA6CtB,CAAC;AAYF,eAAe,iBAAiB,CAAC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import PropTypes from "prop-types";
|
2
|
+
export declare const BootstrapModal: {
|
3
|
+
({ children, size, show, onHide, title, showCloseButton, header, footer, ...rest }: {
|
4
|
+
[x: string]: any;
|
5
|
+
children: any;
|
6
|
+
size?: "lg" | undefined;
|
7
|
+
show?: boolean | undefined;
|
8
|
+
onHide: any;
|
9
|
+
title: any;
|
10
|
+
showCloseButton?: boolean | undefined;
|
11
|
+
header: any;
|
12
|
+
footer: any;
|
13
|
+
}): JSX.Element;
|
14
|
+
propTypes: {
|
15
|
+
size: PropTypes.Requireable<string>;
|
16
|
+
show: PropTypes.Requireable<boolean>;
|
17
|
+
showCloseButton: PropTypes.Requireable<boolean>;
|
18
|
+
onHide: PropTypes.Requireable<(...args: any[]) => any>;
|
19
|
+
title: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
|
20
|
+
header: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
|
21
|
+
footer: PropTypes.Requireable<string | PropTypes.ReactElementLike>;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=Modal.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../components/bootstrap/Modal.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;CAmC1B,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ModalTrigger.d.ts","sourceRoot":"","sources":["../../../components/bootstrap/ModalTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,eAAO,MAAM,YAAY,UAAW;IAClC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,SAAS,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,gBAuEA,CAAC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { VulcanGraphqlModel } from "@vulcanjs/graphql";
|
2
|
+
import { VulcanDocument } from "@vulcanjs/schema";
|
3
|
+
export interface CellProps {
|
4
|
+
nestingLevel?: number;
|
5
|
+
value?: any;
|
6
|
+
typeName?: string;
|
7
|
+
contents?: any;
|
8
|
+
fieldName?: string;
|
9
|
+
model?: VulcanGraphqlModel;
|
10
|
+
document?: VulcanDocument;
|
11
|
+
}
|
12
|
+
export declare const CardItemSwitcher: (props: CellProps) => JSX.Element;
|
13
|
+
//# sourceMappingURL=CardItem.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItem.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AA2BlD,MAAM,WAAW,SAAS;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B;AASD,eAAO,MAAM,gBAAgB,UAAW,SAAS,gBAwIhD,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemArray.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemArray.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;WAKjB,GAAG;iBAkBX,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemDate.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemDate.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;iBAIxB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemDefault.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemDefault.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;YAAyB,GAAG;iBAEvD,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemHTML.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemHTML.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;iBAExB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemImage.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemImage.tsx"],"names":[],"mappings":"AAgBA,eAAO,MAAM,aAAa;;;iBAezB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemNumber.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemNumber.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;YAAyB,GAAG;iBAEtD,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemObject.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemObject.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,6BAgC1B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemRelationHasMany.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemRelationHasMany.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB,mDAGjC,GAAG,gBAaL,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemRelationHasOne.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemRelationHasOne.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,gBAAiB,GAAG,gBAOtD,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { VulcanGraphqlModel } from "@vulcanjs/graphql";
|
2
|
+
import { VulcanDocument } from "@vulcanjs/schema";
|
3
|
+
export declare const CardItemRelationItem: ({ relatedDocument, relatedModel, }: {
|
4
|
+
relatedDocument: VulcanDocument;
|
5
|
+
relatedModel: VulcanGraphqlModel;
|
6
|
+
}) => JSX.Element;
|
7
|
+
export declare const DefaultCell: ({ document, label }: {
|
8
|
+
document: any;
|
9
|
+
label: any;
|
10
|
+
}) => JSX.Element;
|
11
|
+
export declare const UserCell: ({ document }: {
|
12
|
+
document: any;
|
13
|
+
}) => JSX.Element;
|
14
|
+
//# sourceMappingURL=CardItemRelationItem.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemRelationItem.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemRelationItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAelD,eAAO,MAAM,oBAAoB;qBAId,cAAc;kBACjB,kBAAkB;iBAejC,CAAC;AAGF,eAAO,MAAM,WAAW;;;iBAQvB,CAAC;AAGF,eAAO,MAAM,QAAQ;;iBAcpB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CardItemString.d.ts","sourceRoot":"","sources":["../../../components/cell/CardItemString.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;;iBAQ1B,CAAC"}
|