iv-npm 1.1.22 → 1.1.23

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.22",
3
+ "version": "1.1.23",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -22,6 +22,23 @@ declare const _default: import("vue").DefineComponent<{
22
22
  value: string;
23
23
  };
24
24
  };
25
+ inputStyle: {
26
+ type: ObjectConstructor;
27
+ required: true;
28
+ default: () => {
29
+ width: string;
30
+ };
31
+ };
32
+ isRequired: {
33
+ type: BooleanConstructor;
34
+ required: true;
35
+ default: boolean;
36
+ };
37
+ multiple: {
38
+ type: BooleanConstructor;
39
+ required: false;
40
+ default: boolean;
41
+ };
25
42
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
43
  [key: string]: any;
27
44
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -45,10 +62,29 @@ declare const _default: import("vue").DefineComponent<{
45
62
  value: string;
46
63
  };
47
64
  };
65
+ inputStyle: {
66
+ type: ObjectConstructor;
67
+ required: true;
68
+ default: () => {
69
+ width: string;
70
+ };
71
+ };
72
+ isRequired: {
73
+ type: BooleanConstructor;
74
+ required: true;
75
+ default: boolean;
76
+ };
77
+ multiple: {
78
+ type: BooleanConstructor;
79
+ required: false;
80
+ default: boolean;
81
+ };
48
82
  }>> & {
49
83
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
50
84
  onChange?: ((...args: any[]) => any) | undefined;
51
85
  }, {
52
86
  fieldNames: any;
87
+ inputStyle: Record<string, any>;
88
+ multiple: boolean;
53
89
  }>;
54
90
  export default _default;
@@ -36,6 +36,11 @@ declare const _default: import("vue").DefineComponent<{
36
36
  required: true;
37
37
  default: boolean;
38
38
  };
39
+ multiple: {
40
+ type: BooleanConstructor;
41
+ required: false;
42
+ default: boolean;
43
+ };
39
44
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
45
  [key: string]: any;
41
46
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -73,11 +78,17 @@ declare const _default: import("vue").DefineComponent<{
73
78
  required: true;
74
79
  default: boolean;
75
80
  };
81
+ multiple: {
82
+ type: BooleanConstructor;
83
+ required: false;
84
+ default: boolean;
85
+ };
76
86
  }>> & {
77
87
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
78
88
  onChange?: ((...args: any[]) => any) | undefined;
79
89
  }, {
80
90
  replaceFields: any;
81
91
  inputStyle: Record<string, any>;
92
+ multiple: boolean;
82
93
  }>;
83
94
  export default _default;
@@ -22,6 +22,23 @@ declare const _default: import("vue").DefineComponent<{
22
22
  value: string;
23
23
  };
24
24
  };
25
+ inputStyle: {
26
+ type: ObjectConstructor;
27
+ required: true;
28
+ default: () => {
29
+ width: string;
30
+ };
31
+ };
32
+ isRequired: {
33
+ type: BooleanConstructor;
34
+ required: true;
35
+ default: boolean;
36
+ };
37
+ multiple: {
38
+ type: BooleanConstructor;
39
+ required: false;
40
+ default: boolean;
41
+ };
25
42
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
43
  [key: string]: any;
27
44
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -45,10 +62,29 @@ declare const _default: import("vue").DefineComponent<{
45
62
  value: string;
46
63
  };
47
64
  };
65
+ inputStyle: {
66
+ type: ObjectConstructor;
67
+ required: true;
68
+ default: () => {
69
+ width: string;
70
+ };
71
+ };
72
+ isRequired: {
73
+ type: BooleanConstructor;
74
+ required: true;
75
+ default: boolean;
76
+ };
77
+ multiple: {
78
+ type: BooleanConstructor;
79
+ required: false;
80
+ default: boolean;
81
+ };
48
82
  }>> & {
49
83
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
50
84
  onChange?: ((...args: any[]) => any) | undefined;
51
85
  }, {
52
86
  fieldNames: any;
87
+ inputStyle: Record<string, any>;
88
+ multiple: boolean;
53
89
  }>;
54
90
  export default _default;
@@ -22,6 +22,11 @@ declare const _default: import("vue").DefineComponent<{
22
22
  value: string;
23
23
  };
24
24
  };
25
+ multiple: {
26
+ type: BooleanConstructor;
27
+ required: false;
28
+ default: boolean;
29
+ };
25
30
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
31
  [key: string]: any;
27
32
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -45,10 +50,16 @@ declare const _default: import("vue").DefineComponent<{
45
50
  value: string;
46
51
  };
47
52
  };
53
+ multiple: {
54
+ type: BooleanConstructor;
55
+ required: false;
56
+ default: boolean;
57
+ };
48
58
  }>> & {
49
59
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
50
60
  onChange?: ((...args: any[]) => any) | undefined;
51
61
  }, {
52
62
  fieldNames: any;
63
+ multiple: boolean;
53
64
  }>;
54
65
  export default _default;
