npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ihma-io/form

v0.11.0

Published

IHMA Form* maydon komponentlari (vee-validate + @ihma-io/ui ustida).

Downloads

97

Readme

@ihma-io/form

IHMA form maydonlari va data-entry komponentlari. Paket vee-validate, @ihma-io/ui va umumiy useFormField kontrakti ustida qurilgan.

import {
  FormFileUpload,
  FormInput,
  FormSelect,
  FormTable,
  FormWizard,
  useFormField,
} from '@ihma-io/form'

Named importlardan foydalaning; @ihma-io/ui yoki @ihma-io/form komponentlarini global ro'yxatdan o'tkazish paketning talabi emas.

CSS

Formning build qilingan CSS fayli alohida public export hisoblanadi:

@import 'tailwindcss';
@import '@ihma-io/tokens/tokens.css';
@import '@ihma-io/tokens/theme.css';
@import '@ihma-io/form/form.css';

@source '../node_modules/@ihma-io/ui/dist';
@source '../node_modules/@ihma-io/form/dist';

Tarkib

  • Maydonlar: input, textarea, number, select, combobox, picker, checkbox, radio, switch, tags va tree select.
  • Murakkab oqimlar: table, filters/actions, tabs/tab row, wizard, data card va file history.
  • File upload: adapter, chunk upload, preview, validation va persistence composablelari.

Upload resume persistence tenant/user bilan izolyatsiyalangan bo'lishi shart. persist yoqilsa, barqaror identity scope ham bering; scope bo'sh bo'lsa persistence xavfsizlik uchun fail-closed tarzda ishlamaydi:

<FormFileUpload
  :config="{ persist: true, persistenceScope: `${tenantId}:${userId}` }"
/>

Scope runtime'da o'zgarsa eski scope'ning in-memory chunk sessiyasi bekor qilinadi va yangi scope eski uploadIdni ishlatmaydi.

vue, vue-i18n, vee-validate, @vueuse/core, reka-ui, lucide-vue-next va @internationalized/date required peer hisoblanadi. axios, vue-sonner va xlsx faqat tegishli optional funksiyalar uchun kerak bo'ladi.

Excel preview va eksport

Excel funksiyalari ishlatilsa, SheetJS CE 0.20.3 ni rasmiy tarball orqali o'rnating. npm registry'dagi xlsx paketi eski 0.18.5 versiyada qolgan:

npm install --save https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz
# yoki
pnpm install --save https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz

SheetJS Node.js o'rnatish yo'riqnomasi tarballni vendoring qilishni ham tavsiya qiladi.

useFormField standart required xabari uchun t('validation.required') dan foydalanadi. Ilova shu i18n kalitini berishi yoki componentning errorMessages propi orqali xabarni almashtirishi kerak.