2026-11-19 16:05:56 +08:00

1.6 KiB

Utilities

@/utils aggregates public template utilities. Application initialization and lower-level code can use focused entries such as @/utils/core, @/utils/cache, and @/utils/files to avoid importing unrelated dependencies. Legacy basic.ts and c/ remain forwarding entries.

Topic APIs
Core, dates, and numbers Type checks, PromiseLike, random identifiers, error handling, object updates, date ranges, and fixed-point arithmetic
Storage and legacy encryption Local and Session Storage, prefixes, and legacy AES JSON
Vue and browser utilities Ref and DOM unwrapping, styles, queries, downloads, capture, printing, and menu positioning

Run downloads and printing in the browser. Create reactive DOM utilities in a Vue scope. Storage and file API generics provide types. Validate data when it crosses a trust boundary.

Public exports · Implementation and regression index