@@ -1,25 +1,21 @@
1
- .active[data-v-2dfcb17e] {
1
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .active[data-v-2dfcb17e] {
2
2
  background-color: #bd9e55;
3
3
  font-size: 13px;
4
4
  color: white;
5
5
  }
6
-
7
- [data-v-2dfcb17e] .ant-btn-primary {
6
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-btn-primary {
8
7
  background: #006ab2;
9
8
  }
10
-
11
- [data-v-2dfcb17e] .ant-image {
9
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-image {
12
10
  margin: 0 2px;
13
11
  }
14
-
15
- .center-center[data-v-2dfcb17e] {
12
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .center-center[data-v-2dfcb17e] {
16
13
  position: absolute;
17
14
  top: 50%;
18
15
  left: 50%;
19
16
  transform: translate(-50%, -50%);
20
17
  }
21
-
22
- .table-cell[data-v-2dfcb17e] {
18
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-cell[data-v-2dfcb17e] {
23
19
  height: 60px;
24
20
  border: 1px solid #d9d9d9;
25
21
  padding: 5px;
@@ -29,15 +25,14 @@
29
25
  font-weight: 400;
30
26
  text-align: center;
31
27
  }
32
-
33
- .table-footer[data-v-2dfcb17e] {
28
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] {
34
29
  position: relative;
35
30
  display: table-footer-group;
36
31
  width: 100%;
37
32
  height: 200px;
38
33
  border: 1px solid #d9d9d9;
39
34
  }
40
- .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
35
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
41
36
  position: absolute;
42
37
  top: 50%;
43
38
  left: 50%;
@@ -46,26 +41,22 @@
46
41
  text-align: center;
47
42
  color: rgba(0, 0, 0, 0.25);
48
43
  }
49
-
50
- table[data-v-2dfcb17e] {
44
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] table[data-v-2dfcb17e] {
51
45
  border-collapse: collapse;
52
46
  }
53
-
54
- #top[data-v-2dfcb17e] {
47
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] #top[data-v-2dfcb17e] {
55
48
  position: fixed;
56
49
  top: 65px;
57
50
  z-index: 999;
58
51
  }
59
-
60
- .pagination[data-v-2dfcb17e] {
52
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .pagination[data-v-2dfcb17e] {
61
53
  position: fixed;
62
54
  bottom: -80px;
63
55
  z-index: 999;
64
56
  height: 45px;
65
57
  background-color: #fff;
66
58
  }
67
-
68
- .mrpTable[data-v-2dfcb17e] {
59
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .mrpTable[data-v-2dfcb17e] {
69
60
  position: relative;
70
61
  margin-bottom: 80px;
71
62
  }
@@ -518,7 +518,8 @@ var _withScopeId$2 = function _withScopeId(n) {
518
518
 
519
519
  var _hoisted_1$8 = {
520
520
  key: 0,
521
- id: "top"
521
+ id: "top",
522
+ "class": "iv-mrp-table"
522
523
  };
523
524
  var _hoisted_2$3 = {
524
525
  "class": "flex items-center justify-center"
@@ -1378,6 +1379,11 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
1378
1379
  type: Boolean,
1379
1380
  required: true,
1380
1381
  "default": true
1382
+ },
1383
+ multiple: {
1384
+ type: Boolean,
1385
+ required: false,
1386
+ "default": false
1381
1387
  }
1382
1388
  },
1383
1389
  emits: ["update:value", "change"],
@@ -1488,6 +1494,7 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
1488
1494
  placeholder: "请选择",
1489
1495
  showArrow: "",
1490
1496
  showSearch: "",
1497
+ multiple: __props.multiple,
1491
1498
  "filter-option": vue.unref(filterOptionHeadle),
1492
1499
  treeDefaultExpandAll: "",
1493
1500
  style: vue.normalizeStyle(__props.inputStyle),
@@ -1497,7 +1504,7 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
1497
1504
  replaceFields: __props.replaceFields
1498
1505
  }, null, 8
1499
1506
  /* PROPS */
1500
- , ["value", "tree-data", "getPopupContainer", "filter-option", "style", "replaceFields"])];
1507
+ , ["value", "tree-data", "getPopupContainer", "multiple", "filter-option", "style", "replaceFields"])];
1501
1508
  }),
1502
1509
  _: 1
1503
1510
  /* STABLE */
@@ -1544,6 +1551,11 @@ var script$5 = /*#__PURE__*/vue.defineComponent({
1544
1551
  value: "id"
1545
1552
  };
1546
1553
  }
1554
+ },
1555
+ multiple: {
1556
+ type: Boolean,
1557
+ required: false,
1558
+ "default": true
1547
1559
  }
1548
1560
  },
1549
1561
  emits: ["update:value", "change"],
@@ -1647,7 +1659,7 @@ var script$5 = /*#__PURE__*/vue.defineComponent({
1647
1659
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
1648
1660
  return vue.isRef(inputV) ? inputV.value = $event : null;
1649
1661
  }),
1650
- mode: "multiple",
1662
+ mode: __props.multiple ? 'multiple' : 'tags',
1651
1663
  style: {
1652
1664
  "width": "100%"
1653
1665
  },
@@ -1661,7 +1673,7 @@ var script$5 = /*#__PURE__*/vue.defineComponent({
1661
1673
  "filter-option": vue.unref(filterOptionHeadle)
1662
1674
  }, null, 8
1663
1675
  /* PROPS */
1664
- , ["getPopupContainer", "value", "options", "fieldNames", "filter-option"])];
1676
+ , ["getPopupContainer", "value", "mode", "options", "fieldNames", "filter-option"])];
1665
1677
  }),
1666
1678
  _: 1
1667
1679
  /* STABLE */
@@ -1706,6 +1718,25 @@ var script$4 = /*#__PURE__*/vue.defineComponent({
1706
1718
  value: "id"
1707
1719
  };
1708
1720
  }
