12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- "use strict";
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- var _exportNames = {};
- exports.default = void 0;
- var _utils = _interopRequireWildcard(require("./src/utils"));
- Object.keys(_utils).forEach(function (key) {
- if (key === "default" || key === "__esModule") return;
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
- if (key in exports && exports[key] === _utils[key]) return;
- Object.defineProperty(exports, key, {
- enumerable: true,
- get: function get() {
- return _utils[key];
- }
- });
- });
- var _dom = _interopRequireWildcard(require("./src/dom"));
- Object.keys(_dom).forEach(function (key) {
- if (key === "default" || key === "__esModule") return;
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
- if (key in exports && exports[key] === _dom[key]) return;
- Object.defineProperty(exports, key, {
- enumerable: true,
- get: function get() {
- return _dom[key];
- }
- });
- });
- var _event = _interopRequireWildcard(require("./src/event"));
- Object.keys(_event).forEach(function (key) {
- if (key === "default" || key === "__esModule") return;
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
- if (key in exports && exports[key] === _event[key]) return;
- Object.defineProperty(exports, key, {
- enumerable: true,
- get: function get() {
- return _event[key];
- }
- });
- });
- var _resize = require("./src/resize");
- Object.keys(_resize).forEach(function (key) {
- if (key === "default" || key === "__esModule") return;
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
- if (key in exports && exports[key] === _resize[key]) return;
- Object.defineProperty(exports, key, {
- enumerable: true,
- get: function get() {
- return _resize[key];
- }
- });
- });
- function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
- function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
- var _default = {
- UtilTools: _utils.default,
- DomTools: _dom.default,
- GlobalEvent: _event.default
- };
- exports.default = _default;
|