@farris/ui-vue 1.7.0-beta.4 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/index.esm.js +61 -312
- package/components/accordion/index.umd.cjs +1 -1
- package/components/avatar/index.esm.js +56 -1481
- package/components/avatar/index.umd.cjs +1 -1
- package/components/binding-selector/index.esm.js +8 -752
- package/components/binding-selector/index.umd.cjs +1 -1
- package/components/button-edit/index.esm.js +358 -351
- package/components/button-edit/index.umd.cjs +1 -1
- package/components/button-group/index.esm.js +110 -266
- package/components/button-group/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +1371 -1284
- package/components/calendar/index.umd.cjs +30 -30
- package/components/code-editor/index.esm.js +169 -237
- package/components/code-editor/index.umd.cjs +3 -3
- package/components/collection-property-editor/index.esm.js +382 -351
- package/components/collection-property-editor/index.umd.cjs +2 -2
- package/components/color-picker/index.esm.js +502 -812
- package/components/color-picker/index.umd.cjs +1 -1
- package/components/combo-list/index.esm.js +197 -183
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/combo-tree/index.esm.js +199 -364
- package/components/combo-tree/index.umd.cjs +1 -1
- package/components/comment/index.esm.js +1501 -1465
- package/components/comment/index.umd.cjs +6 -6
- package/components/common/index.esm.js +136 -100
- package/components/common/index.umd.cjs +1 -1
- package/components/component/index.css +1 -1
- package/components/component/index.esm.js +2662 -3647
- package/components/component/index.umd.cjs +1 -8
- package/components/condition/index.esm.js +492 -2449
- package/components/condition/index.umd.cjs +1 -8
- package/components/content-container/index.esm.js +252 -241
- package/components/content-container/index.umd.cjs +1 -1
- package/components/data-grid/index.esm.js +505 -409
- package/components/data-grid/index.umd.cjs +1 -1
- package/components/data-view/index.esm.js +3326 -3258
- package/components/data-view/index.umd.cjs +1 -1
- package/components/date-picker/index.esm.js +1709 -1634
- package/components/date-picker/index.umd.cjs +1 -1
- package/components/designer-canvas/index.css +1 -1
- package/components/designer-canvas/index.esm.js +2693 -3021
- package/components/designer-canvas/index.umd.cjs +1 -1
- package/components/designer-outline/index.esm.js +102 -98
- package/components/designer-outline/index.umd.cjs +1 -1
- package/components/drawer/index.esm.js +409 -358
- package/components/drawer/index.umd.cjs +2 -2
- package/components/dropdown/index.esm.js +124 -373
- package/components/dropdown/index.umd.cjs +2 -2
- package/components/dynamic-form/index.esm.js +760 -573
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +354 -327
- package/components/dynamic-resolver/index.umd.cjs +2 -2
- package/components/dynamic-view/index.esm.js +413 -359
- 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.css +1 -1
- package/components/events-editor/index.esm.js +1535 -1941
- package/components/events-editor/index.umd.cjs +3 -3
- package/components/expression-editor/index.css +1 -1
- package/components/expression-editor/index.esm.js +2 -7317
- package/components/expression-editor/index.umd.cjs +1 -427
- package/components/field-selector/index.esm.js +13 -13
- package/components/field-selector/index.umd.cjs +1 -1
- package/components/fieldset/index.esm.js +140 -123
- package/components/fieldset/index.umd.cjs +1 -1
- package/components/filter-bar/index.esm.js +1021 -1012
- 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 +448 -9000
- package/components/filter-condition-editor/index.umd.cjs +1 -427
- package/components/html-template/index.esm.js +167 -147
- package/components/html-template/index.umd.cjs +1 -1
- package/components/image/index.esm.js +372 -352
- package/components/image/index.umd.cjs +2 -2
- package/components/image-cropper/index.esm.js +361 -615
- package/components/image-cropper/index.umd.cjs +1 -1
- package/components/json-editor/index.esm.js +247 -325
- package/components/json-editor/index.umd.cjs +1 -1
- package/components/language-textbox/index.esm.js +835 -421
- package/components/language-textbox/index.umd.cjs +2 -2
- package/components/layout/index.esm.js +163 -549
- package/components/layout/index.umd.cjs +1 -1
- package/components/list-nav/index.esm.js +39 -836
- package/components/list-nav/index.umd.cjs +1 -1
- package/components/list-view/index.esm.js +690 -474
- package/components/list-view/index.umd.cjs +6 -8
- package/components/loading/index.esm.js +128 -97
- package/components/loading/index.umd.cjs +2 -2
- package/components/locale/index.esm.js +361 -340
- package/components/locale/index.umd.cjs +5 -5
- package/components/lookup/index.css +1 -1
- package/components/lookup/index.esm.js +3396 -3368
- package/components/lookup/index.umd.cjs +1 -1
- package/components/mapping-editor/index.css +1 -1
- package/components/mapping-editor/index.esm.js +1684 -1584
- package/components/mapping-editor/index.umd.cjs +1 -1
- package/components/menu-lookup/index.esm.js +586 -609
- package/components/menu-lookup/index.umd.cjs +6 -6
- package/components/message-box/index.css +1 -1
- package/components/message-box/index.esm.js +357 -353
- package/components/message-box/index.umd.cjs +1 -1
- package/components/modal/index.esm.js +325 -318
- package/components/modal/index.umd.cjs +1 -1
- package/components/nav/index.esm.js +31 -311
- package/components/nav/index.umd.cjs +1 -1
- package/components/number-range/index.esm.js +189 -1633
- package/components/number-range/index.umd.cjs +1 -1
- package/components/number-spinner/index.esm.js +195 -175
- package/components/number-spinner/index.umd.cjs +1 -1
- package/components/order/index.esm.js +761 -1057
- package/components/order/index.umd.cjs +7 -9
- package/components/page-footer/index.esm.js +48 -331
- package/components/page-footer/index.umd.cjs +1 -1
- package/components/page-header/index.esm.js +92 -73
- package/components/page-header/index.umd.cjs +1 -1
- package/components/pagination/index.esm.js +195 -472
- package/components/pagination/index.umd.cjs +1 -1
- package/components/popover/index.esm.js +77 -76
- package/components/popover/index.umd.cjs +1 -1
- package/components/progress/index.esm.js +148 -353
- package/components/progress/index.umd.cjs +3 -3
- package/components/property-editor/index.esm.js +74 -68
- package/components/property-editor/index.umd.cjs +1 -1
- package/components/property-panel/index.esm.js +872 -1800
- package/components/property-panel/index.umd.cjs +5 -12
- package/components/query-solution/index.css +1 -1
- package/components/query-solution/index.esm.js +4223 -6205
- package/components/query-solution/index.umd.cjs +6 -13
- package/components/response-layout/index.esm.js +206 -170
- package/components/response-layout/index.umd.cjs +1 -1
- package/components/response-layout-editor/index.esm.js +1 -1
- package/components/response-layout-editor/index.umd.cjs +1 -1
- package/components/response-toolbar/index.esm.js +378 -359
- package/components/response-toolbar/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +2491 -2653
- package/components/schema-selector/index.umd.cjs +8 -10
- package/components/search-box/index.esm.js +79 -240
- package/components/search-box/index.umd.cjs +1 -1
- package/components/section/index.esm.js +304 -289
- package/components/section/index.umd.cjs +2 -2
- package/components/smoke-detector/index.esm.js +8 -179
- package/components/smoke-detector/index.umd.cjs +1 -1
- package/components/sort-condition-editor/index.esm.js +4 -9421
- package/components/sort-condition-editor/index.umd.cjs +1 -427
- package/components/splitter/index.esm.js +142 -1171
- package/components/splitter/index.umd.cjs +1 -1
- package/components/step/index.esm.js +48 -47
- package/components/step/index.umd.cjs +1 -1
- package/components/tabs/index.esm.js +460 -513
- package/components/tabs/index.umd.cjs +1 -1
- package/components/text/index.esm.js +73 -217
- package/components/text/index.umd.cjs +1 -1
- package/components/time-picker/index.esm.js +380 -375
- package/components/time-picker/index.umd.cjs +1 -1
- package/components/tooltip/index.esm.js +40 -40
- package/components/tooltip/index.umd.cjs +1 -1
- package/components/transfer/index.esm.js +551 -771
- package/components/transfer/index.umd.cjs +6 -8
- package/components/tree-grid/index.esm.js +250 -235
- package/components/tree-grid/index.umd.cjs +1 -1
- package/components/tree-view/index.esm.js +157 -314
- package/components/tree-view/index.umd.cjs +1 -1
- package/components/uploader/index.esm.js +634 -1125
- package/components/uploader/index.umd.cjs +2 -2
- package/components/verify-detail/index.esm.js +106 -359
- package/components/verify-detail/index.umd.cjs +1 -1
- package/components/video/index.esm.js +89 -222
- package/components/video/index.umd.cjs +1 -1
- package/components/weather/index.esm.js +199 -290
- package/components/weather/index.umd.cjs +1 -1
- package/designer/accordion/index.esm.js +257 -0
- package/designer/accordion/index.umd.cjs +1 -0
- package/designer/avatar/index.esm.js +227 -0
- package/designer/avatar/index.umd.cjs +1 -0
- package/designer/binding-selector/index.esm.js +792 -0
- package/designer/binding-selector/index.umd.cjs +1 -0
- package/designer/button-edit/index.esm.js +210 -203
- package/designer/button-edit/index.umd.cjs +1 -1
- package/designer/button-group/index.esm.js +282 -0
- package/designer/button-group/index.umd.cjs +1 -0
- package/designer/checkbox/index.esm.js +51 -45
- package/designer/checkbox/index.umd.cjs +1 -1
- package/designer/checkbox-group/index.esm.js +89 -83
- package/designer/checkbox-group/index.umd.cjs +1 -1
- package/designer/code-editor/index.esm.js +75 -0
- package/designer/code-editor/index.umd.cjs +1 -0
- package/designer/color-picker/index.esm.js +1096 -0
- package/designer/color-picker/index.umd.cjs +1 -0
- package/designer/combo-list/index.esm.js +1095 -0
- package/designer/combo-list/index.umd.cjs +1 -0
- package/designer/combo-tree/index.esm.js +186 -0
- package/designer/combo-tree/index.umd.cjs +1 -0
- package/designer/component/index.css +1 -0
- package/designer/component/index.esm.js +5002 -0
- package/designer/component/index.umd.cjs +1 -0
- package/designer/condition/index.esm.js +1899 -0
- package/designer/condition/index.umd.cjs +1 -0
- package/designer/data-grid/index.esm.js +5580 -6213
- package/designer/data-grid/index.umd.cjs +10 -17
- package/designer/data-view/index.esm.js +212 -191
- package/designer/data-view/index.umd.cjs +2 -2
- package/designer/date-picker/index.esm.js +621 -607
- package/designer/date-picker/index.umd.cjs +1 -1
- package/designer/drawer/index.css +1 -1
- package/designer/drawer/index.esm.js +869 -620
- package/designer/drawer/index.umd.cjs +2 -2
- package/designer/dropdown/index.esm.js +261 -0
- package/designer/dropdown/index.umd.cjs +1 -0
- package/designer/dynamic-form/index.esm.js +1166 -1384
- package/designer/dynamic-form/index.umd.cjs +1 -8
- package/designer/expression-editor/index.css +1 -0
- package/designer/expression-editor/index.esm.js +7006 -0
- package/designer/expression-editor/index.umd.cjs +427 -0
- package/designer/farris-designer.all.esm.js +10309 -10617
- package/designer/farris-designer.all.umd.cjs +17 -19
- package/designer/filter-condition-editor/index.css +1 -0
- package/designer/filter-condition-editor/index.esm.js +4795 -0
- package/designer/filter-condition-editor/index.umd.cjs +1 -0
- package/designer/html-template/index.esm.js +718 -0
- package/designer/html-template/index.umd.cjs +1 -0
- package/designer/image-cropper/index.esm.js +765 -0
- package/designer/image-cropper/index.umd.cjs +1 -0
- package/designer/index.css +1 -1
- package/designer/input-group/index.esm.js +72 -66
- package/designer/input-group/index.umd.cjs +1 -1
- package/designer/json-editor/index.esm.js +83 -0
- package/designer/json-editor/index.umd.cjs +1 -0
- package/designer/language-textbox/index.esm.js +783 -0
- package/designer/language-textbox/index.umd.cjs +8 -0
- package/designer/layout/index.esm.js +430 -0
- package/designer/layout/index.umd.cjs +1 -0
- package/designer/list-nav/index.esm.js +802 -0
- package/designer/list-nav/index.umd.cjs +1 -0
- package/designer/list-view/index.esm.js +864 -844
- package/designer/list-view/index.umd.cjs +7 -9
- package/designer/lookup/index.esm.js +2083 -0
- package/designer/lookup/index.umd.cjs +1 -0
- package/designer/menu-lookup/index.esm.js +46 -0
- package/designer/menu-lookup/index.umd.cjs +1 -0
- package/designer/modal/index.esm.js +137 -29
- package/designer/modal/index.umd.cjs +1 -1
- package/designer/nav/index.esm.js +284 -0
- package/designer/nav/index.umd.cjs +1 -0
- package/designer/number-range/index.esm.js +1616 -0
- package/designer/number-range/index.umd.cjs +1 -0
- package/designer/number-spinner/index.esm.js +19 -17
- package/designer/number-spinner/index.umd.cjs +1 -1
- package/designer/order/index.css +1 -0
- package/designer/order/index.esm.js +2196 -0
- package/designer/order/index.umd.cjs +18 -0
- package/designer/page-footer/index.esm.js +290 -0
- package/designer/page-footer/index.umd.cjs +1 -0
- package/designer/page-header/index.esm.js +1003 -0
- package/designer/page-header/index.umd.cjs +1 -0
- package/designer/pagination/index.esm.js +591 -0
- package/designer/pagination/index.umd.cjs +1 -0
- package/designer/progress/index.esm.js +213 -0
- package/designer/progress/index.umd.cjs +1 -0
- package/designer/radio-group/index.esm.js +978 -949
- package/designer/radio-group/index.umd.cjs +1 -1
- package/designer/response-layout-editor/index.esm.js +1 -1
- package/designer/response-layout-editor/index.umd.cjs +1 -1
- package/designer/response-toolbar/index.esm.js +1471 -1416
- package/designer/response-toolbar/index.umd.cjs +1 -1
- package/designer/search-box/index.esm.js +245 -0
- package/designer/search-box/index.umd.cjs +1 -0
- package/designer/section/index.esm.js +83 -78
- package/designer/section/index.umd.cjs +1 -1
- package/designer/smoke-detector/index.css +1 -0
- package/designer/smoke-detector/index.esm.js +178 -0
- package/designer/smoke-detector/index.umd.cjs +1 -0
- package/designer/sort-condition-editor/index.esm.js +138 -0
- package/designer/sort-condition-editor/index.umd.cjs +1 -0
- package/designer/splitter/index.esm.js +1120 -0
- package/designer/splitter/index.umd.cjs +1 -0
- package/designer/step/index.esm.js +226 -0
- package/designer/step/index.umd.cjs +1 -0
- package/designer/switch/index.esm.js +10 -10
- package/designer/switch/index.umd.cjs +1 -1
- package/designer/tabs/index.css +1 -1
- package/designer/tabs/index.esm.js +2447 -2698
- package/designer/tabs/index.umd.cjs +2 -2
- package/designer/text/index.esm.js +147 -0
- package/designer/text/index.umd.cjs +1 -0
- package/designer/time-picker/index.esm.js +101 -100
- package/designer/time-picker/index.umd.cjs +1 -1
- package/designer/transfer/index.esm.js +254 -0
- package/designer/transfer/index.umd.cjs +1 -0
- package/designer/tree-grid/index.esm.js +473 -810
- package/designer/tree-grid/index.umd.cjs +1 -1
- package/designer/tree-view/index.esm.js +313 -0
- package/designer/tree-view/index.umd.cjs +1 -0
- package/designer/uploader/index.esm.js +1190 -0
- package/designer/uploader/index.umd.cjs +2 -0
- package/designer/verify-detail/index.esm.js +258 -0
- package/designer/verify-detail/index.umd.cjs +1 -0
- package/designer/video/index.esm.js +136 -0
- package/designer/video/index.umd.cjs +1 -0
- package/designer/weather/index.css +1 -0
- package/designer/weather/index.esm.js +6244 -0
- package/designer/weather/index.umd.cjs +14 -0
- package/farris.all.esm.js +69941 -70514
- package/farris.all.umd.cjs +117 -117
- package/index.css +1 -1
- package/locales/filter-bar/ui/en.json +2 -1
- package/locales/filter-bar/ui/zh-CHS.json +2 -1
- package/locales/filter-bar/ui/zh-CHT.json +2 -1
- package/locales/query-solution/ui/en.json +1 -1
- package/locales/query-solution/ui/zh-CHS.json +1 -1
- package/locales/query-solution/ui/zh-CHT.json +1 -1
- package/locales/ui/en.json +3 -2
- package/locales/ui/zh-CHS.json +3 -2
- package/locales/ui/zh-CHT.json +3 -2
- package/package.json +1 -1
- package/types/accordion/designer.d.ts +44 -0
- package/types/accordion/src/accordion.props.d.ts +0 -1
- package/types/accordion/src/components/accordion-item.props.d.ts +0 -1
- package/types/avatar/designer.d.ts +29 -0
- package/types/avatar/src/avatar.props.d.ts +0 -1
- package/types/avatar/src/property-config/avatar.property-config.d.ts +1 -1
- package/types/{expression-editor/index.d.ts → binding-selector/designer.d.ts} +6 -6
- package/types/binding-selector/index.d.ts +0 -54
- package/types/binding-selector/src/binding-selector.props.d.ts +0 -1
- package/types/button-group/designer.d.ts +29 -0
- package/types/button-group/index.d.ts +15 -0
- package/types/button-group/src/button-group.props.d.ts +0 -1
- package/types/calendar/src/calendar.props.d.ts +1 -0
- package/types/calendar/src/components/month/month-view.component.d.ts +6 -6
- package/types/calendar/src/composition/use-calendar-events.d.ts +1 -1
- package/types/calendar/src/composition/use-locales.d.ts +1 -0
- package/types/calendar/src/property-config/calendar.property-config.d.ts +2 -0
- package/types/capsule/src/capsule-item.component.d.ts +6 -6
- package/types/checkbox/designer.d.ts +2 -0
- package/types/checkbox-group/designer.d.ts +2 -0
- package/types/code-editor/designer.d.ts +5 -0
- package/types/code-editor/index.d.ts +0 -1
- package/types/code-editor/src/code-textbox.component.d.ts +6 -6
- package/types/code-editor/src/code-textbox.props.d.ts +0 -2
- package/types/color-picker/designer.d.ts +29 -0
- package/types/color-picker/index.d.ts +0 -15
- package/types/color-picker/src/color-picker.props.d.ts +0 -1
- package/types/combo-list/designer.d.ts +29 -0
- package/types/combo-list/src/combo-list.props.d.ts +1 -0
- package/types/combo-list/src/designer/combo-list.design.props.d.ts +6 -0
- package/types/combo-tree/designer.d.ts +5 -0
- package/types/combo-tree/src/combo-tree.props.d.ts +0 -1
- package/types/combo-tree/src/components/tree-container.component.d.ts +7 -7
- package/types/comment/src/comment.props.d.ts +4 -0
- package/types/comment/src/designer/comment.design.props.d.ts +4 -0
- package/types/common/index.d.ts +1 -0
- package/types/common/utils/use-mobile.d.ts +1 -0
- package/types/component/designer.d.ts +35 -0
- package/types/component/index.d.ts +0 -2
- package/types/component/src/component.props.d.ts +0 -8
- package/types/component/src/composition/field-tree-builder.d.ts +1 -0
- package/types/components.d.ts +2 -6
- package/types/condition/designer.d.ts +56 -0
- package/types/condition/index.d.ts +0 -55
- package/types/content-container/index.d.ts +3 -2
- package/types/content-container/src/content-container.props.d.ts +1 -0
- package/types/data-grid/designer.d.ts +2 -0
- package/types/data-grid/index.d.ts +5 -2
- package/types/data-grid/src/data-grid.component.d.ts +2 -1
- package/types/data-grid/src/designer/grid-field-editor.props.d.ts +1 -0
- package/types/data-view/composition/types.d.ts +7 -1
- package/types/data-view/composition/use-mobile.d.ts +3 -0
- package/types/data-view/designer/property-config/use-command-option.d.ts +11 -0
- package/types/data-view/index.d.ts +1 -0
- package/types/designer-canvas/src/composition/designer-canvas-changed.d.ts +3 -3
- package/types/designer-canvas/src/composition/dg-control.d.ts +8 -0
- package/types/designer-outline/src/designer-outline.component.d.ts +3 -3
- package/types/designer-outline/src/types.d.ts +5 -1
- package/types/drawer/designer.d.ts +12 -0
- package/types/drawer/src/designer/drawer-toolbar.design.props.d.ts +12 -0
- package/types/drawer/src/designer/drawer.design.component.d.ts +8 -0
- package/types/drawer/src/designer/drawer.design.props.d.ts +4 -0
- package/types/drawer/src/schema/schema-mapper.d.ts +1 -0
- package/types/drawer/src/schema/schema-resolver.d.ts +1 -0
- package/types/dropdown/designer.d.ts +6 -0
- package/types/dropdown/index.d.ts +27 -6
- package/types/dropdown/src/dropdown.item.component.d.ts +2 -2
- package/types/dropdown/src/dropdown.props.d.ts +0 -1
- package/types/dynamic-form/designer.d.ts +3 -1
- package/types/dynamic-form/index.d.ts +4 -3
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +6 -6
- package/types/dynamic-form/src/composition/use-input-type-resolver.d.ts +11 -0
- package/types/dynamic-resolver/index.d.ts +3 -0
- package/types/dynamic-resolver/src/props-resolver.d.ts +2 -0
- 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 +883 -1
- package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
- package/types/dynamic-view/src/types.d.ts +4 -0
- package/types/expression-editor/designer.d.ts +9 -0
- package/types/field-selector/index.d.ts +2 -1
- package/types/fieldset/index.d.ts +3 -2
- package/types/fieldset/src/fieldset.props.d.ts +1 -0
- package/types/filter-bar/src/composition/types.d.ts +1 -1
- package/types/filter-bar/src/composition/use-size.d.ts +2 -2
- package/types/filter-bar/src/locale/locale.d.ts +1 -0
- package/types/filter-condition-editor/designer.d.ts +10 -0
- package/types/filter-condition-editor/index.d.ts +0 -9
- 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 +0 -1
- package/types/html-template/designer.d.ts +31 -0
- package/types/html-template/src/designer/html-template.design.props.d.ts +9 -0
- package/types/html-template/src/html-template.props.d.ts +2 -0
- package/types/image-cropper/designer.d.ts +4 -0
- package/types/image-cropper/src/image-cropper.props.d.ts +0 -1
- package/types/index.d.ts +0 -1
- package/types/input-group/designer.d.ts +2 -0
- package/types/json-editor/designer.d.ts +5 -0
- package/types/json-editor/src/components/editable-combo/editable-combo.component.d.ts +3 -3
- package/types/json-editor/src/components/editable-combo/popup-container.component.d.ts +3 -3
- package/types/json-editor/src/json-editor.props.d.ts +0 -1
- package/types/language-textbox/index.d.ts +6 -6
- package/types/language-textbox/src/language-textbox.component.d.ts +2 -2
- package/types/language-textbox/src/language-textbox.props.d.ts +1 -0
- package/types/layout/index.d.ts +1 -0
- package/types/layout/src/components/layout-pane.props.d.ts +0 -1
- package/types/layout/src/layout.props.d.ts +0 -1
- package/types/list-nav/index.d.ts +24 -5
- package/types/list-nav/src/list-nav.props.d.ts +0 -1
- package/types/list-view/index.d.ts +1 -0
- package/types/list-view/src/composition/use-draggable.d.ts +1 -1
- package/types/list-view/src/designer/list-view.design.props.d.ts +1 -0
- package/types/list-view/src/list-view-table.props.d.ts +1 -0
- package/types/loading/index.d.ts +6 -6
- package/types/loading/src/loading.component.d.ts +3 -3
- package/types/lookup/index.d.ts +1 -1
- package/types/lookup/src/components/popup-container.component.d.ts +6 -6
- package/types/lookup/src/lookup.props.d.ts +1 -0
- package/types/lookup/src/property-config/external-lookup.property-config.d.ts +1 -0
- package/types/lookup/src/property-config/lookup.property-config.d.ts +1 -0
- package/types/menu-lookup/designer.d.ts +5 -0
- package/types/menu-lookup/src/menu-lookup.props.d.ts +0 -1
- package/types/message-box/index.d.ts +6 -6
- package/types/message-box/src/message-box.component.d.ts +3 -3
- package/types/modal/designer.d.ts +2 -0
- package/types/modal/index.d.ts +30 -24
- package/types/modal/src/modal.component.d.ts +15 -12
- package/types/modal/src/modal.props.d.ts +4 -0
- package/types/nav/designer.d.ts +6 -0
- package/types/nav/index.d.ts +24 -20
- package/types/nav/src/nav.props.d.ts +0 -1
- package/types/notify/index.d.ts +3 -3
- package/types/notify/src/notify.component.d.ts +2 -2
- package/types/number-range/designer.d.ts +29 -0
- package/types/number-range/src/number-range.props.d.ts +0 -1
- package/types/number-spinner/src/composition/types.d.ts +1 -0
- package/types/order/designer.d.ts +6 -0
- package/types/order/index.d.ts +36 -5
- package/types/order/src/designer/order.design.component.d.ts +1 -1
- package/types/order/src/order.props.d.ts +0 -1
- package/types/page-footer/designer.d.ts +6 -0
- package/types/page-footer/index.d.ts +0 -2
- package/types/page-footer/src/page-footer.props.d.ts +0 -1
- package/types/page-header/index.d.ts +3 -2
- package/types/page-header/src/designer/page-header.design.props.d.ts +20 -0
- package/types/page-header/src/page-header.props.d.ts +2 -0
- package/types/pagination/designer.d.ts +29 -0
- package/types/pagination/index.d.ts +15 -0
- package/types/pagination/src/pagination.props.d.ts +0 -1
- package/types/popover/index.d.ts +3 -3
- package/types/popover/src/composition/use-resize.d.ts +1 -1
- package/types/popover/src/popover.component.d.ts +2 -2
- package/types/progress/designer.d.ts +29 -0
- package/types/progress/src/progress.props.d.ts +0 -1
- package/types/property-panel/src/property-panel.component.d.ts +3 -3
- package/types/query-solution/index.d.ts +4 -4
- package/types/query-solution/src/composition/types.d.ts +8 -2
- package/types/query-solution/src/composition/use-header.d.ts +2 -2
- package/types/query-solution/src/composition/use-solution-utils.d.ts +1 -1
- package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +1 -1
- package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +1 -0
- package/types/query-solution/src/designer/solution-preset-config/solution-preset.props.d.ts +1 -0
- package/types/query-solution/src/query-solution.props.d.ts +1 -0
- package/types/radio-group/designer.d.ts +4 -1
- package/types/radio-group/src/designer/item-collection-editor.props.d.ts +1 -0
- package/types/response-layout/index.d.ts +3 -2
- package/types/response-layout/src/component/response-layout-item.props.d.ts +1 -0
- package/types/response-layout/src/property-config/response-layout-splitter/response-layout-splitter.props.d.ts +1 -0
- package/types/response-layout/src/response-layout.props.d.ts +1 -0
- package/types/response-toolbar/designer.d.ts +2 -1
- package/types/response-toolbar/src/designer/response-toolbar.design.props.d.ts +1 -0
- package/types/search-box/designer.d.ts +52 -0
- package/types/search-box/index.d.ts +1 -17
- package/types/search-box/src/components/search-box-container.component.d.ts +3 -3
- package/types/search-box/src/search-box.props.d.ts +0 -1
- package/types/section/designer.d.ts +1 -0
- package/types/smoke-detector/designer.d.ts +6 -0
- package/types/smoke-detector/index.d.ts +0 -2
- package/types/smoke-detector/src/smoke-detector.props.d.ts +0 -1
- package/types/sort-condition-editor/designer.d.ts +9 -0
- package/types/sort-condition-editor/index.d.ts +2 -7
- package/types/sort-condition-editor/src/sort-condition-editor.props.d.ts +0 -1
- package/types/splitter/designer.d.ts +32 -0
- package/types/splitter/index.d.ts +1 -0
- package/types/splitter/src/components/splitter-pane.props.d.ts +0 -1
- package/types/splitter/src/splitter.props.d.ts +0 -1
- package/types/step/designer.d.ts +6 -0
- package/types/tabs/designer.d.ts +1 -0
- package/types/tabs/index.d.ts +0 -1
- package/types/tabs/src/composition/types.d.ts +1 -0
- package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +1 -0
- package/types/tags/index.d.ts +3 -3
- package/types/tags/src/tags.component.d.ts +1 -1
- package/types/text/designer.d.ts +6 -0
- package/types/text/index.d.ts +24 -20
- package/types/text/src/text.props.d.ts +0 -1
- package/types/time-picker/src/components/time.component.d.ts +3 -3
- package/types/transfer/designer.d.ts +35 -0
- package/types/transfer/src/transfer.props.d.ts +0 -1
- package/types/tree-view/designer.d.ts +29 -0
- package/types/tree-view/src/tree-view.props.d.ts +0 -1
- package/types/uploader/designer.d.ts +141 -0
- package/types/uploader/index.d.ts +6 -6
- package/types/uploader/src/components/upload-progress.component.d.ts +3 -3
- package/types/uploader/src/uploader.component.d.ts +3 -3
- package/types/uploader/src/uploader.props.d.ts +0 -1
- package/types/verify-detail/designer.d.ts +6 -0
- package/types/verify-detail/index.d.ts +58 -5
- package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +8 -8
- package/types/verify-detail/src/verify-detail.props.d.ts +0 -1
- package/types/video/designer.d.ts +6 -0
- package/types/video/index.d.ts +24 -20
- package/types/video/src/video.props.d.ts +0 -1
- package/components/sort-condition-editor/index.css +0 -1
- package/package.zip +0 -0
- package/types/designer-toolbox/index.d.ts +0 -3
- package/types/designer-toolbox/src/toolbox.component.d.ts +0 -14
- package/types/designer-toolbox/src/toolbox.props.d.ts +0 -29
- package/types/designer-toolbox/src/types.d.ts +0 -21
- package/types/designer.d.ts +0 -13
- package/types/flow-canvas/index.d.ts +0 -3
- package/types/flow-canvas/src/components/flow-node-item.component.d.ts +0 -8
- package/types/flow-canvas/src/components/flow-node-item.props.d.ts +0 -3
- package/types/flow-canvas/src/composition/types.d.ts +0 -42
- package/types/flow-canvas/src/composition/use-bezier-curve.d.ts +0 -2
- package/types/flow-canvas/src/composition/use-connections.d.ts +0 -2
- package/types/flow-canvas/src/composition/use-curve.d.ts +0 -4
- package/types/flow-canvas/src/composition/use-drawing-bezier.d.ts +0 -2
- package/types/flow-canvas/src/composition/use-drawing.d.ts +0 -4
- package/types/flow-canvas/src/flow-canvas.component.d.ts +0 -8
- package/types/flow-canvas/src/flow-canvas.props.d.ts +0 -3
- package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +0 -2
- package/types/layout/src/designer/layout-pane.design.component.d.ts +0 -8
- package/types/layout/src/designer/layout-use-designer-rules.d.ts +0 -2
- package/types/layout/src/designer/layout.design.component.d.ts +0 -8
- package/types/layout/src/schema/schema-mapper.d.ts +0 -2
- package/types/layout/src/schema/schema-resolver.d.ts +0 -2
- package/types/list-nav/src/designer/use-designer-rules.d.ts +0 -2
- package/types/list-nav/src/property-config/list-nav.property-config.d.ts +0 -8
- package/types/list-nav/src/schema/schema-mapper.d.ts +0 -2
- package/types/list-nav/src/schema/schema-resolver.d.ts +0 -2
- /package/{components → designer}/condition/index.css +0 -0
- /package/{components → designer}/uploader/index.css +0 -0
- /package/types/{list-nav/src/designer/list-nav.design.component.d.ts → dynamic-form/src/component/form-control/form-control.component.d.ts} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { defineComponent as ie, ref as o, computed as T, createVNode as g, Teleport as
|
|
5
|
-
import { LocaleService as
|
|
6
|
-
import { getMaxZIndex as
|
|
1
|
+
var De = Object.defineProperty;
|
|
2
|
+
var Ne = (e, t, n) => t in e ? De(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var $ = (e, t, n) => Ne(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
+
import { defineComponent as ie, ref as o, computed as T, createVNode as g, Teleport as ve, createApp as he, onUnmounted as se, Fragment as ue, watch as U, nextTick as Z, onBeforeMount as Ae, onMounted as ne, watchEffect as Xe, Transition as Ue, shallowRef as Ke, render as oe, h as Ye, cloneVNode as Ge, mergeProps as me, inject as $e, withDirectives as qe, vShow as _e, onUpdated as Je, onBeforeUnmount as Ze, createTextVNode as Qe } from "vue";
|
|
5
|
+
import { LocaleService as te } from "../locale/index.esm.js";
|
|
6
|
+
import { isMobilePhone as et, getMaxZIndex as fe, useGuid as tt, withInstall as nt } from "../common/index.esm.js";
|
|
7
7
|
import "../property-panel/index.esm.js";
|
|
8
|
-
import
|
|
9
|
-
import { debounce as
|
|
10
|
-
import
|
|
11
|
-
const
|
|
8
|
+
import lt from "../tags/index.esm.js";
|
|
9
|
+
import { debounce as at } from "lodash-es";
|
|
10
|
+
import ot from "../popover/index.esm.js";
|
|
11
|
+
const ut = {
|
|
12
12
|
/**
|
|
13
13
|
* 组件标识
|
|
14
14
|
*/
|
|
@@ -128,13 +128,13 @@ const lt = {
|
|
|
128
128
|
*/
|
|
129
129
|
limitContentBySpace: { type: Boolean, default: !1 },
|
|
130
130
|
beforeClosePopup: { type: Function, default: null }
|
|
131
|
-
},
|
|
131
|
+
}, it = {
|
|
132
132
|
popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
|
|
133
133
|
host: { type: Object },
|
|
134
134
|
backgroundColor: { type: String, default: "" }
|
|
135
|
-
},
|
|
135
|
+
}, st = /* @__PURE__ */ ie({
|
|
136
136
|
name: "FOverlay",
|
|
137
|
-
props:
|
|
137
|
+
props: it,
|
|
138
138
|
emits: ["click"],
|
|
139
139
|
setup(e, t) {
|
|
140
140
|
const n = o(e.popupContentPosition), l = o(e.host), i = T(() => ({
|
|
@@ -159,12 +159,12 @@ const lt = {
|
|
|
159
159
|
}
|
|
160
160
|
return n.value;
|
|
161
161
|
});
|
|
162
|
-
const
|
|
162
|
+
const c = T(() => ({
|
|
163
163
|
// position: 'relative',
|
|
164
164
|
// left: `${position.value.left}px`,
|
|
165
165
|
// top: `${position.value.top}px`
|
|
166
166
|
}));
|
|
167
|
-
return () => g(
|
|
167
|
+
return () => g(ve, {
|
|
168
168
|
to: "body"
|
|
169
169
|
}, {
|
|
170
170
|
default: () => {
|
|
@@ -174,19 +174,19 @@ const lt = {
|
|
|
174
174
|
onClick: (m) => s(m),
|
|
175
175
|
style: i.value
|
|
176
176
|
}, [g("div", {
|
|
177
|
-
style:
|
|
177
|
+
style: c.value
|
|
178
178
|
}, [(f = (u = t.slots).default) == null ? void 0 : f.call(u)])])];
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
});
|
|
183
|
-
function
|
|
183
|
+
function rt(e) {
|
|
184
184
|
if (e.content && e.content.render)
|
|
185
185
|
return e.content.render;
|
|
186
186
|
if (e.render && typeof e.render == "function")
|
|
187
187
|
return e.render;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function ct(e) {
|
|
190
190
|
const t = document.createElement("div");
|
|
191
191
|
t.style.display = "contents";
|
|
192
192
|
let n;
|
|
@@ -194,13 +194,13 @@ function it(e) {
|
|
|
194
194
|
}), i = () => {
|
|
195
195
|
l(), n && n.unmount();
|
|
196
196
|
};
|
|
197
|
-
return n =
|
|
197
|
+
return n = he({
|
|
198
198
|
setup() {
|
|
199
199
|
se(() => {
|
|
200
200
|
document.body.removeChild(t);
|
|
201
201
|
});
|
|
202
|
-
const s =
|
|
203
|
-
return () => g(
|
|
202
|
+
const s = rt(e);
|
|
203
|
+
return () => g(st, {
|
|
204
204
|
"popup-content-position": e.popupPosition,
|
|
205
205
|
host: e.host,
|
|
206
206
|
onClick: i,
|
|
@@ -211,12 +211,12 @@ function it(e) {
|
|
|
211
211
|
}
|
|
212
212
|
}), document.body.appendChild(t), n.mount(t), n;
|
|
213
213
|
}
|
|
214
|
-
class
|
|
214
|
+
class dt {
|
|
215
215
|
static show(t) {
|
|
216
|
-
return
|
|
216
|
+
return ct(t);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
const
|
|
219
|
+
const ft = {
|
|
220
220
|
/**
|
|
221
221
|
* 允许点击遮罩关闭对话框
|
|
222
222
|
*/
|
|
@@ -295,7 +295,8 @@ const rt = {
|
|
|
295
295
|
dialogType: { type: String, default: "" },
|
|
296
296
|
src: { type: String, default: "" },
|
|
297
297
|
footerHeight: { type: Number, default: 60 },
|
|
298
|
-
host: { type: Object, default: "body" }
|
|
298
|
+
host: { type: Object, default: "body" },
|
|
299
|
+
isMessager: { type: Boolean, default: !1 }
|
|
299
300
|
};
|
|
300
301
|
class F {
|
|
301
302
|
constructor(t, n) {
|
|
@@ -361,12 +362,12 @@ class F {
|
|
|
361
362
|
return this.x = t.x, this.y = t.y, this;
|
|
362
363
|
}
|
|
363
364
|
}
|
|
364
|
-
class
|
|
365
|
+
class _ {
|
|
365
366
|
constructor(t, n) {
|
|
366
367
|
this.width = t, this.height = n;
|
|
367
368
|
}
|
|
368
369
|
static getCurrent(t) {
|
|
369
|
-
const n = new
|
|
370
|
+
const n = new _(0, 0);
|
|
370
371
|
if (window) {
|
|
371
372
|
const l = window.getComputedStyle(t);
|
|
372
373
|
return l && (n.width = parseInt(l.getPropertyValue("width"), 10), n.height = parseInt(l.getPropertyValue("height"), 10)), n;
|
|
@@ -374,26 +375,26 @@ class $ {
|
|
|
374
375
|
return null;
|
|
375
376
|
}
|
|
376
377
|
static copy(t) {
|
|
377
|
-
return new
|
|
378
|
+
return new _(0, 0).set(t);
|
|
378
379
|
}
|
|
379
380
|
set(t) {
|
|
380
381
|
return this.width = t.width, this.height = t.height, this;
|
|
381
382
|
}
|
|
382
383
|
}
|
|
383
|
-
function
|
|
384
|
-
const n = o(), l = o(), i = o(), s = o(),
|
|
385
|
-
function
|
|
384
|
+
function vt(e, t) {
|
|
385
|
+
const n = o(), l = o(), i = o(), s = o(), c = o(), u = o(), f = o(), m = o(), b = o(), p = o(), k = o(), w = o(e.resizeable), y = o(), B = o(e.draggable), O = o(!1);
|
|
386
|
+
function z() {
|
|
386
387
|
const r = l.value || document.body, v = window.getComputedStyle(r);
|
|
387
388
|
if (!v || !n.value)
|
|
388
389
|
return;
|
|
389
|
-
const
|
|
390
|
+
const S = F.getTransformInfo(n.value), E = {};
|
|
390
391
|
f.value && (E.deltaL = n.value.offsetLeft - f.value.x, E.deltaT = n.value.offsetTop - f.value.y);
|
|
391
392
|
const W = v.getPropertyValue("position");
|
|
392
|
-
E.width = r.clientWidth, E.height = r.clientHeight, E.pr = parseInt(v.getPropertyValue("padding-right"), 10), E.pb = parseInt(v.getPropertyValue("padding-bottom"), 10), E.position = v.getPropertyValue("position"), W === "static" && (r.style.position = "relative"), E.translateX =
|
|
393
|
+
E.width = r.clientWidth, E.height = r.clientHeight, E.pr = parseInt(v.getPropertyValue("padding-right"), 10), E.pb = parseInt(v.getPropertyValue("padding-bottom"), 10), E.position = v.getPropertyValue("position"), W === "static" && (r.style.position = "relative"), E.translateX = S.x, E.translateY = S.y, p.value = E;
|
|
393
394
|
}
|
|
394
395
|
function I(r) {
|
|
395
396
|
if (n.value) {
|
|
396
|
-
s.value =
|
|
397
|
+
s.value = _.getCurrent(n.value), c.value = F.getCurrent(n.value), u.value = s.value ? _.copy(s.value) : null, f.value = c.value ? F.copy(c.value) : null, z();
|
|
397
398
|
const v = r.target.getAttribute("type") || "";
|
|
398
399
|
m.value = {
|
|
399
400
|
n: !!v.match(/n/),
|
|
@@ -404,44 +405,44 @@ function ct(e, t) {
|
|
|
404
405
|
}
|
|
405
406
|
}
|
|
406
407
|
function H() {
|
|
407
|
-
var r, v,
|
|
408
|
+
var r, v, S, E;
|
|
408
409
|
if (n.value) {
|
|
409
410
|
const W = n.value;
|
|
410
|
-
m.value && ((m.value.n || m.value.s) && ((r = u.value) != null && r.height) && (W.style.height = u.value.height + "px"), (m.value.w || m.value.e) && ((v = u.value) != null && v.width) && (W.style.width = u.value.width + "px"), f.value && ((
|
|
411
|
+
m.value && ((m.value.n || m.value.s) && ((r = u.value) != null && r.height) && (W.style.height = u.value.height + "px"), (m.value.w || m.value.e) && ((v = u.value) != null && v.width) && (W.style.width = u.value.width + "px"), f.value && ((S = f.value) != null && S.x && (W.style.left = f.value.x + "px"), (E = f.value) != null && E.y && (W.style.top = f.value.y + "px")));
|
|
411
412
|
}
|
|
412
413
|
}
|
|
413
414
|
function A() {
|
|
414
415
|
const r = e.minHeight ? e.minHeight : 1, v = e.minWidth ? e.minWidth : 1;
|
|
415
|
-
u.value && f.value && m.value && s.value && (u.value.height < r && (u.value.height = r, m.value.n &&
|
|
416
|
+
u.value && f.value && m.value && s.value && (u.value.height < r && (u.value.height = r, m.value.n && c.value && (f.value.y = c.value.y + (s.value.height - r))), u.value.width < v && (u.value.width = v, m.value.w && c.value && (f.value.x = c.value.x + (s.value.width - v))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, c.value && m.value.n && (f.value.y = c.value.y + (s.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, m.value.w && c.value && (f.value.x = c.value.x + (s.value.width - e.maxWidth))));
|
|
416
417
|
}
|
|
417
418
|
function M() {
|
|
418
419
|
if (l.value) {
|
|
419
420
|
const r = p.value;
|
|
420
421
|
if (f.value && u.value && m.value && s.value) {
|
|
421
|
-
const v = r.width - r.pr - r.deltaL - r.translateX - f.value.x,
|
|
422
|
-
m.value.n && f.value.y + r.translateY < 0 &&
|
|
422
|
+
const v = r.width - r.pr - r.deltaL - r.translateX - f.value.x, S = r.height - r.pb - r.deltaT - r.translateY - f.value.y;
|
|
423
|
+
m.value.n && f.value.y + r.translateY < 0 && c.value && (f.value.y = -r.translateY, u.value.height = s.value.height + c.value.y + r.translateY), m.value.w && f.value.x + r.translateX < 0 && c.value && (f.value.x = -r.translateX, u.value.width = s.value.width + c.value.x + r.translateX), u.value.width > v && (u.value.width = v), u.value.height > S && (u.value.height = S);
|
|
423
424
|
}
|
|
424
425
|
}
|
|
425
426
|
}
|
|
426
427
|
function R(r) {
|
|
427
|
-
if (!i.value || !s.value || !
|
|
428
|
+
if (!i.value || !s.value || !c.value || !m.value)
|
|
428
429
|
return;
|
|
429
430
|
r.subtract(i.value);
|
|
430
|
-
const v = r.x,
|
|
431
|
-
m.value.n ? (f.value.y =
|
|
431
|
+
const v = r.x, S = r.y;
|
|
432
|
+
m.value.n ? (f.value.y = c.value.y + S, u.value.height = s.value.height - S) : m.value.s && (u.value.height = s.value.height + S), m.value.e ? u.value.width = s.value.width + v : m.value.w && (u.value.width = s.value.width - v, f.value.x = c.value.x + v), M(), A(), H();
|
|
432
433
|
}
|
|
433
|
-
function
|
|
434
|
+
function d(r) {
|
|
434
435
|
if (!b.value)
|
|
435
436
|
return;
|
|
436
437
|
const v = F.fromEvent(r);
|
|
437
438
|
v && R(v);
|
|
438
439
|
}
|
|
439
|
-
function
|
|
440
|
+
function C() {
|
|
440
441
|
if (n.value) {
|
|
441
442
|
const {
|
|
442
443
|
width: r,
|
|
443
444
|
height: v,
|
|
444
|
-
x:
|
|
445
|
+
x: S,
|
|
445
446
|
y: E
|
|
446
447
|
} = n.value.getBoundingClientRect(), W = F.getTransformInfo(n.value);
|
|
447
448
|
return {
|
|
@@ -450,7 +451,7 @@ function ct(e, t) {
|
|
|
450
451
|
height: v
|
|
451
452
|
},
|
|
452
453
|
position: {
|
|
453
|
-
x:
|
|
454
|
+
x: S - W.x,
|
|
454
455
|
y: E - W.y
|
|
455
456
|
}
|
|
456
457
|
};
|
|
@@ -459,19 +460,19 @@ function ct(e, t) {
|
|
|
459
460
|
}
|
|
460
461
|
function L(r) {
|
|
461
462
|
if (n.value) {
|
|
462
|
-
const v =
|
|
463
|
+
const v = C();
|
|
463
464
|
k.value = v;
|
|
464
465
|
}
|
|
465
|
-
i.value = void 0, s.value = null,
|
|
466
|
+
i.value = void 0, s.value = null, c.value = null, u.value = null, f.value = null, m.value = null, b.value = null, document.removeEventListener("mousemove", d), document.removeEventListener("mouseup", L);
|
|
466
467
|
}
|
|
467
|
-
function
|
|
468
|
-
document.addEventListener("mousemove",
|
|
468
|
+
function V() {
|
|
469
|
+
document.addEventListener("mousemove", d), document.addEventListener("mouseup", L);
|
|
469
470
|
}
|
|
470
471
|
function h(r) {
|
|
471
|
-
r instanceof MouseEvent && r.button === 2 || B.value && (document.body.click(), r.stopPropagation(), r.preventDefault(), i.value = F.fromEvent(r), b.value = r.target, I(r),
|
|
472
|
+
r instanceof MouseEvent && r.button === 2 || B.value && (document.body.click(), r.stopPropagation(), r.preventDefault(), i.value = F.fromEvent(r), b.value = r.target, I(r), V());
|
|
472
473
|
}
|
|
473
474
|
function j(r) {
|
|
474
|
-
return n.value = r,
|
|
475
|
+
return n.value = r, w.value && g(ue, null, [g("div", {
|
|
475
476
|
class: "fv-resizable-handle fv-resizable-n",
|
|
476
477
|
type: "n",
|
|
477
478
|
onMousedown: (v) => h(v)
|
|
@@ -505,10 +506,10 @@ function ct(e, t) {
|
|
|
505
506
|
onMousedown: (v) => h(v)
|
|
506
507
|
}, null)]);
|
|
507
508
|
}
|
|
508
|
-
function
|
|
509
|
+
function J(r = !0) {
|
|
509
510
|
document.body.click();
|
|
510
|
-
const v = l.value || document.body,
|
|
511
|
-
r && E && (y.value =
|
|
511
|
+
const v = l.value || document.body, S = _.getCurrent(v), E = n.value;
|
|
512
|
+
r && E && (y.value = C(), y.value.transform = E.style.transform), S && E && (u.value = S, u.value.height -= 14, u.value.width -= 14, E.style.height = u.value.height + "px", E.style.width = u.value.width + "px", E.style.left = "7px", E.style.top = "7px", E.style.transform = "", k.value = {
|
|
512
513
|
size: u.value,
|
|
513
514
|
position: {
|
|
514
515
|
x: 0,
|
|
@@ -519,127 +520,127 @@ function ct(e, t) {
|
|
|
519
520
|
function K() {
|
|
520
521
|
var r, v;
|
|
521
522
|
if (document.body.click(), y.value) {
|
|
522
|
-
const
|
|
523
|
+
const S = {
|
|
523
524
|
width: y.value.size.width || 0,
|
|
524
525
|
height: y.value.size.height || 0
|
|
525
526
|
}, E = {
|
|
526
|
-
x: (window.innerWidth -
|
|
527
|
-
y: (window.innerHeight -
|
|
527
|
+
x: (window.innerWidth - S.width) / 2,
|
|
528
|
+
y: (window.innerHeight - S.height) / 2
|
|
528
529
|
};
|
|
529
|
-
(r = u.value) == null || r.set(
|
|
530
|
+
(r = u.value) == null || r.set(S), (v = f.value) == null || v.set(E);
|
|
530
531
|
const W = n.value;
|
|
531
|
-
W.style.height =
|
|
532
|
-
size:
|
|
532
|
+
W.style.height = S.height + "px", W.style.width = S.width + "px", W.style.left = `${E.x}px`, W.style.top = `${E.y}px`, W.style.transform = "", k.value = {
|
|
533
|
+
size: S,
|
|
533
534
|
position: E
|
|
534
535
|
}, B.value = e.draggable, O.value = !1;
|
|
535
536
|
}
|
|
536
537
|
}
|
|
537
|
-
function
|
|
538
|
+
function G() {
|
|
538
539
|
if (n.value) {
|
|
539
|
-
const r =
|
|
540
|
+
const r = _.getCurrent(n.value);
|
|
540
541
|
if (r) {
|
|
541
542
|
const {
|
|
542
543
|
width: v,
|
|
543
|
-
height:
|
|
544
|
+
height: S
|
|
544
545
|
} = r;
|
|
545
|
-
n.value.style.left = `${(window.innerWidth - v) / 2}px`, n.value.style.top = `${(window.innerHeight -
|
|
546
|
+
n.value.style.left = `${(window.innerWidth - v) / 2}px`, n.value.style.top = `${(window.innerHeight - S) / 2}px`, n.value.style.transform = "";
|
|
546
547
|
}
|
|
547
548
|
}
|
|
548
549
|
}
|
|
549
550
|
function P() {
|
|
550
551
|
const r = () => {
|
|
551
|
-
O.value ?
|
|
552
|
+
O.value ? J(!1) : G(), document.body.click();
|
|
552
553
|
};
|
|
553
554
|
return window.addEventListener("resize", r), () => {
|
|
554
555
|
window.removeEventListener("resize", r);
|
|
555
556
|
};
|
|
556
557
|
}
|
|
557
|
-
const
|
|
558
|
+
const D = P();
|
|
558
559
|
return {
|
|
559
560
|
renderResizeBar: j,
|
|
560
561
|
boundingElement: l,
|
|
561
562
|
resizedEventParam: k,
|
|
562
|
-
maximize:
|
|
563
|
+
maximize: J,
|
|
563
564
|
restore: K,
|
|
564
565
|
allowDrag: B,
|
|
565
566
|
isMaximized: O,
|
|
566
|
-
unWindowResizeHandle:
|
|
567
|
-
moveToCenter:
|
|
567
|
+
unWindowResizeHandle: D,
|
|
568
|
+
moveToCenter: G
|
|
568
569
|
};
|
|
569
570
|
}
|
|
570
|
-
function
|
|
571
|
-
const l = o(), i = o(e.draggable), s = o(e.lockAxis),
|
|
572
|
-
U(() => n.value, (
|
|
573
|
-
|
|
571
|
+
function ht(e, t, n) {
|
|
572
|
+
const l = o(), i = o(e.draggable), s = o(e.lockAxis), c = o(), u = o(), f = o(!1), m = o(new F(0, 0)), b = o(new F(0, 0)), p = o(new F(0, 0)), k = o(new F(0, 0));
|
|
573
|
+
U(() => n.value, (d) => {
|
|
574
|
+
c.value.style.cursor = d ? "move" : "default";
|
|
574
575
|
});
|
|
575
|
-
function
|
|
576
|
-
if (
|
|
576
|
+
function w(d, C) {
|
|
577
|
+
if (C.tagName === "BUTTON")
|
|
577
578
|
return !1;
|
|
578
|
-
if (
|
|
579
|
+
if (C === d)
|
|
579
580
|
return !0;
|
|
580
|
-
for (const L in
|
|
581
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
581
|
+
for (const L in C.children)
|
|
582
|
+
if (Object.prototype.hasOwnProperty.call(C.children, L) && w(d, C.children[L]))
|
|
582
583
|
return !0;
|
|
583
584
|
return !1;
|
|
584
585
|
}
|
|
585
586
|
function y() {
|
|
586
|
-
var
|
|
587
|
-
let
|
|
588
|
-
s.value === "x" ? (
|
|
589
|
-
const L = `translate3d(${Math.round(
|
|
590
|
-
l.value && (l.value.style.transform = L), k.value.x =
|
|
587
|
+
var V, h;
|
|
588
|
+
let d = p.value.x + b.value.x, C = p.value.y + b.value.y;
|
|
589
|
+
s.value === "x" ? (d = ((V = m.value) == null ? void 0 : V.x) || 0, p.value.x = 0) : s.value === "y" && (C = ((h = m.value) == null ? void 0 : h.y) || 0, p.value.y = 0);
|
|
590
|
+
const L = `translate3d(${Math.round(d)}px, ${Math.round(C)}px, 0px)`;
|
|
591
|
+
l.value && (l.value.style.transform = L), k.value.x = d, k.value.y = C;
|
|
591
592
|
}
|
|
592
593
|
function B() {
|
|
593
594
|
if (!u.value || !l.value)
|
|
594
595
|
return null;
|
|
595
|
-
const
|
|
596
|
-
top:
|
|
597
|
-
right:
|
|
598
|
-
bottom:
|
|
599
|
-
left:
|
|
596
|
+
const d = u.value.getBoundingClientRect(), C = l.value.getBoundingClientRect(), L = {
|
|
597
|
+
top: d.top < C.top,
|
|
598
|
+
right: d.right > C.right,
|
|
599
|
+
bottom: d.bottom > C.bottom,
|
|
600
|
+
left: d.left < C.left
|
|
600
601
|
};
|
|
601
|
-
return L.top || (p.value.y -=
|
|
602
|
+
return L.top || (p.value.y -= C.top - d.top), L.bottom || (p.value.y -= C.bottom - d.bottom), L.right || (p.value.x -= C.right - d.right), L.left || (p.value.x -= C.left - d.left), y(), L;
|
|
602
603
|
}
|
|
603
|
-
function O(
|
|
604
|
-
|
|
604
|
+
function O(d) {
|
|
605
|
+
d && (m.value && d.subtract(m.value), p.value.set(d), y(), B());
|
|
605
606
|
}
|
|
606
|
-
function
|
|
607
|
-
f.value && i.value && (
|
|
607
|
+
function z(d) {
|
|
608
|
+
f.value && i.value && (d.stopPropagation(), d.preventDefault(), O(F.fromEvent(d, c.value)));
|
|
608
609
|
}
|
|
609
610
|
function I() {
|
|
610
|
-
var
|
|
611
|
-
f.value && (f.value = !1, b.value.add(p.value), p.value.reset(), (
|
|
611
|
+
var d;
|
|
612
|
+
f.value && (f.value = !1, b.value.add(p.value), p.value.reset(), (d = l.value) == null || d.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", z), document.removeEventListener("mouseup", I));
|
|
612
613
|
}
|
|
613
614
|
function H() {
|
|
614
|
-
!f.value &&
|
|
615
|
+
!f.value && c.value && (f.value = !0, c.value.classList.add("ng-dragging"), document.addEventListener("mousemove", z), document.addEventListener("mouseup", I));
|
|
615
616
|
}
|
|
616
617
|
function A() {
|
|
617
618
|
if (l.value) {
|
|
618
|
-
const
|
|
619
|
-
b.value.set(
|
|
619
|
+
const d = F.getTransformInfo(l.value);
|
|
620
|
+
b.value.set(d);
|
|
620
621
|
return;
|
|
621
622
|
}
|
|
622
623
|
b.value.reset();
|
|
623
624
|
}
|
|
624
|
-
function M(
|
|
625
|
-
if (!n.value ||
|
|
625
|
+
function M(d) {
|
|
626
|
+
if (!n.value || d instanceof MouseEvent && d.button === 2)
|
|
626
627
|
return;
|
|
627
|
-
const
|
|
628
|
-
|
|
628
|
+
const C = d.target || d.srcElement;
|
|
629
|
+
c.value !== void 0 && C && !w(C, c.value) || i.value !== !1 && (document.body.click(), d.stopPropagation(), d.preventDefault(), m.value = F.fromEvent(d, l.value), A(), H());
|
|
629
630
|
}
|
|
630
|
-
function R(
|
|
631
|
-
if (i.value &&
|
|
632
|
-
if (
|
|
633
|
-
|
|
631
|
+
function R(d, C, L) {
|
|
632
|
+
if (i.value && C) {
|
|
633
|
+
if (d)
|
|
634
|
+
c.value = d;
|
|
634
635
|
else if (e.dragHandle) {
|
|
635
636
|
if (e.dragHandle instanceof HTMLElement)
|
|
636
|
-
|
|
637
|
+
c.value = e.dragHandle;
|
|
637
638
|
else if (typeof e.dragHandle == "string") {
|
|
638
|
-
const
|
|
639
|
-
|
|
639
|
+
const V = C.querySelector(e.dragHandle);
|
|
640
|
+
V && (c.value = V);
|
|
640
641
|
}
|
|
641
642
|
}
|
|
642
|
-
l.value =
|
|
643
|
+
l.value = C, u.value = L, c.value ? (c.value.classList.add("ng-draggable"), c.value.addEventListener("mousedown", M)) : i.value = !1;
|
|
643
644
|
}
|
|
644
645
|
}
|
|
645
646
|
return {
|
|
@@ -647,7 +648,7 @@ function dt(e, t, n) {
|
|
|
647
648
|
resetTranslate: A
|
|
648
649
|
};
|
|
649
650
|
}
|
|
650
|
-
function
|
|
651
|
+
function ge(e, t) {
|
|
651
652
|
if (e) {
|
|
652
653
|
const n = (l) => {
|
|
653
654
|
l.key.toLowerCase() === e.toLowerCase() && t({ event: l, key: e });
|
|
@@ -657,19 +658,19 @@ function ve(e, t) {
|
|
|
657
658
|
};
|
|
658
659
|
}
|
|
659
660
|
}
|
|
660
|
-
function
|
|
661
|
+
function mt(e, t) {
|
|
661
662
|
const n = o(e.enableEsc);
|
|
662
663
|
let l = null;
|
|
663
|
-
return n.value ? (l =
|
|
664
|
+
return n.value ? (l = ge("Escape", (i) => {
|
|
664
665
|
t.emit("esc", { event: i.event, type: "esc" });
|
|
665
666
|
}), {
|
|
666
667
|
remove: l
|
|
667
668
|
}) : null;
|
|
668
669
|
}
|
|
669
|
-
function
|
|
670
|
+
function gt(e, t) {
|
|
670
671
|
const n = o(e.enableEnter);
|
|
671
672
|
let l = null;
|
|
672
|
-
return n.value ? (l =
|
|
673
|
+
return n.value ? (l = ge("Enter", (i) => {
|
|
673
674
|
t.emit("enter", { event: i.event, type: "enter" });
|
|
674
675
|
}), {
|
|
675
676
|
remove: l
|
|
@@ -677,11 +678,11 @@ function vt(e, t) {
|
|
|
677
678
|
}
|
|
678
679
|
const Q = /* @__PURE__ */ ie({
|
|
679
680
|
name: "FModal",
|
|
680
|
-
props:
|
|
681
|
+
props: ft,
|
|
681
682
|
emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
|
|
682
683
|
setup(e, t) {
|
|
683
|
-
const n = o(e.width || 300), l = o(e.height || 200), i = o(e.modelValue), s = o(""),
|
|
684
|
-
|
|
684
|
+
const n = o(e.width || 300), l = o(e.height || 200), i = o(e.modelValue), s = o(""), c = o(e.class), u = o(e.fitContent), f = o(e.showHeader), m = o(""), b = o(e.showCloseButton), p = o(e.showMaxButton), k = o(!1), w = o(e.dialogType), y = o(e.src), B = o(""), O = o(e.showButtons), z = o(e.title), I = o(e.containment || null), H = o();
|
|
685
|
+
z.value === "错误提示" && (z.value = te.getLocaleValue("messageBox.errorTitle"));
|
|
685
686
|
const A = o(!1);
|
|
686
687
|
function M(a, x) {
|
|
687
688
|
const X = x ? "accept" : "cancel";
|
|
@@ -696,48 +697,48 @@ const Q = /* @__PURE__ */ ie({
|
|
|
696
697
|
}
|
|
697
698
|
const R = [{
|
|
698
699
|
name: "cancel",
|
|
699
|
-
text:
|
|
700
|
+
text: te.getLocaleValue("messageBox.cancel") || "取消",
|
|
700
701
|
class: "btn btn-secondary",
|
|
701
702
|
handle: (a) => {
|
|
702
703
|
M(a, !1);
|
|
703
704
|
}
|
|
704
705
|
}, {
|
|
705
706
|
name: "accept",
|
|
706
|
-
text:
|
|
707
|
+
text: te.getLocaleValue("messageBox.ok") || "确定",
|
|
707
708
|
class: "btn btn-primary",
|
|
708
709
|
handle: (a) => {
|
|
709
710
|
M(a, !0);
|
|
710
711
|
}
|
|
711
|
-
}],
|
|
712
|
-
renderResizeBar:
|
|
712
|
+
}], d = o(e.buttons && e.buttons.length ? e.buttons : R), C = T(() => !!m.value), L = T(() => !!O.value && !!d.value), V = o(), h = o(), j = o(!1), {
|
|
713
|
+
renderResizeBar: J,
|
|
713
714
|
maximize: K,
|
|
714
|
-
restore:
|
|
715
|
+
restore: G,
|
|
715
716
|
boundingElement: P,
|
|
716
|
-
resizedEventParam:
|
|
717
|
+
resizedEventParam: D,
|
|
717
718
|
allowDrag: r,
|
|
718
719
|
unWindowResizeHandle: v,
|
|
719
|
-
moveToCenter:
|
|
720
|
-
} =
|
|
720
|
+
moveToCenter: S
|
|
721
|
+
} = vt(e), {
|
|
721
722
|
registerDraggle: E
|
|
722
|
-
} =
|
|
723
|
+
} = ht(e, t, r);
|
|
723
724
|
function W() {
|
|
724
725
|
return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
|
|
725
726
|
}
|
|
726
|
-
function
|
|
727
|
+
function we() {
|
|
727
728
|
const a = document.querySelectorAll(".farris-modal").length;
|
|
728
729
|
(!a || a - 1 <= 0) && document.body.classList.remove("modal-open"), H.value && H.value.classList.remove("show");
|
|
729
730
|
}
|
|
730
731
|
U(() => e.title, (a, x) => {
|
|
731
|
-
a !== x && (
|
|
732
|
+
a !== x && (z.value = a);
|
|
732
733
|
}), U(() => e.modelValue, (a, x) => {
|
|
733
734
|
a !== x && (i.value = a, i.value && e.draggable && Z(() => {
|
|
734
|
-
h.value && !I.value && (I.value = h.value.parentElement, P.value = I.value, E(
|
|
735
|
-
}), a || (I.value && (I.value = null),
|
|
735
|
+
h.value && !I.value && (I.value = h.value.parentElement, P.value = I.value, E(V.value, h.value, P.value), S());
|
|
736
|
+
}), a || (I.value && (I.value = null), we())), i.value ? A.value = W() : (j.value = !1, r.value = e.draggable);
|
|
736
737
|
}), U(() => e.showHeader, (a, x) => {
|
|
737
738
|
a !== x && (f.value = a);
|
|
738
739
|
}), U(() => e.showButtons, (a, x) => {
|
|
739
740
|
a !== x && (O.value = a);
|
|
740
|
-
}), U(() =>
|
|
741
|
+
}), U(() => D.value, (a, x) => {
|
|
741
742
|
const X = a || {}, N = x || {};
|
|
742
743
|
JSON.stringify(X) !== JSON.stringify(N) && t.emit("resize", {
|
|
743
744
|
newSize: a,
|
|
@@ -746,104 +747,107 @@ const Q = /* @__PURE__ */ ie({
|
|
|
746
747
|
});
|
|
747
748
|
}), U([() => e.width, () => e.height], (a, x) => {
|
|
748
749
|
(a[0] !== x[0] || a[1] !== x[1]) && (n.value = a[0] || 500, l.value = a[1] || 600);
|
|
750
|
+
}), U(() => e.class, (a, x) => {
|
|
751
|
+
c.value = a;
|
|
749
752
|
});
|
|
750
|
-
const
|
|
753
|
+
const ee = T(() => (i.value && document.body.classList.add("modal-open"), i.value)), Ce = T(() => {
|
|
751
754
|
var X;
|
|
752
755
|
const a = {
|
|
753
756
|
modal: !0,
|
|
754
757
|
"farris-modal": !0,
|
|
755
758
|
fade: !0
|
|
756
759
|
};
|
|
757
|
-
a["f-modal-fitContent"] = !!u.value, a.show = !!
|
|
760
|
+
a["f-modal-fitContent"] = !!u.value, a.show = !!ee.value;
|
|
758
761
|
const x = (X = e.maskClass) == null ? void 0 : X.split(" ");
|
|
759
|
-
return x == null || x.reduce((N,
|
|
760
|
-
}),
|
|
762
|
+
return x == null || x.reduce((N, Y) => (N[Y] = !0, N), a), a;
|
|
763
|
+
}), xe = T(() => {
|
|
761
764
|
var X;
|
|
762
765
|
const a = {
|
|
763
766
|
"modal-dialog": !0
|
|
764
|
-
}, x = (X =
|
|
765
|
-
return x == null || x.reduce((N,
|
|
766
|
-
}),
|
|
767
|
-
const a = document.documentElement.clientWidth, x = document.documentElement.clientHeight, X = Math.min(n.value, a), N = u.value ? "auto" : `${Math.min(l.value, x - 10)}px`,
|
|
767
|
+
}, x = (X = c.value) == null ? void 0 : X.split(" ");
|
|
768
|
+
return x == null || x.reduce((N, Y) => (N[Y] = !0, N), a), a;
|
|
769
|
+
}), re = () => et() && !e.isMessager, Be = T(() => {
|
|
770
|
+
const a = document.documentElement.clientWidth, x = document.documentElement.clientHeight, X = Math.min(n.value, a), N = u.value ? "auto" : `${Math.min(l.value, x - 10)}px`, Y = {
|
|
768
771
|
position: "absolute",
|
|
769
772
|
top: `${(window.innerHeight - parseInt(N === "auto" ? "0" : N)) / 2}px`,
|
|
770
773
|
left: `${(window.innerWidth - X) / 2}px`,
|
|
771
774
|
width: `${X}px`,
|
|
772
775
|
height: N
|
|
773
776
|
};
|
|
774
|
-
return e.mask || (
|
|
775
|
-
}),
|
|
777
|
+
return re() && (Y.top = "0px", Y.left = "0px", Y.width = `${window.innerWidth}px`, Y.height = `${window.innerHeight}px`), e.mask || (Y.pointerEvents = "auto"), Y;
|
|
778
|
+
}), ce = o(fe() || 1050), Me = T(() => {
|
|
776
779
|
const a = {
|
|
777
780
|
display: "block",
|
|
778
|
-
|
|
781
|
+
overflow: "hidden"
|
|
779
782
|
};
|
|
780
|
-
return e.mask || (a.pointerEvents = "none", a.backgroundColor = "transparent"), A.value && (a.backgroundColor = "transparent"), a;
|
|
781
|
-
}),
|
|
783
|
+
return e.mask || (a.pointerEvents = "none", a.backgroundColor = "transparent"), A.value && (a.backgroundColor = "transparent"), a.zIndex = ce.value, a;
|
|
784
|
+
}), ke = T(() => ({
|
|
782
785
|
"modal-content": !0,
|
|
783
|
-
"modal-content-has-header": f.value
|
|
784
|
-
|
|
786
|
+
"modal-content-has-header": f.value,
|
|
787
|
+
"is-mobile": re()
|
|
788
|
+
})), Te = T(() => {
|
|
785
789
|
const a = {
|
|
786
790
|
display: f.value ? "" : "none"
|
|
787
791
|
};
|
|
788
792
|
return a["pointer-events"] = r.value ? "auto" : "none", a;
|
|
789
|
-
}),
|
|
793
|
+
}), Ee = T(() => ({
|
|
790
794
|
"f-icon": !0,
|
|
791
795
|
modal_maximize: !0,
|
|
792
796
|
modalrevert: j.value
|
|
793
|
-
})),
|
|
797
|
+
})), Oe = T(() => ({
|
|
794
798
|
"modal-body": !0,
|
|
795
|
-
"f-utils-flex-column":
|
|
799
|
+
"f-utils-flex-column": w.value === "iframe",
|
|
796
800
|
"f-utils-fill": !0
|
|
797
801
|
}));
|
|
798
|
-
function
|
|
802
|
+
function Pe() {
|
|
799
803
|
return {
|
|
800
804
|
height: `${e.footerHeight || 60}px`
|
|
801
805
|
};
|
|
802
806
|
}
|
|
803
|
-
const
|
|
807
|
+
const Se = T(() => {
|
|
804
808
|
const a = {
|
|
805
809
|
textAlgin: B.value
|
|
806
|
-
}, x =
|
|
810
|
+
}, x = Pe();
|
|
807
811
|
return Object.assign(a, x);
|
|
808
812
|
});
|
|
809
|
-
function
|
|
813
|
+
function de(a) {
|
|
810
814
|
if (a == null || a.stopPropagation(), j.value) {
|
|
811
|
-
j.value = !1,
|
|
815
|
+
j.value = !1, G();
|
|
812
816
|
return;
|
|
813
817
|
}
|
|
814
818
|
K(), j.value = !0;
|
|
815
819
|
}
|
|
816
|
-
async function
|
|
820
|
+
async function ze(a, x) {
|
|
817
821
|
a.handle && await a.handle(x, a) && t.emit("closed", x);
|
|
818
822
|
}
|
|
819
|
-
function
|
|
820
|
-
a.width && (n.value = a.width), a.height && (l.value = a.height), a.buttons && (
|
|
823
|
+
function Ie(a) {
|
|
824
|
+
a.width && (n.value = a.width), a.height && (l.value = a.height), a.buttons && (d.value = a.buttons), a.title && (z.value = a.title);
|
|
821
825
|
}
|
|
822
826
|
let le = null, ae = null;
|
|
823
|
-
|
|
827
|
+
Ae(() => {
|
|
824
828
|
A.value = W();
|
|
825
|
-
}),
|
|
826
|
-
h.value && !I.value && (I.value = h.value.parentElement, P.value = I.value, E(
|
|
829
|
+
}), ne(() => {
|
|
830
|
+
h.value && !I.value && (I.value = h.value.parentElement, P.value = I.value, E(V.value, h.value, P.value)), ee.value && document.body.classList.add("modal-open"), le = mt(e, t), ae = gt(e, t);
|
|
827
831
|
}), se(() => {
|
|
828
832
|
v && v(), le && le.remove(), ae && ae.remove();
|
|
829
833
|
}), t.expose({
|
|
830
834
|
modalElementRef: h,
|
|
831
|
-
updateModalOptions:
|
|
835
|
+
updateModalOptions: Ie,
|
|
832
836
|
close: M,
|
|
833
|
-
maxDialog:
|
|
837
|
+
maxDialog: de,
|
|
834
838
|
isMaximized: j
|
|
835
839
|
});
|
|
836
|
-
function
|
|
840
|
+
function He() {
|
|
837
841
|
return g("ul", null, [k.value && g("li", {
|
|
838
842
|
class: "f-btn-icon f-bare"
|
|
839
843
|
}, [g("span", {
|
|
840
844
|
class: "f-icon modal_minimize"
|
|
841
845
|
}, null)]), p.value && g("li", {
|
|
842
|
-
onClick:
|
|
846
|
+
onClick: de,
|
|
843
847
|
class: "f-btn-icon f-bare",
|
|
844
848
|
style: "pointer-events: auto;"
|
|
845
849
|
}, [g("span", {
|
|
846
|
-
class:
|
|
850
|
+
class: Ee.value
|
|
847
851
|
}, null)]), b.value && g("li", {
|
|
848
852
|
class: "f-btn-icon f-bare",
|
|
849
853
|
onClick: (a) => M(a, !1),
|
|
@@ -852,11 +856,11 @@ const Q = /* @__PURE__ */ ie({
|
|
|
852
856
|
class: "f-icon modal_close"
|
|
853
857
|
}, null)])]);
|
|
854
858
|
}
|
|
855
|
-
function
|
|
859
|
+
function Re() {
|
|
856
860
|
return g("div", {
|
|
857
861
|
class: "modal-footer",
|
|
858
|
-
style:
|
|
859
|
-
}, [
|
|
862
|
+
style: Se.value
|
|
863
|
+
}, [d.value && d.value.map((a) => {
|
|
860
864
|
const x = o(a.disabled);
|
|
861
865
|
return g("button", {
|
|
862
866
|
name: a.name,
|
|
@@ -864,106 +868,108 @@ const Q = /* @__PURE__ */ ie({
|
|
|
864
868
|
disabled: x.value,
|
|
865
869
|
class: a.class + (a.iconClass ? " btn-icontext" : ""),
|
|
866
870
|
onClick: (X) => {
|
|
867
|
-
|
|
871
|
+
ze(a, X);
|
|
868
872
|
}
|
|
869
873
|
}, [!!a.iconClass && g("i", {
|
|
870
874
|
class: a.iconClass
|
|
871
875
|
}, null), a.text]);
|
|
872
876
|
})]);
|
|
873
877
|
}
|
|
874
|
-
function
|
|
878
|
+
function Le() {
|
|
875
879
|
return g("div", {
|
|
876
|
-
ref:
|
|
880
|
+
ref: V,
|
|
877
881
|
class: "modal-header",
|
|
878
|
-
style:
|
|
882
|
+
style: Te.value
|
|
879
883
|
}, [t.slots.headerTemplate ? t.slots.headerTemplate() : g("div", {
|
|
880
884
|
class: "modal-title"
|
|
881
|
-
}, [
|
|
885
|
+
}, [C.value && g("span", {
|
|
882
886
|
class: m.value,
|
|
883
887
|
style: "margin-right: 8px"
|
|
884
888
|
}, null), g("span", {
|
|
885
889
|
class: "modal-title-label"
|
|
886
|
-
}, [
|
|
890
|
+
}, [z.value])]), g("div", {
|
|
887
891
|
class: "actions"
|
|
888
|
-
}, [
|
|
892
|
+
}, [He()])]);
|
|
889
893
|
}
|
|
890
|
-
function
|
|
891
|
-
return t.slots.footerTemplate ? t.slots.footerTemplate() : L.value &&
|
|
894
|
+
function je() {
|
|
895
|
+
return t.slots.footerTemplate ? t.slots.footerTemplate() : L.value && Re();
|
|
892
896
|
}
|
|
893
|
-
function
|
|
897
|
+
function Fe(a) {
|
|
894
898
|
if (a.stopPropagation(), e.allowClickMaskToClose) {
|
|
895
899
|
if (a.target !== H.value)
|
|
896
900
|
return;
|
|
897
901
|
M(a, !1);
|
|
898
902
|
}
|
|
899
903
|
}
|
|
900
|
-
function
|
|
904
|
+
function We() {
|
|
901
905
|
var a, x;
|
|
902
906
|
return g("div", {
|
|
903
907
|
id: s.value,
|
|
904
|
-
class:
|
|
905
|
-
style:
|
|
908
|
+
class: xe.value,
|
|
909
|
+
style: Be.value,
|
|
906
910
|
ref: h
|
|
907
911
|
}, [g("div", {
|
|
908
|
-
class:
|
|
909
|
-
}, [f.value &&
|
|
910
|
-
class:
|
|
911
|
-
}, [(x = (a = t.slots).default) == null ? void 0 : x.call(a),
|
|
912
|
+
class: ke.value
|
|
913
|
+
}, [f.value && Le(), g("div", {
|
|
914
|
+
class: Oe.value
|
|
915
|
+
}, [(x = (a = t.slots).default) == null ? void 0 : x.call(a), w.value === "iframe" && g("iframe", {
|
|
912
916
|
title: s.value,
|
|
913
917
|
class: "f-utils-fill",
|
|
914
918
|
width: "100%",
|
|
915
919
|
frameborder: "0",
|
|
916
920
|
src: y.value
|
|
917
|
-
}, null)]),
|
|
921
|
+
}, null)]), je()]), !u.value && h.value && !j.value && J(h.value)]);
|
|
918
922
|
}
|
|
919
|
-
function
|
|
923
|
+
function Ve(a) {
|
|
920
924
|
return a || "body";
|
|
921
925
|
}
|
|
922
|
-
return () =>
|
|
923
|
-
|
|
926
|
+
return Xe(() => {
|
|
927
|
+
ee.value && (ce.value = fe() || 1050);
|
|
928
|
+
}), () => g(ve, {
|
|
929
|
+
to: Ve(e.host)
|
|
924
930
|
}, {
|
|
925
|
-
default: () => [
|
|
931
|
+
default: () => [ee.value && g(Ue, {
|
|
926
932
|
name: "fade",
|
|
927
933
|
appear: !0
|
|
928
934
|
}, {
|
|
929
935
|
default: () => [g("div", {
|
|
930
936
|
ref: H,
|
|
931
|
-
class:
|
|
932
|
-
style:
|
|
933
|
-
onClick:
|
|
934
|
-
}, [
|
|
937
|
+
class: Ce.value,
|
|
938
|
+
style: Me.value,
|
|
939
|
+
onClick: Fe
|
|
940
|
+
}, [We()])]
|
|
935
941
|
})]
|
|
936
942
|
});
|
|
937
943
|
}
|
|
938
944
|
});
|
|
939
|
-
function
|
|
945
|
+
function ye(e) {
|
|
940
946
|
if (e.content && e.content.render)
|
|
941
947
|
return e.content.render;
|
|
942
948
|
if (e.render && typeof e.render == "function")
|
|
943
949
|
return e.render;
|
|
944
950
|
}
|
|
945
|
-
function
|
|
951
|
+
function yt(e) {
|
|
946
952
|
const t = document.createElement("div");
|
|
947
953
|
t.style.display = "contents";
|
|
948
|
-
const n =
|
|
954
|
+
const n = he({
|
|
949
955
|
setup(l, i) {
|
|
950
956
|
se(() => {
|
|
951
957
|
document.body.removeChild(t);
|
|
952
958
|
});
|
|
953
|
-
const s = o(),
|
|
954
|
-
}),
|
|
959
|
+
const s = o(), c = o(e.class || ""), u = o(!!e.showButtons), f = o(!!e.showHeader), m = o(e.showCloseButton == null ? !0 : e.showCloseButton), b = o(!0), p = o(e.title || ""), k = e.acceptCallback || (() => {
|
|
960
|
+
}), w = e.rejectCallback || (() => {
|
|
955
961
|
}), y = e.closedCallback || ((H) => {
|
|
956
962
|
}), B = e.resizeHandle || ((H) => {
|
|
957
963
|
}), O = e.stopMoveHandle || ((H) => {
|
|
958
|
-
}),
|
|
964
|
+
}), z = ye(e), I = (H) => {
|
|
959
965
|
b.value = !1, n.unmount(), y(H);
|
|
960
966
|
};
|
|
961
|
-
return
|
|
967
|
+
return ne(() => {
|
|
962
968
|
}), i.expose({
|
|
963
969
|
modalRef: s
|
|
964
970
|
}), () => g(Q, {
|
|
965
971
|
ref: s,
|
|
966
|
-
class:
|
|
972
|
+
class: c.value,
|
|
967
973
|
modelValue: b.value,
|
|
968
974
|
"onUpdate:modelValue": (H) => b.value = H,
|
|
969
975
|
title: p.value,
|
|
@@ -975,26 +981,26 @@ function ht(e) {
|
|
|
975
981
|
"show-close-button": m.value,
|
|
976
982
|
"show-max-button": !1,
|
|
977
983
|
onAccept: k,
|
|
978
|
-
onCancel:
|
|
984
|
+
onCancel: w,
|
|
979
985
|
fitContent: e.fitContent == null ? !0 : e.fitContent,
|
|
980
986
|
onClosed: I,
|
|
981
987
|
onResize: B,
|
|
982
988
|
onStopMove: O
|
|
983
989
|
}, {
|
|
984
|
-
default: () => [
|
|
990
|
+
default: () => [z && z(n)]
|
|
985
991
|
});
|
|
986
992
|
}
|
|
987
993
|
});
|
|
988
|
-
return document.body.appendChild(t), n.use(
|
|
994
|
+
return document.body.appendChild(t), n.use(te.i18n), n.mount(t), n;
|
|
989
995
|
}
|
|
990
|
-
class
|
|
996
|
+
class bt {
|
|
991
997
|
constructor(t) {
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
+
$(this, "appContext", null);
|
|
999
|
+
$(this, "modalRef", o());
|
|
1000
|
+
$(this, "activeModalIndex", o(0));
|
|
1001
|
+
$(this, "modalRefs", {});
|
|
1002
|
+
$(this, "isUseEscCloseModal", o(!1));
|
|
1003
|
+
$(this, "activeModalInstance", T(() => this.modalRefs[this.activeModalIndex.value]));
|
|
998
1004
|
this.app = t, this.appContext = t ? t._context : null;
|
|
999
1005
|
}
|
|
1000
1006
|
getCurrentModal() {
|
|
@@ -1019,7 +1025,7 @@ class mt {
|
|
|
1019
1025
|
showButtons: !0,
|
|
1020
1026
|
showHeader: !0
|
|
1021
1027
|
}, t);
|
|
1022
|
-
return
|
|
1028
|
+
return yt(n);
|
|
1023
1029
|
}
|
|
1024
1030
|
close(t) {
|
|
1025
1031
|
var n, l;
|
|
@@ -1028,26 +1034,26 @@ class mt {
|
|
|
1028
1034
|
open(t) {
|
|
1029
1035
|
const n = document.createDocumentFragment();
|
|
1030
1036
|
t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
|
|
1031
|
-
const l =
|
|
1037
|
+
const l = Ke(Object.assign({
|
|
1032
1038
|
title: "",
|
|
1033
1039
|
showButtons: !0,
|
|
1034
1040
|
showHeader: !0
|
|
1035
1041
|
}, t)), i = o(!0), s = l.value.acceptCallback || (() => {
|
|
1036
|
-
}),
|
|
1042
|
+
}), c = l.value.rejectCallback || (() => {
|
|
1037
1043
|
}), u = l.value.closedCallback || ((M, R) => {
|
|
1038
1044
|
}), f = l.value.resizeHandle || ((M) => {
|
|
1039
1045
|
}), m = t.stopMoveHandle || ((M) => {
|
|
1040
1046
|
});
|
|
1041
1047
|
let b;
|
|
1042
|
-
const p =
|
|
1043
|
-
var
|
|
1048
|
+
const p = ye(l.value), k = (M) => {
|
|
1049
|
+
var d;
|
|
1044
1050
|
i.value = !1;
|
|
1045
|
-
const R = (
|
|
1051
|
+
const R = (d = M == null ? void 0 : M.target) == null ? void 0 : d.classList.contains("modal_close");
|
|
1046
1052
|
u(M, this.isUseEscCloseModal.value ? "esc" : R ? "icon" : "button");
|
|
1047
|
-
},
|
|
1053
|
+
}, w = (M) => {
|
|
1048
1054
|
k(M), b && Z(() => {
|
|
1049
1055
|
if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], oe(null, n), b = null, this.modalRef.value = null, this.modalRefs) {
|
|
1050
|
-
const R = Object.keys(this.modalRefs).map((
|
|
1056
|
+
const R = Object.keys(this.modalRefs).map((d) => Number(d));
|
|
1051
1057
|
R.length > 0 ? this.activeModalIndex.value = Math.max(...R) : this.activeModalIndex.value = 0;
|
|
1052
1058
|
}
|
|
1053
1059
|
this.isUseEscCloseModal.value = !1;
|
|
@@ -1058,16 +1064,17 @@ class mt {
|
|
|
1058
1064
|
}, {
|
|
1059
1065
|
width: B,
|
|
1060
1066
|
height: O
|
|
1061
|
-
} = l.value,
|
|
1062
|
-
Object.assign(l.value,
|
|
1063
|
-
const I = () => g(Q,
|
|
1067
|
+
} = l.value, z = this.adaptToWindow(B || 500, O || 320);
|
|
1068
|
+
Object.assign(l.value, z);
|
|
1069
|
+
const I = () => g(Q, me({
|
|
1064
1070
|
ref: this.modalRef,
|
|
1065
1071
|
modelValue: i.value,
|
|
1066
1072
|
"onUpdate:modelValue": (M) => i.value = M
|
|
1067
1073
|
}, l.value, {
|
|
1074
|
+
isMessager: l.value.class && l.value.class.indexOf("modal-message") > -1,
|
|
1068
1075
|
onAccept: s,
|
|
1069
|
-
onCancel:
|
|
1070
|
-
onClosed:
|
|
1076
|
+
onCancel: c,
|
|
1077
|
+
onClosed: w,
|
|
1071
1078
|
onResize: f,
|
|
1072
1079
|
onEsc: y,
|
|
1073
1080
|
onStopMove: m
|
|
@@ -1075,7 +1082,7 @@ class mt {
|
|
|
1075
1082
|
default: () => [p && p(this.app)]
|
|
1076
1083
|
});
|
|
1077
1084
|
return b = ((M) => {
|
|
1078
|
-
const R =
|
|
1085
|
+
const R = Ye(I, M);
|
|
1079
1086
|
return R.appContext = this.appContext, oe(R, n), R;
|
|
1080
1087
|
})({
|
|
1081
1088
|
...l.value
|
|
@@ -1085,23 +1092,23 @@ class mt {
|
|
|
1085
1092
|
l.value = {
|
|
1086
1093
|
...l.value,
|
|
1087
1094
|
...M
|
|
1088
|
-
}, b && oe(
|
|
1095
|
+
}, b && oe(Ge(b, {
|
|
1089
1096
|
...l
|
|
1090
1097
|
}), n);
|
|
1091
1098
|
},
|
|
1092
|
-
destroy:
|
|
1099
|
+
destroy: w,
|
|
1093
1100
|
modalRef: this.activeModalInstance,
|
|
1094
1101
|
close: () => this.close()
|
|
1095
1102
|
};
|
|
1096
1103
|
}
|
|
1097
1104
|
}
|
|
1098
|
-
const
|
|
1105
|
+
const be = Symbol("FModalService");
|
|
1099
1106
|
Q.install = (e) => {
|
|
1100
1107
|
e.component(Q.name, Q);
|
|
1101
|
-
const t = new
|
|
1102
|
-
e.provide(
|
|
1108
|
+
const t = new bt(e);
|
|
1109
|
+
e.provide(be, t), e.provide("FModalService", t);
|
|
1103
1110
|
};
|
|
1104
|
-
function
|
|
1111
|
+
function pe(e, t) {
|
|
1105
1112
|
function n() {
|
|
1106
1113
|
const l = e.beforeOpen || e.beforeClickButton || null;
|
|
1107
1114
|
let i = Promise.resolve(!0);
|
|
@@ -1115,30 +1122,30 @@ function ge(e, t) {
|
|
|
1115
1122
|
}
|
|
1116
1123
|
return { judgeCanOpen: n };
|
|
1117
1124
|
}
|
|
1118
|
-
function
|
|
1119
|
-
const s = o(e.buttonBehavior),
|
|
1125
|
+
function pt(e, t, n, l, i) {
|
|
1126
|
+
const s = o(e.buttonBehavior), c = o(e.popupOnInput), u = T(() => ({
|
|
1120
1127
|
"input-group-append": !0,
|
|
1121
1128
|
"append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
|
|
1122
|
-
})), { judgeCanOpen: f } =
|
|
1129
|
+
})), { judgeCanOpen: f } = pe(e, i), m = T(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), b = $e(be, null), p = o();
|
|
1123
1130
|
async function k(B) {
|
|
1124
1131
|
if (await f() && m.value) {
|
|
1125
1132
|
const O = !!t.slots.default;
|
|
1126
1133
|
if (s.value === "Modal") {
|
|
1127
|
-
const
|
|
1128
|
-
...
|
|
1134
|
+
const z = e.modalOptions, I = b == null ? void 0 : b.open({
|
|
1135
|
+
...z,
|
|
1129
1136
|
render: () => t.slots.default && t.slots.default()
|
|
1130
1137
|
});
|
|
1131
1138
|
p.value = I == null ? void 0 : I.modalRef;
|
|
1132
1139
|
}
|
|
1133
|
-
s.value === "Overlay" &&
|
|
1140
|
+
s.value === "Overlay" && dt.show({
|
|
1134
1141
|
// host: buttonEditRef.value,
|
|
1135
1142
|
host: document.body,
|
|
1136
1143
|
backgroundColor: "rgba(0,0,0,.15)",
|
|
1137
1144
|
render: () => t.slots.default && t.slots.default()
|
|
1138
|
-
}), O && s.value === "Popup" && l.togglePopup(!0), O &&
|
|
1145
|
+
}), O && s.value === "Popup" && l.togglePopup(!0), O && c.value && l.hidePopup(), t.emit("clickButton", { origin: B, value: e.modelValue });
|
|
1139
1146
|
}
|
|
1140
1147
|
}
|
|
1141
|
-
function
|
|
1148
|
+
function w(B) {
|
|
1142
1149
|
t.emit("mouseEnterIcon", B);
|
|
1143
1150
|
}
|
|
1144
1151
|
function y(B) {
|
|
@@ -1147,22 +1154,22 @@ function gt(e, t, n, l, i) {
|
|
|
1147
1154
|
return {
|
|
1148
1155
|
buttonGroupClass: u,
|
|
1149
1156
|
onClickButton: k,
|
|
1150
|
-
onMouseEnterButton:
|
|
1157
|
+
onMouseEnterButton: w,
|
|
1151
1158
|
onMouseLeaveButton: y,
|
|
1152
1159
|
modalRef: p
|
|
1153
1160
|
};
|
|
1154
1161
|
}
|
|
1155
|
-
function
|
|
1156
|
-
const
|
|
1162
|
+
function wt(e, t, n, l, i, s) {
|
|
1163
|
+
const c = o(!1), u = T(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: f, hasClearClass: m } = s;
|
|
1157
1164
|
function b(y) {
|
|
1158
|
-
|
|
1165
|
+
c.value = y, m.value = y;
|
|
1159
1166
|
}
|
|
1160
1167
|
U(i, () => {
|
|
1161
1168
|
b(!!i.value);
|
|
1162
1169
|
});
|
|
1163
1170
|
function p(y) {
|
|
1164
1171
|
const B = !e.readonly && !e.disable && e.editable, O = !e.editable;
|
|
1165
|
-
y.stopPropagation(), (B || O) && (f(""), i.value = "", b(!
|
|
1172
|
+
y.stopPropagation(), (B || O) && (f(""), i.value = "", b(!c.value), t.emit("clear"));
|
|
1166
1173
|
}
|
|
1167
1174
|
function k(y) {
|
|
1168
1175
|
if (u.value) {
|
|
@@ -1173,19 +1180,19 @@ function yt(e, t, n, l, i, s) {
|
|
|
1173
1180
|
!e.disable && !e.readonly && b(!0);
|
|
1174
1181
|
}
|
|
1175
1182
|
}
|
|
1176
|
-
function
|
|
1183
|
+
function w(y) {
|
|
1177
1184
|
u.value && b(!1);
|
|
1178
1185
|
}
|
|
1179
1186
|
return {
|
|
1180
1187
|
enableClearButton: u,
|
|
1181
|
-
showClearButton:
|
|
1188
|
+
showClearButton: c,
|
|
1182
1189
|
onClearValue: p,
|
|
1183
1190
|
onMouseEnterTextBox: k,
|
|
1184
|
-
onMouseLeaveTextBox:
|
|
1191
|
+
onMouseLeaveTextBox: w
|
|
1185
1192
|
};
|
|
1186
1193
|
}
|
|
1187
|
-
function
|
|
1188
|
-
const s = T(() => e.popupOnInput),
|
|
1194
|
+
function Ct(e, t, n, l, i) {
|
|
1195
|
+
const s = T(() => e.popupOnInput), c = T(() => e.popupOnFocus), { shouldPopupContent: u, closeAllPopover: f } = i, m = o(!1), b = T(() => e.enableTitle ? n.value : ""), p = T(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), k = T(() => e.readonly || !e.editable), w = o(!1), y = T(() => !e.disable && w.value), B = T(() => ({
|
|
1189
1196
|
"text-left": e.textAlign === "left",
|
|
1190
1197
|
"text-center": e.textAlign === "center",
|
|
1191
1198
|
"text-right": e.textAlign === "right",
|
|
@@ -1199,11 +1206,11 @@ function bt(e, t, n, l, i) {
|
|
|
1199
1206
|
"f-state-focus": y.value,
|
|
1200
1207
|
"input-group--has-clear": e.enableClear && m.value
|
|
1201
1208
|
}));
|
|
1202
|
-
function
|
|
1209
|
+
function z(h, j = !0) {
|
|
1203
1210
|
n.value = h, j && (t.emit("change", h), t.emit("update:modelValue", h));
|
|
1204
1211
|
}
|
|
1205
1212
|
function I(h) {
|
|
1206
|
-
u.value = !1,
|
|
1213
|
+
u.value = !1, z(h, !0);
|
|
1207
1214
|
}
|
|
1208
1215
|
U(
|
|
1209
1216
|
() => e.modelValue,
|
|
@@ -1212,31 +1219,31 @@ function bt(e, t, n, l, i) {
|
|
|
1212
1219
|
}
|
|
1213
1220
|
);
|
|
1214
1221
|
function H(h) {
|
|
1215
|
-
|
|
1222
|
+
w.value = !1, t.emit("blur", h), h.stopPropagation();
|
|
1216
1223
|
}
|
|
1217
1224
|
function A(h) {
|
|
1218
1225
|
t.emit("click", h), f(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && i.togglePopup();
|
|
1219
1226
|
}
|
|
1220
1227
|
function M(h) {
|
|
1221
|
-
!e.disable && !e.readonly && (
|
|
1228
|
+
!e.disable && !e.readonly && (w.value = !0, k.value || (t.emit("focus", h), c.value && !u.value && i.popup()));
|
|
1222
1229
|
}
|
|
1223
1230
|
function R(h) {
|
|
1224
1231
|
t.emit("input", h);
|
|
1225
1232
|
const j = h.target.value;
|
|
1226
|
-
l.value = j, n.value !== j &&
|
|
1233
|
+
l.value = j, n.value !== j && z(j, e.updateOn === "change"), s.value && !u.value && i.popup();
|
|
1227
1234
|
}
|
|
1228
|
-
function
|
|
1235
|
+
function d(h) {
|
|
1229
1236
|
h.target.tagName !== "INPUT" && h.preventDefault(), h.stopPropagation();
|
|
1230
1237
|
}
|
|
1231
|
-
function
|
|
1238
|
+
function C(h) {
|
|
1232
1239
|
t.emit("keydown", h);
|
|
1233
1240
|
}
|
|
1234
1241
|
function L(h) {
|
|
1235
|
-
h.key === "Enter" && (s.value ||
|
|
1242
|
+
h.key === "Enter" && (s.value || c.value) && i.hidePopup(), t.emit("keyup", h);
|
|
1236
1243
|
}
|
|
1237
|
-
function
|
|
1244
|
+
function V(h) {
|
|
1238
1245
|
const j = h.target.value;
|
|
1239
|
-
h.stopPropagation(),
|
|
1246
|
+
h.stopPropagation(), z(j);
|
|
1240
1247
|
}
|
|
1241
1248
|
return {
|
|
1242
1249
|
hasFocusedTextBox: y,
|
|
@@ -1246,47 +1253,47 @@ function bt(e, t, n, l, i) {
|
|
|
1246
1253
|
textBoxTitle: b,
|
|
1247
1254
|
inputGroupClass: O,
|
|
1248
1255
|
hasClearClass: m,
|
|
1249
|
-
changeTextBoxValue:
|
|
1256
|
+
changeTextBoxValue: z,
|
|
1250
1257
|
commitValue: I,
|
|
1251
1258
|
onBlurTextBox: H,
|
|
1252
1259
|
onClickTextBox: A,
|
|
1253
1260
|
onFocusTextBox: M,
|
|
1254
1261
|
onInput: R,
|
|
1255
|
-
onKeyDownTextBox:
|
|
1262
|
+
onKeyDownTextBox: C,
|
|
1256
1263
|
onKeyUpTextBox: L,
|
|
1257
|
-
onMouseDownTextBox:
|
|
1258
|
-
onTextBoxValueChange:
|
|
1264
|
+
onMouseDownTextBox: d,
|
|
1265
|
+
onTextBoxValueChange: V
|
|
1259
1266
|
};
|
|
1260
1267
|
}
|
|
1261
1268
|
const q = "FarrisVue_PopoverInstancesKey";
|
|
1262
|
-
function
|
|
1263
|
-
const i = o(), s = o(!1), { judgeCanOpen:
|
|
1264
|
-
U(() => i.value, (
|
|
1265
|
-
window[q] = window[q] || /* @__PURE__ */ new WeakMap(),
|
|
1269
|
+
function xt(e, t, n, l) {
|
|
1270
|
+
const i = o(), s = o(!1), { judgeCanOpen: c } = pe(e, l);
|
|
1271
|
+
U(() => i.value, (w, y) => {
|
|
1272
|
+
window[q] = window[q] || /* @__PURE__ */ new WeakMap(), w ? window[q].set(n.value, w) : window[q].delete(n.value);
|
|
1266
1273
|
});
|
|
1267
1274
|
function u() {
|
|
1268
1275
|
if (window[q]) {
|
|
1269
|
-
const
|
|
1276
|
+
const w = window[q];
|
|
1270
1277
|
document.querySelectorAll(".f-button-edit,.v-popover").forEach((y) => {
|
|
1271
|
-
const B =
|
|
1278
|
+
const B = w.get(y);
|
|
1272
1279
|
B && y !== n.value && !n.value.closest(".popover-fitcontent") && B.hide();
|
|
1273
1280
|
});
|
|
1274
1281
|
}
|
|
1275
1282
|
}
|
|
1276
1283
|
function f() {
|
|
1277
|
-
const
|
|
1278
|
-
|
|
1284
|
+
const w = i.value;
|
|
1285
|
+
w && w.show(n.value);
|
|
1279
1286
|
}
|
|
1280
|
-
async function m(
|
|
1287
|
+
async function m(w = !1) {
|
|
1281
1288
|
if (!!t.slots.default) {
|
|
1282
|
-
if (!
|
|
1289
|
+
if (!w && !s.value && !await c())
|
|
1283
1290
|
return;
|
|
1284
1291
|
s.value = !s.value, s.value && (await Z(), f());
|
|
1285
1292
|
}
|
|
1286
1293
|
}
|
|
1287
|
-
async function b(
|
|
1294
|
+
async function b(w = !1) {
|
|
1288
1295
|
if (!!t.slots.default) {
|
|
1289
|
-
if (!
|
|
1296
|
+
if (!w && !await c())
|
|
1290
1297
|
return;
|
|
1291
1298
|
s.value = !0, await Z(), f();
|
|
1292
1299
|
}
|
|
@@ -1301,39 +1308,39 @@ function pt(e, t, n, l) {
|
|
|
1301
1308
|
}
|
|
1302
1309
|
return { hidePopup: p, showPopup: k, popup: b, shouldPopupContent: s, togglePopup: m, popoverRef: i, closeAllPopover: u };
|
|
1303
1310
|
}
|
|
1304
|
-
function
|
|
1311
|
+
function Bt(e, t, n) {
|
|
1305
1312
|
const l = o(), {
|
|
1306
1313
|
isTextBoxReadonly: i,
|
|
1307
1314
|
textBoxClass: s,
|
|
1308
|
-
textBoxPlaceholder:
|
|
1315
|
+
textBoxPlaceholder: c,
|
|
1309
1316
|
textBoxTitle: u,
|
|
1310
1317
|
onBlurTextBox: f,
|
|
1311
1318
|
onClickTextBox: m,
|
|
1312
1319
|
onFocusTextBox: b,
|
|
1313
1320
|
onInput: p,
|
|
1314
1321
|
onKeyDownTextBox: k,
|
|
1315
|
-
onKeyUpTextBox:
|
|
1322
|
+
onKeyUpTextBox: w,
|
|
1316
1323
|
onMouseDownTextBox: y,
|
|
1317
1324
|
onTextBoxValueChange: B
|
|
1318
1325
|
} = n, O = o(e.id), {
|
|
1319
|
-
uuid:
|
|
1320
|
-
} =
|
|
1326
|
+
uuid: z
|
|
1327
|
+
} = tt(), I = T(() => ({
|
|
1321
1328
|
// 'border-top-right-radius': '6px',
|
|
1322
1329
|
// 'border-bottom-right-radius': '6px'
|
|
1323
1330
|
}));
|
|
1324
|
-
|
|
1325
|
-
var
|
|
1326
|
-
e.selectOnCreated && ((
|
|
1331
|
+
ne(() => {
|
|
1332
|
+
var d, C;
|
|
1333
|
+
e.selectOnCreated && ((d = l.value) == null || d.select()), e.focusOnCreated && ((C = l.value) == null || C.focus({
|
|
1327
1334
|
preventScroll: !0
|
|
1328
|
-
})), O.value || (O.value = "button-edit_" +
|
|
1335
|
+
})), O.value || (O.value = "button-edit_" + z(8)), O.value = O.value + "-textbox";
|
|
1329
1336
|
});
|
|
1330
|
-
const H = o(!1), A = (
|
|
1331
|
-
|
|
1332
|
-
}, M = (
|
|
1333
|
-
|
|
1337
|
+
const H = o(!1), A = (d) => {
|
|
1338
|
+
d.preventDefault(), H.value = !0;
|
|
1339
|
+
}, M = (d) => {
|
|
1340
|
+
d.preventDefault(), H.value = !1, p(d);
|
|
1334
1341
|
};
|
|
1335
|
-
function R(
|
|
1336
|
-
H.value || p(
|
|
1342
|
+
function R(d) {
|
|
1343
|
+
H.value || p(d);
|
|
1337
1344
|
}
|
|
1338
1345
|
return () => g("input", {
|
|
1339
1346
|
id: e.id ? e.id + "-textbox" : void 0,
|
|
@@ -1345,7 +1352,7 @@ function Ct(e, t, n) {
|
|
|
1345
1352
|
disabled: e.disable,
|
|
1346
1353
|
maxlength: e.maxLength,
|
|
1347
1354
|
minlength: e.minLength,
|
|
1348
|
-
placeholder:
|
|
1355
|
+
placeholder: c.value,
|
|
1349
1356
|
readonly: i.value,
|
|
1350
1357
|
tabindex: e.tabIndex,
|
|
1351
1358
|
title: u.value,
|
|
@@ -1357,16 +1364,16 @@ function Ct(e, t, n) {
|
|
|
1357
1364
|
onFocus: b,
|
|
1358
1365
|
onInput: R,
|
|
1359
1366
|
onKeydown: k,
|
|
1360
|
-
onKeyup:
|
|
1367
|
+
onKeyup: w,
|
|
1361
1368
|
onMousedown: y,
|
|
1362
1369
|
onCompositionend: M,
|
|
1363
1370
|
onCompositionstart: A
|
|
1364
1371
|
}, null);
|
|
1365
1372
|
}
|
|
1366
|
-
function
|
|
1373
|
+
function Mt(e, t, n) {
|
|
1367
1374
|
const l = o(e.separator), i = T(() => e.readonly || e.disable), {
|
|
1368
1375
|
changeTextBoxValue: s,
|
|
1369
|
-
onFocusTextBox:
|
|
1376
|
+
onFocusTextBox: c,
|
|
1370
1377
|
onBlurTextBox: u,
|
|
1371
1378
|
onClickTextBox: f,
|
|
1372
1379
|
textBoxPlaceholder: m
|
|
@@ -1381,15 +1388,15 @@ function wt(e, t, n) {
|
|
|
1381
1388
|
l.value = y;
|
|
1382
1389
|
});
|
|
1383
1390
|
const k = o(!e.disable && !e.readonly);
|
|
1384
|
-
U([() => e.disable, () => e.readonly], ([y, B], [O,
|
|
1391
|
+
U([() => e.disable, () => e.readonly], ([y, B], [O, z]) => {
|
|
1385
1392
|
k.value = !y && !B;
|
|
1386
1393
|
});
|
|
1387
|
-
function
|
|
1394
|
+
function w(y) {
|
|
1388
1395
|
f(y);
|
|
1389
1396
|
}
|
|
1390
|
-
return () => g(
|
|
1397
|
+
return () => g(lt, {
|
|
1391
1398
|
tabindex: e.tabIndex,
|
|
1392
|
-
onFocus:
|
|
1399
|
+
onFocus: c,
|
|
1393
1400
|
onBlur: u,
|
|
1394
1401
|
id: `${e.id}-tag-editor`,
|
|
1395
1402
|
class: "form-control",
|
|
@@ -1399,58 +1406,58 @@ function wt(e, t, n) {
|
|
|
1399
1406
|
showInput: !0,
|
|
1400
1407
|
disable: i.value,
|
|
1401
1408
|
onChange: p,
|
|
1402
|
-
onClick:
|
|
1409
|
+
onClick: w
|
|
1403
1410
|
}, null);
|
|
1404
1411
|
}
|
|
1405
|
-
function
|
|
1412
|
+
function kt(e, t, n, l) {
|
|
1406
1413
|
const {
|
|
1407
1414
|
buttonGroupClass: i,
|
|
1408
1415
|
onClickButton: s,
|
|
1409
|
-
onMouseEnterButton:
|
|
1416
|
+
onMouseEnterButton: c,
|
|
1410
1417
|
onMouseLeaveButton: u
|
|
1411
1418
|
} = n, {
|
|
1412
1419
|
enableClearButton: f,
|
|
1413
1420
|
showClearButton: m,
|
|
1414
1421
|
onClearValue: b
|
|
1415
|
-
} = l, p = o(), k =
|
|
1422
|
+
} = l, p = o(), k = at((y) => {
|
|
1416
1423
|
s(y);
|
|
1417
|
-
}, e.buttonBehavior === "Modal" ? 0 : 200),
|
|
1424
|
+
}, e.buttonBehavior === "Modal" ? 0 : 200), w = () => {
|
|
1418
1425
|
t.emit("beforeClearValue");
|
|
1419
1426
|
};
|
|
1420
1427
|
return {
|
|
1421
1428
|
renderButtonGroup: () => g("div", {
|
|
1422
1429
|
id: e.id ? `${e.id}-button-group` : void 0,
|
|
1423
1430
|
class: i.value
|
|
1424
|
-
}, [f.value &&
|
|
1431
|
+
}, [f.value && qe(g("span", {
|
|
1425
1432
|
class: "input-group-text input-group-clear",
|
|
1426
1433
|
onClick: b,
|
|
1427
|
-
onMousedown:
|
|
1434
|
+
onMousedown: w
|
|
1428
1435
|
}, [g("i", {
|
|
1429
1436
|
class: "f-icon modal_close"
|
|
1430
|
-
}, null)]), [[
|
|
1437
|
+
}, null)]), [[_e, m.value]]), t.slots.buttonContent ? g("span", {
|
|
1431
1438
|
class: "input-group-text input-group-append-button",
|
|
1432
1439
|
onClick: k,
|
|
1433
|
-
onMouseenter:
|
|
1440
|
+
onMouseenter: c,
|
|
1434
1441
|
onMouseleave: u
|
|
1435
1442
|
}, [t.slots.buttonContent()]) : e.buttonContent ? g("span", {
|
|
1436
1443
|
class: "input-group-text input-group-append-button",
|
|
1437
1444
|
innerHTML: e.buttonContent,
|
|
1438
1445
|
ref: p,
|
|
1439
1446
|
onClick: (y) => k(y),
|
|
1440
|
-
onMouseenter:
|
|
1447
|
+
onMouseenter: c,
|
|
1441
1448
|
onMouseleave: u
|
|
1442
1449
|
}, null) : null]),
|
|
1443
1450
|
buttonHandleElement: p
|
|
1444
1451
|
};
|
|
1445
1452
|
}
|
|
1446
|
-
function
|
|
1453
|
+
function Tt(e, t, n) {
|
|
1447
1454
|
const l = o(e.popupMinWidth), {
|
|
1448
1455
|
hidePopup: i,
|
|
1449
1456
|
popoverRef: s
|
|
1450
|
-
} = n,
|
|
1457
|
+
} = n, c = () => {
|
|
1451
1458
|
t.emit("shown");
|
|
1452
1459
|
};
|
|
1453
|
-
return () => g(
|
|
1460
|
+
return () => g(ot, {
|
|
1454
1461
|
id: `${e.id}-popover`,
|
|
1455
1462
|
ref: s,
|
|
1456
1463
|
placement: e.placement,
|
|
@@ -1462,7 +1469,7 @@ function Bt(e, t, n) {
|
|
|
1462
1469
|
class: e.popupClass,
|
|
1463
1470
|
offsetX: e.popupOffsetX,
|
|
1464
1471
|
onHidden: i,
|
|
1465
|
-
onShown:
|
|
1472
|
+
onShown: c,
|
|
1466
1473
|
beforeClose: e.beforeClosePopup,
|
|
1467
1474
|
limitContentBySpace: e.limitContentBySpace
|
|
1468
1475
|
}, {
|
|
@@ -1472,22 +1479,22 @@ function Bt(e, t, n) {
|
|
|
1472
1479
|
}
|
|
1473
1480
|
});
|
|
1474
1481
|
}
|
|
1475
|
-
const
|
|
1482
|
+
const Et = /* @__PURE__ */ ie({
|
|
1476
1483
|
name: "FButtonEdit",
|
|
1477
|
-
props:
|
|
1484
|
+
props: ut,
|
|
1478
1485
|
emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue", "beforeClearValue"],
|
|
1479
1486
|
setup(e, t) {
|
|
1480
|
-
const n = o(), l = o(e.customClass), i = o(e.modelValue), s =
|
|
1481
|
-
shouldPopupContent:
|
|
1487
|
+
const n = o(), l = o(e.customClass), i = o(e.modelValue), s = xt(e, t, n, i), {
|
|
1488
|
+
shouldPopupContent: c,
|
|
1482
1489
|
hidePopup: u,
|
|
1483
1490
|
showPopup: f,
|
|
1484
1491
|
togglePopup: m
|
|
1485
|
-
} = s, b =
|
|
1486
|
-
hasFocusedTextBox:
|
|
1492
|
+
} = s, b = pt(e, t, n, s, i), p = o(""), k = Ct(e, t, i, p, s), {
|
|
1493
|
+
hasFocusedTextBox: w,
|
|
1487
1494
|
commitValue: y,
|
|
1488
1495
|
inputGroupClass: B
|
|
1489
|
-
} = k, O =
|
|
1490
|
-
onMouseEnterTextBox:
|
|
1496
|
+
} = k, O = wt(e, t, i, w, p, k), {
|
|
1497
|
+
onMouseEnterTextBox: z,
|
|
1491
1498
|
onMouseLeaveTextBox: I
|
|
1492
1499
|
} = O, H = o(!1), A = T(() => {
|
|
1493
1500
|
const P = {
|
|
@@ -1495,47 +1502,47 @@ const Mt = /* @__PURE__ */ ie({
|
|
|
1495
1502
|
"f-cmp-inputgroup": !0,
|
|
1496
1503
|
"f-button-edit-nowrap": !e.wrapText
|
|
1497
1504
|
};
|
|
1498
|
-
return l.value && l.value.split(" ").reduce((
|
|
1505
|
+
return l.value && l.value.split(" ").reduce((D, r) => (D[r] = !0, D), P), P;
|
|
1499
1506
|
}), M = T(() => ({
|
|
1500
1507
|
overflow: e.wrapText ? "hidden" : ""
|
|
1501
1508
|
})), R = T(() => ({
|
|
1502
1509
|
// paddingLeft: '3px',
|
|
1503
1510
|
// backgroundColor: '#fff'
|
|
1504
1511
|
}));
|
|
1505
|
-
function
|
|
1512
|
+
function d() {
|
|
1506
1513
|
if (!e.multiSelect || e.inputType !== "tag" || !n.value)
|
|
1507
1514
|
return 0;
|
|
1508
1515
|
let P = 0;
|
|
1509
|
-
const
|
|
1510
|
-
return
|
|
1516
|
+
const D = Array.from(n.value.querySelectorAll(".farris-tag-item"));
|
|
1517
|
+
return D && D.length && (P = D.map((r) => r.offsetTop).filter((r) => r > 20).length), P;
|
|
1511
1518
|
}
|
|
1512
|
-
const
|
|
1513
|
-
|
|
1514
|
-
|
|
1519
|
+
const C = o(d());
|
|
1520
|
+
Je(() => {
|
|
1521
|
+
C.value = d();
|
|
1515
1522
|
});
|
|
1516
1523
|
function L() {
|
|
1517
|
-
return e.multiSelect && e.inputType === "tag" ? () => g(ue, null, [
|
|
1524
|
+
return e.multiSelect && e.inputType === "tag" ? () => g(ue, null, [Mt(e, i, k)(), !!C.value && g("div", {
|
|
1518
1525
|
class: "d-flex flex-row mr-2 more-tags",
|
|
1519
1526
|
"more-tags": !0
|
|
1520
1527
|
}, [g("span", {
|
|
1521
1528
|
class: "multi--more-text"
|
|
1522
|
-
}, [
|
|
1529
|
+
}, [Qe("+"), C.value])])]) : Bt(e, i, k);
|
|
1523
1530
|
}
|
|
1524
|
-
let
|
|
1531
|
+
let V = L();
|
|
1525
1532
|
U([() => e.multiSelect, () => e.inputType], () => {
|
|
1526
|
-
|
|
1533
|
+
V = L();
|
|
1527
1534
|
});
|
|
1528
1535
|
const {
|
|
1529
1536
|
renderButtonGroup: h,
|
|
1530
1537
|
buttonHandleElement: j
|
|
1531
|
-
} =
|
|
1538
|
+
} = kt(e, t, b, O), J = Tt(e, t, s), K = o(c.value), G = {
|
|
1532
1539
|
displayText: p,
|
|
1533
1540
|
commitValue: y,
|
|
1534
1541
|
elementRef: n,
|
|
1535
1542
|
hidePopup: u,
|
|
1536
1543
|
showPopup: f,
|
|
1537
1544
|
popoverRef: s.popoverRef,
|
|
1538
|
-
shouldPopupContent:
|
|
1545
|
+
shouldPopupContent: c,
|
|
1539
1546
|
togglePopup: m,
|
|
1540
1547
|
openDialog: () => {
|
|
1541
1548
|
j.value && e.buttonBehavior === "Modal" && j.value.click();
|
|
@@ -1549,17 +1556,17 @@ const Mt = /* @__PURE__ */ ie({
|
|
|
1549
1556
|
return (P = n.value) == null ? void 0 : P.querySelector("input");
|
|
1550
1557
|
},
|
|
1551
1558
|
forceClosePopup: () => {
|
|
1552
|
-
K.value = !1, H.value = !0,
|
|
1559
|
+
K.value = !1, H.value = !0, c.value = !1;
|
|
1553
1560
|
}
|
|
1554
1561
|
};
|
|
1555
|
-
return
|
|
1556
|
-
n.value.componentInstance =
|
|
1562
|
+
return ne(() => {
|
|
1563
|
+
n.value.componentInstance = G, window.onresize = () => {
|
|
1557
1564
|
document.body.click();
|
|
1558
1565
|
};
|
|
1559
|
-
}),
|
|
1566
|
+
}), Ze(() => {
|
|
1560
1567
|
var P;
|
|
1561
1568
|
window.onresize = null, (P = window[q]) == null || P.delete(n.value);
|
|
1562
|
-
}), t.expose(
|
|
1569
|
+
}), t.expose(G), U(() => c.value, async (P, D) => {
|
|
1563
1570
|
if (H.value) {
|
|
1564
1571
|
K.value = P, H.value = !1;
|
|
1565
1572
|
return;
|
|
@@ -1567,16 +1574,16 @@ const Mt = /* @__PURE__ */ ie({
|
|
|
1567
1574
|
if (!P && e.beforeClosePopup && typeof e.beforeClosePopup == "function") {
|
|
1568
1575
|
try {
|
|
1569
1576
|
const r = await e.beforeClosePopup();
|
|
1570
|
-
K.value = !r, (!r || e.readonly) && (
|
|
1577
|
+
K.value = !r, (!r || e.readonly) && (c.value = !0);
|
|
1571
1578
|
} catch (r) {
|
|
1572
|
-
console.error("Error in beforeClosePopup:", r), K.value =
|
|
1579
|
+
console.error("Error in beforeClosePopup:", r), K.value = D, c.value = D;
|
|
1573
1580
|
}
|
|
1574
1581
|
return;
|
|
1575
1582
|
}
|
|
1576
1583
|
K.value = P;
|
|
1577
1584
|
}), () => {
|
|
1578
|
-
var P,
|
|
1579
|
-
return g(ue, null, [g("div",
|
|
1585
|
+
var P, D;
|
|
1586
|
+
return g(ue, null, [g("div", me(t.attrs, {
|
|
1580
1587
|
ref: n,
|
|
1581
1588
|
class: A.value,
|
|
1582
1589
|
id: e.id ? e.id : void 0,
|
|
@@ -1585,14 +1592,14 @@ const Mt = /* @__PURE__ */ ie({
|
|
|
1585
1592
|
id: e.id ? `${e.id}-input-group` : void 0,
|
|
1586
1593
|
class: B.value,
|
|
1587
1594
|
style: R.value,
|
|
1588
|
-
onMouseenter:
|
|
1595
|
+
onMouseenter: z,
|
|
1589
1596
|
onMouseleave: I
|
|
1590
|
-
}, [(
|
|
1597
|
+
}, [(D = (P = t.slots).precontent) == null ? void 0 : D.call(P), V(), h()])]), K.value && J()]);
|
|
1591
1598
|
};
|
|
1592
1599
|
}
|
|
1593
|
-
}),
|
|
1600
|
+
}), jt = nt(Et);
|
|
1594
1601
|
export {
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1602
|
+
Et as FButtonEdit,
|
|
1603
|
+
ut as buttonEditProps,
|
|
1604
|
+
jt as default
|
|
1598
1605
|
};
|