@farris/ui-vue 1.0.0-beta.5 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/index.esm.js +318 -56
- package/accordion/index.umd.js +1 -1
- package/accordion/package.json +2 -2
- package/avatar/index.esm.js +28 -1
- package/avatar/package.json +2 -2
- package/button/index.esm.js +133 -68
- package/button/index.umd.js +1 -1
- package/button/package.json +2 -2
- package/button-edit/index.esm.js +1130 -222
- package/button-edit/index.umd.js +1 -1
- package/button-edit/package.json +2 -2
- package/button-edit/style.css +1 -0
- package/calculator/index.esm.js +315 -0
- package/calculator/index.umd.js +1 -0
- package/calculator/package.json +8 -0
- package/calculator/style.css +1 -0
- package/calendar/index.esm.js +778 -0
- package/calendar/index.umd.js +1 -0
- package/calendar/package.json +8 -0
- package/calendar/style.css +1 -0
- package/capsule/index.esm.js +130 -0
- package/capsule/index.umd.js +1 -0
- package/capsule/package.json +8 -0
- package/capsule/style.css +1 -0
- package/checkbox/index.esm.js +217 -63
- package/checkbox/index.umd.js +1 -1
- package/checkbox/package.json +2 -2
- package/color-picker/index.esm.js +1551 -0
- package/color-picker/index.umd.js +16 -0
- package/color-picker/package.json +8 -0
- package/color-picker/style.css +1 -0
- package/combo-list/index.esm.js +2136 -374
- package/combo-list/index.umd.js +1 -1
- package/combo-list/package.json +2 -2
- package/combo-list/style.css +1 -0
- package/component/index.esm.js +176 -0
- package/component/index.umd.js +1 -0
- package/component/package.json +8 -0
- package/condition/index.esm.js +13562 -0
- package/condition/index.umd.js +1 -0
- package/condition/package.json +8 -0
- package/condition/style.css +1 -0
- package/content-container/index.esm.js +242 -0
- package/content-container/index.umd.js +1 -0
- package/content-container/package.json +8 -0
- package/data-grid/index.esm.js +13384 -1203
- package/data-grid/index.umd.js +1 -1
- package/data-grid/package.json +2 -2
- package/data-grid/style.css +1 -1
- package/date-picker/index.esm.js +2136 -1057
- package/date-picker/index.umd.js +1 -1
- package/date-picker/package.json +2 -2
- package/date-picker/style.css +1 -1
- package/designer-canvas/index.esm.js +15232 -0
- package/designer-canvas/index.umd.js +1 -0
- package/designer-canvas/package.json +8 -0
- package/designer-canvas/style.css +1 -0
- package/discussion-editor/index.esm.js +3559 -0
- package/discussion-editor/index.umd.js +16 -0
- package/discussion-editor/package.json +8 -0
- package/discussion-editor/style.css +1 -0
- package/discussion-list/index.esm.js +111 -0
- package/discussion-list/index.umd.js +1 -0
- package/discussion-list/package.json +8 -0
- package/discussion-list/style.css +1 -0
- package/dropdown/index.esm.js +214 -0
- package/dropdown/index.umd.js +1 -0
- package/dropdown/package.json +8 -0
- package/dropdown/style.css +1 -0
- package/dynamic-form/index.esm.js +13560 -0
- package/dynamic-form/index.umd.js +1 -0
- package/dynamic-form/package.json +8 -0
- package/dynamic-form/style.css +1 -0
- package/dynamic-resolver/index.esm.js +41 -0
- package/dynamic-resolver/index.umd.js +1 -0
- package/dynamic-resolver/package.json +8 -0
- package/dynamic-view/index.esm.js +13600 -0
- package/dynamic-view/index.umd.js +1 -0
- package/dynamic-view/package.json +8 -0
- package/dynamic-view/style.css +1 -0
- package/farris.all.esm.js +25213 -5571
- package/farris.all.umd.js +24 -1
- package/filter-bar/index.esm.js +549 -0
- package/filter-bar/index.umd.js +1 -0
- package/filter-bar/package.json +8 -0
- package/filter-bar/style.css +1 -0
- package/image-cropper/index.esm.js +720 -0
- package/image-cropper/index.umd.js +1 -0
- package/image-cropper/package.json +8 -0
- package/image-cropper/style.css +1 -0
- package/input-group/index.esm.js +549 -0
- package/input-group/index.umd.js +1 -0
- package/input-group/package.json +8 -0
- package/input-group/style.css +1 -0
- package/list-nav/index.esm.js +61 -0
- package/list-nav/index.umd.js +1 -0
- package/list-nav/package.json +8 -0
- package/list-nav/style.css +1 -0
- package/list-view/index.esm.js +516 -124
- package/list-view/index.umd.js +1 -1
- package/list-view/package.json +2 -2
- package/list-view/style.css +1 -1
- package/loading/index.esm.js +124 -0
- package/loading/index.umd.js +8 -0
- package/loading/package.json +8 -0
- package/loading/style.css +1 -0
- package/locale/index.esm.js +1868 -0
- package/locale/index.umd.js +1 -0
- package/locale/package.json +8 -0
- package/message-box/index.esm.js +420 -347
- package/message-box/index.umd.js +1 -1
- package/message-box/package.json +2 -2
- package/message-box/style.css +1 -0
- package/modal/index.esm.js +139 -92
- package/modal/index.umd.js +1 -1
- package/modal/package.json +2 -2
- package/modal/style.css +1 -0
- package/nav/index.esm.js +456 -0
- package/nav/index.umd.js +16 -0
- package/nav/package.json +8 -0
- package/nav/style.css +1 -0
- package/notify/index.esm.js +2 -2
- package/notify/package.json +2 -2
- package/order/index.esm.js +2270 -0
- package/order/index.umd.js +1 -0
- package/order/package.json +8 -0
- package/order/style.css +1 -0
- package/package.json +8 -5
- package/page-footer/index.esm.js +94 -0
- package/page-footer/index.umd.js +1 -0
- package/page-footer/package.json +8 -0
- package/page-header/index.esm.js +230 -0
- package/page-header/index.umd.js +1 -0
- package/page-header/package.json +8 -0
- package/pagination/index.esm.js +147 -141
- package/pagination/index.umd.js +1 -1
- package/pagination/package.json +2 -2
- package/popover/index.esm.js +194 -59
- package/popover/index.umd.js +1 -1
- package/popover/package.json +2 -2
- package/popover/style.css +1 -1
- package/propress/index.esm.js +108 -0
- package/propress/index.umd.js +1 -0
- package/propress/package.json +8 -0
- package/propress/style.css +1 -0
- package/radio-group/index.esm.js +192 -50
- package/radio-group/index.umd.js +1 -1
- package/radio-group/package.json +2 -2
- package/rate/index.esm.js +168 -0
- package/rate/index.umd.js +1 -0
- package/rate/package.json +8 -0
- package/rate/style.css +1 -0
- package/response-toolbar/index.esm.js +433 -0
- package/response-toolbar/index.umd.js +1 -0
- package/response-toolbar/package.json +8 -0
- package/search-box/index.esm.js +208 -0
- package/search-box/index.umd.js +1 -0
- package/search-box/package.json +8 -0
- package/search-box/style.css +1 -0
- package/section/index.esm.js +341 -45
- package/section/index.umd.js +1 -1
- package/section/package.json +2 -2
- package/section/style.css +1 -0
- package/splitter/index.esm.js +491 -0
- package/splitter/index.umd.js +1 -0
- package/splitter/package.json +8 -0
- package/splitter/style.css +1 -0
- package/step/index.esm.js +117 -0
- package/step/index.umd.js +1 -0
- package/step/package.json +8 -0
- package/step/style.css +1 -0
- package/style.css +3 -3
- package/switch/index.esm.js +159 -40
- package/switch/index.umd.js +1 -1
- package/switch/package.json +2 -2
- package/switch/style.css +1 -0
- package/tabs/index.esm.js +1563 -310
- package/tabs/index.umd.js +1 -1
- package/tabs/package.json +2 -2
- package/tabs/style.css +1 -1
- package/tags/index.esm.js +287 -0
- package/tags/index.umd.js +1 -0
- package/tags/package.json +8 -0
- package/tags/style.css +1 -0
- package/text/index.esm.js +4 -1
- package/text/package.json +2 -2
- package/time-picker/index.esm.js +1465 -0
- package/time-picker/index.umd.js +1 -0
- package/time-picker/package.json +8 -0
- package/time-picker/style.css +1 -0
- package/tooltip/index.esm.js +1 -1
- package/tooltip/package.json +2 -2
- package/transfer/index.esm.js +642 -0
- package/transfer/index.umd.js +1 -0
- package/transfer/package.json +8 -0
- package/transfer/style.css +1 -0
- package/tree-view/index.esm.js +701 -0
- package/tree-view/index.umd.js +1 -0
- package/tree-view/package.json +8 -0
- package/tree-view/style.css +1 -0
- package/types/accordion/index.d.ts +2 -0
- package/types/accordion/src/accordion.component.d.ts +4 -68
- package/types/accordion/src/accordion.props.d.ts +2 -33
- package/types/accordion/src/components/accordion-item.component.d.ts +4 -36
- package/types/accordion/src/components/accordion-item.props.d.ts +2 -17
- package/types/accordion/src/designer/accordion-item.design.component.d.ts +6 -0
- package/types/accordion/src/designer/accordion.design.component.d.ts +6 -0
- package/types/accordion/src/schema/schema-mapper.d.ts +2 -0
- package/types/avatar/src/avatar.component.d.ts +4 -2
- package/types/button/index.d.ts +2 -1
- package/types/button/src/button-group.component.d.ts +5 -3
- package/types/button/src/button.component.d.ts +11 -3
- package/types/button/src/button.props.d.ts +6 -0
- package/types/button-edit/index.d.ts +2 -0
- package/types/button-edit/src/button-edit.component.d.ts +6 -0
- package/types/button-edit/src/button-edit.props.d.ts +5 -119
- package/types/button-edit/src/components/button-group.component.d.ts +3 -0
- package/types/button-edit/src/components/popup-container.component.d.ts +4 -0
- package/types/button-edit/src/components/text-edit.component.d.ts +4 -0
- package/types/button-edit/src/composition/types.d.ts +15 -1
- package/types/button-edit/src/composition/use-button.d.ts +2 -2
- package/types/button-edit/src/composition/use-clear.d.ts +2 -2
- package/types/button-edit/src/composition/use-popup.d.ts +4 -0
- package/types/button-edit/src/composition/use-text-box.d.ts +2 -2
- package/types/button-edit/src/schema/schema-mapper.d.ts +2 -0
- package/types/{data-grid/src/composition/use-fit-column.d.ts → calculator/index.d.ts} +8 -5
- package/types/calculator/src/calculator.component.d.ts +8 -0
- package/types/calculator/src/calculator.props.d.ts +23 -0
- package/types/calculator/src/composition/use-calculator.d.ts +26 -0
- package/types/calendar/index.d.ts +21 -0
- package/types/calendar/src/calendar.props.d.ts +26 -0
- package/types/calendar/src/components/day/day-view.props.d.ts +34 -0
- package/types/calendar/src/components/header/header.props.d.ts +24 -0
- package/types/calendar/src/components/month/month-view.props.d.ts +69 -0
- package/types/calendar/src/components/week/week-view.component.d.ts +106 -0
- package/types/calendar/src/components/week/week-view.props.d.ts +51 -0
- package/types/calendar/src/composition/types.d.ts +57 -0
- package/types/calendar/src/composition/use-calendar.d.ts +2 -0
- package/types/calendar/src/composition/use-compare.d.ts +2 -0
- package/types/calendar/src/composition/use-date.d.ts +2 -0
- package/types/calendar/src/composition/use-event.d.ts +30 -0
- package/types/calendar/src/composition/use-month.d.ts +2 -0
- package/types/calendar/src/types/calendar.d.ts +13 -0
- package/types/calendar/src/types/common.d.ts +32 -0
- package/types/calendar/src/types/month-view.d.ts +23 -0
- package/types/calendar/src/types/month.d.ts +20 -0
- package/types/calendar/src/types/schedule.d.ts +35 -0
- package/types/capsule/index.d.ts +8 -0
- package/types/capsule/src/capsule.props.d.ts +67 -0
- package/types/checkbox/index.d.ts +1 -0
- package/types/checkbox/src/checkbox-group.component.d.ts +4 -146
- package/types/checkbox/src/checkbox-group.props.d.ts +2 -106
- package/types/checkbox/src/composition/types.d.ts +3 -3
- package/types/checkbox/src/schema/schema-mapper.d.ts +2 -0
- package/types/{combo-list/src/composition → color-picker}/index.d.ts +7 -3
- package/types/color-picker/src/color-picker.props.d.ts +62 -0
- package/types/color-picker/src/composition/class/base-color.class.d.ts +3 -0
- package/types/color-picker/src/composition/class/cmyk.class.d.ts +21 -0
- package/types/color-picker/src/composition/class/colors-table.class.d.ts +154 -0
- package/types/color-picker/src/composition/class/control.class.d.ts +47 -0
- package/types/color-picker/src/composition/class/helper.functions.d.ts +4 -0
- package/types/color-picker/src/composition/class/hsla.class.d.ts +21 -0
- package/types/color-picker/src/composition/class/hsva.class.d.ts +21 -0
- package/types/color-picker/src/composition/class/rgba.class.d.ts +21 -0
- package/types/color-picker/src/composition/component/alpha.d.ts +34 -0
- package/types/color-picker/src/composition/component/hue.d.ts +40 -0
- package/types/color-picker/src/composition/component/preset.d.ts +43 -0
- package/types/color-picker/src/composition/component/props/alpha.props.d.ts +16 -0
- package/types/color-picker/src/composition/component/props/hue.props.d.ts +19 -0
- package/types/color-picker/src/composition/component/props/preset.props.d.ts +20 -0
- package/types/color-picker/src/composition/component/props/sv-panel.props.d.ts +20 -0
- package/types/color-picker/src/composition/component/sv-panel.d.ts +43 -0
- package/types/combo-list/index.d.ts +2 -2
- package/types/combo-list/src/combo-list.props.d.ts +32 -263
- package/types/combo-list/src/components/list-container.props.d.ts +54 -0
- package/types/combo-list/src/composition/types.d.ts +10 -0
- package/types/combo-list/src/composition/use-data-source.d.ts +3 -0
- package/types/combo-list/src/designer/combo-list.design.component.d.ts +6 -0
- package/types/combo-list/src/schema/schema-mapper.d.ts +2 -0
- package/types/component/index.d.ts +26 -0
- package/types/component/src/component.props.d.ts +4 -0
- package/types/component/src/designer/types.d.ts +10 -0
- package/types/component/src/designer/use-designer-rules.d.ts +2 -0
- package/types/component/src/schema/schema-mapper.d.ts +2 -0
- package/types/{date-picker → condition}/index.d.ts +4 -8
- package/types/condition/src/composition/condition-value/checkbox-value.d.ts +13 -0
- package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +19 -0
- package/types/condition/src/composition/condition-value/date-picker-value.d.ts +25 -0
- package/types/condition/src/composition/condition-value/date-range-value.d.ts +18 -0
- package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +13 -0
- package/types/condition/src/composition/condition-value/dropdown-value.d.ts +18 -0
- package/types/condition/src/composition/condition-value/input-group-value.d.ts +21 -0
- package/types/condition/src/composition/condition-value/lookup-value.d.ts +21 -0
- package/types/condition/src/composition/condition-value/month-picker-value.d.ts +15 -0
- package/types/condition/src/composition/condition-value/month-range-value.d.ts +18 -0
- package/types/condition/src/composition/condition-value/number-range-value.d.ts +21 -0
- package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +13 -0
- package/types/condition/src/composition/condition-value/radio-group-value.d.ts +13 -0
- package/types/condition/src/composition/condition-value/text-value.d.ts +13 -0
- package/types/condition/src/composition/condition-value/types.d.ts +9 -0
- package/types/condition/src/composition/types.d.ts +41 -0
- package/types/condition/src/composition/use-compare.d.ts +40 -0
- package/types/condition/src/composition/use-condition-value.d.ts +2 -0
- package/types/condition/src/composition/use-condition.d.ts +2 -0
- package/types/condition/src/composition/use-field-config.d.ts +4 -0
- package/types/condition/src/composition/use-selection.d.ts +4 -0
- package/types/condition/src/condition.props.d.ts +58 -0
- package/types/condition/src/types.d.ts +144 -0
- package/types/{number-spinner/src/composition/use-data.d.ts → content-container/index.d.ts} +11 -4
- package/types/content-container/src/content-container.props.d.ts +4 -0
- package/types/content-container/src/designer/use-designer-rules.d.ts +3 -0
- package/types/content-container/src/schema/schema-mapper.d.ts +2 -0
- package/types/data-grid/index.d.ts +3 -0
- package/types/data-grid/src/components/data/data-area.component.d.ts +1 -1
- package/types/data-grid/src/components/editors/commands.component.d.ts +18 -0
- package/types/data-grid/src/components/editors/date-picker.component.d.ts +18 -2
- package/types/data-grid/src/components/editors/text-area-editor.component.d.ts +3 -2
- package/types/data-grid/src/components/editors/text-editor.component.d.ts +3 -2
- package/types/data-grid/src/components/filter/boolean-filter-editor.component.d.ts +2 -0
- package/types/data-grid/src/components/filter/column-filter-container.component.d.ts +19 -0
- package/types/data-grid/src/components/filter/date-filter-editor.component.d.ts +2 -0
- package/types/data-grid/src/components/filter/enum-filter-editor.component.d.ts +3 -0
- package/types/data-grid/src/components/filter/list-filter-editor.component.d.ts +2 -0
- package/types/data-grid/src/components/filter/numeric-filter-editor.component.d.ts +2 -0
- package/types/data-grid/src/components/filter/text-filter-editor.component.d.ts +3 -0
- package/types/data-grid/src/components/group-panel/group-panel.component.d.ts +5 -0
- package/types/data-grid/src/components/header/data-grid-header-handler.component.d.ts +21 -0
- package/types/data-grid/src/components/header/data-grid-header.component.d.ts +2 -2
- package/types/data-grid/src/components/pagination/data-grid-pagination.component.d.ts +3 -3
- package/types/data-grid/src/components/scrollbar/horizontal-scrollbar.component.d.ts +1 -1
- package/types/data-grid/src/components/scrollbar/vertical-scrollbar.component.d.ts +1 -1
- package/types/data-grid/src/components/settings/data-grid-settings-icon.component.d.ts +21 -0
- package/types/data-grid/src/components/summary/data-grid-summary.component.d.ts +1 -1
- package/types/data-grid/src/composition/types.d.ts +137 -11
- package/types/data-grid/src/composition/use-column-filter.d.ts +3 -0
- package/types/data-grid/src/composition/use-column.d.ts +3 -0
- package/types/data-grid/src/composition/use-command-column.d.ts +3 -0
- package/types/data-grid/src/composition/use-data-view.d.ts +13 -3
- package/types/data-grid/src/composition/use-drag-column.d.ts +4 -0
- package/types/data-grid/src/composition/use-filter-history.d.ts +2 -0
- package/types/data-grid/src/composition/use-row.d.ts +18 -2
- package/types/data-grid/src/composition/use-selection.d.ts +3 -0
- package/types/data-grid/src/composition/use-sort.d.ts +3 -0
- package/types/data-grid/src/composition/use-virtual-scroll.d.ts +1 -1
- package/types/data-grid/src/composition/use-visual-data-bound.d.ts +2 -0
- package/types/data-grid/src/composition/use-visual-data-cell.d.ts +3 -0
- package/types/data-grid/src/composition/use-visual-data-row.d.ts +3 -0
- package/types/data-grid/src/composition/use-visual-data.d.ts +2 -2
- package/types/data-grid/src/composition/use-visual-summary-row.d.ts +3 -0
- package/types/data-grid/src/data-grid.props.d.ts +23 -161
- package/types/data-grid/src/schema/schema-mapper.d.ts +2 -0
- package/types/date-picker/src/components/calendar/calendar.component.d.ts +8 -6
- package/types/date-picker/src/components/calendar-navbar/calendar-navbar.component.d.ts +6 -4
- package/types/date-picker/src/components/date-picker-container/date-picker-container.component.d.ts +15 -13
- package/types/date-picker/src/components/month/month.component.d.ts +7 -5
- package/types/date-picker/src/components/year/year.component.d.ts +6 -4
- package/types/date-picker/src/date-picker.component.d.ts +6 -0
- package/types/date-picker/src/date-picker.props.d.ts +2 -151
- package/types/date-picker/src/designer/date-picker.design.component.d.ts +6 -0
- package/types/date-picker/src/schema/schema-mapper.d.ts +2 -0
- package/types/designer-canvas/index.d.ts +8 -0
- package/types/designer-canvas/src/components/designer-item.props.d.ts +3 -0
- package/types/designer-canvas/src/components/designer-placeholder.props.d.ts +7 -0
- package/types/designer-canvas/src/components/maps.d.ts +3 -0
- package/types/designer-canvas/src/components/toolbox.props.d.ts +11 -0
- package/types/designer-canvas/src/composition/types.d.ts +27 -0
- package/types/designer-canvas/src/designer-canvas.props.d.ts +3 -0
- package/types/designer-canvas/src/types.d.ts +40 -0
- package/types/discussion-editor/discussion-editor.component.d.ts +121 -0
- package/types/discussion-editor/discussion-editor.props.d.ts +69 -0
- package/types/discussion-editor/index.d.ts +23 -0
- package/types/discussion-editor/src/composition/use-discussion-editor.d.ts +15 -0
- package/types/discussion-editor/src/types/interface.d.ts +22 -0
- package/types/discussion-list/discussion-list.component.d.ts +70 -0
- package/types/discussion-list/discussion-list.props.d.ts +52 -0
- package/types/discussion-list/index.d.ts +23 -0
- package/types/dropdown/index.d.ts +9 -0
- package/types/dropdown/src/composition/function/use-dropdown.d.ts +26 -0
- package/types/dropdown/src/composition/props/dropdown.item.props.d.ts +46 -0
- package/types/dropdown/src/composition/props/dropdown.props.d.ts +99 -0
- package/types/dropdown/src/dropdown.component.d.ts +179 -0
- package/types/dropdown/src/dropdown.item.component.d.ts +76 -0
- package/types/dropdown/src/types.d.ts +46 -0
- package/types/dynamic-form/index.d.ts +14 -0
- package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.props.d.ts +4 -0
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +15 -0
- package/types/dynamic-form/src/composition/types.d.ts +5 -0
- package/types/dynamic-form/src/dynamic-form.props.d.ts +3 -0
- package/types/dynamic-form/src/schema/schema-mapper.d.ts +2 -0
- package/types/dynamic-form/src/types.d.ts +17 -0
- package/types/dynamic-resolver/index.d.ts +3 -0
- package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +6 -0
- package/types/dynamic-resolver/src/props-resolver.d.ts +2 -0
- package/types/dynamic-resolver/src/schema-resolver.d.ts +5 -0
- package/types/dynamic-resolver/src/types.d.ts +1 -0
- package/types/dynamic-view/index.d.ts +8 -0
- package/types/dynamic-view/src/components/maps.d.ts +4 -0
- package/types/dynamic-view/src/dynamic-view.props.d.ts +15 -0
- package/types/filter-bar/index.d.ts +7 -0
- package/types/filter-bar/src/components/ellipsis-button.component.d.ts +3 -0
- package/types/filter-bar/src/components/filter-item.component.d.ts +5 -0
- package/types/filter-bar/src/components/toolbar-component.d.ts +4 -0
- package/types/filter-bar/src/composition/types.d.ts +14 -0
- package/types/filter-bar/src/composition/use-filter-items.d.ts +4 -0
- package/types/filter-bar/src/filter-bar.props.d.ts +53 -0
- package/types/filter-bar/src/types.d.ts +9 -0
- package/types/image-cropper/index.d.ts +23 -0
- package/types/image-cropper/src/composition/type.d.ts +44 -0
- package/types/image-cropper/src/composition/use-check-aspect-ratio.d.ts +2 -0
- package/types/image-cropper/src/composition/use-image-cropper.d.ts +20 -0
- package/types/image-cropper/src/image-cropper.component.d.ts +248 -0
- package/types/image-cropper/src/image-cropper.props.d.ts +153 -0
- package/types/index.d.ts +5 -0
- package/types/input-group/index.d.ts +25 -0
- package/types/input-group/src/components/appended-button.component.d.ts +4 -0
- package/types/input-group/src/components/text-edit.component.d.ts +4 -0
- package/types/input-group/src/composition/types.d.ts +37 -0
- package/types/input-group/src/composition/use-appended-button.d.ts +4 -0
- package/types/input-group/src/composition/use-clear.d.ts +4 -0
- package/types/input-group/src/composition/use-password.d.ts +4 -0
- package/types/input-group/src/composition/use-text-box.d.ts +4 -0
- package/types/input-group/src/input-group.props.d.ts +4 -0
- package/types/input-group/src/schema/schema-mapper.d.ts +2 -0
- package/types/list-nav/index.d.ts +23 -0
- package/types/list-nav/src/list-nav.component.d.ts +61 -0
- package/types/list-nav/src/list-nav.props.d.ts +51 -0
- package/types/list-view/src/components/header/content-header.component.d.ts +6 -0
- package/types/list-view/src/components/header/search-header.component.d.ts +6 -0
- package/types/list-view/src/components/list-view-checkbox.props.d.ts +7 -0
- package/types/list-view/src/composition/types.d.ts +40 -0
- package/types/list-view/src/composition/use-data-view.d.ts +4 -0
- package/types/list-view/src/composition/use-draggable.d.ts +4 -0
- package/types/list-view/src/composition/use-hover.d.ts +2 -0
- package/types/list-view/src/composition/use-item.d.ts +4 -0
- package/types/list-view/src/composition/use-remove.d.ts +4 -0
- package/types/list-view/src/composition/use-search.d.ts +5 -0
- package/types/list-view/src/composition/use-selection.d.ts +4 -0
- package/types/list-view/src/list-view.component.d.ts +203 -0
- package/types/list-view/src/list-view.props.d.ts +76 -7
- package/types/loading/index.d.ts +23 -0
- package/types/loading/src/composition/types.d.ts +19 -0
- package/types/loading/src/loading.component.d.ts +43 -0
- package/types/loading/src/loading.props.d.ts +35 -0
- package/types/loading/src/loading.service.d.ts +4 -0
- package/types/locale/src/lib/locale.service.d.ts +26 -0
- package/types/locale/src/lib/locales/en-us/avatar.d.ts +7 -0
- package/types/locale/src/lib/locales/en-us/batch-edit-dialog.d.ts +15 -0
- package/types/locale/src/lib/locales/en-us/collapse.d.ts +4 -0
- package/types/locale/src/lib/locales/en-us/combo.d.ts +4 -0
- package/types/locale/src/lib/locales/en-us/datagrid.d.ts +103 -0
- package/types/locale/src/lib/locales/en-us/discussion-group.d.ts +25 -0
- package/types/locale/src/lib/locales/en-us/filter-editor.d.ts +50 -0
- package/types/locale/src/lib/locales/en-us/filter-panel.d.ts +25 -0
- package/types/locale/src/lib/locales/en-us/footer.d.ts +4 -0
- package/types/locale/src/lib/locales/en-us/index.d.ts +568 -0
- package/types/locale/src/lib/locales/en-us/language-label.d.ts +8 -0
- package/types/locale/src/lib/locales/en-us/list-filter.d.ts +6 -0
- package/types/locale/src/lib/locales/en-us/list-view.d.ts +3 -0
- package/types/locale/src/lib/locales/en-us/loading.d.ts +3 -0
- package/types/locale/src/lib/locales/en-us/lookup-config.d.ts +38 -0
- package/types/locale/src/lib/locales/en-us/lookup.d.ts +48 -0
- package/types/locale/src/lib/locales/en-us/messager.d.ts +28 -0
- package/types/locale/src/lib/locales/en-us/multi-select.d.ts +15 -0
- package/types/locale/src/lib/locales/en-us/notify.d.ts +3 -0
- package/types/locale/src/lib/locales/en-us/numeric.d.ts +7 -0
- package/types/locale/src/lib/locales/en-us/page-walker.d.ts +6 -0
- package/types/locale/src/lib/locales/en-us/pagination.d.ts +17 -0
- package/types/locale/src/lib/locales/en-us/progress-step.d.ts +3 -0
- package/types/locale/src/lib/locales/en-us/query-condition.d.ts +33 -0
- package/types/locale/src/lib/locales/en-us/query-solution.d.ts +41 -0
- package/types/locale/src/lib/locales/en-us/response-toolbar.d.ts +3 -0
- package/types/locale/src/lib/locales/en-us/scrollspy.d.ts +3 -0
- package/types/locale/src/lib/locales/en-us/section.d.ts +4 -0
- package/types/locale/src/lib/locales/en-us/sidebar.d.ts +3 -0
- package/types/locale/src/lib/locales/en-us/sort-editor.d.ts +15 -0
- package/types/locale/src/lib/locales/en-us/tabs.d.ts +3 -0
- package/types/locale/src/lib/locales/en-us/tag.d.ts +4 -0
- package/types/locale/src/lib/locales/en-us/text.d.ts +10 -0
- package/types/locale/src/lib/locales/en-us/treetable.d.ts +8 -0
- package/types/locale/src/lib/locales/en-us/verify-detail.d.ts +5 -0
- package/types/locale/src/lib/locales/index.d.ts +1712 -0
- package/types/locale/src/lib/locales/zh-CHT/avatar.d.ts +7 -0
- package/types/locale/src/lib/locales/zh-CHT/batch-edit-dialog.d.ts +15 -0
- package/types/locale/src/lib/locales/zh-CHT/collapse.d.ts +4 -0
- package/types/locale/src/lib/locales/zh-CHT/combo.d.ts +4 -0
- package/types/locale/src/lib/locales/zh-CHT/datagrid.d.ts +103 -0
- package/types/locale/src/lib/locales/zh-CHT/discussion-group.d.ts +25 -0
- package/types/locale/src/lib/locales/zh-CHT/filter-editor.d.ts +50 -0
- package/types/locale/src/lib/locales/zh-CHT/filter-panel.d.ts +25 -0
- package/types/locale/src/lib/locales/zh-CHT/footer.d.ts +4 -0
- package/types/locale/src/lib/locales/zh-CHT/index.d.ts +568 -0
- package/types/locale/src/lib/locales/zh-CHT/language-label.d.ts +8 -0
- package/types/locale/src/lib/locales/zh-CHT/list-filter.d.ts +6 -0
- package/types/locale/src/lib/locales/zh-CHT/list-view.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-CHT/loading.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-CHT/lookup-config.d.ts +38 -0
- package/types/locale/src/lib/locales/zh-CHT/lookup.d.ts +48 -0
- package/types/locale/src/lib/locales/zh-CHT/messager.d.ts +28 -0
- package/types/locale/src/lib/locales/zh-CHT/multi-select.d.ts +15 -0
- package/types/locale/src/lib/locales/zh-CHT/notify.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-CHT/numeric.d.ts +7 -0
- package/types/locale/src/lib/locales/zh-CHT/page-walker.d.ts +6 -0
- package/types/locale/src/lib/locales/zh-CHT/pagination.d.ts +17 -0
- package/types/locale/src/lib/locales/zh-CHT/progress-step.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-CHT/query-condition.d.ts +33 -0
- package/types/locale/src/lib/locales/zh-CHT/query-solution.d.ts +41 -0
- package/types/locale/src/lib/locales/zh-CHT/response-toolbar.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-CHT/scrollspy.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-CHT/section.d.ts +4 -0
- package/types/locale/src/lib/locales/zh-CHT/sidebar.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-CHT/sort-editor.d.ts +15 -0
- package/types/locale/src/lib/locales/zh-CHT/tabs.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-CHT/tag.d.ts +4 -0
- package/types/locale/src/lib/locales/zh-CHT/text.d.ts +10 -0
- package/types/locale/src/lib/locales/zh-CHT/treetable.d.ts +8 -0
- package/types/locale/src/lib/locales/zh-CHT/verify-detail.d.ts +5 -0
- package/types/locale/src/lib/locales/zh-cn/avatar.d.ts +7 -0
- package/types/locale/src/lib/locales/zh-cn/batch-edit-dialog.d.ts +15 -0
- package/types/locale/src/lib/locales/zh-cn/collapse.d.ts +4 -0
- package/types/locale/src/lib/locales/zh-cn/combo.d.ts +4 -0
- package/types/locale/src/lib/locales/zh-cn/datagrid.d.ts +105 -0
- package/types/locale/src/lib/locales/zh-cn/discussion-group.d.ts +25 -0
- package/types/locale/src/lib/locales/zh-cn/filter-editor.d.ts +50 -0
- package/types/locale/src/lib/locales/zh-cn/filter-panel.d.ts +25 -0
- package/types/locale/src/lib/locales/zh-cn/footer.d.ts +4 -0
- package/types/locale/src/lib/locales/zh-cn/index.d.ts +574 -0
- package/types/locale/src/lib/locales/zh-cn/language-label.d.ts +8 -0
- package/types/locale/src/lib/locales/zh-cn/list-filter.d.ts +6 -0
- package/types/locale/src/lib/locales/zh-cn/list-view.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-cn/loading.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-cn/lookup-config.d.ts +38 -0
- package/types/locale/src/lib/locales/zh-cn/lookup.d.ts +48 -0
- package/types/locale/src/lib/locales/zh-cn/messager.d.ts +32 -0
- package/types/locale/src/lib/locales/zh-cn/multi-select.d.ts +15 -0
- package/types/locale/src/lib/locales/zh-cn/notify.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-cn/numeric.d.ts +7 -0
- package/types/locale/src/lib/locales/zh-cn/page-walker.d.ts +6 -0
- package/types/locale/src/lib/locales/zh-cn/pagination.d.ts +17 -0
- package/types/locale/src/lib/locales/zh-cn/progress-step.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-cn/query-condition.d.ts +33 -0
- package/types/locale/src/lib/locales/zh-cn/query-solution.d.ts +41 -0
- package/types/locale/src/lib/locales/zh-cn/response-toolbar.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-cn/scrollspy.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-cn/section.d.ts +4 -0
- package/types/locale/src/lib/locales/zh-cn/sidebar.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-cn/sort-editor.d.ts +15 -0
- package/types/locale/src/lib/locales/zh-cn/tabs.d.ts +3 -0
- package/types/locale/src/lib/locales/zh-cn/tag.d.ts +4 -0
- package/types/locale/src/lib/locales/zh-cn/text.d.ts +10 -0
- package/types/locale/src/lib/locales/zh-cn/treetable.d.ts +8 -0
- package/types/locale/src/lib/locales/zh-cn/verify-detail.d.ts +5 -0
- package/types/message-box/src/components/footer/footer.component.d.ts +4 -0
- package/types/message-box/src/components/message-content/reactive-content.component.d.ts +3 -0
- package/types/message-box/src/components/message-content/static-content.component.d.ts +3 -0
- package/types/message-box/src/components/message-detail/exception-message.component.d.ts +3 -0
- package/types/message-box/src/components/message-detail/static-message.component.d.ts +2 -0
- package/types/message-box/src/components/reactive-editor/textarea.component.d.ts +3 -0
- package/types/message-box/src/composition/types.d.ts +9 -0
- package/types/message-box/src/composition/use-copy.d.ts +1 -17
- package/types/message-box/src/composition/use-editor.d.ts +4 -0
- package/types/message-box/src/composition/use-feedback.d.ts +2 -0
- package/types/message-box/src/message-box.component.d.ts +21 -23
- package/types/message-box/src/message-box.props.d.ts +8 -6
- package/types/modal/index.d.ts +2 -1
- package/types/modal/src/modal.component.d.ts +7 -5
- package/types/modal/src/modal.service.d.ts +17 -0
- package/types/{data-grid/src/composition/use-edit.d.ts → nav/index.d.ts} +8 -3
- package/types/nav/src/composition/types.d.ts +6 -0
- package/types/nav/src/nav.component.d.ts +87 -0
- package/types/nav/src/nav.props.d.ts +62 -0
- package/types/notify/src/components/toast.component.d.ts +4 -2
- package/types/notify/src/notify.component.d.ts +130 -0
- package/types/notify/src/notify.service.d.ts +4 -0
- package/types/number-range/index.d.ts +1 -0
- package/types/number-range/src/components/spinner.component.d.ts +4 -0
- package/types/number-range/src/components/text-box.component.d.ts +4 -0
- package/types/number-range/src/composition/types.d.ts +31 -29
- package/types/number-range/src/composition/use-format.d.ts +4 -0
- package/types/number-range/src/composition/use-number.d.ts +4 -0
- package/types/number-range/src/composition/use-spinner.d.ts +4 -0
- package/types/number-range/src/composition/use-text-box.d.ts +4 -0
- package/types/number-range/src/number-range.component.d.ts +4 -245
- package/types/number-range/src/number-range.props.d.ts +3 -200
- package/types/number-range/src/schema/schema-mapper.d.ts +2 -0
- package/types/number-spinner/index.d.ts +2 -0
- package/types/number-spinner/src/components/spinner.component.d.ts +4 -0
- package/types/number-spinner/src/components/text-box.component.d.ts +4 -0
- package/types/number-spinner/src/composition/types.d.ts +33 -28
- package/types/number-spinner/src/composition/use-format.d.ts +4 -0
- package/types/number-spinner/src/composition/use-number.d.ts +4 -0
- package/types/number-spinner/src/composition/use-spinner.d.ts +4 -0
- package/types/number-spinner/src/composition/use-text-box.d.ts +4 -0
- package/types/number-spinner/src/designer/number-spinner.component.d.ts +6 -0
- package/types/number-spinner/src/number-spinner.component.d.ts +4 -200
- package/types/number-spinner/src/number-spinner.props.d.ts +3 -165
- package/types/number-spinner/src/schema/schema-mapper.d.ts +2 -0
- package/types/order/index.d.ts +8 -0
- package/types/order/src/order.props.d.ts +44 -0
- package/types/overlay/src/overlay.component.d.ts +10 -2
- package/types/overlay/src/overlay.props.d.ts +4 -1
- package/types/overlay/src/overlay.service.d.ts +16 -0
- package/types/page-footer/index.d.ts +8 -0
- package/types/page-footer/src/page-footer.props.d.ts +40 -0
- package/types/page-header/index.d.ts +10 -0
- package/types/page-header/src/page-header.props.d.ts +4 -0
- package/types/page-header/src/schema/schema-mapper.d.ts +2 -0
- package/types/pagination/src/components/pages/page-list.component.d.ts +1 -1
- package/types/pagination/src/pagination.components.d.ts +5 -3
- package/types/popover/src/composition/types.d.ts +24 -0
- package/types/popover/src/composition/use-host.d.ts +3 -0
- package/types/popover/src/composition/use-popup.d.ts +4 -0
- package/types/popover/src/composition/use-position.d.ts +4 -0
- package/types/popover/src/composition/use-resize.d.ts +4 -0
- package/types/popover/src/popover.component.d.ts +82 -2
- package/types/popover/src/popover.props.d.ts +37 -1
- package/types/propress/index.d.ts +8 -0
- package/types/propress/src/progress.props.d.ts +49 -0
- package/types/query-solution/index.d.ts +25 -0
- package/types/query-solution/src/designer/query-solution.design.component.d.ts +6 -0
- package/types/query-solution/src/query-solution.component.d.ts +6 -0
- package/types/query-solution/src/query-solution.d.ts +40 -0
- package/types/query-solution/src/query-solution.props.d.ts +19 -0
- package/types/query-solution/src/schema/preset-resolver.d.ts +5 -0
- package/types/query-solution/src/schema/schema-mapper.d.ts +2 -0
- package/types/radio-group/index.d.ts +1 -0
- package/types/radio-group/src/radio-group.component.d.ts +4 -89
- package/types/radio-group/src/radio-group.props.d.ts +2 -70
- package/types/radio-group/src/schema/schema-mapper.d.ts +2 -0
- package/types/{combo-list/src/composition/use-option.d.ts → rate/index.d.ts} +8 -4
- package/types/rate/src/rate.component.d.ts +124 -0
- package/types/rate/src/rate.props.d.ts +86 -0
- package/types/response-toolbar/index.d.ts +10 -0
- package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +5 -0
- package/types/response-toolbar/src/components/dropdown/toolbar-dropdown.component.d.ts +7 -0
- package/types/response-toolbar/src/composition/types.d.ts +9 -0
- package/types/response-toolbar/src/composition/use-icon.d.ts +2 -0
- package/types/response-toolbar/src/composition/use-toolbar-item.d.ts +2 -0
- package/types/response-toolbar/src/response-toolbar.props.d.ts +26 -0
- package/types/response-toolbar/src/types/response-toolbar-dropdwon-item.d.ts +13 -0
- package/types/response-toolbar/src/types/response-toolbar-group.d.ts +19 -0
- package/types/response-toolbar/src/types/response-toolbar-item-base.d.ts +36 -0
- package/types/response-toolbar/src/types/response-toolbar-item.d.ts +4 -0
- package/types/search-box/index.d.ts +24 -0
- package/types/search-box/src/components/search-box-container.props.d.ts +21 -0
- package/types/search-box/src/schema/schema-mapper.d.ts +2 -0
- package/types/search-box/src/search-box.props.d.ts +4 -0
- package/types/section/index.d.ts +2 -0
- package/types/section/src/schema/schema-mapper.d.ts +2 -0
- package/types/section/src/section.component.d.ts +4 -185
- package/types/section/src/section.props.d.ts +3 -86
- package/types/splitter/index.d.ts +10 -0
- package/types/splitter/src/components/splitter-pane.props.d.ts +5 -0
- package/types/splitter/src/composition/types.d.ts +23 -0
- package/types/splitter/src/composition/use-resize-handle.d.ts +3 -0
- package/types/splitter/src/composition/use-resize-pane.d.ts +3 -0
- package/types/splitter/src/schema/splitter-pane-schema-mapper.d.ts +2 -0
- package/types/splitter/src/schema/splitter-schema-mapper.d.ts +2 -0
- package/types/splitter/src/splitter.props.d.ts +5 -0
- package/types/step/index.d.ts +8 -0
- package/types/step/src/step.props.d.ts +46 -0
- package/types/switch/index.d.ts +1 -0
- package/types/switch/src/schema/schema-mapper.d.ts +2 -0
- package/types/switch/src/switch.component.d.ts +4 -64
- package/types/switch/src/switch.props.d.ts +3 -35
- package/types/tabs/index.d.ts +2 -0
- package/types/tabs/src/components/more-pages-button.component.d.ts +5 -0
- package/types/tabs/src/components/tab-header-dropdown-menu.component.d.ts +5 -0
- package/types/tabs/src/components/tab-header-item.component.d.ts +4 -0
- package/types/tabs/src/components/tab-header.component.d.ts +4 -0
- package/types/tabs/src/components/tab-page.component.d.ts +4 -99
- package/types/tabs/src/components/tab-page.props.d.ts +3 -47
- package/types/tabs/src/composition/types.d.ts +36 -5
- package/types/tabs/src/composition/use-dropdown.d.ts +3 -0
- package/types/tabs/src/composition/use-nav.d.ts +4 -0
- package/types/tabs/src/composition/use-one-page.d.ts +4 -0
- package/types/tabs/src/composition/use-tabs.d.ts +3 -2
- package/types/tabs/src/schema/schema-mapper.d.ts +2 -0
- package/types/tabs/src/tabs.props.d.ts +5 -69
- package/types/tags/index.d.ts +8 -0
- package/types/tags/src/composition/types.d.ts +13 -0
- package/types/tags/src/composition/use-draggable.d.ts +4 -0
- package/types/tags/src/tags.props.d.ts +92 -0
- package/types/text/src/text.component.d.ts +4 -2
- package/types/time-picker/index.d.ts +11 -0
- package/types/time-picker/src/components/time-holder.d.ts +82 -0
- package/types/time-picker/src/components/time.props.d.ts +48 -0
- package/types/time-picker/src/components/utils/check.d.ts +1 -0
- package/types/time-picker/src/schema/schema-mapper.d.ts +2 -0
- package/types/time-picker/src/time-picker.props.d.ts +4 -0
- package/types/tooltip/src/composition/use-adjust-position.d.ts +15 -0
- package/types/tooltip/src/tooltip.component.d.ts +4 -2
- package/types/tooltip/src/tooltip.directive.d.ts +5 -0
- package/types/transfer/index.d.ts +8 -0
- package/types/transfer/src/transfer.props.d.ts +71 -0
- package/types/tree-view/index.d.ts +8 -0
- package/types/tree-view/src/components/data/control-tree-view.component.d.ts +108 -0
- package/types/tree-view/src/components/data/tree-area.component.d.ts +8 -0
- package/types/tree-view/src/composition/types.d.ts +97 -0
- package/types/tree-view/src/composition/use-auto-check-children-and-cascade.d.ts +4 -0
- package/types/tree-view/src/composition/use-tree-data-view.d.ts +21 -0
- package/types/tree-view/src/composition/use-tree-node-icon.d.ts +4 -0
- package/types/tree-view/src/composition/use-tree-node-lines.d.ts +3 -0
- package/types/tree-view/src/composition/use-visual-tree-node.d.ts +9 -0
- package/types/tree-view/src/control-tree-view.props.d.ts +58 -0
- package/types/tree-view/src/tree-view.component.d.ts +97 -0
- package/types/tree-view/src/tree-view.props.d.ts +54 -0
- package/types/uploader/index.d.ts +25 -0
- package/types/uploader/src/components/sub-component.props.d.ts +63 -0
- package/types/uploader/src/components/upload-progress.component.d.ts +41 -0
- package/types/uploader/src/composition/type.d.ts +135 -0
- package/types/uploader/src/service/get-service.d.ts +2 -0
- package/types/uploader/src/uploader.props.d.ts +156 -0
- package/types/verify-detail/index.d.ts +23 -0
- package/types/verify-detail/src/verify-detail.component.d.ts +70 -0
- package/types/verify-detail/src/verify-detail.props.d.ts +36 -0
- package/uploader/index.esm.js +1972 -0
- package/uploader/index.umd.js +17 -0
- package/uploader/package.json +8 -0
- package/uploader/style.css +1 -0
- package/verify-detail/index.esm.js +187 -0
- package/verify-detail/index.umd.js +1 -0
- package/verify-detail/package.json +8 -0
- package/verify-detail/style.css +1 -0
- package/types/combo-list/src/components/option.component.d.ts +0 -39
- package/types/combo-list/src/components/options.component.d.ts +0 -10
- package/types/combo-list/src/composition/use-combo-list.d.ts +0 -30
- package/types/combo-list/src/composition/use-options.d.ts +0 -2
- package/types/combo-list/src/composition/use-panel.d.ts +0 -8
- package/types/combo-list/src/const.d.ts +0 -40
- package/types/combo-list/src/types.d.ts +0 -186
- package/types/data-grid/src/data-grid.component.d.ts +0 -278
- package/types/list-view/src/components/list-view-checkbox.component.d.ts +0 -32
- package/types/number-range/src/composition/use-data.d.ts +0 -19
- package/types/number-range/src/composition/use-util.d.ts +0 -19
- package/types/number-spinner/src/composition/use-util.d.ts +0 -19
- package/types/tabs/src/tabs.component.d.ts +0 -149
package/tabs/index.esm.js
CHANGED
|
@@ -1,5 +1,91 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var Pe = Object.defineProperty;
|
|
2
|
+
var Ae = (e, t, n) => t in e ? Pe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var M = (e, t, n) => (Ae(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
+
import { ref as j, nextTick as q, computed as g, createVNode as d, defineComponent as L, watch as z, onMounted as _, withDirectives as Re, vModelText as He, createTextVNode as $e, Fragment as Ee, onUnmounted as ae, shallowRef as U, provide as be, inject as Y, isVNode as ve } from "vue";
|
|
5
|
+
const he = {};
|
|
6
|
+
function le(e) {
|
|
7
|
+
const { properties: t } = e;
|
|
8
|
+
return Object.keys(t).reduce((s, o) => (s[o] = t[o].type === "object" && t[o].properties ? le(t[o]) : t[o].default, s), {});
|
|
9
|
+
}
|
|
10
|
+
function Ne(e) {
|
|
11
|
+
const t = he[e];
|
|
12
|
+
return t ? le(t) : null;
|
|
13
|
+
}
|
|
14
|
+
function We(e, t) {
|
|
15
|
+
const n = le(t);
|
|
16
|
+
return Object.keys(e).reduce((s, o) => (s[o] = e[o], s), n), n;
|
|
17
|
+
}
|
|
18
|
+
function Le(e, t) {
|
|
19
|
+
return Object.keys(e).filter((s) => e[s] != null).reduce((s, o) => {
|
|
20
|
+
if (t.has(o)) {
|
|
21
|
+
const b = t.get(o);
|
|
22
|
+
if (typeof b == "string")
|
|
23
|
+
s[b] = e[o];
|
|
24
|
+
else {
|
|
25
|
+
const i = b(o, e[o]);
|
|
26
|
+
Object.assign(s, i);
|
|
27
|
+
}
|
|
28
|
+
} else
|
|
29
|
+
s[o] = e[o];
|
|
30
|
+
return s;
|
|
31
|
+
}, {});
|
|
32
|
+
}
|
|
33
|
+
function _e(e, t, n = /* @__PURE__ */ new Map()) {
|
|
34
|
+
const s = We(e, t);
|
|
35
|
+
return Le(s, n);
|
|
36
|
+
}
|
|
37
|
+
function re(e, t, n = /* @__PURE__ */ new Map()) {
|
|
38
|
+
return he[t.title] = t, (s) => {
|
|
39
|
+
const o = _e(s, t, n), b = Object.keys(e).reduce((i, y) => (i[y] = e[y].default, i), {});
|
|
40
|
+
return Object.assign(b, o);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ge(e, t) {
|
|
44
|
+
return { customClass: t.class };
|
|
45
|
+
}
|
|
46
|
+
const ye = /* @__PURE__ */ new Map([
|
|
47
|
+
["appearance", ge]
|
|
48
|
+
]), Ve = "https://json-schema.org/draft/2020-12/schema", Fe = "https://farris-design.gitee.io/tabs.schema.json", qe = "tabs", ze = "A Farris Container Component", Ge = "object", Ue = {
|
|
49
|
+
id: {
|
|
50
|
+
description: "The unique identifier for a Tabs",
|
|
51
|
+
type: "string"
|
|
52
|
+
},
|
|
53
|
+
type: {
|
|
54
|
+
description: "The type string of Tabs component",
|
|
55
|
+
type: "string",
|
|
56
|
+
default: "tabs"
|
|
57
|
+
},
|
|
58
|
+
appearance: {
|
|
59
|
+
description: "",
|
|
60
|
+
type: "object",
|
|
61
|
+
properties: {
|
|
62
|
+
class: {
|
|
63
|
+
type: "string"
|
|
64
|
+
},
|
|
65
|
+
style: {
|
|
66
|
+
type: "string"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
default: {}
|
|
70
|
+
},
|
|
71
|
+
contents: {
|
|
72
|
+
description: "",
|
|
73
|
+
type: "array",
|
|
74
|
+
default: []
|
|
75
|
+
}
|
|
76
|
+
}, Je = [
|
|
77
|
+
"id",
|
|
78
|
+
"type",
|
|
79
|
+
"contents"
|
|
80
|
+
], Qe = {
|
|
81
|
+
$schema: Ve,
|
|
82
|
+
$id: Fe,
|
|
83
|
+
title: qe,
|
|
84
|
+
description: ze,
|
|
85
|
+
type: Ge,
|
|
86
|
+
properties: Ue,
|
|
87
|
+
required: Je
|
|
88
|
+
}, ie = {
|
|
3
89
|
tabType: { type: String, default: "default" },
|
|
4
90
|
autoTitleWidth: { type: Boolean, default: !1 },
|
|
5
91
|
titleLength: { type: Number, default: 7 },
|
|
@@ -16,312 +102,1016 @@ const pe = {
|
|
|
16
102
|
titleWidth: { type: Number, default: 0 },
|
|
17
103
|
customClass: { type: String, default: "" },
|
|
18
104
|
activeId: { type: String },
|
|
19
|
-
fill: { type: Boolean, default: !1 }
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
105
|
+
fill: { type: Boolean, default: !1 },
|
|
106
|
+
justifyContent: { type: String, default: "left" }
|
|
107
|
+
}, de = re(ie, Qe, ye);
|
|
108
|
+
function me(e, t, n) {
|
|
109
|
+
const s = j([]), o = j(e.activeId || ""), b = j(!0), i = j([]);
|
|
110
|
+
function y(p) {
|
|
111
|
+
const c = p.value.findIndex((u) => u.props.show !== !1 && !o.value && !u.props.disabled);
|
|
112
|
+
!o.value && c !== -1 && (o.value = p.value[c].props.id);
|
|
25
113
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
114
|
+
function C(p) {
|
|
115
|
+
var u;
|
|
116
|
+
if (e.autoTitleWidth)
|
|
117
|
+
return;
|
|
118
|
+
const c = (u = p.value) == null ? void 0 : u.querySelectorAll(".st-tab-text");
|
|
119
|
+
if (c)
|
|
120
|
+
for (let h = 0; h < c.length; h++) {
|
|
121
|
+
const x = c[h].parentNode;
|
|
122
|
+
c[h].scrollWidth > x.offsetWidth ? c[h].classList.contains("farris-title-text-custom") || c[h].classList.add("farris-title-text-custom") : c[h].classList.remove("farris-title-text-custom");
|
|
123
|
+
}
|
|
28
124
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
125
|
+
const r = (p) => {
|
|
126
|
+
p.preventDefault(), p.stopPropagation();
|
|
127
|
+
};
|
|
128
|
+
function l(p, c, u = !1) {
|
|
129
|
+
s.value.findIndex((h) => h.props.id === c), s.value = s.value.filter((h) => h.props.id !== c), o.value === c && (o.value = "", y(s)), r(p), q(() => {
|
|
130
|
+
C(n), u && (b.value = !0);
|
|
131
|
+
const h = s.value.findIndex((x) => x.props.id === o.value);
|
|
132
|
+
t.emit("tabRemove", {
|
|
133
|
+
removeIndex: h,
|
|
134
|
+
removeId: c,
|
|
135
|
+
activeId: o.value
|
|
136
|
+
});
|
|
137
|
+
});
|
|
36
138
|
}
|
|
37
|
-
function a(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
139
|
+
function a(p) {
|
|
140
|
+
const c = o.value;
|
|
141
|
+
o.value = p;
|
|
142
|
+
const u = s.value.find((h) => h.props.id === p);
|
|
143
|
+
u && u.props.toolbar && u.props.toolbar.contents && u.props.toolbar.contents.length && (i.value = [...u.props.toolbar.contents]), t.emit("tabChange", {
|
|
144
|
+
prevId: c,
|
|
145
|
+
nextId: o.value
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
function v(p) {
|
|
149
|
+
a(p);
|
|
150
|
+
}
|
|
151
|
+
function f(p) {
|
|
152
|
+
s.value.findIndex((u) => u.props.id === p.props.id) === -1 && s.value.push(p);
|
|
153
|
+
}
|
|
154
|
+
function T(p) {
|
|
155
|
+
s.value.findIndex((u) => u.props.id === p.props.id) !== -1 && (s.value.forEach((u) => {
|
|
156
|
+
u.props.id === p.props.id && (u = p);
|
|
157
|
+
}), q(() => {
|
|
158
|
+
C(n);
|
|
159
|
+
}));
|
|
160
|
+
}
|
|
161
|
+
return {
|
|
162
|
+
activeId: o,
|
|
163
|
+
addTab: f,
|
|
164
|
+
changeTitleStyle: C,
|
|
165
|
+
removeTab: l,
|
|
166
|
+
selectTab: v,
|
|
167
|
+
selectTabByTabId: a,
|
|
168
|
+
tabPages: s,
|
|
169
|
+
updateTab: T,
|
|
170
|
+
toolbarItems: i
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
function Xe(e, t, n, s, o) {
|
|
174
|
+
const {
|
|
175
|
+
activeId: b,
|
|
176
|
+
removeTab: i,
|
|
177
|
+
selectTab: y
|
|
178
|
+
} = o, C = g(() => ({
|
|
179
|
+
"st-tab-text": !0,
|
|
180
|
+
"farris-title-auto": e.autoTitleWidth
|
|
181
|
+
})), r = g(() => ({
|
|
182
|
+
"nav-item": !0,
|
|
183
|
+
"d-none": t.show !== void 0 ? !t.show : !1,
|
|
184
|
+
"f-state-active": t.id === b.value,
|
|
185
|
+
"f-state-disable": t.disabled
|
|
186
|
+
})), l = g(() => ({
|
|
187
|
+
width: `${t.tabWidth}px`
|
|
188
|
+
})), a = g(() => ({
|
|
189
|
+
"nav-link": !0,
|
|
190
|
+
"tabs-text-truncate": !0,
|
|
191
|
+
active: t.id === b.value,
|
|
192
|
+
disabled: t.disabled
|
|
193
|
+
}));
|
|
194
|
+
function v(h) {
|
|
195
|
+
return d("span", {
|
|
196
|
+
class: C.value,
|
|
197
|
+
title: h.title
|
|
198
|
+
}, [h.title]);
|
|
199
|
+
}
|
|
200
|
+
function f(h) {
|
|
201
|
+
return h.slots.title ? h.slots.title : v;
|
|
44
202
|
}
|
|
45
|
-
|
|
203
|
+
const T = f(n), p = j(t.removeable);
|
|
204
|
+
function c() {
|
|
205
|
+
return d("span", {
|
|
206
|
+
class: "st-drop-close",
|
|
207
|
+
onClick: (h) => i(h, t.id)
|
|
208
|
+
}, [d("i", {
|
|
209
|
+
class: "f-icon f-icon-close"
|
|
210
|
+
}, null)]);
|
|
211
|
+
}
|
|
212
|
+
function u(h) {
|
|
213
|
+
y(t.id), e.tabType === "one-page" && s.scrollToByPaggId(t.id);
|
|
214
|
+
}
|
|
215
|
+
return d("li", {
|
|
216
|
+
class: r.value,
|
|
217
|
+
style: l.value
|
|
218
|
+
}, [d("a", {
|
|
219
|
+
class: a.value,
|
|
220
|
+
onClick: u
|
|
221
|
+
}, [T(t), p.value && c()])]);
|
|
222
|
+
}
|
|
223
|
+
function Ce(e, t, n, s, o) {
|
|
224
|
+
const {
|
|
225
|
+
shouldShowNavigationButtons: b
|
|
226
|
+
} = n, {
|
|
227
|
+
tabPages: i
|
|
228
|
+
} = o, y = g(() => ({
|
|
229
|
+
spacer: !0,
|
|
230
|
+
"f-utils-fill": !0,
|
|
231
|
+
"spacer-sides-dropdown": b.value
|
|
232
|
+
})), C = g(() => ({
|
|
233
|
+
width: "100%",
|
|
234
|
+
display: "flex",
|
|
235
|
+
"justify-content": e.justifyContent
|
|
236
|
+
})), r = g(() => ({
|
|
237
|
+
nav: !0,
|
|
238
|
+
"farris-nav-tabs": !0,
|
|
239
|
+
"flex-nowrap": !0,
|
|
240
|
+
"nav-fill": e.fill || e.tabType === "fill",
|
|
241
|
+
"nav-pills": e.tabType === "pills",
|
|
242
|
+
"flex-row": e.position === "top" || e.position === "bottom",
|
|
243
|
+
"flex-column": e.position === "left" || e.position === "right"
|
|
244
|
+
}));
|
|
245
|
+
return () => d("div", {
|
|
246
|
+
class: y.value,
|
|
247
|
+
style: C.value
|
|
248
|
+
}, [d("ul", {
|
|
249
|
+
class: r.value,
|
|
250
|
+
ref: t
|
|
251
|
+
}, [i.value.map((l) => Xe(e, l.props, l, s, o))])]);
|
|
252
|
+
}
|
|
253
|
+
const Ye = {
|
|
254
|
+
items: { Type: Array, default: [] },
|
|
255
|
+
/**
|
|
256
|
+
* 组件值
|
|
257
|
+
*/
|
|
258
|
+
modelValue: { type: String, default: "" },
|
|
259
|
+
type: { type: String, default: "primary" }
|
|
260
|
+
}, Ze = {
|
|
261
|
+
name: { type: String, default: "" },
|
|
262
|
+
value: { type: String, default: "" },
|
|
263
|
+
isActive: { type: Boolean, default: !1 },
|
|
264
|
+
icon: { type: String, default: "" },
|
|
265
|
+
index: { type: Number, default: 0 }
|
|
266
|
+
};
|
|
267
|
+
const Ke = /* @__PURE__ */ L({
|
|
268
|
+
name: "FCapsuleItem",
|
|
269
|
+
props: Ze,
|
|
270
|
+
emits: ["mounted", "active"],
|
|
271
|
+
setup(e, t) {
|
|
272
|
+
const n = j(), s = j(e.isActive);
|
|
273
|
+
z(() => e.isActive, (i) => {
|
|
274
|
+
s.value = i;
|
|
275
|
+
});
|
|
276
|
+
const o = g(() => ({
|
|
277
|
+
"f-capsule-item": !0,
|
|
278
|
+
"f-capsule-active-item": s.value
|
|
279
|
+
}));
|
|
280
|
+
_(() => {
|
|
281
|
+
t.emit("mounted", n, e.value);
|
|
282
|
+
});
|
|
283
|
+
function b(i) {
|
|
284
|
+
t.emit("active", i, {
|
|
285
|
+
name: e.name,
|
|
286
|
+
value: e.value
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
return () => d("div", {
|
|
290
|
+
ref: n,
|
|
291
|
+
class: o.value,
|
|
292
|
+
onClick: (i) => b(i)
|
|
293
|
+
}, [e.icon && d("i", {
|
|
294
|
+
class: e.icon
|
|
295
|
+
}, null), e.name]);
|
|
296
|
+
}
|
|
297
|
+
}), et = /* @__PURE__ */ L({
|
|
298
|
+
name: "FCapsule",
|
|
299
|
+
props: Ye,
|
|
300
|
+
emits: ["change", "update:modelValue"],
|
|
301
|
+
setup(e, t) {
|
|
302
|
+
const n = j(e.items), s = j(), o = 2, b = j(e.modelValue), i = j("none"), y = j(e.type), C = g(() => {
|
|
303
|
+
const w = {
|
|
304
|
+
"f-capsule-container": !0
|
|
305
|
+
};
|
|
306
|
+
return y.value && (w[y.value] = !0), w;
|
|
307
|
+
}), r = g(() => ({})), l = g(() => ({
|
|
308
|
+
"f-capsule": !0
|
|
309
|
+
})), a = j(o), v = j(0), f = j(0), T = g(() => ({
|
|
310
|
+
left: `${a.value}px`,
|
|
311
|
+
width: `${v.value}px`,
|
|
312
|
+
transition: i.value
|
|
313
|
+
})), p = g(() => ({
|
|
314
|
+
width: `${f.value}px`
|
|
315
|
+
})), c = /* @__PURE__ */ new Map();
|
|
316
|
+
function u(w) {
|
|
317
|
+
var S;
|
|
318
|
+
if (c.has(w.value)) {
|
|
319
|
+
const B = (S = c.get(w.value)) == null ? void 0 : S.value;
|
|
320
|
+
if (B) {
|
|
321
|
+
const P = B.getBoundingClientRect(), E = s.value.getBoundingClientRect();
|
|
322
|
+
a.value = P.left - E.left + o + s.value.scrollLeft, v.value = P.width - 2 * o;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
function h(w, S) {
|
|
327
|
+
const B = w.value;
|
|
328
|
+
b.value = B, t.emit("update:modelValue", B), u(w), S && t.emit("change", B);
|
|
329
|
+
}
|
|
330
|
+
function x(w) {
|
|
331
|
+
const S = n.value.findIndex((B) => B.value === w);
|
|
332
|
+
S > -1 && h(n.value[S], !1);
|
|
333
|
+
}
|
|
334
|
+
z(() => e.modelValue, (w) => {
|
|
335
|
+
b.value = w, x(b.value);
|
|
336
|
+
}), z(() => e.items, async (w) => {
|
|
337
|
+
n.value = w, await q(), x(b.value), f.value = Array.from(c.values()).reduce((S, B) => (S += B.value.clientWidth, S), 0);
|
|
338
|
+
}), _(async () => {
|
|
339
|
+
x(b.value), await q(), i.value = "0.1s ease-out all", f.value = Array.from(c.values()).reduce((w, S) => (w += S.value.clientWidth, w), 0);
|
|
340
|
+
});
|
|
341
|
+
function D(w, S) {
|
|
342
|
+
h(S, !0);
|
|
343
|
+
}
|
|
344
|
+
function R(w, S) {
|
|
345
|
+
c.set(S, w);
|
|
346
|
+
}
|
|
347
|
+
function m(w, S) {
|
|
348
|
+
return d(Ke, {
|
|
349
|
+
name: w.name,
|
|
350
|
+
value: w.value,
|
|
351
|
+
isActive: w.value === b.value,
|
|
352
|
+
index: S,
|
|
353
|
+
onMounted: R,
|
|
354
|
+
onActive: D
|
|
355
|
+
}, null);
|
|
356
|
+
}
|
|
357
|
+
return () => d("span", {
|
|
358
|
+
ref: s,
|
|
359
|
+
class: C.value,
|
|
360
|
+
style: r.value
|
|
361
|
+
}, [d("span", {
|
|
362
|
+
class: "f-capsule-pane"
|
|
363
|
+
}, [n.value.map((w, S) => m(w, S))]), d("small", {
|
|
364
|
+
class: l.value,
|
|
365
|
+
style: T.value
|
|
366
|
+
}, null), d("div", {
|
|
367
|
+
class: "f-capsule-board",
|
|
368
|
+
style: p.value
|
|
369
|
+
}, null)]);
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
function we(e, t, n, s, o) {
|
|
373
|
+
const b = j(), {
|
|
374
|
+
shouldShowNavigationButtons: i
|
|
375
|
+
} = n, {
|
|
376
|
+
activeId: y,
|
|
377
|
+
tabPages: C
|
|
378
|
+
} = o, r = g(() => C.value.map((f) => ({
|
|
379
|
+
name: f.props.title,
|
|
380
|
+
value: f.props.id
|
|
381
|
+
}))), l = g(() => ({
|
|
382
|
+
spacer: !0,
|
|
383
|
+
"f-utils-fill": !0,
|
|
384
|
+
"spacer-sides-dropdown": i.value
|
|
385
|
+
})), a = g(() => ({
|
|
386
|
+
width: "100%",
|
|
387
|
+
display: "flex",
|
|
388
|
+
"justify-content": e.justifyContent
|
|
389
|
+
}));
|
|
390
|
+
_(() => {
|
|
391
|
+
b.value && (t.value = b.value.$el);
|
|
392
|
+
});
|
|
393
|
+
function v() {
|
|
394
|
+
}
|
|
395
|
+
return () => d("div", {
|
|
396
|
+
class: l.value,
|
|
397
|
+
style: a.value
|
|
398
|
+
}, [d(et, {
|
|
399
|
+
items: r.value,
|
|
400
|
+
modelValue: y.value,
|
|
401
|
+
"onUpdate:modelValue": (f) => y.value = f,
|
|
402
|
+
onChange: v,
|
|
403
|
+
ref: b
|
|
404
|
+
}, null)]);
|
|
405
|
+
}
|
|
406
|
+
function tt(e, t, n, s) {
|
|
407
|
+
const {
|
|
408
|
+
activeId: o,
|
|
409
|
+
removeTab: b,
|
|
410
|
+
tabPages: i
|
|
411
|
+
} = s, {
|
|
412
|
+
selectAndScrollToTab: y
|
|
413
|
+
} = n, {
|
|
414
|
+
hideDropDown: C,
|
|
415
|
+
searchTabText: r
|
|
416
|
+
} = t, l = j("auto"), a = g(() => {
|
|
417
|
+
var h, x;
|
|
418
|
+
let u = [];
|
|
419
|
+
return e.searchBoxVisible ? u = (h = i.value) == null ? void 0 : h.filter((D) => D.props.title.includes(r.value)) : u = (x = i.value) == null ? void 0 : x.slice(), u;
|
|
420
|
+
}), v = g(() => ({
|
|
421
|
+
"dropdown-menu": !0,
|
|
422
|
+
"tabs-pt28": e.searchBoxVisible,
|
|
423
|
+
show: !C.value
|
|
424
|
+
}));
|
|
425
|
+
function f(u) {
|
|
46
426
|
return {
|
|
47
|
-
"
|
|
48
|
-
"
|
|
427
|
+
"dropdown-item": !0,
|
|
428
|
+
"text-truncate": !0,
|
|
429
|
+
"px-2": !0,
|
|
430
|
+
disabled: u.props.disabled,
|
|
431
|
+
active: u.props.id === o.value,
|
|
432
|
+
"d-none": u.props.show !== !0
|
|
49
433
|
};
|
|
50
434
|
}
|
|
51
435
|
function T(u) {
|
|
52
|
-
|
|
53
|
-
if (t.autoTitleWidth)
|
|
54
|
-
return;
|
|
55
|
-
const f = (g = u.value) == null ? void 0 : g.querySelectorAll(".st-tab-text");
|
|
56
|
-
if (!!f)
|
|
57
|
-
for (let y = 0; y < f.length; y++) {
|
|
58
|
-
const k = f[y].parentNode;
|
|
59
|
-
f[y].scrollWidth > k.offsetWidth ? f[y].classList.contains("farris-title-text-custom") || f[y].classList.add("farris-title-text-custom") : f[y].classList.remove("farris-title-text-custom");
|
|
60
|
-
}
|
|
436
|
+
u.preventDefault(), u.stopPropagation();
|
|
61
437
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
438
|
+
const p = () => ({
|
|
439
|
+
width: l.value
|
|
440
|
+
});
|
|
441
|
+
function c() {
|
|
442
|
+
return d("div", {
|
|
443
|
+
class: v.value
|
|
444
|
+
}, [e.searchBoxVisible && d("div", {
|
|
445
|
+
onClick: (u) => T(u),
|
|
446
|
+
class: "pb-1 tabs-li-absolute"
|
|
447
|
+
}, [Re(d("input", {
|
|
448
|
+
title: "search-box",
|
|
449
|
+
type: "text",
|
|
450
|
+
class: "form-control k-textbox",
|
|
451
|
+
"onUpdate:modelValue": (u) => r.value = u
|
|
452
|
+
}, null), [[He, r.value]]), d("span", {
|
|
453
|
+
class: "f-icon f-icon-page-title-query tabs-icon-search"
|
|
454
|
+
}, null)]), a.value.length ? d("ul", {
|
|
455
|
+
class: "tab-dropdown-menu--items",
|
|
456
|
+
style: p()
|
|
457
|
+
}, [a.value.map((u) => d("li", {
|
|
458
|
+
class: f(u),
|
|
459
|
+
onClick: (h) => y(h, u.props)
|
|
460
|
+
}, [u.props.removeable && d("span", {
|
|
461
|
+
class: "float-right st-drop-close",
|
|
462
|
+
onClick: (h) => b(h, u.props.id, !0)
|
|
463
|
+
}, [d("i", {
|
|
464
|
+
class: "f-icon f-icon-close"
|
|
465
|
+
}, null)]), d("a", {
|
|
466
|
+
class: "dropdown-title"
|
|
467
|
+
}, [u.props.title])]))]) : d("div", {
|
|
468
|
+
class: "dropdown-no-data"
|
|
469
|
+
}, [$e("没有相关数据")])]);
|
|
68
470
|
}
|
|
69
471
|
return {
|
|
70
|
-
|
|
71
|
-
getTabStyle: b,
|
|
72
|
-
getTabClass: h,
|
|
73
|
-
getTabNavLinkClass: a,
|
|
74
|
-
getTabTextClass: c,
|
|
75
|
-
changeTitleStyle: T,
|
|
76
|
-
selectTabByTabId: B
|
|
472
|
+
renderDropdownMenu: c
|
|
77
473
|
};
|
|
78
474
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
setActiveId: g,
|
|
92
|
-
getTabStyle: y,
|
|
93
|
-
getTabClass: k,
|
|
94
|
-
getTabNavLinkClass: U,
|
|
95
|
-
getTabTextClass: q,
|
|
96
|
-
changeTitleStyle: E,
|
|
97
|
-
selectTabByTabId: I
|
|
98
|
-
} = be(t, m, c), x = () => {
|
|
99
|
-
var l;
|
|
100
|
-
const e = (l = i.value) == null ? void 0 : l.parentElement;
|
|
101
|
-
!e || !i.value || (e.offsetWidth < i.value.scrollWidth ? b.value = !1 : b.value = !0);
|
|
102
|
-
}, N = (e) => {
|
|
103
|
-
e.preventDefault(), e.stopPropagation();
|
|
104
|
-
}, W = (e, l) => {
|
|
105
|
-
if (!i.value)
|
|
106
|
-
return;
|
|
107
|
-
const n = i.value.scrollLeft, r = i.value.scrollWidth - i.value.offsetWidth;
|
|
108
|
-
if (l > 0) {
|
|
109
|
-
if (i.value.scrollLeft >= r)
|
|
110
|
-
return;
|
|
111
|
-
i.value.scrollLeft = n + t.scrollStep + e;
|
|
112
|
-
} else if (l < 0) {
|
|
113
|
-
if (i.value.scrollLeft <= 0)
|
|
114
|
-
return;
|
|
115
|
-
i.value.scrollLeft = n - t.scrollStep - e;
|
|
475
|
+
function Te(e, t, n, s) {
|
|
476
|
+
const {
|
|
477
|
+
hideDropDown: o
|
|
478
|
+
} = t, {
|
|
479
|
+
renderDropdownMenu: b
|
|
480
|
+
} = tt(e, t, n, s);
|
|
481
|
+
function i() {
|
|
482
|
+
return d(Ee, null, [d("button", {
|
|
483
|
+
title: "toggle-button",
|
|
484
|
+
class: "btn dropdown-toggle-split dropdown-toggle",
|
|
485
|
+
onClick: () => {
|
|
486
|
+
o.value = !1;
|
|
116
487
|
}
|
|
117
|
-
},
|
|
118
|
-
|
|
488
|
+
}, null), b()]);
|
|
489
|
+
}
|
|
490
|
+
return {
|
|
491
|
+
renderMorePagesButtton: i
|
|
492
|
+
};
|
|
493
|
+
}
|
|
494
|
+
function Se(e, t, n, s) {
|
|
495
|
+
const o = j(!1), { selectTabByTabId: b, tabPages: i } = s, y = 4;
|
|
496
|
+
function C() {
|
|
497
|
+
var u;
|
|
498
|
+
const p = t.value, c = (u = t.value) == null ? void 0 : u.parentElement;
|
|
499
|
+
o.value = c && p && c.offsetWidth < p.scrollWidth - y;
|
|
500
|
+
}
|
|
501
|
+
const r = g(() => ({
|
|
502
|
+
btn: !0,
|
|
503
|
+
"sc-nav-btn": !0,
|
|
504
|
+
"px-1": !0,
|
|
505
|
+
"sc-nav-lr": !0,
|
|
506
|
+
"d-none": !o.value
|
|
507
|
+
})), l = g(() => ({
|
|
508
|
+
"btn-group": !0,
|
|
509
|
+
"sc-nav-btn": !0,
|
|
510
|
+
dropdown: !0,
|
|
511
|
+
"d-none": !o.value
|
|
512
|
+
})), a = g(() => ({
|
|
513
|
+
btn: !0,
|
|
514
|
+
"sc-nav-rg": !0,
|
|
515
|
+
"d-none": !o.value
|
|
516
|
+
}));
|
|
517
|
+
function v(p, c) {
|
|
518
|
+
if (!t.value)
|
|
519
|
+
return;
|
|
520
|
+
const u = t.value.scrollLeft, h = t.value.scrollWidth - t.value.offsetWidth;
|
|
521
|
+
if (c > 0) {
|
|
522
|
+
if (t.value.scrollLeft >= h)
|
|
523
|
+
return;
|
|
524
|
+
t.value.scrollLeft = u + e.scrollStep + p;
|
|
525
|
+
} else if (c < 0) {
|
|
526
|
+
if (t.value.scrollLeft <= 0)
|
|
119
527
|
return;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
528
|
+
t.value.scrollLeft = u - e.scrollStep - p;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
function f(p) {
|
|
532
|
+
if (!o.value || !t.value)
|
|
533
|
+
return;
|
|
534
|
+
const c = e.tabType === "pills" ? ".f-capsule-item" : ".nav-item", u = t.value.querySelectorAll(c), { parentElement: h } = t.value, x = u[p];
|
|
535
|
+
if (x && h) {
|
|
536
|
+
const D = h.getBoundingClientRect().left, R = h.getBoundingClientRect().right, m = x.getBoundingClientRect().left, w = x.getBoundingClientRect().right;
|
|
537
|
+
m < D ? v(D - m, -1) : R < w && v(w - R, 1), e.tabType === "one-page" && n.scrollTo(p);
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
function T(p, c) {
|
|
541
|
+
if (c.disabled)
|
|
542
|
+
return;
|
|
543
|
+
b(c.id);
|
|
544
|
+
const u = i.value.findIndex((h) => h.props.id === c.id);
|
|
545
|
+
q(() => {
|
|
546
|
+
f(u);
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
return {
|
|
550
|
+
previousButtonClass: r,
|
|
551
|
+
nextButtonGroupClass: l,
|
|
552
|
+
nextButtonClass: a,
|
|
553
|
+
scrollTab: v,
|
|
554
|
+
selectAndScrollToTab: T,
|
|
555
|
+
shouldShowNavigationButtons: o,
|
|
556
|
+
updateNavigationLayout: C
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
function xe(e, t) {
|
|
560
|
+
const { tabPages: n } = t, s = j(""), o = j(!0), b = g(() => e.searchBoxVisible), i = g(() => b.value ? n.value.filter((C) => C.props.title.includes(s.value)) : n.value.slice());
|
|
561
|
+
return {
|
|
562
|
+
searchTabText: s,
|
|
563
|
+
hideDropDown: o,
|
|
564
|
+
shouldShowSearchBox: b,
|
|
565
|
+
tabsInDropdownMenu: i
|
|
566
|
+
};
|
|
567
|
+
}
|
|
568
|
+
function je(e, t, n) {
|
|
569
|
+
const s = ".farris-tab-page", { tabPages: o } = n;
|
|
570
|
+
function b(y) {
|
|
571
|
+
const C = t.value;
|
|
572
|
+
if (C) {
|
|
573
|
+
const r = t.value.querySelectorAll(s);
|
|
574
|
+
if (r.length > 0) {
|
|
575
|
+
const l = r[y], { offsetTop: a } = l, v = a - 32 > 0 ? a - 32 : 0;
|
|
576
|
+
C.scrollTop = v;
|
|
126
577
|
}
|
|
127
|
-
}, j = (e) => {
|
|
128
|
-
a.value.findIndex((n) => n.props.id === e.props.id) === -1 && a.value.push(e), S(() => {
|
|
129
|
-
x();
|
|
130
|
-
});
|
|
131
|
-
}, z = (e) => {
|
|
132
|
-
a.value.findIndex((n) => n.props.id === e.props.id) !== -1 && (a.value.forEach((n) => {
|
|
133
|
-
n.props.id === e.props.id && (n = e);
|
|
134
|
-
}), S(() => {
|
|
135
|
-
E(i), x();
|
|
136
|
-
}));
|
|
137
|
-
};
|
|
138
|
-
function R(e, l, n = !1) {
|
|
139
|
-
a.value.findIndex((r) => r.props.id === l), a.value = a.value.filter((r) => r.props.id !== l), c.value === l && (c.value = "", g(a)), N(e), S(() => {
|
|
140
|
-
E(i), x(), n && (h.value = !0);
|
|
141
|
-
const r = a.value.findIndex((d) => d.props.id === c.value);
|
|
142
|
-
P(r), m.emit("tabRemove", {
|
|
143
|
-
removeIndex: r,
|
|
144
|
-
removeId: l,
|
|
145
|
-
activeId: c.value
|
|
146
|
-
});
|
|
147
|
-
});
|
|
148
578
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
579
|
+
}
|
|
580
|
+
function i(y) {
|
|
581
|
+
const C = o.value.findIndex((r) => r.props.id === y);
|
|
582
|
+
C > -1 && b(C);
|
|
583
|
+
}
|
|
584
|
+
return { scrollTo: b, scrollToByPaggId: i };
|
|
585
|
+
}
|
|
586
|
+
const nt = {
|
|
587
|
+
alignment: { Type: String, default: "right" },
|
|
588
|
+
items: { Type: Array, default: [] }
|
|
589
|
+
};
|
|
590
|
+
class Be {
|
|
591
|
+
constructor(t) {
|
|
592
|
+
/** 工具栏项标识 */
|
|
593
|
+
M(this, "id", "");
|
|
594
|
+
/** 工具栏项自定义样式 */
|
|
595
|
+
M(this, "class", "btn-secondary");
|
|
596
|
+
/** 图标 */
|
|
597
|
+
M(this, "icon", "");
|
|
598
|
+
/** 所属分组 */
|
|
599
|
+
M(this, "groupId", "");
|
|
600
|
+
/** 收藏顺序 */
|
|
601
|
+
M(this, "order", -1);
|
|
602
|
+
/** 是否作为下拉菜单的顶层按钮 */
|
|
603
|
+
M(this, "asDropDownTop", !1);
|
|
604
|
+
/** 文本 */
|
|
605
|
+
M(this, "text", "");
|
|
606
|
+
/** 是否可见 */
|
|
607
|
+
M(this, "visible", !0);
|
|
608
|
+
M(this, "responsed", !1);
|
|
609
|
+
/** 是否启用提示消息 */
|
|
610
|
+
M(this, "tipsEnable", !1);
|
|
611
|
+
/** 提示消息内容 */
|
|
612
|
+
M(this, "tipsText", "");
|
|
613
|
+
/** 记录宽度 */
|
|
614
|
+
M(this, "width", 0);
|
|
615
|
+
M(this, "onClick", () => {
|
|
154
616
|
});
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
|
|
617
|
+
M(this, "options");
|
|
618
|
+
this.options = t;
|
|
619
|
+
const n = [
|
|
620
|
+
"id",
|
|
621
|
+
"class",
|
|
622
|
+
"icon",
|
|
623
|
+
"groupId",
|
|
624
|
+
"order",
|
|
625
|
+
"asDropDownTop",
|
|
626
|
+
"text",
|
|
627
|
+
"isDP",
|
|
628
|
+
"visible",
|
|
629
|
+
"responsed",
|
|
630
|
+
"width",
|
|
631
|
+
"tipsEnable",
|
|
632
|
+
"tipsText",
|
|
633
|
+
"onClick"
|
|
634
|
+
];
|
|
635
|
+
Object.keys(t).filter((s) => n.indexOf(s) > -1).forEach((s) => {
|
|
636
|
+
this[s] = t[s];
|
|
637
|
+
});
|
|
638
|
+
}
|
|
639
|
+
/** 是否可用 */
|
|
640
|
+
get enable() {
|
|
641
|
+
return Object.keys(this.options).indexOf("enable") > -1 ? this.options.enable : g(() => !0);
|
|
642
|
+
}
|
|
643
|
+
/** 设置宽度 */
|
|
644
|
+
setWidth(t) {
|
|
645
|
+
this.width = parseInt(t, 10);
|
|
646
|
+
}
|
|
647
|
+
/** 获取宽度 */
|
|
648
|
+
getWidth() {
|
|
649
|
+
return this.visible ? this.width : !1;
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
class st extends Be {
|
|
653
|
+
constructor(t) {
|
|
654
|
+
super(t);
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
function Ie() {
|
|
658
|
+
function e(t) {
|
|
659
|
+
const n = [];
|
|
660
|
+
return t.reduce((s, o) => (o.children && o.children.length > 0 ? s.push(new oe(o)) : s.push(new st(o)), s), n), n;
|
|
661
|
+
}
|
|
662
|
+
return { buildResponseToolbarItems: e };
|
|
663
|
+
}
|
|
664
|
+
const { buildResponseToolbarItems: ot } = Ie();
|
|
665
|
+
class oe extends Be {
|
|
666
|
+
constructor(n) {
|
|
667
|
+
super(n);
|
|
668
|
+
M(this, "placement", "");
|
|
669
|
+
// 下拉位置
|
|
670
|
+
/** 下拉class */
|
|
671
|
+
M(this, "dropdownClass", "");
|
|
672
|
+
/** 下拉菜单class */
|
|
673
|
+
M(this, "menuClass", "");
|
|
674
|
+
/** 是否用分开的下拉按钮 */
|
|
675
|
+
M(this, "split", !1);
|
|
676
|
+
M(this, "children", []);
|
|
677
|
+
M(this, "expanded", !1);
|
|
678
|
+
const s = ["isDP", "class", "dropdownClass", "menuClass", "placement", "split", "expanded"];
|
|
679
|
+
Object.keys(n).filter((o) => s.indexOf(o) > -1).forEach((o) => {
|
|
680
|
+
this[o] = n[o];
|
|
681
|
+
}), n.children && n.children.length && (this.children = ot(n.children));
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
function at() {
|
|
685
|
+
function e(r) {
|
|
686
|
+
const l = {
|
|
687
|
+
"dropdown-menu": !0
|
|
688
|
+
};
|
|
689
|
+
if (r.class) {
|
|
690
|
+
const a = r.menuClass.split(" ");
|
|
691
|
+
a && a.length && a.reduce((v, f) => (v[f] = !0, v), l);
|
|
692
|
+
}
|
|
693
|
+
return l;
|
|
694
|
+
}
|
|
695
|
+
function t(r) {
|
|
696
|
+
const l = {
|
|
697
|
+
disabled: !r.enable,
|
|
698
|
+
"dropdown-submenu": !0,
|
|
699
|
+
"f-rt-dropdown": !0
|
|
700
|
+
}, a = r.dropdownClass.split(" ");
|
|
701
|
+
return a && a.length && a.reduce((v, f) => (v[f] = !0, v), l), l;
|
|
702
|
+
}
|
|
703
|
+
function n(r) {
|
|
704
|
+
const l = {
|
|
705
|
+
disabled: !r.enable,
|
|
706
|
+
"dropdown-item": !0,
|
|
707
|
+
"f-rt-btn": !0
|
|
708
|
+
}, a = r.class.split(" ");
|
|
709
|
+
return a && a.length && a.reduce((v, f) => (v[f] = !0, v), l), l;
|
|
710
|
+
}
|
|
711
|
+
let s;
|
|
712
|
+
const o = /* @__PURE__ */ new Map();
|
|
713
|
+
function b(r, l, a) {
|
|
714
|
+
var f;
|
|
715
|
+
((f = r.target) == null ? void 0 : f.id) === l.id && r.stopPropagation();
|
|
716
|
+
const v = a ? a.id : "__top_item__";
|
|
717
|
+
if (l.children && l.children.length && (l.expanded = !l.expanded, l.expanded ? o.set(v, l) : o.delete(v)), o.has(v) && o.get(v) !== l) {
|
|
718
|
+
const T = o.get(v);
|
|
719
|
+
T && (T.expanded = !1);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
function i(r) {
|
|
723
|
+
return r.children.map((l) => l.children && l.children.length ? d("li", {
|
|
724
|
+
class: t(l),
|
|
725
|
+
id: l.id,
|
|
726
|
+
onClick: (a) => l.enable && b(a, l, r)
|
|
727
|
+
}, [d("span", {
|
|
728
|
+
id: l.id,
|
|
729
|
+
class: n(l),
|
|
730
|
+
onMouseover: (a) => l.enable && b(a, l, r)
|
|
731
|
+
}, [l.text, d("i", {
|
|
732
|
+
class: "f-icon f-icon-arrow-chevron-right",
|
|
733
|
+
style: "display: inline-block;float: right;line-height: 1.25rem;"
|
|
734
|
+
}, null)]), s(l, r)]) : d("li", {
|
|
735
|
+
class: n(l),
|
|
736
|
+
id: l.id,
|
|
737
|
+
onClick: (a) => l.enable && l.onClick(a, l.id),
|
|
738
|
+
onMouseover: (a) => l.enable && b(a, l, r)
|
|
739
|
+
}, [l.text]));
|
|
740
|
+
}
|
|
741
|
+
function y(r, l) {
|
|
742
|
+
const a = {
|
|
743
|
+
display: r.expanded ? "block" : "none"
|
|
744
|
+
}, v = document.getElementsByTagName("body")[0].getClientRects()[0].width, f = document.getElementById(r.id), T = f == null ? void 0 : f.getClientRects();
|
|
745
|
+
if (f && T && T.length) {
|
|
746
|
+
const p = T[0].x;
|
|
747
|
+
v - p <= 160 && (a.right = 0, a.left = "unset");
|
|
748
|
+
}
|
|
749
|
+
return l && (a.top = 0, a.right = "160px", a.left = "unset"), a;
|
|
750
|
+
}
|
|
751
|
+
s = function(r, l) {
|
|
752
|
+
return d("ul", {
|
|
753
|
+
class: e(r),
|
|
754
|
+
style: y(r, l),
|
|
755
|
+
id: r.id + "_menu"
|
|
756
|
+
}, [i(r)]);
|
|
757
|
+
};
|
|
758
|
+
function C() {
|
|
759
|
+
o.forEach((r) => {
|
|
760
|
+
r.expanded = !1;
|
|
761
|
+
}), o.clear();
|
|
762
|
+
}
|
|
763
|
+
return {
|
|
764
|
+
renderDropdownMenu: s,
|
|
765
|
+
clearAllDropDownMenu: C
|
|
766
|
+
};
|
|
767
|
+
}
|
|
768
|
+
function lt(e, t) {
|
|
769
|
+
const n = j(e.alignment), {
|
|
770
|
+
renderDropdownMenu: s,
|
|
771
|
+
clearAllDropDownMenu: o
|
|
772
|
+
} = at();
|
|
773
|
+
function b(l) {
|
|
774
|
+
const a = {
|
|
170
775
|
"btn-group": !0,
|
|
171
|
-
"
|
|
172
|
-
|
|
173
|
-
"
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
776
|
+
"f-rt-dropdown": !0,
|
|
777
|
+
"f-btn-ml": n.value === "right",
|
|
778
|
+
"f-btn-mr": n.value === "left"
|
|
779
|
+
}, v = l.dropdownClass.split(" ");
|
|
780
|
+
return v && v.length && v.reduce((f, T) => (f[T] = !0, f), a), a;
|
|
781
|
+
}
|
|
782
|
+
function i(l) {
|
|
783
|
+
const a = {
|
|
179
784
|
btn: !0,
|
|
180
|
-
|
|
181
|
-
"
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
"
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
}),
|
|
204
|
-
|
|
205
|
-
"
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
785
|
+
disabled: !l.enable,
|
|
786
|
+
"f-rt-btn": !0,
|
|
787
|
+
"btn-icontext": !!(l.icon && l.icon.trim())
|
|
788
|
+
};
|
|
789
|
+
if (l.class) {
|
|
790
|
+
const v = l.class.split(" ");
|
|
791
|
+
v && v.length && v.reduce((f, T) => (f[T] = !0, f), a);
|
|
792
|
+
}
|
|
793
|
+
return a;
|
|
794
|
+
}
|
|
795
|
+
function y(l, a) {
|
|
796
|
+
l.stopPropagation(), a.expanded = !a.expanded;
|
|
797
|
+
}
|
|
798
|
+
function C(l) {
|
|
799
|
+
return d("div", {
|
|
800
|
+
id: l.id,
|
|
801
|
+
class: b(l)
|
|
802
|
+
}, [d("div", {
|
|
803
|
+
class: i(l),
|
|
804
|
+
style: "display: flex;padding-right: 0.1rem;",
|
|
805
|
+
onClick: (a) => l.enable && y(a, l)
|
|
806
|
+
}, [t.shouldShowIcon(l) && d("i", {
|
|
807
|
+
class: t.iconClass(l)
|
|
808
|
+
}, null), d("span", null, [l.text]), d("i", {
|
|
809
|
+
class: "f-icon f-icon-arrow-chevron-down",
|
|
810
|
+
style: "display: inline-block;float: right;line-height: 1.25rem;margin-left: .25rem;margin-right: .25rem;"
|
|
811
|
+
}, null)]), s(l)]);
|
|
812
|
+
}
|
|
813
|
+
function r() {
|
|
814
|
+
o();
|
|
815
|
+
}
|
|
816
|
+
return {
|
|
817
|
+
renderToolbarDropdown: C,
|
|
818
|
+
clearAllDropDown: r
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
function rt() {
|
|
822
|
+
function e(n) {
|
|
823
|
+
const s = {
|
|
824
|
+
"f-icon": !0
|
|
825
|
+
};
|
|
826
|
+
if (n.icon) {
|
|
827
|
+
const o = n.icon.trim().split(" ");
|
|
828
|
+
o && o.length && o.reduce((b, i) => (b[i] = !0, b), s);
|
|
829
|
+
}
|
|
830
|
+
return s;
|
|
831
|
+
}
|
|
832
|
+
function t(n) {
|
|
833
|
+
return !!(n.icon && n.icon.trim());
|
|
834
|
+
}
|
|
835
|
+
return { iconClass: e, shouldShowIcon: t };
|
|
836
|
+
}
|
|
837
|
+
const {
|
|
838
|
+
buildResponseToolbarItems: fe
|
|
839
|
+
} = Ie(), Oe = /* @__PURE__ */ L({
|
|
840
|
+
name: "FResponseToolbar",
|
|
841
|
+
props: nt,
|
|
842
|
+
emits: ["Click"],
|
|
843
|
+
setup(e) {
|
|
844
|
+
const t = j(fe(e.items)), n = j(), s = j(), o = j(e.alignment), b = {
|
|
845
|
+
id: "__more_buttons__",
|
|
846
|
+
text: "More"
|
|
847
|
+
}, i = j(new oe(b)), y = rt(), C = g(() => i.value.children.length > 0), r = g(() => ({
|
|
848
|
+
"f-toolbar": !0,
|
|
849
|
+
"f-response-toolbar": !0,
|
|
850
|
+
"position-relative": !0
|
|
851
|
+
})), l = g(() => ({
|
|
852
|
+
"d-flex": !0,
|
|
210
853
|
"flex-nowrap": !0,
|
|
211
|
-
"
|
|
212
|
-
"
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
854
|
+
"justify-content-end": o.value === "right",
|
|
855
|
+
"justify-content-start": o.value === "left"
|
|
856
|
+
})), {
|
|
857
|
+
renderToolbarDropdown: a,
|
|
858
|
+
clearAllDropDown: v
|
|
859
|
+
} = lt(e, y);
|
|
860
|
+
function f() {
|
|
861
|
+
t.value.filter((m) => m.children && m.children.length > 0).forEach((m) => {
|
|
862
|
+
m.expanded = !1;
|
|
863
|
+
}), i.value.expanded = !1, v();
|
|
864
|
+
}
|
|
865
|
+
function T(m) {
|
|
866
|
+
const w = {
|
|
867
|
+
"f-icon": !0
|
|
868
|
+
};
|
|
869
|
+
if (m.icon) {
|
|
870
|
+
const S = m.icon.trim().split(" ");
|
|
871
|
+
S && S.length && S.reduce((B, P) => (B[P] = !0, B), w);
|
|
872
|
+
}
|
|
873
|
+
return w;
|
|
874
|
+
}
|
|
875
|
+
function p(m) {
|
|
876
|
+
return !!(m.icon && m.icon.trim());
|
|
877
|
+
}
|
|
878
|
+
function c(m) {
|
|
879
|
+
const w = {
|
|
880
|
+
btn: !0,
|
|
881
|
+
"f-rt-btn": !0,
|
|
882
|
+
"f-btn-ml": o.value === "right",
|
|
883
|
+
"f-btn-mr": o.value === "left",
|
|
884
|
+
"btn-icontext": !!(m.icon && m.icon.trim())
|
|
885
|
+
};
|
|
886
|
+
if (m.class) {
|
|
887
|
+
const S = m.class.split(" ");
|
|
888
|
+
S && S.length && S.reduce((B, P) => (B[P] = !0, B), w);
|
|
889
|
+
}
|
|
890
|
+
return w;
|
|
891
|
+
}
|
|
892
|
+
function u(m) {
|
|
893
|
+
return d("button", {
|
|
894
|
+
type: "button",
|
|
895
|
+
class: c(m),
|
|
896
|
+
id: m.id,
|
|
897
|
+
disabled: !m.enable,
|
|
898
|
+
onClick: (w) => m.onClick(w, m.id)
|
|
899
|
+
}, [p(m) && d("i", {
|
|
900
|
+
class: T(m)
|
|
901
|
+
}, null), m.text]);
|
|
902
|
+
}
|
|
903
|
+
const h = /* @__PURE__ */ new Map(), x = [];
|
|
904
|
+
function D(m) {
|
|
905
|
+
const w = s.value;
|
|
906
|
+
let S = m;
|
|
907
|
+
const B = Array.from(w.children), P = B[B.length - 1].id === "__more_buttons__" ? B[B.length - 1] : null;
|
|
908
|
+
if (P) {
|
|
909
|
+
const I = P.computedStyleMap().get("margin-left"), A = P.computedStyleMap().get("margin-right"), W = (I ? I.value : 0) + P.getBoundingClientRect().width + (A ? A.value : 0);
|
|
910
|
+
S -= W;
|
|
911
|
+
}
|
|
912
|
+
const E = B.filter((I) => I.id !== "__more_buttons__");
|
|
913
|
+
for (const I of E) {
|
|
914
|
+
const A = I.computedStyleMap().get("margin-left"), W = I.computedStyleMap().get("margin-right"), F = (A ? A.value : 0) + I.getBoundingClientRect().width + (W ? W.value : 0);
|
|
915
|
+
S < F ? (h.set(I.id, !0), x.push({
|
|
916
|
+
id: I.id,
|
|
917
|
+
width: F
|
|
918
|
+
})) : S -= F;
|
|
919
|
+
}
|
|
920
|
+
if (x.length)
|
|
921
|
+
for (let I = x.length - 1; I >= 0; I--) {
|
|
922
|
+
const A = x[I].width;
|
|
923
|
+
if (S >= A)
|
|
924
|
+
S -= A, h.delete(x[I].id), x.pop();
|
|
925
|
+
else
|
|
926
|
+
break;
|
|
927
|
+
}
|
|
928
|
+
const V = Object.assign({}, i.value);
|
|
929
|
+
V.children = [];
|
|
930
|
+
const N = new oe(V), G = t.value.reduce((I, A) => (h.has(A.id) && N.children.push(A), A.visible = !h.has(A.id), I.push(A), I), []);
|
|
931
|
+
i.value = N, t.value = G;
|
|
932
|
+
}
|
|
933
|
+
const R = new ResizeObserver((m) => {
|
|
934
|
+
if (m.length) {
|
|
935
|
+
const S = m[0].contentRect.width, P = s.value.getBoundingClientRect().width;
|
|
936
|
+
(S < P || x.length) && D(S);
|
|
937
|
+
}
|
|
938
|
+
});
|
|
939
|
+
return _(() => {
|
|
940
|
+
const m = n.value;
|
|
941
|
+
R.observe(m), document.body.addEventListener("click", f);
|
|
942
|
+
}), ae(() => {
|
|
943
|
+
R.disconnect(), document.body.removeEventListener("click", f);
|
|
944
|
+
}), z(() => e.items, () => {
|
|
945
|
+
t.value = fe(e.items);
|
|
946
|
+
}), () => d("div", {
|
|
947
|
+
class: r.value
|
|
948
|
+
}, [d("div", {
|
|
949
|
+
ref: n,
|
|
950
|
+
class: l.value
|
|
951
|
+
}, [d("div", {
|
|
952
|
+
ref: s,
|
|
953
|
+
class: "d-inline-block f-response-content",
|
|
954
|
+
style: "white-space: nowrap;"
|
|
955
|
+
}, [t.value.filter((m) => m.visible).map((m) => m.children && m.children.length > 0 ? a(m) : u(m)), C.value && a(i.value)])])]);
|
|
956
|
+
}
|
|
957
|
+
}), ne = /* @__PURE__ */ L({
|
|
958
|
+
name: "FTabs",
|
|
959
|
+
props: ie,
|
|
960
|
+
emits: ["tabChange", "tabRemove"],
|
|
961
|
+
setup(e, t) {
|
|
962
|
+
const n = j(e.tabType), s = U(), o = U(), b = U(), i = me(e, t, o), {
|
|
963
|
+
activeId: y,
|
|
964
|
+
changeTitleStyle: C,
|
|
965
|
+
tabPages: r,
|
|
966
|
+
addTab: l,
|
|
967
|
+
updateTab: a,
|
|
968
|
+
selectTabByTabId: v,
|
|
969
|
+
toolbarItems: f
|
|
970
|
+
} = i, T = je(e, b, i), p = Se(e, o, T, i), {
|
|
971
|
+
previousButtonClass: c,
|
|
972
|
+
nextButtonClass: u,
|
|
973
|
+
nextButtonGroupClass: h,
|
|
974
|
+
scrollTab: x,
|
|
975
|
+
updateNavigationLayout: D
|
|
976
|
+
} = p, R = xe(e, i), {
|
|
977
|
+
hideDropDown: m
|
|
978
|
+
} = R, w = Ce(e, o, p, T, i), S = w, B = we(e, o, p, T, i), P = /* @__PURE__ */ new Map([["default", w], ["one-page", S], ["pills", B]]);
|
|
979
|
+
g(() => {
|
|
980
|
+
const k = r.value.find(($) => $.props.id === y.value);
|
|
981
|
+
return k == null ? void 0 : k.slots;
|
|
982
|
+
});
|
|
983
|
+
const E = g(() => {
|
|
984
|
+
const k = r.value.find((O) => O.props.id === y.value);
|
|
985
|
+
return (k == null ? void 0 : k.props.toolbarPosition) === "inHead";
|
|
986
|
+
});
|
|
987
|
+
be("tabs", {
|
|
988
|
+
activeId: y,
|
|
989
|
+
addTab: l,
|
|
990
|
+
updateTab: a,
|
|
991
|
+
tabPages: r,
|
|
992
|
+
tabType: n
|
|
993
|
+
});
|
|
994
|
+
const V = g(() => e.fill || e.tabType === "fill"), N = g(() => e.tabType === "pills"), G = g(() => ({
|
|
995
|
+
"farris-tabs-header": !0,
|
|
996
|
+
"farris-tabs-inHead": E.value,
|
|
997
|
+
"farris-tabs-inContent": !E.value,
|
|
998
|
+
"farris-tabs-nav-fill": V.value,
|
|
999
|
+
"farris-tabs-nav-pills": N.value
|
|
1000
|
+
})), I = g(() => ({
|
|
1001
|
+
width: E.value && e.titleWidth ? `${e.titleWidth}%` : ""
|
|
1002
|
+
})), A = g(() => ({
|
|
216
1003
|
"farris-tabs": !0,
|
|
217
|
-
"flex-column":
|
|
218
|
-
"flex-column-reverse":
|
|
219
|
-
"flex-row":
|
|
220
|
-
"flex-row-reverse":
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}), window.addEventListener("resize", (e) => {
|
|
232
|
-
x();
|
|
233
|
-
});
|
|
1004
|
+
"flex-column": e.position === "top",
|
|
1005
|
+
"flex-column-reverse": e.position === "bottom",
|
|
1006
|
+
"flex-row": e.position === "left",
|
|
1007
|
+
"flex-row-reverse": e.position === "right",
|
|
1008
|
+
"one-page": e.tabType === "one-page"
|
|
1009
|
+
}));
|
|
1010
|
+
_(() => {
|
|
1011
|
+
r.value.length && (y.value = e.activeId || r.value[0].props.id, v(y.value)), q(() => {
|
|
1012
|
+
D();
|
|
1013
|
+
}), C(o), window.addEventListener("click", (k) => {
|
|
1014
|
+
var $;
|
|
1015
|
+
m.value || ($ = s.value) != null && $.contains(k.target) || (m.value = !0);
|
|
1016
|
+
}), window.addEventListener("resize", () => {
|
|
1017
|
+
D();
|
|
234
1018
|
});
|
|
235
|
-
})
|
|
236
|
-
|
|
237
|
-
return
|
|
238
|
-
class: se.value,
|
|
239
|
-
ref: o
|
|
240
|
-
}, [s("div", {
|
|
241
|
-
class: $.value
|
|
242
|
-
}, [s("div", {
|
|
243
|
-
class: "farris-tabs-title scroll-tabs",
|
|
244
|
-
style: G.value
|
|
245
|
-
}, [s("button", {
|
|
1019
|
+
});
|
|
1020
|
+
function W() {
|
|
1021
|
+
return d("button", {
|
|
246
1022
|
title: "left-arrow-button",
|
|
247
1023
|
type: "button",
|
|
248
|
-
class:
|
|
1024
|
+
class: c.value,
|
|
249
1025
|
onClick: () => {
|
|
250
|
-
|
|
1026
|
+
x(0, -1);
|
|
251
1027
|
}
|
|
252
|
-
}, null)
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
class: le.value,
|
|
257
|
-
ref: i
|
|
258
|
-
}, [a.value.map((d) => {
|
|
259
|
-
const v = d.props, L = d.slots.title;
|
|
260
|
-
return s("li", {
|
|
261
|
-
class: k(v),
|
|
262
|
-
style: y(v)
|
|
263
|
-
}, [s("a", {
|
|
264
|
-
class: U(v),
|
|
265
|
-
onClick: (C) => ae(C, v.id)
|
|
266
|
-
}, [L ? L() : s("span", {
|
|
267
|
-
class: q(v),
|
|
268
|
-
title: v.title
|
|
269
|
-
}, [v.title]), v.removeable && s("span", {
|
|
270
|
-
class: "st-drop-close",
|
|
271
|
-
onClick: (C) => R(C, v.id)
|
|
272
|
-
}, [s("i", {
|
|
273
|
-
class: "f-icon f-icon-close"
|
|
274
|
-
}, null)])])]);
|
|
275
|
-
})])]), s("div", {
|
|
276
|
-
class: K.value
|
|
277
|
-
}, [s("button", {
|
|
1028
|
+
}, null);
|
|
1029
|
+
}
|
|
1030
|
+
function F() {
|
|
1031
|
+
return d("button", {
|
|
278
1032
|
title: "right-arrow-button",
|
|
279
1033
|
type: "button",
|
|
280
|
-
class:
|
|
281
|
-
onClick: () => {
|
|
282
|
-
W(0, 1);
|
|
283
|
-
}
|
|
284
|
-
}, null), s("button", {
|
|
285
|
-
title: "toggle-button",
|
|
286
|
-
class: "btn dropdown-toggle-split dropdown-toggle",
|
|
1034
|
+
class: u.value,
|
|
287
1035
|
onClick: () => {
|
|
288
|
-
|
|
1036
|
+
x(0, 1);
|
|
289
1037
|
}
|
|
290
|
-
}, null)
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
title: "search-box",
|
|
297
|
-
type: "text",
|
|
298
|
-
class: "form-control k-textbox",
|
|
299
|
-
"onUpdate:modelValue": (d) => f.value = d
|
|
300
|
-
}, null), [[ue, f.value]]), s("span", {
|
|
301
|
-
class: "f-icon f-icon-page-title-query tabs-icon-search"
|
|
302
|
-
}, null)]), A.value.length ? s("ul", {
|
|
303
|
-
class: "tab-dropdown-menu--items",
|
|
304
|
-
style: Y()
|
|
305
|
-
}, [A.value.map((d) => s("li", {
|
|
306
|
-
class: Z(d),
|
|
307
|
-
onClick: (v) => ee(v, d.props)
|
|
308
|
-
}, [d.props.removeable && s("span", {
|
|
309
|
-
class: "float-right st-drop-close",
|
|
310
|
-
onClick: (v) => R(v, d.props.id, !0)
|
|
311
|
-
}, [s("i", {
|
|
312
|
-
class: "f-icon f-icon-close"
|
|
313
|
-
}, null)]), s("a", {
|
|
314
|
-
class: "dropdown-title"
|
|
315
|
-
}, [d.props.title])]))]) : s("div", {
|
|
316
|
-
class: "dropdown-no-data"
|
|
317
|
-
}, [re("\u6CA1\u6709\u76F8\u5173\u6570\u636E")])])])]), T.value && s("div", {
|
|
318
|
-
class: "farris-tabs-toolbar"
|
|
319
|
-
}, [(l = (e = T.value) == null ? void 0 : e.toolbarExtra) == null ? void 0 : l.call(e)])]), s("div", {
|
|
320
|
-
class: "farris-tabs-content"
|
|
321
|
-
}, [(r = (n = m.slots).default) == null ? void 0 : r.call(n)])])]);
|
|
1038
|
+
}, null);
|
|
1039
|
+
}
|
|
1040
|
+
const {
|
|
1041
|
+
renderMorePagesButtton: Z
|
|
1042
|
+
} = Te(e, R, p, i), K = (k) => {
|
|
1043
|
+
t.emit("Click", k);
|
|
322
1044
|
};
|
|
1045
|
+
function ee() {
|
|
1046
|
+
return !!f.value.length && d(Oe, {
|
|
1047
|
+
items: f.value,
|
|
1048
|
+
onClick: K
|
|
1049
|
+
}, null);
|
|
1050
|
+
}
|
|
1051
|
+
const J = P.get(e.tabType) || P.get("default");
|
|
1052
|
+
function te() {
|
|
1053
|
+
var k, $, O, H;
|
|
1054
|
+
return d("div", {
|
|
1055
|
+
class: G.value
|
|
1056
|
+
}, [d("div", {
|
|
1057
|
+
class: "farris-tabs-header-pre"
|
|
1058
|
+
}, [($ = (k = t.slots).headerPrefix) == null ? void 0 : $.call(k)]), d("div", {
|
|
1059
|
+
class: "farris-tabs-title scroll-tabs",
|
|
1060
|
+
style: I.value
|
|
1061
|
+
}, [W(), J && J(), d("div", {
|
|
1062
|
+
class: h.value
|
|
1063
|
+
}, [F(), Z()])]), ee(), d("div", {
|
|
1064
|
+
class: "farris-tabs-header-post"
|
|
1065
|
+
}, [(H = (O = t.slots).headerSuffix) == null ? void 0 : H.call(O)])]);
|
|
1066
|
+
}
|
|
1067
|
+
function Q() {
|
|
1068
|
+
var k, $;
|
|
1069
|
+
return d("div", {
|
|
1070
|
+
class: "farris-tabs-content",
|
|
1071
|
+
ref: b
|
|
1072
|
+
}, [($ = (k = t.slots).default) == null ? void 0 : $.call(k)]);
|
|
1073
|
+
}
|
|
1074
|
+
return () => d("div", {
|
|
1075
|
+
class: A.value,
|
|
1076
|
+
ref: s
|
|
1077
|
+
}, [te(), Q()]);
|
|
1078
|
+
}
|
|
1079
|
+
}), it = "https://json-schema.org/draft/2020-12/schema", ct = "https://farris-design.gitee.io/accordion-item.schema.json", ut = "AccordionItem", dt = "A Farris Container Component", ft = "object", pt = {
|
|
1080
|
+
id: {
|
|
1081
|
+
description: "The unique identifier for a Accordion Item",
|
|
1082
|
+
type: "string"
|
|
1083
|
+
},
|
|
1084
|
+
type: {
|
|
1085
|
+
description: "The type string of Accordion Item component",
|
|
1086
|
+
type: "string"
|
|
1087
|
+
},
|
|
1088
|
+
contents: {
|
|
1089
|
+
description: "",
|
|
1090
|
+
type: "array",
|
|
1091
|
+
default: []
|
|
1092
|
+
},
|
|
1093
|
+
title: {
|
|
1094
|
+
description: "",
|
|
1095
|
+
type: "string",
|
|
1096
|
+
default: ""
|
|
1097
|
+
},
|
|
1098
|
+
toolbar: {
|
|
1099
|
+
description: "",
|
|
1100
|
+
type: "object"
|
|
323
1101
|
}
|
|
324
|
-
}
|
|
1102
|
+
}, bt = [
|
|
1103
|
+
"id",
|
|
1104
|
+
"type",
|
|
1105
|
+
"contents"
|
|
1106
|
+
], vt = {
|
|
1107
|
+
$schema: it,
|
|
1108
|
+
$id: ct,
|
|
1109
|
+
title: ut,
|
|
1110
|
+
description: dt,
|
|
1111
|
+
type: ft,
|
|
1112
|
+
properties: pt,
|
|
1113
|
+
required: bt
|
|
1114
|
+
}, ce = {
|
|
325
1115
|
tabWidth: { type: Number, default: -1 },
|
|
326
1116
|
id: { type: String, default: "" },
|
|
327
1117
|
customTitleClass: { type: String, default: "" },
|
|
@@ -331,55 +1121,518 @@ const V = H({
|
|
|
331
1121
|
disabled: { type: Boolean, default: !1 },
|
|
332
1122
|
removeable: { type: Boolean, default: !1 },
|
|
333
1123
|
show: { type: Boolean, default: !0 },
|
|
334
|
-
toolbar: { type: Object },
|
|
1124
|
+
toolbar: { type: Object, default: {} },
|
|
335
1125
|
toolbarPosition: { type: String, default: "inContent" }
|
|
336
|
-
},
|
|
337
|
-
|
|
338
|
-
|
|
1126
|
+
}, pe = re(ce, vt, ye), ht = /* @__PURE__ */ new Map([
|
|
1127
|
+
["appearance", ge],
|
|
1128
|
+
["expanded", "expandStatus"],
|
|
1129
|
+
["title", (e, t) => ({ mainTitle: t })]
|
|
1130
|
+
]), gt = "https://json-schema.org/draft/2020-12/schema", yt = "https://farris-design.gitee.io/section.schema.json", mt = "section", Ct = "A Farris Container Component", wt = "object", Tt = {
|
|
1131
|
+
id: {
|
|
1132
|
+
description: "The unique identifier for a Section",
|
|
1133
|
+
type: "string"
|
|
1134
|
+
},
|
|
1135
|
+
type: {
|
|
1136
|
+
description: "The type string of Section component",
|
|
1137
|
+
type: "string",
|
|
1138
|
+
default: "section"
|
|
1139
|
+
},
|
|
1140
|
+
appearance: {
|
|
1141
|
+
description: "",
|
|
1142
|
+
type: "object",
|
|
1143
|
+
properties: {
|
|
1144
|
+
class: {
|
|
1145
|
+
type: "string"
|
|
1146
|
+
},
|
|
1147
|
+
style: {
|
|
1148
|
+
type: "string"
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
default: {}
|
|
1152
|
+
},
|
|
1153
|
+
contentClass: {
|
|
1154
|
+
description: "",
|
|
1155
|
+
type: "string",
|
|
1156
|
+
default: ""
|
|
1157
|
+
},
|
|
1158
|
+
contents: {
|
|
1159
|
+
description: "",
|
|
1160
|
+
type: "array",
|
|
1161
|
+
default: []
|
|
1162
|
+
},
|
|
1163
|
+
enableAccordion: {
|
|
1164
|
+
description: "",
|
|
1165
|
+
type: "boolean",
|
|
1166
|
+
default: !1
|
|
1167
|
+
},
|
|
1168
|
+
enableCollapse: {
|
|
1169
|
+
description: "",
|
|
1170
|
+
type: "boolean",
|
|
1171
|
+
default: !0
|
|
1172
|
+
},
|
|
1173
|
+
enableMaximize: {
|
|
1174
|
+
description: "",
|
|
1175
|
+
type: "boolean",
|
|
1176
|
+
default: !0
|
|
1177
|
+
},
|
|
1178
|
+
expanded: {
|
|
1179
|
+
description: "",
|
|
1180
|
+
type: "boolean",
|
|
1181
|
+
default: !0
|
|
1182
|
+
},
|
|
1183
|
+
fill: {
|
|
1184
|
+
description: "",
|
|
1185
|
+
type: "boolean",
|
|
1186
|
+
default: !1
|
|
1187
|
+
},
|
|
1188
|
+
headerClass: {
|
|
1189
|
+
description: "",
|
|
1190
|
+
type: "string",
|
|
1191
|
+
default: ""
|
|
1192
|
+
},
|
|
1193
|
+
size: {
|
|
1194
|
+
description: "",
|
|
1195
|
+
type: "object",
|
|
1196
|
+
properties: {
|
|
1197
|
+
width: {
|
|
1198
|
+
type: "number"
|
|
1199
|
+
},
|
|
1200
|
+
height: {
|
|
1201
|
+
type: "number"
|
|
1202
|
+
}
|
|
1203
|
+
},
|
|
1204
|
+
default: null
|
|
1205
|
+
},
|
|
1206
|
+
subTitle: {
|
|
1207
|
+
description: "",
|
|
1208
|
+
type: "string",
|
|
1209
|
+
default: ""
|
|
1210
|
+
},
|
|
1211
|
+
title: {
|
|
1212
|
+
description: "",
|
|
1213
|
+
type: "string",
|
|
1214
|
+
default: ""
|
|
1215
|
+
},
|
|
1216
|
+
titleClass: {
|
|
1217
|
+
description: "",
|
|
1218
|
+
type: "string",
|
|
1219
|
+
default: ""
|
|
1220
|
+
},
|
|
1221
|
+
toolbarClass: {
|
|
1222
|
+
description: "",
|
|
1223
|
+
type: "string",
|
|
1224
|
+
default: ""
|
|
1225
|
+
},
|
|
1226
|
+
visible: {
|
|
1227
|
+
description: "",
|
|
1228
|
+
type: "boolean",
|
|
1229
|
+
default: !0
|
|
1230
|
+
}
|
|
1231
|
+
}, St = [
|
|
1232
|
+
"id",
|
|
1233
|
+
"type",
|
|
1234
|
+
"contents"
|
|
1235
|
+
], xt = {
|
|
1236
|
+
$schema: gt,
|
|
1237
|
+
$id: yt,
|
|
1238
|
+
title: mt,
|
|
1239
|
+
description: Ct,
|
|
1240
|
+
type: wt,
|
|
1241
|
+
properties: Tt,
|
|
1242
|
+
required: St
|
|
1243
|
+
}, De = {
|
|
1244
|
+
clickThrottleTime: { type: Number, default: 350 },
|
|
1245
|
+
contentClass: { type: String, default: "" },
|
|
1246
|
+
context: { type: Object },
|
|
1247
|
+
customClass: { type: String, default: "" },
|
|
1248
|
+
enableAccordion: { type: Boolean, default: !1 },
|
|
1249
|
+
enableCollapse: { type: Boolean, default: !0 },
|
|
1250
|
+
enableMaximize: { type: Boolean, default: !1 },
|
|
1251
|
+
expandStatus: { type: Boolean, default: !0 },
|
|
1252
|
+
fill: { type: Boolean, default: !1 },
|
|
1253
|
+
headerClass: { type: String, default: "" },
|
|
1254
|
+
index: { type: Number },
|
|
1255
|
+
maxStatus: { type: Boolean, default: !1 },
|
|
1256
|
+
mainTitle: { type: String, default: "" },
|
|
1257
|
+
showHeader: { type: Boolean, default: !0 },
|
|
1258
|
+
showToolbarMoreButton: { type: Boolean, default: !0 },
|
|
1259
|
+
subTitle: { type: String, default: "" },
|
|
1260
|
+
toolbarPosition: { type: String, default: "" },
|
|
1261
|
+
toolbarButtons: { type: Array, default: [] },
|
|
1262
|
+
toolbar: { type: Object, default: {} }
|
|
1263
|
+
};
|
|
1264
|
+
re(De, xt, ht);
|
|
1265
|
+
const Me = /* @__PURE__ */ L({
|
|
1266
|
+
name: "FSection",
|
|
1267
|
+
props: De,
|
|
339
1268
|
emits: [],
|
|
340
|
-
setup(
|
|
341
|
-
const o =
|
|
342
|
-
|
|
343
|
-
const i =
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
1269
|
+
setup(e, t) {
|
|
1270
|
+
const n = j(e.customClass), s = g(() => e.showHeader && (!!e.mainTitle || !!e.subTitle)), o = g(() => !!e.mainTitle || !!e.subTitle), b = g(() => !!e.subTitle);
|
|
1271
|
+
g(() => !1), g(() => !1), g(() => !1), g(() => !1), j([]);
|
|
1272
|
+
const i = g(() => {
|
|
1273
|
+
const f = {
|
|
1274
|
+
"f-section": !0
|
|
1275
|
+
};
|
|
1276
|
+
return n.value && n.value.split(" ").reduce((T, p) => (T[p] = !0, T), f), f;
|
|
1277
|
+
}), y = g(() => {
|
|
1278
|
+
const f = e.headerClass.split(" "), T = {
|
|
1279
|
+
"f-section-header": !0
|
|
1280
|
+
};
|
|
1281
|
+
return f.reduce((p, c) => (p[c] = !0, p), T), T;
|
|
351
1282
|
});
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
1283
|
+
g(() => ({
|
|
1284
|
+
"f-section-extend": !0
|
|
1285
|
+
}));
|
|
1286
|
+
const C = g(() => {
|
|
1287
|
+
const f = e.contentClass.split(" "), T = {
|
|
1288
|
+
"f-section-content": !0
|
|
355
1289
|
};
|
|
1290
|
+
return f.reduce((p, c) => (p[c] = !0, p), T), T;
|
|
1291
|
+
}), r = j(e.mainTitle), l = j(e.subTitle);
|
|
1292
|
+
function a() {
|
|
1293
|
+
return s.value && d("div", {
|
|
1294
|
+
class: y.value
|
|
1295
|
+
}, [o.value && d("div", {
|
|
1296
|
+
class: "f-title"
|
|
1297
|
+
}, [d("h4", {
|
|
1298
|
+
class: "f-title-text"
|
|
1299
|
+
}, [r.value]), b.value && d("span", null, [l.value])])]);
|
|
356
1300
|
}
|
|
357
|
-
|
|
358
|
-
|
|
1301
|
+
function v() {
|
|
1302
|
+
return d("div", {
|
|
1303
|
+
class: C.value
|
|
1304
|
+
}, [t.slots.default && t.slots.default()]);
|
|
1305
|
+
}
|
|
1306
|
+
return () => d("div", {
|
|
1307
|
+
class: i.value
|
|
1308
|
+
}, [a(), v()]);
|
|
1309
|
+
}
|
|
1310
|
+
});
|
|
1311
|
+
function jt(e) {
|
|
1312
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ve(e);
|
|
1313
|
+
}
|
|
1314
|
+
const se = /* @__PURE__ */ L({
|
|
1315
|
+
name: "FTabPage",
|
|
1316
|
+
props: ce,
|
|
1317
|
+
emits: [],
|
|
1318
|
+
setup(e, t) {
|
|
1319
|
+
const n = Y("tabs"), s = j(!0), o = {
|
|
1320
|
+
slots: t.slots,
|
|
1321
|
+
props: e
|
|
1322
|
+
}, b = j((n == null ? void 0 : n.tabType.value) || "default");
|
|
1323
|
+
_(() => {
|
|
1324
|
+
const a = n == null ? void 0 : n.tabPages.value.findIndex((v) => v.props.id === e.id);
|
|
1325
|
+
!a || a === -1 ? n == null || n.addTab(o) : a > -1 && (s.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
|
|
1326
|
+
}), ae(() => {
|
|
1327
|
+
});
|
|
1328
|
+
const i = g(() => ({
|
|
1329
|
+
display: (e == null ? void 0 : e.id) === (n == null ? void 0 : n.activeId.value) ? "" : "none"
|
|
1330
|
+
}));
|
|
1331
|
+
z(() => e, (a) => {
|
|
1332
|
+
n == null || n.updateTab({
|
|
359
1333
|
props: a,
|
|
360
|
-
slots:
|
|
1334
|
+
slots: t.slots
|
|
361
1335
|
});
|
|
362
1336
|
}, {
|
|
363
1337
|
immediate: !0,
|
|
364
1338
|
deep: !0
|
|
365
|
-
})
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
1339
|
+
});
|
|
1340
|
+
function y() {
|
|
1341
|
+
var v, f;
|
|
1342
|
+
const a = (f = (v = t.slots).default) == null ? void 0 : f.call(v);
|
|
1343
|
+
return d(Me, {
|
|
1344
|
+
"main-title": e.title,
|
|
1345
|
+
class: "farris-tab-page"
|
|
1346
|
+
}, jt(a) ? a : {
|
|
1347
|
+
default: () => [a]
|
|
1348
|
+
});
|
|
1349
|
+
}
|
|
1350
|
+
function C() {
|
|
1351
|
+
var v, f;
|
|
1352
|
+
const a = (f = (v = t.slots).default) == null ? void 0 : f.call(v);
|
|
1353
|
+
return d("div", {
|
|
369
1354
|
class: "farris-tab-page",
|
|
370
|
-
style:
|
|
371
|
-
}, [a])
|
|
1355
|
+
style: i.value
|
|
1356
|
+
}, [a]);
|
|
1357
|
+
}
|
|
1358
|
+
const l = (/* @__PURE__ */ new Map([["default", C], ["one-page", y]])).get(b.value) || C;
|
|
1359
|
+
return () => s.value ? l() : null;
|
|
1360
|
+
}
|
|
1361
|
+
});
|
|
1362
|
+
function ke(e, t, n) {
|
|
1363
|
+
var h;
|
|
1364
|
+
const s = n == null ? void 0 : n.checkIsInFixedContextRules(), o = n && n.getStyles && n.getStyles() || "";
|
|
1365
|
+
function b() {
|
|
1366
|
+
return !(t.schema.componentType || s);
|
|
1367
|
+
}
|
|
1368
|
+
function i() {
|
|
1369
|
+
return !1;
|
|
1370
|
+
}
|
|
1371
|
+
function y() {
|
|
1372
|
+
return !(t.schema.componentType || s);
|
|
1373
|
+
}
|
|
1374
|
+
function C() {
|
|
1375
|
+
return !!s;
|
|
1376
|
+
}
|
|
1377
|
+
function r(x) {
|
|
1378
|
+
if (!x)
|
|
1379
|
+
return null;
|
|
1380
|
+
if (x.schema.type === "Component")
|
|
1381
|
+
return x;
|
|
1382
|
+
const D = r(x.parent);
|
|
1383
|
+
return D || null;
|
|
1384
|
+
}
|
|
1385
|
+
function l(x, D, R) {
|
|
1386
|
+
return !!n && n.canAccepts();
|
|
1387
|
+
}
|
|
1388
|
+
function a() {
|
|
1389
|
+
return t.schema.label || t.schema.title || t.schema.name;
|
|
1390
|
+
}
|
|
1391
|
+
function v() {
|
|
1392
|
+
}
|
|
1393
|
+
function f(x, D) {
|
|
1394
|
+
D && (n == null || n.onAcceptMovedChildElement(D));
|
|
1395
|
+
}
|
|
1396
|
+
function T(x, D) {
|
|
1397
|
+
const R = String(x.getAttribute("data-controltype"));
|
|
1398
|
+
return Ne(R);
|
|
1399
|
+
}
|
|
1400
|
+
function p(x) {
|
|
1401
|
+
return x.contents ? x.contents.length : -1;
|
|
1402
|
+
}
|
|
1403
|
+
function c(x) {
|
|
1404
|
+
}
|
|
1405
|
+
const u = {
|
|
1406
|
+
canMove: b(),
|
|
1407
|
+
canSelectParent: i(),
|
|
1408
|
+
canDelete: y(),
|
|
1409
|
+
canNested: !C(),
|
|
1410
|
+
contents: t.schema.contents,
|
|
1411
|
+
elementRef: e,
|
|
1412
|
+
parent: (h = t.parent) == null ? void 0 : h.componentInstance.value,
|
|
1413
|
+
schema: t.schema,
|
|
1414
|
+
styles: o,
|
|
1415
|
+
canAccepts: l,
|
|
1416
|
+
getBelongedComponentInstance: r,
|
|
1417
|
+
getDraggingDisplayText: a,
|
|
1418
|
+
getDragScopeElement: v,
|
|
1419
|
+
onAcceptMovedChildElement: f,
|
|
1420
|
+
onAcceptNewChildElement: T,
|
|
1421
|
+
onAddNewChildElement: p,
|
|
1422
|
+
onChildElementMovedOut: c,
|
|
1423
|
+
triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved
|
|
1424
|
+
};
|
|
1425
|
+
return j(u);
|
|
1426
|
+
}
|
|
1427
|
+
const Bt = /* @__PURE__ */ L({
|
|
1428
|
+
name: "FTabsDesign",
|
|
1429
|
+
props: ie,
|
|
1430
|
+
emits: ["tabChange", "tabRemove"],
|
|
1431
|
+
setup(e, t) {
|
|
1432
|
+
const n = j(), s = Y("design-item-context"), o = ke(n, s), b = j(e.tabType), i = U(), y = U(), C = me(e, t, i), {
|
|
1433
|
+
activeId: r,
|
|
1434
|
+
changeTitleStyle: l,
|
|
1435
|
+
tabPages: a,
|
|
1436
|
+
addTab: v,
|
|
1437
|
+
updateTab: f,
|
|
1438
|
+
selectTabByTabId: T,
|
|
1439
|
+
toolbarItems: p
|
|
1440
|
+
} = C, c = je(e, y, C), u = Se(e, i, c, C), {
|
|
1441
|
+
previousButtonClass: h,
|
|
1442
|
+
nextButtonClass: x,
|
|
1443
|
+
nextButtonGroupClass: D,
|
|
1444
|
+
scrollTab: R,
|
|
1445
|
+
updateNavigationLayout: m
|
|
1446
|
+
} = u, w = xe(e, C), {
|
|
1447
|
+
hideDropDown: S
|
|
1448
|
+
} = w, B = Ce(e, i, u, c, C), P = B, E = we(e, i, u, c, C), V = /* @__PURE__ */ new Map([["default", B], ["one-page", P], ["pills", E]]);
|
|
1449
|
+
g(() => {
|
|
1450
|
+
const O = a.value.find((H) => H.props.id === r.value);
|
|
1451
|
+
return O == null ? void 0 : O.slots;
|
|
1452
|
+
});
|
|
1453
|
+
const N = g(() => {
|
|
1454
|
+
const O = a.value.find((X) => X.props.id === r.value);
|
|
1455
|
+
return (O == null ? void 0 : O.props.toolbarPosition) === "inHead";
|
|
1456
|
+
});
|
|
1457
|
+
be("tabs", {
|
|
1458
|
+
activeId: r,
|
|
1459
|
+
addTab: v,
|
|
1460
|
+
updateTab: f,
|
|
1461
|
+
tabPages: a,
|
|
1462
|
+
tabType: b
|
|
1463
|
+
});
|
|
1464
|
+
const G = g(() => e.fill || e.tabType === "fill"), I = g(() => e.tabType === "pills"), A = g(() => ({
|
|
1465
|
+
"farris-tabs-header": !0,
|
|
1466
|
+
"farris-tabs-inHead": N.value,
|
|
1467
|
+
"farris-tabs-inContent": !N.value,
|
|
1468
|
+
"farris-tabs-nav-fill": G.value,
|
|
1469
|
+
"farris-tabs-nav-pills": I.value
|
|
1470
|
+
})), W = g(() => ({
|
|
1471
|
+
width: N.value && e.titleWidth ? `${e.titleWidth}%` : ""
|
|
1472
|
+
})), F = g(() => ({
|
|
1473
|
+
"farris-tabs": !0,
|
|
1474
|
+
"flex-column": e.position === "top",
|
|
1475
|
+
"flex-column-reverse": e.position === "bottom",
|
|
1476
|
+
"flex-row": e.position === "left",
|
|
1477
|
+
"flex-row-reverse": e.position === "right",
|
|
1478
|
+
"one-page": e.tabType === "one-page"
|
|
1479
|
+
}));
|
|
1480
|
+
_(() => {
|
|
1481
|
+
a.value.length && (r.value = e.activeId || a.value[0].props.id, T(r.value)), q(() => {
|
|
1482
|
+
m();
|
|
1483
|
+
}), l(i), window.addEventListener("click", (O) => {
|
|
1484
|
+
var H;
|
|
1485
|
+
S.value || (H = n.value) != null && H.contains(O.target) || (S.value = !0);
|
|
1486
|
+
}), window.addEventListener("resize", () => {
|
|
1487
|
+
m();
|
|
1488
|
+
}), n.value.componentInstance = o;
|
|
1489
|
+
});
|
|
1490
|
+
function Z() {
|
|
1491
|
+
return d("button", {
|
|
1492
|
+
title: "left-arrow-button",
|
|
1493
|
+
type: "button",
|
|
1494
|
+
class: h.value,
|
|
1495
|
+
onClick: () => {
|
|
1496
|
+
R(0, -1);
|
|
1497
|
+
}
|
|
1498
|
+
}, null);
|
|
1499
|
+
}
|
|
1500
|
+
function K() {
|
|
1501
|
+
return d("button", {
|
|
1502
|
+
title: "right-arrow-button",
|
|
1503
|
+
type: "button",
|
|
1504
|
+
class: x.value,
|
|
1505
|
+
onClick: () => {
|
|
1506
|
+
R(0, 1);
|
|
1507
|
+
}
|
|
1508
|
+
}, null);
|
|
1509
|
+
}
|
|
1510
|
+
const {
|
|
1511
|
+
renderMorePagesButtton: ee
|
|
1512
|
+
} = Te(e, w, u, C), J = (O) => {
|
|
1513
|
+
t.emit("Click", O);
|
|
372
1514
|
};
|
|
1515
|
+
function te() {
|
|
1516
|
+
return !!p.value.length && d(Oe, {
|
|
1517
|
+
items: p.value,
|
|
1518
|
+
onClick: J
|
|
1519
|
+
}, null);
|
|
1520
|
+
}
|
|
1521
|
+
const Q = V.get(e.tabType) || V.get("default");
|
|
1522
|
+
function k() {
|
|
1523
|
+
var O, H, X, ue;
|
|
1524
|
+
return d("div", {
|
|
1525
|
+
class: A.value
|
|
1526
|
+
}, [d("div", {
|
|
1527
|
+
class: "farris-tabs-header-pre"
|
|
1528
|
+
}, [(H = (O = t.slots).headerPrefix) == null ? void 0 : H.call(O)]), d("div", {
|
|
1529
|
+
class: "farris-tabs-title scroll-tabs",
|
|
1530
|
+
style: W.value
|
|
1531
|
+
}, [Z(), Q && Q(), d("div", {
|
|
1532
|
+
class: D.value
|
|
1533
|
+
}, [K(), ee()])]), te(), d("div", {
|
|
1534
|
+
class: "farris-tabs-header-post"
|
|
1535
|
+
}, [(ue = (X = t.slots).headerSuffix) == null ? void 0 : ue.call(X)])]);
|
|
1536
|
+
}
|
|
1537
|
+
function $() {
|
|
1538
|
+
var O, H;
|
|
1539
|
+
return d("div", {
|
|
1540
|
+
class: "farris-tabs-content",
|
|
1541
|
+
ref: y
|
|
1542
|
+
}, [(H = (O = t.slots).default) == null ? void 0 : H.call(O)]);
|
|
1543
|
+
}
|
|
1544
|
+
return t.expose(o.value), () => d("div", {
|
|
1545
|
+
class: F.value,
|
|
1546
|
+
ref: n
|
|
1547
|
+
}, [k(), $()]);
|
|
1548
|
+
}
|
|
1549
|
+
});
|
|
1550
|
+
function It(e, t) {
|
|
1551
|
+
let s = !0;
|
|
1552
|
+
function o() {
|
|
1553
|
+
return !!s;
|
|
1554
|
+
}
|
|
1555
|
+
function b() {
|
|
1556
|
+
const y = e, C = y.appearance && y.appearance.class || "", r = C ? C.split(" ") : [], l = y.contents || [], a = l.length ? l[0] : null, v = a && a.appearance && a.appearance.class || "", f = v ? v.split(" ") : [], T = t, p = T && T.appearance && T.appearance.class || "", c = p ? p.split(" ") : [];
|
|
1557
|
+
return r.includes("f-section-form") && (T == null ? void 0 : T.type) === "content-container" && f.includes("f-form-layout") || r.includes("f-section-tabs") && c.includes("f-struct-wrapper") && f.includes("f-component-tabs") || r.includes("f-section-grid") && c.includes("f-struct-wrapper") && (f.includes("f-component-grid") || f.includes("f-filter-container")) || r.includes("f-section-treegrid") && c.includes("f-struct-wrapper") && f.includes("f-component-treetable") || r.includes("f-section-oa-table") && c.includes("f-struct-wrapper") && f.includes("f-form-is-table") || r.includes("f-section-card-table") && c.includes("f-struct-wrapper") && f.includes("f-form-is-table") || r.includes("f-section-scheme") && a && a.type === "query-solution" || (r.includes("f-section-in-main") || r.includes("f-section-in-mainsubcard")) && c.includes("f-struct-wrapper") && a && a.type === "content-container" || (r.includes("f-section-in-main") || r.includes("f-section-in-mainsubcard")) && c.includes("f-struct-wrapper") && a && a.type === "file-upload-preview" ? (s = !1, !0) : a && (a.type === "approval-comments" || a.type === "approval-comments") ? (s = !1, !1) : r.includes("f-section-grid") && c.includes("f-struct-wrapper") && f.includes("f-component-appointment-calendar") ? (s = !1, !0) : !1;
|
|
1558
|
+
}
|
|
1559
|
+
function i(y) {
|
|
1560
|
+
}
|
|
1561
|
+
return { canAccepts: o, checkIsInFixedContextRules: b, onAcceptMovedChildElement: i, triggerBelongedComponentToMoveWhenMoved: !1 };
|
|
1562
|
+
}
|
|
1563
|
+
function Ot(e) {
|
|
1564
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !ve(e);
|
|
1565
|
+
}
|
|
1566
|
+
const Dt = /* @__PURE__ */ L({
|
|
1567
|
+
name: "FTabPageDesign",
|
|
1568
|
+
props: ce,
|
|
1569
|
+
emits: [],
|
|
1570
|
+
setup(e, t) {
|
|
1571
|
+
var p;
|
|
1572
|
+
const n = j(), s = Y("design-item-context"), o = It(s.schema, (p = s.parent) == null ? void 0 : p.schema), b = ke(n, s, o);
|
|
1573
|
+
b.value.canNested = !1, t.expose(b.value);
|
|
1574
|
+
const i = Y("tabs"), y = j(!0), C = {
|
|
1575
|
+
slots: t.slots,
|
|
1576
|
+
props: e
|
|
1577
|
+
}, r = j((i == null ? void 0 : i.tabType.value) || "default");
|
|
1578
|
+
_(() => {
|
|
1579
|
+
n.value.componentInstance = b;
|
|
1580
|
+
const c = i == null ? void 0 : i.tabPages.value.findIndex((u) => u.props.id === e.id);
|
|
1581
|
+
!c || c === -1 ? i == null || i.addTab(C) : c > -1 && (y.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
|
|
1582
|
+
}), ae(() => {
|
|
1583
|
+
});
|
|
1584
|
+
const l = g(() => ({
|
|
1585
|
+
display: (e == null ? void 0 : e.id) === (i == null ? void 0 : i.activeId.value) ? "" : "none"
|
|
1586
|
+
}));
|
|
1587
|
+
z(() => e, (c) => {
|
|
1588
|
+
i == null || i.updateTab({
|
|
1589
|
+
props: c,
|
|
1590
|
+
slots: t.slots
|
|
1591
|
+
});
|
|
1592
|
+
}, {
|
|
1593
|
+
immediate: !0,
|
|
1594
|
+
deep: !0
|
|
1595
|
+
});
|
|
1596
|
+
function a() {
|
|
1597
|
+
var u, h;
|
|
1598
|
+
const c = (h = (u = t.slots).default) == null ? void 0 : h.call(u);
|
|
1599
|
+
return d(Me, {
|
|
1600
|
+
"main-title": e.title,
|
|
1601
|
+
class: "farris-tab-page"
|
|
1602
|
+
}, Ot(c) ? c : {
|
|
1603
|
+
default: () => [c]
|
|
1604
|
+
});
|
|
1605
|
+
}
|
|
1606
|
+
function v() {
|
|
1607
|
+
var u, h;
|
|
1608
|
+
const c = (h = (u = t.slots).default) == null ? void 0 : h.call(u);
|
|
1609
|
+
return d("div", {
|
|
1610
|
+
ref: n,
|
|
1611
|
+
class: "farris-tab-page drag-container",
|
|
1612
|
+
dragref: `${s.schema.id}-container`,
|
|
1613
|
+
style: l.value
|
|
1614
|
+
}, [c]);
|
|
1615
|
+
}
|
|
1616
|
+
const T = (/* @__PURE__ */ new Map([["default", v], ["one-page", a]])).get(r.value) || v;
|
|
1617
|
+
return () => y.value ? T() : null;
|
|
373
1618
|
}
|
|
374
|
-
}),
|
|
375
|
-
install(
|
|
376
|
-
|
|
1619
|
+
}), Pt = {
|
|
1620
|
+
install(e) {
|
|
1621
|
+
e.component(ne.name, ne), e.component(se.name, se);
|
|
1622
|
+
},
|
|
1623
|
+
register(e, t) {
|
|
1624
|
+
e.tabs = ne, e["tab-page"] = se, t.tabs = de, t["tab-page"] = pe;
|
|
1625
|
+
},
|
|
1626
|
+
registerDesigner(e, t) {
|
|
1627
|
+
e.tabs = Bt, e["tab-page"] = Dt, t.tabs = de, t["tab-page"] = pe;
|
|
377
1628
|
}
|
|
378
1629
|
};
|
|
379
1630
|
export {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
pe as
|
|
1631
|
+
se as TabPage,
|
|
1632
|
+
ne as Tabs,
|
|
1633
|
+
Pt as default,
|
|
1634
|
+
ce as tabPageProps,
|
|
1635
|
+
pe as tabPagePropsResolver,
|
|
1636
|
+
ie as tabsProps,
|
|
1637
|
+
de as tabsPropsResolver
|
|
385
1638
|
};
|