@farris/ui-vue 1.0.2 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/farris.all.esm.js +52196 -23847
- package/farris.all.umd.cjs +26 -0
- package/package.json +7 -6
- package/style.css +1 -11
- package/accordion/index.esm.js +0 -355
- package/accordion/index.umd.js +0 -1
- package/accordion/package.json +0 -8
- package/accordion/style.css +0 -1
- package/avatar/index.esm.js +0 -121
- package/avatar/index.umd.js +0 -1
- package/avatar/package.json +0 -8
- package/avatar/style.css +0 -1
- package/button/index.esm.js +0 -271
- package/button/index.umd.js +0 -1
- package/button/package.json +0 -8
- package/button-edit/index.esm.js +0 -1208
- package/button-edit/index.umd.js +0 -1
- package/button-edit/package.json +0 -8
- package/button-edit/style.css +0 -1
- package/calculator/index.esm.js +0 -315
- package/calculator/index.umd.js +0 -1
- package/calculator/package.json +0 -8
- package/calculator/style.css +0 -1
- package/calendar/index.esm.js +0 -778
- package/calendar/index.umd.js +0 -1
- package/calendar/package.json +0 -8
- package/calendar/style.css +0 -1
- package/capsule/index.esm.js +0 -130
- package/capsule/index.umd.js +0 -1
- package/capsule/package.json +0 -8
- package/capsule/style.css +0 -1
- package/checkbox/index.esm.js +0 -251
- package/checkbox/index.umd.js +0 -1
- package/checkbox/package.json +0 -8
- package/color-picker/index.esm.js +0 -1551
- package/color-picker/index.umd.js +0 -16
- package/color-picker/package.json +0 -8
- package/color-picker/style.css +0 -1
- package/combo-list/index.esm.js +0 -2227
- package/combo-list/index.umd.js +0 -1
- package/combo-list/package.json +0 -8
- package/combo-list/style.css +0 -1
- package/component/index.esm.js +0 -176
- package/component/index.umd.js +0 -1
- package/component/package.json +0 -8
- package/condition/index.esm.js +0 -13570
- package/condition/index.umd.js +0 -1
- package/condition/package.json +0 -8
- package/condition/style.css +0 -1
- package/content-container/index.esm.js +0 -242
- package/content-container/index.umd.js +0 -1
- package/content-container/package.json +0 -8
- package/data-grid/index.esm.js +0 -13724
- package/data-grid/index.umd.js +0 -1
- package/data-grid/package.json +0 -8
- package/data-grid/style.css +0 -1
- package/date-picker/index.esm.js +0 -2558
- package/date-picker/index.umd.js +0 -1
- package/date-picker/package.json +0 -8
- package/date-picker/style.css +0 -1
- package/designer-canvas/index.esm.js +0 -15240
- package/designer-canvas/index.umd.js +0 -1
- package/designer-canvas/package.json +0 -8
- package/designer-canvas/style.css +0 -1
- package/discussion-editor/index.esm.js +0 -3559
- package/discussion-editor/index.umd.js +0 -16
- package/discussion-editor/package.json +0 -8
- package/discussion-editor/style.css +0 -1
- package/discussion-list/index.esm.js +0 -111
- package/discussion-list/index.umd.js +0 -1
- package/discussion-list/package.json +0 -8
- package/discussion-list/style.css +0 -1
- package/dropdown/index.esm.js +0 -214
- package/dropdown/index.umd.js +0 -1
- package/dropdown/package.json +0 -8
- package/dropdown/style.css +0 -1
- package/dynamic-form/index.esm.js +0 -13568
- package/dynamic-form/index.umd.js +0 -1
- package/dynamic-form/package.json +0 -8
- package/dynamic-form/style.css +0 -1
- package/dynamic-resolver/index.esm.js +0 -41
- package/dynamic-resolver/index.umd.js +0 -1
- package/dynamic-resolver/package.json +0 -8
- package/dynamic-view/index.esm.js +0 -13608
- package/dynamic-view/index.umd.js +0 -1
- package/dynamic-view/package.json +0 -8
- package/dynamic-view/style.css +0 -1
- package/farris.all.umd.js +0 -24
- package/filter-bar/index.esm.js +0 -549
- package/filter-bar/index.umd.js +0 -1
- package/filter-bar/package.json +0 -8
- package/filter-bar/style.css +0 -1
- package/image-cropper/index.esm.js +0 -720
- package/image-cropper/index.umd.js +0 -1
- package/image-cropper/package.json +0 -8
- package/image-cropper/style.css +0 -1
- package/input-group/index.esm.js +0 -549
- package/input-group/index.umd.js +0 -1
- package/input-group/package.json +0 -8
- package/input-group/style.css +0 -1
- package/list-nav/index.esm.js +0 -61
- package/list-nav/index.umd.js +0 -1
- package/list-nav/package.json +0 -8
- package/list-nav/style.css +0 -1
- package/list-view/index.esm.js +0 -536
- package/list-view/index.umd.js +0 -1
- package/list-view/package.json +0 -8
- package/list-view/style.css +0 -1
- package/loading/index.esm.js +0 -124
- package/loading/index.umd.js +0 -8
- package/loading/package.json +0 -8
- package/loading/style.css +0 -1
- package/locale/index.esm.js +0 -1868
- package/locale/index.umd.js +0 -1
- package/locale/package.json +0 -8
- package/message-box/index.esm.js +0 -572
- package/message-box/index.umd.js +0 -1
- package/message-box/package.json +0 -8
- package/message-box/style.css +0 -1
- package/modal/index.esm.js +0 -212
- package/modal/index.umd.js +0 -1
- package/modal/package.json +0 -8
- package/modal/style.css +0 -1
- package/nav/index.esm.js +0 -456
- package/nav/index.umd.js +0 -16
- package/nav/package.json +0 -8
- package/nav/style.css +0 -1
- package/notify/index.esm.js +0 -187
- package/notify/index.umd.js +0 -1
- package/notify/package.json +0 -8
- package/notify/style.css +0 -1
- package/order/index.esm.js +0 -2278
- package/order/index.umd.js +0 -1
- package/order/package.json +0 -8
- package/order/style.css +0 -1
- package/page-footer/index.esm.js +0 -94
- package/page-footer/index.umd.js +0 -1
- package/page-footer/package.json +0 -8
- package/page-header/index.esm.js +0 -230
- package/page-header/index.umd.js +0 -1
- package/page-header/package.json +0 -8
- package/pagination/index.esm.js +0 -340
- package/pagination/index.umd.js +0 -1
- package/pagination/package.json +0 -8
- package/pagination/style.css +0 -1
- package/popover/index.esm.js +0 -218
- package/popover/index.umd.js +0 -1
- package/popover/package.json +0 -8
- package/popover/style.css +0 -1
- package/propress/index.esm.js +0 -108
- package/propress/index.umd.js +0 -1
- package/propress/package.json +0 -8
- package/propress/style.css +0 -1
- package/radio-group/index.esm.js +0 -221
- package/radio-group/index.umd.js +0 -1
- package/radio-group/package.json +0 -8
- package/rate/index.esm.js +0 -168
- package/rate/index.umd.js +0 -1
- package/rate/package.json +0 -8
- package/rate/style.css +0 -1
- package/response-toolbar/index.esm.js +0 -433
- package/response-toolbar/index.umd.js +0 -1
- package/response-toolbar/package.json +0 -8
- package/search-box/index.esm.js +0 -208
- package/search-box/index.umd.js +0 -1
- package/search-box/package.json +0 -8
- package/search-box/style.css +0 -1
- package/section/index.esm.js +0 -366
- package/section/index.umd.js +0 -1
- package/section/package.json +0 -8
- package/section/style.css +0 -1
- package/splitter/index.esm.js +0 -491
- package/splitter/index.umd.js +0 -1
- package/splitter/package.json +0 -8
- package/splitter/style.css +0 -1
- package/step/index.esm.js +0 -117
- package/step/index.umd.js +0 -1
- package/step/package.json +0 -8
- package/step/style.css +0 -1
- package/switch/index.esm.js +0 -197
- package/switch/index.umd.js +0 -1
- package/switch/package.json +0 -8
- package/switch/style.css +0 -1
- package/tabs/index.esm.js +0 -1638
- package/tabs/index.umd.js +0 -1
- package/tabs/package.json +0 -8
- package/tabs/style.css +0 -1
- package/tags/index.esm.js +0 -287
- package/tags/index.umd.js +0 -1
- package/tags/package.json +0 -8
- package/tags/style.css +0 -1
- package/text/index.esm.js +0 -36
- package/text/index.umd.js +0 -1
- package/text/package.json +0 -8
- package/time-picker/index.esm.js +0 -1465
- package/time-picker/index.umd.js +0 -1
- package/time-picker/package.json +0 -8
- package/time-picker/style.css +0 -1
- package/tooltip/index.esm.js +0 -195
- package/tooltip/index.umd.js +0 -1
- package/tooltip/package.json +0 -8
- package/tooltip/style.css +0 -1
- package/transfer/index.esm.js +0 -642
- package/transfer/index.umd.js +0 -1
- package/transfer/package.json +0 -8
- package/transfer/style.css +0 -1
- package/tree-view/index.esm.js +0 -701
- package/tree-view/index.umd.js +0 -1
- package/tree-view/package.json +0 -8
- package/tree-view/style.css +0 -1
- package/types/accordion/index.d.ts +0 -27
- package/types/accordion/src/accordion.component.d.ts +0 -6
- package/types/accordion/src/accordion.props.d.ts +0 -19
- package/types/accordion/src/components/accordion-item.component.d.ts +0 -6
- package/types/accordion/src/components/accordion-item.props.d.ts +0 -19
- package/types/accordion/src/designer/accordion-item.design.component.d.ts +0 -6
- package/types/accordion/src/designer/accordion.design.component.d.ts +0 -6
- package/types/accordion/src/schema/schema-mapper.d.ts +0 -2
- package/types/avatar/index.d.ts +0 -23
- package/types/avatar/src/avatar.component.d.ts +0 -111
- package/types/avatar/src/avatar.props.d.ts +0 -96
- package/types/avatar/src/composition/types.d.ts +0 -31
- package/types/avatar/src/composition/use-image.d.ts +0 -19
- package/types/button/index.d.ts +0 -25
- package/types/button/src/button-group.component.d.ts +0 -108
- package/types/button/src/button-group.props.d.ts +0 -106
- package/types/button/src/button.component.d.ts +0 -42
- package/types/button/src/button.props.d.ts +0 -53
- package/types/button/src/composition/types-group.d.ts +0 -24
- package/types/button/src/composition/types.d.ts +0 -24
- package/types/button/src/composition/use-button-group.d.ts +0 -19
- package/types/button/src/composition/use-button.d.ts +0 -19
- package/types/button-edit/index.d.ts +0 -25
- package/types/button-edit/src/button-edit.component.d.ts +0 -6
- package/types/button-edit/src/button-edit.props.d.ts +0 -21
- package/types/button-edit/src/components/button-group.component.d.ts +0 -3
- package/types/button-edit/src/components/popup-container.component.d.ts +0 -4
- package/types/button-edit/src/components/text-edit.component.d.ts +0 -4
- package/types/button-edit/src/composition/types.d.ts +0 -132
- package/types/button-edit/src/composition/use-button.d.ts +0 -19
- package/types/button-edit/src/composition/use-clear.d.ts +0 -19
- package/types/button-edit/src/composition/use-popup.d.ts +0 -4
- package/types/button-edit/src/composition/use-text-box.d.ts +0 -19
- package/types/button-edit/src/schema/schema-mapper.d.ts +0 -2
- package/types/calculator/index.d.ts +0 -23
- package/types/calculator/src/calculator.component.d.ts +0 -8
- package/types/calculator/src/calculator.props.d.ts +0 -23
- package/types/calculator/src/composition/use-calculator.d.ts +0 -26
- package/types/calendar/index.d.ts +0 -21
- package/types/calendar/src/calendar.props.d.ts +0 -26
- package/types/calendar/src/components/day/day-view.props.d.ts +0 -34
- package/types/calendar/src/components/header/header.props.d.ts +0 -24
- package/types/calendar/src/components/month/month-view.props.d.ts +0 -69
- package/types/calendar/src/components/week/week-view.component.d.ts +0 -106
- package/types/calendar/src/components/week/week-view.props.d.ts +0 -51
- package/types/calendar/src/composition/types.d.ts +0 -57
- package/types/calendar/src/composition/use-calendar.d.ts +0 -2
- package/types/calendar/src/composition/use-compare.d.ts +0 -2
- package/types/calendar/src/composition/use-date.d.ts +0 -2
- package/types/calendar/src/composition/use-event.d.ts +0 -30
- package/types/calendar/src/composition/use-month.d.ts +0 -2
- package/types/calendar/src/types/calendar.d.ts +0 -13
- package/types/calendar/src/types/common.d.ts +0 -32
- package/types/calendar/src/types/month-view.d.ts +0 -23
- package/types/calendar/src/types/month.d.ts +0 -20
- package/types/calendar/src/types/schedule.d.ts +0 -35
- package/types/capsule/index.d.ts +0 -8
- package/types/capsule/src/capsule.props.d.ts +0 -67
- package/types/checkbox/index.d.ts +0 -24
- package/types/checkbox/src/checkbox-group.component.d.ts +0 -6
- package/types/checkbox/src/checkbox-group.props.d.ts +0 -19
- package/types/checkbox/src/composition/types.d.ts +0 -46
- package/types/checkbox/src/composition/use-checkbox-group.d.ts +0 -19
- package/types/checkbox/src/schema/schema-mapper.d.ts +0 -2
- package/types/color-picker/index.d.ts +0 -22
- package/types/color-picker/src/color-picker.props.d.ts +0 -62
- package/types/color-picker/src/composition/class/base-color.class.d.ts +0 -3
- package/types/color-picker/src/composition/class/cmyk.class.d.ts +0 -21
- package/types/color-picker/src/composition/class/colors-table.class.d.ts +0 -154
- package/types/color-picker/src/composition/class/control.class.d.ts +0 -47
- package/types/color-picker/src/composition/class/helper.functions.d.ts +0 -4
- package/types/color-picker/src/composition/class/hsla.class.d.ts +0 -21
- package/types/color-picker/src/composition/class/hsva.class.d.ts +0 -21
- package/types/color-picker/src/composition/class/rgba.class.d.ts +0 -21
- package/types/color-picker/src/composition/component/alpha.d.ts +0 -34
- package/types/color-picker/src/composition/component/hue.d.ts +0 -40
- package/types/color-picker/src/composition/component/preset.d.ts +0 -43
- package/types/color-picker/src/composition/component/props/alpha.props.d.ts +0 -16
- package/types/color-picker/src/composition/component/props/hue.props.d.ts +0 -19
- package/types/color-picker/src/composition/component/props/preset.props.d.ts +0 -20
- package/types/color-picker/src/composition/component/props/sv-panel.props.d.ts +0 -20
- package/types/color-picker/src/composition/component/sv-panel.d.ts +0 -43
- package/types/combo-list/index.d.ts +0 -25
- package/types/combo-list/src/combo-list.props.d.ts +0 -59
- package/types/combo-list/src/components/list-container.props.d.ts +0 -56
- package/types/combo-list/src/composition/types.d.ts +0 -11
- package/types/combo-list/src/composition/use-data-source.d.ts +0 -3
- package/types/combo-list/src/designer/combo-list.design.component.d.ts +0 -6
- package/types/combo-list/src/schema/schema-mapper.d.ts +0 -2
- package/types/component/index.d.ts +0 -26
- package/types/component/src/component.props.d.ts +0 -4
- package/types/component/src/designer/types.d.ts +0 -10
- package/types/component/src/designer/use-designer-rules.d.ts +0 -2
- package/types/component/src/schema/schema-mapper.d.ts +0 -2
- package/types/condition/index.d.ts +0 -24
- package/types/condition/src/composition/condition-value/checkbox-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +0 -19
- package/types/condition/src/composition/condition-value/date-picker-value.d.ts +0 -25
- package/types/condition/src/composition/condition-value/date-range-value.d.ts +0 -18
- package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/dropdown-value.d.ts +0 -18
- package/types/condition/src/composition/condition-value/input-group-value.d.ts +0 -21
- package/types/condition/src/composition/condition-value/lookup-value.d.ts +0 -21
- package/types/condition/src/composition/condition-value/month-picker-value.d.ts +0 -15
- package/types/condition/src/composition/condition-value/month-range-value.d.ts +0 -18
- package/types/condition/src/composition/condition-value/number-range-value.d.ts +0 -21
- package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/radio-group-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/text-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/types.d.ts +0 -9
- package/types/condition/src/composition/types.d.ts +0 -41
- package/types/condition/src/composition/use-compare.d.ts +0 -40
- package/types/condition/src/composition/use-condition-value.d.ts +0 -2
- package/types/condition/src/composition/use-condition.d.ts +0 -2
- package/types/condition/src/composition/use-field-config.d.ts +0 -4
- package/types/condition/src/composition/use-selection.d.ts +0 -4
- package/types/condition/src/condition.props.d.ts +0 -58
- package/types/condition/src/types.d.ts +0 -144
- package/types/content-container/index.d.ts +0 -26
- package/types/content-container/src/content-container.props.d.ts +0 -4
- package/types/content-container/src/designer/use-designer-rules.d.ts +0 -3
- package/types/content-container/src/schema/schema-mapper.d.ts +0 -2
- package/types/data-grid/index.d.ts +0 -26
- package/types/data-grid/src/components/data/data-area.component.d.ts +0 -21
- package/types/data-grid/src/components/editors/commands.component.d.ts +0 -18
- package/types/data-grid/src/components/editors/date-picker.component.d.ts +0 -18
- package/types/data-grid/src/components/editors/text-area-editor.component.d.ts +0 -3
- package/types/data-grid/src/components/editors/text-editor.component.d.ts +0 -18
- package/types/data-grid/src/components/filter/boolean-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/column-filter-container.component.d.ts +0 -19
- package/types/data-grid/src/components/filter/date-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/enum-filter-editor.component.d.ts +0 -3
- package/types/data-grid/src/components/filter/list-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/numeric-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/text-filter-editor.component.d.ts +0 -3
- package/types/data-grid/src/components/group-panel/group-panel.component.d.ts +0 -5
- package/types/data-grid/src/components/header/data-grid-header-handler.component.d.ts +0 -21
- package/types/data-grid/src/components/header/data-grid-header.component.d.ts +0 -22
- package/types/data-grid/src/components/pagination/data-grid-pagination.component.d.ts +0 -5
- package/types/data-grid/src/components/scrollbar/horizontal-scrollbar.component.d.ts +0 -21
- package/types/data-grid/src/components/scrollbar/vertical-scrollbar.component.d.ts +0 -21
- package/types/data-grid/src/components/settings/data-grid-settings-icon.component.d.ts +0 -21
- package/types/data-grid/src/components/sidebar/data-grid-sidebar.component.d.ts +0 -21
- package/types/data-grid/src/components/summary/data-grid-summary.component.d.ts +0 -5
- package/types/data-grid/src/composition/types.d.ts +0 -301
- package/types/data-grid/src/composition/use-column-filter.d.ts +0 -3
- package/types/data-grid/src/composition/use-column.d.ts +0 -20
- package/types/data-grid/src/composition/use-command-column.d.ts +0 -3
- package/types/data-grid/src/composition/use-data-view.d.ts +0 -29
- package/types/data-grid/src/composition/use-drag-column.d.ts +0 -4
- package/types/data-grid/src/composition/use-filter-history.d.ts +0 -2
- package/types/data-grid/src/composition/use-group-column.d.ts +0 -22
- package/types/data-grid/src/composition/use-group-data.d.ts +0 -3
- package/types/data-grid/src/composition/use-positon-style.d.ts +0 -20
- package/types/data-grid/src/composition/use-resize.d.ts +0 -20
- package/types/data-grid/src/composition/use-row.d.ts +0 -19
- package/types/data-grid/src/composition/use-selection.d.ts +0 -3
- package/types/data-grid/src/composition/use-sidebar.d.ts +0 -3
- package/types/data-grid/src/composition/use-sort.d.ts +0 -3
- package/types/data-grid/src/composition/use-virtual-scroll.d.ts +0 -20
- package/types/data-grid/src/composition/use-visual-data-bound.d.ts +0 -2
- package/types/data-grid/src/composition/use-visual-data-cell.d.ts +0 -3
- package/types/data-grid/src/composition/use-visual-data-row.d.ts +0 -3
- package/types/data-grid/src/composition/use-visual-data.d.ts +0 -19
- package/types/data-grid/src/composition/use-visual-summary-row.d.ts +0 -3
- package/types/data-grid/src/data-grid.props.d.ts +0 -512
- package/types/data-grid/src/schema/schema-mapper.d.ts +0 -2
- package/types/date-picker/src/components/calendar/calendar.component.d.ts +0 -168
- package/types/date-picker/src/components/calendar/calendar.props.d.ts +0 -94
- package/types/date-picker/src/components/calendar-navbar/calendar-navbar.component.d.ts +0 -140
- package/types/date-picker/src/components/calendar-navbar/calendar-navbar.props.d.ts +0 -81
- package/types/date-picker/src/components/date-picker-container/date-picker-container.component.d.ts +0 -628
- package/types/date-picker/src/components/date-picker-container/date-picker-container.props.d.ts +0 -306
- package/types/date-picker/src/components/month/month.component.d.ts +0 -88
- package/types/date-picker/src/components/month/month.props.d.ts +0 -57
- package/types/date-picker/src/components/year/year.component.d.ts +0 -88
- package/types/date-picker/src/components/year/year.props.d.ts +0 -57
- package/types/date-picker/src/composition/types.d.ts +0 -102
- package/types/date-picker/src/composition/use-calendar.d.ts +0 -2
- package/types/date-picker/src/composition/use-compare.d.ts +0 -2
- package/types/date-picker/src/composition/use-date.d.ts +0 -2
- package/types/date-picker/src/composition/use-disable-date.d.ts +0 -18
- package/types/date-picker/src/composition/use-disable-month.d.ts +0 -2
- package/types/date-picker/src/composition/use-event.d.ts +0 -45
- package/types/date-picker/src/composition/use-mark.d.ts +0 -2
- package/types/date-picker/src/composition/use-month.d.ts +0 -2
- package/types/date-picker/src/composition/use-number.d.ts +0 -2
- package/types/date-picker/src/composition/use-year.d.ts +0 -2
- package/types/date-picker/src/date-picker.component.d.ts +0 -6
- package/types/date-picker/src/date-picker.props.d.ts +0 -19
- package/types/date-picker/src/designer/date-picker.design.component.d.ts +0 -6
- package/types/date-picker/src/schema/schema-mapper.d.ts +0 -2
- package/types/date-picker/src/types/calendar.d.ts +0 -30
- package/types/date-picker/src/types/common.d.ts +0 -42
- package/types/date-picker/src/types/date-model.d.ts +0 -38
- package/types/date-picker/src/types/month.d.ts +0 -48
- package/types/date-picker/src/types/year.d.ts +0 -24
- package/types/designer-canvas/index.d.ts +0 -8
- package/types/designer-canvas/src/components/designer-item.props.d.ts +0 -3
- package/types/designer-canvas/src/components/designer-placeholder.props.d.ts +0 -7
- package/types/designer-canvas/src/components/maps.d.ts +0 -3
- package/types/designer-canvas/src/components/toolbox.props.d.ts +0 -11
- package/types/designer-canvas/src/composition/types.d.ts +0 -27
- package/types/designer-canvas/src/designer-canvas.props.d.ts +0 -3
- package/types/designer-canvas/src/types.d.ts +0 -40
- package/types/discussion-editor/discussion-editor.component.d.ts +0 -121
- package/types/discussion-editor/discussion-editor.props.d.ts +0 -69
- package/types/discussion-editor/index.d.ts +0 -23
- package/types/discussion-editor/src/composition/use-discussion-editor.d.ts +0 -15
- package/types/discussion-editor/src/types/interface.d.ts +0 -22
- package/types/discussion-list/discussion-list.component.d.ts +0 -70
- package/types/discussion-list/discussion-list.props.d.ts +0 -52
- package/types/discussion-list/index.d.ts +0 -23
- package/types/dropdown/index.d.ts +0 -9
- package/types/dropdown/src/composition/function/use-dropdown.d.ts +0 -26
- package/types/dropdown/src/composition/props/dropdown.item.props.d.ts +0 -46
- package/types/dropdown/src/composition/props/dropdown.props.d.ts +0 -99
- package/types/dropdown/src/dropdown.component.d.ts +0 -179
- package/types/dropdown/src/dropdown.item.component.d.ts +0 -76
- package/types/dropdown/src/types.d.ts +0 -46
- package/types/dynamic-form/index.d.ts +0 -14
- package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.props.d.ts +0 -4
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +0 -15
- package/types/dynamic-form/src/composition/types.d.ts +0 -5
- package/types/dynamic-form/src/dynamic-form.props.d.ts +0 -3
- package/types/dynamic-form/src/schema/schema-mapper.d.ts +0 -2
- package/types/dynamic-form/src/types.d.ts +0 -17
- package/types/dynamic-resolver/index.d.ts +0 -3
- package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +0 -6
- package/types/dynamic-resolver/src/props-resolver.d.ts +0 -2
- package/types/dynamic-resolver/src/schema-resolver.d.ts +0 -5
- package/types/dynamic-resolver/src/types.d.ts +0 -1
- package/types/dynamic-view/index.d.ts +0 -8
- package/types/dynamic-view/src/components/maps.d.ts +0 -4
- package/types/dynamic-view/src/dynamic-view.props.d.ts +0 -15
- package/types/filter-bar/index.d.ts +0 -7
- package/types/filter-bar/src/components/ellipsis-button.component.d.ts +0 -3
- package/types/filter-bar/src/components/filter-item.component.d.ts +0 -5
- package/types/filter-bar/src/components/toolbar-component.d.ts +0 -4
- package/types/filter-bar/src/composition/types.d.ts +0 -14
- package/types/filter-bar/src/composition/use-filter-items.d.ts +0 -4
- package/types/filter-bar/src/filter-bar.props.d.ts +0 -53
- package/types/filter-bar/src/types.d.ts +0 -9
- package/types/image-cropper/index.d.ts +0 -23
- package/types/image-cropper/src/composition/type.d.ts +0 -44
- package/types/image-cropper/src/composition/use-check-aspect-ratio.d.ts +0 -2
- package/types/image-cropper/src/composition/use-image-cropper.d.ts +0 -20
- package/types/image-cropper/src/image-cropper.component.d.ts +0 -248
- package/types/image-cropper/src/image-cropper.props.d.ts +0 -153
- package/types/index.d.ts +0 -25
- package/types/input-group/index.d.ts +0 -25
- package/types/input-group/src/components/appended-button.component.d.ts +0 -4
- package/types/input-group/src/components/text-edit.component.d.ts +0 -4
- package/types/input-group/src/composition/types.d.ts +0 -37
- package/types/input-group/src/composition/use-appended-button.d.ts +0 -4
- package/types/input-group/src/composition/use-clear.d.ts +0 -4
- package/types/input-group/src/composition/use-password.d.ts +0 -4
- package/types/input-group/src/composition/use-text-box.d.ts +0 -4
- package/types/input-group/src/input-group.props.d.ts +0 -4
- package/types/input-group/src/schema/schema-mapper.d.ts +0 -2
- package/types/list-nav/index.d.ts +0 -23
- package/types/list-nav/src/list-nav.component.d.ts +0 -61
- package/types/list-nav/src/list-nav.props.d.ts +0 -51
- package/types/list-view/index.d.ts +0 -23
- package/types/list-view/src/components/header/content-header.component.d.ts +0 -6
- package/types/list-view/src/components/header/search-header.component.d.ts +0 -6
- package/types/list-view/src/components/list-view-checkbox.props.d.ts +0 -38
- package/types/list-view/src/composition/types.d.ts +0 -40
- package/types/list-view/src/composition/use-data-view.d.ts +0 -4
- package/types/list-view/src/composition/use-draggable.d.ts +0 -4
- package/types/list-view/src/composition/use-hover.d.ts +0 -2
- package/types/list-view/src/composition/use-item.d.ts +0 -4
- package/types/list-view/src/composition/use-remove.d.ts +0 -4
- package/types/list-view/src/composition/use-search.d.ts +0 -5
- package/types/list-view/src/composition/use-selection.d.ts +0 -4
- package/types/list-view/src/list-view.component.d.ts +0 -203
- package/types/list-view/src/list-view.props.d.ts +0 -113
- package/types/loading/index.d.ts +0 -23
- package/types/loading/src/composition/types.d.ts +0 -19
- package/types/loading/src/loading.component.d.ts +0 -43
- package/types/loading/src/loading.props.d.ts +0 -35
- package/types/loading/src/loading.service.d.ts +0 -4
- package/types/locale/src/lib/locale.service.d.ts +0 -26
- package/types/locale/src/lib/locales/en-us/avatar.d.ts +0 -7
- package/types/locale/src/lib/locales/en-us/batch-edit-dialog.d.ts +0 -15
- package/types/locale/src/lib/locales/en-us/collapse.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/combo.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/datagrid.d.ts +0 -103
- package/types/locale/src/lib/locales/en-us/discussion-group.d.ts +0 -25
- package/types/locale/src/lib/locales/en-us/filter-editor.d.ts +0 -50
- package/types/locale/src/lib/locales/en-us/filter-panel.d.ts +0 -25
- package/types/locale/src/lib/locales/en-us/footer.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/index.d.ts +0 -568
- package/types/locale/src/lib/locales/en-us/language-label.d.ts +0 -8
- package/types/locale/src/lib/locales/en-us/list-filter.d.ts +0 -6
- package/types/locale/src/lib/locales/en-us/list-view.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/loading.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/lookup-config.d.ts +0 -38
- package/types/locale/src/lib/locales/en-us/lookup.d.ts +0 -48
- package/types/locale/src/lib/locales/en-us/messager.d.ts +0 -28
- package/types/locale/src/lib/locales/en-us/multi-select.d.ts +0 -15
- package/types/locale/src/lib/locales/en-us/notify.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/numeric.d.ts +0 -7
- package/types/locale/src/lib/locales/en-us/page-walker.d.ts +0 -6
- package/types/locale/src/lib/locales/en-us/pagination.d.ts +0 -17
- package/types/locale/src/lib/locales/en-us/progress-step.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/query-condition.d.ts +0 -33
- package/types/locale/src/lib/locales/en-us/query-solution.d.ts +0 -41
- package/types/locale/src/lib/locales/en-us/response-toolbar.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/scrollspy.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/section.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/sidebar.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/sort-editor.d.ts +0 -15
- package/types/locale/src/lib/locales/en-us/tabs.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/tag.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/text.d.ts +0 -10
- package/types/locale/src/lib/locales/en-us/treetable.d.ts +0 -8
- package/types/locale/src/lib/locales/en-us/verify-detail.d.ts +0 -5
- package/types/locale/src/lib/locales/index.d.ts +0 -1712
- package/types/locale/src/lib/locales/zh-CHT/avatar.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-CHT/batch-edit-dialog.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-CHT/collapse.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/combo.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/datagrid.d.ts +0 -103
- package/types/locale/src/lib/locales/zh-CHT/discussion-group.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-CHT/filter-editor.d.ts +0 -50
- package/types/locale/src/lib/locales/zh-CHT/filter-panel.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-CHT/footer.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/index.d.ts +0 -568
- package/types/locale/src/lib/locales/zh-CHT/language-label.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-CHT/list-filter.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-CHT/list-view.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/loading.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/lookup-config.d.ts +0 -38
- package/types/locale/src/lib/locales/zh-CHT/lookup.d.ts +0 -48
- package/types/locale/src/lib/locales/zh-CHT/messager.d.ts +0 -28
- package/types/locale/src/lib/locales/zh-CHT/multi-select.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-CHT/notify.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/numeric.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-CHT/page-walker.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-CHT/pagination.d.ts +0 -17
- package/types/locale/src/lib/locales/zh-CHT/progress-step.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/query-condition.d.ts +0 -33
- package/types/locale/src/lib/locales/zh-CHT/query-solution.d.ts +0 -41
- package/types/locale/src/lib/locales/zh-CHT/response-toolbar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/scrollspy.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/section.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/sidebar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/sort-editor.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-CHT/tabs.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/tag.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/text.d.ts +0 -10
- package/types/locale/src/lib/locales/zh-CHT/treetable.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-CHT/verify-detail.d.ts +0 -5
- package/types/locale/src/lib/locales/zh-cn/avatar.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-cn/batch-edit-dialog.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-cn/collapse.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/combo.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/datagrid.d.ts +0 -105
- package/types/locale/src/lib/locales/zh-cn/discussion-group.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-cn/filter-editor.d.ts +0 -50
- package/types/locale/src/lib/locales/zh-cn/filter-panel.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-cn/footer.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/index.d.ts +0 -574
- package/types/locale/src/lib/locales/zh-cn/language-label.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-cn/list-filter.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-cn/list-view.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/loading.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/lookup-config.d.ts +0 -38
- package/types/locale/src/lib/locales/zh-cn/lookup.d.ts +0 -48
- package/types/locale/src/lib/locales/zh-cn/messager.d.ts +0 -32
- package/types/locale/src/lib/locales/zh-cn/multi-select.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-cn/notify.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/numeric.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-cn/page-walker.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-cn/pagination.d.ts +0 -17
- package/types/locale/src/lib/locales/zh-cn/progress-step.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/query-condition.d.ts +0 -33
- package/types/locale/src/lib/locales/zh-cn/query-solution.d.ts +0 -41
- package/types/locale/src/lib/locales/zh-cn/response-toolbar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/scrollspy.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/section.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/sidebar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/sort-editor.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-cn/tabs.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/tag.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/text.d.ts +0 -10
- package/types/locale/src/lib/locales/zh-cn/treetable.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-cn/verify-detail.d.ts +0 -5
- package/types/message-box/index.d.ts +0 -24
- package/types/message-box/src/components/footer/footer.component.d.ts +0 -4
- package/types/message-box/src/components/message-content/reactive-content.component.d.ts +0 -3
- package/types/message-box/src/components/message-content/static-content.component.d.ts +0 -3
- package/types/message-box/src/components/message-detail/exception-message.component.d.ts +0 -3
- package/types/message-box/src/components/message-detail/static-message.component.d.ts +0 -2
- package/types/message-box/src/components/reactive-editor/textarea.component.d.ts +0 -3
- package/types/message-box/src/composition/types.d.ts +0 -27
- package/types/message-box/src/composition/use-copy.d.ts +0 -2
- package/types/message-box/src/composition/use-editor.d.ts +0 -4
- package/types/message-box/src/composition/use-feedback.d.ts +0 -2
- package/types/message-box/src/message-box.component.d.ts +0 -70
- package/types/message-box/src/message-box.props.d.ts +0 -54
- package/types/modal/index.d.ts +0 -24
- package/types/modal/src/modal.component.d.ts +0 -106
- package/types/modal/src/modal.props.d.ts +0 -72
- package/types/modal/src/modal.service.d.ts +0 -17
- package/types/nav/index.d.ts +0 -23
- package/types/nav/src/composition/types.d.ts +0 -6
- package/types/nav/src/nav.component.d.ts +0 -87
- package/types/nav/src/nav.props.d.ts +0 -62
- package/types/notify/index.d.ts +0 -26
- package/types/notify/src/components/toast.component.d.ts +0 -23
- package/types/notify/src/components/toast.props.d.ts +0 -27
- package/types/notify/src/notify.component.d.ts +0 -130
- package/types/notify/src/notify.props.d.ts +0 -99
- package/types/notify/src/notify.service.d.ts +0 -4
- package/types/number-range/index.d.ts +0 -24
- package/types/number-range/src/components/spinner.component.d.ts +0 -4
- package/types/number-range/src/components/text-box.component.d.ts +0 -4
- package/types/number-range/src/composition/types.d.ts +0 -54
- package/types/number-range/src/composition/use-format.d.ts +0 -4
- package/types/number-range/src/composition/use-number.d.ts +0 -4
- package/types/number-range/src/composition/use-spinner.d.ts +0 -4
- package/types/number-range/src/composition/use-text-box.d.ts +0 -4
- package/types/number-range/src/number-range.component.d.ts +0 -6
- package/types/number-range/src/number-range.props.d.ts +0 -19
- package/types/number-range/src/schema/schema-mapper.d.ts +0 -2
- package/types/number-spinner/index.d.ts +0 -25
- package/types/number-spinner/src/components/spinner.component.d.ts +0 -4
- package/types/number-spinner/src/components/text-box.component.d.ts +0 -4
- package/types/number-spinner/src/composition/types.d.ts +0 -57
- package/types/number-spinner/src/composition/use-format.d.ts +0 -4
- package/types/number-spinner/src/composition/use-number.d.ts +0 -4
- package/types/number-spinner/src/composition/use-spinner.d.ts +0 -4
- package/types/number-spinner/src/composition/use-text-box.d.ts +0 -4
- package/types/number-spinner/src/designer/number-spinner.component.d.ts +0 -6
- package/types/number-spinner/src/number-spinner.component.d.ts +0 -6
- package/types/number-spinner/src/number-spinner.props.d.ts +0 -19
- package/types/number-spinner/src/schema/schema-mapper.d.ts +0 -2
- package/types/order/index.d.ts +0 -8
- package/types/order/src/order.props.d.ts +0 -44
- package/types/overlay/src/overlay.component.d.ts +0 -28
- package/types/overlay/src/overlay.props.d.ts +0 -29
- package/types/overlay/src/overlay.service.d.ts +0 -16
- package/types/page-footer/index.d.ts +0 -8
- package/types/page-footer/src/page-footer.props.d.ts +0 -40
- package/types/page-header/index.d.ts +0 -10
- package/types/page-header/src/page-header.props.d.ts +0 -4
- package/types/page-header/src/schema/schema-mapper.d.ts +0 -2
- package/types/pagination/index.d.ts +0 -23
- package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +0 -19
- package/types/pagination/src/components/buttons/next-buttons.component.d.ts +0 -20
- package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +0 -20
- package/types/pagination/src/components/pages/page-info.component.d.ts +0 -19
- package/types/pagination/src/components/pages/page-list.component.d.ts +0 -19
- package/types/pagination/src/components/pages/page-number.component.d.ts +0 -20
- package/types/pagination/src/composition/types.d.ts +0 -24
- package/types/pagination/src/composition/use-pages.d.ts +0 -18
- package/types/pagination/src/pagination.components.d.ts +0 -43
- package/types/pagination/src/pagination.props.d.ts +0 -36
- package/types/popover/index.d.ts +0 -24
- package/types/popover/src/composition/types.d.ts +0 -24
- package/types/popover/src/composition/use-host.d.ts +0 -3
- package/types/popover/src/composition/use-popup.d.ts +0 -4
- package/types/popover/src/composition/use-position.d.ts +0 -4
- package/types/popover/src/composition/use-resize.d.ts +0 -4
- package/types/popover/src/popover.component.d.ts +0 -106
- package/types/popover/src/popover.directive.d.ts +0 -5
- package/types/popover/src/popover.props.d.ts +0 -66
- package/types/propress/index.d.ts +0 -8
- package/types/propress/src/progress.props.d.ts +0 -49
- package/types/query-solution/index.d.ts +0 -25
- package/types/query-solution/src/designer/query-solution.design.component.d.ts +0 -6
- package/types/query-solution/src/query-solution.component.d.ts +0 -6
- package/types/query-solution/src/query-solution.d.ts +0 -40
- package/types/query-solution/src/query-solution.props.d.ts +0 -19
- package/types/query-solution/src/schema/preset-resolver.d.ts +0 -5
- package/types/query-solution/src/schema/schema-mapper.d.ts +0 -2
- package/types/radio-group/index.d.ts +0 -24
- package/types/radio-group/src/composition/change-radio.d.ts +0 -19
- package/types/radio-group/src/composition/types.d.ts +0 -42
- package/types/radio-group/src/radio-group.component.d.ts +0 -6
- package/types/radio-group/src/radio-group.props.d.ts +0 -19
- package/types/radio-group/src/schema/schema-mapper.d.ts +0 -2
- package/types/rate/index.d.ts +0 -23
- package/types/rate/src/rate.component.d.ts +0 -124
- package/types/rate/src/rate.props.d.ts +0 -86
- package/types/response-toolbar/index.d.ts +0 -10
- package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +0 -5
- package/types/response-toolbar/src/components/dropdown/toolbar-dropdown.component.d.ts +0 -7
- package/types/response-toolbar/src/composition/types.d.ts +0 -9
- package/types/response-toolbar/src/composition/use-icon.d.ts +0 -2
- package/types/response-toolbar/src/composition/use-toolbar-item.d.ts +0 -2
- package/types/response-toolbar/src/response-toolbar.props.d.ts +0 -26
- package/types/response-toolbar/src/types/response-toolbar-dropdwon-item.d.ts +0 -13
- package/types/response-toolbar/src/types/response-toolbar-group.d.ts +0 -19
- package/types/response-toolbar/src/types/response-toolbar-item-base.d.ts +0 -36
- package/types/response-toolbar/src/types/response-toolbar-item.d.ts +0 -4
- package/types/search-box/index.d.ts +0 -24
- package/types/search-box/src/components/search-box-container.props.d.ts +0 -21
- package/types/search-box/src/schema/schema-mapper.d.ts +0 -2
- package/types/search-box/src/search-box.props.d.ts +0 -4
- package/types/section/index.d.ts +0 -25
- package/types/section/src/schema/schema-mapper.d.ts +0 -2
- package/types/section/src/section.component.d.ts +0 -6
- package/types/section/src/section.props.d.ts +0 -34
- package/types/splitter/index.d.ts +0 -10
- package/types/splitter/src/components/splitter-pane.props.d.ts +0 -5
- package/types/splitter/src/composition/types.d.ts +0 -23
- package/types/splitter/src/composition/use-resize-handle.d.ts +0 -3
- package/types/splitter/src/composition/use-resize-pane.d.ts +0 -3
- package/types/splitter/src/schema/splitter-pane-schema-mapper.d.ts +0 -2
- package/types/splitter/src/schema/splitter-schema-mapper.d.ts +0 -2
- package/types/splitter/src/splitter.props.d.ts +0 -5
- package/types/step/index.d.ts +0 -8
- package/types/step/src/step.props.d.ts +0 -46
- package/types/switch/index.d.ts +0 -24
- package/types/switch/src/schema/schema-mapper.d.ts +0 -2
- package/types/switch/src/switch.component.d.ts +0 -6
- package/types/switch/src/switch.props.d.ts +0 -20
- package/types/tabs/index.d.ts +0 -27
- package/types/tabs/src/components/more-pages-button.component.d.ts +0 -5
- package/types/tabs/src/components/tab-header-dropdown-menu.component.d.ts +0 -5
- package/types/tabs/src/components/tab-header-item.component.d.ts +0 -4
- package/types/tabs/src/components/tab-header.component.d.ts +0 -4
- package/types/tabs/src/components/tab-page.component.d.ts +0 -6
- package/types/tabs/src/components/tab-page.props.d.ts +0 -19
- package/types/tabs/src/composition/types.d.ts +0 -66
- package/types/tabs/src/composition/use-dropdown.d.ts +0 -3
- package/types/tabs/src/composition/use-nav.d.ts +0 -4
- package/types/tabs/src/composition/use-one-page.d.ts +0 -4
- package/types/tabs/src/composition/use-tabs.d.ts +0 -19
- package/types/tabs/src/schema/schema-mapper.d.ts +0 -2
- package/types/tabs/src/tabs.props.d.ts +0 -22
- package/types/tags/index.d.ts +0 -8
- package/types/tags/src/composition/types.d.ts +0 -13
- package/types/tags/src/composition/use-draggable.d.ts +0 -4
- package/types/tags/src/tags.props.d.ts +0 -92
- package/types/text/index.d.ts +0 -23
- package/types/text/src/text.component.d.ts +0 -16
- package/types/text/src/text.props.d.ts +0 -26
- package/types/time-picker/index.d.ts +0 -11
- package/types/time-picker/src/components/time-holder.d.ts +0 -82
- package/types/time-picker/src/components/time.props.d.ts +0 -48
- package/types/time-picker/src/components/utils/check.d.ts +0 -1
- package/types/time-picker/src/schema/schema-mapper.d.ts +0 -2
- package/types/time-picker/src/time-picker.props.d.ts +0 -4
- package/types/tooltip/index.d.ts +0 -24
- package/types/tooltip/src/composition/types.d.ts +0 -45
- package/types/tooltip/src/composition/use-adjust-placement.d.ts +0 -20
- package/types/tooltip/src/composition/use-adjust-position.d.ts +0 -21
- package/types/tooltip/src/composition/use-calculate-position.d.ts +0 -21
- package/types/tooltip/src/composition/use-relative.d.ts +0 -19
- package/types/tooltip/src/composition/use-tooltip-position.d.ts +0 -22
- package/types/tooltip/src/tooltip.component.d.ts +0 -58
- package/types/tooltip/src/tooltip.directive.d.ts +0 -5
- package/types/tooltip/src/tooltip.props.d.ts +0 -45
- package/types/transfer/index.d.ts +0 -8
- package/types/transfer/src/transfer.props.d.ts +0 -71
- package/types/tree-view/index.d.ts +0 -8
- package/types/tree-view/src/components/data/control-tree-view.component.d.ts +0 -108
- package/types/tree-view/src/components/data/tree-area.component.d.ts +0 -8
- package/types/tree-view/src/composition/types.d.ts +0 -97
- package/types/tree-view/src/composition/use-auto-check-children-and-cascade.d.ts +0 -4
- package/types/tree-view/src/composition/use-tree-data-view.d.ts +0 -21
- package/types/tree-view/src/composition/use-tree-node-icon.d.ts +0 -4
- package/types/tree-view/src/composition/use-tree-node-lines.d.ts +0 -3
- package/types/tree-view/src/composition/use-visual-tree-node.d.ts +0 -9
- package/types/tree-view/src/control-tree-view.props.d.ts +0 -58
- package/types/tree-view/src/tree-view.component.d.ts +0 -97
- package/types/tree-view/src/tree-view.props.d.ts +0 -54
- package/types/uploader/index.d.ts +0 -25
- package/types/uploader/src/components/sub-component.props.d.ts +0 -63
- package/types/uploader/src/components/upload-progress.component.d.ts +0 -41
- package/types/uploader/src/composition/type.d.ts +0 -135
- package/types/uploader/src/service/get-service.d.ts +0 -2
- package/types/uploader/src/uploader.props.d.ts +0 -156
- package/types/verify-detail/index.d.ts +0 -23
- package/types/verify-detail/src/verify-detail.component.d.ts +0 -70
- package/types/verify-detail/src/verify-detail.props.d.ts +0 -36
- package/uploader/index.esm.js +0 -1972
- package/uploader/index.umd.js +0 -17
- package/uploader/package.json +0 -8
- package/uploader/style.css +0 -1
- package/verify-detail/index.esm.js +0 -187
- package/verify-detail/index.umd.js +0 -1
- package/verify-detail/package.json +0 -8
- package/verify-detail/style.css +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(E,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],i):(E=typeof globalThis<"u"?globalThis:E||self,i(E["image-cropper"]={},E.Vue))})(this,function(E,i){"use strict";const me={format:{type:String,default:"png"},maintainAspectRatio:{type:Boolean,default:!0},transform:{type:Object,default:{scale:0,rotate:0,flipH:!1,flipV:!1}},aspectRatio:{type:Number,default:1},resizeToWidth:{type:Number,default:0},resizeToHeight:{type:Number,default:0},cropperMinWidth:{type:Number,default:0},cropperMinHeight:{type:Number,default:0},canvasRotation:{type:Number,default:0},roundCropper:{type:Boolean,default:!0},onlyScaleDown:{type:Boolean,default:!1},imageQuality:{type:Number,default:92},autoCrop:{type:Boolean,default:!0},backgroundColor:{type:String,default:""},containWithinAspectRatio:{type:Boolean,default:!1},hideResizeSquares:{type:Boolean,default:!1},loadImageErrorText:{type:String,default:"图片加载错误"},alignImage:{type:String,default:"center"},disabled:{type:Boolean,default:!1},imageURL:{type:String,default:""},imageChangedEvent:{type:Object,default:null},imageBase64:{type:String,default:""},imageFile:{type:Object,default:null},cropper:{type:Object,default:{x1:-100,y1:-100,x2:1e4,y2:1e4}}};var ae=(a=>(a.Move="move",a.Resize="resize",a))(ae||{});function Ve(){function a(v){switch(typeof v=="string"&&(v=M(v)),v){case 2:return{rotate:0,flip:!0};case 3:return{rotate:2,flip:!1};case 4:return{rotate:2,flip:!0};case 5:return{rotate:1,flip:!0};case 6:return{rotate:1,flip:!1};case 7:return{rotate:3,flip:!0};case 8:return{rotate:3,flip:!1};default:return{rotate:0,flip:!1}}}function M(v){const t=new DataView(o(v));if(t.getUint16(0,!1)!==65496)return-2;const g=t.byteLength;let c=2;for(;c<g;){if(t.getUint16(c+2,!1)<=8)return-1;const p=t.getUint16(c,!1);if(c+=2,p===65505){if(t.getUint32(c+=2,!1)!==1165519206)return-1;const y=t.getUint16(c+=6,!1)===18761;c+=t.getUint32(c+4,y);const _=t.getUint16(c,y);c+=2;for(let V=0;V<_;V++)if(t.getUint16(c+V*12,y)===274)return t.getUint16(c+V*12+8,y)}else{if((p&65280)!==65280)break;c+=t.getUint16(c,!1)}}return-1}function o(v){v=v.replace(/^data:([^;]+);base64,/gmi,"");const t=atob(v),g=t.length,c=new Uint8Array(g);for(let p=0;p<g;p++)c[p]=t.charCodeAt(p);return c.buffer}function Y(v,t,g){const c=v.width,p=v.height;t=Math.round(t),g=Math.round(g);const y=c/t,_=p/g,V=Math.ceil(y/2),u=Math.ceil(_/2),n=v.getContext("2d");if(n){const T=n.getImageData(0,0,c,p),C=n.createImageData(t,g),{data:P}=T,Q=C.data;for(let S=0;S<g;S++)for(let B=0;B<t;B++){const F=(B+S*t)*4,oe=S*_;let W=0,$=0,R=0,A=0,U=0,ie=0,h=0;const d=Math.floor(B*y),X=Math.floor(S*_);let K=Math.ceil((B+1)*y),G=Math.ceil((S+1)*_);K=Math.min(K,c),G=Math.min(G,p);for(let x=X;x<G;x++){const le=Math.abs(oe-x)/u,I=B*y,ne=le*le;for(let j=d;j<K;j++){const J=Math.abs(I-j)/V,w=Math.sqrt(ne+J*J);if(w>=1)continue;W=2*w*w*w-3*w*w+1;const f=4*(j+x*c);h+=W*P[f+3],R+=W,P[f+3]<255&&(W=W*P[f+3]/250),A+=W*P[f],U+=W*P[f+1],ie+=W*P[f+2],$+=W}}Q[F]=A/$,Q[F+1]=U/$,Q[F+2]=ie/$,Q[F+3]=h/R}v.width=t,v.height=g,n.putImageData(C,0,0)}}return{resizeCanvas:Y,getTransformationsFromExifData:a}}function Te(a,M,o,Y){function v(u,n){a.value.x2=a.value.x1+(a.value.y2-a.value.y1)*o.value,u=Math.max(a.value.x2-M.value.width,0),n=Math.max(0-a.value.y1,0),(u>0||n>0)&&(a.value.x2-=n*o.value>u?n*o.value:u,a.value.y1+=n*o.value>u?n:u/o.value)}function t(u,n){a.value.x2=a.value.x1+(a.value.y2-a.value.y1)*o.value,u=Math.max(a.value.x2-M.value.width,0),n=Math.max(a.value.y2-M.value.height,0),(u>0||n>0)&&(a.value.x2-=n*o.value>u?n*o.value:u,a.value.y2-=n*o.value>u?n:u/o.value)}function g(u,n){a.value.y1=a.value.y2-(a.value.x2-a.value.x1)/o.value,u=Math.max(0-a.value.x1,0),n=Math.max(0-a.value.y1,0),(u>0||n>0)&&(a.value.x1+=n*o.value>u?n*o.value:u,a.value.y1+=n*o.value>u?n:u/o.value)}function c(u,n){a.value.y1=a.value.y2-(a.value.x2-a.value.x1)/o.value,u=Math.max(a.value.x2-M.value.width,0),n=Math.max(0-a.value.y1,0),(u>0||n>0)&&(a.value.x2-=n*o.value>u?n*o.value:u,a.value.y1+=n*o.value>u?n:u/o.value)}function p(u,n){a.value.y2=a.value.y1+(a.value.x2-a.value.x1)/o.value,u=Math.max(a.value.x2-M.value.width,0),n=Math.max(a.value.y2-M.value.height,0),(u>0||n>0)&&(a.value.x2-=n*o.value>u?n*o.value:u,a.value.y2-=n*o.value>u?n:u/o.value)}function y(u,n){a.value.y2=a.value.y1+(a.value.x2-a.value.x1)/o.value,u=Math.max(0-a.value.x1,0),n=Math.max(a.value.y2-M.value.height,0),(u>0||n>0)&&(a.value.x1+=n*o.value>u?n*o.value:u,a.value.y2-=n*o.value>u?n:u/o.value)}function _(){a.value.x2=a.value.x1+(a.value.y2-a.value.y1)*o.value,a.value.y2=a.value.y1+(a.value.x2-a.value.x1)/o.value;const u=Math.max(0-a.value.x1,0),n=Math.max(a.value.x2-M.value.width,0),T=Math.max(a.value.y2-M.value.height,0),C=Math.max(0-a.value.y1,0);(u>0||n>0||T>0||C>0)&&(a.value.x1+=T*o.value>u?T*o.value:u,a.value.x2-=C*o.value>n?C*o.value:n,a.value.y1+=C*o.value>n?C:n/o.value,a.value.y2-=T*o.value>u?T:u/o.value)}function V(){if(M.value.width&&M.value.height)switch(Y.position){case"top":v(0,0);break;case"bottom":t(0,0);break;case"topleft":g(0,0);break;case"topright":c(0,0);break;case"right":case"bottomright":p(0,0);break;case"left":case"bottomleft":y(0,0);break;case"center":_();break}}return{checkAspectRatio:V}}const at="",se=i.defineComponent({name:"FImageCropper",props:me,emits:["imageCropped","imageLoaded","cropperReady","loadImageFailed"],setup(a,M){const{resizeCanvas:o,getTransformationsFromExifData:Y}=Ve(),v=i.inject("NotifyService"),t=i.ref(a.cropper),g=i.ref(a.transform),c=i.ref(a.cropperMinWidth),p=i.ref(a.maintainAspectRatio),y=i.ref(a.aspectRatio),_=i.ref(a.autoCrop),V=i.ref(a.backgroundColor),u=i.ref(a.resizeToWidth),n=i.ref(a.onlyScaleDown),T=i.ref(a.containWithinAspectRatio),C=i.ref(a.canvasRotation),P=i.ref(a.format),Q=i.ref(a.imageQuality),S=i.ref(a.resizeToHeight),B=i.ref(a.cropperMinHeight),F=i.ref(a.alignImage),oe=i.ref(a.roundCropper),W=i.ref(a.hideResizeSquares),$=i.ref(a.loadImageErrorText),R=i.ref(""),A=i.ref(!0),U=i.ref(!0),ie=i.ref(a.disabled);let h,d,X=0,K,G,x;const le=i.ref(null),I=i.ref(null),ne=i.ref(""),j=i.ref(""),J=i.ref("0px"),w=i.ref(),f=i.ref({width:100,height:100}),L=ae;let ye,k=20,z=20,H=!1,O={rotate:0,flip:!1},r={active:!1,type:null,position:null,x1:0,y1:0,x2:0,y2:0,clientX:0,clientY:0};const xe=i.ref(a.imageChangedEvent),re=i.ref(a.imageURL),We=i.ref(a.imageBase64),ke=i.ref(a.imageFile);function He(){j.value="scaleX("+(g.value.scale||1)*(g.value.flipH?-1:1)+")scaleY("+(g.value.scale||1)*(g.value.flipV?-1:1)+")rotate("+(g.value.rotate||0)+"deg)"}function ee(){U.value=!1,w.value=null,R.value="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=",r={active:!1,type:null,position:null,x1:0,y1:0,x2:0,y2:0,clientX:0,clientY:0},f.value={width:0,height:0},h={width:0,height:0},d={width:0,height:0},t.value.x1=-100,t.value.y1=-100,t.value.x2=1e4,t.value.y2=1e4}function _e(e){return/image\/(png|jpg|jpeg|bmp|gif|tiff|webp)/.test(e)}function Se(){if(C.value+=O.rotate,T.value&&h.width&&h.height){if(C.value%2){const s=h.width*y.value,m=h.height/y.value;return{width:Math.max(h.height,s),height:Math.max(h.width,m)}}const e=h.height*y.value,l=h.width/y.value;return{width:Math.max(h.width,e),height:Math.max(h.height,l)}}return C.value%2?{height:h.width,width:h.height}:{width:h.width,height:h.height}}function Ue(){C.value+=O.rotate;const e=Se(),l=document.createElement("canvas");e.width&&e.height&&(l.width=e.width,l.height=e.height);const s=l.getContext("2d");return h.width&&h.height&&x&&(s==null||s.setTransform(O.flip?-1:1,0,0,1,l.width/2,l.height/2),s==null||s.rotate(Math.PI*(C.value/2)),s==null||s.drawImage(x,-h.width/2,-h.height/2)),l.toDataURL()}function Ee(e){return new Promise(l=>{ye=e,R.value=e,w.value=new Image,w.value.onload=()=>{var s,m;d.width=(s=w.value)==null?void 0:s.naturalWidth,d.height=(m=w.value)==null?void 0:m.naturalHeight,l()},w.value.src=ye})}function Me(){if(!x||!x.complete||!O)return Promise.reject(new Error("No image loaded"));const e=Ue();return Ee(e)}function fe(e){const l=s=>{v.show({showCloseButton:!1,timeout:3e3,animate:"fadeIn",toasts:[{type:"string",title:"提示",msg:"图片上传错误,请重试"}]}),A.value=!1,H=!0,M.emit("loadImageFailed"),x=null,ne.value=""};x=new Image,x.onload=()=>{ne.value=e,O=Y(e),h.width=x==null?void 0:x.naturalWidth,h.height=x==null?void 0:x.naturalHeight,Me().then(()=>{H=!1}).catch(l)},x.onerror=l,x.src=e}function Be(e,l){_e(l)?(H=!1,fe(e)):(v.show({showCloseButton:!1,timeout:3e3,animate:"fadeIn",toasts:[{type:"string",title:"提示",msg:"图片类型不正确,请重试"}]}),A.value=!1,H=!0,M.emit("loadImageFailed"))}function we(e){const l=new FileReader;l.onload=s=>Be(s.target.result,e.type),l.readAsDataURL(e)}function pe(e){const l=new Image;l.onerror=()=>{v.show({showCloseButton:!1,timeout:3e3,animate:"fadeIn",toasts:[{type:"string",title:"提示",msg:"图片加载错误,请重试"}]}),A.value=!1,H=!0,M.emit("loadImageFailed")},l.onload=()=>{H=!1;const s=document.createElement("canvas"),m=s.getContext("2d");s.width=l.width,s.height=l.height,m==null||m.drawImage(l,0,0),fe(s.toDataURL())},l.crossOrigin="anonymous",l.src=e}function Le(){return I.value&&I.value&&I.value.offsetWidth>0}function he(){if(I.value){const e=I.value;f.value.width=e.offsetWidth,f.value.height=e.offsetHeight,J.value="calc(50% - "+f.value.width/2+"px)"}}function De(){w.value&&f.value.width&&(k=c.value>0?Math.max(20,c.value/w.value.width*f.value.width):20)}function Pe(){p.value?z=Math.max(20,k/y.value):B.value>0&&w.value&&f.value.height?z=Math.max(20,B.value/w.value.height*f.value.height):z=20}function ce(){w.value?(De(),Pe()):(k=20,z=20)}function Fe(){const e=I.value,l=i.ref({x1:0,x2:0,y1:0,y2:0});if(e&&d.width&&d.height){const s=d.width/e.offsetWidth;l.value={x1:Math.round(t.value.x1*s),y1:Math.round(t.value.y1*s),x2:Math.round(t.value.x2*s),y2:Math.round(t.value.y2*s)},T.value||(l.value.x1=Math.max(l.value.x1,0),l.value.y1=Math.max(l.value.y1,0),l.value.x2=Math.min(l.value.x2,d.width),l.value.y2=Math.min(l.value.y2,d.height))}return l.value}function qe(){C.value+=O.rotate;const e=I.value,l=i.ref({x1:0,x2:0,y1:0,y2:0});if(e&&d.height&&d.width&&h.height&&h.width){const s=d.width/e.offsetWidth;let m,b;C.value%2?(m=(d.width-h.height)/2,b=(d.height-h.width)/2):(m=(d.width-h.width)/2,b=(d.height-h.height)/2),l.value={x1:Math.round(t.value.x1*s)-m,y1:Math.round(t.value.y1*s)-b,x2:Math.round(t.value.x2*s)-m,y2:Math.round(t.value.y2*s)-b},T.value||(l.value.x1=Math.max(l.value.x1,0),l.value.y1=Math.max(l.value.y1,0),l.value.x2=Math.min(l.value.x2,d.width),l.value.y2=Math.min(l.value.y2,d.height))}return l.value}function Re(e,l){if(u.value>0){if(!n.value||e>u.value)return u.value/e}else if(S.value>0&&(!n.value||l>S.value))return S.value/l;return 1}function je(){return Math.min(1,Math.max(0,Q.value/100))}function Oe(e){return e.toDataURL("image/"+P.value,je())}function Qe(){if(I.value&&I.value&&w.value!=null){const e=Fe(),l=e.x2-e.x1,s=e.y2-e.y1,m=document.createElement("canvas");m.width=l,m.height=s;const b=m.getContext("2d");if(b){V.value!=null&&(b.fillStyle=V.value,b.fillRect(0,0,l,s));const q=(g.value.scale||1)*(g.value.flipH?-1:1),Z=(g.value.scale||1)*(g.value.flipV?-1:1);d.width&&d.height&&(b.setTransform(q,0,0,Z,d.width/2,d.height/2),b.translate(-e.x1/q,-e.y1/Z),b.rotate((g.value.rotate||0)*Math.PI/180),b.drawImage(w.value,-d.width/2,-d.height/2));const N={width:l,height:s,imagePosition:e,cropperPosition:{...t.value}};T.value&&(N.offsetImagePosition=qe());const te=Re(l,s);return te!==1&&(N.width=Math.round(l*te),N.height=p.value?Math.round(N.width/y.value):Math.round(s*te),o(m,N.width,N.height)),N.base64=Oe(m),M.emit("imageCropped",N),N}}return null}function ue(){_.value&&Qe()}function be(){const e=I.value;if(e){if(!p.value)t.value.x1=0,t.value.x2=e.offsetWidth,t.value.y1=0,t.value.y2=e.offsetHeight;else if(e.offsetWidth/y.value<e.offsetHeight){t.value.x1=0,t.value.x2=e.offsetWidth;const l=e.offsetWidth/y.value;t.value.y1=(e.offsetHeight-l)/2,t.value.y2=t.value.y1+l}else{t.value.y1=0,t.value.y2=e.offsetHeight;const l=e.offsetHeight*y.value;t.value.x1=(e.offsetWidth-l)/2,t.value.x2=t.value.x1+l}ue(),U.value=!0}}function Ce(){X>40?(v.show({showCloseButton:!1,timeout:3e3,animate:"fadeIn",toasts:[{type:"string",title:"提示",msg:"图片加载超时,请重试"}]}),H=!0,A.value=!1,M.emit("loadImageFailed")):Le()?(H=!1,he(),ce(),be(),M.emit("cropperReady",{...f.value})):(X++,setTimeout(()=>Ce(),50))}function $e(){w.value!=null&&(A.value=!1,M.emit("imageLoaded"),X=0,setTimeout(()=>Ce()))}function Ke(){const e=I.value;(f.value.width!==(e==null?void 0:e.offsetWidth)||f.value.height!==(e==null?void 0:e.offsetHeight))&&f.value.width&&f.value.height&&e&&(t.value.x1=t.value.x1*e.offsetWidth/f.value.width,t.value.x2=t.value.x2*e.offsetWidth/f.value.width,t.value.y1=t.value.y1*e.offsetHeight/f.value.height,t.value.y2=t.value.y2*e.offsetHeight/f.value.height)}const Ge=()=>{Ke(),he(),ce()},Ae=()=>{clearTimeout(G),G=setTimeout(Ge,300)};i.onMounted(()=>{window.addEventListener("resize",Ae),re.value&&(ee(),A.value=!0,pe(re.value))}),i.onUnmounted(()=>{window.removeEventListener("resize",Ae)});function Ie(){r.active&&(r.active=!1,ue())}function de(e){return(e.touches&&e.touches[0]?e.touches[0].clientX:e.clientX)||0}function ve(e){return(e.touches&&e.touches[0]?e.touches[0].clientY:e.clientY)||0}function D(e,l,s=null){r&&r.active||(e.preventDefault&&e.preventDefault(),r={active:!0,type:l,position:s,clientX:de(e),clientY:ve(e),...t.value})}function ge(e=!1){t.value.x1<0&&(t.value.x2-=e?t.value.x1:0,t.value.x1=0),t.value.y1<0&&(t.value.y2-=e?t.value.y1:0,t.value.y1=0),t.value.x2>f.value.width&&(t.value.x1-=e?t.value.x2-f.value.width:0,t.value.x2=f.value.width),t.value.y2>f.value.height&&(t.value.y1-=e?t.value.y2-f.value.height:0,t.value.y2=f.value.height)}function Je(e){const l=de(e)-r.clientX,s=ve(e)-r.clientY;t.value.x1=r.x1+l,t.value.y1=r.y1+s,t.value.x2=r.x2+l,t.value.y2=r.y2+s}const{checkAspectRatio:Ze}=Te(t,f,y,r);function Ye(e){const l=de(e)-r.clientX,s=ve(e)-r.clientY;switch(r.position){case"left":t.value.x1=Math.min(r.x1+l,t.value.x2-k);break;case"topleft":t.value.x1=Math.min(r.x1+l,t.value.x2-k),t.value.y1=Math.min(r.y1+s,t.value.y2-z);break;case"top":t.value.y1=Math.min(r.y1+s,t.value.y2-z);break;case"topright":t.value.x2=Math.max(r.x2+l,t.value.x1+k),t.value.y1=Math.min(r.y1+s,t.value.y2-z);break;case"right":t.value.x2=Math.max(r.x2+l,t.value.x1+k);break;case"bottomright":t.value.x2=Math.max(r.x2+l,t.value.x1+k),t.value.y2=Math.max(r.y2+s,t.value.y1+z);break;case"bottom":t.value.y2=Math.max(r.y2+s,t.value.y1+z);break;case"bottomleft":t.value.x1=Math.min(r.x1+l,t.value.x2-k),t.value.y2=Math.max(r.y2+s,t.value.y1+z);break;case"center":const{scale:m}=e,b=Math.abs(r.x2-r.x1)*m,q=Math.abs(r.y2-r.y1)*m,{x1:Z}=t.value,{y1:N}=t.value;t.value.x1=Math.min(r.clientX-b/2,t.value.x2-k),t.value.y1=Math.min(r.clientY-q/2,t.value.y2-z),t.value.x2=Math.max(r.clientX+b/2,Z+k),t.value.y2=Math.max(r.clientY+q/2,N+z);break}p.value&&Ze()}function Ne(e){r&&r.active&&(e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),clearTimeout(K),K=setTimeout(()=>{r.type===ae.Move?(Je(e),ge(!0)):r.type===ae.Resize&&(Ye(e),ge(!1))},300))}return i.watch(xe,e=>{ee(),e&&e.target&&e.target.files&&e.target.files.length>0&&(A.value=!0,we(e.target.files[0]))}),i.watch(re,e=>{e?(ee(),A.value=!0,pe(e)):(v.show({showCloseButton:!1,timeout:3e3,animate:"fadeIn",toasts:[{type:"string",title:"提示",msg:"图片路径为空"}]}),A.value=!1,H=!0)}),i.watch(We,e=>{ee(),A.value=!0,fe(e)}),i.watch(ke,e=>{ee(),e&&(A.value=!0,we(e))}),i.watch(()=>[a.containWithinAspectRatio,a.canvasRotation,a.cropper,a.aspectRatio,a.transform,a.imageChangedEvent],([e,l,s,m,b,q],[Z,N,te,Xe,et,tt])=>{x&&x.complete&&O&&(e!==Z||l!==N)&&Me(),s!==te&&(he(),ce(),ge(!1),ue()),m!==Xe&&U.value&&be(),b!==et&&(He(),ue()),q!==tt&&(xe.value=q)}),()=>i.createVNode("div",{class:["farris-image-cropper-frame",{"farris-image-cropper-disabled":ie.value}],style:{"text-align":F.value},onMousemove:i.withModifiers(e=>Ne(e),["prevent"]),onTouchmove:i.withModifiers(e=>Ne(e),["prevent"]),onMouseup:i.withModifiers(()=>Ie(),["prevent"]),onTouchend:i.withModifiers(()=>Ie(),["prevent"])},[!H&&i.createVNode("div",{ref:le,class:"farris-image-cropper",style:[{background:U.value?V.value:""}]},[R.value&&i.createVNode("img",{ref:I,class:"farris-source-image",style:[{visibility:U.value?"visible":"hidden"},{transform:j.value}],src:R.value,onLoad:()=>$e()},null),f.value&&i.createVNode("div",{class:"farris-image-overlay",style:[{width:`${f.value.width||0}px`},{height:`${f.value.height||0}px`},{"margin-left":F.value==="center"?J.value:""}]},null),U.value&&i.createVNode("div",{class:["farris-image-cropper-wrapper",{"farris-image-cropper-rounded":oe.value}],style:[{top:`${t.value.y1}px`},{left:`${t.value.x1}px`},{width:`${t.value.x2-t.value.x1}px`},{height:`${t.value.y2-t.value.y1}px`},{visibility:U.value?"visible":"hidden"},{"margin-left":F.value==="center"?J.value:""}],tabindex:"0"},[i.createVNode("div",{class:"farris-image-cropper-move",onMousedown:i.withModifiers(e=>D(e,L.Move,"topleft"),["prevent"])},null),!W.value&&i.createVNode("div",null,[i.createVNode("span",{class:"farris-image-cropper-resize topleft",onMousedown:i.withModifiers(e=>D(e,L.Resize,"topleft"),["prevent"])},[i.createVNode("span",{class:"farris-image-cropper-square"},null)]),i.createVNode("span",{class:"farris-image-cropper-resize top"},[i.createVNode("span",{class:"farris-image-cropper-square"},null)]),i.createVNode("span",{class:"farris-image-cropper-resize topright",onMousedown:i.withModifiers(e=>D(e,L.Resize,"topright"),["prevent"])},[i.createVNode("span",{class:"farris-image-cropper-square"},null)]),i.createVNode("span",{class:"farris-image-cropper-resize right"},[i.createVNode("span",{class:"farris-image-cropper-square"},null)]),i.createVNode("span",{class:"farris-image-cropper-resize bottomright",onMousedown:i.withModifiers(e=>D(e,L.Resize,"bottomright"),["prevent"])},[i.createVNode("span",{class:"farris-image-cropper-square"},null)]),i.createVNode("span",{class:"farris-image-cropper-resize bottom"},[i.createVNode("span",{class:"farris-image-cropper-square"},null)]),i.createVNode("span",{class:"farris-image-cropper-resize bottomleft",onMousedown:i.withModifiers(e=>D(e,L.Resize,"bottomleft"),["prevent"])},[i.createVNode("span",{class:"farris-image-cropper-square"},null)]),i.createVNode("span",{class:"farris-image-cropper-resize left"},[i.createVNode("span",{class:"farris-image-cropper-square"},null)]),i.createVNode("span",{class:"farris-image-cropper-resize-bar top",onMousedown:i.withModifiers(e=>D(e,L.Resize,"top"),["prevent"])},null),i.createVNode("span",{class:"farris-image-cropper-resize-bar right",onMousedown:i.withModifiers(e=>D(e,L.Resize,"right"),["prevent"])},null),i.createVNode("span",{class:"farris-image-cropper-resize-bar bottom",onMousedown:i.withModifiers(e=>D(e,L.Resize,"bottom"),["prevent"])},null),i.createVNode("span",{class:"farris-image-cropper-resize-bar left",onMousedown:i.withModifiers(e=>D(e,L.Resize,"left"),["prevent"])},null)])])]),A.value&&i.createVNode("div",{class:"farris-image-cropper-loading"},[i.createVNode("div",{class:"farris-image-cropper-loading-spinner"},null)]),H&&i.createVNode("div",{class:"farris-image-cropper-error"},[$.value])])}}),ze={install(a){a.component(se.name,se)}};E.ImageCropper=se,E.default=ze,E.imageCropperProps=me,Object.defineProperties(E,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/image-cropper/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.farris-image-cropper-frame{display:flex;position:relative;width:100%;max-width:100%;max-height:100%;overflow:hidden;text-align:center}.farris-image-cropper-frame .farris-image-cropper{width:100%;position:relative}.farris-image-cropper-frame .farris-image-cropper .farris-source-image{max-width:100%;max-height:100%;transform-origin:center}.farris-image-cropper-frame .farris-image-overlay{position:absolute;pointer-events:none;touch-action:none;outline:white solid 100vw;top:0;left:0}.farris-image-cropper-frame .farris-image-cropper-wrapper{position:absolute;display:flex;color:#53535c;background:transparent;outline:rgba(0,0,0,.3) solid 100vw;outline:var(--cropper-outline-color, rgba(0, 0, 0, .3)) solid 100vw;touch-action:none}@media (orientation: portrait){.farris-image-cropper-frame .farris-image-cropper-wrapper{outline-width:100vh}}.farris-image-cropper-frame .farris-image-cropper-wrapper:after{position:absolute;content:"";top:0;bottom:0;left:0;right:0;pointer-events:none;border:dashed 1px;opacity:.75;color:inherit;z-index:1}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-move{width:100%;cursor:move;border-radius:100%;border:1px solid #388fff}.farris-image-cropper-frame .farris-image-cropper-wrapper:focus .farris-image-cropper-move{border-color:#1e90ff;border-width:2px}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize{position:absolute;display:inline-block;line-height:6px;padding:8px;opacity:.85;z-index:1}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize .farris-image-cropper-square{display:inline-block;background:#388fff;width:6px;height:6px;border:1px solid #59a1ff;box-sizing:content-box}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize.topleft{top:-12px;left:-12px;cursor:nwse-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize.top{top:-12px;left:calc(50% - 12px);cursor:ns-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize.topright{top:-12px;right:-12px;cursor:nesw-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize.right{top:calc(50% - 12px);right:-12px;cursor:ew-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize.bottomright{bottom:-12px;right:-12px;cursor:nwse-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize.bottom{bottom:-12px;left:calc(50% - 12px);cursor:ns-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize.bottomleft{bottom:-12px;left:-12px;cursor:nesw-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize.left{top:calc(50% - 12px);left:-12px;cursor:ew-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize-bar{position:absolute;z-index:1}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize-bar.top{top:-11px;left:11px;width:calc(100% - 22px);height:22px;cursor:ns-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize-bar.right{top:11px;right:-11px;height:calc(100% - 22px);width:22px;cursor:ew-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize-bar.bottom{bottom:-11px;left:11px;width:calc(100% - 22px);height:22px;cursor:ns-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper .farris-image-cropper-resize-bar.left{top:11px;left:-11px;height:calc(100% - 22px);width:22px;cursor:ew-resize}.farris-image-cropper-frame .farris-image-cropper-wrapper.farris-image-cropper-rounded{outline-color:transparent;width:161px;height:161px}.farris-image-cropper-frame .farris-image-cropper-wrapper.farris-image-cropper-rounded:after{border-radius:100%;box-shadow:0 0 0 100vw #0000004d;box-shadow:0 0 0 100vw var(--cropper-outline-color, rgba(0, 0, 0, .3))}@media (orientation: portrait){.farris-image-cropper-frame .farris-image-cropper-wrapper.farris-image-cropper-rounded:after{box-shadow:0 0 0 100vh #0000004d;box-shadow:0 0 0 100vh var(--cropper-outline-color, rgba(0, 0, 0, .3))}}.farris-image-cropper-frame .farris-image-cropper-wrapper.farris-image-cropper-rounded .farris-image-cropper-move{border-radius:100%}.farris-image-cropper-frame.farris-image-cropper-disabled .farris-image-cropper-wrapper .farris-image-cropper-resize,.farris-image-cropper-frame.farris-image-cropper-disabled .farris-image-cropper-wrapper .farris-image-cropper-resize-bar,.farris-image-cropper-frame.farris-image-cropper-disabled .farris-image-cropper-wrapper .farris-image-cropper-move{display:none}.farris-image-cropper-frame .farris-image-cropper-error{width:100%;text-align:center;font-size:14px}.farris-image-cropper-frame .farris-image-cropper-loading{position:absolute;top:0;left:0;width:100%;height:100%}.farris-image-cropper-frame .farris-image-cropper-loading .farris-image-cropper-loading-spinner{width:31px;height:31px;margin:0 auto;border:2px solid #388fff;border-radius:50%;border-left-color:transparent;border-right-color:transparent;-webkit-animation:cssload-spin 425ms infinite linear;position:absolute;top:calc(50% - 15px);left:calc(50% - 15px);animation:cssload-spin 425ms infinite linear}@-webkit-keyframes cssload-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes cssload-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dialog-user-avatar{padding:24px 32px 0 24px;display:flex;flex-direction:row}.dialog-user-avatar-change{padding-right:36px;border-right:1px solid #EFEFEF}.dialog-user-avatar-change .avatar-cropper{width:290px;height:290px}.dialog-user-avatar-change .avatar-cropper .avatar-cropper-wrapper{display:flex;align-items:center;width:100%;height:100%}.avatar-cropper-btns{display:flex;flex-direction:row;align-items:center;margin-top:10px;font-size:14px;color:#000000bf}.avatar-cropper-btns .avatar-cropper-btns-item{display:flex;flex-direction:row;align-items:center;position:relative;padding:0 14px;cursor:pointer}.avatar-cropper-btns .avatar-cropper-btns-item:after{position:absolute;right:0;top:50%;margin-top:-8px;width:1px;height:16px;background:rgba(0,0,0,.1);content:""}.avatar-cropper-btns .avatar-cropper-btns-item:last-child:after{display:none}.avatar-cropper-btns .avatar-cropper-btns-item .f-icon{color:#00000040}.avatar-cropper-btns .avatar-cropper-btns-item .avatar-cropper-btns-item-scale{padding:0 10px}.avatar-cropper-btns .avatar-cropper-btns-item .avatar-cropper-scale{display:block;width:20px;height:20px;text-align:center;line-height:20px}.dialog-user-avatar-tips{display:flex;flex-direction:row;align-items:center;padding:0 24px 24px;margin-top:10px}.dialog-user-avatar-tips .dialog-user-avatar-upload{margin-right:14px}.dialog-user-avatar-tips .dialog-user-avatar-tip-content{font-size:12px;color:#00000073}.dialog-user-avatar-view{padding-left:36px}.dialog-user-avatar-view .avatar-view-title{font-size:14px;color:#000000bf;text-align:center;margin-bottom:15px}.dialog-user-avatar-view .avatar-view-size{margin-bottom:32px}.dialog-user-avatar-view .avatar-view-size:last-child{margin-bottom:0}.dialog-user-avatar-view .avatar-view-size .img{display:block;width:100px;height:100px;border-radius:100%;overflow:hidden;margin:0 auto;border:1px solid #EFEFEF}.dialog-user-avatar-view .avatar-view-size .avatar-view-size-text{font-size:12px;color:#00000073;display:block;text-align:center;margin-top:10px}.dialog-user-avatar-view .avatar-view-size.avatar-view-size-small .img{width:50px;height:50px}
|
package/input-group/index.esm.js
DELETED
|
@@ -1,549 +0,0 @@
|
|
|
1
|
-
import { ref as p, createVNode as k, computed as f, withDirectives as F, resolveDirective as R, watch as N, defineComponent as S } from "vue";
|
|
2
|
-
import { templateRef as W } from "@vueuse/core";
|
|
3
|
-
const q = {};
|
|
4
|
-
function H(e) {
|
|
5
|
-
const { properties: t } = e;
|
|
6
|
-
return Object.keys(t).reduce((n, o) => (n[o] = t[o].type === "object" && t[o].properties ? H(t[o]) : t[o].default, n), {});
|
|
7
|
-
}
|
|
8
|
-
function U(e, t) {
|
|
9
|
-
const a = H(t);
|
|
10
|
-
return Object.keys(e).reduce((n, o) => (n[o] = e[o], n), a), a;
|
|
11
|
-
}
|
|
12
|
-
function _(e, t) {
|
|
13
|
-
return Object.keys(e).filter((n) => e[n] != null).reduce((n, o) => {
|
|
14
|
-
if (t.has(o)) {
|
|
15
|
-
const d = t.get(o);
|
|
16
|
-
if (typeof d == "string")
|
|
17
|
-
n[d] = e[o];
|
|
18
|
-
else {
|
|
19
|
-
const l = d(o, e[o]);
|
|
20
|
-
Object.assign(n, l);
|
|
21
|
-
}
|
|
22
|
-
} else
|
|
23
|
-
n[o] = e[o];
|
|
24
|
-
return n;
|
|
25
|
-
}, {});
|
|
26
|
-
}
|
|
27
|
-
function $(e, t, a = /* @__PURE__ */ new Map()) {
|
|
28
|
-
const n = U(e, t);
|
|
29
|
-
return _(n, a);
|
|
30
|
-
}
|
|
31
|
-
function z(e, t, a = /* @__PURE__ */ new Map()) {
|
|
32
|
-
return q[t.title] = t, (n) => {
|
|
33
|
-
const o = $(n, t, a), d = Object.keys(e).reduce((l, s) => (l[s] = e[s].default, l), {});
|
|
34
|
-
return Object.assign(d, o);
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function J(e, t) {
|
|
38
|
-
return { customClass: t.class };
|
|
39
|
-
}
|
|
40
|
-
const Q = "https://json-schema.org/draft/2020-12/schema", X = "https://farris-design.gitee.io/input-group.schema.json", Y = "input-group", Z = "A Farris Input Component", K = "object", ee = {
|
|
41
|
-
id: {
|
|
42
|
-
description: "The unique identifier for a Input Group",
|
|
43
|
-
type: "string"
|
|
44
|
-
},
|
|
45
|
-
type: {
|
|
46
|
-
description: "The type string of Input Group component",
|
|
47
|
-
type: "string",
|
|
48
|
-
default: "input-group"
|
|
49
|
-
},
|
|
50
|
-
appearance: {
|
|
51
|
-
description: "",
|
|
52
|
-
type: "object",
|
|
53
|
-
properties: {
|
|
54
|
-
class: {
|
|
55
|
-
type: "string"
|
|
56
|
-
},
|
|
57
|
-
style: {
|
|
58
|
-
type: "string"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
default: {}
|
|
62
|
-
},
|
|
63
|
-
binding: {
|
|
64
|
-
description: "",
|
|
65
|
-
type: "object",
|
|
66
|
-
default: {}
|
|
67
|
-
},
|
|
68
|
-
editable: {
|
|
69
|
-
description: "",
|
|
70
|
-
type: "boolean",
|
|
71
|
-
default: !0
|
|
72
|
-
},
|
|
73
|
-
enableLinkLabel: {
|
|
74
|
-
description: "",
|
|
75
|
-
type: "boolean",
|
|
76
|
-
default: !1
|
|
77
|
-
},
|
|
78
|
-
label: {
|
|
79
|
-
description: "",
|
|
80
|
-
type: "string",
|
|
81
|
-
default: ""
|
|
82
|
-
},
|
|
83
|
-
lableWidth: {
|
|
84
|
-
description: "",
|
|
85
|
-
type: "number"
|
|
86
|
-
},
|
|
87
|
-
placeHolder: {
|
|
88
|
-
description: "",
|
|
89
|
-
type: "string",
|
|
90
|
-
default: ""
|
|
91
|
-
},
|
|
92
|
-
readonly: {
|
|
93
|
-
description: "",
|
|
94
|
-
type: "boolean",
|
|
95
|
-
default: !1
|
|
96
|
-
},
|
|
97
|
-
required: {
|
|
98
|
-
description: "",
|
|
99
|
-
type: "boolean",
|
|
100
|
-
default: !1
|
|
101
|
-
},
|
|
102
|
-
tabindex: {
|
|
103
|
-
description: "",
|
|
104
|
-
type: "number",
|
|
105
|
-
default: -1
|
|
106
|
-
},
|
|
107
|
-
textAlign: {
|
|
108
|
-
description: "",
|
|
109
|
-
type: "string",
|
|
110
|
-
enum: [
|
|
111
|
-
"left",
|
|
112
|
-
"middle",
|
|
113
|
-
"right"
|
|
114
|
-
],
|
|
115
|
-
default: "left"
|
|
116
|
-
},
|
|
117
|
-
visible: {
|
|
118
|
-
description: "",
|
|
119
|
-
type: "boolean",
|
|
120
|
-
default: !0
|
|
121
|
-
},
|
|
122
|
-
onBlur: {
|
|
123
|
-
description: "",
|
|
124
|
-
type: "string",
|
|
125
|
-
default: ""
|
|
126
|
-
},
|
|
127
|
-
onClickLinkLabel: {
|
|
128
|
-
description: "",
|
|
129
|
-
type: "sting",
|
|
130
|
-
default: ""
|
|
131
|
-
},
|
|
132
|
-
addonDisabled: {
|
|
133
|
-
description: "",
|
|
134
|
-
type: "boolean",
|
|
135
|
-
default: !1
|
|
136
|
-
},
|
|
137
|
-
addonContent: {
|
|
138
|
-
description: "",
|
|
139
|
-
type: "string",
|
|
140
|
-
default: ""
|
|
141
|
-
},
|
|
142
|
-
autoHeight: {
|
|
143
|
-
description: "",
|
|
144
|
-
type: "boolean",
|
|
145
|
-
default: !1
|
|
146
|
-
},
|
|
147
|
-
enableAddon: {
|
|
148
|
-
description: "",
|
|
149
|
-
type: "boolean",
|
|
150
|
-
default: !1
|
|
151
|
-
},
|
|
152
|
-
addonType: {
|
|
153
|
-
description: "",
|
|
154
|
-
type: "string",
|
|
155
|
-
enum: [
|
|
156
|
-
"button",
|
|
157
|
-
"static"
|
|
158
|
-
],
|
|
159
|
-
default: "button"
|
|
160
|
-
},
|
|
161
|
-
enableClear: {
|
|
162
|
-
description: "",
|
|
163
|
-
type: "boolean",
|
|
164
|
-
default: !0
|
|
165
|
-
},
|
|
166
|
-
enableViewPassword: {
|
|
167
|
-
description: "",
|
|
168
|
-
type: "boolean",
|
|
169
|
-
default: !1
|
|
170
|
-
},
|
|
171
|
-
inputType: {
|
|
172
|
-
description: "",
|
|
173
|
-
type: "string",
|
|
174
|
-
enum: [
|
|
175
|
-
"input",
|
|
176
|
-
"password",
|
|
177
|
-
"text"
|
|
178
|
-
],
|
|
179
|
-
default: "input"
|
|
180
|
-
},
|
|
181
|
-
maxHeight: {
|
|
182
|
-
description: "",
|
|
183
|
-
type: "number",
|
|
184
|
-
default: 500
|
|
185
|
-
},
|
|
186
|
-
popup: {
|
|
187
|
-
description: "",
|
|
188
|
-
type: "object",
|
|
189
|
-
properties: {
|
|
190
|
-
footerButtons: {
|
|
191
|
-
type: "array",
|
|
192
|
-
default: []
|
|
193
|
-
},
|
|
194
|
-
height: {
|
|
195
|
-
type: "number",
|
|
196
|
-
default: 600
|
|
197
|
-
},
|
|
198
|
-
dataMapping: {
|
|
199
|
-
type: "object"
|
|
200
|
-
},
|
|
201
|
-
contents: {
|
|
202
|
-
type: "array",
|
|
203
|
-
default: []
|
|
204
|
-
},
|
|
205
|
-
showMaxButton: {
|
|
206
|
-
type: "boolean",
|
|
207
|
-
default: !0
|
|
208
|
-
},
|
|
209
|
-
showCloseButton: {
|
|
210
|
-
type: "boolean",
|
|
211
|
-
default: !0
|
|
212
|
-
},
|
|
213
|
-
showFooter: {
|
|
214
|
-
type: "boolean",
|
|
215
|
-
default: !0
|
|
216
|
-
},
|
|
217
|
-
title: {
|
|
218
|
-
type: "string",
|
|
219
|
-
default: ""
|
|
220
|
-
},
|
|
221
|
-
width: {
|
|
222
|
-
type: "number",
|
|
223
|
-
default: 800
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
showButtonWhenDisabled: {
|
|
228
|
-
description: "",
|
|
229
|
-
type: "boolean",
|
|
230
|
-
default: !1
|
|
231
|
-
},
|
|
232
|
-
onClear: {
|
|
233
|
-
description: "",
|
|
234
|
-
type: "string",
|
|
235
|
-
default: ""
|
|
236
|
-
}
|
|
237
|
-
}, te = [
|
|
238
|
-
"id",
|
|
239
|
-
"type"
|
|
240
|
-
], ne = {
|
|
241
|
-
$schema: Q,
|
|
242
|
-
$id: X,
|
|
243
|
-
title: Y,
|
|
244
|
-
description: Z,
|
|
245
|
-
type: K,
|
|
246
|
-
properties: ee,
|
|
247
|
-
required: te
|
|
248
|
-
}, oe = /* @__PURE__ */ new Map([
|
|
249
|
-
["appearance", J]
|
|
250
|
-
]), P = {
|
|
251
|
-
/** 是否自动完成 */
|
|
252
|
-
autocomplete: { Type: String, default: "off" },
|
|
253
|
-
/** 自定义CLASS */
|
|
254
|
-
customClass: { Type: String, default: "" },
|
|
255
|
-
/** 禁用 */
|
|
256
|
-
disabled: { Type: Boolean, default: !1 },
|
|
257
|
-
/** 允许编辑 */
|
|
258
|
-
editable: { Type: Boolean, default: !0 },
|
|
259
|
-
/** 启用清除按钮 */
|
|
260
|
-
enableClear: { Type: Boolean, default: !0 },
|
|
261
|
-
enableTitle: { Type: Boolean, default: !0 },
|
|
262
|
-
enableViewPassword: { Type: Boolean, default: !0 },
|
|
263
|
-
extendInfo: { Type: String, default: "" },
|
|
264
|
-
forcePlaceholder: { Type: Boolean, default: !1 },
|
|
265
|
-
/** 扩展按钮 */
|
|
266
|
-
groupText: { Type: String, default: "" },
|
|
267
|
-
groupTextTemplate: { Type: W, default: p(null) },
|
|
268
|
-
isPassword: { Type: Boolean, default: !1 },
|
|
269
|
-
maxLength: { Type: Number || void 0, default: void 0 },
|
|
270
|
-
minLength: { Type: Number || void 0, default: void 0 },
|
|
271
|
-
/** 组件值 */
|
|
272
|
-
modelValue: { type: String, default: "" },
|
|
273
|
-
noborder: { Type: Boolean, default: !1 },
|
|
274
|
-
/** 启用提示信息 */
|
|
275
|
-
placeholder: { Type: String, default: "" },
|
|
276
|
-
/** 只读 */
|
|
277
|
-
readonly: { Type: Boolean, default: !1 },
|
|
278
|
-
/** 当组件禁用或只读时显示后边的按钮 */
|
|
279
|
-
showButtonWhenDisabled: { Type: Boolean, default: !1 },
|
|
280
|
-
tabIndex: { Type: Number || void 0, default: void 0 },
|
|
281
|
-
/** 文本在输入框中的对齐方式 */
|
|
282
|
-
textAlign: { Type: String, default: "left" },
|
|
283
|
-
/** 扩展信息;在输入框前面 显示 ① 图标鼠标滑过后显示 */
|
|
284
|
-
useExtendInfo: { Type: Boolean, default: !1 },
|
|
285
|
-
/** 输入值 */
|
|
286
|
-
value: { Type: String, default: "" }
|
|
287
|
-
}, E = z(P, ne, oe);
|
|
288
|
-
function I(e, t, a, n) {
|
|
289
|
-
const o = p(e.autocomplete), d = p(e.enableTitle), {
|
|
290
|
-
disabled: l,
|
|
291
|
-
modelValue: s
|
|
292
|
-
} = n, {
|
|
293
|
-
isPassword: v
|
|
294
|
-
} = a, c = p(e.minLength), m = p(e.maxLength), g = p(e.tabIndex), {
|
|
295
|
-
inputGroupEditorClass: r,
|
|
296
|
-
inputType: b,
|
|
297
|
-
onBlur: B,
|
|
298
|
-
onEnter: w,
|
|
299
|
-
onInputClick: h,
|
|
300
|
-
onInputFocus: x,
|
|
301
|
-
onMousedown: C,
|
|
302
|
-
onTextBoxValueChange: T,
|
|
303
|
-
readonly: A,
|
|
304
|
-
textBoxPlaceholder: u
|
|
305
|
-
} = n;
|
|
306
|
-
return () => k("input", {
|
|
307
|
-
name: "input-group-value",
|
|
308
|
-
class: r.value,
|
|
309
|
-
title: d.value && !v.value ? s.value : "",
|
|
310
|
-
type: b.value,
|
|
311
|
-
placeholder: u.value,
|
|
312
|
-
autocomplete: o.value,
|
|
313
|
-
readonly: A.value,
|
|
314
|
-
value: s.value,
|
|
315
|
-
disabled: l.value,
|
|
316
|
-
onBlur: (i) => B(i),
|
|
317
|
-
onMousedown: (i) => C(i),
|
|
318
|
-
onChange: (i) => T(i),
|
|
319
|
-
onKeypress: (i) => w(i),
|
|
320
|
-
onFocus: (i) => x(i),
|
|
321
|
-
onClick: (i) => h(i),
|
|
322
|
-
minlength: c.value,
|
|
323
|
-
maxlength: m.value,
|
|
324
|
-
onKeyup: (i) => t.emit("keyupHandle", i),
|
|
325
|
-
onKeydown: (i) => t.emit("keydownHandle", i),
|
|
326
|
-
tabindex: g.value
|
|
327
|
-
}, null);
|
|
328
|
-
}
|
|
329
|
-
function L(e, t, a, n, o) {
|
|
330
|
-
const {
|
|
331
|
-
appendedButtonClass: d,
|
|
332
|
-
appendedContent: l,
|
|
333
|
-
appendedContentTemplate: s
|
|
334
|
-
} = a, v = f(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), c = f(() => l.value && !s.value), m = f(() => s.value), {
|
|
335
|
-
clearButtonClass: g,
|
|
336
|
-
clearButtonStyle: r,
|
|
337
|
-
onClearValue: b,
|
|
338
|
-
shouldShowClearButton: B
|
|
339
|
-
} = n;
|
|
340
|
-
function w() {
|
|
341
|
-
return k("span", {
|
|
342
|
-
id: "clearIcon",
|
|
343
|
-
class: g.value,
|
|
344
|
-
style: r.value,
|
|
345
|
-
onClick: (y) => b(y)
|
|
346
|
-
}, [k("i", {
|
|
347
|
-
class: "f-icon modal_close"
|
|
348
|
-
}, null)]);
|
|
349
|
-
}
|
|
350
|
-
function h(y) {
|
|
351
|
-
t.emit("iconMouseEnter", y);
|
|
352
|
-
}
|
|
353
|
-
function x(y) {
|
|
354
|
-
t.emit("iconMouseLeave", y);
|
|
355
|
-
}
|
|
356
|
-
function C(y) {
|
|
357
|
-
v.value && t.emit("clickHandle", {
|
|
358
|
-
originalEvent: y
|
|
359
|
-
}), y.stopPropagation();
|
|
360
|
-
}
|
|
361
|
-
const T = e.isPassword ? o.onClickAppendedButton : C;
|
|
362
|
-
function A() {
|
|
363
|
-
return k("span", {
|
|
364
|
-
class: "input-group-text",
|
|
365
|
-
onMouseenter: (y) => h(y),
|
|
366
|
-
onMouseleave: (y) => x(y),
|
|
367
|
-
innerHTML: l.value,
|
|
368
|
-
onClick: (y) => T(y)
|
|
369
|
-
}, null);
|
|
370
|
-
}
|
|
371
|
-
function u() {
|
|
372
|
-
return F(k("template", null, null), [[R("slot"), "appendedContentTemplate"]]);
|
|
373
|
-
}
|
|
374
|
-
function i() {
|
|
375
|
-
return c.value ? A : m.value ? u : w;
|
|
376
|
-
}
|
|
377
|
-
const O = i();
|
|
378
|
-
return () => k("div", {
|
|
379
|
-
class: d.value
|
|
380
|
-
}, [B.value && O()]);
|
|
381
|
-
}
|
|
382
|
-
function j(e, t) {
|
|
383
|
-
const a = p("text"), n = p(e.modelValue), o = p(e.textAlign), d = p(e.noborder), l = f(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), s = f(() => e.editable || !e.readonly), v = f(() => e.readonly || !e.editable), c = f(() => n.value === "" || n.value === null || n.value === void 0), m = p(e.disabled), g = p(e.editable), r = "f-state-focus", b = f(() => ({
|
|
384
|
-
"form-control": !0,
|
|
385
|
-
"f-utils-fill": !0,
|
|
386
|
-
"text-left": o.value === "left",
|
|
387
|
-
"text-center": o.value === "center",
|
|
388
|
-
"text-right": o.value === "right"
|
|
389
|
-
}));
|
|
390
|
-
function B(u) {
|
|
391
|
-
return document.documentElement.classList.remove(r), t.emit("blurHandle", u), u.stopPropagation(), !1;
|
|
392
|
-
}
|
|
393
|
-
function w(u) {
|
|
394
|
-
t.emit("enterHandle", { originalEvent: u });
|
|
395
|
-
}
|
|
396
|
-
function h(u) {
|
|
397
|
-
u.target.tagName !== "INPUT" && u.preventDefault(), u.stopPropagation();
|
|
398
|
-
}
|
|
399
|
-
function x(u, i = !0) {
|
|
400
|
-
n.value !== u && (n.value = u, i && t.emit("change", u), t.emit("update:modelValue", u));
|
|
401
|
-
}
|
|
402
|
-
function C(u) {
|
|
403
|
-
e.disabled || (d.value || document.documentElement.classList.add(r), s.value && t.emit("focusHandle", u));
|
|
404
|
-
}
|
|
405
|
-
function T(u) {
|
|
406
|
-
t.emit("inputClick", u);
|
|
407
|
-
}
|
|
408
|
-
function A(u) {
|
|
409
|
-
const i = u.target.value;
|
|
410
|
-
u.stopPropagation(), x(i);
|
|
411
|
-
}
|
|
412
|
-
return {
|
|
413
|
-
changeTextBoxValue: x,
|
|
414
|
-
disabled: m,
|
|
415
|
-
editable: g,
|
|
416
|
-
inputGroupEditorClass: b,
|
|
417
|
-
inputType: a,
|
|
418
|
-
isEmpty: c,
|
|
419
|
-
readonly: v,
|
|
420
|
-
modelValue: n,
|
|
421
|
-
onBlur: B,
|
|
422
|
-
onEnter: w,
|
|
423
|
-
onInputClick: T,
|
|
424
|
-
onInputFocus: C,
|
|
425
|
-
onMousedown: h,
|
|
426
|
-
onTextBoxValueChange: A,
|
|
427
|
-
textBoxPlaceholder: l
|
|
428
|
-
};
|
|
429
|
-
}
|
|
430
|
-
function G(e, t) {
|
|
431
|
-
const a = p(e.groupText), n = p(e.groupTextTemplate), o = f(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), d = f(() => e.enableClear || !!e.groupText || !!e.groupTextTemplate);
|
|
432
|
-
return { appendedButtonClass: f(() => ({
|
|
433
|
-
"input-group-append": !0,
|
|
434
|
-
"append-force-show": o.value
|
|
435
|
-
})), appendedContent: a, appendedContentTemplate: n, shouldShowAppendedButton: d };
|
|
436
|
-
}
|
|
437
|
-
function V(e, t, a) {
|
|
438
|
-
const n = p(!1), o = f(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: d, isEmpty: l } = a, s = f(() => ({
|
|
439
|
-
"input-group-text": !0,
|
|
440
|
-
"input-group-clear": !0
|
|
441
|
-
})), v = f(() => ({
|
|
442
|
-
width: "24px",
|
|
443
|
-
display: n.value ? "flex" : "none"
|
|
444
|
-
}));
|
|
445
|
-
function c(r) {
|
|
446
|
-
r.stopPropagation(), o.value && (d(""), n.value = !1, t.emit("clear"));
|
|
447
|
-
}
|
|
448
|
-
function m(r) {
|
|
449
|
-
o.value && !l.value && (n.value = !0);
|
|
450
|
-
}
|
|
451
|
-
function g(r) {
|
|
452
|
-
o.value && (n.value = !1);
|
|
453
|
-
}
|
|
454
|
-
return { clearButtonClass: s, clearButtonStyle: v, hasShownClearButton: n, onClearValue: c, onMouseEnter: m, onMouseLeave: g, shouldShowClearButton: o };
|
|
455
|
-
}
|
|
456
|
-
function D(e, t, a, n) {
|
|
457
|
-
const { appendedContent: o } = n, d = p(e.enableViewPassword), l = p(e.isPassword), s = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', v = '<span class="f-icon f-icon-eye"></span>', c = p(!1);
|
|
458
|
-
N(() => [e.readonly, e.disabled], ([r, b]) => {
|
|
459
|
-
l.value && (a.value = r || b ? "password" : a.value, o.value = r || b ? v : o.value);
|
|
460
|
-
});
|
|
461
|
-
function m() {
|
|
462
|
-
return c.value = !c.value, a.value = c.value ? "text" : "password", o.value = c.value ? s : v, !1;
|
|
463
|
-
}
|
|
464
|
-
function g() {
|
|
465
|
-
a.value = l.value ? "password" : "text", o.value = l.value ? d.value ? v : "" : o.value;
|
|
466
|
-
}
|
|
467
|
-
return g(), { isPassword: l, onClickAppendedButton: m };
|
|
468
|
-
}
|
|
469
|
-
const M = /* @__PURE__ */ S({
|
|
470
|
-
name: "FInputGroup",
|
|
471
|
-
props: P,
|
|
472
|
-
emits: ["updateExtendInfo", "clear", "valueChange", "clickHandle", "blurHandle", "focusHandle", "enterHandle", "iconMouseEnter", "iconMouseLeave", "keyupHandle", "keydownHandle", "inputClick"],
|
|
473
|
-
setup(e, t) {
|
|
474
|
-
const a = j(e, t), {
|
|
475
|
-
disabled: n,
|
|
476
|
-
editable: o,
|
|
477
|
-
inputType: d,
|
|
478
|
-
readonly: l
|
|
479
|
-
} = a, s = G(e), {
|
|
480
|
-
shouldShowAppendedButton: v
|
|
481
|
-
} = s, c = V(e, t, a), {
|
|
482
|
-
onMouseEnter: m,
|
|
483
|
-
onMouseLeave: g
|
|
484
|
-
} = c, r = D(e, t, d, s), b = I(e, t, r, a), B = L(e, t, s, c, r), w = f(() => {
|
|
485
|
-
const h = {
|
|
486
|
-
"f-cmp-inputgroup": !0,
|
|
487
|
-
"input-group": !0,
|
|
488
|
-
"f-state-disabled": n.value,
|
|
489
|
-
"f-state-editable": o.value && !n.value && !l.value,
|
|
490
|
-
"f-state-readonly": l.value && !n.value
|
|
491
|
-
};
|
|
492
|
-
return (e.customClass || "").split(" ").reduce((C, T) => (C[T] = !0, C), h), h;
|
|
493
|
-
});
|
|
494
|
-
return () => k("div", {
|
|
495
|
-
id: "inputGroup",
|
|
496
|
-
class: w.value,
|
|
497
|
-
onMouseenter: m,
|
|
498
|
-
onMouseleave: g
|
|
499
|
-
}, [b(), v.value && B()]);
|
|
500
|
-
}
|
|
501
|
-
}), ae = /* @__PURE__ */ S({
|
|
502
|
-
name: "FInputGroupDesign",
|
|
503
|
-
props: P,
|
|
504
|
-
emits: ["updateExtendInfo", "clear", "valueChange", "clickHandle", "blurHandle", "focusHandle", "enterHandle", "iconMouseEnter", "iconMouseLeave", "keyupHandle", "keydownHandle", "inputClick"],
|
|
505
|
-
setup(e, t) {
|
|
506
|
-
const a = j(e, t), {
|
|
507
|
-
disabled: n,
|
|
508
|
-
editable: o,
|
|
509
|
-
inputType: d,
|
|
510
|
-
readonly: l
|
|
511
|
-
} = a, s = G(e), {
|
|
512
|
-
shouldShowAppendedButton: v
|
|
513
|
-
} = s, c = V(e, t, a), {
|
|
514
|
-
onMouseEnter: m,
|
|
515
|
-
onMouseLeave: g
|
|
516
|
-
} = c, r = D(e, t, d, s), b = I(e, t, r, a), B = L(e, t, s, c, r), w = f(() => {
|
|
517
|
-
const h = {
|
|
518
|
-
"f-cmp-inputgroup": !0,
|
|
519
|
-
"input-group": !0,
|
|
520
|
-
"f-state-disabled": n.value,
|
|
521
|
-
"f-state-editable": o.value && !n.value && !l.value,
|
|
522
|
-
"f-state-readonly": l.value && !n.value
|
|
523
|
-
};
|
|
524
|
-
return (e.customClass || "").split(" ").reduce((C, T) => (C[T] = !0, C), h), h;
|
|
525
|
-
});
|
|
526
|
-
return () => k("div", {
|
|
527
|
-
id: "inputGroup",
|
|
528
|
-
class: w.value,
|
|
529
|
-
onMouseenter: m,
|
|
530
|
-
onMouseleave: g
|
|
531
|
-
}, [b(), v.value && B()]);
|
|
532
|
-
}
|
|
533
|
-
}), se = {
|
|
534
|
-
install(e) {
|
|
535
|
-
e.component(M.name, M);
|
|
536
|
-
},
|
|
537
|
-
register(e, t) {
|
|
538
|
-
e["input-group"] = M, t["input-group"] = E;
|
|
539
|
-
},
|
|
540
|
-
registerDesigner(e, t) {
|
|
541
|
-
e["input-group"] = ae, t["input-group"] = E;
|
|
542
|
-
}
|
|
543
|
-
};
|
|
544
|
-
export {
|
|
545
|
-
M as InputGroup,
|
|
546
|
-
se as default,
|
|
547
|
-
P as inputGroupProps,
|
|
548
|
-
E as propsResolver
|
|
549
|
-
};
|
package/input-group/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(h,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue"),require("@vueuse/core")):typeof define=="function"&&define.amd?define(["exports","vue","@vueuse/core"],n):(h=typeof globalThis<"u"?globalThis:h||self,n(h["input-group"]={},h.Vue,h.core))})(this,function(h,n,G){"use strict";const N={};function S(e){const{properties:t}=e;return Object.keys(t).reduce((o,a)=>(o[a]=t[a].type==="object"&&t[a].properties?S(t[a]):t[a].default,o),{})}function D(e,t){const l=S(t);return Object.keys(e).reduce((o,a)=>(o[a]=e[a],o),l),l}function O(e,t){return Object.keys(e).filter(o=>e[o]!=null).reduce((o,a)=>{if(t.has(a)){const r=t.get(a);if(typeof r=="string")o[r]=e[a];else{const u=r(a,e[a]);Object.assign(o,u)}}else o[a]=e[a];return o},{})}function F(e,t,l=new Map){const o=D(e,t);return O(o,l)}function R(e,t,l=new Map){return N[t.title]=t,o=>{const a=F(o,t,l),r=Object.keys(e).reduce((u,i)=>(u[i]=e[i].default,u),{});return Object.assign(r,a)}}function q(e,t){return{customClass:t.class}}const W={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://farris-design.gitee.io/input-group.schema.json",title:"input-group",description:"A Farris Input Component",type:"object",properties:{id:{description:"The unique identifier for a Input Group",type:"string"},type:{description:"The type string of Input Group component",type:"string",default:"input-group"},appearance:{description:"",type:"object",properties:{class:{type:"string"},style:{type:"string"}},default:{}},binding:{description:"",type:"object",default:{}},editable:{description:"",type:"boolean",default:!0},enableLinkLabel:{description:"",type:"boolean",default:!1},label:{description:"",type:"string",default:""},lableWidth:{description:"",type:"number"},placeHolder:{description:"",type:"string",default:""},readonly:{description:"",type:"boolean",default:!1},required:{description:"",type:"boolean",default:!1},tabindex:{description:"",type:"number",default:-1},textAlign:{description:"",type:"string",enum:["left","middle","right"],default:"left"},visible:{description:"",type:"boolean",default:!0},onBlur:{description:"",type:"string",default:""},onClickLinkLabel:{description:"",type:"sting",default:""},addonDisabled:{description:"",type:"boolean",default:!1},addonContent:{description:"",type:"string",default:""},autoHeight:{description:"",type:"boolean",default:!1},enableAddon:{description:"",type:"boolean",default:!1},addonType:{description:"",type:"string",enum:["button","static"],default:"button"},enableClear:{description:"",type:"boolean",default:!0},enableViewPassword:{description:"",type:"boolean",default:!1},inputType:{description:"",type:"string",enum:["input","password","text"],default:"input"},maxHeight:{description:"",type:"number",default:500},popup:{description:"",type:"object",properties:{footerButtons:{type:"array",default:[]},height:{type:"number",default:600},dataMapping:{type:"object"},contents:{type:"array",default:[]},showMaxButton:{type:"boolean",default:!0},showCloseButton:{type:"boolean",default:!0},showFooter:{type:"boolean",default:!0},title:{type:"string",default:""},width:{type:"number",default:800}}},showButtonWhenDisabled:{description:"",type:"boolean",default:!1},onClear:{description:"",type:"string",default:""}},required:["id","type"]},_=new Map([["appearance",q]]),k={autocomplete:{Type:String,default:"off"},customClass:{Type:String,default:""},disabled:{Type:Boolean,default:!1},editable:{Type:Boolean,default:!0},enableClear:{Type:Boolean,default:!0},enableTitle:{Type:Boolean,default:!0},enableViewPassword:{Type:Boolean,default:!0},extendInfo:{Type:String,default:""},forcePlaceholder:{Type:Boolean,default:!1},groupText:{Type:String,default:""},groupTextTemplate:{Type:G.templateRef,default:n.ref(null)},isPassword:{Type:Boolean,default:!1},maxLength:{Type:Number||void 0,default:void 0},minLength:{Type:Number||void 0,default:void 0},modelValue:{type:String,default:""},noborder:{Type:Boolean,default:!1},placeholder:{Type:String,default:""},readonly:{Type:Boolean,default:!1},showButtonWhenDisabled:{Type:Boolean,default:!1},tabIndex:{Type:Number||void 0,default:void 0},textAlign:{Type:String,default:"left"},useExtendInfo:{Type:Boolean,default:!1},value:{Type:String,default:""}},P=R(k,W,_);function E(e,t,l,o){const a=n.ref(e.autocomplete),r=n.ref(e.enableTitle),{disabled:u,modelValue:i}=o,{isPassword:f}=l,p=n.ref(e.minLength),y=n.ref(e.maxLength),g=n.ref(e.tabIndex),{inputGroupEditorClass:c,inputType:b,onBlur:B,onEnter:T,onInputClick:v,onInputFocus:x,onMousedown:C,onTextBoxValueChange:w,readonly:M,textBoxPlaceholder:s}=o;return()=>n.createVNode("input",{name:"input-group-value",class:c.value,title:r.value&&!f.value?i.value:"",type:b.value,placeholder:s.value,autocomplete:a.value,readonly:M.value,value:i.value,disabled:u.value,onBlur:d=>B(d),onMousedown:d=>C(d),onChange:d=>w(d),onKeypress:d=>T(d),onFocus:d=>x(d),onClick:d=>v(d),minlength:p.value,maxlength:y.value,onKeyup:d=>t.emit("keyupHandle",d),onKeydown:d=>t.emit("keydownHandle",d),tabindex:g.value},null)}function H(e,t,l,o,a){const{appendedButtonClass:r,appendedContent:u,appendedContentTemplate:i}=l,f=n.computed(()=>e.showButtonWhenDisabled&&(!e.editable||!e.readonly)&&!e.disabled),p=n.computed(()=>u.value&&!i.value),y=n.computed(()=>i.value),{clearButtonClass:g,clearButtonStyle:c,onClearValue:b,shouldShowClearButton:B}=o;function T(){return n.createVNode("span",{id:"clearIcon",class:g.value,style:c.value,onClick:m=>b(m)},[n.createVNode("i",{class:"f-icon modal_close"},null)])}function v(m){t.emit("iconMouseEnter",m)}function x(m){t.emit("iconMouseLeave",m)}function C(m){f.value&&t.emit("clickHandle",{originalEvent:m}),m.stopPropagation()}const w=e.isPassword?a.onClickAppendedButton:C;function M(){return n.createVNode("span",{class:"input-group-text",onMouseenter:m=>v(m),onMouseleave:m=>x(m),innerHTML:u.value,onClick:m=>w(m)},null)}function s(){return n.withDirectives(n.createVNode("template",null,null),[[n.resolveDirective("slot"),"appendedContentTemplate"]])}function d(){return p.value?M:y.value?s:T}const z=d();return()=>n.createVNode("div",{class:r.value},[B.value&&z()])}const te="";function I(e,t){const l=n.ref("text"),o=n.ref(e.modelValue),a=n.ref(e.textAlign),r=n.ref(e.noborder),u=n.computed(()=>(e.disabled||e.readonly)&&!e.forcePlaceholder?"":e.placeholder),i=n.computed(()=>e.editable||!e.readonly),f=n.computed(()=>e.readonly||!e.editable),p=n.computed(()=>o.value===""||o.value===null||o.value===void 0),y=n.ref(e.disabled),g=n.ref(e.editable),c="f-state-focus",b=n.computed(()=>({"form-control":!0,"f-utils-fill":!0,"text-left":a.value==="left","text-center":a.value==="center","text-right":a.value==="right"}));function B(s){return document.documentElement.classList.remove(c),t.emit("blurHandle",s),s.stopPropagation(),!1}function T(s){t.emit("enterHandle",{originalEvent:s})}function v(s){s.target.tagName!=="INPUT"&&s.preventDefault(),s.stopPropagation()}function x(s,d=!0){o.value!==s&&(o.value=s,d&&t.emit("change",s),t.emit("update:modelValue",s))}function C(s){e.disabled||(r.value||document.documentElement.classList.add(c),i.value&&t.emit("focusHandle",s))}function w(s){t.emit("inputClick",s)}function M(s){const d=s.target.value;s.stopPropagation(),x(d)}return{changeTextBoxValue:x,disabled:y,editable:g,inputGroupEditorClass:b,inputType:l,isEmpty:p,readonly:f,modelValue:o,onBlur:B,onEnter:T,onInputClick:w,onInputFocus:C,onMousedown:v,onTextBoxValueChange:M,textBoxPlaceholder:u}}function V(e,t){const l=n.ref(e.groupText),o=n.ref(e.groupTextTemplate),a=n.computed(()=>e.showButtonWhenDisabled&&(e.readonly||e.disabled)),r=n.computed(()=>e.enableClear||!!e.groupText||!!e.groupTextTemplate);return{appendedButtonClass:n.computed(()=>({"input-group-append":!0,"append-force-show":a.value})),appendedContent:l,appendedContentTemplate:o,shouldShowAppendedButton:r}}function j(e,t,l){const o=n.ref(!1),a=n.computed(()=>e.enableClear&&!e.readonly&&!e.disabled),{changeTextBoxValue:r,isEmpty:u}=l,i=n.computed(()=>({"input-group-text":!0,"input-group-clear":!0})),f=n.computed(()=>({width:"24px",display:o.value?"flex":"none"}));function p(c){c.stopPropagation(),a.value&&(r(""),o.value=!1,t.emit("clear"))}function y(c){a.value&&!u.value&&(o.value=!0)}function g(c){a.value&&(o.value=!1)}return{clearButtonClass:i,clearButtonStyle:f,hasShownClearButton:o,onClearValue:p,onMouseEnter:y,onMouseLeave:g,shouldShowClearButton:a}}function L(e,t,l,o){const{appendedContent:a}=o,r=n.ref(e.enableViewPassword),u=n.ref(e.isPassword),i='<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>',f='<span class="f-icon f-icon-eye"></span>',p=n.ref(!1);n.watch(()=>[e.readonly,e.disabled],([c,b])=>{u.value&&(l.value=c||b?"password":l.value,a.value=c||b?f:a.value)});function y(){return p.value=!p.value,l.value=p.value?"text":"password",a.value=p.value?i:f,!1}function g(){l.value=u.value?"password":"text",a.value=u.value?r.value?f:"":a.value}return g(),{isPassword:u,onClickAppendedButton:y}}const A=n.defineComponent({name:"FInputGroup",props:k,emits:["updateExtendInfo","clear","valueChange","clickHandle","blurHandle","focusHandle","enterHandle","iconMouseEnter","iconMouseLeave","keyupHandle","keydownHandle","inputClick"],setup(e,t){const l=I(e,t),{disabled:o,editable:a,inputType:r,readonly:u}=l,i=V(e),{shouldShowAppendedButton:f}=i,p=j(e,t,l),{onMouseEnter:y,onMouseLeave:g}=p,c=L(e,t,r,i),b=E(e,t,c,l),B=H(e,t,i,p,c),T=n.computed(()=>{const v={"f-cmp-inputgroup":!0,"input-group":!0,"f-state-disabled":o.value,"f-state-editable":a.value&&!o.value&&!u.value,"f-state-readonly":u.value&&!o.value};return(e.customClass||"").split(" ").reduce((C,w)=>(C[w]=!0,C),v),v});return()=>n.createVNode("div",{id:"inputGroup",class:T.value,onMouseenter:y,onMouseleave:g},[b(),f.value&&B()])}}),$=n.defineComponent({name:"FInputGroupDesign",props:k,emits:["updateExtendInfo","clear","valueChange","clickHandle","blurHandle","focusHandle","enterHandle","iconMouseEnter","iconMouseLeave","keyupHandle","keydownHandle","inputClick"],setup(e,t){const l=I(e,t),{disabled:o,editable:a,inputType:r,readonly:u}=l,i=V(e),{shouldShowAppendedButton:f}=i,p=j(e,t,l),{onMouseEnter:y,onMouseLeave:g}=p,c=L(e,t,r,i),b=E(e,t,c,l),B=H(e,t,i,p,c),T=n.computed(()=>{const v={"f-cmp-inputgroup":!0,"input-group":!0,"f-state-disabled":o.value,"f-state-editable":a.value&&!o.value&&!u.value,"f-state-readonly":u.value&&!o.value};return(e.customClass||"").split(" ").reduce((C,w)=>(C[w]=!0,C),v),v});return()=>n.createVNode("div",{id:"inputGroup",class:T.value,onMouseenter:y,onMouseleave:g},[b(),f.value&&B()])}}),U={install(e){e.component(A.name,A)},register(e,t){e["input-group"]=A,t["input-group"]=P},registerDesigner(e,t){e["input-group"]=$,t["input-group"]=P}};h.InputGroup=A,h.default=U,h.inputGroupProps=k,h.propsResolver=P,Object.defineProperties(h,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/input-group/package.json
DELETED
package/input-group/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.input-group{flex-wrap:nowrap}.input-group-text,.input-group-clear{cursor:pointer}.input-group-text:hover{background:#ccc}.input-group-clear-right{position:absolute;height:100%;right:0;top:0;z-index:100}.f-cmp-inputgroup .input-group-append{margin-left:1px}
|