@procivis/one-react-native-components 0.2.54 → 0.3.27
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 +3 -8
- package/lib/commonjs/components/backup/index.js.map +1 -1
- package/lib/commonjs/components/backup/preview-credentials.js +18 -22
- package/lib/commonjs/components/backup/preview-credentials.js.map +1 -1
- package/lib/commonjs/components/credential/credential.js +11 -12
- package/lib/commonjs/components/credential/credential.js.map +1 -1
- package/lib/commonjs/components/credential/index.js.map +1 -1
- package/lib/commonjs/components/entity/EntityButtons.js +20 -25
- package/lib/commonjs/components/entity/EntityButtons.js.map +1 -1
- package/lib/commonjs/components/entity/entity-attributes.js +16 -18
- package/lib/commonjs/components/entity/entity-attributes.js.map +1 -1
- package/lib/commonjs/components/entity/entity-details-with-buttons.js +31 -23
- package/lib/commonjs/components/entity/entity-details-with-buttons.js.map +1 -1
- package/lib/commonjs/components/entity/entity-details.js +30 -31
- package/lib/commonjs/components/entity/entity-details.js.map +1 -1
- package/lib/commonjs/components/entity/index.js +2 -2
- package/lib/commonjs/components/entity/index.js.map +1 -1
- package/lib/commonjs/components/history/history-details-screen.js +67 -0
- package/lib/commonjs/components/history/history-details-screen.js.map +1 -0
- package/lib/commonjs/components/history/history-list-item-icon.js +97 -0
- package/lib/commonjs/components/history/history-list-item-icon.js.map +1 -0
- package/lib/commonjs/components/history/history-list-item.js +55 -0
- package/lib/commonjs/components/history/history-list-item.js.map +1 -0
- package/lib/commonjs/components/history/history-list-screen.js +123 -0
- package/lib/commonjs/components/history/history-list-screen.js.map +1 -0
- package/lib/commonjs/components/history/history-list-section-header.js +39 -0
- package/lib/commonjs/components/history/history-list-section-header.js.map +1 -0
- package/lib/commonjs/components/history/history-list.js +100 -0
- package/lib/commonjs/components/history/history-list.js.map +1 -0
- package/lib/commonjs/components/history/index.js +72 -0
- package/lib/commonjs/components/history/index.js.map +1 -0
- package/lib/commonjs/components/index.js +11 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/navigation/header-buttons.js +21 -25
- package/lib/commonjs/components/navigation/header-buttons.js.map +1 -1
- package/lib/commonjs/components/navigation/index.js.map +1 -1
- package/lib/commonjs/components/proof-request/group.js +4 -5
- package/lib/commonjs/components/proof-request/group.js.map +1 -1
- package/lib/commonjs/components/proof-request/index.js.map +1 -1
- package/lib/commonjs/components/proof-request/select-credential.js +11 -12
- package/lib/commonjs/components/proof-request/select-credential.js.map +1 -1
- package/lib/commonjs/components/proof-request/share-credential.js +25 -28
- package/lib/commonjs/components/proof-request/share-credential.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/normalize-color.d.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/accessibility.js +11 -7
- package/lib/commonjs/ui-components/accessibility/accessibility.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/accessibilityHistory.js +8 -12
- package/lib/commonjs/ui-components/accessibility/accessibilityHistory.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/accessibilityHistoryWrappers.js +15 -17
- package/lib/commonjs/ui-components/accessibility/accessibilityHistoryWrappers.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/accessibilityLanguage.js +8 -10
- package/lib/commonjs/ui-components/accessibility/accessibilityLanguage.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/index.js +1 -30
- package/lib/commonjs/ui-components/accessibility/index.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/locale/index.js +2 -3
- package/lib/commonjs/ui-components/accessibility/locale/index.js.map +1 -1
- package/lib/commonjs/ui-components/accessibility/locale.test.js.map +1 -1
- package/lib/commonjs/ui-components/action-modal/ActionModal.js +9 -11
- package/lib/commonjs/ui-components/action-modal/ActionModal.js.map +1 -1
- package/lib/commonjs/ui-components/action-modal/index.js +1 -1
- package/lib/commonjs/ui-components/action-modal/index.js.map +1 -1
- package/lib/commonjs/ui-components/activity-indicator/activity-indicator.js +10 -12
- package/lib/commonjs/ui-components/activity-indicator/activity-indicator.js.map +1 -1
- package/lib/commonjs/ui-components/activity-indicator/index.js +1 -1
- package/lib/commonjs/ui-components/activity-indicator/index.js.map +1 -1
- package/lib/commonjs/ui-components/blur/blur-view.js +13 -15
- package/lib/commonjs/ui-components/blur/blur-view.js.map +1 -1
- package/lib/commonjs/ui-components/blur/index.js +2 -2
- package/lib/commonjs/ui-components/blur/index.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/back-button.js +12 -15
- package/lib/commonjs/ui-components/buttons/back-button.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/button.js +19 -22
- package/lib/commonjs/ui-components/buttons/button.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/connectivity-button.js +16 -18
- package/lib/commonjs/ui-components/buttons/connectivity-button.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/filter-button.js +8 -10
- package/lib/commonjs/ui-components/buttons/filter-button.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/ghost-button.js +12 -14
- package/lib/commonjs/ui-components/buttons/ghost-button.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/hold-button.js +244 -0
- package/lib/commonjs/ui-components/buttons/hold-button.js.map +1 -0
- package/lib/commonjs/ui-components/buttons/index.js +9 -37
- package/lib/commonjs/ui-components/buttons/index.js.map +1 -1
- package/lib/commonjs/ui-components/buttons/scan-button.js +7 -9
- package/lib/commonjs/ui-components/buttons/scan-button.js.map +1 -1
- package/lib/commonjs/ui-components/camera/camera-overlay.js +11 -14
- package/lib/commonjs/ui-components/camera/camera-overlay.js.map +1 -1
- package/lib/commonjs/ui-components/camera/index.js +2 -2
- package/lib/commonjs/ui-components/camera/index.js.map +1 -1
- package/lib/commonjs/ui-components/camera/qr-code-scanner.js +12 -14
- package/lib/commonjs/ui-components/camera/qr-code-scanner.js.map +1 -1
- package/lib/commonjs/ui-components/control/checkbox.js +11 -12
- package/lib/commonjs/ui-components/control/checkbox.js.map +1 -1
- package/lib/commonjs/ui-components/control/index.js.map +1 -1
- package/lib/commonjs/ui-components/control/switch.js +10 -12
- package/lib/commonjs/ui-components/control/switch.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/credential-card.js +22 -26
- package/lib/commonjs/ui-components/credential/card/credential-card.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/credential-details-card.js +30 -35
- package/lib/commonjs/ui-components/credential/card/credential-details-card.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/credential-details-list-item.js +27 -20
- package/lib/commonjs/ui-components/credential/card/credential-details-list-item.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/credential-header.js +25 -24
- package/lib/commonjs/ui-components/credential/card/credential-header.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/credential-image-carousel.js +27 -29
- package/lib/commonjs/ui-components/credential/card/credential-image-carousel.js.map +1 -1
- package/lib/commonjs/ui-components/credential/card/index.js +6 -41
- package/lib/commonjs/ui-components/credential/card/index.js.map +1 -1
- package/lib/commonjs/ui-components/credential/credential-attribute-item.js +51 -60
- package/lib/commonjs/ui-components/credential/credential-attribute-item.js.map +1 -1
- package/lib/commonjs/ui-components/credential/credential-carousel-images.js +18 -21
- package/lib/commonjs/ui-components/credential/credential-carousel-images.js.map +1 -1
- package/lib/commonjs/ui-components/credential/index.js +2 -25
- package/lib/commonjs/ui-components/credential/index.js.map +1 -1
- package/lib/commonjs/ui-components/credential/selector-status.js +3 -4
- package/lib/commonjs/ui-components/credential/selector-status.js.map +1 -1
- package/lib/commonjs/ui-components/credential/selector.js +8 -10
- package/lib/commonjs/ui-components/credential/selector.js.map +1 -1
- package/lib/commonjs/ui-components/detail/detail.js +12 -14
- package/lib/commonjs/ui-components/detail/detail.js.map +1 -1
- package/lib/commonjs/ui-components/detail/index.js +1 -1
- package/lib/commonjs/ui-components/detail/index.js.map +1 -1
- package/lib/commonjs/ui-components/entity/avatar.js +14 -16
- package/lib/commonjs/ui-components/entity/avatar.js.map +1 -1
- package/lib/commonjs/ui-components/entity/entity-cluster.js +16 -19
- package/lib/commonjs/ui-components/entity/entity-cluster.js.map +1 -1
- package/lib/commonjs/ui-components/entity/index.js +2 -2
- package/lib/commonjs/ui-components/entity/index.js.map +1 -1
- package/lib/commonjs/ui-components/header/focus-aware-status-bar.js +3 -4
- package/lib/commonjs/ui-components/header/focus-aware-status-bar.js.map +1 -1
- package/lib/commonjs/ui-components/header/foldable-header.js +14 -17
- package/lib/commonjs/ui-components/header/foldable-header.js.map +1 -1
- package/lib/commonjs/ui-components/header/header.js +12 -14
- package/lib/commonjs/ui-components/header/header.js.map +1 -1
- package/lib/commonjs/ui-components/header/index.js +4 -24
- package/lib/commonjs/ui-components/header/index.js.map +1 -1
- package/lib/commonjs/ui-components/header/navigation-header.js +27 -33
- package/lib/commonjs/ui-components/header/navigation-header.js.map +1 -1
- package/lib/commonjs/ui-components/history/data-item.js +30 -23
- package/lib/commonjs/ui-components/history/data-item.js.map +1 -1
- package/lib/commonjs/ui-components/history/history-details.js +181 -0
- package/lib/commonjs/ui-components/history/history-details.js.map +1 -0
- package/lib/commonjs/ui-components/history/{history-list-item.js → history-item.js} +47 -26
- package/lib/commonjs/ui-components/history/history-item.js.map +1 -0
- package/lib/commonjs/ui-components/history/history-section-header.js +7 -9
- package/lib/commonjs/ui-components/history/history-section-header.js.map +1 -1
- package/lib/commonjs/ui-components/history/history-section-list-item.js +13 -12
- package/lib/commonjs/ui-components/history/history-section-list-item.js.map +1 -1
- package/lib/commonjs/ui-components/history/index.js +30 -9
- package/lib/commonjs/ui-components/history/index.js.map +1 -1
- package/lib/commonjs/ui-components/icons/connectivity.js +19 -24
- package/lib/commonjs/ui-components/icons/connectivity.js.map +1 -1
- package/lib/commonjs/ui-components/icons/credential.js +60 -71
- package/lib/commonjs/ui-components/icons/credential.js.map +1 -1
- package/lib/commonjs/ui-components/icons/entity.js +36 -9
- package/lib/commonjs/ui-components/icons/entity.js.map +1 -1
- package/lib/commonjs/ui-components/icons/history.js +115 -133
- package/lib/commonjs/ui-components/icons/history.js.map +1 -1
- package/lib/commonjs/ui-components/icons/icons.js +73 -90
- package/lib/commonjs/ui-components/icons/icons.js.map +1 -1
- package/lib/commonjs/ui-components/icons/index.js.map +1 -1
- package/lib/commonjs/ui-components/icons/input.js +3 -3
- package/lib/commonjs/ui-components/icons/input.js.map +1 -1
- package/lib/commonjs/ui-components/icons/keypad.js +69 -81
- package/lib/commonjs/ui-components/icons/keypad.js.map +1 -1
- package/lib/commonjs/ui-components/icons/loader.js +4 -4
- package/lib/commonjs/ui-components/icons/loader.js.map +1 -1
- package/lib/commonjs/ui-components/icons/nerd-view.js +6 -9
- package/lib/commonjs/ui-components/icons/nerd-view.js.map +1 -1
- package/lib/commonjs/ui-components/icons/selector.js +8 -9
- package/lib/commonjs/ui-components/icons/selector.js.map +1 -1
- package/lib/commonjs/ui-components/icons/wallet.js +16 -19
- package/lib/commonjs/ui-components/icons/wallet.js.map +1 -1
- package/lib/commonjs/ui-components/image/image-or-component.js +15 -18
- package/lib/commonjs/ui-components/image/image-or-component.js.map +1 -1
- package/lib/commonjs/ui-components/image/index.js +2 -9
- package/lib/commonjs/ui-components/image/index.js.map +1 -1
- package/lib/commonjs/ui-components/index.js.map +1 -1
- package/lib/commonjs/ui-components/input/index.js +2 -2
- package/lib/commonjs/ui-components/input/index.js.map +1 -1
- package/lib/commonjs/ui-components/input/radio-group.js +28 -25
- package/lib/commonjs/ui-components/input/radio-group.js.map +1 -1
- package/lib/commonjs/ui-components/input/selection-input.js +27 -38
- package/lib/commonjs/ui-components/input/selection-input.js.map +1 -1
- package/lib/commonjs/ui-components/input/text-input.js +25 -28
- package/lib/commonjs/ui-components/input/text-input.js.map +1 -1
- package/lib/commonjs/ui-components/list/index.js +20 -2
- package/lib/commonjs/ui-components/list/index.js.map +1 -1
- package/lib/commonjs/ui-components/list/list-page-loading-indicator.js +14 -0
- package/lib/commonjs/ui-components/list/list-page-loading-indicator.js.map +1 -0
- package/lib/commonjs/ui-components/list/list-section-header.js +10 -12
- package/lib/commonjs/ui-components/list/list-section-header.js.map +1 -1
- package/lib/commonjs/ui-components/list/list-title-header.js +6 -8
- package/lib/commonjs/ui-components/list/list-title-header.js.map +1 -1
- package/lib/commonjs/ui-components/list/wallet/empty-list.js +73 -0
- package/lib/commonjs/ui-components/list/wallet/empty-list.js.map +1 -0
- package/lib/commonjs/ui-components/list/wallet/empty-search-result.js +41 -0
- package/lib/commonjs/ui-components/list/wallet/empty-search-result.js.map +1 -0
- package/lib/commonjs/ui-components/list/wallet/index.js +21 -0
- package/lib/commonjs/ui-components/list/wallet/index.js.map +1 -0
- package/lib/commonjs/ui-components/loader/index.js +2 -2
- package/lib/commonjs/ui-components/loader/index.js.map +1 -1
- package/lib/commonjs/ui-components/loader/loader.js +17 -17
- package/lib/commonjs/ui-components/loader/loader.js.map +1 -1
- package/lib/commonjs/ui-components/loader/loading-result.js +22 -21
- package/lib/commonjs/ui-components/loader/loading-result.js.map +1 -1
- package/lib/commonjs/ui-components/nerd-view/index.js +2 -8
- package/lib/commonjs/ui-components/nerd-view/index.js.map +1 -1
- package/lib/commonjs/ui-components/nerd-view/nerd-mode-item.js +37 -41
- package/lib/commonjs/ui-components/nerd-view/nerd-mode-item.js.map +1 -1
- package/lib/commonjs/ui-components/pin/index.js +2 -2
- package/lib/commonjs/ui-components/pin/index.js.map +1 -1
- package/lib/commonjs/ui-components/pin/keypad.js +19 -23
- package/lib/commonjs/ui-components/pin/keypad.js.map +1 -1
- package/lib/commonjs/ui-components/pin/pin-code-screen.js +19 -21
- package/lib/commonjs/ui-components/pin/pin-code-screen.js.map +1 -1
- package/lib/commonjs/ui-components/pin/pin-lock-animation.js +1 -2
- package/lib/commonjs/ui-components/pin/pin-lock-animation.js.map +1 -1
- package/lib/commonjs/ui-components/pin/pin-lock.js +10 -12
- package/lib/commonjs/ui-components/pin/pin-lock.js.map +1 -1
- package/lib/commonjs/ui-components/pin/pins.js +8 -9
- package/lib/commonjs/ui-components/pin/pins.js.map +1 -1
- package/lib/commonjs/ui-components/screens/backup-screen.js +15 -18
- package/lib/commonjs/ui-components/screens/backup-screen.js.map +1 -1
- package/lib/commonjs/ui-components/screens/image-preview-screen.js +12 -14
- package/lib/commonjs/ui-components/screens/image-preview-screen.js.map +1 -1
- package/lib/commonjs/ui-components/screens/index.js +8 -49
- package/lib/commonjs/ui-components/screens/index.js.map +1 -1
- package/lib/commonjs/ui-components/screens/nerd-mode-screen.js +35 -42
- package/lib/commonjs/ui-components/screens/nerd-mode-screen.js.map +1 -1
- package/lib/commonjs/ui-components/screens/qr-code-scanner-screen.js +14 -16
- package/lib/commonjs/ui-components/screens/qr-code-scanner-screen.js.map +1 -1
- package/lib/commonjs/ui-components/screens/scroll-view-screen.js +12 -14
- package/lib/commonjs/ui-components/screens/scroll-view-screen.js.map +1 -1
- package/lib/commonjs/ui-components/screens/section-list-screen.js +13 -15
- package/lib/commonjs/ui-components/screens/section-list-screen.js.map +1 -1
- package/lib/commonjs/ui-components/searchbar/animated-search-bar.js +10 -12
- package/lib/commonjs/ui-components/searchbar/animated-search-bar.js.map +1 -1
- package/lib/commonjs/ui-components/searchbar/index.js +2 -2
- package/lib/commonjs/ui-components/searchbar/index.js.map +1 -1
- package/lib/commonjs/ui-components/searchbar/search-bar.js +15 -17
- package/lib/commonjs/ui-components/searchbar/search-bar.js.map +1 -1
- package/lib/commonjs/ui-components/settings/button-setting.js +14 -16
- package/lib/commonjs/ui-components/settings/button-setting.js.map +1 -1
- package/lib/commonjs/ui-components/settings/index.js +2 -2
- package/lib/commonjs/ui-components/settings/index.js.map +1 -1
- package/lib/commonjs/ui-components/settings/setting-item-separator.js +6 -8
- package/lib/commonjs/ui-components/settings/setting-item-separator.js.map +1 -1
- package/lib/commonjs/ui-components/settings/setting-item.js +11 -13
- package/lib/commonjs/ui-components/settings/setting-item.js.map +1 -1
- package/lib/commonjs/ui-components/settings/settings-button.js +7 -9
- package/lib/commonjs/ui-components/settings/settings-button.js.map +1 -1
- package/lib/commonjs/ui-components/settings/switch-setting.js +11 -13
- package/lib/commonjs/ui-components/settings/switch-setting.js.map +1 -1
- package/lib/commonjs/ui-components/state/error-screen.js +10 -12
- package/lib/commonjs/ui-components/state/error-screen.js.map +1 -1
- package/lib/commonjs/ui-components/state/index.js +2 -2
- package/lib/commonjs/ui-components/state/index.js.map +1 -1
- package/lib/commonjs/ui-components/text/base.js +14 -16
- package/lib/commonjs/ui-components/text/base.js.map +1 -1
- package/lib/commonjs/ui-components/text/font.js +11 -13
- package/lib/commonjs/ui-components/text/font.js.map +1 -1
- package/lib/commonjs/ui-components/text/index.js +2 -9
- package/lib/commonjs/ui-components/text/index.js.map +1 -1
- package/lib/commonjs/ui-components/text/typography.js +10 -13
- package/lib/commonjs/ui-components/text/typography.js.map +1 -1
- package/lib/commonjs/ui-components/theme/color-scheme-context.js +2 -1
- package/lib/commonjs/ui-components/theme/color-scheme-context.js.map +1 -1
- package/lib/commonjs/ui-components/theme/color-scheme.js.map +1 -1
- package/lib/commonjs/ui-components/theme/index.js.map +1 -1
- package/lib/commonjs/utils/array.js.map +1 -1
- package/lib/commonjs/utils/backup.js.map +1 -1
- package/lib/commonjs/utils/color.js +1 -1
- package/lib/commonjs/utils/color.js.map +1 -1
- package/lib/commonjs/utils/contrasting-status-bar.js +8 -10
- package/lib/commonjs/utils/contrasting-status-bar.js.map +1 -1
- package/lib/commonjs/utils/date.js +3 -3
- package/lib/commonjs/utils/date.js.map +1 -1
- package/lib/commonjs/utils/filtering.js +11 -0
- package/lib/commonjs/utils/filtering.js.map +1 -0
- package/lib/commonjs/utils/history.js +76 -0
- package/lib/commonjs/utils/history.js.map +1 -0
- package/lib/commonjs/utils/hooks/connectivity/connectivity.js +37 -23
- package/lib/commonjs/utils/hooks/connectivity/connectivity.js.map +1 -1
- package/lib/commonjs/utils/hooks/connectivity/connectivity.test.js +6 -0
- package/lib/commonjs/utils/hooks/connectivity/connectivity.test.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/backup.js +31 -31
- package/lib/commonjs/utils/hooks/core/backup.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/cache.js +44 -0
- package/lib/commonjs/utils/hooks/core/cache.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/core-config.js +15 -1
- package/lib/commonjs/utils/hooks/core/core-config.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/core-context.js +15 -10
- package/lib/commonjs/utils/hooks/core/core-context.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/core-init.js +44 -34
- package/lib/commonjs/utils/hooks/core/core-init.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/credential-schemas.js +16 -27
- package/lib/commonjs/utils/hooks/core/credential-schemas.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/credentials.js +28 -37
- package/lib/commonjs/utils/hooks/core/credentials.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/dids.js +4 -6
- package/lib/commonjs/utils/hooks/core/dids.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/error-code.js +3 -4
- package/lib/commonjs/utils/hooks/core/error-code.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/history.js +5 -37
- package/lib/commonjs/utils/hooks/core/history.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/identifiers.js +20 -0
- package/lib/commonjs/utils/hooks/core/identifiers.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/index.js +22 -0
- package/lib/commonjs/utils/hooks/core/index.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/proof-schemas.js +23 -38
- package/lib/commonjs/utils/hooks/core/proof-schemas.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/proofs.js +108 -76
- package/lib/commonjs/utils/hooks/core/proofs.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/query.js +1 -2
- package/lib/commonjs/utils/hooks/core/query.js.map +1 -1
- package/lib/commonjs/utils/hooks/core/trust-entity.js +17 -7
- package/lib/commonjs/utils/hooks/core/trust-entity.js.map +1 -1
- package/lib/commonjs/utils/hooks/credential-card/credential-card-expanding.js.map +1 -1
- package/lib/commonjs/utils/hooks/header/on-scroll-header-state.js +1 -2
- package/lib/commonjs/utils/hooks/header/on-scroll-header-state.js.map +1 -1
- package/lib/commonjs/utils/hooks/http/client.js.map +1 -1
- package/lib/commonjs/utils/hooks/index.js.map +1 -1
- package/lib/commonjs/utils/hooks/list/list-content-inset.js +9 -10
- package/lib/commonjs/utils/hooks/list/list-content-inset.js.map +1 -1
- package/lib/commonjs/utils/hooks/navigation/before-remove.js.map +1 -1
- package/lib/commonjs/utils/hooks/navigation/close-button-timeout.js.map +1 -1
- package/lib/commonjs/utils/hooks/navigation/deep-link.js +3 -4
- package/lib/commonjs/utils/hooks/navigation/deep-link.js.map +1 -1
- package/lib/commonjs/utils/hooks/navigation/index.js.map +1 -1
- package/lib/commonjs/utils/hooks/navigation/open-settings.js +1 -2
- package/lib/commonjs/utils/hooks/navigation/open-settings.js.map +1 -1
- package/lib/commonjs/utils/hooks/pin-security/pin-security.js +1 -2
- package/lib/commonjs/utils/hooks/pin-security/pin-security.js.map +1 -1
- package/lib/commonjs/utils/hooks/revocation/credential-status.js +17 -26
- package/lib/commonjs/utils/hooks/revocation/credential-status.js.map +1 -1
- package/lib/commonjs/utils/index.js +37 -1
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/commonjs/utils/navigation.js +5 -5
- package/lib/commonjs/utils/navigation.js.map +1 -1
- package/lib/commonjs/utils/parsers/credential-images.js +1 -1
- package/lib/commonjs/utils/parsers/credential-images.js.map +1 -1
- package/lib/commonjs/utils/parsers/credential-sharing.js +24 -25
- package/lib/commonjs/utils/parsers/credential-sharing.js.map +1 -1
- package/lib/commonjs/utils/parsers/credential.js +23 -26
- package/lib/commonjs/utils/parsers/credential.js.map +1 -1
- package/lib/commonjs/utils/parsers/index.js +11 -0
- package/lib/commonjs/utils/parsers/index.js.map +1 -1
- package/lib/commonjs/utils/parsers/query.js +4 -3
- package/lib/commonjs/utils/parsers/query.js.map +1 -1
- package/lib/commonjs/utils/parsers/universal-links.js +33 -0
- package/lib/commonjs/utils/parsers/universal-links.js.map +1 -0
- package/lib/commonjs/utils/parsers/universal-links.test.js +40 -0
- package/lib/commonjs/utils/parsers/universal-links.test.js.map +1 -0
- package/lib/commonjs/utils/ref.js.map +1 -1
- package/lib/commonjs/utils/reporting.js +4 -2
- package/lib/commonjs/utils/reporting.js.map +1 -1
- package/lib/commonjs/utils/string.js.map +1 -1
- package/lib/commonjs/utils/testID.js +1 -4
- package/lib/commonjs/utils/testID.js.map +1 -1
- package/lib/commonjs/utils/testID.test.js.map +1 -1
- package/lib/commonjs/utils/useMemoAsync.js +9 -0
- package/lib/commonjs/utils/useMemoAsync.js.map +1 -1
- package/lib/commonjs/utils/uuid.js +1 -1
- package/lib/commonjs/utils/uuid.js.map +1 -1
- package/lib/module/components/backup/index.js.map +1 -1
- package/lib/module/components/backup/preview-credentials.js +17 -21
- package/lib/module/components/backup/preview-credentials.js.map +1 -1
- package/lib/module/components/credential/credential.js +10 -11
- package/lib/module/components/credential/credential.js.map +1 -1
- package/lib/module/components/credential/index.js.map +1 -1
- package/lib/module/components/entity/EntityButtons.js +17 -21
- package/lib/module/components/entity/EntityButtons.js.map +1 -1
- package/lib/module/components/entity/entity-attributes.js +13 -14
- package/lib/module/components/entity/entity-attributes.js.map +1 -1
- package/lib/module/components/entity/entity-details-with-buttons.js +29 -20
- package/lib/module/components/entity/entity-details-with-buttons.js.map +1 -1
- package/lib/module/components/entity/entity-details.js +28 -28
- package/lib/module/components/entity/entity-details.js.map +1 -1
- package/lib/module/components/entity/index.js.map +1 -1
- package/lib/module/components/history/history-details-screen.js +59 -0
- package/lib/module/components/history/history-details-screen.js.map +1 -0
- package/lib/module/components/history/history-list-item-icon.js +87 -0
- package/lib/module/components/history/history-list-item-icon.js.map +1 -0
- package/lib/module/components/history/history-list-item.js +46 -0
- package/lib/module/components/history/history-list-item.js.map +1 -0
- package/lib/module/components/history/history-list-screen.js +114 -0
- package/lib/module/components/history/history-list-screen.js.map +1 -0
- package/lib/module/components/history/history-list-section-header.js +29 -0
- package/lib/module/components/history/history-list-section-header.js.map +1 -0
- package/lib/module/components/history/history-list.js +90 -0
- package/lib/module/components/history/history-list.js.map +1 -0
- package/lib/module/components/history/index.js +7 -0
- package/lib/module/components/history/index.js.map +1 -0
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/navigation/header-buttons.js +19 -23
- package/lib/module/components/navigation/header-buttons.js.map +1 -1
- package/lib/module/components/navigation/index.js.map +1 -1
- package/lib/module/components/proof-request/group.js +3 -4
- package/lib/module/components/proof-request/group.js.map +1 -1
- package/lib/module/components/proof-request/index.js.map +1 -1
- package/lib/module/components/proof-request/select-credential.js +10 -11
- package/lib/module/components/proof-request/select-credential.js.map +1 -1
- package/lib/module/components/proof-request/share-credential.js +23 -26
- package/lib/module/components/proof-request/share-credential.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/normalize-color.d.js.map +1 -1
- package/lib/module/ui-components/accessibility/accessibility.js +5 -7
- package/lib/module/ui-components/accessibility/accessibility.js.map +1 -1
- package/lib/module/ui-components/accessibility/accessibilityHistory.js +4 -8
- package/lib/module/ui-components/accessibility/accessibilityHistory.js.map +1 -1
- package/lib/module/ui-components/accessibility/accessibilityHistoryWrappers.js +10 -8
- package/lib/module/ui-components/accessibility/accessibilityHistoryWrappers.js.map +1 -1
- package/lib/module/ui-components/accessibility/accessibilityLanguage.js +6 -8
- package/lib/module/ui-components/accessibility/accessibilityLanguage.js.map +1 -1
- package/lib/module/ui-components/accessibility/index.js +4 -4
- package/lib/module/ui-components/accessibility/index.js.map +1 -1
- package/lib/module/ui-components/accessibility/locale/index.js.map +1 -1
- package/lib/module/ui-components/accessibility/locale.test.js.map +1 -1
- package/lib/module/ui-components/action-modal/ActionModal.js +7 -8
- package/lib/module/ui-components/action-modal/ActionModal.js.map +1 -1
- package/lib/module/ui-components/action-modal/index.js.map +1 -1
- package/lib/module/ui-components/activity-indicator/activity-indicator.js +6 -7
- package/lib/module/ui-components/activity-indicator/activity-indicator.js.map +1 -1
- package/lib/module/ui-components/activity-indicator/index.js.map +1 -1
- package/lib/module/ui-components/blur/blur-view.js +10 -11
- package/lib/module/ui-components/blur/blur-view.js.map +1 -1
- package/lib/module/ui-components/blur/index.js.map +1 -1
- package/lib/module/ui-components/buttons/back-button.js +10 -11
- package/lib/module/ui-components/buttons/back-button.js.map +1 -1
- package/lib/module/ui-components/buttons/button.js +17 -18
- package/lib/module/ui-components/buttons/button.js.map +1 -1
- package/lib/module/ui-components/buttons/connectivity-button.js +14 -14
- package/lib/module/ui-components/buttons/connectivity-button.js.map +1 -1
- package/lib/module/ui-components/buttons/filter-button.js +6 -7
- package/lib/module/ui-components/buttons/filter-button.js.map +1 -1
- package/lib/module/ui-components/buttons/ghost-button.js +9 -10
- package/lib/module/ui-components/buttons/ghost-button.js.map +1 -1
- package/lib/module/ui-components/buttons/hold-button.js +236 -0
- package/lib/module/ui-components/buttons/hold-button.js.map +1 -0
- package/lib/module/ui-components/buttons/index.js +8 -7
- package/lib/module/ui-components/buttons/index.js.map +1 -1
- package/lib/module/ui-components/buttons/scan-button.js +5 -6
- package/lib/module/ui-components/buttons/scan-button.js.map +1 -1
- package/lib/module/ui-components/camera/camera-overlay.js +7 -9
- package/lib/module/ui-components/camera/camera-overlay.js.map +1 -1
- package/lib/module/ui-components/camera/index.js.map +1 -1
- package/lib/module/ui-components/camera/qr-code-scanner.js +8 -9
- package/lib/module/ui-components/camera/qr-code-scanner.js.map +1 -1
- package/lib/module/ui-components/control/checkbox.js +9 -10
- package/lib/module/ui-components/control/checkbox.js.map +1 -1
- package/lib/module/ui-components/control/index.js.map +1 -1
- package/lib/module/ui-components/control/switch.js +8 -9
- package/lib/module/ui-components/control/switch.js.map +1 -1
- package/lib/module/ui-components/credential/card/credential-card.js +16 -17
- package/lib/module/ui-components/credential/card/credential-card.js.map +1 -1
- package/lib/module/ui-components/credential/card/credential-details-card.js +26 -30
- package/lib/module/ui-components/credential/card/credential-details-card.js.map +1 -1
- package/lib/module/ui-components/credential/card/credential-details-list-item.js +23 -15
- package/lib/module/ui-components/credential/card/credential-details-list-item.js.map +1 -1
- package/lib/module/ui-components/credential/card/credential-header.js +21 -19
- package/lib/module/ui-components/credential/card/credential-header.js.map +1 -1
- package/lib/module/ui-components/credential/card/credential-image-carousel.js +23 -23
- package/lib/module/ui-components/credential/card/credential-image-carousel.js.map +1 -1
- package/lib/module/ui-components/credential/card/index.js +10 -10
- package/lib/module/ui-components/credential/card/index.js.map +1 -1
- package/lib/module/ui-components/credential/credential-attribute-item.js +47 -55
- package/lib/module/ui-components/credential/credential-attribute-item.js.map +1 -1
- package/lib/module/ui-components/credential/credential-carousel-images.js +15 -18
- package/lib/module/ui-components/credential/credential-carousel-images.js.map +1 -1
- package/lib/module/ui-components/credential/index.js +2 -2
- package/lib/module/ui-components/credential/index.js.map +1 -1
- package/lib/module/ui-components/credential/selector-status.js +3 -3
- package/lib/module/ui-components/credential/selector-status.js.map +1 -1
- package/lib/module/ui-components/credential/selector.js +5 -6
- package/lib/module/ui-components/credential/selector.js.map +1 -1
- package/lib/module/ui-components/detail/detail.js +9 -10
- package/lib/module/ui-components/detail/detail.js.map +1 -1
- package/lib/module/ui-components/detail/index.js.map +1 -1
- package/lib/module/ui-components/entity/avatar.js +10 -11
- package/lib/module/ui-components/entity/avatar.js.map +1 -1
- package/lib/module/ui-components/entity/entity-cluster.js +12 -14
- package/lib/module/ui-components/entity/entity-cluster.js.map +1 -1
- package/lib/module/ui-components/entity/index.js.map +1 -1
- package/lib/module/ui-components/header/focus-aware-status-bar.js +1 -1
- package/lib/module/ui-components/header/focus-aware-status-bar.js.map +1 -1
- package/lib/module/ui-components/header/foldable-header.js +10 -12
- package/lib/module/ui-components/header/foldable-header.js.map +1 -1
- package/lib/module/ui-components/header/header.js +10 -11
- package/lib/module/ui-components/header/header.js.map +1 -1
- package/lib/module/ui-components/header/index.js +6 -6
- package/lib/module/ui-components/header/index.js.map +1 -1
- package/lib/module/ui-components/header/navigation-header.js +23 -28
- package/lib/module/ui-components/header/navigation-header.js.map +1 -1
- package/lib/module/ui-components/history/data-item.js +23 -15
- package/lib/module/ui-components/history/data-item.js.map +1 -1
- package/lib/module/ui-components/history/history-details.js +171 -0
- package/lib/module/ui-components/history/history-details.js.map +1 -0
- package/lib/module/ui-components/history/{history-list-item.js → history-item.js} +44 -22
- package/lib/module/ui-components/history/history-item.js.map +1 -0
- package/lib/module/ui-components/history/history-section-header.js +6 -7
- package/lib/module/ui-components/history/history-section-header.js.map +1 -1
- package/lib/module/ui-components/history/history-section-list-item.js +8 -9
- package/lib/module/ui-components/history/history-section-list-item.js.map +1 -1
- package/lib/module/ui-components/history/index.js +5 -4
- package/lib/module/ui-components/history/index.js.map +1 -1
- package/lib/module/ui-components/icons/connectivity.js +16 -21
- package/lib/module/ui-components/icons/connectivity.js.map +1 -1
- package/lib/module/ui-components/icons/credential.js +57 -68
- package/lib/module/ui-components/icons/credential.js.map +1 -1
- package/lib/module/ui-components/icons/entity.js +31 -5
- package/lib/module/ui-components/icons/entity.js.map +1 -1
- package/lib/module/ui-components/icons/history.js +103 -128
- package/lib/module/ui-components/icons/history.js.map +1 -1
- package/lib/module/ui-components/icons/icons.js +70 -87
- package/lib/module/ui-components/icons/icons.js.map +1 -1
- package/lib/module/ui-components/icons/index.js.map +1 -1
- package/lib/module/ui-components/icons/input.js.map +1 -1
- package/lib/module/ui-components/icons/keypad.js +66 -78
- package/lib/module/ui-components/icons/keypad.js.map +1 -1
- package/lib/module/ui-components/icons/loader.js +1 -1
- package/lib/module/ui-components/icons/loader.js.map +1 -1
- package/lib/module/ui-components/icons/nerd-view.js.map +1 -1
- package/lib/module/ui-components/icons/selector.js +5 -6
- package/lib/module/ui-components/icons/selector.js.map +1 -1
- package/lib/module/ui-components/icons/wallet.js +13 -16
- package/lib/module/ui-components/icons/wallet.js.map +1 -1
- package/lib/module/ui-components/image/image-or-component.js +12 -14
- package/lib/module/ui-components/image/image-or-component.js.map +1 -1
- package/lib/module/ui-components/image/index.js +2 -2
- package/lib/module/ui-components/image/index.js.map +1 -1
- package/lib/module/ui-components/index.js.map +1 -1
- package/lib/module/ui-components/input/index.js.map +1 -1
- package/lib/module/ui-components/input/radio-group.js +26 -22
- package/lib/module/ui-components/input/radio-group.js.map +1 -1
- package/lib/module/ui-components/input/selection-input.js +21 -31
- package/lib/module/ui-components/input/selection-input.js.map +1 -1
- package/lib/module/ui-components/input/text-input.js +21 -22
- package/lib/module/ui-components/input/text-input.js.map +1 -1
- package/lib/module/ui-components/list/index.js +1 -0
- package/lib/module/ui-components/list/index.js.map +1 -1
- package/lib/module/ui-components/list/list-page-loading-indicator.js +7 -0
- package/lib/module/ui-components/list/list-page-loading-indicator.js.map +1 -0
- package/lib/module/ui-components/list/list-section-header.js +8 -9
- package/lib/module/ui-components/list/list-section-header.js.map +1 -1
- package/lib/module/ui-components/list/list-title-header.js +4 -5
- package/lib/module/ui-components/list/list-title-header.js.map +1 -1
- package/lib/module/ui-components/list/wallet/empty-list.js +66 -0
- package/lib/module/ui-components/list/wallet/empty-list.js.map +1 -0
- package/lib/module/ui-components/list/wallet/empty-search-result.js +34 -0
- package/lib/module/ui-components/list/wallet/empty-search-result.js.map +1 -0
- package/lib/module/ui-components/list/wallet/index.js +4 -0
- package/lib/module/ui-components/list/wallet/index.js.map +1 -0
- package/lib/module/ui-components/loader/index.js.map +1 -1
- package/lib/module/ui-components/loader/loader.js +14 -12
- package/lib/module/ui-components/loader/loader.js.map +1 -1
- package/lib/module/ui-components/loader/loading-result.js +21 -19
- package/lib/module/ui-components/loader/loading-result.js.map +1 -1
- package/lib/module/ui-components/nerd-view/index.js +2 -2
- package/lib/module/ui-components/nerd-view/index.js.map +1 -1
- package/lib/module/ui-components/nerd-view/nerd-mode-item.js +31 -34
- package/lib/module/ui-components/nerd-view/nerd-mode-item.js.map +1 -1
- package/lib/module/ui-components/pin/index.js.map +1 -1
- package/lib/module/ui-components/pin/keypad.js +17 -19
- package/lib/module/ui-components/pin/keypad.js.map +1 -1
- package/lib/module/ui-components/pin/pin-code-screen.js +16 -17
- package/lib/module/ui-components/pin/pin-code-screen.js.map +1 -1
- package/lib/module/ui-components/pin/pin-lock-animation.js.map +1 -1
- package/lib/module/ui-components/pin/pin-lock.js +6 -7
- package/lib/module/ui-components/pin/pin-lock.js.map +1 -1
- package/lib/module/ui-components/pin/pins.js +7 -8
- package/lib/module/ui-components/pin/pins.js.map +1 -1
- package/lib/module/ui-components/screens/backup-screen.js +13 -14
- package/lib/module/ui-components/screens/backup-screen.js.map +1 -1
- package/lib/module/ui-components/screens/image-preview-screen.js +9 -10
- package/lib/module/ui-components/screens/image-preview-screen.js.map +1 -1
- package/lib/module/ui-components/screens/index.js +12 -12
- package/lib/module/ui-components/screens/index.js.map +1 -1
- package/lib/module/ui-components/screens/nerd-mode-screen.js +30 -35
- package/lib/module/ui-components/screens/nerd-mode-screen.js.map +1 -1
- package/lib/module/ui-components/screens/qr-code-scanner-screen.js +10 -11
- package/lib/module/ui-components/screens/qr-code-scanner-screen.js.map +1 -1
- package/lib/module/ui-components/screens/scroll-view-screen.js +10 -11
- package/lib/module/ui-components/screens/scroll-view-screen.js.map +1 -1
- package/lib/module/ui-components/screens/section-list-screen.js +11 -12
- package/lib/module/ui-components/screens/section-list-screen.js.map +1 -1
- package/lib/module/ui-components/searchbar/animated-search-bar.js +6 -7
- package/lib/module/ui-components/searchbar/animated-search-bar.js.map +1 -1
- package/lib/module/ui-components/searchbar/index.js.map +1 -1
- package/lib/module/ui-components/searchbar/search-bar.js +11 -12
- package/lib/module/ui-components/searchbar/search-bar.js.map +1 -1
- package/lib/module/ui-components/settings/button-setting.js +10 -11
- package/lib/module/ui-components/settings/button-setting.js.map +1 -1
- package/lib/module/ui-components/settings/index.js.map +1 -1
- package/lib/module/ui-components/settings/setting-item-separator.js +4 -5
- package/lib/module/ui-components/settings/setting-item-separator.js.map +1 -1
- package/lib/module/ui-components/settings/setting-item.js +7 -8
- package/lib/module/ui-components/settings/setting-item.js.map +1 -1
- package/lib/module/ui-components/settings/settings-button.js +5 -6
- package/lib/module/ui-components/settings/settings-button.js.map +1 -1
- package/lib/module/ui-components/settings/switch-setting.js +9 -10
- package/lib/module/ui-components/settings/switch-setting.js.map +1 -1
- package/lib/module/ui-components/state/error-screen.js +7 -8
- package/lib/module/ui-components/state/error-screen.js.map +1 -1
- package/lib/module/ui-components/state/index.js.map +1 -1
- package/lib/module/ui-components/text/base.js +12 -13
- package/lib/module/ui-components/text/base.js.map +1 -1
- package/lib/module/ui-components/text/font.js +10 -11
- package/lib/module/ui-components/text/font.js.map +1 -1
- package/lib/module/ui-components/text/index.js +2 -2
- package/lib/module/ui-components/text/index.js.map +1 -1
- package/lib/module/ui-components/text/typography.js +8 -10
- package/lib/module/ui-components/text/typography.js.map +1 -1
- package/lib/module/ui-components/theme/color-scheme-context.js +1 -0
- package/lib/module/ui-components/theme/color-scheme-context.js.map +1 -1
- package/lib/module/ui-components/theme/color-scheme.js.map +1 -1
- package/lib/module/ui-components/theme/index.js.map +1 -1
- package/lib/module/utils/array.js.map +1 -1
- package/lib/module/utils/backup.js.map +1 -1
- package/lib/module/utils/color.js.map +1 -1
- package/lib/module/utils/contrasting-status-bar.js +5 -6
- package/lib/module/utils/contrasting-status-bar.js.map +1 -1
- package/lib/module/utils/date.js +4 -4
- package/lib/module/utils/date.js.map +1 -1
- package/lib/module/utils/filtering.js +4 -0
- package/lib/module/utils/filtering.js.map +1 -0
- package/lib/module/utils/history.js +66 -0
- package/lib/module/utils/history.js.map +1 -0
- package/lib/module/utils/hooks/connectivity/connectivity.js +36 -19
- package/lib/module/utils/hooks/connectivity/connectivity.js.map +1 -1
- package/lib/module/utils/hooks/connectivity/connectivity.test.js +6 -0
- package/lib/module/utils/hooks/connectivity/connectivity.test.js.map +1 -1
- package/lib/module/utils/hooks/core/backup.js +31 -31
- package/lib/module/utils/hooks/core/backup.js.map +1 -1
- package/lib/module/utils/hooks/core/cache.js +37 -0
- package/lib/module/utils/hooks/core/cache.js.map +1 -0
- package/lib/module/utils/hooks/core/core-config.js +11 -0
- package/lib/module/utils/hooks/core/core-config.js.map +1 -1
- package/lib/module/utils/hooks/core/core-context.js +14 -9
- package/lib/module/utils/hooks/core/core-context.js.map +1 -1
- package/lib/module/utils/hooks/core/core-init.js +42 -30
- package/lib/module/utils/hooks/core/core-init.js.map +1 -1
- package/lib/module/utils/hooks/core/credential-schemas.js +12 -19
- package/lib/module/utils/hooks/core/credential-schemas.js.map +1 -1
- package/lib/module/utils/hooks/core/credentials.js +27 -36
- package/lib/module/utils/hooks/core/credentials.js.map +1 -1
- package/lib/module/utils/hooks/core/dids.js +3 -4
- package/lib/module/utils/hooks/core/dids.js.map +1 -1
- package/lib/module/utils/hooks/core/error-code.js +3 -3
- package/lib/module/utils/hooks/core/error-code.js.map +1 -1
- package/lib/module/utils/hooks/core/history.js +4 -35
- package/lib/module/utils/hooks/core/history.js.map +1 -1
- package/lib/module/utils/hooks/core/identifiers.js +13 -0
- package/lib/module/utils/hooks/core/identifiers.js.map +1 -0
- package/lib/module/utils/hooks/core/index.js +2 -0
- package/lib/module/utils/hooks/core/index.js.map +1 -1
- package/lib/module/utils/hooks/core/proof-schemas.js +19 -30
- package/lib/module/utils/hooks/core/proof-schemas.js.map +1 -1
- package/lib/module/utils/hooks/core/proofs.js +102 -67
- package/lib/module/utils/hooks/core/proofs.js.map +1 -1
- package/lib/module/utils/hooks/core/query.js.map +1 -1
- package/lib/module/utils/hooks/core/trust-entity.js +16 -6
- package/lib/module/utils/hooks/core/trust-entity.js.map +1 -1
- package/lib/module/utils/hooks/credential-card/credential-card-expanding.js.map +1 -1
- package/lib/module/utils/hooks/header/on-scroll-header-state.js +1 -2
- package/lib/module/utils/hooks/header/on-scroll-header-state.js.map +1 -1
- package/lib/module/utils/hooks/http/client.js.map +1 -1
- package/lib/module/utils/hooks/index.js.map +1 -1
- package/lib/module/utils/hooks/list/list-content-inset.js +9 -10
- package/lib/module/utils/hooks/list/list-content-inset.js.map +1 -1
- package/lib/module/utils/hooks/navigation/before-remove.js.map +1 -1
- package/lib/module/utils/hooks/navigation/close-button-timeout.js.map +1 -1
- package/lib/module/utils/hooks/navigation/deep-link.js +3 -4
- package/lib/module/utils/hooks/navigation/deep-link.js.map +1 -1
- package/lib/module/utils/hooks/navigation/index.js.map +1 -1
- package/lib/module/utils/hooks/navigation/open-settings.js +1 -2
- package/lib/module/utils/hooks/navigation/open-settings.js.map +1 -1
- package/lib/module/utils/hooks/pin-security/pin-security.js +1 -2
- package/lib/module/utils/hooks/pin-security/pin-security.js.map +1 -1
- package/lib/module/utils/hooks/revocation/credential-status.js +17 -26
- package/lib/module/utils/hooks/revocation/credential-status.js.map +1 -1
- package/lib/module/utils/index.js +3 -0
- package/lib/module/utils/index.js.map +1 -1
- package/lib/module/utils/navigation.js +5 -5
- package/lib/module/utils/navigation.js.map +1 -1
- package/lib/module/utils/parsers/credential-images.js.map +1 -1
- package/lib/module/utils/parsers/credential-sharing.js +23 -24
- package/lib/module/utils/parsers/credential-sharing.js.map +1 -1
- package/lib/module/utils/parsers/credential.js +23 -25
- package/lib/module/utils/parsers/credential.js.map +1 -1
- package/lib/module/utils/parsers/index.js +1 -0
- package/lib/module/utils/parsers/index.js.map +1 -1
- package/lib/module/utils/parsers/query.js +4 -3
- package/lib/module/utils/parsers/query.js.map +1 -1
- package/lib/module/utils/parsers/universal-links.js +25 -0
- package/lib/module/utils/parsers/universal-links.js.map +1 -0
- package/lib/module/utils/parsers/universal-links.test.js +38 -0
- package/lib/module/utils/parsers/universal-links.test.js.map +1 -0
- package/lib/module/utils/ref.js.map +1 -1
- package/lib/module/utils/reporting.js +1 -0
- package/lib/module/utils/reporting.js.map +1 -1
- package/lib/module/utils/string.js.map +1 -1
- package/lib/module/utils/testID.js +1 -4
- package/lib/module/utils/testID.js.map +1 -1
- package/lib/module/utils/testID.test.js.map +1 -1
- package/lib/module/utils/useMemoAsync.js +10 -0
- package/lib/module/utils/useMemoAsync.js.map +1 -1
- package/lib/module/utils/uuid.js.map +1 -1
- package/lib/typescript/components/entity/entity-attributes.d.ts +1 -0
- package/lib/typescript/components/entity/entity-details-with-buttons.d.ts +3 -2
- package/lib/typescript/components/entity/entity-details.d.ts +3 -2
- package/lib/typescript/components/history/history-details-screen.d.ts +20 -0
- package/lib/typescript/components/history/history-list-item-icon.d.ts +8 -0
- package/lib/typescript/components/history/history-list-item.d.ts +21 -0
- package/lib/typescript/components/history/history-list-screen.d.ts +24 -0
- package/lib/typescript/components/history/history-list-section-header.d.ts +13 -0
- package/lib/typescript/components/history/history-list.d.ts +19 -0
- package/lib/typescript/components/history/index.d.ts +6 -0
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/ui-components/accessibility/accessibility.d.ts +2 -2
- package/lib/typescript/ui-components/accessibility/accessibilityHistory.d.ts +1 -1
- package/lib/typescript/ui-components/accessibility/accessibilityHistoryWrappers.d.ts +3 -3
- package/lib/typescript/ui-components/accessibility/index.d.ts +5 -3
- package/lib/typescript/ui-components/buttons/button.d.ts +2 -2
- package/lib/typescript/ui-components/buttons/hold-button.d.ts +16 -0
- package/lib/typescript/ui-components/buttons/index.d.ts +15 -7
- package/lib/typescript/ui-components/buttons/scan-button.d.ts +2 -2
- package/lib/typescript/ui-components/credential/card/credential-header.d.ts +1 -1
- package/lib/typescript/ui-components/credential/card/index.d.ts +10 -5
- package/lib/typescript/ui-components/credential/index.d.ts +2 -1
- package/lib/typescript/ui-components/header/index.d.ts +6 -3
- package/lib/typescript/ui-components/history/data-item.d.ts +2 -2
- package/lib/typescript/ui-components/history/history-details.d.ts +51 -0
- package/lib/typescript/ui-components/history/{history-list-item.d.ts → history-item.d.ts} +4 -3
- package/lib/typescript/ui-components/history/history-section-header.d.ts +2 -2
- package/lib/typescript/ui-components/history/history-section-list-item.d.ts +2 -2
- package/lib/typescript/ui-components/history/index.d.ts +5 -4
- package/lib/typescript/ui-components/icons/entity.d.ts +1 -0
- package/lib/typescript/ui-components/icons/history.d.ts +22 -35
- package/lib/typescript/ui-components/image/index.d.ts +2 -1
- package/lib/typescript/ui-components/input/selection-input.d.ts +1 -1
- package/lib/typescript/ui-components/list/index.d.ts +1 -0
- package/lib/typescript/ui-components/list/list-page-loading-indicator.d.ts +4 -0
- package/lib/typescript/ui-components/list/wallet/empty-list.d.ts +10 -0
- package/lib/typescript/ui-components/list/wallet/empty-search-result.d.ts +7 -0
- package/lib/typescript/ui-components/list/wallet/index.d.ts +3 -0
- package/lib/typescript/ui-components/nerd-view/index.d.ts +2 -1
- package/lib/typescript/ui-components/pin/keypad.d.ts +2 -2
- package/lib/typescript/ui-components/screens/index.d.ts +12 -6
- package/lib/typescript/ui-components/screens/nerd-mode-screen.d.ts +4 -4
- package/lib/typescript/ui-components/text/index.d.ts +2 -1
- package/lib/typescript/ui-components/text/typography.d.ts +14 -14
- package/lib/typescript/ui-components/theme/color-scheme.d.ts +1 -0
- package/lib/typescript/utils/filtering.d.ts +1 -0
- package/lib/typescript/utils/history.d.ts +10 -0
- package/lib/typescript/utils/hooks/connectivity/connectivity.d.ts +1 -1
- package/lib/typescript/utils/hooks/core/backup.d.ts +2 -1
- package/lib/typescript/utils/hooks/core/cache.d.ts +2 -0
- package/lib/typescript/utils/hooks/core/core-config.d.ts +5 -1
- package/lib/typescript/utils/hooks/core/core-init.d.ts +10 -1
- package/lib/typescript/utils/hooks/core/credentials.d.ts +9 -4
- package/lib/typescript/utils/hooks/core/history.d.ts +2 -5
- package/lib/typescript/utils/hooks/core/identifiers.d.ts +2 -0
- package/lib/typescript/utils/hooks/core/index.d.ts +2 -0
- package/lib/typescript/utils/hooks/core/proofs.d.ts +16 -9
- package/lib/typescript/utils/hooks/core/trust-entity.d.ts +6 -1
- package/lib/typescript/utils/hooks/revocation/credential-status.d.ts +2 -1
- package/lib/typescript/utils/index.d.ts +3 -0
- package/lib/typescript/utils/parsers/index.d.ts +1 -0
- package/lib/typescript/utils/parsers/universal-links.d.ts +1 -0
- package/lib/typescript/utils/parsers/universal-links.test.d.ts +1 -0
- package/lib/typescript/utils/ref.d.ts +1 -1
- package/package.json +61 -47
- package/src/components/entity/entity-attributes.tsx +5 -4
- package/src/components/entity/entity-details-with-buttons.tsx +20 -13
- package/src/components/entity/entity-details.tsx +24 -27
- package/src/components/history/history-details-screen.tsx +89 -0
- package/src/components/history/history-list-item-icon.tsx +113 -0
- package/src/components/history/history-list-item.tsx +64 -0
- package/src/components/history/history-list-screen.tsx +157 -0
- package/src/components/history/history-list-section-header.tsx +42 -0
- package/src/components/history/history-list.tsx +116 -0
- package/src/components/history/index.tsx +6 -0
- package/src/components/index.ts +1 -0
- package/src/components/proof-request/share-credential.tsx +2 -1
- package/src/ui-components/accessibility/accessibility.ts +2 -2
- package/src/ui-components/accessibility/accessibilityHistory.tsx +2 -2
- package/src/ui-components/accessibility/accessibilityHistoryWrappers.tsx +3 -5
- package/src/ui-components/accessibility/index.ts +4 -3
- package/src/ui-components/action-modal/ActionModal.stories.tsx +7 -3
- package/src/ui-components/activity-indicator/activity-indicator.stories.tsx +3 -6
- package/src/ui-components/buttons/back-button.stories.tsx +7 -8
- package/src/ui-components/buttons/button.stories.tsx +9 -10
- package/src/ui-components/buttons/connectivity-button.stories.tsx +10 -11
- package/src/ui-components/buttons/connectivity-button.tsx +1 -1
- package/src/ui-components/buttons/ghost-button.stories.tsx +8 -8
- package/src/ui-components/buttons/hold-button.stories.tsx +29 -0
- package/src/ui-components/buttons/hold-button.tsx +276 -0
- package/src/ui-components/buttons/index.ts +16 -6
- package/src/ui-components/buttons/scan-button.stories.tsx +8 -4
- package/src/ui-components/control/checkbox.stories.tsx +8 -8
- package/src/ui-components/control/switch.stories.tsx +11 -8
- package/src/ui-components/credential/card/credential-card.stories.tsx +22 -25
- package/src/ui-components/credential/card/credential-details-card.stories.tsx +249 -245
- package/src/ui-components/credential/card/credential-details-card.tsx +2 -2
- package/src/ui-components/credential/card/credential-details-list-item.tsx +16 -6
- package/src/ui-components/credential/card/credential-header.stories.tsx +15 -17
- package/src/ui-components/credential/card/credential-header.tsx +4 -1
- package/src/ui-components/credential/card/credential-image-carousel.tsx +4 -0
- package/src/ui-components/credential/card/index.ts +11 -5
- package/src/ui-components/credential/index.ts +2 -1
- package/src/ui-components/credential/selector.stories.tsx +7 -7
- package/src/ui-components/detail/detail.stories.tsx +11 -8
- package/src/ui-components/entity/avatar.stories.tsx +10 -7
- package/src/ui-components/entity/entity-cluster.stories.tsx +11 -8
- package/src/ui-components/entity/entity-cluster.tsx +1 -1
- package/src/ui-components/header/header.stories.tsx +10 -7
- package/src/ui-components/header/index.ts +6 -3
- package/src/ui-components/header/navigation-header.stories.tsx +11 -8
- package/src/ui-components/history/data-item.tsx +13 -4
- package/src/ui-components/history/history-details.tsx +247 -0
- package/src/ui-components/history/{history-list-item.tsx → history-item.tsx} +72 -33
- package/src/ui-components/history/history-section-header.tsx +2 -2
- package/src/ui-components/history/history-section-list-item.tsx +3 -3
- package/src/ui-components/history/index.ts +5 -4
- package/src/ui-components/icons/entity.tsx +27 -0
- package/src/ui-components/icons/history.tsx +84 -131
- package/src/ui-components/image/index.tsx +2 -1
- package/src/ui-components/input/radio-group.stories.tsx +34 -0
- package/src/ui-components/input/radio-group.tsx +8 -2
- package/src/ui-components/input/selection-input.stories.tsx +20 -17
- package/src/ui-components/list/index.ts +1 -0
- package/src/ui-components/list/list-page-loading-indicator.tsx +8 -0
- package/src/ui-components/list/wallet/empty-list.tsx +75 -0
- package/src/ui-components/list/wallet/empty-search-result.tsx +39 -0
- package/src/ui-components/list/wallet/index.tsx +4 -0
- package/src/ui-components/loader/loader.stories.tsx +6 -9
- package/src/ui-components/loader/loader.tsx +6 -3
- package/src/ui-components/loader/loading-result.stories.tsx +13 -10
- package/src/ui-components/loader/loading-result.tsx +8 -4
- package/src/ui-components/nerd-view/index.ts +2 -1
- package/src/ui-components/nerd-view/nerd-mode-item.tsx +2 -2
- package/src/ui-components/pin/pin-code-screen.stories.tsx +20 -13
- package/src/ui-components/screens/image-preview-screen.stories.tsx +9 -6
- package/src/ui-components/screens/index.ts +12 -6
- package/src/ui-components/screens/nerd-mode-screen.tsx +6 -6
- package/src/ui-components/screens/qr-code-scanner-screen.stories.tsx +10 -7
- package/src/ui-components/searchbar/search-bar.stories.tsx +15 -8
- package/src/ui-components/searchbar/search-bar.tsx +2 -2
- package/src/ui-components/state/error-screen.stories.tsx +8 -9
- package/src/ui-components/state/error-screen.tsx +1 -1
- package/src/ui-components/text/index.ts +2 -1
- package/src/ui-components/text/typography.stories.tsx +19 -12
- package/src/ui-components/theme/color-scheme-context.tsx +1 -0
- package/src/ui-components/theme/color-scheme.ts +1 -0
- package/src/utils/date.ts +5 -5
- package/src/utils/filtering.ts +5 -0
- package/src/utils/history.ts +71 -0
- package/src/utils/hooks/connectivity/connectivity.test.ts +8 -0
- package/src/utils/hooks/connectivity/connectivity.ts +28 -4
- package/src/utils/hooks/core/backup.ts +25 -21
- package/src/utils/hooks/core/cache.ts +43 -0
- package/src/utils/hooks/core/core-config.ts +19 -0
- package/src/utils/hooks/core/core-context.tsx +15 -2
- package/src/utils/hooks/core/core-init.ts +45 -27
- package/src/utils/hooks/core/credential-schemas.ts +1 -1
- package/src/utils/hooks/core/credentials.ts +18 -17
- package/src/utils/hooks/core/history.ts +2 -57
- package/src/utils/hooks/core/identifiers.ts +18 -0
- package/src/utils/hooks/core/index.ts +3 -1
- package/src/utils/hooks/core/proof-schemas.ts +1 -1
- package/src/utils/hooks/core/proofs.ts +111 -51
- package/src/utils/hooks/core/trust-entity.ts +21 -13
- package/src/utils/hooks/navigation/open-settings.ts +2 -3
- package/src/utils/hooks/revocation/credential-status.ts +3 -2
- package/src/utils/index.ts +3 -0
- package/src/utils/navigation.ts +4 -2
- package/src/utils/parsers/credential-sharing.tsx +25 -25
- package/src/utils/parsers/credential.ts +5 -1
- package/src/utils/parsers/index.ts +1 -0
- package/src/utils/parsers/query.tsx +4 -2
- package/src/utils/parsers/universal-links.test.ts +57 -0
- package/src/utils/parsers/universal-links.ts +26 -0
- package/src/utils/ref.ts +1 -1
- package/src/utils/reporting.ts +1 -0
- package/lib/commonjs/ui-components/history/history-list-item.js.map +0 -1
- package/lib/module/ui-components/history/history-list-item.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Circle","Defs","G","LinearGradient","Path","RadialGradient","Stop","useAppColorScheme","LoaderProgressSpinner","props","colorScheme","createElement","_extends","color","accent","fill","height","viewBox","width","id","offset","stopColor","stopOpacity","strokeWidth","d","stroke","strokeLinecap","LoaderSuccess","cx","cy","r","gradientTransform","gradientUnits","x1","x2","y1","y2","LoaderWarning","warning","strokeOpacity","LoaderError"],"sources":["loader.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport Svg, { Circle, Defs, G, LinearGradient, Path, RadialGradient, Stop, SvgProps } from 'react-native-svg';\n\nimport { useAppColorScheme } from '../theme/color-scheme-context';\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=444-45709&mode=design&t=YI1oD2BfBie5HcvJ-0\nexport const LoaderProgressSpinner: FC<SvgProps> = (props) => {\n const colorScheme = useAppColorScheme();\n return (\n <Svg color={colorScheme.accent} fill=\"none\" height={64} viewBox=\"0 0 64 64\" width={64} {...props}>\n <Defs>\n <LinearGradient id=\"a\">\n <Stop offset=\"0%\" stopColor={colorScheme.accent} stopOpacity={0} />\n <Stop offset=\"100%\" stopColor={colorScheme.accent} stopOpacity={0.5} />\n </LinearGradient>\n <LinearGradient id=\"b\">\n <Stop offset=\"0%\" stopColor={colorScheme.accent} />\n <Stop offset=\"100%\" stopColor={colorScheme.accent} stopOpacity={0.5} />\n </LinearGradient>\n </Defs>\n <G strokeWidth={6}>\n <Path d=\"M3 32a29 29 0 0158 0\" stroke=\"url(#a)\" />\n <Path d=\"M61 32a29 29 0 01-58 0\" stroke=\"url(#b)\" />\n <Path d=\"M4 100a96 96 0 010-2\" stroke={colorScheme.accent} strokeLinecap=\"round\" />\n </G>\n </Svg>\n );\n};\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=444-48609&mode=design&t=YI1oD2BfBie5HcvJ-0\nexport const LoaderSuccess: FC<SvgProps> = (props) => (\n <Svg fill=\"none\" height={64} viewBox=\"0 0 65 64\" width={65} {...props}>\n <Path\n d=\"M58.5 32c0-14.36-11.64-26-26-26s-26 11.64-26 26 11.64 26 26 26 26-11.64 26-26z\"\n fill=\"url(#paint0_angular_1381_17086)\"\n />\n <Circle cx={32.5} cy={32} fill=\"url(#paint1_linear_1381_17086)\" r={32} />\n <Path\n d=\"M41.636 25.194a.772.772 0 00-1.023 0L29.925 35.66l-5.524-5.548-.003-.003a.735.735 0 00-1.023 0l-.667.643-.012.013a.756.756 0 000 1.015L29.92 39l12.374-12.116.01-.01a.737.737 0 000-1l-.655-.668-.014-.012z\"\n fill=\"#fff\"\n />\n <Defs>\n <RadialGradient\n cx={0}\n cy={0}\n gradientTransform=\"matrix(0 -26 26 0 32.5 32)\"\n gradientUnits=\"userSpaceOnUse\"\n id=\"paint0_angular_1381_17086\"\n r={1}>\n <Stop stopColor=\"#0F151A\" />\n <Stop offset={0.715} stopColor=\"#3F7BA6\" stopOpacity={0.11} />\n <Stop offset={1} stopColor=\"#3F7BA6\" stopOpacity={0} />\n </RadialGradient>\n <LinearGradient gradientUnits=\"userSpaceOnUse\" id=\"paint1_linear_1381_17086\" x1={32.5} x2={32.5} y1={0} y2={64}>\n <Stop stopColor=\"#00D066\" />\n <Stop offset={1} stopColor=\"#2EEF8D\" />\n </LinearGradient>\n </Defs>\n </Svg>\n);\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=444-48595&mode=design&t=YI1oD2BfBie5HcvJ-0\nexport const LoaderWarning: FC<SvgProps> = (props) => {\n const colorScheme = useAppColorScheme();\n return (\n <Svg fill=\"none\" height={64} viewBox=\"0 0 65 64\" width={65} {...props}>\n <Path\n d=\"M16.751 51.233c-1.165 0-2.175-.255-3.032-.763a5.31 5.31 0 01-1.988-2.049c-.455-.856-.683-1.807-.683-2.851 0-1.018.268-1.988.803-2.912l15.543-27.09c.522-.95 1.225-1.667 2.109-2.149a5.709 5.709 0 012.771-.723c.964 0 1.881.242 2.751.723.87.469 1.58 1.185 2.129 2.15l15.543 27.089a5.775 5.775 0 01.803 2.912c0 1.044-.234 1.995-.703 2.851a5.31 5.31 0 01-1.988 2.049c-.843.508-1.847.763-3.012.763H16.75z\"\n fill={colorScheme.warning}\n />\n <Path\n d=\"M10.848 48.89h0l.005.011a6.31 6.31 0 002.355 2.428c1.036.615 2.23.904 3.543.904h31.046c1.312 0 2.5-.288 3.525-.905a6.31 6.31 0 002.353-2.427c.554-1.014.825-2.131.825-3.331a6.774 6.774 0 00-.938-3.414l-.003-.005-15.536-27.078-.001-.001c-.629-1.104-1.465-1.962-2.517-2.53a6.596 6.596 0 00-3.231-.845 6.709 6.709 0 00-3.25.845c-1.062.579-1.895 1.436-2.502 2.536L10.986 42.156l-.001.002c-.619 1.068-.937 2.21-.937 3.412 0 1.195.262 2.308.8 3.32z\"\n stroke=\"#fff\"\n strokeOpacity={0.2}\n strokeWidth={2}\n />\n <Path\n d=\"M34.121 35.61c-.026 1.245-.635 1.867-1.827 1.867-1.218 0-1.847-.616-1.887-1.847l-.282-10.122c-.026-.602.161-1.097.563-1.485.401-.402.93-.603 1.586-.603.643 0 1.171.2 1.587.602.415.389.609.89.582 1.507l-.322 10.08zM34.021 43.742c-.482.429-1.057.643-1.727.643-.67 0-1.252-.214-1.747-.643-.482-.428-.723-.977-.723-1.646 0-.656.241-1.205.723-1.647.482-.442 1.064-.663 1.747-.663.67 0 1.245.221 1.727.663.482.442.723.99.723 1.647 0 .67-.24 1.218-.723 1.646z\"\n fill=\"#000\"\n />\n </Svg>\n );\n};\n\n// https://www.figma.com/design/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?node-id=2942-29465&t=CZt3ManJltJXW5nT-0\nexport const LoaderError: FC<SvgProps> = (props) => {\n return (\n <Svg width={65} height={64} viewBox=\"0 0 65 64\" fill=\"none\" {...props}>\n <Path\n d=\"M58.5 32c0-14.36-11.64-26-26-26s-26 11.64-26 26 11.64 26 26 26 26-11.64 26-26z\"\n fill=\"url(#paint0_angular_2140_7619)\"\n />\n <Circle cx={32.5} cy={32} r={32} fill=\"url(#paint1_linear_2140_7619)\" />\n <Path\n d=\"M28.21 38.552c-.319.299-.704.448-1.156.448-.43 0-.8-.15-1.108-.448a1.548 1.548 0 01-.446-1.111c0-.431.154-.797.463-1.095L30.277 32l-4.314-4.313c-.309-.32-.463-.685-.463-1.095 0-.453.149-.823.446-1.111a1.537 1.537 0 011.108-.448c.43 0 .799.144 1.107.431l4.33 4.33 4.348-4.33c.308-.31.678-.464 1.107-.464.43 0 .794.155 1.091.465.309.298.463.663.463 1.094 0 .42-.154.79-.463 1.112L34.707 32l4.314 4.33c.308.287.462.657.462 1.11 0 .432-.154.803-.462 1.112a1.501 1.501 0 01-1.108.448c-.452 0-.826-.15-1.124-.448l-4.297-4.33-4.281 4.33z\"\n fill=\"#fff\"\n />\n <Defs>\n <RadialGradient\n id=\"paint0_angular_2140_7619\"\n cx={0}\n cy={0}\n r={1}\n gradientUnits=\"userSpaceOnUse\"\n gradientTransform=\"matrix(0 -26 26 0 32.5 32)\">\n <Stop stopColor=\"#0F151A\" />\n <Stop offset={0.715} stopColor=\"#3F7BA6\" stopOpacity={0.11} />\n <Stop offset={1} stopColor=\"#3F7BA6\" stopOpacity={0} />\n </RadialGradient>\n <LinearGradient id=\"paint1_linear_2140_7619\" x1={32.5} y1={0} x2={32.5} y2={64} gradientUnits=\"userSpaceOnUse\">\n <Stop stopColor=\"red\" />\n <Stop offset={1} stopColor=\"#C60505\" />\n </LinearGradient>\n </Defs>\n </Svg>\n );\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAc,OAAO;AACjC,OAAOC,GAAG,IAAIC,MAAM,EAAEC,IAAI,EAAEC,CAAC,EAAEC,cAA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;EAAgB,gBAC5GlC,KAAA,CAAAa,aAAA,CAACL,IAAI;IAACe,SAAS,EAAC;EAAK,EAAG,eACxBvB,KAAA,CAAAa,aAAA,CAACL,IAAI;IAACc,MAAM,EAAE,CAAE;IAACC,SAAS,EAAC;EAAS,EAAG,CACxB,CACZ,CACH;AAEV,CAAC"}
|
|
1
|
+
{"version":3,"names":["React","Svg","Circle","Defs","G","LinearGradient","Path","RadialGradient","Stop","useAppColorScheme","LoaderProgressSpinner","props","colorScheme","createElement","_extends","color","accent","fill","height","viewBox","width","id","offset","stopColor","stopOpacity","strokeWidth","d","stroke","strokeLinecap","LoaderSuccess","cx","cy","r","gradientTransform","gradientUnits","x1","x2","y1","y2","LoaderWarning","warning","strokeOpacity","LoaderError"],"sources":["loader.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport Svg, { Circle, Defs, G, LinearGradient, Path, RadialGradient, Stop, SvgProps } from 'react-native-svg';\n\nimport { useAppColorScheme } from '../theme/color-scheme-context';\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=444-45709&mode=design&t=YI1oD2BfBie5HcvJ-0\nexport const LoaderProgressSpinner: FC<SvgProps> = (props) => {\n const colorScheme = useAppColorScheme();\n return (\n <Svg color={colorScheme.accent} fill=\"none\" height={64} viewBox=\"0 0 64 64\" width={64} {...props}>\n <Defs>\n <LinearGradient id=\"a\">\n <Stop offset=\"0%\" stopColor={colorScheme.accent} stopOpacity={0} />\n <Stop offset=\"100%\" stopColor={colorScheme.accent} stopOpacity={0.5} />\n </LinearGradient>\n <LinearGradient id=\"b\">\n <Stop offset=\"0%\" stopColor={colorScheme.accent} />\n <Stop offset=\"100%\" stopColor={colorScheme.accent} stopOpacity={0.5} />\n </LinearGradient>\n </Defs>\n <G strokeWidth={6}>\n <Path d=\"M3 32a29 29 0 0158 0\" stroke=\"url(#a)\" />\n <Path d=\"M61 32a29 29 0 01-58 0\" stroke=\"url(#b)\" />\n <Path d=\"M4 100a96 96 0 010-2\" stroke={colorScheme.accent} strokeLinecap=\"round\" />\n </G>\n </Svg>\n );\n};\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=444-48609&mode=design&t=YI1oD2BfBie5HcvJ-0\nexport const LoaderSuccess: FC<SvgProps> = (props) => (\n <Svg fill=\"none\" height={64} viewBox=\"0 0 65 64\" width={65} {...props}>\n <Path\n d=\"M58.5 32c0-14.36-11.64-26-26-26s-26 11.64-26 26 11.64 26 26 26 26-11.64 26-26z\"\n fill=\"url(#paint0_angular_1381_17086)\"\n />\n <Circle cx={32.5} cy={32} fill=\"url(#paint1_linear_1381_17086)\" r={32} />\n <Path\n d=\"M41.636 25.194a.772.772 0 00-1.023 0L29.925 35.66l-5.524-5.548-.003-.003a.735.735 0 00-1.023 0l-.667.643-.012.013a.756.756 0 000 1.015L29.92 39l12.374-12.116.01-.01a.737.737 0 000-1l-.655-.668-.014-.012z\"\n fill=\"#fff\"\n />\n <Defs>\n <RadialGradient\n cx={0}\n cy={0}\n gradientTransform=\"matrix(0 -26 26 0 32.5 32)\"\n gradientUnits=\"userSpaceOnUse\"\n id=\"paint0_angular_1381_17086\"\n r={1}>\n <Stop stopColor=\"#0F151A\" />\n <Stop offset={0.715} stopColor=\"#3F7BA6\" stopOpacity={0.11} />\n <Stop offset={1} stopColor=\"#3F7BA6\" stopOpacity={0} />\n </RadialGradient>\n <LinearGradient gradientUnits=\"userSpaceOnUse\" id=\"paint1_linear_1381_17086\" x1={32.5} x2={32.5} y1={0} y2={64}>\n <Stop stopColor=\"#00D066\" />\n <Stop offset={1} stopColor=\"#2EEF8D\" />\n </LinearGradient>\n </Defs>\n </Svg>\n);\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=444-48595&mode=design&t=YI1oD2BfBie5HcvJ-0\nexport const LoaderWarning: FC<SvgProps> = (props) => {\n const colorScheme = useAppColorScheme();\n return (\n <Svg fill=\"none\" height={64} viewBox=\"0 0 65 64\" width={65} {...props}>\n <Path\n d=\"M16.751 51.233c-1.165 0-2.175-.255-3.032-.763a5.31 5.31 0 01-1.988-2.049c-.455-.856-.683-1.807-.683-2.851 0-1.018.268-1.988.803-2.912l15.543-27.09c.522-.95 1.225-1.667 2.109-2.149a5.709 5.709 0 012.771-.723c.964 0 1.881.242 2.751.723.87.469 1.58 1.185 2.129 2.15l15.543 27.089a5.775 5.775 0 01.803 2.912c0 1.044-.234 1.995-.703 2.851a5.31 5.31 0 01-1.988 2.049c-.843.508-1.847.763-3.012.763H16.75z\"\n fill={colorScheme.warning}\n />\n <Path\n d=\"M10.848 48.89h0l.005.011a6.31 6.31 0 002.355 2.428c1.036.615 2.23.904 3.543.904h31.046c1.312 0 2.5-.288 3.525-.905a6.31 6.31 0 002.353-2.427c.554-1.014.825-2.131.825-3.331a6.774 6.774 0 00-.938-3.414l-.003-.005-15.536-27.078-.001-.001c-.629-1.104-1.465-1.962-2.517-2.53a6.596 6.596 0 00-3.231-.845 6.709 6.709 0 00-3.25.845c-1.062.579-1.895 1.436-2.502 2.536L10.986 42.156l-.001.002c-.619 1.068-.937 2.21-.937 3.412 0 1.195.262 2.308.8 3.32z\"\n stroke=\"#fff\"\n strokeOpacity={0.2}\n strokeWidth={2}\n />\n <Path\n d=\"M34.121 35.61c-.026 1.245-.635 1.867-1.827 1.867-1.218 0-1.847-.616-1.887-1.847l-.282-10.122c-.026-.602.161-1.097.563-1.485.401-.402.93-.603 1.586-.603.643 0 1.171.2 1.587.602.415.389.609.89.582 1.507l-.322 10.08zM34.021 43.742c-.482.429-1.057.643-1.727.643-.67 0-1.252-.214-1.747-.643-.482-.428-.723-.977-.723-1.646 0-.656.241-1.205.723-1.647.482-.442 1.064-.663 1.747-.663.67 0 1.245.221 1.727.663.482.442.723.99.723 1.647 0 .67-.24 1.218-.723 1.646z\"\n fill=\"#000\"\n />\n </Svg>\n );\n};\n\n// https://www.figma.com/design/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?node-id=2942-29465&t=CZt3ManJltJXW5nT-0\nexport const LoaderError: FC<SvgProps> = (props) => {\n return (\n <Svg width={65} height={64} viewBox=\"0 0 65 64\" fill=\"none\" {...props}>\n <Path\n d=\"M58.5 32c0-14.36-11.64-26-26-26s-26 11.64-26 26 11.64 26 26 26 26-11.64 26-26z\"\n fill=\"url(#paint0_angular_2140_7619)\"\n />\n <Circle cx={32.5} cy={32} r={32} fill=\"url(#paint1_linear_2140_7619)\" />\n <Path\n d=\"M28.21 38.552c-.319.299-.704.448-1.156.448-.43 0-.8-.15-1.108-.448a1.548 1.548 0 01-.446-1.111c0-.431.154-.797.463-1.095L30.277 32l-4.314-4.313c-.309-.32-.463-.685-.463-1.095 0-.453.149-.823.446-1.111a1.537 1.537 0 011.108-.448c.43 0 .799.144 1.107.431l4.33 4.33 4.348-4.33c.308-.31.678-.464 1.107-.464.43 0 .794.155 1.091.465.309.298.463.663.463 1.094 0 .42-.154.79-.463 1.112L34.707 32l4.314 4.33c.308.287.462.657.462 1.11 0 .432-.154.803-.462 1.112a1.501 1.501 0 01-1.108.448c-.452 0-.826-.15-1.124-.448l-4.297-4.33-4.281 4.33z\"\n fill=\"#fff\"\n />\n <Defs>\n <RadialGradient\n id=\"paint0_angular_2140_7619\"\n cx={0}\n cy={0}\n r={1}\n gradientUnits=\"userSpaceOnUse\"\n gradientTransform=\"matrix(0 -26 26 0 32.5 32)\">\n <Stop stopColor=\"#0F151A\" />\n <Stop offset={0.715} stopColor=\"#3F7BA6\" stopOpacity={0.11} />\n <Stop offset={1} stopColor=\"#3F7BA6\" stopOpacity={0} />\n </RadialGradient>\n <LinearGradient id=\"paint1_linear_2140_7619\" x1={32.5} y1={0} x2={32.5} y2={64} gradientUnits=\"userSpaceOnUse\">\n <Stop stopColor=\"red\" />\n <Stop offset={1} stopColor=\"#C60505\" />\n </LinearGradient>\n </Defs>\n </Svg>\n );\n};\n"],"mappings":";AAAA,OAAOA,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AACC,SAAS,EAAC,SAAS;IAACC,WAAW,EAAE;EAAE,CAAE,CACxC,CAAC,eACjBxB,KAAA,CAAAa,aAAA,CAACR,cAAc;IAACgB,EAAE,EAAC,yBAAyB;IAACc,EAAE,EAAE,IAAK;IAACE,EAAE,EAAE,CAAE;IAACD,EAAE,EAAE,IAAK;IAACE,EAAE,EAAE,EAAG;IAACJ,aAAa,EAAC;EAAgB,gBAC5GlC,KAAA,CAAAa,aAAA,CAACL,IAAI;IAACe,SAAS,EAAC;EAAK,CAAE,CAAC,eACxBvB,KAAA,CAAAa,aAAA,CAACL,IAAI;IAACc,MAAM,EAAE,CAAE;IAACC,SAAS,EAAC;EAAS,CAAE,CACxB,CACZ,CACH,CAAC;AAEV,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","Rect","useAppColorScheme","OpenLinkIcon","colorScheme","createElement","fill","height","viewBox","width","white","fillOpacity","rx","d","opacity","CopyContentIcon","props","color","CredentialValidIcon","stroke","strokeOpacity","strokeWidth","CredentialSuspendedIcon","CredentialSuspendedTempIcon"],"sources":["nerd-view.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport Svg, { Path, Rect, SvgProps } from 'react-native-svg';\n\nimport { useAppColorScheme } from '../theme/color-scheme-context';\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=465-117924&mode=dev\nexport const OpenLinkIcon: FC<SvgProps> = () => {\n const colorScheme = useAppColorScheme();\n\n return (\n <Svg fill=\"none\" height={24} viewBox=\"0 0 24 24\" width={24}>\n <Rect fill={colorScheme.white} fillOpacity={0.08} height={24} rx={12} width={24} />\n <Path\n d=\"M8.07617 19.2764C7.36068 19.2764 6.82292 19.0986 6.46289 18.7432C6.10742 18.3923 5.92969 17.8636 5.92969 17.1572V10.335C5.92969 9.62858 6.10742 9.09993 6.46289 8.74902C6.82292 8.39355 7.36068 8.21582 8.07617 8.21582H10.1338V9.31641H8.08984C7.74805 9.31641 7.486 9.40755 7.30371 9.58984C7.12142 9.77214 7.03027 10.041 7.03027 10.3965V17.0957C7.03027 17.4512 7.12142 17.7201 7.30371 17.9023C7.486 18.0846 7.74805 18.1758 8.08984 18.1758H15.8965C16.2337 18.1758 16.4958 18.0846 16.6826 17.9023C16.8695 17.7201 16.9629 17.4512 16.9629 17.0957V10.3965C16.9629 10.041 16.8695 9.77214 16.6826 9.58984C16.4958 9.40755 16.2337 9.31641 15.8965 9.31641H13.8594V8.21582H15.917C16.6325 8.21582 17.168 8.39355 17.5234 8.74902C17.8835 9.10449 18.0635 9.63314 18.0635 10.335V17.1572C18.0635 17.859 17.8835 18.3877 17.5234 18.7432C17.168 19.0986 16.6325 19.2764 15.917 19.2764H8.07617ZM11.9932 13.9238C11.8473 13.9238 11.7197 13.8714 11.6104 13.7666C11.5055 13.6618 11.4531 13.5365 11.4531 13.3906V6.37012L11.4941 5.34473L11.0293 5.83008L9.99707 6.9375C9.90137 7.04688 9.77604 7.10156 9.62109 7.10156C9.47526 7.10156 9.35677 7.05599 9.26562 6.96484C9.17448 6.8737 9.12891 6.75749 9.12891 6.61621C9.12891 6.48861 9.18132 6.37012 9.28613 6.26074L11.5967 4.03223C11.6696 3.96387 11.7357 3.91602 11.7949 3.88867C11.8587 3.86133 11.9248 3.84766 11.9932 3.84766C12.0661 3.84766 12.1322 3.86133 12.1914 3.88867C12.2552 3.91602 12.3213 3.96387 12.3896 4.03223L14.7002 6.26074C14.8096 6.37012 14.8643 6.48861 14.8643 6.61621C14.8643 6.75749 14.8164 6.8737 14.7207 6.96484C14.625 7.05599 14.5065 7.10156 14.3652 7.10156C14.2148 7.10156 14.0918 7.04688 13.9961 6.9375L12.957 5.83008L12.499 5.34473L12.54 6.37012V13.3906C12.54 13.5365 12.4854 13.6618 12.376 13.7666C12.2712 13.8714 12.1436 13.9238 11.9932 13.9238Z\"\n fill={colorScheme.white}\n opacity={0.9}\n />\n </Svg>\n );\n};\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=465-111516&mode=dev\nexport const CopyContentIcon: FC<SvgProps> = (props) => {\n const colorScheme = useAppColorScheme();\n const { color = colorScheme.white } = props;\n\n return (\n <Svg height={24} width={24}>\n <Rect fill=\"rgba(255, 255, 255, 0.08)\" fillOpacity={0.08} height={24} rx={12} width={24} />\n <Path\n d=\"M8.32227 7.50488V5.60449C8.32227 4.889 8.49772 4.35352 8.84863 3.99805C9.2041 3.63802 9.73503 3.45801 10.4414 3.45801H16.8672C17.5736 3.45801 18.1022 3.63802 18.4531 3.99805C18.8086 4.35807 18.9863 4.89355 18.9863 5.60449V15.0996C18.9863 15.8105 18.8086 16.346 18.4531 16.7061C18.1022 17.0661 17.5736 17.2461 16.8672 17.2461H15.3496V12.4678L10.4346 7.50488H8.32227ZM11.9863 5.80273H15.3223C15.4681 5.80273 15.5775 5.76172 15.6504 5.67969C15.7233 5.59766 15.7598 5.50423 15.7598 5.39941V5.25586C15.7598 5.15104 15.7233 5.05762 15.6504 4.97559C15.5775 4.89355 15.4681 4.85254 15.3223 4.85254H11.9863C11.8359 4.85254 11.7243 4.89355 11.6514 4.97559C11.583 5.05762 11.5488 5.15104 11.5488 5.25586V5.39941C11.5488 5.50423 11.583 5.59766 11.6514 5.67969C11.7243 5.76172 11.8359 5.80273 11.9863 5.80273ZM5.00684 18.5107V9.01562C5.00684 8.30469 5.18229 7.76921 5.5332 7.40918C5.88867 7.04915 6.4196 6.86914 7.12598 6.86914H9.53906C9.92188 6.86914 10.2386 6.91016 10.4893 6.99219C10.7399 7.07422 10.9951 7.24967 11.2549 7.51855L15.0215 11.3535C15.2038 11.5404 15.3405 11.7181 15.4316 11.8867C15.5273 12.0508 15.5911 12.2331 15.623 12.4336C15.6549 12.6341 15.6709 12.8802 15.6709 13.1719V18.5107C15.6709 19.2217 15.4932 19.7572 15.1377 20.1172C14.7868 20.4772 14.2581 20.6572 13.5518 20.6572H7.12598C6.4196 20.6572 5.88867 20.4772 5.5332 20.1172C5.18229 19.7617 5.00684 19.2262 5.00684 18.5107ZM6.10742 18.4902C6.10742 18.832 6.19629 19.0941 6.37402 19.2764C6.55632 19.4632 6.82292 19.5566 7.17383 19.5566H13.4971C13.848 19.5566 14.1146 19.4632 14.2969 19.2764C14.4792 19.0941 14.5703 18.832 14.5703 18.4902V13.2266H10.708C10.2842 13.2266 9.96289 13.1195 9.74414 12.9053C9.52995 12.6911 9.42285 12.3675 9.42285 11.9346V7.96973H7.18066C6.8252 7.96973 6.55632 8.06315 6.37402 8.25C6.19629 8.43229 6.10742 8.69206 6.10742 9.0293V18.4902ZM10.8379 12.1943H14.3584L10.4551 8.22266V11.8115C10.4551 11.9482 10.4847 12.0462 10.5439 12.1055C10.6032 12.1647 10.7012 12.1943 10.8379 12.1943Z\"\n fill={color}\n opacity={0.9}\n />\n </Svg>\n );\n};\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=454-100241&mode=dev\nexport const CredentialValidIcon = (\n <Svg fill=\"none\" height={22} viewBox=\"0 0 22 22\" width={22}>\n <Path\n d=\"M10.5747 20C9.40153 20 8.29753 19.7759 7.2627 19.3276C6.22786 18.8849 5.31478 18.2679 4.52344 17.4766C3.73763 16.6852 3.12061 15.7721 2.67236 14.7373C2.22412 13.7025 2 12.5985 2 11.4253C2 10.2521 2.22412 9.14811 2.67236 8.11328C3.12061 7.07845 3.73763 6.16813 4.52344 5.38232C5.31478 4.59098 6.2251 3.97119 7.25439 3.52295C8.28923 3.07471 9.39323 2.85059 10.5664 2.85059C11.7451 2.85059 12.8519 3.07471 13.8867 3.52295C14.9215 3.97119 15.8346 4.59098 16.626 5.38232C17.4173 6.16813 18.0371 7.07845 18.4854 8.11328C18.9336 9.14811 19.1577 10.2521 19.1577 11.4253C19.1577 12.5985 18.9336 13.7025 18.4854 14.7373C18.0371 15.7721 17.4173 16.6852 16.626 17.4766C15.8346 18.2679 14.9215 18.8849 13.8867 19.3276C12.8519 19.7759 11.7479 20 10.5747 20Z\"\n fill=\"#00D066\"\n />\n <Path\n d=\"M3.81385 18.1812L3.81633 18.1837C4.69776 19.0651 5.71679 19.7536 6.86722 20.2461C8.032 20.7503 9.27117 21 10.5747 21C11.8782 21 13.1174 20.7503 14.2821 20.2461C15.4326 19.7537 16.4516 19.0651 17.3331 18.1837C18.2142 17.3026 18.9051 16.2842 19.403 15.1348C19.9077 13.9694 20.1577 12.7296 20.1577 11.4253C20.1577 10.121 19.9077 8.88117 19.403 7.71581C18.905 6.56624 18.2138 5.55009 17.3318 4.67398C16.451 3.79349 15.4331 3.103 14.2842 2.60533C13.1182 2.10029 11.8755 1.85059 10.5664 1.85059C9.26213 1.85059 8.02228 2.10055 6.85692 2.60533L6.85513 2.60611C5.71136 3.10421 4.69653 3.79502 3.81633 4.67522C2.94015 5.5514 2.25228 6.56718 1.75475 7.71581C1.24997 8.88117 1 10.121 1 11.4253C1 12.7296 1.24997 13.9694 1.75475 15.1348C2.252 16.2828 2.93915 17.3003 3.81385 18.1812Z\"\n stroke=\"white\"\n strokeOpacity=\"0.2\"\n strokeWidth=\"2\"\n />\n <Path\n d=\"M9.91406 15.3828C10.0703 15.3828 10.2135 15.3464 10.3438 15.2734C10.4792 15.1953 10.5938 15.0885 10.6875 14.9531L14.3359 9.3125C14.3932 9.22396 14.4401 9.13021 14.4766 9.03125C14.5182 8.93229 14.5391 8.83333 14.5391 8.73438C14.5391 8.51562 14.4557 8.33854 14.2891 8.20312C14.1276 8.06771 13.9427 8 13.7344 8C13.4583 8 13.2266 8.14844 13.0391 8.44531L9.89062 13.4766L8.44531 11.6641C8.34115 11.5339 8.23698 11.4427 8.13281 11.3906C8.02865 11.3333 7.91146 11.3047 7.78125 11.3047C7.5625 11.3047 7.3776 11.3828 7.22656 11.5391C7.07552 11.6901 7 11.875 7 12.0938C7 12.1979 7.01823 12.2995 7.05469 12.3984C7.09635 12.4922 7.15365 12.5885 7.22656 12.6875L9.10938 14.9531C9.22396 15.099 9.34635 15.2083 9.47656 15.2812C9.60677 15.349 9.7526 15.3828 9.91406 15.3828Z\"\n fill=\"white\"\n />\n </Svg>\n);\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=544-93347&mode=dev\nexport const CredentialSuspendedIcon = (\n <Svg fill=\"none\" height={22} viewBox=\"0 0 22 22\" width={22}>\n <Path\n d=\"M10.5747 20C9.40153 20 8.29753 19.7759 7.2627 19.3276C6.22786 18.8849 5.31478 18.2679 4.52344 17.4766C3.73763 16.6852 3.12061 15.7721 2.67236 14.7373C2.22412 13.7025 2 12.5985 2 11.4253C2 10.2521 2.22412 9.14811 2.67236 8.11328C3.12061 7.07845 3.73763 6.16813 4.52344 5.38232C5.31478 4.59098 6.2251 3.97119 7.25439 3.52295C8.28923 3.07471 9.39323 2.85059 10.5664 2.85059C11.7451 2.85059 12.8519 3.07471 13.8867 3.52295C14.9215 3.97119 15.8346 4.59098 16.626 5.38232C17.4173 6.16813 18.0371 7.07845 18.4854 8.11328C18.9336 9.14811 19.1577 10.2521 19.1577 11.4253C19.1577 12.5985 18.9336 13.7025 18.4854 14.7373C18.0371 15.7721 17.4173 16.6852 16.626 17.4766C15.8346 18.2679 14.9215 18.8849 13.8867 19.3276C12.8519 19.7759 11.7479 20 10.5747 20Z\"\n fill=\"#F7BF0B\"\n />\n <Path\n d=\"M3.81385 18.1812L3.81633 18.1837C4.69776 19.0651 5.71679 19.7536 6.86722 20.2461C8.032 20.7503 9.27117 21 10.5747 21C11.8782 21 13.1174 20.7503 14.2821 20.2461C15.4326 19.7537 16.4516 19.0651 17.3331 18.1837C18.2142 17.3026 18.9051 16.2842 19.403 15.1348C19.9077 13.9694 20.1577 12.7296 20.1577 11.4253C20.1577 10.121 19.9077 8.88117 19.403 7.71581C18.905 6.56624 18.2138 5.55009 17.3318 4.67398C16.451 3.79349 15.4331 3.103 14.2842 2.60533C13.1182 2.10029 11.8755 1.85059 10.5664 1.85059C9.26213 1.85059 8.02228 2.10055 6.85692 2.60533L6.85513 2.60611C5.71136 3.10421 4.69653 3.79502 3.81633 4.67522C2.94015 5.5514 2.25228 6.56718 1.75475 7.71581C1.24997 8.88117 1 10.121 1 11.4253C1 12.7296 1.24997 13.9694 1.75475 15.1348C2.252 16.2828 2.93915 17.3003 3.81385 18.1812Z\"\n stroke=\"white\"\n strokeOpacity=\"0.2\"\n strokeWidth=\"2\"\n />\n <Path\n d=\"M6.74556 12.2289C6.52643 12.2211 6.33665 12.1369 6.17622 11.9765C6.02361 11.8239 5.94535 11.64 5.94143 11.4248C5.94535 11.2096 6.02361 11.0256 6.17622 10.873C6.32882 10.7204 6.51274 10.6461 6.72795 10.65L9.79772 10.6441L11.3649 10.65L14.4405 10.6617C14.6597 10.6617 14.8455 10.738 14.9981 10.8906C15.1507 11.0433 15.2251 11.2272 15.2212 11.4424C15.2251 11.6576 15.1507 11.8415 14.9981 11.9941C14.8494 12.1428 14.6636 12.2191 14.4405 12.223L11.3708 12.2172H9.79772L6.74556 12.2289Z\"\n fill=\"black\"\n />\n </Svg>\n);\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=544-93350&mode=dev\nexport const CredentialSuspendedTempIcon = (\n <Svg fill=\"none\" height={22} viewBox=\"0 0 22 22\" width={22}>\n <Path\n d=\"M10.5747 20C9.40153 20 8.29753 19.7759 7.2627 19.3276C6.22786 18.8849 5.31478 18.2679 4.52344 17.4766C3.73763 16.6852 3.12061 15.7721 2.67236 14.7373C2.22412 13.7025 2 12.5985 2 11.4253C2 10.2521 2.22412 9.14811 2.67236 8.11328C3.12061 7.07845 3.73763 6.16813 4.52344 5.38232C5.31478 4.59098 6.2251 3.97119 7.25439 3.52295C8.28923 3.07471 9.39323 2.85059 10.5664 2.85059C11.7451 2.85059 12.8519 3.07471 13.8867 3.52295C14.9215 3.97119 15.8346 4.59098 16.626 5.38232C17.4173 6.16813 18.0371 7.07845 18.4854 8.11328C18.9336 9.14811 19.1577 10.2521 19.1577 11.4253C19.1577 12.5985 18.9336 13.7025 18.4854 14.7373C18.0371 15.7721 17.4173 16.6852 16.626 17.4766C15.8346 18.2679 14.9215 18.8849 13.8867 19.3276C12.8519 19.7759 11.7479 20 10.5747 20Z\"\n fill=\"#F7BF0B\"\n />\n <Path\n d=\"M3.81385 18.1812L3.81633 18.1837C4.69776 19.0651 5.71679 19.7536 6.86722 20.2461C8.032 20.7503 9.27117 21 10.5747 21C11.8782 21 13.1174 20.7503 14.2821 20.2461C15.4326 19.7537 16.4516 19.0651 17.3331 18.1837C18.2142 17.3026 18.9051 16.2842 19.403 15.1348C19.9077 13.9694 20.1577 12.7296 20.1577 11.4253C20.1577 10.121 19.9077 8.88117 19.403 7.71581C18.905 6.56624 18.2138 5.55009 17.3318 4.67398C16.451 3.79349 15.4331 3.103 14.2842 2.60533C13.1182 2.10029 11.8755 1.85059 10.5664 1.85059C9.26213 1.85059 8.02228 2.10055 6.85692 2.60533L6.85513 2.60611C5.71136 3.10421 4.69653 3.79502 3.81633 4.67522C2.94015 5.5514 2.25228 6.56718 1.75475 7.71581C1.24997 8.88117 1 10.121 1 11.4253C1 12.7296 1.24997 13.9694 1.75475 15.1348C2.252 16.2828 2.93915 17.3003 3.81385 18.1812Z\"\n stroke=\"white\"\n strokeOpacity=\"0.2\"\n strokeWidth=\"2\"\n />\n <Path\n d=\"M6.74556 12.2289C6.52643 12.2211 6.33665 12.1369 6.17622 11.9765C6.02361 11.8239 5.94535 11.64 5.94143 11.4248C5.94535 11.2096 6.02361 11.0256 6.17622 10.873C6.32882 10.7204 6.51274 10.6461 6.72795 10.65L9.79772 10.6441L11.3649 10.65L14.4405 10.6617C14.6597 10.6617 14.8455 10.738 14.9981 10.8906C15.1507 11.0433 15.2251 11.2272 15.2212 11.4424C15.2251 11.6576 15.1507 11.8415 14.9981 11.9941C14.8494 12.1428 14.6636 12.2191 14.4405 12.223L11.3708 12.2172H9.79772L6.74556 12.2289Z\"\n fill=\"black\"\n />\n <Path\n d=\"M15.1328 20.6719C15.5521 20.8542 15.9987 20.9453 16.4727 20.9453C16.9421 20.9453 17.3864 20.8542 17.8057 20.6719C18.2249 20.4896 18.5941 20.2389 18.9131 19.9199C19.2367 19.6009 19.4896 19.2318 19.6719 18.8125C19.8542 18.3932 19.9453 17.9466 19.9453 17.4727C19.9453 16.9941 19.8542 16.5452 19.6719 16.126C19.4941 15.7067 19.2458 15.3376 18.9268 15.0186C18.6077 14.6995 18.2386 14.4512 17.8193 14.2734C17.4001 14.0911 16.9512 14 16.4727 14C15.9987 14 15.5521 14.0911 15.1328 14.2734C14.7135 14.4512 14.3444 14.7018 14.0254 15.0254C13.7064 15.3444 13.4557 15.7135 13.2734 16.1328C13.0911 16.5475 13 16.9941 13 17.4727C13 17.9512 13.0911 18.4001 13.2734 18.8193C13.4557 19.2386 13.7064 19.6077 14.0254 19.9268C14.3444 20.2458 14.7135 20.4941 15.1328 20.6719Z\"\n fill=\"#0D0E10\"\n />\n <Path\n d=\"M16.5068 18.0059H14.8457C14.7272 18.0059 14.627 17.9626 14.5449 17.876C14.4629 17.7939 14.4219 17.696 14.4219 17.582C14.4219 17.4681 14.4629 17.3701 14.5449 17.2881C14.6315 17.2061 14.7318 17.165 14.8457 17.165H16.083V15.4492C16.083 15.3353 16.124 15.2396 16.2061 15.1621C16.2881 15.0801 16.3883 15.0391 16.5068 15.0391C16.6208 15.0391 16.7188 15.0801 16.8008 15.1621C16.8828 15.2396 16.9238 15.3353 16.9238 15.4492V17.582C16.9238 17.7005 16.8828 17.8008 16.8008 17.8828C16.7233 17.9648 16.6253 18.0059 16.5068 18.0059Z\"\n fill=\"white\"\n />\n </Svg>\n);\n"],"mappings":"AAAA,OAAOA,KAAK,MAAc,OAAO;AACjC,OAAOC,GAAG,IAAIC,IAAI,EAAEC,IAAI,QAAkB,kBAAkB;AAE5D,SAASC,iBAAiB,QAAQ,+BAA+B;;AAEjE;AACA,OAAO,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AA,CAACL,IAAI;EACHa,CAAC,EAAC,qwBAAqwB;EACvwBM,MAAM,EAAC,OAAO;EACdC,aAAa,EAAC,KAAK;EACnBC,WAAW,EAAC;AAAG,EACf,eACFvB,KAAA,CAAAO,aAAA,CAACL,IAAI;EACHa,CAAC,EAAC,keAAke;EACpeP,IAAI,EAAC;AAAO,EACZ,eACFR,KAAA,CAAAO,aAAA,CAACL,IAAI;EACHa,CAAC,EAAC,ovBAAovB;EACtvBP,IAAI,EAAC;AAAS,EACd,eACFR,KAAA,CAAAO,aAAA,CAACL,IAAI;EACHa,CAAC,EAAC,ygBAAygB;EAC3gBP,IAAI,EAAC;AAAO,EACZ,CAEL"}
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","Rect","useAppColorScheme","OpenLinkIcon","colorScheme","createElement","fill","height","viewBox","width","white","fillOpacity","rx","d","opacity","CopyContentIcon","props","color","CredentialValidIcon","stroke","strokeOpacity","strokeWidth","CredentialSuspendedIcon","CredentialSuspendedTempIcon"],"sources":["nerd-view.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport Svg, { Path, Rect, SvgProps } from 'react-native-svg';\n\nimport { useAppColorScheme } from '../theme/color-scheme-context';\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=465-117924&mode=dev\nexport const OpenLinkIcon: FC<SvgProps> = () => {\n const colorScheme = useAppColorScheme();\n\n return (\n <Svg fill=\"none\" height={24} viewBox=\"0 0 24 24\" width={24}>\n <Rect fill={colorScheme.white} fillOpacity={0.08} height={24} rx={12} width={24} />\n <Path\n d=\"M8.07617 19.2764C7.36068 19.2764 6.82292 19.0986 6.46289 18.7432C6.10742 18.3923 5.92969 17.8636 5.92969 17.1572V10.335C5.92969 9.62858 6.10742 9.09993 6.46289 8.74902C6.82292 8.39355 7.36068 8.21582 8.07617 8.21582H10.1338V9.31641H8.08984C7.74805 9.31641 7.486 9.40755 7.30371 9.58984C7.12142 9.77214 7.03027 10.041 7.03027 10.3965V17.0957C7.03027 17.4512 7.12142 17.7201 7.30371 17.9023C7.486 18.0846 7.74805 18.1758 8.08984 18.1758H15.8965C16.2337 18.1758 16.4958 18.0846 16.6826 17.9023C16.8695 17.7201 16.9629 17.4512 16.9629 17.0957V10.3965C16.9629 10.041 16.8695 9.77214 16.6826 9.58984C16.4958 9.40755 16.2337 9.31641 15.8965 9.31641H13.8594V8.21582H15.917C16.6325 8.21582 17.168 8.39355 17.5234 8.74902C17.8835 9.10449 18.0635 9.63314 18.0635 10.335V17.1572C18.0635 17.859 17.8835 18.3877 17.5234 18.7432C17.168 19.0986 16.6325 19.2764 15.917 19.2764H8.07617ZM11.9932 13.9238C11.8473 13.9238 11.7197 13.8714 11.6104 13.7666C11.5055 13.6618 11.4531 13.5365 11.4531 13.3906V6.37012L11.4941 5.34473L11.0293 5.83008L9.99707 6.9375C9.90137 7.04688 9.77604 7.10156 9.62109 7.10156C9.47526 7.10156 9.35677 7.05599 9.26562 6.96484C9.17448 6.8737 9.12891 6.75749 9.12891 6.61621C9.12891 6.48861 9.18132 6.37012 9.28613 6.26074L11.5967 4.03223C11.6696 3.96387 11.7357 3.91602 11.7949 3.88867C11.8587 3.86133 11.9248 3.84766 11.9932 3.84766C12.0661 3.84766 12.1322 3.86133 12.1914 3.88867C12.2552 3.91602 12.3213 3.96387 12.3896 4.03223L14.7002 6.26074C14.8096 6.37012 14.8643 6.48861 14.8643 6.61621C14.8643 6.75749 14.8164 6.8737 14.7207 6.96484C14.625 7.05599 14.5065 7.10156 14.3652 7.10156C14.2148 7.10156 14.0918 7.04688 13.9961 6.9375L12.957 5.83008L12.499 5.34473L12.54 6.37012V13.3906C12.54 13.5365 12.4854 13.6618 12.376 13.7666C12.2712 13.8714 12.1436 13.9238 11.9932 13.9238Z\"\n fill={colorScheme.white}\n opacity={0.9}\n />\n </Svg>\n );\n};\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=465-111516&mode=dev\nexport const CopyContentIcon: FC<SvgProps> = (props) => {\n const colorScheme = useAppColorScheme();\n const { color = colorScheme.white } = props;\n\n return (\n <Svg height={24} width={24}>\n <Rect fill=\"rgba(255, 255, 255, 0.08)\" fillOpacity={0.08} height={24} rx={12} width={24} />\n <Path\n d=\"M8.32227 7.50488V5.60449C8.32227 4.889 8.49772 4.35352 8.84863 3.99805C9.2041 3.63802 9.73503 3.45801 10.4414 3.45801H16.8672C17.5736 3.45801 18.1022 3.63802 18.4531 3.99805C18.8086 4.35807 18.9863 4.89355 18.9863 5.60449V15.0996C18.9863 15.8105 18.8086 16.346 18.4531 16.7061C18.1022 17.0661 17.5736 17.2461 16.8672 17.2461H15.3496V12.4678L10.4346 7.50488H8.32227ZM11.9863 5.80273H15.3223C15.4681 5.80273 15.5775 5.76172 15.6504 5.67969C15.7233 5.59766 15.7598 5.50423 15.7598 5.39941V5.25586C15.7598 5.15104 15.7233 5.05762 15.6504 4.97559C15.5775 4.89355 15.4681 4.85254 15.3223 4.85254H11.9863C11.8359 4.85254 11.7243 4.89355 11.6514 4.97559C11.583 5.05762 11.5488 5.15104 11.5488 5.25586V5.39941C11.5488 5.50423 11.583 5.59766 11.6514 5.67969C11.7243 5.76172 11.8359 5.80273 11.9863 5.80273ZM5.00684 18.5107V9.01562C5.00684 8.30469 5.18229 7.76921 5.5332 7.40918C5.88867 7.04915 6.4196 6.86914 7.12598 6.86914H9.53906C9.92188 6.86914 10.2386 6.91016 10.4893 6.99219C10.7399 7.07422 10.9951 7.24967 11.2549 7.51855L15.0215 11.3535C15.2038 11.5404 15.3405 11.7181 15.4316 11.8867C15.5273 12.0508 15.5911 12.2331 15.623 12.4336C15.6549 12.6341 15.6709 12.8802 15.6709 13.1719V18.5107C15.6709 19.2217 15.4932 19.7572 15.1377 20.1172C14.7868 20.4772 14.2581 20.6572 13.5518 20.6572H7.12598C6.4196 20.6572 5.88867 20.4772 5.5332 20.1172C5.18229 19.7617 5.00684 19.2262 5.00684 18.5107ZM6.10742 18.4902C6.10742 18.832 6.19629 19.0941 6.37402 19.2764C6.55632 19.4632 6.82292 19.5566 7.17383 19.5566H13.4971C13.848 19.5566 14.1146 19.4632 14.2969 19.2764C14.4792 19.0941 14.5703 18.832 14.5703 18.4902V13.2266H10.708C10.2842 13.2266 9.96289 13.1195 9.74414 12.9053C9.52995 12.6911 9.42285 12.3675 9.42285 11.9346V7.96973H7.18066C6.8252 7.96973 6.55632 8.06315 6.37402 8.25C6.19629 8.43229 6.10742 8.69206 6.10742 9.0293V18.4902ZM10.8379 12.1943H14.3584L10.4551 8.22266V11.8115C10.4551 11.9482 10.4847 12.0462 10.5439 12.1055C10.6032 12.1647 10.7012 12.1943 10.8379 12.1943Z\"\n fill={color}\n opacity={0.9}\n />\n </Svg>\n );\n};\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=454-100241&mode=dev\nexport const CredentialValidIcon = (\n <Svg fill=\"none\" height={22} viewBox=\"0 0 22 22\" width={22}>\n <Path\n d=\"M10.5747 20C9.40153 20 8.29753 19.7759 7.2627 19.3276C6.22786 18.8849 5.31478 18.2679 4.52344 17.4766C3.73763 16.6852 3.12061 15.7721 2.67236 14.7373C2.22412 13.7025 2 12.5985 2 11.4253C2 10.2521 2.22412 9.14811 2.67236 8.11328C3.12061 7.07845 3.73763 6.16813 4.52344 5.38232C5.31478 4.59098 6.2251 3.97119 7.25439 3.52295C8.28923 3.07471 9.39323 2.85059 10.5664 2.85059C11.7451 2.85059 12.8519 3.07471 13.8867 3.52295C14.9215 3.97119 15.8346 4.59098 16.626 5.38232C17.4173 6.16813 18.0371 7.07845 18.4854 8.11328C18.9336 9.14811 19.1577 10.2521 19.1577 11.4253C19.1577 12.5985 18.9336 13.7025 18.4854 14.7373C18.0371 15.7721 17.4173 16.6852 16.626 17.4766C15.8346 18.2679 14.9215 18.8849 13.8867 19.3276C12.8519 19.7759 11.7479 20 10.5747 20Z\"\n fill=\"#00D066\"\n />\n <Path\n d=\"M3.81385 18.1812L3.81633 18.1837C4.69776 19.0651 5.71679 19.7536 6.86722 20.2461C8.032 20.7503 9.27117 21 10.5747 21C11.8782 21 13.1174 20.7503 14.2821 20.2461C15.4326 19.7537 16.4516 19.0651 17.3331 18.1837C18.2142 17.3026 18.9051 16.2842 19.403 15.1348C19.9077 13.9694 20.1577 12.7296 20.1577 11.4253C20.1577 10.121 19.9077 8.88117 19.403 7.71581C18.905 6.56624 18.2138 5.55009 17.3318 4.67398C16.451 3.79349 15.4331 3.103 14.2842 2.60533C13.1182 2.10029 11.8755 1.85059 10.5664 1.85059C9.26213 1.85059 8.02228 2.10055 6.85692 2.60533L6.85513 2.60611C5.71136 3.10421 4.69653 3.79502 3.81633 4.67522C2.94015 5.5514 2.25228 6.56718 1.75475 7.71581C1.24997 8.88117 1 10.121 1 11.4253C1 12.7296 1.24997 13.9694 1.75475 15.1348C2.252 16.2828 2.93915 17.3003 3.81385 18.1812Z\"\n stroke=\"white\"\n strokeOpacity=\"0.2\"\n strokeWidth=\"2\"\n />\n <Path\n d=\"M9.91406 15.3828C10.0703 15.3828 10.2135 15.3464 10.3438 15.2734C10.4792 15.1953 10.5938 15.0885 10.6875 14.9531L14.3359 9.3125C14.3932 9.22396 14.4401 9.13021 14.4766 9.03125C14.5182 8.93229 14.5391 8.83333 14.5391 8.73438C14.5391 8.51562 14.4557 8.33854 14.2891 8.20312C14.1276 8.06771 13.9427 8 13.7344 8C13.4583 8 13.2266 8.14844 13.0391 8.44531L9.89062 13.4766L8.44531 11.6641C8.34115 11.5339 8.23698 11.4427 8.13281 11.3906C8.02865 11.3333 7.91146 11.3047 7.78125 11.3047C7.5625 11.3047 7.3776 11.3828 7.22656 11.5391C7.07552 11.6901 7 11.875 7 12.0938C7 12.1979 7.01823 12.2995 7.05469 12.3984C7.09635 12.4922 7.15365 12.5885 7.22656 12.6875L9.10938 14.9531C9.22396 15.099 9.34635 15.2083 9.47656 15.2812C9.60677 15.349 9.7526 15.3828 9.91406 15.3828Z\"\n fill=\"white\"\n />\n </Svg>\n);\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=544-93347&mode=dev\nexport const CredentialSuspendedIcon = (\n <Svg fill=\"none\" height={22} viewBox=\"0 0 22 22\" width={22}>\n <Path\n d=\"M10.5747 20C9.40153 20 8.29753 19.7759 7.2627 19.3276C6.22786 18.8849 5.31478 18.2679 4.52344 17.4766C3.73763 16.6852 3.12061 15.7721 2.67236 14.7373C2.22412 13.7025 2 12.5985 2 11.4253C2 10.2521 2.22412 9.14811 2.67236 8.11328C3.12061 7.07845 3.73763 6.16813 4.52344 5.38232C5.31478 4.59098 6.2251 3.97119 7.25439 3.52295C8.28923 3.07471 9.39323 2.85059 10.5664 2.85059C11.7451 2.85059 12.8519 3.07471 13.8867 3.52295C14.9215 3.97119 15.8346 4.59098 16.626 5.38232C17.4173 6.16813 18.0371 7.07845 18.4854 8.11328C18.9336 9.14811 19.1577 10.2521 19.1577 11.4253C19.1577 12.5985 18.9336 13.7025 18.4854 14.7373C18.0371 15.7721 17.4173 16.6852 16.626 17.4766C15.8346 18.2679 14.9215 18.8849 13.8867 19.3276C12.8519 19.7759 11.7479 20 10.5747 20Z\"\n fill=\"#F7BF0B\"\n />\n <Path\n d=\"M3.81385 18.1812L3.81633 18.1837C4.69776 19.0651 5.71679 19.7536 6.86722 20.2461C8.032 20.7503 9.27117 21 10.5747 21C11.8782 21 13.1174 20.7503 14.2821 20.2461C15.4326 19.7537 16.4516 19.0651 17.3331 18.1837C18.2142 17.3026 18.9051 16.2842 19.403 15.1348C19.9077 13.9694 20.1577 12.7296 20.1577 11.4253C20.1577 10.121 19.9077 8.88117 19.403 7.71581C18.905 6.56624 18.2138 5.55009 17.3318 4.67398C16.451 3.79349 15.4331 3.103 14.2842 2.60533C13.1182 2.10029 11.8755 1.85059 10.5664 1.85059C9.26213 1.85059 8.02228 2.10055 6.85692 2.60533L6.85513 2.60611C5.71136 3.10421 4.69653 3.79502 3.81633 4.67522C2.94015 5.5514 2.25228 6.56718 1.75475 7.71581C1.24997 8.88117 1 10.121 1 11.4253C1 12.7296 1.24997 13.9694 1.75475 15.1348C2.252 16.2828 2.93915 17.3003 3.81385 18.1812Z\"\n stroke=\"white\"\n strokeOpacity=\"0.2\"\n strokeWidth=\"2\"\n />\n <Path\n d=\"M6.74556 12.2289C6.52643 12.2211 6.33665 12.1369 6.17622 11.9765C6.02361 11.8239 5.94535 11.64 5.94143 11.4248C5.94535 11.2096 6.02361 11.0256 6.17622 10.873C6.32882 10.7204 6.51274 10.6461 6.72795 10.65L9.79772 10.6441L11.3649 10.65L14.4405 10.6617C14.6597 10.6617 14.8455 10.738 14.9981 10.8906C15.1507 11.0433 15.2251 11.2272 15.2212 11.4424C15.2251 11.6576 15.1507 11.8415 14.9981 11.9941C14.8494 12.1428 14.6636 12.2191 14.4405 12.223L11.3708 12.2172H9.79772L6.74556 12.2289Z\"\n fill=\"black\"\n />\n </Svg>\n);\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=544-93350&mode=dev\nexport const CredentialSuspendedTempIcon = (\n <Svg fill=\"none\" height={22} viewBox=\"0 0 22 22\" width={22}>\n <Path\n d=\"M10.5747 20C9.40153 20 8.29753 19.7759 7.2627 19.3276C6.22786 18.8849 5.31478 18.2679 4.52344 17.4766C3.73763 16.6852 3.12061 15.7721 2.67236 14.7373C2.22412 13.7025 2 12.5985 2 11.4253C2 10.2521 2.22412 9.14811 2.67236 8.11328C3.12061 7.07845 3.73763 6.16813 4.52344 5.38232C5.31478 4.59098 6.2251 3.97119 7.25439 3.52295C8.28923 3.07471 9.39323 2.85059 10.5664 2.85059C11.7451 2.85059 12.8519 3.07471 13.8867 3.52295C14.9215 3.97119 15.8346 4.59098 16.626 5.38232C17.4173 6.16813 18.0371 7.07845 18.4854 8.11328C18.9336 9.14811 19.1577 10.2521 19.1577 11.4253C19.1577 12.5985 18.9336 13.7025 18.4854 14.7373C18.0371 15.7721 17.4173 16.6852 16.626 17.4766C15.8346 18.2679 14.9215 18.8849 13.8867 19.3276C12.8519 19.7759 11.7479 20 10.5747 20Z\"\n fill=\"#F7BF0B\"\n />\n <Path\n d=\"M3.81385 18.1812L3.81633 18.1837C4.69776 19.0651 5.71679 19.7536 6.86722 20.2461C8.032 20.7503 9.27117 21 10.5747 21C11.8782 21 13.1174 20.7503 14.2821 20.2461C15.4326 19.7537 16.4516 19.0651 17.3331 18.1837C18.2142 17.3026 18.9051 16.2842 19.403 15.1348C19.9077 13.9694 20.1577 12.7296 20.1577 11.4253C20.1577 10.121 19.9077 8.88117 19.403 7.71581C18.905 6.56624 18.2138 5.55009 17.3318 4.67398C16.451 3.79349 15.4331 3.103 14.2842 2.60533C13.1182 2.10029 11.8755 1.85059 10.5664 1.85059C9.26213 1.85059 8.02228 2.10055 6.85692 2.60533L6.85513 2.60611C5.71136 3.10421 4.69653 3.79502 3.81633 4.67522C2.94015 5.5514 2.25228 6.56718 1.75475 7.71581C1.24997 8.88117 1 10.121 1 11.4253C1 12.7296 1.24997 13.9694 1.75475 15.1348C2.252 16.2828 2.93915 17.3003 3.81385 18.1812Z\"\n stroke=\"white\"\n strokeOpacity=\"0.2\"\n strokeWidth=\"2\"\n />\n <Path\n d=\"M6.74556 12.2289C6.52643 12.2211 6.33665 12.1369 6.17622 11.9765C6.02361 11.8239 5.94535 11.64 5.94143 11.4248C5.94535 11.2096 6.02361 11.0256 6.17622 10.873C6.32882 10.7204 6.51274 10.6461 6.72795 10.65L9.79772 10.6441L11.3649 10.65L14.4405 10.6617C14.6597 10.6617 14.8455 10.738 14.9981 10.8906C15.1507 11.0433 15.2251 11.2272 15.2212 11.4424C15.2251 11.6576 15.1507 11.8415 14.9981 11.9941C14.8494 12.1428 14.6636 12.2191 14.4405 12.223L11.3708 12.2172H9.79772L6.74556 12.2289Z\"\n fill=\"black\"\n />\n <Path\n d=\"M15.1328 20.6719C15.5521 20.8542 15.9987 20.9453 16.4727 20.9453C16.9421 20.9453 17.3864 20.8542 17.8057 20.6719C18.2249 20.4896 18.5941 20.2389 18.9131 19.9199C19.2367 19.6009 19.4896 19.2318 19.6719 18.8125C19.8542 18.3932 19.9453 17.9466 19.9453 17.4727C19.9453 16.9941 19.8542 16.5452 19.6719 16.126C19.4941 15.7067 19.2458 15.3376 18.9268 15.0186C18.6077 14.6995 18.2386 14.4512 17.8193 14.2734C17.4001 14.0911 16.9512 14 16.4727 14C15.9987 14 15.5521 14.0911 15.1328 14.2734C14.7135 14.4512 14.3444 14.7018 14.0254 15.0254C13.7064 15.3444 13.4557 15.7135 13.2734 16.1328C13.0911 16.5475 13 16.9941 13 17.4727C13 17.9512 13.0911 18.4001 13.2734 18.8193C13.4557 19.2386 13.7064 19.6077 14.0254 19.9268C14.3444 20.2458 14.7135 20.4941 15.1328 20.6719Z\"\n fill=\"#0D0E10\"\n />\n <Path\n d=\"M16.5068 18.0059H14.8457C14.7272 18.0059 14.627 17.9626 14.5449 17.876C14.4629 17.7939 14.4219 17.696 14.4219 17.582C14.4219 17.4681 14.4629 17.3701 14.5449 17.2881C14.6315 17.2061 14.7318 17.165 14.8457 17.165H16.083V15.4492C16.083 15.3353 16.124 15.2396 16.2061 15.1621C16.2881 15.0801 16.3883 15.0391 16.5068 15.0391C16.6208 15.0391 16.7188 15.0801 16.8008 15.1621C16.8828 15.2396 16.9238 15.3353 16.9238 15.4492V17.582C16.9238 17.7005 16.8828 17.8008 16.8008 17.8828C16.7233 17.9648 16.6253 18.0059 16.5068 18.0059Z\"\n fill=\"white\"\n />\n </Svg>\n);\n"],"mappings":"AAAA,OAAOA,KAAK,MAAc,OAAO;AACjC,OAAOC,GAAG,IAAIC,IAAI,EAAEC,IAAI,QAAkB,kBAAkB;AAE5D,SAASC,iBAAiB,QAAQ,+BAA+B;;AAEjE;AACA,OAAO,MAAMC,YAA0B,GAAGA,CAAA,KAAM;EAC9C,MAAMC,WAAW,GAAGF,iBAAiB,CAA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AA,CAACL,IAAI;EACHa,CAAC,EAAC,qwBAAqwB;EACvwBM,MAAM,EAAC,OAAO;EACdC,aAAa,EAAC,KAAK;EACnBC,WAAW,EAAC;AAAG,CAChB,CAAC,eACFvB,KAAA,CAAAO,aAAA,CAACL,IAAI;EACHa,CAAC,EAAC,keAAke;EACpeP,IAAI,EAAC;AAAO,CACb,CAAC,eACFR,KAAA,CAAAO,aAAA,CAACL,IAAI;EACHa,CAAC,EAAC,ovBAAovB;EACtvBP,IAAI,EAAC;AAAS,CACf,CAAC,eACFR,KAAA,CAAAO,aAAA,CAACL,IAAI;EACHa,CAAC,EAAC,ygBAAygB;EAC3gBP,IAAI,EAAC;AAAO,CACb,CACE,CACN","ignoreList":[]}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Svg, { Path, Rect } from 'react-native-svg';
|
|
4
4
|
import { SelectorStatus } from '../credential/selector-status';
|
|
5
5
|
import { useAppColorScheme } from '../theme/color-scheme-context';
|
|
6
|
-
export const SelectorIcon =
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = _ref;
|
|
6
|
+
export const SelectorIcon = ({
|
|
7
|
+
status,
|
|
8
|
+
testID
|
|
9
|
+
}) => {
|
|
11
10
|
const colorScheme = useAppColorScheme();
|
|
12
11
|
return /*#__PURE__*/React.createElement(Svg, {
|
|
13
12
|
testID: testID,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Path","Rect","SelectorStatus","useAppColorScheme","SelectorIcon","
|
|
1
|
+
{"version":3,"names":["React","Svg","Path","Rect","SelectorStatus","useAppColorScheme","SelectorIcon","status","testID","colorScheme","createElement","width","height","viewBox","fill","Rejected","d","error","SelectedCheckmark","accentText","text","CheckedIcon","props","_extends","rx","accent","white"],"sources":["selector.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport Svg, { Path, Rect, SvgProps } from 'react-native-svg';\n\nimport { SelectorStatus } from '../credential/selector-status';\nimport { useAppColorScheme } from '../theme/color-scheme-context';\n\ninterface SelectorIconProps {\n status: SelectorStatus.SelectedCheckmark | SelectorStatus.Rejected | SelectorStatus.Required;\n testID?: string;\n}\n\nexport const SelectorIcon: FC<SelectorIconProps> = ({ status, testID }) => {\n const colorScheme = useAppColorScheme();\n return (\n <Svg testID={testID} width={24} height={24} viewBox=\"0 0 24 24\" fill=\"none\">\n {status === SelectorStatus.Rejected ? (\n <Path\n d=\"M12.807 12.0012L16.6097 8.18723C16.6645 8.13574 16.6957 8.06384 16.6957 7.98859C16.6957 7.91334 16.6645 7.84144 16.6097 7.78994L16.2124 7.3813C16.0998 7.27882 15.9277 7.27882 15.8151 7.3813L12.0011 11.1953L8.18714 7.3813C8.07454 7.27882 7.90246 7.27882 7.78985 7.3813L7.38121 7.78994C7.27873 7.90255 7.27873 8.07463 7.38121 8.18723L11.1952 12.0012L7.38121 15.8152C7.27873 15.9278 7.27873 16.0999 7.38121 16.2125L7.78985 16.6098C7.84135 16.6646 7.91325 16.6957 7.9885 16.6957C8.06375 16.6957 8.13564 16.6646 8.18714 16.6098L12.0011 12.8071L15.8151 16.6098C15.8666 16.6646 15.9385 16.6957 16.0137 16.6957C16.089 16.6957 16.1609 16.6646 16.2124 16.6098L16.6097 16.2125C16.6645 16.161 16.6957 16.0891 16.6957 16.0138C16.6957 15.9386 16.6645 15.8667 16.6097 15.8152L12.807 12.0012Z\"\n fill={colorScheme.error}\n />\n ) : (\n <Path\n d=\"M16.767 8.11a.432.432 0 0 0-.576 0l-6.013 5.941-3.109-3.149-.001-.001a.411.411 0 0 0-.576 0l-.375.364-.007.008a.432.432 0 0 0 0 .576l4.065 4.098 6.963-6.878.005-.005a.421.421 0 0 0 0-.568l-.368-.38-.008-.006Z\"\n fill={status === SelectorStatus.SelectedCheckmark ? colorScheme.accentText : colorScheme.text}\n />\n )}\n </Svg>\n );\n};\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=433-28355&mode=design&t=1iRzM15ip3buTTYX-4\nexport const CheckedIcon: FC<SvgProps> = (props) => {\n const colorScheme = useAppColorScheme();\n return (\n <Svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n <Rect width=\"24\" height=\"24\" rx=\"12\" fill={colorScheme.accent} />\n <Path\n d=\"M16.767 8.10994C16.6031 7.96335 16.3553 7.96335 16.1914 8.10994L10.1779 14.0513L7.06945 10.9024L7.06769 10.9007C6.908 10.7442 6.65225 10.7443 6.49247 10.9007L6.117 11.2652L6.11001 11.273C5.96343 11.4369 5.96328 11.6849 6.10986 11.8488L10.1755 15.9467L17.1378 9.06948L17.1432 9.06357C17.2895 8.90283 17.2895 8.65712 17.1432 8.49638L16.7748 8.11693L16.767 8.10994Z\"\n fill={colorScheme.white}\n />\n </Svg>\n );\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAc,OAAO;AACjC,OAAOC,GAAG,IAAIC,IAAI,EAAEC,IAAI,QAAkB,kBAAkB;AAE5D,SAASC,cAAc,QAAQ,+BAA+B;AAC9D,SAASC,iBAAiB,QAAQ,+BAA+B;AAOjE,OAAO,MAAMC,YAAmC,GAAGA,CAAC;EAAEC,MAAM;EAAEC;AAAO,CAAC,KAAK;EACzE,MAAMC,WAAW,GAAGJ,iBAAiB,CAAC,CAAC;EACvC,oBACEL,KAAA,CAAAU,aAAA,CAACT,GAAG;IAACO,MAAM,EAAEA,MAAO;IAACG,KAAK,EAAE,EAAG;IAACC,MAAM,EAAE,EAAG;IAACC,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC;EAAM,GACxEP,MAAM,KAAKH,cAAc,CAACW,QAAQ,gBACjCf,KAAA,CAAAU,aAAA,CAACR,IAAI;IACHc,CAAC,EAAC,0wBAA0wB;IAC5wBF,IAAI,EAAEL,WAAW,CAACQ;EAAM,CACzB,CAAC,gBAEFjB,KAAA,CAAAU,aAAA,CAACR,IAAI;IACHc,CAAC,EAAC,kNAAkN;IACpNF,IAAI,EAAEP,MAAM,KAAKH,cAAc,CAACc,iBAAiB,GAAGT,WAAW,CAACU,UAAU,GAAGV,WAAW,CAACW;EAAK,CAC/F,CAEA,CAAC;AAEV,CAAC;;AAED;AACA,OAAO,MAAMC,WAAyB,GAAIC,KAAK,IAAK;EAClD,MAAMb,WAAW,GAAGJ,iBAAiB,CAAC,CAAC;EACvC,oBACEL,KAAA,CAAAU,aAAA,CAACT,GAAG,EAAAsB,QAAA;IAACZ,KAAK,EAAC,IAAI;IAACC,MAAM,EAAC,IAAI;IAACC,OAAO,EAAC,WAAW;IAACC,IAAI,EAAC;EAAM,GAAKQ,KAAK,gBACnEtB,KAAA,CAAAU,aAAA,CAACP,IAAI;IAACQ,KAAK,EAAC,IAAI;IAACC,MAAM,EAAC,IAAI;IAACY,EAAE,EAAC,IAAI;IAACV,IAAI,EAAEL,WAAW,CAACgB;EAAO,CAAE,CAAC,eACjEzB,KAAA,CAAAU,aAAA,CAACR,IAAI;IACHc,CAAC,EAAC,4WAA4W;IAC9WF,IAAI,EAAEL,WAAW,CAACiB;EAAM,CACzB,CACE,CAAC;AAEV,CAAC","ignoreList":[]}
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Svg, { Circle, Defs, LinearGradient, Path, Rect, Stop } from 'react-native-svg';
|
|
4
4
|
|
|
5
5
|
// Icons for the wallet dashboard: https://www.figma.com/file/Mj9Nm9CUtauth6jt49UL7t/OTS-Developments-2023?type=design&node-id=135-32814&t=GXsNdBzYheEWxZvG-4
|
|
6
6
|
|
|
7
7
|
// https://www.figma.com/file/S3WwgTMHuqxAsfu5zElCzq/App-Icon-Library-(Design)?type=design&node-id=89-86&t=4mzTEO913aBKgW7w-4
|
|
8
|
-
export const NextIcon =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
fill: color
|
|
21
|
-
}));
|
|
22
|
-
};
|
|
8
|
+
export const NextIcon = ({
|
|
9
|
+
color,
|
|
10
|
+
...props
|
|
11
|
+
}) => /*#__PURE__*/React.createElement(Svg, _extends({
|
|
12
|
+
fill: "none",
|
|
13
|
+
height: 24,
|
|
14
|
+
viewBox: "0 0 24 24",
|
|
15
|
+
width: 24
|
|
16
|
+
}, props), /*#__PURE__*/React.createElement(Path, {
|
|
17
|
+
d: "M8.62948 6.10988C8.69502 6.03977 8.78652 6 8.88228 6C8.97805 6 9.06954 6.03977 9.13508 6.10988L15 11.9841L9.13508 17.9018C8.99178 18.0327 8.77278 18.0327 8.62948 17.9018L8.10944 17.3796C8.03961 17.3138 8 17.222 8 17.1258C8 17.0297 8.03961 16.9378 8.10944 16.872L12.9487 12.0131L8.10944 7.12517C8.03961 7.05937 8 6.9675 8 6.87135C8 6.7752 8.03961 6.68333 8.10944 6.61753L8.62948 6.10988Z",
|
|
18
|
+
fill: color
|
|
19
|
+
}));
|
|
23
20
|
|
|
24
21
|
// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=426-19996&t=m7aYCyqnFetWyDBt-4
|
|
25
22
|
export const NoCredentialsIcon = props => /*#__PURE__*/React.createElement(Svg, _extends({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Svg","Circle","Defs","LinearGradient","Path","Rect","Stop","NextIcon","
|
|
1
|
+
{"version":3,"names":["React","Svg","Circle","Defs","LinearGradient","Path","Rect","Stop","NextIcon","color","props","createElement","_extends","fill","height","viewBox","width","d","NoCredentialsIcon","cx","cy","opacity","r","rx","x","y","transform","gradientUnits","id","x1","x2","y1","y2","stopColor","offset","stopOpacity"],"sources":["wallet.tsx"],"sourcesContent":["import React from 'react';\nimport Svg, { Circle, Defs, LinearGradient, Path, Rect, Stop, SvgProps } from 'react-native-svg';\n\n// Icons for the wallet dashboard: https://www.figma.com/file/Mj9Nm9CUtauth6jt49UL7t/OTS-Developments-2023?type=design&node-id=135-32814&t=GXsNdBzYheEWxZvG-4\n\n// https://www.figma.com/file/S3WwgTMHuqxAsfu5zElCzq/App-Icon-Library-(Design)?type=design&node-id=89-86&t=4mzTEO913aBKgW7w-4\nexport const NextIcon: React.FunctionComponent<SvgProps> = ({ color, ...props }) => (\n <Svg fill=\"none\" height={24} viewBox=\"0 0 24 24\" width={24} {...props}>\n <Path\n d=\"M8.62948 6.10988C8.69502 6.03977 8.78652 6 8.88228 6C8.97805 6 9.06954 6.03977 9.13508 6.10988L15 11.9841L9.13508 17.9018C8.99178 18.0327 8.77278 18.0327 8.62948 17.9018L8.10944 17.3796C8.03961 17.3138 8 17.222 8 17.1258C8 17.0297 8.03961 16.9378 8.10944 16.872L12.9487 12.0131L8.10944 7.12517C8.03961 7.05937 8 6.9675 8 6.87135C8 6.7752 8.03961 6.68333 8.10944 6.61753L8.62948 6.10988Z\"\n fill={color}\n />\n </Svg>\n);\n\n// https://www.figma.com/file/52qDYWUMjXAGre1dcnz5bz/Procivis-One-Wallet?type=design&node-id=426-19996&t=m7aYCyqnFetWyDBt-4\nexport const NoCredentialsIcon: React.FunctionComponent<SvgProps> = (props) => (\n <Svg fill=\"none\" height=\"381\" viewBox=\"0 0 257 381\" width=\"257\" {...props}>\n <Circle cx=\"128.5\" cy=\"191.5\" fill=\"url(#paint0_linear_2399_11695)\" opacity=\"0.1\" r=\"128\" />\n <Rect fill=\"white\" height=\"118.725\" rx=\"10.4757\" width=\"178.087\" x=\"39.4565\" y=\"132.138\" />\n <Rect\n fill=\"url(#paint1_linear_2399_11695)\"\n height=\"118.725\"\n rx=\"10.4757\"\n transform=\"rotate(-180 217.543 119.152)\"\n width=\"178.087\"\n x=\"217.543\"\n y=\"119.152\"\n />\n <Rect fill=\"url(#paint2_linear_2399_11695)\" height=\"118.725\" rx=\"10.4757\" width=\"178.087\" x=\"39.4565\" y=\"261.993\" />\n <Rect fill=\"#0F151A\" height=\"1.85507\" width=\"44.5217\" x=\"108.094\" y=\"189.645\" />\n <Rect\n fill=\"#0F151A\"\n height=\"1.85507\"\n transform=\"rotate(90 131.283 168.312)\"\n width=\"44.5217\"\n x=\"131.283\"\n y=\"168.312\"\n />\n <Defs>\n <LinearGradient\n gradientUnits=\"userSpaceOnUse\"\n id=\"paint0_linear_2399_11695\"\n x1=\"128.5\"\n x2=\"128.5\"\n y1=\"63.5\"\n y2=\"319.5\">\n <Stop stopColor=\"#21353A\" />\n <Stop offset=\"1\" stopColor=\"#21353A\" stopOpacity=\"0\" />\n </LinearGradient>\n <LinearGradient\n gradientUnits=\"userSpaceOnUse\"\n id=\"paint1_linear_2399_11695\"\n x1=\"306.587\"\n x2=\"306.587\"\n y1=\"119.152\"\n y2=\"237.877\">\n <Stop stopColor=\"white\" />\n <Stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n </LinearGradient>\n <LinearGradient\n gradientUnits=\"userSpaceOnUse\"\n id=\"paint2_linear_2399_11695\"\n x1=\"128.5\"\n x2=\"128.5\"\n y1=\"261.993\"\n y2=\"380.717\">\n <Stop stopColor=\"white\" />\n <Stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n </LinearGradient>\n </Defs>\n </Svg>\n);\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAA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EACZC,EAAE,EAAC,SAAS;EACZC,EAAE,EAAC;AAAS,gBACZhC,KAAA,CAAAW,aAAA,CAACJ,IAAI;EAAC0B,SAAS,EAAC;AAAO,CAAE,CAAC,eAC1BjC,KAAA,CAAAW,aAAA,CAACJ,IAAI;EAAC2B,MAAM,EAAC,GAAG;EAACD,SAAS,EAAC,OAAO;EAACE,WAAW,EAAC;AAAG,CAAE,CACtC,CAAC,eACjBnC,KAAA,CAAAW,aAAA,CAACP,cAAc;EACbuB,aAAa,EAAC,gBAAgB;EAC9BC,EAAE,EAAC,0BAA0B;EAC7BC,EAAE,EAAC,OAAO;EACVC,EAAE,EAAC,OAAO;EACVC,EAAE,EAAC,SAAS;EACZC,EAAE,EAAC;AAAS,gBACZhC,KAAA,CAAAW,aAAA,CAACJ,IAAI;EAAC0B,SAAS,EAAC;AAAO,CAAE,CAAC,eAC1BjC,KAAA,CAAAW,aAAA,CAACJ,IAAI;EAAC2B,MAAM,EAAC,GAAG;EAACD,SAAS,EAAC,OAAO;EAACE,WAAW,EAAC;AAAG,CAAE,CACtC,CACZ,CACH,CACN","ignoreList":[]}
|
|
@@ -5,14 +5,13 @@ const styles = StyleSheet.create({
|
|
|
5
5
|
overflow: 'hidden'
|
|
6
6
|
}
|
|
7
7
|
});
|
|
8
|
-
const ImageSourceComponent =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} = _ref;
|
|
8
|
+
const ImageSourceComponent = ({
|
|
9
|
+
source,
|
|
10
|
+
style,
|
|
11
|
+
resizeMode = 'cover',
|
|
12
|
+
resizeMethod = 'resize',
|
|
13
|
+
testID
|
|
14
|
+
}) => {
|
|
16
15
|
const imageStyle = useMemo(() => {
|
|
17
16
|
const {
|
|
18
17
|
width,
|
|
@@ -44,12 +43,11 @@ const ImageSourceComponent = _ref => {
|
|
|
44
43
|
resizeMethod: resizeMethod
|
|
45
44
|
}));
|
|
46
45
|
};
|
|
47
|
-
const ImageOrComponent =
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} = _ref2;
|
|
46
|
+
const ImageOrComponent = ({
|
|
47
|
+
source,
|
|
48
|
+
style,
|
|
49
|
+
testID
|
|
50
|
+
}) => {
|
|
53
51
|
if ('imageSource' in source) {
|
|
54
52
|
return /*#__PURE__*/React.createElement(ImageSourceComponent, {
|
|
55
53
|
style: style,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useMemo","Image","StyleSheet","View","styles","create","imageWrapper","overflow","ImageSourceComponent","
|
|
1
|
+
{"version":3,"names":["React","useMemo","Image","StyleSheet","View","styles","create","imageWrapper","overflow","ImageSourceComponent","source","style","resizeMode","resizeMethod","testID","imageStyle","width","height","borderWidth","borderBottomWidth","borderTopWidth","borderLeftWidth","borderRightWidth","flatten","borderWidths","left","right","top","bottom","createElement","ImageOrComponent","imageSource","component"],"sources":["image-or-component.tsx"],"sourcesContent":["import React, { FC, ReactElement, useMemo } from 'react';\nimport { Image, ImageProps, ImageSourcePropType, ImageStyle, StyleProp, StyleSheet, View } from 'react-native';\n\nconst styles = StyleSheet.create({\n imageWrapper: {\n overflow: 'hidden',\n },\n});\n\ninterface ImageSourceComponentProps {\n source: ImageSourcePropType;\n style: StyleProp<ImageStyle>;\n resizeMode?: ImageProps['resizeMode'];\n resizeMethod?: ImageProps['resizeMethod'];\n testID?: string;\n}\n\nconst ImageSourceComponent: FC<ImageSourceComponentProps> = ({\n source,\n style,\n resizeMode = 'cover',\n resizeMethod = 'resize',\n testID,\n}) => {\n const imageStyle = useMemo<ImageStyle>(() => {\n const {\n width,\n height,\n borderWidth = 0,\n borderBottomWidth,\n borderTopWidth,\n borderLeftWidth,\n borderRightWidth,\n } = StyleSheet.flatten(style);\n\n const borderWidths = {\n left: borderLeftWidth ?? borderWidth,\n right: borderRightWidth ?? borderWidth,\n top: borderTopWidth ?? borderWidth,\n bottom: borderBottomWidth ?? borderWidth,\n };\n\n return {\n width: typeof width === 'number' ? width - borderWidths.left - borderWidths.right : width,\n height: typeof height === 'number' ? height - borderWidths.top - borderWidths.bottom : height,\n };\n }, [style]);\n\n return (\n <View style={[styles.imageWrapper, style]}>\n <Image testID={testID} style={imageStyle} source={source} resizeMode={resizeMode} resizeMethod={resizeMethod} />\n </View>\n );\n};\n\nexport type ImageOrComponentSource =\n | {\n imageSource: ImageSourcePropType;\n resizeMode?: ImageProps['resizeMode'];\n resizeMethod?: ImageProps['resizeMethod'];\n }\n | { component: ReactElement };\n\ninterface ImageOrComponentProps {\n source: ImageOrComponentSource;\n style: StyleProp<ImageStyle>;\n testID?: string;\n}\n\nconst ImageOrComponent: FC<ImageOrComponentProps> = ({ source, style, testID }) => {\n if ('imageSource' in source) {\n return (\n <ImageSourceComponent\n style={style}\n source={source.imageSource}\n resizeMode={source.resizeMode}\n resizeMethod={source.resizeMethod}\n testID={testID}\n />\n );\n }\n if ('component' in source) {\n return (\n <View testID={testID} style={style}>\n {source.component}\n </View>\n );\n }\n return null;\n};\n\nexport default ImageOrComponent;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAsBC,OAAO,QAAQ,OAAO;AACxD,SAASC,KAAK,EAA0DC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAE9G,MAAMC,MAAM,GAAGF,UAAU,CAACG,MAAM,CAAC;EAC/BC,YAAY,EAAE;IACZC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAUF,MAAMC,oBAAmD,GAAGA,CAAC;EAC3DC,MAAM;EACNC,KAAK;EACLC,UAAU,GAAG,OAAO;EACpBC,YAAY,GAAG,QAAQ;EACvBC;AACF,CAAC,KAAK;EACJ,MAAMC,UAAU,GAAGd,OAAO,CAAa,MAAM;IAC3C,MAAM;MACJe,KAAK;MACLC,MAAM;MACNC,WAAW,GAAG,CAAC;MACfC,iBAAiB;MACjBC,cAAc;MACdC,eAAe;MACfC;IACF,CAAC,GAAGnB,UAAU,CAACoB,OAAO,CAAC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;MAC9BC,YAAY,EAAEH,MAAM,CAACG,YAAa;MAClCC,MAAM,EAAEA;IAAO,CAChB,CAAC;EAEN;EACA,IAAI,WAAW,IAAIJ,MAAM,EAAE;IACzB,oBACEV,KAAA,CAAA6B,aAAA,CAACzB,IAAI;MAACU,MAAM,EAAEA,MAAO;MAACH,KAAK,EAAEA;IAAM,GAChCD,MAAM,CAACsB,SACJ,CAAC;EAEX;EACA,OAAO,IAAI;AACb,CAAC;AAED,eAAeF,gBAAgB","ignoreList":[]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import ImageOrComponent
|
|
2
|
-
export { ImageOrComponent
|
|
1
|
+
import ImageOrComponent from './image-or-component';
|
|
2
|
+
export { ImageOrComponent };
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ImageOrComponent"
|
|
1
|
+
{"version":3,"names":["ImageOrComponent"],"sources":["index.tsx"],"sourcesContent":["import type { ImageOrComponentSource } from './image-or-component';\nimport ImageOrComponent from './image-or-component';\n\nexport { ImageOrComponent, ImageOrComponentSource };\n"],"mappings":"AACA,OAAOA,gBAAgB,MAAM,sBAAsB;AAEnD,SAASA,gBAAgB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from './accessibility';\nexport * from './action-modal';\nexport * from './activity-indicator';\nexport * from './blur';\nexport * from './buttons';\nexport * from './camera';\nexport * from './control';\nexport * from './credential';\nexport * from './detail';\nexport * from './entity';\nexport * from './header';\nexport * from './history';\nexport * from './icons';\nexport * from './image';\nexport * from './input';\nexport * from './list';\nexport * from './loader';\nexport * from './nerd-view';\nexport * from './pin';\nexport * from './screens';\nexport * from './searchbar';\nexport * from './settings';\nexport * from './state';\nexport * from './text';\nexport * from './theme';\n"],"mappings":"AAAA,cAAc,iBAAiB;AAC/B,cAAc,gBAAgB;AAC9B,cAAc,sBAAsB;AACpC,cAAc,QAAQ;AACtB,cAAc,WAAW;AACzB,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,cAAc;AAC5B,cAAc,UAAU;AACxB,cAAc,UAAU;AACxB,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,aAAa;AAC3B,cAAc,OAAO;AACrB,cAAc,WAAW;AACzB,cAAc,aAAa;AAC3B,cAAc,YAAY;AAC1B,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,SAAS"}
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from './accessibility';\nexport * from './action-modal';\nexport * from './activity-indicator';\nexport * from './blur';\nexport * from './buttons';\nexport * from './camera';\nexport * from './control';\nexport * from './credential';\nexport * from './detail';\nexport * from './entity';\nexport * from './header';\nexport * from './history';\nexport * from './icons';\nexport * from './image';\nexport * from './input';\nexport * from './list';\nexport * from './loader';\nexport * from './nerd-view';\nexport * from './pin';\nexport * from './screens';\nexport * from './searchbar';\nexport * from './settings';\nexport * from './state';\nexport * from './text';\nexport * from './theme';\n"],"mappings":"AAAA,cAAc,iBAAiB;AAC/B,cAAc,gBAAgB;AAC9B,cAAc,sBAAsB;AACpC,cAAc,QAAQ;AACtB,cAAc,WAAW;AACzB,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,cAAc;AAC5B,cAAc,UAAU;AACxB,cAAc,UAAU;AACxB,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,aAAa;AAC3B,cAAc,OAAO;AACrB,cAAc,WAAW;AACzB,cAAc,aAAa;AAC3B,cAAc,YAAY;AAC1B,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,SAAS","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["RadioGroup","RadioGroupItem","RadioGroupProps","SelectionInput","SelectionInputChoice","SelectionInputProps","TextInput","TextInputAccessory","TextInputProps"],"sources":["index.ts"],"sourcesContent":["import RadioGroup, { RadioGroupItem, RadioGroupProps } from './radio-group';\nimport SelectionInput, { SelectionInputChoice, SelectionInputProps } from './selection-input';\nimport TextInput, { TextInputAccessory, TextInputProps } from './text-input';\n\nexport { RadioGroup, RadioGroupItem, RadioGroupProps };\nexport { SelectionInput, SelectionInputChoice, SelectionInputProps };\nexport { TextInput, TextInputAccessory, TextInputProps };\n"],"mappings":"AAAA,OAAOA,UAAU,IAAIC,cAAc,EAAEC,eAAe,QAAQ,eAAe;AAC3E,OAAOC,cAAc,IAAIC,oBAAoB,EAAEC,mBAAmB,QAAQ,mBAAmB;AAC7F,OAAOC,SAAS,IAAIC,kBAAkB,EAAEC,cAAc,QAAQ,cAAc;AAE5E,SAASR,UAAU,EAAEC,cAAc,EAAEC,eAAe;AACpD,SAASC,cAAc,EAAEC,oBAAoB,EAAEC,mBAAmB;AAClE,SAASC,SAAS,EAAEC,kBAAkB,EAAEC,cAAc"}
|
|
1
|
+
{"version":3,"names":["RadioGroup","RadioGroupItem","RadioGroupProps","SelectionInput","SelectionInputChoice","SelectionInputProps","TextInput","TextInputAccessory","TextInputProps"],"sources":["index.ts"],"sourcesContent":["import RadioGroup, { RadioGroupItem, RadioGroupProps } from './radio-group';\nimport SelectionInput, { SelectionInputChoice, SelectionInputProps } from './selection-input';\nimport TextInput, { TextInputAccessory, TextInputProps } from './text-input';\n\nexport { RadioGroup, RadioGroupItem, RadioGroupProps };\nexport { SelectionInput, SelectionInputChoice, SelectionInputProps };\nexport { TextInput, TextInputAccessory, TextInputProps };\n"],"mappings":"AAAA,OAAOA,UAAU,IAAIC,cAAc,EAAEC,eAAe,QAAQ,eAAe;AAC3E,OAAOC,cAAc,IAAIC,oBAAoB,EAAEC,mBAAmB,QAAQ,mBAAmB;AAC7F,OAAOC,SAAS,IAAIC,kBAAkB,EAAEC,cAAc,QAAQ,cAAc;AAE5E,SAASR,UAAU,EAAEC,cAAc,EAAEC,eAAe;AACpD,SAASC,cAAc,EAAEC,oBAAoB,EAAEC,mBAAmB;AAClE,SAASC,SAAS,EAAEC,kBAAkB,EAAEC,cAAc","ignoreList":[]}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlatList, StyleSheet, View } from 'react-native';
|
|
3
|
+
import { concatTestID } from '../../utils';
|
|
3
4
|
import { TouchableOpacity } from '../accessibility/accessibilityHistoryWrappers';
|
|
4
5
|
import Selector from '../credential/selector';
|
|
5
6
|
import { SelectorStatus } from '../credential/selector-status';
|
|
6
7
|
import Typography from '../text/typography';
|
|
7
8
|
import { useAppColorScheme } from '../theme/color-scheme-context';
|
|
8
|
-
const RadioGroup =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} = _ref;
|
|
9
|
+
const RadioGroup = ({
|
|
10
|
+
containerStyle,
|
|
11
|
+
items,
|
|
12
|
+
selectedItem,
|
|
13
|
+
onSelected,
|
|
14
|
+
style,
|
|
15
|
+
listFooter,
|
|
16
|
+
listFooterStyle,
|
|
17
|
+
onEndReached,
|
|
18
|
+
onGetItemAccessibilityLabel,
|
|
19
|
+
testID,
|
|
20
|
+
scrollEnabled = true
|
|
21
|
+
}) => {
|
|
22
22
|
const colorScheme = useAppColorScheme();
|
|
23
23
|
return /*#__PURE__*/React.createElement(FlatList, {
|
|
24
24
|
scrollEnabled: scrollEnabled,
|
|
@@ -27,11 +27,10 @@ const RadioGroup = _ref => {
|
|
|
27
27
|
contentContainerStyle: containerStyle,
|
|
28
28
|
data: items,
|
|
29
29
|
onEndReached: onEndReached,
|
|
30
|
-
renderItem:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} = _ref2;
|
|
30
|
+
renderItem: ({
|
|
31
|
+
item,
|
|
32
|
+
index
|
|
33
|
+
}) => {
|
|
35
34
|
const selected = selectedItem === item.key;
|
|
36
35
|
return /*#__PURE__*/React.createElement(React.Fragment, {
|
|
37
36
|
key: item.key
|
|
@@ -51,10 +50,13 @@ const RadioGroup = _ref => {
|
|
|
51
50
|
style: [styles.item, item.style],
|
|
52
51
|
testID: item.testID
|
|
53
52
|
}, /*#__PURE__*/React.createElement(Typography, {
|
|
54
|
-
color: colorScheme.text
|
|
53
|
+
color: colorScheme.text,
|
|
54
|
+
style: styles.label,
|
|
55
|
+
numberOfLines: 2
|
|
55
56
|
}, item.label), /*#__PURE__*/React.createElement(Selector, {
|
|
56
57
|
status: selected ? SelectorStatus.SelectedRadio : SelectorStatus.Empty,
|
|
57
|
-
style: styles.selector
|
|
58
|
+
style: styles.selector,
|
|
59
|
+
testID: concatTestID(item.testID, 'selector')
|
|
58
60
|
})), /*#__PURE__*/React.createElement(View, {
|
|
59
61
|
style: [styles.divider, {
|
|
60
62
|
backgroundColor: colorScheme.background
|
|
@@ -74,10 +76,12 @@ const styles = StyleSheet.create({
|
|
|
74
76
|
item: {
|
|
75
77
|
alignItems: 'center',
|
|
76
78
|
flexDirection: 'row',
|
|
77
|
-
justifyContent: 'space-between',
|
|
78
79
|
paddingVertical: 24,
|
|
79
80
|
width: '100%'
|
|
80
81
|
},
|
|
82
|
+
label: {
|
|
83
|
+
flex: 1
|
|
84
|
+
},
|
|
81
85
|
selector: {
|
|
82
86
|
marginLeft: 4,
|
|
83
87
|
paddingTop: 0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","FlatList","StyleSheet","View","TouchableOpacity","Selector","SelectorStatus","Typography","useAppColorScheme","RadioGroup","
|
|
1
|
+
{"version":3,"names":["React","FlatList","StyleSheet","View","concatTestID","TouchableOpacity","Selector","SelectorStatus","Typography","useAppColorScheme","RadioGroup","containerStyle","items","selectedItem","onSelected","style","listFooter","listFooterStyle","onEndReached","onGetItemAccessibilityLabel","testID","scrollEnabled","colorScheme","createElement","ListFooterComponent","ListFooterComponentStyle","contentContainerStyle","data","renderItem","item","index","selected","key","Fragment","accessibilityLabel","label","accessibilityRole","accessibilityState","accessibilityValue","length","text","undefined","activeOpacity","onPress","styles","color","numberOfLines","status","SelectedRadio","Empty","selector","divider","backgroundColor","background","showsVerticalScrollIndicator","create","height","width","alignItems","flexDirection","paddingVertical","flex","marginLeft","paddingTop"],"sources":["radio-group.tsx"],"sourcesContent":["import React, { FunctionComponent } from 'react';\nimport { FlatList, FlatListProps, StyleProp, StyleSheet, View, ViewStyle } from 'react-native';\n\nimport { concatTestID } from '../../utils';\nimport { TouchableOpacity } from '../accessibility/accessibilityHistoryWrappers';\nimport Selector from '../credential/selector';\nimport { SelectorStatus } from '../credential/selector-status';\nimport Typography from '../text/typography';\nimport { useAppColorScheme } from '../theme/color-scheme-context';\n\nexport type RadioGroupItem = {\n key: React.Key;\n label: string;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n};\n\nexport type RadioGroupProps = {\n containerStyle?: StyleProp<ViewStyle>;\n items: RadioGroupItem[];\n listFooter?: FlatListProps<RadioGroupItem>['ListFooterComponent'];\n listFooterStyle?: FlatListProps<RadioGroupItem>['ListFooterComponentStyle'];\n onEndReached?: FlatListProps<RadioGroupItem>['onEndReached'];\n onGetItemAccessibilityLabel?: (current: number, length: number) => string;\n onSelected: (item: RadioGroupItem, index: number) => void;\n selectedItem?: React.Key;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n scrollEnabled?: boolean;\n};\n\nconst RadioGroup: FunctionComponent<RadioGroupProps> = ({\n containerStyle,\n items,\n selectedItem,\n onSelected,\n style,\n listFooter,\n listFooterStyle,\n onEndReached,\n onGetItemAccessibilityLabel,\n testID,\n scrollEnabled = true,\n}) => {\n const colorScheme = useAppColorScheme();\n\n return (\n <FlatList<RadioGroupItem>\n scrollEnabled={scrollEnabled}\n ListFooterComponent={listFooter}\n ListFooterComponentStyle={listFooterStyle}\n contentContainerStyle={containerStyle}\n data={items}\n onEndReached={onEndReached}\n renderItem={({ item, index }) => {\n const selected = selectedItem === item.key;\n return (\n <React.Fragment key={item.key}>\n <TouchableOpacity\n accessibilityLabel={item.label}\n accessibilityRole=\"button\"\n accessibilityState={{ selected }}\n accessibilityValue={\n items.length > 1 && onGetItemAccessibilityLabel\n ? {\n text: onGetItemAccessibilityLabel(index + 1, items.length),\n }\n : undefined\n }\n activeOpacity={selected ? 1 : undefined}\n onPress={() => {\n onSelected(item, index);\n }}\n style={[styles.item, item.style]}\n testID={item.testID}>\n <Typography color={colorScheme.text} style={styles.label} numberOfLines={2}>\n {item.label}\n </Typography>\n <Selector\n status={selected ? SelectorStatus.SelectedRadio : SelectorStatus.Empty}\n style={styles.selector}\n testID={concatTestID(item.testID, 'selector')}\n />\n </TouchableOpacity>\n <View style={[styles.divider, { backgroundColor: colorScheme.background }]} />\n </React.Fragment>\n );\n }}\n showsVerticalScrollIndicator={false}\n style={style}\n testID={testID}\n />\n );\n};\n\nconst styles = StyleSheet.create({\n divider: {\n height: 1,\n width: '100%',\n },\n item: {\n alignItems: 'center',\n flexDirection: 'row',\n paddingVertical: 24,\n width: '100%',\n },\n label: {\n flex: 1,\n },\n selector: {\n marginLeft: 4,\n paddingTop: 0,\n },\n});\n\nexport default RadioGroup;\n"],"mappings":"AAAA,OAAOA,KAAK,MAA6B,OAAO;AAChD,SAASC,QAAQ,EAA4BC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAE9F,SAASC,YAAY,QAAQ,aAAa;AAC1C,SAASC,gBAAgB,QAAQ,+CAA+C;AAChF,OAAOC,QAAQ,MAAM,wBAAwB;AAC7C,SAASC,cAAc,QAAQ,+BAA+B;AAC9D,OAAOC,UAAU,MAAM,oBAAoB;AAC3C,SAASC,iBAAiB,QAAQ,+BAA+B;AAuBjE,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extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import Picker from '@procivis/react-native-picker';
|
|
3
3
|
import React, { forwardRef, useCallback, useMemo, useState } from 'react';
|
|
4
4
|
import { useForwardedRef } from '../../utils/ref';
|
|
@@ -11,38 +11,31 @@ import TextInput, { TextInputAccessory } from './text-input';
|
|
|
11
11
|
* Generic selection input component
|
|
12
12
|
* @see https://www.figma.com/file/Gd0Tj0234hxtl3HMcCJThW/App-Component-Library-(Design)?node-id=4%3A127&t=B2Y3PtJHH22XDPkx-0
|
|
13
13
|
*/
|
|
14
|
-
const SelectionInput = /*#__PURE__*/forwardRef((
|
|
14
|
+
const SelectionInput = /*#__PURE__*/forwardRef(({
|
|
15
|
+
selectedValue,
|
|
16
|
+
values,
|
|
17
|
+
label,
|
|
18
|
+
pickerTitle,
|
|
19
|
+
pickerConfirmLabel,
|
|
20
|
+
pickerCancelLabel,
|
|
21
|
+
onChange,
|
|
22
|
+
error,
|
|
23
|
+
...props
|
|
24
|
+
}, ref) => {
|
|
15
25
|
var _selectedChoice$short;
|
|
16
|
-
let {
|
|
17
|
-
selectedValue,
|
|
18
|
-
values,
|
|
19
|
-
label,
|
|
20
|
-
pickerTitle,
|
|
21
|
-
pickerConfirmLabel,
|
|
22
|
-
pickerCancelLabel,
|
|
23
|
-
onChange,
|
|
24
|
-
error,
|
|
25
|
-
...props
|
|
26
|
-
} = _ref;
|
|
27
26
|
const t = useAccessibilityTranslation();
|
|
28
27
|
const colorScheme = useAppColorScheme();
|
|
29
|
-
const selectedChoice = useMemo(() => selectedValue !== undefined ? values.find(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} = _ref2;
|
|
33
|
-
return value === selectedValue;
|
|
34
|
-
}) : undefined, [selectedValue, values]);
|
|
28
|
+
const selectedChoice = useMemo(() => selectedValue !== undefined ? values.find(({
|
|
29
|
+
value
|
|
30
|
+
}) => value === selectedValue) : undefined, [selectedValue, values]);
|
|
35
31
|
const [forwardedRef, refObject] = useForwardedRef(ref);
|
|
36
32
|
const [pickerOpen, setPickerOpen] = useState(false);
|
|
37
33
|
const onOpen = useCallback(() => setPickerOpen(true), []);
|
|
38
34
|
const onConfirm = useCallback(valueLabel => {
|
|
39
35
|
setPickerOpen(false);
|
|
40
|
-
const choice = values.find(
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} = _ref3;
|
|
44
|
-
return choiceLabel === valueLabel;
|
|
45
|
-
});
|
|
36
|
+
const choice = values.find(({
|
|
37
|
+
label: choiceLabel
|
|
38
|
+
}) => choiceLabel === valueLabel);
|
|
46
39
|
if (!choice || !(onChange !== null && onChange !== void 0 && onChange(choice))) {
|
|
47
40
|
setTimeout(() => focusAccessibility(refObject.current), 200);
|
|
48
41
|
}
|
|
@@ -71,12 +64,9 @@ const SelectionInput = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
71
64
|
}), /*#__PURE__*/React.createElement(Picker, {
|
|
72
65
|
cancelText: pickerCancelLabel,
|
|
73
66
|
confirmText: pickerConfirmLabel,
|
|
74
|
-
items: values.map(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} = _ref4;
|
|
78
|
-
return itemLabel;
|
|
79
|
-
}),
|
|
67
|
+
items: values.map(({
|
|
68
|
+
label: itemLabel
|
|
69
|
+
}) => itemLabel),
|
|
80
70
|
modal: true,
|
|
81
71
|
mode: "list",
|
|
82
72
|
onCancel: onCancel,
|