@bcrs-shared-components/staff-payment 1.0.27 → 1.0.32
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/StaffPayment.vue +1 -5
- package/package.json +5 -5
package/StaffPayment.vue
CHANGED
|
@@ -50,7 +50,6 @@
|
|
|
50
50
|
:disabled="paymentOption === StaffPaymentOptions.FAS || paymentOption === StaffPaymentOptions.NO_FEE"
|
|
51
51
|
@focus="paymentOption = StaffPaymentOptions.BCOL"
|
|
52
52
|
@emitFolioNumber="emitStaffPaymentData({ option: StaffPaymentOptions.BCOL, folioNumber: $event })"
|
|
53
|
-
@valid="folioNumberValid = $event"
|
|
54
53
|
validate="true"
|
|
55
54
|
/>
|
|
56
55
|
</v-form>
|
|
@@ -139,9 +138,6 @@ export default class StaffPayment extends Vue {
|
|
|
139
138
|
/** BCOL form model property. */
|
|
140
139
|
private bcolFormValid = false
|
|
141
140
|
|
|
142
|
-
/** Whether folio number is valid */
|
|
143
|
-
private folioNumberValid = false
|
|
144
|
-
|
|
145
141
|
/** Whether this component has been mounted. */
|
|
146
142
|
private isMounted = false
|
|
147
143
|
|
|
@@ -241,7 +237,7 @@ export default class StaffPayment extends Vue {
|
|
|
241
237
|
/** Emits an event indicating whether or not this component is valid. */
|
|
242
238
|
@Emit('valid')
|
|
243
239
|
private emitValid (): boolean {
|
|
244
|
-
return (this.fasFormValid || (this.bcolFormValid && this.
|
|
240
|
+
return (this.fasFormValid || (this.bcolFormValid && this.$refs.folioNumberInputRef.validateFolioNumber()) ||
|
|
245
241
|
(this.staffPaymentData.option === StaffPaymentOptions.NO_FEE))
|
|
246
242
|
}
|
|
247
243
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bcrs-shared-components/staff-payment",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@bcrs-shared-components/enums": "^1.0.
|
|
9
|
-
"@bcrs-shared-components/folio-number-input": "1.0.
|
|
10
|
-
"@bcrs-shared-components/interfaces": "^1.0.
|
|
8
|
+
"@bcrs-shared-components/enums": "^1.0.14",
|
|
9
|
+
"@bcrs-shared-components/folio-number-input": "^1.0.6",
|
|
10
|
+
"@bcrs-shared-components/interfaces": "^1.0.25",
|
|
11
11
|
"vue-property-decorator": "^8.4.0"
|
|
12
12
|
},
|
|
13
|
-
"gitHead": "
|
|
13
|
+
"gitHead": "24a60fb464af984d437394c01bf0f5e7747c084a"
|
|
14
14
|
}
|