loader-module 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,849 @@
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["loader-module"] = factory();
8
+ else
9
+ root["loader-module"] = factory();
10
+ })((typeof self !== 'undefined' ? self : this), function() {
11
+ return /******/ (function(modules) { // webpackBootstrap
12
+ /******/ // The module cache
13
+ /******/ var installedModules = {};
14
+ /******/
15
+ /******/ // The require function
16
+ /******/ function __webpack_require__(moduleId) {
17
+ /******/
18
+ /******/ // Check if module is in cache
19
+ /******/ if(installedModules[moduleId]) {
20
+ /******/ return installedModules[moduleId].exports;
21
+ /******/ }
22
+ /******/ // Create a new module (and put it into the cache)
23
+ /******/ var module = installedModules[moduleId] = {
24
+ /******/ i: moduleId,
25
+ /******/ l: false,
26
+ /******/ exports: {}
27
+ /******/ };
28
+ /******/
29
+ /******/ // Execute the module function
30
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
+ /******/
32
+ /******/ // Flag the module as loaded
33
+ /******/ module.l = true;
34
+ /******/
35
+ /******/ // Return the exports of the module
36
+ /******/ return module.exports;
37
+ /******/ }
38
+ /******/
39
+ /******/
40
+ /******/ // expose the modules object (__webpack_modules__)
41
+ /******/ __webpack_require__.m = modules;
42
+ /******/
43
+ /******/ // expose the module cache
44
+ /******/ __webpack_require__.c = installedModules;
45
+ /******/
46
+ /******/ // define getter function for harmony exports
47
+ /******/ __webpack_require__.d = function(exports, name, getter) {
48
+ /******/ if(!__webpack_require__.o(exports, name)) {
49
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
50
+ /******/ }
51
+ /******/ };
52
+ /******/
53
+ /******/ // define __esModule on exports
54
+ /******/ __webpack_require__.r = function(exports) {
55
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
56
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
57
+ /******/ }
58
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
59
+ /******/ };
60
+ /******/
61
+ /******/ // create a fake namespace object
62
+ /******/ // mode & 1: value is a module id, require it
63
+ /******/ // mode & 2: merge all properties of value into the ns
64
+ /******/ // mode & 4: return value when already ns object
65
+ /******/ // mode & 8|1: behave like require
66
+ /******/ __webpack_require__.t = function(value, mode) {
67
+ /******/ if(mode & 1) value = __webpack_require__(value);
68
+ /******/ if(mode & 8) return value;
69
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
70
+ /******/ var ns = Object.create(null);
71
+ /******/ __webpack_require__.r(ns);
72
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
73
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
74
+ /******/ return ns;
75
+ /******/ };
76
+ /******/
77
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
78
+ /******/ __webpack_require__.n = function(module) {
79
+ /******/ var getter = module && module.__esModule ?
80
+ /******/ function getDefault() { return module['default']; } :
81
+ /******/ function getModuleExports() { return module; };
82
+ /******/ __webpack_require__.d(getter, 'a', getter);
83
+ /******/ return getter;
84
+ /******/ };
85
+ /******/
86
+ /******/ // Object.prototype.hasOwnProperty.call
87
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
88
+ /******/
89
+ /******/ // __webpack_public_path__
90
+ /******/ __webpack_require__.p = "";
91
+ /******/
92
+ /******/
93
+ /******/ // Load entry module and return exports
94
+ /******/ return __webpack_require__(__webpack_require__.s = "fb15");
95
+ /******/ })
96
+ /************************************************************************/
97
+ /******/ ({
98
+
99
+ /***/ "24fb":
100
+ /***/ (function(module, exports, __webpack_require__) {
101
+
102
+ "use strict";
103
+
104
+
105
+ /*
106
+ MIT License http://www.opensource.org/licenses/mit-license.php
107
+ Author Tobias Koppers @sokra
108
+ */
109
+ // css base code, injected by the css-loader
110
+ // eslint-disable-next-line func-names
111
+ module.exports = function (useSourceMap) {
112
+ var list = []; // return the list of modules as css string
113
+
114
+ list.toString = function toString() {
115
+ return this.map(function (item) {
116
+ var content = cssWithMappingToString(item, useSourceMap);
117
+
118
+ if (item[2]) {
119
+ return "@media ".concat(item[2], " {").concat(content, "}");
120
+ }
121
+
122
+ return content;
123
+ }).join('');
124
+ }; // import a list of modules into the list
125
+ // eslint-disable-next-line func-names
126
+
127
+
128
+ list.i = function (modules, mediaQuery, dedupe) {
129
+ if (typeof modules === 'string') {
130
+ // eslint-disable-next-line no-param-reassign
131
+ modules = [[null, modules, '']];
132
+ }
133
+
134
+ var alreadyImportedModules = {};
135
+
136
+ if (dedupe) {
137
+ for (var i = 0; i < this.length; i++) {
138
+ // eslint-disable-next-line prefer-destructuring
139
+ var id = this[i][0];
140
+
141
+ if (id != null) {
142
+ alreadyImportedModules[id] = true;
143
+ }
144
+ }
145
+ }
146
+
147
+ for (var _i = 0; _i < modules.length; _i++) {
148
+ var item = [].concat(modules[_i]);
149
+
150
+ if (dedupe && alreadyImportedModules[item[0]]) {
151
+ // eslint-disable-next-line no-continue
152
+ continue;
153
+ }
154
+
155
+ if (mediaQuery) {
156
+ if (!item[2]) {
157
+ item[2] = mediaQuery;
158
+ } else {
159
+ item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
160
+ }
161
+ }
162
+
163
+ list.push(item);
164
+ }
165
+ };
166
+
167
+ return list;
168
+ };
169
+
170
+ function cssWithMappingToString(item, useSourceMap) {
171
+ var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring
172
+
173
+ var cssMapping = item[3];
174
+
175
+ if (!cssMapping) {
176
+ return content;
177
+ }
178
+
179
+ if (useSourceMap && typeof btoa === 'function') {
180
+ var sourceMapping = toComment(cssMapping);
181
+ var sourceURLs = cssMapping.sources.map(function (source) {
182
+ return "/*# sourceURL=".concat(cssMapping.sourceRoot || '').concat(source, " */");
183
+ });
184
+ return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
185
+ }
186
+
187
+ return [content].join('\n');
188
+ } // Adapted from convert-source-map (MIT)
189
+
190
+
191
+ function toComment(sourceMap) {
192
+ // eslint-disable-next-line no-undef
193
+ var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
194
+ var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
195
+ return "/*# ".concat(data, " */");
196
+ }
197
+
198
+ /***/ }),
199
+
200
+ /***/ "2764":
201
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
202
+
203
+ "use strict";
204
+
205
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7a3267dc-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/LoaderVuex.vue?vue&type=template&id=76519c8e&scoped=true
206
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-overlay',{attrs:{"value":_vm.isLoading,"opacity":_vm.opacity,"z-index":_vm.zIndex}},[_c('v-progress-circular',{attrs:{"indeterminate":"","size":_vm.size,"color":_vm.color}})],1)}
207
+ var staticRenderFns = []
208
+
209
+
210
+ // CONCATENATED MODULE: ./src/LoaderVuex.vue?vue&type=template&id=76519c8e&scoped=true
211
+
212
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/LoaderVuex.vue?vue&type=script&lang=js
213
+ //
214
+ //
215
+ //
216
+ //
217
+ //
218
+ //
219
+ //
220
+ //
221
+ //
222
+ //
223
+
224
+ /* harmony default export */ var LoaderVuexvue_type_script_lang_js = ({
225
+ name: 'loader-vuex',
226
+ props: {
227
+ opacity: {
228
+ type: Number,
229
+ default: 0.7
230
+ },
231
+ zIndex: {
232
+ type: Number,
233
+ default: 5
234
+ },
235
+ size: {
236
+ type: Number,
237
+ default: 64
238
+ },
239
+ color: {
240
+ type: String,
241
+ default: 'primary'
242
+ }
243
+ },
244
+ computed: {
245
+ isLoading() {
246
+ return this.$store.state.loaderModule.loaderDialog
247
+ }
248
+ }
249
+ });
250
+
251
+ // CONCATENATED MODULE: ./src/LoaderVuex.vue?vue&type=script&lang=js
252
+ /* harmony default export */ var src_LoaderVuexvue_type_script_lang_js = (LoaderVuexvue_type_script_lang_js);
253
+ // EXTERNAL MODULE: ./src/LoaderVuex.vue?vue&type=style&index=0&id=76519c8e&prod&scoped=true&lang=css
254
+ var LoaderVuexvue_type_style_index_0_id_76519c8e_prod_scoped_true_lang_css = __webpack_require__("55c5");
255
+
256
+ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js
257
+ /* globals __VUE_SSR_CONTEXT__ */
258
+
259
+ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
260
+ // This module is a runtime utility for cleaner component module output and will
261
+ // be included in the final webpack user bundle.
262
+
263
+ function normalizeComponent(
264
+ scriptExports,
265
+ render,
266
+ staticRenderFns,
267
+ functionalTemplate,
268
+ injectStyles,
269
+ scopeId,
270
+ moduleIdentifier /* server only */,
271
+ shadowMode /* vue-cli only */
272
+ ) {
273
+ // Vue.extend constructor export interop
274
+ var options =
275
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
276
+
277
+ // render functions
278
+ if (render) {
279
+ options.render = render
280
+ options.staticRenderFns = staticRenderFns
281
+ options._compiled = true
282
+ }
283
+
284
+ // functional template
285
+ if (functionalTemplate) {
286
+ options.functional = true
287
+ }
288
+
289
+ // scopedId
290
+ if (scopeId) {
291
+ options._scopeId = 'data-v-' + scopeId
292
+ }
293
+
294
+ var hook
295
+ if (moduleIdentifier) {
296
+ // server build
297
+ hook = function (context) {
298
+ // 2.3 injection
299
+ context =
300
+ context || // cached call
301
+ (this.$vnode && this.$vnode.ssrContext) || // stateful
302
+ (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
303
+ // 2.2 with runInNewContext: true
304
+ if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
305
+ context = __VUE_SSR_CONTEXT__
306
+ }
307
+ // inject component styles
308
+ if (injectStyles) {
309
+ injectStyles.call(this, context)
310
+ }
311
+ // register component module identifier for async chunk inferrence
312
+ if (context && context._registeredComponents) {
313
+ context._registeredComponents.add(moduleIdentifier)
314
+ }
315
+ }
316
+ // used by ssr in case component is cached and beforeCreate
317
+ // never gets called
318
+ options._ssrRegister = hook
319
+ } else if (injectStyles) {
320
+ hook = shadowMode
321
+ ? function () {
322
+ injectStyles.call(
323
+ this,
324
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
325
+ )
326
+ }
327
+ : injectStyles
328
+ }
329
+
330
+ if (hook) {
331
+ if (options.functional) {
332
+ // for template-only hot-reload because in that case the render fn doesn't
333
+ // go through the normalizer
334
+ options._injectStyles = hook
335
+ // register for functional component in vue file
336
+ var originalRender = options.render
337
+ options.render = function renderWithStyleInjection(h, context) {
338
+ hook.call(context)
339
+ return originalRender(h, context)
340
+ }
341
+ } else {
342
+ // inject component registration as beforeCreate hook
343
+ var existing = options.beforeCreate
344
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
345
+ }
346
+ }
347
+
348
+ return {
349
+ exports: scriptExports,
350
+ options: options
351
+ }
352
+ }
353
+
354
+ // CONCATENATED MODULE: ./src/LoaderVuex.vue
355
+
356
+
357
+
358
+
359
+
360
+
361
+ /* normalize component */
362
+
363
+ var component = normalizeComponent(
364
+ src_LoaderVuexvue_type_script_lang_js,
365
+ render,
366
+ staticRenderFns,
367
+ false,
368
+ null,
369
+ "76519c8e",
370
+ null
371
+
372
+ )
373
+
374
+ /* harmony default export */ var LoaderVuex = __webpack_exports__["a"] = (component.exports);
375
+
376
+ /***/ }),
377
+
378
+ /***/ "499e":
379
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
380
+
381
+ "use strict";
382
+ // ESM COMPAT FLAG
383
+ __webpack_require__.r(__webpack_exports__);
384
+
385
+ // EXPORTS
386
+ __webpack_require__.d(__webpack_exports__, "default", function() { return /* binding */ addStylesClient; });
387
+
388
+ // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
389
+ /**
390
+ * Translates the list format produced by css-loader into something
391
+ * easier to manipulate.
392
+ */
393
+ function listToStyles (parentId, list) {
394
+ var styles = []
395
+ var newStyles = {}
396
+ for (var i = 0; i < list.length; i++) {
397
+ var item = list[i]
398
+ var id = item[0]
399
+ var css = item[1]
400
+ var media = item[2]
401
+ var sourceMap = item[3]
402
+ var part = {
403
+ id: parentId + ':' + i,
404
+ css: css,
405
+ media: media,
406
+ sourceMap: sourceMap
407
+ }
408
+ if (!newStyles[id]) {
409
+ styles.push(newStyles[id] = { id: id, parts: [part] })
410
+ } else {
411
+ newStyles[id].parts.push(part)
412
+ }
413
+ }
414
+ return styles
415
+ }
416
+
417
+ // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
418
+ /*
419
+ MIT License http://www.opensource.org/licenses/mit-license.php
420
+ Author Tobias Koppers @sokra
421
+ Modified by Evan You @yyx990803
422
+ */
423
+
424
+
425
+
426
+ var hasDocument = typeof document !== 'undefined'
427
+
428
+ if (typeof DEBUG !== 'undefined' && DEBUG) {
429
+ if (!hasDocument) {
430
+ throw new Error(
431
+ 'vue-style-loader cannot be used in a non-browser environment. ' +
432
+ "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
433
+ ) }
434
+ }
435
+
436
+ /*
437
+ type StyleObject = {
438
+ id: number;
439
+ parts: Array<StyleObjectPart>
440
+ }
441
+
442
+ type StyleObjectPart = {
443
+ css: string;
444
+ media: string;
445
+ sourceMap: ?string
446
+ }
447
+ */
448
+
449
+ var stylesInDom = {/*
450
+ [id: number]: {
451
+ id: number,
452
+ refs: number,
453
+ parts: Array<(obj?: StyleObjectPart) => void>
454
+ }
455
+ */}
456
+
457
+ var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
458
+ var singletonElement = null
459
+ var singletonCounter = 0
460
+ var isProduction = false
461
+ var noop = function () {}
462
+ var options = null
463
+ var ssrIdKey = 'data-vue-ssr-id'
464
+
465
+ // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
466
+ // tags it will allow on a page
467
+ var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
468
+
469
+ function addStylesClient (parentId, list, _isProduction, _options) {
470
+ isProduction = _isProduction
471
+
472
+ options = _options || {}
473
+
474
+ var styles = listToStyles(parentId, list)
475
+ addStylesToDom(styles)
476
+
477
+ return function update (newList) {
478
+ var mayRemove = []
479
+ for (var i = 0; i < styles.length; i++) {
480
+ var item = styles[i]
481
+ var domStyle = stylesInDom[item.id]
482
+ domStyle.refs--
483
+ mayRemove.push(domStyle)
484
+ }
485
+ if (newList) {
486
+ styles = listToStyles(parentId, newList)
487
+ addStylesToDom(styles)
488
+ } else {
489
+ styles = []
490
+ }
491
+ for (var i = 0; i < mayRemove.length; i++) {
492
+ var domStyle = mayRemove[i]
493
+ if (domStyle.refs === 0) {
494
+ for (var j = 0; j < domStyle.parts.length; j++) {
495
+ domStyle.parts[j]()
496
+ }
497
+ delete stylesInDom[domStyle.id]
498
+ }
499
+ }
500
+ }
501
+ }
502
+
503
+ function addStylesToDom (styles /* Array<StyleObject> */) {
504
+ for (var i = 0; i < styles.length; i++) {
505
+ var item = styles[i]
506
+ var domStyle = stylesInDom[item.id]
507
+ if (domStyle) {
508
+ domStyle.refs++
509
+ for (var j = 0; j < domStyle.parts.length; j++) {
510
+ domStyle.parts[j](item.parts[j])
511
+ }
512
+ for (; j < item.parts.length; j++) {
513
+ domStyle.parts.push(addStyle(item.parts[j]))
514
+ }
515
+ if (domStyle.parts.length > item.parts.length) {
516
+ domStyle.parts.length = item.parts.length
517
+ }
518
+ } else {
519
+ var parts = []
520
+ for (var j = 0; j < item.parts.length; j++) {
521
+ parts.push(addStyle(item.parts[j]))
522
+ }
523
+ stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
524
+ }
525
+ }
526
+ }
527
+
528
+ function createStyleElement () {
529
+ var styleElement = document.createElement('style')
530
+ styleElement.type = 'text/css'
531
+ head.appendChild(styleElement)
532
+ return styleElement
533
+ }
534
+
535
+ function addStyle (obj /* StyleObjectPart */) {
536
+ var update, remove
537
+ var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
538
+
539
+ if (styleElement) {
540
+ if (isProduction) {
541
+ // has SSR styles and in production mode.
542
+ // simply do nothing.
543
+ return noop
544
+ } else {
545
+ // has SSR styles but in dev mode.
546
+ // for some reason Chrome can't handle source map in server-rendered
547
+ // style tags - source maps in <style> only works if the style tag is
548
+ // created and inserted dynamically. So we remove the server rendered
549
+ // styles and inject new ones.
550
+ styleElement.parentNode.removeChild(styleElement)
551
+ }
552
+ }
553
+
554
+ if (isOldIE) {
555
+ // use singleton mode for IE9.
556
+ var styleIndex = singletonCounter++
557
+ styleElement = singletonElement || (singletonElement = createStyleElement())
558
+ update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
559
+ remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
560
+ } else {
561
+ // use multi-style-tag mode in all other cases
562
+ styleElement = createStyleElement()
563
+ update = applyToTag.bind(null, styleElement)
564
+ remove = function () {
565
+ styleElement.parentNode.removeChild(styleElement)
566
+ }
567
+ }
568
+
569
+ update(obj)
570
+
571
+ return function updateStyle (newObj /* StyleObjectPart */) {
572
+ if (newObj) {
573
+ if (newObj.css === obj.css &&
574
+ newObj.media === obj.media &&
575
+ newObj.sourceMap === obj.sourceMap) {
576
+ return
577
+ }
578
+ update(obj = newObj)
579
+ } else {
580
+ remove()
581
+ }
582
+ }
583
+ }
584
+
585
+ var replaceText = (function () {
586
+ var textStore = []
587
+
588
+ return function (index, replacement) {
589
+ textStore[index] = replacement
590
+ return textStore.filter(Boolean).join('\n')
591
+ }
592
+ })()
593
+
594
+ function applyToSingletonTag (styleElement, index, remove, obj) {
595
+ var css = remove ? '' : obj.css
596
+
597
+ if (styleElement.styleSheet) {
598
+ styleElement.styleSheet.cssText = replaceText(index, css)
599
+ } else {
600
+ var cssNode = document.createTextNode(css)
601
+ var childNodes = styleElement.childNodes
602
+ if (childNodes[index]) styleElement.removeChild(childNodes[index])
603
+ if (childNodes.length) {
604
+ styleElement.insertBefore(cssNode, childNodes[index])
605
+ } else {
606
+ styleElement.appendChild(cssNode)
607
+ }
608
+ }
609
+ }
610
+
611
+ function applyToTag (styleElement, obj) {
612
+ var css = obj.css
613
+ var media = obj.media
614
+ var sourceMap = obj.sourceMap
615
+
616
+ if (media) {
617
+ styleElement.setAttribute('media', media)
618
+ }
619
+ if (options.ssrId) {
620
+ styleElement.setAttribute(ssrIdKey, obj.id)
621
+ }
622
+
623
+ if (sourceMap) {
624
+ // https://developer.chrome.com/devtools/docs/javascript-debugging
625
+ // this makes source maps inside style tags work properly in Chrome
626
+ css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
627
+ // http://stackoverflow.com/a/26603875
628
+ css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
629
+ }
630
+
631
+ if (styleElement.styleSheet) {
632
+ styleElement.styleSheet.cssText = css
633
+ } else {
634
+ while (styleElement.firstChild) {
635
+ styleElement.removeChild(styleElement.firstChild)
636
+ }
637
+ styleElement.appendChild(document.createTextNode(css))
638
+ }
639
+ }
640
+
641
+
642
+ /***/ }),
643
+
644
+ /***/ "55c5":
645
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
646
+
647
+ "use strict";
648
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_LoaderVuex_vue_vue_type_style_index_0_id_76519c8e_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("98b2");
649
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_LoaderVuex_vue_vue_type_style_index_0_id_76519c8e_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_LoaderVuex_vue_vue_type_style_index_0_id_76519c8e_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
650
+ /* unused harmony reexport * */
651
+
652
+
653
+ /***/ }),
654
+
655
+ /***/ "7381":
656
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
657
+
658
+ "use strict";
659
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return loaderModule; });
660
+ const state = {
661
+ loaderDialog: false
662
+ }
663
+
664
+ const getters = {
665
+ isLoading: (state) => state.loaderDialog
666
+ }
667
+
668
+ const mutations = {
669
+ closeLoader(state) {
670
+ state.loaderDialog = false
671
+ },
672
+ openLoader(state) {
673
+ state.loaderDialog = true
674
+ }
675
+ }
676
+
677
+ const actions = {
678
+ show({ commit }) {
679
+ commit('openLoader')
680
+ },
681
+ hide({ commit }) {
682
+ commit('closeLoader')
683
+ }
684
+ }
685
+
686
+ const loaderModule = {
687
+ namespaced: true,
688
+ state,
689
+ getters,
690
+ mutations,
691
+ actions
692
+ }
693
+
694
+ /***/ }),
695
+
696
+ /***/ "98b2":
697
+ /***/ (function(module, exports, __webpack_require__) {
698
+
699
+ // style-loader: Adds some css to the DOM by adding a <style> tag
700
+
701
+ // load the styles
702
+ var content = __webpack_require__("ac9e");
703
+ if(content.__esModule) content = content.default;
704
+ if(typeof content === 'string') content = [[module.i, content, '']];
705
+ if(content.locals) module.exports = content.locals;
706
+ // add the styles to the DOM
707
+ var add = __webpack_require__("499e").default
708
+ var update = add("0e5a130f", content, true, {"sourceMap":false,"shadowMode":false});
709
+
710
+ /***/ }),
711
+
712
+ /***/ "ac9e":
713
+ /***/ (function(module, exports, __webpack_require__) {
714
+
715
+ // Imports
716
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
717
+ exports = ___CSS_LOADER_API_IMPORT___(false);
718
+ // Module
719
+ exports.push([module.i, ".v-overlay[data-v-76519c8e]{display:flex;align-items:center;justify-content:center}", ""]);
720
+ // Exports
721
+ module.exports = exports;
722
+
723
+
724
+ /***/ }),
725
+
726
+ /***/ "b635":
727
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
728
+
729
+ "use strict";
730
+ /* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _LoaderVuex_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2764");
731
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _LoaderVuex_vue__WEBPACK_IMPORTED_MODULE_0__["a"]; });
732
+
733
+ /* harmony import */ var _loaderModule__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("7381");
734
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _loaderModule__WEBPACK_IMPORTED_MODULE_1__["a"]; });
735
+
736
+ // Uvozimo Vue i potrebne resurse
737
+
738
+
739
+
740
+ const install = (Vue, { store }) => {
741
+ if (!store) {
742
+ console.error('Please provide a Vuex store')
743
+ return
744
+ }
745
+
746
+ // Register the Vuex module
747
+ store.registerModule('loaderModule', _loaderModule__WEBPACK_IMPORTED_MODULE_1__[/* loaderModule */ "a"])
748
+
749
+ // Register the component globally
750
+ Vue.component('loader-vuex', _LoaderVuex_vue__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])
751
+ }
752
+
753
+ // Create plugin
754
+ const plugin = {
755
+ install
756
+ }
757
+
758
+ // Auto-install when vue is found (eg. in browser via <script> tag)
759
+ let GlobalVue = null
760
+ if (typeof window !== 'undefined') {
761
+ GlobalVue = window.Vue
762
+ } else if (typeof global !== 'undefined') {
763
+ GlobalVue = global.Vue
764
+ }
765
+ if (GlobalVue) {
766
+ GlobalVue.use(plugin)
767
+ }
768
+
769
+ // Export everything
770
+
771
+
772
+ /* harmony default export */ __webpack_exports__["b"] = ({
773
+ LoaderVuex: _LoaderVuex_vue__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"],
774
+ loaderModule: _loaderModule__WEBPACK_IMPORTED_MODULE_1__[/* loaderModule */ "a"]
775
+ });
776
+
777
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
778
+
779
+ /***/ }),
780
+
781
+ /***/ "c8ba":
782
+ /***/ (function(module, exports) {
783
+
784
+ var g;
785
+
786
+ // This works in non-strict mode
787
+ g = (function() {
788
+ return this;
789
+ })();
790
+
791
+ try {
792
+ // This works if eval is allowed (see CSP)
793
+ g = g || new Function("return this")();
794
+ } catch (e) {
795
+ // This works if the window reference is available
796
+ if (typeof window === "object") g = window;
797
+ }
798
+
799
+ // g can still be undefined, but nothing to do about it...
800
+ // We return undefined, instead of nothing here, so it's
801
+ // easier to handle this case. if(!global) { ...}
802
+
803
+ module.exports = g;
804
+
805
+
806
+ /***/ }),
807
+
808
+ /***/ "fb15":
809
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
810
+
811
+ "use strict";
812
+ // ESM COMPAT FLAG
813
+ __webpack_require__.r(__webpack_exports__);
814
+
815
+ // EXPORTS
816
+ __webpack_require__.d(__webpack_exports__, "LoaderVuex", function() { return /* reexport */ src_0["a" /* LoaderVuex */]; });
817
+ __webpack_require__.d(__webpack_exports__, "loaderModule", function() { return /* reexport */ src_0["c" /* loaderModule */]; });
818
+
819
+ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
820
+ // This file is imported into lib/wc client bundles.
821
+
822
+ if (typeof window !== 'undefined') {
823
+ var currentScript = window.document.currentScript
824
+ if (false) { var getCurrentScript; }
825
+
826
+ var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
827
+ if (src) {
828
+ __webpack_require__.p = src[1] // eslint-disable-line
829
+ }
830
+ }
831
+
832
+ // Indicate to webpack that this file can be concatenated
833
+ /* harmony default export */ var setPublicPath = (null);
834
+
835
+ // EXTERNAL MODULE: ./src/index.js
836
+ var src_0 = __webpack_require__("b635");
837
+
838
+ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
839
+
840
+
841
+ /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src_0["b" /* default */]);
842
+
843
+
844
+
845
+ /***/ })
846
+
847
+ /******/ })["default"];
848
+ });
849
+ //# sourceMappingURL=loader-module.umd.js.map