UNPKG

admin-ui

Version:

An elegant admin-system-like vue ui components library

1,135 lines (979 loc) 33.5 kB
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 390); /******/ }) /************************************************************************/ /******/ ({ /***/ 156: /***/ (function(module, exports) { module.exports = require("admin-ui/dist/lib/loading"); /***/ }), /***/ 22: /***/ (function(module, exports, __webpack_require__) { "use strict"; /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ // css base code, injected by the css-loader module.exports = function (useSourceMap) { var list = []; // return the list of modules as css string list.toString = function toString() { return this.map(function (item) { var content = cssWithMappingToString(item, useSourceMap); if (item[2]) { return '@media ' + item[2] + '{' + content + '}'; } else { return content; } }).join(''); }; // import a list of modules into the list list.i = function (modules, mediaQuery) { if (typeof modules === 'string') { modules = [[null, modules, '']]; } var alreadyImportedModules = {}; for (var i = 0; i < this.length; i++) { var id = this[i][0]; if (id != null) { alreadyImportedModules[id] = true; } } for (i = 0; i < modules.length; i++) { var item = modules[i]; // skip already imported module // this implementation is not 100% perfect for weird media query combinations // when a module is imported multiple times with different media queries. // I hope this will never occur (Hey this way we have smaller bundles) if (item[0] == null || !alreadyImportedModules[item[0]]) { if (mediaQuery && !item[2]) { item[2] = mediaQuery; } else if (mediaQuery) { item[2] = '(' + item[2] + ') and (' + mediaQuery + ')'; } list.push(item); } } }; return list; }; function cssWithMappingToString(item, useSourceMap) { var content = item[1] || ''; var cssMapping = item[3]; if (!cssMapping) { return content; } if (useSourceMap && typeof btoa === 'function') { var sourceMapping = toComment(cssMapping); var sourceURLs = cssMapping.sources.map(function (source) { return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'; }); return [content].concat(sourceURLs).concat([sourceMapping]).join('\n'); } return [content].join('\n'); } // Adapted from convert-source-map (MIT) function toComment(sourceMap) { // eslint-disable-next-line no-undef var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))); var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64; return '/*# ' + data + ' */'; } /***/ }), /***/ 222: /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(331); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var add = __webpack_require__(25).default var update = add("43c55bae", content, false, {}); // Hot Module Replacement if(false) {} /***/ }), /***/ 25: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js /** * Translates the list format produced by css-loader into something * easier to manipulate. */ function listToStyles (parentId, list) { var styles = [] var newStyles = {} for (var i = 0; i < list.length; i++) { var item = list[i] var id = item[0] var css = item[1] var media = item[2] var sourceMap = item[3] var part = { id: parentId + ':' + i, css: css, media: media, sourceMap: sourceMap } if (!newStyles[id]) { styles.push(newStyles[id] = { id: id, parts: [part] }) } else { newStyles[id].parts.push(part) } } return styles } // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return addStylesClient; }); /* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra Modified by Evan You @yyx990803 */ var hasDocument = typeof document !== 'undefined' if (typeof DEBUG !== 'undefined' && DEBUG) { if (!hasDocument) { 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." ) } } /* type StyleObject = { id: number; parts: Array<StyleObjectPart> } type StyleObjectPart = { css: string; media: string; sourceMap: ?string } */ var stylesInDom = {/* [id: number]: { id: number, refs: number, parts: Array<(obj?: StyleObjectPart) => void> } */} var head = hasDocument && (document.head || document.getElementsByTagName('head')[0]) var singletonElement = null var singletonCounter = 0 var isProduction = false var noop = function () {} var options = null var ssrIdKey = 'data-vue-ssr-id' // Force single-tag solution on IE6-9, which has a hard limit on the # of <style> // tags it will allow on a page var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase()) function addStylesClient (parentId, list, _isProduction, _options) { isProduction = _isProduction options = _options || {} var styles = listToStyles(parentId, list) addStylesToDom(styles) return function update (newList) { var mayRemove = [] for (var i = 0; i < styles.length; i++) { var item = styles[i] var domStyle = stylesInDom[item.id] domStyle.refs-- mayRemove.push(domStyle) } if (newList) { styles = listToStyles(parentId, newList) addStylesToDom(styles) } else { styles = [] } for (var i = 0; i < mayRemove.length; i++) { var domStyle = mayRemove[i] if (domStyle.refs === 0) { for (var j = 0; j < domStyle.parts.length; j++) { domStyle.parts[j]() } delete stylesInDom[domStyle.id] } } } } function addStylesToDom (styles /* Array<StyleObject> */) { for (var i = 0; i < styles.length; i++) { var item = styles[i] var domStyle = stylesInDom[item.id] if (domStyle) { domStyle.refs++ for (var j = 0; j < domStyle.parts.length; j++) { domStyle.parts[j](item.parts[j]) } for (; j < item.parts.length; j++) { domStyle.parts.push(addStyle(item.parts[j])) } if (domStyle.parts.length > item.parts.length) { domStyle.parts.length = item.parts.length } } else { var parts = [] for (var j = 0; j < item.parts.length; j++) { parts.push(addStyle(item.parts[j])) } stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts } } } } function createStyleElement () { var styleElement = document.createElement('style') styleElement.type = 'text/css' head.appendChild(styleElement) return styleElement } function addStyle (obj /* StyleObjectPart */) { var update, remove var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]') if (styleElement) { if (isProduction) { // has SSR styles and in production mode. // simply do nothing. return noop } else { // has SSR styles but in dev mode. // for some reason Chrome can't handle source map in server-rendered // style tags - source maps in <style> only works if the style tag is // created and inserted dynamically. So we remove the server rendered // styles and inject new ones. styleElement.parentNode.removeChild(styleElement) } } if (isOldIE) { // use singleton mode for IE9. var styleIndex = singletonCounter++ styleElement = singletonElement || (singletonElement = createStyleElement()) update = applyToSingletonTag.bind(null, styleElement, styleIndex, false) remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true) } else { // use multi-style-tag mode in all other cases styleElement = createStyleElement() update = applyToTag.bind(null, styleElement) remove = function () { styleElement.parentNode.removeChild(styleElement) } } update(obj) return function updateStyle (newObj /* StyleObjectPart */) { if (newObj) { if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) { return } update(obj = newObj) } else { remove() } } } var replaceText = (function () { var textStore = [] return function (index, replacement) { textStore[index] = replacement return textStore.filter(Boolean).join('\n') } })() function applyToSingletonTag (styleElement, index, remove, obj) { var css = remove ? '' : obj.css if (styleElement.styleSheet) { styleElement.styleSheet.cssText = replaceText(index, css) } else { var cssNode = document.createTextNode(css) var childNodes = styleElement.childNodes if (childNodes[index]) styleElement.removeChild(childNodes[index]) if (childNodes.length) { styleElement.insertBefore(cssNode, childNodes[index]) } else { styleElement.appendChild(cssNode) } } } function applyToTag (styleElement, obj) { var css = obj.css var media = obj.media var sourceMap = obj.sourceMap if (media) { styleElement.setAttribute('media', media) } if (options.ssrId) { styleElement.setAttribute(ssrIdKey, obj.id) } if (sourceMap) { // https://developer.chrome.com/devtools/docs/javascript-debugging // this makes source maps inside style tags work properly in Chrome css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */' // http://stackoverflow.com/a/26603875 css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */' } if (styleElement.styleSheet) { styleElement.styleSheet.cssText = css } else { while (styleElement.firstChild) { styleElement.removeChild(styleElement.firstChild) } styleElement.appendChild(document.createTextNode(css)) } } /***/ }), /***/ 330: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_switch_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(222); /* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_switch_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_switch_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); /* unused harmony reexport * */ /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_switch_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /***/ 331: /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // Module exports.push([module.i, ".au-form-label{display:block;margin-bottom:8px;font-size:14px;line-height:14px}.au-form-label-inline{display:inline-block;margin-right:8px;font-size:14px;text-align:right}.au-form-warning{margin-top:8px;font-size:12px;line-height:12px}.au-switch{display:inline-block}.au-switch-container{display:inline-block;position:relative;width:40px;height:20px;border-radius:20px;transition:all .1s ease-in-out}.au-switch-core{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:100%;transition:all .1s ease-in-out;overflow:hidden}.au-switch-mini{height:14px;width:28px;border-radius:14px}.au-switch-mini .au-switch-core{width:10px;height:10px}.au-switch-small{width:34px;height:16px;border-radius:16px}.au-switch-small .au-switch-core{width:12px;height:12px}.au-switch-large{height:24px;border-radius:24px}.au-switch-large .au-switch-core{width:20px;height:20px}.au-switch-disabled-cover{position:absolute;width:100%;height:100%;opacity:0;transition:opacity .1s ease-in-out}\n", ""]); /***/ }), /***/ 36: /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(92); if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add the styles to the DOM var add = __webpack_require__(25).default var update = add("e9b29ffc", content, false, {}); // Hot Module Replacement if(false) {} /***/ }), /***/ 37: /***/ (function(module, exports) { module.exports = require("admin-ui/dist/helpers/dom"); /***/ }), /***/ 390: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/admin-ui/src/components/switch/src/switch.vue?vue&type=template&id=4a4e34c0& var render = function() { var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c( "div", { staticClass: "au-switch" }, [ _c( "form-item", { attrs: { label: _vm.label, labelWidth: _vm.labelWidth, inline: _vm.inline, tips: _vm.tips, lineHeight: _vm.lineHeight, middle: false, warnings: _vm.warnings || _vm.localWarnings } }, [ _c( "div", { ref: "switch", staticClass: "au-switch-container", class: "au-theme-background-color--" + _vm.bg + " au-switch-" + _vm.size, style: { cursor: _vm.readonly ? "default" : _vm.localDisabled ? "not-allowed" : "pointer" }, on: { click: _vm.handleClick } }, [ _c("div", { staticClass: "au-switch-disabled-cover au-theme-background-color--base-12", style: { opacity: _vm.localDisabled && _vm.localValue ? ".8" : "0" } }), _vm._v(" "), _c("div", { ref: "core", staticClass: "au-switch-core", class: { "au-theme-background-color--base-12": !_vm.localDisabled, "au-theme-background-color--base-11": _vm.localDisabled }, style: { left: _vm.left } }) ] ) ] ) ], 1 ) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./src/admin-ui/src/components/switch/src/switch.vue?vue&type=template&id=4a4e34c0& // EXTERNAL MODULE: external "admin-ui/dist/helpers/form-api-mixin" var form_api_mixin_ = __webpack_require__(79); var form_api_mixin_default = /*#__PURE__*/__webpack_require__.n(form_api_mixin_); // EXTERNAL MODULE: external "admin-ui/dist/helpers/validator-mixin" var validator_mixin_ = __webpack_require__(86); var validator_mixin_default = /*#__PURE__*/__webpack_require__.n(validator_mixin_); // EXTERNAL MODULE: ./src/admin-ui/src/helpers/form-item.vue + 4 modules var form_item = __webpack_require__(66); // EXTERNAL MODULE: external "admin-ui/dist/helpers/dom" var dom_ = __webpack_require__(37); // EXTERNAL MODULE: external "admin-ui/dist/lib/loading" var loading_ = __webpack_require__(156); var loading_default = /*#__PURE__*/__webpack_require__.n(loading_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/admin-ui/src/components/switch/src/switch.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var switchvue_type_script_lang_js_ = ({ name: 'au-switch', mixins: [form_api_mixin_default.a, validator_mixin_default.a], components: { FormItem: form_item["default"] }, mounted: function mounted() { this.getBg(); this.getLeft(); this.load(); }, data: function data() { return { bg: 'base-10', left: '2px', loadingIns: null }; }, props: { color: { type: String, default: 'success' }, loading: Boolean }, watch: { value: function value() { this.getBg(); this.getLeft(); }, localValue: function localValue(v) { this.input(); this.change(); }, color: function color() { this.getBg(); }, loading: function loading() { this.load(); } }, computed: { localDisabled: function localDisabled() { return this.disabled || this.loading || this.readonly; }, lineHeight: function lineHeight() { switch (this.size) { case 'mini': return '14px'; case 'small': return '16px'; case 'normal': return '20px'; case 'large': return '24px'; } return '20px'; } }, methods: { getBg: function getBg() { this.bg = this.localValue ? this.color === 'default' ? 'base-9' : this.color : 'base-9'; }, getLeft: function getLeft() { if (this.localValue) { var width = Object(dom_["getElementSize"])(this.$refs.switch).width; var coreWidth = Object(dom_["getElementSize"])(this.$refs.core).width; this.left = width - 2 - coreWidth + 'px'; } else this.left = '2px'; }, handleClick: function handleClick() { if (this.localDisabled) return; this.localValue = !this.localValue; }, load: function load() { if (this.loading) { this.loadingIns = loading_default()({ target: this.$refs.core, color: this.color }); } else { if (this.loadingIns) this.loadingIns.close(); } } } }); // CONCATENATED MODULE: ./src/admin-ui/src/components/switch/src/switch.vue?vue&type=script&lang=js& /* harmony default export */ var src_switchvue_type_script_lang_js_ = (switchvue_type_script_lang_js_); // EXTERNAL MODULE: ./src/admin-ui/src/components/switch/src/switch.vue?vue&type=style&index=0&lang=scss& var switchvue_type_style_index_0_lang_scss_ = __webpack_require__(330); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(8); // CONCATENATED MODULE: ./src/admin-ui/src/components/switch/src/switch.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( src_switchvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "src/admin-ui/src/components/switch/src/switch.vue" /* harmony default export */ var src_switch = (component.exports); // CONCATENATED MODULE: ./src/admin-ui/src/components/switch/index.js /* concated harmony reexport default */__webpack_require__.d(__webpack_exports__, "default", function() { return src_switch; }); /***/ }), /***/ 66: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/admin-ui/src/helpers/form-item.vue?vue&type=template&id=f3896eba& var render = function() { var _obj var _vm = this var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "au-form-item" }, [ _vm.label ? _c( "div", { staticClass: "au-theme-color--base-3", class: ((_obj = {}), (_obj["au-form-label" + (_vm.inline ? "-inline" : "")] = true), (_obj["au-size-" + _vm.size] = _vm.inline && _vm.middle), _obj), style: { width: _vm.inline ? _vm.labelWidth : "", lineHeight: _vm.lineHeight } }, [_vm._v(_vm._s(_vm.label))] ) : _vm._e(), _vm._v(" "), _c( "div", { class: "au-form-item-main" + (_vm.inline ? "-inline" : "-block") }, [ _vm._t("default"), _vm._v(" "), _vm._l(_vm.warnings, function(warning, i) { return _c( "div", { key: warning + "" + i, staticClass: "au-form-warning au-theme-color--danger" }, [_vm._v(_vm._s(warning))] ) }), _vm._v(" "), _vm._l(_vm.tips, function(tip, i) { return _c( "div", { key: tip + "" + i, staticClass: "au-form-warning au-theme-color--base-8" }, [_vm._v(_vm._s(tip))] ) }) ], 2 ) ]) } var staticRenderFns = [] render._withStripped = true // CONCATENATED MODULE: ./src/admin-ui/src/helpers/form-item.vue?vue&type=template&id=f3896eba& // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/admin-ui/src/helpers/form-item.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var form_itemvue_type_script_lang_js_ = ({ name: 'au-form-item', props: { label: String, inline: Boolean, tips: Array, warnings: [Array, Object], labelWidth: String, size: { type: String, default: 'normal' }, middle: Boolean, lineHeight: String } }); // CONCATENATED MODULE: ./src/admin-ui/src/helpers/form-item.vue?vue&type=script&lang=js& /* harmony default export */ var helpers_form_itemvue_type_script_lang_js_ = (form_itemvue_type_script_lang_js_); // EXTERNAL MODULE: ./src/admin-ui/src/helpers/form-item.vue?vue&type=style&index=0&lang=scss& var form_itemvue_type_style_index_0_lang_scss_ = __webpack_require__(91); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(8); // CONCATENATED MODULE: ./src/admin-ui/src/helpers/form-item.vue /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( helpers_form_itemvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null ) /* hot reload */ if (false) { var api; } component.options.__file = "src/admin-ui/src/helpers/form-item.vue" /* harmony default export */ var form_item = __webpack_exports__["default"] = (component.exports); /***/ }), /***/ 79: /***/ (function(module, exports) { module.exports = require("admin-ui/dist/helpers/form-api-mixin"); /***/ }), /***/ 8: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); /* globals __VUE_SSR_CONTEXT__ */ // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). // This module is a runtime utility for cleaner component module output and will // be included in the final webpack user bundle. function normalizeComponent ( scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, /* server only */ shadowMode /* vue-cli only */ ) { // Vue.extend constructor export interop var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports // render functions if (render) { options.render = render options.staticRenderFns = staticRenderFns options._compiled = true } // functional template if (functionalTemplate) { options.functional = true } // scopedId if (scopeId) { options._scopeId = 'data-v-' + scopeId } var hook if (moduleIdentifier) { // server build hook = function (context) { // 2.3 injection context = context || // cached call (this.$vnode && this.$vnode.ssrContext) || // stateful (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional // 2.2 with runInNewContext: true if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { context = __VUE_SSR_CONTEXT__ } // inject component styles if (injectStyles) { injectStyles.call(this, context) } // register component module identifier for async chunk inferrence if (context && context._registeredComponents) { context._registeredComponents.add(moduleIdentifier) } } // used by ssr in case component is cached and beforeCreate // never gets called options._ssrRegister = hook } else if (injectStyles) { hook = shadowMode ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } : injectStyles } if (hook) { if (options.functional) { // for template-only hot-reload because in that case the render fn doesn't // go through the normalizer options._injectStyles = hook // register for functioal component in vue file var originalRender = options.render options.render = function renderWithStyleInjection (h, context) { hook.call(context) return originalRender(h, context) } } else { // inject component registration as beforeCreate hook var existing = options.beforeCreate options.beforeCreate = existing ? [].concat(existing, hook) : [hook] } } return { exports: scriptExports, options: options } } /***/ }), /***/ 86: /***/ (function(module, exports) { module.exports = require("admin-ui/dist/helpers/validator-mixin"); /***/ }), /***/ 91: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_form_item_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36); /* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_form_item_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_form_item_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); /* unused harmony reexport * */ /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_form_item_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /***/ 92: /***/ (function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(22)(false); // Module exports.push([module.i, ".au-form-label{display:block;margin-bottom:8px;font-size:14px;line-height:14px}.au-form-label-inline{display:inline-block;margin-right:8px;font-size:14px;text-align:right}.au-size-mini{height:20px;line-height:20px;font-size:10px}.au-size-small{height:24px;line-height:24px;font-size:12px}.au-size-normal{height:32px;line-height:32px;font-size:14px}.au-size-large{height:36px;line-height:36px;font-size:14px}.au-size-mini-bordered{height:20px;line-height:18px;font-size:10px}.au-size-small-bordered{height:24px;line-height:22px;font-size:12px}.au-size-normal-bordered{height:32px;line-height:30px;font-size:14px}.au-size-large-bordered{height:36px;line-height:34px;font-size:14px}.au-form-warning{margin-top:8px;font-size:12px;line-height:12px}.au-form-item{font-size:14px}.au-form-item-main-block{display:block}.au-form-item-main-inline{display:inline-block;vertical-align:top}\n", ""]); /***/ }) /******/ });