weex-nuke
Version:
基于 Rax 、Weex 的高性能组件体系 ~~
265 lines (227 loc) • 1.04 MB
JavaScript
module.exports = function(require, exports, module) {
var __weex_document__ = this["__weex_document__"];
var window = this["window"];
var document = this["document"];
var setTimeout = this["setTimeout"];
var clearTimeout = this["clearTimeout"];
var Promise = this["Promise"];
var setInterval = this["setInterval"];
var clearInterval = this["clearInterval"];
var __weex_options__ = this["__weex_options__"];
var __weex_data__ = this["__weex_data__"];
var __weex_env__ = this["__weex_env__"];
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 = 0);
/******/ })
/************************************************************************/
/******/ ({
/***/ "./index.js":
/*!******************!*\
!*** ./index.js ***!
\******************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
eval("module.exports.Badge = __webpack_require__(/*! ./lib/Badge/index.js */ \"./lib/Badge/index.js\");\nmodule.exports.Button = __webpack_require__(/*! ./lib/Button/index.js */ \"./lib/Button/index.js\");\nmodule.exports.Cell = __webpack_require__(/*! ./lib/Cell/index.js */ \"./lib/Cell/index.js\");\nmodule.exports.Checkbox = __webpack_require__(/*! ./lib/Checkbox/index.js */ \"./lib/Checkbox/index.js\");\nmodule.exports.Dialog = __webpack_require__(/*! ./lib/Dialog/index.js */ \"./lib/Dialog/index.js\");\nmodule.exports.Dimensions = __webpack_require__(/*! ./lib/Dimensions/index.js */ \"./lib/Dimensions/index.js\");\nmodule.exports.Env = __webpack_require__(/*! ./lib/Env/index.js */ \"./lib/Env/index.js\");\nmodule.exports.EpTabbar = __webpack_require__(/*! ./lib/EpTabbar/index.js */ \"./lib/EpTabbar/index.js\");\nmodule.exports.Feedback = __webpack_require__(/*! ./lib/Feedback/index.js */ \"./lib/Feedback/index.js\");\nmodule.exports.Header = __webpack_require__(/*! ./lib/Header/index.js */ \"./lib/Header/index.js\");\nmodule.exports.Helper = __webpack_require__(/*! ./lib/Helper/index.js */ \"./lib/Helper/index.js\");\nmodule.exports.Icon = __webpack_require__(/*! ./lib/Icon/index.js */ \"./lib/Icon/index.js\");\nmodule.exports.Iconfont = __webpack_require__(/*! ./lib/Iconfont/index.js */ \"./lib/Iconfont/index.js\");\nmodule.exports.Image = __webpack_require__(/*! ./lib/Image/index.js */ \"./lib/Image/index.js\");\nmodule.exports.Input = __webpack_require__(/*! ./lib/Input/index.js */ \"./lib/Input/index.js\");\nmodule.exports.Layout = __webpack_require__(/*! ./lib/Layout/index.js */ \"./lib/Layout/index.js\");\nmodule.exports.Link = __webpack_require__(/*! ./lib/Link/index.js */ \"./lib/Link/index.js\");\nmodule.exports.ListView = __webpack_require__(/*! ./lib/ListView/index.js */ \"./lib/ListView/index.js\");\nmodule.exports.Mask = __webpack_require__(/*! ./lib/Mask/index.js */ \"./lib/Mask/index.js\");\nmodule.exports.Modal = __webpack_require__(/*! ./lib/Modal/index.js */ \"./lib/Modal/index.js\");\nmodule.exports.Navigator = __webpack_require__(/*! ./lib/Navigator/index.js */ \"./lib/Navigator/index.js\");\nmodule.exports.NumberPicker = __webpack_require__(/*! ./lib/NumberPicker/index.js */ \"./lib/NumberPicker/index.js\");\nmodule.exports.Page = __webpack_require__(/*! ./lib/Page/index.js */ \"./lib/Page/index.js\");\nmodule.exports.Picker = __webpack_require__(/*! ./lib/Picker/index.js */ \"./lib/Picker/index.js\");\nmodule.exports.Progress = __webpack_require__(/*! ./lib/Progress/index.js */ \"./lib/Progress/index.js\");\nmodule.exports.Radio = __webpack_require__(/*! ./lib/Radio/index.js */ \"./lib/Radio/index.js\");\nmodule.exports.RefreshControl = __webpack_require__(/*! ./lib/RefreshControl/index.js */ \"./lib/RefreshControl/index.js\");\nmodule.exports.ScrollView = __webpack_require__(/*! ./lib/ScrollView/index.js */ \"./lib/ScrollView/index.js\");\nmodule.exports.SearchBar = __webpack_require__(/*! ./lib/SearchBar/index.js */ \"./lib/SearchBar/index.js\");\nmodule.exports.Slider = __webpack_require__(/*! ./lib/Slider/index.js */ \"./lib/Slider/index.js\");\nmodule.exports.Slip = __webpack_require__(/*! ./lib/Slip/index.js */ \"./lib/Slip/index.js\");\nmodule.exports.Swipe = __webpack_require__(/*! ./lib/Swipe/index.js */ \"./lib/Swipe/index.js\");\nmodule.exports.Switch = __webpack_require__(/*! ./lib/Switch/index.js */ \"./lib/Switch/index.js\");\nmodule.exports.Tabbar = __webpack_require__(/*! ./lib/Tabbar/index.js */ \"./lib/Tabbar/index.js\");\nmodule.exports.Text = __webpack_require__(/*! ./lib/Text/index.js */ \"./lib/Text/index.js\");\nmodule.exports.ThemeProvider = __webpack_require__(/*! ./lib/ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\nmodule.exports.Touchable = __webpack_require__(/*! ./lib/Touchable/index.js */ \"./lib/Touchable/index.js\");\nmodule.exports.Transition = __webpack_require__(/*! ./lib/Transition/index.js */ \"./lib/Transition/index.js\");\nmodule.exports.Util = __webpack_require__(/*! ./lib/Util/index.js */ \"./lib/Util/index.js\");\nmodule.exports.Video = __webpack_require__(/*! ./lib/Video/index.js */ \"./lib/Video/index.js\");\nmodule.exports.View = __webpack_require__(/*! ./lib/View/index.js */ \"./lib/View/index.js\");\nmodule.exports.Web = __webpack_require__(/*! ./lib/Web/index.js */ \"./lib/Web/index.js\");\nmodule.exports.WebPicker = __webpack_require__(/*! ./lib/WebPicker/index.js */ \"./lib/WebPicker/index.js\");\n\n\n//# sourceURL=webpack:///./index.js?");
/***/ }),
/***/ "./lib/Badge/index.js":
/*!****************************!*\
!*** ./lib/Badge/index.js ***!
\****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _badge = __webpack_require__(/*! ./view/badge.js */ \"./lib/Badge/view/badge.js\");\n\nvar _badge2 = _interopRequireDefault(_badge);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _badge2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Badge/index.js?");
/***/ }),
/***/ "./lib/Badge/styles/index.js":
/*!***********************************!*\
!*** ./lib/Badge/styles/index.js ***!
\***********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _nukeEnv = __webpack_require__(/*! ../../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _nukeHelper = __webpack_require__(/*! ../../Helper/index.js */ \"./lib/Helper/index.js\");\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Badge/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction styleProvider() {\n var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var Variables = (0, _variable2.default)(theme);\n var core = theme.Core;\n return {\n Badge: {\n wrap: {\n alignSelf: 'center',\n backgroundColor: Variables['normal-bg-color'],\n justifyContent: 'center',\n alignItems: 'center'\n },\n 'auto-container': {\n flexDirection: 'row',\n overflow: 'hidden'\n },\n 'auto-chindren': {\n paddingTop: Variables['auto-padding'],\n paddingRight: Variables['auto-padding']\n },\n 'auto-dot': {\n position: 'absolute',\n right: 0,\n top: 0\n },\n span: {\n alignSelf: 'center'\n },\n 'dot-span': {\n width: _nukeHelper.rem.caculateRemToPx(Variables['dot-size']),\n height: _nukeHelper.rem.caculateRemToPx(Variables['dot-size']),\n borderRadius: 999,\n textAlign: 'center'\n },\n 'number-span': _extends({\n color: Variables['number-color'],\n height: _nukeHelper.rem.caculateRemToPx(Variables['number-size']),\n minWidth: _nukeHelper.rem.caculateRemToPx(Variables['number-size']),\n 'line-height': Variables['number-size'] }, core.padding(0, Variables['number-padding']), {\n fontSize: Variables['number-size-text'],\n borderRadius: Variables['number-border-radius']\n }),\n\n 'unread-span': {\n backgroundColor: Variables['unread-bg-color']\n },\n 'standalone-span': {\n position: 'static'\n }\n }\n };\n}\n\nmodule.exports = styleProvider;\n\n//# sourceURL=webpack:///./lib/Badge/styles/index.js?");
/***/ }),
/***/ "./lib/Badge/styles/variable.js":
/*!**************************************!*\
!*** ./lib/Badge/styles/variable.js ***!
\**************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nfunction VariableMix(theme) {\n var core = theme.Core;\n var ComponentCustomStyle = theme.Badge || {};\n /**\n * 徽章\n * @namespace component\n * @property module badge\n * @property tag Badge-\n * @property category component\n */\n var badgeVariables = {\n /**\n * size\n * @property namespace size/bounding\n */\n 'number-size': core['s-4'],\n /**\n * padding(l, r)\n * @property namespace size/bounding\n */\n 'number-padding': core['s-1'],\n /**\n * padding(l, r)\n * @property namespace size/bounding\n */\n 'auto-padding': core['s-2'],\n /**\n * size\n * @property namespace size/text\n */\n 'number-size-text': core['font-size-caption'],\n /**\n * text\n * @property namespace statement/normal\n */\n 'number-color': core['color-white'],\n /**\n * size\n * @property namespace size/bounding\n */\n 'dot-size': core['s-2'],\n /**\n * background\n * @property namespace statement/normal\n */\n 'normal-bg-color': core['color-error-2'],\n /**\n * background\n * @property namespace statement/normal\n */\n 'unread-bg-color': core['color-link-1'],\n /**\n * radius\n * @property namespace size/dot\n */\n 'dot-border-radius': '50%',\n /**\n * radius\n * @property namespace size/number\n */\n 'number-border-radius': core['s-4']\n };\n var variables = Object.assign(badgeVariables, ComponentCustomStyle);\n return variables;\n}\nmodule.exports = VariableMix;\n\n//# sourceURL=webpack:///./lib/Badge/styles/variable.js?");
/***/ }),
/***/ "./lib/Badge/view/badge.js":
/*!*********************************!*\
!*** ./lib/Badge/view/badge.js ***!
\*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/** @jsx createElement */\n\n/**\n * Copyright (c) 2015-present, Alibaba Group Holding Limited.\n * All rights reserved.\n *\n * @providesModule\n */\n\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeThemeProvider = __webpack_require__(/*! ../../ThemeProvider/index.js */ \"./lib/ThemeProvider/index.js\");\n\nvar _nukeView = __webpack_require__(/*! ../../View/index.js */ \"./lib/View/index.js\");\n\nvar _nukeView2 = _interopRequireDefault(_nukeView);\n\nvar _nukeText = __webpack_require__(/*! ../../Text/index.js */ \"./lib/Text/index.js\");\n\nvar _nukeText2 = _interopRequireDefault(_nukeText);\n\nvar _nukeTouchable = __webpack_require__(/*! ../../Touchable/index.js */ \"./lib/Touchable/index.js\");\n\nvar _nukeTouchable2 = _interopRequireDefault(_nukeTouchable);\n\nvar _styles = __webpack_require__(/*! ../styles/index.js */ \"./lib/Badge/styles/index.js\");\n\nvar _styles2 = _interopRequireDefault(_styles);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Badge = function (_Component) {\n _inherits(Badge, _Component);\n\n function Badge(props) {\n _classCallCheck(this, Badge);\n\n var _this = _possibleConstructorReturn(this, (Badge.__proto__ || Object.getPrototypeOf(Badge)).call(this, props));\n\n _this.onPress = _this.onPress.bind(_this);\n _this.renderInnerText = _this.renderInnerText.bind(_this);\n return _this;\n }\n\n _createClass(Badge, [{\n key: 'onPress',\n value: function onPress() {\n var onPress = this.props.onPress;\n\n onPress && onPress();\n }\n }, {\n key: 'renderInnerText',\n value: function renderInnerText(hidden, textStyle, sup) {\n var renderBadge = this.props.renderBadge;\n\n if (!renderBadge) {\n if (!hidden) {\n return (0, _rax.createElement)(\n _nukeText2.default,\n { style: textStyle },\n sup\n );\n }\n return null;\n }\n return renderBadge();\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n max = _props.max,\n count = _props.count,\n type = _props.type,\n children = _props.children,\n always = _props.always,\n _props$style = _props.style,\n style = _props$style === undefined ? {} : _props$style,\n renderBadge = _props.renderBadge;\n\n var styles = this.props.themeStyle;\n var sup = count;\n var hidden = false;\n\n sup = Number(count);\n\n if (!isNaN(sup)) {\n sup = sup > max ? max + '+' : count;\n (sup === 0 || sup === '0') && !always && (hidden = true);\n } else {\n sup = count; // for string\n }\n var wrapStyle = Object.assign({}, styles.wrap, styles[type + '-span'], sup || always ? styles['number-span'] : styles['dot-span'], styles['standalone-span'], style);\n var TextAttrArr = ['color', 'fontSize', 'fontStyle', 'fontWeight', 'lineHeight'];\n var inheritStyle = {};\n TextAttrArr.forEach(function (item) {\n if (wrapStyle[item]) {\n inheritStyle[item] = wrapStyle[item];\n }\n });\n var textStyle = Object.assign({}, styles.span, sup || always ? null : styles['dot-span'], inheritStyle);\n if (!type || type !== 'auto') {\n return (0, _rax.createElement)(\n _nukeView2.default,\n { x: 'badge', style: wrapStyle },\n !hidden ? (0, _rax.createElement)(\n _nukeText2.default,\n { style: textStyle },\n sup\n ) : null\n );\n }\n var touchStyle = [styles['auto-dot']];\n if (!renderBadge) {\n touchStyle.unshift(wrapStyle);\n }\n return (0, _rax.createElement)(\n _nukeView2.default,\n { style: styles['auto-container'] },\n (0, _rax.createElement)(\n _nukeView2.default,\n { style: styles['auto-chindren'] },\n children\n ),\n (0, _rax.createElement)(\n _nukeTouchable2.default,\n { x: 'badge', style: touchStyle, onPress: this.onPress },\n this.renderInnerText(hidden, textStyle, sup)\n )\n );\n }\n }]);\n\n return Badge;\n}(_rax.Component);\n\nBadge.displayName = 'Badge';\n\nBadge.propTypes = {\n max: _rax.PropTypes.number,\n count: _rax.PropTypes.oneOfType([_rax.PropTypes.number, _rax.PropTypes.string]),\n type: _rax.PropTypes.oneOf(['normal', 'unread']),\n children: _rax.PropTypes.any,\n always: _rax.PropTypes.bool,\n onPress: _rax.PropTypes.func,\n themeStyle: _rax.PropTypes.object,\n style: _rax.PropTypes.object,\n renderBadge: _rax.PropTypes.func\n};\n\nBadge.defaultProps = {\n max: 99,\n count: '',\n type: 'normal',\n children: null,\n always: false,\n onPress: function onPress() {},\n themeStyle: {},\n style: {},\n renderBadge: undefined\n};\n\nBadge.contextTypes = {\n getConfig: _rax.PropTypes.func\n};\n\nvar StyledBadge = (0, _nukeThemeProvider.connectStyle)(_styles2.default)(Badge);\n\nexports.default = StyledBadge;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Badge/view/badge.js?");
/***/ }),
/***/ "./lib/BaseInput/index.js":
/*!********************************!*\
!*** ./lib/BaseInput/index.js ***!
\********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/** @jsx createElement */\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _rax = __webpack_require__(/*! rax */ \"rax\");\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _util = __webpack_require__(/*! ./util.js */ \"./lib/BaseInput/util.js\");\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar BaseInput = function (_Component) {\n _inherits(BaseInput, _Component);\n\n function BaseInput(props, context) {\n _classCallCheck(this, BaseInput);\n\n var _this = _possibleConstructorReturn(this, (BaseInput.__proto__ || Object.getPrototypeOf(BaseInput)).call(this, props));\n\n _this.fixedFont = context.commonConfigs && context.commonConfigs.fixedFont;\n if ('fixedFont' in props) {\n _this.fixedFont = props.fixedFont;\n }\n _this.getRef = _this.getRef.bind(_this);\n _this.setNativeFormatRule = _this.setNativeFormatRule.bind(_this);\n _this.inputHandler = _this.inputHandler.bind(_this);\n _this.returnHandler = _this.returnHandler.bind(_this);\n _this.changeHandler = _this.changeHandler.bind(_this);\n _this.focusHandler = _this.focusHandler.bind(_this);\n _this.blurHandler = _this.blurHandler.bind(_this);\n _this.focus = _this.focus.bind(_this);\n _this.blur = _this.blur.bind(_this);\n return _this;\n }\n\n _createClass(BaseInput, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n if (nextProps.value !== null) {\n return nextProps.value !== this.props.value || nextProps.readOnly !== this.props.readOnly || nextProps.type !== this.props.type || nextProps.disabled !== this.props.disabled || nextProps.maxLength !== this.props.maxLength || nextProps['data-style'] !== this.props['data-style'] || nextProps.style !== this.props.style || nextProps.placeholder !== this.props.placeholder;\n }\n return _typeof(nextProps.value) !== _typeof(this.props.value) || nextProps.readOnly !== this.props.readOnly || nextProps.type !== this.props.type || nextProps.disabled !== this.props.disabled || nextProps.maxLength !== this.props.maxLength || nextProps.style !== this.props['data-style'] || nextProps.style !== this.props.style || nextProps.placeholder !== this.props.placeholder;\n }\n }, {\n key: 'getValue',\n value: function getValue() {\n if (_nukeEnv.isWeb) {\n return this.refs.input.value;\n }\n return this.refs.input.attr.value;\n }\n }, {\n key: 'getRef',\n value: function getRef() {\n return this.refs.input;\n }\n }, {\n key: 'setNativeFormatRule',\n value: function setNativeFormatRule(rules) {\n this.refs.input.setTextFormatter(rules);\n }\n }, {\n key: 'trigger',\n value: function trigger(fn) {\n if (typeof fn === 'string') fn = this.props[fn];\n if (!(typeof fn === 'function')) return;\n\n for (var _len = arguments.length, attrs = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n attrs[_key - 1] = arguments[_key];\n }\n\n return fn.apply(this, attrs);\n }\n }, {\n key: 'focusHandler',\n value: function focusHandler(e) {\n this.trigger('onFocus', e);\n }\n }, {\n key: 'focus',\n value: function focus() {\n this.focusInput();\n }\n }, {\n key: 'focusInput',\n value: function focusInput() {\n this.refs.input.focus && this.refs.input.focus();\n }\n }, {\n key: 'blur',\n value: function blur() {\n this.blurInput();\n }\n }, {\n key: 'blurInput',\n value: function blurInput() {\n this.refs.input.blur && this.refs.input.blur();\n }\n }, {\n key: 'blurHandler',\n value: function blurHandler(e) {\n this.setState({\n focus: false\n });\n\n this.trigger('onBlur', e);\n }\n }, {\n key: 'returnHandler',\n value: function returnHandler(e) {\n if (_nukeEnv.isWeb) {\n if (e.keyCode === 13) {\n this.trigger('onReturn', (0, _util.genEventObject)(e));\n }\n } else {\n this.trigger('onReturn', e);\n }\n }\n }, {\n key: 'inputHandler',\n value: function inputHandler(e) {\n this.trigger('onInput', (0, _util.getText)(e), (0, _util.genEventObject)(e));\n }\n }, {\n key: 'changeHandler',\n value: function changeHandler(e) {\n var value = (0, _util.getText)(e);\n\n var maxLength = this.props.maxLength;\n\n\n if (maxLength && value && value.length > maxLength) return;\n if ('value' in this.props) {\n this.setState({ value: value });\n }\n this.trigger('onChange', value, (0, _util.genEventObject)(e));\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n value = _props.value,\n onFocus = _props.onFocus,\n onInput = _props.onInput,\n onBlur = _props.onBlur,\n readOnly = _props.readOnly,\n disabled = _props.disabled,\n style = _props.style,\n maxLength = _props.maxLength,\n multiple = _props.multiple,\n returnKeyType = _props.returnKeyType,\n autoFocus = _props.autoFocus,\n fixedFont = _props.fixedFont,\n rows = _props.rows,\n type = _props.type,\n placeholderColor = _props.placeholderColor,\n others = _objectWithoutProperties(_props, ['value', 'onFocus', 'onInput', 'onBlur', 'readOnly', 'disabled', 'style', 'maxLength', 'multiple', 'returnKeyType', 'autoFocus', 'fixedFont', 'rows', 'type', 'placeholderColor']);\n\n var attrs = {\n onChange: this.changeHandler,\n onInput: this.inputHandler,\n onFocus: this.focusHandler,\n onBlur: this.blurHandler,\n disabled: disabled,\n rows: rows,\n returnKeyType: returnKeyType,\n maxlength: maxLength,\n readOnly: readOnly,\n autofocus: autoFocus,\n placeholderColor: placeholderColor,\n style: Object.assign({}, styles.default, _nukeEnv.isWeb ? styles.defaultWeb : {}, style)\n };\n if (!multiple) {\n attrs.type = type;\n }\n if ('value' in this.props) {\n attrs.value = value;\n }\n if (_nukeEnv.isWeb) {\n attrs.onKeyUp = this.returnHandler;\n // keys that should not be passed\n ['readOnly', 'autofocus'].map(function (item) {\n if (item in attrs && !attrs[item]) {\n delete attrs[item];\n }\n });\n } else {\n attrs.onReturn = this.returnHandler;\n attrs['data-placeholder-color'] = placeholderColor;\n // in multiple mode, passing returnKeyType to weex will get single line input\n if (multiple && !this.props.onReturn) {\n delete attrs.onReturn;\n delete attrs.returnKeyType;\n }\n }\n var inputElement = void 0;\n if (multiple) {\n if (_nukeEnv.isWeb) {\n inputElement = (0, _rax.createElement)(\n 'textarea',\n _extends({}, others, attrs, { ref: 'input' }),\n attrs.value\n );\n } else {\n inputElement = (0, _rax.createElement)('textarea', _extends({}, others, attrs, { ref: 'input' }));\n }\n } else {\n inputElement = (0, _rax.createElement)('input', _extends({}, others, attrs, { ref: 'input' }));\n }\n return inputElement;\n }\n }]);\n\n return BaseInput;\n}(_rax.Component);\n\nBaseInput.contextTypes = {\n androidConfigs: _rax.PropTypes.any\n};\nBaseInput.defaultProps = {\n rows: 2,\n style: {},\n readOnly: false\n};\nvar styles = {\n default: {\n backgroundColor: 'transparent',\n borderWidth: 0,\n color: '#000000',\n padding: 0,\n fontSize: 24,\n lineHeight: 60\n },\n defaultWeb: {\n width: '100%',\n boxSizing: 'border-box',\n outline: 'none',\n appearance: 'none'\n }\n};\nBaseInput.displayName = 'BaseInput';\nexports.default = BaseInput;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/BaseInput/index.js?");
/***/ }),
/***/ "./lib/BaseInput/util.js":
/*!*******************************!*\
!*** ./lib/BaseInput/util.js ***!
\*******************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.genEventObject = exports.getText = undefined;\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nfunction getText(event) {\n var text = void 0;\n if (_nukeEnv.isWeex) {\n text = event.value;\n } else {\n text = event.target.value;\n }\n return text;\n}\n\nfunction genEventObject(originalEvent) {\n var text = getText(originalEvent);\n return {\n nativeEvent: {\n text: text\n },\n value: text,\n target: originalEvent.target,\n originalEvent: originalEvent\n };\n}\n\nexports.getText = getText;\nexports.genEventObject = genEventObject;\n\n//# sourceURL=webpack:///./lib/BaseInput/util.js?");
/***/ }),
/***/ "./lib/Button/index.js":
/*!*****************************!*\
!*** ./lib/Button/index.js ***!
\*****************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _nukeEnv = __webpack_require__(/*! ../Env/index.js */ \"./lib/Env/index.js\");\n\nvar _index = __webpack_require__(/*! ./index.native.js */ \"./lib/Button/index.native.js\");\n\nvar _index2 = _interopRequireDefault(_index);\n\nvar _index3 = __webpack_require__(/*! ./index.web.js */ \"./lib/Button/index.web.js\");\n\nvar _index4 = _interopRequireDefault(_index3);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Entry = _index4.default;\nif (_nukeEnv.isWeex) {\n Entry = _index2.default;\n}\nexports.default = Entry;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Button/index.js?");
/***/ }),
/***/ "./lib/Button/index.native.js":
/*!************************************!*\
!*** ./lib/Button/index.native.js ***!
\************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _button = __webpack_require__(/*! ./view/button.js */ \"./lib/Button/view/button.js\");\n\nvar _button2 = _interopRequireDefault(_button);\n\nvar _buttonGroup = __webpack_require__(/*! ./view/button-group.js */ \"./lib/Button/view/button-group.js\");\n\nvar _buttonGroup2 = _interopRequireDefault(_buttonGroup);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_button2.default.Group = _buttonGroup2.default;\n\nexports.default = _button2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Button/index.native.js?");
/***/ }),
/***/ "./lib/Button/index.web.js":
/*!*********************************!*\
!*** ./lib/Button/index.web.js ***!
\*********************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _button = __webpack_require__(/*! ./view/button.js */ \"./lib/Button/view/button.js\");\n\nvar _button2 = _interopRequireDefault(_button);\n\nvar _buttonGroup = __webpack_require__(/*! ./view/button-group.js */ \"./lib/Button/view/button-group.js\");\n\nvar _buttonGroup2 = _interopRequireDefault(_buttonGroup);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n_button2.default.Group = _buttonGroup2.default;\n\nexports.default = _button2.default;\nmodule.exports = exports['default'];\n\n//# sourceURL=webpack:///./lib/Button/index.web.js?");
/***/ }),
/***/ "./lib/Button/styles/index.js":
/*!************************************!*\
!*** ./lib/Button/styles/index.js ***!
\************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _mixin = __webpack_require__(/*! ./mixin.js */ \"./lib/Button/styles/mixin.js\");\n\nvar _variable = __webpack_require__(/*! ./variable.js */ \"./lib/Button/styles/variable.js\");\n\nvar _variable2 = _interopRequireDefault(_variable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction btnStyleMix() {\n var theme = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var Variables = (0, _variable2.default)(theme);\n return {\n Button: {\n base: {\n backgroundColor: 'transparent',\n cursor: 'pointer',\n justifyContent: 'center',\n flexDirection: 'row',\n alignSelf: 'center',\n alignItems: 'center'\n },\n large: _extends({}, (0, _mixin.buttonSize)(Variables['size-l-padding-lr'], Variables['size-l-height'], Variables['size-l-font'], Variables['icon-size-l'], Variables['icon-l-margin-lr'], Variables['corner-l'], Variables['border-width-l'])),\n small: _extends({}, (0, _mixin.buttonSize)(Variables['size-s-padding-lr'], Variables['size-s-height'], Variables['size-s-font'], Variables['icon-size-s'], Variables['icon-s-margin-lr'], Variables['corner-s'], Variables['border-width-s'])),\n medium: _extends({}, (0, _mixin.buttonSize)(Variables['size-m-padding-lr'], Variables['size-m-height'], Variables['size-m-font'], Variables['icon-size-m'], Variables['icon-m-margin-lr'], Variables['corner-m'], Variables['border-width-m'])),\n primary: _extends({\n borderStyle: Variables['normal-line-style']\n }, (0, _mixin.buttonColor)(Variables['prim-color'], Variables['prim-active-color'], Variables['prim-bg-color'], Variables['prim-active-bg-color'], Variables['prim-border-color'], Variables['prim-active-border-color'])),\n secondary: _extends({\n borderStyle: Variables['normal-line-style']\n }, (0, _mixin.buttonColor)(Variables['second-color'], Variables['second-active-color'], Variables['second-bg-color'], Variables['second-active-bg-color'], Variables['second-border-color'], Variables['second-active-border-color'])),\n normal: _extends({\n borderStyle: Variables['normal-line-style']\n }, (0, _mixin.buttonColor)(Variables['normal-color'], Variables['normal-active-color'], Variables['normal-bg-color'], Variables['normal-active-bg-color'], Variables['normal-border-color'], Variables['normal-active-border-color'])),\n block: {\n alignSelf: 'stretch'\n },\n\n third: _extends({}, (0, _mixin.buttonColor)(Variables['third-color'], Variables['third-active-color'], Variables['third-bg-color'], Variables['third-active-bg-color'], Variables['third-border-color'], Variables['third-active-border-color'])),\n\n 'warning-normal': _extends({\n borderStyle: Variables['w-line-style']\n }, (0, _mixin.buttonColor)(Variables['w-normal-color'], Variables['w-normal-active-color'], Variables['w-normal-bg-color'], Variables['w-normal-active-bg-color'], Variables['w-normal-border-color'], Variables['w-normal-active-border-color'])),\n 'warning-primary': _extends({\n borderStyle: Variables['w-line-style']\n }, (0, _mixin.buttonColor)(Variables['w-prim-color'], Variables['w-prim-active-color'], Variables['w-prim-bg-color'], Variables['w-prim-active-bg-color'], Variables['w-prim-border-color'], Variables['w-prim-active-border-color'])),\n 'normal-disabled': _extends({}, (0, _mixin.buttonDisabled)(Variables['normal-disabled-color'], Variables['normal-disabled-bg-color'], Variables['normal-disabled-border-color'], 1)),\n 'primary-disabled': _extends({}, (0, _mixin.buttonDisabled)(Variables['prim-disabled-color'], Variables['prim-disabled-bg-color'], Variables['prim-disabled-border-color'], 1)),\n 'secondary-disabled': _extends({}, (0, _mixin.buttonDisabled)(Variables['second-disabled-color'], Variables['second-disabled-bg-color'], Variables['second-disabled-border-color'], 1)),\n 'third-disabled': _extends({}, (0, _mixin.buttonDisabled)(Variables['third-disabled-color'], Variables['third-disabled-bg-color'], Variables['third-disabled-border-color'], 1)),\n 'warning-disabled': _extends({}, (0, _mixin.buttonDisabled)(Variables['w-disabled-color'], Variables['w-disabled-bg-color'], Variables['w-disabled-border-color'], 1))\n },\n ButtonGroup: {\n group: {\n maxWidth: '750rem',\n flexDirection: 'row'\n },\n 'group-button': {\n flex: 1,\n marginRight: Variables['group-margin']\n },\n 'group-button-last': {\n marginRight: 0\n },\n 'group-block': {\n flexDirection: 'column'\n },\n 'group-block-button': {\n alignSelf: 'stretch'\n }\n }\n };\n}\nmodule.exports = btnStyleMix;\n\n//# sourceURL=webpack:///./lib/Button/styles/index.js?");
/***/ }),
/***/ "./lib/Button/styles/mixin.js":
/*!************************************!*\
!*** ./lib/Button/styles/mixin.js ***!
\************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _nukeCore = __webpack_require__(/*! ../../Core/index.js */ \"./lib/Core/index.js\");\n\nfunction valueToObj(obj) {\n Object.keys(obj).forEach(function (name) {\n if (_typeof(obj[name]) === 'object') {\n obj[name] = {\n name: name,\n raw: obj[name]\n };\n }\n });\n return obj;\n}\n\nfunction buttonColor(color, activeColor, bgColor, activeBgColor, borderColor, activeBorderColor, opacity) {\n return valueToObj(Object.assign({\n color: color,\n backgroundColor: bgColor,\n borderColor: borderColor,\n 'color:active': activeColor,\n 'backgroundColor:active': activeBgColor,\n 'borderColor:active': activeBorderColor\n }, opacity ? { opacity: opacity } : {}));\n}\n\nfunction buttonSize() {\n var pd = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n var height = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var fontSize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n var iconSize = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n var iconMargin = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;\n var corner = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n var borderWidth = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : 0;\n\n return valueToObj(_extends({\n height: height\n }, (0, _nukeCore.padding)(0, pd), {\n fontSize: fontSize,\n borderRadius: corner,\n borderWidth: borderWidth\n }));\n}\n\nfunction buttonDisabled(disabledColor, disabledBgColor, disabledBorderColor, disbledOpacity) {\n return valueToObj({\n color: disabledColor,\n backgroundColor: disabledBgColor,\n borderColor: disabledBorderColor,\n opacity: disbledOpacity,\n 'color:active': disabledColor,\n 'backgroundColor:active': disabledBgColor,\n 'borderColor:active': disabledBorderColor\n });\n}\n\nmodule.exports = {\n buttonColor: buttonColor,\n buttonSize: buttonSize,\n buttonDisabled: buttonDisabled\n};\n\n//# sourceURL=webpack:///./lib/Button/styles/mixin.js?");
/***/ }),
/***/ "./lib/Button/styles/variable.js":
/*!***************************************!*\
!*** ./lib/Button/styles/variable.js ***!
\***************************************/
/*! no static exports found */
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _nukeCore = __webpack_require__(/*! ../../Core/index.js */ \"./lib/Core/index.js\");\n\nfunction VariableMix(theme) {\n var Core = theme.Core;\n var ComponentCustomStyle = theme.Button || {};\n\n /**\n * 按钮\n * @namespace component\n * @property module button\n * @property tag Button\n * @property category component\n */\n\n var buttonVariables = {\n /**\n * height\n * @property namespace size/bounding\n */\n 'size-s-height': (0, _nukeCore.vLoader)(Core['s-7']),\n /**\n * height\n * @property namespace size/bounding\n */\n 'size-m-height': (0, _nukeCore.vLoader)(Core['s-8']),\n /**\n * height\n * @property namespace size/bounding\n */\n 'size-l-height': (0, _nukeCore.vLoader)(Core['s-12']),\n /**\n * padding(l, r)\n * @property namespace size/bounding\n */\n 'size-s-padding-lr': (0, _nukeCore.vLoader)(Core['s-4']),\n /**\n * padding(l, r)\n * @property namespace size/bounding\n */\n 'size-m-padding-lr': (0, _nukeCore.vLoader)(Core['s-5']),\n /**\n * padding(l, r)\n * @property namespace size/bounding\n */\n 'size-l-padding-lr': (0, _nukeCore.vLoader)(Core['s-5']),\n /**\n * text\n * @property namespace size/text\n */\n 'size-l-font': (0, _nukeCore.vLoader)(Core['font-size-subhead']),\n /**\n * text\n * @property namespace size/text\n */\n 'size-m-font': (0, _nukeCore.vLoader)(Core['font-size-body-1']),\n /**\n * text\n * @property namespace size/text\n */\n 'size-s-font': (0, _nukeCore.vLoader)(Core['font-size-caption']),\n /**\n * margin(l, r)\n * @property namespace size/icon\n */\n 'icon-l-margin-lr': (0, _nukeCore.vLoader)(Core['s-2']),\n /**\n * margin(l, r)\n * @property namespace size/icon\n */\n 'icon-m-margin-lr': (0, _nukeCore.vLoader)(Core['s-1']),\n /**\n * margin(l, r)\n * @property namespace size/icon\n */\n 'icon-s-margin-lr': (0, _nukeCore.vLoader)(Core['s-1']),\n /**\n * size\n * @property namespace size/icon\n */\n 'icon-size-l': (0, _nukeCore.vLoader)(Core['icon-s']),\n /**\n * size\n * @property namespace size/icon\n */\n 'icon-size-m': (0, _nukeCore.vLoader)(Core['icon-xs']),\n /**\n * size\n * @property namespace size/icon\n */\n 'icon-size-s': (0, _nukeCore.vLoader)(Core['icon-xs']),\n /**\n * corner\n * @property namespace statement/normal\n */\n 'corner-l': (0, _nukeCore.vLoader)(Core['corner-1']),\n /**\n * corner\n * @property namespace statement/normal\n */\n 'corner-m': (0, _nukeCore.vLoader)(Core['corner-1']),\n /**\n * corner\n * @property namespace statement/normal\n */\n 'corner-s': (0, _nukeCore.vLoader)(Core['corner-1']),\n /**\n * width\n * @property namespace size/border\n */\n 'border-width-l': (0, _nukeCore.vLoader)(Core['line-1']),\n /**\n * width\n * @property namespace size/border\n */\n 'border-width-m': (0, _nukeCore.vLoader)(Core['line-1']),\n /**\n * width\n * @property namespace size/border\n */\n 'border-width-s': (0, _nukeCore.vLoader)(Core['line-1']),\n /**\n * border-style\n * @property namespace statement\n */\n 'normal-line-style': (0, _nukeCore.vLoader)(Core['line-solid']),\n /**\n * text\n * @property namespace statement/disabled\n */\n 'normal-disabled-color': (0, _nukeCore.vLoader)(Core['color-text1-1']),\n /**\n * background\n * @property namespace statement/disabled\n */\n 'normal-disabled-bg-color': (0, _nukeCore.vLoader)(Core['color-fill1-2']),\n /**\n * border\n * @property namespace statement/disabled\n */\n 'normal-disabled-border-color': (0, _nukeCore.vLoader)(Core['color-line1-1']),\n /**\n * color\n * @property namespace statement/normal\n */\n 'normal-color': (0, _nukeCore.vLoader)(Core['color-text1-3']),\n /**\n * background\n * @property namespace statement/normal\n */\n 'normal-bg-color': (0, _nukeCore.vLoader)(Core['color-white']),\n /**\n * border\n * @property namespace statement/normal\n */\n 'normal-border-color': (0, _nukeCore.vLoader)(Core['color-line1-2']),\n /**\n * text\n * @property namespace statement/selected\n */\n 'normal-active-color': (0, _nukeCore.vLoader)(Core['color-text1-3']),\n /**\n * border\n * @property namespace statement/selected\n */\n 'normal-active-border-color': (0, _nukeCore.vLoader)(Core['color-line1-2']),\n /**\n * background\n * @property namespace statement/selected\n */\n 'normal-active-bg-color': (0, _nukeCore.vLoader)(Core['color-fill