@web-utils/component 2.30.0 → 2.30.2
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/chat/index.mjs +4 -2
- package/chunks/{FormTemp.FX8xmbVB.mjs → FormTemp.CtpL-vJy.mjs} +2 -2
- package/chunks/{confirmable-mixin.rTUMhoRH.mjs → confirmable-mixin.GqdyYLEM.mjs} +16 -6
- package/chunks/{dataformat.X_61lMA7.mjs → dataformat.Ab9PZnVk.mjs} +1 -1
- package/chunks/{dic.6tk91Dmq.mjs → dic.7JBaVHv6.mjs} +8 -10
- package/chunks/{event.NHA7rYFE.mjs → event.lbJYeMJp.mjs} +2 -2
- package/chunks/{init.Ac4dKUJB.mjs → init.6oF7OO2W.mjs} +2 -2
- package/chunks/{util.C2Bhx22L.mjs → util.y1gUGRqi.mjs} +24 -18
- package/code-mirror-editor/index.mjs +380 -151
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/count-up/index.mjs +5 -9
- package/custom-scrollbar/index.mjs +4 -8
- package/dialog-form/index.mjs +1 -1
- package/element-dialog/index.mjs +5 -1
- package/flex-item/index.mjs +10 -4
- package/flow/index.mjs +22 -8
- package/flow-designer/index.mjs +125 -32
- package/flow-node/index.mjs +1 -1
- package/flow-viewer/index.mjs +16 -7
- package/form-block/index.mjs +10 -7
- package/form-cascader/index.mjs +3 -1
- package/form-checkbox-group/index.mjs +3 -1
- package/form-date-picker/index.mjs +37 -8
- package/form-holder/index.mjs +4 -1
- package/form-input/index.mjs +3 -1
- package/form-input-email/index.mjs +9 -5
- package/form-input-id-card/index.mjs +9 -5
- package/form-input-number/index.mjs +3 -1
- package/form-input-phone-number/index.mjs +9 -5
- package/form-input-time/index.mjs +3 -1
- package/form-item/index.mjs +28 -22
- package/form-item-group/index.mjs +11 -8
- package/form-radio-group/index.mjs +3 -1
- package/form-select/index.mjs +3 -1
- package/form-switch/index.mjs +3 -1
- package/form-textarea/index.mjs +3 -1
- package/form-view/index.mjs +25 -3
- package/fy-array/index.mjs +2 -2
- package/fy-cascader/index.mjs +1 -1
- package/fy-checkbox/index.mjs +1 -1
- package/fy-code/index.mjs +1 -1
- package/fy-curd/index.mjs +113 -95
- package/fy-date/index.mjs +1 -1
- package/fy-draggable/index.mjs +2 -2
- package/fy-dynamic/index.mjs +42 -34
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +5 -5
- package/fy-form-design/index.mjs +537 -419
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +1 -1
- package/fy-input-color/index.mjs +1 -1
- package/fy-input-icon/index.mjs +1 -1
- package/fy-input-map/index.mjs +14 -8
- package/fy-input-number/index.mjs +1 -1
- package/fy-input-table/index.mjs +12 -9
- package/fy-input-tree/index.mjs +1 -1
- package/fy-radio/index.mjs +1 -1
- package/fy-rate/index.mjs +1 -1
- package/fy-select/index.mjs +3 -3
- package/fy-slider/index.mjs +2 -2
- package/fy-switch/index.mjs +1 -1
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +4 -7
- package/fy-u-editor/index.mjs +32 -30
- package/fy-upload/index.mjs +14 -14
- package/image-cropper/index.mjs +1 -1
- package/image-preview/index.mjs +1 -1
- package/keep-view-alive/index.mjs +5 -1
- package/keyboard/index.mjs +9 -8
- package/license/index.mjs +1 -1
- package/login/index.mjs +1 -1
- package/not-implement/index.mjs +1 -1
- package/notice/index.mjs +4 -4
- package/package.json +1 -1
- package/pageable-table/index.mjs +9 -14
- package/pageable-view/index.mjs +9 -14
- package/photo-swipe/index.mjs +3 -1
- package/present-view/index.mjs +24 -2
- package/record-video/index.mjs +1 -1
- package/search/index.mjs +3 -3
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +1 -1
- package/sign-panel/index.mjs +3 -3
- package/split-pane/index.mjs +1 -4
- package/table-column/index.mjs +9 -5
- package/table-view/index.mjs +22 -2
- package/text-ellipsis/index.mjs +2 -5
- package/tinymce-editor/index.mjs +14 -14
- package/verify/index.mjs +1 -1
- package/vue-tree-select/index.mjs +24 -21
- package/vue-video-player/index.mjs +8 -5
- package/web-types.json +31 -31
package/fy-form-design/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.dic[data-v-1d95d416]{margin-bottom:5px;display:flex}.el-tag[data-v-4d9443ba]{vertical-align:top}.el-tag+.el-tag[data-v-4d9443ba]{margin-left:5px}.input-new-tag[data-v-4d9443ba]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-4d9443ba]{vertical-align:top;left:10px}.custom-tree-node[data-v-effc82e6]{flex:1;justify-content:space-between;align-items:center;padding-right:8px;font-size:14px;display:flex}.form-designer{background:#fff;outline:1px solid #e4e7ed;height:100%}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:transparent!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{margin:0;padding:0 10px 10px;position:relative;overflow:hidden}.form-designer .fields-list .field-label{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:47%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{color:#333;cursor:move;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label>a span{vertical-align:middle;display:inline-block}.form-designer .fields-list .field-label-disabled{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:48%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{cursor:not-allowed;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label-disabled>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label-disabled>a span{vertical-align:middle;display:inline-block}.form-designer .widget-container{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;flex:1}.form-designer .widget-container .widget-container-header{border-bottom:2px solid #e4e7ed;justify-content:space-between;align-items:center;display:flex;height:45px!important}.form-designer .widget-container .el-main{padding:0;position:relative}.form-designer .widget-form-container{height:100%;position:relative;top:0;bottom:0;left:0;right: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-x:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{border-left:5px solid transparent;min-height:30px;margin:0;padding:5px 10px 18px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{z-index:1001;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{z-index:1002;position:absolute;bottom:-32px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{z-index:1002;position:absolute;bottom:-32px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{outline-offset:-1px;outline:1px dashed #ccc;width:100%;height:100%;min-height:103px;padding:10px 5px;display:flex;overflow-y:hidden}.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{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:90px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{width:33.3%;min-width:33.3%;height:100%;padding:1px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{z-index:1002;position:absolute;bottom:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{z-index:1002;position:absolute;bottom:0;right:30px}.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{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .widget-form-group{float:left;width:100%;padding:2px;position:relative}.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{outline-offset:-1px;outline:1px dashed #ccc;height:100%;min-height:150px;padding-bottom:15px;overflow:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:57px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{background:#fff;border-left:5px solid transparent;margin:3px;padding:10px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{z-index:1002;position:absolute;bottom:-24px;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{z-index:1002;position:absolute;bottom:-24px;right:34px}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.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{box-sizing:border-box;content:"";background:#fff;border-top:5px solid #409eff;outline:0;width:100%;margin:2px 0;font-size:0;position:relative;overflow:hidden;height:0!important;padding:0!important}.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{z-index:1000;background:#fff;height:45px;margin:0}.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{margin:0;display:block;position:relative;top: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{align-items:center;width:100%;display:flex}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.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-bottom:none;border-left: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{z-index:1003;box-sizing:border-box;background:#fff;width:100%;padding:20px;top:0;bottom:0;left:0;right:0;height:100%!important;position:fixed!important}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{padding:20px;display:flex;position:absolute;bottom:0;left:0;right:0}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{width:50%;display:inline-block}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}
|
|
1
|
+
.dic[data-v-63affb6e]{margin-bottom:5px;display:flex}.el-tag[data-v-46dd2f58]{vertical-align:top}.el-tag+.el-tag[data-v-46dd2f58]{margin-left:5px}.input-new-tag[data-v-46dd2f58]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-46dd2f58]{vertical-align:top;left:10px}.custom-tree-node[data-v-003c4e97]{flex:1;justify-content:space-between;align-items:center;padding-right:8px;font-size:14px;display:flex}.form-designer{background:#fff;outline:1px solid #e4e7ed;height:100%}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:transparent!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{margin:0;padding:0 10px 10px;position:relative;overflow:hidden}.form-designer .fields-list .field-label{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:47%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{color:#333;cursor:move;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label>a span{vertical-align:middle;display:inline-block}.form-designer .fields-list .field-label-disabled{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:48%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{cursor:not-allowed;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label-disabled>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label-disabled>a span{vertical-align:middle;display:inline-block}.form-designer .widget-container{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;flex:1}.form-designer .widget-container .widget-container-header{border-bottom:2px solid #e4e7ed;justify-content:space-between;align-items:center;display:flex;height:45px!important}.form-designer .widget-container .el-main{padding:0;position:relative}.form-designer .widget-form-container{height:100%;position:relative;top:0;bottom:0;left:0;right: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-x:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{border-left:5px solid transparent;min-height:30px;margin:0;padding:5px 10px 18px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{z-index:1001;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{z-index:1002;position:absolute;bottom:-32px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{z-index:1002;position:absolute;bottom:-32px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{outline-offset:-1px;outline:1px dashed #ccc;width:100%;height:100%;min-height:103px;padding:10px 5px;display:flex;overflow-y:hidden}.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{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:90px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{width:33.3%;min-width:33.3%;height:100%;padding:1px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{z-index:1002;position:absolute;bottom:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{z-index:1002;position:absolute;bottom:0;right:30px}.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{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .widget-form-group{float:left;width:100%;padding:2px;position:relative}.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{outline-offset:-1px;outline:1px dashed #ccc;height:100%;min-height:150px;padding-bottom:15px;overflow:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:57px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{background:#fff;border-left:5px solid transparent;margin:3px;padding:10px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{z-index:1002;position:absolute;bottom:-24px;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{z-index:1002;position:absolute;bottom:-24px;right:34px}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.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{box-sizing:border-box;content:"";background:#fff;border-top:5px solid #409eff;outline:0;width:100%;margin:2px 0;font-size:0;position:relative;overflow:hidden;height:0!important;padding:0!important}.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{z-index:1000;background:#fff;height:45px;margin:0}.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{margin:0;display:block;position:relative;top: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{align-items:center;width:100%;display:flex}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.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-bottom:none;border-left: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{z-index:1003;box-sizing:border-box;background:#fff;width:100%;padding:20px;top:0;bottom:0;left:0;right:0;height:100%!important;position:fixed!important}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{padding:20px;display:flex;position:absolute;bottom:0;left:0;right:0}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{width:50%;display:inline-block}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}
|
package/fy-input/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as a, e as p } from "../chunks/event.
|
|
1
|
+
import { p as a, e as p } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
2
|
import { n as l } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var s = function() {
|
|
4
4
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
package/fy-input-color/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as a, e as o } from "../chunks/event.
|
|
1
|
+
import { p as a, e as o } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
2
|
import { n as s } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var c = function() {
|
|
4
4
|
var e = this, t = e.$createElement, l = e._self._c || t;
|
package/fy-input-icon/index.mjs
CHANGED
|
@@ -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.lbJYeMJp.mjs";
|
|
2
2
|
import r from "@web-utils/component/icon-temp";
|
|
3
3
|
import "@web-utils/component/icon-temp/style.css";
|
|
4
4
|
import { n as c } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
package/fy-input-map/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p, e as u } from "../chunks/event.
|
|
1
|
+
import { p, e as u } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
2
|
import { isBlank as d } from "@web-utils/core";
|
|
3
3
|
import { n as h } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
4
4
|
var m = function() {
|
|
@@ -223,13 +223,19 @@ const _ = {
|
|
|
223
223
|
});
|
|
224
224
|
},
|
|
225
225
|
init(e) {
|
|
226
|
-
this.map = new window.AMap.Map(
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
226
|
+
this.map = new window.AMap.Map(
|
|
227
|
+
"map__container",
|
|
228
|
+
Object.assign(
|
|
229
|
+
{
|
|
230
|
+
zoom: 13,
|
|
231
|
+
center: (() => {
|
|
232
|
+
if (this.longitude && this.latitude)
|
|
233
|
+
return [this.longitude, this.latitude];
|
|
234
|
+
})()
|
|
235
|
+
},
|
|
236
|
+
this.params
|
|
237
|
+
)
|
|
238
|
+
), this.initPoip(), this.addClick(), e();
|
|
233
239
|
},
|
|
234
240
|
initPoip() {
|
|
235
241
|
window.AMapUI.loadUI(["misc/PoiPicker"], (e) => {
|
|
@@ -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.lbJYeMJp.mjs";
|
|
2
2
|
import { n as s } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var i = function() {
|
|
4
4
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
package/fy-input-table/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as o, e as r } from "../chunks/event.
|
|
1
|
+
import { p as o, e as r } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
2
|
import { isBlank as n } from "@web-utils/core";
|
|
3
3
|
import { n as l } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
4
4
|
var h = function() {
|
|
@@ -105,14 +105,17 @@ const u = {
|
|
|
105
105
|
return typeof this.formatter == "function" ? this.formatter(this.object) : this.object[this.labelKey] || "";
|
|
106
106
|
},
|
|
107
107
|
option() {
|
|
108
|
-
return Object.assign(
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
108
|
+
return Object.assign(
|
|
109
|
+
{
|
|
110
|
+
menu: !1,
|
|
111
|
+
header: !1,
|
|
112
|
+
size: this.size,
|
|
113
|
+
headerAlign: "center",
|
|
114
|
+
align: "center",
|
|
115
|
+
highlightCurrentRow: !0
|
|
116
|
+
},
|
|
117
|
+
this.column.children
|
|
118
|
+
);
|
|
116
119
|
}
|
|
117
120
|
},
|
|
118
121
|
watch: {
|
package/fy-input-tree/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as u, e as h } from "../chunks/event.
|
|
1
|
+
import { p as u, e as h } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
2
|
import { isBlank as n } from "@web-utils/core";
|
|
3
3
|
import { n as p } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
4
4
|
var f = function() {
|
package/fy-radio/index.mjs
CHANGED
|
@@ -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.lbJYeMJp.mjs";
|
|
2
2
|
import { n as i } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var c = function() {
|
|
4
4
|
var e = this, t = e.$createElement, a = e._self._c || t;
|
package/fy-rate/index.mjs
CHANGED
|
@@ -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.lbJYeMJp.mjs";
|
|
2
2
|
import { n } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var i = function() {
|
|
4
4
|
var e = this, o = e.$createElement, s = e._self._c || o;
|
package/fy-select/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as r, e as c } from "../chunks/event.
|
|
2
|
-
import { s as d } from "../chunks/dic.
|
|
3
|
-
import { b as u } from "../chunks/util.
|
|
1
|
+
import { p as r, e as c } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
|
+
import { s as d } from "../chunks/dic.7JBaVHv6.mjs";
|
|
3
|
+
import { b as u } from "../chunks/util.y1gUGRqi.mjs";
|
|
4
4
|
import { isBlank as p } from "@web-utils/core";
|
|
5
5
|
import { p as h } from "../chunks/packages.v6r2Hr7E.mjs";
|
|
6
6
|
import { n as f } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
package/fy-slider/index.mjs
CHANGED
|
@@ -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.lbJYeMJp.mjs";
|
|
2
|
+
import { s as i } from "../chunks/util.y1gUGRqi.mjs";
|
|
3
3
|
import { n as a } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
4
4
|
var p = function() {
|
|
5
5
|
var t = this, o = t.$createElement, s = t._self._c || o;
|
package/fy-switch/index.mjs
CHANGED
|
@@ -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.lbJYeMJp.mjs";
|
|
2
2
|
import { n as r } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var o = function() {
|
|
4
4
|
var e = this, t = e.$createElement, a = e._self._c || t;
|
package/fy-time/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as o, e as l } from "../chunks/event.
|
|
1
|
+
import { p as o, e as l } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
2
|
import { isBlank as i } from "@web-utils/core";
|
|
3
3
|
import { n as s } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
4
4
|
var c = function() {
|
package/fy-title/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as r, e as o } from "../chunks/event.
|
|
1
|
+
import { p as r, e as o } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
2
|
import { n as l } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var a = function() {
|
|
4
4
|
var t = this, e = t.$createElement, n = t._self._c || e;
|
package/fy-tree/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as d, o as l, a as r } from "../chunks/util.
|
|
1
|
+
import { s as d, o as l, a as r } from "../chunks/util.y1gUGRqi.mjs";
|
|
2
2
|
import { p as u } from "../chunks/permission.E9kZbW48.mjs";
|
|
3
3
|
import { isBlank as p } from "@web-utils/core";
|
|
4
4
|
import { n as f } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
@@ -273,12 +273,9 @@ const v = {
|
|
|
273
273
|
return this.option.defaultExpandedKeys;
|
|
274
274
|
},
|
|
275
275
|
formOption() {
|
|
276
|
-
return Object.assign(
|
|
277
|
-
this.
|
|
278
|
-
|
|
279
|
-
submitText: this.addText
|
|
280
|
-
}
|
|
281
|
-
);
|
|
276
|
+
return Object.assign(this.option.formOption || {}, {
|
|
277
|
+
submitText: this.addText
|
|
278
|
+
});
|
|
282
279
|
}
|
|
283
280
|
},
|
|
284
281
|
watch: {
|
package/fy-u-editor/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
1
|
+
var S = Object.defineProperty, C = Object.defineProperties;
|
|
2
2
|
var b = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var f = Object.getOwnPropertySymbols;
|
|
4
4
|
var v = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var p = (e, t, r) => t in e ? S(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, u = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
v.call(t, r) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
x.call(t, r) &&
|
|
7
|
+
v.call(t, r) && p(e, r, t[r]);
|
|
8
|
+
if (f)
|
|
9
|
+
for (var r of f(t))
|
|
10
|
+
x.call(t, r) && p(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, m = (e, t) =>
|
|
12
|
+
}, m = (e, t) => C(e, b(t));
|
|
13
13
|
var h = (e, t, r) => new Promise((o, i) => {
|
|
14
14
|
var a = (s) => {
|
|
15
15
|
try {
|
|
@@ -27,18 +27,18 @@ var h = (e, t, r) => new Promise((o, i) => {
|
|
|
27
27
|
d((r = r.apply(e, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import "@wangeditor/editor/dist/css/style.css";
|
|
30
|
-
import { createEditor as A, createToolbar as
|
|
31
|
-
import { p as
|
|
32
|
-
import { n as
|
|
33
|
-
const
|
|
30
|
+
import { createEditor as A, createToolbar as _ } from "@wangeditor/editor";
|
|
31
|
+
import { p as O } from "../chunks/util.y1gUGRqi.mjs";
|
|
32
|
+
import { n as w } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
33
|
+
const K = (e) => {
|
|
34
34
|
const { region: t, endpoint: r, accessKeyId: o, accessKeySecret: i, bucket: a } = e;
|
|
35
35
|
return new window.OSS({ region: t, endpoint: r, accessKeyId: o, accessKeySecret: i, bucket: a });
|
|
36
|
-
},
|
|
36
|
+
}, H = (e, t, r) => {
|
|
37
37
|
let { scope: o, deadline: i } = r;
|
|
38
|
-
var a = JSON.stringify({ scope: o, deadline: i }), l = k(
|
|
38
|
+
var a = JSON.stringify({ scope: o, deadline: i }), l = j(k(a)), d = window.CryptoJS.HmacSHA1(l, t), s = d.toString(window.CryptoJS.enc.Base64), n = e + ":" + E(s) + ":" + l;
|
|
39
39
|
return n;
|
|
40
40
|
};
|
|
41
|
-
function
|
|
41
|
+
function k(e) {
|
|
42
42
|
var t, r, o, i;
|
|
43
43
|
for (t = "", o = e.length, r = 0; r < o; r++)
|
|
44
44
|
i = e.charCodeAt(r), i >= 1 && i <= 127 ? t += e.charAt(r) : i > 2047 ? (t += String.fromCharCode(224 | i >> 12 & 15), t += String.fromCharCode(128 | i >> 6 & 63), t += String.fromCharCode(128 | i >> 0 & 63)) : (t += String.fromCharCode(192 | i >> 6 & 31), t += String.fromCharCode(128 | i >> 0 & 63));
|
|
@@ -175,7 +175,7 @@ new Array(
|
|
|
175
175
|
-1,
|
|
176
176
|
-1
|
|
177
177
|
);
|
|
178
|
-
function
|
|
178
|
+
function j(e) {
|
|
179
179
|
var t, r, o, i, a, l;
|
|
180
180
|
for (o = e.length, r = 0, t = ""; r < o; ) {
|
|
181
181
|
if (i = e.charCodeAt(r++) & 255, r == o) {
|
|
@@ -190,9 +190,9 @@ function k(e) {
|
|
|
190
190
|
}
|
|
191
191
|
return t;
|
|
192
192
|
}
|
|
193
|
-
var
|
|
193
|
+
var E = function(e) {
|
|
194
194
|
return e = e.replace(/\+/g, "-"), e = e.replace(/\//g, "_"), e;
|
|
195
|
-
},
|
|
195
|
+
}, F = function() {
|
|
196
196
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
197
197
|
return r("div", {
|
|
198
198
|
staticClass: "avue-ueditor"
|
|
@@ -322,14 +322,16 @@ const I = {
|
|
|
322
322
|
this.$emit("input", i);
|
|
323
323
|
}
|
|
324
324
|
});
|
|
325
|
-
this.editor = Object.seal(
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
325
|
+
this.editor = Object.seal(
|
|
326
|
+
A({
|
|
327
|
+
selector: this.$refs.editor,
|
|
328
|
+
config: t,
|
|
329
|
+
html: this.value,
|
|
330
|
+
mode: e
|
|
331
|
+
})
|
|
332
|
+
);
|
|
331
333
|
const r = u({}, this.toolbarConfig);
|
|
332
|
-
this.toolbar =
|
|
334
|
+
this.toolbar = _({
|
|
333
335
|
editor: this.editor,
|
|
334
336
|
selector: this.$refs.toolbar,
|
|
335
337
|
config: r,
|
|
@@ -348,13 +350,13 @@ const I = {
|
|
|
348
350
|
l.append(s, this.data[s]);
|
|
349
351
|
}), this.isQiniuOSS) {
|
|
350
352
|
i = this.qiniu;
|
|
351
|
-
const s =
|
|
353
|
+
const s = H(i.AK, i.SK, {
|
|
352
354
|
scope: i.scope,
|
|
353
355
|
deadline: (/* @__PURE__ */ new Date()).getTime() + i.deadline * 3600
|
|
354
356
|
});
|
|
355
357
|
l.append("token", s), d = "http://up.qiniu.com/";
|
|
356
358
|
} else
|
|
357
|
-
this.isAliOSS && (i = this.ali, a =
|
|
359
|
+
this.isAliOSS && (i = this.ali, a = K({
|
|
358
360
|
region: i.region,
|
|
359
361
|
endpoint: i.endpoint,
|
|
360
362
|
accessKeyId: i.accessKeyId,
|
|
@@ -363,7 +365,7 @@ const I = {
|
|
|
363
365
|
}));
|
|
364
366
|
(() => this.isAliOSS ? a.put(e.name, e) : this.$axios.post(d, l, { headers: o }))().then((s) => {
|
|
365
367
|
let n;
|
|
366
|
-
this.isAliOSS ? n = s : this.isQiniuOSS ? (n = s.data, n.key = i.url + n.key) : typeof this.resKey == "function" ? n = this.resKey(s.data) : (n =
|
|
368
|
+
this.isAliOSS ? n = s : this.isQiniuOSS ? (n = s.data, n.key = i.url + n.key) : typeof this.resKey == "function" ? n = this.resKey(s.data) : (n = O(s.data, this.resKey), n = n[this.urlKey]);
|
|
367
369
|
const g = this.homeUrl + n;
|
|
368
370
|
t(g);
|
|
369
371
|
}).catch((s) => {
|
|
@@ -376,9 +378,9 @@ const I = {
|
|
|
376
378
|
}
|
|
377
379
|
}
|
|
378
380
|
}, y = {};
|
|
379
|
-
var N = /* @__PURE__ */
|
|
381
|
+
var N = /* @__PURE__ */ w(
|
|
380
382
|
I,
|
|
381
|
-
|
|
383
|
+
F,
|
|
382
384
|
U,
|
|
383
385
|
!1,
|
|
384
386
|
$,
|
package/fy-upload/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as I, e as B } from "../chunks/event.
|
|
2
|
-
import { B as N, i as
|
|
3
|
-
import { p as
|
|
1
|
+
import { p as I, e as B } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
|
+
import { B as N, i as F, p as K } from "../chunks/util.y1gUGRqi.mjs";
|
|
3
|
+
import { p as A } from "../chunks/packages.v6r2Hr7E.mjs";
|
|
4
4
|
import { isBlank as b } from "@web-utils/core";
|
|
5
5
|
import { n as L } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
6
6
|
let d, g;
|
|
@@ -42,8 +42,8 @@ function D(t, e = {}, i) {
|
|
|
42
42
|
u.src = y, u.onload = function() {
|
|
43
43
|
const m = u.width, l = u.height;
|
|
44
44
|
c(m, l), g.drawImage(u, 0, 0, m, l), E(m, l);
|
|
45
|
-
const v = document.getElementById("canvas").toDataURL(t.type, n.ratio),
|
|
46
|
-
i && i(
|
|
45
|
+
const v = document.getElementById("canvas").toDataURL(t.type, n.ratio), k = N(v, t.name);
|
|
46
|
+
i && i(k);
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
function c(y, u) {
|
|
@@ -305,7 +305,7 @@ var Q = function() {
|
|
|
305
305
|
}
|
|
306
306
|
}, [t._v(" " + t._s(t.fileText || "上传") + " ")])]], 2)], 1);
|
|
307
307
|
}, W = [];
|
|
308
|
-
function
|
|
308
|
+
function O(t, e = "") {
|
|
309
309
|
return e.match(/(^http:\/\/|^https:\/\/|^\/\/|data:image\/)/) ? e : t + e;
|
|
310
310
|
}
|
|
311
311
|
const X = {
|
|
@@ -407,7 +407,7 @@ const X = {
|
|
|
407
407
|
},
|
|
408
408
|
// 单个头像图片
|
|
409
409
|
imgUrl() {
|
|
410
|
-
return b(this.text) ? null :
|
|
410
|
+
return b(this.text) ? null : O(this.homeUrl, this.text[0]);
|
|
411
411
|
},
|
|
412
412
|
fileList() {
|
|
413
413
|
const t = [];
|
|
@@ -415,7 +415,7 @@ const X = {
|
|
|
415
415
|
if (e) {
|
|
416
416
|
const o = this.isObject ? e[this.labelKey] : e.substring(e.lastIndexOf("/") + 1);
|
|
417
417
|
let s = this.isObject ? e[this.valueKey] : e;
|
|
418
|
-
s =
|
|
418
|
+
s = O(this.homeUrl, s), t.push({
|
|
419
419
|
uid: `${i}`,
|
|
420
420
|
status: "done",
|
|
421
421
|
type: this.isMediaType(s),
|
|
@@ -431,11 +431,11 @@ const X = {
|
|
|
431
431
|
},
|
|
432
432
|
methods: {
|
|
433
433
|
isMediaType(t) {
|
|
434
|
-
return
|
|
434
|
+
return F(t, this.fileType);
|
|
435
435
|
},
|
|
436
436
|
setSort() {
|
|
437
437
|
if (!window.Sortable) {
|
|
438
|
-
|
|
438
|
+
A.logs("Sortable");
|
|
439
439
|
return;
|
|
440
440
|
}
|
|
441
441
|
const t = this.$el.querySelectorAll(".avue-upload > ul")[0];
|
|
@@ -467,7 +467,7 @@ const X = {
|
|
|
467
467
|
delete(t) {
|
|
468
468
|
(this.text || []).forEach((e, i) => {
|
|
469
469
|
const o = this.isObject ? e[this.valueKey] : e;
|
|
470
|
-
|
|
470
|
+
O(this.homeUrl, o) === t.url && this.text.splice(i, 1);
|
|
471
471
|
});
|
|
472
472
|
},
|
|
473
473
|
show(t) {
|
|
@@ -501,7 +501,7 @@ const X = {
|
|
|
501
501
|
const C = x || e;
|
|
502
502
|
if (r.append(this.fileName, C), this.isQiniuOss) {
|
|
503
503
|
if (!window.CryptoJS) {
|
|
504
|
-
|
|
504
|
+
A.logs("CryptoJS"), this.hide();
|
|
505
505
|
return;
|
|
506
506
|
}
|
|
507
507
|
s = this.qiniu || this.$AVUE.qiniu;
|
|
@@ -512,7 +512,7 @@ const X = {
|
|
|
512
512
|
r.append("token", c), _ = s.bucket;
|
|
513
513
|
} else if (this.isAliOss) {
|
|
514
514
|
if (!window.OSS) {
|
|
515
|
-
|
|
515
|
+
A.logs("AliOSS"), this.hide();
|
|
516
516
|
return;
|
|
517
517
|
}
|
|
518
518
|
s = this.ali || this.$AVUE.ali, a = H(s);
|
|
@@ -527,7 +527,7 @@ const X = {
|
|
|
527
527
|
};
|
|
528
528
|
typeof this.uploadBefore == "function" ? this.uploadBefore(e, f, this.hide, this.column) : f();
|
|
529
529
|
};
|
|
530
|
-
if (
|
|
530
|
+
if (F(e.name) !== "img") {
|
|
531
531
|
p();
|
|
532
532
|
return;
|
|
533
533
|
}
|
package/image-cropper/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ var a = (e, o, t) => o in e ? c(e, o, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
u.call(o, t) && a(e, t, o[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { B as f } from "../chunks/util.
|
|
12
|
+
import { B as f } from "../chunks/util.y1gUGRqi.mjs";
|
|
13
13
|
import { VueCropper as m } from "vue-cropper";
|
|
14
14
|
import d from "vue";
|
|
15
15
|
import { n as h } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
package/image-preview/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ var r = (e, i, t) => i in e ? h(e, i, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
_.call(i, t) && r(e, t, i[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { i as p } from "../chunks/util.
|
|
12
|
+
import { i as p } from "../chunks/util.y1gUGRqi.mjs";
|
|
13
13
|
import { setPx as u } from "@web-utils/core";
|
|
14
14
|
import f from "vue";
|
|
15
15
|
import { n as g } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
@@ -93,7 +93,11 @@ const k = {
|
|
|
93
93
|
i && o && l(i, o)
|
|
94
94
|
)
|
|
95
95
|
return t;
|
|
96
|
-
const { cache: s, keys: a } = this, r = t.key == null ?
|
|
96
|
+
const { cache: s, keys: a } = this, r = t.key == null ? (
|
|
97
|
+
// same constructor may get registered as different local components
|
|
98
|
+
// so cid alone is not enough (#3269)
|
|
99
|
+
n.Ctor.cid + (n.tag ? `::${n.tag}` : "")
|
|
100
|
+
) : t.key, u = s[r];
|
|
97
101
|
u ? u.cid === n.Ctor.cid ? (t.componentInstance = u.componentInstance, y(a, r), a.push(r)) : (u.componentInstance.$destroy(), s[r] = null, this.vnodeToCache = t, this.keyToCache = r) : (this.vnodeToCache = t, this.keyToCache = r), t.data.keepAlive = !0;
|
|
98
102
|
}
|
|
99
103
|
return t || e && e[0];
|
package/keyboard/index.mjs
CHANGED
|
@@ -17,11 +17,7 @@ let T = class {
|
|
|
17
17
|
o.push(t.toString());
|
|
18
18
|
o.push("0");
|
|
19
19
|
const s = e.keys || [
|
|
20
|
-
["`"].concat(o).concat([
|
|
21
|
-
"-",
|
|
22
|
-
"=",
|
|
23
|
-
"Delete"
|
|
24
|
-
]),
|
|
20
|
+
["`"].concat(o).concat(["-", "=", "Delete"]),
|
|
25
21
|
["Tab", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]", "\\"],
|
|
26
22
|
["Caps", "a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "'", "Enter"],
|
|
27
23
|
["Shift", "z", "x", "c", "v", "b", "n", "m", ",", ".", "/", "Shift"],
|
|
@@ -353,9 +349,14 @@ const C = {
|
|
|
353
349
|
};
|
|
354
350
|
this.type === "default" ? d = new T(e) : this.type === "number" && (d = new $(e));
|
|
355
351
|
const r = this.ele.indexOf("#") === 0 ? this.ele.substring(1) : this.ele;
|
|
356
|
-
d.inputOn(
|
|
357
|
-
|
|
358
|
-
|
|
352
|
+
d.inputOn(
|
|
353
|
+
`#${r}`,
|
|
354
|
+
"value",
|
|
355
|
+
(c, i) => {
|
|
356
|
+
this.$emit("click", c, i);
|
|
357
|
+
},
|
|
358
|
+
this.rebind ? this.customClick : null
|
|
359
|
+
), this.keyboard = d;
|
|
359
360
|
},
|
|
360
361
|
bindClick(d, e) {
|
|
361
362
|
this.keyboard.onclick(d, e), this.customClick[d] = e;
|
package/license/index.mjs
CHANGED
package/login/index.mjs
CHANGED
package/not-implement/index.mjs
CHANGED
package/notice/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ var o = function() {
|
|
|
8
8
|
key: r,
|
|
9
9
|
staticClass: "avue-notice__item",
|
|
10
10
|
on: {
|
|
11
|
-
click: function(
|
|
11
|
+
click: function(v) {
|
|
12
12
|
return t.click(s);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -39,14 +39,14 @@ var o = function() {
|
|
|
39
39
|
directives: [{
|
|
40
40
|
name: "loading",
|
|
41
41
|
rawName: "v-loading",
|
|
42
|
-
value:
|
|
43
|
-
expression: "
|
|
42
|
+
value: !0,
|
|
43
|
+
expression: "true"
|
|
44
44
|
}],
|
|
45
45
|
staticClass: "avue-notice__more",
|
|
46
46
|
on: {
|
|
47
47
|
click: t.handleClick
|
|
48
48
|
}
|
|
49
|
-
}, [t._v("
|
|
49
|
+
}, [t._v("加载更多")])], 2);
|
|
50
50
|
}, c = [];
|
|
51
51
|
const i = {
|
|
52
52
|
img: "img",
|
package/package.json
CHANGED
package/pageable-table/index.mjs
CHANGED
|
@@ -355,10 +355,7 @@ const o = {
|
|
|
355
355
|
onTableScroll() {
|
|
356
356
|
this.tableScrollTop = this.$refs.table.bodyWrapper.scrollTop, this.tableScrollLeft = this.$refs.table.bodyWrapper.scrollLeft;
|
|
357
357
|
},
|
|
358
|
-
onSortChange({
|
|
359
|
-
prop: e,
|
|
360
|
-
order: a
|
|
361
|
-
}) {
|
|
358
|
+
onSortChange({ prop: e, order: a }) {
|
|
362
359
|
this.page.ascs = a === "ascending" ? e : "", this.page.descs = a === "descending" ? e : "";
|
|
363
360
|
},
|
|
364
361
|
onCurrentChange(e) {
|
|
@@ -387,17 +384,15 @@ const o = {
|
|
|
387
384
|
const a = this.page.filters.rules, t = a.findIndex((s) => s.field === e);
|
|
388
385
|
t > -1 && a.splice(t, 1);
|
|
389
386
|
},
|
|
390
|
-
addFilter({
|
|
391
|
-
field: e,
|
|
392
|
-
op: a,
|
|
393
|
-
value: t
|
|
394
|
-
}) {
|
|
387
|
+
addFilter({ field: e, op: a, value: t }) {
|
|
395
388
|
this.page.filters = Object.assign({}, this.page.filters, {
|
|
396
|
-
rules: [
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
389
|
+
rules: [
|
|
390
|
+
{
|
|
391
|
+
field: e,
|
|
392
|
+
op: a,
|
|
393
|
+
value: t
|
|
394
|
+
}
|
|
395
|
+
],
|
|
401
396
|
op: "and"
|
|
402
397
|
});
|
|
403
398
|
},
|