iv-npm 1.1.32 → 1.1.35

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iv-npm",
3
- "version": "1.1.32",
3
+ "version": "1.1.35",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -1,280 +1 @@
1
- .active[data-v-2dfcb17e] {
2
- background-color: #bd9e55;
3
- font-size: 13px;
4
- color: white;
5
- }
6
-
7
- [data-v-2dfcb17e] .ant-btn-primary {
8
- background: #006ab2;
9
- }
10
-
11
- [data-v-2dfcb17e] .ant-image {
12
- margin: 0 2px;
13
- }
14
-
15
- .center-center[data-v-2dfcb17e] {
16
- position: absolute;
17
- top: 50%;
18
- left: 50%;
19
- transform: translate(-50%, -50%);
20
- }
21
-
22
- .table-cell[data-v-2dfcb17e] {
23
- height: 60px;
24
- border: 1px solid #d9d9d9;
25
- padding: 5px;
26
- word-break: break-all;
27
- color: #333;
28
- font-size: 13px;
29
- font-weight: 400;
30
- text-align: center;
31
- }
32
-
33
- .table-footer[data-v-2dfcb17e] {
34
- position: relative;
35
- display: table-footer-group;
36
- width: 100%;
37
- height: 200px;
38
- border: 1px solid #d9d9d9;
39
- }
40
- .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
41
- position: absolute;
42
- top: 50%;
43
- left: 50%;
44
- transform: translate(-50%, -50%);
45
- font-size: 14px;
46
- text-align: center;
47
- color: rgba(0, 0, 0, 0.25);
48
- }
49
-
50
- table[data-v-2dfcb17e] {
51
- border-collapse: collapse;
52
- }
53
-
54
- #top[data-v-2dfcb17e] {
55
- position: fixed;
56
- top: 65px;
57
- z-index: 999;
58
- }
59
-
60
- .pagination[data-v-2dfcb17e] {
61
- position: fixed;
62
- bottom: -80px;
63
- z-index: 999;
64
- height: 45px;
65
- background-color: #fff;
66
- }
67
-
68
- .mrpTable[data-v-2dfcb17e] {
69
- position: relative;
70
- margin-bottom: 80px;
71
- }
72
- .tableControl[data-v-4b5cf48c] {
73
- position: absolute;
74
- right: 0;
75
- top: -42px;
76
- color: #006ab2;
77
- }
78
- .tableControl[data-v-4b5cf48c] .setting[data-v-4b5cf48c] {
79
- margin-top: 10px;
80
- }
81
- .tableControl[data-v-4b5cf48c] [data-v-4b5cf48c] .ant-popover-inner-content {
82
- padding: 10px;
83
- }
84
- .tableControl[data-v-4b5cf48c] [data-v-4b5cf48c] .ant-menu-vertical {
85
- border: none;
86
- }
87
- .tableControl[data-v-4b5cf48c] [data-v-4b5cf48c] .ant-divider-horizontal {
88
- margin: 2px;
89
- }
90
- .tableControl[data-v-4b5cf48c] [data-v-4b5cf48c] .ant-checkbox-group-item {
91
- display: flex;
92
- }
93
- .tableControl[data-v-4b5cf48c] .anticon[data-v-4b5cf48c] {
94
- margin-right: 6px;
95
- }
96
- /* 模态框 */
97
- body .detail-class {
98
- top: -50px;
99
- }
100
- /* body .ant-modal{
101
- width: 84vw!important;
102
- height: 80vh!important;
103
- } */
104
- body .module-class .ant-modal-header {
105
- padding: 0;
106
- }
107
- body .module-class .ant-modal-body {
108
- position: relative;
109
- padding: 100px 0 100px 100px;
110
- }
111
-
112
- body .detail-class .ant-modal-body {
113
- overflow: auto;
114
- padding: 0 0 30px 0;
115
- }
116
-
117
- body .module-class.not-padding .ant-modal-body {
118
- position: relative;
119
- padding: 0;
120
- }
121
- body .module-class.pwd .ant-modal-body {
122
- position: relative;
123
- padding: 100px 0;
124
- }
125
-
126
- .ant-scrolling-effect {
127
- width: 100% !important;
128
- }
129
- /* 组件模态框 */
130
- body .module-class.modal-components .ant-modal {
131
- top: 5%;
132
- left: 0px;
133
- margin-left: 5%;
134
- margin-right: 5%;
135
- height: 40%;
136
- width: auto !important;
137
- }
138
- body .module-class.modal-components .ant-modal .ant-modal-content {
139
- height: 100%;
140
- }
141
- body .module-class .ant-modal-content {
142
- box-sizing: border-box;
143
- border-radius: 10px;
144
- overflow: hidden;
145
- /* border: 5px solid #f1f1f1; */
146
- }
147
- body
148
- .module-class.modal-components
149
- .ant-modal
150
- .ant-modal-content
151
- .ant-modal-body {
152
- height: 100%;
153
- overflow-y: auto;
154
- }
155
- body
156
- .module-class.modal-components
157
- .ant-modal
158
- .ant-modal-content
159
- .ant-modal-body::-webkit-scrollbar {
160
- width: 15px;
161
- height: 20px;
162
- }
163
- body
164
- .module-class.modal-components
165
- .ant-modal
166
- .ant-modal-content
167
- .ant-modal-body::-webkit-scrollbar-track {
168
- border-radius: 100vh;
169
- background: #f7f4ed;
170
- }
171
- body
172
- .module-class.modal-components
173
- .ant-modal
174
- .ant-modal-content
175
- .ant-modal-body::-webkit-scrollbar-thumb {
176
- background: #e0cbcb;
177
- border-radius: 100vh;
178
- border: 3px solid #f6f7ed;
179
- }
180
- body
181
- .module-class.modal-components
182
- .ant-modal
183
- .ant-modal-content
184
- .ant-modal-body::-webkit-scrollbar-thumb:hover {
185
- background: #c0a0b9;
186
- }
187
-
188
- /* 表格 */
189
-
190
- body .mrpTable .active {
191
- background-color: #bd9e55;
192
- font-size: 13px;
193
- color: white;
194
- }
195
-
196
- body .mrpTable :deep(.ant-btn-primary) {
197
- background: #006ab2;
198
- }
199
-
200
- body .mrpTable :deep(.ant-image) {
201
- margin: 0 2px;
202
- }
203
-
204
- body .mrpTable .center-center {
205
- position: absolute;
206
- top: 50%;
207
- left: 50%;
208
- transform: translate(-50%, -50%);
209
- }
210
-
211
- body .mrpTable .table-cell {
212
- height: 60px;
213
- border: 1px solid #d9d9d9;
214
- padding: 5px;
215
- word-break: break-all;
216
- color: #333;
217
- font-size: 13px;
218
- font-weight: 400;
219
- text-align: center;
220
- }
221
- body .mrpTable .table-footer {
222
- position: relative;
223
- display: table-footer-group;
224
- width: 100%;
225
- height: 200px;
226
- border: 1px solid #d9d9d9;
227
-
228
- }
229
- body .mrpTable .table-footer .centent {
230
- position: absolute;
231
- top: 50%;
232
- left: 50%;
233
- transform: translate(-50%, -50%);
234
- font-size: 14px;
235
- text-align: center;
236
- color: rgba(0, 0, 0, 0.25);
237
- }
238
- body .mrpTable table {
239
- border-collapse: collapse;
240
- }
241
- body .mrpTable #top {
242
- position: fixed;
243
- top: 65px;
244
- z-index: 999;
245
- }
246
- body .mrpTable .pagination {
247
- position: fixed;
248
- bottom: -80px;
249
- z-index: 999;
250
- height: 45px;
251
- background-color: #fff;
252
- }
253
- body .mrpTable {
254
- position: relative;
255
- margin-bottom: 80px;
256
- }
257
-
258
- body #IVMrpUserSelector{
259
- border: 2px solid pink;
260
- }
261
- body {
262
- border: 1px solid black;
263
- }
264
- body #IVMrpUserSelector {
265
- border: 2px solid black;
266
- }
267
- body #IVMrpUserSelector :deep(.pagination) {
268
- position: static;
269
- }
270
- body #IVMrpUserSelector :deep(.ant-btn) {
271
- height: 35px;
272
- }
273
- body #IVMrpUserSelector :deep(button, [type="button"]) {
274
- border-color: #006ab2;
275
- }
276
- body #IVMrpUserSelector .button-color-sunset {
277
- border-radius: 4px;
278
- border-color: #006ab2 !important;
279
- margin-right: 15px;
280
- }
1
+ .tableControl[data-v-4b5cf48c]{color:#006ab2;position:absolute;right:0;top:-42px}.tableControl[data-v-4b5cf48c] .setting[data-v-4b5cf48c]{margin-top:10px}.tableControl[data-v-4b5cf48c] [data-v-4b5cf48c] .ant-popover-inner-content{padding:10px}.tableControl[data-v-4b5cf48c] [data-v-4b5cf48c] .ant-menu-vertical{border:none}.tableControl[data-v-4b5cf48c] [data-v-4b5cf48c] .ant-divider-horizontal{margin:2px}.tableControl[data-v-4b5cf48c] [data-v-4b5cf48c] .ant-checkbox-group-item{display:flex}.tableControl[data-v-4b5cf48c] .anticon[data-v-4b5cf48c]{margin-right:6px}body #IVMrpModal .detail-class{top:-50px}body #IVMrpModal .module-class .ant-modal-header{padding:0}body #IVMrpModal .module-class .ant-modal-body{padding:100px 0 100px 100px;position:relative}body #IVMrpModal .detail-class .ant-modal-body{overflow:auto;padding:0 0 30px}body #IVMrpModal .module-class.not-padding .ant-modal-body{padding:0;position:relative}body #IVMrpModal .module-class.pwd .ant-modal-body{padding:100px 0;position:relative}body #IVMrpModal .ant-scrolling-effect{width:100%!important}body #IVMrpModal .module-class.modal-components .ant-modal{height:40%;left:0;margin-left:5%;margin-right:5%;top:5%;width:auto!important}body #IVMrpModal .module-class.modal-components .ant-modal .ant-modal-content{height:100%}body #IVMrpModal .module-class .ant-modal-content{border-radius:10px;box-sizing:border-box;overflow:hidden}body #IVMrpModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body{height:100%;overflow-y:auto}body #IVMrpModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar{height:20px;width:15px}body #IVMrpModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar-track{background:#f7f4ed;border-radius:100vh}body #IVMrpModal .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 #IVMrpModal .module-class.modal-components .ant-modal .ant-modal-content .ant-modal-body::-webkit-scrollbar-thumb:hover{background:#c0a0b9}body #IVMrpUserSelector .pagination{position:static}body #IVMrpUserSelector .ant-btn{height:35px}body #IVMrpUserSelector [type=button],body #IVMrpUserSelector button{border-color:#006ab2}body #IVMrpUserSelector .button-color-sunset{border-color:#006ab2!important;border-radius:4px;margin-right:15px}body #IVMrpTable{position:fixed;top:65px;z-index:999}body #IVMrpTable .active{background-color:#bd9e55;color:#fff;font-size:13px}body #IVMrpTable :deep(.ant-btn-primary){background:#006ab2}body #IVMrpTable :deep(.ant-image){margin:0 2px}body #IVMrpTable .center-center{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}body #IVMrpTable .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 #IVMrpTable .table-footer{border:1px solid #d9d9d9;display:table-footer-group;height:200px;position:relative;width:100%}body #IVMrpTable .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 #IVMrpTable table{border-collapse:collapse}body #IVMrpTable .pagination{background-color:#fff;bottom:-80px;height:45px;position:fixed;z-index:999}body #IVMrpTable .mrpTable{margin-bottom:80px;position:relative}
@@ -4,6 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
 
7
+ var _hoisted_1$9 = {
8
+ id: "IVMrpModal"
9
+ };
7
10
  /**
8
11
  * show:Boolean 是否显示弹窗 v-model:show="Visible"
9
12
  *
@@ -48,7 +51,7 @@ var script$9 = /*#__PURE__*/vue.defineComponent({
48
51
 
49
52
  var _component_a_modal = vue.resolveComponent("a-modal");
50
53
 
51
- return vue.openBlock(), vue.createBlock(_component_a_modal, {
54
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [vue.createVNode(_component_a_modal, {
52
55
  wrapClassName: [__props.removePadding ? '' : 'not-padding', 'module-class modal-components'],
53
56
  visible: vue.unref(inputV),
54
57
  "onUpdate:visible": _cache[0] || (_cache[0] = function ($event) {
@@ -73,7 +76,7 @@ var script$9 = /*#__PURE__*/vue.defineComponent({
73
76
 
74
77
  }, 8
75
78
  /* PROPS */
76
- , ["wrapClassName", "visible"]);
79
+ , ["wrapClassName", "visible"])]);
77
80
  };
78
81
  }
79
82
  });
@@ -512,13 +515,9 @@ function _defineProperty(obj, key, value) {
512
515
  return obj;
513
516
  }
514
517
 
515
- var _withScopeId$1 = function _withScopeId(n) {
516
- return vue.pushScopeId("data-v-2dfcb17e"), n = n(), vue.popScopeId(), n;
517
- };
518
-
519
518
  var _hoisted_1$8 = {
520
519
  key: 0,
521
- id: "top"
520
+ id: "IVMrpTable"
522
521
  };
523
522
  var _hoisted_2$3 = {
524
523
  "class": "flex items-center justify-center"
@@ -533,15 +532,13 @@ var _hoisted_4$3 = {
533
532
  key: 0
534
533
  };
535
534
 
536
- var _hoisted_5$2 = /*#__PURE__*/_withScopeId$1(function () {
537
- return /*#__PURE__*/vue.createElementVNode("div", {
538
- "class": "h-2 flex items-center"
539
- }, [/*#__PURE__*/vue.createElementVNode("span", {
540
- "class": "bg-[#d9d9d9] h-[1px] w-full"
541
- })], -1
542
- /* HOISTED */
543
- );
544
- });
535
+ var _hoisted_5$2 = /*#__PURE__*/vue.createElementVNode("div", {
536
+ "class": "h-2 flex items-center"
537
+ }, [/*#__PURE__*/vue.createElementVNode("span", {
538
+ "class": "bg-[#d9d9d9] h-[1px] w-full"
539
+ })], -1
540
+ /* HOISTED */
541
+ );
545
542
 
546
543
  var _hoisted_6$2 = {
547
544
  "class": "flex items-center justify-between h-1/2"
@@ -553,7 +550,8 @@ var _hoisted_7$2 = {
553
550
  }
554
551
  };
555
552
  var _hoisted_8$1 = {
556
- "class": "mrpTable"
553
+ "class": "mrpTable",
554
+ id: "IVMrpTable"
557
555
  };
558
556
  var _hoisted_9$1 = {
559
557
  "class": "relative w-full mb-[24px]",
@@ -574,15 +572,13 @@ var _hoisted_12$1 = {
574
572
  key: 1
575
573
  };
576
574
 
577
- var _hoisted_13$1 = /*#__PURE__*/_withScopeId$1(function () {
578
- return /*#__PURE__*/vue.createElementVNode("div", {
579
- "class": "h-2 flex items-center"
580
- }, [/*#__PURE__*/vue.createElementVNode("span", {
581
- "class": "bg-[#d9d9d9] h-[1px] w-full"
582
- })], -1
583
- /* HOISTED */
584
- );
585
- });
575
+ var _hoisted_13$1 = /*#__PURE__*/vue.createElementVNode("div", {
576
+ "class": "h-2 flex items-center"
577
+ }, [/*#__PURE__*/vue.createElementVNode("span", {
578
+ "class": "bg-[#d9d9d9] h-[1px] w-full"
579
+ })], -1
580
+ /* HOISTED */
581
+ );
586
582
 
587
583
  var _hoisted_14$1 = {
588
584
  "class": "flex items-center justify-between h-1/2"
@@ -608,7 +604,7 @@ var _hoisted_19$1 = {
608
604
  "class": "table-footer"
609
605
  };
610
606
 
611
- var _hoisted_20$1 = /*#__PURE__*/vue.createStaticVNode("<div class=\"centent\" data-v-2dfcb17e><svg class=\"ant-empty-img-simple\" width=\"64\" height=\"41\" viewBox=\"0 0 64 41\" data-v-2dfcb17e><g transform=\"translate(0 1)\" fill=\"none\" fill-rule=\"evenodd\" data-v-2dfcb17e><ellipse class=\"ant-empty-img-simple-ellipse\" fill=\"#F5F5F5\" cx=\"32\" cy=\"33\" rx=\"32\" ry=\"7\" data-v-2dfcb17e></ellipse><g class=\"ant-empty-img-simple-g\" fill-rule=\"nonzero\" stroke=\"#D9D9D9\" data-v-2dfcb17e><path d=\"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z\" data-v-2dfcb17e></path><path d=\"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z\" fill=\"#FAFAFA\" class=\"ant-empty-img-simple-path\" data-v-2dfcb17e></path></g></g></svg> 没有数据 </div>", 1);
607
+ var _hoisted_20$1 = /*#__PURE__*/vue.createStaticVNode("<div class=\"centent\"><svg class=\"ant-empty-img-simple\" width=\"64\" height=\"41\" viewBox=\"0 0 64 41\"><g transform=\"translate(0 1)\" fill=\"none\" fill-rule=\"evenodd\"><ellipse class=\"ant-empty-img-simple-ellipse\" fill=\"#F5F5F5\" cx=\"32\" cy=\"33\" rx=\"32\" ry=\"7\"></ellipse><g class=\"ant-empty-img-simple-g\" fill-rule=\"nonzero\" stroke=\"#D9D9D9\"><path d=\"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z\"></path><path d=\"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z\" fill=\"#FAFAFA\" class=\"ant-empty-img-simple-path\"></path></g></g></svg> 没有数据 </div>", 1);
612
608
 
613
609
  var _hoisted_21$1 = [_hoisted_20$1];
614
610
  var script$8 = /*#__PURE__*/vue.defineComponent({
@@ -708,14 +704,17 @@ var script$8 = /*#__PURE__*/vue.defineComponent({
708
704
  emit("upth", updata);
709
705
  };
710
706
 
707
+ var mrpTableEle = vue.ref();
711
708
  vue.onMounted(function () {
712
- var div = document.querySelector(".mrpTable");
713
- mrpTableOffsetWidth.value = div.offsetWidth; // 监听滚动条位置
709
+ var _a;
710
+
711
+ mrpTableEle.value = document.querySelector(".mrpTable");
712
+ mrpTableOffsetWidth.value = (_a = mrpTableEle.value) === null || _a === void 0 ? void 0 : _a.offsetWidth; // 监听滚动条位置
714
713
 
715
- window.addEventListener("scroll", scrollTop, true);
714
+ mrpTableEle.value.addEventListener("scroll", scrollTop, true);
716
715
  });
717
716
  vue.onBeforeUnmount(function () {
718
- window.removeEventListener("scroll", scrollTop, true); // 离开当前组件别忘记移除事件监听
717
+ mrpTableEle.value.removeEventListener("scroll", scrollTop, true); // 离开当前组件别忘记移除事件监听
719
718
  });
720
719
  return function (_ctx, _cache) {
721
720
  var _a;
@@ -909,7 +908,6 @@ var script$8 = /*#__PURE__*/vue.defineComponent({
909
908
  }
910
909
  });
911
910
 
912
- script$8.__scopeId = "data-v-2dfcb17e";
913
911
  script$8.__file = "src/function-ui/component/IVMrpTable.vue";
914
912
 
915
913
  var _withScopeId = function _withScopeId(n) {
@@ -2895,7 +2893,7 @@ script.__file = "src/business-ui/component/IVMrpUserSelector.vue";
2895
2893
  /*
2896
2894
  * @Author: Mr.Cong Wei
2897
2895
  * @Date: 2022-08-08 18:47:06
2898
- * @LastEditTime: 2022-08-12 10:01:36
2896
+ * @LastEditTime: 2022-08-12 10:30:40
2899
2897
  */
2900
2898
  var components = [script$9, script$6, script$5, script$4, script$3, script$2, script$8, script$7, script];
2901
2899
  installComponents(); // 单独引用
@@ -1,7 +1,6 @@
1
1
  import { IVMrpModal, IVMrpTable, IVMrpTableControl } from "./function-ui/index";
2
2
  import { IVMrpOrgDropdown, IVMrpProdBaseDropdown, IVMrpLineDropdown, IVMrpSetofbookDropdown, IVMrpPostDropdown, IVMrpUserSelector } from "./business-ui/index";
3
- import "./index.css";
4
- import "./index.scss";
3
+ import "./style.scss";
5
4
  declare const cAll: {
6
5
  install: (app: any) => void;
7
6
  };