bestnihon-react-components
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,23 +0,6 @@ | ||
// import TabContainer from "./TabContainer/TabContainer"; | ||
// import TabContainerItem from './TabContainerItem/TabContainerItem' | ||
// import React, { Component } from 'react' | ||
// export default class extends Component { | ||
// render() { | ||
// return <div> | ||
// <TabContainer> | ||
// <TabContainerItem style={{fontSize: '20px', height: '1000px',backgroundColor: 'red'}}> | ||
// 我是测试的1 | ||
// </TabContainerItem> | ||
// <TabContainerItem style={{fontSize: '20px'}}> | ||
// 我是测试的2 | ||
// </TabContainerItem> | ||
// <TabContainerItem style={{fontSize: '20px'}}> | ||
// 我是测试的3 | ||
// </TabContainerItem> | ||
// </TabContainer> | ||
// </div> | ||
// } | ||
// } | ||
import _TabContainer from "./TabContainer/TabContainer"; | ||
export { _TabContainer as TabContainer }; | ||
export { _TabContainer as TabContainer }; | ||
import _TabContainerItem from './TabContainerItem/TabContainerItem'; | ||
export { _TabContainerItem as TabContainerItem }; | ||
import _NavBar from './NavBar/NavBar'; | ||
export { _NavBar as NavBar }; |
@@ -1,31 +0,22 @@ | ||
"use strict"; | ||
'use strict'; | ||
exports.__esModule = true; | ||
exports.TabContainer = undefined; | ||
exports.NavBar = exports.TabContainerItem = exports.TabContainer = undefined; | ||
var _TabContainer2 = require("./TabContainer/TabContainer"); | ||
var _TabContainer2 = require('./TabContainer/TabContainer'); | ||
var _TabContainer3 = _interopRequireDefault(_TabContainer2); | ||
var _TabContainerItem2 = require('./TabContainerItem/TabContainerItem'); | ||
var _TabContainerItem3 = _interopRequireDefault(_TabContainerItem2); | ||
var _NavBar2 = require('./NavBar/NavBar'); | ||
var _NavBar3 = _interopRequireDefault(_NavBar2); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
exports.TabContainer = _TabContainer3.default; // import TabContainer from "./TabContainer/TabContainer"; | ||
// import TabContainerItem from './TabContainerItem/TabContainerItem' | ||
// import React, { Component } from 'react' | ||
// export default class extends Component { | ||
// render() { | ||
// return <div> | ||
// <TabContainer> | ||
// <TabContainerItem style={{fontSize: '20px', height: '1000px',backgroundColor: 'red'}}> | ||
// 我是测试的1 | ||
// </TabContainerItem> | ||
// <TabContainerItem style={{fontSize: '20px'}}> | ||
// 我是测试的2 | ||
// </TabContainerItem> | ||
// <TabContainerItem style={{fontSize: '20px'}}> | ||
// 我是测试的3 | ||
// </TabContainerItem> | ||
// </TabContainer> | ||
// </div> | ||
// } | ||
// } | ||
exports.TabContainer = _TabContainer3.default; | ||
exports.TabContainerItem = _TabContainerItem3.default; | ||
exports.NavBar = _NavBar3.default; |
{ | ||
"name": "bestnihon-react-components", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "bestnihon-react-components React component", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
/*! | ||
* bestnihon-react-components v1.0.0 | ||
* bestnihon-react-components v1.0.1 | ||
* MIT Licensed | ||
@@ -14,3 +14,3 @@ */ | ||
root["Y"] = factory(root["React"]); | ||
})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_3__) { | ||
})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_0__) { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
@@ -78,3 +78,3 @@ /******/ // The module cache | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = 0); | ||
/******/ return __webpack_require__(__webpack_require__.s = 1); | ||
/******/ }) | ||
@@ -84,9 +84,15 @@ /************************************************************************/ | ||
/* 0 */ | ||
/***/ (function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_0__; | ||
/***/ }), | ||
/* 1 */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = __webpack_require__(1); | ||
module.exports = __webpack_require__(2); | ||
/***/ }), | ||
/* 1 */ | ||
/* 2 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
@@ -96,24 +102,8 @@ | ||
Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TabContainer_TabContainer__ = __webpack_require__(2); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__TabContainer_TabContainer__ = __webpack_require__(3); | ||
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TabContainer", function() { return __WEBPACK_IMPORTED_MODULE_0__TabContainer_TabContainer__["a"]; }); | ||
// import TabContainer from "./TabContainer/TabContainer"; | ||
// import TabContainerItem from './TabContainerItem/TabContainerItem' | ||
// import React, { Component } from 'react' | ||
// export default class extends Component { | ||
// render() { | ||
// return <div> | ||
// <TabContainer> | ||
// <TabContainerItem style={{fontSize: '20px', height: '1000px',backgroundColor: 'red'}}> | ||
// 我是测试的1 | ||
// </TabContainerItem> | ||
// <TabContainerItem style={{fontSize: '20px'}}> | ||
// 我是测试的2 | ||
// </TabContainerItem> | ||
// <TabContainerItem style={{fontSize: '20px'}}> | ||
// 我是测试的3 | ||
// </TabContainerItem> | ||
// </TabContainer> | ||
// </div> | ||
// } | ||
// } | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__TabContainerItem_TabContainerItem__ = __webpack_require__(5); | ||
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "TabContainerItem", function() { return __WEBPACK_IMPORTED_MODULE_1__TabContainerItem_TabContainerItem__["a"]; }); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__NavBar_NavBar__ = __webpack_require__(7); | ||
/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "NavBar", function() { return __WEBPACK_IMPORTED_MODULE_2__NavBar_NavBar__["a"]; }); | ||
@@ -123,8 +113,11 @@ | ||
/***/ }), | ||
/* 2 */ | ||
/* 3 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(3); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__); | ||
@@ -345,9 +338,61 @@ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__TabContainer_css__ = __webpack_require__(4); | ||
/***/ }), | ||
/* 3 */ | ||
/* 4 */ | ||
/***/ (function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_3__; | ||
// removed by extract-text-webpack-plugin | ||
/***/ }), | ||
/* 4 */ | ||
/* 5 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__TabContainerItem_css__ = __webpack_require__(6); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__TabContainerItem_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__TabContainerItem_css__); | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
function _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; } | ||
function _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; } | ||
var TabContainerItem = function (_Component) { | ||
_inherits(TabContainerItem, _Component); | ||
function TabContainerItem() { | ||
_classCallCheck(this, TabContainerItem); | ||
return _possibleConstructorReturn(this, _Component.apply(this, arguments)); | ||
} | ||
TabContainerItem.prototype.componentDidMount = function componentDidMount() { | ||
// console.log(this.el) | ||
}; | ||
TabContainerItem.prototype.render = function render() { | ||
var _this2 = this; | ||
// console.log(this.props) | ||
var style = this.props.style; | ||
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement( | ||
'li', | ||
{ className: 'TabContainerItem', style: style, ref: function ref(node) { | ||
return _this2.el = node; | ||
} }, | ||
this.props.children | ||
); | ||
}; | ||
return TabContainerItem; | ||
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]); | ||
/* harmony default export */ __webpack_exports__["a"] = (TabContainerItem); | ||
/***/ }), | ||
/* 6 */ | ||
/***/ (function(module, exports) { | ||
@@ -357,4 +402,46 @@ | ||
/***/ }), | ||
/* 7 */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__NavBar_css__ = __webpack_require__(8); | ||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__NavBar_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__NavBar_css__); | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
function _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; } | ||
function _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; } | ||
var NavBar = function (_Component) { | ||
_inherits(NavBar, _Component); | ||
function NavBar() { | ||
_classCallCheck(this, NavBar); | ||
return _possibleConstructorReturn(this, _Component.apply(this, arguments)); | ||
} | ||
NavBar.prototype.render = function render() { | ||
return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement('div', null); | ||
}; | ||
return NavBar; | ||
}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]); | ||
/* harmony default export */ __webpack_exports__["a"] = (NavBar); | ||
/***/ }), | ||
/* 8 */ | ||
/***/ (function(module, exports) { | ||
// removed by extract-text-webpack-plugin | ||
/***/ }) | ||
/******/ ])["default"]; | ||
}); |
/*! | ||
* bestnihon-react-components v1.0.0 | ||
* bestnihon-react-components v1.0.1 | ||
* MIT Licensed | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Y=t(require("react")):e.Y=t(e.React)}("undefined"!=typeof self?self:this,function(e){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2);n.d(t,"TabContainer",function(){return o.a})},function(e,t,n){"use strict";var o=n(3),i=n.n(o),r=n(4);n.n(r);var c="left",s="right",a="top",l="down",h=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return o.slideStart=function(e){console.log(e.changedTouches[0].pageX),o.startX=e.changedTouches[0].pageX,o.startY=e.changedTouches[0].pageY,o.quiescingTouch()},o.slideMove=function(e){var t=e.changedTouches[0].pageX,n=e.changedTouches[0].pageY,i=t-o.startX,r=n-o.startY;Math.abs(i)>Math.abs(r)&&i>0?(console.log("向右",i,o.container.scrollLeft),o.touchDes=s,0!==o.index&&(o.container.scrollLeft=o.index*o.itemWidth-i)):Math.abs(i)>Math.abs(r)&&i<0?(console.log("向左",i,o.container.scrollLeft),o.touchDes=c,o.index!==o.props.children.length-1&&(o.container.scrollLeft=o.index*o.itemWidth-i)):Math.abs(r)>Math.abs(i)&&r>0?(console.log("向下"),o.touchDes=l):Math.abs(r)>Math.abs(i)&&r<0?(console.log("向上"),o.touchDes=a):console.log("没有发生滑动")},o.slideEnd=function(e){o.endX=e.changedTouches[0].clientX,console.log("touch 结束"),o.timer||(console.log("没有进行中 timer 进入 check"),o.checkTouch())},o.checkTouch=function(){if(o.touchDes===s||o.touchDes===c){var e={right:function(){0!==o.index&&o.index--},left:function(){o.index!==o.props.children.length-1&&o.index++}};Math.abs(o.endX-o.startX)>=o.interval&&e[o.touchDes]()}o.animate()},o.animate=function(){var e=o.itemWidth*o.index;console.log("目标的 scrollleft ==> "+e),o.timer=setInterval(function(){var t=(e-o.container.scrollLeft)/5;t=t>0?Math.ceil(t):Math.floor(t),o.container.scrollLeft+=t,Math.abs(e-o.container.scrollLeft)<=Math.abs(t)&&(clearInterval(o.timer),o.timer=void 0,o.container.scrollLeft=e,console.log("进入销毁程序",o.container.scrollLeft,e))},10)},o.itemWidth=window.screen.width,o.interval=n.interval||parseInt(o.itemWidth/3),o.index=n.index||0,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){this.container.scrollLeft=this.index*this.itemWidth,this.container.addEventListener("touchstart",this.slideStart)},t.prototype.componentWillUnmount=function(){this.container.removeEventListener("touchstart",this.slideStart),this.container.removeEventListener("touchmove",this.slideMove),this.container.removeEventListener("touchend",this.slideEnd)},t.prototype.quiescingTouch=function(){this.startX<30?(this.container.removeEventListener("touchmove",this.slideMove),this.container.removeEventListener("touchend",this.slideEnd),this.hideLi(),this.wrap.style.overflow="hidden"):(console.log("我应该进入这个"),this.showLi(),this.wrap.style.overflow="visible",this.container.addEventListener("touchmove",this.slideMove),this.container.addEventListener("touchend",this.slideEnd))},t.prototype.hideLi=function(){for(var e=this.wrap.children,t=0,n=e.length;t<n;t++)t!==this.index&&(e[t].style.display="none")},t.prototype.showLi=function(){for(var e=this.wrap.children,t=0,n=e.length;t<n;t++)e[t].style.display="inline-block"},t.prototype.render=function(){var e=this;return i.a.createElement("div",{className:"tab-container-root",ref:function(t){e.container=t}},i.a.createElement("ul",{className:"tab-container",ref:function(t){e.wrap=t}},this.props.children))},t}(o.Component);t.a=h},function(t,n){t.exports=e},function(e,t){}]).default}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Y=t(require("react")):e.Y=t(e.React)}("undefined"!=typeof self?self:this,function(e){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(t,n){t.exports=e},function(e,t,n){e.exports=n(2)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3);n.d(t,"TabContainer",function(){return o.a});var r=n(5);n.d(t,"TabContainerItem",function(){return r.a});var i=n(7);n.d(t,"NavBar",function(){return i.a})},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(4);n.n(i);var c="left",s="right",a="top",u="down",l=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n));return o.slideStart=function(e){console.log(e.changedTouches[0].pageX),o.startX=e.changedTouches[0].pageX,o.startY=e.changedTouches[0].pageY,o.quiescingTouch()},o.slideMove=function(e){var t=e.changedTouches[0].pageX,n=e.changedTouches[0].pageY,r=t-o.startX,i=n-o.startY;Math.abs(r)>Math.abs(i)&&r>0?(console.log("向右",r,o.container.scrollLeft),o.touchDes=s,0!==o.index&&(o.container.scrollLeft=o.index*o.itemWidth-r)):Math.abs(r)>Math.abs(i)&&r<0?(console.log("向左",r,o.container.scrollLeft),o.touchDes=c,o.index!==o.props.children.length-1&&(o.container.scrollLeft=o.index*o.itemWidth-r)):Math.abs(i)>Math.abs(r)&&i>0?(console.log("向下"),o.touchDes=u):Math.abs(i)>Math.abs(r)&&i<0?(console.log("向上"),o.touchDes=a):console.log("没有发生滑动")},o.slideEnd=function(e){o.endX=e.changedTouches[0].clientX,console.log("touch 结束"),o.timer||(console.log("没有进行中 timer 进入 check"),o.checkTouch())},o.checkTouch=function(){if(o.touchDes===s||o.touchDes===c){var e={right:function(){0!==o.index&&o.index--},left:function(){o.index!==o.props.children.length-1&&o.index++}};Math.abs(o.endX-o.startX)>=o.interval&&e[o.touchDes]()}o.animate()},o.animate=function(){var e=o.itemWidth*o.index;console.log("目标的 scrollleft ==> "+e),o.timer=setInterval(function(){var t=(e-o.container.scrollLeft)/5;t=t>0?Math.ceil(t):Math.floor(t),o.container.scrollLeft+=t,Math.abs(e-o.container.scrollLeft)<=Math.abs(t)&&(clearInterval(o.timer),o.timer=void 0,o.container.scrollLeft=e,console.log("进入销毁程序",o.container.scrollLeft,e))},10)},o.itemWidth=window.screen.width,o.interval=n.interval||parseInt(o.itemWidth/3),o.index=n.index||0,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){this.container.scrollLeft=this.index*this.itemWidth,this.container.addEventListener("touchstart",this.slideStart)},t.prototype.componentWillUnmount=function(){this.container.removeEventListener("touchstart",this.slideStart),this.container.removeEventListener("touchmove",this.slideMove),this.container.removeEventListener("touchend",this.slideEnd)},t.prototype.quiescingTouch=function(){this.startX<30?(this.container.removeEventListener("touchmove",this.slideMove),this.container.removeEventListener("touchend",this.slideEnd),this.hideLi(),this.wrap.style.overflow="hidden"):(console.log("我应该进入这个"),this.showLi(),this.wrap.style.overflow="visible",this.container.addEventListener("touchmove",this.slideMove),this.container.addEventListener("touchend",this.slideEnd))},t.prototype.hideLi=function(){for(var e=this.wrap.children,t=0,n=e.length;t<n;t++)t!==this.index&&(e[t].style.display="none")},t.prototype.showLi=function(){for(var e=this.wrap.children,t=0,n=e.length;t<n;t++)e[t].style.display="inline-block"},t.prototype.render=function(){var e=this;return r.a.createElement("div",{className:"tab-container-root",ref:function(t){e.container=t}},r.a.createElement("ul",{className:"tab-container",ref:function(t){e.wrap=t}},this.props.children))},t}(o.Component);t.a=l},function(e,t){},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(6);n.n(i);var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){},t.prototype.render=function(){var e=this,t=this.props.style;return r.a.createElement("li",{className:"TabContainerItem",style:t,ref:function(t){return e.el=t}},this.props.children)},t}(o.Component);t.a=c},function(e,t){},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(8);n.n(i);var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){return r.a.createElement("div",null)},t}(o.Component);t.a=c},function(e,t){}]).default}); | ||
//# sourceMappingURL=bestnihon-react-components.min.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69320
16
904