@sbc-connect/nuxt-pay 0.0.0-test-ld-20260520212549
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/.env.example +30 -0
- package/CHANGELOG.md +402 -0
- package/LICENSE +28 -0
- package/README.md +64 -0
- package/app/app.config.ts +1 -0
- package/app/components/Connect/Fee/ExtraFee.vue +24 -0
- package/app/components/Connect/Fee/Widget.vue +208 -0
- package/app/components/Connect/Layout/PayBody.vue +14 -0
- package/app/components/HelloWorld/Pay.vue +9 -0
- package/app/coverage/app/app.config.ts.html +88 -0
- package/app/coverage/app/components/Connect/Fee/ExtraFee.vue.html +157 -0
- package/app/coverage/app/components/Connect/Fee/Widget.vue.html +709 -0
- package/app/coverage/app/components/Connect/Fee/index.html +131 -0
- package/app/coverage/app/components/Connect/Layout/PayBody.vue.html +127 -0
- package/app/coverage/app/components/Connect/Layout/index.html +116 -0
- package/app/coverage/app/components/HelloWorld/Pay.vue.html +112 -0
- package/app/coverage/app/components/HelloWorld/index.html +116 -0
- package/app/coverage/app/enums/connect-pay-cfs-status.ts.html +103 -0
- package/app/coverage/app/enums/connect-pay-method.ts.html +103 -0
- package/app/coverage/app/enums/connect-pay-status.ts.html +106 -0
- package/app/coverage/app/enums/index.html +146 -0
- package/app/coverage/app/index.html +116 -0
- package/app/coverage/app/interfaces/connect-fees.ts.html +190 -0
- package/app/coverage/app/interfaces/connect-pay-account.ts.html +148 -0
- package/app/coverage/app/interfaces/index.html +131 -0
- package/app/coverage/app/layouts/ConnectPay.vue.html +124 -0
- package/app/coverage/app/layouts/ConnectPayButtons.vue.html +130 -0
- package/app/coverage/app/layouts/ConnectPayButtonsStacked.vue.html +130 -0
- package/app/coverage/app/layouts/ConnectPayTombstone.vue.html +130 -0
- package/app/coverage/app/layouts/ConnectPayTombstoneButtons.vue.html +139 -0
- package/app/coverage/app/layouts/ConnectPayTombstoneButtonsStacked.vue.html +148 -0
- package/app/coverage/app/layouts/index.html +191 -0
- package/app/coverage/app/plugins/index.html +116 -0
- package/app/coverage/app/plugins/pay-api.ts.html +169 -0
- package/app/coverage/app/stores/connect-fee.ts.html +967 -0
- package/app/coverage/app/stores/index.html +116 -0
- package/app/coverage/base.css +224 -0
- package/app/coverage/block-navigation.js +87 -0
- package/app/coverage/clover.xml +620 -0
- package/app/coverage/coverage-final.json +19 -0
- package/app/coverage/favicon.png +0 -0
- package/app/coverage/index.html +236 -0
- package/app/coverage/prettify.css +1 -0
- package/app/coverage/prettify.js +2 -0
- package/app/coverage/sort-arrow-sprite.png +0 -0
- package/app/coverage/sorter.js +210 -0
- package/app/enums/connect-pay-cfs-status.ts +6 -0
- package/app/enums/connect-pay-method.ts +6 -0
- package/app/enums/connect-pay-status.ts +7 -0
- package/app/interfaces/connect-fees.ts +35 -0
- package/app/interfaces/connect-pay-account.ts +21 -0
- package/app/layouts/ConnectPay.vue +13 -0
- package/app/layouts/ConnectPayButtons.vue +15 -0
- package/app/layouts/ConnectPayButtonsStacked.vue +15 -0
- package/app/layouts/ConnectPayTombstone.vue +15 -0
- package/app/layouts/ConnectPayTombstoneButtons.vue +18 -0
- package/app/layouts/ConnectPayTombstoneButtonsStacked.vue +21 -0
- package/app/plugins/pay-api.ts +28 -0
- package/app/stores/connect-fee.ts +294 -0
- package/i18n/locales/en-CA.ts +43 -0
- package/i18n/locales/fr-CA.ts +2 -0
- package/nuxt.config.ts +49 -0
- package/package.json +37 -0
- package/playwright-report/index.html +85 -0
- package/test-results/.last-run.json +4 -0
package/.env.example
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Web Urls
|
|
2
|
+
NUXT_PUBLIC_BASE_URL="http://localhost:3000/"
|
|
3
|
+
NUXT_PUBLIC_REGISTRY_HOME_URL="https://dev.bcregistry.gov.bc.ca/"
|
|
4
|
+
NUXT_PUBLIC_AUTH_WEB_URL="https://dev.account.bcregistry.gov.bc.ca/"
|
|
5
|
+
NUXT_PUBLIC_PAYMENT_PORTAL_URL="https://dev.account.bcregistry.gov.bc.ca/makepayment/"
|
|
6
|
+
|
|
7
|
+
# API Key
|
|
8
|
+
NUXT_PUBLIC_X_API_KEY=""
|
|
9
|
+
|
|
10
|
+
# API Urls
|
|
11
|
+
# Status API
|
|
12
|
+
NUXT_PUBLIC_STATUS_API_URL="https://status-api-dev.apps.gold.devops.gov.bc.ca"
|
|
13
|
+
NUXT_PUBLIC_STATUS_API_VERSION="/api/v1"
|
|
14
|
+
|
|
15
|
+
# Auth API
|
|
16
|
+
NUXT_PUBLIC_AUTH_API_URL="https://test.api.connect.gov.bc.ca/auth-dev"
|
|
17
|
+
NUXT_PUBLIC_AUTH_API_VERSION="/api/v1"
|
|
18
|
+
|
|
19
|
+
# Pay API
|
|
20
|
+
NUXT_PUBLIC_PAY_API_URL="https://test.api.connect.gov.bc.ca/pay-dev"
|
|
21
|
+
NUXT_PUBLIC_PAY_API_VERSION="/api/v1"
|
|
22
|
+
|
|
23
|
+
# LaunchDarkly
|
|
24
|
+
NUXT_PUBLIC_LD_CLIENT_ID=""
|
|
25
|
+
|
|
26
|
+
# Identity Provider
|
|
27
|
+
NUXT_PUBLIC_IDP_URL="https://dev.loginproxy.gov.bc.ca/auth"
|
|
28
|
+
NUXT_PUBLIC_IDP_REALM="bcregistry"
|
|
29
|
+
NUXT_PUBLIC_IDP_CLIENTID="connect-web"
|
|
30
|
+
NUXT_PUBLIC_SITEMINDER_LOGOUT_URL="https://logontest7.gov.bc.ca/clp-cgi/logoff.cgi"
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
# @sbc-connect/nuxt-pay
|
|
2
|
+
|
|
3
|
+
## 0.0.0-test-ld-20260520212549
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`fe5065e`](https://github.com/bcgov/connect-nuxt/commit/fe5065e12d776349e7093e52ecee51ce22a2c271)]:
|
|
8
|
+
- @sbc-connect/nuxt-auth@0.0.0-test-ld-20260520212549
|
|
9
|
+
|
|
10
|
+
## 0.3.8
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies []:
|
|
15
|
+
- @sbc-connect/nuxt-auth@0.9.4
|
|
16
|
+
|
|
17
|
+
## 0.3.7
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`2af6e61`](https://github.com/bcgov/connect-nuxt/commit/2af6e6115724f0ee8b21df2ca86d16d2b6ded28d)]:
|
|
22
|
+
- @sbc-connect/nuxt-auth@0.9.3
|
|
23
|
+
|
|
24
|
+
## 0.3.6
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [[`90714ac`](https://github.com/bcgov/connect-nuxt/commit/90714ac914683d730c911725e38a83b0d1f5d8f2)]:
|
|
29
|
+
- @sbc-connect/nuxt-auth@0.9.2
|
|
30
|
+
|
|
31
|
+
## 0.3.5
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- [#149](https://github.com/bcgov/connect-nuxt/pull/149) [`467e679`](https://github.com/bcgov/connect-nuxt/commit/467e679f8bf4b2f3b9ec2294fd28a2a6c5ef3dba) Thanks [@deetz99](https://github.com/deetz99)! - Update dependencies
|
|
36
|
+
|
|
37
|
+
- Updated dependencies [[`467e679`](https://github.com/bcgov/connect-nuxt/commit/467e679f8bf4b2f3b9ec2294fd28a2a6c5ef3dba)]:
|
|
38
|
+
- @sbc-connect/nuxt-auth@0.9.1
|
|
39
|
+
|
|
40
|
+
## 0.3.4
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- Updated dependencies [[`d96fef6`](https://github.com/bcgov/connect-nuxt/commit/d96fef61258f7749b8097aad9f1ae73bca3a0702), [`32f2375`](https://github.com/bcgov/connect-nuxt/commit/32f23755ab656239730599f02d9802b491469d7e)]:
|
|
45
|
+
- @sbc-connect/nuxt-auth@0.9.0
|
|
46
|
+
|
|
47
|
+
## 0.3.3
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- Updated dependencies []:
|
|
52
|
+
- @sbc-connect/nuxt-auth@0.8.1
|
|
53
|
+
|
|
54
|
+
## 0.3.2
|
|
55
|
+
|
|
56
|
+
### Patch Changes
|
|
57
|
+
|
|
58
|
+
- Updated dependencies [[`7704fda`](https://github.com/bcgov/connect-nuxt/commit/7704fda8e016b67d0928964652e94f0bb792ff6c)]:
|
|
59
|
+
- @sbc-connect/nuxt-auth@0.8.0
|
|
60
|
+
|
|
61
|
+
## 0.3.1
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies []:
|
|
66
|
+
- @sbc-connect/nuxt-auth@0.7.1
|
|
67
|
+
|
|
68
|
+
## 0.3.0
|
|
69
|
+
|
|
70
|
+
### Minor Changes
|
|
71
|
+
|
|
72
|
+
- [#136](https://github.com/bcgov/connect-nuxt/pull/136) [`7e3a970`](https://github.com/bcgov/connect-nuxt/commit/7e3a9701ddd5304851c8d55c9fc940b2da656cbf) Thanks [@cameron-eyds](https://github.com/cameron-eyds)! - Misc typing and e2e test fixes
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [[`31c8786`](https://github.com/bcgov/connect-nuxt/commit/31c87862eae861c21fd26d8b79325b38eca565cb), [`7e3a970`](https://github.com/bcgov/connect-nuxt/commit/7e3a9701ddd5304851c8d55c9fc940b2da656cbf), [`9c10812`](https://github.com/bcgov/connect-nuxt/commit/9c10812d8ecde646eb185310376cabd3319a414d), [`644cb59`](https://github.com/bcgov/connect-nuxt/commit/644cb59f04d17e8ad5d480ad63d475359415ebcc)]:
|
|
77
|
+
- @sbc-connect/nuxt-auth@0.7.0
|
|
78
|
+
|
|
79
|
+
## 0.2.5
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- Updated dependencies [[`f649e93`](https://github.com/bcgov/connect-nuxt/commit/f649e930fcb08a4e363e2b6632cb337466f21150)]:
|
|
84
|
+
- @sbc-connect/nuxt-auth@0.6.2
|
|
85
|
+
|
|
86
|
+
## 0.2.4
|
|
87
|
+
|
|
88
|
+
### Patch Changes
|
|
89
|
+
|
|
90
|
+
- Updated dependencies []:
|
|
91
|
+
- @sbc-connect/nuxt-auth@0.6.1
|
|
92
|
+
|
|
93
|
+
## 0.2.3
|
|
94
|
+
|
|
95
|
+
### Patch Changes
|
|
96
|
+
|
|
97
|
+
- [#128](https://github.com/bcgov/connect-nuxt/pull/128) [`8cc8cc0`](https://github.com/bcgov/connect-nuxt/commit/8cc8cc09aad741dc841a864998129c6ac5a6af2f) Thanks [@kialj876](https://github.com/kialj876)! - Update to connect pay layout styling
|
|
98
|
+
|
|
99
|
+
- Updated dependencies [[`63409ea`](https://github.com/bcgov/connect-nuxt/commit/63409eab3ef9072fe8e05662b44f61bb8be6cff4), [`fda1d48`](https://github.com/bcgov/connect-nuxt/commit/fda1d48ed55838aeece70aa04a82440153a3db24)]:
|
|
100
|
+
- @sbc-connect/nuxt-auth@0.6.0
|
|
101
|
+
|
|
102
|
+
## 0.2.2
|
|
103
|
+
|
|
104
|
+
### Patch Changes
|
|
105
|
+
|
|
106
|
+
- Updated dependencies [[`3c33132`](https://github.com/bcgov/connect-nuxt/commit/3c331327a27cfbd0613c268abf97842288d10f8c)]:
|
|
107
|
+
- @sbc-connect/nuxt-auth@0.5.0
|
|
108
|
+
|
|
109
|
+
## 0.2.1
|
|
110
|
+
|
|
111
|
+
### Patch Changes
|
|
112
|
+
|
|
113
|
+
- Updated dependencies [[`e4d8d9e`](https://github.com/bcgov/connect-nuxt/commit/e4d8d9e510af321a2cc7ba12ca270a5f018981e5)]:
|
|
114
|
+
- @sbc-connect/nuxt-auth@0.4.1
|
|
115
|
+
|
|
116
|
+
## 0.2.0
|
|
117
|
+
|
|
118
|
+
### Minor Changes
|
|
119
|
+
|
|
120
|
+
- [#118](https://github.com/bcgov/connect-nuxt/pull/118) [`41e58f4`](https://github.com/bcgov/connect-nuxt/commit/41e58f44e6d216e7de568bccb2e240b2d89b8408) Thanks [@deetz99](https://github.com/deetz99)! - Remove now unnecessary css module workaround.
|
|
121
|
+
|
|
122
|
+
- [#117](https://github.com/bcgov/connect-nuxt/pull/117) [`e3da105`](https://github.com/bcgov/connect-nuxt/commit/e3da1056247f5c502578dc70f95375e66e3cc1da) Thanks [@deetz99](https://github.com/deetz99)! - Update all dependencies
|
|
123
|
+
|
|
124
|
+
### Patch Changes
|
|
125
|
+
|
|
126
|
+
- Updated dependencies [[`41e58f4`](https://github.com/bcgov/connect-nuxt/commit/41e58f44e6d216e7de568bccb2e240b2d89b8408), [`9f42868`](https://github.com/bcgov/connect-nuxt/commit/9f428681207188292d52cf6d370035f54bdb6ab4), [`e3da105`](https://github.com/bcgov/connect-nuxt/commit/e3da1056247f5c502578dc70f95375e66e3cc1da), [`ee5ba9e`](https://github.com/bcgov/connect-nuxt/commit/ee5ba9e6f7302e8ea11fd0ebfa887c4f6269b0ee), [`fe3eef1`](https://github.com/bcgov/connect-nuxt/commit/fe3eef1b39cc5883cc5e8560efe0dd89d04d0455)]:
|
|
127
|
+
- @sbc-connect/nuxt-auth@0.4.0
|
|
128
|
+
|
|
129
|
+
## 0.1.35
|
|
130
|
+
|
|
131
|
+
### Patch Changes
|
|
132
|
+
|
|
133
|
+
- Updated dependencies [[`8571754`](https://github.com/bcgov/connect-nuxt/commit/8571754160242c3233838fc039fd1a01ff9d7a82)]:
|
|
134
|
+
- @sbc-connect/nuxt-auth@0.3.0
|
|
135
|
+
|
|
136
|
+
## 0.1.34
|
|
137
|
+
|
|
138
|
+
### Patch Changes
|
|
139
|
+
|
|
140
|
+
- [#109](https://github.com/bcgov/connect-nuxt/pull/109) [`841b9b8`](https://github.com/bcgov/connect-nuxt/commit/841b9b8636426167f7c3847656eabb52d427c626) Thanks [@kialj876](https://github.com/kialj876)! - Connect Pay Layer - useConnectFeeStore: useNuxtApp().$i18n instead of useI18n()
|
|
141
|
+
|
|
142
|
+
- Updated dependencies []:
|
|
143
|
+
- @sbc-connect/nuxt-auth@0.2.1
|
|
144
|
+
|
|
145
|
+
## 0.1.33
|
|
146
|
+
|
|
147
|
+
### Patch Changes
|
|
148
|
+
|
|
149
|
+
- Updated dependencies [[`5f1b383`](https://github.com/bcgov/connect-nuxt/commit/5f1b3839ed993654a7f20fe161047ba38ab86274), [`d714785`](https://github.com/bcgov/connect-nuxt/commit/d71478573f1fe11be34d5d588d68fb75eb5fd159)]:
|
|
150
|
+
- @sbc-connect/nuxt-auth@0.2.0
|
|
151
|
+
|
|
152
|
+
## 0.1.32
|
|
153
|
+
|
|
154
|
+
### Patch Changes
|
|
155
|
+
|
|
156
|
+
- [#98](https://github.com/bcgov/connect-nuxt/pull/98) [`cb7ba1b`](https://github.com/bcgov/connect-nuxt/commit/cb7ba1b38a7e7dbeb296479ef0fcba13ddb1d20f) Thanks [@kialj876](https://github.com/kialj876)! - Auth Layer: Move auth layout to component, Pay Layer: Add in sidebar for examples and add layout tests
|
|
157
|
+
|
|
158
|
+
- Updated dependencies [[`cb7ba1b`](https://github.com/bcgov/connect-nuxt/commit/cb7ba1b38a7e7dbeb296479ef0fcba13ddb1d20f)]:
|
|
159
|
+
- @sbc-connect/nuxt-auth@0.1.32
|
|
160
|
+
|
|
161
|
+
## 0.1.31
|
|
162
|
+
|
|
163
|
+
### Patch Changes
|
|
164
|
+
|
|
165
|
+
- Updated dependencies []:
|
|
166
|
+
- @sbc-connect/nuxt-auth@0.1.31
|
|
167
|
+
|
|
168
|
+
## 0.1.30
|
|
169
|
+
|
|
170
|
+
### Patch Changes
|
|
171
|
+
|
|
172
|
+
- [#90](https://github.com/bcgov/connect-nuxt/pull/90) [`b66923e`](https://github.com/bcgov/connect-nuxt/commit/b66923e94a2c8a7aa936b7e371e727be73d90ea7) Thanks [@kialj876](https://github.com/kialj876)! - Base tombstone - bug fix
|
|
173
|
+
|
|
174
|
+
- Updated dependencies [[`b66923e`](https://github.com/bcgov/connect-nuxt/commit/b66923e94a2c8a7aa936b7e371e727be73d90ea7)]:
|
|
175
|
+
- @sbc-connect/nuxt-auth@0.1.30
|
|
176
|
+
|
|
177
|
+
## 0.1.29
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- [#88](https://github.com/bcgov/connect-nuxt/pull/88) [`11ccded`](https://github.com/bcgov/connect-nuxt/commit/11ccdedb47c73d36a335ddd96e529fe74ca17480) Thanks [@kialj876](https://github.com/kialj876)! - Base layer - Update tombstone component stateKey prop to optional
|
|
182
|
+
|
|
183
|
+
- Updated dependencies [[`11ccded`](https://github.com/bcgov/connect-nuxt/commit/11ccdedb47c73d36a335ddd96e529fe74ca17480)]:
|
|
184
|
+
- @sbc-connect/nuxt-auth@0.1.29
|
|
185
|
+
|
|
186
|
+
## 0.1.28
|
|
187
|
+
|
|
188
|
+
### Patch Changes
|
|
189
|
+
|
|
190
|
+
- Updated dependencies []:
|
|
191
|
+
- @sbc-connect/nuxt-auth@0.1.28
|
|
192
|
+
|
|
193
|
+
## 0.1.27
|
|
194
|
+
|
|
195
|
+
### Patch Changes
|
|
196
|
+
|
|
197
|
+
- [#85](https://github.com/bcgov/connect-nuxt/pull/85) [`6b0f70a`](https://github.com/bcgov/connect-nuxt/commit/6b0f70ab895a26c0b049dce84b130d6a04fd911e) Thanks [@kialj876](https://github.com/kialj876)! - Common layout updates, default state key for tombstone, fee store - waive fees, add prioirty, expose cached fees
|
|
198
|
+
|
|
199
|
+
- Updated dependencies [[`6b0f70a`](https://github.com/bcgov/connect-nuxt/commit/6b0f70ab895a26c0b049dce84b130d6a04fd911e), [`f37700a`](https://github.com/bcgov/connect-nuxt/commit/f37700ab568335df724a5e9472a5e0b4198704b5)]:
|
|
200
|
+
- @sbc-connect/nuxt-auth@0.1.27
|
|
201
|
+
|
|
202
|
+
## 0.1.26
|
|
203
|
+
|
|
204
|
+
### Patch Changes
|
|
205
|
+
|
|
206
|
+
- Updated dependencies []:
|
|
207
|
+
- @sbc-connect/nuxt-auth@0.1.26
|
|
208
|
+
|
|
209
|
+
## 0.1.25
|
|
210
|
+
|
|
211
|
+
### Patch Changes
|
|
212
|
+
|
|
213
|
+
- [#77](https://github.com/bcgov/connect-nuxt/pull/77) [`86ec3d0`](https://github.com/bcgov/connect-nuxt/commit/86ec3d03baa7dae3137f6c4c96a328f13eb46ce5) Thanks [@deetz99](https://github.com/deetz99)! - Update dependencies
|
|
214
|
+
|
|
215
|
+
- Updated dependencies [[`86ec3d0`](https://github.com/bcgov/connect-nuxt/commit/86ec3d03baa7dae3137f6c4c96a328f13eb46ce5)]:
|
|
216
|
+
- @sbc-connect/nuxt-auth@0.1.25
|
|
217
|
+
|
|
218
|
+
## 0.1.24
|
|
219
|
+
|
|
220
|
+
### Patch Changes
|
|
221
|
+
|
|
222
|
+
- Updated dependencies []:
|
|
223
|
+
- @sbc-connect/nuxt-auth@0.1.24
|
|
224
|
+
|
|
225
|
+
## 0.1.23
|
|
226
|
+
|
|
227
|
+
### Patch Changes
|
|
228
|
+
|
|
229
|
+
- Updated dependencies []:
|
|
230
|
+
- @sbc-connect/nuxt-auth@0.1.23
|
|
231
|
+
|
|
232
|
+
## 0.1.22
|
|
233
|
+
|
|
234
|
+
### Patch Changes
|
|
235
|
+
|
|
236
|
+
- Updated dependencies [[`1752ac6`](https://github.com/bcgov/connect-nuxt/commit/1752ac651e03269825b81bf24bba3fcc67c2679c)]:
|
|
237
|
+
- @sbc-connect/nuxt-auth@0.1.22
|
|
238
|
+
|
|
239
|
+
## 0.1.21
|
|
240
|
+
|
|
241
|
+
### Patch Changes
|
|
242
|
+
|
|
243
|
+
- Updated dependencies []:
|
|
244
|
+
- @sbc-connect/nuxt-auth@0.1.21
|
|
245
|
+
|
|
246
|
+
## 0.1.20
|
|
247
|
+
|
|
248
|
+
### Patch Changes
|
|
249
|
+
|
|
250
|
+
- Updated dependencies []:
|
|
251
|
+
- @sbc-connect/nuxt-auth@0.1.20
|
|
252
|
+
|
|
253
|
+
## 0.1.19
|
|
254
|
+
|
|
255
|
+
### Patch Changes
|
|
256
|
+
|
|
257
|
+
- Updated dependencies []:
|
|
258
|
+
- @sbc-connect/nuxt-auth@0.1.19
|
|
259
|
+
|
|
260
|
+
## 0.1.18
|
|
261
|
+
|
|
262
|
+
### Patch Changes
|
|
263
|
+
|
|
264
|
+
- Updated dependencies []:
|
|
265
|
+
- @sbc-connect/nuxt-auth@0.1.18
|
|
266
|
+
|
|
267
|
+
## 0.1.17
|
|
268
|
+
|
|
269
|
+
### Patch Changes
|
|
270
|
+
|
|
271
|
+
- [#58](https://github.com/bcgov/connect-nuxt/pull/58) [`a98c264`](https://github.com/bcgov/connect-nuxt/commit/a98c2647e041061223d504c8e974670148c08c0b) Thanks [@deetz99](https://github.com/deetz99)! - Fix base layout, add loading state to fee widget
|
|
272
|
+
|
|
273
|
+
- Updated dependencies []:
|
|
274
|
+
- @sbc-connect/nuxt-auth@0.1.17
|
|
275
|
+
|
|
276
|
+
## 0.1.16
|
|
277
|
+
|
|
278
|
+
### Patch Changes
|
|
279
|
+
|
|
280
|
+
- Updated dependencies []:
|
|
281
|
+
- @sbc-connect/nuxt-auth@0.1.16
|
|
282
|
+
|
|
283
|
+
## 0.1.15
|
|
284
|
+
|
|
285
|
+
### Patch Changes
|
|
286
|
+
|
|
287
|
+
- Updated dependencies []:
|
|
288
|
+
- @sbc-connect/nuxt-auth@0.1.15
|
|
289
|
+
|
|
290
|
+
## 0.1.14
|
|
291
|
+
|
|
292
|
+
### Patch Changes
|
|
293
|
+
|
|
294
|
+
- Updated dependencies []:
|
|
295
|
+
- @sbc-connect/nuxt-auth@0.1.14
|
|
296
|
+
|
|
297
|
+
## 0.1.13
|
|
298
|
+
|
|
299
|
+
### Patch Changes
|
|
300
|
+
|
|
301
|
+
- Updated dependencies []:
|
|
302
|
+
- @sbc-connect/nuxt-auth@0.1.13
|
|
303
|
+
|
|
304
|
+
## 0.1.12
|
|
305
|
+
|
|
306
|
+
### Patch Changes
|
|
307
|
+
|
|
308
|
+
- Updated dependencies []:
|
|
309
|
+
- @sbc-connect/nuxt-auth@0.1.12
|
|
310
|
+
|
|
311
|
+
## 0.1.11
|
|
312
|
+
|
|
313
|
+
### Patch Changes
|
|
314
|
+
|
|
315
|
+
- Updated dependencies []:
|
|
316
|
+
- @sbc-connect/nuxt-auth@0.1.11
|
|
317
|
+
|
|
318
|
+
## 0.1.10
|
|
319
|
+
|
|
320
|
+
### Patch Changes
|
|
321
|
+
|
|
322
|
+
- Updated dependencies [[`3b521b7`](https://github.com/bcgov/connect-nuxt/commit/3b521b70bf1a0cc5a0feea63a825ef5544347aa8), [`be3f9d2`](https://github.com/bcgov/connect-nuxt/commit/be3f9d2eb93e8bd6da134e69ff1de4676b8c21f9)]:
|
|
323
|
+
- @sbc-connect/nuxt-auth@0.1.10
|
|
324
|
+
|
|
325
|
+
## 0.1.9
|
|
326
|
+
|
|
327
|
+
### Patch Changes
|
|
328
|
+
|
|
329
|
+
- Updated dependencies [[`f4b62e1`](https://github.com/bcgov/connect-nuxt/commit/f4b62e19570ed062399ce7d23ce07abcf682285f), [`8b8f067`](https://github.com/bcgov/connect-nuxt/commit/8b8f067aba4cda2cd2cd8de5c6f74ccc24eaf822)]:
|
|
330
|
+
- @sbc-connect/nuxt-auth@0.1.9
|
|
331
|
+
|
|
332
|
+
## 0.1.8
|
|
333
|
+
|
|
334
|
+
### Patch Changes
|
|
335
|
+
|
|
336
|
+
- [#36](https://github.com/bcgov/connect-nuxt/pull/36) [`a9176be`](https://github.com/bcgov/connect-nuxt/commit/a9176be460388cba2df53cdfb49e4fd2dfd3d324) Thanks [@kialj876](https://github.com/kialj876)! - Pay Layer fee options update
|
|
337
|
+
Pay Layer documentation
|
|
338
|
+
bcgov/entity#29337
|
|
339
|
+
|
|
340
|
+
- [#32](https://github.com/bcgov/connect-nuxt/pull/32) [`66d83d1`](https://github.com/bcgov/connect-nuxt/commit/66d83d14b2ec7950057dd39a4d876a8c4096923f) Thanks [@kialj876](https://github.com/kialj876)! - Pay layer cleanup bcgov/entity#29337
|
|
341
|
+
|
|
342
|
+
- Updated dependencies [[`b2a0458`](https://github.com/bcgov/connect-nuxt/commit/b2a04587d5408d213d463ef6161b701ca597ef86), [`66d83d1`](https://github.com/bcgov/connect-nuxt/commit/66d83d14b2ec7950057dd39a4d876a8c4096923f)]:
|
|
343
|
+
- @sbc-connect/nuxt-auth@0.1.8
|
|
344
|
+
|
|
345
|
+
## 0.1.7
|
|
346
|
+
|
|
347
|
+
### Patch Changes
|
|
348
|
+
|
|
349
|
+
- [#28](https://github.com/bcgov/connect-nuxt/pull/28) [`68af125`](https://github.com/bcgov/connect-nuxt/commit/68af1259b87846f42010026977411481e53ca8fb) Thanks [@kialj876](https://github.com/kialj876)! - Filling out the pay layer. Ticket bcgov/entity#29337
|
|
350
|
+
|
|
351
|
+
- Updated dependencies [[`68af125`](https://github.com/bcgov/connect-nuxt/commit/68af1259b87846f42010026977411481e53ca8fb)]:
|
|
352
|
+
- @sbc-connect/nuxt-auth@0.1.7
|
|
353
|
+
|
|
354
|
+
## 0.1.6
|
|
355
|
+
|
|
356
|
+
### Patch Changes
|
|
357
|
+
|
|
358
|
+
- Updated dependencies [[`db2159e`](https://github.com/bcgov/connect-nuxt/commit/db2159ebc4b310c1c24986ca8ef85b5435fd50c8), [`65ae301`](https://github.com/bcgov/connect-nuxt/commit/65ae301972b39cfed8550e49c1209133674528a4), [`b257d0c`](https://github.com/bcgov/connect-nuxt/commit/b257d0c874138e56ae0b5d79ec6e5a7b30acec8b), [`aba11d1`](https://github.com/bcgov/connect-nuxt/commit/aba11d1303ab1b19b3a51c27959766c4ee0cd5d8)]:
|
|
359
|
+
- @sbc-connect/nuxt-auth@0.1.6
|
|
360
|
+
|
|
361
|
+
## 0.1.5
|
|
362
|
+
|
|
363
|
+
### Patch Changes
|
|
364
|
+
|
|
365
|
+
- Updated dependencies []:
|
|
366
|
+
- @sbc-connect/nuxt-auth@0.1.5
|
|
367
|
+
|
|
368
|
+
## 0.1.4
|
|
369
|
+
|
|
370
|
+
### Patch Changes
|
|
371
|
+
|
|
372
|
+
- Updated dependencies [[`9b8c225`](https://github.com/bcgov/connect-nuxt/commit/9b8c225a011e3c89c9b490e93a554f55a4e29b78)]:
|
|
373
|
+
- @sbc-connect/nuxt-auth@0.1.4
|
|
374
|
+
|
|
375
|
+
## 0.1.3
|
|
376
|
+
|
|
377
|
+
### Patch Changes
|
|
378
|
+
|
|
379
|
+
- [#9](https://github.com/bcgov/connect-nuxt/pull/9) [`e841fde`](https://github.com/bcgov/connect-nuxt/commit/e841fde27630d63efb2c152cd78d92b1193d1d5e) Thanks [@kialj876](https://github.com/kialj876)! - Add Nuxt back as a dev dependency
|
|
380
|
+
|
|
381
|
+
- [#8](https://github.com/bcgov/connect-nuxt/pull/8) [`c85ebfc`](https://github.com/bcgov/connect-nuxt/commit/c85ebfc879e19cce307b109c9d38044f71f482d2) Thanks [@kialj876](https://github.com/kialj876)! - Added in i18n, added base header components, added in styles for nuxt ui
|
|
382
|
+
|
|
383
|
+
- Updated dependencies [[`e841fde`](https://github.com/bcgov/connect-nuxt/commit/e841fde27630d63efb2c152cd78d92b1193d1d5e), [`c85ebfc`](https://github.com/bcgov/connect-nuxt/commit/c85ebfc879e19cce307b109c9d38044f71f482d2)]:
|
|
384
|
+
- @sbc-connect/nuxt-auth@0.1.3
|
|
385
|
+
|
|
386
|
+
## 0.1.2
|
|
387
|
+
|
|
388
|
+
### Patch Changes
|
|
389
|
+
|
|
390
|
+
- [#5](https://github.com/bcgov/connect-nuxt/pull/5) [`2999779`](https://github.com/bcgov/connect-nuxt/commit/29997796bd3908b2c5ba04319b26cbb00bffe0fc) Thanks [@kialj876](https://github.com/kialj876)! - Updated fonts propagation in base, cleaned up dependencies in layers
|
|
391
|
+
|
|
392
|
+
- Updated dependencies [[`2999779`](https://github.com/bcgov/connect-nuxt/commit/29997796bd3908b2c5ba04319b26cbb00bffe0fc)]:
|
|
393
|
+
- @sbc-connect/nuxt-auth@0.1.2
|
|
394
|
+
|
|
395
|
+
## 0.1.1
|
|
396
|
+
|
|
397
|
+
### Patch Changes
|
|
398
|
+
|
|
399
|
+
- [#3](https://github.com/bcgov/connect-nuxt/pull/3) [`401b62a`](https://github.com/bcgov/connect-nuxt/commit/401b62a465c338cb745c14db645797ffaac1ddab) Thanks [@kialj876](https://github.com/kialj876)! - Layer updates
|
|
400
|
+
|
|
401
|
+
- Updated dependencies [[`401b62a`](https://github.com/bcgov/connect-nuxt/commit/401b62a465c338cb745c14db645797ffaac1ddab)]:
|
|
402
|
+
- @sbc-connect/nuxt-auth@0.1.1
|
package/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025, bcgov
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# @sbc-connect/nuxt-pay
|
|
2
|
+
A Nuxt layer for handling fee calculation and payment processing within the Connect ecosystem.
|
|
3
|
+
|
|
4
|
+
This package provides the necessary components, composables, and service integrations to use the Connect payment flow, offering a standardized payment experience for all applications.
|
|
5
|
+
|
|
6
|
+
## Features
|
|
7
|
+
|
|
8
|
+
### Payment Integration
|
|
9
|
+
- Utilities for fetching fees by payment code.
|
|
10
|
+
- Components for displaying fee summaries and handling payment actions.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Core Development Assets
|
|
14
|
+
- useConnectFeeStore() Pinia store for managing filing fees and payment status.
|
|
15
|
+
- Composables for interacting with the payment API.
|
|
16
|
+
- Pre-configured for handling different payment methods (Credit Card, PAD, etc.).
|
|
17
|
+
|
|
18
|
+
For detailed usage and documentation, please see the [Pay Layer Docs](../../../docs/packages/layers/pay/overview.md).
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
### Install
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
pnpm install @sbc-connect/nuxt-pay
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Configure
|
|
29
|
+
Then add the dependency to `extends` in `nuxt.config`:
|
|
30
|
+
|
|
31
|
+
> [!NOTE]
|
|
32
|
+
> `@sbc-connect/nuxt-pay` already includes `@sbc-connect/nuxt-auth`, it is not necessary to install `@sbc-connect/nuxt-auth`.
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
defineNuxtConfig({
|
|
36
|
+
extends: '@sbc-connect/nuxt-pay'
|
|
37
|
+
})
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Environment Variables
|
|
41
|
+
This project requires certain environment variables to be set to run correctly.
|
|
42
|
+
|
|
43
|
+
Create a file named .env in the root of the project.
|
|
44
|
+
|
|
45
|
+
Copy the contents of the .env.example file into your new .env file.
|
|
46
|
+
|
|
47
|
+
### Local Development
|
|
48
|
+
For local development, you will need credentials for the interacting with the Pay services.
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
# .env
|
|
52
|
+
NUXT_PUBLIC_PAY_API_URL="https://test.api.connect.gov.bc.ca/pay-dev"
|
|
53
|
+
NUXT_PUBLIC_PAY_API_VERSION="/api/v1"
|
|
54
|
+
NUXT_PUBLIC_X_API_KEY="your-dev-api-key"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Production Environments
|
|
58
|
+
> [!IMPORTANT]
|
|
59
|
+
> The values for staging and production environments are managed securely and should not be stored in this file.
|
|
60
|
+
|
|
61
|
+
To obtain the correct values for a production build or deployment, please contact the Connect Platform Team.
|
|
62
|
+
|
|
63
|
+
## Contributing
|
|
64
|
+
We welcome contributions to this package! Please see the main [Contribution Guidelines](../../../CONTRIBUTING.md) for information on our branching strategy, commit conventions, and pull request process.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default defineAppConfig({})
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
const { t } = useI18n()
|
|
3
|
+
|
|
4
|
+
const props = defineProps<{ description: string, fee: number, showFeeValue: boolean }>()
|
|
5
|
+
|
|
6
|
+
const itemFee = computed(() => {
|
|
7
|
+
const total = props.fee.toFixed(2)
|
|
8
|
+
if (total === '0.00') {
|
|
9
|
+
return t('connect.label.noFee')
|
|
10
|
+
}
|
|
11
|
+
return `$${total}`
|
|
12
|
+
})
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<div class="flex justify-between pl-9 pr-3 py-3">
|
|
17
|
+
<p class="font-bold text-highlighted">
|
|
18
|
+
{{ description }}
|
|
19
|
+
</p>
|
|
20
|
+
<p class="text-highlighted">
|
|
21
|
+
{{ showFeeValue ? itemFee: '$ -' }}
|
|
22
|
+
</p>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|