@edge-zuq/core 1.2.7
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 +20 -0
- package/README.md +99 -0
- package/lib/module/assets/logo.png +0 -0
- package/lib/module/data/errors/http-client-error.js +14 -0
- package/lib/module/data/errors/http-client-error.js.map +1 -0
- package/lib/module/data/errors/index.js +6 -0
- package/lib/module/data/errors/index.js.map +1 -0
- package/lib/module/data/errors/save-file-error.js +9 -0
- package/lib/module/data/errors/save-file-error.js.map +1 -0
- package/lib/module/data/errors/unsupported-platform.js +9 -0
- package/lib/module/data/errors/unsupported-platform.js.map +1 -0
- package/lib/module/data/models/index.js +6 -0
- package/lib/module/data/models/index.js.map +1 -0
- package/lib/module/data/models/remote-get-comment-list-model.js +2 -0
- package/lib/module/data/models/remote-get-comment-list-model.js.map +1 -0
- package/lib/module/data/models/remote-get-image-list-model.js +2 -0
- package/lib/module/data/models/remote-get-image-list-model.js.map +1 -0
- package/lib/module/data/models/remote-user-model.js +2 -0
- package/lib/module/data/models/remote-user-model.js.map +1 -0
- package/lib/module/data/protocols/cookie-manager.js +2 -0
- package/lib/module/data/protocols/cookie-manager.js.map +1 -0
- package/lib/module/data/protocols/download-manager.js +4 -0
- package/lib/module/data/protocols/download-manager.js.map +1 -0
- package/lib/module/data/protocols/http-client.js +26 -0
- package/lib/module/data/protocols/http-client.js.map +1 -0
- package/lib/module/data/protocols/index.js +9 -0
- package/lib/module/data/protocols/index.js.map +1 -0
- package/lib/module/data/protocols/notification-manager.js +4 -0
- package/lib/module/data/protocols/notification-manager.js.map +1 -0
- package/lib/module/data/protocols/permission-manager.js +4 -0
- package/lib/module/data/protocols/permission-manager.js.map +1 -0
- package/lib/module/data/protocols/storage.js +4 -0
- package/lib/module/data/protocols/storage.js.map +1 -0
- package/lib/module/data/use-cases/index.js +6 -0
- package/lib/module/data/use-cases/index.js.map +1 -0
- package/lib/module/data/use-cases/remote-get-comment-list.js +29 -0
- package/lib/module/data/use-cases/remote-get-comment-list.js.map +1 -0
- package/lib/module/data/use-cases/remote-get-image-list.js +32 -0
- package/lib/module/data/use-cases/remote-get-image-list.js.map +1 -0
- package/lib/module/data/use-cases/remote-send-diagnostics.js +20 -0
- package/lib/module/data/use-cases/remote-send-diagnostics.js.map +1 -0
- package/lib/module/domain/errors/authentication-expired-error.js +9 -0
- package/lib/module/domain/errors/authentication-expired-error.js.map +1 -0
- package/lib/module/domain/errors/index.js +7 -0
- package/lib/module/domain/errors/index.js.map +1 -0
- package/lib/module/domain/errors/internal-server-error.js +9 -0
- package/lib/module/domain/errors/internal-server-error.js.map +1 -0
- package/lib/module/domain/errors/invalid-credentials-error.js +9 -0
- package/lib/module/domain/errors/invalid-credentials-error.js.map +1 -0
- package/lib/module/domain/errors/no-app-permission-error.js +9 -0
- package/lib/module/domain/errors/no-app-permission-error.js.map +1 -0
- package/lib/module/domain/models/get-comment-list-model.js +2 -0
- package/lib/module/domain/models/get-comment-list-model.js.map +1 -0
- package/lib/module/domain/models/get-image-list-model.js +2 -0
- package/lib/module/domain/models/get-image-list-model.js.map +1 -0
- package/lib/module/domain/models/index.js +6 -0
- package/lib/module/domain/models/index.js.map +1 -0
- package/lib/module/domain/models/user-model.js +2 -0
- package/lib/module/domain/models/user-model.js.map +1 -0
- package/lib/module/domain/use-cases/get-comment-list.js +4 -0
- package/lib/module/domain/use-cases/get-comment-list.js.map +1 -0
- package/lib/module/domain/use-cases/get-image-list.js +4 -0
- package/lib/module/domain/use-cases/get-image-list.js.map +1 -0
- package/lib/module/domain/use-cases/index.js +9 -0
- package/lib/module/domain/use-cases/index.js.map +1 -0
- package/lib/module/domain/use-cases/record-request.js +4 -0
- package/lib/module/domain/use-cases/record-request.js.map +1 -0
- package/lib/module/domain/use-cases/send-diagnostics.js +4 -0
- package/lib/module/domain/use-cases/send-diagnostics.js.map +1 -0
- package/lib/module/domain/use-cases/user-authentication.js +4 -0
- package/lib/module/domain/use-cases/user-authentication.js.map +1 -0
- package/lib/module/domain/use-cases/user-logout.js +4 -0
- package/lib/module/domain/use-cases/user-logout.js.map +1 -0
- package/lib/module/index.js +16 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/infra/axios-http-client-adapter.js +199 -0
- package/lib/module/infra/axios-http-client-adapter.js.map +1 -0
- package/lib/module/infra/index.js +10 -0
- package/lib/module/infra/index.js.map +1 -0
- package/lib/module/infra/isomorphic-id-manager.js +83 -0
- package/lib/module/infra/isomorphic-id-manager.js.map +1 -0
- package/lib/module/infra/mmkv-storage-adapter.js +62 -0
- package/lib/module/infra/mmkv-storage-adapter.js.map +1 -0
- package/lib/module/infra/notifee-notification-manager-adapter.js +69 -0
- package/lib/module/infra/notifee-notification-manager-adapter.js.map +1 -0
- package/lib/module/infra/offline-mutation-queue.js +210 -0
- package/lib/module/infra/offline-mutation-queue.js.map +1 -0
- package/lib/module/infra/rnbu-download-manager-adapter.js +31 -0
- package/lib/module/infra/rnbu-download-manager-adapter.js.map +1 -0
- package/lib/module/infra/rnp-permission-manager-adapter.js +117 -0
- package/lib/module/infra/rnp-permission-manager-adapter.js.map +1 -0
- package/lib/module/infra/storage-cookie-manager-adapter.js +24 -0
- package/lib/module/infra/storage-cookie-manager-adapter.js.map +1 -0
- package/lib/module/main/components/index.js +7 -0
- package/lib/module/main/components/index.js.map +1 -0
- package/lib/module/main/components/request-permissions.js +14 -0
- package/lib/module/main/components/request-permissions.js.map +1 -0
- package/lib/module/main/factories/infra/download-manager-factory.js +7 -0
- package/lib/module/main/factories/infra/download-manager-factory.js.map +1 -0
- package/lib/module/main/factories/infra/http-client-factory.js +7 -0
- package/lib/module/main/factories/infra/http-client-factory.js.map +1 -0
- package/lib/module/main/factories/infra/index.js +10 -0
- package/lib/module/main/factories/infra/index.js.map +1 -0
- package/lib/module/main/factories/infra/isomorphic-id-manager-factory.js +7 -0
- package/lib/module/main/factories/infra/isomorphic-id-manager-factory.js.map +1 -0
- package/lib/module/main/factories/infra/notification-manager-factory.js +7 -0
- package/lib/module/main/factories/infra/notification-manager-factory.js.map +1 -0
- package/lib/module/main/factories/infra/offline-mutation-queue-factory.js +7 -0
- package/lib/module/main/factories/infra/offline-mutation-queue-factory.js.map +1 -0
- package/lib/module/main/factories/infra/permission-manager-factory.js +7 -0
- package/lib/module/main/factories/infra/permission-manager-factory.js.map +1 -0
- package/lib/module/main/factories/infra/storage-factory.js +10 -0
- package/lib/module/main/factories/infra/storage-factory.js.map +1 -0
- package/lib/module/main/factories/use-cases/index.js +6 -0
- package/lib/module/main/factories/use-cases/index.js.map +1 -0
- package/lib/module/main/factories/use-cases/remote-get-comment-list-factory.js +7 -0
- package/lib/module/main/factories/use-cases/remote-get-comment-list-factory.js.map +1 -0
- package/lib/module/main/factories/use-cases/remote-get-image-list-factory.js +7 -0
- package/lib/module/main/factories/use-cases/remote-get-image-list-factory.js.map +1 -0
- package/lib/module/main/factories/use-cases/remote-send-diagnostics-factory.js +7 -0
- package/lib/module/main/factories/use-cases/remote-send-diagnostics-factory.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/presentation/components/atoms/UIBackdrop.js +31 -0
- package/lib/module/presentation/components/atoms/UIBackdrop.js.map +1 -0
- package/lib/module/presentation/components/atoms/UICheckbox.js +47 -0
- package/lib/module/presentation/components/atoms/UICheckbox.js.map +1 -0
- package/lib/module/presentation/components/atoms/UIDot.js +33 -0
- package/lib/module/presentation/components/atoms/UIDot.js.map +1 -0
- package/lib/module/presentation/components/atoms/UIIcon.js +1072 -0
- package/lib/module/presentation/components/atoms/UIIcon.js.map +1 -0
- package/lib/module/presentation/components/atoms/UILoading.js +19 -0
- package/lib/module/presentation/components/atoms/UILoading.js.map +1 -0
- package/lib/module/presentation/components/atoms/UIPage.js +70 -0
- package/lib/module/presentation/components/atoms/UIPage.js.map +1 -0
- package/lib/module/presentation/components/atoms/UIProgress.js +54 -0
- package/lib/module/presentation/components/atoms/UIProgress.js.map +1 -0
- package/lib/module/presentation/components/atoms/UIScrollPage.js +72 -0
- package/lib/module/presentation/components/atoms/UIScrollPage.js.map +1 -0
- package/lib/module/presentation/components/atoms/UISeparator.js +30 -0
- package/lib/module/presentation/components/atoms/UISeparator.js.map +1 -0
- package/lib/module/presentation/components/atoms/UISpacer.js +19 -0
- package/lib/module/presentation/components/atoms/UISpacer.js.map +1 -0
- package/lib/module/presentation/components/atoms/UIStack.js +31 -0
- package/lib/module/presentation/components/atoms/UIStack.js.map +1 -0
- package/lib/module/presentation/components/atoms/UIText.js +48 -0
- package/lib/module/presentation/components/atoms/UIText.js.map +1 -0
- package/lib/module/presentation/components/atoms/index.js +15 -0
- package/lib/module/presentation/components/atoms/index.js.map +1 -0
- package/lib/module/presentation/components/index.js +4 -0
- package/lib/module/presentation/components/index.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIActionSheet.js +199 -0
- package/lib/module/presentation/components/molecules/UIActionSheet.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIButton.js +173 -0
- package/lib/module/presentation/components/molecules/UIButton.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIButtonCTA.js +31 -0
- package/lib/module/presentation/components/molecules/UIButtonCTA.js.map +1 -0
- package/lib/module/presentation/components/molecules/UICheckboxInput.js +84 -0
- package/lib/module/presentation/components/molecules/UICheckboxInput.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIChip.js +49 -0
- package/lib/module/presentation/components/molecules/UIChip.js.map +1 -0
- package/lib/module/presentation/components/molecules/UICurrencyInput.js +32 -0
- package/lib/module/presentation/components/molecules/UICurrencyInput.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIDataList.js +26 -0
- package/lib/module/presentation/components/molecules/UIDataList.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIDataSectionList.js +26 -0
- package/lib/module/presentation/components/molecules/UIDataSectionList.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIDatetimeInput.js +202 -0
- package/lib/module/presentation/components/molecules/UIDatetimeInput.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIError.js +32 -0
- package/lib/module/presentation/components/molecules/UIError.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIImage.js +87 -0
- package/lib/module/presentation/components/molecules/UIImage.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIInlineDatePicker.js +245 -0
- package/lib/module/presentation/components/molecules/UIInlineDatePicker.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIInputIcon.js +38 -0
- package/lib/module/presentation/components/molecules/UIInputIcon.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIList.js +16 -0
- package/lib/module/presentation/components/molecules/UIList.js.map +1 -0
- package/lib/module/presentation/components/molecules/UIRadioInput.js +78 -0
- package/lib/module/presentation/components/molecules/UIRadioInput.js.map +1 -0
- package/lib/module/presentation/components/molecules/UISectionList.js +16 -0
- package/lib/module/presentation/components/molecules/UISectionList.js.map +1 -0
- package/lib/module/presentation/components/molecules/UISkeleton.js +54 -0
- package/lib/module/presentation/components/molecules/UISkeleton.js.map +1 -0
- package/lib/module/presentation/components/molecules/UISwitch.js +65 -0
- package/lib/module/presentation/components/molecules/UISwitch.js.map +1 -0
- package/lib/module/presentation/components/molecules/UITextInput.js +132 -0
- package/lib/module/presentation/components/molecules/UITextInput.js.map +1 -0
- package/lib/module/presentation/components/molecules/UITextInputMask.js +133 -0
- package/lib/module/presentation/components/molecules/UITextInputMask.js.map +1 -0
- package/lib/module/presentation/components/molecules/index.js +23 -0
- package/lib/module/presentation/components/molecules/index.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIAppBar.js +102 -0
- package/lib/module/presentation/components/organisms/UIAppBar.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIAppBarAction.js +21 -0
- package/lib/module/presentation/components/organisms/UIAppBarAction.js.map +1 -0
- package/lib/module/presentation/components/organisms/UICard.js +43 -0
- package/lib/module/presentation/components/organisms/UICard.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIComment.js +73 -0
- package/lib/module/presentation/components/organisms/UIComment.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIErrorBoundary.js +68 -0
- package/lib/module/presentation/components/organisms/UIErrorBoundary.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIForm.js +83 -0
- package/lib/module/presentation/components/organisms/UIForm.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIFormButton.js +43 -0
- package/lib/module/presentation/components/organisms/UIFormButton.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIFormCheckboxInput.js +39 -0
- package/lib/module/presentation/components/organisms/UIFormCheckboxInput.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIFormCurrencyInput.js +65 -0
- package/lib/module/presentation/components/organisms/UIFormCurrencyInput.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIFormDatetimeInput.js +54 -0
- package/lib/module/presentation/components/organisms/UIFormDatetimeInput.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIFormMultiselectInput.js +212 -0
- package/lib/module/presentation/components/organisms/UIFormMultiselectInput.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIFormRadioInput.js +36 -0
- package/lib/module/presentation/components/organisms/UIFormRadioInput.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIFormSelectInput.js +259 -0
- package/lib/module/presentation/components/organisms/UIFormSelectInput.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIFormTextInput.js +64 -0
- package/lib/module/presentation/components/organisms/UIFormTextInput.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIFormTextInputMask.js +69 -0
- package/lib/module/presentation/components/organisms/UIFormTextInputMask.js.map +1 -0
- package/lib/module/presentation/components/organisms/UIRow.js +55 -0
- package/lib/module/presentation/components/organisms/UIRow.js.map +1 -0
- package/lib/module/presentation/components/organisms/UISearchInput.js +33 -0
- package/lib/module/presentation/components/organisms/UISearchInput.js.map +1 -0
- package/lib/module/presentation/components/organisms/UISelectChip.js +94 -0
- package/lib/module/presentation/components/organisms/UISelectChip.js.map +1 -0
- package/lib/module/presentation/components/organisms/UISignature.js +159 -0
- package/lib/module/presentation/components/organisms/UISignature.js.map +1 -0
- package/lib/module/presentation/components/organisms/UISlideButton.js +90 -0
- package/lib/module/presentation/components/organisms/UISlideButton.js.map +1 -0
- package/lib/module/presentation/components/organisms/index.js +24 -0
- package/lib/module/presentation/components/organisms/index.js.map +1 -0
- package/lib/module/presentation/components/permissions/index.js +4 -0
- package/lib/module/presentation/components/permissions/index.js.map +1 -0
- package/lib/module/presentation/components/permissions/request-permissions.js +96 -0
- package/lib/module/presentation/components/permissions/request-permissions.js.map +1 -0
- package/lib/module/presentation/domain/metadata/index.js +5 -0
- package/lib/module/presentation/domain/metadata/index.js.map +1 -0
- package/lib/module/presentation/domain/metadata/use-comments.js +26 -0
- package/lib/module/presentation/domain/metadata/use-comments.js.map +1 -0
- package/lib/module/presentation/domain/metadata/use-images.js +26 -0
- package/lib/module/presentation/domain/metadata/use-images.js.map +1 -0
- package/lib/module/presentation/domain/offline/index.js +12 -0
- package/lib/module/presentation/domain/offline/index.js.map +1 -0
- package/lib/module/presentation/domain/offline/offline-mutation-queue-provider.js +69 -0
- package/lib/module/presentation/domain/offline/offline-mutation-queue-provider.js.map +1 -0
- package/lib/module/presentation/domain/offline/types.js +4 -0
- package/lib/module/presentation/domain/offline/types.js.map +1 -0
- package/lib/module/presentation/domain/offline/use-infinite-offline-query.js +69 -0
- package/lib/module/presentation/domain/offline/use-infinite-offline-query.js.map +1 -0
- package/lib/module/presentation/domain/offline/use-offline-id-v2.js +22 -0
- package/lib/module/presentation/domain/offline/use-offline-id-v2.js.map +1 -0
- package/lib/module/presentation/domain/offline/use-offline-id.js +11 -0
- package/lib/module/presentation/domain/offline/use-offline-id.js.map +1 -0
- package/lib/module/presentation/domain/offline/use-offline-mutation.js +115 -0
- package/lib/module/presentation/domain/offline/use-offline-mutation.js.map +1 -0
- package/lib/module/presentation/domain/offline/use-offline-query.js +33 -0
- package/lib/module/presentation/domain/offline/use-offline-query.js.map +1 -0
- package/lib/module/presentation/domain/offline/use-offline-queue.js +8 -0
- package/lib/module/presentation/domain/offline/use-offline-queue.js.map +1 -0
- package/lib/module/presentation/domain/offline/utils.js +110 -0
- package/lib/module/presentation/domain/offline/utils.js.map +1 -0
- package/lib/module/presentation/domain/provider/index.js +4 -0
- package/lib/module/presentation/domain/provider/index.js.map +1 -0
- package/lib/module/presentation/domain/provider/zuq-core-provider.js +51 -0
- package/lib/module/presentation/domain/provider/zuq-core-provider.js.map +1 -0
- package/lib/module/presentation/domain/utils/exists.js +6 -0
- package/lib/module/presentation/domain/utils/exists.js.map +1 -0
- package/lib/module/presentation/domain/utils/index.js +8 -0
- package/lib/module/presentation/domain/utils/index.js.map +1 -0
- package/lib/module/presentation/domain/utils/react-query.js +10 -0
- package/lib/module/presentation/domain/utils/react-query.js.map +1 -0
- package/lib/module/presentation/domain/utils/use-action-sheet.js +20 -0
- package/lib/module/presentation/domain/utils/use-action-sheet.js.map +1 -0
- package/lib/module/presentation/domain/utils/use-signature-ref.js +8 -0
- package/lib/module/presentation/domain/utils/use-signature-ref.js.map +1 -0
- package/lib/module/presentation/domain/utils/yup.js +5 -0
- package/lib/module/presentation/domain/utils/yup.js.map +1 -0
- package/lib/module/theme.js +211 -0
- package/lib/module/theme.js.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/data/errors/http-client-error.d.ts +13 -0
- package/lib/typescript/src/data/errors/http-client-error.d.ts.map +1 -0
- package/lib/typescript/src/data/errors/index.d.ts +4 -0
- package/lib/typescript/src/data/errors/index.d.ts.map +1 -0
- package/lib/typescript/src/data/errors/save-file-error.d.ts +4 -0
- package/lib/typescript/src/data/errors/save-file-error.d.ts.map +1 -0
- package/lib/typescript/src/data/errors/unsupported-platform.d.ts +4 -0
- package/lib/typescript/src/data/errors/unsupported-platform.d.ts.map +1 -0
- package/lib/typescript/src/data/models/index.d.ts +4 -0
- package/lib/typescript/src/data/models/index.d.ts.map +1 -0
- package/lib/typescript/src/data/models/remote-get-comment-list-model.d.ts +16 -0
- package/lib/typescript/src/data/models/remote-get-comment-list-model.d.ts.map +1 -0
- package/lib/typescript/src/data/models/remote-get-image-list-model.d.ts +16 -0
- package/lib/typescript/src/data/models/remote-get-image-list-model.d.ts.map +1 -0
- package/lib/typescript/src/data/models/remote-user-model.d.ts +14 -0
- package/lib/typescript/src/data/models/remote-user-model.d.ts.map +1 -0
- package/lib/typescript/src/data/protocols/cookie-manager.d.ts +7 -0
- package/lib/typescript/src/data/protocols/cookie-manager.d.ts.map +1 -0
- package/lib/typescript/src/data/protocols/download-manager.d.ts +12 -0
- package/lib/typescript/src/data/protocols/download-manager.d.ts.map +1 -0
- package/lib/typescript/src/data/protocols/http-client.d.ts +52 -0
- package/lib/typescript/src/data/protocols/http-client.d.ts.map +1 -0
- package/lib/typescript/src/data/protocols/index.d.ts +7 -0
- package/lib/typescript/src/data/protocols/index.d.ts.map +1 -0
- package/lib/typescript/src/data/protocols/notification-manager.d.ts +17 -0
- package/lib/typescript/src/data/protocols/notification-manager.d.ts.map +1 -0
- package/lib/typescript/src/data/protocols/permission-manager.d.ts +23 -0
- package/lib/typescript/src/data/protocols/permission-manager.d.ts.map +1 -0
- package/lib/typescript/src/data/protocols/storage.d.ts +17 -0
- package/lib/typescript/src/data/protocols/storage.d.ts.map +1 -0
- package/lib/typescript/src/data/use-cases/index.d.ts +4 -0
- package/lib/typescript/src/data/use-cases/index.d.ts.map +1 -0
- package/lib/typescript/src/data/use-cases/remote-get-comment-list.d.ts +9 -0
- package/lib/typescript/src/data/use-cases/remote-get-comment-list.d.ts.map +1 -0
- package/lib/typescript/src/data/use-cases/remote-get-image-list.d.ts +10 -0
- package/lib/typescript/src/data/use-cases/remote-get-image-list.d.ts.map +1 -0
- package/lib/typescript/src/data/use-cases/remote-send-diagnostics.d.ts +11 -0
- package/lib/typescript/src/data/use-cases/remote-send-diagnostics.d.ts.map +1 -0
- package/lib/typescript/src/domain/errors/authentication-expired-error.d.ts +4 -0
- package/lib/typescript/src/domain/errors/authentication-expired-error.d.ts.map +1 -0
- package/lib/typescript/src/domain/errors/index.d.ts +5 -0
- package/lib/typescript/src/domain/errors/index.d.ts.map +1 -0
- package/lib/typescript/src/domain/errors/internal-server-error.d.ts +4 -0
- package/lib/typescript/src/domain/errors/internal-server-error.d.ts.map +1 -0
- package/lib/typescript/src/domain/errors/invalid-credentials-error.d.ts +4 -0
- package/lib/typescript/src/domain/errors/invalid-credentials-error.d.ts.map +1 -0
- package/lib/typescript/src/domain/errors/no-app-permission-error.d.ts +4 -0
- package/lib/typescript/src/domain/errors/no-app-permission-error.d.ts.map +1 -0
- package/lib/typescript/src/domain/models/get-comment-list-model.d.ts +10 -0
- package/lib/typescript/src/domain/models/get-comment-list-model.d.ts.map +1 -0
- package/lib/typescript/src/domain/models/get-image-list-model.d.ts +8 -0
- package/lib/typescript/src/domain/models/get-image-list-model.d.ts.map +1 -0
- package/lib/typescript/src/domain/models/index.d.ts +4 -0
- package/lib/typescript/src/domain/models/index.d.ts.map +1 -0
- package/lib/typescript/src/domain/models/user-model.d.ts +16 -0
- package/lib/typescript/src/domain/models/user-model.d.ts.map +1 -0
- package/lib/typescript/src/domain/use-cases/get-comment-list.d.ts +12 -0
- package/lib/typescript/src/domain/use-cases/get-comment-list.d.ts.map +1 -0
- package/lib/typescript/src/domain/use-cases/get-image-list.d.ts +12 -0
- package/lib/typescript/src/domain/use-cases/get-image-list.d.ts.map +1 -0
- package/lib/typescript/src/domain/use-cases/index.d.ts +7 -0
- package/lib/typescript/src/domain/use-cases/index.d.ts.map +1 -0
- package/lib/typescript/src/domain/use-cases/record-request.d.ts +14 -0
- package/lib/typescript/src/domain/use-cases/record-request.d.ts.map +1 -0
- package/lib/typescript/src/domain/use-cases/send-diagnostics.d.ts +15 -0
- package/lib/typescript/src/domain/use-cases/send-diagnostics.d.ts.map +1 -0
- package/lib/typescript/src/domain/use-cases/user-authentication.d.ts +12 -0
- package/lib/typescript/src/domain/use-cases/user-authentication.d.ts.map +1 -0
- package/lib/typescript/src/domain/use-cases/user-logout.d.ts +10 -0
- package/lib/typescript/src/domain/use-cases/user-logout.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +15 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/infra/axios-http-client-adapter.d.ts +33 -0
- package/lib/typescript/src/infra/axios-http-client-adapter.d.ts.map +1 -0
- package/lib/typescript/src/infra/index.d.ts +8 -0
- package/lib/typescript/src/infra/index.d.ts.map +1 -0
- package/lib/typescript/src/infra/isomorphic-id-manager.d.ts +29 -0
- package/lib/typescript/src/infra/isomorphic-id-manager.d.ts.map +1 -0
- package/lib/typescript/src/infra/mmkv-storage-adapter.d.ts +18 -0
- package/lib/typescript/src/infra/mmkv-storage-adapter.d.ts.map +1 -0
- package/lib/typescript/src/infra/notifee-notification-manager-adapter.d.ts +17 -0
- package/lib/typescript/src/infra/notifee-notification-manager-adapter.d.ts.map +1 -0
- package/lib/typescript/src/infra/offline-mutation-queue.d.ts +56 -0
- package/lib/typescript/src/infra/offline-mutation-queue.d.ts.map +1 -0
- package/lib/typescript/src/infra/rnbu-download-manager-adapter.d.ts +7 -0
- package/lib/typescript/src/infra/rnbu-download-manager-adapter.d.ts.map +1 -0
- package/lib/typescript/src/infra/rnp-permission-manager-adapter.d.ts +20 -0
- package/lib/typescript/src/infra/rnp-permission-manager-adapter.d.ts.map +1 -0
- package/lib/typescript/src/infra/storage-cookie-manager-adapter.d.ts +12 -0
- package/lib/typescript/src/infra/storage-cookie-manager-adapter.d.ts.map +1 -0
- package/lib/typescript/src/main/components/index.d.ts +5 -0
- package/lib/typescript/src/main/components/index.d.ts.map +1 -0
- package/lib/typescript/src/main/components/request-permissions.d.ts +6 -0
- package/lib/typescript/src/main/components/request-permissions.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/infra/download-manager-factory.d.ts +3 -0
- package/lib/typescript/src/main/factories/infra/download-manager-factory.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/infra/http-client-factory.d.ts +4 -0
- package/lib/typescript/src/main/factories/infra/http-client-factory.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/infra/index.d.ts +8 -0
- package/lib/typescript/src/main/factories/infra/index.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/infra/isomorphic-id-manager-factory.d.ts +4 -0
- package/lib/typescript/src/main/factories/infra/isomorphic-id-manager-factory.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/infra/notification-manager-factory.d.ts +4 -0
- package/lib/typescript/src/main/factories/infra/notification-manager-factory.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/infra/offline-mutation-queue-factory.d.ts +5 -0
- package/lib/typescript/src/main/factories/infra/offline-mutation-queue-factory.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/infra/permission-manager-factory.d.ts +3 -0
- package/lib/typescript/src/main/factories/infra/permission-manager-factory.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/infra/storage-factory.d.ts +4 -0
- package/lib/typescript/src/main/factories/infra/storage-factory.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/use-cases/index.d.ts +4 -0
- package/lib/typescript/src/main/factories/use-cases/index.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/use-cases/remote-get-comment-list-factory.d.ts +4 -0
- package/lib/typescript/src/main/factories/use-cases/remote-get-comment-list-factory.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/use-cases/remote-get-image-list-factory.d.ts +4 -0
- package/lib/typescript/src/main/factories/use-cases/remote-get-image-list-factory.d.ts.map +1 -0
- package/lib/typescript/src/main/factories/use-cases/remote-send-diagnostics-factory.d.ts +4 -0
- package/lib/typescript/src/main/factories/use-cases/remote-send-diagnostics-factory.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UIBackdrop.d.ts +10 -0
- package/lib/typescript/src/presentation/components/atoms/UIBackdrop.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UICheckbox.d.ts +11 -0
- package/lib/typescript/src/presentation/components/atoms/UICheckbox.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UIDot.d.ts +10 -0
- package/lib/typescript/src/presentation/components/atoms/UIDot.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UIIcon.d.ts +133 -0
- package/lib/typescript/src/presentation/components/atoms/UIIcon.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UILoading.d.ts +9 -0
- package/lib/typescript/src/presentation/components/atoms/UILoading.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UIPage.d.ts +20 -0
- package/lib/typescript/src/presentation/components/atoms/UIPage.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UIProgress.d.ts +10 -0
- package/lib/typescript/src/presentation/components/atoms/UIProgress.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UIScrollPage.d.ts +17 -0
- package/lib/typescript/src/presentation/components/atoms/UIScrollPage.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UISeparator.d.ts +10 -0
- package/lib/typescript/src/presentation/components/atoms/UISeparator.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UISpacer.d.ts +9 -0
- package/lib/typescript/src/presentation/components/atoms/UISpacer.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UIStack.d.ts +14 -0
- package/lib/typescript/src/presentation/components/atoms/UIStack.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/UIText.d.ts +14 -0
- package/lib/typescript/src/presentation/components/atoms/UIText.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/atoms/index.d.ts +13 -0
- package/lib/typescript/src/presentation/components/atoms/index.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/index.d.ts +2 -0
- package/lib/typescript/src/presentation/components/index.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIActionSheet.d.ts +17 -0
- package/lib/typescript/src/presentation/components/molecules/UIActionSheet.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIButton.d.ts +18 -0
- package/lib/typescript/src/presentation/components/molecules/UIButton.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIButtonCTA.d.ts +8 -0
- package/lib/typescript/src/presentation/components/molecules/UIButtonCTA.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UICheckboxInput.d.ts +16 -0
- package/lib/typescript/src/presentation/components/molecules/UICheckboxInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIChip.d.ts +17 -0
- package/lib/typescript/src/presentation/components/molecules/UIChip.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UICurrencyInput.d.ts +11 -0
- package/lib/typescript/src/presentation/components/molecules/UICurrencyInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIDataList.d.ts +9 -0
- package/lib/typescript/src/presentation/components/molecules/UIDataList.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIDataSectionList.d.ts +9 -0
- package/lib/typescript/src/presentation/components/molecules/UIDataSectionList.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIDatetimeInput.d.ts +10 -0
- package/lib/typescript/src/presentation/components/molecules/UIDatetimeInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIError.d.ts +8 -0
- package/lib/typescript/src/presentation/components/molecules/UIError.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIImage.d.ts +11 -0
- package/lib/typescript/src/presentation/components/molecules/UIImage.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIInlineDatePicker.d.ts +15 -0
- package/lib/typescript/src/presentation/components/molecules/UIInlineDatePicker.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIInputIcon.d.ts +9 -0
- package/lib/typescript/src/presentation/components/molecules/UIInputIcon.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIList.d.ts +5 -0
- package/lib/typescript/src/presentation/components/molecules/UIList.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UIRadioInput.d.ts +12 -0
- package/lib/typescript/src/presentation/components/molecules/UIRadioInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UISectionList.d.ts +5 -0
- package/lib/typescript/src/presentation/components/molecules/UISectionList.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UISkeleton.d.ts +8 -0
- package/lib/typescript/src/presentation/components/molecules/UISkeleton.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UISwitch.d.ts +10 -0
- package/lib/typescript/src/presentation/components/molecules/UISwitch.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UITextInput.d.ts +13 -0
- package/lib/typescript/src/presentation/components/molecules/UITextInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/UITextInputMask.d.ts +16 -0
- package/lib/typescript/src/presentation/components/molecules/UITextInputMask.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/molecules/index.d.ts +21 -0
- package/lib/typescript/src/presentation/components/molecules/index.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIAppBar.d.ts +13 -0
- package/lib/typescript/src/presentation/components/organisms/UIAppBar.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIAppBarAction.d.ts +6 -0
- package/lib/typescript/src/presentation/components/organisms/UIAppBarAction.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UICard.d.ts +9 -0
- package/lib/typescript/src/presentation/components/organisms/UICard.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIComment.d.ts +9 -0
- package/lib/typescript/src/presentation/components/organisms/UIComment.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIErrorBoundary.d.ts +9 -0
- package/lib/typescript/src/presentation/components/organisms/UIErrorBoundary.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIForm.d.ts +13 -0
- package/lib/typescript/src/presentation/components/organisms/UIForm.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormButton.d.ts +11 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormButton.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormCheckboxInput.d.ts +9 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormCheckboxInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormCurrencyInput.d.ts +11 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormCurrencyInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormDatetimeInput.d.ts +10 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormDatetimeInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormMultiselectInput.d.ts +30 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormMultiselectInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormRadioInput.d.ts +9 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormRadioInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormSelectInput.d.ts +44 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormSelectInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormTextInput.d.ts +11 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormTextInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormTextInputMask.d.ts +11 -0
- package/lib/typescript/src/presentation/components/organisms/UIFormTextInputMask.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UIRow.d.ts +14 -0
- package/lib/typescript/src/presentation/components/organisms/UIRow.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UISearchInput.d.ts +6 -0
- package/lib/typescript/src/presentation/components/organisms/UISearchInput.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UISelectChip.d.ts +13 -0
- package/lib/typescript/src/presentation/components/organisms/UISelectChip.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UISignature.d.ts +26 -0
- package/lib/typescript/src/presentation/components/organisms/UISignature.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UISlideButton.d.ts +8 -0
- package/lib/typescript/src/presentation/components/organisms/UISlideButton.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/index.d.ts +22 -0
- package/lib/typescript/src/presentation/components/organisms/index.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/permissions/index.d.ts +2 -0
- package/lib/typescript/src/presentation/components/permissions/index.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/permissions/request-permissions.d.ts +15 -0
- package/lib/typescript/src/presentation/components/permissions/request-permissions.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/metadata/index.d.ts +3 -0
- package/lib/typescript/src/presentation/domain/metadata/index.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/metadata/use-comments.d.ts +11 -0
- package/lib/typescript/src/presentation/domain/metadata/use-comments.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/metadata/use-images.d.ts +11 -0
- package/lib/typescript/src/presentation/domain/metadata/use-images.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/offline/index.d.ts +10 -0
- package/lib/typescript/src/presentation/domain/offline/index.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/offline/offline-mutation-queue-provider.d.ts +18 -0
- package/lib/typescript/src/presentation/domain/offline/offline-mutation-queue-provider.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/offline/types.d.ts +18 -0
- package/lib/typescript/src/presentation/domain/offline/types.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/offline/use-infinite-offline-query.d.ts +78 -0
- package/lib/typescript/src/presentation/domain/offline/use-infinite-offline-query.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/offline/use-offline-id-v2.d.ts +9 -0
- package/lib/typescript/src/presentation/domain/offline/use-offline-id-v2.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/offline/use-offline-id.d.ts +3 -0
- package/lib/typescript/src/presentation/domain/offline/use-offline-id.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/offline/use-offline-mutation.d.ts +88 -0
- package/lib/typescript/src/presentation/domain/offline/use-offline-mutation.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/offline/use-offline-query.d.ts +8 -0
- package/lib/typescript/src/presentation/domain/offline/use-offline-query.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/offline/use-offline-queue.d.ts +10 -0
- package/lib/typescript/src/presentation/domain/offline/use-offline-queue.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/offline/utils.d.ts +18 -0
- package/lib/typescript/src/presentation/domain/offline/utils.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/provider/index.d.ts +2 -0
- package/lib/typescript/src/presentation/domain/provider/index.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/provider/zuq-core-provider.d.ts +13 -0
- package/lib/typescript/src/presentation/domain/provider/zuq-core-provider.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/utils/exists.d.ts +2 -0
- package/lib/typescript/src/presentation/domain/utils/exists.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/utils/index.d.ts +6 -0
- package/lib/typescript/src/presentation/domain/utils/index.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/utils/react-query.d.ts +5 -0
- package/lib/typescript/src/presentation/domain/utils/react-query.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/utils/use-action-sheet.d.ts +6 -0
- package/lib/typescript/src/presentation/domain/utils/use-action-sheet.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/utils/use-signature-ref.d.ts +15 -0
- package/lib/typescript/src/presentation/domain/utils/use-signature-ref.d.ts.map +1 -0
- package/lib/typescript/src/presentation/domain/utils/yup.d.ts +3 -0
- package/lib/typescript/src/presentation/domain/utils/yup.d.ts.map +1 -0
- package/lib/typescript/src/theme.d.ts +214 -0
- package/lib/typescript/src/theme.d.ts.map +1 -0
- package/package.json +210 -0
- package/src/assets/logo.png +0 -0
- package/src/data/errors/http-client-error.ts +23 -0
- package/src/data/errors/index.ts +3 -0
- package/src/data/errors/save-file-error.ts +6 -0
- package/src/data/errors/unsupported-platform.ts +6 -0
- package/src/data/models/index.ts +3 -0
- package/src/data/models/remote-get-comment-list-model.ts +15 -0
- package/src/data/models/remote-get-image-list-model.ts +15 -0
- package/src/data/models/remote-user-model.ts +13 -0
- package/src/data/protocols/cookie-manager.ts +6 -0
- package/src/data/protocols/download-manager.ts +13 -0
- package/src/data/protocols/http-client.ts +75 -0
- package/src/data/protocols/index.ts +6 -0
- package/src/data/protocols/notification-manager.ts +17 -0
- package/src/data/protocols/permission-manager.ts +46 -0
- package/src/data/protocols/storage.ts +18 -0
- package/src/data/use-cases/index.ts +3 -0
- package/src/data/use-cases/remote-get-comment-list.ts +34 -0
- package/src/data/use-cases/remote-get-image-list.ts +40 -0
- package/src/data/use-cases/remote-send-diagnostics.ts +20 -0
- package/src/domain/errors/authentication-expired-error.ts +6 -0
- package/src/domain/errors/index.ts +4 -0
- package/src/domain/errors/internal-server-error.ts +6 -0
- package/src/domain/errors/invalid-credentials-error.ts +6 -0
- package/src/domain/errors/no-app-permission-error.ts +6 -0
- package/src/domain/models/get-comment-list-model.ts +9 -0
- package/src/domain/models/get-image-list-model.ts +7 -0
- package/src/domain/models/index.ts +3 -0
- package/src/domain/models/user-model.ts +15 -0
- package/src/domain/use-cases/get-comment-list.ts +14 -0
- package/src/domain/use-cases/get-image-list.ts +14 -0
- package/src/domain/use-cases/index.ts +6 -0
- package/src/domain/use-cases/record-request.ts +15 -0
- package/src/domain/use-cases/send-diagnostics.ts +15 -0
- package/src/domain/use-cases/user-authentication.ts +16 -0
- package/src/domain/use-cases/user-logout.ts +10 -0
- package/src/index.tsx +29 -0
- package/src/infra/axios-http-client-adapter.ts +271 -0
- package/src/infra/index.ts +7 -0
- package/src/infra/isomorphic-id-manager.ts +107 -0
- package/src/infra/mmkv-storage-adapter.ts +73 -0
- package/src/infra/notifee-notification-manager-adapter.ts +87 -0
- package/src/infra/offline-mutation-queue.ts +280 -0
- package/src/infra/rnbu-download-manager-adapter.ts +29 -0
- package/src/infra/rnp-permission-manager-adapter.ts +147 -0
- package/src/infra/storage-cookie-manager-adapter.ts +29 -0
- package/src/main/components/index.ts +4 -0
- package/src/main/components/request-permissions.tsx +17 -0
- package/src/main/factories/infra/download-manager-factory.ts +6 -0
- package/src/main/factories/infra/http-client-factory.ts +9 -0
- package/src/main/factories/infra/index.ts +7 -0
- package/src/main/factories/infra/isomorphic-id-manager-factory.ts +6 -0
- package/src/main/factories/infra/notification-manager-factory.ts +8 -0
- package/src/main/factories/infra/offline-mutation-queue-factory.ts +22 -0
- package/src/main/factories/infra/permission-manager-factory.ts +6 -0
- package/src/main/factories/infra/storage-factory.ts +11 -0
- package/src/main/factories/use-cases/index.ts +3 -0
- package/src/main/factories/use-cases/remote-get-comment-list-factory.ts +6 -0
- package/src/main/factories/use-cases/remote-get-image-list-factory.ts +6 -0
- package/src/main/factories/use-cases/remote-send-diagnostics-factory.ts +10 -0
- package/src/presentation/components/atoms/UIBackdrop.tsx +35 -0
- package/src/presentation/components/atoms/UICheckbox.tsx +58 -0
- package/src/presentation/components/atoms/UIDot.tsx +40 -0
- package/src/presentation/components/atoms/UIIcon.tsx +1091 -0
- package/src/presentation/components/atoms/UILoading.tsx +17 -0
- package/src/presentation/components/atoms/UIPage.tsx +92 -0
- package/src/presentation/components/atoms/UIProgress.tsx +60 -0
- package/src/presentation/components/atoms/UIScrollPage.tsx +87 -0
- package/src/presentation/components/atoms/UISeparator.tsx +41 -0
- package/src/presentation/components/atoms/UISpacer.tsx +21 -0
- package/src/presentation/components/atoms/UIStack.tsx +44 -0
- package/src/presentation/components/atoms/UIText.tsx +59 -0
- package/src/presentation/components/atoms/index.ts +12 -0
- package/src/presentation/components/index.ts +1 -0
- package/src/presentation/components/molecules/UIActionSheet.tsx +230 -0
- package/src/presentation/components/molecules/UIButton.tsx +192 -0
- package/src/presentation/components/molecules/UIButtonCTA.tsx +38 -0
- package/src/presentation/components/molecules/UICheckboxInput.tsx +106 -0
- package/src/presentation/components/molecules/UIChip.tsx +69 -0
- package/src/presentation/components/molecules/UICurrencyInput.tsx +43 -0
- package/src/presentation/components/molecules/UIDataList.tsx +30 -0
- package/src/presentation/components/molecules/UIDataSectionList.tsx +30 -0
- package/src/presentation/components/molecules/UIDatetimeInput.tsx +205 -0
- package/src/presentation/components/molecules/UIError.tsx +24 -0
- package/src/presentation/components/molecules/UIImage.tsx +85 -0
- package/src/presentation/components/molecules/UIInlineDatePicker.tsx +244 -0
- package/src/presentation/components/molecules/UIInputIcon.tsx +39 -0
- package/src/presentation/components/molecules/UIList.tsx +17 -0
- package/src/presentation/components/molecules/UIRadioInput.tsx +97 -0
- package/src/presentation/components/molecules/UISectionList.tsx +17 -0
- package/src/presentation/components/molecules/UISkeleton.tsx +66 -0
- package/src/presentation/components/molecules/UISwitch.tsx +72 -0
- package/src/presentation/components/molecules/UITextInput.tsx +160 -0
- package/src/presentation/components/molecules/UITextInputMask.tsx +160 -0
- package/src/presentation/components/molecules/index.ts +20 -0
- package/src/presentation/components/organisms/UIAppBar.tsx +103 -0
- package/src/presentation/components/organisms/UIAppBarAction.tsx +13 -0
- package/src/presentation/components/organisms/UICard.tsx +48 -0
- package/src/presentation/components/organisms/UIComment.tsx +64 -0
- package/src/presentation/components/organisms/UIErrorBoundary.tsx +72 -0
- package/src/presentation/components/organisms/UIForm.tsx +81 -0
- package/src/presentation/components/organisms/UIFormButton.tsx +38 -0
- package/src/presentation/components/organisms/UIFormCheckboxInput.tsx +35 -0
- package/src/presentation/components/organisms/UIFormCurrencyInput.tsx +65 -0
- package/src/presentation/components/organisms/UIFormDatetimeInput.tsx +51 -0
- package/src/presentation/components/organisms/UIFormMultiselectInput.tsx +251 -0
- package/src/presentation/components/organisms/UIFormRadioInput.tsx +32 -0
- package/src/presentation/components/organisms/UIFormSelectInput.tsx +316 -0
- package/src/presentation/components/organisms/UIFormTextInput.tsx +62 -0
- package/src/presentation/components/organisms/UIFormTextInputMask.tsx +79 -0
- package/src/presentation/components/organisms/UIRow.tsx +61 -0
- package/src/presentation/components/organisms/UISearchInput.tsx +40 -0
- package/src/presentation/components/organisms/UISelectChip.tsx +104 -0
- package/src/presentation/components/organisms/UISignature.tsx +194 -0
- package/src/presentation/components/organisms/UISlideButton.tsx +112 -0
- package/src/presentation/components/organisms/index.ts +21 -0
- package/src/presentation/components/permissions/index.ts +1 -0
- package/src/presentation/components/permissions/request-permissions.tsx +115 -0
- package/src/presentation/domain/metadata/index.ts +2 -0
- package/src/presentation/domain/metadata/use-comments.ts +27 -0
- package/src/presentation/domain/metadata/use-images.ts +27 -0
- package/src/presentation/domain/offline/index.ts +9 -0
- package/src/presentation/domain/offline/offline-mutation-queue-provider.tsx +95 -0
- package/src/presentation/domain/offline/types.ts +21 -0
- package/src/presentation/domain/offline/use-infinite-offline-query.tsx +89 -0
- package/src/presentation/domain/offline/use-offline-id-v2.ts +29 -0
- package/src/presentation/domain/offline/use-offline-id.ts +12 -0
- package/src/presentation/domain/offline/use-offline-mutation.ts +150 -0
- package/src/presentation/domain/offline/use-offline-query.ts +55 -0
- package/src/presentation/domain/offline/use-offline-queue.ts +6 -0
- package/src/presentation/domain/offline/utils.ts +139 -0
- package/src/presentation/domain/provider/index.ts +1 -0
- package/src/presentation/domain/provider/zuq-core-provider.tsx +52 -0
- package/src/presentation/domain/utils/exists.ts +3 -0
- package/src/presentation/domain/utils/index.ts +5 -0
- package/src/presentation/domain/utils/react-query.ts +10 -0
- package/src/presentation/domain/utils/use-action-sheet.ts +21 -0
- package/src/presentation/domain/utils/use-signature-ref.ts +19 -0
- package/src/presentation/domain/utils/yup.ts +3 -0
- package/src/theme.ts +240 -0
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { handleQuerySuccess } from "../presentation/domain/offline/index.js";
|
|
4
|
+
import { IsomorphicIdManager } from "./isomorphic-id-manager.js";
|
|
5
|
+
export let OfflineMutationStatus = /*#__PURE__*/function (OfflineMutationStatus) {
|
|
6
|
+
OfflineMutationStatus["PENDING"] = "pending";
|
|
7
|
+
OfflineMutationStatus["EXECUTING"] = "executing";
|
|
8
|
+
OfflineMutationStatus["ERROR"] = "error";
|
|
9
|
+
OfflineMutationStatus["SUCCESS"] = "success";
|
|
10
|
+
return OfflineMutationStatus;
|
|
11
|
+
}({});
|
|
12
|
+
export class OfflineMutationQueue {
|
|
13
|
+
STORAGE_KEY = '__offline_queue';
|
|
14
|
+
queue = new Map();
|
|
15
|
+
constructor(actions, storage, queryClient, isomorphicIdManager) {
|
|
16
|
+
this.actions = actions;
|
|
17
|
+
this.storage = storage;
|
|
18
|
+
this.queryClient = queryClient;
|
|
19
|
+
this.isomorphicIdManager = isomorphicIdManager;
|
|
20
|
+
const storedQueue = storage.getItem(this.STORAGE_KEY);
|
|
21
|
+
if (storedQueue) {
|
|
22
|
+
this.queue = new Map(Object.entries(storedQueue));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
update() {
|
|
26
|
+
const currentQueue = Object.fromEntries(this.queue);
|
|
27
|
+
this.storage.setItem(this.STORAGE_KEY, currentQueue);
|
|
28
|
+
}
|
|
29
|
+
remove(key) {
|
|
30
|
+
this.queue.delete(key);
|
|
31
|
+
this.update();
|
|
32
|
+
}
|
|
33
|
+
areDependenciesExecuted(offlineMutation) {
|
|
34
|
+
return offlineMutation.dependencies.every(key => {
|
|
35
|
+
let currentKey;
|
|
36
|
+
if (key instanceof IsomorphicIdManager.IsomorphicId) {
|
|
37
|
+
const isomorphicId = this.isomorphicIdManager?.get(key.getOfflineId());
|
|
38
|
+
if (!isomorphicId || !isomorphicId.isOffline()) return true;
|
|
39
|
+
currentKey = String(isomorphicId.getOfflineId());
|
|
40
|
+
} else {
|
|
41
|
+
currentKey = key;
|
|
42
|
+
}
|
|
43
|
+
const dependency = this.queue.get(currentKey);
|
|
44
|
+
if (!dependency) return true;
|
|
45
|
+
return dependency.status === OfflineMutationStatus.SUCCESS;
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
updateStatus(key, status) {
|
|
49
|
+
const offlineMutation = this.queue.get(key);
|
|
50
|
+
if (!offlineMutation) {
|
|
51
|
+
console.warn('[OFFLINE]: Invalid key detected. Update will be discarded.');
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
offlineMutation.status = status;
|
|
55
|
+
this.queue.set(key, offlineMutation);
|
|
56
|
+
this.update();
|
|
57
|
+
}
|
|
58
|
+
updateResponse(key, response) {
|
|
59
|
+
const offlineMutation = this.queue.get(key);
|
|
60
|
+
if (!offlineMutation) {
|
|
61
|
+
console.warn('[OFFLINE]: Invalid key detected. Update will be discarded.');
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
offlineMutation.response = response;
|
|
65
|
+
offlineMutation.status = OfflineMutationStatus.SUCCESS;
|
|
66
|
+
this.queue.set(key, offlineMutation);
|
|
67
|
+
if (response.id) {
|
|
68
|
+
this.isomorphicIdManager?.update(Number(key), response.id);
|
|
69
|
+
}
|
|
70
|
+
this.update();
|
|
71
|
+
}
|
|
72
|
+
updateError(key, error) {
|
|
73
|
+
const offlineMutation = this.queue.get(key);
|
|
74
|
+
if (!offlineMutation) {
|
|
75
|
+
console.warn('[OFFLINE]: Invalid key detected. Update will be discarded.');
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
offlineMutation.error = error;
|
|
79
|
+
offlineMutation.status = OfflineMutationStatus.ERROR;
|
|
80
|
+
this.queue.set(key, offlineMutation);
|
|
81
|
+
this.update();
|
|
82
|
+
}
|
|
83
|
+
async invalidateQueries(offlineMutation) {
|
|
84
|
+
const {
|
|
85
|
+
queryKeysToInvalidate = []
|
|
86
|
+
} = offlineMutation;
|
|
87
|
+
for (const queryKey of queryKeysToInvalidate) {
|
|
88
|
+
this.queryClient.invalidateQueries({
|
|
89
|
+
queryKey
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
isExecuting(offlineMutation) {
|
|
94
|
+
return offlineMutation.status === OfflineMutationStatus.EXECUTING;
|
|
95
|
+
}
|
|
96
|
+
async executeRequest(key, offlineMutation) {
|
|
97
|
+
this.updateStatus(key, OfflineMutationStatus.EXECUTING);
|
|
98
|
+
const dependencies = offlineMutation.dependencies.map(dependency => dependency instanceof IsomorphicIdManager.IsomorphicId ? this.queue.get(String(dependency.getOfflineId())) : this.queue.get(dependency));
|
|
99
|
+
const action = this.actions[offlineMutation.type];
|
|
100
|
+
if (!action) {
|
|
101
|
+
console.warn(`[OFFLINE]: No action registered for this offline mutation with type ${offlineMutation.type}. It will be ignored.`);
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
const response = await action(offlineMutation, dependencies);
|
|
105
|
+
this.updateResponse(key, response.data);
|
|
106
|
+
}
|
|
107
|
+
async executeAllDependencies(offlineMutation) {
|
|
108
|
+
const {
|
|
109
|
+
dependencies
|
|
110
|
+
} = offlineMutation;
|
|
111
|
+
let allDependenciesExecutedSuccessfully = true;
|
|
112
|
+
for (const key of dependencies) {
|
|
113
|
+
let currentKey;
|
|
114
|
+
if (key instanceof IsomorphicIdManager.IsomorphicId) {
|
|
115
|
+
const isomorphicId = this.isomorphicIdManager?.get(key.getOfflineId());
|
|
116
|
+
if (!isomorphicId || !isomorphicId.isOffline()) continue;
|
|
117
|
+
currentKey = String(isomorphicId.getOfflineId());
|
|
118
|
+
} else {
|
|
119
|
+
currentKey = key;
|
|
120
|
+
}
|
|
121
|
+
const dependency = this.queue.get(currentKey);
|
|
122
|
+
if (!dependency || this.isAlreadyExecuted(dependency)) continue;
|
|
123
|
+
try {
|
|
124
|
+
if (!this.areDependenciesExecuted(dependency)) {
|
|
125
|
+
await this.executeAllDependencies(dependency);
|
|
126
|
+
}
|
|
127
|
+
await this.executeRequest(currentKey, dependency);
|
|
128
|
+
await this.invalidateQueries(dependency);
|
|
129
|
+
} catch (err) {
|
|
130
|
+
allDependenciesExecutedSuccessfully = false;
|
|
131
|
+
this.updateError(currentKey, err);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return allDependenciesExecutedSuccessfully;
|
|
135
|
+
}
|
|
136
|
+
assertOfflineMutation(key, offlineMutation) {
|
|
137
|
+
const isValid = offlineMutation.dependencies.every(dependencyKey => {
|
|
138
|
+
let dependency;
|
|
139
|
+
if (dependencyKey instanceof IsomorphicIdManager.IsomorphicId) {
|
|
140
|
+
const isomorphicId = this.isomorphicIdManager?.get(dependencyKey.getOfflineId());
|
|
141
|
+
if (!isomorphicId) return false;
|
|
142
|
+
if (isomorphicId.isOffline()) {
|
|
143
|
+
dependency = this.queue.get(String(dependencyKey.getOfflineId()));
|
|
144
|
+
} else {
|
|
145
|
+
return true;
|
|
146
|
+
}
|
|
147
|
+
} else {
|
|
148
|
+
dependency = this.queue.get(dependencyKey);
|
|
149
|
+
}
|
|
150
|
+
if (dependency) {
|
|
151
|
+
const existsDependencyLoop = dependency.dependencies.some(innerKey => innerKey === key);
|
|
152
|
+
return !existsDependencyLoop;
|
|
153
|
+
} else {
|
|
154
|
+
return false;
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
if (!isValid) {
|
|
158
|
+
throw new Error('[OFFLINE]: A dependency loop or invalid dependency was detected. This offline mutation will be discarded.');
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
isAlreadyExecuted(offlineMutation) {
|
|
162
|
+
if (!offlineMutation) return true;
|
|
163
|
+
return offlineMutation.status === OfflineMutationStatus.SUCCESS || offlineMutation.status === OfflineMutationStatus.ERROR;
|
|
164
|
+
}
|
|
165
|
+
size() {
|
|
166
|
+
return this.queue.size;
|
|
167
|
+
}
|
|
168
|
+
list() {
|
|
169
|
+
return [...this.queue.values()];
|
|
170
|
+
}
|
|
171
|
+
clear() {
|
|
172
|
+
[...this.queue.entries()].forEach(([key]) => {
|
|
173
|
+
this.remove(key);
|
|
174
|
+
});
|
|
175
|
+
this.isomorphicIdManager?.clear();
|
|
176
|
+
}
|
|
177
|
+
push(key, offlineMutation) {
|
|
178
|
+
try {
|
|
179
|
+
this.assertOfflineMutation(key, offlineMutation);
|
|
180
|
+
console.info('[OFFLINE]: Pushing to offline queue!');
|
|
181
|
+
this.queue.set(key, offlineMutation);
|
|
182
|
+
this.update();
|
|
183
|
+
} catch (err) {
|
|
184
|
+
console.error(err);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
async execute() {
|
|
188
|
+
for (const [key, offlineMutation] of this.queue) {
|
|
189
|
+
if (this.isAlreadyExecuted(offlineMutation) || this.isExecuting(offlineMutation)) {
|
|
190
|
+
continue;
|
|
191
|
+
}
|
|
192
|
+
const allDependenciesExecuted = this.executeAllDependencies(offlineMutation);
|
|
193
|
+
if (!allDependenciesExecuted) continue;
|
|
194
|
+
try {
|
|
195
|
+
await this.executeRequest(key, offlineMutation);
|
|
196
|
+
await this.invalidateQueries(offlineMutation);
|
|
197
|
+
for (const queryKey of offlineMutation.queryKeysToInvalidate) {
|
|
198
|
+
handleQuerySuccess({
|
|
199
|
+
queryClient: this.queryClient,
|
|
200
|
+
queryKey
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
} catch (err) {
|
|
204
|
+
if (err) this.updateError(key, err);
|
|
205
|
+
console.error(`[OFFLINE]: error on mutation with type ${offlineMutation.type} and key: ${key}`);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
//# sourceMappingURL=offline-mutation-queue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["handleQuerySuccess","IsomorphicIdManager","OfflineMutationStatus","OfflineMutationQueue","STORAGE_KEY","queue","Map","constructor","actions","storage","queryClient","isomorphicIdManager","storedQueue","getItem","Object","entries","update","currentQueue","fromEntries","setItem","remove","key","delete","areDependenciesExecuted","offlineMutation","dependencies","every","currentKey","IsomorphicId","isomorphicId","get","getOfflineId","isOffline","String","dependency","status","SUCCESS","updateStatus","console","warn","set","updateResponse","response","id","Number","updateError","error","ERROR","invalidateQueries","queryKeysToInvalidate","queryKey","isExecuting","EXECUTING","executeRequest","map","action","type","data","executeAllDependencies","allDependenciesExecutedSuccessfully","isAlreadyExecuted","err","assertOfflineMutation","isValid","dependencyKey","existsDependencyLoop","some","innerKey","Error","size","list","values","clear","forEach","push","info","execute","allDependenciesExecuted"],"sourceRoot":"../../../src","sources":["infra/offline-mutation-queue.ts"],"mappings":";;AAGA,SAASA,kBAAkB,QAAQ,yCAAgC;AACnE,SAASC,mBAAmB,QAAQ,4BAAyB;AAI7D,WAAYC,qBAAqB,0BAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA;AA4BjC,OAAO,MAAMC,oBAAoB,CAAC;EACfC,WAAW,GAAG,iBAAiB;EACxCC,KAAK,GAAiC,IAAIC,GAAG,CAAC,CAAC;EAEvDC,WAAWA,CACQC,OAAuB,EACvBC,OAAgB,EAChBC,WAAwB,EACxBC,mBAAyC,EAC1D;IAAA,KAJiBH,OAAuB,GAAvBA,OAAuB;IAAA,KACvBC,OAAgB,GAAhBA,OAAgB;IAAA,KAChBC,WAAwB,GAAxBA,WAAwB;IAAA,KACxBC,mBAAyC,GAAzCA,mBAAyC;IAE1D,MAAMC,WAAW,GAAGH,OAAO,CAACI,OAAO,CACjC,IAAI,CAACT,WACP,CAAC;IACD,IAAIQ,WAAW,EAAE;MACf,IAAI,CAACP,KAAK,GAAG,IAAIC,GAAG,CAClBQ,MAAM,CAACC,OAAO,CAACH,WAAW,CAC5B,CAAC;IACH;EACF;EAEQI,MAAMA,CAAA,EAAG;IACf,MAAMC,YAAY,GAAGH,MAAM,CAACI,WAAW,CAAC,IAAI,CAACb,KAAK,CAAC;IACnD,IAAI,CAACI,OAAO,CAACU,OAAO,CAAC,IAAI,CAACf,WAAW,EAAEa,YAAY,CAAC;EACtD;EAEQG,MAAMA,CAACC,GAAW,EAAE;IAC1B,IAAI,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G,CAACnB,GAAG,EAAEG,eAAe,CAAC;MACpC,IAAI,CAACR,MAAM,CAAC,CAAC;IACf,CAAC,CAAC,OAAO6C,GAAG,EAAE;MACZvB,OAAO,CAACQ,KAAK,CAACe,GAAG,CAAC;IACpB;EACF;EAEA,MAAae,OAAOA,CAAA,EAAG;IACrB,KAAK,MAAM,CAACvD,GAAG,EAAEG,eAAe,CAAC,IAAI,IAAI,CAACnB,KAAK,EAAE;MAC/C,IACE,IAAI,CAACuD,iBAAiB,CAACpC,eAAe,CAAC,IACvC,IAAI,CAAC2B,WAAW,CAAC3B,eAAe,CAAC,EACjC;QACA;MACF;MACA,MAAMqD,uBAAuB,GAC3B,IAAI,CAACnB,sBAAsB,CAAClC,eAAe,CAAC;MAC9C,IAAI,CAACqD,uBAAuB,EAAE;MAC9B,IAAI;QACF,MAAM,IAAI,CAACxB,cAAc,CAAChC,GAAG,EAAEG,eAAe,CAAC;QAC/C,MAAM,IAAI,CAACwB,iBAAiB,CAACxB,eAAe,CAAC;QAC7C,KAAK,MAAM0B,QAAQ,IAAI1B,eAAe,CAACyB,qBAAqB,EAAE;UAC5DjD,kBAAkB,CAAC;YACjBU,WAAW,EAAE,IAAI,CAACA,WAAW;YAC7BwC;UACF,CAAC,CAAC;QACJ;MACF,CAAC,CAAC,OAAOW,GAAG,EAAE;QACZ,IAAIA,GAAG,EAAE,IAAI,CAAChB,WAAW,CAACxB,GAAG,EAAEwC,GAAG,CAAC;QACnCvB,OAAO,CAACQ,KAAK,CACX,0CAA0CtB,eAAe,CAACgC,IAAI,aAAanC,GAAG,EAChF,CAAC;MACH;IACF;EACF;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import ReactNativeBlobUtil from 'react-native-blob-util';
|
|
4
|
+
import { Buffer } from 'buffer';
|
|
5
|
+
import { SaveFileError } from "../data/errors/index.js";
|
|
6
|
+
import { Platform } from 'react-native';
|
|
7
|
+
export class RNBUDownloadManagerAdapter {
|
|
8
|
+
constructor(httpClient) {
|
|
9
|
+
this.httpClient = httpClient;
|
|
10
|
+
}
|
|
11
|
+
async save(params) {
|
|
12
|
+
const defaultDir = Platform.OS === 'android' ? ReactNativeBlobUtil.fs.dirs.LegacyDownloadDir : ReactNativeBlobUtil.fs.dirs.DocumentDir;
|
|
13
|
+
const {
|
|
14
|
+
url,
|
|
15
|
+
fileName,
|
|
16
|
+
directory = defaultDir
|
|
17
|
+
} = params;
|
|
18
|
+
const response = await this.httpClient.get(url, {
|
|
19
|
+
responseType: 'arraybuffer'
|
|
20
|
+
});
|
|
21
|
+
try {
|
|
22
|
+
const base64Data = Buffer.from(response.data).toString('base64');
|
|
23
|
+
const filePath = `${directory}/${fileName}`;
|
|
24
|
+
await ReactNativeBlobUtil.fs.writeFile(filePath, base64Data, 'base64');
|
|
25
|
+
return filePath;
|
|
26
|
+
} catch (err) {
|
|
27
|
+
throw new SaveFileError('Falha ao salvar o arquivo.');
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=rnbu-download-manager-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ReactNativeBlobUtil","Buffer","SaveFileError","Platform","RNBUDownloadManagerAdapter","constructor","httpClient","save","params","defaultDir","OS","fs","dirs","LegacyDownloadDir","DocumentDir","url","fileName","directory","response","get","responseType","base64Data","from","data","toString","filePath","writeFile","err"],"sourceRoot":"../../../src","sources":["infra/rnbu-download-manager-adapter.ts"],"mappings":";;AACA,OAAOA,mBAAmB,MAAM,wBAAwB;AACxD,SAASC,MAAM,QAAQ,QAAQ;AAC/B,SAASC,aAAa,QAAQ,yBAAgB;AAC9C,SAASC,QAAQ,QAAQ,cAAc;AAEvC,OAAO,MAAMC,0BAA0B,CAA4B;EACjEC,WAAWA,CAAkBC,UAAsB,EAAE;IAAA,KAAxBA,UAAsB,GAAtBA,UAAsB;EAAG;EACtD,MAAMC,IAAIA,CAACC,MAAkC,EAA8B;IACzE,MAAMC,UAAU,GACdN,QAAQ,CAACO,EAAE,KAAK,SAAS,GACrBV,mBAAmB,CAACW,EAAE,CAACC,IAAI,CAACC,iBAAiB,GAC7Cb,mBAAmB,CAACW,EAAE,CAACC,IAAI,CAACE,WAAW;IAE7C,MAAM;MAAEC,GAAG;MAAEC,QAAQ;MAAEC,SAAS,GAAGR;IAAW,CAAC,GAAGD,MAAM;IACxD,MAAMU,QAAQ,GAAG,MAAM,IAAI,CAACZ,UAAU,CAACa,GAAG,CAACJ,GAAG,EAAE;MAC9CK,YAAY,EAAE;IAChB,CAAC,CAAC;IAEF,IAAI;MACF,MAAMC,UAAU,GAAGpB,MAAM,CAACqB,IAAI,CAACJ,QAAQ,CAACK,IAAI,CAAC,CAACC,QAAQ,CAAC,QAAQ,CAAC;MAChE,MAAMC,QAAQ,GAAG,GAAGR,SAAS,IAAID,QAAQ,EAAE;MAC3C,MAAMhB,mBAAmB,CAACW,EAAE,CAACe,SAAS,CAACD,QAAQ,EAAEJ,UAAU,EAAE,QAAQ,CAAC;MACtE,OAAOI,QAAQ;IACjB,CAAC,CAAC,OAAOE,GAAG,EAAE;MACZ,MAAM,IAAIzB,aAAa,CAAC,4BAA4B,CAAC;IACvD;EACF;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import RNPermissions, { PERMISSIONS } from 'react-native-permissions';
|
|
4
|
+
import { Platform } from 'react-native';
|
|
5
|
+
import { UnsupportedPlatform } from "../data/errors/index.js";
|
|
6
|
+
export class RNPPermissionManagerAdapter {
|
|
7
|
+
os = Platform.OS;
|
|
8
|
+
map = {
|
|
9
|
+
NOTIFICATIONS: {
|
|
10
|
+
android: null,
|
|
11
|
+
ios: null
|
|
12
|
+
},
|
|
13
|
+
CAMERA: {
|
|
14
|
+
android: PERMISSIONS.ANDROID.CAMERA,
|
|
15
|
+
ios: PERMISSIONS.IOS.CAMERA
|
|
16
|
+
},
|
|
17
|
+
COARSE_LOCATION: {
|
|
18
|
+
android: PERMISSIONS.ANDROID.ACCESS_COARSE_LOCATION,
|
|
19
|
+
ios: PERMISSIONS.IOS.LOCATION_WHEN_IN_USE
|
|
20
|
+
},
|
|
21
|
+
FINE_LOCATION: {
|
|
22
|
+
android: PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION,
|
|
23
|
+
ios: PERMISSIONS.IOS.LOCATION_WHEN_IN_USE
|
|
24
|
+
},
|
|
25
|
+
BACKGROUND_LOCATION: {
|
|
26
|
+
android: PERMISSIONS.ANDROID.ACCESS_BACKGROUND_LOCATION,
|
|
27
|
+
ios: PERMISSIONS.IOS.LOCATION_ALWAYS
|
|
28
|
+
},
|
|
29
|
+
WRITE_EXTERNAL_STORAGE: {
|
|
30
|
+
android: PERMISSIONS.ANDROID.WRITE_EXTERNAL_STORAGE,
|
|
31
|
+
ios: null
|
|
32
|
+
},
|
|
33
|
+
DATA_COLLECTION: {
|
|
34
|
+
android: null,
|
|
35
|
+
ios: PERMISSIONS.IOS.APP_TRACKING_TRANSPARENCY
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
checkOS() {
|
|
39
|
+
if (!['android', 'ios'].includes(this.os)) throw new UnsupportedPlatform();
|
|
40
|
+
}
|
|
41
|
+
getCurrentOSPermission(permission) {
|
|
42
|
+
return this.map[permission][this.os];
|
|
43
|
+
}
|
|
44
|
+
async get(permission) {
|
|
45
|
+
this.checkOS();
|
|
46
|
+
if (permission === 'NOTIFICATIONS') return this.hasNotifications();
|
|
47
|
+
const currentOSPermission = this.getCurrentOSPermission(permission);
|
|
48
|
+
if (!currentOSPermission) return 'unavailable';
|
|
49
|
+
return RNPermissions.check(currentOSPermission);
|
|
50
|
+
}
|
|
51
|
+
async getAll(permissions) {
|
|
52
|
+
return await Promise.all(permissions.map(permission => this.get(permission)));
|
|
53
|
+
}
|
|
54
|
+
async checkNoop(permission) {
|
|
55
|
+
if (permission === PERMISSIONS.ANDROID.WRITE_EXTERNAL_STORAGE && this.os === 'android' && Number(Platform.Version) >= 33) return 'granted';
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
async request(permission, options) {
|
|
59
|
+
this.checkOS();
|
|
60
|
+
if (permission === 'NOTIFICATIONS') return this.requestNotifications(options);
|
|
61
|
+
const currentOSPermission = this.getCurrentOSPermission(permission);
|
|
62
|
+
if (!currentOSPermission) return 'unavailable';
|
|
63
|
+
const isNoop = await this.checkNoop(currentOSPermission);
|
|
64
|
+
if (isNoop) return isNoop;
|
|
65
|
+
const {
|
|
66
|
+
title,
|
|
67
|
+
message,
|
|
68
|
+
allow = 'Permitir',
|
|
69
|
+
deny = 'Recusar'
|
|
70
|
+
} = options;
|
|
71
|
+
return RNPermissions.request(currentOSPermission, {
|
|
72
|
+
title,
|
|
73
|
+
message,
|
|
74
|
+
buttonPositive: allow,
|
|
75
|
+
buttonNegative: deny
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
async requestAll(data) {
|
|
79
|
+
return await Promise.all(data.map(item => this.request(item.permission, item.options)));
|
|
80
|
+
}
|
|
81
|
+
async hasNotifications() {
|
|
82
|
+
const result = await RNPermissions.checkNotifications();
|
|
83
|
+
return result.status;
|
|
84
|
+
}
|
|
85
|
+
async requestNotifications(options) {
|
|
86
|
+
this.checkOS();
|
|
87
|
+
const {
|
|
88
|
+
title,
|
|
89
|
+
message,
|
|
90
|
+
allow = 'Permitir',
|
|
91
|
+
deny = 'Recusar'
|
|
92
|
+
} = options;
|
|
93
|
+
const {
|
|
94
|
+
status
|
|
95
|
+
} = await RNPermissions.requestNotifications(['alert', 'sound'], {
|
|
96
|
+
title,
|
|
97
|
+
message,
|
|
98
|
+
buttonPositive: allow,
|
|
99
|
+
buttonNegative: deny
|
|
100
|
+
});
|
|
101
|
+
return status;
|
|
102
|
+
}
|
|
103
|
+
async has(permission) {
|
|
104
|
+
this.checkOS();
|
|
105
|
+
const currentOSPermission = this.getCurrentOSPermission(permission);
|
|
106
|
+
if (!currentOSPermission) return true;
|
|
107
|
+
const isNoop = await this.checkNoop(currentOSPermission);
|
|
108
|
+
if (isNoop) return true;
|
|
109
|
+
const currentPermissionStatus = await RNPermissions.check(currentOSPermission);
|
|
110
|
+
return ['granted', 'limited', 'unavailable'].includes(currentPermissionStatus);
|
|
111
|
+
}
|
|
112
|
+
async hasEvery(permissions) {
|
|
113
|
+
const result = await Promise.all(permissions.map(async permission => this.has(permission)));
|
|
114
|
+
return result.every(item => Boolean(item));
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=rnp-permission-manager-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["RNPermissions","PERMISSIONS","Platform","UnsupportedPlatform","RNPPermissionManagerAdapter","os","OS","map","NOTIFICATIONS","android","ios","CAMERA","ANDROID","IOS","COARSE_LOCATION","ACCESS_COARSE_LOCATION","LOCATION_WHEN_IN_USE","FINE_LOCATION","ACCESS_FINE_LOCATION","BACKGROUND_LOCATION","ACCESS_BACKGROUND_LOCATION","LOCATION_ALWAYS","WRITE_EXTERNAL_STORAGE","DATA_COLLECTION","APP_TRACKING_TRANSPARENCY","checkOS","includes","getCurrentOSPermission","permission","get","hasNotifications","currentOSPermission","check","getAll","permissions","Promise","all","checkNoop","Number","Version","request","options","requestNotifications","isNoop","title","message","allow","deny","buttonPositive","buttonNegative","requestAll","data","item","result","checkNotifications","status","has","currentPermissionStatus","hasEvery","every","Boolean"],"sourceRoot":"../../../src","sources":["infra/rnp-permission-manager-adapter.ts"],"mappings":";;AACA,OAAOA,aAAa,IAAIC,WAAW,QAAQ,0BAA0B;AACrE,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,mBAAmB,QAAQ,yBAAgB;AAEpD,OAAO,MAAMC,2BAA2B,CAA8B;EACnDC,EAAE,GAAGH,QAAQ,CAACI,EAAE;EAChBC,GAAG,GAAG;IACrBC,aAAa,EAAE;MACbC,O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;IAClB,MAAMmB,MAAM,GAAG,MAAMlB,OAAO,CAACC,GAAG,CAC9BF,WAAW,CAAC3B,GAAG,CAAC,MAAOqB,UAAU,IAAK,IAAI,CAAC4B,GAAG,CAAC5B,UAAU,CAAC,CAC5D,CAAC;IACD,OAAOyB,MAAM,CAACM,KAAK,CAAEP,IAAI,IAAKQ,OAAO,CAACR,IAAI,CAAC,CAAC;EAC9C;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export class StorageCookieManagerAdapter {
|
|
4
|
+
cookies = {};
|
|
5
|
+
constructor(storage, cookiesKey) {
|
|
6
|
+
this.storage = storage;
|
|
7
|
+
this.cookiesKey = cookiesKey;
|
|
8
|
+
this.cookies = this.storage.getItem(this.cookiesKey) ?? {};
|
|
9
|
+
}
|
|
10
|
+
get(key) {
|
|
11
|
+
return this.cookies[key];
|
|
12
|
+
}
|
|
13
|
+
set(key, value) {
|
|
14
|
+
this.cookies[key] = value;
|
|
15
|
+
return this.storage.setItem(this.cookiesKey, this.cookies);
|
|
16
|
+
}
|
|
17
|
+
remove(key) {
|
|
18
|
+
return this.set(key, undefined);
|
|
19
|
+
}
|
|
20
|
+
clear() {
|
|
21
|
+
return this.storage.removeItem(this.cookiesKey);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=storage-cookie-manager-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StorageCookieManagerAdapter","cookies","constructor","storage","cookiesKey","getItem","get","key","set","value","setItem","remove","undefined","clear","removeItem"],"sourceRoot":"../../../src","sources":["infra/storage-cookie-manager-adapter.ts"],"mappings":";;AAEA,OAAO,MAAMA,2BAA2B,CAA0B;EACxDC,OAAO,GAAuC,CAAC,CAAC;EAExDC,WAAWA,CACQC,OAAgB,EAChBC,UAAkB,EACnC;IAAA,KAFiBD,OAAgB,GAAhBA,OAAgB;IAAA,KAChBC,UAAkB,GAAlBA,UAAkB;IAEnC,IAAI,CAACH,OAAO,GAAG,IAAI,CAACE,OAAO,CAACE,OAAO,CAAC,IAAI,CAACD,UAAU,CAAC,IAAI,CAAC,CAAC;EAC5D;EAEOE,GAAGA,CAACC,GAAW,EAAE;IACtB,OAAO,IAAI,CAACN,OAAO,CAACM,GAAG,CAAC;EAC1B;EAEOC,GAAGA,CAACD,GAAW,EAAEE,KAAyB,EAAE;IACjD,IAAI,CAACR,OAAO,CAACM,GAAG,CAAC,GAAGE,KAAK;IACzB,OAAO,IAAI,CAACN,OAAO,CAACO,OAAO,CAAC,IAAI,CAACN,UAAU,EAAE,IAAI,CAACH,OAAO,CAAC;EAC5D;EAEOU,MAAMA,CAACJ,GAAW,EAAE;IACzB,OAAO,IAAI,CAACC,GAAG,CAACD,GAAG,EAAEK,SAAS,CAAC;EACjC;EAEOC,KAAKA,CAAA,EAAG;IACb,OAAO,IAAI,CAACV,OAAO,CAACW,UAAU,CAAC,IAAI,CAACV,UAAU,CAAC;EACjD;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export * from "./request-permissions.js";
|
|
4
|
+
export * from "../../presentation/components/atoms/index.js";
|
|
5
|
+
export * from "../../presentation/components/molecules/index.js";
|
|
6
|
+
export * from "../../presentation/components/organisms/index.js";
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["main/components/index.ts"],"mappings":";;AAAA,cAAc,0BAAuB;AACrC,cAAc,8CAAqC;AACnD,cAAc,kDAAyC;AACvD,cAAc,kDAAyC","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { RequestPermissions as BaseRequestPermissions } from "../../presentation/components/index.js";
|
|
5
|
+
import { makePermissionManager } from "../factories/infra/index.js";
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export const RequestPermissions = props => {
|
|
8
|
+
const permissionManager = React.useMemo(() => makePermissionManager(), []);
|
|
9
|
+
return /*#__PURE__*/_jsx(BaseRequestPermissions, {
|
|
10
|
+
permissionManager: permissionManager,
|
|
11
|
+
...props
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=request-permissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","RequestPermissions","BaseRequestPermissions","makePermissionManager","jsx","_jsx","props","permissionManager","useMemo"],"sourceRoot":"../../../../src","sources":["main/components/request-permissions.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,kBAAkB,IAAIC,sBAAsB,QAAQ,wCAA+B;AAC5F,SAASC,qBAAqB,QAAQ,6BAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAO3D,OAAO,MAAMJ,kBAAkB,GAAIK,KAAY,IAAK;EAClD,MAAMC,iBAAiB,GAAGP,KAAK,CAACQ,OAAO,CAAC,MAAML,qBAAqB,CAAC,CAAC,EAAE,EAAE,CAAC;EAE1E,oBACEE,IAAA,CAACH,sBAAsB;IAACK,iBAAiB,EAAEA,iBAAkB;IAAA,GAAKD;EAAK,CAAG,CAAC;AAE/E,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["RNBUDownloadManagerAdapter","makeDownloadManager","client"],"sourceRoot":"../../../../../src","sources":["main/factories/infra/download-manager-factory.ts"],"mappings":";;AACA,SAASA,0BAA0B,QAAQ,yBAAgB;AAE3D,OAAO,MAAMC,mBAAmB,GAAIC,MAAkB,IAAsB;EAC1E,OAAO,IAAIF,0BAA0B,CAACE,MAAM,CAAC;AAC/C,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["AxiosHttpClientAdapter","makeHttpClient","url","options"],"sourceRoot":"../../../../../src","sources":["main/factories/infra/http-client-factory.ts"],"mappings":";;AACA,SAASA,sBAAsB,QAAQ,yBAAgB;AAEvD,OAAO,MAAMC,cAAc,GAAGA,CAC5BC,GAAW,EACXC,OAAuC,KACxB;EACf,OAAO,IAAIH,sBAAsB,CAACE,GAAG,EAAEC,OAAO,CAAC;AACjD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export * from "./permission-manager-factory.js";
|
|
4
|
+
export * from "./notification-manager-factory.js";
|
|
5
|
+
export * from "./storage-factory.js";
|
|
6
|
+
export * from "./http-client-factory.js";
|
|
7
|
+
export * from "./offline-mutation-queue-factory.js";
|
|
8
|
+
export * from "./download-manager-factory.js";
|
|
9
|
+
export * from "./isomorphic-id-manager-factory.js";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["main/factories/infra/index.ts"],"mappings":";;AAAA,cAAc,iCAA8B;AAC5C,cAAc,mCAAgC;AAC9C,cAAc,sBAAmB;AACjC,cAAc,0BAAuB;AACrC,cAAc,qCAAkC;AAChD,cAAc,+BAA4B;AAC1C,cAAc,oCAAiC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["IsomorphicIdManager","makeIsomorphicIdManager","storage"],"sourceRoot":"../../../../../src","sources":["main/factories/infra/isomorphic-id-manager-factory.ts"],"mappings":";;AAAA,SAASA,mBAAmB,QAAQ,yBAAgB;AAGpD,OAAO,MAAMC,uBAAuB,GAAIC,OAAgB,IAAK;EAC3D,OAAO,IAAIF,mBAAmB,CAACE,OAAO,CAAC;AACzC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { NotifeeNotificationManagerAdapter } from "../../../infra/notifee-notification-manager-adapter.js";
|
|
4
|
+
export const makeNotificationManager = options => {
|
|
5
|
+
return new NotifeeNotificationManagerAdapter(options);
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=notification-manager-factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["NotifeeNotificationManagerAdapter","makeNotificationManager","options"],"sourceRoot":"../../../../../src","sources":["main/factories/infra/notification-manager-factory.ts"],"mappings":";;AACA,SAASA,iCAAiC,QAAQ,wDAAqD;AAEvG,OAAO,MAAMC,uBAAuB,GAClCC,OAAkD,IAC1B;EACxB,OAAO,IAAIF,iCAAiC,CAACE,OAAO,CAAC;AACvD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { OfflineMutationQueue } from "../../../infra/index.js";
|
|
4
|
+
export const makeOfflineMutationQueue = (actions, storage, queryClient, isomorphicIdManager) => {
|
|
5
|
+
return new OfflineMutationQueue(actions, storage, queryClient, isomorphicIdManager);
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=offline-mutation-queue-factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["OfflineMutationQueue","makeOfflineMutationQueue","actions","storage","queryClient","isomorphicIdManager"],"sourceRoot":"../../../../../src","sources":["main/factories/infra/offline-mutation-queue-factory.ts"],"mappings":";;AAGA,SAEEA,oBAAoB,QAEf,yBAAgB;AAEvB,OAAO,MAAMC,wBAAwB,GAAGA,CACtCC,OAAuB,EACvBC,OAAgB,EAChBC,WAAwB,EACxBC,mBAAyC,KACtC;EACH,OAAO,IAAIL,oBAAoB,CAC7BE,OAAO,EACPC,OAAO,EACPC,WAAW,EACXC,mBACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["RNPPermissionManagerAdapter","makePermissionManager"],"sourceRoot":"../../../../../src","sources":["main/factories/infra/permission-manager-factory.ts"],"mappings":";;AACA,SAASA,2BAA2B,QAAQ,yBAAgB;AAE5D,OAAO,MAAMC,qBAAqB,GAAGA,CAAA,KAAyB;EAC5D,OAAO,IAAID,2BAA2B,CAAC,CAAC;AAC1C,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { MMKVStorageAdapter } from "../../../infra/index.js";
|
|
4
|
+
export const makeStorage = (params = {
|
|
5
|
+
id: 'zuq',
|
|
6
|
+
encryptionKey: 'zuq-encryption-key'
|
|
7
|
+
}) => {
|
|
8
|
+
return new MMKVStorageAdapter(params);
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=storage-factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MMKVStorageAdapter","makeStorage","params","id","encryptionKey"],"sourceRoot":"../../../../../src","sources":["main/factories/infra/storage-factory.ts"],"mappings":";;AACA,SAASA,kBAAkB,QAAQ,yBAAgB;AAEnD,OAAO,MAAMC,WAAW,GAAGA,CACzBC,MAAiC,GAAG;EAClCC,EAAE,EAAE,KAAK;EACTC,aAAa,EAAE;AACjB,CAAC,KACW;EACZ,OAAO,IAAIJ,kBAAkB,CAACE,MAAM,CAAC;AACvC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["main/factories/use-cases/index.ts"],"mappings":";;AAAA,cAAc,oCAAiC;AAC/C,cAAc,sCAAmC;AACjD,cAAc,sCAAmC","ignoreList":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { RemoteGetCommentList } from "../../../data/use-cases/index.js";
|
|
4
|
+
export const makeGetCommentList = (url, httpClient) => {
|
|
5
|
+
return new RemoteGetCommentList(url, httpClient);
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=remote-get-comment-list-factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["RemoteGetCommentList","makeGetCommentList","url","httpClient"],"sourceRoot":"../../../../../src","sources":["main/factories/use-cases/remote-get-comment-list-factory.ts"],"mappings":";;AACA,SAASA,oBAAoB,QAAQ,kCAAyB;AAE9D,OAAO,MAAMC,kBAAkB,GAAGA,CAACC,GAAW,EAAEC,UAAsB,KAAK;EACzE,OAAO,IAAIH,oBAAoB,CAACE,GAAG,EAAEC,UAAU,CAAC;AAClD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["RemoteGetImageList","makeGetImageList","url","httpClient"],"sourceRoot":"../../../../../src","sources":["main/factories/use-cases/remote-get-image-list-factory.ts"],"mappings":";;AACA,SAASA,kBAAkB,QAAQ,kCAAyB;AAE5D,OAAO,MAAMC,gBAAgB,GAAGA,CAACC,GAAW,EAAEC,UAAsB,KAAK;EACvE,OAAO,IAAIH,kBAAkB,CAACE,GAAG,EAAEC,UAAU,CAAC;AAChD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { RemoteSendDiagnostics } from "../../../data/use-cases/index.js";
|
|
4
|
+
export const makeRemoteSendDiagnostics = (url, httpClient, storage) => {
|
|
5
|
+
return new RemoteSendDiagnostics(url, httpClient, storage);
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=remote-send-diagnostics-factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["RemoteSendDiagnostics","makeRemoteSendDiagnostics","url","httpClient","storage"],"sourceRoot":"../../../../../src","sources":["main/factories/use-cases/remote-send-diagnostics-factory.ts"],"mappings":";;AACA,SAASA,qBAAqB,QAAQ,kCAAyB;AAE/D,OAAO,MAAMC,yBAAyB,GAAGA,CACvCC,GAAW,EACXC,UAAsB,EACtBC,OAAgB,KACb;EACH,OAAO,IAAIJ,qBAAqB,CAACE,GAAG,EAAEC,UAAU,EAAEC,OAAO,CAAC;AAC5D,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|