iv-npm 1.1.57 → 1.1.58
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/package.json +1 -0
- package/packages/ui/dist/api/api.config.d.ts +5 -0
- package/packages/ui/dist/business-ui/component/IVFileUpload.d.ts +113 -0
- package/packages/ui/dist/business-ui/index.d.ts +2 -1
- package/packages/ui/dist/index.cjs.css +1 -1
- package/packages/ui/dist/index.cjs.js +549 -125
- package/packages/ui/dist/index.d.ts +2 -2
- package/packages/ui/dist/index.esm.css +1 -1
- package/packages/ui/dist/index.esm.js +534 -111
- package/packages/ui/dist/index.umd.css +1 -1
- package/packages/ui/dist/index.umd.js +549 -125
- package/packages/ui/dist/index.umd.js.map +1 -1
- package/pnpm-lock.yaml +8 -0
package/package.json
CHANGED
|
@@ -64,6 +64,11 @@ declare const API_OPTION: {
|
|
|
64
64
|
option: any;
|
|
65
65
|
baseUrl: string;
|
|
66
66
|
};
|
|
67
|
+
uploadContractExecDoc: {
|
|
68
|
+
url: string;
|
|
69
|
+
option: any;
|
|
70
|
+
baseUrl: string;
|
|
71
|
+
};
|
|
67
72
|
};
|
|
68
73
|
export declare const formatHTTP: (fetch: any) => Promise<any>;
|
|
69
74
|
export declare const formatUrl: (base: string, api: string, params?: object) => string;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
interface PromiseFn<T = any, R = T> {
|
|
3
|
+
(...arg: T[]): Promise<R>;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* uploadApi:api接口
|
|
7
|
+
* uploadLength:最大上传文件数量
|
|
8
|
+
* fileList:传入的数据(用于初始化)
|
|
9
|
+
* fileList:string[] || {url}[]
|
|
10
|
+
* listType: 'picture-card' (默认) | 'picture' | 'text'; 上传图片列表样式
|
|
11
|
+
* showAltimeter:bolean (默认true); 是否显示扫描高拍仪按钮
|
|
12
|
+
* mini:bolean (默认false); mini版组件
|
|
13
|
+
*
|
|
14
|
+
* @uploadChange:Function({ file: tempFile, fileList: tempFileList } 上传列表改变事件
|
|
15
|
+
*/
|
|
16
|
+
declare const _default: import("vue").DefineComponent<{
|
|
17
|
+
uploadApi: {
|
|
18
|
+
type: PropType<PromiseFn<any, any>>;
|
|
19
|
+
default: null;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
uploadLength: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
required: false;
|
|
26
|
+
};
|
|
27
|
+
fileList: {
|
|
28
|
+
type: PropType<any[]>;
|
|
29
|
+
default: never[];
|
|
30
|
+
required: false;
|
|
31
|
+
};
|
|
32
|
+
listType: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
showAltimeter: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
required: false;
|
|
41
|
+
};
|
|
42
|
+
mini: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
required: false;
|
|
46
|
+
};
|
|
47
|
+
uploadClass: {
|
|
48
|
+
type: ObjectConstructor;
|
|
49
|
+
required: false;
|
|
50
|
+
default: {};
|
|
51
|
+
};
|
|
52
|
+
showUploadList: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
required: true;
|
|
55
|
+
default: {};
|
|
56
|
+
};
|
|
57
|
+
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
58
|
+
[key: string]: any;
|
|
59
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("uploadChange" | "cancelAltimeter")[], "uploadChange" | "cancelAltimeter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
uploadApi: {
|
|
61
|
+
type: PropType<PromiseFn<any, any>>;
|
|
62
|
+
default: null;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
uploadLength: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
default: number;
|
|
68
|
+
required: false;
|
|
69
|
+
};
|
|
70
|
+
fileList: {
|
|
71
|
+
type: PropType<any[]>;
|
|
72
|
+
default: never[];
|
|
73
|
+
required: false;
|
|
74
|
+
};
|
|
75
|
+
listType: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
required: false;
|
|
79
|
+
};
|
|
80
|
+
showAltimeter: {
|
|
81
|
+
type: BooleanConstructor;
|
|
82
|
+
default: boolean;
|
|
83
|
+
required: false;
|
|
84
|
+
};
|
|
85
|
+
mini: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
required: false;
|
|
89
|
+
};
|
|
90
|
+
uploadClass: {
|
|
91
|
+
type: ObjectConstructor;
|
|
92
|
+
required: false;
|
|
93
|
+
default: {};
|
|
94
|
+
};
|
|
95
|
+
showUploadList: {
|
|
96
|
+
type: ObjectConstructor;
|
|
97
|
+
required: true;
|
|
98
|
+
default: {};
|
|
99
|
+
};
|
|
100
|
+
}>> & {
|
|
101
|
+
onUploadChange?: ((...args: any[]) => any) | undefined;
|
|
102
|
+
onCancelAltimeter?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
uploadApi: PromiseFn<any, any>;
|
|
105
|
+
uploadLength: number;
|
|
106
|
+
fileList: any[];
|
|
107
|
+
listType: string;
|
|
108
|
+
showAltimeter: boolean;
|
|
109
|
+
mini: boolean;
|
|
110
|
+
uploadClass: Record<string, any>;
|
|
111
|
+
showUploadList: Record<string, any>;
|
|
112
|
+
}>;
|
|
113
|
+
export default _default;
|
|
@@ -10,7 +10,8 @@ import IVMaterialTypeDropdown from "./component/IVMaterialTypeDropdown.vue";
|
|
|
10
10
|
import IVMainContractSelector from "./component/IVMainContractSelector.vue";
|
|
11
11
|
import IVInnerContractSelector from "./component/IVInnerContractSelector.vue";
|
|
12
12
|
import IVOuterContractSelector from "./component/IVOuterContractSelector.vue";
|
|
13
|
+
import IVFileUpload from "./component/IVFileUpload.vue";
|
|
13
14
|
import IVUserSelector from "./component/IVUserSelector.vue";
|
|
14
15
|
import IVVendorSelector from "./component/IVVendorSelector.vue";
|
|
15
16
|
import IVMaterialSelector from "./component/IVMaterialSelector.vue";
|
|
16
|
-
export { IVOrgDropdown, IVProdBaseDropdown, IVLineDropdown, IVSetofbookDropdown, IVPostDropdown, IVManagDropdown, IVRateDropdown, IVUnitDropdown, IVMaterialTypeDropdown, IVMainContractSelector, IVInnerContractSelector, IVOuterContractSelector, IVUserSelector, IVVendorSelector, IVMaterialSelector, };
|
|
17
|
+
export { IVOrgDropdown, IVProdBaseDropdown, IVLineDropdown, IVSetofbookDropdown, IVPostDropdown, IVManagDropdown, IVRateDropdown, IVUnitDropdown, IVMaterialTypeDropdown, IVMainContractSelector, IVInnerContractSelector, IVOuterContractSelector, IVFileUpload, IVUserSelector, IVVendorSelector, IVMaterialSelector, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.tableControl[data-v-c0e90666]{color:#006ab2;position:absolute;right:0;top:-42px}.tableControl[data-v-c0e90666] .setting[data-v-c0e90666]{margin-top:10px}.tableControl[data-v-c0e90666] [data-v-c0e90666] .ant-popover-inner-content{padding:10px}.tableControl[data-v-c0e90666] [data-v-c0e90666] .ant-menu-vertical{border:none}.tableControl[data-v-c0e90666] [data-v-c0e90666] .ant-divider-horizontal{margin:2px}.tableControl[data-v-c0e90666] [data-v-c0e90666] .ant-checkbox-group-item{display:flex}.tableControl[data-v-c0e90666] .anticon[data-v-c0e90666]{margin-right:6px}body #IVModal .detail-class{top:-50px}body #IVModal .module-class .ant-modal-header{padding:0}body #IVModal .module-class .ant-modal-body{padding:100px 0 100px 100px;position:relative}body #IVModal .detail-class .ant-modal-body{overflow:auto;padding:0 0 30px}body #IVModal .module-class.not-padding .ant-modal-body{padding:0;position:relative}body #IVModal .module-class.pwd .ant-modal-body{padding:100px 0;position:relative}body #IVModal .ant-scrolling-effect{width:100%!important}body #IVModal .module-class.modal-components .ant-modal{height:40%;left:0;margin-left:5%;margin-right:5%;top:5%;width:auto!important}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content{height:100%}body #IVModal .module-class .ant-modal-content{border-radius:10px;box-sizing:border-box;overflow:hidden}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body{height:100%;overflow-y:auto}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar{height:20px;width:15px}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar-track{background:#f7f4ed;border-radius:100vh}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar-thumb{background:#e0cbcb;border:3px solid #f6f7ed;border-radius:100vh}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar-thumb:hover{background:#c0a0b9}body #IVUserSelector .pagination{position:static}body #IVUserSelector .ant-btn{height:35px}body #IVUserSelector [type=button],body #IVUserSelector button{border-color:#006ab2}body #IVUserSelector .button-color-sunset{border-color:#006ab2!important;border-radius:4px;margin-right:15px}body #top{position:fixed;top:65px;z-index:999}body #IVTable .active{background-color:#bd9e55;color:#fff;font-size:13px}body #IVTable :deep(.ant-btn-primary){background:#006ab2}body #IVTable :deep(.ant-image){margin:0 2px}body #IVTable .center-center{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}body #IVTable .table-cell{border:1px solid #d9d9d9;color:#333;font-size:13px;font-weight:400;height:60px;padding:5px;text-align:center;word-break:break-all}body #IVTable .table-footer{border:1px solid #d9d9d9;display:table-footer-group;height:200px;position:relative;width:100%}body #IVTable .table-footer .centent{color:rgba(0,0,0,.25);font-size:14px;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}body #IVTable table{border-collapse:collapse}body #IVTable .pagination{background-color:#fff;bottom:-80px;height:45px;position:fixed;z-index:999}body #IVTable .mrpTable{margin-bottom:80px;position:relative}
|
|
1
|
+
.tableControl[data-v-c0e90666]{color:#006ab2;position:absolute;right:0;top:-42px}.tableControl[data-v-c0e90666] .setting[data-v-c0e90666]{margin-top:10px}.tableControl[data-v-c0e90666] [data-v-c0e90666] .ant-popover-inner-content{padding:10px}.tableControl[data-v-c0e90666] [data-v-c0e90666] .ant-menu-vertical{border:none}.tableControl[data-v-c0e90666] [data-v-c0e90666] .ant-divider-horizontal{margin:2px}.tableControl[data-v-c0e90666] [data-v-c0e90666] .ant-checkbox-group-item{display:flex}.tableControl[data-v-c0e90666] .anticon[data-v-c0e90666]{margin-right:6px}.ant-upload-select-picture-card i[data-v-3f5c8a23]{color:#999;font-size:32px}.ant-upload-picture-card-wrapper[data-v-3f5c8a23]{display:flex}.ant-upload-select-picture-card .ant-upload-text[data-v-3f5c8a23]{color:#006ab2;margin-top:14px}.upload-list-inline[data-v-3f5c8a23] .ant-upload-list-item{float:left;margin-right:8px;width:100px}.upload-list-inline [class*=-upload-list-rtl][data-v-3f5c8a23] .ant-upload-list-item{float:right}.mini-upload[data-v-3f5c8a23] .ant-upload-list-picture-card-container{height:50px;width:50px}.mini-upload[data-v-3f5c8a23] .ant-upload-list-picture-card-container .ant-upload-list-item[data-v-3f5c8a23]{border:0;height:100%;padding:0;width:100%}.mini-upload[data-v-3f5c8a23] .ant-upload-list-picture-card-container .ant-upload-list-item[data-v-3f5c8a23] .ant-upload-list-item-info[data-v-3f5c8a23]{height:100%;width:100%}body #IVModal .detail-class{top:-50px}body #IVModal .module-class .ant-modal-header{padding:0}body #IVModal .module-class .ant-modal-body{padding:100px 0 100px 100px;position:relative}body #IVModal .detail-class .ant-modal-body{overflow:auto;padding:0 0 30px}body #IVModal .module-class.not-padding .ant-modal-body{padding:0;position:relative}body #IVModal .module-class.pwd .ant-modal-body{padding:100px 0;position:relative}body #IVModal .ant-scrolling-effect{width:100%!important}body #IVModal .module-class.modal-components .ant-modal{height:40%;left:0;margin-left:5%;margin-right:5%;top:5%;width:auto!important}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content{height:100%}body #IVModal .module-class .ant-modal-content{border-radius:10px;box-sizing:border-box;overflow:hidden}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body{height:100%;overflow-y:auto}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar{height:20px;width:15px}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar-track{background:#f7f4ed;border-radius:100vh}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar-thumb{background:#e0cbcb;border:3px solid #f6f7ed;border-radius:100vh}body #IVModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar-thumb:hover{background:#c0a0b9}body #IVUserSelector .pagination{position:static}body #IVUserSelector .ant-btn{height:35px}body #IVUserSelector [type=button],body #IVUserSelector button{border-color:#006ab2}body #IVUserSelector .button-color-sunset{border-color:#006ab2!important;border-radius:4px;margin-right:15px}body #top{position:fixed;top:65px;z-index:999}body #IVTable .active{background-color:#bd9e55;color:#fff;font-size:13px}body #IVTable :deep(.ant-btn-primary){background:#006ab2}body #IVTable :deep(.ant-image){margin:0 2px}body #IVTable .center-center{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}body #IVTable .table-cell{border:1px solid #d9d9d9;color:#333;font-size:13px;font-weight:400;height:60px;padding:5px;text-align:center;word-break:break-all}body #IVTable .table-footer{border:1px solid #d9d9d9;display:table-footer-group;height:200px;position:relative;width:100%}body #IVTable .table-footer .centent{color:rgba(0,0,0,.25);font-size:14px;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}body #IVTable table{border-collapse:collapse}body #IVTable .pagination{background-color:#fff;bottom:-80px;height:45px;position:fixed;z-index:999}body #IVTable .mrpTable{margin-bottom:80px;position:relative}
|