Comparing version 0.1.6 to 0.1.7
@@ -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 @@ /** 是否为空 */ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
237687
1646