@wikimedia/wvui
Version:
Wikimedia Vue UI (WVUI) – Wikimedia Foundation's Vue.js shared user-interface components for Wikipedia, MediaWiki, and beyond.
786 lines (706 loc) • 134 kB
JavaScript
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 = 13);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports) {
module.exports = require("vue");
/***/ }),
/* 1 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 3 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 4 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 6 */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ }),
/* 7 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Button_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Button_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Button_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Button_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/* 8 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Icon_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Icon_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Icon_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Icon_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/* 9 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Input_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3);
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Input_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Input_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Input_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/* 10 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSuggestionTitle_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSuggestionTitle_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSuggestionTitle_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSuggestionTitle_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/* 11 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSuggestion_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSuggestion_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSuggestion_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSuggestion_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/* 12 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSearch_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6);
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSearch_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSearch_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_1_0_node_modules_css_loader_dist_cjs_js_ref_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_node_modules_less_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_TypeaheadSearch_vue_vue_type_style_index_0_lang_less___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/* 13 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, "version", function() { return /* binding */ version; });
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/components/button/Button.vue?vue&type=template&id=000e54fa&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:"wvui-button",class:_vm.rootClasses,on:{"click":_vm.onClick}},[_vm._t("default")],2)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=000e54fa&
// CONCATENATED MODULE: ./src/components/button/ButtonType.ts
/**
* Which button type to use. These types are styled differently, to communicate the different
* roles they play in the UI.
*/
var ButtonType;
(function (ButtonType) {
/**
* A normal button that has a frame and is not the most important action.
*/
ButtonType["Normal"] = "normal";
/**
* A primary button triggers the most important action. There should be only one primary button
* in every view. When using this, also set the type prop to a non-default value, to indicate
* what kind of action will be taken.
*
* When the action prop is set to its default value, a primary button looks the same as a
* secondary button.
*/
ButtonType["Primary"] = "primary";
/**
* A frameless button. Use this sparingly, in situations where a framed button would distract
* too much from the surrounding content. This is most often used with icon-only buttons.
*/
ButtonType["Quiet"] = "quiet";
})(ButtonType || (ButtonType = {}));
function isButtonType(val) {
// This could just be Object.values( ButtonType ).includes( val ), but we are limited to ES6.
return Object.keys(ButtonType).some(function (key) { return ButtonType[key] === val; });
}
// CONCATENATED MODULE: ./src/components/button/ButtonAction.ts
/**
* Signals the consequence of proceeding in a given view. Do not use more than one non-default
* action per layout as they should guide the user to the most important action (“call to action”).
*/
var ButtonAction;
(function (ButtonAction) {
/**
* A generic action that is neither progressive nor destructive. For example,
* notice dismissal.
*/
ButtonAction["Default"] = "default";
/**
* The consequence of this action is to proceed to the next step in or conclude the current
* process. For example, creation of a page or submitting data.
*/
ButtonAction["Progressive"] = "progressive";
/**
* The consequence of this action is irreversible, data loss, or is difficult to undo. For
* example, deleting a page, discarding a draft edit, or blocking a user. **Never** use
* Destructive for cancellation.
*/
ButtonAction["Destructive"] = "destructive";
})(ButtonAction || (ButtonAction = {}));
/**
* @param val
* @return whether an input is a ButtonAction.
*/
function isButtonAction(val) {
return Object.keys(ButtonAction).some(function (key) { return ButtonAction[key] === val; });
}
// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__(0);
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
// CONCATENATED MODULE: ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/button/Button.vue?vue&type=script&lang=ts&
/**
* A button wrapping slotted content.
*
* @fires {Event} click
*/
/* harmony default export */ var Buttonvue_type_script_lang_ts_ = (external_vue_default.a.extend({
name: 'WvuiButton',
props: {
/**
* What type of action the button will cause to be taken when clicked.
* See ButtonAction for what each value means.
*/
action: {
type: String,
default: ButtonAction.Default,
// use arrow function for type inference of property
validator: function (value) { return isButtonAction(value); }
},
/**
* Button type. See ButtonType for what each value means.
*/
type: {
type: String,
default: ButtonType.Normal,
// use arrow function for type inference of property
validator: function (value) { return isButtonType(value); }
}
},
computed: {
rootClasses: function () {
return {
'wvui-button--action-default': this.action === ButtonAction.Default,
'wvui-button--action-progressive': this.action === ButtonAction.Progressive,
'wvui-button--action-destructive': this.action === ButtonAction.Destructive,
'wvui-button--type-primary': this.type === ButtonType.Primary,
'wvui-button--type-normal': this.type === ButtonType.Normal,
'wvui-button--type-quiet': this.type === ButtonType.Quiet,
'wvui-button--framed': this.type !== ButtonType.Quiet
};
}
},
methods: {
onClick: function (event) {
this.$emit('click', event);
}
}
}));
// CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=script&lang=ts&
/* harmony default export */ var button_Buttonvue_type_script_lang_ts_ = (Buttonvue_type_script_lang_ts_);
// EXTERNAL MODULE: ./src/components/button/Button.vue?vue&type=style&index=0&lang=less&
var Buttonvue_type_style_index_0_lang_less_ = __webpack_require__(7);
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* 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,
(options.functional ? this.parent : 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 functional 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
}
}
// CONCATENATED MODULE: ./src/components/button/Button.vue
/* normalize component */
var component = normalizeComponent(
button_Buttonvue_type_script_lang_ts_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var Button = (component.exports);
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/components/icon/Icon.vue?vue&type=template&id=883488d6&
var Iconvue_type_template_id_883488d6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:"wvui-icon",class:_vm.rootClasses,on:{"click":_vm.onClick}},[_c('svg',{attrs:{"xmlns":"http://www.w3.org/2000/svg","width":"20","height":"20","viewBox":"0 0 20 20","aria-hidden":_vm.lacksTitle}},[(_vm.iconTitle)?_c('title',[_vm._v(_vm._s(_vm.iconTitle))]):_vm._e(),_vm._v(" "),_c('path',{attrs:{"fill":"currentColor","d":_vm.iconPath}})])])}
var Iconvue_type_template_id_883488d6_staticRenderFns = []
// CONCATENATED MODULE: ./src/components/icon/Icon.vue?vue&type=template&id=883488d6&
// CONCATENATED MODULE: ./src/components/icon/iconTypes.ts
/**
* @param icon The icon string or object.
* @param langCode The HTMLElement.lang code.
* @param dir The HTMLElement.dir (ltr, rtl, or auto).
* @return The appropriate SVG path.
*/
function getIconPath(icon, langCode, dir) {
if (typeof icon === 'string') {
return icon;
}
// Icon with a single path.
if ('path' in icon) {
return icon.path;
}
// Icon that differs per language.
if ('langCodeMap' in icon) {
var langCodeIcon = langCode in icon.langCodeMap ?
icon.langCodeMap[langCode] :
icon.default;
return typeof langCodeIcon === 'string' ? langCodeIcon : langCodeIcon.path;
}
// Icon that differs between LTR and RTL languages but can't just
// be flipped horizontally.
return dir === 'rtl' ? icon.rtl : icon.default;
}
/**
* @param icon The icon string or object.
* @param langCode The HTMLElement.lang code.
* @return Whether the icon should be flipped horizontally in RTL mode.
*/
function shouldFlip(icon, langCode) {
var _a;
if (typeof icon === 'string') {
return false;
}
if ('shouldFlipExceptions' in icon) {
// Don't flip if the current language is listed as an exception.
var exception = (_a = icon.shouldFlipExceptions) === null || _a === void 0 ? void 0 : _a.indexOf(langCode);
return exception === undefined || exception === -1;
}
if ('shouldFlip' in icon) {
return !!icon.shouldFlip;
}
return false;
}
// CONCATENATED MODULE: ./node_modules/ts-loader??ref--0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/icon/Icon.vue?vue&type=script&lang=ts&
/**
* SVG icon.
*
* See src/themes/icons.ts for a list of all icons. To use an icon, import it,
* assign it to a name in your component's data option, then use v-bind
* to set the icon attribute of the <wvui-icon> element to that name.
*
* Alternately, custom or third-party icons could be used as long as the icon
* prop provided to this component is either a string containing the icon's SVG
* path or one of the icon types described in ./iconTypes.ts.
*/
/* harmony default export */ var Iconvue_type_script_lang_ts_ = (external_vue_default.a.extend({
name: 'WvuiIcon',
props: {
/** The SVG path or an object containing that path plus other data. */
icon: {
type: [String, Object],
required: true
},
/**
* Accessible title for SVG. String or message object. If not included,
* the SVG will be hidden from screen readers via aria-hidden="true".
*/
iconTitle: {
type: [String, Object],
default: ''
},
/**
* Explicitly set the current HTMLElement.lang. See
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang.
* Defaults to the document lang.
*/
langCode: {
type: String,
default: function () { return document.documentElement.lang; }
}
},
data: function () {
return {
// Initially, use the document dir. Once the component mounts, we'll
// check the element's computed style and update dir if needed.
dir: document.documentElement.dir
};
},
computed: {
rootClasses: function () {
return {
'wvui-icon--flip-for-rtl': shouldFlip(this.icon, this.langCode)
};
},
lacksTitle: function () {
return !this.iconTitle;
},
iconPath: function () {
return getIconPath(this.icon, this.langCode, this.dir);
}
},
mounted: function () {
// Now that the component is mounted, check its computed style and update dir
var computedStyle = window.getComputedStyle(this.$el);
this.dir = (computedStyle === null || computedStyle === void 0 ? void 0 : computedStyle.direction) || this.dir;
},
methods: {
onClick: function (event) {
this.$emit('click', event);
}
}
}));
// CONCATENATED MODULE: ./src/components/icon/Icon.vue?vue&type=script&lang=ts&
/* harmony default export */ var icon_Iconvue_type_script_lang_ts_ = (Iconvue_type_script_lang_ts_);
// EXTERNAL MODULE: ./src/components/icon/Icon.vue?vue&type=style&index=0&lang=less&
var Iconvue_type_style_index_0_lang_less_ = __webpack_require__(8);
// CONCATENATED MODULE: ./src/components/icon/Icon.vue
/* normalize component */
var Icon_component = normalizeComponent(
icon_Iconvue_type_script_lang_ts_,
Iconvue_type_template_id_883488d6_render,
Iconvue_type_template_id_883488d6_staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var Icon = (Icon_component.exports);
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/components/input/Input.vue?vue&type=template&id=726d0109&
var Inputvue_type_template_id_726d0109_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"wvui-input",class:_vm.rootClasses},[_c('input',_vm._b({ref:"input",staticClass:"wvui-input__input",attrs:{"disabled":_vm.disabled,"type":_vm.type},domProps:{"value":_vm.computedValue},on:{"input":_vm.onInput,"change":_vm.onChange,"focus":_vm.onFocus,"blur":_vm.onBlur}},'input',_vm.$attrs,false)),_vm._v(" "),(_vm.startIcon)?_c('wvui-icon',{staticClass:"wvui-input__start-icon",attrs:{"icon":_vm.startIcon}}):_vm._e(),_vm._v(" "),(_vm.isClearable || _vm.endIcon)?_c('wvui-icon',{staticClass:"wvui-input__end-icon",attrs:{"icon":_vm.endIcon || _vm.clearIcon},on:{"click":_vm.onEndIconClick}}):_vm._e()],1)}
var Inputvue_type_template_id_726d0109_staticRenderFns = []
// CONCATENATED MODULE: ./src/components/input/Input.vue?vue&type=template&id=726d0109&
// CONCATENATED MODULE: ./src/components/input/InputType.ts
/**
* Defines types for text inputs.
*/
var InputType;
(function (InputType) {
InputType["Text"] = "text";
InputType["Search"] = "search";
})(InputType || (InputType = {}));
/**
* @param val
* @return whether an input is a InputType.
*/
function isInputType(val) {
return Object.keys(InputType).some(function (key) { return InputType[key] === val; });
}
// CONCATENATED MODULE: ./src/themes/icons.ts
/**
* Wikimedia icons.
*
* If tree-shaking cannot be relied upon, consider creating an entry point that
* defines the icons that are needed instead of including them all.
*/
/* eslint-disable max-len */
var wvuiIconAdd = 'M11 9V4H9v5H4v2h5v5h2v-5h5V9z';
var wvuiIconAlert = 'M11.53 2.3A1.85 1.85 0 0010 1.21 1.85 1.85 0 008.48 2.3L.36 16.36C-.48 17.81.21 19 1.88 19h16.24c1.67 0 2.36-1.19 1.52-2.64zM11 16H9v-2h2zm0-4H9V6h2z';
var wvuiIconAlignCenter = 'M1 15h18v2H1zM1 3h18v2H1z M7 7 H13 A1 1 0 0 1 14 8 V12 A1 1 0 0 1 13 13 H7 A1 1 0 0 1 6 12 V8 A1 1 0 0 1 7 7 z';
var wvuiIconAlignLeft = 'M1 15h18v2H1zm11-8h7v2h-7zm0 4h7v2h-7zM1 3h18v2H1z M2 7 H8 A1 1 0 0 1 9 8 V12 A1 1 0 0 1 8 13 H2 A1 1 0 0 1 1 12 V8 A1 1 0 0 1 2 7 z';
var wvuiIconAlignRight = 'M1 15h18v2H1zm0-8h7v2H1zm0 4h7v2H1zm0-8h18v2H1z M12 7 H18 A1 1 0 0 1 19 8 V12 A1 1 0 0 1 18 13 H12 A1 1 0 0 1 11 12 V8 A1 1 0 0 1 12 7 z';
var wvuiIconArrowNext = {
path: 'M8.59 3.42L14.17 9H2v2h12.17l-5.58 5.59L10 18l8-8-8-8z',
shouldFlip: true
};
var wvuiIconArrowPrevious = {
path: 'M5.83 9l5.58-5.58L10 2l-8 8 8 8 1.41-1.41L5.83 11H18V9z',
shouldFlip: true
};
var wvuiIconArticle = {
path: 'M5 1a2 2 0 00-2 2v14a2 2 0 002 2h10a2 2 0 002-2V3a2 2 0 00-2-2zm0 3h5v1H5zm0 2h5v1H5zm0 2h5v1H5zm10 7H5v-1h10zm0-2H5v-1h10zm0-2H5v-1h10zm0-2h-4V4h4z',
shouldFlip: true
};
var wvuiIconArticleAdd = 'M5 1c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm10 10h-4v4H9v-4H5V9h4V5h2v4h4z';
var wvuiIconArticleCheck = 'M9 17l-4.59-4.59L5.83 11 9 14.17l8-8V3a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h10a2 2 0 002-2V9z';
var wvuiIconArticleDisambiguation = {
path: 'M15 1H5c-1.1 0-2 .9-2 2v6h4.6l3.7-3.7L10 4h4v4l-1.3-1.3L9.4 10l3.3 3.3L14 12v4h-4l1.3-1.3L7.6 11H3v6c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2z',
shouldFlip: true
};
var wvuiIconArticleNotFound = {
path: 'M15 1H5a2 2 0 00-2 2v14a2 2 0 002 2h10a2 2 0 002-2V3a2 2 0 00-2-2zm-4 15H9v-2h2zm2.7-7.6a4.88 4.88 0 01-.3.7 2.65 2.65 0 01-.5.6l-.5.5a2.65 2.65 0 01-.6.5c-.2.2-.3.4-.5.6a1.91 1.91 0 00-.3.8 3.4 3.4 0 00-.1 1H9.1a4.87 4.87 0 01.1-1.2 2.92 2.92 0 01.2-.9 2.51 2.51 0 01.4-.7l.6-.6a1.76 1.76 0 01.5-.4c.2-.1.3-.3.4-.4l.3-.6a1.7 1.7 0 00.1-.7 2.92 2.92 0 00-.2-.9 2.19 2.19 0 00-1-.9.9.9 0 00-.5-.1 1.68 1.68 0 00-1.5.7A2.86 2.86 0 008 8.1H6.2a5.08 5.08 0 01.3-1.7 3.53 3.53 0 01.8-1.3 3.6 3.6 0 011.2-.8 5.08 5.08 0 011.7-.3 5.9 5.9 0 011.4.2 2.59 2.59 0 011.1.7 4.44 4.44 0 01.8 1.1 4 4 0 01.3 1.5 3.08 3.08 0 01-.1.9z',
shouldFlip: true,
shouldFlipExceptions: ['he', 'yi']
};
var wvuiIconArticleRedirect = {
path: 'M5 1a2 2 0 00-2 2v1c0 5 2 8 7 8V9l5 4-5 4v-3c-3.18 0-5.51-.85-7-2.68V17a2 2 0 002 2h10a2 2 0 002-2V3a2 2 0 00-2-2z',
shouldFlip: true
};
var wvuiIconArticleSearch = 'M12.43 14.34A5 5 0 0110 15a5 5 0 113.95-2L17 16.09V3a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h10a2 2 0 001.45-.63z M13 10 A3 3 0 0 1 10 13 A3 3 0 0 1 7 10 A3 3 0 0 1 13 10 z';
var wvuiIconArticles = {
path: 'M7 0a2 2 0 00-2 2h9a2 2 0 012 2v12a2 2 0 002-2V2a2 2 0 00-2-2z M13 20a2 2 0 002-2V5a2 2 0 00-2-2H4a2 2 0 00-2 2v13a2 2 0 002 2zM9 5h4v5H9zM4 5h4v1H4zm0 2h4v1H4zm0 2h4v1H4zm0 2h9v1H4zm0 2h9v1H4zm0 2h9v1H4z',
shouldFlip: true
};
var wvuiIconArticlesSearch = {
rtl: 'M13 0a2 2 0 012 2H6a2 2 0 00-2 2v12a2 2 0 01-2-2V2a2 2 0 012-2z M13.8 15.5a4.6 4.7 0 01-2.3.6 4.6 4.7 0 113.7-1.9l2.8 3V5a1.9 1.9 0 00-1.9-2H7a1.9 1.9 0 00-2 1.9V18a1.9 1.9 0 001.9 2H16a1.9 1.9 0 001.4-.6z M14.5 11.5 A3 3 0 0 1 11.5 14.5 A3 3 0 0 1 8.5 11.5 A3 3 0 0 1 14.5 11.5 z',
default: 'M7 0a2 2 0 00-2 2h9a2 2 0 012 2v12a2 2 0 002-2V2a2 2 0 00-2-2z M10.8 15.6a4.6 4.7 0 01-2.3.6 4.6 4.7 0 113.7-1.9l2.8 3V4.9A1.9 1.9 0 0013.1 3H4a1.9 1.9 0 00-2 1.9V18a1.9 1.9 0 001.9 2H13a1.9 1.9 0 001.4-.6z M11.5 11.5 A3 3 0 0 1 8.5 14.5 A3 3 0 0 1 5.5 11.5 A3 3 0 0 1 11.5 11.5 z'
};
var wvuiIconAttachment = 'M9.5 19.75a4.25 4.25 0 01-4.25-4.25V9a2.75 2.75 0 015.5 0v6h-1.5V9a1.25 1.25 0 00-2.5 0v6.5a2.75 2.75 0 005.5 0V4a2.25 2.25 0 00-4.5 0v1h-1.5V4a3.75 3.75 0 017.5 0v11.5a4.25 4.25 0 01-4.25 4.25z';
var wvuiIconBell = 'M16 7a5.38 5.38 0 00-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 004 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 003-3H7a3 3 0 003 3z';
var wvuiIconBellOutline = 'M11.5 2.19C14.09 2.86 16 5.2 16 8v6l2 2v1H2v-1l2-2V8c0-2.8 1.91-5.14 4.5-5.81V1.5C8.5.67 9.17 0 10 0s1.5.67 1.5 1.5v.69zM10 4C7.79 4 6 5.79 6 8v7h8V8c0-2.21-1.79-4-4-4zM8 18h4c0 1.1-.9 2-2 2s-2-.9-2-2z';
var wvuiIconBigger = 'M14 18h-1.57a.66.66 0 01-.44-.13.87.87 0 01-.25-.34l-1-2.77H5.3l-1 2.77a.83.83 0 01-.24.32.65.65 0 01-.44.15H2L7 5.47h2zm-3.85-4.7L8.42 8.72A12.66 12.66 0 018 7.37q-.1.41-.21.75t-.21.6L5.85 13.3zM15 2l3 4h-6z';
var wvuiIconBlock = 'M10 1a9 9 0 109 9 9 9 0 00-9-9zm5 10H5V9h10z';
var wvuiIconBoldA = 'M8.326 11.274l1.722-4.908s1.305 3.843 1.626 4.907zM13.7 17H17L11.5 3h-3L3 17h3.3l1.24-3.496h4.92z';
var wvuiIconBoldArabAin = 'M6.886 11.891c0 1.576 1.618 2.451 4.856 2.636l2.552-.035.37.052c-.034.14-.29.397-.77.759l-.105.07C12.35 16.458 10.965 17 9.634 17c-1.33 0-2.385-.385-3.163-1.156-.759-.77-1.136-1.82-1.136-3.151.007-1.58.662-3.002 1.967-4.269v-.051l-.707-.642a1.111 1.111 0 01-.26-.735c0-.572.28-1.296.84-2.175C7.936 3.6 8.696 2.994 9.46 3c1.034.006 1.889.49 2.561 1.454.38.56-.035.642-1.242.257-.984-.385-1.783-.058-2.399.964l.02.087 1.312 1.01.059.006c1.64-.58 2.824-.863 3.553-.846-.07.136-.164.42-.285.855a32.391 32.391 0 01-.355 1.146l-.146.434-.45.058c-2.035.28-3.493.836-4.372 1.67-.542.54-.817 1.134-.821 1.778';
var wvuiIconBoldArabDad = 'M15.148 6.191l-1.954-.776.81-1.828 1.97.747-.826 1.857m.905 3.591c-.596-.333-1.167-.498-1.723-.493-.557 0-1.155.24-1.796.719l-.59.443.007.028a52.27 52.27 0 002.976.117h.367c.665-.026 1.16-.076 1.491-.154-.078-.199-.32-.42-.729-.66h-.007M8.113 13.62c-.019-1.056-.385-2.182-1.093-3.384L8.53 8.22l.137.175c.312.393.588 1.08.832 2.062l.075.058a2.51 2.51 0 001.56-.565v-.007l2.021-1.785c.794-.7 1.496-1.05 2.109-1.05.447.004.992.226 1.626.665.642.441 1.032.813 1.167 1.12.074.175.11.45.11.829 0 .81-.129 1.431-.385 1.862a2.314 2.314 0 01-.986.856c-.511.243-1.809.364-3.889.364a96.11 96.11 0 01-3.48-.075l-.165.502c-.296.782-.54 1.298-.73 1.544-.844 1.093-2.082 1.639-3.712 1.639-1.995-.007-2.987-1.073-2.987-3.197.004-1.097.325-2.116.962-3.054.175-.252.347-.429.518-.53.262-.155.336-.105.22.145-.463 1.005-.696 1.806-.7 2.4.008 1.374.876 2.064 2.603 2.068 1.211-.004 2.104-.212 2.678-.624';
var wvuiIconBoldArabJeem = 'M12.33 11.99l-2.26-.9.94-2.14 2.28.87zm2.43 1.34q.2.01.04.3-.16.28-1.12 1.06-1.06.86-1.28 1-1.37.86-2.96.85-1.6 0-2.66-1.06-1.23-1.25-1.23-3.45 0-2.8 2.26-5.32l-.05-.1q-1.18 0-1.53.06-.34.05-.57.25-.76.64-.77.31 0-.06.07-.33.43-1.22 1.23-2.05.8-.83 1.85-.83.7 0 2.21.22 1.52.22 2.18.22h1.67l-1.22 2.47-.36.01-1.27.08-1.43.11q-.92.28-1.77 1.18Q7 9.45 7 10.7q.02 3.27 3.82 3.28 1.42 0 3.7-.63.16-.04.25-.03z';
var wvuiIconBoldArmnTo = 'M12.34 14.929c.148 0 .302-.031.464-.093.16-.071.305-.178.436-.333a1.7 1.7 0 00.324-.614c.087-.254.131-.57.131-.948v-1.883H12.34a1.51 1.51 0 00-.51.093 1.075 1.075 0 00-.456.307 1.79 1.79 0 00-.325.603c-.08.253-.12.579-.12.975 0 .404.042.558.13.826.094.25.213.463.344.63.142.154.297.273.463.344.167.06.328.083.483.083m-3.53-9.317a3.173 3.173 0 00-1.158.535 2.496 2.496 0 00-.799.966c-.19.407-.287.927-.287 1.557V17H3V8.458c0-.922.178-1.729.538-2.424A5.023 5.023 0 015.005 4.29c.618-.464 1.343-.814 2.174-1.05a9.642 9.642 0 012.645-.353c.625 0 1.235.053 1.83.158a8.646 8.646 0 011.699.473 6.81 6.81 0 011.465.773c.446.309.83.67 1.153 1.085.327.404.582.867.76 1.39.179.511.269 1.295.269 1.913h1.616v2.425H17v1.9c0 .69-.121 1.296-.368 1.831-.25.523-.583.963-1.003 1.32-.416.358-.991.629-1.542.815a5.65 5.65 0 01-1.747.269 5.432 5.432 0 01-1.735-.28 4.112 4.112 0 01-1.45-.835 4.102 4.102 0 01-.993-1.395c-.241-.56-.361-1.22-.361-1.975 0-.754.119-1.402.38-1.949.25-.546.583-.813 1.01-1.16.416-.352.903-.61 1.45-.77a5.719 5.719 0 011.7-.25h1.342c-.012-.581-.047-1.24-.285-1.615a2.686 2.686 0 00-.915-.912 3.843 3.843 0 00-1.172-.507c-.445-.107-.687-.112-1.307-.112-.618 0-.76.024-1.2.121z';
var wvuiIconBoldB = 'M9.93 3a9.34 9.34 0 012.39.27 4.53 4.53 0 011.62.73 2.87 2.87 0 01.91 1.18 4 4 0 01.29 1.55 3.09 3.09 0 01-.14.93 2.77 2.77 0 01-.43.83 3.21 3.21 0 01-.75.71 4.56 4.56 0 01-1.09.54 4 4 0 012.1 1.1 2.86 2.86 0 01.68 2 4 4 0 01-.34 1.65 3.73 3.73 0 01-1 1.32 4.66 4.66 0 01-1.6.87 7 7 0 01-2.19.31H5V3zM7.87 5.2V9h1.89a5.1 5.1 0 001.07-.1 2.13 2.13 0 00.78-.32A1.44 1.44 0 0012.1 8a2.07 2.07 0 00.17-.87 2.51 2.51 0 00-.14-.89 1.31 1.31 0 00-.43-.59 1.86 1.86 0 00-.7-.35 4.72 4.72 0 00-1-.1zm2.46 9.58a3.24 3.24 0 001.13-.17 1.91 1.91 0 00.71-.45 1.54 1.54 0 00.37-.64 2.66 2.66 0 00.11-.75 2.2 2.2 0 00-.12-.76 1.36 1.36 0 00-.4-.57 1.89 1.89 0 00-.72-.36 4.09 4.09 0 00-1.1-.13H7.87v3.83z';
var wvuiIconBoldCyrlBe = 'M4.002 3h10.5v2.333h-7v3.5h3.092c1.04 0 1.904.129 2.59.382.685.254 1.268.725 1.75 1.411.49.689.735 1.386.735 2.31 0 .948-.245 1.63-.735 2.306-.488.674-1.046 1.136-1.675 1.385-.622.248-1.511.373-2.667.373H4m5.563-2.333c.875 0 1.493-.059 1.848-.14.356-.09.665-.288.924-.595.268-.304.4-.551.4-.997 0-.65-.233-1.012-.695-1.306-.467-.298-1.249-.463-2.357-.463h-2.18v3.5';
var wvuiIconBoldCyrlPalochka = 'M14 3v1l-1.7.1-.3.3v11.2l.3.3 1.7.1v1H6v-1l1.7-.1.3-.3V4.4l-.3-.3L6 4V3z';
var wvuiIconBoldCyrlTe = 'M8.25 17V5.333H3.583V3h12.834v2.333H11.75V17';
var wvuiIconBoldCyrlZhe = 'M11.167 3v6.013c.382-.038.626-.21.822-.521.196-.31.467-1.019.814-2.124.455-1.449.922-2.373 1.397-2.77.47-.393 1.254-.589 2.35-.589L17 3v2.077l-.45-.01c-.467 0-.805.073-1.025.219-.217.13-.393.35-.527.641-.134.292-.334.887-.597 1.789-.14.478-.292.88-.458 1.204-.16.32-.447.625-.86.91.513.182.933.542 1.264 1.08.336.53.704 1.287 1.101 2.267L17 17h-2.7l-1.365-3.593-.132-.295-.28-.654c-.288-.665-.524-1.088-.711-1.271a.847.847 0 00-.645-.277V17H8.833v-6.09c-.263 0-.445.09-.637.268-.191.175-.429.603-.714 1.28l-.287.653-.131.296L5.699 17H3l1.552-3.812c.381-.942.74-1.688 1.077-2.24.341-.555.773-.925 1.295-1.108-.415-.284-.704-.583-.87-.9a7.417 7.417 0 01-.457-1.214c-.259-.886-.455-1.47-.59-1.773a1.522 1.522 0 00-.524-.665c-.21-.14-.572-.21-1.064-.21H3V3l.45.01c1.112 0 1.902.198 2.373.597.467.404.922 1.325 1.373 2.76.35 1.113.624 1.825.815 2.135.196.303.44.472.822.511v-6.01';
var wvuiIconBoldF = 'M15 5V3H5v14h3v-6h5.833V9H8V5z';
var wvuiIconBoldG = 'M10.168 12.333V10H16v4.903c-.58.554-1.423 1.043-2.527 1.47a9.325 9.325 0 01-3.34.626c-1.435 0-2.687-.295-3.753-.887a5.725 5.725 0 01-2.405-2.548 8.175 8.175 0 01-.806-3.61c0-1.41.303-2.663.898-3.759.604-1.097 1.481-1.936 2.636-2.52C7.583 3.225 8.678 3 9.988 3c1.703 0 3.033.354 3.987 1.061.962.704 1.58 1.675 1.855 2.919l-2.753.507a2.838 2.838 0 00-1.097-1.57c-.53-.396-1.192-.583-1.99-.583-1.212 0-2.175.373-2.894 1.131-.711.759-1.066 1.878-1.066 3.372 0 1.603.362 2.81 1.085 3.616.723.801 1.673 1.201 2.846 1.201.58 0 1.16-.11 1.738-.332.59-.229 1.556-.665 1.972-.987V12.32';
var wvuiIconBoldGeorMan = 'M11.554 12.403c0-2-.46-3-1.379-3-1.013 0-1.519.91-1.519 2.727-.012 1.895.49 2.842 1.51 2.842.926 0 1.39-.856 1.39-2.566m2.527 0c0 3.061-1.302 4.594-3.908 4.594-2.837 0-4.258-1.617-4.258-4.853 0-3.193 1.42-4.79 4.258-4.79.982 0 1.38.736 1.38.736V6.249c0-.92-.525-1.38-1.571-1.38-.668 0-1.001.436-1.001 1.31h-2.73C6.255 4.06 7.492 3 9.956 3c2.762 0 4.139 1.104 4.127 3.313';
var wvuiIconBoldL = 'M5 17V3h3v12h7v2z';
var wvuiIconBoldN = 'M4 3h3l6 9.333V3h3v14h-3L7 7.667V17H4z';
var wvuiIconBoldV = 'M3 3h3.5l3.5 9.333L13.5 3H17l-5.25 14h-3.5z';
var wvuiIconBold = {
langCodeMap: {
ar: wvuiIconBoldArabAin,
be: wvuiIconBoldCyrlTe,
ce: wvuiIconBoldCyrlPalochka,
cs: wvuiIconBoldB,
en: wvuiIconBoldB,
he: wvuiIconBoldB,
ml: wvuiIconBoldB,
pl: wvuiIconBoldB,
sco: wvuiIconBoldB,
da: wvuiIconBoldF,
de: wvuiIconBoldF,
hu: wvuiIconBoldF,
ksh: wvuiIconBoldF,
nn: wvuiIconBoldF,
no: wvuiIconBoldF,
sv: wvuiIconBoldF,
es: wvuiIconBoldN,
gl: wvuiIconBoldN,
pt: wvuiIconBoldN,
eu: wvuiIconBoldL,
fi: wvuiIconBoldL,
fa: wvuiIconBoldArabDad,
fr: wvuiIconBoldG,
it: wvuiIconBoldG,
hy: wvuiIconBoldArmnTo,
ka: wvuiIconBoldGeorMan,
ky: wvuiIconBoldCyrlZhe,
ru: wvuiIconBoldCyrlZhe,
uk: wvuiIconBoldCyrlZhe,
nl: wvuiIconBoldV,
os: wvuiIconBoldCyrlBe,
ur: wvuiIconBoldArabJeem
},
default: wvuiIconBoldA
};
var wvuiIconBook = {
path: 'M15 2a7.65 7.65 0 00-5 2 7.65 7.65 0 00-5-2H1v15h4a7.65 7.65 0 015 2 7.65 7.65 0 015-2h4V2zm2.5 13.5H14a4.38 4.38 0 00-3 1V5s1-1.5 4-1.5h2.5z',
shouldFlip: true
};
var wvuiIconBookmark = 'M5 1a2 2 0 00-2 2v16l7-5 7 5V3a2 2 0 00-2-2z';
var wvuiIconBookmarkOutline = 'M5 1a2 2 0 00-2 2v16l7-5 7 5V3a2 2 0 00-2-2zm10 14.25l-5-3.5-5 3.5V3h10z';
var wvuiIconBright = 'M17.07 7.07V2.93h-4.14L10 0 7.07 2.93H2.93v4.14L0 10l2.93 2.93v4.14h4.14L10 20l2.93-2.93h4.14v-4.14L20 10zM10 16a6 6 0 116-6 6 6 0 01-6 6z M14.5 10 A4.5 4.5 0 0 1 10 14.5 A4.5 4.5 0 0 1 5.5 10 A4.5 4.5 0 0 1 14.5 10 z';
var wvuiIconBrowser = {
path: 'M2 2a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V4a2 2 0 00-2-2zm2 1.5A1.5 1.5 0 112.5 5 1.5 1.5 0 014 3.5zM18 16H2V8h16z',
shouldFlip: true
};
var wvuiIconCalendar = 'M15 3V1h-2v2H7V1H5v2H2a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V5a2 2 0 00-2-2zm3 14H2V8h16zm-2-6h-4v4h4z';
var wvuiIconCamera = 'M10 16c-4.455 0-6.685-5.386-3.535-8.535C9.615 4.315 15 6.545 15 11a5 5 0 01-5 5zM6.42 2.56l-.67.64c-.37.357-.865.808-1.38.81H2C.914 4 0 4.712 0 5.76v10.48C0 17.27 1 18 2 18h16c1 0 2-.716 2-1.76V5.76C20 4.723 19 4 18 4h-2.37c-.515-.002-1.01-.453-1.38-.81l-.67-.64A2 2 0 0012.2 2H7.8a2 2 0 00-1.38.56z M13 11 A3 3 0 0 1 10 14 A3 3 0 0 1 7 11 A3 3 0 0 1 13 11 z';
var wvuiIconCancel = 'M10 0a10 10 0 1010 10A10 10 0 0010 0zM2 10a8 8 0 011.69-4.9L14.9 16.31A8 8 0 012 10zm14.31 4.9L5.1 3.69A8 8 0 0116.31 14.9z';
var wvuiIconChart = 'M3 3H1v16h18v-2H3z M11 11L8 9l-4 4v3h14V5z';
var wvuiIconCheck = 'M7 14.17L2.83 10l-1.41 1.41L7 17 19 5l-1.41-1.42z';
var wvuiIconCheckAll = 'M.29 12.71l1.42-1.42 2.22 2.22 8.3-10.14 1.54 1.26-9.7 11.86zM12 10h5v2h-5zm-3 4h5v2H9zm6-8h5v2h-5z';
var wvuiIconClear = 'M10 0a10 10 0 1010 10A10 10 0 0010 0zm5.66 14.24l-1.41 1.41L10 11.41l-4.24 4.25-1.42-1.42L8.59 10 4.34 5.76l1.42-1.42L10 8.59l4.24-4.24 1.41 1.41L11.41 10z';
var wvuiIconClock = 'M10 0a10 10 0 1010 10A10 10 0 0010 0zm2.5 14.5L9 11V4h2v6l3 3z';
var wvuiIconClose = 'M4.34 2.93l12.73 12.73-1.41 1.41L2.93 4.35z M17.07 4.34L4.34 17.07l-1.41-1.41L15.66 2.93z';
var wvuiIconCode = 'M1 10.08V8.92h1.15c1.15 0 1.15 0 1.15-1.15V5a7.42 7.42 0 01.09-1.3 2 2 0 01.3-.7 1.84 1.84 0 01.93-.68A6.44 6.44 0 016.74 2h1.18v1.15h-.86A1.32 1.32 0 006 3.62a1.71 1.71 0 00-.36 1.23V7a3.22 3.22 0 01-.28 1.72 2 2 0 01-1.26.77 2.15 2.15 0 011.26.79A3.26 3.26 0 015.62 12v3.15A1.67 1.67 0 006 16.37a1.31 1.31 0 001.08.47h.87V18H6.74a6.3 6.3 0 01-2.12-.29 1.82 1.82 0 01-.93-.71 1.94 1.94 0 01-.3-.72A7.46 7.46 0 013.31 15v-3.77c0-1.15 0-1.15-1.15-1.15zm18 0V8.92h-1.15c-1.15 0-1.15 0-1.15-1.15V5a7.42 7.42 0 00-.08-1.32 2 2 0 00-.3-.73 1.84 1.84 0 00-.93-.68A6.44 6.44 0 0013.26 2h-1.18v1.15h.87a1.32 1.32 0 011.05.47 1.71 1.71 0 01.36 1.23V7a3.22 3.22 0 00.28 1.72 2 2 0 001.26.77 2.15 2.15 0 00-1.26.79 3.26 3.26 0 00-.26 1.72v3.15a1.67 1.67 0 01-.38 1.22 1.31 1.31 0 01-1.08.47h-.87V18h1.19a6.3 6.3 0 002.12-.29 1.82 1.82 0 00.93-.68 1.94 1.94 0 00.3-.72 7.46 7.46 0 00.1-1.31v-3.77c0-1.15 0-1.15 1.15-1.15z';
var wvuiIconCollapse = 'M2.5 15.25l7.5-7.5 7.5 7.5 1.5-1.5-9-9-9 9z';
var wvuiIconDie = 'M3 1a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2V3a2 2 0 00-2-2zm2 16a2 2 0 112-2 2 2 0 01-2 2zM5 7a2 2 0 112-2 2 2 0 01-2 2zm5 5a2 2 0 112-2 2 2 0 01-2 2zm5 5a2 2 0 112-2 2 2 0 01-2 2zm0-10a2 2 0 112-2 2 2 0 01-2 2z';
var wvuiIconDoubleChevronEnd = {
path: 'M11 2L9.7 3.3l6.6 6.7-6.6 6.7L11 18l8-8zM2.5 2L1 3.3 7.8 10l-6.7 6.7L2.5 18l8-8z',
shouldFlip: true
};
var wvuiIconDoubleChevronStart = {
path: 'M9 2l1.3 1.3L3.7 10l6.6 6.7L9 18l-8-8 8-8zm8.5 0L19 3.3 12.2 10l6.7 6.7-1.4 1.3-8-8 8-8z',
shouldFlip: true
};
var wvuiIconDownTriangle = 'M10 15L2 5h16z';
var wvuiIconDownload = 'M17 12v5H3v-5H1v5a2 2 0 002 2h14a2 2 0 002-2v-5z M15 9h-4V1H9v8H5l5 6z';
var wvuiIconDraggable = 'M2 11h16v2H2zm0-4h16v2H2zm11 8H7l3 3zM7 5h6l-3-3z';
var wvuiIconEdit = 'M16.77 8l1.94-2a1 1 0 000-1.41l-3.34-3.3a1 1 0 00-1.41 0L12 3.23zM1 14.25V19h4.75l9.96-9.96-4.75-4.75z';
var wvuiIconEditLock = 'M12 12a2 2 0 01-2-2V5.25l-9 9V19h4.75l7-7zm7-8h-.5V2.5a2.5 2.5 0 00-5 0V4H13a1 1 0 00-1 1v4a1 1 0 001 1h6a1 1 0 001-1V5a1 1 0 00-1-1zm-3 4a1 1 0 111-1 1 1 0 01-1 1zm1.5-4h-3V2.75C14.5 2 14.5 1 16 1s1.5 1 1.5 1.75z';
var wvuiIconEditUndoLtr = 'M1 14.25V19h4.75l8.33-8.33-5.27-4.23zM13 2.86V0L8 4l5 4V5h.86c2.29 0 4 1.43 4 4.29H20a6.51 6.51 0 00-6.14-6.43z';
var wvuiIconEditUndoRtl = 'M3 15.25V20h4.75l8.33-8.33-5.27-4.23z M13 2.86V0l5 4-5 4V5h-.86c-2.28 0-4 1.43-4 4.29H6a6.51 6.51 0 016.14-6.43z';
var wvuiIconEditUndo = {
rtl: wvuiIconEditUndoRtl,
default: wvuiIconEditUndoLtr
};
var wvuiIconEllipsis = 'M12 10 A2 2 0 0 1 10 12 A2 2 0 0 1 8 10 A2 2 0 0 1 12 10 z M5 10 A2 2 0 0 1 3 12 A2 2 0 0 1 1 10 A2 2 0 0 1 5 10 z M19 10 A2 2 0 0 1 17 12 A2 2 0 0 1 15 10 A2 2 0 0 1 19 10 z';
var wvuiIconError = 'M13.728 1H6.272L1 6.272v7.456L6.272 19h7.456L19 13.728V6.272zM11 15H9v-2h2zm0-4H9V5h2z';
var wvuiIconExitFullscreen = 'M7 7V1H5v4H1v2zM5 19h2v-6H1v2h4zm10-4h4v-2h-6v6h2zm0-8h4V5h-4V1h-2v6z';
var wvuiIconExpand = 'M17.5 4.75l-7.5 7.5-7.5-7.5L1 6.25l9 9 9-9z';
var wvuiIconEye = 'M10 14.5a4.5 4.5 0 114.5-4.5 4.5 4.5 0 01-4.5 4.5zM10 3C3 3 0 10 0 10s3 7 10 7 10-7 10-7-3-7-10-7z M12.5 10 A2.5 2.5 0 0 1 10 12.5 A2.5 2.5 0 0 1 7.5 10 A2.5 2.5 0 0 1 12.5 10 z';
var wvuiIconEyeClosed = 'M12.49 9.94A2.5 2.5 0 0010 7.5z M8.2 5.9a4.38 4.38 0 011.8-.4 4.5 4.5 0 014.5 4.5 4.34 4.34 0 01-.29 1.55L17 14.14A14 14 0 0020 10s-3-7-10-7a9.63 9.63 0 00-4 .85zM2 2L1 3l2.55 2.4A13.89 13.89 0 000 10s3 7 10 7a9.67 9.67 0 004.64-1.16L18 19l1-1zm8 12.5A4.5 4.5 0 015.5 10a4.45 4.45 0 01.6-2.2l1.53 1.44a2.47 2.47 0 00-.13.76 2.49 2.49 0 003.41 2.32l1.54 1.45a4.47 4.47 0 01-2.45.73z';
var wvuiIconFeedback = {
path: 'M19 16L2 12a3.83 3.83 0 01-1-2.5A3.83 3.83 0 012 7l17-4z M6 9 H6 A2 2 0 0 1 8 11 V15 A2 2 0 0 1 6 17 H6 A2 2 0 0 1 4 15 V11 A2 2 0