@flatbiz/pro-layout 4.4.3 → 4.4.5

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/index.d.ts CHANGED
@@ -340,6 +340,24 @@ export type BootstrapOptions = {
340
340
  * 显示header菜单icon
341
341
  */
342
342
  showHeaderMenuIcon?: boolean;
343
+ /**
344
+ * 基本颜色配置
345
+ * ```
346
+ * 默认值:
347
+ * dark: { bgColor: '#1b1a1a', blockBgColor: '#000' }
348
+ * light: { bgColor: '#f9f9f9', blockBgColor: '#FFF' }
349
+ * ```
350
+ */
351
+ bgColorConfig?: {
352
+ dark?: {
353
+ bgColor?: string;
354
+ blockBgColor?: string;
355
+ };
356
+ light?: {
357
+ bgColor?: string;
358
+ blockBgColor?: string;
359
+ };
360
+ };
343
361
  };
344
362
  export type LayoutCtxProps = {
345
363
  menus: TMenuItem[];
@@ -515,6 +533,7 @@ export type IframeApiProps = {
515
533
  openBrowserWindow: (url: string) => IframeApiProps;
516
534
  /** 刷新当前iframe tab */
517
535
  locationHref: (url: string) => IframeApiProps;
536
+ /** iframe tab路由变更,可修改当前url地址(不会重新刷新当前页面) */
518
537
  tabItemHistoryChange: (link: string) => IframeApiProps;
519
538
  /** 通过菜单Id打开新的iframe tab窗口 */
520
539
  openNewTabItemByMenuId: (data: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatbiz/pro-layout",
3
- "version": "4.4.3",
3
+ "version": "4.4.5",
4
4
  "description": "WEB菜单布局",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",