@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,10 @@
|
|
|
1
|
+
export declare const useOfflineQueue: () => {
|
|
2
|
+
executing: boolean;
|
|
3
|
+
push: (key: string, offlineMutation: import("../../..").OfflineMutation) => void;
|
|
4
|
+
data: import("../../..").OfflineMutation[];
|
|
5
|
+
size: number;
|
|
6
|
+
clear: Function;
|
|
7
|
+
refetch: () => void;
|
|
8
|
+
isLoading: boolean;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=use-offline-queue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-offline-queue.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/domain/offline/use-offline-queue.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;CAE3B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type QueryKey } from '@tanstack/react-query';
|
|
2
|
+
import type { Storage } from '../../../data/protocols';
|
|
3
|
+
import type { OptimisticRollbackParams, OptimisticUpdateParams } from './types';
|
|
4
|
+
import { HttpClientError } from '../../../data/errors';
|
|
5
|
+
import { IsomorphicIdManager } from '../../../infra/isomorphic-id-manager';
|
|
6
|
+
export declare const isHttpClientError: (error: any) => error is HttpClientError<any>;
|
|
7
|
+
export declare const isIsomorphicId: (isomorphicId: any) => isomorphicId is IsomorphicIdManager.IsomorphicId;
|
|
8
|
+
export declare const isOfflineId: (id: any) => boolean;
|
|
9
|
+
export declare const isFromOfflineId: (id: any) => boolean;
|
|
10
|
+
export declare const isFromRealId: (id: any) => boolean;
|
|
11
|
+
export declare const handleClearQueryRollback: ({ queryClient, queryKey, }: OptimisticRollbackParams) => void;
|
|
12
|
+
export declare const handleQueryUpdate: <T>({ queryKey, queryClient, handler, storage, fallbackData, }: OptimisticUpdateParams<T>) => Promise<T>;
|
|
13
|
+
export declare const handleQueryRollback: <T = any>({ queryClient, queryKey, storage, }: OptimisticRollbackParams) => T | undefined;
|
|
14
|
+
export declare const handleQuerySuccess: ({ queryClient, queryKey, }: OptimisticRollbackParams) => void;
|
|
15
|
+
export declare const handleInfiniteQuerySave: <T>(queryKey: QueryKey, pageParam: number, data: T[], storage: Storage) => void;
|
|
16
|
+
export declare const initialDataFallback: <T>(queryKey: QueryKey, cb: any, storage?: Storage) => any;
|
|
17
|
+
export declare const isInvalidData: (data: any) => boolean;
|
|
18
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/domain/offline/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,QAAQ,EACd,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,eAAO,MAAM,iBAAiB,GAC5B,OAAO,GAAG,KACT,KAAK,IAAI,eAAe,CAAC,GAAG,CAE9B,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,cAAc,GAAG,KAChB,YAAY,IAAI,mBAAmB,CAAC,YAEtC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,IAAI,GAAG,KAAG,OAErC,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,IAAI,GAAG,KAAG,OAEzC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,IAAI,GAAG,KAAG,OAEtC,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,4BAGtC,wBAAwB,SAG1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,CAAC,EAAE,4DAMxC,sBAAsB,CAAC,CAAC,CAAC,eAU3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,CAAC,GAAG,GAAG,EAAE,qCAI1C,wBAAwB,kBAS1B,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,4BAGhC,wBAAwB,SAK1B,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,CAAC,EACvC,UAAU,QAAQ,EAClB,WAAW,MAAM,EACjB,MAAM,CAAC,EAAE,EACT,SAAS,OAAO,SA0BjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,CAAC,EACnC,UAAU,QAAQ,EAClB,IAAI,GAAG,EACP,UAAU,OAAO,QASlB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,MAAM,GAAG,YAOtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/domain/provider/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { OfflineMutationQueue } from '../../../infra';
|
|
3
|
+
import { QueryClient } from '@tanstack/react-query';
|
|
4
|
+
import type { Storage } from '../../../data/protocols';
|
|
5
|
+
type Props = {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
queue?: OfflineMutationQueue;
|
|
8
|
+
storage: Storage;
|
|
9
|
+
};
|
|
10
|
+
export declare const queryClient: QueryClient;
|
|
11
|
+
export declare const ZUQCoreProvider: ({ children, queue }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=zuq-core-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zuq-core-provider.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/domain/provider/zuq-core-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAuB,MAAM,uBAAuB,CAAC;AACzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAEvD,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW,aAQtB,CAAC;AAEH,eAAO,MAAM,eAAe,GAAI,qBAAqB,KAAK,4CAkBzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exists.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/domain/utils/exists.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,GAAI,CAAC,EAAE,OAAO,CAAC,KAAG,KAAK,IAAI,OAAO,CAAC,CAAC,EAAE,IAAI,GAAG,SAAS,CAExE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/domain/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as ReactQuery from '@tanstack/react-query';
|
|
2
|
+
import type { UseMutationOptions, UseQueryOptions, QueryKey, InfiniteData } from '@tanstack/react-query';
|
|
3
|
+
export declare const hashKey: typeof ReactQuery.hashKey, useMutation: typeof ReactQuery.useMutation, useQuery: typeof ReactQuery.useQuery, useQueryClient: (queryClient?: ReactQuery.QueryClient) => ReactQuery.QueryClient;
|
|
4
|
+
export type { UseMutationOptions, UseQueryOptions, QueryKey, InfiniteData };
|
|
5
|
+
//# sourceMappingURL=react-query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-query.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/domain/utils/react-query.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,QAAQ,EACR,YAAY,EACb,MAAM,uBAAuB,CAAC;AAE/B,eAAO,MAAQ,OAAO,6BAAE,WAAW,iCAAE,QAAQ,8BAAE,cAAc,kEAAe,CAAC;AAC7E,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-action-sheet.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/domain/utils/use-action-sheet.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,GAAI,sBAAoB;;;;CAiBlD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type ImageType = {
|
|
3
|
+
name: string;
|
|
4
|
+
uri: string;
|
|
5
|
+
type: string;
|
|
6
|
+
editable?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type SignatureRef = {
|
|
9
|
+
isDirty: boolean;
|
|
10
|
+
save: () => Promise<ImageType | undefined>;
|
|
11
|
+
reset: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const useSignatureRef: () => React.RefObject<SignatureRef | null>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=use-signature-ref.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-signature-ref.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/domain/utils/use-signature-ref.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IAC3C,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,eAAe,4CAG3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"yup.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/domain/utils/yup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,eAAO,MAAM,GAAG,YAAM,CAAC"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
export declare const theme: {
|
|
2
|
+
readonly color: {
|
|
3
|
+
readonly brand: {
|
|
4
|
+
readonly violet: {
|
|
5
|
+
readonly '50': "#e9eaee";
|
|
6
|
+
readonly '100': "#bbbdcb";
|
|
7
|
+
readonly '200': "#9b9db2";
|
|
8
|
+
readonly '300': "#6d708e";
|
|
9
|
+
readonly '400': "#515579";
|
|
10
|
+
readonly '500': "#252a57";
|
|
11
|
+
readonly '600': "#22264f";
|
|
12
|
+
readonly '700': "#1a1e3e";
|
|
13
|
+
readonly '800': "#141730";
|
|
14
|
+
readonly '900': "#101225";
|
|
15
|
+
};
|
|
16
|
+
readonly blue: {
|
|
17
|
+
readonly '50': "#e6f7fb";
|
|
18
|
+
readonly '100': "#b0e7f4";
|
|
19
|
+
readonly '200': "#8adcee";
|
|
20
|
+
readonly '300': "#54cce6";
|
|
21
|
+
readonly '400': "#33c2e1";
|
|
22
|
+
readonly '500': "#00b3da";
|
|
23
|
+
readonly '600': "#00a3c6";
|
|
24
|
+
readonly '700': "#007f9b";
|
|
25
|
+
readonly '800': "#006278";
|
|
26
|
+
readonly '900': "#004b5c";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
readonly neutral: {
|
|
30
|
+
readonly light: {
|
|
31
|
+
readonly transparent: "transparent";
|
|
32
|
+
readonly '00': "#FFFFFF";
|
|
33
|
+
readonly '05': "#fafcfd";
|
|
34
|
+
readonly '10': "#f0f5f9";
|
|
35
|
+
readonly '20': "#e8f0f6";
|
|
36
|
+
readonly '30': "#dee9f2";
|
|
37
|
+
readonly '40': "#d8e5ef";
|
|
38
|
+
readonly '50': "#cedeeb";
|
|
39
|
+
readonly '55': "#bbcad6";
|
|
40
|
+
};
|
|
41
|
+
readonly mid: {
|
|
42
|
+
readonly '60': "#929ea7";
|
|
43
|
+
readonly '65': "#717a81";
|
|
44
|
+
readonly '70': "#485158";
|
|
45
|
+
};
|
|
46
|
+
readonly dark: {
|
|
47
|
+
readonly '80': "#1a252e";
|
|
48
|
+
readonly '90': "#121821";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
readonly feedback: {
|
|
52
|
+
readonly green: {
|
|
53
|
+
readonly '50': "#e7f7f2";
|
|
54
|
+
readonly '100': "#b3e7d6";
|
|
55
|
+
readonly '200': "#8fdbc2";
|
|
56
|
+
readonly '300': "#5ccaa7";
|
|
57
|
+
readonly '400': "#3cc095";
|
|
58
|
+
readonly '500': "#0bb07b";
|
|
59
|
+
readonly '600': "#0aa070";
|
|
60
|
+
readonly '700': "#087d57";
|
|
61
|
+
readonly '800': "#066144";
|
|
62
|
+
readonly '900': "#054a34";
|
|
63
|
+
};
|
|
64
|
+
readonly red: {
|
|
65
|
+
readonly '50': "#feecec";
|
|
66
|
+
readonly '100': "#fac3c3";
|
|
67
|
+
readonly '200': "#f8a6a6";
|
|
68
|
+
readonly '300': "#f57d7d";
|
|
69
|
+
readonly '400': "#f36464";
|
|
70
|
+
readonly '500': "#f03d3d";
|
|
71
|
+
readonly '600': "#da3838";
|
|
72
|
+
readonly '700': "#aa2b2b";
|
|
73
|
+
readonly '800': "#842222";
|
|
74
|
+
readonly '900': "#651a1a";
|
|
75
|
+
};
|
|
76
|
+
readonly yellow: {
|
|
77
|
+
readonly '50': "#fff7e7";
|
|
78
|
+
readonly '100': "#ffe6b4";
|
|
79
|
+
readonly '200': "#ffd990";
|
|
80
|
+
readonly '300': "#ffc85d";
|
|
81
|
+
readonly '400': "#ffbd3d";
|
|
82
|
+
readonly '500': "#ffad0d";
|
|
83
|
+
readonly '600': "#e89d0c";
|
|
84
|
+
readonly '700': "#b57b09";
|
|
85
|
+
readonly '800': "#8c5f07";
|
|
86
|
+
readonly '900': "#664905";
|
|
87
|
+
};
|
|
88
|
+
readonly orange: {
|
|
89
|
+
readonly '50': "#fdf0e6";
|
|
90
|
+
readonly '100': "#f9d1b0";
|
|
91
|
+
readonly '200': "#f6ba8a";
|
|
92
|
+
readonly '300': "#f29b54";
|
|
93
|
+
readonly '400': "#f08833";
|
|
94
|
+
readonly '500': "#ec6a00";
|
|
95
|
+
readonly '600': "#d76000";
|
|
96
|
+
readonly '700': "#a84b00";
|
|
97
|
+
readonly '800': "#823a00";
|
|
98
|
+
readonly '900': "#632d00";
|
|
99
|
+
};
|
|
100
|
+
readonly magenta: {
|
|
101
|
+
readonly '50': "#ffe7f5";
|
|
102
|
+
readonly '100': "#ffb6de";
|
|
103
|
+
readonly '200': "#ff92cf";
|
|
104
|
+
readonly '300': "#ff61b9";
|
|
105
|
+
readonly '400': "#ff42ab";
|
|
106
|
+
readonly '500': "#ff1396";
|
|
107
|
+
readonly '600': "#e81189";
|
|
108
|
+
readonly '700': "#b50d6b";
|
|
109
|
+
readonly '800': "#8c0a53";
|
|
110
|
+
readonly '900': "#6b083f";
|
|
111
|
+
};
|
|
112
|
+
readonly purple: {
|
|
113
|
+
readonly '50': "#f5e8f6";
|
|
114
|
+
readonly '100': "#e0b8e4";
|
|
115
|
+
readonly '200': "#d196d7";
|
|
116
|
+
readonly '300': "#bb66c5";
|
|
117
|
+
readonly '400': "#ae48ba";
|
|
118
|
+
readonly '500': "#9a1aa9";
|
|
119
|
+
readonly '600': "#8c189a";
|
|
120
|
+
readonly '700': "#6d1278";
|
|
121
|
+
readonly '800': "#550e5d";
|
|
122
|
+
readonly '900': "#410b47";
|
|
123
|
+
};
|
|
124
|
+
readonly turquoise: {
|
|
125
|
+
readonly '50': "#e8f1f8";
|
|
126
|
+
readonly '100': "#b7d2ea";
|
|
127
|
+
readonly '200': "#94bce0";
|
|
128
|
+
readonly '300': "#649ed2";
|
|
129
|
+
readonly '400': "#458bc9";
|
|
130
|
+
readonly '500': "#176ebc";
|
|
131
|
+
readonly '600': "#1564ab";
|
|
132
|
+
readonly '700': "#104e85";
|
|
133
|
+
readonly '800': "#0d3d67";
|
|
134
|
+
readonly '900': "#0a2e4f";
|
|
135
|
+
};
|
|
136
|
+
readonly 'navy-blue': {
|
|
137
|
+
readonly '50': "#eaecef";
|
|
138
|
+
readonly '100': "#bfc3cf";
|
|
139
|
+
readonly '200': "#9fa6b7";
|
|
140
|
+
readonly '300': "#747d96";
|
|
141
|
+
readonly '400': "#596482";
|
|
142
|
+
readonly '500': "#2f3d63";
|
|
143
|
+
readonly '600': "#2b385a";
|
|
144
|
+
readonly '700': "#212b46";
|
|
145
|
+
readonly '800': "#1a2236";
|
|
146
|
+
readonly '900': "#141a2a";
|
|
147
|
+
};
|
|
148
|
+
readonly gray: {
|
|
149
|
+
readonly '50': "#fdfdfd";
|
|
150
|
+
readonly '100': "#f8f9fa";
|
|
151
|
+
readonly '200': "#f5f6f8";
|
|
152
|
+
readonly '300': "#f1f2f4";
|
|
153
|
+
readonly '400': "#eef0f2";
|
|
154
|
+
readonly '500': "#eaecef";
|
|
155
|
+
readonly '600': "#d5d7d9";
|
|
156
|
+
readonly '700': "#a6a8aa";
|
|
157
|
+
readonly '800': "#818283";
|
|
158
|
+
readonly '900': "#626364";
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
readonly action: {
|
|
162
|
+
readonly default: {
|
|
163
|
+
readonly '500': "#252a57";
|
|
164
|
+
};
|
|
165
|
+
readonly 'default-2': {
|
|
166
|
+
readonly '500': "#00b3da";
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
readonly font: {
|
|
171
|
+
readonly weight: {
|
|
172
|
+
readonly black: "Inter-Black";
|
|
173
|
+
readonly condensed: "Inter-Bold";
|
|
174
|
+
readonly condensedBold: "Inter-ExtraBold";
|
|
175
|
+
readonly heavy: "Inter-Bold";
|
|
176
|
+
readonly light: "Inter-Light";
|
|
177
|
+
readonly medium: "Inter-Medium";
|
|
178
|
+
readonly regular: "Inter-Regular";
|
|
179
|
+
readonly semibold: "Inter-SemiBold";
|
|
180
|
+
readonly thin: "Inter-Thin";
|
|
181
|
+
readonly ultralight: "Inter-Thin";
|
|
182
|
+
readonly bold: "Inter-Bold";
|
|
183
|
+
readonly normal: "Inter-Regular";
|
|
184
|
+
readonly '100': "Inter-Thin";
|
|
185
|
+
readonly '200': "Inter-ExtraLight";
|
|
186
|
+
readonly '300': "Inter-Light";
|
|
187
|
+
readonly '400': "Inter-Regular";
|
|
188
|
+
readonly '500': "Inter-Medium";
|
|
189
|
+
readonly '600': "Inter-SemiBold";
|
|
190
|
+
readonly '700': "Inter-Bold";
|
|
191
|
+
readonly '800': "Inter-ExtraBold";
|
|
192
|
+
readonly '900': "Inter-Black";
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
readonly spacing: {
|
|
196
|
+
readonly sm: 2;
|
|
197
|
+
readonly md: 4;
|
|
198
|
+
readonly lg: 8;
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
export type ThemeSpacing = keyof typeof theme.spacing;
|
|
202
|
+
export type Theme = typeof theme.color;
|
|
203
|
+
type AllThemeColorPaths<T = Theme> = {
|
|
204
|
+
[Category in keyof T]: {
|
|
205
|
+
[Color in keyof T[Category]]: {
|
|
206
|
+
[Shade in keyof T[Category][Color]]: `${Category & string}-${Color & string}-${Shade & string}`;
|
|
207
|
+
}[keyof T[Category][Color]];
|
|
208
|
+
}[keyof T[Category]];
|
|
209
|
+
}[keyof T];
|
|
210
|
+
type ExtractColorValue<T extends AllThemeColorPaths> = T extends `${infer Category}-${infer Color}-${infer Shade}` ? Category extends keyof Theme ? Color extends keyof Theme[Category] ? Shade extends keyof Theme[Category][Color] ? Theme[Category][Color][Shade] : never : never : never : never;
|
|
211
|
+
export declare const getThemeColor: <T extends AllThemeColorPaths>(path: T | undefined) => ExtractColorValue<T> | undefined;
|
|
212
|
+
export type ThemeColor = AllThemeColorPaths;
|
|
213
|
+
export {};
|
|
214
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuMR,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,KAAK,CAAC,OAAO,CAAC;AAEtD,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC,KAAK,CAAC;AAEvC,KAAK,kBAAkB,CAAC,CAAC,GAAG,KAAK,IAAI;KAClC,QAAQ,IAAI,MAAM,CAAC,GAAG;SACpB,KAAK,IAAI,MAAM,CAAC,CAAC,QAAQ,CAAC,GAAG;aAC3B,KAAK,IAAI,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,GAAG,GAAG,QAAQ,GAAG,MAAM,IAAI,KAAK,GAAG,MAAM,IAAI,KAAK,GAAG,MAAM,EAAE;SAChG,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC;KAC5B,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC;CACrB,CAAC,MAAM,CAAC,CAAC,CAAC;AAEX,KAAK,iBAAiB,CAAC,CAAC,SAAS,kBAAkB,IACjD,CAAC,SAAS,GAAG,MAAM,QAAQ,IAAI,MAAM,KAAK,IAAI,MAAM,KAAK,EAAE,GACvD,QAAQ,SAAS,MAAM,KAAK,GAC1B,KAAK,SAAS,MAAM,KAAK,CAAC,QAAQ,CAAC,GACjC,KAAK,SAAS,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,GACxC,KAAK,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,GAC7B,KAAK,GACP,KAAK,GACP,KAAK,GACP,KAAK,CAAC;AAEZ,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,kBAAkB,EACxD,MAAM,CAAC,GAAG,SAAS,KAClB,iBAAiB,CAAC,CAAC,CAAC,GAAG,SAWzB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,kBAAkB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@edge-zuq/core",
|
|
3
|
+
"version": "1.2.7",
|
|
4
|
+
"description": "ZUQ App core components",
|
|
5
|
+
"main": "./lib/module/index.js",
|
|
6
|
+
"types": "./lib/typescript/src/index.d.ts",
|
|
7
|
+
"source": "./src/index.tsx",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./lib/typescript/src/index.d.ts",
|
|
11
|
+
"default": "./lib/module/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"src",
|
|
17
|
+
"lib",
|
|
18
|
+
"android",
|
|
19
|
+
"ios",
|
|
20
|
+
"cpp",
|
|
21
|
+
"*.podspec",
|
|
22
|
+
"!ios/build",
|
|
23
|
+
"!android/build",
|
|
24
|
+
"!android/gradle",
|
|
25
|
+
"!android/gradlew",
|
|
26
|
+
"!android/gradlew.bat",
|
|
27
|
+
"!android/local.properties",
|
|
28
|
+
"!**/__tests__",
|
|
29
|
+
"!**/__fixtures__",
|
|
30
|
+
"!**/__mocks__",
|
|
31
|
+
"!**/.*"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"test": "jest",
|
|
35
|
+
"typecheck": "tsc",
|
|
36
|
+
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
37
|
+
"clean": "del-cli lib",
|
|
38
|
+
"prepare": "bob build",
|
|
39
|
+
"release": "release-it",
|
|
40
|
+
"bundle": "yarn prepare && yarn pack --filename zuq-core-1.2.7-local.tgz"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"react-native",
|
|
44
|
+
"ios",
|
|
45
|
+
"android"
|
|
46
|
+
],
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git+https://github.com/marcioaguiar/zuq-app-core.git"
|
|
50
|
+
},
|
|
51
|
+
"author": "Luis <luis.nascimento@edge.ufal.br> (https://github.com/codenads)",
|
|
52
|
+
"license": "MIT",
|
|
53
|
+
"bugs": {
|
|
54
|
+
"url": "https://github.com/marcioaguiar/zuq-app-core/issues"
|
|
55
|
+
},
|
|
56
|
+
"homepage": "https://github.com/marcioaguiar/zuq-app-core#readme",
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"registry": "https://registry.npmjs.org/",
|
|
59
|
+
"access": "public"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
63
|
+
"@eslint/compat": "^1.2.7",
|
|
64
|
+
"@eslint/eslintrc": "^3.3.0",
|
|
65
|
+
"@eslint/js": "^9.22.0",
|
|
66
|
+
"@evilmartians/lefthook": "^1.5.0",
|
|
67
|
+
"@notifee/react-native": "^9.1.8",
|
|
68
|
+
"@react-native-community/netinfo": "^11.4.1",
|
|
69
|
+
"@react-native/babel-preset": "0.78.2",
|
|
70
|
+
"@react-native/eslint-config": "^0.78.0",
|
|
71
|
+
"@release-it/conventional-changelog": "^9.0.2",
|
|
72
|
+
"@tanstack/react-query": "5.90.2",
|
|
73
|
+
"@trivago/prettier-plugin-sort-imports": "4.3.0",
|
|
74
|
+
"@types/date-fns": "^2.6.3",
|
|
75
|
+
"@types/jest": "^29.5.5",
|
|
76
|
+
"@types/lodash": "^4.17.15",
|
|
77
|
+
"@types/react": "^19.0.12",
|
|
78
|
+
"commitlint": "^19.0.12",
|
|
79
|
+
"del-cli": "^5.1.0",
|
|
80
|
+
"eslint": "^9.22.0",
|
|
81
|
+
"eslint-config-prettier": "^10.1.1",
|
|
82
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
83
|
+
"jest": "^29.7.0",
|
|
84
|
+
"prettier": "^3.0.3",
|
|
85
|
+
"react": "19.1.0",
|
|
86
|
+
"react-native": "0.81.4",
|
|
87
|
+
"react-native-blob-util": "^0.22.2",
|
|
88
|
+
"react-native-builder-bob": "^0.40.12",
|
|
89
|
+
"react-native-currency-input": "^1.1.1",
|
|
90
|
+
"react-native-gesture-handler": "^2.28.0",
|
|
91
|
+
"react-native-keyboard-controller": "^1.19.0",
|
|
92
|
+
"react-native-mask-input": "^1.2.3",
|
|
93
|
+
"react-native-mmkv": "4.1.0",
|
|
94
|
+
"react-native-nitro-modules": "0.31.10",
|
|
95
|
+
"react-native-permissions": "5.4.2",
|
|
96
|
+
"react-native-reanimated": "^4.1.2",
|
|
97
|
+
"react-native-safe-area-context": "^5.6.1",
|
|
98
|
+
"react-native-svg": "^15.13.0",
|
|
99
|
+
"react-native-ui-datepicker": "^3.1.2",
|
|
100
|
+
"react-native-uuid": "^2.0.3",
|
|
101
|
+
"react-native-worklets": "^0.6.0",
|
|
102
|
+
"release-it": "^17.10.0",
|
|
103
|
+
"typescript": "^5.8.3"
|
|
104
|
+
},
|
|
105
|
+
"dependencies": {
|
|
106
|
+
"@gorhom/portal": "^1.0.14",
|
|
107
|
+
"@hookform/resolvers": "5.2.2",
|
|
108
|
+
"@shopify/react-native-skia": "2.4.14",
|
|
109
|
+
"@tanstack/react-query": "5.90.12",
|
|
110
|
+
"axios": "1.13.2",
|
|
111
|
+
"date-fns": "4.1.0",
|
|
112
|
+
"lodash": "4.17.21",
|
|
113
|
+
"moment": "2.30.1",
|
|
114
|
+
"react-hook-form": "7.69.0",
|
|
115
|
+
"react-native-error-boundary": "3.1.0",
|
|
116
|
+
"yup": "1.7.1"
|
|
117
|
+
},
|
|
118
|
+
"peerDependencies": {
|
|
119
|
+
"@notifee/react-native": "^9.1.8",
|
|
120
|
+
"@react-native-community/netinfo": "^11.4.1",
|
|
121
|
+
"@shopify/react-native-skia": "*",
|
|
122
|
+
"react": "*",
|
|
123
|
+
"react-native": "*",
|
|
124
|
+
"react-native-blob-util": "*",
|
|
125
|
+
"react-native-currency-input": "^1.1.1",
|
|
126
|
+
"react-native-gesture-handler": "2.30.0",
|
|
127
|
+
"react-native-keyboard-controller": "1.20.3",
|
|
128
|
+
"react-native-mask-input": "^1.2.3",
|
|
129
|
+
"react-native-mmkv": "4.1.0",
|
|
130
|
+
"react-native-nitro-modules": "*",
|
|
131
|
+
"react-native-permissions": "5.4.4",
|
|
132
|
+
"react-native-reanimated": "4.2.1",
|
|
133
|
+
"react-native-safe-area-context": "5.6.2",
|
|
134
|
+
"react-native-svg": "15.15.1",
|
|
135
|
+
"react-native-ui-datepicker": "^3.1.2",
|
|
136
|
+
"react-native-uuid": "^2.0.3",
|
|
137
|
+
"react-native-worklets": "*"
|
|
138
|
+
},
|
|
139
|
+
"workspaces": [
|
|
140
|
+
"example"
|
|
141
|
+
],
|
|
142
|
+
"packageManager": "yarn@3.6.1",
|
|
143
|
+
"jest": {
|
|
144
|
+
"preset": "react-native",
|
|
145
|
+
"modulePathIgnorePatterns": [
|
|
146
|
+
"<rootDir>/lib/"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"commitlint": {
|
|
150
|
+
"extends": [
|
|
151
|
+
"@commitlint/config-conventional"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"release-it": {
|
|
155
|
+
"git": {
|
|
156
|
+
"commitMessage": "chore: release ${version}",
|
|
157
|
+
"tagName": "v${version}"
|
|
158
|
+
},
|
|
159
|
+
"npm": {
|
|
160
|
+
"publish": true
|
|
161
|
+
},
|
|
162
|
+
"github": {
|
|
163
|
+
"release": true
|
|
164
|
+
},
|
|
165
|
+
"plugins": {
|
|
166
|
+
"@release-it/conventional-changelog": {
|
|
167
|
+
"preset": "angular"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"prettier": {
|
|
172
|
+
"quoteProps": "consistent",
|
|
173
|
+
"singleQuote": true,
|
|
174
|
+
"tabWidth": 2,
|
|
175
|
+
"trailingComma": "es5",
|
|
176
|
+
"useTabs": false,
|
|
177
|
+
"importOrder": [
|
|
178
|
+
"react",
|
|
179
|
+
"<THIRD_PARTY_MODULES>",
|
|
180
|
+
"domain",
|
|
181
|
+
"components",
|
|
182
|
+
"^[./]"
|
|
183
|
+
],
|
|
184
|
+
"importOrderSeparation": true,
|
|
185
|
+
"importOrderSortSpecifiers": true
|
|
186
|
+
},
|
|
187
|
+
"react-native-builder-bob": {
|
|
188
|
+
"source": "src",
|
|
189
|
+
"output": "lib",
|
|
190
|
+
"targets": [
|
|
191
|
+
[
|
|
192
|
+
"module",
|
|
193
|
+
{
|
|
194
|
+
"esm": true
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
[
|
|
198
|
+
"typescript",
|
|
199
|
+
{
|
|
200
|
+
"project": "tsconfig.build.json"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
"create-react-native-library": {
|
|
206
|
+
"languages": "js",
|
|
207
|
+
"type": "library",
|
|
208
|
+
"version": "0.51.1"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { HttpClient } from '../protocols';
|
|
2
|
+
|
|
3
|
+
export class HttpClientError<T> extends Error {
|
|
4
|
+
public readonly name = 'HttpClientError';
|
|
5
|
+
public readonly url: string;
|
|
6
|
+
public readonly method: HttpClient.Method;
|
|
7
|
+
public readonly body: T | undefined;
|
|
8
|
+
public readonly response:
|
|
9
|
+
| (Omit<HttpClient.Response<T>, 'statusCode'> & {
|
|
10
|
+
statusCode?: HttpClient.StatusCode;
|
|
11
|
+
})
|
|
12
|
+
| undefined;
|
|
13
|
+
public readonly config: HttpClient.Config | undefined;
|
|
14
|
+
|
|
15
|
+
constructor(error: HttpClient.Error<T>) {
|
|
16
|
+
super(`[HttpClient]: error on ${error.method} with url: ${error.url}`);
|
|
17
|
+
this.url = error.url;
|
|
18
|
+
this.method = error.method;
|
|
19
|
+
this.body = error.body;
|
|
20
|
+
this.response = error.response;
|
|
21
|
+
this.config = error.config;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type RemoteGetCommentListModel = {
|
|
2
|
+
date: number;
|
|
3
|
+
entityId: number;
|
|
4
|
+
entityType: string;
|
|
5
|
+
fileExtension: string | null;
|
|
6
|
+
fileName: string;
|
|
7
|
+
filePath: string;
|
|
8
|
+
id: number;
|
|
9
|
+
main: boolean;
|
|
10
|
+
ownerId: number;
|
|
11
|
+
type: 'COMMENT';
|
|
12
|
+
userId: number;
|
|
13
|
+
userName: string;
|
|
14
|
+
comment: string | null;
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type RemoteGetImageListModel = {
|
|
2
|
+
date: number;
|
|
3
|
+
entityId: number;
|
|
4
|
+
entityType: string;
|
|
5
|
+
fileExtension: string | null;
|
|
6
|
+
fileName: string;
|
|
7
|
+
filePath: string;
|
|
8
|
+
id: number;
|
|
9
|
+
main: boolean;
|
|
10
|
+
ownerId: number;
|
|
11
|
+
type: 'PHOTO';
|
|
12
|
+
userId: number;
|
|
13
|
+
userName: string;
|
|
14
|
+
comment: string | null;
|
|
15
|
+
};
|