iv-npm 1.4.50 → 1.4.52
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/package.json +1 -1
- package/packages/shared/dist/utils/index.d.ts +16 -1
- package/packages/shared/dist/utils/index.mjs +21 -0
- package/packages/ui/dist/index.cjs.js +1 -1
- package/packages/ui/dist/index.esm.js +1 -1
- package/packages/ui/dist/index.umd.js +1 -1
- package/packages/ui/dist/index.umd.js.map +1 -1
package/package.json
CHANGED
|
@@ -64,4 +64,19 @@ declare function dateFormat(data: Date | string, format: string): string;
|
|
|
64
64
|
declare function yearMonthFormat(data?: Date): string | formatType;
|
|
65
65
|
declare function yearMonthDayFormat(data?: Date): string | formatType;
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
declare enum ProjectStausEnum {
|
|
68
|
+
"待开工" = 0,
|
|
69
|
+
"在建" = 1,
|
|
70
|
+
"完工未结算" = 2,
|
|
71
|
+
"完工已结算" = 4,
|
|
72
|
+
"已销项" = 8
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare enum SignStatusEnum {
|
|
76
|
+
"待签约" = 1,
|
|
77
|
+
"已签约" = 2,
|
|
78
|
+
"已完结" = 4,
|
|
79
|
+
"诉讼中" = 8
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export { ProjectStausEnum, SignStatusEnum, apiConfiger, arrToTree, assign, buildURL as buildUrl, dateFormat, filterOptionHeadle, findTree, formatType, hostConfiger, isDate, isObject, isPlainObject, isURLSearchParams, tranListToTreeData, yearMonthDayFormat, yearMonthFormat };
|
|
@@ -285,7 +285,28 @@ function yearMonthDayFormat(data) {
|
|
|
285
285
|
return "";
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
+
|
|
289
|
+
// utils/enum/projectStatus.ts
|
|
290
|
+
var ProjectStausEnum = /* @__PURE__ */ ((ProjectStausEnum2) => {
|
|
291
|
+
ProjectStausEnum2[ProjectStausEnum2["\u5F85\u5F00\u5DE5"] = 0] = "\u5F85\u5F00\u5DE5";
|
|
292
|
+
ProjectStausEnum2[ProjectStausEnum2["\u5728\u5EFA"] = 1] = "\u5728\u5EFA";
|
|
293
|
+
ProjectStausEnum2[ProjectStausEnum2["\u5B8C\u5DE5\u672A\u7ED3\u7B97"] = 2] = "\u5B8C\u5DE5\u672A\u7ED3\u7B97";
|
|
294
|
+
ProjectStausEnum2[ProjectStausEnum2["\u5B8C\u5DE5\u5DF2\u7ED3\u7B97"] = 4] = "\u5B8C\u5DE5\u5DF2\u7ED3\u7B97";
|
|
295
|
+
ProjectStausEnum2[ProjectStausEnum2["\u5DF2\u9500\u9879"] = 8] = "\u5DF2\u9500\u9879";
|
|
296
|
+
return ProjectStausEnum2;
|
|
297
|
+
})(ProjectStausEnum || {});
|
|
298
|
+
|
|
299
|
+
// utils/enum/signStatus.ts
|
|
300
|
+
var SignStatusEnum = /* @__PURE__ */ ((SignStatusEnum2) => {
|
|
301
|
+
SignStatusEnum2[SignStatusEnum2["\u5F85\u7B7E\u7EA6"] = 1] = "\u5F85\u7B7E\u7EA6";
|
|
302
|
+
SignStatusEnum2[SignStatusEnum2["\u5DF2\u7B7E\u7EA6"] = 2] = "\u5DF2\u7B7E\u7EA6";
|
|
303
|
+
SignStatusEnum2[SignStatusEnum2["\u5DF2\u5B8C\u7ED3"] = 4] = "\u5DF2\u5B8C\u7ED3";
|
|
304
|
+
SignStatusEnum2[SignStatusEnum2["\u8BC9\u8BBC\u4E2D"] = 8] = "\u8BC9\u8BBC\u4E2D";
|
|
305
|
+
return SignStatusEnum2;
|
|
306
|
+
})(SignStatusEnum || {});
|
|
288
307
|
export {
|
|
308
|
+
ProjectStausEnum,
|
|
309
|
+
SignStatusEnum,
|
|
289
310
|
apiConfiger,
|
|
290
311
|
arrToTree,
|
|
291
312
|
assign,
|