1721
+ },
1722
+ inputStyle: {
1723
+ type: Object,
1724
+ required: true,
1725
+ "default": function _default() {
1726
+ return {
1727
+ width: "100%"
1728
+ };
1729
+ }
1730
+ },
1731
+ isRequired: {
1732
+ type: Boolean,
1733
+ required: true,
1734
+ "default": true
1735
+ },
1736
+ multiple: {
1737
+ type: Boolean,
1738
+ required: false,
1739
+ "default": true
1709
1740
  }
1710
1741
  },
1711
1742
  emits: ["update:value", "change"],
@@ -1797,7 +1828,7 @@ var script$4 = /*#__PURE__*/vue.defineComponent({
1797
1828
  span: 8
1798
1829
  },
1799
1830
  rules: [{
1800
- required: true,
1831
+ required: __props.isRequired,
1801
1832
  message: '请选择所属条线'
1802
1833
  }]
1803
1834
  }, {
@@ -1813,12 +1844,12 @@ var script$4 = /*#__PURE__*/vue.defineComponent({
1813
1844
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
1814
1845
  return vue.isRef(inputV) ? inputV.value = $event : null;
1815
1846
  }),
1816
- mode: "multiple",
1817
- style: {
1847
+ style: vue.normalizeStyle([__props.inputStyle, {
1818
1848
  "width": "100%"
1819
- },
1849
+ }]),
1820
1850
  placeholder: "请选择",
1821
1851
  options: dataV.value,
1852
+ mode: __props.multiple ? 'multiple' : 'tags',
1822
1853
  fieldNames: __props.fieldNames,
1823
1854
  showSearch: "",
1824
1855
  onChange: _cache[1] || (_cache[1] = function ($event) {
@@ -1827,12 +1858,14 @@ var script$4 = /*#__PURE__*/vue.defineComponent({
1827
1858
  "filter-option": vue.unref(filterOptionHeadle)
1828
1859
  }, null, 8
1829
1860
  /* PROPS */
1830
- , ["getPopupContainer", "value", "options", "fieldNames", "filter-option"])];
1861
+ , ["getPopupContainer", "value", "style", "options", "mode", "fieldNames", "filter-option"])];
1831
1862
  }),
1832
1863
  _: 1
1833
1864
  /* STABLE */
1834
1865
 
1835
- });
1866
+ }, 8
1867
+ /* PROPS */
1868
+ , ["rules"]);
1836
1869
  };
1837
1870
  }
1838
1871
  });
@@ -2049,6 +2082,25 @@ var script$2 = /*#__PURE__*/vue.defineComponent({
2049
2082
  value: "id"
2050
2083
  };
2051
2084
  }
2085
+ },
2086
+ inputStyle: {
2087
+ type: Object,
2088
+ required: true,
2089
+ "default": function _default() {
2090
+ return {
2091
+ width: "300px"
2092
+ };
2093
+ }
2094
+ },
2095
+ isRequired: {
2096
+ type: Boolean,
2097
+ required: true,
2098
+ "default": true
2099
+ },
2100
+ multiple: {
2101
+ type: Boolean,
2102
+ required: false,
2103
+ "default": false
2052
2104
  }
2053
2105
  },
2054
2106
  emits: ["update:value", "change"],
@@ -2137,7 +2189,7 @@ var script$2 = /*#__PURE__*/vue.defineComponent({
2137
2189
  return vue.openBlock(), vue.createBlock(_component_a_form_item, {
2138
2190
  name: "positionId",
2139
2191
  rules: [{
2140
- required: true,
2192
+ required: __props.isRequired,
2141
2193
  message: '请选择岗位'
2142
2194
  }]
2143
2195
  }, {
@@ -2154,11 +2206,10 @@ var script$2 = /*#__PURE__*/vue.defineComponent({
2154
2206
  return triggerNode.parentNode;
2155
2207
  },
2156
2208
  allowClear: "",
2157
- style: {
2158
- "width": "300px"
2159
- },
2209
+ style: vue.normalizeStyle(__props.inputStyle),
2160
2210
  placeholder: "请选择",
2161
2211
  showSearch: "",
2212
+ mode: __props.multiple ? 'multiple' : 'tags',
2162
2213
  showArrow: "",
2163
2214
  options: dataV.value,
2164
2215
  "filter-option": vue.unref(filterOptionHeadle),
@@ -2168,12 +2219,14 @@ var script$2 = /*#__PURE__*/vue.defineComponent({
2168
2219
  fieldNames: __props.fieldNames
2169
2220
  }, null, 8
2170
2221
  /* PROPS */
2171
- , ["value", "getPopupContainer", "options", "filter-option", "fieldNames"])];
2222
+ , ["value", "getPopupContainer", "style", "mode", "options", "filter-option", "fieldNames"])];
2172
2223
  }),
2173
2224
  _: 1
2174
2225
  /* STABLE */
2175
2226
 
2176
- });
2227
+ }, 8
2228
+ /* PROPS */
2229
+ , ["rules"]);
2177
2230
  };
2178
2231
  }
2179
2232
  });
