@vue-interface/input-field 0.11.2 → 0.11.3
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/input-field.es.js +747 -0
- package/dist/input-field.umd.js +15 -0
- package/dist/style.css +1 -0
- package/index.js +5 -2
- package/package.json +27 -31
- package/src/InputField.vue +9 -8
- package/.eslintrc.js +0 -53
- package/babel.config.js +0 -11
- package/dist/InputField.common.js +0 -1967
- package/dist/InputField.common.js.map +0 -1
- package/dist/InputField.css +0 -1
- package/dist/InputField.umd.js +0 -1977
- package/dist/InputField.umd.js.map +0 -1
- package/dist/InputField.umd.min.js +0 -2
- package/dist/InputField.umd.min.js.map +0 -1
- package/dist/demo.html +0 -19
- package/docs/.vuepress/config.js +0 -44
- package/docs/.vuepress/dist/404.html +0 -19
- package/docs/.vuepress/dist/assets/css/0.styles.275ee968.css +0 -1
- package/docs/.vuepress/dist/assets/img/search.83621669.svg +0 -1
- package/docs/.vuepress/dist/assets/js/10.5d93d289.js +0 -1
- package/docs/.vuepress/dist/assets/js/11.97ab3884.js +0 -1
- package/docs/.vuepress/dist/assets/js/2.f3d148c3.js +0 -1
- package/docs/.vuepress/dist/assets/js/3.81681fff.js +0 -1
- package/docs/.vuepress/dist/assets/js/4.82fa7382.js +0 -1
- package/docs/.vuepress/dist/assets/js/5.3dae6ad4.js +0 -1
- package/docs/.vuepress/dist/assets/js/6.6a04f815.js +0 -1
- package/docs/.vuepress/dist/assets/js/7.c033cb49.js +0 -1
- package/docs/.vuepress/dist/assets/js/8.6d6eb599.js +0 -1
- package/docs/.vuepress/dist/assets/js/9.eaefe866.js +0 -1
- package/docs/.vuepress/dist/assets/js/app.7ed065d3.js +0 -13
- package/docs/.vuepress/dist/examples/index.html +0 -21
- package/docs/.vuepress/dist/examples/test.html +0 -17
- package/docs/.vuepress/dist/index.html +0 -53
- package/docs/.vuepress/dist/options.html +0 -41
- package/docs/.vuepress/dist/tailwindcss.html +0 -85
- package/docs/README.md +0 -17
- package/docs/examples/README.md +0 -3
- package/docs/options.md +0 -46
- package/docs/tailwindcss.md +0 -76
- package/index.html +0 -78
- package/main.vue +0 -9
- package/postcss.config.js +0 -1
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -17
- package/src/App.vue +0 -22
- package/src/css/InputField.css +0 -2
- package/src/main.js +0 -6
- package/tailwind.config.js +0 -11
- package/vue.config.js +0 -11
package/dist/InputField.umd.js
DELETED
|
@@ -1,1977 +0,0 @@
|
|
|
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["InputField"] = factory();
|
|
8
|
-
else
|
|
9
|
-
root["InputField"] = 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
|
-
/***/ "2877":
|
|
100
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101
|
-
|
|
102
|
-
"use strict";
|
|
103
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
104
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
105
|
-
|
|
106
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
107
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
108
|
-
// be included in the final webpack user bundle.
|
|
109
|
-
|
|
110
|
-
function normalizeComponent (
|
|
111
|
-
scriptExports,
|
|
112
|
-
render,
|
|
113
|
-
staticRenderFns,
|
|
114
|
-
functionalTemplate,
|
|
115
|
-
injectStyles,
|
|
116
|
-
scopeId,
|
|
117
|
-
moduleIdentifier, /* server only */
|
|
118
|
-
shadowMode /* vue-cli only */
|
|
119
|
-
) {
|
|
120
|
-
// Vue.extend constructor export interop
|
|
121
|
-
var options = typeof scriptExports === 'function'
|
|
122
|
-
? scriptExports.options
|
|
123
|
-
: scriptExports
|
|
124
|
-
|
|
125
|
-
// render functions
|
|
126
|
-
if (render) {
|
|
127
|
-
options.render = render
|
|
128
|
-
options.staticRenderFns = staticRenderFns
|
|
129
|
-
options._compiled = true
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// functional template
|
|
133
|
-
if (functionalTemplate) {
|
|
134
|
-
options.functional = true
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// scopedId
|
|
138
|
-
if (scopeId) {
|
|
139
|
-
options._scopeId = 'data-v-' + scopeId
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
var hook
|
|
143
|
-
if (moduleIdentifier) { // server build
|
|
144
|
-
hook = function (context) {
|
|
145
|
-
// 2.3 injection
|
|
146
|
-
context =
|
|
147
|
-
context || // cached call
|
|
148
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
149
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
150
|
-
// 2.2 with runInNewContext: true
|
|
151
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
152
|
-
context = __VUE_SSR_CONTEXT__
|
|
153
|
-
}
|
|
154
|
-
// inject component styles
|
|
155
|
-
if (injectStyles) {
|
|
156
|
-
injectStyles.call(this, context)
|
|
157
|
-
}
|
|
158
|
-
// register component module identifier for async chunk inferrence
|
|
159
|
-
if (context && context._registeredComponents) {
|
|
160
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
// used by ssr in case component is cached and beforeCreate
|
|
164
|
-
// never gets called
|
|
165
|
-
options._ssrRegister = hook
|
|
166
|
-
} else if (injectStyles) {
|
|
167
|
-
hook = shadowMode
|
|
168
|
-
? function () {
|
|
169
|
-
injectStyles.call(
|
|
170
|
-
this,
|
|
171
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
172
|
-
)
|
|
173
|
-
}
|
|
174
|
-
: injectStyles
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
if (hook) {
|
|
178
|
-
if (options.functional) {
|
|
179
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
180
|
-
// go through the normalizer
|
|
181
|
-
options._injectStyles = hook
|
|
182
|
-
// register for functional component in vue file
|
|
183
|
-
var originalRender = options.render
|
|
184
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
185
|
-
hook.call(context)
|
|
186
|
-
return originalRender(h, context)
|
|
187
|
-
}
|
|
188
|
-
} else {
|
|
189
|
-
// inject component registration as beforeCreate hook
|
|
190
|
-
var existing = options.beforeCreate
|
|
191
|
-
options.beforeCreate = existing
|
|
192
|
-
? [].concat(existing, hook)
|
|
193
|
-
: [hook]
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
return {
|
|
198
|
-
exports: scriptExports,
|
|
199
|
-
options: options
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
/***/ }),
|
|
205
|
-
|
|
206
|
-
/***/ "3711":
|
|
207
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
208
|
-
|
|
209
|
-
// extracted by mini-css-extract-plugin
|
|
210
|
-
|
|
211
|
-
/***/ }),
|
|
212
|
-
|
|
213
|
-
/***/ "4492":
|
|
214
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
215
|
-
|
|
216
|
-
"use strict";
|
|
217
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_lang_postcss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c2d1");
|
|
218
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_lang_postcss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_main_vue_vue_type_style_index_0_lang_postcss___WEBPACK_IMPORTED_MODULE_0__);
|
|
219
|
-
/* unused harmony reexport * */
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
/***/ }),
|
|
223
|
-
|
|
224
|
-
/***/ "565d":
|
|
225
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
226
|
-
|
|
227
|
-
// extracted by mini-css-extract-plugin
|
|
228
|
-
|
|
229
|
-
/***/ }),
|
|
230
|
-
|
|
231
|
-
/***/ "5f9e":
|
|
232
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
233
|
-
|
|
234
|
-
"use strict";
|
|
235
|
-
/* harmony import */ var _mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_cache_loader_dist_cjs_js_ref_0_0_vue_loader_lib_index_js_vue_loader_options_ActivityIndicator_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3711");
|
|
236
|
-
/* harmony import */ var _mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_cache_loader_dist_cjs_js_ref_0_0_vue_loader_lib_index_js_vue_loader_options_ActivityIndicator_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_cache_loader_dist_cjs_js_ref_0_0_vue_loader_lib_index_js_vue_loader_options_ActivityIndicator_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
237
|
-
/* unused harmony reexport * */
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
/***/ }),
|
|
241
|
-
|
|
242
|
-
/***/ "8875":
|
|
243
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
244
|
-
|
|
245
|
-
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// addapted from the document.currentScript polyfill by Adam Miller
|
|
246
|
-
// MIT license
|
|
247
|
-
// source: https://github.com/amiller-gh/currentScript-polyfill
|
|
248
|
-
|
|
249
|
-
// added support for Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1620505
|
|
250
|
-
|
|
251
|
-
(function (root, factory) {
|
|
252
|
-
if (true) {
|
|
253
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
254
|
-
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
255
|
-
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
256
|
-
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
257
|
-
} else {}
|
|
258
|
-
}(typeof self !== 'undefined' ? self : this, function () {
|
|
259
|
-
function getCurrentScript () {
|
|
260
|
-
var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript')
|
|
261
|
-
// for chrome
|
|
262
|
-
if (!descriptor && 'currentScript' in document && document.currentScript) {
|
|
263
|
-
return document.currentScript
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
// for other browsers with native support for currentScript
|
|
267
|
-
if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) {
|
|
268
|
-
return document.currentScript
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
// IE 8-10 support script readyState
|
|
272
|
-
// IE 11+ & Firefox support stack trace
|
|
273
|
-
try {
|
|
274
|
-
throw new Error();
|
|
275
|
-
}
|
|
276
|
-
catch (err) {
|
|
277
|
-
// Find the second match for the "at" string to get file src url from stack.
|
|
278
|
-
var ieStackRegExp = /.*at [^(]*\((.*):(.+):(.+)\)$/ig,
|
|
279
|
-
ffStackRegExp = /@([^@]*):(\d+):(\d+)\s*$/ig,
|
|
280
|
-
stackDetails = ieStackRegExp.exec(err.stack) || ffStackRegExp.exec(err.stack),
|
|
281
|
-
scriptLocation = (stackDetails && stackDetails[1]) || false,
|
|
282
|
-
line = (stackDetails && stackDetails[2]) || false,
|
|
283
|
-
currentLocation = document.location.href.replace(document.location.hash, ''),
|
|
284
|
-
pageSource,
|
|
285
|
-
inlineScriptSourceRegExp,
|
|
286
|
-
inlineScriptSource,
|
|
287
|
-
scripts = document.getElementsByTagName('script'); // Live NodeList collection
|
|
288
|
-
|
|
289
|
-
if (scriptLocation === currentLocation) {
|
|
290
|
-
pageSource = document.documentElement.outerHTML;
|
|
291
|
-
inlineScriptSourceRegExp = new RegExp('(?:[^\\n]+?\\n){0,' + (line - 2) + '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*', 'i');
|
|
292
|
-
inlineScriptSource = pageSource.replace(inlineScriptSourceRegExp, '$1').trim();
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
for (var i = 0; i < scripts.length; i++) {
|
|
296
|
-
// If ready state is interactive, return the script tag
|
|
297
|
-
if (scripts[i].readyState === 'interactive') {
|
|
298
|
-
return scripts[i];
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
// If src matches, return the script tag
|
|
302
|
-
if (scripts[i].src === scriptLocation) {
|
|
303
|
-
return scripts[i];
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
// If inline source matches, return the script tag
|
|
307
|
-
if (
|
|
308
|
-
scriptLocation === currentLocation &&
|
|
309
|
-
scripts[i].innerHTML &&
|
|
310
|
-
scripts[i].innerHTML.trim() === inlineScriptSource
|
|
311
|
-
) {
|
|
312
|
-
return scripts[i];
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
// If no match, return null
|
|
317
|
-
return null;
|
|
318
|
-
}
|
|
319
|
-
};
|
|
320
|
-
|
|
321
|
-
return getCurrentScript
|
|
322
|
-
}));
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
/***/ }),
|
|
326
|
-
|
|
327
|
-
/***/ "a81e":
|
|
328
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
329
|
-
|
|
330
|
-
// extracted by mini-css-extract-plugin
|
|
331
|
-
|
|
332
|
-
/***/ }),
|
|
333
|
-
|
|
334
|
-
/***/ "c177":
|
|
335
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
336
|
-
|
|
337
|
-
// extracted by mini-css-extract-plugin
|
|
338
|
-
|
|
339
|
-
/***/ }),
|
|
340
|
-
|
|
341
|
-
/***/ "c2d1":
|
|
342
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
343
|
-
|
|
344
|
-
// extracted by mini-css-extract-plugin
|
|
345
|
-
|
|
346
|
-
/***/ }),
|
|
347
|
-
|
|
348
|
-
/***/ "c7c5":
|
|
349
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
350
|
-
|
|
351
|
-
// extracted by mini-css-extract-plugin
|
|
352
|
-
|
|
353
|
-
/***/ }),
|
|
354
|
-
|
|
355
|
-
/***/ "d6d7":
|
|
356
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
357
|
-
|
|
358
|
-
"use strict";
|
|
359
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_InputField_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a81e");
|
|
360
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_InputField_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_InputField_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
361
|
-
/* unused harmony reexport * */
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
/***/ }),
|
|
365
|
-
|
|
366
|
-
/***/ "deba":
|
|
367
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
368
|
-
|
|
369
|
-
"use strict";
|
|
370
|
-
/* harmony import */ var _mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_cache_loader_dist_cjs_js_ref_0_0_vue_loader_lib_index_js_vue_loader_options_Spinner_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("565d");
|
|
371
|
-
/* harmony import */ var _mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_cache_loader_dist_cjs_js_ref_0_0_vue_loader_lib_index_js_vue_loader_options_Spinner_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_css_loader_dist_cjs_js_ref_6_oneOf_1_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_src_index_js_ref_6_oneOf_1_2_cache_loader_dist_cjs_js_ref_0_0_vue_loader_lib_index_js_vue_loader_options_Spinner_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
372
|
-
/* unused harmony reexport * */
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
/***/ }),
|
|
376
|
-
|
|
377
|
-
/***/ "fb15":
|
|
378
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
379
|
-
|
|
380
|
-
"use strict";
|
|
381
|
-
// ESM COMPAT FLAG
|
|
382
|
-
__webpack_require__.r(__webpack_exports__);
|
|
383
|
-
|
|
384
|
-
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
385
|
-
// This file is imported into lib/wc client bundles.
|
|
386
|
-
|
|
387
|
-
if (typeof window !== 'undefined') {
|
|
388
|
-
var currentScript = window.document.currentScript
|
|
389
|
-
if (true) {
|
|
390
|
-
var getCurrentScript = __webpack_require__("8875")
|
|
391
|
-
currentScript = getCurrentScript()
|
|
392
|
-
|
|
393
|
-
// for backward compatibility, because previously we directly included the polyfill
|
|
394
|
-
if (!('currentScript' in document)) {
|
|
395
|
-
Object.defineProperty(document, 'currentScript', { get: getCurrentScript })
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
var setPublicPath_src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
|
|
400
|
-
if (setPublicPath_src) {
|
|
401
|
-
__webpack_require__.p = setPublicPath_src[1] // eslint-disable-line
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
// Indicate to webpack that this file can be concatenated
|
|
406
|
-
/* harmony default export */ var setPublicPath = (null);
|
|
407
|
-
|
|
408
|
-
// EXTERNAL MODULE: ./src/css/InputField.css
|
|
409
|
-
var InputField = __webpack_require__("c177");
|
|
410
|
-
|
|
411
|
-
// EXTERNAL MODULE: ./node_modules/@vue-interface/form-control/src/scss/CustomFields.scss
|
|
412
|
-
var CustomFields = __webpack_require__("c7c5");
|
|
413
|
-
|
|
414
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"479c97a0-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/InputField.vue?vue&type=template&id=ae132dc2&
|
|
415
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.formGroupClasses},[_vm._t("label",[(_vm.label)?_c('label',{ref:"label",class:_vm.labelClass,attrs:{"for":_vm.id},domProps:{"innerHTML":_vm._s(_vm.label)}}):_vm._e()]),_c('div',{staticClass:"form-group-inner"},[_vm._t("control",[(_vm.$slots.icon)?_c('div',{staticClass:"form-group-inner-icon",on:{"click":function($event){return _vm.$refs.field.focus()}}},[_vm._t("icon")],2):_vm._e(),_c('input',_vm._b({directives:[{name:"bind-events",rawName:"v-bind-events"}],ref:"field",domProps:{"value":_vm.currentValue},on:{"input":_vm.onInput}},'input',_vm.controlAttributes,false))]),_vm._t("activity",[_c('transition',{attrs:{"name":"input-field-fade"}},[(_vm.activity)?_c('activity-indicator',{key:"activity",ref:"activity",attrs:{"type":_vm.indicator,"size":_vm.indicatorSize || _vm.size}}):_vm._e()],1)])],2),_vm._t("feedback",[(_vm.invalidFeedback)?_c('div',{staticClass:"invalid-feedback",attrs:{"invalid":""},domProps:{"innerHTML":_vm._s(_vm.invalidFeedback)}}):(_vm.validFeedback)?_c('div',{staticClass:"valid-feedback",attrs:{"valid":""},domProps:{"innerHTML":_vm._s(_vm.validFeedback)}}):_vm._e()]),_vm._t("help",[(_vm.helpText)?_c('small',{ref:"help"},[_vm._v(" "+_vm._s(_vm.helpText)+" ")]):_vm._e()])],2)}
|
|
416
|
-
var staticRenderFns = []
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
// CONCATENATED MODULE: ./src/InputField.vue?vue&type=template&id=ae132dc2&
|
|
420
|
-
|
|
421
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/camelCase.js
|
|
422
|
-
function camelCase(string) {
|
|
423
|
-
if(!string) {
|
|
424
|
-
return string;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
string = string.replace(/(?:(^.)|([-_\s]+.))/g, function(match) {
|
|
428
|
-
return match.charAt(match.length - 1).toUpperCase();
|
|
429
|
-
});
|
|
430
|
-
|
|
431
|
-
return string.charAt(0).toLowerCase() + string.substring(1);
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/capitalize.js
|
|
435
|
-
function capitalize(string) {
|
|
436
|
-
return string.split(' ').map(value => {
|
|
437
|
-
return value.charAt(0).toUpperCase() + value.slice(1);
|
|
438
|
-
}).join(' ');
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/isObject.js
|
|
442
|
-
function isObject(subject) {
|
|
443
|
-
return (!!subject) && (subject.constructor === Object);
|
|
444
|
-
};
|
|
445
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/now.js
|
|
446
|
-
/**
|
|
447
|
-
* Gets the timestamp of the number of milliseconds that have elapsed since
|
|
448
|
-
* the Unix epoch (1 January 1970 00:00:00 UTC).
|
|
449
|
-
*
|
|
450
|
-
* @static
|
|
451
|
-
* @memberOf _
|
|
452
|
-
* @since 2.4.0
|
|
453
|
-
* @category Date
|
|
454
|
-
* @returns {number} Returns the timestamp.
|
|
455
|
-
* @example
|
|
456
|
-
*
|
|
457
|
-
* _.defer(function(stamp) {
|
|
458
|
-
* console.log(_.now() - stamp);
|
|
459
|
-
* }, _.now());
|
|
460
|
-
* // => Logs the number of milliseconds it took for the deferred invocation.
|
|
461
|
-
*/
|
|
462
|
-
var now = function() {
|
|
463
|
-
return Date.now();
|
|
464
|
-
};
|
|
465
|
-
|
|
466
|
-
/* harmony default export */ var src_now = (now);
|
|
467
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/isSymbol.js
|
|
468
|
-
function isSymbol(value) {
|
|
469
|
-
return typeof value === 'symbol';
|
|
470
|
-
}
|
|
471
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/toNumber.js
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
/** Used as references for various `Number` constants. */
|
|
476
|
-
var NAN = 0 / 0;
|
|
477
|
-
|
|
478
|
-
/** Used to match leading and trailing whitespace. */
|
|
479
|
-
var reTrim = /^\s+|\s+$/g;
|
|
480
|
-
|
|
481
|
-
/** Used to detect bad signed hexadecimal string values. */
|
|
482
|
-
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
483
|
-
|
|
484
|
-
/** Used to detect binary string values. */
|
|
485
|
-
var reIsBinary = /^0b[01]+$/i;
|
|
486
|
-
|
|
487
|
-
/** Used to detect octal string values. */
|
|
488
|
-
var reIsOctal = /^0o[0-7]+$/i;
|
|
489
|
-
|
|
490
|
-
/** Built-in method references without a dependency on `root`. */
|
|
491
|
-
var freeParseInt = parseInt;
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* Converts `value` to a number.
|
|
495
|
-
*
|
|
496
|
-
* @static
|
|
497
|
-
* @memberOf _
|
|
498
|
-
* @since 4.0.0
|
|
499
|
-
* @category Lang
|
|
500
|
-
* @param {*} value The value to process.
|
|
501
|
-
* @returns {number} Returns the number.
|
|
502
|
-
* @example
|
|
503
|
-
*
|
|
504
|
-
* _.toNumber(3.2);
|
|
505
|
-
* // => 3.2
|
|
506
|
-
*
|
|
507
|
-
* _.toNumber(Number.MIN_VALUE);
|
|
508
|
-
* // => 5e-324
|
|
509
|
-
*
|
|
510
|
-
* _.toNumber(Infinity);
|
|
511
|
-
* // => Infinity
|
|
512
|
-
*
|
|
513
|
-
* _.toNumber('3.2');
|
|
514
|
-
* // => 3.2
|
|
515
|
-
*/
|
|
516
|
-
function toNumber(value) {
|
|
517
|
-
if(typeof value == 'number') {
|
|
518
|
-
return value;
|
|
519
|
-
}
|
|
520
|
-
if(isSymbol(value)) {
|
|
521
|
-
return NAN;
|
|
522
|
-
}
|
|
523
|
-
if(isObject(value)) {
|
|
524
|
-
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
|
|
525
|
-
value = isObject(other) ? (other + '') : other;
|
|
526
|
-
}
|
|
527
|
-
if(typeof value != 'string') {
|
|
528
|
-
return value === 0 ? value : +value;
|
|
529
|
-
}
|
|
530
|
-
value = value.replace(reTrim, '');
|
|
531
|
-
var isBinary = reIsBinary.test(value);
|
|
532
|
-
return (isBinary || reIsOctal.test(value))
|
|
533
|
-
? freeParseInt(value.slice(2), isBinary ? 2 : 8)
|
|
534
|
-
: (reIsBadHex.test(value) ? NAN : +value);
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/* harmony default export */ var src_toNumber = (toNumber);
|
|
538
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/debounce.js
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
/** Error message constants. */
|
|
544
|
-
var FUNC_ERROR_TEXT = 'Expected a function';
|
|
545
|
-
|
|
546
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
547
|
-
var nativeMax = Math.max,
|
|
548
|
-
nativeMin = Math.min;
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* Creates a debounced function that delays invoking `func` until after `wait`
|
|
552
|
-
* milliseconds have elapsed since the last time the debounced function was
|
|
553
|
-
* invoked. The debounced function comes with a `cancel` method to cancel
|
|
554
|
-
* delayed `func` invocations and a `flush` method to immediately invoke them.
|
|
555
|
-
* Provide `options` to indicate whether `func` should be invoked on the
|
|
556
|
-
* leading and/or trailing edge of the `wait` timeout. The `func` is invoked
|
|
557
|
-
* with the last arguments provided to the debounced function. Subsequent
|
|
558
|
-
* calls to the debounced function return the result of the last `func`
|
|
559
|
-
* invocation.
|
|
560
|
-
*
|
|
561
|
-
* **Note:** If `leading` and `trailing` options are `true`, `func` is
|
|
562
|
-
* invoked on the trailing edge of the timeout only if the debounced function
|
|
563
|
-
* is invoked more than once during the `wait` timeout.
|
|
564
|
-
*
|
|
565
|
-
* If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
|
|
566
|
-
* until to the next tick, similar to `setTimeout` with a timeout of `0`.
|
|
567
|
-
*
|
|
568
|
-
* See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
|
|
569
|
-
* for details over the differences between `_.debounce` and `_.throttle`.
|
|
570
|
-
*
|
|
571
|
-
* @static
|
|
572
|
-
* @memberOf _
|
|
573
|
-
* @since 0.1.0
|
|
574
|
-
* @category Function
|
|
575
|
-
* @param {Function} func The function to debounce.
|
|
576
|
-
* @param {number} [wait=0] The number of milliseconds to delay.
|
|
577
|
-
* @param {Object} [options={}] The options object.
|
|
578
|
-
* @param {boolean} [options.leading=false]
|
|
579
|
-
* Specify invoking on the leading edge of the timeout.
|
|
580
|
-
* @param {number} [options.maxWait]
|
|
581
|
-
* The maximum time `func` is allowed to be delayed before it's invoked.
|
|
582
|
-
* @param {boolean} [options.trailing=true]
|
|
583
|
-
* Specify invoking on the trailing edge of the timeout.
|
|
584
|
-
* @returns {Function} Returns the new debounced function.
|
|
585
|
-
* @example
|
|
586
|
-
*
|
|
587
|
-
* // Avoid costly calculations while the window size is in flux.
|
|
588
|
-
* jQuery(window).on('resize', _.debounce(calculateLayout, 150));
|
|
589
|
-
*
|
|
590
|
-
* // Invoke `sendMail` when clicked, debouncing subsequent calls.
|
|
591
|
-
* jQuery(element).on('click', _.debounce(sendMail, 300, {
|
|
592
|
-
* 'leading': true,
|
|
593
|
-
* 'trailing': false
|
|
594
|
-
* }));
|
|
595
|
-
*
|
|
596
|
-
* // Ensure `batchLog` is invoked once after 1 second of debounced calls.
|
|
597
|
-
* var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
|
|
598
|
-
* var source = new EventSource('/stream');
|
|
599
|
-
* jQuery(source).on('message', debounced);
|
|
600
|
-
*
|
|
601
|
-
* // Cancel the trailing debounced invocation.
|
|
602
|
-
* jQuery(window).on('popstate', debounced.cancel);
|
|
603
|
-
*/
|
|
604
|
-
function debounce(func, wait, options) {
|
|
605
|
-
var lastArgs,
|
|
606
|
-
lastThis,
|
|
607
|
-
maxWait,
|
|
608
|
-
result,
|
|
609
|
-
timerId,
|
|
610
|
-
lastCallTime,
|
|
611
|
-
lastInvokeTime = 0,
|
|
612
|
-
leading = false,
|
|
613
|
-
maxing = false,
|
|
614
|
-
trailing = true;
|
|
615
|
-
|
|
616
|
-
if(typeof func != 'function') {
|
|
617
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
618
|
-
}
|
|
619
|
-
wait = src_toNumber(wait) || 0;
|
|
620
|
-
if(isObject(options)) {
|
|
621
|
-
leading = !!options.leading;
|
|
622
|
-
maxing = 'maxWait' in options;
|
|
623
|
-
maxWait = maxing ? nativeMax(src_toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
624
|
-
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
function invokeFunc(time) {
|
|
628
|
-
var args = lastArgs,
|
|
629
|
-
thisArg = lastThis;
|
|
630
|
-
|
|
631
|
-
lastArgs = lastThis = undefined;
|
|
632
|
-
lastInvokeTime = time;
|
|
633
|
-
result = func.apply(thisArg, args);
|
|
634
|
-
return result;
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
function leadingEdge(time) {
|
|
638
|
-
// Reset any `maxWait` timer.
|
|
639
|
-
lastInvokeTime = time;
|
|
640
|
-
// Start the timer for the trailing edge.
|
|
641
|
-
timerId = setTimeout(timerExpired, wait);
|
|
642
|
-
// Invoke the leading edge.
|
|
643
|
-
return leading ? invokeFunc(time) : result;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
function remainingWait(time) {
|
|
647
|
-
var timeSinceLastCall = time - lastCallTime,
|
|
648
|
-
timeSinceLastInvoke = time - lastInvokeTime,
|
|
649
|
-
timeWaiting = wait - timeSinceLastCall;
|
|
650
|
-
|
|
651
|
-
return maxing
|
|
652
|
-
? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
|
|
653
|
-
: timeWaiting;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
function shouldInvoke(time) {
|
|
657
|
-
var timeSinceLastCall = time - lastCallTime,
|
|
658
|
-
timeSinceLastInvoke = time - lastInvokeTime;
|
|
659
|
-
|
|
660
|
-
// Either this is the first call, activity has stopped and we're at the
|
|
661
|
-
// trailing edge, the system time has gone backwards and we're treating
|
|
662
|
-
// it as the trailing edge, or we've hit the `maxWait` limit.
|
|
663
|
-
return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||
|
|
664
|
-
(timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
function timerExpired() {
|
|
668
|
-
var time = src_now();
|
|
669
|
-
if(shouldInvoke(time)) {
|
|
670
|
-
return trailingEdge(time);
|
|
671
|
-
}
|
|
672
|
-
// Restart the timer.
|
|
673
|
-
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
function trailingEdge(time) {
|
|
677
|
-
timerId = undefined;
|
|
678
|
-
|
|
679
|
-
// Only invoke if we have `lastArgs` which means `func` has been
|
|
680
|
-
// debounced at least once.
|
|
681
|
-
if(trailing && lastArgs) {
|
|
682
|
-
return invokeFunc(time);
|
|
683
|
-
}
|
|
684
|
-
lastArgs = lastThis = undefined;
|
|
685
|
-
return result;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
function cancel() {
|
|
689
|
-
if(timerId !== undefined) {
|
|
690
|
-
clearTimeout(timerId);
|
|
691
|
-
}
|
|
692
|
-
lastInvokeTime = 0;
|
|
693
|
-
lastArgs = lastCallTime = lastThis = timerId = undefined;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
function flush() {
|
|
697
|
-
return timerId === undefined ? result : trailingEdge(src_now());
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
function debounced() {
|
|
701
|
-
var time = src_now(),
|
|
702
|
-
isInvoking = shouldInvoke(time);
|
|
703
|
-
|
|
704
|
-
lastArgs = arguments;
|
|
705
|
-
lastThis = this;
|
|
706
|
-
lastCallTime = time;
|
|
707
|
-
|
|
708
|
-
if(isInvoking) {
|
|
709
|
-
if(timerId === undefined) {
|
|
710
|
-
return leadingEdge(lastCallTime);
|
|
711
|
-
}
|
|
712
|
-
if(maxing) {
|
|
713
|
-
// Handle invocations in a tight loop.
|
|
714
|
-
timerId = setTimeout(timerExpired, wait);
|
|
715
|
-
return invokeFunc(lastCallTime);
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
if(timerId === undefined) {
|
|
719
|
-
timerId = setTimeout(timerExpired, wait);
|
|
720
|
-
}
|
|
721
|
-
return result;
|
|
722
|
-
}
|
|
723
|
-
debounced.cancel = cancel;
|
|
724
|
-
debounced.flush = flush;
|
|
725
|
-
return debounced;
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
/* harmony default export */ var src_debounce = (debounce);
|
|
729
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/deepExtend.js
|
|
730
|
-
// import 'core-js/features/object/assign';
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
* Deep merge two objects.
|
|
735
|
-
* @param target
|
|
736
|
-
* @param ...sources
|
|
737
|
-
*/
|
|
738
|
-
function deepExtend(target, ...sources) {
|
|
739
|
-
if(!sources.length) return target;
|
|
740
|
-
|
|
741
|
-
const source = sources.shift();
|
|
742
|
-
|
|
743
|
-
if(isObject(target) && isObject(source)) {
|
|
744
|
-
for(const key in source) {
|
|
745
|
-
if(isObject(source[key])) {
|
|
746
|
-
if(!target[key]) Object.assign(target, { [key]: {} });
|
|
747
|
-
deepExtend(target[key], source[key]);
|
|
748
|
-
}
|
|
749
|
-
else {
|
|
750
|
-
Object.assign(target, { [key]: source[key] });
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
return deepExtend(target, ...sources);
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/first.js
|
|
759
|
-
function first(array) {
|
|
760
|
-
return (array && array.length) ? array[0] : undefined;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/isArray.js
|
|
764
|
-
// import 'core-js/features/array/is-array';
|
|
765
|
-
|
|
766
|
-
function isArray(value) {
|
|
767
|
-
return Array.isArray(value);
|
|
768
|
-
}
|
|
769
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/matches.js
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
function matches(properties) {
|
|
773
|
-
return subject => {
|
|
774
|
-
for(const i in properties) {
|
|
775
|
-
if(isObject(properties[i])) {
|
|
776
|
-
return subject[i] ? matches(properties[i])(subject[i]) : false;
|
|
777
|
-
}
|
|
778
|
-
else if(!subject || subject[i] !== properties[i]) {
|
|
779
|
-
return false;
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
return true;
|
|
784
|
-
};
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/isNull.js
|
|
788
|
-
function isNull(value) {
|
|
789
|
-
return value === null;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/isString.js
|
|
793
|
-
function isString(value) {
|
|
794
|
-
return typeof value === 'string';
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/isUndefined.js
|
|
798
|
-
function isUndefined(value) {
|
|
799
|
-
return typeof value === 'undefined';
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/get.js
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
function get(object, path, defaultValue) {
|
|
809
|
-
const value = (isString(path) ? path.split('.') : (
|
|
810
|
-
!isArray(path) ? [path] : path)
|
|
811
|
-
).reduce((a, b) => a[b], object);
|
|
812
|
-
|
|
813
|
-
return !isUndefined(value) && !isNull(value) ? value : (
|
|
814
|
-
!isUndefined(defaultValue) ? defaultValue : value
|
|
815
|
-
);
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/property.js
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
function property(path) {
|
|
822
|
-
return object => {
|
|
823
|
-
return get(object, path);
|
|
824
|
-
};
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/isFunction.js
|
|
828
|
-
function isFunction(value) {
|
|
829
|
-
return value instanceof Function;
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/matchesProperty.js
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
function matchesProperty(path, value) {
|
|
836
|
-
return subject => {
|
|
837
|
-
return get(subject, path) === value;
|
|
838
|
-
};
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/predicate.js
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
function predicate(value) {
|
|
850
|
-
if(isObject(value)) {
|
|
851
|
-
value = matches(value);
|
|
852
|
-
}
|
|
853
|
-
else if(isArray(value)) {
|
|
854
|
-
value = matchesProperty(value[0], value[1]);
|
|
855
|
-
}
|
|
856
|
-
else if(!isFunction(value)) {
|
|
857
|
-
value = property(value);
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
return value;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/find.js
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
function find(subject, value) {
|
|
868
|
-
return first(subject.filter(object => predicate(value)(object)));
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/isNumber.js
|
|
872
|
-
function isNumber(value) {
|
|
873
|
-
return (typeof value === 'number') || (
|
|
874
|
-
value ? value.toString() === '[object Number]' : false
|
|
875
|
-
);
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/isNumeric.js
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
function isNumeric(value) {
|
|
883
|
-
return isNumber(value) || (
|
|
884
|
-
!!value && !isArray(value) && !!value.toString().match(/^-?[\d.,]+$/)
|
|
885
|
-
);
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/key.js
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
function key_key(value) {
|
|
892
|
-
return isNumeric(value) ? parseFloat(value) : value;
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/findIndex.js
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
function findIndex(subject, value) {
|
|
900
|
-
for(const i in subject) {
|
|
901
|
-
if(predicate(value)(subject[i])) {
|
|
902
|
-
return key_key(i);
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
return -1;
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/isBoolean.js
|
|
910
|
-
function isBoolean(subject) {
|
|
911
|
-
return typeof subject === 'boolean' || (
|
|
912
|
-
typeof subject === 'object'
|
|
913
|
-
&& subject !== null
|
|
914
|
-
&& typeof subject.valueOf() === 'boolean'
|
|
915
|
-
);
|
|
916
|
-
}
|
|
917
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/kebabCase.js
|
|
918
|
-
function kebabCase(str) {
|
|
919
|
-
return str && str.replace ?
|
|
920
|
-
str.replace(/([a-z])([A-Z])/g, '$1-$2')
|
|
921
|
-
.replace(/\s+/g, '-')
|
|
922
|
-
.replace(/_/g, '-')
|
|
923
|
-
.toLowerCase() : null;
|
|
924
|
-
};
|
|
925
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/prefix.js
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
function prefix_prefix(subject, prefix, delimeter = '-') {
|
|
930
|
-
const prefixer = (value, key) => {
|
|
931
|
-
const string = (key || value).toString().replace(new RegExp(`^${prefix}${delimeter}?`), '');
|
|
932
|
-
|
|
933
|
-
return [prefix, string].filter(value => !!value).join(delimeter);
|
|
934
|
-
};
|
|
935
|
-
|
|
936
|
-
if(isBoolean(subject)) {
|
|
937
|
-
return subject;
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
if(isObject(subject)) {
|
|
941
|
-
return Object.fromEntries(
|
|
942
|
-
Object.entries(subject).map(([key, value]) => [prefixer(key), value])
|
|
943
|
-
);
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
return subject && prefixer(subject);
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/readFile.js
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
function readFile(src, progress) {
|
|
953
|
-
return new Promise((resolve, reject) => {
|
|
954
|
-
const reader = new FileReader();
|
|
955
|
-
|
|
956
|
-
if(isFunction(progress)) {
|
|
957
|
-
reader.onprogress = e => {
|
|
958
|
-
if(e.lengthComputable) {
|
|
959
|
-
progress(parseInt((e.loaded / e.total) * 100, 10));
|
|
960
|
-
}
|
|
961
|
-
};
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
reader.onload = resolve;
|
|
965
|
-
reader.onerror = reject;
|
|
966
|
-
reader.onabort = reject;
|
|
967
|
-
reader.readAsDataURL(src);
|
|
968
|
-
});
|
|
969
|
-
}
|
|
970
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/script.js
|
|
971
|
-
const LOADED_SCRIPTS = {};
|
|
972
|
-
|
|
973
|
-
function script_element(url) {
|
|
974
|
-
const script = document.createElement('script');
|
|
975
|
-
script.setAttribute('src', url);
|
|
976
|
-
script.setAttribute('type', 'text/javascript');
|
|
977
|
-
script.setAttribute('charset', 'utf-8');
|
|
978
|
-
return script;
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
function append(script) {
|
|
982
|
-
if(document.querySelector('head')) {
|
|
983
|
-
document.querySelector('head').appendChild(script);
|
|
984
|
-
}
|
|
985
|
-
else {
|
|
986
|
-
document.querySelector('body').appendChild(script);
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
return script;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
function script(url) {
|
|
993
|
-
if(LOADED_SCRIPTS[url] instanceof Promise) {
|
|
994
|
-
return LOADED_SCRIPTS[url];
|
|
995
|
-
}
|
|
996
|
-
else if(LOADED_SCRIPTS[url] || document.querySelector(`script[src="${url}"]`)) {
|
|
997
|
-
return new Promise((resolve, reject) => {
|
|
998
|
-
resolve(LOADED_SCRIPTS[url]);
|
|
999
|
-
});
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
LOADED_SCRIPTS[url] = new Promise((resolve, reject) => {
|
|
1003
|
-
try {
|
|
1004
|
-
append(script_element(url)).addEventListener('load', event => {
|
|
1005
|
-
resolve(LOADED_SCRIPTS[url] = event);
|
|
1006
|
-
});
|
|
1007
|
-
}
|
|
1008
|
-
catch (e) {
|
|
1009
|
-
reject(e);
|
|
1010
|
-
}
|
|
1011
|
-
});
|
|
1012
|
-
|
|
1013
|
-
return LOADED_SCRIPTS[url];
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/sequence.js
|
|
1017
|
-
function sequence(fns, ...args) {
|
|
1018
|
-
const results = [];
|
|
1019
|
-
|
|
1020
|
-
const promise = fns.reduce((p, fn) => p.then(() => {
|
|
1021
|
-
return Promise.resolve(fn(...args)).then(response => {
|
|
1022
|
-
results.push(response);
|
|
1023
|
-
|
|
1024
|
-
return response;
|
|
1025
|
-
});
|
|
1026
|
-
}), Promise.resolve());
|
|
1027
|
-
|
|
1028
|
-
return promise.then(() => {
|
|
1029
|
-
return results;
|
|
1030
|
-
});
|
|
1031
|
-
};
|
|
1032
|
-
|
|
1033
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/transitionDuration.js
|
|
1034
|
-
function transitionDuration(el, defaultValue = '0s') {
|
|
1035
|
-
let duration = (
|
|
1036
|
-
getComputedStyle(el).transitionDuration ||
|
|
1037
|
-
getComputedStyle(el).animationDuration
|
|
1038
|
-
);
|
|
1039
|
-
|
|
1040
|
-
const numeric = parseFloat(duration, 10) || 0;
|
|
1041
|
-
|
|
1042
|
-
const unit = duration.match(/m?s/);
|
|
1043
|
-
|
|
1044
|
-
switch (unit && unit[0]) {
|
|
1045
|
-
|
|
1046
|
-
case 's':
|
|
1047
|
-
return numeric * 1000;
|
|
1048
|
-
default:
|
|
1049
|
-
return numeric;
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/transition.js
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
function transition(el, defaultValue) {
|
|
1056
|
-
if(!el) {
|
|
1057
|
-
return Promise.resolve(null);
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
return new Promise(resolve => {
|
|
1061
|
-
const delay = transitionDuration(el, defaultValue);
|
|
1062
|
-
|
|
1063
|
-
setTimeout(() => resolve(delay), delay);
|
|
1064
|
-
});
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/src/unit.js
|
|
1068
|
-
/* harmony default export */ var unit = (function(value, uom = 'px') {
|
|
1069
|
-
return value !== null
|
|
1070
|
-
&& value !== undefined
|
|
1071
|
-
&& value !== false
|
|
1072
|
-
&& isFinite(value) ? `${value}${uom}` : value;
|
|
1073
|
-
});
|
|
1074
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/utils/index.js
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/shadowable/index.js
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
/* harmony default export */ var shadowable = ({
|
|
1115
|
-
|
|
1116
|
-
props: {
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* The shadow size.
|
|
1120
|
-
*
|
|
1121
|
-
* @property {Boolean|String}
|
|
1122
|
-
*/
|
|
1123
|
-
shadow: {
|
|
1124
|
-
type: [Boolean, String],
|
|
1125
|
-
validate(value) {
|
|
1126
|
-
return value === true || [
|
|
1127
|
-
'shadow-sm',
|
|
1128
|
-
'shadow-lg'
|
|
1129
|
-
].indexOf(prefix_prefix(value, this.shadowableClassPrefix)) !== -1;
|
|
1130
|
-
}
|
|
1131
|
-
},
|
|
1132
|
-
|
|
1133
|
-
/**
|
|
1134
|
-
* The shadow class prefix.
|
|
1135
|
-
*
|
|
1136
|
-
* @property {String}
|
|
1137
|
-
*/
|
|
1138
|
-
shadowableClassPrefix: {
|
|
1139
|
-
type: String,
|
|
1140
|
-
default: 'shadow'
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
|
|
1144
|
-
computed: {
|
|
1145
|
-
|
|
1146
|
-
shadowableClass() {
|
|
1147
|
-
return this.shadow === true
|
|
1148
|
-
? this.shadowableClassPrefix
|
|
1149
|
-
: prefix_prefix(this.shadow, this.shadowableClassPrefix);
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
});
|
|
1155
|
-
|
|
1156
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/form-control/src/FormControl.js
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
/* harmony default export */ var FormControl = ({
|
|
1161
|
-
|
|
1162
|
-
inheritAttrs: false,
|
|
1163
|
-
|
|
1164
|
-
mixins: [
|
|
1165
|
-
shadowable
|
|
1166
|
-
],
|
|
1167
|
-
|
|
1168
|
-
props: {
|
|
1169
|
-
|
|
1170
|
-
/**
|
|
1171
|
-
* Show type activity indicator.
|
|
1172
|
-
*
|
|
1173
|
-
* @param {Boolean}
|
|
1174
|
-
*/
|
|
1175
|
-
activity: {
|
|
1176
|
-
type: Boolean,
|
|
1177
|
-
default: false
|
|
1178
|
-
},
|
|
1179
|
-
|
|
1180
|
-
/**
|
|
1181
|
-
* An array of event names that correlate with callback functions
|
|
1182
|
-
*
|
|
1183
|
-
* @param {Array}
|
|
1184
|
-
* @default ['focus', 'blur', 'change', 'click', 'keypress', 'keyup', 'keydown', 'progress', 'paste']
|
|
1185
|
-
*/
|
|
1186
|
-
bindEvents: {
|
|
1187
|
-
type: Array,
|
|
1188
|
-
default() {
|
|
1189
|
-
return ['focus', 'blur', 'change', 'click', 'keypress', 'keyup', 'keydown', 'progress', 'paste'];
|
|
1190
|
-
}
|
|
1191
|
-
},
|
|
1192
|
-
|
|
1193
|
-
/**
|
|
1194
|
-
* Is the form control a custom styled component.
|
|
1195
|
-
*
|
|
1196
|
-
* @param {Boolean}
|
|
1197
|
-
* @default false
|
|
1198
|
-
*/
|
|
1199
|
-
custom: {
|
|
1200
|
-
type: Boolean,
|
|
1201
|
-
default: false
|
|
1202
|
-
},
|
|
1203
|
-
|
|
1204
|
-
/**
|
|
1205
|
-
* The default class name assigned to the control element
|
|
1206
|
-
*
|
|
1207
|
-
* @param {String}
|
|
1208
|
-
* @default 'form-control'
|
|
1209
|
-
*/
|
|
1210
|
-
defaultControlClass: {
|
|
1211
|
-
type: String,
|
|
1212
|
-
default: 'form-control'
|
|
1213
|
-
},
|
|
1214
|
-
|
|
1215
|
-
/**
|
|
1216
|
-
* The field's default value.
|
|
1217
|
-
*
|
|
1218
|
-
* @param
|
|
1219
|
-
* @default null
|
|
1220
|
-
*/
|
|
1221
|
-
defaultValue: {
|
|
1222
|
-
default: null
|
|
1223
|
-
},
|
|
1224
|
-
|
|
1225
|
-
/**
|
|
1226
|
-
* An inline field validation error.
|
|
1227
|
-
*
|
|
1228
|
-
* @param {Boolean|String}
|
|
1229
|
-
*/
|
|
1230
|
-
error: [Boolean, String],
|
|
1231
|
-
|
|
1232
|
-
/**
|
|
1233
|
-
* An inline field validation errors passed as object with key/value
|
|
1234
|
-
* pairs. If errors passed as an object, the form name will be used for
|
|
1235
|
-
* the key.
|
|
1236
|
-
*
|
|
1237
|
-
* @param {Object|Boolean}
|
|
1238
|
-
* @default {}
|
|
1239
|
-
*/
|
|
1240
|
-
errors: {
|
|
1241
|
-
type: Object,
|
|
1242
|
-
default() {
|
|
1243
|
-
return {};
|
|
1244
|
-
}
|
|
1245
|
-
},
|
|
1246
|
-
|
|
1247
|
-
/**
|
|
1248
|
-
* Some feedback to add to the field once the field is successfully
|
|
1249
|
-
* valid.
|
|
1250
|
-
*
|
|
1251
|
-
* @param {String|Array}
|
|
1252
|
-
*/
|
|
1253
|
-
feedback: [String, Array],
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* Add form-group wrapper to input
|
|
1257
|
-
*
|
|
1258
|
-
* @param {Boolean}
|
|
1259
|
-
* @default true
|
|
1260
|
-
*/
|
|
1261
|
-
group: {
|
|
1262
|
-
type: Boolean,
|
|
1263
|
-
default: true
|
|
1264
|
-
},
|
|
1265
|
-
|
|
1266
|
-
/**
|
|
1267
|
-
* Some instructions to appear under the field label
|
|
1268
|
-
*
|
|
1269
|
-
* @param {Number|String}
|
|
1270
|
-
*/
|
|
1271
|
-
helpText: [Number, String],
|
|
1272
|
-
|
|
1273
|
-
/**
|
|
1274
|
-
* Hide the label for browsers, but leave it for screen readers.
|
|
1275
|
-
*
|
|
1276
|
-
* @param {Boolean}
|
|
1277
|
-
*/
|
|
1278
|
-
hideLabel: Boolean,
|
|
1279
|
-
|
|
1280
|
-
/**
|
|
1281
|
-
* The activity indicator type.
|
|
1282
|
-
*
|
|
1283
|
-
* @param {String}
|
|
1284
|
-
*/
|
|
1285
|
-
indicator: {
|
|
1286
|
-
type: String,
|
|
1287
|
-
default: 'spinner'
|
|
1288
|
-
},
|
|
1289
|
-
|
|
1290
|
-
/**
|
|
1291
|
-
* The activity indicator size.
|
|
1292
|
-
*
|
|
1293
|
-
* @param {String}
|
|
1294
|
-
*/
|
|
1295
|
-
indicatorSize: String,
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* Display the form field inline
|
|
1299
|
-
*
|
|
1300
|
-
* @param {Boolean}
|
|
1301
|
-
*/
|
|
1302
|
-
inline: Boolean,
|
|
1303
|
-
|
|
1304
|
-
/**
|
|
1305
|
-
* The invalid property
|
|
1306
|
-
*
|
|
1307
|
-
* @param {Boolean}
|
|
1308
|
-
*/
|
|
1309
|
-
invalid: Boolean,
|
|
1310
|
-
|
|
1311
|
-
/**
|
|
1312
|
-
* Use the legacy (Bootstrap 4) classes (if applicable).
|
|
1313
|
-
*
|
|
1314
|
-
* @param Boolean
|
|
1315
|
-
*/
|
|
1316
|
-
legacy: Boolean,
|
|
1317
|
-
|
|
1318
|
-
/**
|
|
1319
|
-
* The value of label element. If no value, no label will appear.
|
|
1320
|
-
*
|
|
1321
|
-
* @param {Number|String}
|
|
1322
|
-
*/
|
|
1323
|
-
label: [Number, String],
|
|
1324
|
-
|
|
1325
|
-
/**
|
|
1326
|
-
* The default label class assigned to the label element
|
|
1327
|
-
*
|
|
1328
|
-
* @param {String|Object}
|
|
1329
|
-
*/
|
|
1330
|
-
labelClass: [Object, String],
|
|
1331
|
-
|
|
1332
|
-
/**
|
|
1333
|
-
* Should the control look like a pill.
|
|
1334
|
-
*
|
|
1335
|
-
* @param {Boolean}
|
|
1336
|
-
*/
|
|
1337
|
-
pill: Boolean,
|
|
1338
|
-
|
|
1339
|
-
/**
|
|
1340
|
-
* Should the control look like plaintext.
|
|
1341
|
-
*
|
|
1342
|
-
* @param {Boolean}
|
|
1343
|
-
*/
|
|
1344
|
-
plaintext: Boolean,
|
|
1345
|
-
|
|
1346
|
-
/**
|
|
1347
|
-
* The size of the form control
|
|
1348
|
-
*
|
|
1349
|
-
* @param {String}
|
|
1350
|
-
*/
|
|
1351
|
-
size: {
|
|
1352
|
-
type: String,
|
|
1353
|
-
default: 'md',
|
|
1354
|
-
validate: value => ['sm', 'md', 'lg'].indexOf(value) !== -1
|
|
1355
|
-
},
|
|
1356
|
-
|
|
1357
|
-
/**
|
|
1358
|
-
* Additional margin/padding classes for fine control of spacing
|
|
1359
|
-
*
|
|
1360
|
-
* @param {String}
|
|
1361
|
-
*/
|
|
1362
|
-
spacing: String,
|
|
1363
|
-
|
|
1364
|
-
/**
|
|
1365
|
-
* The valid property
|
|
1366
|
-
*
|
|
1367
|
-
* @param {String}
|
|
1368
|
-
*/
|
|
1369
|
-
valid: Boolean,
|
|
1370
|
-
|
|
1371
|
-
/**
|
|
1372
|
-
* The field value.
|
|
1373
|
-
*
|
|
1374
|
-
* @property Mixed
|
|
1375
|
-
*/
|
|
1376
|
-
value: {
|
|
1377
|
-
default: null
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
},
|
|
1381
|
-
|
|
1382
|
-
directives: {
|
|
1383
|
-
bindEvents: {
|
|
1384
|
-
bind(el, binding, vnode) {
|
|
1385
|
-
function onInput() {
|
|
1386
|
-
vnode.context.isEmpty = !el.value;
|
|
1387
|
-
|
|
1388
|
-
if(el.value) {
|
|
1389
|
-
vnode.context.currentValue = el.value;
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
setSelectedIndex();
|
|
1393
|
-
|
|
1394
|
-
return onInput;
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
function setSelectedIndex() {
|
|
1398
|
-
// Set the data-selected-index attribute if necessary.
|
|
1399
|
-
if(el.selectedIndex >= -1) {
|
|
1400
|
-
el.setAttribute('data-selected-index', el.selectedIndex);
|
|
1401
|
-
}
|
|
1402
|
-
else {
|
|
1403
|
-
el.removeAttribute('data-selected-index');
|
|
1404
|
-
}
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
// Add the has-focus class from the form control
|
|
1408
|
-
el.addEventListener('focus', () => {
|
|
1409
|
-
vnode.context.hasFocus = true;
|
|
1410
|
-
});
|
|
1411
|
-
|
|
1412
|
-
// Remove the has-focus class from the form control
|
|
1413
|
-
el.addEventListener('blur', () => {
|
|
1414
|
-
vnode.context.hasFocus = false;
|
|
1415
|
-
});
|
|
1416
|
-
|
|
1417
|
-
// Remove the has-focus class from the form control
|
|
1418
|
-
el.addEventListener(el.tagName === 'SELECT' ? 'change' : 'input', onInput());
|
|
1419
|
-
|
|
1420
|
-
vnode.context.hasChanged = !!el.value;
|
|
1421
|
-
|
|
1422
|
-
// Bubble the native events up to the vue component.
|
|
1423
|
-
vnode.context.bindEvents.forEach(name => {
|
|
1424
|
-
el.addEventListener(name, event => {
|
|
1425
|
-
vnode.context.$emit(name, event);
|
|
1426
|
-
});
|
|
1427
|
-
});
|
|
1428
|
-
|
|
1429
|
-
if(el.tagName === 'SELECT') {
|
|
1430
|
-
const opt = el.querySelector('[value=""]');
|
|
1431
|
-
|
|
1432
|
-
if(opt && opt.value === el.value) {
|
|
1433
|
-
vnode.context.defaultEmpty = true;
|
|
1434
|
-
}
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
},
|
|
1439
|
-
|
|
1440
|
-
methods: {
|
|
1441
|
-
|
|
1442
|
-
blur() {
|
|
1443
|
-
if(this.getInputField()) {
|
|
1444
|
-
this.getInputField().blur();
|
|
1445
|
-
}
|
|
1446
|
-
},
|
|
1447
|
-
|
|
1448
|
-
focus() {
|
|
1449
|
-
if(this.getInputField()) {
|
|
1450
|
-
this.getInputField().focus();
|
|
1451
|
-
}
|
|
1452
|
-
},
|
|
1453
|
-
|
|
1454
|
-
getInputField() {
|
|
1455
|
-
return this.$el.querySelector(
|
|
1456
|
-
'.form-control, input, select, textarea'
|
|
1457
|
-
);
|
|
1458
|
-
},
|
|
1459
|
-
|
|
1460
|
-
getFieldErrors() {
|
|
1461
|
-
let errors = this.error || this.errors;
|
|
1462
|
-
|
|
1463
|
-
if(isObject(this.errors)) {
|
|
1464
|
-
errors = this.errors[this.$attrs.name || this.$attrs.id];
|
|
1465
|
-
}
|
|
1466
|
-
|
|
1467
|
-
return !errors || Array.isArray(errors) || isObject(errors) ? errors : [errors];
|
|
1468
|
-
},
|
|
1469
|
-
|
|
1470
|
-
onInput(e) {
|
|
1471
|
-
this.$emit('input', e.target.value);
|
|
1472
|
-
this.$emit('update:value', e.target.value);
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
},
|
|
1476
|
-
|
|
1477
|
-
computed: {
|
|
1478
|
-
|
|
1479
|
-
id() {
|
|
1480
|
-
return this.$attrs.id || Math.random().toString(36).substring(2, 15);
|
|
1481
|
-
},
|
|
1482
|
-
|
|
1483
|
-
componentName() {
|
|
1484
|
-
return this.$options.name;
|
|
1485
|
-
},
|
|
1486
|
-
|
|
1487
|
-
controlAttributes() {
|
|
1488
|
-
return Object.keys(this.$attrs)
|
|
1489
|
-
.concat([
|
|
1490
|
-
['id', this.id],
|
|
1491
|
-
['class', this.controlClasses]
|
|
1492
|
-
])
|
|
1493
|
-
.reduce((carry, key) => {
|
|
1494
|
-
if(Array.isArray(key)) {
|
|
1495
|
-
carry[key[0]] = key[1];
|
|
1496
|
-
}
|
|
1497
|
-
else {
|
|
1498
|
-
carry[key] = this[key] || this.$attrs[key];
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
return carry;
|
|
1502
|
-
}, {});
|
|
1503
|
-
},
|
|
1504
|
-
|
|
1505
|
-
controlClass() {
|
|
1506
|
-
return this.custom ? this.customControlClass : this.defaultControlClass;
|
|
1507
|
-
},
|
|
1508
|
-
|
|
1509
|
-
controlSizeClass() {
|
|
1510
|
-
return prefix_prefix(this.size, this.controlClass);
|
|
1511
|
-
},
|
|
1512
|
-
|
|
1513
|
-
customControlClass() {
|
|
1514
|
-
return 'custom-control';
|
|
1515
|
-
},
|
|
1516
|
-
|
|
1517
|
-
formGroupClasses() {
|
|
1518
|
-
const name = kebabCase(this.componentName);
|
|
1519
|
-
|
|
1520
|
-
return {
|
|
1521
|
-
[name]: !!name,
|
|
1522
|
-
[prefix_prefix(this.size, name)]: !!this.size,
|
|
1523
|
-
[prefix_prefix(name, 'custom')]: this.custom,
|
|
1524
|
-
[prefix_prefix(this.size, prefix_prefix(name, 'custom'))]: this.custom && this.size,
|
|
1525
|
-
'default-empty': this.defaultEmpty,
|
|
1526
|
-
'form-group': this.group,
|
|
1527
|
-
'has-activity': this.activity,
|
|
1528
|
-
'has-changed': this.hasChanged,
|
|
1529
|
-
'has-focus': this.hasFocus,
|
|
1530
|
-
'is-empty': this.isEmpty,
|
|
1531
|
-
'is-invalid': !!(this.invalid || this.invalidFeedback),
|
|
1532
|
-
'is-valid': !!(this.valid || this.validFeedback),
|
|
1533
|
-
};
|
|
1534
|
-
},
|
|
1535
|
-
|
|
1536
|
-
controlClasses() {
|
|
1537
|
-
return {
|
|
1538
|
-
[this.controlClass]: !!this.controlClass,
|
|
1539
|
-
[this.controlSizeClass]: !!this.controlSizeClass,
|
|
1540
|
-
'form-control-icon': !!this.$slots.icon,
|
|
1541
|
-
'is-valid': !!(this.valid || this.validFeedback),
|
|
1542
|
-
'is-invalid': !!(this.invalid || this.invalidFeedback),
|
|
1543
|
-
[this.pillClasses]: this.pill,
|
|
1544
|
-
[this.plaintextClass]: this.plaintext,
|
|
1545
|
-
[this.spacing]: !!this.spacing,
|
|
1546
|
-
[this.shadowableClassName]: !!this.shadow
|
|
1547
|
-
};
|
|
1548
|
-
},
|
|
1549
|
-
|
|
1550
|
-
hasDefaultSlot() {
|
|
1551
|
-
return !!this.$slots.default;
|
|
1552
|
-
},
|
|
1553
|
-
|
|
1554
|
-
invalidFeedback() {
|
|
1555
|
-
if(this.error) {
|
|
1556
|
-
return this.error;
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
|
-
const errors = this.getFieldErrors();
|
|
1560
|
-
|
|
1561
|
-
return Array.isArray(errors) ? errors.filter(error => {
|
|
1562
|
-
return error && typeof error === 'string';
|
|
1563
|
-
}).join('<br>') : errors;
|
|
1564
|
-
},
|
|
1565
|
-
|
|
1566
|
-
pillClasses() {
|
|
1567
|
-
return 'rounded rounded-pill';
|
|
1568
|
-
},
|
|
1569
|
-
|
|
1570
|
-
plaintextClass() {
|
|
1571
|
-
return 'form-control-plaintext';
|
|
1572
|
-
},
|
|
1573
|
-
|
|
1574
|
-
validFeedback() {
|
|
1575
|
-
return Array.isArray(this.feedback) ? this.feedback.join('<br>') : this.feedback;
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
},
|
|
1579
|
-
|
|
1580
|
-
watch: {
|
|
1581
|
-
value(value) {
|
|
1582
|
-
this.currentValue = value;
|
|
1583
|
-
},
|
|
1584
|
-
currentValue() {
|
|
1585
|
-
this.hasChanged = true;
|
|
1586
|
-
}
|
|
1587
|
-
},
|
|
1588
|
-
|
|
1589
|
-
mounted() {
|
|
1590
|
-
if(this.value === null && this.defaultValue !== null) {
|
|
1591
|
-
this.$emit('input', this.defaultValue);
|
|
1592
|
-
}
|
|
1593
|
-
},
|
|
1594
|
-
|
|
1595
|
-
data() {
|
|
1596
|
-
return {
|
|
1597
|
-
currentValue: this.value || this.defaultValue,
|
|
1598
|
-
defaultEmpty: false,
|
|
1599
|
-
hasChanged: false,
|
|
1600
|
-
hasFocus: false,
|
|
1601
|
-
isEmpty: false,
|
|
1602
|
-
};
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
});
|
|
1606
|
-
|
|
1607
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/form-control/index.js
|
|
1608
|
-
|
|
1609
|
-
/* harmony default export */ var form_control = (FormControl);
|
|
1610
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/component-registry/src/ComponentRegistry.js
|
|
1611
|
-
|
|
1612
|
-
class ComponentRegistry {
|
|
1613
|
-
|
|
1614
|
-
constructor(components = {}) {
|
|
1615
|
-
this.components = components;
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
validate(value) {
|
|
1619
|
-
if(typeof value === 'object' || typeof value === 'function') {
|
|
1620
|
-
return value;
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
throw new Error(
|
|
1624
|
-
`Invalid data type \`${typeof value}\`. Should be type \`object\` or \`function\`.`
|
|
1625
|
-
);
|
|
1626
|
-
}
|
|
1627
|
-
|
|
1628
|
-
get(name) {
|
|
1629
|
-
if(this.components[name]) {
|
|
1630
|
-
return this.components[name];
|
|
1631
|
-
}
|
|
1632
|
-
|
|
1633
|
-
throw new Error(`"${name}" has not been registered yet!`);
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
register(name, value) {
|
|
1637
|
-
if(typeof name === 'object') {
|
|
1638
|
-
Object.entries(name).forEach(([name, module]) => {
|
|
1639
|
-
this.register(name, module);
|
|
1640
|
-
});
|
|
1641
|
-
|
|
1642
|
-
return this;
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
|
-
this.components[name] = this.validate(value);
|
|
1646
|
-
|
|
1647
|
-
return this;
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
remove(name) {
|
|
1651
|
-
delete this.components[name];
|
|
1652
|
-
|
|
1653
|
-
return this;
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
reset() {
|
|
1657
|
-
this.components = {};
|
|
1658
|
-
}
|
|
1659
|
-
|
|
1660
|
-
}
|
|
1661
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/component-registry/src/index.js
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
function factory(...args) {
|
|
1665
|
-
return new ComponentRegistry(...args);
|
|
1666
|
-
}
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/component-registry/index.js
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/activity-indicator/src/registry.js
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
var registry = factory();
|
|
1677
|
-
|
|
1678
|
-
function registry_get() {
|
|
1679
|
-
return registry.get.apply(registry, arguments);
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
function register() {
|
|
1683
|
-
return registry.register.apply(registry, arguments);
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
function remove() {
|
|
1687
|
-
return registry.remove.apply(registry, arguments);
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
|
-
function registry_reset() {
|
|
1691
|
-
return registry.reset.apply(registry, arguments);
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"479c97a0-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!./node_modules/@vue-interface/activity-indicator/src/types/Spinner.vue?vue&type=template&id=2ee21020&
|
|
1696
|
-
var Spinnervue_type_template_id_2ee21020_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}
|
|
1697
|
-
var Spinnervue_type_template_id_2ee21020_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"activity-indicator-spinner"},[_c('div',{staticClass:"activity-indicator-spinner1 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner2 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner3 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner4 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner5 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner6 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner7 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner8 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner9 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner10 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner11 activity-indicator-spinner"}),_c('div',{staticClass:"activity-indicator-spinner12 activity-indicator-spinner"})])}]
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/activity-indicator/src/types/Spinner.vue?vue&type=template&id=2ee21020&
|
|
1701
|
-
|
|
1702
|
-
// EXTERNAL MODULE: ./node_modules/@vue-interface/activity-indicator/src/types/Spinner.vue?vue&type=style&index=0&lang=css&
|
|
1703
|
-
var Spinnervue_type_style_index_0_lang_css_ = __webpack_require__("deba");
|
|
1704
|
-
|
|
1705
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1706
|
-
var componentNormalizer = __webpack_require__("2877");
|
|
1707
|
-
|
|
1708
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/activity-indicator/src/types/Spinner.vue
|
|
1709
|
-
|
|
1710
|
-
var Spinner_script = {}
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
/* normalize component */
|
|
1715
|
-
|
|
1716
|
-
var Spinner_component = Object(componentNormalizer["a" /* default */])(
|
|
1717
|
-
Spinner_script,
|
|
1718
|
-
Spinnervue_type_template_id_2ee21020_render,
|
|
1719
|
-
Spinnervue_type_template_id_2ee21020_staticRenderFns,
|
|
1720
|
-
false,
|
|
1721
|
-
null,
|
|
1722
|
-
null,
|
|
1723
|
-
null
|
|
1724
|
-
|
|
1725
|
-
)
|
|
1726
|
-
|
|
1727
|
-
/* harmony default export */ var Spinner = (Spinner_component.exports);
|
|
1728
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"479c97a0-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!./node_modules/@vue-interface/activity-indicator/src/ActivityIndicator.vue?vue&type=template&id=2aa3d6b4&
|
|
1729
|
-
var ActivityIndicatorvue_type_template_id_2aa3d6b4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"activity-indicator",class:_vm.classes,style:(_vm.style)},[_c('div',{staticClass:"activity-indicator-content"},[_c(_vm.component,{tag:"component",staticClass:"mx-auto"}),(_vm.label)?_c('div',{staticClass:"activity-indicator-label"},[_vm._v(" "+_vm._s(_vm.label)+" ")]):_vm._e()],1)])}
|
|
1730
|
-
var ActivityIndicatorvue_type_template_id_2aa3d6b4_staticRenderFns = []
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/activity-indicator/src/ActivityIndicator.vue?vue&type=template&id=2aa3d6b4&
|
|
1734
|
-
|
|
1735
|
-
// 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!./node_modules/@vue-interface/activity-indicator/src/ActivityIndicator.vue?vue&type=script&lang=js&
|
|
1736
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1737
|
-
|
|
1738
|
-
//
|
|
1739
|
-
//
|
|
1740
|
-
//
|
|
1741
|
-
//
|
|
1742
|
-
//
|
|
1743
|
-
//
|
|
1744
|
-
//
|
|
1745
|
-
//
|
|
1746
|
-
//
|
|
1747
|
-
//
|
|
1748
|
-
//
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
/* harmony default export */ var ActivityIndicatorvue_type_script_lang_js_ = ({
|
|
1753
|
-
name: 'ActivityIndicator',
|
|
1754
|
-
props: {
|
|
1755
|
-
absolute: Boolean,
|
|
1756
|
-
center: Boolean,
|
|
1757
|
-
label: String,
|
|
1758
|
-
size: {
|
|
1759
|
-
type: String,
|
|
1760
|
-
default: 'md',
|
|
1761
|
-
validator: function validator(value) {
|
|
1762
|
-
return ['activity-indicator-xs', 'activity-indicator-sm', 'activity-indicator-md', 'activity-indicator-lg', 'activity-indicator-xl'].indexOf(prefix_prefix(value, 'activity-indicator')) > -1;
|
|
1763
|
-
}
|
|
1764
|
-
},
|
|
1765
|
-
registry: {
|
|
1766
|
-
type: ComponentRegistry,
|
|
1767
|
-
default: function _default() {
|
|
1768
|
-
return registry;
|
|
1769
|
-
}
|
|
1770
|
-
},
|
|
1771
|
-
type: {
|
|
1772
|
-
type: String,
|
|
1773
|
-
required: true
|
|
1774
|
-
},
|
|
1775
|
-
height: [String, Number],
|
|
1776
|
-
maxHeight: [String, Number],
|
|
1777
|
-
minHeight: [String, Number],
|
|
1778
|
-
width: [String, Number],
|
|
1779
|
-
maxWidth: [String, Number],
|
|
1780
|
-
minWidth: [String, Number]
|
|
1781
|
-
},
|
|
1782
|
-
computed: {
|
|
1783
|
-
classes: function classes() {
|
|
1784
|
-
return _defineProperty({
|
|
1785
|
-
'activity-indicator-center': this.center,
|
|
1786
|
-
'activity-indicator-absolute': this.absolute
|
|
1787
|
-
}, prefix_prefix(this.size, 'activity-indicator'), true);
|
|
1788
|
-
},
|
|
1789
|
-
style: function style() {
|
|
1790
|
-
return {
|
|
1791
|
-
width: unit(this.width),
|
|
1792
|
-
maxWidth: unit(this.maxWidth),
|
|
1793
|
-
minWidth: unit(this.minWidth),
|
|
1794
|
-
height: unit(this.height),
|
|
1795
|
-
maxHeight: unit(this.maxHeight),
|
|
1796
|
-
minHeight: unit(this.minHeight)
|
|
1797
|
-
};
|
|
1798
|
-
},
|
|
1799
|
-
component: function component() {
|
|
1800
|
-
var _this = this;
|
|
1801
|
-
|
|
1802
|
-
return function () {
|
|
1803
|
-
var component = registry.get(kebabCase(_this.type));
|
|
1804
|
-
|
|
1805
|
-
if (component instanceof Promise) {
|
|
1806
|
-
return component;
|
|
1807
|
-
}
|
|
1808
|
-
|
|
1809
|
-
if (typeof component === 'function') {
|
|
1810
|
-
return component();
|
|
1811
|
-
}
|
|
1812
|
-
|
|
1813
|
-
return Promise.resolve(component);
|
|
1814
|
-
};
|
|
1815
|
-
}
|
|
1816
|
-
}
|
|
1817
|
-
});
|
|
1818
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/activity-indicator/src/ActivityIndicator.vue?vue&type=script&lang=js&
|
|
1819
|
-
/* harmony default export */ var src_ActivityIndicatorvue_type_script_lang_js_ = (ActivityIndicatorvue_type_script_lang_js_);
|
|
1820
|
-
// EXTERNAL MODULE: ./node_modules/@vue-interface/activity-indicator/src/ActivityIndicator.vue?vue&type=style&index=0&lang=css&
|
|
1821
|
-
var ActivityIndicatorvue_type_style_index_0_lang_css_ = __webpack_require__("5f9e");
|
|
1822
|
-
|
|
1823
|
-
// CONCATENATED MODULE: ./node_modules/@vue-interface/activity-indicator/src/ActivityIndicator.vue
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
/* normalize component */
|
|
1831
|
-
|
|
1832
|
-
var ActivityIndicator_component = Object(componentNormalizer["a" /* default */])(
|
|
1833
|
-
src_ActivityIndicatorvue_type_script_lang_js_,
|
|
1834
|
-
ActivityIndicatorvue_type_template_id_2aa3d6b4_render,
|
|
1835
|
-
ActivityIndicatorvue_type_template_id_2aa3d6b4_staticRenderFns,
|
|
1836
|
-
false,
|
|
1837
|
-
null,
|
|
1838
|
-
null,
|
|
1839
|
-
null
|
|
1840
|
-
|
|
1841
|
-
)
|
|
1842
|
-
|
|
1843
|
-
/* harmony default export */ var ActivityIndicator = (ActivityIndicator_component.exports);
|
|
1844
|
-
// 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/InputField.vue?vue&type=script&lang=js&
|
|
1845
|
-
//
|
|
1846
|
-
//
|
|
1847
|
-
//
|
|
1848
|
-
//
|
|
1849
|
-
//
|
|
1850
|
-
//
|
|
1851
|
-
//
|
|
1852
|
-
//
|
|
1853
|
-
//
|
|
1854
|
-
//
|
|
1855
|
-
//
|
|
1856
|
-
//
|
|
1857
|
-
//
|
|
1858
|
-
//
|
|
1859
|
-
//
|
|
1860
|
-
//
|
|
1861
|
-
//
|
|
1862
|
-
//
|
|
1863
|
-
//
|
|
1864
|
-
//
|
|
1865
|
-
//
|
|
1866
|
-
//
|
|
1867
|
-
//
|
|
1868
|
-
//
|
|
1869
|
-
//
|
|
1870
|
-
//
|
|
1871
|
-
//
|
|
1872
|
-
//
|
|
1873
|
-
//
|
|
1874
|
-
//
|
|
1875
|
-
//
|
|
1876
|
-
//
|
|
1877
|
-
//
|
|
1878
|
-
//
|
|
1879
|
-
//
|
|
1880
|
-
//
|
|
1881
|
-
//
|
|
1882
|
-
//
|
|
1883
|
-
//
|
|
1884
|
-
//
|
|
1885
|
-
//
|
|
1886
|
-
//
|
|
1887
|
-
//
|
|
1888
|
-
//
|
|
1889
|
-
//
|
|
1890
|
-
//
|
|
1891
|
-
//
|
|
1892
|
-
//
|
|
1893
|
-
//
|
|
1894
|
-
//
|
|
1895
|
-
//
|
|
1896
|
-
//
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
register({
|
|
1900
|
-
spinner: Spinner
|
|
1901
|
-
});
|
|
1902
|
-
/* harmony default export */ var InputFieldvue_type_script_lang_js_ = ({
|
|
1903
|
-
name: 'InputField',
|
|
1904
|
-
components: {
|
|
1905
|
-
ActivityIndicator: ActivityIndicator
|
|
1906
|
-
},
|
|
1907
|
-
mixins: [form_control]
|
|
1908
|
-
});
|
|
1909
|
-
// CONCATENATED MODULE: ./src/InputField.vue?vue&type=script&lang=js&
|
|
1910
|
-
/* harmony default export */ var src_InputFieldvue_type_script_lang_js_ = (InputFieldvue_type_script_lang_js_);
|
|
1911
|
-
// EXTERNAL MODULE: ./src/InputField.vue?vue&type=style&index=0&lang=css&
|
|
1912
|
-
var InputFieldvue_type_style_index_0_lang_css_ = __webpack_require__("d6d7");
|
|
1913
|
-
|
|
1914
|
-
// CONCATENATED MODULE: ./src/InputField.vue
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
/* normalize component */
|
|
1922
|
-
|
|
1923
|
-
var InputField_component = Object(componentNormalizer["a" /* default */])(
|
|
1924
|
-
src_InputFieldvue_type_script_lang_js_,
|
|
1925
|
-
render,
|
|
1926
|
-
staticRenderFns,
|
|
1927
|
-
false,
|
|
1928
|
-
null,
|
|
1929
|
-
null,
|
|
1930
|
-
null
|
|
1931
|
-
|
|
1932
|
-
)
|
|
1933
|
-
|
|
1934
|
-
/* harmony default export */ var src_InputField = (InputField_component.exports);
|
|
1935
|
-
// 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!./main.vue?vue&type=script&lang=js&
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
/* harmony default export */ var lib_vue_loader_options_mainvue_type_script_lang_js_ = (src_InputField);
|
|
1940
|
-
// CONCATENATED MODULE: ./main.vue?vue&type=script&lang=js&
|
|
1941
|
-
/* harmony default export */ var mainvue_type_script_lang_js_ = (lib_vue_loader_options_mainvue_type_script_lang_js_);
|
|
1942
|
-
// EXTERNAL MODULE: ./main.vue?vue&type=style&index=0&lang=postcss&
|
|
1943
|
-
var mainvue_type_style_index_0_lang_postcss_ = __webpack_require__("4492");
|
|
1944
|
-
|
|
1945
|
-
// CONCATENATED MODULE: ./main.vue
|
|
1946
|
-
var main_render, main_staticRenderFns
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
/* normalize component */
|
|
1953
|
-
|
|
1954
|
-
var main_component = Object(componentNormalizer["a" /* default */])(
|
|
1955
|
-
mainvue_type_script_lang_js_,
|
|
1956
|
-
main_render,
|
|
1957
|
-
main_staticRenderFns,
|
|
1958
|
-
false,
|
|
1959
|
-
null,
|
|
1960
|
-
null,
|
|
1961
|
-
null
|
|
1962
|
-
|
|
1963
|
-
)
|
|
1964
|
-
|
|
1965
|
-
/* harmony default export */ var main = (main_component.exports);
|
|
1966
|
-
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (main);
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
/***/ })
|
|
1974
|
-
|
|
1975
|
-
/******/ })["default"];
|
|
1976
|
-
});
|
|
1977
|
-
//# sourceMappingURL=InputField.umd.js.map
|