@farris/ui-vue 1.0.2 → 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 +52196 -23847
- package/farris.all.umd.cjs +26 -0
- package/package.json +7 -6
- package/style.css +1 -11
- package/accordion/index.esm.js +0 -355
- package/accordion/index.umd.js +0 -1
- package/accordion/package.json +0 -8
- package/accordion/style.css +0 -1
- package/avatar/index.esm.js +0 -121
- package/avatar/index.umd.js +0 -1
- package/avatar/package.json +0 -8
- package/avatar/style.css +0 -1
- package/button/index.esm.js +0 -271
- package/button/index.umd.js +0 -1
- package/button/package.json +0 -8
- package/button-edit/index.esm.js +0 -1208
- package/button-edit/index.umd.js +0 -1
- package/button-edit/package.json +0 -8
- package/button-edit/style.css +0 -1
- package/calculator/index.esm.js +0 -315
- package/calculator/index.umd.js +0 -1
- package/calculator/package.json +0 -8
- package/calculator/style.css +0 -1
- package/calendar/index.esm.js +0 -778
- package/calendar/index.umd.js +0 -1
- package/calendar/package.json +0 -8
- package/calendar/style.css +0 -1
- package/capsule/index.esm.js +0 -130
- package/capsule/index.umd.js +0 -1
- package/capsule/package.json +0 -8
- package/capsule/style.css +0 -1
- package/checkbox/index.esm.js +0 -251
- package/checkbox/index.umd.js +0 -1
- package/checkbox/package.json +0 -8
- package/color-picker/index.esm.js +0 -1551
- package/color-picker/index.umd.js +0 -16
- package/color-picker/package.json +0 -8
- package/color-picker/style.css +0 -1
- package/combo-list/index.esm.js +0 -2227
- package/combo-list/index.umd.js +0 -1
- package/combo-list/package.json +0 -8
- package/combo-list/style.css +0 -1
- package/component/index.esm.js +0 -176
- package/component/index.umd.js +0 -1
- package/component/package.json +0 -8
- package/condition/index.esm.js +0 -13570
- package/condition/index.umd.js +0 -1
- package/condition/package.json +0 -8
- package/condition/style.css +0 -1
- package/content-container/index.esm.js +0 -242
- package/content-container/index.umd.js +0 -1
- package/content-container/package.json +0 -8
- package/data-grid/index.esm.js +0 -13724
- package/data-grid/index.umd.js +0 -1
- package/data-grid/package.json +0 -8
- package/data-grid/style.css +0 -1
- package/date-picker/index.esm.js +0 -2558
- package/date-picker/index.umd.js +0 -1
- package/date-picker/package.json +0 -8
- package/date-picker/style.css +0 -1
- package/designer-canvas/index.esm.js +0 -15240
- package/designer-canvas/index.umd.js +0 -1
- package/designer-canvas/package.json +0 -8
- package/designer-canvas/style.css +0 -1
- package/discussion-editor/index.esm.js +0 -3559
- package/discussion-editor/index.umd.js +0 -16
- 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 -214
- package/dropdown/index.umd.js +0 -1
- package/dropdown/package.json +0 -8
- package/dropdown/style.css +0 -1
- package/dynamic-form/index.esm.js +0 -13568
- package/dynamic-form/index.umd.js +0 -1
- package/dynamic-form/package.json +0 -8
- package/dynamic-form/style.css +0 -1
- package/dynamic-resolver/index.esm.js +0 -41
- package/dynamic-resolver/index.umd.js +0 -1
- package/dynamic-resolver/package.json +0 -8
- package/dynamic-view/index.esm.js +0 -13608
- package/dynamic-view/index.umd.js +0 -1
- package/dynamic-view/package.json +0 -8
- package/dynamic-view/style.css +0 -1
- package/farris.all.umd.js +0 -24
- package/filter-bar/index.esm.js +0 -549
- package/filter-bar/index.umd.js +0 -1
- package/filter-bar/package.json +0 -8
- package/filter-bar/style.css +0 -1
- package/image-cropper/index.esm.js +0 -720
- package/image-cropper/index.umd.js +0 -1
- package/image-cropper/package.json +0 -8
- package/image-cropper/style.css +0 -1
- package/input-group/index.esm.js +0 -549
- package/input-group/index.umd.js +0 -1
- package/input-group/package.json +0 -8
- package/input-group/style.css +0 -1
- package/list-nav/index.esm.js +0 -61
- package/list-nav/index.umd.js +0 -1
- package/list-nav/package.json +0 -8
- package/list-nav/style.css +0 -1
- package/list-view/index.esm.js +0 -536
- package/list-view/index.umd.js +0 -1
- package/list-view/package.json +0 -8
- package/list-view/style.css +0 -1
- package/loading/index.esm.js +0 -124
- package/loading/index.umd.js +0 -8
- package/loading/package.json +0 -8
- package/loading/style.css +0 -1
- 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 -572
- package/message-box/index.umd.js +0 -1
- package/message-box/package.json +0 -8
- package/message-box/style.css +0 -1
- package/modal/index.esm.js +0 -212
- package/modal/index.umd.js +0 -1
- package/modal/package.json +0 -8
- package/modal/style.css +0 -1
- package/nav/index.esm.js +0 -456
- package/nav/index.umd.js +0 -16
- package/nav/package.json +0 -8
- package/nav/style.css +0 -1
- package/notify/index.esm.js +0 -187
- package/notify/index.umd.js +0 -1
- package/notify/package.json +0 -8
- package/notify/style.css +0 -1
- package/order/index.esm.js +0 -2278
- package/order/index.umd.js +0 -1
- package/order/package.json +0 -8
- package/order/style.css +0 -1
- package/page-footer/index.esm.js +0 -94
- package/page-footer/index.umd.js +0 -1
- package/page-footer/package.json +0 -8
- package/page-header/index.esm.js +0 -230
- package/page-header/index.umd.js +0 -1
- package/page-header/package.json +0 -8
- package/pagination/index.esm.js +0 -340
- package/pagination/index.umd.js +0 -1
- package/pagination/package.json +0 -8
- package/pagination/style.css +0 -1
- package/popover/index.esm.js +0 -218
- package/popover/index.umd.js +0 -1
- package/popover/package.json +0 -8
- package/popover/style.css +0 -1
- package/propress/index.esm.js +0 -108
- package/propress/index.umd.js +0 -1
- package/propress/package.json +0 -8
- package/propress/style.css +0 -1
- package/radio-group/index.esm.js +0 -221
- package/radio-group/index.umd.js +0 -1
- package/radio-group/package.json +0 -8
- package/rate/index.esm.js +0 -168
- package/rate/index.umd.js +0 -1
- package/rate/package.json +0 -8
- package/rate/style.css +0 -1
- package/response-toolbar/index.esm.js +0 -433
- package/response-toolbar/index.umd.js +0 -1
- package/response-toolbar/package.json +0 -8
- package/search-box/index.esm.js +0 -208
- package/search-box/index.umd.js +0 -1
- package/search-box/package.json +0 -8
- package/search-box/style.css +0 -1
- package/section/index.esm.js +0 -366
- package/section/index.umd.js +0 -1
- package/section/package.json +0 -8
- package/section/style.css +0 -1
- package/splitter/index.esm.js +0 -491
- 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 -117
- package/step/index.umd.js +0 -1
- package/step/package.json +0 -8
- package/step/style.css +0 -1
- package/switch/index.esm.js +0 -197
- package/switch/index.umd.js +0 -1
- package/switch/package.json +0 -8
- package/switch/style.css +0 -1
- package/tabs/index.esm.js +0 -1638
- package/tabs/index.umd.js +0 -1
- package/tabs/package.json +0 -8
- package/tabs/style.css +0 -1
- package/tags/index.esm.js +0 -287
- package/tags/index.umd.js +0 -1
- package/tags/package.json +0 -8
- package/tags/style.css +0 -1
- package/text/index.esm.js +0 -36
- package/text/index.umd.js +0 -1
- package/text/package.json +0 -8
- package/time-picker/index.esm.js +0 -1465
- package/time-picker/index.umd.js +0 -1
- package/time-picker/package.json +0 -8
- package/time-picker/style.css +0 -1
- package/tooltip/index.esm.js +0 -195
- package/tooltip/index.umd.js +0 -1
- package/tooltip/package.json +0 -8
- package/tooltip/style.css +0 -1
- package/transfer/index.esm.js +0 -642
- package/transfer/index.umd.js +0 -1
- package/transfer/package.json +0 -8
- package/transfer/style.css +0 -1
- package/tree-view/index.esm.js +0 -701
- package/tree-view/index.umd.js +0 -1
- 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/avatar/index.d.ts +0 -23
- package/types/avatar/src/avatar.component.d.ts +0 -111
- package/types/avatar/src/avatar.props.d.ts +0 -96
- package/types/avatar/src/composition/types.d.ts +0 -31
- package/types/avatar/src/composition/use-image.d.ts +0 -19
- package/types/button/index.d.ts +0 -25
- package/types/button/src/button-group.component.d.ts +0 -108
- package/types/button/src/button-group.props.d.ts +0 -106
- package/types/button/src/button.component.d.ts +0 -42
- package/types/button/src/button.props.d.ts +0 -53
- package/types/button/src/composition/types-group.d.ts +0 -24
- package/types/button/src/composition/types.d.ts +0 -24
- package/types/button/src/composition/use-button-group.d.ts +0 -19
- package/types/button/src/composition/use-button.d.ts +0 -19
- 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 -132
- 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/schema/schema-mapper.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 -21
- package/types/calendar/src/calendar.props.d.ts +0 -26
- 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/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 -8
- package/types/capsule/src/capsule.props.d.ts +0 -67
- package/types/checkbox/index.d.ts +0 -24
- 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/composition/types.d.ts +0 -46
- package/types/checkbox/src/composition/use-checkbox-group.d.ts +0 -19
- package/types/checkbox/src/schema/schema-mapper.d.ts +0 -2
- package/types/color-picker/index.d.ts +0 -22
- package/types/color-picker/src/color-picker.props.d.ts +0 -62
- 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 -21
- 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/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 -56
- 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/component/index.d.ts +0 -26
- package/types/component/src/component.props.d.ts +0 -4
- package/types/component/src/designer/types.d.ts +0 -10
- package/types/component/src/designer/use-designer-rules.d.ts +0 -2
- package/types/component/src/schema/schema-mapper.d.ts +0 -2
- package/types/condition/index.d.ts +0 -24
- package/types/condition/src/composition/condition-value/checkbox-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +0 -19
- package/types/condition/src/composition/condition-value/date-picker-value.d.ts +0 -25
- package/types/condition/src/composition/condition-value/date-range-value.d.ts +0 -18
- package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/dropdown-value.d.ts +0 -18
- package/types/condition/src/composition/condition-value/input-group-value.d.ts +0 -21
- package/types/condition/src/composition/condition-value/lookup-value.d.ts +0 -21
- package/types/condition/src/composition/condition-value/month-picker-value.d.ts +0 -15
- package/types/condition/src/composition/condition-value/month-range-value.d.ts +0 -18
- package/types/condition/src/composition/condition-value/number-range-value.d.ts +0 -21
- package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/radio-group-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/text-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/types.d.ts +0 -9
- package/types/condition/src/composition/types.d.ts +0 -41
- 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-condition.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/condition.props.d.ts +0 -58
- package/types/condition/src/types.d.ts +0 -144
- 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/data-grid/index.d.ts +0 -26
- package/types/data-grid/src/components/data/data-area.component.d.ts +0 -21
- package/types/data-grid/src/components/editors/commands.component.d.ts +0 -18
- package/types/data-grid/src/components/editors/date-picker.component.d.ts +0 -18
- package/types/data-grid/src/components/editors/text-area-editor.component.d.ts +0 -3
- package/types/data-grid/src/components/editors/text-editor.component.d.ts +0 -18
- package/types/data-grid/src/components/filter/boolean-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/column-filter-container.component.d.ts +0 -19
- package/types/data-grid/src/components/filter/date-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/enum-filter-editor.component.d.ts +0 -3
- package/types/data-grid/src/components/filter/list-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/numeric-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/text-filter-editor.component.d.ts +0 -3
- package/types/data-grid/src/components/group-panel/group-panel.component.d.ts +0 -5
- package/types/data-grid/src/components/header/data-grid-header-handler.component.d.ts +0 -21
- package/types/data-grid/src/components/header/data-grid-header.component.d.ts +0 -22
- package/types/data-grid/src/components/pagination/data-grid-pagination.component.d.ts +0 -5
- package/types/data-grid/src/components/scrollbar/horizontal-scrollbar.component.d.ts +0 -21
- package/types/data-grid/src/components/scrollbar/vertical-scrollbar.component.d.ts +0 -21
- package/types/data-grid/src/components/settings/data-grid-settings-icon.component.d.ts +0 -21
- package/types/data-grid/src/components/sidebar/data-grid-sidebar.component.d.ts +0 -21
- package/types/data-grid/src/components/summary/data-grid-summary.component.d.ts +0 -5
- package/types/data-grid/src/composition/types.d.ts +0 -301
- package/types/data-grid/src/composition/use-column-filter.d.ts +0 -3
- package/types/data-grid/src/composition/use-column.d.ts +0 -20
- package/types/data-grid/src/composition/use-command-column.d.ts +0 -3
- package/types/data-grid/src/composition/use-data-view.d.ts +0 -29
- package/types/data-grid/src/composition/use-drag-column.d.ts +0 -4
- package/types/data-grid/src/composition/use-filter-history.d.ts +0 -2
- package/types/data-grid/src/composition/use-group-column.d.ts +0 -22
- package/types/data-grid/src/composition/use-group-data.d.ts +0 -3
- package/types/data-grid/src/composition/use-positon-style.d.ts +0 -20
- package/types/data-grid/src/composition/use-resize.d.ts +0 -20
- package/types/data-grid/src/composition/use-row.d.ts +0 -19
- package/types/data-grid/src/composition/use-selection.d.ts +0 -3
- package/types/data-grid/src/composition/use-sidebar.d.ts +0 -3
- package/types/data-grid/src/composition/use-sort.d.ts +0 -3
- package/types/data-grid/src/composition/use-virtual-scroll.d.ts +0 -20
- package/types/data-grid/src/composition/use-visual-data-bound.d.ts +0 -2
- package/types/data-grid/src/composition/use-visual-data-cell.d.ts +0 -3
- package/types/data-grid/src/composition/use-visual-data-row.d.ts +0 -3
- package/types/data-grid/src/composition/use-visual-data.d.ts +0 -19
- package/types/data-grid/src/composition/use-visual-summary-row.d.ts +0 -3
- package/types/data-grid/src/data-grid.props.d.ts +0 -512
- package/types/data-grid/src/schema/schema-mapper.d.ts +0 -2
- 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 -628
- package/types/date-picker/src/components/date-picker-container/date-picker-container.props.d.ts +0 -306
- 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 -102
- 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 -2
- 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/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/designer-item.props.d.ts +0 -3
- package/types/designer-canvas/src/components/designer-placeholder.props.d.ts +0 -7
- package/types/designer-canvas/src/components/maps.d.ts +0 -3
- package/types/designer-canvas/src/components/toolbox.props.d.ts +0 -11
- package/types/designer-canvas/src/composition/types.d.ts +0 -27
- package/types/designer-canvas/src/designer-canvas.props.d.ts +0 -3
- package/types/designer-canvas/src/types.d.ts +0 -40
- 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 -9
- package/types/dropdown/src/composition/function/use-dropdown.d.ts +0 -26
- package/types/dropdown/src/composition/props/dropdown.item.props.d.ts +0 -46
- package/types/dropdown/src/composition/props/dropdown.props.d.ts +0 -99
- package/types/dropdown/src/dropdown.component.d.ts +0 -179
- package/types/dropdown/src/dropdown.item.component.d.ts +0 -76
- package/types/dropdown/src/types.d.ts +0 -46
- package/types/dynamic-form/index.d.ts +0 -14
- 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.props.d.ts +0 -15
- package/types/dynamic-form/src/composition/types.d.ts +0 -5
- package/types/dynamic-form/src/dynamic-form.props.d.ts +0 -3
- package/types/dynamic-form/src/schema/schema-mapper.d.ts +0 -2
- package/types/dynamic-form/src/types.d.ts +0 -17
- package/types/dynamic-resolver/index.d.ts +0 -3
- package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +0 -6
- package/types/dynamic-resolver/src/props-resolver.d.ts +0 -2
- package/types/dynamic-resolver/src/schema-resolver.d.ts +0 -5
- package/types/dynamic-resolver/src/types.d.ts +0 -1
- 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/filter-bar/index.d.ts +0 -7
- 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/composition/use-filter-items.d.ts +0 -4
- package/types/filter-bar/src/filter-bar.props.d.ts +0 -53
- package/types/filter-bar/src/types.d.ts +0 -9
- package/types/image-cropper/index.d.ts +0 -23
- 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/image-cropper.component.d.ts +0 -248
- package/types/image-cropper/src/image-cropper.props.d.ts +0 -153
- package/types/index.d.ts +0 -25
- 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/text-edit.component.d.ts +0 -4
- package/types/input-group/src/composition/types.d.ts +0 -37
- 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-password.d.ts +0 -4
- package/types/input-group/src/composition/use-text-box.d.ts +0 -4
- 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/list-nav/index.d.ts +0 -23
- package/types/list-nav/src/list-nav.component.d.ts +0 -61
- package/types/list-nav/src/list-nav.props.d.ts +0 -51
- package/types/list-view/index.d.ts +0 -23
- package/types/list-view/src/components/header/content-header.component.d.ts +0 -6
- package/types/list-view/src/components/header/search-header.component.d.ts +0 -6
- package/types/list-view/src/components/list-view-checkbox.props.d.ts +0 -38
- package/types/list-view/src/composition/types.d.ts +0 -40
- package/types/list-view/src/composition/use-data-view.d.ts +0 -4
- 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-item.d.ts +0 -4
- 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/list-view.component.d.ts +0 -203
- package/types/list-view/src/list-view.props.d.ts +0 -113
- package/types/loading/index.d.ts +0 -23
- package/types/loading/src/composition/types.d.ts +0 -19
- package/types/loading/src/loading.component.d.ts +0 -43
- package/types/loading/src/loading.props.d.ts +0 -35
- 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/footer/footer.component.d.ts +0 -4
- 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/exception-message.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.component.d.ts +0 -106
- package/types/modal/src/modal.props.d.ts +0 -72
- package/types/modal/src/modal.service.d.ts +0 -17
- package/types/nav/index.d.ts +0 -23
- package/types/nav/src/composition/types.d.ts +0 -6
- package/types/nav/src/nav.component.d.ts +0 -87
- package/types/nav/src/nav.props.d.ts +0 -62
- package/types/notify/index.d.ts +0 -26
- package/types/notify/src/components/toast.component.d.ts +0 -23
- package/types/notify/src/components/toast.props.d.ts +0 -27
- package/types/notify/src/notify.component.d.ts +0 -130
- package/types/notify/src/notify.props.d.ts +0 -99
- package/types/notify/src/notify.service.d.ts +0 -4
- package/types/number-range/index.d.ts +0 -24
- 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 -54
- 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-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 -57
- 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/order/index.d.ts +0 -8
- package/types/order/src/order.props.d.ts +0 -44
- package/types/overlay/src/overlay.component.d.ts +0 -28
- package/types/overlay/src/overlay.props.d.ts +0 -29
- package/types/overlay/src/overlay.service.d.ts +0 -16
- package/types/page-footer/index.d.ts +0 -8
- package/types/page-footer/src/page-footer.props.d.ts +0 -40
- package/types/page-header/index.d.ts +0 -10
- 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/pagination/index.d.ts +0 -23
- 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/pagination.components.d.ts +0 -43
- package/types/pagination/src/pagination.props.d.ts +0 -36
- package/types/popover/index.d.ts +0 -24
- package/types/popover/src/composition/types.d.ts +0 -24
- 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 -106
- package/types/popover/src/popover.directive.d.ts +0 -5
- package/types/popover/src/popover.props.d.ts +0 -66
- package/types/propress/index.d.ts +0 -8
- package/types/propress/src/progress.props.d.ts +0 -49
- package/types/query-solution/index.d.ts +0 -25
- 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/preset-resolver.d.ts +0 -5
- package/types/query-solution/src/schema/schema-mapper.d.ts +0 -2
- package/types/radio-group/index.d.ts +0 -24
- 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/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/rate/index.d.ts +0 -23
- package/types/rate/src/rate.component.d.ts +0 -124
- package/types/rate/src/rate.props.d.ts +0 -86
- package/types/response-toolbar/index.d.ts +0 -10
- package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +0 -5
- 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 -26
- 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 -24
- package/types/search-box/src/components/search-box-container.props.d.ts +0 -21
- package/types/search-box/src/schema/schema-mapper.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/schema/schema-mapper.d.ts +0 -2
- package/types/section/src/section.component.d.ts +0 -6
- package/types/section/src/section.props.d.ts +0 -34
- 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/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/splitter.props.d.ts +0 -5
- package/types/step/index.d.ts +0 -8
- package/types/step/src/step.props.d.ts +0 -46
- package/types/switch/index.d.ts +0 -24
- package/types/switch/src/schema/schema-mapper.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.component.d.ts +0 -6
- package/types/tabs/src/components/tab-page.props.d.ts +0 -19
- package/types/tabs/src/composition/types.d.ts +0 -66
- 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/schema/schema-mapper.d.ts +0 -2
- package/types/tabs/src/tabs.props.d.ts +0 -22
- package/types/tags/index.d.ts +0 -8
- 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/tags.props.d.ts +0 -92
- package/types/text/index.d.ts +0 -23
- package/types/text/src/text.component.d.ts +0 -16
- package/types/text/src/text.props.d.ts +0 -26
- package/types/time-picker/index.d.ts +0 -11
- 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/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 -58
- package/types/tooltip/src/tooltip.directive.d.ts +0 -5
- package/types/tooltip/src/tooltip.props.d.ts +0 -45
- package/types/transfer/index.d.ts +0 -8
- package/types/transfer/src/transfer.props.d.ts +0 -71
- package/types/tree-view/index.d.ts +0 -8
- package/types/tree-view/src/components/data/control-tree-view.component.d.ts +0 -108
- package/types/tree-view/src/components/data/tree-area.component.d.ts +0 -8
- package/types/tree-view/src/composition/types.d.ts +0 -97
- package/types/tree-view/src/composition/use-auto-check-children-and-cascade.d.ts +0 -4
- package/types/tree-view/src/composition/use-tree-data-view.d.ts +0 -21
- package/types/tree-view/src/composition/use-tree-node-icon.d.ts +0 -4
- package/types/tree-view/src/composition/use-tree-node-lines.d.ts +0 -3
- package/types/tree-view/src/composition/use-visual-tree-node.d.ts +0 -9
- package/types/tree-view/src/control-tree-view.props.d.ts +0 -58
- package/types/tree-view/src/tree-view.component.d.ts +0 -97
- package/types/tree-view/src/tree-view.props.d.ts +0 -54
- package/types/uploader/index.d.ts +0 -25
- package/types/uploader/src/components/sub-component.props.d.ts +0 -63
- package/types/uploader/src/components/upload-progress.component.d.ts +0 -41
- package/types/uploader/src/composition/type.d.ts +0 -135
- package/types/uploader/src/service/get-service.d.ts +0 -2
- package/types/uploader/src/uploader.props.d.ts +0 -156
- package/types/verify-detail/index.d.ts +0 -23
- package/types/verify-detail/src/verify-detail.component.d.ts +0 -70
- package/types/verify-detail/src/verify-detail.props.d.ts +0 -36
- package/uploader/index.esm.js +0 -1972
- package/uploader/index.umd.js +0 -17
- package/uploader/package.json +0 -8
- package/uploader/style.css +0 -1
- package/verify-detail/index.esm.js +0 -187
- package/verify-detail/index.umd.js +0 -1
- package/verify-detail/package.json +0 -8
- package/verify-detail/style.css +0 -1
package/transfer/index.esm.js
DELETED
|
@@ -1,642 +0,0 @@
|
|
|
1
|
-
import { ref as l, computed as D, watch as L, defineComponent as P, createVNode as n, withDirectives as $, vModelCheckbox as W, Fragment as K, withModifiers as X, vModelText as q, createTextVNode as B } from "vue";
|
|
2
|
-
const J = {
|
|
3
|
-
dataSource: { type: Array, default: [] },
|
|
4
|
-
displayType: { type: String, default: "List" },
|
|
5
|
-
enableSearch: { type: Boolean, default: !0 },
|
|
6
|
-
identifyField: { type: String, default: "id" },
|
|
7
|
-
placeholder: { type: String, default: "" },
|
|
8
|
-
selections: { type: Array, default: [] },
|
|
9
|
-
selectionValues: { type: Array, default: [] }
|
|
10
|
-
}, Q = {
|
|
11
|
-
data: { type: Array, default: [] },
|
|
12
|
-
draggable: { type: Boolean, default: !1 },
|
|
13
|
-
multiSelect: { Type: Boolean, default: !1 },
|
|
14
|
-
multiSelectMode: { Type: String, default: "OnCheck" },
|
|
15
|
-
idField: { Type: String, default: "id" },
|
|
16
|
-
valueField: { Type: String, default: "id" },
|
|
17
|
-
textField: { Type: String, default: "name" },
|
|
18
|
-
view: { Type: String, default: "ContentView" },
|
|
19
|
-
size: { Type: String, default: "default" },
|
|
20
|
-
placeholder: { type: String, default: "" },
|
|
21
|
-
header: { Type: String, default: "ContentHeader" },
|
|
22
|
-
headerClass: { Type: String, default: "" },
|
|
23
|
-
itemClass: { Type: String, default: "" },
|
|
24
|
-
selectionValues: { type: Array, default: [] },
|
|
25
|
-
keepOrder: { type: Boolean, default: !1 },
|
|
26
|
-
disableField: { type: String, default: "disabled" }
|
|
27
|
-
};
|
|
28
|
-
function Y(e, s, i, d, m) {
|
|
29
|
-
const a = l(e.idField), t = l(e.disableField), h = l(e.draggable), r = l(e.itemClass), v = l(e.multiSelect), u = l(e.multiSelectMode);
|
|
30
|
-
l(!0);
|
|
31
|
-
const { isDragging: c } = i, { activeIndex: o, focusedItemId: w, hoverIndex: f } = d, { clearSelection: I, selectedItems: H, toggleSelectItem: T } = m;
|
|
32
|
-
function M(y, C) {
|
|
33
|
-
const g = {
|
|
34
|
-
"f-list-view-group-item": !0,
|
|
35
|
-
"f-list-view-draggable-item": h.value,
|
|
36
|
-
"f-un-click": !!y.unClick,
|
|
37
|
-
"f-un-select": !!y[t.value],
|
|
38
|
-
"f-listview-active": y.__fv_index__ === o.value,
|
|
39
|
-
"f-listview-hover": !c.value && C === f.value,
|
|
40
|
-
moving: !!y.moving
|
|
41
|
-
};
|
|
42
|
-
return r.value.split(" ").reduce((R, F) => (R[F] = !0, R), g), g;
|
|
43
|
-
}
|
|
44
|
-
function p(y, C) {
|
|
45
|
-
return y[a.value] || "";
|
|
46
|
-
}
|
|
47
|
-
const k = D(() => !v.value);
|
|
48
|
-
function b(y, C) {
|
|
49
|
-
y.unClick || y[t.value] || (k.value && (w.value = y[a.value]), T(y, C));
|
|
50
|
-
}
|
|
51
|
-
const V = D(() => v.value && u.value === "OnCheckClearByClick"), _ = D(() => !v.value || v.value && (u.value === "OnCheckAndClick" || u.value === "OnClick"));
|
|
52
|
-
function S(y, C, g) {
|
|
53
|
-
if (C.unClick || C[t.value]) {
|
|
54
|
-
y.preventDefault(), y.stopPropagation();
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
w.value = C[a.value], o.value = g, V.value && I(), _.value && T(C, g), s.emit("clickItem", { data: H.value, index: g });
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
getKey: p,
|
|
61
|
-
listViewItemClass: M,
|
|
62
|
-
onCheckItem: b,
|
|
63
|
-
onClickItem: S
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
function Z(e, s, i) {
|
|
67
|
-
const d = l(e.idField), m = l(e.multiSelect);
|
|
68
|
-
l(e.multiSelectMode);
|
|
69
|
-
const { getSelectionItems: a } = i, t = l(a(e.selectionValues));
|
|
70
|
-
L(() => e.selectionValues, (o) => {
|
|
71
|
-
t.value = l(a(o)).value;
|
|
72
|
-
});
|
|
73
|
-
const h = D(() => !m.value);
|
|
74
|
-
function r(o) {
|
|
75
|
-
return o[d.value] || "";
|
|
76
|
-
}
|
|
77
|
-
function v(o) {
|
|
78
|
-
return t.value.findIndex((f) => r(f) === r(o));
|
|
79
|
-
}
|
|
80
|
-
function u() {
|
|
81
|
-
t.value.forEach((o) => {
|
|
82
|
-
o.checked = !1;
|
|
83
|
-
}), t.value = [];
|
|
84
|
-
}
|
|
85
|
-
function c(o, w) {
|
|
86
|
-
h.value && u();
|
|
87
|
-
const f = v(o);
|
|
88
|
-
f > -1 ? (t.value.splice(f, 1), o.checked = !1) : (t.value.push(o), o.checked = !0), s.emit("selectionChange", t.value);
|
|
89
|
-
}
|
|
90
|
-
return { clearSelection: u, findIndexInSelectedItems: v, selectedItems: t, toggleSelectItem: c };
|
|
91
|
-
}
|
|
92
|
-
function ee(e, s) {
|
|
93
|
-
function i(a) {
|
|
94
|
-
const t = [];
|
|
95
|
-
let h = a.nextNode();
|
|
96
|
-
for (; h; )
|
|
97
|
-
t.push(h), h = a.nextNode();
|
|
98
|
-
return t;
|
|
99
|
-
}
|
|
100
|
-
function d(a, t) {
|
|
101
|
-
const h = document.createTreeWalker(a, NodeFilter.SHOW_TEXT);
|
|
102
|
-
return i(h).map((c) => ({ textNode: c, text: (c.textContent || "").toLocaleLowerCase() })).map(({ textNode: c, text: o }) => {
|
|
103
|
-
const w = [];
|
|
104
|
-
let f = 0;
|
|
105
|
-
for (; f < o.length; ) {
|
|
106
|
-
const I = o.indexOf(t, f);
|
|
107
|
-
if (I === -1)
|
|
108
|
-
break;
|
|
109
|
-
w.push(I), f = I + t.length;
|
|
110
|
-
}
|
|
111
|
-
return w.map((I) => {
|
|
112
|
-
const H = new Range();
|
|
113
|
-
return H.setStart(c, I), H.setEnd(c, I + t.length), H;
|
|
114
|
-
});
|
|
115
|
-
}).flat();
|
|
116
|
-
}
|
|
117
|
-
function m(a) {
|
|
118
|
-
if (!CSS.highlights || (CSS.highlights.clear(), !a || !s))
|
|
119
|
-
return;
|
|
120
|
-
const t = d(s.value, a.toLocaleLowerCase()), h = new Highlight(...t);
|
|
121
|
-
CSS.highlights.set("search-result", h);
|
|
122
|
-
}
|
|
123
|
-
return { search: m };
|
|
124
|
-
}
|
|
125
|
-
const te = {
|
|
126
|
-
checked: { Type: Boolean, default: !1 },
|
|
127
|
-
id: { Type: String, default: "" },
|
|
128
|
-
disabled: { Type: Boolean, default: !1 },
|
|
129
|
-
/**
|
|
130
|
-
* 组件值,字符串或者数组
|
|
131
|
-
*/
|
|
132
|
-
modelValue: { Type: Boolean, default: !1 }
|
|
133
|
-
}, j = /* @__PURE__ */ P({
|
|
134
|
-
name: "FListViewCheckBox",
|
|
135
|
-
props: te,
|
|
136
|
-
emits: ["change", "update:modelValue"],
|
|
137
|
-
setup(e, s) {
|
|
138
|
-
const i = l(e.checked), d = l(e.disabled), m = l(e.id);
|
|
139
|
-
function a(t) {
|
|
140
|
-
t.stopPropagation(), t.preventDefault(), d.value || (i.value = !i.value, s.emit("change", {
|
|
141
|
-
originalEvent: t,
|
|
142
|
-
checked: i.value
|
|
143
|
-
}));
|
|
144
|
-
}
|
|
145
|
-
return L(() => e.checked, (t) => {
|
|
146
|
-
i.value = t;
|
|
147
|
-
}), () => n("div", {
|
|
148
|
-
class: "custom-control custom-checkbox custom-control-inline listview-checkbox"
|
|
149
|
-
}, [$(n("input", {
|
|
150
|
-
id: m.value,
|
|
151
|
-
title: m.value,
|
|
152
|
-
type: "checkbox",
|
|
153
|
-
class: "custom-control-input",
|
|
154
|
-
"onUpdate:modelValue": (t) => i.value = t,
|
|
155
|
-
onChange: (t) => console.log(t)
|
|
156
|
-
}, null), [[W, i.value]]), n("label", {
|
|
157
|
-
for: m.value,
|
|
158
|
-
class: "custom-control-label",
|
|
159
|
-
onClick: (t) => a(t)
|
|
160
|
-
}, null)]);
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
function A(e, s, i, d, m, a, t, h) {
|
|
164
|
-
const r = l(e.size), v = l(e.textField), u = l(e.multiSelect), c = l(e.disableField), {
|
|
165
|
-
onMouseenterItem: o,
|
|
166
|
-
onMouseoverItem: w,
|
|
167
|
-
onMouseoutItem: f
|
|
168
|
-
} = m, {
|
|
169
|
-
getKey: I,
|
|
170
|
-
listViewItemClass: H,
|
|
171
|
-
onCheckItem: T,
|
|
172
|
-
onClickItem: M
|
|
173
|
-
} = a, p = D(() => ({
|
|
174
|
-
margin: r.value === "small" ? "0.25rem 0" : "10px 0"
|
|
175
|
-
}));
|
|
176
|
-
function k(b, V, _) {
|
|
177
|
-
return b.checked = t.findIndexInSelectedItems(b) > -1, n("li", {
|
|
178
|
-
class: H(b, V),
|
|
179
|
-
id: I(b, V),
|
|
180
|
-
key: I(b, V),
|
|
181
|
-
onClick: (S) => M(S, b, V),
|
|
182
|
-
onMouseenter: (S) => o(S, b, V),
|
|
183
|
-
onMouseover: (S) => w(S, b, V),
|
|
184
|
-
onMouseout: (S) => f(S, b, V)
|
|
185
|
-
}, [u.value && n("div", {
|
|
186
|
-
class: "f-list-select",
|
|
187
|
-
onClick: (S) => S.stopPropagation()
|
|
188
|
-
}, [n(j, {
|
|
189
|
-
id: "list-" + I(b, V),
|
|
190
|
-
disabled: b[c.value] || b.unClick,
|
|
191
|
-
checked: b.checked,
|
|
192
|
-
onChange: (S) => T(b, V)
|
|
193
|
-
}, null)]), n("div", {
|
|
194
|
-
class: "f-list-content"
|
|
195
|
-
}, [n("div", {
|
|
196
|
-
style: p.value
|
|
197
|
-
}, [b[v.value]])])]);
|
|
198
|
-
}
|
|
199
|
-
return {
|
|
200
|
-
renderItem: k
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
function ne(e, s, i, d, m, a, t, h) {
|
|
204
|
-
const r = l(e.multiSelect), v = l(e.disableField), {
|
|
205
|
-
onMouseenterItem: u,
|
|
206
|
-
onMouseoverItem: c,
|
|
207
|
-
onMouseoutItem: o
|
|
208
|
-
} = m, {
|
|
209
|
-
getKey: w,
|
|
210
|
-
listViewItemClass: f,
|
|
211
|
-
onCheckItem: I,
|
|
212
|
-
onClickItem: H
|
|
213
|
-
} = a;
|
|
214
|
-
function T(p, k, b) {
|
|
215
|
-
return s.slots.content ? n(K, null, [s.slots.content && s.slots.content({
|
|
216
|
-
item: p,
|
|
217
|
-
index: k,
|
|
218
|
-
selectedItem: b
|
|
219
|
-
})]) : n("div", {
|
|
220
|
-
style: "margin: 10px 0;"
|
|
221
|
-
}, [p.name]);
|
|
222
|
-
}
|
|
223
|
-
function M(p, k, b) {
|
|
224
|
-
return n("li", {
|
|
225
|
-
class: f(p, k),
|
|
226
|
-
id: w(p, k),
|
|
227
|
-
key: w(p, k),
|
|
228
|
-
onClick: (V) => H(V, p, k),
|
|
229
|
-
onMouseenter: (V) => u(V, p, k),
|
|
230
|
-
onMouseover: (V) => c(V, p, k),
|
|
231
|
-
onMouseout: (V) => o(V, p, k)
|
|
232
|
-
}, [r.value && n("div", {
|
|
233
|
-
class: "f-list-select",
|
|
234
|
-
onClick: (V) => V.stopPropagation()
|
|
235
|
-
}, [n(j, {
|
|
236
|
-
id: "list-" + w(p, k),
|
|
237
|
-
disabled: p[v.value] || p.unClick,
|
|
238
|
-
checked: p.checked,
|
|
239
|
-
onChange: (V) => I(p, k)
|
|
240
|
-
}, null)]), n("div", {
|
|
241
|
-
class: "f-list-content"
|
|
242
|
-
}, [T(p, k, b)])]);
|
|
243
|
-
}
|
|
244
|
-
return {
|
|
245
|
-
renderItem: M
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
function le(e, s, i, d, m, a, t, h) {
|
|
249
|
-
const r = l(e.multiSelect), v = l(e.disableField), {
|
|
250
|
-
onMouseenterItem: u,
|
|
251
|
-
onMouseoverItem: c,
|
|
252
|
-
onMouseoutItem: o
|
|
253
|
-
} = m, {
|
|
254
|
-
getKey: w,
|
|
255
|
-
listViewItemClass: f,
|
|
256
|
-
onCheckItem: I,
|
|
257
|
-
onClickItem: H
|
|
258
|
-
} = a, {
|
|
259
|
-
dragstart: T,
|
|
260
|
-
dragenter: M,
|
|
261
|
-
dragover: p,
|
|
262
|
-
dragend: k
|
|
263
|
-
} = d, {
|
|
264
|
-
removeItem: b
|
|
265
|
-
} = h, V = D(() => ({
|
|
266
|
-
margin: r.value ? "10px 0" : "10px 0px 10px 14px"
|
|
267
|
-
}));
|
|
268
|
-
function _(g) {
|
|
269
|
-
return n("div", {
|
|
270
|
-
style: V.value
|
|
271
|
-
}, [g.name]);
|
|
272
|
-
}
|
|
273
|
-
function S() {
|
|
274
|
-
return s.slots.itemContent ? s.slots.itemContent : _;
|
|
275
|
-
}
|
|
276
|
-
const y = S();
|
|
277
|
-
function C(g, O, R) {
|
|
278
|
-
return n("li", {
|
|
279
|
-
class: f(g, O),
|
|
280
|
-
id: w(g, O),
|
|
281
|
-
key: w(g, O),
|
|
282
|
-
onClick: (F) => H(F, g, O),
|
|
283
|
-
onMouseenter: (F) => u(F, g, O),
|
|
284
|
-
onMouseover: (F) => c(F, g, O),
|
|
285
|
-
onMouseout: (F) => o(F, g, O),
|
|
286
|
-
draggable: "true",
|
|
287
|
-
onDragstart: (F) => T(F, g, O),
|
|
288
|
-
onDragenter: (F) => M(F, O),
|
|
289
|
-
onDragend: (F) => k(F, g),
|
|
290
|
-
onDragover: (F) => p(F, O)
|
|
291
|
-
}, [r.value && n("div", {
|
|
292
|
-
class: "f-list-select",
|
|
293
|
-
onClick: (F) => F.stopPropagation()
|
|
294
|
-
}, [n(j, {
|
|
295
|
-
id: "list-" + w(g, O),
|
|
296
|
-
disabled: g[v.value] || g.unClick,
|
|
297
|
-
checked: g.checked,
|
|
298
|
-
onChange: (F) => I(g, O)
|
|
299
|
-
}, null)]), n("div", {
|
|
300
|
-
class: "f-list-content"
|
|
301
|
-
}, [y(g)]), n("div", {
|
|
302
|
-
class: "f-list-remove",
|
|
303
|
-
onClick: (F) => b(O)
|
|
304
|
-
}, [n("div", {
|
|
305
|
-
class: "f-list-remove-icon"
|
|
306
|
-
}, [n("i", {
|
|
307
|
-
class: "f-icon f-icon-remove_face"
|
|
308
|
-
}, null)])]), n("div", {
|
|
309
|
-
class: "f-list-handle"
|
|
310
|
-
}, [n("div", null, [n("i", {
|
|
311
|
-
class: "f-icon f-icon-drag-vertical"
|
|
312
|
-
}, null)])])]);
|
|
313
|
-
}
|
|
314
|
-
return {
|
|
315
|
-
renderItem: C
|
|
316
|
-
};
|
|
317
|
-
}
|
|
318
|
-
function ae(e, s, i) {
|
|
319
|
-
function d() {
|
|
320
|
-
return s.slots.header && n("div", {
|
|
321
|
-
class: "f-list-view-header"
|
|
322
|
-
}, [s.slots.header()]);
|
|
323
|
-
}
|
|
324
|
-
return {
|
|
325
|
-
renderHeader: d
|
|
326
|
-
};
|
|
327
|
-
}
|
|
328
|
-
function E(e, s, i) {
|
|
329
|
-
const d = l(e.headerClass), m = l(e.placeholder), a = l(""), t = D(() => !a.value), h = D(() => !!a.value);
|
|
330
|
-
function r(o) {
|
|
331
|
-
a.value = "";
|
|
332
|
-
}
|
|
333
|
-
L(a, (o) => {
|
|
334
|
-
i.search(o);
|
|
335
|
-
});
|
|
336
|
-
const v = D(() => {
|
|
337
|
-
const o = {
|
|
338
|
-
"form-group": !0,
|
|
339
|
-
"farris-form-group": !0
|
|
340
|
-
};
|
|
341
|
-
return d.value && d.value.split(" ").reduce((f, I) => (f[I] = !0, f), o), o;
|
|
342
|
-
});
|
|
343
|
-
function u(o) {
|
|
344
|
-
}
|
|
345
|
-
function c() {
|
|
346
|
-
return n("div", {
|
|
347
|
-
class: "f-list-view-header",
|
|
348
|
-
onClick: X(u, ["prevent", "stop"])
|
|
349
|
-
}, [n("div", {
|
|
350
|
-
class: v.value
|
|
351
|
-
}, [n("div", {
|
|
352
|
-
class: "farris-input-wrap"
|
|
353
|
-
}, [n("div", {
|
|
354
|
-
class: "f-cmp-inputgroup"
|
|
355
|
-
}, [n("div", {
|
|
356
|
-
class: "input-group f-state-editable"
|
|
357
|
-
}, [$(n("input", {
|
|
358
|
-
class: "form-control f-utils-fill text-left",
|
|
359
|
-
"onUpdate:modelValue": (o) => a.value = o,
|
|
360
|
-
name: "input-group-value",
|
|
361
|
-
type: "text",
|
|
362
|
-
placeholder: m.value,
|
|
363
|
-
autocomplete: "off"
|
|
364
|
-
}, null), [[q, a.value]]), n("div", {
|
|
365
|
-
class: "input-group-append"
|
|
366
|
-
}, [h.value && n("span", {
|
|
367
|
-
class: "input-group-text input-group-clear",
|
|
368
|
-
onClick: (o) => r()
|
|
369
|
-
}, [n("i", {
|
|
370
|
-
class: "f-icon f-icon-close-circle"
|
|
371
|
-
}, null)]), t.value && n("span", {
|
|
372
|
-
class: "input-group-text"
|
|
373
|
-
}, [n("span", {
|
|
374
|
-
class: "f-icon f-icon-search"
|
|
375
|
-
}, null)])])])])])])]);
|
|
376
|
-
}
|
|
377
|
-
return {
|
|
378
|
-
renderHeader: c
|
|
379
|
-
};
|
|
380
|
-
}
|
|
381
|
-
function se(e, s) {
|
|
382
|
-
const i = l(e.idField), d = l(e.data), m = l(e.data), a = l(e.keepOrder);
|
|
383
|
-
function t() {
|
|
384
|
-
const v = d.value.map((u, c) => typeof u != "object" ? { __fv_index__: c, name: u } : (u.__fv_index__ = c, u));
|
|
385
|
-
return m.value = v, v;
|
|
386
|
-
}
|
|
387
|
-
const h = l(t());
|
|
388
|
-
L(
|
|
389
|
-
() => e.data,
|
|
390
|
-
(v) => {
|
|
391
|
-
if (a.value) {
|
|
392
|
-
const u = v.reduce((f, I) => (f.set(I.id, !0), f), /* @__PURE__ */ new Map()), c = d.value.reduce((f, I) => (f.set(I.id, !0), f), /* @__PURE__ */ new Map()), o = h.value.filter((f) => u.has(f.id)), w = v.filter((f) => !c.has(f.id));
|
|
393
|
-
d.value = [...o, ...w];
|
|
394
|
-
} else
|
|
395
|
-
d.value = v;
|
|
396
|
-
h.value = t();
|
|
397
|
-
}
|
|
398
|
-
);
|
|
399
|
-
function r(v) {
|
|
400
|
-
return v.map((c) => {
|
|
401
|
-
const o = m.value.findIndex((w) => w[i.value] === c);
|
|
402
|
-
return o > -1 ? m.value[o] : null;
|
|
403
|
-
}).filter((c) => c != null);
|
|
404
|
-
}
|
|
405
|
-
return {
|
|
406
|
-
dataView: h,
|
|
407
|
-
getSelectionItems: r
|
|
408
|
-
};
|
|
409
|
-
}
|
|
410
|
-
function oe(e, s, i, d) {
|
|
411
|
-
const m = l(e.idField), { dataView: a } = i, t = l(-1), h = l(!1), { activeIndex: r, focusedItemId: v, hoverIndex: u, resumeHover: c, suspendHover: o } = d;
|
|
412
|
-
function w(T, M, p) {
|
|
413
|
-
T.stopPropagation(), o(), M && setTimeout(() => {
|
|
414
|
-
t.value = p, h.value = !0, M.moving = !0;
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
function f(T, M) {
|
|
418
|
-
if (T.preventDefault(), t.value !== M) {
|
|
419
|
-
const p = a.value[t.value], k = a.value;
|
|
420
|
-
k.splice(t.value, 1), k.splice(M, 0, p), t.value = M;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
function I(T, M) {
|
|
424
|
-
T.preventDefault(), T.dataTransfer && (T.dataTransfer.dropEffect = "move");
|
|
425
|
-
}
|
|
426
|
-
function H(T, M) {
|
|
427
|
-
M && (M.moving = !1), a.value.forEach((p, k) => {
|
|
428
|
-
p.__fv_index__ = k;
|
|
429
|
-
}), h.value = !1, c(), u.value = M.__fv_index__, r.value = M.__fv_index__, v.value = M[m.value], s.emit("change", a.value);
|
|
430
|
-
}
|
|
431
|
-
return {
|
|
432
|
-
dragstart: w,
|
|
433
|
-
dragenter: f,
|
|
434
|
-
dragover: I,
|
|
435
|
-
dragend: H,
|
|
436
|
-
isDragging: h
|
|
437
|
-
};
|
|
438
|
-
}
|
|
439
|
-
function ie(e, s, i) {
|
|
440
|
-
const { dataView: d } = i;
|
|
441
|
-
function m(a) {
|
|
442
|
-
if (a > -1 && a < d.value.length) {
|
|
443
|
-
const t = d.value.splice(a, 1);
|
|
444
|
-
s.emit("removeItem", t[0]);
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
return { removeItem: m };
|
|
448
|
-
}
|
|
449
|
-
function ce() {
|
|
450
|
-
const e = l(-1), s = l(""), i = l(-1), d = l(!1);
|
|
451
|
-
function m(v, u, c) {
|
|
452
|
-
i.value = c;
|
|
453
|
-
}
|
|
454
|
-
function a(v, u, c) {
|
|
455
|
-
d.value || (i.value = c);
|
|
456
|
-
}
|
|
457
|
-
function t(v, u, c) {
|
|
458
|
-
i.value = -1;
|
|
459
|
-
}
|
|
460
|
-
function h() {
|
|
461
|
-
d.value = !0;
|
|
462
|
-
}
|
|
463
|
-
function r() {
|
|
464
|
-
d.value = !1;
|
|
465
|
-
}
|
|
466
|
-
return {
|
|
467
|
-
activeIndex: e,
|
|
468
|
-
focusedItemId: s,
|
|
469
|
-
hoverIndex: i,
|
|
470
|
-
onMouseenterItem: m,
|
|
471
|
-
onMouseoverItem: a,
|
|
472
|
-
onMouseoutItem: t,
|
|
473
|
-
resumeHover: r,
|
|
474
|
-
suspendHover: h
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
|
-
const N = /* @__PURE__ */ P({
|
|
478
|
-
name: "FListView",
|
|
479
|
-
props: Q,
|
|
480
|
-
emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change"],
|
|
481
|
-
setup(e, s) {
|
|
482
|
-
const i = l(), d = l(e.view), m = l(e.header), a = l(e.multiSelect), t = l(e.view === "CardView"), h = l(!0), r = l({}), v = l("暂无数据");
|
|
483
|
-
l(!0), l(!1), l("id");
|
|
484
|
-
const u = se(e), {
|
|
485
|
-
dataView: c
|
|
486
|
-
} = u, o = D(() => {
|
|
487
|
-
const x = {
|
|
488
|
-
"f-list-view": !0,
|
|
489
|
-
"f-list-view-multiple": a.value
|
|
490
|
-
};
|
|
491
|
-
return e.size !== "default" && (x[`${e.size}-item`] = !0), x;
|
|
492
|
-
}), w = D(() => ({
|
|
493
|
-
"f-list-view-group": !0,
|
|
494
|
-
"d-flex": t.value,
|
|
495
|
-
"flex-wrap": t.value
|
|
496
|
-
})), f = D(() => !!c.value && c.value.length > 0), I = ce(), H = Z(e, s, u), T = oe(e, s, u, I), M = ie(e, s, u), p = Y(e, s, T, I, H), k = ee(e, i), b = D(() => c.value.length === 0), V = D(() => b.value && !s.slots.empty), _ = D(() => !!s.slots.footer || h.value);
|
|
497
|
-
function S() {
|
|
498
|
-
return d.value === "SingleView" ? A : d.value === "DraggableView" ? le : d.value === "ContentView" && s.slots.content ? ne : A;
|
|
499
|
-
}
|
|
500
|
-
const y = S(), {
|
|
501
|
-
renderItem: C
|
|
502
|
-
} = y(e, s, u, T, I, p, H, M);
|
|
503
|
-
function g() {
|
|
504
|
-
return m.value === "SearchBar" ? E : m.value === "ContentHeader" ? ae : E;
|
|
505
|
-
}
|
|
506
|
-
const O = g(), {
|
|
507
|
-
renderHeader: R
|
|
508
|
-
} = O(e, s, k);
|
|
509
|
-
function F(x) {
|
|
510
|
-
k.search(x);
|
|
511
|
-
}
|
|
512
|
-
s.expose({
|
|
513
|
-
search: F
|
|
514
|
-
});
|
|
515
|
-
function G(x) {
|
|
516
|
-
a.value && (x.preventDefault(), x.stopPropagation());
|
|
517
|
-
}
|
|
518
|
-
return () => n("div", {
|
|
519
|
-
class: o.value,
|
|
520
|
-
onClick: G
|
|
521
|
-
}, [R(), n("div", {
|
|
522
|
-
ref: i,
|
|
523
|
-
class: "f-list-view-content"
|
|
524
|
-
}, [n("ul", {
|
|
525
|
-
class: w.value,
|
|
526
|
-
style: "list-style: none;"
|
|
527
|
-
}, [f.value && c.value.map((x, U) => C(x, U, r)), V.value && n("div", {
|
|
528
|
-
class: "f-list-view-emptydata"
|
|
529
|
-
}, [n("p", {
|
|
530
|
-
class: "f-empty-title"
|
|
531
|
-
}, [v.value])]), s.slots.empty && s.slots.empty()])]), _.value && n("div", {
|
|
532
|
-
class: "f-list-view-footer"
|
|
533
|
-
}, [s.slots.footer && s.slots.footer()])]);
|
|
534
|
-
}
|
|
535
|
-
});
|
|
536
|
-
const z = /* @__PURE__ */ P({
|
|
537
|
-
name: "FTransfer",
|
|
538
|
-
props: J,
|
|
539
|
-
emits: ["change"],
|
|
540
|
-
setup(e, s) {
|
|
541
|
-
const i = l(e.identifyField), d = l("已选:"), m = l("项数据"), a = l(e.displayType), t = l(!1), h = l(e.dataSource), r = l(e.selections || []), v = D(() => r.value.map((_) => _[i.value])), u = /* @__PURE__ */ new Map();
|
|
542
|
-
function c() {
|
|
543
|
-
const _ = /* @__PURE__ */ new Map(), S = e.selectionValues || [];
|
|
544
|
-
S.length && S.reduce((C, g) => (C.set(g, !0), C), _);
|
|
545
|
-
const y = e.selections || [];
|
|
546
|
-
y.length && (_.clear(), y.reduce((C, g) => (C.set(g[i.value], !0), C), _)), r.value.length || (r.value = h.value.filter((C) => _.has(C[i.value])).map((C) => Object.assign({}, C))), h.value.forEach((C) => {
|
|
547
|
-
const g = C[i.value], O = _.has(g);
|
|
548
|
-
C.checked = O, O && u.set(g, C);
|
|
549
|
-
});
|
|
550
|
-
}
|
|
551
|
-
c();
|
|
552
|
-
const o = D(() => a.value === "List"), w = D(() => a.value === "Tree");
|
|
553
|
-
function f(_) {
|
|
554
|
-
r.value = _.map((S) => Object.assign({}, S)), s.emit("change", r.value);
|
|
555
|
-
}
|
|
556
|
-
function I() {
|
|
557
|
-
return n(N, {
|
|
558
|
-
class: "f-utils-fill",
|
|
559
|
-
data: h.value,
|
|
560
|
-
"multi-select": !0,
|
|
561
|
-
draggable: !1,
|
|
562
|
-
header: "Search",
|
|
563
|
-
headerClass: "transfer-search-box",
|
|
564
|
-
"selection-values": v.value,
|
|
565
|
-
onSelectionChange: f
|
|
566
|
-
}, {
|
|
567
|
-
default: () => [B(" ")]
|
|
568
|
-
});
|
|
569
|
-
}
|
|
570
|
-
function H() {
|
|
571
|
-
return n(K, null, null);
|
|
572
|
-
}
|
|
573
|
-
function T() {
|
|
574
|
-
return n("div", {
|
|
575
|
-
class: "f-utils-fill option-pane d-flex flex-column"
|
|
576
|
-
}, [n("div", {
|
|
577
|
-
class: "f-utils-flex-column option-pane-content f-utils-fill"
|
|
578
|
-
}, [n("div", {
|
|
579
|
-
class: "container columns-box d-flex f-utils-fill"
|
|
580
|
-
}, [o.value && I(), w.value && H()])])]);
|
|
581
|
-
}
|
|
582
|
-
function M(_) {
|
|
583
|
-
const S = _[i.value];
|
|
584
|
-
if (S !== null || S !== void 0) {
|
|
585
|
-
r.value = r.value.filter((C) => C[i.value] !== S);
|
|
586
|
-
const y = u.get(S);
|
|
587
|
-
y && (y.checked = !1, u.delete(S)), s.emit("change", r.value);
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
function p(_) {
|
|
591
|
-
const S = /* @__PURE__ */ new Map();
|
|
592
|
-
r.value.reduce((y, C) => (y.set(C[i.value], C), y), S), r.value = _.map((y) => S.get(y[i.value])), s.emit("change", r.value);
|
|
593
|
-
}
|
|
594
|
-
function k() {
|
|
595
|
-
return n(N, {
|
|
596
|
-
style: "flex:1",
|
|
597
|
-
data: r.value,
|
|
598
|
-
draggable: !0,
|
|
599
|
-
view: "DraggableView",
|
|
600
|
-
"keep-order": !0,
|
|
601
|
-
onChange: p,
|
|
602
|
-
onRemoveItem: M
|
|
603
|
-
}, {
|
|
604
|
-
default: () => [B(" ")]
|
|
605
|
-
});
|
|
606
|
-
}
|
|
607
|
-
function b() {
|
|
608
|
-
return n("div", {
|
|
609
|
-
class: "f-utils-fill selection-pane d-flex flex-column"
|
|
610
|
-
}, [n("div", {
|
|
611
|
-
class: "f-utils-flex-column selection-pane-content f-utils-fill"
|
|
612
|
-
}, [n("div", {
|
|
613
|
-
class: "selection-pane-title"
|
|
614
|
-
}, [n("span", {
|
|
615
|
-
class: "selection-title"
|
|
616
|
-
}, [d.value]), n("span", {
|
|
617
|
-
class: "selection-count"
|
|
618
|
-
}, [r.value && r.value.length]), n("span", {
|
|
619
|
-
class: "selection-item-title"
|
|
620
|
-
}, [m.value])]), n("div", {
|
|
621
|
-
class: "container columns-box f-utils-fill d-flex"
|
|
622
|
-
}, [k()])])]);
|
|
623
|
-
}
|
|
624
|
-
const V = D(() => ({
|
|
625
|
-
transfer: !0,
|
|
626
|
-
row: !0,
|
|
627
|
-
"f-utils-fill": t.value
|
|
628
|
-
}));
|
|
629
|
-
return () => n("div", {
|
|
630
|
-
class: V.value
|
|
631
|
-
}, [T(), b()]);
|
|
632
|
-
}
|
|
633
|
-
}), re = {
|
|
634
|
-
install(e) {
|
|
635
|
-
e.component(z.name, z);
|
|
636
|
-
}
|
|
637
|
-
};
|
|
638
|
-
export {
|
|
639
|
-
z as Transfer,
|
|
640
|
-
re as default,
|
|
641
|
-
J as transferProps
|
|
642
|
-
};
|
package/transfer/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(D,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(D=typeof globalThis<"u"?globalThis:D||self,e(D.transfer={},D.Vue))})(this,function(D,e){"use strict";const R={dataSource:{type:Array,default:[]},displayType:{type:String,default:"List"},enableSearch:{type:Boolean,default:!0},identifyField:{type:String,default:"id"},placeholder:{type:String,default:""},selections:{type:Array,default:[]},selectionValues:{type:Array,default:[]}},A={data:{type:Array,default:[]},draggable:{type:Boolean,default:!1},multiSelect:{Type:Boolean,default:!1},multiSelectMode:{Type:String,default:"OnCheck"},idField:{Type:String,default:"id"},valueField:{Type:String,default:"id"},textField:{Type:String,default:"name"},view:{Type:String,default:"ContentView"},size:{Type:String,default:"default"},placeholder:{type:String,default:""},header:{Type:String,default:"ContentHeader"},headerClass:{Type:String,default:""},itemClass:{Type:String,default:""},selectionValues:{type:Array,default:[]},keepOrder:{type:Boolean,default:!1},disableField:{type:String,default:"disabled"}};function E(t,a,s,u,h){const l=e.ref(t.idField),n=e.ref(t.disableField),g=e.ref(t.draggable),i=e.ref(t.itemClass),f=e.ref(t.multiSelect),r=e.ref(t.multiSelectMode);e.ref(!0);const{isDragging:c}=s,{activeIndex:o,focusedItemId:y,hoverIndex:d}=u,{clearSelection:C,selectedItems:_,toggleSelectItem:M}=h;function b(I,v){const m={"f-list-view-group-item":!0,"f-list-view-draggable-item":g.value,"f-un-click":!!I.unClick,"f-un-select":!!I[n.value],"f-listview-active":I.__fv_index__===o.value,"f-listview-hover":!c.value&&v===d.value,moving:!!I.moving};return i.value.split(" ").reduce((H,N)=>(H[N]=!0,H),m),m}function p(I,v){return I[l.value]||""}const S=e.computed(()=>!f.value);function w(I,v){I.unClick||I[n.value]||(S.value&&(y.value=I[l.value]),M(I,v))}const k=e.computed(()=>f.value&&r.value==="OnCheckClearByClick"),F=e.computed(()=>!f.value||f.value&&(r.value==="OnCheckAndClick"||r.value==="OnClick"));function V(I,v,m){if(v.unClick||v[n.value]){I.preventDefault(),I.stopPropagation();return}y.value=v[l.value],o.value=m,k.value&&C(),F.value&&M(v,m),a.emit("clickItem",{data:_.value,index:m})}return{getKey:p,listViewItemClass:b,onCheckItem:w,onClickItem:V}}function z(t,a,s){const u=e.ref(t.idField),h=e.ref(t.multiSelect);e.ref(t.multiSelectMode);const{getSelectionItems:l}=s,n=e.ref(l(t.selectionValues));e.watch(()=>t.selectionValues,o=>{n.value=e.ref(l(o)).value});const g=e.computed(()=>!h.value);function i(o){return o[u.value]||""}function f(o){return n.value.findIndex(d=>i(d)===i(o))}function r(){n.value.forEach(o=>{o.checked=!1}),n.value=[]}function c(o,y){g.value&&r();const d=f(o);d>-1?(n.value.splice(d,1),o.checked=!1):(n.value.push(o),o.checked=!0),a.emit("selectionChange",n.value)}return{clearSelection:r,findIndexInSelectedItems:f,selectedItems:n,toggleSelectItem:c}}function $(t,a){function s(l){const n=[];let g=l.nextNode();for(;g;)n.push(g),g=l.nextNode();return n}function u(l,n){const g=document.createTreeWalker(l,NodeFilter.SHOW_TEXT);return s(g).map(c=>({textNode:c,text:(c.textContent||"").toLocaleLowerCase()})).map(({textNode:c,text:o})=>{const y=[];let d=0;for(;d<o.length;){const C=o.indexOf(n,d);if(C===-1)break;y.push(C),d=C+n.length}return y.map(C=>{const _=new Range;return _.setStart(c,C),_.setEnd(c,C+n.length),_})}).flat()}function h(l){if(!CSS.highlights||(CSS.highlights.clear(),!l||!a))return;const n=u(a.value,l.toLocaleLowerCase()),g=new Highlight(...n);CSS.highlights.set("search-result",g)}return{search:h}}const K={checked:{Type:Boolean,default:!1},id:{Type:String,default:""},disabled:{Type:Boolean,default:!1},modelValue:{Type:Boolean,default:!1}},x=e.defineComponent({name:"FListViewCheckBox",props:K,emits:["change","update:modelValue"],setup(t,a){const s=e.ref(t.checked),u=e.ref(t.disabled),h=e.ref(t.id);function l(n){n.stopPropagation(),n.preventDefault(),u.value||(s.value=!s.value,a.emit("change",{originalEvent:n,checked:s.value}))}return e.watch(()=>t.checked,n=>{s.value=n}),()=>e.createVNode("div",{class:"custom-control custom-checkbox custom-control-inline listview-checkbox"},[e.withDirectives(e.createVNode("input",{id:h.value,title:h.value,type:"checkbox",class:"custom-control-input","onUpdate:modelValue":n=>s.value=n,onChange:n=>console.log(n)},null),[[e.vModelCheckbox,s.value]]),e.createVNode("label",{for:h.value,class:"custom-control-label",onClick:n=>l(n)},null)])}});function j(t,a,s,u,h,l,n,g){const i=e.ref(t.size),f=e.ref(t.textField),r=e.ref(t.multiSelect),c=e.ref(t.disableField),{onMouseenterItem:o,onMouseoverItem:y,onMouseoutItem:d}=h,{getKey:C,listViewItemClass:_,onCheckItem:M,onClickItem:b}=l,p=e.computed(()=>({margin:i.value==="small"?"0.25rem 0":"10px 0"}));function S(w,k,F){return w.checked=n.findIndexInSelectedItems(w)>-1,e.createVNode("li",{class:_(w,k),id:C(w,k),key:C(w,k),onClick:V=>b(V,w,k),onMouseenter:V=>o(V,w,k),onMouseover:V=>y(V,w,k),onMouseout:V=>d(V,w,k)},[r.value&&e.createVNode("div",{class:"f-list-select",onClick:V=>V.stopPropagation()},[e.createVNode(x,{id:"list-"+C(w,k),disabled:w[c.value]||w.unClick,checked:w.checked,onChange:V=>M(w,k)},null)]),e.createVNode("div",{class:"f-list-content"},[e.createVNode("div",{style:p.value},[w[f.value]])])])}return{renderItem:S}}function G(t,a,s,u,h,l,n,g){const i=e.ref(t.multiSelect),f=e.ref(t.disableField),{onMouseenterItem:r,onMouseoverItem:c,onMouseoutItem:o}=h,{getKey:y,listViewItemClass:d,onCheckItem:C,onClickItem:_}=l;function M(p,S,w){return a.slots.content?e.createVNode(e.Fragment,null,[a.slots.content&&a.slots.content({item:p,index:S,selectedItem:w})]):e.createVNode("div",{style:"margin: 10px 0;"},[p.name])}function b(p,S,w){return e.createVNode("li",{class:d(p,S),id:y(p,S),key:y(p,S),onClick:k=>_(k,p,S),onMouseenter:k=>r(k,p,S),onMouseover:k=>c(k,p,S),onMouseout:k=>o(k,p,S)},[i.value&&e.createVNode("div",{class:"f-list-select",onClick:k=>k.stopPropagation()},[e.createVNode(x,{id:"list-"+y(p,S),disabled:p[f.value]||p.unClick,checked:p.checked,onChange:k=>C(p,S)},null)]),e.createVNode("div",{class:"f-list-content"},[M(p,S,w)])])}return{renderItem:b}}function U(t,a,s,u,h,l,n,g){const i=e.ref(t.multiSelect),f=e.ref(t.disableField),{onMouseenterItem:r,onMouseoverItem:c,onMouseoutItem:o}=h,{getKey:y,listViewItemClass:d,onCheckItem:C,onClickItem:_}=l,{dragstart:M,dragenter:b,dragover:p,dragend:S}=u,{removeItem:w}=g,k=e.computed(()=>({margin:i.value?"10px 0":"10px 0px 10px 14px"}));function F(m){return e.createVNode("div",{style:k.value},[m.name])}function V(){return a.slots.itemContent?a.slots.itemContent:F}const I=V();function v(m,T,H){return e.createVNode("li",{class:d(m,T),id:y(m,T),key:y(m,T),onClick:N=>_(N,m,T),onMouseenter:N=>r(N,m,T),onMouseover:N=>c(N,m,T),onMouseout:N=>o(N,m,T),draggable:"true",onDragstart:N=>M(N,m,T),onDragenter:N=>b(N,T),onDragend:N=>S(N,m),onDragover:N=>p(N,T)},[i.value&&e.createVNode("div",{class:"f-list-select",onClick:N=>N.stopPropagation()},[e.createVNode(x,{id:"list-"+y(m,T),disabled:m[f.value]||m.unClick,checked:m.checked,onChange:N=>C(m,T)},null)]),e.createVNode("div",{class:"f-list-content"},[I(m)]),e.createVNode("div",{class:"f-list-remove",onClick:N=>w(T)},[e.createVNode("div",{class:"f-list-remove-icon"},[e.createVNode("i",{class:"f-icon f-icon-remove_face"},null)])]),e.createVNode("div",{class:"f-list-handle"},[e.createVNode("div",null,[e.createVNode("i",{class:"f-icon f-icon-drag-vertical"},null)])])])}return{renderItem:v}}function W(t,a,s){function u(){return a.slots.header&&e.createVNode("div",{class:"f-list-view-header"},[a.slots.header()])}return{renderHeader:u}}function L(t,a,s){const u=e.ref(t.headerClass),h=e.ref(t.placeholder),l=e.ref(""),n=e.computed(()=>!l.value),g=e.computed(()=>!!l.value);function i(o){l.value=""}e.watch(l,o=>{s.search(o)});const f=e.computed(()=>{const o={"form-group":!0,"farris-form-group":!0};return u.value&&u.value.split(" ").reduce((d,C)=>(d[C]=!0,d),o),o});function r(o){}function c(){return e.createVNode("div",{class:"f-list-view-header",onClick:e.withModifiers(r,["prevent","stop"])},[e.createVNode("div",{class:f.value},[e.createVNode("div",{class:"farris-input-wrap"},[e.createVNode("div",{class:"f-cmp-inputgroup"},[e.createVNode("div",{class:"input-group f-state-editable"},[e.withDirectives(e.createVNode("input",{class:"form-control f-utils-fill text-left","onUpdate:modelValue":o=>l.value=o,name:"input-group-value",type:"text",placeholder:h.value,autocomplete:"off"},null),[[e.vModelText,l.value]]),e.createVNode("div",{class:"input-group-append"},[g.value&&e.createVNode("span",{class:"input-group-text input-group-clear",onClick:o=>i()},[e.createVNode("i",{class:"f-icon f-icon-close-circle"},null)]),n.value&&e.createVNode("span",{class:"input-group-text"},[e.createVNode("span",{class:"f-icon f-icon-search"},null)])])])])])])])}return{renderHeader:c}}const te="";function q(t,a){const s=e.ref(t.idField),u=e.ref(t.data),h=e.ref(t.data),l=e.ref(t.keepOrder);function n(){const f=u.value.map((r,c)=>typeof r!="object"?{__fv_index__:c,name:r}:(r.__fv_index__=c,r));return h.value=f,f}const g=e.ref(n());e.watch(()=>t.data,f=>{if(l.value){const r=f.reduce((d,C)=>(d.set(C.id,!0),d),new Map),c=u.value.reduce((d,C)=>(d.set(C.id,!0),d),new Map),o=g.value.filter(d=>r.has(d.id)),y=f.filter(d=>!c.has(d.id));u.value=[...o,...y]}else u.value=f;g.value=n()});function i(f){return f.map(c=>{const o=h.value.findIndex(y=>y[s.value]===c);return o>-1?h.value[o]:null}).filter(c=>c!=null)}return{dataView:g,getSelectionItems:i}}function X(t,a,s,u){const h=e.ref(t.idField),{dataView:l}=s,n=e.ref(-1),g=e.ref(!1),{activeIndex:i,focusedItemId:f,hoverIndex:r,resumeHover:c,suspendHover:o}=u;function y(M,b,p){M.stopPropagation(),o(),b&&setTimeout(()=>{n.value=p,g.value=!0,b.moving=!0})}function d(M,b){if(M.preventDefault(),n.value!==b){const p=l.value[n.value],S=l.value;S.splice(n.value,1),S.splice(b,0,p),n.value=b}}function C(M,b){M.preventDefault(),M.dataTransfer&&(M.dataTransfer.dropEffect="move")}function _(M,b){b&&(b.moving=!1),l.value.forEach((p,S)=>{p.__fv_index__=S}),g.value=!1,c(),r.value=b.__fv_index__,i.value=b.__fv_index__,f.value=b[h.value],a.emit("change",l.value)}return{dragstart:y,dragenter:d,dragover:C,dragend:_,isDragging:g}}function J(t,a,s){const{dataView:u}=s;function h(l){if(l>-1&&l<u.value.length){const n=u.value.splice(l,1);a.emit("removeItem",n[0])}}return{removeItem:h}}function Q(){const t=e.ref(-1),a=e.ref(""),s=e.ref(-1),u=e.ref(!1);function h(f,r,c){s.value=c}function l(f,r,c){u.value||(s.value=c)}function n(f,r,c){s.value=-1}function g(){u.value=!0}function i(){u.value=!1}return{activeIndex:t,focusedItemId:a,hoverIndex:s,onMouseenterItem:h,onMouseoverItem:l,onMouseoutItem:n,resumeHover:i,suspendHover:g}}const B=e.defineComponent({name:"FListView",props:A,emits:["checkValuesChange","clickItem","selectionChange","removeItem","change"],setup(t,a){const s=e.ref(),u=e.ref(t.view),h=e.ref(t.header),l=e.ref(t.multiSelect),n=e.ref(t.view==="CardView"),g=e.ref(!0),i=e.ref({}),f=e.ref("暂无数据");e.ref(!0),e.ref(!1),e.ref("id");const r=q(t),{dataView:c}=r,o=e.computed(()=>{const O={"f-list-view":!0,"f-list-view-multiple":l.value};return t.size!=="default"&&(O[`${t.size}-item`]=!0),O}),y=e.computed(()=>({"f-list-view-group":!0,"d-flex":n.value,"flex-wrap":n.value})),d=e.computed(()=>!!c.value&&c.value.length>0),C=Q(),_=z(t,a,r),M=X(t,a,r,C),b=J(t,a,r),p=E(t,a,M,C,_),S=$(t,s),w=e.computed(()=>c.value.length===0),k=e.computed(()=>w.value&&!a.slots.empty),F=e.computed(()=>!!a.slots.footer||g.value);function V(){return u.value==="SingleView"?j:u.value==="DraggableView"?U:u.value==="ContentView"&&a.slots.content?G:j}const I=V(),{renderItem:v}=I(t,a,r,M,C,p,_,b);function m(){return h.value==="SearchBar"?L:h.value==="ContentHeader"?W:L}const T=m(),{renderHeader:H}=T(t,a,S);function N(O){S.search(O)}a.expose({search:N});function Z(O){l.value&&(O.preventDefault(),O.stopPropagation())}return()=>e.createVNode("div",{class:o.value,onClick:Z},[H(),e.createVNode("div",{ref:s,class:"f-list-view-content"},[e.createVNode("ul",{class:y.value,style:"list-style: none;"},[d.value&&c.value.map((O,ee)=>v(O,ee,i)),k.value&&e.createVNode("div",{class:"f-list-view-emptydata"},[e.createVNode("p",{class:"f-empty-title"},[f.value])]),a.slots.empty&&a.slots.empty()])]),F.value&&e.createVNode("div",{class:"f-list-view-footer"},[a.slots.footer&&a.slots.footer()])])}}),ne="",P=e.defineComponent({name:"FTransfer",props:R,emits:["change"],setup(t,a){const s=e.ref(t.identifyField),u=e.ref("已选:"),h=e.ref("项数据"),l=e.ref(t.displayType),n=e.ref(!1),g=e.ref(t.dataSource),i=e.ref(t.selections||[]),f=e.computed(()=>i.value.map(F=>F[s.value])),r=new Map;function c(){const F=new Map,V=t.selectionValues||[];V.length&&V.reduce((v,m)=>(v.set(m,!0),v),F);const I=t.selections||[];I.length&&(F.clear(),I.reduce((v,m)=>(v.set(m[s.value],!0),v),F)),i.value.length||(i.value=g.value.filter(v=>F.has(v[s.value])).map(v=>Object.assign({},v))),g.value.forEach(v=>{const m=v[s.value],T=F.has(m);v.checked=T,T&&r.set(m,v)})}c();const o=e.computed(()=>l.value==="List"),y=e.computed(()=>l.value==="Tree");function d(F){i.value=F.map(V=>Object.assign({},V)),a.emit("change",i.value)}function C(){return e.createVNode(B,{class:"f-utils-fill",data:g.value,"multi-select":!0,draggable:!1,header:"Search",headerClass:"transfer-search-box","selection-values":f.value,onSelectionChange:d},{default:()=>[e.createTextVNode(" ")]})}function _(){return e.createVNode(e.Fragment,null,null)}function M(){return e.createVNode("div",{class:"f-utils-fill option-pane d-flex flex-column"},[e.createVNode("div",{class:"f-utils-flex-column option-pane-content f-utils-fill"},[e.createVNode("div",{class:"container columns-box d-flex f-utils-fill"},[o.value&&C(),y.value&&_()])])])}function b(F){const V=F[s.value];if(V!==null||V!==void 0){i.value=i.value.filter(v=>v[s.value]!==V);const I=r.get(V);I&&(I.checked=!1,r.delete(V)),a.emit("change",i.value)}}function p(F){const V=new Map;i.value.reduce((I,v)=>(I.set(v[s.value],v),I),V),i.value=F.map(I=>V.get(I[s.value])),a.emit("change",i.value)}function S(){return e.createVNode(B,{style:"flex:1",data:i.value,draggable:!0,view:"DraggableView","keep-order":!0,onChange:p,onRemoveItem:b},{default:()=>[e.createTextVNode(" ")]})}function w(){return e.createVNode("div",{class:"f-utils-fill selection-pane d-flex flex-column"},[e.createVNode("div",{class:"f-utils-flex-column selection-pane-content f-utils-fill"},[e.createVNode("div",{class:"selection-pane-title"},[e.createVNode("span",{class:"selection-title"},[u.value]),e.createVNode("span",{class:"selection-count"},[i.value&&i.value.length]),e.createVNode("span",{class:"selection-item-title"},[h.value])]),e.createVNode("div",{class:"container columns-box f-utils-fill d-flex"},[S()])])])}const k=e.computed(()=>({transfer:!0,row:!0,"f-utils-fill":n.value}));return()=>e.createVNode("div",{class:k.value},[M(),w()])}}),Y={install(t){t.component(P.name,P)}};D.Transfer=P,D.default=Y,D.transferProps=R,Object.defineProperties(D,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/transfer/package.json
DELETED
package/transfer/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.f-listview-fill{flex-grow:1;flex-shrink:1;flex-basis:0;overflow:hidden}.f-listview-fill .f-list-view{height:100%}.f-listview-fill .f-list-view .f-list-view-header,.f-listview-fill .f-list-view .f-list-view-footer{flex-shrink:0}.f-listview-fill .f-list-view .f-list-view-content{overflow-y:auto;flex-grow:1;flex-shrink:1;flex-basis:0}.f-list-view{display:flex;flex-direction:column;overflow:hidden}.f-list-view .f-list-view-content{flex:1;overflow:auto}.f-list-view .f-list-view-group{padding:0}.f-list-view .f-paging-wrapper{padding:14px 0}.f-list-view-group-item{display:flex;align-items:center;float:none;text-align:initial}.f-list-view-group-item.f-none-border{border-bottom:0}.f-list-view-group-item.f-listview-hover,.f-list-view-group-item.f-listview-active{cursor:pointer;color:#424347;background:#edf5ff!important}.f-list-view-group-item.f-listview-active{border-color:#529dff}.f-list-view-group-item.f-un-select{color:#848c9a}.f-list-view-group-item .f-list-content{flex:1 1 auto;width:100%}.f-list-view-draggable-item{border:1px solid;border-color:#e2e3e5;background-color:#fafbfd;border-radius:10px;margin:4px 2px}.f-list-view-draggable-item.f-listview-hover{cursor:pointer;color:#424347;background:#edf5ff!important}.f-list-view-draggable-item.f-listview-hover .f-list-remove-icon{display:initial}.f-list-view-draggable-item.f-listview-active{border-color:#529dff}.f-list-view-draggable-item.moving{opacity:0}.f-list-select{padding:0 0 0 14px}.f-list-select .listview-checkbox{margin:.25rem 0}.f-list-pin{color:#2986ff;padding:0 14px 0 0}.f-list-remove{width:30px;color:#f4625f;padding:0 14px 0 0}.f-list-remove-icon{display:none}.f-list-handle{padding:0 14px 0 0}.f-list-view-emptydata .f-empty-title{font-size:14px;line-height:22px;color:#999;padding:20px 0;text-align:center}.f-list-view.small-item .f-list-select{padding:initial}::highlight(search-result){background-color:#f06;color:#fff}.transfer{padding:.125rem}.transfer .option-pane{border:1px solid #e6e9f0;border-radius:10px 0 0 10px;background-color:#fff;padding:0}.transfer-search-box{margin:.875rem .875rem .25rem}.transfer .transfer-search-box .f-cmp-inputgroup .input-group{border-radius:6px}.transfer .transfer-search-box .f-cmp-inputgroup .input-group>.form-control:not(:last-child){border-radius:6px}.transfer .transfer-search-box .f-cmp-inputgroup .input-group>.input-group-append{border-radius:0 6px 6px 0}.transfer .transfer-search-box .f-cmp-inputgroup .input-group>.input-group-append>.input-group-clear{border-radius:6px!important}.transfer .option-pane-content .columns-box{padding:0}.transfer .option-pane .option-pane-group{padding:.375rem 0}.transfer .option-pane .option-pane-group-item{padding:.25rem .875rem;line-height:1.25rem;cursor:default;margin:0;border-radius:0}.transfer .option-pane .option-pane-group-item .custom-checkbox{padding:0;margin:0;width:100%;overflow:hidden}.transfer .option-pane .option-pane-group-item .custom-control-label{color:#2d2f33;padding-left:1.375rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transfer .selection-pane{border:1px solid #e6e9f0;border-radius:0 10px 10px 0;border-left-color:transparent;background-color:#fff;padding:0}.transfer .selection-pane .selection-pane-title{margin:.875rem .875rem .375rem;font-size:14px;display:flex;line-height:1.5rem}.transfer .selection-pane .selection-pane-title>.selection-count{font-size:18px;margin:0 .25rem}.transfer .selection-pane .selection-pane-title>.selection-title-action{font-size:13px;color:#2a87ff;flex:1;text-align:right}.transfer .selection-pane .selection-pane-title>.selection-title-action>i{margin:0 .5rem}
|