@@ -2530,7 +2583,6 @@ var script = /*#__PURE__*/vue.defineComponent({
2530
2583
  "onUpdate:show": _cache[5] || (_cache[5] = function ($event) {
2531
2584
  return vue.isRef(inputV) ? inputV.value = $event : null;
2532
2585
  }),
2533
- isTableControl: false,
2534
2586
  "remove-padding": false
2535
2587
  }, {
2536
2588
  title: vue.withCtx(function () {
@@ -2555,7 +2607,13 @@ var script = /*#__PURE__*/vue.defineComponent({
2555
2607
  "onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
2556
2608
  return formData.lineId = $event;
2557
2609
  }),
2558
- onChange: onSearch
2610
+ onChange: onSearch,
2611
+ multiple: false,
2612
+ "is-required": false,
2613
+ "input-style": {
2614
+ width: '170px',
2615
+ marginRight: '15px'
2616
+ }
2559
2617
  }, null, 8
2560
2618
  /* PROPS */
2561
2619
  , ["value"]), vue.createVNode(vue.unref(script$2), {
@@ -2563,7 +2621,12 @@ var script = /*#__PURE__*/vue.defineComponent({
2563
2621
  "onUpdate:value": _cache[2] || (_cache[2] = function ($event) {
2564
2622
  return formData.positionId = $event;
2565
2623
  }),
2566
- onChange: onSearch
2624
+ onChange: onSearch,
2625
+ "is-required": false,
2626
+ "input-style": {
2627
+ width: '170px',
2628
+ marginRight: '15px'
2629
+ }
2567
2630
  }, null, 8
2568
2631
  /* PROPS */
2569
2632
  , ["value"]), vue.createVNode(_component_a_input, {
@@ -2663,6 +2726,7 @@ var script = /*#__PURE__*/vue.defineComponent({
2663
2726
  totalPages: totalPages.value,
2664
2727
  formData: formData,
2665
2728
  setHeight: 40,
2729
+ isTableControl: false,
2666
2730
  onOnPageChange: onPageChange,
2667
2731
  onOnShowSizeChange: onShowSizeChange,
2668
2732
  onUpth: upth
@@ -1,25 +1,21 @@
1
- .active[data-v-2dfcb17e] {
1
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .active[data-v-2dfcb17e] {
2
2
  background-color: #bd9e55;
3
3
  font-size: 13px;
4
4
  color: white;
5
5
  }
6
-
7
- [data-v-2dfcb17e] .ant-btn-primary {
6
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-btn-primary {
8
7
  background: #006ab2;
9
8
  }
10
-
11
- [data-v-2dfcb17e] .ant-image {
9
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-image {
12
10
  margin: 0 2px;
13
11
  }
14
-
15
- .center-center[data-v-2dfcb17e] {
12
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .center-center[data-v-2dfcb17e] {
16
13
  position: absolute;
17
14
  top: 50%;
18
15
  left: 50%;
19
16
  transform: translate(-50%, -50%);
20
17
  }
21
-
22
- .table-cell[data-v-2dfcb17e] {
18
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-cell[data-v-2dfcb17e] {
23
19
  height: 60px;
24
20
  border: 1px solid #d9d9d9;
25
21
  padding: 5px;
@@ -29,15 +25,14 @@
29
25
  font-weight: 400;
30
26
  text-align: center;
31
27
  }
32
-
33
- .table-footer[data-v-2dfcb17e] {
28
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] {
34
29
  position: relative;
35
30
  display: table-footer-group;
36
31
  width: 100%;
37
32
  height: 200px;
38
33
  border: 1px solid #d9d9d9;
39
34
  }
40
- .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
35
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
41
36
  position: absolute;
42
37
  top: 50%;
43
38
  left: 50%;
@@ -46,26 +41,22 @@
46
41
  text-align: center;
47
42
  color: rgba(0, 0, 0, 0.25);
48
43
  }
49
-
50
- table[data-v-2dfcb17e] {
44
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] table[data-v-2dfcb17e] {
51
45
  border-collapse: collapse;
52
46
  }
53
-
54
- #top[data-v-2dfcb17e] {
47
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] #top[data-v-2dfcb17e] {
55
48
  position: fixed;
56
49
  top: 65px;
57
50
  z-index: 999;
58
51
  }
59
-
60
- .pagination[data-v-2dfcb17e] {
52
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .pagination[data-v-2dfcb17e] {
61
53
  position: fixed;
62
54
  bottom: -80px;
63
55
  z-index: 999;
64
56
  height: 45px;
65
57
  background-color: #fff;
66
58
  }
67
-
68
- .mrpTable[data-v-2dfcb17e] {
59
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .mrpTable[data-v-2dfcb17e] {
69
60
  position: relative;
70
61
  margin-bottom: 80px;
71
62
  }
@@ -514,7 +514,8 @@ var _withScopeId$2 = function _withScopeId(n) {
514
514
 
515
515
  var _hoisted_1$8 = {
516
516
  key: 0,
517
- id: "top"
517
+ id: "top",
518
+ "class": "iv-mrp-table"
518
519
  };
519
520
  var _hoisted_2$3 = {
520
521
  "class": "flex items-center justify-center"
@@ -1374,6 +1375,11 @@ var script$6 = /*#__PURE__*/defineComponent({
1374
1375
  type: Boolean,
1375
1376
  required: true,
1376
1377
  "default": true
1378
+ },
1379
+ multiple: {
1380
+ type: Boolean,
1381
+ required: false,
1382
+ "default": false
1377
1383
  }
1378
1384
  },
1379
1385
  emits: ["update:value", "change"],
@@ -1484,6 +1490,7 @@ var script$6 = /*#__PURE__*/defineComponent({
1484
1490
  placeholder: "请选择",
1485
1491
  showArrow: "",
1486
1492
  showSearch: "",
1493
+ multiple: __props.multiple,
1487
1494
  "filter-option": unref(filterOptionHeadle),
1488
1495
  treeDefaultExpandAll: "",
1489
1496
  style: normalizeStyle(__props.inputStyle),
@@ -1493,7 +1500,7 @@ var script$6 = /*#__PURE__*/defineComponent({
1493
1500
  replaceFields: __props.replaceFields
1494
1501
  }, null, 8
1495
1502
  /* PROPS */
1496
- , ["value", "tree-data", "getPopupContainer", "filter-option", "style", "replaceFields"])];
1503
+ , ["value", "tree-data", "getPopupContainer", "multiple", "filter-option", "style", "replaceFields"])];
1497
1504
  }),
1498
1505
  _: 1
1499
1506
  /* STABLE */
@@ -1540,6 +1547,11 @@ var script$5 = /*#__PURE__*/defineComponent({
1540
1547
  value: "id"
1541
1548
  };
1542
1549
  }
1550
+ },
1551
+ multiple: {
1552
+ type: Boolean,
1553
+ required: false,
1554
+ "default": true
1543
1555
  }
1544
1556
  },
1545
1557
  emits: ["update:value", "change"],
@@ -1643,7 +1655,7 @@ var script$5 = /*#__PURE__*/defineComponent({
1643
1655
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
1644
1656
  return isRef(inputV) ? inputV.value = $event : null;
1645
1657
  }),
1646
- mode: "multiple",
1658
+ mode: __props.multiple ? 'multiple' : 'tags',
1647
1659
  style: {
1648
1660
  "width": "100%"
1649
1661
  },
@@ -1657,7 +1669,7 @@ var script$5 = /*#__PURE__*/defineComponent({
1657
1669
  "filter-option": unref(filterOptionHeadle)
1658
1670
  }, null, 8
1659
1671
  /* PROPS */
1660
- , ["getPopupContainer", "value", "options", "fieldNames", "filter-option"])];
1672
+ , ["getPopupContainer", "value", "mode", "options", "fieldNames", "filter-option"])];
1661
1673
  }),
1662
1674
  _: 1
1663
1675
  /* STABLE */
@@ -1702,6 +1714,25 @@ var script$4 = /*#__PURE__*/defineComponent({
1702
1714
  value: "id"
1703
1715
  };
1704
1716
  }
1717
+ },
1718
+ inputStyle: {
1719
+ type: Object,
1720
+ required: true,
1721
+ "default": function _default() {
1722
+ return {
1723
+ width: "100%"
1724
+ };
1725
+ }
1726
+ },
1727
+ isRequired: {
1728
+ type: Boolean,
1729
+ required: true,
1730
+ "default": true
1731
+ },
1732
+ multiple: {
1733
+ type: Boolean,
1734
+ required: false,
1735
+ "default": true
1705
1736
  }
1706
1737
  },
1707
1738
  emits: ["update:value", "change"],
@@ -1793,7 +1824,7 @@ var script$4 = /*#__PURE__*/defineComponent({
1793
1824
  span: 8
1794
1825
  },
1795
1826
  rules: [{
1796
- required: true,
1827
+ required: __props.isRequired,
1797
1828
  message: '请选择所属条线'
1798
1829
  }]
1799
1830
  }, {
@@ -1809,12 +1840,12 @@ var script$4 = /*#__PURE__*/defineComponent({
1809
1840
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
1810
1841
  return isRef(inputV) ? inputV.value = $event : null;
1811
1842
  }),
1812
- mode: "multiple",
1813
- style: {
1843
+ style: normalizeStyle([__props.inputStyle, {
1814
1844
  "width": "100%"
1815
- },
1845
+ }]),
1816
1846
  placeholder: "请选择",
1817
1847
  options: dataV.value,
1848
+ mode: __props.multiple ? 'multiple' : 'tags',
1818
1849
  fieldNames: __props.fieldNames,
1819
1850
  showSearch: "",
1820
1851
  onChange: _cache[1] || (_cache[1] = function ($event) {
@@ -1823,12 +1854,14 @@ var script$4 = /*#__PURE__*/defineComponent({
1823
1854
  "filter-option": unref(filterOptionHeadle)
1824
1855
  }, null, 8
1825
1856
  /* PROPS */
1826
- , ["getPopupContainer", "value", "options", "fieldNames", "filter-option"])];
1857
+ , ["getPopupContainer", "value", "style", "options", "mode", "fieldNames", "filter-option"])];
1827
1858
  }),
