pakdatakit-vue 0.1.0
pakdatakit-vue 0.1.0 on its registry
First release.
useCnic,usePhoneanduseIbancomposables: format as you type, keep the caret in place when separators are added or removed, and reportempty/incomplete/valid/invalidwith the decoded details. Same behaviour as thepakdatakit-reacthooks.v-pak-inputdirective for a plain<input>, with or withoutv-model, and aPakDataKitplugin that registers it globally.PakCheckoutFormandPakKycForm: unstyled, accessible checkout and KYC forms withv-modeland@submit, validation from pakdatakit, masked mobile and CNIC inputs, a province → district → (tehsil) cascade with city suggestions, English and Urdu text (locale,labels), and optional address and phone hints that loadpakdatakit/qualityand the post office directory on demand.usePakForm,useCheckoutFormanduseKycFormcomposables, and the helpers behind the forms (validatePakForm,withField,citySuggestions,PAK_PROVINCES,formText,PAK_FORM_TEXT).- Requires Vue 3.3 or later and
pakdatakit2.4.0 or later (the hints use the quality functions added in 2.4.0).