iv-npm 1.2.48 → 1.2.51

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.2.48",
3
+ "version": "1.2.51",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -113,6 +113,7 @@
113
113
  function GetCameraOnOffStatus(status) {
114
114
  if (status == 0) {
115
115
  window.parent.postMessage({ message: "设备开启成功" }, '*')
116
+ Cam_SetCutMode(1); //设备开启后自动裁剪
116
117
  }
117
118
  else {
118
119
  window.parent.postMessage({ error: "设备开启失败" }, '*')
@@ -221,6 +222,13 @@
221
222
  Cam_Close();
222
223
  }
223
224
 
225
+ /*********************
226
+ *** 关闭弹窗 ***
227
+ **********************/
228
+ function toCloseModal() {
229
+ window.onbeforeunload()
230
+ }
231
+
224
232
 
225
233
  /*********************
226
234
  *** 切换摄像头 ***
@@ -275,28 +283,29 @@
275
283
  Cam_Photo(path); //主摄像头拍照
276
284
  //Cam_Photo(""); //传空路径拍照获取Base64
277
285
 
286
+
278
287
  }
279
288
 
280
289
 
281
290
  function SetCameraCutMode() {
282
-
283
- if (document.getElementById("Radio1").checked) {
284
- Cam_SetCutMode(0);
285
- }
286
- if (document.getElementById("Radio3").checked) {
287
- Cam_SetCutMode(1);
288
- }
289
- if (document.getElementById("Radio2").checked) {
290
- Cam_SetCutMode(2);
291
- }
292
- if (document.getElementById("Radio4").checked) {
293
-
294
- Cam_SetCutMode(3);
295
- //设置裁剪区域
296
- //toSleep(100);
297
- //console.log("SetCustomArea");
298
- SetCustomArea(3000, 3000, 9000, 9000);
299
- }
291
+ Cam_SetCutMode(1);
292
+ // if (document.getElementById("Radio1").checked) {
293
+ // Cam_SetCutMode(0);
294
+ // }
295
+ // if (document.getElementById("Radio3").checked) {
296
+ // Cam_SetCutMode(1);
297
+ // }
298
+ // if (document.getElementById("Radio2").checked) {
299
+ // Cam_SetCutMode(2);
300
+ // }
301
+ // if (document.getElementById("Radio4").checked) {
302
+
303
+ // Cam_SetCutMode(3);
304
+ // //设置裁剪区域
305
+ // //toSleep(100);
306
+ // //console.log("SetCustomArea");
307
+ // SetCustomArea(3000, 3000, 9000, 9000);
308
+ // }
300
309
  }
301
310
 
302
311
 
@@ -556,18 +565,18 @@
556
565
 
557
566
  <body onload="LoadCameraDocument()">
558
567
 
559
- <div style="width:602px; height: 640px; border: 1px solid white; background:#DEDEBE; font-size:14px; float:left">
568
+ <div style="width:602px; height: 400px; border: 1px solid white; background:#DEDEBE; font-size:14px; float:left;">
560
569
 
561
- <div id='Div1' style="width:600px; height: 400px">
562
- <div id='CameraCtl' style="width:600px; height: 400px; float:left"> </div>
570
+ <div id='Div1' style="width:600px; height: 300px">
571
+ <div id='CameraCtl' style="width:600px; height: 300px; float:left"> </div>
563
572
  </div>
564
- <div>
573
+ <div style="visibility: hidden;" >
565
574
  设备
566
575
  <select style="width:140px" id="DevName" onchange="SelectDevice()"></select>
567
576
  分辨率
568
577
  <select style="width:140px" id="DevResolution" onchange="SelectResolution()"></select>
569
578
  <input type="button" value=" 打开设备 " onclick="toOpenCamera();" />
570
- <input type="button" value=" 关闭设备 " onclick="toCloseCamera();" />
579
+ <input type="button" id="closeDeviceButton" onclick="toCloseModal()" />
571
580
  <br />
572
581
 
573
582
  裁切模式:
@@ -612,7 +621,7 @@
612
621
  </div>
613
622
  <br />
614
623
 
615
- <div style="border:1px dashed #000">
624
+ <div style="border:1px dashed #000;visibility: hidden;height:0;">
616
625
  <input id="Checkbox3" type="checkbox" /> 添加水印
617
626
  水印内容<input id="Text1" type="text" value="水印测试" />
618
627
  透明度<input id="Text2" type="text" value="127" style="width:40px" />
@@ -641,7 +650,7 @@
641
650
 
642
651
  <br />
643
652
 
644
- <div>
653
+ <div style="visibility: hidden;height:0;margin-bottom: 20px;" >
645
654
  <input type="button" value="获取盘符" onclick="GetDrives();" />
646
655
  <input type="button" value="放大" onclick="Cam_ZoomIn();" />
647
656
  <input type="button" value="缩小" onclick="Cam_ZoomOut();" />
@@ -662,6 +671,7 @@
662
671
  <!-- <input type="button" value="删除文件" onclick="ToDeleteFile();" /> -->
663
672
  <!-- <input type="button" value="上传" onclick="HttpUploadFile();" /> -->
664
673
  </div>
674
+ <input style="width: 100%;height: 30px;" type="button" value="拍照" onclick="TakePhoto();" />
665
675
 
666
676
  <div>
667
677
 
@@ -673,7 +683,7 @@
673
683
  <div style="width:202px; border: 1px solid white; background:#DEDEBE; font-size:14px; float:left;display: none;">
674
684
  拍照图片
675
685
  <br />
676
- <img id="CameraPhoto" src="" style="width: 200px;height: 150px;" />
686
+ <img id="CameraPhoto" src="" style="width: 200px;" />
677
687
  </div>
678
688
 
679
689
  </body>
@@ -565,7 +565,7 @@ var _hoisted_4$9 = {
565
565
  key: 0
566
566
  };
567
567
 
568
- var _hoisted_5$9 = /*#__PURE__*/vue.createElementVNode("div", {
568
+ var _hoisted_5$8 = /*#__PURE__*/vue.createElementVNode("div", {
569
569
  "class": "h-2 flex items-center"
570
570
  }, [/*#__PURE__*/vue.createElementVNode("span", {
571
571
  "class": "bg-[#d9d9d9] h-[1px] w-full"
@@ -586,7 +586,7 @@ var _hoisted_8$6 = {
586
586
  "class": "mrpTable",
587
587
  id: "IVTable"
588
588
  };
589
- var _hoisted_9$5 = {
589
+ var _hoisted_9$6 = {
590
590
  "class": "relative w-full mb-[24px]",
591
591
  style: {
592
592
  "table-layout": "fixed"
@@ -775,7 +775,7 @@ var script$n = /*#__PURE__*/vue.defineComponent({
775
775
  /* TEXT */
776
776
  ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, vue.toDisplayString(item.unit), 1
777
777
  /* TEXT */
778
- )) : vue.createCommentVNode("v-if", true)]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, [_hoisted_5$9, vue.createElementVNode("div", _hoisted_6$8, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
778
+ )) : vue.createCommentVNode("v-if", true)]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, [_hoisted_5$8, vue.createElementVNode("div", _hoisted_6$8, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
779
779
  return vue.openBlock(), vue.createElementBlock("div", {
780
780
  key: i,
781
781
  style: vue.normalizeStyle({
@@ -806,7 +806,7 @@ var script$n = /*#__PURE__*/vue.defineComponent({
806
806
  onChangeS: tableControlChange
807
807
  }, null, 8
808
808
  /* PROPS */
809
- , ["setHeight"])) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_8$6, [vue.createElementVNode("table", _hoisted_9$5, [vue.createElementVNode("tr", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTh, function (item, index) {
809
+ , ["setHeight"])) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_8$6, [vue.createElementVNode("table", _hoisted_9$6, [vue.createElementVNode("tr", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTh, function (item, index) {
810
810
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
811
811
  key: index
812
812
  }, [item.show ? (vue.openBlock(), vue.createElementBlock("th", {
@@ -961,7 +961,7 @@ var _hoisted_3$8 = /*#__PURE__*/vue.createTextVNode(" 默认 ");
961
961
 
962
962
  var _hoisted_4$8 = /*#__PURE__*/vue.createTextVNode(" 中等 ");
963
963
 
964
- var _hoisted_5$8 = /*#__PURE__*/vue.createTextVNode(" 紧凑 ");
964
+ var _hoisted_5$7 = /*#__PURE__*/vue.createTextVNode(" 紧凑 ");
965
965
 
966
966
  var _hoisted_6$7 = /*#__PURE__*/_withScopeId$2(function () {
967
967
  return /*#__PURE__*/vue.createElementVNode("div", null, "列设置", -1
@@ -1116,7 +1116,7 @@ var script$m = /*#__PURE__*/vue.defineComponent({
1116
1116
  key: "2"
1117
1117
  }, {
1118
1118
  "default": vue.withCtx(function () {
1119
- return [_hoisted_5$8];
1119
+ return [_hoisted_5$7];
1120
1120
  }),
1121
1121
  _: 1
1122
1122
  /* STABLE */
@@ -3341,7 +3341,7 @@ var _hoisted_3$7 = vue.createElementVNode("g", {
3341
3341
  })], -1
3342
3342
  );
3343
3343
  var _hoisted_4$7 = [_hoisted_3$7];
3344
- var _hoisted_5$7 = {
3344
+ var _hoisted_5$6 = {
3345
3345
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
3346
3346
  xmlns: "http://www.w3.org/2000/svg",
3347
3347
  version: "1.1",
@@ -3365,7 +3365,7 @@ var _hoisted_6$6 = vue.createElementVNode("g", {
3365
3365
  );
3366
3366
  var _hoisted_7$6 = [_hoisted_6$6];
3367
3367
  function render$1(_ctx, _cache) {
3368
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5$7, _hoisted_7$6))]);
3368
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5$6, _hoisted_7$6))]);
3369
3369
  }
3370
3370
 
3371
3371
  var script$c = {};
@@ -3389,7 +3389,7 @@ var _hoisted_3$6 = {
3389
3389
  var _hoisted_4$6 = {
3390
3390
  "class": "mx-10"
3391
3391
  };
3392
- var _hoisted_5$6 = {
3392
+ var _hoisted_5$5 = {
3393
3393
  "class": "flex items-center my-4 justify-center"
3394
3394
  };
3395
3395
 
@@ -3401,7 +3401,7 @@ var _hoisted_7$5 = {
3401
3401
  var _hoisted_8$5 = {
3402
3402
  "class": "flex justify-between mb-2"
3403
3403
  };
3404
- var _hoisted_9$4 = {
3404
+ var _hoisted_9$5 = {
3405
3405
  "class": "text-[#999999]"
3406
3406
  };
3407
3407
 
@@ -3717,7 +3717,7 @@ var script$b = /*#__PURE__*/vue.defineComponent({
3717
3717
  return [vue.createElementVNode("div", _hoisted_1$b, [vue.createVNode(script$c), _hoisted_2$7])];
3718
3718
  }),
3719
3719
  body: vue.withCtx(function () {
3720
- return [vue.createElementVNode("div", _hoisted_3$6, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$6, [vue.createElementVNode("div", _hoisted_5$6, [vue.createVNode(vue.unref(script$i), {
3720
+ return [vue.createElementVNode("div", _hoisted_3$6, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$6, [vue.createElementVNode("div", _hoisted_5$5, [vue.createVNode(vue.unref(script$i), {
3721
3721
  value: formData.setOfBookId,
3722
3722
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3723
3723
  return formData.setOfBookId = $event;
@@ -3792,7 +3792,7 @@ var script$b = /*#__PURE__*/vue.defineComponent({
3792
3792
  _: 1
3793
3793
  /* STABLE */
3794
3794
 
3795
- })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7$5, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8$5, [vue.createElementVNode("div", _hoisted_9$4, [_hoisted_10$4, vue.createElementVNode("span", _hoisted_11$4, vue.toDisplayString(totalPages.value), 1
3795
+ })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7$5, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8$5, [vue.createElementVNode("div", _hoisted_9$5, [_hoisted_10$4, vue.createElementVNode("span", _hoisted_11$4, vue.toDisplayString(totalPages.value), 1
3796
3796
  /* TEXT */
3797
3797
  ), _hoisted_12$4, vue.createElementVNode("span", _hoisted_13$4, vue.toDisplayString(topCurrentPages.value), 1
3798
3798
  /* TEXT */
@@ -4574,23 +4574,21 @@ var _withScopeId$1 = function _withScopeId(n) {
4574
4574
  return vue.pushScopeId("data-v-44290c60"), n = n(), vue.popScopeId(), n;
4575
4575
  };
4576
4576
 
4577
- var _hoisted_1$7 = {
4578
- "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4579
- };
4580
-
4581
- var _hoisted_2$5 = /*#__PURE__*/_withScopeId$1(function () {
4582
- return /*#__PURE__*/vue.createElementVNode("span", {
4577
+ var _hoisted_1$7 = /*#__PURE__*/_withScopeId$1(function () {
4578
+ return /*#__PURE__*/vue.createElementVNode("div", {
4579
+ "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4580
+ }, [/*#__PURE__*/vue.createCommentVNode(" <UnorderedListOutlined class=\"text-xl text-[#bd9e55]\" /> "), /*#__PURE__*/vue.createElementVNode("span", {
4583
4581
  "class": "text-xl text-[#bd9e55] pl-2"
4584
- }, "高拍仪", -1
4582
+ }, "高拍仪")], -1
4585
4583
  /* HOISTED */
4586
4584
  );
4587
4585
  });
4588
4586
 
4589
- var _hoisted_3$5 = {
4587
+ var _hoisted_2$5 = {
4590
4588
  "class": "Altimeter"
4591
4589
  };
4592
4590
 
4593
- var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
4591
+ var _hoisted_3$5 = /*#__PURE__*/_withScopeId$1(function () {
4594
4592
  return /*#__PURE__*/vue.createElementVNode("div", {
4595
4593
  "class": "text-[#0000006D] mt-2 text-[14px]"
4596
4594
  }, "上传图片:", -1
@@ -4598,7 +4596,7 @@ var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
4598
4596
  );
4599
4597
  });
4600
4598
 
4601
- var _hoisted_5$5 = {
4599
+ var _hoisted_4$5 = {
4602
4600
  "class": "imgBox mt-8 ml-[-58px]"
4603
4601
  };
4604
4602
  var script$7 = /*#__PURE__*/vue.defineComponent({
@@ -4617,6 +4615,8 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
4617
4615
  var iframe = vue.ref(); // 监听iframe传递的数据
4618
4616
 
4619
4617
  window.addEventListener("message", function (e) {
4618
+ console.log(e);
4619
+
4620
4620
  if (e.data.message) {
4621
4621
  console.log(e.data.message);
4622
4622
  }
@@ -4759,13 +4759,12 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
4759
4759
  var detailVisible = vue.ref(props.detailVisible); //关闭弹窗触发的事件
4760
4760
 
4761
4761
  function cancelHandle() {
4762
+ iframe.value.contentWindow.document.getElementById('closeDeviceButton').click();
4762
4763
  emit("update:detailVisible", false);
4763
4764
  emit("cancelHandle", pictures.value);
4764
4765
  }
4765
4766
 
4766
4767
  return function (_ctx, _cache) {
4767
- var _component_UnorderedListOutlined = vue.resolveComponent("UnorderedListOutlined");
4768
-
4769
4768
  var _component_a_image = vue.resolveComponent("a-image");
4770
4769
 
4771
4770
  var _component_CloseCircleOutlined = vue.resolveComponent("CloseCircleOutlined");
@@ -4779,12 +4778,10 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
4779
4778
  onCancelHandle: cancelHandle
4780
4779
  }, {
4781
4780
  title: vue.withCtx(function () {
4782
- return [vue.createElementVNode("div", _hoisted_1$7, [vue.createVNode(_component_UnorderedListOutlined, {
4783
- "class": "text-xl text-[#bd9e55]"
4784
- }), _hoisted_2$5])];
4781
+ return [_hoisted_1$7];
4785
4782
  }),
4786
4783
  body: vue.withCtx(function () {
4787
- return [vue.createElementVNode("div", _hoisted_3$5, [vue.createCommentVNode(" src=\"/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html\" "), vue.createElementVNode("iframe", {
4784
+ return [vue.createElementVNode("div", _hoisted_2$5, [vue.createCommentVNode(" src=\"/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html\" "), vue.createElementVNode("iframe", {
4788
4785
  src: "/Altimeter/index.html",
4789
4786
  id: "iframe",
4790
4787
  ref_key: "iframe",
@@ -4794,7 +4791,7 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
4794
4791
  onLoad: load
4795
4792
  }, null, 544
4796
4793
  /* HYDRATE_EVENTS, NEED_PATCH */
4797
- ), _hoisted_4$5, vue.createElementVNode("div", _hoisted_5$5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pictures.value, function (e, i) {
4794
+ ), _hoisted_3$5, vue.createElementVNode("div", _hoisted_4$5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pictures.value, function (e, i) {
4798
4795
  return vue.openBlock(), vue.createElementBlock("div", {
4799
4796
  key: i,
4800
4797
  "class": "imgList"
@@ -4861,10 +4858,13 @@ var _hoisted_5$4 = [_hoisted_3$4, _hoisted_4$4];
4861
4858
  var _hoisted_6$4 = {
4862
4859
  key: 1
4863
4860
  };
4861
+ var _hoisted_7$4 = {
4862
+ key: 0
4863
+ };
4864
4864
 
4865
- var _hoisted_7$4 = /*#__PURE__*/vue.createTextVNode(" 上传 ");
4865
+ var _hoisted_8$4 = /*#__PURE__*/vue.createTextVNode(" 上传 ");
4866
4866
 
4867
- var _hoisted_8$4 = ["src"];
4867
+ var _hoisted_9$4 = ["src"];
4868
4868
  /**
4869
4869
  * uploadApi:api接口
4870
4870
  * uploadLength:最大上传文件数量
@@ -5160,7 +5160,7 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
5160
5160
 
5161
5161
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createElementVNode("div", _hoisted_1$6, [vue.createVNode(_component_a_upload, {
5162
5162
  "file-list": fileList.value,
5163
- "onUpdate:file-list": _cache[0] || (_cache[0] = function ($event) {
5163
+ "onUpdate:file-list": _cache[1] || (_cache[1] = function ($event) {
5164
5164
  return fileList.value = $event;
5165
5165
  }),
5166
5166
  "list-type": __props.listType,
@@ -5180,11 +5180,21 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
5180
5180
  onClick: _ctx.onUploadInvoice
5181
5181
  }, null, 8
5182
5182
  /* PROPS */
5183
- , ["onClick"])])) : (vue.openBlock(), vue.createBlock(_component_a_button, {
5183
+ , ["onClick"])])) : __props.listType === 'textCustom' ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
5184
5184
  key: 2
5185
+ }, [fileList.value.length < __props.uploadLength ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4, [vue.createElementVNode("span", {
5186
+ "class": "inline-block text-[#006AB2] cursor-pointer mb-[2px]",
5187
+ onClick: _cache[0] || (_cache[0] = //@ts-ignore
5188
+ function () {
5189
+ return _ctx.onUploadListChange && _ctx.onUploadListChange.apply(_ctx, arguments);
5190
+ })
5191
+ }, "上传")])) : vue.createCommentVNode("v-if", true)], 64
5192
+ /* STABLE_FRAGMENT */
5193
+ )) : (vue.openBlock(), vue.createBlock(_component_a_button, {
5194
+ key: 3
5185
5195
  }, {
5186
5196
  "default": vue.withCtx(function () {
5187
- return [vue.createVNode(_component_upload_outlined), _hoisted_7$4];
5197
+ return [vue.createVNode(_component_upload_outlined), _hoisted_8$4];
5188
5198
  }),
5189
5199
  _: 1
5190
5200
  /* STABLE */
@@ -5210,7 +5220,7 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
5210
5220
  src: previewImage.value
5211
5221
  }, null, 8
5212
5222
  /* PROPS */
5213
- , _hoisted_8$4)];
5223
+ , _hoisted_9$4)];
5214
5224
  }),
5215
5225
  _: 1
5216
5226
  /* STABLE */
@@ -5220,7 +5230,7 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
5220
5230
  , ["visible"]), __props.showAltimeter ? (vue.openBlock(), vue.createBlock(script$7, {
5221
5231
  key: 0,
5222
5232
  show: isAltimeter.value,
5223
- "onUpdate:show": _cache[1] || (_cache[1] = function ($event) {
5233
+ "onUpdate:show": _cache[2] || (_cache[2] = function ($event) {
5224
5234
  return isAltimeter.value = $event;
5225
5235
  }),
5226
5236
  onCancelHandle: cancelAltimeter,
@@ -561,7 +561,7 @@ var _hoisted_4$9 = {
561
561
  key: 0
562
562
  };
563
563
 
564
- var _hoisted_5$9 = /*#__PURE__*/createElementVNode("div", {
564
+ var _hoisted_5$8 = /*#__PURE__*/createElementVNode("div", {
565
565
  "class": "h-2 flex items-center"
566
566
  }, [/*#__PURE__*/createElementVNode("span", {
567
567
  "class": "bg-[#d9d9d9] h-[1px] w-full"
@@ -582,7 +582,7 @@ var _hoisted_8$6 = {
582
582
  "class": "mrpTable",
583
583
  id: "IVTable"
584
584
  };
585
- var _hoisted_9$5 = {
585
+ var _hoisted_9$6 = {
586
586
  "class": "relative w-full mb-[24px]",
587
587
  style: {
588
588
  "table-layout": "fixed"
@@ -771,7 +771,7 @@ var script$n = /*#__PURE__*/defineComponent({
771
771
  /* TEXT */
772
772
  ), item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$9, toDisplayString(item.unit), 1
773
773
  /* TEXT */
774
- )) : createCommentVNode("v-if", true)]), item.header ? (openBlock(), createElementBlock("div", _hoisted_4$9, [_hoisted_5$9, createElementVNode("div", _hoisted_6$8, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.header, function (e, i) {
774
+ )) : createCommentVNode("v-if", true)]), item.header ? (openBlock(), createElementBlock("div", _hoisted_4$9, [_hoisted_5$8, createElementVNode("div", _hoisted_6$8, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.header, function (e, i) {
775
775
  return openBlock(), createElementBlock("div", {
776
776
  key: i,
777
777
  style: normalizeStyle({
@@ -802,7 +802,7 @@ var script$n = /*#__PURE__*/defineComponent({
802
802
  onChangeS: tableControlChange
803
803
  }, null, 8
804
804
  /* PROPS */
805
- , ["setHeight"])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_8$6, [createElementVNode("table", _hoisted_9$5, [createElementVNode("tr", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.dataTh, function (item, index) {
805
+ , ["setHeight"])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_8$6, [createElementVNode("table", _hoisted_9$6, [createElementVNode("tr", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.dataTh, function (item, index) {
806
806
  return openBlock(), createElementBlock(Fragment, {
807
807
  key: index
808
808
  }, [item.show ? (openBlock(), createElementBlock("th", {
@@ -957,7 +957,7 @@ var _hoisted_3$8 = /*#__PURE__*/createTextVNode(" 默认 ");
957
957
 
958
958
  var _hoisted_4$8 = /*#__PURE__*/createTextVNode(" 中等 ");
959
959
 
960
- var _hoisted_5$8 = /*#__PURE__*/createTextVNode(" 紧凑 ");
960
+ var _hoisted_5$7 = /*#__PURE__*/createTextVNode(" 紧凑 ");
961
961
 
962
962
  var _hoisted_6$7 = /*#__PURE__*/_withScopeId$2(function () {
963
963
  return /*#__PURE__*/createElementVNode("div", null, "列设置", -1
@@ -1112,7 +1112,7 @@ var script$m = /*#__PURE__*/defineComponent({
1112
1112
  key: "2"
1113
1113
  }, {
1114
1114
  "default": withCtx(function () {
1115
- return [_hoisted_5$8];
1115
+ return [_hoisted_5$7];
1116
1116
  }),
1117
1117
  _: 1
1118
1118
  /* STABLE */
@@ -3337,7 +3337,7 @@ var _hoisted_3$7 = createElementVNode("g", {
3337
3337
  })], -1
3338
3338
  );
3339
3339
  var _hoisted_4$7 = [_hoisted_3$7];
3340
- var _hoisted_5$7 = {
3340
+ var _hoisted_5$6 = {
3341
3341
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
3342
3342
  xmlns: "http://www.w3.org/2000/svg",
3343
3343
  version: "1.1",
@@ -3361,7 +3361,7 @@ var _hoisted_6$6 = createElementVNode("g", {
3361
3361
  );
3362
3362
  var _hoisted_7$6 = [_hoisted_6$6];
3363
3363
  function render$1(_ctx, _cache) {
3364
- return openBlock(), createElementBlock("div", _hoisted_1$c, [(openBlock(), createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (openBlock(), createElementBlock("svg", _hoisted_5$7, _hoisted_7$6))]);
3364
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [(openBlock(), createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (openBlock(), createElementBlock("svg", _hoisted_5$6, _hoisted_7$6))]);
3365
3365
  }
3366
3366
 
3367
3367
  var script$c = {};
@@ -3385,7 +3385,7 @@ var _hoisted_3$6 = {
3385
3385
  var _hoisted_4$6 = {
3386
3386
  "class": "mx-10"
3387
3387
  };
3388
- var _hoisted_5$6 = {
3388
+ var _hoisted_5$5 = {
3389
3389
  "class": "flex items-center my-4 justify-center"
3390
3390
  };
3391
3391
 
@@ -3397,7 +3397,7 @@ var _hoisted_7$5 = {
3397
3397
  var _hoisted_8$5 = {
3398
3398
  "class": "flex justify-between mb-2"
3399
3399
  };
3400
- var _hoisted_9$4 = {
3400
+ var _hoisted_9$5 = {
3401
3401
  "class": "text-[#999999]"
3402
3402
  };
3403
3403
 
@@ -3713,7 +3713,7 @@ var script$b = /*#__PURE__*/defineComponent({
3713
3713
  return [createElementVNode("div", _hoisted_1$b, [createVNode(script$c), _hoisted_2$7])];
3714
3714
  }),
3715
3715
  body: withCtx(function () {
3716
- return [createElementVNode("div", _hoisted_3$6, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$6, [createElementVNode("div", _hoisted_5$6, [createVNode(unref(script$i), {
3716
+ return [createElementVNode("div", _hoisted_3$6, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$6, [createElementVNode("div", _hoisted_5$5, [createVNode(unref(script$i), {
3717
3717
  value: formData.setOfBookId,
3718
3718
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3719
3719
  return formData.setOfBookId = $event;
@@ -3788,7 +3788,7 @@ var script$b = /*#__PURE__*/defineComponent({
3788
3788
  _: 1
3789
3789
  /* STABLE */
3790
3790
 
3791
- })])]), createCommentVNode(" 主体 "), createElementVNode("div", _hoisted_7$5, [createCommentVNode(" 分页 "), createElementVNode("div", _hoisted_8$5, [createElementVNode("div", _hoisted_9$4, [_hoisted_10$4, createElementVNode("span", _hoisted_11$4, toDisplayString(totalPages.value), 1
3791
+ })])]), createCommentVNode(" 主体 "), createElementVNode("div", _hoisted_7$5, [createCommentVNode(" 分页 "), createElementVNode("div", _hoisted_8$5, [createElementVNode("div", _hoisted_9$5, [_hoisted_10$4, createElementVNode("span", _hoisted_11$4, toDisplayString(totalPages.value), 1
3792
3792
  /* TEXT */
3793
3793
  ), _hoisted_12$4, createElementVNode("span", _hoisted_13$4, toDisplayString(topCurrentPages.value), 1
3794
3794
  /* TEXT */
@@ -4570,23 +4570,21 @@ var _withScopeId$1 = function _withScopeId(n) {
4570
4570
  return pushScopeId("data-v-44290c60"), n = n(), popScopeId(), n;
4571
4571
  };
4572
4572
 
4573
- var _hoisted_1$7 = {
4574
- "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4575
- };
4576
-
4577
- var _hoisted_2$5 = /*#__PURE__*/_withScopeId$1(function () {
4578
- return /*#__PURE__*/createElementVNode("span", {
4573
+ var _hoisted_1$7 = /*#__PURE__*/_withScopeId$1(function () {
4574
+ return /*#__PURE__*/createElementVNode("div", {
4575
+ "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4576
+ }, [/*#__PURE__*/createCommentVNode(" <UnorderedListOutlined class=\"text-xl text-[#bd9e55]\" /> "), /*#__PURE__*/createElementVNode("span", {
4579
4577
  "class": "text-xl text-[#bd9e55] pl-2"
4580
- }, "高拍仪", -1
4578
+ }, "高拍仪")], -1
4581
4579
  /* HOISTED */
4582
4580
  );
4583
4581
  });
4584
4582
 
4585
- var _hoisted_3$5 = {
4583
+ var _hoisted_2$5 = {
4586
4584
  "class": "Altimeter"
4587
4585
  };
4588
4586
 
4589
- var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
4587
+ var _hoisted_3$5 = /*#__PURE__*/_withScopeId$1(function () {
4590
4588
  return /*#__PURE__*/createElementVNode("div", {
4591
4589
  "class": "text-[#0000006D] mt-2 text-[14px]"
4592
4590
  }, "上传图片:", -1
@@ -4594,7 +4592,7 @@ var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
4594
4592
  );
4595
4593
  });
4596
4594
 
4597
- var _hoisted_5$5 = {
4595
+ var _hoisted_4$5 = {
4598
4596
  "class": "imgBox mt-8 ml-[-58px]"
4599
4597
  };
4600
4598
  var script$7 = /*#__PURE__*/defineComponent({
@@ -4613,6 +4611,8 @@ var script$7 = /*#__PURE__*/defineComponent({
4613
4611
  var iframe = ref(); // 监听iframe传递的数据
4614
4612
 
4615
4613
  window.addEventListener("message", function (e) {
4614
+ console.log(e);
4615
+
4616
4616
  if (e.data.message) {
4617
4617
  console.log(e.data.message);
4618
4618
  }
@@ -4755,13 +4755,12 @@ var script$7 = /*#__PURE__*/defineComponent({
4755
4755
  var detailVisible = ref(props.detailVisible); //关闭弹窗触发的事件
4756
4756
 
4757
4757
  function cancelHandle() {
4758
+ iframe.value.contentWindow.document.getElementById('closeDeviceButton').click();
4758
4759
  emit("update:detailVisible", false);
4759
4760
  emit("cancelHandle", pictures.value);
4760
4761
  }
4761
4762
 
4762
4763
  return function (_ctx, _cache) {
4763
- var _component_UnorderedListOutlined = resolveComponent("UnorderedListOutlined");
4764
-
4765
4764
  var _component_a_image = resolveComponent("a-image");
4766
4765
 
4767
4766
  var _component_CloseCircleOutlined = resolveComponent("CloseCircleOutlined");
@@ -4775,12 +4774,10 @@ var script$7 = /*#__PURE__*/defineComponent({
4775
4774
  onCancelHandle: cancelHandle
4776
4775
  }, {
4777
4776
  title: withCtx(function () {
4778
- return [createElementVNode("div", _hoisted_1$7, [createVNode(_component_UnorderedListOutlined, {
4779
- "class": "text-xl text-[#bd9e55]"
4780
- }), _hoisted_2$5])];
4777
+ return [_hoisted_1$7];
4781
4778
  }),
4782
4779
  body: withCtx(function () {
4783
- return [createElementVNode("div", _hoisted_3$5, [createCommentVNode(" src=\"/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html\" "), createElementVNode("iframe", {
4780
+ return [createElementVNode("div", _hoisted_2$5, [createCommentVNode(" src=\"/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html\" "), createElementVNode("iframe", {
4784
4781
  src: "/Altimeter/index.html",
4785
4782
  id: "iframe",
4786
4783
  ref_key: "iframe",
@@ -4790,7 +4787,7 @@ var script$7 = /*#__PURE__*/defineComponent({
4790
4787
  onLoad: load
4791
4788
  }, null, 544
4792
4789
  /* HYDRATE_EVENTS, NEED_PATCH */
4793
- ), _hoisted_4$5, createElementVNode("div", _hoisted_5$5, [(openBlock(true), createElementBlock(Fragment, null, renderList(pictures.value, function (e, i) {
4790
+ ), _hoisted_3$5, createElementVNode("div", _hoisted_4$5, [(openBlock(true), createElementBlock(Fragment, null, renderList(pictures.value, function (e, i) {
4794
4791
  return openBlock(), createElementBlock("div", {
4795
4792
  key: i,
4796
4793
  "class": "imgList"
@@ -4857,10 +4854,13 @@ var _hoisted_5$4 = [_hoisted_3$4, _hoisted_4$4];
4857
4854
  var _hoisted_6$4 = {
4858
4855
  key: 1
4859
4856
  };
4857
+ var _hoisted_7$4 = {
4858
+ key: 0
4859
+ };
4860
4860
 
4861
- var _hoisted_7$4 = /*#__PURE__*/createTextVNode(" 上传 ");
4861
+ var _hoisted_8$4 = /*#__PURE__*/createTextVNode(" 上传 ");
4862
4862
 
4863
- var _hoisted_8$4 = ["src"];
4863
+ var _hoisted_9$4 = ["src"];
4864
4864
  /**
4865
4865
  * uploadApi:api接口
4866
4866
  * uploadLength:最大上传文件数量
@@ -5156,7 +5156,7 @@ var script$6 = /*#__PURE__*/defineComponent({
5156
5156
 
5157
5157
  return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$6, [createVNode(_component_a_upload, {
5158
5158
  "file-list": fileList.value,
5159
- "onUpdate:file-list": _cache[0] || (_cache[0] = function ($event) {
5159
+ "onUpdate:file-list": _cache[1] || (_cache[1] = function ($event) {
5160
5160
  return fileList.value = $event;
5161
5161
  }),
5162
5162
  "list-type": __props.listType,
@@ -5176,11 +5176,21 @@ var script$6 = /*#__PURE__*/defineComponent({
5176
5176
  onClick: _ctx.onUploadInvoice
5177
5177
  }, null, 8
5178
5178
  /* PROPS */
5179
- , ["onClick"])])) : (openBlock(), createBlock(_component_a_button, {
5179
+ , ["onClick"])])) : __props.listType === 'textCustom' ? (openBlock(), createElementBlock(Fragment, {
5180
5180
  key: 2
5181
+ }, [fileList.value.length < __props.uploadLength ? (openBlock(), createElementBlock("div", _hoisted_7$4, [createElementVNode("span", {
5182
+ "class": "inline-block text-[#006AB2] cursor-pointer mb-[2px]",
5183
+ onClick: _cache[0] || (_cache[0] = //@ts-ignore
5184
+ function () {
5185
+ return _ctx.onUploadListChange && _ctx.onUploadListChange.apply(_ctx, arguments);
5186
+ })
5187
+ }, "上传")])) : createCommentVNode("v-if", true)], 64
5188
+ /* STABLE_FRAGMENT */
5189
+ )) : (openBlock(), createBlock(_component_a_button, {
5190
+ key: 3
5181
5191
  }, {
5182
5192
  "default": withCtx(function () {
5183
- return [createVNode(_component_upload_outlined), _hoisted_7$4];
5193
+ return [createVNode(_component_upload_outlined), _hoisted_8$4];
5184
5194
  }),
5185
5195
  _: 1
5186
5196
  /* STABLE */
@@ -5206,7 +5216,7 @@ var script$6 = /*#__PURE__*/defineComponent({
5206
5216
  src: previewImage.value
5207
5217
  }, null, 8
5208
5218
  /* PROPS */
5209
- , _hoisted_8$4)];
5219
+ , _hoisted_9$4)];
5210
5220
  }),
5211
5221
  _: 1
5212
5222
  /* STABLE */
@@ -5216,7 +5226,7 @@ var script$6 = /*#__PURE__*/defineComponent({
5216
5226
  , ["visible"]), __props.showAltimeter ? (openBlock(), createBlock(script$7, {
5217
5227
  key: 0,
5218
5228
  show: isAltimeter.value,
5219
- "onUpdate:show": _cache[1] || (_cache[1] = function ($event) {
5229
+ "onUpdate:show": _cache[2] || (_cache[2] = function ($event) {
5220
5230
  return isAltimeter.value = $event;
5221
5231
  }),
5222
5232
  onCancelHandle: cancelAltimeter,
@@ -565,7 +565,7 @@
565
565
  key: 0
566
566
  };
567
567
 
568
- var _hoisted_5$9 = /*#__PURE__*/vue.createElementVNode("div", {
568
+ var _hoisted_5$8 = /*#__PURE__*/vue.createElementVNode("div", {
569
569
  "class": "h-2 flex items-center"
570
570
  }, [/*#__PURE__*/vue.createElementVNode("span", {
571
571
  "class": "bg-[#d9d9d9] h-[1px] w-full"
@@ -586,7 +586,7 @@
586
586
  "class": "mrpTable",
587
587
  id: "IVTable"
588
588
  };
589
- var _hoisted_9$5 = {
589
+ var _hoisted_9$6 = {
590
590
  "class": "relative w-full mb-[24px]",
591
591
  style: {
592
592
  "table-layout": "fixed"
@@ -775,7 +775,7 @@
775
775
  /* TEXT */
776
776
  ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, vue.toDisplayString(item.unit), 1
777
777
  /* TEXT */
778
- )) : vue.createCommentVNode("v-if", true)]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, [_hoisted_5$9, vue.createElementVNode("div", _hoisted_6$8, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
778
+ )) : vue.createCommentVNode("v-if", true)]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, [_hoisted_5$8, vue.createElementVNode("div", _hoisted_6$8, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
779
779
  return vue.openBlock(), vue.createElementBlock("div", {
780
780
  key: i,
781
781
  style: vue.normalizeStyle({
@@ -806,7 +806,7 @@
806
806
  onChangeS: tableControlChange
807
807
  }, null, 8
808
808
  /* PROPS */
809
- , ["setHeight"])) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_8$6, [vue.createElementVNode("table", _hoisted_9$5, [vue.createElementVNode("tr", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTh, function (item, index) {
809
+ , ["setHeight"])) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_8$6, [vue.createElementVNode("table", _hoisted_9$6, [vue.createElementVNode("tr", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTh, function (item, index) {
810
810
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
811
811
  key: index
812
812
  }, [item.show ? (vue.openBlock(), vue.createElementBlock("th", {
@@ -961,7 +961,7 @@
961
961
 
962
962
  var _hoisted_4$8 = /*#__PURE__*/vue.createTextVNode(" 中等 ");
963
963
 
964
- var _hoisted_5$8 = /*#__PURE__*/vue.createTextVNode(" 紧凑 ");
964
+ var _hoisted_5$7 = /*#__PURE__*/vue.createTextVNode(" 紧凑 ");
965
965
 
966
966
  var _hoisted_6$7 = /*#__PURE__*/_withScopeId$2(function () {
967
967
  return /*#__PURE__*/vue.createElementVNode("div", null, "列设置", -1
@@ -1116,7 +1116,7 @@
1116
1116
  key: "2"
1117
1117
  }, {
1118
1118
  "default": vue.withCtx(function () {
1119
- return [_hoisted_5$8];
1119
+ return [_hoisted_5$7];
1120
1120
  }),
1121
1121
  _: 1
1122
1122
  /* STABLE */
@@ -3341,7 +3341,7 @@
3341
3341
  })], -1
3342
3342
  );
3343
3343
  var _hoisted_4$7 = [_hoisted_3$7];
3344
- var _hoisted_5$7 = {
3344
+ var _hoisted_5$6 = {
3345
3345
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
3346
3346
  xmlns: "http://www.w3.org/2000/svg",
3347
3347
  version: "1.1",
@@ -3365,7 +3365,7 @@
3365
3365
  );
3366
3366
  var _hoisted_7$6 = [_hoisted_6$6];
3367
3367
  function render$1(_ctx, _cache) {
3368
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5$7, _hoisted_7$6))]);
3368
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5$6, _hoisted_7$6))]);
3369
3369
  }
3370
3370
 
3371
3371
  var script$c = {};
@@ -3389,7 +3389,7 @@
3389
3389
  var _hoisted_4$6 = {
3390
3390
  "class": "mx-10"
3391
3391
  };
3392
- var _hoisted_5$6 = {
3392
+ var _hoisted_5$5 = {
3393
3393
  "class": "flex items-center my-4 justify-center"
3394
3394
  };
3395
3395
 
@@ -3401,7 +3401,7 @@
3401
3401
  var _hoisted_8$5 = {
3402
3402
  "class": "flex justify-between mb-2"
3403
3403
  };
3404
- var _hoisted_9$4 = {
3404
+ var _hoisted_9$5 = {
3405
3405
  "class": "text-[#999999]"
3406
3406
  };
3407
3407
 
@@ -3717,7 +3717,7 @@
3717
3717
  return [vue.createElementVNode("div", _hoisted_1$b, [vue.createVNode(script$c), _hoisted_2$7])];
3718
3718
  }),
3719
3719
  body: vue.withCtx(function () {
3720
- return [vue.createElementVNode("div", _hoisted_3$6, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$6, [vue.createElementVNode("div", _hoisted_5$6, [vue.createVNode(vue.unref(script$i), {
3720
+ return [vue.createElementVNode("div", _hoisted_3$6, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$6, [vue.createElementVNode("div", _hoisted_5$5, [vue.createVNode(vue.unref(script$i), {
3721
3721
  value: formData.setOfBookId,
3722
3722
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3723
3723
  return formData.setOfBookId = $event;
@@ -3792,7 +3792,7 @@
3792
3792
  _: 1
3793
3793
  /* STABLE */
3794
3794
 
3795
- })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7$5, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8$5, [vue.createElementVNode("div", _hoisted_9$4, [_hoisted_10$4, vue.createElementVNode("span", _hoisted_11$4, vue.toDisplayString(totalPages.value), 1
3795
+ })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7$5, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8$5, [vue.createElementVNode("div", _hoisted_9$5, [_hoisted_10$4, vue.createElementVNode("span", _hoisted_11$4, vue.toDisplayString(totalPages.value), 1
3796
3796
  /* TEXT */
3797
3797
  ), _hoisted_12$4, vue.createElementVNode("span", _hoisted_13$4, vue.toDisplayString(topCurrentPages.value), 1
3798
3798
  /* TEXT */
@@ -4574,23 +4574,21 @@
4574
4574
  return vue.pushScopeId("data-v-44290c60"), n = n(), vue.popScopeId(), n;
4575
4575
  };
4576
4576
 
4577
- var _hoisted_1$7 = {
4578
- "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4579
- };
4580
-
4581
- var _hoisted_2$5 = /*#__PURE__*/_withScopeId$1(function () {
4582
- return /*#__PURE__*/vue.createElementVNode("span", {
4577
+ var _hoisted_1$7 = /*#__PURE__*/_withScopeId$1(function () {
4578
+ return /*#__PURE__*/vue.createElementVNode("div", {
4579
+ "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4580
+ }, [/*#__PURE__*/vue.createCommentVNode(" <UnorderedListOutlined class=\"text-xl text-[#bd9e55]\" /> "), /*#__PURE__*/vue.createElementVNode("span", {
4583
4581
  "class": "text-xl text-[#bd9e55] pl-2"
4584
- }, "高拍仪", -1
4582
+ }, "高拍仪")], -1
4585
4583
  /* HOISTED */
4586
4584
  );
4587
4585
  });
4588
4586
 
4589
- var _hoisted_3$5 = {
4587
+ var _hoisted_2$5 = {
4590
4588
  "class": "Altimeter"
4591
4589
  };
4592
4590
 
4593
- var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
4591
+ var _hoisted_3$5 = /*#__PURE__*/_withScopeId$1(function () {
4594
4592
  return /*#__PURE__*/vue.createElementVNode("div", {
4595
4593
  "class": "text-[#0000006D] mt-2 text-[14px]"
4596
4594
  }, "上传图片:", -1
@@ -4598,7 +4596,7 @@
4598
4596
  );
4599
4597
  });
4600
4598
 
4601
- var _hoisted_5$5 = {
4599
+ var _hoisted_4$5 = {
4602
4600
  "class": "imgBox mt-8 ml-[-58px]"
4603
4601
  };
4604
4602
  var script$7 = /*#__PURE__*/vue.defineComponent({
@@ -4617,6 +4615,8 @@
4617
4615
  var iframe = vue.ref(); // 监听iframe传递的数据
4618
4616
 
4619
4617
  window.addEventListener("message", function (e) {
4618
+ console.log(e);
4619
+
4620
4620
  if (e.data.message) {
4621
4621
  console.log(e.data.message);
4622
4622
  }
@@ -4759,13 +4759,12 @@
4759
4759
  var detailVisible = vue.ref(props.detailVisible); //关闭弹窗触发的事件
4760
4760
 
4761
4761
  function cancelHandle() {
4762
+ iframe.value.contentWindow.document.getElementById('closeDeviceButton').click();
4762
4763
  emit("update:detailVisible", false);
4763
4764
  emit("cancelHandle", pictures.value);
4764
4765
  }
4765
4766
 
4766
4767
  return function (_ctx, _cache) {
4767
- var _component_UnorderedListOutlined = vue.resolveComponent("UnorderedListOutlined");
4768
-
4769
4768
  var _component_a_image = vue.resolveComponent("a-image");
4770
4769
 
4771
4770
  var _component_CloseCircleOutlined = vue.resolveComponent("CloseCircleOutlined");
@@ -4779,12 +4778,10 @@
4779
4778
  onCancelHandle: cancelHandle
4780
4779
  }, {
4781
4780
  title: vue.withCtx(function () {
4782
- return [vue.createElementVNode("div", _hoisted_1$7, [vue.createVNode(_component_UnorderedListOutlined, {
4783
- "class": "text-xl text-[#bd9e55]"
4784
- }), _hoisted_2$5])];
4781
+ return [_hoisted_1$7];
4785
4782
  }),
4786
4783
  body: vue.withCtx(function () {
4787
- return [vue.createElementVNode("div", _hoisted_3$5, [vue.createCommentVNode(" src=\"/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html\" "), vue.createElementVNode("iframe", {
4784
+ return [vue.createElementVNode("div", _hoisted_2$5, [vue.createCommentVNode(" src=\"/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html\" "), vue.createElementVNode("iframe", {
4788
4785
  src: "/Altimeter/index.html",
4789
4786
  id: "iframe",
4790
4787
  ref_key: "iframe",
@@ -4794,7 +4791,7 @@
4794
4791
  onLoad: load
4795
4792
  }, null, 544
4796
4793
  /* HYDRATE_EVENTS, NEED_PATCH */
4797
- ), _hoisted_4$5, vue.createElementVNode("div", _hoisted_5$5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pictures.value, function (e, i) {
4794
+ ), _hoisted_3$5, vue.createElementVNode("div", _hoisted_4$5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pictures.value, function (e, i) {
4798
4795
  return vue.openBlock(), vue.createElementBlock("div", {
4799
4796
  key: i,
4800
4797
  "class": "imgList"
@@ -4861,10 +4858,13 @@
4861
4858
  var _hoisted_6$4 = {
4862
4859
  key: 1
4863
4860
  };
4861
+ var _hoisted_7$4 = {
4862
+ key: 0
4863
+ };
4864
4864
 
4865
- var _hoisted_7$4 = /*#__PURE__*/vue.createTextVNode(" 上传 ");
4865
+ var _hoisted_8$4 = /*#__PURE__*/vue.createTextVNode(" 上传 ");
4866
4866
 
4867
- var _hoisted_8$4 = ["src"];
4867
+ var _hoisted_9$4 = ["src"];
4868
4868
  /**
4869
4869
  * uploadApi:api接口
4870
4870
  * uploadLength:最大上传文件数量
@@ -5160,7 +5160,7 @@
5160
5160
 
5161
5161
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createElementVNode("div", _hoisted_1$6, [vue.createVNode(_component_a_upload, {
5162
5162
  "file-list": fileList.value,
5163
- "onUpdate:file-list": _cache[0] || (_cache[0] = function ($event) {
5163
+ "onUpdate:file-list": _cache[1] || (_cache[1] = function ($event) {
5164
5164
  return fileList.value = $event;
5165
5165
  }),
5166
5166
  "list-type": __props.listType,
@@ -5180,11 +5180,21 @@
5180
5180
  onClick: _ctx.onUploadInvoice
5181
5181
  }, null, 8
5182
5182
  /* PROPS */
5183
- , ["onClick"])])) : (vue.openBlock(), vue.createBlock(_component_a_button, {
5183
+ , ["onClick"])])) : __props.listType === 'textCustom' ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
5184
5184
  key: 2
5185
+ }, [fileList.value.length < __props.uploadLength ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4, [vue.createElementVNode("span", {
5186
+ "class": "inline-block text-[#006AB2] cursor-pointer mb-[2px]",
5187
+ onClick: _cache[0] || (_cache[0] = //@ts-ignore
5188
+ function () {
5189
+ return _ctx.onUploadListChange && _ctx.onUploadListChange.apply(_ctx, arguments);
5190
+ })
5191
+ }, "上传")])) : vue.createCommentVNode("v-if", true)], 64
5192
+ /* STABLE_FRAGMENT */
5193
+ )) : (vue.openBlock(), vue.createBlock(_component_a_button, {
5194
+ key: 3
5185
5195
  }, {
5186
5196
  "default": vue.withCtx(function () {
5187
- return [vue.createVNode(_component_upload_outlined), _hoisted_7$4];
5197
+ return [vue.createVNode(_component_upload_outlined), _hoisted_8$4];
5188
5198
  }),
5189
5199
  _: 1
5190
5200
  /* STABLE */
@@ -5210,7 +5220,7 @@
5210
5220
  src: previewImage.value
5211
5221
  }, null, 8
5212
5222
  /* PROPS */
5213
- , _hoisted_8$4)];
5223
+ , _hoisted_9$4)];
5214
5224
  }),
5215
5225
  _: 1
5216
5226
  /* STABLE */
@@ -5220,7 +5230,7 @@
5220
5230
  , ["visible"]), __props.showAltimeter ? (vue.openBlock(), vue.createBlock(script$7, {
5221
5231
  key: 0,
5222
5232
  show: isAltimeter.value,
5223
- "onUpdate:show": _cache[1] || (_cache[1] = function ($event) {
5233
+ "onUpdate:show": _cache[2] || (_cache[2] = function ($event) {
5224
5234
  return isAltimeter.value = $event;
5225
5235
  }),
5226
5236
  onCancelHandle: cancelAltimeter,
@@ -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","../src/business-ui/component/IVTimeSelector.vue?vue&type=template&id=5f0fe252&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(key) {\n return (input, option) => option[key] && option[key].toLowerCase().indexOf(input.toLowerCase()) >= 0;\n}\n\n// utils/format/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}\n\n// utils/format/apiConfiger.ts\nvar hostname = window.location.hostname.split(\".\");\nvar protocol = window.location.protocol;\nfunction apiConfiger(config) {\n if (config.requestBase == \"USER_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/user\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"BASIS_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/basis\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"MRP2_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/mrp2\" : `${protocol}//mrp2.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"ROOT_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/root\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n return config;\n}\n\n// utils/format/dateFormat.ts\nfunction dateFormat(data, format) {\n const weekList = [\n \"\\u661F\\u671F\\u65E5\",\n \"\\u661F\\u671F\\u4E00\",\n \"\\u661F\\u671F\\u4E8C\",\n \"\\u661F\\u671F\\u4E09\",\n \"\\u661F\\u671F\\u56DB\",\n \"\\u661F\\u671F\\u4E94\",\n \"\\u661F\\u671F\\u516D\"\n ];\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n month = month < 10 ? \"0\" + month : month;\n let day = now.getDate();\n day = day < 10 ? \"0\" + day : day;\n let hours = now.getHours();\n hours = hours < 10 ? \"0\" + hours : hours;\n let minutes = now.getMinutes();\n minutes = minutes < 10 ? \"0\" + minutes : minutes;\n let seconds = now.getSeconds();\n seconds = seconds < 10 ? \"0\" + seconds : seconds;\n let week = weekList[now.getDay()];\n if (format) {\n format = format.replace(/YYYY/, String(year)).replace(/MM/, String(month)).replace(/DD/, String(day)).replace(/hh/, String(hours)).replace(/mm/, String(minutes)).replace(/ss/, String(seconds));\n return format;\n } else {\n return {\n date: `${year}\\u5E74${month}\\u6708${day}`,\n time: `${hours}:${minutes}:${seconds}`,\n week\n };\n }\n}\nfunction yearMonthFormat(data) {\n if (data) {\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n month = month;\n return `${year}\\u5E74${month}\\u6708`;\n } else {\n return \"\";\n }\n}\nfunction yearMonthDayFormat(data) {\n if (data) {\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n let day = now.getDate();\n month = month;\n return `${year}\\u5E74${month}\\u6708${day}\\u65E5`;\n } else {\n return \"\";\n }\n}\nexport {\n apiConfiger,\n arrToTree,\n assign,\n buildURL as buildUrl,\n dateFormat,\n filterOptionHeadle,\n findTree,\n isDate,\n isObject,\n isPlainObject,\n isURLSearchParams,\n tranListToTreeData,\n yearMonthDayFormat,\n yearMonthFormat\n};\n","<!--\r\n * @Author: Mr.Cong Wei\r\n * @Date: 2022-08-11 09:51:33\r\n * @LastEditTime: 2022-08-16 13:24:36\r\n-->\r\n<template>\r\n <div style=\"position: relative; margin-top: 8px; width: 30px; height: 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 style=\"position: 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 style=\"position: 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","<template>\r\n <div class=\"Mrp-time text-[18px] flex items-center\">\r\n <a-radio-group v-model:value=\"activeBtn\" size=\"large\" @change=\"selectTime\">\r\n <a-radio-button\r\n v-for=\"item in btnList\"\r\n :key=\"item.id\"\r\n :value=\"item.id\"\r\n class=\"cursor-pointer\"\r\n >{{ item.name }}</a-radio-button\r\n >\r\n </a-radio-group>\r\n <a-range-picker\r\n class=\"picker\"\r\n style=\"height: 35px; width: 210px;border-radius: 5px;\"\r\n v-model:value=\"time\"\r\n format=\"YYYY/MM/DD\"\r\n valueFormat=\"YYYY-MM-DD\"\r\n @change=\"timeChange\"\r\n >\r\n <template #suffixIcon>\r\n <FieldTimeOutlined />\r\n </template>\r\n </a-range-picker>\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\">\r\nimport { reactive, toRefs, onBeforeMount, onMounted, ref } from \"vue\";\r\n\r\nexport default {\r\n name: \"time\",\r\n props: {\r\n timeType: Number,\r\n },\r\n emits: [\"selectedTime\"],\r\n setup(props: any, context: any) {\r\n const data: any = reactive({\r\n time: \"\",\r\n year: \"\",\r\n beginTime: \"\",\r\n endTime: \"\",\r\n });\r\n const today = ref(\"\");\r\n const activeBtn = ref(0);\r\n const btnList = ref([\r\n {\r\n id: 0,\r\n name: \"开累\",\r\n },\r\n {\r\n id: 1,\r\n name: \"上月\",\r\n },\r\n {\r\n id: 2,\r\n name: \"本月\",\r\n },\r\n {\r\n id: 3,\r\n name: \"去年\",\r\n },\r\n {\r\n id: 4,\r\n name: \"今年\",\r\n },\r\n ]);\r\n const refData: any = toRefs(data);\r\n onBeforeMount(() => {\r\n const date = new Date();\r\n refData.year.value = date.getFullYear();\r\n const y = date.getFullYear().toString();\r\n const m = (date.getMonth() + 1).toString().padStart(2, \"0\");\r\n const d = date.getDate().toString().padStart(2, \"0\");\r\n today.value = y + \"/\" + m + \"/\" + d;\r\n data.time = [\"1990-01-01\", y + \"-\" + m + \"-\" + d];\r\n });\r\n onMounted(() => {});\r\n\r\n const formatFun = (date,format)=>{\r\n var o: any = {\r\n \"M+\": date.getMonth() + 1, //month\r\n \"d+\": date.getDate(), //day\r\n \"h+\": date.getHours(), //hour\r\n \"m+\": date.getMinutes(), //minute\r\n \"s+\": date.getSeconds(), //second\r\n \"q+\": Math.floor((date.getMonth() + 3) / 3), //quarter\r\n S: date.getMilliseconds(), //millisecond\r\n };\r\n if (/(y+)/.test(format))\r\n format = format.replace(\r\n RegExp.$1,\r\n (date.getFullYear() + \"\").substr(4 - RegExp.$1.length)\r\n );\r\n for (var k in o)\r\n if (new RegExp(\"(\" + k + \")\").test(format))\r\n format = format.replace(\r\n RegExp.$1,\r\n RegExp.$1.length == 1 ? o[k] : (\"00\" + o[k]).substr((\"\" + o[k]).length)\r\n );\r\n return format;\r\n }\r\n\r\n const timeChange = (dates: any | String) => {\r\n activeBtn.value = -1;\r\n context.emit(\"selectedTime\", dates[0], dates[1], props.timeType);\r\n console.log(\r\n dates[0],\r\n dates[1],\r\n props.timeType,\r\n \"-----------------------selectedTime\"\r\n );\r\n };\r\n const selectTime = (e: any) => {\r\n console.log(props.timeType);\r\n\r\n let type = e.target.value;\r\n if (type === 0) {\r\n //开累\r\n refData.beginTime.value = \"1990/01/01\";\r\n refData.endTime.value = today.value;\r\n } else if (type === 1) {\r\n //上月\r\n refData.beginTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(new Date().getMonth() - 1)).setDate(1)\r\n ),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(new Date().setDate(0)),\"yyyy/MM/dd\");\r\n } else if (type === 2) {\r\n //本月\r\n refData.beginTime.value = formatFun(new Date(new Date().setDate(1)),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(new Date().getMonth() + 1)).setDate(0)\r\n ),\"yyyy/MM/dd\");\r\n } else if (type === 3) {\r\n //去年\r\n refData.beginTime.value = \"2021/01/01\";\r\n refData.endTime.value = \"2021/12/31\";\r\n } else if (type === 4) {\r\n //今年\r\n refData.beginTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(0)).setDate(1)\r\n ),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(12)).setDate(0)\r\n ),\"yyyy/MM/dd\");\r\n }\r\n refData.time.value = [refData.beginTime.value, refData.endTime.value];\r\n console.log(\r\n refData.beginTime.value,\r\n refData.endTime.value,\r\n props.timeType,\r\n \"-----------------------selectedTime\"\r\n );\r\n context.emit(\r\n \"selectedTime\",\r\n refData.beginTime.value,\r\n refData.endTime.value,\r\n props.timeType\r\n );\r\n };\r\n return {\r\n ...refData,\r\n activeBtn,\r\n btnList,\r\n timeChange,\r\n selectTime,\r\n };\r\n },\r\n};\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.Mrp-time {\r\n .button {\r\n width: 48px;\r\n height: 30px;\r\n }\r\n .active {\r\n background: rgba(189, 158, 85, 1);\r\n }\r\n\r\n :deep(.ant-radio-button-wrapper:first-child) {\r\n border-radius: 4px 0 0 4px;\r\n }\r\n\r\n :deep(.ant-radio-button-wrapper:last-child) {\r\n border-radius: 0 4px 4px 0;\r\n }\r\n\r\n :deep(.el-range-editor.el-input__inner) {\r\n width: 200px;\r\n height: 35px;\r\n }\r\n :deep(.el-date-editor .el-range-input) {\r\n font-size: 12px;\r\n color: #333333;\r\n }\r\n :deep(.ant-radio-button-wrapper) {\r\n width: 52px;\r\n height: 35px;\r\n font-size: 12px;\r\n color: #006ab2;\r\n padding: 0;\r\n text-align: center;\r\n line-height: 35px;\r\n border: 1px solid rgba(0, 106, 178, 1);\r\n }\r\n :deep(.ant-radio-button-wrapper-checked) {\r\n background: rgba(189, 158, 85, 1);\r\n color: #fff;\r\n border: 1px solid rgba(189, 158, 85, 1);\r\n }\r\n :deep(.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child) {\r\n border-color: rgba(189, 158, 85, 1);\r\n }\r\n .picker {\r\n margin-left: 10px;\r\n }\r\n :deep(.ant-picker-input > input){\r\n font-size: 12px;\r\n }\r\n :deep(.ant-picker-range-separator){\r\n margin-bottom: 5px;\r\n }\r\n}\r\n</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","key","input","option","toLowerCase","indexOf","encode","encodeURIComponent","replace","buildURL","url","params","includes","parts","keys","tempVal","Array","isArray","temp","JSON","stringify","push","hashmarkIndex","slice","join","window","location","hostname","split","dateFormat","data","format","weekList","now","Date","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","week","getDay","String","date","time","_hoisted_1","style","xmlns","version","d","fill","stroke","transform","_hoisted_4","_openBlock","_createElementBlock","_createVNode","_component_a_radio_group","value","$setup","activeBtn","$event","size","onChange","selectTime","_Fragment","_renderList","btnList","item","_createBlock","_component_a_radio_button","_createTextVNode","_toDisplayString","name","_component_a_range_picker","_ctx","valueFormat","timeChange","suffixIcon","_component_FieldTimeOutlined"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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76&lang.js","../src/business-ui/component/IVTimeSelector.vue?vue&type=template&id=5f0fe252&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(key) {\n return (input, option) => option[key] && option[key].toLowerCase().indexOf(input.toLowerCase()) >= 0;\n}\n\n// utils/format/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}\n\n// utils/format/apiConfiger.ts\nvar hostname = window.location.hostname.split(\".\");\nvar protocol = window.location.protocol;\nfunction apiConfiger(config) {\n if (config.requestBase == \"USER_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/user\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"BASIS_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/basis\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"MRP2_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/mrp2\" : `${protocol}//mrp2.${hostname[1]}.${hostname[2]}`;\n }\n if (config.requestBase == \"ROOT_BASE_URL\") {\n config.baseURL = process.env.NODE_ENV == \"development\" ? \"/root\" : `${protocol}//basis.${hostname[1]}.${hostname[2]}`;\n }\n return config;\n}\n\n// utils/format/dateFormat.ts\nfunction dateFormat(data, format) {\n const weekList = [\n \"\\u661F\\u671F\\u65E5\",\n \"\\u661F\\u671F\\u4E00\",\n \"\\u661F\\u671F\\u4E8C\",\n \"\\u661F\\u671F\\u4E09\",\n \"\\u661F\\u671F\\u56DB\",\n \"\\u661F\\u671F\\u4E94\",\n \"\\u661F\\u671F\\u516D\"\n ];\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n month = month < 10 ? \"0\" + month : month;\n let day = now.getDate();\n day = day < 10 ? \"0\" + day : day;\n let hours = now.getHours();\n hours = hours < 10 ? \"0\" + hours : hours;\n let minutes = now.getMinutes();\n minutes = minutes < 10 ? \"0\" + minutes : minutes;\n let seconds = now.getSeconds();\n seconds = seconds < 10 ? \"0\" + seconds : seconds;\n let week = weekList[now.getDay()];\n if (format) {\n format = format.replace(/YYYY/, String(year)).replace(/MM/, String(month)).replace(/DD/, String(day)).replace(/hh/, String(hours)).replace(/mm/, String(minutes)).replace(/ss/, String(seconds));\n return format;\n } else {\n return {\n date: `${year}\\u5E74${month}\\u6708${day}`,\n time: `${hours}:${minutes}:${seconds}`,\n week\n };\n }\n}\nfunction yearMonthFormat(data) {\n if (data) {\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n month = month;\n return `${year}\\u5E74${month}\\u6708`;\n } else {\n return \"\";\n }\n}\nfunction yearMonthDayFormat(data) {\n if (data) {\n const now = data ? new Date(data) : new Date();\n let year = now.getFullYear();\n let month = now.getMonth() + 1;\n let day = now.getDate();\n month = month;\n return `${year}\\u5E74${month}\\u6708${day}\\u65E5`;\n } else {\n return \"\";\n }\n}\nexport {\n apiConfiger,\n arrToTree,\n assign,\n buildURL as buildUrl,\n dateFormat,\n filterOptionHeadle,\n findTree,\n isDate,\n isObject,\n isPlainObject,\n isURLSearchParams,\n tranListToTreeData,\n yearMonthDayFormat,\n yearMonthFormat\n};\n","<!--\r\n * @Author: Mr.Cong Wei\r\n * @Date: 2022-08-11 09:51:33\r\n * @LastEditTime: 2022-08-16 13:24:36\r\n-->\r\n<template>\r\n <div style=\"position: relative; margin-top: 8px; width: 30px; height: 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 style=\"position: 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 style=\"position: 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","<template>\r\n <div class=\"Mrp-time text-[18px] flex items-center\">\r\n <a-radio-group v-model:value=\"activeBtn\" size=\"large\" @change=\"selectTime\">\r\n <a-radio-button\r\n v-for=\"item in btnList\"\r\n :key=\"item.id\"\r\n :value=\"item.id\"\r\n class=\"cursor-pointer\"\r\n >{{ item.name }}</a-radio-button\r\n >\r\n </a-radio-group>\r\n <a-range-picker\r\n class=\"picker\"\r\n style=\"height: 35px; width: 210px;border-radius: 5px;\"\r\n v-model:value=\"time\"\r\n format=\"YYYY/MM/DD\"\r\n valueFormat=\"YYYY-MM-DD\"\r\n @change=\"timeChange\"\r\n >\r\n <template #suffixIcon>\r\n <FieldTimeOutlined />\r\n </template>\r\n </a-range-picker>\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\">\r\nimport { reactive, toRefs, onBeforeMount, onMounted, ref } from \"vue\";\r\n\r\nexport default {\r\n name: \"time\",\r\n props: {\r\n timeType: Number,\r\n },\r\n emits: [\"selectedTime\"],\r\n setup(props: any, context: any) {\r\n const data: any = reactive({\r\n time: \"\",\r\n year: \"\",\r\n beginTime: \"\",\r\n endTime: \"\",\r\n });\r\n const today = ref(\"\");\r\n const activeBtn = ref(0);\r\n const btnList = ref([\r\n {\r\n id: 0,\r\n name: \"开累\",\r\n },\r\n {\r\n id: 1,\r\n name: \"上月\",\r\n },\r\n {\r\n id: 2,\r\n name: \"本月\",\r\n },\r\n {\r\n id: 3,\r\n name: \"去年\",\r\n },\r\n {\r\n id: 4,\r\n name: \"今年\",\r\n },\r\n ]);\r\n const refData: any = toRefs(data);\r\n onBeforeMount(() => {\r\n const date = new Date();\r\n refData.year.value = date.getFullYear();\r\n const y = date.getFullYear().toString();\r\n const m = (date.getMonth() + 1).toString().padStart(2, \"0\");\r\n const d = date.getDate().toString().padStart(2, \"0\");\r\n today.value = y + \"/\" + m + \"/\" + d;\r\n data.time = [\"1990-01-01\", y + \"-\" + m + \"-\" + d];\r\n });\r\n onMounted(() => {});\r\n\r\n const formatFun = (date,format)=>{\r\n var o: any = {\r\n \"M+\": date.getMonth() + 1, //month\r\n \"d+\": date.getDate(), //day\r\n \"h+\": date.getHours(), //hour\r\n \"m+\": date.getMinutes(), //minute\r\n \"s+\": date.getSeconds(), //second\r\n \"q+\": Math.floor((date.getMonth() + 3) / 3), //quarter\r\n S: date.getMilliseconds(), //millisecond\r\n };\r\n if (/(y+)/.test(format))\r\n format = format.replace(\r\n RegExp.$1,\r\n (date.getFullYear() + \"\").substr(4 - RegExp.$1.length)\r\n );\r\n for (var k in o)\r\n if (new RegExp(\"(\" + k + \")\").test(format))\r\n format = format.replace(\r\n RegExp.$1,\r\n RegExp.$1.length == 1 ? o[k] : (\"00\" + o[k]).substr((\"\" + o[k]).length)\r\n );\r\n return format;\r\n }\r\n\r\n const timeChange = (dates: any | String) => {\r\n activeBtn.value = -1;\r\n context.emit(\"selectedTime\", dates[0], dates[1], props.timeType);\r\n console.log(\r\n dates[0],\r\n dates[1],\r\n props.timeType,\r\n \"-----------------------selectedTime\"\r\n );\r\n };\r\n const selectTime = (e: any) => {\r\n console.log(props.timeType);\r\n\r\n let type = e.target.value;\r\n if (type === 0) {\r\n //开累\r\n refData.beginTime.value = \"1990/01/01\";\r\n refData.endTime.value = today.value;\r\n } else if (type === 1) {\r\n //上月\r\n refData.beginTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(new Date().getMonth() - 1)).setDate(1)\r\n ),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(new Date().setDate(0)),\"yyyy/MM/dd\");\r\n } else if (type === 2) {\r\n //本月\r\n refData.beginTime.value = formatFun(new Date(new Date().setDate(1)),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(new Date().getMonth() + 1)).setDate(0)\r\n ),\"yyyy/MM/dd\");\r\n } else if (type === 3) {\r\n //去年\r\n refData.beginTime.value = \"2021/01/01\";\r\n refData.endTime.value = \"2021/12/31\";\r\n } else if (type === 4) {\r\n //今年\r\n refData.beginTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(0)).setDate(1)\r\n ),\"yyyy/MM/dd\");\r\n refData.endTime.value = formatFun(new Date(\r\n new Date(new Date().setMonth(12)).setDate(0)\r\n ),\"yyyy/MM/dd\");\r\n }\r\n refData.time.value = [refData.beginTime.value, refData.endTime.value];\r\n console.log(\r\n refData.beginTime.value,\r\n refData.endTime.value,\r\n props.timeType,\r\n \"-----------------------selectedTime\"\r\n );\r\n context.emit(\r\n \"selectedTime\",\r\n refData.beginTime.value,\r\n refData.endTime.value,\r\n props.timeType\r\n );\r\n };\r\n return {\r\n ...refData,\r\n activeBtn,\r\n btnList,\r\n timeChange,\r\n selectTime,\r\n };\r\n },\r\n};\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.Mrp-time {\r\n .button {\r\n width: 48px;\r\n height: 30px;\r\n }\r\n .active {\r\n background: rgba(189, 158, 85, 1);\r\n }\r\n\r\n :deep(.ant-radio-button-wrapper:first-child) {\r\n border-radius: 4px 0 0 4px;\r\n }\r\n\r\n :deep(.ant-radio-button-wrapper:last-child) {\r\n border-radius: 0 4px 4px 0;\r\n }\r\n\r\n :deep(.el-range-editor.el-input__inner) {\r\n width: 200px;\r\n height: 35px;\r\n }\r\n :deep(.el-date-editor .el-range-input) {\r\n font-size: 12px;\r\n color: #333333;\r\n }\r\n :deep(.ant-radio-button-wrapper) {\r\n width: 52px;\r\n height: 35px;\r\n font-size: 12px;\r\n color: #006ab2;\r\n padding: 0;\r\n text-align: center;\r\n line-height: 35px;\r\n border: 1px solid rgba(0, 106, 178, 1);\r\n }\r\n :deep(.ant-radio-button-wrapper-checked) {\r\n background: rgba(189, 158, 85, 1);\r\n color: #fff;\r\n border: 1px solid rgba(189, 158, 85, 1);\r\n }\r\n :deep(.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child) {\r\n border-color: rgba(189, 158, 85, 1);\r\n }\r\n .picker {\r\n margin-left: 10px;\r\n }\r\n :deep(.ant-picker-input > input){\r\n font-size: 12px;\r\n }\r\n :deep(.ant-picker-range-separator){\r\n margin-bottom: 5px;\r\n }\r\n}\r\n</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","key","input","option","toLowerCase","indexOf","encode","encodeURIComponent","replace","buildURL","url","params","includes","parts","keys","tempVal","Array","isArray","temp","JSON","stringify","push","hashmarkIndex","slice","join","window","location","hostname","split","dateFormat","data","format","weekList","now","Date","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","week","getDay","String","date","time","_hoisted_1","style","xmlns","version","d","fill","stroke","transform","_hoisted_4","_openBlock","_createElementBlock","_createVNode","_component_a_radio_group","value","$setup","activeBtn","$event","size","onChange","selectTime","_Fragment","_renderList","btnList","item","_createBlock","_component_a_radio_button","_createTextVNode","_toDisplayString","name","_component_a_range_picker","_ctx","valueFormat","timeChange","suffixIcon","_component_FieldTimeOutlined"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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