1828
1859
  _: 1
1829
1860
  /* STABLE */
1830
1861
 
1831
- });
1862
+ }, 8
1863
+ /* PROPS */
1864
+ , ["rules"]);
1832
1865
  };
1833
1866
  }
1834
1867
  });
@@ -2045,6 +2078,25 @@ var script$2 = /*#__PURE__*/defineComponent({
2045
2078
  value: "id"
2046
2079
  };
2047
2080
  }
2081
+ },
2082
+ inputStyle: {
2083
+ type: Object,
2084
+ required: true,
2085
+ "default": function _default() {
2086
+ return {
2087
+ width: "300px"
2088
+ };
2089
+ }
2090
+ },
2091
+ isRequired: {
2092
+ type: Boolean,
2093
+ required: true,
2094
+ "default": true
2095
+ },
2096
+ multiple: {
2097
+ type: Boolean,
2098
+ required: false,
2099
+ "default": false
2048
2100
  }
2049
2101
  },
2050
2102
  emits: ["update:value", "change"],
@@ -2133,7 +2185,7 @@ var script$2 = /*#__PURE__*/defineComponent({
2133
2185
  return openBlock(), createBlock(_component_a_form_item, {
2134
2186
  name: "positionId",
2135
2187
  rules: [{
2136
- required: true,
2188
+ required: __props.isRequired,
2137
2189
  message: '请选择岗位'
2138
2190
  }]
2139
2191
  }, {
@@ -2150,11 +2202,10 @@ var script$2 = /*#__PURE__*/defineComponent({
2150
2202
  return triggerNode.parentNode;
2151
2203
  },
2152
2204
  allowClear: "",
2153
- style: {
2154
- "width": "300px"
2155
- },
2205
+ style: normalizeStyle(__props.inputStyle),
2156
2206
  placeholder: "请选择",
2157
2207
  showSearch: "",
2208
+ mode: __props.multiple ? 'multiple' : 'tags',
2158
2209
  showArrow: "",
2159
2210
  options: dataV.value,
2160
2211
  "filter-option": unref(filterOptionHeadle),
@@ -2164,12 +2215,14 @@ var script$2 = /*#__PURE__*/defineComponent({
2164
2215
  fieldNames: __props.fieldNames
2165
2216
  }, null, 8
2166
2217
  /* PROPS */
2167
- , ["value", "getPopupContainer", "options", "filter-option", "fieldNames"])];
2218
+ , ["value", "getPopupContainer", "style", "mode", "options", "filter-option", "fieldNames"])];
2168
2219
  }),
