@web-utils/component 4.0.0 → 4.0.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/awesome-button/index.mjs +25 -55
- package/base.css +1 -1
- package/card/style.css +1 -1
- package/carousel/style.css +1 -1
- package/chat/style.css +1 -1
- package/chunks/{ElementForm.8w6UkiuU.mjs → ElementForm.CQ3PN5qj.mjs} +17 -35
- package/chunks/{ElementListeners.DOy8wyD2.mjs → ElementListeners.De_PRuIm.mjs} +56 -95
- package/chunks/{ElementMultiInstance.3Z28ewuh.mjs → ElementMultiInstance.DQo2wuAQ.mjs} +16 -26
- package/chunks/{ElementProperties.B2I48muA.mjs → ElementProperties.CosfDrlW.mjs} +16 -16
- package/chunks/{ElementTaskConfig.MBbkLrth.mjs → ElementTaskConfig.Bko0kgTp.mjs} +104 -113
- package/chunks/{FlowCondition.BfU9kw6h.mjs → FlowCondition.Y6qEYi1T.mjs} +36 -66
- package/chunks/{SignalAndMessage.CH6L7cYu.mjs → SignalAndMessage.Bb5PFX0N.mjs} +11 -22
- package/chunks/{UserTaskListeners.XXe5dC5I.mjs → UserTaskListeners.Bv3BDfEI.mjs} +45 -86
- package/chunks/configComponents.BDhlZU8F.mjs +23 -0
- package/chunks/confirmable-mixin.D9aKzKZ9.mjs +85 -0
- package/chunks/core.DJEgjQW6.mjs +54 -0
- package/chunks/dictionary.DqiP9x2m.mjs +25 -0
- package/chunks/dictionary.DsN-2ukC.mjs +70 -0
- package/chunks/form-input.B8z37eqj.mjs +31 -0
- package/chunks/form-item.D-H-wCPE.mjs +233 -0
- package/chunks/form-validate.CVarNHKX.mjs +12 -0
- package/chunks/helper.BiMLcEEk.mjs +41 -0
- package/chunks/index.9OxHjTIE.mjs +16 -0
- package/chunks/{index.MAFc4eFi.mjs → index.d3MV3Wq2.mjs} +43 -47
- package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
- package/chunks/{tab-mixin.CVr9bZtn.mjs → tab-mixin.BNK6dxLN.mjs} +1 -1
- package/chunks/utilSelf.Csq1766E.mjs +48 -0
- package/color-picker/index.mjs +19 -37
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +13 -24
- package/custom-scrollbar/index.mjs +1 -2
- package/data-operatext/style.css +1 -1
- package/data-panel/style.css +1 -1
- package/data-pay/style.css +1 -1
- package/data-price/style.css +1 -1
- package/data-rotate/style.css +1 -1
- package/data-table-picker/index.mjs +1 -1
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +16 -28
- package/dynamic-table/style.css +1 -1
- package/easy-popup/index.mjs +22 -40
- package/easy-popup/style.css +1 -1
- package/editable-tree/index.mjs +203 -250
- package/editable-tree/style.css +1 -1
- package/element-dialog/index.mjs +30 -52
- package/element-dialog/style.css +1 -1
- package/flex-column/index.mjs +13 -25
- package/flex-item/index.mjs +15 -27
- package/flex-row/index.mjs +13 -25
- package/flow-designer/index.mjs +343 -374
- package/flow-designer/style.css +1 -1
- package/flow-viewer/index.mjs +64 -91
- package/form-block/index.mjs +33 -26
- package/form-card/index.mjs +25 -0
- package/form-cascader/index.mjs +70 -67
- package/form-checkbox/index.mjs +71 -0
- package/form-checkbox-group/index.mjs +33 -53
- package/form-date-picker/index.mjs +44 -73
- package/form-holder/index.mjs +54 -40
- package/form-holder/style.css +1 -0
- package/form-input/index.mjs +62 -40
- package/form-input-cron-expression/index.mjs +77 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.mjs +21 -33
- package/form-input-id-card/index.mjs +25 -38
- package/form-input-number/index.mjs +39 -42
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +26 -37
- package/form-input-tag/index.mjs +32 -34
- package/form-input-time/index.mjs +22 -37
- package/form-item/index.mjs +109 -101
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +18 -10
- package/form-item-group/index.mjs +73 -69
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +41 -36
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +142 -75
- package/form-select/style.css +1 -0
- package/form-switch/index.mjs +29 -34
- package/form-table/index.mjs +85 -0
- package/form-table-plus/index.mjs +109 -0
- package/form-textarea/index.mjs +23 -35
- package/form-tree-select/index.mjs +72 -0
- package/form-tree-select/style.css +1 -0
- package/form-tree-select-multiple/index.mjs +78 -0
- package/form-view/index.mjs +37 -69
- package/form-view/style.css +1 -1
- package/fy-curd/index.mjs +131 -140
- package/fy-curd/style.css +1 -1
- package/fy-draggable/index.mjs +16 -26
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +48 -57
- package/fy-empty/style.css +1 -1
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +314 -339
- package/fy-form-design/style.css +1 -1
- package/fy-input-map/index.mjs +40 -50
- package/fy-input-map/style.css +1 -1
- package/fy-input-table/index.mjs +31 -41
- package/fy-u-editor/index.mjs +77 -103
- package/fy-upload/style.css +1 -1
- package/highlight-j-s/style.css +1 -1
- package/image-cropper/index.mjs +14 -65
- package/image-preview/index.mjs +17 -45
- package/image-preview/style.css +1 -1
- package/image-viewer/style.css +1 -1
- package/index.mjs +666 -496
- package/input-number/index.mjs +64 -9
- package/keyboard/style.css +1 -1
- package/monaco-editor/index.mjs +43 -71
- package/name-avatar/style.css +1 -1
- package/package.json +5 -4
- package/page-index/index.mjs +30 -54
- package/page-index-top/index.mjs +25 -47
- package/pageable-table/index.mjs +385 -218
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +56 -95
- package/photo-swipe/index.mjs +51 -74
- package/picker-table-view/index.mjs +117 -0
- package/present-view/index.mjs +43 -77
- package/present-view/style.css +1 -1
- package/resize-observer/index.mjs +1 -1
- package/resize-observer/style.css +1 -1
- package/search/style.css +1 -1
- package/search-popover/index.mjs +28 -48
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +1 -1
- package/sign-panel/style.css +1 -1
- package/skeleton-panel/index.mjs +38 -0
- package/skeleton-panel/style.css +1 -0
- package/split-pane/index.mjs +31 -49
- package/split-pane/style.css +1 -1
- package/sub-table/index.mjs +206 -0
- package/sub-table/style.css +1 -0
- package/sub-table-plus/index.mjs +231 -0
- package/sub-table-plus/style.css +1 -0
- package/swiper/index.mjs +18 -38
- package/swiper/style.css +1 -1
- package/tab/index.mjs +1 -1
- package/tab/style.css +1 -1
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +166 -37
- package/table-column/style.css +1 -0
- package/table-view/index.mjs +177 -132
- package/table-view/style.css +1 -1
- package/tabs-view/index.mjs +104 -0
- package/tabs-view/style.css +1 -0
- package/tag-render/index.mjs +13 -24
- package/toolbar/index.mjs +115 -58
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +92 -48
- package/vue-cron/index.mjs +47 -65
- package/vue-qr-code/index.mjs +14 -32
- package/vue-quill-editor/index.mjs +13 -24
- package/vue-tags-input/index.mjs +10 -21
- package/vue-tree-select/index.mjs +352 -393
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +34 -63
- package/watermark/index.mjs +21 -31
- package/web-types.json +9240 -3840
- package/x-input-tag/index.mjs +29 -61
- package/chunks/confirmable-mixin.D4LAArE5.mjs +0 -114
- package/chunks/form-input-mixin.BkKiqJhi.mjs +0 -24
- package/chunks/form-item-mixin.CG4ZwzMC.mjs +0 -140
- package/chunks/input-number-mixin.CzjtGf2n.mjs +0 -60
- package/chunks/utilSelf.CRqpl0Cz.mjs +0 -56
- package/toolbar-button/style.css +0 -1
- /package/chunks/{form-pick-mixin.BFTIVn_i.mjs → form-pick.BFTIVn_i.mjs} +0 -0
package/fy-form-design/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.dic[data-v-31aa4f25]{margin-bottom:5px;display:flex}.el-tag[data-v-befe1506]{vertical-align:top}.el-tag+.el-tag[data-v-befe1506]{margin-left:5px}.input-new-tag[data-v-befe1506]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-befe1506]{vertical-align:top;left:10px}.custom-tree-node[data-v-8d588d56]{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-31aa4f25]{margin-bottom:5px;display:flex}.el-tag[data-v-befe1506]{vertical-align:top}.el-tag+.el-tag[data-v-befe1506]{margin-left:5px}.input-new-tag[data-v-befe1506]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-befe1506]{vertical-align:top;left:10px}.custom-tree-node[data-v-8d588d56]{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:#0000!important;border-radius:10px!important;box-shadow:inset 0 0 6px #0000!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px #0000!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:hidden scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{border-left:5px solid #0000;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 #0000;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-map/index.mjs
CHANGED
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
for (var i in e || (e = {}))
|
|
6
|
-
m.call(e, i) && l(t, i, e[i]);
|
|
7
|
-
if (d)
|
|
8
|
-
for (var i of d(e))
|
|
9
|
-
f.call(e, i) && l(t, i, e[i]);
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import { p as _, e as k } from "../chunks/event.9aDS6jcw.mjs";
|
|
13
|
-
import { isBlank as p } from "@web-utils/core";
|
|
14
|
-
import { n as g } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
15
|
-
const b = {
|
|
1
|
+
import { p as c, e as p } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
+
import { isBlank as d } from "@web-utils/core";
|
|
3
|
+
import { n as h } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
+
const u = {
|
|
16
5
|
name: "FyInputMap",
|
|
17
|
-
mixins: [
|
|
6
|
+
mixins: [c, p],
|
|
18
7
|
props: {
|
|
19
8
|
dialogWidth: {
|
|
20
9
|
type: String,
|
|
@@ -57,10 +46,10 @@ const b = {
|
|
|
57
46
|
this.formattedAddress = t.formattedAddress;
|
|
58
47
|
},
|
|
59
48
|
value(t) {
|
|
60
|
-
|
|
49
|
+
d(t) && (this.poi = {}, this.address = "");
|
|
61
50
|
},
|
|
62
51
|
text(t) {
|
|
63
|
-
|
|
52
|
+
d(t) || (this.poi = {
|
|
64
53
|
longitude: t[0],
|
|
65
54
|
latitude: t[1],
|
|
66
55
|
formattedAddress: t[2]
|
|
@@ -107,10 +96,10 @@ const b = {
|
|
|
107
96
|
// 获取坐标
|
|
108
97
|
getAddress(t, e) {
|
|
109
98
|
this.service = new window.AMap.service("AMap.Geocoder", () => {
|
|
110
|
-
new window.AMap.Geocoder({}).getAddress([t, e], (
|
|
111
|
-
if (
|
|
112
|
-
const
|
|
113
|
-
this.poi = Object.assign(
|
|
99
|
+
new window.AMap.Geocoder({}).getAddress([t, e], (i, n) => {
|
|
100
|
+
if (i === "complete" && n.info === "OK") {
|
|
101
|
+
const l = n.regeocode;
|
|
102
|
+
this.poi = Object.assign(l, {
|
|
114
103
|
longitude: t,
|
|
115
104
|
latitude: e
|
|
116
105
|
});
|
|
@@ -129,17 +118,18 @@ const b = {
|
|
|
129
118
|
addClick() {
|
|
130
119
|
this.map.on("click", (t) => {
|
|
131
120
|
if (this.disabled || this.readonly) return;
|
|
132
|
-
const e = t.lnglat,
|
|
133
|
-
this.addMarker(
|
|
121
|
+
const e = t.lnglat, a = e.P || e.Q, i = e.R;
|
|
122
|
+
this.addMarker(i, a), this.getAddress(i, a);
|
|
134
123
|
});
|
|
135
124
|
},
|
|
136
125
|
init(t) {
|
|
137
|
-
this.map = new window.AMap.Map("map__container",
|
|
126
|
+
this.map = new window.AMap.Map("map__container", {
|
|
138
127
|
zoom: 13,
|
|
139
128
|
center: (() => {
|
|
140
129
|
if (this.longitude && this.latitude) return [this.longitude, this.latitude];
|
|
141
|
-
})()
|
|
142
|
-
|
|
130
|
+
})(),
|
|
131
|
+
...this.params
|
|
132
|
+
}), this.initPoip(), this.addClick(), t();
|
|
143
133
|
},
|
|
144
134
|
initPoip() {
|
|
145
135
|
window.AMapUI.loadUI(["misc/PoiPicker"], (t) => {
|
|
@@ -157,38 +147,38 @@ const b = {
|
|
|
157
147
|
poiPickerReady(t) {
|
|
158
148
|
this.poiPicker = t, t.on("poiPicked", (e) => {
|
|
159
149
|
this.clearMarker();
|
|
160
|
-
const
|
|
161
|
-
this.poi = Object.assign(
|
|
162
|
-
formattedAddress:
|
|
163
|
-
longitude:
|
|
164
|
-
latitude:
|
|
165
|
-
}),
|
|
150
|
+
const a = e.source, i = e.item;
|
|
151
|
+
this.poi = Object.assign(i, {
|
|
152
|
+
formattedAddress: i.name,
|
|
153
|
+
longitude: i.location.R,
|
|
154
|
+
latitude: i.location.P || i.location.Q
|
|
155
|
+
}), a !== "search" && t.searchByKeyword(i.name);
|
|
166
156
|
});
|
|
167
157
|
}
|
|
168
158
|
}
|
|
169
159
|
};
|
|
170
|
-
var
|
|
171
|
-
var e = this,
|
|
172
|
-
return
|
|
160
|
+
var m = function() {
|
|
161
|
+
var e = this, a = e._self._c;
|
|
162
|
+
return a("div", { staticClass: "avue-input-map" }, [a("ElInput", { ref: "main", attrs: { size: e.size, clearable: e.clearableVal, rows: e.rows, autosize: { minRows: e.minRows, maxRows: e.maxRows }, disabled: e.disabled, type: "textarea", placeholder: e.placeholder }, on: { clear: e.handleClear, focus: e.handleShow }, nativeOn: { click: function(i) {
|
|
173
163
|
return e.handleClick.apply(null, arguments);
|
|
174
|
-
} }, model: { value: e.address, callback: function(
|
|
175
|
-
e.address =
|
|
176
|
-
}, expression: "address" } }), e.box ?
|
|
177
|
-
e.box =
|
|
164
|
+
} }, model: { value: e.address, callback: function(i) {
|
|
165
|
+
e.address = i;
|
|
166
|
+
}, expression: "address" } }), e.box ? a("div", [a("ElementDialog", { attrs: { "show-full-screen": "", width: e.dialogWidth, title: e.placeholder, visible: e.box }, on: { "update:visible": function(i) {
|
|
167
|
+
e.box = i;
|
|
178
168
|
}, close: e.handleClose }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
179
|
-
return [e.disabled || e.readonly ? e._e() :
|
|
180
|
-
}, proxy: !0 }], null, !1, 1816263233) }, [e.box ?
|
|
181
|
-
e.formattedAddress =
|
|
182
|
-
}, expression: "formattedAddress" } }),
|
|
183
|
-
},
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
169
|
+
return [e.disabled || e.readonly ? e._e() : a("ElButton", { attrs: { type: "primary", size: e.size, icon: "el-icon-check" }, on: { click: e.handleSubmit } }, [e._v(" 确 定 ")])];
|
|
170
|
+
}, proxy: !0 }], null, !1, 1816263233) }, [e.box ? a("div", { staticClass: "avue-input-map__content" }, [a("ElInput", { staticClass: "avue-input-map__content-input", attrs: { id: "map__input", size: e.size, readonly: e.disabled, clearable: "", placeholder: "输入关键字选取地点" }, on: { clear: e.clear }, model: { value: e.formattedAddress, callback: function(i) {
|
|
171
|
+
e.formattedAddress = i;
|
|
172
|
+
}, expression: "formattedAddress" } }), a("div", { staticClass: "avue-input-map__content-box" }, [a("div", { staticClass: "avue-input-map__content-container", attrs: { id: "map__container", tabindex: "0" } }), a("div", { staticClass: "avue-input-map__content-result", attrs: { id: "map__result" } })])], 1) : e._e()])], 1) : e._e()], 1);
|
|
173
|
+
}, f = [], _ = /* @__PURE__ */ h(
|
|
174
|
+
u,
|
|
175
|
+
m,
|
|
176
|
+
f,
|
|
187
177
|
!1,
|
|
188
178
|
null,
|
|
189
179
|
null
|
|
190
180
|
);
|
|
191
|
-
const
|
|
181
|
+
const w = _.exports;
|
|
192
182
|
export {
|
|
193
|
-
|
|
183
|
+
w as default
|
|
194
184
|
};
|
package/fy-input-map/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.amap-icon img,.amap-marker-content img{width:25px;height:34px}.avue-input-map__marker{color:#fff;white-space:nowrap;background-color:#25a5f7;border-radius:3px;padding:4px 10px;font-family:"";font-size:12px;position:absolute;top:-20px;right:-118px;box-shadow:1px 1px 1px
|
|
1
|
+
.amap-icon img,.amap-marker-content img{width:25px;height:34px}.avue-input-map__marker{color:#fff;white-space:nowrap;background-color:#25a5f7;border-radius:3px;padding:4px 10px;font-family:"";font-size:12px;position:absolute;top:-20px;right:-118px;box-shadow:1px 1px 1px #0a0a0a33}.avue-input-map__content{flex-direction:column;height:100%;display:flex}.avue-input-map__content-input{margin-bottom:10px}.avue-input-map__content-box{flex:auto;position:relative}.avue-input-map__content-container{width:100%;height:100%;min-height:450px}.avue-input-map__content-result{width:250px;height:450px;position:absolute;top:0;right:-8px;overflow-y:auto;display:block!important}
|
package/fy-input-table/index.mjs
CHANGED
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
for (var t in e || (e = {}))
|
|
6
|
-
h.call(e, t) && n(a, t, e[t]);
|
|
7
|
-
if (s)
|
|
8
|
-
for (var t of s(e))
|
|
9
|
-
c.call(e, t) && n(a, t, e[t]);
|
|
10
|
-
return a;
|
|
11
|
-
};
|
|
12
|
-
import { p as d, e as u } from "../chunks/event.9aDS6jcw.mjs";
|
|
13
|
-
import { isBlank as o } from "@web-utils/core";
|
|
14
|
-
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
15
|
-
const p = {
|
|
1
|
+
import { p as n, e as r } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
+
import { isBlank as s } from "@web-utils/core";
|
|
3
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
+
const l = {
|
|
16
5
|
name: "FyInputTable",
|
|
17
|
-
mixins: [
|
|
6
|
+
mixins: [n, r],
|
|
18
7
|
props: {
|
|
19
8
|
formatter: Function,
|
|
20
9
|
onLoad: Function,
|
|
@@ -43,22 +32,23 @@ const p = {
|
|
|
43
32
|
return typeof this.formatter == "function" ? this.formatter(this.object) : this.object[this.labelKey] || "";
|
|
44
33
|
},
|
|
45
34
|
option() {
|
|
46
|
-
return
|
|
35
|
+
return {
|
|
47
36
|
menu: !1,
|
|
48
37
|
header: !1,
|
|
49
38
|
size: this.size,
|
|
50
39
|
headerAlign: "center",
|
|
51
40
|
align: "center",
|
|
52
|
-
highlightCurrentRow: !0
|
|
53
|
-
|
|
41
|
+
highlightCurrentRow: !0,
|
|
42
|
+
...this.column.children
|
|
43
|
+
};
|
|
54
44
|
}
|
|
55
45
|
},
|
|
56
46
|
watch: {
|
|
57
|
-
value(
|
|
58
|
-
|
|
47
|
+
value(t) {
|
|
48
|
+
s(t) && (this.active = {}, this.object = {});
|
|
59
49
|
},
|
|
60
|
-
text(
|
|
61
|
-
this.created ||
|
|
50
|
+
text(t) {
|
|
51
|
+
this.created || s(t) || typeof this.onLoad == "function" && this.onLoad({ value: this.text }, (e) => {
|
|
62
52
|
this.active = e, this.object = e, this.created = !0;
|
|
63
53
|
});
|
|
64
54
|
}
|
|
@@ -73,43 +63,43 @@ const p = {
|
|
|
73
63
|
setVal() {
|
|
74
64
|
this.object = this.active, this.text = this.active[this.valueKey] || "", this.handleChange(this.active), this.box = !1;
|
|
75
65
|
},
|
|
76
|
-
handleCurrentRowChange(
|
|
77
|
-
this.active =
|
|
66
|
+
handleCurrentRowChange(t) {
|
|
67
|
+
this.active = t;
|
|
78
68
|
},
|
|
79
|
-
handleSearchChange(
|
|
69
|
+
handleSearchChange(t, e) {
|
|
80
70
|
this.page.page = 1, this.onList(), e == null || e();
|
|
81
71
|
},
|
|
82
72
|
onList() {
|
|
83
|
-
this.loading = !0, typeof this.onLoad == "function" && this.onLoad({ page: this.page, data: this.search }, (
|
|
84
|
-
this.page.total =
|
|
85
|
-
const e = this.data.find((
|
|
73
|
+
this.loading = !0, typeof this.onLoad == "function" && this.onLoad({ page: this.page, data: this.search }, (t) => {
|
|
74
|
+
this.page.total = t.total, this.data = t.data, this.loading = !1;
|
|
75
|
+
const e = this.data.find((a) => a[this.valueKey] === this.object[this.valueKey]);
|
|
86
76
|
setTimeout(() => this.$refs.crud.setCurrentRow(e));
|
|
87
77
|
});
|
|
88
78
|
}
|
|
89
79
|
}
|
|
90
80
|
};
|
|
91
|
-
var
|
|
92
|
-
var e = this,
|
|
93
|
-
return
|
|
81
|
+
var h = function() {
|
|
82
|
+
var e = this, a = e._self._c;
|
|
83
|
+
return a("div", { staticClass: "avue-input-table" }, [a("ElInput", { ref: "main", attrs: { size: e.size, value: e.labelShow, clearable: e.clearableVal, placeholder: e.placeholder, disabled: e.disabled }, on: { clear: e.handleClear, focus: e.handleShow }, nativeOn: { click: function(i) {
|
|
94
84
|
return e.handleClick.apply(null, arguments);
|
|
95
|
-
} } }), e.box ?
|
|
85
|
+
} } }), e.box ? a("div", [a("ElementDialog", { attrs: { width: e.dialogWidth, title: e.placeholder, visible: e.box }, on: { "update:visible": function(i) {
|
|
96
86
|
e.box = i;
|
|
97
87
|
} }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
98
|
-
return [
|
|
99
|
-
}, proxy: !0 }], null, !1, 2921262159) }, [e.box ?
|
|
88
|
+
return [a("ElButton", { attrs: { type: "primary", size: e.size, icon: "el-icon-check" }, on: { click: e.setVal } }, [e._v(" 确 定 ")])];
|
|
89
|
+
}, proxy: !0 }], null, !1, 2921262159) }, [e.box ? a("FyCurd", { ref: "crud", staticClass: "avue-input-table__crud", attrs: { option: e.option, data: e.data, "table-loading": e.loading, search: e.search, page: e.page }, on: { "update:search": function(i) {
|
|
100
90
|
e.search = i;
|
|
101
91
|
}, "update:page": function(i) {
|
|
102
92
|
e.page = i;
|
|
103
93
|
}, "on-load": e.onList, "search-change": e.handleSearchChange, "search-reset": e.handleSearchChange, "current-row-change": e.handleCurrentRowChange } }) : e._e()], 1)], 1) : e._e()], 1);
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
94
|
+
}, c = [], d = /* @__PURE__ */ o(
|
|
95
|
+
l,
|
|
96
|
+
h,
|
|
97
|
+
c,
|
|
108
98
|
!1,
|
|
109
99
|
null,
|
|
110
100
|
null
|
|
111
101
|
);
|
|
112
|
-
const
|
|
102
|
+
const g = d.exports;
|
|
113
103
|
export {
|
|
114
|
-
|
|
104
|
+
g as default
|
|
115
105
|
};
|
package/fy-u-editor/index.mjs
CHANGED
|
@@ -1,48 +1,20 @@
|
|
|
1
|
-
var g = Object.defineProperty, S = Object.defineProperties;
|
|
2
|
-
var C = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var f = Object.getOwnPropertySymbols;
|
|
4
|
-
var b = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var p = (e, t, r) => t in e ? g(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, h = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
b.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
|
-
return e;
|
|
12
|
-
}, m = (e, t) => S(e, C(t));
|
|
13
|
-
var u = (e, t, r) => new Promise((o, i) => {
|
|
14
|
-
var n = (s) => {
|
|
15
|
-
try {
|
|
16
|
-
d(r.next(s));
|
|
17
|
-
} catch (a) {
|
|
18
|
-
i(a);
|
|
19
|
-
}
|
|
20
|
-
}, l = (s) => {
|
|
21
|
-
try {
|
|
22
|
-
d(r.throw(s));
|
|
23
|
-
} catch (a) {
|
|
24
|
-
i(a);
|
|
25
|
-
}
|
|
26
|
-
}, d = (s) => s.done ? o(s.value) : Promise.resolve(s.value).then(n, l);
|
|
27
|
-
d((r = r.apply(e, t)).next());
|
|
28
|
-
});
|
|
29
1
|
import "@wangeditor/editor/dist/css/style.css";
|
|
30
|
-
import { createEditor as
|
|
31
|
-
import { p
|
|
32
|
-
import { n as
|
|
33
|
-
const
|
|
34
|
-
const { region:
|
|
35
|
-
return new window.OSS({ region:
|
|
36
|
-
},
|
|
37
|
-
let { scope: o, deadline:
|
|
38
|
-
var
|
|
39
|
-
return
|
|
2
|
+
import { createEditor as u, createToolbar as f } from "@wangeditor/editor";
|
|
3
|
+
import { p } from "../chunks/util.DqFv_pWg.mjs";
|
|
4
|
+
import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
+
const y = (e) => {
|
|
6
|
+
const { region: i, endpoint: r, accessKeyId: o, accessKeySecret: t, bucket: a } = e;
|
|
7
|
+
return new window.OSS({ region: i, endpoint: r, accessKeyId: o, accessKeySecret: t, bucket: a });
|
|
8
|
+
}, g = (e, i, r) => {
|
|
9
|
+
let { scope: o, deadline: t } = r;
|
|
10
|
+
var a = JSON.stringify({ scope: o, deadline: t }), n = C(S(a)), d = window.CryptoJS.HmacSHA1(n, i), s = d.toString(window.CryptoJS.enc.Base64), l = e + ":" + b(s) + ":" + n;
|
|
11
|
+
return l;
|
|
40
12
|
};
|
|
41
|
-
function
|
|
42
|
-
var
|
|
43
|
-
for (
|
|
44
|
-
|
|
45
|
-
return
|
|
13
|
+
function S(e) {
|
|
14
|
+
var i, r, o, t;
|
|
15
|
+
for (i = "", o = e.length, r = 0; r < o; r++)
|
|
16
|
+
t = e.charCodeAt(r), t >= 1 && t <= 127 ? i += e.charAt(r) : t > 2047 ? (i += String.fromCharCode(224 | t >> 12 & 15), i += String.fromCharCode(128 | t >> 6 & 63), i += String.fromCharCode(128 | t >> 0 & 63)) : (i += String.fromCharCode(192 | t >> 6 & 31), i += String.fromCharCode(128 | t >> 0 & 63));
|
|
17
|
+
return i;
|
|
46
18
|
}
|
|
47
19
|
var c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
|
|
48
20
|
new Array(
|
|
@@ -175,25 +147,25 @@ new Array(
|
|
|
175
147
|
-1,
|
|
176
148
|
-1
|
|
177
149
|
);
|
|
178
|
-
function
|
|
179
|
-
var
|
|
180
|
-
for (o = e.length, r = 0,
|
|
181
|
-
if (
|
|
182
|
-
|
|
150
|
+
function C(e) {
|
|
151
|
+
var i, r, o, t, a, n;
|
|
152
|
+
for (o = e.length, r = 0, i = ""; r < o; ) {
|
|
153
|
+
if (t = e.charCodeAt(r++) & 255, r == o) {
|
|
154
|
+
i += c.charAt(t >> 2), i += c.charAt((t & 3) << 4), i += "==";
|
|
183
155
|
break;
|
|
184
156
|
}
|
|
185
|
-
if (
|
|
186
|
-
|
|
157
|
+
if (a = e.charCodeAt(r++), r == o) {
|
|
158
|
+
i += c.charAt(t >> 2), i += c.charAt((t & 3) << 4 | (a & 240) >> 4), i += c.charAt((a & 15) << 2), i += "=";
|
|
187
159
|
break;
|
|
188
160
|
}
|
|
189
|
-
|
|
161
|
+
n = e.charCodeAt(r++), i += c.charAt(t >> 2), i += c.charAt((t & 3) << 4 | (a & 240) >> 4), i += c.charAt((a & 15) << 2 | (n & 192) >> 6), i += c.charAt(n & 63);
|
|
190
162
|
}
|
|
191
|
-
return
|
|
163
|
+
return i;
|
|
192
164
|
}
|
|
193
|
-
var
|
|
165
|
+
var b = function(e) {
|
|
194
166
|
return e = e.replace(/\+/g, "-"), e = e.replace(/\//g, "_"), e;
|
|
195
167
|
};
|
|
196
|
-
const
|
|
168
|
+
const x = {
|
|
197
169
|
name: "FyUEditor",
|
|
198
170
|
props: {
|
|
199
171
|
data: {
|
|
@@ -281,46 +253,48 @@ const E = {
|
|
|
281
253
|
},
|
|
282
254
|
methods: {
|
|
283
255
|
initEdit() {
|
|
284
|
-
const e = "default",
|
|
256
|
+
const e = "default", i = {
|
|
285
257
|
placeholder: this.placeholder,
|
|
286
258
|
readOnly: this.disabled,
|
|
287
259
|
MENU_CONF: {
|
|
288
260
|
uploadImage: {
|
|
289
|
-
customUpload: (o) =>
|
|
290
|
-
const
|
|
291
|
-
this.editor.dangerouslyInsertHtml(
|
|
292
|
-
}
|
|
261
|
+
customUpload: async (o) => {
|
|
262
|
+
const t = await this.uploadFile(o);
|
|
263
|
+
this.editor.dangerouslyInsertHtml(t);
|
|
264
|
+
}
|
|
293
265
|
},
|
|
294
266
|
uploadVideo: {
|
|
295
|
-
customUpload: (o) =>
|
|
296
|
-
const
|
|
297
|
-
this.editor.dangerouslyInsertHtml(
|
|
298
|
-
}
|
|
267
|
+
customUpload: async (o) => {
|
|
268
|
+
const t = await this.uploadFile(o);
|
|
269
|
+
this.editor.dangerouslyInsertHtml(t);
|
|
270
|
+
}
|
|
299
271
|
}
|
|
300
|
-
}
|
|
301
|
-
|
|
272
|
+
},
|
|
273
|
+
...this.customConfig,
|
|
302
274
|
onFocus: () => {
|
|
303
275
|
this.$emit("focus", this.value);
|
|
304
276
|
},
|
|
305
277
|
onBlur: (o) => {
|
|
306
|
-
const
|
|
307
|
-
this.$emit("blur",
|
|
278
|
+
const t = o.getHtml();
|
|
279
|
+
this.$emit("blur", t);
|
|
308
280
|
},
|
|
309
281
|
onChange: (o) => {
|
|
310
|
-
const
|
|
311
|
-
this.$emit("input",
|
|
282
|
+
const t = o.getHtml();
|
|
283
|
+
this.$emit("input", t);
|
|
312
284
|
}
|
|
313
|
-
}
|
|
285
|
+
};
|
|
314
286
|
this.editor = Object.seal(
|
|
315
|
-
|
|
287
|
+
u({
|
|
316
288
|
selector: this.$refs.editor,
|
|
317
|
-
config:
|
|
289
|
+
config: i,
|
|
318
290
|
html: this.value,
|
|
319
291
|
mode: e
|
|
320
292
|
})
|
|
321
293
|
);
|
|
322
|
-
const r =
|
|
323
|
-
|
|
294
|
+
const r = {
|
|
295
|
+
...this.toolbarConfig
|
|
296
|
+
};
|
|
297
|
+
this.toolbar = f({
|
|
324
298
|
editor: this.editor,
|
|
325
299
|
selector: this.$refs.toolbar,
|
|
326
300
|
config: r,
|
|
@@ -328,34 +302,34 @@ const E = {
|
|
|
328
302
|
});
|
|
329
303
|
},
|
|
330
304
|
uploadFile(e) {
|
|
331
|
-
return new Promise((
|
|
305
|
+
return new Promise((i, r) => {
|
|
332
306
|
const o = Object.assign(this.headers, {
|
|
333
307
|
"Content-Type": "multipart/form-data"
|
|
334
308
|
});
|
|
335
|
-
let
|
|
336
|
-
const
|
|
309
|
+
let t = {}, a;
|
|
310
|
+
const n = new FormData();
|
|
337
311
|
let d = this.action;
|
|
338
|
-
if (
|
|
339
|
-
|
|
312
|
+
if (n.append(this.fileName, e), Object.keys(this.data).forEach((s) => {
|
|
313
|
+
n.append(s, this.data[s]);
|
|
340
314
|
}), this.isQiniuOSS) {
|
|
341
|
-
|
|
342
|
-
const s =
|
|
343
|
-
scope:
|
|
344
|
-
deadline: (/* @__PURE__ */ new Date()).getTime() +
|
|
315
|
+
t = this.qiniu;
|
|
316
|
+
const s = g(t.AK, t.SK, {
|
|
317
|
+
scope: t.scope,
|
|
318
|
+
deadline: (/* @__PURE__ */ new Date()).getTime() + t.deadline * 3600
|
|
345
319
|
});
|
|
346
|
-
|
|
347
|
-
} else this.isAliOSS && (
|
|
348
|
-
region:
|
|
349
|
-
endpoint:
|
|
350
|
-
accessKeyId:
|
|
351
|
-
accessKeySecret:
|
|
352
|
-
bucket:
|
|
320
|
+
n.append("token", s), d = "http://up.qiniu.com/";
|
|
321
|
+
} else this.isAliOSS && (t = this.ali, a = y({
|
|
322
|
+
region: t.region,
|
|
323
|
+
endpoint: t.endpoint,
|
|
324
|
+
accessKeyId: t.accessKeyId,
|
|
325
|
+
accessKeySecret: t.accessKeySecret,
|
|
326
|
+
bucket: t.bucket
|
|
353
327
|
}));
|
|
354
|
-
(this.isAliOSS ?
|
|
355
|
-
let
|
|
356
|
-
this.isAliOSS ?
|
|
357
|
-
const
|
|
358
|
-
|
|
328
|
+
(this.isAliOSS ? a.put(e.name, e) : this.$axios.post(d, n, { headers: o })).then((s) => {
|
|
329
|
+
let l;
|
|
330
|
+
this.isAliOSS ? l = s : this.isQiniuOSS ? (l = s.data, l.key = t.url + l.key) : typeof this.resKey == "function" ? l = this.resKey(s.data) : (l = p(s.data, this.resKey), l = l[this.urlKey]);
|
|
331
|
+
const h = this.homeUrl + l;
|
|
332
|
+
i(h);
|
|
359
333
|
}).catch((s) => {
|
|
360
334
|
r(s);
|
|
361
335
|
});
|
|
@@ -366,18 +340,18 @@ const E = {
|
|
|
366
340
|
}
|
|
367
341
|
}
|
|
368
342
|
};
|
|
369
|
-
var
|
|
370
|
-
var
|
|
343
|
+
var v = function() {
|
|
344
|
+
var i = this, r = i._self._c;
|
|
371
345
|
return r("div", { staticClass: "avue-ueditor" }, [r("div", { ref: "toolbar", staticClass: "fy-editor-toolbar" }), r("div", { ref: "editor", staticClass: "fy-editor" })]);
|
|
372
|
-
},
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
346
|
+
}, A = [], O = /* @__PURE__ */ m(
|
|
347
|
+
x,
|
|
348
|
+
v,
|
|
349
|
+
A,
|
|
376
350
|
!1,
|
|
377
351
|
null,
|
|
378
352
|
null
|
|
379
353
|
);
|
|
380
|
-
const
|
|
354
|
+
const k = O.exports;
|
|
381
355
|
export {
|
|
382
|
-
|
|
356
|
+
k as default
|
|
383
357
|
};
|
package/fy-upload/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-upload--upload .el-upload,.avue-upload--upload .el-upload__tip{display:none}.avue-upload--upload .el-upload--picture-img{display:inline-block}.avue-upload--upload .el-upload-list{margin-top:-6px}.avue-upload--list .el-upload{cursor:pointer;background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;position:relative;overflow:hidden}.avue-upload--list .el-upload:hover{border-color:#409eff}.avue-upload__dialog .el-dialog__header{display:none}.avue-upload__dialog .el-dialog__body{justify-content:center;padding:10px;display:flex}.avue-upload__menu{z-index:1024;background-color
|
|
1
|
+
.avue-upload--upload .el-upload,.avue-upload--upload .el-upload__tip{display:none}.avue-upload--upload .el-upload--picture-img{display:inline-block}.avue-upload--upload .el-upload-list{margin-top:-6px}.avue-upload--list .el-upload{cursor:pointer;background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;position:relative;overflow:hidden}.avue-upload--list .el-upload:hover{border-color:#409eff}.avue-upload__dialog .el-dialog__header{display:none}.avue-upload__dialog .el-dialog__body{justify-content:center;padding:10px;display:flex}.avue-upload__menu{z-index:1024;background-color:#00000080;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.avue-upload__menu i{color:#fff;margin:0 8px;font-size:20px}.avue-upload__avatar{color:#8c939d;text-align:center;width:148px;height:148px;font-size:28px;line-height:148px;display:block}
|
package/highlight-j-s/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.highlight-js{height:100%;max-height:calc(80vh - 32px);margin:0;overflow
|
|
1
|
+
.highlight-js{height:100%;max-height:calc(80vh - 32px);margin:0;overflow:hidden auto}.highlight-js .hljs{white-space:pre-wrap;word-break:break-word;height:100%}.highlight-js .hljs *{font-family:Consolas,Monaco,monospace}
|