example-button-666 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/demo.html +10 -0
- package/dist/example-button.common.js +1000 -0
- package/dist/example-button.common.js.map +1 -0
- package/dist/example-button.css +1 -0
- package/dist/example-button.umd.js +1000 -0
- package/dist/example-button.umd.js.map +1 -0
- package/dist/example-button.umd.min.js +2 -0
- package/dist/example-button.umd.min.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1000 @@
|
|
|
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["example-button"] = factory();
|
|
8
|
+
else
|
|
9
|
+
root["example-button"] = 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
|
+
/***/ "012d":
|
|
100
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101
|
+
|
|
102
|
+
"use strict";
|
|
103
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_color_button_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5f92");
|
|
104
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_color_button_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_color_button_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
105
|
+
/* unused harmony reexport * */
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
/***/ }),
|
|
109
|
+
|
|
110
|
+
/***/ "0cfb":
|
|
111
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
112
|
+
|
|
113
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
114
|
+
var fails = __webpack_require__("d039");
|
|
115
|
+
var createElement = __webpack_require__("cc12");
|
|
116
|
+
|
|
117
|
+
// Thank's IE8 for his funny defineProperty
|
|
118
|
+
module.exports = !DESCRIPTORS && !fails(function () {
|
|
119
|
+
// eslint-disable-next-line es/no-object-defineproperty -- requied for testing
|
|
120
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
121
|
+
get: function () { return 7; }
|
|
122
|
+
}).a != 7;
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
/***/ }),
|
|
127
|
+
|
|
128
|
+
/***/ "0d51":
|
|
129
|
+
/***/ (function(module, exports) {
|
|
130
|
+
|
|
131
|
+
module.exports = function (argument) {
|
|
132
|
+
try {
|
|
133
|
+
return String(argument);
|
|
134
|
+
} catch (error) {
|
|
135
|
+
return 'Object';
|
|
136
|
+
}
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
/***/ }),
|
|
141
|
+
|
|
142
|
+
/***/ "1626":
|
|
143
|
+
/***/ (function(module, exports) {
|
|
144
|
+
|
|
145
|
+
// `isCallable` abstract operation
|
|
146
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
147
|
+
module.exports = function (argument) {
|
|
148
|
+
return typeof argument === 'function';
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
/***/ }),
|
|
153
|
+
|
|
154
|
+
/***/ "1d80":
|
|
155
|
+
/***/ (function(module, exports) {
|
|
156
|
+
|
|
157
|
+
// `RequireObjectCoercible` abstract operation
|
|
158
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
159
|
+
module.exports = function (it) {
|
|
160
|
+
if (it == undefined) throw TypeError("Can't call method on " + it);
|
|
161
|
+
return it;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
/***/ }),
|
|
166
|
+
|
|
167
|
+
/***/ "2d00":
|
|
168
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
169
|
+
|
|
170
|
+
var global = __webpack_require__("da84");
|
|
171
|
+
var userAgent = __webpack_require__("342f");
|
|
172
|
+
|
|
173
|
+
var process = global.process;
|
|
174
|
+
var Deno = global.Deno;
|
|
175
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
176
|
+
var v8 = versions && versions.v8;
|
|
177
|
+
var match, version;
|
|
178
|
+
|
|
179
|
+
if (v8) {
|
|
180
|
+
match = v8.split('.');
|
|
181
|
+
version = match[0] < 4 ? 1 : match[0] + match[1];
|
|
182
|
+
} else if (userAgent) {
|
|
183
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
184
|
+
if (!match || match[1] >= 74) {
|
|
185
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
186
|
+
if (match) version = match[1];
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
module.exports = version && +version;
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
/***/ }),
|
|
194
|
+
|
|
195
|
+
/***/ "342f":
|
|
196
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
197
|
+
|
|
198
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
199
|
+
|
|
200
|
+
module.exports = getBuiltIn('navigator', 'userAgent') || '';
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
/***/ }),
|
|
204
|
+
|
|
205
|
+
/***/ "485a":
|
|
206
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
207
|
+
|
|
208
|
+
var isCallable = __webpack_require__("1626");
|
|
209
|
+
var isObject = __webpack_require__("861d");
|
|
210
|
+
|
|
211
|
+
// `OrdinaryToPrimitive` abstract operation
|
|
212
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
213
|
+
module.exports = function (input, pref) {
|
|
214
|
+
var fn, val;
|
|
215
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;
|
|
216
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = fn.call(input))) return val;
|
|
217
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;
|
|
218
|
+
throw TypeError("Can't convert object to primitive value");
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
/***/ }),
|
|
223
|
+
|
|
224
|
+
/***/ "4930":
|
|
225
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
226
|
+
|
|
227
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
228
|
+
var V8_VERSION = __webpack_require__("2d00");
|
|
229
|
+
var fails = __webpack_require__("d039");
|
|
230
|
+
|
|
231
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
232
|
+
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
233
|
+
var symbol = Symbol();
|
|
234
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
235
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
236
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
237
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
238
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
239
|
+
});
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
/***/ }),
|
|
243
|
+
|
|
244
|
+
/***/ "5135":
|
|
245
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
246
|
+
|
|
247
|
+
var toObject = __webpack_require__("7b0b");
|
|
248
|
+
|
|
249
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
250
|
+
|
|
251
|
+
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
252
|
+
return hasOwnProperty.call(toObject(it), key);
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
/***/ }),
|
|
257
|
+
|
|
258
|
+
/***/ "5692":
|
|
259
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
260
|
+
|
|
261
|
+
var IS_PURE = __webpack_require__("c430");
|
|
262
|
+
var store = __webpack_require__("c6cd");
|
|
263
|
+
|
|
264
|
+
(module.exports = function (key, value) {
|
|
265
|
+
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
266
|
+
})('versions', []).push({
|
|
267
|
+
version: '3.18.0',
|
|
268
|
+
mode: IS_PURE ? 'pure' : 'global',
|
|
269
|
+
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
|
|
270
|
+
});
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
/***/ }),
|
|
274
|
+
|
|
275
|
+
/***/ "59ed":
|
|
276
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
277
|
+
|
|
278
|
+
var isCallable = __webpack_require__("1626");
|
|
279
|
+
var tryToString = __webpack_require__("0d51");
|
|
280
|
+
|
|
281
|
+
// `Assert: IsCallable(argument) is true`
|
|
282
|
+
module.exports = function (argument) {
|
|
283
|
+
if (isCallable(argument)) return argument;
|
|
284
|
+
throw TypeError(tryToString(argument) + ' is not a function');
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
/***/ }),
|
|
289
|
+
|
|
290
|
+
/***/ "5e77":
|
|
291
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
292
|
+
|
|
293
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
294
|
+
var has = __webpack_require__("5135");
|
|
295
|
+
|
|
296
|
+
var FunctionPrototype = Function.prototype;
|
|
297
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
298
|
+
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
299
|
+
|
|
300
|
+
var EXISTS = has(FunctionPrototype, 'name');
|
|
301
|
+
// additional protection from minified / mangled / dropped function names
|
|
302
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
303
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
304
|
+
|
|
305
|
+
module.exports = {
|
|
306
|
+
EXISTS: EXISTS,
|
|
307
|
+
PROPER: PROPER,
|
|
308
|
+
CONFIGURABLE: CONFIGURABLE
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
/***/ }),
|
|
313
|
+
|
|
314
|
+
/***/ "5f92":
|
|
315
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
316
|
+
|
|
317
|
+
// extracted by mini-css-extract-plugin
|
|
318
|
+
|
|
319
|
+
/***/ }),
|
|
320
|
+
|
|
321
|
+
/***/ "7b0b":
|
|
322
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
323
|
+
|
|
324
|
+
var requireObjectCoercible = __webpack_require__("1d80");
|
|
325
|
+
|
|
326
|
+
// `ToObject` abstract operation
|
|
327
|
+
// https://tc39.es/ecma262/#sec-toobject
|
|
328
|
+
module.exports = function (argument) {
|
|
329
|
+
return Object(requireObjectCoercible(argument));
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
/***/ }),
|
|
334
|
+
|
|
335
|
+
/***/ "825a":
|
|
336
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
337
|
+
|
|
338
|
+
var isObject = __webpack_require__("861d");
|
|
339
|
+
|
|
340
|
+
// `Assert: Type(argument) is Object`
|
|
341
|
+
module.exports = function (argument) {
|
|
342
|
+
if (isObject(argument)) return argument;
|
|
343
|
+
throw TypeError(String(argument) + ' is not an object');
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
/***/ }),
|
|
348
|
+
|
|
349
|
+
/***/ "83ab":
|
|
350
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
351
|
+
|
|
352
|
+
var fails = __webpack_require__("d039");
|
|
353
|
+
|
|
354
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
355
|
+
module.exports = !fails(function () {
|
|
356
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
357
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
358
|
+
});
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
/***/ }),
|
|
362
|
+
|
|
363
|
+
/***/ "861d":
|
|
364
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
365
|
+
|
|
366
|
+
var isCallable = __webpack_require__("1626");
|
|
367
|
+
|
|
368
|
+
module.exports = function (it) {
|
|
369
|
+
return typeof it === 'object' ? it !== null : isCallable(it);
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
/***/ }),
|
|
374
|
+
|
|
375
|
+
/***/ "8875":
|
|
376
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
377
|
+
|
|
378
|
+
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
|
|
379
|
+
// MIT license
|
|
380
|
+
// source: https://github.com/amiller-gh/currentScript-polyfill
|
|
381
|
+
|
|
382
|
+
// added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505
|
|
383
|
+
|
|
384
|
+
(function (root, factory) {
|
|
385
|
+
if (true) {
|
|
386
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
387
|
+
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
388
|
+
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
389
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
390
|
+
} else {}
|
|
391
|
+
}(typeof self !== 'undefined' ? self : this, function () {
|
|
392
|
+
function getCurrentScript () {
|
|
393
|
+
var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
|
|
394
|
+
// for chrome
|
|
395
|
+
if (!descriptor && 'currentScript' in document && document.currentScript) {
|
|
396
|
+
return document.currentScript
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
// for other browsers with native support for currentScript
|
|
400
|
+
if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {
|
|
401
|
+
return document.currentScript
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// IE 8-10 support script readyState
|
|
405
|
+
// IE 11+ & Firefox support stack trace
|
|
406
|
+
try {
|
|
407
|
+
throw new Error();
|
|
408
|
+
}
|
|
409
|
+
catch (err) {
|
|
410
|
+
// Find the second match for the "at" string to get file src url from stack.
|
|
411
|
+
var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig,
|
|
412
|
+
ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig,
|
|
413
|
+
stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),
|
|
414
|
+
scriptLocation = (stackDetails && stackDetails[1]) || false,
|
|
415
|
+
line = (stackDetails && stackDetails[2]) || false,
|
|
416
|
+
currentLocation = document.location.href.replace(document.location.hash, ''),
|
|
417
|
+
pageSource,
|
|
418
|
+
inlineScriptSourceRegExp,
|
|
419
|
+
inlineScriptSource,
|
|
420
|
+
scripts = document.getElementsByTagName('script'); // Live NodeList collection
|
|
421
|
+
|
|
422
|
+
if (scriptLocation === currentLocation) {
|
|
423
|
+
pageSource = document.documentElement.outerHTML;
|
|
424
|
+
inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*', 'i');
|
|
425
|
+
inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
for (var i = 0; i < scripts.length; i++) {
|
|
429
|
+
// If ready state is interactive, return the script tag
|
|
430
|
+
if (scripts[i].readyState === 'interactive') {
|
|
431
|
+
return scripts[i];
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
// If src matches, return the script tag
|
|
435
|
+
if (scripts[i].src === scriptLocation) {
|
|
436
|
+
return scripts[i];
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
// If inline source matches, return the script tag
|
|
440
|
+
if (
|
|
441
|
+
scriptLocation === currentLocation &&
|
|
442
|
+
scripts[i].innerHTML &&
|
|
443
|
+
scripts[i].innerHTML.trim() === inlineScriptSource
|
|
444
|
+
) {
|
|
445
|
+
return scripts[i];
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
// If no match, return null
|
|
450
|
+
return null;
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
return getCurrentScript
|
|
455
|
+
}));
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
/***/ }),
|
|
459
|
+
|
|
460
|
+
/***/ "90e3":
|
|
461
|
+
/***/ (function(module, exports) {
|
|
462
|
+
|
|
463
|
+
var id = 0;
|
|
464
|
+
var postfix = Math.random();
|
|
465
|
+
|
|
466
|
+
module.exports = function (key) {
|
|
467
|
+
return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
/***/ }),
|
|
472
|
+
|
|
473
|
+
/***/ "9bf2":
|
|
474
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
475
|
+
|
|
476
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
477
|
+
var IE8_DOM_DEFINE = __webpack_require__("0cfb");
|
|
478
|
+
var anObject = __webpack_require__("825a");
|
|
479
|
+
var toPropertyKey = __webpack_require__("a04b");
|
|
480
|
+
|
|
481
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
482
|
+
var $defineProperty = Object.defineProperty;
|
|
483
|
+
|
|
484
|
+
// `Object.defineProperty` method
|
|
485
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
486
|
+
exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) {
|
|
487
|
+
anObject(O);
|
|
488
|
+
P = toPropertyKey(P);
|
|
489
|
+
anObject(Attributes);
|
|
490
|
+
if (IE8_DOM_DEFINE) try {
|
|
491
|
+
return $defineProperty(O, P, Attributes);
|
|
492
|
+
} catch (error) { /* empty */ }
|
|
493
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
|
|
494
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
495
|
+
return O;
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
/***/ }),
|
|
500
|
+
|
|
501
|
+
/***/ "a04b":
|
|
502
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
503
|
+
|
|
504
|
+
var toPrimitive = __webpack_require__("c04e");
|
|
505
|
+
var isSymbol = __webpack_require__("d9b5");
|
|
506
|
+
|
|
507
|
+
// `ToPropertyKey` abstract operation
|
|
508
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
|
509
|
+
module.exports = function (argument) {
|
|
510
|
+
var key = toPrimitive(argument, 'string');
|
|
511
|
+
return isSymbol(key) ? key : String(key);
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
/***/ }),
|
|
516
|
+
|
|
517
|
+
/***/ "b0c0":
|
|
518
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
519
|
+
|
|
520
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
521
|
+
var FUNCTION_NAME_EXISTS = __webpack_require__("5e77").EXISTS;
|
|
522
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
523
|
+
|
|
524
|
+
var FunctionPrototype = Function.prototype;
|
|
525
|
+
var FunctionPrototypeToString = FunctionPrototype.toString;
|
|
526
|
+
var nameRE = /^\s*function ([^ (]*)/;
|
|
527
|
+
var NAME = 'name';
|
|
528
|
+
|
|
529
|
+
// Function instances `.name` property
|
|
530
|
+
// https://tc39.es/ecma262/#sec-function-instances-name
|
|
531
|
+
if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
|
|
532
|
+
defineProperty(FunctionPrototype, NAME, {
|
|
533
|
+
configurable: true,
|
|
534
|
+
get: function () {
|
|
535
|
+
try {
|
|
536
|
+
return FunctionPrototypeToString.call(this).match(nameRE)[1];
|
|
537
|
+
} catch (error) {
|
|
538
|
+
return '';
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
/***/ }),
|
|
546
|
+
|
|
547
|
+
/***/ "b622":
|
|
548
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
549
|
+
|
|
550
|
+
var global = __webpack_require__("da84");
|
|
551
|
+
var shared = __webpack_require__("5692");
|
|
552
|
+
var has = __webpack_require__("5135");
|
|
553
|
+
var uid = __webpack_require__("90e3");
|
|
554
|
+
var NATIVE_SYMBOL = __webpack_require__("4930");
|
|
555
|
+
var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
|
|
556
|
+
|
|
557
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
558
|
+
var Symbol = global.Symbol;
|
|
559
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
560
|
+
|
|
561
|
+
module.exports = function (name) {
|
|
562
|
+
if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
563
|
+
if (NATIVE_SYMBOL && has(Symbol, name)) {
|
|
564
|
+
WellKnownSymbolsStore[name] = Symbol[name];
|
|
565
|
+
} else {
|
|
566
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
|
|
567
|
+
}
|
|
568
|
+
} return WellKnownSymbolsStore[name];
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
/***/ }),
|
|
573
|
+
|
|
574
|
+
/***/ "c04e":
|
|
575
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
576
|
+
|
|
577
|
+
var isObject = __webpack_require__("861d");
|
|
578
|
+
var isSymbol = __webpack_require__("d9b5");
|
|
579
|
+
var getMethod = __webpack_require__("dc4a");
|
|
580
|
+
var ordinaryToPrimitive = __webpack_require__("485a");
|
|
581
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
582
|
+
|
|
583
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
584
|
+
|
|
585
|
+
// `ToPrimitive` abstract operation
|
|
586
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
|
587
|
+
module.exports = function (input, pref) {
|
|
588
|
+
if (!isObject(input) || isSymbol(input)) return input;
|
|
589
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
590
|
+
var result;
|
|
591
|
+
if (exoticToPrim) {
|
|
592
|
+
if (pref === undefined) pref = 'default';
|
|
593
|
+
result = exoticToPrim.call(input, pref);
|
|
594
|
+
if (!isObject(result) || isSymbol(result)) return result;
|
|
595
|
+
throw TypeError("Can't convert object to primitive value");
|
|
596
|
+
}
|
|
597
|
+
if (pref === undefined) pref = 'number';
|
|
598
|
+
return ordinaryToPrimitive(input, pref);
|
|
599
|
+
};
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
/***/ }),
|
|
603
|
+
|
|
604
|
+
/***/ "c430":
|
|
605
|
+
/***/ (function(module, exports) {
|
|
606
|
+
|
|
607
|
+
module.exports = false;
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
/***/ }),
|
|
611
|
+
|
|
612
|
+
/***/ "c6cd":
|
|
613
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
614
|
+
|
|
615
|
+
var global = __webpack_require__("da84");
|
|
616
|
+
var setGlobal = __webpack_require__("ce4e");
|
|
617
|
+
|
|
618
|
+
var SHARED = '__core-js_shared__';
|
|
619
|
+
var store = global[SHARED] || setGlobal(SHARED, {});
|
|
620
|
+
|
|
621
|
+
module.exports = store;
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
/***/ }),
|
|
625
|
+
|
|
626
|
+
/***/ "c8ba":
|
|
627
|
+
/***/ (function(module, exports) {
|
|
628
|
+
|
|
629
|
+
var g;
|
|
630
|
+
|
|
631
|
+
// This works in non-strict mode
|
|
632
|
+
g = (function() {
|
|
633
|
+
return this;
|
|
634
|
+
})();
|
|
635
|
+
|
|
636
|
+
try {
|
|
637
|
+
// This works if eval is allowed (see CSP)
|
|
638
|
+
g = g || new Function("return this")();
|
|
639
|
+
} catch (e) {
|
|
640
|
+
// This works if the window reference is available
|
|
641
|
+
if (typeof window === "object") g = window;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
// g can still be undefined, but nothing to do about it...
|
|
645
|
+
// We return undefined, instead of nothing here, so it's
|
|
646
|
+
// easier to handle this case. if(!global) { ...}
|
|
647
|
+
|
|
648
|
+
module.exports = g;
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
/***/ }),
|
|
652
|
+
|
|
653
|
+
/***/ "cc12":
|
|
654
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
655
|
+
|
|
656
|
+
var global = __webpack_require__("da84");
|
|
657
|
+
var isObject = __webpack_require__("861d");
|
|
658
|
+
|
|
659
|
+
var document = global.document;
|
|
660
|
+
// typeof document.createElement is 'object' in old IE
|
|
661
|
+
var EXISTS = isObject(document) && isObject(document.createElement);
|
|
662
|
+
|
|
663
|
+
module.exports = function (it) {
|
|
664
|
+
return EXISTS ? document.createElement(it) : {};
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
/***/ }),
|
|
669
|
+
|
|
670
|
+
/***/ "ce4e":
|
|
671
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
672
|
+
|
|
673
|
+
var global = __webpack_require__("da84");
|
|
674
|
+
|
|
675
|
+
module.exports = function (key, value) {
|
|
676
|
+
try {
|
|
677
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
678
|
+
Object.defineProperty(global, key, { value: value, configurable: true, writable: true });
|
|
679
|
+
} catch (error) {
|
|
680
|
+
global[key] = value;
|
|
681
|
+
} return value;
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
/***/ }),
|
|
686
|
+
|
|
687
|
+
/***/ "d039":
|
|
688
|
+
/***/ (function(module, exports) {
|
|
689
|
+
|
|
690
|
+
module.exports = function (exec) {
|
|
691
|
+
try {
|
|
692
|
+
return !!exec();
|
|
693
|
+
} catch (error) {
|
|
694
|
+
return true;
|
|
695
|
+
}
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
/***/ }),
|
|
700
|
+
|
|
701
|
+
/***/ "d066":
|
|
702
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
703
|
+
|
|
704
|
+
var global = __webpack_require__("da84");
|
|
705
|
+
var isCallable = __webpack_require__("1626");
|
|
706
|
+
|
|
707
|
+
var aFunction = function (argument) {
|
|
708
|
+
return isCallable(argument) ? argument : undefined;
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
module.exports = function (namespace, method) {
|
|
712
|
+
return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
/***/ }),
|
|
717
|
+
|
|
718
|
+
/***/ "d9b5":
|
|
719
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
720
|
+
|
|
721
|
+
var isCallable = __webpack_require__("1626");
|
|
722
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
723
|
+
var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
|
|
724
|
+
|
|
725
|
+
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
726
|
+
return typeof it == 'symbol';
|
|
727
|
+
} : function (it) {
|
|
728
|
+
var $Symbol = getBuiltIn('Symbol');
|
|
729
|
+
return isCallable($Symbol) && Object(it) instanceof $Symbol;
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
/***/ }),
|
|
734
|
+
|
|
735
|
+
/***/ "da84":
|
|
736
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
737
|
+
|
|
738
|
+
/* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {
|
|
739
|
+
return it && it.Math == Math && it;
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
743
|
+
module.exports =
|
|
744
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
745
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
746
|
+
check(typeof window == 'object' && window) ||
|
|
747
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
748
|
+
check(typeof self == 'object' && self) ||
|
|
749
|
+
check(typeof global == 'object' && global) ||
|
|
750
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
751
|
+
(function () { return this; })() || Function('return this')();
|
|
752
|
+
|
|
753
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
754
|
+
|
|
755
|
+
/***/ }),
|
|
756
|
+
|
|
757
|
+
/***/ "dc4a":
|
|
758
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
759
|
+
|
|
760
|
+
var aCallable = __webpack_require__("59ed");
|
|
761
|
+
|
|
762
|
+
// `GetMethod` abstract operation
|
|
763
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
764
|
+
module.exports = function (V, P) {
|
|
765
|
+
var func = V[P];
|
|
766
|
+
return func == null ? undefined : aCallable(func);
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
/***/ }),
|
|
771
|
+
|
|
772
|
+
/***/ "fb15":
|
|
773
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
774
|
+
|
|
775
|
+
"use strict";
|
|
776
|
+
// ESM COMPAT FLAG
|
|
777
|
+
__webpack_require__.r(__webpack_exports__);
|
|
778
|
+
|
|
779
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
780
|
+
// This file is imported into lib/wc client bundles.
|
|
781
|
+
|
|
782
|
+
if (typeof window !== 'undefined') {
|
|
783
|
+
var currentScript = window.document.currentScript
|
|
784
|
+
if (true) {
|
|
785
|
+
var getCurrentScript = __webpack_require__("8875")
|
|
786
|
+
currentScript = getCurrentScript()
|
|
787
|
+
|
|
788
|
+
// for backward compatibility, because previously we directly included the polyfill
|
|
789
|
+
if (!('currentScript' in document)) {
|
|
790
|
+
Object.defineProperty(document, 'currentScript', { get: getCurrentScript })
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
795
|
+
if (src) {
|
|
796
|
+
__webpack_require__.p = src[1] // eslint-disable-line
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
// Indicate to webpack that this file can be concatenated
|
|
801
|
+
/* harmony default export */ var setPublicPath = (null);
|
|
802
|
+
|
|
803
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
804
|
+
var es_function_name = __webpack_require__("b0c0");
|
|
805
|
+
|
|
806
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1cd5eff5-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/color-button.vue?vue&type=template&id=5b335fae&
|
|
807
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"color-button"},[_c('button',{class:[_vm.type, _vm.disabled?'disabled':''],attrs:{"disabled":_vm.disabled}},[_vm._t("default")],2)])}
|
|
808
|
+
var staticRenderFns = []
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
// CONCATENATED MODULE: ./src/components/color-button.vue?vue&type=template&id=5b335fae&
|
|
812
|
+
|
|
813
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/color-button.vue?vue&type=script&lang=js&
|
|
814
|
+
//
|
|
815
|
+
//
|
|
816
|
+
//
|
|
817
|
+
//
|
|
818
|
+
//
|
|
819
|
+
//
|
|
820
|
+
//
|
|
821
|
+
//
|
|
822
|
+
//
|
|
823
|
+
/* harmony default export */ var color_buttonvue_type_script_lang_js_ = ({
|
|
824
|
+
name: 'ComColorButton',
|
|
825
|
+
props: {
|
|
826
|
+
type: {
|
|
827
|
+
type: String,
|
|
828
|
+
default: 'primary'
|
|
829
|
+
},
|
|
830
|
+
disabled: {
|
|
831
|
+
type: Boolean,
|
|
832
|
+
default: false
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
data: function data() {
|
|
836
|
+
return {};
|
|
837
|
+
}
|
|
838
|
+
});
|
|
839
|
+
// CONCATENATED MODULE: ./src/components/color-button.vue?vue&type=script&lang=js&
|
|
840
|
+
/* harmony default export */ var components_color_buttonvue_type_script_lang_js_ = (color_buttonvue_type_script_lang_js_);
|
|
841
|
+
// EXTERNAL MODULE: ./src/components/color-button.vue?vue&type=style&index=0&lang=scss&
|
|
842
|
+
var color_buttonvue_type_style_index_0_lang_scss_ = __webpack_require__("012d");
|
|
843
|
+
|
|
844
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
845
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
846
|
+
|
|
847
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
848
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
849
|
+
// be included in the final webpack user bundle.
|
|
850
|
+
|
|
851
|
+
function normalizeComponent (
|
|
852
|
+
scriptExports,
|
|
853
|
+
render,
|
|
854
|
+
staticRenderFns,
|
|
855
|
+
functionalTemplate,
|
|
856
|
+
injectStyles,
|
|
857
|
+
scopeId,
|
|
858
|
+
moduleIdentifier, /* server only */
|
|
859
|
+
shadowMode /* vue-cli only */
|
|
860
|
+
) {
|
|
861
|
+
// Vue.extend constructor export interop
|
|
862
|
+
var options = typeof scriptExports === 'function'
|
|
863
|
+
? scriptExports.options
|
|
864
|
+
: scriptExports
|
|
865
|
+
|
|
866
|
+
// render functions
|
|
867
|
+
if (render) {
|
|
868
|
+
options.render = render
|
|
869
|
+
options.staticRenderFns = staticRenderFns
|
|
870
|
+
options._compiled = true
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
// functional template
|
|
874
|
+
if (functionalTemplate) {
|
|
875
|
+
options.functional = true
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
// scopedId
|
|
879
|
+
if (scopeId) {
|
|
880
|
+
options._scopeId = 'data-v-' + scopeId
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
var hook
|
|
884
|
+
if (moduleIdentifier) { // server build
|
|
885
|
+
hook = function (context) {
|
|
886
|
+
// 2.3 injection
|
|
887
|
+
context =
|
|
888
|
+
context || // cached call
|
|
889
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
890
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
891
|
+
// 2.2 with runInNewContext: true
|
|
892
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
893
|
+
context = __VUE_SSR_CONTEXT__
|
|
894
|
+
}
|
|
895
|
+
// inject component styles
|
|
896
|
+
if (injectStyles) {
|
|
897
|
+
injectStyles.call(this, context)
|
|
898
|
+
}
|
|
899
|
+
// register component module identifier for async chunk inferrence
|
|
900
|
+
if (context && context._registeredComponents) {
|
|
901
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
// used by ssr in case component is cached and beforeCreate
|
|
905
|
+
// never gets called
|
|
906
|
+
options._ssrRegister = hook
|
|
907
|
+
} else if (injectStyles) {
|
|
908
|
+
hook = shadowMode
|
|
909
|
+
? function () {
|
|
910
|
+
injectStyles.call(
|
|
911
|
+
this,
|
|
912
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
913
|
+
)
|
|
914
|
+
}
|
|
915
|
+
: injectStyles
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
if (hook) {
|
|
919
|
+
if (options.functional) {
|
|
920
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
921
|
+
// go through the normalizer
|
|
922
|
+
options._injectStyles = hook
|
|
923
|
+
// register for functional component in vue file
|
|
924
|
+
var originalRender = options.render
|
|
925
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
926
|
+
hook.call(context)
|
|
927
|
+
return originalRender(h, context)
|
|
928
|
+
}
|
|
929
|
+
} else {
|
|
930
|
+
// inject component registration as beforeCreate hook
|
|
931
|
+
var existing = options.beforeCreate
|
|
932
|
+
options.beforeCreate = existing
|
|
933
|
+
? [].concat(existing, hook)
|
|
934
|
+
: [hook]
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
return {
|
|
939
|
+
exports: scriptExports,
|
|
940
|
+
options: options
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
// CONCATENATED MODULE: ./src/components/color-button.vue
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
/* normalize component */
|
|
952
|
+
|
|
953
|
+
var component = normalizeComponent(
|
|
954
|
+
components_color_buttonvue_type_script_lang_js_,
|
|
955
|
+
render,
|
|
956
|
+
staticRenderFns,
|
|
957
|
+
false,
|
|
958
|
+
null,
|
|
959
|
+
null,
|
|
960
|
+
null
|
|
961
|
+
|
|
962
|
+
)
|
|
963
|
+
|
|
964
|
+
/* harmony default export */ var color_button = (component.exports);
|
|
965
|
+
// CONCATENATED MODULE: ./src/components/index.js
|
|
966
|
+
|
|
967
|
+
// 导入组件,组件必须声明 name
|
|
968
|
+
// 为组件提供 install 安装方法,供按需引入
|
|
969
|
+
|
|
970
|
+
color_button.install = function (Vue) {
|
|
971
|
+
Vue.component(color_button.name, color_button);
|
|
972
|
+
}; // 默认导出组件
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
/* harmony default export */ var components = (color_button);
|
|
976
|
+
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (components);
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
/***/ }),
|
|
984
|
+
|
|
985
|
+
/***/ "fdbf":
|
|
986
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
987
|
+
|
|
988
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
989
|
+
var NATIVE_SYMBOL = __webpack_require__("4930");
|
|
990
|
+
|
|
991
|
+
module.exports = NATIVE_SYMBOL
|
|
992
|
+
&& !Symbol.sham
|
|
993
|
+
&& typeof Symbol.iterator == 'symbol';
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
/***/ })
|
|
997
|
+
|
|
998
|
+
/******/ });
|
|
999
|
+
});
|
|
1000
|
+
//# sourceMappingURL=example-button.umd.js.map
|