@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/tabs/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(I,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(I=typeof globalThis<"u"?globalThis:I||self,e(I.tabs={},I.Vue))})(this,function(I,e){"use strict";var Je=Object.defineProperty;var Qe=(I,e,A)=>e in I?Je(I,e,{enumerable:!0,configurable:!0,writable:!0,value:A}):I[e]=A;var B=(I,e,A)=>(Qe(I,typeof e!="symbol"?e+"":e,A),A);const A={};function X(t){const{properties:n}=t;return Object.keys(n).reduce((s,a)=>(s[a]=n[a].type==="object"&&n[a].properties?X(n[a]):n[a].default,s),{})}function Te(t){const n=A[t];return n?X(n):null}function Ne(t,n){const o=X(n);return Object.keys(t).reduce((s,a)=>(s[a]=t[a],s),o),o}function Se(t,n){return Object.keys(t).filter(s=>t[s]!=null).reduce((s,a)=>{if(n.has(a)){const b=n.get(a);if(typeof b=="string")s[b]=t[a];else{const i=b(a,t[a]);Object.assign(s,i)}}else s[a]=t[a];return s},{})}function xe(t,n,o=new Map){const s=Ne(t,n);return Se(s,o)}function Y(t,n,o=new Map){return A[n.title]=n,s=>{const a=xe(s,n,o),b=Object.keys(t).reduce((i,g)=>(i[g]=t[g].default,i),{});return Object.assign(b,a)}}function ae(t,n){return{customClass:n.class}}const le=new Map([["appearance",ae]]),Ve={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://farris-design.gitee.io/tabs.schema.json",title:"tabs",description:"A Farris Container Component",type:"object",properties:{id:{description:"The unique identifier for a Tabs",type:"string"},type:{description:"The type string of Tabs component",type:"string",default:"tabs"},appearance:{description:"",type:"object",properties:{class:{type:"string"},style:{type:"string"}},default:{}},contents:{description:"",type:"array",default:[]}},required:["id","type","contents"]},F={tabType:{type:String,default:"default"},autoTitleWidth:{type:Boolean,default:!1},titleLength:{type:Number,default:7},position:{type:String,default:"top"},showDropDwon:{type:Boolean,default:!1},showTooltips:{type:Boolean,default:!1},scrollStep:{type:Number,default:10},autoResize:{type:Boolean,default:!1},closeable:{type:Boolean,default:!1},selectedTab:{type:String,default:""},width:{type:Number},height:{type:Number},searchBoxVisible:{type:Boolean,default:!0},titleWidth:{type:Number,default:0},customClass:{type:String,default:""},activeId:{type:String},fill:{type:Boolean,default:!1},justifyContent:{type:String,default:"left"}},Z=Y(F,Ve,le),ot="";function re(t,n,o){const s=e.ref([]),a=e.ref(t.activeId||""),b=e.ref(!0),i=e.ref([]);function g(p){const d=p.value.findIndex(u=>u.props.show!==!1&&!a.value&&!u.props.disabled);!a.value&&d!==-1&&(a.value=p.value[d].props.id)}function C(p){var u;if(t.autoTitleWidth)return;const d=(u=p.value)==null?void 0:u.querySelectorAll(".st-tab-text");if(d)for(let m=0;m<d.length;m++){const N=d[m].parentNode;d[m].scrollWidth>N.offsetWidth?d[m].classList.contains("farris-title-text-custom")||d[m].classList.add("farris-title-text-custom"):d[m].classList.remove("farris-title-text-custom")}}const c=p=>{p.preventDefault(),p.stopPropagation()};function r(p,d,u=!1){s.value.findIndex(m=>m.props.id===d),s.value=s.value.filter(m=>m.props.id!==d),a.value===d&&(a.value="",g(s)),c(p),e.nextTick(()=>{C(o),u&&(b.value=!0);const m=s.value.findIndex(N=>N.props.id===a.value);n.emit("tabRemove",{removeIndex:m,removeId:d,activeId:a.value})})}function l(p){const d=a.value;a.value=p;const u=s.value.find(m=>m.props.id===p);u&&u.props.toolbar&&u.props.toolbar.contents&&u.props.toolbar.contents.length&&(i.value=[...u.props.toolbar.contents]),n.emit("tabChange",{prevId:d,nextId:a.value})}function h(p){l(p)}function f(p){s.value.findIndex(u=>u.props.id===p.props.id)===-1&&s.value.push(p)}function v(p){s.value.findIndex(u=>u.props.id===p.props.id)!==-1&&(s.value.forEach(u=>{u.props.id===p.props.id&&(u=p)}),e.nextTick(()=>{C(o)}))}return{activeId:a,addTab:f,changeTitleStyle:C,removeTab:r,selectTab:h,selectTabByTabId:l,tabPages:s,updateTab:v,toolbarItems:i}}function je(t,n,o,s,a){const{activeId:b,removeTab:i,selectTab:g}=a,C=e.computed(()=>({"st-tab-text":!0,"farris-title-auto":t.autoTitleWidth})),c=e.computed(()=>({"nav-item":!0,"d-none":n.show!==void 0?!n.show:!1,"f-state-active":n.id===b.value,"f-state-disable":n.disabled})),r=e.computed(()=>({width:`${n.tabWidth}px`})),l=e.computed(()=>({"nav-link":!0,"tabs-text-truncate":!0,active:n.id===b.value,disabled:n.disabled}));function h(m){return e.createVNode("span",{class:C.value,title:m.title},[m.title])}function f(m){return m.slots.title?m.slots.title:h}const v=f(o),p=e.ref(n.removeable);function d(){return e.createVNode("span",{class:"st-drop-close",onClick:m=>i(m,n.id)},[e.createVNode("i",{class:"f-icon f-icon-close"},null)])}function u(m){g(n.id),t.tabType==="one-page"&&s.scrollToByPaggId(n.id)}return e.createVNode("li",{class:c.value,style:r.value},[e.createVNode("a",{class:l.value,onClick:u},[v(n),p.value&&d()])])}function ce(t,n,o,s,a){const{shouldShowNavigationButtons:b}=o,{tabPages:i}=a,g=e.computed(()=>({spacer:!0,"f-utils-fill":!0,"spacer-sides-dropdown":b.value})),C=e.computed(()=>({width:"100%",display:"flex","justify-content":t.justifyContent})),c=e.computed(()=>({nav:!0,"farris-nav-tabs":!0,"flex-nowrap":!0,"nav-fill":t.fill||t.tabType==="fill","nav-pills":t.tabType==="pills","flex-row":t.position==="top"||t.position==="bottom","flex-column":t.position==="left"||t.position==="right"}));return()=>e.createVNode("div",{class:g.value,style:C.value},[e.createVNode("ul",{class:c.value,ref:n},[i.value.map(r=>je(t,r.props,r,s,a))])])}const Be={items:{Type:Array,default:[]},modelValue:{type:String,default:""},type:{type:String,default:"primary"}},Ie={name:{type:String,default:""},value:{type:String,default:""},isActive:{type:Boolean,default:!1},icon:{type:String,default:""},index:{type:Number,default:0}},st="",Oe=e.defineComponent({name:"FCapsuleItem",props:Ie,emits:["mounted","active"],setup(t,n){const o=e.ref(),s=e.ref(t.isActive);e.watch(()=>t.isActive,i=>{s.value=i});const a=e.computed(()=>({"f-capsule-item":!0,"f-capsule-active-item":s.value}));e.onMounted(()=>{n.emit("mounted",o,t.value)});function b(i){n.emit("active",i,{name:t.name,value:t.value})}return()=>e.createVNode("div",{ref:o,class:a.value,onClick:i=>b(i)},[t.icon&&e.createVNode("i",{class:t.icon},null),t.name])}}),Me=e.defineComponent({name:"FCapsule",props:Be,emits:["change","update:modelValue"],setup(t,n){const o=e.ref(t.items),s=e.ref(),a=2,b=e.ref(t.modelValue),i=e.ref("none"),g=e.ref(t.type),C=e.computed(()=>{const w={"f-capsule-container":!0};return g.value&&(w[g.value]=!0),w}),c=e.computed(()=>({})),r=e.computed(()=>({"f-capsule":!0})),l=e.ref(a),h=e.ref(0),f=e.ref(0),v=e.computed(()=>({left:`${l.value}px`,width:`${h.value}px`,transition:i.value})),p=e.computed(()=>({width:`${f.value}px`})),d=new Map;function u(w){var T;if(d.has(w.value)){const S=(T=d.get(w.value))==null?void 0:T.value;if(S){const M=S.getBoundingClientRect(),R=s.value.getBoundingClientRect();l.value=M.left-R.left+a+s.value.scrollLeft,h.value=M.width-2*a}}}function m(w,T){const S=w.value;b.value=S,n.emit("update:modelValue",S),u(w),T&&n.emit("change",S)}function N(w){const T=o.value.findIndex(S=>S.value===w);T>-1&&m(o.value[T],!1)}e.watch(()=>t.modelValue,w=>{b.value=w,N(b.value)}),e.watch(()=>t.items,async w=>{o.value=w,await e.nextTick(),N(b.value),f.value=Array.from(d.values()).reduce((T,S)=>(T+=S.value.clientWidth,T),0)}),e.onMounted(async()=>{N(b.value),await e.nextTick(),i.value="0.1s ease-out all",f.value=Array.from(d.values()).reduce((w,T)=>(w+=T.value.clientWidth,w),0)});function j(w,T){m(T,!0)}function k(w,T){d.set(T,w)}function y(w,T){return e.createVNode(Oe,{name:w.name,value:w.value,isActive:w.value===b.value,index:T,onMounted:k,onActive:j},null)}return()=>e.createVNode("span",{ref:s,class:C.value,style:c.value},[e.createVNode("span",{class:"f-capsule-pane"},[o.value.map((w,T)=>y(w,T))]),e.createVNode("small",{class:r.value,style:v.value},null),e.createVNode("div",{class:"f-capsule-board",style:p.value},null)])}});function ie(t,n,o,s,a){const b=e.ref(),{shouldShowNavigationButtons:i}=o,{activeId:g,tabPages:C}=a,c=e.computed(()=>C.value.map(f=>({name:f.props.title,value:f.props.id}))),r=e.computed(()=>({spacer:!0,"f-utils-fill":!0,"spacer-sides-dropdown":i.value})),l=e.computed(()=>({width:"100%",display:"flex","justify-content":t.justifyContent}));e.onMounted(()=>{b.value&&(n.value=b.value.$el)});function h(){}return()=>e.createVNode("div",{class:r.value,style:l.value},[e.createVNode(Me,{items:c.value,modelValue:g.value,"onUpdate:modelValue":f=>g.value=f,onChange:h,ref:b},null)])}function De(t,n,o,s){const{activeId:a,removeTab:b,tabPages:i}=s,{selectAndScrollToTab:g}=o,{hideDropDown:C,searchTabText:c}=n,r=e.ref("auto"),l=e.computed(()=>{var m,N;let u=[];return t.searchBoxVisible?u=(m=i.value)==null?void 0:m.filter(j=>j.props.title.includes(c.value)):u=(N=i.value)==null?void 0:N.slice(),u}),h=e.computed(()=>({"dropdown-menu":!0,"tabs-pt28":t.searchBoxVisible,show:!C.value}));function f(u){return{"dropdown-item":!0,"text-truncate":!0,"px-2":!0,disabled:u.props.disabled,active:u.props.id===a.value,"d-none":u.props.show!==!0}}function v(u){u.preventDefault(),u.stopPropagation()}const p=()=>({width:r.value});function d(){return e.createVNode("div",{class:h.value},[t.searchBoxVisible&&e.createVNode("div",{onClick:u=>v(u),class:"pb-1 tabs-li-absolute"},[e.withDirectives(e.createVNode("input",{title:"search-box",type:"text",class:"form-control k-textbox","onUpdate:modelValue":u=>c.value=u},null),[[e.vModelText,c.value]]),e.createVNode("span",{class:"f-icon f-icon-page-title-query tabs-icon-search"},null)]),l.value.length?e.createVNode("ul",{class:"tab-dropdown-menu--items",style:p()},[l.value.map(u=>e.createVNode("li",{class:f(u),onClick:m=>g(m,u.props)},[u.props.removeable&&e.createVNode("span",{class:"float-right st-drop-close",onClick:m=>b(m,u.props.id,!0)},[e.createVNode("i",{class:"f-icon f-icon-close"},null)]),e.createVNode("a",{class:"dropdown-title"},[u.props.title])]))]):e.createVNode("div",{class:"dropdown-no-data"},[e.createTextVNode("没有相关数据")])])}return{renderDropdownMenu:d}}function de(t,n,o,s){const{hideDropDown:a}=n,{renderDropdownMenu:b}=De(t,n,o,s);function i(){return e.createVNode(e.Fragment,null,[e.createVNode("button",{title:"toggle-button",class:"btn dropdown-toggle-split dropdown-toggle",onClick:()=>{a.value=!1}},null),b()])}return{renderMorePagesButtton:i}}function ue(t,n,o,s){const a=e.ref(!1),{selectTabByTabId:b,tabPages:i}=s,g=4;function C(){var u;const p=n.value,d=(u=n.value)==null?void 0:u.parentElement;a.value=d&&p&&d.offsetWidth<p.scrollWidth-g}const c=e.computed(()=>({btn:!0,"sc-nav-btn":!0,"px-1":!0,"sc-nav-lr":!0,"d-none":!a.value})),r=e.computed(()=>({"btn-group":!0,"sc-nav-btn":!0,dropdown:!0,"d-none":!a.value})),l=e.computed(()=>({btn:!0,"sc-nav-rg":!0,"d-none":!a.value}));function h(p,d){if(!n.value)return;const u=n.value.scrollLeft,m=n.value.scrollWidth-n.value.offsetWidth;if(d>0){if(n.value.scrollLeft>=m)return;n.value.scrollLeft=u+t.scrollStep+p}else if(d<0){if(n.value.scrollLeft<=0)return;n.value.scrollLeft=u-t.scrollStep-p}}function f(p){if(!a.value||!n.value)return;const d=t.tabType==="pills"?".f-capsule-item":".nav-item",u=n.value.querySelectorAll(d),{parentElement:m}=n.value,N=u[p];if(N&&m){const j=m.getBoundingClientRect().left,k=m.getBoundingClientRect().right,y=N.getBoundingClientRect().left,w=N.getBoundingClientRect().right;y<j?h(j-y,-1):k<w&&h(w-k,1),t.tabType==="one-page"&&o.scrollTo(p)}}function v(p,d){if(d.disabled)return;b(d.id);const u=i.value.findIndex(m=>m.props.id===d.id);e.nextTick(()=>{f(u)})}return{previousButtonClass:c,nextButtonGroupClass:r,nextButtonClass:l,scrollTab:h,selectAndScrollToTab:v,shouldShowNavigationButtons:a,updateNavigationLayout:C}}function fe(t,n){const{tabPages:o}=n,s=e.ref(""),a=e.ref(!0),b=e.computed(()=>t.searchBoxVisible),i=e.computed(()=>b.value?o.value.filter(C=>C.props.title.includes(s.value)):o.value.slice());return{searchTabText:s,hideDropDown:a,shouldShowSearchBox:b,tabsInDropdownMenu:i}}function pe(t,n,o){const s=".farris-tab-page",{tabPages:a}=o;function b(g){const C=n.value;if(C){const c=n.value.querySelectorAll(s);if(c.length>0){const r=c[g],{offsetTop:l}=r,h=l-32>0?l-32:0;C.scrollTop=h}}}function i(g){const C=a.value.findIndex(c=>c.props.id===g);C>-1&&b(C)}return{scrollTo:b,scrollToByPaggId:i}}const ke={alignment:{Type:String,default:"right"},items:{Type:Array,default:[]}};class be{constructor(n){B(this,"id","");B(this,"class","btn-secondary");B(this,"icon","");B(this,"groupId","");B(this,"order",-1);B(this,"asDropDownTop",!1);B(this,"text","");B(this,"visible",!0);B(this,"responsed",!1);B(this,"tipsEnable",!1);B(this,"tipsText","");B(this,"width",0);B(this,"onClick",()=>{});B(this,"options");this.options=n;const o=["id","class","icon","groupId","order","asDropDownTop","text","isDP","visible","responsed","width","tipsEnable","tipsText","onClick"];Object.keys(n).filter(s=>o.indexOf(s)>-1).forEach(s=>{this[s]=n[s]})}get enable(){return Object.keys(this.options).indexOf("enable")>-1?this.options.enable:e.computed(()=>!0)}setWidth(n){this.width=parseInt(n,10)}getWidth(){return this.visible?this.width:!1}}class Pe extends be{constructor(n){super(n)}}function he(){function t(n){const o=[];return n.reduce((s,a)=>(a.children&&a.children.length>0?s.push(new K(a)):s.push(new Pe(a)),s),o),o}return{buildResponseToolbarItems:t}}const{buildResponseToolbarItems:$e}=he();class K extends be{constructor(o){super(o);B(this,"placement","");B(this,"dropdownClass","");B(this,"menuClass","");B(this,"split",!1);B(this,"children",[]);B(this,"expanded",!1);const s=["isDP","class","dropdownClass","menuClass","placement","split","expanded"];Object.keys(o).filter(a=>s.indexOf(a)>-1).forEach(a=>{this[a]=o[a]}),o.children&&o.children.length&&(this.children=$e(o.children))}}function Re(){function t(c){const r={"dropdown-menu":!0};if(c.class){const l=c.menuClass.split(" ");l&&l.length&&l.reduce((h,f)=>(h[f]=!0,h),r)}return r}function n(c){const r={disabled:!c.enable,"dropdown-submenu":!0,"f-rt-dropdown":!0},l=c.dropdownClass.split(" ");return l&&l.length&&l.reduce((h,f)=>(h[f]=!0,h),r),r}function o(c){const r={disabled:!c.enable,"dropdown-item":!0,"f-rt-btn":!0},l=c.class.split(" ");return l&&l.length&&l.reduce((h,f)=>(h[f]=!0,h),r),r}let s;const a=new Map;function b(c,r,l){var f;((f=c.target)==null?void 0:f.id)===r.id&&c.stopPropagation();const h=l?l.id:"__top_item__";if(r.children&&r.children.length&&(r.expanded=!r.expanded,r.expanded?a.set(h,r):a.delete(h)),a.has(h)&&a.get(h)!==r){const v=a.get(h);v&&(v.expanded=!1)}}function i(c){return c.children.map(r=>r.children&&r.children.length?e.createVNode("li",{class:n(r),id:r.id,onClick:l=>r.enable&&b(l,r,c)},[e.createVNode("span",{id:r.id,class:o(r),onMouseover:l=>r.enable&&b(l,r,c)},[r.text,e.createVNode("i",{class:"f-icon f-icon-arrow-chevron-right",style:"display: inline-block;float: right;line-height: 1.25rem;"},null)]),s(r,c)]):e.createVNode("li",{class:o(r),id:r.id,onClick:l=>r.enable&&r.onClick(l,r.id),onMouseover:l=>r.enable&&b(l,r,c)},[r.text]))}function g(c,r){const l={display:c.expanded?"block":"none"},h=document.getElementsByTagName("body")[0].getClientRects()[0].width,f=document.getElementById(c.id),v=f==null?void 0:f.getClientRects();if(f&&v&&v.length){const p=v[0].x;h-p<=160&&(l.right=0,l.left="unset")}return r&&(l.top=0,l.right="160px",l.left="unset"),l}s=function(c,r){return e.createVNode("ul",{class:t(c),style:g(c,r),id:c.id+"_menu"},[i(c)])};function C(){a.forEach(c=>{c.expanded=!1}),a.clear()}return{renderDropdownMenu:s,clearAllDropDownMenu:C}}function Ae(t,n){const o=e.ref(t.alignment),{renderDropdownMenu:s,clearAllDropDownMenu:a}=Re();function b(r){const l={"btn-group":!0,"f-rt-dropdown":!0,"f-btn-ml":o.value==="right","f-btn-mr":o.value==="left"},h=r.dropdownClass.split(" ");return h&&h.length&&h.reduce((f,v)=>(f[v]=!0,f),l),l}function i(r){const l={btn:!0,disabled:!r.enable,"f-rt-btn":!0,"btn-icontext":!!(r.icon&&r.icon.trim())};if(r.class){const h=r.class.split(" ");h&&h.length&&h.reduce((f,v)=>(f[v]=!0,f),l)}return l}function g(r,l){r.stopPropagation(),l.expanded=!l.expanded}function C(r){return e.createVNode("div",{id:r.id,class:b(r)},[e.createVNode("div",{class:i(r),style:"display: flex;padding-right: 0.1rem;",onClick:l=>r.enable&&g(l,r)},[n.shouldShowIcon(r)&&e.createVNode("i",{class:n.iconClass(r)},null),e.createVNode("span",null,[r.text]),e.createVNode("i",{class:"f-icon f-icon-arrow-chevron-down",style:"display: inline-block;float: right;line-height: 1.25rem;margin-left: .25rem;margin-right: .25rem;"},null)]),s(r)])}function c(){a()}return{renderToolbarDropdown:C,clearAllDropDown:c}}function He(){function t(o){const s={"f-icon":!0};if(o.icon){const a=o.icon.trim().split(" ");a&&a.length&&a.reduce((b,i)=>(b[i]=!0,b),s)}return s}function n(o){return!!(o.icon&&o.icon.trim())}return{iconClass:t,shouldShowIcon:n}}const{buildResponseToolbarItems:me}=he(),ge=e.defineComponent({name:"FResponseToolbar",props:ke,emits:["Click"],setup(t){const n=e.ref(me(t.items)),o=e.ref(),s=e.ref(),a=e.ref(t.alignment),b={id:"__more_buttons__",text:"More"},i=e.ref(new K(b)),g=He(),C=e.computed(()=>i.value.children.length>0),c=e.computed(()=>({"f-toolbar":!0,"f-response-toolbar":!0,"position-relative":!0})),r=e.computed(()=>({"d-flex":!0,"flex-nowrap":!0,"justify-content-end":a.value==="right","justify-content-start":a.value==="left"})),{renderToolbarDropdown:l,clearAllDropDown:h}=Ae(t,g);function f(){n.value.filter(y=>y.children&&y.children.length>0).forEach(y=>{y.expanded=!1}),i.value.expanded=!1,h()}function v(y){const w={"f-icon":!0};if(y.icon){const T=y.icon.trim().split(" ");T&&T.length&&T.reduce((S,M)=>(S[M]=!0,S),w)}return w}function p(y){return!!(y.icon&&y.icon.trim())}function d(y){const w={btn:!0,"f-rt-btn":!0,"f-btn-ml":a.value==="right","f-btn-mr":a.value==="left","btn-icontext":!!(y.icon&&y.icon.trim())};if(y.class){const T=y.class.split(" ");T&&T.length&&T.reduce((S,M)=>(S[M]=!0,S),w)}return w}function u(y){return e.createVNode("button",{type:"button",class:d(y),id:y.id,disabled:!y.enable,onClick:w=>y.onClick(w,y.id)},[p(y)&&e.createVNode("i",{class:v(y)},null),y.text])}const m=new Map,N=[];function j(y){const w=s.value;let T=y;const S=Array.from(w.children),M=S[S.length-1].id==="__more_buttons__"?S[S.length-1]:null;if(M){const x=M.computedStyleMap().get("margin-left"),D=M.computedStyleMap().get("margin-right"),E=(x?x.value:0)+M.getBoundingClientRect().width+(D?D.value:0);T-=E}const R=S.filter(x=>x.id!=="__more_buttons__");for(const x of R){const D=x.computedStyleMap().get("margin-left"),E=x.computedStyleMap().get("margin-right"),L=(D?D.value:0)+x.getBoundingClientRect().width+(E?E.value:0);T<L?(m.set(x.id,!0),N.push({id:x.id,width:L})):T-=L}if(N.length)for(let x=N.length-1;x>=0;x--){const D=N[x].width;if(T>=D)T-=D,m.delete(N[x].id),N.pop();else break}const W=Object.assign({},i.value);W.children=[];const H=new K(W),_=n.value.reduce((x,D)=>(m.has(D.id)&&H.children.push(D),D.visible=!m.has(D.id),x.push(D),x),[]);i.value=H,n.value=_}const k=new ResizeObserver(y=>{if(y.length){const T=y[0].contentRect.width,M=s.value.getBoundingClientRect().width;(T<M||N.length)&&j(T)}});return e.onMounted(()=>{const y=o.value;k.observe(y),document.body.addEventListener("click",f)}),e.onUnmounted(()=>{k.disconnect(),document.body.removeEventListener("click",f)}),e.watch(()=>t.items,()=>{n.value=me(t.items)}),()=>e.createVNode("div",{class:c.value},[e.createVNode("div",{ref:o,class:r.value},[e.createVNode("div",{ref:s,class:"d-inline-block f-response-content",style:"white-space: nowrap;"},[n.value.filter(y=>y.visible).map(y=>y.children&&y.children.length>0?l(y):u(y)),C.value&&l(i.value)])])])}}),q=e.defineComponent({name:"FTabs",props:F,emits:["tabChange","tabRemove"],setup(t,n){const o=e.ref(t.tabType),s=e.shallowRef(),a=e.shallowRef(),b=e.shallowRef(),i=re(t,n,a),{activeId:g,changeTitleStyle:C,tabPages:c,addTab:r,updateTab:l,selectTabByTabId:h,toolbarItems:f}=i,v=pe(t,b,i),p=ue(t,a,v,i),{previousButtonClass:d,nextButtonClass:u,nextButtonGroupClass:m,scrollTab:N,updateNavigationLayout:j}=p,k=fe(t,i),{hideDropDown:y}=k,w=ce(t,a,p,v,i),T=w,S=ie(t,a,p,v,i),M=new Map([["default",w],["one-page",T],["pills",S]]);e.computed(()=>{const O=c.value.find($=>$.props.id===g.value);return O==null?void 0:O.slots});const R=e.computed(()=>{const O=c.value.find(V=>V.props.id===g.value);return(O==null?void 0:O.props.toolbarPosition)==="inHead"});e.provide("tabs",{activeId:g,addTab:r,updateTab:l,tabPages:c,tabType:o});const W=e.computed(()=>t.fill||t.tabType==="fill"),H=e.computed(()=>t.tabType==="pills"),_=e.computed(()=>({"farris-tabs-header":!0,"farris-tabs-inHead":R.value,"farris-tabs-inContent":!R.value,"farris-tabs-nav-fill":W.value,"farris-tabs-nav-pills":H.value})),x=e.computed(()=>({width:R.value&&t.titleWidth?`${t.titleWidth}%`:""})),D=e.computed(()=>({"farris-tabs":!0,"flex-column":t.position==="top","flex-column-reverse":t.position==="bottom","flex-row":t.position==="left","flex-row-reverse":t.position==="right","one-page":t.tabType==="one-page"}));e.onMounted(()=>{c.value.length&&(g.value=t.activeId||c.value[0].props.id,h(g.value)),e.nextTick(()=>{j()}),C(a),window.addEventListener("click",O=>{var $;y.value||($=s.value)!=null&&$.contains(O.target)||(y.value=!0)}),window.addEventListener("resize",()=>{j()})});function E(){return e.createVNode("button",{title:"left-arrow-button",type:"button",class:d.value,onClick:()=>{N(0,-1)}},null)}function L(){return e.createVNode("button",{title:"right-arrow-button",type:"button",class:u.value,onClick:()=>{N(0,1)}},null)}const{renderMorePagesButtton:te}=de(t,k,p,i),ne=O=>{n.emit("Click",O)};function oe(){return!!f.value.length&&e.createVNode(ge,{items:f.value,onClick:ne},null)}const G=M.get(t.tabType)||M.get("default");function se(){var O,$,V,P;return e.createVNode("div",{class:_.value},[e.createVNode("div",{class:"farris-tabs-header-pre"},[($=(O=n.slots).headerPrefix)==null?void 0:$.call(O)]),e.createVNode("div",{class:"farris-tabs-title scroll-tabs",style:x.value},[E(),G&&G(),e.createVNode("div",{class:m.value},[L(),te()])]),oe(),e.createVNode("div",{class:"farris-tabs-header-post"},[(P=(V=n.slots).headerSuffix)==null?void 0:P.call(V)])])}function J(){var O,$;return e.createVNode("div",{class:"farris-tabs-content",ref:b},[($=(O=n.slots).default)==null?void 0:$.call(O)])}return()=>e.createVNode("div",{class:D.value,ref:s},[se(),J()])}}),Ee={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://farris-design.gitee.io/accordion-item.schema.json",title:"AccordionItem",description:"A Farris Container Component",type:"object",properties:{id:{description:"The unique identifier for a Accordion Item",type:"string"},type:{description:"The type string of Accordion Item component",type:"string"},contents:{description:"",type:"array",default:[]},title:{description:"",type:"string",default:""},toolbar:{description:"",type:"object"}},required:["id","type","contents"]},z={tabWidth:{type:Number,default:-1},id:{type:String,default:""},customTitleClass:{type:String,default:""},titleOverflow:{type:Boolean,default:!1},title:{type:String,default:""},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},removeable:{type:Boolean,default:!1},show:{type:Boolean,default:!0},toolbar:{type:Object,default:{}},toolbarPosition:{type:String,default:"inContent"}},ee=Y(z,Ee,le),We=new Map([["appearance",ae],["expanded","expandStatus"],["title",(t,n)=>({mainTitle:n})]]),Le={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://farris-design.gitee.io/section.schema.json",title:"section",description:"A Farris Container Component",type:"object",properties:{id:{description:"The unique identifier for a Section",type:"string"},type:{description:"The type string of Section component",type:"string",default:"section"},appearance:{description:"",type:"object",properties:{class:{type:"string"},style:{type:"string"}},default:{}},contentClass:{description:"",type:"string",default:""},contents:{description:"",type:"array",default:[]},enableAccordion:{description:"",type:"boolean",default:!1},enableCollapse:{description:"",type:"boolean",default:!0},enableMaximize:{description:"",type:"boolean",default:!0},expanded:{description:"",type:"boolean",default:!0},fill:{description:"",type:"boolean",default:!1},headerClass:{description:"",type:"string",default:""},size:{description:"",type:"object",properties:{width:{type:"number"},height:{type:"number"}},default:null},subTitle:{description:"",type:"string",default:""},title:{description:"",type:"string",default:""},titleClass:{description:"",type:"string",default:""},toolbarClass:{description:"",type:"string",default:""},visible:{description:"",type:"boolean",default:!0}},required:["id","type","contents"]},ye={clickThrottleTime:{type:Number,default:350},contentClass:{type:String,default:""},context:{type:Object},customClass:{type:String,default:""},enableAccordion:{type:Boolean,default:!1},enableCollapse:{type:Boolean,default:!0},enableMaximize:{type:Boolean,default:!1},expandStatus:{type:Boolean,default:!0},fill:{type:Boolean,default:!1},headerClass:{type:String,default:""},index:{type:Number},maxStatus:{type:Boolean,default:!1},mainTitle:{type:String,default:""},showHeader:{type:Boolean,default:!0},showToolbarMoreButton:{type:Boolean,default:!0},subTitle:{type:String,default:""},toolbarPosition:{type:String,default:""},toolbarButtons:{type:Array,default:[]},toolbar:{type:Object,default:{}}};Y(ye,Le,We);const Ct="",Ce=e.defineComponent({name:"FSection",props:ye,emits:[],setup(t,n){const o=e.ref(t.customClass),s=e.computed(()=>t.showHeader&&(!!t.mainTitle||!!t.subTitle)),a=e.computed(()=>!!t.mainTitle||!!t.subTitle),b=e.computed(()=>!!t.subTitle);e.computed(()=>!1),e.computed(()=>!1),e.computed(()=>!1),e.computed(()=>!1),e.ref([]);const i=e.computed(()=>{const f={"f-section":!0};return o.value&&o.value.split(" ").reduce((v,p)=>(v[p]=!0,v),f),f}),g=e.computed(()=>{const f=t.headerClass.split(" "),v={"f-section-header":!0};return f.reduce((p,d)=>(p[d]=!0,p),v),v});e.computed(()=>({"f-section-extend":!0}));const C=e.computed(()=>{const f=t.contentClass.split(" "),v={"f-section-content":!0};return f.reduce((p,d)=>(p[d]=!0,p),v),v}),c=e.ref(t.mainTitle),r=e.ref(t.subTitle);function l(){return s.value&&e.createVNode("div",{class:g.value},[a.value&&e.createVNode("div",{class:"f-title"},[e.createVNode("h4",{class:"f-title-text"},[c.value]),b.value&&e.createVNode("span",null,[r.value])])])}function h(){return e.createVNode("div",{class:C.value},[n.slots.default&&n.slots.default()])}return()=>e.createVNode("div",{class:i.value},[l(),h()])}});function _e(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}const U=e.defineComponent({name:"FTabPage",props:z,emits:[],setup(t,n){const o=e.inject("tabs"),s=e.ref(!0),a={slots:n.slots,props:t},b=e.ref((o==null?void 0:o.tabType.value)||"default");e.onMounted(()=>{const l=o==null?void 0:o.tabPages.value.findIndex(h=>h.props.id===t.id);!l||l===-1?o==null||o.addTab(a):l>-1&&(s.value=!1,console.warn(`已经存在id为${t.id}的页签啦`))}),e.onUnmounted(()=>{});const i=e.computed(()=>({display:(t==null?void 0:t.id)===(o==null?void 0:o.activeId.value)?"":"none"}));e.watch(()=>t,l=>{o==null||o.updateTab({props:l,slots:n.slots})},{immediate:!0,deep:!0});function g(){var h,f;const l=(f=(h=n.slots).default)==null?void 0:f.call(h);return e.createVNode(Ce,{"main-title":t.title,class:"farris-tab-page"},_e(l)?l:{default:()=>[l]})}function C(){var h,f;const l=(f=(h=n.slots).default)==null?void 0:f.call(h);return e.createVNode("div",{class:"farris-tab-page",style:i.value},[l])}const r=new Map([["default",C],["one-page",g]]).get(b.value)||C;return()=>s.value?r():null}});function we(t,n,o){var m;const s=o==null?void 0:o.checkIsInFixedContextRules(),a=o&&o.getStyles&&o.getStyles()||"";function b(){return!(n.schema.componentType||s)}function i(){return!1}function g(){return!(n.schema.componentType||s)}function C(){return!!s}function c(N){if(!N)return null;if(N.schema.type==="Component")return N;const j=c(N.parent);return j||null}function r(N,j,k){return!!o&&o.canAccepts()}function l(){return n.schema.label||n.schema.title||n.schema.name}function h(){}function f(N,j){j&&(o==null||o.onAcceptMovedChildElement(j))}function v(N,j){const k=String(N.getAttribute("data-controltype"));return Te(k)}function p(N){return N.contents?N.contents.length:-1}function d(N){}const u={canMove:b(),canSelectParent:i(),canDelete:g(),canNested:!C(),contents:n.schema.contents,elementRef:t,parent:(m=n.parent)==null?void 0:m.componentInstance.value,schema:n.schema,styles:a,canAccepts:r,getBelongedComponentInstance:c,getDraggingDisplayText:l,getDragScopeElement:h,onAcceptMovedChildElement:f,onAcceptNewChildElement:v,onAddNewChildElement:p,onChildElementMovedOut:d,triggerBelongedComponentToMoveWhenMoved:!!o&&o.triggerBelongedComponentToMoveWhenMoved};return e.ref(u)}const Fe=e.defineComponent({name:"FTabsDesign",props:F,emits:["tabChange","tabRemove"],setup(t,n){const o=e.ref(),s=e.inject("design-item-context"),a=we(o,s),b=e.ref(t.tabType),i=e.shallowRef(),g=e.shallowRef(),C=re(t,n,i),{activeId:c,changeTitleStyle:r,tabPages:l,addTab:h,updateTab:f,selectTabByTabId:v,toolbarItems:p}=C,d=pe(t,g,C),u=ue(t,i,d,C),{previousButtonClass:m,nextButtonClass:N,nextButtonGroupClass:j,scrollTab:k,updateNavigationLayout:y}=u,w=fe(t,C),{hideDropDown:T}=w,S=ce(t,i,u,d,C),M=S,R=ie(t,i,u,d,C),W=new Map([["default",S],["one-page",M],["pills",R]]);e.computed(()=>{const V=l.value.find(P=>P.props.id===c.value);return V==null?void 0:V.slots});const H=e.computed(()=>{const V=l.value.find(Q=>Q.props.id===c.value);return(V==null?void 0:V.props.toolbarPosition)==="inHead"});e.provide("tabs",{activeId:c,addTab:h,updateTab:f,tabPages:l,tabType:b});const _=e.computed(()=>t.fill||t.tabType==="fill"),x=e.computed(()=>t.tabType==="pills"),D=e.computed(()=>({"farris-tabs-header":!0,"farris-tabs-inHead":H.value,"farris-tabs-inContent":!H.value,"farris-tabs-nav-fill":_.value,"farris-tabs-nav-pills":x.value})),E=e.computed(()=>({width:H.value&&t.titleWidth?`${t.titleWidth}%`:""})),L=e.computed(()=>({"farris-tabs":!0,"flex-column":t.position==="top","flex-column-reverse":t.position==="bottom","flex-row":t.position==="left","flex-row-reverse":t.position==="right","one-page":t.tabType==="one-page"}));e.onMounted(()=>{l.value.length&&(c.value=t.activeId||l.value[0].props.id,v(c.value)),e.nextTick(()=>{y()}),r(i),window.addEventListener("click",V=>{var P;T.value||(P=o.value)!=null&&P.contains(V.target)||(T.value=!0)}),window.addEventListener("resize",()=>{y()}),o.value.componentInstance=a});function te(){return e.createVNode("button",{title:"left-arrow-button",type:"button",class:m.value,onClick:()=>{k(0,-1)}},null)}function ne(){return e.createVNode("button",{title:"right-arrow-button",type:"button",class:N.value,onClick:()=>{k(0,1)}},null)}const{renderMorePagesButtton:oe}=de(t,w,u,C),G=V=>{n.emit("Click",V)};function se(){return!!p.value.length&&e.createVNode(ge,{items:p.value,onClick:G},null)}const J=W.get(t.tabType)||W.get("default");function O(){var V,P,Q,ve;return e.createVNode("div",{class:D.value},[e.createVNode("div",{class:"farris-tabs-header-pre"},[(P=(V=n.slots).headerPrefix)==null?void 0:P.call(V)]),e.createVNode("div",{class:"farris-tabs-title scroll-tabs",style:E.value},[te(),J&&J(),e.createVNode("div",{class:j.value},[ne(),oe()])]),se(),e.createVNode("div",{class:"farris-tabs-header-post"},[(ve=(Q=n.slots).headerSuffix)==null?void 0:ve.call(Q)])])}function $(){var V,P;return e.createVNode("div",{class:"farris-tabs-content",ref:g},[(P=(V=n.slots).default)==null?void 0:P.call(V)])}return n.expose(a.value),()=>e.createVNode("div",{class:L.value,ref:o},[O(),$()])}});function qe(t,n){let s=!0;function a(){return!!s}function b(){const g=t,C=g.appearance&&g.appearance.class||"",c=C?C.split(" "):[],r=g.contents||[],l=r.length?r[0]:null,h=l&&l.appearance&&l.appearance.class||"",f=h?h.split(" "):[],v=n,p=v&&v.appearance&&v.appearance.class||"",d=p?p.split(" "):[];return c.includes("f-section-form")&&(v==null?void 0:v.type)==="content-container"&&f.includes("f-form-layout")||c.includes("f-section-tabs")&&d.includes("f-struct-wrapper")&&f.includes("f-component-tabs")||c.includes("f-section-grid")&&d.includes("f-struct-wrapper")&&(f.includes("f-component-grid")||f.includes("f-filter-container"))||c.includes("f-section-treegrid")&&d.includes("f-struct-wrapper")&&f.includes("f-component-treetable")||c.includes("f-section-oa-table")&&d.includes("f-struct-wrapper")&&f.includes("f-form-is-table")||c.includes("f-section-card-table")&&d.includes("f-struct-wrapper")&&f.includes("f-form-is-table")||c.includes("f-section-scheme")&&l&&l.type==="query-solution"||(c.includes("f-section-in-main")||c.includes("f-section-in-mainsubcard"))&&d.includes("f-struct-wrapper")&&l&&l.type==="content-container"||(c.includes("f-section-in-main")||c.includes("f-section-in-mainsubcard"))&&d.includes("f-struct-wrapper")&&l&&l.type==="file-upload-preview"?(s=!1,!0):l&&(l.type==="approval-comments"||l.type==="approval-comments")?(s=!1,!1):c.includes("f-section-grid")&&d.includes("f-struct-wrapper")&&f.includes("f-component-appointment-calendar")?(s=!1,!0):!1}function i(g){}return{canAccepts:a,checkIsInFixedContextRules:b,onAcceptMovedChildElement:i,triggerBelongedComponentToMoveWhenMoved:!1}}function ze(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!e.isVNode(t)}const Ue=e.defineComponent({name:"FTabPageDesign",props:z,emits:[],setup(t,n){var p;const o=e.ref(),s=e.inject("design-item-context"),a=qe(s.schema,(p=s.parent)==null?void 0:p.schema),b=we(o,s,a);b.value.canNested=!1,n.expose(b.value);const i=e.inject("tabs"),g=e.ref(!0),C={slots:n.slots,props:t},c=e.ref((i==null?void 0:i.tabType.value)||"default");e.onMounted(()=>{o.value.componentInstance=b;const d=i==null?void 0:i.tabPages.value.findIndex(u=>u.props.id===t.id);!d||d===-1?i==null||i.addTab(C):d>-1&&(g.value=!1,console.warn(`已经存在id为${t.id}的页签啦`))}),e.onUnmounted(()=>{});const r=e.computed(()=>({display:(t==null?void 0:t.id)===(i==null?void 0:i.activeId.value)?"":"none"}));e.watch(()=>t,d=>{i==null||i.updateTab({props:d,slots:n.slots})},{immediate:!0,deep:!0});function l(){var u,m;const d=(m=(u=n.slots).default)==null?void 0:m.call(u);return e.createVNode(Ce,{"main-title":t.title,class:"farris-tab-page"},ze(d)?d:{default:()=>[d]})}function h(){var u,m;const d=(m=(u=n.slots).default)==null?void 0:m.call(u);return e.createVNode("div",{ref:o,class:"farris-tab-page drag-container",dragref:`${s.schema.id}-container`,style:r.value},[d])}const v=new Map([["default",h],["one-page",l]]).get(c.value)||h;return()=>g.value?v():null}}),Ge={install(t){t.component(q.name,q),t.component(U.name,U)},register(t,n){t.tabs=q,t["tab-page"]=U,n.tabs=Z,n["tab-page"]=ee},registerDesigner(t,n){t.tabs=Fe,t["tab-page"]=Ue,n.tabs=Z,n["tab-page"]=ee}};I.TabPage=U,I.Tabs=q,I.default=Ge,I.tabPageProps=z,I.tabPagePropsResolver=ee,I.tabsProps=F,I.tabsPropsResolver=Z,Object.defineProperties(I,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/tabs/package.json
DELETED
package/tabs/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.farris-tabs.one-page{overflow:hidden}.farris-tabs.one-page .farris-tabs-content{overflow:auto;position:relative}.farris-tabs .st-drop-close{line-height:1}.farris-tabs .tabs-li-absolute{padding:4px;margin:0;position:relative}<<<<<<< HEAD .farris-tabs .farris-tabs-header{flex-wrap:nowrap!important}======= >>>>>>> main .farris-tabs .farris-tabs-header .dropdown-menu{right:0;left:auto;min-height:80px}.farris-tabs .tabs-li-absolute input{line-height:26px;height:26px;padding-right:24px}.farris-tabs .tabs-icon-search{position:absolute;right:4px;top:50%;font-size:14px;padding:0 4px;width:auto;height:24px;line-height:1;color:#00000040;margin-top:-12px;line-height:20px}.farris-tabs .dropdown-no-data{height:26px;line-height:26px;text-align:center;padding-top:5px}.farris-tabs .farris-tabs-header .farris-tabs-title.scroll-tabs .spacer .farris-nav-tabs .nav-item{flex-shrink:0}.farris-tabs .farris-tabs-header .farris-tabs-header-pre,.farris-tabs .farris-tabs-header .farris-tabs-header-post{flex:0 1}.farris-tabs .farris-tabs-header .farris-tabs-title{flex:1 0}.f-capsule-container{color:#6080ad;position:relative;display:inline-block;box-sizing:content-box;padding:0;margin:0;cursor:pointer;white-space:nowrap;min-width:2.5rem;height:1.8rem;overflow:hidden}.f-capsule-container.primary .f-capsule-board{background-color:#eff5ff}.f-capsule-container.secondary .f-capsule-board{background-color:#f2f4f8}.f-capsule-container .f-capsule-pane{display:flex;height:100%;min-height:100%;justify-content:flex-start;align-items:center;top:0;position:relative}.f-capsule-container .f-capsule-pane .f-capsule-item{opacity:1;display:inline-block;font-size:12px;line-height:1.8rem;padding-left:24px;padding-right:24px;z-index:2}.f-capsule-container .f-capsule-pane .f-capsule-item.f-capsule-active-item{font-weight:700}.f-capsule-container.primary .f-capsule-pane .f-capsule-item.f-capsule-active-item{color:#2a87ff}.f-capsule-container .f-capsule-pane .f-capsule-item>i{margin-right:2px;font-size:12px}.f-capsule-container .f-capsule-board{background-color:#f2f4f8;border-radius:1.8rem;height:1.8rem;position:absolute;top:0;z-index:0}.f-capsule{height:calc(100% - 4px);border-radius:1.8rem;position:absolute;background:#fff;left:2px;top:2px;opacity:1;display:inline-block;font-size:12px;padding-left:22px;padding-right:22px;z-index:1}.f-section-grid,.f-section-scheme{padding:0!important}
|
package/tags/index.esm.js
DELETED
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
import { ref as l, defineComponent as re, computed as I, watch as ie, createVNode as r, nextTick as R } from "vue";
|
|
2
|
-
const de = {
|
|
3
|
-
activeTag: { Type: String, default: "" },
|
|
4
|
-
addButtonText: { Type: String, default: "" },
|
|
5
|
-
customClass: { Type: String, default: "" },
|
|
6
|
-
customStyle: { Type: String, default: "" },
|
|
7
|
-
data: { type: Array, default: [] },
|
|
8
|
-
enableAddButton: { Type: Boolean, default: !1 },
|
|
9
|
-
placeholder: { Type: String, default: "" },
|
|
10
|
-
selectable: { Type: Boolean, default: !1 },
|
|
11
|
-
showAddButton: { Type: Boolean, default: !1 },
|
|
12
|
-
showClose: { Type: Boolean, default: !1 },
|
|
13
|
-
showColor: { Type: Boolean, default: !1 },
|
|
14
|
-
showInput: { Type: Boolean, default: !1 },
|
|
15
|
-
tagType: { Type: String, default: "" },
|
|
16
|
-
tagStyle: { Type: String, default: "" },
|
|
17
|
-
wrapText: { Type: Boolean, default: !1 },
|
|
18
|
-
draggable: { Type: Boolean, default: !1 }
|
|
19
|
-
};
|
|
20
|
-
function fe(o, u, m, y) {
|
|
21
|
-
const n = l(-1), T = l(!1);
|
|
22
|
-
function w(i, c, d) {
|
|
23
|
-
i.stopPropagation(), c && setTimeout(() => {
|
|
24
|
-
n.value = d, T.value = !0, c.moving = !0;
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
function x(i, c) {
|
|
28
|
-
if (i.preventDefault(), n.value !== c) {
|
|
29
|
-
const d = y.value[n.value], b = y.value;
|
|
30
|
-
b.splice(n.value, 1), b.splice(c, 0, d), n.value = c;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
function C(i, c) {
|
|
34
|
-
i.preventDefault(), i.dataTransfer && (i.dataTransfer.dropEffect = "move");
|
|
35
|
-
}
|
|
36
|
-
function k(i, c) {
|
|
37
|
-
c && (c.moving = !1), m.value = y.value.filter((d) => d.type === "Tag").map((d) => d.payload), T.value = !1, u.emit("change", m.value);
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
dragstart: w,
|
|
41
|
-
dragenter: x,
|
|
42
|
-
dragover: C,
|
|
43
|
-
dragend: k,
|
|
44
|
-
isDragging: T
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
const E = /* @__PURE__ */ re({
|
|
48
|
-
name: "FTags",
|
|
49
|
-
props: de,
|
|
50
|
-
emits: ["remove", "selectionChange", "change"],
|
|
51
|
-
setup(o, u) {
|
|
52
|
-
const m = l(o.selectable), y = l(o.customClass), n = l(o.data), T = l(o.tagType), w = l(o.tagStyle), x = l(o.showColor), C = l(o.activeTag), k = l(o.customStyle), i = l(o.showClose), c = l(o.showAddButton), d = l(o.showInput), b = l(o.addButtonText), K = l(o.enableAddButton);
|
|
53
|
-
l(o.placeholder), l(""), l();
|
|
54
|
-
const p = l(), N = l(o.wrapText), h = l();
|
|
55
|
-
function B() {
|
|
56
|
-
const e = n.value.map((t) => ({
|
|
57
|
-
type: "Tag",
|
|
58
|
-
payload: t
|
|
59
|
-
}));
|
|
60
|
-
return c.value && e.push({
|
|
61
|
-
type: "AddButton"
|
|
62
|
-
}), e;
|
|
63
|
-
}
|
|
64
|
-
const f = l(B());
|
|
65
|
-
function P(e) {
|
|
66
|
-
n.value = e, f.value = B();
|
|
67
|
-
}
|
|
68
|
-
const A = I(() => f.value.findIndex((e) => e.type === "Input")), W = fe(o, u, n, f), {
|
|
69
|
-
dragstart: M,
|
|
70
|
-
dragenter: H,
|
|
71
|
-
dragover: V,
|
|
72
|
-
dragend: X
|
|
73
|
-
} = W;
|
|
74
|
-
ie(() => o.data, (e) => P(e));
|
|
75
|
-
const F = I(() => {
|
|
76
|
-
const e = {
|
|
77
|
-
"farris-tags": !0,
|
|
78
|
-
"farris-tags-checkable": m.value,
|
|
79
|
-
"farris-tags-nowrap": !N.value
|
|
80
|
-
};
|
|
81
|
-
return y.value.split(" ").reduce((t, a) => (t[a] = !0, t), e), e;
|
|
82
|
-
});
|
|
83
|
-
function $(e) {
|
|
84
|
-
const t = {
|
|
85
|
-
"farris-tag-item": !0,
|
|
86
|
-
"farris-tag-item-checked": m.value && e.checked,
|
|
87
|
-
"farris-tag-item-checkable": m.value,
|
|
88
|
-
"farris-tag-item-has-color": x.value,
|
|
89
|
-
"farris-tag-item-actived": C.value === e.name
|
|
90
|
-
};
|
|
91
|
-
if (T.value) {
|
|
92
|
-
const a = `farris-tag-item-${T.value}`;
|
|
93
|
-
t[a] = !0;
|
|
94
|
-
}
|
|
95
|
-
return t;
|
|
96
|
-
}
|
|
97
|
-
const q = I(() => {
|
|
98
|
-
const e = {};
|
|
99
|
-
return k.value && k.value.split(";").reduce((t, a) => {
|
|
100
|
-
const s = a.split(":");
|
|
101
|
-
return t[s[0]] = s[1], t;
|
|
102
|
-
}, e), e;
|
|
103
|
-
});
|
|
104
|
-
function z(e, t) {
|
|
105
|
-
m.value && t.selectable && (t.checked = !t.checked, C.value = t.checked ? t.name : "", t.checked && n.value.filter((a) => a.name !== t.name).forEach((a) => {
|
|
106
|
-
a.checked = !t.checked;
|
|
107
|
-
}), u.emit("change", n.value), u.emit("selectionChange", t));
|
|
108
|
-
}
|
|
109
|
-
function G(e, t) {
|
|
110
|
-
let a;
|
|
111
|
-
switch (e.key) {
|
|
112
|
-
case "Backspace":
|
|
113
|
-
n.value = n.value.filter((s) => s.name !== t.name), u.emit("change", n.value);
|
|
114
|
-
break;
|
|
115
|
-
case "ArrowLeft":
|
|
116
|
-
a = Math.max(p.value.scrollLeft + 20, 0), p.value.scrollLeft = a;
|
|
117
|
-
break;
|
|
118
|
-
case "ArrowRight":
|
|
119
|
-
a = Math.max(p.value.scrollLeft - 20, 0), p.value.scrollLeft = a;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
function J(e, t) {
|
|
123
|
-
const a = n.value.findIndex((s) => s.name === t.name);
|
|
124
|
-
if (a > -1) {
|
|
125
|
-
const [s] = n.value.splice(a, 1);
|
|
126
|
-
f.value = B(), u.emit("change", n.value), u.emit("remove", n.value, s, a);
|
|
127
|
-
}
|
|
128
|
-
e.stopPropagation();
|
|
129
|
-
}
|
|
130
|
-
const Q = I(() => ({
|
|
131
|
-
"farris-tag-item": !0,
|
|
132
|
-
"farris-tag-add-button": !0,
|
|
133
|
-
"farris-tag-add-button-disabled": !K.value
|
|
134
|
-
}));
|
|
135
|
-
function ge(e) {
|
|
136
|
-
}
|
|
137
|
-
function U() {
|
|
138
|
-
return r("li", {
|
|
139
|
-
class: Q.value,
|
|
140
|
-
onClick: (e) => void 0
|
|
141
|
-
}, [r("span", {
|
|
142
|
-
class: "f-icon f-icon-amplification"
|
|
143
|
-
}, null), r("span", {
|
|
144
|
-
class: "farris-tag-add-text"
|
|
145
|
-
}, [b.value])]);
|
|
146
|
-
}
|
|
147
|
-
function Y(e) {
|
|
148
|
-
if (e && !e.innerText) {
|
|
149
|
-
const t = A.value;
|
|
150
|
-
if (t > 0) {
|
|
151
|
-
const [a] = n.value.splice(t - 1, 1);
|
|
152
|
-
f.value.splice(t - 1, 1), u.emit("remove", n.value, a, t - 1);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
function O(e, t, a) {
|
|
157
|
-
e > -1 && (n.value.splice(e, 0, {
|
|
158
|
-
name: t,
|
|
159
|
-
value: a,
|
|
160
|
-
selectable: m.value
|
|
161
|
-
}), f.value = B(), u.emit("change", n.value));
|
|
162
|
-
}
|
|
163
|
-
function L(e) {
|
|
164
|
-
if (e && e.innerText) {
|
|
165
|
-
const t = e.innerText, a = A.value;
|
|
166
|
-
O(a, t, t), e.innerText = "";
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
function Z(e) {
|
|
170
|
-
const t = e.target;
|
|
171
|
-
t && (t.innerText ? L(t) : u.emit("change", n.value));
|
|
172
|
-
}
|
|
173
|
-
function _(e) {
|
|
174
|
-
e.key === "Enter" && L(e.target), e.key === "Backspace" && (Y(e.target), R(() => {
|
|
175
|
-
h.value && h.value.focus();
|
|
176
|
-
}));
|
|
177
|
-
}
|
|
178
|
-
function ee() {
|
|
179
|
-
return r("li", {
|
|
180
|
-
class: "farris-tag-input-box"
|
|
181
|
-
}, [r("div", {
|
|
182
|
-
ref: h,
|
|
183
|
-
class: "form-control",
|
|
184
|
-
contenteditable: "true",
|
|
185
|
-
onKeyup: _,
|
|
186
|
-
onBlur: Z
|
|
187
|
-
}, null)]);
|
|
188
|
-
}
|
|
189
|
-
function te(e, t) {
|
|
190
|
-
return r("li", {
|
|
191
|
-
class: $(e),
|
|
192
|
-
style: q.value,
|
|
193
|
-
tabindex: 0,
|
|
194
|
-
id: e.name,
|
|
195
|
-
key: e.name,
|
|
196
|
-
onClick: (a) => z(a, e),
|
|
197
|
-
onKeydown: (a) => G(a, e),
|
|
198
|
-
draggable: "true",
|
|
199
|
-
onDragstart: (a) => M(a, e, t),
|
|
200
|
-
onDragenter: (a) => H(a, t),
|
|
201
|
-
onDragend: (a) => X(a, e),
|
|
202
|
-
onDragover: (a) => V(a, t)
|
|
203
|
-
}, [r("div", {
|
|
204
|
-
title: e.name,
|
|
205
|
-
class: "tag-box"
|
|
206
|
-
}, [e.name]), i.value && r("span", {
|
|
207
|
-
class: "tag-delete"
|
|
208
|
-
}, [r("i", {
|
|
209
|
-
class: "f-icon f-icon-close",
|
|
210
|
-
onClick: (a) => J(a, e)
|
|
211
|
-
}, null)])]);
|
|
212
|
-
}
|
|
213
|
-
function ae() {
|
|
214
|
-
return f.value.map((e, t) => {
|
|
215
|
-
switch (e.type) {
|
|
216
|
-
case "Tag":
|
|
217
|
-
return te(e.payload, t);
|
|
218
|
-
case "AddButton":
|
|
219
|
-
return U();
|
|
220
|
-
case "Input":
|
|
221
|
-
return ee();
|
|
222
|
-
}
|
|
223
|
-
});
|
|
224
|
-
}
|
|
225
|
-
const ne = I(() => ({
|
|
226
|
-
"farris-tags-item-container": !0,
|
|
227
|
-
"farris-tag-item-capsule": w.value === "capsule"
|
|
228
|
-
}));
|
|
229
|
-
function le(e) {
|
|
230
|
-
const t = Math.max(p.value.scrollLeft - e.deltaX, 0);
|
|
231
|
-
p.value.scrollLeft = t;
|
|
232
|
-
}
|
|
233
|
-
function oe(e) {
|
|
234
|
-
const t = p.value, a = n.value.length - 1;
|
|
235
|
-
if (t) {
|
|
236
|
-
const s = Array.from(t.children).filter((g) => g.className.indexOf("farris-tag-item") > -1).findIndex((g) => {
|
|
237
|
-
const v = g.getBoundingClientRect(), S = window.getComputedStyle(g), j = parseInt(S["margin-left"], 10) + v.width + parseInt(S["margin-right"], 10);
|
|
238
|
-
return v.left + j > e;
|
|
239
|
-
});
|
|
240
|
-
if (s > -1)
|
|
241
|
-
return s;
|
|
242
|
-
}
|
|
243
|
-
return a;
|
|
244
|
-
}
|
|
245
|
-
function se(e) {
|
|
246
|
-
if (d.value) {
|
|
247
|
-
const a = oe(e.clientX) + 1, g = f.value.filter((v) => v.type !== "Input");
|
|
248
|
-
g.splice(a, 0, {
|
|
249
|
-
type: "Input"
|
|
250
|
-
}), f.value = g, R(() => {
|
|
251
|
-
h.value && h.value.focus();
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
function ce(e) {
|
|
256
|
-
var a;
|
|
257
|
-
e.preventDefault(), e.stopPropagation();
|
|
258
|
-
const t = (a = e.dataTransfer) == null ? void 0 : a.getData("Text");
|
|
259
|
-
if (t) {
|
|
260
|
-
const s = t.split(":"), g = s[0], v = s[1];
|
|
261
|
-
[...n.value].findIndex((D) => (console.log(`${D.value} === ${v} is ${D.value === v}`), D.value === v)) > -1 || O(n.value.length, g, v);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
function ue(e) {
|
|
265
|
-
e.preventDefault();
|
|
266
|
-
}
|
|
267
|
-
return () => r("div", {
|
|
268
|
-
class: F.value,
|
|
269
|
-
onClick: se,
|
|
270
|
-
onDrop: ce,
|
|
271
|
-
onDragover: ue
|
|
272
|
-
}, [r("ul", {
|
|
273
|
-
ref: p,
|
|
274
|
-
class: ne.value,
|
|
275
|
-
onWheel: (e) => le(e)
|
|
276
|
-
}, [ae()])]);
|
|
277
|
-
}
|
|
278
|
-
}), me = {
|
|
279
|
-
install(o) {
|
|
280
|
-
o.component(E.name, E);
|
|
281
|
-
}
|
|
282
|
-
};
|
|
283
|
-
export {
|
|
284
|
-
E as Tags,
|
|
285
|
-
me as default,
|
|
286
|
-
de as tagsProps
|
|
287
|
-
};
|
package/tags/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(u,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],a):(u=typeof globalThis<"u"?globalThis:u||self,a(u.tags={},u.Vue))})(this,function(u,a){"use strict";const A={activeTag:{Type:String,default:""},addButtonText:{Type:String,default:""},customClass:{Type:String,default:""},customStyle:{Type:String,default:""},data:{type:Array,default:[]},enableAddButton:{Type:Boolean,default:!1},placeholder:{Type:String,default:""},selectable:{Type:Boolean,default:!1},showAddButton:{Type:Boolean,default:!1},showClose:{Type:Boolean,default:!1},showColor:{Type:Boolean,default:!1},showInput:{Type:Boolean,default:!1},tagType:{Type:String,default:""},tagStyle:{Type:String,default:""},wrapText:{Type:Boolean,default:!1},draggable:{Type:Boolean,default:!1}},ue="";function L(o,c,p,y){const l=a.ref(-1),T=a.ref(!1);function w(i,r,d){i.stopPropagation(),r&&setTimeout(()=>{l.value=d,T.value=!0,r.moving=!0})}function x(i,r){if(i.preventDefault(),l.value!==r){const d=y.value[l.value],b=y.value;b.splice(l.value,1),b.splice(r,0,d),l.value=r}}function I(i,r){i.preventDefault(),i.dataTransfer&&(i.dataTransfer.dropEffect="move")}function C(i,r){r&&(r.moving=!1),p.value=y.value.filter(d=>d.type==="Tag").map(d=>d.payload),T.value=!1,c.emit("change",p.value)}return{dragstart:w,dragenter:x,dragover:I,dragend:C,isDragging:T}}const B=a.defineComponent({name:"FTags",props:A,emits:["remove","selectionChange","change"],setup(o,c){const p=a.ref(o.selectable),y=a.ref(o.customClass),l=a.ref(o.data),T=a.ref(o.tagType),w=a.ref(o.tagStyle),x=a.ref(o.showColor),I=a.ref(o.activeTag),C=a.ref(o.customStyle),i=a.ref(o.showClose),r=a.ref(o.showAddButton),d=a.ref(o.showInput),b=a.ref(o.addButtonText),M=a.ref(o.enableAddButton);a.ref(o.placeholder),a.ref(""),a.ref();const v=a.ref(),R=a.ref(o.wrapText),h=a.ref();function k(){const e=l.value.map(t=>({type:"Tag",payload:t}));return r.value&&e.push({type:"AddButton"}),e}const f=a.ref(k());function E(e){l.value=e,f.value=k()}const N=a.computed(()=>f.value.findIndex(e=>e.type==="Input")),K=L(o,c,l,f),{dragstart:W,dragenter:H,dragover:X,dragend:_}=K;a.watch(()=>o.data,e=>E(e));const q=a.computed(()=>{const e={"farris-tags":!0,"farris-tags-checkable":p.value,"farris-tags-nowrap":!R.value};return y.value.split(" ").reduce((t,n)=>(t[n]=!0,t),e),e});function F(e){const t={"farris-tag-item":!0,"farris-tag-item-checked":p.value&&e.checked,"farris-tag-item-checkable":p.value,"farris-tag-item-has-color":x.value,"farris-tag-item-actived":I.value===e.name};if(T.value){const n=`farris-tag-item-${T.value}`;t[n]=!0}return t}const $=a.computed(()=>{const e={};return C.value&&C.value.split(";").reduce((t,n)=>{const s=n.split(":");return t[s[0]]=s[1],t},e),e});function z(e,t){p.value&&t.selectable&&(t.checked=!t.checked,I.value=t.checked?t.name:"",t.checked&&l.value.filter(n=>n.name!==t.name).forEach(n=>{n.checked=!t.checked}),c.emit("change",l.value),c.emit("selectionChange",t))}function G(e,t){let n;switch(e.key){case"Backspace":l.value=l.value.filter(s=>s.name!==t.name),c.emit("change",l.value);break;case"ArrowLeft":n=Math.max(v.value.scrollLeft+20,0),v.value.scrollLeft=n;break;case"ArrowRight":n=Math.max(v.value.scrollLeft-20,0),v.value.scrollLeft=n}}function J(e,t){const n=l.value.findIndex(s=>s.name===t.name);if(n>-1){const[s]=l.value.splice(n,1);f.value=k(),c.emit("change",l.value),c.emit("remove",l.value,s,n)}e.stopPropagation()}const Q=a.computed(()=>({"farris-tag-item":!0,"farris-tag-add-button":!0,"farris-tag-add-button-disabled":!M.value}));function de(e){}function U(){return a.createVNode("li",{class:Q.value,onClick:e=>void 0},[a.createVNode("span",{class:"f-icon f-icon-amplification"},null),a.createVNode("span",{class:"farris-tag-add-text"},[b.value])])}function Y(e){if(e&&!e.innerText){const t=N.value;if(t>0){const[n]=l.value.splice(t-1,1);f.value.splice(t-1,1),c.emit("remove",l.value,n,t-1)}}}function V(e,t,n){e>-1&&(l.value.splice(e,0,{name:t,value:n,selectable:p.value}),f.value=k(),c.emit("change",l.value))}function O(e){if(e&&e.innerText){const t=e.innerText,n=N.value;V(n,t,t),e.innerText=""}}function Z(e){const t=e.target;t&&(t.innerText?O(t):c.emit("change",l.value))}function ee(e){e.key==="Enter"&&O(e.target),e.key==="Backspace"&&(Y(e.target),a.nextTick(()=>{h.value&&h.value.focus()}))}function te(){return a.createVNode("li",{class:"farris-tag-input-box"},[a.createVNode("div",{ref:h,class:"form-control",contenteditable:"true",onKeyup:ee,onBlur:Z},null)])}function ae(e,t){return a.createVNode("li",{class:F(e),style:$.value,tabindex:0,id:e.name,key:e.name,onClick:n=>z(n,e),onKeydown:n=>G(n,e),draggable:"true",onDragstart:n=>W(n,e,t),onDragenter:n=>H(n,t),onDragend:n=>_(n,e),onDragover:n=>X(n,t)},[a.createVNode("div",{title:e.name,class:"tag-box"},[e.name]),i.value&&a.createVNode("span",{class:"tag-delete"},[a.createVNode("i",{class:"f-icon f-icon-close",onClick:n=>J(n,e)},null)])])}function ne(){return f.value.map((e,t)=>{switch(e.type){case"Tag":return ae(e.payload,t);case"AddButton":return U();case"Input":return te()}})}const le=a.computed(()=>({"farris-tags-item-container":!0,"farris-tag-item-capsule":w.value==="capsule"}));function oe(e){const t=Math.max(v.value.scrollLeft-e.deltaX,0);v.value.scrollLeft=t}function se(e){const t=v.value,n=l.value.length-1;if(t){const s=Array.from(t.children).filter(g=>g.className.indexOf("farris-tag-item")>-1).findIndex(g=>{const m=g.getBoundingClientRect(),S=window.getComputedStyle(g),j=parseInt(S["margin-left"],10)+m.width+parseInt(S["margin-right"],10);return m.left+j>e});if(s>-1)return s}return n}function re(e){if(d.value){const n=se(e.clientX)+1,g=f.value.filter(m=>m.type!=="Input");g.splice(n,0,{type:"Input"}),f.value=g,a.nextTick(()=>{h.value&&h.value.focus()})}}function ce(e){var n;e.preventDefault(),e.stopPropagation();const t=(n=e.dataTransfer)==null?void 0:n.getData("Text");if(t){const s=t.split(":"),g=s[0],m=s[1];[...l.value].findIndex(D=>(console.log(`${D.value} === ${m} is ${D.value===m}`),D.value===m))>-1||V(l.value.length,g,m)}}function ie(e){e.preventDefault()}return()=>a.createVNode("div",{class:q.value,onClick:re,onDrop:ce,onDragover:ie},[a.createVNode("ul",{ref:v,class:le.value,onWheel:e=>oe(e)},[ne()])])}}),P={install(o){o.component(B.name,B)}};u.Tags=B,u.default=P,u.tagsProps=A,Object.defineProperties(u,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/tags/package.json
DELETED
package/tags/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.farris-tags .farris-tags-item-container{margin:0;padding:0}.farris-tags .farris-tags-item-container .farris-tag-item{display:inline-flex!important;padding:0 8px;margin:3px 6px 3px 0;line-height:24px;font-size:13px;color:#2d314e;background:#f6faff;border:1px solid #e6e6e6!important;white-space:nowrap;border-radius:3px;cursor:default;opacity:1;transition:all .3s cubic-bezier(.78,.14,.15,.86);max-width:9rem}.farris-tags .farris-tags-item-container .farris-tag-item a,.farris-tags .farris-tags-item-container .farris-tag-item a:hover{color:#000000d9}.farris-tags .farris-tags-item-container .farris-tag-item>a:first-child:last-child{display:inline-flex;margin:0 -8px;padding:0 8px}.farris-tags .farris-tags-item-container .farris-tag-item .tag-box{text-overflow:ellipsis;overflow:hidden;word-break:break-all;white-space:nowrap;display:inline-flex;max-width:7rem;vertical-align:middle}.farris-tags .farris-tags-item-container .farris-tag-item .tag-delete{display:inline-block;margin-left:6px;color:#0003;cursor:pointer;transition:all .3s cubic-bezier(.78,.14,.15,.86)}.farris-tags .farris-tags-item-container .farris-tag-item .tag-delete:hover{color:#000000d9}.farris-tags .farris-tags-item-container .farris-tag-item>.f-icon{font-size:12px}.farris-tags .farris-tags-item-container .farris-tag-item>.f-icon+span,.farris-tags .farris-tags-item-container .farris-tag-item>span+.f-icon{margin-left:7px}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-success{color:#52c41a;background:#f6ffed;border-color:#b7eb8f}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-info{color:#1890ff;background:#e6f7ff;border-color:#91d5ff}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-error{color:#f5222d;background:#fff1f0;border-color:#ffa39e}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-warning{color:#fa8c16;background:#fff7e6;border-color:#ffd591}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-default{color:#2d314e;background:#f6faff;border:1px solid #e6e6e6}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked){cursor:pointer}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked):active{color:#59a1ff}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked):hover{color:#59a1ff}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-checkdisabled{background-color:transparent;border-color:transparent;cursor:not-allowed;color:#00000073}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-checked{background-color:#fff;border-color:#2a87ff;color:#2a87ff}.farris-tags .farris-tags-item-container .farris-tag-item:last-child{margin-right:0}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-actived,.farris-tags .farris-tags-item-container .farris-tag-item:active{background-color:#2a87ff;color:#fff}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-actived .tag-delete,.farris-tags .farris-tags-item-container .farris-tag-item:active .tag-delete{color:#fff}.farris-tags .farris-tags-item-container .farris-tag-add-button{cursor:pointer;background:#f9f9f9;border:1px dashed #babdc9}.farris-tags .farris-tags-item-container .farris-tag-add-button .farris-tag-add-text{color:#00000073;line-height:24px}.farris-tags .farris-tags-item-container .farris-tag-add-button .f-icon{color:#0003;line-height:24px}.farris-tags .farris-tags-item-container .farris-tag-add-button:hover{background-color:#f9f9f9;border-color:#59a1ff}.farris-tags .farris-tags-item-container .farris-tag-add-button:hover .farris-tag-add-text,.farris-tags .farris-tags-item-container .farris-tag-add-button:hover .f-icon{color:#59a1ff}.farris-tags .farris-tags-item-container .farris-tag-add-button.farris-tag-add-button-disabled{background-color:#f7f7f7;border-color:#dcdcdc;border-style:solid;cursor:not-allowed}.farris-tags .farris-tags-item-container .farris-tag-add-button.farris-tag-add-button-disabled .farris-tag-add-text{color:#00000040}.farris-tags .farris-tags-item-container .farris-tag-add-button.farris-tag-add-button-disabled:hover{background-color:#f7f7f7;border-color:#dcdcdc}.farris-tags .farris-tags-item-container .farris-tag-add-button.farris-tag-add-button-disabled:hover .farris-tag-add-text,.farris-tags .farris-tags-item-container .farris-tag-add-button.farris-tag-add-button-disabled:hover .f-icon{color:#00000040}.farris-tags .farris-tags-item-container .farris-tag-input-box{display:inline-flex!important;padding:0;margin:2px 3px 2px -3px;line-height:22px;font-size:13px}.farris-tags .farris-tags-item-container .farris-tag-input-box .form-control{padding:2px 0;min-width:2px;border:none;background:none;line-height:inherit;text-wrap:nowrap;width:100%!important;height:22px!important}.farris-tags .farris-tags-item-container .farris-tag-input-box .form-control:focus{box-shadow:none}.farris-tags .farris-tags-item-container .farris-tag-input-box .form-control:focus-visible{outline:none}.farris-tags .farris-tags-item-container.farris-tag-item-capsule .farris-tag-item{border-radius:24px}.farris-tags .farris-tags-item-container.farris-tag-item-capsule .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked){background:#ffffff;border:1px solid #e6e6e6;cursor:pointer}.farris-tags .farris-tags-item-container.farris-tag-item-capsule .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked):active{color:#59a1ff}.farris-tags .farris-tags-item-container.farris-tag-item-capsule .farris-tag-item.farris-tag-item-checkable:not(.farris-tag-item-checked):hover{color:#59a1ff}.farris-tags .farris-tags-item-container.farris-tag-item-capsule .farris-tag-item.farris-tag-item-checked{background-color:#2a87ff0f;border-color:#2a87ff29;color:#2a87ff}.farris-tags.farris-tags-checkable .farris-tag-item{line-height:22px}.farris-tags.farris-tags-nowrap{overflow:hidden}.farris-tags.farris-tags-nowrap .farris-tags-item-container{display:flex;flex-wrap:nowrap;overflow:hidden}.farris-tags .farris-tags-item-container .farris-tag-item.farris-tag-item-warning{color:#f5a144;border-color:#fad0a1;background:#fef5ec}
|
package/text/index.esm.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, ref as e, computed as l, createVNode as p } from "vue";
|
|
2
|
-
const v = {
|
|
3
|
-
/**
|
|
4
|
-
* 组件值
|
|
5
|
-
*/
|
|
6
|
-
modelValue: { type: String, default: "" }
|
|
7
|
-
}, s = /* @__PURE__ */ i({
|
|
8
|
-
name: "FText",
|
|
9
|
-
props: v,
|
|
10
|
-
emits: ["update:modelValue"],
|
|
11
|
-
setup(o, d) {
|
|
12
|
-
const n = e(!0), t = e(!0), r = e(""), a = e(0), u = e(0), x = e(o.modelValue), c = l(() => ({
|
|
13
|
-
"f-form-control-text": !n.value,
|
|
14
|
-
"f-form-context-textarea": n,
|
|
15
|
-
"f-component-text-auto-size": t.value
|
|
16
|
-
})), m = l(() => ({
|
|
17
|
-
textalign: r.value,
|
|
18
|
-
height: !t.value && a.value > 0 ? `${a.value}px` : "",
|
|
19
|
-
"min-height": !t.value && a.value > 0 ? `${a.value}px` : "",
|
|
20
|
-
"max-height": !t.value && u.value > 0 ? `${u.value}px` : ""
|
|
21
|
-
}));
|
|
22
|
-
return l(() => ""), () => p("span", {
|
|
23
|
-
class: c.value,
|
|
24
|
-
style: m.value
|
|
25
|
-
}, [x.value]);
|
|
26
|
-
}
|
|
27
|
-
}), h = {
|
|
28
|
-
install(o) {
|
|
29
|
-
o.component(s.name, s);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
s as Text,
|
|
34
|
-
h as default,
|
|
35
|
-
v as textProps
|
|
36
|
-
};
|
package/text/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.text={},t.Vue))})(this,function(t,e){"use strict";const a={modelValue:{type:String,default:""}},l=e.defineComponent({name:"FText",props:a,emits:["update:modelValue"],setup(u,p){const s=e.ref(!0),n=e.ref(!0),f=e.ref(""),o=e.ref(0),i=e.ref(0),c=e.ref(u.modelValue),d=e.computed(()=>({"f-form-control-text":!s.value,"f-form-context-textarea":s,"f-component-text-auto-size":n.value})),m=e.computed(()=>({textalign:f.value,height:!n.value&&o.value>0?`${o.value}px`:"","min-height":!n.value&&o.value>0?`${o.value}px`:"","max-height":!n.value&&i.value>0?`${i.value}px`:""}));return e.computed(()=>""),()=>e.createVNode("span",{class:d.value,style:m.value},[c.value])}}),r={install(u){u.component(l.name,l)}};t.Text=l,t.default=r,t.textProps=a,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|