@hmcts/ccd-case-ui-toolkit 7.0.18-rc2 → 7.0.18-rc4
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/esm2020/lib/shared/commons/address-validation-constants.mjs +2 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +1 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/commons/address-validation-constants.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4,10 +4,10 @@ export class AddressValidationConstants {
|
|
|
4
4
|
}
|
|
5
5
|
// allow alpha-numeric characters and spaces possibly between a connecting - character
|
|
6
6
|
// this applies validation while allowing partial postcodes
|
|
7
|
-
AddressValidationConstants.REGEX_POSTCODE = /^([A-Za-z0-9]
|
|
7
|
+
AddressValidationConstants.REGEX_POSTCODE = /^([A-Za-z0-9])+( )?([A-Za-z0-9])*$/;
|
|
8
8
|
AddressValidationConstants.ɵfac = function AddressValidationConstants_Factory(t) { return new (t || AddressValidationConstants)(); };
|
|
9
9
|
AddressValidationConstants.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AddressValidationConstants, factory: AddressValidationConstants.ɵfac });
|
|
10
10
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressValidationConstants, [{
|
|
11
11
|
type: Injectable
|
|
12
12
|
}], null, null); })();
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkcmVzcy12YWxpZGF0aW9uLWNvbnN0YW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tbW9ucy9hZGRyZXNzLXZhbGlkYXRpb24tY29uc3RhbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRzNDLE1BQU0sT0FBTywwQkFBMEI7O0FBQ3JDLHNGQUFzRjtBQUN0RiwyREFBMkQ7QUFDcEMseUNBQWMsR0FBRyxvQ0FBb0MsQ0FBQztvR0FIbEUsMEJBQTBCO2dGQUExQiwwQkFBMEIsV0FBMUIsMEJBQTBCO3VGQUExQiwwQkFBMEI7Y0FEdEMsVUFBVSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEFkZHJlc3NWYWxpZGF0aW9uQ29uc3RhbnRzIHtcbiAgLy8gYWxsb3cgYWxwaGEtbnVtZXJpYyBjaGFyYWN0ZXJzIGFuZCBzcGFjZXMgcG9zc2libHkgYmV0d2VlbiBhIGNvbm5lY3RpbmcgLSBjaGFyYWN0ZXJcbiAgLy8gdGhpcyBhcHBsaWVzIHZhbGlkYXRpb24gd2hpbGUgYWxsb3dpbmcgcGFydGlhbCBwb3N0Y29kZXNcbiAgcHVibGljIHN0YXRpYyByZWFkb25seSBSRUdFWF9QT1NUQ09ERSA9IC9eKFtBLVphLXowLTldKSsoICk/KFtBLVphLXowLTldKSokLztcbn1cbiJdfQ==
|
|
@@ -11065,7 +11065,7 @@ class AddressValidationConstants {
|
|
|
11065
11065
|
}
|
|
11066
11066
|
// allow alpha-numeric characters and spaces possibly between a connecting - character
|
|
11067
11067
|
// this applies validation while allowing partial postcodes
|
|
11068
|
-
AddressValidationConstants.REGEX_POSTCODE = /^([A-Za-z0-9]
|
|
11068
|
+
AddressValidationConstants.REGEX_POSTCODE = /^([A-Za-z0-9])+( )?([A-Za-z0-9])*$/;
|
|
11069
11069
|
AddressValidationConstants.ɵfac = function AddressValidationConstants_Factory(t) { return new (t || AddressValidationConstants)(); };
|
|
11070
11070
|
AddressValidationConstants.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AddressValidationConstants, factory: AddressValidationConstants.ɵfac });
|
|
11071
11071
|
(function () {
|