@apollo-office/sheets-numfmt-ui
v1.0.1
Published
Number format menus, editors, and previews for Univer Sheets.
Maintainers
Readme
@apollo-office/sheets-numfmt-ui
@apollo-office/sheets-numfmt-ui adds number-format UI for Univer Sheets, including menus, editors, previews, and locale-aware formatting controls.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| @apollo-office/sheets-numfmt-ui | UniverSheetsNumfmtUi | Yes | Yes | No |
Installation
pnpm add @apollo-office/sheets-numfmt-ui
# or
npm install @apollo-office/sheets-numfmt-uiKeep all @univerjs/* packages on the same version.
Usage
import '@apollo-office/sheets-numfmt-ui/lib/index.css';
import EnUS from '@apollo-office/sheets-numfmt-ui/locale/en-US';
import { UniverSheetsNumfmtUIPlugin } from '@apollo-office/sheets-numfmt-ui';
univer.registerPlugin(UniverSheetsNumfmtUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.