@hsuite/native-connect-ui 2.1.2 → 2.2.0
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/dist/LICENSE +146 -0
- package/dist/fesm2022/{hsuite-native-connect-ui-responsive-menu-popover.component-BD6MCUbp.mjs → hsuite-native-connect-ui-responsive-menu-popover.component-BTzQGOHM.mjs} +4 -4
- package/dist/fesm2022/{hsuite-native-connect-ui-responsive-menu-popover.component-BD6MCUbp.mjs.map → hsuite-native-connect-ui-responsive-menu-popover.component-BTzQGOHM.mjs.map} +1 -1
- package/dist/fesm2022/hsuite-native-connect-ui.mjs +899 -371
- package/dist/fesm2022/hsuite-native-connect-ui.mjs.map +1 -1
- package/dist/index.d.ts +152 -6
- package/package.json +27 -27
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { OnInit, OnDestroy, EventEmitter, InjectionToken, Signal, AfterViewInit,
|
|
|
3
3
|
import { ModalController, IonPopover } from '@ionic/angular/standalone';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
5
|
import * as _hsuite_native_connect_types from '@hsuite/native-connect-types';
|
|
6
|
-
import { MarbleAvatar, BatchNetImpact, ScheduleProgress, ScheduleCreateEnvelope, ParsedTransactionField, FeeItem, AddressBookContact, HederaTransactionData, XrplTransactionData, LedgerAccount, TransactionApprovalContext,
|
|
6
|
+
import { MarbleAvatar, BatchNetImpact, ScheduleProgress, ScheduleCreateEnvelope, AccountCreationSummary, ParsedTransactionField, FeeItem, AddressBookContact, HederaTransactionData, XrplTransactionData, LedgerAccount, TransactionApprovalContext, TransactionData, MemberIdentity, ContactAddress } from '@hsuite/native-connect-types';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* HSuite Native Connect
|
|
@@ -2939,6 +2939,95 @@ declare class HsAccountUpdateDiffCardComponent {
|
|
|
2939
2939
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HsAccountUpdateDiffCardComponent, "hs-account-update-diff-card", never, { "rows": { "alias": "rows"; "required": true; }; "hasKeyChange": { "alias": "hasKeyChange"; "required": false; }; "oldValuesMissing": { "alias": "oldValuesMissing"; "required": false; }; "cardTitle": { "alias": "cardTitle"; "required": false; }; "keyChangeBannerTitle": { "alias": "keyChangeBannerTitle"; "required": false; }; "keyChangeBannerBody": { "alias": "keyChangeBannerBody"; "required": false; }; "oldValuesUnverifiedMessage": { "alias": "oldValuesUnverifiedMessage"; "required": false; }; "beforeLabel": { "alias": "beforeLabel"; "required": false; }; "afterLabel": { "alias": "afterLabel"; "required": false; }; "criticalChipLabel": { "alias": "criticalChipLabel"; "required": false; }; "couldNotVerifyLabel": { "alias": "couldNotVerifyLabel"; "required": false; }; "notSetLabel": { "alias": "notSetLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
2940
2940
|
}
|
|
2941
2941
|
|
|
2942
|
+
/**
|
|
2943
|
+
* HSuite Native Connect
|
|
2944
|
+
* Copyright 2024-2025 HSuite (https://hsuite.finance)
|
|
2945
|
+
*
|
|
2946
|
+
* SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
|
|
2947
|
+
*
|
|
2948
|
+
* This file is part of HSuite Native Connect. For commercial licensing,
|
|
2949
|
+
* visit https://hsuite.finance/licensing
|
|
2950
|
+
*/
|
|
2951
|
+
|
|
2952
|
+
/**
|
|
2953
|
+
* @component HsAccountCreationCardComponent
|
|
2954
|
+
*
|
|
2955
|
+
* Dedicated summary card for `AccountCreate` approvals. Replaces the
|
|
2956
|
+
* generic non-transfer hero, which used to headline the raw account key
|
|
2957
|
+
* at giant size — a long DER hex for single-sig, or a serialized
|
|
2958
|
+
* key-list blob for multisig.
|
|
2959
|
+
*
|
|
2960
|
+
* Layout:
|
|
2961
|
+
* - Header: icon + "New Account" title (normal weight, not hero size).
|
|
2962
|
+
* - Funding: the initial balance, or a "no initial funding" line.
|
|
2963
|
+
* - Account key: the key. Single-sig renders one truncated + copyable
|
|
2964
|
+
* key row. Multisig renders an "M of N" badge, collapsed by default,
|
|
2965
|
+
* expanding to one truncated + copyable row per member key.
|
|
2966
|
+
* - Options: receiver-signature-required, max auto associations, memo —
|
|
2967
|
+
* only when present.
|
|
2968
|
+
*
|
|
2969
|
+
* Purely presentational. The host resolves the structured summary and
|
|
2970
|
+
* every i18n label (including the already-interpolated "M of N" string).
|
|
2971
|
+
*
|
|
2972
|
+
* @example
|
|
2973
|
+
* ```html
|
|
2974
|
+
* <hs-account-creation-card
|
|
2975
|
+
* *ngIf="isAccountCreate() && accountCreation()"
|
|
2976
|
+
* [summary]="accountCreation()!"
|
|
2977
|
+
* [titleLabel]="'transactionApproval.accountCreation.title' | transloco"
|
|
2978
|
+
* [multisigSummaryLabel]="
|
|
2979
|
+
* 'transactionApproval.accountCreation.mOfN'
|
|
2980
|
+
* | transloco: { threshold: accountCreation()!.key.threshold, total: accountCreation()!.key.keys.length }
|
|
2981
|
+
* "
|
|
2982
|
+
* ...
|
|
2983
|
+
* />
|
|
2984
|
+
* ```
|
|
2985
|
+
*/
|
|
2986
|
+
declare class HsAccountCreationCardComponent implements OnDestroy {
|
|
2987
|
+
/** Structured account-creation summary built by the parser. */
|
|
2988
|
+
summary: AccountCreationSummary;
|
|
2989
|
+
/** Card title (e.g., "New Account"). */
|
|
2990
|
+
titleLabel: string;
|
|
2991
|
+
/** Funding row label (e.g., "Funding"). */
|
|
2992
|
+
fundingLabel: string;
|
|
2993
|
+
/** Shown in the funding row when there is no initial balance. */
|
|
2994
|
+
noFundingLabel: string;
|
|
2995
|
+
/** Key-section label (e.g., "Account key"). */
|
|
2996
|
+
accountKeyLabel: string;
|
|
2997
|
+
/** Shown when the transaction specifies no account key. */
|
|
2998
|
+
noKeyLabel: string;
|
|
2999
|
+
/**
|
|
3000
|
+
* Already-interpolated multisig summary (e.g., "3 of 5 signers"). The
|
|
3001
|
+
* host resolves this via transloco with the threshold/total params so
|
|
3002
|
+
* translation and pluralization stay in the dictionaries.
|
|
3003
|
+
*/
|
|
3004
|
+
multisigSummaryLabel: string;
|
|
3005
|
+
/** Receiver-signature-required row label. */
|
|
3006
|
+
receiverSigLabel: string;
|
|
3007
|
+
/** Value shown for boolean "on" options (e.g., "Yes"). */
|
|
3008
|
+
yesLabel: string;
|
|
3009
|
+
/** Max-auto-associations row label. */
|
|
3010
|
+
maxAssocLabel: string;
|
|
3011
|
+
/** Memo row label. */
|
|
3012
|
+
memoLabel: string;
|
|
3013
|
+
/** Accessible label for the copy-key buttons. */
|
|
3014
|
+
copyLabel: string;
|
|
3015
|
+
/** Whether the multisig key list is expanded. */
|
|
3016
|
+
protected expanded: boolean;
|
|
3017
|
+
/** Index of the key most recently copied (drives the checkmark). */
|
|
3018
|
+
protected copiedIndex: number | null;
|
|
3019
|
+
private copyTimeout?;
|
|
3020
|
+
private readonly cdr;
|
|
3021
|
+
/** True when the account is gated by a multi-signature key. */
|
|
3022
|
+
protected get isMultisig(): boolean;
|
|
3023
|
+
protected toggle(): void;
|
|
3024
|
+
protected copyKey(key: string, index: number): Promise<void>;
|
|
3025
|
+
ngOnDestroy(): void;
|
|
3026
|
+
constructor();
|
|
3027
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HsAccountCreationCardComponent, never>;
|
|
3028
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HsAccountCreationCardComponent, "hs-account-creation-card", never, { "summary": { "alias": "summary"; "required": true; }; "titleLabel": { "alias": "titleLabel"; "required": false; }; "fundingLabel": { "alias": "fundingLabel"; "required": false; }; "noFundingLabel": { "alias": "noFundingLabel"; "required": false; }; "accountKeyLabel": { "alias": "accountKeyLabel"; "required": false; }; "noKeyLabel": { "alias": "noKeyLabel"; "required": false; }; "multisigSummaryLabel": { "alias": "multisigSummaryLabel"; "required": false; }; "receiverSigLabel": { "alias": "receiverSigLabel"; "required": false; }; "yesLabel": { "alias": "yesLabel"; "required": false; }; "maxAssocLabel": { "alias": "maxAssocLabel"; "required": false; }; "memoLabel": { "alias": "memoLabel"; "required": false; }; "copyLabel": { "alias": "copyLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
3029
|
+
}
|
|
3030
|
+
|
|
2942
3031
|
/**
|
|
2943
3032
|
* @component HsMessageContentSectionComponent
|
|
2944
3033
|
*
|
|
@@ -3510,7 +3599,11 @@ interface HeroTokenLine {
|
|
|
3510
3599
|
interface HeroTransfer {
|
|
3511
3600
|
/** Headline display amount (e.g., "1.5 ℏ", "1.0 USDC", "Bored Ape #4521"). */
|
|
3512
3601
|
amount: string;
|
|
3513
|
-
/**
|
|
3602
|
+
/**
|
|
3603
|
+
* Transaction source account. Usually the signer, but on sign-only
|
|
3604
|
+
* requests the payload's own source (tx.Account / debit entry) can
|
|
3605
|
+
* differ from the wallet's signing account — this carries the truth.
|
|
3606
|
+
*/
|
|
3514
3607
|
from: string;
|
|
3515
3608
|
/** Resolved primary recipient account ID. */
|
|
3516
3609
|
to: string;
|
|
@@ -3564,7 +3657,11 @@ declare class HsTransferHeroCardComponent {
|
|
|
3564
3657
|
* derive a primary amount).
|
|
3565
3658
|
*/
|
|
3566
3659
|
transfer: HeroTransfer | null;
|
|
3567
|
-
/**
|
|
3660
|
+
/**
|
|
3661
|
+
* Address rendered in the "From" row — the transaction's resolved
|
|
3662
|
+
* source account (host falls back to the signer when the parser
|
|
3663
|
+
* emitted no source).
|
|
3664
|
+
*/
|
|
3568
3665
|
signerAddress: string;
|
|
3569
3666
|
/**
|
|
3570
3667
|
* Resolved primary recipient. When null / empty the To row + the
|
|
@@ -6460,7 +6557,11 @@ declare class HsSessionApprovalCompactCardComponent {
|
|
|
6460
6557
|
appIcon?: string;
|
|
6461
6558
|
protocol: 'native' | 'walletconnect';
|
|
6462
6559
|
loading: boolean;
|
|
6560
|
+
/** Shows a discard button so the user can drop a dead request and retry. */
|
|
6561
|
+
discardable: boolean;
|
|
6463
6562
|
clicked: EventEmitter<string>;
|
|
6563
|
+
/** Emits the sessionId when the user taps the discard button. */
|
|
6564
|
+
discarded: EventEmitter<string>;
|
|
6464
6565
|
constructor();
|
|
6465
6566
|
get protocolLabel(): string;
|
|
6466
6567
|
get protocolIcon(): string;
|
|
@@ -6468,8 +6569,9 @@ declare class HsSessionApprovalCompactCardComponent {
|
|
|
6468
6569
|
/** Deterministic colour for the avatar fallback based on the app name. */
|
|
6469
6570
|
get avatarColor(): string;
|
|
6470
6571
|
protected onClick(): void;
|
|
6572
|
+
protected onDiscard(): void;
|
|
6471
6573
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HsSessionApprovalCompactCardComponent, never>;
|
|
6472
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HsSessionApprovalCompactCardComponent, "hs-session-approval-compact-card", never, { "sessionId": { "alias": "sessionId"; "required": true; }; "appName": { "alias": "appName"; "required": false; }; "appIcon": { "alias": "appIcon"; "required": false; }; "protocol": { "alias": "protocol"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
6574
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HsSessionApprovalCompactCardComponent, "hs-session-approval-compact-card", never, { "sessionId": { "alias": "sessionId"; "required": true; }; "appName": { "alias": "appName"; "required": false; }; "appIcon": { "alias": "appIcon"; "required": false; }; "protocol": { "alias": "protocol"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "discardable": { "alias": "discardable"; "required": false; }; }, { "clicked": "clicked"; "discarded": "discarded"; }, never, never, true, never>;
|
|
6473
6575
|
}
|
|
6474
6576
|
|
|
6475
6577
|
/**
|
|
@@ -8493,6 +8595,21 @@ declare class HsTransactionDetailModalComponent implements AfterViewInit, OnDest
|
|
|
8493
8595
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HsTransactionDetailModalComponent, "hs-transaction-detail-modal", never, { "transactionId": { "alias": "transactionId"; "required": false; }; "transactionName": { "alias": "transactionName"; "required": false; }; "transactionType": { "alias": "transactionType"; "required": false; }; "transactionIcon": { "alias": "transactionIcon"; "required": false; }; "ledgerId": { "alias": "ledgerId"; "required": false; }; "status": { "alias": "status"; "required": false; }; "timestamp": { "alias": "timestamp"; "required": false; }; "mainAmount": { "alias": "mainAmount"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "nativeTransfers": { "alias": "nativeTransfers"; "required": false; }; "tokenTransfers": { "alias": "tokenTransfers"; "required": false; }; "nftTransfers": { "alias": "nftTransfers"; "required": false; }; "transactionFee": { "alias": "transactionFee"; "required": false; }; "memo": { "alias": "memo"; "required": false; }; "sourceAccount": { "alias": "sourceAccount"; "required": false; }; "destinationAccount": { "alias": "destinationAccount"; "required": false; }; "xrplMemos": { "alias": "xrplMemos"; "required": false; }; "userAccounts": { "alias": "userAccounts"; "required": false; }; "tokenMetadataMap": { "alias": "tokenMetadataMap"; "required": false; }; "contactResolver": { "alias": "contactResolver"; "required": false; }; "onExplorer": { "alias": "onExplorer"; "required": false; }; "maxDisplayedTransfers": { "alias": "maxDisplayedTransfers"; "required": false; }; "riskLevel": { "alias": "riskLevel"; "required": false; }; "riskFactors": { "alias": "riskFactors"; "required": false; }; "riskRecommendation": { "alias": "riskRecommendation"; "required": false; }; "riskTitle": { "alias": "riskTitle"; "required": false; }; }, { "closeRequested": "closeRequested"; }, never, never, true, never>;
|
|
8494
8596
|
}
|
|
8495
8597
|
|
|
8598
|
+
/**
|
|
8599
|
+
* Whether a parsed-field value is glanceable enough to headline at hero
|
|
8600
|
+
* size. Rejects opaque blobs that read as noise when rendered large:
|
|
8601
|
+
*
|
|
8602
|
+
* - DER-encoded public keys (`302a3005…`, 66-88 hex chars) and other
|
|
8603
|
+
* long unbroken hex / base64 strings (a raw key, hash, or signature).
|
|
8604
|
+
* - Serialized structures (a JSON object / array — e.g. a multisig
|
|
8605
|
+
* key-list `{"threshold":3,"keys":"…"}`).
|
|
8606
|
+
*
|
|
8607
|
+
* Kept pure and exported so the hero picker (`heroFields`) has a single,
|
|
8608
|
+
* unit-testable gate. Amounts, account/token IDs, symbols, and short
|
|
8609
|
+
* labels all pass — including bare numbers like "300" that a naive
|
|
8610
|
+
* prefix check would wrongly reject.
|
|
8611
|
+
*/
|
|
8612
|
+
declare function isHeadlineWorthy(value: string | null | undefined): boolean;
|
|
8496
8613
|
/**
|
|
8497
8614
|
* @component HsTransactionApprovalContentComponent
|
|
8498
8615
|
*
|
|
@@ -8646,12 +8763,23 @@ declare class HsTransactionApprovalContentComponent implements AfterViewInit, On
|
|
|
8646
8763
|
* update. Drives the diff section + key-change ack rendering.
|
|
8647
8764
|
*/
|
|
8648
8765
|
protected readonly isAccountUpdate: _angular_core.Signal<boolean>;
|
|
8766
|
+
/**
|
|
8767
|
+
* Convenience: true when the current transaction is a Hedera account
|
|
8768
|
+
* creation. Drives the dedicated summary card + hero suppression.
|
|
8769
|
+
*/
|
|
8770
|
+
protected readonly isAccountCreate: _angular_core.Signal<boolean>;
|
|
8649
8771
|
/**
|
|
8650
8772
|
* Access the parser-built diff (with old values filled in by the
|
|
8651
8773
|
* wallet enricher). Returns `null` when the tx isn't an AccountUpdate
|
|
8652
8774
|
* or the parser left the diff out.
|
|
8653
8775
|
*/
|
|
8654
8776
|
protected readonly accountUpdateDiff: _angular_core.Signal<_hsuite_native_connect_types.AccountUpdateDiff>;
|
|
8777
|
+
/**
|
|
8778
|
+
* Structured account-creation summary the parser builds for the
|
|
8779
|
+
* dedicated card. Returns `null` when the tx isn't an AccountCreate or
|
|
8780
|
+
* the parser left the summary out.
|
|
8781
|
+
*/
|
|
8782
|
+
protected readonly accountCreation: _angular_core.Signal<_hsuite_native_connect_types.AccountCreationSummary>;
|
|
8655
8783
|
/**
|
|
8656
8784
|
* Whether the AccountUpdate diff includes a `key` change row. Drives
|
|
8657
8785
|
* the mandatory key-change ack and the critical-severity banner.
|
|
@@ -8704,7 +8832,7 @@ declare class HsTransactionApprovalContentComponent implements AfterViewInit, On
|
|
|
8704
8832
|
* + txShape). Returns `null` when the request isn't a SignMessage or
|
|
8705
8833
|
* the caller didn't populate the payload.
|
|
8706
8834
|
*/
|
|
8707
|
-
protected readonly signMessagePayload: _angular_core.Signal<SignMessageApprovalPayload>;
|
|
8835
|
+
protected readonly signMessagePayload: _angular_core.Signal<_hsuite_native_connect_types.SignMessageApprovalPayload>;
|
|
8708
8836
|
/** Raw bytes for the SignMessage variant of {@link HsMessageContentComponent}. */
|
|
8709
8837
|
protected readonly signMessageBytes: _angular_core.Signal<Uint8Array<ArrayBufferLike>>;
|
|
8710
8838
|
/** Byte length surfaced in the message-content card chip. */
|
|
@@ -8922,6 +9050,12 @@ declare class HsTransactionApprovalContentComponent implements AfterViewInit, On
|
|
|
8922
9050
|
* transfers (caller swaps in a count-based summary).
|
|
8923
9051
|
*/
|
|
8924
9052
|
protected readonly heroTransfer: _angular_core.Signal<HeroTransfer>;
|
|
9053
|
+
/**
|
|
9054
|
+
* Address for the hero card's FROM row — the transaction's resolved
|
|
9055
|
+
* source account, falling back to the wallet's signing account when
|
|
9056
|
+
* the parser emitted no source (or no hero renders at all).
|
|
9057
|
+
*/
|
|
9058
|
+
protected heroFromAddress(): string;
|
|
8925
9059
|
/**
|
|
8926
9060
|
* Read the dApp name from the current context. Implemented as a
|
|
8927
9061
|
* method (not a computed signal) because `this.context` is a plain
|
|
@@ -8972,6 +9106,18 @@ declare class HsTransactionApprovalContentComponent implements AfterViewInit, On
|
|
|
8972
9106
|
* "Additional Details" section at all — no duplication.
|
|
8973
9107
|
*/
|
|
8974
9108
|
protected secondaryFields(): ParsedTransactionField[];
|
|
9109
|
+
/**
|
|
9110
|
+
* Field labels the TRANSFER hero card already surfaces (from → to
|
|
9111
|
+
* flow + headline amount, plus per-asset token lines), so
|
|
9112
|
+
* {@link secondaryFields} can drop them from Additional Details —
|
|
9113
|
+
* they were exact duplicates of the hero, not additional info.
|
|
9114
|
+
*
|
|
9115
|
+
* Empty when no simple transfer hero renders (non-transfer kinds,
|
|
9116
|
+
* atomic / multi-party transfers, batches) — every field then stays
|
|
9117
|
+
* in the details list, which remains the only accurate rendering
|
|
9118
|
+
* for those shapes.
|
|
9119
|
+
*/
|
|
9120
|
+
private transferHeroCoveredLabels;
|
|
8975
9121
|
/**
|
|
8976
9122
|
* Check if this is a transfer/payment type transaction (always shows hero).
|
|
8977
9123
|
*/
|
|
@@ -10551,5 +10697,5 @@ declare class HsKeyHexPipe implements PipeTransform {
|
|
|
10551
10697
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<HsKeyHexPipe, "hsKeyHex", true>;
|
|
10552
10698
|
}
|
|
10553
10699
|
|
|
10554
|
-
export { AVATAR_PALETTE, BaseModalComponent, HederaTransactionDetailsComponent, HsAccountCardComponent, HsAccountDetailsCardComponent, HsAccountMenuComponent, HsAccountPickerComponent, HsAccountPickerModalComponent, HsAccountUpdateDiffCardComponent, HsAddressDisplayComponent, HsAlertComponent, HsAlertService, HsAlphaOverlayComponent, HsAppHeaderComponent, HsAppShellComponent, HsApprovalFooterComponent, HsAssetCardAnimatedComponent, HsAssetSelectorComponent, HsAuthButtonComponent, HsAvatarComponent, HsBadgeComponent, HsBalanceAccordionComponent, HsBalanceDisplayComponent, HsBatchContentsCardComponent, HsBottomTabsComponent, HsBrandedLogoComponent, HsButtonComponent, HsChipComponent, HsConfirmAckComponent, HsConfirmModalComponent, HsConfirmModalContentComponent, HsContactModalComponent, HsContactPickerModalComponent, HsCurrencyAmountComponent, HsDiffRowComponent, HsDividerComponent, HsDrawerComponent, HsDrawerService, HsEditAccountLabelModalComponent, HsEmptyStateComponent, HsFavoriteTokensComponent, HsFeesCardComponent, HsFilterBarComponent, HsFilterChipComponent, HsFilterChipGroupComponent, HsFilterDropdownComponent, HsHbarAmountPipe, HsHeaderActionsComponent, HsHelpPopoverComponent, HsIconComponent, HsInputActionsGroupComponent, HsInputComponent, HsIrreversibilityBannersComponent, HsKeyHexPipe, HsLanguagePickerComponent, HsLoadingSkeletonComponent, HsLockButtonComponent, HsMessageContentComponent, HsMessageContentSectionComponent, HsModalFooterComponent, HsModalHeaderComponent, HsMultisigBatchContentsCardComponent, HsMultisigCollectingModalComponent, HsMultisigProgressCardComponent, HsMultisigSigningFlowComponent, HsNetImpactSummaryComponent, HsNetworkSelectorComponent, HsNftMediaComponent, HsNftPreviewComponent, HsOfferDetailsComponent, HsParameterListComponent, HsQrPairingDisplayComponent, HsQrScannerModalComponent, HsQuickActionsComponent, HsRelativeTimePipe, HsResponsiveSelectComponent, HsRiskCardComponent, HsScheduleCreateEnvelopeCardComponent, HsScheduleProgressCardComponent, HsScheduledInnerCardComponent, HsSearchbarComponent, HsSectionHeaderComponent, HsSelectComponent, HsSendConfirmComponent, HsSessionActiveCardComponent, HsSessionApprovalCardComponent, HsSessionApprovalCompactCardComponent, HsSideMenuComponent, HsSpinnerComponent, HsStepInfoComponent, HsStepperComponent, HsSwipeToConfirmComponent, HsThemeToggleComponent, HsThemeTransitionOverlayComponent, HsToggleComponent, HsTokenAmountPipe, HsTokenAssociationItemComponent, HsTokenAssociationSheetComponent, HsTokenCardComponent, HsTokenCardGroupedComponent, HsTokenInfoComponent, HsTransactionApprovalContentComponent, HsTransactionApprovalModalComponent, HsTransactionDetailComponent, HsTransactionDetailModalComponent, HsTransactionRowComponent, HsTransferHeroCardComponent, HsTransferItemComponent, HsTrustlineInfoComponent, HsTxMetaRowComponent, HsWalkthroughComponent, HsWalletItemComponent, HsWarningBannerComponent, HsWizardActionsComponent, HsWizardCardComponent, HsWizardChoiceCardComponent, HsWizardInputGroupComponent, HsWizardStepDirective, HsXrplTransactionDetailsComponent, MAX_PREVIEW_BYTES, QR_PROTOCOL_PREFIXES, ResponsiveMenuService, configureUILogger, copyToClipboard, detectQrProtocol, enableUILogger, formatHexDump, formatLedgerAmount, getUILogger, hasClipboardAPI, hasModalData, isModalCancelled, isModalConfirmed, isWalletConnectionQr, muteUILogger, readFromClipboard, validateQrProtocol };
|
|
10700
|
+
export { AVATAR_PALETTE, BaseModalComponent, HederaTransactionDetailsComponent, HsAccountCardComponent, HsAccountCreationCardComponent, HsAccountDetailsCardComponent, HsAccountMenuComponent, HsAccountPickerComponent, HsAccountPickerModalComponent, HsAccountUpdateDiffCardComponent, HsAddressDisplayComponent, HsAlertComponent, HsAlertService, HsAlphaOverlayComponent, HsAppHeaderComponent, HsAppShellComponent, HsApprovalFooterComponent, HsAssetCardAnimatedComponent, HsAssetSelectorComponent, HsAuthButtonComponent, HsAvatarComponent, HsBadgeComponent, HsBalanceAccordionComponent, HsBalanceDisplayComponent, HsBatchContentsCardComponent, HsBottomTabsComponent, HsBrandedLogoComponent, HsButtonComponent, HsChipComponent, HsConfirmAckComponent, HsConfirmModalComponent, HsConfirmModalContentComponent, HsContactModalComponent, HsContactPickerModalComponent, HsCurrencyAmountComponent, HsDiffRowComponent, HsDividerComponent, HsDrawerComponent, HsDrawerService, HsEditAccountLabelModalComponent, HsEmptyStateComponent, HsFavoriteTokensComponent, HsFeesCardComponent, HsFilterBarComponent, HsFilterChipComponent, HsFilterChipGroupComponent, HsFilterDropdownComponent, HsHbarAmountPipe, HsHeaderActionsComponent, HsHelpPopoverComponent, HsIconComponent, HsInputActionsGroupComponent, HsInputComponent, HsIrreversibilityBannersComponent, HsKeyHexPipe, HsLanguagePickerComponent, HsLoadingSkeletonComponent, HsLockButtonComponent, HsMessageContentComponent, HsMessageContentSectionComponent, HsModalFooterComponent, HsModalHeaderComponent, HsMultisigBatchContentsCardComponent, HsMultisigCollectingModalComponent, HsMultisigProgressCardComponent, HsMultisigSigningFlowComponent, HsNetImpactSummaryComponent, HsNetworkSelectorComponent, HsNftMediaComponent, HsNftPreviewComponent, HsOfferDetailsComponent, HsParameterListComponent, HsQrPairingDisplayComponent, HsQrScannerModalComponent, HsQuickActionsComponent, HsRelativeTimePipe, HsResponsiveSelectComponent, HsRiskCardComponent, HsScheduleCreateEnvelopeCardComponent, HsScheduleProgressCardComponent, HsScheduledInnerCardComponent, HsSearchbarComponent, HsSectionHeaderComponent, HsSelectComponent, HsSendConfirmComponent, HsSessionActiveCardComponent, HsSessionApprovalCardComponent, HsSessionApprovalCompactCardComponent, HsSideMenuComponent, HsSpinnerComponent, HsStepInfoComponent, HsStepperComponent, HsSwipeToConfirmComponent, HsThemeToggleComponent, HsThemeTransitionOverlayComponent, HsToggleComponent, HsTokenAmountPipe, HsTokenAssociationItemComponent, HsTokenAssociationSheetComponent, HsTokenCardComponent, HsTokenCardGroupedComponent, HsTokenInfoComponent, HsTransactionApprovalContentComponent, HsTransactionApprovalModalComponent, HsTransactionDetailComponent, HsTransactionDetailModalComponent, HsTransactionRowComponent, HsTransferHeroCardComponent, HsTransferItemComponent, HsTrustlineInfoComponent, HsTxMetaRowComponent, HsWalkthroughComponent, HsWalletItemComponent, HsWarningBannerComponent, HsWizardActionsComponent, HsWizardCardComponent, HsWizardChoiceCardComponent, HsWizardInputGroupComponent, HsWizardStepDirective, HsXrplTransactionDetailsComponent, MAX_PREVIEW_BYTES, QR_PROTOCOL_PREFIXES, ResponsiveMenuService, configureUILogger, copyToClipboard, detectQrProtocol, enableUILogger, formatHexDump, formatLedgerAmount, getUILogger, hasClipboardAPI, hasModalData, isHeadlineWorthy, isModalCancelled, isModalConfirmed, isWalletConnectionQr, muteUILogger, readFromClipboard, validateQrProtocol };
|
|
10555
10701
|
export type { AccountMenuAction, AccountMenuItem, AccountPickerConfig, AccountPickerResult, AccountTokenBalance, AlertButton, AlertConfig, AlertInput, AlertResult, AmountVariant, ApprovalFooterAck, AssetCardState, AssetCardType, AssetCategory, AssetSelectorItem, AssetType, AssociatedTokenData, BaseModalConfig, BaseModalResult, ConfirmModalConfig, ContactPickerResult, DiffRow, DissociationRequest, DrawerCloseEvent, DrawerConfig, DrawerInstance, DrawerOpenOptions, DrawerPosition, DrawerSize, FavoriteToken, FilterOption, FormatLedgerAmountOptions, GroupedTokenData, HeroTokenLine, HeroTransfer, HsAccountSummary, HsFilterChipOption, HsFilterChipVariant, HsWalkthroughSlide, LedgerId, MenuItem, MessageEncoding, ModalAccount, MultisigCollectingContext, MultisigInnerTx, MultisigInnerTxResolvers, MultisigSigningPolicy, MultisigSigningProgress, NetworkOption, NftMediaType, PinInputConfig, QrProtocolType, QrScanResult, RelativeTimeOptions, RelativeTimeUnitLabels, ResponsiveMenuItem, ResponsiveMenuOptions, ResponsiveMenuResult, ResponsiveSelectOption, RiskFactorInput, RiskLevel, SelectOption, SessionAccount, SessionApprovalData, SessionInfo, SessionTerminateData, SignAction, SkeletonVariant, Step, TokenAssociationSelection, TokenMenuAction, TokenMenuItem, TokenSearchItem, TransactionDetailData, TransactionRiskLevel, TransactionStatus, TransactionType, TxProtocol, UILogger, WalletAddressCopyEvent, WalletSummary, WarningBannerSeverity, WizardCancelEvent, WizardCompleteEvent, WizardNavigationEvent, WizardStep };
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hsuite/native-connect-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/fesm2022/hsuite-native-connect-ui.mjs",
|
|
7
|
+
"module": "./dist/fesm2022/hsuite-native-connect-ui.mjs",
|
|
8
|
+
"fesm2022": "./dist/fesm2022/hsuite-native-connect-ui.mjs",
|
|
7
9
|
"types": "./dist/index.d.ts",
|
|
10
|
+
"typings": "./dist/index.d.ts",
|
|
8
11
|
"exports": {
|
|
9
12
|
"./package.json": {
|
|
10
13
|
"default": "./package.json"
|
|
@@ -19,13 +22,32 @@
|
|
|
19
22
|
}
|
|
20
23
|
},
|
|
21
24
|
"sideEffects": false,
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "./../angular-sdk/node_modules/.bin/ng-packagr -p ng-package.json",
|
|
27
|
+
"test": "vitest run",
|
|
28
|
+
"test:watch": "vitest --watch",
|
|
29
|
+
"test:coverage": "vitest run --no-coverage",
|
|
30
|
+
"test:coverage:full": "vitest run --coverage",
|
|
31
|
+
"docs": "compodoc -p tsconfig.json -c ../../compodoc.tier3.json -d dist/docs --name 'HSuite UI'",
|
|
32
|
+
"storybook": "ng run ui:storybook",
|
|
33
|
+
"build-storybook": "ng run ui:build-storybook"
|
|
34
|
+
},
|
|
22
35
|
"dependencies": {
|
|
36
|
+
"@hsuite/native-connect-types": "^2.2.0",
|
|
23
37
|
"@ngneat/transloco": "^6.0.0",
|
|
24
38
|
"animejs": "^3.2.2",
|
|
25
39
|
"qr-scanner": "^1.4.2",
|
|
26
40
|
"qrcode": "^1.5.4",
|
|
27
|
-
"tslib": "^2.6.2"
|
|
28
|
-
|
|
41
|
+
"tslib": "^2.6.2"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@angular/common": "^20.3.16",
|
|
45
|
+
"@angular/core": "^20.3.16",
|
|
46
|
+
"@angular/forms": "^20.3.16",
|
|
47
|
+
"@angular/router": "^20.3.16",
|
|
48
|
+
"@ionic/angular": "^8.0.0",
|
|
49
|
+
"ionicons": "^7.0.0",
|
|
50
|
+
"rxjs": "~7.8.0"
|
|
29
51
|
},
|
|
30
52
|
"devDependencies": {
|
|
31
53
|
"@analogjs/vite-plugin-angular": "^1.22.0",
|
|
@@ -66,29 +88,7 @@
|
|
|
66
88
|
"directory": "packages/ui"
|
|
67
89
|
},
|
|
68
90
|
"homepage": "https://github.com/HSuiteNetwork/hsuite-native-connect/tree/master/packages/ui",
|
|
69
|
-
"peerDependencies": {
|
|
70
|
-
"@angular/common": "^20.3.16",
|
|
71
|
-
"@angular/core": "^20.3.16",
|
|
72
|
-
"@angular/forms": "^20.3.16",
|
|
73
|
-
"@angular/router": "^20.3.16",
|
|
74
|
-
"@ionic/angular": "^8.0.0",
|
|
75
|
-
"ionicons": "^7.0.0",
|
|
76
|
-
"rxjs": "~7.8.0"
|
|
77
|
-
},
|
|
78
|
-
"module": "./dist/fesm2022/hsuite-native-connect-ui.mjs",
|
|
79
|
-
"fesm2022": "./dist/fesm2022/hsuite-native-connect-ui.mjs",
|
|
80
|
-
"typings": "./dist/index.d.ts",
|
|
81
91
|
"files": [
|
|
82
92
|
"dist"
|
|
83
|
-
]
|
|
84
|
-
|
|
85
|
-
"build": "./../angular-sdk/node_modules/.bin/ng-packagr -p ng-package.json",
|
|
86
|
-
"test": "vitest run",
|
|
87
|
-
"test:watch": "vitest --watch",
|
|
88
|
-
"test:coverage": "vitest run --no-coverage",
|
|
89
|
-
"test:coverage:full": "vitest run --coverage",
|
|
90
|
-
"docs": "compodoc -p tsconfig.json -c ../../compodoc.tier3.json -d dist/docs --name 'HSuite UI'",
|
|
91
|
-
"storybook": "ng run ui:storybook",
|
|
92
|
-
"build-storybook": "ng run ui:build-storybook"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
93
|
+
]
|
|
94
|
+
}
|