2169
2220
  _: 1
2170
2221
  /* STABLE */
2171
2222
 
2172
- });
2223
+ }, 8
2224
+ /* PROPS */
2225
+ , ["rules"]);
2173
2226
  };
2174
2227
  }
2175
2228
  });
@@ -2526,7 +2579,6 @@ var script = /*#__PURE__*/defineComponent({
2526
2579
  "onUpdate:show": _cache[5] || (_cache[5] = function ($event) {
2527
2580
  return isRef(inputV) ? inputV.value = $event : null;
2528
2581
  }),
2529
- isTableControl: false,
2530
2582
  "remove-padding": false
2531
2583
  }, {
2532
2584
  title: withCtx(function () {
@@ -2551,7 +2603,13 @@ var script = /*#__PURE__*/defineComponent({
2551
2603
  "onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
2552
2604
  return formData.lineId = $event;
2553
2605
  }),
2554
- onChange: onSearch
2606
+ onChange: onSearch,
2607
+ multiple: false,
2608
+ "is-required": false,
2609
+ "input-style": {
2610
+ width: '170px',
2611
+ marginRight: '15px'
2612
+ }
2555
2613
  }, null, 8
2556
2614
  /* PROPS */
2557
2615
  , ["value"]), createVNode(unref(script$2), {
@@ -2559,7 +2617,12 @@ var script = /*#__PURE__*/defineComponent({
2559
2617
  "onUpdate:value": _cache[2] || (_cache[2] = function ($event) {
2560
2618
  return formData.positionId = $event;
2561
2619
  }),
2562
- onChange: onSearch
2620
+ onChange: onSearch,
2621
+ "is-required": false,
2622
+ "input-style": {
2623
+ width: '170px',
2624
+ marginRight: '15px'
2625
+ }
2563
2626
  }, null, 8
2564
2627
  /* PROPS */
2565
2628
  , ["value"]), createVNode(_component_a_input, {
@@ -2659,6 +2722,7 @@ var script = /*#__PURE__*/defineComponent({
2659
2722
  totalPages: totalPages.value,
2660
2723
  formData: formData,
2661
2724
  setHeight: 40,
2725
+ isTableControl: false,
2662
2726
  onOnPageChange: onPageChange,
2663
2727
  onOnShowSizeChange: onShowSizeChange,
2664
2728
  onUpth: upth
@@ -1,25 +1,21 @@
1
- .active[data-v-2dfcb17e] {
1
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .active[data-v-2dfcb17e] {
2
2
  background-color: #bd9e55;
3
3
  font-size: 13px;
4
4
  color: white;
5
5
  }
6
-
7
- [data-v-2dfcb17e] .ant-btn-primary {
6
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-btn-primary {
8
7
  background: #006ab2;
9
8
  }
10
-
11
- [data-v-2dfcb17e] .ant-image {
9
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] [data-v-2dfcb17e] .ant-image {
12
10
  margin: 0 2px;
13
11
  }
14
-
15
- .center-center[data-v-2dfcb17e] {
12
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .center-center[data-v-2dfcb17e] {
16
13
  position: absolute;
17
14
  top: 50%;
18
15
  left: 50%;
19
16
  transform: translate(-50%, -50%);
20
17
  }
21
-
22
- .table-cell[data-v-2dfcb17e] {
18
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-cell[data-v-2dfcb17e] {
23
19
  height: 60px;
24
20
  border: 1px solid #d9d9d9;
25
21
  padding: 5px;
@@ -29,15 +25,14 @@
29
25
  font-weight: 400;
30
26
  text-align: center;
31
27
  }
32
-
33
- .table-footer[data-v-2dfcb17e] {
28
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] {
34
29
  position: relative;
35
30
  display: table-footer-group;
36
31
  width: 100%;
37
32
  height: 200px;
38
33
  border: 1px solid #d9d9d9;
39
34
  }
40
- .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
35
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .table-footer[data-v-2dfcb17e] .centent[data-v-2dfcb17e] {
41
36
  position: absolute;
42
37
  top: 50%;
43
38
  left: 50%;
@@ -46,26 +41,22 @@
46
41
  text-align: center;
47
42
  color: rgba(0, 0, 0, 0.25);
48
43
  }
49
-
50
- table[data-v-2dfcb17e] {
44
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] table[data-v-2dfcb17e] {
51
45
  border-collapse: collapse;
52
46
  }
53
-
54
- #top[data-v-2dfcb17e] {
47
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] #top[data-v-2dfcb17e] {
55
48
  position: fixed;
56
49
  top: 65px;
57
50
  z-index: 999;
58
51
  }
59
-
60
- .pagination[data-v-2dfcb17e] {
52
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .pagination[data-v-2dfcb17e] {
61
53
  position: fixed;
62
54
  bottom: -80px;
63
55
  z-index: 999;
64
56
  height: 45px;
65
57
  background-color: #fff;
66
58
  }
67
-
68
- .mrpTable[data-v-2dfcb17e] {
59
+ body[data-v-2dfcb17e] .iv-mrp-table[data-v-2dfcb17e] .mrpTable[data-v-2dfcb17e] {
69
60
  position: relative;
70
61
  margin-bottom: 80px;
71
62
  }
@@ -518,7 +518,8 @@
518
518
 
519
519
  var _hoisted_1$8 = {
520
520
  key: 0,
521
- id: "top"
521
+ id: "top",
522
+ "class": "iv-mrp-table"
522
523
  };
523
524
  var _hoisted_2$3 = {
524
525
  "class": "flex items-center justify-center"
@@ -1378,6 +1379,11 @@
1378
1379
  type: Boolean,
1379
1380
  required: true,
1380
1381
  "default": true
1382
+ },
1383
+ multiple: {
1384
+ type: Boolean,
1385
+ required: false,
1386
+ "default": false
1381
1387
  }
1382
1388
  },
1383
1389
  emits: ["update:value", "change"],
@@ -1488,6 +1494,7 @@
1488
1494
  placeholder: "请选择",
1489
1495
  showArrow: "",
1490
1496
  showSearch: "",
1497
+ multiple: __props.multiple,
1491
1498
  "filter-option": vue.unref(filterOptionHeadle),
1492
1499
  treeDefaultExpandAll: "",
1493
1500
  style: vue.normalizeStyle(__props.inputStyle),
@@ -1497,7 +1504,7 @@
1497
1504
  replaceFields: __props.replaceFields
1498
1505
  }, null, 8
1499
1506
  /* PROPS */
1500
- , ["value", "tree-data", "getPopupContainer", "filter-option", "style", "replaceFields"])];
1507
+ , ["value", "tree-data", "getPopupContainer", "multiple", "filter-option", "style", "replaceFields"])];
1501
1508
  }),
1502
1509
  _: 1
1503
1510
  /* STABLE */
@@ -1544,6 +1551,11 @@
1544
1551
  value: "id"
1545
1552
  };
1546
1553
  }
1554
+ },
1555
+ multiple: {
1556
+ type: Boolean,
1557
+ required: false,
1558
+ "default": true
1547
1559
  }
1548
1560
  },
