ss-component-new 1.3.736 → 1.3.738
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/MTLLoader-BVktbBYH.js +657 -0
- package/dist/URDFLoader-DOfmRu4N.js +2299 -0
- package/dist/__vite-browser-external-DYxpcVy9.js +4 -0
- package/dist/animationData-DFwWrgvB.js +83 -0
- package/dist/array-BblFKp6J.js +1045 -0
- package/dist/clone-B58hfp9X.js +8 -0
- package/dist/config.js +1 -1
- package/dist/eleIcon-qStmsM1q.js +29 -0
- package/dist/fileUtil-UOt_otFo.js +20 -0
- package/dist/iconfont-kC8HZ4Ly.js +1030 -0
- package/dist/icons/svg/functionList.svg +1 -0
- package/dist/icons/svg/method.svg +1 -0
- package/dist/index-11kpzK0A.js +209 -0
- package/dist/index-5E79iwO0.js +83 -0
- package/dist/index-B1p0mv2e.js +201 -0
- package/dist/index-B4TcjId0.js +331 -0
- package/dist/index-B5ngelGR.js +20578 -0
- package/dist/index-BHtNKL1L.js +27 -0
- package/dist/index-BiiVP9UY.js +447 -0
- package/dist/index-BzB2Vn8c.js +93 -0
- package/dist/index-C-eAXBcR.js +78 -0
- package/dist/index-C5USB9qE.js +48 -0
- package/dist/index-C84z9NFx.js +30 -0
- package/dist/index-CDE3W8eV.js +103 -0
- package/dist/index-CK4tG84e.js +572 -0
- package/dist/index-CLm6QFZK.js +627 -0
- package/dist/index-CToBJlDQ.js +28500 -0
- package/dist/index-CV_jQDcg.js +9 -0
- package/dist/index-CWOXvFfD.js +44 -0
- package/dist/index-CXQiVSNJ.js +622 -0
- package/dist/{index-DyhB-cd1.js → index-ChNfRlIP.js} +18 -253
- package/dist/index-Cryd-gMS.js +62 -0
- package/dist/index-Cy0pOs1M.js +411 -0
- package/dist/index-DJJYgWGf.js +93 -0
- package/dist/index-DQsXaCwv.js +25341 -0
- package/dist/index-DUbk5m5P.js +99 -0
- package/dist/index-Dep-Vngh.js +1000 -0
- package/dist/index-Dgtvod-r.js +84 -0
- package/dist/index-Di9zYrW0.js +665 -0
- package/dist/index-DrKojU3W.js +470 -0
- package/dist/index-Q06_a3No.js +873 -0
- package/dist/index-XnbtYIMr.js +58 -0
- package/dist/index-YjBTGOkO.js +61 -0
- package/dist/index-fQsebbH3.js +107 -0
- package/dist/index-nOF50-Li.js +98 -0
- package/dist/index-rlStojTL.js +52 -0
- package/dist/index-uF-ibwG0.js +9 -0
- package/dist/index-wkaC1Dyn.js +119 -0
- package/dist/index-yOnrK71-.js +8994 -0
- package/dist/index-yRb0l-bC.js +63306 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-lORgn-P0.js +137927 -0
- package/dist/isString-0ZglyOfu.js +8 -0
- package/dist/localIcon-D5UoFBU5.js +76 -0
- package/dist/main-BeZonpqe.js +502 -0
- package/dist/menuIndex-Cv7pne94.js +159 -0
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/pyodide-Dc1Mu-0d.js +489 -0
- package/dist/request-1RPa2bBn.js +9048 -0
- package/dist/ss-component.css +8 -2
- package/dist/ss-component.js +64 -28
- package/dist/ss-component2.js +75 -15
- package/dist/ss-component3.js +1 -1
- package/dist/threeModel-BFDsEVGl.js +1109 -0
- package/dist/threePreview-CgmqKkIH.js +3091 -0
- package/dist/threeSceneView-BEZwdi1j.js +1290 -0
- package/dist/threeSceneViewForCPMPIP-CusZYRCU.js +539 -0
- package/dist/threeTrackPathView-CbhiJklA.js +620 -0
- package/dist/threeViewerHost-d0umFxXA.js +233 -0
- package/dist/urdfTree-Bko5D1KR.js +254 -0
- package/dist/workpieceTreePanel-DTgX-q2q.js +559 -0
- package/package.json +8 -11
- package/public/config.js +1 -1
- package/public/icons/svg/functionList.svg +1 -0
- package/public/icons/svg/method.svg +1 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-8KTFGqOM.js +0 -25
- package/dist/index-A8OE-eSF.js +0 -29
- package/dist/index-B2xkIV6C.js +0 -25
- package/dist/index-B3v82KuY.js +0 -1044
- package/dist/index-BeE5LpiD.js +0 -50679
- package/dist/index-C0HH0uAE.js +0 -188
- package/dist/index-C0U2Epeo.js +0 -25
- package/dist/index-C8GSZPvd.js +0 -4
- package/dist/index-CA0CoKiz.js +0 -25
- package/dist/index-CHjBtkir.js +0 -4
- package/dist/index-CJP9hdx4.js +0 -53
- package/dist/index-COeMUCuq.js +0 -213
- package/dist/index-COxVr3MC.js +0 -4
- package/dist/index-CXoQiaXz.js +0 -27
- package/dist/index-CdanNGTM.js +0 -4
- package/dist/index-CfwzR4gE.js +0 -469
- package/dist/index-CoEteqj_.js +0 -4
- package/dist/index-Cqt27z96.js +0 -23
- package/dist/index-Cqyl2URI.js +0 -32
- package/dist/index-CuIbbhNo.js +0 -25
- package/dist/index-D1WMhpsE.js +0 -26
- package/dist/index-D3G5ymZc.js +0 -4
- package/dist/index-D5oMkTBW.js +0 -35
- package/dist/index-D7CiXPV2.js +0 -634
- package/dist/index-DGogREB4.js +0 -26
- package/dist/index-DRqX_bCT.js +0 -4
- package/dist/index-DbUt70zC.js +0 -50
- package/dist/index-DnLZtsZU.js +0 -4
- package/dist/index-IoMa0kLh.js +0 -27
- package/dist/index-JkTP1vyC.js +0 -4
- package/dist/index-LuY_QZlf.js +0 -181
- package/dist/index-boICNvPL.js +0 -4
- package/dist/index-uriwf_fo.js +0 -4
- package/dist/index.vue_vue_type_script_setup_true_lang-B-JCE78v.js +0 -21
- package/dist/index.vue_vue_type_script_setup_true_lang-BSZB17y-.js +0 -42
- package/dist/index.vue_vue_type_script_setup_true_lang-Brir5Bym.js +0 -41
- package/dist/index.vue_vue_type_script_setup_true_lang-BrnE_n0l.js +0 -25
- package/dist/index.vue_vue_type_script_setup_true_lang-C7BgxSz4.js +0 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-CARZt7yC.js +0 -25
- package/dist/index.vue_vue_type_script_setup_true_lang-CVALRKBG.js +0 -48
- package/dist/index.vue_vue_type_script_setup_true_lang-CsThRoDZ.js +0 -28
- package/dist/index.vue_vue_type_script_setup_true_lang-CuwhbWHH.js +0 -39
- package/dist/index.vue_vue_type_script_setup_true_lang-DAb-qhJ1.js +0 -40
- package/dist/index.vue_vue_type_script_setup_true_lang-DimtrEJj.js +0 -26
- package/dist/menu-ClNHLze7.js +0 -5208
- package/dist/platform-CPTootse.js +0 -11429
- /package/dist/icons/svg/{update.svg → Update.svg} +0 -0
- /package/dist/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/dist/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
- /package/public/icons/svg/{update.svg → Update.svg} +0 -0
- /package/public/icons/svg/{table-close.svg → tableClose.svg} +0 -0
- /package/public/icons/svg/{table-expand.svg → tableExpand.svg} +0 -0
package/dist/index-D7CiXPV2.js
DELETED
|
@@ -1,634 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, createBlock as _, openBlock as i, resolveDynamicComponent as w, normalizeProps as E, guardReactiveProps as b, withCtx as l, renderSlot as r, resolveComponent as v, computed as k, mergeProps as h, createSlots as g, ref as C, watch as A, createElementBlock as x, createCommentVNode as T, createVNode as N, Fragment as P, renderList as R } from "vue";
|
|
2
|
-
import { _ as D } from "./index.vue_vue_type_script_setup_true_lang-BrnE_n0l.js";
|
|
3
|
-
import { _ as L } from "./index.vue_vue_type_script_setup_true_lang-B-JCE78v.js";
|
|
4
|
-
import { _ as S } from "./index.vue_vue_type_script_setup_true_lang-CuwhbWHH.js";
|
|
5
|
-
import { _ as B } from "./index.vue_vue_type_script_setup_true_lang-CVALRKBG.js";
|
|
6
|
-
import { _ as I } from "./index.vue_vue_type_script_setup_true_lang-DimtrEJj.js";
|
|
7
|
-
import { _ as X } from "./index.vue_vue_type_script_setup_true_lang-CARZt7yC.js";
|
|
8
|
-
import { g as G } from "./index-BeE5LpiD.js";
|
|
9
|
-
const H = /* @__PURE__ */ $({
|
|
10
|
-
__name: "index",
|
|
11
|
-
props: {
|
|
12
|
-
componentName: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: ""
|
|
15
|
-
},
|
|
16
|
-
extra: {
|
|
17
|
-
type: Object,
|
|
18
|
-
default: () => ({})
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(s) {
|
|
22
|
-
const d = s;
|
|
23
|
-
return (t, n) => (i(), _(w(d.componentName), E(b(d.extra)), {
|
|
24
|
-
default: l(() => [
|
|
25
|
-
r(t.$slots, "default")
|
|
26
|
-
]),
|
|
27
|
-
_: 3
|
|
28
|
-
}, 16));
|
|
29
|
-
}
|
|
30
|
-
}), F = /* @__PURE__ */ $({
|
|
31
|
-
__name: "index",
|
|
32
|
-
props: {
|
|
33
|
-
extra: {
|
|
34
|
-
type: Object,
|
|
35
|
-
default: () => ({})
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
setup(s) {
|
|
39
|
-
const d = s;
|
|
40
|
-
return (t, n) => {
|
|
41
|
-
const o = v("n-menu");
|
|
42
|
-
return i(), _(o, E(b(d.extra)), {
|
|
43
|
-
default: l(() => [
|
|
44
|
-
r(t.$slots, "default")
|
|
45
|
-
]),
|
|
46
|
-
_: 3
|
|
47
|
-
}, 16);
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
}), K = /* @__PURE__ */ $({
|
|
51
|
-
__name: "index",
|
|
52
|
-
props: {
|
|
53
|
-
extra: {
|
|
54
|
-
type: Object,
|
|
55
|
-
default: () => ({})
|
|
56
|
-
},
|
|
57
|
-
modelValue: {
|
|
58
|
-
default: void 0
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
emits: ["update:modelValue", "change"],
|
|
62
|
-
setup(s, { emit: d }) {
|
|
63
|
-
const t = s, n = d, o = k({
|
|
64
|
-
get: () => t.modelValue,
|
|
65
|
-
set: (e) => {
|
|
66
|
-
n("update:modelValue", e), n("change", e);
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
return (e, a) => {
|
|
70
|
-
const c = v("n-cascader");
|
|
71
|
-
return i(), _(c, h(t.extra, {
|
|
72
|
-
value: o.value,
|
|
73
|
-
"onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
|
|
74
|
-
}), g({ _: 2 }, [
|
|
75
|
-
e.$slots.default ? {
|
|
76
|
-
name: "default",
|
|
77
|
-
fn: l(() => [
|
|
78
|
-
r(e.$slots, "default")
|
|
79
|
-
]),
|
|
80
|
-
key: "0"
|
|
81
|
-
} : void 0,
|
|
82
|
-
e.$slots.action ? {
|
|
83
|
-
name: "action",
|
|
84
|
-
fn: l(() => [
|
|
85
|
-
r(e.$slots, "action")
|
|
86
|
-
]),
|
|
87
|
-
key: "1"
|
|
88
|
-
} : void 0,
|
|
89
|
-
e.$slots.arrow ? {
|
|
90
|
-
name: "arrow",
|
|
91
|
-
fn: l(() => [
|
|
92
|
-
r(e.$slots, "arrow")
|
|
93
|
-
]),
|
|
94
|
-
key: "2"
|
|
95
|
-
} : void 0,
|
|
96
|
-
e.$slots.empty ? {
|
|
97
|
-
name: "empty",
|
|
98
|
-
fn: l(() => [
|
|
99
|
-
r(e.$slots, "empty")
|
|
100
|
-
]),
|
|
101
|
-
key: "3"
|
|
102
|
-
} : void 0,
|
|
103
|
-
e.$slots["not-found"] ? {
|
|
104
|
-
name: "not-found",
|
|
105
|
-
fn: l(() => [
|
|
106
|
-
r(e.$slots, "not-found")
|
|
107
|
-
]),
|
|
108
|
-
key: "4"
|
|
109
|
-
} : void 0
|
|
110
|
-
]), 1040, ["value"]);
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
}), M = /* @__PURE__ */ $({
|
|
114
|
-
__name: "index",
|
|
115
|
-
props: {
|
|
116
|
-
extra: {
|
|
117
|
-
type: Object,
|
|
118
|
-
default: () => ({})
|
|
119
|
-
},
|
|
120
|
-
modelValue: {
|
|
121
|
-
default: void 0
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
emits: ["update:modelValue", "change"],
|
|
125
|
-
setup(s, { emit: d }) {
|
|
126
|
-
const t = s, n = d, o = k({
|
|
127
|
-
get: () => t.modelValue,
|
|
128
|
-
set: (e) => {
|
|
129
|
-
n("update:modelValue", e), n("change", e);
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
return (e, a) => {
|
|
133
|
-
const c = v("n-checkbox");
|
|
134
|
-
return i(), _(c, h(t.extra, {
|
|
135
|
-
checked: o.value,
|
|
136
|
-
"onUpdate:checked": a[0] || (a[0] = (u) => o.value = u)
|
|
137
|
-
}), g({ _: 2 }, [
|
|
138
|
-
e.$slots.default ? {
|
|
139
|
-
name: "default",
|
|
140
|
-
fn: l(() => [
|
|
141
|
-
r(e.$slots, "default")
|
|
142
|
-
]),
|
|
143
|
-
key: "0"
|
|
144
|
-
} : void 0
|
|
145
|
-
]), 1040, ["checked"]);
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
}), W = /* @__PURE__ */ $({
|
|
149
|
-
__name: "index",
|
|
150
|
-
props: {
|
|
151
|
-
extra: {
|
|
152
|
-
type: Object,
|
|
153
|
-
default: () => ({})
|
|
154
|
-
},
|
|
155
|
-
modelValue: {
|
|
156
|
-
default: void 0
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
emits: ["update:modelValue", "change"],
|
|
160
|
-
setup(s, { emit: d }) {
|
|
161
|
-
const t = s, n = d, o = k({
|
|
162
|
-
get: () => t.modelValue,
|
|
163
|
-
set: (e) => {
|
|
164
|
-
n("update:modelValue", e), n("change", e);
|
|
165
|
-
}
|
|
166
|
-
});
|
|
167
|
-
return (e, a) => {
|
|
168
|
-
const c = v("n-checkbox-group");
|
|
169
|
-
return i(), _(c, h(t.extra, {
|
|
170
|
-
value: o.value,
|
|
171
|
-
"onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
|
|
172
|
-
}), {
|
|
173
|
-
default: l(() => [
|
|
174
|
-
r(e.$slots, "default")
|
|
175
|
-
]),
|
|
176
|
-
_: 3
|
|
177
|
-
}, 16, ["value"]);
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
}), z = /* @__PURE__ */ $({
|
|
181
|
-
__name: "index",
|
|
182
|
-
props: {
|
|
183
|
-
extra: {
|
|
184
|
-
type: Object,
|
|
185
|
-
default: () => ({})
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
setup(s) {
|
|
189
|
-
const d = s;
|
|
190
|
-
return (t, n) => {
|
|
191
|
-
const o = v("n-dropdown");
|
|
192
|
-
return i(), _(o, E(b(d.extra)), g({ _: 2 }, [
|
|
193
|
-
t.$slots.default ? {
|
|
194
|
-
name: "default",
|
|
195
|
-
fn: l(() => [
|
|
196
|
-
r(t.$slots, "default")
|
|
197
|
-
]),
|
|
198
|
-
key: "0"
|
|
199
|
-
} : void 0
|
|
200
|
-
]), 1040);
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
}), Y = /* @__PURE__ */ $({
|
|
204
|
-
__name: "index",
|
|
205
|
-
props: {
|
|
206
|
-
extra: {
|
|
207
|
-
type: Object,
|
|
208
|
-
default: () => ({})
|
|
209
|
-
},
|
|
210
|
-
modelValue: {
|
|
211
|
-
default: void 0
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
emits: ["update:modelValue", "change"],
|
|
215
|
-
setup(s, { emit: d }) {
|
|
216
|
-
const t = s, n = d, o = k({
|
|
217
|
-
get: () => t.modelValue,
|
|
218
|
-
set: (e) => {
|
|
219
|
-
n("update:modelValue", e), n("change", e);
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
return (e, a) => {
|
|
223
|
-
const c = v("n-radio");
|
|
224
|
-
return i(), _(c, h(t.extra, {
|
|
225
|
-
checked: o.value,
|
|
226
|
-
"onUpdate:checked": a[0] || (a[0] = (u) => o.value = u)
|
|
227
|
-
}), g({ _: 2 }, [
|
|
228
|
-
e.$slots.default ? {
|
|
229
|
-
name: "default",
|
|
230
|
-
fn: l(() => [
|
|
231
|
-
r(e.$slots, "default")
|
|
232
|
-
]),
|
|
233
|
-
key: "0"
|
|
234
|
-
} : void 0
|
|
235
|
-
]), 1040, ["checked"]);
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
}), q = /* @__PURE__ */ $({
|
|
239
|
-
__name: "index",
|
|
240
|
-
props: {
|
|
241
|
-
extra: {
|
|
242
|
-
type: Object,
|
|
243
|
-
default: () => ({})
|
|
244
|
-
},
|
|
245
|
-
modelValue: {
|
|
246
|
-
default: void 0
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
emits: ["update:modelValue", "change"],
|
|
250
|
-
setup(s, { emit: d }) {
|
|
251
|
-
const t = s, n = d, o = k({
|
|
252
|
-
get: () => t.modelValue,
|
|
253
|
-
set: (e) => {
|
|
254
|
-
n("update:modelValue", e), n("change", e);
|
|
255
|
-
}
|
|
256
|
-
});
|
|
257
|
-
return (e, a) => {
|
|
258
|
-
const c = v("n-radio-group");
|
|
259
|
-
return i(), _(c, h(t.extra, {
|
|
260
|
-
value: o.value,
|
|
261
|
-
"onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
|
|
262
|
-
}), {
|
|
263
|
-
default: l(() => [
|
|
264
|
-
r(e.$slots, "default")
|
|
265
|
-
]),
|
|
266
|
-
_: 3
|
|
267
|
-
}, 16, ["value"]);
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
}), J = /* @__PURE__ */ $({
|
|
271
|
-
__name: "index",
|
|
272
|
-
props: {
|
|
273
|
-
extra: {
|
|
274
|
-
type: Object,
|
|
275
|
-
default: () => ({})
|
|
276
|
-
},
|
|
277
|
-
modelValue: {
|
|
278
|
-
default: void 0
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
emits: ["update:modelValue", "change"],
|
|
282
|
-
setup(s, { emit: d }) {
|
|
283
|
-
const t = s, n = d, o = k({
|
|
284
|
-
get: () => t.modelValue,
|
|
285
|
-
set: (e) => {
|
|
286
|
-
n("update:modelValue", e), n("change", e);
|
|
287
|
-
}
|
|
288
|
-
});
|
|
289
|
-
return (e, a) => {
|
|
290
|
-
const c = v("n-select");
|
|
291
|
-
return i(), _(c, h(t.extra, {
|
|
292
|
-
value: o.value,
|
|
293
|
-
"onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
|
|
294
|
-
}), g({ _: 2 }, [
|
|
295
|
-
e.$slots.default ? {
|
|
296
|
-
name: "default",
|
|
297
|
-
fn: l(() => [
|
|
298
|
-
r(e.$slots, "default")
|
|
299
|
-
]),
|
|
300
|
-
key: "0"
|
|
301
|
-
} : void 0,
|
|
302
|
-
e.$slots.action ? {
|
|
303
|
-
name: "action",
|
|
304
|
-
fn: l(() => [
|
|
305
|
-
r(e.$slots, "action")
|
|
306
|
-
]),
|
|
307
|
-
key: "1"
|
|
308
|
-
} : void 0,
|
|
309
|
-
e.$slots.arrow ? {
|
|
310
|
-
name: "arrow",
|
|
311
|
-
fn: l(() => [
|
|
312
|
-
r(e.$slots, "arrow")
|
|
313
|
-
]),
|
|
314
|
-
key: "2"
|
|
315
|
-
} : void 0,
|
|
316
|
-
e.$slots.empty ? {
|
|
317
|
-
name: "empty",
|
|
318
|
-
fn: l(() => [
|
|
319
|
-
r(e.$slots, "empty")
|
|
320
|
-
]),
|
|
321
|
-
key: "3"
|
|
322
|
-
} : void 0,
|
|
323
|
-
e.$slots.header ? {
|
|
324
|
-
name: "header",
|
|
325
|
-
fn: l(() => [
|
|
326
|
-
r(e.$slots, "header")
|
|
327
|
-
]),
|
|
328
|
-
key: "4"
|
|
329
|
-
} : void 0
|
|
330
|
-
]), 1040, ["value"]);
|
|
331
|
-
};
|
|
332
|
-
}
|
|
333
|
-
}), Q = /* @__PURE__ */ $({
|
|
334
|
-
__name: "index",
|
|
335
|
-
props: {
|
|
336
|
-
extra: {
|
|
337
|
-
type: Object,
|
|
338
|
-
default: () => ({})
|
|
339
|
-
},
|
|
340
|
-
modelValue: {
|
|
341
|
-
default: void 0
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
emits: ["update:modelValue", "change"],
|
|
345
|
-
setup(s, { emit: d }) {
|
|
346
|
-
const t = s, n = d, o = k({
|
|
347
|
-
get: () => t.modelValue,
|
|
348
|
-
set: (e) => {
|
|
349
|
-
n("update:modelValue", e), n("change", e);
|
|
350
|
-
}
|
|
351
|
-
});
|
|
352
|
-
return (e, a) => {
|
|
353
|
-
const c = v("n-switch");
|
|
354
|
-
return i(), _(c, h(t.extra, {
|
|
355
|
-
value: o.value,
|
|
356
|
-
"onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
|
|
357
|
-
}), g({ _: 2 }, [
|
|
358
|
-
e.$slots.checked ? {
|
|
359
|
-
name: "checked",
|
|
360
|
-
fn: l(() => [
|
|
361
|
-
r(e.$slots, "checked")
|
|
362
|
-
]),
|
|
363
|
-
key: "0"
|
|
364
|
-
} : void 0,
|
|
365
|
-
e.$slots["checked-icon"] ? {
|
|
366
|
-
name: "checked-icon",
|
|
367
|
-
fn: l(() => [
|
|
368
|
-
r(e.$slots, "checked-icon")
|
|
369
|
-
]),
|
|
370
|
-
key: "1"
|
|
371
|
-
} : void 0,
|
|
372
|
-
e.$slots.icon ? {
|
|
373
|
-
name: "icon",
|
|
374
|
-
fn: l(() => [
|
|
375
|
-
r(e.$slots, "icon")
|
|
376
|
-
]),
|
|
377
|
-
key: "2"
|
|
378
|
-
} : void 0,
|
|
379
|
-
e.$slots.unchecked ? {
|
|
380
|
-
name: "unchecked",
|
|
381
|
-
fn: l(() => [
|
|
382
|
-
r(e.$slots, "unchecked")
|
|
383
|
-
]),
|
|
384
|
-
key: "3"
|
|
385
|
-
} : void 0,
|
|
386
|
-
e.$slots["unchecked-icon"] ? {
|
|
387
|
-
name: "unchecked-icon",
|
|
388
|
-
fn: l(() => [
|
|
389
|
-
r(e.$slots, "unchecked-icon")
|
|
390
|
-
]),
|
|
391
|
-
key: "4"
|
|
392
|
-
} : void 0
|
|
393
|
-
]), 1040, ["value"]);
|
|
394
|
-
};
|
|
395
|
-
}
|
|
396
|
-
}), Z = /* @__PURE__ */ $({
|
|
397
|
-
__name: "index",
|
|
398
|
-
props: {
|
|
399
|
-
extra: {
|
|
400
|
-
type: Object,
|
|
401
|
-
default: () => ({})
|
|
402
|
-
},
|
|
403
|
-
modelValue: {
|
|
404
|
-
default: void 0
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
emits: ["update:modelValue", "change"],
|
|
408
|
-
setup(s, { emit: d }) {
|
|
409
|
-
const t = s, n = d, o = k({
|
|
410
|
-
get: () => t.modelValue,
|
|
411
|
-
set: (e) => {
|
|
412
|
-
n("update:modelValue", e), n("change", e);
|
|
413
|
-
}
|
|
414
|
-
});
|
|
415
|
-
return (e, a) => {
|
|
416
|
-
const c = v("n-input");
|
|
417
|
-
return i(), _(c, h(t.extra, {
|
|
418
|
-
value: o.value,
|
|
419
|
-
"onUpdate:value": a[0] || (a[0] = (u) => o.value = u),
|
|
420
|
-
type: "textarea"
|
|
421
|
-
}), g({ _: 2 }, [
|
|
422
|
-
e.$slots.prefix ? {
|
|
423
|
-
name: "prefix",
|
|
424
|
-
fn: l(() => [
|
|
425
|
-
r(e.$slots, "prefix")
|
|
426
|
-
]),
|
|
427
|
-
key: "0"
|
|
428
|
-
} : void 0,
|
|
429
|
-
e.$slots.suffix ? {
|
|
430
|
-
name: "suffix",
|
|
431
|
-
fn: l(() => [
|
|
432
|
-
r(e.$slots, "suffix")
|
|
433
|
-
]),
|
|
434
|
-
key: "1"
|
|
435
|
-
} : void 0
|
|
436
|
-
]), 1040, ["value"]);
|
|
437
|
-
};
|
|
438
|
-
}
|
|
439
|
-
}), ee = /* @__PURE__ */ $({
|
|
440
|
-
__name: "index",
|
|
441
|
-
props: {
|
|
442
|
-
extra: {
|
|
443
|
-
type: Object,
|
|
444
|
-
default: () => ({})
|
|
445
|
-
},
|
|
446
|
-
modelValue: {
|
|
447
|
-
default: void 0
|
|
448
|
-
}
|
|
449
|
-
},
|
|
450
|
-
emits: ["update:modelValue", "change"],
|
|
451
|
-
setup(s, { emit: d }) {
|
|
452
|
-
const t = s, n = d, o = k({
|
|
453
|
-
get: () => t.modelValue,
|
|
454
|
-
set: (e) => {
|
|
455
|
-
n("update:modelValue", e), n("change", e);
|
|
456
|
-
}
|
|
457
|
-
});
|
|
458
|
-
return (e, a) => {
|
|
459
|
-
const c = v("n-tree-select");
|
|
460
|
-
return i(), _(c, h(t.extra, {
|
|
461
|
-
value: o.value,
|
|
462
|
-
"onUpdate:value": a[0] || (a[0] = (u) => o.value = u)
|
|
463
|
-
}), g({ _: 2 }, [
|
|
464
|
-
e.$slots.action ? {
|
|
465
|
-
name: "action",
|
|
466
|
-
fn: l(() => [
|
|
467
|
-
r(e.$slots, "action")
|
|
468
|
-
]),
|
|
469
|
-
key: "0"
|
|
470
|
-
} : void 0,
|
|
471
|
-
e.$slots.arrow ? {
|
|
472
|
-
name: "arrow",
|
|
473
|
-
fn: l(() => [
|
|
474
|
-
r(e.$slots, "arrow")
|
|
475
|
-
]),
|
|
476
|
-
key: "1"
|
|
477
|
-
} : void 0,
|
|
478
|
-
e.$slots.empty ? {
|
|
479
|
-
name: "empty",
|
|
480
|
-
fn: l(() => [
|
|
481
|
-
r(e.$slots, "empty")
|
|
482
|
-
]),
|
|
483
|
-
key: "2"
|
|
484
|
-
} : void 0,
|
|
485
|
-
e.$slots.header ? {
|
|
486
|
-
name: "header",
|
|
487
|
-
fn: l(() => [
|
|
488
|
-
r(e.$slots, "header")
|
|
489
|
-
]),
|
|
490
|
-
key: "3"
|
|
491
|
-
} : void 0
|
|
492
|
-
]), 1040, ["value"]);
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
}), oe = /* @__PURE__ */ $({
|
|
496
|
-
__name: "index",
|
|
497
|
-
props: {
|
|
498
|
-
extra: {
|
|
499
|
-
type: Object,
|
|
500
|
-
default: () => ({})
|
|
501
|
-
},
|
|
502
|
-
modelValue: {
|
|
503
|
-
default: void 0
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
emits: ["update:modelValue", "change"],
|
|
507
|
-
setup(s, { emit: d }) {
|
|
508
|
-
const t = s, n = d, o = k({
|
|
509
|
-
get: () => t.modelValue,
|
|
510
|
-
set: (e) => {
|
|
511
|
-
n("update:modelValue", e), n("change", e);
|
|
512
|
-
}
|
|
513
|
-
});
|
|
514
|
-
return (e, a) => {
|
|
515
|
-
const c = v("n-upload");
|
|
516
|
-
return i(), _(c, h(t.extra, {
|
|
517
|
-
"file-list": o.value,
|
|
518
|
-
"onUpdate:fileList": a[0] || (a[0] = (u) => o.value = u)
|
|
519
|
-
}), g({ _: 2 }, [
|
|
520
|
-
e.$slots.default ? {
|
|
521
|
-
name: "default",
|
|
522
|
-
fn: l((u) => [
|
|
523
|
-
r(e.$slots, "default", E(b(u)))
|
|
524
|
-
]),
|
|
525
|
-
key: "0"
|
|
526
|
-
} : void 0
|
|
527
|
-
]), 1040, ["file-list"]);
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
}), te = {
|
|
531
|
-
BUTTON: S,
|
|
532
|
-
CASCADER: K,
|
|
533
|
-
CHECKBOX: M,
|
|
534
|
-
CHECKBOXGROUP: W,
|
|
535
|
-
DROPDOWN: z,
|
|
536
|
-
FLEX: D,
|
|
537
|
-
INPUT: B,
|
|
538
|
-
LAYOUT: H,
|
|
539
|
-
MENU: F,
|
|
540
|
-
PAGINATION: L,
|
|
541
|
-
RADIO: Y,
|
|
542
|
-
RADIOGROUP: q,
|
|
543
|
-
SELECT: J,
|
|
544
|
-
SWITCH: Q,
|
|
545
|
-
TAG: I,
|
|
546
|
-
TEXT: X,
|
|
547
|
-
TEXTAREA: Z,
|
|
548
|
-
TREESELECT: ee,
|
|
549
|
-
UPLOAD: oe
|
|
550
|
-
};
|
|
551
|
-
function ne(s) {
|
|
552
|
-
return te[s == null ? void 0 : s.toUpperCase()] || null;
|
|
553
|
-
}
|
|
554
|
-
const ae = { key: 0 }, fe = /* @__PURE__ */ $({
|
|
555
|
-
__name: "index",
|
|
556
|
-
props: {
|
|
557
|
-
extra: {
|
|
558
|
-
type: Object,
|
|
559
|
-
default: () => ({})
|
|
560
|
-
},
|
|
561
|
-
formElements: {
|
|
562
|
-
type: Object,
|
|
563
|
-
default: () => ({})
|
|
564
|
-
},
|
|
565
|
-
componentElement: {
|
|
566
|
-
type: Object,
|
|
567
|
-
default: () => ({})
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
setup(s) {
|
|
571
|
-
const d = (m) => {
|
|
572
|
-
if (Array.isArray(m))
|
|
573
|
-
return m.flatMap((p) => Array.isArray(p == null ? void 0 : p.filter) ? p.filter : p).find((p) => {
|
|
574
|
-
var y;
|
|
575
|
-
return ((y = p == null ? void 0 : p.lib) == null ? void 0 : y.trim().toLowerCase()) === "naive";
|
|
576
|
-
});
|
|
577
|
-
}, t = (m) => {
|
|
578
|
-
var p;
|
|
579
|
-
return ((p = d(m)) == null ? void 0 : p.elementProp) ?? {};
|
|
580
|
-
}, n = (m, p) => {
|
|
581
|
-
var V;
|
|
582
|
-
const y = ((V = d(m)) == null ? void 0 : V.elementComponent) || p;
|
|
583
|
-
return y == null ? void 0 : y.replace(/^n-/i, "");
|
|
584
|
-
}, o = s, e = C([]), a = C({}), c = (m) => ne(m), u = (m) => {
|
|
585
|
-
var p;
|
|
586
|
-
return {
|
|
587
|
-
...(p = m == null ? void 0 : m.options) != null && p.length ? { options: m.options } : {},
|
|
588
|
-
...t(m == null ? void 0 : m.extraProps)
|
|
589
|
-
};
|
|
590
|
-
};
|
|
591
|
-
return A(
|
|
592
|
-
() => [o == null ? void 0 : o.formElements, o == null ? void 0 : o.componentElement],
|
|
593
|
-
() => {
|
|
594
|
-
var y, V;
|
|
595
|
-
let m = {};
|
|
596
|
-
const p = Array.isArray((y = o == null ? void 0 : o.formElements) == null ? void 0 : y.rowElements) ? o.formElements : G(o == null ? void 0 : o.componentElement);
|
|
597
|
-
e.value = (p == null ? void 0 : p.rowElements) ?? [], (V = e.value) == null || V.forEach((O) => {
|
|
598
|
-
m[O.prop] = O.value;
|
|
599
|
-
}), a.value = m;
|
|
600
|
-
},
|
|
601
|
-
{ immediate: !0 }
|
|
602
|
-
), (m, p) => {
|
|
603
|
-
var O;
|
|
604
|
-
const y = v("n-form-item"), V = v("n-form");
|
|
605
|
-
return ((O = e.value) == null ? void 0 : O.length) > 0 ? (i(), x("div", ae, [
|
|
606
|
-
N(V, h({
|
|
607
|
-
ref: "formRef",
|
|
608
|
-
model: a.value
|
|
609
|
-
}, o.extra), {
|
|
610
|
-
default: l(() => [
|
|
611
|
-
(i(!0), x(P, null, R(e.value, (f, U) => (i(), _(y, {
|
|
612
|
-
key: U,
|
|
613
|
-
label: f == null ? void 0 : f.prop,
|
|
614
|
-
span: 24 / (f == null ? void 0 : f.width)
|
|
615
|
-
}, {
|
|
616
|
-
default: l(() => [
|
|
617
|
-
(i(), _(w(c(n(f == null ? void 0 : f.extraProps, f == null ? void 0 : f.type))), {
|
|
618
|
-
modelValue: a.value[f == null ? void 0 : f.prop],
|
|
619
|
-
"onUpdate:modelValue": (j) => a.value[f == null ? void 0 : f.prop] = j,
|
|
620
|
-
extra: u(f)
|
|
621
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "extra"]))
|
|
622
|
-
]),
|
|
623
|
-
_: 2
|
|
624
|
-
}, 1032, ["label", "span"]))), 128))
|
|
625
|
-
]),
|
|
626
|
-
_: 1
|
|
627
|
-
}, 16, ["model"])
|
|
628
|
-
])) : T("", !0);
|
|
629
|
-
};
|
|
630
|
-
}
|
|
631
|
-
});
|
|
632
|
-
export {
|
|
633
|
-
fe as default
|
|
634
|
-
};
|
package/dist/index-DGogREB4.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, resolveComponent as a, createBlock as p, openBlock as s, normalizeProps as c, guardReactiveProps as l, withCtx as d, renderSlot as m } from "vue";
|
|
2
|
-
const f = /* @__PURE__ */ r({
|
|
3
|
-
__name: "index",
|
|
4
|
-
props: {
|
|
5
|
-
extra: {
|
|
6
|
-
type: Object,
|
|
7
|
-
default: () => {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
setup(e) {
|
|
12
|
-
const o = e;
|
|
13
|
-
return (t, _) => {
|
|
14
|
-
const n = a("n-modal");
|
|
15
|
-
return s(), p(n, c(l(o.extra)), {
|
|
16
|
-
default: d(() => [
|
|
17
|
-
m(t.$slots, "default")
|
|
18
|
-
]),
|
|
19
|
-
_: 3
|
|
20
|
-
}, 16);
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
export {
|
|
25
|
-
f as default
|
|
26
|
-
};
|
package/dist/index-DRqX_bCT.js
DELETED
package/dist/index-DbUt70zC.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { e as w, h as N, u as S, E as b, i as v } from "./platform-CPTootse.js";
|
|
2
|
-
import { p as h, s as A } from "./menu-ClNHLze7.js";
|
|
3
|
-
const y = S(h), { isDefaultModel: M } = N(), P = async (m, s) => {
|
|
4
|
-
var u, o, r, i, a, d, g, p, f;
|
|
5
|
-
let t = Object.values(m), e = await w({
|
|
6
|
-
userName: (u = t == null ? void 0 : t[0]) == null ? void 0 : u.trim(),
|
|
7
|
-
password: (o = t == null ? void 0 : t[1]) == null ? void 0 : o.trim()
|
|
8
|
-
});
|
|
9
|
-
if (((r = e == null ? void 0 : e.data) == null ? void 0 : r.status) === 200 && ((a = (i = e == null ? void 0 : e.data) == null ? void 0 : i.result) == null ? void 0 : a.length) > 0) {
|
|
10
|
-
const n = ((g = (d = e == null ? void 0 : e.data) == null ? void 0 : d.result) == null ? void 0 : g.find((q) => M(q))) || ((f = (p = e == null ? void 0 : e.data) == null ? void 0 : p.result) == null ? void 0 : f[0]);
|
|
11
|
-
sessionStorage.setItem("systemKey", s && s !== "" ? s : n == null ? void 0 : n.id);
|
|
12
|
-
let c = n;
|
|
13
|
-
return c.plat_id = c.id ?? s, y.setLoginUserInfo(c), y.setSystemKey(s && s !== "" ? s : n == null ? void 0 : n.id), !0;
|
|
14
|
-
} else
|
|
15
|
-
return b.error("输入的密码错误,请重新输入"), !1;
|
|
16
|
-
}, L = S(h), { systemInfo: _, loginUserInfo: l } = A(L), T = async () => (sessionStorage.setItem("loginToken", "111"), !0), j = async () => (sessionStorage.setItem("magicToken", "123456"), !0), E = async (m) => {
|
|
17
|
-
var o, r, i;
|
|
18
|
-
let s = [P(m, (o = _.value) == null ? void 0 : o.plat_id), T(), j()];
|
|
19
|
-
const t = await Promise.all(s), e = t == null ? void 0 : t.every((a) => a);
|
|
20
|
-
let u = [
|
|
21
|
-
{
|
|
22
|
-
id: "1",
|
|
23
|
-
request_method: "Post",
|
|
24
|
-
request_url: "/platform/getdata",
|
|
25
|
-
request_param: JSON.stringify({
|
|
26
|
-
userName: l.value.userName,
|
|
27
|
-
password: l.value.password
|
|
28
|
-
}),
|
|
29
|
-
request_result: "{}",
|
|
30
|
-
is_delete: !1,
|
|
31
|
-
request_table: "admin_user",
|
|
32
|
-
request_type: "login"
|
|
33
|
-
}
|
|
34
|
-
];
|
|
35
|
-
try {
|
|
36
|
-
const a = ((r = l == null ? void 0 : l.value) == null ? void 0 : r.plat_id) || ((i = _.value) == null ? void 0 : i.plat_id);
|
|
37
|
-
return await v({
|
|
38
|
-
platId: parseInt(a),
|
|
39
|
-
changeContents: [{
|
|
40
|
-
tableName: "log",
|
|
41
|
-
tableContents: u
|
|
42
|
-
}]
|
|
43
|
-
}), e;
|
|
44
|
-
} catch {
|
|
45
|
-
return e;
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
export {
|
|
49
|
-
E as l
|
|
50
|
-
};
|
package/dist/index-DnLZtsZU.js
DELETED