@farris/ui-vue 1.7.3 → 1.7.5
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/accordion/index.esm.js +312 -61
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +1482 -56
- package/components/avatar/index.umd.cjs +1 -1
- package/components/binding-selector/index.esm.js +752 -8
- package/components/binding-selector/index.umd.cjs +1 -1
- package/components/button-group/index.esm.js +266 -110
- package/components/button-group/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +129 -128
- package/components/calendar/index.umd.cjs +2 -2
- package/components/code-editor/index.esm.js +237 -169
- package/components/code-editor/index.umd.cjs +3 -3
- package/components/collection-property-editor/index.esm.js +134 -133
- package/components/collection-property-editor/index.umd.cjs +2 -2
- package/components/color-picker/index.esm.js +812 -502
- package/components/color-picker/index.umd.cjs +1 -1
- package/components/combo-list/index.esm.js +323 -291
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-tree/index.esm.js +355 -174
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/comment/index.esm.js +134 -133
- package/components/comment/index.umd.cjs +2 -2
- package/components/common/index.esm.js +1 -1
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.esm.js +3791 -2760
- package/components/component/index.umd.cjs +8 -1
- package/components/condition/index.esm.js +2482 -492
- package/components/condition/index.umd.cjs +8 -1
- package/components/data-view/index.esm.js +1816 -1790
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +1 -1
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.esm.js +2975 -2615
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/drawer/index.esm.js +397 -387
- package/components/drawer/index.umd.cjs +2 -2
- package/components/dropdown/index.esm.js +373 -124
- package/components/dropdown/index.umd.cjs +2 -2
- package/components/dynamic-form/index.esm.js +592 -1894
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +250 -248
- package/components/dynamic-resolver/index.umd.cjs +2 -2
- package/components/dynamic-view/index.esm.js +427 -466
- package/components/dynamic-view/index.umd.cjs +1 -1
- package/components/event-parameter/index.esm.js +1 -1
- package/components/event-parameter/index.umd.cjs +1 -1
- package/components/events-editor/index.esm.js +1890 -1473
- package/components/events-editor/index.umd.cjs +3 -3
- package/components/expression-editor/index.css +1 -1
- package/components/expression-editor/index.esm.js +7371 -2
- package/components/expression-editor/index.umd.cjs +427 -1
- package/components/fieldset/index.esm.js +1 -1
- package/components/fieldset/index.umd.cjs +1 -1
- package/components/filter-bar/index.esm.js +2 -3
- package/components/filter-bar/index.umd.cjs +2 -2
- package/components/filter-condition-editor/index.css +1 -1
- package/components/filter-condition-editor/index.esm.js +9044 -425
- package/components/filter-condition-editor/index.umd.cjs +427 -1
- package/components/html-template/index.esm.js +33 -36
- package/components/html-template/index.umd.cjs +1 -1
- package/components/image-cropper/index.esm.js +615 -361
- package/components/image-cropper/index.umd.cjs +1 -1
- package/components/json-editor/index.esm.js +325 -247
- package/components/json-editor/index.umd.cjs +1 -1
- package/components/language-textbox/index.esm.js +269 -269
- package/components/language-textbox/index.umd.cjs +2 -2
- package/components/layout/index.esm.js +549 -163
- package/components/layout/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +837 -39
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/list-view/index.esm.js +427 -646
- package/components/list-view/index.umd.cjs +6 -6
- package/components/lookup/index.esm.js +3624 -3625
- package/components/lookup/index.umd.cjs +1 -1
- package/components/menu-lookup/index.esm.js +577 -536
- package/components/menu-lookup/index.umd.cjs +6 -6
- package/components/nav/index.esm.js +311 -31
- package/components/nav/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +1634 -189
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +82 -82
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.esm.js +1190 -850
- package/components/order/index.umd.cjs +6 -6
- package/components/page-footer/index.esm.js +331 -48
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +110 -116
- package/components/page-header/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +509 -232
- package/components/pagination/index.umd.cjs +1 -1
- package/components/progress/index.esm.js +353 -148
- package/components/progress/index.umd.cjs +3 -3
- package/components/property-editor/index.esm.js +157 -153
- package/components/property-editor/index.umd.cjs +1 -1
- package/components/property-panel/index.esm.js +1825 -871
- package/components/property-panel/index.umd.cjs +12 -5
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +6075 -3863
- package/components/query-solution/index.umd.cjs +13 -6
- package/components/response-layout/index.esm.js +1 -1
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +2447 -2221
- package/components/schema-selector/index.umd.cjs +7 -7
- package/components/search-box/index.esm.js +244 -72
- package/components/search-box/index.umd.cjs +1 -1
- package/components/section/index.esm.js +134 -133
- package/components/section/index.umd.cjs +2 -2
- package/components/smoke-detector/index.esm.js +179 -8
- package/components/smoke-detector/index.umd.cjs +1 -1
- package/components/sort-condition-editor/index.css +1 -0
- package/components/sort-condition-editor/index.esm.js +9488 -4
- package/components/sort-condition-editor/index.umd.cjs +427 -1
- package/components/splitter/index.esm.js +1172 -142
- package/components/splitter/index.umd.cjs +1 -1
- package/components/step/index.esm.js +47 -48
- package/components/step/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +490 -419
- package/components/tabs/index.umd.cjs +1 -1
- package/components/text/index.esm.js +217 -73
- package/components/text/index.umd.cjs +1 -1
- package/components/textarea/index.esm.js +29 -27
- package/components/textarea/index.umd.cjs +2 -2
- package/components/transfer/index.esm.js +760 -543
- package/components/transfer/index.umd.cjs +5 -5
- package/components/tree-grid/index.esm.js +105 -104
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.esm.js +320 -153
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/uploader/index.esm.js +1125 -634
- package/components/uploader/index.umd.cjs +2 -2
- package/components/verify-detail/index.esm.js +359 -106
- package/components/verify-detail/index.umd.cjs +1 -1
- package/components/video/index.esm.js +222 -89
- package/components/video/index.umd.cjs +1 -1
- package/components/weather/index.esm.js +290 -199
- package/components/weather/index.umd.cjs +1 -1
- package/designer/data-grid/index.esm.js +5192 -4408
- package/designer/data-grid/index.umd.cjs +17 -10
- package/designer/drawer/index.esm.js +576 -567
- package/designer/drawer/index.umd.cjs +2 -2
- package/designer/dynamic-form/index.esm.js +1418 -1154
- package/designer/dynamic-form/index.umd.cjs +8 -1
- package/designer/farris-designer.all.esm.js +12665 -12117
- package/designer/farris-designer.all.umd.cjs +12 -12
- package/designer/list-view/index.esm.js +327 -327
- package/designer/list-view/index.umd.cjs +3 -3
- package/designer/modal/index.esm.js +29 -137
- package/designer/modal/index.umd.cjs +1 -1
- package/designer/radio-group/index.esm.js +0 -1
- package/designer/radio-group/index.umd.cjs +1 -1
- package/designer/response-toolbar/index.esm.js +9 -9
- package/designer/response-toolbar/index.umd.cjs +1 -1
- package/designer/section/index.esm.js +1 -6
- package/designer/section/index.umd.cjs +1 -1
- package/designer/tabs/index.esm.js +2829 -2540
- package/designer/tabs/index.umd.cjs +2 -2
- package/designer/tree-grid/index.esm.js +822 -464
- package/designer/tree-grid/index.umd.cjs +1 -1
- package/farris.all.esm.js +68724 -67244
- package/farris.all.umd.cjs +92 -92
- package/index.css +1 -1
- package/package.json +1 -1
- package/types/accordion/src/accordion.props.d.ts +1 -0
- package/types/accordion/src/components/accordion-item.props.d.ts +1 -0
- package/types/avatar/src/avatar.props.d.ts +1 -0
- package/types/binding-selector/index.d.ts +54 -0
- package/types/binding-selector/src/binding-selector.props.d.ts +1 -0
- package/types/button-group/index.d.ts +0 -15
- package/types/button-group/src/button-group.props.d.ts +1 -0
- package/types/code-editor/index.d.ts +1 -0
- package/types/code-editor/src/code-textbox.component.d.ts +6 -6
- package/types/code-editor/src/code-textbox.props.d.ts +2 -0
- package/types/color-picker/index.d.ts +15 -0
- package/types/color-picker/src/color-picker.props.d.ts +1 -0
- package/types/combo-list/src/composition/use-data-source.d.ts +2 -1
- package/types/combo-list/src/property-config/combo-list.property-config.d.ts +14 -2
- package/types/combo-tree/src/combo-tree.props.d.ts +1 -0
- package/types/component/index.d.ts +2 -0
- package/types/component/src/component.props.d.ts +8 -0
- package/types/components.d.ts +6 -1
- package/types/condition/index.d.ts +55 -0
- package/types/designer-toolbox/index.d.ts +3 -0
- package/types/designer-toolbox/src/toolbox.component.d.ts +14 -0
- package/types/designer-toolbox/src/toolbox.props.d.ts +29 -0
- package/types/designer-toolbox/src/types.d.ts +21 -0
- package/types/designer.d.ts +13 -0
- package/types/dropdown/index.d.ts +6 -27
- package/types/dropdown/src/dropdown.item.component.d.ts +1 -1
- package/types/dropdown/src/dropdown.props.d.ts +1 -0
- package/types/dynamic-form/designer.d.ts +1 -3
- package/types/dynamic-form/index.d.ts +3 -9
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -3
- package/types/dynamic-resolver/index.d.ts +0 -3
- package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver-design.d.ts +1 -1
- package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver.d.ts +1 -1
- package/types/dynamic-resolver/src/resolver/property-config/use-property-config-resolver.d.ts +2 -2
- package/types/dynamic-resolver/src/resolver/schema/schema-resolver-design.d.ts +1 -1
- package/types/dynamic-resolver/src/resolver/schema/schema-resolver.d.ts +1 -1
- package/types/dynamic-view/src/components/maps.d.ts +104 -92
- package/types/{binding-selector/designer.d.ts → expression-editor/index.d.ts} +6 -6
- package/types/filter-condition-editor/index.d.ts +9 -0
- package/types/filter-condition-editor/src/components/filter-condition-grid.component.d.ts +12 -12
- package/types/filter-condition-editor/src/components/sort-editor-grid.component.d.ts +12 -12
- package/types/filter-condition-editor/src/filter-condition-editor.props.d.ts +1 -0
- package/types/flow-canvas/index.d.ts +3 -0
- package/types/{dynamic-form/src/component/form-control/form-control.component.d.ts → flow-canvas/src/components/flow-node-item.component.d.ts} +1 -1
- package/types/flow-canvas/src/components/flow-node-item.props.d.ts +3 -0
- package/types/flow-canvas/src/composition/types.d.ts +42 -0
- package/types/flow-canvas/src/composition/use-bezier-curve.d.ts +2 -0
- package/types/flow-canvas/src/composition/use-connections.d.ts +2 -0
- package/types/flow-canvas/src/composition/use-curve.d.ts +4 -0
- package/types/flow-canvas/src/composition/use-drawing-bezier.d.ts +2 -0
- package/types/flow-canvas/src/composition/use-drawing.d.ts +4 -0
- package/types/flow-canvas/src/flow-canvas.component.d.ts +8 -0
- package/types/flow-canvas/src/flow-canvas.props.d.ts +3 -0
- package/types/image-cropper/src/image-cropper.props.d.ts +1 -0
- package/types/index.d.ts +1 -0
- package/types/json-editor/src/json-editor.props.d.ts +1 -0
- package/types/layout/index.d.ts +0 -1
- package/types/layout/src/components/layout-pane.props.d.ts +1 -0
- package/types/layout/src/layout.props.d.ts +1 -0
- package/types/list-nav/index.d.ts +5 -24
- package/types/list-nav/src/list-nav.props.d.ts +1 -0
- package/types/list-view/index.d.ts +0 -1
- package/types/list-view/src/composition/use-draggable.d.ts +1 -1
- package/types/lookup/index.d.ts +1 -1
- package/types/lookup/src/components/popup-container.component.d.ts +3 -3
- package/types/menu-lookup/src/menu-lookup.props.d.ts +1 -0
- package/types/modal/designer.d.ts +0 -2
- package/types/nav/index.d.ts +20 -24
- package/types/nav/src/nav.props.d.ts +1 -0
- package/types/number-range/src/number-range.props.d.ts +1 -0
- package/types/order/index.d.ts +5 -36
- package/types/order/src/designer/order.design.component.d.ts +1 -1
- package/types/order/src/order.props.d.ts +1 -0
- package/types/page-footer/index.d.ts +2 -0
- package/types/page-footer/src/page-footer.props.d.ts +1 -0
- package/types/pagination/index.d.ts +0 -15
- package/types/pagination/src/pagination.props.d.ts +1 -0
- package/types/progress/src/progress.props.d.ts +1 -0
- package/types/query-solution/index.d.ts +1 -1
- package/types/radio-group/designer.d.ts +1 -2
- package/types/search-box/index.d.ts +17 -1
- package/types/search-box/src/search-box.props.d.ts +1 -0
- package/types/section/designer.d.ts +0 -1
- package/types/smoke-detector/index.d.ts +2 -0
- package/types/smoke-detector/src/smoke-detector.props.d.ts +1 -0
- package/types/sort-condition-editor/index.d.ts +7 -2
- package/types/sort-condition-editor/src/sort-condition-editor.props.d.ts +1 -0
- package/types/splitter/index.d.ts +0 -1
- package/types/splitter/src/components/splitter-pane.props.d.ts +1 -0
- package/types/splitter/src/splitter.props.d.ts +1 -0
- package/types/tabs/designer.d.ts +0 -1
- package/types/tabs/index.d.ts +1 -0
- package/types/text/index.d.ts +20 -24
- package/types/text/src/text.props.d.ts +1 -0
- package/types/transfer/src/transfer.props.d.ts +1 -0
- package/types/tree-view/src/tree-view.props.d.ts +1 -0
- package/types/uploader/src/uploader.props.d.ts +1 -0
- package/types/verify-detail/index.d.ts +5 -58
- package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +8 -8
- package/types/verify-detail/src/verify-detail.props.d.ts +1 -0
- package/types/video/index.d.ts +20 -24
- package/types/video/src/video.props.d.ts +1 -0
- package/components/dynamic-form/index.css +0 -1
- package/designer/accordion/index.esm.js +0 -257
- package/designer/accordion/index.umd.cjs +0 -1
- package/designer/avatar/index.esm.js +0 -1460
- package/designer/avatar/index.umd.cjs +0 -1
- package/designer/binding-selector/index.esm.js +0 -792
- package/designer/binding-selector/index.umd.cjs +0 -1
- package/designer/button-group/index.esm.js +0 -282
- package/designer/button-group/index.umd.cjs +0 -1
- package/designer/code-editor/index.esm.js +0 -75
- package/designer/code-editor/index.umd.cjs +0 -1
- package/designer/color-picker/index.esm.js +0 -1096
- package/designer/color-picker/index.umd.cjs +0 -1
- package/designer/combo-list/index.esm.js +0 -1095
- package/designer/combo-list/index.umd.cjs +0 -1
- package/designer/combo-tree/index.esm.js +0 -186
- package/designer/combo-tree/index.umd.cjs +0 -1
- package/designer/component/index.css +0 -1
- package/designer/component/index.esm.js +0 -5002
- package/designer/component/index.umd.cjs +0 -1
- package/designer/condition/index.esm.js +0 -1899
- package/designer/condition/index.umd.cjs +0 -1
- package/designer/dropdown/index.esm.js +0 -261
- package/designer/dropdown/index.umd.cjs +0 -1
- package/designer/expression-editor/index.css +0 -1
- package/designer/expression-editor/index.esm.js +0 -7006
- package/designer/expression-editor/index.umd.cjs +0 -427
- package/designer/filter-condition-editor/index.css +0 -1
- package/designer/filter-condition-editor/index.esm.js +0 -4795
- package/designer/filter-condition-editor/index.umd.cjs +0 -1
- package/designer/html-template/index.esm.js +0 -718
- package/designer/html-template/index.umd.cjs +0 -1
- package/designer/image-cropper/index.esm.js +0 -765
- package/designer/image-cropper/index.umd.cjs +0 -1
- package/designer/json-editor/index.esm.js +0 -83
- package/designer/json-editor/index.umd.cjs +0 -1
- package/designer/language-textbox/index.esm.js +0 -783
- package/designer/language-textbox/index.umd.cjs +0 -8
- package/designer/layout/index.esm.js +0 -430
- package/designer/layout/index.umd.cjs +0 -1
- package/designer/list-nav/index.esm.js +0 -802
- package/designer/list-nav/index.umd.cjs +0 -1
- package/designer/lookup/index.esm.js +0 -2083
- package/designer/lookup/index.umd.cjs +0 -1
- package/designer/menu-lookup/index.esm.js +0 -46
- package/designer/menu-lookup/index.umd.cjs +0 -1
- package/designer/nav/index.esm.js +0 -284
- package/designer/nav/index.umd.cjs +0 -1
- package/designer/number-range/index.esm.js +0 -1616
- package/designer/number-range/index.umd.cjs +0 -1
- package/designer/order/index.css +0 -1
- package/designer/order/index.esm.js +0 -2196
- package/designer/order/index.umd.cjs +0 -18
- package/designer/page-footer/index.esm.js +0 -290
- package/designer/page-footer/index.umd.cjs +0 -1
- package/designer/page-header/index.esm.js +0 -1003
- package/designer/page-header/index.umd.cjs +0 -1
- package/designer/pagination/index.esm.js +0 -591
- package/designer/pagination/index.umd.cjs +0 -1
- package/designer/progress/index.esm.js +0 -213
- package/designer/progress/index.umd.cjs +0 -1
- package/designer/search-box/index.esm.js +0 -245
- package/designer/search-box/index.umd.cjs +0 -1
- package/designer/smoke-detector/index.css +0 -1
- package/designer/smoke-detector/index.esm.js +0 -178
- package/designer/smoke-detector/index.umd.cjs +0 -1
- package/designer/sort-condition-editor/index.esm.js +0 -138
- package/designer/sort-condition-editor/index.umd.cjs +0 -1
- package/designer/splitter/index.esm.js +0 -1120
- package/designer/splitter/index.umd.cjs +0 -1
- package/designer/step/index.esm.js +0 -226
- package/designer/step/index.umd.cjs +0 -1
- package/designer/text/index.esm.js +0 -147
- package/designer/text/index.umd.cjs +0 -1
- package/designer/transfer/index.esm.js +0 -254
- package/designer/transfer/index.umd.cjs +0 -1
- package/designer/tree-view/index.esm.js +0 -313
- package/designer/tree-view/index.umd.cjs +0 -1
- package/designer/uploader/index.esm.js +0 -1190
- package/designer/uploader/index.umd.cjs +0 -2
- package/designer/verify-detail/index.esm.js +0 -258
- package/designer/verify-detail/index.umd.cjs +0 -1
- package/designer/video/index.esm.js +0 -136
- package/designer/video/index.umd.cjs +0 -1
- package/designer/weather/index.css +0 -1
- package/designer/weather/index.esm.js +0 -6244
- package/designer/weather/index.umd.cjs +0 -14
- package/types/accordion/designer.d.ts +0 -44
- package/types/avatar/designer.d.ts +0 -29
- package/types/button-group/designer.d.ts +0 -29
- package/types/code-editor/designer.d.ts +0 -5
- package/types/color-picker/designer.d.ts +0 -29
- package/types/combo-list/designer.d.ts +0 -29
- package/types/combo-list/src/designer/combo-list.design.props.d.ts +0 -6
- package/types/combo-tree/designer.d.ts +0 -5
- package/types/component/designer.d.ts +0 -35
- package/types/condition/designer.d.ts +0 -56
- package/types/dropdown/designer.d.ts +0 -6
- package/types/dynamic-form/src/composition/use-input-type-resolver.d.ts +0 -11
- package/types/expression-editor/designer.d.ts +0 -9
- package/types/filter-condition-editor/designer.d.ts +0 -10
- package/types/html-template/designer.d.ts +0 -31
- package/types/html-template/src/designer/html-template.design.props.d.ts +0 -9
- package/types/image-cropper/designer.d.ts +0 -4
- package/types/json-editor/designer.d.ts +0 -5
- package/types/layout/designer.d.ts +0 -32
- package/types/list-nav/designer.d.ts +0 -6
- package/types/menu-lookup/designer.d.ts +0 -5
- package/types/nav/designer.d.ts +0 -6
- package/types/number-range/designer.d.ts +0 -29
- package/types/order/designer.d.ts +0 -6
- package/types/page-footer/designer.d.ts +0 -6
- package/types/page-header/src/designer/page-header.design.props.d.ts +0 -20
- package/types/pagination/designer.d.ts +0 -29
- package/types/progress/designer.d.ts +0 -29
- package/types/search-box/designer.d.ts +0 -52
- package/types/smoke-detector/designer.d.ts +0 -6
- package/types/sort-condition-editor/designer.d.ts +0 -9
- package/types/splitter/designer.d.ts +0 -32
- package/types/step/designer.d.ts +0 -6
- package/types/text/designer.d.ts +0 -6
- package/types/transfer/designer.d.ts +0 -35
- package/types/tree-view/designer.d.ts +0 -29
- package/types/uploader/designer.d.ts +0 -141
- package/types/verify-detail/designer.d.ts +0 -6
- package/types/video/designer.d.ts +0 -6
- /package/{designer → components}/condition/index.css +0 -0
- /package/{designer → components}/uploader/index.css +0 -0
|
@@ -1,11 +1,119 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import
|
|
3
|
-
import { LocaleService as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
1
|
+
import { ref as u, computed as L, createVNode as l, Fragment as E, watch as N, withModifiers as be, withDirectives as ke, vModelText as Ve, defineComponent as X, onMounted as ae, inject as Fe, createTextVNode as Z } from "vue";
|
|
2
|
+
import Te from "../tree-view/index.esm.js";
|
|
3
|
+
import { LocaleService as q } from "../locale/index.esm.js";
|
|
4
|
+
import { resolveAppearance as Re, createPropsResolver as De } from "../dynamic-resolver/index.esm.js";
|
|
5
|
+
import { getCustomStyle as ee, getCustomClass as K, withInstall as Me } from "../common/index.esm.js";
|
|
6
|
+
import { useFilter as Oe, useIdentify as xe, useHierarchy as je, useGroupData as Be, useDataView as Le, useSelection as Ae, usePagination as Pe, useRow as He, useEdit as _e, useVisualDataBound as Ge, useVisualDataCell as ze, useVisualDataRow as Ee, useVisualGroupRow as Ne, useVisualSummaryRow as Ue, useVisualData as $e, useSidebar as We, useColumn as qe, useVirtualScroll as Ke, getPagination as Xe } from "../data-view/index.esm.js";
|
|
7
|
+
import { FCheckbox as Y } from "../checkbox/index.esm.js";
|
|
8
|
+
import { cloneDeep as te } from "lodash-es";
|
|
9
|
+
import { useDesignerComponent as Ye } from "../designer-canvas/index.esm.js";
|
|
10
|
+
const Je = /* @__PURE__ */ new Map([
|
|
11
|
+
["appearance", Re]
|
|
12
|
+
]);
|
|
13
|
+
function Qe(e, t, d) {
|
|
14
|
+
return t;
|
|
15
|
+
}
|
|
16
|
+
const Ze = "transfer", et = "A Farris Component", tt = "object", nt = {
|
|
17
|
+
basic: {
|
|
18
|
+
description: "Basic Infomation",
|
|
19
|
+
title: "基本信息",
|
|
20
|
+
properties: {
|
|
21
|
+
id: {
|
|
22
|
+
description: "组件标识",
|
|
23
|
+
title: "标识",
|
|
24
|
+
type: "string",
|
|
25
|
+
readonly: !0
|
|
26
|
+
},
|
|
27
|
+
type: {
|
|
28
|
+
description: "组件类型",
|
|
29
|
+
title: "控件类型",
|
|
30
|
+
type: "select",
|
|
31
|
+
editor: {
|
|
32
|
+
type: "waiting for modification",
|
|
33
|
+
enum: []
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}, lt = {
|
|
39
|
+
title: Ze,
|
|
40
|
+
description: et,
|
|
41
|
+
type: tt,
|
|
42
|
+
categories: nt
|
|
43
|
+
}, at = "https://json-schema.org/draft/2020-12/schema", st = "https://farris-design.gitee.io/transfer.schema.json", ot = "transfer", it = "A Farris Component", ct = "object", ut = {
|
|
44
|
+
id: {
|
|
45
|
+
description: "The unique identifier for transfer",
|
|
46
|
+
type: "string"
|
|
47
|
+
},
|
|
48
|
+
type: {
|
|
49
|
+
description: "The type string of transfer",
|
|
50
|
+
type: "string",
|
|
51
|
+
default: "transfer"
|
|
52
|
+
},
|
|
53
|
+
appearance: {
|
|
54
|
+
description: "",
|
|
55
|
+
type: "object",
|
|
56
|
+
properties: {
|
|
57
|
+
class: {
|
|
58
|
+
type: "string"
|
|
59
|
+
},
|
|
60
|
+
style: {
|
|
61
|
+
type: "string"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
default: {}
|
|
65
|
+
},
|
|
66
|
+
binding: {
|
|
67
|
+
description: "",
|
|
68
|
+
type: "object",
|
|
69
|
+
default: {}
|
|
70
|
+
},
|
|
71
|
+
disable: {
|
|
72
|
+
type: "string",
|
|
73
|
+
default: !1
|
|
74
|
+
},
|
|
75
|
+
editable: {
|
|
76
|
+
description: "",
|
|
77
|
+
type: "boolean",
|
|
78
|
+
default: !0
|
|
79
|
+
},
|
|
80
|
+
placeholder: {
|
|
81
|
+
description: "",
|
|
82
|
+
type: "string",
|
|
83
|
+
default: ""
|
|
84
|
+
},
|
|
85
|
+
readonly: {
|
|
86
|
+
description: "",
|
|
87
|
+
type: "boolean",
|
|
88
|
+
default: !1
|
|
89
|
+
},
|
|
90
|
+
require: {
|
|
91
|
+
description: "",
|
|
92
|
+
type: "boolean",
|
|
93
|
+
default: !1
|
|
94
|
+
},
|
|
95
|
+
tabindex: {
|
|
96
|
+
description: "",
|
|
97
|
+
type: "number",
|
|
98
|
+
default: -1
|
|
99
|
+
},
|
|
100
|
+
visible: {
|
|
101
|
+
description: "",
|
|
102
|
+
type: "boolean",
|
|
103
|
+
default: !0
|
|
104
|
+
}
|
|
105
|
+
}, rt = [
|
|
106
|
+
"id",
|
|
107
|
+
"type"
|
|
108
|
+
], dt = {
|
|
109
|
+
$schema: at,
|
|
110
|
+
$id: st,
|
|
111
|
+
title: ot,
|
|
112
|
+
description: it,
|
|
113
|
+
type: ct,
|
|
114
|
+
properties: ut,
|
|
115
|
+
required: rt
|
|
116
|
+
}, J = {
|
|
9
117
|
dataSource: {
|
|
10
118
|
type: Array,
|
|
11
119
|
default: []
|
|
@@ -33,7 +141,7 @@ const Ne = {
|
|
|
33
141
|
default: "draggable-item--text-truncate",
|
|
34
142
|
validator: (e) => typeof e == "string" || typeof e == "function"
|
|
35
143
|
}
|
|
36
|
-
},
|
|
144
|
+
}, se = De(J, dt, Je, Qe, lt), ft = {
|
|
37
145
|
/** 列集合 */
|
|
38
146
|
columns: {
|
|
39
147
|
type: Array,
|
|
@@ -101,226 +209,226 @@ const Ne = {
|
|
|
101
209
|
/** 分页 */
|
|
102
210
|
pagination: { type: Object, default: { enable: !1, size: 20 } }
|
|
103
211
|
};
|
|
104
|
-
function
|
|
105
|
-
function
|
|
106
|
-
const
|
|
107
|
-
let
|
|
108
|
-
for (;
|
|
109
|
-
|
|
110
|
-
return
|
|
111
|
-
}
|
|
112
|
-
function
|
|
113
|
-
const
|
|
114
|
-
return
|
|
115
|
-
const
|
|
116
|
-
let
|
|
117
|
-
for (;
|
|
118
|
-
const
|
|
119
|
-
if (
|
|
212
|
+
function vt(e, t) {
|
|
213
|
+
function d(i) {
|
|
214
|
+
const f = [];
|
|
215
|
+
let o = i.nextNode();
|
|
216
|
+
for (; o; )
|
|
217
|
+
f.push(o), o = i.nextNode();
|
|
218
|
+
return f;
|
|
219
|
+
}
|
|
220
|
+
function T(i, f) {
|
|
221
|
+
const o = document.createTreeWalker(i, NodeFilter.SHOW_TEXT);
|
|
222
|
+
return d(o).map((b) => ({ textNode: b, text: (b.textContent || "").toLocaleLowerCase() })).map(({ textNode: b, text: m }) => {
|
|
223
|
+
const v = [];
|
|
224
|
+
let M = 0;
|
|
225
|
+
for (; M < m.length; ) {
|
|
226
|
+
const V = m.indexOf(f, M);
|
|
227
|
+
if (V === -1)
|
|
120
228
|
break;
|
|
121
|
-
|
|
229
|
+
v.push(V), M = V + f.length;
|
|
122
230
|
}
|
|
123
|
-
return
|
|
124
|
-
const
|
|
125
|
-
return
|
|
231
|
+
return v.map((V) => {
|
|
232
|
+
const k = new Range();
|
|
233
|
+
return k.setStart(b, V), k.setEnd(b, V + f.length), k;
|
|
126
234
|
});
|
|
127
235
|
}).flat();
|
|
128
236
|
}
|
|
129
|
-
function
|
|
130
|
-
if (!CSS.highlights || (CSS.highlights.clear(), !i || !
|
|
237
|
+
function R(i) {
|
|
238
|
+
if (!CSS.highlights || (CSS.highlights.clear(), !i || !t))
|
|
131
239
|
return;
|
|
132
|
-
const
|
|
133
|
-
CSS.highlights.set("search-result",
|
|
240
|
+
const f = T(t.value, i.toLocaleLowerCase()), o = new Highlight(...f);
|
|
241
|
+
CSS.highlights.set("search-result", o);
|
|
134
242
|
}
|
|
135
|
-
return { search:
|
|
243
|
+
return { search: R };
|
|
136
244
|
}
|
|
137
|
-
function
|
|
138
|
-
const
|
|
139
|
-
var
|
|
140
|
-
return ((
|
|
245
|
+
function ne(e, t, d, T, R, i, f, o, y, C) {
|
|
246
|
+
const S = u(e.size), b = u(e.textField), m = u(e.titleField), v = u(e.disableField), M = L(() => {
|
|
247
|
+
var n, p;
|
|
248
|
+
return ((n = e.selection) == null ? void 0 : n.multiSelect) && ((p = e.selection) == null ? void 0 : p.showCheckbox);
|
|
141
249
|
}), {
|
|
142
|
-
onMouseenterItem:
|
|
143
|
-
onMouseoverItem:
|
|
144
|
-
onMouseoutItem:
|
|
250
|
+
onMouseenterItem: V,
|
|
251
|
+
onMouseoverItem: k,
|
|
252
|
+
onMouseoutItem: D
|
|
145
253
|
} = i, {
|
|
146
|
-
getKey:
|
|
147
|
-
listViewItemClass:
|
|
254
|
+
getKey: O,
|
|
255
|
+
listViewItemClass: B,
|
|
148
256
|
listViewItemStyle: A,
|
|
149
|
-
onCheckItem:
|
|
150
|
-
onClickItem:
|
|
151
|
-
} =
|
|
152
|
-
const
|
|
257
|
+
onCheckItem: H,
|
|
258
|
+
onClickItem: h
|
|
259
|
+
} = f, w = L(() => {
|
|
260
|
+
const n = {
|
|
153
261
|
"text-overflow": "ellipsis",
|
|
154
262
|
overflow: "hidden",
|
|
155
263
|
"white-space": "nowrap"
|
|
156
264
|
};
|
|
157
|
-
return e.itemClass ?
|
|
158
|
-
margin:
|
|
159
|
-
...
|
|
265
|
+
return e.itemClass ? n : {
|
|
266
|
+
margin: S.value === "small" ? "0.25rem 0" : "8px 0",
|
|
267
|
+
...n
|
|
160
268
|
};
|
|
161
269
|
});
|
|
162
|
-
function
|
|
163
|
-
return
|
|
164
|
-
class:
|
|
165
|
-
id:
|
|
166
|
-
key:
|
|
167
|
-
style: A(
|
|
168
|
-
onClick: (
|
|
169
|
-
onMouseenter: (
|
|
170
|
-
onMouseover: (
|
|
171
|
-
onMouseout: (
|
|
172
|
-
}, [
|
|
270
|
+
function g(n, p, I) {
|
|
271
|
+
return n.checked = o.findIndexInSelectedItems(n) > -1, l("li", {
|
|
272
|
+
class: B(n, p),
|
|
273
|
+
id: O(n, p),
|
|
274
|
+
key: O(n, p),
|
|
275
|
+
style: A(n, p),
|
|
276
|
+
onClick: (F) => h(n, p, F),
|
|
277
|
+
onMouseenter: (F) => V(F, n, p),
|
|
278
|
+
onMouseover: (F) => k(F, n, p),
|
|
279
|
+
onMouseout: (F) => D(F, n, p)
|
|
280
|
+
}, [M.value && l("div", {
|
|
173
281
|
class: "f-list-select",
|
|
174
|
-
onClick: (
|
|
175
|
-
}, [
|
|
176
|
-
id: "list-" +
|
|
282
|
+
onClick: (F) => F.stopPropagation()
|
|
283
|
+
}, [l(Y, {
|
|
284
|
+
id: "list-" + O(n, p),
|
|
177
285
|
customClass: "listview-checkbox float-left",
|
|
178
|
-
disabled:
|
|
179
|
-
checked:
|
|
180
|
-
"onUpdate:checked": (
|
|
181
|
-
onChange: (
|
|
182
|
-
|
|
286
|
+
disabled: n[v.value],
|
|
287
|
+
checked: n.checked,
|
|
288
|
+
"onUpdate:checked": (F) => n.checked = F,
|
|
289
|
+
onChange: (F) => {
|
|
290
|
+
H(n, p, !F.checked);
|
|
183
291
|
}
|
|
184
|
-
}, null)]),
|
|
292
|
+
}, null)]), l("div", {
|
|
185
293
|
class: "f-list-content"
|
|
186
|
-
}, [
|
|
294
|
+
}, [l("div", {
|
|
187
295
|
class: e.itemContentClass,
|
|
188
296
|
style: w.value,
|
|
189
|
-
title:
|
|
190
|
-
}, [
|
|
297
|
+
title: n.raw[m.value] || n.raw[b.value]
|
|
298
|
+
}, [n.raw[b.value]])])]);
|
|
191
299
|
}
|
|
192
300
|
return {
|
|
193
|
-
renderItem:
|
|
301
|
+
renderItem: g
|
|
194
302
|
};
|
|
195
303
|
}
|
|
196
|
-
function
|
|
197
|
-
const
|
|
198
|
-
onMouseenterItem:
|
|
199
|
-
onMouseoverItem:
|
|
200
|
-
onMouseoutItem:
|
|
304
|
+
function mt(e, t, d, T, R, i, f, o, y, C) {
|
|
305
|
+
const S = u(e.multiSelect), b = u(e.disableField), m = u(e.textField), {
|
|
306
|
+
onMouseenterItem: v,
|
|
307
|
+
onMouseoverItem: M,
|
|
308
|
+
onMouseoutItem: V
|
|
201
309
|
} = i, {
|
|
202
|
-
getKey:
|
|
203
|
-
listViewItemClass:
|
|
204
|
-
listViewItemStyle:
|
|
205
|
-
onCheckItem:
|
|
310
|
+
getKey: k,
|
|
311
|
+
listViewItemClass: D,
|
|
312
|
+
listViewItemStyle: O,
|
|
313
|
+
onCheckItem: B,
|
|
206
314
|
onClickItem: A,
|
|
207
|
-
updateSelectedItems:
|
|
208
|
-
} =
|
|
209
|
-
function
|
|
210
|
-
return e.contentTemplate ?
|
|
211
|
-
item:
|
|
212
|
-
index:
|
|
213
|
-
selectedItem:
|
|
214
|
-
})]) :
|
|
215
|
-
item:
|
|
216
|
-
index:
|
|
217
|
-
selectedItem:
|
|
218
|
-
})]) :
|
|
315
|
+
updateSelectedItems: H
|
|
316
|
+
} = f;
|
|
317
|
+
function h(g, n, p) {
|
|
318
|
+
return e.contentTemplate ? l(E, null, [e.contentTemplate({
|
|
319
|
+
item: g.raw,
|
|
320
|
+
index: n,
|
|
321
|
+
selectedItem: p
|
|
322
|
+
})]) : t.slots.content ? l(E, null, [t.slots.content && t.slots.content({
|
|
323
|
+
item: g.raw,
|
|
324
|
+
index: n,
|
|
325
|
+
selectedItem: p
|
|
326
|
+
})]) : l("div", {
|
|
219
327
|
style: "margin: 10px 0;"
|
|
220
|
-
}, [
|
|
221
|
-
}
|
|
222
|
-
function w(
|
|
223
|
-
return
|
|
224
|
-
class:
|
|
225
|
-
id:
|
|
226
|
-
key:
|
|
227
|
-
style:
|
|
228
|
-
onClick: (
|
|
229
|
-
onMouseenter: (
|
|
230
|
-
onMouseover: (
|
|
231
|
-
onMouseout: (
|
|
232
|
-
}, [
|
|
328
|
+
}, [g.raw[m.value || "name"]]);
|
|
329
|
+
}
|
|
330
|
+
function w(g, n, p) {
|
|
331
|
+
return l("li", {
|
|
332
|
+
class: D(g, n),
|
|
333
|
+
id: k(g, n),
|
|
334
|
+
key: k(g, n),
|
|
335
|
+
style: O(g, n),
|
|
336
|
+
onClick: (I) => A(g, n, I),
|
|
337
|
+
onMouseenter: (I) => v(I, g, n),
|
|
338
|
+
onMouseover: (I) => M(I, g, n),
|
|
339
|
+
onMouseout: (I) => V(I, g, n)
|
|
340
|
+
}, [S.value && l("div", {
|
|
233
341
|
class: "f-list-select",
|
|
234
|
-
onClick: (
|
|
235
|
-
}, [
|
|
236
|
-
id: "list-" +
|
|
342
|
+
onClick: (I) => I.stopPropagation()
|
|
343
|
+
}, [l(Y, {
|
|
344
|
+
id: "list-" + k(g, n),
|
|
237
345
|
customClass: "listview-checkbox",
|
|
238
|
-
disabled:
|
|
239
|
-
checked:
|
|
240
|
-
"onUpdate:checked": (
|
|
241
|
-
onChange: (
|
|
242
|
-
|
|
346
|
+
disabled: g[b.value],
|
|
347
|
+
checked: g.checked,
|
|
348
|
+
"onUpdate:checked": (I) => g.checked = I,
|
|
349
|
+
onChange: (I) => {
|
|
350
|
+
B(g, n, !I.checked), H();
|
|
243
351
|
}
|
|
244
|
-
}, null)]),
|
|
352
|
+
}, null)]), l("div", {
|
|
245
353
|
class: "f-list-content"
|
|
246
|
-
}, [
|
|
354
|
+
}, [h(g, n, p)])]);
|
|
247
355
|
}
|
|
248
356
|
return {
|
|
249
357
|
renderItem: w
|
|
250
358
|
};
|
|
251
359
|
}
|
|
252
|
-
function
|
|
253
|
-
const
|
|
254
|
-
onMouseenterItem:
|
|
255
|
-
onMouseoverItem:
|
|
256
|
-
onMouseoutItem:
|
|
360
|
+
function gt(e, t, d, T, R, i, f, o, y, C) {
|
|
361
|
+
const S = u(e.multiSelect), b = u(e.disableField), m = u(e.textField), {
|
|
362
|
+
onMouseenterItem: v,
|
|
363
|
+
onMouseoverItem: M,
|
|
364
|
+
onMouseoutItem: V
|
|
257
365
|
} = i, {
|
|
258
|
-
getKey:
|
|
259
|
-
listViewItemClass:
|
|
260
|
-
onCheckItem:
|
|
261
|
-
onClickItem:
|
|
262
|
-
} =
|
|
366
|
+
getKey: k,
|
|
367
|
+
listViewItemClass: D,
|
|
368
|
+
onCheckItem: O,
|
|
369
|
+
onClickItem: B
|
|
370
|
+
} = f, {
|
|
263
371
|
dragstart: A,
|
|
264
|
-
dragenter:
|
|
265
|
-
dragover:
|
|
372
|
+
dragenter: H,
|
|
373
|
+
dragover: h,
|
|
266
374
|
dragend: w
|
|
267
|
-
} =
|
|
268
|
-
removeItem:
|
|
269
|
-
} =
|
|
270
|
-
margin:
|
|
375
|
+
} = T, {
|
|
376
|
+
removeItem: g
|
|
377
|
+
} = y, n = L(() => ({
|
|
378
|
+
margin: S.value ? "10px 0" : "10px 0px 10px 14px"
|
|
271
379
|
}));
|
|
272
|
-
function
|
|
273
|
-
const
|
|
274
|
-
|
|
275
|
-
}
|
|
276
|
-
function
|
|
277
|
-
return
|
|
278
|
-
style:
|
|
279
|
-
onMouseenter: (
|
|
280
|
-
}, [
|
|
281
|
-
}
|
|
282
|
-
function
|
|
283
|
-
return
|
|
284
|
-
}
|
|
285
|
-
const
|
|
286
|
-
function r(
|
|
287
|
-
return
|
|
288
|
-
class:
|
|
289
|
-
id:
|
|
290
|
-
key:
|
|
291
|
-
onClick: (
|
|
292
|
-
onMouseenter: (
|
|
293
|
-
onMouseover: (
|
|
294
|
-
onMouseout: (
|
|
380
|
+
function p(a, s = "") {
|
|
381
|
+
const P = a.target;
|
|
382
|
+
P.title = P.scrollWidth > P.clientWidth ? s : "";
|
|
383
|
+
}
|
|
384
|
+
function I(a) {
|
|
385
|
+
return l("div", {
|
|
386
|
+
style: n.value,
|
|
387
|
+
onMouseenter: (s) => p(s, a.raw[m.value || "name"])
|
|
388
|
+
}, [a.raw[m.value || "name"]]);
|
|
389
|
+
}
|
|
390
|
+
function F() {
|
|
391
|
+
return t.slots.itemContent ? t.slots.itemContent : I;
|
|
392
|
+
}
|
|
393
|
+
const c = F();
|
|
394
|
+
function r(a, s, P) {
|
|
395
|
+
return l("li", {
|
|
396
|
+
class: D(a, s),
|
|
397
|
+
id: k(a, s),
|
|
398
|
+
key: k(a, s),
|
|
399
|
+
onClick: (x) => B(a, s, x),
|
|
400
|
+
onMouseenter: (x) => v(x, a, s),
|
|
401
|
+
onMouseover: (x) => M(x, a, s),
|
|
402
|
+
onMouseout: (x) => V(x, a, s),
|
|
295
403
|
draggable: "true",
|
|
296
|
-
onDragstart: (
|
|
297
|
-
onDragenter: (
|
|
298
|
-
onDragend: (
|
|
299
|
-
onDragover: (
|
|
300
|
-
}, [
|
|
404
|
+
onDragstart: (x) => A(x, a, s),
|
|
405
|
+
onDragenter: (x) => H(x, s),
|
|
406
|
+
onDragend: (x) => w(x, a),
|
|
407
|
+
onDragover: (x) => h(x)
|
|
408
|
+
}, [S.value && l("div", {
|
|
301
409
|
class: "f-list-select",
|
|
302
|
-
onClick: (
|
|
303
|
-
}, [
|
|
304
|
-
id: "list-" +
|
|
410
|
+
onClick: (x) => x.stopPropagation()
|
|
411
|
+
}, [l(Y, {
|
|
412
|
+
id: "list-" + k(a, s),
|
|
305
413
|
customClass: "listview-checkbox",
|
|
306
|
-
disabled:
|
|
307
|
-
checked:
|
|
308
|
-
"onUpdate:checked": (
|
|
309
|
-
onChange: (
|
|
310
|
-
}, null)]),
|
|
414
|
+
disabled: a[b.value] || !a.checked,
|
|
415
|
+
checked: a.checked,
|
|
416
|
+
"onUpdate:checked": (x) => a.checked = x,
|
|
417
|
+
onChange: (x) => O(a, s, !x.checked)
|
|
418
|
+
}, null)]), l("div", {
|
|
311
419
|
class: "f-list-content"
|
|
312
|
-
}, [
|
|
420
|
+
}, [c(a)]), l("div", {
|
|
313
421
|
class: "f-list-remove",
|
|
314
|
-
onClick: (
|
|
315
|
-
|
|
422
|
+
onClick: (x) => {
|
|
423
|
+
x.stopPropagation(), g(s);
|
|
316
424
|
}
|
|
317
|
-
}, [
|
|
425
|
+
}, [l("div", {
|
|
318
426
|
class: "f-list-remove-icon"
|
|
319
|
-
}, [
|
|
427
|
+
}, [l("i", {
|
|
320
428
|
class: "f-icon f-icon-remove_face"
|
|
321
|
-
}, null)])]),
|
|
429
|
+
}, null)])]), l("div", {
|
|
322
430
|
class: "f-list-handle"
|
|
323
|
-
}, [
|
|
431
|
+
}, [l("div", null, [l("i", {
|
|
324
432
|
class: "f-icon f-icon-drag-vertical"
|
|
325
433
|
}, null)])])]);
|
|
326
434
|
}
|
|
@@ -328,196 +436,196 @@ function Xe(e, l, g, b, k, i, u, s, x, h) {
|
|
|
328
436
|
renderItem: r
|
|
329
437
|
};
|
|
330
438
|
}
|
|
331
|
-
function
|
|
332
|
-
var
|
|
333
|
-
const
|
|
334
|
-
collpaseGroupIconClass:
|
|
335
|
-
} =
|
|
336
|
-
toggleGroupRow:
|
|
337
|
-
} =
|
|
338
|
-
function
|
|
339
|
-
|
|
340
|
-
}
|
|
341
|
-
function
|
|
342
|
-
return
|
|
343
|
-
item:
|
|
344
|
-
index:
|
|
345
|
-
selectedItem:
|
|
346
|
-
})]) :
|
|
439
|
+
function pt(e, t, d, T, R, i, f, o, y, C) {
|
|
440
|
+
var k;
|
|
441
|
+
const S = u(((k = e.group) == null ? void 0 : k.groupFields) || []), {
|
|
442
|
+
collpaseGroupIconClass: b
|
|
443
|
+
} = R, {
|
|
444
|
+
toggleGroupRow: m
|
|
445
|
+
} = C;
|
|
446
|
+
function v(D, O) {
|
|
447
|
+
O.collapse = !O.collapse, d.value = m(O.collapse ? "collapse" : "expand", O, d.value);
|
|
448
|
+
}
|
|
449
|
+
function M(D, O, B) {
|
|
450
|
+
return t.slots.group ? l(E, null, [t.slots.content && t.slots.group({
|
|
451
|
+
item: D.raw,
|
|
452
|
+
index: O,
|
|
453
|
+
selectedItem: B
|
|
454
|
+
})]) : l("div", {
|
|
347
455
|
class: "f-navlookup-recentHeader",
|
|
348
|
-
onClick: (A) =>
|
|
349
|
-
}, [
|
|
456
|
+
onClick: (A) => v(A, D)
|
|
457
|
+
}, [l("div", {
|
|
350
458
|
class: "fv-grid-group-row-icon"
|
|
351
|
-
}, [
|
|
352
|
-
class:
|
|
353
|
-
}, null)]),
|
|
459
|
+
}, [l("span", {
|
|
460
|
+
class: b(D)
|
|
461
|
+
}, null)]), l("div", {
|
|
354
462
|
class: "f-navlookup-recommandLabel"
|
|
355
|
-
}, [
|
|
463
|
+
}, [D.raw[S.value[D.layer]]])]);
|
|
356
464
|
}
|
|
357
|
-
function
|
|
358
|
-
return
|
|
465
|
+
function V(D, O, B) {
|
|
466
|
+
return D.layer > -1 && M(D, O, B);
|
|
359
467
|
}
|
|
360
468
|
return {
|
|
361
|
-
renderItem:
|
|
469
|
+
renderItem: V
|
|
362
470
|
};
|
|
363
471
|
}
|
|
364
|
-
function
|
|
365
|
-
const { dataView:
|
|
366
|
-
function
|
|
367
|
-
if (
|
|
368
|
-
if (e != null && e.checkBeforeRemoveItem && !e.checkBeforeRemoveItem(
|
|
472
|
+
function ht(e, t, d, T) {
|
|
473
|
+
const { dataView: R } = d, { updateSelectedItems: i } = T;
|
|
474
|
+
function f(o) {
|
|
475
|
+
if (o > -1 && o < R.value.length) {
|
|
476
|
+
if (e != null && e.checkBeforeRemoveItem && !e.checkBeforeRemoveItem(R.value[o]))
|
|
369
477
|
return;
|
|
370
|
-
const
|
|
371
|
-
i(),
|
|
478
|
+
const y = R.value.splice(o, 1);
|
|
479
|
+
i(), t.emit("removeItem", y[0]);
|
|
372
480
|
}
|
|
373
481
|
}
|
|
374
|
-
return { removeItem:
|
|
482
|
+
return { removeItem: f };
|
|
375
483
|
}
|
|
376
|
-
function
|
|
377
|
-
const
|
|
484
|
+
function yt(e, t, d, T, R, i, f, o, y, C) {
|
|
485
|
+
const S = u(e.view), b = u(e.view === "CardView"), m = u({}), v = ht(e, t, T, y), M = L(() => ({
|
|
378
486
|
"f-list-view-group": !0,
|
|
379
487
|
"f-list-view-group-multiselect": e.multiSelect,
|
|
380
|
-
"d-flex":
|
|
381
|
-
"flex-wrap":
|
|
382
|
-
})),
|
|
383
|
-
|
|
384
|
-
function
|
|
385
|
-
return
|
|
386
|
-
}
|
|
387
|
-
const
|
|
388
|
-
renderItem:
|
|
389
|
-
} =
|
|
488
|
+
"d-flex": b.value,
|
|
489
|
+
"flex-wrap": b.value
|
|
490
|
+
})), V = L(() => !!d.value && d.value.length > 0), k = L(() => d.value.length === 0);
|
|
491
|
+
L(() => k.value && !t.slots.empty);
|
|
492
|
+
function D() {
|
|
493
|
+
return S.value === "SingleView" ? ne : S.value === "DraggableView" ? gt : (S.value === "ContentView" || S.value === "CardView") && (e.contentTemplate || t.slots.content) ? mt : ne;
|
|
494
|
+
}
|
|
495
|
+
const O = D(), {
|
|
496
|
+
renderItem: B
|
|
497
|
+
} = O(e, t, d, C, R, i, y, f, v, o), {
|
|
390
498
|
renderItem: A
|
|
391
|
-
} =
|
|
392
|
-
function
|
|
393
|
-
return
|
|
499
|
+
} = pt(e, t, d, C, R, i, y, f, v, o), H = [B, A];
|
|
500
|
+
function h() {
|
|
501
|
+
return d.value.filter((n) => n.visible !== !1).map((n, p) => H[n.type](n, p, m));
|
|
394
502
|
}
|
|
395
503
|
function w() {
|
|
396
|
-
return
|
|
504
|
+
return l("div", {
|
|
397
505
|
class: "f-list-view-emptydata",
|
|
398
506
|
style: "margin: 0 auto;"
|
|
399
|
-
}, [
|
|
507
|
+
}, [l("p", {
|
|
400
508
|
class: "f-empty-title"
|
|
401
|
-
}, [e.emptyTemplate ? e.emptyTemplate() :
|
|
509
|
+
}, [e.emptyTemplate ? e.emptyTemplate() : t.slots.empty ? t.slots.empty() : q.getLocaleValue("listView.emptyMessage")])]);
|
|
402
510
|
}
|
|
403
|
-
function
|
|
404
|
-
return
|
|
405
|
-
class:
|
|
511
|
+
function g() {
|
|
512
|
+
return l("ul", {
|
|
513
|
+
class: M.value,
|
|
406
514
|
style: "list-style: none;"
|
|
407
|
-
}, [
|
|
515
|
+
}, [V.value && h(), k.value && w()]);
|
|
408
516
|
}
|
|
409
517
|
return {
|
|
410
|
-
renderListArea:
|
|
518
|
+
renderListArea: g
|
|
411
519
|
};
|
|
412
520
|
}
|
|
413
|
-
function
|
|
414
|
-
function
|
|
415
|
-
return
|
|
521
|
+
function Ct(e, t, d) {
|
|
522
|
+
function T() {
|
|
523
|
+
return t.slots.header && l("div", {
|
|
416
524
|
class: "f-list-view-header"
|
|
417
|
-
}, [
|
|
525
|
+
}, [t.slots.header()]);
|
|
418
526
|
}
|
|
419
527
|
return {
|
|
420
|
-
renderHeader:
|
|
528
|
+
renderHeader: T
|
|
421
529
|
};
|
|
422
530
|
}
|
|
423
|
-
function
|
|
424
|
-
const
|
|
425
|
-
function
|
|
531
|
+
function le(e, t, d) {
|
|
532
|
+
const T = u(e.headerClass), R = u(e.placeholder), i = u(""), f = L(() => !i.value), o = L(() => !!i.value);
|
|
533
|
+
function y(m) {
|
|
426
534
|
i.value = "";
|
|
427
535
|
}
|
|
428
|
-
|
|
429
|
-
e.enableHighlightSearch &&
|
|
536
|
+
N(i, (m) => {
|
|
537
|
+
e.enableHighlightSearch && d.search(m), t.emit("afterSearch", m);
|
|
430
538
|
});
|
|
431
|
-
const
|
|
432
|
-
const
|
|
539
|
+
const C = L(() => {
|
|
540
|
+
const m = {
|
|
433
541
|
"form-group": !0,
|
|
434
542
|
"farris-form-group": !0
|
|
435
543
|
};
|
|
436
|
-
return
|
|
544
|
+
return T.value && T.value.split(" ").reduce((M, V) => (M[V] = !0, M), m), m;
|
|
437
545
|
});
|
|
438
|
-
function
|
|
546
|
+
function S(m) {
|
|
439
547
|
}
|
|
440
|
-
function
|
|
441
|
-
return
|
|
548
|
+
function b() {
|
|
549
|
+
return l("div", {
|
|
442
550
|
class: "f-list-view-header",
|
|
443
|
-
onClick:
|
|
444
|
-
}, [
|
|
445
|
-
class:
|
|
446
|
-
}, [
|
|
551
|
+
onClick: be(() => S, ["prevent", "stop"])
|
|
552
|
+
}, [l("div", {
|
|
553
|
+
class: C.value
|
|
554
|
+
}, [l("div", {
|
|
447
555
|
class: "farris-input-wrap"
|
|
448
|
-
}, [
|
|
556
|
+
}, [l("div", {
|
|
449
557
|
class: "f-cmp-inputgroup"
|
|
450
|
-
}, [
|
|
558
|
+
}, [l("div", {
|
|
451
559
|
class: "input-group f-state-editable"
|
|
452
|
-
}, [
|
|
560
|
+
}, [ke(l("input", {
|
|
453
561
|
class: "form-control f-utils-fill text-left",
|
|
454
|
-
"onUpdate:modelValue": (
|
|
562
|
+
"onUpdate:modelValue": (m) => i.value = m,
|
|
455
563
|
name: "input-group-value",
|
|
456
564
|
type: "text",
|
|
457
|
-
placeholder:
|
|
565
|
+
placeholder: R.value,
|
|
458
566
|
autocomplete: "off"
|
|
459
|
-
}, null), [[
|
|
567
|
+
}, null), [[Ve, i.value]]), l("div", {
|
|
460
568
|
class: "input-group-append"
|
|
461
|
-
}, [
|
|
569
|
+
}, [o.value && l("span", {
|
|
462
570
|
class: "input-group-text input-group-clear",
|
|
463
|
-
onClick: (
|
|
464
|
-
}, [
|
|
571
|
+
onClick: (m) => y()
|
|
572
|
+
}, [l("i", {
|
|
465
573
|
class: "f-icon f-icon-close-circle"
|
|
466
|
-
}, null)]),
|
|
574
|
+
}, null)]), f.value && l("span", {
|
|
467
575
|
class: "input-group-text"
|
|
468
|
-
}, [
|
|
576
|
+
}, [l("span", {
|
|
469
577
|
class: "f-icon f-icon-search"
|
|
470
578
|
}, null)])])])])])])]);
|
|
471
579
|
}
|
|
472
580
|
return {
|
|
473
|
-
renderHeader:
|
|
581
|
+
renderHeader: b
|
|
474
582
|
};
|
|
475
583
|
}
|
|
476
|
-
function
|
|
477
|
-
const e =
|
|
478
|
-
function i(
|
|
479
|
-
|
|
584
|
+
function St() {
|
|
585
|
+
const e = u(""), t = u(-1), d = u(""), T = u(-1), R = u(!1);
|
|
586
|
+
function i(b, m, v) {
|
|
587
|
+
T.value = v;
|
|
480
588
|
}
|
|
481
|
-
function
|
|
482
|
-
|
|
589
|
+
function f(b, m, v) {
|
|
590
|
+
R.value || (T.value = v);
|
|
483
591
|
}
|
|
484
|
-
function
|
|
485
|
-
|
|
592
|
+
function o(b, m, v) {
|
|
593
|
+
T.value = -1;
|
|
486
594
|
}
|
|
487
|
-
function
|
|
488
|
-
|
|
595
|
+
function y() {
|
|
596
|
+
R.value = !0;
|
|
489
597
|
}
|
|
490
|
-
function
|
|
491
|
-
|
|
598
|
+
function C() {
|
|
599
|
+
R.value = !1;
|
|
492
600
|
}
|
|
493
|
-
function
|
|
494
|
-
|
|
601
|
+
function S() {
|
|
602
|
+
t.value = -1, e.value = "";
|
|
495
603
|
}
|
|
496
604
|
return {
|
|
497
|
-
activeIndex:
|
|
498
|
-
focusedItemId:
|
|
499
|
-
hoverIndex:
|
|
500
|
-
clearActiveItem:
|
|
605
|
+
activeIndex: t,
|
|
606
|
+
focusedItemId: d,
|
|
607
|
+
hoverIndex: T,
|
|
608
|
+
clearActiveItem: S,
|
|
501
609
|
onMouseenterItem: i,
|
|
502
|
-
onMouseoverItem:
|
|
503
|
-
onMouseoutItem:
|
|
504
|
-
resumeHover:
|
|
505
|
-
suspendHover:
|
|
610
|
+
onMouseoverItem: f,
|
|
611
|
+
onMouseoutItem: o,
|
|
612
|
+
resumeHover: C,
|
|
613
|
+
suspendHover: y
|
|
506
614
|
};
|
|
507
615
|
}
|
|
508
|
-
function
|
|
509
|
-
const
|
|
510
|
-
let
|
|
511
|
-
function
|
|
512
|
-
const
|
|
513
|
-
|
|
514
|
-
}
|
|
515
|
-
function
|
|
516
|
-
const { left: w, top:
|
|
517
|
-
return
|
|
616
|
+
function wt(e, t, d, T) {
|
|
617
|
+
const R = u(e.idField), { dataView: i } = d, f = u(-1), o = u(!1), { activeIndex: y, focusedItemId: C, hoverIndex: S, resumeHover: b, suspendHover: m } = T;
|
|
618
|
+
let v, M = 0, V = 0;
|
|
619
|
+
function k(h, w) {
|
|
620
|
+
const g = h - M, n = w - V;
|
|
621
|
+
v.style.left = parseInt(v.style.left) + g + "px", v.style.top = parseInt(v.style.top) + n + "px", M = h, V = w;
|
|
622
|
+
}
|
|
623
|
+
function D(h) {
|
|
624
|
+
const { left: w, top: g } = h.getBoundingClientRect(), n = h.cloneNode(!0);
|
|
625
|
+
return n.className = n.className + " f-listview-drag-moving", n.style.cssText = `
|
|
518
626
|
position:absolute;
|
|
519
627
|
left:${w}px;
|
|
520
|
-
top:${document.documentElement.scrollTop ?
|
|
628
|
+
top:${document.documentElement.scrollTop ? g + document.documentElement.scrollTop : g}px;
|
|
521
629
|
z-index: 999999;
|
|
522
630
|
pointer-events: none;
|
|
523
631
|
border-radius: 10px;
|
|
@@ -526,260 +634,260 @@ function Ze(e, l, g, b) {
|
|
|
526
634
|
align-items: center;
|
|
527
635
|
float: none;
|
|
528
636
|
text-align: initial;
|
|
529
|
-
width:${getComputedStyle(
|
|
530
|
-
height:${getComputedStyle(
|
|
531
|
-
`,
|
|
637
|
+
width:${getComputedStyle(h).width};
|
|
638
|
+
height:${getComputedStyle(h).height};
|
|
639
|
+
`, n.children[0].style.cssText = "overflow: hidden;flex: 1 1 auto;width: 100%;", n.children[0].children[0].style.cssText = `
|
|
532
640
|
margin: 10px 0px 10px 14px;
|
|
533
641
|
overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
|
|
534
|
-
`,
|
|
642
|
+
`, n.children[1].style.cssText = "width: 30px;padding: 0 14px 0 0", n.children[2].style.cssText = "padding: 0 14px 0 0;", document.body.appendChild(n), n;
|
|
535
643
|
}
|
|
536
|
-
function
|
|
537
|
-
if (
|
|
538
|
-
if (
|
|
539
|
-
const
|
|
540
|
-
|
|
644
|
+
function O(h, w, g) {
|
|
645
|
+
if (h.stopPropagation(), m(), w) {
|
|
646
|
+
if (v = D(h.target), h.dataTransfer) {
|
|
647
|
+
const n = new Image();
|
|
648
|
+
n.src = "", h.dataTransfer.setDragImage(n, 0, 0);
|
|
541
649
|
}
|
|
542
|
-
|
|
543
|
-
|
|
650
|
+
M = h.pageX, V = h.pageY, setTimeout(() => {
|
|
651
|
+
f.value = g, o.value = !0, w.moving = !0;
|
|
544
652
|
});
|
|
545
653
|
}
|
|
546
654
|
}
|
|
547
|
-
function
|
|
548
|
-
if (
|
|
549
|
-
const
|
|
550
|
-
|
|
655
|
+
function B(h, w) {
|
|
656
|
+
if (h.preventDefault(), f.value !== w) {
|
|
657
|
+
const g = i.value[f.value], n = i.value;
|
|
658
|
+
n.splice(f.value, 1), n.splice(w, 0, g), f.value = w, k(h.pageX, h.pageY);
|
|
551
659
|
}
|
|
552
660
|
}
|
|
553
|
-
function A(
|
|
554
|
-
|
|
661
|
+
function A(h) {
|
|
662
|
+
h.preventDefault(), h.dataTransfer && (h.dataTransfer.dropEffect = "move"), k(h.pageX, h.pageY);
|
|
555
663
|
}
|
|
556
|
-
function
|
|
557
|
-
w && (w.moving = !1,
|
|
558
|
-
|
|
559
|
-
}),
|
|
664
|
+
function H(h, w) {
|
|
665
|
+
w && (w.moving = !1, v && (document.body.removeChild(v), v = null)), i.value.forEach((g, n) => {
|
|
666
|
+
g.__fv_index__ = n;
|
|
667
|
+
}), o.value = !1, b(), S.value = w.raw.__fv_index__, y.value = w.raw.__fv_index__, C.value = w.raw[R.value], t.emit("change", i.value), t.emit("activeChange", [w.raw]);
|
|
560
668
|
}
|
|
561
669
|
return {
|
|
562
|
-
dragstart:
|
|
563
|
-
dragenter:
|
|
670
|
+
dragstart: O,
|
|
671
|
+
dragenter: B,
|
|
564
672
|
dragover: A,
|
|
565
|
-
dragend:
|
|
566
|
-
isDragging:
|
|
673
|
+
dragend: H,
|
|
674
|
+
isDragging: o
|
|
567
675
|
};
|
|
568
676
|
}
|
|
569
|
-
function
|
|
570
|
-
const
|
|
571
|
-
|
|
572
|
-
const
|
|
573
|
-
let
|
|
574
|
-
return
|
|
677
|
+
function It(e, t, d, T, R, i) {
|
|
678
|
+
const f = u(e.idField), o = u(e.disableField), y = u(e.draggable);
|
|
679
|
+
u(e.itemClass);
|
|
680
|
+
const C = u(e.selection.multiSelect ?? !1), S = u(e.selection.multiSelectMode), { isDragging: b } = T, { activeIndex: m, focusedItemId: v, hoverIndex: M } = R, { clearSelection: V, getSelectedItems: k, toggleSelectItem: D, currentSelectedDataId: O } = i, B = u(k()), A = (r) => B.value.length === 0 ? !1 : B.value.some((a) => {
|
|
681
|
+
let s = "";
|
|
682
|
+
return a.data ? s = a.data[f.value] : s = a[f.value], s === r;
|
|
575
683
|
});
|
|
576
|
-
function
|
|
577
|
-
|
|
684
|
+
function H() {
|
|
685
|
+
B.value = k();
|
|
578
686
|
}
|
|
579
|
-
function
|
|
580
|
-
return r.raw[
|
|
687
|
+
function h(r, a) {
|
|
688
|
+
return r.raw[f.value] != null ? r.raw[f.value] : "";
|
|
581
689
|
}
|
|
582
|
-
function w(r,
|
|
583
|
-
const
|
|
690
|
+
function w(r, a) {
|
|
691
|
+
const s = {
|
|
584
692
|
"f-list-view-group-item": !0,
|
|
585
|
-
"f-list-view-draggable-item":
|
|
693
|
+
"f-list-view-draggable-item": y.value,
|
|
586
694
|
"f-un-click": !r.checked,
|
|
587
|
-
"f-un-select": !!r.raw[
|
|
695
|
+
"f-un-select": !!r.raw[o.value],
|
|
588
696
|
"f-listview-active": (
|
|
589
697
|
// 多选
|
|
590
|
-
|
|
591
|
-
!
|
|
698
|
+
C.value && A(h(r)) || // 单选
|
|
699
|
+
!C.value && r.raw[f.value] === O.value
|
|
592
700
|
),
|
|
593
|
-
"f-listview-hover": !
|
|
701
|
+
"f-listview-hover": !b.value && a === M.value,
|
|
594
702
|
moving: !!r.moving
|
|
595
703
|
};
|
|
596
704
|
if (typeof e.itemClass == "string")
|
|
597
|
-
return K(
|
|
705
|
+
return K(s, e.itemClass);
|
|
598
706
|
if (typeof e.itemClass == "function") {
|
|
599
|
-
const
|
|
600
|
-
return K(
|
|
707
|
+
const P = e.itemClass(r);
|
|
708
|
+
return K(s, P);
|
|
601
709
|
}
|
|
602
|
-
return
|
|
710
|
+
return s;
|
|
603
711
|
}
|
|
604
|
-
function
|
|
605
|
-
const
|
|
712
|
+
function g(r, a) {
|
|
713
|
+
const s = {};
|
|
606
714
|
if (typeof e.itemStyle == "string")
|
|
607
|
-
return
|
|
715
|
+
return ee(s, e.itemStyle);
|
|
608
716
|
if (typeof e.itemStyle == "function") {
|
|
609
|
-
const
|
|
610
|
-
return
|
|
717
|
+
const P = e.itemStyle(r);
|
|
718
|
+
return ee(s, P);
|
|
611
719
|
}
|
|
612
|
-
return
|
|
720
|
+
return s;
|
|
613
721
|
}
|
|
614
|
-
const
|
|
615
|
-
function
|
|
616
|
-
r.checked =
|
|
722
|
+
const n = L(() => !C.value);
|
|
723
|
+
function p(r, a, s) {
|
|
724
|
+
r.checked = s, !r.raw[o.value] && (n.value && (v.value = r.raw[f.value]), D(r));
|
|
617
725
|
}
|
|
618
|
-
const
|
|
619
|
-
function
|
|
620
|
-
if (r.raw[
|
|
621
|
-
|
|
726
|
+
const I = L(() => C.value && S.value === "OnCheckClearByClick"), F = L(() => !C.value || C.value && (S.value === "OnCheckAndClick" || S.value === "OnClick"));
|
|
727
|
+
function c(r, a, s) {
|
|
728
|
+
if (r.raw[o.value]) {
|
|
729
|
+
s == null || s.preventDefault(), s == null || s.stopPropagation();
|
|
622
730
|
return;
|
|
623
731
|
}
|
|
624
|
-
|
|
732
|
+
O.value = r.raw[f.value], v.value = r.raw[f.value], m.value = a, I.value && V(), F.value && (D(r), H()), t.emit("clickItem", { data: B.value, index: a, dataItem: r.raw }), t.emit("activeChange", B.value);
|
|
625
733
|
}
|
|
626
734
|
return {
|
|
627
|
-
getKey:
|
|
628
|
-
selectedItems:
|
|
735
|
+
getKey: h,
|
|
736
|
+
selectedItems: B,
|
|
629
737
|
listViewItemClass: w,
|
|
630
|
-
listViewItemStyle:
|
|
631
|
-
updateSelectedItems:
|
|
632
|
-
onCheckItem:
|
|
633
|
-
onClickItem:
|
|
738
|
+
listViewItemStyle: g,
|
|
739
|
+
updateSelectedItems: H,
|
|
740
|
+
onCheckItem: p,
|
|
741
|
+
onClickItem: c
|
|
634
742
|
};
|
|
635
743
|
}
|
|
636
|
-
const
|
|
744
|
+
const U = /* @__PURE__ */ X({
|
|
637
745
|
name: "FListView",
|
|
638
|
-
props:
|
|
746
|
+
props: ft,
|
|
639
747
|
emits: ["afterSearch", "checkValuesChange", "clickItem", "selectItem", "unSelectItem", "selectionChange", "removeItem", "change", "activeChange", "pageIndexChanged", "pageSizeChanged", "changed", "selectionUpdate"],
|
|
640
|
-
setup(e,
|
|
641
|
-
const
|
|
642
|
-
getVisualData:
|
|
643
|
-
} =
|
|
644
|
-
i.value =
|
|
645
|
-
const
|
|
646
|
-
const
|
|
748
|
+
setup(e, t) {
|
|
749
|
+
const d = u(), T = u(!0), R = u(!1), i = u([]), f = 0, o = u(e.columns), y = Oe(e, t), C = xe(e), S = je(e), b = Be(e, C), m = Le(e, /* @__PURE__ */ new Map(), y, S, C), v = Ae(e, m, C, i, t), M = vt(e, d), V = Pe(e, m), k = L(() => m.dataView.value.length), D = He(e, t, v, C), O = _e(e, t, C, D, i), B = Ge(e), A = ze(e, {}, B), H = Ee(e, m, O, S, C, B, A), h = Ne(e, C, A, H), w = Ue(e, C, A, H), g = $e(e, o, m, k, f, H, h, w), {
|
|
750
|
+
getVisualData: n
|
|
751
|
+
} = g;
|
|
752
|
+
i.value = n(0, k.value + f - 1);
|
|
753
|
+
const p = L(() => {
|
|
754
|
+
const j = {
|
|
647
755
|
"f-list-view": !0,
|
|
648
756
|
"f-list-view-multiple": e.multiSelect
|
|
649
757
|
};
|
|
650
|
-
return e.size !== "default" && (
|
|
651
|
-
}),
|
|
652
|
-
function
|
|
653
|
-
return e.header === "SearchBar" ?
|
|
758
|
+
return e.size !== "default" && (j[`${e.size}-item`] = !0), K(j, e.customClass);
|
|
759
|
+
}), I = L(() => !!t.slots.footer || T.value);
|
|
760
|
+
function F() {
|
|
761
|
+
return e.header === "SearchBar" ? le : e.header === "ContentHeader" ? Ct : le;
|
|
654
762
|
}
|
|
655
|
-
const
|
|
763
|
+
const c = F(), {
|
|
656
764
|
renderHeader: r
|
|
657
|
-
} =
|
|
658
|
-
renderListArea:
|
|
659
|
-
} =
|
|
660
|
-
function
|
|
661
|
-
|
|
662
|
-
}
|
|
663
|
-
function
|
|
664
|
-
|
|
665
|
-
}
|
|
666
|
-
function
|
|
667
|
-
|
|
668
|
-
}
|
|
669
|
-
function
|
|
670
|
-
return
|
|
671
|
-
}
|
|
672
|
-
function
|
|
673
|
-
return
|
|
674
|
-
}
|
|
675
|
-
function
|
|
676
|
-
|
|
677
|
-
}
|
|
678
|
-
function
|
|
679
|
-
return
|
|
680
|
-
}
|
|
681
|
-
function
|
|
682
|
-
|
|
683
|
-
}
|
|
684
|
-
function
|
|
685
|
-
const _ =
|
|
686
|
-
G && z > -1 &&
|
|
687
|
-
}
|
|
688
|
-
function
|
|
689
|
-
const _ =
|
|
690
|
-
G &&
|
|
691
|
-
}
|
|
692
|
-
function
|
|
693
|
-
|
|
694
|
-
}
|
|
695
|
-
function
|
|
696
|
-
return i.value.filter((_) =>
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
search:
|
|
700
|
-
updateDataSource:
|
|
701
|
-
clearSelection:
|
|
702
|
-
getSelections:
|
|
703
|
-
updateSelectionByIds:
|
|
704
|
-
getSelectionIds:
|
|
705
|
-
activeRowById:
|
|
706
|
-
getCurrentRowId:
|
|
707
|
-
clickRowItemById:
|
|
708
|
-
updatePagination:
|
|
709
|
-
getVisibleDataByIds:
|
|
710
|
-
selectRowById:
|
|
765
|
+
} = c(e, t, M), a = St(), s = wt(e, t, m, a), P = It(e, t, i, s, a, v), {
|
|
766
|
+
renderListArea: x
|
|
767
|
+
} = yt(e, t, i, m, b, a, v, g, P, s);
|
|
768
|
+
function oe(j) {
|
|
769
|
+
M.search(j);
|
|
770
|
+
}
|
|
771
|
+
function ie(j) {
|
|
772
|
+
j && (m.load(j), i.value = n(0, k.value + f - 1));
|
|
773
|
+
}
|
|
774
|
+
function ce() {
|
|
775
|
+
v.clearSelection(), a.clearActiveItem();
|
|
776
|
+
}
|
|
777
|
+
function ue() {
|
|
778
|
+
return P.selectedItems.value;
|
|
779
|
+
}
|
|
780
|
+
function re() {
|
|
781
|
+
return P.selectedItems.value.map((j) => j[C.idField.value]);
|
|
782
|
+
}
|
|
783
|
+
function Q(j) {
|
|
784
|
+
v.selectedValues.value = j, P.updateSelectedItems();
|
|
785
|
+
}
|
|
786
|
+
function de() {
|
|
787
|
+
return v.currentSelectedDataId.value;
|
|
788
|
+
}
|
|
789
|
+
function fe(j) {
|
|
790
|
+
D.activeRowById(j);
|
|
791
|
+
}
|
|
792
|
+
function ve(j) {
|
|
793
|
+
const _ = C.idField.value, G = i.value.find((W) => W.raw[_] === j), z = i.value.findIndex((W) => W.raw[_] === j);
|
|
794
|
+
G && z > -1 && P.onClickItem(G, z);
|
|
795
|
+
}
|
|
796
|
+
function me(j) {
|
|
797
|
+
const _ = C.idField.value, G = i.value.find((z) => z.raw[_] === j);
|
|
798
|
+
G && D.changeRow(G);
|
|
799
|
+
}
|
|
800
|
+
function ge(j) {
|
|
801
|
+
V.updatePagination(j);
|
|
802
|
+
}
|
|
803
|
+
function pe(j) {
|
|
804
|
+
return i.value.filter((_) => j.includes(_.raw[e.idField]));
|
|
805
|
+
}
|
|
806
|
+
t.expose({
|
|
807
|
+
search: oe,
|
|
808
|
+
updateDataSource: ie,
|
|
809
|
+
clearSelection: ce,
|
|
810
|
+
getSelections: ue,
|
|
811
|
+
updateSelectionByIds: Q,
|
|
812
|
+
getSelectionIds: re,
|
|
813
|
+
activeRowById: fe,
|
|
814
|
+
getCurrentRowId: de,
|
|
815
|
+
clickRowItemById: ve,
|
|
816
|
+
updatePagination: ge,
|
|
817
|
+
getVisibleDataByIds: pe,
|
|
818
|
+
selectRowById: me
|
|
711
819
|
});
|
|
712
|
-
function
|
|
713
|
-
e.multiSelect && (
|
|
820
|
+
function he(j) {
|
|
821
|
+
e.multiSelect && (j.preventDefault(), j.stopPropagation());
|
|
714
822
|
}
|
|
715
|
-
|
|
716
|
-
|
|
823
|
+
N(() => e.selectionValues, (j, _) => {
|
|
824
|
+
j !== _ && Q(j);
|
|
717
825
|
});
|
|
718
|
-
const
|
|
719
|
-
sidebarWidth:
|
|
720
|
-
showSidebarCheckBox:
|
|
721
|
-
} =
|
|
722
|
-
applyColumnSorter:
|
|
723
|
-
columnContext:
|
|
724
|
-
updateColumnRenderContext:
|
|
725
|
-
} =
|
|
726
|
-
shouldRenderPagination:
|
|
727
|
-
} =
|
|
728
|
-
renderDataGridPagination:
|
|
729
|
-
} =
|
|
730
|
-
return () =>
|
|
731
|
-
class:
|
|
732
|
-
onClick:
|
|
733
|
-
}, [r(),
|
|
734
|
-
ref:
|
|
826
|
+
const ye = We(e, v), {
|
|
827
|
+
sidebarWidth: Ce,
|
|
828
|
+
showSidebarCheckBox: kt
|
|
829
|
+
} = ye, Se = qe(e, t), {
|
|
830
|
+
applyColumnSorter: Vt,
|
|
831
|
+
columnContext: we,
|
|
832
|
+
updateColumnRenderContext: Ft
|
|
833
|
+
} = Se, Ie = Ke(e, m, i, we, g, k, f, Ce, O), {
|
|
834
|
+
shouldRenderPagination: Tt
|
|
835
|
+
} = V, {
|
|
836
|
+
renderDataGridPagination: Rt
|
|
837
|
+
} = Xe(e, t, m, Ie, V, v);
|
|
838
|
+
return () => l("div", {
|
|
839
|
+
class: p.value,
|
|
840
|
+
onClick: he
|
|
841
|
+
}, [r(), l("div", {
|
|
842
|
+
ref: d,
|
|
735
843
|
class: "f-list-view-content",
|
|
736
844
|
onMouseover: () => {
|
|
737
|
-
|
|
845
|
+
R.value = !0;
|
|
738
846
|
},
|
|
739
847
|
onMouseleave: () => {
|
|
740
|
-
|
|
848
|
+
R.value = !1;
|
|
741
849
|
}
|
|
742
|
-
}, [
|
|
850
|
+
}, [x()]), I.value && l("div", {
|
|
743
851
|
class: "f-list-view-footer"
|
|
744
|
-
}, [e.footerTemplate ? e.footerTemplate() :
|
|
852
|
+
}, [e.footerTemplate ? e.footerTemplate() : t.slots.footer && t.slots.footer()])]);
|
|
745
853
|
}
|
|
746
|
-
}),
|
|
854
|
+
}), $ = /* @__PURE__ */ X({
|
|
747
855
|
name: "FTransfer",
|
|
748
|
-
props:
|
|
856
|
+
props: J,
|
|
749
857
|
emits: ["change", "activeChange", "selectItem", "unSelecteItem", "removeItem"],
|
|
750
|
-
setup(e,
|
|
751
|
-
const
|
|
752
|
-
let
|
|
753
|
-
function
|
|
754
|
-
const
|
|
755
|
-
r.length && r.reduce((
|
|
756
|
-
const
|
|
757
|
-
|
|
758
|
-
const
|
|
759
|
-
|
|
858
|
+
setup(e, t) {
|
|
859
|
+
const d = u(e.identifyField), T = u(e.displayType), R = u(!1), i = u(e.dataSource), f = u(e.textField), o = u(e.selections || []), y = L(() => o.value.map((c) => c[d.value])), C = /* @__PURE__ */ new Map(), S = u(), b = u(), m = u();
|
|
860
|
+
let v;
|
|
861
|
+
function M() {
|
|
862
|
+
const c = /* @__PURE__ */ new Map(), r = e.selectionValues || [];
|
|
863
|
+
r.length && r.reduce((s, P) => (s.set(P, !0), s), c);
|
|
864
|
+
const a = e.selections || [];
|
|
865
|
+
a.length && (c.clear(), a.reduce((s, P) => (s.set(P[d.value], !0), s), c)), o.value.length || (o.value = i.value.filter((s) => c.has(s[d.value])).map((s) => Object.assign({}, s))), i.value.forEach((s) => {
|
|
866
|
+
const P = s[d.value], x = c.has(P);
|
|
867
|
+
s.checked = x, x && C.set(P, s);
|
|
760
868
|
});
|
|
761
869
|
}
|
|
762
|
-
|
|
763
|
-
|
|
870
|
+
M(), N(() => e.selections, (c) => {
|
|
871
|
+
o.value = c, M();
|
|
764
872
|
});
|
|
765
|
-
const
|
|
766
|
-
function
|
|
767
|
-
const r =
|
|
768
|
-
|
|
873
|
+
const V = L(() => T.value === "List"), k = L(() => T.value === "Tree");
|
|
874
|
+
function D(c) {
|
|
875
|
+
const r = te(o.value);
|
|
876
|
+
o.value = c.map((a) => Object.assign({}, a)), t.emit("change", o.value, r);
|
|
769
877
|
}
|
|
770
|
-
function
|
|
771
|
-
|
|
878
|
+
function O(c) {
|
|
879
|
+
t.emit("selectItem", c);
|
|
772
880
|
}
|
|
773
|
-
function
|
|
774
|
-
|
|
881
|
+
function B(c) {
|
|
882
|
+
t.emit("unSelectItem", c);
|
|
775
883
|
}
|
|
776
884
|
function A() {
|
|
777
|
-
return
|
|
885
|
+
return l(U, {
|
|
778
886
|
class: "f-utils-fill",
|
|
779
887
|
data: i.value,
|
|
780
888
|
multiSelect: !0,
|
|
781
889
|
itemClass: "f-transfer-list-item",
|
|
782
|
-
textField:
|
|
890
|
+
textField: f.value,
|
|
783
891
|
selection: {
|
|
784
892
|
enableSelectRow: !0,
|
|
785
893
|
multiSelect: !0,
|
|
@@ -791,18 +899,18 @@ const Z = /* @__PURE__ */ ee({
|
|
|
791
899
|
draggable: !1,
|
|
792
900
|
header: "Search",
|
|
793
901
|
headerClass: "transfer-search-box",
|
|
794
|
-
selectionValues:
|
|
795
|
-
onSelectionUpdate:
|
|
902
|
+
selectionValues: y.value,
|
|
903
|
+
onSelectionUpdate: D
|
|
796
904
|
}, null);
|
|
797
905
|
}
|
|
798
|
-
function
|
|
799
|
-
return
|
|
800
|
-
ref:
|
|
906
|
+
function H() {
|
|
907
|
+
return l(Te, {
|
|
908
|
+
ref: m,
|
|
801
909
|
data: i.value,
|
|
802
910
|
columns: e.columns,
|
|
803
911
|
virtualized: e.virtualized,
|
|
804
912
|
rowOption: e.rowOption,
|
|
805
|
-
textField:
|
|
913
|
+
textField: f.value,
|
|
806
914
|
selection: {
|
|
807
915
|
enableSelectRow: !0,
|
|
808
916
|
multiSelect: !0,
|
|
@@ -811,99 +919,208 @@ const Z = /* @__PURE__ */ ee({
|
|
|
811
919
|
showSelectAll: !1,
|
|
812
920
|
showSelection: !0
|
|
813
921
|
},
|
|
814
|
-
selectionValues:
|
|
815
|
-
onSelectionUpdate:
|
|
816
|
-
onSelectItem:
|
|
817
|
-
onUnSelectItem:
|
|
922
|
+
selectionValues: y.value,
|
|
923
|
+
onSelectionUpdate: D,
|
|
924
|
+
onSelectItem: O,
|
|
925
|
+
onUnSelectItem: B
|
|
818
926
|
}, null);
|
|
819
927
|
}
|
|
820
|
-
function
|
|
821
|
-
return
|
|
928
|
+
function h() {
|
|
929
|
+
return l("div", {
|
|
822
930
|
class: "f-utils-fill option-pane d-flex flex-column"
|
|
823
|
-
}, [
|
|
931
|
+
}, [l("div", {
|
|
824
932
|
class: "f-utils-flex-column option-pane-content f-utils-fill"
|
|
825
|
-
}, [
|
|
933
|
+
}, [l("div", {
|
|
826
934
|
class: "container columns-box d-flex f-utils-fill"
|
|
827
|
-
}, [
|
|
935
|
+
}, [V.value && A(), k.value && H()])])]);
|
|
828
936
|
}
|
|
829
|
-
function w(
|
|
830
|
-
const r =
|
|
937
|
+
function w(c) {
|
|
938
|
+
const r = c[d.value];
|
|
831
939
|
if (r !== null || r !== void 0) {
|
|
832
|
-
|
|
833
|
-
const
|
|
834
|
-
|
|
940
|
+
o.value = o.value.filter((s) => s[d.value] !== r);
|
|
941
|
+
const a = C.get(r);
|
|
942
|
+
a && (a.checked = !1, C.delete(r)), t.emit("change", o.value), t.emit("removeItem", c);
|
|
835
943
|
}
|
|
836
944
|
}
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
const r =
|
|
840
|
-
|
|
945
|
+
N(o, (c) => {
|
|
946
|
+
S.value.updateDataSource(te(c));
|
|
947
|
+
const r = v == null ? void 0 : v[d.value], a = c.find((s) => r === s[d.value]);
|
|
948
|
+
a ? S.value.activeRowById(a[d.value]) : (v = null, S.value.activeRowById(""));
|
|
841
949
|
});
|
|
842
|
-
function
|
|
950
|
+
function g(c) {
|
|
843
951
|
const r = /* @__PURE__ */ new Map();
|
|
844
|
-
|
|
952
|
+
o.value.reduce((a, s) => (a.set(s[d.value], s), a), r), o.value = c.map((a) => r.get(a[d.value])), t.emit("change", o.value);
|
|
845
953
|
}
|
|
846
|
-
function
|
|
847
|
-
|
|
954
|
+
function n(c) {
|
|
955
|
+
v = c[0], t.emit("activeChange", c);
|
|
848
956
|
}
|
|
849
|
-
function
|
|
850
|
-
var
|
|
851
|
-
return
|
|
852
|
-
ref:
|
|
957
|
+
function p() {
|
|
958
|
+
var c;
|
|
959
|
+
return l(U, {
|
|
960
|
+
ref: S,
|
|
853
961
|
columns: e.columns,
|
|
854
962
|
style: "flex:1",
|
|
855
|
-
data:
|
|
963
|
+
data: o.value,
|
|
856
964
|
draggable: !0,
|
|
857
965
|
view: "DraggableView",
|
|
858
966
|
"keep-order": !0,
|
|
859
|
-
textField:
|
|
967
|
+
textField: f.value,
|
|
860
968
|
itemClass: e.selectedItemClass,
|
|
861
|
-
onChange:
|
|
969
|
+
onChange: g,
|
|
862
970
|
onRemoveItem: w,
|
|
863
|
-
onActiveChange:
|
|
971
|
+
onActiveChange: n,
|
|
864
972
|
checkBeforeRemoveItem: e.checkBeforeRemoveItem
|
|
865
973
|
}, {
|
|
866
|
-
itemContent: (
|
|
867
|
-
var
|
|
868
|
-
return ((
|
|
974
|
+
itemContent: (c = t.slots) != null && c.text ? (r) => {
|
|
975
|
+
var a;
|
|
976
|
+
return ((a = t.slots) == null ? void 0 : a.text) && t.slots.text(r);
|
|
869
977
|
} : null
|
|
870
978
|
});
|
|
871
979
|
}
|
|
872
|
-
function
|
|
873
|
-
return
|
|
980
|
+
function I() {
|
|
981
|
+
return l("div", {
|
|
874
982
|
class: "f-utils-fill selection-pane d-flex flex-column"
|
|
875
|
-
}, [
|
|
983
|
+
}, [l("div", {
|
|
876
984
|
class: "f-utils-flex-column selection-pane-content f-utils-fill"
|
|
877
|
-
}, [
|
|
985
|
+
}, [l("div", {
|
|
878
986
|
class: "selection-pane-title"
|
|
879
|
-
}, [
|
|
987
|
+
}, [l("span", {
|
|
880
988
|
class: "selection-title"
|
|
881
|
-
}, [
|
|
989
|
+
}, [q.getLocaleValue("transfer.selectedStart")]), l("span", {
|
|
882
990
|
class: "selection-count"
|
|
883
|
-
}, [
|
|
991
|
+
}, [o.value && o.value.length]), l("span", {
|
|
884
992
|
class: "selection-item-title"
|
|
885
|
-
}, [
|
|
993
|
+
}, [q.getLocaleValue("transfer.selectedEnd")])]), l("div", {
|
|
886
994
|
class: "container columns-box f-utils-fill d-flex"
|
|
887
|
-
}, [
|
|
995
|
+
}, [p()])])]);
|
|
888
996
|
}
|
|
889
|
-
const
|
|
997
|
+
const F = L(() => ({
|
|
890
998
|
"f-transfer": !0,
|
|
891
999
|
row: !0,
|
|
892
|
-
"f-utils-fill":
|
|
1000
|
+
"f-utils-fill": R.value
|
|
893
1001
|
}));
|
|
894
|
-
return
|
|
895
|
-
|
|
896
|
-
}), () =>
|
|
897
|
-
ref:
|
|
898
|
-
class:
|
|
1002
|
+
return ae(() => {
|
|
1003
|
+
b.value && b.value.parentElement && getComputedStyle(b.value.parentElement).display === "flex" && (R.value = !0);
|
|
1004
|
+
}), () => l("div", {
|
|
1005
|
+
ref: b,
|
|
1006
|
+
class: F.value,
|
|
1007
|
+
style: "height:480px"
|
|
1008
|
+
}, [t.slots.children ? t.slots.children({
|
|
1009
|
+
selections: o.value
|
|
1010
|
+
}) : h(), I()]);
|
|
1011
|
+
}
|
|
1012
|
+
}), bt = /* @__PURE__ */ X({
|
|
1013
|
+
name: "FTransferDesign",
|
|
1014
|
+
props: J,
|
|
1015
|
+
emits: ["change"],
|
|
1016
|
+
setup(e, t) {
|
|
1017
|
+
const d = u(e.identifyField), T = u("已选:"), R = u("项数据"), i = u(e.displayType), f = u(!1), o = u(e.dataSource), y = u(e.selections || []), C = L(() => y.value.map((p) => p[d.value])), S = /* @__PURE__ */ new Map();
|
|
1018
|
+
function b() {
|
|
1019
|
+
const p = /* @__PURE__ */ new Map(), I = e.selectionValues || [];
|
|
1020
|
+
I.length && I.reduce((c, r) => (c.set(r, !0), c), p);
|
|
1021
|
+
const F = e.selections || [];
|
|
1022
|
+
F.length && (p.clear(), F.reduce((c, r) => (c.set(r[d.value], !0), c), p)), y.value.length || (y.value = o.value.filter((c) => p.has(c[d.value])).map((c) => Object.assign({}, c))), o.value.forEach((c) => {
|
|
1023
|
+
const r = c[d.value], a = p.has(r);
|
|
1024
|
+
c.checked = a, a && S.set(r, c);
|
|
1025
|
+
});
|
|
1026
|
+
}
|
|
1027
|
+
b();
|
|
1028
|
+
const m = L(() => i.value === "List"), v = L(() => i.value === "Tree");
|
|
1029
|
+
function M(p) {
|
|
1030
|
+
y.value = p.map((I) => Object.assign({}, I)), t.emit("change", y.value);
|
|
1031
|
+
}
|
|
1032
|
+
function V() {
|
|
1033
|
+
return l(U, {
|
|
1034
|
+
class: "f-utils-fill",
|
|
1035
|
+
data: o.value,
|
|
1036
|
+
"multi-select": !0,
|
|
1037
|
+
draggable: !1,
|
|
1038
|
+
header: "Search",
|
|
1039
|
+
headerClass: "transfer-search-box",
|
|
1040
|
+
"selection-values": C.value,
|
|
1041
|
+
onSelectionChange: M
|
|
1042
|
+
}, {
|
|
1043
|
+
default: () => [Z(" ")]
|
|
1044
|
+
});
|
|
1045
|
+
}
|
|
1046
|
+
function k() {
|
|
1047
|
+
return l(E, null, null);
|
|
1048
|
+
}
|
|
1049
|
+
function D() {
|
|
1050
|
+
return l("div", {
|
|
1051
|
+
class: "f-utils-fill option-pane d-flex flex-column"
|
|
1052
|
+
}, [l("div", {
|
|
1053
|
+
class: "f-utils-flex-column option-pane-content f-utils-fill"
|
|
1054
|
+
}, [l("div", {
|
|
1055
|
+
class: "container columns-box d-flex f-utils-fill"
|
|
1056
|
+
}, [m.value && V(), v.value && k()])])]);
|
|
1057
|
+
}
|
|
1058
|
+
function O(p) {
|
|
1059
|
+
const I = p[d.value];
|
|
1060
|
+
if (I !== null || I !== void 0) {
|
|
1061
|
+
y.value = y.value.filter((c) => c[d.value] !== I);
|
|
1062
|
+
const F = S.get(I);
|
|
1063
|
+
F && (F.checked = !1, S.delete(I)), t.emit("change", y.value);
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
function B(p) {
|
|
1067
|
+
const I = /* @__PURE__ */ new Map();
|
|
1068
|
+
y.value.reduce((F, c) => (F.set(c[d.value], c), F), I), y.value = p.map((F) => I.get(F[d.value])), t.emit("change", y.value);
|
|
1069
|
+
}
|
|
1070
|
+
function A() {
|
|
1071
|
+
return l(U, {
|
|
1072
|
+
style: "flex:1",
|
|
1073
|
+
data: y.value,
|
|
1074
|
+
draggable: !0,
|
|
1075
|
+
view: "DraggableView",
|
|
1076
|
+
"keep-order": !0,
|
|
1077
|
+
onChange: B,
|
|
1078
|
+
onRemoveItem: O
|
|
1079
|
+
}, {
|
|
1080
|
+
default: () => [Z(" ")]
|
|
1081
|
+
});
|
|
1082
|
+
}
|
|
1083
|
+
function H() {
|
|
1084
|
+
return l("div", {
|
|
1085
|
+
class: "f-utils-fill selection-pane d-flex flex-column"
|
|
1086
|
+
}, [l("div", {
|
|
1087
|
+
class: "f-utils-flex-column selection-pane-content f-utils-fill"
|
|
1088
|
+
}, [l("div", {
|
|
1089
|
+
class: "selection-pane-title"
|
|
1090
|
+
}, [l("span", {
|
|
1091
|
+
class: "selection-title"
|
|
1092
|
+
}, [T.value]), l("span", {
|
|
1093
|
+
class: "selection-count"
|
|
1094
|
+
}, [y.value && y.value.length]), l("span", {
|
|
1095
|
+
class: "selection-item-title"
|
|
1096
|
+
}, [R.value])]), l("div", {
|
|
1097
|
+
class: "container columns-box f-utils-fill d-flex"
|
|
1098
|
+
}, [A()])])]);
|
|
1099
|
+
}
|
|
1100
|
+
const h = L(() => ({
|
|
1101
|
+
transfer: !0,
|
|
1102
|
+
row: !0,
|
|
1103
|
+
"f-utils-fill": f.value
|
|
1104
|
+
})), w = u(), g = Fe("design-item-context"), n = Ye(w, g);
|
|
1105
|
+
return ae(() => {
|
|
1106
|
+
w.value.componentInstance = n;
|
|
1107
|
+
}), t.expose(n.value), () => l("div", {
|
|
1108
|
+
ref: w,
|
|
1109
|
+
class: h.value,
|
|
899
1110
|
style: "height:480px"
|
|
900
|
-
}, [
|
|
901
|
-
selections: s.value
|
|
902
|
-
}) : m(), B()]);
|
|
1111
|
+
}, [D(), H()]);
|
|
903
1112
|
}
|
|
904
|
-
})
|
|
1113
|
+
});
|
|
1114
|
+
$.register = (e, t, d) => {
|
|
1115
|
+
e.transfer = $, t.transfer = se;
|
|
1116
|
+
};
|
|
1117
|
+
$.registerDesigner = (e, t, d) => {
|
|
1118
|
+
e.transfer = bt, t.transfer = se;
|
|
1119
|
+
};
|
|
1120
|
+
const Ht = Me($);
|
|
905
1121
|
export {
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
1122
|
+
$ as FTransfer,
|
|
1123
|
+
Ht as default,
|
|
1124
|
+
se as propsResolver,
|
|
1125
|
+
J as transferProps
|
|
909
1126
|
};
|