1549
1561
  emits: ["update:value", "change"],
@@ -1647,7 +1659,7 @@
1647
1659
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
1648
1660
  return vue.isRef(inputV) ? inputV.value = $event : null;
1649
1661
  }),
1650
- mode: "multiple",
1662
+ mode: __props.multiple ? 'multiple' : 'tags',
1651
1663
  style: {
1652
1664
  "width": "100%"
1653
1665
  },
@@ -1661,7 +1673,7 @@
1661
1673
  "filter-option": vue.unref(filterOptionHeadle)
1662
1674
  }, null, 8
1663
1675
  /* PROPS */
1664
- , ["getPopupContainer", "value", "options", "fieldNames", "filter-option"])];
1676
+ , ["getPopupContainer", "value", "mode", "options", "fieldNames", "filter-option"])];
1665
1677
  }),
1666
1678
  _: 1
1667
1679
  /* STABLE */
@@ -1706,6 +1718,25 @@
1706
1718
  value: "id"
1707
1719
  };
1708
1720
  }
1721
+ },
1722
+ inputStyle: {
1723
+ type: Object,
1724
+ required: true,
1725
+ "default": function _default() {
1726
+ return {
1727
+ width: "100%"
1728
+ };
1729
+ }
1730
+ },
1731
+ isRequired: {
1732
+ type: Boolean,
1733
+ required: true,
1734
+ "default": true
1735
+ },
1736
+ multiple: {
1737
+ type: Boolean,
1738
+ required: false,
1739
+ "default": true
1709
1740
  }
1710
1741
  },
1711
1742
  emits: ["update:value", "change"],
@@ -1797,7 +1828,7 @@
1797
1828
  span: 8
1798
1829
  },
1799
1830
  rules: [{
1800
- required: true,
1831
+ required: __props.isRequired,
1801
1832
  message: '请选择所属条线'
1802
1833
  }]
1803
1834
  }, {
@@ -1813,12 +1844,12 @@
1813
1844
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
1814
1845
  return vue.isRef(inputV) ? inputV.value = $event : null;
1815
1846
  }),
