@bcrs-shared-components/staff-payment 3.0.1 → 3.0.3

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/LICENSE CHANGED
@@ -1,201 +1,201 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Copyright [yyyy] [name of copyright owner]
190
-
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
194
-
195
- http://www.apache.org/licenses/LICENSE-2.0
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -1,29 +1,33 @@
1
- import type { Meta } from '@storybook/vue'
2
- import { StaffPayment } from './index'
3
- import { StaffPaymentOptions } from '@bcrs-shared-components/enums'
4
- import { StaffPaymentIF } from '@bcrs-shared-components/interfaces'
5
-
6
- const meta: Meta<typeof StaffPayment> = {
7
- title: 'component/StaffPayment'
8
- }
9
- export default meta
10
-
11
- const Template = (args, { argTypes }) => ({
12
- props: Object.keys(argTypes),
13
- components: { StaffPayment },
14
- template: '<staff-payment v-bind="$props" />' // $props comes from args below
15
- })
16
-
17
- const staffPaymentData: StaffPaymentIF = {
18
- option: StaffPaymentOptions.NONE,
19
- routingSlipNumber: null,
20
- bcolAccountNumber: null,
21
- datNumber: null,
22
- folioNumber: null,
23
- isPriority: false
24
- }
25
-
26
- export const Default = Template.bind({})
27
- Default['args'] = {
28
- staffPaymentData: staffPaymentData
29
- }
1
+ import type { Meta } from '@storybook/vue3'
2
+ import { StaffPayment } from './index'
3
+ import { StaffPaymentOptions } from '@bcrs-shared-components/enums'
4
+ import { StaffPaymentIF } from '@bcrs-shared-components/interfaces'
5
+
6
+ const meta: Meta<typeof StaffPayment> = {
7
+ title: 'component/StaffPayment'
8
+ }
9
+ export default meta
10
+
11
+ const Template = (args) => ({
12
+ components: { StaffPayment },
13
+ setup () {
14
+ return { args }
15
+ },
16
+ template: '<staff-payment v-bind="args" />'
17
+ })
18
+
19
+ const staffPaymentData: StaffPaymentIF = {
20
+ option: StaffPaymentOptions.NONE,
21
+ routingSlipNumber: null,
22
+ bcolAccountNumber: null,
23
+ datNumber: null,
24
+ folioNumber: null,
25
+ isPriority: false
26
+ }
27
+
28
+ export const Default = Template.bind({})
29
+ Default['args'] = {
30
+ staffPaymentData: staffPaymentData,
31
+ validate: false,
32
+ invalidSection: false
33
+ }
package/StaffPayment.vue CHANGED
@@ -1,339 +1,341 @@
1
- <template>
2
- <div id="staff-payment-container">
3
- <v-row no-gutters>
4
- <v-col
5
- v-if="displaySideLabel"
6
- cols="12"
7
- sm="3"
8
- class="pr-4 pb-4"
9
- >
10
- <label
11
- class="title-label"
12
- :class="{'error-text': invalidSection}"
13
- >Payment</label>
14
- </v-col>
15
-
16
- <v-col
17
- cols="12"
18
- :sm="displaySideLabel ? 9 : 12"
19
- >
20
- <v-radio-group
21
- v-model="paymentOption"
22
- class="payment-group"
23
- >
24
- <!-- Cash or Cheque radio button and form -->
25
- <v-radio
26
- id="fas-radio"
27
- class="mb-0"
28
- label="Cash or Cheque"
29
- :value="StaffPaymentOptions.FAS"
30
- />
31
- <v-form
32
- ref="fasForm"
33
- v-model="fasFormValid"
34
- class="mt-4 ml-8"
35
- >
36
- <v-text-field
37
- id="routing-slip-number-textfield"
38
- filled
39
- label="Routing Slip Number"
40
- :value="staffPaymentData.routingSlipNumber"
41
- :rules="validate ? routingSlipNumberRules : []"
42
- :disabled="paymentOption === StaffPaymentOptions.BCOL || paymentOption === StaffPaymentOptions.NO_FEE"
43
- @keyup="staffPaymentData.routingSlipNumber = staffPaymentData.routingSlipNumber.trim()"
44
- @focus="paymentOption = StaffPaymentOptions.FAS"
45
- @input="emitStaffPaymentData({ option: StaffPaymentOptions.FAS, routingSlipNumber: $event })"
46
- />
47
- </v-form>
48
-
49
- <!-- BC Online radio button and form -->
50
- <v-radio
51
- id="bcol-radio"
52
- class="mb-0 pt-2"
53
- label="BC Online"
54
- :value="StaffPaymentOptions.BCOL"
55
- />
56
- <v-form
57
- ref="bcolForm"
58
- v-model="bcolFormValid"
59
- class="mt-4 ml-8"
60
- >
61
- <v-text-field
62
- id="bcol-account-number-textfield"
63
- filled
64
- label="BC Online Account Number"
65
- :value="staffPaymentData.bcolAccountNumber"
66
- :rules="validate ? bcolAccountNumberRules : []"
67
- :disabled="paymentOption === StaffPaymentOptions.FAS || paymentOption === StaffPaymentOptions.NO_FEE"
68
- @keyup="staffPaymentData.bcolAccountNumber = staffPaymentData.bcolAccountNumber.trim()"
69
- @focus="paymentOption = StaffPaymentOptions.BCOL"
70
- @input="emitStaffPaymentData({ option: StaffPaymentOptions.BCOL, bcolAccountNumber: $event })"
71
- />
72
- <v-text-field
73
- id="dat-number-textfield"
74
- filled
75
- label="DAT Number"
76
- :value="staffPaymentData.datNumber"
77
- :rules="validate ? datNumberRules : []"
78
- :disabled="paymentOption === StaffPaymentOptions.FAS || paymentOption === StaffPaymentOptions.NO_FEE"
79
- @keyup="staffPaymentData.datNumber = staffPaymentData.datNumber.trim()"
80
- @focus="paymentOption = StaffPaymentOptions.BCOL"
81
- @input="emitStaffPaymentData({ option: StaffPaymentOptions.BCOL, datNumber: $event })"
82
- />
83
- <FolioNumberInput
84
- ref="folioNumberInputRef"
85
- :folioNumber="staffPaymentData.folioNumber"
86
- :disabled="paymentOption === StaffPaymentOptions.FAS || paymentOption === StaffPaymentOptions.NO_FEE"
87
- validate="true"
88
- @focus="paymentOption = StaffPaymentOptions.BCOL"
89
- @emitFolioNumber="paymentOption === StaffPaymentOptions.BCOL &&
90
- emitStaffPaymentData({ option: StaffPaymentOptions.BCOL, folioNumber: $event })"
91
- />
92
- </v-form>
93
-
94
- <!-- No Fee radio button -->
95
- <v-radio
96
- id="no-fee-radio"
97
- class="mb-0 pt-2"
98
- label="No Fee"
99
- :value="StaffPaymentOptions.NO_FEE"
100
- />
101
-
102
- <template v-if="displayPriorityCheckbox">
103
- <v-divider class="mt-6" />
104
-
105
- <!-- Priority checkbox -->
106
- <v-checkbox
107
- id="priority-checkbox"
108
- class="priority-checkbox mt-6 pt-0"
109
- label="Priority (add $100.00)"
110
- hide-details
111
- :input-value="staffPaymentData.isPriority"
112
- :disabled="paymentOption === StaffPaymentOptions.NO_FEE"
113
- @change="emitStaffPaymentData({ isPriority: !!$event })"
114
- />
115
- </template>
116
- </v-radio-group>
117
- </v-col>
118
- </v-row>
119
- </div>
120
- </template>
121
-
122
- <script lang="ts">
123
- import { Component, Prop, Watch, Emit, Vue } from 'vue-facing-decorator'
124
- import { StaffPaymentOptions } from '@bcrs-shared-components/enums'
125
- import { FolioNumberInput } from '@bcrs-shared-components/folio-number-input'
126
- import { FormIF, StaffPaymentIF } from '@bcrs-shared-components/interfaces'
127
-
128
- @Component({
129
- components: { FolioNumberInput }
130
- })
131
- export default class StaffPayment extends Vue {
132
- // To fix "property X does not exist on type Y" errors, annotate types for referenced components.
133
- // ref: https://github.com/vuejs/vetur/issues/1414
134
- // ref: https://github.com/vuejs/vue-class-component/issues/94
135
- $refs!: Vue['$refs'] & {
136
- fasForm: FormIF,
137
- bcolForm: FormIF,
138
- folioNumberInputRef: FolioNumberInput
139
- }
140
-
141
- /** Enum for template. */
142
- readonly StaffPaymentOptions = StaffPaymentOptions
143
-
144
- /** Whether to display side label. */
145
- @Prop({ default: true }) readonly displaySideLabel!: boolean
146
-
147
- /** Whether to display priority checkbox. */
148
- @Prop({ default: true }) readonly displayPriorityCheckbox!: boolean
149
-
150
- /** Whether to validate the fields. */
151
- @Prop({ default: false }) readonly validate!: boolean
152
-
153
- /** Whether to show invalid section styling (label only). */
154
- @Prop({ default: false }) readonly invalidSection!: boolean
155
-
156
- /** Staff Payment Data prop. */
157
- @Prop({
158
- default: () => {
159
- return {
160
- option: StaffPaymentOptions.NONE,
161
- routingSlipNumber: null,
162
- bcolAccountNumber: null,
163
- datNumber: null,
164
- folioNumber: null,
165
- isPriority: false
166
- }
167
- }
168
- })
169
- readonly staffPaymentData!: StaffPaymentIF
170
-
171
- /** Radio group model property. */
172
- private paymentOption = StaffPaymentOptions.NONE
173
-
174
- /** FAS form model property. */
175
- private fasFormValid = false
176
-
177
- /** BCOL form model property. */
178
- private bcolFormValid = false
179
-
180
- /** Whether this component has been mounted. */
181
- private isMounted = false
182
-
183
- /** Validation rules for Routing Slip Number. */
184
- readonly routingSlipNumberRules: Array<(v) => boolean | string> = [
185
- v => !!v || 'Enter FAS Routing Slip Number',
186
- v => /^\d{9}$/.test(v) || 'Routing Slip Number must be 9 digits'
187
- ]
188
-
189
- /** Validation rules for BCOL Account Number. */
190
- readonly bcolAccountNumberRules: Array<(v) => boolean | string> = [
191
- v => !!v || 'Enter BC Online Account Number',
192
- v => /^\d{6}$/.test(v) || 'BC Online Account Number must be 6 digits'
193
- ]
194
-
195
- /** Validation rules for DAT Number. */
196
- readonly datNumberRules: Array<(v) => boolean | string> = [
197
- v => !!v || 'Enter DAT Number',
198
- v => /^[A-Z]{1}[0-9]{7,9}$/.test(v) || 'DAT Number must be in standard format (eg, C1234567)'
199
- ]
200
-
201
- /** Called when component is mounted. */
202
- async mounted (): Promise<void> {
203
- await this.$nextTick()
204
- this.isMounted = true
205
- }
206
-
207
- /** Called when payment option (radio group item) has changed. */
208
- @Watch('paymentOption')
209
- private onPaymentOptionChanged (val: number): void {
210
- switch (val) {
211
- case StaffPaymentOptions.FAS:
212
- // reset other form
213
- this.$refs.bcolForm.resetValidation()
214
- this.$refs.folioNumberInputRef.resetFolioNumberValidation()
215
- // enable validation for this form
216
- this.$refs.fasForm.validate()
217
- // update data
218
- this.emitStaffPaymentData({ option: StaffPaymentOptions.FAS })
219
- break
220
-
221
- case StaffPaymentOptions.BCOL:
222
- // reset other form
223
- this.$refs.fasForm.resetValidation()
224
- // enable validation for this form
225
- this.$refs.bcolForm.validate()
226
- // update data
227
- this.emitStaffPaymentData({ option: StaffPaymentOptions.BCOL })
228
- break
229
-
230
- case StaffPaymentOptions.NO_FEE:
231
- // reset other forms
232
- this.$refs.fasForm.resetValidation()
233
- this.$refs.bcolForm.resetValidation()
234
- this.$refs.folioNumberInputRef.resetFolioNumberValidation()
235
- // update data
236
- this.emitStaffPaymentData({ option: StaffPaymentOptions.NO_FEE, isPriority: false })
237
- break
238
- }
239
- }
240
-
241
- /** Watches for change to FAS form validity. */
242
- @Watch('fasFormValid')
243
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
244
- private onFasFormValid (val: boolean) {
245
- // ignore initial condition
246
- if (!this.isMounted) return
247
- this.emitValid()
248
- }
249
-
250
- /** Watches for change to BCOL form validity. */
251
- @Watch('bcolFormValid')
252
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
253
- private onBcolFormValid (val: boolean) {
254
- // ignore initial condition
255
- if (!this.isMounted) return
256
- this.emitValid()
257
- }
258
-
259
- /** Watches for changes to Staff Payment Data prop. */
260
- @Watch('staffPaymentData', { deep: true, immediate: true })
261
- private async onStaffPaymentDataChanged (val: StaffPaymentIF): Promise<void> {
262
- this.paymentOption = val.option
263
- await this.$nextTick()
264
- this.emitValid()
265
- }
266
-
267
- /** Emits an event to update the Staff Payment Data prop. */
268
- @Emit('update:staffPaymentData')
269
- private emitStaffPaymentData ({
270
- option = this.staffPaymentData.option,
271
- routingSlipNumber = this.staffPaymentData.routingSlipNumber || '',
272
- bcolAccountNumber = this.staffPaymentData.bcolAccountNumber || '',
273
- datNumber = this.staffPaymentData.datNumber || '',
274
- folioNumber = this.staffPaymentData.folioNumber || '',
275
- isPriority = this.staffPaymentData.isPriority || false
276
- }): StaffPaymentIF {
277
- // return only the appropriate fields for each option
278
- switch (option) {
279
- case StaffPaymentOptions.FAS:
280
- return { option, routingSlipNumber, isPriority } as StaffPaymentIF
281
-
282
- case StaffPaymentOptions.BCOL:
283
- return { option, bcolAccountNumber, datNumber, folioNumber, isPriority } as StaffPaymentIF
284
-
285
- case StaffPaymentOptions.NO_FEE:
286
- return { option } as StaffPaymentIF
287
- }
288
- }
289
-
290
- /** Emits an event indicating whether or not this component is valid. */
291
- @Emit('valid')
292
- private emitValid (): boolean {
293
- return (this.fasFormValid ||
294
- (this.bcolFormValid && this.$refs.folioNumberInputRef.validateFolioNumber()) ||
295
- (this.staffPaymentData.option === StaffPaymentOptions.NO_FEE)
296
- )
297
- }
298
- }
299
- </script>
300
-
301
- <style lang="scss" scoped>
302
- @import '@/assets/styles/theme.scss';
303
-
304
- #staff-payment-container {
305
- line-height: 1.2rem;
306
- font-size: $px-16;
307
- }
308
-
309
- .title-label {
310
- font-weight: bold;
311
- color: $gray9;
312
- }
313
-
314
- .payment-container {
315
- > label:first-child {
316
- font-weight: 700;
317
- margin-bottom: 2rem;
318
- }
319
- }
320
-
321
- .payment-group {
322
- margin-top: 0;
323
- padding-top: 0;
324
-
325
- :deep(> .v-input__control) {
326
- margin-bottom: -12px;
327
- }
328
- }
329
-
330
- // override Vuetify label colors
331
- :deep() {
332
- .v-input--selection-controls__ripple,
333
- .v-text-field__slot .v-label,
334
- .v-radio .v-label,
335
- .v-input--checkbox .v-label {
336
- color: $gray7 !important;
337
- }
338
- }
339
- </style>
1
+ <template>
2
+ <div id="staff-payment-container">
3
+ <v-row no-gutters>
4
+ <v-col
5
+ v-if="displaySideLabel"
6
+ cols="12"
7
+ sm="3"
8
+ class="pr-4 pb-4"
9
+ >
10
+ <label
11
+ class="title-label"
12
+ :class="{'error-text': invalidSection}"
13
+ >Payment</label>
14
+ </v-col>
15
+
16
+ <v-col
17
+ cols="12"
18
+ :sm="displaySideLabel ? 9 : 12"
19
+ >
20
+ <v-radio-group
21
+ v-model="staffPaymentData.option"
22
+ class="payment-group"
23
+ >
24
+ <!-- Cash or Cheque radio button and form -->
25
+ <v-radio
26
+ id="fas-radio"
27
+ class="mb-0"
28
+ label="Cash or Cheque"
29
+ color="primary"
30
+ :value="StaffPaymentOptions.FAS"
31
+ />
32
+ <v-form
33
+ ref="fasForm"
34
+ v-model="fasFormValid"
35
+ class="mt-4 ml-8"
36
+ >
37
+ <v-text-field
38
+ id="routing-slip-number-textfield"
39
+ v-model="staffPaymentData.routingSlipNumber"
40
+ variant="filled"
41
+ label="Routing Slip Number"
42
+ :rules="validate ? routingSlipNumberRules : []"
43
+ :disabled="fasFormInputDisabled"
44
+ @keyup="staffPaymentData.routingSlipNumber = staffPaymentData.routingSlipNumber.trim()"
45
+ @focus="staffPaymentData.option = StaffPaymentOptions.FAS"
46
+ />
47
+ </v-form>
48
+
49
+ <!-- BC Online radio button and form -->
50
+ <v-radio
51
+ id="bcol-radio"
52
+ class="mb-0 pt-2"
53
+ label="BC Online"
54
+ color="primary"
55
+ :value="StaffPaymentOptions.BCOL"
56
+ />
57
+ <v-form
58
+ ref="bcolForm"
59
+ v-model="bcolFormValid"
60
+ class="mt-4 ml-8"
61
+ >
62
+ <v-text-field
63
+ id="bcol-account-number-textfield"
64
+ v-model="staffPaymentData.bcolAccountNumber"
65
+ variant="filled"
66
+ label="BC Online Account Number"
67
+ :rules="validate ? bcolAccountNumberRules : []"
68
+ :disabled="bcolFormInputDisabled"
69
+ @keyup="staffPaymentData.bcolAccountNumber = staffPaymentData.bcolAccountNumber.trim()"
70
+ @focus="staffPaymentData.option = StaffPaymentOptions.BCOL"
71
+ />
72
+ <v-text-field
73
+ id="dat-number-textfield"
74
+ v-model="staffPaymentData.datNumber"
75
+ variant="filled"
76
+ label="DAT Number"
77
+ :rules="validate ? datNumberRules : []"
78
+ :disabled="bcolFormInputDisabled"
79
+ @keyup="staffPaymentData.datNumber = staffPaymentData.datNumber.trim()"
80
+ @focus="staffPaymentData.option = StaffPaymentOptions.BCOL"
81
+ />
82
+ <FolioNumberInput
83
+ ref="folioNumberInputRef"
84
+ :folioNumber="staffPaymentData.folioNumber"
85
+ :disabled="bcolFormInputDisabled"
86
+ validate="true"
87
+ @focus="staffPaymentData.option = StaffPaymentOptions.BCOL"
88
+ @emitFolioNumber="staffPaymentData.folioNumber = $event"
89
+ />
90
+ </v-form>
91
+
92
+ <!-- No Fee radio button -->
93
+ <v-radio
94
+ id="no-fee-radio"
95
+ class="mb-0 pt-2"
96
+ label="No Fee"
97
+ color="primary"
98
+ :value="StaffPaymentOptions.NO_FEE"
99
+ />
100
+ </v-radio-group>
101
+ <template v-if="displayPriorityCheckbox">
102
+ <v-divider class="mt-6" />
103
+
104
+ <!-- Priority checkbox -->
105
+ <v-checkbox
106
+ id="priority-checkbox"
107
+ v-model="staffPaymentData.isPriority"
108
+ class="priority-checkbox mt-6 pt-0"
109
+ label="Priority (add $100.00)"
110
+ color="primary"
111
+ hide-details
112
+ :disabled="staffPaymentData.option === StaffPaymentOptions.NO_FEE"
113
+ />
114
+ </template>
115
+ </v-col>
116
+ </v-row>
117
+ </div>
118
+ </template>
119
+
120
+ <script lang="ts">
121
+ import { Component, Prop, Watch, Emit, Vue } from 'vue-facing-decorator'
122
+ import { StaffPaymentOptions } from '@bcrs-shared-components/enums'
123
+ import { FolioNumberInput } from '@bcrs-shared-components/folio-number-input'
124
+ import { FormIF, StaffPaymentIF } from '@bcrs-shared-components/interfaces'
125
+
126
+ @Component({
127
+ components: { FolioNumberInput }
128
+ })
129
+ export default class StaffPayment extends Vue {
130
+ // To fix "property X does not exist on type Y" errors, annotate types for referenced components.
131
+ // ref: https://github.com/vuejs/vetur/issues/1414
132
+ // ref: https://github.com/vuejs/vue-class-component/issues/94
133
+ $refs!: Vue['$refs'] & {
134
+ fasForm: FormIF,
135
+ bcolForm: FormIF,
136
+ folioNumberInputRef: FolioNumberInput
137
+ }
138
+
139
+ /** Enum for template. */
140
+ readonly StaffPaymentOptions = StaffPaymentOptions
141
+
142
+ /** Whether to display side label. */
143
+ @Prop({ default: true }) readonly displaySideLabel!: boolean
144
+
145
+ /** Whether to display priority checkbox. */
146
+ @Prop({ default: true }) readonly displayPriorityCheckbox!: boolean
147
+
148
+ /** Whether to validate the fields. */
149
+ @Prop({ default: false }) readonly validate!: boolean
150
+
151
+ /** Whether to show invalid section styling (label only). */
152
+ @Prop({ default: false }) readonly invalidSection!: boolean
153
+
154
+ /** Staff Payment Data prop. */
155
+ @Prop({
156
+ default: () => {
157
+ return {
158
+ option: StaffPaymentOptions.NONE,
159
+ routingSlipNumber: null,
160
+ bcolAccountNumber: null,
161
+ datNumber: null,
162
+ folioNumber: null,
163
+ isPriority: false
164
+ }
165
+ }
166
+ })
167
+ readonly staffPaymentData!: StaffPaymentIF
168
+
169
+ /** Whether this component has been mounted. */
170
+ private isMounted = false
171
+
172
+ /** FAS form model property. */
173
+ private fasFormValid = false
174
+
175
+ /** BCOL form model property. */
176
+ private bcolFormValid = false
177
+
178
+ /** If FAS form inputs are disabled. */
179
+ get fasFormInputDisabled (): boolean {
180
+ return this.staffPaymentData.option === StaffPaymentOptions.BCOL ||
181
+ this.staffPaymentData.option === StaffPaymentOptions.NO_FEE
182
+ }
183
+
184
+ /** If BCOL form inputs are disabled. */
185
+ get bcolFormInputDisabled (): boolean {
186
+ return this.staffPaymentData.option === StaffPaymentOptions.FAS ||
187
+ this.staffPaymentData.option === StaffPaymentOptions.NO_FEE
188
+ }
189
+
190
+ /** Validation rules for Routing Slip Number. */
191
+ readonly routingSlipNumberRules: Array<(v) => boolean | string> = [
192
+ v => !!v || 'Enter FAS Routing Slip Number',
193
+ v => /^\d{9}$/.test(v) || 'Routing Slip Number must be 9 digits'
194
+ ]
195
+
196
+ /** Validation rules for BCOL Account Number. */
197
+ readonly bcolAccountNumberRules: Array<(v) => boolean | string> = [
198
+ v => !!v || 'Enter BC Online Account Number',
199
+ v => /^\d{6}$/.test(v) || 'BC Online Account Number must be 6 digits'
200
+ ]
201
+
202
+ /** Validation rules for DAT Number. */
203
+ readonly datNumberRules: Array<(v) => boolean | string> = [
204
+ v => !!v || 'Enter DAT Number',
205
+ v => /^[A-Z]{1}[0-9]{7,9}$/.test(v) || 'DAT Number must be in standard format (eg, C1234567)'
206
+ ]
207
+
208
+ /** Called when component is mounted. */
209
+ async mounted (): Promise<void> {
210
+ await this.$nextTick()
211
+ this.isMounted = true
212
+ }
213
+
214
+ /** Called when staff payment data option (radio group item) has changed. */
215
+ @Watch('staffPaymentData.option')
216
+ private onPaymentOptionChanged (val: number): void {
217
+ switch (val) {
218
+ case StaffPaymentOptions.FAS:
219
+ // reset other form
220
+ this.$refs.bcolForm.resetValidation()
221
+ this.$refs.folioNumberInputRef.resetFolioNumberValidation()
222
+ // enable validation for this form
223
+ this.$refs.fasForm.validate()
224
+ break
225
+
226
+ case StaffPaymentOptions.BCOL:
227
+ // reset other form
228
+ this.$refs.fasForm.resetValidation()
229
+ // enable validation for this form
230
+ this.$refs.bcolForm.validate()
231
+ break
232
+
233
+ case StaffPaymentOptions.NO_FEE:
234
+ // reset other forms
235
+ this.$refs.fasForm.resetValidation()
236
+ this.$refs.bcolForm.resetValidation()
237
+ this.$refs.folioNumberInputRef.resetFolioNumberValidation()
238
+ // update data
239
+ this.staffPaymentData.isPriority = false
240
+ break
241
+ }
242
+ }
243
+
244
+ /** Watches for changes to Staff Payment Data prop. */
245
+ @Watch('staffPaymentData', { deep: true, immediate: true })
246
+ private async onStaffPaymentDataChanged (val: StaffPaymentIF): Promise<void> {
247
+ this.emitStaffPaymentData({ ...this.staffPaymentData })
248
+ this.emitValid()
249
+ }
250
+
251
+ /** Emits an event to update the Staff Payment Data prop. */
252
+ @Emit('update:staffPaymentData')
253
+ private emitStaffPaymentData ({
254
+ option = StaffPaymentOptions.NONE,
255
+ routingSlipNumber = '',
256
+ bcolAccountNumber = '',
257
+ datNumber = '',
258
+ folioNumber = '',
259
+ isPriority = false
260
+ }): StaffPaymentIF {
261
+ // return only the appropriate fields for each option
262
+ switch (option) {
263
+ case StaffPaymentOptions.FAS:
264
+ return { option, routingSlipNumber, isPriority } as StaffPaymentIF
265
+
266
+ case StaffPaymentOptions.BCOL:
267
+ return { option, bcolAccountNumber, datNumber, folioNumber, isPriority } as StaffPaymentIF
268
+
269
+ case StaffPaymentOptions.NO_FEE:
270
+ return { option } as StaffPaymentIF
271
+ }
272
+ }
273
+
274
+ /** Watches for change to FAS form validity. */
275
+ @Watch('fasFormValid')
276
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
277
+ private onFasFormValid () {
278
+ // ignore initial condition
279
+ if (!this.isMounted) return
280
+ this.emitValid()
281
+ }
282
+
283
+ /** Watches for change to BCOL form validity. */
284
+ @Watch('bcolFormValid')
285
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
286
+ private onBcolFormValid () {
287
+ // ignore initial condition
288
+ if (!this.isMounted) return
289
+ this.emitValid()
290
+ }
291
+
292
+ /** Emits an event indicating whether or not this component is valid. */
293
+ @Emit('valid')
294
+ private emitValid (): boolean {
295
+ return (this.fasFormValid ||
296
+ (this.bcolFormValid && this.$refs.folioNumberInputRef.validateFolioNumber()) ||
297
+ (this.staffPaymentData.option === StaffPaymentOptions.NO_FEE)
298
+ )
299
+ }
300
+ }
301
+ </script>
302
+
303
+ <style lang="scss" scoped>
304
+ @import '@/assets/styles/theme.scss';
305
+
306
+ #staff-payment-container {
307
+ line-height: 1.2rem;
308
+ font-size: $px-16;
309
+ }
310
+
311
+ .title-label {
312
+ font-weight: bold;
313
+ color: $gray9;
314
+ }
315
+
316
+ .payment-container {
317
+ > label:first-child {
318
+ font-weight: 700;
319
+ margin-bottom: 2rem;
320
+ }
321
+ }
322
+
323
+ .payment-group {
324
+ margin-top: 0;
325
+ padding-top: 0;
326
+
327
+ :deep(> .v-input__control) {
328
+ margin-bottom: -12px;
329
+ }
330
+ }
331
+
332
+ // override Vuetify label colors
333
+ :deep() {
334
+ .v-input--selection-controls__ripple,
335
+ .v-text-field__slot .v-label,
336
+ .v-radio .v-label,
337
+ .v-input--checkbox .v-label {
338
+ color: $gray7 !important;
339
+ }
340
+ }
341
+ </style>
package/index.ts CHANGED
@@ -1 +1 @@
1
- export { default as StaffPayment } from './StaffPayment.vue'
1
+ export { default as StaffPayment } from './StaffPayment.vue'
package/package.json CHANGED
@@ -1,17 +1,16 @@
1
1
  {
2
2
  "name": "@bcrs-shared-components/staff-payment",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "dependencies": {
8
8
  "@bcrs-shared-components/enums": "^2.0.0",
9
- "@bcrs-shared-components/folio-number-input": "^2.0.1",
10
- "@bcrs-shared-components/interfaces": "^2.0.0",
11
- "vue": "^2.7.14"
9
+ "@bcrs-shared-components/folio-number-input": "^2.0.3",
10
+ "@bcrs-shared-components/interfaces": "^2.0.1"
12
11
  },
13
12
  "devDependencies": {
14
- "vue-property-decorator": "^9.1.2"
13
+ "vue-facing-decorator": "^3.0.3"
15
14
  },
16
- "gitHead": "41e6bc79f9e564618ac9a53db02303f1e15558bf"
15
+ "gitHead": "60abfe87e91cdc56175ad09b16fb27b5acaea9ea"
17
16
  }