@fox-js/foxui-pad 4.0.1-1 → 4.0.1-11
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/index.cjs.js +4 -4
- package/dist/index.esm.js +6479 -4280
- package/dist/index.umd.js +5 -5
- package/dist/locale/index.esm.js +163 -163
- package/dist/locale/index.umd.js +3 -0
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/dist/types/index.d.ts +198 -40
- package/package.json +4 -4
- package/dist/locale/index.cjs.js +0 -3
package/dist/style.esm.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { AllowedComponentProps } from 'vue';
|
|
2
2
|
import { App } from 'vue';
|
|
3
|
-
import { clone } from '@fox-js/fox';
|
|
4
3
|
import { compareTo } from '@fox-js/big-decimal';
|
|
5
4
|
import type { ComponentCustomProps } from 'vue';
|
|
6
5
|
import { ComponentInternalInstance } from 'vue';
|
|
@@ -10,7 +9,6 @@ import type { ComputedOptions } from 'vue';
|
|
|
10
9
|
import type { DefineComponent } from 'vue';
|
|
11
10
|
import { divide } from '@fox-js/big-decimal';
|
|
12
11
|
import { ExecuteValidator } from '@fox-js/validator';
|
|
13
|
-
import { extend } from '@fox-js/fox';
|
|
14
12
|
import { ElAffix as FoxAffix } from 'element-plus';
|
|
15
13
|
import { ElAlert as FoxAlert } from 'element-plus';
|
|
16
14
|
import { ElAside as FoxAside } from 'element-plus';
|
|
@@ -105,27 +103,12 @@ import { ElTree as FoxTree } from 'element-plus';
|
|
|
105
103
|
import { ElTreeSelect as FoxTreeSelect } from 'element-plus';
|
|
106
104
|
import { ElTreeV2 as FoxTreeV2 } from 'element-plus';
|
|
107
105
|
import { ElUpload as FoxUpload } from 'element-plus';
|
|
108
|
-
import { isArray } from '@fox-js/fox';
|
|
109
|
-
import { isDate } from '@fox-js/fox';
|
|
110
|
-
import { isEqual } from '@fox-js/fox';
|
|
111
|
-
import { isESModule } from '@fox-js/fox';
|
|
112
|
-
import { isFunction } from '@fox-js/fox';
|
|
113
|
-
import { isMap } from '@fox-js/fox';
|
|
114
|
-
import { isObject } from '@fox-js/fox';
|
|
115
|
-
import { isPlainObject } from '@fox-js/fox';
|
|
116
|
-
import { isPromise } from '@fox-js/fox';
|
|
117
|
-
import { isSet } from '@fox-js/fox';
|
|
118
|
-
import { isString } from '@fox-js/fox';
|
|
119
|
-
import { isSymbol } from '@fox-js/fox';
|
|
120
106
|
import type { MethodOptions } from 'vue';
|
|
121
107
|
import { multiply } from '@fox-js/big-decimal';
|
|
122
108
|
import { negate } from '@fox-js/big-decimal';
|
|
123
109
|
import { numberFormat } from '@fox-js/big-decimal';
|
|
124
110
|
import { Ref } from 'vue';
|
|
125
111
|
import { Rule } from '@fox-js/validator';
|
|
126
|
-
import { toBoolean } from '@fox-js/fox';
|
|
127
|
-
import { toNumber } from '@fox-js/fox';
|
|
128
|
-
import { toTypeString } from '@fox-js/fox';
|
|
129
112
|
import { unNumberFormat } from '@fox-js/big-decimal';
|
|
130
113
|
import { UnwrapNestedRefs } from 'vue';
|
|
131
114
|
import { UnwrapRef } from 'vue';
|
|
@@ -234,7 +217,15 @@ export declare const CheckboxItem: DefineComponent<unknown, object, {}, Computed
|
|
|
234
217
|
*/
|
|
235
218
|
export declare function clearNonNumber(value: string, allowDot?: boolean, allowMinus?: boolean): string;
|
|
236
219
|
|
|
237
|
-
|
|
220
|
+
/**
|
|
221
|
+
* 克隆对象
|
|
222
|
+
* @param target
|
|
223
|
+
* @param source
|
|
224
|
+
* @param plain
|
|
225
|
+
*
|
|
226
|
+
* @returns
|
|
227
|
+
*/
|
|
228
|
+
export declare function clone(target: any, source: any, plain?: boolean): any;
|
|
238
229
|
|
|
239
230
|
export { compareTo }
|
|
240
231
|
|
|
@@ -272,10 +263,17 @@ export declare const DatePicker: DefineComponent<unknown, object, {}, ComputedOp
|
|
|
272
263
|
/**
|
|
273
264
|
* 防抖函数
|
|
274
265
|
* @param func 函数
|
|
275
|
-
* @param
|
|
266
|
+
* @param delay 防止抖动毫秒数
|
|
276
267
|
* @returns
|
|
277
268
|
*/
|
|
278
|
-
export declare function debounce(func: GenericFunction,
|
|
269
|
+
export declare function debounce(func: GenericFunction, delay: number): GenericFunction;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* 防抖Ref
|
|
273
|
+
* @param value
|
|
274
|
+
* @param delay
|
|
275
|
+
*/
|
|
276
|
+
export declare function debounceRef<T>(value: T, delay: number): Ref<T>;
|
|
279
277
|
|
|
280
278
|
/**
|
|
281
279
|
* 获取小数长度
|
|
@@ -294,6 +292,15 @@ export default _default;
|
|
|
294
292
|
*/
|
|
295
293
|
export declare function defineBroadcast(name?: string, callbacks?: Record<string, BroadcastCallback>, proxy?: FoxComponentPublicInstance): Broadcast | null;
|
|
296
294
|
|
|
295
|
+
/**
|
|
296
|
+
* 安装config domain
|
|
297
|
+
* @param name 名称
|
|
298
|
+
* @param props 属性
|
|
299
|
+
* @param ignores 忽略的属性
|
|
300
|
+
* @returns
|
|
301
|
+
*/
|
|
302
|
+
export declare function defineConfigDomain(name: string | null, props: Record<string, any>, ignores?: any[]): Domain;
|
|
303
|
+
|
|
297
304
|
/**
|
|
298
305
|
* 定义domain data item
|
|
299
306
|
* @returns
|
|
@@ -469,6 +476,8 @@ export declare interface DomainItem {
|
|
|
469
476
|
*/
|
|
470
477
|
export declare const DomainKey: unique symbol;
|
|
471
478
|
|
|
479
|
+
export declare const DomainProvider: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
480
|
+
|
|
472
481
|
/**
|
|
473
482
|
* event listener
|
|
474
483
|
*/
|
|
@@ -484,7 +493,12 @@ declare interface EventListener_2 {
|
|
|
484
493
|
*/
|
|
485
494
|
export declare function excludeProps(src: Record<string, any>, ...excludeTemplates: Record<string, any>[]): Record<string, any>;
|
|
486
495
|
|
|
487
|
-
|
|
496
|
+
/**
|
|
497
|
+
* 继承(是否深度拷贝,dest,src1,src2,src3...)
|
|
498
|
+
*
|
|
499
|
+
* @returns
|
|
500
|
+
*/
|
|
501
|
+
export declare function extend(...args: any[]): any;
|
|
488
502
|
|
|
489
503
|
export declare const ExtIcon: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
490
504
|
|
|
@@ -745,6 +759,7 @@ declare interface FoxUI {
|
|
|
745
759
|
* UI Options
|
|
746
760
|
*/
|
|
747
761
|
declare interface FoxUIOptions {
|
|
762
|
+
install?: boolean;
|
|
748
763
|
headerBarHeight?: number;
|
|
749
764
|
footerBarHeight?: number;
|
|
750
765
|
safeAreaInset?: SafeAreaInset;
|
|
@@ -897,6 +912,11 @@ declare interface GroupLayout {
|
|
|
897
912
|
gutter: number;
|
|
898
913
|
}
|
|
899
914
|
|
|
915
|
+
/**
|
|
916
|
+
* 是否支持symbol
|
|
917
|
+
*/
|
|
918
|
+
export declare const hasSymbol: boolean;
|
|
919
|
+
|
|
900
920
|
export declare const HeaderBar: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
901
921
|
|
|
902
922
|
export declare const HintText: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
@@ -930,20 +950,41 @@ declare interface Installer {
|
|
|
930
950
|
(app: App, options?: any): void;
|
|
931
951
|
}
|
|
932
952
|
|
|
953
|
+
/**
|
|
954
|
+
* 安装校验规则
|
|
955
|
+
* @param proxy
|
|
956
|
+
*/
|
|
957
|
+
export declare function installRules(proxy: FoxComponentPublicInstance, validateScheme: ValidateSchema, name: string): void;
|
|
958
|
+
|
|
933
959
|
/**
|
|
934
960
|
* 获取整数长度
|
|
935
961
|
* @param value
|
|
936
962
|
*/
|
|
937
963
|
export declare function integerLength(value: string | number): number;
|
|
938
964
|
|
|
939
|
-
|
|
965
|
+
/**
|
|
966
|
+
* 是否数组
|
|
967
|
+
*/
|
|
968
|
+
export declare const isArray: (arg: any) => arg is any[];
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* 是否为类数组
|
|
972
|
+
* @param obj
|
|
973
|
+
* @returns {boolean}
|
|
974
|
+
*/
|
|
975
|
+
export declare function isArrayLike(obj: any): boolean;
|
|
940
976
|
|
|
941
977
|
/**
|
|
942
978
|
* 是否为浏览器环境
|
|
943
979
|
*/
|
|
944
980
|
export declare const isBrowser: boolean;
|
|
945
981
|
|
|
946
|
-
|
|
982
|
+
/**
|
|
983
|
+
* 是否为Date
|
|
984
|
+
* @param val
|
|
985
|
+
* @returns
|
|
986
|
+
*/
|
|
987
|
+
export declare const isDate: (val: unknown) => val is Date;
|
|
947
988
|
|
|
948
989
|
/**
|
|
949
990
|
* 是否空字符串
|
|
@@ -952,11 +993,33 @@ export { isDate }
|
|
|
952
993
|
*/
|
|
953
994
|
export declare const isEmptyString: (v: unknown) => boolean;
|
|
954
995
|
|
|
955
|
-
|
|
996
|
+
/**
|
|
997
|
+
* 判断两个对象是否一致
|
|
998
|
+
* @param x
|
|
999
|
+
* @param y
|
|
1000
|
+
* @return
|
|
1001
|
+
*/
|
|
1002
|
+
export declare function isEqual(x: any, y: any): boolean;
|
|
956
1003
|
|
|
957
|
-
|
|
1004
|
+
/**
|
|
1005
|
+
* 是否为es module
|
|
1006
|
+
* @param obj
|
|
1007
|
+
* @returns
|
|
1008
|
+
*/
|
|
1009
|
+
export declare function isESModule(obj: any): obj is Object;
|
|
958
1010
|
|
|
959
|
-
|
|
1011
|
+
/**
|
|
1012
|
+
* 是否为函数
|
|
1013
|
+
* @param val
|
|
1014
|
+
* @returns
|
|
1015
|
+
*/
|
|
1016
|
+
export declare const isFunction: (val: unknown) => val is Function;
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* 是否是隐藏element
|
|
1020
|
+
* @param el
|
|
1021
|
+
*/
|
|
1022
|
+
export declare function isHidden(el: any): boolean;
|
|
960
1023
|
|
|
961
1024
|
/**
|
|
962
1025
|
* 是否为内嵌页面
|
|
@@ -967,7 +1030,12 @@ export { isFunction }
|
|
|
967
1030
|
*/
|
|
968
1031
|
export declare function isInnerPage(domain: Domain, proxy: any): boolean;
|
|
969
1032
|
|
|
970
|
-
|
|
1033
|
+
/**
|
|
1034
|
+
* 是否为Map
|
|
1035
|
+
* @param val
|
|
1036
|
+
* @returns
|
|
1037
|
+
*/
|
|
1038
|
+
export declare const isMap: (val: unknown) => val is Map<any, any>;
|
|
971
1039
|
|
|
972
1040
|
/**
|
|
973
1041
|
* 是否为数字字符串
|
|
@@ -976,11 +1044,24 @@ export { isMap }
|
|
|
976
1044
|
*/
|
|
977
1045
|
export declare function isNumberString(value: string): boolean;
|
|
978
1046
|
|
|
979
|
-
|
|
1047
|
+
/**
|
|
1048
|
+
* 是否为object
|
|
1049
|
+
*/
|
|
1050
|
+
export declare const isObject: (val: unknown) => val is Record<any, any>;
|
|
980
1051
|
|
|
981
|
-
|
|
1052
|
+
/**
|
|
1053
|
+
* 是否为plain对象
|
|
1054
|
+
* @param val
|
|
1055
|
+
* @returns
|
|
1056
|
+
*/
|
|
1057
|
+
export declare const isPlainObject: (val: unknown) => val is object;
|
|
982
1058
|
|
|
983
|
-
|
|
1059
|
+
/**
|
|
1060
|
+
* 是否为promise
|
|
1061
|
+
* @param val
|
|
1062
|
+
* @returns
|
|
1063
|
+
*/
|
|
1064
|
+
export declare const isPromise: <T = any>(val: unknown) => val is Promise<T>;
|
|
984
1065
|
|
|
985
1066
|
/**
|
|
986
1067
|
* 判断是否为正则表达式
|
|
@@ -989,9 +1070,19 @@ export { isPromise }
|
|
|
989
1070
|
*/
|
|
990
1071
|
export declare function isRegExp(v: unknown): v is RegExp;
|
|
991
1072
|
|
|
992
|
-
|
|
1073
|
+
/**
|
|
1074
|
+
* 是否为Set
|
|
1075
|
+
* @param val
|
|
1076
|
+
* @returns
|
|
1077
|
+
*/
|
|
1078
|
+
export declare const isSet: (val: unknown) => val is Set<any>;
|
|
993
1079
|
|
|
994
|
-
|
|
1080
|
+
/**
|
|
1081
|
+
* 是否为字符串
|
|
1082
|
+
* @param val
|
|
1083
|
+
* @returns
|
|
1084
|
+
*/
|
|
1085
|
+
export declare const isString: (val: unknown) => val is string;
|
|
995
1086
|
|
|
996
1087
|
/**
|
|
997
1088
|
* 是否子页面
|
|
@@ -999,7 +1090,18 @@ export { isString }
|
|
|
999
1090
|
*/
|
|
1000
1091
|
export declare function isSubPage(domain: Domain): boolean;
|
|
1001
1092
|
|
|
1002
|
-
|
|
1093
|
+
/**
|
|
1094
|
+
* 是否为symbol
|
|
1095
|
+
* @param val
|
|
1096
|
+
* @returns
|
|
1097
|
+
*/
|
|
1098
|
+
export declare const isSymbol: (val: unknown) => val is symbol;
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* 是否是window对象
|
|
1102
|
+
* @param obj
|
|
1103
|
+
*/
|
|
1104
|
+
export declare function isWindow(obj: any): boolean;
|
|
1003
1105
|
|
|
1004
1106
|
export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1005
1107
|
|
|
@@ -1011,6 +1113,14 @@ export declare const Item: DefineComponent<unknown, object, {}, ComputedOptions,
|
|
|
1011
1113
|
*/
|
|
1012
1114
|
export declare function lastIndexOf(x: unknown, arr: unknown[]): number;
|
|
1013
1115
|
|
|
1116
|
+
/**
|
|
1117
|
+
* 创建数组
|
|
1118
|
+
* @param arr
|
|
1119
|
+
* @param results
|
|
1120
|
+
* @return
|
|
1121
|
+
*/
|
|
1122
|
+
export declare function makeArray(arr: any, results?: any[]): any[];
|
|
1123
|
+
|
|
1014
1124
|
export declare const Mapping: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1015
1125
|
|
|
1016
1126
|
/**
|
|
@@ -1024,14 +1134,38 @@ export declare interface Matched {
|
|
|
1024
1134
|
level?: number;
|
|
1025
1135
|
}
|
|
1026
1136
|
|
|
1137
|
+
/**
|
|
1138
|
+
* 合并数组
|
|
1139
|
+
* @param first
|
|
1140
|
+
* @param second
|
|
1141
|
+
* @return
|
|
1142
|
+
*/
|
|
1143
|
+
export declare function merge(first: any[], second: any[]): any[];
|
|
1144
|
+
|
|
1027
1145
|
export declare const MoneyItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1028
1146
|
|
|
1147
|
+
export declare const MoreButton: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1148
|
+
|
|
1029
1149
|
export { multiply }
|
|
1030
1150
|
|
|
1031
1151
|
export { negate }
|
|
1032
1152
|
|
|
1153
|
+
/**
|
|
1154
|
+
* 下一个事件周期中执行函数
|
|
1155
|
+
* @param fn
|
|
1156
|
+
* @param args
|
|
1157
|
+
*/
|
|
1158
|
+
export declare function nextTick(fn: {
|
|
1159
|
+
(...args: any[]): void;
|
|
1160
|
+
}, ...args: any[]): void;
|
|
1161
|
+
|
|
1033
1162
|
export { numberFormat }
|
|
1034
1163
|
|
|
1164
|
+
/**
|
|
1165
|
+
* 对象类型
|
|
1166
|
+
*/
|
|
1167
|
+
export declare const objectToString: () => string;
|
|
1168
|
+
|
|
1035
1169
|
export declare const Overlay: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1036
1170
|
|
|
1037
1171
|
/**
|
|
@@ -1210,13 +1344,16 @@ export declare const TableItem: DefineComponent<unknown, object, {}, ComputedOpt
|
|
|
1210
1344
|
|
|
1211
1345
|
export declare const TableMappingColumn: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1212
1346
|
|
|
1347
|
+
declare const Text_2: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1348
|
+
export { Text_2 as Text }
|
|
1349
|
+
|
|
1213
1350
|
/**
|
|
1214
1351
|
* 节流函数
|
|
1215
1352
|
* @param func 函数
|
|
1216
|
-
* @param
|
|
1353
|
+
* @param delay 延迟执行毫秒数
|
|
1217
1354
|
* @returns
|
|
1218
1355
|
*/
|
|
1219
|
-
export declare function throttle(func: GenericFunction,
|
|
1356
|
+
export declare function throttle(func: GenericFunction, delay: number): GenericFunction;
|
|
1220
1357
|
|
|
1221
1358
|
export declare const TimeItem: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1222
1359
|
|
|
@@ -1224,9 +1361,19 @@ export declare const TimeSelectItem: DefineComponent<unknown, object, {}, Comput
|
|
|
1224
1361
|
|
|
1225
1362
|
export declare const Toast: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1226
1363
|
|
|
1227
|
-
|
|
1364
|
+
/**
|
|
1365
|
+
* 转换为boolean值
|
|
1366
|
+
* @param val
|
|
1367
|
+
* @returns
|
|
1368
|
+
*/
|
|
1369
|
+
export declare function toBoolean(val: unknown): boolean;
|
|
1228
1370
|
|
|
1229
|
-
|
|
1371
|
+
/**
|
|
1372
|
+
* 转换为number值
|
|
1373
|
+
* @param val
|
|
1374
|
+
* @returns
|
|
1375
|
+
*/
|
|
1376
|
+
export declare function toNumber(val: unknown): number;
|
|
1230
1377
|
|
|
1231
1378
|
/**
|
|
1232
1379
|
* 转换为number rect
|
|
@@ -1248,7 +1395,9 @@ export declare function toPx(value: number | string, size?: number): number;
|
|
|
1248
1395
|
*/
|
|
1249
1396
|
export declare const toPxDesc: (value: string | number, size?: number) => string;
|
|
1250
1397
|
|
|
1251
|
-
export
|
|
1398
|
+
export declare const toTypeString: (value: unknown) => string;
|
|
1399
|
+
|
|
1400
|
+
export declare const Tour: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
|
|
1252
1401
|
|
|
1253
1402
|
/**
|
|
1254
1403
|
* to model value
|
|
@@ -1258,6 +1407,13 @@ export { toTypeString }
|
|
|
1258
1407
|
*/
|
|
1259
1408
|
export declare function toValue(props: UnwrapRef<Record<string, any>>, name?: string, format?: ValueFormat<any, any>): Ref;
|
|
1260
1409
|
|
|
1410
|
+
/**
|
|
1411
|
+
* 判断类型
|
|
1412
|
+
* @param obj
|
|
1413
|
+
* @returns any
|
|
1414
|
+
*/
|
|
1415
|
+
export declare function typeOf(obj: any): string;
|
|
1416
|
+
|
|
1261
1417
|
export declare class UniqueID {
|
|
1262
1418
|
/**
|
|
1263
1419
|
* seed id
|
|
@@ -1296,7 +1452,7 @@ export declare function useBroadcast(proxy?: FoxComponentPublicInstance | null):
|
|
|
1296
1452
|
* 获取当前domain
|
|
1297
1453
|
* @returns
|
|
1298
1454
|
*/
|
|
1299
|
-
export declare function useDomain(
|
|
1455
|
+
export declare function useDomain(proxy?: ComponentPublicInstance | null): Domain | null;
|
|
1300
1456
|
|
|
1301
1457
|
/**
|
|
1302
1458
|
* use expose
|
|
@@ -1343,8 +1499,10 @@ export declare function useTouch(): {
|
|
|
1343
1499
|
* 校验条件
|
|
1344
1500
|
*/
|
|
1345
1501
|
export declare interface ValidateCondition {
|
|
1346
|
-
|
|
1502
|
+
deep?: boolean;
|
|
1347
1503
|
include?: string[];
|
|
1504
|
+
exclude?: string[];
|
|
1505
|
+
ignoreHidden?: boolean;
|
|
1348
1506
|
}
|
|
1349
1507
|
|
|
1350
1508
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fox-js/foxui-pad",
|
|
3
|
-
"version": "4.0.1-
|
|
3
|
+
"version": "4.0.1-11",
|
|
4
4
|
"description": "FoxUI PAD端组件库",
|
|
5
5
|
"author": "jiangcheng",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"./style.css": "./dist/style.css",
|
|
14
14
|
"./dist/locale": {
|
|
15
15
|
"import": {
|
|
16
|
-
"node": "./dist/locale/index.
|
|
16
|
+
"node": "./dist/locale/index.esm.js",
|
|
17
17
|
"default": "./dist/locale/index.esm.js"
|
|
18
18
|
},
|
|
19
19
|
"require": {
|
|
20
|
-
"node": "./dist/locale/index.
|
|
21
|
-
"default": "./dist/locale/index.
|
|
20
|
+
"node": "./dist/locale/index.umd.js",
|
|
21
|
+
"default": "./dist/locale/index.umd.js"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
},
|
package/dist/locale/index.cjs.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";/*!
|
|
2
|
-
* @fox-js/foxui-desktop v4.0.0 Mon Dec 26 2022 15:34:51 GMT+0800 (中国标准时间)
|
|
3
|
-
*/const u={save:"\u4FDD\u5B58",noData:"\u6682\u65E0\u6570\u636E",confirmText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",clearText:"\u6E05\u9664",defaultText:"\u9ED8\u8BA4",placeholder:"\u8BF7\u8F93\u5165",select:"\u8BF7\u9009\u62E9",dateUnit:{day:"\u65E5",year:"\u5E74",month:"\u6708",hour:"\u65F6",minute:"\u5206",seconds:"\u79D2"},video:{errorTip:"\u89C6\u9891\u52A0\u8F7D\u5931\u8D25",clickRetry:"\u70B9\u51FB\u91CD\u8BD5"},fixednav:{activeText:"\u6536\u8D77\u5BFC\u822A",unActiveText:"\u5FEB\u901F\u5BFC\u822A"},pagination:{prevText:"\u4E0A\u4E00\u9875",nextText:"\u4E0B\u4E00\u9875"},calendarpane:{weekdays:JSON.stringify(["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]),endText:"\u7ED3\u675F",startText:"\u5F00\u59CB",title:"\u65E5\u5386\u9009\u62E9",monthTitle:"{year}\u5E74{month}\u6708",today:"\u4ECA\u5929"},shortpassword:{title:"\u8BF7\u8F93\u5165\u5BC6\u7801",desc:"\u60A8\u4F7F\u7528\u4E86\u865A\u62DF\u8D44\u4EA7\uFF0C\u8BF7\u8FDB\u884C\u9A8C\u8BC1",tips:"\u5FD8\u8BB0\u5BC6\u7801"},uploader:{ready:"\u51C6\u5907\u5B8C\u6210",readyUpload:"\u51C6\u5907\u4E0A\u4F20",waitingUpload:"\u7B49\u5F85\u4E0A\u4F20",uploading:"\u4E0A\u4F20\u4E2D",success:"\u4E0A\u4F20\u6210\u529F",error:"\u4E0A\u4F20\u5931\u8D25"},countdown:{day:"\u5929",hour:"\u65F6",minute:"\u5206",second:"\u79D2"},empty:{description:"\u6682\u65E0\u6570\u636E"},address:{selectRegion:"\u8BF7\u9009\u62E9\u6240\u5728\u5730\u533A",deliveryTo:"\u914D\u9001\u81F3",chooseAnotherAddress:"\u9009\u62E9\u5176\u4ED6\u5730\u5740"},signature:{reSign:"\u91CD\u7B7E",unSupportTpl:"\u5BF9\u4E0D\u8D77\uFF0C\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301Canvas\uFF0C\u65E0\u6CD5\u4F7F\u7528\u672C\u63A7\u4EF6\uFF01"},ecard:{chooseText:"\u8BF7\u9009\u62E9\u7535\u5B50\u5361\u9762\u503C",otherValueText:"\u5176\u4ED6\u9762\u503C",placeholder:"\u8BF7\u8F93\u51651-5000\u6574\u6570"},timeselect:{title:"\u53D6\u4EF6\u65F6\u95F4"},sku:{buyText:"\u7ACB\u5373\u8D2D\u4E70",stepperTitle:"\u8D2D\u4E70\u6570\u91CF",addCartText:"\u52A0\u5165\u8D2D\u7269\u8F66"},skuheader:{idText:"\u5546\u54C1\u7F16\u53F7"},addresslist:{addAddress:"\u65B0\u5EFA\u5730\u5740"},comment:{complaintsText:"\u6211\u8981\u6295\u8BC9",additionalReview:"\u8D2D\u4E70{0}\u5929\u540E\u8FFD\u8BC4",additionalImages:"{0}\u5F20\u8FFD\u8BC4\u56FE\u7247"},infiniteloading:{loading:"\u52A0\u8F7D\u4E2D...",pullTxt:"\u677E\u5F00\u5237\u65B0",loadMoreTxt:"\u54CE\u5440\uFF0C\u8FD9\u91CC\u662F\u5E95\u90E8\u4E86\u5566"},datepicker:{year:"\u5E74",month:"\u6708",day:"\u65E5",hour:"\u65F6",min:"\u5206",seconds:"\u79D2"},audiooperate:{back:"\u5012\u9000",start:"\u5F00\u59CB",pause:"\u6682\u505C",forward:"\u5FEB\u8FDB",mute:"\u9759\u97F3"},picker:{title:"\u8BF7\u9009\u62E9"},pickeritem:{placeholder:"\u8BF7\u9009\u62E9"},dateitem:{placeholder:"\u8BF7\u9009\u62E9"},cascaderitem:{placeholder:"\u8BF7\u9009\u62E9"},calendaritem:{placeholder:"\u8BF7\u9009\u62E9"},numberkeyboard:{confirmText:"\u5B8C\u6210"}},e={save:"Save",noData:"No Data",confirmText:"Confirm",cancelText:"Cancel",clearText:"Clear",defaultText:"Default",placeholder:"Placeholder",select:"Select",dateUnit:{day:"Day",year:"Year",month:"Month",hour:"Hour",minute:"Minute",seconds:"Second"},video:{errorTip:"Error Tip",clickRetry:"Click Retry"},fixednav:{activeText:"Close Nav",unActiveText:"Open Nav"},pagination:{prevText:"Previous",nextText:"Next"},calendarpane:{weekdays:JSON.stringify(["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),endText:"End",startText:"Start",title:"Calendar",monthTitle:"{year}/{month}",today:"Today"},shortpassword:{title:"Please input a password",desc:"Verify",tips:"Forget password"},uploader:{ready:"Ready",readyUpload:"Ready to upload",waitingUpload:"Waiting for upload",uploading:"Uploading",success:"Upload successful",error:"Upload failed"},countdown:{day:" Day ",hour:" Hour ",minute:" Minute ",second:" Second "},empty:{description:"No Data"},address:{selectRegion:"Select Region",deliveryTo:"Delivery To",chooseAnotherAddress:"Choose Another Address"},signature:{reSign:"Re Sign",unSupportTpl:"Sorry, the current browser doesn't support canvas, so we can't use this control!"},ecard:{chooseText:"Select",otherValueText:"Other Value",placeholder:"Placeholder"},timeselect:{title:"Pickup Time"},sku:{buyText:"Buy Now",stepperTitle:"Buy Number",addCartText:"Add to Cart"},skuheader:{idText:"Sku Number"},addresslist:{addAddress:"Add New Address"},comment:{complaintsText:"I have a complaint",additionalReview:"Review after {0} days of purchase",additionalImages:"There are {0} follow-up comments"},infiniteloading:{loading:"Loading...",pullTxt:"Loose to refresh",loadMoreTxt:"Oops, this is the bottom"},datepicker:{year:"Year",month:"Month",day:"Day",hour:"Hour",min:"Minute",seconds:"Second"},audiooperate:{back:"Back",start:"Start",pause:"Pause",forward:"Forward",mute:"Mute"},picker:{title:"Select"},pickeritem:{placeholder:"Select"},dateitem:{placeholder:"Select"},cascaderitem:{placeholder:"Select"},calendaritem:{placeholder:"Select"},numberkeyboard:{confirmText:"Done"}},t={save:"\u4FDD\u5B58",noData:"\u66AB\u7121\u6578\u64DA",confirmText:"\u78BA\u8A8D",cancelText:"\u53D6\u6D88",clearText:"\u6E05\u9664",defaultText:"\u9ED8\u8BA4",placeholder:"\u8ACB\u8F38\u5165",select:"\u8ACB\u9078\u64C7",dateUnit:{day:"\u65E5",year:"\u5E74",month:"\u6708",hour:"\u65F6",minute:"\u5206",seconds:"\u79D2"},video:{errorTip:"\u8996\u983B\u52A0\u8F09\u5931\u6557",clickRetry:"\u9EDE\u64CA\u91CD\u8A66"},fixednav:{activeText:"\u6536\u8D77\u5C0E\u822A",unActiveText:"\u5FEB\u901F\u5C0E\u822A"},pagination:{prevText:"\u4E0A\u4E00\u9801",nextText:"\u4E0B\u4E00\u9801"},calendarpane:{weekdays:JSON.stringify(["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]),endText:"\u7D50\u675F",startText:"\u958B\u59CB",title:"\u884C\u4E8B\u66C6\u9078\u64C7",monthTitle:"{year}\u5E74{month}\u6708",today:"\u4ECA\u5929"},shortpassword:{title:"\u8ACB\u8F38\u5165\u5BC6\u78BC",desc:"\u60A8\u4F7F\u7528\u4E86\u865B\u64EC\u8CC7\u7522,\u8ACB\u9032\u884C\u9A57\u8B49",tips:"\u5FD8\u8A18\u5BC6\u78BC"},uploader:{ready:"\u6E96\u5099\u5B8C\u6210",readyUpload:"\u6E96\u5099\u4E0A\u50B3",waitingUpload:"\u7B49\u5F85\u4E0A\u50B3",uploading:"\u4E0A\u50B3\u4E2D",success:"\u4E0A\u50B3\u6210\u529F",error:"\u4E0A\u50B3\u5931\u6557"},countdown:{day:"\u5929",hour:"\u6642",minute:"\u5206",second:"\u79D2"},empty:{description:"\u66AB\u7121\u6578\u64DA"},address:{selectRegion:"\u8ACB\u9078\u64C7\u6240\u5728\u5730\u5340",deliveryTo:"\u914D\u9001\u81F3",chooseAnotherAddress:"\u9078\u64C7\u5176\u4ED6\u5730\u5740"},signature:{reSign:"\u91CD\u7C3D",unSupportTpl:"\u5C0D\u4E0D\u8D77,\u7576\u524D\u700F\u89BD\u5668\u4E0D\u652F\u6301Canvas,\u7121\u6CD5\u4F7F\u7528\u672C\u63A7\u5236\u9805\uFF01"},ecard:{chooseText:"\u8ACB\u9078\u64C7\u96FB\u5B50\u5361\u9762\u503C",otherValueText:"\u5176\u4ED6\u9762\u503C",placeholder:"\u8ACB\u8F38\u51651-5000\u6574\u6578"},timeselect:{title:"\u53D6\u4EF6\u6642\u9593"},sku:{buyText:"\u7ACB\u5373\u8CFC\u8CB7",stepperTitle:"\u8CFC\u8CB7\u6578\u91CF",addCartText:"\u52A0\u5165\u8CFC\u7269\u8ECA"},skuheader:{idText:"\u5546\u54C1\u7DE8\u865F"},addresslist:{addAddress:"\u65B0\u5EFA\u5730\u5740"},comment:{complaintsText:"\u6211\u8981\u6295\u8A34",additionalReview:"\u8CFC\u8CB7{0}\u5929\u5F8C\u8FFD\u8A55",additionalImages:"{0}\u5F35\u8FFD\u8A55\u5716\u7247"},infiniteloading:{loading:"\u52A0\u8F09\u4E2D...",pullTxt:"\u9B06\u958B\u5237\u65B0",loadMoreTxt:"\u54CE\u5440\uFF0C\u9019\u88E1\u662F\u5E95\u90E8\u4E86\u5566"},datepicker:{year:"\u5E74",month:"\u6708",day:"\u65E5",hour:"\u6642",min:"\u5206",seconds:"\u79D2"},audiooperate:{back:"\u5012\u9000",start:"\u958B\u59CB",pause:"\u66AB\u505C",forward:"\u5FEB\u9032",mute:"\u975C\u97F3"},picker:{title:"\u8ACB\u9078\u64C7"},pickeritem:{placeholder:"\u8ACB\u9078\u64C7"},dateitem:{placeholder:"\u8ACB\u9078\u64C7"},cascaderitem:{placeholder:"\u8ACB\u9078\u64C7"},calendaritem:{placeholder:"\u8ACB\u9078\u64C7"},numberkeyboard:{confirmText:"\u5B8C\u6210"}},a={zh_CN:{...u},en_US:{...e},zh_TW:{...t}};module.exports=a;
|