1816
- mode: "multiple",
1817
- style: {
1847
+ style: vue.normalizeStyle([__props.inputStyle, {
1818
1848
  "width": "100%"
1819
- },
1849
+ }]),
1820
1850
  placeholder: "请选择",
1821
1851
  options: dataV.value,
1852
+ mode: __props.multiple ? 'multiple' : 'tags',
1822
1853
  fieldNames: __props.fieldNames,
1823
1854
  showSearch: "",
1824
1855
  onChange: _cache[1] || (_cache[1] = function ($event) {
@@ -1827,12 +1858,14 @@
1827
1858
  "filter-option": vue.unref(filterOptionHeadle)
1828
1859
  }, null, 8
1829
1860
  /* PROPS */
1830
- , ["getPopupContainer", "value", "options", "fieldNames", "filter-option"])];
1861
+ , ["getPopupContainer", "value", "style", "options", "mode", "fieldNames", "filter-option"])];
1831
1862
  }),
1832
1863
  _: 1
1833
1864
  /* STABLE */
1834
1865
 
1835
- });
1866
+ }, 8
1867
+ /* PROPS */
1868
+ , ["rules"]);
1836
1869
  };
1837
1870
  }
1838
1871
  });
@@ -2049,6 +2082,25 @@
2049
2082
  value: "id"
2050
2083
  };
2051
2084
  }
2085
+ },
2086
+ inputStyle: {
2087
+ type: Object,
2088
+ required: true,
2089
+ "default": function _default() {
2090
+ return {
2091
+ width: "300px"
2092
+ };
2093
+ }
2094
+ },
2095
+ isRequired: {
2096
+ type: Boolean,
2097
+ required: true,
2098
+ "default": true
2099
+ },
2100
+ multiple: {
2101
+ type: Boolean,
2102
+ required: false,
2103
+ "default": false
2052
2104
  }
2053
2105
  },
2054
2106
  emits: ["update:value", "change"],
@@ -2137,7 +2189,7 @@
2137
2189
  return vue.openBlock(), vue.createBlock(_component_a_form_item, {
2138
2190
  name: "positionId",
2139
2191
  rules: [{
2140
- required: true,
2192
+ required: __props.isRequired,
2141
2193
  message: '请选择岗位'
2142
2194
  }]
2143
2195
  }, {
@@ -2154,11 +2206,10 @@
2154
2206
  return triggerNode.parentNode;
2155
2207
  },
2156
2208
  allowClear: "",
2157
- style: {
2158
- "width": "300px"
2159
- },
2209
+ style: vue.normalizeStyle(__props.inputStyle),
2160
2210
  placeholder: "请选择",
2161
2211
  showSearch: "",
2212
+ mode: __props.multiple ? 'multiple' : 'tags',
2162
2213
  showArrow: "",
2163
2214
  options: dataV.value,
2164
2215
  "filter-option": vue.unref(filterOptionHeadle),
@@ -2168,12 +2219,14 @@
2168
2219
  fieldNames: __props.fieldNames
2169
2220
  }, null, 8
2170
2221
  /* PROPS */
2171
- , ["value", "getPopupContainer", "options", "filter-option", "fieldNames"])];
2222
+ , ["value", "getPopupContainer", "style", "mode", "options", "filter-option", "fieldNames"])];
2172
2223
  }),
2173
2224
  _: 1
2174
2225
  /* STABLE */
2175
2226
 
2176
- });
2227
+ }, 8
2228
+ /* PROPS */
2229
+ , ["rules"]);
2177
2230
  };
2178
2231
  }
2179
2232
  });
@@ -2530,7 +2583,6 @@
2530
2583
  "onUpdate:show": _cache[5] || (_cache[5] = function ($event) {
2531
2584
  return vue.isRef(inputV) ? inputV.value = $event : null;
2532
2585
  }),
2533
- isTableControl: false,
2534
2586
  "remove-padding": false
2535
2587
  }, {
2536
2588
  title: vue.withCtx(function () {
@@ -2555,7 +2607,13 @@
2555
2607
  "onUpdate:value": _cache[1] || (_cache[1] = function ($event) {
2556
2608
  return formData.lineId = $event;
2557
2609
  }),
2558
- onChange: onSearch
2610
+ onChange: onSearch,
2611
+ multiple: false,
2612
+ "is-required": false,
2613
+ "input-style": {
2614
+ width: '170px',
2615
+ marginRight: '15px'
2616
+ }
2559
2617
  }, null, 8
2560
2618
  /* PROPS */
2561
2619
  , ["value"]), vue.createVNode(vue.unref(script$2), {
@@ -2563,7 +2621,12 @@
2563
2621
  "onUpdate:value": _cache[2] || (_cache[2] = function ($event) {
2564
2622
  return formData.positionId = $event;
2565
2623
  }),
2566
- onChange: onSearch
2624
+ onChange: onSearch,
2625
+ "is-required": false,
2626
+ "input-style": {
2627
+ width: '170px',
2628
+ marginRight: '15px'
2629
+ }
2567
2630
  }, null, 8
2568
2631
  /* PROPS */
2569
2632
  , ["value"]), vue.createVNode(_component_a_input, {
@@ -2663,6 +2726,7 @@
2663
2726
  totalPages: totalPages.value,
2664
2727
  formData: formData,
2665
2728
  setHeight: 40,
2729
+ isTableControl: false,
2666
2730
  onOnPageChange: onPageChange,
2667
2731
  onOnShowSizeChange: onShowSizeChange,
2668
2732
  onUpth: upth
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
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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