@farris/ui-vue 1.4.0 → 1.4.1
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/components/avatar/index.esm.js +2 -1
- package/components/avatar/index.umd.cjs +1 -1
- package/components/checkbox/index.esm.js +2 -1
- package/components/checkbox/index.umd.cjs +1 -1
- package/components/combo-list/index.esm.js +2 -1
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/condition/index.css +1 -1
- package/components/condition/index.esm.js +715 -704
- package/components/condition/index.umd.cjs +1 -1
- package/components/content-container/index.css +1 -1
- package/components/content-container/index.esm.js +1180 -1169
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.css +1 -1
- package/components/data-grid/index.esm.js +2949 -2901
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.css +1 -1
- package/components/data-view/index.esm.js +609 -598
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +3 -2
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +2081 -2062
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-outline/index.css +1 -1
- package/components/drawer/index.esm.js +23 -21
- package/components/drawer/index.umd.cjs +1 -1
- package/components/dynamic-form/index.css +1 -1
- package/components/dynamic-form/index.esm.js +2745 -2691
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/external-container/index.css +1 -1
- package/components/external-container/index.esm.js +1322 -1311
- package/components/external-container/index.umd.cjs +1 -1
- package/components/field-selector/index.css +1 -1
- package/components/field-selector/index.esm.js +85 -74
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/filter-bar/index.esm.js +4618 -4320
- package/components/filter-bar/index.umd.cjs +3 -3
- package/components/flow-canvas/index.css +1 -1
- package/components/flow-canvas/index.esm.js +1982 -1963
- package/components/flow-canvas/index.umd.cjs +1 -1
- package/components/input-group/index.esm.js +2 -1
- package/components/input-group/index.umd.cjs +1 -1
- package/components/list-view/index.css +1 -1
- package/components/list-view/index.esm.js +822 -811
- package/components/list-view/index.umd.cjs +1 -1
- package/components/lookup/index.css +1 -1
- package/components/lookup/index.esm.js +3268 -3219
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.css +1 -1
- package/components/mapping-editor/index.esm.js +1985 -1937
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +136 -135
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +2 -1
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.esm.js +2 -1
- package/components/order/index.umd.cjs +1 -1
- package/components/property-editor/index.esm.js +2 -1
- package/components/property-editor/index.umd.cjs +1 -1
- package/components/property-panel/index.esm.js +295 -283
- package/components/property-panel/index.umd.cjs +2 -2
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +5430 -5374
- package/components/query-solution/index.umd.cjs +7 -7
- package/components/radio-group/index.esm.js +2 -1
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/schema-selector/index.css +1 -1
- package/components/schema-selector/index.esm.js +1259 -1248
- package/components/schema-selector/index.umd.cjs +2 -2
- package/components/section/index.css +1 -1
- package/components/section/index.esm.js +1272 -1261
- package/components/section/index.umd.cjs +1 -1
- package/components/switch/index.esm.js +2 -1
- package/components/switch/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +14 -13
- package/components/textarea/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +2 -1
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/tree-grid/index.css +1 -1
- package/components/tree-grid/index.esm.js +715 -704
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.css +1 -1
- package/components/tree-view/index.esm.js +107 -96
- package/components/tree-view/index.umd.cjs +1 -1
- package/farris.all.esm.js +14687 -14334
- package/farris.all.umd.cjs +11 -11
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/condition/src/composition/condition-value/input-group-value.d.ts +1 -1
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +6 -0
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +8 -0
- package/types/dynamic-form/src/composition/form-binding-resolver-design.d.ts +6 -0
- package/types/filter-bar/src/components/drawer.component.d.ts +4 -0
- package/types/filter-bar/src/components/filter-item/filter-item.component.d.ts +10 -0
- package/types/filter-bar/src/components/filter-item/filter-item.props.d.ts +3 -0
- package/types/filter-bar/src/components/filter-item-condition/filter-item-condition.component.d.ts +11 -0
- package/types/filter-bar/src/components/filter-item-condition/filter-item-condition.props.d.ts +3 -0
- package/types/filter-bar/src/composition/types.d.ts +2 -0
- package/types/filter-bar/src/composition/use-condition.d.ts +19 -0
- package/types/filter-bar/src/filter-bar.component.d.ts +2 -1
- package/types/filter-bar/src/types.d.ts +4 -6
- package/types/filter-bar/src/components/filter-item.component.d.ts +0 -5
- /package/types/filter-bar/src/components/{toolbar-component.d.ts → toolbar.component.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fv-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.fv-resizable-handle:hover{background:#2a87ff12}.fv-resizable-handle.fv-resizable-n{cursor:n-resize;height:.4375rem;width:100%;top:-.3125rem;left:0}.fv-resizable-handle.fv-resizable-e{cursor:e-resize;width:.4375rem;right:-.3125rem;height:100%;top:0}.fv-resizable-handle.fv-resizable-s{cursor:s-resize;height:.4375rem;width:100%;bottom:-.3125rem;left:0}.fv-resizable-handle.fv-resizable-w{cursor:w-resize;height:100%;width:.4375rem;left:-.3125rem;top:0}.fv-resizable-handle.fv-resizable-ne{cursor:ne-resize;width:.75rem;height:.75rem;right:1px;top:1px}.fv-resizable-handle.fv-resizable-se{cursor:se-resize;width:.75rem;height:.75rem;right:1px;bottom:1px}.fv-resizable-handle.fv-resizable-nw{cursor:nw-resize;width:.75rem;height:.75rem;left:1px;top:1px}.fv-resizable-handle.fv-resizable-sw{cursor:sw-resize;width:.75rem;height:.75rem;left:1px;bottom:1px}.form-group-in-canvas .f-cmp-inputgroup .f-state-readonly .input-group-append{display:flex!important}.component-btn-group{flex-direction:row-reverse;position:absolute;z-index:800;background:#fff;display:none;top:-26px;right:0}.component-btn-group>div{position:fixed}.farris-component.farris-nested{padding:10px!important;border:dotted 2px #e8e8e8}.farris-component.farris-nested.dgComponentFocused{border:dotted 2px #388fff}.farris-component.can-move{padding:2px}.farris-component.dgComponentSelected>.component-btn-group{display:flex}.component-btn-group .component-settings-button{display:flex;cursor:pointer;float:right;margin-left:4px;padding:0;font-size:10px;line-height:1.2em;border-radius:2px 2px 0 0;width:24px!important;height:24px!important;color:#fff!important;background:#388fff!important}.component-btn-group .component-settings-button .f-icon{font-size:18px;margin:0 auto;line-height:20px}.component-btn-group .component-settings-button .f-icon.f-icon-yxs_move{cursor:move}.farris-component-content-container .drag-container{display:inherit;flex-direction:inherit;flex-shrink:1;flex-grow:1;flex-basis:0%;flex-wrap:inherit;justify-content:inherit;align-items:inherit;width:100%;overflow:inherit;height:inherit}.gu-mirror{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:alpha(opacity=80)}.gu-mirror.undroppable .component-settings-button .f-icon-yxs_move{cursor:no-drop}.component-btn-group .component-settings-button .f-icon.f-icon-yxs_delete{color:#fff!important;background:#388fff!important}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";filter:alpha(opacity=20)}.drag-over:not(.no-drop){background-color:#f3f8ff!important}.gu-unselectable .farris-component.dgComponentSelected>.component-btn-group{display:none}.gu-unselectable .gu-mirror.farris-component.dgComponentSelected>.component-btn-group{display:flex}.gu-transit.farris-component.dgComponentSelected>.component-btn-group{display:none}.gu-mirror.farris-component.dgComponentSelected{position:fixed!important}.gu-mirror.farris-component.dgComponentSelected>.component-btn-group>div{position:relative;top:0!important;left:0!important}.gu-mirror.farris-component.dgComponentSelected>.component-btn-group{width:max-content}.dgComponentFocused{border-top:2px dotted #388fff!important;border-left:2px dotted #388fff!important;border-right:2px dotted #388fff!important;border-bottom:2px dotted #388fff!important}.dgComponentSelected{border-top:2px solid #388fff!important;border-left:2px solid #388fff!important;border-right:2px solid #388fff!important;border-bottom:2px solid #388fff!important}.editorDiv{background-color:#dbe6f7;overflow-x:auto}.editorPanel{position:relative;height:100%;min-width:900px}.editorDiv .f-struct-like-card{display:block}.editorDiv .farris-tabs.f-tabs-content-fill .f-struct-is-subgrid .f-grid-is-sub{width:100%}.ide-framework .cdk-overlay-container{z-index:1100}.editorDiv .f-struct-wrapper{margin-bottom:15px}.f-struct-wrapper+.f-struct-wrapper{position:relative;display:inherit;margin-bottom:15px}.f-page-is-mainsubcard .f-page-main .f-struct-wrapper{background:#fff}.editorDiv .f-page-navigate .f-page{position:absolute!important}.editorDiv .f-page-navigate .f-page.f-page-card .f-page-main>.drag-container{display:block;overflow:unset}.editorDiv .f-page.f-page-navigate.f-page-is-listnav-with-header .f-page-main .f-page-content-main{display:block}.smooth-dnd-ghost{z-index:1100!important}.editorDiv .farris-oa-page.f-page-card .f-page-main{display:block!important;overflow:auto!important}.editorDiv .f-page-has-scheme .f-page-main.farris-component{margin-top:0}.dropdown-menu.show{z-index:860}.f-struct-subsub-wrapper{padding-top:0!important}.gu-mirror.undroppable{cursor:no-drop}.gu-insertion{position:fixed;z-index:840!important;pointer-events:none!important;background-color:#388fff;height:4px;overflow:hidden}.editorPanel .f-page:before{display:initial!important}.editorPanel .f-page .f-page-main{margin-right:.5rem!important;margin-left:.5rem!important;margin-bottom:.5rem!important}.editorPanel .f-page.f-page-is-listnav .f-page-main{margin-top:.5rem!important}.editorPanel .f-page .f-page-main .f-page-main{margin:0!important}.editorPanel .f-page.f-page-has-scheme .f-page-header{margin:0 .5rem}.f-section-scheme{background:#fff;margin:.5625rem .5rem 0}.farris-component-tabs .farris-tabs-content.f-utils-fill-flex-column .farris-component-tab-page:has(.farris-tab-page-active){display:flex!important;overflow:hidden;flex-shrink:1;flex-grow:1;flex-basis:0;flex-direction:column!important}.response-layout{border:dotted 2px #e8e8e8}.response-layout .response-layout-item{border-right:dotted 2px #e8e8e8}.response-layout .response-layout-item:not(:last-child){padding-right:8px!important}.exception_wrap{max-width:750px;display:flex;overflow:hidden;position:relative}.exception_error_msg{line-height:1.5;max-height:3em;overflow:hidden;min-height:66px;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box}.exception_error_msg:before{content:"";float:right;width:0;height:100%;margin-bottom:-24px}.exception_error_msg:after{content:"";width:100%;height:100%;position:absolute;background-color:#fff}.exception_wrap .swith{float:right;clear:both;color:#2a87ff}.exception_wrap .swith:after{content:"展开";padding-left:15px;cursor:pointer}.exp_switch:checked+.exception_error_msg{max-height:480px;-webkit-line-clamp:20!important}.exp_switch:checked+.exception_error_msg .swith:after{content:"收起";cursor:pointer}.exp_switch:checked+.exception_error_msg:after{visibility:hidden}.exp_switch:checked+.exception_error_msg .swith:before{content:""}.screenGroup{background:#ffffffe6;box-shadow:0 0 3px #024bc133;border-radius:8px;padding:2px 14px;margin:5px auto;flex:1 1 0!important}.screenGroup .screenName{width:90px;font-family:PingFangSC-Regular;font-size:14px;line-height:24px;color:#2a87ff;height:32px;padding:4px;text-align:left}.screenGroup .screen-input{flex:1 1 0}.screenGroup farris-combo-list{width:84px}.screenGroup .columnText{line-height:26px}.applyBtn{margin-top:5px;display:flex;justify-content:center}.applyBtn .btn{width:110px}.en .screenGroup{width:100%;flex-direction:column;align-items:flex-start}.en .screenGroup>div{width:100%;padding:0 10px 10px 0;margin-left:0!important}.en .screenGroup .screenName{width:auto}.en .screenGroup farris-combo-list{flex:1}.en .screenGroup .columnText{width:50px}.fv-grid-disabled{color:#a8adb8;background:#fafafc}
|
|
1
|
+
@charset "UTF-8";.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}.fv-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.fv-resizable-handle:hover{background:#2a87ff12}.fv-resizable-handle.fv-resizable-n{cursor:n-resize;height:.4375rem;width:100%;top:-.3125rem;left:0}.fv-resizable-handle.fv-resizable-e{cursor:e-resize;width:.4375rem;right:-.3125rem;height:100%;top:0}.fv-resizable-handle.fv-resizable-s{cursor:s-resize;height:.4375rem;width:100%;bottom:-.3125rem;left:0}.fv-resizable-handle.fv-resizable-w{cursor:w-resize;height:100%;width:.4375rem;left:-.3125rem;top:0}.fv-resizable-handle.fv-resizable-ne{cursor:ne-resize;width:.75rem;height:.75rem;right:1px;top:1px}.fv-resizable-handle.fv-resizable-se{cursor:se-resize;width:.75rem;height:.75rem;right:1px;bottom:1px}.fv-resizable-handle.fv-resizable-nw{cursor:nw-resize;width:.75rem;height:.75rem;left:1px;top:1px}.fv-resizable-handle.fv-resizable-sw{cursor:sw-resize;width:.75rem;height:.75rem;left:1px;bottom:1px}.form-group-in-canvas .f-cmp-inputgroup .f-state-readonly .input-group-append{display:flex!important}.component-btn-group{flex-direction:row-reverse;position:absolute;z-index:800;background:#fff;display:none;top:-26px;right:0}.component-btn-group>div{position:fixed}.farris-component.farris-nested{padding:10px!important;border:dotted 2px #e8e8e8}.farris-component.farris-nested.dgComponentFocused{border:dotted 2px #388fff}.farris-component.can-move{padding:2px}.farris-component.dgComponentSelected>.component-btn-group{display:flex}.component-btn-group .component-settings-button{display:flex;cursor:pointer;float:right;margin-left:4px;padding:0;font-size:10px;line-height:1.2em;border-radius:2px 2px 0 0;width:24px!important;height:24px!important;color:#fff!important;background:#388fff!important}.component-btn-group .component-settings-button .f-icon{font-size:18px;margin:0 auto;line-height:20px}.component-btn-group .component-settings-button .f-icon.f-icon-yxs_move{cursor:move}.farris-component-content-container .drag-container{display:inherit;flex-direction:inherit;flex-shrink:1;flex-grow:1;flex-basis:0%;flex-wrap:inherit;justify-content:inherit;align-items:inherit;width:100%;overflow:inherit;height:inherit}.gu-mirror{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:alpha(opacity=80)}.gu-mirror.undroppable .component-settings-button .f-icon-yxs_move{cursor:no-drop}.component-btn-group .component-settings-button .f-icon.f-icon-yxs_delete{color:#fff!important;background:#388fff!important}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";filter:alpha(opacity=20)}.drag-over:not(.no-drop){background-color:#f3f8ff!important}.gu-unselectable .farris-component.dgComponentSelected>.component-btn-group{display:none}.gu-unselectable .gu-mirror.farris-component.dgComponentSelected>.component-btn-group{display:flex}.gu-transit.farris-component.dgComponentSelected>.component-btn-group{display:none}.gu-mirror.farris-component.dgComponentSelected{position:fixed!important}.gu-mirror.farris-component.dgComponentSelected>.component-btn-group>div{position:relative;top:0!important;left:0!important}.gu-mirror.farris-component.dgComponentSelected>.component-btn-group{width:max-content}.dgComponentFocused{border-top:2px dotted #388fff!important;border-left:2px dotted #388fff!important;border-right:2px dotted #388fff!important;border-bottom:2px dotted #388fff!important}.dgComponentSelected{border-top:2px solid #388fff!important;border-left:2px solid #388fff!important;border-right:2px solid #388fff!important;border-bottom:2px solid #388fff!important}.editorDiv{background-color:#dbe6f7;overflow-x:auto}.editorPanel{position:relative;height:100%;min-width:900px}.editorDiv .f-struct-like-card{display:block}.editorDiv .farris-tabs.f-tabs-content-fill .f-struct-is-subgrid .f-grid-is-sub{width:100%}.ide-framework .cdk-overlay-container{z-index:1100}.editorDiv .f-struct-wrapper{margin-bottom:15px}.f-struct-wrapper+.f-struct-wrapper{position:relative;display:inherit;margin-bottom:15px}.f-page-is-mainsubcard .f-page-main .f-struct-wrapper{background:#fff}.editorDiv .f-page-navigate .f-page{position:absolute!important}.editorDiv .f-page-navigate .f-page.f-page-card .f-page-main>.drag-container{display:block;overflow:unset}.editorDiv .f-page.f-page-navigate.f-page-is-listnav-with-header .f-page-main .f-page-content-main{display:block}.smooth-dnd-ghost{z-index:1100!important}.editorDiv .farris-oa-page.f-page-card .f-page-main{display:block!important;overflow:auto!important}.editorDiv .f-page-has-scheme .f-page-main.farris-component{margin-top:0}.dropdown-menu.show{z-index:860}.f-struct-subsub-wrapper{padding-top:0!important}.gu-mirror.undroppable{cursor:no-drop}.gu-insertion{position:fixed;z-index:840!important;pointer-events:none!important;background-color:#388fff;height:4px;overflow:hidden}.editorPanel .f-page:before{display:initial!important}.editorPanel .f-page .f-page-main{margin-right:.5rem!important;margin-left:.5rem!important;margin-bottom:.5rem!important}.editorPanel .f-page.f-page-is-listnav .f-page-main{margin-top:.5rem!important}.editorPanel .f-page .f-page-main .f-page-main{margin:0!important}.editorPanel .f-page.f-page-has-scheme .f-page-header{margin:0 .5rem}.f-section-scheme{background:#fff;margin:.5625rem .5rem 0}.farris-component-tabs .farris-tabs-content.f-utils-fill-flex-column .farris-component-tab-page:has(.farris-tab-page-active){display:flex!important;overflow:hidden;flex-shrink:1;flex-grow:1;flex-basis:0;flex-direction:column!important}.response-layout{border:dotted 2px #e8e8e8}.response-layout .response-layout-item{border-right:dotted 2px #e8e8e8}.response-layout .response-layout-item:not(:last-child){padding-right:8px!important}.property-item .form-group{margin-bottom:2px}.property-item .col-form-label{line-height:26px}.property-item .row-item{align-items:center}.wide-panel .row-item{display:flex}.wide-panel .row-item .component{flex:1 1 0}.wide-panel .row-item label{width:89px;text-align:right;padding-right:10px}.wrap{overflow:hidden;text-overflow:ellipsis}.propertyCascadeItem{background-color:transparent!important;border:none!important}.propertyCascadeItem .card-header{background-color:transparent!important;padding:4px 0!important;color:inherit!important}.propertyCascadeItem .card-header .panel-item-title{width:100%;position:relative;font-size:inherit!important}.propertyCascadeItem .card-header .panel-item-title .farris-input-wrap{margin-left:-5px;margin-right:-5px}.propertyCascadeItem .form-group .col-form-label .f-icon{color:#a3a3a3!important}.propertyCascadeItem .f-accordion-collapse,.propertyCascadeItem .f-accordion-expand{right:0;left:auto!important;top:6px;color:#6b94ec!important;position:absolute}.propertyCascadeItem .card-body{padding:3px 12px!important;background:#fffc;border-radius:8px;margin:4px 0}.propertyCascadeItem .card-body.hidden{display:none}.landscape{display:none;flex-shrink:0;align-items:center;justify-content:flex-end}.wide-panel .vertical{display:none}.wide-panel .landscape{display:block;padding:0;overflow:hidden}.wide-panel .line-item{display:flex}.wide-panel .line-item .f-header{margin-bottom:0}.wide-panel .line-item .f-section-formgroup-legend{width:89px;text-align:right;padding-right:13px}.wide-panel .line-item .farris-input-wrap{flex:1 1 0}:host{width:inherit;height:inherit}.property-panel{position:relative}.property-panel .switcher{position:absolute;top:9px;right:0;width:40px;text-align:center}.property-panel .switcher i{color:#4190ff;font-size:12px;cursor:pointer}.property-panel .side-panel{width:41px;background-color:#fff;padding-top:45px;text-align:center}.property-panel .side-panel .icon{display:block;text-align:center;color:#4190ff;margin-bottom:10px}.property-panel .side-panel span{writing-mode:vertical-rl;font-size:14px}.propertyPanel{width:300px;height:100%;color:#000000bf;background:#f3f8ff!important;border-color:#d8dbe2!important;display:flex}.propertyPanel .title{position:relative;background:#d0d8e9!important;flex-wrap:wrap;border:0}.propertyPanel .title.p-right{padding-right:40px}.propertyPanel .title>.title-label{line-height:34px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:12px;padding-right:12px;color:#333;font-size:13px;font-weight:600;cursor:pointer}.propertyPanel .title>.title-label.active{background:#8fb1df!important}.propertyPanel .title .title-actions{position:absolute;right:10px;top:0;padding-left:35px;height:35px;-ms-flex:1;flex:1;box-sizing:border-box}.propertyPanel .title .title-actions{position:absolute;right:10px;top:0}.propertyPanel .property-grid .group-label{line-height:30px;display:block;padding-left:13px;cursor:pointer;background:#e2e9f6!important;color:#435069!important;font-weight:600!important;border-radius:6px}.propertyPanel .search .textbox{padding-left:10px}.propertyPanel .search .input-group{border-radius:0}.propertyPanel .panel-body{overflow:auto;height:100%}.propertyPanel .property-grid{list-style:none;margin:0 10px;padding:0}.propertyPanel .property-grid li{padding:2px 0}.propertyPanel .panel-body .property-grid .group-label+div{padding-bottom:14px!important;padding-top:.25rem!important}.propertyPanel .action-item{cursor:pointer;display:inline-block;transition:transform 50ms ease;position:relative;padding:0}.propertyPanel .action-item>.f-icon{color:#424242bf;line-height:35px;font-weight:600}.propertyPanel .search .input-group-clear{border-radius:0!important}.white-theme .propertyPanel{background:#fff!important;border:1px solid #D8DCE6!important}.white-theme .propertyPanel .title{overflow:visible;background:#fff!important;justify-content:space-around}.white-theme .propertyPanel{background:#fff!important}.white-theme .propertyPanel .title{overflow:visible;background:#fff!important;flex-wrap:wrap;text-align:center}.white-theme .propertyPanel .title>.title-label{font-weight:400!important;border-bottom:0;background:#fff!important;flex:1;color:#83849b}.white-theme .propertyPanel .title>.title-label>span{padding:0 14px 7px}.white-theme .propertyPanel .title>.title-label.active>span{border-bottom:2px solid #5b89fe;color:#5b89fe;border-radius:1.5px}.white-theme .propertyPanel .title.only{text-align:left}.white-theme .propertyPanel .property-grid .group-label{background:#fff!important;line-height:30px;font-weight:400!important;font-size:13px;color:#3f4764!important;border-radius:6px;background:#eef4ff!important;color:#435069!important}.white-theme .propertyPanel .property-grid .group-label .f-icon{color:#5d89fe;font-size:13px}.exception_wrap{max-width:750px;display:flex;overflow:hidden;position:relative}.exception_error_msg{line-height:1.5;max-height:3em;overflow:hidden;min-height:66px;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box}.exception_error_msg:before{content:"";float:right;width:0;height:100%;margin-bottom:-24px}.exception_error_msg:after{content:"";width:100%;height:100%;position:absolute;background-color:#fff}.exception_wrap .swith{float:right;clear:both;color:#2a87ff}.exception_wrap .swith:after{content:"展开";padding-left:15px;cursor:pointer}.exp_switch:checked+.exception_error_msg{max-height:480px;-webkit-line-clamp:20!important}.exp_switch:checked+.exception_error_msg .swith:after{content:"收起";cursor:pointer}.exp_switch:checked+.exception_error_msg:after{visibility:hidden}.exp_switch:checked+.exception_error_msg .swith:before{content:""}.screenGroup{background:#ffffffe6;box-shadow:0 0 3px #024bc133;border-radius:8px;padding:2px 14px;margin:5px auto;flex:1 1 0!important}.screenGroup .screenName{width:90px;font-family:PingFangSC-Regular;font-size:14px;line-height:24px;color:#2a87ff;height:32px;padding:4px;text-align:left}.screenGroup .screen-input{flex:1 1 0}.screenGroup farris-combo-list{width:84px}.screenGroup .columnText{line-height:26px}.applyBtn{margin-top:5px;display:flex;justify-content:center}.applyBtn .btn{width:110px}.en .screenGroup{width:100%;flex-direction:column;align-items:flex-start}.en .screenGroup>div{width:100%;padding:0 10px 10px 0;margin-left:0!important}.en .screenGroup .screenName{width:auto}.en .screenGroup farris-combo-list{flex:1}.en .screenGroup .columnText{width:50px}.fv-grid-disabled{color:#a8adb8;background:#fafafc}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var zn = Object.defineProperty;
|
|
2
2
|
var Gn = (e, t, n) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Q = (e, t, n) => Gn(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { defineComponent as Be, ref as w, computed as P, createVNode as I, Teleport as on, createApp as Ut, onUnmounted as Tt, Fragment as bt, watch as fe, onMounted as mt, Transition as an, shallowRef as qn, nextTick as St, render as Rt, h as Un, cloneVNode as Yn, mergeProps as
|
|
5
|
-
import { isPlainObject as Zt, cloneDeep as
|
|
4
|
+
import { defineComponent as Be, ref as w, computed as P, createVNode as I, Teleport as on, createApp as Ut, onUnmounted as Tt, Fragment as bt, watch as fe, onMounted as mt, Transition as an, shallowRef as qn, nextTick as St, render as Rt, h as Un, cloneVNode as Yn, mergeProps as dt, inject as ft, withDirectives as rn, vShow as Xn, resolveComponent as Kn, createTextVNode as ht, reactive as it, onBeforeUnmount as ln, resolveDirective as Qn, provide as Jn, isVNode as Zn } from "vue";
|
|
5
|
+
import { isPlainObject as Zt, cloneDeep as pt, throttle as eo, isUndefined as to } from "lodash-es";
|
|
6
6
|
import { resolveAppearance as no, createPropsResolver as oo } from "../dynamic-resolver/index.esm.js";
|
|
7
7
|
import sn from "../tags/index.esm.js";
|
|
8
8
|
import ao from "../popover/index.esm.js";
|
|
@@ -75,7 +75,7 @@ import qa from "../schema-selector/index.esm.js";
|
|
|
75
75
|
import Ua from "../event-parameter/index.esm.js";
|
|
76
76
|
const cn = {}, dn = {};
|
|
77
77
|
function Yt(e) {
|
|
78
|
-
const { properties: t, title: n, ignore: o } = e, a = o && Array.isArray(o), i = Object.keys(t).reduce((r, s) => ((!a || !o.find((u) => u === s)) && (r[s] = t[s].type === "object" && t[s].properties ? Yt(t[s]) :
|
|
78
|
+
const { properties: t, title: n, ignore: o } = e, a = o && Array.isArray(o), i = Object.keys(t).reduce((r, s) => ((!a || !o.find((u) => u === s)) && (r[s] = t[s].type === "object" && t[s].properties ? Yt(t[s]) : pt(t[s].default)), r), {});
|
|
79
79
|
if (n && (!a || !o.find((r) => r === "id"))) {
|
|
80
80
|
const r = n.toLowerCase().replace(/-/g, "_");
|
|
81
81
|
i.id = `${r}_${Math.random().toString().slice(2, 6)}`;
|
|
@@ -85,7 +85,7 @@ function Yt(e) {
|
|
|
85
85
|
function Ya(e) {
|
|
86
86
|
const { properties: t, title: n, required: o } = e;
|
|
87
87
|
if (o && Array.isArray(o)) {
|
|
88
|
-
const a = o.reduce((i, r) => (i[r] = t[r].type === "object" && t[r].properties ? Yt(t[r]) :
|
|
88
|
+
const a = o.reduce((i, r) => (i[r] = t[r].type === "object" && t[r].properties ? Yt(t[r]) : pt(t[r].default), i), {});
|
|
89
89
|
if (n && o.find((i) => i === "id")) {
|
|
90
90
|
const i = n.toLowerCase().replace(/-/g, "_");
|
|
91
91
|
a.id = `${i}_${Math.random().toString().slice(2, 6)}`;
|
|
@@ -224,7 +224,7 @@ const re = {
|
|
|
224
224
|
"query-solution": { type: "query-solution", name: "筛选方案", icon: "QueryScheme" }
|
|
225
225
|
}, Za = {}, ei = {};
|
|
226
226
|
Ja();
|
|
227
|
-
function
|
|
227
|
+
function rt(e, t, n = /* @__PURE__ */ new Map(), o = (r, s, u, f) => s, a = {}, i = (r) => r) {
|
|
228
228
|
return cn[t.title] = t, dn[t.title] = o, Za[t.title] = a, ei[t.title] = i, (r = {}) => {
|
|
229
229
|
const s = Qa(r, t, n), u = Object.keys(e).reduce((f, d) => (f[d] = e[d].default, f), {});
|
|
230
230
|
return Object.assign(u, s);
|
|
@@ -664,7 +664,7 @@ const ri = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-
|
|
|
664
664
|
keepWidthWithReference: { type: Boolean, default: !0 },
|
|
665
665
|
placement: { type: String, default: "bottom-left" }
|
|
666
666
|
};
|
|
667
|
-
|
|
667
|
+
rt(pn, pi, ai, ii, yi);
|
|
668
668
|
const bi = {
|
|
669
669
|
popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
|
|
670
670
|
host: { type: Object },
|
|
@@ -1519,7 +1519,7 @@ class hn {
|
|
|
1519
1519
|
height: D
|
|
1520
1520
|
} = o.value, k = this.adaptToWindow(S || 500, D || 320);
|
|
1521
1521
|
Object.assign(o.value, k);
|
|
1522
|
-
const p = () => I(Ct,
|
|
1522
|
+
const p = () => I(Ct, dt({
|
|
1523
1523
|
ref: this.modalRef,
|
|
1524
1524
|
modelValue: a.value,
|
|
1525
1525
|
"onUpdate:modelValue": (v) => a.value = v
|
|
@@ -1576,7 +1576,7 @@ function Ei(e, t, n, o, a) {
|
|
|
1576
1576
|
const i = w(e.buttonBehavior), r = w(e.popupOnInput), s = P(() => ({
|
|
1577
1577
|
"input-group-append": !0,
|
|
1578
1578
|
"append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
|
|
1579
|
-
})), { judgeCanOpen: u } = yn(e, a), f = P(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d =
|
|
1579
|
+
})), { judgeCanOpen: u } = yn(e, a), f = P(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = ft(gn, null), c = w();
|
|
1580
1580
|
async function m(D) {
|
|
1581
1581
|
if (await u() && f.value) {
|
|
1582
1582
|
const k = !!t.slots.default;
|
|
@@ -1911,7 +1911,7 @@ const Pi = /* @__PURE__ */ Be({
|
|
|
1911
1911
|
n.value.componentInstance = O, window.onresize = () => {
|
|
1912
1912
|
document.body.click();
|
|
1913
1913
|
};
|
|
1914
|
-
}), t.expose(O), () => I(bt, null, [I("div",
|
|
1914
|
+
}), t.expose(O), () => I(bt, null, [I("div", dt(t.attrs, {
|
|
1915
1915
|
ref: n,
|
|
1916
1916
|
class: h.value,
|
|
1917
1917
|
id: e.id
|
|
@@ -2047,7 +2047,7 @@ const Pi = /* @__PURE__ */ Be({
|
|
|
2047
2047
|
onSubmitModal: { type: Function, default: null },
|
|
2048
2048
|
onFieldSelected: { type: Function, default: null },
|
|
2049
2049
|
repositoryToken: { type: Symbol, default: null }
|
|
2050
|
-
}, Ui =
|
|
2050
|
+
}, Ui = rt(Xt, Gi), bn = /* @__PURE__ */ new Map([
|
|
2051
2051
|
["appearance", Mt],
|
|
2052
2052
|
["column", "columnOption"]
|
|
2053
2053
|
]);
|
|
@@ -2989,7 +2989,7 @@ const Qi = "https://json-schema.org/draft/2020-12/schema", Ji = "https://farris-
|
|
|
2989
2989
|
width: { type: Number, default: -1 },
|
|
2990
2990
|
/** 启用虚拟渲染 */
|
|
2991
2991
|
virtualized: { type: Boolean, default: !1 }
|
|
2992
|
-
}, ar =
|
|
2992
|
+
}, ar = rt(Kt, wn, bn, Cn), ir = ni(), rr = ti(), _n = Object.assign({}, Kt, { componentId: { type: String, default: "" } }), lr = rt(_n, wn, bn, Cn), sr = oi();
|
|
2993
2993
|
var qe = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(qe || {}), et = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(et || {}), wt = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(wt || {}), Me = /* @__PURE__ */ ((e) => (e[e.none = 0] = "none", e[e.filterable = 1] = "filterable", e[e.sortable = 2] = "sortable", e[e.filtered = 4] = "filtered", e[e.sorted = 8] = "sorted", e[e.ascending = 16] = "ascending", e[e.descending = 32] = "descending", e))(Me || {}), Lt = /* @__PURE__ */ ((e) => (e.NONE = "none", e.NUMBER = "number", e.DATE = "date", e.TEXT = "boolean", e.IMAGE = "boolean2", e.ENUM = "enum", e.CUSTOM = "custom", e))(Lt || {});
|
|
2994
2994
|
function ur(e, t) {
|
|
2995
2995
|
var C;
|
|
@@ -3989,7 +3989,7 @@ class Sn {
|
|
|
3989
3989
|
name: "fade",
|
|
3990
3990
|
appear: !0
|
|
3991
3991
|
}, {
|
|
3992
|
-
default: () => [I(kt,
|
|
3992
|
+
default: () => [I(kt, dt({
|
|
3993
3993
|
ref: s
|
|
3994
3994
|
}, a, {
|
|
3995
3995
|
onClose: u
|
|
@@ -4203,7 +4203,7 @@ function Tr(e, t, n, o, a) {
|
|
|
4203
4203
|
0 < X && X <= $.value && (U.value = N, ye());
|
|
4204
4204
|
}
|
|
4205
4205
|
function Pe(N) {
|
|
4206
|
-
k.value.push(
|
|
4206
|
+
k.value.push(pt(N)), W.value = se();
|
|
4207
4207
|
}
|
|
4208
4208
|
function Ke(N = 0) {
|
|
4209
4209
|
if (!(N > -1))
|
|
@@ -4343,11 +4343,11 @@ class kn {
|
|
|
4343
4343
|
return t[n[0]];
|
|
4344
4344
|
}
|
|
4345
4345
|
getTextValue(t) {
|
|
4346
|
-
const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a,
|
|
4346
|
+
const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, pt(n)));
|
|
4347
4347
|
return o && o.length ? o.join(",") : "";
|
|
4348
4348
|
}
|
|
4349
4349
|
getValue() {
|
|
4350
|
-
const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o,
|
|
4350
|
+
const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, pt(t)));
|
|
4351
4351
|
return n && n.length ? n.join(",") : "";
|
|
4352
4352
|
}
|
|
4353
4353
|
getDisplayText() {
|
|
@@ -4440,13 +4440,13 @@ class En {
|
|
|
4440
4440
|
this.value = t.value;
|
|
4441
4441
|
}
|
|
4442
4442
|
clear() {
|
|
4443
|
-
this.value =
|
|
4443
|
+
this.value = "";
|
|
4444
4444
|
}
|
|
4445
4445
|
getValue() {
|
|
4446
4446
|
return this.value;
|
|
4447
4447
|
}
|
|
4448
4448
|
getDisplayText() {
|
|
4449
|
-
return this.value
|
|
4449
|
+
return this.value;
|
|
4450
4450
|
}
|
|
4451
4451
|
// setValue(data: { value: string; displayText: string }) {
|
|
4452
4452
|
// // this.displayText = data.dispalyText;
|
|
@@ -4462,7 +4462,7 @@ class En {
|
|
|
4462
4462
|
}
|
|
4463
4463
|
}
|
|
4464
4464
|
class Fr {
|
|
4465
|
-
constructor(t = { value:
|
|
4465
|
+
constructor(t = { value: "", displayText: "", displayField: "", isInputText: !1 }) {
|
|
4466
4466
|
Q(this, "editorType", "input-group");
|
|
4467
4467
|
// 通过弹窗返回的若干个值对象构成的数组
|
|
4468
4468
|
Q(this, "value");
|
|
@@ -4476,7 +4476,7 @@ class Fr {
|
|
|
4476
4476
|
this.value = t.value, this.displayText = t.displayText, this.valueField = t.displayField, this.isInputText = t.isInputText;
|
|
4477
4477
|
}
|
|
4478
4478
|
clear() {
|
|
4479
|
-
this.value =
|
|
4479
|
+
this.value = "", this.displayText = "", this.valueField = "";
|
|
4480
4480
|
}
|
|
4481
4481
|
getPropValue(t, n) {
|
|
4482
4482
|
if (n.length > 1) {
|
|
@@ -4486,12 +4486,11 @@ class Fr {
|
|
|
4486
4486
|
return t[n[0]];
|
|
4487
4487
|
}
|
|
4488
4488
|
getTextValue(t) {
|
|
4489
|
-
const n = t.split("."), o = this.value.map((a) => this.getPropValue(a,
|
|
4489
|
+
const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, pt(n)));
|
|
4490
4490
|
return o && o.length ? o.join(",") : "";
|
|
4491
4491
|
}
|
|
4492
4492
|
getValue() {
|
|
4493
|
-
|
|
4494
|
-
return n && n.length ? n.join(",") : "";
|
|
4493
|
+
return this.value;
|
|
4495
4494
|
}
|
|
4496
4495
|
getDisplayText() {
|
|
4497
4496
|
return this.getValue();
|
|
@@ -4898,7 +4897,7 @@ class Er {
|
|
|
4898
4897
|
}), n.contents = [o];
|
|
4899
4898
|
const { selectedFields: i } = t;
|
|
4900
4899
|
i == null || i.forEach((s) => {
|
|
4901
|
-
const u =
|
|
4900
|
+
const u = pt(s), f = this.resolveControlClassByFormColumns(t), d = this.controlCreatorUtils.setFormFieldProperty(u, "", f);
|
|
4902
4901
|
d && a.push(d);
|
|
4903
4902
|
});
|
|
4904
4903
|
const { templateId: r } = this.formSchemaUtils.getFormSchema().module;
|
|
@@ -5026,7 +5025,7 @@ const Vr = "https://json-schema.org/draft/2020-12/schema", Dr = "https://farris-
|
|
|
5026
5025
|
customClass: { type: String, default: "" },
|
|
5027
5026
|
customStyle: { type: String, defaut: "" }
|
|
5028
5027
|
};
|
|
5029
|
-
|
|
5028
|
+
rt(Hr, Wr, Qt, Mr);
|
|
5030
5029
|
const Lr = "https://json-schema.org/draft/2020-12/schema", Ar = "https://farris-design.gitee.io/form-group.schema.json", zr = "form-group", Gr = "A Farris Input Component", qr = "object", Ur = {
|
|
5031
5030
|
id: {
|
|
5032
5031
|
description: "The unique identifier for a form group",
|
|
@@ -5099,9 +5098,10 @@ const Lr = "https://json-schema.org/draft/2020-12/schema", Ar = "https://farris-
|
|
|
5099
5098
|
visible: { type: Boolean, default: !0 },
|
|
5100
5099
|
required: { type: Boolean, default: !1 },
|
|
5101
5100
|
showLabel: { type: Boolean, default: !0 },
|
|
5102
|
-
type: { type: String, default: "input-group" }
|
|
5101
|
+
type: { type: String, default: "input-group" },
|
|
5102
|
+
componentId: { type: String, default: "" }
|
|
5103
5103
|
};
|
|
5104
|
-
|
|
5104
|
+
rt(
|
|
5105
5105
|
Hn,
|
|
5106
5106
|
Wn,
|
|
5107
5107
|
Qt,
|
|
@@ -5299,7 +5299,7 @@ class Kr {
|
|
|
5299
5299
|
const o = n && n.parent && n.parent.schema;
|
|
5300
5300
|
if (!o)
|
|
5301
5301
|
return;
|
|
5302
|
-
const a = o.contents.findIndex((r) => r.id === t), i =
|
|
5302
|
+
const a = o.contents.findIndex((r) => r.id === t), i = pt(o.contents[a]);
|
|
5303
5303
|
o.contents.splice(a, 1), o.contents.splice(a, 0, i);
|
|
5304
5304
|
}
|
|
5305
5305
|
}
|
|
@@ -5359,7 +5359,7 @@ function el(e) {
|
|
|
5359
5359
|
let t;
|
|
5360
5360
|
e.className.includes("dgComponentSelected") ? t = e : t = e.querySelector(".dgComponentSelected"), t && Ln(t);
|
|
5361
5361
|
}
|
|
5362
|
-
var
|
|
5362
|
+
var ut = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
5363
5363
|
function Ft(e) {
|
|
5364
5364
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
5365
5365
|
}
|
|
@@ -5562,26 +5562,26 @@ var tl = { exports: {} };
|
|
|
5562
5562
|
var L = T("clientX", j) || 0, K = T("clientY", j) || 0;
|
|
5563
5563
|
F.style.left = L - 2 + "px", F.style.top = K - 2 + "px";
|
|
5564
5564
|
var le = U || R, me = k(F, L, K), be = tt(me, L, K), at = be !== null && be !== ae;
|
|
5565
|
-
(at || be === null) && (Ye(), ae = be,
|
|
5565
|
+
(at || be === null) && (Ye(), ae = be, st()), Se(me, K);
|
|
5566
5566
|
var Ge = x(le);
|
|
5567
5567
|
if (be === _ && U && !H.copySortSource) {
|
|
5568
5568
|
Ge && Ge.removeChild(le);
|
|
5569
5569
|
return;
|
|
5570
5570
|
}
|
|
5571
|
-
var Ze,
|
|
5572
|
-
if (Z = ge(
|
|
5573
|
-
Ze = je(be,
|
|
5571
|
+
var Ze, lt = _e(be, me);
|
|
5572
|
+
if (Z = ge(lt, be), lt !== null)
|
|
5573
|
+
Ze = je(be, lt, L, K);
|
|
5574
5574
|
else if (H.revertOnSpill === !0 && !U)
|
|
5575
5575
|
Ze = A, be = _;
|
|
5576
5576
|
else {
|
|
5577
5577
|
U && Ge && Ge.removeChild(le), U && W && (W.style.display = "none");
|
|
5578
5578
|
return;
|
|
5579
5579
|
}
|
|
5580
|
-
W.style.display = "block", ot(Ze, le, at), Ze ? Ce(
|
|
5580
|
+
W.style.display = "block", ot(Ze, le, at), Ze ? Ce(lt, Ze) : we(be);
|
|
5581
5581
|
function Ee(De) {
|
|
5582
5582
|
q.emit(De, le, ae, _);
|
|
5583
5583
|
}
|
|
5584
|
-
function
|
|
5584
|
+
function st() {
|
|
5585
5585
|
at && Ee("over");
|
|
5586
5586
|
}
|
|
5587
5587
|
function Ye() {
|
|
@@ -5693,21 +5693,21 @@ var tl = { exports: {} };
|
|
|
5693
5693
|
var me = H.direction === "horizontal", be = H.direction === "mixed", at = L !== j ? Ze() : Ge();
|
|
5694
5694
|
return at;
|
|
5695
5695
|
function Ge() {
|
|
5696
|
-
var Ee = j.children.length,
|
|
5697
|
-
for (
|
|
5698
|
-
if (Ye = j.children[
|
|
5696
|
+
var Ee = j.children.length, st, Ye, De;
|
|
5697
|
+
for (st = 0; st < Ee; st++)
|
|
5698
|
+
if (Ye = j.children[st], De = Ye.getBoundingClientRect(), me && De.left + De.width / 2 > K || !be && !me && De.top + De.height / 2 > le || be && De.left + De.width > K && De.top + De.height > le)
|
|
5699
5699
|
return Ye;
|
|
5700
5700
|
return null;
|
|
5701
5701
|
}
|
|
5702
5702
|
function Ze() {
|
|
5703
5703
|
var Ee = L.getBoundingClientRect();
|
|
5704
5704
|
if (be) {
|
|
5705
|
-
var
|
|
5706
|
-
return Z ? Dt = It < Ye : Dt = De === Vt || It === Vt || Ye === Vt,
|
|
5705
|
+
var st = le - Ee.top, Ye = K - Ee.left, De = Ee.bottom - le, It = Ee.right - K, Vt = Math.min(Ye, It, st, De), Dt;
|
|
5706
|
+
return Z ? Dt = It < Ye : Dt = De === Vt || It === Vt || Ye === Vt, lt(Dt);
|
|
5707
5707
|
}
|
|
5708
|
-
return
|
|
5708
|
+
return lt(me ? K > Ee.left + B(Ee) / 2 : le > Ee.top + v(Ee) / 2);
|
|
5709
5709
|
}
|
|
5710
|
-
function
|
|
5710
|
+
function lt(Ee) {
|
|
5711
5711
|
return Ee ? O(L) : L;
|
|
5712
5712
|
}
|
|
5713
5713
|
}
|
|
@@ -5810,7 +5810,7 @@ var tl = { exports: {} };
|
|
|
5810
5810
|
return y in F && !(y in E) && F[y] in E && (y = F[y]), E[y];
|
|
5811
5811
|
}
|
|
5812
5812
|
o.exports = c;
|
|
5813
|
-
}).call(this, typeof
|
|
5813
|
+
}).call(this, typeof ut < "u" ? ut : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
5814
5814
|
}, { "./classes": 1, "contra/emitter": 5, crossvent: 6 }],
|
|
5815
5815
|
3: [function(n, o, a) {
|
|
5816
5816
|
o.exports = function(r, s) {
|
|
@@ -5927,7 +5927,7 @@ var tl = { exports: {} };
|
|
|
5927
5927
|
if (g = c[O], g.element === x && g.type === M && g.fn === l)
|
|
5928
5928
|
return O;
|
|
5929
5929
|
}
|
|
5930
|
-
}).call(this, typeof
|
|
5930
|
+
}).call(this, typeof ut < "u" ? ut : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
5931
5931
|
}, { "./eventmap": 7, "custom-event": 8 }],
|
|
5932
5932
|
7: [function(n, o, a) {
|
|
5933
5933
|
(function(i) {
|
|
@@ -5935,7 +5935,7 @@ var tl = { exports: {} };
|
|
|
5935
5935
|
for (s in i)
|
|
5936
5936
|
u.test(s) && r.push(s.slice(2));
|
|
5937
5937
|
o.exports = r;
|
|
5938
|
-
}).call(this, typeof
|
|
5938
|
+
}).call(this, typeof ut < "u" ? ut : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
5939
5939
|
}, {}],
|
|
5940
5940
|
8: [function(n, o, a) {
|
|
5941
5941
|
(function(i) {
|
|
@@ -5961,7 +5961,7 @@ var tl = { exports: {} };
|
|
|
5961
5961
|
}
|
|
5962
5962
|
)
|
|
5963
5963
|
);
|
|
5964
|
-
}).call(this, typeof
|
|
5964
|
+
}).call(this, typeof ut < "u" ? ut : typeof self < "u" ? self : typeof window < "u" ? window : {});
|
|
5965
5965
|
}, {}],
|
|
5966
5966
|
9: [function(n, o, a) {
|
|
5967
5967
|
var i = o.exports = {}, r, s;
|
|
@@ -6242,7 +6242,7 @@ const al = "https://json-schema.org/draft/2020-12/schema", il = "https://farris-
|
|
|
6242
6242
|
onClick: { type: Function, default: () => {
|
|
6243
6243
|
} }
|
|
6244
6244
|
};
|
|
6245
|
-
|
|
6245
|
+
rt(gl, dl, nl, ol, hl);
|
|
6246
6246
|
const yl = {
|
|
6247
6247
|
id: { type: String, default: "" },
|
|
6248
6248
|
componentId: { type: String, default: "" },
|
|
@@ -6299,7 +6299,7 @@ const Gt = /* @__PURE__ */ Be({
|
|
|
6299
6299
|
props: yl,
|
|
6300
6300
|
emits: ["selectionChange"],
|
|
6301
6301
|
setup(e, t) {
|
|
6302
|
-
const n = w(`${e.modelValue.id}-component`), o = w(e.canMove), a = w(e.canDelete), i = w(!1), r = w(e.modelValue), s = w(e.componentId || ""), u = w(""), f = w(""), d = w(e.customClass), c = w(), m =
|
|
6302
|
+
const n = w(`${e.modelValue.id}-component`), o = w(e.canMove), a = w(e.canDelete), i = w(!1), r = w(e.modelValue), s = w(e.componentId || ""), u = w(""), f = w(""), d = w(e.customClass), c = w(), m = ft("canvas-dragula"), C = w(), S = ft("design-item-context"), D = {
|
|
6303
6303
|
designerItemElementRef: c,
|
|
6304
6304
|
componentInstance: C,
|
|
6305
6305
|
schema: r.value,
|
|
@@ -6307,7 +6307,7 @@ const Gt = /* @__PURE__ */ Be({
|
|
|
6307
6307
|
setupContext: t
|
|
6308
6308
|
};
|
|
6309
6309
|
Jn("design-item-context", D);
|
|
6310
|
-
const k =
|
|
6310
|
+
const k = ft("useFormSchema"), p = P(() => {
|
|
6311
6311
|
var $;
|
|
6312
6312
|
const _ = e.modelValue.appearance && e.modelValue.appearance.class || "", R = (($ = C.value) == null ? void 0 : $.getCustomButtons) && C.value.getCustomButtons();
|
|
6313
6313
|
let V = {
|
|
@@ -6400,7 +6400,7 @@ const Gt = /* @__PURE__ */ Be({
|
|
|
6400
6400
|
const V = _.type, $ = bl[V], A = Cl[V], G = A ? A(_) : {};
|
|
6401
6401
|
G.customClass = e.ignore ? G.customClass : "", G.componentId = s.value, G.id = _.id;
|
|
6402
6402
|
const U = _.contents && _.contents.length === 0;
|
|
6403
|
-
return _.contents && !!_.contents.length && $ ? I($,
|
|
6403
|
+
return _.contents && !!_.contents.length && $ ? I($, dt({
|
|
6404
6404
|
ref: C
|
|
6405
6405
|
}, G), Sl(R = _.contents.map((ae) => I(Gt, {
|
|
6406
6406
|
key: ae.id,
|
|
@@ -6410,11 +6410,11 @@ const Gt = /* @__PURE__ */ Be({
|
|
|
6410
6410
|
onSelectionChange: O
|
|
6411
6411
|
}, null))) ? R : {
|
|
6412
6412
|
default: () => [R]
|
|
6413
|
-
}) : $ ? U ? I($,
|
|
6413
|
+
}) : $ ? U ? I($, dt({
|
|
6414
6414
|
ref: C
|
|
6415
6415
|
}, G), {
|
|
6416
6416
|
default: () => [I(_l, null, null)]
|
|
6417
|
-
}) : I($,
|
|
6417
|
+
}) : I($, dt({
|
|
6418
6418
|
ref: C
|
|
6419
6419
|
}, G), null) : I("div", null, null);
|
|
6420
6420
|
}
|
|
@@ -6478,21 +6478,32 @@ const Gt = /* @__PURE__ */ Be({
|
|
|
6478
6478
|
id: { type: String },
|
|
6479
6479
|
required: { type: Boolean, default: !1 },
|
|
6480
6480
|
text: { type: String, default: "" },
|
|
6481
|
-
title: { type: String }
|
|
6481
|
+
title: { type: String },
|
|
6482
|
+
valid: { type: Boolean, default: !0 },
|
|
6483
|
+
inValidTip: { type: String, default: "" }
|
|
6482
6484
|
}, Tl = /* @__PURE__ */ Be({
|
|
6483
6485
|
name: "FDynamicFormLabel",
|
|
6484
6486
|
props: xl,
|
|
6485
6487
|
emits: [],
|
|
6486
6488
|
setup(e, t) {
|
|
6487
|
-
const n = w(e.title || e.text), o = w(e.required), a = w(e.text);
|
|
6488
|
-
|
|
6489
|
+
const n = w(e.title || e.text), o = w(e.required), a = w(e.text), i = w(e.valid), r = w(e.inValidTip);
|
|
6490
|
+
fe(() => e.text, () => {
|
|
6489
6491
|
a.value = e.text;
|
|
6490
|
-
}), fe(() => e.required, (
|
|
6491
|
-
|
|
6492
|
-
}), () =>
|
|
6492
|
+
}), fe(() => e.required, (f, d) => {
|
|
6493
|
+
f !== d && (o.value = f);
|
|
6494
|
+
}), fe([() => e.valid, () => e.inValidTip], ([f, d]) => {
|
|
6495
|
+
i.value = f, r.value = d;
|
|
6496
|
+
});
|
|
6497
|
+
const s = P(() => i.value ? n.value : r.value), u = P(() => i.value ? "" : "color:red");
|
|
6498
|
+
return () => a.value && I("label", {
|
|
6493
6499
|
class: "col-form-label",
|
|
6494
|
-
title:
|
|
6495
|
-
|
|
6500
|
+
title: s.value,
|
|
6501
|
+
style: u.value
|
|
6502
|
+
}, [!i.value && I("span", {
|
|
6503
|
+
class: "f-icon f-icon-warning mr-1",
|
|
6504
|
+
style: "color: red; min-width: 16px;",
|
|
6505
|
+
title: r.value
|
|
6506
|
+
}, null), o.value && I("span", {
|
|
6496
6507
|
class: "farris-label-info text-danger"
|
|
6497
6508
|
}, [ht("*")]), I("span", {
|
|
6498
6509
|
class: "farris-label-text"
|
|
@@ -6617,7 +6628,7 @@ const Ol = /* @__PURE__ */ Be({
|
|
|
6617
6628
|
}
|
|
6618
6629
|
const B = P(() => {
|
|
6619
6630
|
const x = a.value.type || "input-group", M = C(x), l = m(x, a.value), O = S(x), g = D(a.value.type);
|
|
6620
|
-
return g && (l[g] = h), l[O] = p, (l.id == null || l.id === "") && (l.id = n.value), x === "number-range" && a.value.onBeginValueChange && typeof a.value.onBeginValueChange == "function" ? (a.value.onBeginValueChange && typeof a.value.onBeginValueChange == "function" && (l.onBeginValueChange = a.value.onBeginValueChange), a.value.onEndValueChange && typeof a.value.onEndValueChange == "function" && (l.onEndValueChange = a.value.onEndValueChange)) : x === "lookup" && a.value["onUpdate:idValue"] && typeof a.value["onUpdate:idValue"] == "function" && (l["onUpdate:idValue"] = a.value["onUpdate:idValue"]), () => I(M,
|
|
6631
|
+
return g && (l[g] = h), l[O] = p, (l.id == null || l.id === "") && (l.id = n.value), x === "number-range" && a.value.onBeginValueChange && typeof a.value.onBeginValueChange == "function" ? (a.value.onBeginValueChange && typeof a.value.onBeginValueChange == "function" && (l.onBeginValueChange = a.value.onBeginValueChange), a.value.onEndValueChange && typeof a.value.onEndValueChange == "function" && (l.onEndValueChange = a.value.onEndValueChange)) : x === "lookup" && a.value["onUpdate:idValue"] && typeof a.value["onUpdate:idValue"] == "function" && (l["onUpdate:idValue"] = a.value["onUpdate:idValue"]), () => I(M, dt({
|
|
6621
6632
|
ref: c
|
|
6622
6633
|
}, l, {
|
|
6623
6634
|
modelValue: r.value,
|
|
@@ -6946,7 +6957,7 @@ const Ml = "https://json-schema.org/draft/2020-12/schema", Il = "https://farris-
|
|
|
6946
6957
|
*/
|
|
6947
6958
|
updateOn: { type: String, default: "blur" }
|
|
6948
6959
|
};
|
|
6949
|
-
|
|
6960
|
+
rt(Wl, jl, Bl, El);
|
|
6950
6961
|
const yt = class yt {
|
|
6951
6962
|
/**
|
|
6952
6963
|
* 根据绑定字段类型获取可用的输入类控件
|
|
@@ -7053,7 +7064,7 @@ const Hl = {
|
|
|
7053
7064
|
*/
|
|
7054
7065
|
selectOnCreated: { type: Boolean, default: !1 }
|
|
7055
7066
|
};
|
|
7056
|
-
|
|
7067
|
+
rt(
|
|
7057
7068
|
Hl,
|
|
7058
7069
|
Wn,
|
|
7059
7070
|
Qt,
|
|
@@ -7355,7 +7366,7 @@ const Ot = /* @__PURE__ */ Be({
|
|
|
7355
7366
|
}, [S()]), D(), m()]);
|
|
7356
7367
|
}
|
|
7357
7368
|
});
|
|
7358
|
-
class
|
|
7369
|
+
class ct {
|
|
7359
7370
|
static show(t) {
|
|
7360
7371
|
const n = it({
|
|
7361
7372
|
...t
|
|
@@ -7375,7 +7386,7 @@ class dt {
|
|
|
7375
7386
|
fitContent: !0,
|
|
7376
7387
|
showMaxButton: !1,
|
|
7377
7388
|
draggable: !0,
|
|
7378
|
-
render: () => I(Ot,
|
|
7389
|
+
render: () => I(Ot, dt(n, {
|
|
7379
7390
|
onAccept: r,
|
|
7380
7391
|
onReject: s,
|
|
7381
7392
|
onClose: d
|
|
@@ -7390,7 +7401,7 @@ class dt {
|
|
|
7390
7401
|
okButtonText: "知道了",
|
|
7391
7402
|
cancelButtonText: ""
|
|
7392
7403
|
});
|
|
7393
|
-
|
|
7404
|
+
ct.show(o);
|
|
7394
7405
|
}
|
|
7395
7406
|
static warning(t, n) {
|
|
7396
7407
|
const o = it({
|
|
@@ -7400,7 +7411,7 @@ class dt {
|
|
|
7400
7411
|
okButtonText: "知道了",
|
|
7401
7412
|
cancelButtonText: ""
|
|
7402
7413
|
});
|
|
7403
|
-
|
|
7414
|
+
ct.show(o);
|
|
7404
7415
|
}
|
|
7405
7416
|
static success(t, n) {
|
|
7406
7417
|
const o = it({
|
|
@@ -7410,7 +7421,7 @@ class dt {
|
|
|
7410
7421
|
okButtonText: "关闭",
|
|
7411
7422
|
cancelButtonText: ""
|
|
7412
7423
|
});
|
|
7413
|
-
|
|
7424
|
+
ct.show(o);
|
|
7414
7425
|
}
|
|
7415
7426
|
static error(t, n, o) {
|
|
7416
7427
|
const a = it({
|
|
@@ -7424,7 +7435,7 @@ class dt {
|
|
|
7424
7435
|
detail: n
|
|
7425
7436
|
}
|
|
7426
7437
|
});
|
|
7427
|
-
|
|
7438
|
+
ct.show(a);
|
|
7428
7439
|
}
|
|
7429
7440
|
static prompt(t, n) {
|
|
7430
7441
|
const o = it({
|
|
@@ -7434,7 +7445,7 @@ class dt {
|
|
|
7434
7445
|
okButtonText: "确定",
|
|
7435
7446
|
cancelButtonText: "取消"
|
|
7436
7447
|
});
|
|
7437
|
-
|
|
7448
|
+
ct.show(o);
|
|
7438
7449
|
}
|
|
7439
7450
|
static question(t, n, o, a) {
|
|
7440
7451
|
const i = it({
|
|
@@ -7446,11 +7457,11 @@ class dt {
|
|
|
7446
7457
|
acceptCallback: o,
|
|
7447
7458
|
rejectCallback: a
|
|
7448
7459
|
});
|
|
7449
|
-
|
|
7460
|
+
ct.show(i);
|
|
7450
7461
|
}
|
|
7451
7462
|
}
|
|
7452
7463
|
Ot.install = (e) => {
|
|
7453
|
-
e.component(Ot.name, Ot), e.provide("FMessageBoxService",
|
|
7464
|
+
e.component(Ot.name, Ot), e.provide("FMessageBoxService", ct);
|
|
7454
7465
|
};
|
|
7455
7466
|
var _t = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(_t || {}), Xe = /* @__PURE__ */ ((e) => (e.Equal = "0", e.NotEqual = "1", e.Greater = "2", e.GreaterOrEqual = "3", e.Less = "4", e.LessOrEqual = "5", e.Like = "6", e.LikeStartWith = "7", e.LikeEndWith = "8", e.In = "9", e.NotIn = "10", e))(Xe || {});
|
|
7456
7467
|
const ds = [
|
|
@@ -9704,7 +9715,7 @@ const Ks = /* @__PURE__ */ Be({
|
|
|
9704
9715
|
emits: [],
|
|
9705
9716
|
setup(e, t) {
|
|
9706
9717
|
var Ne, Ve;
|
|
9707
|
-
const n = w(), o = 0, a = ((Ne = e.rowOption) == null ? void 0 : Ne.height) || 28, i = w(20), r = w(e.columns), s = Rs(e), u = w(), f = w(), d = w([]), c = w(!1), m = w(((Ve = e.rowOption) == null ? void 0 : Ve.wrapContent) || !1), C =
|
|
9718
|
+
const n = w(), o = 0, a = ((Ne = e.rowOption) == null ? void 0 : Ne.height) || 28, i = w(20), r = w(e.columns), s = Rs(e), u = w(), f = w(), d = w([]), c = w(!1), m = w(((Ve = e.rowOption) == null ? void 0 : Ve.wrapContent) || !1), C = ft("designer-host-service"), S = ft("design-item-context"), D = Ys(S, C), k = Xr(n, S, D);
|
|
9708
9719
|
k.value.designerClass = "f-utils-fill-flex-column";
|
|
9709
9720
|
const p = _s(), h = Ss(e), B = Tr(e, /* @__PURE__ */ new Map(), p, h, s), v = $s(e, B, s, d, t), x = P(() => B.dataView.value.length), {
|
|
9710
9721
|
containerStyleObject: M
|
|
@@ -9837,11 +9848,11 @@ const qt = /* @__PURE__ */ Be({
|
|
|
9837
9848
|
props: Xt,
|
|
9838
9849
|
emits: ["selected"],
|
|
9839
9850
|
setup(e, t) {
|
|
9840
|
-
const n = '<i class="f-icon f-icon-lookup"></i>', o = w(e.bindingData), a = w(e.data), i = w(), r =
|
|
9851
|
+
const n = '<i class="f-icon f-icon-lookup"></i>', o = w(e.bindingData), a = w(e.data), i = w(), r = ft(xn);
|
|
9841
9852
|
r && (r.globalConfig = {
|
|
9842
9853
|
position: "top-center"
|
|
9843
9854
|
});
|
|
9844
|
-
const s =
|
|
9855
|
+
const s = ft(e.repositoryToken);
|
|
9845
9856
|
fe(() => e.data, (k) => {
|
|
9846
9857
|
a.value = k;
|
|
9847
9858
|
});
|