@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,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { UIIcon, UIStack, UIText } from "../atoms/index.js";
|
|
5
|
+
import { UIButton } from "../molecules/index.js";
|
|
6
|
+
import { theme } from "../../../theme.js";
|
|
7
|
+
import { useNetInfo } from '@react-native-community/netinfo';
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
export const UIAppBar = ({
|
|
10
|
+
left,
|
|
11
|
+
right,
|
|
12
|
+
title,
|
|
13
|
+
variant = 'left',
|
|
14
|
+
style,
|
|
15
|
+
wrapperStyle,
|
|
16
|
+
titleStyle,
|
|
17
|
+
...props
|
|
18
|
+
}) => {
|
|
19
|
+
const {
|
|
20
|
+
isConnected
|
|
21
|
+
} = useNetInfo();
|
|
22
|
+
const withBasePadding = !left && !right;
|
|
23
|
+
if (variant === 'center') {
|
|
24
|
+
if (!left) left = /*#__PURE__*/_jsx(UIButton, {
|
|
25
|
+
disabled: true,
|
|
26
|
+
style: styles.empty
|
|
27
|
+
});
|
|
28
|
+
if (!right) right = /*#__PURE__*/_jsx(UIButton, {
|
|
29
|
+
disabled: true,
|
|
30
|
+
style: styles.empty
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
return /*#__PURE__*/_jsxs(UIStack, {
|
|
34
|
+
style: [styles.wrapper, wrapperStyle],
|
|
35
|
+
children: [/*#__PURE__*/_jsxs(UIStack, {
|
|
36
|
+
horizontal: true,
|
|
37
|
+
center: true,
|
|
38
|
+
style: [styles.container, withBasePadding && styles.basePadding, style],
|
|
39
|
+
...props,
|
|
40
|
+
children: [/*#__PURE__*/_jsx(UIStack, {
|
|
41
|
+
style: variant !== 'left' && styles.left,
|
|
42
|
+
children: left
|
|
43
|
+
}), /*#__PURE__*/_jsx(UIText, {
|
|
44
|
+
weight: "600",
|
|
45
|
+
align: "center",
|
|
46
|
+
style: [styles.title, titleStyle],
|
|
47
|
+
children: title
|
|
48
|
+
}), /*#__PURE__*/_jsx(UIStack, {
|
|
49
|
+
style: styles.right,
|
|
50
|
+
children: right
|
|
51
|
+
})]
|
|
52
|
+
}), isConnected === false && /*#__PURE__*/_jsxs(UIStack, {
|
|
53
|
+
horizontal: true,
|
|
54
|
+
center: true,
|
|
55
|
+
justify: "center",
|
|
56
|
+
style: styles.offlineContainer,
|
|
57
|
+
children: [/*#__PURE__*/_jsx(UIIcon, {
|
|
58
|
+
name: "no-wifi",
|
|
59
|
+
color: theme.color.feedback.red['500']
|
|
60
|
+
}), /*#__PURE__*/_jsx(UIText, {
|
|
61
|
+
color: "feedback-red-500",
|
|
62
|
+
children: "Sem conex\xE3o"
|
|
63
|
+
})]
|
|
64
|
+
})]
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
const styles = StyleSheet.create({
|
|
68
|
+
container: {
|
|
69
|
+
paddingHorizontal: 4,
|
|
70
|
+
paddingVertical: 4,
|
|
71
|
+
backgroundColor: theme.color.neutral.light['00']
|
|
72
|
+
},
|
|
73
|
+
title: {
|
|
74
|
+
marginHorizontal: 4,
|
|
75
|
+
fontSize: 16,
|
|
76
|
+
flexShrink: 1
|
|
77
|
+
},
|
|
78
|
+
basePadding: {
|
|
79
|
+
paddingVertical: 16,
|
|
80
|
+
paddingHorizontal: 8
|
|
81
|
+
},
|
|
82
|
+
offlineContainer: {
|
|
83
|
+
backgroundColor: theme.color.feedback.red['50'],
|
|
84
|
+
paddingVertical: 4,
|
|
85
|
+
paddingHorizontal: 8
|
|
86
|
+
},
|
|
87
|
+
wrapper: {
|
|
88
|
+
paddingBottom: 6,
|
|
89
|
+
backgroundColor: '#fff'
|
|
90
|
+
},
|
|
91
|
+
left: {
|
|
92
|
+
marginRight: 'auto'
|
|
93
|
+
},
|
|
94
|
+
right: {
|
|
95
|
+
marginLeft: 'auto'
|
|
96
|
+
},
|
|
97
|
+
empty: {
|
|
98
|
+
padding: 12,
|
|
99
|
+
paddingHorizontal: 24
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
//# sourceMappingURL=UIAppBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","UIIcon","UIStack","UIText","UIButton","theme","useNetInfo","jsx","_jsx","jsxs","_jsxs","UIAppBar","left","right","title","variant","style","wrapperStyle","titleStyle","props","isConnected","withBasePadding","disabled","styles","empty","wrapper","children","horizontal","center","container","basePadding","weight","align","justify","offlineContainer","name","color","feedback","red","create","paddingHorizontal","paddingVertical","backgroundColor","neutral","light","marginHorizontal","fontSize","flexShrink","paddingBottom","marginRight","marginLeft","padding"],"sourceRoot":"../../../../../src","sources":["presentation/components/organisms/UIAppBar.tsx"],"mappings":";;AAAA,SACEA,UAAU,QAIL,cAAc;AACrB,SAASC,MAAM,EAAEC,OAAO,EAAEC,MAAM,QAAQ,mBAAU;AAClD,SAASC,QAAQ,QAAQ,uBAAc;AACvC,SAASC,KAAK,QAAQ,mBAAgB;AACtC,SAASC,UAAU,QAAQ,iCAAiC;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAW7D,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,IAAI;EACJC,KAAK;EACLC,KAAK;EACLC,OAAO,GAAG,MAAM;EAChBC,KAAK;EACLC,YAAY;EACZC,UAAU;EACV,GAAGC;AACE,CAAC,KAAK;EACX,MAAM;IAAEC;EAAY,CAAC,GAAGd,UAAU,CAAC,CAAC;EAEpC,MAAMe,eAAe,GAAG,CAACT,IAAI,IAAI,CAACC,KAAK;EAEvC,IAAIE,OAAO,KAAK,QAAQ,EAAE;IACxB,IAAI,CAACH,IAAI,EAAEA,IAAI,gBAAGJ,IAAA,CAACJ,QAAQ;MAACkB,QAAQ;MAACN,KAAK,EAAEO,MAAM,CAACC;IAAM,CAAE,CAAC;IAC5D,IAAI,CAACX,KAAK,EAAEA,KAAK,gBAAGL,IAAA,CAACJ,QAAQ;MAACkB,QAAQ;MAACN,KAAK,EAAEO,MAAM,CAACC;IAAM,CAAE,CAAC;EAChE;EAEA,oBACEd,KAAA,CAACR,OAAO;IAACc,KAAK,EAAE,CAACO,MAAM,CAACE,OAAO,EAAER,YAAY,CAAE;IAAAS,QAAA,gB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,CAACC,KAAK,CAAC,IAAI;EACjD,CAAC;EACD9B,KAAK,EAAE;IACL+B,gBAAgB,EAAE,CAAC;IACnBC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd,CAAC;EACDjB,WAAW,EAAE;IACXW,eAAe,EAAE,EAAE;IACnBD,iBAAiB,EAAE;EACrB,CAAC;EACDN,gBAAgB,EAAE;IAChBQ,eAAe,EAAErC,KAAK,CAAC+B,KAAK,CAACC,QAAQ,CAACC,GAAG,CAAC,IAAI,CAAC;IAC/CG,eAAe,EAAE,CAAC;IAClBD,iBAAiB,EAAE;EACrB,CAAC;EACDf,OAAO,EAAE;IACPuB,aAAa,EAAE,CAAC;IAChBN,eAAe,EAAE;EACnB,CAAC;EACD9B,IAAI,EAAE;IACJqC,WAAW,EAAE;EACf,CAAC;EACDpC,KAAK,EAAE;IACLqC,UAAU,EAAE;EACd,CAAC;EACD1B,KAAK,EAAE;IACL2B,OAAO,EAAE,EAAE;IACXX,iBAAiB,EAAE;EACrB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
import { UIButton } from "../molecules/index.js";
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
export const UIAppBarAction = ({
|
|
7
|
+
style,
|
|
8
|
+
...props
|
|
9
|
+
}) => {
|
|
10
|
+
return /*#__PURE__*/_jsx(UIButton, {
|
|
11
|
+
borderless: true,
|
|
12
|
+
style: [styles.button, style],
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
const styles = StyleSheet.create({
|
|
17
|
+
button: {
|
|
18
|
+
padding: 12
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=UIAppBarAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","UIButton","jsx","_jsx","UIAppBarAction","style","props","borderless","styles","button","create","padding"],"sourceRoot":"../../../../../src","sources":["presentation/components/organisms/UIAppBarAction.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,QAAQ,QAAQ,uBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAKxC,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAAEC,KAAK;EAAE,GAAGC;AAAa,CAAC,KAAK;EAC5D,oBACEH,IAAA,CAACF,QAAQ;IAACM,UAAU;IAACF,KAAK,EAAE,CAACG,MAAM,CAACC,MAAM,EAAEJ,KAAK,CAAS;IAAA,GAAKC;EAAK,CAAG,CAAC;AAE5E,CAAC;AAED,MAAME,MAAM,GAAGR,UAAU,CAACU,MAAM,CAAC;EAAED,MAAM,EAAE;IAAEE,OAAO,EAAE;EAAG;AAAE,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Platform, StyleSheet } from 'react-native';
|
|
4
|
+
import { UIButton } from "../molecules/index.js";
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
export const UICard = ({
|
|
7
|
+
style,
|
|
8
|
+
children,
|
|
9
|
+
pressable,
|
|
10
|
+
disabled,
|
|
11
|
+
...props
|
|
12
|
+
}) => {
|
|
13
|
+
return /*#__PURE__*/_jsx(UIButton, {
|
|
14
|
+
disabled: !pressable || disabled,
|
|
15
|
+
style: [styles.common, styles.card, style],
|
|
16
|
+
...props,
|
|
17
|
+
children: children
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
const styles = StyleSheet.create({
|
|
21
|
+
common: {
|
|
22
|
+
borderRadius: 8
|
|
23
|
+
},
|
|
24
|
+
card: {
|
|
25
|
+
backgroundColor: '#fff',
|
|
26
|
+
shadowColor: '#808080',
|
|
27
|
+
margin: 4,
|
|
28
|
+
...Platform.select({
|
|
29
|
+
android: {
|
|
30
|
+
elevation: 3
|
|
31
|
+
},
|
|
32
|
+
ios: {
|
|
33
|
+
shadowOffset: {
|
|
34
|
+
width: -2,
|
|
35
|
+
height: 4
|
|
36
|
+
},
|
|
37
|
+
shadowRadius: 3,
|
|
38
|
+
shadowOpacity: 0.8
|
|
39
|
+
}
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
//# sourceMappingURL=UICard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Platform","StyleSheet","UIButton","jsx","_jsx","UICard","style","children","pressable","disabled","props","styles","common","card","create","borderRadius","backgroundColor","shadowColor","margin","select","android","elevation","ios","shadowOffset","width","height","shadowRadius","shadowOpacity"],"sourceRoot":"../../../../../src","sources":["presentation/components/organisms/UICard.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,UAAU,QAAQ,cAAc;AAEnD,SAASC,QAAQ,QAAQ,uBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOxC,OAAO,MAAMC,MAAM,GAAGA,CAAC;EACrBC,KAAK;EACLC,QAAQ;EACRC,SAAS;EACTC,QAAQ;EACR,GAAGC;AACE,CAAC,KAAK;EACX,oBACEN,IAAA,CAACF,QAAQ;IACPO,QAAQ,EAAE,CAACD,SAAS,IAAIC,QAAS;IACjCH,KAAK,EAAE,CAACK,MAAM,CAACC,MAAM,EAAED,MAAM,CAACE,IAAI,EAAEP,KAAK,CAAE;IAAA,GACvCI,KAAK;IAAAH,QAAA,EAERA;EAAQ,CACD,CAAC;AAEf,CAAC;AAED,MAAMI,MAAM,GAAGV,UAAU,CAACa,MAAM,CAAC;EAC/BF,MAAM,EAAE;IACNG,YAAY,EAAE;EAChB,CAAC;EACDF,IAAI,EAAE;IACJG,eAAe,EAAE,MAAM;IACvBC,WAAW,EAAE,SAAS;IACtBC,MAAM,EAAE,CAAC;IACT,GAAGlB,QAAQ,CAACmB,MAAM,CAAY;MAC5BC,OAAO,EAAE;QAAEC,SAAS,EAAE;MAAE,CAAC;MACzBC,GAAG,EAAE;QACHC,YAAY,EAAE;UACZC,KAAK,EAAE,CAAC,CAAC;UACTC,MAAM,EAAE;QACV,CAAC;QACDC,YAAY,EAAE,CAAC;QACfC,aAAa,EAAE;MACjB;IACF,CAAC;EACH;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet, Image } from 'react-native';
|
|
4
|
+
import { UIIcon, UIStack, UIText } from "../atoms/index.js";
|
|
5
|
+
import { formatDistanceToNow } from 'date-fns';
|
|
6
|
+
import { ptBR } from 'date-fns/locale';
|
|
7
|
+
import { theme } from "../../../theme.js";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
export const UIComment = ({
|
|
10
|
+
name,
|
|
11
|
+
comment,
|
|
12
|
+
picture,
|
|
13
|
+
date
|
|
14
|
+
}) => {
|
|
15
|
+
return /*#__PURE__*/_jsx(UIStack, {
|
|
16
|
+
style: styles.container,
|
|
17
|
+
children: /*#__PURE__*/_jsxs(UIStack, {
|
|
18
|
+
horizontal: true,
|
|
19
|
+
center: true,
|
|
20
|
+
size: "md",
|
|
21
|
+
children: [picture ? /*#__PURE__*/_jsx(Image, {
|
|
22
|
+
source: {
|
|
23
|
+
uri: picture
|
|
24
|
+
},
|
|
25
|
+
style: styles.user
|
|
26
|
+
}) : /*#__PURE__*/_jsx(UIStack, {
|
|
27
|
+
center: true,
|
|
28
|
+
style: styles.user,
|
|
29
|
+
children: /*#__PURE__*/_jsx(UIIcon, {
|
|
30
|
+
name: "user",
|
|
31
|
+
size: 24,
|
|
32
|
+
color: theme.color.brand.violet['500']
|
|
33
|
+
})
|
|
34
|
+
}), /*#__PURE__*/_jsxs(UIStack, {
|
|
35
|
+
flex: 1,
|
|
36
|
+
children: [/*#__PURE__*/_jsxs(UIStack, {
|
|
37
|
+
horizontal: true,
|
|
38
|
+
center: true,
|
|
39
|
+
size: "md",
|
|
40
|
+
children: [/*#__PURE__*/_jsx(UIText, {
|
|
41
|
+
weight: "500",
|
|
42
|
+
size: 12,
|
|
43
|
+
children: name
|
|
44
|
+
}), date && /*#__PURE__*/_jsx(UIText, {
|
|
45
|
+
size: 12,
|
|
46
|
+
color: "neutral-mid-60",
|
|
47
|
+
children: formatDistanceToNow(date, {
|
|
48
|
+
addSuffix: true,
|
|
49
|
+
locale: ptBR
|
|
50
|
+
})
|
|
51
|
+
})]
|
|
52
|
+
}), /*#__PURE__*/_jsx(UIText, {
|
|
53
|
+
variant: "body",
|
|
54
|
+
color: "neutral-mid-60",
|
|
55
|
+
children: comment
|
|
56
|
+
})]
|
|
57
|
+
})]
|
|
58
|
+
})
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
const styles = StyleSheet.create({
|
|
62
|
+
user: {
|
|
63
|
+
backgroundColor: theme.color.neutral.light['10'],
|
|
64
|
+
borderRadius: 20,
|
|
65
|
+
justifyContent: 'center',
|
|
66
|
+
height: 40,
|
|
67
|
+
width: 40
|
|
68
|
+
},
|
|
69
|
+
container: {
|
|
70
|
+
paddingVertical: 8
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
//# sourceMappingURL=UIComment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","Image","UIIcon","UIStack","UIText","formatDistanceToNow","ptBR","theme","jsx","_jsx","jsxs","_jsxs","UIComment","name","comment","picture","date","style","styles","container","children","horizontal","center","size","source","uri","user","color","brand","violet","flex","weight","addSuffix","locale","variant","create","backgroundColor","neutral","light","borderRadius","justifyContent","height","width","paddingVertical"],"sourceRoot":"../../../../../src","sources":["presentation/components/organisms/UIComment.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,KAAK,QAAQ,cAAc;AAChD,SAASC,MAAM,EAAEC,OAAO,EAAEC,MAAM,QAAQ,mBAAU;AAElD,SAASC,mBAAmB,QA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zBgB,SAAS,EAAE,IAAI;cACfC,MAAM,EAAE3B;YACV,CAAC;UAAC,CACI,CACT;QAAA,CACM,CAAC,eACVG,IAAA,CAACL,MAAM;UAAC8B,OAAO,EAAC,MAAM;UAACP,KAAK,EAAC,gBAAgB;UAAAP,QAAA,EAC1CN;QAAO,CACF,CAAC;MAAA,CACF,CAAC;IAAA,CACH;EAAC,CACH,CAAC;AAEd,CAAC;AAED,MAAMI,MAAM,GAAGlB,UAAU,CAACmC,MAAM,CAAC;EAC/BT,IAAI,EAAE;IACJU,eAAe,EAAE7B,KAAK,CAACoB,KAAK,CAACU,OAAO,CAACC,KAAK,CAAC,IAAI,CAAC;IAChDC,YAAY,EAAE,EAAE;IAChBC,cAAc,EAAE,QAAQ;IACxBC,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE;EACT,CAAC;EACDvB,SAAS,EAAE;IACTwB,eAAe,EAAE;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import ErrorBoundary from 'react-native-error-boundary';
|
|
5
|
+
import { UIPage, UIStack, UIText } from "../atoms/index.js";
|
|
6
|
+
import { UIAppBar } from "./UIAppBar.js";
|
|
7
|
+
import { UIButton } from "../molecules/index.js";
|
|
8
|
+
import { StyleSheet } from 'react-native';
|
|
9
|
+
import { useMutation } from '@tanstack/react-query';
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
export const UIErrorBoundary = ({
|
|
12
|
+
onRecordError,
|
|
13
|
+
onSendDiagnostics,
|
|
14
|
+
onResetError,
|
|
15
|
+
children
|
|
16
|
+
}) => {
|
|
17
|
+
const sendDiagnostic = useMutation({
|
|
18
|
+
mutationFn: onSendDiagnostics
|
|
19
|
+
});
|
|
20
|
+
return /*#__PURE__*/_jsx(ErrorBoundary, {
|
|
21
|
+
FallbackComponent: ({
|
|
22
|
+
error,
|
|
23
|
+
resetError
|
|
24
|
+
}) => /*#__PURE__*/_jsx(UIPage, {
|
|
25
|
+
appBar: /*#__PURE__*/_jsx(UIAppBar, {
|
|
26
|
+
variant: "center",
|
|
27
|
+
title: "Erro inesperado"
|
|
28
|
+
}),
|
|
29
|
+
children: /*#__PURE__*/_jsxs(UIStack, {
|
|
30
|
+
flex: 1,
|
|
31
|
+
justify: "space-between",
|
|
32
|
+
style: styles.container,
|
|
33
|
+
children: [/*#__PURE__*/_jsxs(UIStack, {
|
|
34
|
+
children: [/*#__PURE__*/_jsxs(UIText, {
|
|
35
|
+
variant: "subtitle",
|
|
36
|
+
children: ["Sentimos muito :", '(']
|
|
37
|
+
}), /*#__PURE__*/_jsx(UIText, {
|
|
38
|
+
color: "neutral-mid-60",
|
|
39
|
+
children: "Um erro inesperado aconteceu no nosso app, gostaria de enviar um diagn\xF3stico para que possamos corrigir o problema?"
|
|
40
|
+
})]
|
|
41
|
+
}), /*#__PURE__*/_jsxs(UIStack, {
|
|
42
|
+
children: [/*#__PURE__*/_jsx(UIButton, {
|
|
43
|
+
onPress: async () => {
|
|
44
|
+
await onResetError();
|
|
45
|
+
resetError();
|
|
46
|
+
},
|
|
47
|
+
children: "Limpar erro"
|
|
48
|
+
}), /*#__PURE__*/_jsx(UIButton, {
|
|
49
|
+
variant: "contained",
|
|
50
|
+
loading: sendDiagnostic.isPending,
|
|
51
|
+
onPress: async () => {
|
|
52
|
+
await sendDiagnostic.mutateAsync(error);
|
|
53
|
+
},
|
|
54
|
+
children: "Enviar diagn\xF3stico"
|
|
55
|
+
})]
|
|
56
|
+
})]
|
|
57
|
+
})
|
|
58
|
+
}),
|
|
59
|
+
onError: onRecordError,
|
|
60
|
+
children: children
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
const styles = StyleSheet.create({
|
|
64
|
+
container: {
|
|
65
|
+
paddingBottom: 32
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
//# sourceMappingURL=UIErrorBoundary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","ErrorBoundary","UIPage","UIStack","UIText","UIAppBar","UIButton","StyleSheet","useMutation","jsx","_jsx","jsxs","_jsxs","UIErrorBoundary","onRecordError","onSendDiagnostics","onResetError","children","sendDiagnostic","mutationFn","FallbackComponent","error","resetError","appBar","variant","title","flex","justify","style","styles","container","color","onPress","loading","isPending","mutateAsync","onError","create","paddingBottom"],"sourceRoot":"../../../../../src","sources":["presentation/components/organisms/UIErrorBoundary.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,aAAa,MAEb,6BAA6B;AACpC,SAASC,MAAM,EAAEC,OAAO,EAAEC,MAAM,QAAQ,mBAAU;AAClD,SAASC,QAAQ,QAAQ,eAAY;AACrC,SAASC,QAAQ,QAAQ,uBAAc;AACvC,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,WAAW,QAAQ,uBAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAQpD,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAC9BC,aAAa;EACbC,iBAAiB;EACjBC,YAAY;EACZC;AACK,CAAC,KAAK;EACX,MAAMC,cAAc,GAAGV,WAAW,CAAC;IACjCW,UAAU,EAAEJ;EACd,CAAC,CAAC;EAEF,oBACEL,IAAA,CAACT,aAAa;IACZmB,iBAAiB,EAAEA,CAAC;MAAEC,KAAK;MAAEC;IAAmC,CAAC,kBAC/DZ,IAAA,CAACR,MAAM;MAACqB,MAAM,eAAEb,IAAA,CAACL,QAAQ;QAACmB,OAAO,EAAC,QAAQ;QAACC,KAAK,EAAC;MAAiB,CAAE,CAAE;MAAAR,QAAA,eACpEL,KAAA,CAACT,OAAO;QAACuB,IAAI,EAAE,CAAE;QAACC,OAAO,EAAC,eAAe;QAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;QAAAb,QAAA,gBAChEL,KAAA,CAACT,OAAO;UAAAc,QAAA,gBACNL,KAAA,CAACR,MAAM;YAACoB,OAAO,EAAC,UAAU;YAAAP,QAAA,GAAC,kBAAgB,EAAC,GAAG;UAAA,CAAS,CAAC,eACzDP,IAAA,CAACN,MAAM;YAAC2B,KAAK,EAAC,gBAAgB;YAAAd,QAAA,EAAC;UAG/B,CAAQ,CAAC;QAAA,CACF,CAAC,eACVL,KAAA,CAACT,OAAO;UAAAc,QAAA,gBACNP,IAAA,CAACJ,QAAQ;YACP0B,OAAO,EAAE,MAAAA,CAAA,KAAY;cACnB,MAAMhB,YAAY,CAAC,CAAC;cACpBM,UAAU,CAAC,CAAC;YACd,CAAE;YAAAL,QAAA,EACH;UAED,CAAU,CAAC,eACXP,IAAA,CAACJ,QAAQ;YACPkB,OAAO,EAAC,WAAW;YACnBS,OAAO,EAAEf,cAAc,CAACgB,SAAU;YAClCF,OAAO,EAAE,MAAAA,CAAA,KAAY;cACnB,MAAMd,cAAc,CAACiB,WAAW,CAACd,KAAK,CAAC;YACzC,CAAE;YAAAJ,QAAA,EACH;UAED,CAAU,CAAC;QAAA,CACJ,CAAC;MAAA,CACH;IAAC,CACJ,CACR;IACFmB,OAAO,EAAEtB,aAAc;IAAAG,QAAA,EAEtBA;EAAQ,CACI,CAAC;AAEpB,CAAC;AAED,MAAMY,MAAM,GAAGtB,UAAU,CAAC8B,MAAM,CAAC;EAC/BP,SAAS,EAAE;IACTQ,aAAa,EAAE;EACjB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { StyleSheet, View } from 'react-native';
|
|
5
|
+
import { FormProvider, useForm } from 'react-hook-form';
|
|
6
|
+
import { UIIcon, UIText, UIStack } from "../atoms/index.js";
|
|
7
|
+
import { theme } from "../../../theme.js";
|
|
8
|
+
import { yupResolver } from '@hookform/resolvers/yup';
|
|
9
|
+
import { yup } from "../../domain/utils/index.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
const defaultSchema = yup.object();
|
|
12
|
+
const getValueOrFallback = (value, fallback) => {
|
|
13
|
+
if (!value || !Object.keys(value ?? {}).length) return fallback;
|
|
14
|
+
return value;
|
|
15
|
+
};
|
|
16
|
+
export const UIForm = ({
|
|
17
|
+
defaultValues,
|
|
18
|
+
schema,
|
|
19
|
+
children,
|
|
20
|
+
errorProps,
|
|
21
|
+
form,
|
|
22
|
+
...props
|
|
23
|
+
}) => {
|
|
24
|
+
const {
|
|
25
|
+
formState: {
|
|
26
|
+
errors: errorsBase,
|
|
27
|
+
isDirty: isDirtyBase,
|
|
28
|
+
...formBaseState
|
|
29
|
+
},
|
|
30
|
+
...formBase
|
|
31
|
+
} = useForm({
|
|
32
|
+
defaultValues: defaultValues ?? {},
|
|
33
|
+
resolver: yupResolver(schema ?? defaultSchema)
|
|
34
|
+
});
|
|
35
|
+
const {
|
|
36
|
+
formState: {
|
|
37
|
+
errors: errorsProp,
|
|
38
|
+
isDirty: isDirtyProp,
|
|
39
|
+
...formPropState
|
|
40
|
+
},
|
|
41
|
+
...formProp
|
|
42
|
+
} = form ?? {
|
|
43
|
+
formState: {}
|
|
44
|
+
};
|
|
45
|
+
const {
|
|
46
|
+
style,
|
|
47
|
+
...error
|
|
48
|
+
} = errorProps ?? {};
|
|
49
|
+
const formProviderProps = {
|
|
50
|
+
...getValueOrFallback(formProp, formBase),
|
|
51
|
+
formState: {
|
|
52
|
+
errors: getValueOrFallback(errorsProp, errorsBase),
|
|
53
|
+
isDirty: getValueOrFallback(isDirtyProp, isDirtyBase),
|
|
54
|
+
...getValueOrFallback(formPropState, formBaseState)
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const errors = errorsProp ?? errorsBase;
|
|
58
|
+
return /*#__PURE__*/_jsx(FormProvider, {
|
|
59
|
+
...formProviderProps,
|
|
60
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
61
|
+
...props,
|
|
62
|
+
children: [children, errors['_formError']?.message?.toString() && /*#__PURE__*/_jsxs(UIStack, {
|
|
63
|
+
horizontal: true,
|
|
64
|
+
center: true,
|
|
65
|
+
style: [styles.error, style],
|
|
66
|
+
...error,
|
|
67
|
+
children: [/*#__PURE__*/_jsx(UIText, {
|
|
68
|
+
color: "feedback-red-500",
|
|
69
|
+
children: errors['_formError']?.message.toString()
|
|
70
|
+
}), /*#__PURE__*/_jsx(UIIcon, {
|
|
71
|
+
name: "warning",
|
|
72
|
+
color: theme.color.feedback.red['500']
|
|
73
|
+
})]
|
|
74
|
+
})]
|
|
75
|
+
})
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
const styles = StyleSheet.create({
|
|
79
|
+
error: {
|
|
80
|
+
marginTop: 12
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
//# sourceMappingURL=UIForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","FormProvider","useForm","UIIcon","UIText","UIStack","theme","yupResolver","yup","jsx","_jsx","jsxs","_jsxs","defaultSchema","object","getValueOrFallback","value","fallback","Object","keys","length","UIForm","defaultValues","schema","children","errorProps","form","props","formState","errors","errorsBase","isDirty","isDirtyBase","formBaseState","formBase","resolver","errorsProp","isDirtyProp","formPropState","formProp","style","error","formProviderProps","message","toString","horizontal","center","styles","color","name","feedback","red","create","marginTop"],"sourceRoot":"../../../../../src","sources":["presentation/components/organisms/UIForm.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,YAAY,EAAEC,OAAO,QAAQ,iBAAiB;AAEvD,SAASC,MAAM,EAAEC,MAAM,EAAEC,OAAO,QAAQ,mBAAU;AAClD,SAASC,KAAK,QAAQ,mBAAgB;AACtC,SAASC,WAAW,QAAQ,yBAAyB;AACrD,SAASC,GAAG,QAAQ,6BAAoB;A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;MACrD,GAAGjB,kBAAkB,CAACuB,aAAa,EAAEL,aAAa;IACpD;EACF,CAAC;EAED,MAAMJ,MAAM,GAAGO,UAAU,IAAIN,UAAU;EAEvC,oBACEpB,IAAA,CAACT,YAAY;IAAA,GAAKyC,iBAAiB;IAAAlB,QAAA,eACjCZ,KAAA,CAACZ,IAAI;MAAA,GAAK2B,KAAK;MAAAH,QAAA,GACZA,QAAQ,EACRK,MAAM,CAAC,YAAY,CAAC,EAAEc,OAAO,EAAEC,QAAQ,CAAC,CAAC,iBACxChC,KAAA,CAACP,OAAO;QAACwC,UAAU;QAACC,MAAM;QAACN,KAAK,EAAE,CAACO,MAAM,CAACN,KAAK,EAAED,KAAK,CAAE;QAAA,GAAKC,KAAK;QAAAjB,QAAA,gBAChEd,IAAA,CAACN,MAAM;UAAC4C,KAAK,EAAC,kBAAkB;UAAAxB,QAAA,EAC7BK,MAAM,CAAC,YAAY,CAAC,EAAEc,OAAO,CAACC,QAAQ,CAAC;QAAC,CACnC,CAAC,eACTlC,IAAA,CAACP,MAAM;UAAC8C,IAAI,EAAC,SAAS;UAACD,KAAK,EAAE1C,KAAK,CAAC0C,KAAK,CAACE,QAAQ,CAACC,GAAG,CAAC,KAAK;QAAE,CAAE,CAAC;MAAA,CAC1D,CACV;IAAA,CACG;EAAC,CACK,CAAC;AAEnB,CAAC;AAED,MAAMJ,MAAM,GAAGhD,UAAU,CAACqD,MAAM,CAAC;EAC/BX,KAAK,EAAE;IACLY,SAAS,EAAE;EACb;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { UIButton } from "../molecules/index.js";
|
|
5
|
+
import { useFormContext } from 'react-hook-form';
|
|
6
|
+
import { KeyboardController } from 'react-native-keyboard-controller';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
export const UIFormButton = ({
|
|
9
|
+
onSubmit,
|
|
10
|
+
getErrorMessage,
|
|
11
|
+
resetFormOnSubmit = true,
|
|
12
|
+
...props
|
|
13
|
+
}) => {
|
|
14
|
+
const {
|
|
15
|
+
handleSubmit,
|
|
16
|
+
setError,
|
|
17
|
+
clearErrors,
|
|
18
|
+
reset
|
|
19
|
+
} = useFormContext();
|
|
20
|
+
const onPress = handleSubmit(async values => {
|
|
21
|
+
try {
|
|
22
|
+
await KeyboardController.dismiss({
|
|
23
|
+
animated: false,
|
|
24
|
+
keepFocus: false
|
|
25
|
+
});
|
|
26
|
+
clearErrors('_formError');
|
|
27
|
+
await onSubmit(values);
|
|
28
|
+
if (resetFormOnSubmit) reset();
|
|
29
|
+
} catch (e) {
|
|
30
|
+
const errorMessage = getErrorMessage?.(e, setError);
|
|
31
|
+
if (errorMessage) setError('_formError', {
|
|
32
|
+
message: errorMessage
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}, () => {
|
|
36
|
+
KeyboardController.dismiss();
|
|
37
|
+
});
|
|
38
|
+
return /*#__PURE__*/_jsx(UIButton, {
|
|
39
|
+
onPress: () => onPress(),
|
|
40
|
+
...props
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=UIFormButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","UIButton","useFormContext","KeyboardController","jsx","_jsx","UIFormButton","onSubmit","getErrorMessage","resetFormOnSubmit","props","handleSubmit","setError","clearErrors","reset","onPress","values","dismiss","animated","keepFocus","e","errorMessage","message"],"sourceRoot":"../../../../../src","sources":["presentation/components/organisms/UIFormButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,uBAAc;AACvC,SAA6BC,cAAc,QAAQ,iBAAiB;AACpE,SAASC,kBAAkB,QAAQ,kCAAkC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAQtE,OAAO,MAAMC,YAAY,GAAGA,CAAC;EAC3BC,QAAQ;EACRC,eAAe;EACfC,iBAAiB,GAAG,IAAI;EACxB,GAAGC;AACE,CAAC,KAAK;EACX,MAAM;IAAEC,YAAY;IAAEC,QAAQ;IAAEC,WAAW;IAAEC;EAAM,CAAC,GAAGZ,cAAc,CAAC,CAAC;EAEvE,MAAMa,OAAO,GAAGJ,YAAY,CAC1B,MAAOK,MAAM,IAAK;IAChB,IAAI;MACF,MAAMb,kBAAkB,CAACc,OAAO,CAAC;QAAEC,QAAQ,EAAE,KAAK;QAAEC,SAAS,EAAE;MAAM,CAAC,CAAC;MACvEN,WAAW,CAAC,YAAY,CAAC;MACzB,MAAMN,QAAQ,CAACS,MAAM,CAAC;MACtB,IAAIP,iBAAiB,EAAEK,KAAK,CAAC,CAAC;IAChC,CAAC,CAAC,OAAOM,CAAC,EAAE;MACV,MAAMC,YAAY,GAAGb,eAAe,GAAGY,CAAC,EAAER,QAAQ,CAAC;MACnD,IAAIS,YAAY,EAAET,QAAQ,CAAC,YAAY,EAAE;QAAEU,OAAO,EAAED;MAAa,CAAC,CAAC;IACrE;EACF,CAAC,EACD,MAAM;IACJlB,kBAAkB,CAACc,OAAO,CAAC,CAAC;EAC9B,CACF,CAAC;EAED,oBAAOZ,IAAA,CAACJ,QAAQ;IAACc,OAAO,EAAEA,CAAA,KAAMA,OAAO,CAAC,CAAE;IAAA,GAAKL;EAAK,CAAG,CAAC;AAC1D,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { UICheckboxInput } from "../molecules/index.js";
|
|
5
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
6
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
+
export const UIFormCheckboxInput = ({
|
|
8
|
+
name,
|
|
9
|
+
value,
|
|
10
|
+
onPress,
|
|
11
|
+
...props
|
|
12
|
+
}) => {
|
|
13
|
+
const {
|
|
14
|
+
control
|
|
15
|
+
} = useFormContext();
|
|
16
|
+
const {
|
|
17
|
+
field
|
|
18
|
+
} = useController({
|
|
19
|
+
control,
|
|
20
|
+
name
|
|
21
|
+
});
|
|
22
|
+
return /*#__PURE__*/_jsx(UICheckboxInput, {
|
|
23
|
+
onPress: e => {
|
|
24
|
+
onPress?.(e);
|
|
25
|
+
const {
|
|
26
|
+
value: current,
|
|
27
|
+
onChange
|
|
28
|
+
} = field;
|
|
29
|
+
if (current?.includes(value)) {
|
|
30
|
+
onChange(current?.filter(item => item !== value));
|
|
31
|
+
} else {
|
|
32
|
+
onChange([...(current ?? []), value]);
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
selected: field.value?.includes(value),
|
|
36
|
+
...props
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=UIFormCheckboxInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","UICheckboxInput","useController","useFormContext","jsx","_jsx","UIFormCheckboxInput","name","value","onPress","props","control","field","e","current","onChange","includes","filter","item","selected"],"sourceRoot":"../../../../../src","sources":["presentation/components/organisms/UIFormCheckboxInput.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,eAAe,QAAQ,uBAAc;AAC9C,SAASC,aAAa,EAAEC,cAAc,QAAQ,iBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOhE,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC,IAAI;EACJC,KAAK;EACLC,OAAO;EACP,GAAGC;AACE,CAAC,KAAK;EACX,MAAM;IAAEC;EAAQ,CAAC,GAAGR,cAAc,CAAC,CAAC;EAEpC,MAAM;IAAES;EAAM,CAAC,GAAGV,aAAa,CAAC;IAAES,OAAO;IAAEJ;EAAK,CAAC,CAAC;EAElD,oBACEF,IAAA,CAACJ,eAAe;IACdQ,OAAO,EAAGI,CAAC,IAAK;MACdJ,OAAO,GAAGI,CAAC,CAAC;MACZ,MAAM;QAAEL,KAAK,EAAEM,OAAO;QAAEC;MAAS,CAAC,GAAGH,KAAK;MAC1C,IAAIE,OAAO,EAAEE,QAAQ,CAACR,KAAK,CAAC,EAAE;QAC5BO,QAAQ,CAACD,OAAO,EAAEG,MAAM,CAAEC,IAAY,IAAKA,IAAI,KAAKV,KAAK,CAAC,CAAC;MAC7D,CAAC,MAAM;QACLO,QAAQ,CAAC,CAAC,IAAID,OAAO,IAAI,EAAE,CAAC,EAAEN,KAAK,CAAC,CAAC;MACvC;IACF,CAAE;IACFW,QAAQ,EAAEP,KAAK,CAACJ,KAAK,EAAEQ,QAAQ,CAACR,KAAK,CAAE;IAAA,GACnCE;EAAK,CACV,CAAC;AAEN,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { UICurrencyInput } from "../molecules/index.js";
|
|
5
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
6
|
+
import { theme } from "../../../theme.js";
|
|
7
|
+
import { UIIcon, UIText, UIStack } from "../atoms/index.js";
|
|
8
|
+
import { StyleSheet } from 'react-native';
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
export const UIFormCurrencyInput = /*#__PURE__*/React.forwardRef(({
|
|
11
|
+
name,
|
|
12
|
+
containerStyle,
|
|
13
|
+
formContainerStyle,
|
|
14
|
+
onChangeValue,
|
|
15
|
+
...props
|
|
16
|
+
}, ref) => {
|
|
17
|
+
const [value, setValue] = React.useState(null);
|
|
18
|
+
const {
|
|
19
|
+
control,
|
|
20
|
+
formState: {
|
|
21
|
+
errors
|
|
22
|
+
}
|
|
23
|
+
} = useFormContext();
|
|
24
|
+
const {
|
|
25
|
+
field
|
|
26
|
+
} = useController({
|
|
27
|
+
name,
|
|
28
|
+
control
|
|
29
|
+
});
|
|
30
|
+
const hasError = Boolean(errors[name]);
|
|
31
|
+
React.useEffect(() => {
|
|
32
|
+
setValue(Number(field.value));
|
|
33
|
+
}, [field.value]);
|
|
34
|
+
return /*#__PURE__*/_jsxs(UIStack, {
|
|
35
|
+
style: [styles.container, formContainerStyle],
|
|
36
|
+
children: [/*#__PURE__*/_jsx(UICurrencyInput, {
|
|
37
|
+
ref: ref,
|
|
38
|
+
value: value,
|
|
39
|
+
onChangeValue: value => {
|
|
40
|
+
field.onChange(String(value ?? ''));
|
|
41
|
+
onChangeValue?.(value);
|
|
42
|
+
},
|
|
43
|
+
containerStyle: [hasError && {
|
|
44
|
+
borderColor: theme.color.feedback.red['500']
|
|
45
|
+
}, containerStyle],
|
|
46
|
+
...props
|
|
47
|
+
}), hasError && /*#__PURE__*/_jsxs(UIStack, {
|
|
48
|
+
horizontal: true,
|
|
49
|
+
center: true,
|
|
50
|
+
children: [/*#__PURE__*/_jsx(UIText, {
|
|
51
|
+
color: "feedback-red-500",
|
|
52
|
+
children: errors[name]?.message?.toString()
|
|
53
|
+
}), /*#__PURE__*/_jsx(UIIcon, {
|
|
54
|
+
name: "warning",
|
|
55
|
+
color: theme.color.feedback.red['500']
|
|
56
|
+
})]
|
|
57
|
+
})]
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
const styles = StyleSheet.create({
|
|
61
|
+
container: {
|
|
62
|
+
flexGrow: 1
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
//# sourceMappingURL=UIFormCurrencyInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","UICurrencyInput","useController","useFormContext","theme","UIIcon","UIText","UIStack","StyleSheet","jsx","_jsx","jsxs","_jsxs","UIFormCurrencyInput","forwardRef","name","containerStyle","formContainerStyle","onChangeValue","props","ref","value","setValue","useState","control","formState","errors","field","hasError","Boolean","useEffect","Number","style","styles","container","children","onChange","String","borderColor","color","feedback","red","horizontal","center","message","toString","create","flexGrow"],"sourceRoot":"../../../../../src","sources":["presentation/components/organisms/UIFormCurrencyInput.t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AACC,MAAM,CAAChB,KAAK,IAAI,EAAE,CAAC,CAAC;QACnCH,aAAa,GAAGG,KAAK,CAAC;MACxB,CAAE;MACFL,cAAc,EAAE,CACdY,QAAQ,IAAI;QACVU,WAAW,EAAElC,KAAK,CAACmC,KAAK,CAACC,QAAQ,CAACC,GAAG,CAAC,KAAK;MAC7C,CAAC,EACDzB,cAAc,CACd;MAAA,GACEG;IAAK,CACV,CAAC,EACDS,QAAQ,iBACPhB,KAAA,CAACL,OAAO;MAACmC,UAAU;MAACC,MAAM;MAAAR,QAAA,gBACxBzB,IAAA,CAACJ,MAAM;QAACiC,KAAK,EAAC,kBAAkB;QAAAJ,QAAA,EAC7BT,MAAM,CAACX,IAAI,CAAC,EAAE6B,OAAO,EAAEC,QAAQ,CAAC;MAAC,CAC5B,CAAC,eACTnC,IAAA,CAACL,MAAM;QAACU,IAAI,EAAC,SAAS;QAACwB,KAAK,EAAEnC,KAAK,CAACmC,KAAK,CAACC,QAAQ,CAACC,GAAG,CAAC,KAAK;MAAE,CAAE,CAAC;IAAA,CAC1D,CACV;EAAA,CACM,CAAC;AAEd,CACF,CAAC;AAED,MAAMR,MAAM,GAAGzB,UAAU,CAACsC,MAAM,CAAC;EAC/BZ,SAAS,EAAE;IACTa,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { UIDatetimeInput } from "../molecules/index.js";
|
|
5
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
6
|
+
import { UIIcon, UIStack, UIText } from "../atoms/index.js";
|
|
7
|
+
import { theme } from "../../../theme.js";
|
|
8
|
+
import { StyleSheet } from 'react-native';
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
export const UIFormDatetimeInput = ({
|
|
11
|
+
name,
|
|
12
|
+
formContainerStyle,
|
|
13
|
+
...props
|
|
14
|
+
}) => {
|
|
15
|
+
const {
|
|
16
|
+
control,
|
|
17
|
+
formState: {
|
|
18
|
+
errors
|
|
19
|
+
}
|
|
20
|
+
} = useFormContext();
|
|
21
|
+
const {
|
|
22
|
+
field
|
|
23
|
+
} = useController({
|
|
24
|
+
name,
|
|
25
|
+
control
|
|
26
|
+
});
|
|
27
|
+
const hasError = Boolean(errors[name]);
|
|
28
|
+
return /*#__PURE__*/_jsxs(UIStack, {
|
|
29
|
+
style: [styles.container, formContainerStyle],
|
|
30
|
+
children: [/*#__PURE__*/_jsx(UIDatetimeInput, {
|
|
31
|
+
value: field.value && new Date(field.value),
|
|
32
|
+
onSelect: date => {
|
|
33
|
+
field.onChange(date.getTime());
|
|
34
|
+
},
|
|
35
|
+
...props
|
|
36
|
+
}), hasError && /*#__PURE__*/_jsxs(UIStack, {
|
|
37
|
+
horizontal: true,
|
|
38
|
+
center: true,
|
|
39
|
+
children: [/*#__PURE__*/_jsx(UIText, {
|
|
40
|
+
color: "feedback-red-500",
|
|
41
|
+
children: errors[name]?.message?.toString()
|
|
42
|
+
}), /*#__PURE__*/_jsx(UIIcon, {
|
|
43
|
+
name: "warning",
|
|
44
|
+
color: theme.color.feedback.red['500']
|
|
45
|
+
})]
|
|
46
|
+
})]
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
const styles = StyleSheet.create({
|
|
50
|
+
container: {
|
|
51
|
+
flexGrow: 1
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
//# sourceMappingURL=UIFormDatetimeInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","UIDatetimeInput","useController","useFormContext","UIIcon","UIStack","UIText","theme","StyleSheet","jsx","_jsx","jsxs","_jsxs","UIFormDatetimeInput","name","formContainerStyle","props","control","formState","errors","field","hasError","Boolean","style","styles","container","children","value","Date","onSelect","date","onChange","getTime","horizontal","center","color","message","toString","feedback","red","create","flexGrow"],"sourceRoot":"../../../../../src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