diff --git a/CHANGELOG.md b/CHANGELOG.md index e282ea4..66ea499 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [0.1.3](https://github.com/vueblocks/element-schema-form/compare/v0.1.2...v0.1.3) (2019-11-01) + + +### Bug Fixes + +* schema-form插槽错误 ([fe43fbb](https://github.com/vueblocks/element-schema-form/commit/fe43fbb4c47984f092254536eff93c800617e6e7)) + + + ## [0.1.2](https://github.com/vueblocks/element-schema-form/compare/v0.1.1...v0.1.2) (2019-10-30) @@ -7,41 +16,41 @@ ### Features -* 新增【重置表单】功能 ([9da36a3](https://github.com/vueblocks/element-schema-form/commit/9da36a3)) +* 新增【重置表单】功能 ([9da36a3](https://github.com/vueblocks/element-schema-form/commit/9da36a37cadf06bedabf4bbdb9994ac620fa13e3)) -# [0.1.0](https://github.com/vueblocks/element-schema-form/compare/9c61589...v0.1.0) (2019-10-28) +# [0.1.0](https://github.com/vueblocks/element-schema-form/compare/9c615890fe925a11c33f3b3534381332b9867cf7...v0.1.0) (2019-10-28) ### Bug Fixes -* copy 激活行数调整,api将module修改为model ([d3682be](https://github.com/vueblocks/element-schema-form/commit/d3682be)) +* copy 激活行数调整,api将module修改为model ([d3682be](https://github.com/vueblocks/element-schema-form/commit/d3682be362dec1c3f96ee120fcebaf27664a75e4)) ### Features -* 🌈完成生成 Vue 代码功能 ([215dac0](https://github.com/vueblocks/element-schema-form/commit/215dac0)) -* 💥引入 vuex-persistedstate 数据持久化插件 ([e825350](https://github.com/vueblocks/element-schema-form/commit/e825350)) -* 📋添加复制代码到剪切板功能 ([8e069b3](https://github.com/vueblocks/element-schema-form/commit/8e069b3)) -* 修改布局算法 ([0d38a49](https://github.com/vueblocks/element-schema-form/commit/0d38a49)) -* 基础组件 ([9c61589](https://github.com/vueblocks/element-schema-form/commit/9c61589)) -* 增加json编辑器 ([3887414](https://github.com/vueblocks/element-schema-form/commit/3887414)) -* 增加列跨度配置 ([b6d72c6](https://github.com/vueblocks/element-schema-form/commit/b6d72c6)) -* 增加拓展组件 ([d635fdd](https://github.com/vueblocks/element-schema-form/commit/d635fdd)) -* 增加组件个性化属性(1) ([2ca9dc7](https://github.com/vueblocks/element-schema-form/commit/2ca9dc7)) -* 增加组件基础属性编辑 ([30d335e](https://github.com/vueblocks/element-schema-form/commit/30d335e)) -* 增加表单预览 ([a70c222](https://github.com/vueblocks/element-schema-form/commit/a70c222)) -* 处理左侧布局删除列逻辑 ([c047010](https://github.com/vueblocks/element-schema-form/commit/c047010)) -* 完成生成 Schema 功能 ([dcbe5c5](https://github.com/vueblocks/element-schema-form/commit/dcbe5c5)) -* 搭建表单生成器页面 ([62d3085](https://github.com/vueblocks/element-schema-form/commit/62d3085)) -* 新增/删除行 ([f99ad57](https://github.com/vueblocks/element-schema-form/commit/f99ad57)) -* 新增tag等基本组件 ([3e8c38d](https://github.com/vueblocks/element-schema-form/commit/3e8c38d)) -* 新增列排序功能 ([0a74c03](https://github.com/vueblocks/element-schema-form/commit/0a74c03)) -* 新增行复制 ([6698e11](https://github.com/vueblocks/element-schema-form/commit/6698e11)) -* 新增表单列删除功能 ([c08c8c0](https://github.com/vueblocks/element-schema-form/commit/c08c8c0)) -* 新增表单配置面板 ([ecdbee5](https://github.com/vueblocks/element-schema-form/commit/ecdbee5)) -* 私有属性调整 ([cf61919](https://github.com/vueblocks/element-schema-form/commit/cf61919)) +* 🌈完成生成 Vue 代码功能 ([215dac0](https://github.com/vueblocks/element-schema-form/commit/215dac0ce0987f5e59b3507a51f5431da59af09e)) +* 💥引入 vuex-persistedstate 数据持久化插件 ([e825350](https://github.com/vueblocks/element-schema-form/commit/e825350561a37de53ecb78fa4d789bc7875ada5e)) +* 📋添加复制代码到剪切板功能 ([8e069b3](https://github.com/vueblocks/element-schema-form/commit/8e069b36113d7357705d30acf77b208b4a8d70b9)) +* 修改布局算法 ([0d38a49](https://github.com/vueblocks/element-schema-form/commit/0d38a493503b80369276d6756de037571ea9847d)) +* 基础组件 ([9c61589](https://github.com/vueblocks/element-schema-form/commit/9c615890fe925a11c33f3b3534381332b9867cf7)) +* 增加json编辑器 ([3887414](https://github.com/vueblocks/element-schema-form/commit/38874147675504d40a670bacd4373dd109bc5f45)) +* 增加列跨度配置 ([b6d72c6](https://github.com/vueblocks/element-schema-form/commit/b6d72c60720645b02076466f3bbd67e215934b3e)) +* 增加拓展组件 ([d635fdd](https://github.com/vueblocks/element-schema-form/commit/d635fdd40349e93eecda0f52a9c249d2b87b0a6a)) +* 增加组件个性化属性(1) ([2ca9dc7](https://github.com/vueblocks/element-schema-form/commit/2ca9dc74b296f6d0de97d6493245cde3aeca5afe)) +* 增加组件基础属性编辑 ([30d335e](https://github.com/vueblocks/element-schema-form/commit/30d335ebede61056ca1c5c941d673a638c14429c)) +* 增加表单预览 ([a70c222](https://github.com/vueblocks/element-schema-form/commit/a70c2222bc5358cd2e440299d0acd78032649599)) +* 处理左侧布局删除列逻辑 ([c047010](https://github.com/vueblocks/element-schema-form/commit/c04701062e7eb8fbc2b59f66b8675cb15c172c5e)) +* 完成生成 Schema 功能 ([dcbe5c5](https://github.com/vueblocks/element-schema-form/commit/dcbe5c51500a3f6b63985597b275d954a464ac3c)) +* 搭建表单生成器页面 ([62d3085](https://github.com/vueblocks/element-schema-form/commit/62d30855341080e3de09b4291263fca3228cd5e5)) +* 新增/删除行 ([f99ad57](https://github.com/vueblocks/element-schema-form/commit/f99ad57357db78ba3fc4f31aaee6a61e17d1a49b)) +* 新增tag等基本组件 ([3e8c38d](https://github.com/vueblocks/element-schema-form/commit/3e8c38d56962faeb4e9f13a28f9af1fa9b8b863e)) +* 新增列排序功能 ([0a74c03](https://github.com/vueblocks/element-schema-form/commit/0a74c03c62e4ada86d98127566a8cb5449cc324e)) +* 新增行复制 ([6698e11](https://github.com/vueblocks/element-schema-form/commit/6698e11a3505fa884026ccfe981d543b82086cb4)) +* 新增表单列删除功能 ([c08c8c0](https://github.com/vueblocks/element-schema-form/commit/c08c8c0c44bdb3ed76d9fce333992069cfb972d6)) +* 新增表单配置面板 ([ecdbee5](https://github.com/vueblocks/element-schema-form/commit/ecdbee5557f6cddfe28617939f189d4f9de61992)) +* 私有属性调整 ([cf61919](https://github.com/vueblocks/element-schema-form/commit/cf6191953e5117db4138d255dfd438022c03ddf5)) diff --git a/docs/.vuepress/components/add-item.vue b/docs/.vuepress/components/add-item.vue new file mode 100644 index 0000000..aeb061e --- /dev/null +++ b/docs/.vuepress/components/add-item.vue @@ -0,0 +1,95 @@ + + + + + 删除 + + 立即创建 + 新增域名 + 重置 + + + + + + + + + \ No newline at end of file diff --git a/docs/.vuepress/components/basic-validate.vue b/docs/.vuepress/components/basic-validate.vue new file mode 100644 index 0000000..770b9a4 --- /dev/null +++ b/docs/.vuepress/components/basic-validate.vue @@ -0,0 +1,144 @@ + + + + + + + 立即创建 + 重置 + + + + + + + + + \ No newline at end of file diff --git a/docs/.vuepress/components/code-contain.vue b/docs/.vuepress/components/code-contain.vue new file mode 100644 index 0000000..6c3355f --- /dev/null +++ b/docs/.vuepress/components/code-contain.vue @@ -0,0 +1,98 @@ + + + + + + + + + + {{visible ? '隐藏代码' : '显示代码'}} + 在线运行 + + + + + + + + + \ No newline at end of file diff --git a/docs/.vuepress/components/custom-input.vue b/docs/.vuepress/components/custom-input.vue new file mode 100644 index 0000000..38068c8 --- /dev/null +++ b/docs/.vuepress/components/custom-input.vue @@ -0,0 +1,33 @@ + + + + + + + + + + diff --git a/docs/.vuepress/components/custom/custom-number.vue b/docs/.vuepress/components/custom/custom-number.vue new file mode 100644 index 0000000..ead75ec --- /dev/null +++ b/docs/.vuepress/components/custom/custom-number.vue @@ -0,0 +1,23 @@ + + + + + + + + \ No newline at end of file diff --git a/docs/.vuepress/components/dynamic-input.vue b/docs/.vuepress/components/dynamic-input.vue new file mode 100644 index 0000000..56e5d5f --- /dev/null +++ b/docs/.vuepress/components/dynamic-input.vue @@ -0,0 +1,47 @@ + + + + + + + + + + diff --git a/docs/.vuepress/components/layout-flexible.vue b/docs/.vuepress/components/layout-flexible.vue new file mode 100644 index 0000000..0a3117f --- /dev/null +++ b/docs/.vuepress/components/layout-flexible.vue @@ -0,0 +1,44 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/.vuepress/components/layout-gutter.vue b/docs/.vuepress/components/layout-gutter.vue new file mode 100644 index 0000000..2e4364c --- /dev/null +++ b/docs/.vuepress/components/layout-gutter.vue @@ -0,0 +1,44 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/.vuepress/components/layout-offset.vue b/docs/.vuepress/components/layout-offset.vue new file mode 100644 index 0000000..6d9f68a --- /dev/null +++ b/docs/.vuepress/components/layout-offset.vue @@ -0,0 +1,46 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/docs/.vuepress/components/slot-front.vue b/docs/.vuepress/components/slot-front.vue new file mode 100644 index 0000000..7a21f3b --- /dev/null +++ b/docs/.vuepress/components/slot-front.vue @@ -0,0 +1,41 @@ + + + + + 姓名 + + + + + + + + + + + diff --git a/docs/.vuepress/components/slot-rear.vue b/docs/.vuepress/components/slot-rear.vue new file mode 100644 index 0000000..fd8c877 --- /dev/null +++ b/docs/.vuepress/components/slot-rear.vue @@ -0,0 +1,44 @@ + + + + + {{model.name.length}}字 + + + + + + + + diff --git a/docs/.vuepress/components/slot-slot.vue b/docs/.vuepress/components/slot-slot.vue new file mode 100644 index 0000000..c35e8a5 --- /dev/null +++ b/docs/.vuepress/components/slot-slot.vue @@ -0,0 +1,31 @@ + + + + + + + + + + + + + diff --git a/docs/.vuepress/components/validate-number.vue b/docs/.vuepress/components/validate-number.vue new file mode 100644 index 0000000..00a8ce8 --- /dev/null +++ b/docs/.vuepress/components/validate-number.vue @@ -0,0 +1,61 @@ + + + + + + 立即创建 + 重置 + + + + + + + + + \ No newline at end of file diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 9e2a01b..7aedbb8 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -10,7 +10,7 @@ module.exports = { { text: '组件', link: '/guide/component/SchemaForm/' }, { text: '表单设计器', - link: 'https://github.com/vueblocks/element-form-generator' + link: 'https://vueblocks.github.io/element-form-generator/' }, { text: 've-charts', @@ -42,10 +42,12 @@ module.exports = { '/guide/component/SchemaForm', ['/guide/component/schema', 'schema 详解'], ['/guide/component/layout', 'layout 布局'], - '/guide/component/SchemaFormItem' + ['/guide/component/slot', 'slot 插槽'], + ['/guide/component/dynamic', 'dynamicAttrs 动态属性'], + ['/guide/component/custom', '自定义组件'] ] } ] } - }, + } } \ No newline at end of file diff --git a/docs/.vuepress/enhanceApp.js b/docs/.vuepress/enhanceApp.js new file mode 100644 index 0000000..737844f --- /dev/null +++ b/docs/.vuepress/enhanceApp.js @@ -0,0 +1,12 @@ +import SchemaForm from '../../src/index.js' +import ElementUI from "element-ui" +import CustomNumber from './components/custom/custom-number.vue' + +import "element-ui/lib/theme-chalk/index.css" +import '@vuepress/theme-default' + +export default ({ Vue }) => { + Vue.use(SchemaForm) + Vue.use(ElementUI) + Vue.component('CustomNumber', CustomNumber) +} diff --git a/docs/.vuepress/public/element-schema-form__logo.jpg b/docs/.vuepress/public/element-schema-form__logo.jpg new file mode 100644 index 0000000..a290b22 Binary files /dev/null and b/docs/.vuepress/public/element-schema-form__logo.jpg differ diff --git a/docs/README.md b/docs/README.md index e1ee7d0..e54a381 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ --- home: true -# heroImage: ./logo.jpg +heroImage: /element-schema-form__logo.jpg actionText: 快速开始 → actionLink: /guide/ features: @@ -10,11 +10,5 @@ features: details: 基于 Element UI组件库的 Form 表单。 - title: Responsable Form details: 响应式的栅格表单布局。 -- title: 基础组件 - details: 支持 Element 内置常用的 10 余种表单组件,如 Input、Select、Radio、Checkbox 等。 -- title: 第三方组件 - details: 支持常用第三方表单组件,如富文本编辑器、MarkDown编辑器等。 -- title: 自定义组件 - details: 基于 `Slot` 的自定义组件功能,留给你可扩展的自定义功能。 footer: MIT Licensed | Copyright © 2019-present VueBlocks --- \ No newline at end of file diff --git a/docs/guide/component/SchemaFormItem.md b/docs/guide/component/SchemaFormItem.md deleted file mode 100644 index a3cf358..0000000 --- a/docs/guide/component/SchemaFormItem.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -{ - "title": "SchemaFormItem", -} ---- \ No newline at end of file diff --git a/docs/guide/component/custom.md b/docs/guide/component/custom.md new file mode 100644 index 0000000..d07acc5 --- /dev/null +++ b/docs/guide/component/custom.md @@ -0,0 +1,38 @@ +### 自定义组件 + +#### 定义组件 +``` js + + + + + +``` + +#### main.js 全局引入组件 +``` js +import ElementUI from 'element-ui' +import 'element-ui/lib/theme-chalk/index.css' +import SchemaForm from '@vueblocks/element-schema-form' +import CustomNumber from '@/components/custom-number.vue' + +Vue.use(ElementUI) +Vue.use(SchemaForm) +Vue.component('CustomNumber', CustomNumber) +``` + +#### 使用自定义组件 + + +<<< @/docs/.vuepress/components/custom-input.vue + \ No newline at end of file diff --git a/docs/guide/component/dynamic.md b/docs/guide/component/dynamic.md new file mode 100644 index 0000000..1d7797d --- /dev/null +++ b/docs/guide/component/dynamic.md @@ -0,0 +1,5 @@ +#### 使用动态属性联动 + + +<<< @/docs/.vuepress/components/dynamic-input.vue + \ No newline at end of file diff --git a/docs/guide/component/layout.md b/docs/guide/component/layout.md index 32cd87d..1a106e7 100644 --- a/docs/guide/component/layout.md +++ b/docs/guide/component/layout.md @@ -3,6 +3,25 @@ SchemaForm 整体布局采用 el-row 和 el-col 进行封装, 通过基础的24分栏,迅速简便地创建布局 +### 分栏间隔 + + +<<< @/docs/.vuepress/components/layout-gutter.vue + + +### 分栏偏移 + + +<<< @/docs/.vuepress/components/layout-offset.vue + + +### 响应式布局 + + +<<< @/docs/.vuepress/components/layout-flexible.vue + + + **layout Attributes** 参数|说明|类型|可选值|默认值 diff --git a/docs/guide/component/schema.md b/docs/guide/component/schema.md index ad8badb..e41a657 100644 --- a/docs/guide/component/schema.md +++ b/docs/guide/component/schema.md @@ -113,12 +113,11 @@ on: { } ``` -## 插槽 slot +## 插槽 slot 参数|说明| :--|:-- slot| 自定义完整组件 frontSlot| 定义element 组件前的插槽 -compSlot| 定义element 组件内的插槽 rearSlot| 定义element 组件后的插槽 diff --git a/docs/guide/component/slot.md b/docs/guide/component/slot.md new file mode 100644 index 0000000..4429b40 --- /dev/null +++ b/docs/guide/component/slot.md @@ -0,0 +1,17 @@ +### 插槽 + + +<<< @/docs/.vuepress/components/slot-slot.vue + + +### 前置插槽 + + +<<< @/docs/.vuepress/components/slot-front.vue + + +### 后置插槽 + + +<<< @/docs/.vuepress/components/slot-rear.vue + \ No newline at end of file diff --git "a/docs/guide/\345\234\250\347\272\277\347\244\272\344\276\213.md" "b/docs/guide/\345\234\250\347\272\277\347\244\272\344\276\213.md" index 80ff2c7..a88822f 100644 --- "a/docs/guide/\345\234\250\347\272\277\347\244\272\344\276\213.md" +++ "b/docs/guide/\345\234\250\347\272\277\347\244\272\344\276\213.md" @@ -4,5 +4,24 @@ } --- -## 在线示例 +### 表单验证 + + +<<< @/docs/.vuepress/components/basic-validate.vue + + +### 数字类型验证 + + +<<< @/docs/.vuepress/components/validate-number.vue + + +### 动态增减表单项 + + +<<< @/docs/.vuepress/components/add-item.vue + + + + diff --git "a/docs/guide/\346\233\264\346\226\260\346\227\245\345\277\227.md" "b/docs/guide/\346\233\264\346\226\260\346\227\245\345\277\227.md" index d805a38..6096cca 100644 --- "a/docs/guide/\346\233\264\346\226\260\346\227\245\345\277\227.md" +++ "b/docs/guide/\346\233\264\346\226\260\346\227\245\345\277\227.md" @@ -13,7 +13,7 @@ -# [0.1.0](https://github.com/vueblocks/element-schema-form/compare/9c61589...v0.1.0) (2019-10-28) +## [0.1.0](https://github.com/vueblocks/element-schema-form/compare/9c61589...v0.1.0) (2019-10-28) ### Bug Fixes diff --git a/lib/SchemaFormCodemirror.common.min.js b/lib/SchemaFormCodemirror.common.min.js index b3f1ba5..b5d21bf 100644 --- a/lib/SchemaFormCodemirror.common.min.js +++ b/lib/SchemaFormCodemirror.common.min.js @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var vueCodemirrorLite=require("vue-codemirror-lite"),fails=function(e){try{return!!e()}catch(e){return!0}},descriptors=!fails((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var check=function(e){return e&&e.Math==Math&&e},global_1=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof commonjsGlobal&&commonjsGlobal)||Function("return this")(),isObject=function(e){return"object"==typeof e?null!==e:"function"==typeof e},document=global_1.document,EXISTS=isObject(document)&&isObject(document.createElement),documentCreateElement=function(e){return EXISTS?document.createElement(e):{}},ie8DomDefine=!descriptors&&!fails((function(){return 7!=Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a})),anObject=function(e){if(!isObject(e))throw TypeError(String(e)+" is not an object");return e},toPrimitive=function(e,t){if(!isObject(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!isObject(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!isObject(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!isObject(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")},nativeDefineProperty=Object.defineProperty,f=descriptors?nativeDefineProperty:function(e,t,r){if(anObject(e),t=toPrimitive(t,!0),anObject(r),ie8DomDefine)try{return nativeDefineProperty(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e},objectDefineProperty={f:f},defineProperty=objectDefineProperty.f,FunctionPrototype=Function.prototype,FunctionPrototypeToString=FunctionPrototype.toString,nameRE=/^\s*function ([^ (]*)/,NAME="name";!descriptors||NAME in FunctionPrototype||defineProperty(FunctionPrototype,NAME,{configurable:!0,get:function(){try{return FunctionPrototypeToString.call(this).match(nameRE)[1]}catch(e){return""}}});var set,get,has$1,nativePropertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!nativePropertyIsEnumerable.call({1:2},1),f$1=NASHORN_BUG?function(e){var t=getOwnPropertyDescriptor(this,e);return!!t&&t.enumerable}:nativePropertyIsEnumerable,objectPropertyIsEnumerable={f:f$1},createPropertyDescriptor=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},toString={}.toString,classofRaw=function(e){return toString.call(e).slice(8,-1)},split="".split,indexedObject=fails((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==classofRaw(e)?split.call(e,""):Object(e)}:Object,requireObjectCoercible=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},toIndexedObject=function(e){return indexedObject(requireObjectCoercible(e))},hasOwnProperty={}.hasOwnProperty,has=function(e,t){return hasOwnProperty.call(e,t)},nativeGetOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,f$2=descriptors?nativeGetOwnPropertyDescriptor:function(e,t){if(e=toIndexedObject(e),t=toPrimitive(t,!0),ie8DomDefine)try{return nativeGetOwnPropertyDescriptor(e,t)}catch(e){}if(has(e,t))return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(e,t),e[t])},objectGetOwnPropertyDescriptor={f:f$2},createNonEnumerableProperty=descriptors?function(e,t,r){return objectDefineProperty.f(e,t,createPropertyDescriptor(1,r))}:function(e,t,r){return e[t]=r,e},setGlobal=function(e,t){try{createNonEnumerableProperty(global_1,e,t)}catch(r){global_1[e]=t}return t},SHARED="__core-js_shared__",store=global_1[SHARED]||setGlobal(SHARED,{}),sharedStore=store,shared=createCommonjsModule((function(e){(e.exports=function(e,t){return sharedStore[e]||(sharedStore[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.3.4",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),functionToString=shared("native-function-to-string",Function.toString),WeakMap=global_1.WeakMap,nativeWeakMap="function"==typeof WeakMap&&/native code/.test(functionToString.call(WeakMap)),id=0,postfix=Math.random(),uid=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++id+postfix).toString(36)},keys=shared("keys"),sharedKey=function(e){return keys[e]||(keys[e]=uid(e))},hiddenKeys={},WeakMap$1=global_1.WeakMap,enforce=function(e){return has$1(e)?get(e):set(e,{})},getterFor=function(e){return function(t){var r;if(!isObject(t)||(r=get(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}};if(nativeWeakMap){var store$1=new WeakMap$1,wmget=store$1.get,wmhas=store$1.has,wmset=store$1.set;set=function(e,t){return wmset.call(store$1,e,t),t},get=function(e){return wmget.call(store$1,e)||{}},has$1=function(e){return wmhas.call(store$1,e)}}else{var STATE=sharedKey("state");hiddenKeys[STATE]=!0,set=function(e,t){return createNonEnumerableProperty(e,STATE,t),t},get=function(e){return has(e,STATE)?e[STATE]:{}},has$1=function(e){return has(e,STATE)}}var internalState={set:set,get:get,has:has$1,enforce:enforce,getterFor:getterFor},redefine=createCommonjsModule((function(e){var t=internalState.get,r=internalState.enforce,o=String(functionToString).split("toString");shared("inspectSource",(function(e){return functionToString.call(e)})),(e.exports=function(e,t,n,i){var a=!!i&&!!i.unsafe,c=!!i&&!!i.enumerable,s=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||has(n,"name")||createNonEnumerableProperty(n,"name",t),r(n).source=o.join("string"==typeof t?t:"")),e!==global_1?(a?!s&&e[t]&&(c=!0):delete e[t],c?e[t]=n:createNonEnumerableProperty(e,t,n)):c?e[t]=n:setGlobal(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||functionToString.call(this)}))})),path=global_1,aFunction=function(e){return"function"==typeof e?e:void 0},getBuiltIn=function(e,t){return arguments.length<2?aFunction(path[e])||aFunction(global_1[e]):path[e]&&path[e][t]||global_1[e]&&global_1[e][t]},ceil=Math.ceil,floor=Math.floor,toInteger=function(e){return isNaN(e=+e)?0:(e>0?floor:ceil)(e)},min=Math.min,toLength=function(e){return e>0?min(toInteger(e),9007199254740991):0},max=Math.max,min$1=Math.min,toAbsoluteIndex=function(e,t){var r=toInteger(e);return r<0?max(r+t,0):min$1(r,t)},createMethod=function(e){return function(t,r,o){var n,i=toIndexedObject(t),a=toLength(i.length),c=toAbsoluteIndex(o,a);if(e&&r!=r){for(;a>c;)if((n=i[c++])!=n)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===r)return e||c||0;return!e&&-1}},arrayIncludes={includes:createMethod(!0),indexOf:createMethod(!1)},indexOf=arrayIncludes.indexOf,objectKeysInternal=function(e,t){var r,o=toIndexedObject(e),n=0,i=[];for(r in o)!has(hiddenKeys,r)&&has(o,r)&&i.push(r);for(;t.length>n;)has(o,r=t[n++])&&(~indexOf(i,r)||i.push(r));return i},enumBugKeys=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],hiddenKeys$1=enumBugKeys.concat("length","prototype"),f$3=Object.getOwnPropertyNames||function(e){return objectKeysInternal(e,hiddenKeys$1)},objectGetOwnPropertyNames={f:f$3},f$4=Object.getOwnPropertySymbols,objectGetOwnPropertySymbols={f:f$4},ownKeys=getBuiltIn("Reflect","ownKeys")||function(e){var t=objectGetOwnPropertyNames.f(anObject(e)),r=objectGetOwnPropertySymbols.f;return r?t.concat(r(e)):t},copyConstructorProperties=function(e,t){for(var r=ownKeys(t),o=objectDefineProperty.f,n=objectGetOwnPropertyDescriptor.f,i=0;ii;)objectDefineProperty.f(e,r=o[i++],t[r]);return e},html=getBuiltIn("document","documentElement"),IE_PROTO=sharedKey("IE_PROTO"),PROTOTYPE="prototype",Empty=function(){},createDict=function(){var e,t=documentCreateElement("iframe"),r=enumBugKeys.length;for(t.style.display="none",html.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("