@dwidge/json-forms-expo 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +23 -0
- package/README.md +30 -0
- package/dist/cjs/FileAttachment/AttachmentEdit.js +14 -0
- package/dist/cjs/FileAttachment/AttachmentEdit.js.map +1 -0
- package/dist/cjs/FileAttachment/AttachmentListEdit.js +21 -0
- package/dist/cjs/FileAttachment/AttachmentListEdit.js.map +1 -0
- package/dist/cjs/FileAttachment/AttachmentListView.js +13 -0
- package/dist/cjs/FileAttachment/AttachmentListView.js.map +1 -0
- package/dist/cjs/FileAttachment/AttachmentScreen.js +14 -0
- package/dist/cjs/FileAttachment/AttachmentScreen.js.map +1 -0
- package/dist/cjs/FileAttachment/AttachmentView.js +14 -0
- package/dist/cjs/FileAttachment/AttachmentView.js.map +1 -0
- package/dist/cjs/FileAttachment/index.js +24 -0
- package/dist/cjs/FileAttachment/index.js.map +1 -0
- package/dist/cjs/FileAttachment/useFileAttachmentUrl.js +12 -0
- package/dist/cjs/FileAttachment/useFileAttachmentUrl.js.map +1 -0
- package/dist/cjs/FileAttachment/useFileUrl.js +11 -0
- package/dist/cjs/FileAttachment/useFileUrl.js.map +1 -0
- package/dist/cjs/Form/EditFormAttachmentScreen.js +61 -0
- package/dist/cjs/Form/EditFormAttachmentScreen.js.map +1 -0
- package/dist/cjs/Form/FormEdit.js +12 -0
- package/dist/cjs/Form/FormEdit.js.map +1 -0
- package/dist/cjs/Form/FormEditScreen.js +29 -0
- package/dist/cjs/Form/FormEditScreen.js.map +1 -0
- package/dist/cjs/Form/FormListEdit.js +22 -0
- package/dist/cjs/Form/FormListEdit.js.map +1 -0
- package/dist/cjs/Form/FormListScreen.js +28 -0
- package/dist/cjs/Form/FormListScreen.js.map +1 -0
- package/dist/cjs/Form/FormListView.js +18 -0
- package/dist/cjs/Form/FormListView.js.map +1 -0
- package/dist/cjs/Form/FormSelectScreen.js +21 -0
- package/dist/cjs/Form/FormSelectScreen.js.map +1 -0
- package/dist/cjs/Form/FormSelectView.js +16 -0
- package/dist/cjs/Form/FormSelectView.js.map +1 -0
- package/dist/cjs/Form/FormView.js +12 -0
- package/dist/cjs/Form/FormView.js.map +1 -0
- package/dist/cjs/Form/index.js +26 -0
- package/dist/cjs/Form/index.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentEdit.js +30 -0
- package/dist/cjs/FormAttachment/FormAttachmentEdit.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentEditScreen.js +15 -0
- package/dist/cjs/FormAttachment/FormAttachmentEditScreen.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentListEdit.js +27 -0
- package/dist/cjs/FormAttachment/FormAttachmentListEdit.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentListScreen.js +31 -0
- package/dist/cjs/FormAttachment/FormAttachmentListScreen.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentListView.js +21 -0
- package/dist/cjs/FormAttachment/FormAttachmentListView.js.map +1 -0
- package/dist/cjs/FormAttachment/FormAttachmentView.js +15 -0
- package/dist/cjs/FormAttachment/FormAttachmentView.js.map +1 -0
- package/dist/cjs/FormAttachment/index.js +23 -0
- package/dist/cjs/FormAttachment/index.js.map +1 -0
- package/dist/cjs/hooks/FileApi.js +15 -0
- package/dist/cjs/hooks/FileApi.js.map +1 -0
- package/dist/cjs/hooks/FileAttachmentApi.js +13 -0
- package/dist/cjs/hooks/FileAttachmentApi.js.map +1 -0
- package/dist/cjs/hooks/FormApi.js +13 -0
- package/dist/cjs/hooks/FormApi.js.map +1 -0
- package/dist/cjs/hooks/FormAttachmentApi.js +12 -0
- package/dist/cjs/hooks/FormAttachmentApi.js.map +1 -0
- package/dist/cjs/hooks/FormsContext.js +30 -0
- package/dist/cjs/hooks/FormsContext.js.map +1 -0
- package/dist/cjs/hooks/createApi.js +40 -0
- package/dist/cjs/hooks/createApi.js.map +1 -0
- package/dist/cjs/hooks/index.js +27 -0
- package/dist/cjs/hooks/index.js.map +1 -0
- package/dist/cjs/hooks/useCreateBlankAttachment.js +21 -0
- package/dist/cjs/hooks/useCreateBlankAttachment.js.map +1 -0
- package/dist/cjs/hooks/useCreateBlankForm.js +12 -0
- package/dist/cjs/hooks/useCreateBlankForm.js.map +1 -0
- package/dist/cjs/hooks/useCreateBlankFormAttachment.js +14 -0
- package/dist/cjs/hooks/useCreateBlankFormAttachment.js.map +1 -0
- package/dist/cjs/hooks/useParams.js +8 -0
- package/dist/cjs/hooks/useParams.js.map +1 -0
- package/dist/cjs/index.js +22 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/types/File2.js +3 -0
- package/dist/cjs/types/File2.js.map +1 -0
- package/dist/cjs/types/FileAttachment.js +3 -0
- package/dist/cjs/types/FileAttachment.js.map +1 -0
- package/dist/cjs/types/Form1.js +3 -0
- package/dist/cjs/types/Form1.js.map +1 -0
- package/dist/cjs/types/FormAttachment.js +3 -0
- package/dist/cjs/types/FormAttachment.js.map +1 -0
- package/dist/cjs/types/index.js +21 -0
- package/dist/cjs/types/index.js.map +1 -0
- package/dist/esm/FileAttachment/AttachmentEdit.js +10 -0
- package/dist/esm/FileAttachment/AttachmentEdit.js.map +1 -0
- package/dist/esm/FileAttachment/AttachmentListEdit.js +14 -0
- package/dist/esm/FileAttachment/AttachmentListEdit.js.map +1 -0
- package/dist/esm/FileAttachment/AttachmentListView.js +9 -0
- package/dist/esm/FileAttachment/AttachmentListView.js.map +1 -0
- package/dist/esm/FileAttachment/AttachmentScreen.js +10 -0
- package/dist/esm/FileAttachment/AttachmentScreen.js.map +1 -0
- package/dist/esm/FileAttachment/AttachmentView.js +10 -0
- package/dist/esm/FileAttachment/AttachmentView.js.map +1 -0
- package/dist/esm/FileAttachment/index.js +8 -0
- package/dist/esm/FileAttachment/index.js.map +1 -0
- package/dist/esm/FileAttachment/useFileAttachmentUrl.js +8 -0
- package/dist/esm/FileAttachment/useFileAttachmentUrl.js.map +1 -0
- package/dist/esm/FileAttachment/useFileUrl.js +7 -0
- package/dist/esm/FileAttachment/useFileUrl.js.map +1 -0
- package/dist/esm/Form/EditFormAttachmentScreen.js +57 -0
- package/dist/esm/Form/EditFormAttachmentScreen.js.map +1 -0
- package/dist/esm/Form/FormEdit.js +8 -0
- package/dist/esm/Form/FormEdit.js.map +1 -0
- package/dist/esm/Form/FormEditScreen.js +25 -0
- package/dist/esm/Form/FormEditScreen.js.map +1 -0
- package/dist/esm/Form/FormListEdit.js +15 -0
- package/dist/esm/Form/FormListEdit.js.map +1 -0
- package/dist/esm/Form/FormListScreen.js +24 -0
- package/dist/esm/Form/FormListScreen.js.map +1 -0
- package/dist/esm/Form/FormListView.js +11 -0
- package/dist/esm/Form/FormListView.js.map +1 -0
- package/dist/esm/Form/FormSelectScreen.js +17 -0
- package/dist/esm/Form/FormSelectScreen.js.map +1 -0
- package/dist/esm/Form/FormSelectView.js +12 -0
- package/dist/esm/Form/FormSelectView.js.map +1 -0
- package/dist/esm/Form/FormView.js +8 -0
- package/dist/esm/Form/FormView.js.map +1 -0
- package/dist/esm/Form/index.js +10 -0
- package/dist/esm/Form/index.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentEdit.js +26 -0
- package/dist/esm/FormAttachment/FormAttachmentEdit.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentEditScreen.js +11 -0
- package/dist/esm/FormAttachment/FormAttachmentEditScreen.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentListEdit.js +20 -0
- package/dist/esm/FormAttachment/FormAttachmentListEdit.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentListScreen.js +27 -0
- package/dist/esm/FormAttachment/FormAttachmentListScreen.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentListView.js +14 -0
- package/dist/esm/FormAttachment/FormAttachmentListView.js.map +1 -0
- package/dist/esm/FormAttachment/FormAttachmentView.js +11 -0
- package/dist/esm/FormAttachment/FormAttachmentView.js.map +1 -0
- package/dist/esm/FormAttachment/index.js +7 -0
- package/dist/esm/FormAttachment/index.js.map +1 -0
- package/dist/esm/hooks/FileApi.js +12 -0
- package/dist/esm/hooks/FileApi.js.map +1 -0
- package/dist/esm/hooks/FileAttachmentApi.js +10 -0
- package/dist/esm/hooks/FileAttachmentApi.js.map +1 -0
- package/dist/esm/hooks/FormApi.js +10 -0
- package/dist/esm/hooks/FormApi.js.map +1 -0
- package/dist/esm/hooks/FormAttachmentApi.js +9 -0
- package/dist/esm/hooks/FormAttachmentApi.js.map +1 -0
- package/dist/esm/hooks/FormsContext.js +26 -0
- package/dist/esm/hooks/FormsContext.js.map +1 -0
- package/dist/esm/hooks/createApi.js +36 -0
- package/dist/esm/hooks/createApi.js.map +1 -0
- package/dist/esm/hooks/index.js +11 -0
- package/dist/esm/hooks/index.js.map +1 -0
- package/dist/esm/hooks/useCreateBlankAttachment.js +14 -0
- package/dist/esm/hooks/useCreateBlankAttachment.js.map +1 -0
- package/dist/esm/hooks/useCreateBlankForm.js +8 -0
- package/dist/esm/hooks/useCreateBlankForm.js.map +1 -0
- package/dist/esm/hooks/useCreateBlankFormAttachment.js +10 -0
- package/dist/esm/hooks/useCreateBlankFormAttachment.js.map +1 -0
- package/dist/esm/hooks/useParams.js +4 -0
- package/dist/esm/hooks/useParams.js.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/types/File2.js +2 -0
- package/dist/esm/types/File2.js.map +1 -0
- package/dist/esm/types/FileAttachment.js +2 -0
- package/dist/esm/types/FileAttachment.js.map +1 -0
- package/dist/esm/types/Form1.js +2 -0
- package/dist/esm/types/Form1.js.map +1 -0
- package/dist/esm/types/FormAttachment.js +2 -0
- package/dist/esm/types/FormAttachment.js.map +1 -0
- package/dist/esm/types/index.js +5 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/tsconfig.cjs.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/FileAttachment/AttachmentEdit.d.ts +6 -0
- package/dist/types/FileAttachment/AttachmentEdit.d.ts.map +1 -0
- package/dist/types/FileAttachment/AttachmentListEdit.d.ts +9 -0
- package/dist/types/FileAttachment/AttachmentListEdit.d.ts.map +1 -0
- package/dist/types/FileAttachment/AttachmentListView.d.ts +9 -0
- package/dist/types/FileAttachment/AttachmentListView.d.ts.map +1 -0
- package/dist/types/FileAttachment/AttachmentScreen.d.ts +8 -0
- package/dist/types/FileAttachment/AttachmentScreen.d.ts.map +1 -0
- package/dist/types/FileAttachment/AttachmentView.d.ts +6 -0
- package/dist/types/FileAttachment/AttachmentView.d.ts.map +1 -0
- package/dist/types/FileAttachment/index.d.ts +8 -0
- package/dist/types/FileAttachment/index.d.ts.map +1 -0
- package/dist/types/FileAttachment/useFileAttachmentUrl.d.ts +2 -0
- package/dist/types/FileAttachment/useFileAttachmentUrl.d.ts.map +1 -0
- package/dist/types/FileAttachment/useFileUrl.d.ts +2 -0
- package/dist/types/FileAttachment/useFileUrl.d.ts.map +1 -0
- package/dist/types/Form/EditFormAttachmentScreen.d.ts +40 -0
- package/dist/types/Form/EditFormAttachmentScreen.d.ts.map +1 -0
- package/dist/types/Form/FormEdit.d.ts +4 -0
- package/dist/types/Form/FormEdit.d.ts.map +1 -0
- package/dist/types/Form/FormEditScreen.d.ts +4 -0
- package/dist/types/Form/FormEditScreen.d.ts.map +1 -0
- package/dist/types/Form/FormListEdit.d.ts +6 -0
- package/dist/types/Form/FormListEdit.d.ts.map +1 -0
- package/dist/types/Form/FormListScreen.d.ts +8 -0
- package/dist/types/Form/FormListScreen.d.ts.map +1 -0
- package/dist/types/Form/FormListView.d.ts +5 -0
- package/dist/types/Form/FormListView.d.ts.map +1 -0
- package/dist/types/Form/FormSelectScreen.d.ts +6 -0
- package/dist/types/Form/FormSelectScreen.d.ts.map +1 -0
- package/dist/types/Form/FormSelectView.d.ts +8 -0
- package/dist/types/Form/FormSelectView.d.ts.map +1 -0
- package/dist/types/Form/FormView.d.ts +5 -0
- package/dist/types/Form/FormView.d.ts.map +1 -0
- package/dist/types/Form/index.d.ts +10 -0
- package/dist/types/Form/index.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentEdit.d.ts +9 -0
- package/dist/types/FormAttachment/FormAttachmentEdit.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentEditScreen.d.ts +5 -0
- package/dist/types/FormAttachment/FormAttachmentEditScreen.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentListEdit.d.ts +11 -0
- package/dist/types/FormAttachment/FormAttachmentListEdit.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentListScreen.d.ts +7 -0
- package/dist/types/FormAttachment/FormAttachmentListScreen.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentListView.d.ts +5 -0
- package/dist/types/FormAttachment/FormAttachmentListView.d.ts.map +1 -0
- package/dist/types/FormAttachment/FormAttachmentView.d.ts +6 -0
- package/dist/types/FormAttachment/FormAttachmentView.d.ts.map +1 -0
- package/dist/types/FormAttachment/index.d.ts +7 -0
- package/dist/types/FormAttachment/index.d.ts.map +1 -0
- package/dist/types/hooks/FileApi.d.ts +35 -0
- package/dist/types/hooks/FileApi.d.ts.map +1 -0
- package/dist/types/hooks/FileAttachmentApi.d.ts +35 -0
- package/dist/types/hooks/FileAttachmentApi.d.ts.map +1 -0
- package/dist/types/hooks/FormApi.d.ts +35 -0
- package/dist/types/hooks/FormApi.d.ts.map +1 -0
- package/dist/types/hooks/FormAttachmentApi.d.ts +35 -0
- package/dist/types/hooks/FormAttachmentApi.d.ts.map +1 -0
- package/dist/types/hooks/FormsContext.d.ts +20 -0
- package/dist/types/hooks/FormsContext.d.ts.map +1 -0
- package/dist/types/hooks/createApi.d.ts +36 -0
- package/dist/types/hooks/createApi.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts +11 -0
- package/dist/types/hooks/index.d.ts.map +1 -0
- package/dist/types/hooks/useCreateBlankAttachment.d.ts +10 -0
- package/dist/types/hooks/useCreateBlankAttachment.d.ts.map +1 -0
- package/dist/types/hooks/useCreateBlankForm.d.ts +6 -0
- package/dist/types/hooks/useCreateBlankForm.d.ts.map +1 -0
- package/dist/types/hooks/useCreateBlankFormAttachment.d.ts +13 -0
- package/dist/types/hooks/useCreateBlankFormAttachment.d.ts.map +1 -0
- package/dist/types/hooks/useParams.d.ts +7 -0
- package/dist/types/hooks/useParams.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/types/File2.d.ts +16 -0
- package/dist/types/types/File2.d.ts.map +1 -0
- package/dist/types/types/FileAttachment.d.ts +10 -0
- package/dist/types/types/FileAttachment.d.ts.map +1 -0
- package/dist/types/types/Form1.d.ts +14 -0
- package/dist/types/types/Form1.d.ts.map +1 -0
- package/dist/types/types/FormAttachment.d.ts +13 -0
- package/dist/types/types/FormAttachment.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +5 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/package.json +73 -0
- package/src/FileAttachment/AttachmentEdit.tsx +14 -0
- package/src/FileAttachment/AttachmentListEdit.tsx +45 -0
- package/src/FileAttachment/AttachmentListView.tsx +12 -0
- package/src/FileAttachment/AttachmentScreen.tsx +21 -0
- package/src/FileAttachment/AttachmentView.tsx +14 -0
- package/src/FileAttachment/index.ts +7 -0
- package/src/FileAttachment/useFileAttachmentUrl.ts +15 -0
- package/src/FileAttachment/useFileUrl.ts +12 -0
- package/src/Form/EditFormAttachmentScreen.tsx +101 -0
- package/src/Form/FormEdit.tsx +15 -0
- package/src/Form/FormEditScreen.tsx +54 -0
- package/src/Form/FormListEdit.tsx +32 -0
- package/src/Form/FormListScreen.tsx +54 -0
- package/src/Form/FormListView.tsx +23 -0
- package/src/Form/FormSelectScreen.tsx +49 -0
- package/src/Form/FormSelectView.tsx +31 -0
- package/src/Form/FormView.tsx +11 -0
- package/src/Form/index.ts +9 -0
- package/src/FormAttachment/FormAttachmentEdit.tsx +72 -0
- package/src/FormAttachment/FormAttachmentEditScreen.tsx +21 -0
- package/src/FormAttachment/FormAttachmentListEdit.tsx +40 -0
- package/src/FormAttachment/FormAttachmentListScreen.tsx +62 -0
- package/src/FormAttachment/FormAttachmentListView.tsx +30 -0
- package/src/FormAttachment/FormAttachmentView.tsx +25 -0
- package/src/FormAttachment/index.ts +6 -0
- package/src/hooks/FileApi.ts +13 -0
- package/src/hooks/FileAttachmentApi.ts +11 -0
- package/src/hooks/FormApi.ts +11 -0
- package/src/hooks/FormAttachmentApi.ts +10 -0
- package/src/hooks/FormsContext.ts +29 -0
- package/src/hooks/createApi.ts +65 -0
- package/src/hooks/index.ts +10 -0
- package/src/hooks/useCreateBlankAttachment.ts +24 -0
- package/src/hooks/useCreateBlankForm.ts +12 -0
- package/src/hooks/useCreateBlankFormAttachment.ts +20 -0
- package/src/hooks/useParams.ts +9 -0
- package/src/index.ts +5 -0
- package/src/types/File2.ts +19 -0
- package/src/types/FileAttachment.ts +9 -0
- package/src/types/Form1.ts +17 -0
- package/src/types/FormAttachment.ts +19 -0
- package/src/types/index.ts +4 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const AttachmentEdit: ({ id, attachment: [attachment], file: [file, setFile], }: {
|
|
2
|
+
id?: string | null | undefined;
|
|
3
|
+
attachment?: [Partial<import("..").FileAttachment> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<import("..").FileAttachment> | null>> | undefined, changed: boolean, save: () => void, revert: () => void] | undefined;
|
|
4
|
+
file?: [Partial<import("..").File2> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<import("..").File2> | null>> | undefined, changed: boolean, save: () => void, revert: () => void] | undefined;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=AttachmentEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentEdit.d.ts","sourceRoot":"","sources":["../../../src/FileAttachment/AttachmentEdit.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc;;;;6CAIc,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Params } from "../hooks/useParams";
|
|
2
|
+
export declare const AttachmentListEdit: ({ ids, elements, selection: [selection, setSelection], onCreateAttachment, onDeleteAttachmentList, }: {
|
|
3
|
+
ids?: Params | undefined;
|
|
4
|
+
elements?: Partial<import("..").FileAttachment>[] | undefined;
|
|
5
|
+
selection?: [string[], import("react").Dispatch<import("react").SetStateAction<string[]>>] | undefined;
|
|
6
|
+
onCreateAttachment?: (() => Promise<Partial<import("..").FileAttachment> | null>) | undefined;
|
|
7
|
+
onDeleteAttachmentList?: ((list: Pick<Partial<import("..").FileAttachment>, "id">[]) => Promise<(Partial<import("..").FileAttachment> | null)[]>) | undefined;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=AttachmentListEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentListEdit.d.ts","sourceRoot":"","sources":["../../../src/FileAttachment/AttachmentListEdit.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,MAAM,EAAa,MAAM,oBAAoB,CAAC;AAGvD,eAAO,MAAM,kBAAkB;;;;;;6CA2B9B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const AttachmentListView: ({ ids, attachments, }: {
|
|
2
|
+
ids?: (import("../hooks/useParams").Params & {
|
|
3
|
+
AttachmentId?: string | null | undefined;
|
|
4
|
+
FormId?: string | null | undefined;
|
|
5
|
+
FormAttachmentId?: string | null | undefined;
|
|
6
|
+
}) | undefined;
|
|
7
|
+
attachments?: Partial<import("..").FileAttachment>[] | undefined;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element[] | undefined;
|
|
9
|
+
//# sourceMappingURL=AttachmentListView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentListView.d.ts","sourceRoot":"","sources":["../../../src/FileAttachment/AttachmentListView.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,kBAAkB;;;;;;;2DAGuC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const AttachmentScreen: ({ ids }: {
|
|
2
|
+
ids?: (import("../hooks/useParams").Params & {
|
|
3
|
+
AttachmentId?: string | null | undefined;
|
|
4
|
+
FormId?: string | null | undefined;
|
|
5
|
+
FormAttachmentId?: string | null | undefined;
|
|
6
|
+
}) | undefined;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=AttachmentScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentScreen.d.ts","sourceRoot":"","sources":["../../../src/FileAttachment/AttachmentScreen.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB;;;;;;6CAW5B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const AttachmentView: ({ id, attachment: [attachment], file: [file, setFile], }: {
|
|
2
|
+
id?: string | undefined;
|
|
3
|
+
attachment?: [Partial<import("..").FileAttachment> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<import("..").FileAttachment> | null>> | undefined, changed: boolean, save: () => void, revert: () => void] | undefined;
|
|
4
|
+
file?: [Partial<import("..").File2> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<import("..").File2> | null>> | undefined, changed: boolean, save: () => void, revert: () => void] | undefined;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=AttachmentView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachmentView.d.ts","sourceRoot":"","sources":["../../../src/FileAttachment/AttachmentView.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc;;;;6CAIc,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./AttachmentEdit";
|
|
2
|
+
export * from "./AttachmentListEdit";
|
|
3
|
+
export * from "./AttachmentListView";
|
|
4
|
+
export * from "./AttachmentScreen";
|
|
5
|
+
export * from "./AttachmentView";
|
|
6
|
+
export * from "./useFileAttachmentUrl";
|
|
7
|
+
export * from "./useFileUrl";
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/FileAttachment/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFileAttachmentUrl.d.ts","sourceRoot":"","sources":["../../../src/FileAttachment/useFileAttachmentUrl.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB,kBAChB,MAAM,KACpB,MAAM,GAAG,IAAI,GAAG,SAAuD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFileUrl.d.ts","sourceRoot":"","sources":["../../../src/FileAttachment/useFileUrl.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU,YAAa,MAAM,KAAG,MAAM,GAAG,IAAI,GAAG,SACjC,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
type FieldType = "string" | "number" | "boolean";
|
|
3
|
+
type Form = {
|
|
4
|
+
title: string;
|
|
5
|
+
fields: {
|
|
6
|
+
type: FieldType;
|
|
7
|
+
title: string;
|
|
8
|
+
required: boolean;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
declare const Form: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
schema: z.ZodObject<{
|
|
14
|
+
jsonSchema: z.ZodString;
|
|
15
|
+
uiSchema: z.ZodString;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
jsonSchema: string;
|
|
18
|
+
uiSchema: string;
|
|
19
|
+
}, {
|
|
20
|
+
jsonSchema: string;
|
|
21
|
+
uiSchema: string;
|
|
22
|
+
}>;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
id: string;
|
|
25
|
+
schema: {
|
|
26
|
+
jsonSchema: string;
|
|
27
|
+
uiSchema: string;
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
id: string;
|
|
31
|
+
schema: {
|
|
32
|
+
jsonSchema: string;
|
|
33
|
+
uiSchema: string;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
export declare const EditFormAttachmentScreen: ({ form: [form, setForm], }: {
|
|
37
|
+
form?: [Form | null | undefined, import("react").Dispatch<import("react").SetStateAction<Form | null | undefined>>] | undefined;
|
|
38
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=EditFormAttachmentScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditFormAttachmentScreen.d.ts","sourceRoot":"","sources":["../../../src/Form/EditFormAttachmentScreen.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,KAAK,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEjD,KAAK,IAAI,GAAG;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE;QACN,IAAI,EAAE,SAAS,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,OAAO,CAAC;KACnB,EAAE,CAAC;CACL,CAAC;AAyCF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;EAGR,CAAC;AAEH,eAAO,MAAM,wBAAwB;;6CAsBpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormEdit.d.ts","sourceRoot":"","sources":["../../../src/Form/FormEdit.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,QAAQ;;6CAOlB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const FormEditScreen: ({ form: [form, setForm], }: {
|
|
2
|
+
form?: [Partial<import("..").Form1> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<import("..").Form1> | null>> | undefined, changed: boolean, save: () => void, revert: () => void] | undefined;
|
|
3
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=FormEditScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormEditScreen.d.ts","sourceRoot":"","sources":["../../../src/Form/FormEditScreen.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,cAAc;;6CAkC1B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const FormListEdit: ({ elements, selection: [selection, setSelection], onPress, }: {
|
|
2
|
+
elements?: Partial<import("..").Form1>[] | undefined;
|
|
3
|
+
selection?: [string[], import("react").Dispatch<import("react").SetStateAction<string[]>>] | undefined;
|
|
4
|
+
onPress?: ((id: string) => Promise<void>) | undefined;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=FormListEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormListEdit.d.ts","sourceRoot":"","sources":["../../../src/Form/FormListEdit.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY;;;;6CAmBxB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const FormListScreen: ({ onCreate, onDeleteList, selection, }: {
|
|
2
|
+
onCreate?: (() => Promise<{
|
|
3
|
+
FormId: string | undefined;
|
|
4
|
+
}>) | (() => undefined) | undefined;
|
|
5
|
+
onDeleteList?: ((list: Pick<Partial<import("..").Form1>, "id">[]) => Promise<(Partial<import("..").Form1> | null)[]>) | undefined;
|
|
6
|
+
selection?: [string[], import("react").Dispatch<import("react").SetStateAction<string[]>>] | undefined;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=FormListScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormListScreen.d.ts","sourceRoot":"","sources":["../../../src/Form/FormListScreen.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,cAAc;;;;;;6CAmC1B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const FormListView: ({ elements, selection: [selection, setSelection], }: {
|
|
2
|
+
elements?: Partial<import("..").Form1>[] | undefined;
|
|
3
|
+
selection?: [string[], import("react").Dispatch<import("react").SetStateAction<string[]>>] | undefined;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=FormListView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormListView.d.ts","sourceRoot":"","sources":["../../../src/Form/FormListView.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,YAAY;;;6CAYxB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const FormSelectScreen: ({ onSelectForm, selected: [selected, setSelected], }: {
|
|
3
|
+
onSelectForm?: ((forms: import("..").Form1Key[]) => Promise<void>) | undefined;
|
|
4
|
+
selected?: [string[], React.Dispatch<React.SetStateAction<string[]>>] | undefined;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=FormSelectScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormSelectScreen.d.ts","sourceRoot":"","sources":["../../../src/Form/FormSelectScreen.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAoBxC,eAAO,MAAM,gBAAgB;;;6CAwB5B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export declare const FormSelectView: ({ formList, selected: [selected, setSelected], searchValue: [searchValue, setSearchValue], createFormList, }: {
|
|
3
|
+
formList?: Partial<import("..").Form1>[] | undefined;
|
|
4
|
+
selected?: [string[], import("react").Dispatch<import("react").SetStateAction<string[]>>] | undefined;
|
|
5
|
+
searchValue?: [string, import("react").Dispatch<import("react").SetStateAction<string>>] | undefined;
|
|
6
|
+
createFormList?: ((list: Omit<Partial<import("..").Form1>, "createdAt" | "createdBy">[]) => Promise<(Partial<import("..").Form1> | null)[]>) | undefined;
|
|
7
|
+
}) => ReactNode;
|
|
8
|
+
//# sourceMappingURL=FormSelectView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormSelectView.d.ts","sourceRoot":"","sources":["../../../src/Form/FormSelectView.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAI5C,eAAO,MAAM,cAAc;;;;;MAKvB,SAgBH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormView.d.ts","sourceRoot":"","sources":["../../../src/Form/FormView.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,QAAQ;;;6CAGoC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./EditFormAttachmentScreen";
|
|
2
|
+
export * from "./FormEdit";
|
|
3
|
+
export * from "./FormEditScreen";
|
|
4
|
+
export * from "./FormListEdit";
|
|
5
|
+
export * from "./FormListScreen";
|
|
6
|
+
export * from "./FormListView";
|
|
7
|
+
export * from "./FormSelectScreen";
|
|
8
|
+
export * from "./FormSelectView";
|
|
9
|
+
export * from "./FormView";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Form/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormAttachment1 } from "../types/FormAttachment";
|
|
2
|
+
export declare const FormAttachmentEdit: ({ id, formAttachment: [formAttachment, setFormAttachment,], form, onEditForm, onSaveForm, }: {
|
|
3
|
+
id?: string | null | undefined;
|
|
4
|
+
formAttachment?: [Partial<FormAttachment1> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<FormAttachment1> | null>> | undefined, changed: boolean, save: () => void, revert: () => void] | undefined;
|
|
5
|
+
form?: Partial<import("..").Form1> | null | undefined;
|
|
6
|
+
onEditForm?: ((key: string) => Promise<void>) | undefined;
|
|
7
|
+
onSaveForm?: (() => Promise<void>) | undefined;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=FormAttachmentEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormAttachmentEdit.d.ts","sourceRoot":"","sources":["../../../src/FormAttachment/FormAttachmentEdit.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG1D,eAAO,MAAM,kBAAkB;;;;;;6CAmD5B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const FormAttachmentEditScreen: ({ formAttachment, form, }: {
|
|
2
|
+
formAttachment?: Partial<import("..").FormAttachment1> | null | undefined;
|
|
3
|
+
form?: Partial<import("..").Form1> | null | undefined;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=FormAttachmentEditScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormAttachmentEditScreen.d.ts","sourceRoot":"","sources":["../../../src/FormAttachment/FormAttachmentEditScreen.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,wBAAwB;;;6CAUpC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const FormAttachmentListEdit: ({ ids, elements, selection: [selection, setSelection], onPress, }: {
|
|
2
|
+
ids?: (import("../hooks").Params & {
|
|
3
|
+
AttachmentId?: string | null | undefined;
|
|
4
|
+
FormId?: string | null | undefined;
|
|
5
|
+
FormAttachmentId?: string | null | undefined;
|
|
6
|
+
}) | undefined;
|
|
7
|
+
elements?: Partial<import("..").FormAttachment1>[] | undefined;
|
|
8
|
+
selection?: [string[], import("react").Dispatch<import("react").SetStateAction<string[]>>] | undefined;
|
|
9
|
+
onPress?: ((id: string) => Promise<void>) | undefined;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=FormAttachmentListEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormAttachmentListEdit.d.ts","sourceRoot":"","sources":["../../../src/FormAttachment/FormAttachmentListEdit.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,sBAAsB;;;;;;;;;6CA0BlC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const FormAttachmentListScreen: ({ onCreateAttachment, onEditAttachment, onDeleteAttachmentList, selection, }: {
|
|
2
|
+
onCreateAttachment?: (() => Promise<void>) | undefined;
|
|
3
|
+
onEditAttachment?: ((key: string) => Promise<void>) | undefined;
|
|
4
|
+
onDeleteAttachmentList?: ((list: Pick<Partial<import("..").FormAttachment1>, "id">[]) => Promise<(Partial<import("..").FormAttachment1> | null)[]>) | undefined;
|
|
5
|
+
selection?: [string[], import("react").Dispatch<import("react").SetStateAction<string[]>>] | undefined;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=FormAttachmentListScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormAttachmentListScreen.d.ts","sourceRoot":"","sources":["../../../src/FormAttachment/FormAttachmentListScreen.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,wBAAwB;;;;;6CA2CpC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const FormAttachmentListView: ({ attachments, onPressItem, }: {
|
|
2
|
+
attachments?: Partial<import("..").FormAttachment1>[] | undefined;
|
|
3
|
+
onPressItem?: ((id: string) => Promise<void>) | undefined;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=FormAttachmentListView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormAttachmentListView.d.ts","sourceRoot":"","sources":["../../../src/FormAttachment/FormAttachmentListView.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,sBAAsB;;;6CAkBlC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const FormAttachmentView: ({ id, attachment: [attachment, setAttachment], form, }: {
|
|
2
|
+
id?: string | null | undefined;
|
|
3
|
+
attachment?: [Partial<import("..").FormAttachment1> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<import("..").FormAttachment1> | null>> | undefined, changed: boolean, save: () => void, revert: () => void] | undefined;
|
|
4
|
+
form?: Partial<import("..").Form1> | null | undefined;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=FormAttachmentView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormAttachmentView.d.ts","sourceRoot":"","sources":["../../../src/FormAttachment/FormAttachmentView.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,kBAAkB;;;;6CAc5B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./FormAttachmentEdit";
|
|
2
|
+
export * from "./FormAttachmentEditScreen";
|
|
3
|
+
export * from "./FormAttachmentListEdit";
|
|
4
|
+
export * from "./FormAttachmentListScreen";
|
|
5
|
+
export * from "./FormAttachmentListView";
|
|
6
|
+
export * from "./FormAttachmentView";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/FormAttachment/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { File2 } from "../types/File2.js";
|
|
2
|
+
export declare const FileApi: {
|
|
3
|
+
Context: import("react").Context<{
|
|
4
|
+
useGetList: (filter?: Partial<File2> | undefined) => Partial<File2>[] | undefined;
|
|
5
|
+
useCreateList: () => ((list: Omit<Partial<File2>, "createdAt" | "createdBy">[]) => Promise<(Partial<File2> | null)[]>) | undefined;
|
|
6
|
+
useDeleteList: () => ((list: Pick<Partial<File2>, "id">[]) => Promise<(Partial<File2> | null)[]>) | undefined;
|
|
7
|
+
useGetItem: (key?: (Partial<File2> & Pick<Partial<File2>, "id">) | undefined) => Partial<File2> | null | undefined;
|
|
8
|
+
useItem: (key?: Partial<File2> | undefined) => import("@dwidge/hooks-react").AsyncState<Partial<File2> | null>;
|
|
9
|
+
}>;
|
|
10
|
+
Provider: import("react").Provider<{
|
|
11
|
+
useGetList: (filter?: Partial<File2> | undefined) => Partial<File2>[] | undefined;
|
|
12
|
+
useCreateList: () => ((list: Omit<Partial<File2>, "createdAt" | "createdBy">[]) => Promise<(Partial<File2> | null)[]>) | undefined;
|
|
13
|
+
useDeleteList: () => ((list: Pick<Partial<File2>, "id">[]) => Promise<(Partial<File2> | null)[]>) | undefined;
|
|
14
|
+
useGetItem: (key?: (Partial<File2> & Pick<Partial<File2>, "id">) | undefined) => Partial<File2> | null | undefined;
|
|
15
|
+
useItem: (key?: Partial<File2> | undefined) => import("@dwidge/hooks-react").AsyncState<Partial<File2> | null>;
|
|
16
|
+
}>;
|
|
17
|
+
useGetList: (filter?: Partial<File2>, ids?: import("./useParams.js").Params & {
|
|
18
|
+
AttachmentId?: string | null | undefined;
|
|
19
|
+
FormId?: string | null | undefined;
|
|
20
|
+
FormAttachmentId?: string | null | undefined;
|
|
21
|
+
}) => Partial<File2>[] | undefined;
|
|
22
|
+
useGetItem: (id?: string | null | undefined, ids?: import("./useParams.js").Params & {
|
|
23
|
+
AttachmentId?: string | null | undefined;
|
|
24
|
+
FormId?: string | null | undefined;
|
|
25
|
+
FormAttachmentId?: string | null | undefined;
|
|
26
|
+
}) => Partial<File2> | null | undefined;
|
|
27
|
+
useItem: (id?: string | null | undefined, ids?: import("./useParams.js").Params & {
|
|
28
|
+
AttachmentId?: string | null | undefined;
|
|
29
|
+
FormId?: string | null | undefined;
|
|
30
|
+
FormAttachmentId?: string | null | undefined;
|
|
31
|
+
}) => [Partial<File2> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<File2> | null>> | undefined, changed: boolean, save: () => void, revert: () => void];
|
|
32
|
+
useCreateList: () => ((list: Omit<Partial<File2>, "createdAt" | "createdBy">[]) => Promise<(Partial<File2> | null)[]>) | undefined;
|
|
33
|
+
useDeleteList: () => ((list: Pick<Partial<File2>, "id">[]) => Promise<(Partial<File2> | null)[]>) | undefined;
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=FileApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileApi.d.ts","sourceRoot":"","sources":["../../../src/hooks/FileApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASlB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FileAttachment } from "../types/FileAttachment.js";
|
|
2
|
+
export declare const FileAttachmentApi: {
|
|
3
|
+
Context: import("react").Context<{
|
|
4
|
+
useGetList: (filter?: Partial<FileAttachment> | undefined) => Partial<FileAttachment>[] | undefined;
|
|
5
|
+
useCreateList: () => ((list: Omit<Partial<FileAttachment>, "createdAt" | "createdBy">[]) => Promise<(Partial<FileAttachment> | null)[]>) | undefined;
|
|
6
|
+
useDeleteList: () => ((list: Pick<Partial<FileAttachment>, "id">[]) => Promise<(Partial<FileAttachment> | null)[]>) | undefined;
|
|
7
|
+
useGetItem: (key?: (Partial<FileAttachment> & Pick<Partial<FileAttachment>, "id">) | undefined) => Partial<FileAttachment> | null | undefined;
|
|
8
|
+
useItem: (key?: Partial<FileAttachment> | undefined) => import("@dwidge/hooks-react").AsyncState<Partial<FileAttachment> | null>;
|
|
9
|
+
}>;
|
|
10
|
+
Provider: import("react").Provider<{
|
|
11
|
+
useGetList: (filter?: Partial<FileAttachment> | undefined) => Partial<FileAttachment>[] | undefined;
|
|
12
|
+
useCreateList: () => ((list: Omit<Partial<FileAttachment>, "createdAt" | "createdBy">[]) => Promise<(Partial<FileAttachment> | null)[]>) | undefined;
|
|
13
|
+
useDeleteList: () => ((list: Pick<Partial<FileAttachment>, "id">[]) => Promise<(Partial<FileAttachment> | null)[]>) | undefined;
|
|
14
|
+
useGetItem: (key?: (Partial<FileAttachment> & Pick<Partial<FileAttachment>, "id">) | undefined) => Partial<FileAttachment> | null | undefined;
|
|
15
|
+
useItem: (key?: Partial<FileAttachment> | undefined) => import("@dwidge/hooks-react").AsyncState<Partial<FileAttachment> | null>;
|
|
16
|
+
}>;
|
|
17
|
+
useGetList: (filter?: Partial<FileAttachment>, ids?: import("./useParams.js").Params & {
|
|
18
|
+
AttachmentId?: string | null | undefined;
|
|
19
|
+
FormId?: string | null | undefined;
|
|
20
|
+
FormAttachmentId?: string | null | undefined;
|
|
21
|
+
}) => Partial<FileAttachment>[] | undefined;
|
|
22
|
+
useGetItem: (id?: string | null | undefined, ids?: import("./useParams.js").Params & {
|
|
23
|
+
AttachmentId?: string | null | undefined;
|
|
24
|
+
FormId?: string | null | undefined;
|
|
25
|
+
FormAttachmentId?: string | null | undefined;
|
|
26
|
+
}) => Partial<FileAttachment> | null | undefined;
|
|
27
|
+
useItem: (id?: string | null | undefined, ids?: import("./useParams.js").Params & {
|
|
28
|
+
AttachmentId?: string | null | undefined;
|
|
29
|
+
FormId?: string | null | undefined;
|
|
30
|
+
FormAttachmentId?: string | null | undefined;
|
|
31
|
+
}) => [Partial<FileAttachment> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<FileAttachment> | null>> | undefined, changed: boolean, save: () => void, revert: () => void];
|
|
32
|
+
useCreateList: () => ((list: Omit<Partial<FileAttachment>, "createdAt" | "createdBy">[]) => Promise<(Partial<FileAttachment> | null)[]>) | undefined;
|
|
33
|
+
useDeleteList: () => ((list: Pick<Partial<FileAttachment>, "id">[]) => Promise<(Partial<FileAttachment> | null)[]>) | undefined;
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=FileAttachmentApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileAttachmentApi.d.ts","sourceRoot":"","sources":["../../../src/hooks/FileAttachmentApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAG5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO5B,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Form1 } from "../types/Form1.js";
|
|
2
|
+
export declare const FormApi: {
|
|
3
|
+
Context: import("react").Context<{
|
|
4
|
+
useGetList: (filter?: Partial<Form1> | undefined) => Partial<Form1>[] | undefined;
|
|
5
|
+
useCreateList: () => ((list: Omit<Partial<Form1>, "createdAt" | "createdBy">[]) => Promise<(Partial<Form1> | null)[]>) | undefined;
|
|
6
|
+
useDeleteList: () => ((list: Pick<Partial<Form1>, "id">[]) => Promise<(Partial<Form1> | null)[]>) | undefined;
|
|
7
|
+
useGetItem: (key?: (Partial<Form1> & Pick<Partial<Form1>, "id">) | undefined) => Partial<Form1> | null | undefined;
|
|
8
|
+
useItem: (key?: Partial<Form1> | undefined) => import("@dwidge/hooks-react").AsyncState<Partial<Form1> | null>;
|
|
9
|
+
}>;
|
|
10
|
+
Provider: import("react").Provider<{
|
|
11
|
+
useGetList: (filter?: Partial<Form1> | undefined) => Partial<Form1>[] | undefined;
|
|
12
|
+
useCreateList: () => ((list: Omit<Partial<Form1>, "createdAt" | "createdBy">[]) => Promise<(Partial<Form1> | null)[]>) | undefined;
|
|
13
|
+
useDeleteList: () => ((list: Pick<Partial<Form1>, "id">[]) => Promise<(Partial<Form1> | null)[]>) | undefined;
|
|
14
|
+
useGetItem: (key?: (Partial<Form1> & Pick<Partial<Form1>, "id">) | undefined) => Partial<Form1> | null | undefined;
|
|
15
|
+
useItem: (key?: Partial<Form1> | undefined) => import("@dwidge/hooks-react").AsyncState<Partial<Form1> | null>;
|
|
16
|
+
}>;
|
|
17
|
+
useGetList: (filter?: Partial<Form1>, ids?: import("./useParams.js").Params & {
|
|
18
|
+
AttachmentId?: string | null | undefined;
|
|
19
|
+
FormId?: string | null | undefined;
|
|
20
|
+
FormAttachmentId?: string | null | undefined;
|
|
21
|
+
}) => Partial<Form1>[] | undefined;
|
|
22
|
+
useGetItem: (id?: string | null | undefined, ids?: import("./useParams.js").Params & {
|
|
23
|
+
AttachmentId?: string | null | undefined;
|
|
24
|
+
FormId?: string | null | undefined;
|
|
25
|
+
FormAttachmentId?: string | null | undefined;
|
|
26
|
+
}) => Partial<Form1> | null | undefined;
|
|
27
|
+
useItem: (id?: string | null | undefined, ids?: import("./useParams.js").Params & {
|
|
28
|
+
AttachmentId?: string | null | undefined;
|
|
29
|
+
FormId?: string | null | undefined;
|
|
30
|
+
FormAttachmentId?: string | null | undefined;
|
|
31
|
+
}) => [Partial<Form1> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<Form1> | null>> | undefined, changed: boolean, save: () => void, revert: () => void];
|
|
32
|
+
useCreateList: () => ((list: Omit<Partial<Form1>, "createdAt" | "createdBy">[]) => Promise<(Partial<Form1> | null)[]>) | undefined;
|
|
33
|
+
useDeleteList: () => ((list: Pick<Partial<Form1>, "id">[]) => Promise<(Partial<Form1> | null)[]>) | undefined;
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=FormApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormApi.d.ts","sourceRoot":"","sources":["../../../src/hooks/FormApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOlB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { FormAttachment1 } from "../types/FormAttachment.js";
|
|
2
|
+
export declare const FormAttachmentApi: {
|
|
3
|
+
Context: import("react").Context<{
|
|
4
|
+
useGetList: (filter?: Partial<FormAttachment1> | undefined) => Partial<FormAttachment1>[] | undefined;
|
|
5
|
+
useCreateList: () => ((list: Omit<Partial<FormAttachment1>, "createdAt" | "createdBy">[]) => Promise<(Partial<FormAttachment1> | null)[]>) | undefined;
|
|
6
|
+
useDeleteList: () => ((list: Pick<Partial<FormAttachment1>, "id">[]) => Promise<(Partial<FormAttachment1> | null)[]>) | undefined;
|
|
7
|
+
useGetItem: (key?: (Partial<FormAttachment1> & Pick<Partial<FormAttachment1>, "id">) | undefined) => Partial<FormAttachment1> | null | undefined;
|
|
8
|
+
useItem: (key?: Partial<FormAttachment1> | undefined) => import("@dwidge/hooks-react").AsyncState<Partial<FormAttachment1> | null>;
|
|
9
|
+
}>;
|
|
10
|
+
Provider: import("react").Provider<{
|
|
11
|
+
useGetList: (filter?: Partial<FormAttachment1> | undefined) => Partial<FormAttachment1>[] | undefined;
|
|
12
|
+
useCreateList: () => ((list: Omit<Partial<FormAttachment1>, "createdAt" | "createdBy">[]) => Promise<(Partial<FormAttachment1> | null)[]>) | undefined;
|
|
13
|
+
useDeleteList: () => ((list: Pick<Partial<FormAttachment1>, "id">[]) => Promise<(Partial<FormAttachment1> | null)[]>) | undefined;
|
|
14
|
+
useGetItem: (key?: (Partial<FormAttachment1> & Pick<Partial<FormAttachment1>, "id">) | undefined) => Partial<FormAttachment1> | null | undefined;
|
|
15
|
+
useItem: (key?: Partial<FormAttachment1> | undefined) => import("@dwidge/hooks-react").AsyncState<Partial<FormAttachment1> | null>;
|
|
16
|
+
}>;
|
|
17
|
+
useGetList: (filter?: Partial<FormAttachment1>, ids?: import("./useParams.js").Params & {
|
|
18
|
+
AttachmentId?: string | null | undefined;
|
|
19
|
+
FormId?: string | null | undefined;
|
|
20
|
+
FormAttachmentId?: string | null | undefined;
|
|
21
|
+
}) => Partial<FormAttachment1>[] | undefined;
|
|
22
|
+
useGetItem: (id?: string | null | undefined, ids?: import("./useParams.js").Params & {
|
|
23
|
+
AttachmentId?: string | null | undefined;
|
|
24
|
+
FormId?: string | null | undefined;
|
|
25
|
+
FormAttachmentId?: string | null | undefined;
|
|
26
|
+
}) => Partial<FormAttachment1> | null | undefined;
|
|
27
|
+
useItem: (id?: string | null | undefined, ids?: import("./useParams.js").Params & {
|
|
28
|
+
AttachmentId?: string | null | undefined;
|
|
29
|
+
FormId?: string | null | undefined;
|
|
30
|
+
FormAttachmentId?: string | null | undefined;
|
|
31
|
+
}) => [Partial<FormAttachment1> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<FormAttachment1> | null>> | undefined, changed: boolean, save: () => void, revert: () => void];
|
|
32
|
+
useCreateList: () => ((list: Omit<Partial<FormAttachment1>, "createdAt" | "createdBy">[]) => Promise<(Partial<FormAttachment1> | null)[]>) | undefined;
|
|
33
|
+
useDeleteList: () => ((list: Pick<Partial<FormAttachment1>, "id">[]) => Promise<(Partial<FormAttachment1> | null)[]>) | undefined;
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=FormAttachmentApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormAttachmentApi.d.ts","sourceRoot":"","sources":["../../../src/hooks/FormAttachmentApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAG7D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const FormsContext: import("react").Context<{
|
|
2
|
+
routes: {
|
|
3
|
+
FORM_ATTACHMENT_LIST_SCREEN: string;
|
|
4
|
+
FORM_ATTACHMENT_EDIT_SCREEN: string;
|
|
5
|
+
FORM_EDIT_SCREEN: string;
|
|
6
|
+
FORM_SELECT_SCREEN: string;
|
|
7
|
+
};
|
|
8
|
+
useParams: () => {
|
|
9
|
+
FormId?: string | null | undefined;
|
|
10
|
+
FormAttachmentId?: string | null | undefined;
|
|
11
|
+
AttachmentId?: string | null | undefined;
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
export declare const useNavRoutes: () => {
|
|
15
|
+
FORM_ATTACHMENT_LIST_SCREEN: string;
|
|
16
|
+
FORM_ATTACHMENT_EDIT_SCREEN: string;
|
|
17
|
+
FORM_EDIT_SCREEN: string;
|
|
18
|
+
FORM_SELECT_SCREEN: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=FormsContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormsContext.d.ts","sourceRoot":"","sources":["../../../src/hooks/FormsContext.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;;;;;;;;;;EAkBvB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;CAAwC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AsyncState } from "@dwidge/hooks-react";
|
|
2
|
+
export type ApiItem = Record<string, string | number | boolean | null>;
|
|
3
|
+
export declare const createApi: <T extends ApiItem>(defaultFilter?: Partial<T>) => {
|
|
4
|
+
Context: import("react").Context<{
|
|
5
|
+
useGetList: (filter?: Partial<T>) => undefined | Partial<T>[];
|
|
6
|
+
useCreateList: () => ((list: Omit<Partial<T>, "createdAt" | "createdBy">[]) => Promise<(Partial<T> | null)[]>) | undefined;
|
|
7
|
+
useDeleteList: () => ((list: Pick<Partial<T>, "id">[]) => Promise<(Partial<T> | null)[]>) | undefined;
|
|
8
|
+
useGetItem: (key?: Partial<T> & Pick<Partial<T>, "id">) => undefined | Partial<T> | null;
|
|
9
|
+
useItem: (key?: Partial<T>) => AsyncState<Partial<T> | null>;
|
|
10
|
+
}>;
|
|
11
|
+
Provider: import("react").Provider<{
|
|
12
|
+
useGetList: (filter?: Partial<T>) => undefined | Partial<T>[];
|
|
13
|
+
useCreateList: () => ((list: Omit<Partial<T>, "createdAt" | "createdBy">[]) => Promise<(Partial<T> | null)[]>) | undefined;
|
|
14
|
+
useDeleteList: () => ((list: Pick<Partial<T>, "id">[]) => Promise<(Partial<T> | null)[]>) | undefined;
|
|
15
|
+
useGetItem: (key?: Partial<T> & Pick<Partial<T>, "id">) => undefined | Partial<T> | null;
|
|
16
|
+
useItem: (key?: Partial<T>) => AsyncState<Partial<T> | null>;
|
|
17
|
+
}>;
|
|
18
|
+
useGetList: (filter?: Partial<T>, ids?: import("./useParams").Params & {
|
|
19
|
+
AttachmentId?: string | null | undefined;
|
|
20
|
+
FormId?: string | null | undefined;
|
|
21
|
+
FormAttachmentId?: string | null | undefined;
|
|
22
|
+
}) => Partial<T>[] | undefined;
|
|
23
|
+
useGetItem: (id?: Partial<T>["id"] | null, ids?: import("./useParams").Params & {
|
|
24
|
+
AttachmentId?: string | null | undefined;
|
|
25
|
+
FormId?: string | null | undefined;
|
|
26
|
+
FormAttachmentId?: string | null | undefined;
|
|
27
|
+
}) => Partial<T> | null | undefined;
|
|
28
|
+
useItem: (id?: Partial<T>["id"] | null, ids?: import("./useParams").Params & {
|
|
29
|
+
AttachmentId?: string | null | undefined;
|
|
30
|
+
FormId?: string | null | undefined;
|
|
31
|
+
FormAttachmentId?: string | null | undefined;
|
|
32
|
+
}) => [Partial<T> | null | undefined, import("@dwidge/hooks-react").AsyncDispatch<import("react").SetStateAction<Partial<T> | null>> | undefined, changed: boolean, save: () => void, revert: () => void];
|
|
33
|
+
useCreateList: () => ((list: Omit<Partial<T>, "createdAt" | "createdBy">[]) => Promise<(Partial<T> | null)[]>) | undefined;
|
|
34
|
+
useDeleteList: () => ((list: Pick<Partial<T>, "id">[]) => Promise<(Partial<T> | null)[]>) | undefined;
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=createApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createApi.d.ts","sourceRoot":"","sources":["../../../src/hooks/createApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,qBAAqB,CAAC;AAIpE,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;AAEvE,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,OAAO,kBAC1B,OAAO,CAAC,CAAC,CAAC;;oBAoBX,CAAC,MAAM,CAAC,YAAQ,KAAK,SAAS,GAAG,YAAK;uBACnC,MAAM,CAAC,CAAC,IAAI,EAAE,6CAAK,KAAK,OAAO,CAAC,CAAC,aAAM,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,SAAS;uBAC5D,MAAM,CAAC,CAAC,IAAI,EAAE,wBAAK,KAAK,OAAO,CAAC,CAAC,aAAM,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,SAAS;oBAC/D,CAAC,GAAG,CAAC,EAAE,mCAAY,KAAK,SAAS,gBAAS,IAAI;iBACjD,CAAC,GAAG,CAAC,YAAK,KAAK,UAAU,CAAC,aAAM,IAAI,CAAC;;;oBAJlC,CAAC,MAAM,CAAC,YAAQ,KAAK,SAAS,GAAG,YAAK;uBACnC,MAAM,CAAC,CAAC,IAAI,EAAE,6CAAK,KAAK,OAAO,CAAC,CAAC,aAAM,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,SAAS;uBAC5D,MAAM,CAAC,CAAC,IAAI,EAAE,wBAAK,KAAK,OAAO,CAAC,CAAC,aAAM,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,SAAS;oBAC/D,CAAC,GAAG,CAAC,EAAE,mCAAY,KAAK,SAAS,gBAAS,IAAI;iBACjD,CAAC,GAAG,CAAC,YAAK,KAAK,UAAU,CAAC,aAAM,IAAI,CAAC;;;;;;;sBAavB,mBAAY,IAAI;;;;;mBAInB,mBAAY,IAAI;;;;;iCApBP,6CAAK,KAAK,OAAO,CAAC,CAAC,aAAM,IAAI,CAAC,EAAE,CAAC;iCACjC,wBAAK,KAAK,OAAO,CAAC,CAAC,aAAM,IAAI,CAAC,EAAE,CAAC;CAmCjE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./FileApi";
|
|
2
|
+
export * from "./FileAttachmentApi";
|
|
3
|
+
export * from "./FormApi";
|
|
4
|
+
export * from "./FormAttachmentApi";
|
|
5
|
+
export * from "./FormsContext";
|
|
6
|
+
export * from "./createApi";
|
|
7
|
+
export * from "./useCreateBlankAttachment";
|
|
8
|
+
export * from "./useCreateBlankForm";
|
|
9
|
+
export * from "./useCreateBlankFormAttachment";
|
|
10
|
+
export * from "./useParams";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,aAAa,CAAC"}
|