@farris/ui-vue 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/farris.all.esm.js +36212 -34520
- package/farris.all.umd.cjs +26 -0
- package/package.json +2 -3
- package/style.css +1 -1
- package/accordion/index.esm.js +0 -530
- package/accordion/index.umd.js +0 -1
- package/accordion/package.json +0 -8
- package/avatar/index.esm.js +0 -478
- package/avatar/index.umd.js +0 -1
- package/avatar/package.json +0 -8
- package/border-editor/index.esm.js +0 -5223
- package/border-editor/index.umd.js +0 -3
- package/border-editor/package.json +0 -8
- package/border-editor/style.css +0 -1
- package/button/index.esm.js +0 -825
- package/button/index.umd.js +0 -1
- package/button/package.json +0 -8
- package/button-edit/index.esm.js +0 -1807
- package/button-edit/index.umd.js +0 -1
- package/button-edit/package.json +0 -8
- package/calculator/index.esm.js +0 -315
- package/calculator/index.umd.js +0 -1
- package/calculator/package.json +0 -8
- package/calendar/index.esm.js +0 -1110
- package/calendar/index.umd.js +0 -1
- package/calendar/package.json +0 -8
- package/capsule/index.esm.js +0 -518
- package/capsule/index.umd.js +0 -1
- package/capsule/package.json +0 -8
- package/checkbox/index.esm.js +0 -489
- package/checkbox/index.umd.js +0 -1
- package/checkbox/package.json +0 -8
- package/color-picker/index.esm.js +0 -2081
- package/color-picker/index.umd.js +0 -3
- package/color-picker/package.json +0 -8
- package/combo-list/index.esm.js +0 -2931
- package/combo-list/index.umd.js +0 -1
- package/combo-list/package.json +0 -8
- package/combo-tree/index.esm.js +0 -20799
- package/combo-tree/index.umd.js +0 -16
- package/combo-tree/package.json +0 -8
- package/combo-tree/style.css +0 -1
- package/common/index.esm.js +0 -1656
- package/common/index.umd.js +0 -1
- package/common/package.json +0 -8
- package/component/index.esm.js +0 -1022
- package/component/index.umd.js +0 -1
- package/component/package.json +0 -8
- package/condition/index.esm.js +0 -43141
- package/condition/index.umd.js +0 -19
- package/condition/package.json +0 -8
- package/condition/style.css +0 -1
- package/content-container/index.esm.js +0 -1139
- package/content-container/index.umd.js +0 -1
- package/content-container/package.json +0 -8
- package/data-grid/index.esm.js +0 -43296
- package/data-grid/index.umd.js +0 -19
- package/data-grid/package.json +0 -8
- package/data-grid/style.css +0 -1
- package/data-view/index.esm.js +0 -43195
- package/data-view/index.umd.js +0 -19
- package/data-view/package.json +0 -8
- package/data-view/style.css +0 -1
- package/date-picker/index.esm.js +0 -4865
- package/date-picker/index.umd.js +0 -1
- package/date-picker/package.json +0 -8
- package/designer/src/composition/dom-entity.d.ts +0 -545
- package/discussion-editor/index.esm.js +0 -3788
- package/discussion-editor/index.umd.js +0 -3
- package/discussion-editor/package.json +0 -8
- package/discussion-editor/style.css +0 -1
- package/discussion-list/index.esm.js +0 -111
- package/discussion-list/index.umd.js +0 -1
- package/discussion-list/package.json +0 -8
- package/discussion-list/style.css +0 -1
- package/dropdown/index.esm.js +0 -645
- package/dropdown/index.umd.js +0 -1
- package/dropdown/package.json +0 -8
- package/dynamic-form/index.esm.js +0 -43136
- package/dynamic-form/index.umd.js +0 -19
- package/dynamic-form/package.json +0 -8
- package/dynamic-form/style.css +0 -1
- package/dynamic-resolver/index.esm.js +0 -103
- package/dynamic-resolver/index.umd.js +0 -1
- package/dynamic-resolver/package.json +0 -8
- package/dynamic-view/index.esm.js +0 -43176
- package/dynamic-view/index.umd.js +0 -19
- package/dynamic-view/package.json +0 -8
- package/dynamic-view/style.css +0 -1
- package/enum-editor/index.esm.js +0 -2612
- package/enum-editor/index.umd.js +0 -1
- package/enum-editor/package.json +0 -8
- package/events-editor/index.esm.js +0 -1600
- package/events-editor/index.umd.js +0 -1
- package/events-editor/package.json +0 -8
- package/events-editor/style.css +0 -1
- package/farris.all.umd.js +0 -26
- package/field-selector/index.esm.js +0 -44391
- package/field-selector/index.umd.js +0 -19
- package/field-selector/package.json +0 -8
- package/field-selector/style.css +0 -1
- package/filter-bar/index.esm.js +0 -926
- package/filter-bar/index.umd.js +0 -1
- package/filter-bar/package.json +0 -8
- package/image-cropper/index.esm.js +0 -1121
- package/image-cropper/index.umd.js +0 -1
- package/image-cropper/package.json +0 -8
- package/input-group/index.esm.js +0 -831
- package/input-group/index.umd.js +0 -1
- package/input-group/package.json +0 -8
- package/layout/index.esm.js +0 -834
- package/layout/index.umd.js +0 -1
- package/layout/package.json +0 -8
- package/list-nav/index.esm.js +0 -1145
- package/list-nav/index.umd.js +0 -1
- package/list-nav/package.json +0 -8
- package/list-view/index.esm.js +0 -1191
- package/list-view/index.umd.js +0 -1
- package/list-view/package.json +0 -8
- package/loading/index.esm.js +0 -142
- package/loading/index.umd.js +0 -8
- package/loading/package.json +0 -8
- package/locale/index.esm.js +0 -1868
- package/locale/index.umd.js +0 -1
- package/locale/package.json +0 -8
- package/message-box/index.esm.js +0 -578
- package/message-box/index.umd.js +0 -1
- package/message-box/package.json +0 -8
- package/modal/index.esm.js +0 -218
- package/modal/index.umd.js +0 -1
- package/modal/package.json +0 -8
- package/nav/index.esm.js +0 -1728
- package/nav/index.umd.js +0 -3
- package/nav/package.json +0 -8
- package/notify/index.esm.js +0 -258
- package/notify/index.umd.js +0 -1
- package/notify/package.json +0 -8
- package/order/index.esm.js +0 -4151
- package/order/index.umd.js +0 -1
- package/order/package.json +0 -8
- package/page-footer/index.esm.js +0 -1356
- package/page-footer/index.umd.js +0 -1
- package/page-footer/package.json +0 -8
- package/page-header/index.esm.js +0 -2141
- package/page-header/index.umd.js +0 -1
- package/page-header/package.json +0 -8
- package/pagination/index.esm.js +0 -1565
- package/pagination/index.umd.js +0 -1
- package/pagination/package.json +0 -8
- package/popover/index.esm.js +0 -224
- package/popover/index.umd.js +0 -1
- package/popover/package.json +0 -8
- package/progress/index.esm.js +0 -668
- package/progress/index.umd.js +0 -3
- package/progress/package.json +0 -8
- package/property-panel/index.esm.js +0 -43139
- package/property-panel/index.umd.js +0 -19
- package/property-panel/package.json +0 -8
- package/property-panel/style.css +0 -1
- package/radio-group/index.esm.js +0 -448
- package/radio-group/index.umd.js +0 -1
- package/radio-group/package.json +0 -8
- package/rate/index.esm.js +0 -612
- package/rate/index.umd.js +0 -1
- package/rate/package.json +0 -8
- package/response-layout/index.esm.js +0 -483
- package/response-layout/index.umd.js +0 -1
- package/response-layout/package.json +0 -8
- package/response-layout-editor/index.esm.js +0 -3780
- package/response-layout-editor/index.umd.js +0 -1
- package/response-layout-editor/package.json +0 -8
- package/response-layout-editor/style.css +0 -1
- package/response-toolbar/index.esm.js +0 -1526
- package/response-toolbar/index.umd.js +0 -1
- package/response-toolbar/package.json +0 -8
- package/search-box/index.esm.js +0 -456
- package/search-box/index.umd.js +0 -1
- package/search-box/package.json +0 -8
- package/section/index.esm.js +0 -2201
- package/section/index.umd.js +0 -1
- package/section/package.json +0 -8
- package/smoke-detector/index.esm.js +0 -383
- package/smoke-detector/index.umd.js +0 -1
- package/smoke-detector/package.json +0 -8
- package/smoke-detector/style.css +0 -1
- package/spacing-editor/index.esm.js +0 -3484
- package/spacing-editor/index.umd.js +0 -1
- package/spacing-editor/package.json +0 -8
- package/spacing-editor/style.css +0 -1
- package/splitter/index.esm.js +0 -842
- package/splitter/index.umd.js +0 -1
- package/splitter/package.json +0 -8
- package/splitter/style.css +0 -1
- package/step/index.esm.js +0 -553
- package/step/index.umd.js +0 -1
- package/step/package.json +0 -8
- package/switch/index.esm.js +0 -447
- package/switch/index.umd.js +0 -1
- package/switch/package.json +0 -8
- package/tabs/index.esm.js +0 -4688
- package/tabs/index.umd.js +0 -1
- package/tabs/package.json +0 -8
- package/tags/index.esm.js +0 -810
- package/tags/index.umd.js +0 -1
- package/tags/package.json +0 -8
- package/text/index.esm.js +0 -366
- package/text/index.umd.js +0 -1
- package/text/package.json +0 -8
- package/time-picker/index.esm.js +0 -2147
- package/time-picker/index.umd.js +0 -1
- package/time-picker/package.json +0 -8
- package/tooltip/index.esm.js +0 -260
- package/tooltip/index.umd.js +0 -1
- package/tooltip/package.json +0 -8
- package/transfer/index.esm.js +0 -1180
- package/transfer/index.umd.js +0 -1
- package/transfer/package.json +0 -8
- package/tree-grid/index.esm.js +0 -44354
- package/tree-grid/index.umd.js +0 -19
- package/tree-grid/package.json +0 -8
- package/tree-grid/style.css +0 -1
- package/tree-view/index.esm.js +0 -19597
- package/tree-view/index.umd.js +0 -16
- package/tree-view/package.json +0 -8
- package/tree-view/style.css +0 -1
- package/types/accordion/index.d.ts +0 -27
- package/types/accordion/src/accordion.component.d.ts +0 -6
- package/types/accordion/src/accordion.props.d.ts +0 -19
- package/types/accordion/src/components/accordion-item.component.d.ts +0 -6
- package/types/accordion/src/components/accordion-item.props.d.ts +0 -19
- package/types/accordion/src/designer/accordion-item.design.component.d.ts +0 -6
- package/types/accordion/src/designer/accordion.design.component.d.ts +0 -6
- package/types/accordion/src/schema/schema-mapper.d.ts +0 -2
- package/types/accordion/src/schema/schema-resolver.d.ts +0 -2
- package/types/avatar/index.d.ts +0 -25
- package/types/avatar/src/avatar.component.d.ts +0 -6
- package/types/avatar/src/avatar.props.d.ts +0 -19
- package/types/avatar/src/composition/types.d.ts +0 -31
- package/types/avatar/src/composition/use-image.d.ts +0 -19
- package/types/avatar/src/designer/avatar.design.component.d.ts +0 -6
- package/types/avatar/src/schema/schema-mapper.d.ts +0 -2
- package/types/avatar/src/schema/schema-resolver.d.ts +0 -2
- package/types/border-editor/index.d.ts +0 -23
- package/types/border-editor/src/border-editor.component.d.ts +0 -6
- package/types/border-editor/src/border-editor.props.d.ts +0 -3
- package/types/border-editor/src/components/border-editor-basic.component.d.ts +0 -5
- package/types/border-editor/src/components/border-editor-radius.component.d.ts +0 -5
- package/types/button/index.d.ts +0 -27
- package/types/button/src/button-group.component.d.ts +0 -6
- package/types/button/src/button-group.props.d.ts +0 -20
- package/types/button/src/button.component.d.ts +0 -42
- package/types/button/src/button.props.d.ts +0 -53
- package/types/button/src/components/button-group-dropdown-menu.component.d.ts +0 -6
- package/types/button/src/components/button-group-dropdown.component.d.ts +0 -5
- package/types/button/src/composition/types.d.ts +0 -35
- package/types/button/src/composition/use-button.d.ts +0 -19
- package/types/button/src/composition/use-icon.d.ts +0 -3
- package/types/button/src/composition/use-popup.d.ts +0 -19
- package/types/button/src/designer/button-group.design.component.d.ts +0 -6
- package/types/button/src/schema/schema-mapper.d.ts +0 -2
- package/types/button/src/schema/schema-resolver.d.ts +0 -2
- package/types/button-edit/index.d.ts +0 -25
- package/types/button-edit/src/button-edit.component.d.ts +0 -6
- package/types/button-edit/src/button-edit.props.d.ts +0 -21
- package/types/button-edit/src/components/button-group.component.d.ts +0 -3
- package/types/button-edit/src/components/popup-container.component.d.ts +0 -4
- package/types/button-edit/src/components/text-edit.component.d.ts +0 -4
- package/types/button-edit/src/composition/types.d.ts +0 -128
- package/types/button-edit/src/composition/use-button.d.ts +0 -19
- package/types/button-edit/src/composition/use-clear.d.ts +0 -19
- package/types/button-edit/src/composition/use-popup.d.ts +0 -4
- package/types/button-edit/src/composition/use-text-box.d.ts +0 -19
- package/types/button-edit/src/designer/button-edit.design.component.d.ts +0 -6
- package/types/button-edit/src/schema/schema-mapper.d.ts +0 -2
- package/types/button-edit/src/schema/schema-resolver.d.ts +0 -2
- package/types/calculator/index.d.ts +0 -23
- package/types/calculator/src/calculator.component.d.ts +0 -8
- package/types/calculator/src/calculator.props.d.ts +0 -23
- package/types/calculator/src/composition/use-calculator.d.ts +0 -26
- package/types/calendar/index.d.ts +0 -23
- package/types/calendar/src/calendar.props.d.ts +0 -4
- package/types/calendar/src/components/day/day-view.props.d.ts +0 -34
- package/types/calendar/src/components/header/header.props.d.ts +0 -24
- package/types/calendar/src/components/month/month-view.props.d.ts +0 -69
- package/types/calendar/src/components/week/week-view.component.d.ts +0 -106
- package/types/calendar/src/components/week/week-view.props.d.ts +0 -51
- package/types/calendar/src/composition/types.d.ts +0 -57
- package/types/calendar/src/composition/use-calendar.d.ts +0 -2
- package/types/calendar/src/composition/use-compare.d.ts +0 -2
- package/types/calendar/src/composition/use-date.d.ts +0 -2
- package/types/calendar/src/composition/use-event.d.ts +0 -30
- package/types/calendar/src/composition/use-month.d.ts +0 -2
- package/types/calendar/src/schema/schema-mapper.d.ts +0 -2
- package/types/calendar/src/schema/schema-resolver.d.ts +0 -2
- package/types/calendar/src/types/calendar.d.ts +0 -13
- package/types/calendar/src/types/common.d.ts +0 -32
- package/types/calendar/src/types/month-view.d.ts +0 -23
- package/types/calendar/src/types/month.d.ts +0 -20
- package/types/calendar/src/types/schedule.d.ts +0 -35
- package/types/capsule/index.d.ts +0 -10
- package/types/capsule/src/capsule.props.d.ts +0 -39
- package/types/capsule/src/schema/schema-mapper.d.ts +0 -2
- package/types/capsule/src/schema/schema-resolver.d.ts +0 -2
- package/types/checkbox/index.d.ts +0 -25
- package/types/checkbox/src/checkbox-group.component.d.ts +0 -6
- package/types/checkbox/src/checkbox-group.props.d.ts +0 -19
- package/types/checkbox/src/checkbox.props.d.ts +0 -44
- package/types/checkbox/src/composition/types.d.ts +0 -46
- package/types/checkbox/src/composition/use-checkbox-group.d.ts +0 -19
- package/types/checkbox/src/designer/checkbox-group.design.component.d.ts +0 -6
- package/types/checkbox/src/schema/schema-mapper.d.ts +0 -2
- package/types/checkbox/src/schema/schema-resolver.d.ts +0 -2
- package/types/color-picker/index.d.ts +0 -24
- package/types/color-picker/src/color-picker.component.d.ts +0 -6
- package/types/color-picker/src/color-picker.props.d.ts +0 -22
- package/types/color-picker/src/composition/class/base-color.class.d.ts +0 -3
- package/types/color-picker/src/composition/class/cmyk.class.d.ts +0 -21
- package/types/color-picker/src/composition/class/colors-table.class.d.ts +0 -154
- package/types/color-picker/src/composition/class/control.class.d.ts +0 -47
- package/types/color-picker/src/composition/class/helper.functions.d.ts +0 -4
- package/types/color-picker/src/composition/class/hsla.class.d.ts +0 -20
- package/types/color-picker/src/composition/class/hsva.class.d.ts +0 -21
- package/types/color-picker/src/composition/class/rgba.class.d.ts +0 -21
- package/types/color-picker/src/composition/component/alpha.d.ts +0 -34
- package/types/color-picker/src/composition/component/hue.d.ts +0 -40
- package/types/color-picker/src/composition/component/preset.d.ts +0 -43
- package/types/color-picker/src/composition/component/props/alpha.props.d.ts +0 -16
- package/types/color-picker/src/composition/component/props/hue.props.d.ts +0 -19
- package/types/color-picker/src/composition/component/props/preset.props.d.ts +0 -20
- package/types/color-picker/src/composition/component/props/sv-panel.props.d.ts +0 -20
- package/types/color-picker/src/composition/component/sv-panel.d.ts +0 -43
- package/types/color-picker/src/designer/color-picker.design.component.d.ts +0 -6
- package/types/color-picker/src/schema/schema-mapper.d.ts +0 -2
- package/types/color-picker/src/schema/schema-resolver.d.ts +0 -2
- package/types/combo-list/index.d.ts +0 -25
- package/types/combo-list/src/combo-list.props.d.ts +0 -59
- package/types/combo-list/src/components/list-container.props.d.ts +0 -65
- package/types/combo-list/src/composition/types.d.ts +0 -11
- package/types/combo-list/src/composition/use-data-source.d.ts +0 -3
- package/types/combo-list/src/designer/combo-list.design.component.d.ts +0 -6
- package/types/combo-list/src/schema/schema-mapper.d.ts +0 -2
- package/types/combo-list/src/schema/schema-resolver.d.ts +0 -2
- package/types/combo-tree/index.d.ts +0 -23
- package/types/combo-tree/src/combo-tree.props.d.ts +0 -58
- package/types/combo-tree/src/components/tree-container.props.d.ts +0 -60
- package/types/combo-tree/src/composition/types.d.ts +0 -11
- package/types/combo-tree/src/composition/use-data-source.d.ts +0 -3
- package/types/common/date/date-converter.d.ts +0 -9
- package/types/common/index.d.ts +0 -5
- package/types/common/text-box/composition/use-clear.d.ts +0 -3
- package/types/common/text-box/composition/use-text-box.d.ts +0 -18
- package/types/common/types.d.ts +0 -50
- package/types/component/index.d.ts +0 -26
- package/types/component/src/component.props.d.ts +0 -4
- package/types/component/src/designer/use-designer-rules.d.ts +0 -3
- package/types/component/src/schema/schema-mapper.d.ts +0 -2
- package/types/component/src/schema/schema-resolver.d.ts +0 -2
- package/types/condition/index.d.ts +0 -28
- package/types/condition/src/composition/condition-value/checkbox-value.d.ts +0 -14
- package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +0 -20
- package/types/condition/src/composition/condition-value/date-picker-value.d.ts +0 -26
- package/types/condition/src/composition/condition-value/date-range-value.d.ts +0 -19
- package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +0 -14
- package/types/condition/src/composition/condition-value/dropdown-value.d.ts +0 -19
- package/types/condition/src/composition/condition-value/input-group-value.d.ts +0 -22
- package/types/condition/src/composition/condition-value/lookup-value.d.ts +0 -22
- package/types/condition/src/composition/condition-value/month-picker-value.d.ts +0 -16
- package/types/condition/src/composition/condition-value/month-range-value.d.ts +0 -19
- package/types/condition/src/composition/condition-value/number-range-value.d.ts +0 -22
- package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +0 -14
- package/types/condition/src/composition/condition-value/radio-group-value.d.ts +0 -14
- package/types/condition/src/composition/condition-value/text-value.d.ts +0 -14
- package/types/condition/src/composition/condition-value/types.d.ts +0 -10
- package/types/condition/src/composition/types.d.ts +0 -45
- package/types/condition/src/composition/use-compare.d.ts +0 -40
- package/types/condition/src/composition/use-condition-value.d.ts +0 -2
- package/types/condition/src/composition/use-field-config.d.ts +0 -4
- package/types/condition/src/composition/use-selection.d.ts +0 -4
- package/types/condition/src/composition/use-size.d.ts +0 -4
- package/types/condition/src/condition-fields.component.d.ts +0 -96
- package/types/condition/src/condition-list.component.d.ts +0 -96
- package/types/condition/src/condition.props.d.ts +0 -65
- package/types/condition/src/types.d.ts +0 -153
- package/types/content-container/index.d.ts +0 -26
- package/types/content-container/src/content-container.props.d.ts +0 -4
- package/types/content-container/src/designer/use-designer-rules.d.ts +0 -3
- package/types/content-container/src/schema/schema-mapper.d.ts +0 -2
- package/types/content-container/src/schema/schema-resolver.d.ts +0 -2
- package/types/data-grid/index.d.ts +0 -26
- package/types/data-grid/src/composition/types.d.ts +0 -301
- package/types/data-grid/src/composition/use-column.d.ts +0 -20
- package/types/data-grid/src/composition/use-data-view.d.ts +0 -29
- package/types/data-grid/src/data-grid.props.d.ts +0 -517
- package/types/data-grid/src/designer/use-designer-rules.d.ts +0 -3
- package/types/data-grid/src/schema/column-resolver.d.ts +0 -3
- package/types/data-grid/src/schema/schema-mapper.d.ts +0 -2
- package/types/data-grid/src/schema/schema-resolver.d.ts +0 -2
- package/types/data-view/components/column-filter/boolean-filter-editor.component.d.ts +0 -2
- package/types/data-view/components/column-filter/column-filter-container.component.d.ts +0 -19
- package/types/data-view/components/column-filter/date-filter-editor.component.d.ts +0 -2
- package/types/data-view/components/column-filter/enum-filter-editor.component.d.ts +0 -3
- package/types/data-view/components/column-filter/list-filter-editor.component.d.ts +0 -2
- package/types/data-view/components/column-filter/numeric-filter-editor.component.d.ts +0 -2
- package/types/data-view/components/column-filter/text-filter-editor.component.d.ts +0 -3
- package/types/data-view/components/column-header/column-header-handler.component.d.ts +0 -20
- package/types/data-view/components/column-setting/column-setting-icon.component.d.ts +0 -20
- package/types/data-view/components/editors/commands.component.d.ts +0 -17
- package/types/data-view/components/editors/date-picker.component.d.ts +0 -17
- package/types/data-view/components/editors/text-area-editor.component.d.ts +0 -2
- package/types/data-view/components/editors/text-editor.component.d.ts +0 -17
- package/types/data-view/components/filter-panel/filter-panel.component.d.ts +0 -4
- package/types/data-view/components/group-panel/group-panel.component.d.ts +0 -4
- package/types/data-view/components/mask/grid-mask.component.d.ts +0 -3
- package/types/data-view/components/pagination/data-grid-pagination.component.d.ts +0 -4
- package/types/data-view/components/scrollbar/horizontal-scrollbar.component.d.ts +0 -20
- package/types/data-view/components/scrollbar/vertical-scrollbar.component.d.ts +0 -20
- package/types/data-view/components/sidebar/data-grid-sidebar.component.d.ts +0 -20
- package/types/data-view/components/summary/data-grid-summary.component.d.ts +0 -4
- package/types/data-view/composition/appearance/use-cell-position.d.ts +0 -18
- package/types/data-view/composition/appearance/use-data-view-conainer-style.d.ts +0 -2
- package/types/data-view/composition/appearance/use-hierarchy-style.d.ts +0 -6
- package/types/data-view/composition/column/use-column-filter.d.ts +0 -3
- package/types/data-view/composition/column/use-column.d.ts +0 -2
- package/types/data-view/composition/column/use-command-column.d.ts +0 -2
- package/types/data-view/composition/column/use-drag-column.d.ts +0 -3
- package/types/data-view/composition/column/use-fit-column.d.ts +0 -18
- package/types/data-view/composition/column/use-group-column.d.ts +0 -20
- package/types/data-view/composition/column/use-resize.d.ts +0 -18
- package/types/data-view/composition/data/use-data-view.d.ts +0 -2
- package/types/data-view/composition/data/use-group-data.d.ts +0 -2
- package/types/data-view/composition/data/use-hierarchy-data.d.ts +0 -3
- package/types/data-view/composition/filter/use-filter-history.d.ts +0 -2
- package/types/data-view/composition/filter/use-filter.d.ts +0 -2
- package/types/data-view/composition/hierarchy/use-cascade.d.ts +0 -3
- package/types/data-view/composition/hierarchy/use-hierarchy.d.ts +0 -2
- package/types/data-view/composition/hierarchy/use-select-hierarchy-item.d.ts +0 -4
- package/types/data-view/composition/hierarchy/use-toggle-hierarchy-item.d.ts +0 -3
- package/types/data-view/composition/hierarchy/use-tree-node-icon.d.ts +0 -4
- package/types/data-view/composition/types.d.ts +0 -732
- package/types/data-view/composition/use-edit.d.ts +0 -17
- package/types/data-view/composition/use-row.d.ts +0 -18
- package/types/data-view/composition/use-selection.d.ts +0 -18
- package/types/data-view/composition/use-sidebar.d.ts +0 -2
- package/types/data-view/composition/use-sort.d.ts +0 -2
- package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -18
- package/types/data-view/composition/visualization/use-visual-data-bound.d.ts +0 -2
- package/types/data-view/composition/visualization/use-visual-data-cell.d.ts +0 -2
- package/types/data-view/composition/visualization/use-visual-data.d.ts +0 -18
- package/types/data-view/composition/visualization/use-visual-group-row.d.ts +0 -2
- package/types/data-view/composition/visualization/use-visual-summary-row.d.ts +0 -2
- package/types/data-view/index.d.ts +0 -39
- package/types/date-picker/index.d.ts +0 -31
- package/types/date-picker/src/components/calendar/calendar.component.d.ts +0 -168
- package/types/date-picker/src/components/calendar/calendar.props.d.ts +0 -94
- package/types/date-picker/src/components/calendar-navbar/calendar-navbar.component.d.ts +0 -140
- package/types/date-picker/src/components/calendar-navbar/calendar-navbar.props.d.ts +0 -81
- package/types/date-picker/src/components/date-picker-container/date-picker-container.component.d.ts +0 -6
- package/types/date-picker/src/components/date-picker-container/date-picker-container.props.d.ts +0 -20
- package/types/date-picker/src/components/month/month.component.d.ts +0 -88
- package/types/date-picker/src/components/month/month.props.d.ts +0 -57
- package/types/date-picker/src/components/year/year.component.d.ts +0 -88
- package/types/date-picker/src/components/year/year.props.d.ts +0 -57
- package/types/date-picker/src/composition/types.d.ts +0 -103
- package/types/date-picker/src/composition/use-calendar.d.ts +0 -2
- package/types/date-picker/src/composition/use-compare.d.ts +0 -2
- package/types/date-picker/src/composition/use-date.d.ts +0 -17
- package/types/date-picker/src/composition/use-disable-date.d.ts +0 -18
- package/types/date-picker/src/composition/use-disable-month.d.ts +0 -2
- package/types/date-picker/src/composition/use-event.d.ts +0 -45
- package/types/date-picker/src/composition/use-mark.d.ts +0 -2
- package/types/date-picker/src/composition/use-month.d.ts +0 -2
- package/types/date-picker/src/composition/use-number.d.ts +0 -2
- package/types/date-picker/src/composition/use-year.d.ts +0 -2
- package/types/date-picker/src/date-picker.component.d.ts +0 -6
- package/types/date-picker/src/date-picker.props.d.ts +0 -19
- package/types/date-picker/src/designer/date-picker.design.component.d.ts +0 -6
- package/types/date-picker/src/schema/schema-mapper.d.ts +0 -2
- package/types/date-picker/src/schema/schema-resolver.d.ts +0 -2
- package/types/date-picker/src/types/calendar.d.ts +0 -30
- package/types/date-picker/src/types/common.d.ts +0 -42
- package/types/date-picker/src/types/date-model.d.ts +0 -38
- package/types/date-picker/src/types/month.d.ts +0 -48
- package/types/date-picker/src/types/year.d.ts +0 -24
- package/types/designer-canvas/index.d.ts +0 -8
- package/types/designer-canvas/src/components/control-tree-view.component.d.ts +0 -88
- package/types/designer-canvas/src/components/maps.d.ts +0 -4
- package/types/designer-canvas/src/composition/designer-canvas-changed.d.ts +0 -7
- package/types/designer-canvas/src/composition/entity/property-entity.d.ts +0 -167
- package/types/designer-canvas/src/composition/function/control-tree-view/change-control-tree-node.d.ts +0 -6
- package/types/designer-canvas/src/composition/function/control-tree-view/control-tree-builder.d.ts +0 -8
- package/types/designer-canvas/src/composition/function/control-tree-view/control-tree-node-builder.d.ts +0 -9
- package/types/designer-canvas/src/composition/function/use-designer-component.d.ts +0 -4
- package/types/designer-canvas/src/composition/props/control-tree-view.props.d.ts +0 -49
- package/types/designer-canvas/src/composition/props/designer-canvas.props.d.ts +0 -3
- package/types/designer-canvas/src/composition/props/designer-inner-item.props.d.ts +0 -3
- package/types/designer-canvas/src/composition/props/designer-item.props.d.ts +0 -3
- package/types/designer-canvas/src/composition/props/designer-placeholder.props.d.ts +0 -7
- package/types/designer-canvas/src/composition/props/toolbox.props.d.ts +0 -11
- package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
- package/types/designer-canvas/src/composition/types.d.ts +0 -101
- package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
- package/types/designer-canvas/src/types.d.ts +0 -79
- package/types/discussion-editor/discussion-editor.component.d.ts +0 -121
- package/types/discussion-editor/discussion-editor.props.d.ts +0 -69
- package/types/discussion-editor/index.d.ts +0 -23
- package/types/discussion-editor/src/composition/use-discussion-editor.d.ts +0 -15
- package/types/discussion-editor/src/types/interface.d.ts +0 -22
- package/types/discussion-list/discussion-list.component.d.ts +0 -70
- package/types/discussion-list/discussion-list.props.d.ts +0 -52
- package/types/discussion-list/index.d.ts +0 -23
- package/types/dropdown/index.d.ts +0 -11
- package/types/dropdown/src/components/dropdown.item.props.d.ts +0 -46
- package/types/dropdown/src/composition/use-dropdown.d.ts +0 -26
- package/types/dropdown/src/designer/dropdown.design.component.d.ts +0 -21
- package/types/dropdown/src/dropdown.component.d.ts +0 -21
- package/types/dropdown/src/dropdown.item.component.d.ts +0 -76
- package/types/dropdown/src/dropdown.props.d.ts +0 -19
- package/types/dropdown/src/schema/schema-mapper.d.ts +0 -2
- package/types/dropdown/src/schema/schema-resolver.d.ts +0 -2
- package/types/dropdown/src/types/types.d.ts +0 -23
- package/types/dynamic-form/index.d.ts +0 -14
- package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.component.d.ts +0 -6
- package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.props.d.ts +0 -4
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +0 -37
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +0 -18
- package/types/dynamic-form/src/composition/types.d.ts +0 -6
- package/types/dynamic-form/src/composition/use-type-resolver.d.ts +0 -2
- package/types/dynamic-form/src/designer/use-designer-rules.d.ts +0 -3
- package/types/dynamic-form/src/response-form.props.d.ts +0 -4
- package/types/dynamic-form/src/schema/schema-mapper.d.ts +0 -2
- package/types/dynamic-form/src/schema/schema-resolver.d.ts +0 -2
- package/types/dynamic-form/src/types.d.ts +0 -17
- package/types/dynamic-resolver/index.d.ts +0 -4
- package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +0 -6
- package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +0 -5
- package/types/dynamic-resolver/src/converter/buttons.converter.d.ts +0 -3
- package/types/dynamic-resolver/src/converter/property-editor.converter.d.ts +0 -3
- package/types/dynamic-resolver/src/object-expression.d.ts +0 -66
- package/types/dynamic-resolver/src/property-config-resolver.d.ts +0 -9
- package/types/dynamic-resolver/src/props-resolver.d.ts +0 -2
- package/types/dynamic-resolver/src/schema-resolver.d.ts +0 -7
- package/types/dynamic-resolver/src/types.d.ts +0 -11
- package/types/dynamic-view/index.d.ts +0 -8
- package/types/dynamic-view/src/components/maps.d.ts +0 -4
- package/types/dynamic-view/src/dynamic-view.props.d.ts +0 -15
- package/types/enum-editor/index.d.ts +0 -23
- package/types/enum-editor/src/components/enum-editor-buttons.props.d.ts +0 -13
- package/types/enum-editor/src/components/enum-editor-table.props.d.ts +0 -29
- package/types/enum-editor/src/composition/types.d.ts +0 -4
- package/types/enum-editor/src/composition/use-move-data.d.ts +0 -7
- package/types/enum-editor/src/enum-editor.props.d.ts +0 -41
- package/types/events-editor/index.d.ts +0 -8
- package/types/events-editor/src/components/command-list/command-list.props.d.ts +0 -3
- package/types/events-editor/src/components/command-source/command-source.props.d.ts +0 -3
- package/types/events-editor/src/components/event-list/event-list.props.d.ts +0 -3
- package/types/events-editor/src/components/interaction-button/interaction-button.props.d.ts +0 -3
- package/types/events-editor/src/components/interaction-item/interaction-item.props.d.ts +0 -3
- package/types/events-editor/src/components/parameter-editor/parameter-editor.props.d.ts +0 -3
- package/types/events-editor/src/composition/types.d.ts +0 -37
- package/types/events-editor/src/composition/use-events-editor-util.d.ts +0 -5
- package/types/events-editor/src/composition/use-events.d.ts +0 -4
- package/types/events-editor/src/composition/use-interaction.d.ts +0 -4
- package/types/events-editor/src/composition/use-methods.d.ts +0 -4
- package/types/events-editor/src/events-editor.props.d.ts +0 -3
- package/types/events-editor/src/types.d.ts +0 -179
- package/types/field-selector/index.d.ts +0 -23
- package/types/field-selector/src/field-selector.props.d.ts +0 -121
- package/types/filter-bar/index.d.ts +0 -9
- package/types/filter-bar/src/components/ellipsis-button.component.d.ts +0 -3
- package/types/filter-bar/src/components/filter-item.component.d.ts +0 -5
- package/types/filter-bar/src/components/toolbar-component.d.ts +0 -4
- package/types/filter-bar/src/composition/types.d.ts +0 -14
- package/types/filter-bar/src/filter-bar.props.d.ts +0 -5
- package/types/filter-bar/src/schema/schema-mapper.d.ts +0 -2
- package/types/filter-bar/src/schema/schema-resolver.d.ts +0 -2
- package/types/filter-bar/src/types.d.ts +0 -12
- package/types/image-cropper/index.d.ts +0 -25
- package/types/image-cropper/src/composition/type.d.ts +0 -44
- package/types/image-cropper/src/composition/use-check-aspect-ratio.d.ts +0 -2
- package/types/image-cropper/src/composition/use-image-cropper.d.ts +0 -20
- package/types/image-cropper/src/composition/use-image-info.d.ts +0 -38
- package/types/image-cropper/src/designer/image-cropper.design.component.d.ts +0 -6
- package/types/image-cropper/src/image-cropper.component.d.ts +0 -6
- package/types/image-cropper/src/image-cropper.props.d.ts +0 -19
- package/types/image-cropper/src/schema/schema-mapper.d.ts +0 -2
- package/types/image-cropper/src/schema/schema-resolver.d.ts +0 -2
- package/types/index.d.ts +0 -20
- package/types/input-group/index.d.ts +0 -25
- package/types/input-group/src/components/appended-button.component.d.ts +0 -4
- package/types/input-group/src/components/extend.component.d.ts +0 -3
- package/types/input-group/src/components/text-edit.component.d.ts +0 -5
- package/types/input-group/src/composition/types.d.ts +0 -38
- package/types/input-group/src/composition/use-appended-button.d.ts +0 -4
- package/types/input-group/src/composition/use-clear.d.ts +0 -4
- package/types/input-group/src/composition/use-text-box.d.ts +0 -4
- package/types/input-group/src/input-group.component.d.ts +0 -6
- package/types/input-group/src/input-group.props.d.ts +0 -4
- package/types/input-group/src/schema/schema-mapper.d.ts +0 -2
- package/types/input-group/src/schema/schema-resolver.d.ts +0 -2
- package/types/layout/index.d.ts +0 -11
- package/types/layout/src/components/layout-panel.props.d.ts +0 -5
- package/types/layout/src/composition/types.d.ts +0 -23
- package/types/layout/src/composition/use-resize-handle.d.ts +0 -3
- package/types/layout/src/designer/layout-panel-use-designer-rules.d.ts +0 -3
- package/types/layout/src/designer/layout-use-designer-rules.d.ts +0 -3
- package/types/layout/src/layout.props.d.ts +0 -4
- 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/index.d.ts +0 -25
- package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
- package/types/list-nav/src/designer/list-nav.design.component.d.ts +0 -6
- package/types/list-nav/src/list-nav.component.d.ts +0 -6
- package/types/list-nav/src/list-nav.props.d.ts +0 -19
- 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/types/list-view/index.d.ts +0 -25
- package/types/list-view/src/components/header/content-header.component.d.ts +0 -6
- package/types/list-view/src/composition/types.d.ts +0 -40
- package/types/list-view/src/composition/use-draggable.d.ts +0 -4
- package/types/list-view/src/composition/use-hover.d.ts +0 -2
- package/types/list-view/src/composition/use-remove.d.ts +0 -4
- package/types/list-view/src/composition/use-search.d.ts +0 -5
- package/types/list-view/src/composition/use-selection.d.ts +0 -4
- package/types/list-view/src/designer/list-view-table.design.component.d.ts +0 -6
- package/types/list-view/src/designer/list-view.design.component.d.ts +0 -6
- package/types/list-view/src/list-view-table.component.d.ts +0 -6
- package/types/list-view/src/list-view-table.props.d.ts +0 -19
- package/types/list-view/src/list-view.component.d.ts +0 -6
- package/types/list-view/src/list-view.props.d.ts +0 -23
- package/types/list-view/src/schema/schema-mapper.d.ts +0 -2
- package/types/list-view/src/schema/schema-resolver.d.ts +0 -2
- package/types/loading/index.d.ts +0 -23
- package/types/loading/src/composition/types.d.ts +0 -24
- package/types/loading/src/loading.component.d.ts +0 -61
- package/types/loading/src/loading.props.d.ts +0 -49
- package/types/loading/src/loading.service.d.ts +0 -4
- package/types/locale/src/lib/locale.service.d.ts +0 -26
- package/types/locale/src/lib/locales/en-us/avatar.d.ts +0 -7
- package/types/locale/src/lib/locales/en-us/batch-edit-dialog.d.ts +0 -15
- package/types/locale/src/lib/locales/en-us/collapse.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/combo.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/datagrid.d.ts +0 -103
- package/types/locale/src/lib/locales/en-us/discussion-group.d.ts +0 -25
- package/types/locale/src/lib/locales/en-us/filter-editor.d.ts +0 -50
- package/types/locale/src/lib/locales/en-us/filter-panel.d.ts +0 -25
- package/types/locale/src/lib/locales/en-us/footer.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/index.d.ts +0 -568
- package/types/locale/src/lib/locales/en-us/language-label.d.ts +0 -8
- package/types/locale/src/lib/locales/en-us/list-filter.d.ts +0 -6
- package/types/locale/src/lib/locales/en-us/list-view.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/loading.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/lookup-config.d.ts +0 -38
- package/types/locale/src/lib/locales/en-us/lookup.d.ts +0 -48
- package/types/locale/src/lib/locales/en-us/messager.d.ts +0 -28
- package/types/locale/src/lib/locales/en-us/multi-select.d.ts +0 -15
- package/types/locale/src/lib/locales/en-us/notify.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/numeric.d.ts +0 -7
- package/types/locale/src/lib/locales/en-us/page-walker.d.ts +0 -6
- package/types/locale/src/lib/locales/en-us/pagination.d.ts +0 -17
- package/types/locale/src/lib/locales/en-us/progress-step.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/query-condition.d.ts +0 -33
- package/types/locale/src/lib/locales/en-us/query-solution.d.ts +0 -41
- package/types/locale/src/lib/locales/en-us/response-toolbar.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/scrollspy.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/section.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/sidebar.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/sort-editor.d.ts +0 -15
- package/types/locale/src/lib/locales/en-us/tabs.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/tag.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/text.d.ts +0 -10
- package/types/locale/src/lib/locales/en-us/treetable.d.ts +0 -8
- package/types/locale/src/lib/locales/en-us/verify-detail.d.ts +0 -5
- package/types/locale/src/lib/locales/index.d.ts +0 -1712
- package/types/locale/src/lib/locales/zh-CHT/avatar.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-CHT/batch-edit-dialog.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-CHT/collapse.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/combo.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/datagrid.d.ts +0 -103
- package/types/locale/src/lib/locales/zh-CHT/discussion-group.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-CHT/filter-editor.d.ts +0 -50
- package/types/locale/src/lib/locales/zh-CHT/filter-panel.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-CHT/footer.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/index.d.ts +0 -568
- package/types/locale/src/lib/locales/zh-CHT/language-label.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-CHT/list-filter.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-CHT/list-view.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/loading.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/lookup-config.d.ts +0 -38
- package/types/locale/src/lib/locales/zh-CHT/lookup.d.ts +0 -48
- package/types/locale/src/lib/locales/zh-CHT/messager.d.ts +0 -28
- package/types/locale/src/lib/locales/zh-CHT/multi-select.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-CHT/notify.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/numeric.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-CHT/page-walker.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-CHT/pagination.d.ts +0 -17
- package/types/locale/src/lib/locales/zh-CHT/progress-step.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/query-condition.d.ts +0 -33
- package/types/locale/src/lib/locales/zh-CHT/query-solution.d.ts +0 -41
- package/types/locale/src/lib/locales/zh-CHT/response-toolbar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/scrollspy.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/section.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/sidebar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/sort-editor.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-CHT/tabs.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/tag.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/text.d.ts +0 -10
- package/types/locale/src/lib/locales/zh-CHT/treetable.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-CHT/verify-detail.d.ts +0 -5
- package/types/locale/src/lib/locales/zh-cn/avatar.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-cn/batch-edit-dialog.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-cn/collapse.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/combo.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/datagrid.d.ts +0 -105
- package/types/locale/src/lib/locales/zh-cn/discussion-group.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-cn/filter-editor.d.ts +0 -50
- package/types/locale/src/lib/locales/zh-cn/filter-panel.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-cn/footer.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/index.d.ts +0 -574
- package/types/locale/src/lib/locales/zh-cn/language-label.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-cn/list-filter.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-cn/list-view.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/loading.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/lookup-config.d.ts +0 -38
- package/types/locale/src/lib/locales/zh-cn/lookup.d.ts +0 -48
- package/types/locale/src/lib/locales/zh-cn/messager.d.ts +0 -32
- package/types/locale/src/lib/locales/zh-cn/multi-select.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-cn/notify.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/numeric.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-cn/page-walker.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-cn/pagination.d.ts +0 -17
- package/types/locale/src/lib/locales/zh-cn/progress-step.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/query-condition.d.ts +0 -33
- package/types/locale/src/lib/locales/zh-cn/query-solution.d.ts +0 -41
- package/types/locale/src/lib/locales/zh-cn/response-toolbar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/scrollspy.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/section.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/sidebar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/sort-editor.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-cn/tabs.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/tag.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/text.d.ts +0 -10
- package/types/locale/src/lib/locales/zh-cn/treetable.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-cn/verify-detail.d.ts +0 -5
- package/types/message-box/index.d.ts +0 -24
- package/types/message-box/src/components/message-content/reactive-content.component.d.ts +0 -3
- package/types/message-box/src/components/message-content/static-content.component.d.ts +0 -3
- package/types/message-box/src/components/message-detail/static-message.component.d.ts +0 -2
- package/types/message-box/src/components/reactive-editor/textarea.component.d.ts +0 -3
- package/types/message-box/src/composition/types.d.ts +0 -27
- package/types/message-box/src/composition/use-copy.d.ts +0 -2
- package/types/message-box/src/composition/use-editor.d.ts +0 -4
- package/types/message-box/src/composition/use-feedback.d.ts +0 -2
- package/types/message-box/src/message-box.component.d.ts +0 -70
- package/types/message-box/src/message-box.props.d.ts +0 -54
- package/types/modal/index.d.ts +0 -24
- package/types/modal/src/modal.props.d.ts +0 -76
- package/types/modal/src/modal.service.d.ts +0 -21
- package/types/nav/index.d.ts +0 -25
- package/types/nav/src/composition/types.d.ts +0 -6
- package/types/nav/src/designer/nav.design.component.d.ts +0 -6
- package/types/nav/src/nav.component.d.ts +0 -6
- package/types/nav/src/nav.props.d.ts +0 -19
- package/types/nav/src/schema/schema-mapper.d.ts +0 -2
- package/types/nav/src/schema/schema-resolver.d.ts +0 -2
- package/types/notify/index.d.ts +0 -26
- package/types/notify/src/components/toast.component.d.ts +0 -32
- package/types/notify/src/components/toast.props.d.ts +0 -31
- package/types/notify/src/notify.component.d.ts +0 -89
- package/types/notify/src/notify.props.d.ts +0 -97
- package/types/notify/src/notify.service.d.ts +0 -19
- package/types/number-range/index.d.ts +0 -25
- package/types/number-range/src/components/spinner.component.d.ts +0 -4
- package/types/number-range/src/components/text-box.component.d.ts +0 -4
- package/types/number-range/src/composition/types.d.ts +0 -56
- package/types/number-range/src/composition/use-format.d.ts +0 -4
- package/types/number-range/src/composition/use-number.d.ts +0 -4
- package/types/number-range/src/composition/use-spinner.d.ts +0 -4
- package/types/number-range/src/composition/use-text-box.d.ts +0 -4
- package/types/number-range/src/number-range.component.d.ts +0 -6
- package/types/number-range/src/number-range.props.d.ts +0 -19
- package/types/number-range/src/schema/schema-mapper.d.ts +0 -2
- package/types/number-range/src/schema/schema-resolver.d.ts +0 -2
- package/types/number-spinner/index.d.ts +0 -25
- package/types/number-spinner/src/components/spinner.component.d.ts +0 -4
- package/types/number-spinner/src/components/text-box.component.d.ts +0 -4
- package/types/number-spinner/src/composition/types.d.ts +0 -58
- package/types/number-spinner/src/composition/use-format.d.ts +0 -4
- package/types/number-spinner/src/composition/use-number.d.ts +0 -4
- package/types/number-spinner/src/composition/use-spinner.d.ts +0 -4
- package/types/number-spinner/src/composition/use-text-box.d.ts +0 -4
- package/types/number-spinner/src/designer/number-spinner.component.d.ts +0 -6
- package/types/number-spinner/src/number-spinner.component.d.ts +0 -6
- package/types/number-spinner/src/number-spinner.props.d.ts +0 -19
- package/types/number-spinner/src/schema/schema-mapper.d.ts +0 -2
- package/types/number-spinner/src/schema/schema-resolver.d.ts +0 -2
- package/types/order/index.d.ts +0 -10
- package/types/order/src/order.props.d.ts +0 -10
- package/types/order/src/schema/schema-mapper.d.ts +0 -2
- package/types/order/src/schema/schema-resolver.d.ts +0 -2
- package/types/overlay/src/overlay.props.d.ts +0 -33
- package/types/overlay/src/overlay.service.d.ts +0 -17
- package/types/page-footer/index.d.ts +0 -10
- package/types/page-footer/src/page-footer.props.d.ts +0 -4
- package/types/page-footer/src/schema/schema-mapper.d.ts +0 -2
- package/types/page-footer/src/schema/schema-resolver.d.ts +0 -2
- package/types/page-header/index.d.ts +0 -10
- package/types/page-header/src/designer/use-designer-rules.d.ts +0 -3
- package/types/page-header/src/page-header.props.d.ts +0 -4
- package/types/page-header/src/schema/schema-mapper.d.ts +0 -2
- package/types/page-header/src/schema/schema-resolver.d.ts +0 -2
- package/types/pagination/index.d.ts +0 -25
- package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +0 -19
- package/types/pagination/src/components/buttons/next-buttons.component.d.ts +0 -20
- package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +0 -20
- package/types/pagination/src/components/pages/page-info.component.d.ts +0 -19
- package/types/pagination/src/components/pages/page-list.component.d.ts +0 -19
- package/types/pagination/src/components/pages/page-number.component.d.ts +0 -20
- package/types/pagination/src/composition/types.d.ts +0 -24
- package/types/pagination/src/composition/use-pages.d.ts +0 -18
- package/types/pagination/src/designer/pagination.design.components.d.ts +0 -6
- package/types/pagination/src/pagination.components.d.ts +0 -6
- package/types/pagination/src/pagination.props.d.ts +0 -20
- package/types/pagination/src/schema/schema-mapper.d.ts +0 -2
- package/types/pagination/src/schema/schema-resolver.d.ts +0 -2
- package/types/popover/index.d.ts +0 -24
- package/types/popover/src/composition/types.d.ts +0 -25
- package/types/popover/src/composition/use-host.d.ts +0 -3
- package/types/popover/src/composition/use-popup.d.ts +0 -4
- package/types/popover/src/composition/use-position.d.ts +0 -4
- package/types/popover/src/composition/use-resize.d.ts +0 -4
- package/types/popover/src/popover.component.d.ts +0 -112
- package/types/popover/src/popover.directive.d.ts +0 -5
- package/types/popover/src/popover.props.d.ts +0 -69
- package/types/progress/index.d.ts +0 -10
- package/types/progress/src/composition/types.d.ts +0 -65
- package/types/progress/src/composition/use-format.d.ts +0 -3
- package/types/progress/src/composition/use-gradient.d.ts +0 -3
- package/types/progress/src/composition/use-progress-status.d.ts +0 -3
- package/types/progress/src/composition/use-progress-type.d.ts +0 -3
- package/types/progress/src/composition/use-progress.d.ts +0 -3
- package/types/progress/src/composition/use-stroke-width.d.ts +0 -3
- package/types/progress/src/composition/use-success-percent.d.ts +0 -3
- package/types/progress/src/progress.props.d.ts +0 -13
- package/types/progress/src/schema/schema-mapper.d.ts +0 -2
- package/types/progress/src/schema/schema-resolver.d.ts +0 -2
- package/types/property-panel/index.d.ts +0 -24
- package/types/property-panel/src/component/property-panel-item-list.component.d.ts +0 -43
- package/types/property-panel/src/component/property-panel-item.component.d.ts +0 -25
- package/types/property-panel/src/composition/entity/property-entity.d.ts +0 -165
- package/types/property-panel/src/composition/props/property-panel-item-list.props.d.ts +0 -38
- package/types/property-panel/src/composition/props/property-panel-item.props.d.ts +0 -27
- package/types/property-panel/src/composition/props/property-panel.props.d.ts +0 -100
- package/types/property-panel/src/composition/type.d.ts +0 -45
- package/types/property-panel/src/property-panel.component.d.ts +0 -156
- package/types/query-solution/index.d.ts +0 -25
- package/types/query-solution/src/composition/types.d.ts +0 -8
- package/types/query-solution/src/composition/use-filter.d.ts +0 -19
- package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +0 -26
- package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +0 -19
- package/types/query-solution/src/designer/query-solution-config/query-solution-config.component.d.ts +0 -6
- package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +0 -23
- package/types/query-solution/src/designer/query-solution-config/schema/schema-mapper.d.ts +0 -2
- package/types/query-solution/src/designer/query-solution-config/schema/schema-resolver.d.ts +0 -2
- package/types/query-solution/src/designer/query-solution.design.component.d.ts +0 -6
- package/types/query-solution/src/query-solution.component.d.ts +0 -6
- package/types/query-solution/src/query-solution.d.ts +0 -40
- package/types/query-solution/src/query-solution.props.d.ts +0 -19
- package/types/query-solution/src/schema/schema-mapper.d.ts +0 -2
- package/types/query-solution/src/schema/schema-resolver.d.ts +0 -2
- package/types/query-solution/src/solutions.d.ts +0 -1238
- package/types/radio-group/index.d.ts +0 -25
- package/types/radio-group/src/composition/change-radio.d.ts +0 -19
- package/types/radio-group/src/composition/types.d.ts +0 -42
- package/types/radio-group/src/designer/radio-group.design.component.d.ts +0 -6
- package/types/radio-group/src/radio-group.component.d.ts +0 -6
- package/types/radio-group/src/radio-group.props.d.ts +0 -19
- package/types/radio-group/src/schema/schema-mapper.d.ts +0 -2
- package/types/radio-group/src/schema/schema-resolver.d.ts +0 -2
- package/types/rate/index.d.ts +0 -25
- package/types/rate/src/designer/rate.design.component.d.ts +0 -6
- package/types/rate/src/rate.component.d.ts +0 -6
- package/types/rate/src/rate.props.d.ts +0 -19
- package/types/rate/src/schema/schema-mapper.d.ts +0 -2
- package/types/rate/src/schema/schema-resolver.d.ts +0 -2
- package/types/response-layout/index.d.ts +0 -26
- package/types/response-layout/src/component/response-layout-item.props.d.ts +0 -4
- package/types/response-layout/src/response-layout.props.d.ts +0 -4
- package/types/response-layout/src/schema/schema-mapper.d.ts +0 -2
- package/types/response-layout/src/schema/schema-resolver.d.ts +0 -2
- package/types/response-layout-editor/index.d.ts +0 -23
- package/types/response-layout-editor/src/components/field-list/column-width-editor/column-width-editor.props.d.ts +0 -3
- package/types/response-layout-editor/src/components/field-list/field-list.props.d.ts +0 -3
- package/types/response-layout-editor/src/components/preview/column-width-view/column-width-view.component.d.ts +0 -6
- package/types/response-layout-editor/src/components/preview/column-width-view/column-width-view.props.d.ts +0 -3
- package/types/response-layout-editor/src/components/preview/preview.component.d.ts +0 -6
- package/types/response-layout-editor/src/components/preview/preview.props.d.ts +0 -3
- package/types/response-layout-editor/src/components/screen-resolution-selector/screen-resolution-selector.component.d.ts +0 -6
- package/types/response-layout-editor/src/components/screen-resolution-selector/screen-resolution-selector.props.d.ts +0 -3
- package/types/response-layout-editor/src/response-layout-editor.component.d.ts +0 -6
- package/types/response-layout-editor/src/response-layout-editor.props.d.ts +0 -3
- package/types/response-layout-editor/src/type.d.ts +0 -4
- package/types/response-toolbar/index.d.ts +0 -13
- package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +0 -6
- package/types/response-toolbar/src/components/dropdown/toolbar-dropdown.component.d.ts +0 -7
- package/types/response-toolbar/src/composition/types.d.ts +0 -9
- package/types/response-toolbar/src/composition/use-icon.d.ts +0 -2
- package/types/response-toolbar/src/composition/use-toolbar-item.d.ts +0 -2
- package/types/response-toolbar/src/response-toolbar.props.d.ts +0 -5
- package/types/response-toolbar/src/schema/schema-mapper.d.ts +0 -2
- package/types/response-toolbar/src/schema/schema-resolver.d.ts +0 -2
- package/types/response-toolbar/src/types/response-toolbar-dropdwon-item.d.ts +0 -13
- package/types/response-toolbar/src/types/response-toolbar-group.d.ts +0 -19
- package/types/response-toolbar/src/types/response-toolbar-item-base.d.ts +0 -36
- package/types/response-toolbar/src/types/response-toolbar-item.d.ts +0 -4
- package/types/search-box/index.d.ts +0 -25
- package/types/search-box/src/components/search-box-container.props.d.ts +0 -31
- package/types/search-box/src/schema/schema-mapper.d.ts +0 -2
- package/types/search-box/src/schema/schema-resolver.d.ts +0 -2
- package/types/search-box/src/search-box.props.d.ts +0 -4
- package/types/section/index.d.ts +0 -25
- package/types/section/src/components/toolbar.component.d.ts +0 -3
- package/types/section/src/composition/types.d.ts +0 -18
- package/types/section/src/composition/use-max-min.d.ts +0 -3
- package/types/section/src/designer/section.design.component.d.ts +0 -6
- package/types/section/src/designer/use-designer-rules.d.ts +0 -3
- package/types/section/src/schema/accordion-resolver.d.ts +0 -3
- package/types/section/src/schema/schema-mapper.d.ts +0 -2
- package/types/section/src/schema/schema-resolver.d.ts +0 -2
- package/types/section/src/schema/toolbar-resolver.d.ts +0 -7
- package/types/section/src/section.component.d.ts +0 -6
- package/types/section/src/section.props.d.ts +0 -31
- package/types/smoke-detector/index.d.ts +0 -10
- package/types/smoke-detector/src/schema/schema-mapper.d.ts +0 -2
- package/types/smoke-detector/src/schema/schema-resolver.d.ts +0 -2
- package/types/smoke-detector/src/smoke-detector.props.d.ts +0 -4
- package/types/spacing-editor/index.d.ts +0 -23
- package/types/spacing-editor/src/components/spacing-editor-margin.component.d.ts +0 -5
- package/types/spacing-editor/src/components/spacing-editor-padding.component.d.ts +0 -5
- package/types/spacing-editor/src/spacing-editor.component.d.ts +0 -6
- package/types/spacing-editor/src/spacing-editor.props.d.ts +0 -3
- package/types/splitter/index.d.ts +0 -10
- package/types/splitter/src/components/splitter-pane.props.d.ts +0 -5
- package/types/splitter/src/composition/types.d.ts +0 -23
- package/types/splitter/src/composition/use-resize-handle.d.ts +0 -3
- package/types/splitter/src/composition/use-resize-pane.d.ts +0 -3
- package/types/splitter/src/designer/splitter-pane-use-designer-rules.d.ts +0 -3
- package/types/splitter/src/designer/splitter-use-designer-rules.d.ts +0 -3
- package/types/splitter/src/schema/splitter-pane-schema-mapper.d.ts +0 -2
- package/types/splitter/src/schema/splitter-schema-mapper.d.ts +0 -2
- package/types/splitter/src/schema/splitter-schema-resolver.d.ts +0 -2
- package/types/splitter/src/splitter.props.d.ts +0 -5
- package/types/step/index.d.ts +0 -10
- package/types/step/src/schema/schema-mapper.d.ts +0 -2
- package/types/step/src/schema/schema-resolver.d.ts +0 -2
- package/types/step/src/step.props.d.ts +0 -11
- package/types/switch/index.d.ts +0 -25
- package/types/switch/src/designer/switch.design.component.d.ts +0 -6
- package/types/switch/src/schema/schema-mapper.d.ts +0 -2
- package/types/switch/src/schema/schema-resolver.d.ts +0 -2
- package/types/switch/src/switch.component.d.ts +0 -6
- package/types/switch/src/switch.props.d.ts +0 -20
- package/types/tabs/index.d.ts +0 -27
- package/types/tabs/src/components/more-pages-button.component.d.ts +0 -5
- package/types/tabs/src/components/tab-header-dropdown-menu.component.d.ts +0 -5
- package/types/tabs/src/components/tab-header-item.component.d.ts +0 -4
- package/types/tabs/src/components/tab-header.component.d.ts +0 -4
- package/types/tabs/src/components/tab-page.props.d.ts +0 -19
- package/types/tabs/src/composition/types.d.ts +0 -83
- package/types/tabs/src/composition/use-dropdown.d.ts +0 -3
- package/types/tabs/src/composition/use-nav.d.ts +0 -4
- package/types/tabs/src/composition/use-one-page.d.ts +0 -4
- package/types/tabs/src/composition/use-tabs.d.ts +0 -19
- package/types/tabs/src/designer/tab-header.design.component.d.ts +0 -6
- package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +0 -3
- package/types/tabs/src/designer/tab-page.design.component.d.ts +0 -6
- package/types/tabs/src/designer/tab-use-designer-rules.d.ts +0 -3
- package/types/tabs/src/designer/tabs-use-design.d.ts +0 -20
- package/types/tabs/src/designer/tabs.design.component.d.ts +0 -6
- package/types/tabs/src/schema/schema-mapper.d.ts +0 -2
- package/types/tabs/src/schema/schema-resolver.d.ts +0 -2
- package/types/tabs/src/schema/tab-page-schema-mapper.d.ts +0 -2
- package/types/tabs/src/tabs.component.d.ts +0 -6
- package/types/tabs/src/tabs.props.d.ts +0 -22
- package/types/tags/index.d.ts +0 -10
- package/types/tags/src/composition/types.d.ts +0 -13
- package/types/tags/src/composition/use-draggable.d.ts +0 -4
- package/types/tags/src/schema/schema-mapper.d.ts +0 -2
- package/types/tags/src/schema/schema-resolver.d.ts +0 -2
- package/types/tags/src/tags.props.d.ts +0 -15
- package/types/text/index.d.ts +0 -25
- package/types/text/src/designer/text.design.component.d.ts +0 -6
- package/types/text/src/schema/schema-mapper.d.ts +0 -2
- package/types/text/src/schema/schema-resolver.d.ts +0 -2
- package/types/text/src/text.component.d.ts +0 -6
- package/types/text/src/text.props.d.ts +0 -19
- package/types/time-picker/index.d.ts +0 -12
- package/types/time-picker/src/components/time-holder.d.ts +0 -82
- package/types/time-picker/src/components/time.props.d.ts +0 -48
- package/types/time-picker/src/components/utils/check.d.ts +0 -1
- package/types/time-picker/src/schema/schema-mapper.d.ts +0 -2
- package/types/time-picker/src/schema/schema-resolver.d.ts +0 -2
- package/types/time-picker/src/time-picker.props.d.ts +0 -4
- package/types/tooltip/index.d.ts +0 -24
- package/types/tooltip/src/composition/types.d.ts +0 -45
- package/types/tooltip/src/composition/use-adjust-placement.d.ts +0 -20
- package/types/tooltip/src/composition/use-adjust-position.d.ts +0 -21
- package/types/tooltip/src/composition/use-calculate-position.d.ts +0 -21
- package/types/tooltip/src/composition/use-relative.d.ts +0 -19
- package/types/tooltip/src/composition/use-tooltip-position.d.ts +0 -22
- package/types/tooltip/src/tooltip.component.d.ts +0 -78
- package/types/tooltip/src/tooltip.directive.d.ts +0 -6
- package/types/tooltip/src/tooltip.props.d.ts +0 -60
- package/types/transfer/index.d.ts +0 -10
- package/types/transfer/src/schema/schema-mapper.d.ts +0 -2
- package/types/transfer/src/schema/schema-resolver.d.ts +0 -2
- package/types/transfer/src/transfer.component.d.ts +0 -6
- package/types/transfer/src/transfer.props.d.ts +0 -4
- package/types/tree-grid/index.d.ts +0 -24
- package/types/tree-grid/src/components/data/data-area.component.d.ts +0 -21
- package/types/tree-grid/src/schema/schema-mapper.d.ts +0 -2
- package/types/tree-grid/src/schema/schema-resolver.d.ts +0 -2
- package/types/tree-grid/src/tree-grid.props.d.ts +0 -431
- package/types/tree-view/index.d.ts +0 -10
- package/types/tree-view/src/components/data/tree-area.component.d.ts +0 -7
- package/types/tree-view/src/schema/schema-mapper.d.ts +0 -2
- package/types/tree-view/src/schema/schema-resolver.d.ts +0 -2
- package/types/tree-view/src/tree-view.component.d.ts +0 -6
- package/types/tree-view/src/tree-view.props.d.ts +0 -4
- package/types/uploader/index.d.ts +0 -27
- package/types/uploader/src/components/file-select.component.d.ts +0 -99
- package/types/uploader/src/components/sub-component.props.d.ts +0 -102
- package/types/uploader/src/components/upload-progress.component.d.ts +0 -41
- package/types/uploader/src/composition/type.d.ts +0 -129
- package/types/uploader/src/composition/use-service.d.ts +0 -5
- package/types/uploader/src/schema/schema-mapper.d.ts +0 -2
- package/types/uploader/src/schema/schema-resolver.d.ts +0 -2
- package/types/uploader/src/uploader.props.d.ts +0 -4
- package/types/verify-detail/index.d.ts +0 -28
- package/types/verify-detail/src/composition/type.d.ts +0 -25
- package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +0 -6
- package/types/verify-detail/src/schema/schema-mapper.d.ts +0 -2
- package/types/verify-detail/src/schema/schema-resolver.d.ts +0 -2
- package/types/verify-detail/src/verify-detail.component.d.ts +0 -6
- package/types/verify-detail/src/verify-detail.props.d.ts +0 -4
- package/types/verify-detail/src/verify-detail.service.d.ts +0 -7
- package/types/video/index.d.ts +0 -25
- package/types/video/src/composition/types.d.ts +0 -38
- package/types/video/src/composition/use-video.d.ts +0 -20
- package/types/video/src/composition/use-viewport.d.ts +0 -20
- package/types/video/src/designer/video.design.component.d.ts +0 -4
- package/types/video/src/schema/schema-mapper.d.ts +0 -2
- package/types/video/src/schema/schema-resolver.d.ts +0 -2
- package/types/video/src/video.component.d.ts +0 -6
- package/types/video/src/video.props.d.ts +0 -19
- package/types/weather/index.d.ts +0 -25
- package/types/weather/src/components/weather-city.component.d.ts +0 -6
- package/types/weather/src/components/weather-detail.component.d.ts +0 -6
- package/types/weather/src/components/weather-home.component.d.ts +0 -6
- package/types/weather/src/components/weather-information.component.d.ts +0 -6
- package/types/weather/src/components/weather-proindex.component.d.ts +0 -6
- package/types/weather/src/components/weather-report.component.d.ts +0 -6
- package/types/weather/src/components/weather-sunset.component.d.ts +0 -6
- package/types/weather/src/composition/types.d.ts +0 -2
- package/types/weather/src/composition/use-weather-charts.d.ts +0 -3
- package/types/weather/src/composition/use-weather-color.d.ts +0 -3
- package/types/weather/src/composition/use-weather-data.d.ts +0 -3
- package/types/weather/src/composition/use-weather-format-number.d.ts +0 -3
- package/types/weather/src/demo-data.d.ts +0 -181
- package/types/weather/src/designer/weather.design.component.d.ts +0 -6
- package/types/weather/src/schema/schema-mapper.d.ts +0 -2
- package/types/weather/src/schema/schema-resolver.d.ts +0 -2
- package/types/weather/src/weather.component.d.ts +0 -6
- package/types/weather/src/weather.props.d.ts +0 -19
- package/uploader/index.esm.js +0 -3187
- package/uploader/index.umd.js +0 -2
- package/uploader/package.json +0 -8
- package/uploader/style.css +0 -1
- package/verify-detail/index.esm.js +0 -648
- package/verify-detail/index.umd.js +0 -1
- package/verify-detail/package.json +0 -8
- package/video/index.esm.js +0 -1178
- package/video/index.umd.js +0 -1
- package/video/package.json +0 -8
- package/weather/index.esm.js +0 -6816
- package/weather/index.umd.js +0 -16
- package/weather/package.json +0 -8
- package/weather/style.css +0 -1
package/enum-editor/index.esm.js
DELETED
|
@@ -1,2612 +0,0 @@
|
|
|
1
|
-
import { defineComponent as G, ref as c, computed as g, createVNode as f, Teleport as oe, createApp as de, onUnmounted as ae, watch as L, nextTick as Y, withDirectives as le, vShow as fe, onMounted as ue, Fragment as pe, mergeProps as Te, reactive as ke, resolveDirective as Pe, createTextVNode as X } from "vue";
|
|
2
|
-
import { cloneDeep as ve } from "lodash-es";
|
|
3
|
-
const Oe = {}, Se = {};
|
|
4
|
-
function me(e) {
|
|
5
|
-
const { properties: t, title: o } = e, i = Object.keys(t).reduce((n, l) => (n[l] = t[l].type === "object" && t[l].properties ? me(t[l]) : ve(t[l].default), n), {});
|
|
6
|
-
return i.id = `${o}-${Date.now()}`, i;
|
|
7
|
-
}
|
|
8
|
-
function Ee(e, t) {
|
|
9
|
-
const o = me(t);
|
|
10
|
-
return Object.keys(e).reduce((i, n) => (i[n] = e[n], i), o), o;
|
|
11
|
-
}
|
|
12
|
-
function je(e, t) {
|
|
13
|
-
return Object.keys(e).filter((i) => e[i] != null).reduce((i, n) => {
|
|
14
|
-
if (t.has(n)) {
|
|
15
|
-
const l = t.get(n);
|
|
16
|
-
if (typeof l == "string")
|
|
17
|
-
i[l] = e[n];
|
|
18
|
-
else {
|
|
19
|
-
const u = l(n, e[n], e);
|
|
20
|
-
Object.assign(i, u);
|
|
21
|
-
}
|
|
22
|
-
} else
|
|
23
|
-
i[n] = e[n];
|
|
24
|
-
return i;
|
|
25
|
-
}, {});
|
|
26
|
-
}
|
|
27
|
-
function Ie(e, t, o = /* @__PURE__ */ new Map()) {
|
|
28
|
-
const i = Ee(e, t);
|
|
29
|
-
return je(i, o);
|
|
30
|
-
}
|
|
31
|
-
function Fe(e = {}) {
|
|
32
|
-
function t(s, d, a, r) {
|
|
33
|
-
if (typeof a == "number")
|
|
34
|
-
return r[s].length === a;
|
|
35
|
-
if (typeof a == "object") {
|
|
36
|
-
const v = Object.keys(a)[0], C = a[v];
|
|
37
|
-
if (v === "not")
|
|
38
|
-
return Number(r[s].length) !== Number(C);
|
|
39
|
-
if (v === "moreThan")
|
|
40
|
-
return Number(r[s].length) >= Number(C);
|
|
41
|
-
if (v === "lessThan")
|
|
42
|
-
return Number(r[s].length) <= Number(C);
|
|
43
|
-
}
|
|
44
|
-
return !1;
|
|
45
|
-
}
|
|
46
|
-
function o(s, d, a, r) {
|
|
47
|
-
return r[d] && r[d].propertyValue && String(r[d].propertyValue.value) === String(a);
|
|
48
|
-
}
|
|
49
|
-
const i = /* @__PURE__ */ new Map([
|
|
50
|
-
["length", t],
|
|
51
|
-
["getProperty", o]
|
|
52
|
-
]);
|
|
53
|
-
Object.keys(e).reduce((s, d) => (s.set(d, e[d]), s), i);
|
|
54
|
-
function n(s, d) {
|
|
55
|
-
const a = s;
|
|
56
|
-
return typeof d == "number" ? [{ target: a, operator: "length", param: null, value: Number(d) }] : typeof d == "boolean" ? [{ target: a, operator: "getProperty", param: s, value: !!d }] : typeof d == "object" ? Object.keys(d).map((r) => {
|
|
57
|
-
if (r === "length")
|
|
58
|
-
return { target: a, operator: "length", param: null, value: d[r] };
|
|
59
|
-
const v = r, C = d[r];
|
|
60
|
-
return { target: a, operator: s, param: v, value: C };
|
|
61
|
-
}) : [];
|
|
62
|
-
}
|
|
63
|
-
function l(s) {
|
|
64
|
-
return Object.keys(s).reduce((a, r) => {
|
|
65
|
-
const v = n(r, s[r]);
|
|
66
|
-
return a.push(...v), a;
|
|
67
|
-
}, []);
|
|
68
|
-
}
|
|
69
|
-
function u(s, d) {
|
|
70
|
-
if (i.has(s.operator)) {
|
|
71
|
-
const a = i.get(s.operator);
|
|
72
|
-
return a && a(s.target, s.param, s.value, d) || !1;
|
|
73
|
-
}
|
|
74
|
-
return !1;
|
|
75
|
-
}
|
|
76
|
-
function p(s, d) {
|
|
77
|
-
return l(s).reduce((v, C) => v && u(C, d), !0);
|
|
78
|
-
}
|
|
79
|
-
function m(s, d) {
|
|
80
|
-
const a = Object.keys(s), r = a.includes("allOf"), v = a.includes("anyOf"), C = r || v, P = (C ? s[C ? r ? "allOf" : "anyOf" : "allOf"] : [s]).map((F) => p(F, d));
|
|
81
|
-
return r ? !P.includes(!1) : P.includes(!0);
|
|
82
|
-
}
|
|
83
|
-
return { parseValueSchema: m };
|
|
84
|
-
}
|
|
85
|
-
const Me = {}, Ae = {};
|
|
86
|
-
Fe();
|
|
87
|
-
function ie(e, t, o = /* @__PURE__ */ new Map(), i = (u, p, m) => p, n = {}, l = (u) => u) {
|
|
88
|
-
return Oe[t.title] = t, Se[t.title] = i, Me[t.title] = n, Ae[t.title] = l, (u = {}) => {
|
|
89
|
-
const p = Ie(u, t, o), m = Object.keys(e).reduce((s, d) => (s[d] = e[d].default, s), {});
|
|
90
|
-
return Object.assign(m, p);
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
function se(e, t) {
|
|
94
|
-
return { customClass: t.class };
|
|
95
|
-
}
|
|
96
|
-
const Le = /* @__PURE__ */ new Map([
|
|
97
|
-
["appearance", se]
|
|
98
|
-
]);
|
|
99
|
-
function Re(e, t, o) {
|
|
100
|
-
return t;
|
|
101
|
-
}
|
|
102
|
-
const $e = "https://json-schema.org/draft/2020-12/schema", De = "https://farris-design.gitee.io/button-edit.schema.json", Ve = "button-edit", We = "A Farris Input Component", He = "object", Ne = {
|
|
103
|
-
id: {
|
|
104
|
-
description: "The unique identifier for a Input Group",
|
|
105
|
-
type: "string"
|
|
106
|
-
},
|
|
107
|
-
type: {
|
|
108
|
-
description: "The type string of Input Group component",
|
|
109
|
-
type: "string",
|
|
110
|
-
default: "button-edit"
|
|
111
|
-
},
|
|
112
|
-
appearance: {
|
|
113
|
-
description: "",
|
|
114
|
-
type: "object",
|
|
115
|
-
properties: {
|
|
116
|
-
class: {
|
|
117
|
-
type: "string"
|
|
118
|
-
},
|
|
119
|
-
style: {
|
|
120
|
-
type: "string"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
default: {}
|
|
124
|
-
},
|
|
125
|
-
binding: {
|
|
126
|
-
description: "",
|
|
127
|
-
type: "object",
|
|
128
|
-
default: {}
|
|
129
|
-
},
|
|
130
|
-
disable: {
|
|
131
|
-
type: "string",
|
|
132
|
-
default: !1
|
|
133
|
-
},
|
|
134
|
-
editable: {
|
|
135
|
-
description: "",
|
|
136
|
-
type: "boolean",
|
|
137
|
-
default: !0
|
|
138
|
-
},
|
|
139
|
-
enableLinkLabel: {
|
|
140
|
-
description: "",
|
|
141
|
-
type: "boolean",
|
|
142
|
-
default: !1
|
|
143
|
-
},
|
|
144
|
-
label: {
|
|
145
|
-
description: "",
|
|
146
|
-
type: "string",
|
|
147
|
-
default: ""
|
|
148
|
-
},
|
|
149
|
-
lableWidth: {
|
|
150
|
-
description: "",
|
|
151
|
-
type: "number"
|
|
152
|
-
},
|
|
153
|
-
placeHolder: {
|
|
154
|
-
description: "",
|
|
155
|
-
type: "string",
|
|
156
|
-
default: ""
|
|
157
|
-
},
|
|
158
|
-
readonly: {
|
|
159
|
-
description: "",
|
|
160
|
-
type: "boolean",
|
|
161
|
-
default: !1
|
|
162
|
-
},
|
|
163
|
-
require: {
|
|
164
|
-
description: "",
|
|
165
|
-
type: "boolean",
|
|
166
|
-
default: !1
|
|
167
|
-
},
|
|
168
|
-
tabindex: {
|
|
169
|
-
description: "",
|
|
170
|
-
type: "number",
|
|
171
|
-
default: -1
|
|
172
|
-
},
|
|
173
|
-
textAlign: {
|
|
174
|
-
description: "",
|
|
175
|
-
type: "string",
|
|
176
|
-
enum: [
|
|
177
|
-
"left",
|
|
178
|
-
"middle",
|
|
179
|
-
"right"
|
|
180
|
-
],
|
|
181
|
-
default: "left"
|
|
182
|
-
},
|
|
183
|
-
visible: {
|
|
184
|
-
description: "",
|
|
185
|
-
type: "boolean",
|
|
186
|
-
default: !0
|
|
187
|
-
},
|
|
188
|
-
onBlur: {
|
|
189
|
-
description: "",
|
|
190
|
-
type: "string",
|
|
191
|
-
default: ""
|
|
192
|
-
},
|
|
193
|
-
onClickLinkLabel: {
|
|
194
|
-
description: "",
|
|
195
|
-
type: "sting",
|
|
196
|
-
default: ""
|
|
197
|
-
},
|
|
198
|
-
autoComplete: {
|
|
199
|
-
description: "",
|
|
200
|
-
type: "boolean",
|
|
201
|
-
default: !1
|
|
202
|
-
},
|
|
203
|
-
buttonContent: {
|
|
204
|
-
description: "",
|
|
205
|
-
type: "string",
|
|
206
|
-
default: ""
|
|
207
|
-
},
|
|
208
|
-
enableClear: {
|
|
209
|
-
description: "",
|
|
210
|
-
type: "boolean",
|
|
211
|
-
default: !0
|
|
212
|
-
},
|
|
213
|
-
inputType: {
|
|
214
|
-
description: "",
|
|
215
|
-
type: "string",
|
|
216
|
-
enum: [
|
|
217
|
-
"text",
|
|
218
|
-
"tag"
|
|
219
|
-
],
|
|
220
|
-
default: "text"
|
|
221
|
-
},
|
|
222
|
-
multiSelect: {
|
|
223
|
-
description: "",
|
|
224
|
-
type: "boolean",
|
|
225
|
-
default: !1
|
|
226
|
-
},
|
|
227
|
-
popup: {
|
|
228
|
-
description: "",
|
|
229
|
-
type: "object",
|
|
230
|
-
properties: {
|
|
231
|
-
footerButtons: {
|
|
232
|
-
type: "array",
|
|
233
|
-
default: []
|
|
234
|
-
},
|
|
235
|
-
height: {
|
|
236
|
-
type: "number",
|
|
237
|
-
default: 600
|
|
238
|
-
},
|
|
239
|
-
dataMapping: {
|
|
240
|
-
type: "object"
|
|
241
|
-
},
|
|
242
|
-
contents: {
|
|
243
|
-
type: "array",
|
|
244
|
-
default: []
|
|
245
|
-
},
|
|
246
|
-
showMaxButton: {
|
|
247
|
-
type: "boolean",
|
|
248
|
-
default: !0
|
|
249
|
-
},
|
|
250
|
-
showCloseButton: {
|
|
251
|
-
type: "boolean",
|
|
252
|
-
default: !0
|
|
253
|
-
},
|
|
254
|
-
showFooter: {
|
|
255
|
-
type: "boolean",
|
|
256
|
-
default: !0
|
|
257
|
-
},
|
|
258
|
-
title: {
|
|
259
|
-
type: "string",
|
|
260
|
-
default: ""
|
|
261
|
-
},
|
|
262
|
-
width: {
|
|
263
|
-
type: "number",
|
|
264
|
-
default: 800
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
},
|
|
268
|
-
separator: {
|
|
269
|
-
type: "string",
|
|
270
|
-
default: ","
|
|
271
|
-
},
|
|
272
|
-
showButtonWhenDisabled: {
|
|
273
|
-
description: "",
|
|
274
|
-
type: "boolean",
|
|
275
|
-
default: !1
|
|
276
|
-
},
|
|
277
|
-
wrapText: {
|
|
278
|
-
type: "boolean",
|
|
279
|
-
default: !1
|
|
280
|
-
},
|
|
281
|
-
onClear: {
|
|
282
|
-
description: "",
|
|
283
|
-
type: "string",
|
|
284
|
-
default: ""
|
|
285
|
-
}
|
|
286
|
-
}, ze = [
|
|
287
|
-
"id",
|
|
288
|
-
"type"
|
|
289
|
-
], Ge = {
|
|
290
|
-
$schema: $e,
|
|
291
|
-
$id: De,
|
|
292
|
-
title: Ve,
|
|
293
|
-
description: We,
|
|
294
|
-
type: He,
|
|
295
|
-
properties: Ne,
|
|
296
|
-
required: ze
|
|
297
|
-
}, qe = "buttonEdit", Ue = "A Farris Component", Xe = "object", Ke = {
|
|
298
|
-
basic: {
|
|
299
|
-
description: "Basic Infomation",
|
|
300
|
-
title: "基本信息",
|
|
301
|
-
properties: {
|
|
302
|
-
id: {
|
|
303
|
-
description: "组件标识",
|
|
304
|
-
title: "标识",
|
|
305
|
-
type: "string",
|
|
306
|
-
readonly: !0
|
|
307
|
-
},
|
|
308
|
-
type: {
|
|
309
|
-
description: "组件类型",
|
|
310
|
-
title: "控件类型",
|
|
311
|
-
type: "select",
|
|
312
|
-
editor: {
|
|
313
|
-
type: "waiting for modification",
|
|
314
|
-
enum: []
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
behavior: {
|
|
320
|
-
description: "Basic Infomation",
|
|
321
|
-
title: "行为",
|
|
322
|
-
properties: {
|
|
323
|
-
editable: {
|
|
324
|
-
description: "",
|
|
325
|
-
title: "允许编辑",
|
|
326
|
-
type: "boolean"
|
|
327
|
-
},
|
|
328
|
-
readonly: {
|
|
329
|
-
description: "",
|
|
330
|
-
title: "只读",
|
|
331
|
-
type: "string"
|
|
332
|
-
},
|
|
333
|
-
required: {
|
|
334
|
-
description: "",
|
|
335
|
-
title: "必填",
|
|
336
|
-
type: "boolean"
|
|
337
|
-
},
|
|
338
|
-
visible: {
|
|
339
|
-
description: "",
|
|
340
|
-
title: "可见",
|
|
341
|
-
type: "boolean"
|
|
342
|
-
},
|
|
343
|
-
placeHolder: {
|
|
344
|
-
description: "",
|
|
345
|
-
title: "提示文本",
|
|
346
|
-
type: "string"
|
|
347
|
-
},
|
|
348
|
-
tabindex: {
|
|
349
|
-
description: "",
|
|
350
|
-
title: "tab索引",
|
|
351
|
-
type: "number"
|
|
352
|
-
},
|
|
353
|
-
textAlign: {
|
|
354
|
-
description: "",
|
|
355
|
-
title: "对齐方式",
|
|
356
|
-
type: "enum",
|
|
357
|
-
editor: {
|
|
358
|
-
type: "combo-select",
|
|
359
|
-
textField: "name",
|
|
360
|
-
valueField: "value",
|
|
361
|
-
data: [
|
|
362
|
-
{
|
|
363
|
-
value: "left",
|
|
364
|
-
name: "左对齐"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
value: "center",
|
|
368
|
-
name: "居中对齐"
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
value: "right",
|
|
372
|
-
name: "右对齐"
|
|
373
|
-
}
|
|
374
|
-
]
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
}, _e = {
|
|
380
|
-
title: qe,
|
|
381
|
-
description: Ue,
|
|
382
|
-
type: Xe,
|
|
383
|
-
categories: Ke
|
|
384
|
-
}, ye = {
|
|
385
|
-
/**
|
|
386
|
-
* 组件标识
|
|
387
|
-
*/
|
|
388
|
-
id: String,
|
|
389
|
-
/**
|
|
390
|
-
* 扩展按钮显示内容,这是一段现在扩展按钮中的html标签
|
|
391
|
-
*/
|
|
392
|
-
buttonContent: { type: String, default: '<i class="f-icon f-icon-lookup"></i>' },
|
|
393
|
-
buttonBehavior: { type: String, default: "Popup" },
|
|
394
|
-
/**
|
|
395
|
-
* 启用输入框自动完成功能
|
|
396
|
-
*/
|
|
397
|
-
autoComplete: { type: Boolean, default: !1 },
|
|
398
|
-
/**
|
|
399
|
-
* 组件自定义样式
|
|
400
|
-
*/
|
|
401
|
-
customClass: { type: String, default: "" },
|
|
402
|
-
/**
|
|
403
|
-
* 禁用组件,既不允许在输入框中录入,也不允许点击扩展按钮。
|
|
404
|
-
*/
|
|
405
|
-
disable: { type: Boolean, default: !1 },
|
|
406
|
-
/**
|
|
407
|
-
* 允许在输入框中录入文本。
|
|
408
|
-
*/
|
|
409
|
-
editable: { type: Boolean, default: !0 },
|
|
410
|
-
/**
|
|
411
|
-
* 显示清空文本按钮
|
|
412
|
-
*/
|
|
413
|
-
enableClear: { type: Boolean, default: !1 },
|
|
414
|
-
/**
|
|
415
|
-
* 组件值
|
|
416
|
-
*/
|
|
417
|
-
modelValue: { type: String, default: "" },
|
|
418
|
-
/**
|
|
419
|
-
* 将组件设置为只读,既不允许在输入框中录入,也不允许点击扩展按钮,但是允许复制输入框中的内容。
|
|
420
|
-
*/
|
|
421
|
-
readonly: { type: Boolean, default: !1 },
|
|
422
|
-
/**
|
|
423
|
-
* 禁用组件时,是否显示扩展按钮
|
|
424
|
-
*/
|
|
425
|
-
showButtonWhenDisabled: { type: Boolean, default: !1 },
|
|
426
|
-
/**
|
|
427
|
-
* 显示输入框的标签
|
|
428
|
-
*/
|
|
429
|
-
enableTitle: { type: Boolean, default: !1 },
|
|
430
|
-
/**
|
|
431
|
-
* 输入框类型
|
|
432
|
-
*/
|
|
433
|
-
inputType: { type: String, default: "text" },
|
|
434
|
-
/**
|
|
435
|
-
* 显示输入框提示信息
|
|
436
|
-
*/
|
|
437
|
-
forcePlaceholder: { type: Boolean, default: !1 },
|
|
438
|
-
/**
|
|
439
|
-
* 输入框提示文本
|
|
440
|
-
*/
|
|
441
|
-
placeholder: { type: String, default: "" },
|
|
442
|
-
/**
|
|
443
|
-
* 输入框最小长度
|
|
444
|
-
*/
|
|
445
|
-
minLength: Number,
|
|
446
|
-
/**
|
|
447
|
-
* 输入框最大长度
|
|
448
|
-
*/
|
|
449
|
-
maxLength: Number,
|
|
450
|
-
/**
|
|
451
|
-
* 输入框Tab键索引
|
|
452
|
-
*/
|
|
453
|
-
tabIndex: Number,
|
|
454
|
-
popupHost: { type: Object },
|
|
455
|
-
popupRightBoundary: { type: Object },
|
|
456
|
-
popupOffsetX: { type: Object },
|
|
457
|
-
popupOnInput: { type: Boolean, default: !1 },
|
|
458
|
-
popupOnFocus: { type: Boolean, default: !1 },
|
|
459
|
-
popupMinWidth: { type: Number, default: 160 },
|
|
460
|
-
modalOptions: { type: Object, default: {} },
|
|
461
|
-
wrapText: { type: Boolean, default: !1 },
|
|
462
|
-
/**
|
|
463
|
-
* 可选,是否支持多选
|
|
464
|
-
* 默认`false`
|
|
465
|
-
*/
|
|
466
|
-
multiSelect: { type: Boolean, default: !1 },
|
|
467
|
-
/**
|
|
468
|
-
* 可选,分隔符
|
|
469
|
-
* 默认`,`
|
|
470
|
-
*/
|
|
471
|
-
separator: { type: String, default: "," },
|
|
472
|
-
/**对齐方式 */
|
|
473
|
-
textAlign: { type: String, default: "left" }
|
|
474
|
-
};
|
|
475
|
-
ie(ye, Ge, Le, Re, _e);
|
|
476
|
-
const Je = {
|
|
477
|
-
popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
|
|
478
|
-
host: { type: Object },
|
|
479
|
-
backgroundColor: { type: String, default: "" }
|
|
480
|
-
}, Qe = /* @__PURE__ */ G({
|
|
481
|
-
name: "FOverlay",
|
|
482
|
-
props: Je,
|
|
483
|
-
emits: ["click"],
|
|
484
|
-
setup(e, t) {
|
|
485
|
-
const o = c(e.popupContentPosition), i = c(e.host), n = g(() => ({
|
|
486
|
-
backgroundColor: e.backgroundColor || "",
|
|
487
|
-
pointerEvents: "auto"
|
|
488
|
-
}));
|
|
489
|
-
function l(p) {
|
|
490
|
-
t.emit("click"), p.preventDefault(), p.stopPropagation();
|
|
491
|
-
}
|
|
492
|
-
g(() => {
|
|
493
|
-
const p = i.value;
|
|
494
|
-
if (p) {
|
|
495
|
-
const m = p.getBoundingClientRect(), {
|
|
496
|
-
left: s,
|
|
497
|
-
top: d,
|
|
498
|
-
height: a
|
|
499
|
-
} = m;
|
|
500
|
-
return {
|
|
501
|
-
left: s,
|
|
502
|
-
top: d + a
|
|
503
|
-
};
|
|
504
|
-
}
|
|
505
|
-
return o.value;
|
|
506
|
-
});
|
|
507
|
-
const u = g(() => ({
|
|
508
|
-
// position: 'relative',
|
|
509
|
-
// left: `${position.value.left}px`,
|
|
510
|
-
// top: `${position.value.top}px`
|
|
511
|
-
}));
|
|
512
|
-
return () => f(oe, {
|
|
513
|
-
to: "body"
|
|
514
|
-
}, {
|
|
515
|
-
default: () => {
|
|
516
|
-
var p, m;
|
|
517
|
-
return [f("div", {
|
|
518
|
-
class: "overlay-container",
|
|
519
|
-
onClick: (s) => l(s),
|
|
520
|
-
style: n.value
|
|
521
|
-
}, [f("div", {
|
|
522
|
-
style: u.value
|
|
523
|
-
}, [(m = (p = t.slots).default) == null ? void 0 : m.call(p)])])];
|
|
524
|
-
}
|
|
525
|
-
});
|
|
526
|
-
}
|
|
527
|
-
});
|
|
528
|
-
function Ye(e) {
|
|
529
|
-
if (e.content && e.content.render)
|
|
530
|
-
return e.content.render;
|
|
531
|
-
if (e.render && typeof e.render == "function")
|
|
532
|
-
return e.render;
|
|
533
|
-
}
|
|
534
|
-
function Ze(e) {
|
|
535
|
-
const t = document.createElement("div");
|
|
536
|
-
t.style.display = "contents";
|
|
537
|
-
let o;
|
|
538
|
-
const i = e.onClickCallback || (() => {
|
|
539
|
-
}), n = () => {
|
|
540
|
-
i(), o && o.unmount();
|
|
541
|
-
};
|
|
542
|
-
return o = de({
|
|
543
|
-
setup() {
|
|
544
|
-
ae(() => {
|
|
545
|
-
document.body.removeChild(t);
|
|
546
|
-
});
|
|
547
|
-
const l = Ye(e);
|
|
548
|
-
return () => f(Qe, {
|
|
549
|
-
"popup-content-position": e.popupPosition,
|
|
550
|
-
host: e.host,
|
|
551
|
-
onClick: n,
|
|
552
|
-
backgroundColor: e.backgroundColor
|
|
553
|
-
}, {
|
|
554
|
-
default: () => [l && l()]
|
|
555
|
-
});
|
|
556
|
-
}
|
|
557
|
-
}), document.body.appendChild(t), o.mount(t), o;
|
|
558
|
-
}
|
|
559
|
-
class et {
|
|
560
|
-
static show(t) {
|
|
561
|
-
return Ze(t);
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
const tt = {
|
|
565
|
-
class: { type: String, default: "" },
|
|
566
|
-
title: { type: String, default: "" },
|
|
567
|
-
width: { type: Number, default: 500 },
|
|
568
|
-
height: { type: Number, default: 320 },
|
|
569
|
-
buttons: {
|
|
570
|
-
type: Array,
|
|
571
|
-
default: []
|
|
572
|
-
},
|
|
573
|
-
modelValue: { type: Boolean, default: !1 },
|
|
574
|
-
showHeader: { type: Boolean, default: !0 },
|
|
575
|
-
showButtons: { type: Boolean, default: !0 },
|
|
576
|
-
fitContent: { type: Boolean, default: !0 }
|
|
577
|
-
}, nt = /* @__PURE__ */ G({
|
|
578
|
-
name: "FModal",
|
|
579
|
-
props: tt,
|
|
580
|
-
emits: ["update:modelValue", "accept", "cancel", "closed"],
|
|
581
|
-
setup(e, t) {
|
|
582
|
-
const o = c(e.width), i = c(e.height), n = c(e.modelValue), l = c(""), u = c(e.class), p = c(e.fitContent), m = c(e.showHeader), s = c(""), d = c(!0), a = c(!1), r = c(!1), v = c(""), C = c(""), h = c(""), E = c(e.showButtons), P = c(e.title);
|
|
583
|
-
function R(k, V) {
|
|
584
|
-
n.value = !1, t.emit("update:modelValue", !1), V != null && t.emit(V ? "accept" : "cancel"), t.emit("closed");
|
|
585
|
-
}
|
|
586
|
-
const F = [{
|
|
587
|
-
text: "取消",
|
|
588
|
-
class: "btn btn-light",
|
|
589
|
-
handle: (k) => {
|
|
590
|
-
R(k, !1);
|
|
591
|
-
}
|
|
592
|
-
}, {
|
|
593
|
-
text: "确定",
|
|
594
|
-
class: "btn btn-primary",
|
|
595
|
-
handle: (k) => {
|
|
596
|
-
R(k, !0);
|
|
597
|
-
}
|
|
598
|
-
}], I = c(e.buttons && e.buttons.length ? e.buttons : F), $ = g(() => !!s.value), M = g(() => !!E.value && !!I.value);
|
|
599
|
-
c(), c(), L(() => e.modelValue, () => {
|
|
600
|
-
n.value = e.modelValue;
|
|
601
|
-
});
|
|
602
|
-
const S = c(!1), W = g(() => n.value), B = g(() => {
|
|
603
|
-
const k = {
|
|
604
|
-
modal: !0,
|
|
605
|
-
"farris-modal": !0
|
|
606
|
-
};
|
|
607
|
-
return k["f-modal-fitContent"] = p.value, k;
|
|
608
|
-
}), D = g(() => ({
|
|
609
|
-
display: W.value ? "block" : "none !important"
|
|
610
|
-
})), q = g(() => {
|
|
611
|
-
const k = {
|
|
612
|
-
"modal-dialog": !0
|
|
613
|
-
};
|
|
614
|
-
return u.value.split(" ").reduce((A, _) => (A[_] = !0, A), k), k;
|
|
615
|
-
}), w = g(() => ({
|
|
616
|
-
position: "absolute",
|
|
617
|
-
top: "50%",
|
|
618
|
-
left: "50%",
|
|
619
|
-
width: `${o.value}px`,
|
|
620
|
-
height: p.value ? "auto" : `${i.value}px`,
|
|
621
|
-
"margin-left": `${0 - o.value / 2}px`,
|
|
622
|
-
"margin-top": p.value ? "auto" : `${0 - i.value / 2}px`
|
|
623
|
-
})), N = g(() => ({
|
|
624
|
-
"modal-content": !0,
|
|
625
|
-
"modal-content-has-header": m.value
|
|
626
|
-
})), U = g(() => ({
|
|
627
|
-
display: m.value ? "" : "none"
|
|
628
|
-
})), K = g(() => ({
|
|
629
|
-
"f-icon": !0,
|
|
630
|
-
modal_maximize: !0,
|
|
631
|
-
modalrevert: S.value
|
|
632
|
-
})), J = g(() => ({
|
|
633
|
-
height: "10px",
|
|
634
|
-
"z-index": 1,
|
|
635
|
-
display: m.value ? "none" : ""
|
|
636
|
-
})), x = g(() => ({
|
|
637
|
-
"modal-body": !0,
|
|
638
|
-
"f-utils-flex-column": v.value === "iframe"
|
|
639
|
-
}));
|
|
640
|
-
function O() {
|
|
641
|
-
return {};
|
|
642
|
-
}
|
|
643
|
-
const j = g(() => {
|
|
644
|
-
const k = {
|
|
645
|
-
textAlgin: h.value
|
|
646
|
-
}, V = O();
|
|
647
|
-
return Object.assign(k, V);
|
|
648
|
-
});
|
|
649
|
-
function H(k) {
|
|
650
|
-
}
|
|
651
|
-
return () => f(oe, {
|
|
652
|
-
to: "body"
|
|
653
|
-
}, {
|
|
654
|
-
default: () => {
|
|
655
|
-
var k, V;
|
|
656
|
-
return [f("div", {
|
|
657
|
-
class: B.value,
|
|
658
|
-
style: D.value
|
|
659
|
-
}, [f("div", {
|
|
660
|
-
id: l.value,
|
|
661
|
-
class: q.value,
|
|
662
|
-
style: w.value
|
|
663
|
-
}, [f("div", {
|
|
664
|
-
class: N.value
|
|
665
|
-
}, [f("div", {
|
|
666
|
-
ref: "modalHeaderRef",
|
|
667
|
-
class: "modal-header",
|
|
668
|
-
style: U.value
|
|
669
|
-
}, [f("div", {
|
|
670
|
-
class: "modal-title"
|
|
671
|
-
}, [$.value && f("span", {
|
|
672
|
-
class: s.value,
|
|
673
|
-
style: "margin-right: 8px"
|
|
674
|
-
}, null), f("span", {
|
|
675
|
-
class: "modal-title-label"
|
|
676
|
-
}, [P.value])]), f("div", {
|
|
677
|
-
class: "actions"
|
|
678
|
-
}, [f("ul", null, [r.value && f("li", {
|
|
679
|
-
class: "f-btn-icon f-bare"
|
|
680
|
-
}, [f("span", {
|
|
681
|
-
class: "f-icon modal_minimize"
|
|
682
|
-
}, null)]), a.value && f("li", {
|
|
683
|
-
onClick: H,
|
|
684
|
-
class: "f-btn-icon f-bare"
|
|
685
|
-
}, [f("span", {
|
|
686
|
-
class: K.value
|
|
687
|
-
}, null)]), d.value && f("li", {
|
|
688
|
-
class: "f-btn-icon f-bare",
|
|
689
|
-
onClick: (A) => R(A, !1)
|
|
690
|
-
}, [f("span", {
|
|
691
|
-
class: "f-icon modal_close"
|
|
692
|
-
}, null)])])])]), f("div", {
|
|
693
|
-
ref: "dragableElementRef",
|
|
694
|
-
class: "f-utils-absolute-all",
|
|
695
|
-
style: J.value
|
|
696
|
-
}, null), f("div", {
|
|
697
|
-
class: x.value
|
|
698
|
-
}, [(V = (k = t.slots).default) == null ? void 0 : V.call(k), v.value === "iframe" && f("iframe", {
|
|
699
|
-
title: l.value,
|
|
700
|
-
class: "f-utils-fill",
|
|
701
|
-
width: "100%",
|
|
702
|
-
frameborder: "0",
|
|
703
|
-
src: C.value
|
|
704
|
-
}, null)]), M.value && f("div", {
|
|
705
|
-
class: "modal-footer",
|
|
706
|
-
style: j.value
|
|
707
|
-
}, [I.value && I.value.map((A) => f("button", {
|
|
708
|
-
type: "button",
|
|
709
|
-
class: A.class + " " + (A.iconClass && "btn-icontext"),
|
|
710
|
-
onClick: (_) => {
|
|
711
|
-
A.handle && A.handle(_);
|
|
712
|
-
}
|
|
713
|
-
}, [!!A.iconClass && f("i", {
|
|
714
|
-
class: A.iconClass
|
|
715
|
-
}, null), A.text]))])])])])];
|
|
716
|
-
}
|
|
717
|
-
});
|
|
718
|
-
}
|
|
719
|
-
});
|
|
720
|
-
function ot(e) {
|
|
721
|
-
if (e.content && e.content.render)
|
|
722
|
-
return e.content.render;
|
|
723
|
-
if (e.render && typeof e.render == "function")
|
|
724
|
-
return e.render;
|
|
725
|
-
}
|
|
726
|
-
function at(e) {
|
|
727
|
-
const t = document.createElement("div");
|
|
728
|
-
t.style.display = "contents";
|
|
729
|
-
const o = de({
|
|
730
|
-
setup() {
|
|
731
|
-
ae(() => {
|
|
732
|
-
document.body.removeChild(t);
|
|
733
|
-
});
|
|
734
|
-
const i = c(e.class || ""), n = c(!!e.showButtons), l = c(!!e.showHeader), u = c(!0), p = c(e.title || ""), m = e.acceptCallback || (() => {
|
|
735
|
-
}), s = e.rejectCallback || (() => {
|
|
736
|
-
}), d = ot(e), a = () => {
|
|
737
|
-
u.value = !1, o.unmount();
|
|
738
|
-
};
|
|
739
|
-
return () => f(nt, {
|
|
740
|
-
class: i.value,
|
|
741
|
-
modelValue: u.value,
|
|
742
|
-
"onUpdate:modelValue": (r) => u.value = r,
|
|
743
|
-
title: p.value,
|
|
744
|
-
width: e.width,
|
|
745
|
-
height: e.height,
|
|
746
|
-
buttons: e.buttons,
|
|
747
|
-
"show-header": l.value,
|
|
748
|
-
"show-buttons": n.value,
|
|
749
|
-
onAccept: m,
|
|
750
|
-
onCancel: s,
|
|
751
|
-
fitContent: e.fitContent,
|
|
752
|
-
onClosed: a
|
|
753
|
-
}, {
|
|
754
|
-
default: () => [d && d(o)]
|
|
755
|
-
});
|
|
756
|
-
}
|
|
757
|
-
});
|
|
758
|
-
return document.body.appendChild(t), o.mount(t), o;
|
|
759
|
-
}
|
|
760
|
-
class ge {
|
|
761
|
-
static show(t) {
|
|
762
|
-
const o = Object.assign({
|
|
763
|
-
title: "",
|
|
764
|
-
showButtons: !0,
|
|
765
|
-
showHeader: !0
|
|
766
|
-
}, t);
|
|
767
|
-
return at(o);
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
function lt(e, t, o, i) {
|
|
771
|
-
const n = c(e.buttonBehavior), l = c(e.popupOnInput), u = g(() => ({
|
|
772
|
-
"input-group-append": !0,
|
|
773
|
-
"append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
|
|
774
|
-
})), p = g(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable);
|
|
775
|
-
async function m(a) {
|
|
776
|
-
if (p.value) {
|
|
777
|
-
const r = !!t.slots.default;
|
|
778
|
-
if (n.value === "Modal") {
|
|
779
|
-
const v = e.modalOptions;
|
|
780
|
-
ge.show({
|
|
781
|
-
...v,
|
|
782
|
-
render: () => t.slots.default && t.slots.default()
|
|
783
|
-
});
|
|
784
|
-
}
|
|
785
|
-
n.value === "Overlay" && et.show({
|
|
786
|
-
// host: buttonEditRef.value,
|
|
787
|
-
host: document.body,
|
|
788
|
-
backgroundColor: "rgba(0,0,0,.15)",
|
|
789
|
-
render: () => t.slots.default && t.slots.default()
|
|
790
|
-
}), r && n.value === "Popup" && i.togglePopup(), r && l.value && i.hidePopup(), t.emit("clickButton", { origin: a, value: e.modelValue });
|
|
791
|
-
}
|
|
792
|
-
a.stopPropagation();
|
|
793
|
-
}
|
|
794
|
-
function s(a) {
|
|
795
|
-
t.emit("mouseEnterIcon", a);
|
|
796
|
-
}
|
|
797
|
-
function d(a) {
|
|
798
|
-
t.emit("mouseLeaveIcon", a);
|
|
799
|
-
}
|
|
800
|
-
return {
|
|
801
|
-
buttonGroupClass: u,
|
|
802
|
-
onClickButton: m,
|
|
803
|
-
onMouseEnterButton: s,
|
|
804
|
-
onMouseLeaveButton: d
|
|
805
|
-
};
|
|
806
|
-
}
|
|
807
|
-
function ut(e, t, o, i, n, l) {
|
|
808
|
-
const u = c(!1), p = g(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: m } = l;
|
|
809
|
-
function s(v) {
|
|
810
|
-
u.value = v;
|
|
811
|
-
}
|
|
812
|
-
L(n, () => {
|
|
813
|
-
s(!!n.value);
|
|
814
|
-
});
|
|
815
|
-
function d(v) {
|
|
816
|
-
const C = !e.readonly && !e.disable && e.editable, h = !e.editable;
|
|
817
|
-
v.stopPropagation(), (C || h) && (m("", !1), s(!u.value), t.emit("clear"));
|
|
818
|
-
}
|
|
819
|
-
function a(v) {
|
|
820
|
-
if (p.value) {
|
|
821
|
-
if (!o.value) {
|
|
822
|
-
s(!1);
|
|
823
|
-
return;
|
|
824
|
-
}
|
|
825
|
-
!e.disable && !e.readonly && s(!0);
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
function r(v) {
|
|
829
|
-
p.value && s(!1);
|
|
830
|
-
}
|
|
831
|
-
return {
|
|
832
|
-
enableClearButton: p,
|
|
833
|
-
showClearButton: u,
|
|
834
|
-
onClearValue: d,
|
|
835
|
-
onMouseEnterTextBox: a,
|
|
836
|
-
onMouseLeaveTextBox: r
|
|
837
|
-
};
|
|
838
|
-
}
|
|
839
|
-
function it(e, t, o, i, n) {
|
|
840
|
-
const l = c(e.popupOnInput), u = c(e.popupOnFocus), { shouldPopupContent: p } = n, m = g(() => e.enableTitle ? o.value : ""), s = g(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), d = g(() => e.readonly || !e.editable), a = c(!1), r = g(() => !e.disable && a.value), v = g(() => ({
|
|
841
|
-
"text-left": e.textAlign === "left",
|
|
842
|
-
"text-center": e.textAlign === "center",
|
|
843
|
-
"text-right": e.textAlign === "right",
|
|
844
|
-
"form-control": !0,
|
|
845
|
-
"f-utils-fill": !0
|
|
846
|
-
})), C = g(() => ({
|
|
847
|
-
"input-group": !0,
|
|
848
|
-
"f-state-disable": e.disable,
|
|
849
|
-
"f-state-editable": e.editable && !e.disable && !e.readonly,
|
|
850
|
-
"f-state-readonly": e.readonly && !e.disable,
|
|
851
|
-
"f-state-focus": r.value
|
|
852
|
-
}));
|
|
853
|
-
function h(B, D = !0) {
|
|
854
|
-
o.value !== B && (o.value = B, D && t.emit("change", B), t.emit("update:modelValue", B));
|
|
855
|
-
}
|
|
856
|
-
function E(B) {
|
|
857
|
-
p.value = !1, h(B, !0);
|
|
858
|
-
}
|
|
859
|
-
L(
|
|
860
|
-
() => e.modelValue,
|
|
861
|
-
(B) => {
|
|
862
|
-
o.value = B;
|
|
863
|
-
}
|
|
864
|
-
);
|
|
865
|
-
function P(B) {
|
|
866
|
-
a.value = !1, t.emit("blur", B), B.stopPropagation();
|
|
867
|
-
}
|
|
868
|
-
function R(B) {
|
|
869
|
-
t.emit("click", B);
|
|
870
|
-
}
|
|
871
|
-
function F(B) {
|
|
872
|
-
e.disable || (a.value = !0, d.value || (t.emit("focus", B), u.value && !p.value && n.popup()));
|
|
873
|
-
}
|
|
874
|
-
function I(B) {
|
|
875
|
-
t.emit("input", B.target.value);
|
|
876
|
-
const D = B.target.value;
|
|
877
|
-
i.value = D, o.value !== D && h(D, !1), l.value && !p.value && n.popup();
|
|
878
|
-
}
|
|
879
|
-
function $(B) {
|
|
880
|
-
B.target.tagName !== "INPUT" && B.preventDefault(), B.stopPropagation();
|
|
881
|
-
}
|
|
882
|
-
function M(B) {
|
|
883
|
-
t.emit("keydown", B);
|
|
884
|
-
}
|
|
885
|
-
function S(B) {
|
|
886
|
-
B.key === "Enter" && (l.value || u.value) && n.hidePopup(), t.emit("keyup", B);
|
|
887
|
-
}
|
|
888
|
-
function W(B) {
|
|
889
|
-
const D = B.target.value;
|
|
890
|
-
B.stopPropagation(), h(D);
|
|
891
|
-
}
|
|
892
|
-
return {
|
|
893
|
-
hasFocusedTextBox: r,
|
|
894
|
-
isTextBoxReadonly: d,
|
|
895
|
-
textBoxClass: v,
|
|
896
|
-
textBoxPlaceholder: s,
|
|
897
|
-
textBoxTitle: m,
|
|
898
|
-
inputGroupClass: C,
|
|
899
|
-
changeTextBoxValue: h,
|
|
900
|
-
commitValue: E,
|
|
901
|
-
onBlurTextBox: P,
|
|
902
|
-
onClickTextBox: R,
|
|
903
|
-
onFocusTextBox: F,
|
|
904
|
-
onInput: I,
|
|
905
|
-
onKeyDownTextBox: M,
|
|
906
|
-
onKeyUpTextBox: S,
|
|
907
|
-
onMouseDownTextBox: $,
|
|
908
|
-
onTextBoxValueChange: W
|
|
909
|
-
};
|
|
910
|
-
}
|
|
911
|
-
function st(e, t, o) {
|
|
912
|
-
const i = c(), n = c(!1);
|
|
913
|
-
function l() {
|
|
914
|
-
const s = i.value;
|
|
915
|
-
s && s.show(o.value);
|
|
916
|
-
}
|
|
917
|
-
async function u() {
|
|
918
|
-
!!t.slots.default && (n.value = !n.value, await Y(), l());
|
|
919
|
-
}
|
|
920
|
-
async function p() {
|
|
921
|
-
!!t.slots.default && (n.value = !0, await Y(), l());
|
|
922
|
-
}
|
|
923
|
-
function m() {
|
|
924
|
-
n.value = !1;
|
|
925
|
-
}
|
|
926
|
-
return { hidePopup: m, popup: p, shouldPopupContent: n, togglePopup: u, popoverRef: i };
|
|
927
|
-
}
|
|
928
|
-
function rt(e, t, o) {
|
|
929
|
-
const {
|
|
930
|
-
isTextBoxReadonly: i,
|
|
931
|
-
textBoxClass: n,
|
|
932
|
-
textBoxPlaceholder: l,
|
|
933
|
-
textBoxTitle: u,
|
|
934
|
-
onBlurTextBox: p,
|
|
935
|
-
onClickTextBox: m,
|
|
936
|
-
onFocusTextBox: s,
|
|
937
|
-
onInput: d,
|
|
938
|
-
onKeyDownTextBox: a,
|
|
939
|
-
onKeyUpTextBox: r,
|
|
940
|
-
onMouseDownTextBox: v,
|
|
941
|
-
onTextBoxValueChange: C
|
|
942
|
-
} = o;
|
|
943
|
-
return () => f("input", {
|
|
944
|
-
name: "input-group-value",
|
|
945
|
-
autocomplete: e.autoComplete ? "on" : "off",
|
|
946
|
-
class: n.value,
|
|
947
|
-
disabled: e.disable,
|
|
948
|
-
maxlength: e.maxLength,
|
|
949
|
-
minlength: e.minLength,
|
|
950
|
-
placeholder: l.value,
|
|
951
|
-
readonly: i.value,
|
|
952
|
-
tabindex: e.tabIndex,
|
|
953
|
-
title: u.value,
|
|
954
|
-
type: e.inputType,
|
|
955
|
-
value: t.value,
|
|
956
|
-
onBlur: p,
|
|
957
|
-
onChange: C,
|
|
958
|
-
onClick: m,
|
|
959
|
-
onFocus: s,
|
|
960
|
-
onInput: d,
|
|
961
|
-
onKeydown: a,
|
|
962
|
-
onKeyup: r,
|
|
963
|
-
onMousedown: v
|
|
964
|
-
}, null);
|
|
965
|
-
}
|
|
966
|
-
function ct(e, t, o) {
|
|
967
|
-
return t;
|
|
968
|
-
}
|
|
969
|
-
const dt = /* @__PURE__ */ new Map([
|
|
970
|
-
["appearance", se]
|
|
971
|
-
]), ft = "tags", pt = "A Farris Component", vt = "object", mt = {
|
|
972
|
-
basic: {
|
|
973
|
-
description: "Basic Infomation",
|
|
974
|
-
title: "基本信息",
|
|
975
|
-
properties: {
|
|
976
|
-
id: {
|
|
977
|
-
description: "组件标识",
|
|
978
|
-
title: "标识",
|
|
979
|
-
type: "string",
|
|
980
|
-
readonly: !0
|
|
981
|
-
},
|
|
982
|
-
type: {
|
|
983
|
-
description: "组件类型",
|
|
984
|
-
title: "控件类型",
|
|
985
|
-
type: "select",
|
|
986
|
-
editor: {
|
|
987
|
-
type: "waiting for modification",
|
|
988
|
-
enum: []
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
}, yt = {
|
|
994
|
-
title: ft,
|
|
995
|
-
description: pt,
|
|
996
|
-
type: vt,
|
|
997
|
-
categories: mt
|
|
998
|
-
}, gt = "https://json-schema.org/draft/2020-12/schema", bt = "https://farris-design.gitee.io/tags.schema.json", ht = "tags", Ct = "A Farris Component", Bt = "object", wt = {
|
|
999
|
-
id: {
|
|
1000
|
-
description: "The unique identifier for tags",
|
|
1001
|
-
type: "string"
|
|
1002
|
-
},
|
|
1003
|
-
type: {
|
|
1004
|
-
description: "The type string of tags",
|
|
1005
|
-
type: "string",
|
|
1006
|
-
default: "tags"
|
|
1007
|
-
},
|
|
1008
|
-
appearance: {
|
|
1009
|
-
description: "",
|
|
1010
|
-
type: "object",
|
|
1011
|
-
properties: {
|
|
1012
|
-
class: {
|
|
1013
|
-
type: "string"
|
|
1014
|
-
},
|
|
1015
|
-
style: {
|
|
1016
|
-
type: "string"
|
|
1017
|
-
}
|
|
1018
|
-
},
|
|
1019
|
-
default: {}
|
|
1020
|
-
},
|
|
1021
|
-
binding: {
|
|
1022
|
-
description: "",
|
|
1023
|
-
type: "object",
|
|
1024
|
-
default: {}
|
|
1025
|
-
},
|
|
1026
|
-
disable: {
|
|
1027
|
-
type: "string",
|
|
1028
|
-
default: !1
|
|
1029
|
-
},
|
|
1030
|
-
editable: {
|
|
1031
|
-
description: "",
|
|
1032
|
-
type: "boolean",
|
|
1033
|
-
default: !0
|
|
1034
|
-
},
|
|
1035
|
-
placeHolder: {
|
|
1036
|
-
description: "",
|
|
1037
|
-
type: "string",
|
|
1038
|
-
default: ""
|
|
1039
|
-
},
|
|
1040
|
-
readonly: {
|
|
1041
|
-
description: "",
|
|
1042
|
-
type: "boolean",
|
|
1043
|
-
default: !1
|
|
1044
|
-
},
|
|
1045
|
-
require: {
|
|
1046
|
-
description: "",
|
|
1047
|
-
type: "boolean",
|
|
1048
|
-
default: !1
|
|
1049
|
-
},
|
|
1050
|
-
tabindex: {
|
|
1051
|
-
description: "",
|
|
1052
|
-
type: "number",
|
|
1053
|
-
default: -1
|
|
1054
|
-
},
|
|
1055
|
-
visible: {
|
|
1056
|
-
description: "",
|
|
1057
|
-
type: "boolean",
|
|
1058
|
-
default: !0
|
|
1059
|
-
}
|
|
1060
|
-
}, xt = [
|
|
1061
|
-
"id",
|
|
1062
|
-
"type"
|
|
1063
|
-
], Tt = {
|
|
1064
|
-
$schema: gt,
|
|
1065
|
-
$id: bt,
|
|
1066
|
-
title: ht,
|
|
1067
|
-
description: Ct,
|
|
1068
|
-
type: Bt,
|
|
1069
|
-
properties: wt,
|
|
1070
|
-
required: xt
|
|
1071
|
-
}, be = {
|
|
1072
|
-
activeTag: { type: String, default: "" },
|
|
1073
|
-
addButtonText: { type: String, default: "" },
|
|
1074
|
-
customClass: { type: String, default: "" },
|
|
1075
|
-
customStyle: { type: String, default: "" },
|
|
1076
|
-
data: { type: Array, default: [{ name: "示例1" }] },
|
|
1077
|
-
enableAddButton: { type: Boolean, default: !1 },
|
|
1078
|
-
selectable: { type: Boolean, default: !1 },
|
|
1079
|
-
showAddButton: { type: Boolean, default: !1 },
|
|
1080
|
-
showClose: { type: Boolean, default: !0 },
|
|
1081
|
-
showColor: { type: Boolean, default: !1 },
|
|
1082
|
-
tagType: { type: String, default: "" },
|
|
1083
|
-
tagStyle: { type: String, default: "" },
|
|
1084
|
-
wrapText: { type: Boolean, default: !1 },
|
|
1085
|
-
draggable: { type: Boolean, default: !1 },
|
|
1086
|
-
disable: { type: Boolean, default: !1 }
|
|
1087
|
-
};
|
|
1088
|
-
ie(be, Tt, dt, ct, yt);
|
|
1089
|
-
function kt(e, t, o, i) {
|
|
1090
|
-
const n = c(-1), l = c(!1);
|
|
1091
|
-
function u(d, a, r) {
|
|
1092
|
-
d.stopPropagation(), a && setTimeout(() => {
|
|
1093
|
-
n.value = r, l.value = !0, a.moving = !0;
|
|
1094
|
-
});
|
|
1095
|
-
}
|
|
1096
|
-
function p(d, a) {
|
|
1097
|
-
if (d.preventDefault(), n.value !== a) {
|
|
1098
|
-
const r = i.value[n.value], v = i.value;
|
|
1099
|
-
v.splice(n.value, 1), v.splice(a, 0, r), n.value = a;
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
function m(d, a) {
|
|
1103
|
-
d.preventDefault(), d.dataTransfer && (d.dataTransfer.dropEffect = "move");
|
|
1104
|
-
}
|
|
1105
|
-
function s(d, a) {
|
|
1106
|
-
a && (a.moving = !1), o.value = i.value.filter((r) => r.type === "Tag").map((r) => r.payload), l.value = !1, t.emit("change", o.value);
|
|
1107
|
-
}
|
|
1108
|
-
return {
|
|
1109
|
-
dragstart: u,
|
|
1110
|
-
dragenter: p,
|
|
1111
|
-
dragover: m,
|
|
1112
|
-
dragend: s,
|
|
1113
|
-
isDragging: l
|
|
1114
|
-
};
|
|
1115
|
-
}
|
|
1116
|
-
const Pt = /* @__PURE__ */ G({
|
|
1117
|
-
name: "FTags",
|
|
1118
|
-
props: be,
|
|
1119
|
-
emits: ["remove", "selectionChange", "change"],
|
|
1120
|
-
setup(e, t) {
|
|
1121
|
-
const o = c(e.selectable), i = c(e.customClass), n = c(e.data), l = c(e.tagType), u = c(e.tagStyle), p = c(e.showColor), m = c(e.customStyle), s = c(e.activeTag), d = c(e.showClose), a = c(e.addButtonText), r = c(), v = c(e.wrapText), C = c();
|
|
1122
|
-
c(e.disable);
|
|
1123
|
-
const h = c(!1);
|
|
1124
|
-
function E() {
|
|
1125
|
-
const y = n.value.map((b) => ({
|
|
1126
|
-
type: "Tag",
|
|
1127
|
-
payload: b
|
|
1128
|
-
}));
|
|
1129
|
-
return e.showAddButton && y.push({
|
|
1130
|
-
type: "AddButton"
|
|
1131
|
-
}), y;
|
|
1132
|
-
}
|
|
1133
|
-
const P = c(E());
|
|
1134
|
-
function R(y) {
|
|
1135
|
-
n.value = y, P.value = E();
|
|
1136
|
-
}
|
|
1137
|
-
const F = g(() => P.value.findIndex((y) => y.type === "Input")), I = kt(e, t, n, P), {
|
|
1138
|
-
dragstart: $,
|
|
1139
|
-
dragenter: M,
|
|
1140
|
-
dragover: S,
|
|
1141
|
-
dragend: W
|
|
1142
|
-
} = I;
|
|
1143
|
-
L(() => e.data, (y) => R(y)), L(() => e.showAddButton, () => {
|
|
1144
|
-
P.value = E();
|
|
1145
|
-
}), L(() => e.disable, (y) => {
|
|
1146
|
-
P.value = E();
|
|
1147
|
-
}), L(() => e.activeTag, (y) => {
|
|
1148
|
-
s.value = y;
|
|
1149
|
-
}), L(h, (y) => {
|
|
1150
|
-
const b = [...P.value];
|
|
1151
|
-
y ? b.length > 0 && b[b.length - 1].type != "Input" && (b.splice(b.length - 1, 1), b.splice(b.length, 0, {
|
|
1152
|
-
type: "Input"
|
|
1153
|
-
}), P.value = b, Y(() => {
|
|
1154
|
-
C.value && C.value.focus();
|
|
1155
|
-
})) : b.length > 0 && b[b.length - 1].type != "AddButton" && (b.splice(b.length - 1, 1), b.splice(b.length, 0, {
|
|
1156
|
-
type: "AddButton"
|
|
1157
|
-
}), P.value = b);
|
|
1158
|
-
});
|
|
1159
|
-
const B = g(() => {
|
|
1160
|
-
const y = {
|
|
1161
|
-
"farris-tags": !0,
|
|
1162
|
-
"farris-tags-checkable": o.value,
|
|
1163
|
-
"farris-tags-nowrap": !v.value
|
|
1164
|
-
};
|
|
1165
|
-
return i.value.split(" ").reduce((b, T) => (b[T] = !0, b), y), y;
|
|
1166
|
-
});
|
|
1167
|
-
function D(y) {
|
|
1168
|
-
const b = {
|
|
1169
|
-
"farris-tag-item": !0,
|
|
1170
|
-
"farris-tag-item-checked": o.value && y.checked,
|
|
1171
|
-
"farris-tag-item-checkable": o.value,
|
|
1172
|
-
"farris-tag-item-has-color": p.value,
|
|
1173
|
-
"farris-tag-item-actived": s.value === y.name
|
|
1174
|
-
};
|
|
1175
|
-
if (l.value) {
|
|
1176
|
-
const T = `farris-tag-item-${l.value}`;
|
|
1177
|
-
b[T] = !0;
|
|
1178
|
-
}
|
|
1179
|
-
return b;
|
|
1180
|
-
}
|
|
1181
|
-
const q = g(() => {
|
|
1182
|
-
const y = {};
|
|
1183
|
-
return m.value && m.value.split(";").reduce((b, T) => {
|
|
1184
|
-
const z = T.split(":");
|
|
1185
|
-
return b[z[0]] = z[1], b;
|
|
1186
|
-
}, y), y;
|
|
1187
|
-
});
|
|
1188
|
-
function w(y, b) {
|
|
1189
|
-
!e.disable && o.value && (!b.hasOwnProperty("selectable") || b.selectable) && (b.checked = !b.checked, s.value = b.checked ? b.name : "", b.checked && n.value.filter((T) => T.name !== b.name).forEach((T) => {
|
|
1190
|
-
T.checked = !b.checked;
|
|
1191
|
-
}), t.emit("change", n.value), t.emit("selectionChange", b));
|
|
1192
|
-
}
|
|
1193
|
-
function N(y, b) {
|
|
1194
|
-
let T;
|
|
1195
|
-
switch (y.key) {
|
|
1196
|
-
case "Backspace":
|
|
1197
|
-
n.value = n.value.filter((z) => z.name !== b.name), t.emit("change", n.value);
|
|
1198
|
-
break;
|
|
1199
|
-
case "ArrowLeft":
|
|
1200
|
-
T = Math.max(r.value.scrollLeft + 20, 0), r.value.scrollLeft = T;
|
|
1201
|
-
break;
|
|
1202
|
-
case "ArrowRight":
|
|
1203
|
-
T = Math.max(r.value.scrollLeft - 20, 0), r.value.scrollLeft = T;
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
function U(y, b) {
|
|
1207
|
-
const T = n.value.findIndex((z) => z.name === b.name);
|
|
1208
|
-
if (T > -1) {
|
|
1209
|
-
const [z] = n.value.splice(T, 1);
|
|
1210
|
-
P.value = E(), t.emit("change", n.value), t.emit("remove", {
|
|
1211
|
-
tags: n.value,
|
|
1212
|
-
remove: z
|
|
1213
|
-
});
|
|
1214
|
-
}
|
|
1215
|
-
y.stopPropagation();
|
|
1216
|
-
}
|
|
1217
|
-
const K = g(() => ({
|
|
1218
|
-
"farris-tag-item": !0,
|
|
1219
|
-
"farris-tag-add-button": !0,
|
|
1220
|
-
"farris-tag-add-button-disabled": !e.enableAddButton
|
|
1221
|
-
}));
|
|
1222
|
-
function J(y) {
|
|
1223
|
-
y.stopPropagation(), h.value = !0;
|
|
1224
|
-
}
|
|
1225
|
-
function x() {
|
|
1226
|
-
return !e.disable && f("li", {
|
|
1227
|
-
class: K.value,
|
|
1228
|
-
onClick: (y) => J(y)
|
|
1229
|
-
}, [f("span", {
|
|
1230
|
-
class: "f-icon f-icon-amplification"
|
|
1231
|
-
}, null), a.value && f("span", {
|
|
1232
|
-
class: "farris-tag-add-text"
|
|
1233
|
-
}, [a.value])]);
|
|
1234
|
-
}
|
|
1235
|
-
function O(y, b, T) {
|
|
1236
|
-
y > -1 && (n.value.splice(y, 0, {
|
|
1237
|
-
name: b,
|
|
1238
|
-
value: T,
|
|
1239
|
-
selectable: o.value
|
|
1240
|
-
}), P.value = E(), h.value = !1, t.emit("change", n.value));
|
|
1241
|
-
}
|
|
1242
|
-
function j(y) {
|
|
1243
|
-
if (y && y.value) {
|
|
1244
|
-
const b = y.value, T = F.value;
|
|
1245
|
-
O(T, b, b), y.innerText = "";
|
|
1246
|
-
} else
|
|
1247
|
-
h.value = !1;
|
|
1248
|
-
}
|
|
1249
|
-
function H(y) {
|
|
1250
|
-
const b = y.target;
|
|
1251
|
-
b && b.value ? j(b) : h.value = !1;
|
|
1252
|
-
}
|
|
1253
|
-
function k(y) {
|
|
1254
|
-
y.key === "Enter" && j(y.target);
|
|
1255
|
-
}
|
|
1256
|
-
function V() {
|
|
1257
|
-
return !e.disable && f("li", {
|
|
1258
|
-
class: "farris-tag-input-box"
|
|
1259
|
-
}, [f("input", {
|
|
1260
|
-
ref: C,
|
|
1261
|
-
class: "form-control",
|
|
1262
|
-
onKeyup: k,
|
|
1263
|
-
onBlur: H
|
|
1264
|
-
}, null)]);
|
|
1265
|
-
}
|
|
1266
|
-
function A(y, b) {
|
|
1267
|
-
return f("li", {
|
|
1268
|
-
class: D(y),
|
|
1269
|
-
style: q.value,
|
|
1270
|
-
tabindex: 0,
|
|
1271
|
-
id: y.name,
|
|
1272
|
-
key: y.name,
|
|
1273
|
-
onClick: (T) => w(T, y),
|
|
1274
|
-
onKeydown: (T) => N(T, y),
|
|
1275
|
-
draggable: "true",
|
|
1276
|
-
onDragstart: (T) => $(T, y, b),
|
|
1277
|
-
onDragenter: (T) => M(T, b),
|
|
1278
|
-
onDragend: (T) => W(T, y),
|
|
1279
|
-
onDragover: (T) => S(T, b)
|
|
1280
|
-
}, [f("span", {
|
|
1281
|
-
title: y.name,
|
|
1282
|
-
class: "tag-box"
|
|
1283
|
-
}, [y.name]), !e.disable && d.value && f("span", {
|
|
1284
|
-
class: "tag-delete"
|
|
1285
|
-
}, [f("i", {
|
|
1286
|
-
class: "f-icon f-icon-close",
|
|
1287
|
-
onClick: (T) => U(T, y)
|
|
1288
|
-
}, null)])]);
|
|
1289
|
-
}
|
|
1290
|
-
function _() {
|
|
1291
|
-
return P.value.map((y, b) => {
|
|
1292
|
-
switch (y.type) {
|
|
1293
|
-
case "Tag":
|
|
1294
|
-
return A(y.payload, b);
|
|
1295
|
-
case "AddButton":
|
|
1296
|
-
return x();
|
|
1297
|
-
case "Input":
|
|
1298
|
-
return V();
|
|
1299
|
-
}
|
|
1300
|
-
});
|
|
1301
|
-
}
|
|
1302
|
-
const Z = g(() => ({
|
|
1303
|
-
"farris-tags-item-container": !0,
|
|
1304
|
-
"farris-tag-item-capsule": u.value === "capsule"
|
|
1305
|
-
}));
|
|
1306
|
-
function ee(y) {
|
|
1307
|
-
const b = Math.max(r.value.scrollLeft - y.deltaX, 0);
|
|
1308
|
-
r.value.scrollLeft = b;
|
|
1309
|
-
}
|
|
1310
|
-
function Be(y) {
|
|
1311
|
-
var T;
|
|
1312
|
-
y.preventDefault(), y.stopPropagation();
|
|
1313
|
-
const b = (T = y.dataTransfer) == null ? void 0 : T.getData("Text");
|
|
1314
|
-
if (b) {
|
|
1315
|
-
const z = b.split(":"), xe = z[0], Q = z[1];
|
|
1316
|
-
[...n.value].findIndex((te) => (console.log(`${te.value} === ${Q} is ${te.value === Q}`), te.value === Q)) > -1 || O(n.value.length, xe, Q);
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
function we(y) {
|
|
1320
|
-
y.preventDefault();
|
|
1321
|
-
}
|
|
1322
|
-
return () => f("div", {
|
|
1323
|
-
class: B.value,
|
|
1324
|
-
onDrop: Be,
|
|
1325
|
-
onDragover: we
|
|
1326
|
-
}, [f("ul", {
|
|
1327
|
-
ref: r,
|
|
1328
|
-
class: Z.value,
|
|
1329
|
-
onWheel: (y) => ee(y)
|
|
1330
|
-
}, [_()])]);
|
|
1331
|
-
}
|
|
1332
|
-
});
|
|
1333
|
-
function Ot(e, t, o) {
|
|
1334
|
-
const i = c(e.separator), {
|
|
1335
|
-
changeTextBoxValue: n
|
|
1336
|
-
} = o, l = g(() => t.value ? t.value.split(i.value).map((p) => ({
|
|
1337
|
-
name: p,
|
|
1338
|
-
selectable: !0
|
|
1339
|
-
})) : []);
|
|
1340
|
-
function u(p) {
|
|
1341
|
-
n(p.map((m) => m.name).join(i.value), !0);
|
|
1342
|
-
}
|
|
1343
|
-
return () => f(Pt, {
|
|
1344
|
-
id: `${e.id}-tag-editor`,
|
|
1345
|
-
class: "form-control",
|
|
1346
|
-
data: l.value,
|
|
1347
|
-
showClose: !0,
|
|
1348
|
-
showInput: !0,
|
|
1349
|
-
onChange: u
|
|
1350
|
-
}, null);
|
|
1351
|
-
}
|
|
1352
|
-
function St(e, t, o) {
|
|
1353
|
-
const {
|
|
1354
|
-
buttonGroupClass: i,
|
|
1355
|
-
onClickButton: n,
|
|
1356
|
-
onMouseEnterButton: l,
|
|
1357
|
-
onMouseLeaveButton: u
|
|
1358
|
-
} = t, {
|
|
1359
|
-
enableClearButton: p,
|
|
1360
|
-
showClearButton: m,
|
|
1361
|
-
onClearValue: s
|
|
1362
|
-
} = o;
|
|
1363
|
-
return () => f("div", {
|
|
1364
|
-
id: `${e.id}-button-group`,
|
|
1365
|
-
class: i.value
|
|
1366
|
-
}, [p.value && le(f("span", {
|
|
1367
|
-
class: "input-group-text input-group-clear",
|
|
1368
|
-
onClick: s
|
|
1369
|
-
}, [f("i", {
|
|
1370
|
-
class: "f-icon modal_close"
|
|
1371
|
-
}, null)]), [[fe, m.value]]), e.buttonContent && f("span", {
|
|
1372
|
-
class: "input-group-text input-group-append-button",
|
|
1373
|
-
innerHTML: e.buttonContent,
|
|
1374
|
-
onClick: n,
|
|
1375
|
-
onMouseenter: l,
|
|
1376
|
-
onMouseleave: u
|
|
1377
|
-
}, null)]);
|
|
1378
|
-
}
|
|
1379
|
-
const Et = {
|
|
1380
|
-
id: { type: String },
|
|
1381
|
-
title: { type: String },
|
|
1382
|
-
placement: { type: String, default: "bottom" },
|
|
1383
|
-
reference: {
|
|
1384
|
-
type: Object
|
|
1385
|
-
},
|
|
1386
|
-
host: {
|
|
1387
|
-
type: Object
|
|
1388
|
-
},
|
|
1389
|
-
leftBoundary: {
|
|
1390
|
-
type: Object
|
|
1391
|
-
},
|
|
1392
|
-
rightBoundary: {
|
|
1393
|
-
type: Object
|
|
1394
|
-
},
|
|
1395
|
-
visible: { type: Boolean, default: !1 },
|
|
1396
|
-
class: { type: String },
|
|
1397
|
-
offsetX: { type: Object, default: c(0) },
|
|
1398
|
-
zIndex: { type: Number, default: -1 },
|
|
1399
|
-
keepWidthWithReference: { type: Boolean, default: !1 },
|
|
1400
|
-
fitContent: { type: Boolean, default: !1 },
|
|
1401
|
-
minWidth: { type: Number, default: -1 }
|
|
1402
|
-
};
|
|
1403
|
-
function jt(e) {
|
|
1404
|
-
const t = e.host ? e.host : "body", o = g(() => t === "body" ? 0 : t ? t.getBoundingClientRect().top : 0), i = g(() => t === "body" ? 0 : t ? t.getBoundingClientRect().left : 0), n = g(() => t === "body" ? document.body.getBoundingClientRect().width : t ? t.getBoundingClientRect().width - (e.rightBoundary ? e.rightBoundary.getBoundingClientRect().width : 0) : document.body.getBoundingClientRect().width), l = g(() => t === "body" ? document.body.getBoundingClientRect().height : t ? t.getBoundingClientRect().height : document.body.getBoundingClientRect().height);
|
|
1405
|
-
return { host: t, hostLeft: i, hostTop: o, hostWidth: n, hostHeight: l };
|
|
1406
|
-
}
|
|
1407
|
-
function It(e, t, o, i) {
|
|
1408
|
-
var J;
|
|
1409
|
-
const n = c(0), l = c(((J = e.offsetX) == null ? void 0 : J.value) || 0), u = c(e.minWidth), p = c(-1), m = c(-1), s = c(e.placement), d = c(0), a = c(0), r = c(0), v = c(document.documentElement.scrollLeft), C = c(document.documentElement.scrollTop), { hostLeft: h, hostTop: E, hostWidth: P, hostHeight: R } = i;
|
|
1410
|
-
L(e.offsetX, (x) => {
|
|
1411
|
-
n.value = x - l.value;
|
|
1412
|
-
});
|
|
1413
|
-
const F = g(() => {
|
|
1414
|
-
const x = {
|
|
1415
|
-
left: `${a.value}px`,
|
|
1416
|
-
top: `${r.value}px`,
|
|
1417
|
-
transform: `translateX(${n.value}px)`
|
|
1418
|
-
};
|
|
1419
|
-
return e.zIndex !== -1 && (x["z-index"] = e.zIndex), u.value !== -1 && (x.width = `${u.value}px`), x;
|
|
1420
|
-
}), I = g(() => ({
|
|
1421
|
-
left: `${d.value}px`
|
|
1422
|
-
}));
|
|
1423
|
-
function $(x) {
|
|
1424
|
-
if (x && e.keepWidthWithReference) {
|
|
1425
|
-
const O = x.getBoundingClientRect();
|
|
1426
|
-
u.value = Math.max(e.minWidth, O.width);
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
function M(x, O) {
|
|
1430
|
-
const j = P.value - x.width - 4;
|
|
1431
|
-
return j > 0 ? j : O;
|
|
1432
|
-
}
|
|
1433
|
-
function S(x, O) {
|
|
1434
|
-
const j = R.value - x.height - 4;
|
|
1435
|
-
return j > 0 ? j : O;
|
|
1436
|
-
}
|
|
1437
|
-
function W(x, O, j) {
|
|
1438
|
-
const H = d.value, k = O.left - h.value + O.width / 2 + v.value, V = O.top - E.value - (x.height + j.height) + C.value;
|
|
1439
|
-
return { popoverLeft: k, popoverTop: V, arrowLeft: H };
|
|
1440
|
-
}
|
|
1441
|
-
function B(x, O, j) {
|
|
1442
|
-
const H = O.top - E.value + (O.height + j.height) + C.value, k = S(x, H);
|
|
1443
|
-
return Math.min(H, k);
|
|
1444
|
-
}
|
|
1445
|
-
function D(x, O) {
|
|
1446
|
-
const j = M(O, x), H = x <= j ? d.value : x - j;
|
|
1447
|
-
return { popoverLeft: Math.min(x, j), arrowLeft: H };
|
|
1448
|
-
}
|
|
1449
|
-
function q(x, O, j) {
|
|
1450
|
-
const H = O.left - h.value + O.width / 2 - (j.width / 2 - (x.left - h.value)) + v.value, { arrowLeft: k, popoverLeft: V } = D(H, x), A = B(x, O, j);
|
|
1451
|
-
return { popoverLeft: V, popoverTop: A, arrowLeft: k };
|
|
1452
|
-
}
|
|
1453
|
-
function w(x, O, j) {
|
|
1454
|
-
const H = O.left - h.value + v.value, { arrowLeft: k, popoverLeft: V } = D(H, x), A = B(x, O, j);
|
|
1455
|
-
return { popoverLeft: V, popoverTop: A, arrowLeft: k };
|
|
1456
|
-
}
|
|
1457
|
-
const N = /* @__PURE__ */ new Map([
|
|
1458
|
-
["top", W],
|
|
1459
|
-
["bottom", q],
|
|
1460
|
-
["bottom-left", w]
|
|
1461
|
-
]);
|
|
1462
|
-
function U(x) {
|
|
1463
|
-
var V, A;
|
|
1464
|
-
const O = x.getBoundingClientRect();
|
|
1465
|
-
p.value = O.top, m.value = O.left;
|
|
1466
|
-
const j = (V = t.value) == null ? void 0 : V.getBoundingClientRect(), H = (A = o.value) == null ? void 0 : A.getBoundingClientRect(), k = N.get(s.value);
|
|
1467
|
-
if (k) {
|
|
1468
|
-
const { arrowLeft: _, popoverLeft: Z, popoverTop: ee } = k(H, O, j);
|
|
1469
|
-
d.value = _, a.value = Z, r.value = ee;
|
|
1470
|
-
}
|
|
1471
|
-
e.keepWidthWithReference && $(x);
|
|
1472
|
-
}
|
|
1473
|
-
function K(x) {
|
|
1474
|
-
if (x) {
|
|
1475
|
-
const O = x.getBoundingClientRect();
|
|
1476
|
-
(O.left !== m.value || O.top !== p.value) && U(x);
|
|
1477
|
-
}
|
|
1478
|
-
}
|
|
1479
|
-
return {
|
|
1480
|
-
arrowStyle: I,
|
|
1481
|
-
popoverStyle: F,
|
|
1482
|
-
position: s,
|
|
1483
|
-
popoverWidth: u,
|
|
1484
|
-
fitToReference: $,
|
|
1485
|
-
followToReferencePosition: K,
|
|
1486
|
-
locateToReference: U
|
|
1487
|
-
};
|
|
1488
|
-
}
|
|
1489
|
-
function Ft(e, t, o, i, n, l, u) {
|
|
1490
|
-
const p = c(e.visible), m = g(() => p.value), { fitToReference: s, locateToReference: d } = u;
|
|
1491
|
-
let a;
|
|
1492
|
-
function r() {
|
|
1493
|
-
p.value = !1, document.body.removeEventListener("click", a), t.emit("hidden");
|
|
1494
|
-
}
|
|
1495
|
-
a = (C) => {
|
|
1496
|
-
if (!n.value.contains(C.target)) {
|
|
1497
|
-
const h = n.value.closest(".popover");
|
|
1498
|
-
h && h.removeEventListener("click", a), r();
|
|
1499
|
-
}
|
|
1500
|
-
};
|
|
1501
|
-
async function v(C) {
|
|
1502
|
-
if (i.value && o.value && C) {
|
|
1503
|
-
p.value = !0, n.value = C, l.value && s(C), await Y(), d(C), document.body.addEventListener("click", a);
|
|
1504
|
-
const h = C.closest(".popover");
|
|
1505
|
-
h && h.addEventListener("click", a), t.emit("shown");
|
|
1506
|
-
}
|
|
1507
|
-
}
|
|
1508
|
-
return t.expose({ hide: r, show: v, shown: m }), { showPopover: p, hidePopverOnClickBodyHandler: a };
|
|
1509
|
-
}
|
|
1510
|
-
function Mt(e, t, o, i, n) {
|
|
1511
|
-
const { popoverWidth: l, fitToReference: u, followToReferencePosition: p } = n;
|
|
1512
|
-
function m() {
|
|
1513
|
-
if (o.value) {
|
|
1514
|
-
p(o.value);
|
|
1515
|
-
const s = o.value.getBoundingClientRect();
|
|
1516
|
-
i.value && s.width !== l.value && u(o.value);
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
return { onResize: m };
|
|
1520
|
-
}
|
|
1521
|
-
const At = /* @__PURE__ */ G({
|
|
1522
|
-
name: "FPopover",
|
|
1523
|
-
props: Et,
|
|
1524
|
-
emits: ["shown", "hidden"],
|
|
1525
|
-
setup(e, t) {
|
|
1526
|
-
const o = c(), i = c(), n = c(e.reference), l = c(e.keepWidthWithReference), u = g(() => !!e.title), p = jt(e), {
|
|
1527
|
-
host: m
|
|
1528
|
-
} = p, s = It(e, o, i, p), {
|
|
1529
|
-
position: d,
|
|
1530
|
-
arrowStyle: a,
|
|
1531
|
-
popoverStyle: r,
|
|
1532
|
-
fitToReference: v,
|
|
1533
|
-
locateToReference: C
|
|
1534
|
-
} = s, {
|
|
1535
|
-
showPopover: h,
|
|
1536
|
-
hidePopverOnClickBodyHandler: E
|
|
1537
|
-
} = Ft(e, t, o, i, n, l, s), {
|
|
1538
|
-
onResize: P
|
|
1539
|
-
} = Mt(e, t, n, l, s), R = g(() => {
|
|
1540
|
-
const I = `popover in popover-${d.value}`, $ = `bs-popover-${d.value}`, M = {
|
|
1541
|
-
"popover-fitcontent": e.fitContent
|
|
1542
|
-
};
|
|
1543
|
-
return M[I] = !0, M[$] = !0, (e.class || "").split(" ").reduce((W, B) => (W[B] = !0, W), M), M;
|
|
1544
|
-
}), F = g(() => ({
|
|
1545
|
-
"popover-content": !0,
|
|
1546
|
-
"popover-body": !0
|
|
1547
|
-
}));
|
|
1548
|
-
return ue(() => {
|
|
1549
|
-
e.reference && C(n.value), l.value && v(n.value), window.addEventListener("resize", P);
|
|
1550
|
-
}), ae(() => {
|
|
1551
|
-
document.body.removeEventListener("click", E), window.removeEventListener("resize", P);
|
|
1552
|
-
}), () => f(oe, {
|
|
1553
|
-
to: m
|
|
1554
|
-
}, {
|
|
1555
|
-
default: () => {
|
|
1556
|
-
var I;
|
|
1557
|
-
return [le(f("div", {
|
|
1558
|
-
ref: i,
|
|
1559
|
-
class: R.value,
|
|
1560
|
-
style: r.value,
|
|
1561
|
-
onClick: ($) => {
|
|
1562
|
-
$.stopPropagation();
|
|
1563
|
-
}
|
|
1564
|
-
}, [f("div", {
|
|
1565
|
-
ref: o,
|
|
1566
|
-
class: "popover-arrow arrow",
|
|
1567
|
-
style: a.value
|
|
1568
|
-
}, null), u.value && f("h3", {
|
|
1569
|
-
class: "popover-title popover-header"
|
|
1570
|
-
}, [e.title]), f("div", {
|
|
1571
|
-
class: F.value
|
|
1572
|
-
}, [t.slots.default && ((I = t.slots) == null ? void 0 : I.default())])]), [[fe, h.value]])];
|
|
1573
|
-
}
|
|
1574
|
-
});
|
|
1575
|
-
}
|
|
1576
|
-
});
|
|
1577
|
-
function Lt(e, t, o) {
|
|
1578
|
-
const i = c(e.popupMinWidth), {
|
|
1579
|
-
hidePopup: n,
|
|
1580
|
-
popoverRef: l
|
|
1581
|
-
} = o;
|
|
1582
|
-
return () => f(At, {
|
|
1583
|
-
id: `${e.id}-popover`,
|
|
1584
|
-
ref: l,
|
|
1585
|
-
visible: !0,
|
|
1586
|
-
placement: "bottom-left",
|
|
1587
|
-
host: e.popupHost,
|
|
1588
|
-
"keep-width-with-reference": !0,
|
|
1589
|
-
fitContent: !0,
|
|
1590
|
-
"right-boundary": e.popupRightBoundary,
|
|
1591
|
-
minWidth: i.value,
|
|
1592
|
-
offsetX: e.popupOffsetX,
|
|
1593
|
-
onHidden: n
|
|
1594
|
-
}, {
|
|
1595
|
-
default: () => {
|
|
1596
|
-
var u, p;
|
|
1597
|
-
return [(p = (u = t.slots).default) == null ? void 0 : p.call(u)];
|
|
1598
|
-
}
|
|
1599
|
-
});
|
|
1600
|
-
}
|
|
1601
|
-
const Rt = /* @__PURE__ */ G({
|
|
1602
|
-
name: "FButtonEdit",
|
|
1603
|
-
props: ye,
|
|
1604
|
-
emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
|
|
1605
|
-
setup(e, t) {
|
|
1606
|
-
const o = c(), i = c(e.customClass), n = c(e.modelValue), l = st(e, t, o), {
|
|
1607
|
-
shouldPopupContent: u,
|
|
1608
|
-
hidePopup: p,
|
|
1609
|
-
togglePopup: m
|
|
1610
|
-
} = l, s = lt(e, t, o, l), d = c(""), a = it(e, t, n, d, l), {
|
|
1611
|
-
hasFocusedTextBox: r,
|
|
1612
|
-
commitValue: v,
|
|
1613
|
-
inputGroupClass: C
|
|
1614
|
-
} = a, h = ut(e, t, n, r, d, a), {
|
|
1615
|
-
onMouseEnterTextBox: E,
|
|
1616
|
-
onMouseLeaveTextBox: P
|
|
1617
|
-
} = h, R = g(() => {
|
|
1618
|
-
const B = {
|
|
1619
|
-
"f-button-edit": !0,
|
|
1620
|
-
"f-cmp-inputgroup": !0,
|
|
1621
|
-
"f-button-edit-nowrap": !e.wrapText
|
|
1622
|
-
};
|
|
1623
|
-
return i.value && i.value.split(" ").reduce((D, q) => (D[q] = !0, D), B), B;
|
|
1624
|
-
});
|
|
1625
|
-
function F() {
|
|
1626
|
-
return e.multiSelect && e.inputType === "tag" ? Ot(e, n, a) : rt(e, n, a);
|
|
1627
|
-
}
|
|
1628
|
-
let I = F();
|
|
1629
|
-
L([() => e.multiSelect, () => e.inputType], () => {
|
|
1630
|
-
I = F();
|
|
1631
|
-
});
|
|
1632
|
-
const $ = St(e, s, h), M = Lt(e, t, l), S = {
|
|
1633
|
-
commitValue: v,
|
|
1634
|
-
elementRef: o,
|
|
1635
|
-
hidePopup: p,
|
|
1636
|
-
shouldPopupContent: u,
|
|
1637
|
-
togglePopup: m
|
|
1638
|
-
};
|
|
1639
|
-
ue(() => {
|
|
1640
|
-
o.value.componentInstance = S, window.onresize = () => {
|
|
1641
|
-
document.body.click();
|
|
1642
|
-
};
|
|
1643
|
-
});
|
|
1644
|
-
function W(B) {
|
|
1645
|
-
o.value.contains(B.target) && u.value || document.body.click();
|
|
1646
|
-
}
|
|
1647
|
-
return t.expose(S), () => f(pe, null, [f("div", Te(t.attrs, {
|
|
1648
|
-
ref: o,
|
|
1649
|
-
class: R.value,
|
|
1650
|
-
id: e.id,
|
|
1651
|
-
onMousedown: W
|
|
1652
|
-
}), [f("div", {
|
|
1653
|
-
id: `${e.id}-input-group`,
|
|
1654
|
-
class: C.value,
|
|
1655
|
-
onMouseenter: E,
|
|
1656
|
-
onMouseleave: P
|
|
1657
|
-
}, [I(), $()])]), u.value && M()]);
|
|
1658
|
-
}
|
|
1659
|
-
}), he = {
|
|
1660
|
-
items: { type: Array, default: [] },
|
|
1661
|
-
valueField: { type: String, default: "id" },
|
|
1662
|
-
textField: { type: String, default: "name" },
|
|
1663
|
-
beforeOpen: { type: Function, default: () => !0 },
|
|
1664
|
-
disabled: { type: Boolean, default: !1 },
|
|
1665
|
-
readonly: { type: Boolean, default: !1 }
|
|
1666
|
-
}, $t = /* @__PURE__ */ new Map([
|
|
1667
|
-
["appearance", se]
|
|
1668
|
-
]);
|
|
1669
|
-
function Dt(e, t, o) {
|
|
1670
|
-
return t;
|
|
1671
|
-
}
|
|
1672
|
-
const Vt = "https://json-schema.org/draft/2020-12/schema", Wt = "https://farris-design.gitee.io/input-group.schema.json", Ht = "input-group", Nt = "A Farris Input Component", zt = "object", Gt = {
|
|
1673
|
-
id: {
|
|
1674
|
-
description: "The unique identifier for a Input Group",
|
|
1675
|
-
type: "string"
|
|
1676
|
-
},
|
|
1677
|
-
type: {
|
|
1678
|
-
description: "The type string of Input Group component",
|
|
1679
|
-
type: "string",
|
|
1680
|
-
default: "input-group"
|
|
1681
|
-
},
|
|
1682
|
-
appearance: {
|
|
1683
|
-
description: "",
|
|
1684
|
-
type: "object",
|
|
1685
|
-
properties: {
|
|
1686
|
-
class: {
|
|
1687
|
-
type: "string"
|
|
1688
|
-
},
|
|
1689
|
-
style: {
|
|
1690
|
-
type: "string"
|
|
1691
|
-
}
|
|
1692
|
-
},
|
|
1693
|
-
default: {}
|
|
1694
|
-
},
|
|
1695
|
-
binding: {
|
|
1696
|
-
description: "",
|
|
1697
|
-
type: "object",
|
|
1698
|
-
default: {}
|
|
1699
|
-
},
|
|
1700
|
-
editable: {
|
|
1701
|
-
description: "",
|
|
1702
|
-
type: "boolean",
|
|
1703
|
-
default: !0
|
|
1704
|
-
},
|
|
1705
|
-
enableLinkLabel: {
|
|
1706
|
-
description: "",
|
|
1707
|
-
type: "boolean",
|
|
1708
|
-
default: !1
|
|
1709
|
-
},
|
|
1710
|
-
label: {
|
|
1711
|
-
description: "",
|
|
1712
|
-
type: "string",
|
|
1713
|
-
default: ""
|
|
1714
|
-
},
|
|
1715
|
-
lableWidth: {
|
|
1716
|
-
description: "",
|
|
1717
|
-
type: "number"
|
|
1718
|
-
},
|
|
1719
|
-
placeHolder: {
|
|
1720
|
-
description: "",
|
|
1721
|
-
type: "string",
|
|
1722
|
-
default: ""
|
|
1723
|
-
},
|
|
1724
|
-
readonly: {
|
|
1725
|
-
description: "",
|
|
1726
|
-
type: "boolean",
|
|
1727
|
-
default: !1
|
|
1728
|
-
},
|
|
1729
|
-
required: {
|
|
1730
|
-
description: "",
|
|
1731
|
-
type: "boolean",
|
|
1732
|
-
default: !1
|
|
1733
|
-
},
|
|
1734
|
-
tabindex: {
|
|
1735
|
-
description: "",
|
|
1736
|
-
type: "number",
|
|
1737
|
-
default: -1
|
|
1738
|
-
},
|
|
1739
|
-
textAlign: {
|
|
1740
|
-
description: "",
|
|
1741
|
-
type: "string",
|
|
1742
|
-
enum: [
|
|
1743
|
-
"left",
|
|
1744
|
-
"middle",
|
|
1745
|
-
"right"
|
|
1746
|
-
],
|
|
1747
|
-
default: "left"
|
|
1748
|
-
},
|
|
1749
|
-
visible: {
|
|
1750
|
-
description: "",
|
|
1751
|
-
type: "boolean",
|
|
1752
|
-
default: !0
|
|
1753
|
-
},
|
|
1754
|
-
onBlur: {
|
|
1755
|
-
description: "",
|
|
1756
|
-
type: "string",
|
|
1757
|
-
default: ""
|
|
1758
|
-
},
|
|
1759
|
-
onClickLinkLabel: {
|
|
1760
|
-
description: "",
|
|
1761
|
-
type: "sting",
|
|
1762
|
-
default: ""
|
|
1763
|
-
},
|
|
1764
|
-
addonDisabled: {
|
|
1765
|
-
description: "",
|
|
1766
|
-
type: "boolean",
|
|
1767
|
-
default: !1
|
|
1768
|
-
},
|
|
1769
|
-
addonContent: {
|
|
1770
|
-
description: "",
|
|
1771
|
-
type: "string",
|
|
1772
|
-
default: ""
|
|
1773
|
-
},
|
|
1774
|
-
autoHeight: {
|
|
1775
|
-
description: "",
|
|
1776
|
-
type: "boolean",
|
|
1777
|
-
default: !1
|
|
1778
|
-
},
|
|
1779
|
-
enableAddon: {
|
|
1780
|
-
description: "",
|
|
1781
|
-
type: "boolean",
|
|
1782
|
-
default: !1
|
|
1783
|
-
},
|
|
1784
|
-
addonType: {
|
|
1785
|
-
description: "",
|
|
1786
|
-
type: "string",
|
|
1787
|
-
enum: [
|
|
1788
|
-
"button",
|
|
1789
|
-
"static"
|
|
1790
|
-
],
|
|
1791
|
-
default: "button"
|
|
1792
|
-
},
|
|
1793
|
-
enableClear: {
|
|
1794
|
-
description: "",
|
|
1795
|
-
type: "boolean",
|
|
1796
|
-
default: !0
|
|
1797
|
-
},
|
|
1798
|
-
enableViewPassword: {
|
|
1799
|
-
description: "",
|
|
1800
|
-
type: "boolean",
|
|
1801
|
-
default: !1
|
|
1802
|
-
},
|
|
1803
|
-
inputType: {
|
|
1804
|
-
description: "",
|
|
1805
|
-
type: "string",
|
|
1806
|
-
enum: [
|
|
1807
|
-
"input",
|
|
1808
|
-
"password",
|
|
1809
|
-
"text"
|
|
1810
|
-
],
|
|
1811
|
-
default: "input"
|
|
1812
|
-
},
|
|
1813
|
-
maxHeight: {
|
|
1814
|
-
description: "",
|
|
1815
|
-
type: "number",
|
|
1816
|
-
default: 500
|
|
1817
|
-
},
|
|
1818
|
-
popup: {
|
|
1819
|
-
description: "",
|
|
1820
|
-
type: "object",
|
|
1821
|
-
properties: {
|
|
1822
|
-
footerButtons: {
|
|
1823
|
-
type: "array",
|
|
1824
|
-
default: []
|
|
1825
|
-
},
|
|
1826
|
-
height: {
|
|
1827
|
-
type: "number",
|
|
1828
|
-
default: 600
|
|
1829
|
-
},
|
|
1830
|
-
dataMapping: {
|
|
1831
|
-
type: "object"
|
|
1832
|
-
},
|
|
1833
|
-
contents: {
|
|
1834
|
-
type: "array",
|
|
1835
|
-
default: []
|
|
1836
|
-
},
|
|
1837
|
-
showMaxButton: {
|
|
1838
|
-
type: "boolean",
|
|
1839
|
-
default: !0
|
|
1840
|
-
},
|
|
1841
|
-
showCloseButton: {
|
|
1842
|
-
type: "boolean",
|
|
1843
|
-
default: !0
|
|
1844
|
-
},
|
|
1845
|
-
showFooter: {
|
|
1846
|
-
type: "boolean",
|
|
1847
|
-
default: !0
|
|
1848
|
-
},
|
|
1849
|
-
title: {
|
|
1850
|
-
type: "string",
|
|
1851
|
-
default: ""
|
|
1852
|
-
},
|
|
1853
|
-
width: {
|
|
1854
|
-
type: "number",
|
|
1855
|
-
default: 800
|
|
1856
|
-
}
|
|
1857
|
-
}
|
|
1858
|
-
},
|
|
1859
|
-
showButtonWhenDisabled: {
|
|
1860
|
-
description: "",
|
|
1861
|
-
type: "boolean",
|
|
1862
|
-
default: !1
|
|
1863
|
-
},
|
|
1864
|
-
onClear: {
|
|
1865
|
-
description: "",
|
|
1866
|
-
type: "string",
|
|
1867
|
-
default: ""
|
|
1868
|
-
}
|
|
1869
|
-
}, qt = [
|
|
1870
|
-
"id",
|
|
1871
|
-
"type"
|
|
1872
|
-
], Ut = {
|
|
1873
|
-
$schema: Vt,
|
|
1874
|
-
$id: Wt,
|
|
1875
|
-
title: Ht,
|
|
1876
|
-
description: Nt,
|
|
1877
|
-
type: zt,
|
|
1878
|
-
properties: Gt,
|
|
1879
|
-
required: qt
|
|
1880
|
-
}, Xt = "input-group", Kt = "A Farris Component", _t = "object", Jt = {
|
|
1881
|
-
basic: {
|
|
1882
|
-
description: "Basic Infomation",
|
|
1883
|
-
title: "基本信息",
|
|
1884
|
-
properties: {
|
|
1885
|
-
id: {
|
|
1886
|
-
description: "组件标识",
|
|
1887
|
-
title: "标识",
|
|
1888
|
-
type: "string",
|
|
1889
|
-
readonly: !0
|
|
1890
|
-
},
|
|
1891
|
-
type: {
|
|
1892
|
-
description: "类型",
|
|
1893
|
-
title: "类型",
|
|
1894
|
-
type: "string",
|
|
1895
|
-
readonly: !0
|
|
1896
|
-
}
|
|
1897
|
-
}
|
|
1898
|
-
},
|
|
1899
|
-
behavior: {
|
|
1900
|
-
description: "Basic Infomation",
|
|
1901
|
-
title: "行为",
|
|
1902
|
-
properties: {
|
|
1903
|
-
editable: {
|
|
1904
|
-
description: "",
|
|
1905
|
-
title: "允许编辑",
|
|
1906
|
-
type: "boolean"
|
|
1907
|
-
},
|
|
1908
|
-
readonly: {
|
|
1909
|
-
description: "",
|
|
1910
|
-
title: "只读",
|
|
1911
|
-
type: "string"
|
|
1912
|
-
},
|
|
1913
|
-
required: {
|
|
1914
|
-
description: "",
|
|
1915
|
-
title: "必填",
|
|
1916
|
-
type: "boolean"
|
|
1917
|
-
},
|
|
1918
|
-
visible: {
|
|
1919
|
-
description: "",
|
|
1920
|
-
title: "可见",
|
|
1921
|
-
type: "boolean"
|
|
1922
|
-
},
|
|
1923
|
-
placeHolder: {
|
|
1924
|
-
description: "",
|
|
1925
|
-
title: "提示文本",
|
|
1926
|
-
type: "string"
|
|
1927
|
-
},
|
|
1928
|
-
tabindex: {
|
|
1929
|
-
description: "",
|
|
1930
|
-
title: "tab索引",
|
|
1931
|
-
type: "number"
|
|
1932
|
-
},
|
|
1933
|
-
textAlign: {
|
|
1934
|
-
description: "",
|
|
1935
|
-
title: "对齐方式",
|
|
1936
|
-
type: "enum",
|
|
1937
|
-
editor: {
|
|
1938
|
-
type: "combo-select",
|
|
1939
|
-
textField: "name",
|
|
1940
|
-
valueField: "value",
|
|
1941
|
-
data: [
|
|
1942
|
-
{
|
|
1943
|
-
value: "left",
|
|
1944
|
-
name: "左对齐"
|
|
1945
|
-
},
|
|
1946
|
-
{
|
|
1947
|
-
value: "center",
|
|
1948
|
-
name: "居中对齐"
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
value: "right",
|
|
1952
|
-
name: "右对齐"
|
|
1953
|
-
}
|
|
1954
|
-
]
|
|
1955
|
-
}
|
|
1956
|
-
}
|
|
1957
|
-
}
|
|
1958
|
-
}
|
|
1959
|
-
}, Qt = {
|
|
1960
|
-
title: Xt,
|
|
1961
|
-
description: Kt,
|
|
1962
|
-
type: _t,
|
|
1963
|
-
categories: Jt
|
|
1964
|
-
}, Ce = {
|
|
1965
|
-
/** 是否自动完成 */
|
|
1966
|
-
autocomplete: { Type: String, default: "off" },
|
|
1967
|
-
/** 自定义CLASS */
|
|
1968
|
-
customClass: { Type: String, default: "" },
|
|
1969
|
-
/** 禁用 */
|
|
1970
|
-
disable: { Type: Boolean, default: !1 },
|
|
1971
|
-
/** 允许编辑 */
|
|
1972
|
-
editable: { Type: Boolean, default: !0 },
|
|
1973
|
-
/** 启用清除按钮 */
|
|
1974
|
-
enableClear: { Type: Boolean, default: !0 },
|
|
1975
|
-
/** 启用提示文本 */
|
|
1976
|
-
enableTitle: { Type: Boolean, default: !0 },
|
|
1977
|
-
/** 启用密码 */
|
|
1978
|
-
enableViewPassword: { Type: Boolean, default: !0 },
|
|
1979
|
-
/** 始终显示占位符文本 */
|
|
1980
|
-
forcePlaceholder: { Type: Boolean, default: !1 },
|
|
1981
|
-
/** 扩展按钮 */
|
|
1982
|
-
groupText: { Type: String, default: "" },
|
|
1983
|
-
/** 密码模式 */
|
|
1984
|
-
isPassword: { Type: Boolean, default: !1 },
|
|
1985
|
-
/** 最大长度 */
|
|
1986
|
-
maxLength: { Type: Number || void 0, default: void 0 },
|
|
1987
|
-
/** 最小长度 */
|
|
1988
|
-
minLength: { Type: Number || void 0, default: void 0 },
|
|
1989
|
-
/** 组件值 */
|
|
1990
|
-
modelValue: { Type: String || Boolean, default: "" },
|
|
1991
|
-
/** 隐藏边线 */
|
|
1992
|
-
noborder: { Type: Boolean, default: !1 },
|
|
1993
|
-
/** 启用提示信息 */
|
|
1994
|
-
placeholder: { Type: String, default: "" },
|
|
1995
|
-
/** 只读 */
|
|
1996
|
-
readonly: { Type: Boolean, default: !1 },
|
|
1997
|
-
/** 当组件禁用或只读时显示后边的按钮 */
|
|
1998
|
-
showButtonWhenDisabled: { Type: Boolean, default: !1 },
|
|
1999
|
-
/** tab索引 */
|
|
2000
|
-
tabIndex: { Type: Number || void 0, default: void 0 },
|
|
2001
|
-
/** 文本在输入框中的对齐方式 */
|
|
2002
|
-
textAlign: { Type: String, default: "left" },
|
|
2003
|
-
/** 是否启用前置扩展信息;在输入框前面 显示 ① 图标鼠标滑过后显示 */
|
|
2004
|
-
useExtendInfo: { Type: Boolean, default: !1 },
|
|
2005
|
-
/** 前置扩展信息 */
|
|
2006
|
-
extendInfo: { Type: String, default: "" },
|
|
2007
|
-
/** 输入值 */
|
|
2008
|
-
value: { Type: String, default: "" }
|
|
2009
|
-
};
|
|
2010
|
-
ie(Ce, Ut, $t, Dt, Qt);
|
|
2011
|
-
function Yt(e, t) {
|
|
2012
|
-
const o = g(() => e.groupText), i = g(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), n = g(() => e.enableClear || !!e.groupText);
|
|
2013
|
-
return { appendedButtonClass: g(() => ({
|
|
2014
|
-
"input-group-append": !0,
|
|
2015
|
-
"append-force-show": i.value
|
|
2016
|
-
})), appendedContent: o, shouldShowAppendedButton: n };
|
|
2017
|
-
}
|
|
2018
|
-
function Zt(e, t, o, i) {
|
|
2019
|
-
const { appendedContent: n } = i, l = c(e.enableViewPassword), u = c(e.isPassword), p = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', m = '<span class="f-icon f-icon-eye"></span>', s = c(!1);
|
|
2020
|
-
L(() => [e.readonly, e.disabled], ([r, v]) => {
|
|
2021
|
-
u.value && (o.value = r || v ? "password" : o.value, n.value = r || v ? m : n.value);
|
|
2022
|
-
});
|
|
2023
|
-
function d() {
|
|
2024
|
-
return s.value = !s.value, o.value = s.value ? "text" : "password", n.value = s.value ? p : m, !1;
|
|
2025
|
-
}
|
|
2026
|
-
function a() {
|
|
2027
|
-
o.value = u.value ? "password" : "text", n.value = u.value ? l.value ? m : "" : n.value;
|
|
2028
|
-
}
|
|
2029
|
-
return a(), { isPassword: u, onClickAppendedButton: d };
|
|
2030
|
-
}
|
|
2031
|
-
function en(e, t, o, i) {
|
|
2032
|
-
const n = c(e.disable), l = c(!1), u = c("text"), p = c(e.noborder), m = c(e.textAlign), s = g(() => e.editable || !e.readonly), d = g(() => e.editable && !e.disable && !e.readonly), a = g(() => !e.disable && l.value), r = g(() => o.value === "" || o.value === null || o.value === void 0), v = g(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), C = g(() => e.readonly || !e.editable), h = g(() => e.enableTitle ? o.value : ""), E = g(() => ({
|
|
2033
|
-
"form-control": !0,
|
|
2034
|
-
"f-utils-fill": !0,
|
|
2035
|
-
"text-left": m.value === "left",
|
|
2036
|
-
"text-center": m.value === "center",
|
|
2037
|
-
"text-right": m.value === "right"
|
|
2038
|
-
})), P = g(() => {
|
|
2039
|
-
const w = {
|
|
2040
|
-
"f-cmp-inputgroup": !0,
|
|
2041
|
-
"input-group": !0,
|
|
2042
|
-
"f-state-disable": n.value,
|
|
2043
|
-
"f-state-editable": d.value,
|
|
2044
|
-
"f-state-readonly": C.value,
|
|
2045
|
-
"f-state-focus": a.value
|
|
2046
|
-
};
|
|
2047
|
-
return (e.customClass || "").split(" ").reduce((U, K) => (U[K] = !0, U), w), w;
|
|
2048
|
-
}), R = g(() => p.value ? "border-width : 0 " : "");
|
|
2049
|
-
function F(w, N = !0) {
|
|
2050
|
-
o.value !== w && (o.value = w, i.value !== w && (i.value = w), N && t.emit("change", w), t.emit("update:modelValue", w), t.emit("update:value", w));
|
|
2051
|
-
}
|
|
2052
|
-
L(
|
|
2053
|
-
() => e.modelValue,
|
|
2054
|
-
(w) => {
|
|
2055
|
-
o.value !== e.modelValue && (o.value = w, i.value = w);
|
|
2056
|
-
}
|
|
2057
|
-
);
|
|
2058
|
-
function I(w) {
|
|
2059
|
-
return l.value = !1, t.emit("blur", w), w.stopPropagation(), !1;
|
|
2060
|
-
}
|
|
2061
|
-
function $(w) {
|
|
2062
|
-
t.emit("click", w);
|
|
2063
|
-
}
|
|
2064
|
-
function M(w) {
|
|
2065
|
-
e.disable || (p.value || (l.value = !0), s.value && t.emit("focus", w));
|
|
2066
|
-
}
|
|
2067
|
-
function S(w) {
|
|
2068
|
-
t.emit("input", w.target.value);
|
|
2069
|
-
const N = w.target.value;
|
|
2070
|
-
i.value = N;
|
|
2071
|
-
}
|
|
2072
|
-
function W(w) {
|
|
2073
|
-
t.emit("keydown", w);
|
|
2074
|
-
}
|
|
2075
|
-
function B(w) {
|
|
2076
|
-
t.emit("keyup", w);
|
|
2077
|
-
}
|
|
2078
|
-
function D(w) {
|
|
2079
|
-
w.target.tagName !== "INPUT" && w.preventDefault(), w.stopPropagation();
|
|
2080
|
-
}
|
|
2081
|
-
function q(w) {
|
|
2082
|
-
const N = w.target.value;
|
|
2083
|
-
w.stopPropagation(), F(N);
|
|
2084
|
-
}
|
|
2085
|
-
return {
|
|
2086
|
-
changeTextBoxValue: F,
|
|
2087
|
-
disable: n,
|
|
2088
|
-
displayText: i,
|
|
2089
|
-
editable: d,
|
|
2090
|
-
hasFocused: a,
|
|
2091
|
-
inputGroupClass: P,
|
|
2092
|
-
inputType: u,
|
|
2093
|
-
isEmpty: r,
|
|
2094
|
-
modelValue: o,
|
|
2095
|
-
readonly: C,
|
|
2096
|
-
onBlur: I,
|
|
2097
|
-
onClick: $,
|
|
2098
|
-
onFocus: M,
|
|
2099
|
-
onInput: S,
|
|
2100
|
-
onKeydown: W,
|
|
2101
|
-
onKeyup: B,
|
|
2102
|
-
onMousedown: D,
|
|
2103
|
-
onTextBoxValueChange: q,
|
|
2104
|
-
placeholder: v,
|
|
2105
|
-
textBoxClass: E,
|
|
2106
|
-
textBoxTitle: h,
|
|
2107
|
-
inputGroupStyle: R
|
|
2108
|
-
};
|
|
2109
|
-
}
|
|
2110
|
-
function tn(e, t, o) {
|
|
2111
|
-
const i = c(!1), n = g(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: l, displayText: u, hasFocused: p, isEmpty: m } = o;
|
|
2112
|
-
function s(h) {
|
|
2113
|
-
i.value = h;
|
|
2114
|
-
}
|
|
2115
|
-
L(u, () => {
|
|
2116
|
-
p.value ? s(!!u.value) : s(!1);
|
|
2117
|
-
});
|
|
2118
|
-
const d = g(() => ({
|
|
2119
|
-
"input-group-text": !0,
|
|
2120
|
-
"input-group-clear": !0
|
|
2121
|
-
})), a = g(() => ({
|
|
2122
|
-
width: "24px",
|
|
2123
|
-
display: i.value ? "flex" : "none"
|
|
2124
|
-
}));
|
|
2125
|
-
function r(h) {
|
|
2126
|
-
h.stopPropagation(), n.value && (l("", !0), s(!i.value), t.emit("clear"));
|
|
2127
|
-
}
|
|
2128
|
-
function v(h) {
|
|
2129
|
-
n.value && !m.value && s(!0);
|
|
2130
|
-
}
|
|
2131
|
-
function C(h) {
|
|
2132
|
-
n.value && s(!1);
|
|
2133
|
-
}
|
|
2134
|
-
return { clearButtonClass: d, clearButtonStyle: a, hasShownClearButton: i, onClearValue: r, onMouseEnter: v, onMouseLeave: C, shouldShowClearButton: n };
|
|
2135
|
-
}
|
|
2136
|
-
function nn(e, t, o, i) {
|
|
2137
|
-
const n = c(e.autocomplete), l = c(e.enableTitle), {
|
|
2138
|
-
isPassword: u
|
|
2139
|
-
} = o, p = c(e.minLength), m = c(e.maxLength), s = c(e.tabIndex), {
|
|
2140
|
-
disable: d,
|
|
2141
|
-
displayText: a,
|
|
2142
|
-
inputType: r,
|
|
2143
|
-
onBlur: v,
|
|
2144
|
-
onFocus: C,
|
|
2145
|
-
onInput: h,
|
|
2146
|
-
onClick: E,
|
|
2147
|
-
onKeydown: P,
|
|
2148
|
-
onKeyup: R,
|
|
2149
|
-
onMousedown: F,
|
|
2150
|
-
onTextBoxValueChange: I,
|
|
2151
|
-
readonly: $,
|
|
2152
|
-
placeholder: M,
|
|
2153
|
-
textBoxClass: S,
|
|
2154
|
-
textBoxTitle: W
|
|
2155
|
-
} = i;
|
|
2156
|
-
return () => f("input", {
|
|
2157
|
-
name: "input-group-value",
|
|
2158
|
-
autocomplete: n.value,
|
|
2159
|
-
class: S.value,
|
|
2160
|
-
disabled: d.value,
|
|
2161
|
-
maxlength: m.value,
|
|
2162
|
-
minlength: p.value,
|
|
2163
|
-
placeholder: M.value,
|
|
2164
|
-
readonly: $.value,
|
|
2165
|
-
tabindex: s.value,
|
|
2166
|
-
title: l.value && !u.value ? W.value : "",
|
|
2167
|
-
type: r.value,
|
|
2168
|
-
value: a.value,
|
|
2169
|
-
onBlur: v,
|
|
2170
|
-
onClick: E,
|
|
2171
|
-
onChange: I,
|
|
2172
|
-
onFocus: C,
|
|
2173
|
-
onInput: h,
|
|
2174
|
-
onKeydown: P,
|
|
2175
|
-
onKeyup: R,
|
|
2176
|
-
onMousedown: F
|
|
2177
|
-
}, null);
|
|
2178
|
-
}
|
|
2179
|
-
function on(e, t, o, i, n) {
|
|
2180
|
-
const {
|
|
2181
|
-
appendedButtonClass: l,
|
|
2182
|
-
appendedContent: u
|
|
2183
|
-
} = o, p = g(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), m = g(() => u.value && !t.slots.groupTextTemplate), s = g(() => !!t.slots.groupTextTemplate), {
|
|
2184
|
-
clearButtonClass: d,
|
|
2185
|
-
clearButtonStyle: a,
|
|
2186
|
-
onClearValue: r,
|
|
2187
|
-
shouldShowClearButton: v
|
|
2188
|
-
} = i;
|
|
2189
|
-
function C() {
|
|
2190
|
-
return f("span", {
|
|
2191
|
-
id: "clearIcon",
|
|
2192
|
-
class: d.value,
|
|
2193
|
-
style: a.value,
|
|
2194
|
-
onClick: (S) => r(S)
|
|
2195
|
-
}, [f("i", {
|
|
2196
|
-
class: "f-icon modal_close"
|
|
2197
|
-
}, null)]);
|
|
2198
|
-
}
|
|
2199
|
-
function h(S) {
|
|
2200
|
-
t.emit("iconMouseEnter", S);
|
|
2201
|
-
}
|
|
2202
|
-
function E(S) {
|
|
2203
|
-
t.emit("iconMouseLeave", S);
|
|
2204
|
-
}
|
|
2205
|
-
function P(S) {
|
|
2206
|
-
p.value && t.emit("clickHandle", {
|
|
2207
|
-
originalEvent: S
|
|
2208
|
-
}), S.stopPropagation();
|
|
2209
|
-
}
|
|
2210
|
-
const R = e.isPassword ? n.onClickAppendedButton : P;
|
|
2211
|
-
function F() {
|
|
2212
|
-
return f("span", {
|
|
2213
|
-
class: "input-group-text",
|
|
2214
|
-
onMouseenter: (S) => h(S),
|
|
2215
|
-
onMouseleave: (S) => E(S),
|
|
2216
|
-
innerHTML: u.value,
|
|
2217
|
-
onClick: (S) => R(S)
|
|
2218
|
-
}, null);
|
|
2219
|
-
}
|
|
2220
|
-
function I() {
|
|
2221
|
-
return t.slots.groupTextTemplate && t.slots.groupTextTemplate();
|
|
2222
|
-
}
|
|
2223
|
-
function $() {
|
|
2224
|
-
return m.value ? F : s.value ? I : "";
|
|
2225
|
-
}
|
|
2226
|
-
const M = $();
|
|
2227
|
-
return () => f("div", {
|
|
2228
|
-
class: l.value
|
|
2229
|
-
}, [v.value && C(), M && M()]);
|
|
2230
|
-
}
|
|
2231
|
-
function an(e, t) {
|
|
2232
|
-
const o = g(() => e.useExtendInfo && !!e.extendInfo), i = ke({
|
|
2233
|
-
content: e.extendInfo
|
|
2234
|
-
});
|
|
2235
|
-
function n() {
|
|
2236
|
-
t.emit("updateExtendInfo");
|
|
2237
|
-
}
|
|
2238
|
-
return () => o.value && le(f("span", {
|
|
2239
|
-
class: "input-group-before-tips",
|
|
2240
|
-
onMouseenter: n
|
|
2241
|
-
}, [f("i", {
|
|
2242
|
-
class: "f-icon f-icon-info-circle"
|
|
2243
|
-
}, null), f("b", {
|
|
2244
|
-
class: "tips-arrow"
|
|
2245
|
-
}, null)]), [[Pe("tooltip"), i]]);
|
|
2246
|
-
}
|
|
2247
|
-
const re = /* @__PURE__ */ G({
|
|
2248
|
-
name: "FInputGroup",
|
|
2249
|
-
props: Ce,
|
|
2250
|
-
emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo"],
|
|
2251
|
-
setup(e, t) {
|
|
2252
|
-
const o = c(e.modelValue), i = c(e.modelValue), n = en(e, t, o, i), {
|
|
2253
|
-
inputGroupClass: l,
|
|
2254
|
-
inputType: u,
|
|
2255
|
-
inputGroupStyle: p
|
|
2256
|
-
} = n, m = Yt(e), {
|
|
2257
|
-
shouldShowAppendedButton: s
|
|
2258
|
-
} = m, d = tn(e, t, n), {
|
|
2259
|
-
onMouseEnter: a,
|
|
2260
|
-
onMouseLeave: r
|
|
2261
|
-
} = d, v = Zt(e, t, u, m), C = nn(e, t, v, n), h = on(e, t, m, d, v), E = an(e, t);
|
|
2262
|
-
return L(() => [e.value], ([P]) => {
|
|
2263
|
-
o.value = P, i.value = P;
|
|
2264
|
-
}), ue(() => {
|
|
2265
|
-
e.value && (o.value = e.value, i.value = e.value);
|
|
2266
|
-
}), () => f("div", {
|
|
2267
|
-
id: "inputGroup",
|
|
2268
|
-
class: l.value,
|
|
2269
|
-
style: p.value,
|
|
2270
|
-
onMouseenter: a,
|
|
2271
|
-
onMouseleave: r
|
|
2272
|
-
}, [E(), C(), s.value && h()]);
|
|
2273
|
-
}
|
|
2274
|
-
}), ln = {
|
|
2275
|
-
items: { type: Array, default: [] },
|
|
2276
|
-
valueField: { type: String, default: "value" },
|
|
2277
|
-
textField: { type: String, default: "name" }
|
|
2278
|
-
}, un = /* @__PURE__ */ G({
|
|
2279
|
-
name: "FEnumEditorTable",
|
|
2280
|
-
props: ln,
|
|
2281
|
-
emits: ["selected"],
|
|
2282
|
-
setup(e, t) {
|
|
2283
|
-
const o = c(e.items || []), i = c(), n = c();
|
|
2284
|
-
function l(a) {
|
|
2285
|
-
if (!n.value || !o.value || o.value.length === 0) {
|
|
2286
|
-
n.value = void 0;
|
|
2287
|
-
return;
|
|
2288
|
-
}
|
|
2289
|
-
const r = n.value.index;
|
|
2290
|
-
let v = r;
|
|
2291
|
-
r === a ? (v = Math.min(r + 1, o.value.length - 1), v < 0 ? n.value = void 0 : (v = v < a ? v : a, n.value = {
|
|
2292
|
-
item: o.value[v],
|
|
2293
|
-
index: v
|
|
2294
|
-
})) : (v = r > a ? r - 1 : r, v >= 0 && v < o.value.length && (n.value = {
|
|
2295
|
-
item: o.value[v],
|
|
2296
|
-
index: v
|
|
2297
|
-
}));
|
|
2298
|
-
}
|
|
2299
|
-
function u(a, r) {
|
|
2300
|
-
a.stopPropagation();
|
|
2301
|
-
try {
|
|
2302
|
-
o.value.splice(r, 1), n.value && (l(r), t.emit("selected", n.value));
|
|
2303
|
-
} catch (v) {
|
|
2304
|
-
console.error("An error occurred during the enumeration data update:", v);
|
|
2305
|
-
}
|
|
2306
|
-
}
|
|
2307
|
-
function p(a, r) {
|
|
2308
|
-
n.value = r, t.emit("selected", r);
|
|
2309
|
-
}
|
|
2310
|
-
function m(a) {
|
|
2311
|
-
var r;
|
|
2312
|
-
return (r = i.value) == null ? void 0 : r.querySelector('[data-index="' + a + '"]');
|
|
2313
|
-
}
|
|
2314
|
-
function s(a) {
|
|
2315
|
-
var v;
|
|
2316
|
-
if (!a || !a.length) {
|
|
2317
|
-
n.value = void 0;
|
|
2318
|
-
return;
|
|
2319
|
-
}
|
|
2320
|
-
const r = (v = n.value) == null ? void 0 : v.item;
|
|
2321
|
-
r && typeof e.valueField == "string" && e.valueField in r && (new Set(a.map((E) => E[e.valueField])).has(r[e.valueField]) || (n.value = void 0));
|
|
2322
|
-
}
|
|
2323
|
-
L(() => e.items, (a) => {
|
|
2324
|
-
o.value = a, s(a);
|
|
2325
|
-
}), L(() => {
|
|
2326
|
-
var a;
|
|
2327
|
-
return (a = n.value) == null ? void 0 : a.index;
|
|
2328
|
-
}, (a) => {
|
|
2329
|
-
if (a === void 0)
|
|
2330
|
-
return;
|
|
2331
|
-
const r = m(a);
|
|
2332
|
-
r && r.scrollIntoView({
|
|
2333
|
-
block: "center",
|
|
2334
|
-
inline: "nearest"
|
|
2335
|
-
});
|
|
2336
|
-
});
|
|
2337
|
-
function d(a) {
|
|
2338
|
-
return a.map((r, v) => {
|
|
2339
|
-
var C;
|
|
2340
|
-
return f("tr", {
|
|
2341
|
-
onClick: (h) => p(h, {
|
|
2342
|
-
item: r,
|
|
2343
|
-
index: v
|
|
2344
|
-
}),
|
|
2345
|
-
key: r.value,
|
|
2346
|
-
"data-index": v,
|
|
2347
|
-
class: ((C = n.value) == null ? void 0 : C.index) === v ? "selected" : ""
|
|
2348
|
-
}, [f("td", null, [f(re, {
|
|
2349
|
-
modelValue: r[e.valueField],
|
|
2350
|
-
"onUpdate:modelValue": (h) => r[e.valueField] = h
|
|
2351
|
-
}, null)]), f("td", null, [f(re, {
|
|
2352
|
-
modelValue: r[e.textField],
|
|
2353
|
-
"onUpdate:modelValue": (h) => r[e.textField] = h
|
|
2354
|
-
}, null)]), f("td", {
|
|
2355
|
-
style: "width: 42px"
|
|
2356
|
-
}, [f("button", {
|
|
2357
|
-
type: "button",
|
|
2358
|
-
class: "btn btn-link",
|
|
2359
|
-
onClick: (h) => u(h, v)
|
|
2360
|
-
}, [f("span", {
|
|
2361
|
-
class: "f-icon f-icon-close"
|
|
2362
|
-
}, null)])])]);
|
|
2363
|
-
});
|
|
2364
|
-
}
|
|
2365
|
-
return () => f(pe, null, [f("div", {
|
|
2366
|
-
class: "shading-border-top",
|
|
2367
|
-
style: "position: absolute;top: 0;width: 100%;z-index: 2;"
|
|
2368
|
-
}, null), f("div", {
|
|
2369
|
-
class: "table-body f-utils-fill win11Scroll show nobtn ml-3",
|
|
2370
|
-
style: "overflow-y: scroll;"
|
|
2371
|
-
}, [f("table", {
|
|
2372
|
-
class: "table table-bordered",
|
|
2373
|
-
ref: i
|
|
2374
|
-
}, [f("thead", {
|
|
2375
|
-
style: "position: sticky; top: 0; z-index: 1;"
|
|
2376
|
-
}, [f("tr", null, [f("th", null, [f("b", null, [X("编码")])]), f("th", null, [f("b", null, [X("名称")])]), f("th", {
|
|
2377
|
-
style: "width: 42px"
|
|
2378
|
-
}, null)])]), f("tbody", null, [d(o.value)])])])]);
|
|
2379
|
-
}
|
|
2380
|
-
}), sn = {
|
|
2381
|
-
activeData: { type: Object, default: null },
|
|
2382
|
-
itemsTotal: { type: Number, default: 0 }
|
|
2383
|
-
}, rn = /* @__PURE__ */ G({
|
|
2384
|
-
name: "EnumEditorButtons",
|
|
2385
|
-
props: sn,
|
|
2386
|
-
emits: ["add", "clear", "move"],
|
|
2387
|
-
setup(e, t) {
|
|
2388
|
-
const o = c(e.activeData), i = c(e.itemsTotal), n = g(() => {
|
|
2389
|
-
var d;
|
|
2390
|
-
return ((d = o.value) == null ? void 0 : d.index) ?? -1;
|
|
2391
|
-
}), l = g(() => i.value && n.value > 0), u = g(() => i.value && n.value > -1 && n.value < i.value - 1);
|
|
2392
|
-
function p() {
|
|
2393
|
-
t.emit("add");
|
|
2394
|
-
}
|
|
2395
|
-
function m() {
|
|
2396
|
-
t.emit("clear");
|
|
2397
|
-
}
|
|
2398
|
-
function s(d, a) {
|
|
2399
|
-
t.emit("move", d, a);
|
|
2400
|
-
}
|
|
2401
|
-
return L(() => e.activeData, (d) => {
|
|
2402
|
-
o.value = d;
|
|
2403
|
-
}), L(() => e.itemsTotal, (d) => {
|
|
2404
|
-
i.value = d;
|
|
2405
|
-
}), () => f("div", {
|
|
2406
|
-
class: "footer-container mx-3 d-flex align-items-center",
|
|
2407
|
-
style: "height: 36px;"
|
|
2408
|
-
}, [f("button", {
|
|
2409
|
-
type: "button",
|
|
2410
|
-
onClick: p,
|
|
2411
|
-
class: "btn btn-sm btn-primary mr-1"
|
|
2412
|
-
}, [f("span", {
|
|
2413
|
-
class: "f-icon f-icon-add"
|
|
2414
|
-
}, null), X("新增")]), f("button", {
|
|
2415
|
-
type: "button",
|
|
2416
|
-
onClick: m,
|
|
2417
|
-
class: "btn btn-sm btn-secondary mr-1",
|
|
2418
|
-
disabled: !i.value
|
|
2419
|
-
}, [f("span", {
|
|
2420
|
-
class: "f-icon f-icon-delete"
|
|
2421
|
-
}, null), X("清空")]), f("button", {
|
|
2422
|
-
type: "button",
|
|
2423
|
-
disabled: !l.value,
|
|
2424
|
-
onClick: (d) => s(d, "top"),
|
|
2425
|
-
class: "btn btn-sm btn-secondary mr-1"
|
|
2426
|
-
}, [f("span", {
|
|
2427
|
-
class: "f-icon f-icon-roofing"
|
|
2428
|
-
}, null), X("置顶")]), f("button", {
|
|
2429
|
-
type: "button",
|
|
2430
|
-
disabled: !l.value,
|
|
2431
|
-
onClick: (d) => s(d, "up"),
|
|
2432
|
-
class: "btn btn-sm btn-secondary mr-1"
|
|
2433
|
-
}, [f("span", {
|
|
2434
|
-
class: "f-icon f-icon-arrow-chevron-up"
|
|
2435
|
-
}, null), X("上移")]), f("button", {
|
|
2436
|
-
type: "button",
|
|
2437
|
-
disabled: !u.value,
|
|
2438
|
-
onClick: (d) => s(d, "down"),
|
|
2439
|
-
class: "btn btn-sm btn-secondary mr-1"
|
|
2440
|
-
}, [f("span", {
|
|
2441
|
-
class: "f-icon f-icon-arrow-chevron-down"
|
|
2442
|
-
}, null), X("下移")]), f("button", {
|
|
2443
|
-
type: "button",
|
|
2444
|
-
disabled: !u.value,
|
|
2445
|
-
onClick: (d) => s(d, "bottom"),
|
|
2446
|
-
class: "btn btn-sm btn-secondary"
|
|
2447
|
-
}, [f("span", {
|
|
2448
|
-
class: "f-icon f-icon-page-last",
|
|
2449
|
-
style: "transform: rotate(90deg);"
|
|
2450
|
-
}, null), X("置底")])]);
|
|
2451
|
-
}
|
|
2452
|
-
});
|
|
2453
|
-
function cn() {
|
|
2454
|
-
function e(n, l) {
|
|
2455
|
-
if (l) {
|
|
2456
|
-
const { index: u } = l;
|
|
2457
|
-
u > 0 && (n.unshift(l.item), n.splice(u + 1, 1), l.index = 0);
|
|
2458
|
-
}
|
|
2459
|
-
}
|
|
2460
|
-
function t(n, l) {
|
|
2461
|
-
if (l) {
|
|
2462
|
-
const { index: u } = l;
|
|
2463
|
-
if (u > 0) {
|
|
2464
|
-
const p = n.splice(u, 1);
|
|
2465
|
-
n.splice(u - 1, 0, ...p), l.index = u - 1;
|
|
2466
|
-
}
|
|
2467
|
-
}
|
|
2468
|
-
}
|
|
2469
|
-
function o(n, l) {
|
|
2470
|
-
if (l) {
|
|
2471
|
-
const { index: u } = l;
|
|
2472
|
-
if (u < n.length - 1) {
|
|
2473
|
-
const p = n.splice(u, 1);
|
|
2474
|
-
n.splice(u + 1, 0, ...p), l.index = u + 1;
|
|
2475
|
-
}
|
|
2476
|
-
}
|
|
2477
|
-
}
|
|
2478
|
-
function i(n, l) {
|
|
2479
|
-
if (l) {
|
|
2480
|
-
const { index: u } = l;
|
|
2481
|
-
u < n.length - 1 && (n.push(l.item), n.splice(l.index, 1), l.index = n.length - 1);
|
|
2482
|
-
}
|
|
2483
|
-
}
|
|
2484
|
-
return {
|
|
2485
|
-
moveTop: e,
|
|
2486
|
-
moveUp: t,
|
|
2487
|
-
moveDown: o,
|
|
2488
|
-
moveBottom: i
|
|
2489
|
-
};
|
|
2490
|
-
}
|
|
2491
|
-
const ne = /* @__PURE__ */ G({
|
|
2492
|
-
name: "FEnumEditor",
|
|
2493
|
-
props: he,
|
|
2494
|
-
emits: ["dataChanged"],
|
|
2495
|
-
setup(e, t) {
|
|
2496
|
-
const {
|
|
2497
|
-
moveTop: o,
|
|
2498
|
-
moveDown: i,
|
|
2499
|
-
moveBottom: n,
|
|
2500
|
-
moveUp: l
|
|
2501
|
-
} = cn(), u = c(e.items || []), p = c(), m = c();
|
|
2502
|
-
function s() {
|
|
2503
|
-
u.value.push({
|
|
2504
|
-
[e.valueField]: "",
|
|
2505
|
-
[e.textField]: ""
|
|
2506
|
-
}), t.emit("dataChanged", u.value);
|
|
2507
|
-
}
|
|
2508
|
-
function d() {
|
|
2509
|
-
u.value = [], p.value = void 0, t.emit("dataChanged", []);
|
|
2510
|
-
}
|
|
2511
|
-
function a(v, C) {
|
|
2512
|
-
switch (C) {
|
|
2513
|
-
case "top":
|
|
2514
|
-
o(u.value, p.value);
|
|
2515
|
-
break;
|
|
2516
|
-
case "up":
|
|
2517
|
-
l(u.value, p.value);
|
|
2518
|
-
break;
|
|
2519
|
-
case "down":
|
|
2520
|
-
i(u.value, p.value);
|
|
2521
|
-
break;
|
|
2522
|
-
case "bottom":
|
|
2523
|
-
n(u.value, p.value);
|
|
2524
|
-
break;
|
|
2525
|
-
}
|
|
2526
|
-
t.emit("dataChanged", u.value);
|
|
2527
|
-
}
|
|
2528
|
-
function r(v) {
|
|
2529
|
-
p.value = v;
|
|
2530
|
-
}
|
|
2531
|
-
return () => {
|
|
2532
|
-
var v;
|
|
2533
|
-
return f("div", {
|
|
2534
|
-
class: "h-100 d-flex flex-column"
|
|
2535
|
-
}, [f(un, {
|
|
2536
|
-
ref: m,
|
|
2537
|
-
valueField: e.valueField,
|
|
2538
|
-
textField: e.textField,
|
|
2539
|
-
items: u.value,
|
|
2540
|
-
onSelected: r
|
|
2541
|
-
}, null), f(rn, {
|
|
2542
|
-
activeData: p.value,
|
|
2543
|
-
itemsTotal: (v = u.value) == null ? void 0 : v.length,
|
|
2544
|
-
onAdd: s,
|
|
2545
|
-
onClear: d,
|
|
2546
|
-
onMove: (C, h) => a(C, h)
|
|
2547
|
-
}, null)]);
|
|
2548
|
-
};
|
|
2549
|
-
}
|
|
2550
|
-
}), ce = /* @__PURE__ */ G({
|
|
2551
|
-
name: "FEnumEditorInput",
|
|
2552
|
-
props: he,
|
|
2553
|
-
emits: ["change"],
|
|
2554
|
-
setup(e, t) {
|
|
2555
|
-
const o = '<i class="f-icon f-icon-lookup"></i>', i = c(e.valueField), n = c(e.textField), l = c(e.items || []), u = c(), p = g(() => {
|
|
2556
|
-
var a;
|
|
2557
|
-
return `共 ${((a = l.value) == null ? void 0 : a.length) || 0} 项`;
|
|
2558
|
-
});
|
|
2559
|
-
L(() => e.items, (a) => {
|
|
2560
|
-
l.value = a;
|
|
2561
|
-
}), L(() => e.valueField, (a) => {
|
|
2562
|
-
i.value = a;
|
|
2563
|
-
}), L(() => e.textField, (a) => {
|
|
2564
|
-
n.value = a;
|
|
2565
|
-
});
|
|
2566
|
-
function m(a) {
|
|
2567
|
-
u.value = a;
|
|
2568
|
-
}
|
|
2569
|
-
function s() {
|
|
2570
|
-
return f(ne, {
|
|
2571
|
-
valueField: i.value,
|
|
2572
|
-
textField: n.value,
|
|
2573
|
-
items: u.value,
|
|
2574
|
-
onDataChanged: m
|
|
2575
|
-
}, null);
|
|
2576
|
-
}
|
|
2577
|
-
async function d() {
|
|
2578
|
-
await e.beforeOpen() && (u.value = ve(l.value), ge.show({
|
|
2579
|
-
title: "枚举数据编辑器",
|
|
2580
|
-
fitContent: !1,
|
|
2581
|
-
height: 500,
|
|
2582
|
-
width: 600,
|
|
2583
|
-
render: s,
|
|
2584
|
-
acceptCallback: () => {
|
|
2585
|
-
l.value = u.value, t.emit("change", u.value);
|
|
2586
|
-
},
|
|
2587
|
-
rejectCallback: () => {
|
|
2588
|
-
}
|
|
2589
|
-
}));
|
|
2590
|
-
}
|
|
2591
|
-
return () => f(Rt, {
|
|
2592
|
-
modelValue: p.value,
|
|
2593
|
-
"onUpdate:modelValue": (a) => p.value = a,
|
|
2594
|
-
editable: !1,
|
|
2595
|
-
disabled: e.disabled,
|
|
2596
|
-
readonly: e.readonly,
|
|
2597
|
-
inputType: "text",
|
|
2598
|
-
enableClear: !1,
|
|
2599
|
-
buttonContent: o,
|
|
2600
|
-
onClickButton: d
|
|
2601
|
-
}, null);
|
|
2602
|
-
}
|
|
2603
|
-
}), mn = {
|
|
2604
|
-
install(e) {
|
|
2605
|
-
e.component(ce.name, ce), e.component(ne.name, ne);
|
|
2606
|
-
}
|
|
2607
|
-
};
|
|
2608
|
-
export {
|
|
2609
|
-
ce as EnumEditorInput,
|
|
2610
|
-
mn as default,
|
|
2611
|
-
he as enumEditorProps
|
|
2612
|
-
};
|