tinydev-slider-captcha 1.0.0

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.
@@ -0,0 +1,927 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if(typeof define === 'function' && define.amd)
5
+ define([], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["tinydev-slider-captcha"] = factory();
8
+ else
9
+ root["tinydev-slider-captcha"] = factory();
10
+ })((typeof self !== 'undefined' ? self : this), function() {
11
+ return /******/ (function() { // webpackBootstrap
12
+ /******/ var __webpack_modules__ = ({
13
+
14
+ /***/ 662:
15
+ /***/ (function(module, exports) {
16
+
17
+ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
18
+ // MIT license
19
+ // source: https://github.com/amiller-gh/currentScript-polyfill
20
+
21
+ // added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505
22
+
23
+ (function (root, factory) {
24
+ if (true) {
25
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
26
+ __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
27
+ (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
28
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
29
+ } else {}
30
+ }(typeof self !== 'undefined' ? self : this, function () {
31
+ function getCurrentScript () {
32
+ var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
33
+ // for chrome
34
+ if (!descriptor && 'currentScript' in document && document.currentScript) {
35
+ return document.currentScript
36
+ }
37
+
38
+ // for other browsers with native support for currentScript
39
+ if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {
40
+ return document.currentScript
41
+ }
42
+
43
+ // IE 8-10 support script readyState
44
+ // IE 11+ & Firefox support stack trace
45
+ try {
46
+ throw new Error();
47
+ }
48
+ catch (err) {
49
+ // Find the second match for the "at" string to get file src url from stack.
50
+ var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig,
51
+ ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig,
52
+ stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),
53
+ scriptLocation = (stackDetails && stackDetails[1]) || false,
54
+ line = (stackDetails && stackDetails[2]) || false,
55
+ currentLocation = document.location.href.replace(document.location.hash, ''),
56
+ pageSource,
57
+ inlineScriptSourceRegExp,
58
+ inlineScriptSource,
59
+ scripts = document.getElementsByTagName('script'); // Live NodeList collection
60
+
61
+ if (scriptLocation === currentLocation) {
62
+ pageSource = document.documentElement.outerHTML;
63
+ inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*', 'i');
64
+ inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();
65
+ }
66
+
67
+ for (var i = 0; i < scripts.length; i++) {
68
+ // If ready state is interactive, return the script tag
69
+ if (scripts[i].readyState === 'interactive') {
70
+ return scripts[i];
71
+ }
72
+
73
+ // If src matches, return the script tag
74
+ if (scripts[i].src === scriptLocation) {
75
+ return scripts[i];
76
+ }
77
+
78
+ // If inline source matches, return the script tag
79
+ if (
80
+ scriptLocation === currentLocation &&
81
+ scripts[i].innerHTML &&
82
+ scripts[i].innerHTML.trim() === inlineScriptSource
83
+ ) {
84
+ return scripts[i];
85
+ }
86
+ }
87
+
88
+ // If no match, return null
89
+ return null;
90
+ }
91
+ };
92
+
93
+ return getCurrentScript
94
+ }));
95
+
96
+
97
+ /***/ })
98
+
99
+ /******/ });
100
+ /************************************************************************/
101
+ /******/ // The module cache
102
+ /******/ var __webpack_module_cache__ = {};
103
+ /******/
104
+ /******/ // The require function
105
+ /******/ function __webpack_require__(moduleId) {
106
+ /******/ // Check if module is in cache
107
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
108
+ /******/ if (cachedModule !== undefined) {
109
+ /******/ return cachedModule.exports;
110
+ /******/ }
111
+ /******/ // Create a new module (and put it into the cache)
112
+ /******/ var module = __webpack_module_cache__[moduleId] = {
113
+ /******/ // no module.id needed
114
+ /******/ // no module.loaded needed
115
+ /******/ exports: {}
116
+ /******/ };
117
+ /******/
118
+ /******/ // Execute the module function
119
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
120
+ /******/
121
+ /******/ // Return the exports of the module
122
+ /******/ return module.exports;
123
+ /******/ }
124
+ /******/
125
+ /************************************************************************/
126
+ /******/ /* webpack/runtime/define property getters */
127
+ /******/ !function() {
128
+ /******/ // define getter functions for harmony exports
129
+ /******/ __webpack_require__.d = function(exports, definition) {
130
+ /******/ for(var key in definition) {
131
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
132
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
133
+ /******/ }
134
+ /******/ }
135
+ /******/ };
136
+ /******/ }();
137
+ /******/
138
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
139
+ /******/ !function() {
140
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
141
+ /******/ }();
142
+ /******/
143
+ /******/ /* webpack/runtime/make namespace object */
144
+ /******/ !function() {
145
+ /******/ // define __esModule on exports
146
+ /******/ __webpack_require__.r = function(exports) {
147
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
148
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
149
+ /******/ }
150
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
151
+ /******/ };
152
+ /******/ }();
153
+ /******/
154
+ /******/ /* webpack/runtime/publicPath */
155
+ /******/ !function() {
156
+ /******/ __webpack_require__.p = "";
157
+ /******/ }();
158
+ /******/
159
+ /************************************************************************/
160
+ var __webpack_exports__ = {};
161
+ // This entry need to be wrapped in an IIFE because it need to be in strict mode.
162
+ !function() {
163
+ "use strict";
164
+ // ESM COMPAT FLAG
165
+ __webpack_require__.r(__webpack_exports__);
166
+
167
+ // EXPORTS
168
+ __webpack_require__.d(__webpack_exports__, {
169
+ "default": function() { return /* binding */ entry_lib; }
170
+ });
171
+
172
+ ;// ../../../../node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
173
+ /* eslint-disable no-var */
174
+ // This file is imported into lib/wc client bundles.
175
+
176
+ if (typeof window !== 'undefined') {
177
+ var currentScript = window.document.currentScript
178
+ if (true) {
179
+ var getCurrentScript = __webpack_require__(662)
180
+ currentScript = getCurrentScript()
181
+
182
+ // for backward compatibility, because previously we directly included the polyfill
183
+ if (!('currentScript' in document)) {
184
+ Object.defineProperty(document, 'currentScript', { get: getCurrentScript })
185
+ }
186
+ }
187
+
188
+ var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
189
+ if (src) {
190
+ __webpack_require__.p = src[1] // eslint-disable-line
191
+ }
192
+ }
193
+
194
+ // Indicate to webpack that this file can be concatenated
195
+ /* harmony default export */ var setPublicPath = (null);
196
+
197
+ ;// ../../../../node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/packages-slider-captcha/SliderCaptcha.vue?vue&type=template&id=ef864250&scoped=true
198
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.dialogVisible)?_c('div',{staticClass:"lang-dialog__wrapper"},[_c('div',{staticClass:"lang-dialog"},[_c('div',{staticClass:"lang-dialog__header"},[_c('span',{staticClass:"lang-dialog__title"},[_vm._t("title",function(){return [_vm._v(_vm._s(_vm.title))]})],2),_c('button',{staticClass:"lang-dialog-header-btn",attrs:{"type":"button"},on:{"click":_vm.close}},[_c('i',{staticClass:"lang-icon-close"})])]),_c('div',{staticClass:"lang-dialog__body"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.failed),expression:"failed"}],staticClass:"tips"},[_vm._t("errorText",function(){return [_vm._v(_vm._s(_vm.errorText))]})],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.failed),expression:"!failed"}],staticClass:"tips"},[_vm._t("tips",function(){return [_vm._v(_vm._s(_vm.tips))]})],2),_c('div',{staticClass:"slider-body",class:{'slider-shock':_vm.shock}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.mask),expression:"mask"}],staticClass:"loading-transparent-mask"}),(_vm.loading)?_c('div',{staticClass:"loading-body"},[_c('div',{staticClass:"loading slider-loading"})]):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.sliderImg),expression:"sliderImg"}],staticClass:"slider-bg slider-img",style:({'background-image': 'url(' + _vm.sliderImg + ')'})}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.sliderImg),expression:"sliderImg"}],staticClass:"slider-draw slider-move-draw slider-img",style:({'background-image': 'url(' + _vm.sliderImg + ')', 'top': _vm.sliderY + 'px', 'left': _vm.sliderMoveDrawLeft}),on:{"&touchstart":function($event){return _vm.sliderTouchStart.apply(null, arguments)},"&touchmove":function($event){return _vm.sliderTouchMove.apply(null, arguments)},"&touchend":function($event){return _vm.sliderEnd.apply(null, arguments)},"mousedown":_vm.sliderStart}}),_c('div',{staticClass:"slider-progress"}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.success),expression:"success"}],staticClass:"slider-success"},[_vm._m(0),_c('div',{staticClass:"slider-success-text"},[_vm._t("successText",function(){return [_vm._v(_vm._s(_vm.successText))]})],2)]),_c('div',{staticClass:"slider-btn slider-move-btn",class:{'slider-shock':_vm.shock},style:({'left': _vm.sliderMoveLeft}),on:{"&touchstart":function($event){return _vm.sliderTouchStart.apply(null, arguments)},"&touchmove":function($event){return _vm.sliderTouchMove.apply(null, arguments)},"&touchend":function($event){return _vm.sliderEnd.apply(null, arguments)},"mousedown":_vm.sliderStart}},[_c('i',[_vm._v(" ")]),_c('img',{attrs:{"src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAcAgMAAABuexVFAAAACVBMVEUAAADCwsL9/f1P0DqbAAAAAXRSTlMAQObYZgAAAB1JREFUGNNjCGVgYGANABKhyMwoEHMBkIgaZWIwAdyJJQnaJRg5AAAAAElFTkSuQmCC","alt":""}}),_c('i',[_vm._v(" ")])])]),_c('div',{staticStyle:{"position":"relative"}},[_c('div',{staticClass:"slider-refresh",staticStyle:{"left":"35px"},on:{"click":function($event){$event.stopPropagation();return _vm.refresh.apply(null, arguments)},"mouseenter":function($event){_vm.refreshMessage = true},"mouseleave":function($event){_vm.refreshMessage = false}}},[_c('div',{staticClass:"slider-tools-btn lang-tips",staticStyle:{"width":"24px","height":"24px"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.refreshMessage),expression:"refreshMessage"}],staticClass:"lang-tips-item lang-tips-bottom",domProps:{"textContent":_vm._s(_vm.refreshText)}}),_c('img',{attrs:{"src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAPZSURBVHgB7VpLTuNAEC2b8NlNboDnBJgbJCdgOAFkAQixGDgB9gkIC4T4SIETTOYEhBOQOcF4buAVQojPvGfZGbv9iWMbE0vzpMam3e7Uq66u7q6yJhXh/PzcwKWjaZqJsop7E6XtF8JlwTPn7e3tF64jXMf7+/uOlIAmJTAYDNovLy/f39/fOyxSACSCd29A5r4ImUIEfG1buq5vyD8NlwbI3Ly+vtp5iFAGtpuJQKBxaOtQKhRcgQvF9Hd2duy0BldXV8eQQwMBKzeBs7Mzs9Vq/cCtkdYGpkBzuIcAY9r3ysqK2+v1aPse+cfHRwN9GL65rUHjnYyf5FzpqqNB4VFvodi5CVxeXtLOLUnWuoNn/eXl5dtA2LwIJj4IH0uyYthfb29vbxgWnve5CYRfUgVHsdD5rVQAkNnOIHKEZ1/CcgQE9KxO04SHxk+XlpbWqxKegDD0RF2UpD5PUpQoLUkBzSbhJRd1R/wx+QD49r6N0XD80ZiKxBGgbdKulWoXM7/7UcKHQdOAonp52sYI0FuA/Z1S7Ql/cHAwlpoAb7Wap12MAP28xCeSXafwGY4jhggBmo76IicsJmtfasIswhPqCFjK/w78uyU1YVbhiYkXovZh+1vKc2vWxako+PvcHuDWzvnKiH+0UAeW4rocmM5XmXNMTChJ+9IAeASwaPHwYYQfYKX9KQ2ARwB7cDNcyV1lXbZfFh4B/2AyAba5jdA+4RGAwJFtMvfy0hB4BGAyplLvSEMQeKHICJSNFNQJXRqO/wQ+GwGBiM/3D9uNQEDAUeoNaQg8AoxVRip13ZSGIFgHIgsXFrYNaQiClXgYruTCxrOxNAAeAX/hckL17efn521pACZuVA0oNcWMJgQQiI0c3BmAvbi4+CZzjgkB7v8Twnon8z4XpkUlDMyFXCG+z0KEACczo75Km8Pr6+stmVPEwus0GWj9QaKrMZNz3d3d3VoPOkyq+IvqKG2LH9vMcS4gPrMp0f1RG5P6zj/81wKOOuKjDyAwQPmN/VknqV3ibtSPg6qm5JGAZzqUDwZD+wg03CjVnaS2mRmahGBXgD7CLnbVkQvffAe4jblvmPB6kglPTTFlkHCkohRTjuznUVqAOVeSzzebk5THDopVJFGdQ/BIki8JudOsfvCXiQ8jtTNk3WG797gdLSwsuIuLi044zfr09MTkiclVHte1rOw++hqjr81pSpk5U59hUlWBhO28OYmynxpUucBxK3PKPdkszqHUxx6hRDXTUoXWCMZhcRkWSZQTpQiEEf7cBtc1FAP3RqiJC2EpIF3hH54Coe1hWVf8FxUNF4vY5AiIAAAAAElFTkSuQmCC"}})])])])])])]):_vm._e()}
199
+ var staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"slider-success-icon"},[_c('img',{attrs:{"src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAAzFBMVEUAAAAs0AAu1AAs0AAr0AAq1QAs0AAt0AAs0AAs0AAr0AAq0wAs0AAq0QAs0AAs0AAs0AAs0AAr0AAs0AAr0AAs0AAr0QAs0QAs0AApygAs0AAs0AAs0AAs0AAs0QAr0QAt0gAs0AAt0QAtzwAq0QArzwAs0AAqzQAs0QAs0AAs0AAs0AD////l+d/8/vty4FVG1iCI5W/X989G1h881BNy31My0gd34Vr5/vjt++qk65Gd6omO5naB42Za2jdL1ybR9cjA8bNp3kpZ2jY9PuX7AAAAK3RSTlMA/APuFwfUZln0OxLIVEbr49vZzsKxmW1MDvmsqIxpXiGejlA3NGgk1pyDVbbBQAAAArxJREFUaN7Nmody2kAURZ9QQRIyTTTRDDauV3GsFNzjlP//p8CQjAZLwLY3w/mAc9EWZvftIzGS8HIyitp2AAR2OxpNLsOETFHzex5K8Hp+Td/u9DsWdmJ1+o6OvTLoWjiA1R1UFPVutQ0h2lVX5ddXmxCmWZX+ijCGFHEot3BuIM1cYkmd21DAPhcd/TMociY0E7MIysQzgdltQIPGxSH/yRBaBPX9/lMLmgz9vX4Y4HTP+FgwgHWyy78IYIThYsf6bMAQjasyvxvDGLFLRW5gkHnJBMMohYl2bBjFdmibMQwz3vbXYZz61j+0B+N4FcqpgoFq7nebYKDpFj6A6xMqLbDQ+j8LAzAxoA1dMNH9t4kt6PL+/Ov5DwpYm+3chy7fH9M0vctQoE9rOtr+u3TN3Ts+0ln7a5a+f8NrcYzWx0nflD99QQF/FdAz5U8fUKC3CvCgw+fc/2WJAh5RYsr/6R4lJHTB6kdIPqsfU7pl9WNCY1Y/RhSx+hFRCzv4/fPx6Xmp6UeLbJTzsFnb3/T8sClAKcunNE9Q9yMglPMjTfMEdT+wOyBP0PFjzxDlCRr+YN8k5wnKfti7l2lWSFDwo0URhBIU/YhoDLEENT9GdAvBhIL/KwSYkA/RBBU/pnQB4QQFP0JKIJzwJu9HQuQJJ6Tyfk/g2JJp+NETOXhl6n74QkfHTNlv1cQOv5miHx3R43um5kdf+AKSKfktR/wKlSn40ZW5BL49rvealB8DqWvs/evLwxIytCrMF/FL9lICdzGEvZzDXZBiLqmN2IuC7GXNAnMYZM5cWvZcKuGKqTiesxjCCMGC94FiWGd+YvG5H4m4n7nYH+oOMouhTDwjAVz1x1L3OJ57VzhjSDN2SIa6Bym8+rE1Daxwp6JtD1P3OBs3+FtP8uaZa5RwnTfP6JOE0+32n6lo+89fOWa8/GcTqREAAAAASUVORK5CYII=","alt":""}})])}]
200
+
201
+
202
+ ;// ./src/packages-slider-captcha/SliderCaptcha.vue?vue&type=template&id=ef864250&scoped=true
203
+
204
+ ;// ../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/packages-slider-captcha/SliderCaptcha.vue?vue&type=script&lang=js
205
+ //
206
+ //
207
+ //
208
+ //
209
+ //
210
+ //
211
+ //
212
+ //
213
+ //
214
+ //
215
+ //
216
+ //
217
+ //
218
+ //
219
+ //
220
+ //
221
+ //
222
+ //
223
+ //
224
+ //
225
+ //
226
+ //
227
+ //
228
+ //
229
+ //
230
+ //
231
+ //
232
+ //
233
+ //
234
+ //
235
+ //
236
+ //
237
+ //
238
+ //
239
+ //
240
+ //
241
+ //
242
+ //
243
+ //
244
+ //
245
+ //
246
+ //
247
+ //
248
+ //
249
+ //
250
+ //
251
+ //
252
+ //
253
+ //
254
+ //
255
+ //
256
+ //
257
+ //
258
+ //
259
+ //
260
+ //
261
+ //
262
+ //
263
+ //
264
+ //
265
+ //
266
+ //
267
+ //
268
+ //
269
+ //
270
+ //
271
+ //
272
+ //
273
+ //
274
+ //
275
+ //
276
+ //
277
+ //
278
+ //
279
+ //
280
+
281
+ /* harmony default export */ var SliderCaptchavue_type_script_lang_js = ({
282
+ name: 'SliderCaptcha',
283
+ props:
284
+ {
285
+ value: {
286
+ type: Boolean,
287
+ default: false
288
+ },
289
+ modelValue: {
290
+ type: Boolean,
291
+ default: false
292
+ },
293
+ loading: {
294
+ type: Boolean,
295
+ default: false
296
+ },
297
+ title: {
298
+ type: String,
299
+ default: '滑块安全验证'
300
+ },
301
+ tips: {
302
+ type: String,
303
+ default: '拖动下方滑块完成拼图'
304
+ },
305
+ successText: {
306
+ type: String,
307
+ default: '验证成功'
308
+ },
309
+ errorText:{
310
+ type: String,
311
+ default: '是不是太难了,咱换一个'
312
+ },
313
+ question: {
314
+ type: String,
315
+ default: ''
316
+ },
317
+ refreshText:{
318
+ type: String,
319
+ default: '刷新'
320
+ },
321
+ options: {
322
+ type: Object,
323
+ default() {
324
+ return {
325
+ sliderImg:'',
326
+ sliderKey: '',
327
+ sliderY: ''
328
+ }
329
+ }
330
+ }
331
+ },
332
+ watch: {
333
+ value: {
334
+ handler: function(val) {
335
+ this.init(val)
336
+ },
337
+ immediate: true
338
+ },
339
+ modelValue: {
340
+ handler: function(val) {
341
+ this.init(val)
342
+ },
343
+ immediate: true
344
+ },
345
+ options: {
346
+ handler: function(option) {
347
+ this.clear()
348
+ this.sliderImg = option.sliderImg
349
+ this.sliderKey = option.sliderKey
350
+ this.sliderY = option.sliderY
351
+ },
352
+ deep:true,
353
+ immediate: true
354
+ }
355
+ },
356
+ data() {
357
+ return {
358
+ dialogVisible: false,
359
+ mask: false,
360
+ success: false,
361
+ failed: false,
362
+ sliderImg:'',
363
+ sliderKey: '',
364
+ sliderX: 27,
365
+ sliderY: '',
366
+ sliderMoveDrawLeft: '27px',
367
+ sliderMoveLeft: '20px',
368
+ shock: false,
369
+ tipEvents: {},
370
+ sliderMoveX: 0,
371
+ questionMessage: false,
372
+ refreshMessage: false,
373
+ }
374
+ },
375
+ methods: {
376
+ init(open)
377
+ {
378
+ this.dialogVisible = open
379
+ if (open) {
380
+ this.clear()
381
+ }
382
+ },
383
+ clear() {
384
+ this.mask = false
385
+ this.success = false
386
+ this.failed = false
387
+ this.sliderImg = ''
388
+ this.sliderKey = ''
389
+ this.sliderX = 27
390
+ this.sliderMoveDrawLeft = '27px',
391
+ this.sliderMoveLeft = '20px',
392
+ this.sliderY = ''
393
+ },
394
+ check(sliderKey, sliderX)
395
+ {
396
+ this.$emit('check', sliderKey, sliderX, this.done, this.error)
397
+ },
398
+ done()
399
+ {
400
+ this.success = true
401
+ },
402
+ error() {
403
+ this.failed = true
404
+ this.mask = true
405
+ this.shock = true
406
+ setTimeout(() => {
407
+ this.shock = false
408
+ this.$emit('error')
409
+ }, 1000)
410
+ },
411
+ close() {
412
+ this.dialogVisible = false
413
+ this.$emit('input', this.dialogVisible)
414
+ this.$emit('update:modelValue', this.dialogVisible)
415
+ this.$emit('close')
416
+ },
417
+ refresh()
418
+ {
419
+ this.$emit('refresh')
420
+ },
421
+ sliderTouchStart(e) {
422
+ // 移动触摸移动
423
+ const that = this
424
+ const slider = e.target
425
+ that.sliderMoveX = e.touches[0].clientX - slider.offsetLeft
426
+ },
427
+ sliderTouchMove(e) {
428
+ const that = this
429
+ const left = e.touches[0].clientX - that.sliderMoveX
430
+ if (left >= 20 && left <= 280) {
431
+ that.sliderMoveDrawLeft = 5 + left + 'px';
432
+ that.sliderMoveLeft = left + 'px';
433
+ that.sliderX = 5 + left;
434
+ }
435
+ },
436
+ sliderEnd(){
437
+ this.check(this.sliderKey, this.sliderX);
438
+ },
439
+ sliderStart(e) {
440
+ var that = this
441
+ const slider = e.target // 获取目标元素
442
+ // 算出鼠标相对元素的位置
443
+ that.sliderMoveX = e.clientX - slider.offsetLeft
444
+
445
+ document.onmousemove = (e) => {
446
+ const left = e.clientX - that.sliderMoveX
447
+ if (left >= 20 && left <= 280) {
448
+ // slider.style.left = left + 'px'
449
+ that.sliderMoveDrawLeft = 5 + left + 'px';
450
+ that.sliderMoveLeft = left + 'px';
451
+ that.sliderX = 5 + left;
452
+ }
453
+ }
454
+
455
+ document.onmouseup = () => {
456
+ document.onmousemove = null
457
+ document.onmouseup = null
458
+ this.check(this.sliderKey, this.sliderX);
459
+ }
460
+ }
461
+ }
462
+ });
463
+
464
+ ;// ./src/packages-slider-captcha/SliderCaptcha.vue?vue&type=script&lang=js
465
+ /* harmony default export */ var packages_slider_captcha_SliderCaptchavue_type_script_lang_js = (SliderCaptchavue_type_script_lang_js);
466
+ ;// ../../../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-51.use[0]!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-51.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-51.use[2]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/packages-slider-captcha/SliderCaptcha.vue?vue&type=style&index=0&id=ef864250&prod&scoped=true&lang=css
467
+ // extracted by mini-css-extract-plugin
468
+
469
+ ;// ./src/packages-slider-captcha/SliderCaptcha.vue?vue&type=style&index=0&id=ef864250&prod&scoped=true&lang=css
470
+
471
+ ;// ../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
472
+ /* globals __VUE_SSR_CONTEXT__ */
473
+
474
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
475
+ // This module is a runtime utility for cleaner component module output and will
476
+ // be included in the final webpack user bundle.
477
+
478
+ function normalizeComponent(
479
+ scriptExports,
480
+ render,
481
+ staticRenderFns,
482
+ functionalTemplate,
483
+ injectStyles,
484
+ scopeId,
485
+ moduleIdentifier /* server only */,
486
+ shadowMode /* vue-cli only */
487
+ ) {
488
+ // Vue.extend constructor export interop
489
+ var options =
490
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
491
+
492
+ // render functions
493
+ if (render) {
494
+ options.render = render
495
+ options.staticRenderFns = staticRenderFns
496
+ options._compiled = true
497
+ }
498
+
499
+ // functional template
500
+ if (functionalTemplate) {
501
+ options.functional = true
502
+ }
503
+
504
+ // scopedId
505
+ if (scopeId) {
506
+ options._scopeId = 'data-v-' + scopeId
507
+ }
508
+
509
+ var hook
510
+ if (moduleIdentifier) {
511
+ // server build
512
+ hook = function (context) {
513
+ // 2.3 injection
514
+ context =
515
+ context || // cached call
516
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
517
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
518
+ // 2.2 with runInNewContext: true
519
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
520
+ context = __VUE_SSR_CONTEXT__
521
+ }
522
+ // inject component styles
523
+ if (injectStyles) {
524
+ injectStyles.call(this, context)
525
+ }
526
+ // register component module identifier for async chunk inferrence
527
+ if (context && context._registeredComponents) {
528
+ context._registeredComponents.add(moduleIdentifier)
529
+ }
530
+ }
531
+ // used by ssr in case component is cached and beforeCreate
532
+ // never gets called
533
+ options._ssrRegister = hook
534
+ } else if (injectStyles) {
535
+ hook = shadowMode
536
+ ? function () {
537
+ injectStyles.call(
538
+ this,
539
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
540
+ )
541
+ }
542
+ : injectStyles
543
+ }
544
+
545
+ if (hook) {
546
+ if (options.functional) {
547
+ // for template-only hot-reload because in that case the render fn doesn't
548
+ // go through the normalizer
549
+ options._injectStyles = hook
550
+ // register for functional component in vue file
551
+ var originalRender = options.render
552
+ options.render = function renderWithStyleInjection(h, context) {
553
+ hook.call(context)
554
+ return originalRender(h, context)
555
+ }
556
+ } else {
557
+ // inject component registration as beforeCreate hook
558
+ var existing = options.beforeCreate
559
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
560
+ }
561
+ }
562
+
563
+ return {
564
+ exports: scriptExports,
565
+ options: options
566
+ }
567
+ }
568
+
569
+ ;// ./src/packages-slider-captcha/SliderCaptcha.vue
570
+
571
+
572
+
573
+ ;
574
+
575
+
576
+ /* normalize component */
577
+
578
+ var component = normalizeComponent(
579
+ packages_slider_captcha_SliderCaptchavue_type_script_lang_js,
580
+ render,
581
+ staticRenderFns,
582
+ false,
583
+ null,
584
+ "ef864250",
585
+ null
586
+
587
+ )
588
+
589
+ /* harmony default export */ var SliderCaptcha = (component.exports);
590
+ ;// ../../../../node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/packages-slider-captcha/RotateCaptcha.vue?vue&type=template&id=0cc21023&scoped=true
591
+ var RotateCaptchavue_type_template_id_0cc21023_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.dialogVisible)?_c('div',{staticClass:"lang-dialog__wrapper"},[_c('div',{staticClass:"lang-dialog"},[_c('div',{staticClass:"lang-dialog__header"},[_c('div',{staticClass:"lang-dialog__title"},[_vm._t("title",function(){return [_vm._v(_vm._s(_vm.title))]})],2),_c('button',{staticClass:"lang-dialog-header-btn",attrs:{"type":"button"},on:{"click":_vm.close}},[_c('i',{staticClass:"lang-icon-close"})])]),_c('div',{staticClass:"lang-dialog__body"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.failed),expression:"failed"}],staticClass:"tips"},[_vm._t("errorText",function(){return [_vm._v(_vm._s(_vm.errorText))]})],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.success),expression:"success"}],staticClass:"tips"},[_vm._t("successText",function(){return [_vm._v(_vm._s(_vm.successText))]})],2),_c('div',{directives:[{name:"show",rawName:"v-show",value:(!_vm.failed && !_vm.success),expression:"!failed && !success"}],staticClass:"tips"},[_vm._t("tips",function(){return [_vm._v(_vm._s(_vm.tips))]})],2),_c('div',{staticClass:"rotate-body"},[_c('div',{staticClass:"rotate-bg"},[_c('img',{directives:[{name:"show",rawName:"v-show",value:(_vm.rotateImg),expression:"rotateImg"}],class:{'slider-shock':_vm.shock},style:({'transform': 'rotate(' + _vm.rotateX + 'deg)'}),attrs:{"src":_vm.rotateImg,"alt":""}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isMove),expression:"isMove"}],staticClass:"rotate-correcting"}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.loading || _vm.success || _vm.failed),expression:"loading || success || failed"}],staticClass:"rotate-mask"}),_c('div',{staticClass:"rotate-icon",class:[
592
+ _vm.loading ? 'rotate-icon-loading':'',
593
+ _vm.failed ? 'rotate-icon-error' : '',
594
+ _vm.success ? 'rotate-icon-success' : ''
595
+ ]})]),_c('div',{staticClass:"rotate-progress"},[_c('div',{staticClass:"rotate-progress-bottom",class:{'slider-shock':_vm.shock}},[_c('p',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isSlider || _vm.rotateX === 0),expression:"!isSlider || rotateX === 0"}]},[_vm._v("拖动滑块使图片角度为正")])]),_c('div',{staticClass:"rotate-progress-btn",class:[(!_vm.isSlider || _vm.rotateX === 0) ? 'rotate-btn-slider-up' :
596
+ (_vm.loading ? 'rotate-btn-slider-loading' : (_vm.failed ? 'rotate-btn-slider-error' : 'rotate-btn-slider-active')),{'slider-shock':_vm.shock}, {'slider-start-shock': _vm.btnShock}],style:({'left': _vm.rotateMoveLeft}),on:{"&touchstart":function($event){return _vm.rotateTouchStart.apply(null, arguments)},"&touchmove":function($event){return _vm.rotateTouchMove.apply(null, arguments)},"&touchend":function($event){return _vm.rotateEnd.apply(null, arguments)},"mousedown":_vm.rotateStart}},[_c('p',{class:[(!_vm.isSlider || _vm.rotateX === 0) ? 'rotate-black' : 'rotate-white']})])])]),_c('div',{staticStyle:{"position":"relative"}},[_c('div',{staticClass:"slider-refresh",staticStyle:{"left":"35px"},on:{"click":function($event){$event.stopPropagation();return _vm.refresh.apply(null, arguments)},"mouseenter":function($event){_vm.refreshMessage = true},"mouseleave":function($event){_vm.refreshMessage = false}}},[_c('div',{staticClass:"slider-tools-btn lang-tips",staticStyle:{"width":"24px","height":"24px"}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.refreshMessage),expression:"refreshMessage"}],staticClass:"lang-tips-item lang-tips-bottom"},[_vm._v(" "+_vm._s(_vm.refreshText))]),_c('img',{attrs:{"src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAPZSURBVHgB7VpLTuNAEC2b8NlNboDnBJgbJCdgOAFkAQixGDgB9gkIC4T4SIETTOYEhBOQOcF4buAVQojPvGfZGbv9iWMbE0vzpMam3e7Uq66u7q6yJhXh/PzcwKWjaZqJsop7E6XtF8JlwTPn7e3tF64jXMf7+/uOlIAmJTAYDNovLy/f39/fOyxSACSCd29A5r4ImUIEfG1buq5vyD8NlwbI3Ly+vtp5iFAGtpuJQKBxaOtQKhRcgQvF9Hd2duy0BldXV8eQQwMBKzeBs7Mzs9Vq/cCtkdYGpkBzuIcAY9r3ysqK2+v1aPse+cfHRwN9GL65rUHjnYyf5FzpqqNB4VFvodi5CVxeXtLOLUnWuoNn/eXl5dtA2LwIJj4IH0uyYthfb29vbxgWnve5CYRfUgVHsdD5rVQAkNnOIHKEZ1/CcgQE9KxO04SHxk+XlpbWqxKegDD0RF2UpD5PUpQoLUkBzSbhJRd1R/wx+QD49r6N0XD80ZiKxBGgbdKulWoXM7/7UcKHQdOAonp52sYI0FuA/Z1S7Ql/cHAwlpoAb7Wap12MAP28xCeSXafwGY4jhggBmo76IicsJmtfasIswhPqCFjK/w78uyU1YVbhiYkXovZh+1vKc2vWxako+PvcHuDWzvnKiH+0UAeW4rocmM5XmXNMTChJ+9IAeASwaPHwYYQfYKX9KQ2ARwB7cDNcyV1lXbZfFh4B/2AyAba5jdA+4RGAwJFtMvfy0hB4BGAyplLvSEMQeKHICJSNFNQJXRqO/wQ+GwGBiM/3D9uNQEDAUeoNaQg8AoxVRip13ZSGIFgHIgsXFrYNaQiClXgYruTCxrOxNAAeAX/hckL17efn521pACZuVA0oNcWMJgQQiI0c3BmAvbi4+CZzjgkB7v8Twnon8z4XpkUlDMyFXCG+z0KEACczo75Km8Pr6+stmVPEwus0GWj9QaKrMZNz3d3d3VoPOkyq+IvqKG2LH9vMcS4gPrMp0f1RG5P6zj/81wKOOuKjDyAwQPmN/VknqV3ibtSPg6qm5JGAZzqUDwZD+wg03CjVnaS2mRmahGBXgD7CLnbVkQvffAe4jblvmPB6kglPTTFlkHCkohRTjuznUVqAOVeSzzebk5THDopVJFGdQ/BIki8JudOsfvCXiQ8jtTNk3WG797gdLSwsuIuLi044zfr09MTkiclVHte1rOw++hqjr81pSpk5U59hUlWBhO28OYmynxpUucBxK3PKPdkszqHUxx6hRDXTUoXWCMZhcRkWSZQTpQiEEf7cBtc1FAP3RqiJC2EpIF3hH54Coe1hWVf8FxUNF4vY5AiIAAAAAElFTkSuQmCC"}})])])])])])]):_vm._e()}
597
+ var RotateCaptchavue_type_template_id_0cc21023_scoped_true_staticRenderFns = []
598
+
599
+
600
+ ;// ../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/packages-slider-captcha/RotateCaptcha.vue?vue&type=script&lang=js
601
+ //
602
+ //
603
+ //
604
+ //
605
+ //
606
+ //
607
+ //
608
+ //
609
+ //
610
+ //
611
+ //
612
+ //
613
+ //
614
+ //
615
+ //
616
+ //
617
+ //
618
+ //
619
+ //
620
+ //
621
+ //
622
+ //
623
+ //
624
+ //
625
+ //
626
+ //
627
+ //
628
+ //
629
+ //
630
+ //
631
+ //
632
+ //
633
+ //
634
+ //
635
+ //
636
+ //
637
+ //
638
+ //
639
+ //
640
+ //
641
+ //
642
+ //
643
+ //
644
+ //
645
+ //
646
+ //
647
+ //
648
+ //
649
+ //
650
+ //
651
+ //
652
+ //
653
+ //
654
+ //
655
+ //
656
+ //
657
+ //
658
+ //
659
+ //
660
+ //
661
+ //
662
+ //
663
+ //
664
+ //
665
+ //
666
+ //
667
+ //
668
+ //
669
+ //
670
+ //
671
+ //
672
+ //
673
+
674
+ /* harmony default export */ var RotateCaptchavue_type_script_lang_js = ({
675
+ name: 'RotateCaptcha',
676
+ props:
677
+ {
678
+ value: {
679
+ type: Boolean,
680
+ default: false
681
+ },
682
+ modelValue: {
683
+ type: Boolean,
684
+ default: false
685
+ },
686
+ loading: {
687
+ type: Boolean,
688
+ default: false
689
+ },
690
+ title: {
691
+ type: String,
692
+ default: '安全验证'
693
+ },
694
+ tips: {
695
+ type: String,
696
+ default: '请完成下方验证'
697
+ },
698
+ successText: {
699
+ type: String,
700
+ default: '验证成功'
701
+ },
702
+ errorText:{
703
+ type: String,
704
+ default: '是不是太难了,咱换一个'
705
+ },
706
+ question: {
707
+ type: String,
708
+ default: ''
709
+ },
710
+ refreshText: {
711
+ type: String,
712
+ default: ''
713
+ },
714
+ options: {
715
+ type: Object,
716
+ default() {
717
+ return {
718
+ rotateImg:'',
719
+ rotateKey: ''
720
+ }
721
+ }
722
+ }
723
+ },
724
+ watch: {
725
+ value: {
726
+ handler: function(val) {
727
+ this.init(val)
728
+ },
729
+ immediate: true
730
+ },
731
+ modelValue: {
732
+ handler: function(val) {
733
+ this.init(val)
734
+ },
735
+ immediate: true
736
+ },
737
+ options: {
738
+ handler: function(option) {
739
+ this.clear()
740
+ this.rotateImg = option.rotateImg
741
+ this.rotateKey = option.rotateKey
742
+ },
743
+ deep:true,
744
+ immediate: true
745
+ }
746
+ },
747
+ data() {
748
+ return {
749
+ dialogVisible: false,
750
+ btnShock: false,
751
+ success: false,
752
+ failed: false,
753
+ rotateImg: '',
754
+ rotateKey: '',
755
+ rotateX: 0,
756
+ rotateRate: 1.7,
757
+ rotateWdtih: 212,
758
+ isSlider: false,
759
+ rotateMoveLeft: '0px',
760
+ isMove: false,
761
+ shock: false,
762
+ tipEvents: {},
763
+ rotateMoveX: 0,
764
+ questionMessage: false,
765
+ refreshMessage: false,
766
+ }
767
+ },
768
+ methods: {
769
+ init(open) {
770
+ this.dialogVisible = open
771
+ if(open) {
772
+ this.btnShock = open
773
+ setTimeout(() => {
774
+ this.btnShock = false
775
+ }, 1000)
776
+ this.clear()
777
+ }
778
+ },
779
+ clear() {
780
+ this.success = false
781
+ this.failed = false
782
+ this.rotateImg = ''
783
+ this.rotateKey = ''
784
+ this.rotateX = 0
785
+ this.rotateMoveLeft = '0px'
786
+ },
787
+ check(rotateKey, rotateX)
788
+ {
789
+ this.$emit('check', rotateKey, rotateX, this.done, this.error)
790
+ },
791
+ done()
792
+ {
793
+ this.success = true
794
+ },
795
+ error() {
796
+ this.failed = true
797
+ this.shock = true
798
+ setTimeout(() => {
799
+ this.shock = false
800
+ this.isSlider = false
801
+ this.rotateMoveLeft = '0px'
802
+ this.$emit('error')
803
+ }, 1000)
804
+ },
805
+ close() {
806
+ this.dialogVisible = false
807
+ this.$emit('input', this.dialogVisible)
808
+ this.$emit('update:modelValue', this.dialogVisible)
809
+ this.$emit('close')
810
+ },
811
+ refresh()
812
+ {
813
+ this.$emit('refresh')
814
+ },
815
+ rotateTouchStart(e) {
816
+ // 移动触摸移动
817
+ const that = this
818
+ if(that.loading || that.failed || that.success) return
819
+ const rotate = e.target
820
+ that.rotateMoveX = e.touches[0].clientX - rotate.offsetLeft
821
+ that.isSlider = true
822
+ that.isMove = true
823
+ },
824
+ rotateTouchMove(e) {
825
+ const that = this
826
+ if(that.loading || that.failed || that.success) return
827
+ let left = e.touches[0].clientX - that.rotateMoveX
828
+ if (left >= 0 && left <= that.rotateWdtih) {
829
+ if (left < 5) left = 0
830
+ that.rotateMoveLeft = left + 'px'
831
+ that.rotateX = left * that.rotateRate
832
+ }
833
+ },
834
+ rotateEnd() {
835
+ if(this.loading || this.failed || this.success) return
836
+ this.isMove = false
837
+ this.check(this.rotateKey, this.rotateX)
838
+ },
839
+ rotateStart(e) {
840
+ var that = this
841
+ if(that.loading || that.failed || that.success) return
842
+ const rotate = e.target // 获取目标元素
843
+ // 算出鼠标相对元素的位置
844
+ const rotateX = e.clientX - rotate.offsetLeft
845
+
846
+ that.isSlider = true
847
+ that.isMove = true
848
+ document.onmousemove = (e) => {
849
+ let left = e.clientX - rotateX
850
+ if (left >= 0 && left <= that.rotateWdtih) {
851
+ if (left < 5) left = 0
852
+ that.rotateMoveLeft = left + 'px'
853
+ that.rotateX = left * that.rotateRate
854
+ // console.log(that.rotateX)
855
+ }
856
+ }
857
+
858
+ document.onmouseup = () => {
859
+ // console.log('放开了我')
860
+ that.isMove = false
861
+ document.onmousemove = null
862
+ document.onmouseup = null
863
+ this.check(this.rotateKey, this.rotateX)
864
+ }
865
+ }
866
+ }
867
+ });
868
+
869
+ ;// ./src/packages-slider-captcha/RotateCaptcha.vue?vue&type=script&lang=js
870
+ /* harmony default export */ var packages_slider_captcha_RotateCaptchavue_type_script_lang_js = (RotateCaptchavue_type_script_lang_js);
871
+ ;// ../../../../node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-51.use[0]!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-51.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-51.use[2]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/packages-slider-captcha/RotateCaptcha.vue?vue&type=style&index=0&id=0cc21023&prod&scoped=true&lang=css
872
+ // extracted by mini-css-extract-plugin
873
+
874
+ ;// ./src/packages-slider-captcha/RotateCaptcha.vue?vue&type=style&index=0&id=0cc21023&prod&scoped=true&lang=css
875
+
876
+ ;// ./src/packages-slider-captcha/RotateCaptcha.vue
877
+
878
+
879
+
880
+ ;
881
+
882
+
883
+ /* normalize component */
884
+
885
+ var RotateCaptcha_component = normalizeComponent(
886
+ packages_slider_captcha_RotateCaptchavue_type_script_lang_js,
887
+ RotateCaptchavue_type_template_id_0cc21023_scoped_true_render,
888
+ RotateCaptchavue_type_template_id_0cc21023_scoped_true_staticRenderFns,
889
+ false,
890
+ null,
891
+ "0cc21023",
892
+ null
893
+
894
+ )
895
+
896
+ /* harmony default export */ var RotateCaptcha = (RotateCaptcha_component.exports);
897
+ ;// ./src/packages-slider-captcha/index.js
898
+
899
+
900
+
901
+ const Components = {
902
+ SliderCaptcha: SliderCaptcha,
903
+ RotateCaptcha: RotateCaptcha
904
+ }
905
+
906
+ const myComponents = {
907
+ install(app) {
908
+ Object.keys(Components).forEach((key) => {
909
+ app.component(key, Components[key])
910
+ })
911
+ }
912
+ }
913
+
914
+ // 导出
915
+ /* harmony default export */ var packages_slider_captcha = (myComponents);
916
+ ;// ../../../../node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
917
+
918
+
919
+ /* harmony default export */ var entry_lib = (packages_slider_captcha);
920
+
921
+
922
+ }();
923
+ /******/ return __webpack_exports__;
924
+ /******/ })()
925
+ ;
926
+ });
927
+ //# sourceMappingURL=tinydev-slider-captcha.umd.js.map