ss-component-new 1.3.310 → 1.3.311
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/dist/{MTLLoader-OzB6aQ1J.cjs → MTLLoader-B_CVjRD3.cjs} +1 -1
- package/dist/{MTLLoader-CIEnVGmG.js → MTLLoader-EqTvrYY4.js} +1 -1
- package/dist/{OrbitControls-AFlrwr_K.js → OrbitControls-BWEzwfsj.js} +1 -1
- package/dist/{OrbitControls-DkGe2Ptd.cjs → OrbitControls-CVBaqbnl.cjs} +1 -1
- package/dist/{URDFLoader-SQ3u-Q_8.js → URDFLoader-CBgIAY7r.js} +2 -2
- package/dist/{URDFLoader-DSqxUYRw.cjs → URDFLoader-CjlI08WF.cjs} +1 -1
- package/dist/{animationData-DEAc-sVN.js → animationData-3_m7lLjY.js} +3 -3
- package/dist/{animationData-B6OfhxX7.cjs → animationData-BW0tyNwK.cjs} +1 -1
- package/dist/{array-CAaog6qg.cjs → array-6JGphca2.cjs} +1 -1
- package/dist/{array-Ydde3r7w.js → array-pCdPCkFk.js} +4 -4
- package/dist/{clone-7AmADFiU.js → clone-BRPsYo3q.js} +1 -1
- package/dist/clone-YEtL4Hc_.cjs +1 -0
- package/dist/{dayjs.min-DTIKCUrF.js → dayjs.min-BztxmKP_.js} +1 -1
- package/dist/{dayjs.min-CJNj6LcW.cjs → dayjs.min-CDrjrMM0.cjs} +1 -1
- package/dist/{iconfont--3ZMb9Aj.js → iconfont-CKIwR3b9.js} +2 -2
- package/dist/{iconfont-dsQaI5I4.cjs → iconfont-SFIwTxFE.cjs} +1 -1
- package/dist/{index-EMsSHq7U.cjs → index--x3Xyi1Z.cjs} +1 -1
- package/dist/{index-BhadNQIa.cjs → index-3pCLleMh.cjs} +1 -1
- package/dist/{index-DJnMQzMz.cjs → index-6ZtJKzRc.cjs} +1 -1
- package/dist/{index-DL9VQs02.js → index-7qukfzO5.js} +2 -2
- package/dist/{index-U9njmngc.cjs → index-9noobS53.cjs} +1 -1
- package/dist/{index-DSJJfH49.cjs → index-B-T8_bdu.cjs} +1 -1
- package/dist/{index-CT1fhrt6.js → index-B0SellVu.js} +9 -9
- package/dist/{index-2KYbe_7L.js → index-B52ZLLQv.js} +2 -2
- package/dist/{index-CyD2ZGI0.js → index-BF9aAYMR.js} +2 -2
- package/dist/{index-CGaMJ1tM.cjs → index-BK0gH8VF.cjs} +1 -1
- package/dist/{index-DBrsZqeh.cjs → index-BLjQR-pc.cjs} +1 -1
- package/dist/{index-wZ9pUfoa.js → index-BMYgC8uY.js} +2 -2
- package/dist/{index-D2crrlxW.js → index-BiDRxcDB.js} +6 -6
- package/dist/{index-CFZ-f-2F.cjs → index-BjBmRkcU.cjs} +1 -1
- package/dist/{index-CQGipCwR.js → index-Bjkw2zNs.js} +3 -3
- package/dist/{index-hLwB_v-A.cjs → index-BkL1aC6N.cjs} +1 -1
- package/dist/{index-ClBVw2TK.js → index-BmgVXwns.js} +3 -3
- package/dist/{index-B3t77A1L.cjs → index-BnAQib1R.cjs} +1 -1
- package/dist/{index-D6-Yrm0v.cjs → index-BpBeXMIB.cjs} +1 -1
- package/dist/{index-Ciy-wUsx.js → index-BqamFGum.js} +3379 -3347
- package/dist/{index-DeiDI-1m.cjs → index-BzWVTbrh.cjs} +1 -1
- package/dist/{index-DIR0HLgr.js → index-C0Yr99tK.js} +6 -6
- package/dist/{index-tH9fLWoV.js → index-C9rHbbYh.js} +2 -2
- package/dist/{index-krueaJgV.js → index-CE94hhEU.js} +9 -9
- package/dist/{index-Kt492P5R.cjs → index-CHAUkN76.cjs} +1 -1
- package/dist/{index-BesmmP6V.js → index-CKnb5PT-.js} +4 -4
- package/dist/{index-B2Bsxjo3.cjs → index-CLSz6naC.cjs} +1 -1
- package/dist/{index-6-ZsdeZD.js → index-CQvnxubl.js} +4 -4
- package/dist/{index-B0RsEw5m.cjs → index-CXyrdYv3.cjs} +1 -1
- package/dist/{index-FPHxJvUf.cjs → index-CaPpJ-X9.cjs} +1 -1
- package/dist/{index-BlLEla5k.cjs → index-Cm8Vk-AI.cjs} +1 -1
- package/dist/{index-DNV_O6Dc.js → index-Cn_-UXHQ.js} +1 -1
- package/dist/index-D7khcIZY.cjs +1 -0
- package/dist/{index-CRqblQs6.cjs → index-DD8E_nN2.cjs} +1 -1
- package/dist/{index-Di2VsnFa.js → index-DHw27kW-.js} +46 -40
- package/dist/{index-DqIM3shB.js → index-DIVvLDgI.js} +1 -1
- package/dist/{index-YmuGsjrw.cjs → index-DLUTpNTV.cjs} +1 -1
- package/dist/index-DQYpInRh.cjs +1 -0
- package/dist/{index-BU3Yohec.cjs → index-DWRBpEQC.cjs} +1 -1
- package/dist/{index-Cf2gp9fi.js → index-DYfVyol_.js} +3 -3
- package/dist/{index-Clae5SKB.cjs → index-DbjAoGwL.cjs} +1 -1
- package/dist/{index-DEHdaKzw.cjs → index-Dck5mho-.cjs} +1 -1
- package/dist/{index-CIuY1IfZ.js → index-DgqjkCDI.js} +1 -1
- package/dist/{index-CuPeKtNC.cjs → index-DiRLGrKr.cjs} +1 -1
- package/dist/{index-oAsacBj3.js → index-DpJ7w2uU.js} +2 -2
- package/dist/{index-D25spbOo.js → index-DtuwBR5e.js} +1 -1
- package/dist/{index-BuTyP2j6.js → index-Dzv_oSab.js} +1 -1
- package/dist/{index-4dur0sB4.js → index-E4jIAYIF.js} +4 -4
- package/dist/{index-D3oAYPfe.js → index-L1-Gc07u.js} +13 -13
- package/dist/{index-Dt6f0dss.cjs → index-R9ATh_A3.cjs} +1 -1
- package/dist/{index-BkS6ltPu.js → index-RMPdJ6EN.js} +1 -1
- package/dist/{index-17CQJTv4.cjs → index-aeATtKsA.cjs} +1 -1
- package/dist/{index-XSrc1sWV.js → index-jPuRLZP_.js} +4 -4
- package/dist/index-k5FIpfnl.js +666 -0
- package/dist/index-tPHtBO9e.cjs +2 -0
- package/dist/{index-r6mcGvmD.js → index-tq9Fe8Z6.js} +1 -1
- package/dist/{index-5EqtwNP3.cjs → index-x2yaioji.cjs} +1 -1
- package/dist/{index-DyBLFpRg.js → index-xYeo-ZaT.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DniaKXV9.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-GDPy2Gmg.js} +4 -4
- package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-D13dnI_4.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Y67ic07F.cjs} +1 -1
- package/dist/{main-CwH9qJVm.js → main-CUasxogy.js} +4 -4
- package/dist/{main-DdEjcQ4o.cjs → main-fRPJ6_5q.cjs} +1 -1
- package/dist/{menu-CN_Tf3mn.js → menu-BMnGyr1i.js} +1 -2
- package/dist/{menu-N76i05Ex.cjs → menu-D2crOMII.cjs} +4 -4
- package/dist/{menuIndex-CD5tqM1b.js → menuIndex-BDgRHAHX.js} +1 -1
- package/dist/{menuIndex-r6NllfjR.cjs → menuIndex-DHKljvlF.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +12 -12
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +12 -12
- package/dist/{threeModel-Uk6zD89R.cjs → threeModel-Bg53R3z6.cjs} +1 -1
- package/dist/{threeModel-BD7DSPW-.js → threeModel-CioVFv-c.js} +4 -4
- package/dist/{threePreview-BHGQBuXr.cjs → threePreview-BkjniUty.cjs} +1 -1
- package/dist/{threePreview-CZqaZ45g.js → threePreview-nKzZJCc7.js} +4 -4
- package/dist/{threeSceneView-wkRekazs.js → threeSceneView-BUfAKhsS.js} +14 -14
- package/dist/{threeSceneView-DN_qbrRS.cjs → threeSceneView-DfxrRHrX.cjs} +1 -1
- package/dist/{threeSceneViewForCPMPIP-mwU1RKVh.js → threeSceneViewForCPMPIP-BWEkrsQg.js} +8 -8
- package/dist/{threeSceneViewForCPMPIP-BztGaGm9.cjs → threeSceneViewForCPMPIP-CAHSSx5O.cjs} +1 -1
- package/dist/{threeTrackPathView-BQzCi_23.cjs → threeTrackPathView-VP-eZLrv.cjs} +1 -1
- package/dist/{threeTrackPathView-D6IuvNTn.js → threeTrackPathView-bL3sfLNY.js} +4 -4
- package/dist/{threeViewerHost-DsDxhyJb.js → threeViewerHost-Bcl4RBft.js} +3 -3
- package/dist/{threeViewerHost-BEzl0gjk.cjs → threeViewerHost-DaXhxauJ.cjs} +1 -1
- package/dist/{urdfTree-BoRXNADP.cjs → urdfTree-CIh17W2z.cjs} +1 -1
- package/dist/{urdfTree-6bW1rIxd.js → urdfTree-CV9Nz2mB.js} +1 -1
- package/dist/{workpieceTreePanel-BunFs5sL.cjs → workpieceTreePanel-BFXv5IT9.cjs} +1 -1
- package/dist/{workpieceTreePanel-BhCB5YyR.js → workpieceTreePanel-DlxoDyDg.js} +4 -4
- package/package.json +1 -1
- package/dist/clone-DR4pDnuw.cjs +0 -1
- package/dist/index-Bc-WLx7S.cjs +0 -1
- package/dist/index-BsmJfM3E.cjs +0 -2
- package/dist/index-DMv7whzL.cjs +0 -1
- package/dist/index-vcuXxLeo.js +0 -481
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as B, computed as
|
|
2
|
-
import { b, p as x, s as z } from "./menu-
|
|
3
|
-
import { u as
|
|
4
|
-
import { _ as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as B, computed as A, watch as m, onMounted as u, onUnmounted as _, resolveComponent as D, createElementBlock as K, openBlock as U, createVNode as E } from "vue";
|
|
2
|
+
import { b, p as x, s as z } from "./menu-BMnGyr1i.js";
|
|
3
|
+
import { u as T } from "./index-B52ZLLQv.js";
|
|
4
|
+
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const O = /* @__PURE__ */ B({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
8
8
|
windowConfig: {
|
|
@@ -57,70 +57,76 @@ const M = /* @__PURE__ */ B({
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin"],
|
|
61
|
-
setup(
|
|
62
|
-
const d = b(x), { loginUserInfo: r } = z(d), { initSystemInfo: g } =
|
|
60
|
+
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl"],
|
|
61
|
+
setup(a, { emit: y }) {
|
|
62
|
+
const d = b(x), { loginUserInfo: r } = z(d), { initSystemInfo: g } = T(), e = a, o = y, C = A(() => {
|
|
63
63
|
var t, n;
|
|
64
64
|
return (e == null ? void 0 : e.showButton) || ((n = (t = r.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
65
65
|
}), w = (t) => {
|
|
66
|
-
|
|
66
|
+
o("projectLogin", t);
|
|
67
|
+
}, h = () => {
|
|
68
|
+
o("projectLogin", "");
|
|
67
69
|
};
|
|
68
|
-
|
|
70
|
+
m(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
|
|
69
71
|
d.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
70
|
-
}, { immediate: !0 }),
|
|
72
|
+
}, { immediate: !0 }), m(
|
|
71
73
|
() => e == null ? void 0 : e.interfaceContent,
|
|
72
74
|
() => {
|
|
73
|
-
var n,
|
|
75
|
+
var n, i, c;
|
|
74
76
|
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((n = e == null ? void 0 : e.interfaceContent) == null ? void 0 : n.length) === 0) return;
|
|
75
|
-
let t = (
|
|
76
|
-
t = (
|
|
77
|
+
let t = (i = e == null ? void 0 : e.interfaceContent) == null ? void 0 : i.find((s) => s == null ? void 0 : s.includes("VITE_API_NEW_URL"));
|
|
78
|
+
t = (c = t == null ? void 0 : t.split("=")) == null ? void 0 : c[1], t = t == null ? void 0 : t.trim(), d.setSystemUrl(t ?? "");
|
|
77
79
|
},
|
|
78
80
|
{ immediate: !0, deep: !0 }
|
|
79
81
|
), u(async () => {
|
|
80
82
|
e.systemInfo ? d.setSystemInfo(e.systemInfo) : await g();
|
|
81
83
|
});
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
}, S = (t) => {
|
|
87
|
-
a("openThreeBuild", t);
|
|
84
|
+
const I = () => {
|
|
85
|
+
o("buildContent");
|
|
86
|
+
}, S = () => {
|
|
87
|
+
o("setLoginInfo");
|
|
88
88
|
}, v = (t) => {
|
|
89
|
-
|
|
90
|
-
},
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
o("openThreeBuild", t);
|
|
90
|
+
}, L = (t) => {
|
|
91
|
+
o("threeData", t);
|
|
92
|
+
}, j = (t) => {
|
|
93
|
+
o("updateApiUrl", t);
|
|
94
|
+
}, f = () => {
|
|
95
|
+
var l;
|
|
96
|
+
const t = e != null && e.windowConfig ? (l = e == null ? void 0 : e.windowConfig) == null ? void 0 : l.width : window.innerWidth, n = 1920, i = 16, c = t / n, s = i * c;
|
|
93
97
|
document.documentElement.style.fontSize = `${s}px`;
|
|
94
98
|
};
|
|
95
99
|
return u(() => {
|
|
96
|
-
|
|
97
|
-
}),
|
|
98
|
-
window.removeEventListener("resize",
|
|
100
|
+
f(), window.addEventListener("resize", f);
|
|
101
|
+
}), _(() => {
|
|
102
|
+
window.removeEventListener("resize", f);
|
|
99
103
|
}), (t, n) => {
|
|
100
|
-
const
|
|
101
|
-
return
|
|
102
|
-
E(
|
|
104
|
+
const i = D("router-view");
|
|
105
|
+
return U(), K("div", null, [
|
|
106
|
+
E(i, {
|
|
103
107
|
mode: e == null ? void 0 : e.mode,
|
|
104
108
|
content: e == null ? void 0 : e.content,
|
|
105
109
|
jsonContents: e == null ? void 0 : e.jsonContents,
|
|
106
110
|
pathContent: e == null ? void 0 : e.pathContent,
|
|
107
111
|
showButton: C.value,
|
|
108
112
|
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
109
|
-
windowConfig:
|
|
110
|
-
systemInfo:
|
|
111
|
-
"old-systemKey":
|
|
112
|
-
onBuildContent:
|
|
113
|
+
windowConfig: a.windowConfig,
|
|
114
|
+
systemInfo: a.systemInfo,
|
|
115
|
+
"old-systemKey": a.systemKey,
|
|
116
|
+
onBuildContent: I,
|
|
113
117
|
onProjectLogin: w,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
onClearLogin: h,
|
|
119
|
+
onUpdateApiUrl: j,
|
|
120
|
+
onOpenThreeBuild: v,
|
|
121
|
+
pageKey: a.pageKey,
|
|
122
|
+
onThreeData: L,
|
|
123
|
+
onSetLoginInfo: S,
|
|
118
124
|
loginContent: e == null ? void 0 : e.loginContent
|
|
119
125
|
}, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent"])
|
|
120
126
|
]);
|
|
121
127
|
};
|
|
122
128
|
}
|
|
123
|
-
}),
|
|
129
|
+
}), W = /* @__PURE__ */ M(O, [["__scopeId", "data-v-68675c3f"]]);
|
|
124
130
|
export {
|
|
125
|
-
|
|
131
|
+
W as default
|
|
126
132
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as I, reactive as T, resolveComponent as v, createElementBlock as U, openBlock as E, createVNode as u, withCtx as d, createElementVNode as l, createTextVNode as h, toDisplayString as N, nextTick as q, Fragment as z, withDirectives as H, renderSlot as $, vShow as M } from "vue";
|
|
2
|
-
import { al as V } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
2
|
+
import { al as V } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-GDPy2Gmg.js";
|
|
3
3
|
import { O as X, P as J, Q as D, R as c, T as R, U as g } from "./request-CoGtW0Ux.js";
|
|
4
4
|
import { i as Q } from "./isNil-CjWwlQS3.js";
|
|
5
5
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
1
|
+
"use strict";const e=require("vue"),I=require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Y67ic07F.cjs"),a=require("./request-BC2w2vGr.cjs"),k=require("./isNil-x28vo2CT.cjs"),C=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O="ElUpload";class B extends Error{constructor(o,l,i,p){super(o),this.name="UploadAjaxError",this.status=l,this.method=i,this.url=p}}function h(r,o,l){let i;return l.response?i=`${l.response.error||l.response}`:l.responseText?i=`${l.responseText}`:i=`fail to ${o.method} ${r} ${l.status}`,new B(i,l.status,o.method,r)}function R(r){const o=r.responseText||r.response;if(!o)return o;try{return JSON.parse(o)}catch{return o}}const T=r=>{typeof XMLHttpRequest>"u"&&a.throwError(O,"XMLHttpRequest is undefined");const o=new XMLHttpRequest,l=r.action;o.upload&&o.upload.addEventListener("progress",t=>{const c=t;c.percent=t.total>0?t.loaded/t.total*100:0,r.onProgress(c)});const i=new FormData;if(r.data)for(const[t,c]of Object.entries(r.data))a.isArray$1(c)&&c.length?i.append(t,...c):i.append(t,c);i.append(r.filename,r.file,r.file.name),o.addEventListener("error",()=>{r.onError(h(l,r,o))}),o.addEventListener("load",()=>{if(o.status<200||o.status>=300)return r.onError(h(l,r,o));r.onSuccess(R(o))}),o.open(r.method,l,!0),r.withCredentials&&"withCredentials"in o&&(o.withCredentials=!0);const p=r.headers||{};if(p instanceof Headers)p.forEach((t,c)=>o.setRequestHeader(c,t));else for(const[t,c]of Object.entries(p))k.isNil(c)||o.setRequestHeader(t,String(c));return o.send(i),o},U=["text","picture","picture-card"];let D=1;const L=()=>Date.now()+D++,F=a.buildProps({action:{type:String,default:"#"},headers:{type:a.definePropType(Object)},method:{type:String,default:"post"},data:{type:a.definePropType([Object,Function,Promise]),default:()=>a.mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:a.definePropType(Array),default:()=>a.mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:U,default:"text"},httpRequest:{type:a.definePropType(Function),default:T},disabled:Boolean,limit:Number});a.buildProps({...F,beforeUpload:{type:a.definePropType(Function),default:a.NOOP},beforeRemove:{type:a.definePropType(Function)},onRemove:{type:a.definePropType(Function),default:a.NOOP},onChange:{type:a.definePropType(Function),default:a.NOOP},onPreview:{type:a.definePropType(Function),default:a.NOOP},onSuccess:{type:a.definePropType(Function),default:a.NOOP},onProgress:{type:a.definePropType(Function),default:a.NOOP},onError:{type:a.definePropType(Function),default:a.NOOP},onExceed:{type:a.definePropType(Function),default:a.NOOP},crossorigin:{type:a.definePropType(String)}});const j={style:{"text-align":"left"}},q={class:"cropper-warp"},A={class:"cropper-warp-left"},H=["src"],$={class:"cropper-warp-right"},z={class:"cropper-warp-right-item"},M={class:"cropper-warp-right-value"},X=["src"],J={class:"cropper-warp-right-item"},G={class:"cropper-warp-right-value"},K=["src"],Q={class:"dialog-footer"},W=e.defineComponent({__name:"index",props:{title:{type:String,default:""}},emits:["submitImage","deleteImage"],setup(r,{expose:o,emit:l}){const i=l,p=e.ref(),t=e.reactive({isShowDialog:!1,cropperImg:"",cropperImgBase64:"",cropper:null}),c=async s=>{if(t.isShowDialog=!0,!s)return;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s),e.nextTick(()=>{w()})},f=()=>{var s;(s=t.cropper)==null||s.destroy(),t.isShowDialog=!1},m=()=>{f()},y=async()=>{const s=await v();i("submitImage",{file:s}),f()},d=async()=>{i("deleteImage")},w=()=>{const s=document.querySelector(".cropper-warp-left-img");s&&s.setAttribute("crossOrigin","anonymous"),t.cropper=new I.Cropper(s,{viewMode:1,dragMode:"none",initialAspectRatio:1,aspectRatio:1,preview:".before",background:!0,autoCropArea:1,checkCrossOrigin:!1,crop:()=>{t.cropperImgBase64=t.cropper.getCroppedCanvas().toDataURL("image/jpeg")}})},v=async()=>t!=null&&t.cropper?new Promise(s=>{var n,u;(u=(n=t==null?void 0:t.cropper)==null?void 0:n.getCroppedCanvas())==null||u.toBlob(_=>{s(_)})}):(await fetch(t.cropperImg)).blob(),x=async s=>{var u;let n=window.URL||window.webkitURL;t.cropperImg=n.createObjectURL(s.raw),(u=t.cropper)==null||u.replace(t.cropperImg)},E=s=>{p.value.clearFiles();const n=s[0];n.uid=L(),p.value.handleStart(n)};return o({openDialog:c}),(s,n)=>{const u=e.resolveComponent("ele-Edit"),_=e.resolveComponent("el-icon"),g=e.resolveComponent("el-button"),P=e.resolveComponent("el-upload"),V=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(V,{modelValue:t.isShowDialog,"onUpdate:modelValue":n[0]||(n[0]=S=>t.isShowDialog=S),width:"769px","before-close":m},{header:e.withCtx(()=>[e.createElementVNode("div",j,[e.createVNode(_,{size:"16",style:{"margin-right":"3px",display:"inline","vertical-align":"middle"}},{default:e.withCtx(()=>[e.createVNode(u)]),_:1}),e.createElementVNode("span",null,e.toDisplayString(r.title),1)])]),footer:e.withCtx(()=>[e.createElementVNode("span",Q,[e.createVNode(P,{class:"avatar-uploader",ref_key:"uploadSignRef",ref:p,accept:".jpg,.png",limit:1,"show-file-list":!1,"auto-upload":!1,"on-change":x,"on-exceed":E},{trigger:e.withCtx(()=>[e.createVNode(g,{type:"info",icon:"ele-Picture"},{default:e.withCtx(()=>n[4]||(n[4]=[e.createTextVNode("选择图片")])),_:1,__:[4]})]),default:e.withCtx(()=>[e.createVNode(g,{onClick:d,type:"danger",icon:"ele-Picture",style:{"margin-left":"8px"}},{default:e.withCtx(()=>n[5]||(n[5]=[e.createTextVNode("删除图片")])),_:1,__:[5]})]),_:1},512),e.createElementVNode("div",null,[e.createVNode(g,{onClick:m,id:"themeBorderButton"},{default:e.withCtx(()=>n[6]||(n[6]=[e.createTextVNode("取 消")])),_:1,__:[6]}),e.createVNode(g,{onClick:y,id:"themeButton"},{default:e.withCtx(()=>n[7]||(n[7]=[e.createTextVNode("确 定")])),_:1,__:[7]})])])]),default:e.withCtx(()=>[e.createElementVNode("div",q,[e.createElementVNode("div",A,[e.createElementVNode("img",{src:t.cropperImg,class:"cropper-warp-left-img"},null,8,H)]),e.createElementVNode("div",$,[n[3]||(n[3]=e.createElementVNode("div",{class:"cropper-warp-right-title"},"预览",-1)),e.createElementVNode("div",z,[e.createElementVNode("div",M,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img"},null,8,X)]),n[1]||(n[1]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"100 x 100",-1))]),e.createElementVNode("div",J,[e.createElementVNode("div",G,[e.createElementVNode("img",{src:t.cropperImgBase64,class:"cropper-warp-right-value-img cropper-size"},null,8,K)]),n[2]||(n[2]=e.createElementVNode("div",{class:"cropper-warp-right-label"},"50 x 50",-1))])])])]),_:1},8,["modelValue"])])}}}),b=C._export_sfc(W,[["__scopeId","data-v-4a19ffcf"]]),Y=e.defineComponent({__name:"index",props:{avatarUrl:{type:String,default:""},avatarBlob:{type:Blob,default:""},size:{type:[String,Number],default:"large"},showCropper:{type:Boolean,default:!0},banClick:{type:Boolean,default:!1},clickStop:{type:Boolean,default:!0}},emits:["submitImage","deleteImage","clickAvatar"],setup(r,{emit:o}){const l=r,i=e.ref(),p=e.ref(null),t=o,c=()=>!0,f=async()=>{var d;l!=null&&l.banClick||(t("clickAvatar",l.avatarUrl),(d=i.value)==null||d.openDialog(l.avatarBlob))},m=async d=>{t("submitImage",d)},y=async()=>{t("deleteImage")};return(d,w)=>{const v=e.resolveComponent("el-avatar");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(v,{src:r.avatarUrl,onClick:f,fit:"cover",size:r.size,ref_key:"avatarRef",ref:p,style:{background:"var(--user-avatar-bg)"},alt:"头像查找失败",onError:c},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"avatarDefault",{},void 0,!0)]),_:3},8,["src","size"]),e.withDirectives(e.createVNode(b,{ref_key:"cropperDialogRef",ref:i,title:"更改头像",avatarUrl:r.avatarUrl,onSubmitImage:m,onDeleteImage:y},null,8,["avatarUrl"]),[[e.vShow,r.showCropper&&(l==null?void 0:l.clickStop)]])],64)}}}),N=C._export_sfc(Y,[["__scopeId","data-v-82946fb9"]]),Z=Object.freeze(Object.defineProperty({__proto__:null,default:N},Symbol.toStringTag,{value:"Module"}));exports.Avatar=N;exports.CropperDialog=b;exports.index=Z;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),f=require("./menu-D2crOMII.cjs"),B=require("./index-B-T8_bdu.cjs"),_=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),A=n.defineComponent({__name:"index",props:{windowConfig:{type:Object,default:()=>{}},systemInfo:{type:Object,default:()=>{}},systemKey:{type:String,default:""},pathContent:{type:String,default:""},mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!1},nodeDev:{type:String,default:""},pageKey:{type:String,default:""},interfaceContent:{type:Array,default:()=>[]},loginContent:{type:Object,default:()=>{}}},emits:["buildContent","openThreeBuild","threeData","setLoginInfo","projectLogin","updateApiUrl"],setup(d,{emit:m}){const c=f.useLoginState(f.pinia),{loginUserInfo:r}=f.storeToRefs(c),{initSystemInfo:g}=B.useModelManagement(),e=d,i=m,C=n.computed(()=>{var t,o;return(e==null?void 0:e.showButton)||((o=(t=r.value)==null?void 0:t.layer)==null?void 0:o.toUpperCase())==="SUPERADMIN"}),w=t=>{i("projectLogin",t)},h=()=>{i("projectLogin","")};n.watch(()=>[e==null?void 0:e.systemKey,e==null?void 0:e.systemInfo],async([t,o])=>{c.setSystemKey(t),t!==""&&sessionStorage.setItem("systemKey",t)},{immediate:!0}),n.watch(()=>e==null?void 0:e.interfaceContent,()=>{var o,a,l;if(!(e!=null&&e.interfaceContent)||Array.isArray(e==null?void 0:e.interfaceContent)&&((o=e==null?void 0:e.interfaceContent)==null?void 0:o.length)===0)return;let t=(a=e==null?void 0:e.interfaceContent)==null?void 0:a.find(s=>s==null?void 0:s.includes("VITE_API_NEW_URL"));t=(l=t==null?void 0:t.split("="))==null?void 0:l[1],t=t==null?void 0:t.trim(),c.setSystemUrl(t??"")},{immediate:!0,deep:!0}),n.onMounted(async()=>{e.systemInfo?c.setSystemInfo(e.systemInfo):await g()});const S=()=>{i("buildContent")},I=()=>{i("setLoginInfo")},v=t=>{i("openThreeBuild",t)},L=t=>{i("threeData",t)},j=t=>{i("updateApiUrl",t)},u=()=>{var y;const t=e!=null&&e.windowConfig?(y=e==null?void 0:e.windowConfig)==null?void 0:y.width:window.innerWidth,o=1920,a=16,l=t/o,s=a*l;document.documentElement.style.fontSize=`${s}px`};return n.onMounted(()=>{u(),window.addEventListener("resize",u)}),n.onUnmounted(()=>{window.removeEventListener("resize",u)}),(t,o)=>{const a=n.resolveComponent("router-view");return n.openBlock(),n.createElementBlock("div",null,[n.createVNode(a,{mode:e==null?void 0:e.mode,content:e==null?void 0:e.content,jsonContents:e==null?void 0:e.jsonContents,pathContent:e==null?void 0:e.pathContent,showButton:C.value,nodeDev:e==null?void 0:e.nodeDev,windowConfig:d.windowConfig,systemInfo:d.systemInfo,"old-systemKey":d.systemKey,onBuildContent:S,onProjectLogin:w,onClearLogin:h,onUpdateApiUrl:j,onOpenThreeBuild:v,pageKey:d.pageKey,onThreeData:L,onSetLoginInfo:I,loginContent:e==null?void 0:e.loginContent},null,8,["mode","content","jsonContents","pathContent","showButton","nodeDev","windowConfig","systemInfo","old-systemKey","pageKey","loginContent"])])}}}),D=_._export_sfc(A,[["__scopeId","data-v-68675c3f"]]);exports.default=D;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-
|
|
1
|
+
"use strict";const e=require("vue"),d=require("./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Y67ic07F.cjs"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),_={__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(a){const s=a;let t=null,n=null;const r=e.ref({}),o=e.ref(null),u=()=>{o.value&&(n=new ResizeObserver(()=>{i()}),n.observe(o.value))};e.onMounted(()=>{r.value=s.optionContents,c(),window.addEventListener("resize",i),u()}),e.watch(()=>s.optionContents,()=>{r.value=s.optionContents,c()}),e.onUnmounted(()=>{n&&n.disconnect(),window.removeEventListener("resize",i)});const i=()=>{t.resize()},c=()=>{t&&t.dispose(),t=d.init(o.value);const l=r.value;t.setOption(l),t.resize()};return(l,f)=>(e.openBlock(),e.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:o},null,512))}},v=p._export_sfc(_,[["__scopeId","data-v-69d6e63f"]]);exports.ssChart=v;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { watch as be, ref as w, computed as we } from "vue";
|
|
2
|
-
import { i as E, f as B, w as Le } from "./index-
|
|
3
|
-
import { s as Te, b as V, p as C, u as Re, n as De, c as A, g as Ee, V as Be, W as Ae, X as Pe, Y as Ue, Z as xe, _ as Se } from "./menu-
|
|
4
|
-
import { f as N, E as ke } from "./index-
|
|
2
|
+
import { i as E, f as B, w as Le } from "./index-BF9aAYMR.js";
|
|
3
|
+
import { s as Te, b as V, p as C, u as Re, n as De, c as A, g as Ee, V as Be, W as Ae, X as Pe, Y as Ue, Z as xe, _ as Se } from "./menu-BMnGyr1i.js";
|
|
4
|
+
import { f as N, E as ke } from "./index-B52ZLLQv.js";
|
|
5
5
|
import { s as z } from "./request-CoGtW0Ux.js";
|
|
6
6
|
const qe = V(C), { systemUrl: f } = Te(qe);
|
|
7
7
|
let P = f.value === "" || !f.value ? "http://222.92.178.198:63002" : f.value;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const S=require("vue"),lt=require("./request-BC2w2vGr.cjs"),w=require("./menu-
|
|
1
|
+
"use strict";const S=require("vue"),lt=require("./request-BC2w2vGr.cjs"),w=require("./menu-D2crOMII.cjs"),xt=w.defineStore("authorityState",{state:()=>({routerPageStructures:[]}),actions:{setRouterPageStructure(r){this.routerPageStructures=r}}}),Nt=w.useMenuState(w.pinia),{activeMenuPath:Be}=w.storeToRefs(Nt),Pt=w.useLoginState(w.pinia),{structureData:Mt,loginUserInfo:Oe}=w.storeToRefs(Pt),Ct=xt(w.pinia),{routerPageStructures:qt}=w.storeToRefs(Ct);w.useModelComp(w.pinia);S.ref([{label:"角色名称",value:"",name:"roleName"}]);S.ref([{label:"查询"},{label:"重置"}]);S.reactive({isFilter:!1,filterForm:{}});S.ref(!1);const Ht=S.ref([]),Ft=S.ref([]),_t=S.ref("");S.computed(()=>{var t,e,i,n,s;const r=(t=qt.value)==null?void 0:t.find(h=>{var o;return((o=h==null?void 0:h.comp)==null?void 0:o.toUpperCase())==="TABLE"});if(r){_t.value=r.name,Ft.value=(n=(i=(e=r==null?void 0:r.compData)==null?void 0:e.find(o=>(o==null?void 0:o.key)==="header"))==null?void 0:i.contents)==null?void 0:n.filter(o=>(o==null?void 0:o.label)!=="操作");const h=(s=r==null?void 0:r.compData)==null?void 0:s.map(o=>{var a;if((o==null?void 0:o.key)==="rowButton"){let f=[];return De.value?f=[...o==null?void 0:o.contents,{label:"授权"}]:f=o==null?void 0:o.contents,{...o,contents:f}}return(o==null?void 0:o.key)==="header"?{...o,contents:(a=o==null?void 0:o.contents)==null?void 0:a.map(f=>{var l,c;return{...f,isTableColHidden:(l=f==null?void 0:f.prop)==null?void 0:l.includes("授权"),isFormColHidden:(c=f==null?void 0:f.prop)==null?void 0:c.includes("授权")}})}:o});return zt(h),h}return[]});S.ref({});const kt=S.ref(),Rt=r=>r==null?void 0:r.map(t=>{var i;const e={...t,checkedButtons:[]};return e.children&&((i=e.children)==null?void 0:i.length)>0&&(e.children=Rt(e.children)),e}),Ut=r=>{for(const t in r)if(Array.isArray(r[t]))return t;return""},Lt=r=>Object.prototype.toString.call(r)==="[object Object]"&&r!==null,Kt=(r,t)=>{const e={},i=Array.isArray(r)?r==null?void 0:r.filter(n=>{var s;return!(Lt(n)&&((s=Object.keys(n))!=null&&s.includes("id")))}):null;return i&&(i==null||i.forEach((n,s)=>{var h;e[(h=t[s])==null?void 0:h.prop]=n})),e},jt=S.ref(""),zt=r=>{var s;const t=r==null?void 0:r.find(h=>(h==null?void 0:h.key)==="tableContents"),e=r==null?void 0:r.find(h=>(h==null?void 0:h.key)==="header");if(!t||!e)return"";const i=(s=t==null?void 0:t.contents)==null?void 0:s[0],n=Kt(i,e==null?void 0:e.contents);jt.value=Ut(n)};S.ref();const $t=S.reactive({show:!1,title:"角色授权",width:"30%",draggable:!0});S.ref(0);const ct=S.ref([]);S.ref([{path:"资源管理",buttons:["查询","新增","编辑","删除"]},{path:"资源管理/人员",buttons:["查询","新增","编辑","删除"]}]);const pt=S.ref([]);S.watch(()=>pt.value.length,()=>{var r;(r=kt.value)==null||r.setCheckedKeys([...pt.value])});S.watch(()=>$t.show,r=>{r||(ct.value=Rt(ct.value))});S.computed(()=>{var e;const r=(e=w.cloneDeep(Mt.value))==null?void 0:e.filter(i=>{var n,s;return((s=(n=i==null?void 0:i.key)==null?void 0:n.pageKey)==null?void 0:s.toUpperCase())!=="MENU"});return[...r==null?void 0:r.map(i=>{var h,o,a,f,l,c,g,v;const n=/button/i;let s=(a=(o=(h=i==null?void 0:i.value)==null?void 0:h.pageData)==null?void 0:o.compData)==null?void 0:a.filter(T=>n.test(T==null?void 0:T.key));return s=Array.from(new Set(s==null?void 0:s.flatMap(T=>T.contents.map(E=>E.label)))),{path:(l=(f=i==null?void 0:i.key)==null?void 0:f.pageKey)!=null&&l.startsWith("/")?(g=(c=i==null?void 0:i.key)==null?void 0:c.pageKey)==null?void 0:g.substring(1):(v=i==null?void 0:i.key)==null?void 0:v.pageKey,buttons:s}}),...Zt.value]});const Zt=S.ref([]);Ht.value;var Gt="0123456789abcdefghijklmnopqrstuvwxyz";function V(r){return Gt.charAt(r)}function Jt(r,t){return r&t}function G(r,t){return r|t}function gt(r,t){return r^t}function dt(r,t){return r&~t}function Yt(r){if(r==0)return-1;var t=0;return(r&65535)==0&&(r>>=16,t+=16),(r&255)==0&&(r>>=8,t+=8),(r&15)==0&&(r>>=4,t+=4),(r&3)==0&&(r>>=2,t+=2),(r&1)==0&&++t,t}function Wt(r){for(var t=0;r!=0;)r&=r-1,++t;return t}var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",At="=";function et(r){var t,e,i="";for(t=0;t+3<=r.length;t+=3)e=parseInt(r.substring(t,t+3),16),i+=k.charAt(e>>6)+k.charAt(e&63);for(t+1==r.length?(e=parseInt(r.substring(t,t+1),16),i+=k.charAt(e<<2)):t+2==r.length&&(e=parseInt(r.substring(t,t+2),16),i+=k.charAt(e>>2)+k.charAt((e&3)<<4));(i.length&3)>0;)i+=At;return i}function vt(r){var t="",e,i=0,n=0;for(e=0;e<r.length&&r.charAt(e)!=At;++e){var s=k.indexOf(r.charAt(e));s<0||(i==0?(t+=V(s>>2),n=s&3,i=1):i==1?(t+=V(n<<2|s>>4),n=s&15,i=2):i==2?(t+=V(n),t+=V(s>>2),n=s&3,i=3):(t+=V(n<<2|s>>4),t+=V(s&15),i=0))}return i==1&&(t+=V(n<<2)),t}var F,Xt={decode:function(r){var t;if(F===void 0){var e="0123456789ABCDEF",i=` \f
|
|
2
2
|
\r \u2028\u2029`;for(F={},t=0;t<16;++t)F[e.charAt(t)]=t;for(e=e.toLowerCase(),t=10;t<16;++t)F[e.charAt(t)]=t;for(t=0;t<i.length;++t)F[i.charAt(t)]=-1}var n=[],s=0,h=0;for(t=0;t<r.length;++t){var o=r.charAt(t);if(o=="=")break;if(o=F[o],o!=-1){if(o===void 0)throw new Error("Illegal character at offset "+t);s|=o,++h>=2?(n[n.length]=s,s=0,h=0):s<<=4}}if(h)throw new Error("Hex encoding incomplete: 4 bits missing");return n}},C,ht={decode:function(r){var t;if(C===void 0){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=`= \f
|
|
3
3
|
\r \u2028\u2029`;for(C=Object.create(null),t=0;t<64;++t)C[e.charAt(t)]=t;for(C["-"]=62,C._=63,t=0;t<i.length;++t)C[i.charAt(t)]=-1}var n=[],s=0,h=0;for(t=0;t<r.length;++t){var o=r.charAt(t);if(o=="=")break;if(o=C[o],o!=-1){if(o===void 0)throw new Error("Illegal character at offset "+t);s|=o,++h>=4?(n[n.length]=s>>16,n[n.length]=s>>8&255,n[n.length]=s&255,s=0,h=0):s<<=6}}switch(h){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:n[n.length]=s>>10;break;case 3:n[n.length]=s>>16,n[n.length]=s>>8&255;break}return n},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(r){var t=ht.re.exec(r);if(t)if(t[1])r=t[1];else if(t[2])r=t[2];else throw new Error("RegExp out of sync");return ht.decode(r)}},_=1e13,z=function(){function r(t){this.buf=[+t||0]}return r.prototype.mulAdd=function(t,e){var i=this.buf,n=i.length,s,h;for(s=0;s<n;++s)h=i[s]*t+e,h<_?e=0:(e=0|h/_,h-=e*_),i[s]=h;e>0&&(i[s]=e)},r.prototype.sub=function(t){var e=this.buf,i=e.length,n,s;for(n=0;n<i;++n)s=e[n]-t,s<0?(s+=_,t=1):t=0,e[n]=s;for(;e[e.length-1]===0;)e.pop()},r.prototype.toString=function(t){if((t||10)!=10)throw new Error("only base 10 is supported");for(var e=this.buf,i=e[e.length-1].toString(),n=e.length-2;n>=0;--n)i+=(_+e[n]).toString().substring(1);return i},r.prototype.valueOf=function(){for(var t=this.buf,e=0,i=t.length-1;i>=0;--i)e=e*_+t[i];return e},r.prototype.simplify=function(){var t=this.buf;return t.length==1?t[0]:this},r}(),Bt="…",Qt=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,te=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function U(r,t){return r.length>t&&(r=r.substring(0,t)+Bt),r}var nt=function(){function r(t,e){this.hexDigits="0123456789ABCDEF",t instanceof r?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=e)}return r.prototype.get=function(t){if(t===void 0&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset ".concat(t," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(t):this.enc[t]},r.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(t&15)},r.prototype.hexDump=function(t,e,i){for(var n="",s=t;s<e;++s)if(n+=this.hexByte(this.get(s)),i!==!0)switch(s&15){case 7:n+=" ";break;case 15:n+=`
|
|
4
4
|
`;break;default:n+=" "}return n},r.prototype.isASCII=function(t,e){for(var i=t;i<e;++i){var n=this.get(i);if(n<32||n>176)return!1}return!0},r.prototype.parseStringISO=function(t,e){for(var i="",n=t;n<e;++n)i+=String.fromCharCode(this.get(n));return i},r.prototype.parseStringUTF=function(t,e){for(var i="",n=t;n<e;){var s=this.get(n++);s<128?i+=String.fromCharCode(s):s>191&&s<224?i+=String.fromCharCode((s&31)<<6|this.get(n++)&63):i+=String.fromCharCode((s&15)<<12|(this.get(n++)&63)<<6|this.get(n++)&63)}return i},r.prototype.parseStringBMP=function(t,e){for(var i="",n,s,h=t;h<e;)n=this.get(h++),s=this.get(h++),i+=String.fromCharCode(n<<8|s);return i},r.prototype.parseTime=function(t,e,i){var n=this.parseStringISO(t,e),s=(i?Qt:te).exec(n);return s?(i&&(s[1]=+s[1],s[1]+=+s[1]<70?2e3:1900),n=s[1]+"-"+s[2]+"-"+s[3]+" "+s[4],s[5]&&(n+=":"+s[5],s[6]&&(n+=":"+s[6],s[7]&&(n+="."+s[7]))),s[8]&&(n+=" UTC",s[8]!="Z"&&(n+=s[8],s[9]&&(n+=":"+s[9]))),n):"Unrecognized time: "+n},r.prototype.parseInteger=function(t,e){for(var i=this.get(t),n=i>127,s=n?255:0,h,o="";i==s&&++t<e;)i=this.get(t);if(h=e-t,h===0)return n?-1:0;if(h>4){for(o=i,h<<=3;((+o^s)&128)==0;)o=+o<<1,--h;o="("+h+` bit)
|