@cobre-npm/ds-v3 0.167.0 → 0.169.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/cobre-ds-v3-lib.es.js +5252 -5387
- package/dist/style.css +1 -1
- package/dist/types/components/atoms/CobreBankLogo/CobreBankLogo.vue.d.ts +1 -1
- package/dist/types/components/organisms/CobreAccountPicker/CobreAccountPicker.vue.d.ts +5 -0
- package/dist/types/utils/index.d.ts +0 -6
- package/package.json +1 -1
- package/dist/types/utils/banksList.d.ts +0 -143
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CobreBankLogo — renders a bank or blockchain logo image from the static assets
|
|
3
|
-
* CDN,
|
|
3
|
+
* CDN, with the bank name provided by the host app as a tooltip. Use to display an institution logo
|
|
4
4
|
* inside lists, tables and detail views. Falls back to an UNKNOWN logo when the
|
|
5
5
|
* image fails to load.
|
|
6
6
|
*/
|
|
@@ -9,6 +9,9 @@ import { type CobreSelectableItem } from '../../molecules/CobreAccountOptionSele
|
|
|
9
9
|
* `squareBottomCorners` for the badge to match.
|
|
10
10
|
* Set `isLoading` while resolving the selection asynchronously (e.g. an auto-select
|
|
11
11
|
* fetch) — the trigger disables and swaps its chevron for a spinner.
|
|
12
|
+
* Set `isDisabled` to lock the trigger: no `click` is emitted, the chevron is hidden,
|
|
13
|
+
* `aria-disabled="true"` is set and the selected account stays visible in the DS disabled
|
|
14
|
+
* colours. If `isLoading` is also true, the loading look wins.
|
|
12
15
|
* Pass `idPrefix` to expose E2E ids: `${idPrefix}-picker` on the trigger button and
|
|
13
16
|
* `${idPrefix}-badge` on the badge wrapper.
|
|
14
17
|
*/
|
|
@@ -19,6 +22,7 @@ interface Props {
|
|
|
19
22
|
selectedAccount?: CobreSelectableItem | null;
|
|
20
23
|
chevronIcon?: string;
|
|
21
24
|
isLoading?: boolean;
|
|
25
|
+
isDisabled?: boolean;
|
|
22
26
|
idPrefix?: string;
|
|
23
27
|
}
|
|
24
28
|
declare var __VLS_1: {
|
|
@@ -33,6 +37,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
33
37
|
onClick?: (() => any) | undefined;
|
|
34
38
|
}>, {
|
|
35
39
|
isLoading: boolean;
|
|
40
|
+
isDisabled: boolean;
|
|
36
41
|
idPrefix: string;
|
|
37
42
|
placeholderIcon: string;
|
|
38
43
|
selectedAccount: CobreSelectableItem | null;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Map of bank identifier codes to human-readable bank names (re-exported from banksList).
|
|
3
|
-
* @deprecated Resolve names with `@cobre-npm/library-portal-core/financialInstitutions` in the host app
|
|
4
|
-
* and pass them through the `bankName` prop of `CobreBankLogo`.
|
|
5
|
-
*/
|
|
6
|
-
export { banks } from './banksList';
|
|
7
1
|
/** Base URL of the S3 bucket hosting Cobre portal static assets (images, icons, etc.). */
|
|
8
2
|
export declare const STATIC_ASSETS_BASE_URL = "https://cobre-portal-static-assets-prod.s3.us-east-1.amazonaws.com";
|
|
9
3
|
/**
|
package/package.json
CHANGED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Lookup map of Colombian bank/PSE participant codes (e.g. `PR_COL_1001`) to display names.
|
|
3
|
-
* @deprecated Financial institution names come from `@cobre-npm/library-portal-core/financialInstitutions`,
|
|
4
|
-
* resolved by the host app. Pass the resolved name through the `bankName` prop of `CobreBankLogo`
|
|
5
|
-
* instead of relying on this list. Kept only as a fallback for consumers that have not migrated.
|
|
6
|
-
*/
|
|
7
|
-
export declare const banks: {
|
|
8
|
-
PR_COL_COBRE: string;
|
|
9
|
-
PR_COL_1558: string;
|
|
10
|
-
PR_COL_1040: string;
|
|
11
|
-
PR_COL_1052: string;
|
|
12
|
-
PR_COL_1805: string;
|
|
13
|
-
PR_COL_1032: string;
|
|
14
|
-
PR_COL_1819: string;
|
|
15
|
-
PR_COL_1066: string;
|
|
16
|
-
PR_COL_1051: string;
|
|
17
|
-
PR_COL_1001: string;
|
|
18
|
-
PR_COL_1059: string;
|
|
19
|
-
PR_COL_1023: string;
|
|
20
|
-
PR_COL_1062: string;
|
|
21
|
-
PR_COL_1063: string;
|
|
22
|
-
PR_COL_1012: string;
|
|
23
|
-
PR_COL_1071: string;
|
|
24
|
-
PR_COL_1047: string;
|
|
25
|
-
PR_COL_1060: string;
|
|
26
|
-
PR_COL_1002: string;
|
|
27
|
-
PR_COL_1065: string;
|
|
28
|
-
PR_COL_1069: string;
|
|
29
|
-
PR_COL_1303: string;
|
|
30
|
-
PR_COL_1053: string;
|
|
31
|
-
PR_COL_1031: string;
|
|
32
|
-
PR_COL_1007: string;
|
|
33
|
-
PR_COL_1061: string;
|
|
34
|
-
PR_COL_1013: string;
|
|
35
|
-
PR_COL_1042: string;
|
|
36
|
-
PR_COL_1808: string;
|
|
37
|
-
PR_COL_1009: string;
|
|
38
|
-
PR_COL_1812: string;
|
|
39
|
-
PR_COL_1370: string;
|
|
40
|
-
PR_COL_1292: string;
|
|
41
|
-
PR_COL_1291: string;
|
|
42
|
-
PR_COL_1283: string;
|
|
43
|
-
PR_COL_1289: string;
|
|
44
|
-
PR_COL_1551: string;
|
|
45
|
-
PR_COL_1802: string;
|
|
46
|
-
PR_COL_1121: string;
|
|
47
|
-
PR_COL_1814: string;
|
|
48
|
-
PR_COL_1637: string;
|
|
49
|
-
PR_COL_1006: string;
|
|
50
|
-
PR_COL_1286: string;
|
|
51
|
-
PR_COL_1070: string;
|
|
52
|
-
PR_COL_1067: string;
|
|
53
|
-
PR_COL_1801: string;
|
|
54
|
-
PR_COL_1507: string;
|
|
55
|
-
PR_COL_1809: string;
|
|
56
|
-
PR_COL_1560: string;
|
|
57
|
-
PR_COL_1803: string;
|
|
58
|
-
PR_COL_1811: string;
|
|
59
|
-
PR_COL_1813: string;
|
|
60
|
-
PR_COL_1019: string;
|
|
61
|
-
PR_COL_1804: string;
|
|
62
|
-
PR_MEX_COBRE: string;
|
|
63
|
-
PR_MEX_COBRE2: string;
|
|
64
|
-
PR_GLOBAL_COBRE: string;
|
|
65
|
-
PR_MEX_138: string;
|
|
66
|
-
PR_MEX_133: string;
|
|
67
|
-
PR_MEX_062: string;
|
|
68
|
-
PR_MEX_661: string;
|
|
69
|
-
PR_MEX_706: string;
|
|
70
|
-
PR_MEX_659: string;
|
|
71
|
-
PR_MEX_128: string;
|
|
72
|
-
PR_MEX_127: string;
|
|
73
|
-
PR_MEX_030: string;
|
|
74
|
-
PR_MEX_002: string;
|
|
75
|
-
PR_MEX_154: string;
|
|
76
|
-
PR_MEX_160: string;
|
|
77
|
-
PR_MEX_137: string;
|
|
78
|
-
PR_MEX_152: string;
|
|
79
|
-
PR_MEX_106: string;
|
|
80
|
-
PR_MEX_159: string;
|
|
81
|
-
PR_MEX_147: string;
|
|
82
|
-
PR_MEX_072: string;
|
|
83
|
-
PR_MEX_058: string;
|
|
84
|
-
PR_MEX_060: string;
|
|
85
|
-
PR_MEX_129: string;
|
|
86
|
-
PR_MEX_145: string;
|
|
87
|
-
PR_MEX_012: string;
|
|
88
|
-
PR_MEX_112: string;
|
|
89
|
-
PR_MEX_677: string;
|
|
90
|
-
PR_MEX_683: string;
|
|
91
|
-
PR_MEX_630: string;
|
|
92
|
-
PR_MEX_124: string;
|
|
93
|
-
PR_MEX_631: string;
|
|
94
|
-
PR_MEX_143: string;
|
|
95
|
-
PR_MEX_903: string;
|
|
96
|
-
PR_MEX_130: string;
|
|
97
|
-
PR_MEX_140: string;
|
|
98
|
-
PR_MEX_652: string;
|
|
99
|
-
PR_MEX_680: string;
|
|
100
|
-
PR_MEX_723: string;
|
|
101
|
-
PR_MEX_151: string;
|
|
102
|
-
PR_MEX_616: string;
|
|
103
|
-
PR_MEX_634: string;
|
|
104
|
-
PR_MEX_689: string;
|
|
105
|
-
PR_MEX_685: string;
|
|
106
|
-
PR_MEX_601: string;
|
|
107
|
-
PR_MEX_021: string;
|
|
108
|
-
PR_MEX_155: string;
|
|
109
|
-
PR_MEX_036: string;
|
|
110
|
-
PR_MEX_902: string;
|
|
111
|
-
PR_MEX_150: string;
|
|
112
|
-
PR_MEX_136: string;
|
|
113
|
-
PR_MEX_686: string;
|
|
114
|
-
PR_MEX_059: string;
|
|
115
|
-
PR_MEX_110: string;
|
|
116
|
-
PR_MEX_653: string;
|
|
117
|
-
PR_MEX_670: string;
|
|
118
|
-
PR_MEX_602: string;
|
|
119
|
-
PR_MEX_722: string;
|
|
120
|
-
PR_MEX_042: string;
|
|
121
|
-
PR_MEX_158: string;
|
|
122
|
-
PR_MEX_600: string;
|
|
123
|
-
PR_MEX_108: string;
|
|
124
|
-
PR_MEX_132: string;
|
|
125
|
-
PR_MEX_638: string;
|
|
126
|
-
PR_MEX_710: string;
|
|
127
|
-
PR_MEX_148: string;
|
|
128
|
-
PR_MEX_620: string;
|
|
129
|
-
PR_MEX_642: string;
|
|
130
|
-
PR_MEX_156: string;
|
|
131
|
-
PR_MEX_014: string;
|
|
132
|
-
PR_MEX_044: string;
|
|
133
|
-
PR_MEX_157: string;
|
|
134
|
-
PR_MEX_646: string;
|
|
135
|
-
PR_MEX_703: string;
|
|
136
|
-
PR_MEX_684: string;
|
|
137
|
-
PR_MEX_656: string;
|
|
138
|
-
PR_MEX_617: string;
|
|
139
|
-
PR_MEX_605: string;
|
|
140
|
-
PR_MEX_113: string;
|
|
141
|
-
PR_MEX_608: string;
|
|
142
|
-
PR_MEX_141: string;
|
|
143
|
-
};
|