@allahjs/utils 1.9.0 → 1.10.0
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/dist/.tsbuildinfo +1 -1
- package/dist/browser/domUtils/index.cjs +102 -0
- package/dist/browser/domUtils/index.cjs.map +1 -1
- package/dist/browser/domUtils/index.d.ts +24 -0
- package/dist/core/constants/asyncTaskScheduleVo.d.ts +98 -0
- package/dist/core/constants/comm.cjs +25 -0
- package/dist/core/constants/comm.cjs.map +1 -0
- package/dist/core/constants/comm.d.ts +309 -0
- package/dist/core/constants/defaultData.cjs +16 -0
- package/dist/core/constants/defaultData.cjs.map +1 -0
- package/dist/core/constants/defaultData.d.ts +8 -0
- package/dist/core/constants/index.cjs +22 -0
- package/dist/core/constants/index.cjs.map +1 -0
- package/dist/core/constants/index.d.ts +4 -0
- package/dist/core/constants/systemEnum.d.ts +7 -1
- package/dist/core/dateUtils/index.cjs +46 -1
- package/dist/core/dateUtils/index.cjs.map +1 -1
- package/dist/core/dateUtils/index.d.ts +21 -1
- package/dist/core/index.cjs +19 -17
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +10 -0
- package/dist/esm/browser/domUtils/index.d.ts +24 -0
- package/dist/esm/browser/domUtils/index.js +102 -0
- package/dist/esm/browser/domUtils/index.js.map +1 -1
- package/dist/esm/core/constants/asyncTaskScheduleVo.d.ts +98 -0
- package/dist/esm/core/constants/comm.d.ts +309 -0
- package/dist/esm/core/constants/comm.js +25 -0
- package/dist/esm/core/constants/comm.js.map +1 -0
- package/dist/esm/core/constants/defaultData.d.ts +8 -0
- package/dist/esm/core/constants/defaultData.js +14 -0
- package/dist/esm/core/constants/defaultData.js.map +1 -0
- package/dist/esm/core/constants/index.d.ts +4 -0
- package/dist/esm/core/constants/index.js +4 -0
- package/dist/esm/core/constants/index.js.map +1 -0
- package/dist/esm/core/constants/systemEnum.d.ts +7 -1
- package/dist/esm/core/dateUtils/index.d.ts +21 -1
- package/dist/esm/core/dateUtils/index.js +46 -2
- package/dist/esm/core/dateUtils/index.js.map +1 -1
- package/dist/esm/core/index.d.ts +10 -0
- package/dist/esm/core/index.js +3 -1
- package/dist/esm/core/index.js.map +1 -1
- package/dist/esm/form/index.d.ts +1 -0
- package/dist/esm/form/index.js +2 -0
- package/dist/esm/form/index.js.map +1 -0
- package/dist/esm/form/types.d.ts +878 -0
- package/dist/esm/index.d.ts +5 -2
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/data/index.d.ts +22 -1
- package/dist/esm/types/index.d.ts +1 -1
- package/dist/form/index.cjs +3 -0
- package/dist/form/index.cjs.map +1 -0
- package/dist/form/index.d.ts +1 -0
- package/dist/form/types.d.ts +878 -0
- package/dist/index.cjs +42 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/types/data/index.d.ts +22 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as stringUtils } from './core/stringUtils/index.js';
|
|
2
2
|
export { default as arrayUtils } from './core/arrayUtils/index.js';
|
|
3
3
|
export { default as objectUtils } from './core/objectUtils/index.js';
|
|
4
|
-
export { default as dateUtils } from './core/dateUtils/index.js';
|
|
4
|
+
export { default as dateUtils, templateObj } from './core/dateUtils/index.js';
|
|
5
5
|
export { default as numberUtils } from './core/numberUtils/index.js';
|
|
6
6
|
export { default as validationUtils } from './core/validationUtils/index.js';
|
|
7
7
|
export { default as asyncUtils } from './core/asyncUtils/index.js';
|
|
@@ -9,6 +9,8 @@ export { default as colorUtils } from './core/colorUtils/index.js';
|
|
|
9
9
|
export { default as cryptoUtils } from './core/cryptoUtils/index.js';
|
|
10
10
|
export { ITablePage, defTableData, default as pageUtils } from './core/pageUtils/index.js';
|
|
11
11
|
export { default as storageUtils } from './core/storageUtils/index.js';
|
|
12
|
+
import * as index from './core/constants/index.js';
|
|
13
|
+
export { index as constants };
|
|
12
14
|
export { default as domUtils } from './browser/domUtils/index.js';
|
|
13
15
|
export { default as cookieUtils } from './browser/cookieUtils/index.js';
|
|
14
16
|
export { default as urlUtils } from './browser/urlUtils/index.js';
|
|
@@ -17,7 +19,8 @@ export { ExistenceValidationResponse, FamilyValidationResponse, StandardResponse
|
|
|
17
19
|
export { ActionSheetItem, ActionSheetOptions, BatchOperationTips, ModalButton, ModalOptions, Tips, ToastPosition, ToastType, hideLoading, hideToast, showActionSheet, showConfirmDialog, showDeleteConfirm, showErrorToast, showErrorToastDebounced, showErrorToastWithCallback, showInputDialog, showLoading, showLoadingWithAsync, showModal, showNetworkError, showPermissionRequest, showSuccessToast, showSuccessToastDebounced, showSuccessToastWithCallback, showToast, showUpdateDialog, showWarningToast } from './uniapp/Tips/index.js';
|
|
18
20
|
export { cloudUtils } from './uniapp/cloudUtils/index.js';
|
|
19
21
|
export { IInitialUmiState, IInitialUmiStateParams, buildLoginPath, getJwtToken, initialUmiState, isLogin, loginOk, toLogin } from './umijs/initialUmiState.js';
|
|
20
|
-
export {
|
|
22
|
+
export { FieldData, FieldError, FilterFunc, FormFieldType, FormInstance, FormItemLabelProps, FormItemProps, GetFieldsValueConfig, IDependent, IEnumObj, IEnumObjAll, IFormColumns, IJsonRuleItem, IJsonRuleListItem, ISizeType, IUploadProps, IValueType, IZlCascaderProps, IZlFormColumns, IZlFormItemProps, InternalFieldData, InternalNamePath, Meta, NamePath, ProFieldValueType, ProFieldValueTypeWithFieldProps, ProFormInstance, ProFormInstanceType, ProSchemaValueEnumMap, ProSchemaValueEnumObj, ProSchemaValueEnumType, RcFormInstance, RequiredMark, RuleType, TooltipProps, ValidateFields, ValidateOptions, ValidateStatus, WrapperTooltipProps } from './form/types.js';
|
|
23
|
+
export { IBaseFilter, IOptions, IOptions2, IOptions61, ITreeNode, IValidityNum, IWaterInfo, IWaterLives, defBaseFilter } from './types/data/index.js';
|
|
21
24
|
export { ICacheData, ICallBack, IRequestOption } from './request/typings/index.js';
|
|
22
25
|
|
|
23
26
|
declare const version = "1.0.0";
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as stringUtils } from './core/stringUtils/index.js';
|
|
2
2
|
export { default as arrayUtils } from './core/arrayUtils/index.js';
|
|
3
3
|
export { default as objectUtils } from './core/objectUtils/index.js';
|
|
4
|
-
export { default as dateUtils } from './core/dateUtils/index.js';
|
|
4
|
+
export { default as dateUtils, templateObj } from './core/dateUtils/index.js';
|
|
5
5
|
export { default as numberUtils } from './core/numberUtils/index.js';
|
|
6
6
|
export { default as validationUtils } from './core/validationUtils/index.js';
|
|
7
7
|
export { default as asyncUtils } from './core/asyncUtils/index.js';
|
|
@@ -9,6 +9,8 @@ export { default as colorUtils } from './core/colorUtils/index.js';
|
|
|
9
9
|
export { default as cryptoUtils } from './core/cryptoUtils/index.js';
|
|
10
10
|
export { defTableData, default as pageUtils } from './core/pageUtils/index.js';
|
|
11
11
|
export { default as storageUtils } from './core/storageUtils/index.js';
|
|
12
|
+
import * as index from './core/constants/index.js';
|
|
13
|
+
export { index as constants };
|
|
12
14
|
export { default as domUtils } from './browser/domUtils/index.js';
|
|
13
15
|
export { default as cookieUtils } from './browser/cookieUtils/index.js';
|
|
14
16
|
export { default as urlUtils } from './browser/urlUtils/index.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/index.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAEA;AAoCA;AACO,MAAM,OAAO,GAAG;;;;"}
|
|
@@ -183,6 +183,27 @@ interface IWaterLives {
|
|
|
183
183
|
*/
|
|
184
184
|
reporttime: string;
|
|
185
185
|
}
|
|
186
|
+
/**
|
|
187
|
+
* antd的tree组件的节点数据
|
|
188
|
+
*/
|
|
189
|
+
interface ITreeNode {
|
|
190
|
+
title: string | any;
|
|
191
|
+
label: string | any;
|
|
192
|
+
key: string;
|
|
193
|
+
value: string;
|
|
194
|
+
/**
|
|
195
|
+
* 父编码
|
|
196
|
+
*/
|
|
197
|
+
pcode: string;
|
|
198
|
+
/**
|
|
199
|
+
* 是否是叶子节点 true 是叶子节点 false 不是叶子节点
|
|
200
|
+
*/
|
|
201
|
+
isLeaf: boolean;
|
|
202
|
+
other?: Record<string, any>;
|
|
203
|
+
children?: ITreeNode[];
|
|
204
|
+
loading?: boolean;
|
|
205
|
+
disabled?: boolean;
|
|
206
|
+
}
|
|
186
207
|
|
|
187
208
|
export { defBaseFilter };
|
|
188
|
-
export type { IBaseFilter, IOptions, IOptions2, IOptions61, IValidityNum, IWaterInfo, IWaterLives };
|
|
209
|
+
export type { IBaseFilter, IOptions, IOptions2, IOptions61, ITreeNode, IValidityNum, IWaterInfo, IWaterLives };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { IBaseFilter, IOptions, IOptions2, IOptions61, IValidityNum, IWaterInfo, IWaterLives, defBaseFilter } from './data/index.js';
|
|
1
|
+
export { IBaseFilter, IOptions, IOptions2, IOptions61, ITreeNode, IValidityNum, IWaterInfo, IWaterLives, defBaseFilter } from './data/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FieldData, FieldError, FilterFunc, FormFieldType, FormInstance, FormItemLabelProps, FormItemProps, GetFieldsValueConfig, IDependent, IEnumObj, IEnumObjAll, IFormColumns, IJsonRuleItem, IJsonRuleListItem, ISizeType, IUploadProps, IValueType, IZlCascaderProps, IZlFormColumns, IZlFormItemProps, InternalFieldData, InternalNamePath, Meta, NamePath, ProFieldValueType, ProFieldValueTypeWithFieldProps, ProFormInstance, ProFormInstanceType, ProSchemaValueEnumMap, ProSchemaValueEnumObj, ProSchemaValueEnumType, RcFormInstance, RequiredMark, RuleType, TooltipProps, ValidateFields, ValidateOptions, ValidateStatus, WrapperTooltipProps } from './types.js';
|