New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@easy-page/react-ui

Package Overview
Dependencies
Maintainers
0
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easy-page/react-ui - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

devStateDebugger/const.d.ts

14

connector/getDefaultVisible.d.ts
import { SchemaNodeInfo } from "@easy-page/core";
import { DefaultPageProps } from "../types";
export declare const getDefaultVisible: (nodeInfo: SchemaNodeInfo<Record<string, any>, DefaultPageProps<Record<string, any>>>) => boolean;
/**
* - 对于节点而言
* - 非 formItem 包裹的,会自己执行副作用,允许根据自己是否有 when 来决定默认是否显示
* - formItem 包裹的,是否展示取决于:formItem,本身默认必展示。
*
* @param nodeInfo
* @param uiType
* @returns
*/
export declare const getDefaultVisible: (nodeInfo: SchemaNodeInfo<Record<string, any>, DefaultPageProps<Record<string, any>>>, options: {
uiType: string;
isForm: boolean;
}) => boolean;

@@ -5,2 +5,3 @@ import { Schema } from '@easy-page/core';

import { ShowChildrenMap } from '../view';
import { DevStateDeugger } from '../devStateDebugger';
export type EasyPageStoreOptions<PageState, PageProps> = {

@@ -14,2 +15,3 @@ pageState: PageState;

showChildren?: ShowChildrenMap<PageState>;
debugger?: boolean;
};

@@ -33,2 +35,3 @@ /**

private uiConfig;
debugger: DevStateDeugger | null;
constructor(options: EasyPageStoreOptions<PageState, PageProps>);

@@ -35,0 +38,0 @@ /**

3

package.json
{
"name": "@easy-page/react-ui",
"version": "1.0.12",
"version": "1.0.13",
"main": "./index.js",

@@ -36,4 +36,5 @@ "types": "./index.d.ts",

"@easy-page/core": "^1.0.3",
"flatted": "^3.3.1",
"lodash": "^4.17.21"
}
}

@@ -68,2 +68,4 @@ /// <reference types="react" />

showChildren?: ShowChildrenMap<PageState>;
/** 开启 debug 将会在 window 上存储状态变化日志 */
debugger?: boolean;
};

@@ -70,0 +72,0 @@ /**

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc