UNPKG

dd-vue-screening

Version:

一个干净的轻量级移动端筛选插件,可选一级、两级、搜索等

1,440 lines (1,158 loc) 46.6 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 = "fb15"); /******/ }) /************************************************************************/ /******/ ({ /***/ "0bfb": /***/ (function(module, exports, __webpack_require__) { "use strict"; // 21.2.5.3 get RegExp.prototype.flags var anObject = __webpack_require__("cb7c"); module.exports = function () { var that = anObject(this); var result = ''; if (that.global) result += 'g'; if (that.ignoreCase) result += 'i'; if (that.multiline) result += 'm'; if (that.unicode) result += 'u'; if (that.sticky) result += 'y'; return result; }; /***/ }), /***/ "19f2": /***/ (function(module, exports, __webpack_require__) { // extracted by mini-css-extract-plugin /***/ }), /***/ "214f": /***/ (function(module, exports, __webpack_require__) { "use strict"; __webpack_require__("b0c5"); var redefine = __webpack_require__("2aba"); var hide = __webpack_require__("32e9"); var fails = __webpack_require__("79e5"); var defined = __webpack_require__("be13"); var wks = __webpack_require__("2b4c"); var regexpExec = __webpack_require__("520a"); var SPECIES = wks('species'); var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { // #replace needs built-in support for named groups. // #match works fine because it just return the exec results, even if it has // a "grops" property. var re = /./; re.exec = function () { var result = []; result.groups = { a: '7' }; return result; }; return ''.replace(re, '$<a>') !== '7'; }); var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec var re = /(?:)/; var originalExec = re.exec; re.exec = function () { return originalExec.apply(this, arguments); }; var result = 'ab'.split(re); return result.length === 2 && result[0] === 'a' && result[1] === 'b'; })(); module.exports = function (KEY, length, exec) { var SYMBOL = wks(KEY); var DELEGATES_TO_SYMBOL = !fails(function () { // String methods call symbol-named RegEp methods var O = {}; O[SYMBOL] = function () { return 7; }; return ''[KEY](O) != 7; }); var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { // Symbol-named RegExp methods call .exec var execCalled = false; var re = /a/; re.exec = function () { execCalled = true; return null; }; if (KEY === 'split') { // RegExp[@@split] doesn't call the regex's exec method, but first creates // a new one. We need to return the patched regex when creating the new one. re.constructor = {}; re.constructor[SPECIES] = function () { return re; }; } re[SYMBOL](''); return !execCalled; }) : undefined; if ( !DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) ) { var nativeRegExpMethod = /./[SYMBOL]; var fns = exec( defined, SYMBOL, ''[KEY], function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) { if (regexp.exec === regexpExec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; } return { done: true, value: nativeMethod.call(str, regexp, arg2) }; } return { done: false }; } ); var strfn = fns[0]; var rxfn = fns[1]; redefine(String.prototype, KEY, strfn); hide(RegExp.prototype, SYMBOL, length == 2 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) // 21.2.5.11 RegExp.prototype[@@split](string, limit) ? function (string, arg) { return rxfn.call(string, this, arg); } // 21.2.5.6 RegExp.prototype[@@match](string) // 21.2.5.9 RegExp.prototype[@@search](string) : function (string) { return rxfn.call(string, this); } ); } }; /***/ }), /***/ "230e": /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__("d3f4"); var document = __webpack_require__("7726").document; // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement); module.exports = function (it) { return is ? document.createElement(it) : {}; }; /***/ }), /***/ "23c6": /***/ (function(module, exports, __webpack_require__) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = __webpack_require__("2d95"); var TAG = __webpack_require__("2b4c")('toStringTag'); // ES3 wrong here var ARG = cof(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key]; } catch (e) { /* empty */ } }; module.exports = function (it) { var O, T, B; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T // builtinTag case : ARG ? cof(O) // ES3 arguments fallback : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; }; /***/ }), /***/ "2aba": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("7726"); var hide = __webpack_require__("32e9"); var has = __webpack_require__("69a8"); var SRC = __webpack_require__("ca5a")('src'); var $toString = __webpack_require__("fa5b"); var TO_STRING = 'toString'; var TPL = ('' + $toString).split(TO_STRING); __webpack_require__("8378").inspectSource = function (it) { return $toString.call(it); }; (module.exports = function (O, key, val, safe) { var isFunction = typeof val == 'function'; if (isFunction) has(val, 'name') || hide(val, 'name', key); if (O[key] === val) return; if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); if (O === global) { O[key] = val; } else if (!safe) { delete O[key]; hide(O, key, val); } else if (O[key]) { O[key] = val; } else { hide(O, key, val); } // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, TO_STRING, function toString() { return typeof this == 'function' && this[SRC] || $toString.call(this); }); /***/ }), /***/ "2b4c": /***/ (function(module, exports, __webpack_require__) { var store = __webpack_require__("5537")('wks'); var uid = __webpack_require__("ca5a"); var Symbol = __webpack_require__("7726").Symbol; var USE_SYMBOL = typeof Symbol == 'function'; var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; $exports.store = store; /***/ }), /***/ "2d00": /***/ (function(module, exports) { module.exports = false; /***/ }), /***/ "2d95": /***/ (function(module, exports) { var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; /***/ }), /***/ "32e9": /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__("86cc"); var createDesc = __webpack_require__("4630"); module.exports = __webpack_require__("9e1e") ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }), /***/ "386d": /***/ (function(module, exports, __webpack_require__) { "use strict"; var anObject = __webpack_require__("cb7c"); var sameValue = __webpack_require__("83a1"); var regExpExec = __webpack_require__("5f1b"); // @@search logic __webpack_require__("214f")('search', 1, function (defined, SEARCH, $search, maybeCallNative) { return [ // `String.prototype.search` method // https://tc39.github.io/ecma262/#sec-string.prototype.search function search(regexp) { var O = defined(this); var fn = regexp == undefined ? undefined : regexp[SEARCH]; return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); }, // `RegExp.prototype[@@search]` method // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search function (regexp) { var res = maybeCallNative($search, regexp, this); if (res.done) return res.value; var rx = anObject(regexp); var S = String(this); var previousLastIndex = rx.lastIndex; if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; var result = regExpExec(rx, S); if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; return result === null ? -1 : result.index; } ]; }); /***/ }), /***/ "4630": /***/ (function(module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }), /***/ "520a": /***/ (function(module, exports, __webpack_require__) { "use strict"; var regexpFlags = __webpack_require__("0bfb"); var nativeExec = RegExp.prototype.exec; // This always refers to the native implementation, because the // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, // which loads this file before patching the method. var nativeReplace = String.prototype.replace; var patchedExec = nativeExec; var LAST_INDEX = 'lastIndex'; var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/, re2 = /b*/g; nativeExec.call(re1, 'a'); nativeExec.call(re2, 'a'); return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; })(); // nonparticipating capturing group, copied from es5-shim's String#split patch. var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; if (PATCH) { patchedExec = function exec(str) { var re = this; var lastIndex, reCopy, match, i; if (NPCG_INCLUDED) { reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; match = nativeExec.call(re, str); if (UPDATES_LAST_INDEX_WRONG && match) { re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; } if (NPCG_INCLUDED && match && match.length > 1) { // Fix browsers whose `exec` methods don't consistently return `undefined` // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ // eslint-disable-next-line no-loop-func nativeReplace.call(match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined; } }); } return match; }; } module.exports = patchedExec; /***/ }), /***/ "5537": /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__("8378"); var global = __webpack_require__("7726"); var SHARED = '__core-js_shared__'; var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: core.version, mode: __webpack_require__("2d00") ? 'pure' : 'global', copyright: '© 2019 Denis Pushkarev (zloirock.ru)' }); /***/ }), /***/ "584a": /***/ (function(module, exports) { var core = module.exports = { version: '2.6.5' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /***/ "5ca1": /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__("7726"); var core = __webpack_require__("8378"); var hide = __webpack_require__("32e9"); var redefine = __webpack_require__("2aba"); var ctx = __webpack_require__("9b43"); var PROTOTYPE = 'prototype'; var $export = function (type, name, source) { var IS_FORCED = type & $export.F; var IS_GLOBAL = type & $export.G; var IS_STATIC = type & $export.S; var IS_PROTO = type & $export.P; var IS_BIND = type & $export.B; var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); var key, own, out, exp; if (IS_GLOBAL) source = name; for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; // export native or passed out = (own ? target : source)[key]; // bind timers to global for call from export context exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // extend global if (target) redefine(target, key, out, type & $export.U); // export if (exports[key] != out) hide(exports, key, exp); if (IS_PROTO && expProto[key] != out) expProto[key] = out; } }; global.core = core; // type bitmap $export.F = 1; // forced $export.G = 2; // global $export.S = 4; // static $export.P = 8; // proto $export.B = 16; // bind $export.W = 32; // wrap $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; /***/ }), /***/ "5f1b": /***/ (function(module, exports, __webpack_require__) { "use strict"; var classof = __webpack_require__("23c6"); var builtinExec = RegExp.prototype.exec; // `RegExpExec` abstract operation // https://tc39.github.io/ecma262/#sec-regexpexec module.exports = function (R, S) { var exec = R.exec; if (typeof exec === 'function') { var result = exec.call(R, S); if (typeof result !== 'object') { throw new TypeError('RegExp exec method returned something other than an Object or null'); } return result; } if (classof(R) !== 'RegExp') { throw new TypeError('RegExp#exec called on incompatible receiver'); } return builtinExec.call(R, S); }; /***/ }), /***/ "69a8": /***/ (function(module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; /***/ }), /***/ "6a99": /***/ (function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__("d3f4"); // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { if (!isObject(it)) return it; var fn, val; if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }), /***/ "7726": /***/ (function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /***/ }), /***/ "79e5": /***/ (function(module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (e) { return true; } }; /***/ }), /***/ "7f7f": /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__("86cc").f; var FProto = Function.prototype; var nameRE = /^\s*function ([^ (]*)/; var NAME = 'name'; // 19.2.4.2 name NAME in FProto || __webpack_require__("9e1e") && dP(FProto, NAME, { configurable: true, get: function () { try { return ('' + this).match(nameRE)[1]; } catch (e) { return ''; } } }); /***/ }), /***/ "8378": /***/ (function(module, exports) { var core = module.exports = { version: '2.6.5' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /***/ "83a1": /***/ (function(module, exports) { // 7.2.9 SameValue(x, y) module.exports = Object.is || function is(x, y) { // eslint-disable-next-line no-self-compare return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; }; /***/ }), /***/ "86cc": /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__("cb7c"); var IE8_DOM_DEFINE = __webpack_require__("c69a"); var toPrimitive = __webpack_require__("6a99"); var dP = Object.defineProperty; exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { return dP(O, P, Attributes); } catch (e) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /***/ "9b43": /***/ (function(module, exports, __webpack_require__) { // optional / simple context binding var aFunction = __webpack_require__("d8e8"); module.exports = function (fn, that, length) { aFunction(fn); if (that === undefined) return fn; switch (length) { case 1: return function (a) { return fn.call(that, a); }; case 2: return function (a, b) { return fn.call(that, a, b); }; case 3: return function (a, b, c) { return fn.call(that, a, b, c); }; } return function (/* ...args */) { return fn.apply(that, arguments); }; }; /***/ }), /***/ "9e1e": /***/ (function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__("79e5")(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /***/ "a21f": /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__("584a"); var $JSON = core.JSON || (core.JSON = { stringify: JSON.stringify }); module.exports = function stringify(it) { // eslint-disable-line no-unused-vars return $JSON.stringify.apply($JSON, arguments); }; /***/ }), /***/ "b0c5": /***/ (function(module, exports, __webpack_require__) { "use strict"; var regexpExec = __webpack_require__("520a"); __webpack_require__("5ca1")({ target: 'RegExp', proto: true, forced: regexpExec !== /./.exec }, { exec: regexpExec }); /***/ }), /***/ "be13": /***/ (function(module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; /***/ }), /***/ "c69a": /***/ (function(module, exports, __webpack_require__) { module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () { return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /***/ "ca5a": /***/ (function(module, exports) { var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), /***/ "cb7c": /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__("d3f4"); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; /***/ }), /***/ "cdc5": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_screening_vue_vue_type_style_index_0_id_748253e4_scoped_true_lang_stylus___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("19f2"); /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_screening_vue_vue_type_style_index_0_id_748253e4_scoped_true_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_screening_vue_vue_type_style_index_0_id_748253e4_scoped_true_lang_stylus___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_11_oneOf_1_0_node_modules_css_loader_index_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_stylus_loader_index_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_screening_vue_vue_type_style_index_0_id_748253e4_scoped_true_lang_stylus___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), /***/ "d3f4": /***/ (function(module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }), /***/ "d8e8": /***/ (function(module, exports) { module.exports = function (it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; /***/ }), /***/ "f499": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__("a21f"); /***/ }), /***/ "fa5b": /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__("5537")('native-function-to-string', Function.toString); /***/ }), /***/ "fb15": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js // This file is imported into lib/wc client bundles. if (typeof window !== 'undefined') { var i if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) { __webpack_require__.p = i[1] // eslint-disable-line } } // Indicate to webpack that this file can be concatenated /* harmony default export */ var setPublicPath = (null); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js var es6_function_name = __webpack_require__("7f7f"); // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e8d1a178-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/screening/screening.vue?vue&type=template&id=748253e4&scoped=true& var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"screening wrapper"},[_c('div',{staticClass:"nav bm bm-f1"},_vm._l((this[this.sDataName]),function(colData,key){return _c('div',{key:key,staticClass:"navCol bm bm-ac bm-pc",class:'col'+key+' '+'clo'+colData.search,style:(colData.search ? '' : 'width: calc('+_vm.length+')'),on:{"click":function($event){return _vm.screeningNavClick(key, colData)}}},[(colData.search)?_c('span',{staticClass:"bm bm-ac bm-pc bm-f1 search"},[_c('i',{staticClass:"iconfont icon-31sousuo"})]):_c('span',{staticClass:"bm bm-ac bm-pc bm-f1 notSearch"},[(colData.selectedData)?_c('span',[_vm._v(_vm._s(colData.selectedData[colData.stringName]))]):_c('span',[_vm._v(_vm._s(colData.default[colData.stringName]))]),_c('i',{staticClass:"iconfont icon-anzhuoxiala"})])])}),0),(_vm.opacity == 'opacity1')?_c('div',{staticClass:"main bm bm-f1"},_vm._l((this[this.sDataName]),function(colData,key){return _c('div',{key:key,staticClass:"mainCol bm bm-f1",class:'main'+key+' '+(colData.mainColShow ? colData.mainColShow: 'mainCol-out')},[(colData.indexeslist && _vm.$slots.indexeslist)?_vm._t("indexeslist"):_c('div',{staticClass:"bm bm-f1"},[(!colData.search && !colData.showTier)?_c('div',{staticClass:"conditionList bm-f1 bm-ver"},[(colData.default)?_c('div',{staticClass:"row bm bm-ac",class:_vm.defaultShow(colData),on:{"click":function($event){return _vm.conditionClick(key, 'default')}}},[_vm._v(_vm._s(colData.default[colData.stringName]))]):_vm._e(),_vm._l((colData.data),function(rowData,rowKey){return _c('div',{key:rowData[colData.stringCode],staticClass:"row bm bm-ac",class:_vm.rowDataShow(rowData, colData.selectedData),on:{"click":function($event){return _vm.conditionClick(key, rowKey, colData.data)}}},[_vm._v(_vm._s(rowData[colData.stringName]))])})],2):_vm._e(),(!colData.search && colData.showTier && colData.showTier == 2)?_c('div',{staticClass:"conditionDouble bm-f1 bm-ver"},[_vm._t("loc-city"),_c('div',{staticClass:"menu bm bm-ver bm-f1"},[_c('div',{ref:"menu-left",refInFor:true,staticClass:"menu-left"},[_c('div',{ref:''+colData.showTier+'_'+key+'_'+'default',refInFor:true,staticClass:"menu-left-row bm bm-ac bm-pc",class:(colData.default.leftRowShow ? colData.default.leftRowShow: 'leftRow-in'),on:{"click":function($event){return _vm.doubleClickLeft(key, 'default')}}},[_vm._v(_vm._s(colData.default[colData.stringName]))]),_vm._l((colData.data),function(leftRow,leftRowKey){return _c('div',{key:leftRowKey,ref:''+colData.showTier+'_'+key+'_'+''+leftRowKey+'',refInFor:true,staticClass:"menu-left-row bm bm-ac bm-pc",class:(leftRow.leftRowShow ? leftRow.leftRowShow: 'leftRow-out'),on:{"click":function($event){return _vm.doubleClickLeft(key, leftRowKey, leftRow)}}},[_vm._v(_vm._s(leftRow[colData.stringName]))])})],2),_c('div',{staticClass:"menu-right"},_vm._l((_vm.doubleRightData.listData),function(rightRow,rightRowKey){return _c('div',{key:rightRowKey,staticClass:"menu-right-row bm bm-ac bm-pc",class:(rightRow.rightRowShow ? rightRow.rightRowShow: 'rightRow-out'),on:{"click":function($event){return _vm.doubleClickRight(rightRow, rightRowKey)}}},[_vm._v(_vm._s(rightRow[colData.stringName]))])}),0)])],2):_vm._e()])],2)}),0):_vm._e(),_c('div',{staticClass:"backdropBg",class:_vm.bgOpen,staticStyle:{"background-color":"rgba(0, 0, 0, 0.2)"},on:{"click":function($event){return _vm.screeningClose()}}})])} var staticRenderFns = [] // CONCATENATED MODULE: ./packages/screening/screening.vue?vue&type=template&id=748253e4&scoped=true& // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.search.js var es6_regexp_search = __webpack_require__("386d"); // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/json/stringify.js var stringify = __webpack_require__("f499"); var stringify_default = /*#__PURE__*/__webpack_require__.n(stringify); // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/screening/screening.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var screeningvue_type_script_lang_js_ = ({ name: "screening", props: ["screeningData", "pageName"], data: function data() { return { bgOpen: "bg-out", opacity: "opacity0", doubleRightListData: "" }; }, created: function created() { this.init(); }, watch: { screeningData: { handler: function handler(newValue, oldValue) { if (stringify_default()(newValue) != stringify_default()(oldValue)) { this.init(); } }, deep: true } }, methods: { init: function init() { this.sDataName = this.pageName + "ScreeningData"; this[this.sDataName] = this.screeningData; this.length = this[this.sDataName].length; this.length = 100 / (this.length - 1) + '% - ' + 46 / (this.length - 1) + 'px'; this.local("init"); this.bgOpen = "bg-out"; }, defaultShow: function defaultShow(colData) { if (colData.selectedData) { if (colData.selectedData.id == colData.default.id) { return 'default-in'; } else { return colData.defaultShow ? colData.defaultShow : 'default-out'; } } else { return 'default-in'; } }, rowDataShow: function rowDataShow(row, selectedData) { if (selectedData) { if (row.id == selectedData.id) { return 'row-in'; } else { return 'row-out'; } } else { return 'row-out'; } }, // 定位方法 local: function local(code) { var _this = this; var localCode; _this[_this.sDataName].map(function (val, num) { if (val.showTier && val.showTier == 2) { var initTag = false; localCode = code == "init" ? val.localCode : code; if (localCode && val.data.length > 0) { initTag = true; } if (initTag) { val.data.map(function (leftVal, leftNum) { _this.$set(_this[_this.sDataName][num].data[leftNum], "leftRowShow", "leftRow-out"); leftVal.list.map(function (rightVal, rightNum) { _this.$set(_this[_this.sDataName][num].data[leftNum].list[rightNum], "rightRowShow", "rightRow-out"); if (localCode == rightVal.areaCode) { if (code == "init" || _this.lastSelectedKey.rowKey == "default") { val.default.leftRowShow = "leftRow-out"; val.default.rightRowShow = "rightRow-out"; } else { _this.$set(_this[_this.sDataName][num].data[_this.lastSelectedKey.rowKey], "leftRowShow", "leftRow-out"); _this.$set(_this[_this.sDataName][num].data[_this.lastSelectedKey.rowKey].list[_this.lastSelectedKey.listKey], "rightRowShow", "rightRow-out"); } _this.$set(_this[_this.sDataName][num].data[leftNum], "leftRowShow", "leftRow-in"); _this.$set(_this[_this.sDataName][num].data[leftNum].list[rightNum], "rightRowShow", "rightRow-in"); if (code != "init") { var localDom = _this.$refs["" + val.showTier + "_" + num + "_" + leftNum + ""]; if (_this.$refs["menu-left"][0].scrollTo) { _this.$refs["menu-left"][0].scrollTo(0, localDom[0].offsetTop - 30); } else { _this.$refs["menu-left"][0].scrollTop = localDom[0].offsetTop - 30; } } _this.doubleRightData = { key: num, leftKey: leftNum, listData: leftVal.list }; _this.lastSelectedKey = { key: num, rowKey: leftNum, listKey: rightNum }; } }); }); } else { val.default['leftRowShow'] = "leftRow-in"; val.default['rightRowShow'] = "rightRow-in"; _this.doubleRightData = { key: num, leftKey: 'default', listData: [val.default] }; _this.lastSelectedKey = { key: num, rowKey: 'default', listKey: 0 }; } } }); }, screeningNavClick: function screeningNavClick(key, colData) { var _this = this; if (colData.search) { this.$emit("search"); } else { _this[_this.sDataName].map(function (colData, colNum) { if (colData.showTier && colData.showTier == 2 && colData.data.length > 0) { var localDom = _this.$refs["" + colData.showTier + "_" + _this.lastSelectedKey.key + "_" + _this.lastSelectedKey.rowKey + ""]; if (_this.$refs["menu-left"][0].scrollTo) { _this.$refs["menu-left"][0].scrollTo(0, localDom[0].offsetTop - 30); } else { _this.$refs["menu-left"][0].scrollTop = localDom[0].offsetTop - 30; } } if (!colData.search) { if (key == colNum) { _this.$set(_this[_this.sDataName][colNum], "mainColShow", "mainCol-in"); _this.bgOpen = "bg-in"; } else { _this.$set(_this[_this.sDataName][colNum], "mainColShow", "mainCol-out"); } } }); } }, screeningClose: function screeningClose() { var _this = this; _this[_this.sDataName].map(function (colData, colNum) { if (!colData.search) { _this.$set(_this[_this.sDataName][colNum], "mainColShow", "mainCol-out"); _this.bgOpen = "bg-out"; } }); }, conditionClick: function conditionClick(key, rowKey, data) { var _this = this; if (rowKey == "default") { _this[_this.sDataName][key].data.map(function (val, num) { _this.$set(_this[_this.sDataName][key].data[num], "rowShow", "row-out"); }); _this[_this.sDataName][key].defaultShow = "default-in"; _this[_this.sDataName][key].selectedData = _this[_this.sDataName][key].default; this.$emit("change", key, _this[_this.sDataName][key], "default", _this[_this.sDataName][key].default); } else { data.map(function (val, num) { if (rowKey == num) { _this.$set(_this[_this.sDataName][key].data[num], "rowShow", "row-in"); } else { _this.$set(_this[_this.sDataName][key].data[num], "rowShow", "row-out"); } }); _this[_this.sDataName][key].defaultShow = "default-out"; _this[_this.sDataName][key].selectedData = data[rowKey]; this.$emit("change", key, _this[_this.sDataName][key], rowKey, data[rowKey]); } setTimeout(function () { _this.screeningClose(); }, 360); }, doubleClickLeft: function doubleClickLeft(key, leftRowKey, leftRow) { var _this = this; if (leftRowKey == "default") { _this.$set(_this[_this.sDataName][key].default, "leftRowShow", "leftRow-in"); _this[_this.sDataName][key].data.map(function (val, num) { _this.$set(_this[_this.sDataName][key].data[num], "leftRowShow", "leftRow-out"); }); _this.doubleRightData = { key: key, leftKey: "default", listData: [_this[_this.sDataName][key].default] }; } else { _this.$set(_this[_this.sDataName][key].default, "leftRowShow", "leftRow-out"); _this[_this.sDataName][key].data.map(function (val, num) { var leftRowShow = "leftRow-out"; if (leftRowKey == num) { leftRowShow = "leftRow-in"; } _this.$set(_this[_this.sDataName][key].data[num], "leftRowShow", leftRowShow); }); _this.doubleRightData = { key: key, leftKey: leftRowKey, listData: leftRow.list }; } }, doubleClickRight: function doubleClickRight(rightRow, rightRowKey) { var selectedData; var _this = this; var doubleRightData = _this.doubleRightData; if (_this.lastSelectedKey) { var lsk = _this.lastSelectedKey; if (lsk.rowKey == "default") { _this.$set(_this[_this.sDataName][lsk.key].default, "rightRowShow", "rightRow-out"); } else { _this.$set(_this[_this.sDataName][lsk.key].data[lsk.rowKey].list[lsk.listKey], "rightRowShow", "rightRow-out"); } } if (doubleRightData.leftKey == "default") { _this.$set(_this[_this.sDataName][doubleRightData.key].default, "rightRowShow", "rightRow-in"); selectedData = rightRow; _this.$set(_this[_this.sDataName][doubleRightData.key], "selectedData", selectedData); this.$emit("change", doubleRightData.key, _this[_this.sDataName][doubleRightData.key], "default", rightRow); } else { _this.$set(_this[_this.sDataName][doubleRightData.key].data[doubleRightData.leftKey].list[rightRowKey], "rightRowShow", "rightRow-in"); selectedData = _this[_this.sDataName][doubleRightData.key].data[doubleRightData.leftKey].list[rightRowKey]; _this.$set(_this[_this.sDataName][doubleRightData.key], "selectedData", selectedData); this.$emit("change", doubleRightData.key, _this[_this.sDataName][doubleRightData.key], doubleRightData.leftKey, _this[_this.sDataName][doubleRightData.key].data[doubleRightData.leftKey], rightRowKey, rightRow); } _this.lastSelectedKey = { key: doubleRightData.key, rowKey: doubleRightData.leftKey, listKey: rightRowKey }; setTimeout(function () { _this.screeningClose(); }, 360); } }, mounted: function mounted() { var _this = this; setTimeout(function () { _this.opacity = 'opacity1'; }, 1000); } }); // CONCATENATED MODULE: ./packages/screening/screening.vue?vue&type=script&lang=js& /* harmony default export */ var screening_screeningvue_type_script_lang_js_ = (screeningvue_type_script_lang_js_); // EXTERNAL MODULE: ./packages/screening/screening.vue?vue&type=style&index=0&id=748253e4&scoped=true&lang=stylus& var screeningvue_type_style_index_0_id_748253e4_scoped_true_lang_stylus_ = __webpack_require__("cdc5"); // 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, 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 } } // CONCATENATED MODULE: ./packages/screening/screening.vue /* normalize component */ var component = normalizeComponent( screening_screeningvue_type_script_lang_js_, render, staticRenderFns, false, null, "748253e4", null ) /* harmony default export */ var screening = (component.exports); // CONCATENATED MODULE: ./packages/screening/index.js // 导入组件,组件必须声明 name // 为组件提供 install 安装方法,供按需引入 screening.install = function (Vue) { Vue.component(screening.name, screening); }; // 默认导出组件 /* harmony default export */ var packages_screening = (screening); // CONCATENATED MODULE: ./packages/index.js // 导入颜色选择器组件 // 存储组件列表 var components = [packages_screening]; // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册 var install = function install(Vue) { // 判断是否安装 if (install.installed) return; // 遍历注册全局组件 components.map(function (component) { return Vue.component(component.name, component); }); }; // 判断是否是直接引入文件 if (typeof window !== 'undefined' && window.Vue) { install(window.Vue); } /* harmony default export */ var packages_0 = ({ // 导出的对象必须具有 install,才能被 Vue.use() 方法安装 install: install, // 以下是具体的组件列表 screening: packages_screening }); // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (packages_0); /***/ }) /******/ }); //# sourceMappingURL=screening.common.js.map