module.exports = /** *** */ (function (modules) { // webpackBootstrap /** *** */ // The module cache /** *** */ const 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) /** *** */ const 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 /** *** */ const ns = Object.create(null) /** *** */ __webpack_require__.r(ns) /** *** */ Object.defineProperty(ns, 'default', {enumerable: true, value}) /** *** */ if (mode & 2 && typeof value !== 'string') for (const 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) { /** *** */ const 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 = 10) /** *** */ }({ /***/ 10: /***/ (function (module, exports, __webpack_require__) { const _base = _interopRequireDefault(__webpack_require__(11)) const _icondata = _interopRequireDefault(__webpack_require__(12)) function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {default: obj} } const getFixedIconType = function (type) { // 兼容旧版本 typo return type === 'field' ? 'filled' : type } Component({ options: { addGlobalClass: true }, properties: { extClass: { type: String, value: '' }, type: { type: String, value: 'outline', observer: '_genSrcByType' }, icon: { type: String, value: '', observer: '_genSrcByIcon' }, size: { type: Number, value: 20 }, color: { type: String, value: '#000000' } }, data: { src: '', height: 20, width: 20 }, methods: { _genSrcByIcon(v) { this._genSrc(_icondata.default[v][getFixedIconType(this.data.type)]) }, _genSrcByType(v) { this._genSrc(_icondata.default[this.data.icon][getFixedIconType(v)]) }, _genSrc(rawData) { if (!rawData) return // type 不存在 const base64 = _base.default.encode(rawData) this.setData({ src: 'data:image/svg+xml;base64,' + base64 }) } } }) /***/ }), /***/ 11: /***/ (function (module, exports, __webpack_require__) { Object.defineProperty(exports, '__esModule', {value: true}) const b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' const cb_encode = function cb_encode(ccc) { const padlen = [0, 2, 1][ccc.length % 3] const ord = ccc.charCodeAt(0) << 16 | (ccc.length > 1 ? ccc.charCodeAt(1) : 0) << 8 | (ccc.length > 2 ? ccc.charCodeAt(2) : 0) const chars = [b64chars.charAt(ord >>> 18), b64chars.charAt(ord >>> 12 & 63), padlen >= 2 ? '=' : b64chars.charAt(ord >>> 6 & 63), padlen >= 1 ? '=' : b64chars.charAt(ord & 63)] return chars.join('') } const btoa = global.btoa ? function (b) { return global.btoa(b) } : function (b) { return b.replace(/[\s\S]{1,3}/g, cb_encode) } const fromCharCode = String.fromCharCode const cb_utob = function cb_utob(c) { let cc if (c.length < 2) { cc = c.charCodeAt(0) return cc < 0x80 ? c : cc < 0x800 ? fromCharCode(0xc0 | cc >>> 6) + fromCharCode(0x80 | cc & 0x3f) : fromCharCode(0xe0 | cc >>> 12 & 0x0f) + fromCharCode(0x80 | cc >>> 6 & 0x3f) + fromCharCode(0x80 | cc & 0x3f) } else { cc = 0x10000 + (c.charCodeAt(0) - 0xD800) * 0x400 + (c.charCodeAt(1) - 0xDC00) return fromCharCode(0xf0 | cc >>> 18 & 0x07) + fromCharCode(0x80 | cc >>> 12 & 0x3f) + fromCharCode(0x80 | cc >>> 6 & 0x3f) + fromCharCode(0x80 | cc & 0x3f) } } const re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g const utob = function utob(u) { return u.replace(re_utob, cb_utob) } const _encode = function _encode(u) { const isUint8Array = Object.prototype.toString.call(u) === '[object Uint8Array]' return isUint8Array ? u.toString('base64') : btoa(utob(String(u))) } const encode = function encode(u) { const urisafe = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false return !urisafe ? _encode(u) : _encode(String(u)).replace(/[+\/]/g, function (m0) { return m0 == '+' ? '-' : '_' }).replace(/[=]/g, '') } exports.default = { encode } /***/ }), /***/ 12: /***/ (function (module, exports, __webpack_require__) { Object.defineProperty(exports, '__esModule', {value: true}) exports.default = { 'add-friends': {outline: '3.Icons/Outlined/add-friendsCreated with Sketch. ', field: ' 3.Icons/Filled/add-friends Created with Sketch. '}, add: {outline: ' 3.Icons/Outlined/add Created with Sketch. ', field: ' 3.Icons/Filled/add Created with Sketch. '}, add2: {outline: ' 3.Icons/Outlined/add2 Created with Sketch. ', field: ' 3.Icons/Filled/add2 Created with Sketch. '}, album: {outline: ' 3.Icons/Outlined/album Created with Sketch. ', field: ' 3.Icons/Filled/album Created with Sketch. '}, arrow: {outline: ' 3.Icons/Outlined/arrow Created with Sketch. ', field: ' 3.Icons/Filled/arrow Created with Sketch. '}, at: {outline: ' 3.Icons/Outlined/at Created with Sketch. ', field: ' 3.Icons/Filled/at Created with Sketch. '}, back: {outline: ' 3.Icons/Outlined/back Created with Sketch. ', field: ' 3.Icons/Filled/back Created with Sketch. '}, back2: {outline: ' 3.Icons/Outlined/back2 Created with Sketch. ', field: ' 3.Icons/Filled/back2 Created with Sketch. '}, 'bellring-off': {outline: ' 3.Icons/Outlined/bellring_off Created with Sketch. ', field: ' 3.Icons/Filled/bell-ring_off Created with Sketch. '}, 'bellring-on': {outline: ' 3.Icons/Outlined/bellring_on Created with Sketch. ', field: ' 3.Icons/Filled/bell-ring_on Created with Sketch. '}, camera: {outline: ' 3.Icons/Outlined/camera Created with Sketch. ', field: ' 3.Icons/Filled/camera Created with Sketch. '}, cellphone: {outline: ' 3.Icons/Outlined/cellphone Created with Sketch. ', field: ' 3.Icons/Filled/cellphone Created with Sketch. '}, clip: {outline: ' 3.Icons/Outlined/clip Created with Sketch. ', field: ' 3.Icons/Filled/clip Created with Sketch. '}, close: {outline: ' 3.Icons/Outlined/close Created with Sketch. ', field: ' 3.Icons/Filled/close Created with Sketch. '}, close2: {outline: ' 3.Icons/Outlined/close2 Created with Sketch. ', field: ' 3.Icons/Filled/close2 Created with Sketch. '}, comment: {outline: ' 3.Icons/Outlined/comment Created with Sketch. ', field: ' 3.Icons/Filled/comment Created with Sketch. '}, contacts: {outline: ' 3.Icons/Outlined/contacts Created with Sketch. ', field: ' 3.Icons/Filled/contacts Created with Sketch. '}, copy: {outline: ' 3.Icons/Outlined/copy Created with Sketch. ', field: ' 3.Icons/Filled/copy Created with Sketch. '}, 'delete-on': {outline: ' 3.Icons/Outlined/delete_on Created with Sketch. ', field: ' 3.Icons/Filled/delete_on Created with Sketch. '}, delete: {outline: ' 3.Icons/Outlined/delete Created with Sketch. ', field: ' 3.Icons/Filled/delete Created with Sketch. '}, discover: {outline: ' 3.Icons/Outlined/discover Created with Sketch. ', field: ' 3.Icons/Filled/discover Created with Sketch. '}, display: {outline: ' 3.Icons/Outlined/display Created with Sketch. ', field: ' 3.Icons/Filled/display Created with Sketch. '}, done: {outline: ' 3.Icons/Outlined/done Created with Sketch. ', field: ' 3.Icons/Filled/done Created with Sketch. '}, done2: {outline: ' 3.Icons/Outlined/done2 Created with Sketch. ', field: ' 3.Icons/Filled/done2 Created with Sketch. '}, download: {outline: ' 3.Icons/Outlined/download Created with Sketch. ', field: ' 3.Icons/Filled/download Created with Sketch. '}, email: {outline: ' 3.Icons/Outlined/email Created with Sketch. ', field: ' 3.Icons/Filled/email Created with Sketch. '}, error: {outline: ' 3.Icons/Outlined/error Created with Sketch. ', field: ' 3.Icons/Filled/error Created with Sketch. '}, 'eyes-off': {outline: ' 3.Icons/Outlined/eyes_off Created with Sketch. ', field: ' 3.Icons/Filled/eyes_off Created with Sketch. '}, 'eyes-on': {outline: ' 3.Icons/Outlined/eyes_on Created with Sketch. ', field: ' 3.Icons/Filled/eyes_on Created with Sketch. '}, folder: {outline: ' 3.Icons/Outlined/folder Created with Sketch. ', field: ' 3.Icons/Filled/folder Created with Sketch. '}, 'group-detail': {outline: ' 3.Icons/Outlined/group-detail Created with Sketch. ', field: ' 3.Icons/Filled/group-detail Created with Sketch. '}, help: {outline: ' 3.Icons/Outlined/help Created with Sketch. ', field: ' 3.Icons/Filled/help Created with Sketch. '}, home: {outline: ' 3.Icons/Outlined/home Created with Sketch. ', field: ' 3.Icons/Filled/home Created with Sketch. '}, imac: {outline: ' 3.Icons/Outlined/imac Created with Sketch. ', field: ' 3.Icons/Filled/imac Created with Sketch. '}, info: {outline: ' 3.Icons/Outlined/info Created with Sketch. ', field: ' 3.Icons/Filled/info Created with Sketch. '}, keyboard: {outline: ' 3.Icons/Outlined/keyboard Created with Sketch. ', field: ' 3.Icons/Filled/keyboard Created with Sketch. '}, like: {outline: ' 3.Icons/Outlined/like Created with Sketch. ', field: ' 3.Icons/Filled/like Created with Sketch. '}, link: {outline: ' 3.Icons/Outlined/link Created with Sketch. ', field: ' 3.Icons/Filled/link Created with Sketch. '}, location: {outline: ' 3.Icons/Outlined/location Created with Sketch. ', field: ' 3.Icons/Filled/location Created with Sketch. '}, lock: {outline: ' 3.Icons/Outlined/lock Created with Sketch. ', field: ' 3.Icons/Filled/lock Created with Sketch. '}, 'max-window': {outline: ' 3.Icons/Outlined/max-window Created with Sketch. ', field: ' 3.Icons/Filled/max-window Created with Sketch. '}, me: {outline: ' 3.Icons/Outlined/me Created with Sketch. ', field: ' 3.Icons/Filled/me Created with Sketch. '}, mike: {outline: ' 3.Icons/Outlined/mike Created with Sketch. ', field: ' 3.Icons/Filled/mike Created with Sketch. '}, mike2: {outline: ' 3.Icons/Outlined/mike2 Created with Sketch. ', field: ' 3.Icons/Filled/mike2 Created with Sketch. '}, 'mobile-contacts': {outline: ' 3.Icons/Outlined/mobile-contacts Created with Sketch. ', field: ' 3.Icons/Filled/mobile-contacts Created with Sketch. '}, more: {outline: ' 3.Icons/Outlined/more Created with Sketch. ', field: ' 3.Icons/Filled/more Created with Sketch. '}, more2: {outline: ' 3.Icons/Outlined/more2 Created with Sketch. ', field: ' 3.Icons/Filled/more2 Created with Sketch. '}, mosaic: {outline: ' 3.Icons/Outlined/mosaic Created with Sketch. ', field: ' 3.Icons/Filled/mask Created with Sketch. '}, 'music-off': {outline: ' 3.Icons/Outlined/music_off Created with Sketch. ', field: ' 3.Icons/Filled/music-off Created with Sketch. '}, music: {outline: ' 3.Icons/Outlined/music Created with Sketch. ', field: ' 3.Icons/Filled/music Created with Sketch. '}, note: {outline: ' 3.Icons/Outlined/note Created with Sketch. ', field: ' 3.Icons/Filled/note Created with Sketch. '}, pad: {outline: ' 3.Icons/Outlined/pad Created with Sketch. ', field: ' 3.Icons/Filled/pad Created with Sketch. '}, pause: {outline: ' 3.Icons/Outlined/pause Created with Sketch. ', field: ' 3.Icons/Filled/pause Created with Sketch. '}, pencil: {outline: ' 3.Icons/Outlined/pencil Created with Sketch. ', field: ' 3.Icons/Filled/pencil Created with Sketch. '}, 'photo-wall': {outline: ' 3.Icons/Outlined/photo-wall Created with Sketch. ', field: ' 3.Icons/Filled/photo-wall Created with Sketch. '}, play: {outline: ' 3.Icons/Outlined/play Created with Sketch. ', field: ' 3.Icons/Filled/play Created with Sketch. '}, play2: {outline: ' 3.Icons/Outlined/play2 Created with Sketch. ', field: ' 3.Icons/Filled/play2 Created with Sketch. '}, previous: {outline: ' 3.Icons/Outlined/previous Created with Sketch. ', field: ' 3.Icons/Filled/previous Created with Sketch. '}, previous2: {outline: ' 3.Icons/Outlined/previous2 Created with Sketch. ', field: ' 3.Icons/Filled/previous2 Created with Sketch. '}, 'qr-code': {outline: ' 3.Icons/Outlined/qr-code Created with Sketch. ', field: ' 3.Icons/Filled/qr-code Created with Sketch. '}, refresh: {outline: ' 3.Icons/Outlined/refresh Created with Sketch. ', field: ' 3.Icons/Filled/refresh Created with Sketch. '}, 'report-problem': {outline: ' 3.Icons/Outlined/report_problem Created with Sketch. ', field: ' 3.Icons/Filled/report-problem Created with Sketch. '}, search: {outline: ' 3.Icons/Outlined/search Created with Sketch. ', field: ' 3.Icons/Filled/search Created with Sketch. '}, sending: {outline: ' 3.Icons/Outlined/sending Created with Sketch. ', field: ' 3.Icons/Filled/sending Created with Sketch. '}, setting: {outline: ' 3.Icons/Outlined/setting Created with Sketch. ', field: ' 3.Icons/Filled/setting Created with Sketch. '}, share: {outline: ' 3.Icons/Outlined/share Created with Sketch. ', field: ' 3.Icons/Filled/share Created with Sketch. '}, shop: {outline: ' 3.Icons/Outlined/shop Created with Sketch. ', field: ' 3.Icons/Filled/shop Created with Sketch. '}, star: {outline: ' 3.Icons/Outlined/star Created with Sketch. ', field: ' 3.Icons/Filled/star Created with Sketch. '}, sticker: {outline: ' 3.Icons/Outlined/sticker Created with Sketch. ', field: ' 3.Icons/Filled/sticker Created with Sketch. '}, tag: {outline: ' 3.Icons/Outlined/tag Created with Sketch. ', field: ' 3.Icons/Filled/tag Created with Sketch. '}, text: {outline: ' 3.Icons/Outlined/text Created with Sketch. ', field: ' 3.Icons/Filled/text Created with Sketch. '}, time: {outline: ' 3.Icons/Outlined/time Created with Sketch. ', field: ' 3.Icons/Filled/time Created with Sketch. '}, 'transfer-text': {outline: ' 3.Icons/Outlined/transfer-text Created with Sketch. ', field: ' 3.Icons/Filled/transfer-text Created with Sketch. '}, transfer2: {outline: ' 3.Icons/Outlined/transfer2 Created with Sketch. ', field: ' 3.Icons/Filled/transfer2 Created with Sketch. '}, translate: {outline: ' 3.Icons/Outlined/translate Created with Sketch. ', field: ' 3.Icons/Filled/translate Created with Sketch. '}, tv: {outline: ' 3.Icons/Outlined/tv Created with Sketch. ', field: ' 3.Icons/Filled/tv Created with Sketch. '}, 'video-call': {outline: ' 3.Icons/Outlined/video-call Created with Sketch. ', field: ' 3.Icons/Filled/video-call Created with Sketch. '}, voice: {outline: ' 3.Icons/Outlined/voice Created with Sketch. ', field: ' 3.Icons/Filled/voice Created with Sketch. '}, 'volume-down': {outline: ' 3.Icons/Outlined/volume_down Created with Sketch. ', field: ' 3.Icons/Filled/volume-down Created with Sketch. '}, 'volume-off': {outline: ' 3.Icons/Outlined/volume_off Created with Sketch. ', field: ' 3.Icons/Filled/volume-off Created with Sketch. '}, 'volume-up': {outline: ' 3.Icons/Outlined/volume_up Created with Sketch. ', field: ' 3.Icons/Filled/volume-up Created with Sketch. '} } /***/ }) /** *** */}))