@farris/ui-vue 1.7.1 → 1.7.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/index.esm.js +312 -61
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +1492 -59
- 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-edit/index.esm.js +1 -1
- package/components/button-edit/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 +344 -341
- package/components/calendar/index.umd.cjs +3 -3
- 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 +302 -299
- 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 +329 -292
- 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 +294 -291
- package/components/comment/index.umd.cjs +6 -6
- package/components/common/index.esm.js +1 -1
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.esm.js +4390 -2708
- package/components/component/index.umd.cjs +8 -1
- package/components/condition/index.esm.js +3140 -487
- package/components/condition/index.umd.cjs +8 -1
- package/components/data-grid/index.esm.js +4 -2
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +1859 -1832
- 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 +3731 -2717
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/drawer/index.esm.js +417 -405
- 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 +1245 -1895
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +275 -271
- package/components/dynamic-resolver/index.umd.cjs +2 -2
- package/components/dynamic-view/index.esm.js +529 -450
- 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 +2613 -1544
- package/components/events-editor/index.umd.cjs +3 -3
- package/components/expression-editor/index.css +1 -1
- package/components/expression-editor/index.esm.js +7376 -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 +423 -415
- 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 +9049 -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/index.esm.js +364 -355
- package/components/image/index.umd.cjs +2 -2
- 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 +411 -409
- 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/mapping-editor/index.esm.js +5 -3
- package/components/mapping-editor/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 +1641 -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 +1196 -851
- 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 +1817 -854
- package/components/property-panel/index.umd.cjs +12 -5
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +6858 -3984
- 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 +2448 -2222
- 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 +212 -209
- 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 +9493 -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 +129 -128
- 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 +1112 -607
- 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 +5301 -4507
- package/designer/data-grid/index.umd.cjs +17 -10
- package/designer/drawer/index.esm.js +626 -615
- package/designer/drawer/index.umd.cjs +2 -2
- package/designer/dynamic-form/index.esm.js +2043 -1290
- package/designer/dynamic-form/index.umd.cjs +8 -1
- package/designer/farris-designer.all.esm.js +14263 -12505
- package/designer/farris-designer.all.umd.cjs +16 -16
- 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 +238 -232
- package/designer/radio-group/index.umd.cjs +1 -1
- package/designer/response-layout-editor/index.esm.js +178 -171
- package/designer/response-layout-editor/index.umd.cjs +1 -1
- package/designer/response-toolbar/index.esm.js +1 -1
- 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 +3431 -2493
- package/designer/tabs/index.umd.cjs +2 -2
- package/designer/time-picker/index.esm.js +195 -188
- package/designer/time-picker/index.umd.cjs +1 -1
- package/designer/tree-grid/index.esm.js +822 -464
- package/designer/tree-grid/index.umd.cjs +1 -1
- package/farris.all.esm.js +77525 -74884
- package/farris.all.umd.cjs +93 -93
- 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-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 +8 -1
- package/types/condition/index.d.ts +55 -0
- package/types/condition/src/composition/condition-value/dropdown-value.d.ts +4 -0
- package/types/data-view/composition/types.d.ts +1 -1
- package/types/designer-canvas/src/composition/dg-control.d.ts +24 -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 -4
- package/types/dynamic-form/index.d.ts +6 -11
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -3
- package/types/dynamic-form/src/designer/dynamic-form.design.component.d.ts +8 -0
- package/types/dynamic-form/src/designer/response-form.design.props.d.ts +14 -0
- package/types/dynamic-form/src/designer/use-dynamic-form-rules.d.ts +2 -0
- package/types/dynamic-form/src/dynamic-form.component.d.ts +8 -0
- package/types/dynamic-form/src/response-form.props.d.ts +13 -1
- package/types/dynamic-form/src/schema/response-form-schema-resolver.d.ts +1 -0
- package/types/dynamic-form/src/types.d.ts +1 -0
- 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-resolver/src/types.d.ts +1 -0
- package/types/dynamic-view/index.d.ts +43 -3
- package/types/dynamic-view/src/components/maps.d.ts +110 -98
- package/types/dynamic-view/src/composition/index.d.ts +5 -0
- package/types/dynamic-view/src/composition/use-utils.d.ts +12 -0
- package/types/dynamic-view/src/dynamic-view.component.d.ts +6 -6
- 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/flow-canvas/src/components/flow-node-item.component.d.ts +8 -0
- 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/language-textbox/index.d.ts +3 -3
- package/types/language-textbox/src/components/language-contents.component.d.ts +1 -1
- package/types/language-textbox/src/language-textbox.component.d.ts +1 -1
- package/types/layout/index.d.ts +0 -1
- package/types/layout/src/components/layout-pane.props.d.ts +1 -0
- package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +2 -0
- package/types/layout/src/designer/layout-pane.design.component.d.ts +8 -0
- package/types/layout/src/designer/layout-use-designer-rules.d.ts +2 -0
- package/types/layout/src/designer/layout.design.component.d.ts +8 -0
- package/types/layout/src/layout.props.d.ts +1 -0
- package/types/layout/src/schema/schema-mapper.d.ts +2 -0
- package/types/layout/src/schema/schema-resolver.d.ts +2 -0
- package/types/list-nav/index.d.ts +5 -24
- package/types/list-nav/src/designer/use-designer-rules.d.ts +2 -0
- package/types/list-nav/src/list-nav.props.d.ts +1 -0
- package/types/list-nav/src/property-config/list-nav.property-config.d.ts +8 -0
- package/types/list-nav/src/schema/schema-mapper.d.ts +2 -0
- package/types/list-nav/src/schema/schema-resolver.d.ts +2 -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/property-panel/src/property-panel.component.d.ts +3 -3
- package/types/query-solution/index.d.ts +2 -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/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
- /package/types/{dynamic-form/src/component/form-control/form-control.component.d.ts → list-nav/src/designer/list-nav.design.component.d.ts} +0 -0
|
@@ -1,14 +1,152 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent as $, ref as F, inject as H, onMounted as V, createVNode as T, computed as k, watch as O, withDirectives as Y, vModelText as ce, resolveDirective as de, Fragment as fe, toRefs as me } from "vue";
|
|
2
|
+
import { useDesignerComponent as pe } from "../designer-canvas/index.esm.js";
|
|
3
|
+
import { InputBaseProperty as ve } from "../property-panel/index.esm.js";
|
|
4
|
+
import ge from "../button-edit/index.esm.js";
|
|
5
|
+
import { createPropsResolver as be, getPropsResolverGenerator as ye } from "../dynamic-resolver/index.esm.js";
|
|
5
6
|
import { isPlainObject as U, cloneDeep as Z } from "lodash-es";
|
|
6
|
-
import { FInputGroup as
|
|
7
|
-
import { LocaleService as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
import { FInputGroup as xe } from "../input-group/index.esm.js";
|
|
8
|
+
import { LocaleService as J } from "../locale/index.esm.js";
|
|
9
|
+
import { useTextBox as Te, useClear as he, withInstall as Ce, isMobilePhone as we } from "../common/index.esm.js";
|
|
10
|
+
import { useNumber as Se, useFormat as Be, useSpinner as Fe, useTextBox as Pe, getSpinnerRender as ke, getNumberTextBoxRender as Le } from "../number-spinner/index.esm.js";
|
|
11
|
+
class Oe extends ve {
|
|
12
|
+
constructor(t, n) {
|
|
13
|
+
super(t, n);
|
|
14
|
+
}
|
|
15
|
+
getEditorProperties(t) {
|
|
16
|
+
return this.getComponentConfig(t, { type: "language-textbox" }, {
|
|
17
|
+
maxLength: {
|
|
18
|
+
description: "文本字数最大长度",
|
|
19
|
+
title: "最大长度",
|
|
20
|
+
type: "number",
|
|
21
|
+
editor: {
|
|
22
|
+
nullable: !0,
|
|
23
|
+
min: 0,
|
|
24
|
+
useThousands: !1,
|
|
25
|
+
max: t.editor.maxLength,
|
|
26
|
+
needValid: !0
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function Ee(e, t) {
|
|
33
|
+
function n(o, c) {
|
|
34
|
+
const b = e.schema;
|
|
35
|
+
return new Oe(o, t).getPropertyConfig(b, c);
|
|
36
|
+
}
|
|
37
|
+
return { getPropsConfig: n };
|
|
38
|
+
}
|
|
39
|
+
const Me = /* @__PURE__ */ $({
|
|
40
|
+
name: "FLanguageTextboxDesign",
|
|
41
|
+
props: {
|
|
42
|
+
placeholder: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: ""
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
setup(e, t) {
|
|
48
|
+
const n = F(), o = H("design-item-context"), c = H("designer-host-service"), b = Ee(o, c), i = pe(n, o, b);
|
|
49
|
+
return V(() => {
|
|
50
|
+
n.value.componentInstance = i;
|
|
51
|
+
}), t.expose(i.value), () => T("div", {
|
|
52
|
+
class: "f-button-edit f-cmp-inputgroup f-button-edit-nowrap",
|
|
53
|
+
ref: n
|
|
54
|
+
}, [T("div", {
|
|
55
|
+
class: "input-group"
|
|
56
|
+
}, [T("input", {
|
|
57
|
+
autocomplete: "off",
|
|
58
|
+
class: "text-left form-control f-utils-fill",
|
|
59
|
+
readonly: "true",
|
|
60
|
+
type: "text",
|
|
61
|
+
placeholder: e.placeholder
|
|
62
|
+
}, null), T("div", {
|
|
63
|
+
class: "input-group-append"
|
|
64
|
+
}, [T("span", {
|
|
65
|
+
class: "input-group-text input-group-append-button"
|
|
66
|
+
}, [T("i", {
|
|
67
|
+
class: "f-icon f-icon-yxs_earth"
|
|
68
|
+
}, null)])])])]);
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
function Q(e, t) {
|
|
72
|
+
let n;
|
|
73
|
+
function o(l) {
|
|
74
|
+
const { properties: s, title: m, ignore: r } = l, a = r && Array.isArray(r), f = Object.keys(s).reduce((g, u) => ((!a || !r.find((w) => w === u)) && (g[u] = s[u].type === "object" && s[u].properties ? o(s[u]) : Z(s[u].default)), g), {});
|
|
75
|
+
if (m && (!a || !r.find((g) => g === "id"))) {
|
|
76
|
+
const g = m.toLowerCase().replace(/-/g, "_");
|
|
77
|
+
f.id = `${g}_${Math.random().toString().slice(2, 6)}`;
|
|
78
|
+
}
|
|
79
|
+
return f;
|
|
80
|
+
}
|
|
81
|
+
function c(l) {
|
|
82
|
+
const { properties: s, title: m, required: r } = l;
|
|
83
|
+
if (r && Array.isArray(r)) {
|
|
84
|
+
const a = r.reduce((f, g) => (f[g] = s[g].type === "object" && s[g].properties ? o(s[g]) : Z(s[g].default), f), {});
|
|
85
|
+
if (m && r.find((f) => f === "id")) {
|
|
86
|
+
const f = m.toLowerCase().replace(/-/g, "_");
|
|
87
|
+
a.id = `${f}_${Math.random().toString().slice(2, 6)}`;
|
|
88
|
+
}
|
|
89
|
+
return a;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
type: m
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
function b(l, s = {}, m) {
|
|
96
|
+
const r = e[l];
|
|
97
|
+
if (r) {
|
|
98
|
+
let a = c(r);
|
|
99
|
+
const f = t[l];
|
|
100
|
+
return a = f ? f({ getSchemaByType: b }, a, s, m) : a, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(a), a;
|
|
101
|
+
}
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
function i(l, s) {
|
|
105
|
+
const m = o(s);
|
|
106
|
+
return Object.keys(m).reduce((r, a) => (Object.prototype.hasOwnProperty.call(l, a) && (r[a] && U(r[a]) && U(l[a] || !l[a]) ? Object.assign(r[a], l[a] || {}) : r[a] = l[a]), r), m), m;
|
|
107
|
+
}
|
|
108
|
+
function C(l, s) {
|
|
109
|
+
return Object.keys(l).filter((r) => l[r] != null).reduce((r, a) => {
|
|
110
|
+
if (s.has(a)) {
|
|
111
|
+
const f = s.get(a);
|
|
112
|
+
if (typeof f == "string")
|
|
113
|
+
r[f] = l[a];
|
|
114
|
+
else {
|
|
115
|
+
const g = f(a, l[a], l);
|
|
116
|
+
Object.assign(r, g);
|
|
117
|
+
}
|
|
118
|
+
} else
|
|
119
|
+
r[a] = l[a];
|
|
120
|
+
return r;
|
|
121
|
+
}, {});
|
|
122
|
+
}
|
|
123
|
+
function S(l, s, m = /* @__PURE__ */ new Map()) {
|
|
124
|
+
const r = i(l, s);
|
|
125
|
+
return C(r, m);
|
|
126
|
+
}
|
|
127
|
+
function d(l) {
|
|
128
|
+
var m;
|
|
129
|
+
const s = l.type;
|
|
130
|
+
if (s) {
|
|
131
|
+
const r = e[s];
|
|
132
|
+
if (!r)
|
|
133
|
+
return l;
|
|
134
|
+
const a = i(l, r), f = ((m = l.editor) == null ? void 0 : m.type) || "";
|
|
135
|
+
if (f) {
|
|
136
|
+
const g = e[f], u = i(l.editor, g);
|
|
137
|
+
a.editor = u;
|
|
138
|
+
}
|
|
139
|
+
return a;
|
|
140
|
+
}
|
|
141
|
+
return l;
|
|
142
|
+
}
|
|
143
|
+
function p(l) {
|
|
144
|
+
n = l;
|
|
145
|
+
}
|
|
146
|
+
return { getSchemaByType: b, resolveSchemaWithDefaultValue: d, resolveSchemaToProps: S, mappingSchemaToProps: C, setDesignerContext: p };
|
|
147
|
+
}
|
|
148
|
+
const Ie = {}, Re = {}, { resolveSchemaWithDefaultValue: Ne } = Q(Ie, Re);
|
|
149
|
+
function je(e = {}) {
|
|
12
150
|
function t(d, p, l, s) {
|
|
13
151
|
if (typeof l == "number")
|
|
14
152
|
return s[d].length === l;
|
|
@@ -46,7 +184,7 @@ function Le(e = {}) {
|
|
|
46
184
|
return l.push(...m), l;
|
|
47
185
|
}, []);
|
|
48
186
|
}
|
|
49
|
-
function
|
|
187
|
+
function i(d, p) {
|
|
50
188
|
if (o.has(d.operator)) {
|
|
51
189
|
const l = o.get(d.operator);
|
|
52
190
|
return l && l(d.target, d.param, d.value, p) || !1;
|
|
@@ -54,27 +192,27 @@ function Le(e = {}) {
|
|
|
54
192
|
return !1;
|
|
55
193
|
}
|
|
56
194
|
function C(d, p) {
|
|
57
|
-
return b(d).reduce((m, r) => m &&
|
|
195
|
+
return b(d).reduce((m, r) => m && i(r, p), !0);
|
|
58
196
|
}
|
|
59
|
-
function
|
|
60
|
-
const l = Object.keys(d), s = l.includes("allOf"), m = l.includes("anyOf"), r = s || m, g = (r ? d[r ? s ? "allOf" : "anyOf" : "allOf"] : [d]).map((
|
|
197
|
+
function S(d, p) {
|
|
198
|
+
const l = Object.keys(d), s = l.includes("allOf"), m = l.includes("anyOf"), r = s || m, g = (r ? d[r ? s ? "allOf" : "anyOf" : "allOf"] : [d]).map((w) => C(w, p));
|
|
61
199
|
return s ? !g.includes(!1) : g.includes(!0);
|
|
62
200
|
}
|
|
63
|
-
return { parseValueSchema:
|
|
201
|
+
return { parseValueSchema: S };
|
|
64
202
|
}
|
|
65
|
-
const
|
|
203
|
+
const De = {
|
|
66
204
|
convertTo: (e, t, n, o) => {
|
|
67
205
|
e.appearance || (e.appearance = {}), e.appearance[t] = n;
|
|
68
206
|
},
|
|
69
207
|
convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
|
|
70
|
-
},
|
|
208
|
+
}, Ve = {
|
|
71
209
|
convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
|
|
72
|
-
},
|
|
210
|
+
}, Ae = {
|
|
73
211
|
convertTo: (e, t, n, o) => {
|
|
74
212
|
e.editor && (e.editor[t] = n);
|
|
75
213
|
},
|
|
76
214
|
convertFrom: (e, t, n) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
|
|
77
|
-
},
|
|
215
|
+
}, $e = {
|
|
78
216
|
button: { type: "button", name: "按钮" },
|
|
79
217
|
"response-toolbar": { type: "response-toolbar", name: "工具栏" },
|
|
80
218
|
"response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
|
|
@@ -128,19 +266,24 @@ const Ee = {
|
|
|
128
266
|
"discussion-list": { type: "discussion-list", name: "评论列表" },
|
|
129
267
|
comment: { type: "comment", name: "评论区" },
|
|
130
268
|
"rich-text-editor": { type: "rich-text-editor", name: "富文本", icon: "rich-text-box" },
|
|
131
|
-
calendar: { type: "calendar", name: "日历", icon: "date-picker" }
|
|
132
|
-
|
|
269
|
+
calendar: { type: "calendar", name: "日历", icon: "date-picker" },
|
|
270
|
+
wizard: { type: "wizard", name: "向导", icon: "wizard" },
|
|
271
|
+
"wizard-page": { type: "wizard-page", name: "向导页", icon: "wizard" },
|
|
272
|
+
"wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" },
|
|
273
|
+
step: { type: "step", name: "步骤条", icon: "step" },
|
|
274
|
+
"dynamic-form": { type: "dynamic-form", name: "动态表单" }
|
|
275
|
+
}, ze = {
|
|
133
276
|
convertFrom: (e, t, n) => {
|
|
134
277
|
var c;
|
|
135
278
|
const o = e.editor && e.editor[t] ? e.editor[t] : e[t];
|
|
136
|
-
return ((c =
|
|
279
|
+
return ((c = $e[o]) == null ? void 0 : c.name) || o;
|
|
137
280
|
}
|
|
138
|
-
},
|
|
281
|
+
}, Ge = {
|
|
139
282
|
convertTo: (e, t, n, o) => {
|
|
140
283
|
e[t] = e[t];
|
|
141
284
|
},
|
|
142
285
|
convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
|
|
143
|
-
},
|
|
286
|
+
}, We = {
|
|
144
287
|
convertTo: (e, t, n, o) => {
|
|
145
288
|
(e.type === "data-grid-column" || e.type === "tree-grid-column") && (e.formatter ? e.formatter[t] = n : e.formatter = {
|
|
146
289
|
[t]: n
|
|
@@ -168,10 +311,12 @@ const Ee = {
|
|
|
168
311
|
return e.formatter.customFormat;
|
|
169
312
|
if (t === "type")
|
|
170
313
|
return e.formatter.type || "none";
|
|
314
|
+
if (t === "customFormat")
|
|
315
|
+
return e.formmater.customFormat;
|
|
171
316
|
}
|
|
172
317
|
return "none";
|
|
173
318
|
}
|
|
174
|
-
},
|
|
319
|
+
}, qe = {
|
|
175
320
|
convertTo: (e, t, n, o) => {
|
|
176
321
|
e.command ? e.command[t] = n : e.command = {
|
|
177
322
|
[t]: n
|
|
@@ -189,29 +334,17 @@ const Ee = {
|
|
|
189
334
|
]), t === "enableType" && n === "custom" && (e.command.enable = !0, e.command.commands = [
|
|
190
335
|
{
|
|
191
336
|
value: "add",
|
|
192
|
-
text:
|
|
193
|
-
en: "add",
|
|
194
|
-
"zh-CHS": "增加",
|
|
195
|
-
"zh-CHT": "增加"
|
|
196
|
-
},
|
|
337
|
+
text: "增加",
|
|
197
338
|
type: "link"
|
|
198
339
|
},
|
|
199
340
|
{
|
|
200
341
|
value: "edit",
|
|
201
|
-
text:
|
|
202
|
-
en: "edit",
|
|
203
|
-
"zh-CHS": "编辑",
|
|
204
|
-
"zh-CHT": "編輯"
|
|
205
|
-
},
|
|
342
|
+
text: "编辑",
|
|
206
343
|
type: "danger"
|
|
207
344
|
},
|
|
208
345
|
{
|
|
209
346
|
value: "remove",
|
|
210
|
-
text:
|
|
211
|
-
en: "remove",
|
|
212
|
-
"zh-CHS": "删除",
|
|
213
|
-
"zh-CHT": "刪除"
|
|
214
|
-
},
|
|
347
|
+
text: "删除",
|
|
215
348
|
type: "remove"
|
|
216
349
|
}
|
|
217
350
|
]), t === "enableType" && n === "unable" && (e.command.enable = !1);
|
|
@@ -220,7 +353,7 @@ const Ee = {
|
|
|
220
353
|
var o, c;
|
|
221
354
|
if (e.command) {
|
|
222
355
|
if (t === "enableType") {
|
|
223
|
-
const b = (c = (o = e.command) == null ? void 0 : o.commands) == null ? void 0 : c.find((
|
|
356
|
+
const b = (c = (o = e.command) == null ? void 0 : o.commands) == null ? void 0 : c.find((i) => i.command === "edit" && i.type === "primary");
|
|
224
357
|
return e.command.enable ? b ? "default" : "custom" : "unable";
|
|
225
358
|
}
|
|
226
359
|
if (t === "commands")
|
|
@@ -229,10 +362,12 @@ const Ee = {
|
|
|
229
362
|
return e.command.formatter;
|
|
230
363
|
if (t === "count")
|
|
231
364
|
return e.command.count;
|
|
365
|
+
if (t === "columnWidth")
|
|
366
|
+
return e.command.columnWidth || 150;
|
|
232
367
|
}
|
|
233
368
|
return "";
|
|
234
369
|
}
|
|
235
|
-
},
|
|
370
|
+
}, _e = {
|
|
236
371
|
convertTo: (e, t, n, o) => {
|
|
237
372
|
e.column ? e.column[t] = n : e.column = {
|
|
238
373
|
[t]: n
|
|
@@ -247,7 +382,7 @@ const Ee = {
|
|
|
247
382
|
}
|
|
248
383
|
return "";
|
|
249
384
|
}
|
|
250
|
-
},
|
|
385
|
+
}, He = {
|
|
251
386
|
convertTo: (e, t, n, o) => {
|
|
252
387
|
e.summary ? e.summary[t] = n : e.summary = {
|
|
253
388
|
[t]: n
|
|
@@ -256,8 +391,11 @@ const Ee = {
|
|
|
256
391
|
groupFields: []
|
|
257
392
|
});
|
|
258
393
|
},
|
|
259
|
-
convertFrom: (e, t, n) =>
|
|
260
|
-
|
|
394
|
+
convertFrom: (e, t, n) => {
|
|
395
|
+
var o;
|
|
396
|
+
return t === "customSummaryStyle" ? e.summary.customSummaryStyle : t === "position" ? ((o = e.summary) == null ? void 0 : o[t]) || "bottom" : e.summary && t === "enable" ? e.summary.enable : e.type === "data-grid-column" ? e.enableSummary === void 0 ? !1 : e.enableSummary : "";
|
|
397
|
+
}
|
|
398
|
+
}, Ue = {
|
|
261
399
|
convertTo: (e, t, n, o) => {
|
|
262
400
|
e.group ? e.group[t] = n : e.group = {
|
|
263
401
|
[t]: n
|
|
@@ -275,7 +413,7 @@ const Ee = {
|
|
|
275
413
|
return e.group.showSummary;
|
|
276
414
|
}
|
|
277
415
|
}
|
|
278
|
-
},
|
|
416
|
+
}, Ze = {
|
|
279
417
|
convertFrom: (e, t) => e.binding ? e.binding.path : "",
|
|
280
418
|
convertTo: (e, t, n) => {
|
|
281
419
|
if (n && n.length > 0) {
|
|
@@ -283,17 +421,17 @@ const Ee = {
|
|
|
283
421
|
e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = o.bindingField, e.binding.field = o.id, e.binding.fullPath = o.path, e.path = o.bindingPath;
|
|
284
422
|
}
|
|
285
423
|
}
|
|
286
|
-
},
|
|
424
|
+
}, Ye = {
|
|
287
425
|
convertTo: (e, t, n, o) => {
|
|
288
|
-
e.pagination || (e.pagination = {}), e.pagination[t] = n;
|
|
426
|
+
e.pagination || (e.pagination = {}), t === "sizeLimits" ? e.pagination.sizeLimits = n.split(",") : e.pagination[t] = n;
|
|
289
427
|
},
|
|
290
|
-
convertFrom: (e, t, n) => e.pagination ? e.pagination[t] : e[t]
|
|
291
|
-
},
|
|
428
|
+
convertFrom: (e, t, n) => e.pagination ? t === "sizeLimits" ? e.pagination.sizeLimits.join(",") : e.pagination[t] : e[t]
|
|
429
|
+
}, Je = {
|
|
292
430
|
convertTo: (e, t, n, o) => {
|
|
293
431
|
e.rowNumber || (e.rowNumber = {}), e.rowNumber[t] = n;
|
|
294
432
|
},
|
|
295
433
|
convertFrom: (e, t, n) => e.rowNumber ? e.rowNumber[t] : e[t]
|
|
296
|
-
},
|
|
434
|
+
}, Qe = {
|
|
297
435
|
convertTo: (e, t, n, o) => {
|
|
298
436
|
e.selection || (e.selection = {}), e.selection[t] = n;
|
|
299
437
|
},
|
|
@@ -301,24 +439,24 @@ const Ee = {
|
|
|
301
439
|
var o, c;
|
|
302
440
|
return t === "showCheckbox" ? (o = e.selection) != null && o.multiSelect ? !0 : (c = e.selection) == null ? void 0 : c.showCheckbox : e.selection ? e.selection[t] : e[t];
|
|
303
441
|
}
|
|
304
|
-
},
|
|
442
|
+
}, Xe = {
|
|
305
443
|
convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
|
|
306
|
-
},
|
|
444
|
+
}, Ke = {
|
|
307
445
|
convertFrom: (e, t) => e[t] || "",
|
|
308
446
|
convertTo: (e, t, n) => {
|
|
309
447
|
e[t] = n;
|
|
310
448
|
}
|
|
311
|
-
},
|
|
449
|
+
}, et = {
|
|
312
450
|
convertTo: (e, t, n, o) => {
|
|
313
451
|
e.size || (e.size = {}), e.size[t] = n;
|
|
314
452
|
},
|
|
315
453
|
convertFrom: (e, t, n) => e.size ? e.size[t] : e[t]
|
|
316
|
-
},
|
|
454
|
+
}, tt = {
|
|
317
455
|
convertFrom: (e, t, n) => {
|
|
318
456
|
var o, c;
|
|
319
457
|
return (o = e.formatter) != null && o.data && t === "formatterEnumData" && !e.formatterEnumData ? (c = e.formatter) == null ? void 0 : c.data : e.formatterEnumData;
|
|
320
458
|
}
|
|
321
|
-
},
|
|
459
|
+
}, nt = {
|
|
322
460
|
convertTo: (e, t, n, o) => {
|
|
323
461
|
e.sort || (e.sort = {}), e.sort[t] = n;
|
|
324
462
|
},
|
|
@@ -329,7 +467,7 @@ const Ee = {
|
|
|
329
467
|
if (t === "multiSort")
|
|
330
468
|
return !!((c = e.sort) != null && c.multiSort);
|
|
331
469
|
}
|
|
332
|
-
},
|
|
470
|
+
}, ot = {
|
|
333
471
|
convertTo: (e, t, n, o) => {
|
|
334
472
|
e.filter || (e.filter = {}), e.filter[t] = n;
|
|
335
473
|
},
|
|
@@ -338,7 +476,7 @@ const Ee = {
|
|
|
338
476
|
if (t === "mode")
|
|
339
477
|
return ((o = e.filter) == null ? void 0 : o.mode) || "client";
|
|
340
478
|
}
|
|
341
|
-
},
|
|
479
|
+
}, rt = {
|
|
342
480
|
convertTo: (e, t, n, o) => {
|
|
343
481
|
e.rowOption ? e.rowOption[t] = n : e.rowOption = {
|
|
344
482
|
[t]: n
|
|
@@ -350,10 +488,12 @@ const Ee = {
|
|
|
350
488
|
return e.rowOption.customRowStyle;
|
|
351
489
|
if (t === "customCellStyle")
|
|
352
490
|
return e.rowOption.customCellStyle;
|
|
491
|
+
if (t === "height")
|
|
492
|
+
return e.rowOption.height;
|
|
353
493
|
}
|
|
354
494
|
return "";
|
|
355
495
|
}
|
|
356
|
-
},
|
|
496
|
+
}, at = {
|
|
357
497
|
convertTo: (e, t, n, o) => {
|
|
358
498
|
(e.type === "data-grid-column" || e.type === "tree-grid-column") && (e[t] = n, t === "columnTemplateType" && n === "hyperlink" && (e.onClickLinkCommand ? e.columnTemplate = `
|
|
359
499
|
<span class="f-pretend-link f-cursor-pointer"
|
|
@@ -368,28 +508,28 @@ const Ee = {
|
|
|
368
508
|
};
|
|
369
509
|
function X(e, t, n) {
|
|
370
510
|
const o = /* @__PURE__ */ new Map([
|
|
371
|
-
["/converter/appearance.converter",
|
|
372
|
-
["/converter/buttons.converter",
|
|
373
|
-
["/converter/property-editor.converter",
|
|
374
|
-
["/converter/items-count.converter",
|
|
375
|
-
["/converter/type.converter",
|
|
376
|
-
["/converter/change-editor.converter",
|
|
377
|
-
["/converter/change-formatter.converter",
|
|
378
|
-
["/converter/column-command.converter",
|
|
379
|
-
["/converter/column-option.converter",
|
|
380
|
-
["/converter/summary.converter",
|
|
381
|
-
["/converter/group.converter",
|
|
382
|
-
["/converter/form-group-label.converter",
|
|
383
|
-
["/converter/field-selector.converter",
|
|
384
|
-
["/converter/pagination.converter",
|
|
385
|
-
["/converter/row-number.converter",
|
|
386
|
-
["/converter/grid-selection.converter",
|
|
387
|
-
["/converter/size.converter",
|
|
388
|
-
["/converter/change-formatter-enum.converter",
|
|
389
|
-
["/converter/grid-sort.converter",
|
|
390
|
-
["/converter/grid-filter.converter",
|
|
391
|
-
["/converter/row-option.converter",
|
|
392
|
-
["/converter/change-formatter-type.converter",
|
|
511
|
+
["/converter/appearance.converter", De],
|
|
512
|
+
["/converter/buttons.converter", Ve],
|
|
513
|
+
["/converter/property-editor.converter", Ae],
|
|
514
|
+
["/converter/items-count.converter", Xe],
|
|
515
|
+
["/converter/type.converter", ze],
|
|
516
|
+
["/converter/change-editor.converter", Ge],
|
|
517
|
+
["/converter/change-formatter.converter", We],
|
|
518
|
+
["/converter/column-command.converter", qe],
|
|
519
|
+
["/converter/column-option.converter", _e],
|
|
520
|
+
["/converter/summary.converter", He],
|
|
521
|
+
["/converter/group.converter", Ue],
|
|
522
|
+
["/converter/form-group-label.converter", Ke],
|
|
523
|
+
["/converter/field-selector.converter", Ze],
|
|
524
|
+
["/converter/pagination.converter", Ye],
|
|
525
|
+
["/converter/row-number.converter", Je],
|
|
526
|
+
["/converter/grid-selection.converter", Qe],
|
|
527
|
+
["/converter/size.converter", et],
|
|
528
|
+
["/converter/change-formatter-enum.converter", tt],
|
|
529
|
+
["/converter/grid-sort.converter", nt],
|
|
530
|
+
["/converter/grid-filter.converter", ot],
|
|
531
|
+
["/converter/row-option.converter", rt],
|
|
532
|
+
["/converter/change-formatter-type.converter", at]
|
|
393
533
|
]), c = /* @__PURE__ */ new Map([
|
|
394
534
|
["string", { type: "input-group", enableClear: !1 }],
|
|
395
535
|
["boolean", {
|
|
@@ -414,76 +554,76 @@ function X(e, t, n) {
|
|
|
414
554
|
["array", { type: "button-edit" }],
|
|
415
555
|
["number", { type: "number-spinner", placeholder: "" }],
|
|
416
556
|
["events-editor", { type: "events-editor", hide: !0 }]
|
|
417
|
-
]), b =
|
|
418
|
-
function
|
|
557
|
+
]), b = je();
|
|
558
|
+
function i(r, a) {
|
|
419
559
|
return () => b.parseValueSchema(r, a);
|
|
420
560
|
}
|
|
421
561
|
function C(r, a, f) {
|
|
422
|
-
return r.includes("visible") && a.visible !== void 0 ? typeof a.visible == "boolean" ? () => !!a.visible : a.visible === void 0 ? !0 :
|
|
562
|
+
return r.includes("visible") && a.visible !== void 0 ? typeof a.visible == "boolean" ? () => !!a.visible : a.visible === void 0 ? !0 : i(a.visible, f) : () => !0;
|
|
423
563
|
}
|
|
424
|
-
function
|
|
425
|
-
return r.includes("readonly") && a.readonly !== void 0 ? typeof a.readonly == "boolean" ? () => !!a.readonly :
|
|
564
|
+
function S(r, a, f) {
|
|
565
|
+
return r.includes("readonly") && a.readonly !== void 0 ? typeof a.readonly == "boolean" ? () => !!a.readonly : i(a.readonly, f) : () => !1;
|
|
426
566
|
}
|
|
427
567
|
function d(r, a) {
|
|
428
568
|
const f = r.$converter || a;
|
|
429
569
|
return typeof f == "string" && f && o.has(f) ? o.get(f) || null : f || null;
|
|
430
570
|
}
|
|
431
|
-
function p(r, a, f, g,
|
|
571
|
+
function p(r, a, f, g, u, w = "", P = "") {
|
|
432
572
|
return Object.keys(r).map((v) => {
|
|
433
|
-
const y = F(1),
|
|
573
|
+
const y = F(1), L = v, h = r[v], x = Object.keys(h), R = h.title, E = h.type, j = c.get(E) || { type: "input-group", enableClear: !1 }, N = h.editor ? Object.assign({}, j, h.editor) : Object.assign({}, j), z = C(x, h, a), A = S(x, h, a);
|
|
434
574
|
N.readonly = N.readonly === void 0 ? A() : N.readonly;
|
|
435
|
-
const
|
|
575
|
+
const G = h.type === "cascade" ? p(h.properties, a, f, g, u, w, P) : [], W = !0;
|
|
436
576
|
let M = d(h, P);
|
|
437
|
-
const
|
|
577
|
+
const re = k({
|
|
438
578
|
get() {
|
|
439
579
|
if (y.value) {
|
|
440
|
-
if (["class", "style"].find((
|
|
441
|
-
return M.convertFrom(f, v,
|
|
580
|
+
if (["class", "style"].find((se) => se === L) && !M && (M = o.get("/converter/appearance.converter") || null), M && M.convertFrom)
|
|
581
|
+
return M.convertFrom(f, v, u, w);
|
|
442
582
|
const I = f[v];
|
|
443
583
|
return Object.prototype.hasOwnProperty.call(h, "defaultValue") && (I === void 0 || typeof I == "string" && I === "") ? h.type === "boolean" ? h.defaultValue : h.defaultValue || "" : I;
|
|
444
584
|
}
|
|
445
585
|
return null;
|
|
446
586
|
},
|
|
447
587
|
set(I) {
|
|
448
|
-
y.value += 1, M && M.convertTo ? (M.convertTo(g, v, I,
|
|
588
|
+
y.value += 1, M && M.convertTo ? (M.convertTo(g, v, I, u, w), M.convertTo(f, v, I, u, w)) : (g[v] = I, f[v] = I);
|
|
449
589
|
}
|
|
450
|
-
}), { refreshPanelAfterChanged:
|
|
451
|
-
return a[
|
|
590
|
+
}), { refreshPanelAfterChanged: ae, description: le, isExpand: ie, parentPropertyID: ue } = h, _ = { propertyID: L, propertyName: R, propertyType: E, propertyValue: re, editor: N, visible: z, readonly: A, cascadeConfig: G, hideCascadeTitle: W, refreshPanelAfterChanged: ae, description: le, isExpand: ie, parentPropertyID: ue };
|
|
591
|
+
return a[L] = _, _;
|
|
452
592
|
});
|
|
453
593
|
}
|
|
454
594
|
function l(r, a, f = {}) {
|
|
455
|
-
const g = {},
|
|
456
|
-
return
|
|
457
|
-
const B =
|
|
595
|
+
const g = {}, u = e[r];
|
|
596
|
+
return u && u.categories ? Object.keys(u.categories).map((P) => {
|
|
597
|
+
const B = u.categories[P], v = B == null ? void 0 : B.title, y = p(B.properties || {}, g, {}, f, a);
|
|
458
598
|
return { categoryId: P, categoryName: v, properties: y };
|
|
459
599
|
}) : [];
|
|
460
600
|
}
|
|
461
|
-
function s(r, a, f, g,
|
|
462
|
-
const
|
|
601
|
+
function s(r, a, f, g, u = "") {
|
|
602
|
+
const w = a.$ref.schema, P = a.$ref.converter, B = f[w], v = B.type, y = n(B), L = {}, h = e[v];
|
|
463
603
|
if (h && h.categories) {
|
|
464
604
|
const x = h.categories[r], R = x == null ? void 0 : x.title;
|
|
465
605
|
P && Object.keys(x.properties).forEach((N) => {
|
|
466
606
|
x.properties[N].$converter = P;
|
|
467
607
|
});
|
|
468
|
-
const E = (x == null ? void 0 : x.properties) || {},
|
|
469
|
-
return { categoryId: r, categoryName: R, properties:
|
|
608
|
+
const E = (x == null ? void 0 : x.properties) || {}, j = p(E, L, y, B, g, u);
|
|
609
|
+
return { categoryId: r, categoryName: R, properties: j };
|
|
470
610
|
}
|
|
471
611
|
return { categoryId: r, categoryName: "", properties: [] };
|
|
472
612
|
}
|
|
473
|
-
function m(r, a, f, g,
|
|
474
|
-
const
|
|
475
|
-
let v =
|
|
613
|
+
function m(r, a, f, g, u) {
|
|
614
|
+
const w = r.type, P = n(r), B = {};
|
|
615
|
+
let v = u || e[w];
|
|
476
616
|
if (!(v && Object.keys(v).length > 0) && f && f.getPropConfig && (v = f.getPropConfig(g)), v && v.categories) {
|
|
477
|
-
const
|
|
617
|
+
const L = [];
|
|
478
618
|
return Object.keys(v.categories).map((h) => {
|
|
479
619
|
const x = v.categories[h];
|
|
480
620
|
if (x.$ref) {
|
|
481
|
-
|
|
621
|
+
L.push(s(h, x, r, a, g));
|
|
482
622
|
return;
|
|
483
623
|
}
|
|
484
|
-
const R = x == null ? void 0 : x.title, E = x == null ? void 0 : x.tabId,
|
|
485
|
-
|
|
486
|
-
}),
|
|
624
|
+
const R = x == null ? void 0 : x.title, E = x == null ? void 0 : x.tabId, j = x == null ? void 0 : x.tabName, N = x == null ? void 0 : x.hide, z = x == null ? void 0 : x.hideTitle, A = p(x.properties || {}, B, P, r, a, g, x.$converter), { setPropertyRelates: G } = x, W = x == null ? void 0 : x.parentPropertyID;
|
|
625
|
+
L.push({ categoryId: h, categoryName: R, tabId: E, tabName: j, hide: N, properties: A, hideTitle: z, setPropertyRelates: G, parentPropertyID: W });
|
|
626
|
+
}), L;
|
|
487
627
|
}
|
|
488
628
|
return [];
|
|
489
629
|
}
|
|
@@ -493,93 +633,16 @@ function X(e, t, n) {
|
|
|
493
633
|
propertyConverterMap: o
|
|
494
634
|
};
|
|
495
635
|
}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
const g = m.toLowerCase().replace(/-/g, "_");
|
|
502
|
-
f.id = `${g}_${Math.random().toString().slice(2, 6)}`;
|
|
503
|
-
}
|
|
504
|
-
return f;
|
|
505
|
-
}
|
|
506
|
-
function c(l) {
|
|
507
|
-
const { properties: s, title: m, required: r } = l;
|
|
508
|
-
if (r && Array.isArray(r)) {
|
|
509
|
-
const a = r.reduce((f, g) => (f[g] = s[g].type === "object" && s[g].properties ? o(s[g]) : Z(s[g].default), f), {});
|
|
510
|
-
if (m && r.find((f) => f === "id")) {
|
|
511
|
-
const f = m.toLowerCase().replace(/-/g, "_");
|
|
512
|
-
a.id = `${f}_${Math.random().toString().slice(2, 6)}`;
|
|
513
|
-
}
|
|
514
|
-
return a;
|
|
515
|
-
}
|
|
516
|
-
return {
|
|
517
|
-
type: m
|
|
518
|
-
};
|
|
519
|
-
}
|
|
520
|
-
function b(l, s = {}, m) {
|
|
521
|
-
const r = e[l];
|
|
522
|
-
if (r) {
|
|
523
|
-
let a = c(r);
|
|
524
|
-
const f = t[l];
|
|
525
|
-
return a = f ? f({ getSchemaByType: b }, a, s, m) : a, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(a), a;
|
|
526
|
-
}
|
|
527
|
-
return null;
|
|
528
|
-
}
|
|
529
|
-
function u(l, s) {
|
|
530
|
-
const m = o(s);
|
|
531
|
-
return Object.keys(m).reduce((r, a) => (Object.prototype.hasOwnProperty.call(l, a) && (r[a] && U(r[a]) && U(l[a] || !l[a]) ? Object.assign(r[a], l[a] || {}) : r[a] = l[a]), r), m), m;
|
|
532
|
-
}
|
|
533
|
-
function C(l, s) {
|
|
534
|
-
return Object.keys(l).filter((r) => l[r] != null).reduce((r, a) => {
|
|
535
|
-
if (s.has(a)) {
|
|
536
|
-
const f = s.get(a);
|
|
537
|
-
if (typeof f == "string")
|
|
538
|
-
r[f] = l[a];
|
|
539
|
-
else {
|
|
540
|
-
const g = f(a, l[a], l);
|
|
541
|
-
Object.assign(r, g);
|
|
542
|
-
}
|
|
543
|
-
} else
|
|
544
|
-
r[a] = l[a];
|
|
545
|
-
return r;
|
|
546
|
-
}, {});
|
|
547
|
-
}
|
|
548
|
-
function w(l, s, m = /* @__PURE__ */ new Map()) {
|
|
549
|
-
const r = u(l, s);
|
|
550
|
-
return C(r, m);
|
|
551
|
-
}
|
|
552
|
-
function d(l) {
|
|
553
|
-
var m;
|
|
554
|
-
const s = l.type;
|
|
555
|
-
if (s) {
|
|
556
|
-
const r = e[s];
|
|
557
|
-
if (!r)
|
|
558
|
-
return l;
|
|
559
|
-
const a = u(l, r), f = ((m = l.editor) == null ? void 0 : m.type) || "";
|
|
560
|
-
if (f) {
|
|
561
|
-
const g = e[f], i = u(l.editor, g);
|
|
562
|
-
a.editor = i;
|
|
563
|
-
}
|
|
564
|
-
return a;
|
|
565
|
-
}
|
|
566
|
-
return l;
|
|
567
|
-
}
|
|
568
|
-
function p(l) {
|
|
569
|
-
n = l;
|
|
570
|
-
}
|
|
571
|
-
return { getSchemaByType: b, resolveSchemaWithDefaultValue: d, resolveSchemaToProps: w, mappingSchemaToProps: C, setDesignerContext: p };
|
|
572
|
-
}
|
|
573
|
-
const et = {}, tt = {}, { resolveSchemaWithDefaultValue: nt } = K(et, tt), ot = {}, rt = {};
|
|
574
|
-
X(ot, rt, nt);
|
|
575
|
-
const at = {}, lt = {}, { resolveSchemaWithDefaultValue: ut } = K(at, lt), it = {}, st = {};
|
|
576
|
-
X(it, st, ut);
|
|
577
|
-
function ct(e, t) {
|
|
636
|
+
const lt = {}, it = {};
|
|
637
|
+
X(lt, it, Ne);
|
|
638
|
+
const ut = {}, st = {}, { resolveSchemaWithDefaultValue: ct } = Q(ut, st), dt = {}, ft = {};
|
|
639
|
+
X(dt, ft, ct);
|
|
640
|
+
function mt(e, t) {
|
|
578
641
|
return { customClass: t.class, customStyle: t.style };
|
|
579
642
|
}
|
|
580
|
-
const
|
|
581
|
-
["appearance",
|
|
582
|
-
]),
|
|
643
|
+
const K = /* @__PURE__ */ new Map([
|
|
644
|
+
["appearance", mt]
|
|
645
|
+
]), pt = "https://json-schema.org/draft/2020-12/schema", vt = "https://farris-design.gitee.io/input-group.schema.json", gt = "language-textbox", bt = "A Farris Input Component", yt = "object", xt = {
|
|
583
646
|
id: {
|
|
584
647
|
description: "The unique identifier for a Input Group",
|
|
585
648
|
type: "string"
|
|
@@ -691,24 +754,24 @@ const ee = /* @__PURE__ */ new Map([
|
|
|
691
754
|
type: "object",
|
|
692
755
|
default: null
|
|
693
756
|
}
|
|
694
|
-
},
|
|
757
|
+
}, Tt = [
|
|
695
758
|
"type"
|
|
696
|
-
],
|
|
759
|
+
], ht = [
|
|
697
760
|
"id",
|
|
698
761
|
"appearance",
|
|
699
762
|
"binding",
|
|
700
763
|
"visible"
|
|
701
|
-
],
|
|
702
|
-
$schema:
|
|
703
|
-
$id:
|
|
704
|
-
title:
|
|
705
|
-
description:
|
|
706
|
-
type:
|
|
707
|
-
properties:
|
|
708
|
-
required:
|
|
709
|
-
ignore:
|
|
764
|
+
], ee = {
|
|
765
|
+
$schema: pt,
|
|
766
|
+
$id: vt,
|
|
767
|
+
title: gt,
|
|
768
|
+
description: bt,
|
|
769
|
+
type: yt,
|
|
770
|
+
properties: xt,
|
|
771
|
+
required: Tt,
|
|
772
|
+
ignore: ht
|
|
710
773
|
};
|
|
711
|
-
function
|
|
774
|
+
function te(e, t, n) {
|
|
712
775
|
return t;
|
|
713
776
|
}
|
|
714
777
|
const q = {
|
|
@@ -724,12 +787,12 @@ const q = {
|
|
|
724
787
|
tabIndex: { type: Number, default: -1 },
|
|
725
788
|
enableTitle: { type: Boolean, default: !0 },
|
|
726
789
|
maxLength: { type: Number, default: null }
|
|
727
|
-
},
|
|
790
|
+
}, Gt = be(q, ee, K, te), ne = ye(
|
|
728
791
|
q,
|
|
729
|
-
te,
|
|
730
792
|
ee,
|
|
731
|
-
|
|
732
|
-
|
|
793
|
+
K,
|
|
794
|
+
te
|
|
795
|
+
), Ct = /* @__PURE__ */ $({
|
|
733
796
|
name: "LanguageContents",
|
|
734
797
|
props: {
|
|
735
798
|
languages: {
|
|
@@ -754,8 +817,8 @@ const q = {
|
|
|
754
817
|
const n = F(e.languages), o = F(e.modelValue || {}), c = F();
|
|
755
818
|
return V(() => {
|
|
756
819
|
setTimeout(() => {
|
|
757
|
-
var b,
|
|
758
|
-
(
|
|
820
|
+
var b, i;
|
|
821
|
+
(i = (b = c.value) == null ? void 0 : b.querySelector("input")) == null || i.focus();
|
|
759
822
|
}, 130);
|
|
760
823
|
}), () => {
|
|
761
824
|
var b;
|
|
@@ -763,7 +826,7 @@ const q = {
|
|
|
763
826
|
class: "list-group",
|
|
764
827
|
style: "background: white;",
|
|
765
828
|
ref: c
|
|
766
|
-
}, [(b = n.value) == null ? void 0 : b.map((
|
|
829
|
+
}, [(b = n.value) == null ? void 0 : b.map((i) => T("li", {
|
|
767
830
|
class: "list-group-item border-0 p-2 px-2"
|
|
768
831
|
}, [T("div", {
|
|
769
832
|
class: "farris-group-wrap form-inline farris-form-inline"
|
|
@@ -774,21 +837,21 @@ const q = {
|
|
|
774
837
|
class: "col-form-label"
|
|
775
838
|
}, [T("span", {
|
|
776
839
|
class: "farris-label-text",
|
|
777
|
-
title:
|
|
778
|
-
}, [
|
|
840
|
+
title: i.name
|
|
841
|
+
}, [i.name])]), T("div", {
|
|
779
842
|
class: "farris-input-wrap"
|
|
780
|
-
}, [T(
|
|
781
|
-
id: e.id + "_" +
|
|
782
|
-
modelValue: o.value[
|
|
843
|
+
}, [T(xe, {
|
|
844
|
+
id: e.id + "_" + i.code,
|
|
845
|
+
modelValue: o.value[i.code],
|
|
783
846
|
"onUpdate:modelValue": (C) => {
|
|
784
|
-
o.value[
|
|
847
|
+
o.value[i.code] = C, t.emit("update:modelValue", o.value);
|
|
785
848
|
},
|
|
786
849
|
updateOn: "change",
|
|
787
850
|
maxLength: e.maxLength
|
|
788
851
|
}, null)])])])]))]);
|
|
789
852
|
};
|
|
790
853
|
}
|
|
791
|
-
}),
|
|
854
|
+
}), wt = {
|
|
792
855
|
id: { Type: String, default: "" },
|
|
793
856
|
/** 是否自动完成 */
|
|
794
857
|
autocomplete: { Type: String, default: "off" },
|
|
@@ -872,32 +935,32 @@ const q = {
|
|
|
872
935
|
*/
|
|
873
936
|
keyboard: { type: Boolean, default: !0 }
|
|
874
937
|
};
|
|
875
|
-
function
|
|
938
|
+
function St(e, t) {
|
|
876
939
|
const n = F(e.groupText), o = k(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), c = k(() => e.type === "password" || e.showType === "password" || e.enableClear || !!e.groupText || o.value);
|
|
877
940
|
return { appendedButtonClass: k(() => ({
|
|
878
941
|
"input-group-append": !0,
|
|
879
942
|
"append-force-show": o.value
|
|
880
943
|
})), appendedContent: n, shouldShowAppendedButton: c };
|
|
881
944
|
}
|
|
882
|
-
function
|
|
883
|
-
const { appendedContent: c } = o, b = F(e.enableViewPassword),
|
|
884
|
-
|
|
885
|
-
|
|
945
|
+
function Bt(e, t, n, o) {
|
|
946
|
+
const { appendedContent: c } = o, b = F(e.enableViewPassword), i = k(() => e.type === "password" || e.showType === "password"), C = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', S = '<span class="f-icon f-icon-eye"></span>', d = F(!1);
|
|
947
|
+
O(() => [e.readonly, e.disabled], ([s, m]) => {
|
|
948
|
+
i.value && (n.value = s || m ? "password" : n.value, c.value = e.readonly || e.disabled ? "" : b.value ? S : "");
|
|
886
949
|
});
|
|
887
950
|
function p() {
|
|
888
|
-
return d.value = !d.value, n.value = d.value ? "text" : "password", c.value = d.value ? C :
|
|
951
|
+
return d.value = !d.value, n.value = d.value ? "text" : "password", c.value = d.value ? C : S, !1;
|
|
889
952
|
}
|
|
890
953
|
function l() {
|
|
891
|
-
n.value =
|
|
954
|
+
n.value = i.value ? "password" : n.value, i.value && (c.value = e.readonly || e.disabled ? "" : b.value ? S : "");
|
|
892
955
|
}
|
|
893
|
-
return l(), { isPassword:
|
|
956
|
+
return l(), { isPassword: i, onClickAppendedButton: p };
|
|
894
957
|
}
|
|
895
|
-
function
|
|
896
|
-
const n =
|
|
958
|
+
function Ft(e, t) {
|
|
959
|
+
const n = Se(e, t), o = Be(e, t, n), c = Fe(e, t, o, n), b = Pe(e, t, o, n, c), i = ke(e, t, c), {
|
|
897
960
|
displayValue: C,
|
|
898
|
-
modelValue:
|
|
961
|
+
modelValue: S,
|
|
899
962
|
getRealValue: d
|
|
900
|
-
} = n, p =
|
|
963
|
+
} = n, p = Le(e, t, b), {
|
|
901
964
|
format: l
|
|
902
965
|
} = o, {
|
|
903
966
|
isFocus: s
|
|
@@ -905,36 +968,36 @@ function St(e, t) {
|
|
|
905
968
|
return V(() => {
|
|
906
969
|
const r = d(e.modelValue);
|
|
907
970
|
C.value = l(r);
|
|
908
|
-
}),
|
|
971
|
+
}), O(() => [e.value], ([r]) => {
|
|
909
972
|
const a = d(r);
|
|
910
|
-
|
|
911
|
-
}),
|
|
912
|
-
r !==
|
|
913
|
-
}),
|
|
914
|
-
C.value = l(
|
|
973
|
+
S.value = a, C.value = l(a);
|
|
974
|
+
}), O(() => [e.modelValue], ([r]) => {
|
|
975
|
+
r !== S.value && (S.value = r, !s.value && (C.value = l(d(r))));
|
|
976
|
+
}), O(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
|
|
977
|
+
C.value = l(S.value);
|
|
915
978
|
}), () => T("div", {
|
|
916
979
|
class: "input-group flex-row f-cmp-number-spinner",
|
|
917
980
|
style: "border:none;"
|
|
918
|
-
}, [p(), m.value &&
|
|
981
|
+
}, [p(), m.value && i()]);
|
|
919
982
|
}
|
|
920
|
-
function
|
|
921
|
-
return e ?
|
|
983
|
+
function Pt(e) {
|
|
984
|
+
return e ? J.getRealPropertyValue(e, "请输入", "input-group.placeholder") : "";
|
|
922
985
|
}
|
|
923
|
-
function
|
|
986
|
+
function kt(e, t, n, o) {
|
|
924
987
|
const c = F(), {
|
|
925
988
|
inputGroupClass: b,
|
|
926
|
-
onBlur:
|
|
989
|
+
onBlur: i,
|
|
927
990
|
onFocus: C
|
|
928
991
|
} = o, {
|
|
929
|
-
clearButtonClass:
|
|
992
|
+
clearButtonClass: S,
|
|
930
993
|
clearButtonStyle: d
|
|
931
994
|
} = n, p = k(() => e.maxLength ? e.maxLength : e.modelValue ? e.modelValue.length : 0), l = (v) => {
|
|
932
|
-
var y,
|
|
933
|
-
v.stopPropagation(), t.emit("update:modelValue", (y = v.target) == null ? void 0 : y.value), t.emit("valueChange", (
|
|
995
|
+
var y, L;
|
|
996
|
+
v.stopPropagation(), t.emit("update:modelValue", (y = v.target) == null ? void 0 : y.value), t.emit("valueChange", (L = v.target) == null ? void 0 : L.value);
|
|
934
997
|
}, s = k(() => ({
|
|
935
998
|
"form-control": !0,
|
|
936
999
|
"h-100": e.autoHeight
|
|
937
|
-
})), m = k(() => e.enableClear && !e.readonly && !e.disabled), r =
|
|
1000
|
+
})), m = k(() => e.enableClear && !e.readonly && !e.disabled), r = Pt(e.placeholder), a = k(() => e.disabled || e.readonly ? "" : r), f = k(() => ({
|
|
938
1001
|
...d.value,
|
|
939
1002
|
position: "absolute",
|
|
940
1003
|
right: "5px",
|
|
@@ -953,11 +1016,11 @@ function Bt(e, t, n, o) {
|
|
|
953
1016
|
height: "auto",
|
|
954
1017
|
...v
|
|
955
1018
|
} : v;
|
|
956
|
-
}),
|
|
1019
|
+
}), u = (v) => {
|
|
957
1020
|
v.stopPropagation(), c.value.value = "", t.emit("update:modelValue", ""), t.emit("valueChange", "");
|
|
958
1021
|
};
|
|
959
|
-
function
|
|
960
|
-
return
|
|
1022
|
+
function w() {
|
|
1023
|
+
return Y(T("textarea", {
|
|
961
1024
|
class: s.value,
|
|
962
1025
|
id: e.id,
|
|
963
1026
|
"onUpdate:modelValue": (v) => e.modelValue = v,
|
|
@@ -973,9 +1036,9 @@ function Bt(e, t, n, o) {
|
|
|
973
1036
|
rows: e.rows,
|
|
974
1037
|
onInput: l,
|
|
975
1038
|
onFocus: C,
|
|
976
|
-
onBlur:
|
|
1039
|
+
onBlur: i,
|
|
977
1040
|
style: g.value
|
|
978
|
-
}, null), [[
|
|
1041
|
+
}, null), [[ce, e.modelValue]]);
|
|
979
1042
|
}
|
|
980
1043
|
function P() {
|
|
981
1044
|
return e.showCount && T("span", {
|
|
@@ -985,24 +1048,24 @@ function Bt(e, t, n, o) {
|
|
|
985
1048
|
function B() {
|
|
986
1049
|
return m.value && T("span", {
|
|
987
1050
|
id: "clearIcon",
|
|
988
|
-
class:
|
|
1051
|
+
class: S.value,
|
|
989
1052
|
style: f.value,
|
|
990
|
-
onClick: (v) =>
|
|
1053
|
+
onClick: (v) => u(v)
|
|
991
1054
|
}, [T("i", {
|
|
992
1055
|
class: "f-icon modal_close",
|
|
993
1056
|
style: "font-size:8px;color:#fff"
|
|
994
1057
|
}, null)]);
|
|
995
1058
|
}
|
|
996
1059
|
return {
|
|
997
|
-
renderTextarea:
|
|
1060
|
+
renderTextarea: w,
|
|
998
1061
|
renderCount: P,
|
|
999
1062
|
renderClear: B
|
|
1000
1063
|
};
|
|
1001
1064
|
}
|
|
1002
|
-
function
|
|
1003
|
-
const c = F(), b = F(e.autocomplete),
|
|
1065
|
+
function Lt(e, t, n, o) {
|
|
1066
|
+
const c = F(), b = F(e.autocomplete), i = F(e.enableTitle), {
|
|
1004
1067
|
isPassword: C
|
|
1005
|
-
} = n,
|
|
1068
|
+
} = n, S = F(e.minLength), d = F(e.maxLength), p = F(e.tabIndex), {
|
|
1006
1069
|
disabled: l,
|
|
1007
1070
|
displayText: s,
|
|
1008
1071
|
inputType: m,
|
|
@@ -1010,13 +1073,13 @@ function Ft(e, t, n, o) {
|
|
|
1010
1073
|
onFocus: a,
|
|
1011
1074
|
onInput: f,
|
|
1012
1075
|
onClick: g,
|
|
1013
|
-
onKeydown:
|
|
1014
|
-
onKeyup:
|
|
1076
|
+
onKeydown: u,
|
|
1077
|
+
onKeyup: w,
|
|
1015
1078
|
onMousedown: P,
|
|
1016
1079
|
onMouseup: B,
|
|
1017
1080
|
onTextBoxValueChange: v,
|
|
1018
1081
|
readonly: y,
|
|
1019
|
-
placeholder:
|
|
1082
|
+
placeholder: L,
|
|
1020
1083
|
textBoxClass: h,
|
|
1021
1084
|
textBoxTitle: x
|
|
1022
1085
|
} = o;
|
|
@@ -1033,11 +1096,11 @@ function Ft(e, t, n, o) {
|
|
|
1033
1096
|
class: h.value,
|
|
1034
1097
|
disabled: l == null ? void 0 : l.value,
|
|
1035
1098
|
maxlength: d.value,
|
|
1036
|
-
minlength:
|
|
1037
|
-
placeholder:
|
|
1099
|
+
minlength: S.value,
|
|
1100
|
+
placeholder: L.value,
|
|
1038
1101
|
readonly: y == null ? void 0 : y.value,
|
|
1039
1102
|
tabindex: p.value,
|
|
1040
|
-
title:
|
|
1103
|
+
title: i.value && !C.value ? x.value : "",
|
|
1041
1104
|
type: m.value,
|
|
1042
1105
|
value: s == null ? void 0 : s.value,
|
|
1043
1106
|
onBlur: r,
|
|
@@ -1045,42 +1108,42 @@ function Ft(e, t, n, o) {
|
|
|
1045
1108
|
onChange: v,
|
|
1046
1109
|
onFocus: a,
|
|
1047
1110
|
onInput: f,
|
|
1048
|
-
onKeydown:
|
|
1049
|
-
onKeyup:
|
|
1111
|
+
onKeydown: u,
|
|
1112
|
+
onKeyup: w,
|
|
1050
1113
|
onMousedown: P,
|
|
1051
1114
|
onMouseup: B
|
|
1052
1115
|
}, null);
|
|
1053
1116
|
}
|
|
1054
|
-
function
|
|
1117
|
+
function Ot(e, t) {
|
|
1055
1118
|
const n = F(e.extendInfo), o = k(() => e.useExtendInfo && !!e.extendInfo), c = k(() => ({
|
|
1056
1119
|
content: n.value
|
|
1057
1120
|
}));
|
|
1058
|
-
|
|
1059
|
-
n.value =
|
|
1121
|
+
O(() => e.extendInfo, (i) => {
|
|
1122
|
+
n.value = i;
|
|
1060
1123
|
});
|
|
1061
1124
|
function b() {
|
|
1062
1125
|
t.emit("updateExtendInfo");
|
|
1063
1126
|
}
|
|
1064
|
-
return () => o.value &&
|
|
1127
|
+
return () => o.value && Y(T("span", {
|
|
1065
1128
|
class: "input-group-before-tips",
|
|
1066
1129
|
onMouseenter: b
|
|
1067
1130
|
}, [T("i", {
|
|
1068
1131
|
class: "f-icon f-icon-info-circle"
|
|
1069
1132
|
}, null), T("b", {
|
|
1070
1133
|
class: "tips-arrow"
|
|
1071
|
-
}, null)]), [[
|
|
1134
|
+
}, null)]), [[de("tooltip"), c.value]]);
|
|
1072
1135
|
}
|
|
1073
|
-
function
|
|
1136
|
+
function Et(e, t, n, o, c) {
|
|
1074
1137
|
const {
|
|
1075
1138
|
appendedButtonClass: b,
|
|
1076
|
-
appendedContent:
|
|
1077
|
-
} = n, C = k(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled),
|
|
1139
|
+
appendedContent: i
|
|
1140
|
+
} = n, C = k(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), S = k(() => i.value && !t.slots.groupTextTemplate), d = k(() => !!t.slots.groupTextTemplate), {
|
|
1078
1141
|
clearButtonClass: p,
|
|
1079
1142
|
clearButtonStyle: l,
|
|
1080
1143
|
onClearValue: s,
|
|
1081
1144
|
shouldShowClearButton: m
|
|
1082
1145
|
} = o, r = F(0);
|
|
1083
|
-
|
|
1146
|
+
O(i, (y) => {
|
|
1084
1147
|
r.value++;
|
|
1085
1148
|
});
|
|
1086
1149
|
function a() {
|
|
@@ -1099,140 +1162,140 @@ function kt(e, t, n, o, c) {
|
|
|
1099
1162
|
function g(y) {
|
|
1100
1163
|
t.emit("iconMouseLeave", y);
|
|
1101
1164
|
}
|
|
1102
|
-
function
|
|
1165
|
+
function u(y) {
|
|
1103
1166
|
C.value && t.emit("clickHandle", {
|
|
1104
1167
|
originalEvent: y
|
|
1105
1168
|
}), y.stopPropagation();
|
|
1106
1169
|
}
|
|
1107
|
-
const
|
|
1170
|
+
const w = e.type === "password" || e.showType === "password" ? c.onClickAppendedButton : u;
|
|
1108
1171
|
function P() {
|
|
1109
1172
|
return T("span", {
|
|
1110
1173
|
class: "input-group-text",
|
|
1111
1174
|
onMouseenter: (y) => f(y),
|
|
1112
1175
|
onMouseleave: (y) => g(y),
|
|
1113
|
-
innerHTML:
|
|
1114
|
-
onClick: (y) =>
|
|
1176
|
+
innerHTML: i.value,
|
|
1177
|
+
onClick: (y) => w(y)
|
|
1115
1178
|
}, null);
|
|
1116
1179
|
}
|
|
1117
1180
|
function B() {
|
|
1118
1181
|
return t.slots.groupTextTemplate && t.slots.groupTextTemplate();
|
|
1119
1182
|
}
|
|
1120
1183
|
function v() {
|
|
1121
|
-
return
|
|
1184
|
+
return S.value ? P() : d.value ? B() : "";
|
|
1122
1185
|
}
|
|
1123
1186
|
return () => T("div", {
|
|
1124
1187
|
class: b.value,
|
|
1125
1188
|
key: "append-button-" + r.value
|
|
1126
1189
|
}, [m.value && a(), v()]);
|
|
1127
1190
|
}
|
|
1128
|
-
const
|
|
1191
|
+
const oe = /* @__PURE__ */ $({
|
|
1129
1192
|
name: "FInputGroup",
|
|
1130
|
-
props:
|
|
1193
|
+
props: wt,
|
|
1131
1194
|
emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange", "mousedownEvent", "mouseupEvent"],
|
|
1132
1195
|
setup(e, t) {
|
|
1133
|
-
const n = F(), o = F(e.modelValue), c = F(e.modelValue), b =
|
|
1134
|
-
inputGroupClass:
|
|
1196
|
+
const n = F(), o = F(e.modelValue), c = F(e.modelValue), b = Te(e, t, o, c, n), {
|
|
1197
|
+
inputGroupClass: i,
|
|
1135
1198
|
inputType: C,
|
|
1136
|
-
inputGroupStyle:
|
|
1137
|
-
} = b, d =
|
|
1199
|
+
inputGroupStyle: S
|
|
1200
|
+
} = b, d = St(e), {
|
|
1138
1201
|
shouldShowAppendedButton: p
|
|
1139
|
-
} = d, l =
|
|
1202
|
+
} = d, l = he(e, t, b), {
|
|
1140
1203
|
onMouseEnter: s,
|
|
1141
1204
|
onMouseLeave: m
|
|
1142
|
-
} = l, r =
|
|
1205
|
+
} = l, r = Bt(e, t, C, d), a = Ft(e, t), {
|
|
1143
1206
|
renderTextarea: f,
|
|
1144
1207
|
renderCount: g,
|
|
1145
|
-
renderClear:
|
|
1146
|
-
} =
|
|
1147
|
-
|
|
1208
|
+
renderClear: u
|
|
1209
|
+
} = kt(e, t, l, b), w = Lt(e, t, r, b), P = Et(e, t, d, l, r), B = Ot(e, t), v = k(() => C.value === "number"), y = k(() => C.value === "textarea");
|
|
1210
|
+
O(() => [e.value], ([h]) => {
|
|
1148
1211
|
o.value = h, c.value = h;
|
|
1149
|
-
}),
|
|
1212
|
+
}), O(() => [e.modelValue], ([h]) => {
|
|
1150
1213
|
o.value = h, c.value = h;
|
|
1151
1214
|
}), V(() => {
|
|
1152
1215
|
e.value && (o.value = e.value, c.value = e.value);
|
|
1153
1216
|
});
|
|
1154
|
-
const
|
|
1217
|
+
const L = () => T("div", {
|
|
1155
1218
|
ref: n,
|
|
1156
1219
|
id: e.id,
|
|
1157
|
-
class:
|
|
1158
|
-
style:
|
|
1220
|
+
class: i.value,
|
|
1221
|
+
style: S.value,
|
|
1159
1222
|
onMouseenter: s,
|
|
1160
1223
|
onMouseleave: m
|
|
1161
|
-
}, [v.value ? a() : y.value ? f() : T(
|
|
1162
|
-
return () =>
|
|
1224
|
+
}, [v.value ? a() : y.value ? f() : T(fe, null, [B(), w()]), !y.value && !v.value && p.value && P(), y.value && u(), y.value && g()]);
|
|
1225
|
+
return () => L();
|
|
1163
1226
|
}
|
|
1164
1227
|
});
|
|
1165
|
-
|
|
1166
|
-
const
|
|
1228
|
+
Ce(oe);
|
|
1229
|
+
const D = /* @__PURE__ */ $({
|
|
1167
1230
|
name: "FLanguageTextbox",
|
|
1168
1231
|
props: q,
|
|
1169
1232
|
emits: ["update:modelValue"],
|
|
1170
1233
|
setup(e, t) {
|
|
1171
|
-
const n =
|
|
1234
|
+
const n = J.getLocale(), {
|
|
1172
1235
|
disabled: o,
|
|
1173
1236
|
readonly: c,
|
|
1174
1237
|
editable: b,
|
|
1175
|
-
modelValue:
|
|
1176
|
-
} =
|
|
1177
|
-
var
|
|
1178
|
-
return (
|
|
1179
|
-
}),
|
|
1180
|
-
|
|
1181
|
-
|
|
1238
|
+
modelValue: i
|
|
1239
|
+
} = me(e), C = k(() => {
|
|
1240
|
+
var u;
|
|
1241
|
+
return (u = i.value) == null ? void 0 : u[n];
|
|
1242
|
+
}), S = F();
|
|
1243
|
+
O(() => e.modelValue, (u) => {
|
|
1244
|
+
i.value = u;
|
|
1182
1245
|
});
|
|
1183
|
-
const d = (
|
|
1184
|
-
if ((
|
|
1246
|
+
const d = (u) => {
|
|
1247
|
+
if ((u == null ? void 0 : u.length) <= 1)
|
|
1185
1248
|
return;
|
|
1186
|
-
let
|
|
1187
|
-
const P =
|
|
1249
|
+
let w = -1;
|
|
1250
|
+
const P = u.find((B, v) => {
|
|
1188
1251
|
const y = B.code === n;
|
|
1189
|
-
return y && (
|
|
1252
|
+
return y && (w = v), y;
|
|
1190
1253
|
});
|
|
1191
1254
|
if (P) {
|
|
1192
1255
|
const B = Object.assign({}, P);
|
|
1193
|
-
|
|
1256
|
+
u.splice(w, 1), u.unshift(B);
|
|
1194
1257
|
}
|
|
1195
|
-
return
|
|
1258
|
+
return u;
|
|
1196
1259
|
}, p = F();
|
|
1197
|
-
|
|
1198
|
-
p.value = d(
|
|
1260
|
+
O(() => e.languages, (u) => {
|
|
1261
|
+
p.value = d(u) || [];
|
|
1199
1262
|
});
|
|
1200
|
-
function l(
|
|
1201
|
-
|
|
1263
|
+
function l(u) {
|
|
1264
|
+
i.value = i.value || {}, i.value[n] !== u && (i.value[n] = u, t.emit("update:modelValue", i.value));
|
|
1202
1265
|
}
|
|
1203
1266
|
const s = k(() => {
|
|
1204
|
-
var
|
|
1205
|
-
const
|
|
1206
|
-
return
|
|
1267
|
+
var w;
|
|
1268
|
+
const u = (w = S.value) == null ? void 0 : w.popoverRef;
|
|
1269
|
+
return u && p.value.length > 1 ? u.shown : !1;
|
|
1207
1270
|
});
|
|
1208
1271
|
V(() => {
|
|
1209
1272
|
p.value = d(e.languages) || [];
|
|
1210
1273
|
});
|
|
1211
|
-
const m = (
|
|
1212
|
-
|
|
1274
|
+
const m = (u) => {
|
|
1275
|
+
i.value = u, t.emit("update:modelValue", i.value);
|
|
1213
1276
|
}, r = () => {
|
|
1214
|
-
var
|
|
1215
|
-
return !(((
|
|
1277
|
+
var u;
|
|
1278
|
+
return !(((u = p.value) == null ? void 0 : u.length) <= 1);
|
|
1216
1279
|
}, a = () => {
|
|
1217
|
-
|
|
1280
|
+
i.value = i.value || {}, i.value[n] && (i.value[n] = "", t.emit("update:modelValue", i.value));
|
|
1218
1281
|
};
|
|
1219
|
-
function f(
|
|
1220
|
-
|
|
1221
|
-
const
|
|
1222
|
-
|
|
1282
|
+
function f(u) {
|
|
1283
|
+
i.value = i.value || {};
|
|
1284
|
+
const w = u.target.value;
|
|
1285
|
+
i.value[n] !== w && (i.value[n] = w, t.emit("update:modelValue", i.value));
|
|
1223
1286
|
}
|
|
1224
1287
|
function g() {
|
|
1225
|
-
return T(
|
|
1288
|
+
return T(oe, {
|
|
1226
1289
|
disable: o.value,
|
|
1227
1290
|
readonly: c.value,
|
|
1228
1291
|
modelValue: C.value,
|
|
1229
|
-
"onUpdate:modelValue": (
|
|
1292
|
+
"onUpdate:modelValue": (u) => C.value = u,
|
|
1230
1293
|
onInput: f,
|
|
1231
1294
|
onClear: a
|
|
1232
1295
|
}, null);
|
|
1233
1296
|
}
|
|
1234
|
-
return () =>
|
|
1235
|
-
ref:
|
|
1297
|
+
return () => we() ? g() : T(ge, {
|
|
1298
|
+
ref: S,
|
|
1236
1299
|
id: e.id,
|
|
1237
1300
|
forcePlaceholder: !1,
|
|
1238
1301
|
disable: o.value,
|
|
@@ -1247,7 +1310,7 @@ const j = /* @__PURE__ */ $({
|
|
|
1247
1310
|
inputType: "text",
|
|
1248
1311
|
popupOnClick: !0,
|
|
1249
1312
|
modelValue: C.value,
|
|
1250
|
-
"onUpdate:modelValue": (
|
|
1313
|
+
"onUpdate:modelValue": (u) => C.value = u,
|
|
1251
1314
|
onChange: l,
|
|
1252
1315
|
placement: "auto",
|
|
1253
1316
|
popupMinWidth: 365,
|
|
@@ -1255,90 +1318,29 @@ const j = /* @__PURE__ */ $({
|
|
|
1255
1318
|
beforeOpen: r,
|
|
1256
1319
|
onClear: a
|
|
1257
1320
|
}, {
|
|
1258
|
-
default: () => [s.value && T(
|
|
1321
|
+
default: () => [s.value && T(Ct, {
|
|
1259
1322
|
id: e.id,
|
|
1260
1323
|
languages: p.value,
|
|
1261
|
-
modelValue:
|
|
1324
|
+
modelValue: i.value,
|
|
1262
1325
|
maxLength: e.maxLength,
|
|
1263
1326
|
"onUpdate:modelValue": m
|
|
1264
1327
|
}, null)]
|
|
1265
1328
|
});
|
|
1266
1329
|
}
|
|
1267
1330
|
});
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
super(t, n);
|
|
1271
|
-
}
|
|
1272
|
-
getEditorProperties(t) {
|
|
1273
|
-
return this.getComponentConfig(t, { type: "language-textbox" }, {
|
|
1274
|
-
maxLength: {
|
|
1275
|
-
description: "文本字数最大长度",
|
|
1276
|
-
title: "最大长度",
|
|
1277
|
-
type: "number",
|
|
1278
|
-
editor: {
|
|
1279
|
-
nullable: !0,
|
|
1280
|
-
min: 0,
|
|
1281
|
-
useThousands: !1,
|
|
1282
|
-
max: t.editor.maxLength,
|
|
1283
|
-
needValid: !0
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
});
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
function Lt(e, t) {
|
|
1290
|
-
function n(o, c) {
|
|
1291
|
-
const b = e.schema;
|
|
1292
|
-
return new Ot(o, t).getPropertyConfig(b, c);
|
|
1293
|
-
}
|
|
1294
|
-
return { getPropsConfig: n };
|
|
1295
|
-
}
|
|
1296
|
-
const Et = /* @__PURE__ */ $({
|
|
1297
|
-
name: "FLanguageTextboxDesign",
|
|
1298
|
-
props: {
|
|
1299
|
-
placeholder: {
|
|
1300
|
-
type: String,
|
|
1301
|
-
default: ""
|
|
1302
|
-
}
|
|
1303
|
-
},
|
|
1304
|
-
setup(e, t) {
|
|
1305
|
-
const n = F(), o = _("design-item-context"), c = _("designer-host-service"), b = Lt(o, c), u = ke(n, o, b);
|
|
1306
|
-
return V(() => {
|
|
1307
|
-
n.value.componentInstance = u;
|
|
1308
|
-
}), t.expose(u.value), () => T("div", {
|
|
1309
|
-
class: "f-button-edit f-cmp-inputgroup f-button-edit-nowrap",
|
|
1310
|
-
ref: n
|
|
1311
|
-
}, [T("div", {
|
|
1312
|
-
class: "input-group"
|
|
1313
|
-
}, [T("input", {
|
|
1314
|
-
autocomplete: "off",
|
|
1315
|
-
class: "text-left form-control f-utils-fill",
|
|
1316
|
-
readonly: "true",
|
|
1317
|
-
type: "text",
|
|
1318
|
-
placeholder: e.placeholder
|
|
1319
|
-
}, null), T("div", {
|
|
1320
|
-
class: "input-group-append"
|
|
1321
|
-
}, [T("span", {
|
|
1322
|
-
class: "input-group-text input-group-append-button"
|
|
1323
|
-
}, [T("i", {
|
|
1324
|
-
class: "f-icon f-icon-yxs_earth"
|
|
1325
|
-
}, null)])])])]);
|
|
1326
|
-
}
|
|
1327
|
-
});
|
|
1328
|
-
j.install = (e) => {
|
|
1329
|
-
e.component(j.name, j);
|
|
1331
|
+
D.install = (e) => {
|
|
1332
|
+
e.component(D.name, D);
|
|
1330
1333
|
};
|
|
1331
|
-
|
|
1332
|
-
e["language-textbox"] =
|
|
1334
|
+
D.register = (e, t, n, o, c) => {
|
|
1335
|
+
e["language-textbox"] = D, t["language-textbox"] = ne(c);
|
|
1333
1336
|
};
|
|
1334
|
-
|
|
1335
|
-
e["language-textbox"] =
|
|
1337
|
+
D.registerDesigner = (e, t, n, o) => {
|
|
1338
|
+
e["language-textbox"] = Me, t["language-textbox"] = ne(o);
|
|
1336
1339
|
};
|
|
1337
|
-
const Ht = Y(j);
|
|
1338
1340
|
export {
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
+
D as FLanguageTextbox,
|
|
1342
|
+
D as default,
|
|
1341
1343
|
q as languageTextBoxProps,
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
+
Gt as propsResolver,
|
|
1345
|
+
ne as propsResolverGenerator
|
|
1344
1346
|
};
|