@wangcheng051/plugin-kit 0.1.1 → 0.2.1

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/dist/index.d.ts CHANGED
@@ -92,7 +92,10 @@ export const STATUS_PRESETS: Record<
92
92
  /** 字典状态常见色值映射 */
93
93
  export const DICT_COLOR_MAP: Record<string, string>;
94
94
 
95
- /** v31 可用的经典主题名 */
95
+ /** 表格容器 class,同时是 ag-grid 样式的作用域(隔离宿主样式) */
96
+ export const AG_GRID_SCOPE_CLASS: 'pk-ag-grid';
97
+
98
+ /** 兼容旧 API 的主题名列表;隔离后只内置 alpine 一套样式 */
96
99
  export const AG_GRID_THEMES: AgGridTheme[];
97
100
 
98
101
  /** 默认主题 */
@@ -100,6 +103,7 @@ export const DEFAULT_AG_GRID_THEME: AgGridTheme;
100
103
 
101
104
  /**
102
105
  * 生成 ag-grid 容器所需的 className。
106
+ * 当前恒返回作用域类 `pk-ag-grid`(+ extra),theme 参数仅为兼容旧调用。
103
107
  */
104
108
  export function agGridClass(
105
109
  theme?: AgGridTheme,