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