Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@easy-page/react-ui

Package Overview
Dependencies
Maintainers
0
Versions
92
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.16 to 1.0.17

8

devStateDebugger/const.d.ts

@@ -7,1 +7,9 @@ export declare enum TriggerChangeSence {

}
export declare enum DefaultValueSource {
/** 来源于表单的 Props */
FromProps = "FromProps",
/** 来源于 preprocess 计算 */
FromPreprocess = "FromPreprocess",
/** 来源于 node 本身配置 */
FromNode = "fromNode"
}

12

devStateDebugger/index.d.ts

@@ -0,4 +1,11 @@

import { DefaultValueSource } from './const';
export declare const generateId: (prefix: string) => string;
export type DevStateDeuggerOptions = {
formId: string;
};
export type DefaultValueInfo = {
id: string;
value: any;
source: DefaultValueSource;
};
export type LoggerInfo = {

@@ -14,3 +21,6 @@ time: number;

constructor({ formId }: DevStateDeuggerOptions);
getStore(): Record<string, LoggerInfo[]>;
getFieldKey(id: string): string;
printDefaultValueLog(id: string): void;
setValuesInfo(logsInfo: Record<string, DefaultValueInfo>): void;
getStore(): Record<string, LoggerInfo[] | DefaultValueInfo[]>;
setStore(id: string, loggs: LoggerInfo[]): void;

@@ -17,0 +27,0 @@ printLogs(id: string): void;

3

model/index.d.ts

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

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

@@ -16,2 +16,3 @@ pageState: PageState;

debugger?: boolean;
logsInfo?: Record<string, DefaultValueInfo>;
};

@@ -18,0 +19,0 @@ /**

{
"name": "@easy-page/react-ui",
"version": "1.0.16",
"version": "1.0.17",
"main": "./index.js",

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

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