tg-controls_cli 0.1.13 → 0.1.14
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/myLib.common.js +2692 -1411
- package/dist/myLib.common.js.map +1 -1
- package/dist/myLib.umd.js +2692 -1411
- package/dist/myLib.umd.js.map +1 -1
- package/dist/myLib.umd.min.js +5 -5
- package/dist/myLib.umd.min.js.map +1 -1
- package/package.json +3 -3
package/dist/myLib.common.js
CHANGED
|
@@ -1213,13 +1213,6 @@ function fromByteArray (uint8) {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
|
|
1215
1215
|
|
|
1216
|
-
/***/ }),
|
|
1217
|
-
|
|
1218
|
-
/***/ "2192":
|
|
1219
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1220
|
-
|
|
1221
|
-
// extracted by mini-css-extract-plugin
|
|
1222
|
-
|
|
1223
1216
|
/***/ }),
|
|
1224
1217
|
|
|
1225
1218
|
/***/ "21e7":
|
|
@@ -25868,6 +25861,17 @@ module.exports = function intersection(other) {
|
|
|
25868
25861
|
};
|
|
25869
25862
|
|
|
25870
25863
|
|
|
25864
|
+
/***/ }),
|
|
25865
|
+
|
|
25866
|
+
/***/ "97bd":
|
|
25867
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
25868
|
+
|
|
25869
|
+
"use strict";
|
|
25870
|
+
/* 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_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_1f3c9968_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f7d7");
|
|
25871
|
+
/* 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_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_1f3c9968_prod_lang_css__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_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_1f3c9968_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
25872
|
+
/* unused harmony reexport * */
|
|
25873
|
+
|
|
25874
|
+
|
|
25871
25875
|
/***/ }),
|
|
25872
25876
|
|
|
25873
25877
|
/***/ "9961":
|
|
@@ -26660,7 +26664,7 @@ var settle = __webpack_require__("467f");
|
|
|
26660
26664
|
var cookies = __webpack_require__("7aac");
|
|
26661
26665
|
var buildURL = __webpack_require__("30b5");
|
|
26662
26666
|
var buildFullPath = __webpack_require__("83b9e");
|
|
26663
|
-
var parseHeaders = __webpack_require__("
|
|
26667
|
+
var parseHeaders = __webpack_require__("c3456");
|
|
26664
26668
|
var isURLSameOrigin = __webpack_require__("3934");
|
|
26665
26669
|
var transitionalDefaults = __webpack_require__("cafa");
|
|
26666
26670
|
var AxiosError = __webpack_require__("7917");
|
|
@@ -28750,674 +28754,6 @@ module.exports = !fails(function () {
|
|
|
28750
28754
|
});
|
|
28751
28755
|
|
|
28752
28756
|
|
|
28753
|
-
/***/ }),
|
|
28754
|
-
|
|
28755
|
-
/***/ "b9d7":
|
|
28756
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
28757
|
-
|
|
28758
|
-
(function webpackUniversalModuleDefinition(root, factory) {
|
|
28759
|
-
if(true)
|
|
28760
|
-
module.exports = factory();
|
|
28761
|
-
else {}
|
|
28762
|
-
})(typeof self !== 'undefined' ? self : this, function() {
|
|
28763
|
-
return /******/ (function(modules) { // webpackBootstrap
|
|
28764
|
-
/******/ // The module cache
|
|
28765
|
-
/******/ var installedModules = {};
|
|
28766
|
-
/******/
|
|
28767
|
-
/******/ // The require function
|
|
28768
|
-
/******/ function __webpack_require__(moduleId) {
|
|
28769
|
-
/******/
|
|
28770
|
-
/******/ // Check if module is in cache
|
|
28771
|
-
/******/ if(installedModules[moduleId]) {
|
|
28772
|
-
/******/ return installedModules[moduleId].exports;
|
|
28773
|
-
/******/ }
|
|
28774
|
-
/******/ // Create a new module (and put it into the cache)
|
|
28775
|
-
/******/ var module = installedModules[moduleId] = {
|
|
28776
|
-
/******/ i: moduleId,
|
|
28777
|
-
/******/ l: false,
|
|
28778
|
-
/******/ exports: {}
|
|
28779
|
-
/******/ };
|
|
28780
|
-
/******/
|
|
28781
|
-
/******/ // Execute the module function
|
|
28782
|
-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
28783
|
-
/******/
|
|
28784
|
-
/******/ // Flag the module as loaded
|
|
28785
|
-
/******/ module.l = true;
|
|
28786
|
-
/******/
|
|
28787
|
-
/******/ // Return the exports of the module
|
|
28788
|
-
/******/ return module.exports;
|
|
28789
|
-
/******/ }
|
|
28790
|
-
/******/
|
|
28791
|
-
/******/
|
|
28792
|
-
/******/ // expose the modules object (__webpack_modules__)
|
|
28793
|
-
/******/ __webpack_require__.m = modules;
|
|
28794
|
-
/******/
|
|
28795
|
-
/******/ // expose the module cache
|
|
28796
|
-
/******/ __webpack_require__.c = installedModules;
|
|
28797
|
-
/******/
|
|
28798
|
-
/******/ // define getter function for harmony exports
|
|
28799
|
-
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
28800
|
-
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
28801
|
-
/******/ Object.defineProperty(exports, name, {
|
|
28802
|
-
/******/ configurable: false,
|
|
28803
|
-
/******/ enumerable: true,
|
|
28804
|
-
/******/ get: getter
|
|
28805
|
-
/******/ });
|
|
28806
|
-
/******/ }
|
|
28807
|
-
/******/ };
|
|
28808
|
-
/******/
|
|
28809
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
28810
|
-
/******/ __webpack_require__.n = function(module) {
|
|
28811
|
-
/******/ var getter = module && module.__esModule ?
|
|
28812
|
-
/******/ function getDefault() { return module['default']; } :
|
|
28813
|
-
/******/ function getModuleExports() { return module; };
|
|
28814
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
28815
|
-
/******/ return getter;
|
|
28816
|
-
/******/ };
|
|
28817
|
-
/******/
|
|
28818
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
28819
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
28820
|
-
/******/
|
|
28821
|
-
/******/ // __webpack_public_path__
|
|
28822
|
-
/******/ __webpack_require__.p = "";
|
|
28823
|
-
/******/
|
|
28824
|
-
/******/ // Load entry module and return exports
|
|
28825
|
-
/******/ return __webpack_require__(__webpack_require__.s = 0);
|
|
28826
|
-
/******/ })
|
|
28827
|
-
/************************************************************************/
|
|
28828
|
-
/******/ ([
|
|
28829
|
-
/* 0 */
|
|
28830
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
28831
|
-
|
|
28832
|
-
"use strict";
|
|
28833
|
-
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
28834
|
-
|
|
28835
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/Vue2ColorPicker.vue
|
|
28836
|
-
//
|
|
28837
|
-
//
|
|
28838
|
-
//
|
|
28839
|
-
//
|
|
28840
|
-
//
|
|
28841
|
-
//
|
|
28842
|
-
//
|
|
28843
|
-
//
|
|
28844
|
-
//
|
|
28845
|
-
//
|
|
28846
|
-
//
|
|
28847
|
-
//
|
|
28848
|
-
//
|
|
28849
|
-
//
|
|
28850
|
-
//
|
|
28851
|
-
//
|
|
28852
|
-
//
|
|
28853
|
-
//
|
|
28854
|
-
//
|
|
28855
|
-
//
|
|
28856
|
-
//
|
|
28857
|
-
//
|
|
28858
|
-
|
|
28859
|
-
/* harmony default export */ var Vue2ColorPicker = ({
|
|
28860
|
-
props: {
|
|
28861
|
-
'value': { type: String, default: '#FFFFFF' },
|
|
28862
|
-
'colors': {
|
|
28863
|
-
type: Array,
|
|
28864
|
-
default: function _default() {
|
|
28865
|
-
return ["#000000", "#993300", "#333300", "#000080", "#333399", "#333333", "#800000", "#FF6600", "#808000", "#008000", "#008080", "#0000FF", "#666699", "#808080", "#FF0000", "#FF9900", "#99CC00", "#339966", "#33CCCC", "#3366FF", "#800080", "#999999", "#FF00FF", "#FFCC00", "#FFFF00", "#00FF00", "#00FFFF", "#00CCFF", "#993366", "#C0C0C0", "#FFCC99", "#FFFF99", "#CCFFFF", "#99CCFF", "#FFFFFF"];
|
|
28866
|
-
}
|
|
28867
|
-
},
|
|
28868
|
-
drop: { type: String, default: 'dropdown' }
|
|
28869
|
-
},
|
|
28870
|
-
data: function data() {
|
|
28871
|
-
return {
|
|
28872
|
-
color: this.value || '#FFFFFF'
|
|
28873
|
-
};
|
|
28874
|
-
},
|
|
28875
|
-
|
|
28876
|
-
watch: {
|
|
28877
|
-
value: function value(v) {
|
|
28878
|
-
this.color = v;
|
|
28879
|
-
},
|
|
28880
|
-
color: function color(v) {
|
|
28881
|
-
var _this = this;
|
|
28882
|
-
|
|
28883
|
-
if (!/^#/.test(v)) {
|
|
28884
|
-
this.$nextTick(function () {
|
|
28885
|
-
return _this.color = '#' + _this.color;
|
|
28886
|
-
});
|
|
28887
|
-
}
|
|
28888
|
-
|
|
28889
|
-
this.$emit('input', v);
|
|
28890
|
-
}
|
|
28891
|
-
}
|
|
28892
|
-
});
|
|
28893
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-e32242b6","hasScoped":true,"optionsId":"0","buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/Vue2ColorPicker.vue
|
|
28894
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:( _obj = {}, _obj[_vm.drop] = true, _obj )},[_c('span',{staticClass:"form-control color-box",attrs:{"data-toggle":"dropdown","title":"Pick a color"}},[_c('span',{staticClass:"form-control color-box-inside",style:({'background-color': _vm.color})},[_vm._v(" ")]),_vm._v("\n "),_c('i',{staticClass:"fa fa-caret-down text-muted",attrs:{"id":"color-picker-arrow"}})]),_vm._v(" "),_c('ul',{ref:"palette",staticClass:"dropdown-menu color-palette",attrs:{"id":"colorMenu"}},[_c('li',{staticClass:"color-holder"},[_vm._l((_vm.colors),function(c){return _c('div',{staticClass:"color-box-sm",style:({'background-color': c}),on:{"click":function($event){_vm.color = c}}},[_c('i',{directives:[{name:"show",rawName:"v-show",value:(c === _vm.color),expression:"c === color"}],staticClass:"fa fa-check",staticStyle:{"position":"absolute"}})])}),_vm._v(" "),_c('div',{staticClass:"mr-1"},[_c('input',{directives:[{name:"model",rawName:"v-model.trim",value:(_vm.color),expression:"color",modifiers:{"trim":true}}],staticClass:"form-control color-text",attrs:{"type":"text","maxlength":"7","placeholder":"Color value"},domProps:{"value":(_vm.color)},on:{"keyup":function($event){if(!('button' in $event)&&$event.keyCode!==13&&$event.keyCode!==27){ return null; }_vm.$refs.palette.classList.remove('show')},"input":function($event){if($event.target.composing){ return; }_vm.color=$event.target.value.trim()},"blur":function($event){_vm.$forceUpdate()}}})])],2)])])])
|
|
28895
|
-
var _obj;}
|
|
28896
|
-
var staticRenderFns = []
|
|
28897
|
-
|
|
28898
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/component-normalizer.js
|
|
28899
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
28900
|
-
|
|
28901
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
28902
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
28903
|
-
// be included in the final webpack user bundle.
|
|
28904
|
-
|
|
28905
|
-
function normalizeComponent (
|
|
28906
|
-
scriptExports,
|
|
28907
|
-
render,
|
|
28908
|
-
staticRenderFns,
|
|
28909
|
-
functionalTemplate,
|
|
28910
|
-
injectStyles,
|
|
28911
|
-
scopeId,
|
|
28912
|
-
moduleIdentifier, /* server only */
|
|
28913
|
-
shadowMode /* vue-cli only */
|
|
28914
|
-
) {
|
|
28915
|
-
scriptExports = scriptExports || {}
|
|
28916
|
-
|
|
28917
|
-
// ES6 modules interop
|
|
28918
|
-
var type = typeof scriptExports.default
|
|
28919
|
-
if (type === 'object' || type === 'function') {
|
|
28920
|
-
scriptExports = scriptExports.default
|
|
28921
|
-
}
|
|
28922
|
-
|
|
28923
|
-
// Vue.extend constructor export interop
|
|
28924
|
-
var options = typeof scriptExports === 'function'
|
|
28925
|
-
? scriptExports.options
|
|
28926
|
-
: scriptExports
|
|
28927
|
-
|
|
28928
|
-
// render functions
|
|
28929
|
-
if (render) {
|
|
28930
|
-
options.render = render
|
|
28931
|
-
options.staticRenderFns = staticRenderFns
|
|
28932
|
-
options._compiled = true
|
|
28933
|
-
}
|
|
28934
|
-
|
|
28935
|
-
// functional template
|
|
28936
|
-
if (functionalTemplate) {
|
|
28937
|
-
options.functional = true
|
|
28938
|
-
}
|
|
28939
|
-
|
|
28940
|
-
// scopedId
|
|
28941
|
-
if (scopeId) {
|
|
28942
|
-
options._scopeId = scopeId
|
|
28943
|
-
}
|
|
28944
|
-
|
|
28945
|
-
var hook
|
|
28946
|
-
if (moduleIdentifier) { // server build
|
|
28947
|
-
hook = function (context) {
|
|
28948
|
-
// 2.3 injection
|
|
28949
|
-
context =
|
|
28950
|
-
context || // cached call
|
|
28951
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
28952
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
28953
|
-
// 2.2 with runInNewContext: true
|
|
28954
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
28955
|
-
context = __VUE_SSR_CONTEXT__
|
|
28956
|
-
}
|
|
28957
|
-
// inject component styles
|
|
28958
|
-
if (injectStyles) {
|
|
28959
|
-
injectStyles.call(this, context)
|
|
28960
|
-
}
|
|
28961
|
-
// register component module identifier for async chunk inferrence
|
|
28962
|
-
if (context && context._registeredComponents) {
|
|
28963
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
28964
|
-
}
|
|
28965
|
-
}
|
|
28966
|
-
// used by ssr in case component is cached and beforeCreate
|
|
28967
|
-
// never gets called
|
|
28968
|
-
options._ssrRegister = hook
|
|
28969
|
-
} else if (injectStyles) {
|
|
28970
|
-
hook = shadowMode
|
|
28971
|
-
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
28972
|
-
: injectStyles
|
|
28973
|
-
}
|
|
28974
|
-
|
|
28975
|
-
if (hook) {
|
|
28976
|
-
if (options.functional) {
|
|
28977
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
28978
|
-
// go through the normalizer
|
|
28979
|
-
options._injectStyles = hook
|
|
28980
|
-
// register for functioal component in vue file
|
|
28981
|
-
var originalRender = options.render
|
|
28982
|
-
options.render = function renderWithStyleInjection (h, context) {
|
|
28983
|
-
hook.call(context)
|
|
28984
|
-
return originalRender(h, context)
|
|
28985
|
-
}
|
|
28986
|
-
} else {
|
|
28987
|
-
// inject component registration as beforeCreate hook
|
|
28988
|
-
var existing = options.beforeCreate
|
|
28989
|
-
options.beforeCreate = existing
|
|
28990
|
-
? [].concat(existing, hook)
|
|
28991
|
-
: [hook]
|
|
28992
|
-
}
|
|
28993
|
-
}
|
|
28994
|
-
|
|
28995
|
-
return {
|
|
28996
|
-
exports: scriptExports,
|
|
28997
|
-
options: options
|
|
28998
|
-
}
|
|
28999
|
-
}
|
|
29000
|
-
|
|
29001
|
-
// CONCATENATED MODULE: ./src/components/Vue2ColorPicker.vue
|
|
29002
|
-
function injectStyle (context) {
|
|
29003
|
-
__webpack_require__(1)
|
|
29004
|
-
}
|
|
29005
|
-
/* script */
|
|
29006
|
-
|
|
29007
|
-
|
|
29008
|
-
/* template */
|
|
29009
|
-
|
|
29010
|
-
/* template functional */
|
|
29011
|
-
var __vue_template_functional__ = false
|
|
29012
|
-
/* styles */
|
|
29013
|
-
var __vue_styles__ = injectStyle
|
|
29014
|
-
/* scopeId */
|
|
29015
|
-
var __vue_scopeId__ = "data-v-e32242b6"
|
|
29016
|
-
/* moduleIdentifier (server only) */
|
|
29017
|
-
var __vue_module_identifier__ = null
|
|
29018
|
-
|
|
29019
|
-
var Component = normalizeComponent(
|
|
29020
|
-
Vue2ColorPicker,
|
|
29021
|
-
render,
|
|
29022
|
-
staticRenderFns,
|
|
29023
|
-
__vue_template_functional__,
|
|
29024
|
-
__vue_styles__,
|
|
29025
|
-
__vue_scopeId__,
|
|
29026
|
-
__vue_module_identifier__
|
|
29027
|
-
)
|
|
29028
|
-
|
|
29029
|
-
/* harmony default export */ var components_Vue2ColorPicker = (Component.exports);
|
|
29030
|
-
|
|
29031
|
-
// CONCATENATED MODULE: ./src/index.js
|
|
29032
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Vue2ColorPickerPlugin", function() { return src_Vue2ColorPickerPlugin; });
|
|
29033
|
-
/* concated harmony reexport */__webpack_require__.d(__webpack_exports__, "Vue2ColorPicker", function() { return components_Vue2ColorPicker; });
|
|
29034
|
-
|
|
29035
|
-
|
|
29036
|
-
var src_Vue2ColorPickerPlugin = function Vue2ColorPickerPlugin(Vue, params) {
|
|
29037
|
-
Vue.component('vue2-color-picker', components_Vue2ColorPicker);
|
|
29038
|
-
};
|
|
29039
|
-
|
|
29040
|
-
components_Vue2ColorPicker.install = src_Vue2ColorPickerPlugin;
|
|
29041
|
-
|
|
29042
|
-
/* harmony default export */ var src = __webpack_exports__["default"] = (components_Vue2ColorPicker);
|
|
29043
|
-
|
|
29044
|
-
|
|
29045
|
-
/***/ }),
|
|
29046
|
-
/* 1 */
|
|
29047
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
29048
|
-
|
|
29049
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
29050
|
-
|
|
29051
|
-
// load the styles
|
|
29052
|
-
var content = __webpack_require__(2);
|
|
29053
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
29054
|
-
if(content.locals) module.exports = content.locals;
|
|
29055
|
-
// add the styles to the DOM
|
|
29056
|
-
var add = __webpack_require__(4).default
|
|
29057
|
-
var update = add("7cacb4d0", content, true, {});
|
|
29058
|
-
|
|
29059
|
-
/***/ }),
|
|
29060
|
-
/* 2 */
|
|
29061
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
29062
|
-
|
|
29063
|
-
exports = module.exports = __webpack_require__(3)(false);
|
|
29064
|
-
// imports
|
|
29065
|
-
|
|
29066
|
-
|
|
29067
|
-
// module
|
|
29068
|
-
exports.push([module.i, ".color-box[data-v-e32242b6]{width:34px;line-height:32px;border:1px solid rgba(0,0,0,.3);display:inline-block;position:relative;cursor:pointer;padding:0}.color-box-inside[data-v-e32242b6]{left:1px;top:1px;width:30px;height:30px;position:absolute;padding:0}.color-box-sm[data-v-e32242b6]{width:18px;height:18px;border:1px solid gray;display:inline-block;margin:2px;cursor:pointer;position:relative}.color-text[data-v-e32242b6]{margin-left:2px;width:97%}.color-holder[data-v-e32242b6]{padding-left:2px}#color-picker-arrow[data-v-e32242b6]{position:absolute;bottom:0;right:2px;color:rgba(0,0,0,.5)}.color-palette[data-v-e32242b6]{max-width:160px}", ""]);
|
|
29069
|
-
|
|
29070
|
-
// exports
|
|
29071
|
-
|
|
29072
|
-
|
|
29073
|
-
/***/ }),
|
|
29074
|
-
/* 3 */
|
|
29075
|
-
/***/ (function(module, exports) {
|
|
29076
|
-
|
|
29077
|
-
/*
|
|
29078
|
-
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
29079
|
-
Author Tobias Koppers @sokra
|
|
29080
|
-
*/
|
|
29081
|
-
// css base code, injected by the css-loader
|
|
29082
|
-
module.exports = function(useSourceMap) {
|
|
29083
|
-
var list = [];
|
|
29084
|
-
|
|
29085
|
-
// return the list of modules as css string
|
|
29086
|
-
list.toString = function toString() {
|
|
29087
|
-
return this.map(function (item) {
|
|
29088
|
-
var content = cssWithMappingToString(item, useSourceMap);
|
|
29089
|
-
if(item[2]) {
|
|
29090
|
-
return "@media " + item[2] + "{" + content + "}";
|
|
29091
|
-
} else {
|
|
29092
|
-
return content;
|
|
29093
|
-
}
|
|
29094
|
-
}).join("");
|
|
29095
|
-
};
|
|
29096
|
-
|
|
29097
|
-
// import a list of modules into the list
|
|
29098
|
-
list.i = function(modules, mediaQuery) {
|
|
29099
|
-
if(typeof modules === "string")
|
|
29100
|
-
modules = [[null, modules, ""]];
|
|
29101
|
-
var alreadyImportedModules = {};
|
|
29102
|
-
for(var i = 0; i < this.length; i++) {
|
|
29103
|
-
var id = this[i][0];
|
|
29104
|
-
if(typeof id === "number")
|
|
29105
|
-
alreadyImportedModules[id] = true;
|
|
29106
|
-
}
|
|
29107
|
-
for(i = 0; i < modules.length; i++) {
|
|
29108
|
-
var item = modules[i];
|
|
29109
|
-
// skip already imported module
|
|
29110
|
-
// this implementation is not 100% perfect for weird media query combinations
|
|
29111
|
-
// when a module is imported multiple times with different media queries.
|
|
29112
|
-
// I hope this will never occur (Hey this way we have smaller bundles)
|
|
29113
|
-
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
|
|
29114
|
-
if(mediaQuery && !item[2]) {
|
|
29115
|
-
item[2] = mediaQuery;
|
|
29116
|
-
} else if(mediaQuery) {
|
|
29117
|
-
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
|
|
29118
|
-
}
|
|
29119
|
-
list.push(item);
|
|
29120
|
-
}
|
|
29121
|
-
}
|
|
29122
|
-
};
|
|
29123
|
-
return list;
|
|
29124
|
-
};
|
|
29125
|
-
|
|
29126
|
-
function cssWithMappingToString(item, useSourceMap) {
|
|
29127
|
-
var content = item[1] || '';
|
|
29128
|
-
var cssMapping = item[3];
|
|
29129
|
-
if (!cssMapping) {
|
|
29130
|
-
return content;
|
|
29131
|
-
}
|
|
29132
|
-
|
|
29133
|
-
if (useSourceMap && typeof btoa === 'function') {
|
|
29134
|
-
var sourceMapping = toComment(cssMapping);
|
|
29135
|
-
var sourceURLs = cssMapping.sources.map(function (source) {
|
|
29136
|
-
return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
|
|
29137
|
-
});
|
|
29138
|
-
|
|
29139
|
-
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
|
|
29140
|
-
}
|
|
29141
|
-
|
|
29142
|
-
return [content].join('\n');
|
|
29143
|
-
}
|
|
29144
|
-
|
|
29145
|
-
// Adapted from convert-source-map (MIT)
|
|
29146
|
-
function toComment(sourceMap) {
|
|
29147
|
-
// eslint-disable-next-line no-undef
|
|
29148
|
-
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
|
|
29149
|
-
var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
|
|
29150
|
-
|
|
29151
|
-
return '/*# ' + data + ' */';
|
|
29152
|
-
}
|
|
29153
|
-
|
|
29154
|
-
|
|
29155
|
-
/***/ }),
|
|
29156
|
-
/* 4 */
|
|
29157
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
29158
|
-
|
|
29159
|
-
"use strict";
|
|
29160
|
-
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
29161
|
-
|
|
29162
|
-
// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
|
|
29163
|
-
/**
|
|
29164
|
-
* Translates the list format produced by css-loader into something
|
|
29165
|
-
* easier to manipulate.
|
|
29166
|
-
*/
|
|
29167
|
-
function listToStyles (parentId, list) {
|
|
29168
|
-
var styles = []
|
|
29169
|
-
var newStyles = {}
|
|
29170
|
-
for (var i = 0; i < list.length; i++) {
|
|
29171
|
-
var item = list[i]
|
|
29172
|
-
var id = item[0]
|
|
29173
|
-
var css = item[1]
|
|
29174
|
-
var media = item[2]
|
|
29175
|
-
var sourceMap = item[3]
|
|
29176
|
-
var part = {
|
|
29177
|
-
id: parentId + ':' + i,
|
|
29178
|
-
css: css,
|
|
29179
|
-
media: media,
|
|
29180
|
-
sourceMap: sourceMap
|
|
29181
|
-
}
|
|
29182
|
-
if (!newStyles[id]) {
|
|
29183
|
-
styles.push(newStyles[id] = { id: id, parts: [part] })
|
|
29184
|
-
} else {
|
|
29185
|
-
newStyles[id].parts.push(part)
|
|
29186
|
-
}
|
|
29187
|
-
}
|
|
29188
|
-
return styles
|
|
29189
|
-
}
|
|
29190
|
-
|
|
29191
|
-
// CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
|
|
29192
|
-
/* harmony export (immutable) */ __webpack_exports__["default"] = addStylesClient;
|
|
29193
|
-
/*
|
|
29194
|
-
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
29195
|
-
Author Tobias Koppers @sokra
|
|
29196
|
-
Modified by Evan You @yyx990803
|
|
29197
|
-
*/
|
|
29198
|
-
|
|
29199
|
-
|
|
29200
|
-
|
|
29201
|
-
var hasDocument = typeof document !== 'undefined'
|
|
29202
|
-
|
|
29203
|
-
if (typeof DEBUG !== 'undefined' && DEBUG) {
|
|
29204
|
-
if (!hasDocument) {
|
|
29205
|
-
throw new Error(
|
|
29206
|
-
'vue-style-loader cannot be used in a non-browser environment. ' +
|
|
29207
|
-
"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
|
|
29208
|
-
) }
|
|
29209
|
-
}
|
|
29210
|
-
|
|
29211
|
-
/*
|
|
29212
|
-
type StyleObject = {
|
|
29213
|
-
id: number;
|
|
29214
|
-
parts: Array<StyleObjectPart>
|
|
29215
|
-
}
|
|
29216
|
-
|
|
29217
|
-
type StyleObjectPart = {
|
|
29218
|
-
css: string;
|
|
29219
|
-
media: string;
|
|
29220
|
-
sourceMap: ?string
|
|
29221
|
-
}
|
|
29222
|
-
*/
|
|
29223
|
-
|
|
29224
|
-
var stylesInDom = {/*
|
|
29225
|
-
[id: number]: {
|
|
29226
|
-
id: number,
|
|
29227
|
-
refs: number,
|
|
29228
|
-
parts: Array<(obj?: StyleObjectPart) => void>
|
|
29229
|
-
}
|
|
29230
|
-
*/}
|
|
29231
|
-
|
|
29232
|
-
var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
|
|
29233
|
-
var singletonElement = null
|
|
29234
|
-
var singletonCounter = 0
|
|
29235
|
-
var isProduction = false
|
|
29236
|
-
var noop = function () {}
|
|
29237
|
-
var options = null
|
|
29238
|
-
var ssrIdKey = 'data-vue-ssr-id'
|
|
29239
|
-
|
|
29240
|
-
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
29241
|
-
// tags it will allow on a page
|
|
29242
|
-
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
|
|
29243
|
-
|
|
29244
|
-
function addStylesClient (parentId, list, _isProduction, _options) {
|
|
29245
|
-
isProduction = _isProduction
|
|
29246
|
-
|
|
29247
|
-
options = _options || {}
|
|
29248
|
-
|
|
29249
|
-
var styles = listToStyles(parentId, list)
|
|
29250
|
-
addStylesToDom(styles)
|
|
29251
|
-
|
|
29252
|
-
return function update (newList) {
|
|
29253
|
-
var mayRemove = []
|
|
29254
|
-
for (var i = 0; i < styles.length; i++) {
|
|
29255
|
-
var item = styles[i]
|
|
29256
|
-
var domStyle = stylesInDom[item.id]
|
|
29257
|
-
domStyle.refs--
|
|
29258
|
-
mayRemove.push(domStyle)
|
|
29259
|
-
}
|
|
29260
|
-
if (newList) {
|
|
29261
|
-
styles = listToStyles(parentId, newList)
|
|
29262
|
-
addStylesToDom(styles)
|
|
29263
|
-
} else {
|
|
29264
|
-
styles = []
|
|
29265
|
-
}
|
|
29266
|
-
for (var i = 0; i < mayRemove.length; i++) {
|
|
29267
|
-
var domStyle = mayRemove[i]
|
|
29268
|
-
if (domStyle.refs === 0) {
|
|
29269
|
-
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
29270
|
-
domStyle.parts[j]()
|
|
29271
|
-
}
|
|
29272
|
-
delete stylesInDom[domStyle.id]
|
|
29273
|
-
}
|
|
29274
|
-
}
|
|
29275
|
-
}
|
|
29276
|
-
}
|
|
29277
|
-
|
|
29278
|
-
function addStylesToDom (styles /* Array<StyleObject> */) {
|
|
29279
|
-
for (var i = 0; i < styles.length; i++) {
|
|
29280
|
-
var item = styles[i]
|
|
29281
|
-
var domStyle = stylesInDom[item.id]
|
|
29282
|
-
if (domStyle) {
|
|
29283
|
-
domStyle.refs++
|
|
29284
|
-
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
29285
|
-
domStyle.parts[j](item.parts[j])
|
|
29286
|
-
}
|
|
29287
|
-
for (; j < item.parts.length; j++) {
|
|
29288
|
-
domStyle.parts.push(addStyle(item.parts[j]))
|
|
29289
|
-
}
|
|
29290
|
-
if (domStyle.parts.length > item.parts.length) {
|
|
29291
|
-
domStyle.parts.length = item.parts.length
|
|
29292
|
-
}
|
|
29293
|
-
} else {
|
|
29294
|
-
var parts = []
|
|
29295
|
-
for (var j = 0; j < item.parts.length; j++) {
|
|
29296
|
-
parts.push(addStyle(item.parts[j]))
|
|
29297
|
-
}
|
|
29298
|
-
stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
|
|
29299
|
-
}
|
|
29300
|
-
}
|
|
29301
|
-
}
|
|
29302
|
-
|
|
29303
|
-
function createStyleElement () {
|
|
29304
|
-
var styleElement = document.createElement('style')
|
|
29305
|
-
styleElement.type = 'text/css'
|
|
29306
|
-
head.appendChild(styleElement)
|
|
29307
|
-
return styleElement
|
|
29308
|
-
}
|
|
29309
|
-
|
|
29310
|
-
function addStyle (obj /* StyleObjectPart */) {
|
|
29311
|
-
var update, remove
|
|
29312
|
-
var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
|
|
29313
|
-
|
|
29314
|
-
if (styleElement) {
|
|
29315
|
-
if (isProduction) {
|
|
29316
|
-
// has SSR styles and in production mode.
|
|
29317
|
-
// simply do nothing.
|
|
29318
|
-
return noop
|
|
29319
|
-
} else {
|
|
29320
|
-
// has SSR styles but in dev mode.
|
|
29321
|
-
// for some reason Chrome can't handle source map in server-rendered
|
|
29322
|
-
// style tags - source maps in <style> only works if the style tag is
|
|
29323
|
-
// created and inserted dynamically. So we remove the server rendered
|
|
29324
|
-
// styles and inject new ones.
|
|
29325
|
-
styleElement.parentNode.removeChild(styleElement)
|
|
29326
|
-
}
|
|
29327
|
-
}
|
|
29328
|
-
|
|
29329
|
-
if (isOldIE) {
|
|
29330
|
-
// use singleton mode for IE9.
|
|
29331
|
-
var styleIndex = singletonCounter++
|
|
29332
|
-
styleElement = singletonElement || (singletonElement = createStyleElement())
|
|
29333
|
-
update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
|
|
29334
|
-
remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
|
|
29335
|
-
} else {
|
|
29336
|
-
// use multi-style-tag mode in all other cases
|
|
29337
|
-
styleElement = createStyleElement()
|
|
29338
|
-
update = applyToTag.bind(null, styleElement)
|
|
29339
|
-
remove = function () {
|
|
29340
|
-
styleElement.parentNode.removeChild(styleElement)
|
|
29341
|
-
}
|
|
29342
|
-
}
|
|
29343
|
-
|
|
29344
|
-
update(obj)
|
|
29345
|
-
|
|
29346
|
-
return function updateStyle (newObj /* StyleObjectPart */) {
|
|
29347
|
-
if (newObj) {
|
|
29348
|
-
if (newObj.css === obj.css &&
|
|
29349
|
-
newObj.media === obj.media &&
|
|
29350
|
-
newObj.sourceMap === obj.sourceMap) {
|
|
29351
|
-
return
|
|
29352
|
-
}
|
|
29353
|
-
update(obj = newObj)
|
|
29354
|
-
} else {
|
|
29355
|
-
remove()
|
|
29356
|
-
}
|
|
29357
|
-
}
|
|
29358
|
-
}
|
|
29359
|
-
|
|
29360
|
-
var replaceText = (function () {
|
|
29361
|
-
var textStore = []
|
|
29362
|
-
|
|
29363
|
-
return function (index, replacement) {
|
|
29364
|
-
textStore[index] = replacement
|
|
29365
|
-
return textStore.filter(Boolean).join('\n')
|
|
29366
|
-
}
|
|
29367
|
-
})()
|
|
29368
|
-
|
|
29369
|
-
function applyToSingletonTag (styleElement, index, remove, obj) {
|
|
29370
|
-
var css = remove ? '' : obj.css
|
|
29371
|
-
|
|
29372
|
-
if (styleElement.styleSheet) {
|
|
29373
|
-
styleElement.styleSheet.cssText = replaceText(index, css)
|
|
29374
|
-
} else {
|
|
29375
|
-
var cssNode = document.createTextNode(css)
|
|
29376
|
-
var childNodes = styleElement.childNodes
|
|
29377
|
-
if (childNodes[index]) styleElement.removeChild(childNodes[index])
|
|
29378
|
-
if (childNodes.length) {
|
|
29379
|
-
styleElement.insertBefore(cssNode, childNodes[index])
|
|
29380
|
-
} else {
|
|
29381
|
-
styleElement.appendChild(cssNode)
|
|
29382
|
-
}
|
|
29383
|
-
}
|
|
29384
|
-
}
|
|
29385
|
-
|
|
29386
|
-
function applyToTag (styleElement, obj) {
|
|
29387
|
-
var css = obj.css
|
|
29388
|
-
var media = obj.media
|
|
29389
|
-
var sourceMap = obj.sourceMap
|
|
29390
|
-
|
|
29391
|
-
if (media) {
|
|
29392
|
-
styleElement.setAttribute('media', media)
|
|
29393
|
-
}
|
|
29394
|
-
if (options.ssrId) {
|
|
29395
|
-
styleElement.setAttribute(ssrIdKey, obj.id)
|
|
29396
|
-
}
|
|
29397
|
-
|
|
29398
|
-
if (sourceMap) {
|
|
29399
|
-
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
29400
|
-
// this makes source maps inside style tags work properly in Chrome
|
|
29401
|
-
css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
|
|
29402
|
-
// http://stackoverflow.com/a/26603875
|
|
29403
|
-
css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
|
|
29404
|
-
}
|
|
29405
|
-
|
|
29406
|
-
if (styleElement.styleSheet) {
|
|
29407
|
-
styleElement.styleSheet.cssText = css
|
|
29408
|
-
} else {
|
|
29409
|
-
while (styleElement.firstChild) {
|
|
29410
|
-
styleElement.removeChild(styleElement.firstChild)
|
|
29411
|
-
}
|
|
29412
|
-
styleElement.appendChild(document.createTextNode(css))
|
|
29413
|
-
}
|
|
29414
|
-
}
|
|
29415
|
-
|
|
29416
|
-
|
|
29417
|
-
/***/ })
|
|
29418
|
-
/******/ ]);
|
|
29419
|
-
});
|
|
29420
|
-
|
|
29421
28757
|
/***/ }),
|
|
29422
28758
|
|
|
29423
28759
|
/***/ "bb28":
|
|
@@ -29776,6 +29112,14 @@ module.exports = _nonIterableRest, module.exports.__esModule = true, module.expo
|
|
|
29776
29112
|
/***/ "c345":
|
|
29777
29113
|
/***/ (function(module, exports, __webpack_require__) {
|
|
29778
29114
|
|
|
29115
|
+
/* WEBPACK VAR INJECTION */(function(global) {!function(e,t){ true?module.exports=t():undefined}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=60)}([function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=u[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(o(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],i=0;i<n.parts.length;i++)a.push(o(n.parts[i]));u[n.id]={id:n.id,refs:1,parts:a}}}}function i(){var e=document.createElement("style");return e.type="text/css",f.appendChild(e),e}function o(e){var t,n,r=document.querySelector("style["+b+'~="'+e.id+'"]');if(r){if(p)return v;r.parentNode.removeChild(r)}if(x){var o=h++;r=d||(d=i()),t=a.bind(null,r,o,!1),n=a.bind(null,r,o,!0)}else r=i(),t=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function a(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function s(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),g.ssrId&&e.setAttribute(b,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l=n(64),u={},f=c&&(document.head||document.getElementsByTagName("head")[0]),d=null,h=0,p=!1,v=function(){},g=null,b="data-vue-ssr-id",x="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,i){p=n,g=i||{};var o=l(e,t);return r(o),function(t){for(var n=[],i=0;i<o.length;i++){var a=o[i],s=u[a.id];s.refs--,n.push(s)}t?(o=l(e,t),r(o)):o=[];for(var i=0;i<n.length;i++){var s=n[i];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete u[s.id]}}}};var m=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t,n,r,i,o){var a,s=e=e||{},c=typeof e.default;"object"!==c&&"function"!==c||(a=e,s=e.default);var l="function"==typeof s?s.options:s;t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId=i);var u;if(o?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=u):r&&(u=r),u){var f=l.functional,d=f?l.render:l.beforeCreate;f?(l._injectStyles=u,l.render=function(e,t){return u.call(t),d(e,t)}):l.beforeCreate=d?[].concat(d,u):[u]}return{esModule:a,exports:s,options:l}}},function(e,t,n){"use strict";function r(e,t){var n,r=e&&e.a;!(n=e&&e.hsl?(0,o.default)(e.hsl):e&&e.hex&&e.hex.length>0?(0,o.default)(e.hex):e&&e.hsv?(0,o.default)(e.hsv):e&&e.rgba?(0,o.default)(e.rgba):e&&e.rgb?(0,o.default)(e.rgb):(0,o.default)(e))||void 0!==n._a&&null!==n._a||n.setAlpha(r||1);var i=n.toHsl(),a=n.toHsv();return 0===i.s&&(a.h=i.h=e.h||e.hsl&&e.hsl.h||t||0),{hsl:i,hex:n.toHexString().toUpperCase(),hex8:n.toHex8String().toUpperCase(),rgba:n.toRgb(),hsv:a,oldHue:e.h||t||i.h,source:e.source,a:e.a||n.getAlpha()}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(65),o=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default={props:["value"],data:function(){return{val:r(this.value)}},computed:{colors:{get:function(){return this.val},set:function(e){this.val=e,this.$emit("input",e)}}},watch:{value:function(e){this.val=r(e)}},methods:{colorChange:function(e,t){this.oldHue=this.colors.hsl.h,this.colors=r(e,t||this.oldHue)},isValidHex:function(e){return(0,o.default)(e).isValid()},simpleCheckForValidColor:function(e){for(var t=["r","g","b","a","h","s","l","v"],n=0,r=0,i=0;i<t.length;i++){var o=t[i];e[o]&&(n++,isNaN(e[o])||r++)}if(n===r)return e},paletteUpperCase:function(e){return e.map(function(e){return e.toUpperCase()})},isTransparent:function(e){return 0===(0,o.default)(e).getAlpha()}}}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";function r(e){c||n(66)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(36),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(68),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/common/EditableInput.vue",t.default=f.exports},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(8),i=n(18);e.exports=n(9)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(16),i=n(42),o=n(25),a=Object.defineProperty;t.f=n(9)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(90),i=n(24);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(29)("wks"),i=n(19),o=n(4).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";function r(e){c||n(111)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(51),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(113),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/common/Hue.vue",t.default=f.exports},function(e,t){e.exports=!0},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(12);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";function r(e){c||n(123)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(54),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(127),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/common/Saturation.vue",t.default=f.exports},function(e,t,n){"use strict";function r(e){c||n(128)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(55),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(133),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/common/Alpha.vue",t.default=f.exports},function(e,t,n){"use strict";function r(e){c||n(130)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(56),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(132),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/common/Checkboard.vue",t.default=f.exports},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(12);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,n){var r=n(46),i=n(30);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(29)("keys"),i=n(19);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(15),i=n(4),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(8).f,i=n(6),o=n(11)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){t.f=n(11)},function(e,t,n){var r=n(4),i=n(15),o=n(14),a=n(32),s=n(8).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=r(i),a=n(5),s=r(a),c=["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#CCCCCC","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"];t.default={name:"Compact",mixins:[o.default],props:{palette:{type:Array,default:function(){return c}}},components:{"ed-in":s.default},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"editableInput",props:{label:String,labelText:String,desc:String,value:[String,Number],max:Number,min:Number,arrowOffset:{type:Number,default:1}},computed:{val:{get:function(){return this.value},set:function(e){if(!(void 0!==this.max&&+e>this.max))return e;this.$refs.input.value=this.max}},labelId:function(){return"input__label__"+this.label+"__"+Math.random().toString().slice(2,5)},labelSpanText:function(){return this.labelText||this.label}},methods:{update:function(e){this.handleChange(e.target.value)},handleChange:function(e){var t={};t[this.label]=e,void 0===t.hex&&void 0===t["#"]?this.$emit("change",t):e.length>5&&this.$emit("change",t)},handleKeyDown:function(e){var t=this.val,n=Number(t);if(n){var r=this.arrowOffset||1;38===e.keyCode&&(t=n+r,this.handleChange(t),e.preventDefault()),40===e.keyCode&&(t=n-r,this.handleChange(t),e.preventDefault())}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=["#FFFFFF","#F2F2F2","#E6E6E6","#D9D9D9","#CCCCCC","#BFBFBF","#B3B3B3","#A6A6A6","#999999","#8C8C8C","#808080","#737373","#666666","#595959","#4D4D4D","#404040","#333333","#262626","#0D0D0D","#000000"];t.default={name:"Grayscale",mixins:[i.default],props:{palette:{type:Array,default:function(){return o}}},components:{},computed:{pick:function(){return this.colors.hex.toUpperCase()}},methods:{handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(5),o=r(i),a=n(3),s=r(a);t.default={name:"Material",mixins:[s.default],components:{"ed-in":o.default},methods:{onChange:function(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(81),o=r(i),a=n(3),s=r(a),c=n(13),l=r(c);t.default={name:"Slider",mixins:[s.default],props:{swatches:{type:Array,default:function(){return[{s:.5,l:.8},{s:.5,l:.65},{s:.5,l:.5},{s:.5,l:.35},{s:.5,l:.2}]}}},components:{hue:l.default},computed:{normalizedSwatches:function(){return this.swatches.map(function(e){return"object"!==(void 0===e?"undefined":(0,o.default)(e))?{s:.5,l:e}:e})}},methods:{isActive:function(e,t){var n=this.colors.hsl;return 1===n.l&&1===e.l||(0===n.l&&0===e.l||Math.abs(n.l-e.l)<.01&&Math.abs(n.s-e.s)<.01)},hueChange:function(e){this.colorChange(e)},handleSwClick:function(e,t){this.colorChange({h:this.colors.hsl.h,s:t.s,l:t.l,source:"hsl"})}}}},function(e,t,n){"use strict";var r=n(14),i=n(41),o=n(44),a=n(7),s=n(26),c=n(88),l=n(31),u=n(95),f=n(11)("iterator"),d=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,p,v,g,b){c(n,t,p);var x,m,_,w=function(e){if(!d&&e in F)return F[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},y=t+" Iterator",C="values"==v,k=!1,F=e.prototype,S=F[f]||F["@@iterator"]||v&&F[v],A=S||w(v),O=v?C?w("entries"):A:void 0,E="Array"==t?F.entries||S:S;if(E&&(_=u(E.call(new e)))!==Object.prototype&&_.next&&(l(_,y,!0),r||"function"==typeof _[f]||a(_,f,h)),C&&S&&"values"!==S.name&&(k=!0,A=function(){return S.call(this)}),r&&!b||!d&&!k&&F[f]||a(F,f,A),s[t]=A,s[y]=h,v)if(x={values:C?A:w("values"),keys:g?A:w("keys"),entries:O},b)for(m in x)m in F||o(F,m,x[m]);else i(i.P+i.F*(d||k),t,x);return x}},function(e,t,n){var r=n(4),i=n(15),o=n(86),a=n(7),s=n(6),c=function(e,t,n){var l,u,f,d=e&c.F,h=e&c.G,p=e&c.S,v=e&c.P,g=e&c.B,b=e&c.W,x=h?i:i[t]||(i[t]={}),m=x.prototype,_=h?r:p?r[t]:(r[t]||{}).prototype;h&&(n=t);for(l in n)(u=!d&&_&&void 0!==_[l])&&s(x,l)||(f=u?_[l]:n[l],x[l]=h&&"function"!=typeof _[l]?n[l]:g&&u?o(f,r):b&&_[l]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((x.virtual||(x.virtual={}))[l]=f,e&c.R&&m&&!m[l]&&a(m,l,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){e.exports=!n(9)&&!n(17)(function(){return 7!=Object.defineProperty(n(43)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(12),i=n(4).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=n(7)},function(e,t,n){var r=n(16),i=n(89),o=n(30),a=n(28)("IE_PROTO"),s=function(){},c=function(){var e,t=n(43)("iframe"),r=o.length;for(t.style.display="none",n(94).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[o[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=c(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(6),i=n(10),o=n(91)(!1),a=n(28)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),c=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(l,n)||l.push(n));return l}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(24);e.exports=function(e){return Object(r(e))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(46),i=n(30).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"Hue",props:{value:Object,direction:{type:String,default:"horizontal"}},data:function(){return{oldHue:0,pullDirection:""}},computed:{colors:function(){var e=this.value.hsl.h;return 0!==e&&e-this.oldHue>0&&(this.pullDirection="right"),0!==e&&e-this.oldHue<0&&(this.pullDirection="left"),this.oldHue=e,this.value},directionClass:function(){return{"vc-hue--horizontal":"horizontal"===this.direction,"vc-hue--vertical":"vertical"===this.direction}},pointerTop:function(){return"vertical"===this.direction?0===this.colors.hsl.h&&"right"===this.pullDirection?0:-100*this.colors.hsl.h/360+100+"%":0},pointerLeft:function(){return"vertical"===this.direction?0:0===this.colors.hsl.h&&"right"===this.pullDirection?"100%":100*this.colors.hsl.h/360+"%"}},methods:{handleChange:function(e,t){!t&&e.preventDefault();var n=this.$refs.container;if(n){var r,i,o=n.clientWidth,a=n.clientHeight,s=n.getBoundingClientRect().left+window.pageXOffset,c=n.getBoundingClientRect().top+window.pageYOffset,l=e.pageX||(e.touches?e.touches[0].pageX:0),u=e.pageY||(e.touches?e.touches[0].pageY:0),f=l-s,d=u-c;"vertical"===this.direction?(d<0?r=360:d>a?r=0:(i=-100*d/a+100,r=360*i/100),this.colors.hsl.h!==r&&this.$emit("change",{h:r,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"})):(f<0?r=0:f>o?r=360:(i=100*f/o,r=360*i/100),this.colors.hsl.h!==r&&this.$emit("change",{h:r,s:this.colors.hsl.s,l:this.colors.hsl.l,a:this.colors.hsl.a,source:"hsl"}))}},handleMouseDown:function(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(e){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(118),o=r(i),a=n(3),s=r(a),c=["red","pink","purple","deepPurple","indigo","blue","lightBlue","cyan","teal","green","lightGreen","lime","yellow","amber","orange","deepOrange","brown","blueGrey","black"],l=["900","700","500","300","100"],u=function(){var e=[];return c.forEach(function(t){var n=[];"black"===t.toLowerCase()||"white"===t.toLowerCase()?n=n.concat(["#000000","#FFFFFF"]):l.forEach(function(e){var r=o.default[t][e];n.push(r.toUpperCase())}),e.push(n)}),e}();t.default={name:"Swatches",mixins:[s.default],props:{palette:{type:Array,default:function(){return u}}},computed:{pick:function(){return this.colors.hex}},methods:{equal:function(e){return e.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick:function(e){this.colorChange({hex:e,source:"hex"})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=r(i),a=n(5),s=r(a),c=n(20),l=r(c),u=n(13),f=r(u),d=n(21),h=r(d);t.default={name:"Photoshop",mixins:[o.default],props:{head:{type:String,default:"Color Picker"},disableFields:{type:Boolean,default:!1},hasResetButton:{type:Boolean,default:!1},acceptLabel:{type:String,default:"OK"},cancelLabel:{type:String,default:"Cancel"},resetLabel:{type:String,default:"Reset"},newLabel:{type:String,default:"new"},currentLabel:{type:String,default:"current"}},components:{saturation:l.default,hue:f.default,alpha:h.default,"ed-in":s.default},data:function(){return{currentColor:"#FFF"}},computed:{hsv:function(){var e=this.colors.hsv;return{h:e.h.toFixed(),s:(100*e.s).toFixed(),v:(100*e.v).toFixed()}},hex:function(){var e=this.colors.hex;return e&&e.replace("#","")}},created:function(){this.currentColor=this.colors.hex},methods:{childChange:function(e){this.colorChange(e)},inputChange:function(e){e&&(e["#"]?this.isValidHex(e["#"])&&this.colorChange({hex:e["#"],source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.v)&&this.colorChange({h:e.h||this.colors.hsv.h,s:e.s/100||this.colors.hsv.s,v:e.v/100||this.colors.hsv.v,source:"hsv"}))},clickCurrentColor:function(){this.colorChange({hex:this.currentColor,source:"hex"})},handleAccept:function(){this.$emit("ok")},handleCancel:function(){this.$emit("cancel")},handleReset:function(){this.$emit("reset")}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(125),o=r(i),a=n(126),s=r(a);t.default={name:"Saturation",props:{value:Object},computed:{colors:function(){return this.value},bgColor:function(){return"hsl("+this.colors.hsv.h+", 100%, 50%)"},pointerTop:function(){return-100*this.colors.hsv.v+1+100+"%"},pointerLeft:function(){return 100*this.colors.hsv.s+"%"}},methods:{throttle:(0,s.default)(function(e,t){e(t)},20,{leading:!0,trailing:!1}),handleChange:function(e,t){!t&&e.preventDefault();var n=this.$refs.container;if(n){var r=n.clientWidth,i=n.clientHeight,a=n.getBoundingClientRect().left+window.pageXOffset,s=n.getBoundingClientRect().top+window.pageYOffset,c=e.pageX||(e.touches?e.touches[0].pageX:0),l=e.pageY||(e.touches?e.touches[0].pageY:0),u=(0,o.default)(c-a,0,r),f=(0,o.default)(l-s,0,i),d=u/r,h=(0,o.default)(-f/i+1,0,1);this.throttle(this.onChange,{h:this.colors.hsv.h,s:d,v:h,a:this.colors.hsv.a,source:"hsva"})}},onChange:function(e){this.$emit("change",e)},handleMouseDown:function(e){window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(e){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(22),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default={name:"Alpha",props:{value:Object,onChange:Function},components:{checkboard:i.default},computed:{colors:function(){return this.value},gradientColor:function(){var e=this.colors.rgba,t=[e.r,e.g,e.b].join(",");return"linear-gradient(to right, rgba("+t+", 0) 0%, rgba("+t+", 1) 100%)"}},methods:{handleChange:function(e,t){!t&&e.preventDefault();var n=this.$refs.container;if(n){var r,i=n.clientWidth,o=n.getBoundingClientRect().left+window.pageXOffset,a=e.pageX||(e.touches?e.touches[0].pageX:0),s=a-o;r=s<0?0:s>i?1:Math.round(100*s/i)/100,this.colors.a!==r&&this.$emit("change",{h:this.colors.hsl.h,s:this.colors.hsl.s,l:this.colors.hsl.l,a:r,source:"rgba"})}},handleMouseDown:function(e){this.handleChange(e,!0),window.addEventListener("mousemove",this.handleChange),window.addEventListener("mouseup",this.handleMouseUp)},handleMouseUp:function(){this.unbindEventListeners()},unbindEventListeners:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}}}},function(e,t,n){"use strict";function r(e,t,n){if("undefined"==typeof document)return null;var r=document.createElement("canvas");r.width=r.height=2*n;var i=r.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,r.width,r.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),r.toDataURL()):null}function i(e,t,n){var i=e+","+t+","+n;if(o[i])return o[i];var a=r(e,t,n);return o[i]=a,a}Object.defineProperty(t,"__esModule",{value:!0});var o={};t.default={name:"Checkboard",props:{size:{type:[Number,String],default:8},white:{type:String,default:"#fff"},grey:{type:String,default:"#e6e6e6"}},computed:{bgStyle:function(){return{"background-image":"url("+i(this.white,this.grey,this.size)+")"}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=r(i),a=n(5),s=r(a),c=n(20),l=r(c),u=n(13),f=r(u),d=n(21),h=r(d),p=n(22),v=r(p),g=["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF","rgba(0,0,0,0)"];t.default={name:"Sketch",mixins:[o.default],components:{saturation:l.default,hue:f.default,alpha:h.default,"ed-in":s.default,checkboard:v.default},props:{presetColors:{type:Array,default:function(){return g}},disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},computed:{hex:function(){var e=void 0;return e=this.colors.a<1?this.colors.hex8:this.colors.hex,e.replace("#","")},activeColor:function(){var e=this.colors.rgba;return"rgba("+[e.r,e.g,e.b,e.a].join(",")+")"}},methods:{handlePreset:function(e){this.colorChange({hex:e,source:"hex"})},childChange:function(e){this.colorChange(e)},inputChange:function(e){e&&(e.hex?this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"}):(e.r||e.g||e.b||e.a)&&this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(3),o=r(i),a=n(5),s=r(a),c=n(20),l=r(c),u=n(13),f=r(u),d=n(21),h=r(d),p=n(22),v=r(p);t.default={name:"Chrome",mixins:[o.default],props:{disableAlpha:{type:Boolean,default:!1},disableFields:{type:Boolean,default:!1}},components:{saturation:l.default,hue:f.default,alpha:h.default,"ed-in":s.default,checkboard:v.default},data:function(){return{fieldsIndex:0,highlight:!1}},computed:{hsl:function(){var e=this.colors.hsl,t=e.h,n=e.s,r=e.l;return{h:t.toFixed(),s:(100*n).toFixed()+"%",l:(100*r).toFixed()+"%"}},activeColor:function(){var e=this.colors.rgba;return"rgba("+[e.r,e.g,e.b,e.a].join(",")+")"},hasAlpha:function(){return this.colors.a<1}},methods:{childChange:function(e){this.colorChange(e)},inputChange:function(e){if(e)if(e.hex)this.isValidHex(e.hex)&&this.colorChange({hex:e.hex,source:"hex"});else if(e.r||e.g||e.b||e.a)this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"});else if(e.h||e.s||e.l){var t=e.s?e.s.replace("%","")/100:this.colors.hsl.s,n=e.l?e.l.replace("%","")/100:this.colors.hsl.l;this.colorChange({h:e.h||this.colors.hsl.h,s:t,l:n,source:"hsl"})}},toggleViews:function(){if(this.fieldsIndex>=2)return void(this.fieldsIndex=0);this.fieldsIndex++},showHighlight:function(){this.highlight=!0},hideHighlight:function(){this.highlight=!1}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(5),o=r(i),a=n(3),s=r(a),c=["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"];t.default={name:"Twitter",mixins:[s.default],components:{editableInput:o.default},props:{width:{type:[String,Number],default:276},defaultColors:{type:Array,default:function(){return c}},triangle:{default:"top-left",validator:function(e){return["hide","top-left","top-right"].includes(e)}}},computed:{hsv:function(){var e=this.colors.hsv;return{h:e.h.toFixed(),s:(100*e.s).toFixed(),v:(100*e.v).toFixed()}},hex:function(){var e=this.colors.hex;return e&&e.replace("#","")}},methods:{equal:function(e){return e.toLowerCase()===this.colors.hex.toLowerCase()},handlerClick:function(e){this.colorChange({hex:e,source:"hex"})},inputChange:function(e){e&&(e["#"]?this.isValidHex(e["#"])&&this.colorChange({hex:e["#"],source:"hex"}):e.r||e.g||e.b||e.a?this.colorChange({r:e.r||this.colors.rgba.r,g:e.g||this.colors.rgba.g,b:e.b||this.colors.rgba.b,a:e.a||this.colors.rgba.a,source:"rgba"}):(e.h||e.s||e.v)&&this.colorChange({h:e.h||this.colors.hsv.h,s:e.s/100||this.colors.hsv.s,v:e.v/100||this.colors.hsv.v,source:"hsv"}))}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var i=n(61),o=r(i),a=n(70),s=r(a),c=n(74),l=r(c),u=n(78),f=r(u),d=n(115),h=r(d),p=n(120),v=r(p),g=n(135),b=r(g),x=n(139),m=r(x),_=n(143),w=r(_),y=n(21),C=r(y),k=n(22),F=r(k),S=n(5),A=r(S),O=n(13),E=r(O),M=n(20),j=r(M),L=n(3),P=r(L),R={version:"2.8.1",Compact:o.default,Grayscale:s.default,Twitter:w.default,Material:l.default,Slider:f.default,Swatches:h.default,Photoshop:v.default,Sketch:b.default,Chrome:m.default,Alpha:C.default,Checkboard:F.default,EditableInput:A.default,Hue:E.default,Saturation:j.default,ColorMixin:P.default};e.exports=R},function(e,t,n){"use strict";function r(e){c||n(62)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(35),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(69),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/Compact.vue",t.default=f.exports},function(e,t,n){var r=n(63);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("6ce8a5a8",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-compact {\n padding-top: 5px;\n padding-left: 5px;\n width: 245px;\n border-radius: 2px;\n box-sizing: border-box;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-compact-colors {\n overflow: hidden;\n padding: 0;\n margin: 0;\n}\n.vc-compact-color-item {\n list-style: none;\n width: 15px;\n height: 15px;\n float: left;\n margin-right: 5px;\n margin-bottom: 5px;\n position: relative;\n cursor: pointer;\n}\n.vc-compact-color-item--white {\n box-shadow: inset 0 0 0 1px #ddd;\n}\n.vc-compact-color-item--white .vc-compact-dot {\n background: #000;\n}\n.vc-compact-dot {\n position: absolute;\n top: 5px;\n right: 5px;\n bottom: 5px;\n left: 5px;\n border-radius: 50%;\n opacity: 1;\n background: #fff;\n}\n",""])},function(e,t){e.exports=function(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s=o[1],c=o[2],l=o[3],u={id:e+":"+i,css:s,media:c,sourceMap:l};r[a]?r[a].parts.push(u):n.push(r[a]={id:a,parts:[u]})}return n}},function(e,t,n){var r;!function(i){function o(e,t){if(e=e||"",t=t||{},e instanceof o)return e;if(!(this instanceof o))return new o(e,t);var n=a(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=G(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=G(this._r)),this._g<1&&(this._g=G(this._g)),this._b<1&&(this._b=G(this._b)),this._ok=n.ok,this._tc_id=U++}function a(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,o=null,a=!1,c=!1;return"string"==typeof e&&(e=N(e)),"object"==typeof e&&(H(e.r)&&H(e.g)&&H(e.b)?(t=s(e.r,e.g,e.b),a=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):H(e.h)&&H(e.s)&&H(e.v)?(r=D(e.s),i=D(e.v),t=f(e.h,r,i),a=!0,c="hsv"):H(e.h)&&H(e.s)&&H(e.l)&&(r=D(e.s),o=D(e.l),t=l(e.h,r,o),a=!0,c="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=O(n),{ok:a,format:e.format||c,r:V(255,q(t.r,0)),g:V(255,q(t.g,0)),b:V(255,q(t.b,0)),a:n}}function s(e,t,n){return{r:255*E(e,255),g:255*E(t,255),b:255*E(n,255)}}function c(e,t,n){e=E(e,255),t=E(t,255),n=E(n,255);var r,i,o=q(e,t,n),a=V(e,t,n),s=(o+a)/2;if(o==a)r=i=0;else{var c=o-a;switch(i=s>.5?c/(2-o-a):c/(o+a),o){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:i,l:s}}function l(e,t,n){function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var i,o,a;if(e=E(e,360),t=E(t,100),n=E(n,100),0===t)i=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;i=r(c,s,e+1/3),o=r(c,s,e),a=r(c,s,e-1/3)}return{r:255*i,g:255*o,b:255*a}}function u(e,t,n){e=E(e,255),t=E(t,255),n=E(n,255);var r,i,o=q(e,t,n),a=V(e,t,n),s=o,c=o-a;if(i=0===o?0:c/o,o==a)r=0;else{switch(o){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:i,v:s}}function f(e,t,n){e=6*E(e,360),t=E(t,100),n=E(n,100);var r=i.floor(e),o=e-r,a=n*(1-t),s=n*(1-o*t),c=n*(1-(1-o)*t),l=r%6;return{r:255*[n,s,a,a,c,n][l],g:255*[c,n,n,s,a,a][l],b:255*[a,a,c,n,n,s][l]}}function d(e,t,n,r){var i=[R(G(e).toString(16)),R(G(t).toString(16)),R(G(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function h(e,t,n,r,i){var o=[R(G(e).toString(16)),R(G(t).toString(16)),R(G(n).toString(16)),R(B(r))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function p(e,t,n,r){return[R(B(r)),R(G(e).toString(16)),R(G(t).toString(16)),R(G(n).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s-=t/100,n.s=M(n.s),o(n)}function g(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s+=t/100,n.s=M(n.s),o(n)}function b(e){return o(e).desaturate(100)}function x(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l+=t/100,n.l=M(n.l),o(n)}function m(e,t){t=0===t?0:t||10;var n=o(e).toRgb();return n.r=q(0,V(255,n.r-G(-t/100*255))),n.g=q(0,V(255,n.g-G(-t/100*255))),n.b=q(0,V(255,n.b-G(-t/100*255))),o(n)}function _(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l-=t/100,n.l=M(n.l),o(n)}function w(e,t){var n=o(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,o(n)}function y(e){var t=o(e).toHsl();return t.h=(t.h+180)%360,o(t)}function C(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+120)%360,s:t.s,l:t.l}),o({h:(n+240)%360,s:t.s,l:t.l})]}function k(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+90)%360,s:t.s,l:t.l}),o({h:(n+180)%360,s:t.s,l:t.l}),o({h:(n+270)%360,s:t.s,l:t.l})]}function F(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+72)%360,s:t.s,l:t.l}),o({h:(n+216)%360,s:t.s,l:t.l})]}function S(e,t,n){t=t||6,n=n||30;var r=o(e).toHsl(),i=360/n,a=[o(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(o(r));return a}function A(e,t){t=t||6;for(var n=o(e).toHsv(),r=n.h,i=n.s,a=n.v,s=[],c=1/t;t--;)s.push(o({h:r,s:i,v:a})),a=(a+c)%1;return s}function O(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function E(e,t){L(e)&&(e="100%");var n=P(e);return e=V(t,q(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),i.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return V(1,q(0,e))}function j(e){return parseInt(e,16)}function L(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function P(e){return"string"==typeof e&&-1!=e.indexOf("%")}function R(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function B(e){return i.round(255*parseFloat(e)).toString(16)}function T(e){return j(e)/255}function H(e){return!!J.CSS_UNIT.exec(e)}function N(e){e=e.replace(I,"").replace($,"").toLowerCase();var t=!1;if(W[e])e=W[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=J.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=J.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=J.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=J.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=J.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=J.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=J.hex8.exec(e))?{r:j(n[1]),g:j(n[2]),b:j(n[3]),a:T(n[4]),format:t?"name":"hex8"}:(n=J.hex6.exec(e))?{r:j(n[1]),g:j(n[2]),b:j(n[3]),format:t?"name":"hex"}:(n=J.hex4.exec(e))?{r:j(n[1]+""+n[1]),g:j(n[2]+""+n[2]),b:j(n[3]+""+n[3]),a:T(n[4]+""+n[4]),format:t?"name":"hex8"}:!!(n=J.hex3.exec(e))&&{r:j(n[1]+""+n[1]),g:j(n[2]+""+n[2]),b:j(n[3]+""+n[3]),format:t?"name":"hex"}}function z(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var I=/^\s+/,$=/\s+$/,U=0,G=i.round,V=i.min,q=i.max,X=i.random;o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,o,a,s=this.toRgb();return e=s.r/255,t=s.g/255,n=s.b/255,r=e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4),a=n<=.03928?n/12.92:i.pow((n+.055)/1.055,2.4),.2126*r+.7152*o+.0722*a},setAlpha:function(e){return this._a=O(e),this._roundA=G(100*this._a)/100,this},toHsv:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=u(this._r,this._g,this._b),t=G(360*e.h),n=G(100*e.s),r=G(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=c(this._r,this._g,this._b),t=G(360*e.h),n=G(100*e.s),r=G(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return d(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return h(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:G(this._r),g:G(this._g),b:G(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+G(this._r)+", "+G(this._g)+", "+G(this._b)+")":"rgba("+G(this._r)+", "+G(this._g)+", "+G(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:G(100*E(this._r,255))+"%",g:G(100*E(this._g,255))+"%",b:G(100*E(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+G(100*E(this._r,255))+"%, "+G(100*E(this._g,255))+"%, "+G(100*E(this._b,255))+"%)":"rgba("+G(100*E(this._r,255))+"%, "+G(100*E(this._g,255))+"%, "+G(100*E(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Y[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+p(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=o(e);n="#"+p(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return o(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(y,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(F,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},o.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return o(e,t)},o.equals=function(e,t){return!(!e||!t)&&o(e).toRgbString()==o(t).toRgbString()},o.random=function(){return o.fromRatio({r:X(),g:X(),b:X()})},o.mix=function(e,t,n){n=0===n?0:n||50;var r=o(e).toRgb(),i=o(t).toRgb(),a=n/100;return o({r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a})},o.readability=function(e,t){var n=o(e),r=o(t);return(i.max(n.getLuminance(),r.getLuminance())+.05)/(i.min(n.getLuminance(),r.getLuminance())+.05)},o.isReadable=function(e,t,n){var r,i,a=o.readability(e,t);switch(i=!1,r=z(n),r.level+r.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7}return i},o.mostReadable=function(e,t,n){var r,i,a,s,c=null,l=0;n=n||{},i=n.includeFallbackColors,a=n.level,s=n.size;for(var u=0;u<t.length;u++)(r=o.readability(e,t[u]))>l&&(l=r,c=o(t[u]));return o.isReadable(e,c,{level:a,size:s})||!i?c:(n.includeFallbackColors=!1,o.mostReadable(e,["#fff","#000"],n))};var W=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Y=o.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(W),J=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==e&&e.exports?e.exports=o:void 0!==(r=function(){return o}.call(t,n,t,e))&&(e.exports=r)}(Math)},function(e,t,n){var r=n(67);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("0f73e73c",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-editable-input {\n position: relative;\n}\n.vc-input__input {\n padding: 0;\n border: 0;\n outline: none;\n}\n.vc-input__label {\n text-transform: capitalize;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-editable-input"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.val,expression:"val"}],ref:"input",staticClass:"vc-input__input",attrs:{"aria-labelledby":e.labelId},domProps:{value:e.val},on:{keydown:e.handleKeyDown,input:[function(t){t.target.composing||(e.val=t.target.value)},e.update]}}),e._v(" "),n("span",{staticClass:"vc-input__label",attrs:{for:e.label,id:e.labelId}},[e._v(e._s(e.labelSpanText))]),e._v(" "),n("span",{staticClass:"vc-input__desc"},[e._v(e._s(e.desc))])])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-compact",attrs:{role:"application","aria-label":"Compact color picker"}},[n("ul",{staticClass:"vc-compact-colors",attrs:{role:"listbox"}},e._l(e.paletteUpperCase(e.palette),function(t){return n("li",{key:t,staticClass:"vc-compact-color-item",class:{"vc-compact-color-item--white":"#FFFFFF"===t},style:{background:t},attrs:{role:"option","aria-label":"color:"+t,"aria-selected":t===e.pick},on:{click:function(n){return e.handlerClick(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t===e.pick,expression:"c === pick"}],staticClass:"vc-compact-dot"})])}),0)])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";function r(e){c||n(71)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(37),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(73),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/Grayscale.vue",t.default=f.exports},function(e,t,n){var r=n(72);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("21ddbb74",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-grayscale {\n width: 125px;\n border-radius: 2px;\n box-shadow: 0 2px 15px rgba(0,0,0,.12), 0 2px 10px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-grayscale-colors {\n border-radius: 2px;\n overflow: hidden;\n padding: 0;\n margin: 0;\n}\n.vc-grayscale-color-item {\n list-style: none;\n width: 25px;\n height: 25px;\n float: left;\n position: relative;\n cursor: pointer;\n}\n.vc-grayscale-color-item--white .vc-grayscale-dot {\n background: #000;\n}\n.vc-grayscale-dot {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 6px;\n height: 6px;\n margin: -3px 0 0 -2px;\n border-radius: 50%;\n opacity: 1;\n background: #fff;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-grayscale",attrs:{role:"application","aria-label":"Grayscale color picker"}},[n("ul",{staticClass:"vc-grayscale-colors",attrs:{role:"listbox"}},e._l(e.paletteUpperCase(e.palette),function(t){return n("li",{key:t,staticClass:"vc-grayscale-color-item",class:{"vc-grayscale-color-item--white":"#FFFFFF"==t},style:{background:t},attrs:{role:"option","aria-label":"Color:"+t,"aria-selected":t===e.pick},on:{click:function(n){return e.handlerClick(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t===e.pick,expression:"c === pick"}],staticClass:"vc-grayscale-dot"})])}),0)])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";function r(e){c||n(75)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(38),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(77),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/Material.vue",t.default=f.exports},function(e,t,n){var r=n(76);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("1ff3af73",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,'\n.vc-material {\n width: 98px;\n height: 98px;\n padding: 16px;\n font-family: "Roboto";\n position: relative;\n border-radius: 2px;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n background-color: #fff;\n}\n.vc-material .vc-input__input {\n width: 100%;\n margin-top: 12px;\n font-size: 15px;\n color: #333;\n height: 30px;\n}\n.vc-material .vc-input__label {\n position: absolute;\n top: 0;\n left: 0;\n font-size: 11px;\n color: #999;\n text-transform: capitalize;\n}\n.vc-material-hex {\n border-bottom-width: 2px;\n border-bottom-style: solid;\n}\n.vc-material-split {\n display: flex;\n margin-right: -10px;\n padding-top: 11px;\n}\n.vc-material-third {\n flex: 1;\n padding-right: 10px;\n}\n',""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-material",attrs:{role:"application","aria-label":"Material color picker"}},[n("ed-in",{staticClass:"vc-material-hex",style:{borderColor:e.colors.hex},attrs:{label:"hex"},on:{change:e.onChange},model:{value:e.colors.hex,callback:function(t){e.$set(e.colors,"hex",t)},expression:"colors.hex"}}),e._v(" "),n("div",{staticClass:"vc-material-split"},[n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"r"},on:{change:e.onChange},model:{value:e.colors.rgba.r,callback:function(t){e.$set(e.colors.rgba,"r",t)},expression:"colors.rgba.r"}})],1),e._v(" "),n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"g"},on:{change:e.onChange},model:{value:e.colors.rgba.g,callback:function(t){e.$set(e.colors.rgba,"g",t)},expression:"colors.rgba.g"}})],1),e._v(" "),n("div",{staticClass:"vc-material-third"},[n("ed-in",{attrs:{label:"b"},on:{change:e.onChange},model:{value:e.colors.rgba.b,callback:function(t){e.$set(e.colors.rgba,"b",t)},expression:"colors.rgba.b"}})],1)])],1)},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";function r(e){c||n(79)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(39),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(114),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/Slider.vue",t.default=f.exports},function(e,t,n){var r=n(80);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("7982aa43",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-slider {\n position: relative;\n width: 410px;\n}\n.vc-slider-hue-warp {\n height: 12px;\n position: relative;\n}\n.vc-slider-hue-warp .vc-hue-picker {\n width: 14px;\n height: 14px;\n border-radius: 6px;\n transform: translate(-7px, -2px);\n background-color: rgb(248, 248, 248);\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);\n}\n.vc-slider-swatches {\n display: flex;\n margin-top: 20px;\n}\n.vc-slider-swatch {\n margin-right: 1px;\n flex: 1;\n width: 20%;\n}\n.vc-slider-swatch:first-child {\n margin-right: 1px;\n}\n.vc-slider-swatch:first-child .vc-slider-swatch-picker {\n border-radius: 2px 0px 0px 2px;\n}\n.vc-slider-swatch:last-child {\n margin-right: 0;\n}\n.vc-slider-swatch:last-child .vc-slider-swatch-picker {\n border-radius: 0px 2px 2px 0px;\n}\n.vc-slider-swatch-picker {\n cursor: pointer;\n height: 12px;\n}\n.vc-slider-swatch:nth-child(n) .vc-slider-swatch-picker.vc-slider-swatch-picker--active {\n transform: scaleY(1.8);\n border-radius: 3.6px/2px;\n}\n.vc-slider-swatch-picker--white {\n box-shadow: inset 0 0 0 1px #ddd;\n}\n.vc-slider-swatch-picker--active.vc-slider-swatch-picker--white {\n box-shadow: inset 0 0 0 0.6px #ddd;\n}\n",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(82),o=r(i),a=n(100),s=r(a),c="function"==typeof s.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===c(o.default)?function(e){return void 0===e?"undefined":c(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":c(e)}},function(e,t,n){e.exports={default:n(83),__esModule:!0}},function(e,t,n){n(84),n(96),e.exports=n(32).f("iterator")},function(e,t,n){"use strict";var r=n(85)(!0);n(40)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(23),i=n(24);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),c=r(n),l=s.length;return c<0||c>=l?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},function(e,t,n){var r=n(87);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(45),i=n(18),o=n(31),a={};n(7)(a,n(11)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(8),i=n(16),o=n(27);e.exports=n(9)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,c=0;s>c;)r.f(e,n=a[c++],t[n]);return e}},function(e,t,n){var r=n(47);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(10),i=n(92),o=n(93);e.exports=function(e){return function(t,n,a){var s,c=r(t),l=i(c.length),u=o(a,l);if(e&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(23),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(23),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(4).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(6),i=n(48),o=n(28)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){n(97);for(var r=n(4),i=n(7),o=n(26),a=n(11)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var l=s[c],u=r[l],f=u&&u.prototype;f&&!f[a]&&i(f,a,l),o[l]=o.Array}},function(e,t,n){"use strict";var r=n(98),i=n(99),o=n(26),a=n(10);e.exports=n(40)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(101),__esModule:!0}},function(e,t,n){n(102),n(108),n(109),n(110),e.exports=n(15).Symbol},function(e,t,n){"use strict";var r=n(4),i=n(6),o=n(9),a=n(41),s=n(44),c=n(103).KEY,l=n(17),u=n(29),f=n(31),d=n(19),h=n(11),p=n(32),v=n(33),g=n(104),b=n(105),x=n(16),m=n(12),_=n(48),w=n(10),y=n(25),C=n(18),k=n(45),F=n(106),S=n(107),A=n(49),O=n(8),E=n(27),M=S.f,j=O.f,L=F.f,P=r.Symbol,R=r.JSON,D=R&&R.stringify,B=h("_hidden"),T=h("toPrimitive"),H={}.propertyIsEnumerable,N=u("symbol-registry"),z=u("symbols"),I=u("op-symbols"),$=Object.prototype,U="function"==typeof P&&!!A.f,G=r.QObject,V=!G||!G.prototype||!G.prototype.findChild,q=o&&l(function(){return 7!=k(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=M($,t);r&&delete $[t],j(e,t,n),r&&e!==$&&j($,t,r)}:j,X=function(e){var t=z[e]=k(P.prototype);return t._k=e,t},W=U&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},Y=function(e,t,n){return e===$&&Y(I,t,n),x(e),t=y(t,!0),x(n),i(z,t)?(n.enumerable?(i(e,B)&&e[B][t]&&(e[B][t]=!1),n=k(n,{enumerable:C(0,!1)})):(i(e,B)||j(e,B,C(1,{})),e[B][t]=!0),q(e,t,n)):j(e,t,n)},J=function(e,t){x(e);for(var n,r=g(t=w(t)),i=0,o=r.length;o>i;)Y(e,n=r[i++],t[n]);return e},K=function(e,t){return void 0===t?k(e):J(k(e),t)},Z=function(e){var t=H.call(this,e=y(e,!0));return!(this===$&&i(z,e)&&!i(I,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,B)&&this[B][e])||t)},Q=function(e,t){if(e=w(e),t=y(t,!0),e!==$||!i(z,t)||i(I,t)){var n=M(e,t);return!n||!i(z,t)||i(e,B)&&e[B][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=L(w(e)),r=[],o=0;n.length>o;)i(z,t=n[o++])||t==B||t==c||r.push(t);return r},te=function(e){for(var t,n=e===$,r=L(n?I:w(e)),o=[],a=0;r.length>a;)!i(z,t=r[a++])||n&&!i($,t)||o.push(z[t]);return o};U||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===$&&t.call(I,n),i(this,B)&&i(this[B],e)&&(this[B][e]=!1),q(this,e,C(1,n))};return o&&V&&q($,e,{configurable:!0,set:t}),X(e)},s(P.prototype,"toString",function(){return this._k}),S.f=Q,O.f=Y,n(50).f=F.f=ee,n(34).f=Z,A.f=te,o&&!n(14)&&s($,"propertyIsEnumerable",Z,!0),p.f=function(e){return X(h(e))}),a(a.G+a.W+a.F*!U,{Symbol:P});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)h(ne[re++]);for(var ie=E(h.store),oe=0;ie.length>oe;)v(ie[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return i(N,e+="")?N[e]:N[e]=P(e)},keyFor:function(e){if(!W(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!U,"Object",{create:K,defineProperty:Y,defineProperties:J,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=l(function(){A.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return A.f(_(e))}}),R&&a(a.S+a.F*(!U||l(function(){var e=P();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(m(t)||void 0!==e)&&!W(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!W(t))return t}),r[1]=t,D.apply(R,r)}}),P.prototype[T]||n(7)(P.prototype,T,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(19)("meta"),i=n(12),o=n(6),a=n(8).f,s=0,c=Object.isExtensible||function(){return!0},l=!n(17)(function(){return c(Object.preventExtensions({}))}),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[r].i},d=function(e,t){if(!o(e,r)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[r].w},h=function(e){return l&&p.NEED&&c(e)&&!o(e,r)&&u(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:h}},function(e,t,n){var r=n(27),i=n(49),o=n(34);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),c=o.f,l=0;s.length>l;)c.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){var r=n(47);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(10),i=n(50).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t,n){var r=n(34),i=n(18),o=n(10),a=n(25),s=n(6),c=n(42),l=Object.getOwnPropertyDescriptor;t.f=n(9)?l:function(e,t){if(e=o(e),t=a(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(33)("asyncIterator")},function(e,t,n){n(33)("observable")},function(e,t,n){var r=n(112);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("7c5f1a1c",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-hue {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n border-radius: 2px;\n}\n.vc-hue--horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n}\n.vc-hue--vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n}\n.vc-hue-container {\n cursor: pointer;\n margin: 0 2px;\n position: relative;\n height: 100%;\n}\n.vc-hue-pointer {\n z-index: 2;\n position: absolute;\n}\n.vc-hue-picker {\n cursor: pointer;\n margin-top: 1px;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n transform: translateX(-2px) ;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-hue",e.directionClass]},[n("div",{ref:"container",staticClass:"vc-hue-container",attrs:{role:"slider","aria-valuenow":e.colors.hsl.h,"aria-valuemin":"0","aria-valuemax":"360"},on:{mousedown:e.handleMouseDown,touchmove:e.handleChange,touchstart:e.handleChange}},[n("div",{staticClass:"vc-hue-pointer",style:{top:e.pointerTop,left:e.pointerLeft},attrs:{role:"presentation"}},[n("div",{staticClass:"vc-hue-picker"})])])])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-slider",attrs:{role:"application","aria-label":"Slider color picker"}},[n("div",{staticClass:"vc-slider-hue-warp"},[n("hue",{on:{change:e.hueChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-slider-swatches",attrs:{role:"group"}},e._l(e.normalizedSwatches,function(t,r){return n("div",{key:r,staticClass:"vc-slider-swatch",attrs:{"data-index":r,"aria-label":"color:"+e.colors.hex,role:"button"},on:{click:function(n){return e.handleSwClick(r,t)}}},[n("div",{staticClass:"vc-slider-swatch-picker",class:{"vc-slider-swatch-picker--active":e.isActive(t,r),"vc-slider-swatch-picker--white":1===t.l},style:{background:"hsl("+e.colors.hsl.h+", "+100*t.s+"%, "+100*t.l+"%)"}})])}),0)])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";function r(e){c||n(116)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(52),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(119),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/Swatches.vue",t.default=f.exports},function(e,t,n){var r=n(117);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("10f839a2",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-swatches {\n width: 320px;\n height: 240px;\n overflow-y: scroll;\n background-color: #fff;\n box-shadow: 0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16);\n}\n.vc-swatches-box {\n padding: 16px 0 6px 16px;\n overflow: hidden;\n}\n.vc-swatches-color-group {\n padding-bottom: 10px;\n width: 40px;\n float: left;\n margin-right: 10px;\n}\n.vc-swatches-color-it {\n box-sizing: border-box;\n width: 40px;\n height: 24px;\n cursor: pointer;\n background: #880e4f;\n margin-bottom: 1px;\n overflow: hidden;\n -ms-border-radius: 2px 2px 0 0;\n -moz-border-radius: 2px 2px 0 0;\n -o-border-radius: 2px 2px 0 0;\n -webkit-border-radius: 2px 2px 0 0;\n border-radius: 2px 2px 0 0;\n}\n.vc-swatches-color--white {\n border: 1px solid #DDD;\n}\n.vc-swatches-pick {\n fill: rgb(255, 255, 255);\n margin-left: 8px;\n display: block;\n}\n.vc-swatches-color--white .vc-swatches-pick {\n fill: rgb(51, 51, 51);\n}\n",""])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"red",function(){return r}),n.d(t,"pink",function(){return i}),n.d(t,"purple",function(){return o}),n.d(t,"deepPurple",function(){return a}),n.d(t,"indigo",function(){return s}),n.d(t,"blue",function(){return c}),n.d(t,"lightBlue",function(){return l}),n.d(t,"cyan",function(){return u}),n.d(t,"teal",function(){return f}),n.d(t,"green",function(){return d}),n.d(t,"lightGreen",function(){return h}),n.d(t,"lime",function(){return p}),n.d(t,"yellow",function(){return v}),n.d(t,"amber",function(){return g}),n.d(t,"orange",function(){return b}),n.d(t,"deepOrange",function(){return x}),n.d(t,"brown",function(){return m}),n.d(t,"grey",function(){return _}),n.d(t,"blueGrey",function(){return w}),n.d(t,"darkText",function(){return y}),n.d(t,"lightText",function(){return C}),n.d(t,"darkIcons",function(){return k}),n.d(t,"lightIcons",function(){return F}),n.d(t,"white",function(){return S}),n.d(t,"black",function(){return A});var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},i={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},o={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},a={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},s={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},c={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},l={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},u={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},d={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},h={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},p={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},v={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},g={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},b={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},x={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},m={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},_={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},y={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},C={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},k={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},F={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},S="#ffffff",A="#000000";t.default={red:r,pink:i,purple:o,deepPurple:a,indigo:s,blue:c,lightBlue:l,cyan:u,teal:f,green:d,lightGreen:h,lime:p,yellow:v,amber:g,orange:b,deepOrange:x,brown:m,grey:_,blueGrey:w,darkText:y,lightText:C,darkIcons:k,lightIcons:F,white:S,black:A}},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-swatches",attrs:{role:"application","aria-label":"Swatches color picker","data-pick":e.pick}},[n("div",{staticClass:"vc-swatches-box",attrs:{role:"listbox"}},e._l(e.palette,function(t,r){return n("div",{key:r,staticClass:"vc-swatches-color-group"},e._l(t,function(t){return n("div",{key:t,class:["vc-swatches-color-it",{"vc-swatches-color--white":"#FFFFFF"===t}],style:{background:t},attrs:{role:"option","aria-label":"Color:"+t,"aria-selected":e.equal(t),"data-color":t},on:{click:function(n){return e.handlerClick(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.equal(t),expression:"equal(c)"}],staticClass:"vc-swatches-pick"},[n("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}})])])])}),0)}),0)])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";function r(e){c||n(121)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(53),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(134),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/Photoshop.vue",t.default=f.exports},function(e,t,n){var r=n(122);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("080365d4",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,'\n.vc-photoshop {\n background: #DCDCDC;\n border-radius: 4px;\n box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15);\n box-sizing: initial;\n width: 513px;\n font-family: Roboto;\n}\n.vc-photoshop__disable-fields {\n width: 390px;\n}\n.vc-ps-head {\n background-image: linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%);\n border-bottom: 1px solid #B1B1B1;\n box-shadow: inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02);\n height: 23px;\n line-height: 24px;\n border-radius: 4px 4px 0 0;\n font-size: 13px;\n color: #4D4D4D;\n text-align: center;\n}\n.vc-ps-body {\n padding: 15px;\n display: flex;\n}\n.vc-ps-saturation-wrap {\n width: 256px;\n height: 256px;\n position: relative;\n border: 2px solid #B3B3B3;\n border-bottom: 2px solid #F0F0F0;\n overflow: hidden;\n}\n.vc-ps-saturation-wrap .vc-saturation-circle {\n width: 12px;\n height: 12px;\n}\n.vc-ps-hue-wrap {\n position: relative;\n height: 256px;\n width: 19px;\n margin-left: 10px;\n border: 2px solid #B3B3B3;\n border-bottom: 2px solid #F0F0F0;\n}\n.vc-ps-hue-pointer {\n position: relative;\n}\n.vc-ps-hue-pointer--left,\n.vc-ps-hue-pointer--right {\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 5px 0 5px 8px;\n border-color: transparent transparent transparent #555;\n}\n.vc-ps-hue-pointer--left:after,\n.vc-ps-hue-pointer--right:after {\n content: "";\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 4px 0 4px 6px;\n border-color: transparent transparent transparent #fff;\n position: absolute;\n top: 1px;\n left: 1px;\n transform: translate(-8px, -5px);\n}\n.vc-ps-hue-pointer--left {\n transform: translate(-13px, -4px);\n}\n.vc-ps-hue-pointer--right {\n transform: translate(20px, -4px) rotate(180deg);\n}\n.vc-ps-controls {\n width: 180px;\n margin-left: 10px;\n display: flex;\n}\n.vc-ps-controls__disable-fields {\n width: auto;\n}\n.vc-ps-actions {\n margin-left: 20px;\n flex: 1;\n}\n.vc-ps-ac-btn {\n cursor: pointer;\n background-image: linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%);\n border: 1px solid #878787;\n border-radius: 2px;\n height: 20px;\n box-shadow: 0 1px 0 0 #EAEAEA;\n font-size: 14px;\n color: #000;\n line-height: 20px;\n text-align: center;\n margin-bottom: 10px;\n}\n.vc-ps-previews {\n width: 60px;\n}\n.vc-ps-previews__swatches {\n border: 1px solid #B3B3B3;\n border-bottom: 1px solid #F0F0F0;\n margin-bottom: 2px;\n margin-top: 1px;\n}\n.vc-ps-previews__pr-color {\n height: 34px;\n box-shadow: inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000;\n}\n.vc-ps-previews__label {\n font-size: 14px;\n color: #000;\n text-align: center;\n}\n.vc-ps-fields {\n padding-top: 5px;\n padding-bottom: 9px;\n width: 80px;\n position: relative;\n}\n.vc-ps-fields .vc-input__input {\n margin-left: 40%;\n width: 40%;\n height: 18px;\n border: 1px solid #888888;\n box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;\n margin-bottom: 5px;\n font-size: 13px;\n padding-left: 3px;\n margin-right: 10px;\n}\n.vc-ps-fields .vc-input__label, .vc-ps-fields .vc-input__desc {\n top: 0;\n text-transform: uppercase;\n font-size: 13px;\n height: 18px;\n line-height: 22px;\n position: absolute;\n}\n.vc-ps-fields .vc-input__label {\n left: 0;\n width: 34px;\n}\n.vc-ps-fields .vc-input__desc {\n right: 0;\n width: 0;\n}\n.vc-ps-fields__divider {\n height: 5px;\n}\n.vc-ps-fields__hex .vc-input__input {\n margin-left: 20%;\n width: 80%;\n height: 18px;\n border: 1px solid #888888;\n box-shadow: inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC;\n margin-bottom: 6px;\n font-size: 13px;\n padding-left: 3px;\n}\n.vc-ps-fields__hex .vc-input__label {\n position: absolute;\n top: 0;\n left: 0;\n width: 14px;\n text-transform: uppercase;\n font-size: 13px;\n height: 18px;\n line-height: 22px;\n}\n',""])},function(e,t,n){var r=n(124);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("b5380e52",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-saturation,\n.vc-saturation--white,\n.vc-saturation--black {\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.vc-saturation--white {\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n}\n.vc-saturation--black {\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n}\n.vc-saturation-pointer {\n cursor: pointer;\n position: absolute;\n}\n.vc-saturation-circle {\n cursor: head;\n width: 4px;\n height: 4px;\n box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3), 0 0 1px 2px rgba(0,0,0,.4);\n border-radius: 50%;\n transform: translate(-2px, -2px);\n}\n",""])},function(e,t){function n(e,t,n){return t<n?e<t?t:e>n?n:e:e<n?n:e>t?t:e}e.exports=n},function(e,t){function n(e,t,n){function r(t){var n=v,r=g;return v=g=void 0,k=t,x=e.apply(r,n)}function o(e){return k=e,m=setTimeout(u,t),F?r(e):x}function a(e){var n=e-_,r=e-k,i=t-n;return S?y(i,b-r):i}function l(e){var n=e-_,r=e-k;return void 0===_||n>=t||n<0||S&&r>=b}function u(){var e=C();if(l(e))return f(e);m=setTimeout(u,a(e))}function f(e){return m=void 0,A&&v?r(e):(v=g=void 0,x)}function d(){void 0!==m&&clearTimeout(m),k=0,v=_=g=m=void 0}function h(){return void 0===m?x:f(C())}function p(){var e=C(),n=l(e);if(v=arguments,g=this,_=e,n){if(void 0===m)return o(_);if(S)return m=setTimeout(u,t),r(_)}return void 0===m&&(m=setTimeout(u,t)),x}var v,g,b,x,m,_,k=0,F=!1,S=!1,A=!0;if("function"!=typeof e)throw new TypeError(c);return t=s(t)||0,i(n)&&(F=!!n.leading,S="maxWait"in n,b=S?w(s(n.maxWait)||0,t):b,A="trailing"in n?!!n.trailing:A),p.cancel=d,p.flush=h,p}function r(e,t,r){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError(c);return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:o,maxWait:t,trailing:a})}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||o(e)&&_.call(e)==u}function s(e){if("number"==typeof e)return e;if(a(e))return l;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(f,"");var n=h.test(e);return n||p.test(e)?v(e.slice(2),n?2:8):d.test(e)?l:+e}var c="Expected a function",l=NaN,u="[object Symbol]",f=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,p=/^0o[0-7]+$/i,v=parseInt,g="object"==typeof global&&global&&global.Object===Object&&global,b="object"==typeof self&&self&&self.Object===Object&&self,x=g||b||Function("return this")(),m=Object.prototype,_=m.toString,w=Math.max,y=Math.min,C=function(){return x.Date.now()};e.exports=r},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"container",staticClass:"vc-saturation",style:{background:e.bgColor},on:{mousedown:e.handleMouseDown,touchmove:e.handleChange,touchstart:e.handleChange}},[n("div",{staticClass:"vc-saturation--white"}),e._v(" "),n("div",{staticClass:"vc-saturation--black"}),e._v(" "),n("div",{staticClass:"vc-saturation-pointer",style:{top:e.pointerTop,left:e.pointerLeft}},[n("div",{staticClass:"vc-saturation-circle"})])])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){var r=n(129);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("4dc1b086",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-alpha {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n.vc-alpha-checkboard-wrap {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n overflow: hidden;\n}\n.vc-alpha-gradient {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n}\n.vc-alpha-container {\n cursor: pointer;\n position: relative;\n z-index: 2;\n height: 100%;\n margin: 0 3px;\n}\n.vc-alpha-pointer {\n z-index: 2;\n position: absolute;\n}\n.vc-alpha-picker {\n cursor: pointer;\n width: 4px;\n border-radius: 1px;\n height: 8px;\n box-shadow: 0 0 2px rgba(0, 0, 0, .6);\n background: #fff;\n margin-top: 1px;\n transform: translateX(-2px);\n}\n",""])},function(e,t,n){var r=n(131);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("7e15c05b",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-checkerboard {\n position: absolute;\n top: 0px;\n right: 0px;\n bottom: 0px;\n left: 0px;\n background-size: contain;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"vc-checkerboard",style:e.bgStyle})},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-alpha"},[n("div",{staticClass:"vc-alpha-checkboard-wrap"},[n("checkboard")],1),e._v(" "),n("div",{staticClass:"vc-alpha-gradient",style:{background:e.gradientColor}}),e._v(" "),n("div",{ref:"container",staticClass:"vc-alpha-container",on:{mousedown:e.handleMouseDown,touchmove:e.handleChange,touchstart:e.handleChange}},[n("div",{staticClass:"vc-alpha-pointer",style:{left:100*e.colors.a+"%"}},[n("div",{staticClass:"vc-alpha-picker"})])])])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-photoshop",e.disableFields?"vc-photoshop__disable-fields":""],attrs:{role:"application","aria-label":"PhotoShop color picker"}},[n("div",{staticClass:"vc-ps-head",attrs:{role:"heading"}},[e._v(e._s(e.head))]),e._v(" "),n("div",{staticClass:"vc-ps-body"},[n("div",{staticClass:"vc-ps-saturation-wrap"},[n("saturation",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-ps-hue-wrap"},[n("hue",{attrs:{direction:"vertical"},on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}},[n("div",{staticClass:"vc-ps-hue-pointer"},[n("i",{staticClass:"vc-ps-hue-pointer--left"}),n("i",{staticClass:"vc-ps-hue-pointer--right"})])])],1),e._v(" "),n("div",{class:["vc-ps-controls",e.disableFields?"vc-ps-controls__disable-fields":""]},[n("div",{staticClass:"vc-ps-previews"},[n("div",{staticClass:"vc-ps-previews__label"},[e._v(e._s(e.newLabel))]),e._v(" "),n("div",{staticClass:"vc-ps-previews__swatches"},[n("div",{staticClass:"vc-ps-previews__pr-color",style:{background:e.colors.hex},attrs:{"aria-label":"New color is "+e.colors.hex}}),e._v(" "),n("div",{staticClass:"vc-ps-previews__pr-color",style:{background:e.currentColor},attrs:{"aria-label":"Current color is "+e.currentColor},on:{click:e.clickCurrentColor}})]),e._v(" "),n("div",{staticClass:"vc-ps-previews__label"},[e._v(e._s(e.currentLabel))])]),e._v(" "),e.disableFields?e._e():n("div",{staticClass:"vc-ps-actions"},[n("div",{staticClass:"vc-ps-ac-btn",attrs:{role:"button","aria-label":e.acceptLabel},on:{click:e.handleAccept}},[e._v(e._s(e.acceptLabel))]),e._v(" "),n("div",{staticClass:"vc-ps-ac-btn",attrs:{role:"button","aria-label":e.cancelLabel},on:{click:e.handleCancel}},[e._v(e._s(e.cancelLabel))]),e._v(" "),n("div",{staticClass:"vc-ps-fields"},[n("ed-in",{attrs:{label:"h",desc:"°",value:e.hsv.h},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"s",desc:"%",value:e.hsv.s,max:100},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"v",desc:"%",value:e.hsv.v,max:100},on:{change:e.inputChange}}),e._v(" "),n("div",{staticClass:"vc-ps-fields__divider"}),e._v(" "),n("ed-in",{attrs:{label:"r",value:e.colors.rgba.r},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"g",value:e.colors.rgba.g},on:{change:e.inputChange}}),e._v(" "),n("ed-in",{attrs:{label:"b",value:e.colors.rgba.b},on:{change:e.inputChange}}),e._v(" "),n("div",{staticClass:"vc-ps-fields__divider"}),e._v(" "),n("ed-in",{staticClass:"vc-ps-fields__hex",attrs:{label:"#",value:e.hex},on:{change:e.inputChange}})],1),e._v(" "),e.hasResetButton?n("div",{staticClass:"vc-ps-ac-btn",attrs:{"aria-label":"reset"},on:{click:e.handleReset}},[e._v(e._s(e.resetLabel))]):e._e()])])])])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";function r(e){c||n(136)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(57),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(138),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/Sketch.vue",t.default=f.exports},function(e,t,n){var r=n(137);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("612c6604",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-sketch {\n position: relative;\n width: 200px;\n padding: 10px 10px 0;\n box-sizing: initial;\n background: #fff;\n border-radius: 4px;\n box-shadow: 0 0 0 1px rgba(0, 0, 0, .15), 0 8px 16px rgba(0, 0, 0, .15);\n}\n.vc-sketch-saturation-wrap {\n width: 100%;\n padding-bottom: 75%;\n position: relative;\n overflow: hidden;\n}\n.vc-sketch-controls {\n display: flex;\n}\n.vc-sketch-sliders {\n padding: 4px 0;\n flex: 1;\n}\n.vc-sketch-sliders .vc-hue,\n.vc-sketch-sliders .vc-alpha-gradient {\n border-radius: 2px;\n}\n.vc-sketch-hue-wrap {\n position: relative;\n height: 10px;\n}\n.vc-sketch-alpha-wrap {\n position: relative;\n height: 10px;\n margin-top: 4px;\n overflow: hidden;\n}\n.vc-sketch-color-wrap {\n width: 24px;\n height: 24px;\n position: relative;\n margin-top: 4px;\n margin-left: 4px;\n border-radius: 3px;\n}\n.vc-sketch-active-color {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border-radius: 2px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 0 4px rgba(0, 0, 0, .25);\n z-index: 2;\n}\n.vc-sketch-color-wrap .vc-checkerboard {\n background-size: auto;\n}\n.vc-sketch-field {\n display: flex;\n padding-top: 4px;\n}\n.vc-sketch-field .vc-input__input {\n width: 90%;\n padding: 4px 0 3px 10%;\n border: none;\n box-shadow: inset 0 0 0 1px #ccc;\n font-size: 10px;\n}\n.vc-sketch-field .vc-input__label {\n display: block;\n text-align: center;\n font-size: 11px;\n color: #222;\n padding-top: 3px;\n padding-bottom: 4px;\n text-transform: capitalize;\n}\n.vc-sketch-field--single {\n flex: 1;\n padding-left: 6px;\n}\n.vc-sketch-field--double {\n flex: 2;\n}\n.vc-sketch-presets {\n margin-right: -10px;\n margin-left: -10px;\n padding-left: 10px;\n padding-top: 10px;\n border-top: 1px solid #eee;\n}\n.vc-sketch-presets-color {\n border-radius: 3px;\n overflow: hidden;\n position: relative;\n display: inline-block;\n margin: 0 10px 10px 0;\n vertical-align: top;\n cursor: pointer;\n width: 16px;\n height: 16px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);\n}\n.vc-sketch-presets-color .vc-checkerboard {\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);\n border-radius: 3px;\n}\n.vc-sketch__disable-alpha .vc-sketch-color-wrap {\n height: 10px;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-sketch",e.disableAlpha?"vc-sketch__disable-alpha":""],attrs:{role:"application","aria-label":"Sketch color picker"}},[n("div",{staticClass:"vc-sketch-saturation-wrap"},[n("saturation",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-controls"},[n("div",{staticClass:"vc-sketch-sliders"},[n("div",{staticClass:"vc-sketch-hue-wrap"},[n("hue",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-sketch-alpha-wrap"},[n("alpha",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1)]),e._v(" "),n("div",{staticClass:"vc-sketch-color-wrap"},[n("div",{staticClass:"vc-sketch-active-color",style:{background:e.activeColor},attrs:{"aria-label":"Current color is "+e.activeColor}}),e._v(" "),n("checkboard")],1)]),e._v(" "),e.disableFields?e._e():n("div",{staticClass:"vc-sketch-field"},[n("div",{staticClass:"vc-sketch-field--double"},[n("ed-in",{attrs:{label:"hex",value:e.hex},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"r",value:e.colors.rgba.r},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"g",value:e.colors.rgba.g},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"b",value:e.colors.rgba.b},on:{change:e.inputChange}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-sketch-field--single"},[n("ed-in",{attrs:{label:"a",value:e.colors.a,"arrow-offset":.01,max:1},on:{change:e.inputChange}})],1)]),e._v(" "),n("div",{staticClass:"vc-sketch-presets",attrs:{role:"group","aria-label":"A color preset, pick one to set as current color"}},[e._l(e.presetColors,function(t){return[e.isTransparent(t)?n("div",{key:t,staticClass:"vc-sketch-presets-color",attrs:{"aria-label":"Color:"+t},on:{click:function(n){return e.handlePreset(t)}}},[n("checkboard")],1):n("div",{key:t,staticClass:"vc-sketch-presets-color",style:{background:t},attrs:{"aria-label":"Color:"+t},on:{click:function(n){return e.handlePreset(t)}}})]})],2)])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";function r(e){c||n(140)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(58),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(142),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/Chrome.vue",t.default=f.exports},function(e,t,n){var r=n(141);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("1cd16048",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-chrome {\n background: #fff;\n border-radius: 2px;\n box-shadow: 0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3);\n box-sizing: initial;\n width: 225px;\n font-family: Menlo;\n background-color: #fff;\n}\n.vc-chrome-controls {\n display: flex;\n}\n.vc-chrome-color-wrap {\n position: relative;\n width: 36px;\n}\n.vc-chrome-active-color {\n position: relative;\n width: 30px;\n height: 30px;\n border-radius: 15px;\n overflow: hidden;\n z-index: 1;\n}\n.vc-chrome-color-wrap .vc-checkerboard {\n width: 30px;\n height: 30px;\n border-radius: 15px;\n background-size: auto;\n}\n.vc-chrome-sliders {\n flex: 1;\n}\n.vc-chrome-fields-wrap {\n display: flex;\n padding-top: 16px;\n}\n.vc-chrome-fields {\n display: flex;\n margin-left: -6px;\n flex: 1;\n}\n.vc-chrome-field {\n padding-left: 6px;\n width: 100%;\n}\n.vc-chrome-toggle-btn {\n width: 32px;\n text-align: right;\n position: relative;\n}\n.vc-chrome-toggle-icon {\n margin-right: -4px;\n margin-top: 12px;\n cursor: pointer;\n position: relative;\n z-index: 2;\n}\n.vc-chrome-toggle-icon-highlight {\n position: absolute;\n width: 24px;\n height: 28px;\n background: #eee;\n border-radius: 4px;\n top: 10px;\n left: 12px;\n}\n.vc-chrome-hue-wrap {\n position: relative;\n height: 10px;\n margin-bottom: 8px;\n}\n.vc-chrome-alpha-wrap {\n position: relative;\n height: 10px;\n}\n.vc-chrome-hue-wrap .vc-hue {\n border-radius: 2px;\n}\n.vc-chrome-alpha-wrap .vc-alpha-gradient {\n border-radius: 2px;\n}\n.vc-chrome-hue-wrap .vc-hue-picker, .vc-chrome-alpha-wrap .vc-alpha-picker {\n width: 12px;\n height: 12px;\n border-radius: 6px;\n transform: translate(-6px, -2px);\n background-color: rgb(248, 248, 248);\n box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);\n}\n.vc-chrome-body {\n padding: 16px 16px 12px;\n background-color: #fff;\n}\n.vc-chrome-saturation-wrap {\n width: 100%;\n padding-bottom: 55%;\n position: relative;\n border-radius: 2px 2px 0 0;\n overflow: hidden;\n}\n.vc-chrome-saturation-wrap .vc-saturation-circle {\n width: 12px;\n height: 12px;\n}\n.vc-chrome-fields .vc-input__input {\n font-size: 11px;\n color: #333;\n width: 100%;\n border-radius: 2px;\n border: none;\n box-shadow: inset 0 0 0 1px #dadada;\n height: 21px;\n text-align: center;\n}\n.vc-chrome-fields .vc-input__label {\n text-transform: uppercase;\n font-size: 11px;\n line-height: 11px;\n color: #969696;\n text-align: center;\n display: block;\n margin-top: 12px;\n}\n.vc-chrome__disable-alpha .vc-chrome-active-color {\n width: 18px;\n height: 18px;\n}\n.vc-chrome__disable-alpha .vc-chrome-color-wrap {\n width: 30px;\n}\n.vc-chrome__disable-alpha .vc-chrome-hue-wrap {\n margin-top: 4px;\n margin-bottom: 4px;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["vc-chrome",e.disableAlpha?"vc-chrome__disable-alpha":""],attrs:{role:"application","aria-label":"Chrome color picker"}},[n("div",{staticClass:"vc-chrome-saturation-wrap"},[n("saturation",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-body"},[n("div",{staticClass:"vc-chrome-controls"},[n("div",{staticClass:"vc-chrome-color-wrap"},[n("div",{staticClass:"vc-chrome-active-color",style:{background:e.activeColor},attrs:{"aria-label":"current color is "+e.colors.hex}}),e._v(" "),e.disableAlpha?e._e():n("checkboard")],1),e._v(" "),n("div",{staticClass:"vc-chrome-sliders"},[n("div",{staticClass:"vc-chrome-hue-wrap"},[n("hue",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-chrome-alpha-wrap"},[n("alpha",{on:{change:e.childChange},model:{value:e.colors,callback:function(t){e.colors=t},expression:"colors"}})],1)])]),e._v(" "),e.disableFields?e._e():n("div",{staticClass:"vc-chrome-fields-wrap"},[n("div",{directives:[{name:"show",rawName:"v-show",value:0===e.fieldsIndex,expression:"fieldsIndex === 0"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[e.hasAlpha?e._e():n("ed-in",{attrs:{label:"hex",value:e.colors.hex},on:{change:e.inputChange}}),e._v(" "),e.hasAlpha?n("ed-in",{attrs:{label:"hex",value:e.colors.hex8},on:{change:e.inputChange}}):e._e()],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:1===e.fieldsIndex,expression:"fieldsIndex === 1"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"r",value:e.colors.rgba.r},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"g",value:e.colors.rgba.g},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"b",value:e.colors.rgba.b},on:{change:e.inputChange}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"a",value:e.colors.a,"arrow-offset":.01,max:1},on:{change:e.inputChange}})],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:2===e.fieldsIndex,expression:"fieldsIndex === 2"}],staticClass:"vc-chrome-fields"},[n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"h",value:e.hsl.h},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"s",value:e.hsl.s},on:{change:e.inputChange}})],1),e._v(" "),n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"l",value:e.hsl.l},on:{change:e.inputChange}})],1),e._v(" "),e.disableAlpha?e._e():n("div",{staticClass:"vc-chrome-field"},[n("ed-in",{attrs:{label:"a",value:e.colors.a,"arrow-offset":.01,max:1},on:{change:e.inputChange}})],1)]),e._v(" "),n("div",{staticClass:"vc-chrome-toggle-btn",attrs:{role:"button","aria-label":"Change another color definition"},on:{click:e.toggleViews}},[n("div",{staticClass:"vc-chrome-toggle-icon"},[n("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"},on:{mouseover:e.showHighlight,mouseenter:e.showHighlight,mouseout:e.hideHighlight}},[n("path",{attrs:{fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}})])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.highlight,expression:"highlight"}],staticClass:"vc-chrome-toggle-icon-highlight"})])])])])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o},function(e,t,n){"use strict";function r(e){c||n(144)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(59),o=n.n(i);for(var a in i)"default"!==a&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(146),c=!1,l=n(2),u=r,f=l(o.a,s.a,!1,u,null,null);f.options.__file="src/components/Twitter.vue",t.default=f.exports},function(e,t,n){var r=n(145);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);n(1)("669a48a5",r,!1,{})},function(e,t,n){t=e.exports=n(0)(!1),t.push([e.i,"\n.vc-twitter {\n background: #fff;\n border: 0 solid rgba(0,0,0,0.25);\n box-shadow: 0 1px 4px rgba(0,0,0,0.25);\n border-radius: 4px;\n position: relative;\n}\n.vc-twitter-triangle {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-width: 0 9px 10px 9px;\n border-color: transparent transparent #fff transparent;\n position: absolute;\n}\n.vc-twitter-triangle-shadow {\n width: 0px;\n height: 0px;\n border-style: solid;\n border-width: 0 9px 10px 9px;\n border-color: transparent transparent rgba(0, 0, 0, .1) transparent;\n position: absolute;\n}\n.vc-twitter-body {\n padding: 15px 9px 9px 15px;\n}\n.vc-twitter .vc-editable-input {\n position: relative;\n}\n.vc-twitter .vc-editable-input input {\n width: 100px;\n font-size: 14px;\n color: #666;\n border: 0px;\n outline: none;\n height: 28px;\n box-shadow: inset 0 0 0 1px #F0F0F0;\n box-sizing: content-box;\n border-radius: 0 4px 4px 0;\n float: left;\n padding: 1px;\n padding-left: 8px;\n}\n.vc-twitter .vc-editable-input span {\n display: none;\n}\n.vc-twitter-hash {\n background: #F0F0F0;\n height: 30px;\n width: 30px;\n border-radius: 4px 0 0 4px;\n float: left;\n color: #98A1A4;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.vc-twitter-swatch {\n width: 30px;\n height: 30px;\n float: left;\n border-radius: 4px;\n margin: 0 6px 6px 0;\n cursor: pointer;\n position: relative;\n outline: none;\n}\n.vc-twitter-clear {\n clear: both;\n}\n.vc-twitter-hide-triangle .vc-twitter-triangle {\n display: none;\n}\n.vc-twitter-hide-triangle .vc-twitter-triangle-shadow {\n display: none;\n}\n.vc-twitter-top-left-triangle .vc-twitter-triangle{\n top: -10px;\n left: 12px;\n}\n.vc-twitter-top-left-triangle .vc-twitter-triangle-shadow{\n top: -11px;\n left: 12px;\n}\n.vc-twitter-top-right-triangle .vc-twitter-triangle{\n top: -10px;\n right: 12px;\n}\n.vc-twitter-top-right-triangle .vc-twitter-triangle-shadow{\n top: -11px;\n right: 12px;\n}\n",""])},function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vc-twitter",class:{"vc-twitter-hide-triangle ":"hide"===e.triangle,"vc-twitter-top-left-triangle ":"top-left"===e.triangle,"vc-twitter-top-right-triangle ":"top-right"===e.triangle},style:{width:"number"==typeof e.width?e.width+"px":e.width}},[n("div",{staticClass:"vc-twitter-triangle-shadow"}),e._v(" "),n("div",{staticClass:"vc-twitter-triangle"}),e._v(" "),n("div",{staticClass:"vc-twitter-body"},[e._l(e.defaultColors,function(t,r){return n("span",{key:r,staticClass:"vc-twitter-swatch",style:{background:t,boxShadow:"0 0 4px "+(e.equal(t)?t:"transparent")},on:{click:function(n){return e.handlerClick(t)}}})}),e._v(" "),n("div",{staticClass:"vc-twitter-hash"},[e._v("#")]),e._v(" "),n("editable-input",{attrs:{label:"#",value:e.hex},on:{change:e.inputChange}}),e._v(" "),n("div",{staticClass:"vc-twitter-clear"})],2)])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};t.a=o}])});
|
|
29116
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
29117
|
+
|
|
29118
|
+
/***/ }),
|
|
29119
|
+
|
|
29120
|
+
/***/ "c3456":
|
|
29121
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
29122
|
+
|
|
29779
29123
|
"use strict";
|
|
29780
29124
|
|
|
29781
29125
|
|
|
@@ -36254,14 +35598,10 @@ module.exports = function (key) {
|
|
|
36254
35598
|
|
|
36255
35599
|
/***/ }),
|
|
36256
35600
|
|
|
36257
|
-
/***/ "
|
|
36258
|
-
/***/ (function(module,
|
|
36259
|
-
|
|
36260
|
-
"use strict";
|
|
36261
|
-
/* 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_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_1af2f90b_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2192");
|
|
36262
|
-
/* 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_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_1af2f90b_prod_lang_css__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_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ColorField_vue_vue_type_style_index_0_id_1af2f90b_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
36263
|
-
/* unused harmony reexport * */
|
|
35601
|
+
/***/ "f7d7":
|
|
35602
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
36264
35603
|
|
|
35604
|
+
// extracted by mini-css-extract-plugin
|
|
36265
35605
|
|
|
36266
35606
|
/***/ }),
|
|
36267
35607
|
|
|
@@ -36334,18 +35674,221 @@ if (typeof window !== 'undefined') {
|
|
|
36334
35674
|
// Indicate to webpack that this file can be concatenated
|
|
36335
35675
|
/* harmony default export */ var setPublicPath = (null);
|
|
36336
35676
|
|
|
36337
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36338
|
-
var render = function () {
|
|
36339
|
-
var
|
|
36340
|
-
|
|
36341
|
-
|
|
36342
|
-
|
|
36343
|
-
|
|
36344
|
-
|
|
36345
|
-
|
|
36346
|
-
|
|
36347
|
-
|
|
36348
|
-
|
|
35677
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DynamicForm.vue?vue&type=template&id=e35d8ea0
|
|
35678
|
+
var render = function render() {
|
|
35679
|
+
var _vm = this,
|
|
35680
|
+
_c = _vm._self._c;
|
|
35681
|
+
return _c('ValidationObserver', {
|
|
35682
|
+
ref: "ObserverForm",
|
|
35683
|
+
scopedSlots: _vm._u([{
|
|
35684
|
+
key: "default",
|
|
35685
|
+
fn: function ({
|
|
35686
|
+
handleSubmit
|
|
35687
|
+
}) {
|
|
35688
|
+
return [_c('form', {
|
|
35689
|
+
on: {
|
|
35690
|
+
"submit": function ($event) {
|
|
35691
|
+
$event.preventDefault();
|
|
35692
|
+
return handleSubmit(_vm.onSubmit);
|
|
35693
|
+
}
|
|
35694
|
+
}
|
|
35695
|
+
}, [_c('div', {
|
|
35696
|
+
staticClass: "row"
|
|
35697
|
+
}, _vm._l(_vm.schema, function (group, parentIndex) {
|
|
35698
|
+
return _vm.CheckIfAnyFieldVisibleInGroup(group.Data) ? _c('div', {
|
|
35699
|
+
key: parentIndex,
|
|
35700
|
+
class: _vm.getGroupClasses(group)
|
|
35701
|
+
}, [_c('div', {
|
|
35702
|
+
staticClass: "row"
|
|
35703
|
+
}, [group.group_name && (group.visibility == true || typeof group.visibility == 'undefined') ? _c('div', {
|
|
35704
|
+
staticClass: "col-lg-12 mb-3"
|
|
35705
|
+
}, [_c('div', {
|
|
35706
|
+
staticClass: "heading-border mt-2"
|
|
35707
|
+
}, [_c('h5', {
|
|
35708
|
+
staticClass: "h5"
|
|
35709
|
+
}, [_c('span', [_vm._v(_vm._s(_vm.GetGroupName(group.group_display_name, group.group_name)))])])])]) : _vm._e(), _vm._l(group.Data, function (field, fieldIndex) {
|
|
35710
|
+
return _c('div', {
|
|
35711
|
+
key: fieldIndex,
|
|
35712
|
+
class: {
|
|
35713
|
+
'col-sm-12 col-md-12 float-left': true,
|
|
35714
|
+
'd-none': field.visibility == false,
|
|
35715
|
+
'referredby': field.name == 'referred_by',
|
|
35716
|
+
'campaignname': field.name == 'campaign_id',
|
|
35717
|
+
'col-lg-12 col-xl-12': group.layoutType == 'single',
|
|
35718
|
+
'col-lg-6 col-xl-6': group.layoutType == 'double',
|
|
35719
|
+
'col-lg-4 col-xl-4': group.layoutType == 'triple',
|
|
35720
|
+
'col-lg-3 col-xl-3': group.layoutType == 'four'
|
|
35721
|
+
},
|
|
35722
|
+
attrs: {
|
|
35723
|
+
"id": field.name
|
|
35724
|
+
}
|
|
35725
|
+
}, [typeof field.visibility === 'undefined' || field.visibility === true ? _c('div', {
|
|
35726
|
+
staticClass: "form-group"
|
|
35727
|
+
}, [typeof field.showLabel === 'undefined' || field.showLabel === true ? _c('label', [_vm._v(_vm._s(_vm.GetDisplayLabel(field))), _vm.isRequired(field.validationRules) ? _c('span', {
|
|
35728
|
+
class: {
|
|
35729
|
+
'text-danger': true
|
|
35730
|
+
}
|
|
35731
|
+
}, [_vm._v("* ")]) : _vm._e()]) : _vm._e(), field.userGuide && field.userGuide != '' ? _c('a', {
|
|
35732
|
+
attrs: {
|
|
35733
|
+
"href": "javascript:;",
|
|
35734
|
+
"title": field.userGuide,
|
|
35735
|
+
"data-toggle": "popover"
|
|
35736
|
+
}
|
|
35737
|
+
}, [_vm._v(" "), _c('i', {
|
|
35738
|
+
staticClass: "fa fa-question-circle-o text-popover",
|
|
35739
|
+
staticStyle: {
|
|
35740
|
+
"font-size": "14px"
|
|
35741
|
+
}
|
|
35742
|
+
})]) : _vm._e(), field.astype != 'DateRangeField' && field.astype != 'NumericRangeField' ? _c('div', {
|
|
35743
|
+
staticClass: "row"
|
|
35744
|
+
}, [_c('div', {
|
|
35745
|
+
staticClass: "col-12 float-left"
|
|
35746
|
+
}, [_c('div', {
|
|
35747
|
+
class: {
|
|
35748
|
+
'input-group': field.astype != 'CKEditorField' && field.astype != 'ColorField'
|
|
35749
|
+
}
|
|
35750
|
+
}, [_c(field.astype, {
|
|
35751
|
+
key: field.astype != 'FileField' && field.astype != 'SlotField' ? _vm.keyForComponentUpdate : 0,
|
|
35752
|
+
tag: "component",
|
|
35753
|
+
attrs: {
|
|
35754
|
+
"lang": _vm.lang,
|
|
35755
|
+
"fieldInfo": field
|
|
35756
|
+
},
|
|
35757
|
+
on: {
|
|
35758
|
+
"UpdateKeyValue": _vm.UpdateKeyValue
|
|
35759
|
+
},
|
|
35760
|
+
scopedSlots: _vm._u([{
|
|
35761
|
+
key: "tgslot",
|
|
35762
|
+
fn: function ({
|
|
35763
|
+
data
|
|
35764
|
+
}) {
|
|
35765
|
+
return [_vm._t(typeof data.fieldInfo.name != 'undefined' && data.fieldInfo.name != '' ? 'tgslot-' + data.fieldInfo.name : 'tgslot', null, {
|
|
35766
|
+
"data": {
|
|
35767
|
+
fieldInfo: data.fieldInfo,
|
|
35768
|
+
error: data.error
|
|
35769
|
+
}
|
|
35770
|
+
})];
|
|
35771
|
+
}
|
|
35772
|
+
}], null, true)
|
|
35773
|
+
})], 1)])]) : _vm._e(), field.astype == 'DateRangeField' || field.astype == 'NumericRangeField' ? [_c(field.astype, {
|
|
35774
|
+
key: field.astype != 'FileField' && field.astype != 'SlotField' ? _vm.keyForComponentUpdate : 0,
|
|
35775
|
+
tag: "component",
|
|
35776
|
+
attrs: {
|
|
35777
|
+
"lang": _vm.lang,
|
|
35778
|
+
"fieldInfo": field
|
|
35779
|
+
},
|
|
35780
|
+
on: {
|
|
35781
|
+
"UpdateKeyValue": _vm.UpdateKeyValue
|
|
35782
|
+
},
|
|
35783
|
+
scopedSlots: _vm._u([{
|
|
35784
|
+
key: "tgslot",
|
|
35785
|
+
fn: function ({
|
|
35786
|
+
data
|
|
35787
|
+
}) {
|
|
35788
|
+
return [_vm._t(typeof data.fieldInfo.name != 'undefined' && data.fieldInfo.name != '' ? 'tgslot-' + data.fieldInfo.name : 'tgslot', null, {
|
|
35789
|
+
"data": {
|
|
35790
|
+
fieldInfo: data.fieldInfo,
|
|
35791
|
+
error: data.error
|
|
35792
|
+
}
|
|
35793
|
+
})];
|
|
35794
|
+
}
|
|
35795
|
+
}], null, true)
|
|
35796
|
+
})] : _vm._e()], 2) : _vm._e()]);
|
|
35797
|
+
}), _vm.buttons != false && _vm.inlinebuttons == true && _vm.schema.length - 1 == parentIndex ? _c('div', {
|
|
35798
|
+
class: _vm.getInlineButtonClasses(group.layoutType, group.Data)
|
|
35799
|
+
}, [_vm.renderButtons(_vm.buttons).length == 0 ? _c('div', {
|
|
35800
|
+
class: _vm.buttonClasses
|
|
35801
|
+
}, [_c('button', {
|
|
35802
|
+
staticClass: "btn btn-success",
|
|
35803
|
+
attrs: {
|
|
35804
|
+
"type": "submit"
|
|
35805
|
+
}
|
|
35806
|
+
}, [_vm._v("Submit")])]) : _vm._e(), _vm.renderButtons(_vm.buttons).length >= 0 ? _c('div', {
|
|
35807
|
+
class: _vm.buttonClasses
|
|
35808
|
+
}, [_vm._l(_vm.buttons, function (button, index) {
|
|
35809
|
+
return [button.type && button.type.toLowerCase() == 'submit' && (button.hasOwnProperty('isVisible') == false || button.hasOwnProperty('isVisible') && button.isVisible == true) ? _c('button', {
|
|
35810
|
+
class: button.class,
|
|
35811
|
+
style: index > 0 ? 'margin-left:5px;' : '',
|
|
35812
|
+
attrs: {
|
|
35813
|
+
"type": button.type
|
|
35814
|
+
},
|
|
35815
|
+
domProps: {
|
|
35816
|
+
"innerHTML": _vm._s(button.text)
|
|
35817
|
+
},
|
|
35818
|
+
on: {
|
|
35819
|
+
"click": function ($event) {
|
|
35820
|
+
return _vm.onButtonClick(button);
|
|
35821
|
+
}
|
|
35822
|
+
}
|
|
35823
|
+
}) : _vm._e(), button.type && button.type.toLowerCase() != 'submit' && (button.hasOwnProperty('isVisible') == false || button.hasOwnProperty('isVisible') && button.isVisible == true) ? _c('button', {
|
|
35824
|
+
class: button.class,
|
|
35825
|
+
style: index > 0 ? 'margin-left:5px;' : '',
|
|
35826
|
+
attrs: {
|
|
35827
|
+
"type": button.type
|
|
35828
|
+
},
|
|
35829
|
+
domProps: {
|
|
35830
|
+
"innerHTML": _vm._s(button.text)
|
|
35831
|
+
},
|
|
35832
|
+
on: {
|
|
35833
|
+
"click": function ($event) {
|
|
35834
|
+
return _vm.onButtonClick(button);
|
|
35835
|
+
}
|
|
35836
|
+
}
|
|
35837
|
+
}) : _vm._e()];
|
|
35838
|
+
})], 2) : _vm._e()]) : _vm._e()], 2)]) : _vm._e();
|
|
35839
|
+
}), 0), _vm.buttons != false && _vm.inlinebuttons == false ? _c('div', {
|
|
35840
|
+
staticClass: "col-12 mt-3 p-0"
|
|
35841
|
+
}, [_c('div', {
|
|
35842
|
+
staticClass: "row flex-row-reverse"
|
|
35843
|
+
}, [_vm.renderButtons(_vm.buttons).length == 0 ? _c('div', {
|
|
35844
|
+
staticClass: "col-lg-6 col-md-6 text-right"
|
|
35845
|
+
}, [_c('button', {
|
|
35846
|
+
staticClass: "btn btn-success",
|
|
35847
|
+
attrs: {
|
|
35848
|
+
"type": "submit"
|
|
35849
|
+
}
|
|
35850
|
+
}, [_vm._v("Submit")])]) : _vm._e(), _vm.renderButtons(_vm.buttons).length >= 0 ? _c('div', {
|
|
35851
|
+
staticClass: "col-lg-6 col-md-6 text-right"
|
|
35852
|
+
}, [_vm._l(_vm.buttons, function (button, index) {
|
|
35853
|
+
return [button.type && button.type.toLowerCase() == 'submit' && (button.hasOwnProperty('isVisible') == false || button.hasOwnProperty('isVisible') && button.isVisible == true) ? _c('button', {
|
|
35854
|
+
class: button.class,
|
|
35855
|
+
style: index > 0 ? 'margin-left:5px;' : '',
|
|
35856
|
+
attrs: {
|
|
35857
|
+
"type": button.type
|
|
35858
|
+
},
|
|
35859
|
+
domProps: {
|
|
35860
|
+
"innerHTML": _vm._s(button.text)
|
|
35861
|
+
},
|
|
35862
|
+
on: {
|
|
35863
|
+
"click": function ($event) {
|
|
35864
|
+
return _vm.onButtonClick(button);
|
|
35865
|
+
}
|
|
35866
|
+
}
|
|
35867
|
+
}) : _vm._e(), button.type && button.type.toLowerCase() != 'submit' && (button.hasOwnProperty('isVisible') == false || button.hasOwnProperty('isVisible') && button.isVisible == true) ? _c('button', {
|
|
35868
|
+
class: button.class,
|
|
35869
|
+
style: index > 0 ? 'margin-left:5px;' : '',
|
|
35870
|
+
attrs: {
|
|
35871
|
+
"type": button.type
|
|
35872
|
+
},
|
|
35873
|
+
domProps: {
|
|
35874
|
+
"innerHTML": _vm._s(button.text)
|
|
35875
|
+
},
|
|
35876
|
+
on: {
|
|
35877
|
+
"click": function ($event) {
|
|
35878
|
+
return _vm.onButtonClick(button);
|
|
35879
|
+
}
|
|
35880
|
+
}
|
|
35881
|
+
}) : _vm._e()];
|
|
35882
|
+
})], 2) : _vm._e(), _vm.mandatorytext != false ? _c('div', {
|
|
35883
|
+
staticClass: "col-lg-6 col-md-6"
|
|
35884
|
+
}, [_c('div', {
|
|
35885
|
+
staticClass: "py-2 mandatory"
|
|
35886
|
+
}, [_vm._v(_vm._s(_vm.mandatorytext))])]) : _vm._e()])]) : _vm._e()])];
|
|
35887
|
+
}
|
|
35888
|
+
}])
|
|
35889
|
+
});
|
|
35890
|
+
};
|
|
35891
|
+
var staticRenderFns = [];
|
|
36349
35892
|
|
|
36350
35893
|
// CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=e35d8ea0
|
|
36351
35894
|
|
|
@@ -39250,12 +38793,67 @@ function getValidationRules(userValidationRules, lang, fieldType) {
|
|
|
39250
38793
|
return validationRules;
|
|
39251
38794
|
}
|
|
39252
38795
|
|
|
39253
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39254
|
-
var NumericFieldvue_type_template_id_6153c586_render = function () {
|
|
39255
|
-
var
|
|
39256
|
-
|
|
39257
|
-
|
|
39258
|
-
|
|
38796
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/NumericField.vue?vue&type=template&id=6153c586
|
|
38797
|
+
var NumericFieldvue_type_template_id_6153c586_render = function render() {
|
|
38798
|
+
var _vm = this,
|
|
38799
|
+
_c = _vm._self._c;
|
|
38800
|
+
return _c('Field', {
|
|
38801
|
+
staticClass: "w-100",
|
|
38802
|
+
attrs: {
|
|
38803
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
38804
|
+
"rules": _vm.fieldInfo.validationRules
|
|
38805
|
+
},
|
|
38806
|
+
scopedSlots: _vm._u([{
|
|
38807
|
+
key: "default",
|
|
38808
|
+
fn: function ({
|
|
38809
|
+
errors
|
|
38810
|
+
}) {
|
|
38811
|
+
return [_c('input', {
|
|
38812
|
+
directives: [{
|
|
38813
|
+
name: "model",
|
|
38814
|
+
rawName: "v-model",
|
|
38815
|
+
value: _vm.fieldInfo.value,
|
|
38816
|
+
expression: "fieldInfo.value"
|
|
38817
|
+
}],
|
|
38818
|
+
class: {
|
|
38819
|
+
'form-control w-100': true,
|
|
38820
|
+
'is-invalid': errors[0]
|
|
38821
|
+
},
|
|
38822
|
+
attrs: {
|
|
38823
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
38824
|
+
"type": "text",
|
|
38825
|
+
"placeholder": _vm.fieldInfo.placeholder
|
|
38826
|
+
},
|
|
38827
|
+
domProps: {
|
|
38828
|
+
"value": _vm.fieldInfo.value
|
|
38829
|
+
},
|
|
38830
|
+
on: {
|
|
38831
|
+
"change": function ($event) {
|
|
38832
|
+
return _vm.onChange($event);
|
|
38833
|
+
},
|
|
38834
|
+
"blur": function ($event) {
|
|
38835
|
+
return _vm.onBlur($event);
|
|
38836
|
+
},
|
|
38837
|
+
"keyup": function ($event) {
|
|
38838
|
+
return _vm.onKeyUp($event);
|
|
38839
|
+
},
|
|
38840
|
+
"keypress": _vm.onlyForCurrency,
|
|
38841
|
+
"input": function ($event) {
|
|
38842
|
+
if ($event.target.composing) return;
|
|
38843
|
+
_vm.$set(_vm.fieldInfo, "value", $event.target.value);
|
|
38844
|
+
}
|
|
38845
|
+
}
|
|
38846
|
+
}), errors[0] ? _c('span', {
|
|
38847
|
+
staticClass: "invalid-feedback",
|
|
38848
|
+
attrs: {
|
|
38849
|
+
"name": _vm.fieldInfo.name
|
|
38850
|
+
}
|
|
38851
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
38852
|
+
}
|
|
38853
|
+
}])
|
|
38854
|
+
});
|
|
38855
|
+
};
|
|
38856
|
+
var NumericFieldvue_type_template_id_6153c586_staticRenderFns = [];
|
|
39259
38857
|
|
|
39260
38858
|
// CONCATENATED MODULE: ./src/components/NumericField.vue?vue&type=template&id=6153c586
|
|
39261
38859
|
|
|
@@ -39451,13 +39049,92 @@ var component = normalizeComponent(
|
|
|
39451
39049
|
)
|
|
39452
39050
|
|
|
39453
39051
|
/* harmony default export */ var NumericField = (component.exports);
|
|
39454
|
-
//
|
|
39455
|
-
var
|
|
39456
|
-
|
|
39457
|
-
|
|
39458
|
-
var SelectFieldvue_type_template_id_86a3ac92_staticRenderFns = []
|
|
39052
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
|
|
39053
|
+
var es_iterator_map = __webpack_require__("ab43");
|
|
39054
|
+
|
|
39055
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SelectField.vue?vue&type=template&id=86a3ac92
|
|
39459
39056
|
|
|
39460
39057
|
|
|
39058
|
+
var SelectFieldvue_type_template_id_86a3ac92_render = function render() {
|
|
39059
|
+
var _vm = this,
|
|
39060
|
+
_c = _vm._self._c;
|
|
39061
|
+
return _c('Field', {
|
|
39062
|
+
staticClass: "w-100",
|
|
39063
|
+
attrs: {
|
|
39064
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
39065
|
+
"rules": _vm.fieldInfo.validationRules
|
|
39066
|
+
},
|
|
39067
|
+
scopedSlots: _vm._u([{
|
|
39068
|
+
key: "default",
|
|
39069
|
+
fn: function ({
|
|
39070
|
+
errors
|
|
39071
|
+
}) {
|
|
39072
|
+
return [_c('div', {
|
|
39073
|
+
staticClass: "w-100 d-flex"
|
|
39074
|
+
}, [_c('select', {
|
|
39075
|
+
directives: [{
|
|
39076
|
+
name: "model",
|
|
39077
|
+
rawName: "v-model",
|
|
39078
|
+
value: _vm.fieldInfo.value,
|
|
39079
|
+
expression: "fieldInfo.value"
|
|
39080
|
+
}],
|
|
39081
|
+
class: {
|
|
39082
|
+
'form-control w-100': true,
|
|
39083
|
+
'is-invalid': errors[0]
|
|
39084
|
+
},
|
|
39085
|
+
attrs: {
|
|
39086
|
+
"name": _vm.fieldInfo.name,
|
|
39087
|
+
"disabled": _vm.fieldInfo.disabled
|
|
39088
|
+
},
|
|
39089
|
+
on: {
|
|
39090
|
+
"change": [function ($event) {
|
|
39091
|
+
var $$selectedVal = Array.prototype.filter.call($event.target.options, function (o) {
|
|
39092
|
+
return o.selected;
|
|
39093
|
+
}).map(function (o) {
|
|
39094
|
+
var val = "_value" in o ? o._value : o.value;
|
|
39095
|
+
return val;
|
|
39096
|
+
});
|
|
39097
|
+
_vm.$set(_vm.fieldInfo, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0]);
|
|
39098
|
+
}, function ($event) {
|
|
39099
|
+
return _vm.onChange($event);
|
|
39100
|
+
}]
|
|
39101
|
+
}
|
|
39102
|
+
}, [_c('option', {
|
|
39103
|
+
attrs: {
|
|
39104
|
+
"value": "",
|
|
39105
|
+
"selected": ""
|
|
39106
|
+
}
|
|
39107
|
+
}, [_vm._v("Select " + _vm._s(_vm.fieldInfo.label))]), _vm._l(_vm.fieldInfo.config.OptionsForBind, function (item, fieldIndex) {
|
|
39108
|
+
return _vm.fieldInfo.config.OptionsForBind.length > 0 ? _c('option', {
|
|
39109
|
+
key: fieldIndex,
|
|
39110
|
+
domProps: {
|
|
39111
|
+
"value": item.value,
|
|
39112
|
+
"selected": _vm.fieldInfo.value == item.value
|
|
39113
|
+
}
|
|
39114
|
+
}, [_vm._v(_vm._s(item.name) + " ")]) : _vm._e();
|
|
39115
|
+
})], 2), _vm.showAddIcon() ? _c('div', {
|
|
39116
|
+
staticClass: "ml-2 mt-1"
|
|
39117
|
+
}, [_c('a', {
|
|
39118
|
+
class: _vm.addButtonClass()
|
|
39119
|
+
}, [_c('i', {
|
|
39120
|
+
class: _vm.addIconClass(),
|
|
39121
|
+
attrs: {
|
|
39122
|
+
"alt": "+"
|
|
39123
|
+
},
|
|
39124
|
+
on: {
|
|
39125
|
+
"click": function ($event) {
|
|
39126
|
+
return _vm.onAddButtonClick($event);
|
|
39127
|
+
}
|
|
39128
|
+
}
|
|
39129
|
+
})])]) : _vm._e()]), errors[0] ? _c('span', {
|
|
39130
|
+
staticClass: "invalid-feedback d-block"
|
|
39131
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
39132
|
+
}
|
|
39133
|
+
}])
|
|
39134
|
+
});
|
|
39135
|
+
};
|
|
39136
|
+
var SelectFieldvue_type_template_id_86a3ac92_staticRenderFns = [];
|
|
39137
|
+
|
|
39461
39138
|
// CONCATENATED MODULE: ./src/components/SelectField.vue?vue&type=template&id=86a3ac92
|
|
39462
39139
|
|
|
39463
39140
|
// EXTERNAL MODULE: ./node_modules/axios/index.js
|
|
@@ -39662,12 +39339,88 @@ var SelectField_component = normalizeComponent(
|
|
|
39662
39339
|
)
|
|
39663
39340
|
|
|
39664
39341
|
/* harmony default export */ var SelectField = (SelectField_component.exports);
|
|
39665
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39666
|
-
var TextFieldvue_type_template_id_355085a4_render = function () {
|
|
39667
|
-
var
|
|
39668
|
-
|
|
39669
|
-
|
|
39670
|
-
|
|
39342
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextField.vue?vue&type=template&id=355085a4
|
|
39343
|
+
var TextFieldvue_type_template_id_355085a4_render = function render() {
|
|
39344
|
+
var _vm = this,
|
|
39345
|
+
_c = _vm._self._c;
|
|
39346
|
+
return _c('Field', {
|
|
39347
|
+
staticClass: "w-100",
|
|
39348
|
+
attrs: {
|
|
39349
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
39350
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
39351
|
+
"rules": _vm.fieldInfo.validationRules
|
|
39352
|
+
},
|
|
39353
|
+
scopedSlots: _vm._u([{
|
|
39354
|
+
key: "default",
|
|
39355
|
+
fn: function ({
|
|
39356
|
+
errors
|
|
39357
|
+
}) {
|
|
39358
|
+
return [_c('span', {
|
|
39359
|
+
class: {
|
|
39360
|
+
'd-flex ': true,
|
|
39361
|
+
'is-invalid': errors[0]
|
|
39362
|
+
}
|
|
39363
|
+
}, [_c('input', {
|
|
39364
|
+
directives: [{
|
|
39365
|
+
name: "model",
|
|
39366
|
+
rawName: "v-model",
|
|
39367
|
+
value: _vm.fieldInfo.value,
|
|
39368
|
+
expression: "fieldInfo.value"
|
|
39369
|
+
}],
|
|
39370
|
+
class: {
|
|
39371
|
+
'form-control w-100': true,
|
|
39372
|
+
'is-invalid': errors[0]
|
|
39373
|
+
},
|
|
39374
|
+
attrs: {
|
|
39375
|
+
"name": _vm.fieldInfo.name,
|
|
39376
|
+
"id": _vm.fieldInfo.name,
|
|
39377
|
+
"type": "text",
|
|
39378
|
+
"placeholder": _vm.fieldInfo.placeholder,
|
|
39379
|
+
"disabled": _vm.fieldInfo.disabled
|
|
39380
|
+
},
|
|
39381
|
+
domProps: {
|
|
39382
|
+
"value": _vm.fieldInfo.value
|
|
39383
|
+
},
|
|
39384
|
+
on: {
|
|
39385
|
+
"change": function ($event) {
|
|
39386
|
+
return _vm.onChange($event);
|
|
39387
|
+
},
|
|
39388
|
+
"blur": function ($event) {
|
|
39389
|
+
return _vm.onBlur($event);
|
|
39390
|
+
},
|
|
39391
|
+
"keyup": function ($event) {
|
|
39392
|
+
return _vm.onKeyUp($event);
|
|
39393
|
+
},
|
|
39394
|
+
"input": function ($event) {
|
|
39395
|
+
if ($event.target.composing) return;
|
|
39396
|
+
_vm.$set(_vm.fieldInfo, "value", $event.target.value);
|
|
39397
|
+
}
|
|
39398
|
+
}
|
|
39399
|
+
}), _vm.showAddIcon() ? _c('div', {
|
|
39400
|
+
staticClass: "ml-2 mt-1"
|
|
39401
|
+
}, [_c('a', {
|
|
39402
|
+
class: _vm.addButtonClass()
|
|
39403
|
+
}, [_c('i', {
|
|
39404
|
+
class: _vm.addIconClass(),
|
|
39405
|
+
attrs: {
|
|
39406
|
+
"alt": "+"
|
|
39407
|
+
},
|
|
39408
|
+
on: {
|
|
39409
|
+
"click": function ($event) {
|
|
39410
|
+
return _vm.onAddButtonClick($event);
|
|
39411
|
+
}
|
|
39412
|
+
}
|
|
39413
|
+
})])]) : _vm._e()]), errors[0] ? _c('span', {
|
|
39414
|
+
staticClass: "invalid-feedback",
|
|
39415
|
+
attrs: {
|
|
39416
|
+
"name": _vm.fieldInfo.name
|
|
39417
|
+
}
|
|
39418
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
39419
|
+
}
|
|
39420
|
+
}])
|
|
39421
|
+
});
|
|
39422
|
+
};
|
|
39423
|
+
var TextFieldvue_type_template_id_355085a4_staticRenderFns = [];
|
|
39671
39424
|
|
|
39672
39425
|
// CONCATENATED MODULE: ./src/components/TextField.vue?vue&type=template&id=355085a4
|
|
39673
39426
|
|
|
@@ -39766,12 +39519,187 @@ var TextField_component = normalizeComponent(
|
|
|
39766
39519
|
)
|
|
39767
39520
|
|
|
39768
39521
|
/* harmony default export */ var TextField = (TextField_component.exports);
|
|
39769
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39770
|
-
var PasswordFieldvue_type_template_id_43b8594f_render = function () {
|
|
39771
|
-
var
|
|
39772
|
-
|
|
39773
|
-
|
|
39774
|
-
|
|
39522
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PasswordField.vue?vue&type=template&id=43b8594f
|
|
39523
|
+
var PasswordFieldvue_type_template_id_43b8594f_render = function render() {
|
|
39524
|
+
var _vm = this,
|
|
39525
|
+
_c = _vm._self._c;
|
|
39526
|
+
return _c('Field', {
|
|
39527
|
+
staticClass: "w-100",
|
|
39528
|
+
attrs: {
|
|
39529
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
39530
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
39531
|
+
"rules": _vm.fieldInfo.validationRules
|
|
39532
|
+
},
|
|
39533
|
+
scopedSlots: _vm._u([{
|
|
39534
|
+
key: "default",
|
|
39535
|
+
fn: function ({
|
|
39536
|
+
errors
|
|
39537
|
+
}) {
|
|
39538
|
+
return [_c('span', {
|
|
39539
|
+
class: {
|
|
39540
|
+
'd-flex ': true,
|
|
39541
|
+
'is-invalid': errors[0]
|
|
39542
|
+
}
|
|
39543
|
+
}, [(_vm.showPassword ? 'text' : 'password') === 'checkbox' ? _c('input', {
|
|
39544
|
+
directives: [{
|
|
39545
|
+
name: "model",
|
|
39546
|
+
rawName: "v-model",
|
|
39547
|
+
value: _vm.fieldInfo.value,
|
|
39548
|
+
expression: "fieldInfo.value"
|
|
39549
|
+
}],
|
|
39550
|
+
class: {
|
|
39551
|
+
'form-control w-100': true,
|
|
39552
|
+
'is-invalid': errors[0]
|
|
39553
|
+
},
|
|
39554
|
+
attrs: {
|
|
39555
|
+
"name": _vm.fieldInfo.name,
|
|
39556
|
+
"id": _vm.fieldInfo.name,
|
|
39557
|
+
"placeholder": _vm.fieldInfo.placeholder,
|
|
39558
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
39559
|
+
"type": "checkbox"
|
|
39560
|
+
},
|
|
39561
|
+
domProps: {
|
|
39562
|
+
"checked": Array.isArray(_vm.fieldInfo.value) ? _vm._i(_vm.fieldInfo.value, null) > -1 : _vm.fieldInfo.value
|
|
39563
|
+
},
|
|
39564
|
+
on: {
|
|
39565
|
+
"change": [function ($event) {
|
|
39566
|
+
var $$a = _vm.fieldInfo.value,
|
|
39567
|
+
$$el = $event.target,
|
|
39568
|
+
$$c = $$el.checked ? true : false;
|
|
39569
|
+
if (Array.isArray($$a)) {
|
|
39570
|
+
var $$v = null,
|
|
39571
|
+
$$i = _vm._i($$a, $$v);
|
|
39572
|
+
if ($$el.checked) {
|
|
39573
|
+
$$i < 0 && _vm.$set(_vm.fieldInfo, "value", $$a.concat([$$v]));
|
|
39574
|
+
} else {
|
|
39575
|
+
$$i > -1 && _vm.$set(_vm.fieldInfo, "value", $$a.slice(0, $$i).concat($$a.slice($$i + 1)));
|
|
39576
|
+
}
|
|
39577
|
+
} else {
|
|
39578
|
+
_vm.$set(_vm.fieldInfo, "value", $$c);
|
|
39579
|
+
}
|
|
39580
|
+
}, function ($event) {
|
|
39581
|
+
return _vm.onChange($event);
|
|
39582
|
+
}],
|
|
39583
|
+
"blur": function ($event) {
|
|
39584
|
+
return _vm.onBlur($event);
|
|
39585
|
+
},
|
|
39586
|
+
"keyup": function ($event) {
|
|
39587
|
+
return _vm.onKeyUp($event);
|
|
39588
|
+
}
|
|
39589
|
+
}
|
|
39590
|
+
}) : (_vm.showPassword ? 'text' : 'password') === 'radio' ? _c('input', {
|
|
39591
|
+
directives: [{
|
|
39592
|
+
name: "model",
|
|
39593
|
+
rawName: "v-model",
|
|
39594
|
+
value: _vm.fieldInfo.value,
|
|
39595
|
+
expression: "fieldInfo.value"
|
|
39596
|
+
}],
|
|
39597
|
+
class: {
|
|
39598
|
+
'form-control w-100': true,
|
|
39599
|
+
'is-invalid': errors[0]
|
|
39600
|
+
},
|
|
39601
|
+
attrs: {
|
|
39602
|
+
"name": _vm.fieldInfo.name,
|
|
39603
|
+
"id": _vm.fieldInfo.name,
|
|
39604
|
+
"placeholder": _vm.fieldInfo.placeholder,
|
|
39605
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
39606
|
+
"type": "radio"
|
|
39607
|
+
},
|
|
39608
|
+
domProps: {
|
|
39609
|
+
"checked": _vm._q(_vm.fieldInfo.value, null)
|
|
39610
|
+
},
|
|
39611
|
+
on: {
|
|
39612
|
+
"change": [function ($event) {
|
|
39613
|
+
return _vm.$set(_vm.fieldInfo, "value", null);
|
|
39614
|
+
}, function ($event) {
|
|
39615
|
+
return _vm.onChange($event);
|
|
39616
|
+
}],
|
|
39617
|
+
"blur": function ($event) {
|
|
39618
|
+
return _vm.onBlur($event);
|
|
39619
|
+
},
|
|
39620
|
+
"keyup": function ($event) {
|
|
39621
|
+
return _vm.onKeyUp($event);
|
|
39622
|
+
}
|
|
39623
|
+
}
|
|
39624
|
+
}) : _c('input', {
|
|
39625
|
+
directives: [{
|
|
39626
|
+
name: "model",
|
|
39627
|
+
rawName: "v-model",
|
|
39628
|
+
value: _vm.fieldInfo.value,
|
|
39629
|
+
expression: "fieldInfo.value"
|
|
39630
|
+
}],
|
|
39631
|
+
class: {
|
|
39632
|
+
'form-control w-100': true,
|
|
39633
|
+
'is-invalid': errors[0]
|
|
39634
|
+
},
|
|
39635
|
+
attrs: {
|
|
39636
|
+
"name": _vm.fieldInfo.name,
|
|
39637
|
+
"id": _vm.fieldInfo.name,
|
|
39638
|
+
"placeholder": _vm.fieldInfo.placeholder,
|
|
39639
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
39640
|
+
"type": _vm.showPassword ? 'text' : 'password'
|
|
39641
|
+
},
|
|
39642
|
+
domProps: {
|
|
39643
|
+
"value": _vm.fieldInfo.value
|
|
39644
|
+
},
|
|
39645
|
+
on: {
|
|
39646
|
+
"change": function ($event) {
|
|
39647
|
+
return _vm.onChange($event);
|
|
39648
|
+
},
|
|
39649
|
+
"blur": function ($event) {
|
|
39650
|
+
return _vm.onBlur($event);
|
|
39651
|
+
},
|
|
39652
|
+
"keyup": function ($event) {
|
|
39653
|
+
return _vm.onKeyUp($event);
|
|
39654
|
+
},
|
|
39655
|
+
"input": function ($event) {
|
|
39656
|
+
if ($event.target.composing) return;
|
|
39657
|
+
_vm.$set(_vm.fieldInfo, "value", $event.target.value);
|
|
39658
|
+
}
|
|
39659
|
+
}
|
|
39660
|
+
}), _c('i', {
|
|
39661
|
+
class: {
|
|
39662
|
+
'fa': true,
|
|
39663
|
+
'fa-eye': !_vm.showPassword,
|
|
39664
|
+
'fa-eye-slash': _vm.showPassword
|
|
39665
|
+
},
|
|
39666
|
+
staticStyle: {
|
|
39667
|
+
"position": "absolute",
|
|
39668
|
+
"right": "0",
|
|
39669
|
+
"padding": "8px",
|
|
39670
|
+
"color": "#b7b7b7"
|
|
39671
|
+
},
|
|
39672
|
+
on: {
|
|
39673
|
+
"click": _vm.showPasswordFunc
|
|
39674
|
+
}
|
|
39675
|
+
}), _vm.showAddIcon() ? _c('div', {
|
|
39676
|
+
staticClass: "ml-2 mt-1"
|
|
39677
|
+
}, [_c('a', {
|
|
39678
|
+
class: _vm.addButtonClass()
|
|
39679
|
+
}, [_c('i', {
|
|
39680
|
+
class: _vm.addIconClass(),
|
|
39681
|
+
attrs: {
|
|
39682
|
+
"alt": "+"
|
|
39683
|
+
},
|
|
39684
|
+
on: {
|
|
39685
|
+
"click": function ($event) {
|
|
39686
|
+
return _vm.onAddButtonClick($event);
|
|
39687
|
+
}
|
|
39688
|
+
}
|
|
39689
|
+
})])]) : _vm._e()]), errors[0] ? _c('span', {
|
|
39690
|
+
staticClass: "invalid-feedback",
|
|
39691
|
+
staticStyle: {
|
|
39692
|
+
"display": "block"
|
|
39693
|
+
},
|
|
39694
|
+
attrs: {
|
|
39695
|
+
"name": _vm.fieldInfo.name
|
|
39696
|
+
}
|
|
39697
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
39698
|
+
}
|
|
39699
|
+
}])
|
|
39700
|
+
});
|
|
39701
|
+
};
|
|
39702
|
+
var PasswordFieldvue_type_template_id_43b8594f_staticRenderFns = [];
|
|
39775
39703
|
|
|
39776
39704
|
// CONCATENATED MODULE: ./src/components/PasswordField.vue?vue&type=template&id=43b8594f
|
|
39777
39705
|
|
|
@@ -39875,17 +39803,124 @@ var PasswordField_component = normalizeComponent(
|
|
|
39875
39803
|
)
|
|
39876
39804
|
|
|
39877
39805
|
/* harmony default export */ var PasswordField = (PasswordField_component.exports);
|
|
39878
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39879
|
-
var DateFieldvue_type_template_id_315150e4_render = function () {
|
|
39880
|
-
var
|
|
39881
|
-
|
|
39882
|
-
|
|
39883
|
-
|
|
39884
|
-
|
|
39885
|
-
|
|
39886
|
-
|
|
39887
|
-
|
|
39888
|
-
|
|
39806
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DateField.vue?vue&type=template&id=315150e4
|
|
39807
|
+
var DateFieldvue_type_template_id_315150e4_render = function render() {
|
|
39808
|
+
var _vm = this,
|
|
39809
|
+
_c = _vm._self._c;
|
|
39810
|
+
return _c('Field', {
|
|
39811
|
+
staticClass: "w-100",
|
|
39812
|
+
attrs: {
|
|
39813
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
39814
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
39815
|
+
"rules": _vm.fieldInfo.validationRules
|
|
39816
|
+
},
|
|
39817
|
+
scopedSlots: _vm._u([{
|
|
39818
|
+
key: "default",
|
|
39819
|
+
fn: function ({
|
|
39820
|
+
errors
|
|
39821
|
+
}) {
|
|
39822
|
+
return [_c('DatePicker', {
|
|
39823
|
+
class: {
|
|
39824
|
+
'input-group w-100': true,
|
|
39825
|
+
'is-invalid': errors[0]
|
|
39826
|
+
},
|
|
39827
|
+
staticStyle: {
|
|
39828
|
+
"flex-wrap": "nowrap"
|
|
39829
|
+
},
|
|
39830
|
+
attrs: {
|
|
39831
|
+
"locale": _vm.lang,
|
|
39832
|
+
"is24hr": _vm.is24hr,
|
|
39833
|
+
"mode": _vm.mode,
|
|
39834
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
39835
|
+
"masks": _vm.masks,
|
|
39836
|
+
"popover": _vm.popover,
|
|
39837
|
+
"min-date": _vm.getMinmumDate(_vm.fieldInfo),
|
|
39838
|
+
"max-date": _vm.getMaxDate(_vm.fieldInfo),
|
|
39839
|
+
"minute-increment": _vm.minuteIncrement
|
|
39840
|
+
},
|
|
39841
|
+
on: {
|
|
39842
|
+
"input": function ($event) {
|
|
39843
|
+
return _vm.onChange($event, _vm.inputValue);
|
|
39844
|
+
}
|
|
39845
|
+
},
|
|
39846
|
+
scopedSlots: _vm._u([{
|
|
39847
|
+
key: "default",
|
|
39848
|
+
fn: function ({
|
|
39849
|
+
inputValue,
|
|
39850
|
+
inputEvents,
|
|
39851
|
+
togglePopover,
|
|
39852
|
+
hidePopover
|
|
39853
|
+
}) {
|
|
39854
|
+
return [_c('input', _vm._g({
|
|
39855
|
+
ref: 'inputDatePicker' + _vm.fieldInfo.name,
|
|
39856
|
+
class: {
|
|
39857
|
+
'form-control w-100': true,
|
|
39858
|
+
'is-invalid': errors[0]
|
|
39859
|
+
},
|
|
39860
|
+
attrs: {
|
|
39861
|
+
"autocomplete": "off",
|
|
39862
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
39863
|
+
"name": _vm.fieldInfo.name,
|
|
39864
|
+
"placeholder": _vm.getPlaceholderforAnyField(_vm.fieldInfo)
|
|
39865
|
+
},
|
|
39866
|
+
domProps: {
|
|
39867
|
+
"value": inputValue
|
|
39868
|
+
},
|
|
39869
|
+
on: {
|
|
39870
|
+
"blur": function ($event) {
|
|
39871
|
+
return _vm.onBlur($event, inputValue, hidePopover);
|
|
39872
|
+
}
|
|
39873
|
+
}
|
|
39874
|
+
}, inputEvents)), _c('div', {
|
|
39875
|
+
staticClass: "input-group-append"
|
|
39876
|
+
}, [_c('span', {
|
|
39877
|
+
staticClass: "input-group-text",
|
|
39878
|
+
on: {
|
|
39879
|
+
"click": function ($event) {
|
|
39880
|
+
!_vm.fieldInfo.disabled ? togglePopover() : function () {};
|
|
39881
|
+
},
|
|
39882
|
+
"blur": function ($event) {
|
|
39883
|
+
return _vm.onBlur($event, _vm.field, hidePopover);
|
|
39884
|
+
},
|
|
39885
|
+
"change": function ($event) {
|
|
39886
|
+
return _vm.onChange($event);
|
|
39887
|
+
}
|
|
39888
|
+
}
|
|
39889
|
+
}, [_c('i', {
|
|
39890
|
+
class: {
|
|
39891
|
+
'fa': true,
|
|
39892
|
+
'fa-calendar': _vm.mode == 'dateTime' || _vm.mode == 'date',
|
|
39893
|
+
'fa-clock-o': _vm.mode == 'time'
|
|
39894
|
+
}
|
|
39895
|
+
})])])];
|
|
39896
|
+
}
|
|
39897
|
+
}], null, true),
|
|
39898
|
+
model: {
|
|
39899
|
+
value: _vm.fieldInfo.value,
|
|
39900
|
+
callback: function ($$v) {
|
|
39901
|
+
_vm.$set(_vm.fieldInfo, "value", $$v);
|
|
39902
|
+
},
|
|
39903
|
+
expression: "fieldInfo.value"
|
|
39904
|
+
}
|
|
39905
|
+
}), _c('div', {
|
|
39906
|
+
staticStyle: {
|
|
39907
|
+
"clear": "both"
|
|
39908
|
+
}
|
|
39909
|
+
}), _c('span', {
|
|
39910
|
+
directives: [{
|
|
39911
|
+
name: "show",
|
|
39912
|
+
rawName: "v-show",
|
|
39913
|
+
value: errors[0],
|
|
39914
|
+
expression: "errors[0]"
|
|
39915
|
+
}],
|
|
39916
|
+
ref: "errrorMessage",
|
|
39917
|
+
staticClass: "invalid-feedback d-block"
|
|
39918
|
+
}, [_vm._v(_vm._s(errors[0]))])];
|
|
39919
|
+
}
|
|
39920
|
+
}])
|
|
39921
|
+
});
|
|
39922
|
+
};
|
|
39923
|
+
var DateFieldvue_type_template_id_315150e4_staticRenderFns = [];
|
|
39889
39924
|
|
|
39890
39925
|
// CONCATENATED MODULE: ./src/components/DateField.vue?vue&type=template&id=315150e4
|
|
39891
39926
|
|
|
@@ -40022,12 +40057,82 @@ var DateField_component = normalizeComponent(
|
|
|
40022
40057
|
)
|
|
40023
40058
|
|
|
40024
40059
|
/* harmony default export */ var DateField = (DateField_component.exports);
|
|
40025
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40026
|
-
var CheckBoxFieldvue_type_template_id_2227df38_render = function () {
|
|
40027
|
-
var
|
|
40028
|
-
|
|
40029
|
-
|
|
40030
|
-
|
|
40060
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CheckBoxField.vue?vue&type=template&id=2227df38
|
|
40061
|
+
var CheckBoxFieldvue_type_template_id_2227df38_render = function render() {
|
|
40062
|
+
var _vm = this,
|
|
40063
|
+
_c = _vm._self._c;
|
|
40064
|
+
return _c('Field', {
|
|
40065
|
+
attrs: {
|
|
40066
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
40067
|
+
"rules": _vm.fieldInfo.validationRules
|
|
40068
|
+
},
|
|
40069
|
+
scopedSlots: _vm._u([{
|
|
40070
|
+
key: "default",
|
|
40071
|
+
fn: function ({
|
|
40072
|
+
errors
|
|
40073
|
+
}) {
|
|
40074
|
+
return [_vm._l(_vm.renderOptions(_vm.fieldInfo), function (item, index) {
|
|
40075
|
+
return _c('label', {
|
|
40076
|
+
key: index,
|
|
40077
|
+
class: {
|
|
40078
|
+
'form-check form-check-inline': true,
|
|
40079
|
+
'is-invalid': errors[0]
|
|
40080
|
+
},
|
|
40081
|
+
attrs: {
|
|
40082
|
+
"disabled": _vm.fieldInfo.disabled
|
|
40083
|
+
}
|
|
40084
|
+
}, [_c('div', {
|
|
40085
|
+
staticClass: "custom-control custom-checkbox custom-control-inline"
|
|
40086
|
+
}, [_c('input', {
|
|
40087
|
+
staticClass: "custom-control-input",
|
|
40088
|
+
attrs: {
|
|
40089
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
40090
|
+
"name": _vm.fieldInfo.name + '_' + index,
|
|
40091
|
+
"id": _vm.fieldInfo.name + '_' + index,
|
|
40092
|
+
"type": "checkbox",
|
|
40093
|
+
"data-value": item.value
|
|
40094
|
+
},
|
|
40095
|
+
domProps: {
|
|
40096
|
+
"checked": _vm.isChecked(item)
|
|
40097
|
+
},
|
|
40098
|
+
on: {
|
|
40099
|
+
"change": function ($event) {
|
|
40100
|
+
return _vm.onChange($event, _vm.field);
|
|
40101
|
+
}
|
|
40102
|
+
}
|
|
40103
|
+
}), _c('label', {
|
|
40104
|
+
staticClass: "custom-control-label",
|
|
40105
|
+
attrs: {
|
|
40106
|
+
"for": _vm.fieldInfo.name + '_' + index
|
|
40107
|
+
}
|
|
40108
|
+
}, [_vm._v(" " + _vm._s(item.name) + " ")]), _c('input', {
|
|
40109
|
+
directives: [{
|
|
40110
|
+
name: "model",
|
|
40111
|
+
rawName: "v-model",
|
|
40112
|
+
value: _vm.fieldInfo.value,
|
|
40113
|
+
expression: "fieldInfo.value"
|
|
40114
|
+
}],
|
|
40115
|
+
attrs: {
|
|
40116
|
+
"type": "hidden"
|
|
40117
|
+
},
|
|
40118
|
+
domProps: {
|
|
40119
|
+
"value": _vm.fieldInfo.value
|
|
40120
|
+
},
|
|
40121
|
+
on: {
|
|
40122
|
+
"input": function ($event) {
|
|
40123
|
+
if ($event.target.composing) return;
|
|
40124
|
+
_vm.$set(_vm.fieldInfo, "value", $event.target.value);
|
|
40125
|
+
}
|
|
40126
|
+
}
|
|
40127
|
+
})])]);
|
|
40128
|
+
}), errors[0] ? _c('span', {
|
|
40129
|
+
staticClass: "invalid-feedback"
|
|
40130
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
40131
|
+
}
|
|
40132
|
+
}])
|
|
40133
|
+
});
|
|
40134
|
+
};
|
|
40135
|
+
var CheckBoxFieldvue_type_template_id_2227df38_staticRenderFns = [];
|
|
40031
40136
|
|
|
40032
40137
|
// CONCATENATED MODULE: ./src/components/CheckBoxField.vue?vue&type=template&id=2227df38
|
|
40033
40138
|
|
|
@@ -40132,12 +40237,81 @@ var CheckBoxField_component = normalizeComponent(
|
|
|
40132
40237
|
)
|
|
40133
40238
|
|
|
40134
40239
|
/* harmony default export */ var CheckBoxField = (CheckBoxField_component.exports);
|
|
40135
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40136
|
-
var RadioFieldvue_type_template_id_f3502520_render = function () {
|
|
40137
|
-
var
|
|
40138
|
-
|
|
40139
|
-
|
|
40140
|
-
|
|
40240
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/RadioField.vue?vue&type=template&id=f3502520
|
|
40241
|
+
var RadioFieldvue_type_template_id_f3502520_render = function render() {
|
|
40242
|
+
var _vm = this,
|
|
40243
|
+
_c = _vm._self._c;
|
|
40244
|
+
return _c('Field', {
|
|
40245
|
+
attrs: {
|
|
40246
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
40247
|
+
"rules": _vm.fieldInfo.validationRules,
|
|
40248
|
+
"slim": ""
|
|
40249
|
+
},
|
|
40250
|
+
scopedSlots: _vm._u([{
|
|
40251
|
+
key: "default",
|
|
40252
|
+
fn: function ({
|
|
40253
|
+
errors
|
|
40254
|
+
}) {
|
|
40255
|
+
return _vm._l(_vm.renderOptions(_vm.fieldInfo), function (item, index) {
|
|
40256
|
+
return _c('label', {
|
|
40257
|
+
key: index,
|
|
40258
|
+
class: {
|
|
40259
|
+
'form-check form-check-inline': true,
|
|
40260
|
+
'is-invalid': errors[0]
|
|
40261
|
+
},
|
|
40262
|
+
attrs: {
|
|
40263
|
+
"disabled": _vm.fieldInfo.disabled
|
|
40264
|
+
}
|
|
40265
|
+
}, [_c('div', {
|
|
40266
|
+
staticClass: "custom-control custom-radio custom-control-inline"
|
|
40267
|
+
}, [_c('input', {
|
|
40268
|
+
directives: [{
|
|
40269
|
+
name: "model",
|
|
40270
|
+
rawName: "v-model",
|
|
40271
|
+
value: _vm.fieldInfo.value,
|
|
40272
|
+
expression: "fieldInfo.value"
|
|
40273
|
+
}],
|
|
40274
|
+
attrs: {
|
|
40275
|
+
"type": "hidden"
|
|
40276
|
+
},
|
|
40277
|
+
domProps: {
|
|
40278
|
+
"value": _vm.fieldInfo.value
|
|
40279
|
+
},
|
|
40280
|
+
on: {
|
|
40281
|
+
"input": function ($event) {
|
|
40282
|
+
if ($event.target.composing) return;
|
|
40283
|
+
_vm.$set(_vm.fieldInfo, "value", $event.target.value);
|
|
40284
|
+
}
|
|
40285
|
+
}
|
|
40286
|
+
}), _c('input', {
|
|
40287
|
+
staticClass: "custom-control-input",
|
|
40288
|
+
attrs: {
|
|
40289
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
40290
|
+
"name": _vm.fieldInfo.name,
|
|
40291
|
+
"id": _vm.fieldInfo.name + '_' + index,
|
|
40292
|
+
"type": "radio",
|
|
40293
|
+
"data-value": item.value
|
|
40294
|
+
},
|
|
40295
|
+
domProps: {
|
|
40296
|
+
"checked": item.value == _vm.fieldInfo.value
|
|
40297
|
+
},
|
|
40298
|
+
on: {
|
|
40299
|
+
"change": function ($event) {
|
|
40300
|
+
return _vm.onChange($event, _vm.field);
|
|
40301
|
+
}
|
|
40302
|
+
}
|
|
40303
|
+
}), _c('label', {
|
|
40304
|
+
staticClass: "custom-control-label",
|
|
40305
|
+
attrs: {
|
|
40306
|
+
"for": _vm.fieldInfo.name + '_' + index
|
|
40307
|
+
}
|
|
40308
|
+
}, [_vm._v(_vm._s(item.name))])])]);
|
|
40309
|
+
});
|
|
40310
|
+
}
|
|
40311
|
+
}])
|
|
40312
|
+
});
|
|
40313
|
+
};
|
|
40314
|
+
var RadioFieldvue_type_template_id_f3502520_staticRenderFns = [];
|
|
40141
40315
|
|
|
40142
40316
|
// CONCATENATED MODULE: ./src/components/RadioField.vue?vue&type=template&id=f3502520
|
|
40143
40317
|
|
|
@@ -40220,12 +40394,85 @@ var RadioField_component = normalizeComponent(
|
|
|
40220
40394
|
)
|
|
40221
40395
|
|
|
40222
40396
|
/* harmony default export */ var RadioField = (RadioField_component.exports);
|
|
40223
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40224
|
-
var MultiSelectFieldvue_type_template_id_ed2e7ac6_scoped_true_render = function () {
|
|
40225
|
-
var
|
|
40226
|
-
|
|
40227
|
-
|
|
40228
|
-
|
|
40397
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiSelectField.vue?vue&type=template&id=ed2e7ac6&scoped=true
|
|
40398
|
+
var MultiSelectFieldvue_type_template_id_ed2e7ac6_scoped_true_render = function render() {
|
|
40399
|
+
var _vm = this,
|
|
40400
|
+
_c = _vm._self._c;
|
|
40401
|
+
return _c('Field', {
|
|
40402
|
+
staticClass: "w-100",
|
|
40403
|
+
attrs: {
|
|
40404
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
40405
|
+
"rules": _vm.fieldInfo.validationRules
|
|
40406
|
+
},
|
|
40407
|
+
scopedSlots: _vm._u([{
|
|
40408
|
+
key: "default",
|
|
40409
|
+
fn: function ({
|
|
40410
|
+
errors
|
|
40411
|
+
}) {
|
|
40412
|
+
return [_c('div', {
|
|
40413
|
+
class: {
|
|
40414
|
+
'w-100 d-flex dynamic-multiselect': true,
|
|
40415
|
+
'is-invalid': errors[0]
|
|
40416
|
+
}
|
|
40417
|
+
}, [_c('Multiselect', {
|
|
40418
|
+
ref: "multiselect",
|
|
40419
|
+
class: {
|
|
40420
|
+
'p-0 w-100': true,
|
|
40421
|
+
'is-invalid': errors[0]
|
|
40422
|
+
},
|
|
40423
|
+
attrs: {
|
|
40424
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
40425
|
+
"options": _vm.options,
|
|
40426
|
+
"label": "label",
|
|
40427
|
+
"track-by": "label",
|
|
40428
|
+
"close-on-select": _vm.fieldInfo.mode == 'tag' ? false : true,
|
|
40429
|
+
"searchable": true,
|
|
40430
|
+
"multiple": _vm.fieldInfo.mode == 'tag' ? true : false,
|
|
40431
|
+
"taggable": false,
|
|
40432
|
+
"limit": 2,
|
|
40433
|
+
"placeholder": _vm.fieldInfo.placeholder
|
|
40434
|
+
},
|
|
40435
|
+
on: {
|
|
40436
|
+
"remove": _vm.onRemove,
|
|
40437
|
+
"search-change": _vm.onSearch,
|
|
40438
|
+
"select": _vm.onChange
|
|
40439
|
+
},
|
|
40440
|
+
model: {
|
|
40441
|
+
value: _vm.fieldInfo.value,
|
|
40442
|
+
callback: function ($$v) {
|
|
40443
|
+
_vm.$set(_vm.fieldInfo, "value", $$v);
|
|
40444
|
+
},
|
|
40445
|
+
expression: "fieldInfo.value"
|
|
40446
|
+
}
|
|
40447
|
+
}, [_c('span', {
|
|
40448
|
+
attrs: {
|
|
40449
|
+
"slot": "noOptions"
|
|
40450
|
+
},
|
|
40451
|
+
slot: "noOptions"
|
|
40452
|
+
}, [_vm._v(" Type to search " + _vm._s(_vm.fieldInfo.display_name) + " ")]), _c('template', {
|
|
40453
|
+
slot: "noResult"
|
|
40454
|
+
}, [_c('span', [_vm._v("No record found.")])])], 2), _vm.showAddIcon() ? _c('div', {
|
|
40455
|
+
staticClass: "ml-2 mt-1"
|
|
40456
|
+
}, [_c('a', {
|
|
40457
|
+
class: _vm.addButtonClass()
|
|
40458
|
+
}, [_c('i', {
|
|
40459
|
+
class: _vm.addIconClass(),
|
|
40460
|
+
attrs: {
|
|
40461
|
+
"alt": "+"
|
|
40462
|
+
},
|
|
40463
|
+
on: {
|
|
40464
|
+
"click": function ($event) {
|
|
40465
|
+
return _vm.onAddButtonClick($event);
|
|
40466
|
+
}
|
|
40467
|
+
}
|
|
40468
|
+
})])]) : _vm._e()], 1), errors[0] ? _c('span', {
|
|
40469
|
+
staticClass: "invalid-feedback"
|
|
40470
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
40471
|
+
}
|
|
40472
|
+
}])
|
|
40473
|
+
});
|
|
40474
|
+
};
|
|
40475
|
+
var MultiSelectFieldvue_type_template_id_ed2e7ac6_scoped_true_staticRenderFns = [];
|
|
40229
40476
|
|
|
40230
40477
|
// CONCATENATED MODULE: ./src/components/MultiSelectField.vue?vue&type=template&id=ed2e7ac6&scoped=true
|
|
40231
40478
|
|
|
@@ -40238,42 +40485,6 @@ var vue_multiselect_min_default = /*#__PURE__*/__webpack_require__.n(vue_multise
|
|
|
40238
40485
|
|
|
40239
40486
|
|
|
40240
40487
|
|
|
40241
|
-
//
|
|
40242
|
-
//
|
|
40243
|
-
//
|
|
40244
|
-
//
|
|
40245
|
-
//
|
|
40246
|
-
//
|
|
40247
|
-
//
|
|
40248
|
-
//
|
|
40249
|
-
//
|
|
40250
|
-
//
|
|
40251
|
-
//
|
|
40252
|
-
//
|
|
40253
|
-
//
|
|
40254
|
-
//
|
|
40255
|
-
//
|
|
40256
|
-
//
|
|
40257
|
-
//
|
|
40258
|
-
//
|
|
40259
|
-
//
|
|
40260
|
-
//
|
|
40261
|
-
//
|
|
40262
|
-
//
|
|
40263
|
-
//
|
|
40264
|
-
//
|
|
40265
|
-
//
|
|
40266
|
-
//
|
|
40267
|
-
//
|
|
40268
|
-
//
|
|
40269
|
-
//
|
|
40270
|
-
//
|
|
40271
|
-
//
|
|
40272
|
-
//
|
|
40273
|
-
//
|
|
40274
|
-
//
|
|
40275
|
-
//
|
|
40276
|
-
|
|
40277
40488
|
|
|
40278
40489
|
|
|
40279
40490
|
/* harmony default export */ var MultiSelectFieldvue_type_script_lang_js = ({
|
|
@@ -40475,12 +40686,72 @@ var MultiSelectField_component = normalizeComponent(
|
|
|
40475
40686
|
)
|
|
40476
40687
|
|
|
40477
40688
|
/* harmony default export */ var MultiSelectField = (MultiSelectField_component.exports);
|
|
40478
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40479
|
-
var ToggleFieldvue_type_template_id_755008a9_render = function () {
|
|
40480
|
-
var
|
|
40481
|
-
|
|
40482
|
-
|
|
40483
|
-
|
|
40689
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ToggleField.vue?vue&type=template&id=755008a9
|
|
40690
|
+
var ToggleFieldvue_type_template_id_755008a9_render = function render() {
|
|
40691
|
+
var _vm = this,
|
|
40692
|
+
_c = _vm._self._c;
|
|
40693
|
+
return _c('Field', {
|
|
40694
|
+
attrs: {
|
|
40695
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
40696
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
40697
|
+
"rules": _vm.fieldInfo.validationRules
|
|
40698
|
+
},
|
|
40699
|
+
scopedSlots: _vm._u([{
|
|
40700
|
+
key: "default",
|
|
40701
|
+
fn: function ({
|
|
40702
|
+
errors
|
|
40703
|
+
}) {
|
|
40704
|
+
return [_c('div', {
|
|
40705
|
+
class: {
|
|
40706
|
+
'dynamic-form-toggle': true,
|
|
40707
|
+
'is-invalid': errors[0]
|
|
40708
|
+
}
|
|
40709
|
+
}, [_c('div', {
|
|
40710
|
+
class: {
|
|
40711
|
+
'switch dynamic-form': true,
|
|
40712
|
+
'disabled': _vm.fieldInfo.disabled == true
|
|
40713
|
+
},
|
|
40714
|
+
attrs: {
|
|
40715
|
+
"tabindex": "0",
|
|
40716
|
+
"role": "switch"
|
|
40717
|
+
},
|
|
40718
|
+
on: {
|
|
40719
|
+
"click": function ($event) {
|
|
40720
|
+
return _vm.onChange(_vm.fieldInfo.value);
|
|
40721
|
+
}
|
|
40722
|
+
}
|
|
40723
|
+
}, [_c('input', {
|
|
40724
|
+
staticStyle: {
|
|
40725
|
+
"display": "none"
|
|
40726
|
+
},
|
|
40727
|
+
attrs: {
|
|
40728
|
+
"type": "checkbox",
|
|
40729
|
+
"id": "toggle",
|
|
40730
|
+
"name": "toggle",
|
|
40731
|
+
"disabled": _vm.fieldInfo.disabled
|
|
40732
|
+
},
|
|
40733
|
+
domProps: {
|
|
40734
|
+
"checked": _vm.fieldInfo.value == true
|
|
40735
|
+
}
|
|
40736
|
+
}), _c('div', {
|
|
40737
|
+
class: {
|
|
40738
|
+
'slider round': true,
|
|
40739
|
+
'toggle-no': _vm.fieldInfo.value == false || _vm.fieldInfo.value == '',
|
|
40740
|
+
'toggle-yes': _vm.fieldInfo.value == true
|
|
40741
|
+
}
|
|
40742
|
+
}, [_c('span', {
|
|
40743
|
+
class: 'slider-' + (_vm.fieldInfo.value ? 'yes' : 'no')
|
|
40744
|
+
}, [_vm._v(_vm._s(_vm.fieldInfo.value ? 'Yes' : 'No') + " ")])])])]), errors[0] ? _c('span', {
|
|
40745
|
+
staticClass: "invalid-feedback",
|
|
40746
|
+
attrs: {
|
|
40747
|
+
"name": _vm.fieldInfo.name
|
|
40748
|
+
}
|
|
40749
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
40750
|
+
}
|
|
40751
|
+
}])
|
|
40752
|
+
});
|
|
40753
|
+
};
|
|
40754
|
+
var ToggleFieldvue_type_template_id_755008a9_staticRenderFns = [];
|
|
40484
40755
|
|
|
40485
40756
|
// CONCATENATED MODULE: ./src/components/ToggleField.vue?vue&type=template&id=755008a9
|
|
40486
40757
|
|
|
@@ -40572,12 +40843,65 @@ var ToggleField_component = normalizeComponent(
|
|
|
40572
40843
|
)
|
|
40573
40844
|
|
|
40574
40845
|
/* harmony default export */ var ToggleField = (ToggleField_component.exports);
|
|
40575
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40576
|
-
var PhoneFieldvue_type_template_id_04bee129_render = function () {
|
|
40577
|
-
var
|
|
40578
|
-
|
|
40579
|
-
|
|
40580
|
-
|
|
40846
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PhoneField.vue?vue&type=template&id=04bee129
|
|
40847
|
+
var PhoneFieldvue_type_template_id_04bee129_render = function render() {
|
|
40848
|
+
var _vm = this,
|
|
40849
|
+
_c = _vm._self._c;
|
|
40850
|
+
return _c('Field', {
|
|
40851
|
+
staticClass: "w-100",
|
|
40852
|
+
attrs: {
|
|
40853
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
40854
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
40855
|
+
"rules": _vm.fieldInfo.validationRules
|
|
40856
|
+
},
|
|
40857
|
+
scopedSlots: _vm._u([{
|
|
40858
|
+
key: "default",
|
|
40859
|
+
fn: function ({
|
|
40860
|
+
errors
|
|
40861
|
+
}) {
|
|
40862
|
+
return [_c('vue-tel-input', {
|
|
40863
|
+
staticClass: "w-100",
|
|
40864
|
+
attrs: {
|
|
40865
|
+
"default-country": _vm.getDefaultFlag(_vm.fieldInfo),
|
|
40866
|
+
"mode": "international",
|
|
40867
|
+
"validCharactersOnly": true
|
|
40868
|
+
},
|
|
40869
|
+
on: {
|
|
40870
|
+
"open": function ($event) {
|
|
40871
|
+
return _vm.onDropdownOpen(true);
|
|
40872
|
+
},
|
|
40873
|
+
"close": function ($event) {
|
|
40874
|
+
return _vm.onDropdownOpen(false);
|
|
40875
|
+
},
|
|
40876
|
+
"input": _vm.onInput
|
|
40877
|
+
},
|
|
40878
|
+
scopedSlots: _vm._u([{
|
|
40879
|
+
key: "arrow-icon",
|
|
40880
|
+
fn: function () {
|
|
40881
|
+
return [_c('span', {
|
|
40882
|
+
staticClass: "vti__dropdown-arrow"
|
|
40883
|
+
}, [_vm._v(_vm._s(_vm.open ? '▲' : '▼'))])];
|
|
40884
|
+
},
|
|
40885
|
+
proxy: true
|
|
40886
|
+
}], null, true),
|
|
40887
|
+
model: {
|
|
40888
|
+
value: _vm.fieldInfo.value,
|
|
40889
|
+
callback: function ($$v) {
|
|
40890
|
+
_vm.$set(_vm.fieldInfo, "value", $$v);
|
|
40891
|
+
},
|
|
40892
|
+
expression: "fieldInfo.value"
|
|
40893
|
+
}
|
|
40894
|
+
}), errors[0] ? _c('span', {
|
|
40895
|
+
staticClass: "invalid-feedback d-block",
|
|
40896
|
+
attrs: {
|
|
40897
|
+
"name": _vm.fieldInfo.name
|
|
40898
|
+
}
|
|
40899
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
40900
|
+
}
|
|
40901
|
+
}])
|
|
40902
|
+
});
|
|
40903
|
+
};
|
|
40904
|
+
var PhoneFieldvue_type_template_id_04bee129_staticRenderFns = [];
|
|
40581
40905
|
|
|
40582
40906
|
// CONCATENATED MODULE: ./src/components/PhoneField.vue?vue&type=template&id=04bee129
|
|
40583
40907
|
|
|
@@ -40589,18 +40913,6 @@ var vue_tel_input_umd_min_default = /*#__PURE__*/__webpack_require__.n(vue_tel_i
|
|
|
40589
40913
|
var vue_tel_input = __webpack_require__("bf68");
|
|
40590
40914
|
|
|
40591
40915
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PhoneField.vue?vue&type=script&lang=js
|
|
40592
|
-
//
|
|
40593
|
-
//
|
|
40594
|
-
//
|
|
40595
|
-
//
|
|
40596
|
-
//
|
|
40597
|
-
//
|
|
40598
|
-
//
|
|
40599
|
-
//
|
|
40600
|
-
//
|
|
40601
|
-
//
|
|
40602
|
-
//
|
|
40603
|
-
|
|
40604
40916
|
|
|
40605
40917
|
|
|
40606
40918
|
|
|
@@ -40682,12 +40994,97 @@ var PhoneField_component = normalizeComponent(
|
|
|
40682
40994
|
)
|
|
40683
40995
|
|
|
40684
40996
|
/* harmony default export */ var PhoneField = (PhoneField_component.exports);
|
|
40685
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40686
|
-
var CustomSelectFieldvue_type_template_id_5a922817_render = function () {
|
|
40687
|
-
var
|
|
40688
|
-
|
|
40689
|
-
|
|
40690
|
-
|
|
40997
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CustomSelectField.vue?vue&type=template&id=5a922817
|
|
40998
|
+
var CustomSelectFieldvue_type_template_id_5a922817_render = function render() {
|
|
40999
|
+
var _vm = this,
|
|
41000
|
+
_c = _vm._self._c;
|
|
41001
|
+
return _c('Field', {
|
|
41002
|
+
staticClass: "w-100",
|
|
41003
|
+
attrs: {
|
|
41004
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
41005
|
+
"rules": _vm.fieldInfo.validationRules
|
|
41006
|
+
},
|
|
41007
|
+
scopedSlots: _vm._u([{
|
|
41008
|
+
key: "default",
|
|
41009
|
+
fn: function ({
|
|
41010
|
+
errors
|
|
41011
|
+
}) {
|
|
41012
|
+
return [_c('div', {
|
|
41013
|
+
class: {
|
|
41014
|
+
'w-100 d-flex': true,
|
|
41015
|
+
'is-invalid': errors[0]
|
|
41016
|
+
}
|
|
41017
|
+
}, [_c('Multiselect', {
|
|
41018
|
+
class: {
|
|
41019
|
+
'p-0 w-100': true,
|
|
41020
|
+
'is-invalid': errors[0]
|
|
41021
|
+
},
|
|
41022
|
+
attrs: {
|
|
41023
|
+
"filter-results": false,
|
|
41024
|
+
"object": true,
|
|
41025
|
+
"showNoOptions": true,
|
|
41026
|
+
"placeholder": _vm.fieldInfo.placeholder,
|
|
41027
|
+
"searchable": true,
|
|
41028
|
+
"label": "label",
|
|
41029
|
+
"track-by": "label",
|
|
41030
|
+
"show-labels": false,
|
|
41031
|
+
"show-no-results": false,
|
|
41032
|
+
"internal-search": true,
|
|
41033
|
+
"limit": 2,
|
|
41034
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
41035
|
+
"options": _vm.options,
|
|
41036
|
+
"multiple": _vm.fieldInfo.mode == 'tag' ? true : false,
|
|
41037
|
+
"taggable": false,
|
|
41038
|
+
"clear-on-select": false,
|
|
41039
|
+
"close-on-select": _vm.fieldInfo.mode == 'tag' ? false : true,
|
|
41040
|
+
"open-direction": "bottom"
|
|
41041
|
+
},
|
|
41042
|
+
on: {
|
|
41043
|
+
"remove": _vm.onRemove,
|
|
41044
|
+
"search-change": _vm.onSearch,
|
|
41045
|
+
"select": _vm.onChange
|
|
41046
|
+
},
|
|
41047
|
+
scopedSlots: _vm._u([{
|
|
41048
|
+
key: "noResult",
|
|
41049
|
+
fn: function () {
|
|
41050
|
+
return [_c('span', [_vm._v("Oops! No elements found. Consider changing the search query.")])];
|
|
41051
|
+
},
|
|
41052
|
+
proxy: true
|
|
41053
|
+
}], null, true),
|
|
41054
|
+
model: {
|
|
41055
|
+
value: _vm.fieldInfo.value,
|
|
41056
|
+
callback: function ($$v) {
|
|
41057
|
+
_vm.$set(_vm.fieldInfo, "value", $$v);
|
|
41058
|
+
},
|
|
41059
|
+
expression: "fieldInfo.value"
|
|
41060
|
+
}
|
|
41061
|
+
}, [_c('span', {
|
|
41062
|
+
attrs: {
|
|
41063
|
+
"slot": "noOptions"
|
|
41064
|
+
},
|
|
41065
|
+
slot: "noOptions"
|
|
41066
|
+
}, [_vm._v(" Type to search " + _vm._s(_vm.fieldInfo.display_name) + " ")])]), _vm.showAddIcon() ? _c('div', {
|
|
41067
|
+
staticClass: "ml-2 mt-1"
|
|
41068
|
+
}, [_c('a', {
|
|
41069
|
+
class: _vm.addButtonClass()
|
|
41070
|
+
}, [_c('i', {
|
|
41071
|
+
class: _vm.addIconClass(),
|
|
41072
|
+
attrs: {
|
|
41073
|
+
"alt": "+"
|
|
41074
|
+
},
|
|
41075
|
+
on: {
|
|
41076
|
+
"click": function ($event) {
|
|
41077
|
+
return _vm.onAddButtonClick($event);
|
|
41078
|
+
}
|
|
41079
|
+
}
|
|
41080
|
+
})])]) : _vm._e()], 1), errors[0] ? _c('span', {
|
|
41081
|
+
staticClass: "invalid-feedback"
|
|
41082
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
41083
|
+
}
|
|
41084
|
+
}])
|
|
41085
|
+
});
|
|
41086
|
+
};
|
|
41087
|
+
var CustomSelectFieldvue_type_template_id_5a922817_staticRenderFns = [];
|
|
40691
41088
|
|
|
40692
41089
|
// CONCATENATED MODULE: ./src/components/CustomSelectField.vue?vue&type=template&id=5a922817
|
|
40693
41090
|
|
|
@@ -40696,50 +41093,6 @@ var CustomSelectFieldvue_type_template_id_5a922817_staticRenderFns = []
|
|
|
40696
41093
|
|
|
40697
41094
|
|
|
40698
41095
|
|
|
40699
|
-
//
|
|
40700
|
-
//
|
|
40701
|
-
//
|
|
40702
|
-
//
|
|
40703
|
-
//
|
|
40704
|
-
//
|
|
40705
|
-
//
|
|
40706
|
-
//
|
|
40707
|
-
//
|
|
40708
|
-
//
|
|
40709
|
-
//
|
|
40710
|
-
//
|
|
40711
|
-
//
|
|
40712
|
-
//
|
|
40713
|
-
//
|
|
40714
|
-
//
|
|
40715
|
-
//
|
|
40716
|
-
//
|
|
40717
|
-
//
|
|
40718
|
-
//
|
|
40719
|
-
//
|
|
40720
|
-
//
|
|
40721
|
-
//
|
|
40722
|
-
//
|
|
40723
|
-
//
|
|
40724
|
-
//
|
|
40725
|
-
//
|
|
40726
|
-
//
|
|
40727
|
-
//
|
|
40728
|
-
//
|
|
40729
|
-
//
|
|
40730
|
-
//
|
|
40731
|
-
//
|
|
40732
|
-
//
|
|
40733
|
-
//
|
|
40734
|
-
//
|
|
40735
|
-
//
|
|
40736
|
-
//
|
|
40737
|
-
//
|
|
40738
|
-
//
|
|
40739
|
-
//
|
|
40740
|
-
//
|
|
40741
|
-
//
|
|
40742
|
-
|
|
40743
41096
|
|
|
40744
41097
|
|
|
40745
41098
|
/* harmony default export */ var CustomSelectFieldvue_type_script_lang_js = ({
|
|
@@ -40937,12 +41290,67 @@ var CustomSelectField_component = normalizeComponent(
|
|
|
40937
41290
|
)
|
|
40938
41291
|
|
|
40939
41292
|
/* harmony default export */ var CustomSelectField = (CustomSelectField_component.exports);
|
|
40940
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40941
|
-
var TextAreaFieldvue_type_template_id_c24ed5dc_render = function () {
|
|
40942
|
-
var
|
|
40943
|
-
|
|
40944
|
-
|
|
40945
|
-
|
|
41293
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextAreaField.vue?vue&type=template&id=c24ed5dc
|
|
41294
|
+
var TextAreaFieldvue_type_template_id_c24ed5dc_render = function render() {
|
|
41295
|
+
var _vm = this,
|
|
41296
|
+
_c = _vm._self._c;
|
|
41297
|
+
return _c('Field', {
|
|
41298
|
+
staticClass: "w-100",
|
|
41299
|
+
attrs: {
|
|
41300
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
41301
|
+
"rules": _vm.fieldInfo.validationRules
|
|
41302
|
+
},
|
|
41303
|
+
scopedSlots: _vm._u([{
|
|
41304
|
+
key: "default",
|
|
41305
|
+
fn: function ({
|
|
41306
|
+
errors
|
|
41307
|
+
}) {
|
|
41308
|
+
return [_c('textarea', {
|
|
41309
|
+
directives: [{
|
|
41310
|
+
name: "model",
|
|
41311
|
+
rawName: "v-model",
|
|
41312
|
+
value: _vm.fieldInfo.value,
|
|
41313
|
+
expression: "fieldInfo.value"
|
|
41314
|
+
}],
|
|
41315
|
+
class: {
|
|
41316
|
+
'form-control': true,
|
|
41317
|
+
'is-invalid': errors[0]
|
|
41318
|
+
},
|
|
41319
|
+
attrs: {
|
|
41320
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
41321
|
+
"rows": _vm.getRows(_vm.fieldInfo),
|
|
41322
|
+
"cols": _vm.getColumns(_vm.fieldInfo),
|
|
41323
|
+
"placeholder": _vm.fieldInfo.placeholder
|
|
41324
|
+
},
|
|
41325
|
+
domProps: {
|
|
41326
|
+
"value": _vm.fieldInfo.value
|
|
41327
|
+
},
|
|
41328
|
+
on: {
|
|
41329
|
+
"change": function ($event) {
|
|
41330
|
+
return _vm.onChange($event);
|
|
41331
|
+
},
|
|
41332
|
+
"blur": function ($event) {
|
|
41333
|
+
return _vm.onBlur($event);
|
|
41334
|
+
},
|
|
41335
|
+
"keyup": function ($event) {
|
|
41336
|
+
return _vm.onKeyUp($event);
|
|
41337
|
+
},
|
|
41338
|
+
"input": function ($event) {
|
|
41339
|
+
if ($event.target.composing) return;
|
|
41340
|
+
_vm.$set(_vm.fieldInfo, "value", $event.target.value);
|
|
41341
|
+
}
|
|
41342
|
+
}
|
|
41343
|
+
}), errors[0] ? _c('span', {
|
|
41344
|
+
staticClass: "invalid-feedback",
|
|
41345
|
+
attrs: {
|
|
41346
|
+
"name": _vm.fieldInfo.name
|
|
41347
|
+
}
|
|
41348
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
41349
|
+
}
|
|
41350
|
+
}])
|
|
41351
|
+
});
|
|
41352
|
+
};
|
|
41353
|
+
var TextAreaFieldvue_type_template_id_c24ed5dc_staticRenderFns = [];
|
|
40946
41354
|
|
|
40947
41355
|
// CONCATENATED MODULE: ./src/components/TextAreaField.vue?vue&type=template&id=c24ed5dc
|
|
40948
41356
|
|
|
@@ -41024,18 +41432,83 @@ var TextAreaField_component = normalizeComponent(
|
|
|
41024
41432
|
)
|
|
41025
41433
|
|
|
41026
41434
|
/* harmony default export */ var TextAreaField = (TextAreaField_component.exports);
|
|
41027
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41028
|
-
var
|
|
41029
|
-
var
|
|
41030
|
-
|
|
41031
|
-
|
|
41032
|
-
|
|
41435
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ColorField.vue?vue&type=template&id=1f3c9968
|
|
41436
|
+
var ColorFieldvue_type_template_id_1f3c9968_render = function render() {
|
|
41437
|
+
var _vm = this,
|
|
41438
|
+
_c = _vm._self._c;
|
|
41439
|
+
return _c('div', {
|
|
41440
|
+
ref: "colorpicker",
|
|
41441
|
+
staticClass: "form-group mb-0"
|
|
41442
|
+
}, [_c('Field', {
|
|
41443
|
+
staticClass: "input-group color-picker",
|
|
41444
|
+
attrs: {
|
|
41445
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo)
|
|
41446
|
+
},
|
|
41447
|
+
scopedSlots: _vm._u([{
|
|
41448
|
+
key: "default",
|
|
41449
|
+
fn: function ({
|
|
41450
|
+
errors
|
|
41451
|
+
}) {
|
|
41452
|
+
return [_c('input', {
|
|
41453
|
+
staticClass: "form-control",
|
|
41454
|
+
attrs: {
|
|
41455
|
+
"disabled": "disabled",
|
|
41456
|
+
"type": "text",
|
|
41457
|
+
"name": _vm.fieldInfo.name,
|
|
41458
|
+
"pattern": "^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$"
|
|
41459
|
+
},
|
|
41460
|
+
domProps: {
|
|
41461
|
+
"value": _vm.fieldInfo.value
|
|
41462
|
+
},
|
|
41463
|
+
on: {
|
|
41464
|
+
"input": _vm.updateFromInput,
|
|
41465
|
+
"change": _vm.updateFromInput
|
|
41466
|
+
}
|
|
41467
|
+
}), _c('div', {
|
|
41468
|
+
staticClass: "input-group-addon color-picker-container",
|
|
41469
|
+
on: {
|
|
41470
|
+
"click": function ($event) {
|
|
41471
|
+
return _vm.showPicker();
|
|
41472
|
+
}
|
|
41473
|
+
}
|
|
41474
|
+
}, [_c('span', {
|
|
41475
|
+
staticClass: "current-color",
|
|
41476
|
+
staticStyle: {
|
|
41477
|
+
"width": "20px",
|
|
41478
|
+
"height": "20px",
|
|
41479
|
+
"display": "block"
|
|
41480
|
+
},
|
|
41481
|
+
style: 'background-color:' + _vm.colorValue,
|
|
41482
|
+
on: {
|
|
41483
|
+
"click": function ($event) {
|
|
41484
|
+
return _vm.showPicker();
|
|
41485
|
+
}
|
|
41486
|
+
}
|
|
41487
|
+
}), _vm.displayPicker ? _c('div', {
|
|
41488
|
+
staticStyle: {
|
|
41489
|
+
"position": "absolute",
|
|
41490
|
+
"z-index": "1000",
|
|
41491
|
+
"margin-top": "5px"
|
|
41492
|
+
}
|
|
41493
|
+
}, [_c('sketch-picker', {
|
|
41494
|
+
attrs: {
|
|
41495
|
+
"value": _vm.fieldInfo.value,
|
|
41496
|
+
"disabled": _vm.fieldInfo.disabled
|
|
41497
|
+
},
|
|
41498
|
+
on: {
|
|
41499
|
+
"input": _vm.updateFromPicker
|
|
41500
|
+
}
|
|
41501
|
+
})], 1) : _vm._e()])];
|
|
41502
|
+
}
|
|
41503
|
+
}])
|
|
41504
|
+
})], 1);
|
|
41505
|
+
};
|
|
41506
|
+
var ColorFieldvue_type_template_id_1f3c9968_staticRenderFns = [];
|
|
41033
41507
|
|
|
41034
|
-
// CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=template&id=
|
|
41508
|
+
// CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=template&id=1f3c9968
|
|
41035
41509
|
|
|
41036
|
-
// EXTERNAL MODULE: ./node_modules/
|
|
41037
|
-
var
|
|
41038
|
-
var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_picker);
|
|
41510
|
+
// EXTERNAL MODULE: ./node_modules/vue-color/dist/vue-color.min.js
|
|
41511
|
+
var vue_color_min = __webpack_require__("c345");
|
|
41039
41512
|
|
|
41040
41513
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ColorField.vue?vue&type=script&lang=js
|
|
41041
41514
|
|
|
@@ -41053,7 +41526,7 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
|
|
|
41053
41526
|
},
|
|
41054
41527
|
components: {
|
|
41055
41528
|
Field: ValidationProvider,
|
|
41056
|
-
|
|
41529
|
+
'sketch-picker': vue_color_min["Sketch"]
|
|
41057
41530
|
},
|
|
41058
41531
|
data: function () {
|
|
41059
41532
|
return {
|
|
@@ -41165,8 +41638,8 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
|
|
|
41165
41638
|
});
|
|
41166
41639
|
// CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=script&lang=js
|
|
41167
41640
|
/* harmony default export */ var components_ColorFieldvue_type_script_lang_js = (ColorFieldvue_type_script_lang_js);
|
|
41168
|
-
// EXTERNAL MODULE: ./src/components/ColorField.vue?vue&type=style&index=0&id=
|
|
41169
|
-
var
|
|
41641
|
+
// EXTERNAL MODULE: ./src/components/ColorField.vue?vue&type=style&index=0&id=1f3c9968&prod&lang=css
|
|
41642
|
+
var ColorFieldvue_type_style_index_0_id_1f3c9968_prod_lang_css = __webpack_require__("97bd");
|
|
41170
41643
|
|
|
41171
41644
|
// CONCATENATED MODULE: ./src/components/ColorField.vue
|
|
41172
41645
|
|
|
@@ -41179,8 +41652,8 @@ var ColorFieldvue_type_style_index_0_id_1af2f90b_prod_lang_css = __webpack_requi
|
|
|
41179
41652
|
|
|
41180
41653
|
var ColorField_component = normalizeComponent(
|
|
41181
41654
|
components_ColorFieldvue_type_script_lang_js,
|
|
41182
|
-
|
|
41183
|
-
|
|
41655
|
+
ColorFieldvue_type_template_id_1f3c9968_render,
|
|
41656
|
+
ColorFieldvue_type_template_id_1f3c9968_staticRenderFns,
|
|
41184
41657
|
false,
|
|
41185
41658
|
null,
|
|
41186
41659
|
null,
|
|
@@ -41189,10 +41662,136 @@ var ColorField_component = normalizeComponent(
|
|
|
41189
41662
|
)
|
|
41190
41663
|
|
|
41191
41664
|
/* harmony default export */ var ColorField = (ColorField_component.exports);
|
|
41192
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41193
|
-
var FileFieldvue_type_template_id_a2ae54ee_render = function () {
|
|
41194
|
-
var
|
|
41195
|
-
|
|
41665
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FileField.vue?vue&type=template&id=a2ae54ee
|
|
41666
|
+
var FileFieldvue_type_template_id_a2ae54ee_render = function render() {
|
|
41667
|
+
var _vm = this,
|
|
41668
|
+
_c = _vm._self._c;
|
|
41669
|
+
return _c('div', {
|
|
41670
|
+
staticClass: "col-12 p-0 fileFieldAttachment",
|
|
41671
|
+
attrs: {
|
|
41672
|
+
"id": 'File_' + _vm.fieldInfo.name
|
|
41673
|
+
}
|
|
41674
|
+
}, [typeof _vm.fieldInfo.config.reject != 'undefined' && _vm.fieldInfo.config.reject.length > 0 ? _c('div', {
|
|
41675
|
+
staticClass: "col-12 mb-2 mt-2"
|
|
41676
|
+
}, [_c('label', [_vm._v("Disallowed File Type:")]), _vm._l(_vm.fieldInfo.config.reject, function (fileTypeInfo) {
|
|
41677
|
+
return _c('div', {
|
|
41678
|
+
staticClass: "mx-2 d-inline-block doc-ico-legend"
|
|
41679
|
+
}, [_c('em', {
|
|
41680
|
+
staticClass: "fa text-primary",
|
|
41681
|
+
class: fileTypeInfo.iconClass,
|
|
41682
|
+
attrs: {
|
|
41683
|
+
"id": "helpText"
|
|
41684
|
+
}
|
|
41685
|
+
}), _vm._v(" " + _vm._s(fileTypeInfo.fileType) + " ")]);
|
|
41686
|
+
})], 2) : _vm._e(), typeof _vm.fieldInfo.config.accept != 'undefined' && _vm.fieldInfo.config.accept.length > 0 ? _c('div', {
|
|
41687
|
+
staticClass: "col-12 mb-2 mt-2"
|
|
41688
|
+
}, [_c('label', [_vm._v("Allowed File Type:")]), _vm._l(_vm.fieldInfo.config.accept, function (fileTypeInfo) {
|
|
41689
|
+
return _c('div', {
|
|
41690
|
+
staticClass: "mx-2 d-inline-block doc-ico-legend"
|
|
41691
|
+
}, [_c('em', {
|
|
41692
|
+
staticClass: "fa text-primary",
|
|
41693
|
+
class: fileTypeInfo.iconClass,
|
|
41694
|
+
attrs: {
|
|
41695
|
+
"id": "helpText"
|
|
41696
|
+
}
|
|
41697
|
+
}), _vm._v(" " + _vm._s(fileTypeInfo.fileType) + " ")]);
|
|
41698
|
+
})], 2) : _vm._e(), _c('div', {
|
|
41699
|
+
staticClass: "already-uploaded-file"
|
|
41700
|
+
}, _vm._l(_vm.getSelectedFile(), function (item) {
|
|
41701
|
+
return _c('div', {
|
|
41702
|
+
attrs: {
|
|
41703
|
+
"title": item.attachmentName
|
|
41704
|
+
}
|
|
41705
|
+
}, [_c('span', {
|
|
41706
|
+
staticStyle: {
|
|
41707
|
+
"font-size": "24px"
|
|
41708
|
+
}
|
|
41709
|
+
}, [_c('i', {
|
|
41710
|
+
class: 'fa ' + _vm.getFileIcon(item.attachmentName)
|
|
41711
|
+
}), _vm.isShowCrossOnSelectedFile() ? _c('i', {
|
|
41712
|
+
staticClass: "fa fa-times cross",
|
|
41713
|
+
on: {
|
|
41714
|
+
"click": function ($event) {
|
|
41715
|
+
return _vm.onDelete(item);
|
|
41716
|
+
}
|
|
41717
|
+
}
|
|
41718
|
+
}) : _vm._e()]), _c('br'), _c('a', {
|
|
41719
|
+
attrs: {
|
|
41720
|
+
"href": "javascript:;"
|
|
41721
|
+
},
|
|
41722
|
+
on: {
|
|
41723
|
+
"click": function ($event) {
|
|
41724
|
+
return _vm.onClickSelectedFile(item);
|
|
41725
|
+
}
|
|
41726
|
+
}
|
|
41727
|
+
}, [_vm._v(_vm._s(_vm.getFileName(item.attachmentName)))])]);
|
|
41728
|
+
}), 0), _c('div', {
|
|
41729
|
+
staticClass: "file-upload"
|
|
41730
|
+
}, [_c('div', {
|
|
41731
|
+
class: {
|
|
41732
|
+
'file-upload__area': true,
|
|
41733
|
+
'highlight': _vm.isDragging
|
|
41734
|
+
},
|
|
41735
|
+
on: {
|
|
41736
|
+
"click": _vm.openFilePopup,
|
|
41737
|
+
"dragover": function ($event) {
|
|
41738
|
+
$event.preventDefault();
|
|
41739
|
+
return _vm.dragOver.apply(null, arguments);
|
|
41740
|
+
},
|
|
41741
|
+
"dragleave": _vm.dragLeave,
|
|
41742
|
+
"drop": function ($event) {
|
|
41743
|
+
return _vm.handleDrop($event);
|
|
41744
|
+
}
|
|
41745
|
+
}
|
|
41746
|
+
}, [_c('div', [_vm.previewFiles.length == 0 ? _c('span', [_vm._v("Drop or click here to upload files")]) : _vm._e(), _c('input', {
|
|
41747
|
+
staticClass: "d-none",
|
|
41748
|
+
attrs: {
|
|
41749
|
+
"type": "file",
|
|
41750
|
+
"id": 'customFile_' + _vm.fieldInfo.name,
|
|
41751
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
41752
|
+
"multiple": _vm.canUploadMultipleFile()
|
|
41753
|
+
},
|
|
41754
|
+
on: {
|
|
41755
|
+
"change": function ($event) {
|
|
41756
|
+
return _vm.onChange($event);
|
|
41757
|
+
}
|
|
41758
|
+
}
|
|
41759
|
+
}), _vm.errors.length > 0 ? _c('div', _vm._l(_vm.errors, function (error, index) {
|
|
41760
|
+
return _c('div', {
|
|
41761
|
+
key: index,
|
|
41762
|
+
staticClass: "file-upload__error"
|
|
41763
|
+
}, [_c('span', [_vm._v(_vm._s(error))])]);
|
|
41764
|
+
}), 0) : _vm._e()]), _vm._l(_vm.previewFiles, function (file, index) {
|
|
41765
|
+
return _c('div', {
|
|
41766
|
+
key: index,
|
|
41767
|
+
staticClass: "upload-preview"
|
|
41768
|
+
}, [file.isImage ? _c('img', {
|
|
41769
|
+
staticClass: "file-image",
|
|
41770
|
+
attrs: {
|
|
41771
|
+
"src": file.url,
|
|
41772
|
+
"alt": ""
|
|
41773
|
+
}
|
|
41774
|
+
}) : _vm._e(), !file.isImage ? _c('div', {
|
|
41775
|
+
staticClass: "file-extention"
|
|
41776
|
+
}, [_vm._v(" " + _vm._s(file.fileExtention) + " ")]) : _vm._e(), _c('span', {
|
|
41777
|
+
staticClass: "file-name"
|
|
41778
|
+
}, [_vm._v(" " + _vm._s(file.name) + " " + _vm._s(file.isImage ? `.${file.fileExtention}` : "") + " ")]), _c('span', {
|
|
41779
|
+
staticClass: "crossimg"
|
|
41780
|
+
}, [_c('a', {
|
|
41781
|
+
staticClass: "fa fa-times text-danger",
|
|
41782
|
+
attrs: {
|
|
41783
|
+
"href": "javascript:void(0)",
|
|
41784
|
+
"data-index": index
|
|
41785
|
+
},
|
|
41786
|
+
on: {
|
|
41787
|
+
"click": function ($event) {
|
|
41788
|
+
return _vm.RemoveFile($event, index);
|
|
41789
|
+
}
|
|
41790
|
+
}
|
|
41791
|
+
})])]);
|
|
41792
|
+
})], 2)])]);
|
|
41793
|
+
};
|
|
41794
|
+
var FileFieldvue_type_template_id_a2ae54ee_staticRenderFns = [];
|
|
41196
41795
|
|
|
41197
41796
|
// CONCATENATED MODULE: ./src/components/FileField.vue?vue&type=template&id=a2ae54ee
|
|
41198
41797
|
|
|
@@ -41560,13 +42159,81 @@ var FileField_component = normalizeComponent(
|
|
|
41560
42159
|
)
|
|
41561
42160
|
|
|
41562
42161
|
/* harmony default export */ var FileField = (FileField_component.exports);
|
|
41563
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41564
|
-
var NormalFileFieldvue_type_template_id_70887aac_render = function () {
|
|
41565
|
-
var
|
|
41566
|
-
|
|
41567
|
-
return
|
|
41568
|
-
|
|
41569
|
-
|
|
42162
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/NormalFileField.vue?vue&type=template&id=70887aac
|
|
42163
|
+
var NormalFileFieldvue_type_template_id_70887aac_render = function render() {
|
|
42164
|
+
var _vm = this,
|
|
42165
|
+
_c = _vm._self._c;
|
|
42166
|
+
return _c('Field', {
|
|
42167
|
+
staticClass: "w-100",
|
|
42168
|
+
attrs: {
|
|
42169
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
42170
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
42171
|
+
"rules": _vm.fieldInfo.validationRules
|
|
42172
|
+
},
|
|
42173
|
+
scopedSlots: _vm._u([{
|
|
42174
|
+
key: "default",
|
|
42175
|
+
fn: function ({
|
|
42176
|
+
field,
|
|
42177
|
+
errors
|
|
42178
|
+
}) {
|
|
42179
|
+
return [_c('div', {
|
|
42180
|
+
staticClass: "col-12 p-0 fileFieldAttachment",
|
|
42181
|
+
attrs: {
|
|
42182
|
+
"id": 'File_' + _vm.fieldInfo.name
|
|
42183
|
+
}
|
|
42184
|
+
}, [_c('div', {
|
|
42185
|
+
staticClass: "custom-file"
|
|
42186
|
+
}, [_c('input', _vm._b({
|
|
42187
|
+
attrs: {
|
|
42188
|
+
"type": "hidden"
|
|
42189
|
+
},
|
|
42190
|
+
domProps: {
|
|
42191
|
+
"value": _vm.fieldInfo.value
|
|
42192
|
+
}
|
|
42193
|
+
}, 'input', field, false)), _c('input', {
|
|
42194
|
+
staticClass: "custom-file-input",
|
|
42195
|
+
attrs: {
|
|
42196
|
+
"type": "file",
|
|
42197
|
+
"id": 'NormalFile_' + _vm.fieldInfo.name,
|
|
42198
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
42199
|
+
"multiple": _vm.canUploadMultipleFile(),
|
|
42200
|
+
"aria-describedby": 'NormalFile_' + _vm.fieldInfo.name
|
|
42201
|
+
},
|
|
42202
|
+
on: {
|
|
42203
|
+
"change": function ($event) {
|
|
42204
|
+
return _vm.onChange($event);
|
|
42205
|
+
}
|
|
42206
|
+
}
|
|
42207
|
+
}), _c('label', {
|
|
42208
|
+
staticClass: "custom-file-label",
|
|
42209
|
+
style: _vm.errorsLocal.length > 0 || errors[0] ? 'border-color:#e71616 !important' : '',
|
|
42210
|
+
attrs: {
|
|
42211
|
+
"for": 'NormalFile_' + _vm.fieldInfo.name
|
|
42212
|
+
}
|
|
42213
|
+
}, [_vm._v("Choose file")])]), _vm.errorsLocal.length > 0 || errors[0] ? _c('div', [errors[0] && _vm.errorsLocal.length == 0 ? _c('span', {
|
|
42214
|
+
staticClass: "invalid-feedback",
|
|
42215
|
+
staticStyle: {
|
|
42216
|
+
"display": "block"
|
|
42217
|
+
},
|
|
42218
|
+
attrs: {
|
|
42219
|
+
"name": _vm.fieldInfo.name
|
|
42220
|
+
}
|
|
42221
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e(), _vm._l(_vm.errorsLocal, function (error, index) {
|
|
42222
|
+
return _c('div', {
|
|
42223
|
+
key: index,
|
|
42224
|
+
staticClass: "file-upload__error"
|
|
42225
|
+
}, [_c('span', {
|
|
42226
|
+
staticClass: "invalid-feedback",
|
|
42227
|
+
staticStyle: {
|
|
42228
|
+
"display": "block"
|
|
42229
|
+
}
|
|
42230
|
+
}, [_vm._v(_vm._s(error))])]);
|
|
42231
|
+
})], 2) : _vm._e()])];
|
|
42232
|
+
}
|
|
42233
|
+
}])
|
|
42234
|
+
});
|
|
42235
|
+
};
|
|
42236
|
+
var NormalFileFieldvue_type_template_id_70887aac_staticRenderFns = [];
|
|
41570
42237
|
|
|
41571
42238
|
// CONCATENATED MODULE: ./src/components/NormalFileField.vue?vue&type=template&id=70887aac
|
|
41572
42239
|
|
|
@@ -41946,12 +42613,59 @@ var NormalFileField_component = normalizeComponent(
|
|
|
41946
42613
|
)
|
|
41947
42614
|
|
|
41948
42615
|
/* harmony default export */ var NormalFileField = (NormalFileField_component.exports);
|
|
41949
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41950
|
-
var TreeSelectFieldvue_type_template_id_4975b454_render = function () {
|
|
41951
|
-
var
|
|
41952
|
-
|
|
41953
|
-
|
|
41954
|
-
|
|
42616
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TreeSelectField.vue?vue&type=template&id=4975b454
|
|
42617
|
+
var TreeSelectFieldvue_type_template_id_4975b454_render = function render() {
|
|
42618
|
+
var _vm = this,
|
|
42619
|
+
_c = _vm._self._c;
|
|
42620
|
+
return _c('Field', {
|
|
42621
|
+
staticClass: "w-100",
|
|
42622
|
+
attrs: {
|
|
42623
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
42624
|
+
"rules": _vm.fieldInfo.validationRules
|
|
42625
|
+
},
|
|
42626
|
+
scopedSlots: _vm._u([{
|
|
42627
|
+
key: "default",
|
|
42628
|
+
fn: function ({
|
|
42629
|
+
errors
|
|
42630
|
+
}) {
|
|
42631
|
+
return [_c('div', {
|
|
42632
|
+
staticClass: "w-100 d-flex dynamic-multiselect"
|
|
42633
|
+
}, [_vm.options && _vm.options.length > 0 ? _c('tree-select', {
|
|
42634
|
+
staticClass: "w-100 form-control border-0 p-0",
|
|
42635
|
+
attrs: {
|
|
42636
|
+
"multiple": false,
|
|
42637
|
+
"options": _vm.options,
|
|
42638
|
+
"placeholder": _vm.fieldInfo.placeholder
|
|
42639
|
+
},
|
|
42640
|
+
model: {
|
|
42641
|
+
value: _vm.fieldInfo.value,
|
|
42642
|
+
callback: function ($$v) {
|
|
42643
|
+
_vm.$set(_vm.fieldInfo, "value", $$v);
|
|
42644
|
+
},
|
|
42645
|
+
expression: "fieldInfo.value"
|
|
42646
|
+
}
|
|
42647
|
+
}) : _vm._e(), _vm.showAddIcon() ? _c('div', {
|
|
42648
|
+
staticClass: "ml-2 mt-1"
|
|
42649
|
+
}, [_c('a', {
|
|
42650
|
+
class: _vm.addButtonClass()
|
|
42651
|
+
}, [_c('i', {
|
|
42652
|
+
class: _vm.addIconClass(),
|
|
42653
|
+
attrs: {
|
|
42654
|
+
"alt": "+"
|
|
42655
|
+
},
|
|
42656
|
+
on: {
|
|
42657
|
+
"click": function ($event) {
|
|
42658
|
+
return _vm.onAddButtonClick($event);
|
|
42659
|
+
}
|
|
42660
|
+
}
|
|
42661
|
+
})])]) : _vm._e(), errors[0] ? _c('span', {
|
|
42662
|
+
staticClass: "invalid-feedback d-block"
|
|
42663
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()], 1)];
|
|
42664
|
+
}
|
|
42665
|
+
}])
|
|
42666
|
+
});
|
|
42667
|
+
};
|
|
42668
|
+
var TreeSelectFieldvue_type_template_id_4975b454_staticRenderFns = [];
|
|
41955
42669
|
|
|
41956
42670
|
// CONCATENATED MODULE: ./src/components/TreeSelectField.vue?vue&type=template&id=4975b454
|
|
41957
42671
|
|
|
@@ -41960,21 +42674,6 @@ var vue_treeselect_cjs = __webpack_require__("ca17");
|
|
|
41960
42674
|
var vue_treeselect_cjs_default = /*#__PURE__*/__webpack_require__.n(vue_treeselect_cjs);
|
|
41961
42675
|
|
|
41962
42676
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TreeSelectField.vue?vue&type=script&lang=js
|
|
41963
|
-
//
|
|
41964
|
-
//
|
|
41965
|
-
//
|
|
41966
|
-
//
|
|
41967
|
-
//
|
|
41968
|
-
//
|
|
41969
|
-
//
|
|
41970
|
-
//
|
|
41971
|
-
//
|
|
41972
|
-
//
|
|
41973
|
-
//
|
|
41974
|
-
//
|
|
41975
|
-
//
|
|
41976
|
-
//
|
|
41977
|
-
|
|
41978
42677
|
|
|
41979
42678
|
|
|
41980
42679
|
/* harmony default export */ var TreeSelectFieldvue_type_script_lang_js = ({
|
|
@@ -42074,12 +42773,32 @@ var TreeSelectField_component = normalizeComponent(
|
|
|
42074
42773
|
)
|
|
42075
42774
|
|
|
42076
42775
|
/* harmony default export */ var TreeSelectField = (TreeSelectField_component.exports);
|
|
42077
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42078
|
-
var SlotFieldvue_type_template_id_552c7e65_render = function () {
|
|
42079
|
-
var
|
|
42080
|
-
|
|
42081
|
-
|
|
42082
|
-
|
|
42776
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SlotField.vue?vue&type=template&id=552c7e65
|
|
42777
|
+
var SlotFieldvue_type_template_id_552c7e65_render = function render() {
|
|
42778
|
+
var _vm = this,
|
|
42779
|
+
_c = _vm._self._c;
|
|
42780
|
+
return _c('Field', {
|
|
42781
|
+
staticClass: "w-100",
|
|
42782
|
+
attrs: {
|
|
42783
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
42784
|
+
"rules": _vm.fieldInfo.validationRules
|
|
42785
|
+
},
|
|
42786
|
+
scopedSlots: _vm._u([{
|
|
42787
|
+
key: "default",
|
|
42788
|
+
fn: function ({
|
|
42789
|
+
errors
|
|
42790
|
+
}) {
|
|
42791
|
+
return [_vm._t("tgslot", null, {
|
|
42792
|
+
"data": {
|
|
42793
|
+
fieldInfo: _vm.fieldInfo,
|
|
42794
|
+
error: errors.length > 0 ? errors[0] : ''
|
|
42795
|
+
}
|
|
42796
|
+
})];
|
|
42797
|
+
}
|
|
42798
|
+
}], null, true)
|
|
42799
|
+
});
|
|
42800
|
+
};
|
|
42801
|
+
var SlotFieldvue_type_template_id_552c7e65_staticRenderFns = [];
|
|
42083
42802
|
|
|
42084
42803
|
// CONCATENATED MODULE: ./src/components/SlotField.vue?vue&type=template&id=552c7e65
|
|
42085
42804
|
|
|
@@ -42136,35 +42855,740 @@ var SlotField_component = normalizeComponent(
|
|
|
42136
42855
|
)
|
|
42137
42856
|
|
|
42138
42857
|
/* harmony default export */ var SlotField = (SlotField_component.exports);
|
|
42139
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42140
|
-
var SearchableSelectFieldvue_type_template_id_20dcc43e_render = function () {
|
|
42141
|
-
var
|
|
42142
|
-
|
|
42143
|
-
|
|
42144
|
-
|
|
42858
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchableSelectField.vue?vue&type=template&id=20dcc43e
|
|
42859
|
+
var SearchableSelectFieldvue_type_template_id_20dcc43e_render = function render() {
|
|
42860
|
+
var _vm = this,
|
|
42861
|
+
_c = _vm._self._c;
|
|
42862
|
+
return _c('Field', {
|
|
42863
|
+
staticClass: "w-100",
|
|
42864
|
+
attrs: {
|
|
42865
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
42866
|
+
"rules": _vm.fieldInfo.validationRules
|
|
42867
|
+
},
|
|
42868
|
+
scopedSlots: _vm._u([{
|
|
42869
|
+
key: "default",
|
|
42870
|
+
fn: function ({
|
|
42871
|
+
errors
|
|
42872
|
+
}) {
|
|
42873
|
+
return [_c('div', {
|
|
42874
|
+
staticClass: "w-100"
|
|
42875
|
+
}, [_c('SearchableSelect', {
|
|
42876
|
+
attrs: {
|
|
42877
|
+
"items": _vm.fieldInfo.config.OptionsForBind,
|
|
42878
|
+
"max-visible-chips": 2,
|
|
42879
|
+
"action-buttons": _vm.computedActionButtons(_vm.fieldInfo),
|
|
42880
|
+
"item-fields": _vm.computedItemFields(_vm.fieldInfo),
|
|
42881
|
+
"group-fields": _vm.computedGroupFields(_vm.fieldInfo),
|
|
42882
|
+
"max-render-items": _vm.computedMaxRenderItems(_vm.fieldInfo),
|
|
42883
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
42884
|
+
"lazy-load": true,
|
|
42885
|
+
"multiple": _vm.fieldInfo.config.isMultiple,
|
|
42886
|
+
"label": _vm.fieldInfo.label,
|
|
42887
|
+
"placeholder": _vm.fieldInfo.placeholder,
|
|
42888
|
+
"status-field-config": _vm.fieldInfo.config.statusFieldConfig,
|
|
42889
|
+
"min-search-length": _vm.fieldInfo.config.minSearchLength,
|
|
42890
|
+
"has-error": errors.length > 0
|
|
42891
|
+
},
|
|
42892
|
+
on: {
|
|
42893
|
+
"blur": function ($event) {
|
|
42894
|
+
return _vm.onSearchableChange($event, _vm.fieldInfo, 'blur');
|
|
42895
|
+
},
|
|
42896
|
+
"change": function ($event) {
|
|
42897
|
+
return _vm.onSearchableChange($event, _vm.fieldInfo, 'change');
|
|
42898
|
+
}
|
|
42899
|
+
},
|
|
42900
|
+
model: {
|
|
42901
|
+
value: _vm.fieldInfo.value,
|
|
42902
|
+
callback: function ($$v) {
|
|
42903
|
+
_vm.$set(_vm.fieldInfo, "value", $$v);
|
|
42904
|
+
},
|
|
42905
|
+
expression: "fieldInfo.value"
|
|
42906
|
+
}
|
|
42907
|
+
})], 1), errors[0] ? _c('span', {
|
|
42908
|
+
staticClass: "invalid-feedback d-block"
|
|
42909
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
42910
|
+
}
|
|
42911
|
+
}])
|
|
42912
|
+
});
|
|
42913
|
+
};
|
|
42914
|
+
var SearchableSelectFieldvue_type_template_id_20dcc43e_staticRenderFns = [];
|
|
42145
42915
|
|
|
42146
42916
|
// CONCATENATED MODULE: ./src/components/SearchableSelectField.vue?vue&type=template&id=20dcc43e
|
|
42147
42917
|
|
|
42148
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42149
|
-
var SearchableSelectvue_type_template_id_de17cdfa_scoped_true_render = function () {
|
|
42150
|
-
var
|
|
42151
|
-
|
|
42918
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchableSelect.vue?vue&type=template&id=de17cdfa&scoped=true
|
|
42919
|
+
var SearchableSelectvue_type_template_id_de17cdfa_scoped_true_render = function render() {
|
|
42920
|
+
var _vm = this,
|
|
42921
|
+
_c = _vm._self._c;
|
|
42922
|
+
return _c('div', {
|
|
42923
|
+
staticClass: "searchable-select",
|
|
42924
|
+
style: _vm.hasError == true ? 'border:1px solid #dc3545 !important;' : ''
|
|
42925
|
+
}, [_c('Autocomplete', {
|
|
42926
|
+
attrs: {
|
|
42927
|
+
"value": _vm.internalValue,
|
|
42928
|
+
"model-value": _vm.internalValue,
|
|
42929
|
+
"items": _vm.displayItems,
|
|
42930
|
+
"all-items": _vm.allItems,
|
|
42931
|
+
"loading": _vm.loading,
|
|
42932
|
+
"placeholder": _vm.placeholder,
|
|
42933
|
+
"label": _vm.label,
|
|
42934
|
+
"disabled": _vm.disabled,
|
|
42935
|
+
"clearable": _vm.clearable,
|
|
42936
|
+
"density": _vm.density,
|
|
42937
|
+
"variant": _vm.variant,
|
|
42938
|
+
"multiple": _vm.multiple,
|
|
42939
|
+
"item-title": _vm.itemTitle,
|
|
42940
|
+
"item-value": _vm.itemValue,
|
|
42941
|
+
"menu-props": _vm.menuProps,
|
|
42942
|
+
"no-data-text": _vm.noDataText,
|
|
42943
|
+
"hide-details": _vm.hideDetails,
|
|
42944
|
+
"error-messages": _vm.errorMessages,
|
|
42945
|
+
"rules": _vm.rules,
|
|
42946
|
+
"min-search-length": _vm.minSearchLength,
|
|
42947
|
+
"max-visible-chips": _vm.maxVisibleChips,
|
|
42948
|
+
"action-buttons": _vm.actionButtons,
|
|
42949
|
+
"item-fields": _vm.itemFields,
|
|
42950
|
+
"group-fields": _vm.groupFields,
|
|
42951
|
+
"max-render-items": _vm.maxRenderItems,
|
|
42952
|
+
"lazy-load": _vm.lazyLoad,
|
|
42953
|
+
"status-field-config": _vm.statusFieldConfig
|
|
42954
|
+
},
|
|
42955
|
+
on: {
|
|
42956
|
+
"input": _vm.onSelectionChange,
|
|
42957
|
+
"update:model-value": _vm.onSelectionChange,
|
|
42958
|
+
"update:search": _vm.onSearch,
|
|
42959
|
+
"focus": _vm.onFocus,
|
|
42960
|
+
"blur": _vm.onBlur,
|
|
42961
|
+
"search": _vm.onSearch
|
|
42962
|
+
}
|
|
42963
|
+
})], 1);
|
|
42964
|
+
};
|
|
42965
|
+
var SearchableSelectvue_type_template_id_de17cdfa_scoped_true_staticRenderFns = [];
|
|
42152
42966
|
|
|
42153
42967
|
// CONCATENATED MODULE: ./src/components/SearchableSelect.vue?vue&type=template&id=de17cdfa&scoped=true
|
|
42154
42968
|
|
|
42155
|
-
//
|
|
42156
|
-
var
|
|
42157
|
-
|
|
42158
|
-
|
|
42159
|
-
|
|
42160
|
-
|
|
42161
|
-
|
|
42162
|
-
|
|
42163
|
-
|
|
42164
|
-
|
|
42165
|
-
|
|
42166
|
-
|
|
42167
|
-
|
|
42969
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Autocomplete.vue?vue&type=template&id=77f413d4&scoped=true
|
|
42970
|
+
var Autocompletevue_type_template_id_77f413d4_scoped_true_render = function render() {
|
|
42971
|
+
var _vm = this,
|
|
42972
|
+
_c = _vm._self._c;
|
|
42973
|
+
return _c('div', {
|
|
42974
|
+
staticClass: "custom-autocomplete mt-0",
|
|
42975
|
+
class: {
|
|
42976
|
+
'is-disabled': _vm.disabled,
|
|
42977
|
+
'has-error': _vm.hasError
|
|
42978
|
+
}
|
|
42979
|
+
}, [!_vm.multiple ? _c('div', {
|
|
42980
|
+
staticClass: "autocomplete-wrapper"
|
|
42981
|
+
}, [_c('div', {
|
|
42982
|
+
staticClass: "input-group"
|
|
42983
|
+
}, [_c('input', {
|
|
42984
|
+
ref: "input",
|
|
42985
|
+
staticClass: "form-control",
|
|
42986
|
+
class: {
|
|
42987
|
+
'is-invalid': _vm.hasError,
|
|
42988
|
+
'form-control-sm': _vm.density === 'compact',
|
|
42989
|
+
'form-control-lg': _vm.density === 'comfortable'
|
|
42990
|
+
},
|
|
42991
|
+
attrs: {
|
|
42992
|
+
"type": "text",
|
|
42993
|
+
"placeholder": _vm.placeholder,
|
|
42994
|
+
"disabled": _vm.disabled
|
|
42995
|
+
},
|
|
42996
|
+
domProps: {
|
|
42997
|
+
"value": _vm.displayText
|
|
42998
|
+
},
|
|
42999
|
+
on: {
|
|
43000
|
+
"input": _vm.onInput,
|
|
43001
|
+
"focus": _vm.onFocus,
|
|
43002
|
+
"blur": _vm.onBlur,
|
|
43003
|
+
"keydown": [function ($event) {
|
|
43004
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
43005
|
+
$event.preventDefault();
|
|
43006
|
+
return _vm.handleEnter.apply(null, arguments);
|
|
43007
|
+
}, function ($event) {
|
|
43008
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "arrow-down", undefined, $event.key, undefined)) return null;
|
|
43009
|
+
$event.preventDefault();
|
|
43010
|
+
return _vm.navigateDown.apply(null, arguments);
|
|
43011
|
+
}, function ($event) {
|
|
43012
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "arrow-up", undefined, $event.key, undefined)) return null;
|
|
43013
|
+
$event.preventDefault();
|
|
43014
|
+
return _vm.navigateUp.apply(null, arguments);
|
|
43015
|
+
}, function ($event) {
|
|
43016
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "escape", undefined, $event.key, undefined)) return null;
|
|
43017
|
+
return _vm.closeMenu.apply(null, arguments);
|
|
43018
|
+
}]
|
|
43019
|
+
}
|
|
43020
|
+
}), _c('div', {
|
|
43021
|
+
staticClass: "input-group-append"
|
|
43022
|
+
}, [_vm.clearable && _vm.selectedValue ? _c('button', {
|
|
43023
|
+
staticClass: "btn btn-outline-secondary",
|
|
43024
|
+
attrs: {
|
|
43025
|
+
"type": "button",
|
|
43026
|
+
"tabindex": "-1"
|
|
43027
|
+
},
|
|
43028
|
+
on: {
|
|
43029
|
+
"click": _vm.clearSelection
|
|
43030
|
+
}
|
|
43031
|
+
}, [_c('i', {
|
|
43032
|
+
staticClass: "fa fa-times"
|
|
43033
|
+
})]) : _vm._e(), _c('button', {
|
|
43034
|
+
staticClass: "btn btn-outline-secondary dropdown-toggle",
|
|
43035
|
+
class: {
|
|
43036
|
+
'active': _vm.isMenuOpen
|
|
43037
|
+
},
|
|
43038
|
+
attrs: {
|
|
43039
|
+
"type": "button",
|
|
43040
|
+
"tabindex": "-1"
|
|
43041
|
+
},
|
|
43042
|
+
on: {
|
|
43043
|
+
"click": _vm.toggleMenu
|
|
43044
|
+
}
|
|
43045
|
+
}, [_c('i', {
|
|
43046
|
+
staticClass: "fa",
|
|
43047
|
+
class: _vm.loading ? 'fa-spinner fa-spin' : 'fa-chevron-down'
|
|
43048
|
+
})])])]), _vm.isMenuOpen ? _c('div', {
|
|
43049
|
+
ref: "menu",
|
|
43050
|
+
staticClass: "autocomplete-menu",
|
|
43051
|
+
style: {
|
|
43052
|
+
maxHeight: _vm.menuMaxHeight + 'px'
|
|
43053
|
+
},
|
|
43054
|
+
on: {
|
|
43055
|
+
"scroll": _vm.onMenuScroll
|
|
43056
|
+
}
|
|
43057
|
+
}, [_vm.loading && !_vm.hasItems ? _c('div', {
|
|
43058
|
+
staticClass: "autocomplete-loading"
|
|
43059
|
+
}, [_vm._m(0), _c('div', {
|
|
43060
|
+
staticClass: "mt-2 text-muted small"
|
|
43061
|
+
}, [_vm._v("Loading...")])]) : !_vm.loading && !_vm.hasItems && _vm.searchTerm.length >= _vm.minSearchLength ? _c('div', {
|
|
43062
|
+
staticClass: "autocomplete-no-data"
|
|
43063
|
+
}, [_c('i', {
|
|
43064
|
+
staticClass: "fa fa-search text-muted",
|
|
43065
|
+
staticStyle: {
|
|
43066
|
+
"font-size": "2rem"
|
|
43067
|
+
}
|
|
43068
|
+
}), _c('div', {
|
|
43069
|
+
staticClass: "mt-2 text-muted"
|
|
43070
|
+
}, [_vm._v(_vm._s(_vm.noDataText))]), _c('div', {
|
|
43071
|
+
staticClass: "text-muted small"
|
|
43072
|
+
}, [_vm._v("Try adjusting your search terms")])]) : _vm.hasGrouping ? _c('div', {
|
|
43073
|
+
staticClass: "autocomplete-grouped"
|
|
43074
|
+
}, _vm._l(_vm.paginatedGroupedItems, function (group, groupIndex) {
|
|
43075
|
+
return _c('div', {
|
|
43076
|
+
key: group.group || groupIndex,
|
|
43077
|
+
staticClass: "autocomplete-group"
|
|
43078
|
+
}, [_c('div', {
|
|
43079
|
+
staticClass: "autocomplete-group-header"
|
|
43080
|
+
}, [_vm.groupFields.length > 0 ? _c('div', {
|
|
43081
|
+
staticClass: "d-flex flex-column"
|
|
43082
|
+
}, [_c('div', {
|
|
43083
|
+
staticClass: "font-weight-bold font-14"
|
|
43084
|
+
}, [_vm._v(_vm._s(group.group))]), _vm.groupFields.length > 1 ? _c('div', {
|
|
43085
|
+
staticClass: "small text-muted mt-1"
|
|
43086
|
+
}, _vm._l(_vm.groupFields, function (field, idx) {
|
|
43087
|
+
return _c('span', {
|
|
43088
|
+
key: field
|
|
43089
|
+
}, [idx > 0 ? _c('span', [_vm._v(" • ")]) : _vm._e(), _vm.getGroupFieldValue(group, field) ? _c('span', [_vm._v(_vm._s(field) + ": " + _vm._s(_vm.getGroupFieldValue(group, field)))]) : _vm._e()]);
|
|
43090
|
+
}), 0) : _vm._e()]) : _c('div', [_vm._v(_vm._s(group.group))])]), _c('ul', {
|
|
43091
|
+
staticClass: "list-group list-group-flush"
|
|
43092
|
+
}, _vm._l(group.items, function (item, itemIndex) {
|
|
43093
|
+
return _c('li', {
|
|
43094
|
+
key: _vm.getItemValue(item),
|
|
43095
|
+
staticClass: "list-group-item autocomplete-item",
|
|
43096
|
+
class: {
|
|
43097
|
+
'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
|
|
43098
|
+
'selected': _vm.isSelected(item)
|
|
43099
|
+
},
|
|
43100
|
+
staticStyle: {
|
|
43101
|
+
"cursor": "pointer"
|
|
43102
|
+
},
|
|
43103
|
+
on: {
|
|
43104
|
+
"click": function ($event) {
|
|
43105
|
+
$event.preventDefault();
|
|
43106
|
+
return _vm.selectItem(item, $event);
|
|
43107
|
+
},
|
|
43108
|
+
"mouseenter": function ($event) {
|
|
43109
|
+
_vm.highlightedIndex = _vm.getFlatIndex(groupIndex, itemIndex);
|
|
43110
|
+
}
|
|
43111
|
+
}
|
|
43112
|
+
}, [_c('div', {
|
|
43113
|
+
staticClass: "d-flex align-items-center"
|
|
43114
|
+
}, [_vm.multiple ? _c('div', {
|
|
43115
|
+
staticClass: "autocomplete-checkbox-wrapper mr-2"
|
|
43116
|
+
}, [_c('input', {
|
|
43117
|
+
staticClass: "autocomplete-checkbox",
|
|
43118
|
+
attrs: {
|
|
43119
|
+
"type": "checkbox",
|
|
43120
|
+
"tabindex": "-1"
|
|
43121
|
+
},
|
|
43122
|
+
domProps: {
|
|
43123
|
+
"checked": _vm.isSelected(item)
|
|
43124
|
+
},
|
|
43125
|
+
on: {
|
|
43126
|
+
"click": function ($event) {
|
|
43127
|
+
$event.stopPropagation();
|
|
43128
|
+
return _vm.selectItem(item, $event);
|
|
43129
|
+
}
|
|
43130
|
+
}
|
|
43131
|
+
}), _c('i', {
|
|
43132
|
+
staticClass: "fa fa-check autocomplete-check-icon"
|
|
43133
|
+
})]) : _vm._e(), item.raw && item.raw.category ? _c('span', {
|
|
43134
|
+
staticClass: "badge badge-secondary mr-2",
|
|
43135
|
+
staticStyle: {
|
|
43136
|
+
"font-size": "0.75rem"
|
|
43137
|
+
}
|
|
43138
|
+
}, [_vm._v(" " + _vm._s(item.raw.category) + " ")]) : _vm._e(), _c('div', {
|
|
43139
|
+
staticClass: "flex-grow-1"
|
|
43140
|
+
}, [_vm.itemFields.length > 0 ? _c('div', {
|
|
43141
|
+
staticClass: "font-weight-400",
|
|
43142
|
+
class: {
|
|
43143
|
+
'text-dark': _vm.isSelected(item)
|
|
43144
|
+
},
|
|
43145
|
+
domProps: {
|
|
43146
|
+
"innerHTML": _vm._s(_vm.formatItemFields(item))
|
|
43147
|
+
}
|
|
43148
|
+
}) : _c('div', {
|
|
43149
|
+
staticClass: "font-weight-400",
|
|
43150
|
+
class: {
|
|
43151
|
+
'text-dark': _vm.isSelected(item)
|
|
43152
|
+
}
|
|
43153
|
+
}, [_vm._v(_vm._s(_vm.getItemText(item)))]), !_vm.itemFields.length && _vm.getItemDescription(item) ? _c('div', {
|
|
43154
|
+
staticClass: "text-muted small mt-1"
|
|
43155
|
+
}, [_vm._v(_vm._s(_vm.getItemDescription(item)))]) : _vm._e()]), _vm.isSelected(item) && !_vm.multiple ? _c('i', {
|
|
43156
|
+
staticClass: "fa fa-check text-success ml-2",
|
|
43157
|
+
staticStyle: {
|
|
43158
|
+
"font-size": "1.1rem"
|
|
43159
|
+
}
|
|
43160
|
+
}) : _vm._e()])]);
|
|
43161
|
+
}), 0)]);
|
|
43162
|
+
}), 0) : _c('ul', {
|
|
43163
|
+
staticClass: "list-group list-group-flush"
|
|
43164
|
+
}, _vm._l(_vm.paginatedDisplayItems, function (item, index) {
|
|
43165
|
+
return _c('li', {
|
|
43166
|
+
key: _vm.getItemValue(item),
|
|
43167
|
+
staticClass: "list-group-item autocomplete-item",
|
|
43168
|
+
class: {
|
|
43169
|
+
'active': index === _vm.highlightedIndex,
|
|
43170
|
+
'selected': _vm.isSelected(item)
|
|
43171
|
+
},
|
|
43172
|
+
staticStyle: {
|
|
43173
|
+
"cursor": "pointer"
|
|
43174
|
+
},
|
|
43175
|
+
on: {
|
|
43176
|
+
"click": function ($event) {
|
|
43177
|
+
$event.preventDefault();
|
|
43178
|
+
return _vm.selectItem(item, $event);
|
|
43179
|
+
},
|
|
43180
|
+
"mouseenter": function ($event) {
|
|
43181
|
+
_vm.highlightedIndex = index;
|
|
43182
|
+
}
|
|
43183
|
+
}
|
|
43184
|
+
}, [_c('div', {
|
|
43185
|
+
staticClass: "d-flex align-items-center"
|
|
43186
|
+
}, [_vm.multiple ? _c('input', {
|
|
43187
|
+
staticClass: "mr-2",
|
|
43188
|
+
attrs: {
|
|
43189
|
+
"type": "checkbox",
|
|
43190
|
+
"tabindex": "-1"
|
|
43191
|
+
},
|
|
43192
|
+
domProps: {
|
|
43193
|
+
"checked": _vm.isSelected(item)
|
|
43194
|
+
},
|
|
43195
|
+
on: {
|
|
43196
|
+
"click": function ($event) {
|
|
43197
|
+
$event.stopPropagation();
|
|
43198
|
+
return _vm.selectItem(item);
|
|
43199
|
+
}
|
|
43200
|
+
}
|
|
43201
|
+
}) : _vm._e(), item.raw && item.raw.category ? _c('span', {
|
|
43202
|
+
staticClass: "badge badge-primary mr-2"
|
|
43203
|
+
}, [_vm._v(" " + _vm._s(item.raw.category) + " ")]) : _vm._e(), _c('div', {
|
|
43204
|
+
staticClass: "flex-grow-1"
|
|
43205
|
+
}, [_vm.itemFields.length > 0 ? _c('div', {
|
|
43206
|
+
staticClass: "font-weight-400",
|
|
43207
|
+
domProps: {
|
|
43208
|
+
"innerHTML": _vm._s(_vm.formatItemFields(item))
|
|
43209
|
+
}
|
|
43210
|
+
}) : _c('div', {
|
|
43211
|
+
staticClass: "font-weight-400"
|
|
43212
|
+
}, [_vm._v(_vm._s(_vm.getItemText(item)))]), !_vm.itemFields.length && _vm.getItemDescription(item) ? _c('div', {
|
|
43213
|
+
staticClass: "text-muted small mt-1"
|
|
43214
|
+
}, [_vm._v(_vm._s(_vm.getItemDescription(item)))]) : _vm._e()]), _vm.isSelected(item) && !_vm.multiple ? _c('i', {
|
|
43215
|
+
staticClass: "fa fa-check text-primary ml-2"
|
|
43216
|
+
}) : _vm._e()])]);
|
|
43217
|
+
}), 0)]) : _vm._e()]) : _c('div', {
|
|
43218
|
+
staticClass: "autocomplete-wrapper"
|
|
43219
|
+
}, [_c('div', {
|
|
43220
|
+
staticClass: "input-group"
|
|
43221
|
+
}, [_c('div', {
|
|
43222
|
+
staticClass: "form-control autocomplete-chips-container",
|
|
43223
|
+
class: {
|
|
43224
|
+
'is-invalid': _vm.hasError,
|
|
43225
|
+
'form-control-sm': _vm.density === 'compact',
|
|
43226
|
+
'form-control-lg': _vm.density === 'comfortable'
|
|
43227
|
+
}
|
|
43228
|
+
}, [_c('div', {
|
|
43229
|
+
staticClass: "d-flex flex-wrap align-items-center"
|
|
43230
|
+
}, [_vm._l(_vm.visibleChips, function (selectedItem, index) {
|
|
43231
|
+
return [index < _vm.maxVisibleChipsCount ? _c('span', {
|
|
43232
|
+
key: _vm.getItemValue(selectedItem),
|
|
43233
|
+
staticClass: "badge badge-primary mr-1 mb-1 pl-2 autocomplete-chip",
|
|
43234
|
+
attrs: {
|
|
43235
|
+
"title": _vm.getChipText(selectedItem)
|
|
43236
|
+
}
|
|
43237
|
+
}, [_c('span', {
|
|
43238
|
+
staticClass: "autocomplete-chip-text",
|
|
43239
|
+
domProps: {
|
|
43240
|
+
"innerHTML": _vm._s(_vm.getChipText(selectedItem))
|
|
43241
|
+
}
|
|
43242
|
+
}), _c('button', {
|
|
43243
|
+
staticClass: "close ml-1 autocomplete-chip-close",
|
|
43244
|
+
attrs: {
|
|
43245
|
+
"type": "button",
|
|
43246
|
+
"tabindex": "-1",
|
|
43247
|
+
"aria-label": 'Remove ' + _vm.getChipText(selectedItem).replace(/<[^>]*>/g, '')
|
|
43248
|
+
},
|
|
43249
|
+
on: {
|
|
43250
|
+
"click": function ($event) {
|
|
43251
|
+
$event.stopPropagation();
|
|
43252
|
+
_vm.removeItem(_vm.getItemValue(selectedItem));
|
|
43253
|
+
}
|
|
43254
|
+
}
|
|
43255
|
+
}, [_c('span', {
|
|
43256
|
+
attrs: {
|
|
43257
|
+
"aria-hidden": "true"
|
|
43258
|
+
}
|
|
43259
|
+
}, [_vm._v("×")])])]) : _vm._e()];
|
|
43260
|
+
}), _vm.remainingChipsCount > 0 ? _c('span', {
|
|
43261
|
+
staticClass: "badge badge-secondary mr-1 mb-1 pl-2 autocomplete-chip autocomplete-chip-more",
|
|
43262
|
+
attrs: {
|
|
43263
|
+
"title": `${_vm.remainingChipsCount} more selected`
|
|
43264
|
+
}
|
|
43265
|
+
}, [_c('span', {
|
|
43266
|
+
staticClass: "autocomplete-chip-text"
|
|
43267
|
+
}, [_vm._v("+ " + _vm._s(_vm.remainingChipsCount) + " more")])]) : _vm._e(), _c('input', {
|
|
43268
|
+
ref: "input",
|
|
43269
|
+
staticClass: "autocomplete-input-inline",
|
|
43270
|
+
attrs: {
|
|
43271
|
+
"type": "text",
|
|
43272
|
+
"placeholder": _vm.selectedItems.length === 0 ? _vm.placeholder : '',
|
|
43273
|
+
"disabled": _vm.disabled
|
|
43274
|
+
},
|
|
43275
|
+
domProps: {
|
|
43276
|
+
"value": _vm.searchTerm
|
|
43277
|
+
},
|
|
43278
|
+
on: {
|
|
43279
|
+
"input": _vm.onInput,
|
|
43280
|
+
"focus": _vm.onFocus,
|
|
43281
|
+
"blur": _vm.onBlur,
|
|
43282
|
+
"keydown": [function ($event) {
|
|
43283
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) return null;
|
|
43284
|
+
$event.preventDefault();
|
|
43285
|
+
return _vm.handleEnter.apply(null, arguments);
|
|
43286
|
+
}, function ($event) {
|
|
43287
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "arrow-down", undefined, $event.key, undefined)) return null;
|
|
43288
|
+
$event.preventDefault();
|
|
43289
|
+
return _vm.navigateDown.apply(null, arguments);
|
|
43290
|
+
}, function ($event) {
|
|
43291
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "arrow-up", undefined, $event.key, undefined)) return null;
|
|
43292
|
+
$event.preventDefault();
|
|
43293
|
+
return _vm.navigateUp.apply(null, arguments);
|
|
43294
|
+
}, function ($event) {
|
|
43295
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "escape", undefined, $event.key, undefined)) return null;
|
|
43296
|
+
return _vm.closeMenu.apply(null, arguments);
|
|
43297
|
+
}, function ($event) {
|
|
43298
|
+
if (!$event.type.indexOf('key') && _vm._k($event.keyCode, "backspace", undefined, $event.key, undefined)) return null;
|
|
43299
|
+
return _vm.handleBackspace.apply(null, arguments);
|
|
43300
|
+
}]
|
|
43301
|
+
}
|
|
43302
|
+
})], 2)]), _c('div', {
|
|
43303
|
+
staticClass: "input-group-append"
|
|
43304
|
+
}, [_vm.clearable && _vm.currentValue && (Array.isArray(_vm.currentValue) ? _vm.currentValue.length > 0 : true) ? _c('button', {
|
|
43305
|
+
staticClass: "btn btn-outline-secondary",
|
|
43306
|
+
attrs: {
|
|
43307
|
+
"type": "button",
|
|
43308
|
+
"tabindex": "-1"
|
|
43309
|
+
},
|
|
43310
|
+
on: {
|
|
43311
|
+
"click": _vm.clearSelection
|
|
43312
|
+
}
|
|
43313
|
+
}, [_c('i', {
|
|
43314
|
+
staticClass: "fa fa-times"
|
|
43315
|
+
})]) : _vm._e(), _c('button', {
|
|
43316
|
+
staticClass: "btn btn-outline-secondary dropdown-toggle",
|
|
43317
|
+
class: {
|
|
43318
|
+
'active': _vm.isMenuOpen
|
|
43319
|
+
},
|
|
43320
|
+
attrs: {
|
|
43321
|
+
"type": "button",
|
|
43322
|
+
"tabindex": "-1"
|
|
43323
|
+
},
|
|
43324
|
+
on: {
|
|
43325
|
+
"click": _vm.toggleMenu
|
|
43326
|
+
}
|
|
43327
|
+
}, [_c('i', {
|
|
43328
|
+
staticClass: "fa",
|
|
43329
|
+
class: _vm.loading ? 'fa-spinner fa-spin' : 'fa-chevron-down'
|
|
43330
|
+
})])])]), _vm.isMenuOpen ? _c('div', {
|
|
43331
|
+
ref: "menu",
|
|
43332
|
+
staticClass: "autocomplete-menu",
|
|
43333
|
+
style: {
|
|
43334
|
+
maxHeight: _vm.menuMaxHeight + 'px'
|
|
43335
|
+
},
|
|
43336
|
+
on: {
|
|
43337
|
+
"scroll": _vm.onMenuScroll
|
|
43338
|
+
}
|
|
43339
|
+
}, [_vm.hasActionButtons ? _c('div', {
|
|
43340
|
+
staticClass: "autocomplete-actions p-2 border-bottom"
|
|
43341
|
+
}, [_c('div', {
|
|
43342
|
+
staticClass: "d-flex flex-wrap gap-1"
|
|
43343
|
+
}, [_vm.actionButtons.selectAll ? _c('button', {
|
|
43344
|
+
staticClass: "btn btn-sm btn-outline-primary",
|
|
43345
|
+
attrs: {
|
|
43346
|
+
"type": "button",
|
|
43347
|
+
"disabled": _vm.disabled || _vm.allSelected
|
|
43348
|
+
},
|
|
43349
|
+
on: {
|
|
43350
|
+
"click": function ($event) {
|
|
43351
|
+
$event.stopPropagation();
|
|
43352
|
+
$event.preventDefault();
|
|
43353
|
+
return _vm.selectAll($event);
|
|
43354
|
+
}
|
|
43355
|
+
}
|
|
43356
|
+
}, [_c('i', {
|
|
43357
|
+
staticClass: "fa fa-check-square mr-1"
|
|
43358
|
+
}), _vm._v(" Select All ")]) : _vm._e(), _vm.actionButtons.active ? _c('button', {
|
|
43359
|
+
staticClass: "btn btn-sm btn-outline-success",
|
|
43360
|
+
class: {
|
|
43361
|
+
'active': _vm.filterStatus === 'active'
|
|
43362
|
+
},
|
|
43363
|
+
attrs: {
|
|
43364
|
+
"type": "button",
|
|
43365
|
+
"disabled": _vm.disabled
|
|
43366
|
+
},
|
|
43367
|
+
on: {
|
|
43368
|
+
"click": function ($event) {
|
|
43369
|
+
return _vm.filterByStatus('active');
|
|
43370
|
+
}
|
|
43371
|
+
}
|
|
43372
|
+
}, [_c('i', {
|
|
43373
|
+
staticClass: "fa fa-check-circle mr-1"
|
|
43374
|
+
}), _vm._v(" Active ")]) : _vm._e(), _vm.actionButtons.inactive ? _c('button', {
|
|
43375
|
+
staticClass: "btn btn-sm btn-outline-secondary",
|
|
43376
|
+
class: {
|
|
43377
|
+
'active': _vm.filterStatus === 'inactive'
|
|
43378
|
+
},
|
|
43379
|
+
attrs: {
|
|
43380
|
+
"type": "button",
|
|
43381
|
+
"disabled": _vm.disabled
|
|
43382
|
+
},
|
|
43383
|
+
on: {
|
|
43384
|
+
"click": function ($event) {
|
|
43385
|
+
return _vm.filterByStatus('inactive');
|
|
43386
|
+
}
|
|
43387
|
+
}
|
|
43388
|
+
}, [_c('i', {
|
|
43389
|
+
staticClass: "fa fa-times-circle mr-1"
|
|
43390
|
+
}), _vm._v(" Inactive ")]) : _vm._e(), _vm.actionButtons.clear ? _c('button', {
|
|
43391
|
+
staticClass: "btn btn-sm btn-outline-danger",
|
|
43392
|
+
attrs: {
|
|
43393
|
+
"type": "button",
|
|
43394
|
+
"disabled": _vm.disabled || !_vm.hasSelectedItems
|
|
43395
|
+
},
|
|
43396
|
+
on: {
|
|
43397
|
+
"click": _vm.clearSelection
|
|
43398
|
+
}
|
|
43399
|
+
}, [_c('i', {
|
|
43400
|
+
staticClass: "fa fa-times mr-1"
|
|
43401
|
+
}), _vm._v(" Clear ")]) : _vm._e()])]) : _vm._e(), _vm.loading && !_vm.hasItems ? _c('div', {
|
|
43402
|
+
staticClass: "autocomplete-loading"
|
|
43403
|
+
}, [_vm._m(1), _c('div', {
|
|
43404
|
+
staticClass: "mt-2 text-muted small"
|
|
43405
|
+
}, [_vm._v("Loading...")])]) : !_vm.loading && !_vm.hasItems && _vm.searchTerm.length >= _vm.minSearchLength ? _c('div', {
|
|
43406
|
+
staticClass: "autocomplete-no-data"
|
|
43407
|
+
}, [_c('i', {
|
|
43408
|
+
staticClass: "fa fa-search text-muted",
|
|
43409
|
+
staticStyle: {
|
|
43410
|
+
"font-size": "2rem"
|
|
43411
|
+
}
|
|
43412
|
+
}), _c('div', {
|
|
43413
|
+
staticClass: "mt-2 text-muted"
|
|
43414
|
+
}, [_vm._v(_vm._s(_vm.noDataText))]), _c('div', {
|
|
43415
|
+
staticClass: "text-muted small"
|
|
43416
|
+
}, [_vm._v("Try adjusting your search terms")])]) : _vm.hasGrouping ? _c('div', {
|
|
43417
|
+
staticClass: "autocomplete-grouped"
|
|
43418
|
+
}, _vm._l(_vm.paginatedGroupedItems, function (group, groupIndex) {
|
|
43419
|
+
return _c('div', {
|
|
43420
|
+
key: group.group || groupIndex,
|
|
43421
|
+
staticClass: "autocomplete-group"
|
|
43422
|
+
}, [_c('div', {
|
|
43423
|
+
staticClass: "autocomplete-group-header"
|
|
43424
|
+
}, [_vm.groupFields.length > 0 ? _c('div', {
|
|
43425
|
+
staticClass: "d-flex flex-column"
|
|
43426
|
+
}, [_c('div', {
|
|
43427
|
+
staticClass: "font-weight-bold font-14"
|
|
43428
|
+
}, [_vm._v(_vm._s(group.group))]), _vm.groupFields.length > 1 ? _c('div', {
|
|
43429
|
+
staticClass: "small text-muted mt-1"
|
|
43430
|
+
}, _vm._l(_vm.groupFields, function (field, idx) {
|
|
43431
|
+
return _c('span', {
|
|
43432
|
+
key: field
|
|
43433
|
+
}, [idx > 0 ? _c('span', [_vm._v(" • ")]) : _vm._e(), _vm.getGroupFieldValue(group, field) ? _c('span', [_vm._v(_vm._s(field) + ": " + _vm._s(_vm.getGroupFieldValue(group, field)))]) : _vm._e()]);
|
|
43434
|
+
}), 0) : _vm._e()]) : _c('div', [_vm._v(_vm._s(group.group))])]), _c('ul', {
|
|
43435
|
+
staticClass: "list-group list-group-flush"
|
|
43436
|
+
}, _vm._l(group.items, function (item, itemIndex) {
|
|
43437
|
+
return _c('li', {
|
|
43438
|
+
key: _vm.getItemValue(item),
|
|
43439
|
+
staticClass: "list-group-item autocomplete-item",
|
|
43440
|
+
class: {
|
|
43441
|
+
'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
|
|
43442
|
+
'selected': _vm.isSelected(item)
|
|
43443
|
+
},
|
|
43444
|
+
staticStyle: {
|
|
43445
|
+
"cursor": "pointer"
|
|
43446
|
+
},
|
|
43447
|
+
on: {
|
|
43448
|
+
"click": function ($event) {
|
|
43449
|
+
$event.preventDefault();
|
|
43450
|
+
return _vm.selectItem(item, $event);
|
|
43451
|
+
},
|
|
43452
|
+
"mouseenter": function ($event) {
|
|
43453
|
+
_vm.highlightedIndex = _vm.getFlatIndex(groupIndex, itemIndex);
|
|
43454
|
+
}
|
|
43455
|
+
}
|
|
43456
|
+
}, [_c('div', {
|
|
43457
|
+
staticClass: "d-flex align-items-center"
|
|
43458
|
+
}, [_vm.multiple ? _c('div', {
|
|
43459
|
+
staticClass: "autocomplete-checkbox-wrapper mr-2"
|
|
43460
|
+
}, [_c('input', {
|
|
43461
|
+
staticClass: "autocomplete-checkbox",
|
|
43462
|
+
attrs: {
|
|
43463
|
+
"type": "checkbox",
|
|
43464
|
+
"tabindex": "-1"
|
|
43465
|
+
},
|
|
43466
|
+
domProps: {
|
|
43467
|
+
"checked": _vm.isSelected(item)
|
|
43468
|
+
},
|
|
43469
|
+
on: {
|
|
43470
|
+
"click": function ($event) {
|
|
43471
|
+
$event.stopPropagation();
|
|
43472
|
+
return _vm.selectItem(item, $event);
|
|
43473
|
+
}
|
|
43474
|
+
}
|
|
43475
|
+
}), _c('i', {
|
|
43476
|
+
staticClass: "fa fa-check autocomplete-check-icon"
|
|
43477
|
+
})]) : _vm._e(), item.raw && item.raw.category ? _c('span', {
|
|
43478
|
+
staticClass: "badge badge-secondary mr-2",
|
|
43479
|
+
staticStyle: {
|
|
43480
|
+
"font-size": "0.75rem"
|
|
43481
|
+
}
|
|
43482
|
+
}, [_vm._v(" " + _vm._s(item.raw.category) + " ")]) : _vm._e(), _c('div', {
|
|
43483
|
+
staticClass: "flex-grow-1"
|
|
43484
|
+
}, [_vm.itemFields.length > 0 ? _c('div', {
|
|
43485
|
+
staticClass: "font-weight-400",
|
|
43486
|
+
class: {
|
|
43487
|
+
'text-dark': _vm.isSelected(item)
|
|
43488
|
+
},
|
|
43489
|
+
domProps: {
|
|
43490
|
+
"innerHTML": _vm._s(_vm.formatItemFields(item))
|
|
43491
|
+
}
|
|
43492
|
+
}) : _c('div', {
|
|
43493
|
+
staticClass: "font-weight-400",
|
|
43494
|
+
class: {
|
|
43495
|
+
'text-dark': _vm.isSelected(item)
|
|
43496
|
+
}
|
|
43497
|
+
}, [_vm._v(_vm._s(_vm.getItemText(item)))]), !_vm.itemFields.length && _vm.getItemDescription(item) ? _c('div', {
|
|
43498
|
+
staticClass: "text-muted small mt-1"
|
|
43499
|
+
}, [_vm._v(_vm._s(_vm.getItemDescription(item)))]) : _vm._e()]), _vm.isSelected(item) && !_vm.multiple ? _c('i', {
|
|
43500
|
+
staticClass: "fa fa-check text-success ml-2",
|
|
43501
|
+
staticStyle: {
|
|
43502
|
+
"font-size": "1.1rem"
|
|
43503
|
+
}
|
|
43504
|
+
}) : _vm._e()])]);
|
|
43505
|
+
}), 0)]);
|
|
43506
|
+
}), 0) : _c('ul', {
|
|
43507
|
+
staticClass: "list-group list-group-flush"
|
|
43508
|
+
}, _vm._l(_vm.paginatedDisplayItems, function (item, index) {
|
|
43509
|
+
return _c('li', {
|
|
43510
|
+
key: _vm.getItemValue(item),
|
|
43511
|
+
staticClass: "list-group-item autocomplete-item",
|
|
43512
|
+
class: {
|
|
43513
|
+
'active': index === _vm.highlightedIndex,
|
|
43514
|
+
'selected': _vm.isSelected(item)
|
|
43515
|
+
},
|
|
43516
|
+
staticStyle: {
|
|
43517
|
+
"cursor": "pointer"
|
|
43518
|
+
},
|
|
43519
|
+
on: {
|
|
43520
|
+
"click": function ($event) {
|
|
43521
|
+
$event.preventDefault();
|
|
43522
|
+
return _vm.selectItem(item, $event);
|
|
43523
|
+
},
|
|
43524
|
+
"mouseenter": function ($event) {
|
|
43525
|
+
_vm.highlightedIndex = index;
|
|
43526
|
+
}
|
|
43527
|
+
}
|
|
43528
|
+
}, [_c('div', {
|
|
43529
|
+
staticClass: "d-flex align-items-center"
|
|
43530
|
+
}, [_vm.multiple ? _c('input', {
|
|
43531
|
+
staticClass: "mr-2",
|
|
43532
|
+
attrs: {
|
|
43533
|
+
"type": "checkbox",
|
|
43534
|
+
"tabindex": "-1"
|
|
43535
|
+
},
|
|
43536
|
+
domProps: {
|
|
43537
|
+
"checked": _vm.isSelected(item)
|
|
43538
|
+
},
|
|
43539
|
+
on: {
|
|
43540
|
+
"click": function ($event) {
|
|
43541
|
+
$event.stopPropagation();
|
|
43542
|
+
return _vm.selectItem(item);
|
|
43543
|
+
}
|
|
43544
|
+
}
|
|
43545
|
+
}) : _vm._e(), item.raw && item.raw.category ? _c('span', {
|
|
43546
|
+
staticClass: "badge badge-primary mr-2"
|
|
43547
|
+
}, [_vm._v(" " + _vm._s(item.raw.category) + " ")]) : _vm._e(), _c('div', {
|
|
43548
|
+
staticClass: "flex-grow-1"
|
|
43549
|
+
}, [_vm.itemFields.length > 0 ? _c('div', {
|
|
43550
|
+
staticClass: "font-weight-400",
|
|
43551
|
+
domProps: {
|
|
43552
|
+
"innerHTML": _vm._s(_vm.formatItemFields(item))
|
|
43553
|
+
}
|
|
43554
|
+
}) : _c('div', {
|
|
43555
|
+
staticClass: "font-weight-400"
|
|
43556
|
+
}, [_vm._v(_vm._s(_vm.getItemText(item)))]), !_vm.itemFields.length && _vm.getItemDescription(item) ? _c('div', {
|
|
43557
|
+
staticClass: "text-muted small mt-1"
|
|
43558
|
+
}, [_vm._v(_vm._s(_vm.getItemDescription(item)))]) : _vm._e()]), _vm.isSelected(item) && !_vm.multiple ? _c('i', {
|
|
43559
|
+
staticClass: "fa fa-check text-primary ml-2"
|
|
43560
|
+
}) : _vm._e()])]);
|
|
43561
|
+
}), 0)]) : _vm._e()]), !_vm.hideDetails && _vm.hasError ? _c('div', {
|
|
43562
|
+
staticClass: "invalid-feedback d-block"
|
|
43563
|
+
}, _vm._l(_vm.errorMessagesArray, function (error, index) {
|
|
43564
|
+
return _c('div', {
|
|
43565
|
+
key: index
|
|
43566
|
+
}, [_vm._v(_vm._s(error))]);
|
|
43567
|
+
}), 0) : _vm._e()]);
|
|
43568
|
+
};
|
|
43569
|
+
var Autocompletevue_type_template_id_77f413d4_scoped_true_staticRenderFns = [function () {
|
|
43570
|
+
var _vm = this,
|
|
43571
|
+
_c = _vm._self._c;
|
|
43572
|
+
return _c('div', {
|
|
43573
|
+
staticClass: "spinner-border spinner-border-sm text-primary",
|
|
43574
|
+
attrs: {
|
|
43575
|
+
"role": "status"
|
|
43576
|
+
}
|
|
43577
|
+
}, [_c('span', {
|
|
43578
|
+
staticClass: "sr-only"
|
|
43579
|
+
}, [_vm._v("Loading...")])]);
|
|
43580
|
+
}, function () {
|
|
43581
|
+
var _vm = this,
|
|
43582
|
+
_c = _vm._self._c;
|
|
43583
|
+
return _c('div', {
|
|
43584
|
+
staticClass: "spinner-border spinner-border-sm text-primary",
|
|
43585
|
+
attrs: {
|
|
43586
|
+
"role": "status"
|
|
43587
|
+
}
|
|
43588
|
+
}, [_c('span', {
|
|
43589
|
+
staticClass: "sr-only"
|
|
43590
|
+
}, [_vm._v("Loading...")])]);
|
|
43591
|
+
}];
|
|
42168
43592
|
|
|
42169
43593
|
// CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=77f413d4&scoped=true
|
|
42170
43594
|
|
|
@@ -42218,414 +43642,6 @@ var es_set_union_v2 = __webpack_require__("72c3");
|
|
|
42218
43642
|
|
|
42219
43643
|
|
|
42220
43644
|
|
|
42221
|
-
//
|
|
42222
|
-
//
|
|
42223
|
-
//
|
|
42224
|
-
//
|
|
42225
|
-
//
|
|
42226
|
-
//
|
|
42227
|
-
//
|
|
42228
|
-
//
|
|
42229
|
-
//
|
|
42230
|
-
//
|
|
42231
|
-
//
|
|
42232
|
-
//
|
|
42233
|
-
//
|
|
42234
|
-
//
|
|
42235
|
-
//
|
|
42236
|
-
//
|
|
42237
|
-
//
|
|
42238
|
-
//
|
|
42239
|
-
//
|
|
42240
|
-
//
|
|
42241
|
-
//
|
|
42242
|
-
//
|
|
42243
|
-
//
|
|
42244
|
-
//
|
|
42245
|
-
//
|
|
42246
|
-
//
|
|
42247
|
-
//
|
|
42248
|
-
//
|
|
42249
|
-
//
|
|
42250
|
-
//
|
|
42251
|
-
//
|
|
42252
|
-
//
|
|
42253
|
-
//
|
|
42254
|
-
//
|
|
42255
|
-
//
|
|
42256
|
-
//
|
|
42257
|
-
//
|
|
42258
|
-
//
|
|
42259
|
-
//
|
|
42260
|
-
//
|
|
42261
|
-
//
|
|
42262
|
-
//
|
|
42263
|
-
//
|
|
42264
|
-
//
|
|
42265
|
-
//
|
|
42266
|
-
//
|
|
42267
|
-
//
|
|
42268
|
-
//
|
|
42269
|
-
//
|
|
42270
|
-
//
|
|
42271
|
-
//
|
|
42272
|
-
//
|
|
42273
|
-
//
|
|
42274
|
-
//
|
|
42275
|
-
//
|
|
42276
|
-
//
|
|
42277
|
-
//
|
|
42278
|
-
//
|
|
42279
|
-
//
|
|
42280
|
-
//
|
|
42281
|
-
//
|
|
42282
|
-
//
|
|
42283
|
-
//
|
|
42284
|
-
//
|
|
42285
|
-
//
|
|
42286
|
-
//
|
|
42287
|
-
//
|
|
42288
|
-
//
|
|
42289
|
-
//
|
|
42290
|
-
//
|
|
42291
|
-
//
|
|
42292
|
-
//
|
|
42293
|
-
//
|
|
42294
|
-
//
|
|
42295
|
-
//
|
|
42296
|
-
//
|
|
42297
|
-
//
|
|
42298
|
-
//
|
|
42299
|
-
//
|
|
42300
|
-
//
|
|
42301
|
-
//
|
|
42302
|
-
//
|
|
42303
|
-
//
|
|
42304
|
-
//
|
|
42305
|
-
//
|
|
42306
|
-
//
|
|
42307
|
-
//
|
|
42308
|
-
//
|
|
42309
|
-
//
|
|
42310
|
-
//
|
|
42311
|
-
//
|
|
42312
|
-
//
|
|
42313
|
-
//
|
|
42314
|
-
//
|
|
42315
|
-
//
|
|
42316
|
-
//
|
|
42317
|
-
//
|
|
42318
|
-
//
|
|
42319
|
-
//
|
|
42320
|
-
//
|
|
42321
|
-
//
|
|
42322
|
-
//
|
|
42323
|
-
//
|
|
42324
|
-
//
|
|
42325
|
-
//
|
|
42326
|
-
//
|
|
42327
|
-
//
|
|
42328
|
-
//
|
|
42329
|
-
//
|
|
42330
|
-
//
|
|
42331
|
-
//
|
|
42332
|
-
//
|
|
42333
|
-
//
|
|
42334
|
-
//
|
|
42335
|
-
//
|
|
42336
|
-
//
|
|
42337
|
-
//
|
|
42338
|
-
//
|
|
42339
|
-
//
|
|
42340
|
-
//
|
|
42341
|
-
//
|
|
42342
|
-
//
|
|
42343
|
-
//
|
|
42344
|
-
//
|
|
42345
|
-
//
|
|
42346
|
-
//
|
|
42347
|
-
//
|
|
42348
|
-
//
|
|
42349
|
-
//
|
|
42350
|
-
//
|
|
42351
|
-
//
|
|
42352
|
-
//
|
|
42353
|
-
//
|
|
42354
|
-
//
|
|
42355
|
-
//
|
|
42356
|
-
//
|
|
42357
|
-
//
|
|
42358
|
-
//
|
|
42359
|
-
//
|
|
42360
|
-
//
|
|
42361
|
-
//
|
|
42362
|
-
//
|
|
42363
|
-
//
|
|
42364
|
-
//
|
|
42365
|
-
//
|
|
42366
|
-
//
|
|
42367
|
-
//
|
|
42368
|
-
//
|
|
42369
|
-
//
|
|
42370
|
-
//
|
|
42371
|
-
//
|
|
42372
|
-
//
|
|
42373
|
-
//
|
|
42374
|
-
//
|
|
42375
|
-
//
|
|
42376
|
-
//
|
|
42377
|
-
//
|
|
42378
|
-
//
|
|
42379
|
-
//
|
|
42380
|
-
//
|
|
42381
|
-
//
|
|
42382
|
-
//
|
|
42383
|
-
//
|
|
42384
|
-
//
|
|
42385
|
-
//
|
|
42386
|
-
//
|
|
42387
|
-
//
|
|
42388
|
-
//
|
|
42389
|
-
//
|
|
42390
|
-
//
|
|
42391
|
-
//
|
|
42392
|
-
//
|
|
42393
|
-
//
|
|
42394
|
-
//
|
|
42395
|
-
//
|
|
42396
|
-
//
|
|
42397
|
-
//
|
|
42398
|
-
//
|
|
42399
|
-
//
|
|
42400
|
-
//
|
|
42401
|
-
//
|
|
42402
|
-
//
|
|
42403
|
-
//
|
|
42404
|
-
//
|
|
42405
|
-
//
|
|
42406
|
-
//
|
|
42407
|
-
//
|
|
42408
|
-
//
|
|
42409
|
-
//
|
|
42410
|
-
//
|
|
42411
|
-
//
|
|
42412
|
-
//
|
|
42413
|
-
//
|
|
42414
|
-
//
|
|
42415
|
-
//
|
|
42416
|
-
//
|
|
42417
|
-
//
|
|
42418
|
-
//
|
|
42419
|
-
//
|
|
42420
|
-
//
|
|
42421
|
-
//
|
|
42422
|
-
//
|
|
42423
|
-
//
|
|
42424
|
-
//
|
|
42425
|
-
//
|
|
42426
|
-
//
|
|
42427
|
-
//
|
|
42428
|
-
//
|
|
42429
|
-
//
|
|
42430
|
-
//
|
|
42431
|
-
//
|
|
42432
|
-
//
|
|
42433
|
-
//
|
|
42434
|
-
//
|
|
42435
|
-
//
|
|
42436
|
-
//
|
|
42437
|
-
//
|
|
42438
|
-
//
|
|
42439
|
-
//
|
|
42440
|
-
//
|
|
42441
|
-
//
|
|
42442
|
-
//
|
|
42443
|
-
//
|
|
42444
|
-
//
|
|
42445
|
-
//
|
|
42446
|
-
//
|
|
42447
|
-
//
|
|
42448
|
-
//
|
|
42449
|
-
//
|
|
42450
|
-
//
|
|
42451
|
-
//
|
|
42452
|
-
//
|
|
42453
|
-
//
|
|
42454
|
-
//
|
|
42455
|
-
//
|
|
42456
|
-
//
|
|
42457
|
-
//
|
|
42458
|
-
//
|
|
42459
|
-
//
|
|
42460
|
-
//
|
|
42461
|
-
//
|
|
42462
|
-
//
|
|
42463
|
-
//
|
|
42464
|
-
//
|
|
42465
|
-
//
|
|
42466
|
-
//
|
|
42467
|
-
//
|
|
42468
|
-
//
|
|
42469
|
-
//
|
|
42470
|
-
//
|
|
42471
|
-
//
|
|
42472
|
-
//
|
|
42473
|
-
//
|
|
42474
|
-
//
|
|
42475
|
-
//
|
|
42476
|
-
//
|
|
42477
|
-
//
|
|
42478
|
-
//
|
|
42479
|
-
//
|
|
42480
|
-
//
|
|
42481
|
-
//
|
|
42482
|
-
//
|
|
42483
|
-
//
|
|
42484
|
-
//
|
|
42485
|
-
//
|
|
42486
|
-
//
|
|
42487
|
-
//
|
|
42488
|
-
//
|
|
42489
|
-
//
|
|
42490
|
-
//
|
|
42491
|
-
//
|
|
42492
|
-
//
|
|
42493
|
-
//
|
|
42494
|
-
//
|
|
42495
|
-
//
|
|
42496
|
-
//
|
|
42497
|
-
//
|
|
42498
|
-
//
|
|
42499
|
-
//
|
|
42500
|
-
//
|
|
42501
|
-
//
|
|
42502
|
-
//
|
|
42503
|
-
//
|
|
42504
|
-
//
|
|
42505
|
-
//
|
|
42506
|
-
//
|
|
42507
|
-
//
|
|
42508
|
-
//
|
|
42509
|
-
//
|
|
42510
|
-
//
|
|
42511
|
-
//
|
|
42512
|
-
//
|
|
42513
|
-
//
|
|
42514
|
-
//
|
|
42515
|
-
//
|
|
42516
|
-
//
|
|
42517
|
-
//
|
|
42518
|
-
//
|
|
42519
|
-
//
|
|
42520
|
-
//
|
|
42521
|
-
//
|
|
42522
|
-
//
|
|
42523
|
-
//
|
|
42524
|
-
//
|
|
42525
|
-
//
|
|
42526
|
-
//
|
|
42527
|
-
//
|
|
42528
|
-
//
|
|
42529
|
-
//
|
|
42530
|
-
//
|
|
42531
|
-
//
|
|
42532
|
-
//
|
|
42533
|
-
//
|
|
42534
|
-
//
|
|
42535
|
-
//
|
|
42536
|
-
//
|
|
42537
|
-
//
|
|
42538
|
-
//
|
|
42539
|
-
//
|
|
42540
|
-
//
|
|
42541
|
-
//
|
|
42542
|
-
//
|
|
42543
|
-
//
|
|
42544
|
-
//
|
|
42545
|
-
//
|
|
42546
|
-
//
|
|
42547
|
-
//
|
|
42548
|
-
//
|
|
42549
|
-
//
|
|
42550
|
-
//
|
|
42551
|
-
//
|
|
42552
|
-
//
|
|
42553
|
-
//
|
|
42554
|
-
//
|
|
42555
|
-
//
|
|
42556
|
-
//
|
|
42557
|
-
//
|
|
42558
|
-
//
|
|
42559
|
-
//
|
|
42560
|
-
//
|
|
42561
|
-
//
|
|
42562
|
-
//
|
|
42563
|
-
//
|
|
42564
|
-
//
|
|
42565
|
-
//
|
|
42566
|
-
//
|
|
42567
|
-
//
|
|
42568
|
-
//
|
|
42569
|
-
//
|
|
42570
|
-
//
|
|
42571
|
-
//
|
|
42572
|
-
//
|
|
42573
|
-
//
|
|
42574
|
-
//
|
|
42575
|
-
//
|
|
42576
|
-
//
|
|
42577
|
-
//
|
|
42578
|
-
//
|
|
42579
|
-
//
|
|
42580
|
-
//
|
|
42581
|
-
//
|
|
42582
|
-
//
|
|
42583
|
-
//
|
|
42584
|
-
//
|
|
42585
|
-
//
|
|
42586
|
-
//
|
|
42587
|
-
//
|
|
42588
|
-
//
|
|
42589
|
-
//
|
|
42590
|
-
//
|
|
42591
|
-
//
|
|
42592
|
-
//
|
|
42593
|
-
//
|
|
42594
|
-
//
|
|
42595
|
-
//
|
|
42596
|
-
//
|
|
42597
|
-
//
|
|
42598
|
-
//
|
|
42599
|
-
//
|
|
42600
|
-
//
|
|
42601
|
-
//
|
|
42602
|
-
//
|
|
42603
|
-
//
|
|
42604
|
-
//
|
|
42605
|
-
//
|
|
42606
|
-
//
|
|
42607
|
-
//
|
|
42608
|
-
//
|
|
42609
|
-
//
|
|
42610
|
-
//
|
|
42611
|
-
//
|
|
42612
|
-
//
|
|
42613
|
-
//
|
|
42614
|
-
//
|
|
42615
|
-
//
|
|
42616
|
-
//
|
|
42617
|
-
//
|
|
42618
|
-
//
|
|
42619
|
-
//
|
|
42620
|
-
//
|
|
42621
|
-
//
|
|
42622
|
-
//
|
|
42623
|
-
//
|
|
42624
|
-
//
|
|
42625
|
-
//
|
|
42626
|
-
//
|
|
42627
|
-
//
|
|
42628
|
-
|
|
42629
43645
|
/* harmony default export */ var Autocompletevue_type_script_lang_js = ({
|
|
42630
43646
|
name: 'Autocomplete',
|
|
42631
43647
|
// Vue 2 v-model uses value/input by default
|
|
@@ -43478,47 +44494,6 @@ var Autocomplete_component = normalizeComponent(
|
|
|
43478
44494
|
|
|
43479
44495
|
|
|
43480
44496
|
|
|
43481
|
-
//
|
|
43482
|
-
//
|
|
43483
|
-
//
|
|
43484
|
-
//
|
|
43485
|
-
//
|
|
43486
|
-
//
|
|
43487
|
-
//
|
|
43488
|
-
//
|
|
43489
|
-
//
|
|
43490
|
-
//
|
|
43491
|
-
//
|
|
43492
|
-
//
|
|
43493
|
-
//
|
|
43494
|
-
//
|
|
43495
|
-
//
|
|
43496
|
-
//
|
|
43497
|
-
//
|
|
43498
|
-
//
|
|
43499
|
-
//
|
|
43500
|
-
//
|
|
43501
|
-
//
|
|
43502
|
-
//
|
|
43503
|
-
//
|
|
43504
|
-
//
|
|
43505
|
-
//
|
|
43506
|
-
//
|
|
43507
|
-
//
|
|
43508
|
-
//
|
|
43509
|
-
//
|
|
43510
|
-
//
|
|
43511
|
-
//
|
|
43512
|
-
//
|
|
43513
|
-
//
|
|
43514
|
-
//
|
|
43515
|
-
//
|
|
43516
|
-
//
|
|
43517
|
-
//
|
|
43518
|
-
//
|
|
43519
|
-
//
|
|
43520
|
-
//
|
|
43521
|
-
|
|
43522
44497
|
|
|
43523
44498
|
//import { lookupService } from '../../services/locateBillingService'
|
|
43524
44499
|
|
|
@@ -44346,22 +45321,216 @@ var SearchableSelectField_component = normalizeComponent(
|
|
|
44346
45321
|
)
|
|
44347
45322
|
|
|
44348
45323
|
/* harmony default export */ var SearchableSelectField = (SearchableSelectField_component.exports);
|
|
44349
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44350
|
-
var DateRangeFieldvue_type_template_id_df92df88_render = function () {
|
|
44351
|
-
var
|
|
44352
|
-
|
|
44353
|
-
|
|
44354
|
-
|
|
44355
|
-
|
|
44356
|
-
|
|
44357
|
-
|
|
44358
|
-
|
|
44359
|
-
|
|
44360
|
-
|
|
44361
|
-
|
|
44362
|
-
|
|
44363
|
-
|
|
44364
|
-
|
|
45324
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DateRangeField.vue?vue&type=template&id=df92df88
|
|
45325
|
+
var DateRangeFieldvue_type_template_id_df92df88_render = function render() {
|
|
45326
|
+
var _vm = this,
|
|
45327
|
+
_c = _vm._self._c;
|
|
45328
|
+
return _c('div', {
|
|
45329
|
+
staticClass: "row"
|
|
45330
|
+
}, [_c('Field', {
|
|
45331
|
+
attrs: {
|
|
45332
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
45333
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
45334
|
+
"rules": _vm.fieldInfo.validationRules
|
|
45335
|
+
},
|
|
45336
|
+
scopedSlots: _vm._u([{
|
|
45337
|
+
key: "default",
|
|
45338
|
+
fn: function ({
|
|
45339
|
+
errors
|
|
45340
|
+
}) {
|
|
45341
|
+
return [_c('div', {
|
|
45342
|
+
staticClass: "col-6 float-left"
|
|
45343
|
+
}, [_c('div', {
|
|
45344
|
+
staticClass: "input-group"
|
|
45345
|
+
}, [_c('DatePicker', {
|
|
45346
|
+
class: {
|
|
45347
|
+
'input-group w-100': true,
|
|
45348
|
+
'is-invalid': errors[0]
|
|
45349
|
+
},
|
|
45350
|
+
staticStyle: {
|
|
45351
|
+
"flex-wrap": "nowrap"
|
|
45352
|
+
},
|
|
45353
|
+
attrs: {
|
|
45354
|
+
"locale": _vm.lang,
|
|
45355
|
+
"is24hr": _vm.is24hr,
|
|
45356
|
+
"mode": _vm.mode,
|
|
45357
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
45358
|
+
"masks": _vm.masks,
|
|
45359
|
+
"popover": _vm.popover,
|
|
45360
|
+
"min-date": _vm.getMinmumDate(_vm.fieldInfo, 'from'),
|
|
45361
|
+
"max-date": _vm.getMaxDate(_vm.fieldInfo, 'from'),
|
|
45362
|
+
"minute-increment": _vm.minuteIncrement
|
|
45363
|
+
},
|
|
45364
|
+
on: {
|
|
45365
|
+
"input": function ($event) {
|
|
45366
|
+
return _vm.onChange($event, _vm.inputValue, 'from');
|
|
45367
|
+
}
|
|
45368
|
+
},
|
|
45369
|
+
scopedSlots: _vm._u([{
|
|
45370
|
+
key: "default",
|
|
45371
|
+
fn: function ({
|
|
45372
|
+
inputValue,
|
|
45373
|
+
inputEvents,
|
|
45374
|
+
togglePopover,
|
|
45375
|
+
hidePopover
|
|
45376
|
+
}) {
|
|
45377
|
+
return [_c('input', _vm._g({
|
|
45378
|
+
ref: 'inputDatePicker' + _vm.fieldInfo.name,
|
|
45379
|
+
class: {
|
|
45380
|
+
'form-control w-100': true,
|
|
45381
|
+
'is-invalid': errors[0]
|
|
45382
|
+
},
|
|
45383
|
+
attrs: {
|
|
45384
|
+
"autocomplete": "off",
|
|
45385
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
45386
|
+
"name": _vm.fieldInfo.name,
|
|
45387
|
+
"placeholder": _vm.getPlaceholderforAnyField(_vm.fieldInfo, 'from')
|
|
45388
|
+
},
|
|
45389
|
+
domProps: {
|
|
45390
|
+
"value": inputValue
|
|
45391
|
+
},
|
|
45392
|
+
on: {
|
|
45393
|
+
"blur": function ($event) {
|
|
45394
|
+
return _vm.onBlur($event, inputValue, hidePopover, 'from');
|
|
45395
|
+
}
|
|
45396
|
+
}
|
|
45397
|
+
}, inputEvents)), _c('div', {
|
|
45398
|
+
staticClass: "input-group-append"
|
|
45399
|
+
}, [_c('span', {
|
|
45400
|
+
staticClass: "input-group-text",
|
|
45401
|
+
on: {
|
|
45402
|
+
"click": function ($event) {
|
|
45403
|
+
!_vm.fieldInfo.disabled ? togglePopover() : function () {};
|
|
45404
|
+
},
|
|
45405
|
+
"blur": function ($event) {
|
|
45406
|
+
return _vm.onBlur($event, _vm.field, hidePopover, 'from');
|
|
45407
|
+
},
|
|
45408
|
+
"change": function ($event) {
|
|
45409
|
+
return _vm.onChange($event, null, 'from');
|
|
45410
|
+
}
|
|
45411
|
+
}
|
|
45412
|
+
}, [_c('i', {
|
|
45413
|
+
class: {
|
|
45414
|
+
'fa': true,
|
|
45415
|
+
'fa-calendar': _vm.mode == 'dateTime' || _vm.mode == 'date',
|
|
45416
|
+
'fa-clock-o': _vm.mode == 'time'
|
|
45417
|
+
}
|
|
45418
|
+
})])])];
|
|
45419
|
+
}
|
|
45420
|
+
}], null, true),
|
|
45421
|
+
model: {
|
|
45422
|
+
value: _vm.fieldInfo.value,
|
|
45423
|
+
callback: function ($$v) {
|
|
45424
|
+
_vm.$set(_vm.fieldInfo, "value", $$v);
|
|
45425
|
+
},
|
|
45426
|
+
expression: "fieldInfo.value"
|
|
45427
|
+
}
|
|
45428
|
+
})], 1)]), _c('div', {
|
|
45429
|
+
staticClass: "col-6 float-left"
|
|
45430
|
+
}, [_c('div', {
|
|
45431
|
+
staticClass: "input-group"
|
|
45432
|
+
}, [_c('DatePicker', {
|
|
45433
|
+
class: {
|
|
45434
|
+
'input-group w-100': true,
|
|
45435
|
+
'is-invalid': errors[0]
|
|
45436
|
+
},
|
|
45437
|
+
staticStyle: {
|
|
45438
|
+
"flex-wrap": "nowrap"
|
|
45439
|
+
},
|
|
45440
|
+
attrs: {
|
|
45441
|
+
"locale": _vm.lang,
|
|
45442
|
+
"is24hr": _vm.is24hr,
|
|
45443
|
+
"mode": _vm.mode,
|
|
45444
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
45445
|
+
"masks": _vm.masks,
|
|
45446
|
+
"popover": _vm.popover,
|
|
45447
|
+
"min-date": _vm.getMinmumDate(_vm.fieldInfo, 'to'),
|
|
45448
|
+
"max-date": _vm.getMaxDate(_vm.fieldInfo, 'to'),
|
|
45449
|
+
"minute-increment": _vm.minuteIncrement
|
|
45450
|
+
},
|
|
45451
|
+
on: {
|
|
45452
|
+
"input": function ($event) {
|
|
45453
|
+
return _vm.onChange($event, _vm.inputValue, 'to');
|
|
45454
|
+
}
|
|
45455
|
+
},
|
|
45456
|
+
scopedSlots: _vm._u([{
|
|
45457
|
+
key: "default",
|
|
45458
|
+
fn: function ({
|
|
45459
|
+
inputValue,
|
|
45460
|
+
inputEvents,
|
|
45461
|
+
togglePopover,
|
|
45462
|
+
hidePopover
|
|
45463
|
+
}) {
|
|
45464
|
+
return [_c('input', _vm._g({
|
|
45465
|
+
ref: 'inputDatePicker' + _vm.fieldInfo.name,
|
|
45466
|
+
class: {
|
|
45467
|
+
'form-control w-100': true,
|
|
45468
|
+
'is-invalid': errors[0]
|
|
45469
|
+
},
|
|
45470
|
+
attrs: {
|
|
45471
|
+
"autocomplete": "off",
|
|
45472
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
45473
|
+
"name": _vm.fieldInfo.name,
|
|
45474
|
+
"placeholder": _vm.getPlaceholderforAnyField(_vm.fieldInfo, 'to')
|
|
45475
|
+
},
|
|
45476
|
+
domProps: {
|
|
45477
|
+
"value": inputValue
|
|
45478
|
+
},
|
|
45479
|
+
on: {
|
|
45480
|
+
"blur": function ($event) {
|
|
45481
|
+
return _vm.onBlur($event, inputValue, hidePopover, 'to');
|
|
45482
|
+
}
|
|
45483
|
+
}
|
|
45484
|
+
}, inputEvents)), _c('div', {
|
|
45485
|
+
staticClass: "input-group-append"
|
|
45486
|
+
}, [_c('span', {
|
|
45487
|
+
staticClass: "input-group-text",
|
|
45488
|
+
on: {
|
|
45489
|
+
"click": function ($event) {
|
|
45490
|
+
!_vm.fieldInfo.disabled ? togglePopover() : function () {};
|
|
45491
|
+
},
|
|
45492
|
+
"blur": function ($event) {
|
|
45493
|
+
return _vm.onBlur($event, _vm.field, hidePopover, 'to');
|
|
45494
|
+
},
|
|
45495
|
+
"change": function ($event) {
|
|
45496
|
+
return _vm.onChange($event, null, 'to');
|
|
45497
|
+
}
|
|
45498
|
+
}
|
|
45499
|
+
}, [_c('i', {
|
|
45500
|
+
class: {
|
|
45501
|
+
'fa': true,
|
|
45502
|
+
'fa-calendar': _vm.mode == 'dateTime' || _vm.mode == 'date',
|
|
45503
|
+
'fa-clock-o': _vm.mode == 'time'
|
|
45504
|
+
}
|
|
45505
|
+
})])])];
|
|
45506
|
+
}
|
|
45507
|
+
}], null, true),
|
|
45508
|
+
model: {
|
|
45509
|
+
value: _vm.fieldInfo.secondValue,
|
|
45510
|
+
callback: function ($$v) {
|
|
45511
|
+
_vm.$set(_vm.fieldInfo, "secondValue", $$v);
|
|
45512
|
+
},
|
|
45513
|
+
expression: "fieldInfo.secondValue"
|
|
45514
|
+
}
|
|
45515
|
+
})], 1)]), _c('div', {
|
|
45516
|
+
staticStyle: {
|
|
45517
|
+
"clear": "both"
|
|
45518
|
+
}
|
|
45519
|
+
}), _c('span', {
|
|
45520
|
+
directives: [{
|
|
45521
|
+
name: "show",
|
|
45522
|
+
rawName: "v-show",
|
|
45523
|
+
value: errors[0],
|
|
45524
|
+
expression: "errors[0]"
|
|
45525
|
+
}],
|
|
45526
|
+
ref: "errrorMessage",
|
|
45527
|
+
staticClass: "invalid-feedback col-12 d-block"
|
|
45528
|
+
}, [_vm._v(_vm._s(errors[0]))])];
|
|
45529
|
+
}
|
|
45530
|
+
}])
|
|
45531
|
+
})], 1);
|
|
45532
|
+
};
|
|
45533
|
+
var DateRangeFieldvue_type_template_id_df92df88_staticRenderFns = [];
|
|
44365
45534
|
|
|
44366
45535
|
// CONCATENATED MODULE: ./src/components/DateRangeField.vue?vue&type=template&id=df92df88
|
|
44367
45536
|
|
|
@@ -44524,13 +45693,125 @@ var DateRangeField_component = normalizeComponent(
|
|
|
44524
45693
|
)
|
|
44525
45694
|
|
|
44526
45695
|
/* harmony default export */ var DateRangeField = (DateRangeField_component.exports);
|
|
44527
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
44528
|
-
var NumericRangeFieldvue_type_template_id_745e2d55_render = function () {
|
|
44529
|
-
var
|
|
44530
|
-
|
|
44531
|
-
return
|
|
44532
|
-
|
|
44533
|
-
|
|
45696
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"54387704-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/NumericRangeField.vue?vue&type=template&id=745e2d55
|
|
45697
|
+
var NumericRangeFieldvue_type_template_id_745e2d55_render = function render() {
|
|
45698
|
+
var _vm = this,
|
|
45699
|
+
_c = _vm._self._c;
|
|
45700
|
+
return _c('div', {
|
|
45701
|
+
staticClass: "row"
|
|
45702
|
+
}, [_c('Field', {
|
|
45703
|
+
ref: "rangeField",
|
|
45704
|
+
staticClass: "w-100",
|
|
45705
|
+
attrs: {
|
|
45706
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
45707
|
+
"rules": _vm.fieldInfo.validationRules,
|
|
45708
|
+
"detect-input": false
|
|
45709
|
+
},
|
|
45710
|
+
scopedSlots: _vm._u([{
|
|
45711
|
+
key: "default",
|
|
45712
|
+
fn: function ({
|
|
45713
|
+
errors,
|
|
45714
|
+
validate
|
|
45715
|
+
}) {
|
|
45716
|
+
return [_c('div', {
|
|
45717
|
+
staticClass: "col-6 float-left"
|
|
45718
|
+
}, [_c('div', {
|
|
45719
|
+
staticClass: "input-group"
|
|
45720
|
+
}, [_c('input', {
|
|
45721
|
+
directives: [{
|
|
45722
|
+
name: "model",
|
|
45723
|
+
rawName: "v-model",
|
|
45724
|
+
value: _vm.fieldInfo.value,
|
|
45725
|
+
expression: "fieldInfo.value"
|
|
45726
|
+
}],
|
|
45727
|
+
class: {
|
|
45728
|
+
'form-control w-100': true,
|
|
45729
|
+
'is-invalid': errors[0]
|
|
45730
|
+
},
|
|
45731
|
+
attrs: {
|
|
45732
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
45733
|
+
"type": "text",
|
|
45734
|
+
"placeholder": _vm.getPlaceholderforAnyField(_vm.fieldInfo, 'from')
|
|
45735
|
+
},
|
|
45736
|
+
domProps: {
|
|
45737
|
+
"value": _vm.fieldInfo.value
|
|
45738
|
+
},
|
|
45739
|
+
on: {
|
|
45740
|
+
"input": [function ($event) {
|
|
45741
|
+
if ($event.target.composing) return;
|
|
45742
|
+
_vm.$set(_vm.fieldInfo, "value", $event.target.value);
|
|
45743
|
+
}, _vm.onRangeInput],
|
|
45744
|
+
"change": $event => {
|
|
45745
|
+
_vm.onChange($event, 'from');
|
|
45746
|
+
},
|
|
45747
|
+
"blur": $event => {
|
|
45748
|
+
_vm.onBlur($event, 'from');
|
|
45749
|
+
_vm.validateRange();
|
|
45750
|
+
},
|
|
45751
|
+
"keyup": function ($event) {
|
|
45752
|
+
return _vm.onKeyUp($event, 'from');
|
|
45753
|
+
},
|
|
45754
|
+
"keypress": function ($event) {
|
|
45755
|
+
return _vm.onlyForCurrency($event, 'from');
|
|
45756
|
+
}
|
|
45757
|
+
}
|
|
45758
|
+
})])]), _c('div', {
|
|
45759
|
+
staticClass: "col-6 float-left"
|
|
45760
|
+
}, [_c('div', {
|
|
45761
|
+
staticClass: "input-group"
|
|
45762
|
+
}, [_c('input', {
|
|
45763
|
+
directives: [{
|
|
45764
|
+
name: "model",
|
|
45765
|
+
rawName: "v-model",
|
|
45766
|
+
value: _vm.fieldInfo.secondValue,
|
|
45767
|
+
expression: "fieldInfo.secondValue"
|
|
45768
|
+
}],
|
|
45769
|
+
class: {
|
|
45770
|
+
'form-control w-100': true,
|
|
45771
|
+
'is-invalid': errors[0]
|
|
45772
|
+
},
|
|
45773
|
+
attrs: {
|
|
45774
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
45775
|
+
"type": "text",
|
|
45776
|
+
"placeholder": _vm.getPlaceholderforAnyField(_vm.fieldInfo, 'to')
|
|
45777
|
+
},
|
|
45778
|
+
domProps: {
|
|
45779
|
+
"value": _vm.fieldInfo.secondValue
|
|
45780
|
+
},
|
|
45781
|
+
on: {
|
|
45782
|
+
"input": [function ($event) {
|
|
45783
|
+
if ($event.target.composing) return;
|
|
45784
|
+
_vm.$set(_vm.fieldInfo, "secondValue", $event.target.value);
|
|
45785
|
+
}, _vm.onRangeInput],
|
|
45786
|
+
"change": $event => {
|
|
45787
|
+
_vm.onChange($event, 'to');
|
|
45788
|
+
},
|
|
45789
|
+
"blur": $event => {
|
|
45790
|
+
_vm.onBlur($event, 'to');
|
|
45791
|
+
_vm.validateRange();
|
|
45792
|
+
},
|
|
45793
|
+
"keyup": function ($event) {
|
|
45794
|
+
return _vm.onKeyUp($event, 'to');
|
|
45795
|
+
},
|
|
45796
|
+
"keypress": function ($event) {
|
|
45797
|
+
return _vm.onlyForCurrency($event, 'to');
|
|
45798
|
+
}
|
|
45799
|
+
}
|
|
45800
|
+
})])]), _c('div', {
|
|
45801
|
+
staticStyle: {
|
|
45802
|
+
"clear": "both"
|
|
45803
|
+
}
|
|
45804
|
+
}), errors[0] ? _c('span', {
|
|
45805
|
+
staticClass: "invalid-feedback d-block",
|
|
45806
|
+
attrs: {
|
|
45807
|
+
"name": _vm.fieldInfo.name
|
|
45808
|
+
}
|
|
45809
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
45810
|
+
}
|
|
45811
|
+
}])
|
|
45812
|
+
})], 1);
|
|
45813
|
+
};
|
|
45814
|
+
var NumericRangeFieldvue_type_template_id_745e2d55_staticRenderFns = [];
|
|
44534
45815
|
|
|
44535
45816
|
// CONCATENATED MODULE: ./src/components/NumericRangeField.vue?vue&type=template&id=745e2d55
|
|
44536
45817
|
|