diff --git a/examples/router/routes.js b/examples/router/routes.js index bfaaaa5..0505211 100644 --- a/examples/router/routes.js +++ b/examples/router/routes.js @@ -71,28 +71,28 @@ const _components = [ group: '方案组件', children: [ { - path: 'scheme-form', - name: 'scheme-form', - meta: { title: 'Scheme Form 表单' }, - component: () => import('@/views/docs/component/scheme-form.md'), + path: 'schema-form', + name: 'schema-form', + meta: { title: 'Schema Form 表单' }, + component: () => import('@/views/docs/component/schema-form.md'), }, { - path: 'scheme-filter', - name: 'scheme-filter', - meta: { title: 'Scheme Filter 筛选' }, - component: () => import('@/views/docs/component/scheme-filter.md'), + path: 'schema-filter', + name: 'schema-filter', + meta: { title: 'Schema Filter 筛选' }, + component: () => import('@/views/docs/component/schema-filter.md'), }, { - path: 'scheme-table', - name: 'scheme-table', - meta: { title: 'Scheme Table 表格' }, - component: () => import('@/views/docs/component/scheme-table.md'), + path: 'schema-table', + name: 'schema-table', + meta: { title: 'Schema Table 表格' }, + component: () => import('@/views/docs/component/schema-table.md'), }, { - path: 'scheme', - name: 'scheme', - meta: { title: 'Scheme 方案' }, - component: () => import('@/views/docs/component/scheme.md'), + path: 'schema', + name: 'schema', + meta: { title: 'Schema 方案' }, + component: () => import('@/views/docs/component/schema.md'), }, ], }, @@ -134,10 +134,22 @@ const _develops = [ group: '方案开发', children: [ { - path: 'scheme', - name: 'developScheme', - meta: { title: 'Scheme 方案' }, - component: () => import('@/views/docs/develop/scheme/scheme.md'), + path: 'schema-form', + name: 'developSchemaForm', + meta: { title: 'Schema Form 方案表单' }, + component: () => import('@/views/docs/develop/schema/schema-form.md'), + }, + { + path: 'schema-table', + name: 'developSchemaTable', + meta: { title: 'Schema Table 方案表格' }, + component: () => import('@/views/docs/develop/schema/schema-table.md'), + }, + { + path: 'schema-page', + name: 'developSchemaPage', + meta: { title: 'Schema Page 方案页面' }, + component: () => import('@/views/docs/develop/schema/schema-page.md'), }, ], }, diff --git a/examples/styles/index.scss b/examples/styles/index.scss index 0cfee9e..1a791c4 100644 --- a/examples/styles/index.scss +++ b/examples/styles/index.scss @@ -53,7 +53,7 @@ body { } } -.zee-scheme__view { +.zee-schema__view { .el-form-item { font-weight: normal !important; margin-bottom: 0 !important; diff --git a/examples/views/docs/component/schema-filter.md b/examples/views/docs/component/schema-filter.md new file mode 100644 index 0000000..74005d3 --- /dev/null +++ b/examples/views/docs/component/schema-filter.md @@ -0,0 +1,184 @@ +# Schema Filter 筛选 + +根据JSON Schema配置自动生成一个筛选条件表单 + +## 基础用法 + +配置`list`属性设置JSON Schema配置列表 + +::: snippet 通过`list`配置项目 + +```html + + + +``` + +::: + +## 自定义按钮 + +支持自定义按钮占位及按钮组件 + +::: snippet 配置`uncollapsedSpan`改变展开时操作区占位,默认值`24`;插槽`operation`自定义按钮内容; + +```html + + + +``` + +::: + +## 自定义数据项 + +支持自定义数据项,一般用于通过JSON Schema较难配置出的,较复杂的局部组件 + +::: snippet 插槽名与数据项`key`相同 + +```html + + + +``` + +::: + +## 展示数量 + +默认展示数量为`3`个,可以通过配置而改变 + +::: snippet 设置`visibleNum`改变默认展示数量的大小,`span`改变每一项的占位数量 + +```html + + + +``` + +::: + +## API + +## Attribute 属性 + +参数|说明|类型|可选值|默认值 +-|-|-|-|- +value | 值 | Object | - | {} +list | JSON Schema配置项列表 | Array | - | [] +labelWidth | 默认Label宽度 | String | 110px +size | 大小 | String | - | small +span | 占位 | Number | - | 24 +uncollapsedSpan | 展开时操作区占位 | Number | - | 24 +visibleNum | 折叠时可视项数量 | Number | - | 3 +loading | 加载状态 | Boolean | - | - +formProps | 默认el-form配置参数 | Object | - | {} +params | 自定义附加参数 | Object | - | - + +## Events 事件 + +事件名称|说明|回调参数 +-|-|- +input | 表单值变化 | model +search | 查询 | model +reset | 重置表单 | - \ No newline at end of file diff --git a/examples/views/docs/component/schema-form.md b/examples/views/docs/component/schema-form.md new file mode 100644 index 0000000..566a59d --- /dev/null +++ b/examples/views/docs/component/schema-form.md @@ -0,0 +1,280 @@ +# Form 表单 + +根据JSON Schema配置自动生成表单 + +## 基础用法 + +配置`list`属性设置JSON Schema配置列表 + +
+ +::: snippet `v-model`值动态改变,支持初始化 + +```html + + + +``` + +::: + +::: snippet `span`设置行占位 + +```html + + + +``` + +::: + +::: snippet `label-width`设置标题宽度 + +```html + + + +``` + +::: + +
+ +## 表单校验 + +配置`list`的配置项中的`rules` + +
+ +::: snippet `v-model`值动态改变,支持初始化 + +```html + + + +``` + +::: + +
+ +## 表单分组 + +将表单内容进行分组显示 + +::: snippet 表单配置项的`group`值设置分组 + +```html + + + +``` + +::: + +## 自定义渲染 + +对于一些特殊渲染逻辑的表单项,可以进行自定义渲染 + +
+ +::: snippet 通过`render`方法渲染 + +```html + + + +``` + +::: + +::: snippet 通过`slot`插槽渲染 + +```html + + + +``` + +::: + +
+ +## API + +## Attribute 属性 + +参数|说明|类型|可选值|默认值 +-|-|-|-|- +value | 值 | Object | - | - +list | JSON Schema配置项列表 | Array | - | [] +formClass | 表单class | String | - | - +titleClass | 标题class | String | - | - +contentClass | 内容class | String | - | - +itemClass | 表单项class | String | - | - +groupClass | 表单分组class | String | - | - +labelWidth | 表单项标题宽度 | String | - | - +labelPosition | 表单项标题位置 | String | - | top +size | 大小 | String | - | small +span | 占位 | Number | - | 24 + +## Events 事件 + +事件名称|说明|回调参数 +-|-|- +input | 表单值变化 | 表单model +validate | 校验表单 | 是否通过,表单model \ No newline at end of file diff --git a/examples/views/docs/component/schema-table.md b/examples/views/docs/component/schema-table.md new file mode 100644 index 0000000..f436981 --- /dev/null +++ b/examples/views/docs/component/schema-table.md @@ -0,0 +1,156 @@ +# Schema Table 表格 + +根据JSON Schema配置自动生成表格 + +## 基础用法 + +配置`list`属性设置JSON Schema配置列表 + +::: snippet `tableProps`设置表格参数 + +```html + + + +``` + +::: + +## 自定义渲染 + +配置`list`属性设置JSON Schema配置列表 + +
+ +::: snippet `render`函数式渲染 + +```html + + + +``` + +::: + +::: snippet `slot`插槽式渲染 + +```html + + + +``` + +::: + +
+ +## 层级分组 + +支持`group`分组,兼容form组件,使同一个schema能够同时复用在`table`、`form`上 + +::: snippet `group`设置分组,其中`key`设置分组对象名称 + +```html + + + +``` + +::: + +## API + +## Attribute 属性 + +参数|说明|类型|可选值|默认值 +-|-|-|-|- +value | 表格数据 | Array | - | - +list | JSON Schema配置项列表 | Array | - | [] +tableProps | 表格参数 | Object | - | - +tableEvents | 表格参数 | Object | - | - +minWidth | 列宽 | Number | - | - + +## Events 事件 + +事件名称|说明|回调参数 +-|-|- +selection | 表格选中 | 选中项 \ No newline at end of file diff --git a/examples/views/docs/component/schema.md b/examples/views/docs/component/schema.md new file mode 100644 index 0000000..457d7eb --- /dev/null +++ b/examples/views/docs/component/schema.md @@ -0,0 +1,155 @@ +# Schema 方案 + +根据JSON Schema配置自动生成一个包含搜索条件、表格、编辑表单、详情表单的页面 + +## 基础用法 + +通过配置`JSON Schema`快速生成CURD逻辑 + +::: snippet 通过`list`配置项目 + +```html + + + +``` + +::: + +## 内置接口逻辑 + +如果CURD的接口都是同一路径下,可以使用内置接口逻辑快速对接 + +::: snippet 通过`url`配置接口路径,`http`设置Promise形式的HTTP请求库 + +```html + + + +``` + +::: + +## API + +## Attribute 属性 + +参数|说明|类型|可选值|默认值 +-|-|-|-|- +list | JSON Schema配置项列表 | Array | - | [] diff --git a/examples/views/docs/component/scheme-filter.md b/examples/views/docs/component/scheme-filter.md deleted file mode 100644 index 9019635..0000000 --- a/examples/views/docs/component/scheme-filter.md +++ /dev/null @@ -1,184 +0,0 @@ -# Scheme Filter 筛选 - -根据JSON Scheme配置自动生成一个筛选条件表单 - -## 基础用法 - -配置`list`属性设置JSON Scheme配置列表 - -::: snippet 通过`list`配置项目 - -```html - - - -``` - -::: - -## 自定义按钮 - -支持自定义按钮占位及按钮组件 - -::: snippet 配置`uncollapsedSpan`改变展开时操作区占位,默认值`24`;插槽`operation`自定义按钮内容; - -```html - - - -``` - -::: - -## 自定义数据项 - -支持自定义数据项,一般用于通过JSON Scheme较难配置出的,较复杂的局部组件 - -::: snippet 插槽名与数据项`key`相同 - -```html - - - -``` - -::: - -## 展示数量 - -默认展示数量为`3`个,可以通过配置而改变 - -::: snippet 设置`visibleNum`改变默认展示数量的大小,`span`改变每一项的占位数量 - -```html - - - -``` - -::: - -## API - -## Attribute 属性 - -参数|说明|类型|可选值|默认值 --|-|-|-|- -value | 值 | Object | - | {} -list | JSON Scheme配置项列表 | Array | - | [] -labelWidth | 默认Label宽度 | String | 110px -size | 大小 | String | - | small -span | 占位 | Number | - | 24 -uncollapsedSpan | 展开时操作区占位 | Number | - | 24 -visibleNum | 折叠时可视项数量 | Number | - | 3 -loading | 加载状态 | Boolean | - | - -formProps | 默认el-form配置参数 | Object | - | {} -params | 自定义附加参数 | Object | - | - - -## Events 事件 - -事件名称|说明|回调参数 --|-|- -input | 表单值变化 | model -search | 查询 | model -reset | 重置表单 | - \ No newline at end of file diff --git a/examples/views/docs/component/scheme-form.md b/examples/views/docs/component/scheme-form.md deleted file mode 100644 index 6633435..0000000 --- a/examples/views/docs/component/scheme-form.md +++ /dev/null @@ -1,280 +0,0 @@ -# Form 表单 - -根据JSON Scheme配置自动生成表单 - -## 基础用法 - -配置`list`属性设置JSON Scheme配置列表 - -
- -::: snippet `v-model`值动态改变,支持初始化 - -```html - - - -``` - -::: - -::: snippet `span`设置行占位 - -```html - - - -``` - -::: - -::: snippet `label-width`设置标题宽度 - -```html - - - -``` - -::: - -
- -## 表单校验 - -配置`list`的配置项中的`rules` - -
- -::: snippet `v-model`值动态改变,支持初始化 - -```html - - - -``` - -::: - -
- -## 表单分组 - -将表单内容进行分组显示 - -::: snippet 表单配置项的`group`值设置分组 - -```html - - - -``` - -::: - -## 自定义渲染 - -对于一些特殊渲染逻辑的表单项,可以进行自定义渲染 - -
- -::: snippet 通过`render`方法渲染 - -```html - - - -``` - -::: - -::: snippet 通过`slot`插槽渲染 - -```html - - - -``` - -::: - -
- -## API - -## Attribute 属性 - -参数|说明|类型|可选值|默认值 --|-|-|-|- -value | 值 | Object | - | - -list | JSON Scheme配置项列表 | Array | - | [] -formClass | 表单class | String | - | - -titleClass | 标题class | String | - | - -contentClass | 内容class | String | - | - -itemClass | 表单项class | String | - | - -groupClass | 表单分组class | String | - | - -labelWidth | 表单项标题宽度 | String | - | - -labelPosition | 表单项标题位置 | String | - | top -size | 大小 | String | - | small -span | 占位 | Number | - | 24 - -## Events 事件 - -事件名称|说明|回调参数 --|-|- -input | 表单值变化 | 表单model -validate | 校验表单 | 是否通过,表单model \ No newline at end of file diff --git a/examples/views/docs/component/scheme-table.md b/examples/views/docs/component/scheme-table.md deleted file mode 100644 index 8358b51..0000000 --- a/examples/views/docs/component/scheme-table.md +++ /dev/null @@ -1,156 +0,0 @@ -# Scheme Table 表格 - -根据JSON Scheme配置自动生成表格 - -## 基础用法 - -配置`list`属性设置JSON Scheme配置列表 - -::: snippet `tableProps`设置表格参数 - -```html - - - -``` - -::: - -## 自定义渲染 - -配置`list`属性设置JSON Scheme配置列表 - -
- -::: snippet `render`函数式渲染 - -```html - - - -``` - -::: - -::: snippet `slot`插槽式渲染 - -```html - - - -``` - -::: - -
- -## 层级分组 - -支持`group`分组,兼容form组件,使同一个scheme能够同时复用在`table`、`form`上 - -::: snippet `group`设置分组,其中`key`设置分组对象名称 - -```html - - - -``` - -::: - -## API - -## Attribute 属性 - -参数|说明|类型|可选值|默认值 --|-|-|-|- -value | 表格数据 | Array | - | - -list | JSON Scheme配置项列表 | Array | - | [] -tableProps | 表格参数 | Object | - | - -tableEvents | 表格参数 | Object | - | - -minWidth | 列宽 | Number | - | - - -## Events 事件 - -事件名称|说明|回调参数 --|-|- -selection | 表格选中 | 选中项 \ No newline at end of file diff --git a/examples/views/docs/component/scheme.md b/examples/views/docs/component/scheme.md deleted file mode 100644 index 6ca93ec..0000000 --- a/examples/views/docs/component/scheme.md +++ /dev/null @@ -1,155 +0,0 @@ -# Scheme 方案 - -根据JSON Scheme配置自动生成一个包含搜索条件、表格、编辑表单、详情表单的页面 - -## 基础用法 - -通过配置`JSON Scheme`快速生成CURD逻辑 - -::: snippet 通过`list`配置项目 - -```html - - - -``` - -::: - -## 内置接口逻辑 - -如果CURD的接口都是同一路径下,可以使用内置接口逻辑快速对接 - -::: snippet 通过`url`配置接口路径,`http`设置Promise形式的HTTP请求库 - -```html - - - -``` - -::: - -## API - -## Attribute 属性 - -参数|说明|类型|可选值|默认值 --|-|-|-|- -list | JSON Scheme配置项列表 | Array | - | [] diff --git a/examples/views/docs/develop/schema/schema-form.md b/examples/views/docs/develop/schema/schema-form.md new file mode 100644 index 0000000..9bf9c18 --- /dev/null +++ b/examples/views/docs/develop/schema/schema-form.md @@ -0,0 +1,75 @@ +# Schema Form 方案表单 + +通过配置JSON Schema的方式快速生成一个表单 + +## 基础用法 + +::: snippet 预置了许多业务逻辑,避免重复维护相同的业务逻辑 + +```html + + + +``` + +::: \ No newline at end of file diff --git a/examples/views/docs/develop/schema/schema-page.md b/examples/views/docs/develop/schema/schema-page.md new file mode 100644 index 0000000..f76d90a --- /dev/null +++ b/examples/views/docs/develop/schema/schema-page.md @@ -0,0 +1,5 @@ +# Schema 方案开发 + +通过配置JSON Schema的方式快速生成一些业务组件 + +## 基础用法 \ No newline at end of file diff --git a/examples/views/docs/develop/schema/schema-table.md b/examples/views/docs/develop/schema/schema-table.md new file mode 100644 index 0000000..f76d90a --- /dev/null +++ b/examples/views/docs/develop/schema/schema-table.md @@ -0,0 +1,5 @@ +# Schema 方案开发 + +通过配置JSON Schema的方式快速生成一些业务组件 + +## 基础用法 \ No newline at end of file diff --git a/examples/views/docs/develop/scheme/scheme.md b/examples/views/docs/develop/scheme/scheme.md deleted file mode 100644 index 2dee97e..0000000 --- a/examples/views/docs/develop/scheme/scheme.md +++ /dev/null @@ -1,5 +0,0 @@ -# Scheme 方案开发 - -通过配置JSON Scheme的方式快速生成一些业务组件 - -## 基础用法 \ No newline at end of file diff --git a/lib/zee.css b/lib/zee.css index c5f3091..9cc4407 100644 --- a/lib/zee.css +++ b/lib/zee.css @@ -1 +1 @@ -.el-image-viewer__close{color:#fff;background-color:rgba(0,0,0,.1);-webkit-transition:background-color .3s;transition:background-color .3s}.el-image-viewer__close:hover{background-color:rgba(0,0,0,.8)}.el-image-viewer__actions,.el-image-viewer__next,.el-image-viewer__prev{background-color:rgba(0,0,0,.5);-webkit-transition:background-color .3s;transition:background-color .3s}.el-image-viewer__actions:hover,.el-image-viewer__next:hover,.el-image-viewer__prev:hover{background-color:rgba(0,0,0,.8)}.el-image-viewer__actions{cursor:auto!important}.el-image-viewer__actions-btn{cursor:pointer}.el-image-viewer__img{cursor:-webkit-grab;cursor:grab}.el-image-viewer__img:active{cursor:-webkit-grabbing;cursor:grabbing}.el-image-viewer__indicator{min-width:60px;text-align:center;font-size:14px}.zee-filter__item.hidden{display:none}.zee-filter__button-group{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:right}.zee-form__flex-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}.zee-form__group-title{font-weight:700;padding:15px 5px;border-bottom:1px solid #d9d9d9;margin-bottom:15px}.zee-form__group-content{margin:15px 0}.zee-form__footer{padding-top:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.zee-scheme__header{margin-bottom:10px}.zee-scheme__filter{border:1px solid #ebeef5;padding-top:10px;border-radius:4px;margin-bottom:10px}.zee-scheme__action{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;line-height:1}.zee-scheme__action .el-button+.el-button{margin-left:0}.zee-scheme__action .el-button{margin-right:10px;margin-bottom:10px}.zee-scheme__table-operation{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.zee-scheme__table-operation .el-button+.el-button{margin-left:0}.zee-scheme__table-operation .el-button{margin-right:10px;padding-top:6px;padding-bottom:6px}.zee-scheme__dialog-button{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-top:10px}.zee-scheme__dialog-button,.zee-scheme__footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.zee-scheme__footer{margin-top:10px;text-align:right;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.zee-scheme__footer .selection-info{word-break:break-all;white-space:nowrap;font-size:12px;color:#606266}.zee-scheme__footer .selection-info .num{color:#000;font-weight:700;padding:0 5px;font-size:16px}.zee-scheme__footer .selection-info .el-button{margin-left:5px}.zee-scheme__footer .el-pagination{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.zee-select .el-input__prefix{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.zee-select .el-input__prefix .el-icon-loading{font-size:16px}.zee-table{width:100%}.z-upload,.z-upload .el-upload-list.el-upload-list--picture-card{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.z-upload .el-upload-list__item-thumbnail--file{height:100%;width:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M176 160h304a472.432 472.432 0 0164 64l128 208a64 64 0 01-64 64H176a64 64 0 01-64-64V224a64 64 0 0164-64z' fill='%23A1CBFE'/%3E%3Cpath d='M176 288h688q64 0 64 64v432q0 64-64 64H176q-64 0-64-64V352q0-64 64-64z' fill='%234799FE'/%3E%3Cpath d='M336 688h368q32 0 32 32t-32 32H336q-32 0-32-32t32-32z' fill='%23FFF'/%3E%3Cpath d='M832 336h16q32 0 32 32v16q0 32-32 32h-16q-32 0-32-32v-16q0-32 32-32z' fill='%23A1CBFE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;background-size:60%}.z-upload .el-upload-list__item-thumbnail--file.word{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='81' height='81'%3E%3Cpath d='M665.6 0l256 256v716.8a51.2 51.2 0 01-51.2 51.2H153.6a51.2 51.2 0 01-51.2-51.2V51.2A51.2 51.2 0 01153.6 0zM284.16 360.96l94.72 330.24h56.32l64-248.32h2.56l64 248.32h56.32l94.72-330.24h-61.44l-61.44 250.88h-2.56l-64-250.88h-56.32L409.6 611.84h-2.56L345.6 360.96z' fill='%234E97FF'/%3E%3Cpath d='M665.6 0l256 256h-256z' fill='%23A4D2FF'/%3E%3C/svg%3E")}.z-upload .el-upload-list__item-thumbnail--file.excel{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='81' height='81'%3E%3Cpath d='M139.456 0c-8.896 0-22.24 4.48-35.616 13.344-13.344 8.928-13.344 26.72-13.344 35.616v921.6c0 13.376 4.48 26.72 13.344 35.648 13.376 13.344 26.72 17.792 35.616 17.792h752.448c13.344 0 26.688-4.48 35.616-13.344 8.896-8.928 8.896-22.272 8.896-35.616V289.376L651.488 0h-512z' fill='%235ACC9B'/%3E%3Cpath d='M936.416 289.376h-231.52c-13.344 0-26.72-4.448-35.616-13.344-8.896-8.896-13.344-22.272-13.344-35.616V0l280.48 289.376z' fill='%23BDEBD7'/%3E%3Cpath d='M477.824 538.72L362.08 378.432h80.128l75.712 115.776 80.128-115.776h75.68L557.984 538.72l124.64 173.632H598.08L517.952 587.68l-84.608 124.672h-80.16z' fill='%23FFF'/%3E%3C/svg%3E")}.z-upload .el-upload-list__item-thumbnail--file.ppt{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='81' height='81'%3E%3Cpath d='M880.085 1017.43h-736.17a58.539 58.539 0 01-58.582-58.283V58.283C85.333 26.368 111.445 0 143.915 0h513.024l281.728 288.768v670.379c0 32.298-26.112 58.282-58.582 58.282z' fill='%23FF9540'/%3E%3Cpath d='M644.437 0a15.36 15.36 0 00-1.152 6.059v229.888c0 32.554 27.179 59.434 60.928 59.434h234.454v-.384L645.632 0h-1.195z' fill='%23FFF' fill-opacity='.496'/%3E%3Cpath d='M511.403 573.355h-55.51v115.882h-75.178V361.045h137.898c80.086 2.219 121.6 36.608 124.63 103.894 1.152 72.149-42.667 108.373-131.84 108.373zm-6.016-154.368h-49.494v97.92h49.494c38.912-.768 58.922-17.195 60.074-48.982-1.152-31.744-21.162-47.829-60.074-48.938z' fill='%23FFF'/%3E%3C/svg%3E")}.z-upload .el-upload-list__item-thumbnail--file.pdf{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='81' height='81'%3E%3Cpath d='M136.533 0a49.12 49.12 0 00-35.84 15.36C91.307 25.6 85.333 38.4 85.333 51.2v921.6a49.12 49.12 0 0015.36 35.84 50.547 50.547 0 0035.84 15.36h750.933a49.12 49.12 0 0035.84-15.36 50.547 50.547 0 0015.36-35.84V290.133L648.533 0z' fill='%23FF5562'/%3E%3Cpath d='M938.666 290.133H699.733a52.493 52.493 0 01-51.2-51.2V0z' fill='%23FFBBC0'/%3E%3Cpath d='M708.266 865.333c-53.76 0-101.6-92.213-127.146-152-42.667-17.92-89.6-34.133-134.827-45.226-40.106 26.56-107.52 65.76-159.626 65.76-32.427 0-55.467-16.214-64-44.374-6.827-23.04-.854-39.253 5.973-47.786q20.48-28.16 84.48-28.16c34.133 0 77.653 5.973 126.293 17.92a762.026 762.026 0 0091.307-75.094c-12.8-59.733-26.453-156.16 8.533-200.533 17.067-21.333 43.52-28.16 75.094-18.773 34.986 10.24 47.786 31.573 52 47.786 14.506 58.027-52 136.534-97.334 182.667 10.24 40.107 23.04 81.92 39.254 120.32 65.066 28.96 141.813 71.627 150.4 118.56 3.413 16.213-1.707 31.573-14.507 44.373-11.094 9.333-23.04 14.507-35.84 14.507zm-79.36-129.706C661.334 801.333 692 832 708.267 832c2.56 0 5.974-.853 11.094-5.12 5.973-5.973 5.973-10.24 5.12-13.653-3.414-17.067-30.667-45.227-95.573-77.654zm-315.733-87.894c-41.813 0-53.76 10.24-57.173 14.507-.853 1.707-4.267 5.973-.853 17.92 2.56 10.24 9.333 20.48 31.573 20.48 27.307 0 66.56-15.36 112.64-42.667-33.333-6.826-62.293-10.24-86.187-10.24zm168.96-5.12a921.586 921.586 0 0181.92 27.307c-9.333-24.747-17.066-50.347-23.893-75.093-18.773 16.213-38.4 32.426-58.027 47.786zM588 366.933c-9.333 0-16.213 3.414-22.187 10.24-17.92 22.187-19.626 78.507-5.973 150.187 52-55.467 80.213-106.667 73.333-133.973-.853-4.267-4.266-16.214-28.16-23.04A46.413 46.413 0 00588 366.933z' fill='%23FFF'/%3E%3C/svg%3E")}.z-upload .el-upload-list__item-thumbnail--file.zip{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='81' height='81'%3E%3Cpath d='M61.156 685.511h910.222V921.6c0 28.444-24.178 52.622-52.622 52.622H113.778c-28.445 0-52.622-24.178-52.622-52.622V685.511z' fill='%2389D543'/%3E%3Cpath d='M61.156 352.711h910.222v332.8H61.156z' fill='%23FA6A68'/%3E%3Cpath d='M113.778 64h804.978c28.444 0 52.622 24.178 52.622 52.622v236.09H61.156v-236.09C61.156 88.178 85.333 64 113.778 64z' fill='%2360CEF8'/%3E%3Cpath d='M391.111 64H652.8v910.222H391.111z' fill='%23FDB84B'/%3E%3Cpath d='M760.889 442.311v-28.444H270.222v193.422H760.89V442.31zm-35.556 8.533v122.312H305.778V450.844h419.555z' fill='%23FFF'/%3E%3C/svg%3E")}.z-upload .el-upload-list__item-wrapper{position:relative;display:inline-block;margin-right:10px}.z-upload .el-upload-list__item{margin-right:0!important}.z-upload .corner-close{position:absolute;top:0;right:0;-webkit-transform:translateX(50%) translateY(-50%);transform:translateX(50%) translateY(-50%);height:30px;width:30px;min-width:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:rgba(248,107,115,.5);color:#fff;border-radius:50%;z-index:20;font-size:16px;cursor:pointer}.z-upload .corner-close:hover{background-color:#f5222d}.z-upload .el-upload--picture-card{line-height:1.5;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.z-upload .el-upload--picture-card,.z-upload .el-upload-list--picture-card .el-upload-list__item-actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.z-upload .el-upload-list--picture-card .el-upload-list__item-actions{-ms-flex-pack:distribute;justify-content:space-around}.z-upload .el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete,.z-upload .el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-preview{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.z-upload .el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:0}.z-upload .el-upload-list--picture-card .el-upload-list__item-actions:after{display:none}.z-upload .el-upload-list--picture-card .el-upload-list__item-actions .block-download,.z-upload .el-upload-list--picture-card .el-upload-list__item-actions .block-preview{height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.z-upload .el-upload-dragger{height:100%;width:100%;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:transparent}.z-upload .el-upload-dragger.is-dragover{border-color:transparent}.z-upload.mini .el-upload--picture-card,.z-upload.mini .el-upload-list--picture-card .el-upload-list__item{height:60px;width:60px}.z-upload.mini .el-upload--picture-card i{font-size:20px}.z-upload.mini .corner-close{height:20px;width:20px;min-width:20px;font-size:12px}.z-upload.small .el-upload--picture-card,.z-upload.small .el-upload-list--picture-card .el-upload-list__item{height:100px;width:100px}.z-upload.small .corner-close{height:24px;width:24px;min-width:24px;font-size:14px}.z-upload .el-upload-list--picture-card .el-upload-list__item-thumbnail{-o-object-fit:cover;object-fit:cover} \ No newline at end of file +.el-image-viewer__close{color:#fff;background-color:rgba(0,0,0,.1);-webkit-transition:background-color .3s;transition:background-color .3s}.el-image-viewer__close:hover{background-color:rgba(0,0,0,.8)}.el-image-viewer__actions,.el-image-viewer__next,.el-image-viewer__prev{background-color:rgba(0,0,0,.5);-webkit-transition:background-color .3s;transition:background-color .3s}.el-image-viewer__actions:hover,.el-image-viewer__next:hover,.el-image-viewer__prev:hover{background-color:rgba(0,0,0,.8)}.el-image-viewer__actions{cursor:auto!important}.el-image-viewer__actions-btn{cursor:pointer}.el-image-viewer__img{cursor:-webkit-grab;cursor:grab}.el-image-viewer__img:active{cursor:-webkit-grabbing;cursor:grabbing}.el-image-viewer__indicator{min-width:60px;text-align:center;font-size:14px}.zee-filter__item.hidden{display:none}.zee-filter__button-group{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:right}.zee-form__flex-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}.zee-form__group-title{font-weight:700;padding:15px 5px;border-bottom:1px solid #d9d9d9;margin-bottom:15px}.zee-form__group-content{margin:15px 0}.zee-form__footer{padding-top:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.zee-schema__header{margin-bottom:10px}.zee-schema__filter{border:1px solid #ebeef5;padding-top:10px;border-radius:4px;margin-bottom:10px}.zee-schema__action{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;line-height:1}.zee-schema__action .el-button+.el-button{margin-left:0}.zee-schema__action .el-button{margin-right:10px;margin-bottom:10px}.zee-schema__table-operation{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.zee-schema__table-operation .el-button+.el-button{margin-left:0}.zee-schema__table-operation .el-button{margin-right:10px;padding-top:6px;padding-bottom:6px}.zee-schema__dialog-button{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-top:10px}.zee-schema__dialog-button,.zee-schema__footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.zee-schema__footer{margin-top:10px;text-align:right;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.zee-schema__footer .selection-info{word-break:break-all;white-space:nowrap;font-size:12px;color:#606266}.zee-schema__footer .selection-info .num{color:#000;font-weight:700;padding:0 5px;font-size:16px}.zee-schema__footer .selection-info .el-button{margin-left:5px}.zee-schema__footer .el-pagination{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.zee-select .el-input__prefix{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.zee-select .el-input__prefix .el-icon-loading{font-size:16px}.zee-table{width:100%}.z-upload,.z-upload .el-upload-list.el-upload-list--picture-card{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.z-upload .el-upload-list__item-thumbnail--file{height:100%;width:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M176 160h304a472.432 472.432 0 0164 64l128 208a64 64 0 01-64 64H176a64 64 0 01-64-64V224a64 64 0 0164-64z' fill='%23A1CBFE'/%3E%3Cpath d='M176 288h688q64 0 64 64v432q0 64-64 64H176q-64 0-64-64V352q0-64 64-64z' fill='%234799FE'/%3E%3Cpath d='M336 688h368q32 0 32 32t-32 32H336q-32 0-32-32t32-32z' fill='%23FFF'/%3E%3Cpath d='M832 336h16q32 0 32 32v16q0 32-32 32h-16q-32 0-32-32v-16q0-32 32-32z' fill='%23A1CBFE'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:50%;background-size:60%}.z-upload .el-upload-list__item-thumbnail--file.word{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='81' height='81'%3E%3Cpath d='M665.6 0l256 256v716.8a51.2 51.2 0 01-51.2 51.2H153.6a51.2 51.2 0 01-51.2-51.2V51.2A51.2 51.2 0 01153.6 0zM284.16 360.96l94.72 330.24h56.32l64-248.32h2.56l64 248.32h56.32l94.72-330.24h-61.44l-61.44 250.88h-2.56l-64-250.88h-56.32L409.6 611.84h-2.56L345.6 360.96z' fill='%234E97FF'/%3E%3Cpath d='M665.6 0l256 256h-256z' fill='%23A4D2FF'/%3E%3C/svg%3E")}.z-upload .el-upload-list__item-thumbnail--file.excel{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='81' height='81'%3E%3Cpath d='M139.456 0c-8.896 0-22.24 4.48-35.616 13.344-13.344 8.928-13.344 26.72-13.344 35.616v921.6c0 13.376 4.48 26.72 13.344 35.648 13.376 13.344 26.72 17.792 35.616 17.792h752.448c13.344 0 26.688-4.48 35.616-13.344 8.896-8.928 8.896-22.272 8.896-35.616V289.376L651.488 0h-512z' fill='%235ACC9B'/%3E%3Cpath d='M936.416 289.376h-231.52c-13.344 0-26.72-4.448-35.616-13.344-8.896-8.896-13.344-22.272-13.344-35.616V0l280.48 289.376z' fill='%23BDEBD7'/%3E%3Cpath d='M477.824 538.72L362.08 378.432h80.128l75.712 115.776 80.128-115.776h75.68L557.984 538.72l124.64 173.632H598.08L517.952 587.68l-84.608 124.672h-80.16z' fill='%23FFF'/%3E%3C/svg%3E")}.z-upload .el-upload-list__item-thumbnail--file.ppt{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='81' height='81'%3E%3Cpath d='M880.085 1017.43h-736.17a58.539 58.539 0 01-58.582-58.283V58.283C85.333 26.368 111.445 0 143.915 0h513.024l281.728 288.768v670.379c0 32.298-26.112 58.282-58.582 58.282z' fill='%23FF9540'/%3E%3Cpath d='M644.437 0a15.36 15.36 0 00-1.152 6.059v229.888c0 32.554 27.179 59.434 60.928 59.434h234.454v-.384L645.632 0h-1.195z' fill='%23FFF' fill-opacity='.496'/%3E%3Cpath d='M511.403 573.355h-55.51v115.882h-75.178V361.045h137.898c80.086 2.219 121.6 36.608 124.63 103.894 1.152 72.149-42.667 108.373-131.84 108.373zm-6.016-154.368h-49.494v97.92h49.494c38.912-.768 58.922-17.195 60.074-48.982-1.152-31.744-21.162-47.829-60.074-48.938z' fill='%23FFF'/%3E%3C/svg%3E")}.z-upload .el-upload-list__item-thumbnail--file.pdf{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='81' height='81'%3E%3Cpath d='M136.533 0a49.12 49.12 0 00-35.84 15.36C91.307 25.6 85.333 38.4 85.333 51.2v921.6a49.12 49.12 0 0015.36 35.84 50.547 50.547 0 0035.84 15.36h750.933a49.12 49.12 0 0035.84-15.36 50.547 50.547 0 0015.36-35.84V290.133L648.533 0z' fill='%23FF5562'/%3E%3Cpath d='M938.666 290.133H699.733a52.493 52.493 0 01-51.2-51.2V0z' fill='%23FFBBC0'/%3E%3Cpath d='M708.266 865.333c-53.76 0-101.6-92.213-127.146-152-42.667-17.92-89.6-34.133-134.827-45.226-40.106 26.56-107.52 65.76-159.626 65.76-32.427 0-55.467-16.214-64-44.374-6.827-23.04-.854-39.253 5.973-47.786q20.48-28.16 84.48-28.16c34.133 0 77.653 5.973 126.293 17.92a762.026 762.026 0 0091.307-75.094c-12.8-59.733-26.453-156.16 8.533-200.533 17.067-21.333 43.52-28.16 75.094-18.773 34.986 10.24 47.786 31.573 52 47.786 14.506 58.027-52 136.534-97.334 182.667 10.24 40.107 23.04 81.92 39.254 120.32 65.066 28.96 141.813 71.627 150.4 118.56 3.413 16.213-1.707 31.573-14.507 44.373-11.094 9.333-23.04 14.507-35.84 14.507zm-79.36-129.706C661.334 801.333 692 832 708.267 832c2.56 0 5.974-.853 11.094-5.12 5.973-5.973 5.973-10.24 5.12-13.653-3.414-17.067-30.667-45.227-95.573-77.654zm-315.733-87.894c-41.813 0-53.76 10.24-57.173 14.507-.853 1.707-4.267 5.973-.853 17.92 2.56 10.24 9.333 20.48 31.573 20.48 27.307 0 66.56-15.36 112.64-42.667-33.333-6.826-62.293-10.24-86.187-10.24zm168.96-5.12a921.586 921.586 0 0181.92 27.307c-9.333-24.747-17.066-50.347-23.893-75.093-18.773 16.213-38.4 32.426-58.027 47.786zM588 366.933c-9.333 0-16.213 3.414-22.187 10.24-17.92 22.187-19.626 78.507-5.973 150.187 52-55.467 80.213-106.667 73.333-133.973-.853-4.267-4.266-16.214-28.16-23.04A46.413 46.413 0 00588 366.933z' fill='%23FFF'/%3E%3C/svg%3E")}.z-upload .el-upload-list__item-thumbnail--file.zip{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='81' height='81'%3E%3Cpath d='M61.156 685.511h910.222V921.6c0 28.444-24.178 52.622-52.622 52.622H113.778c-28.445 0-52.622-24.178-52.622-52.622V685.511z' fill='%2389D543'/%3E%3Cpath d='M61.156 352.711h910.222v332.8H61.156z' fill='%23FA6A68'/%3E%3Cpath d='M113.778 64h804.978c28.444 0 52.622 24.178 52.622 52.622v236.09H61.156v-236.09C61.156 88.178 85.333 64 113.778 64z' fill='%2360CEF8'/%3E%3Cpath d='M391.111 64H652.8v910.222H391.111z' fill='%23FDB84B'/%3E%3Cpath d='M760.889 442.311v-28.444H270.222v193.422H760.89V442.31zm-35.556 8.533v122.312H305.778V450.844h419.555z' fill='%23FFF'/%3E%3C/svg%3E")}.z-upload .el-upload-list__item-wrapper{position:relative;display:inline-block;margin-right:10px}.z-upload .el-upload-list__item{margin-right:0!important}.z-upload .corner-close{position:absolute;top:0;right:0;-webkit-transform:translateX(50%) translateY(-50%);transform:translateX(50%) translateY(-50%);height:30px;width:30px;min-width:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:rgba(248,107,115,.5);color:#fff;border-radius:50%;z-index:20;font-size:16px;cursor:pointer}.z-upload .corner-close:hover{background-color:#f5222d}.z-upload .el-upload--picture-card{line-height:1.5;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.z-upload .el-upload--picture-card,.z-upload .el-upload-list--picture-card .el-upload-list__item-actions{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.z-upload .el-upload-list--picture-card .el-upload-list__item-actions{-ms-flex-pack:distribute;justify-content:space-around}.z-upload .el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete,.z-upload .el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-preview{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.z-upload .el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:0}.z-upload .el-upload-list--picture-card .el-upload-list__item-actions:after{display:none}.z-upload .el-upload-list--picture-card .el-upload-list__item-actions .block-download,.z-upload .el-upload-list--picture-card .el-upload-list__item-actions .block-preview{height:100%;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer}.z-upload .el-upload-dragger{height:100%;width:100%;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:transparent}.z-upload .el-upload-dragger.is-dragover{border-color:transparent}.z-upload.mini .el-upload--picture-card,.z-upload.mini .el-upload-list--picture-card .el-upload-list__item{height:60px;width:60px}.z-upload.mini .el-upload--picture-card i{font-size:20px}.z-upload.mini .corner-close{height:20px;width:20px;min-width:20px;font-size:12px}.z-upload.small .el-upload--picture-card,.z-upload.small .el-upload-list--picture-card .el-upload-list__item{height:100px;width:100px}.z-upload.small .corner-close{height:24px;width:24px;min-width:24px;font-size:14px}.z-upload .el-upload-list--picture-card .el-upload-list__item-thumbnail{-o-object-fit:cover;object-fit:cover} \ No newline at end of file diff --git a/lib/zee.js b/lib/zee.js index 14233f8..79572d0 100644 --- a/lib/zee.js +++ b/lib/zee.js @@ -1 +1 @@ -(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["zee"]=e(require("vue")):t["zee"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return i(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?c(t):i(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),c=n("c04e"),s=n("5135"),l=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(t,e){if(t=a(t),e=c(e,!0),l)try{return u(t,e)}catch(n){}if(s(t,e))return o(!i.f.call(t,e),t[e])}},"07ac":function(t,e,n){var r=n("23e7"),i=n("6f53").values;r({target:"Object",stat:!0},{values:function(t){return i(t)}})},"0a36":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-form",t._b({ref:"form",staticClass:"zee-form",class:t.formClass,attrs:{size:t.size,model:t.formModel,"label-width":t.labelWidth,"label-position":t.labelPosition||t.labelWidth?"right":"top"}},"el-form",t.formProps,!1),[n("form-render",{attrs:{"title-class":t.titleClass,"content-class":t.contentClass,"item-class":t.itemClass,"col-class":t.colClass,"group-class":t.groupClass,list:t.formList,value:t.model,model:t.model,span:t.span,type:t.type,params:t.params},on:{"item-change":t.onItemChange,"form-item-change":t.onFormItemChange,"item-update":t.onItemUpdate}},[t._l(t.slotKeys,(function(e){return t._t(e,null,{slot:e})}))],2),t.$scopedSlots.footer?n("div",{staticClass:"zee-form__footer"},[t._t("footer",null,{size:t.size,validate:t.validate,reset:t.reset,model:t.model})],2):t._e()],1)},i=[],o=(n("99af"),n("4160"),n("d81d"),n("a9e3"),n("4fad"),n("b64b"),n("d3b7"),n("e6cf"),n("159b"),n("5530")),a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.rowComponent,{tag:"component",staticClass:"zee-form__flex-wrap"},[t._l(t.list,(function(e,r){return[e.group&&e.list?n(t.colComponent,{key:r,tag:"component",class:t.colClassRender(e,r,t.colClass),style:{width:"div"===t.type?"100%":void 0},attrs:{span:"div"===t.type?void 0:e.group.span||24}},[n(t.rowComponent,{tag:"component",staticClass:"zee-form__flex-wrap",class:t.groupClass||"zee-form__group"},[e.group.title?n(t.rowComponent,{tag:"component",class:t.titleClass||"zee-form__group-title",staticStyle:{width:"100%"}},[t._v(" "+t._s(e.group.title||e.group)+" ")]):t._e(),n("form-render",{class:t.contentClass||"zee-form__group-content",attrs:{"title-class":t.titleClass,"item-class":t.itemClass,"content-class":t.contentClass,"group-class":t.groupClass,list:e.list,value:t.value,model:t.itemKey?t.model[t.itemKey]||{}:t.model,itemKey:e.group.key,type:t.type,span:"div"===t.type?void 0:t.span*(24/(e.group.span||24))},on:{"item-change":t.onItemChange,"form-item-change":t.onFormItemChange,"item-update":t.onItemUpdate}})],1)],1):[t.bindItemVisible(e,"visible")?n(t.colComponent,{directives:[{name:"show",rawName:"v-show",value:t.bindItemVisible(e,"show"),expression:"bindItemVisible(item, 'show')"}],key:r,tag:"component",class:t.colClassRender(e,r,t.colClass),style:{width:"div"===t.type&&e.style&&e.style.width.includes("%")?e.style.width:void 0,paddingRight:"10px"},attrs:{span:"div"===t.type?void 0:e.span||t.span}},[n("el-form-item",{class:t.itemClass||"zee-form__item",attrs:{label:e.label,"label-width":e.labelWidth,prop:e.fullKey,rules:t._f("bindItemRulesFilter")(e,t.model)}},[t.$scopedSlots[e.fullKey]?t._t(e.fullKey,null,{value:t.itemValue(e),model1:t.value}):["function"===typeof e.type?n("dynamic-render",{attrs:{render:e.type(t.$createElement,{model:t.value,config:{props:Object.assign({},t.propsFormatter(e.props),{value:t.itemValue(e)}),style:e.style||{width:"100%"},on:Object.assign({},t.bindItemEvent(e),{input:function(n){return t.onInput({value:n,item:e})}})}})}}):n(e.type,t._g(t._b({tag:"component",style:e.style||{width:"100%"},attrs:{value:t.itemValue(e)},on:{input:function(n){return t.onInput({value:n,item:e})}}},"component",t.propsFormatter(e.props),!1),t.bindItemEvent(e)))]],2)],1):t._e()]]}))],2)},c=[],s=n("ade3"),l={functional:!0,render:function(t,e){return e.props.render}},u={name:"FormRender",components:{DynamicRender:l},props:{list:Array,model:Object,value:Object,itemKey:String,titleClass:String,contentClass:String,itemClass:String,colClass:[String,Function],groupClass:String,type:String,span:Number,params:Object},computed:{rowComponent:function(){return"div"===this.type?"div":"el-row"},colComponent:function(){return"div"===this.type?"div":"el-col"}},filters:{bindItemRulesFilter:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return t.rules?"function"===typeof t.rules?t.rules(e):t.rules:void 0}},methods:{colClassRender:function(t,e,n){return n instanceof Function?n(t,e):n},itemValue:function(t){if(this.itemKey){var e=this.model[this.itemKey]||{};return e[t.key]}return this.model[t.key]},onInput:function(t){var e=t.value,n=t.item;this.itemKey?this.$emit("item-change",Object(s["a"])({},this.itemKey,Object(o["a"])(Object(o["a"])({},this.model[this.itemKey]),{},Object(s["a"])({},n.key,e)))):this.$emit("item-change",Object(s["a"])({},n.key,e)),this.$emit("form-item-change",Object(s["a"])({},n.fullKey,e))},onItemChange:function(t){this.itemKey?this.$emit("item-change",Object(s["a"])({},this.itemKey,Object(o["a"])(Object(o["a"])({},this.model[this.itemKey]),t))):this.$emit("item-change",t)},onFormItemChange:function(t){this.$emit("form-item-change",t)},onItemUpdate:function(t){this.$emit("item-update",t)},bindItemEvent:function(t){var e=this;return t.on?"function"===typeof t.on?t.on({model:this.value,update:function(t){return e.$emit("item-update",t)}}):t.on:void 0},bindItemVisible:function(t,e){var n=t[e];return"function"===typeof n?n(this.model,this.params||{}):!1!==t[e]},propsFormatter:function(t){return"function"===typeof t?t(this.model,this.params||{}):t||{}}}},f=u,d=n("2877"),p=Object(d["a"])(f,a,c,!1,null,null,null),h=p.exports,v=n("0d12"),m={name:"Form",components:{FormRender:h},props:{value:Object,list:Array,formClass:String,titleClass:String,contentClass:String,itemClass:String,colClass:[String,Function],groupClass:String,labelWidth:String,labelPosition:String,type:String,size:{type:String,default:"small"},span:{type:Number,default:24},formProps:{type:Object,default:function(){return{}}},params:Object},data:function(){return{model:{},formModel:{},formList:[]}},computed:{slotKeys:function(){return Object.keys(this.$scopedSlots)}},watch:{value:{handler:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.model=t,this.setFormModel(t)},immediate:!0},list:{handler:function(t){var e=Object(v["a"])(this.list),n=function t(e,n){e.forEach((function(e){e.group&&e.list?(e.group.key?e.fullKey="".concat(n?"".concat(n,"-").concat(e.group.key):e.group.key):e.fullKey=n||e.key,t(e.list,e.fullKey)):e.fullKey="".concat(n?"".concat(n,"-").concat(e.key):e.key)}))};n(e),this.formList=e},immediate:!0}},methods:{handleInput:function(t){console.log(t)},onItemChange:function(t){this.$emit("input",Object(o["a"])(Object(o["a"])({},this.model),t))},onFormItemChange:function(t){this.formModel=Object(o["a"])(Object(o["a"])({},this.formModel),t)},validate:function(t){var e=this;return new Promise((function(n){e.$refs.form.validate((function(r){return t&&t(r),e.$emit("validate",r,e.model),n(r)}))}))},reset:function(){this.$refs.form.clearValidate(),this.$emit("reset")},setFormModel:function(t){var e={},n=function t(n,r){n.forEach((function(n){n.fullKey="".concat(r?"".concat(r,"-").concat(n.key):n.key),n.value instanceof Object?t(Object.keys(n.value).map((function(t){return{key:t,value:n.value[t]}})),n.fullKey):e[n.fullKey]=n.value}))};n(Object.keys(t).map((function(e){return{key:e,value:t[e]}}))),this.formModel=e},onItemUpdate:function(t){var e=this;this.$nextTick((function(){var n=Object(v["a"])(e.model);Object.entries(t).forEach((function(t){Object(v["c"])(n,t[0],t[1])})),e.$emit("input",n)}))}}},g=m,b=(n("c631"),Object(d["a"])(g,r,i,!1,null,null,null));e["default"]=b.exports},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d12":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a}));n("4de4"),n("13d5"),n("a9e3"),n("4d63"),n("ac1f"),n("25f0"),n("1276");var r=n("53ca"),i=function t(e){if("object"!==Object(r["a"])(e))return e;if(!e)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(e instanceof Function)return e;var n;if(e instanceof Array){n=[];for(var i=0,o=e.length;i0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},1276:function(t,e,n){"use strict";var r=n("d784"),i=n("44e7"),o=n("825a"),a=n("1d80"),c=n("4840"),s=n("8aa5"),l=n("50c4"),u=n("14c3"),f=n("9263"),d=n("d039"),p=[].push,h=Math.min,v=4294967295,m=!d((function(){return!RegExp(v,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),o=void 0===n?v:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,o);var c,s,l,u=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,m=new RegExp(t.source,d+"g");while(c=f.call(m,r)){if(s=m.lastIndex,s>h&&(u.push(r.slice(h,c.index)),c.length>1&&c.index=o))break;m.lastIndex===c.index&&m.lastIndex++}return h===r.length?!l&&m.test("")||u.push(""):u.push(r.slice(h)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=a(this),o=void 0==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var a=n(r,t,this,i,r!==e);if(a.done)return a.value;var f=o(t),d=String(this),p=c(f,RegExp),g=f.unicode,b=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(m?"y":"g"),y=new p(m?f:"^(?:"+f.source+")",b),w=void 0===i?v:i>>>0;if(0===w)return[];if(0===d.length)return null===u(y,d)?[d]:[];var x=0,_=0,S=[];while(_1?arguments[1]:void 0)}})},"142b":function(t,e,n){t.exports={primary:"#f39800",blue:"#2f54eb","blue-light":"#69c0ff","blue-hover":"#e6f7ff",red:"#f5222d",green:"#26aa58","green-light":"#5edd8e",orange:"#ff9852",gray:"#343434",grey:"#8c8c8c",purple:"#722ed1",cyan:"#13c2c2",black:"#000",text:"#314659",border:"#e8e8e8","border-light":"rgba(232,232,232,.2)",background:"#fff"}},"14c3":function(t,e,n){var r=n("c6b6"),i=n("9263");t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"159b":function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("17c2"),a=n("9112");for(var c in i){var s=r[c],l=s&&s.prototype;if(l&&l.forEach!==o)try{a(l,"forEach",o)}catch(u){l.forEach=o}}},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=n("ae40"),a=i("forEach"),c=o("forEach");t.exports=a&&c?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var r=n("b622"),i=r("iterator"),o=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){o=!0}};c[i]=function(){return this},Array.from(c,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(s){}return n}},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("2d00"),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[],n=e.constructor={};return n[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var r=n("825a"),i=n("e95a"),o=n("50c4"),a=n("0366"),c=n("35a1"),s=n("9bdd"),l=function(t,e){this.stopped=t,this.result=e},u=t.exports=function(t,e,n,u,f){var d,p,h,v,m,g,b,y=a(e,n,u?2:1);if(f)d=t;else{if(p=c(t),"function"!=typeof p)throw TypeError("Target is not iterable");if(i(p)){for(h=0,v=o(t.length);v>h;h++)if(m=u?y(r(b=t[h])[0],b[1]):y(t[h]),m&&m instanceof l)return m;return new l(!1)}d=p.call(t)}g=d.next;while(!(b=g.call(d)).done)if(m=s(d,y,b.value,u),"object"==typeof m&&m&&m instanceof l)return m;return new l(!1)};u.stop=function(t){return new l(!0,t)}},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),c=n("ce4e"),s=n("e893"),l=n("94ca");t.exports=function(t,e){var n,u,f,d,p,h,v=t.target,m=t.global,g=t.stat;if(u=m?r:g?r[v]||c(v,{}):(r[v]||{}).prototype,u)for(f in e){if(p=e[f],t.noTargetGet?(h=i(u,f),d=h&&h.value):d=u[f],n=l(m?f:v+(g?".":"#")+f,t.forced),!n&&void 0!==d){if(typeof p===typeof d)continue;s(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),a(u,f,p,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},2532:function(t,e,n){"use strict";var r=n("23e7"),i=n("5a34"),o=n("1d80"),a=n("ab13");r({target:"String",proto:!0,forced:!a("includes")},{includes:function(t){return!!~String(o(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),i=n("825a"),o=n("d039"),a=n("ad6d"),c="toString",s=RegExp.prototype,l=s[c],u=o((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),f=l.name!=c;(u||f)&&r(RegExp.prototype,c,(function(){var t=i(this),e=String(t.source),n=t.flags,r=String(void 0===n&&t instanceof RegExp&&!("flags"in s)?a.call(t):n);return"/"+e+"/"+r}),{unsafe:!0})},2626:function(t,e,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),c=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[c]&&n(e,c,{configurable:!0,get:function(){return this}})}},2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,c){var s,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(s=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=s):i&&(s=c?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(l.functional){l._injectStyles=s;var u=l.render;l.render=function(t,e){return s.call(e),u(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,s):[s]}return{exports:t,options:l}}n.d(e,"a",(function(){return r}))},2909:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nn)e.push(arguments[n++]);return w[++y]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(y),y},v=function(t){delete w[t]},"process"==s(m)?r=function(t){m.nextTick(S(t))}:b&&b.now?r=function(t){b.now(S(t))}:g&&!d?(i=new g,o=i.port2,i.port1.onmessage=O,r=l(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(j)||"file:"===p.protocol?r=x in f("script")?function(t){u.appendChild(f("script"))[x]=function(){u.removeChild(this),_(t)}}:function(t){setTimeout(S(t),0)}:(r=j,a.addEventListener("message",O,!1))),t.exports={set:h,clear:v}},"2d00":function(t,e,n){var r,i,o=n("da84"),a=n("342f"),c=o.process,s=c&&c.versions,l=s&&s.v8;l?(r=l.split("."),i=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),t.exports=i&&+i},"32e7":function(t,e,n){t.exports={primary:"#f39800",blue:"#2f54eb","blue-light":"#69c0ff","blue-hover":"#e6f7ff",red:"#f5222d",green:"#26aa58","green-light":"#5edd8e",orange:"#ff9852",gray:"#343434",grey:"#8c8c8c",purple:"#722ed1",cyan:"#13c2c2",black:"#000",text:"#314659",border:"#e8e8e8","border-light":"rgba(232,232,232,.2)",background:"#fff"}},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),a=o("iterator");t.exports=function(t){if(void 0!=t)return t[a]||t["@@iterator"]||i[r(t)]}},3782:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("z-form",{staticClass:"zee-filter",attrs:{list:t.formattedList,span:t.span,labelWidth:t.labelWidth,colClass:t.colVisibleRender,size:t.size,formProps:t.formProps,params:t.params},model:{value:t.model,callback:function(e){t.model=e},expression:"model"}},[t._l(t.slotKeys,(function(e){return["operation"===e?[t._t(e,null,{slot:e},{size:t.size,handleSearch:t.handleSearch,handleReset:t.handleReset,handleCollapse:t.handleCollapse,showCollapsed:t.showCollapsed,collapsed:t.collapsed,loading:t.loading})]:t._t(e,null,{slot:e})]})),t.slotKeys.includes("operation")?t._e():n("div",{staticClass:"zee-filter__button-group",attrs:{slot:"operation"},slot:"operation"},[n("el-button-group",{attrs:{size:t.size}},[n("el-button",{attrs:{type:"primary",loading:t.loading,icon:"el-icon-search"},on:{click:t.handleSearch}},[n("span",[t._v("查询")])]),n("el-button",{on:{click:t.handleReset}},[n("span",[t._v("重置")])]),t.showCollapsed?n("el-button",{on:{click:t.handleCollapse}},[n("span",[t._v(t._s(t.collapsed?"展开":"收起"))])]):t._e()],1)],1)],2)},i=[],o=(n("99af"),n("a9e3"),n("b64b"),n("2909")),a={name:"Filter",props:{value:Object,list:Array,labelWidth:{type:String,default:"110px"},size:{type:String,default:"small"},span:{type:Number,default:6},collapsedSpan:{type:Number,default:6},uncollapsedSpan:{type:Number,default:24},visibleNum:{type:Number,default:3},loading:Boolean,formProps:{type:Object,default:function(){return{}}},params:Object},data:function(){return{collapsed:!0,model:this.value||{}}},watch:{value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.model=t},model:function(t){this.$emit("input",t)}},computed:{formattedList:function(){return[].concat(Object(o["a"])(this.list),[{key:"operation",label:"",labelWidth:"0px",span:this.collapsed?this.collapsedSpan:this.uncollapsedSpan}])},showCollapsed:function(){var t=this.list,e=this.visibleNum;return t.length>e},slotKeys:function(){return Object.keys(this.$scopedSlots)}},methods:{colVisibleRender:function(t,e){if(this.collapsed){var n=this.visibleNum?this.visibleNum-1:2;return e>n&&es)i.f(t,n=r[s++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),a="String Iterator",c=i.set,s=i.getterFor(a);o(String,"String",(function(t){c(this,{type:a,string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"408a":function(t,e,n){var r=n("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},4160:function(t,e,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),i=n("c6b6"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),c=Array.prototype;void 0==c[a]&&o.f(c,a,{configurable:!0,value:i(null)}),t.exports=function(t){c[a][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),a=o("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==i(t))}},"45fc":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").some,o=n("a640"),a=n("ae40"),c=o("some"),s=a("some");r({target:"Array",proto:!0,forced:!c||!s},{some:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"466d":function(t,e,n){"use strict";var r=n("d784"),i=n("825a"),o=n("50c4"),a=n("1d80"),c=n("8aa5"),s=n("14c3");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=void 0==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=i(t),l=String(this);if(!a.global)return s(a,l);var u=a.unicode;a.lastIndex=0;var f,d=[],p=0;while(null!==(f=s(a,l))){var h=String(f[0]);d[p]=h,""===h&&(a.lastIndex=c(l,o(a.lastIndex),u)),p++}return 0===p?null:d}]}))},4840:function(t,e,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),a=o("species");t.exports=function(t,e){var n,o=r(t).constructor;return void 0===o||void 0==(n=r(o)[a])?e:i(n)}},4930:function(t,e,n){var r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"498a":function(t,e,n){"use strict";var r=n("23e7"),i=n("58a8").trim,o=n("c8d2");r({target:"String",proto:!0,forced:o("trim")},{trim:function(){return i(this)}})},"4d63":function(t,e,n){var r=n("83ab"),i=n("da84"),o=n("94ca"),a=n("7156"),c=n("9bf2").f,s=n("241c").f,l=n("44e7"),u=n("ad6d"),f=n("9f7f"),d=n("6eeb"),p=n("d039"),h=n("69f3").set,v=n("2626"),m=n("b622"),g=m("match"),b=i.RegExp,y=b.prototype,w=/a/g,x=/a/g,_=new b(w)!==w,S=f.UNSUPPORTED_Y,O=r&&o("RegExp",!_||S||p((function(){return x[g]=!1,b(w)!=w||b(x)==x||"/a/i"!=b(w,"i")})));if(O){var j=function(t,e){var n,r=this instanceof j,i=l(t),o=void 0===e;if(!r&&i&&t.constructor===j&&o)return t;_?i&&!o&&(t=t.source):t instanceof j&&(o&&(e=u.call(t)),t=t.source),S&&(n=!!e&&e.indexOf("y")>-1,n&&(e=e.replace(/y/g,"")));var c=a(_?new b(t,e):b(t,e),r?this:y,j);return S&&n&&h(c,{sticky:n}),c},E=function(t){t in j||c(j,t,{configurable:!0,get:function(){return b[t]},set:function(e){b[t]=e}})},C=s(b),k=0;while(C.length>k)E(C[k++]);y.constructor=j,j.prototype=y,d(i,"RegExp",j)}v("RegExp")},"4d64":function(t,e,n){var r=n("fc6a"),i=n("50c4"),o=n("23cb"),a=function(t){return function(e,n,a){var c,s=r(e),l=i(s.length),u=o(a,l);if(t&&n!=n){while(l>u)if(c=s[u++],c!=c)return!0}else for(;l>u;u++)if((t||u in s)&&s[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").filter,o=n("1dde"),a=n("ae40"),c=o("filter"),s=a("filter");r({target:"Array",proto:!0,forced:!c||!s},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("0366"),i=n("7b0b"),o=n("9bdd"),a=n("e95a"),c=n("50c4"),s=n("8418"),l=n("35a1");t.exports=function(t){var e,n,u,f,d,p,h=i(t),v="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,b=void 0!==g,y=l(h),w=0;if(b&&(g=r(g,m>2?arguments[2]:void 0,2)),void 0==y||v==Array&&a(y))for(e=c(h.length),n=new v(e);e>w;w++)p=b?g(h[w],w):h[w],s(n,w,p);else for(f=y.call(h),d=f.next,n=new v;!(u=d.call(f)).done;w++)p=b?o(f,g,[u.value,w],!0):u.value,s(n,w,p);return n.length=w,n}},"4fad":function(t,e,n){var r=n("23e7"),i=n("6f53").entries;r({target:"Object",stat:!0},{entries:function(t){return i(t)}})},"50c4":function(t,e,n){var r=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5265:function(t,e,n){t.exports={primary:"#f39800",blue:"#2f54eb","blue-light":"#69c0ff","blue-hover":"#e6f7ff",red:"#f5222d",green:"#26aa58","green-light":"#5edd8e",orange:"#ff9852",gray:"#343434",grey:"#8c8c8c",purple:"#722ed1",cyan:"#13c2c2",black:"#000",text:"#314659",border:"#e8e8e8","border-light":"rgba(232,232,232,.2)",background:"#fff"}},5319:function(t,e,n){"use strict";var r=n("d784"),i=n("825a"),o=n("7b0b"),a=n("50c4"),c=n("a691"),s=n("1d80"),l=n("8aa5"),u=n("14c3"),f=Math.max,d=Math.min,p=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g,m=function(t){return void 0===t?t:String(t)};r("replace",2,(function(t,e,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,b=r.REPLACE_KEEPS_$0,y=g?"$":"$0";return[function(n,r){var i=s(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!g&&b||"string"===typeof r&&-1===r.indexOf(y)){var o=n(e,t,this,r);if(o.done)return o.value}var s=i(t),p=String(this),h="function"===typeof r;h||(r=String(r));var v=s.global;if(v){var x=s.unicode;s.lastIndex=0}var _=[];while(1){var S=u(s,p);if(null===S)break;if(_.push(S),!v)break;var O=String(S[0]);""===O&&(s.lastIndex=l(p,a(s.lastIndex),x))}for(var j="",E=0,C=0;C<_.length;C++){S=_[C];for(var k=String(S[0]),I=f(d(c(S.index),p.length),0),A=[],P=1;P=E&&(j+=p.slice(E,I)+$,E=I+k.length)}return j+p.slice(E)}];function w(t,n,r,i,a,c){var s=r+t.length,l=i.length,u=v;return void 0!==a&&(a=o(a),u=h),e.call(c,u,(function(e,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":c=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return e;if(u>l){var f=p(u/10);return 0===f?e:f<=l?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):e}c=i[u-1]}return void 0===c?"":c}))}}))},"53aa":function(t,e,n){"use strict";var r=n("5a90"),i=n.n(r);i.a},"53ca":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("a4d3"),n("e01a"),n("d28b"),n("e260"),n("d3b7"),n("3ca3"),n("ddb0");function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}},5423:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-table",t._g(t._b({ref:"table",staticClass:"zee-table",attrs:{data:t.tableData},on:{select:t.onSelect,"select-all":t.onSelectAll,"selection-change":t.onSelectionChange}},"el-table",Object.assign({},{size:t.size},t.tableProps),!1),t.tableEvents),[t._t("default"),t.tableList&&t.tableList.length>0?[t._l(t.tableList,(function(e,r){return[t.bindItemVisible(e.visible)?[t.$scopedSlots[e.keyPath.join("-")]?t._t(e.keyPath.join("-"),null,null,e):n("el-table-column",t._b({key:r,attrs:{prop:e.fullKey||e.key,"min-width":t.minWidth||e.minWidth||e["min-width"]},scopedSlots:t._u([{key:"default",fn:function(r){var i=r.row,o=r.column,a=r.$index;return[n("cell-render",{attrs:{row:i,item:e}},[t.$scopedSlots["value-"+e.keyPath.join("-")]?t._t("value-"+e.keyPath.join("-"),null,{row:i,value:t.$_get(i,e.fullKey),column:o,index:a},e):e.render?n("cell-value-render",{attrs:{row:i,column:o,index:a,item:e}}):t._e()],2)]}}],null,!0)},"el-table-column",Object.assign({},e,{type:void 0}),!1))]:t._e()]}))]:t._e(),t._t("column-append"),t._t("column-end")],2)},i=[],o=(n("99af"),n("7db0"),n("4160"),n("a9e3"),n("ac1f"),n("1276"),n("159b"),n("5530")),a=n("0d12"),c={props:{row:Object,column:Object,index:[Number,String],item:Object},render:function(t){var e=this.row,n=this.column,r=this.index,i=this.item;return"function"===typeof i.render?i.render(t,{row:e,value:Object(a["b"])(e,i.fullKey),$index:r,column:n}):i.render.children instanceof Function?t(i.render.type,{props:i.render.props,attrs:i.render.props,style:i.render.style},i.render.children({row:e,value:Object(a["b"])(e,i.fullKey),$index:r,column:n})):t(i.render.type,{props:i.render.props,attrs:i.render.props,style:i.render.style},i.render.children||Object(a["b"])(e,i.fullKey))}},s={name:"Table",components:{CellRender:{props:{row:Object,item:Object},render:function(t){return this.$scopedSlots.default?t("span",this.$scopedSlots.default()):t("span",Object(a["b"])(this.row,this.item.agentKey||this.item.fullKey))}},CellValueRender:c},props:{value:Array,list:{type:Array,required:!0},tableProps:{type:Object,default:function(){return{}}},tableEvents:Object,minWidth:Number,size:{type:String,default:"small"}},data:function(){return{tableList:[],tableData:[]}},computed:{instance:{get:function(){return this.$refs.table}}},watch:{value:{handler:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.tableData=t},immediate:!0},list:{handler:function(t){var e=Object(a["a"])(this.list),n=function t(e,n){e.forEach((function(e){e.group&&e.list?(e.group.key?e.fullKey="".concat(n?"".concat(n,".").concat(e.group.key):e.group.key):e.fullKey=n||e.key,t(e.list,e.fullKey)):e.fullKey="".concat(n?"".concat(n,".").concat(e.key):e.key)}))};n(e);var r=[],i=function t(e){e.forEach((function(e){e.group&&e.list?t(e.list):e.group||e.list||r.push(Object(o["a"])(Object(o["a"])({},e),{},{keyPath:e.fullKey.split(".")}))}))};i(e),this.tableList=r},immediate:!0}},methods:{$_get:a["b"],bindItemVisible:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=t;return"function"===typeof t&&(e=t(this.tableData)),e},onSelect:function(t,e){t.find((function(t){return t.id===e.id}))?this.$emit("selection-change",[e],"check"):this.$emit("selection-change",[e],"uncheck")},onSelectAll:function(t){t&&t.length>0?this.$emit("selection-change",t,"check"):this.$emit("selection-change",this.tableData,"uncheck")},onSelectionChange:function(t){this.$emit("selection",t)},toggleRowSelection:function(t,e){this.$refs.table&&this.$refs.table.toggleRowSelection(t,e)},clearSelection:function(){this.$refs.table&&this.$refs.table.clearSelection()}}},l=s,u=(n("8ffb"),n("2877")),f=Object(u["a"])(l,r,i,!1,null,null,null);e["default"]=f.exports},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n("a4d3"),n("4de4"),n("4160"),n("e439"),n("dbb4"),n("b64b"),n("159b");var r=n("ade3");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;eu){var p,h=l(arguments[u++]),v=f?o(h).concat(f(h)):o(h),m=v.length,g=0;while(m>g)p=v[g++],r&&!d.call(h,p)||(n[p]=h[p])}return n}:u},6547:function(t,e,n){var r=n("a691"),i=n("1d80"),o=function(t){return function(e,n){var o,a,c=String(i(e)),s=r(n),l=c.length;return s<0||s>=l?t?"":void 0:(o=c.charCodeAt(s),o<55296||o>56319||s+1===l||(a=c.charCodeAt(s+1))<56320||a>57343?t?c.charAt(s):o:t?c.slice(s,s+2):a-56320+(o-55296<<10)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,e,n){var r=n("861d"),i=n("e8b5"),o=n("b622"),a=o("species");t.exports=function(t,e){var n;return i(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var r,i,o,a=n("7f9a"),c=n("da84"),s=n("861d"),l=n("9112"),u=n("5135"),f=n("f772"),d=n("d012"),p=c.WeakMap,h=function(t){return o(t)?i(t):r(t,{})},v=function(t){return function(e){var n;if(!s(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(a){var m=new p,g=m.get,b=m.has,y=m.set;r=function(t,e){return y.call(m,t,e),e},i=function(t){return g.call(m,t)||{}},o=function(t){return b.call(m,t)}}else{var w=f("state");d[w]=!0,r=function(t,e){return l(t,w,e),e},i=function(t){return u(t,w)?t[w]:{}},o=function(t){return u(t,w)}}t.exports={set:r,get:i,has:o,enforce:h,getterFor:v}},"6eeb":function(t,e,n){var r=n("da84"),i=n("9112"),o=n("5135"),a=n("ce4e"),c=n("8925"),s=n("69f3"),l=s.get,u=s.enforce,f=String(String).split("String");(t.exports=function(t,e,n,c){var s=!!c&&!!c.unsafe,l=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),u(n).source=f.join("string"==typeof e?e:"")),t!==r?(s?!d&&t[e]&&(l=!0):delete t[e],l?t[e]=n:i(t,e,n)):l?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||c(this)}))},"6f53":function(t,e,n){var r=n("83ab"),i=n("df75"),o=n("fc6a"),a=n("d1e7").f,c=function(t){return function(e){var n,c=o(e),s=i(c),l=s.length,u=0,f=[];while(l>u)n=s[u++],r&&!a.call(c,n)||f.push(t?[n,c[n]]:c[n]);return f}};t.exports={entries:c(!0),values:c(!1)}},7156:function(t,e,n){var r=n("861d"),i=n("d2bb");t.exports=function(t,e,n){var o,a;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(t,a),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),i=n("5135"),o=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),c=n("d012"),s=n("1be4"),l=n("cc12"),u=n("f772"),f=">",d="<",p="prototype",h="script",v=u("IE_PROTO"),m=function(){},g=function(t){return d+h+f+t+d+"/"+h+f},b=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=l("iframe"),n="java"+h+":";return e.style.display="none",s.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(g("document.F=Object")),t.close(),t.F},w=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}w=r?b(r):y();var t=a.length;while(t--)delete w[p][a[t]];return w()};c[v]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[p]=i(t),n=new m,m[p]=null,n[v]=t):n=w(),void 0===e?n:o(n,e)}},"7db0":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").find,o=n("44d2"),a=n("ae40"),c="find",s=!0,l=a(c);c in[]&&Array(1)[c]((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!l},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(c)},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),i=n("9ed3"),o=n("e163"),a=n("d2bb"),c=n("d44e"),s=n("9112"),l=n("6eeb"),u=n("b622"),f=n("c430"),d=n("3f8c"),p=n("ae93"),h=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,m=u("iterator"),g="keys",b="values",y="entries",w=function(){return this};t.exports=function(t,e,n,u,p,x,_){i(n,e,u);var S,O,j,E=function(t){if(t===p&&P)return P;if(!v&&t in I)return I[t];switch(t){case g:return function(){return new n(this,t)};case b:return function(){return new n(this,t)};case y:return function(){return new n(this,t)}}return function(){return new n(this)}},C=e+" Iterator",k=!1,I=t.prototype,A=I[m]||I["@@iterator"]||p&&I[p],P=!v&&A||E(p),L="Array"==e&&I.entries||A;if(L&&(S=o(L.call(new t)),h!==Object.prototype&&S.next&&(f||o(S)===h||(a?a(S,h):"function"!=typeof S[m]&&s(S,m,w)),c(S,C,!0,!0),f&&(d[C]=w))),p==b&&A&&A.name!==b&&(k=!0,P=function(){return A.call(this)}),f&&!_||I[m]===P||s(I,m,P),d[e]=P,p)if(O={values:E(b),keys:x?P:E(g),entries:E(y)},_)for(j in O)(v||k||!(j in I))&&l(I,j,O[j]);else r({target:e,proto:!0,forced:v||k},O);return O}},"7f9a":function(t,e,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;t.exports="function"===typeof o&&/native code/.test(i(o))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("c04e"),i=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},"841c":function(t,e,n){"use strict";var r=n("d784"),i=n("825a"),o=n("1d80"),a=n("129f"),c=n("14c3");r("search",1,(function(t,e,n){return[function(e){var n=o(this),r=void 0==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var o=i(t),s=String(this),l=o.lastIndex;a(l,0)||(o.lastIndex=0);var u=c(o,s);return a(o.lastIndex,l)||(o.lastIndex=l),null===u?-1:u.index}]}))},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){const e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,c=o.exec(p.stack)||a.exec(p.stack),s=c&&c[1]||!1,l=c&&c[2]||!1,u=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");s===u&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]* + + diff --git a/packages/schema-form/index copy.vue b/packages/schema-form/index copy.vue new file mode 100644 index 0000000..bb9fc6f --- /dev/null +++ b/packages/schema-form/index copy.vue @@ -0,0 +1,216 @@ + + + + + diff --git a/packages/schema-form/index.vue b/packages/schema-form/index.vue new file mode 100644 index 0000000..3e06e2e --- /dev/null +++ b/packages/schema-form/index.vue @@ -0,0 +1,143 @@ + + + diff --git a/packages/schema-form/schema-form-render.vue b/packages/schema-form/schema-form-render.vue new file mode 100644 index 0000000..a4b89ea --- /dev/null +++ b/packages/schema-form/schema-form-render.vue @@ -0,0 +1,246 @@ + + + diff --git a/packages/schema-table/cell-editable.vue b/packages/schema-table/cell-editable.vue new file mode 100644 index 0000000..9dba927 --- /dev/null +++ b/packages/schema-table/cell-editable.vue @@ -0,0 +1,90 @@ + + + + + diff --git a/packages/schema-table/cell-value-render.js b/packages/schema-table/cell-value-render.js new file mode 100644 index 0000000..8834bdb --- /dev/null +++ b/packages/schema-table/cell-value-render.js @@ -0,0 +1,20 @@ +import { get } from '../utils'; + +export default { + props: { row: Object, column: Object, index: [Number, String], item: Object }, + render(h) { + const { row, column, index, item } = this; + if (typeof item.render === 'function') { + return item.render(h, { row, value: get(row, item.fullKey), $index: index, column }); + } else { + if (item.render.children instanceof Function) { + return h( + item.render.type, + { props: item.render.props, attrs: item.render.props, style: item.render.style }, + item.render.children({ row, value: get(row, item.fullKey), $index: index, column }), + ); + } + return h(item.render.type, { props: item.render.props, attrs: item.render.props, style: item.render.style }, item.render.children || get(row, item.fullKey)); + } + }, +}; diff --git a/packages/schema-table/editable.vue b/packages/schema-table/editable.vue new file mode 100644 index 0000000..e668f91 --- /dev/null +++ b/packages/schema-table/editable.vue @@ -0,0 +1,319 @@ + + + + + diff --git a/packages/schema-table/index.vue b/packages/schema-table/index.vue new file mode 100644 index 0000000..f30beb4 --- /dev/null +++ b/packages/schema-table/index.vue @@ -0,0 +1,197 @@ + + + + + diff --git a/packages/schema/index.scss b/packages/schema/index.scss new file mode 100644 index 0000000..dc37af8 --- /dev/null +++ b/packages/schema/index.scss @@ -0,0 +1,72 @@ +.z-schema { + &__header { + margin-bottom: 10px; + } + &__filter { + border: 1px solid #ebeef5; + padding-top: 10px; + border-radius: 4px; + margin-bottom: 10px; + } + &__action { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: flex-start; + line-height: 1; + .el-button + .el-button { + margin-left: 0; + } + .el-button { + margin-right: 10px; + margin-bottom: 10px; + } + } + &__table { + &-operation { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: flex-start; + .el-button + .el-button { + margin-left: 0; + } + .el-button { + margin-right: 10px; + padding-top: 6px; + padding-bottom: 6px; + } + } + } + &__dialog-button { + display: flex; + align-items: center; + justify-content: center; + padding-top: 10px; + } + &__footer { + margin-top: 10px; + text-align: right; + display: flex; + justify-content: space-between; + align-items: center; + .selection-info { + word-break: break-all; + white-space: nowrap; + font-size: 12px; + color: #606266; + .num { + color: #000; + font-weight: bold; + padding: 0 5px; + font-size: 16px; + } + .el-button { + margin-left: 5px; + } + } + .el-pagination { + flex: auto; + } + } +} \ No newline at end of file diff --git a/packages/schema/index.vue b/packages/schema/index.vue new file mode 100644 index 0000000..a74d1fd --- /dev/null +++ b/packages/schema/index.vue @@ -0,0 +1,649 @@ + + + + + diff --git a/packages/scheme-filter/index.vue b/packages/scheme-filter/index.vue deleted file mode 100644 index d8b6cc1..0000000 --- a/packages/scheme-filter/index.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - - - diff --git a/packages/scheme-form/dynamic-render.js b/packages/scheme-form/dynamic-render.js deleted file mode 100644 index 3a0d9df..0000000 --- a/packages/scheme-form/dynamic-render.js +++ /dev/null @@ -1,6 +0,0 @@ -export default { - functional: true, - render(h, context) { - return context.props.render; - }, -}; diff --git a/packages/scheme-form/index.vue b/packages/scheme-form/index.vue deleted file mode 100644 index d382396..0000000 --- a/packages/scheme-form/index.vue +++ /dev/null @@ -1,216 +0,0 @@ - - - - - diff --git a/packages/scheme-form/scheme-form-render.vue b/packages/scheme-form/scheme-form-render.vue deleted file mode 100644 index 20258d6..0000000 --- a/packages/scheme-form/scheme-form-render.vue +++ /dev/null @@ -1,241 +0,0 @@ - - - diff --git a/packages/scheme-table/cell-editable.vue b/packages/scheme-table/cell-editable.vue deleted file mode 100644 index 9dba927..0000000 --- a/packages/scheme-table/cell-editable.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - - - diff --git a/packages/scheme-table/cell-value-render.js b/packages/scheme-table/cell-value-render.js deleted file mode 100644 index 8834bdb..0000000 --- a/packages/scheme-table/cell-value-render.js +++ /dev/null @@ -1,20 +0,0 @@ -import { get } from '../utils'; - -export default { - props: { row: Object, column: Object, index: [Number, String], item: Object }, - render(h) { - const { row, column, index, item } = this; - if (typeof item.render === 'function') { - return item.render(h, { row, value: get(row, item.fullKey), $index: index, column }); - } else { - if (item.render.children instanceof Function) { - return h( - item.render.type, - { props: item.render.props, attrs: item.render.props, style: item.render.style }, - item.render.children({ row, value: get(row, item.fullKey), $index: index, column }), - ); - } - return h(item.render.type, { props: item.render.props, attrs: item.render.props, style: item.render.style }, item.render.children || get(row, item.fullKey)); - } - }, -}; diff --git a/packages/scheme-table/editable.vue b/packages/scheme-table/editable.vue deleted file mode 100644 index e668f91..0000000 --- a/packages/scheme-table/editable.vue +++ /dev/null @@ -1,319 +0,0 @@ - - - - - diff --git a/packages/scheme-table/index.vue b/packages/scheme-table/index.vue deleted file mode 100644 index 6d2269e..0000000 --- a/packages/scheme-table/index.vue +++ /dev/null @@ -1,197 +0,0 @@ - - - - - diff --git a/packages/scheme/index.scss b/packages/scheme/index.scss deleted file mode 100644 index c12d872..0000000 --- a/packages/scheme/index.scss +++ /dev/null @@ -1,72 +0,0 @@ -.z-scheme { - &__header { - margin-bottom: 10px; - } - &__filter { - border: 1px solid #ebeef5; - padding-top: 10px; - border-radius: 4px; - margin-bottom: 10px; - } - &__action { - display: flex; - flex-wrap: wrap; - align-items: center; - justify-content: flex-start; - line-height: 1; - .el-button + .el-button { - margin-left: 0; - } - .el-button { - margin-right: 10px; - margin-bottom: 10px; - } - } - &__table { - &-operation { - display: flex; - flex-wrap: wrap; - align-items: center; - justify-content: flex-start; - .el-button + .el-button { - margin-left: 0; - } - .el-button { - margin-right: 10px; - padding-top: 6px; - padding-bottom: 6px; - } - } - } - &__dialog-button { - display: flex; - align-items: center; - justify-content: center; - padding-top: 10px; - } - &__footer { - margin-top: 10px; - text-align: right; - display: flex; - justify-content: space-between; - align-items: center; - .selection-info { - word-break: break-all; - white-space: nowrap; - font-size: 12px; - color: #606266; - .num { - color: #000; - font-weight: bold; - padding: 0 5px; - font-size: 16px; - } - .el-button { - margin-left: 5px; - } - } - .el-pagination { - flex: auto; - } - } -} \ No newline at end of file diff --git a/packages/scheme/index.vue b/packages/scheme/index.vue deleted file mode 100644 index 3759963..0000000 --- a/packages/scheme/index.vue +++ /dev/null @@ -1,649 +0,0 @@ - - - - - -- libgit2 0.21.0