@web-utils/component 2.7.3 → 2.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AfdColumn.vue_vue_type_template_lang.768f2ed2.js +302 -0
- package/dist/chunks/ConfigArray.vue_vue_type_template_lang.66483daa.js +51 -0
- package/dist/chunks/ConfigColor.vue_vue_type_template_lang.cd880091.js +24 -0
- package/dist/chunks/ConfigCustom.vue_vue_type_template_lang.6e03d7fd.js +52 -0
- package/dist/chunks/ConfigDate.vue_vue_type_template_lang.420fa897.js +104 -0
- package/dist/chunks/ConfigDynamic.vue_vue_type_template_lang.82d24ab0.js +133 -0
- package/dist/chunks/ConfigEvent.vue_vue_type_template_lang.5e8ed6cc.js +96 -0
- package/dist/chunks/ConfigGroup.vue_vue_type_template_lang.44117322.js +48 -0
- package/dist/chunks/ConfigInput.vue_vue_type_template_lang.cc1eb052.js +96 -0
- package/dist/chunks/ConfigMap.vue_vue_type_template_lang.daee4d38.js +31 -0
- package/dist/chunks/ConfigNumber.vue_vue_type_template_lang.d60231d7.js +130 -0
- package/dist/chunks/ConfigRate.vue_vue_type_style_index_0_scoped_true_lang.cf5d437d.js +125 -0
- package/dist/chunks/ConfigSelect.vue_vue_type_template_lang.7db7e57f.js +483 -0
- package/dist/chunks/ConfigSlider.vue_vue_type_template_lang.27b8cc7b.js +99 -0
- package/dist/chunks/ConfigSwitch.vue_vue_type_style_index_0_scoped_true_lang.4caf1bd0.js +54 -0
- package/dist/chunks/ConfigTable.vue_vue_type_template_lang.3e8136d9.js +341 -0
- package/dist/chunks/ConfigTextarea.vue_vue_type_template_lang.5cddf41c.js +88 -0
- package/dist/chunks/ConfigTitle.vue_vue_type_template_lang.57d9deb5.js +87 -0
- package/dist/chunks/ConfigTree.vue_vue_type_style_index_0_scoped_true_lang.3770c37e.js +464 -0
- package/dist/chunks/ConfigUEditor.vue_vue_type_template_lang.9726b4f5.js +240 -0
- package/dist/chunks/ConfigUpload.vue_vue_type_template_lang.531a9b2a.js +471 -0
- package/dist/chunks/FormConfig.vue_vue_type_template_lang.85b4ee87.js +232 -0
- package/dist/chunks/WidgetConfig.vue_vue_type_template_lang.f903c9b2.js +1765 -0
- package/dist/chunks/WidgetForm.vue_vue_type_template_lang.82248338.js +242 -0
- package/dist/chunks/WidgetFormGroup.vue_vue_type_template_lang.c636aabd.js +266 -0
- package/dist/chunks/WidgetFormItem.vue_vue_type_template_lang.48d55a5c.js +24 -0
- package/dist/chunks/WidgetFormTable.vue_vue_type_template_lang.30625146.js +228 -0
- package/dist/chunks/{dataformat.3cfcf62c.js → dataformat.d3fd2d1b.js} +25 -24
- package/dist/chunks/{detail.a3249549.js → detail.ac4d421a.js} +7 -7
- package/dist/chunks/{dic.5f7e3523.js → dic.79d9f595.js} +28 -27
- package/dist/chunks/{event.b76c568a.js → event.43b42228.js} +7 -6
- package/dist/chunks/{init.352281f5.js → init.3b47bb80.js} +8 -7
- package/dist/chunks/{packages.5d7a86c4.js → packages.6f252850.js} +5 -61
- package/dist/chunks/{util.5053d54e.js → util.80e28481.js} +37 -51
- package/dist/components/afd-column/index.js +54 -0
- package/dist/components/chat/index.js +1 -1
- package/dist/components/code/index.js +1 -1
- package/dist/components/column/index.js +8 -7
- package/dist/components/column-default/index.js +1 -1
- package/dist/components/column-dynamic/index.js +1 -1
- package/dist/components/column-menu/index.js +1 -1
- package/dist/components/column-slot/index.js +27 -26
- package/dist/components/config-array/index.js +26 -0
- package/dist/components/config-color/index.js +26 -0
- package/dist/components/config-custom/index.js +60 -0
- package/dist/components/config-date/index.js +26 -0
- package/dist/components/config-dynamic/index.js +26 -0
- package/dist/components/config-event/index.js +72 -0
- package/dist/components/config-group/index.js +34 -0
- package/dist/components/config-input/index.js +26 -0
- package/dist/components/config-map/index.js +26 -0
- package/dist/components/config-number/index.js +26 -0
- package/dist/components/config-rate/index.js +69 -0
- package/dist/components/config-rate/style.css +1 -0
- package/dist/components/config-select/index.js +88 -0
- package/dist/components/config-slider/index.js +26 -0
- package/dist/components/config-switch/index.js +31 -0
- package/dist/components/config-switch/style.css +1 -0
- package/dist/components/config-table/index.js +120 -0
- package/dist/components/config-textarea/index.js +26 -0
- package/dist/components/config-title/index.js +31 -0
- package/dist/components/config-tree/index.js +120 -0
- package/dist/components/config-tree/style.css +1 -0
- package/dist/components/config-u-editor/index.js +32 -0
- package/dist/components/config-upload/index.js +56 -0
- package/dist/components/custom-scrollbar/index.js +6 -1
- package/dist/components/dialog-excel/index.js +2 -2
- package/dist/components/dialog-filter/index.js +1 -1
- package/dist/components/dialog-form/index.js +8 -7
- package/dist/components/flex-item/index.js +4 -1
- package/dist/components/flow/index.js +1 -1
- package/dist/components/flow-node/index.js +1 -1
- package/dist/components/form-config/index.js +26 -0
- package/dist/components/form-group/index.js +1 -1
- package/dist/components/form-temp/index.js +2 -2
- package/dist/components/{array → fy-array}/index.js +5 -5
- package/dist/components/{array → fy-array}/style.css +0 -0
- package/dist/components/fy-cascader/index.js +1 -1
- package/dist/components/fy-checkbox/index.js +1 -1
- package/dist/components/fy-curd/index.js +7 -6
- package/dist/components/fy-date/index.js +1 -1
- package/dist/components/fy-dialog-form/index.js +9 -8
- package/dist/components/{draggable → fy-draggable}/index.js +2 -2
- package/dist/components/{draggable → fy-draggable}/style.css +0 -0
- package/dist/components/fy-dynamic/index.js +2 -2
- package/dist/components/{empty → fy-empty}/index.js +6 -6
- package/dist/components/{empty → fy-empty}/style.css +0 -0
- package/dist/components/fy-form/index.js +9 -8
- package/dist/components/fy-form-design/index.js +1371 -0
- package/dist/components/fy-form-design/style.css +1 -0
- package/dist/components/fy-input/index.js +1 -1
- package/dist/components/fy-input-color/index.js +1 -1
- package/dist/components/fy-input-icon/index.js +1 -1
- package/dist/components/fy-input-map/index.js +4 -4
- package/dist/components/fy-input-number/index.js +1 -1
- package/dist/components/fy-input-table/index.js +4 -4
- package/dist/components/fy-input-tree/index.js +2 -2
- package/dist/components/fy-radio/index.js +1 -1
- package/dist/components/fy-rate/index.js +1 -1
- package/dist/components/fy-select/index.js +18 -17
- package/dist/components/fy-slider/index.js +2 -2
- package/dist/components/fy-switch/index.js +1 -1
- package/dist/components/fy-time/index.js +2 -2
- package/dist/components/fy-title/index.js +1 -1
- package/dist/components/fy-tree/index.js +7 -6
- package/dist/components/fy-upload/index.js +11 -10
- package/dist/components/header-menu/index.js +1 -1
- package/dist/components/header-search/index.js +2 -2
- package/dist/components/license/index.js +5 -5
- package/dist/components/login/index.js +9 -8
- package/dist/components/record-video/index.js +1 -1
- package/dist/components/search/index.js +10 -9
- package/dist/components/sign/index.js +1 -1
- package/dist/components/table-column/index.js +4 -1
- package/dist/components/table-page/index.js +1 -1
- package/dist/components/text-ellipsis/index.js +1 -1
- package/dist/components/verify/index.js +1 -1
- package/dist/components/watermark/index.js +5 -1
- package/dist/components/widget-config/index.js +107 -0
- package/dist/components/widget-form/index.js +68 -0
- package/dist/components/widget-form-group/index.js +91 -0
- package/dist/components/widget-form-item/index.js +70 -0
- package/dist/components/widget-form-table/index.js +90 -0
- package/dist/index.css +761 -201
- package/dist/index.es.js +23971 -16542
- package/package.json +5 -3
- package/web-types.json +1880 -1781
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.form-designer{height:100%;background:#fff;outline:1px solid #e4e7ed}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0)!important;border-radius:10px!important;background-color:#0000!important}.form-designer ::-webkit-scrollbar-thumb{border-radius:10px!important;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0)!important;background-color:#fff!important}.form-designer .fields-list{padding:10px 0;width:100%;height:100%}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{position:relative;overflow:hidden;padding:0 10px 10px;margin:0}.form-designer .fields-list .field-label{font-size:12px;display:block;width:47%;line-height:26px;position:relative;float:left;left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:1%;color:#333;border:1px solid #f4f6fc}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{display:block;cursor:move;background:#f4f6fc;border:1px solid #f4f6fc;color:#333}.form-designer .fields-list .field-label>a .icon{margin-right:6px;margin-left:8px;font-size:14px;display:inline-block;vertical-align:middle}.form-designer .fields-list .field-label>a span{display:inline-block;vertical-align:middle}.form-designer .fields-list .field-label-disabled{font-size:12px;display:block;width:48%;line-height:26px;position:relative;float:left;left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:1%;color:#333;border:1px solid #f4f6fc}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{display:block;cursor:not-allowed;background:#f4f6fc;border:1px solid #f4f6fc}.form-designer .fields-list .field-label-disabled>a .icon{margin-right:6px;margin-left:8px;font-size:14px;display:inline-block;vertical-align:middle}.form-designer .fields-list .field-label-disabled>a span{display:inline-block;vertical-align:middle}.form-designer .widget-container{flex:1;border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0}.form-designer .widget-container .widget-container-header{height:45px!important;display:flex;justify-content:space-between;align-items:center;border-bottom:solid 2px #e4e7ed}.form-designer .widget-container .el-main{padding:0;position:relative}.form-designer .widget-form-container{height:100%;position:relative;top:0;left:0;right:0;bottom:0}.form-designer .widget-form-container .el-form,.form-designer .widget-form-container .el-form .el-row{height:100%}.form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{min-height:30px;padding:5px 10px 18px;margin:0;position:relative;border-left:5px solid transparent}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{content:"*";color:#f56c6c;margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{position:absolute;left:0;right:0;bottom:0;top:0;display:block;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{background:#ecf8ff;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{border-left:3px solid #409eff;background:#ecf5ff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{position:absolute;right:10px;bottom:-32px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{position:absolute;right:50px;bottom:-32px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-table{position:relative;padding:2px;float:left;width:100%}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{display:flex;padding:10px 5px;width:100%;height:100%;overflow-y:hidden;outline:1px dashed #ccc;outline-offset:-1px;min-height:103px}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar{width:6px!important;height:6px!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar-thumb{background-color:#e5e7eb!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content .ghost{background:white;border-left:5px solid #409eff;box-sizing:border-box;font-size:0;content:"";overflow:hidden;padding:0!important;position:relative;outline:none 0;height:100%;min-height:90px;width:0!important;min-width:0!important;margin:1px 2px 0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{position:relative;min-width:33.3%;width:33.3%;padding:1px;height:100%}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{content:"*";color:#f56c6c;margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline:1px solid #409eff;outline-offset:-1px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline:1px solid #409eff;outline-offset:-1px;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{position:absolute;left:0;right:0;bottom:0;top:0;display:block;content:"";z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{position:absolute;right:0;bottom:0;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{position:absolute;right:30px;bottom:0;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone i{font-size:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .el-button--small.is-circle{padding:5px}.form-designer .widget-form-container .widget-form-list .widget-form-table.active{border-left:3px solid #409eff;background:#ecf5ff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{background:#ecf8ff;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{position:absolute;right:10px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{position:absolute;right:50px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{position:absolute;right:90px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-group{position:relative;width:100%;float:left;padding:2px}.form-designer .widget-form-container .widget-form-list .widget-form-group__head{margin:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body{min-height:150px;height:100%;outline:1px dashed #ccc;outline-offset:-1px;overflow:hidden;padding-bottom:15px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{background:white;border-left:5px solid #409eff;box-sizing:border-box;font-size:0;content:"";overflow:hidden;padding:0!important;position:relative;outline:none 0;height:100%;min-height:57px;width:0!important;min-width:0!important;margin:1px 2px 0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{padding:10px;margin:3px;position:relative;border-left:5px solid transparent;background:white}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{content:"*";color:#f56c6c;margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline:1px solid #409eff;outline-offset:-1px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline:1px solid #409eff;outline-offset:-1px;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{position:absolute;left:0;right:0;bottom:0;top:0;display:block;content:"";z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{position:absolute;right:0;bottom:-24px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{position:absolute;right:34px;bottom:-24px;z-index:1002}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{border-left:3px solid #409eff;background:#ecf5ff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{background:#ecf8ff;cursor:move}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{position:absolute;right:10px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{position:absolute;right:50px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{position:absolute;right:90px;bottom:-12px;z-index:1001}.form-designer .widget-form-container .widget-form-list .iconfont{font-size:13px}.form-designer .widget-form-container .widget-form-list .el-button--small.is-circle{padding:7px}.form-designer .widget-form-container .ghost{background:white;border-top:5px solid #409eff;box-sizing:border-box;font-size:0;content:"";overflow:hidden;padding:0!important;position:relative;outline:none 0;height:0!important;width:100%;margin:2px 0}.form-designer .widget-config-container{height:100%;padding-top:5px}.form-designer .widget-config-container .el-tabs{height:100%}.form-designer .widget-config-container .el-tabs__header{margin:0;height:45px;background:white;z-index:1000}.form-designer .widget-config-container .el-tabs__content{height:calc(100% - 45px);overflow-y:scroll}.form-designer .widget-config-container .widget-config .el-tabs__header{position:relative;display:block;top:0;margin:0}.form-designer .widget-config-container .widget-config .el-tabs__content{margin-top:0}.form-designer .widget-config-container .widget-config .ghost{background:#fff;border:1px dashed #409eff}.form-designer .widget-config-container .widget-config ul{margin:0;padding:0}.form-designer .widget-config-container .widget-config ul li{display:flex;align-items:center;width:100%}.form-designer .widget-config-container .widget-config ul li .ghost{list-style:none;font-size:0;height:35px}.form-designer .widget-config-container .avue-group__item{padding:0}.form-designer .el-container{height:100%}.form-designer .el-container .el-main{height:calc(100% - 45px)}.form-designer .el-container .el-aside{background:#fff}.form-designer .danger{color:#f56c6c}.form-designer .warning{color:#e6a23c}.form-designer .el-input-number.is-controls-right .el-input-number__decrease{border-left:none}.form-designer .el-input-number.is-controls-right .el-input-number__increase{border-left:none;border-bottom:none}.form-designer .el-date-editor,.form-designer .el-cascader,.form-designer .el-select,.form-designer .el-input-number{width:100%}.form-designer .editor-fullscreen{position:fixed!important;top:0;right:0;bottom:0;left:0;width:100%;height:100%!important;z-index:1003;padding:20px;box-sizing:border-box;background:#fff}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{position:absolute;bottom:0;left:0;right:0;padding:20px;display:flex}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{display:inline-block;width:50%}.afd-drawer-foot>span button{width:100%}.afd-preview-form{overflow-y:auto;height:83vh}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as o, e as p } from "../../chunks/event.
|
|
1
|
+
import { p as o, e as p } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var l = function() {
|
|
4
4
|
var e = this, r = e.$createElement, n = e._self._c || r;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as n, e as o } from "../../chunks/event.
|
|
1
|
+
import { p as n, e as o } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var i = function() {
|
|
4
4
|
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as s, e as o } from "../../chunks/event.
|
|
1
|
+
import { p as s, e as o } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var u = function() {
|
|
4
4
|
var t = this, i = t.$createElement, e = t._self._c || i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p, e as u } from "../../chunks/event.
|
|
2
|
-
import {
|
|
1
|
+
import { p, e as u } from "../../chunks/event.43b42228.js";
|
|
2
|
+
import { isBlank as d } from "@web-utils/core";
|
|
3
3
|
import { n as h } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
4
|
var m = function() {
|
|
5
5
|
var e = this, t = e.$createElement, a = e._self._c || t;
|
|
@@ -60,10 +60,10 @@ var m = function() {
|
|
|
60
60
|
on: {
|
|
61
61
|
click: e.handleSubmit
|
|
62
62
|
}
|
|
63
|
-
}, [e._v("确 定")])];
|
|
63
|
+
}, [e._v(" 确 定 ")])];
|
|
64
64
|
},
|
|
65
65
|
proxy: !0
|
|
66
|
-
}], null, !1,
|
|
66
|
+
}], null, !1, 1816263233)
|
|
67
67
|
}, [e.box ? a("div", {
|
|
68
68
|
staticClass: "avue-input-map__content"
|
|
69
69
|
}, [a("ElInput", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as o, e as a } from "../../chunks/event.
|
|
1
|
+
import { p as o, e as a } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var i = function() {
|
|
4
4
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as o, e as r } from "../../chunks/event.
|
|
2
|
-
import {
|
|
1
|
+
import { p as o, e as r } from "../../chunks/event.43b42228.js";
|
|
2
|
+
import { isBlank as n } from "@web-utils/core";
|
|
3
3
|
import { n as l } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
4
|
var h = function() {
|
|
5
5
|
var e = this, t = e.$createElement, a = e._self._c || t;
|
|
@@ -46,10 +46,10 @@ var h = function() {
|
|
|
46
46
|
on: {
|
|
47
47
|
click: e.setVal
|
|
48
48
|
}
|
|
49
|
-
}, [e._v("确 定")])];
|
|
49
|
+
}, [e._v(" 确 定 ")])];
|
|
50
50
|
},
|
|
51
51
|
proxy: !0
|
|
52
|
-
}], null, !1,
|
|
52
|
+
}], null, !1, 2921262159)
|
|
53
53
|
}, [e.box ? a("FyCurd", {
|
|
54
54
|
ref: "crud",
|
|
55
55
|
staticClass: "avue-input-table__crud",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as c, e as h } from "../../chunks/event.
|
|
2
|
-
import {
|
|
1
|
+
import { p as c, e as h } from "../../chunks/event.43b42228.js";
|
|
2
|
+
import { isBlank as n } from "@web-utils/core";
|
|
3
3
|
import { n as p } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
4
|
var f = function() {
|
|
5
5
|
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as l, e as s } from "../../chunks/event.
|
|
1
|
+
import { p as l, e as s } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n as i } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var d = function() {
|
|
4
4
|
var e = this, t = e.$createElement, a = e._self._c || t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as a, e as r } from "../../chunks/event.
|
|
1
|
+
import { p as a, e as r } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var i = function() {
|
|
4
4
|
var e = this, o = e.$createElement, s = e._self._c || o;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { p as r, e as c } from "../../chunks/event.
|
|
2
|
-
import { s as d } from "../../chunks/dic.
|
|
3
|
-
import {
|
|
1
|
+
import { p as r, e as c } from "../../chunks/event.43b42228.js";
|
|
2
|
+
import { s as d } from "../../chunks/dic.79d9f595.js";
|
|
3
|
+
import { D as u } from "../../chunks/util.80e28481.js";
|
|
4
|
+
import { isBlank as p } from "@web-utils/core";
|
|
4
5
|
import { n as h } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
5
6
|
var f = function() {
|
|
6
7
|
var e = this, a = e.$createElement, l = e._self._c || a;
|
|
@@ -45,27 +46,27 @@ var f = function() {
|
|
|
45
46
|
},
|
|
46
47
|
expression: "text"
|
|
47
48
|
}
|
|
48
|
-
}, [e.group ? e._l(e.netDic, function(t,
|
|
49
|
+
}, [e.group ? e._l(e.netDic, function(t, s) {
|
|
49
50
|
return l("ElOptionGroup", {
|
|
50
|
-
key:
|
|
51
|
+
key: s,
|
|
51
52
|
attrs: {
|
|
52
53
|
label: e.getLabelText(t)
|
|
53
54
|
}
|
|
54
|
-
}, e._l(t[e.groupsKey], function(
|
|
55
|
+
}, e._l(t[e.groupsKey], function(n, i) {
|
|
55
56
|
return l("ElOption", {
|
|
56
57
|
key: i,
|
|
57
58
|
attrs: {
|
|
58
|
-
disabled:
|
|
59
|
-
label: e.getLabelText(
|
|
60
|
-
value:
|
|
59
|
+
disabled: n[e.disabledKey],
|
|
60
|
+
label: e.getLabelText(n),
|
|
61
|
+
value: n[e.valueKey]
|
|
61
62
|
}
|
|
62
63
|
}, [e.$scopedSlots.default ? e._t("default", null, {
|
|
63
64
|
label: e.labelKey,
|
|
64
65
|
value: e.valueKey,
|
|
65
|
-
item:
|
|
66
|
-
}) : [l("span", [e._v(e._s(e.getLabelText(
|
|
66
|
+
item: n
|
|
67
|
+
}) : [l("span", [e._v(e._s(e.getLabelText(n)))]), n[e.descKey] ? l("span", {
|
|
67
68
|
staticClass: "avue-select__desc"
|
|
68
|
-
}, [e._v(e._s(
|
|
69
|
+
}, [e._v(e._s(n[e.descKey]))]) : e._e()]], 2);
|
|
69
70
|
}), 1);
|
|
70
71
|
}) : [e.all && e.multiple ? l("ElCheckbox", {
|
|
71
72
|
staticClass: "avue-select__check",
|
|
@@ -79,9 +80,9 @@ var f = function() {
|
|
|
79
80
|
},
|
|
80
81
|
expression: "checkAll"
|
|
81
82
|
}
|
|
82
|
-
}, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t,
|
|
83
|
+
}, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t, s) {
|
|
83
84
|
return l("ElOption", {
|
|
84
|
-
key:
|
|
85
|
+
key: s,
|
|
85
86
|
attrs: {
|
|
86
87
|
disabled: t[e.disabledKey],
|
|
87
88
|
label: e.getLabelText(t),
|
|
@@ -156,7 +157,7 @@ const y = {
|
|
|
156
157
|
},
|
|
157
158
|
watch: {
|
|
158
159
|
text(e) {
|
|
159
|
-
|
|
160
|
+
p(e) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(u) : this.text));
|
|
160
161
|
},
|
|
161
162
|
dic: {
|
|
162
163
|
handler(e) {
|
|
@@ -215,9 +216,9 @@ function v(e) {
|
|
|
215
216
|
for (let a in o)
|
|
216
217
|
this[a] = o[a];
|
|
217
218
|
}
|
|
218
|
-
const
|
|
219
|
+
const K = /* @__PURE__ */ function() {
|
|
219
220
|
return m.exports;
|
|
220
221
|
}();
|
|
221
222
|
export {
|
|
222
|
-
|
|
223
|
+
K as default
|
|
223
224
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as r, e as l } from "../../chunks/event.
|
|
2
|
-
import { s as i } from "../../chunks/util.
|
|
1
|
+
import { p as r, e as l } from "../../chunks/event.43b42228.js";
|
|
2
|
+
import { s as i } from "../../chunks/util.80e28481.js";
|
|
3
3
|
import { n as a } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
4
|
var p = function() {
|
|
5
5
|
var t = this, o = t.$createElement, s = t._self._c || o;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as c, e as l } from "../../chunks/event.
|
|
1
|
+
import { p as c, e as l } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n as o } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var r = function() {
|
|
4
4
|
var e = this, t = e.$createElement, a = e._self._c || t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as o, e as l } from "../../chunks/event.
|
|
2
|
-
import {
|
|
1
|
+
import { p as o, e as l } from "../../chunks/event.43b42228.js";
|
|
2
|
+
import { isBlank as i } from "@web-utils/core";
|
|
3
3
|
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
4
|
var c = function() {
|
|
5
5
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as r, e as _ } from "../../chunks/event.
|
|
1
|
+
import { p as r, e as _ } from "../../chunks/event.43b42228.js";
|
|
2
2
|
import { n as l } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var o = function() {
|
|
4
4
|
var e = this, t = e.$createElement, n = e._self._c || t;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { s as d, o as l,
|
|
2
|
-
import { p } from "../../chunks/permission.ce5d2121.js";
|
|
1
|
+
import { s as d, o as l, k as r } from "../../chunks/util.80e28481.js";
|
|
2
|
+
import { p as u } from "../../chunks/permission.ce5d2121.js";
|
|
3
|
+
import { isBlank as p } from "@web-utils/core";
|
|
3
4
|
import { n as f } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
5
|
var m = function() {
|
|
5
6
|
var e = this, i = e.$createElement, t = e._self._c || i;
|
|
@@ -153,7 +154,7 @@ var m = function() {
|
|
|
153
154
|
const v = {
|
|
154
155
|
name: "FyTree",
|
|
155
156
|
directives: {
|
|
156
|
-
permission:
|
|
157
|
+
permission: u
|
|
157
158
|
},
|
|
158
159
|
props: {
|
|
159
160
|
indent: Number,
|
|
@@ -300,7 +301,7 @@ const v = {
|
|
|
300
301
|
return l(this.option[e + "Text"], e);
|
|
301
302
|
},
|
|
302
303
|
getPermission(e) {
|
|
303
|
-
return typeof this.permission == "function" ? this.permission(e, this.node.data || {}) :
|
|
304
|
+
return typeof this.permission == "function" ? this.permission(e, this.node.data || {}) : p(this.permission[e]) ? !0 : this.permission[e];
|
|
304
305
|
},
|
|
305
306
|
initFun() {
|
|
306
307
|
[
|
|
@@ -419,9 +420,9 @@ function k(e) {
|
|
|
419
420
|
for (let i in c)
|
|
420
421
|
this[i] = c[i];
|
|
421
422
|
}
|
|
422
|
-
const
|
|
423
|
+
const K = /* @__PURE__ */ function() {
|
|
423
424
|
return _.exports;
|
|
424
425
|
}();
|
|
425
426
|
export {
|
|
426
|
-
|
|
427
|
+
K as default
|
|
427
428
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { p as j, e as z } from "../../chunks/event.
|
|
2
|
-
import {
|
|
3
|
-
import { p as S } from "../../chunks/packages.
|
|
1
|
+
import { p as j, e as z } from "../../chunks/event.43b42228.js";
|
|
2
|
+
import { B as R, x as w, i as D } from "../../chunks/util.80e28481.js";
|
|
3
|
+
import { p as S } from "../../chunks/packages.6f252850.js";
|
|
4
|
+
import { isBlank as x } from "@web-utils/core";
|
|
4
5
|
import { n as I } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
5
6
|
function A(t, e) {
|
|
6
7
|
var i = new FileReader();
|
|
@@ -43,17 +44,17 @@ function $(t, e = {}, i) {
|
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
|
-
const
|
|
47
|
+
const B = (t, e, i) => {
|
|
47
48
|
var o = JSON.stringify(i);
|
|
48
49
|
__ENV__ === "development" && console && console.log("put_policy = ", o);
|
|
49
|
-
var a =
|
|
50
|
+
var a = N(L(o));
|
|
50
51
|
__ENV__ === "development" && console && console.log("encoded = ", a);
|
|
51
52
|
var n = CryptoJS.HmacSHA1(a, e), l = n.toString(CryptoJS.enc.Base64);
|
|
52
53
|
__ENV__ === "development" && console && console.log("encoded_signed=", l);
|
|
53
54
|
var d = t + ":" + K(l) + ":" + a;
|
|
54
55
|
return __ENV__ === "development" && console && console.log("upload_token=", d), d;
|
|
55
56
|
};
|
|
56
|
-
function
|
|
57
|
+
function L(t) {
|
|
57
58
|
var e, i, o, a;
|
|
58
59
|
for (e = "", o = t.length, i = 0; i < o; i++)
|
|
59
60
|
a = t.charCodeAt(i), a >= 1 && a <= 127 ? e += t.charAt(i) : a > 2047 ? (e += String.fromCharCode(224 | a >> 12 & 15), e += String.fromCharCode(128 | a >> 6 & 63), e += String.fromCharCode(128 | a >> 0 & 63)) : (e += String.fromCharCode(192 | a >> 6 & 31), e += String.fromCharCode(128 | a >> 0 & 63));
|
|
@@ -190,7 +191,7 @@ new Array(
|
|
|
190
191
|
-1,
|
|
191
192
|
-1
|
|
192
193
|
);
|
|
193
|
-
function
|
|
194
|
+
function N(t) {
|
|
194
195
|
var e, i, o, a, n, l;
|
|
195
196
|
for (o = t.length, i = 0, e = ""; i < o; ) {
|
|
196
197
|
if (a = t.charCodeAt(i++) & 255, i == o) {
|
|
@@ -617,7 +618,7 @@ const H = {
|
|
|
617
618
|
return;
|
|
618
619
|
}
|
|
619
620
|
a = this.qiniu || this.$AVUE.qiniu;
|
|
620
|
-
const r =
|
|
621
|
+
const r = B(a.AK, a.SK, {
|
|
621
622
|
scope: a.scope,
|
|
622
623
|
deadline: new Date().getTime() + a.deadline * 3600
|
|
623
624
|
});
|
|
@@ -696,9 +697,9 @@ function Q(t) {
|
|
|
696
697
|
for (let e in F)
|
|
697
698
|
this[e] = F[e];
|
|
698
699
|
}
|
|
699
|
-
const
|
|
700
|
+
const tt = /* @__PURE__ */ function() {
|
|
700
701
|
return J.exports;
|
|
701
702
|
}();
|
|
702
703
|
export {
|
|
703
|
-
|
|
704
|
+
tt as default
|
|
704
705
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as s } from "../../chunks/permission.ce5d2121.js";
|
|
2
2
|
import { c } from "../../chunks/config.46422d7f.js";
|
|
3
|
-
import { o } from "../../chunks/util.
|
|
3
|
+
import { o } from "../../chunks/util.80e28481.js";
|
|
4
4
|
import { n as a } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
5
5
|
var d = function() {
|
|
6
6
|
var e = this, i = e.$createElement, t = e._self._c || i;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as S } from "../../chunks/slot.1b8d2b1b.js";
|
|
2
2
|
import { c as h } from "../../chunks/config.46422d7f.js";
|
|
3
|
-
import { d as w } from "../../chunks/dataformat.
|
|
4
|
-
import { o,
|
|
3
|
+
import { d as w } from "../../chunks/dataformat.d3fd2d1b.js";
|
|
4
|
+
import { o, j as g, d as m } from "../../chunks/util.80e28481.js";
|
|
5
5
|
import { n as F } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
6
6
|
var _ = function() {
|
|
7
7
|
var e = this, a = e.$createElement, c = e._self._c || a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as l } from "../../chunks/util.80e28481.js";
|
|
2
2
|
import { n as g } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
3
|
var m = function() {
|
|
4
4
|
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
@@ -13,8 +13,8 @@ var m = function() {
|
|
|
13
13
|
id: "canvas" + t.id
|
|
14
14
|
}
|
|
15
15
|
}), t._t("default")], 2);
|
|
16
|
-
},
|
|
17
|
-
const
|
|
16
|
+
}, w = [];
|
|
17
|
+
const f = {
|
|
18
18
|
name: "License",
|
|
19
19
|
props: {
|
|
20
20
|
id: {
|
|
@@ -113,9 +113,9 @@ const w = {
|
|
|
113
113
|
}
|
|
114
114
|
}, d = {};
|
|
115
115
|
var p = /* @__PURE__ */ g(
|
|
116
|
-
w,
|
|
117
|
-
m,
|
|
118
116
|
f,
|
|
117
|
+
m,
|
|
118
|
+
w,
|
|
119
119
|
!1,
|
|
120
120
|
v,
|
|
121
121
|
null,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as n } from "../../chunks/util.80e28481.js";
|
|
2
|
+
import { isBlank as a } from "@web-utils/core";
|
|
2
3
|
import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
-
var
|
|
4
|
+
var m = function() {
|
|
4
5
|
var e = this, s = e.$createElement, t = e._self._c || s;
|
|
5
6
|
return t("div", {
|
|
6
7
|
staticClass: "avue-login",
|
|
@@ -128,7 +129,7 @@ var d = function() {
|
|
|
128
129
|
}
|
|
129
130
|
}, [e._v(" 登录 ")])], 1)], 1)], 1);
|
|
130
131
|
}, p = [];
|
|
131
|
-
const r = "发送验证码", i = "{{time}}s后重获取",
|
|
132
|
+
const r = "发送验证码", i = "{{time}}s后重获取", d = {
|
|
132
133
|
name: "Login",
|
|
133
134
|
props: {
|
|
134
135
|
value: {
|
|
@@ -191,11 +192,11 @@ const r = "发送验证码", i = "{{time}}s后重获取", m = {
|
|
|
191
192
|
return this.option.column || {};
|
|
192
193
|
},
|
|
193
194
|
sendDisabled() {
|
|
194
|
-
return !
|
|
195
|
+
return !a(this.check);
|
|
195
196
|
}
|
|
196
197
|
},
|
|
197
198
|
methods: {
|
|
198
|
-
setPx:
|
|
199
|
+
setPx: n,
|
|
199
200
|
onSend() {
|
|
200
201
|
const e = () => {
|
|
201
202
|
this.nowtime = this.time, this.text = i.replace("{{time}}", this.nowtime), this.check = setInterval(() => {
|
|
@@ -223,8 +224,8 @@ const r = "发送验证码", i = "{{time}}s后重获取", m = {
|
|
|
223
224
|
}
|
|
224
225
|
}, l = {};
|
|
225
226
|
var u = /* @__PURE__ */ c(
|
|
226
|
-
m,
|
|
227
227
|
d,
|
|
228
|
+
m,
|
|
228
229
|
p,
|
|
229
230
|
!1,
|
|
230
231
|
h,
|
|
@@ -236,9 +237,9 @@ function h(e) {
|
|
|
236
237
|
for (let s in l)
|
|
237
238
|
this[s] = l[s];
|
|
238
239
|
}
|
|
239
|
-
const
|
|
240
|
+
const w = /* @__PURE__ */ function() {
|
|
240
241
|
return u.exports;
|
|
241
242
|
}();
|
|
242
243
|
export {
|
|
243
|
-
|
|
244
|
+
w as default
|
|
244
245
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
1
|
+
import { k as i } from "../../chunks/util.80e28481.js";
|
|
2
|
+
import { i as n } from "../../chunks/init.3b47bb80.js";
|
|
3
|
+
import { isBlank as o } from "@web-utils/core";
|
|
3
4
|
import { n as l } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
5
|
var h = function() {
|
|
5
6
|
var t = this, e = t.$createElement, r = t._self._c || e;
|
|
@@ -30,7 +31,7 @@ var h = function() {
|
|
|
30
31
|
"avue-search__tags--active": t.getActive(a, s)
|
|
31
32
|
}],
|
|
32
33
|
on: {
|
|
33
|
-
click: function(
|
|
34
|
+
click: function(v) {
|
|
34
35
|
return t.handleClick(s, a);
|
|
35
36
|
}
|
|
36
37
|
}
|
|
@@ -40,7 +41,7 @@ var h = function() {
|
|
|
40
41
|
}, u = [];
|
|
41
42
|
const c = {
|
|
42
43
|
name: "Search",
|
|
43
|
-
mixins: [
|
|
44
|
+
mixins: [n],
|
|
44
45
|
props: {
|
|
45
46
|
value: {}
|
|
46
47
|
},
|
|
@@ -102,7 +103,7 @@ const c = {
|
|
|
102
103
|
dataFormat() {
|
|
103
104
|
this.propOption.forEach((t) => {
|
|
104
105
|
const e = t.prop;
|
|
105
|
-
|
|
106
|
+
o(this.form[e]) && this.$set(this.form, e, t.multiple === !1 ? "" : []);
|
|
106
107
|
});
|
|
107
108
|
},
|
|
108
109
|
getActive(t, e) {
|
|
@@ -125,18 +126,18 @@ var _ = /* @__PURE__ */ l(
|
|
|
125
126
|
h,
|
|
126
127
|
u,
|
|
127
128
|
!1,
|
|
128
|
-
|
|
129
|
+
f,
|
|
129
130
|
null,
|
|
130
131
|
null,
|
|
131
132
|
null
|
|
132
133
|
);
|
|
133
|
-
function
|
|
134
|
+
function f(t) {
|
|
134
135
|
for (let e in p)
|
|
135
136
|
this[e] = p[e];
|
|
136
137
|
}
|
|
137
|
-
const
|
|
138
|
+
const g = /* @__PURE__ */ function() {
|
|
138
139
|
return _.exports;
|
|
139
140
|
}();
|
|
140
141
|
export {
|
|
141
|
-
|
|
142
|
+
g as default
|
|
142
143
|
};
|
|
@@ -61,7 +61,10 @@ const i = {
|
|
|
61
61
|
render(n, { data: e, props: t, children: r }) {
|
|
62
62
|
return n("ElTableColumn", {
|
|
63
63
|
...e,
|
|
64
|
-
props: {
|
|
64
|
+
props: {
|
|
65
|
+
...t,
|
|
66
|
+
showOverflowTooltip: ["selection", "single-selection", "index", "expand"].includes(t.type) ? !1 : t.showOverflowTooltip
|
|
67
|
+
}
|
|
65
68
|
}, r);
|
|
66
69
|
}
|
|
67
70
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as u } from "../../chunks/config.46422d7f.js";
|
|
2
|
-
import { o as n } from "../../chunks/util.
|
|
2
|
+
import { o as n } from "../../chunks/util.80e28481.js";
|
|
3
3
|
import { n as l } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
4
|
var g = function() {
|
|
5
5
|
var e = this, t = e.$createElement, i = e._self._c || t;
|
|
@@ -53,7 +53,11 @@ const f = {
|
|
|
53
53
|
const t = r.getContext("2d");
|
|
54
54
|
return t.font = "15px Verdana", t.fillStyle = u, t.fillRect(0, 0, e, l), t.translate(e / 2, l / 2), t.rotate(c * Math.PI / 180), t.fillStyle = i, t.textAlign = "center", t.textBaseline = "middle", t.fillText(s, 0, 0), a("div", {
|
|
55
55
|
class: _(n.class, `watermark ${n.staticClass || ""}`),
|
|
56
|
-
style: {
|
|
56
|
+
style: {
|
|
57
|
+
...n.style || {},
|
|
58
|
+
...n.staticStyle || {},
|
|
59
|
+
background: `url(${r.toDataURL("image/png")}) left top repeat`
|
|
60
|
+
}
|
|
57
61
|
});
|
|
58
62
|
}
|
|
59
63
|
};
|