@web-utils/component 3.0.6 → 3.1.0
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/address-input/index.mjs +20 -57
- package/affix/index.mjs +26 -47
- package/aside-menu/index.mjs +18 -43
- package/avatar/index.mjs +27 -49
- package/awesome-button/index.mjs +35 -43
- package/capsule-tab/index.mjs +16 -34
- package/card/index.mjs +21 -76
- package/carousel/index.mjs +14 -49
- package/chat/index.mjs +104 -414
- package/chunk-file-uploader/index.mjs +21 -38
- package/chunks/FormTemp.aa57efb4.mjs +125 -0
- package/code-mirror-editor/index.mjs +69 -79
- package/color-picker/index.mjs +29 -60
- package/comment/index.mjs +17 -48
- package/confirm-button/index.mjs +11 -19
- package/confirmable/index.mjs +12 -20
- package/context-menu/index.mjs +42 -144
- package/count-up/index.mjs +18 -25
- package/custom-scrollbar/index.mjs +13 -22
- package/data-box/index.mjs +15 -66
- package/data-card/index.mjs +16 -65
- package/data-cardtext/index.mjs +16 -52
- package/data-display/index.mjs +18 -62
- package/data-icons/index.mjs +16 -68
- package/data-imgtext/index.mjs +18 -79
- package/data-operatext/index.mjs +18 -75
- package/data-panel/index.mjs +16 -63
- package/data-pay/index.mjs +20 -122
- package/data-price/index.mjs +18 -60
- package/data-progress/index.mjs +16 -67
- package/data-rotate/index.mjs +16 -66
- package/data-table-picker/index.mjs +25 -88
- package/data-tabs/index.mjs +16 -64
- package/dialog-form/index.mjs +48 -94
- package/dynamic-table/index.mjs +43 -127
- package/e-charts/index.mjs +21 -34
- package/easy-popup/index.mjs +35 -61
- package/editable-progress/index.mjs +22 -77
- package/editable-tree/index.mjs +235 -546
- package/egd-collapse/index.mjs +13 -26
- package/egd-collapse-item/index.mjs +27 -87
- package/element-dialog/index.mjs +69 -133
- package/empty-view/index.mjs +13 -33
- package/error-view/index.mjs +14 -34
- package/flex-column/index.mjs +15 -23
- package/flex-item/index.mjs +18 -26
- package/flex-row/index.mjs +23 -31
- package/flex-scroller/index.mjs +16 -27
- package/flow/index.mjs +70 -110
- package/flow-designer/index.mjs +1215 -4804
- package/flow-node/index.mjs +15 -51
- package/flow-viewer/index.mjs +64 -89
- package/form-block/index.mjs +43 -62
- package/form-button/index.mjs +10 -18
- package/form-cascader/index.mjs +49 -100
- package/form-checkbox-group/index.mjs +43 -110
- package/form-date-picker/index.mjs +51 -97
- package/form-holder/index.mjs +25 -42
- package/form-input/index.mjs +40 -90
- package/form-input-email/index.mjs +35 -79
- package/form-input-id-card/index.mjs +40 -87
- package/form-input-number/index.mjs +42 -102
- package/form-input-phone-number/index.mjs +34 -75
- package/form-input-tag/index.mjs +31 -73
- package/form-input-time/index.mjs +42 -87
- package/form-item/index.mjs +70 -89
- package/form-item-config-provider/index.mjs +12 -20
- package/form-item-group/index.mjs +46 -65
- package/form-radio-group/index.mjs +50 -108
- package/form-select/index.mjs +44 -95
- package/form-switch/index.mjs +38 -85
- package/form-textarea/index.mjs +31 -75
- package/form-view/index.mjs +112 -260
- package/fy-array/index.mjs +35 -121
- package/fy-article/index.mjs +12 -43
- package/fy-cascader/index.mjs +26 -67
- package/fy-checkbox/index.mjs +27 -77
- package/fy-code/index.mjs +19 -33
- package/fy-curd/index.mjs +810 -2017
- package/fy-date/index.mjs +18 -59
- package/fy-draggable/index.mjs +81 -140
- package/fy-dynamic/index.mjs +85 -204
- package/fy-empty/index.mjs +14 -35
- package/fy-form/index.mjs +254 -571
- package/fy-form-design/index.mjs +1489 -6084
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +34 -104
- package/fy-input-color/index.mjs +22 -67
- package/fy-input-icon/index.mjs +37 -122
- package/fy-input-map/index.mjs +57 -149
- package/fy-input-number/index.mjs +18 -53
- package/fy-input-table/index.mjs +36 -102
- package/fy-input-tree/index.mjs +51 -138
- package/fy-progress/index.mjs +12 -31
- package/fy-radio/index.mjs +20 -51
- package/fy-rate/index.mjs +18 -51
- package/fy-select/index.mjs +49 -134
- package/fy-slider/index.mjs +19 -52
- package/fy-switch/index.mjs +18 -48
- package/fy-tabs/index.mjs +19 -51
- package/fy-time/index.mjs +22 -62
- package/fy-title/index.mjs +14 -25
- package/fy-tree/index.mjs +74 -216
- package/fy-u-editor/index.mjs +50 -64
- package/fy-upload/index.mjs +167 -338
- package/guide-steps/index.mjs +33 -53
- package/highlight-j-s/index.mjs +13 -27
- package/icon-card/index.mjs +12 -36
- package/icon-temp/index.mjs +12 -34
- package/iframe-window/index.mjs +13 -40
- package/image-cropper/index.mjs +46 -171
- package/image-preview/index.mjs +54 -168
- package/image-viewer/index.mjs +24 -50
- package/index.css +1 -0
- package/index.mjs +3973 -501
- package/input-number/index.mjs +84 -173
- package/input-number-range/index.mjs +20 -70
- package/j-s-x-component/index.mjs +3 -3
- package/keep-view-alive/index.mjs +47 -55
- package/keyboard/index.mjs +100 -113
- package/license/index.mjs +34 -51
- package/loading-view/index.mjs +14 -34
- package/login/index.mjs +33 -161
- package/monaco-editor/index.mjs +13 -21
- package/name-avatar/index.mjs +13 -32
- package/nav-bar/index.mjs +12 -31
- package/not-implement/index.mjs +14 -25
- package/notice/index.mjs +32 -80
- package/package.json +1 -1
- package/page/index.mjs +11 -23
- package/page-header/index.mjs +16 -37
- package/page-index/index.mjs +42 -93
- package/page-index-top/index.mjs +42 -84
- package/page-skeleton/index.mjs +24 -39
- package/page-skeleton-new/index.mjs +21 -68
- package/pageable-table/index.mjs +105 -227
- package/pageable-view/index.mjs +30 -83
- package/photo-swipe/index.mjs +62 -87
- package/present-view/index.mjs +114 -267
- package/queue/index.mjs +14 -29
- package/record-video/index.mjs +29 -66
- package/resize-observer/index.mjs +18 -30
- package/search/index.mjs +47 -81
- package/search-popover/index.mjs +57 -329
- package/sign/index.mjs +43 -60
- package/sign-panel/index.mjs +40 -151
- package/skeleton/index.mjs +18 -44
- package/split-pane/index.mjs +45 -129
- package/stateful/index.mjs +18 -26
- package/static-pageable-table/index.mjs +18 -44
- package/swiper/index.mjs +53 -94
- package/tab/index.mjs +13 -39
- package/tab-item/index.mjs +23 -37
- package/table-column/index.mjs +27 -35
- package/table-view/index.mjs +89 -209
- package/tag-render/index.mjs +34 -69
- package/text-ellipsis/index.mjs +22 -47
- package/tinymce-editor/index.mjs +174 -285
- package/toolbar/index.mjs +21 -42
- package/toolbar-button/index.mjs +25 -54
- package/verify/index.mjs +16 -29
- package/vue-cron/index.mjs +272 -1089
- package/vue-qr-code/index.mjs +19 -27
- package/vue-quill-editor/index.mjs +15 -27
- package/vue-tags-input/index.mjs +104 -224
- package/vue-tree-select/index.mjs +595 -742
- package/vue-video-player/index.mjs +42 -57
- package/watermark/index.mjs +27 -35
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +50 -112
- package/chunks/FormTemp.7f91629d.mjs +0 -165
- /package/chunks/{vueComponentNormalizer.446f5dc4.mjs → _plugin-vue2_normalizer.446f5dc4.mjs} +0 -0
package/fy-form-design/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
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}
|
|
1
|
+
.dic[data-v-c46fca4d]{margin-bottom:5px;display:flex}.el-tag[data-v-49f19745]{vertical-align:top}.el-tag+.el-tag[data-v-49f19745]{margin-left:5px}.input-new-tag[data-v-49f19745]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-49f19745]{vertical-align:top;left:10px}.custom-tree-node[data-v-806989ec]{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,95 +1,8 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
4
|
-
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
5
|
-
return r("ElInput", {
|
|
6
|
-
staticClass: "avue-input",
|
|
7
|
-
attrs: {
|
|
8
|
-
size: e.size,
|
|
9
|
-
clearable: e.clearableVal,
|
|
10
|
-
type: e.typeParam,
|
|
11
|
-
maxlength: e.maxlength,
|
|
12
|
-
minlength: e.minlength,
|
|
13
|
-
"show-password": e.typeParam === "password" ? e.showPassword : !1,
|
|
14
|
-
rows: e.rows,
|
|
15
|
-
autosize: {
|
|
16
|
-
minRows: e.minRows,
|
|
17
|
-
maxRows: e.maxRows
|
|
18
|
-
},
|
|
19
|
-
"prefix-icon": e.prefixIcon,
|
|
20
|
-
"suffix-icon": e.suffixIcon,
|
|
21
|
-
readonly: e.readonly,
|
|
22
|
-
placeholder: e.placeholder,
|
|
23
|
-
"show-word-limit": e.showWordLimit,
|
|
24
|
-
disabled: e.disabled,
|
|
25
|
-
autocomplete: e.autocomplete
|
|
26
|
-
},
|
|
27
|
-
on: {
|
|
28
|
-
keyup: function(n) {
|
|
29
|
-
if (!n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter"))
|
|
30
|
-
return null;
|
|
31
|
-
e.isSearch && e.appendClick();
|
|
32
|
-
},
|
|
33
|
-
focus: e.handleFocus,
|
|
34
|
-
blur: e.handleBlur
|
|
35
|
-
},
|
|
36
|
-
nativeOn: {
|
|
37
|
-
click: function(n) {
|
|
38
|
-
return e.handleClick.apply(null, arguments);
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
scopedSlots: e._u([e.prepend ? {
|
|
42
|
-
key: "prepend",
|
|
43
|
-
fn: function() {
|
|
44
|
-
return [r("span", {
|
|
45
|
-
on: {
|
|
46
|
-
click: function(n) {
|
|
47
|
-
return e.prependClick();
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}, [e._v(e._s(e.prepend))])];
|
|
51
|
-
},
|
|
52
|
-
proxy: !0
|
|
53
|
-
} : null, e.append ? {
|
|
54
|
-
key: "append",
|
|
55
|
-
fn: function() {
|
|
56
|
-
return [r("span", {
|
|
57
|
-
on: {
|
|
58
|
-
click: function(n) {
|
|
59
|
-
return e.appendClick();
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}, [e._v(e._s(e.append))])];
|
|
63
|
-
},
|
|
64
|
-
proxy: !0
|
|
65
|
-
} : e.isSearch ? {
|
|
66
|
-
key: "append",
|
|
67
|
-
fn: function() {
|
|
68
|
-
return [r("ElButton", {
|
|
69
|
-
attrs: {
|
|
70
|
-
icon: "el-icon-search"
|
|
71
|
-
},
|
|
72
|
-
on: {
|
|
73
|
-
click: function(n) {
|
|
74
|
-
return e.appendClick();
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
})];
|
|
78
|
-
},
|
|
79
|
-
proxy: !0
|
|
80
|
-
} : null], null, !0),
|
|
81
|
-
model: {
|
|
82
|
-
value: e.text,
|
|
83
|
-
callback: function(n) {
|
|
84
|
-
e.text = n;
|
|
85
|
-
},
|
|
86
|
-
expression: "text"
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
}, i = [];
|
|
90
|
-
const u = {
|
|
1
|
+
import { p as r, e as a } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
3
|
+
const p = {
|
|
91
4
|
name: "FyInput",
|
|
92
|
-
mixins: [
|
|
5
|
+
mixins: [r, a],
|
|
93
6
|
props: {
|
|
94
7
|
showPassword: {
|
|
95
8
|
type: Boolean,
|
|
@@ -148,24 +61,41 @@ const u = {
|
|
|
148
61
|
return this.type === "textarea" ? "textarea" : this.type === "password" ? "password" : "text";
|
|
149
62
|
}
|
|
150
63
|
}
|
|
151
|
-
}
|
|
152
|
-
var
|
|
153
|
-
|
|
64
|
+
};
|
|
65
|
+
var l = function() {
|
|
66
|
+
var e = this, t = e._self._c;
|
|
67
|
+
return t("ElInput", { staticClass: "avue-input", attrs: { size: e.size, clearable: e.clearableVal, type: e.typeParam, maxlength: e.maxlength, minlength: e.minlength, "show-password": e.typeParam === "password" ? e.showPassword : !1, rows: e.rows, autosize: { minRows: e.minRows, maxRows: e.maxRows }, "prefix-icon": e.prefixIcon, "suffix-icon": e.suffixIcon, readonly: e.readonly, placeholder: e.placeholder, "show-word-limit": e.showWordLimit, disabled: e.disabled, autocomplete: e.autocomplete }, on: { keyup: function(n) {
|
|
68
|
+
if (!n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter"))
|
|
69
|
+
return null;
|
|
70
|
+
e.isSearch && e.appendClick();
|
|
71
|
+
}, focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(n) {
|
|
72
|
+
return e.handleClick.apply(null, arguments);
|
|
73
|
+
} }, scopedSlots: e._u([e.prepend ? { key: "prepend", fn: function() {
|
|
74
|
+
return [t("span", { on: { click: function(n) {
|
|
75
|
+
return e.prependClick();
|
|
76
|
+
} } }, [e._v(e._s(e.prepend))])];
|
|
77
|
+
}, proxy: !0 } : null, e.append ? { key: "append", fn: function() {
|
|
78
|
+
return [t("span", { on: { click: function(n) {
|
|
79
|
+
return e.appendClick();
|
|
80
|
+
} } }, [e._v(e._s(e.append))])];
|
|
81
|
+
}, proxy: !0 } : e.isSearch ? { key: "append", fn: function() {
|
|
82
|
+
return [t("ElButton", { attrs: { icon: "el-icon-search" }, on: { click: function(n) {
|
|
83
|
+
return e.appendClick();
|
|
84
|
+
} } })];
|
|
85
|
+
}, proxy: !0 } : null], null, !0), model: { value: e.text, callback: function(n) {
|
|
86
|
+
e.text = n;
|
|
87
|
+
}, expression: "text" } });
|
|
88
|
+
}, s = [], i = /* @__PURE__ */ o(
|
|
89
|
+
p,
|
|
90
|
+
l,
|
|
154
91
|
s,
|
|
155
|
-
i,
|
|
156
92
|
!1,
|
|
157
|
-
|
|
93
|
+
null,
|
|
158
94
|
null,
|
|
159
95
|
null,
|
|
160
96
|
null
|
|
161
97
|
);
|
|
162
|
-
|
|
163
|
-
for (let t in o)
|
|
164
|
-
this[t] = o[t];
|
|
165
|
-
}
|
|
166
|
-
const y = /* @__PURE__ */ function() {
|
|
167
|
-
return c.exports;
|
|
168
|
-
}();
|
|
98
|
+
const f = i.exports;
|
|
169
99
|
export {
|
|
170
|
-
|
|
100
|
+
f as default
|
|
171
101
|
};
|
package/fy-input-color/index.mjs
CHANGED
|
@@ -1,58 +1,8 @@
|
|
|
1
|
-
import { p as a, e as
|
|
2
|
-
import { n
|
|
3
|
-
|
|
4
|
-
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
5
|
-
return l("div", {
|
|
6
|
-
staticClass: "avue-input-color"
|
|
7
|
-
}, [l("ElInput", {
|
|
8
|
-
ref: "main",
|
|
9
|
-
attrs: {
|
|
10
|
-
placeholder: e.placeholder,
|
|
11
|
-
size: e.size,
|
|
12
|
-
readonly: e.readonly,
|
|
13
|
-
clearable: e.clearableVal,
|
|
14
|
-
disabled: e.disabled
|
|
15
|
-
},
|
|
16
|
-
nativeOn: {
|
|
17
|
-
click: function(r) {
|
|
18
|
-
return e.handleClick.apply(null, arguments);
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
scopedSlots: e._u([{
|
|
22
|
-
key: "append",
|
|
23
|
-
fn: function() {
|
|
24
|
-
return [l("ElColorPicker", {
|
|
25
|
-
attrs: {
|
|
26
|
-
size: "mini",
|
|
27
|
-
"popper-class": e.popperClass,
|
|
28
|
-
"color-format": e.colorFormat,
|
|
29
|
-
disabled: e.disabled,
|
|
30
|
-
"show-alpha": e.showAlpha,
|
|
31
|
-
predefine: e.predefine
|
|
32
|
-
},
|
|
33
|
-
model: {
|
|
34
|
-
value: e.text,
|
|
35
|
-
callback: function(r) {
|
|
36
|
-
e.text = r;
|
|
37
|
-
},
|
|
38
|
-
expression: "text"
|
|
39
|
-
}
|
|
40
|
-
})];
|
|
41
|
-
},
|
|
42
|
-
proxy: !0
|
|
43
|
-
}]),
|
|
44
|
-
model: {
|
|
45
|
-
value: e.text,
|
|
46
|
-
callback: function(r) {
|
|
47
|
-
e.text = r;
|
|
48
|
-
},
|
|
49
|
-
expression: "text"
|
|
50
|
-
}
|
|
51
|
-
})], 1);
|
|
52
|
-
}, i = [];
|
|
53
|
-
const p = {
|
|
1
|
+
import { p as a, e as t } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
3
|
+
const o = {
|
|
54
4
|
name: "FyInputColor",
|
|
55
|
-
mixins: [a,
|
|
5
|
+
mixins: [a, t],
|
|
56
6
|
props: {
|
|
57
7
|
colorFormat: String,
|
|
58
8
|
predefine: {
|
|
@@ -78,24 +28,29 @@ const p = {
|
|
|
78
28
|
default: !0
|
|
79
29
|
}
|
|
80
30
|
}
|
|
81
|
-
}
|
|
82
|
-
var
|
|
31
|
+
};
|
|
32
|
+
var s = function() {
|
|
33
|
+
var e = this, r = e._self._c;
|
|
34
|
+
return r("div", { staticClass: "avue-input-color" }, [r("ElInput", { ref: "main", attrs: { placeholder: e.placeholder, size: e.size, readonly: e.readonly, clearable: e.clearableVal, disabled: e.disabled }, nativeOn: { click: function(l) {
|
|
35
|
+
return e.handleClick.apply(null, arguments);
|
|
36
|
+
} }, scopedSlots: e._u([{ key: "append", fn: function() {
|
|
37
|
+
return [r("ElColorPicker", { attrs: { size: "mini", "popper-class": e.popperClass, "color-format": e.colorFormat, disabled: e.disabled, "show-alpha": e.showAlpha, predefine: e.predefine }, model: { value: e.text, callback: function(l) {
|
|
38
|
+
e.text = l;
|
|
39
|
+
}, expression: "text" } })];
|
|
40
|
+
}, proxy: !0 }]), model: { value: e.text, callback: function(l) {
|
|
41
|
+
e.text = l;
|
|
42
|
+
}, expression: "text" } })], 1);
|
|
43
|
+
}, p = [], c = /* @__PURE__ */ n(
|
|
44
|
+
o,
|
|
45
|
+
s,
|
|
83
46
|
p,
|
|
84
|
-
c,
|
|
85
|
-
i,
|
|
86
47
|
!1,
|
|
87
|
-
|
|
48
|
+
null,
|
|
88
49
|
null,
|
|
89
50
|
null,
|
|
90
51
|
null
|
|
91
52
|
);
|
|
92
|
-
|
|
93
|
-
for (let t in n)
|
|
94
|
-
this[t] = n[t];
|
|
95
|
-
}
|
|
96
|
-
const v = /* @__PURE__ */ function() {
|
|
97
|
-
return u.exports;
|
|
98
|
-
}();
|
|
53
|
+
const u = c.exports;
|
|
99
54
|
export {
|
|
100
|
-
|
|
55
|
+
u as default
|
|
101
56
|
};
|
package/fy-input-icon/index.mjs
CHANGED
|
@@ -1,107 +1,11 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import
|
|
1
|
+
import { p as a, e as s } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import o from "@web-utils/component/icon-temp";
|
|
3
3
|
import "@web-utils/component/icon-temp/style.css";
|
|
4
|
-
import { n as
|
|
5
|
-
|
|
6
|
-
var t = this, i = t.$createElement, e = t._self._c || i;
|
|
7
|
-
return e("div", {
|
|
8
|
-
staticClass: "avue-input-icon"
|
|
9
|
-
}, [e("ElInput", {
|
|
10
|
-
ref: "main",
|
|
11
|
-
attrs: {
|
|
12
|
-
placeholder: t.placeholder,
|
|
13
|
-
size: t.size,
|
|
14
|
-
clearable: t.clearableVal,
|
|
15
|
-
disabled: t.disabled
|
|
16
|
-
},
|
|
17
|
-
on: {
|
|
18
|
-
focus: t.handleShow
|
|
19
|
-
},
|
|
20
|
-
nativeOn: {
|
|
21
|
-
click: function(n) {
|
|
22
|
-
return t.handleClick.apply(null, arguments);
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
scopedSlots: t._u([{
|
|
26
|
-
key: "append",
|
|
27
|
-
fn: function() {
|
|
28
|
-
return [e("IconTemp", {
|
|
29
|
-
attrs: {
|
|
30
|
-
text: t.text,
|
|
31
|
-
size: 28,
|
|
32
|
-
small: t.size === "mini"
|
|
33
|
-
},
|
|
34
|
-
on: {
|
|
35
|
-
click: t.handleShow
|
|
36
|
-
}
|
|
37
|
-
})];
|
|
38
|
-
},
|
|
39
|
-
proxy: !0
|
|
40
|
-
}]),
|
|
41
|
-
model: {
|
|
42
|
-
value: t.text,
|
|
43
|
-
callback: function(n) {
|
|
44
|
-
t.text = n;
|
|
45
|
-
},
|
|
46
|
-
expression: "text"
|
|
47
|
-
}
|
|
48
|
-
}), t.box ? e("div", [e("ElementDialog", {
|
|
49
|
-
attrs: {
|
|
50
|
-
title: t.placeholder,
|
|
51
|
-
visible: t.box,
|
|
52
|
-
width: t.dialogWidth
|
|
53
|
-
},
|
|
54
|
-
on: {
|
|
55
|
-
"update:visible": function(n) {
|
|
56
|
-
t.box = n;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}, [e("div", {
|
|
60
|
-
staticClass: "avue-input-icon__filter"
|
|
61
|
-
}, [e("ElInput", {
|
|
62
|
-
attrs: {
|
|
63
|
-
placeholder: "请输入",
|
|
64
|
-
size: t.size
|
|
65
|
-
},
|
|
66
|
-
model: {
|
|
67
|
-
value: t.filterText,
|
|
68
|
-
callback: function(n) {
|
|
69
|
-
t.filterText = n;
|
|
70
|
-
},
|
|
71
|
-
expression: "filterText"
|
|
72
|
-
}
|
|
73
|
-
})], 1), e("FyTabs", {
|
|
74
|
-
attrs: {
|
|
75
|
-
option: t.option
|
|
76
|
-
},
|
|
77
|
-
on: {
|
|
78
|
-
change: t.handleTabs
|
|
79
|
-
}
|
|
80
|
-
}), e("div", {
|
|
81
|
-
staticClass: "avue-input-icon__list"
|
|
82
|
-
}, t._l(t.list, function(n, a) {
|
|
83
|
-
return e("div", {
|
|
84
|
-
key: a,
|
|
85
|
-
class: ["avue-input-icon__item", {
|
|
86
|
-
active: t.text === n
|
|
87
|
-
}],
|
|
88
|
-
on: {
|
|
89
|
-
click: function(v) {
|
|
90
|
-
return t.handleSubmit(n.value);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}, [e("IconTemp", {
|
|
94
|
-
attrs: {
|
|
95
|
-
text: n.value,
|
|
96
|
-
small: t.size === "mini"
|
|
97
|
-
}
|
|
98
|
-
}), e("p", [t._v(t._s(n.label || n.value))])], 1);
|
|
99
|
-
}), 0)], 1)], 1) : t._e()], 1);
|
|
100
|
-
}, p = [];
|
|
101
|
-
const d = {
|
|
4
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
5
|
+
const u = {
|
|
102
6
|
name: "FyInputIcon",
|
|
103
|
-
components: { IconTemp:
|
|
104
|
-
mixins: [
|
|
7
|
+
components: { IconTemp: o },
|
|
8
|
+
mixins: [a, s],
|
|
105
9
|
props: {
|
|
106
10
|
dialogWidth: {
|
|
107
11
|
type: String,
|
|
@@ -121,10 +25,10 @@ const d = {
|
|
|
121
25
|
},
|
|
122
26
|
computed: {
|
|
123
27
|
list() {
|
|
124
|
-
let
|
|
125
|
-
value:
|
|
126
|
-
} :
|
|
127
|
-
return this.filterText && (
|
|
28
|
+
let i = (this.tabs.list || []).map((t) => !t.value && !t.label ? {
|
|
29
|
+
value: t
|
|
30
|
+
} : t);
|
|
31
|
+
return this.filterText && (i = i.filter((t) => t.label.indexOf(this.filterText) !== -1)), i;
|
|
128
32
|
},
|
|
129
33
|
option() {
|
|
130
34
|
return {
|
|
@@ -136,34 +40,45 @@ const d = {
|
|
|
136
40
|
this.tabs = this.iconList[0] || {};
|
|
137
41
|
},
|
|
138
42
|
methods: {
|
|
139
|
-
handleTabs(
|
|
140
|
-
this.tabs =
|
|
43
|
+
handleTabs(i) {
|
|
44
|
+
this.tabs = i;
|
|
141
45
|
},
|
|
142
|
-
handleSubmit(
|
|
143
|
-
this.box = !1, this.text =
|
|
46
|
+
handleSubmit(i) {
|
|
47
|
+
this.box = !1, this.text = i, this.handleChange(i);
|
|
144
48
|
},
|
|
145
49
|
handleShow() {
|
|
146
50
|
this.$refs.main.blur(), !(this.disabled || this.readonly) && (this.box = !0);
|
|
147
51
|
}
|
|
148
52
|
}
|
|
149
|
-
}
|
|
150
|
-
var
|
|
151
|
-
|
|
53
|
+
};
|
|
54
|
+
var c = function() {
|
|
55
|
+
var t = this, e = t._self._c;
|
|
56
|
+
return e("div", { staticClass: "avue-input-icon" }, [e("ElInput", { ref: "main", attrs: { placeholder: t.placeholder, size: t.size, clearable: t.clearableVal, disabled: t.disabled }, on: { focus: t.handleShow }, nativeOn: { click: function(n) {
|
|
57
|
+
return t.handleClick.apply(null, arguments);
|
|
58
|
+
} }, scopedSlots: t._u([{ key: "append", fn: function() {
|
|
59
|
+
return [e("IconTemp", { attrs: { text: t.text, size: 28, small: t.size === "mini" }, on: { click: t.handleShow } })];
|
|
60
|
+
}, proxy: !0 }]), model: { value: t.text, callback: function(n) {
|
|
61
|
+
t.text = n;
|
|
62
|
+
}, expression: "text" } }), t.box ? e("div", [e("ElementDialog", { attrs: { title: t.placeholder, visible: t.box, width: t.dialogWidth }, on: { "update:visible": function(n) {
|
|
63
|
+
t.box = n;
|
|
64
|
+
} } }, [e("div", { staticClass: "avue-input-icon__filter" }, [e("ElInput", { attrs: { placeholder: "请输入", size: t.size }, model: { value: t.filterText, callback: function(n) {
|
|
65
|
+
t.filterText = n;
|
|
66
|
+
}, expression: "filterText" } })], 1), e("FyTabs", { attrs: { option: t.option }, on: { change: t.handleTabs } }), e("div", { staticClass: "avue-input-icon__list" }, t._l(t.list, function(n, l) {
|
|
67
|
+
return e("div", { key: l, class: ["avue-input-icon__item", { active: t.text === n }], on: { click: function(f) {
|
|
68
|
+
return t.handleSubmit(n.value);
|
|
69
|
+
} } }, [e("IconTemp", { attrs: { text: n.value, small: t.size === "mini" } }), e("p", [t._v(t._s(n.label || n.value))])], 1);
|
|
70
|
+
}), 0)], 1)], 1) : t._e()], 1);
|
|
71
|
+
}, p = [], d = /* @__PURE__ */ r(
|
|
72
|
+
u,
|
|
152
73
|
c,
|
|
153
74
|
p,
|
|
154
75
|
!1,
|
|
155
|
-
|
|
76
|
+
null,
|
|
156
77
|
null,
|
|
157
78
|
null,
|
|
158
79
|
null
|
|
159
80
|
);
|
|
160
|
-
|
|
161
|
-
for (let i in l)
|
|
162
|
-
this[i] = l[i];
|
|
163
|
-
}
|
|
164
|
-
const y = /* @__PURE__ */ function() {
|
|
165
|
-
return h.exports;
|
|
166
|
-
}();
|
|
81
|
+
const b = d.exports;
|
|
167
82
|
export {
|
|
168
|
-
|
|
83
|
+
b as default
|
|
169
84
|
};
|