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

zf-utilz

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zf-utilz - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

28

dist/core.d.ts

@@ -283,14 +283,29 @@ export { default as clone } from 'lodash-es/clone';

declare class Paging<RecordItem extends Any> {
#private;
/** 请求ID */
private _requestId;
/** 当前页数 */
private _page;
get page(): number;
set page(value: number);
/** 每页数量 */
private _size;
get size(): number;
set size(value: number);
/** 总记录数 */
private _total;
get total(): number;
/** 范围 */
private _records;
get records(): RecordItem[];
/** 是否加载中 */
private _loading;
get loading(): boolean;
/** 加载失败错误对象 */
private _error;
get error(): Error | null;
/** 加载失败错误信息 */
private _errorMessage;
get errorMessage(): string | null;
/** 请求服务 */
private _service;
/** 构造函数 */
constructor(service: Service<RecordItem>);
constructor(service: Service<RecordItem>, size?: number);
/** 跳转到 page 页 */

@@ -314,4 +329,7 @@ go(page: number): Promise<{

declare class PagingLazy<RecordItem extends Any> extends Paging<RecordItem> {
#private;
/** 列表 */
private _list;
get list(): RecordItem[];
/** 是否加载完成 */
private _finished;
get finished(): boolean;

@@ -318,0 +336,0 @@ /** 是否为空 */

@@ -323,14 +323,29 @@ export { default as clone } from 'lodash-es/clone';

declare class Paging<RecordItem extends Any> {
#private;
/** 请求ID */
private _requestId;
/** 当前页数 */
private _page;
get page(): number;
set page(value: number);
/** 每页数量 */
private _size;
get size(): number;
set size(value: number);
/** 总记录数 */
private _total;
get total(): number;
/** 范围 */
private _records;
get records(): RecordItem[];
/** 是否加载中 */
private _loading;
get loading(): boolean;
/** 加载失败错误对象 */
private _error;
get error(): Error | null;
/** 加载失败错误信息 */
private _errorMessage;
get errorMessage(): string | null;
/** 请求服务 */
private _service;
/** 构造函数 */
constructor(service: Service<RecordItem>);
constructor(service: Service<RecordItem>, size?: number);
/** 跳转到 page 页 */

@@ -354,4 +369,7 @@ go(page: number): Promise<{

declare class PagingLazy<RecordItem extends Any> extends Paging<RecordItem> {
#private;
/** 列表 */
private _list;
get list(): RecordItem[];
/** 是否加载完成 */
private _finished;
get finished(): boolean;

@@ -358,0 +376,0 @@ /** 是否为空 */

2

package.json
{
"name": "zf-utilz",
"version": "0.1.6",
"version": "0.1.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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