@farris/ui-vue 1.0.2 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/farris.all.esm.js +52196 -23847
- package/farris.all.umd.cjs +26 -0
- package/package.json +7 -6
- package/style.css +1 -11
- package/accordion/index.esm.js +0 -355
- package/accordion/index.umd.js +0 -1
- package/accordion/package.json +0 -8
- package/accordion/style.css +0 -1
- package/avatar/index.esm.js +0 -121
- package/avatar/index.umd.js +0 -1
- package/avatar/package.json +0 -8
- package/avatar/style.css +0 -1
- package/button/index.esm.js +0 -271
- package/button/index.umd.js +0 -1
- package/button/package.json +0 -8
- package/button-edit/index.esm.js +0 -1208
- package/button-edit/index.umd.js +0 -1
- package/button-edit/package.json +0 -8
- package/button-edit/style.css +0 -1
- package/calculator/index.esm.js +0 -315
- package/calculator/index.umd.js +0 -1
- package/calculator/package.json +0 -8
- package/calculator/style.css +0 -1
- package/calendar/index.esm.js +0 -778
- package/calendar/index.umd.js +0 -1
- package/calendar/package.json +0 -8
- package/calendar/style.css +0 -1
- package/capsule/index.esm.js +0 -130
- package/capsule/index.umd.js +0 -1
- package/capsule/package.json +0 -8
- package/capsule/style.css +0 -1
- package/checkbox/index.esm.js +0 -251
- package/checkbox/index.umd.js +0 -1
- package/checkbox/package.json +0 -8
- package/color-picker/index.esm.js +0 -1551
- package/color-picker/index.umd.js +0 -16
- package/color-picker/package.json +0 -8
- package/color-picker/style.css +0 -1
- package/combo-list/index.esm.js +0 -2227
- package/combo-list/index.umd.js +0 -1
- package/combo-list/package.json +0 -8
- package/combo-list/style.css +0 -1
- package/component/index.esm.js +0 -176
- package/component/index.umd.js +0 -1
- package/component/package.json +0 -8
- package/condition/index.esm.js +0 -13570
- package/condition/index.umd.js +0 -1
- package/condition/package.json +0 -8
- package/condition/style.css +0 -1
- package/content-container/index.esm.js +0 -242
- package/content-container/index.umd.js +0 -1
- package/content-container/package.json +0 -8
- package/data-grid/index.esm.js +0 -13724
- package/data-grid/index.umd.js +0 -1
- package/data-grid/package.json +0 -8
- package/data-grid/style.css +0 -1
- package/date-picker/index.esm.js +0 -2558
- package/date-picker/index.umd.js +0 -1
- package/date-picker/package.json +0 -8
- package/date-picker/style.css +0 -1
- package/designer-canvas/index.esm.js +0 -15240
- package/designer-canvas/index.umd.js +0 -1
- package/designer-canvas/package.json +0 -8
- package/designer-canvas/style.css +0 -1
- package/discussion-editor/index.esm.js +0 -3559
- package/discussion-editor/index.umd.js +0 -16
- package/discussion-editor/package.json +0 -8
- package/discussion-editor/style.css +0 -1
- package/discussion-list/index.esm.js +0 -111
- package/discussion-list/index.umd.js +0 -1
- package/discussion-list/package.json +0 -8
- package/discussion-list/style.css +0 -1
- package/dropdown/index.esm.js +0 -214
- package/dropdown/index.umd.js +0 -1
- package/dropdown/package.json +0 -8
- package/dropdown/style.css +0 -1
- package/dynamic-form/index.esm.js +0 -13568
- package/dynamic-form/index.umd.js +0 -1
- package/dynamic-form/package.json +0 -8
- package/dynamic-form/style.css +0 -1
- package/dynamic-resolver/index.esm.js +0 -41
- package/dynamic-resolver/index.umd.js +0 -1
- package/dynamic-resolver/package.json +0 -8
- package/dynamic-view/index.esm.js +0 -13608
- package/dynamic-view/index.umd.js +0 -1
- package/dynamic-view/package.json +0 -8
- package/dynamic-view/style.css +0 -1
- package/farris.all.umd.js +0 -24
- package/filter-bar/index.esm.js +0 -549
- package/filter-bar/index.umd.js +0 -1
- package/filter-bar/package.json +0 -8
- package/filter-bar/style.css +0 -1
- package/image-cropper/index.esm.js +0 -720
- package/image-cropper/index.umd.js +0 -1
- package/image-cropper/package.json +0 -8
- package/image-cropper/style.css +0 -1
- package/input-group/index.esm.js +0 -549
- package/input-group/index.umd.js +0 -1
- package/input-group/package.json +0 -8
- package/input-group/style.css +0 -1
- package/list-nav/index.esm.js +0 -61
- package/list-nav/index.umd.js +0 -1
- package/list-nav/package.json +0 -8
- package/list-nav/style.css +0 -1
- package/list-view/index.esm.js +0 -536
- package/list-view/index.umd.js +0 -1
- package/list-view/package.json +0 -8
- package/list-view/style.css +0 -1
- package/loading/index.esm.js +0 -124
- package/loading/index.umd.js +0 -8
- package/loading/package.json +0 -8
- package/loading/style.css +0 -1
- package/locale/index.esm.js +0 -1868
- package/locale/index.umd.js +0 -1
- package/locale/package.json +0 -8
- package/message-box/index.esm.js +0 -572
- package/message-box/index.umd.js +0 -1
- package/message-box/package.json +0 -8
- package/message-box/style.css +0 -1
- package/modal/index.esm.js +0 -212
- package/modal/index.umd.js +0 -1
- package/modal/package.json +0 -8
- package/modal/style.css +0 -1
- package/nav/index.esm.js +0 -456
- package/nav/index.umd.js +0 -16
- package/nav/package.json +0 -8
- package/nav/style.css +0 -1
- package/notify/index.esm.js +0 -187
- package/notify/index.umd.js +0 -1
- package/notify/package.json +0 -8
- package/notify/style.css +0 -1
- package/order/index.esm.js +0 -2278
- package/order/index.umd.js +0 -1
- package/order/package.json +0 -8
- package/order/style.css +0 -1
- package/page-footer/index.esm.js +0 -94
- package/page-footer/index.umd.js +0 -1
- package/page-footer/package.json +0 -8
- package/page-header/index.esm.js +0 -230
- package/page-header/index.umd.js +0 -1
- package/page-header/package.json +0 -8
- package/pagination/index.esm.js +0 -340
- package/pagination/index.umd.js +0 -1
- package/pagination/package.json +0 -8
- package/pagination/style.css +0 -1
- package/popover/index.esm.js +0 -218
- package/popover/index.umd.js +0 -1
- package/popover/package.json +0 -8
- package/popover/style.css +0 -1
- package/propress/index.esm.js +0 -108
- package/propress/index.umd.js +0 -1
- package/propress/package.json +0 -8
- package/propress/style.css +0 -1
- package/radio-group/index.esm.js +0 -221
- package/radio-group/index.umd.js +0 -1
- package/radio-group/package.json +0 -8
- package/rate/index.esm.js +0 -168
- package/rate/index.umd.js +0 -1
- package/rate/package.json +0 -8
- package/rate/style.css +0 -1
- package/response-toolbar/index.esm.js +0 -433
- package/response-toolbar/index.umd.js +0 -1
- package/response-toolbar/package.json +0 -8
- package/search-box/index.esm.js +0 -208
- package/search-box/index.umd.js +0 -1
- package/search-box/package.json +0 -8
- package/search-box/style.css +0 -1
- package/section/index.esm.js +0 -366
- package/section/index.umd.js +0 -1
- package/section/package.json +0 -8
- package/section/style.css +0 -1
- package/splitter/index.esm.js +0 -491
- package/splitter/index.umd.js +0 -1
- package/splitter/package.json +0 -8
- package/splitter/style.css +0 -1
- package/step/index.esm.js +0 -117
- package/step/index.umd.js +0 -1
- package/step/package.json +0 -8
- package/step/style.css +0 -1
- package/switch/index.esm.js +0 -197
- package/switch/index.umd.js +0 -1
- package/switch/package.json +0 -8
- package/switch/style.css +0 -1
- package/tabs/index.esm.js +0 -1638
- package/tabs/index.umd.js +0 -1
- package/tabs/package.json +0 -8
- package/tabs/style.css +0 -1
- package/tags/index.esm.js +0 -287
- package/tags/index.umd.js +0 -1
- package/tags/package.json +0 -8
- package/tags/style.css +0 -1
- package/text/index.esm.js +0 -36
- package/text/index.umd.js +0 -1
- package/text/package.json +0 -8
- package/time-picker/index.esm.js +0 -1465
- package/time-picker/index.umd.js +0 -1
- package/time-picker/package.json +0 -8
- package/time-picker/style.css +0 -1
- package/tooltip/index.esm.js +0 -195
- package/tooltip/index.umd.js +0 -1
- package/tooltip/package.json +0 -8
- package/tooltip/style.css +0 -1
- package/transfer/index.esm.js +0 -642
- package/transfer/index.umd.js +0 -1
- package/transfer/package.json +0 -8
- package/transfer/style.css +0 -1
- package/tree-view/index.esm.js +0 -701
- package/tree-view/index.umd.js +0 -1
- package/tree-view/package.json +0 -8
- package/tree-view/style.css +0 -1
- package/types/accordion/index.d.ts +0 -27
- package/types/accordion/src/accordion.component.d.ts +0 -6
- package/types/accordion/src/accordion.props.d.ts +0 -19
- package/types/accordion/src/components/accordion-item.component.d.ts +0 -6
- package/types/accordion/src/components/accordion-item.props.d.ts +0 -19
- package/types/accordion/src/designer/accordion-item.design.component.d.ts +0 -6
- package/types/accordion/src/designer/accordion.design.component.d.ts +0 -6
- package/types/accordion/src/schema/schema-mapper.d.ts +0 -2
- package/types/avatar/index.d.ts +0 -23
- package/types/avatar/src/avatar.component.d.ts +0 -111
- package/types/avatar/src/avatar.props.d.ts +0 -96
- package/types/avatar/src/composition/types.d.ts +0 -31
- package/types/avatar/src/composition/use-image.d.ts +0 -19
- package/types/button/index.d.ts +0 -25
- package/types/button/src/button-group.component.d.ts +0 -108
- package/types/button/src/button-group.props.d.ts +0 -106
- package/types/button/src/button.component.d.ts +0 -42
- package/types/button/src/button.props.d.ts +0 -53
- package/types/button/src/composition/types-group.d.ts +0 -24
- package/types/button/src/composition/types.d.ts +0 -24
- package/types/button/src/composition/use-button-group.d.ts +0 -19
- package/types/button/src/composition/use-button.d.ts +0 -19
- package/types/button-edit/index.d.ts +0 -25
- package/types/button-edit/src/button-edit.component.d.ts +0 -6
- package/types/button-edit/src/button-edit.props.d.ts +0 -21
- package/types/button-edit/src/components/button-group.component.d.ts +0 -3
- package/types/button-edit/src/components/popup-container.component.d.ts +0 -4
- package/types/button-edit/src/components/text-edit.component.d.ts +0 -4
- package/types/button-edit/src/composition/types.d.ts +0 -132
- package/types/button-edit/src/composition/use-button.d.ts +0 -19
- package/types/button-edit/src/composition/use-clear.d.ts +0 -19
- package/types/button-edit/src/composition/use-popup.d.ts +0 -4
- package/types/button-edit/src/composition/use-text-box.d.ts +0 -19
- package/types/button-edit/src/schema/schema-mapper.d.ts +0 -2
- package/types/calculator/index.d.ts +0 -23
- package/types/calculator/src/calculator.component.d.ts +0 -8
- package/types/calculator/src/calculator.props.d.ts +0 -23
- package/types/calculator/src/composition/use-calculator.d.ts +0 -26
- package/types/calendar/index.d.ts +0 -21
- package/types/calendar/src/calendar.props.d.ts +0 -26
- package/types/calendar/src/components/day/day-view.props.d.ts +0 -34
- package/types/calendar/src/components/header/header.props.d.ts +0 -24
- package/types/calendar/src/components/month/month-view.props.d.ts +0 -69
- package/types/calendar/src/components/week/week-view.component.d.ts +0 -106
- package/types/calendar/src/components/week/week-view.props.d.ts +0 -51
- package/types/calendar/src/composition/types.d.ts +0 -57
- package/types/calendar/src/composition/use-calendar.d.ts +0 -2
- package/types/calendar/src/composition/use-compare.d.ts +0 -2
- package/types/calendar/src/composition/use-date.d.ts +0 -2
- package/types/calendar/src/composition/use-event.d.ts +0 -30
- package/types/calendar/src/composition/use-month.d.ts +0 -2
- package/types/calendar/src/types/calendar.d.ts +0 -13
- package/types/calendar/src/types/common.d.ts +0 -32
- package/types/calendar/src/types/month-view.d.ts +0 -23
- package/types/calendar/src/types/month.d.ts +0 -20
- package/types/calendar/src/types/schedule.d.ts +0 -35
- package/types/capsule/index.d.ts +0 -8
- package/types/capsule/src/capsule.props.d.ts +0 -67
- package/types/checkbox/index.d.ts +0 -24
- package/types/checkbox/src/checkbox-group.component.d.ts +0 -6
- package/types/checkbox/src/checkbox-group.props.d.ts +0 -19
- package/types/checkbox/src/composition/types.d.ts +0 -46
- package/types/checkbox/src/composition/use-checkbox-group.d.ts +0 -19
- package/types/checkbox/src/schema/schema-mapper.d.ts +0 -2
- package/types/color-picker/index.d.ts +0 -22
- package/types/color-picker/src/color-picker.props.d.ts +0 -62
- package/types/color-picker/src/composition/class/base-color.class.d.ts +0 -3
- package/types/color-picker/src/composition/class/cmyk.class.d.ts +0 -21
- package/types/color-picker/src/composition/class/colors-table.class.d.ts +0 -154
- package/types/color-picker/src/composition/class/control.class.d.ts +0 -47
- package/types/color-picker/src/composition/class/helper.functions.d.ts +0 -4
- package/types/color-picker/src/composition/class/hsla.class.d.ts +0 -21
- package/types/color-picker/src/composition/class/hsva.class.d.ts +0 -21
- package/types/color-picker/src/composition/class/rgba.class.d.ts +0 -21
- package/types/color-picker/src/composition/component/alpha.d.ts +0 -34
- package/types/color-picker/src/composition/component/hue.d.ts +0 -40
- package/types/color-picker/src/composition/component/preset.d.ts +0 -43
- package/types/color-picker/src/composition/component/props/alpha.props.d.ts +0 -16
- package/types/color-picker/src/composition/component/props/hue.props.d.ts +0 -19
- package/types/color-picker/src/composition/component/props/preset.props.d.ts +0 -20
- package/types/color-picker/src/composition/component/props/sv-panel.props.d.ts +0 -20
- package/types/color-picker/src/composition/component/sv-panel.d.ts +0 -43
- package/types/combo-list/index.d.ts +0 -25
- package/types/combo-list/src/combo-list.props.d.ts +0 -59
- package/types/combo-list/src/components/list-container.props.d.ts +0 -56
- package/types/combo-list/src/composition/types.d.ts +0 -11
- package/types/combo-list/src/composition/use-data-source.d.ts +0 -3
- package/types/combo-list/src/designer/combo-list.design.component.d.ts +0 -6
- package/types/combo-list/src/schema/schema-mapper.d.ts +0 -2
- package/types/component/index.d.ts +0 -26
- package/types/component/src/component.props.d.ts +0 -4
- package/types/component/src/designer/types.d.ts +0 -10
- package/types/component/src/designer/use-designer-rules.d.ts +0 -2
- package/types/component/src/schema/schema-mapper.d.ts +0 -2
- package/types/condition/index.d.ts +0 -24
- package/types/condition/src/composition/condition-value/checkbox-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +0 -19
- package/types/condition/src/composition/condition-value/date-picker-value.d.ts +0 -25
- package/types/condition/src/composition/condition-value/date-range-value.d.ts +0 -18
- package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/dropdown-value.d.ts +0 -18
- package/types/condition/src/composition/condition-value/input-group-value.d.ts +0 -21
- package/types/condition/src/composition/condition-value/lookup-value.d.ts +0 -21
- package/types/condition/src/composition/condition-value/month-picker-value.d.ts +0 -15
- package/types/condition/src/composition/condition-value/month-range-value.d.ts +0 -18
- package/types/condition/src/composition/condition-value/number-range-value.d.ts +0 -21
- package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/radio-group-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/text-value.d.ts +0 -13
- package/types/condition/src/composition/condition-value/types.d.ts +0 -9
- package/types/condition/src/composition/types.d.ts +0 -41
- package/types/condition/src/composition/use-compare.d.ts +0 -40
- package/types/condition/src/composition/use-condition-value.d.ts +0 -2
- package/types/condition/src/composition/use-condition.d.ts +0 -2
- package/types/condition/src/composition/use-field-config.d.ts +0 -4
- package/types/condition/src/composition/use-selection.d.ts +0 -4
- package/types/condition/src/condition.props.d.ts +0 -58
- package/types/condition/src/types.d.ts +0 -144
- package/types/content-container/index.d.ts +0 -26
- package/types/content-container/src/content-container.props.d.ts +0 -4
- package/types/content-container/src/designer/use-designer-rules.d.ts +0 -3
- package/types/content-container/src/schema/schema-mapper.d.ts +0 -2
- package/types/data-grid/index.d.ts +0 -26
- package/types/data-grid/src/components/data/data-area.component.d.ts +0 -21
- package/types/data-grid/src/components/editors/commands.component.d.ts +0 -18
- package/types/data-grid/src/components/editors/date-picker.component.d.ts +0 -18
- package/types/data-grid/src/components/editors/text-area-editor.component.d.ts +0 -3
- package/types/data-grid/src/components/editors/text-editor.component.d.ts +0 -18
- package/types/data-grid/src/components/filter/boolean-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/column-filter-container.component.d.ts +0 -19
- package/types/data-grid/src/components/filter/date-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/enum-filter-editor.component.d.ts +0 -3
- package/types/data-grid/src/components/filter/list-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/numeric-filter-editor.component.d.ts +0 -2
- package/types/data-grid/src/components/filter/text-filter-editor.component.d.ts +0 -3
- package/types/data-grid/src/components/group-panel/group-panel.component.d.ts +0 -5
- package/types/data-grid/src/components/header/data-grid-header-handler.component.d.ts +0 -21
- package/types/data-grid/src/components/header/data-grid-header.component.d.ts +0 -22
- package/types/data-grid/src/components/pagination/data-grid-pagination.component.d.ts +0 -5
- package/types/data-grid/src/components/scrollbar/horizontal-scrollbar.component.d.ts +0 -21
- package/types/data-grid/src/components/scrollbar/vertical-scrollbar.component.d.ts +0 -21
- package/types/data-grid/src/components/settings/data-grid-settings-icon.component.d.ts +0 -21
- package/types/data-grid/src/components/sidebar/data-grid-sidebar.component.d.ts +0 -21
- package/types/data-grid/src/components/summary/data-grid-summary.component.d.ts +0 -5
- package/types/data-grid/src/composition/types.d.ts +0 -301
- package/types/data-grid/src/composition/use-column-filter.d.ts +0 -3
- package/types/data-grid/src/composition/use-column.d.ts +0 -20
- package/types/data-grid/src/composition/use-command-column.d.ts +0 -3
- package/types/data-grid/src/composition/use-data-view.d.ts +0 -29
- package/types/data-grid/src/composition/use-drag-column.d.ts +0 -4
- package/types/data-grid/src/composition/use-filter-history.d.ts +0 -2
- package/types/data-grid/src/composition/use-group-column.d.ts +0 -22
- package/types/data-grid/src/composition/use-group-data.d.ts +0 -3
- package/types/data-grid/src/composition/use-positon-style.d.ts +0 -20
- package/types/data-grid/src/composition/use-resize.d.ts +0 -20
- package/types/data-grid/src/composition/use-row.d.ts +0 -19
- package/types/data-grid/src/composition/use-selection.d.ts +0 -3
- package/types/data-grid/src/composition/use-sidebar.d.ts +0 -3
- package/types/data-grid/src/composition/use-sort.d.ts +0 -3
- package/types/data-grid/src/composition/use-virtual-scroll.d.ts +0 -20
- package/types/data-grid/src/composition/use-visual-data-bound.d.ts +0 -2
- package/types/data-grid/src/composition/use-visual-data-cell.d.ts +0 -3
- package/types/data-grid/src/composition/use-visual-data-row.d.ts +0 -3
- package/types/data-grid/src/composition/use-visual-data.d.ts +0 -19
- package/types/data-grid/src/composition/use-visual-summary-row.d.ts +0 -3
- package/types/data-grid/src/data-grid.props.d.ts +0 -512
- package/types/data-grid/src/schema/schema-mapper.d.ts +0 -2
- package/types/date-picker/src/components/calendar/calendar.component.d.ts +0 -168
- package/types/date-picker/src/components/calendar/calendar.props.d.ts +0 -94
- package/types/date-picker/src/components/calendar-navbar/calendar-navbar.component.d.ts +0 -140
- package/types/date-picker/src/components/calendar-navbar/calendar-navbar.props.d.ts +0 -81
- package/types/date-picker/src/components/date-picker-container/date-picker-container.component.d.ts +0 -628
- package/types/date-picker/src/components/date-picker-container/date-picker-container.props.d.ts +0 -306
- package/types/date-picker/src/components/month/month.component.d.ts +0 -88
- package/types/date-picker/src/components/month/month.props.d.ts +0 -57
- package/types/date-picker/src/components/year/year.component.d.ts +0 -88
- package/types/date-picker/src/components/year/year.props.d.ts +0 -57
- package/types/date-picker/src/composition/types.d.ts +0 -102
- package/types/date-picker/src/composition/use-calendar.d.ts +0 -2
- package/types/date-picker/src/composition/use-compare.d.ts +0 -2
- package/types/date-picker/src/composition/use-date.d.ts +0 -2
- package/types/date-picker/src/composition/use-disable-date.d.ts +0 -18
- package/types/date-picker/src/composition/use-disable-month.d.ts +0 -2
- package/types/date-picker/src/composition/use-event.d.ts +0 -45
- package/types/date-picker/src/composition/use-mark.d.ts +0 -2
- package/types/date-picker/src/composition/use-month.d.ts +0 -2
- package/types/date-picker/src/composition/use-number.d.ts +0 -2
- package/types/date-picker/src/composition/use-year.d.ts +0 -2
- package/types/date-picker/src/date-picker.component.d.ts +0 -6
- package/types/date-picker/src/date-picker.props.d.ts +0 -19
- package/types/date-picker/src/designer/date-picker.design.component.d.ts +0 -6
- package/types/date-picker/src/schema/schema-mapper.d.ts +0 -2
- package/types/date-picker/src/types/calendar.d.ts +0 -30
- package/types/date-picker/src/types/common.d.ts +0 -42
- package/types/date-picker/src/types/date-model.d.ts +0 -38
- package/types/date-picker/src/types/month.d.ts +0 -48
- package/types/date-picker/src/types/year.d.ts +0 -24
- package/types/designer-canvas/index.d.ts +0 -8
- package/types/designer-canvas/src/components/designer-item.props.d.ts +0 -3
- package/types/designer-canvas/src/components/designer-placeholder.props.d.ts +0 -7
- package/types/designer-canvas/src/components/maps.d.ts +0 -3
- package/types/designer-canvas/src/components/toolbox.props.d.ts +0 -11
- package/types/designer-canvas/src/composition/types.d.ts +0 -27
- package/types/designer-canvas/src/designer-canvas.props.d.ts +0 -3
- package/types/designer-canvas/src/types.d.ts +0 -40
- package/types/discussion-editor/discussion-editor.component.d.ts +0 -121
- package/types/discussion-editor/discussion-editor.props.d.ts +0 -69
- package/types/discussion-editor/index.d.ts +0 -23
- package/types/discussion-editor/src/composition/use-discussion-editor.d.ts +0 -15
- package/types/discussion-editor/src/types/interface.d.ts +0 -22
- package/types/discussion-list/discussion-list.component.d.ts +0 -70
- package/types/discussion-list/discussion-list.props.d.ts +0 -52
- package/types/discussion-list/index.d.ts +0 -23
- package/types/dropdown/index.d.ts +0 -9
- package/types/dropdown/src/composition/function/use-dropdown.d.ts +0 -26
- package/types/dropdown/src/composition/props/dropdown.item.props.d.ts +0 -46
- package/types/dropdown/src/composition/props/dropdown.props.d.ts +0 -99
- package/types/dropdown/src/dropdown.component.d.ts +0 -179
- package/types/dropdown/src/dropdown.item.component.d.ts +0 -76
- package/types/dropdown/src/types.d.ts +0 -46
- package/types/dynamic-form/index.d.ts +0 -14
- package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.props.d.ts +0 -4
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +0 -15
- package/types/dynamic-form/src/composition/types.d.ts +0 -5
- package/types/dynamic-form/src/dynamic-form.props.d.ts +0 -3
- package/types/dynamic-form/src/schema/schema-mapper.d.ts +0 -2
- package/types/dynamic-form/src/types.d.ts +0 -17
- package/types/dynamic-resolver/index.d.ts +0 -3
- package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +0 -6
- package/types/dynamic-resolver/src/props-resolver.d.ts +0 -2
- package/types/dynamic-resolver/src/schema-resolver.d.ts +0 -5
- package/types/dynamic-resolver/src/types.d.ts +0 -1
- package/types/dynamic-view/index.d.ts +0 -8
- package/types/dynamic-view/src/components/maps.d.ts +0 -4
- package/types/dynamic-view/src/dynamic-view.props.d.ts +0 -15
- package/types/filter-bar/index.d.ts +0 -7
- package/types/filter-bar/src/components/ellipsis-button.component.d.ts +0 -3
- package/types/filter-bar/src/components/filter-item.component.d.ts +0 -5
- package/types/filter-bar/src/components/toolbar-component.d.ts +0 -4
- package/types/filter-bar/src/composition/types.d.ts +0 -14
- package/types/filter-bar/src/composition/use-filter-items.d.ts +0 -4
- package/types/filter-bar/src/filter-bar.props.d.ts +0 -53
- package/types/filter-bar/src/types.d.ts +0 -9
- package/types/image-cropper/index.d.ts +0 -23
- package/types/image-cropper/src/composition/type.d.ts +0 -44
- package/types/image-cropper/src/composition/use-check-aspect-ratio.d.ts +0 -2
- package/types/image-cropper/src/composition/use-image-cropper.d.ts +0 -20
- package/types/image-cropper/src/image-cropper.component.d.ts +0 -248
- package/types/image-cropper/src/image-cropper.props.d.ts +0 -153
- package/types/index.d.ts +0 -25
- package/types/input-group/index.d.ts +0 -25
- package/types/input-group/src/components/appended-button.component.d.ts +0 -4
- package/types/input-group/src/components/text-edit.component.d.ts +0 -4
- package/types/input-group/src/composition/types.d.ts +0 -37
- package/types/input-group/src/composition/use-appended-button.d.ts +0 -4
- package/types/input-group/src/composition/use-clear.d.ts +0 -4
- package/types/input-group/src/composition/use-password.d.ts +0 -4
- package/types/input-group/src/composition/use-text-box.d.ts +0 -4
- package/types/input-group/src/input-group.props.d.ts +0 -4
- package/types/input-group/src/schema/schema-mapper.d.ts +0 -2
- package/types/list-nav/index.d.ts +0 -23
- package/types/list-nav/src/list-nav.component.d.ts +0 -61
- package/types/list-nav/src/list-nav.props.d.ts +0 -51
- package/types/list-view/index.d.ts +0 -23
- package/types/list-view/src/components/header/content-header.component.d.ts +0 -6
- package/types/list-view/src/components/header/search-header.component.d.ts +0 -6
- package/types/list-view/src/components/list-view-checkbox.props.d.ts +0 -38
- package/types/list-view/src/composition/types.d.ts +0 -40
- package/types/list-view/src/composition/use-data-view.d.ts +0 -4
- package/types/list-view/src/composition/use-draggable.d.ts +0 -4
- package/types/list-view/src/composition/use-hover.d.ts +0 -2
- package/types/list-view/src/composition/use-item.d.ts +0 -4
- package/types/list-view/src/composition/use-remove.d.ts +0 -4
- package/types/list-view/src/composition/use-search.d.ts +0 -5
- package/types/list-view/src/composition/use-selection.d.ts +0 -4
- package/types/list-view/src/list-view.component.d.ts +0 -203
- package/types/list-view/src/list-view.props.d.ts +0 -113
- package/types/loading/index.d.ts +0 -23
- package/types/loading/src/composition/types.d.ts +0 -19
- package/types/loading/src/loading.component.d.ts +0 -43
- package/types/loading/src/loading.props.d.ts +0 -35
- package/types/loading/src/loading.service.d.ts +0 -4
- package/types/locale/src/lib/locale.service.d.ts +0 -26
- package/types/locale/src/lib/locales/en-us/avatar.d.ts +0 -7
- package/types/locale/src/lib/locales/en-us/batch-edit-dialog.d.ts +0 -15
- package/types/locale/src/lib/locales/en-us/collapse.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/combo.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/datagrid.d.ts +0 -103
- package/types/locale/src/lib/locales/en-us/discussion-group.d.ts +0 -25
- package/types/locale/src/lib/locales/en-us/filter-editor.d.ts +0 -50
- package/types/locale/src/lib/locales/en-us/filter-panel.d.ts +0 -25
- package/types/locale/src/lib/locales/en-us/footer.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/index.d.ts +0 -568
- package/types/locale/src/lib/locales/en-us/language-label.d.ts +0 -8
- package/types/locale/src/lib/locales/en-us/list-filter.d.ts +0 -6
- package/types/locale/src/lib/locales/en-us/list-view.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/loading.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/lookup-config.d.ts +0 -38
- package/types/locale/src/lib/locales/en-us/lookup.d.ts +0 -48
- package/types/locale/src/lib/locales/en-us/messager.d.ts +0 -28
- package/types/locale/src/lib/locales/en-us/multi-select.d.ts +0 -15
- package/types/locale/src/lib/locales/en-us/notify.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/numeric.d.ts +0 -7
- package/types/locale/src/lib/locales/en-us/page-walker.d.ts +0 -6
- package/types/locale/src/lib/locales/en-us/pagination.d.ts +0 -17
- package/types/locale/src/lib/locales/en-us/progress-step.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/query-condition.d.ts +0 -33
- package/types/locale/src/lib/locales/en-us/query-solution.d.ts +0 -41
- package/types/locale/src/lib/locales/en-us/response-toolbar.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/scrollspy.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/section.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/sidebar.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/sort-editor.d.ts +0 -15
- package/types/locale/src/lib/locales/en-us/tabs.d.ts +0 -3
- package/types/locale/src/lib/locales/en-us/tag.d.ts +0 -4
- package/types/locale/src/lib/locales/en-us/text.d.ts +0 -10
- package/types/locale/src/lib/locales/en-us/treetable.d.ts +0 -8
- package/types/locale/src/lib/locales/en-us/verify-detail.d.ts +0 -5
- package/types/locale/src/lib/locales/index.d.ts +0 -1712
- package/types/locale/src/lib/locales/zh-CHT/avatar.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-CHT/batch-edit-dialog.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-CHT/collapse.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/combo.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/datagrid.d.ts +0 -103
- package/types/locale/src/lib/locales/zh-CHT/discussion-group.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-CHT/filter-editor.d.ts +0 -50
- package/types/locale/src/lib/locales/zh-CHT/filter-panel.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-CHT/footer.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/index.d.ts +0 -568
- package/types/locale/src/lib/locales/zh-CHT/language-label.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-CHT/list-filter.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-CHT/list-view.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/loading.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/lookup-config.d.ts +0 -38
- package/types/locale/src/lib/locales/zh-CHT/lookup.d.ts +0 -48
- package/types/locale/src/lib/locales/zh-CHT/messager.d.ts +0 -28
- package/types/locale/src/lib/locales/zh-CHT/multi-select.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-CHT/notify.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/numeric.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-CHT/page-walker.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-CHT/pagination.d.ts +0 -17
- package/types/locale/src/lib/locales/zh-CHT/progress-step.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/query-condition.d.ts +0 -33
- package/types/locale/src/lib/locales/zh-CHT/query-solution.d.ts +0 -41
- package/types/locale/src/lib/locales/zh-CHT/response-toolbar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/scrollspy.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/section.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/sidebar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/sort-editor.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-CHT/tabs.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-CHT/tag.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-CHT/text.d.ts +0 -10
- package/types/locale/src/lib/locales/zh-CHT/treetable.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-CHT/verify-detail.d.ts +0 -5
- package/types/locale/src/lib/locales/zh-cn/avatar.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-cn/batch-edit-dialog.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-cn/collapse.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/combo.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/datagrid.d.ts +0 -105
- package/types/locale/src/lib/locales/zh-cn/discussion-group.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-cn/filter-editor.d.ts +0 -50
- package/types/locale/src/lib/locales/zh-cn/filter-panel.d.ts +0 -25
- package/types/locale/src/lib/locales/zh-cn/footer.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/index.d.ts +0 -574
- package/types/locale/src/lib/locales/zh-cn/language-label.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-cn/list-filter.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-cn/list-view.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/loading.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/lookup-config.d.ts +0 -38
- package/types/locale/src/lib/locales/zh-cn/lookup.d.ts +0 -48
- package/types/locale/src/lib/locales/zh-cn/messager.d.ts +0 -32
- package/types/locale/src/lib/locales/zh-cn/multi-select.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-cn/notify.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/numeric.d.ts +0 -7
- package/types/locale/src/lib/locales/zh-cn/page-walker.d.ts +0 -6
- package/types/locale/src/lib/locales/zh-cn/pagination.d.ts +0 -17
- package/types/locale/src/lib/locales/zh-cn/progress-step.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/query-condition.d.ts +0 -33
- package/types/locale/src/lib/locales/zh-cn/query-solution.d.ts +0 -41
- package/types/locale/src/lib/locales/zh-cn/response-toolbar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/scrollspy.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/section.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/sidebar.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/sort-editor.d.ts +0 -15
- package/types/locale/src/lib/locales/zh-cn/tabs.d.ts +0 -3
- package/types/locale/src/lib/locales/zh-cn/tag.d.ts +0 -4
- package/types/locale/src/lib/locales/zh-cn/text.d.ts +0 -10
- package/types/locale/src/lib/locales/zh-cn/treetable.d.ts +0 -8
- package/types/locale/src/lib/locales/zh-cn/verify-detail.d.ts +0 -5
- package/types/message-box/index.d.ts +0 -24
- package/types/message-box/src/components/footer/footer.component.d.ts +0 -4
- package/types/message-box/src/components/message-content/reactive-content.component.d.ts +0 -3
- package/types/message-box/src/components/message-content/static-content.component.d.ts +0 -3
- package/types/message-box/src/components/message-detail/exception-message.component.d.ts +0 -3
- package/types/message-box/src/components/message-detail/static-message.component.d.ts +0 -2
- package/types/message-box/src/components/reactive-editor/textarea.component.d.ts +0 -3
- package/types/message-box/src/composition/types.d.ts +0 -27
- package/types/message-box/src/composition/use-copy.d.ts +0 -2
- package/types/message-box/src/composition/use-editor.d.ts +0 -4
- package/types/message-box/src/composition/use-feedback.d.ts +0 -2
- package/types/message-box/src/message-box.component.d.ts +0 -70
- package/types/message-box/src/message-box.props.d.ts +0 -54
- package/types/modal/index.d.ts +0 -24
- package/types/modal/src/modal.component.d.ts +0 -106
- package/types/modal/src/modal.props.d.ts +0 -72
- package/types/modal/src/modal.service.d.ts +0 -17
- package/types/nav/index.d.ts +0 -23
- package/types/nav/src/composition/types.d.ts +0 -6
- package/types/nav/src/nav.component.d.ts +0 -87
- package/types/nav/src/nav.props.d.ts +0 -62
- package/types/notify/index.d.ts +0 -26
- package/types/notify/src/components/toast.component.d.ts +0 -23
- package/types/notify/src/components/toast.props.d.ts +0 -27
- package/types/notify/src/notify.component.d.ts +0 -130
- package/types/notify/src/notify.props.d.ts +0 -99
- package/types/notify/src/notify.service.d.ts +0 -4
- package/types/number-range/index.d.ts +0 -24
- package/types/number-range/src/components/spinner.component.d.ts +0 -4
- package/types/number-range/src/components/text-box.component.d.ts +0 -4
- package/types/number-range/src/composition/types.d.ts +0 -54
- package/types/number-range/src/composition/use-format.d.ts +0 -4
- package/types/number-range/src/composition/use-number.d.ts +0 -4
- package/types/number-range/src/composition/use-spinner.d.ts +0 -4
- package/types/number-range/src/composition/use-text-box.d.ts +0 -4
- package/types/number-range/src/number-range.component.d.ts +0 -6
- package/types/number-range/src/number-range.props.d.ts +0 -19
- package/types/number-range/src/schema/schema-mapper.d.ts +0 -2
- package/types/number-spinner/index.d.ts +0 -25
- package/types/number-spinner/src/components/spinner.component.d.ts +0 -4
- package/types/number-spinner/src/components/text-box.component.d.ts +0 -4
- package/types/number-spinner/src/composition/types.d.ts +0 -57
- package/types/number-spinner/src/composition/use-format.d.ts +0 -4
- package/types/number-spinner/src/composition/use-number.d.ts +0 -4
- package/types/number-spinner/src/composition/use-spinner.d.ts +0 -4
- package/types/number-spinner/src/composition/use-text-box.d.ts +0 -4
- package/types/number-spinner/src/designer/number-spinner.component.d.ts +0 -6
- package/types/number-spinner/src/number-spinner.component.d.ts +0 -6
- package/types/number-spinner/src/number-spinner.props.d.ts +0 -19
- package/types/number-spinner/src/schema/schema-mapper.d.ts +0 -2
- package/types/order/index.d.ts +0 -8
- package/types/order/src/order.props.d.ts +0 -44
- package/types/overlay/src/overlay.component.d.ts +0 -28
- package/types/overlay/src/overlay.props.d.ts +0 -29
- package/types/overlay/src/overlay.service.d.ts +0 -16
- package/types/page-footer/index.d.ts +0 -8
- package/types/page-footer/src/page-footer.props.d.ts +0 -40
- package/types/page-header/index.d.ts +0 -10
- package/types/page-header/src/page-header.props.d.ts +0 -4
- package/types/page-header/src/schema/schema-mapper.d.ts +0 -2
- package/types/pagination/index.d.ts +0 -23
- package/types/pagination/src/components/buttons/goto-buttons.component.d.ts +0 -19
- package/types/pagination/src/components/buttons/next-buttons.component.d.ts +0 -20
- package/types/pagination/src/components/buttons/previous-buttons.component.d.ts +0 -20
- package/types/pagination/src/components/pages/page-info.component.d.ts +0 -19
- package/types/pagination/src/components/pages/page-list.component.d.ts +0 -19
- package/types/pagination/src/components/pages/page-number.component.d.ts +0 -20
- package/types/pagination/src/composition/types.d.ts +0 -24
- package/types/pagination/src/composition/use-pages.d.ts +0 -18
- package/types/pagination/src/pagination.components.d.ts +0 -43
- package/types/pagination/src/pagination.props.d.ts +0 -36
- package/types/popover/index.d.ts +0 -24
- package/types/popover/src/composition/types.d.ts +0 -24
- package/types/popover/src/composition/use-host.d.ts +0 -3
- package/types/popover/src/composition/use-popup.d.ts +0 -4
- package/types/popover/src/composition/use-position.d.ts +0 -4
- package/types/popover/src/composition/use-resize.d.ts +0 -4
- package/types/popover/src/popover.component.d.ts +0 -106
- package/types/popover/src/popover.directive.d.ts +0 -5
- package/types/popover/src/popover.props.d.ts +0 -66
- package/types/propress/index.d.ts +0 -8
- package/types/propress/src/progress.props.d.ts +0 -49
- package/types/query-solution/index.d.ts +0 -25
- package/types/query-solution/src/designer/query-solution.design.component.d.ts +0 -6
- package/types/query-solution/src/query-solution.component.d.ts +0 -6
- package/types/query-solution/src/query-solution.d.ts +0 -40
- package/types/query-solution/src/query-solution.props.d.ts +0 -19
- package/types/query-solution/src/schema/preset-resolver.d.ts +0 -5
- package/types/query-solution/src/schema/schema-mapper.d.ts +0 -2
- package/types/radio-group/index.d.ts +0 -24
- package/types/radio-group/src/composition/change-radio.d.ts +0 -19
- package/types/radio-group/src/composition/types.d.ts +0 -42
- package/types/radio-group/src/radio-group.component.d.ts +0 -6
- package/types/radio-group/src/radio-group.props.d.ts +0 -19
- package/types/radio-group/src/schema/schema-mapper.d.ts +0 -2
- package/types/rate/index.d.ts +0 -23
- package/types/rate/src/rate.component.d.ts +0 -124
- package/types/rate/src/rate.props.d.ts +0 -86
- package/types/response-toolbar/index.d.ts +0 -10
- package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +0 -5
- package/types/response-toolbar/src/components/dropdown/toolbar-dropdown.component.d.ts +0 -7
- package/types/response-toolbar/src/composition/types.d.ts +0 -9
- package/types/response-toolbar/src/composition/use-icon.d.ts +0 -2
- package/types/response-toolbar/src/composition/use-toolbar-item.d.ts +0 -2
- package/types/response-toolbar/src/response-toolbar.props.d.ts +0 -26
- package/types/response-toolbar/src/types/response-toolbar-dropdwon-item.d.ts +0 -13
- package/types/response-toolbar/src/types/response-toolbar-group.d.ts +0 -19
- package/types/response-toolbar/src/types/response-toolbar-item-base.d.ts +0 -36
- package/types/response-toolbar/src/types/response-toolbar-item.d.ts +0 -4
- package/types/search-box/index.d.ts +0 -24
- package/types/search-box/src/components/search-box-container.props.d.ts +0 -21
- package/types/search-box/src/schema/schema-mapper.d.ts +0 -2
- package/types/search-box/src/search-box.props.d.ts +0 -4
- package/types/section/index.d.ts +0 -25
- package/types/section/src/schema/schema-mapper.d.ts +0 -2
- package/types/section/src/section.component.d.ts +0 -6
- package/types/section/src/section.props.d.ts +0 -34
- package/types/splitter/index.d.ts +0 -10
- package/types/splitter/src/components/splitter-pane.props.d.ts +0 -5
- package/types/splitter/src/composition/types.d.ts +0 -23
- package/types/splitter/src/composition/use-resize-handle.d.ts +0 -3
- package/types/splitter/src/composition/use-resize-pane.d.ts +0 -3
- package/types/splitter/src/schema/splitter-pane-schema-mapper.d.ts +0 -2
- package/types/splitter/src/schema/splitter-schema-mapper.d.ts +0 -2
- package/types/splitter/src/splitter.props.d.ts +0 -5
- package/types/step/index.d.ts +0 -8
- package/types/step/src/step.props.d.ts +0 -46
- package/types/switch/index.d.ts +0 -24
- package/types/switch/src/schema/schema-mapper.d.ts +0 -2
- package/types/switch/src/switch.component.d.ts +0 -6
- package/types/switch/src/switch.props.d.ts +0 -20
- package/types/tabs/index.d.ts +0 -27
- package/types/tabs/src/components/more-pages-button.component.d.ts +0 -5
- package/types/tabs/src/components/tab-header-dropdown-menu.component.d.ts +0 -5
- package/types/tabs/src/components/tab-header-item.component.d.ts +0 -4
- package/types/tabs/src/components/tab-header.component.d.ts +0 -4
- package/types/tabs/src/components/tab-page.component.d.ts +0 -6
- package/types/tabs/src/components/tab-page.props.d.ts +0 -19
- package/types/tabs/src/composition/types.d.ts +0 -66
- package/types/tabs/src/composition/use-dropdown.d.ts +0 -3
- package/types/tabs/src/composition/use-nav.d.ts +0 -4
- package/types/tabs/src/composition/use-one-page.d.ts +0 -4
- package/types/tabs/src/composition/use-tabs.d.ts +0 -19
- package/types/tabs/src/schema/schema-mapper.d.ts +0 -2
- package/types/tabs/src/tabs.props.d.ts +0 -22
- package/types/tags/index.d.ts +0 -8
- package/types/tags/src/composition/types.d.ts +0 -13
- package/types/tags/src/composition/use-draggable.d.ts +0 -4
- package/types/tags/src/tags.props.d.ts +0 -92
- package/types/text/index.d.ts +0 -23
- package/types/text/src/text.component.d.ts +0 -16
- package/types/text/src/text.props.d.ts +0 -26
- package/types/time-picker/index.d.ts +0 -11
- package/types/time-picker/src/components/time-holder.d.ts +0 -82
- package/types/time-picker/src/components/time.props.d.ts +0 -48
- package/types/time-picker/src/components/utils/check.d.ts +0 -1
- package/types/time-picker/src/schema/schema-mapper.d.ts +0 -2
- package/types/time-picker/src/time-picker.props.d.ts +0 -4
- package/types/tooltip/index.d.ts +0 -24
- package/types/tooltip/src/composition/types.d.ts +0 -45
- package/types/tooltip/src/composition/use-adjust-placement.d.ts +0 -20
- package/types/tooltip/src/composition/use-adjust-position.d.ts +0 -21
- package/types/tooltip/src/composition/use-calculate-position.d.ts +0 -21
- package/types/tooltip/src/composition/use-relative.d.ts +0 -19
- package/types/tooltip/src/composition/use-tooltip-position.d.ts +0 -22
- package/types/tooltip/src/tooltip.component.d.ts +0 -58
- package/types/tooltip/src/tooltip.directive.d.ts +0 -5
- package/types/tooltip/src/tooltip.props.d.ts +0 -45
- package/types/transfer/index.d.ts +0 -8
- package/types/transfer/src/transfer.props.d.ts +0 -71
- package/types/tree-view/index.d.ts +0 -8
- package/types/tree-view/src/components/data/control-tree-view.component.d.ts +0 -108
- package/types/tree-view/src/components/data/tree-area.component.d.ts +0 -8
- package/types/tree-view/src/composition/types.d.ts +0 -97
- package/types/tree-view/src/composition/use-auto-check-children-and-cascade.d.ts +0 -4
- package/types/tree-view/src/composition/use-tree-data-view.d.ts +0 -21
- package/types/tree-view/src/composition/use-tree-node-icon.d.ts +0 -4
- package/types/tree-view/src/composition/use-tree-node-lines.d.ts +0 -3
- package/types/tree-view/src/composition/use-visual-tree-node.d.ts +0 -9
- package/types/tree-view/src/control-tree-view.props.d.ts +0 -58
- package/types/tree-view/src/tree-view.component.d.ts +0 -97
- package/types/tree-view/src/tree-view.props.d.ts +0 -54
- package/types/uploader/index.d.ts +0 -25
- package/types/uploader/src/components/sub-component.props.d.ts +0 -63
- package/types/uploader/src/components/upload-progress.component.d.ts +0 -41
- package/types/uploader/src/composition/type.d.ts +0 -135
- package/types/uploader/src/service/get-service.d.ts +0 -2
- package/types/uploader/src/uploader.props.d.ts +0 -156
- package/types/verify-detail/index.d.ts +0 -23
- package/types/verify-detail/src/verify-detail.component.d.ts +0 -70
- package/types/verify-detail/src/verify-detail.props.d.ts +0 -36
- package/uploader/index.esm.js +0 -1972
- package/uploader/index.umd.js +0 -17
- package/uploader/package.json +0 -8
- package/uploader/style.css +0 -1
- package/verify-detail/index.esm.js +0 -187
- package/verify-detail/index.umd.js +0 -1
- package/verify-detail/package.json +0 -8
- package/verify-detail/style.css +0 -1
package/calendar/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(D,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(D=typeof globalThis<"u"?globalThis:D||self,e(D.calendar={},D.Vue))})(this,function(D,e){"use strict";const z={events:{Type:Array,default:[]},firstDayOfTheWeek:{type:String,default:"Sun."}},O=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var I=(t=>(t[t.previous=1]="previous",t[t.current=2]="current",t[t.next=3]="next",t))(I||{});function F(){function t(){return{year:0,month:0,day:0}}function w(r){return new Date(r.year||0,r.month?r.month-1:0,r.day||0,r.hour?r.hour:0,r.minute?r.minute:0,r.second?r.second:0,0)}function u(r){const p=new Date;return r.year||(r.year=p.getFullYear()),r.month||(r.month=p.getMonth()+1),r.day||(r.day=1),new Date(r.year,r.month-1,r.day,r.hour?r.hour:0,r.minute?r.minute:0,r.second?r.second:0,0)}function T(r){return new Date(r.year||1,(r.month||1)-1,r.day,r.hour?r.hour:0,r.minute?r.minute:0,r.second?r.second:0,0).getDay()}function k(r){return O.indexOf(r)}function d(r){return w(r).getTime()}function m(r){return Math.round(d(r)/1e3)}function c(r,p,C){const b=d(p),l=d(C),f=d(r);return l-f>f-b?p:C}function v(){const r=new Date;return{year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate(),hour:r.getHours(),minute:r.getMinutes(),second:r.getSeconds()}}return{emptyDate:t,getDate:w,getDate2:u,getDayNumber:T,getEpocTime:m,getNearDate:c,getWeekdayIndex:k,getTimeInMilliseconds:d,getToday:v}}function X(){function t(d,m){return new Date(m,d,0).getDate()}function w(d,m,c){return new Date(d,m-1,c,0,0,0,0)}function u(d,m){const c=w(m,d,1);return c.setMonth(c.getMonth()-1),t(c.getMonth()+1,c.getFullYear())}function T(d,m){const c={year:d===12?m+1:m},v=d===12?1:d+1;return c.month=v,c}function k(d,m){const c={year:d===1?m-1:m},v=d===1?12:d-1;return c.month=v,c}return{daysInMonth:t,daysInPreMonth:u,getNextMonth:T,getPreviousMonth:k}}function Z(){const{getToday:t,getDayNumber:w}=F(),{daysInMonth:u,daysInPreMonth:T,getNextMonth:k,getPreviousMonth:d}=X();function m(i){const h=O.indexOf(i);return h>0?7-h:0}function c(i){const{day:h,month:o,year:a}=i;if(h===void 0||o===void 0||a===void 0)throw new Error("invalided date.");const n=h===1,s=n?T(o,a):h-1,y=n?o-1:o,V=y<1,g=V?12:y;return{year:V?a-1:a,month:g,day:s}}function v(i){const{day:h,month:o,year:a}=i;if(h===void 0||o===void 0||a===void 0)throw new Error("invalided date.");const n=u(o,a),s=h===n,y=s?1:h+1,V=s?o+1:o,g=V>12,M=g?1:V;return{year:g?a+1:a,month:M,day:y}}function r(i){const h=d(i.month||1,i.year||1),o=u(h.month||1,h.year||1);return{day:(i.day||1)<=o?i.day:o,month:h.month,year:h.year}}function p(i){const h=k(i.month||1,i.year||1),o=u(h.month||1,h.year||1);return{day:(i.day||1)<=o?i.day:o,month:h.month,year:h.year}}function C(i){const o=(i.day||1)-7,a=o<1,n=a?u(i.month||1,i.year||1)+o:o,s=a?d(i.month||1,i.year||1):i;return{day:n,month:s.month,year:s.year}}function b(i){const o=(i.day||1)+7,a=u(i.month||1,i.year||1),n=o>a,s=n?o-a:o,y=n?k(i.month||1,i.year||1):i;return{day:s,month:y.month,year:y.year}}function l(i,h,o,a){const n={day:i,month:h,year:o},y=m(a)===0?1:0,V=w(n)+y,g=t();let M=c(n);const W=[];for(let x=V-1;x>=1;x--){const A=M.month!==n.month?I.previous:I.current,_=M.month===h&&M.day===g.day&&M.month===g.month&&M.year===g.year;W.push({date:M,monthTag:A,isCurrent:_}),x>1&&(M=c(M))}let P=v(n);const S=[];for(let x=V+1;x<=7;x++){const A=M.month!==n.month?I.next:I.current,_=P.day===g.day&&P.month===g.month&&P.year===g.year;S.push({date:P,monthTag:A,isCurrent:_}),x<7&&(P=v(P))}const E=i===g.day&&h===g.month&&o===g.year;return{days:[...W.reverse(),{date:n,monthTag:I.current,isCurrent:E},...S],weekNumber:0,year:o}}function f(i,h,o){const a=[],n=u(i,h);for(let s=1;s<=n;s+=7){const y=l(s,i,h,o);a.push(y)}return a}return{getMonthlyCalendar:f,getWeeklyCalendar:l,getPreviousDay:c,getNextDay:v,getDayInPreviousWeek:C,getDayInNextWeek:b,getDayInPreviousMonth:r,getDayInNextMonth:p}}function j(){const{getTimeInMilliseconds:t}=F();function w(l){return l&&l.year!==0&&l.month!==0&&l.day!==0}function u(l){return l&&l.year!==0&&l.month!==0}function T(l){return l&&l.year!==0}function k(l,f){return t(l)<t(f)}function d(l,f){return t(l)<=t(f)}function m(l,f){return t(l)===t(f)}function c(l,f){const i=t(f);return t(l.from)===i||t(l.to)===i}function v(l,f){return!f||!w(f.to)||!w(f.from)?!1:d(f.from,l)&&d(l,f.to)}function r(l,f){return w(f)&&t(l)>=t(f)}function p(l,f){return w(f)&&t(l)<=t(f)}function C(l,f){return t({year:l.year,month:l.month,day:l.day})===t({year:f.year,month:f.month,day:f.day})}function b(l,f){return t({hour:l.hour,minute:l.minute,second:l.second})===t({hour:f.hour,minute:f.minute,second:f.second})}return{isDateEarlier:k,equal:m,inPeriod:v,isPoint:c,equalOrEarlier:d,isInitializedDate:w,isInitializedMonth:u,isInitializedYear:T,isMonthDisabledByDisableSince:r,isMonthDisabledByDisableUntil:p,sameTime:b,sameDay:C}}const $={1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},H=e.defineComponent({name:"FCalendar",props:z,emits:[],setup(t,w){const{sameDay:u}=j(),{getToday:T}=F(),k=e.ref(t.firstDayOfTheWeek),d=e.ref(t.events),m=T(),c=e.ref({year:m.year||1,month:m.month||1,day:m.day||1}),v=e.ref(3),{getMonthlyCalendar:r,getWeeklyCalendar:p,getPreviousDay:C,getNextDay:b,getDayInPreviousWeek:l,getDayInNextWeek:f,getDayInPreviousMonth:i,getDayInNextMonth:h}=Z(),o=e.computed(()=>`${$[c.value.month||1]} ${c.value.year}`),a=e.computed(()=>r(c.value.month||1,c.value.year||1,k.value)),n=e.computed(()=>p(c.value.day||1,c.value.month||1,c.value.year||1,k.value)),s=e.computed(()=>n.value.days.find(N=>u(N.date,c.value))||n.value.days[1]),y=e.computed(()=>{const N=n.value.days.findIndex(A=>u(A.date,c.value)),x=N>-1?N:1;return O[x]}),V=e.computed(()=>v.value===3),g=e.computed(()=>v.value===2),M=e.computed(()=>v.value===1);function W(N){v.value=N}function P(N){N===1&&(c.value=C(c.value)),N===2&&(c.value=l(c.value)),N===3&&(c.value=i(c.value))}function S(N){N===1&&(c.value=b(c.value)),N===2&&(c.value=f(c.value)),N===3&&(c.value=h(c.value))}function E(){c.value={year:m.year||1,month:m.month||1,day:m.day||1}}return()=>e.createVNode("div",{class:"f-calendar"},[e.createVNode(e.resolveComponent("f-calendar-header"),{activeView:v.value,title:o.value,onViewChange:N=>W(N),onPrevious:N=>P(N),onNext:N=>S(N),onResetToToday:()=>E()},null),e.createVNode("div",null,[M.value&&e.createVNode(e.resolveComponent("f-calendar-day-view"),{day:s.value,dayInWeek:y.value,events:d.value},null),g.value&&e.createVNode(e.resolveComponent("f-calendar-week-view"),{week:n.value,events:d.value},null),V.value&&e.createVNode(e.resolveComponent("f-calendar-month-view"),{activeDay:c.value,dates:a.value,events:d.value},null)])])}}),J={activeView:{Type:Number,default:3},title:{Type:String,default:""},dailyViewTitle:{Type:String,default:"Day"},weeklyViewTitle:{Type:String,default:"Week"},monthlyViewTitle:{Type:String,default:"Month"}},te="",G=e.defineComponent({name:"FCalendarHeader",props:J,emits:["ViewChange","Previous","Next","ResetToToday"],setup(t,w){const u=e.ref(t.title),T=e.ref(t.dailyViewTitle),k=e.ref(t.weeklyViewTitle),d=e.ref(t.monthlyViewTitle),m=2,c=62,v=e.ref(t.activeView),r=e.ref("Today");e.watch(()=>t.title,()=>{u.value=t.title});const p=e.computed(()=>({top:`${m}px`,left:`${v.value*(m+1)+(v.value-1)*(c+1)}px`})),C=e.computed(()=>v.value===1?T.value:v.value===2?k.value:d.value);function b(){v.value=1,w.emit("ViewChange",1)}function l(){v.value=2,w.emit("ViewChange",2)}function f(){v.value=3,w.emit("ViewChange",3)}function i(){w.emit("Previous",v.value)}function h(){w.emit("Next",v.value)}function o(){w.emit("ResetToToday")}return()=>e.createVNode("div",{class:"f-calendar-header"},[e.createVNode("div",{class:"f-calendar-title"},[u.value]),e.createVNode("div",{class:"f-calendar-navigator"},[e.createVNode("div",{class:"f-calendar-navigator-today btn btn-default",onClick:()=>o()},[r.value]),e.createVNode("div",{class:"f-calendar-navigator-button-group"},[e.createVNode("div",{class:"f-calendar-navigator-previous btn btn-default",onClick:()=>i()},[e.createVNode("i",{class:"k-icon k-i-arrow-chevron-left"},null)]),e.createVNode("div",{class:"f-calendar-navigator-next btn btn-default",onClick:()=>h()},[e.createVNode("i",{class:"k-icon k-i-arrow-chevron-right"},null)])])]),e.createVNode("div",{class:"f-calendar-view-switch"},[e.createVNode("div",{class:"f-calendar-view-switch-panel"},[e.createVNode("span",{class:"f-calendar-view-switch-daily",onClick:a=>b()},[T.value]),e.createVNode("span",{class:"f-calendar-view-switch-weekly",onClick:a=>l()},[k.value]),e.createVNode("span",{class:"f-calendar-view-switch-monthly",onClick:a=>f()},[d.value])]),e.createVNode("div",{class:"f-calendar-view-switch-active-view",style:p.value},[C.value])])])}}),L={day:{Type:Object,default:{}},dayInWeek:{Type:String,default:""},enableMarkCurrent:{Type:Boolean,default:!0},events:{Type:Array,default:[]}},ne="",R=e.defineComponent({name:"FCalendarDayView",props:L,emits:[],setup(t,w){const u=e.ref(),T=e.ref(),k=e.ref(t.dayInWeek),d=e.ref(t.day),m=e.ref(t.enableMarkCurrent),c=e.ref(t.events),v=e.ref([]),{equal:r}=j();function p(n){const s={year:d.value.date.year,month:d.value.date.month,day:d.value.date.day,hour:n.hour,minute:n.minute,second:n.second},y=c.value.filter(V=>r(V.starts,s));return[{day:s,events:y}]}function C(){const n=[];for(let s=0;s<24;s++){const y={hour:s,minute:0,second:0},V={hour:s,minute:30,second:0},g=p(y),M=p(V);n.push({time:y,events:g,title:s>0?`${s}:00`:"",part:"upper"}),n.push({time:V,events:M,title:`${s}:30`,part:"lower"})}v.value=n}C(),e.watch(()=>t.day,()=>{d.value=t.day,C()}),e.watch(()=>t.events,()=>{c.value=t.events,C()});const b=n=>({"f-calendar-day-view-date":!0,"f-calendar-day-view-current":n.isCurrent&&m.value});function l(){return e.createVNode("div",{class:"f-calendar-day-view-header"},[e.createVNode("div",{class:"f-calendar-day-view-header-corner"},null),e.createVNode("div",{class:"f-calendar-day-view-header-primary"},[e.createVNode("div",{class:"f-calendar-day-view-header-columns"},[e.createVNode("div",{class:"f-calendar-day-view-header-cell"},[e.createVNode("div",{class:b(d.value)},[d.value.date.day]),e.createVNode("span",null,[k.value])])])])])}function f(){return e.createVNode("div",{class:"f-calendar-day-view-content-side"},[e.createVNode("div",{class:"f-calendar-side"},[v.value.map(n=>e.createVNode("div",{class:"f-calendar-side-row"},[e.createVNode("div",{class:"f-calendar-side-row-number"},[n.part==="upper"?n.title:""])]))])])}function i(n){return{"f-calendar-day-view-item":!0,"f-calendar-day-view-item-upper":n.part==="upper","f-calendar-day-view-item-lower":n.part==="lower"}}function h(n){const W=(n.starts.hour||0)+(n.starts.minute||0)/60;return{height:`${44*((n.ends.hour||0)+(n.ends.minute||0)/60-W)-2-2-1-1}px`}}function o(){return v.value.map(n=>e.createVNode("div",{class:i(n)},[n.events.map(s=>e.createVNode("div",{class:"f-calendar-day-view-item-cell"},[s.events.length>0&&s.events.map(y=>e.createVNode("div",{class:"f-calendar-event",style:h(y)},[y.title]))]))]))}function a(){return e.createVNode("div",{ref:T,class:"f-calendar-content-primary"},[e.createVNode("div",{class:"f-calendar-content-data"},[o()])])}return e.onMounted(()=>{u.value&&u.value.scrollTo(0,250)}),()=>e.createVNode("div",{class:"f-calendar-day-view"},[l(),e.createVNode("div",{class:"f-calendar-day-view-content",ref:u},[f(),a()])])}}),U={dates:{Type:Array,default:[]},daysInWeek:{Type:Array,default:O},enableKeyboadNavigate:{Type:Boolean,default:!0},enableMarkCurrent:{Type:Boolean,default:!0},events:{Type:Array,default:[]},activeDay:{Type:Object,default:null}};var B=(t=>(t[t.enter=13]="enter",t[t.esc=27]="esc",t[t.space=32]="space",t[t.leftArrow=37]="leftArrow",t[t.upArrow=38]="upArrow",t[t.rightArrow=39]="rightArrow",t[t.downArrow=40]="downArrow",t[t.tab=9]="tab",t[t.shift=16]="shift",t))(B||{});function K(){function t(w){const u=w.key||w.keyCode;return u==="Enter"||u===13?13:u==="Escape"||u===27?27:u===" "||u===32?32:u==="ArrowLeft"||u===37?37:u==="ArrowUp"||u===38?38:u==="ArrowRight"||u===39?39:u==="ArrowDown"||u===40?40:u==="Tab"||u===9?9:u==="Shift"||u===16?16:-1}return{getKeyCodeFromEvent:t}}const ae="",q=e.defineComponent({name:"FCalendarMonthView",props:U,emits:[],setup(t,w){const u=e.ref(t.daysInWeek),T=e.ref(t.enableKeyboadNavigate),k=e.ref(t.enableMarkCurrent),d=e.ref(t.activeDay),m=e.ref(t.events),{equal:c,sameDay:v}=j(),{getKeyCodeFromEvent:r}=K();function p(o,a){return o.forEach(n=>{n.days.forEach(s=>{const y=a.filter(V=>v(V.starts,s.date));y&&y.length&&(s.events=[...y])})}),o}const C=e.ref(p(t.dates,m.value));e.watch(()=>t.dates,()=>{C.value=p(t.dates,m.value)}),e.watch(()=>t.activeDay,()=>{d.value=t.activeDay}),e.watch(()=>t.events,()=>{m.value=t.events});function b(o){return!!d.value&&c({year:d.value.year,month:d.value.month,day:d.value.day},o)}const l=(o,a,n)=>{const y={"f-datepicker-no-currmonth":o.monthTag===I.previous||o.monthTag===I.next},V=`d_${a}_${n}`;return y[V]=!0,y},f=o=>{const a=o.monthTag===I.current&&b(o.date),n=o.isCurrent&&k.value;return{"f-calendar-month-view-date":!0,"f-calendar-month-view-selected":a,"f-calendar-month-view-current":n}};function i(o,a){o.stopPropagation(),w.emit("click",a.date)}function h(o,a){const n=r(o);n!==B.tab&&(o.preventDefault(),n===B.enter||n===B.space?i(o,a):T.value&&w.emit("keyDown",a.date))}return()=>e.createVNode("div",{class:"f-calendar-month-view"},[e.createVNode("table",{class:"f-datepicker-table",cellpadding:"0"},[e.createVNode("thead",null,[e.createVNode("tr",null,[u.value&&u.value.map(o=>e.createVNode("th",{scope:"col",style:"padding: 4px 4px 8px"},[o]))])]),e.createVNode("tbody",null,[C.value&&C.value.map((o,a)=>e.createVNode("tr",null,[o.days&&o.days.map((n,s)=>e.createVNode("td",{id:`d_${a}_${s}`,tabindex:"0",class:l(n,a,s),onClick:y=>i(y,n),onKeydown:y=>h(y,n)},[e.createVNode("div",{class:"f-calendar-month-view-title"},[e.createVNode("div",{class:f(n)},[n.date.day]),e.createVNode("div",{class:"f-calendar-month-view-date-month"},[n.date.day===1?$[n.date.month||1]:""])]),n.events&&n.events.length&&n.events.map(y=>e.createVNode("div",{class:"f-calendar-month-view-event-item"},[y.title]))]))]))])])])}}),Q={daysInWeek:{Type:Array,default:O},enableMarkCurrent:{Type:Boolean,default:!0},events:{Type:Array,default:[]},week:{Type:Object,default:{days:[],weekNumber:0,year:0}}},re="",Y=e.defineComponent({name:"FCalendarWeekView",props:Q,emits:[],setup(t){const w=e.ref(),u=e.ref(),T=e.ref(t.daysInWeek),k=e.ref(t.week),d=e.ref(t.enableMarkCurrent),m=e.ref(t.events),c=e.ref([]),{equal:v}=j();function r(a){return k.value.days.map(s=>{const y={year:s.date.year,month:s.date.month,day:s.date.day,hour:a.hour,minute:a.minute,second:a.second},V=m.value.filter(g=>v(g.starts,y));return{day:y,events:V}})}function p(){const a=[];for(let n=0;n<24;n++){const s={hour:n,minute:0,second:0},y={hour:n,minute:30,second:0},V=r(s),g=r(y);a.push({time:s,events:V,title:n>0?`${n}:00`:"",part:"upper"}),a.push({time:y,events:g,title:`${n}:30`,part:"lower"})}c.value=a}p(),e.watch(()=>t.week,()=>{k.value=t.week,p()}),e.watch(()=>t.events,()=>{m.value=t.events,p()});const C=a=>({"f-calendar-week-view-date":!0,"f-calendar-week-view-current":a.isCurrent&&d.value});function b(){return e.createVNode("div",{class:"f-calendar-week-view-header"},[e.createVNode("div",{class:"f-calendar-week-view-header-corner"},null),e.createVNode("div",{class:"f-calendar-week-view-header-primary"},[e.createVNode("div",{class:"f-calendar-week-view-header-columns"},[T.value.map((a,n)=>e.createVNode("div",{class:"f-calendar-week-view-header-cell"},[e.createVNode("div",{class:C(k.value.days[n])},[k.value.days[n].date.day]),e.createVNode("span",null,[a])]))])])])}function l(){return e.createVNode("div",{class:"f-calendar-week-view-content-side"},[e.createVNode("div",{class:"f-calendar-side"},[c.value.map(a=>e.createVNode("div",{class:"f-calendar-side-row"},[e.createVNode("div",{class:"f-calendar-side-row-number"},[a.part==="upper"?a.title:""])]))])])}function f(a){return{"f-calendar-week-view-item":!0,"f-calendar-week-view-item-upper":a.part==="upper","f-calendar-week-view-item-lower":a.part==="lower"}}function i(a){const M=(a.starts.hour||0)+(a.starts.minute||0)/60;return{height:`${44*((a.ends.hour||0)+(a.ends.minute||0)/60-M)-2-2-1-1}px`}}function h(){return c.value.map(a=>e.createVNode("div",{class:f(a)},[a.events.map(n=>e.createVNode("div",{class:"f-calendar-week-view-item-cell"},[n.events.length>0&&n.events.map(s=>e.createVNode("div",{class:"f-calendar-event",style:i(s)},[s.title]))]))]))}function o(){return e.createVNode("div",{ref:u,class:"f-calendar-content-primary"},[e.createVNode("div",{class:"f-calendar-content-data"},[h()])])}return e.onMounted(()=>{w.value&&w.value.scrollTo(0,250)}),()=>e.createVNode("div",{class:"f-calendar-week-view"},[b(),e.createVNode("div",{class:"f-calendar-week-view-content",ref:w},[l(),o()])])}}),ee={install(t){t.component(H.name,H).component(R.name,R).component(G.name,G).component(q.name,q).component(Y.name,Y)}};D.Calendar=H,D.CalendarDayView=R,D.CalendarHeader=G,D.CalendarMonthView=q,D.CalendarWeekView=Y,D.MonthTag=I,D.calendarProps=z,D.dayViewProps=L,D.default=ee,D.defaultNameOfMonths=$,D.headerProps=J,D.monthViewProps=U,D.weekDays=O,D.weekViewProps=Q,Object.defineProperties(D,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/calendar/package.json
DELETED
package/calendar/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.f-calendar-header{display:flex;background-color:#fff}.f-calendar-header>.f-calendar-title{font-weight:600;font-size:24px;line-height:32px;margin:14px 0;padding:0 14px;border-right:1px solid #e9e9e9;width:144px}.f-calendar-header>.f-calendar-navigator{flex:1}.f-calendar-header .f-calendar-view-switch{margin:16px 14px;position:relative}.f-calendar-header .f-calendar-view-switch-panel{background-color:#eff5ff;width:200px;height:28px;border-radius:28px;display:flex;font-weight:500}.f-calendar-header .f-calendar-view-switch-panel>span{flex:1;line-height:28px;text-align:center}.f-calendar-header .f-calendar-view-switch>.f-calendar-view-switch-active-view{height:24px;width:62px;position:absolute;background:rgba(255,255,255);box-shadow:0 4px 18px #024bc133;border-radius:24px;line-height:24px;text-align:center;color:#0091da;font-weight:500;transition:.3s ease-out all}.f-calendar-header>.f-calendar-navigator{display:flex}.f-calendar-header>.f-calendar-navigator>.f-calendar-navigator-today{background:#ffffff;border:1px solid rgba(232,235,242,1);box-shadow:0 2px 6px #1f23290f;border-radius:6px;font-size:13px;color:#2d2f33;font-weight:400;margin:auto 6px auto 14px}.f-calendar-header>.f-calendar-navigator>.f-calendar-navigator-button-group{box-shadow:0 2px 6px #1f23290f;border-radius:6px;font-size:13px;color:#2d2f33;font-weight:400;margin:auto 14px auto 0}.f-calendar-header>.f-calendar-navigator>.f-calendar-navigator-button-group>.f-calendar-navigator-previous{background:#ffffff;border:1px solid rgba(232,235,242,1);border-right-color:transparent;border-radius:6px 0 0 6px;padding:.1875rem .375rem}.f-calendar-header>.f-calendar-navigator>.f-calendar-navigator-button-group>.f-calendar-navigator-next{background:#ffffff;border:1px solid rgba(232,235,242,1);border-radius:0 6px 6px 0;padding:.1875rem .375rem}.f-calendar-day-view{background-color:#fff;display:flex;flex-direction:column;min-width:860px;height:530px}.f-calendar-day-view-header{display:flex;border-bottom:1px solid #e9e9e9}.f-calendar-day-view-header-corner{width:44px;height:24px}.f-calendar-day-view-header-primary{flex:1}.f-calendar-day-view-header-columns{display:flex}.f-calendar-day-view-header-cell{display:flex;flex:1;padding:4px 4px 8px;font-size:14px;color:#000000bf;line-height:22px;font-weight:500}.f-calendar-day-view-header-cell .f-calendar-day-view-date{border-radius:20px;width:24px;height:24px;text-align:center;margin-right:4px}.f-calendar-day-view-header-cell .f-calendar-day-view-current{background:#0093f5;color:#fff}.f-calendar-day-view-content{display:flex;flex:1;overflow-y:scroll}.f-calendar-day-view-content-side{width:44px}.f-calendar-day-view-item{height:22px;display:flex;border-top:1px solid transparent;border-bottom:1px solid #e9e9e9}.f-calendar-day-view-item:first-child,.f-calendar-day-view-item-upper:first-child{border-top:1px solid transparent}.f-calendar-day-view-item-upper{border-top:1px solid transparent;border-bottom:1px solid transparent}.f-calendar-day-view-item-lower{border-top:1px solid transparent;border-bottom:1px solid #e9e9e9}.f-calendar-day-view-item-cell{flex:1;height:22px;border-left:1px solid transparent;border-right:1px solid #e9e9e9}.f-calendar-day-view-item-cell:first-child{border-left:1px solid #e9e9e9;border-right:1px solid #e9e9e9}.f-calendar-day-view-item-cell:last-child{border-left:1px solid transparent;border-right:1px solid transparent}.f-calendar-month-view{min-width:860px;display:flex}.f-calendar-month-view table{display:table!important;margin:initial!important;flex:1;table-layout:fixed;width:fit-content}.f-calendar-month-view tr{border-top:initial!important;transition:initial!important}.f-calendar-month-view th{border:initial!important;background-color:initial!important;font-size:14px!important;color:#000000bf;line-height:22px;font-weight:500!important}.f-calendar-month-view{background-color:#fff}.f-calendar-month-view td{border:1px solid #e9e9e9!important;padding:4px!important;height:100px;vertical-align:baseline}.f-calendar-month-view .f-calendar-month-view-title{display:flex}.f-calendar-month-view .f-calendar-month-view-title>.f-calendar-month-view-date{border-radius:20px;width:24px;height:24px;line-height:24px;text-align:center;font-size:14px}.f-calendar-month-view .f-calendar-month-view-title>.f-calendar-month-view-date-month{flex:1;border-radius:20px;width:24px;height:24px;line-height:24px;text-align:right;font-size:14px}.f-calendar-month-view .f-calendar-month-view-current{background:#0093f5;color:#fff}.f-calendar-month-view .f-calendar-month-view-event-item{background-color:#ebf3ff;font-size:12px;color:#0e6ded;line-height:18px;margin:2px 0;padding:2px 4px}.f-calendar-week-view{background-color:#fff;display:flex;flex-direction:column;min-width:860px;height:530px}.f-calendar-week-view-header{display:flex;border-bottom:1px solid #e9e9e9}.f-calendar-week-view-header-corner{width:44px;height:24px}.f-calendar-week-view-header-primary{flex:1}.f-calendar-week-view-header-columns{display:flex}.f-calendar-week-view-header-cell{flex:1;padding:4px 4px 8px;display:flex;font-size:14px;color:#000000bf;line-height:22px;font-weight:500}.f-calendar-week-view-header-cell .f-calendar-week-view-date{border-radius:20px;width:24px;height:24px;text-align:center;margin-right:4px}.f-calendar-week-view-header-cell .f-calendar-week-view-current{background:#0093f5;color:#fff}.f-calendar-week-view-content{display:flex;flex:1;overflow-y:scroll}.f-calendar-week-view-content-side{width:44px}.f-calendar-content-primary{flex:1}.f-calendar-side{margin-top:-11px}.f-calendar-side-row{height:22px;padding-right:4px;text-align:end}.f-calendar-side-row-number{height:22px;line-height:22px}.f-calendar-week-view-item{height:22px;display:flex;border-top:1px solid transparent;border-bottom:1px solid #e9e9e9}.f-calendar-week-view-item:first-child{border-top:1px solid #e9e9e9}.f-calendar-week-view-item-upper:first-child{border-top:1px solid transparent}.f-calendar-week-view-item-upper{border-top:1px solid transparent;border-bottom:1px solid transparent}.f-calendar-week-view-item-lower{border-top:1px solid transparent;border-bottom:1px solid #e9e9e9}.f-calendar-week-view-item-cell{flex:1;height:22px;border-left:1px solid transparent;border-right:1px solid #e9e9e9}.f-calendar-week-view-item-cell:first-child{border-left:1px solid #e9e9e9;border-right:1px solid #e9e9e9}.f-calendar-week-view-item-cell:last-child{border-left:1px solid transparent;border-right:1px solid transparent}.f-calendar-event{background:#ebf3ff;border-radius:2px;margin:2px;font-size:12px;color:#0e6ded;padding:2px 4px}
|
package/capsule/index.esm.js
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { defineComponent as O, ref as n, watch as y, computed as v, onMounted as S, createVNode as o, nextTick as h } from "vue";
|
|
2
|
-
const N = {
|
|
3
|
-
items: { Type: Array, default: [] },
|
|
4
|
-
/**
|
|
5
|
-
* 组件值
|
|
6
|
-
*/
|
|
7
|
-
modelValue: { type: String, default: "" },
|
|
8
|
-
type: { type: String, default: "primary" }
|
|
9
|
-
}, T = {
|
|
10
|
-
name: { type: String, default: "" },
|
|
11
|
-
value: { type: String, default: "" },
|
|
12
|
-
isActive: { type: Boolean, default: !1 },
|
|
13
|
-
icon: { type: String, default: "" },
|
|
14
|
-
index: { type: Number, default: 0 }
|
|
15
|
-
};
|
|
16
|
-
const W = /* @__PURE__ */ O({
|
|
17
|
-
name: "FCapsuleItem",
|
|
18
|
-
props: T,
|
|
19
|
-
emits: ["mounted", "active"],
|
|
20
|
-
setup(a, r) {
|
|
21
|
-
const c = n(), i = n(a.isActive);
|
|
22
|
-
y(() => a.isActive, (u) => {
|
|
23
|
-
i.value = u;
|
|
24
|
-
});
|
|
25
|
-
const m = v(() => ({
|
|
26
|
-
"f-capsule-item": !0,
|
|
27
|
-
"f-capsule-active-item": i.value
|
|
28
|
-
}));
|
|
29
|
-
S(() => {
|
|
30
|
-
r.emit("mounted", c, a.value);
|
|
31
|
-
});
|
|
32
|
-
function s(u) {
|
|
33
|
-
r.emit("active", u, {
|
|
34
|
-
name: a.name,
|
|
35
|
-
value: a.value
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
return () => o("div", {
|
|
39
|
-
ref: c,
|
|
40
|
-
class: m.value,
|
|
41
|
-
onClick: (u) => s(u)
|
|
42
|
-
}, [a.icon && o("i", {
|
|
43
|
-
class: a.icon
|
|
44
|
-
}, null), a.name]);
|
|
45
|
-
}
|
|
46
|
-
}), j = /* @__PURE__ */ O({
|
|
47
|
-
name: "FCapsule",
|
|
48
|
-
props: N,
|
|
49
|
-
emits: ["change", "update:modelValue"],
|
|
50
|
-
setup(a, r) {
|
|
51
|
-
const c = n(a.items), i = n(), m = 2, s = n(a.modelValue), u = n("none"), C = n(a.type), V = v(() => {
|
|
52
|
-
const e = {
|
|
53
|
-
"f-capsule-container": !0
|
|
54
|
-
};
|
|
55
|
-
return C.value && (e[C.value] = !0), e;
|
|
56
|
-
}), x = v(() => ({})), w = v(() => ({
|
|
57
|
-
"f-capsule": !0
|
|
58
|
-
})), I = n(m), b = n(0), p = n(0), R = v(() => ({
|
|
59
|
-
left: `${I.value}px`,
|
|
60
|
-
width: `${b.value}px`,
|
|
61
|
-
transition: u.value
|
|
62
|
-
})), B = v(() => ({
|
|
63
|
-
width: `${p.value}px`
|
|
64
|
-
})), d = /* @__PURE__ */ new Map();
|
|
65
|
-
function M(e) {
|
|
66
|
-
var t;
|
|
67
|
-
if (d.has(e.value)) {
|
|
68
|
-
const l = (t = d.get(e.value)) == null ? void 0 : t.value;
|
|
69
|
-
if (l) {
|
|
70
|
-
const A = l.getBoundingClientRect(), P = i.value.getBoundingClientRect();
|
|
71
|
-
I.value = A.left - P.left + m + i.value.scrollLeft, b.value = A.width - 2 * m;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
function g(e, t) {
|
|
76
|
-
const l = e.value;
|
|
77
|
-
s.value = l, r.emit("update:modelValue", l), M(e), t && r.emit("change", l);
|
|
78
|
-
}
|
|
79
|
-
function f(e) {
|
|
80
|
-
const t = c.value.findIndex((l) => l.value === e);
|
|
81
|
-
t > -1 && g(c.value[t], !1);
|
|
82
|
-
}
|
|
83
|
-
y(() => a.modelValue, (e) => {
|
|
84
|
-
s.value = e, f(s.value);
|
|
85
|
-
}), y(() => a.items, async (e) => {
|
|
86
|
-
c.value = e, await h(), f(s.value), p.value = Array.from(d.values()).reduce((t, l) => (t += l.value.clientWidth, t), 0);
|
|
87
|
-
}), S(async () => {
|
|
88
|
-
f(s.value), await h(), u.value = "0.1s ease-out all", p.value = Array.from(d.values()).reduce((e, t) => (e += t.value.clientWidth, e), 0);
|
|
89
|
-
});
|
|
90
|
-
function k(e, t) {
|
|
91
|
-
g(t, !0);
|
|
92
|
-
}
|
|
93
|
-
function $(e, t) {
|
|
94
|
-
d.set(t, e);
|
|
95
|
-
}
|
|
96
|
-
function F(e, t) {
|
|
97
|
-
return o(W, {
|
|
98
|
-
name: e.name,
|
|
99
|
-
value: e.value,
|
|
100
|
-
isActive: e.value === s.value,
|
|
101
|
-
index: t,
|
|
102
|
-
onMounted: $,
|
|
103
|
-
onActive: k
|
|
104
|
-
}, null);
|
|
105
|
-
}
|
|
106
|
-
return () => o("span", {
|
|
107
|
-
ref: i,
|
|
108
|
-
class: V.value,
|
|
109
|
-
style: x.value
|
|
110
|
-
}, [o("span", {
|
|
111
|
-
class: "f-capsule-pane"
|
|
112
|
-
}, [c.value.map((e, t) => F(e, t))]), o("small", {
|
|
113
|
-
class: w.value,
|
|
114
|
-
style: R.value
|
|
115
|
-
}, null), o("div", {
|
|
116
|
-
class: "f-capsule-board",
|
|
117
|
-
style: B.value
|
|
118
|
-
}, null)]);
|
|
119
|
-
}
|
|
120
|
-
}), L = {
|
|
121
|
-
install(a) {
|
|
122
|
-
a.component(j.name, j);
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
export {
|
|
126
|
-
j as Capsule,
|
|
127
|
-
T as capsuleItemProps,
|
|
128
|
-
N as capsuleProps,
|
|
129
|
-
L as default
|
|
130
|
-
};
|
package/capsule/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(n,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(n=typeof globalThis<"u"?globalThis:n||self,e(n.capsule={},n.Vue))})(this,function(n,e){"use strict";const y={items:{Type:Array,default:[]},modelValue:{type:String,default:""},type:{type:String,default:"primary"}},C={name:{type:String,default:""},value:{type:String,default:""},isActive:{type:Boolean,default:!1},icon:{type:String,default:""},index:{type:Number,default:0}},k="",j=e.defineComponent({name:"FCapsuleItem",props:C,emits:["mounted","active"],setup(l,r){const o=e.ref(),i=e.ref(l.isActive);e.watch(()=>l.isActive,s=>{i.value=s});const d=e.computed(()=>({"f-capsule-item":!0,"f-capsule-active-item":i.value}));e.onMounted(()=>{r.emit("mounted",o,l.value)});function u(s){r.emit("active",s,{name:l.name,value:l.value})}return()=>e.createVNode("div",{ref:o,class:d.value,onClick:s=>u(s)},[l.icon&&e.createVNode("i",{class:l.icon},null),l.name])}}),p=e.defineComponent({name:"FCapsule",props:y,emits:["change","update:modelValue"],setup(l,r){const o=e.ref(l.items),i=e.ref(),d=2,u=e.ref(l.modelValue),s=e.ref("none"),I=e.ref(l.type),O=e.computed(()=>{const t={"f-capsule-container":!0};return I.value&&(t[I.value]=!0),t}),S=e.computed(()=>({})),w=e.computed(()=>({"f-capsule":!0})),h=e.ref(d),V=e.ref(0),m=e.ref(0),M=e.computed(()=>({left:`${h.value}px`,width:`${V.value}px`,transition:s.value})),N=e.computed(()=>({width:`${m.value}px`})),f=new Map;function x(t){var a;if(f.has(t.value)){const c=(a=f.get(t.value))==null?void 0:a.value;if(c){const g=c.getBoundingClientRect(),T=i.value.getBoundingClientRect();h.value=g.left-T.left+d+i.value.scrollLeft,V.value=g.width-2*d}}}function b(t,a){const c=t.value;u.value=c,r.emit("update:modelValue",c),x(t),a&&r.emit("change",c)}function v(t){const a=o.value.findIndex(c=>c.value===t);a>-1&&b(o.value[a],!1)}e.watch(()=>l.modelValue,t=>{u.value=t,v(u.value)}),e.watch(()=>l.items,async t=>{o.value=t,await e.nextTick(),v(u.value),m.value=Array.from(f.values()).reduce((a,c)=>(a+=c.value.clientWidth,a),0)}),e.onMounted(async()=>{v(u.value),await e.nextTick(),s.value="0.1s ease-out all",m.value=Array.from(f.values()).reduce((t,a)=>(t+=a.value.clientWidth,t),0)});function R(t,a){b(a,!0)}function B(t,a){f.set(a,t)}function P(t,a){return e.createVNode(j,{name:t.name,value:t.value,isActive:t.value===u.value,index:a,onMounted:B,onActive:R},null)}return()=>e.createVNode("span",{ref:i,class:O.value,style:S.value},[e.createVNode("span",{class:"f-capsule-pane"},[o.value.map((t,a)=>P(t,a))]),e.createVNode("small",{class:w.value,style:M.value},null),e.createVNode("div",{class:"f-capsule-board",style:N.value},null)])}}),A={install(l){l.component(p.name,p)}};n.Capsule=p,n.capsuleItemProps=C,n.capsuleProps=y,n.default=A,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/capsule/package.json
DELETED
package/capsule/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.f-capsule-container{color:#6080ad;position:relative;display:inline-block;box-sizing:content-box;padding:0;margin:0;cursor:pointer;white-space:nowrap;min-width:2.5rem;height:1.8rem;overflow:hidden}.f-capsule-container.primary .f-capsule-board{background-color:#eff5ff}.f-capsule-container.secondary .f-capsule-board{background-color:#f2f4f8}.f-capsule-container .f-capsule-pane{display:flex;height:100%;min-height:100%;justify-content:flex-start;align-items:center;top:0;position:relative}.f-capsule-container .f-capsule-pane .f-capsule-item{opacity:1;display:inline-block;font-size:12px;line-height:1.8rem;padding-left:24px;padding-right:24px;z-index:2}.f-capsule-container .f-capsule-pane .f-capsule-item.f-capsule-active-item{font-weight:700}.f-capsule-container.primary .f-capsule-pane .f-capsule-item.f-capsule-active-item{color:#2a87ff}.f-capsule-container .f-capsule-pane .f-capsule-item>i{margin-right:2px;font-size:12px}.f-capsule-container .f-capsule-board{background-color:#f2f4f8;border-radius:1.8rem;height:1.8rem;position:absolute;top:0;z-index:0}.f-capsule{height:calc(100% - 4px);border-radius:1.8rem;position:absolute;background:#fff;left:2px;top:2px;opacity:1;display:inline-block;font-size:12px;padding-left:22px;padding-right:22px;z-index:1}
|
package/checkbox/index.esm.js
DELETED
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
import { computed as k, ref as y, defineComponent as V, watch as S, createVNode as h } from "vue";
|
|
2
|
-
const C = {};
|
|
3
|
-
function x(e) {
|
|
4
|
-
const { properties: t } = e;
|
|
5
|
-
return Object.keys(t).reduce((a, n) => (a[n] = t[n].type === "object" && t[n].properties ? x(t[n]) : t[n].default, a), {});
|
|
6
|
-
}
|
|
7
|
-
function j(e, t) {
|
|
8
|
-
const r = x(t);
|
|
9
|
-
return Object.keys(e).reduce((a, n) => (a[n] = e[n], a), r), r;
|
|
10
|
-
}
|
|
11
|
-
function T(e, t) {
|
|
12
|
-
return Object.keys(e).filter((a) => e[a] != null).reduce((a, n) => {
|
|
13
|
-
if (t.has(n)) {
|
|
14
|
-
const c = t.get(n);
|
|
15
|
-
if (typeof c == "string")
|
|
16
|
-
a[c] = e[n];
|
|
17
|
-
else {
|
|
18
|
-
const u = c(n, e[n]);
|
|
19
|
-
Object.assign(a, u);
|
|
20
|
-
}
|
|
21
|
-
} else
|
|
22
|
-
a[n] = e[n];
|
|
23
|
-
return a;
|
|
24
|
-
}, {});
|
|
25
|
-
}
|
|
26
|
-
function B(e, t, r = /* @__PURE__ */ new Map()) {
|
|
27
|
-
const a = j(e, t);
|
|
28
|
-
return T(a, r);
|
|
29
|
-
}
|
|
30
|
-
function F(e, t, r = /* @__PURE__ */ new Map()) {
|
|
31
|
-
return C[t.title] = t, (a) => {
|
|
32
|
-
const n = B(a, t, r), c = Object.keys(e).reduce((u, d) => (u[d] = e[d].default, u), {});
|
|
33
|
-
return Object.assign(c, n);
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
function D(e, t) {
|
|
37
|
-
return { customClass: t.class };
|
|
38
|
-
}
|
|
39
|
-
const w = /* @__PURE__ */ new Map([
|
|
40
|
-
["appearance", D]
|
|
41
|
-
]), A = "https://json-schema.org/draft/2020-12/schema", q = "https://farris-design.gitee.io/check-box.schema.json", G = "CheckBox", M = "A Farris Input Component", R = "object", $ = {
|
|
42
|
-
id: {
|
|
43
|
-
description: "The unique identifier for a check box",
|
|
44
|
-
type: "string"
|
|
45
|
-
},
|
|
46
|
-
type: {
|
|
47
|
-
description: "The type string of check box component",
|
|
48
|
-
type: "string"
|
|
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
|
-
disable: {
|
|
69
|
-
type: "string",
|
|
70
|
-
default: !1
|
|
71
|
-
},
|
|
72
|
-
editable: {
|
|
73
|
-
description: "",
|
|
74
|
-
type: "boolean",
|
|
75
|
-
default: !0
|
|
76
|
-
},
|
|
77
|
-
placeHolder: {
|
|
78
|
-
description: "",
|
|
79
|
-
type: "string",
|
|
80
|
-
default: ""
|
|
81
|
-
},
|
|
82
|
-
readonly: {
|
|
83
|
-
description: "",
|
|
84
|
-
type: "boolean",
|
|
85
|
-
default: !1
|
|
86
|
-
},
|
|
87
|
-
require: {
|
|
88
|
-
description: "",
|
|
89
|
-
type: "boolean",
|
|
90
|
-
default: !1
|
|
91
|
-
},
|
|
92
|
-
tabindex: {
|
|
93
|
-
description: "",
|
|
94
|
-
type: "number",
|
|
95
|
-
default: -1
|
|
96
|
-
},
|
|
97
|
-
visible: {
|
|
98
|
-
description: "",
|
|
99
|
-
type: "boolean",
|
|
100
|
-
default: !0
|
|
101
|
-
}
|
|
102
|
-
}, z = [
|
|
103
|
-
"id",
|
|
104
|
-
"type"
|
|
105
|
-
], I = {
|
|
106
|
-
$schema: A,
|
|
107
|
-
$id: q,
|
|
108
|
-
title: G,
|
|
109
|
-
description: M,
|
|
110
|
-
type: R,
|
|
111
|
-
properties: $,
|
|
112
|
-
required: z
|
|
113
|
-
}, v = {
|
|
114
|
-
/**
|
|
115
|
-
* 组件标识
|
|
116
|
-
*/
|
|
117
|
-
id: String,
|
|
118
|
-
/**
|
|
119
|
-
* 禁用组件,不允许切换单选值
|
|
120
|
-
*/
|
|
121
|
-
disable: { type: Boolean, default: !1 },
|
|
122
|
-
/**
|
|
123
|
-
* 单选组枚举数组
|
|
124
|
-
*/
|
|
125
|
-
enumData: { type: Array, default: [] },
|
|
126
|
-
/**
|
|
127
|
-
* 组件是否水平排列
|
|
128
|
-
*/
|
|
129
|
-
horizontal: { type: Boolean, default: !1 },
|
|
130
|
-
/**
|
|
131
|
-
* 值类型是否为字符串
|
|
132
|
-
*/
|
|
133
|
-
isStringValue: { type: Boolean, default: !0 },
|
|
134
|
-
/**
|
|
135
|
-
* 异步获取枚举数组方法
|
|
136
|
-
*/
|
|
137
|
-
// loadData: () => Observable < { data: Array<Checkbox> } >
|
|
138
|
-
loadData: { type: Function },
|
|
139
|
-
/**
|
|
140
|
-
* 组件值,字符串或者数组
|
|
141
|
-
*/
|
|
142
|
-
modelValue: [String, Array],
|
|
143
|
-
/**
|
|
144
|
-
* 组件名称
|
|
145
|
-
*/
|
|
146
|
-
name: { type: String, default: "" },
|
|
147
|
-
/**
|
|
148
|
-
* 分隔符,默认逗号
|
|
149
|
-
*/
|
|
150
|
-
separator: { type: String, default: "," },
|
|
151
|
-
/**
|
|
152
|
-
* 输入框Tab键索引
|
|
153
|
-
*/
|
|
154
|
-
tabIndex: { type: Number, default: 0 },
|
|
155
|
-
/**
|
|
156
|
-
* 枚举数组中展示文本的key值。
|
|
157
|
-
*/
|
|
158
|
-
textField: { type: String, default: "name" },
|
|
159
|
-
/**
|
|
160
|
-
* 枚举数组中枚举值的key值。
|
|
161
|
-
*/
|
|
162
|
-
valueField: { type: String, default: "value" }
|
|
163
|
-
}, O = F(v, I, w);
|
|
164
|
-
function P(e, t, r) {
|
|
165
|
-
const a = k(() => !e.disable), n = y(e.enumData);
|
|
166
|
-
function c(o) {
|
|
167
|
-
return o[e.valueField];
|
|
168
|
-
}
|
|
169
|
-
function u(o) {
|
|
170
|
-
return o[e.textField];
|
|
171
|
-
}
|
|
172
|
-
function d(o) {
|
|
173
|
-
return o ? e.isStringValue ? o.split(e.separator) : o : [];
|
|
174
|
-
}
|
|
175
|
-
function m(o) {
|
|
176
|
-
const i = n.value.map((s) => c(s)).filter((s) => o.some((p) => p === String(s)));
|
|
177
|
-
return e.isStringValue ? i.join(e.separator) : i;
|
|
178
|
-
}
|
|
179
|
-
function l(o) {
|
|
180
|
-
const f = String(c(o));
|
|
181
|
-
return d(r.value).some((s) => s === f);
|
|
182
|
-
}
|
|
183
|
-
function b(o, f) {
|
|
184
|
-
if (a.value) {
|
|
185
|
-
let i = d(r.value) || [];
|
|
186
|
-
const s = String(c(o));
|
|
187
|
-
!i || !i.length ? i.push(s) : i.some((p) => p === s) ? i = i.filter((p) => p !== s) : i.push(s), r.value = m(i), t.emit("changeValue", r.value), t.emit("update:modelValue", r.value);
|
|
188
|
-
}
|
|
189
|
-
f.stopPropagation();
|
|
190
|
-
}
|
|
191
|
-
return {
|
|
192
|
-
enumData: n,
|
|
193
|
-
getValue: c,
|
|
194
|
-
getText: u,
|
|
195
|
-
checked: l,
|
|
196
|
-
onClickCheckbox: b
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
const g = /* @__PURE__ */ V({
|
|
200
|
-
name: "FCheckboxGroup",
|
|
201
|
-
props: v,
|
|
202
|
-
emits: ["changeValue", "update:modelValue"],
|
|
203
|
-
setup(e, t) {
|
|
204
|
-
const r = y(e.modelValue), {
|
|
205
|
-
enumData: a,
|
|
206
|
-
onClickCheckbox: n,
|
|
207
|
-
getValue: c,
|
|
208
|
-
getText: u,
|
|
209
|
-
checked: d
|
|
210
|
-
} = P(e, t, r), m = k(() => ({
|
|
211
|
-
"farris-checkradio-hor": e.horizontal
|
|
212
|
-
}));
|
|
213
|
-
return S(() => e.modelValue, (l) => {
|
|
214
|
-
r.value = l, t.emit("changeValue", r.value);
|
|
215
|
-
}), () => h("div", {
|
|
216
|
-
class: ["farris-input-wrap", m.value]
|
|
217
|
-
}, [a.value.map((l, b) => {
|
|
218
|
-
const o = "checkbox_" + e.name + b;
|
|
219
|
-
return h("div", {
|
|
220
|
-
class: "custom-control custom-checkbox"
|
|
221
|
-
}, [h("input", {
|
|
222
|
-
type: "checkbox",
|
|
223
|
-
class: "custom-control-input",
|
|
224
|
-
name: e.name,
|
|
225
|
-
id: o,
|
|
226
|
-
value: c(l),
|
|
227
|
-
checked: d(l),
|
|
228
|
-
disabled: e.disable,
|
|
229
|
-
tabindex: e.tabIndex,
|
|
230
|
-
onClick: (f) => n(l, f)
|
|
231
|
-
}, null), h("label", {
|
|
232
|
-
class: "custom-control-label",
|
|
233
|
-
for: o,
|
|
234
|
-
title: u(l)
|
|
235
|
-
}, [u(l)])]);
|
|
236
|
-
})]);
|
|
237
|
-
}
|
|
238
|
-
}), N = {
|
|
239
|
-
install(e) {
|
|
240
|
-
e.component(g.name, g);
|
|
241
|
-
},
|
|
242
|
-
register(e, t) {
|
|
243
|
-
e["check-box"] = g, t["check-box"] = O;
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
export {
|
|
247
|
-
g as CheckBoxGroup,
|
|
248
|
-
v as checkboxGroupProps,
|
|
249
|
-
N as default,
|
|
250
|
-
O as propsResolver
|
|
251
|
-
};
|
package/checkbox/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(u,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],i):(u=typeof globalThis<"u"?globalThis:u||self,i(u.checkbox={},u.Vue))})(this,function(u,i){"use strict";const S={};function x(e){const{properties:t}=e;return Object.keys(t).reduce((a,n)=>(a[n]=t[n].type==="object"&&t[n].properties?x(t[n]):t[n].default,a),{})}function v(e,t){const o=x(t);return Object.keys(e).reduce((a,n)=>(a[n]=e[n],a),o),o}function C(e,t){return Object.keys(e).filter(a=>e[a]!=null).reduce((a,n)=>{if(t.has(n)){const c=t.get(n);if(typeof c=="string")a[c]=e[n];else{const d=c(n,e[n]);Object.assign(a,d)}}else a[n]=e[n];return a},{})}function j(e,t,o=new Map){const a=v(e,t);return C(a,o)}function T(e,t,o=new Map){return S[t.title]=t,a=>{const n=j(a,t,o),c=Object.keys(e).reduce((d,p)=>(d[p]=e[p].default,d),{});return Object.assign(c,n)}}function B(e,t){return{customClass:t.class}}const F=new Map([["appearance",B]]),q={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://farris-design.gitee.io/check-box.schema.json",title:"CheckBox",description:"A Farris Input Component",type:"object",properties:{id:{description:"The unique identifier for a check box",type:"string"},type:{description:"The type string of check box component",type:"string"},appearance:{description:"",type:"object",properties:{class:{type:"string"},style:{type:"string"}},default:{}},binding:{description:"",type:"object",default:{}},disable:{type:"string",default:!1},editable:{description:"",type:"boolean",default:!0},placeHolder:{description:"",type:"string",default:""},readonly:{description:"",type:"boolean",default:!1},require:{description:"",type:"boolean",default:!1},tabindex:{description:"",type:"number",default:-1},visible:{description:"",type:"boolean",default:!0}},required:["id","type"]},g={id:String,disable:{type:Boolean,default:!1},enumData:{type:Array,default:[]},horizontal:{type:Boolean,default:!1},isStringValue:{type:Boolean,default:!0},loadData:{type:Function},modelValue:[String,Array],name:{type:String,default:""},separator:{type:String,default:","},tabIndex:{type:Number,default:0},textField:{type:String,default:"name"},valueField:{type:String,default:"value"}},V=T(g,q,F);function D(e,t,o){const a=i.computed(()=>!e.disable),n=i.ref(e.enumData);function c(r){return r[e.valueField]}function d(r){return r[e.textField]}function p(r){return r?e.isStringValue?r.split(e.separator):r:[]}function k(r){const s=n.value.map(l=>c(l)).filter(l=>r.some(m=>m===String(l)));return e.isStringValue?s.join(e.separator):s}function f(r){const h=String(c(r));return p(o.value).some(l=>l===h)}function y(r,h){if(a.value){let s=p(o.value)||[];const l=String(c(r));!s||!s.length?s.push(l):s.some(m=>m===l)?s=s.filter(m=>m!==l):s.push(l),o.value=k(s),t.emit("changeValue",o.value),t.emit("update:modelValue",o.value)}h.stopPropagation()}return{enumData:n,getValue:c,getText:d,checked:f,onClickCheckbox:y}}const b=i.defineComponent({name:"FCheckboxGroup",props:g,emits:["changeValue","update:modelValue"],setup(e,t){const o=i.ref(e.modelValue),{enumData:a,onClickCheckbox:n,getValue:c,getText:d,checked:p}=D(e,t,o),k=i.computed(()=>({"farris-checkradio-hor":e.horizontal}));return i.watch(()=>e.modelValue,f=>{o.value=f,t.emit("changeValue",o.value)}),()=>i.createVNode("div",{class:["farris-input-wrap",k.value]},[a.value.map((f,y)=>{const r="checkbox_"+e.name+y;return i.createVNode("div",{class:"custom-control custom-checkbox"},[i.createVNode("input",{type:"checkbox",class:"custom-control-input",name:e.name,id:r,value:c(f),checked:p(f),disabled:e.disable,tabindex:e.tabIndex,onClick:h=>n(f,h)},null),i.createVNode("label",{class:"custom-control-label",for:r,title:d(f)},[d(f)])])})])}}),G={install(e){e.component(b.name,b)},register(e,t){e["check-box"]=b,t["check-box"]=V}};u.CheckBoxGroup=b,u.checkboxGroupProps=g,u.default=G,u.propsResolver=V,Object.defineProperties(u,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|