@ovok/native 1.10.2 → 1.10.4
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/README.md +5 -5
- package/lib/commonjs/modules/auth/default-translation.js +22 -0
- package/lib/commonjs/modules/auth/default-translation.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-session.js +3 -0
- package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +3 -6
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +1 -0
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +4 -3
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/session/logout-session.js +5 -2
- package/lib/commonjs/modules/auth/session/logout-session.js.map +1 -1
- package/lib/commonjs/modules/auth/session/session-store-refresh.js +125 -0
- package/lib/commonjs/modules/auth/session/session-store-refresh.js.map +1 -0
- package/lib/commonjs/modules/auth/session/session-store-request-state.js +73 -0
- package/lib/commonjs/modules/auth/session/session-store-request-state.js.map +1 -0
- package/lib/commonjs/modules/auth/session/session-store-types.js +17 -0
- package/lib/commonjs/modules/auth/session/session-store-types.js.map +1 -0
- package/lib/commonjs/modules/auth/session/session-store.js +56 -123
- package/lib/commonjs/modules/auth/session/session-store.js.map +1 -1
- package/lib/commonjs/modules/auth/utils/sign-in-error.js +10 -4
- package/lib/commonjs/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +5 -0
- package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
- package/lib/commonjs/modules/bt-management/hooks/declined-device-storage.js +36 -1
- package/lib/commonjs/modules/bt-management/hooks/declined-device-storage.js.map +1 -1
- package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-state.js +25 -0
- package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-state.js.map +1 -0
- package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-types.js +6 -0
- package/lib/commonjs/modules/bt-management/hooks/nearby-device-offer-types.js.map +1 -0
- package/lib/commonjs/modules/bt-management/hooks/use-nearby-device-offer.js +22 -36
- package/lib/commonjs/modules/bt-management/hooks/use-nearby-device-offer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +11 -0
- package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
- package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
- package/lib/commonjs/modules/data-sync/hooks/use-listen-changes.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/apple-health-sync-service.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js +74 -34
- package/lib/commonjs/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +19 -16
- package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +17 -4
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js +219 -16
- package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/health-record-timing.js +52 -0
- package/lib/commonjs/modules/data-sync/utils/health-record-timing.js.map +1 -0
- package/lib/commonjs/modules/data-sync/utils/health-units.js +1 -0
- package/lib/commonjs/modules/data-sync/utils/health-units.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/healthkit-data-types.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/normalize-core-health-observation.js +74 -0
- package/lib/commonjs/modules/data-sync/utils/normalize-core-health-observation.js.map +1 -0
- package/lib/commonjs/modules/picker-sheet/components/value-wheel-picker.js +41 -0
- package/lib/commonjs/modules/picker-sheet/components/value-wheel-picker.js.map +1 -0
- package/lib/commonjs/modules/picker-sheet/components/wheel-picker.js +56 -15
- package/lib/commonjs/modules/picker-sheet/components/wheel-picker.js.map +1 -1
- package/lib/commonjs/modules/picker-sheet/index.js +11 -0
- package/lib/commonjs/modules/picker-sheet/index.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/README.md +59 -20
- package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-item.js +8 -0
- package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-item.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js +8 -0
- package/lib/commonjs/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/fields/common/questionnaire-field-wrapper.js +8 -3
- package/lib/commonjs/modules/questionnaire-response-form/components/fields/common/questionnaire-field-wrapper.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-choice-field.js +9 -3
- package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-choice-field.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +18 -8
- package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js +41 -2
- package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-text-field.js +43 -5
- package/lib/commonjs/modules/questionnaire-response-form/components/fields/questionnaire-text-field.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/header/questionnaire-header-title.js +3 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/header/questionnaire-header-title.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js +37 -11
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form.js +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-navigation-provider.js +9 -3
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-navigation-provider.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/hooks/use-initial-selected-values.js +5 -3
- package/lib/commonjs/modules/questionnaire-response-form/hooks/use-initial-selected-values.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/hooks/use-navigation-handlers.js +15 -4
- package/lib/commonjs/modules/questionnaire-response-form/hooks/use-navigation-handlers.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js +14 -7
- package/lib/commonjs/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/index.js +20 -0
- package/lib/commonjs/modules/questionnaire-response-form/index.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/types/questionnaire-form-values.js +4 -0
- package/lib/commonjs/modules/questionnaire-response-form/types/questionnaire-item-render-props.js +6 -0
- package/lib/commonjs/modules/questionnaire-response-form/types/questionnaire-item-render-props.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/types/response-values.js +4 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/condition-utils.js +37 -6
- package/lib/commonjs/modules/questionnaire-response-form/utils/condition-utils.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/fhir-condition.js +148 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/conditions/fhir-condition.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/create-answer-from-value.js +127 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/create-answer-from-value.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/fields/get-option-text.js +4 -3
- package/lib/commonjs/modules/questionnaire-response-form/utils/fields/get-option-text.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/utils/form-utils.js +71 -64
- package/lib/commonjs/modules/questionnaire-response-form/utils/form-utils.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/utils/form-validation.js +23 -5
- package/lib/commonjs/modules/questionnaire-response-form/utils/form-validation.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js +10 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/is-valid-questionnaire-answer.js +83 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/is-valid-questionnaire-answer.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-date-utils.js +54 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-date-utils.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-item-constraints.js +75 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-item-constraints.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-item-value-constraint-validators.js +63 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-item-value-constraint-validators.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js +49 -18
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-picker-options.js +117 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-picker-options.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js +109 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +2 -2
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/utils/translate-fhir-text.js +36 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/translate-fhir-text.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/validate-questionnaire-item-value.js +49 -0
- package/lib/commonjs/modules/questionnaire-response-form/utils/validate-questionnaire-item-value.js.map +1 -0
- package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js +31 -15
- package/lib/commonjs/modules/ui/components/bluetooth-state-notice.js.map +1 -1
- package/lib/commonjs/modules/ui/components/prerequisite-gate.js +73 -0
- package/lib/commonjs/modules/ui/components/prerequisite-gate.js.map +1 -0
- package/lib/commonjs/modules/ui/default-translation.js +50 -0
- package/lib/commonjs/modules/ui/default-translation.js.map +1 -0
- package/lib/commonjs/modules/ui/index.js +11 -0
- package/lib/commonjs/modules/ui/index.js.map +1 -1
- package/lib/commonjs/polyfills/index.js +9 -7
- package/lib/commonjs/polyfills/index.js.map +1 -1
- package/lib/module/modules/auth/default-translation.js +22 -0
- package/lib/module/modules/auth/default-translation.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-session.js +3 -0
- package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
- package/lib/module/modules/auth/profile/components/profile-form-provider.js +3 -6
- package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/module/modules/auth/register/components/form/register-form-provider.js +1 -0
- package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/module/modules/auth/session/logout-session.js +5 -2
- package/lib/module/modules/auth/session/logout-session.js.map +1 -1
- package/lib/module/modules/auth/session/session-store-refresh.js +121 -0
- package/lib/module/modules/auth/session/session-store-refresh.js.map +1 -0
- package/lib/module/modules/auth/session/session-store-request-state.js +69 -0
- package/lib/module/modules/auth/session/session-store-request-state.js.map +1 -0
- package/lib/module/modules/auth/session/session-store-types.js +13 -0
- package/lib/module/modules/auth/session/session-store-types.js.map +1 -0
- package/lib/module/modules/auth/session/session-store.js +56 -123
- package/lib/module/modules/auth/session/session-store.js.map +1 -1
- package/lib/module/modules/auth/utils/sign-in-error.js +9 -4
- package/lib/module/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +5 -0
- package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
- package/lib/module/modules/bt-management/hooks/declined-device-storage.js +33 -1
- package/lib/module/modules/bt-management/hooks/declined-device-storage.js.map +1 -1
- package/lib/module/modules/bt-management/hooks/nearby-device-offer-state.js +20 -0
- package/lib/module/modules/bt-management/hooks/nearby-device-offer-state.js.map +1 -0
- package/lib/module/modules/bt-management/hooks/nearby-device-offer-types.js +4 -0
- package/lib/module/modules/bt-management/hooks/nearby-device-offer-types.js.map +1 -0
- package/lib/module/modules/bt-management/hooks/use-nearby-device-offer.js +21 -35
- package/lib/module/modules/bt-management/hooks/use-nearby-device-offer.js.map +1 -1
- package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +11 -0
- package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
- package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
- package/lib/module/modules/data-sync/hooks/use-listen-changes.js.map +1 -1
- package/lib/module/modules/data-sync/services/apple-health-sync-service.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-generic-health-data.js +74 -34
- package/lib/module/modules/data-sync/utils/convert-generic-health-data.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +19 -16
- package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +17 -4
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
- package/lib/module/modules/data-sync/utils/health-data-catalog.js +219 -16
- package/lib/module/modules/data-sync/utils/health-data-catalog.js.map +1 -1
- package/lib/module/modules/data-sync/utils/health-record-timing.js +47 -0
- package/lib/module/modules/data-sync/utils/health-record-timing.js.map +1 -0
- package/lib/module/modules/data-sync/utils/health-units.js +1 -0
- package/lib/module/modules/data-sync/utils/health-units.js.map +1 -1
- package/lib/module/modules/data-sync/utils/healthkit-data-types.js.map +1 -1
- package/lib/module/modules/data-sync/utils/normalize-core-health-observation.js +69 -0
- package/lib/module/modules/data-sync/utils/normalize-core-health-observation.js.map +1 -0
- package/lib/module/modules/picker-sheet/components/value-wheel-picker.js +36 -0
- package/lib/module/modules/picker-sheet/components/value-wheel-picker.js.map +1 -0
- package/lib/module/modules/picker-sheet/components/wheel-picker.js +56 -15
- package/lib/module/modules/picker-sheet/components/wheel-picker.js.map +1 -1
- package/lib/module/modules/picker-sheet/index.js +1 -0
- package/lib/module/modules/picker-sheet/index.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/README.md +59 -20
- package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-item.js +8 -0
- package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-item.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js +8 -0
- package/lib/module/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/components/fields/common/questionnaire-field-wrapper.js +8 -3
- package/lib/module/modules/questionnaire-response-form/components/fields/common/questionnaire-field-wrapper.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-choice-field.js +9 -3
- package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-choice-field.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js +18 -8
- package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-date-field.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js +42 -3
- package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-text-field.js +41 -3
- package/lib/module/modules/questionnaire-response-form/components/fields/questionnaire-text-field.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/components/header/questionnaire-header-title.js +3 -1
- package/lib/module/modules/questionnaire-response-form/components/header/questionnaire-header-title.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js +37 -11
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form.js +1 -0
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-navigation-provider.js +9 -3
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-navigation-provider.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/hooks/use-initial-selected-values.js +5 -3
- package/lib/module/modules/questionnaire-response-form/hooks/use-initial-selected-values.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/hooks/use-navigation-handlers.js +15 -4
- package/lib/module/modules/questionnaire-response-form/hooks/use-navigation-handlers.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js +14 -7
- package/lib/module/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/index.js +2 -0
- package/lib/module/modules/questionnaire-response-form/index.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/types/questionnaire-form-values.js +2 -0
- package/lib/module/modules/questionnaire-response-form/types/questionnaire-item-render-props.js +4 -0
- package/lib/module/modules/questionnaire-response-form/types/questionnaire-item-render-props.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/types/response-values.js +2 -0
- package/lib/module/modules/questionnaire-response-form/utils/condition-utils.js +37 -6
- package/lib/module/modules/questionnaire-response-form/utils/condition-utils.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/utils/conditions/fhir-condition.js +140 -0
- package/lib/module/modules/questionnaire-response-form/utils/conditions/fhir-condition.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/utils/create-answer-from-value.js +122 -0
- package/lib/module/modules/questionnaire-response-form/utils/create-answer-from-value.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/utils/fields/get-option-text.js +4 -3
- package/lib/module/modules/questionnaire-response-form/utils/fields/get-option-text.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/utils/form-utils.js +71 -64
- package/lib/module/modules/questionnaire-response-form/utils/form-utils.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/utils/form-validation.js +23 -5
- package/lib/module/modules/questionnaire-response-form/utils/form-validation.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js +5 -0
- package/lib/module/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/utils/is-valid-questionnaire-answer.js +77 -0
- package/lib/module/modules/questionnaire-response-form/utils/is-valid-questionnaire-answer.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-date-utils.js +49 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-date-utils.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-item-constraints.js +71 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-item-constraints.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-item-value-constraint-validators.js +57 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-item-value-constraint-validators.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js +49 -18
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-picker-options.js +112 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-picker-options.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js +105 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +2 -2
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/utils/translate-fhir-text.js +31 -0
- package/lib/module/modules/questionnaire-response-form/utils/translate-fhir-text.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/utils/validate-questionnaire-item-value.js +44 -0
- package/lib/module/modules/questionnaire-response-form/utils/validate-questionnaire-item-value.js.map +1 -0
- package/lib/module/modules/ui/components/bluetooth-state-notice.js +31 -15
- package/lib/module/modules/ui/components/bluetooth-state-notice.js.map +1 -1
- package/lib/module/modules/ui/components/prerequisite-gate.js +67 -0
- package/lib/module/modules/ui/components/prerequisite-gate.js.map +1 -0
- package/lib/module/modules/ui/default-translation.js +45 -0
- package/lib/module/modules/ui/default-translation.js.map +1 -0
- package/lib/module/modules/ui/index.js +1 -0
- package/lib/module/modules/ui/index.js.map +1 -1
- package/lib/module/polyfills/index.js +11 -1
- package/lib/module/polyfills/index.js.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts +22 -0
- package/lib/typescript/commonjs/src/modules/auth/default-translation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts +4 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts +23 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts +33 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts +1 -18
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts +4 -2
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/declined-device-storage.d.ts +10 -1
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/declined-device-storage.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts +6 -14
- package/lib/typescript/commonjs/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-listen-changes.d.ts +2 -3
- package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-listen-changes.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/apple-health-sync-service.d.ts +4 -5
- package/lib/typescript/commonjs/src/modules/data-sync/services/apple-health-sync-service.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts +4 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-sync-props.d.ts +7 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-sync-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-generic-health-data.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts +5 -4
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-data-catalog.d.ts +5 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-record-timing.d.ts +10 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-record-timing.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-data-types.d.ts +6 -5
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-data-types.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/normalize-core-health-observation.d.ts +13 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/normalize-core-health-observation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/picker-sheet/components/value-wheel-picker.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/picker-sheet/components/value-wheel-picker.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/picker-sheet/components/wheel-picker.d.ts +7 -3
- package/lib/typescript/commonjs/src/modules/picker-sheet/components/wheel-picker.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/picker-sheet/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/picker-sheet/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content-item.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/common/questionnaire-field-wrapper.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-choice-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-date-field.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-date-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.d.ts +9 -3
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-text-field.d.ts +5 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/fields/questionnaire-text-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/header/questionnaire-header-title.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-navigation-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-initial-selected-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-navigation-handlers.d.ts +6 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-navigation-handlers.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/index.d.ts +4 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/extended-questionnaire-item.d.ts +7 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/extended-questionnaire-item.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-form-context-type.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-form-context-type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-form-props.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-form-provider-props.d.ts +11 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-form-provider-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-form-values.d.ts +5 -2
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-form-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-item-render-props.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-item-render-props.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-navigation-provider-props.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/questionnaire-navigation-provider-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/response-values.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/types/response-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/condition-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/fhir-condition.d.ts +9 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/conditions/fhir-condition.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/create-answer-from-value.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/create-answer-from-value.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/fields/get-option-text.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/fields/get-option-text.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/form-utils.d.ts +4 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/form-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/form-validation.d.ts +4 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/form-validation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/is-valid-questionnaire-answer.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/is-valid-questionnaire-answer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-item-constraints.d.ts +22 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-item-constraints.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-item-value-constraint-validators.d.ts +10 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-item-value-constraint-validators.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.d.ts +2 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-picker-options.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-picker-options.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/translate-fhir-text.d.ts +4 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/translate-fhir-text.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/validate-questionnaire-item-value.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/validate-questionnaire-item-value.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts +8 -5
- package/lib/typescript/commonjs/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/prerequisite-gate.d.ts +19 -0
- package/lib/typescript/commonjs/src/modules/ui/components/prerequisite-gate.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/ui/default-translation.d.ts +30 -0
- package/lib/typescript/commonjs/src/modules/ui/default-translation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/ui/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/polyfills/index.d.ts +7 -1
- package/lib/typescript/commonjs/src/polyfills/index.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/default-translation.d.ts +22 -0
- package/lib/typescript/module/src/modules/auth/default-translation.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts +4 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/reset-password/components/form/reset-password-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts +8 -0
- package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts +23 -0
- package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts +33 -0
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts +1 -18
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts +4 -2
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/hooks/declined-device-storage.d.ts +10 -1
- package/lib/typescript/module/src/modules/bt-management/hooks/declined-device-storage.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts +6 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-state.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts +15 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/nearby-device-offer-types.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts +6 -14
- package/lib/typescript/module/src/modules/bt-management/hooks/use-nearby-device-offer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts +7 -0
- package/lib/typescript/module/src/modules/bt-management/types/background-sync.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/hooks/use-listen-changes.d.ts +2 -3
- package/lib/typescript/module/src/modules/data-sync/hooks/use-listen-changes.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/apple-health-sync-service.d.ts +4 -5
- package/lib/typescript/module/src/modules/data-sync/services/apple-health-sync-service.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts +4 -2
- package/lib/typescript/module/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/apple-health-sync-props.d.ts +7 -1
- package/lib/typescript/module/src/modules/data-sync/types/apple-health-sync-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts +2 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/convert-generic-health-data.d.ts +3 -2
- package/lib/typescript/module/src/modules/data-sync/utils/convert-generic-health-data.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts +5 -4
- package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/health-data-catalog.d.ts +5 -1
- package/lib/typescript/module/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/health-record-timing.d.ts +10 -0
- package/lib/typescript/module/src/modules/data-sync/utils/health-record-timing.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-data-types.d.ts +6 -5
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-data-types.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/normalize-core-health-observation.d.ts +13 -0
- package/lib/typescript/module/src/modules/data-sync/utils/normalize-core-health-observation.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/picker-sheet/components/value-wheel-picker.d.ts +21 -0
- package/lib/typescript/module/src/modules/picker-sheet/components/value-wheel-picker.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/picker-sheet/components/wheel-picker.d.ts +7 -3
- package/lib/typescript/module/src/modules/picker-sheet/components/wheel-picker.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/picker-sheet/index.d.ts +1 -0
- package/lib/typescript/module/src/modules/picker-sheet/index.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content-item.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/common/questionnaire-field-wrapper.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-choice-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-date-field.d.ts +3 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-date-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.d.ts +9 -3
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-text-field.d.ts +5 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/fields/questionnaire-text-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/header/questionnaire-header-title.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-navigation-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-initial-selected-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-navigation-handlers.d.ts +6 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-navigation-handlers.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.d.ts +2 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/index.d.ts +4 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/index.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/extended-questionnaire-item.d.ts +7 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/extended-questionnaire-item.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-form-context-type.d.ts +6 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-form-context-type.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-form-props.d.ts +3 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-form-provider-props.d.ts +11 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-form-provider-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-form-values.d.ts +5 -2
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-form-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-item-render-props.d.ts +15 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-item-render-props.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-navigation-provider-props.d.ts +5 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/questionnaire-navigation-provider-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/response-values.d.ts +2 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/types/response-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/condition-utils.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/fhir-condition.d.ts +9 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/conditions/fhir-condition.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/create-answer-from-value.d.ts +7 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/create-answer-from-value.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/fields/get-option-text.d.ts +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/fields/get-option-text.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/form-utils.d.ts +4 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/form-utils.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/form-validation.d.ts +4 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/form-validation.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts +3 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/is-answerable-questionnaire-item.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/is-valid-questionnaire-answer.d.ts +8 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/is-valid-questionnaire-answer.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts +5 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-date-utils.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-item-constraints.d.ts +22 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-item-constraints.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-item-value-constraint-validators.d.ts +10 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-item-value-constraint-validators.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.d.ts +2 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-navigation-utils.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-picker-options.d.ts +15 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-picker-options.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.d.ts +5 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-string-constraint-validator.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +3 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/translate-fhir-text.d.ts +4 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/translate-fhir-text.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/validate-questionnaire-item-value.d.ts +6 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/validate-questionnaire-item-value.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts +8 -5
- package/lib/typescript/module/src/modules/ui/components/bluetooth-state-notice.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/prerequisite-gate.d.ts +19 -0
- package/lib/typescript/module/src/modules/ui/components/prerequisite-gate.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/ui/default-translation.d.ts +30 -0
- package/lib/typescript/module/src/modules/ui/default-translation.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/ui/index.d.ts +1 -0
- package/lib/typescript/module/src/modules/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/src/polyfills/index.d.ts +7 -1
- package/lib/typescript/module/src/polyfills/index.d.ts.map +1 -1
- package/package.json +5 -8
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HKCorrelationTypeIdentifier, HKCategoryTypeIdentifier, HKQuantityTypeIdentifier,
|
|
1
|
+
import { HKCorrelationTypeIdentifier, HKCategoryTypeIdentifier, HKQuantityTypeIdentifier, UnitOfEnergy } from "@kingstinct/react-native-healthkit";
|
|
2
|
+
import { AppleHealthDataTypeIdentifier } from "../types/apple-health-sync-props";
|
|
2
3
|
import { GetDataFromProviderProps } from "../types/get-data-from-provider-props";
|
|
3
4
|
import { AggregatedHealthData } from "../types/health-data";
|
|
4
|
-
declare const getSamplesFromHealth: ({ startDate: _startDate, typeIdentifier, anchor, chunkSize, mode, }: GetDataFromProviderProps<
|
|
5
|
+
declare const getSamplesFromHealth: ({ startDate: _startDate, typeIdentifier, anchor, chunkSize, mode, }: GetDataFromProviderProps<AppleHealthDataTypeIdentifier>) => Promise<{
|
|
5
6
|
data: AggregatedHealthData[];
|
|
6
7
|
anchor: undefined;
|
|
7
8
|
} | {
|
|
@@ -58,14 +59,14 @@ declare const getSamplesFromHealth: ({ startDate: _startDate, typeIdentifier, an
|
|
|
58
59
|
anchor: string;
|
|
59
60
|
} | undefined;
|
|
60
61
|
deletedRecordIds: string[];
|
|
61
|
-
data: import("@kingstinct/react-native-healthkit").HKQuantitySample<HKQuantityTypeIdentifier, "mmHg" | "kg" | "mg/dL" | "%" | "ms" | "min" | "s" | "count" | "
|
|
62
|
+
data: import("@kingstinct/react-native-healthkit").HKQuantitySample<HKQuantityTypeIdentifier, "mmHg" | "kg" | "mg/dL" | "%" | "ms" | "min" | "s" | "count" | "cal" | "g" | "kcal" | "km" | "m" | "mg" | "count/min" | "degC" | import("@kingstinct/react-native-healthkit").BloodGlucoseUnit | "ps" | "ns" | "mcs" | "cs" | "ds" | "das" | "hs" | "ks" | "Ms" | "Gs" | "Ts" | "fs" | import("@kingstinct/react-native-healthkit").UnitOfTime | "count/ms" | "count/s" | "count/ps" | "count/ns" | "count/mcs" | "count/cs" | "count/ds" | "count/das" | "count/hs" | "count/ks" | "count/Ms" | "count/Gs" | "count/Ts" | "count/fs" | "count/d" | "count/hr" | "J" | "pJ" | "nJ" | "mcJ" | "mJ" | "cJ" | "dJ" | "daJ" | "hJ" | "kJ" | "MJ" | "GJ" | "TJ" | "fJ" | UnitOfEnergy | "Hz" | "pHz" | "nHz" | "mcHz" | "mHz" | "cHz" | "dHz" | "daHz" | "hHz" | "kHz" | "MHz" | "GHz" | "THz" | "fHz" | import("@kingstinct/react-native-healthkit").HKUnits | "pm" | "nm" | "mcm" | "mm" | "cm" | "dm" | "dam" | "hm" | "Mm" | "Gm" | "Tm" | "fm" | import("@kingstinct/react-native-healthkit").UnitOfLength | "pg" | "ng" | "mcg" | "cg" | "dg" | "dag" | "hg" | "Mg" | "Gg" | "Tg" | "fg" | import("@kingstinct/react-native-healthkit").UnitOfMass | "Pa" | "pPa" | "nPa" | "mcPa" | "mPa" | "cPa" | "dPa" | "daPa" | "hPa" | "kPa" | "MPa" | "GPa" | "TPa" | "fPa" | import("@kingstinct/react-native-healthkit").UnitOfPressure | "km/ms" | "km/s" | "km/ps" | "km/ns" | "km/mcs" | "km/cs" | "km/ds" | "km/das" | "km/hs" | "km/ks" | "km/Ms" | "km/Gs" | "km/Ts" | "km/fs" | "km/d" | "km/min" | "km/hr" | "m/ms" | "m/s" | "m/ps" | "m/ns" | "m/mcs" | "m/cs" | "m/ds" | "m/das" | "m/hs" | "m/ks" | "m/Ms" | "m/Gs" | "m/Ts" | "m/fs" | "m/d" | "m/min" | "m/hr" | "pm/ms" | "pm/s" | "pm/ps" | "pm/ns" | "pm/mcs" | "pm/cs" | "pm/ds" | "pm/das" | "pm/hs" | "pm/ks" | "pm/Ms" | "pm/Gs" | "pm/Ts" | "pm/fs" | "pm/d" | "pm/min" | "pm/hr" | "nm/ms" | "nm/s" | "nm/ps" | "nm/ns" | "nm/mcs" | "nm/cs" | "nm/ds" | "nm/das" | "nm/hs" | "nm/ks" | "nm/Ms" | "nm/Gs" | "nm/Ts" | "nm/fs" | "nm/d" | "nm/min" | "nm/hr" | "mcm/ms" | "mcm/s" | "mcm/ps" | "mcm/ns" | "mcm/mcs" | "mcm/cs" | "mcm/ds" | "mcm/das" | "mcm/hs" | "mcm/ks" | "mcm/Ms" | "mcm/Gs" | "mcm/Ts" | "mcm/fs" | "mcm/d" | "mcm/min" | "mcm/hr" | "mm/ms" | "mm/s" | "mm/ps" | "mm/ns" | "mm/mcs" | "mm/cs" | "mm/ds" | "mm/das" | "mm/hs" | "mm/ks" | "mm/Ms" | "mm/Gs" | "mm/Ts" | "mm/fs" | "mm/d" | "mm/min" | "mm/hr" | "cm/ms" | "cm/s" | "cm/ps" | "cm/ns" | "cm/mcs" | "cm/cs" | "cm/ds" | "cm/das" | "cm/hs" | "cm/ks" | "cm/Ms" | "cm/Gs" | "cm/Ts" | "cm/fs" | "cm/d" | "cm/min" | "cm/hr" | "dm/ms" | "dm/s" | "dm/ps" | "dm/ns" | "dm/mcs" | "dm/cs" | "dm/ds" | "dm/das" | "dm/hs" | "dm/ks" | "dm/Ms" | "dm/Gs" | "dm/Ts" | "dm/fs" | "dm/d" | "dm/min" | "dm/hr" | "dam/ms" | "dam/s" | "dam/ps" | "dam/ns" | "dam/mcs" | "dam/cs" | "dam/ds" | "dam/das" | "dam/hs" | "dam/ks" | "dam/Ms" | "dam/Gs" | "dam/Ts" | "dam/fs" | "dam/d" | "dam/min" | "dam/hr" | "hm/ms" | "hm/s" | "hm/ps" | "hm/ns" | "hm/mcs" | "hm/cs" | "hm/ds" | "hm/das" | "hm/hs" | "hm/ks" | "hm/Ms" | "hm/Gs" | "hm/Ts" | "hm/fs" | "hm/d" | "hm/min" | "hm/hr" | "Mm/ms" | "Mm/s" | "Mm/ps" | "Mm/ns" | "Mm/mcs" | "Mm/cs" | "Mm/ds" | "Mm/das" | "Mm/hs" | "Mm/ks" | "Mm/Ms" | "Mm/Gs" | "Mm/Ts" | "Mm/fs" | "Mm/d" | "Mm/min" | "Mm/hr" | "Gm/ms" | "Gm/s" | "Gm/ps" | "Gm/ns" | "Gm/mcs" | "Gm/cs" | "Gm/ds" | "Gm/das" | "Gm/hs" | "Gm/ks" | "Gm/Ms" | "Gm/Gs" | "Gm/Ts" | "Gm/fs" | "Gm/d" | "Gm/min" | "Gm/hr" | "Tm/ms" | "Tm/s" | "Tm/ps" | "Tm/ns" | "Tm/mcs" | "Tm/cs" | "Tm/ds" | "Tm/das" | "Tm/hs" | "Tm/ks" | "Tm/Ms" | "Tm/Gs" | "Tm/Ts" | "Tm/fs" | "Tm/d" | "Tm/min" | "Tm/hr" | "fm/ms" | "fm/s" | "fm/ps" | "fm/ns" | "fm/mcs" | "fm/cs" | "fm/ds" | "fm/das" | "fm/hs" | "fm/ks" | "fm/Ms" | "fm/Gs" | "fm/Ts" | "fm/fs" | "fm/d" | "fm/min" | "fm/hr" | "ft/ms" | "ft/s" | "ft/ps" | "ft/ns" | "ft/mcs" | "ft/cs" | "ft/ds" | "ft/das" | "ft/hs" | "ft/ks" | "ft/Ms" | "ft/Gs" | "ft/Ts" | "ft/fs" | "ft/d" | "ft/min" | "ft/hr" | "in/ms" | "in/s" | "in/ps" | "in/ns" | "in/mcs" | "in/cs" | "in/ds" | "in/das" | "in/hs" | "in/ks" | "in/Ms" | "in/Gs" | "in/Ts" | "in/fs" | "in/d" | "in/min" | "in/hr" | "yd/ms" | "yd/s" | "yd/ps" | "yd/ns" | "yd/mcs" | "yd/cs" | "yd/ds" | "yd/das" | "yd/hs" | "yd/ks" | "yd/Ms" | "yd/Gs" | "yd/Ts" | "yd/fs" | "yd/d" | "yd/min" | "yd/hr" | "mi/ms" | "mi/s" | "mi/ps" | "mi/ns" | "mi/mcs" | "mi/cs" | "mi/ds" | "mi/das" | "mi/hs" | "mi/ks" | "mi/Ms" | "mi/Gs" | "mi/Ts" | "mi/fs" | "mi/d" | "mi/min" | "mi/hr" | import("@kingstinct/react-native-healthkit").TemperatureUnit | "l" | "pl" | "nl" | "mcl" | "ml" | "cl" | "dl" | "dal" | "hl" | "kl" | "Ml" | "Gl" | "Tl" | "fl" | import("@kingstinct/react-native-healthkit").UnitOfVolume | "mmol<180.15588000005408>/l" | "Cal" | "dBHL" | "dBASPL" | "IU" | "appleEffortScore" | "ft" | "in" | "yd" | "mi" | "oz" | "st" | "lb" | "atm" | "cmAq" | "inHg" | "degF" | "K" | "d" | "hr" | "cup_imp" | "fl_oz_imp" | "pt_imp" | "cup_us" | "fl_oz_us" | "pt_us">[];
|
|
62
63
|
} | {
|
|
63
64
|
anchor: {
|
|
64
65
|
typeIdentifier: HKQuantityTypeIdentifier;
|
|
65
66
|
anchor: string;
|
|
66
67
|
} | undefined;
|
|
67
68
|
deletedRecordIds?: undefined;
|
|
68
|
-
data: import("@kingstinct/react-native-healthkit").HKQuantitySample<HKQuantityTypeIdentifier, "mmHg" | "kg" | "mg/dL" | "%" | "ms" | "min" | "s" | "count" | "
|
|
69
|
+
data: import("@kingstinct/react-native-healthkit").HKQuantitySample<HKQuantityTypeIdentifier, "mmHg" | "kg" | "mg/dL" | "%" | "ms" | "min" | "s" | "count" | "cal" | "g" | "kcal" | "km" | "m" | "mg" | "count/min" | "degC" | import("@kingstinct/react-native-healthkit").BloodGlucoseUnit | "ps" | "ns" | "mcs" | "cs" | "ds" | "das" | "hs" | "ks" | "Ms" | "Gs" | "Ts" | "fs" | import("@kingstinct/react-native-healthkit").UnitOfTime | "count/ms" | "count/s" | "count/ps" | "count/ns" | "count/mcs" | "count/cs" | "count/ds" | "count/das" | "count/hs" | "count/ks" | "count/Ms" | "count/Gs" | "count/Ts" | "count/fs" | "count/d" | "count/hr" | "J" | "pJ" | "nJ" | "mcJ" | "mJ" | "cJ" | "dJ" | "daJ" | "hJ" | "kJ" | "MJ" | "GJ" | "TJ" | "fJ" | UnitOfEnergy | "Hz" | "pHz" | "nHz" | "mcHz" | "mHz" | "cHz" | "dHz" | "daHz" | "hHz" | "kHz" | "MHz" | "GHz" | "THz" | "fHz" | import("@kingstinct/react-native-healthkit").HKUnits | "pm" | "nm" | "mcm" | "mm" | "cm" | "dm" | "dam" | "hm" | "Mm" | "Gm" | "Tm" | "fm" | import("@kingstinct/react-native-healthkit").UnitOfLength | "pg" | "ng" | "mcg" | "cg" | "dg" | "dag" | "hg" | "Mg" | "Gg" | "Tg" | "fg" | import("@kingstinct/react-native-healthkit").UnitOfMass | "Pa" | "pPa" | "nPa" | "mcPa" | "mPa" | "cPa" | "dPa" | "daPa" | "hPa" | "kPa" | "MPa" | "GPa" | "TPa" | "fPa" | import("@kingstinct/react-native-healthkit").UnitOfPressure | "km/ms" | "km/s" | "km/ps" | "km/ns" | "km/mcs" | "km/cs" | "km/ds" | "km/das" | "km/hs" | "km/ks" | "km/Ms" | "km/Gs" | "km/Ts" | "km/fs" | "km/d" | "km/min" | "km/hr" | "m/ms" | "m/s" | "m/ps" | "m/ns" | "m/mcs" | "m/cs" | "m/ds" | "m/das" | "m/hs" | "m/ks" | "m/Ms" | "m/Gs" | "m/Ts" | "m/fs" | "m/d" | "m/min" | "m/hr" | "pm/ms" | "pm/s" | "pm/ps" | "pm/ns" | "pm/mcs" | "pm/cs" | "pm/ds" | "pm/das" | "pm/hs" | "pm/ks" | "pm/Ms" | "pm/Gs" | "pm/Ts" | "pm/fs" | "pm/d" | "pm/min" | "pm/hr" | "nm/ms" | "nm/s" | "nm/ps" | "nm/ns" | "nm/mcs" | "nm/cs" | "nm/ds" | "nm/das" | "nm/hs" | "nm/ks" | "nm/Ms" | "nm/Gs" | "nm/Ts" | "nm/fs" | "nm/d" | "nm/min" | "nm/hr" | "mcm/ms" | "mcm/s" | "mcm/ps" | "mcm/ns" | "mcm/mcs" | "mcm/cs" | "mcm/ds" | "mcm/das" | "mcm/hs" | "mcm/ks" | "mcm/Ms" | "mcm/Gs" | "mcm/Ts" | "mcm/fs" | "mcm/d" | "mcm/min" | "mcm/hr" | "mm/ms" | "mm/s" | "mm/ps" | "mm/ns" | "mm/mcs" | "mm/cs" | "mm/ds" | "mm/das" | "mm/hs" | "mm/ks" | "mm/Ms" | "mm/Gs" | "mm/Ts" | "mm/fs" | "mm/d" | "mm/min" | "mm/hr" | "cm/ms" | "cm/s" | "cm/ps" | "cm/ns" | "cm/mcs" | "cm/cs" | "cm/ds" | "cm/das" | "cm/hs" | "cm/ks" | "cm/Ms" | "cm/Gs" | "cm/Ts" | "cm/fs" | "cm/d" | "cm/min" | "cm/hr" | "dm/ms" | "dm/s" | "dm/ps" | "dm/ns" | "dm/mcs" | "dm/cs" | "dm/ds" | "dm/das" | "dm/hs" | "dm/ks" | "dm/Ms" | "dm/Gs" | "dm/Ts" | "dm/fs" | "dm/d" | "dm/min" | "dm/hr" | "dam/ms" | "dam/s" | "dam/ps" | "dam/ns" | "dam/mcs" | "dam/cs" | "dam/ds" | "dam/das" | "dam/hs" | "dam/ks" | "dam/Ms" | "dam/Gs" | "dam/Ts" | "dam/fs" | "dam/d" | "dam/min" | "dam/hr" | "hm/ms" | "hm/s" | "hm/ps" | "hm/ns" | "hm/mcs" | "hm/cs" | "hm/ds" | "hm/das" | "hm/hs" | "hm/ks" | "hm/Ms" | "hm/Gs" | "hm/Ts" | "hm/fs" | "hm/d" | "hm/min" | "hm/hr" | "Mm/ms" | "Mm/s" | "Mm/ps" | "Mm/ns" | "Mm/mcs" | "Mm/cs" | "Mm/ds" | "Mm/das" | "Mm/hs" | "Mm/ks" | "Mm/Ms" | "Mm/Gs" | "Mm/Ts" | "Mm/fs" | "Mm/d" | "Mm/min" | "Mm/hr" | "Gm/ms" | "Gm/s" | "Gm/ps" | "Gm/ns" | "Gm/mcs" | "Gm/cs" | "Gm/ds" | "Gm/das" | "Gm/hs" | "Gm/ks" | "Gm/Ms" | "Gm/Gs" | "Gm/Ts" | "Gm/fs" | "Gm/d" | "Gm/min" | "Gm/hr" | "Tm/ms" | "Tm/s" | "Tm/ps" | "Tm/ns" | "Tm/mcs" | "Tm/cs" | "Tm/ds" | "Tm/das" | "Tm/hs" | "Tm/ks" | "Tm/Ms" | "Tm/Gs" | "Tm/Ts" | "Tm/fs" | "Tm/d" | "Tm/min" | "Tm/hr" | "fm/ms" | "fm/s" | "fm/ps" | "fm/ns" | "fm/mcs" | "fm/cs" | "fm/ds" | "fm/das" | "fm/hs" | "fm/ks" | "fm/Ms" | "fm/Gs" | "fm/Ts" | "fm/fs" | "fm/d" | "fm/min" | "fm/hr" | "ft/ms" | "ft/s" | "ft/ps" | "ft/ns" | "ft/mcs" | "ft/cs" | "ft/ds" | "ft/das" | "ft/hs" | "ft/ks" | "ft/Ms" | "ft/Gs" | "ft/Ts" | "ft/fs" | "ft/d" | "ft/min" | "ft/hr" | "in/ms" | "in/s" | "in/ps" | "in/ns" | "in/mcs" | "in/cs" | "in/ds" | "in/das" | "in/hs" | "in/ks" | "in/Ms" | "in/Gs" | "in/Ts" | "in/fs" | "in/d" | "in/min" | "in/hr" | "yd/ms" | "yd/s" | "yd/ps" | "yd/ns" | "yd/mcs" | "yd/cs" | "yd/ds" | "yd/das" | "yd/hs" | "yd/ks" | "yd/Ms" | "yd/Gs" | "yd/Ts" | "yd/fs" | "yd/d" | "yd/min" | "yd/hr" | "mi/ms" | "mi/s" | "mi/ps" | "mi/ns" | "mi/mcs" | "mi/cs" | "mi/ds" | "mi/das" | "mi/hs" | "mi/ks" | "mi/Ms" | "mi/Gs" | "mi/Ts" | "mi/fs" | "mi/d" | "mi/min" | "mi/hr" | import("@kingstinct/react-native-healthkit").TemperatureUnit | "l" | "pl" | "nl" | "mcl" | "ml" | "cl" | "dl" | "dal" | "hl" | "kl" | "Ml" | "Gl" | "Tl" | "fl" | import("@kingstinct/react-native-healthkit").UnitOfVolume | "mmol<180.15588000005408>/l" | "Cal" | "dBHL" | "dBASPL" | "IU" | "appleEffortScore" | "ft" | "in" | "yd" | "mi" | "oz" | "st" | "lb" | "atm" | "cmAq" | "inHg" | "degF" | "K" | "d" | "hr" | "cup_imp" | "fl_oz_imp" | "pt_imp" | "cup_us" | "fl_oz_us" | "pt_us">[];
|
|
69
70
|
}>;
|
|
70
71
|
export { getSamplesFromHealth };
|
|
71
72
|
//# sourceMappingURL=get-samples-from-health.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-samples-from-health.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-samples-from-health.ts"],"names":[],"mappings":"AAAA,OAAkB,EAChB,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"get-samples-from-health.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-samples-from-health.ts"],"names":[],"mappings":"AAAA,OAAkB,EAChB,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EAGxB,YAAY,EACb,MAAM,oCAAoC,CAAC;AAI5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAY5D,QAAA,MAAM,oBAAoB,GAAU,qEAMjC,wBAAwB,CAAC,6BAA6B,CAAC;UAmJvC,oBAAoB,EAAE;YAAU,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAb3D,CAAC;AAwEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AppleHealthDataTypeIdentifier } from "../types/apple-health-sync-props";
|
|
2
2
|
import { GetTotalCountProps } from "../types/get-total-count-props";
|
|
3
|
-
export declare const getTotalSamplesCount: (props: GetTotalCountProps<
|
|
3
|
+
export declare const getTotalSamplesCount: (props: GetTotalCountProps<AppleHealthDataTypeIdentifier>) => Promise<number>;
|
|
4
4
|
//# sourceMappingURL=get-total-samples-count.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-total-samples-count.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-total-samples-count.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-total-samples-count.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-total-samples-count.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAKpE,eAAO,MAAM,oBAAoB,GAC/B,OAAO,kBAAkB,CAAC,6BAA6B,CAAC,KACvD,OAAO,CAAC,MAAM,CA8BhB,CAAC"}
|
|
@@ -3,6 +3,8 @@ import { HealthDataMode } from "../types/health-sync-keys";
|
|
|
3
3
|
type LoincMapping = {
|
|
4
4
|
code: string;
|
|
5
5
|
display: string;
|
|
6
|
+
release: "2.83";
|
|
7
|
+
status: "Active";
|
|
6
8
|
sourceUrl: string;
|
|
7
9
|
modes: readonly HealthDataMode[];
|
|
8
10
|
};
|
|
@@ -10,11 +12,13 @@ export type HealthDataCatalogEntry = {
|
|
|
10
12
|
provider: "apple-health" | "health-connect";
|
|
11
13
|
identifier: string;
|
|
12
14
|
category: string;
|
|
13
|
-
shape: "instantaneous" | "interval" | "series" | "sample" | "characteristic";
|
|
15
|
+
shape: "instantaneous" | "interval" | "series" | "sample" | "characteristic" | "document";
|
|
14
16
|
readPermission: string;
|
|
15
17
|
readStrategy: string;
|
|
18
|
+
timeSemantics?: string;
|
|
16
19
|
fhirResource: "Observation" | "Patient" | "FHIR resource";
|
|
17
20
|
sourceCodeSystem: string;
|
|
21
|
+
platformDocumentationUrl?: string;
|
|
18
22
|
unit: string;
|
|
19
23
|
loincMapping?: LoincMapping;
|
|
20
24
|
loincLimitation?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-data-catalog.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-data-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"health-data-catalog.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-data-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAU/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AA0B3D,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,QAAQ,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EACD,eAAe,GACf,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,gBAAgB,GAChB,UAAU,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,aAAa,GAAG,SAAS,GAAG,eAAe,CAAC;IAC1D,gBAAgB,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA8gCF,QAAA,MAAM,mBAAmB,EAAE,SAAS,sBAAsB,EAYtD,CAAC;AAEL,QAAA,MAAM,mBAAmB,GACvB,UAAU,cAAc,EACxB,YAAY,MAAM,EAClB,MAAM,cAAc,KACnB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CA0BlD,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observation } from "@medplum/fhirtypes";
|
|
2
|
+
type SourceTiming = {
|
|
3
|
+
point?: unknown;
|
|
4
|
+
start?: unknown;
|
|
5
|
+
end?: unknown;
|
|
6
|
+
};
|
|
7
|
+
/** Keeps source intervals as FHIR effectivePeriod and source instants as effectiveDateTime. */
|
|
8
|
+
export declare const withHealthRecordTiming: (observation: Observation, timing: SourceTiming) => Observation;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=health-record-timing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health-record-timing.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-record-timing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,KAAK,YAAY,GAAG;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AA4BF,+FAA+F;AAC/F,eAAO,MAAM,sBAAsB,GACjC,aAAa,WAAW,EACxB,QAAQ,YAAY,KACnB,WA0BF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-units.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-units.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"health-units.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-units.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAmB5C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,wBAAwB,EAC9D,gBAAgB,CAAC,KAChB,iBAAiB,CAAC,CAAC,CAAC,GAAG,SACwC,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { HKCategoryTypeIdentifier, HKCorrelationTypeIdentifier, HKQuantityTypeIdentifier
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
1
|
+
import { HKCategoryTypeIdentifier, HKCorrelationTypeIdentifier, HKQuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
|
|
2
|
+
import { AppleHealthDataTypeIdentifier } from "../types/apple-health-sync-props";
|
|
3
|
+
declare const isCategoryIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is HKCategoryTypeIdentifier;
|
|
4
|
+
declare const isQuantityIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is HKQuantityTypeIdentifier;
|
|
5
|
+
declare const isCorrelationIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is HKCorrelationTypeIdentifier;
|
|
6
|
+
declare const unsupportedHealthKitTypeReason: (typeIdentifier: AppleHealthDataTypeIdentifier) => string;
|
|
6
7
|
declare class UnsupportedHealthKitDataError extends Error {
|
|
7
8
|
readonly typeIdentifier: string;
|
|
8
9
|
constructor(typeIdentifier: string, reason: string);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"healthkit-data-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/healthkit-data-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,2BAA2B,EAC3B,wBAAwB,
|
|
1
|
+
{"version":3,"file":"healthkit-data-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/healthkit-data-types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,2BAA2B,EAC3B,wBAAwB,EACzB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,QAAA,MAAM,oBAAoB,GACxB,gBAAgB,6BAA6B,KAC5C,cAAc,IAAI,wBAEkC,CAAC;AAExD,QAAA,MAAM,oBAAoB,GACxB,gBAAgB,6BAA6B,KAC5C,cAAc,IAAI,wBAEkC,CAAC;AAExD,QAAA,MAAM,uBAAuB,GAC3B,gBAAgB,6BAA6B,KAC5C,cAAc,IAAI,2BAEqC,CAAC;AAE3D,QAAA,MAAM,8BAA8B,GAClC,gBAAgB,6BAA6B,KAC5C,MAWF,CAAC;AAEF,cAAM,6BAA8B,SAAQ,KAAK;IAE7C,QAAQ,CAAC,cAAc,EAAE,MAAM;gBAAtB,cAAc,EAAE,MAAM,EAC/B,MAAM,EAAE,MAAM;CAKjB;AAED,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,6BAA6B,EAC7B,8BAA8B,GAC/B,CAAC"}
|
package/lib/typescript/module/src/modules/data-sync/utils/normalize-core-health-observation.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observation } from "@medplum/fhirtypes";
|
|
2
|
+
type CodingProps = {
|
|
3
|
+
typeIdentifier?: string;
|
|
4
|
+
typeIdentifierCodes?: Readonly<Record<string, string>>;
|
|
5
|
+
typeIdentifierCodeSystems?: Readonly<Record<string, string>>;
|
|
6
|
+
typeIdentifierCodeDisplays?: Readonly<Record<string, string>>;
|
|
7
|
+
};
|
|
8
|
+
declare const hasConfiguredNonLoincCoding: ({ typeIdentifier, typeIdentifierCodes, typeIdentifierCodeSystems, }: CodingProps) => boolean;
|
|
9
|
+
declare const normalizeCoreHealthObservation: (observation: Observation, coding: CodingProps & {
|
|
10
|
+
applyCatalogCoding?: boolean;
|
|
11
|
+
}) => Observation;
|
|
12
|
+
export { hasConfiguredNonLoincCoding, normalizeCoreHealthObservation };
|
|
13
|
+
//# sourceMappingURL=normalize-core-health-observation.d.ts.map
|
package/lib/typescript/module/src/modules/data-sync/utils/normalize-core-health-observation.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize-core-health-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/normalize-core-health-observation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAOjD,KAAK,WAAW,GAAG;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACvD,yBAAyB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC7D,0BAA0B,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CAC/D,CAAC;AAEF,QAAA,MAAM,2BAA2B,GAAI,qEAIlC,WAAW,KAAG,OAqBhB,CAAC;AAEF,QAAA,MAAM,8BAA8B,GAClC,aAAa,WAAW,EACxB,QAAQ,WAAW,GAAG;IAAE,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAAE,KACrD,WA2CF,CAAC;AA6CF,OAAO,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type WheelPickerProps } from "./wheel-picker";
|
|
3
|
+
type WheelPickerOption<T> = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: T;
|
|
6
|
+
};
|
|
7
|
+
type ValueWheelPickerProps<T> = Omit<WheelPickerProps, "options" | "selectedIndex" | "onChange"> & {
|
|
8
|
+
options: readonly WheelPickerOption<T>[];
|
|
9
|
+
value?: T | null;
|
|
10
|
+
/** Supplies value equality for non-primitive option values. */
|
|
11
|
+
getOptionKey?: (value: T) => string;
|
|
12
|
+
/**
|
|
13
|
+
* Selects a display-only option when `value` is unset. It is not reported
|
|
14
|
+
* through `onChange` until the person manipulates the picker.
|
|
15
|
+
*/
|
|
16
|
+
defaultIndex?: number;
|
|
17
|
+
onChange: (value: T) => void;
|
|
18
|
+
};
|
|
19
|
+
declare const ValueWheelPicker: <T>({ options, value, defaultIndex, getOptionKey, onChange, ...wheelPickerProps }: ValueWheelPickerProps<T>) => React.JSX.Element;
|
|
20
|
+
export { ValueWheelPicker, type ValueWheelPickerProps, type WheelPickerOption };
|
|
21
|
+
//# sourceMappingURL=value-wheel-picker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"value-wheel-picker.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/picker-sheet/components/value-wheel-picker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEpE,KAAK,iBAAiB,CAAC,CAAC,IAAI;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;CACV,CAAC;AAEF,KAAK,qBAAqB,CAAC,CAAC,IAAI,IAAI,CAClC,gBAAgB,EAChB,SAAS,GAAG,eAAe,GAAG,UAAU,CACzC,GAAG;IACF,OAAO,EAAE,SAAS,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC;IACzC,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IAEjB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,MAAM,CAAC;IAEpC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;CAC9B,CAAC;AA0BF,QAAA,MAAM,gBAAgB,GAAI,CAAC,EAAG,+EAO3B,qBAAqB,CAAC,CAAC,CAAC,sBAyB1B,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { StyleProp, TextStyle, ViewStyle, ViewProps } from "react-native";
|
|
3
|
-
interface
|
|
3
|
+
export interface WheelPickerProps {
|
|
4
4
|
selectedIndex: number;
|
|
5
5
|
options: string[];
|
|
6
6
|
onChange: (index: number) => void;
|
|
@@ -12,7 +12,11 @@ interface Props {
|
|
|
12
12
|
containerProps?: Omit<ViewProps, "style">;
|
|
13
13
|
visibleItems?: number;
|
|
14
14
|
decelerationRate?: "normal" | "fast" | number;
|
|
15
|
+
accessibilityLabel?: string;
|
|
16
|
+
accessibilityHint?: string;
|
|
17
|
+
nestedScrollEnabled?: boolean;
|
|
18
|
+
accessibilityIncrementLabel?: string;
|
|
19
|
+
accessibilityDecrementLabel?: string;
|
|
15
20
|
}
|
|
16
|
-
export declare const WheelPicker: React.MemoExoticComponent<({ selectedIndex, options, onChange, selectedIndicatorStyle, containerStyle, itemStyle, itemTextStyle, itemHeight, visibleItems, decelerationRate, containerProps, }:
|
|
17
|
-
export {};
|
|
21
|
+
export declare const WheelPicker: React.MemoExoticComponent<({ selectedIndex, options, onChange, selectedIndicatorStyle, containerStyle, itemStyle, itemTextStyle, itemHeight, visibleItems, decelerationRate, containerProps, accessibilityLabel, accessibilityHint, nestedScrollEnabled, accessibilityIncrementLabel, accessibilityDecrementLabel, }: WheelPickerProps) => React.JSX.Element>;
|
|
18
22
|
//# sourceMappingURL=wheel-picker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wheel-picker.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/picker-sheet/components/wheel-picker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,SAAS,EACT,SAAS,EACT,SAAS,EAET,SAAS,EAGV,MAAM,cAAc,CAAC;AActB,
|
|
1
|
+
{"version":3,"file":"wheel-picker.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/picker-sheet/components/wheel-picker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,SAAS,EACT,SAAS,EACT,SAAS,EAET,SAAS,EAGV,MAAM,cAAc,CAAC;AActB,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,sBAAsB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC9C,aAAa,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,cAAc,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACtC;AAQD,eAAO,MAAM,WAAW,wTAkBnB,gBAAgB,uBAkPpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/picker-sheet/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/picker-sheet/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-content-item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/content/questionnaire-content-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"questionnaire-content-item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/content/questionnaire-content-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAO/C,eAAO,MAAM,wBAAwB,0DACL,SAAS,8BAgDxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-content-specific-item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"questionnaire-content-specific-item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/content/questionnaire-content-specific-item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAG/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AA4DpF,eAAO,MAAM,gCAAgC,gEAjDxC,SAAS,GAAG;IAAE,IAAI,EAAE,yBAAyB,CAAA;CAAE,8BAkDT,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-field-wrapper.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/questionnaire-response-form/components/fields/common/questionnaire-field-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAK3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"questionnaire-field-wrapper.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/questionnaire-response-form/components/fields/common/questionnaire-field-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAK3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAG3D,KAAK,8BAA8B,GAAG;IACpC,IAAI,EAAE,yBAAyB,CAAC;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,yBAAyB,gEACA,8BAA8B,uBA6CnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-choice-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/fields/questionnaire-choice-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"questionnaire-choice-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/fields/questionnaire-choice-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EACL,yBAAyB,EAE1B,MAAM,aAAa,CAAC;AAUrB,KAAK,6BAA6B,GAAG;IACnC,IAAI,EAAE,yBAAyB,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AA6CF,eAAO,MAAM,wBAAwB,gEACC,6BAA6B,8BAoClE,CAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ExtendedQuestionnaireItem } from "../../types";
|
|
3
3
|
import { DateItemType } from "../../types/date-item-type";
|
|
4
|
+
import { QuestionnaireItemConstraints } from "../../utils/questionnaire-item-constraints";
|
|
4
5
|
type QuestionnaireDateFieldProps = {
|
|
5
6
|
item: ExtendedQuestionnaireItem & {
|
|
6
7
|
type: DateItemType;
|
|
7
8
|
};
|
|
8
9
|
value?: string;
|
|
9
10
|
onChange: (value: string) => void;
|
|
11
|
+
constraints?: QuestionnaireItemConstraints;
|
|
10
12
|
testID?: string;
|
|
11
13
|
};
|
|
12
|
-
export declare const QuestionnaireDateField: React.MemoExoticComponent<({ item, value, onChange, testID }: QuestionnaireDateFieldProps) => React.JSX.Element>;
|
|
14
|
+
export declare const QuestionnaireDateField: React.MemoExoticComponent<({ item, value, onChange, constraints, testID, }: QuestionnaireDateFieldProps) => React.JSX.Element>;
|
|
13
15
|
export {};
|
|
14
16
|
//# sourceMappingURL=questionnaire-date-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-date-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/fields/questionnaire-date-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"questionnaire-date-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/fields/questionnaire-date-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAK1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAI1F,KAAK,2BAA2B,GAAG;IACjC,IAAI,EAAE,yBAAyB,GAAG;QAAE,IAAI,EAAE,YAAY,CAAA;KAAE,CAAC;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,4BAA4B,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,sBAAsB,8EAO9B,2BAA2B,uBAiJ/B,CAAC"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { QuestionnaireItem } from "@medplum/fhirtypes";
|
|
2
2
|
import * as React from "react";
|
|
3
|
+
import { QuestionnaireFormValue } from "../../types/questionnaire-form-values";
|
|
4
|
+
import { QuestionnaireItemRenderer as QuestionnaireItemRendererCallback } from "../../types/questionnaire-item-render-props";
|
|
5
|
+
import { QuestionnaireItemConstraints } from "../../utils/questionnaire-item-constraints";
|
|
3
6
|
type QuestionnaireItemRendererProps = {
|
|
4
7
|
item: QuestionnaireItem;
|
|
5
|
-
value?:
|
|
6
|
-
onChange: (value:
|
|
8
|
+
value?: QuestionnaireFormValue;
|
|
9
|
+
onChange: (value: QuestionnaireFormValue) => void;
|
|
10
|
+
locale?: string;
|
|
11
|
+
renderItem?: QuestionnaireItemRendererCallback;
|
|
12
|
+
constraints: QuestionnaireItemConstraints;
|
|
7
13
|
testID?: string;
|
|
8
14
|
};
|
|
9
|
-
export declare const QuestionnaireItemRenderer: React.MemoExoticComponent<({ item, value, onChange, testID }: QuestionnaireItemRendererProps) => React.JSX.Element | null>;
|
|
15
|
+
export declare const QuestionnaireItemRenderer: React.MemoExoticComponent<({ item, value, onChange, locale, renderItem, constraints, testID, }: QuestionnaireItemRendererProps) => string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined>;
|
|
10
16
|
export {};
|
|
11
17
|
//# sourceMappingURL=questionnaire-item-renderer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-item-renderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"questionnaire-item-renderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/fields/questionnaire-item-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,yBAAyB,IAAI,iCAAiC,EAAE,MAAM,6CAA6C,CAAC;AAE7H,OAAO,EAEL,4BAA4B,EAC7B,MAAM,4CAA4C,CAAC;AASpD,KAAK,8BAA8B,GAAG;IACpC,IAAI,EAAE,iBAAiB,CAAC;IACxB,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B,QAAQ,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,iCAAiC,CAAC;IAC/C,WAAW,EAAE,4BAA4B,CAAC;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,yBAAyB,kGASjC,8BAA8B,qSAuGlC,CAAC"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { KeyboardTypeOptions } from "react-native";
|
|
3
3
|
import { ExtendedQuestionnaireItem } from "../../types";
|
|
4
|
+
import { QuestionnaireItemConstraints } from "../../utils/questionnaire-item-constraints";
|
|
5
|
+
import { QuestionnaireNumericPickerOption } from "../../utils/questionnaire-picker-options";
|
|
4
6
|
type QuestionnaireTextFieldProps = {
|
|
5
7
|
item: ExtendedQuestionnaireItem;
|
|
6
8
|
value?: string;
|
|
7
9
|
onChange: (value: string) => void;
|
|
8
10
|
testID?: string;
|
|
9
11
|
keyboardType?: KeyboardTypeOptions;
|
|
12
|
+
constraints?: QuestionnaireItemConstraints;
|
|
13
|
+
numericOptions?: QuestionnaireNumericPickerOption[];
|
|
10
14
|
};
|
|
11
|
-
export declare const QuestionnaireTextField: ({ item, value, onChange, testID, keyboardType, }: QuestionnaireTextFieldProps) => React.JSX.Element;
|
|
15
|
+
export declare const QuestionnaireTextField: ({ item, value, onChange, testID, keyboardType, constraints, numericOptions, }: QuestionnaireTextFieldProps) => React.JSX.Element;
|
|
12
16
|
export {};
|
|
13
17
|
//# sourceMappingURL=questionnaire-text-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-text-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/fields/questionnaire-text-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"questionnaire-text-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/fields/questionnaire-text-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,mBAAmB,EAAyB,MAAM,cAAc,CAAC;AAK1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAK5F,KAAK,2BAA2B,GAAG;IACjC,IAAI,EAAE,yBAAyB,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,WAAW,CAAC,EAAE,4BAA4B,CAAC;IAC3C,cAAc,CAAC,EAAE,gCAAgC,EAAE,CAAC;CACrD,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,+EAQpC,2BAA2B,sBAgG7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-header-title.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/header/questionnaire-header-title.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"questionnaire-header-title.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/questionnaire-response-form/components/header/questionnaire-header-title.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAG7F,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAC7C,6BAA6B,CAgB9B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { QuestionnaireFormProviderProps } from "../types/questionnaire-form-provider-props";
|
|
3
|
-
export declare const QuestionnaireFormProvider: React.MemoExoticComponent<({ children, questionnaire, initialValues: _initialValues, onSubmit, onSuccess, onError, paged, }: React.PropsWithChildren<QuestionnaireFormProviderProps>) => React.JSX.Element>;
|
|
3
|
+
export declare const QuestionnaireFormProvider: React.MemoExoticComponent<({ children, questionnaire, initialValues: _initialValues, onSubmit, onSuccess, onError, paged, locale, renderItem, resolveQuestionnaireConstraint, resolveQuestionnaireUnitOptions, }: React.PropsWithChildren<QuestionnaireFormProviderProps>) => React.JSX.Element>;
|
|
4
4
|
//# sourceMappingURL=questionnaire-form-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/components/questionnaire-form-provider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"questionnaire-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/components/questionnaire-form-provider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,8BAA8B,EAAE,MAAM,4CAA4C,CAAC;AAS5F,eAAO,MAAM,yBAAyB,oNAajC,KAAK,CAAC,iBAAiB,CAAC,8BAA8B,CAAC,uBAqT3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-form.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/components/questionnaire-form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAGhF,QAAA,MAAM,0BAA0B,GAAI,kDAMjC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"questionnaire-form.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/components/questionnaire-form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAGhF,QAAA,MAAM,0BAA0B,GAAI,kDAMjC,sBAAsB,sBAkCxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAEzB,KAAK,CAAC,mBAAmB,CAAC,OAAO,0BAA0B,CAAC,GAAG;IAClE,MAAM,EAAE,OAAO,mBAAmB,CAAC;IACnC,OAAO,EAAE,OAAO,oBAAoB,CAAC;IACrC,UAAU,EAAE,OAAO,uBAAuB,CAAC;CAC5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"questionnaire-navigation-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/components/questionnaire-navigation-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AAExG,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CACpD,KAAK,CAAC,iBAAiB,CAAC,oCAAoC,CAAC,
|
|
1
|
+
{"version":3,"file":"questionnaire-navigation-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/components/questionnaire-navigation-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,oCAAoC,EAAE,MAAM,kDAAkD,CAAC;AAExG,eAAO,MAAM,+BAA+B,EAAE,KAAK,CAAC,EAAE,CACpD,KAAK,CAAC,iBAAiB,CAAC,oCAAoC,CAAC,CA6D9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-initial-selected-values.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/hooks/use-initial-selected-values.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-initial-selected-values.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/hooks/use-initial-selected-values.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAK7E;;GAEG;AACH,eAAO,MAAM,wBAAwB,GACnC,OAAO,yBAAyB,EAAE,EAClC,QAAQ,uBAAuB,EAC/B,eAAe,CACb,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,EAC9B,cAAc,CAAC,EAAE,OAAO,KACrB,IAAI,SAwFV,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ExtendedQuestionnaireItem } from "../types/extended-questionnaire-item";
|
|
3
3
|
import { QuestionnaireFormValues } from "../types/questionnaire-form-values";
|
|
4
|
+
import { QuestionnaireItemRenderer } from "../types/questionnaire-item-render-props";
|
|
5
|
+
import { QuestionnaireConstraintResolver, QuestionnaireUnitOptionsResolver } from "../utils/questionnaire-item-constraints";
|
|
4
6
|
type UseNavigationHandlersProps = {
|
|
5
7
|
currentItem: ExtendedQuestionnaireItem | undefined;
|
|
6
8
|
currentPage: ExtendedQuestionnaireItem | undefined;
|
|
@@ -12,6 +14,9 @@ type UseNavigationHandlersProps = {
|
|
|
12
14
|
currentItemIndex: number;
|
|
13
15
|
currentPageIndex: number;
|
|
14
16
|
pages: ExtendedQuestionnaireItem[];
|
|
17
|
+
renderItem?: QuestionnaireItemRenderer;
|
|
18
|
+
resolveQuestionnaireConstraint?: QuestionnaireConstraintResolver;
|
|
19
|
+
resolveQuestionnaireUnitOptions?: QuestionnaireUnitOptionsResolver;
|
|
15
20
|
setCurrentItemIndex: React.Dispatch<React.SetStateAction<number>>;
|
|
16
21
|
setCurrentPageIndex: React.Dispatch<React.SetStateAction<number>>;
|
|
17
22
|
setErrorMessage: React.Dispatch<React.SetStateAction<string | null>>;
|
|
@@ -19,7 +24,7 @@ type UseNavigationHandlersProps = {
|
|
|
19
24
|
/**
|
|
20
25
|
* Provides navigation handlers for the questionnaire form
|
|
21
26
|
*/
|
|
22
|
-
export declare const useNavigationHandlers: ({ currentItem, currentPage, enabledItems, formik, currentItemIndex, currentPageIndex, pages, setCurrentItemIndex, setCurrentPageIndex, setErrorMessage, }: UseNavigationHandlersProps) => {
|
|
27
|
+
export declare const useNavigationHandlers: ({ currentItem, currentPage, enabledItems, formik, currentItemIndex, currentPageIndex, pages, renderItem, resolveQuestionnaireConstraint, resolveQuestionnaireUnitOptions, setCurrentItemIndex, setCurrentPageIndex, setErrorMessage, }: UseNavigationHandlersProps) => {
|
|
23
28
|
handleNext: () => void;
|
|
24
29
|
handlePrevious: () => void;
|
|
25
30
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-navigation-handlers.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/hooks/use-navigation-handlers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-navigation-handlers.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/hooks/use-navigation-handlers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAIrF,OAAO,EACL,+BAA+B,EAC/B,gCAAgC,EACjC,MAAM,yCAAyC,CAAC;AAIjD,KAAK,0BAA0B,GAAG;IAChC,WAAW,EAAE,yBAAyB,GAAG,SAAS,CAAC;IACnD,WAAW,EAAE,yBAAyB,GAAG,SAAS,CAAC;IACnD,YAAY,EAAE,yBAAyB,EAAE,CAAC;IAC1C,MAAM,EAAE;QAAE,MAAM,EAAE,uBAAuB,CAAC;QAAC,YAAY,EAAE,OAAO,CAAA;KAAE,CAAC;IACnE,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,yBAAyB,EAAE,CAAC;IACnC,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,8BAA8B,CAAC,EAAE,+BAA+B,CAAC;IACjE,+BAA+B,CAAC,EAAE,gCAAgC,CAAC;IACnE,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAClE,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAClE,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;CACtE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,wOAcnC,0BAA0B;;;CA0G5B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ExtendedQuestionnaireItem } from "../types/extended-questionnaire-item";
|
|
2
2
|
import { QuestionnaireFormValues } from "../types/questionnaire-form-values";
|
|
3
|
+
import { QuestionnaireItemRenderer } from "../types/questionnaire-item-render-props";
|
|
3
4
|
type NavigationState = {
|
|
4
5
|
isLastItem: boolean;
|
|
5
6
|
isCurrentItemRequired: boolean;
|
|
@@ -8,6 +9,6 @@ type NavigationState = {
|
|
|
8
9
|
totalItems: number;
|
|
9
10
|
showPrevious: boolean;
|
|
10
11
|
};
|
|
11
|
-
export declare const useQuestionnaireNavigationState: (currentItem: ExtendedQuestionnaireItem | undefined, currentPageIndex: number, currentItemIndex: number, enabledItems: ExtendedQuestionnaireItem[], pages: ExtendedQuestionnaireItem[], values: QuestionnaireFormValues, allEnabledItems: ExtendedQuestionnaireItem[]) => NavigationState;
|
|
12
|
+
export declare const useQuestionnaireNavigationState: (currentItem: ExtendedQuestionnaireItem | undefined, currentPageIndex: number, currentItemIndex: number, enabledItems: ExtendedQuestionnaireItem[], pages: ExtendedQuestionnaireItem[], values: QuestionnaireFormValues, allEnabledItems: ExtendedQuestionnaireItem[], renderItem?: QuestionnaireItemRenderer) => NavigationState;
|
|
12
13
|
export {};
|
|
13
14
|
//# sourceMappingURL=use-questionnaire-navigation-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-questionnaire-navigation-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-questionnaire-navigation-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/questionnaire-response-form/hooks/use-questionnaire-navigation-state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AAMrF,KAAK,eAAe,GAAG;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,+BAA+B,GAC1C,aAAa,yBAAyB,GAAG,SAAS,EAClD,kBAAkB,MAAM,EACxB,kBAAkB,MAAM,EACxB,cAAc,yBAAyB,EAAE,EACzC,OAAO,yBAAyB,EAAE,EAClC,QAAQ,uBAAuB,EAC/B,iBAAiB,yBAAyB,EAAE,EAC5C,aAAa,yBAAyB,KACrC,eAwEF,CAAC"}
|
|
@@ -12,10 +12,13 @@ export type { QuestionnaireFormProps } from "./types/questionnaire-form-props";
|
|
|
12
12
|
export type { QuestionnaireFormProviderProps } from "./types/questionnaire-form-provider-props";
|
|
13
13
|
export type { QuestionnaireNavigationProviderProps } from "./types/questionnaire-navigation-provider-props";
|
|
14
14
|
export type { QuestionnaireFormContextType } from "./types/questionnaire-form-context-type";
|
|
15
|
+
export type { QuestionnaireItemRenderer, QuestionnaireItemRenderProps, } from "./types/questionnaire-item-render-props";
|
|
15
16
|
export type { QuestionnaireHeaderProps } from "./types/questionnaire-header-props";
|
|
16
|
-
export type { QuestionnaireFormValues } from "./types/questionnaire-form-values";
|
|
17
|
+
export type { QuestionnaireFormValue, QuestionnaireFormValues, } from "./types/questionnaire-form-values";
|
|
17
18
|
export type { ResponseValues } from "./types/response-values";
|
|
18
19
|
export type { ExtendedQuestionnaireItem } from "./types";
|
|
19
20
|
export type { QuestionnaireResponse } from "@medplum/fhirtypes";
|
|
21
|
+
export { getQuestionnaireAnswerPickerOptions, getQuestionnaireNumericPickerOptions, type QuestionnaireAnswerPickerOption, type QuestionnaireNumericPickerOption, } from "./utils/questionnaire-picker-options";
|
|
22
|
+
export { getQuestionnaireItemConstraints, type QuestionnaireConstraintResolver, type QuestionnaireItemConstraints, type QuestionnaireUnitOptionsResolver, } from "./utils/questionnaire-item-constraints";
|
|
20
23
|
export { QuestionnaireSubmitUtils } from "./utils/questionnaire-submit-utils";
|
|
21
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/questionnaire-response-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AAEjG,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAE7F,YAAY,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,YAAY,EAAE,8BAA8B,EAAE,MAAM,2CAA2C,CAAC;AAChG,YAAY,EAAE,oCAAoC,EAAE,MAAM,iDAAiD,CAAC;AAC5G,YAAY,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAC5F,YAAY,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AACnF,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/questionnaire-response-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AAEjG,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAClF,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAE7F,YAAY,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,YAAY,EAAE,8BAA8B,EAAE,MAAM,2CAA2C,CAAC;AAChG,YAAY,EAAE,oCAAoC,EAAE,MAAM,iDAAiD,CAAC;AAC5G,YAAY,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAC5F,YAAY,EACV,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,yCAAyC,CAAC;AACjD,YAAY,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AACnF,YAAY,EACV,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,mCAAmC,CAAC;AAC3C,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,YAAY,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AACzD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mCAAmC,EACnC,oCAAoC,EACpC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,GACtC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,+BAA+B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,GACtC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC"}
|