iv-npm 1.1.23 → 1.1.24

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.23",
3
+ "version": "1.1.24",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -1,21 +1,25 @@
1
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .active[data-v-2dfcb17e] {
1
+ .active[data-v-2dfcb17e] {
2
2
  background-color: #bd9e55;
3
3
  font-size: 13px;
4
4
  color: white;
5
5
  }
6
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-btn-primary {
6
+
7
+ [data-v-2dfcb17e] .ant-btn-primary {
7
8
  background: #006ab2;
8
9
  }
9
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-image {
10
+
11
+ [data-v-2dfcb17e] .ant-image {
10
12
  margin: 0 2px;
11
13
  }
12
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .center-center[data-v-2dfcb17e] {
14
+
15
+ .center-center[data-v-2dfcb17e] {
13
16
  position: absolute;
14
17
  top: 50%;
15
18
  left: 50%;
16
19
  transform: translate(-50%, -50%);
17
20
  }
18
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-cell[data-v-2dfcb17e] {
21
+
22
+ .table-cell[data-v-2dfcb17e] {
19
23
  height: 60px;
20
24
  border: 1px solid #d9d9d9;
21
25
  padding: 5px;
@@ -25,14 +29,15 @@ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-cell[data-v-2dfcb17e
25
29
  font-weight: 400;
26
30
  text-align: center;
27
31
  }
28
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] {
32
+
33
+ .table-footer[data-v-2dfcb17e] {
29
34
  position: relative;
30
35
  display: table-footer-group;
31
36
  width: 100%;
32
37
  height: 200px;
33
38
  border: 1px solid #d9d9d9;
34
39
  }
35
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
40
+ .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
36
41
  position: absolute;
37
42
  top: 50%;
38
43
  left: 50%;
@@ -41,22 +46,26 @@ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb1
41
46
  text-align: center;
42
47
  color: rgba(0, 0, 0, 0.25);
43
48
  }
44
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] table[data-v-2dfcb17e] {
49
+
50
+ table[data-v-2dfcb17e] {
45
51
  border-collapse: collapse;
46
52
  }
47
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] #top[data-v-2dfcb17e] {
53
+
54
+ #top[data-v-2dfcb17e] {
48
55
  position: fixed;
49
56
  top: 65px;
50
57
  z-index: 999;
51
58
  }
52
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .pagination[data-v-2dfcb17e] {
59
+
60
+ .pagination[data-v-2dfcb17e] {
53
61
  position: fixed;
54
62
  bottom: -80px;
55
63
  z-index: 999;
56
64
  height: 45px;
57
65
  background-color: #fff;
58
66
  }
59
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .mrpTable[data-v-2dfcb17e] {
67
+
68
+ .mrpTable[data-v-2dfcb17e] {
60
69
  position: relative;
61
70
  margin-bottom: 80px;
62
71
  }
@@ -195,28 +204,28 @@ body .detail-class {
195
204
 
196
205
  /* 表格 */
197
206
 
198
- .active {
207
+ body .mrpTable .active {
199
208
  background-color: #bd9e55;
200
209
  font-size: 13px;
201
210
  color: white;
202
211
  }
203
212
 
204
- :deep(.ant-btn-primary) {
213
+ body .mrpTable :deep(.ant-btn-primary) {
205
214
  background: #006ab2;
206
215
  }
207
216
 
208
- :deep(.ant-image) {
217
+ body .mrpTable :deep(.ant-image) {
209
218
  margin: 0 2px;
210
219
  }
211
220
 
212
- .center-center {
221
+ body .mrpTable .center-center {
213
222
  position: absolute;
214
223
  top: 50%;
215
224
  left: 50%;
216
225
  transform: translate(-50%, -50%);
217
226
  }
218
227
 
219
- .table-cell {
228
+ body .mrpTable .table-cell {
220
229
  height: 60px;
221
230
  border: 1px solid #d9d9d9;
222
231
  padding: 5px;
@@ -226,7 +235,7 @@ body .detail-class {
226
235
  font-weight: 400;
227
236
  text-align: center;
228
237
  }
229
- .table-footer {
238
+ body .mrpTable .table-footer {
230
239
  position: relative;
231
240
  display: table-footer-group;
232
241
  width: 100%;
@@ -234,7 +243,7 @@ body .detail-class {
234
243
  border: 1px solid #d9d9d9;
235
244
 
236
245
  }
237
- .table-footer .centent {
246
+ body .mrpTable .table-footer .centent {
238
247
  position: absolute;
239
248
  top: 50%;
240
249
  left: 50%;
@@ -243,22 +252,22 @@ body .detail-class {
243
252
  text-align: center;
244
253
  color: rgba(0, 0, 0, 0.25);
245
254
  }
246
- table {
255
+ body .mrpTable table {
247
256
  border-collapse: collapse;
248
257
  }
249
- #top {
258
+ body .mrpTable #top {
250
259
  position: fixed;
251
260
  top: 65px;
252
261
  z-index: 999;
253
262
  }
254
- .pagination {
263
+ body .mrpTable .pagination {
255
264
  position: fixed;
256
265
  bottom: -80px;
257
266
  z-index: 999;
258
267
  height: 45px;
259
268
  background-color: #fff;
260
269
  }
261
- .mrpTable {
270
+ body .mrpTable {
262
271
  position: relative;
263
272
  margin-bottom: 80px;
264
273
  }
@@ -518,8 +518,7 @@ var _withScopeId$2 = function _withScopeId(n) {
518
518
 
519
519
  var _hoisted_1$8 = {
520
520
  key: 0,
521
- id: "top",
522
- "class": "iv-mrp-table"
521
+ id: "top"
523
522
  };
524
523
  var _hoisted_2$3 = {
525
524
  "class": "flex items-center justify-center"
@@ -1659,7 +1658,7 @@ var script$5 = /*#__PURE__*/vue.defineComponent({
1659
1658
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
1660
1659
  return vue.isRef(inputV) ? inputV.value = $event : null;
1661
1660
  }),
1662
- mode: __props.multiple ? 'multiple' : 'tags',
1661
+ mode: __props.multiple ? 'multiple' : '',
1663
1662
  style: {
1664
1663
  "width": "100%"
1665
1664
  },
@@ -1849,7 +1848,7 @@ var script$4 = /*#__PURE__*/vue.defineComponent({
1849
1848
  }]),
1850
1849
  placeholder: "请选择",
1851
1850
  options: dataV.value,
1852
- mode: __props.multiple ? 'multiple' : 'tags',
1851
+ mode: __props.multiple ? 'multiple' : '',
1853
1852
  fieldNames: __props.fieldNames,
1854
1853
  showSearch: "",
1855
1854
  onChange: _cache[1] || (_cache[1] = function ($event) {
@@ -2209,7 +2208,7 @@ var script$2 = /*#__PURE__*/vue.defineComponent({
2209
2208
  style: vue.normalizeStyle(__props.inputStyle),
2210
2209
  placeholder: "请选择",
2211
2210
  showSearch: "",
2212
- mode: __props.multiple ? 'multiple' : 'tags',
2211
+ mode: __props.multiple ? 'multiple' : '',
2213
2212
  showArrow: "",
2214
2213
  options: dataV.value,
2215
2214
  "filter-option": vue.unref(filterOptionHeadle),
@@ -1,21 +1,25 @@
1
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .active[data-v-2dfcb17e] {
1
+ .active[data-v-2dfcb17e] {
2
2
  background-color: #bd9e55;
3
3
  font-size: 13px;
4
4
  color: white;
5
5
  }
6
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-btn-primary {
6
+
7
+ [data-v-2dfcb17e] .ant-btn-primary {
7
8
  background: #006ab2;
8
9
  }
9
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-image {
10
+
11
+ [data-v-2dfcb17e] .ant-image {
10
12
  margin: 0 2px;
11
13
  }
12
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .center-center[data-v-2dfcb17e] {
14
+
15
+ .center-center[data-v-2dfcb17e] {
13
16
  position: absolute;
14
17
  top: 50%;
15
18
  left: 50%;
16
19
  transform: translate(-50%, -50%);
17
20
  }
18
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-cell[data-v-2dfcb17e] {
21
+
22
+ .table-cell[data-v-2dfcb17e] {
19
23
  height: 60px;
20
24
  border: 1px solid #d9d9d9;
21
25
  padding: 5px;
@@ -25,14 +29,15 @@ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-cell[data-v-2dfcb17e
25
29
  font-weight: 400;
26
30
  text-align: center;
27
31
  }
28
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] {
32
+
33
+ .table-footer[data-v-2dfcb17e] {
29
34
  position: relative;
30
35
  display: table-footer-group;
31
36
  width: 100%;
32
37
  height: 200px;
33
38
  border: 1px solid #d9d9d9;
34
39
  }
35
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
40
+ .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
36
41
  position: absolute;
37
42
  top: 50%;
38
43
  left: 50%;
@@ -41,22 +46,26 @@ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb1
41
46
  text-align: center;
42
47
  color: rgba(0, 0, 0, 0.25);
43
48
  }
44
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] table[data-v-2dfcb17e] {
49
+
50
+ table[data-v-2dfcb17e] {
45
51
  border-collapse: collapse;
46
52
  }
47
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] #top[data-v-2dfcb17e] {
53
+
54
+ #top[data-v-2dfcb17e] {
48
55
  position: fixed;
49
56
  top: 65px;
50
57
  z-index: 999;
51
58
  }
52
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .pagination[data-v-2dfcb17e] {
59
+
60
+ .pagination[data-v-2dfcb17e] {
53
61
  position: fixed;
54
62
  bottom: -80px;
55
63
  z-index: 999;
56
64
  height: 45px;
57
65
  background-color: #fff;
58
66
  }
59
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .mrpTable[data-v-2dfcb17e] {
67
+
68
+ .mrpTable[data-v-2dfcb17e] {
60
69
  position: relative;
61
70
  margin-bottom: 80px;
62
71
  }
@@ -195,28 +204,28 @@ body .detail-class {
195
204
 
196
205
  /* 表格 */
197
206
 
198
- .active {
207
+ body .mrpTable .active {
199
208
  background-color: #bd9e55;
200
209
  font-size: 13px;
201
210
  color: white;
202
211
  }
203
212
 
204
- :deep(.ant-btn-primary) {
213
+ body .mrpTable :deep(.ant-btn-primary) {
205
214
  background: #006ab2;
206
215
  }
207
216
 
208
- :deep(.ant-image) {
217
+ body .mrpTable :deep(.ant-image) {
209
218
  margin: 0 2px;
210
219
  }
211
220
 
212
- .center-center {
221
+ body .mrpTable .center-center {
213
222
  position: absolute;
214
223
  top: 50%;
215
224
  left: 50%;
216
225
  transform: translate(-50%, -50%);
217
226
  }
218
227
 
219
- .table-cell {
228
+ body .mrpTable .table-cell {
220
229
  height: 60px;
221
230
  border: 1px solid #d9d9d9;
222
231
  padding: 5px;
@@ -226,7 +235,7 @@ body .detail-class {
226
235
  font-weight: 400;
227
236
  text-align: center;
228
237
  }
229
- .table-footer {
238
+ body .mrpTable .table-footer {
230
239
  position: relative;
231
240
  display: table-footer-group;
232
241
  width: 100%;
@@ -234,7 +243,7 @@ body .detail-class {
234
243
  border: 1px solid #d9d9d9;
235
244
 
236
245
  }
237
- .table-footer .centent {
246
+ body .mrpTable .table-footer .centent {
238
247
  position: absolute;
239
248
  top: 50%;
240
249
  left: 50%;
@@ -243,22 +252,22 @@ body .detail-class {
243
252
  text-align: center;
244
253
  color: rgba(0, 0, 0, 0.25);
245
254
  }
246
- table {
255
+ body .mrpTable table {
247
256
  border-collapse: collapse;
248
257
  }
249
- #top {
258
+ body .mrpTable #top {
250
259
  position: fixed;
251
260
  top: 65px;
252
261
  z-index: 999;
253
262
  }
254
- .pagination {
263
+ body .mrpTable .pagination {
255
264
  position: fixed;
256
265
  bottom: -80px;
257
266
  z-index: 999;
258
267
  height: 45px;
259
268
  background-color: #fff;
260
269
  }
261
- .mrpTable {
270
+ body .mrpTable {
262
271
  position: relative;
263
272
  margin-bottom: 80px;
264
273
  }
@@ -514,8 +514,7 @@ var _withScopeId$2 = function _withScopeId(n) {
514
514
 
515
515
  var _hoisted_1$8 = {
516
516
  key: 0,
517
- id: "top",
518
- "class": "iv-mrp-table"
517
+ id: "top"
519
518
  };
520
519
  var _hoisted_2$3 = {
521
520
  "class": "flex items-center justify-center"
@@ -1655,7 +1654,7 @@ var script$5 = /*#__PURE__*/defineComponent({
1655
1654
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
1656
1655
  return isRef(inputV) ? inputV.value = $event : null;
1657
1656
  }),
1658
- mode: __props.multiple ? 'multiple' : 'tags',
1657
+ mode: __props.multiple ? 'multiple' : '',
1659
1658
  style: {
1660
1659
  "width": "100%"
1661
1660
  },
@@ -1845,7 +1844,7 @@ var script$4 = /*#__PURE__*/defineComponent({
1845
1844
  }]),
1846
1845
  placeholder: "请选择",
1847
1846
  options: dataV.value,
1848
- mode: __props.multiple ? 'multiple' : 'tags',
1847
+ mode: __props.multiple ? 'multiple' : '',
1849
1848
  fieldNames: __props.fieldNames,
1850
1849
  showSearch: "",
1851
1850
  onChange: _cache[1] || (_cache[1] = function ($event) {
@@ -2205,7 +2204,7 @@ var script$2 = /*#__PURE__*/defineComponent({
2205
2204
  style: normalizeStyle(__props.inputStyle),
2206
2205
  placeholder: "请选择",
2207
2206
  showSearch: "",
2208
- mode: __props.multiple ? 'multiple' : 'tags',
2207
+ mode: __props.multiple ? 'multiple' : '',
2209
2208
  showArrow: "",
2210
2209
  options: dataV.value,
2211
2210
  "filter-option": unref(filterOptionHeadle),
@@ -1,21 +1,25 @@
1
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .active[data-v-2dfcb17e] {
1
+ .active[data-v-2dfcb17e] {
2
2
  background-color: #bd9e55;
3
3
  font-size: 13px;
4
4
  color: white;
5
5
  }
6
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-btn-primary {
6
+
7
+ [data-v-2dfcb17e] .ant-btn-primary {
7
8
  background: #006ab2;
8
9
  }
9
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-image {
10
+
11
+ [data-v-2dfcb17e] .ant-image {
10
12
  margin: 0 2px;
11
13
  }
12
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .center-center[data-v-2dfcb17e] {
14
+
15
+ .center-center[data-v-2dfcb17e] {
13
16
  position: absolute;
14
17
  top: 50%;
15
18
  left: 50%;
16
19
  transform: translate(-50%, -50%);
17
20
  }
18
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-cell[data-v-2dfcb17e] {
21
+
22
+ .table-cell[data-v-2dfcb17e] {
19
23
  height: 60px;
20
24
  border: 1px solid #d9d9d9;
21
25
  padding: 5px;
@@ -25,14 +29,15 @@ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-cell[data-v-2dfcb17e
25
29
  font-weight: 400;
26
30
  text-align: center;
27
31
  }
28
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] {
32
+
33
+ .table-footer[data-v-2dfcb17e] {
29
34
  position: relative;
30
35
  display: table-footer-group;
31
36
  width: 100%;
32
37
  height: 200px;
33
38
  border: 1px solid #d9d9d9;
34
39
  }
35
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
40
+ .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
36
41
  position: absolute;
37
42
  top: 50%;
38
43
  left: 50%;
@@ -41,22 +46,26 @@ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb1
41
46
  text-align: center;
42
47
  color: rgba(0, 0, 0, 0.25);
43
48
  }
44
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] table[data-v-2dfcb17e] {
49
+
50
+ table[data-v-2dfcb17e] {
45
51
  border-collapse: collapse;
46
52
  }
47
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] #top[data-v-2dfcb17e] {
53
+
54
+ #top[data-v-2dfcb17e] {
48
55
  position: fixed;
49
56
  top: 65px;
50
57
  z-index: 999;
51
58
  }
52
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .pagination[data-v-2dfcb17e] {
59
+
60
+ .pagination[data-v-2dfcb17e] {
53
61
  position: fixed;
54
62
  bottom: -80px;
55
63
  z-index: 999;
56
64
  height: 45px;
57
65
  background-color: #fff;
58
66
  }
59
- body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .mrpTable[data-v-2dfcb17e] {
67
+
68
+ .mrpTable[data-v-2dfcb17e] {
60
69
  position: relative;
61
70
  margin-bottom: 80px;
62
71
  }
@@ -195,28 +204,28 @@ body .detail-class {
195
204
 
196
205
  /* 表格 */
197
206
 
198
- .active {
207
+ body .mrpTable .active {
199
208
  background-color: #bd9e55;
200
209
  font-size: 13px;
201
210
  color: white;
202
211
  }
203
212
 
204
- :deep(.ant-btn-primary) {
213
+ body .mrpTable :deep(.ant-btn-primary) {
205
214
  background: #006ab2;
206
215
  }
207
216
 
208
- :deep(.ant-image) {
217
+ body .mrpTable :deep(.ant-image) {
209
218
  margin: 0 2px;
210
219
  }
211
220
 
212
- .center-center {
221
+ body .mrpTable .center-center {
213
222
  position: absolute;
214
223
  top: 50%;
215
224
  left: 50%;
216
225
  transform: translate(-50%, -50%);
217
226
  }
218
227
 
219
- .table-cell {
228
+ body .mrpTable .table-cell {
220
229
  height: 60px;
221
230
  border: 1px solid #d9d9d9;
222
231
  padding: 5px;
@@ -226,7 +235,7 @@ body .detail-class {
226
235
  font-weight: 400;
227
236
  text-align: center;
228
237
  }
229
- .table-footer {
238
+ body .mrpTable .table-footer {
230
239
  position: relative;
231
240
  display: table-footer-group;
232
241
  width: 100%;
@@ -234,7 +243,7 @@ body .detail-class {
234
243
  border: 1px solid #d9d9d9;
235
244
 
236
245
  }
237
- .table-footer .centent {
246
+ body .mrpTable .table-footer .centent {
238
247
  position: absolute;
239
248
  top: 50%;
240
249
  left: 50%;
@@ -243,22 +252,22 @@ body .detail-class {
243
252
  text-align: center;
244
253
  color: rgba(0, 0, 0, 0.25);
245
254
  }
246
- table {
255
+ body .mrpTable table {
247
256
  border-collapse: collapse;
248
257
  }
249
- #top {
258
+ body .mrpTable #top {
250
259
  position: fixed;
251
260
  top: 65px;
252
261
  z-index: 999;
253
262
  }
254
- .pagination {
263
+ body .mrpTable .pagination {
255
264
  position: fixed;
256
265
  bottom: -80px;
257
266
  z-index: 999;
258
267
  height: 45px;
259
268
  background-color: #fff;
260
269
  }
261
- .mrpTable {
270
+ body .mrpTable {
262
271
  position: relative;
263
272
  margin-bottom: 80px;
264
273
  }
@@ -518,8 +518,7 @@
518
518
 
519
519
  var _hoisted_1$8 = {
520
520
  key: 0,
521
- id: "top",
522
- "class": "iv-mrp-table"
521
+ id: "top"
523
522
  };
524
523
  var _hoisted_2$3 = {
525
524
  "class": "flex items-center justify-center"
@@ -1659,7 +1658,7 @@
1659
1658
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
1660
1659
  return vue.isRef(inputV) ? inputV.value = $event : null;
1661
1660
  }),
1662
- mode: __props.multiple ? 'multiple' : 'tags',
1661
+ mode: __props.multiple ? 'multiple' : '',
1663
1662
  style: {
1664
1663
  "width": "100%"
1665
1664
  },
@@ -1849,7 +1848,7 @@
1849
1848
  }]),
1850
1849
  placeholder: "请选择",
1851
1850
  options: dataV.value,
1852
- mode: __props.multiple ? 'multiple' : 'tags',
1851
+ mode: __props.multiple ? 'multiple' : '',
1853
1852
  fieldNames: __props.fieldNames,
1854
1853
  showSearch: "",
1855
1854
  onChange: _cache[1] || (_cache[1] = function ($event) {
@@ -2209,7 +2208,7 @@
2209
2208
  style: vue.normalizeStyle(__props.inputStyle),
2210
2209
  placeholder: "请选择",
2211
2210
  showSearch: "",
2212
- mode: __props.multiple ? 'multiple' : 'tags',
2211
+ mode: __props.multiple ? 'multiple' : '',
2213
2212
  showArrow: "",
2214
2213
  options: dataV.value,
2215
2214
  "filter-option": vue.unref(filterOptionHeadle),
@@ -1 +1 @@
1
- {"version":3,"file":"index.umd.js","sources":["../../shared/dist/utils/index.mjs","../src/business-ui/component/icon/SelectorIcon.vue?vue&type=template&id=0b124b76&lang.js"],"sourcesContent":["// utils/arr/tree.ts\nfunction arrToTree(list, parentMark, childrenMark) {\n let result = [], temp;\n for (let i = 0; i < list.length; i++) {\n if (!list[i][parentMark]) {\n temp = list.filter(\n (item) => item[parentMark] === list[i][childrenMark]\n );\n if (temp.length > 0) {\n list[i].children = temp;\n }\n result.push(list[i]);\n }\n }\n return result;\n}\nfunction _loadChildren(obj, list) {\n const arr = list.filter((x) => x.parentId == obj.id);\n if (!arr.length)\n return;\n obj.children = arr;\n obj.children.forEach((x) => {\n _loadChildren(x, list);\n });\n return obj;\n}\nfunction tranListToTreeData(list) {\n const results = list.filter((x) => x.parentId == null);\n results.forEach((x) => _loadChildren(x, list));\n return results;\n}\nfunction findTree(id, list, idName) {\n let result;\n if (!list.length)\n return;\n const fn = (id2, list2, idName2) => {\n list2.find((_e) => {\n if (_e[idName2] === id2) {\n result = _e;\n } else if (_e.children && _e.children.length !== 0)\n return fn(id2, _e.children, idName2);\n });\n };\n fn(id, list, idName);\n return result;\n}\n\n// utils/obj/judge.ts\nfunction isPlainObject(obj) {\n let proto, Ctor;\n if (!obj || toString.call(obj) !== \"[object Object]\") {\n return false;\n }\n proto = Object.getPrototypeOf(obj);\n if (!proto) {\n return true;\n }\n Ctor = {}.hasOwnProperty.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && {}.hasOwnProperty.toString.call(Ctor) === {}.hasOwnProperty.toString.call(Object);\n}\nvar isObject = (val) => val !== null && typeof val === \"object\";\nfunction isDate(val) {\n return toString.call(val) === \"[object Date]\";\n}\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== \"undefined\" && val instanceof URLSearchParams;\n}\n\n// utils/obj/cache.ts\nvar assign = Object.assign;\n\n// utils/input/index.ts\nfunction filterOptionHeadle(input, option) {\n return option.label && option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0;\n}\n\n// utils/buildUrl.ts\nfunction encode(val) {\n return encodeURIComponent(val).replace(/%40/g, \"@\").replace(/%3A/gi, \":\").replace(/%24/g, \"$\").replace(/%2C/gi, \",\").replace(/%20/g, \"+\").replace(/%5B/gi, \"[\").replace(/%5D/gi, \"]\");\n}\nfunction buildURL(url, params) {\n if (!params) {\n return url;\n }\n if (isURLSearchParams(params)) {\n return url += (url.includes(\"?\") ? \"&\" : \"?\") + params.toString();\n }\n const parts = [];\n Object.keys(params).forEach((key) => {\n const val = params[key];\n if (val === null || typeof val === \"undefined\") {\n return;\n }\n let tempVal = [];\n if (Array.isArray(val)) {\n tempVal = val;\n key = key + \"[]\";\n } else {\n tempVal = [val];\n }\n tempVal.forEach((temp) => {\n if (isDate(temp)) {\n temp = val.toString();\n } else if (isObject(temp)) {\n temp = JSON.stringify(temp);\n }\n parts.push(`${encode(key)}=${encode(temp)}`);\n });\n });\n const hashmarkIndex = url.indexOf(\"#\");\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.includes(\"?\") ? \"&\" : \"?\") + parts.join(\"&\");\n return url;\n}\nexport {\n arrToTree,\n assign,\n buildURL as buildUrl,\n filterOptionHeadle,\n findTree,\n isDate,\n isObject,\n isPlainObject,\n isURLSearchParams,\n tranListToTreeData\n};\n","<!--\r\n * @Author: Mr.Cong Wei\r\n * @Date: 2022-08-11 09:51:33\r\n * @LastEditTime: 2022-08-11 09:52:04\r\n-->\r\n<template>\r\n <div class=\"relative mt-[8px] w-[30px] h-[23px]\">\r\n <svg\r\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n version=\"1.1\"\r\n width=\"23px\"\r\n height=\"23px\"\r\n class=\"absolute\"\r\n >\r\n <g transform=\"matrix(1 0 0 1 -256 -275 )\">\r\n <path\r\n d=\"M 2.8482972136223452 0 C 1.2746130030959648 0.028482972136316675 0 1.3030959752322815 0 2.8767801857584345 L 0 20.151702786377655 C 0 21.725386996904035 1.2746130030959648 23 2.8482972136223452 23 L 20.123219814241565 23 C 21.69690402476772 23 22.971517027863683 21.725386996904035 23 20.151702786377655 L 23 2.8767801857584345 C 22.971517027863683 1.3030959752322815 21.69690402476772 0.028482972136316675 20.123219814241565 0 L 2.8482972136223452 0 Z \"\r\n fill-rule=\"nonzero\"\r\n fill=\"#bd9e55\"\r\n stroke=\"none\"\r\n transform=\"matrix(1 0 0 1 256 275 )\"\r\n />\r\n </g>\r\n </svg>\r\n <svg\r\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n version=\"1.1\"\r\n width=\"23px\"\r\n height=\"23px\"\r\n class=\"absolute left-[7px] bottom-[7px]\"\r\n >\r\n <g transform=\"matrix(1 0 0 1 -263 -268 )\">\r\n <path\r\n d=\"M 2.8767801857584345 0 C 1.3030959752322815 0 0.028482972136316675 1.2746130030959648 0.028482972136316675 2.8482972136223452 L 0.028482972136316675 4.870588235294008 C 0.028482972136316675 5.027244582043295 0.15665634674928697 5.155417956656265 0.31331269349834656 5.155417956656265 L 14.426625386996877 5.155417956656265 C 16.306501547987637 5.155417956656265 17.844582043343735 6.693498452012363 17.844582043343735 8.573374613003125 L 17.844582043343735 22.686687306501653 C 17.844582043343735 22.843343653250713 17.972755417956705 22.971517027863683 18.129411764705992 22.971517027863683 L 20.151702786377655 22.971517027863683 C 21.725386996904035 22.971517027863683 23 21.69690402476772 23 20.123219814241565 L 23 2.8482972136223452 C 23 1.2746130030959648 21.725386996904035 0 20.151702786377655 0 L 2.8767801857584345 0 Z \"\r\n fill-rule=\"nonzero\"\r\n fill=\"#bd9e55\"\r\n stroke=\"none\"\r\n transform=\"matrix(1 0 0 1 263 268 )\"\r\n />\r\n </g>\r\n </svg>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\"></script>\r\n\r\n<style scoped></style>\r\n"],"names":["_loadChildren","obj","list","arr","filter","x","parentId","id","length","children","forEach","tranListToTreeData","results","isObject","val","isDate","toString","call","isURLSearchParams","URLSearchParams","assign","Object","filterOptionHeadle","input","option","label","toLowerCase","indexOf","encode","encodeURIComponent","replace","buildURL","url","params","includes","parts","keys","key","tempVal","Array","isArray","temp","JSON","stringify","push","hashmarkIndex","slice","join","_hoisted_1","xmlns","version","d","fill","stroke","transform"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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{"version":3,"file":"index.umd.js","sources":["../../shared/dist/utils/index.mjs","../src/business-ui/component/icon/SelectorIcon.vue?vue&type=template&id=0b124b76&lang.js"],"sourcesContent":["// utils/arr/tree.ts\nfunction arrToTree(list, parentMark, childrenMark) {\n let result = [], temp;\n for (let i = 0; i < list.length; i++) {\n if (!list[i][parentMark]) {\n temp = list.filter(\n (item) => item[parentMark] === list[i][childrenMark]\n );\n if (temp.length > 0) {\n list[i].children = temp;\n }\n result.push(list[i]);\n }\n }\n return result;\n}\nfunction _loadChildren(obj, list) {\n const arr = list.filter((x) => x.parentId == obj.id);\n if (!arr.length)\n return;\n obj.children = arr;\n obj.children.forEach((x) => {\n _loadChildren(x, list);\n });\n return obj;\n}\nfunction tranListToTreeData(list) {\n const results = list.filter((x) => x.parentId == null);\n results.forEach((x) => _loadChildren(x, list));\n return results;\n}\nfunction findTree(id, list, idName) {\n let result;\n if (!list.length)\n return;\n const fn = (id2, list2, idName2) => {\n list2.find((_e) => {\n if (_e[idName2] === id2) {\n result = _e;\n } else if (_e.children && _e.children.length !== 0)\n return fn(id2, _e.children, idName2);\n });\n };\n fn(id, list, idName);\n return result;\n}\n\n// utils/obj/judge.ts\nfunction isPlainObject(obj) {\n let proto, Ctor;\n if (!obj || toString.call(obj) !== \"[object Object]\") {\n return false;\n }\n proto = Object.getPrototypeOf(obj);\n if (!proto) {\n return true;\n }\n Ctor = {}.hasOwnProperty.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && {}.hasOwnProperty.toString.call(Ctor) === {}.hasOwnProperty.toString.call(Object);\n}\nvar isObject = (val) => val !== null && typeof val === \"object\";\nfunction isDate(val) {\n return toString.call(val) === \"[object Date]\";\n}\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== \"undefined\" && val instanceof URLSearchParams;\n}\n\n// utils/obj/cache.ts\nvar assign = Object.assign;\n\n// utils/input/index.ts\nfunction filterOptionHeadle(input, option) {\n return option.label && option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0;\n}\n\n// utils/buildUrl.ts\nfunction encode(val) {\n return encodeURIComponent(val).replace(/%40/g, \"@\").replace(/%3A/gi, \":\").replace(/%24/g, \"$\").replace(/%2C/gi, \",\").replace(/%20/g, \"+\").replace(/%5B/gi, \"[\").replace(/%5D/gi, \"]\");\n}\nfunction buildURL(url, params) {\n if (!params) {\n return url;\n }\n if (isURLSearchParams(params)) {\n return url += (url.includes(\"?\") ? \"&\" : \"?\") + params.toString();\n }\n const parts = [];\n Object.keys(params).forEach((key) => {\n const val = params[key];\n if (val === null || typeof val === \"undefined\") {\n return;\n }\n let tempVal = [];\n if (Array.isArray(val)) {\n tempVal = val;\n key = key + \"[]\";\n } else {\n tempVal = [val];\n }\n tempVal.forEach((temp) => {\n if (isDate(temp)) {\n temp = val.toString();\n } else if (isObject(temp)) {\n temp = JSON.stringify(temp);\n }\n parts.push(`${encode(key)}=${encode(temp)}`);\n });\n });\n const hashmarkIndex = url.indexOf(\"#\");\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n url += (url.includes(\"?\") ? \"&\" : \"?\") + parts.join(\"&\");\n return url;\n}\nexport {\n arrToTree,\n assign,\n buildURL as buildUrl,\n filterOptionHeadle,\n findTree,\n isDate,\n isObject,\n isPlainObject,\n isURLSearchParams,\n tranListToTreeData\n};\n","<!--\r\n * @Author: Mr.Cong Wei\r\n * @Date: 2022-08-11 09:51:33\r\n * @LastEditTime: 2022-08-11 09:52:04\r\n-->\r\n<template>\r\n <div class=\"relative mt-[8px] w-[30px] h-[23px]\">\r\n <svg\r\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n version=\"1.1\"\r\n width=\"23px\"\r\n height=\"23px\"\r\n class=\"absolute\"\r\n >\r\n <g transform=\"matrix(1 0 0 1 -256 -275 )\">\r\n <path\r\n d=\"M 2.8482972136223452 0 C 1.2746130030959648 0.028482972136316675 0 1.3030959752322815 0 2.8767801857584345 L 0 20.151702786377655 C 0 21.725386996904035 1.2746130030959648 23 2.8482972136223452 23 L 20.123219814241565 23 C 21.69690402476772 23 22.971517027863683 21.725386996904035 23 20.151702786377655 L 23 2.8767801857584345 C 22.971517027863683 1.3030959752322815 21.69690402476772 0.028482972136316675 20.123219814241565 0 L 2.8482972136223452 0 Z \"\r\n fill-rule=\"nonzero\"\r\n fill=\"#bd9e55\"\r\n stroke=\"none\"\r\n transform=\"matrix(1 0 0 1 256 275 )\"\r\n />\r\n </g>\r\n </svg>\r\n <svg\r\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n version=\"1.1\"\r\n width=\"23px\"\r\n height=\"23px\"\r\n class=\"absolute left-[7px] bottom-[7px]\"\r\n >\r\n <g transform=\"matrix(1 0 0 1 -263 -268 )\">\r\n <path\r\n d=\"M 2.8767801857584345 0 C 1.3030959752322815 0 0.028482972136316675 1.2746130030959648 0.028482972136316675 2.8482972136223452 L 0.028482972136316675 4.870588235294008 C 0.028482972136316675 5.027244582043295 0.15665634674928697 5.155417956656265 0.31331269349834656 5.155417956656265 L 14.426625386996877 5.155417956656265 C 16.306501547987637 5.155417956656265 17.844582043343735 6.693498452012363 17.844582043343735 8.573374613003125 L 17.844582043343735 22.686687306501653 C 17.844582043343735 22.843343653250713 17.972755417956705 22.971517027863683 18.129411764705992 22.971517027863683 L 20.151702786377655 22.971517027863683 C 21.725386996904035 22.971517027863683 23 21.69690402476772 23 20.123219814241565 L 23 2.8482972136223452 C 23 1.2746130030959648 21.725386996904035 0 20.151702786377655 0 L 2.8767801857584345 0 Z \"\r\n fill-rule=\"nonzero\"\r\n fill=\"#bd9e55\"\r\n stroke=\"none\"\r\n transform=\"matrix(1 0 0 1 263 268 )\"\r\n />\r\n </g>\r\n </svg>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\"></script>\r\n\r\n<style scoped></style>\r\n"],"names":["_loadChildren","obj","list","arr","filter","x","parentId","id","length","children","forEach","tranListToTreeData","results","isObject","val","isDate","toString","call","isURLSearchParams","URLSearchParams","assign","Object","filterOptionHeadle","input","option","label","toLowerCase","indexOf","encode","encodeURIComponent","replace","buildURL","url","params","includes","parts","keys","key","tempVal","Array","isArray","temp","JSON","stringify","push","hashmarkIndex","slice","join","_hoisted_1","xmlns","version","d","fill","stroke","transform"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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