@einfach-excel/react-excel 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/NOTICE +9 -0
- package/README.md +218 -2
- package/dist/Spreadsheet.d.ts +8 -0
- package/dist/THIRD_PARTY_NOTICES.txt +14020 -0
- package/dist/artifact-manifest.json +46 -0
- package/dist/assets/workbook.worker-x_d_i2qm.js +6 -0
- package/dist/i18n/runtime.d.ts +5 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +10 -0
- package/dist/page/WorkbookPresentationProvider.d.ts +16 -0
- package/dist/page/WorkbookRuntimeProvider.d.ts +13 -0
- package/dist/page/WorkbookStoreProvider.d.ts +11 -0
- package/dist/style.css +2 -0
- package/dist/workbook/shell/WorkbookView.d.ts +2 -0
- package/docs/package/README.md +101 -0
- package/docs/package/host-data.md +61 -0
- package/docs/package/release.md +59 -0
- package/package.json +88 -3
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type UiLocale = 'en' | 'zh';
|
|
2
|
+
/** 接受常用 BCP 47 地区变体;不把未知语言误识别为已支持语言。 */
|
|
3
|
+
export declare function supportedUiLocale(value: string | null | undefined): UiLocale | undefined;
|
|
4
|
+
/** 每个默认挂载拥有独立词典实例;库不读取宿主 URL、浏览器语言或存储。 */
|
|
5
|
+
export declare function createWorkbookI18n(locale?: UiLocale): import("@lingui/core").I18n;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Spreadsheet, type SpreadsheetProps } from './Spreadsheet';
|
|
2
|
+
export { WorkbookRuntimeProvider, type WorkbookRuntimeProviderProps, } from './page/WorkbookRuntimeProvider';
|
|
3
|
+
export { WorkbookStoreProvider, type WorkbookStoreProviderProps, } from './page/WorkbookStoreProvider';
|
|
4
|
+
export { WorkbookView } from './workbook/shell/WorkbookView';
|
|
5
|
+
/** 完整视图不接收数据 props;受控消费者通过同一 Store 提供 Core 状态。 */
|
|
6
|
+
export type WorkbookViewProps = Record<string, never>;
|