@procivis/one-react-native-components 0.1.63 → 0.3.22
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 +15 -9
- package/lib/commonjs/components/backup/index.js +17 -0
- package/lib/commonjs/components/backup/index.js.map +1 -0
- package/lib/commonjs/components/backup/preview-credentials.js +38 -0
- package/lib/commonjs/components/backup/preview-credentials.js.map +1 -0
- package/lib/commonjs/components/credential/credential.js +62 -0
- package/lib/commonjs/components/credential/credential.js.map +1 -0
- package/lib/commonjs/components/credential/index.js +17 -0
- package/lib/commonjs/components/credential/index.js.map +1 -0
- package/lib/commonjs/components/entity/EntityButtons.js +64 -0
- package/lib/commonjs/components/entity/EntityButtons.js.map +1 -0
- package/lib/commonjs/components/entity/entity-attributes.js +50 -0
- package/lib/commonjs/components/entity/entity-attributes.js.map +1 -0
- package/lib/commonjs/components/entity/entity-details-with-buttons.js +90 -0
- package/lib/commonjs/components/entity/entity-details-with-buttons.js.map +1 -0
- package/lib/commonjs/components/entity/entity-details.js +72 -0
- package/lib/commonjs/components/entity/entity-details.js.map +1 -0
- package/lib/commonjs/components/entity/index.js +27 -0
- package/lib/commonjs/components/entity/index.js.map +1 -0
- 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 +94 -0
- package/lib/commonjs/components/history/history-list-item-icon.js.map +1 -0
- package/lib/commonjs/components/history/history-list-item.js +45 -0
- package/lib/commonjs/components/history/history-list-item.js.map +1 -0
- package/lib/commonjs/components/history/history-list-screen.js +121 -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 +72 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/components/navigation/header-buttons.js +78 -0
- package/lib/commonjs/components/navigation/header-buttons.js.map +1 -0
- package/lib/commonjs/components/navigation/index.js +17 -0
- package/lib/commonjs/components/navigation/index.js.map +1 -0
- package/lib/commonjs/components/proof-request/group.js +35 -0
- package/lib/commonjs/components/proof-request/group.js.map +1 -0
- package/lib/commonjs/components/proof-request/index.js +39 -0
- package/lib/commonjs/components/proof-request/index.js.map +1 -0
- package/lib/commonjs/components/proof-request/select-credential.js +48 -0
- package/lib/commonjs/components/proof-request/select-credential.js.map +1 -0
- package/lib/commonjs/components/proof-request/share-credential.js +159 -0
- package/lib/commonjs/components/proof-request/share-credential.js.map +1 -0
- package/lib/commonjs/index.js +8 -261
- 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 +197 -0
- package/lib/commonjs/ui-components/accessibility/accessibility.js.map +1 -0
- package/lib/commonjs/ui-components/accessibility/accessibilityHistory.js +77 -0
- package/lib/commonjs/ui-components/accessibility/accessibilityHistory.js.map +1 -0
- package/lib/commonjs/ui-components/accessibility/accessibilityHistoryWrappers.js +47 -0
- package/lib/commonjs/ui-components/accessibility/accessibilityHistoryWrappers.js.map +1 -0
- package/lib/commonjs/ui-components/accessibility/accessibilityLanguage.js +61 -0
- package/lib/commonjs/ui-components/accessibility/accessibilityLanguage.js.map +1 -0
- package/lib/commonjs/ui-components/accessibility/index.js +100 -0
- package/lib/commonjs/ui-components/accessibility/index.js.map +1 -0
- package/lib/commonjs/ui-components/accessibility/locale/index.js +20 -0
- package/lib/commonjs/ui-components/accessibility/locale/index.js.map +1 -0
- package/lib/commonjs/ui-components/accessibility/locale.test.js.map +1 -0
- package/lib/commonjs/ui-components/action-modal/ActionModal.js +50 -0
- package/lib/commonjs/ui-components/action-modal/ActionModal.js.map +1 -0
- package/lib/commonjs/ui-components/action-modal/index.js +14 -0
- package/lib/commonjs/ui-components/action-modal/index.js.map +1 -0
- package/lib/commonjs/ui-components/activity-indicator/activity-indicator.js +32 -0
- package/lib/commonjs/ui-components/activity-indicator/activity-indicator.js.map +1 -0
- package/lib/commonjs/ui-components/activity-indicator/index.js +14 -0
- package/lib/commonjs/ui-components/activity-indicator/index.js.map +1 -0
- package/lib/commonjs/ui-components/blur/blur-view.js +74 -0
- package/lib/commonjs/ui-components/blur/blur-view.js.map +1 -0
- package/lib/commonjs/ui-components/blur/index.js +21 -0
- package/lib/commonjs/ui-components/blur/index.js.map +1 -0
- package/lib/commonjs/ui-components/buttons/back-button.js +34 -0
- package/lib/commonjs/ui-components/buttons/back-button.js.map +1 -0
- package/lib/commonjs/ui-components/buttons/button.js +150 -0
- package/lib/commonjs/ui-components/buttons/button.js.map +1 -0
- package/lib/commonjs/ui-components/buttons/connectivity-button.js +80 -0
- package/lib/commonjs/ui-components/buttons/connectivity-button.js.map +1 -0
- package/lib/commonjs/ui-components/buttons/filter-button.js +49 -0
- package/lib/commonjs/ui-components/buttons/filter-button.js.map +1 -0
- package/lib/commonjs/ui-components/buttons/ghost-button.js +60 -0
- package/lib/commonjs/ui-components/buttons/ghost-button.js.map +1 -0
- 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 +76 -0
- package/lib/commonjs/ui-components/buttons/index.js.map +1 -0
- package/lib/commonjs/ui-components/buttons/scan-button.js +81 -0
- package/lib/commonjs/ui-components/buttons/scan-button.js.map +1 -0
- package/lib/commonjs/ui-components/camera/camera-overlay.js +58 -0
- package/lib/commonjs/ui-components/camera/camera-overlay.js.map +1 -0
- package/lib/commonjs/ui-components/camera/index.js +21 -0
- package/lib/commonjs/ui-components/camera/index.js.map +1 -0
- package/lib/commonjs/ui-components/camera/qr-code-scanner.js +48 -0
- package/lib/commonjs/ui-components/camera/qr-code-scanner.js.map +1 -0
- package/lib/commonjs/ui-components/control/checkbox.js +78 -0
- package/lib/commonjs/ui-components/control/checkbox.js.map +1 -0
- package/lib/commonjs/ui-components/control/index.js.map +1 -0
- package/lib/commonjs/ui-components/control/switch.js +63 -0
- package/lib/commonjs/ui-components/control/switch.js.map +1 -0
- package/lib/commonjs/ui-components/credential/card/credential-card.js +179 -0
- package/lib/commonjs/ui-components/credential/card/credential-card.js.map +1 -0
- package/lib/commonjs/ui-components/credential/card/credential-details-card.js +194 -0
- package/lib/commonjs/ui-components/credential/card/credential-details-card.js.map +1 -0
- package/lib/commonjs/ui-components/credential/card/credential-details-list-item.js +91 -0
- package/lib/commonjs/ui-components/credential/card/credential-details-list-item.js.map +1 -0
- package/lib/commonjs/ui-components/credential/card/credential-header.js +174 -0
- package/lib/commonjs/ui-components/credential/card/credential-header.js.map +1 -0
- package/lib/commonjs/ui-components/credential/card/credential-image-carousel.js +122 -0
- package/lib/commonjs/ui-components/credential/card/credential-image-carousel.js.map +1 -0
- package/lib/commonjs/ui-components/credential/card/index.js +56 -0
- package/lib/commonjs/ui-components/credential/card/index.js.map +1 -0
- package/lib/commonjs/ui-components/credential/credential-attribute-item.js +280 -0
- package/lib/commonjs/ui-components/credential/credential-attribute-item.js.map +1 -0
- package/lib/commonjs/ui-components/credential/credential-carousel-images.js +95 -0
- package/lib/commonjs/ui-components/credential/credential-carousel-images.js.map +1 -0
- package/lib/commonjs/ui-components/credential/index.js +67 -0
- package/lib/commonjs/ui-components/credential/index.js.map +1 -0
- package/lib/commonjs/ui-components/credential/selector-status.js +16 -0
- package/lib/commonjs/ui-components/credential/selector-status.js.map +1 -0
- package/lib/commonjs/ui-components/credential/selector.js +77 -0
- package/lib/commonjs/ui-components/credential/selector.js.map +1 -0
- package/lib/commonjs/ui-components/detail/detail.js +82 -0
- package/lib/commonjs/ui-components/detail/detail.js.map +1 -0
- package/lib/commonjs/ui-components/detail/index.js +14 -0
- package/lib/commonjs/ui-components/detail/index.js.map +1 -0
- package/lib/commonjs/ui-components/entity/avatar.js +104 -0
- package/lib/commonjs/ui-components/entity/avatar.js.map +1 -0
- package/lib/commonjs/ui-components/entity/entity-cluster.js +72 -0
- package/lib/commonjs/ui-components/entity/entity-cluster.js.map +1 -0
- package/lib/commonjs/ui-components/entity/index.js +34 -0
- package/lib/commonjs/ui-components/entity/index.js.map +1 -0
- package/lib/commonjs/ui-components/header/focus-aware-status-bar.js +19 -0
- package/lib/commonjs/ui-components/header/focus-aware-status-bar.js.map +1 -0
- package/lib/commonjs/ui-components/header/foldable-header.js +86 -0
- package/lib/commonjs/ui-components/header/foldable-header.js.map +1 -0
- package/lib/commonjs/ui-components/header/header.js +103 -0
- package/lib/commonjs/ui-components/header/header.js.map +1 -0
- package/lib/commonjs/ui-components/header/index.js +35 -0
- package/lib/commonjs/ui-components/header/index.js.map +1 -0
- package/lib/commonjs/ui-components/header/navigation-header.js +142 -0
- package/lib/commonjs/ui-components/header/navigation-header.js.map +1 -0
- package/lib/commonjs/ui-components/history/data-item.js +77 -0
- package/lib/commonjs/ui-components/history/data-item.js.map +1 -0
- 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-item.js +111 -0
- package/lib/commonjs/ui-components/history/history-item.js.map +1 -0
- package/lib/commonjs/ui-components/history/history-section-header.js +47 -0
- package/lib/commonjs/ui-components/history/history-section-header.js.map +1 -0
- package/lib/commonjs/ui-components/history/history-section-list-item.js +48 -0
- package/lib/commonjs/ui-components/history/history-section-list-item.js.map +1 -0
- package/lib/commonjs/ui-components/history/index.js +76 -0
- package/lib/commonjs/ui-components/history/index.js.map +1 -0
- package/lib/commonjs/ui-components/icons/connectivity.js +134 -0
- package/lib/commonjs/ui-components/icons/connectivity.js.map +1 -0
- package/lib/commonjs/ui-components/icons/credential.js +151 -0
- package/lib/commonjs/ui-components/icons/credential.js.map +1 -0
- package/lib/commonjs/ui-components/icons/entity.js +51 -0
- package/lib/commonjs/ui-components/icons/entity.js.map +1 -0
- package/lib/commonjs/ui-components/icons/history.js +388 -0
- package/lib/commonjs/ui-components/icons/history.js.map +1 -0
- package/lib/commonjs/ui-components/icons/icons.js +233 -0
- package/lib/commonjs/ui-components/icons/icons.js.map +1 -0
- package/lib/commonjs/ui-components/icons/index.js.map +1 -0
- package/lib/commonjs/ui-components/icons/input.js +44 -0
- package/lib/commonjs/ui-components/icons/input.js.map +1 -0
- package/lib/commonjs/ui-components/icons/keypad.js +82 -0
- package/lib/commonjs/ui-components/icons/keypad.js.map +1 -0
- package/lib/commonjs/ui-components/icons/loader.js +180 -0
- package/lib/commonjs/ui-components/icons/loader.js.map +1 -0
- package/lib/commonjs/ui-components/icons/nerd-view.js +120 -0
- package/lib/commonjs/ui-components/icons/nerd-view.js.map +1 -0
- package/lib/commonjs/ui-components/icons/selector.js +55 -0
- package/lib/commonjs/ui-components/icons/selector.js.map +1 -0
- package/lib/commonjs/ui-components/icons/wallet.js +118 -0
- package/lib/commonjs/ui-components/icons/wallet.js.map +1 -0
- package/lib/commonjs/ui-components/image/image-or-component.js +77 -0
- package/lib/commonjs/ui-components/image/image-or-component.js.map +1 -0
- package/lib/commonjs/ui-components/image/index.js +14 -0
- package/lib/commonjs/ui-components/image/index.js.map +1 -0
- package/lib/commonjs/ui-components/index.js +281 -0
- package/lib/commonjs/ui-components/index.js.map +1 -0
- package/lib/commonjs/ui-components/input/index.js +65 -0
- package/lib/commonjs/ui-components/input/index.js.map +1 -0
- package/lib/commonjs/ui-components/input/radio-group.js +98 -0
- package/lib/commonjs/ui-components/input/radio-group.js.map +1 -0
- package/lib/commonjs/ui-components/input/selection-input.js +91 -0
- package/lib/commonjs/ui-components/input/selection-input.js.map +1 -0
- package/lib/commonjs/ui-components/input/text-input.js +192 -0
- package/lib/commonjs/ui-components/input/text-input.js.map +1 -0
- package/lib/commonjs/ui-components/list/index.js +52 -0
- package/lib/commonjs/ui-components/list/index.js.map +1 -0
- 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 +34 -0
- package/lib/commonjs/ui-components/list/list-section-header.js.map +1 -0
- package/lib/commonjs/ui-components/list/list-title-header.js +33 -0
- package/lib/commonjs/ui-components/list/list-title-header.js.map +1 -0
- 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 +40 -0
- package/lib/commonjs/ui-components/loader/index.js.map +1 -0
- package/lib/commonjs/ui-components/loader/loader.js +140 -0
- package/lib/commonjs/ui-components/loader/loader.js.map +1 -0
- package/lib/commonjs/ui-components/loader/loading-result.js +93 -0
- package/lib/commonjs/ui-components/loader/loading-result.js.map +1 -0
- package/lib/commonjs/ui-components/nerd-view/index.js +21 -0
- package/lib/commonjs/ui-components/nerd-view/index.js.map +1 -0
- package/lib/commonjs/ui-components/nerd-view/nerd-mode-item.js +234 -0
- package/lib/commonjs/ui-components/nerd-view/nerd-mode-item.js.map +1 -0
- package/lib/commonjs/ui-components/pin/index.js +47 -0
- package/lib/commonjs/ui-components/pin/index.js.map +1 -0
- package/lib/commonjs/ui-components/pin/keypad.js +197 -0
- package/lib/commonjs/ui-components/pin/keypad.js.map +1 -0
- package/lib/commonjs/ui-components/pin/pin-code-screen.js +160 -0
- package/lib/commonjs/ui-components/pin/pin-code-screen.js.map +1 -0
- package/lib/commonjs/ui-components/pin/pin-lock-animation.js +823 -0
- package/lib/commonjs/ui-components/pin/pin-lock-animation.js.map +1 -0
- package/lib/commonjs/ui-components/pin/pin-lock.js +81 -0
- package/lib/commonjs/ui-components/pin/pin-lock.js.map +1 -0
- package/lib/commonjs/ui-components/pin/pins.js +53 -0
- package/lib/commonjs/ui-components/pin/pins.js.map +1 -0
- package/lib/commonjs/ui-components/screens/backup-screen.js +84 -0
- package/lib/commonjs/ui-components/screens/backup-screen.js.map +1 -0
- package/lib/commonjs/ui-components/screens/image-preview-screen.js +90 -0
- package/lib/commonjs/ui-components/screens/image-preview-screen.js.map +1 -0
- package/lib/commonjs/ui-components/screens/index.js +57 -0
- package/lib/commonjs/ui-components/screens/index.js.map +1 -0
- package/lib/commonjs/ui-components/screens/nerd-mode-screen.js +165 -0
- package/lib/commonjs/ui-components/screens/nerd-mode-screen.js.map +1 -0
- package/lib/commonjs/ui-components/screens/qr-code-scanner-screen.js +118 -0
- package/lib/commonjs/ui-components/screens/qr-code-scanner-screen.js.map +1 -0
- package/lib/commonjs/ui-components/screens/scroll-view-screen.js +92 -0
- package/lib/commonjs/ui-components/screens/scroll-view-screen.js.map +1 -0
- package/lib/commonjs/ui-components/screens/section-list-screen.js +65 -0
- package/lib/commonjs/ui-components/screens/section-list-screen.js.map +1 -0
- package/lib/commonjs/ui-components/searchbar/animated-search-bar.js +86 -0
- package/lib/commonjs/ui-components/searchbar/animated-search-bar.js.map +1 -0
- package/lib/commonjs/ui-components/searchbar/index.js +34 -0
- package/lib/commonjs/ui-components/searchbar/index.js.map +1 -0
- package/lib/commonjs/ui-components/searchbar/search-bar.js +97 -0
- package/lib/commonjs/ui-components/searchbar/search-bar.js.map +1 -0
- package/lib/commonjs/ui-components/settings/button-setting.js +65 -0
- package/lib/commonjs/ui-components/settings/button-setting.js.map +1 -0
- package/lib/commonjs/ui-components/settings/index.js +73 -0
- package/lib/commonjs/ui-components/settings/index.js.map +1 -0
- package/lib/commonjs/ui-components/settings/setting-item-separator.js +38 -0
- package/lib/commonjs/ui-components/settings/setting-item-separator.js.map +1 -0
- package/lib/commonjs/ui-components/settings/setting-item.js +77 -0
- package/lib/commonjs/ui-components/settings/setting-item.js.map +1 -0
- package/lib/commonjs/ui-components/settings/settings-button.js +33 -0
- package/lib/commonjs/ui-components/settings/settings-button.js.map +1 -0
- package/lib/commonjs/ui-components/settings/switch-setting.js +33 -0
- package/lib/commonjs/ui-components/settings/switch-setting.js.map +1 -0
- package/lib/commonjs/ui-components/state/error-screen.js +69 -0
- package/lib/commonjs/ui-components/state/error-screen.js.map +1 -0
- package/lib/commonjs/ui-components/state/index.js +27 -0
- package/lib/commonjs/ui-components/state/index.js.map +1 -0
- package/lib/commonjs/ui-components/text/base.js +38 -0
- package/lib/commonjs/ui-components/text/base.js.map +1 -0
- package/lib/commonjs/ui-components/text/font.js +62 -0
- package/lib/commonjs/ui-components/text/font.js.map +1 -0
- package/lib/commonjs/ui-components/text/index.js +14 -0
- package/lib/commonjs/ui-components/text/index.js.map +1 -0
- package/lib/commonjs/ui-components/text/typography.js +116 -0
- package/lib/commonjs/ui-components/text/typography.js.map +1 -0
- package/lib/commonjs/ui-components/theme/color-scheme-context.js +53 -0
- package/lib/commonjs/ui-components/theme/color-scheme-context.js.map +1 -0
- package/lib/commonjs/ui-components/theme/color-scheme.js.map +1 -0
- package/lib/commonjs/ui-components/theme/index.js.map +1 -0
- package/lib/commonjs/utils/array.js +10 -0
- package/lib/commonjs/utils/array.js.map +1 -0
- package/lib/commonjs/utils/backup.js +12 -0
- package/lib/commonjs/utils/backup.js.map +1 -0
- 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 +100 -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 +162 -0
- package/lib/commonjs/utils/hooks/connectivity/connectivity.js.map +1 -0
- package/lib/commonjs/utils/hooks/connectivity/connectivity.test.js +62 -0
- package/lib/commonjs/utils/hooks/connectivity/connectivity.test.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/backup.js +155 -0
- package/lib/commonjs/utils/hooks/core/backup.js.map +1 -0
- 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 +33 -0
- package/lib/commonjs/utils/hooks/core/core-config.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/core-context.js +77 -0
- package/lib/commonjs/utils/hooks/core/core-context.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/core-init.js +97 -0
- package/lib/commonjs/utils/hooks/core/core-init.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/credential-schemas.js +100 -0
- package/lib/commonjs/utils/hooks/core/credential-schemas.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/credentials.js +160 -0
- package/lib/commonjs/utils/hooks/core/credentials.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/dids.js +33 -0
- package/lib/commonjs/utils/hooks/core/dids.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/error-code.js +14 -0
- package/lib/commonjs/utils/hooks/core/error-code.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/history.js +33 -0
- package/lib/commonjs/utils/hooks/core/history.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/index.js +149 -0
- package/lib/commonjs/utils/hooks/core/index.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/proof-schemas.js +117 -0
- package/lib/commonjs/utils/hooks/core/proof-schemas.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/proofs.js +367 -0
- package/lib/commonjs/utils/hooks/core/proofs.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/query.js +24 -0
- package/lib/commonjs/utils/hooks/core/query.js.map +1 -0
- package/lib/commonjs/utils/hooks/core/trust-entity.js +99 -0
- package/lib/commonjs/utils/hooks/core/trust-entity.js.map +1 -0
- package/lib/commonjs/utils/hooks/credential-card/credential-card-expanding.js +51 -0
- package/lib/commonjs/utils/hooks/credential-card/credential-card-expanding.js.map +1 -0
- 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 +20 -0
- package/lib/commonjs/utils/hooks/http/client.js.map +1 -0
- package/lib/commonjs/utils/hooks/index.js +85 -11
- 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 +28 -0
- package/lib/commonjs/utils/hooks/navigation/before-remove.js.map +1 -0
- package/lib/commonjs/utils/hooks/navigation/close-button-timeout.js +34 -0
- package/lib/commonjs/utils/hooks/navigation/close-button-timeout.js.map +1 -0
- package/lib/commonjs/utils/hooks/navigation/deep-link.js +45 -0
- package/lib/commonjs/utils/hooks/navigation/deep-link.js.map +1 -0
- package/lib/commonjs/utils/hooks/navigation/index.js +50 -0
- package/lib/commonjs/utils/hooks/navigation/index.js.map +1 -0
- package/lib/commonjs/utils/hooks/navigation/open-settings.js +42 -0
- package/lib/commonjs/utils/hooks/navigation/open-settings.js.map +1 -0
- package/lib/commonjs/utils/hooks/pin-security/pin-security.js +86 -0
- package/lib/commonjs/utils/hooks/pin-security/pin-security.js.map +1 -0
- package/lib/commonjs/utils/hooks/revocation/credential-status.js +58 -0
- package/lib/commonjs/utils/hooks/revocation/credential-status.js.map +1 -0
- package/lib/commonjs/utils/index.js +154 -44
- 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 +86 -0
- package/lib/commonjs/utils/parsers/credential-images.js.map +1 -0
- package/lib/commonjs/utils/parsers/credential-sharing.js +251 -0
- package/lib/commonjs/utils/parsers/credential-sharing.js.map +1 -0
- package/lib/commonjs/utils/parsers/credential.js +313 -0
- package/lib/commonjs/utils/parsers/credential.js.map +1 -0
- package/lib/commonjs/utils/parsers/index.js +61 -0
- package/lib/commonjs/utils/parsers/index.js.map +1 -0
- package/lib/commonjs/utils/parsers/query.js +104 -0
- package/lib/commonjs/utils/parsers/query.js.map +1 -0
- 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 +88 -0
- package/lib/commonjs/utils/reporting.js.map +1 -0
- package/lib/commonjs/utils/string.js +20 -0
- package/lib/commonjs/utils/string.js.map +1 -0
- 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 +10 -1
- package/lib/commonjs/utils/useMemoAsync.js.map +1 -1
- package/lib/commonjs/utils/uuid.js +16 -0
- package/lib/commonjs/utils/uuid.js.map +1 -0
- package/lib/module/components/backup/index.js +2 -0
- package/lib/module/components/backup/index.js.map +1 -0
- package/lib/module/components/backup/preview-credentials.js +30 -0
- package/lib/module/components/backup/preview-credentials.js.map +1 -0
- package/lib/module/components/credential/credential.js +54 -0
- package/lib/module/components/credential/credential.js.map +1 -0
- package/lib/module/components/credential/index.js +2 -0
- package/lib/module/components/credential/index.js.map +1 -0
- package/lib/module/components/entity/EntityButtons.js +56 -0
- package/lib/module/components/entity/EntityButtons.js.map +1 -0
- package/lib/module/components/entity/entity-attributes.js +42 -0
- package/lib/module/components/entity/entity-attributes.js.map +1 -0
- package/lib/module/components/entity/entity-details-with-buttons.js +81 -0
- package/lib/module/components/entity/entity-details-with-buttons.js.map +1 -0
- package/lib/module/components/entity/entity-details.js +63 -0
- package/lib/module/components/entity/entity-details.js.map +1 -0
- package/lib/module/components/entity/index.js +3 -0
- package/lib/module/components/entity/index.js.map +1 -0
- 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 +84 -0
- package/lib/module/components/history/history-list-item-icon.js.map +1 -0
- package/lib/module/components/history/history-list-item.js +36 -0
- package/lib/module/components/history/history-list-item.js.map +1 -0
- package/lib/module/components/history/history-list-screen.js +112 -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 +7 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/navigation/header-buttons.js +66 -0
- package/lib/module/components/navigation/header-buttons.js.map +1 -0
- package/lib/module/components/navigation/index.js +2 -0
- package/lib/module/components/navigation/index.js.map +1 -0
- package/lib/module/components/proof-request/group.js +27 -0
- package/lib/module/components/proof-request/group.js.map +1 -0
- package/lib/module/components/proof-request/index.js +4 -0
- package/lib/module/components/proof-request/index.js.map +1 -0
- package/lib/module/components/proof-request/select-credential.js +40 -0
- package/lib/module/components/proof-request/select-credential.js.map +1 -0
- package/lib/module/components/proof-request/share-credential.js +150 -0
- package/lib/module/components/proof-request/share-credential.js.map +1 -0
- package/lib/module/index.js +2 -25
- 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 +183 -0
- package/lib/module/ui-components/accessibility/accessibility.js.map +1 -0
- package/lib/module/ui-components/accessibility/accessibilityHistory.js +67 -0
- package/lib/module/ui-components/accessibility/accessibilityHistory.js.map +1 -0
- package/lib/module/ui-components/accessibility/accessibilityHistoryWrappers.js +40 -0
- package/lib/module/ui-components/accessibility/accessibilityHistoryWrappers.js.map +1 -0
- package/lib/module/ui-components/accessibility/accessibilityLanguage.js +51 -0
- package/lib/module/ui-components/accessibility/accessibilityLanguage.js.map +1 -0
- package/lib/module/ui-components/accessibility/index.js +8 -0
- package/lib/module/ui-components/accessibility/index.js.map +1 -0
- package/lib/module/ui-components/accessibility/locale/index.js.map +1 -0
- package/lib/module/ui-components/accessibility/locale.test.js.map +1 -0
- package/lib/module/ui-components/action-modal/ActionModal.js +43 -0
- package/lib/module/ui-components/action-modal/ActionModal.js.map +1 -0
- package/lib/module/ui-components/action-modal/index.js.map +1 -0
- package/lib/module/ui-components/activity-indicator/activity-indicator.js +23 -0
- package/lib/module/ui-components/activity-indicator/activity-indicator.js.map +1 -0
- package/lib/module/ui-components/activity-indicator/index.js.map +1 -0
- package/lib/module/ui-components/blur/blur-view.js +66 -0
- package/lib/module/ui-components/blur/blur-view.js.map +1 -0
- package/lib/module/ui-components/blur/index.js.map +1 -0
- package/lib/module/ui-components/buttons/back-button.js +27 -0
- package/lib/module/ui-components/buttons/back-button.js.map +1 -0
- package/lib/module/ui-components/buttons/button.js +142 -0
- package/lib/module/ui-components/buttons/button.js.map +1 -0
- package/lib/module/ui-components/buttons/connectivity-button.js +73 -0
- package/lib/module/ui-components/buttons/connectivity-button.js.map +1 -0
- package/lib/module/ui-components/buttons/filter-button.js +42 -0
- package/lib/module/ui-components/buttons/filter-button.js.map +1 -0
- package/lib/module/ui-components/buttons/ghost-button.js +52 -0
- package/lib/module/ui-components/buttons/ghost-button.js.map +1 -0
- 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 +9 -0
- package/lib/module/ui-components/buttons/index.js.map +1 -0
- package/lib/module/ui-components/buttons/scan-button.js +74 -0
- package/lib/module/ui-components/buttons/scan-button.js.map +1 -0
- package/lib/module/ui-components/camera/camera-overlay.js +49 -0
- package/lib/module/ui-components/camera/camera-overlay.js.map +1 -0
- package/lib/module/ui-components/camera/index.js.map +1 -0
- package/lib/module/ui-components/camera/qr-code-scanner.js +39 -0
- package/lib/module/ui-components/camera/qr-code-scanner.js.map +1 -0
- package/lib/module/ui-components/control/checkbox.js +69 -0
- package/lib/module/ui-components/control/checkbox.js.map +1 -0
- package/lib/module/ui-components/control/index.js.map +1 -0
- package/lib/module/ui-components/control/switch.js +55 -0
- package/lib/module/ui-components/control/switch.js.map +1 -0
- package/lib/module/ui-components/credential/card/credential-card.js +170 -0
- package/lib/module/ui-components/credential/card/credential-card.js.map +1 -0
- package/lib/module/ui-components/credential/card/credential-details-card.js +185 -0
- package/lib/module/ui-components/credential/card/credential-details-card.js.map +1 -0
- package/lib/module/ui-components/credential/card/credential-details-list-item.js +82 -0
- package/lib/module/ui-components/credential/card/credential-details-list-item.js.map +1 -0
- package/lib/module/ui-components/credential/card/credential-header.js +165 -0
- package/lib/module/ui-components/credential/card/credential-header.js.map +1 -0
- package/lib/module/ui-components/credential/card/credential-image-carousel.js +113 -0
- package/lib/module/ui-components/credential/card/credential-image-carousel.js.map +1 -0
- package/lib/module/ui-components/credential/card/index.js +11 -0
- package/lib/module/ui-components/credential/card/index.js.map +1 -0
- package/lib/module/ui-components/credential/credential-attribute-item.js +271 -0
- package/lib/module/ui-components/credential/credential-attribute-item.js.map +1 -0
- package/lib/module/ui-components/credential/credential-carousel-images.js +83 -0
- package/lib/module/ui-components/credential/credential-carousel-images.js.map +1 -0
- package/lib/module/ui-components/credential/index.js +9 -0
- package/lib/module/ui-components/credential/index.js.map +1 -0
- package/lib/module/ui-components/credential/selector-status.js +10 -0
- package/lib/module/ui-components/credential/selector-status.js.map +1 -0
- package/lib/module/ui-components/credential/selector.js +69 -0
- package/lib/module/ui-components/credential/selector.js.map +1 -0
- package/lib/module/ui-components/detail/detail.js +74 -0
- package/lib/module/ui-components/detail/detail.js.map +1 -0
- package/lib/module/ui-components/detail/index.js.map +1 -0
- package/lib/module/ui-components/entity/avatar.js +95 -0
- package/lib/module/ui-components/entity/avatar.js.map +1 -0
- package/lib/module/ui-components/entity/entity-cluster.js +63 -0
- package/lib/module/ui-components/entity/entity-cluster.js.map +1 -0
- package/lib/module/ui-components/entity/index.js.map +1 -0
- package/lib/module/ui-components/header/focus-aware-status-bar.js +12 -0
- package/lib/module/ui-components/header/focus-aware-status-bar.js.map +1 -0
- package/lib/module/ui-components/header/foldable-header.js +77 -0
- package/lib/module/ui-components/header/foldable-header.js.map +1 -0
- package/lib/module/ui-components/header/header.js +96 -0
- package/lib/module/ui-components/header/header.js.map +1 -0
- package/lib/module/ui-components/header/index.js +9 -0
- package/lib/module/ui-components/header/index.js.map +1 -0
- package/lib/module/ui-components/header/navigation-header.js +133 -0
- package/lib/module/ui-components/header/navigation-header.js.map +1 -0
- package/lib/module/ui-components/history/data-item.js +68 -0
- package/lib/module/ui-components/history/data-item.js.map +1 -0
- 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-item.js +102 -0
- package/lib/module/ui-components/history/history-item.js.map +1 -0
- package/lib/module/ui-components/history/history-section-header.js +41 -0
- package/lib/module/ui-components/history/history-section-header.js.map +1 -0
- package/lib/module/ui-components/history/history-section-list-item.js +42 -0
- package/lib/module/ui-components/history/history-section-list-item.js.map +1 -0
- package/lib/module/ui-components/history/index.js +10 -0
- package/lib/module/ui-components/history/index.js.map +1 -0
- package/lib/module/ui-components/icons/connectivity.js +120 -0
- package/lib/module/ui-components/icons/connectivity.js.map +1 -0
- package/lib/module/ui-components/icons/credential.js +136 -0
- package/lib/module/ui-components/icons/credential.js.map +1 -0
- package/lib/module/ui-components/icons/entity.js +42 -0
- package/lib/module/ui-components/icons/entity.js.map +1 -0
- package/lib/module/ui-components/icons/history.js +364 -0
- package/lib/module/ui-components/icons/history.js.map +1 -0
- package/lib/module/ui-components/icons/icons.js +214 -0
- package/lib/module/ui-components/icons/icons.js.map +1 -0
- package/lib/module/ui-components/icons/index.js.map +1 -0
- package/lib/module/ui-components/icons/input.js.map +1 -0
- package/lib/module/ui-components/icons/keypad.js +69 -0
- package/lib/module/ui-components/icons/keypad.js.map +1 -0
- package/lib/module/ui-components/icons/loader.js +168 -0
- package/lib/module/ui-components/icons/loader.js.map +1 -0
- package/lib/module/ui-components/icons/nerd-view.js.map +1 -0
- package/lib/module/ui-components/icons/selector.js +44 -0
- package/lib/module/ui-components/icons/selector.js.map +1 -0
- package/lib/module/ui-components/icons/wallet.js +108 -0
- package/lib/module/ui-components/icons/wallet.js.map +1 -0
- package/lib/module/ui-components/image/image-or-component.js +69 -0
- package/lib/module/ui-components/image/image-or-component.js.map +1 -0
- package/lib/module/ui-components/image/index.js +3 -0
- package/lib/module/ui-components/image/index.js.map +1 -0
- package/lib/module/ui-components/index.js +26 -0
- package/lib/module/ui-components/index.js.map +1 -0
- package/lib/module/ui-components/input/index.js.map +1 -0
- package/lib/module/ui-components/input/radio-group.js +91 -0
- package/lib/module/ui-components/input/radio-group.js.map +1 -0
- package/lib/module/ui-components/input/selection-input.js +82 -0
- package/lib/module/ui-components/input/selection-input.js.map +1 -0
- package/lib/module/ui-components/input/text-input.js +184 -0
- package/lib/module/ui-components/input/text-input.js.map +1 -0
- package/lib/module/ui-components/list/index.js +6 -0
- package/lib/module/ui-components/list/index.js.map +1 -0
- 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 +27 -0
- package/lib/module/ui-components/list/list-section-header.js.map +1 -0
- package/lib/module/ui-components/list/list-title-header.js +26 -0
- package/lib/module/ui-components/list/list-title-header.js.map +1 -0
- 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 -0
- package/lib/module/ui-components/loader/loader.js +132 -0
- package/lib/module/ui-components/loader/loader.js.map +1 -0
- package/lib/module/ui-components/loader/loading-result.js +86 -0
- package/lib/module/ui-components/loader/loading-result.js.map +1 -0
- package/lib/module/ui-components/nerd-view/index.js +3 -0
- package/lib/module/ui-components/nerd-view/index.js.map +1 -0
- package/lib/module/ui-components/nerd-view/nerd-mode-item.js +224 -0
- package/lib/module/ui-components/nerd-view/nerd-mode-item.js.map +1 -0
- package/lib/module/ui-components/pin/index.js +5 -0
- package/lib/module/ui-components/pin/index.js.map +1 -0
- package/lib/module/ui-components/pin/keypad.js +189 -0
- package/lib/module/ui-components/pin/keypad.js.map +1 -0
- package/lib/module/ui-components/pin/pin-code-screen.js +151 -0
- package/lib/module/ui-components/pin/pin-code-screen.js.map +1 -0
- package/lib/module/ui-components/pin/pin-lock-animation.js +817 -0
- package/lib/module/ui-components/pin/pin-lock-animation.js.map +1 -0
- package/lib/module/ui-components/pin/pin-lock.js +72 -0
- package/lib/module/ui-components/pin/pin-lock.js.map +1 -0
- package/lib/module/ui-components/pin/pins.js +45 -0
- package/lib/module/ui-components/pin/pins.js.map +1 -0
- package/lib/module/ui-components/screens/backup-screen.js +77 -0
- package/lib/module/ui-components/screens/backup-screen.js.map +1 -0
- package/lib/module/ui-components/screens/image-preview-screen.js +82 -0
- package/lib/module/ui-components/screens/image-preview-screen.js.map +1 -0
- package/lib/module/ui-components/screens/index.js +13 -0
- package/lib/module/ui-components/screens/index.js.map +1 -0
- package/lib/module/ui-components/screens/nerd-mode-screen.js +156 -0
- package/lib/module/ui-components/screens/nerd-mode-screen.js.map +1 -0
- package/lib/module/ui-components/screens/qr-code-scanner-screen.js +109 -0
- package/lib/module/ui-components/screens/qr-code-scanner-screen.js.map +1 -0
- package/lib/module/ui-components/screens/scroll-view-screen.js +85 -0
- package/lib/module/ui-components/screens/scroll-view-screen.js.map +1 -0
- package/lib/module/ui-components/screens/section-list-screen.js +58 -0
- package/lib/module/ui-components/screens/section-list-screen.js.map +1 -0
- package/lib/module/ui-components/searchbar/animated-search-bar.js +77 -0
- package/lib/module/ui-components/searchbar/animated-search-bar.js.map +1 -0
- package/lib/module/ui-components/searchbar/index.js.map +1 -0
- package/lib/module/ui-components/searchbar/search-bar.js +88 -0
- package/lib/module/ui-components/searchbar/search-bar.js.map +1 -0
- package/lib/module/ui-components/settings/button-setting.js +56 -0
- package/lib/module/ui-components/settings/button-setting.js.map +1 -0
- package/lib/module/ui-components/settings/index.js.map +1 -0
- package/lib/module/ui-components/settings/setting-item-separator.js +31 -0
- package/lib/module/ui-components/settings/setting-item-separator.js.map +1 -0
- package/lib/module/ui-components/settings/setting-item.js +68 -0
- package/lib/module/ui-components/settings/setting-item.js.map +1 -0
- package/lib/module/ui-components/settings/settings-button.js +26 -0
- package/lib/module/ui-components/settings/settings-button.js.map +1 -0
- package/lib/module/ui-components/settings/switch-setting.js +26 -0
- package/lib/module/ui-components/settings/switch-setting.js.map +1 -0
- package/lib/module/ui-components/state/error-screen.js +62 -0
- package/lib/module/ui-components/state/error-screen.js.map +1 -0
- package/lib/module/ui-components/state/index.js.map +1 -0
- package/lib/module/ui-components/text/base.js +30 -0
- package/lib/module/ui-components/text/base.js.map +1 -0
- package/lib/module/ui-components/text/font.js +55 -0
- package/lib/module/ui-components/text/font.js.map +1 -0
- package/lib/module/ui-components/text/index.js +3 -0
- package/lib/module/ui-components/text/index.js.map +1 -0
- package/lib/module/ui-components/text/typography.js +109 -0
- package/lib/module/ui-components/text/typography.js.map +1 -0
- package/lib/module/ui-components/theme/color-scheme-context.js +45 -0
- package/lib/module/ui-components/theme/color-scheme-context.js.map +1 -0
- package/lib/module/ui-components/theme/color-scheme.js.map +1 -0
- package/lib/module/ui-components/theme/index.js.map +1 -0
- package/lib/module/utils/array.js +4 -0
- package/lib/module/utils/array.js.map +1 -0
- package/lib/module/utils/backup.js +5 -0
- package/lib/module/utils/backup.js.map +1 -0
- 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 +91 -3
- 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 +153 -0
- package/lib/module/utils/hooks/connectivity/connectivity.js.map +1 -0
- package/lib/module/utils/hooks/connectivity/connectivity.test.js +60 -0
- package/lib/module/utils/hooks/connectivity/connectivity.test.js.map +1 -0
- package/lib/module/utils/hooks/core/backup.js +143 -0
- package/lib/module/utils/hooks/core/backup.js.map +1 -0
- 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 +23 -0
- package/lib/module/utils/hooks/core/core-config.js.map +1 -0
- package/lib/module/utils/hooks/core/core-context.js +67 -0
- package/lib/module/utils/hooks/core/core-context.js.map +1 -0
- package/lib/module/utils/hooks/core/core-init.js +90 -0
- package/lib/module/utils/hooks/core/core-init.js.map +1 -0
- package/lib/module/utils/hooks/core/credential-schemas.js +88 -0
- package/lib/module/utils/hooks/core/credential-schemas.js.map +1 -0
- package/lib/module/utils/hooks/core/credentials.js +145 -0
- package/lib/module/utils/hooks/core/credentials.js.map +1 -0
- package/lib/module/utils/hooks/core/dids.js +26 -0
- package/lib/module/utils/hooks/core/dids.js.map +1 -0
- package/lib/module/utils/hooks/core/error-code.js +8 -0
- package/lib/module/utils/hooks/core/error-code.js.map +1 -0
- package/lib/module/utils/hooks/core/history.js +26 -0
- package/lib/module/utils/hooks/core/history.js.map +1 -0
- package/lib/module/utils/hooks/core/index.js +14 -0
- package/lib/module/utils/hooks/core/index.js.map +1 -0
- package/lib/module/utils/hooks/core/proof-schemas.js +104 -0
- package/lib/module/utils/hooks/core/proof-schemas.js.map +1 -0
- package/lib/module/utils/hooks/core/proofs.js +346 -0
- package/lib/module/utils/hooks/core/proofs.js.map +1 -0
- package/lib/module/utils/hooks/core/query.js +18 -0
- package/lib/module/utils/hooks/core/query.js.map +1 -0
- package/lib/module/utils/hooks/core/trust-entity.js +88 -0
- package/lib/module/utils/hooks/core/trust-entity.js.map +1 -0
- package/lib/module/utils/hooks/credential-card/credential-card-expanding.js +43 -0
- package/lib/module/utils/hooks/credential-card/credential-card-expanding.js.map +1 -0
- 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 +13 -0
- package/lib/module/utils/hooks/http/client.js.map +1 -0
- package/lib/module/utils/hooks/index.js +8 -4
- 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 +21 -0
- package/lib/module/utils/hooks/navigation/before-remove.js.map +1 -0
- package/lib/module/utils/hooks/navigation/close-button-timeout.js +27 -0
- package/lib/module/utils/hooks/navigation/close-button-timeout.js.map +1 -0
- package/lib/module/utils/hooks/navigation/deep-link.js +37 -0
- package/lib/module/utils/hooks/navigation/deep-link.js.map +1 -0
- package/lib/module/utils/hooks/navigation/index.js +5 -0
- package/lib/module/utils/hooks/navigation/index.js.map +1 -0
- package/lib/module/utils/hooks/navigation/open-settings.js +35 -0
- package/lib/module/utils/hooks/navigation/open-settings.js.map +1 -0
- package/lib/module/utils/hooks/pin-security/pin-security.js +79 -0
- package/lib/module/utils/hooks/pin-security/pin-security.js.map +1 -0
- package/lib/module/utils/hooks/revocation/credential-status.js +52 -0
- package/lib/module/utils/hooks/revocation/credential-status.js.map +1 -0
- package/lib/module/utils/index.js +14 -5
- 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 +78 -0
- package/lib/module/utils/parsers/credential-images.js.map +1 -0
- package/lib/module/utils/parsers/credential-sharing.js +238 -0
- package/lib/module/utils/parsers/credential-sharing.js.map +1 -0
- package/lib/module/utils/parsers/credential.js +295 -0
- package/lib/module/utils/parsers/credential.js.map +1 -0
- package/lib/module/utils/parsers/index.js +6 -0
- package/lib/module/utils/parsers/index.js.map +1 -0
- package/lib/module/utils/parsers/query.js +92 -0
- package/lib/module/utils/parsers/query.js.map +1 -0
- 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 +77 -0
- package/lib/module/utils/reporting.js.map +1 -0
- package/lib/module/utils/string.js +10 -0
- package/lib/module/utils/string.js.map +1 -0
- 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 +11 -1
- package/lib/module/utils/useMemoAsync.js.map +1 -1
- package/lib/module/utils/uuid.js +9 -0
- package/lib/module/utils/uuid.js.map +1 -0
- package/lib/typescript/components/backup/index.d.ts +1 -0
- package/lib/typescript/components/backup/preview-credentials.d.ts +11 -0
- package/lib/typescript/components/credential/credential.d.ts +16 -0
- package/lib/typescript/components/credential/index.d.ts +1 -0
- package/lib/typescript/components/entity/EntityButtons.d.ts +14 -0
- package/lib/typescript/components/entity/entity-attributes.d.ts +13 -0
- package/lib/typescript/components/entity/entity-details-with-buttons.d.ts +18 -0
- package/lib/typescript/components/entity/entity-details.d.ts +19 -0
- package/lib/typescript/components/entity/index.d.ts +2 -0
- 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 +20 -0
- package/lib/typescript/components/history/history-list-screen.d.ts +22 -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 +6 -0
- package/lib/typescript/components/navigation/header-buttons.d.ts +21 -0
- package/lib/typescript/components/navigation/index.d.ts +1 -0
- package/lib/typescript/components/proof-request/group.d.ts +2 -0
- package/lib/typescript/components/proof-request/index.d.ts +3 -0
- package/lib/typescript/components/proof-request/select-credential.d.ts +14 -0
- package/lib/typescript/components/proof-request/share-credential.d.ts +27 -0
- package/lib/typescript/index.d.ts +2 -25
- package/lib/typescript/ui-components/accessibility/accessibility.d.ts +55 -0
- package/lib/typescript/ui-components/accessibility/accessibilityHistory.d.ts +13 -0
- package/lib/typescript/ui-components/accessibility/accessibilityHistoryWrappers.d.ts +18 -0
- package/lib/typescript/ui-components/accessibility/index.d.ts +8 -0
- package/lib/typescript/ui-components/buttons/back-button.d.ts +9 -0
- package/lib/typescript/ui-components/buttons/button.d.ts +22 -0
- package/lib/typescript/ui-components/buttons/hold-button.d.ts +16 -0
- package/lib/typescript/ui-components/buttons/index.d.ts +15 -0
- package/lib/typescript/ui-components/buttons/scan-button.d.ts +5 -0
- package/lib/typescript/ui-components/credential/card/credential-card.d.ts +25 -0
- package/lib/typescript/ui-components/credential/card/credential-header.d.ts +20 -0
- package/lib/typescript/ui-components/credential/card/index.d.ts +15 -0
- package/lib/typescript/ui-components/credential/credential-attribute-item.d.ts +49 -0
- package/lib/typescript/ui-components/credential/index.d.ts +9 -0
- package/lib/typescript/ui-components/entity/avatar.d.ts +11 -0
- package/lib/typescript/ui-components/entity/entity-cluster.d.ts +13 -0
- package/lib/typescript/ui-components/header/index.d.ts +11 -0
- package/lib/typescript/ui-components/history/data-item.d.ts +12 -0
- package/lib/typescript/ui-components/history/history-details.d.ts +51 -0
- package/lib/typescript/ui-components/history/history-item.d.ts +15 -0
- package/lib/typescript/ui-components/history/history-section-header.d.ts +7 -0
- package/lib/typescript/ui-components/history/history-section-list-item.d.ts +7 -0
- package/lib/typescript/ui-components/history/index.d.ts +9 -0
- package/lib/typescript/ui-components/icons/history.d.ts +27 -0
- package/lib/typescript/ui-components/image/index.d.ts +3 -0
- package/lib/typescript/ui-components/index.d.ts +25 -0
- package/lib/typescript/ui-components/input/selection-input.d.ts +32 -0
- package/lib/typescript/ui-components/list/index.d.ts +5 -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 +3 -0
- package/lib/typescript/ui-components/pin/index.d.ts +4 -0
- package/lib/typescript/ui-components/pin/keypad.d.ts +16 -0
- package/lib/typescript/ui-components/pin/pin-lock-animation.d.ts +731 -0
- package/lib/typescript/ui-components/pin/pin-lock.d.ts +13 -0
- package/lib/typescript/ui-components/screens/index.d.ts +18 -0
- package/lib/typescript/ui-components/screens/nerd-mode-screen.d.ts +49 -0
- package/lib/typescript/ui-components/text/index.d.ts +3 -0
- package/lib/typescript/ui-components/text/typography.d.ts +112 -0
- package/lib/typescript/ui-components/theme/color-scheme.d.ts +32 -0
- package/lib/typescript/utils/array.d.ts +1 -0
- package/lib/typescript/utils/backup.d.ts +1 -0
- package/lib/typescript/utils/date.d.ts +32 -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 +27 -0
- package/lib/typescript/utils/hooks/connectivity/connectivity.test.d.ts +1 -0
- package/lib/typescript/utils/hooks/core/backup.d.ts +13 -0
- package/lib/typescript/utils/hooks/core/cache.d.ts +2 -0
- package/lib/typescript/utils/hooks/core/core-config.d.ts +5 -0
- package/lib/typescript/utils/hooks/core/core-context.d.ts +15 -0
- package/lib/typescript/utils/hooks/core/core-init.d.ts +12 -0
- package/lib/typescript/utils/hooks/core/credential-schemas.d.ts +11 -0
- package/lib/typescript/utils/hooks/core/credentials.d.ts +22 -0
- package/lib/typescript/utils/hooks/core/dids.d.ts +3 -0
- package/lib/typescript/utils/hooks/core/error-code.d.ts +6 -0
- package/lib/typescript/utils/hooks/core/history.d.ts +3 -0
- package/lib/typescript/utils/hooks/core/index.d.ts +13 -0
- package/lib/typescript/utils/hooks/core/proof-schemas.d.ts +14 -0
- package/lib/typescript/utils/hooks/core/proofs.d.ts +43 -0
- package/lib/typescript/utils/hooks/core/query.d.ts +2 -0
- package/lib/typescript/utils/hooks/core/trust-entity.d.ts +11 -0
- package/lib/typescript/utils/hooks/credential-card/credential-card-expanding.d.ts +10 -0
- package/lib/typescript/utils/hooks/http/client.d.ts +2 -0
- package/lib/typescript/utils/hooks/index.d.ts +8 -4
- package/lib/typescript/utils/hooks/navigation/before-remove.d.ts +1 -0
- package/lib/typescript/utils/hooks/navigation/close-button-timeout.d.ts +3 -0
- package/lib/typescript/utils/hooks/navigation/deep-link.d.ts +2 -0
- package/lib/typescript/utils/hooks/navigation/index.d.ts +4 -0
- package/lib/typescript/utils/hooks/navigation/open-settings.d.ts +6 -0
- package/lib/typescript/utils/hooks/pin-security/pin-security.d.ts +6 -0
- package/lib/typescript/utils/hooks/revocation/credential-status.d.ts +8 -0
- package/lib/typescript/utils/index.d.ts +14 -5
- package/lib/typescript/utils/parsers/credential-images.d.ts +3 -0
- package/lib/typescript/utils/parsers/credential-sharing.d.ts +16 -0
- package/lib/typescript/utils/parsers/credential.d.ts +76 -0
- package/lib/typescript/utils/parsers/index.d.ts +5 -0
- package/lib/typescript/utils/parsers/query.d.ts +7 -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/lib/typescript/utils/reporting.d.ts +4 -0
- package/lib/typescript/utils/string.d.ts +4 -0
- package/lib/typescript/utils/uuid.d.ts +6 -0
- package/package.json +86 -45
- package/src/components/backup/index.ts +1 -0
- package/src/components/backup/preview-credentials.tsx +38 -0
- package/src/components/credential/credential.tsx +72 -0
- package/src/components/credential/index.ts +1 -0
- package/src/components/entity/EntityButtons.tsx +79 -0
- package/src/components/entity/entity-attributes.tsx +63 -0
- package/src/components/entity/entity-details-with-buttons.tsx +99 -0
- package/src/components/entity/entity-details.tsx +85 -0
- package/src/components/entity/index.ts +3 -0
- package/src/components/history/history-details-screen.tsx +89 -0
- package/src/components/history/history-list-item-icon.tsx +108 -0
- package/src/components/history/history-list-item.tsx +53 -0
- package/src/components/history/history-list-screen.tsx +154 -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 +6 -0
- package/src/components/navigation/header-buttons.tsx +64 -0
- package/src/components/navigation/index.ts +1 -0
- package/src/components/proof-request/group.tsx +26 -0
- package/src/components/proof-request/index.ts +3 -0
- package/src/components/proof-request/select-credential.tsx +48 -0
- package/src/components/proof-request/share-credential.tsx +194 -0
- package/src/index.ts +2 -25
- package/src/ui-components/accessibility/accessibility.ts +215 -0
- package/src/ui-components/accessibility/accessibilityHistory.tsx +77 -0
- package/src/ui-components/accessibility/accessibilityHistoryWrappers.tsx +78 -0
- package/src/ui-components/accessibility/index.ts +36 -0
- package/src/ui-components/action-modal/ActionModal.stories.tsx +39 -0
- package/src/ui-components/activity-indicator/activity-indicator.stories.tsx +18 -0
- package/src/ui-components/blur/blur-view.tsx +82 -0
- package/src/ui-components/buttons/back-button.stories.tsx +30 -0
- package/src/ui-components/buttons/back-button.tsx +30 -0
- package/src/ui-components/buttons/button.stories.tsx +28 -0
- package/src/ui-components/buttons/button.tsx +169 -0
- package/src/ui-components/buttons/connectivity-button.stories.tsx +33 -0
- package/src/ui-components/buttons/connectivity-button.tsx +95 -0
- package/src/ui-components/buttons/ghost-button.stories.tsx +28 -0
- 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 +34 -0
- package/src/ui-components/buttons/scan-button.stories.tsx +30 -0
- package/src/ui-components/control/checkbox.stories.tsx +27 -0
- package/src/ui-components/control/switch.stories.tsx +32 -0
- package/src/ui-components/credential/card/credential-card.stories.tsx +51 -0
- package/src/ui-components/credential/card/credential-card.tsx +189 -0
- package/src/ui-components/credential/card/credential-details-card.stories.tsx +303 -0
- package/src/ui-components/credential/card/credential-details-card.tsx +242 -0
- package/src/ui-components/credential/card/credential-details-list-item.tsx +97 -0
- package/src/ui-components/credential/card/credential-header.stories.tsx +48 -0
- package/src/ui-components/credential/card/credential-header.tsx +199 -0
- package/src/ui-components/credential/card/credential-image-carousel.tsx +117 -0
- package/src/ui-components/credential/card/index.ts +22 -0
- package/src/ui-components/credential/credential-attribute-item.tsx +373 -0
- package/src/ui-components/credential/index.ts +14 -0
- package/src/ui-components/credential/selector.stories.tsx +37 -0
- package/src/ui-components/credential/selector.tsx +64 -0
- package/src/ui-components/detail/detail.stories.tsx +68 -0
- package/src/ui-components/detail/detail.tsx +98 -0
- package/src/ui-components/entity/avatar.stories.tsx +42 -0
- package/src/ui-components/entity/avatar.tsx +100 -0
- package/src/ui-components/entity/entity-cluster.stories.tsx +45 -0
- package/src/ui-components/entity/entity-cluster.tsx +82 -0
- package/src/ui-components/header/header.stories.tsx +62 -0
- package/src/ui-components/header/header.tsx +105 -0
- package/src/ui-components/header/index.ts +12 -0
- package/src/ui-components/header/navigation-header.stories.tsx +59 -0
- package/src/ui-components/header/navigation-header.tsx +147 -0
- package/src/ui-components/history/data-item.tsx +88 -0
- package/src/ui-components/history/history-details.tsx +247 -0
- package/src/ui-components/history/history-item.tsx +141 -0
- package/src/ui-components/history/history-section-header.tsx +44 -0
- package/src/ui-components/history/history-section-list-item.tsx +41 -0
- package/src/ui-components/history/index.ts +10 -0
- package/src/ui-components/icons/entity.tsx +31 -0
- package/src/ui-components/icons/history.tsx +329 -0
- package/src/ui-components/image/index.tsx +4 -0
- package/src/ui-components/index.ts +25 -0
- package/src/ui-components/input/radio-group.stories.tsx +34 -0
- package/src/ui-components/input/radio-group.tsx +116 -0
- package/src/ui-components/input/selection-input.stories.tsx +49 -0
- package/src/ui-components/input/selection-input.tsx +112 -0
- package/src/ui-components/input/text-input.tsx +253 -0
- package/src/ui-components/list/index.ts +6 -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 +28 -0
- package/src/ui-components/loader/loader.tsx +174 -0
- package/src/ui-components/loader/loading-result.stories.tsx +70 -0
- package/src/ui-components/loader/loading-result.tsx +97 -0
- package/src/ui-components/nerd-view/index.ts +4 -0
- package/src/ui-components/nerd-view/nerd-mode-item.tsx +299 -0
- package/src/ui-components/pin/index.ts +5 -0
- package/src/ui-components/pin/keypad.tsx +166 -0
- package/src/ui-components/pin/pin-code-screen.stories.tsx +87 -0
- package/src/ui-components/pin/pin-code-screen.tsx +195 -0
- package/src/ui-components/pin/pin-lock-animation.tsx +500 -0
- package/src/ui-components/pin/pin-lock.tsx +82 -0
- package/src/ui-components/screens/backup-screen.tsx +92 -0
- package/src/ui-components/screens/image-preview-screen.stories.tsx +31 -0
- package/src/ui-components/screens/image-preview-screen.tsx +82 -0
- package/src/ui-components/screens/index.ts +19 -0
- package/src/ui-components/screens/nerd-mode-screen.tsx +214 -0
- package/src/ui-components/screens/qr-code-scanner-screen.stories.tsx +40 -0
- package/src/ui-components/screens/qr-code-scanner-screen.tsx +124 -0
- package/src/ui-components/screens/scroll-view-screen.tsx +91 -0
- package/src/ui-components/screens/section-list-screen.tsx +61 -0
- package/src/ui-components/searchbar/search-bar.stories.tsx +38 -0
- package/src/ui-components/searchbar/search-bar.tsx +94 -0
- package/src/ui-components/state/error-screen.stories.tsx +21 -0
- package/src/ui-components/state/error-screen.tsx +71 -0
- package/src/ui-components/text/index.ts +4 -0
- package/src/ui-components/text/typography.stories.tsx +77 -0
- package/src/ui-components/theme/color-scheme-context.tsx +49 -0
- package/src/ui-components/theme/color-scheme.ts +32 -0
- package/src/utils/array.ts +3 -0
- package/src/utils/backup.ts +5 -0
- package/src/utils/date.ts +106 -2
- package/src/utils/filtering.ts +5 -0
- package/src/utils/history.ts +71 -0
- package/src/utils/hooks/connectivity/connectivity.test.ts +95 -0
- package/src/utils/hooks/connectivity/connectivity.ts +186 -0
- package/src/utils/hooks/core/backup.ts +144 -0
- package/src/utils/hooks/core/cache.ts +43 -0
- package/src/utils/hooks/core/core-config.ts +32 -0
- package/src/utils/hooks/core/core-context.tsx +114 -0
- package/src/utils/hooks/core/core-init.ts +106 -0
- package/src/utils/hooks/core/credential-schemas.ts +110 -0
- package/src/utils/hooks/core/credentials.ts +166 -0
- package/src/utils/hooks/core/dids.ts +28 -0
- package/src/utils/hooks/core/error-code.ts +6 -0
- package/src/utils/hooks/core/history.ts +30 -0
- package/src/utils/hooks/core/index.ts +13 -0
- package/src/utils/hooks/core/proof-schemas.ts +130 -0
- package/src/utils/hooks/core/proofs.ts +409 -0
- package/src/utils/hooks/core/query.ts +19 -0
- package/src/utils/hooks/core/trust-entity.ts +113 -0
- package/src/utils/hooks/credential-card/credential-card-expanding.tsx +45 -0
- package/src/utils/hooks/http/client.ts +13 -0
- package/src/utils/hooks/index.ts +8 -5
- package/src/utils/hooks/navigation/before-remove.tsx +22 -0
- package/src/utils/hooks/navigation/close-button-timeout.tsx +29 -0
- package/src/utils/hooks/navigation/deep-link.ts +40 -0
- package/src/utils/hooks/navigation/index.ts +4 -0
- package/src/utils/hooks/navigation/open-settings.ts +39 -0
- package/src/utils/hooks/pin-security/pin-security.ts +99 -0
- package/src/utils/hooks/revocation/credential-status.ts +45 -0
- package/src/utils/index.ts +14 -14
- package/src/utils/navigation.ts +4 -2
- package/src/utils/parsers/credential-images.tsx +78 -0
- package/src/utils/parsers/credential-sharing.tsx +366 -0
- package/src/utils/parsers/credential.ts +365 -0
- package/src/utils/parsers/index.ts +5 -0
- package/src/utils/parsers/query.tsx +82 -0
- 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 +85 -0
- package/src/utils/string.ts +17 -0
- package/src/utils/useMemoAsync.ts +1 -1
- package/src/utils/uuid.ts +8 -0
- package/lib/commonjs/accessibility/accessibility.js +0 -193
- package/lib/commonjs/accessibility/accessibility.js.map +0 -1
- package/lib/commonjs/accessibility/accessibilityHistory.js +0 -81
- package/lib/commonjs/accessibility/accessibilityHistory.js.map +0 -1
- package/lib/commonjs/accessibility/accessibilityHistoryWrappers.js +0 -49
- package/lib/commonjs/accessibility/accessibilityHistoryWrappers.js.map +0 -1
- package/lib/commonjs/accessibility/accessibilityLanguage.js +0 -63
- package/lib/commonjs/accessibility/accessibilityLanguage.js.map +0 -1
- package/lib/commonjs/accessibility/index.js +0 -129
- package/lib/commonjs/accessibility/index.js.map +0 -1
- package/lib/commonjs/accessibility/locale/index.js +0 -21
- package/lib/commonjs/accessibility/locale/index.js.map +0 -1
- package/lib/commonjs/accessibility/locale.test.js.map +0 -1
- package/lib/commonjs/action-modal/ActionModal.js +0 -52
- package/lib/commonjs/action-modal/ActionModal.js.map +0 -1
- package/lib/commonjs/action-modal/index.js +0 -14
- package/lib/commonjs/action-modal/index.js.map +0 -1
- package/lib/commonjs/activity-indicator/activity-indicator.js +0 -34
- package/lib/commonjs/activity-indicator/activity-indicator.js.map +0 -1
- package/lib/commonjs/activity-indicator/index.js +0 -14
- package/lib/commonjs/activity-indicator/index.js.map +0 -1
- package/lib/commonjs/blur/blur-view.js +0 -76
- package/lib/commonjs/blur/blur-view.js.map +0 -1
- package/lib/commonjs/blur/index.js +0 -21
- package/lib/commonjs/blur/index.js.map +0 -1
- package/lib/commonjs/buttons/back-button.js +0 -37
- package/lib/commonjs/buttons/back-button.js.map +0 -1
- package/lib/commonjs/buttons/button.js +0 -153
- package/lib/commonjs/buttons/button.js.map +0 -1
- package/lib/commonjs/buttons/connectivity-button.js +0 -82
- package/lib/commonjs/buttons/connectivity-button.js.map +0 -1
- package/lib/commonjs/buttons/filter-button.js +0 -51
- package/lib/commonjs/buttons/filter-button.js.map +0 -1
- package/lib/commonjs/buttons/ghost-button.js +0 -62
- package/lib/commonjs/buttons/ghost-button.js.map +0 -1
- package/lib/commonjs/buttons/index.js +0 -104
- package/lib/commonjs/buttons/index.js.map +0 -1
- package/lib/commonjs/buttons/scan-button.js +0 -83
- package/lib/commonjs/buttons/scan-button.js.map +0 -1
- package/lib/commonjs/camera/camera-overlay.js +0 -61
- package/lib/commonjs/camera/camera-overlay.js.map +0 -1
- package/lib/commonjs/camera/index.js +0 -21
- package/lib/commonjs/camera/index.js.map +0 -1
- package/lib/commonjs/camera/qr-code-scanner.js +0 -50
- package/lib/commonjs/camera/qr-code-scanner.js.map +0 -1
- package/lib/commonjs/control/checkbox.js +0 -79
- package/lib/commonjs/control/checkbox.js.map +0 -1
- package/lib/commonjs/control/index.js.map +0 -1
- package/lib/commonjs/control/switch.js +0 -65
- package/lib/commonjs/control/switch.js.map +0 -1
- package/lib/commonjs/credential/card/credential-card.js +0 -189
- package/lib/commonjs/credential/card/credential-card.js.map +0 -1
- package/lib/commonjs/credential/card/credential-details-card.js +0 -201
- package/lib/commonjs/credential/card/credential-details-card.js.map +0 -1
- package/lib/commonjs/credential/card/credential-details-list-item.js +0 -84
- package/lib/commonjs/credential/card/credential-details-list-item.js.map +0 -1
- package/lib/commonjs/credential/card/credential-header.js +0 -172
- package/lib/commonjs/credential/card/credential-header.js.map +0 -1
- package/lib/commonjs/credential/card/credential-image-carousel.js +0 -124
- package/lib/commonjs/credential/card/credential-image-carousel.js.map +0 -1
- package/lib/commonjs/credential/card/index.js +0 -85
- package/lib/commonjs/credential/card/index.js.map +0 -1
- package/lib/commonjs/credential/credential-attribute-item.js +0 -289
- package/lib/commonjs/credential/credential-attribute-item.js.map +0 -1
- package/lib/commonjs/credential/credential-carousel-images.js +0 -98
- package/lib/commonjs/credential/credential-carousel-images.js.map +0 -1
- package/lib/commonjs/credential/index.js +0 -90
- package/lib/commonjs/credential/index.js.map +0 -1
- package/lib/commonjs/credential/selector-status.js +0 -17
- package/lib/commonjs/credential/selector-status.js.map +0 -1
- package/lib/commonjs/credential/selector.js +0 -79
- package/lib/commonjs/credential/selector.js.map +0 -1
- package/lib/commonjs/detail/detail.js +0 -84
- package/lib/commonjs/detail/detail.js.map +0 -1
- package/lib/commonjs/detail/index.js +0 -14
- package/lib/commonjs/detail/index.js.map +0 -1
- package/lib/commonjs/entity/avatar.js +0 -96
- package/lib/commonjs/entity/avatar.js.map +0 -1
- package/lib/commonjs/entity/entity-cluster.js +0 -66
- package/lib/commonjs/entity/entity-cluster.js.map +0 -1
- package/lib/commonjs/entity/index.js +0 -34
- package/lib/commonjs/entity/index.js.map +0 -1
- package/lib/commonjs/header/focus-aware-status-bar.js +0 -20
- package/lib/commonjs/header/focus-aware-status-bar.js.map +0 -1
- package/lib/commonjs/header/foldable-header.js +0 -89
- package/lib/commonjs/header/foldable-header.js.map +0 -1
- package/lib/commonjs/header/header.js +0 -105
- package/lib/commonjs/header/header.js.map +0 -1
- package/lib/commonjs/header/index.js +0 -55
- package/lib/commonjs/header/index.js.map +0 -1
- package/lib/commonjs/header/navigation-header.js +0 -148
- package/lib/commonjs/header/navigation-header.js.map +0 -1
- package/lib/commonjs/history/data-item.js +0 -70
- package/lib/commonjs/history/data-item.js.map +0 -1
- package/lib/commonjs/history/history-list-item.js +0 -90
- package/lib/commonjs/history/history-list-item.js.map +0 -1
- package/lib/commonjs/history/history-section-header.js +0 -49
- package/lib/commonjs/history/history-section-header.js.map +0 -1
- package/lib/commonjs/history/history-section-list-item.js +0 -47
- package/lib/commonjs/history/history-section-list-item.js.map +0 -1
- package/lib/commonjs/history/index.js +0 -55
- package/lib/commonjs/history/index.js.map +0 -1
- package/lib/commonjs/icons/connectivity.js +0 -139
- package/lib/commonjs/icons/connectivity.js.map +0 -1
- package/lib/commonjs/icons/credential.js +0 -162
- package/lib/commonjs/icons/credential.js.map +0 -1
- package/lib/commonjs/icons/entity.js +0 -34
- package/lib/commonjs/icons/entity.js.map +0 -1
- package/lib/commonjs/icons/history.js +0 -408
- package/lib/commonjs/icons/history.js.map +0 -1
- package/lib/commonjs/icons/icons.js +0 -250
- package/lib/commonjs/icons/icons.js.map +0 -1
- package/lib/commonjs/icons/index.js.map +0 -1
- package/lib/commonjs/icons/input.js +0 -44
- package/lib/commonjs/icons/input.js.map +0 -1
- package/lib/commonjs/icons/keypad.js +0 -94
- package/lib/commonjs/icons/keypad.js.map +0 -1
- package/lib/commonjs/icons/loader.js +0 -180
- package/lib/commonjs/icons/loader.js.map +0 -1
- package/lib/commonjs/icons/nerd-view.js +0 -123
- package/lib/commonjs/icons/nerd-view.js.map +0 -1
- package/lib/commonjs/icons/selector.js +0 -56
- package/lib/commonjs/icons/selector.js.map +0 -1
- package/lib/commonjs/icons/wallet.js +0 -121
- package/lib/commonjs/icons/wallet.js.map +0 -1
- package/lib/commonjs/image/image-or-component.js +0 -80
- package/lib/commonjs/image/image-or-component.js.map +0 -1
- package/lib/commonjs/image/index.js +0 -21
- package/lib/commonjs/image/index.js.map +0 -1
- package/lib/commonjs/input/index.js +0 -65
- package/lib/commonjs/input/index.js.map +0 -1
- package/lib/commonjs/input/radio-group.js +0 -95
- package/lib/commonjs/input/radio-group.js.map +0 -1
- package/lib/commonjs/input/selection-input.js +0 -102
- package/lib/commonjs/input/selection-input.js.map +0 -1
- package/lib/commonjs/input/text-input.js +0 -195
- package/lib/commonjs/input/text-input.js.map +0 -1
- package/lib/commonjs/list/index.js +0 -34
- package/lib/commonjs/list/index.js.map +0 -1
- package/lib/commonjs/list/list-section-header.js +0 -36
- package/lib/commonjs/list/list-section-header.js.map +0 -1
- package/lib/commonjs/list/list-title-header.js +0 -35
- package/lib/commonjs/list/list-title-header.js.map +0 -1
- package/lib/commonjs/loader/index.js +0 -40
- package/lib/commonjs/loader/index.js.map +0 -1
- package/lib/commonjs/loader/loader.js +0 -140
- package/lib/commonjs/loader/loader.js.map +0 -1
- package/lib/commonjs/loader/loading-result.js +0 -92
- package/lib/commonjs/loader/loading-result.js.map +0 -1
- package/lib/commonjs/nerd-view/index.js +0 -27
- package/lib/commonjs/nerd-view/index.js.map +0 -1
- package/lib/commonjs/nerd-view/nerd-mode-item.js +0 -235
- package/lib/commonjs/nerd-view/nerd-mode-item.js.map +0 -1
- package/lib/commonjs/pin/index.js +0 -32
- package/lib/commonjs/pin/index.js.map +0 -1
- package/lib/commonjs/pin/keypad.js +0 -201
- package/lib/commonjs/pin/keypad.js.map +0 -1
- package/lib/commonjs/pin/pin-code-screen.js +0 -162
- package/lib/commonjs/pin/pin-code-screen.js.map +0 -1
- package/lib/commonjs/pin/pins.js +0 -54
- package/lib/commonjs/pin/pins.js.map +0 -1
- package/lib/commonjs/screens/backup-screen.js +0 -87
- package/lib/commonjs/screens/backup-screen.js.map +0 -1
- package/lib/commonjs/screens/image-preview-screen.js +0 -92
- package/lib/commonjs/screens/image-preview-screen.js.map +0 -1
- package/lib/commonjs/screens/index.js +0 -98
- package/lib/commonjs/screens/index.js.map +0 -1
- package/lib/commonjs/screens/nerd-mode-screen.js +0 -142
- package/lib/commonjs/screens/nerd-mode-screen.js.map +0 -1
- package/lib/commonjs/screens/qr-code-scanner-screen.js +0 -120
- package/lib/commonjs/screens/qr-code-scanner-screen.js.map +0 -1
- package/lib/commonjs/screens/scroll-view-screen.js +0 -94
- package/lib/commonjs/screens/scroll-view-screen.js.map +0 -1
- package/lib/commonjs/screens/section-list-screen.js +0 -67
- package/lib/commonjs/screens/section-list-screen.js.map +0 -1
- package/lib/commonjs/searchbar/animated-search-bar.js +0 -88
- package/lib/commonjs/searchbar/animated-search-bar.js.map +0 -1
- package/lib/commonjs/searchbar/index.js +0 -34
- package/lib/commonjs/searchbar/index.js.map +0 -1
- package/lib/commonjs/searchbar/search-bar.js +0 -99
- package/lib/commonjs/searchbar/search-bar.js.map +0 -1
- package/lib/commonjs/settings/button-setting.js +0 -67
- package/lib/commonjs/settings/button-setting.js.map +0 -1
- package/lib/commonjs/settings/index.js +0 -73
- package/lib/commonjs/settings/index.js.map +0 -1
- package/lib/commonjs/settings/setting-item-separator.js +0 -40
- package/lib/commonjs/settings/setting-item-separator.js.map +0 -1
- package/lib/commonjs/settings/setting-item.js +0 -79
- package/lib/commonjs/settings/setting-item.js.map +0 -1
- package/lib/commonjs/settings/settings-button.js +0 -35
- package/lib/commonjs/settings/settings-button.js.map +0 -1
- package/lib/commonjs/settings/switch-setting.js +0 -35
- package/lib/commonjs/settings/switch-setting.js.map +0 -1
- package/lib/commonjs/state/error-screen.js +0 -71
- package/lib/commonjs/state/error-screen.js.map +0 -1
- package/lib/commonjs/state/index.js +0 -27
- package/lib/commonjs/state/index.js.map +0 -1
- package/lib/commonjs/text/base.js +0 -40
- package/lib/commonjs/text/base.js.map +0 -1
- package/lib/commonjs/text/font.js +0 -64
- package/lib/commonjs/text/font.js.map +0 -1
- package/lib/commonjs/text/index.js +0 -21
- package/lib/commonjs/text/index.js.map +0 -1
- package/lib/commonjs/text/typography.js +0 -119
- package/lib/commonjs/text/typography.js.map +0 -1
- package/lib/commonjs/theme/color-scheme-context.js +0 -52
- package/lib/commonjs/theme/color-scheme-context.js.map +0 -1
- package/lib/commonjs/theme/color-scheme.js.map +0 -1
- package/lib/commonjs/theme/index.js.map +0 -1
- package/lib/module/accessibility/accessibility.js +0 -185
- package/lib/module/accessibility/accessibility.js.map +0 -1
- package/lib/module/accessibility/accessibilityHistory.js +0 -71
- package/lib/module/accessibility/accessibilityHistory.js.map +0 -1
- package/lib/module/accessibility/accessibilityHistoryWrappers.js +0 -38
- package/lib/module/accessibility/accessibilityHistoryWrappers.js.map +0 -1
- package/lib/module/accessibility/accessibilityLanguage.js +0 -53
- package/lib/module/accessibility/accessibilityLanguage.js.map +0 -1
- package/lib/module/accessibility/index.js +0 -8
- package/lib/module/accessibility/index.js.map +0 -1
- package/lib/module/accessibility/locale/index.js.map +0 -1
- package/lib/module/accessibility/locale.test.js.map +0 -1
- package/lib/module/action-modal/ActionModal.js +0 -44
- package/lib/module/action-modal/ActionModal.js.map +0 -1
- package/lib/module/action-modal/index.js.map +0 -1
- package/lib/module/activity-indicator/activity-indicator.js +0 -24
- package/lib/module/activity-indicator/activity-indicator.js.map +0 -1
- package/lib/module/activity-indicator/index.js.map +0 -1
- package/lib/module/blur/blur-view.js +0 -67
- package/lib/module/blur/blur-view.js.map +0 -1
- package/lib/module/blur/index.js.map +0 -1
- package/lib/module/buttons/back-button.js +0 -28
- package/lib/module/buttons/back-button.js.map +0 -1
- package/lib/module/buttons/button.js +0 -143
- package/lib/module/buttons/button.js.map +0 -1
- package/lib/module/buttons/connectivity-button.js +0 -73
- package/lib/module/buttons/connectivity-button.js.map +0 -1
- package/lib/module/buttons/filter-button.js +0 -43
- package/lib/module/buttons/filter-button.js.map +0 -1
- package/lib/module/buttons/ghost-button.js +0 -53
- package/lib/module/buttons/ghost-button.js.map +0 -1
- package/lib/module/buttons/index.js +0 -8
- package/lib/module/buttons/index.js.map +0 -1
- package/lib/module/buttons/scan-button.js +0 -75
- package/lib/module/buttons/scan-button.js.map +0 -1
- package/lib/module/camera/camera-overlay.js +0 -51
- package/lib/module/camera/camera-overlay.js.map +0 -1
- package/lib/module/camera/index.js.map +0 -1
- package/lib/module/camera/qr-code-scanner.js +0 -40
- package/lib/module/camera/qr-code-scanner.js.map +0 -1
- package/lib/module/control/checkbox.js +0 -70
- package/lib/module/control/checkbox.js.map +0 -1
- package/lib/module/control/index.js.map +0 -1
- package/lib/module/control/switch.js +0 -56
- package/lib/module/control/switch.js.map +0 -1
- package/lib/module/credential/card/credential-card.js +0 -177
- package/lib/module/credential/card/credential-card.js.map +0 -1
- package/lib/module/credential/card/credential-details-card.js +0 -191
- package/lib/module/credential/card/credential-details-card.js.map +0 -1
- package/lib/module/credential/card/credential-details-list-item.js +0 -74
- package/lib/module/credential/card/credential-details-list-item.js.map +0 -1
- package/lib/module/credential/card/credential-header.js +0 -162
- package/lib/module/credential/card/credential-header.js.map +0 -1
- package/lib/module/credential/card/credential-image-carousel.js +0 -113
- package/lib/module/credential/card/credential-image-carousel.js.map +0 -1
- package/lib/module/credential/card/index.js +0 -11
- package/lib/module/credential/card/index.js.map +0 -1
- package/lib/module/credential/credential-attribute-item.js +0 -279
- package/lib/module/credential/credential-attribute-item.js.map +0 -1
- package/lib/module/credential/credential-carousel-images.js +0 -86
- package/lib/module/credential/credential-carousel-images.js.map +0 -1
- package/lib/module/credential/index.js +0 -9
- package/lib/module/credential/index.js.map +0 -1
- package/lib/module/credential/selector-status.js +0 -10
- package/lib/module/credential/selector-status.js.map +0 -1
- package/lib/module/credential/selector.js +0 -70
- package/lib/module/credential/selector.js.map +0 -1
- package/lib/module/detail/detail.js +0 -75
- package/lib/module/detail/detail.js.map +0 -1
- package/lib/module/detail/index.js.map +0 -1
- package/lib/module/entity/avatar.js +0 -86
- package/lib/module/entity/avatar.js.map +0 -1
- package/lib/module/entity/entity-cluster.js +0 -56
- package/lib/module/entity/entity-cluster.js.map +0 -1
- package/lib/module/entity/index.js.map +0 -1
- package/lib/module/header/focus-aware-status-bar.js +0 -12
- package/lib/module/header/focus-aware-status-bar.js.map +0 -1
- package/lib/module/header/foldable-header.js +0 -79
- package/lib/module/header/foldable-header.js.map +0 -1
- package/lib/module/header/header.js +0 -97
- package/lib/module/header/header.js.map +0 -1
- package/lib/module/header/index.js +0 -9
- package/lib/module/header/index.js.map +0 -1
- package/lib/module/header/navigation-header.js +0 -138
- package/lib/module/header/navigation-header.js.map +0 -1
- package/lib/module/history/data-item.js +0 -60
- package/lib/module/history/data-item.js.map +0 -1
- package/lib/module/history/history-list-item.js +0 -80
- package/lib/module/history/history-list-item.js.map +0 -1
- package/lib/module/history/history-section-header.js +0 -42
- package/lib/module/history/history-section-header.js.map +0 -1
- package/lib/module/history/history-section-list-item.js +0 -43
- package/lib/module/history/history-section-list-item.js.map +0 -1
- package/lib/module/history/index.js +0 -9
- package/lib/module/history/index.js.map +0 -1
- package/lib/module/icons/connectivity.js +0 -125
- package/lib/module/icons/connectivity.js.map +0 -1
- package/lib/module/icons/credential.js +0 -147
- package/lib/module/icons/credential.js.map +0 -1
- package/lib/module/icons/entity.js +0 -25
- package/lib/module/icons/entity.js.map +0 -1
- package/lib/module/icons/history.js +0 -391
- package/lib/module/icons/history.js.map +0 -1
- package/lib/module/icons/icons.js +0 -231
- package/lib/module/icons/icons.js.map +0 -1
- package/lib/module/icons/index.js.map +0 -1
- package/lib/module/icons/input.js.map +0 -1
- package/lib/module/icons/keypad.js +0 -81
- package/lib/module/icons/keypad.js.map +0 -1
- package/lib/module/icons/loader.js +0 -168
- package/lib/module/icons/loader.js.map +0 -1
- package/lib/module/icons/nerd-view.js.map +0 -1
- package/lib/module/icons/selector.js +0 -45
- package/lib/module/icons/selector.js.map +0 -1
- package/lib/module/icons/wallet.js +0 -111
- package/lib/module/icons/wallet.js.map +0 -1
- package/lib/module/image/image-or-component.js +0 -71
- package/lib/module/image/image-or-component.js.map +0 -1
- package/lib/module/image/index.js +0 -3
- package/lib/module/image/index.js.map +0 -1
- package/lib/module/input/index.js.map +0 -1
- package/lib/module/input/radio-group.js +0 -87
- package/lib/module/input/radio-group.js.map +0 -1
- package/lib/module/input/selection-input.js +0 -92
- package/lib/module/input/selection-input.js.map +0 -1
- package/lib/module/input/text-input.js +0 -185
- package/lib/module/input/text-input.js.map +0 -1
- package/lib/module/list/index.js +0 -5
- package/lib/module/list/index.js.map +0 -1
- package/lib/module/list/list-section-header.js +0 -28
- package/lib/module/list/list-section-header.js.map +0 -1
- package/lib/module/list/list-title-header.js +0 -27
- package/lib/module/list/list-title-header.js.map +0 -1
- package/lib/module/loader/index.js.map +0 -1
- package/lib/module/loader/loader.js +0 -130
- package/lib/module/loader/loader.js.map +0 -1
- package/lib/module/loader/loading-result.js +0 -84
- package/lib/module/loader/loading-result.js.map +0 -1
- package/lib/module/nerd-view/index.js +0 -3
- package/lib/module/nerd-view/index.js.map +0 -1
- package/lib/module/nerd-view/nerd-mode-item.js +0 -224
- package/lib/module/nerd-view/nerd-mode-item.js.map +0 -1
- package/lib/module/pin/index.js +0 -4
- package/lib/module/pin/index.js.map +0 -1
- package/lib/module/pin/keypad.js +0 -191
- package/lib/module/pin/keypad.js.map +0 -1
- package/lib/module/pin/pin-code-screen.js +0 -152
- package/lib/module/pin/pin-code-screen.js.map +0 -1
- package/lib/module/pin/pins.js +0 -46
- package/lib/module/pin/pins.js.map +0 -1
- package/lib/module/screens/backup-screen.js +0 -78
- package/lib/module/screens/backup-screen.js.map +0 -1
- package/lib/module/screens/image-preview-screen.js +0 -83
- package/lib/module/screens/image-preview-screen.js.map +0 -1
- package/lib/module/screens/index.js +0 -13
- package/lib/module/screens/index.js.map +0 -1
- package/lib/module/screens/nerd-mode-screen.js +0 -132
- package/lib/module/screens/nerd-mode-screen.js.map +0 -1
- package/lib/module/screens/qr-code-scanner-screen.js +0 -110
- package/lib/module/screens/qr-code-scanner-screen.js.map +0 -1
- package/lib/module/screens/scroll-view-screen.js +0 -86
- package/lib/module/screens/scroll-view-screen.js.map +0 -1
- package/lib/module/screens/section-list-screen.js +0 -59
- package/lib/module/screens/section-list-screen.js.map +0 -1
- package/lib/module/searchbar/animated-search-bar.js +0 -78
- package/lib/module/searchbar/animated-search-bar.js.map +0 -1
- package/lib/module/searchbar/index.js.map +0 -1
- package/lib/module/searchbar/search-bar.js +0 -89
- package/lib/module/searchbar/search-bar.js.map +0 -1
- package/lib/module/settings/button-setting.js +0 -57
- package/lib/module/settings/button-setting.js.map +0 -1
- package/lib/module/settings/index.js.map +0 -1
- package/lib/module/settings/setting-item-separator.js +0 -32
- package/lib/module/settings/setting-item-separator.js.map +0 -1
- package/lib/module/settings/setting-item.js +0 -69
- package/lib/module/settings/setting-item.js.map +0 -1
- package/lib/module/settings/settings-button.js +0 -27
- package/lib/module/settings/settings-button.js.map +0 -1
- package/lib/module/settings/switch-setting.js +0 -27
- package/lib/module/settings/switch-setting.js.map +0 -1
- package/lib/module/state/error-screen.js +0 -63
- package/lib/module/state/error-screen.js.map +0 -1
- package/lib/module/state/index.js.map +0 -1
- package/lib/module/text/base.js +0 -31
- package/lib/module/text/base.js.map +0 -1
- package/lib/module/text/font.js +0 -56
- package/lib/module/text/font.js.map +0 -1
- package/lib/module/text/index.js +0 -3
- package/lib/module/text/index.js.map +0 -1
- package/lib/module/text/typography.js +0 -111
- package/lib/module/text/typography.js.map +0 -1
- package/lib/module/theme/color-scheme-context.js +0 -44
- package/lib/module/theme/color-scheme-context.js.map +0 -1
- package/lib/module/theme/color-scheme.js.map +0 -1
- package/lib/module/theme/index.js.map +0 -1
- package/lib/typescript/accessibility/accessibility.d.ts +0 -55
- package/lib/typescript/accessibility/accessibilityHistory.d.ts +0 -13
- package/lib/typescript/accessibility/accessibilityHistoryWrappers.d.ts +0 -18
- package/lib/typescript/accessibility/index.d.ts +0 -6
- package/lib/typescript/buttons/back-button.d.ts +0 -9
- package/lib/typescript/buttons/button.d.ts +0 -22
- package/lib/typescript/buttons/index.d.ts +0 -7
- package/lib/typescript/buttons/scan-button.d.ts +0 -5
- package/lib/typescript/credential/card/credential-card.d.ts +0 -22
- package/lib/typescript/credential/card/credential-header.d.ts +0 -20
- package/lib/typescript/credential/card/index.d.ts +0 -10
- package/lib/typescript/credential/credential-attribute-item.d.ts +0 -48
- package/lib/typescript/credential/index.d.ts +0 -8
- package/lib/typescript/entity/avatar.d.ts +0 -10
- package/lib/typescript/entity/entity-cluster.d.ts +0 -12
- package/lib/typescript/header/index.d.ts +0 -8
- package/lib/typescript/history/data-item.d.ts +0 -12
- package/lib/typescript/history/history-list-item.d.ts +0 -14
- package/lib/typescript/history/history-section-header.d.ts +0 -7
- package/lib/typescript/history/history-section-list-item.d.ts +0 -7
- package/lib/typescript/history/index.d.ts +0 -8
- package/lib/typescript/icons/history.d.ts +0 -42
- package/lib/typescript/image/index.d.ts +0 -2
- package/lib/typescript/input/selection-input.d.ts +0 -32
- package/lib/typescript/list/index.d.ts +0 -4
- package/lib/typescript/nerd-view/index.d.ts +0 -2
- package/lib/typescript/pin/index.d.ts +0 -3
- package/lib/typescript/pin/keypad.d.ts +0 -16
- package/lib/typescript/screens/index.d.ts +0 -12
- package/lib/typescript/screens/nerd-mode-screen.d.ts +0 -22
- package/lib/typescript/text/index.d.ts +0 -2
- package/lib/typescript/text/typography.d.ts +0 -112
- package/lib/typescript/theme/color-scheme.d.ts +0 -31
- package/src/accessibility/accessibility.ts +0 -215
- package/src/accessibility/accessibilityHistory.tsx +0 -77
- package/src/accessibility/accessibilityHistoryWrappers.tsx +0 -80
- package/src/accessibility/index.ts +0 -35
- package/src/action-modal/ActionModal.stories.tsx +0 -35
- package/src/activity-indicator/activity-indicator.stories.tsx +0 -21
- package/src/blur/blur-view.tsx +0 -82
- package/src/buttons/back-button.stories.tsx +0 -31
- package/src/buttons/back-button.tsx +0 -31
- package/src/buttons/button.stories.tsx +0 -29
- package/src/buttons/button.tsx +0 -169
- package/src/buttons/connectivity-button.stories.tsx +0 -34
- package/src/buttons/connectivity-button.tsx +0 -95
- package/src/buttons/ghost-button.stories.tsx +0 -28
- package/src/buttons/index.ts +0 -24
- package/src/buttons/scan-button.stories.tsx +0 -26
- package/src/control/checkbox.stories.tsx +0 -27
- package/src/control/switch.stories.tsx +0 -29
- package/src/credential/card/credential-card.stories.tsx +0 -52
- package/src/credential/card/credential-card.tsx +0 -195
- package/src/credential/card/credential-details-card.stories.tsx +0 -268
- package/src/credential/card/credential-details-card.tsx +0 -242
- package/src/credential/card/credential-details-list-item.tsx +0 -87
- package/src/credential/card/credential-header.stories.tsx +0 -50
- package/src/credential/card/credential-header.tsx +0 -195
- package/src/credential/card/credential-image-carousel.tsx +0 -113
- package/src/credential/card/index.ts +0 -11
- package/src/credential/credential-attribute-item.tsx +0 -372
- package/src/credential/index.ts +0 -13
- package/src/credential/selector.stories.tsx +0 -37
- package/src/credential/selector.tsx +0 -64
- package/src/detail/detail.stories.tsx +0 -65
- package/src/detail/detail.tsx +0 -98
- package/src/entity/avatar.stories.tsx +0 -39
- package/src/entity/avatar.tsx +0 -87
- package/src/entity/entity-cluster.stories.tsx +0 -42
- package/src/entity/entity-cluster.tsx +0 -72
- package/src/header/header.stories.tsx +0 -59
- package/src/header/header.tsx +0 -105
- package/src/header/index.ts +0 -9
- package/src/header/navigation-header.stories.tsx +0 -56
- package/src/header/navigation-header.tsx +0 -147
- package/src/history/data-item.tsx +0 -79
- package/src/history/history-list-item.tsx +0 -102
- package/src/history/history-section-header.tsx +0 -44
- package/src/history/history-section-list-item.tsx +0 -41
- package/src/history/index.ts +0 -9
- package/src/icons/entity.tsx +0 -21
- package/src/icons/history.tsx +0 -378
- package/src/image/index.tsx +0 -3
- package/src/input/radio-group.tsx +0 -110
- package/src/input/selection-input.stories.tsx +0 -46
- package/src/input/selection-input.tsx +0 -112
- package/src/input/text-input.tsx +0 -253
- package/src/list/index.ts +0 -5
- package/src/loader/loader.stories.tsx +0 -31
- package/src/loader/loader.tsx +0 -169
- package/src/loader/loading-result.stories.tsx +0 -67
- package/src/loader/loading-result.tsx +0 -93
- package/src/nerd-view/index.ts +0 -3
- package/src/nerd-view/nerd-mode-item.tsx +0 -296
- package/src/pin/index.ts +0 -4
- package/src/pin/keypad.tsx +0 -166
- package/src/pin/pin-code-screen.stories.tsx +0 -80
- package/src/pin/pin-code-screen.tsx +0 -195
- package/src/screens/backup-screen.tsx +0 -92
- package/src/screens/image-preview-screen.stories.tsx +0 -28
- package/src/screens/image-preview-screen.tsx +0 -82
- package/src/screens/index.ts +0 -13
- package/src/screens/nerd-mode-screen.tsx +0 -150
- package/src/screens/qr-code-scanner-screen.stories.tsx +0 -37
- package/src/screens/qr-code-scanner-screen.tsx +0 -124
- package/src/screens/scroll-view-screen.tsx +0 -91
- package/src/screens/section-list-screen.tsx +0 -61
- package/src/searchbar/search-bar.stories.tsx +0 -31
- package/src/searchbar/search-bar.tsx +0 -94
- package/src/state/error-screen.stories.tsx +0 -22
- package/src/state/error-screen.tsx +0 -71
- package/src/text/index.ts +0 -3
- package/src/text/typography.stories.tsx +0 -70
- package/src/theme/color-scheme-context.tsx +0 -48
- package/src/theme/color-scheme.ts +0 -31
- /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale/de.json +0 -0
- /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale/en.json +0 -0
- /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale/fr.json +0 -0
- /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale/it.json +0 -0
- /package/lib/commonjs/{accessibility → ui-components/accessibility}/locale.test.js +0 -0
- /package/lib/commonjs/{control → ui-components/control}/index.js +0 -0
- /package/lib/commonjs/{icons → ui-components/icons}/index.js +0 -0
- /package/lib/commonjs/{theme → ui-components/theme}/color-scheme.js +0 -0
- /package/lib/commonjs/{theme → ui-components/theme}/index.js +0 -0
- /package/lib/module/{accessibility → ui-components/accessibility}/locale/de.json +0 -0
- /package/lib/module/{accessibility → ui-components/accessibility}/locale/en.json +0 -0
- /package/lib/module/{accessibility → ui-components/accessibility}/locale/fr.json +0 -0
- /package/lib/module/{accessibility → ui-components/accessibility}/locale/index.js +0 -0
- /package/lib/module/{accessibility → ui-components/accessibility}/locale/it.json +0 -0
- /package/lib/module/{accessibility → ui-components/accessibility}/locale.test.js +0 -0
- /package/lib/module/{action-modal → ui-components/action-modal}/index.js +0 -0
- /package/lib/module/{activity-indicator → ui-components/activity-indicator}/index.js +0 -0
- /package/lib/module/{blur → ui-components/blur}/index.js +0 -0
- /package/lib/module/{camera → ui-components/camera}/index.js +0 -0
- /package/lib/module/{control → ui-components/control}/index.js +0 -0
- /package/lib/module/{detail → ui-components/detail}/index.js +0 -0
- /package/lib/module/{entity → ui-components/entity}/index.js +0 -0
- /package/lib/module/{icons → ui-components/icons}/index.js +0 -0
- /package/lib/module/{icons → ui-components/icons}/input.js +0 -0
- /package/lib/module/{icons → ui-components/icons}/nerd-view.js +0 -0
- /package/lib/module/{input → ui-components/input}/index.js +0 -0
- /package/lib/module/{loader → ui-components/loader}/index.js +0 -0
- /package/lib/module/{searchbar → ui-components/searchbar}/index.js +0 -0
- /package/lib/module/{settings → ui-components/settings}/index.js +0 -0
- /package/lib/module/{state → ui-components/state}/index.js +0 -0
- /package/lib/module/{theme → ui-components/theme}/color-scheme.js +0 -0
- /package/lib/module/{theme → ui-components/theme}/index.js +0 -0
- /package/lib/typescript/{accessibility → ui-components/accessibility}/accessibilityLanguage.d.ts +0 -0
- /package/lib/typescript/{accessibility → ui-components/accessibility}/locale/index.d.ts +0 -0
- /package/lib/typescript/{accessibility → ui-components/accessibility}/locale.test.d.ts +0 -0
- /package/lib/typescript/{action-modal → ui-components/action-modal}/ActionModal.d.ts +0 -0
- /package/lib/typescript/{action-modal → ui-components/action-modal}/index.d.ts +0 -0
- /package/lib/typescript/{activity-indicator → ui-components/activity-indicator}/activity-indicator.d.ts +0 -0
- /package/lib/typescript/{activity-indicator → ui-components/activity-indicator}/index.d.ts +0 -0
- /package/lib/typescript/{blur → ui-components/blur}/blur-view.d.ts +0 -0
- /package/lib/typescript/{blur → ui-components/blur}/index.d.ts +0 -0
- /package/lib/typescript/{buttons → ui-components/buttons}/connectivity-button.d.ts +0 -0
- /package/lib/typescript/{buttons → ui-components/buttons}/filter-button.d.ts +0 -0
- /package/lib/typescript/{buttons → ui-components/buttons}/ghost-button.d.ts +0 -0
- /package/lib/typescript/{camera → ui-components/camera}/camera-overlay.d.ts +0 -0
- /package/lib/typescript/{camera → ui-components/camera}/index.d.ts +0 -0
- /package/lib/typescript/{camera → ui-components/camera}/qr-code-scanner.d.ts +0 -0
- /package/lib/typescript/{control → ui-components/control}/checkbox.d.ts +0 -0
- /package/lib/typescript/{control → ui-components/control}/index.d.ts +0 -0
- /package/lib/typescript/{control → ui-components/control}/switch.d.ts +0 -0
- /package/lib/typescript/{credential → ui-components/credential}/card/credential-details-card.d.ts +0 -0
- /package/lib/typescript/{credential → ui-components/credential}/card/credential-details-list-item.d.ts +0 -0
- /package/lib/typescript/{credential → ui-components/credential}/card/credential-image-carousel.d.ts +0 -0
- /package/lib/typescript/{credential → ui-components/credential}/credential-carousel-images.d.ts +0 -0
- /package/lib/typescript/{credential → ui-components/credential}/selector-status.d.ts +0 -0
- /package/lib/typescript/{credential → ui-components/credential}/selector.d.ts +0 -0
- /package/lib/typescript/{detail → ui-components/detail}/detail.d.ts +0 -0
- /package/lib/typescript/{detail → ui-components/detail}/index.d.ts +0 -0
- /package/lib/typescript/{entity → ui-components/entity}/index.d.ts +0 -0
- /package/lib/typescript/{header → ui-components/header}/focus-aware-status-bar.d.ts +0 -0
- /package/lib/typescript/{header → ui-components/header}/foldable-header.d.ts +0 -0
- /package/lib/typescript/{header → ui-components/header}/header.d.ts +0 -0
- /package/lib/typescript/{header → ui-components/header}/navigation-header.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/connectivity.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/credential.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/entity.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/icons.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/index.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/input.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/keypad.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/loader.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/nerd-view.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/selector.d.ts +0 -0
- /package/lib/typescript/{icons → ui-components/icons}/wallet.d.ts +0 -0
- /package/lib/typescript/{image → ui-components/image}/image-or-component.d.ts +0 -0
- /package/lib/typescript/{input → ui-components/input}/index.d.ts +0 -0
- /package/lib/typescript/{input → ui-components/input}/radio-group.d.ts +0 -0
- /package/lib/typescript/{input → ui-components/input}/text-input.d.ts +0 -0
- /package/lib/typescript/{list → ui-components/list}/list-section-header.d.ts +0 -0
- /package/lib/typescript/{list → ui-components/list}/list-title-header.d.ts +0 -0
- /package/lib/typescript/{loader → ui-components/loader}/index.d.ts +0 -0
- /package/lib/typescript/{loader → ui-components/loader}/loader.d.ts +0 -0
- /package/lib/typescript/{loader → ui-components/loader}/loading-result.d.ts +0 -0
- /package/lib/typescript/{nerd-view → ui-components/nerd-view}/nerd-mode-item.d.ts +0 -0
- /package/lib/typescript/{pin → ui-components/pin}/pin-code-screen.d.ts +0 -0
- /package/lib/typescript/{pin → ui-components/pin}/pins.d.ts +0 -0
- /package/lib/typescript/{screens → ui-components/screens}/backup-screen.d.ts +0 -0
- /package/lib/typescript/{screens → ui-components/screens}/image-preview-screen.d.ts +0 -0
- /package/lib/typescript/{screens → ui-components/screens}/qr-code-scanner-screen.d.ts +0 -0
- /package/lib/typescript/{screens → ui-components/screens}/scroll-view-screen.d.ts +0 -0
- /package/lib/typescript/{screens → ui-components/screens}/section-list-screen.d.ts +0 -0
- /package/lib/typescript/{searchbar → ui-components/searchbar}/animated-search-bar.d.ts +0 -0
- /package/lib/typescript/{searchbar → ui-components/searchbar}/index.d.ts +0 -0
- /package/lib/typescript/{searchbar → ui-components/searchbar}/search-bar.d.ts +0 -0
- /package/lib/typescript/{settings → ui-components/settings}/button-setting.d.ts +0 -0
- /package/lib/typescript/{settings → ui-components/settings}/index.d.ts +0 -0
- /package/lib/typescript/{settings → ui-components/settings}/setting-item-separator.d.ts +0 -0
- /package/lib/typescript/{settings → ui-components/settings}/setting-item.d.ts +0 -0
- /package/lib/typescript/{settings → ui-components/settings}/settings-button.d.ts +0 -0
- /package/lib/typescript/{settings → ui-components/settings}/switch-setting.d.ts +0 -0
- /package/lib/typescript/{state → ui-components/state}/error-screen.d.ts +0 -0
- /package/lib/typescript/{state → ui-components/state}/index.d.ts +0 -0
- /package/lib/typescript/{text → ui-components/text}/base.d.ts +0 -0
- /package/lib/typescript/{text → ui-components/text}/font.d.ts +0 -0
- /package/lib/typescript/{theme → ui-components/theme}/color-scheme-context.d.ts +0 -0
- /package/lib/typescript/{theme → ui-components/theme}/index.d.ts +0 -0
- /package/src/{accessibility → ui-components/accessibility}/accessibilityLanguage.tsx +0 -0
- /package/src/{accessibility → ui-components/accessibility}/locale/de.json +0 -0
- /package/src/{accessibility → ui-components/accessibility}/locale/en.json +0 -0
- /package/src/{accessibility → ui-components/accessibility}/locale/fr.json +0 -0
- /package/src/{accessibility → ui-components/accessibility}/locale/index.ts +0 -0
- /package/src/{accessibility → ui-components/accessibility}/locale/it.json +0 -0
- /package/src/{accessibility → ui-components/accessibility}/locale.test.ts +0 -0
- /package/src/{action-modal → ui-components/action-modal}/ActionModal.tsx +0 -0
- /package/src/{action-modal → ui-components/action-modal}/index.ts +0 -0
- /package/src/{activity-indicator → ui-components/activity-indicator}/activity-indicator.tsx +0 -0
- /package/src/{activity-indicator → ui-components/activity-indicator}/index.ts +0 -0
- /package/src/{blur → ui-components/blur}/index.ts +0 -0
- /package/src/{buttons → ui-components/buttons}/filter-button.tsx +0 -0
- /package/src/{buttons → ui-components/buttons}/ghost-button.tsx +0 -0
- /package/src/{buttons → ui-components/buttons}/scan-button.tsx +0 -0
- /package/src/{camera → ui-components/camera}/camera-overlay.tsx +0 -0
- /package/src/{camera → ui-components/camera}/index.tsx +0 -0
- /package/src/{camera → ui-components/camera}/qr-code-scanner.tsx +0 -0
- /package/src/{control → ui-components/control}/checkbox.tsx +0 -0
- /package/src/{control → ui-components/control}/index.ts +0 -0
- /package/src/{control → ui-components/control}/switch.tsx +0 -0
- /package/src/{credential → ui-components/credential}/credential-carousel-images.tsx +0 -0
- /package/src/{credential → ui-components/credential}/selector-status.ts +0 -0
- /package/src/{detail → ui-components/detail}/index.tsx +0 -0
- /package/src/{entity → ui-components/entity}/index.ts +0 -0
- /package/src/{header → ui-components/header}/focus-aware-status-bar.tsx +0 -0
- /package/src/{header → ui-components/header}/foldable-header.tsx +0 -0
- /package/src/{icons → ui-components/icons}/connectivity.tsx +0 -0
- /package/src/{icons → ui-components/icons}/credential.tsx +0 -0
- /package/src/{icons → ui-components/icons}/icons.tsx +0 -0
- /package/src/{icons → ui-components/icons}/index.ts +0 -0
- /package/src/{icons → ui-components/icons}/input.tsx +0 -0
- /package/src/{icons → ui-components/icons}/keypad.tsx +0 -0
- /package/src/{icons → ui-components/icons}/loader.tsx +0 -0
- /package/src/{icons → ui-components/icons}/nerd-view.tsx +0 -0
- /package/src/{icons → ui-components/icons}/selector.tsx +0 -0
- /package/src/{icons → ui-components/icons}/wallet.tsx +0 -0
- /package/src/{image → ui-components/image}/image-or-component.tsx +0 -0
- /package/src/{input → ui-components/input}/index.ts +0 -0
- /package/src/{list → ui-components/list}/list-section-header.tsx +0 -0
- /package/src/{list → ui-components/list}/list-title-header.tsx +0 -0
- /package/src/{loader → ui-components/loader}/index.ts +0 -0
- /package/src/{pin → ui-components/pin}/pins.tsx +0 -0
- /package/src/{searchbar → ui-components/searchbar}/animated-search-bar.tsx +0 -0
- /package/src/{searchbar → ui-components/searchbar}/index.ts +0 -0
- /package/src/{settings → ui-components/settings}/button-setting.tsx +0 -0
- /package/src/{settings → ui-components/settings}/index.ts +0 -0
- /package/src/{settings → ui-components/settings}/setting-item-separator.tsx +0 -0
- /package/src/{settings → ui-components/settings}/setting-item.tsx +0 -0
- /package/src/{settings → ui-components/settings}/settings-button.tsx +0 -0
- /package/src/{settings → ui-components/settings}/switch-setting.tsx +0 -0
- /package/src/{state → ui-components/state}/index.ts +0 -0
- /package/src/{text → ui-components/text}/base.tsx +0 -0
- /package/src/{text → ui-components/text}/font.ts +0 -0
- /package/src/{text → ui-components/text}/typography.tsx +0 -0
- /package/src/{theme → ui-components/theme}/index.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useCallback","useEffect","useMemo","useState","StyleSheet","View","Animated","cancelAnimation","Easing","runOnJS","useAnimatedStyle","useDerivedValue","useSharedValue","withTiming","TouchableWithoutFeedback","Typography","useAppColorScheme","Content","title","subtitlePrefix","subtitleSuffix","width","height","textColor","progress","holdTimeoutSecs","disabled","nums","Array","from","length","map","_","index","subtitleHeight","setSubtitleHeight","onSubtitleLayout","nativeEvent","layout","translateY","value","movingUpStyle","transform","createElement","style","styles","contentWrapper","contentDisabled","pointerEvents","color","numberOfLines","subtitle","subtitleDisabled","onLayout","preset","subtitleSecsWrapper","subtitleSecs","val","key","HoldButtonLayouted","onFinished","ref","props","colorScheme","isFinished","setFinished","onLongPress","onPressIn","holdTimeout","duration","easing","linear","finished","onPressOut","translateX","movingRightStyle","movingLeftStyle","contentProps","Fragment","_extends","accent","movingLayer","backgroundColor","accentText","pressableLayer","accessibilityRole","undefined","HoldButton","forwardRef","setLayout","onContainerLayout","container","white","background","borderColor","displayName","create","borderRadius","overflow","opacity","alignItems","justifyContent","paddingBottom","paddingHorizontal","paddingTop","borderWidth","position","flexDirection"],"sources":["hold-button.tsx"],"sourcesContent":["import React, { useCallback, useEffect, useMemo, useState } from 'react';\nimport { ColorValue, LayoutChangeEvent, StyleSheet, TouchableWithoutFeedbackProps, View } from 'react-native';\nimport Animated, {\n cancelAnimation,\n Easing,\n runOnJS,\n SharedValue,\n useAnimatedStyle,\n useDerivedValue,\n useSharedValue,\n withTiming,\n} from 'react-native-reanimated';\n\nimport { TouchableWithoutFeedback, TouchableWithoutFeedbackRef } from '../accessibility/accessibilityHistoryWrappers';\nimport { Typography } from '../text';\nimport { useAppColorScheme } from '../theme';\n\nexport interface HoldButtonProps\n extends Omit<\n TouchableWithoutFeedbackProps,\n 'children' | 'onLayout' | 'onPress' | 'onLongPress' | 'onPressIn' | 'onPressOut'\n > {\n title: string;\n subtitlePrefix: string;\n subtitleSuffix: string;\n holdTimeoutSecs?: number;\n onFinished: () => void;\n}\n\ninterface ContentProps {\n title: string;\n subtitlePrefix: string;\n subtitleSuffix: string;\n width: number;\n height: number;\n textColor: ColorValue;\n progress: SharedValue<number>;\n holdTimeoutSecs: number;\n disabled?: boolean;\n}\n\nconst Content = ({\n title,\n subtitlePrefix,\n subtitleSuffix,\n width,\n height,\n textColor,\n progress,\n holdTimeoutSecs,\n disabled,\n}: ContentProps) => {\n const nums = useMemo(\n () => Array.from({ length: holdTimeoutSecs + 1 }).map((_, index) => holdTimeoutSecs - index),\n [holdTimeoutSecs],\n );\n\n const [subtitleHeight, setSubtitleHeight] = useState<number>(0);\n const onSubtitleLayout = useCallback(({ nativeEvent }: LayoutChangeEvent) => {\n setSubtitleHeight(nativeEvent.layout.height);\n }, []);\n\n const translateY = useDerivedValue(\n () => progress.value * subtitleHeight * holdTimeoutSecs,\n [subtitleHeight, holdTimeoutSecs],\n );\n const movingUpStyle = useAnimatedStyle(() => ({\n transform: [{ translateY: -translateY.value }],\n }), [translateY]);\n\n return (\n <View style={[styles.contentWrapper, disabled && styles.contentDisabled, { width, height }]} pointerEvents=\"none\">\n <Typography color={textColor} numberOfLines={1}>\n {title}\n </Typography>\n\n <View style={[styles.subtitle, disabled && styles.subtitleDisabled]}>\n <Typography onLayout={onSubtitleLayout} preset=\"s/line-height-capped\" color={textColor} numberOfLines={1}>\n {subtitlePrefix}\n </Typography>\n <View style={[styles.subtitleSecsWrapper, { height: subtitleHeight }]}>\n <Animated.View style={[styles.subtitleSecs, movingUpStyle]}>\n {nums.map((val) => (\n <Typography key={val} preset=\"s/line-height-capped\" color={textColor} numberOfLines={1}>\n {val}\n </Typography>\n ))}\n </Animated.View>\n </View>\n <Typography preset=\"s/line-height-capped\" color={textColor} numberOfLines={1}>\n {subtitleSuffix}\n </Typography>\n </View>\n </View>\n );\n};\n\ninterface HoldButtonLayoutedProps extends Omit<HoldButtonProps, 'style'> {\n ref: React.ForwardedRef<TouchableWithoutFeedbackRef>;\n width: number;\n height: number;\n}\n\nconst HoldButtonLayouted = ({\n title,\n subtitlePrefix,\n subtitleSuffix,\n onFinished,\n holdTimeoutSecs = 3,\n width,\n height,\n disabled,\n ref,\n ...props\n}: HoldButtonLayoutedProps) => {\n const colorScheme = useAppColorScheme();\n\n const [isFinished, setFinished] = useState(false);\n useEffect(() => {\n if (isFinished) {\n onFinished();\n }\n }, [isFinished, onFinished]);\n\n const progress = useSharedValue(0);\n\n const onLongPress = useCallback(() => {\n // Fix for detox bug https://github.com/wix/Detox/issues/4754\n if (isFinished || progress.value !== 0) {\n return;\n }\n setFinished(true);\n }, [progress, isFinished]);\n\n const onPressIn = useCallback(() => {\n const holdTimeout = holdTimeoutSecs * 1000;\n\n // start moving forward\n progress.value = withTiming(\n 1,\n {\n duration: (1 - progress.value) * holdTimeout,\n easing: Easing.linear,\n },\n (finished) => {\n if (finished) {\n runOnJS(setFinished)(true);\n } else {\n // start moving back\n progress.value = withTiming(0, {\n duration: progress.value * holdTimeout,\n easing: Easing.linear,\n });\n }\n },\n );\n }, [holdTimeoutSecs, progress]);\n\n const onPressOut = useCallback(() => cancelAnimation(progress), [progress]);\n\n const translateX = useDerivedValue(() => progress.value * width, [width]);\n const movingRightStyle = useAnimatedStyle(() => ({\n transform: [{ translateX: translateX.value }],\n }), [translateX]);\n const movingLeftStyle = useAnimatedStyle(() => ({\n transform: [{ translateX: -translateX.value }],\n }), [translateX]);\n\n const contentProps = useMemo(\n () => ({ title, subtitlePrefix, subtitleSuffix, progress, holdTimeoutSecs, width, height }),\n [title, subtitlePrefix, subtitleSuffix, progress, holdTimeoutSecs, width, height],\n );\n\n return (\n <>\n <Content textColor={colorScheme.accent} disabled={disabled} {...contentProps} />\n {!disabled && (\n <Animated.View style={[styles.movingLayer, { backgroundColor: colorScheme.accent }, movingRightStyle]}>\n <Animated.View style={movingLeftStyle}>\n <Content textColor={colorScheme.accentText} {...contentProps} />\n </Animated.View>\n </Animated.View>\n )}\n <View style={styles.pressableLayer}>\n <TouchableWithoutFeedback\n accessibilityRole=\"button\"\n ref={ref}\n disabled={isFinished || disabled}\n onLongPress={onLongPress}\n onPressIn={isFinished ? undefined : onPressIn}\n onPressOut={isFinished ? undefined : onPressOut}\n {...props}>\n <View style={{ width, height }} />\n </TouchableWithoutFeedback>\n </View>\n </>\n );\n};\n\n/**\n * Press and hold button component\n *\n * follows design: https://www.figma.com/design/cCmAyBQrQWCQZuDi85pJfe/Procivis-One-Wallet-Developments-2025?node-id=1-871\n */\nconst HoldButton = React.forwardRef<TouchableWithoutFeedbackRef, HoldButtonProps>(\n ({ style, disabled, ...props }, ref) => {\n const colorScheme = useAppColorScheme();\n\n const [layout, setLayout] = useState<{ width: number; height: number }>();\n const onContainerLayout = useCallback(({ nativeEvent }: LayoutChangeEvent) => {\n setLayout({ width: nativeEvent.layout.width, height: nativeEvent.layout.height });\n }, []);\n\n return (\n <View\n onLayout={onContainerLayout}\n style={[\n styles.container,\n disabled && styles.disabled,\n {\n backgroundColor: disabled ? colorScheme.white : colorScheme.background,\n borderColor: colorScheme.background,\n },\n style,\n ]}>\n {layout && <HoldButtonLayouted ref={ref} disabled={disabled} {...props} {...layout} />}\n </View>\n );\n },\n);\n\nHoldButton.displayName = 'HoldButton';\n\nconst styles = StyleSheet.create({\n container: {\n borderRadius: 12,\n height: 68,\n overflow: 'hidden',\n },\n contentDisabled: {\n opacity: 0.4,\n },\n contentWrapper: {\n alignItems: 'center',\n justifyContent: 'space-between',\n paddingBottom: 16,\n paddingHorizontal: 24,\n paddingTop: 12,\n },\n disabled: {\n borderWidth: 1,\n },\n movingLayer: {\n overflow: 'hidden',\n position: 'absolute',\n },\n pressableLayer: {\n position: 'absolute',\n },\n subtitle: {\n alignItems: 'flex-end',\n flexDirection: 'row',\n opacity: 0.8,\n },\n subtitleDisabled: {\n opacity: 1,\n },\n subtitleSecs: {\n alignItems: 'center',\n },\n subtitleSecsWrapper: {\n overflow: 'hidden',\n },\n});\n\nexport default HoldButton;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACxE,SAAwCC,UAAU,EAAiCC,IAAI,QAAQ,cAAc;AAC7G,OAAOC,QAAQ,IACbC,eAAe,EACfC,MAAM,EACNC,OAAO,EAEPC,gBAAgB,EAChBC,eAAe,EACfC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAEhC,SAASC,wBAAwB,QAAqC,+CAA+C;AACrH,SAASC,UAAU,QAAQ,SAAS;AACpC,SAASC,iBAAiB,QAAQ,UAAU;AA0B5C,MAAMC,OAAO,GAAGA,CAAC;EACfC,KAAK;EACLC,cAAc;EACdC,cAAc;EACdC,KAAK;EACLC,MAAM;EACNC,SAAS;EACTC,QAAQ;EACRC,eAAe;EACfC;AACY,CAAC,KAAK;EAClB,MAAMC,IAAI,GAAGzB,OAAO,CAClB,MAAM0B,KAAK,CAACC,IAAI,CAAC;IAAEC,MAAM,EAAEL,eAAe,GAAG;EAAE,CAAC,CAAC,CAACM,GAAG,CAAC,CAACC,CAAC,EAAEC,KAAK,KAAKR,eAAe,GAAGQ,KAAK,CAAC,EAC5F,CAACR,eAAe,CAClB,CAAC;EAED,MAAM,CAACS,cAAc,EAAEC,iBAAiB,CAAC,GAAGhC,QAAQ,CAAS,CAAC,CAAC;EAC/D,MAAMiC,gBAAgB,GAAGpC,WAAW,CAAC,CAAC;IAAEqC;EAA+B,CAAC,KAAK;IAC3EF,iBAAiB,CAACE,WAAW,CAACC,MAAM,CAAChB,MAAM,CAAC;EAC9C,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMiB,UAAU,GAAG5B,eAAe,CAChC,MAAMa,QAAQ,CAACgB,KAAK,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,CAAC;EACDnD,eAAe,EAAE;IACfoD,OAAO,EAAE;EACX,CAAC;EACDrD,cAAc,EAAE;IACdsD,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,eAAe;IAC/BC,aAAa,EAAE,EAAE;IACjBC,iBAAiB,EAAE,EAAE;IACrBC,UAAU,EAAE;EACd,CAAC;EACD9E,QAAQ,EAAE;IACR+E,WAAW,EAAE;EACf,CAAC;EACDxB,WAAW,EAAE;IACXiB,QAAQ,EAAE,QAAQ;IAClBQ,QAAQ,EAAE;EACZ,CAAC;EACDtB,cAAc,EAAE;IACdsB,QAAQ,EAAE;EACZ,CAAC;EACDvD,QAAQ,EAAE;IACRiD,UAAU,EAAE,UAAU;IACtBO,aAAa,EAAE,KAAK;IACpBR,OAAO,EAAE;EACX,CAAC;EACD/C,gBAAgB,EAAE;IAChB+C,OAAO,EAAE;EACX,CAAC;EACD3C,YAAY,EAAE;IACZ4C,UAAU,EAAE;EACd,CAAC;EACD7C,mBAAmB,EAAE;IACnB2C,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEF,eAAeX,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import BackButton, { BackButtonIcon } from './back-button';
|
|
2
|
+
import { Button, ButtonType } from './button';
|
|
3
|
+
import ConnectivityButton, { ConnectivityTransport } from './connectivity-button';
|
|
4
|
+
import FilterButton from './filter-button';
|
|
5
|
+
import GhostButton from './ghost-button';
|
|
6
|
+
import HoldButton from './hold-button';
|
|
7
|
+
import ScanButton from './scan-button';
|
|
8
|
+
export { BackButton, BackButtonIcon, Button, ButtonType, ConnectivityButton, ConnectivityTransport, FilterButton, GhostButton, HoldButton, ScanButton };
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BackButton","BackButtonIcon","Button","ButtonType","ConnectivityButton","ConnectivityTransport","FilterButton","GhostButton","HoldButton","ScanButton"],"sources":["index.ts"],"sourcesContent":["import type { BackButtonProps } from './back-button';\nimport BackButton, { BackButtonIcon } from './back-button';\nimport type { ButtonProps } from './button';\nimport { Button, ButtonType } from './button';\nimport type { ConnectivityButtonProps } from './connectivity-button';\nimport ConnectivityButton, { ConnectivityTransport } from './connectivity-button';\nimport type { FilterButtonProps } from './filter-button';\nimport FilterButton from './filter-button';\nimport type { GhostButtonProps } from './ghost-button';\nimport GhostButton from './ghost-button';\nimport type { HoldButtonProps } from './hold-button';\nimport HoldButton from './hold-button';\nimport type { ScanButtonProps } from './scan-button';\nimport ScanButton from './scan-button';\n\nexport {\n BackButton,\n BackButtonIcon,\n BackButtonProps,\n Button,\n ButtonProps,\n ButtonType,\n ConnectivityButton,\n ConnectivityButtonProps,\n ConnectivityTransport,\n FilterButton,\n FilterButtonProps,\n GhostButton,\n GhostButtonProps,\n HoldButton,\n HoldButtonProps,\n ScanButton,\n ScanButtonProps,\n};\n"],"mappings":"AACA,OAAOA,UAAU,IAAIC,cAAc,QAAQ,eAAe;AAE1D,SAASC,MAAM,EAAEC,UAAU,QAAQ,UAAU;AAE7C,OAAOC,kBAAkB,IAAIC,qBAAqB,QAAQ,uBAAuB;AAEjF,OAAOC,YAAY,MAAM,iBAAiB;AAE1C,OAAOC,WAAW,MAAM,gBAAgB;AAExC,OAAOC,UAAU,MAAM,eAAe;AAEtC,OAAOC,UAAU,MAAM,eAAe;AAEtC,SACET,UAAU,EACVC,cAAc,EAEdC,MAAM,EAENC,UAAU,EACVC,kBAAkB,EAElBC,qBAAqB,EACrBC,YAAY,EAEZC,WAAW,EAEXC,UAAU,EAEVC,UAAU","ignoreList":[]}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
import React from 'react';
|
|
3
|
+
import { StyleSheet, View } from 'react-native';
|
|
4
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
5
|
+
import { TouchableOpacity } from '../accessibility/accessibilityHistoryWrappers';
|
|
6
|
+
import { useAccessibilityTranslation } from '../accessibility/accessibilityLanguage';
|
|
7
|
+
import BlurView from '../blur/blur-view';
|
|
8
|
+
import { ScanIcon } from '../icons';
|
|
9
|
+
import { useAppColorScheme } from '../theme';
|
|
10
|
+
const hitSlop = {
|
|
11
|
+
top: 10,
|
|
12
|
+
left: 10,
|
|
13
|
+
bottom: 10,
|
|
14
|
+
right: 10
|
|
15
|
+
};
|
|
16
|
+
const ScanButton = /*#__PURE__*/React.forwardRef(({
|
|
17
|
+
style,
|
|
18
|
+
...props
|
|
19
|
+
}, ref) => {
|
|
20
|
+
const t = useAccessibilityTranslation();
|
|
21
|
+
const colorScheme = useAppColorScheme();
|
|
22
|
+
const insets = useSafeAreaInsets();
|
|
23
|
+
return /*#__PURE__*/React.createElement(TouchableOpacity, _extends({
|
|
24
|
+
accessibilityLabel: t('accessibility.icon.scan'),
|
|
25
|
+
accessibilityRole: "button",
|
|
26
|
+
hitSlop: hitSlop,
|
|
27
|
+
ref: ref,
|
|
28
|
+
style: [styles.button, {
|
|
29
|
+
bottom: Math.max(24, insets.bottom)
|
|
30
|
+
}, style]
|
|
31
|
+
}, props), /*#__PURE__*/React.createElement(BlurView, {
|
|
32
|
+
blurStyle: "soft",
|
|
33
|
+
style: styles.blurWrapper
|
|
34
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
35
|
+
style: [styles.iconWrapper, {
|
|
36
|
+
backgroundColor: colorScheme.accent
|
|
37
|
+
}]
|
|
38
|
+
}, /*#__PURE__*/React.createElement(ScanIcon, {
|
|
39
|
+
color: colorScheme.white
|
|
40
|
+
}))));
|
|
41
|
+
});
|
|
42
|
+
ScanButton.displayName = 'ScanButton';
|
|
43
|
+
export default ScanButton;
|
|
44
|
+
const styles = StyleSheet.create({
|
|
45
|
+
blurWrapper: {
|
|
46
|
+
borderRadius: 28,
|
|
47
|
+
height: 80,
|
|
48
|
+
padding: 8,
|
|
49
|
+
width: 104
|
|
50
|
+
},
|
|
51
|
+
button: {
|
|
52
|
+
borderRadius: 28,
|
|
53
|
+
height: 80,
|
|
54
|
+
left: '50%',
|
|
55
|
+
marginLeft: -52,
|
|
56
|
+
position: 'absolute',
|
|
57
|
+
shadowColor: '#000000',
|
|
58
|
+
shadowOffset: {
|
|
59
|
+
height: 4,
|
|
60
|
+
width: 0
|
|
61
|
+
},
|
|
62
|
+
shadowOpacity: 0.2,
|
|
63
|
+
shadowRadius: 24,
|
|
64
|
+
width: 104
|
|
65
|
+
},
|
|
66
|
+
iconWrapper: {
|
|
67
|
+
alignItems: 'center',
|
|
68
|
+
borderRadius: 20,
|
|
69
|
+
height: '100%',
|
|
70
|
+
justifyContent: 'center',
|
|
71
|
+
width: '100%'
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
//# sourceMappingURL=scan-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","View","useSafeAreaInsets","TouchableOpacity","useAccessibilityTranslation","BlurView","ScanIcon","useAppColorScheme","hitSlop","top","left","bottom","right","ScanButton","forwardRef","style","props","ref","t","colorScheme","insets","createElement","_extends","accessibilityLabel","accessibilityRole","styles","button","Math","max","blurStyle","blurWrapper","iconWrapper","backgroundColor","accent","color","white","displayName","create","borderRadius","height","padding","width","marginLeft","position","shadowColor","shadowOffset","shadowOpacity","shadowRadius","alignItems","justifyContent"],"sources":["scan-button.tsx"],"sourcesContent":["import React from 'react';\nimport { Insets, StyleSheet, TouchableOpacityProps, View } from 'react-native';\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\n\nimport { TouchableOpacity, TouchableOpacityRef } from '../accessibility/accessibilityHistoryWrappers';\nimport { useAccessibilityTranslation } from '../accessibility/accessibilityLanguage';\nimport BlurView from '../blur/blur-view';\nimport { ScanIcon } from '../icons';\nimport { useAppColorScheme } from '../theme';\n\nexport type ScanButtonProps = TouchableOpacityProps;\n\nconst hitSlop: Insets = { top: 10, left: 10, bottom: 10, right: 10 };\n\nconst ScanButton = React.forwardRef<TouchableOpacityRef, ScanButtonProps>(({ style, ...props }, ref) => {\n const t = useAccessibilityTranslation();\n const colorScheme = useAppColorScheme();\n const insets = useSafeAreaInsets();\n\n return (\n <TouchableOpacity\n accessibilityLabel={t('accessibility.icon.scan')}\n accessibilityRole=\"button\"\n hitSlop={hitSlop}\n ref={ref}\n style={[styles.button, { bottom: Math.max(24, insets.bottom) }, style]}\n {...props}>\n <BlurView blurStyle=\"soft\" style={styles.blurWrapper}>\n <View style={[styles.iconWrapper, { backgroundColor: colorScheme.accent }]}>\n <ScanIcon color={colorScheme.white} />\n </View>\n </BlurView>\n </TouchableOpacity>\n );\n});\n\nScanButton.displayName = 'ScanButton';\nexport default ScanButton;\n\nconst styles = StyleSheet.create({\n blurWrapper: {\n borderRadius: 28,\n height: 80,\n padding: 8,\n width: 104,\n },\n button: {\n borderRadius: 28,\n height: 80,\n left: '50%',\n marginLeft: -52,\n position: 'absolute',\n shadowColor: '#000000',\n shadowOffset: { height: 4, width: 0 },\n shadowOpacity: 0.2,\n shadowRadius: 24,\n width: 104,\n },\n iconWrapper: {\n alignItems: 'center',\n borderRadius: 20,\n height: '100%',\n justifyContent: 'center',\n width: '100%',\n },\n});\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAiBC,UAAU,EAAyBC,IAAI,QAAQ,cAAc;AAC9E,SAASC,iBAAiB,QAAQ,gCAAgC;AAElE,SAASC,gBAAgB,QAA6B,+CAA+C;AACrG,SAASC,2BAA2B,QAAQ,wCAAwC;AACpF,OAAOC,QAAQ,MAAM,mBAAmB;AACxC,SAASC,QAAQ,QAAQ,UAAU;AACnC,SAASC,iBAAiB,QAAQ,UAAU;AAI5C,MAAMC,OAAe,GAAG;EAAEC,GAAG,EAAE,EAAE;EAAEC,IAAI,EAAE,E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MAAM,EAAE,EAAE;IACVC,OAAO,EAAE,CAAC;IACVC,KAAK,EAAE;EACT,CAAC;EACDf,MAAM,EAAE;IACNY,YAAY,EAAE,EAAE;IAChBC,MAAM,EAAE,EAAE;IACV7B,IAAI,EAAE,KAAK;IACXgC,UAAU,EAAE,CAAC,EAAE;IACfC,QAAQ,EAAE,UAAU;IACpBC,WAAW,EAAE,SAAS;IACtBC,YAAY,EAAE;MAAEN,MAAM,EAAE,CAAC;MAAEE,KAAK,EAAE;IAAE,CAAC;IACrCK,aAAa,EAAE,GAAG;IAClBC,YAAY,EAAE,EAAE;IAChBN,KAAK,EAAE;EACT,CAAC;EACDV,WAAW,EAAE;IACXiB,UAAU,EAAE,QAAQ;IACpBV,YAAY,EAAE,EAAE;IAChBC,MAAM,EAAE,MAAM;IACdU,cAAc,EAAE,QAAQ;IACxBR,KAAK,EAAE;EACT;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
import React from 'react';
|
|
3
|
+
import { Dimensions, StyleSheet, View } from 'react-native';
|
|
4
|
+
import Svg, { Path } from 'react-native-svg';
|
|
5
|
+
const CameraOverlay = ({
|
|
6
|
+
scannerSize,
|
|
7
|
+
style,
|
|
8
|
+
...viewProps
|
|
9
|
+
}) => {
|
|
10
|
+
const windowWidth = Dimensions.get('window').width;
|
|
11
|
+
scannerSize = scannerSize !== null && scannerSize !== void 0 ? scannerSize : windowWidth * 0.6;
|
|
12
|
+
const transformSize = scannerSize / 2;
|
|
13
|
+
return /*#__PURE__*/React.createElement(View, _extends({
|
|
14
|
+
style: [StyleSheet.absoluteFill, style]
|
|
15
|
+
}, viewProps), /*#__PURE__*/React.createElement(Svg, {
|
|
16
|
+
style: [styles.scannerOutline, {
|
|
17
|
+
width: scannerSize,
|
|
18
|
+
height: scannerSize,
|
|
19
|
+
transform: [{
|
|
20
|
+
translateX: -transformSize
|
|
21
|
+
}, {
|
|
22
|
+
translateY: -transformSize
|
|
23
|
+
}]
|
|
24
|
+
}],
|
|
25
|
+
viewBox: "0 0 245 245",
|
|
26
|
+
fill: "none",
|
|
27
|
+
strokeWidth: 4,
|
|
28
|
+
strokeLinecap: "round",
|
|
29
|
+
stroke: '#FFFFFF'
|
|
30
|
+
}, /*#__PURE__*/React.createElement(Path, {
|
|
31
|
+
d: "M44.9348 2.5H40.9C27.4587 2.5 20.7381 2.5 15.6042 5.11584C11.0883 7.4168 7.4168 11.0883 5.11584 15.6042C2.5 20.7381 2.5 27.4587 2.5 40.9V44.9348"
|
|
32
|
+
}), /*#__PURE__*/React.createElement(Path, {
|
|
33
|
+
d: "M242.5 44.9348L242.5 26.5C242.5 13.2452 231.755 2.5 218.5 2.5L200.065 2.5"
|
|
34
|
+
}), /*#__PURE__*/React.createElement(Path, {
|
|
35
|
+
d: "M242.5 44.9348L242.5 40.9C242.5 27.4587 242.5 20.7381 239.884 15.6042C237.583 11.0883 233.912 7.4168 229.396 5.11584C224.262 2.5 217.541 2.5 204.1 2.5L200.065 2.5"
|
|
36
|
+
}), /*#__PURE__*/React.createElement(Path, {
|
|
37
|
+
d: "M200.065 242.5L204.1 242.5C217.541 242.5 224.262 242.5 229.396 239.884C233.912 237.583 237.583 233.912 239.884 229.396C242.5 224.262 242.5 217.541 242.5 204.1L242.5 200.065"
|
|
38
|
+
}), /*#__PURE__*/React.createElement(Path, {
|
|
39
|
+
d: "M2.5 200.065L2.5 204.1C2.5 217.541 2.5 224.262 5.11584 229.396C7.4168 233.912 11.0883 237.583 15.6042 239.884C20.7381 242.5 27.4587 242.5 40.9 242.5L44.9348 242.5"
|
|
40
|
+
})));
|
|
41
|
+
};
|
|
42
|
+
export default CameraOverlay;
|
|
43
|
+
const styles = StyleSheet.create({
|
|
44
|
+
scannerOutline: {
|
|
45
|
+
left: '50%',
|
|
46
|
+
top: '50%'
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
//# sourceMappingURL=camera-overlay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Dimensions","StyleSheet","View","Svg","Path","CameraOverlay","scannerSize","style","viewProps","windowWidth","get","width","transformSize","createElement","_extends","absoluteFill","styles","scannerOutline","height","transform","translateX","translateY","viewBox","fill","strokeWidth","strokeLinecap","stroke","d","create","left","top"],"sources":["camera-overlay.tsx"],"sourcesContent":["import React, { FunctionComponent } from 'react';\nimport { Dimensions, StyleSheet, View, ViewProps } from 'react-native';\nimport Svg, { Path } from 'react-native-svg';\n\nexport type CameraMaskProps = ViewProps & {\n scannerSize?: number;\n};\n\nconst CameraOverlay: FunctionComponent<CameraMaskProps> = ({ scannerSize, style, ...viewProps }) => {\n const windowWidth = Dimensions.get('window').width;\n\n scannerSize = scannerSize ?? windowWidth * 0.6;\n const transformSize = scannerSize / 2;\n\n return (\n <View style={[StyleSheet.absoluteFill, style]} {...viewProps}>\n <Svg\n style={[\n styles.scannerOutline,\n {\n width: scannerSize,\n height: scannerSize,\n transform: [{ translateX: -transformSize }, { translateY: -transformSize }],\n },\n ]}\n viewBox=\"0 0 245 245\"\n fill=\"none\"\n strokeWidth={4}\n strokeLinecap=\"round\"\n stroke={'#FFFFFF'}>\n <Path d=\"M44.9348 2.5H40.9C27.4587 2.5 20.7381 2.5 15.6042 5.11584C11.0883 7.4168 7.4168 11.0883 5.11584 15.6042C2.5 20.7381 2.5 27.4587 2.5 40.9V44.9348\" />\n <Path d=\"M242.5 44.9348L242.5 26.5C242.5 13.2452 231.755 2.5 218.5 2.5L200.065 2.5\" />\n <Path d=\"M242.5 44.9348L242.5 40.9C242.5 27.4587 242.5 20.7381 239.884 15.6042C237.583 11.0883 233.912 7.4168 229.396 5.11584C224.262 2.5 217.541 2.5 204.1 2.5L200.065 2.5\" />\n <Path d=\"M200.065 242.5L204.1 242.5C217.541 242.5 224.262 242.5 229.396 239.884C233.912 237.583 237.583 233.912 239.884 229.396C242.5 224.262 242.5 217.541 242.5 204.1L242.5 200.065\" />\n <Path d=\"M2.5 200.065L2.5 204.1C2.5 217.541 2.5 224.262 5.11584 229.396C7.4168 233.912 11.0883 237.583 15.6042 239.884C20.7381 242.5 27.4587 242.5 40.9 242.5L44.9348 242.5\" />\n </Svg>\n </View>\n );\n};\n\nexport default CameraOverlay;\n\nconst styles = StyleSheet.create({\n scannerOutline: {\n left: '50%',\n top: '50%',\n },\n});\n"],"mappings":";AAAA,OAAOA,KAAK,MAA6B,OAAO;AAChD,SAASC,UAAU,EAAEC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AACtE,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAM5C,MAAMC,aAAiD,GAAGA,CAAC;EAAEC,WAAW;EAAEC,KAAK;EAAE,GAAGC;AAAU,CAAC,KAAK;EAClG,MAAMC,WAAW,GAAGT,UAAU,CAACU,GAAG,CAAC,QAAQ,CAAC,CAACC,KAAK;EAElDL,WAAW,GAAGA,WAAW,aAAXA,WAAW,cAAXA,WAAW,GAAIG,WAAW,GAAG,GAAG;EAC9C,MAAMG,aAAa,GAAGN,WAAW,GAAG,CAAC;EAErC,oBACEP,KAAA,CAAAc,aAAA,CAACX,IAAI,EAAAY,QAAA;IAACP,KAAK,EAAE,CAACN,UAAU,CAACc,YAAY,EAAER,KAAK;EAAE,GAAKC,SAAS,gBAC1DT,KAAA,CAAAc,aAAA,CAACV,GAAG;IACFI,KAAK,EAAE,CACLS,MAAM,CAACC,cAAc,EACrB;MACEN,KAAK,EAAEL,WAAW;MAClBY,MAAM,EAAEZ,WAAW;MACnBa,SAAS,EAAE,CAAC;QAAEC,UAAU,EAAE,CAACR;MAAc,CAAC,EAAE;QAAES,UAAU,EAAE,CAACT;MAAc,CAAC;IAC5E,CAAC,CACD;IACFU,OAAO,EAAC,aAAa;IACrBC,IAAI,EAAC,MAAM;IACXC,WAAW,EAAE,CAAE;IACfC,aAAa,EAAC,OAAO;IACrBC,MAAM,EAAE;EAAU,gBAClB3B,KAAA,CAAAc,aAAA,CAACT,IAAI;IAACuB,CAAC,EAAC;EAAkJ,CAAE,CAAC,eAC7J5B,KAAA,CAAAc,aAAA,CAACT,IAAI;IAACuB,CAAC,EAAC;EAA2E,CAAE,CAAC,eACtF5B,KAAA,CAAAc,aAAA,CAACT,IAAI;IAACuB,CAAC,EAAC;EAAoK,CAAE,CAAC,eAC/K5B,KAAA,CAAAc,aAAA,CAACT,IAAI;IAACuB,CAAC,EAAC;EAA8K,CAAE,CAAC,eACzL5B,KAAA,CAAAc,aAAA,CAACT,IAAI;IAACuB,CAAC,EAAC;EAAoK,CAAE,CAC3K,CACD,CAAC;AAEX,CAAC;AAED,eAAetB,aAAa;AAE5B,MAAMW,MAAM,GAAGf,UAAU,CAAC2B,MAAM,CAAC;EAC/BX,cAAc,EAAE;IACdY,IAAI,EAAE,KAAK;IACXC,GAAG,EAAE;EACP;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["QRCodeScanner","QRCodeScannerProps"],"sources":["index.tsx"],"sourcesContent":["import QRCodeScanner, { QRCodeScannerProps } from './qr-code-scanner';\n\nexport { QRCodeScanner, QRCodeScannerProps };\n"],"mappings":"AAAA,OAAOA,aAAa,IAAIC,kBAAkB,QAAQ,mBAAmB;AAErE,SAASD,aAAa,EAAEC,kBAAkB","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
|
+
import { StyleSheet, View } from 'react-native';
|
|
3
|
+
import { Camera, useCameraDevice, useCodeScanner } from 'react-native-vision-camera';
|
|
4
|
+
import CameraOverlay from './camera-overlay';
|
|
5
|
+
const QRCodeScanner = ({
|
|
6
|
+
cameraOverlay,
|
|
7
|
+
codeTypes = ['qr'],
|
|
8
|
+
onQRCodeRead,
|
|
9
|
+
noCameraView = null,
|
|
10
|
+
...viewProps
|
|
11
|
+
}) => {
|
|
12
|
+
const qrCodeScanner = useCodeScanner({
|
|
13
|
+
codeTypes,
|
|
14
|
+
onCodeScanned: onQRCodeRead
|
|
15
|
+
});
|
|
16
|
+
const device = useCameraDevice('back');
|
|
17
|
+
const cameraOverlayView = useMemo(() => {
|
|
18
|
+
if (!cameraOverlay) {
|
|
19
|
+
return /*#__PURE__*/React.createElement(CameraOverlay, null);
|
|
20
|
+
}
|
|
21
|
+
if (/*#__PURE__*/React.isValidElement(cameraOverlay)) {
|
|
22
|
+
return cameraOverlay;
|
|
23
|
+
} else {
|
|
24
|
+
const CameraOverlayComponent = cameraOverlay;
|
|
25
|
+
return /*#__PURE__*/React.createElement(CameraOverlayComponent, null);
|
|
26
|
+
}
|
|
27
|
+
}, [cameraOverlay]);
|
|
28
|
+
if (!device) {
|
|
29
|
+
return noCameraView;
|
|
30
|
+
}
|
|
31
|
+
return /*#__PURE__*/React.createElement(View, viewProps, /*#__PURE__*/React.createElement(Camera, {
|
|
32
|
+
codeScanner: qrCodeScanner,
|
|
33
|
+
device: device,
|
|
34
|
+
isActive: true,
|
|
35
|
+
style: StyleSheet.absoluteFill
|
|
36
|
+
}), cameraOverlayView);
|
|
37
|
+
};
|
|
38
|
+
export default QRCodeScanner;
|
|
39
|
+
//# sourceMappingURL=qr-code-scanner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useMemo","StyleSheet","View","Camera","useCameraDevice","useCodeScanner","CameraOverlay","QRCodeScanner","cameraOverlay","codeTypes","onQRCodeRead","noCameraView","viewProps","qrCodeScanner","onCodeScanned","device","cameraOverlayView","createElement","isValidElement","CameraOverlayComponent","codeScanner","isActive","style","absoluteFill"],"sources":["qr-code-scanner.tsx"],"sourcesContent":["import React, { FunctionComponent, useMemo } from 'react';\nimport { StyleSheet, View, ViewProps } from 'react-native';\nimport { Camera, Code, CodeType, useCameraDevice, useCodeScanner } from 'react-native-vision-camera';\n\nimport CameraOverlay from './camera-overlay';\n\nexport type QRCodeScannerProps = ViewProps & {\n cameraOverlay?: React.ComponentType<any> | React.ReactElement;\n codeTypes?: CodeType[];\n noCameraView?: JSX.Element;\n onQRCodeRead: (code: Code[]) => void;\n};\n\nconst QRCodeScanner: FunctionComponent<QRCodeScannerProps> = ({\n cameraOverlay,\n codeTypes = ['qr'],\n onQRCodeRead,\n noCameraView = null,\n ...viewProps\n}) => {\n const qrCodeScanner = useCodeScanner({\n codeTypes,\n onCodeScanned: onQRCodeRead,\n });\n\n const device = useCameraDevice('back');\n\n const cameraOverlayView: React.ReactElement | undefined = useMemo(() => {\n if (!cameraOverlay) {\n return <CameraOverlay />;\n }\n if (React.isValidElement(cameraOverlay)) {\n return cameraOverlay;\n } else {\n const CameraOverlayComponent = cameraOverlay as React.ComponentType<any>;\n return <CameraOverlayComponent />;\n }\n }, [cameraOverlay]);\n\n if (!device) {\n return noCameraView;\n }\n\n return (\n <View {...viewProps}>\n <Camera codeScanner={qrCodeScanner} device={device} isActive={true} style={StyleSheet.absoluteFill} />\n {cameraOverlayView}\n </View>\n );\n};\n\nexport default QRCodeScanner;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAuBC,OAAO,QAAQ,OAAO;AACzD,SAASC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAC1D,SAASC,MAAM,EAAkBC,eAAe,EAAEC,cAAc,QAAQ,4BAA4B;AAEpG,OAAOC,aAAa,MAAM,kBAAkB;AAS5C,MAAMC,aAAoD,GAAGA,CAAC;EAC5DC,aAAa;EACbC,SAAS,GAAG,CAAC,IAAI,CAAC;EAClBC,YAAY;EACZC,YAAY,GAAG,IAAI;EACnB,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,aAAa,GAAGR,cAAc,CAAC;IACnCI,SAAS;IACTK,aAAa,EAAEJ;EACjB,CAAC,CAAC;EAEF,MAAMK,MAAM,GAAGX,eAAe,CAAC,MAAM,CAAC;EAEtC,MAAMY,iBAAiD,GAAGhB,OAAO,CAAC,MAAM;IACtE,IAAI,CAACQ,aAAa,EAAE;MAClB,oBAAOT,KAAA,CAAAkB,aAAA,CAACX,aAAa,MAAE,CAAC;IAC1B;IACA,iBAAIP,KAAK,CAACmB,cAAc,CAACV,aAAa,CAAC,EAAE;MACvC,OAAOA,aAAa;IACtB,CAAC,MAAM;MACL,MAAMW,sBAAsB,GAAGX,aAAyC;MACxE,oBAAOT,KAAA,CAAAkB,aAAA,CAACE,sBAAsB,MAAE,CAAC;IACnC;EACF,CAAC,EAAE,CAACX,aAAa,CAAC,CAAC;EAEnB,IAAI,CAACO,MAAM,EAAE;IACX,OAAOJ,YAAY;EACrB;EAEA,oBACEZ,KAAA,CAAAkB,aAAA,CAACf,IAAI,EAAKU,SAAS,eACjBb,KAAA,CAAAkB,aAAA,CAACd,MAAM;IAACiB,WAAW,EAAEP,aAAc;IAACE,MAAM,EAAEA,MAAO;IAACM,QAAQ,EAAE,IAAK;IAACC,KAAK,EAAErB,UAAU,CAACsB;EAAa,CAAE,CAAC,EACrGP,iBACG,CAAC;AAEX,CAAC;AAED,eAAeT,aAAa","ignoreList":[]}
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
import React, { useCallback } from 'react';
|
|
3
|
+
import { StyleSheet, View } from 'react-native';
|
|
4
|
+
import { TouchableOpacity } from '../accessibility/accessibilityHistoryWrappers';
|
|
5
|
+
import { useAccessibilityTranslation } from '../accessibility/accessibilityLanguage';
|
|
6
|
+
import { CheckedIcon } from '../icons/selector';
|
|
7
|
+
import { Typography } from '../text';
|
|
8
|
+
import { useAppColorScheme } from '../theme';
|
|
9
|
+
export const Checkbox = ({
|
|
10
|
+
style,
|
|
11
|
+
text,
|
|
12
|
+
value,
|
|
13
|
+
disabled,
|
|
14
|
+
onValueChanged,
|
|
15
|
+
...props
|
|
16
|
+
}) => {
|
|
17
|
+
const t = useAccessibilityTranslation();
|
|
18
|
+
const colorScheme = useAppColorScheme();
|
|
19
|
+
const onPress = useCallback(() => onValueChanged(!value), [onValueChanged, value]);
|
|
20
|
+
return /*#__PURE__*/React.createElement(TouchableOpacity, _extends({
|
|
21
|
+
activeOpacity: 0.8,
|
|
22
|
+
accessibilityRole: "checkbox",
|
|
23
|
+
accessibilityState: {
|
|
24
|
+
disabled
|
|
25
|
+
},
|
|
26
|
+
accessibilityValue: disabled ? undefined : {
|
|
27
|
+
text: t(value ? 'accessibility.control.checked' : 'accessibility.control.unchecked')
|
|
28
|
+
},
|
|
29
|
+
disabled: disabled,
|
|
30
|
+
style: [styles.container, {
|
|
31
|
+
backgroundColor: colorScheme.background
|
|
32
|
+
}, style],
|
|
33
|
+
onPress: onPress
|
|
34
|
+
}, props), value ? /*#__PURE__*/React.createElement(CheckedIcon, {
|
|
35
|
+
style: disabled && styles.disabled
|
|
36
|
+
}) : /*#__PURE__*/React.createElement(View, {
|
|
37
|
+
style: [styles.unchecked, {
|
|
38
|
+
borderColor: colorScheme.grayDark,
|
|
39
|
+
backgroundColor: disabled ? colorScheme.background : colorScheme.white
|
|
40
|
+
}]
|
|
41
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
42
|
+
style: [styles.text, disabled && styles.disabled]
|
|
43
|
+
}, typeof text === 'string' ? /*#__PURE__*/React.createElement(Typography, {
|
|
44
|
+
preset: "xs/line-height-small",
|
|
45
|
+
color: colorScheme.text
|
|
46
|
+
}, text) : text));
|
|
47
|
+
};
|
|
48
|
+
const styles = StyleSheet.create({
|
|
49
|
+
container: {
|
|
50
|
+
alignItems: 'center',
|
|
51
|
+
borderRadius: 12,
|
|
52
|
+
flexDirection: 'row',
|
|
53
|
+
padding: 12
|
|
54
|
+
},
|
|
55
|
+
disabled: {
|
|
56
|
+
opacity: 0.4
|
|
57
|
+
},
|
|
58
|
+
text: {
|
|
59
|
+
flex: 1,
|
|
60
|
+
marginLeft: 12
|
|
61
|
+
},
|
|
62
|
+
unchecked: {
|
|
63
|
+
borderRadius: 12,
|
|
64
|
+
borderWidth: 1,
|
|
65
|
+
height: 24,
|
|
66
|
+
width: 24
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
//# sourceMappingURL=checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useCallback","StyleSheet","View","TouchableOpacity","useAccessibilityTranslation","CheckedIcon","Typography","useAppColorScheme","Checkbox","style","text","value","disabled","onValueChanged","props","t","colorScheme","onPress","createElement","_extends","activeOpacity","accessibilityRole","accessibilityState","accessibilityValue","undefined","styles","container","backgroundColor","background","unchecked","borderColor","grayDark","white","preset","color","create","alignItems","borderRadius","flexDirection","padding","opacity","flex","marginLeft","borderWidth","height","width"],"sources":["checkbox.tsx"],"sourcesContent":["import React, { FC, ReactNode, useCallback } from 'react';\nimport { StyleSheet, TouchableOpacityProps, View } from 'react-native';\n\nimport { TouchableOpacity } from '../accessibility/accessibilityHistoryWrappers';\nimport { useAccessibilityTranslation } from '../accessibility/accessibilityLanguage';\nimport { CheckedIcon } from '../icons/selector';\nimport { Typography } from '../text';\nimport { useAppColorScheme } from '../theme';\n\nexport interface CheckboxProps extends TouchableOpacityProps {\n value: boolean;\n text: ReactNode;\n onValueChanged: (value: boolean) => void;\n disabled?: boolean;\n}\n\nexport const Checkbox: FC<CheckboxProps> = ({ style, text, value, disabled, onValueChanged, ...props }) => {\n const t = useAccessibilityTranslation();\n const colorScheme = useAppColorScheme();\n\n const onPress = useCallback(() => onValueChanged(!value), [onValueChanged, value]);\n\n return (\n <TouchableOpacity\n activeOpacity={0.8}\n accessibilityRole=\"checkbox\"\n accessibilityState={{ disabled }}\n accessibilityValue={\n disabled ? undefined : { text: t(value ? 'accessibility.control.checked' : 'accessibility.control.unchecked') }\n }\n disabled={disabled}\n style={[styles.container, { backgroundColor: colorScheme.background }, style]}\n onPress={onPress}\n {...props}>\n {value ? (\n <CheckedIcon style={disabled && styles.disabled} />\n ) : (\n <View\n style={[\n styles.unchecked,\n {\n borderColor: colorScheme.grayDark,\n backgroundColor: disabled ? colorScheme.background : colorScheme.white,\n },\n ]}\n />\n )}\n <View style={[styles.text, disabled && styles.disabled]}>\n {typeof text === 'string' ? (\n <Typography preset=\"xs/line-height-small\" color={colorScheme.text}>\n {text}\n </Typography>\n ) : (\n text\n )}\n </View>\n </TouchableOpacity>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n alignItems: 'center',\n borderRadius: 12,\n flexDirection: 'row',\n padding: 12,\n },\n disabled: {\n opacity: 0.4,\n },\n text: {\n flex: 1,\n marginLeft: 12,\n },\n unchecked: {\n borderRadius: 12,\n borderWidth: 1,\n height: 24,\n width: 24,\n },\n});\n"],"mappings":";AAAA,OAAOA,KAAK,IAAmBC,WAAW,QAAQ,OAAO;AACzD,SAASC,UAAU,EAAyBC,IAAI,QAAQ,cAAc;AAEtE,SAASC,gBAAgB,QAAQ,+CAA+C;AAChF,SAASC,2BAA2B,QAAQ,wCAAwC;AACpF,SAASC,WAAW,QAAQ,mBAAmB;AAC/C,SAASC,UAAU,QAAQ,SAAS;AACpC,SAASC,iBAAiB,QAAQ,UAAU;AAS5C,OAAO,MAAMC,QAA2B,GAAGA,CAAC;EAAEC,KAAK;EAAEC,IAAI;EAAEC,KAAK;EAAEC,QAAQ;EAAEC,cAAc;EAAE,GAAGC;AAAM,CAAC,KAAK;EACzG,MAAMC,CAAC,GAAGX,2BAA2B,CAAC,CAAC;EACvC,MAAMY,WAAW,GAAGT,iBAAiB,CAAC,CAAC;EAEvC,MAAMU,OAAO,GAAGjB,WAAW,CAAC,MAAMa,cAAc,CAAC,CAACF,KAAK,CAAC,EAAE,CAACE,cAAc,EAAEF,KAAK,CAAC,CAAC;EAElF,oBACEZ,KAAA,CAAAmB,aAAA,CAACf,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;IAChBC,aAAa,EAAE,KAAK;IACpBC,OAAO,EAAE;EACX,CAAC;EACD3B,QAAQ,EAAE;IACR4B,OAAO,EAAE;EACX,CAAC;EACD9B,IAAI,EAAE;IACJ+B,IAAI,EAAE,CAAC;IACPC,UAAU,EAAE;EACd,CAAC;EACDb,SAAS,EAAE;IACTQ,YAAY,EAAE,EAAE;IAChBM,WAAW,EAAE,CAAC;IACdC,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE;EACT;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Checkbox","CheckboxProps","Switch","SwitchProps"],"sources":["index.ts"],"sourcesContent":["import { Checkbox, CheckboxProps } from './checkbox';\nimport { Switch, SwitchProps } from './switch';\n\nexport { Checkbox, CheckboxProps, Switch, SwitchProps };\n"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,aAAa,QAAQ,YAAY;AACpD,SAASC,MAAM,EAAEC,WAAW,QAAQ,UAAU;AAE9C,SAASH,QAAQ,EAAEC,aAAa,EAAEC,MAAM,EAAEC,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
import React, { forwardRef } from 'react';
|
|
3
|
+
import { Platform, StyleSheet, Switch as RNSwitch } from 'react-native';
|
|
4
|
+
import { useAppColorScheme } from '../theme';
|
|
5
|
+
const hitSlop = {
|
|
6
|
+
top: 10,
|
|
7
|
+
bottom: 10,
|
|
8
|
+
left: 10,
|
|
9
|
+
right: 10
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
// https://www.figma.com/file/Gd0Tj0234hxtl3HMcCJThW/App-Component-Library-(Design)?node-id=8%3A744&t=xeivYJN0RLNSObzn-4
|
|
13
|
+
// https://www.figma.com/file/tNPSTYXGCjaVCK9z8Yvy0e/Procivis-SSI%2B-%E2%80%93-App-(Base-File)-(Copy)?node-id=156%3A13826&t=sDAfSW7cmQKmaWNG-4
|
|
14
|
+
export const Switch = /*#__PURE__*/forwardRef(({
|
|
15
|
+
value,
|
|
16
|
+
disabled,
|
|
17
|
+
style,
|
|
18
|
+
onChange,
|
|
19
|
+
...props
|
|
20
|
+
}, ref) => {
|
|
21
|
+
const colorScheme = useAppColorScheme();
|
|
22
|
+
return /*#__PURE__*/React.createElement(RNSwitch, _extends({
|
|
23
|
+
ref: ref,
|
|
24
|
+
value: value,
|
|
25
|
+
disabled: disabled,
|
|
26
|
+
hitSlop: hitSlop,
|
|
27
|
+
style: [disabled && styles.disabled, style],
|
|
28
|
+
onValueChange: onChange,
|
|
29
|
+
trackColor: Platform.select({
|
|
30
|
+
default: {
|
|
31
|
+
true: colorScheme.grayDark,
|
|
32
|
+
false: colorScheme.grayDark
|
|
33
|
+
},
|
|
34
|
+
ios: {
|
|
35
|
+
true: colorScheme.accent,
|
|
36
|
+
false: colorScheme.grayDark
|
|
37
|
+
}
|
|
38
|
+
}),
|
|
39
|
+
thumbColor: Platform.select({
|
|
40
|
+
default: value ? colorScheme.accent : disabled ? colorScheme.background : colorScheme.white,
|
|
41
|
+
ios: colorScheme.white
|
|
42
|
+
}),
|
|
43
|
+
ios_backgroundColor: colorScheme.grayDark
|
|
44
|
+
// @ts-ignore: web only prop
|
|
45
|
+
,
|
|
46
|
+
activeThumbColor: colorScheme.accent
|
|
47
|
+
}, props));
|
|
48
|
+
});
|
|
49
|
+
const styles = StyleSheet.create({
|
|
50
|
+
disabled: {
|
|
51
|
+
opacity: 0.38
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Switch.displayName = 'Switch';
|
|
55
|
+
//# sourceMappingURL=switch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","forwardRef","Platform","StyleSheet","Switch","RNSwitch","useAppColorScheme","hitSlop","top","bottom","left","right","value","disabled","style","onChange","props","ref","colorScheme","createElement","_extends","styles","onValueChange","trackColor","select","default","true","grayDark","false","ios","accent","thumbColor","background","white","ios_backgroundColor","activeThumbColor","create","opacity","displayName"],"sources":["switch.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { Insets, Platform, StyleSheet, Switch as RNSwitch, SwitchProps as RNSwitchProps } from 'react-native';\n\nimport { useAppColorScheme } from '../theme';\n\nexport interface SwitchProps extends Omit<RNSwitchProps, 'value' | 'onChange' | 'onValueChange'> {\n value: boolean;\n onChange: (newValue: boolean) => void;\n}\n\nconst hitSlop: Insets = { top: 10, bottom: 10, left: 10, right: 10 };\n\n// https://www.figma.com/file/Gd0Tj0234hxtl3HMcCJThW/App-Component-Library-(Design)?node-id=8%3A744&t=xeivYJN0RLNSObzn-4\n// https://www.figma.com/file/tNPSTYXGCjaVCK9z8Yvy0e/Procivis-SSI%2B-%E2%80%93-App-(Base-File)-(Copy)?node-id=156%3A13826&t=sDAfSW7cmQKmaWNG-4\nexport const Switch = forwardRef<RNSwitch, SwitchProps>(({ value, disabled, style, onChange, ...props }, ref) => {\n const colorScheme = useAppColorScheme();\n return (\n <RNSwitch\n ref={ref}\n value={value}\n disabled={disabled}\n hitSlop={hitSlop}\n style={[disabled && styles.disabled, style]}\n onValueChange={onChange}\n trackColor={Platform.select({\n default: { true: colorScheme.grayDark, false: colorScheme.grayDark },\n ios: { true: colorScheme.accent, false: colorScheme.grayDark },\n })}\n thumbColor={Platform.select({\n default: value ? colorScheme.accent : disabled ? colorScheme.background : colorScheme.white,\n ios: colorScheme.white,\n })}\n ios_backgroundColor={colorScheme.grayDark}\n // @ts-ignore: web only prop\n activeThumbColor={colorScheme.accent}\n {...props}\n />\n );\n});\n\nconst styles = StyleSheet.create({\n disabled: {\n opacity: 0.38,\n },\n});\n\nSwitch.displayName = 'Switch';\n"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,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AmB,EAAEhB,WAAW,CAACS;IACjC;IAAA;IACAQ,gBAAgB,EAAEjB,WAAW,CAACY;EAAO,GACjCd,KAAK,CACV,CAAC;AAEN,CAAC,CAAC;AAEF,MAAMK,MAAM,GAAGlB,UAAU,CAACiC,MAAM,CAAC;EAC/BvB,QAAQ,EAAE;IACRwB,OAAO,EAAE;EACX;AACF,CAAC,CAAC;AAEFjC,MAAM,CAACkC,WAAW,GAAG,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,170 @@
|
|
|
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
|
+
import React, { useCallback, useMemo, useState } from 'react';
|
|
3
|
+
import { Image, StyleSheet, View } from 'react-native';
|
|
4
|
+
import { concatTestID } from '../../../utils/testID';
|
|
5
|
+
import { TouchableOpacity } from '../../accessibility/accessibilityHistoryWrappers';
|
|
6
|
+
import BlurView from '../../blur/blur-view';
|
|
7
|
+
import ImageOrComponent from '../../image/image-or-component';
|
|
8
|
+
import Typography from '../../text/typography';
|
|
9
|
+
import { useAppColorScheme } from '../../theme/color-scheme-context';
|
|
10
|
+
import CredentialHeader from './credential-header';
|
|
11
|
+
import CarouselComponent from './credential-image-carousel';
|
|
12
|
+
export const CredentialCardShadow = {
|
|
13
|
+
shadowColor: '#10274226',
|
|
14
|
+
shadowOffset: {
|
|
15
|
+
height: 5,
|
|
16
|
+
width: 0
|
|
17
|
+
},
|
|
18
|
+
shadowOpacity: 1,
|
|
19
|
+
shadowRadius: 7
|
|
20
|
+
};
|
|
21
|
+
export const CredentialCardRatio = 18 / 11;
|
|
22
|
+
const CredentialCard = ({
|
|
23
|
+
cardCarouselImages = [],
|
|
24
|
+
cardImage,
|
|
25
|
+
color = '#5A69F3',
|
|
26
|
+
credentialId,
|
|
27
|
+
header,
|
|
28
|
+
notice,
|
|
29
|
+
onCardPress,
|
|
30
|
+
onHeaderPress,
|
|
31
|
+
style,
|
|
32
|
+
testID
|
|
33
|
+
}) => {
|
|
34
|
+
var _header$color;
|
|
35
|
+
const colorScheme = useAppColorScheme();
|
|
36
|
+
const [tappableHeaderHeight, setTappableHeaderHeight] = useState();
|
|
37
|
+
const [cardSize, setCardSize] = useState();
|
|
38
|
+
const onCardLayoutChange = useCallback(event => {
|
|
39
|
+
const {
|
|
40
|
+
width,
|
|
41
|
+
height
|
|
42
|
+
} = event.nativeEvent.layout;
|
|
43
|
+
setCardSize({
|
|
44
|
+
width,
|
|
45
|
+
height
|
|
46
|
+
});
|
|
47
|
+
}, []);
|
|
48
|
+
const onHeaderLayoutChange = useCallback(event => {
|
|
49
|
+
setTappableHeaderHeight(event.nativeEvent.layout.height);
|
|
50
|
+
}, []);
|
|
51
|
+
const headerPressHandler = useCallback(() => {
|
|
52
|
+
onHeaderPress === null || onHeaderPress === void 0 || onHeaderPress(credentialId);
|
|
53
|
+
}, [credentialId, onHeaderPress]);
|
|
54
|
+
const cardPressHandler = useCallback(() => {
|
|
55
|
+
onCardPress === null || onCardPress === void 0 || onCardPress(credentialId);
|
|
56
|
+
}, [credentialId, onCardPress]);
|
|
57
|
+
const noticeIconView = useMemo(() => {
|
|
58
|
+
if (!(notice !== null && notice !== void 0 && notice.noticeIcon)) {
|
|
59
|
+
return undefined;
|
|
60
|
+
}
|
|
61
|
+
if (/*#__PURE__*/React.isValidElement(notice.noticeIcon)) {
|
|
62
|
+
return notice.noticeIcon;
|
|
63
|
+
} else {
|
|
64
|
+
const NoticeIconComponent = notice.noticeIcon;
|
|
65
|
+
return /*#__PURE__*/React.createElement(NoticeIconComponent, null);
|
|
66
|
+
}
|
|
67
|
+
}, [notice === null || notice === void 0 ? void 0 : notice.noticeIcon]);
|
|
68
|
+
const shouldShowCarousel = (cardSize === null || cardSize === void 0 ? void 0 : cardSize.width) && cardSize.height;
|
|
69
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
70
|
+
onLayout: onCardLayoutChange,
|
|
71
|
+
style: [styles.card, style],
|
|
72
|
+
testID: testID
|
|
73
|
+
}, cardImage ? 'imageSource' in cardImage ? /*#__PURE__*/React.createElement(View, {
|
|
74
|
+
style: styles.cardImage
|
|
75
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
76
|
+
testID: concatTestID(testID, 'imageSource'),
|
|
77
|
+
source: cardImage.imageSource,
|
|
78
|
+
style: styles.image
|
|
79
|
+
})) : /*#__PURE__*/React.createElement(ImageOrComponent, {
|
|
80
|
+
testID: concatTestID(testID, 'cardImage'),
|
|
81
|
+
source: cardImage,
|
|
82
|
+
style: styles.cardImage
|
|
83
|
+
}) : /*#__PURE__*/React.createElement(View, {
|
|
84
|
+
testID: concatTestID(testID, 'cardBackgroundColor', String(color)),
|
|
85
|
+
style: [styles.cardImage, {
|
|
86
|
+
backgroundColor: color
|
|
87
|
+
}]
|
|
88
|
+
}), onCardPress && /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
89
|
+
style: styles.cardButton,
|
|
90
|
+
onPress: cardPressHandler
|
|
91
|
+
}), shouldShowCarousel ? /*#__PURE__*/React.createElement(CarouselComponent, {
|
|
92
|
+
style: {
|
|
93
|
+
marginTop: tappableHeaderHeight !== null && tappableHeaderHeight !== void 0 ? tappableHeaderHeight : 0
|
|
94
|
+
},
|
|
95
|
+
imagesToRender: cardCarouselImages !== null && cardCarouselImages !== void 0 ? cardCarouselImages : [],
|
|
96
|
+
carouselSize: {
|
|
97
|
+
width: cardSize.width,
|
|
98
|
+
height: cardSize.height - (tappableHeaderHeight !== null && tappableHeaderHeight !== void 0 ? tappableHeaderHeight : 0)
|
|
99
|
+
},
|
|
100
|
+
testID: concatTestID(testID, 'carousel')
|
|
101
|
+
}) : null, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
102
|
+
onLayout: onHeaderLayoutChange,
|
|
103
|
+
activeOpacity: 0.9,
|
|
104
|
+
disabled: !onHeaderPress,
|
|
105
|
+
onPress: headerPressHandler,
|
|
106
|
+
style: styles.header
|
|
107
|
+
}, /*#__PURE__*/React.createElement(CredentialHeader, _extends({}, header, {
|
|
108
|
+
color: (_header$color = header.color) !== null && _header$color !== void 0 ? _header$color : color,
|
|
109
|
+
testID: concatTestID(testID, 'header')
|
|
110
|
+
}))), notice && /*#__PURE__*/React.createElement(BlurView, {
|
|
111
|
+
blurStyle: "soft",
|
|
112
|
+
style: [styles.notice],
|
|
113
|
+
testID: concatTestID(testID, 'notice')
|
|
114
|
+
}, noticeIconView && /*#__PURE__*/React.createElement(View, {
|
|
115
|
+
style: styles.noticeIcon
|
|
116
|
+
}, noticeIconView), /*#__PURE__*/React.createElement(View, {
|
|
117
|
+
style: styles.noticeTextWrapper
|
|
118
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
119
|
+
color: colorScheme.text,
|
|
120
|
+
preset: "xs/line-height-small",
|
|
121
|
+
style: styles.noticeText,
|
|
122
|
+
testID: concatTestID(testID, 'notice.text')
|
|
123
|
+
}, notice.text))));
|
|
124
|
+
};
|
|
125
|
+
const styles = StyleSheet.create({
|
|
126
|
+
card: {
|
|
127
|
+
borderRadius: 10,
|
|
128
|
+
overflow: 'hidden'
|
|
129
|
+
},
|
|
130
|
+
cardButton: {
|
|
131
|
+
height: '100%',
|
|
132
|
+
position: 'absolute',
|
|
133
|
+
width: '100%'
|
|
134
|
+
},
|
|
135
|
+
cardImage: {
|
|
136
|
+
aspectRatio: CredentialCardRatio,
|
|
137
|
+
width: '100%'
|
|
138
|
+
},
|
|
139
|
+
header: {
|
|
140
|
+
position: 'absolute',
|
|
141
|
+
top: 0,
|
|
142
|
+
width: '100%'
|
|
143
|
+
},
|
|
144
|
+
image: {
|
|
145
|
+
height: '100%',
|
|
146
|
+
width: '100%'
|
|
147
|
+
},
|
|
148
|
+
notice: {
|
|
149
|
+
bottom: 0,
|
|
150
|
+
columnGap: 6,
|
|
151
|
+
flexDirection: 'row',
|
|
152
|
+
justifyContent: 'flex-start',
|
|
153
|
+
paddingBottom: 6,
|
|
154
|
+
paddingHorizontal: 12,
|
|
155
|
+
paddingTop: 2,
|
|
156
|
+
position: 'absolute',
|
|
157
|
+
width: '100%'
|
|
158
|
+
},
|
|
159
|
+
noticeIcon: {
|
|
160
|
+
marginTop: 4
|
|
161
|
+
},
|
|
162
|
+
noticeText: {
|
|
163
|
+
marginVertical: 5
|
|
164
|
+
},
|
|
165
|
+
noticeTextWrapper: {
|
|
166
|
+
flex: 1
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
export default CredentialCard;
|
|
170
|
+
//# sourceMappingURL=credential-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useCallback","useMemo","useState","Image","StyleSheet","View","concatTestID","TouchableOpacity","BlurView","ImageOrComponent","Typography","useAppColorScheme","CredentialHeader","CarouselComponent","CredentialCardShadow","shadowColor","shadowOffset","height","width","shadowOpacity","shadowRadius","CredentialCardRatio","CredentialCard","cardCarouselImages","cardImage","color","credentialId","header","notice","onCardPress","onHeaderPress","style","testID","_header$color","colorScheme","tappableHeaderHeight","setTappableHeaderHeight","cardSize","setCardSize","onCardLayoutChange","event","nativeEvent","layout","onHeaderLayoutChange","headerPressHandler","cardPressHandler","noticeIconView","noticeIcon","undefined","isValidElement","NoticeIconComponent","createElement","shouldShowCarousel","onLayout","styles","card","source","imageSource","image","String","backgroundColor","cardButton","onPress","marginTop","imagesToRender","carouselSize","activeOpacity","disabled","_extends","blurStyle","noticeTextWrapper","text","preset","noticeText","create","borderRadius","overflow","position","aspectRatio","top","bottom","columnGap","flexDirection","justifyContent","paddingBottom","paddingHorizontal","paddingTop","marginVertical","flex"],"sources":["credential-card.tsx"],"sourcesContent":["import React, { FC, useCallback, useMemo, useState } from 'react';\nimport { ColorValue, Image, LayoutChangeEvent, StyleProp, StyleSheet, View, ViewStyle } from 'react-native';\n\nimport { concatTestID } from '../../../utils/testID';\nimport { TouchableOpacity } from '../../accessibility/accessibilityHistoryWrappers';\nimport BlurView from '../../blur/blur-view';\nimport ImageOrComponent, { ImageOrComponentSource } from '../../image/image-or-component';\nimport Typography from '../../text/typography';\nimport { useAppColorScheme } from '../../theme/color-scheme-context';\nimport CredentialHeader, { CredentialHeaderProps } from './credential-header';\nimport CarouselComponent, { CarouselImage } from './credential-image-carousel';\n\nexport const CredentialCardShadow: Pick<ViewStyle, 'shadowColor' | 'shadowOffset' | 'shadowOpacity' | 'shadowRadius'> =\n {\n shadowColor: '#10274226',\n shadowOffset: {\n height: 5,\n width: 0,\n },\n shadowOpacity: 1,\n shadowRadius: 7,\n };\n\nexport const CredentialCardRatio = 18 / 11;\n\nexport type CredentialCardNotice = {\n text: string;\n noticeIcon?: React.ComponentType<any> | React.ReactElement;\n};\n\nexport type CredentialCardProps = {\n cardCarouselImages?: CarouselImage[];\n cardImage?: ImageOrComponentSource;\n color?: ColorValue;\n credentialId?: string;\n header: CredentialHeaderProps;\n notice?: CredentialCardNotice;\n onCardPress?: (credentialId?: string) => void;\n onHeaderPress?: (credentialId?: string) => void;\n style?: StyleProp<ViewStyle>;\n testID?: string;\n};\n\nconst CredentialCard: FC<CredentialCardProps> = ({\n cardCarouselImages = [],\n cardImage,\n color = '#5A69F3',\n credentialId,\n header,\n notice,\n onCardPress,\n onHeaderPress,\n style,\n testID,\n}) => {\n const colorScheme = useAppColorScheme();\n const [tappableHeaderHeight, setTappableHeaderHeight] = useState<number>();\n const [cardSize, setCardSize] = useState<{ height: number; width: number }>();\n\n const onCardLayoutChange = useCallback((event: LayoutChangeEvent) => {\n const { width, height } = event.nativeEvent.layout;\n setCardSize({ width, height });\n }, []);\n\n const onHeaderLayoutChange = useCallback((event: LayoutChangeEvent) => {\n setTappableHeaderHeight(event.nativeEvent.layout.height);\n }, []);\n\n const headerPressHandler = useCallback(() => {\n onHeaderPress?.(credentialId);\n }, [credentialId, onHeaderPress]);\n\n const cardPressHandler = useCallback(() => {\n onCardPress?.(credentialId);\n }, [credentialId, onCardPress]);\n\n const noticeIconView: React.ReactElement | undefined = useMemo(() => {\n if (!notice?.noticeIcon) {\n return undefined;\n }\n if (React.isValidElement(notice.noticeIcon)) {\n return notice.noticeIcon;\n } else {\n const NoticeIconComponent = notice.noticeIcon as React.ComponentType<any>;\n return <NoticeIconComponent />;\n }\n }, [notice?.noticeIcon]);\n\n const shouldShowCarousel = cardSize?.width && cardSize.height;\n return (\n <View onLayout={onCardLayoutChange} style={[styles.card, style]} testID={testID}>\n {cardImage ? (\n 'imageSource' in cardImage ? (\n <View style={styles.cardImage}>\n <Image testID={concatTestID(testID, 'imageSource')} source={cardImage.imageSource} style={styles.image} />\n </View>\n ) : (\n <ImageOrComponent testID={concatTestID(testID, 'cardImage')} source={cardImage} style={styles.cardImage} />\n )\n ) : (\n <View\n testID={concatTestID(testID, 'cardBackgroundColor', String(color))}\n style={[styles.cardImage, { backgroundColor: color }]}\n />\n )}\n {onCardPress && <TouchableOpacity style={styles.cardButton} onPress={cardPressHandler} />}\n {shouldShowCarousel ? (\n <CarouselComponent\n style={{ marginTop: tappableHeaderHeight ?? 0 }}\n imagesToRender={cardCarouselImages ?? []}\n carouselSize={{\n width: cardSize.width,\n height: cardSize.height - (tappableHeaderHeight ?? 0),\n }}\n testID={concatTestID(testID, 'carousel')}\n />\n ) : null}\n <TouchableOpacity\n onLayout={onHeaderLayoutChange}\n activeOpacity={0.9}\n disabled={!onHeaderPress}\n onPress={headerPressHandler}\n style={styles.header}>\n <CredentialHeader {...header} color={header.color ?? color} testID={concatTestID(testID, 'header')} />\n </TouchableOpacity>\n {notice && (\n <BlurView blurStyle=\"soft\" style={[styles.notice]} testID={concatTestID(testID, 'notice')}>\n {noticeIconView && <View style={styles.noticeIcon}>{noticeIconView}</View>}\n <View style={styles.noticeTextWrapper}>\n <Typography\n color={colorScheme.text}\n preset=\"xs/line-height-small\"\n style={styles.noticeText}\n testID={concatTestID(testID, 'notice.text')}>\n {notice.text}\n </Typography>\n </View>\n </BlurView>\n )}\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n card: {\n borderRadius: 10,\n overflow: 'hidden',\n },\n cardButton: {\n height: '100%',\n position: 'absolute',\n width: '100%',\n },\n cardImage: {\n aspectRatio: CredentialCardRatio,\n width: '100%',\n },\n header: {\n position: 'absolute',\n top: 0,\n width: '100%',\n },\n image: {\n height: '100%',\n width: '100%',\n },\n notice: {\n bottom: 0,\n columnGap: 6,\n flexDirection: 'row',\n justifyContent: 'flex-start',\n paddingBottom: 6,\n paddingHorizontal: 12,\n paddingTop: 2,\n position: 'absolute',\n width: '100%',\n },\n noticeIcon: {\n marginTop: 4,\n },\n noticeText: {\n marginVertical: 5,\n },\n noticeTextWrapper: {\n flex: 1,\n },\n});\n\nexport default CredentialCard;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAQC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACjE,SAAqBC,KAAK,EAAgCC,UAAU,EAAEC,IAAI,QAAmB,cAAc;AAE3G,SAASC,YAAY,QAAQ,uBAAuB;AACpD,SAASC,gBAAgB,QAAQ,kDAAkD;AACnF,OAAOC,QAAQ,MAAM,sBAAsB;AAC3C,OAAOC,gBAAgB,MAAkC,gCAAgC;AACzF,OAAOC,UAAU,MAAM,uBAAuB;AAC9C,SAASC,iBAAiB,QAAQ,kCAAkC;AACpE,OAAOC,gBAAgB,MAAiC,qBAAqB;AAC7E,OAAOC,iBAAiB,MAAyB,6BAA6B;AAE9E,OAAO,MAAMC,oBAAwG,GACnH;EACEC,WAAW,EAAE,WAAW;EACxBC,YAAY,EAAE;IACZC,MAAM,EAAE,CAAC;IACTC,KAAK,EAAE;EACT,CAAC;EACDC,aAAa,EAAE,CAAC;EAChBC,YAAY,EAAE;AAChB,CAAC;AAEH,OAAO,MAAMC,mBAAmB,GAAG,EAAE,GAAG,EAAE;AAoB1C,MAAMC,cAAuC,GAAGA,CAAC;EAC/CC,kBAAkB,GAAG,EAAE;EACvBC,SAAS;EACTC,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