@lingshugroup/web-plus 2.6.0 → 2.6.1

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/lib/index.css.br CHANGED
Binary file
package/lib/index.css.gz CHANGED
Binary file
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=/* empty css */u=t.default(e.default,[["__scopeId","data-v-e4fa634d"]]);exports.default=u;
@@ -0,0 +1,7 @@
1
+ import o from "./index2.js";
2
+ /* empty css */
3
+ import t from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e4fa634d"]]);
5
+ export {
6
+ p as default
7
+ };
@@ -0,0 +1 @@
1
+ "use strict";var W=Object.defineProperty;var l=(v,V)=>W(v,"name",{value:V,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),j=require("../types/index.cjs"),G={key:0,class:"captcha-loading-mask","aria-live":"polite"},Z={key:0,class:"captcha-overlay"},J={class:"captcha-overlay-icon"},K={class:"captcha-overlay-text"},O={class:"captcha-prompt"},Q=["aria-valuenow","aria-disabled"],Y={key:0,class:"captcha-slider-hint"},ee={class:"captcha-actions"},te=["disabled"],ae={class:"captcha-serial-text"},ne=e.defineComponent({name:"LSCaptchaVerify"}),oe=e.defineComponent({...ne,name:"LSCaptchaVerify",inheritAttrs:!1,props:e.mergeModels(j.lsCaptchaVerifyProps,{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:e.mergeModels(["refresh","select"],["update:modelValue"]),setup(v,{emit:V}){const o=v,C=V,h=e.useModel(v,"modelValue"),g=60,T=.06,p=e.ref(),k=e.ref(),r=e.ref(!1),s=e.ref(0),f=e.ref(0),b=e.ref(0),i=e.ref([]),w=e.ref(!1);let n=null;const E=e.computed(()=>o.sceneSeed||Date.now()),N=[{bg:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",piece:"rgba(102,126,234,0.7)"},{bg:"linear-gradient(135deg, #f093fb 0%, #f5576c 100%)",piece:"rgba(245,87,108,0.7)"},{bg:"linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)",piece:"rgba(79,172,254,0.7)"},{bg:"linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)",piece:"rgba(67,233,123,0.7)"},{bg:"linear-gradient(135deg, #fa709a 0%, #fee140 100%)",piece:"rgba(250,112,154,0.7)"},{bg:"linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%)",piece:"rgba(161,140,209,0.7)"},{bg:"linear-gradient(135deg, #fccb90 0%, #d57eeb 100%)",piece:"rgba(213,126,235,0.7)"},{bg:"linear-gradient(135deg, #96fbc4 0%, #f9f586 100%)",piece:"rgba(150,251,196,0.7)"}],M=["6px","50%","12px 4px","20px 6px 20px 6px","4px 16px","50% 4px 50% 4px","16px 4px 4px 16px","30% 70% 70% 30% / 30% 30% 70% 70%"],L=e.computed(()=>E.value%N.length),P=e.computed(()=>Math.floor(E.value/7)%M.length),B=e.computed(()=>E.value%4*90),_=e.computed(()=>30+E.value%40),z=e.computed(()=>({background:N[L.value].bg})),S=e.computed(()=>Math.max(.15,Math.min(.85,o.targetPercent))),d=e.computed(()=>f.value?Math.min(1,Math.max(0,s.value/f.value)):0),I=e.computed(()=>({left:`${S.value*100}%`,top:`${_.value}%`,width:`${g}px`,height:`${g}px`,borderRadius:M[P.value],transform:`translate(-50%, -50%) rotate(${B.value}deg)`})),F=e.computed(()=>({left:`${d.value*100}%`,top:`${_.value}%`,width:`${g}px`,height:`${g}px`,borderRadius:M[P.value],background:N[L.value].piece,transform:`translate(-50%, -50%) rotate(${B.value}deg)`})),X=e.computed(()=>({transform:`translateX(${s.value}px)`})),A=e.computed(()=>({width:`${s.value+40}px`}));function m(){const t=p.value;t&&(f.value=Math.max(0,t.clientWidth-40))}l(m,"updateMaxDrag");function $(){window.removeEventListener("pointermove",R),window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",y)}l($,"detachWindowPointerListeners");function q(t){const a=k.value;if(a!=null&&a.hasPointerCapture(t.pointerId))try{a.releasePointerCapture(t.pointerId)}catch{}}l(q,"releaseThumbCapture");function c(){$(),r.value=!1,w.value=!1,s.value=0,b.value=0,i.value=[]}l(c,"resetDrag");function H(t){if(o.loading||o.status==="success"||t.button!==0)return;m(),r.value=!0,w.value=!1,s.value=0,b.value=performance.now(),i.value=[{x:0,t:0}],t.currentTarget.setPointerCapture(t.pointerId),window.addEventListener("pointermove",R),window.addEventListener("pointerup",y),window.addEventListener("pointercancel",y)}l(H,"onPointerDown");function R(t){if(!r.value||!p.value)return;const a=p.value.getBoundingClientRect(),u=t.clientX-a.left-20;s.value=Math.min(Math.max(0,u),f.value);const x=Math.round(performance.now()-b.value),D=i.value[i.value.length-1];(!D||x-D.t>=16)&&i.value.push({x:Number(d.value.toFixed(4)),t:x})}l(R,"onPointerMove");function y(t){if($(),q(t),!r.value)return;if(r.value=!1,Math.abs(d.value-S.value)>T){w.value=!0,setTimeout(c,300);return}s.value=S.value*f.value;const u=Math.max(1,Math.round(performance.now()-b.value));i.value.push({x:Number(d.value.toFixed(4)),t:u}),C("select",{dragPercent:Number(d.value.toFixed(4)),durationMs:u,trace:i.value.slice(-300)})}l(y,"onPointerEnd");function U(){c(),C("refresh")}return l(U,"onRefresh"),e.watch(()=>[o.status,o.loading],([t,a])=>{(t==="error"||t==="idle"&&!a)&&c()}),e.watch(()=>[o.serialNo,o.sceneSeed],()=>{h.value&&c()}),e.watch(h,t=>{t?e.nextTick(()=>{m();const a=p.value;a&&typeof ResizeObserver<"u"&&(n==null||n.disconnect(),n=new ResizeObserver(()=>m()),n.observe(a))}):(n==null||n.disconnect(),n=null,c())}),e.onMounted(()=>{window.addEventListener("resize",m)}),e.onBeforeUnmount(()=>{n==null||n.disconnect(),n=null,window.removeEventListener("resize",m),c()}),(t,a)=>{const u=e.resolveComponent("LSDialog");return e.openBlock(),e.createBlock(u,{modelValue:h.value,"onUpdate:modelValue":a[0]||(a[0]=x=>h.value=x),title:"安全验证",width:"420px","has-footer":!1,"destroy-on-close":""},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["captcha-wrap",{"is-slider-dragging":e.unref(r)}])},[t.loading?(e.openBlock(),e.createElementBlock("div",G,a[1]||(a[1]=[e.createElementVNode("span",{class:"captcha-loading-dot"},null,-1),e.createElementVNode("span",null,"验证中…",-1)]))):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["captcha-scene",`is-${t.status}`]),style:e.normalizeStyle(e.unref(z))},[e.createElementVNode("div",{class:"captcha-hole",style:e.normalizeStyle(e.unref(I))},null,4),e.createElementVNode("div",{class:"captcha-piece",style:e.normalizeStyle(e.unref(F))},null,4),t.status!=="idle"?(e.openBlock(),e.createElementBlock("div",Z,[e.createElementVNode("span",J,e.toDisplayString(t.status==="success"?"✓":"✗"),1),e.createElementVNode("span",K,e.toDisplayString(t.status==="success"?"验证通过":"验证失败,请重试"),1)])):e.createCommentVNode("",!0)],6),e.createElementVNode("div",O,e.toDisplayString(o.prompt),1),e.createElementVNode("div",{ref_key:"sliderRef",ref:p,class:e.normalizeClass(["captcha-slider",{"is-dragging":e.unref(r),"is-fail":e.unref(w),"is-loading":t.loading,"is-success":t.status==="success","is-error":t.status==="error"}]),role:"slider","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(e.unref(d)*100),"aria-disabled":t.loading||t.status==="success"},[e.createElementVNode("div",{class:"captcha-slider-fill",style:e.normalizeStyle(e.unref(A))},null,4),e.createElementVNode("div",{ref_key:"thumbRef",ref:k,class:"captcha-slider-thumb",style:e.normalizeStyle(e.unref(X)),onPointerdown:e.withModifiers(H,["prevent"])},a[2]||(a[2]=[e.createElementVNode("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor","stroke-width":"2.5"},[e.createElementVNode("path",{d:"M9 18l6-6-6-6"}),e.createElementVNode("path",{d:"M4 18l6-6-6-6"})],-1)]),36),!e.unref(r)&&t.status==="idle"&&e.unref(s)===0?(e.openBlock(),e.createElementBlock("span",Y," 向右拖动滑块完成拼图 ")):e.createCommentVNode("",!0)],10,Q),e.createElementVNode("div",ee,[e.createElementVNode("button",{type:"button",class:"captcha-action-btn",disabled:t.loading,onClick:U},a[3]||(a[3]=[e.createElementVNode("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor","stroke-width":"2"},[e.createElementVNode("path",{d:"M1 4v6h6"}),e.createElementVNode("path",{d:"M3.51 15a9 9 0 1 0 2.13-9.36L1 10"})],-1),e.createTextVNode(" 换一张 ",-1)]),8,te),e.createElementVNode("span",ae,e.toDisplayString(t.serialNo),1)])],2)]),_:1},8,["modelValue"])}}});exports.default=oe;
@@ -0,0 +1,241 @@
1
+ var ne = Object.defineProperty;
2
+ var i = (w, $) => ne(w, "name", { value: $, configurable: !0 });
3
+ import { defineComponent as j, mergeModels as Z, useModel as se, ref as d, computed as s, watch as B, nextTick as oe, onMounted as le, onBeforeUnmount as ie, resolveComponent as re, createBlock as ce, openBlock as L, withCtx as de, createElementVNode as a, normalizeClass as N, unref as o, createElementBlock as T, createCommentVNode as D, normalizeStyle as b, toDisplayString as P, withModifiers as ue, createTextVNode as pe } from "vue";
4
+ import { lsCaptchaVerifyProps as ve } from "../types/index.js";
5
+ const fe = {
6
+ key: 0,
7
+ class: "captcha-loading-mask",
8
+ "aria-live": "polite"
9
+ }, he = {
10
+ key: 0,
11
+ class: "captcha-overlay"
12
+ }, ge = { class: "captcha-overlay-icon" }, me = { class: "captcha-overlay-text" }, be = { class: "captcha-prompt" }, we = ["aria-valuenow", "aria-disabled"], xe = {
13
+ key: 0,
14
+ class: "captcha-slider-hint"
15
+ }, ye = { class: "captcha-actions" }, Me = ["disabled"], Ee = { class: "captcha-serial-text" }, Ce = j({
16
+ name: "LSCaptchaVerify"
17
+ }), Pe = /* @__PURE__ */ j({
18
+ ...Ce,
19
+ name: "LSCaptchaVerify",
20
+ inheritAttrs: !1,
21
+ props: /* @__PURE__ */ Z(ve, {
22
+ modelValue: { type: Boolean, default: !1 },
23
+ modelModifiers: {}
24
+ }),
25
+ emits: /* @__PURE__ */ Z(["refresh", "select"], ["update:modelValue"]),
26
+ setup(w, { emit: $ }) {
27
+ const l = w, I = $, x = se(w, "modelValue"), y = 60, q = 0.06, h = d(), F = d(), r = d(!1), c = d(0), g = d(0), M = d(0), u = d([]), E = d(!1);
28
+ let n = null;
29
+ const C = s(() => l.sceneSeed || Date.now()), R = [
30
+ { bg: "linear-gradient(135deg, #667eea 0%, #764ba2 100%)", piece: "rgba(102,126,234,0.7)" },
31
+ { bg: "linear-gradient(135deg, #f093fb 0%, #f5576c 100%)", piece: "rgba(245,87,108,0.7)" },
32
+ { bg: "linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)", piece: "rgba(79,172,254,0.7)" },
33
+ { bg: "linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)", piece: "rgba(67,233,123,0.7)" },
34
+ { bg: "linear-gradient(135deg, #fa709a 0%, #fee140 100%)", piece: "rgba(250,112,154,0.7)" },
35
+ { bg: "linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%)", piece: "rgba(161,140,209,0.7)" },
36
+ { bg: "linear-gradient(135deg, #fccb90 0%, #d57eeb 100%)", piece: "rgba(213,126,235,0.7)" },
37
+ { bg: "linear-gradient(135deg, #96fbc4 0%, #f9f586 100%)", piece: "rgba(150,251,196,0.7)" }
38
+ ], V = [
39
+ "6px",
40
+ "50%",
41
+ "12px 4px",
42
+ "20px 6px 20px 6px",
43
+ "4px 16px",
44
+ "50% 4px 50% 4px",
45
+ "16px 4px 4px 16px",
46
+ "30% 70% 70% 30% / 30% 30% 70% 70%"
47
+ ], X = s(() => C.value % R.length), A = s(() => Math.floor(C.value / 7) % V.length), H = s(() => C.value % 4 * 90), U = s(() => 30 + C.value % 40), J = s(() => ({
48
+ background: R[X.value].bg
49
+ })), _ = s(() => Math.max(0.15, Math.min(0.85, l.targetPercent))), v = s(() => g.value ? Math.min(1, Math.max(0, c.value / g.value)) : 0), K = s(() => ({
50
+ left: `${_.value * 100}%`,
51
+ top: `${U.value}%`,
52
+ width: `${y}px`,
53
+ height: `${y}px`,
54
+ borderRadius: V[A.value],
55
+ transform: `translate(-50%, -50%) rotate(${H.value}deg)`
56
+ })), Q = s(() => ({
57
+ left: `${v.value * 100}%`,
58
+ top: `${U.value}%`,
59
+ width: `${y}px`,
60
+ height: `${y}px`,
61
+ borderRadius: V[A.value],
62
+ background: R[X.value].piece,
63
+ transform: `translate(-50%, -50%) rotate(${H.value}deg)`
64
+ })), Y = s(() => ({
65
+ transform: `translateX(${c.value}px)`
66
+ })), O = s(() => ({
67
+ width: `${c.value + 40}px`
68
+ }));
69
+ function m() {
70
+ const e = h.value;
71
+ e && (g.value = Math.max(0, e.clientWidth - 40));
72
+ }
73
+ i(m, "updateMaxDrag");
74
+ function W() {
75
+ window.removeEventListener("pointermove", z), window.removeEventListener("pointerup", k), window.removeEventListener("pointercancel", k);
76
+ }
77
+ i(W, "detachWindowPointerListeners");
78
+ function ee(e) {
79
+ const t = F.value;
80
+ if (t != null && t.hasPointerCapture(e.pointerId))
81
+ try {
82
+ t.releasePointerCapture(e.pointerId);
83
+ } catch {
84
+ }
85
+ }
86
+ i(ee, "releaseThumbCapture");
87
+ function p() {
88
+ W(), r.value = !1, E.value = !1, c.value = 0, M.value = 0, u.value = [];
89
+ }
90
+ i(p, "resetDrag");
91
+ function te(e) {
92
+ if (l.loading || l.status === "success" || e.button !== 0)
93
+ return;
94
+ m(), r.value = !0, E.value = !1, c.value = 0, M.value = performance.now(), u.value = [{ x: 0, t: 0 }], e.currentTarget.setPointerCapture(e.pointerId), window.addEventListener("pointermove", z), window.addEventListener("pointerup", k), window.addEventListener("pointercancel", k);
95
+ }
96
+ i(te, "onPointerDown");
97
+ function z(e) {
98
+ if (!r.value || !h.value)
99
+ return;
100
+ const t = h.value.getBoundingClientRect(), f = e.clientX - t.left - 20;
101
+ c.value = Math.min(Math.max(0, f), g.value);
102
+ const S = Math.round(performance.now() - M.value), G = u.value[u.value.length - 1];
103
+ (!G || S - G.t >= 16) && u.value.push({ x: Number(v.value.toFixed(4)), t: S });
104
+ }
105
+ i(z, "onPointerMove");
106
+ function k(e) {
107
+ if (W(), ee(e), !r.value)
108
+ return;
109
+ if (r.value = !1, Math.abs(v.value - _.value) > q) {
110
+ E.value = !0, setTimeout(p, 300);
111
+ return;
112
+ }
113
+ c.value = _.value * g.value;
114
+ const f = Math.max(1, Math.round(performance.now() - M.value));
115
+ u.value.push({ x: Number(v.value.toFixed(4)), t: f }), I("select", {
116
+ dragPercent: Number(v.value.toFixed(4)),
117
+ durationMs: f,
118
+ trace: u.value.slice(-300)
119
+ });
120
+ }
121
+ i(k, "onPointerEnd");
122
+ function ae() {
123
+ p(), I("refresh");
124
+ }
125
+ return i(ae, "onRefresh"), B(() => [l.status, l.loading], ([e, t]) => {
126
+ (e === "error" || e === "idle" && !t) && p();
127
+ }), B(() => [l.serialNo, l.sceneSeed], () => {
128
+ x.value && p();
129
+ }), B(x, (e) => {
130
+ e ? oe(() => {
131
+ m();
132
+ const t = h.value;
133
+ t && typeof ResizeObserver < "u" && (n == null || n.disconnect(), n = new ResizeObserver(() => m()), n.observe(t));
134
+ }) : (n == null || n.disconnect(), n = null, p());
135
+ }), le(() => {
136
+ window.addEventListener("resize", m);
137
+ }), ie(() => {
138
+ n == null || n.disconnect(), n = null, window.removeEventListener("resize", m), p();
139
+ }), (e, t) => {
140
+ const f = re("LSDialog");
141
+ return L(), ce(f, {
142
+ modelValue: x.value,
143
+ "onUpdate:modelValue": t[0] || (t[0] = (S) => x.value = S),
144
+ title: "安全验证",
145
+ width: "420px",
146
+ "has-footer": !1,
147
+ "destroy-on-close": ""
148
+ }, {
149
+ default: de(() => [
150
+ a("div", {
151
+ class: N(["captcha-wrap", { "is-slider-dragging": o(r) }])
152
+ }, [
153
+ e.loading ? (L(), T("div", fe, t[1] || (t[1] = [
154
+ a("span", { class: "captcha-loading-dot" }, null, -1),
155
+ a("span", null, "验证中…", -1)
156
+ ]))) : D("", !0),
157
+ a("div", {
158
+ class: N(["captcha-scene", `is-${e.status}`]),
159
+ style: b(o(J))
160
+ }, [
161
+ a("div", {
162
+ class: "captcha-hole",
163
+ style: b(o(K))
164
+ }, null, 4),
165
+ a("div", {
166
+ class: "captcha-piece",
167
+ style: b(o(Q))
168
+ }, null, 4),
169
+ e.status !== "idle" ? (L(), T("div", he, [
170
+ a("span", ge, P(e.status === "success" ? "✓" : "✗"), 1),
171
+ a("span", me, P(e.status === "success" ? "验证通过" : "验证失败,请重试"), 1)
172
+ ])) : D("", !0)
173
+ ], 6),
174
+ a("div", be, P(l.prompt), 1),
175
+ a("div", {
176
+ ref_key: "sliderRef",
177
+ ref: h,
178
+ class: N(["captcha-slider", { "is-dragging": o(r), "is-fail": o(E), "is-loading": e.loading, "is-success": e.status === "success", "is-error": e.status === "error" }]),
179
+ role: "slider",
180
+ "aria-valuemin": 0,
181
+ "aria-valuemax": 100,
182
+ "aria-valuenow": Math.round(o(v) * 100),
183
+ "aria-disabled": e.loading || e.status === "success"
184
+ }, [
185
+ a("div", {
186
+ class: "captcha-slider-fill",
187
+ style: b(o(O))
188
+ }, null, 4),
189
+ a("div", {
190
+ ref_key: "thumbRef",
191
+ ref: F,
192
+ class: "captcha-slider-thumb",
193
+ style: b(o(Y)),
194
+ onPointerdown: ue(te, ["prevent"])
195
+ }, t[2] || (t[2] = [
196
+ a("svg", {
197
+ viewBox: "0 0 24 24",
198
+ width: "20",
199
+ height: "20",
200
+ fill: "none",
201
+ stroke: "currentColor",
202
+ "stroke-width": "2.5"
203
+ }, [
204
+ a("path", { d: "M9 18l6-6-6-6" }),
205
+ a("path", { d: "M4 18l6-6-6-6" })
206
+ ], -1)
207
+ ]), 36),
208
+ !o(r) && e.status === "idle" && o(c) === 0 ? (L(), T("span", xe, " 向右拖动滑块完成拼图 ")) : D("", !0)
209
+ ], 10, we),
210
+ a("div", ye, [
211
+ a("button", {
212
+ type: "button",
213
+ class: "captcha-action-btn",
214
+ disabled: e.loading,
215
+ onClick: ae
216
+ }, t[3] || (t[3] = [
217
+ a("svg", {
218
+ viewBox: "0 0 24 24",
219
+ width: "16",
220
+ height: "16",
221
+ fill: "none",
222
+ stroke: "currentColor",
223
+ "stroke-width": "2"
224
+ }, [
225
+ a("path", { d: "M1 4v6h6" }),
226
+ a("path", { d: "M3.51 15a9 9 0 1 0 2.13-9.36L1 10" })
227
+ ], -1),
228
+ pe(" 换一张 ", -1)
229
+ ]), 8, Me),
230
+ a("span", Ee, P(e.serialNo), 1)
231
+ ])
232
+ ], 2)
233
+ ]),
234
+ _: 1
235
+ }, 8, ["modelValue"]);
236
+ };
237
+ }
238
+ });
239
+ export {
240
+ Pe as default
241
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../_utils/runtime/index.cjs"),t=e.buildProps({loading:{type:Boolean,default:!1},prompt:{type:String,default:"按住滑块拖动拼图到缺口处"},targetPercent:{type:Number,default:.5},status:{type:String,values:["idle","error","success"],default:"idle"},sceneSeed:{type:Number,default:0},serialNo:{type:String,default:""}});exports.lsCaptchaVerifyProps=t;
@@ -0,0 +1,37 @@
1
+ import { buildProps as e } from "../../_utils/runtime/index.js";
2
+ const r = e({
3
+ /** 验证中 loading 状态 */
4
+ loading: {
5
+ type: Boolean,
6
+ default: !1
7
+ },
8
+ /** 提示文案 */
9
+ prompt: {
10
+ type: String,
11
+ default: "按住滑块拖动拼图到缺口处"
12
+ },
13
+ /** 缺口目标位置百分比(0-1) */
14
+ targetPercent: {
15
+ type: Number,
16
+ default: 0.5
17
+ },
18
+ /** 验证状态 */
19
+ status: {
20
+ type: String,
21
+ values: ["idle", "error", "success"],
22
+ default: "idle"
23
+ },
24
+ /** 场景种子,用于生成不同主题和形状 */
25
+ sceneSeed: {
26
+ type: Number,
27
+ default: 0
28
+ },
29
+ /** 验证码序列号 */
30
+ serialNo: {
31
+ type: String,
32
+ default: ""
33
+ }
34
+ });
35
+ export {
36
+ r as lsCaptchaVerifyProps
37
+ };
@@ -1 +1 @@
1
- "use strict";var l=Object.defineProperty;var o=(t,r)=>l(t,"name",{value:r,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("@element-plus/icons-vue"),s=require("../../../../backTop/index.cjs"),d=require("../../../../bellMessage/index.cjs"),f=require("../../../../breadcrumb/index.cjs"),i=require("../../../../button/index.cjs"),S=require("../../../../chart/index.cjs"),L=require("../../../../confirm/index.cjs"),p=require("../../../../containerBox/index.cjs"),q=require("../../../../cropper/index.cjs"),m=require("../../../../descriptions/index.cjs"),b=require("../../../../dialog/index.cjs"),g=require("../../../../downloadFile/index.cjs"),v=require("../../../../editor/index.cjs"),c=require("../../../../form/index.cjs"),P=require("../../../../icon/index.cjs"),w=require("../../../../layout/index.cjs"),y=require("../../../../list/index.cjs"),B=require("../../../../live/index.cjs"),_=require("../../../../map/index.cjs"),O=require("../../../../menu/index.cjs"),j=require("../../../../preview_docx/index.cjs"),x=require("../../../../preview_image/index.cjs"),M=require("../../../../preview_pdf/index.cjs"),T=require("../../../../preview_xlsx/index.cjs"),k=require("../../../../print/index.cjs"),D=require("../../../../table/index.cjs"),F=require("../../../../tooltip/index.cjs"),I=require("../../../../tree/index.cjs"),C=require("../../../../upload/index.cjs");function E(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:o(()=>t[e],"get")})}}return r.default=t,Object.freeze(r)}o(E,"_interopNamespaceDefault");const h=E(a),u={LSButtonGroup:i.LSButtonGroup,LSButton:i.LSButton,LSDescriptions:m.default,LSUpload:C.default,LSForm:c.LSForm,LSFormItem:c.LSFormItem,LSTable:D.default,LSMenu:O.default,LSIcon:P.default,LSConfirm:L.default,LSChart:S.default,LSBreadcrumb:f.default,LSBellMessage:d.default,LSLive:B.default,LSTree:I.default,LSPrint:k.default,LSContainerBox:p.default,LSBackTop:s.default,LSMap:_.default,LSEditor:v.default,LSDialog:b.default,LSLayout:w.default,LSList:y.default,LSPreviewImage:x.default,LSPreviewDocx:j.default,LSPreviewPdf:M.default,LSPreviewXlsx:T.default,LSDownloadFile:g.default,LSTooltip:F.default,LSCropper:q.default};function G(t){for(const[r,e]of Object.entries(h))t.component(r,e);for(const r of Object.keys(u)){const e=u[r];t.component(e==null?void 0:e.name,e)}}o(G,"install");const V={...u,install:G};exports.default=V;
1
+ "use strict";var a=Object.defineProperty;var o=(t,r)=>a(t,"name",{value:r,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("@element-plus/icons-vue"),s=require("../../../../backTop/index.cjs"),d=require("../../../../bellMessage/index.cjs"),f=require("../../../../breadcrumb/index.cjs"),i=require("../../../../button/index.cjs"),S=require("../../../../captchaVerify/index.cjs"),L=require("../../../../chart/index.cjs"),p=require("../../../../confirm/index.cjs"),q=require("../../../../containerBox/index.cjs"),m=require("../../../../cropper/index.cjs"),b=require("../../../../descriptions/index.cjs"),g=require("../../../../dialog/index.cjs"),v=require("../../../../downloadFile/index.cjs"),P=require("../../../../editor/index.cjs"),c=require("../../../../form/index.cjs"),w=require("../../../../icon/index.cjs"),y=require("../../../../layout/index.cjs"),B=require("../../../../list/index.cjs"),_=require("../../../../live/index.cjs"),O=require("../../../../map/index.cjs"),j=require("../../../../menu/index.cjs"),x=require("../../../../preview_docx/index.cjs"),M=require("../../../../preview_image/index.cjs"),T=require("../../../../preview_pdf/index.cjs"),k=require("../../../../preview_xlsx/index.cjs"),D=require("../../../../print/index.cjs"),F=require("../../../../table/index.cjs"),I=require("../../../../tooltip/index.cjs"),C=require("../../../../tree/index.cjs"),h=require("../../../../upload/index.cjs");function V(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:o(()=>t[e],"get")})}}return r.default=t,Object.freeze(r)}o(V,"_interopNamespaceDefault");const E=V(l),u={LSButtonGroup:i.LSButtonGroup,LSButton:i.LSButton,LSDescriptions:b.default,LSUpload:h.default,LSForm:c.LSForm,LSFormItem:c.LSFormItem,LSTable:F.default,LSMenu:j.default,LSIcon:w.default,LSConfirm:p.default,LSChart:L.default,LSBreadcrumb:f.default,LSBellMessage:d.default,LSLive:_.default,LSTree:C.default,LSPrint:D.default,LSContainerBox:q.default,LSBackTop:s.default,LSMap:O.default,LSEditor:P.default,LSDialog:g.default,LSLayout:y.default,LSList:B.default,LSPreviewImage:M.default,LSPreviewDocx:x.default,LSPreviewPdf:T.default,LSPreviewXlsx:k.default,LSDownloadFile:v.default,LSTooltip:I.default,LSCropper:m.default,LSCaptchaVerify:S.default};function G(t){for(const[r,e]of Object.entries(E))t.component(r,e);for(const r of Object.keys(u)){const e=u[r];t.component(e==null?void 0:e.name,e)}}o(G,"install");const z={...u,install:G};exports.default=z;
@@ -5,61 +5,63 @@ import f from "../../../../backTop/index.js";
5
5
  import L from "../../../../bellMessage/index.js";
6
6
  import S from "../../../../breadcrumb/index.js";
7
7
  import { LSButton as n, LSButtonGroup as s } from "../../../../button/index.js";
8
+ import a from "../../../../captchaVerify/index.js";
8
9
  import c from "../../../../chart/index.js";
9
- import a from "../../../../confirm/index.js";
10
- import l from "../../../../containerBox/index.js";
11
- import u from "../../../../cropper/index.js";
12
- import P from "../../../../descriptions/index.js";
13
- import d from "../../../../dialog/index.js";
14
- import B from "../../../../downloadFile/index.js";
15
- import b from "../../../../editor/index.js";
16
- import { LSFormItem as v, LSForm as w } from "../../../../form/index.js";
17
- import k from "../../../../icon/index.js";
18
- import x from "../../../../layout/index.js";
19
- import y from "../../../../list/index.js";
20
- import C from "../../../../live/index.js";
21
- import D from "../../../../map/index.js";
22
- import I from "../../../../menu/index.js";
23
- import T from "../../../../preview_docx/index.js";
24
- import g from "../../../../preview_image/index.js";
25
- import F from "../../../../preview_pdf/index.js";
26
- import M from "../../../../preview_xlsx/index.js";
10
+ import l from "../../../../confirm/index.js";
11
+ import u from "../../../../containerBox/index.js";
12
+ import P from "../../../../cropper/index.js";
13
+ import d from "../../../../descriptions/index.js";
14
+ import B from "../../../../dialog/index.js";
15
+ import b from "../../../../downloadFile/index.js";
16
+ import v from "../../../../editor/index.js";
17
+ import { LSFormItem as w, LSForm as y } from "../../../../form/index.js";
18
+ import C from "../../../../icon/index.js";
19
+ import k from "../../../../layout/index.js";
20
+ import x from "../../../../list/index.js";
21
+ import D from "../../../../live/index.js";
22
+ import I from "../../../../map/index.js";
23
+ import T from "../../../../menu/index.js";
24
+ import g from "../../../../preview_docx/index.js";
25
+ import F from "../../../../preview_image/index.js";
26
+ import M from "../../../../preview_pdf/index.js";
27
+ import h from "../../../../preview_xlsx/index.js";
27
28
  import j from "../../../../print/index.js";
28
29
  import E from "../../../../table/index.js";
29
30
  import O from "../../../../tooltip/index.js";
30
- import h from "../../../../tree/index.js";
31
+ import V from "../../../../tree/index.js";
31
32
  import G from "../../../../upload/index.js";
32
33
  const t = {
33
34
  LSButtonGroup: s,
34
35
  LSButton: n,
35
- LSDescriptions: P,
36
+ LSDescriptions: d,
36
37
  LSUpload: G,
37
- LSForm: w,
38
- LSFormItem: v,
38
+ LSForm: y,
39
+ LSFormItem: w,
39
40
  LSTable: E,
40
- LSMenu: I,
41
- LSIcon: k,
42
- LSConfirm: a,
41
+ LSMenu: T,
42
+ LSIcon: C,
43
+ LSConfirm: l,
43
44
  LSChart: c,
44
45
  LSBreadcrumb: S,
45
46
  LSBellMessage: L,
46
- LSLive: C,
47
- LSTree: h,
47
+ LSLive: D,
48
+ LSTree: V,
48
49
  LSPrint: j,
49
- LSContainerBox: l,
50
+ LSContainerBox: u,
50
51
  LSBackTop: f,
51
- LSMap: D,
52
- LSEditor: b,
53
- LSDialog: d,
54
- LSLayout: x,
55
- LSList: y,
56
- LSPreviewImage: g,
57
- LSPreviewDocx: T,
58
- LSPreviewPdf: F,
59
- LSPreviewXlsx: M,
60
- LSDownloadFile: B,
52
+ LSMap: I,
53
+ LSEditor: v,
54
+ LSDialog: B,
55
+ LSLayout: k,
56
+ LSList: x,
57
+ LSPreviewImage: F,
58
+ LSPreviewDocx: g,
59
+ LSPreviewPdf: M,
60
+ LSPreviewXlsx: h,
61
+ LSDownloadFile: b,
61
62
  LSTooltip: O,
62
- LSCropper: u
63
+ LSCropper: P,
64
+ LSCaptchaVerify: a
63
65
  };
64
66
  function U(m) {
65
67
  for (const [r, o] of Object.entries(p))
@@ -70,10 +72,10 @@ function U(m) {
70
72
  }
71
73
  }
72
74
  i(U, "install");
73
- const ao = {
75
+ const uo = {
74
76
  ...t,
75
77
  install: U
76
78
  };
77
79
  export {
78
- ao as default
80
+ uo as default
79
81
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lingshugroup/web-plus",
3
3
  "type": "module",
4
- "version": "2.6.0",
4
+ "version": "2.6.1",
5
5
  "description": "零数科技前端UI组件库(Vue3)",
6
6
  "homepage": "",
7
7
  "repository": {