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 = 10); /******/ }) /************************************************************************/ /******/ ({ /***/ 10: /***/ (function(module, exports, __webpack_require__) { "use strict"; var _base = _interopRequireDefault(__webpack_require__(11)); var _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) { const iconDataItem = _icondata.default[this.data.icon]; if (iconDataItem) this._genSrc(iconDataItem[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__) { "use strict"; exports.__esModule = true; exports.default = void 0; /* eslint-disable */ var b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; var cb_encode = function (ccc) { var padlen = [0, 2, 1][ccc.length % 3], ord = ccc.charCodeAt(0) << 16 | (ccc.length > 1 ? ccc.charCodeAt(1) : 0) << 8 | (ccc.length > 2 ? ccc.charCodeAt(2) : 0), 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(''); }; // @ts-ignore var btoa = global.btoa ? function (b) { // @ts-ignore return global.btoa(b); } : function (b) { return b.replace(/[\s\S]{1,3}/g, cb_encode); }; var fromCharCode = String.fromCharCode; var cb_utob = function (c) { var 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); } }; var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g; var utob = function (u) { return u.replace(re_utob, cb_utob); }; var _encode = function (u) { const isUint8Array = Object.prototype.toString.call(u) === '[object Uint8Array]'; return isUint8Array ? u.toString('base64') : btoa(utob(String(u))); }; var encode = function (u, urisafe = false) { return !urisafe ? _encode(u) : _encode(String(u)).replace(/[+\/]/g, function (m0) { return m0 == '+' ? '-' : '_'; }).replace(/=/g, ''); }; var _default = { encode }; exports.default = _default; /***/ }), /***/ 12: /***/ (function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; exports.default = void 0; /* eslint-disable */ var _default = { "add-friends": { outline: `3.Icons/Outlined/add-friendsCreated with Sketch. `, filled: ` 3.Icons/Filled/add-friends Created with Sketch. ` }, "add": { outline: ` 3.Icons/Outlined/add Created with Sketch. `, filled: ` 3.Icons/Filled/add Created with Sketch. ` }, "add2": { outline: ` 3.Icons/Outlined/add2 Created with Sketch. `, filled: ` 3.Icons/Filled/add2 Created with Sketch. ` }, "album": { outline: ` 3.Icons/Outlined/album Created with Sketch. `, filled: ` 3.Icons/Filled/album Created with Sketch. ` }, "arrow": { outline: ` 3.Icons/Outlined/arrow Created with Sketch. `, filled: ` 3.Icons/Filled/arrow Created with Sketch. ` }, "at": { outline: ` 3.Icons/Outlined/at Created with Sketch. `, filled: ` 3.Icons/Filled/at Created with Sketch. ` }, "back": { outline: ` 3.Icons/Outlined/back Created with Sketch. `, filled: ` 3.Icons/Filled/back Created with Sketch. ` }, "back2": { outline: ` 3.Icons/Outlined/back2 Created with Sketch. `, filled: ` 3.Icons/Filled/back2 Created with Sketch. ` }, "bellring-off": { outline: ` 3.Icons/Outlined/bellring_off Created with Sketch. `, filled: ` 3.Icons/Filled/bell-ring_off Created with Sketch. ` }, "bellring-on": { outline: ` 3.Icons/Outlined/bellring_on Created with Sketch. `, filled: ` 3.Icons/Filled/bell-ring_on Created with Sketch. ` }, "camera": { outline: ` 3.Icons/Outlined/camera Created with Sketch. `, filled: ` 3.Icons/Filled/camera Created with Sketch. ` }, "cellphone": { outline: ` 3.Icons/Outlined/cellphone Created with Sketch. `, filled: ` 3.Icons/Filled/cellphone Created with Sketch. ` }, "clip": { outline: ` 3.Icons/Outlined/clip Created with Sketch. `, filled: ` 3.Icons/Filled/clip Created with Sketch. ` }, "close": { outline: ` 3.Icons/Outlined/close Created with Sketch. `, filled: ` 3.Icons/Filled/close Created with Sketch. ` }, "close2": { outline: ` 3.Icons/Outlined/close2 Created with Sketch. `, filled: ` 3.Icons/Filled/close2 Created with Sketch. ` }, "comment": { outline: ` 3.Icons/Outlined/comment Created with Sketch. `, filled: ` 3.Icons/Filled/comment Created with Sketch. ` }, "contacts": { outline: ` 3.Icons/Outlined/contacts Created with Sketch. `, filled: ` 3.Icons/Filled/contacts Created with Sketch. ` }, "copy": { outline: ` 3.Icons/Outlined/copy Created with Sketch. `, filled: ` 3.Icons/Filled/copy Created with Sketch. ` }, "delete-on": { outline: ` 3.Icons/Outlined/delete_on Created with Sketch. `, filled: ` 3.Icons/Filled/delete_on Created with Sketch. ` }, "delete": { outline: ` 3.Icons/Outlined/delete Created with Sketch. `, filled: ` 3.Icons/Filled/delete Created with Sketch. ` }, "discover": { outline: ` 3.Icons/Outlined/discover Created with Sketch. `, filled: ` 3.Icons/Filled/discover Created with Sketch. ` }, "display": { outline: ` 3.Icons/Outlined/display Created with Sketch. `, filled: ` 3.Icons/Filled/display Created with Sketch. ` }, "done": { outline: ` 3.Icons/Outlined/done Created with Sketch. `, filled: ` 3.Icons/Filled/done Created with Sketch. ` }, "done2": { outline: ` 3.Icons/Outlined/done2 Created with Sketch. `, filled: ` 3.Icons/Filled/done2 Created with Sketch. ` }, "download": { outline: ` 3.Icons/Outlined/download Created with Sketch. `, filled: ` 3.Icons/Filled/download Created with Sketch. ` }, "email": { outline: ` 3.Icons/Outlined/email Created with Sketch. `, filled: ` 3.Icons/Filled/email Created with Sketch. ` }, "error": { outline: ` 3.Icons/Outlined/error Created with Sketch. `, filled: ` 3.Icons/Filled/error Created with Sketch. ` }, "eyes-off": { outline: ` 3.Icons/Outlined/eyes_off Created with Sketch. `, filled: ` 3.Icons/Filled/eyes_off Created with Sketch. ` }, "eyes-on": { outline: ` 3.Icons/Outlined/eyes_on Created with Sketch. `, filled: ` 3.Icons/Filled/eyes_on Created with Sketch. ` }, "folder": { outline: ` 3.Icons/Outlined/folder Created with Sketch. `, filled: ` 3.Icons/Filled/folder Created with Sketch. ` }, "group-detail": { outline: ` 3.Icons/Outlined/group-detail Created with Sketch. `, filled: ` 3.Icons/Filled/group-detail Created with Sketch. ` }, "help": { outline: ` 3.Icons/Outlined/help Created with Sketch. `, filled: ` 3.Icons/Filled/help Created with Sketch. ` }, "home": { outline: ` 3.Icons/Outlined/home Created with Sketch. `, filled: ` 3.Icons/Filled/home Created with Sketch. ` }, "imac": { outline: ` 3.Icons/Outlined/imac Created with Sketch. `, filled: ` 3.Icons/Filled/imac Created with Sketch. ` }, "info": { outline: ` 3.Icons/Outlined/info Created with Sketch. `, filled: ` 3.Icons/Filled/info Created with Sketch. ` }, "keyboard": { outline: ` 3.Icons/Outlined/keyboard Created with Sketch. `, filled: ` 3.Icons/Filled/keyboard Created with Sketch. ` }, "like": { outline: ` 3.Icons/Outlined/like Created with Sketch. `, filled: ` 3.Icons/Filled/like Created with Sketch. ` }, "link": { outline: ` 3.Icons/Outlined/link Created with Sketch. `, filled: ` 3.Icons/Filled/link Created with Sketch. ` }, "location": { outline: ` 3.Icons/Outlined/location Created with Sketch. `, filled: ` 3.Icons/Filled/location Created with Sketch. ` }, "lock": { outline: ` 3.Icons/Outlined/lock Created with Sketch. `, filled: ` 3.Icons/Filled/lock Created with Sketch. ` }, "max-window": { outline: ` 3.Icons/Outlined/max-window Created with Sketch. `, filled: ` 3.Icons/Filled/max-window Created with Sketch. ` }, "me": { outline: ` 3.Icons/Outlined/me Created with Sketch. `, filled: ` 3.Icons/Filled/me Created with Sketch. ` }, "mike": { outline: ` 3.Icons/Outlined/mike Created with Sketch. `, filled: ` 3.Icons/Filled/mike Created with Sketch. ` }, "mike2": { outline: ` 3.Icons/Outlined/mike2 Created with Sketch. `, filled: ` 3.Icons/Filled/mike2 Created with Sketch. ` }, "mobile-contacts": { outline: ` 3.Icons/Outlined/mobile-contacts Created with Sketch. `, filled: ` 3.Icons/Filled/mobile-contacts Created with Sketch. ` }, "more": { outline: ` 3.Icons/Outlined/more Created with Sketch. `, filled: ` 3.Icons/Filled/more Created with Sketch. ` }, "more2": { outline: ` 3.Icons/Outlined/more2 Created with Sketch. `, filled: ` 3.Icons/Filled/more2 Created with Sketch. ` }, "mosaic": { outline: ` 3.Icons/Outlined/mosaic Created with Sketch. `, filled: ` 3.Icons/Filled/mask Created with Sketch. ` }, "music-off": { outline: ` 3.Icons/Outlined/music_off Created with Sketch. `, filled: ` 3.Icons/Filled/music-off Created with Sketch. ` }, "music": { outline: ` 3.Icons/Outlined/music Created with Sketch. `, filled: ` 3.Icons/Filled/music Created with Sketch. ` }, "note": { outline: ` 3.Icons/Outlined/note Created with Sketch. `, filled: ` 3.Icons/Filled/note Created with Sketch. ` }, "pad": { outline: ` 3.Icons/Outlined/pad Created with Sketch. `, filled: ` 3.Icons/Filled/pad Created with Sketch. ` }, "pause": { outline: ` 3.Icons/Outlined/pause Created with Sketch. `, filled: ` 3.Icons/Filled/pause Created with Sketch. ` }, "pencil": { outline: ` 3.Icons/Outlined/pencil Created with Sketch. `, filled: ` 3.Icons/Filled/pencil Created with Sketch. ` }, "photo-wall": { outline: ` 3.Icons/Outlined/photo-wall Created with Sketch. `, filled: ` 3.Icons/Filled/photo-wall Created with Sketch. ` }, "play": { outline: ` 3.Icons/Outlined/play Created with Sketch. `, filled: ` 3.Icons/Filled/play Created with Sketch. ` }, "play2": { outline: ` 3.Icons/Outlined/play2 Created with Sketch. `, filled: ` 3.Icons/Filled/play2 Created with Sketch. ` }, "previous": { outline: ` 3.Icons/Outlined/previous Created with Sketch. `, filled: ` 3.Icons/Filled/previous Created with Sketch. ` }, "previous2": { outline: ` 3.Icons/Outlined/previous2 Created with Sketch. `, filled: ` 3.Icons/Filled/previous2 Created with Sketch. ` }, "qr-code": { outline: ` 3.Icons/Outlined/qr-code Created with Sketch. `, filled: ` 3.Icons/Filled/qr-code Created with Sketch. ` }, "refresh": { outline: ` 3.Icons/Outlined/refresh Created with Sketch. `, filled: ` 3.Icons/Filled/refresh Created with Sketch. ` }, "report-problem": { outline: ` 3.Icons/Outlined/report_problem Created with Sketch. `, filled: ` 3.Icons/Filled/report-problem Created with Sketch. ` }, "search": { outline: ` 3.Icons/Outlined/search Created with Sketch. `, filled: ` 3.Icons/Filled/search Created with Sketch. ` }, "sending": { outline: ` 3.Icons/Outlined/sending Created with Sketch. `, filled: ` 3.Icons/Filled/sending Created with Sketch. ` }, "setting": { outline: ` 3.Icons/Outlined/setting Created with Sketch. `, filled: ` 3.Icons/Filled/setting Created with Sketch. ` }, "share": { outline: ` 3.Icons/Outlined/share Created with Sketch. `, filled: ` 3.Icons/Filled/share Created with Sketch. ` }, "shop": { outline: ` 3.Icons/Outlined/shop Created with Sketch. `, filled: ` 3.Icons/Filled/shop Created with Sketch. ` }, "star": { outline: ` 3.Icons/Outlined/star Created with Sketch. `, filled: ` 3.Icons/Filled/star Created with Sketch. ` }, "sticker": { outline: ` 3.Icons/Outlined/sticker Created with Sketch. `, filled: ` 3.Icons/Filled/sticker Created with Sketch. ` }, "tag": { outline: ` 3.Icons/Outlined/tag Created with Sketch. `, filled: ` 3.Icons/Filled/tag Created with Sketch. ` }, "text": { outline: ` 3.Icons/Outlined/text Created with Sketch. `, filled: ` 3.Icons/Filled/text Created with Sketch. ` }, "time": { outline: ` 3.Icons/Outlined/time Created with Sketch. `, filled: ` 3.Icons/Filled/time Created with Sketch. ` }, "transfer-text": { outline: ` 3.Icons/Outlined/transfer-text Created with Sketch. `, filled: ` 3.Icons/Filled/transfer-text Created with Sketch. ` }, "transfer2": { outline: ` 3.Icons/Outlined/transfer2 Created with Sketch. `, filled: ` 3.Icons/Filled/transfer2 Created with Sketch. ` }, "translate": { outline: ` 3.Icons/Outlined/translate Created with Sketch. `, filled: ` 3.Icons/Filled/translate Created with Sketch. ` }, "tv": { outline: ` 3.Icons/Outlined/tv Created with Sketch. `, filled: ` 3.Icons/Filled/tv Created with Sketch. ` }, "video-call": { outline: ` 3.Icons/Outlined/video-call Created with Sketch. `, filled: ` 3.Icons/Filled/video-call Created with Sketch. ` }, "voice": { outline: ` 3.Icons/Outlined/voice Created with Sketch. `, filled: ` 3.Icons/Filled/voice Created with Sketch. ` }, "volume-down": { outline: ` 3.Icons/Outlined/volume_down Created with Sketch. `, filled: ` 3.Icons/Filled/volume-down Created with Sketch. ` }, "volume-off": { outline: ` 3.Icons/Outlined/volume_off Created with Sketch. `, filled: ` 3.Icons/Filled/volume-off Created with Sketch. ` }, "volume-up": { outline: ` 3.Icons/Outlined/volume_up Created with Sketch. `, filled: ` 3.Icons/Filled/volume-up Created with Sketch. ` } }; exports.default = _default; /***/ }) /******/ });