pakdatakit-angular 0.1.0
pakdatakit-angular 0.1.0 on its registry
First release.
- Standalone directives
pakCnicInput,pakPhoneInputandpakIbanInput: format as you type, keep the caret in place, and work withformControl,formControlNameandngModel. - Standalone pipes
pakCnic,pakPhone,pakIbanandpakPkr. PakValidatorsfor reactive forms:cnic,phone,iban,ntn,strn,landline,passportandvehiclePlate.PakCheckoutFormComponent(pak-checkout-form) andPakKycFormComponent(pak-kyc-form): standalone, unstyled, accessible checkout and KYC forms on reactive forms, withlocale,labels,tehsil,hintsandvalueinputs andsubmitted/valueChangeoutputs. Validation from pakdatakit, masked mobile and CNIC inputs, a province → district → (tehsil) cascade with city suggestions, English and Urdu text, and optional address and phone hints that loadpakdatakit/qualityand the post office directory on demand.PakLocationServicefor the location cascade,PakValidators.postalCode,pakRequiredTrimmed, and the helpers behind the forms (validatePakForm,citySuggestions,PAK_PROVINCES,formText).- Requires Angular 17 to 22 and
pakdatakit2.4.0 or later (the form hints use the quality functions added in 2.4.0). Tested in CI on Angular 17, 18, 19 and 22.