@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,1551 +0,0 @@
|
|
|
1
|
-
var qt = Object.defineProperty;
|
|
2
|
-
var Xt = (i, t, e) => t in i ? qt(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
|
-
var s = (i, t, e) => (Xt(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
-
import { defineComponent as q, ref as k, onMounted as Z, watch as $, createVNode as b, withModifiers as U, createTextVNode as Pt, computed as L, onBeforeMount as zt, withDirectives as G, vShow as nt, vModelText as Gt } from "vue";
|
|
5
|
-
const Wt = {
|
|
6
|
-
color: { type: String, default: "#e1e2e3" },
|
|
7
|
-
disabled: { type: Boolean, default: !1 },
|
|
8
|
-
size: { type: String, default: "" },
|
|
9
|
-
presets: { type: Array, default: [] },
|
|
10
|
-
selectOnly: { type: Boolean },
|
|
11
|
-
editable: { type: Boolean, default: !1 },
|
|
12
|
-
allowColorNull: { type: Boolean, default: !1 }
|
|
13
|
-
};
|
|
14
|
-
class C {
|
|
15
|
-
}
|
|
16
|
-
class it extends C {
|
|
17
|
-
constructor(t, e, n, r) {
|
|
18
|
-
super(), this.cyan = t, this.magenta = e, this.yellow = n, this.black = r;
|
|
19
|
-
}
|
|
20
|
-
toString() {
|
|
21
|
-
return `cmyk(${this.getCyan()}%, ${this.getMagenta()}%, ${this.getYellow()}%, ${this.getBlack()}%)`;
|
|
22
|
-
}
|
|
23
|
-
getCyan() {
|
|
24
|
-
return Math.round(this.cyan);
|
|
25
|
-
}
|
|
26
|
-
getMagenta() {
|
|
27
|
-
return Math.round(this.magenta);
|
|
28
|
-
}
|
|
29
|
-
getYellow() {
|
|
30
|
-
return Math.round(this.yellow);
|
|
31
|
-
}
|
|
32
|
-
getBlack() {
|
|
33
|
-
return Math.round(this.black);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
class Y extends C {
|
|
37
|
-
constructor(t, e, n, r) {
|
|
38
|
-
super(), this.hue = t, this.saturation = e, this.lightness = n, this.alpha = r;
|
|
39
|
-
}
|
|
40
|
-
toString(t = !0) {
|
|
41
|
-
return t ? `hsla(${this.getHue()}, ${this.getSaturation()}%, ${this.getLightness()}%, ${this.getAlpha()})` : `hsl(${this.getHue()}, ${this.getSaturation()}%, ${this.getLightness()}%)`;
|
|
42
|
-
}
|
|
43
|
-
getHue() {
|
|
44
|
-
return Math.round(this.hue);
|
|
45
|
-
}
|
|
46
|
-
getSaturation() {
|
|
47
|
-
return Math.round(this.saturation);
|
|
48
|
-
}
|
|
49
|
-
getLightness() {
|
|
50
|
-
return Math.round(this.lightness);
|
|
51
|
-
}
|
|
52
|
-
getAlpha() {
|
|
53
|
-
return Math.round(this.alpha * 100) / 100;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
class D extends C {
|
|
57
|
-
constructor(t, e, n, r) {
|
|
58
|
-
super(), this.hue = t, this.saturation = e, this.value = n, this.alpha = r;
|
|
59
|
-
}
|
|
60
|
-
toString(t = !0) {
|
|
61
|
-
return t ? `hsva(${this.getHue()}, ${this.getSaturation()}%, ${this.getValue()}%, ${this.getAlpha()})` : `hsv(${this.getHue()}, ${this.getSaturation()}%, ${this.getValue()}%)`;
|
|
62
|
-
}
|
|
63
|
-
getHue() {
|
|
64
|
-
return Math.round(this.hue);
|
|
65
|
-
}
|
|
66
|
-
getSaturation() {
|
|
67
|
-
return Math.round(this.saturation);
|
|
68
|
-
}
|
|
69
|
-
getValue() {
|
|
70
|
-
return Math.round(this.value);
|
|
71
|
-
}
|
|
72
|
-
getAlpha() {
|
|
73
|
-
return Math.round(this.alpha * 100) / 100;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
class u extends C {
|
|
77
|
-
constructor(t, e, n, r) {
|
|
78
|
-
super(), this.red = t, this.green = e, this.blue = n, this.alpha = r;
|
|
79
|
-
}
|
|
80
|
-
toString(t = !0) {
|
|
81
|
-
return t ? `rgba(${this.getRed()}, ${this.getGreen()}, ${this.getBlue()}, ${this.getAlpha()})` : `rgb(${this.getRed()}, ${this.getGreen()}, ${this.getBlue()})`;
|
|
82
|
-
}
|
|
83
|
-
getRed() {
|
|
84
|
-
return Math.round(this.red);
|
|
85
|
-
}
|
|
86
|
-
getGreen() {
|
|
87
|
-
return Math.round(this.green);
|
|
88
|
-
}
|
|
89
|
-
getBlue() {
|
|
90
|
-
return Math.round(this.blue);
|
|
91
|
-
}
|
|
92
|
-
getAlpha() {
|
|
93
|
-
return Math.round(this.alpha * 100) / 100;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
const a = class a {
|
|
97
|
-
};
|
|
98
|
-
s(a, "transparent", new u(0, 0, 0, 0)), s(a, "aliceblue", new u(240, 248, 255, 1)), s(a, "antiquewhite", new u(250, 235, 215, 1)), s(a, "aqua", new u(0, 255, 255, 1)), s(a, "aquamarine", new u(127, 255, 212, 1)), s(a, "azure", new u(240, 255, 255, 1)), s(a, "beige", new u(245, 245, 220, 1)), s(a, "bisque", new u(255, 228, 196, 1)), s(a, "black", new u(0, 0, 0, 1)), s(a, "blanchedalmond", new u(255, 235, 205, 1)), s(a, "blue", new u(0, 0, 255, 1)), s(a, "blueviolet", new u(138, 43, 226, 1)), s(a, "brown", new u(165, 42, 42, 1)), s(a, "burlywood", new u(222, 184, 135, 1)), s(a, "cadetblue", new u(95, 158, 160, 1)), s(a, "chartreuse", new u(127, 255, 0, 1)), s(a, "chocolate", new u(210, 105, 30, 1)), s(a, "coral", new u(255, 127, 80, 1)), s(a, "cornflowerblue", new u(100, 149, 237, 1)), s(a, "cornsilk", new u(255, 248, 220, 1)), s(a, "crimson", new u(220, 20, 60, 1)), s(a, "cyan", new u(0, 255, 255, 1)), s(a, "darkblue", new u(0, 0, 139, 1)), s(a, "darkcyan", new u(0, 139, 139, 1)), s(a, "darkgoldenrod", new u(184, 134, 11, 1)), s(a, "darkgray", new u(169, 169, 169, 1)), s(a, "darkgreen", new u(0, 100, 0, 1)), s(a, "darkgrey", a.darkgray), s(a, "darkkhaki", new u(189, 183, 107, 1)), s(a, "darkmagenta", new u(139, 0, 139, 1)), s(a, "darkolivegreen", new u(85, 107, 47, 1)), s(a, "darkorange", new u(255, 140, 0, 1)), s(a, "darkorchid", new u(153, 50, 204, 1)), s(a, "darkred", new u(139, 0, 0, 1)), s(a, "darksalmon", new u(233, 150, 122, 1)), s(a, "darkseagreen", new u(143, 188, 143, 1)), s(a, "darkslateblue", new u(72, 61, 139, 1)), s(a, "darkslategray", new u(47, 79, 79, 1)), s(a, "darkslategrey", a.darkslategray), s(a, "darkturquoise", new u(0, 206, 209, 1)), s(a, "darkviolet", new u(148, 0, 211, 1)), s(a, "deeppink", new u(255, 20, 147, 1)), s(a, "deepskyblue", new u(0, 191, 255, 1)), s(a, "dimgray", new u(105, 105, 105, 1)), s(a, "dimgrey", a.dimgray), s(a, "dodgerblue", new u(30, 144, 255, 1)), s(a, "firebrick", new u(178, 34, 34, 1)), s(a, "floralwhite", new u(255, 250, 240, 1)), s(a, "forestgreen", new u(34, 139, 34, 1)), s(a, "fuchsia", new u(255, 0, 255, 1)), s(a, "gainsboro", new u(220, 220, 220, 1)), s(a, "ghostwhite", new u(248, 248, 255, 1)), s(a, "gold", new u(255, 215, 0, 1)), s(a, "goldenrod", new u(218, 165, 32, 1)), s(a, "gray", new u(128, 128, 128, 1)), s(a, "grey", a.gray), s(a, "green", new u(0, 128, 0, 1)), s(a, "greenyellow", new u(173, 255, 47, 1)), s(a, "honeydew", new u(240, 255, 240, 1)), s(a, "hotpink", new u(255, 105, 180, 1)), s(a, "indianred", new u(205, 92, 92, 1)), s(a, "indigo", new u(75, 0, 130, 1)), s(a, "ivory", new u(255, 255, 240, 1)), s(a, "khaki", new u(240, 230, 140, 1)), s(a, "lavender", new u(230, 230, 250, 1)), s(a, "lavenderblush", new u(255, 240, 245, 1)), s(a, "lawngreen", new u(124, 252, 0, 1)), s(a, "lemonchiffon", new u(255, 250, 205, 1)), s(a, "lightblue", new u(173, 216, 230, 1)), s(a, "lightcoral", new u(240, 128, 128, 1)), s(a, "lightcyan", new u(224, 255, 255, 1)), s(a, "lightgoldenrodyellow", new u(250, 250, 210, 1)), s(a, "lightgray", new u(211, 211, 211, 1)), s(a, "lightgreen", new u(144, 238, 144, 1)), s(a, "lightgrey", a.lightgray), s(a, "lightpink", new u(255, 182, 193, 1)), s(a, "lightsalmon", new u(255, 160, 122, 1)), s(a, "lightseagreen", new u(32, 178, 170, 1)), s(a, "lightskyblue", new u(135, 206, 250, 1)), s(a, "lightslategray", new u(119, 136, 153, 1)), s(a, "lightslategrey", a.lightslategray), s(a, "lightsteelblue", new u(176, 196, 222, 1)), s(a, "lightyellow", new u(255, 255, 224, 1)), s(a, "lime", new u(0, 255, 0, 1)), s(a, "limegreen", new u(50, 205, 50, 1)), s(a, "linen", new u(250, 240, 230, 1)), s(a, "magenta", new u(255, 0, 255, 1)), s(a, "maroon", new u(128, 0, 0, 1)), s(a, "mediumaquamarine", new u(102, 205, 170, 1)), s(a, "mediumblue", new u(0, 0, 205, 1)), s(a, "mediumorchid", new u(186, 85, 211, 1)), s(a, "mediumpurple", new u(147, 112, 219, 1)), s(a, "mediumseagreen", new u(60, 179, 113, 1)), s(a, "mediumslateblue", new u(123, 104, 238, 1)), s(a, "mediumspringgreen", new u(0, 250, 154, 1)), s(a, "mediumturquoise", new u(72, 209, 204, 1)), s(a, "mediumvioletred", new u(199, 21, 133, 1)), s(a, "midnightblue", new u(25, 25, 112, 1)), s(a, "mintcream", new u(245, 255, 250, 1)), s(a, "mistyrose", new u(255, 228, 225, 1)), s(a, "moccasin", new u(255, 228, 181, 1)), s(a, "navajowhite", new u(255, 222, 173, 1)), s(a, "navy", new u(0, 0, 128, 1)), s(a, "oldlace", new u(253, 245, 230, 1)), s(a, "olive", new u(128, 128, 0, 1)), s(a, "olivedrab", new u(107, 142, 35, 1)), s(a, "orange", new u(255, 165, 0, 1)), s(a, "orangered", new u(255, 69, 0, 1)), s(a, "orchid", new u(218, 112, 214, 1)), s(a, "palegoldenrod", new u(238, 232, 170, 1)), s(a, "palegreen", new u(152, 251, 152, 1)), s(a, "paleturquoise", new u(175, 238, 238, 1)), s(a, "palevioletred", new u(219, 112, 147, 1)), s(a, "papayawhip", new u(255, 239, 213, 1)), s(a, "peachpuff", new u(255, 218, 185, 1)), s(a, "peru", new u(205, 133, 63, 1)), s(a, "pink", new u(255, 192, 203, 1)), s(a, "plum", new u(221, 160, 221, 1)), s(a, "powderblue", new u(176, 224, 230, 1)), s(a, "purple", new u(128, 0, 128, 1)), s(a, "red", new u(255, 0, 0, 1)), s(a, "rosybrown", new u(188, 143, 143, 1)), s(a, "royalblue", new u(65, 105, 225, 1)), s(a, "saddlebrown", new u(139, 69, 19, 1)), s(a, "salmon", new u(250, 128, 114, 1)), s(a, "sandybrown", new u(244, 164, 96, 1)), s(a, "seagreen", new u(46, 139, 87, 1)), s(a, "seashell", new u(255, 245, 238, 1)), s(a, "sienna", new u(160, 82, 45, 1)), s(a, "silver", new u(192, 192, 192, 1)), s(a, "skyblue", new u(135, 206, 235, 1)), s(a, "slateblue", new u(106, 90, 205, 1)), s(a, "slategray", new u(112, 128, 144, 1)), s(a, "slategrey", a.slategray), s(a, "snow", new u(255, 250, 250, 1)), s(a, "springgreen", new u(0, 255, 127, 1)), s(a, "steelblue", new u(70, 130, 180, 1)), s(a, "tan", new u(210, 180, 140, 1)), s(a, "teal", new u(0, 128, 128, 1)), s(a, "thistle", new u(216, 191, 216, 1)), s(a, "tomato", new u(255, 99, 71, 1)), s(a, "turquoise", new u(64, 224, 208, 1)), s(a, "violet", new u(238, 130, 238, 1)), s(a, "wheat", new u(245, 222, 179, 1)), s(a, "white", new u(255, 255, 255, 1)), s(a, "whitesmoke", new u(245, 245, 245, 1)), s(a, "yellow", new u(255, 255, 0, 1)), s(a, "yellowgreen", new u(154, 205, 50, 1));
|
|
99
|
-
let at = a;
|
|
100
|
-
class S {
|
|
101
|
-
constructor(t) {
|
|
102
|
-
/**
|
|
103
|
-
* base color used to calculate other
|
|
104
|
-
* default color
|
|
105
|
-
* rgb(255, 0, 0)
|
|
106
|
-
* hsl(0, 100%, 50%)
|
|
107
|
-
* #ff0000
|
|
108
|
-
*/
|
|
109
|
-
s(this, "hsva", new D(0, 1, 1, 1));
|
|
110
|
-
s(this, "rgba", new u(255, 0, 0, 1));
|
|
111
|
-
t && this.stringToColor(t);
|
|
112
|
-
}
|
|
113
|
-
static from(t) {
|
|
114
|
-
return typeof t == "string" ? new S(t) : t instanceof S ? t.clone() : t instanceof u ? new S().setRgba(t.red, t.green, t.blue, t.alpha) : t instanceof D ? new S().setHsva(t.hue, t.saturation, t.value, t.alpha) : t instanceof Y ? new S().setHsla(t.hue, t.saturation, t.lightness, t.alpha) : null;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* make from existing color new color object
|
|
118
|
-
*/
|
|
119
|
-
clone() {
|
|
120
|
-
return S.from(this.getRgba());
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* define Color from hex, rgb, rgba, hsl, hsla or cmyk string
|
|
124
|
-
*/
|
|
125
|
-
setFromString(t) {
|
|
126
|
-
return this.stringToColor(t);
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* define Color from HSV values
|
|
130
|
-
*/
|
|
131
|
-
setHsva(t, e = 100, n = 100, r = 1) {
|
|
132
|
-
return t != null && (this.hsva.hue = t), e != null && (this.hsva.saturation = e), n != null && (this.hsva.value = n), r != null && (r = r > 1 ? 1 : r < 0 ? 0 : r, this.hsva.alpha = r), this.rgba = this.hsvaToRgba(this.hsva), this;
|
|
133
|
-
}
|
|
134
|
-
/**
|
|
135
|
-
* define Color from RGBa
|
|
136
|
-
*/
|
|
137
|
-
setRgba(t, e, n, r = 1) {
|
|
138
|
-
return t != null && (this.rgba.red = t), e != null && (this.rgba.green = e), n != null && (this.rgba.blue = n), r != null && (r = r > 1 ? 1 : r < 0 ? 0 : r, this.rgba.alpha = r), this.hsva = this.rgbaToHsva(this.rgba), this;
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* define Color from HSLa
|
|
142
|
-
*/
|
|
143
|
-
setHsla(t, e, n, r = 1) {
|
|
144
|
-
r != null && (r = r > 1 ? 1 : r < 0 ? 0 : r, this.rgba.alpha = r);
|
|
145
|
-
const c = new Y(t, e, n, r);
|
|
146
|
-
return this.rgba = this.hslaToRgba(c), this.hsva = this.rgbaToHsva(this.rgba), this;
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* return hexadecimal value formatted as '#341d2a' or '#341d2aFF' if alhpa channel is enabled
|
|
150
|
-
*/
|
|
151
|
-
toHexString(t = !1) {
|
|
152
|
-
let e = "#" + (16777216 | this.rgba.getRed() << 16 | this.rgba.getGreen() << 8 | this.rgba.getBlue()).toString(16).substr(1);
|
|
153
|
-
return t && (e += (256 | Math.round(this.rgba.alpha * 255)).toString(16).substr(1)), e.toUpperCase();
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* return rgba string formatted as rgba(52, 29, 42, 1)
|
|
157
|
-
*/
|
|
158
|
-
toRgbaString() {
|
|
159
|
-
return this.rgba.toString();
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* return rgb string formatted as rgb(52, 29, 42)
|
|
163
|
-
*/
|
|
164
|
-
toRgbString() {
|
|
165
|
-
return this.rgba.toString(!1);
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* return hsla string formatted as hsla(327, 29%, 16%, 1)
|
|
169
|
-
*/
|
|
170
|
-
toHslaString() {
|
|
171
|
-
return this.getHsla().toString();
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* return hsl string formatted as hsl(327, 29%, 16%)
|
|
175
|
-
*/
|
|
176
|
-
toHslString() {
|
|
177
|
-
return this.getHsla().toString(!1);
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* return hsva string formatted as hsva(327, 29%, 16%, 100%)
|
|
181
|
-
*/
|
|
182
|
-
toHsvaString() {
|
|
183
|
-
return this.hsva.toString();
|
|
184
|
-
}
|
|
185
|
-
/**
|
|
186
|
-
* return hsv string formatted as hsv(327, 29%, 16%)
|
|
187
|
-
*/
|
|
188
|
-
toHsvString() {
|
|
189
|
-
return this.hsva.toString(!1);
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* return Cmyk string formatted as cmyk(100%, 100%, 100%, 100%)
|
|
193
|
-
*/
|
|
194
|
-
toCmykString() {
|
|
195
|
-
return this.getCmyk().toString();
|
|
196
|
-
}
|
|
197
|
-
getHsva() {
|
|
198
|
-
return new D(this.hsva.hue, this.hsva.saturation, this.hsva.value, this.hsva.alpha);
|
|
199
|
-
}
|
|
200
|
-
getRgba() {
|
|
201
|
-
return new u(this.rgba.red, this.rgba.green, this.rgba.blue, this.rgba.alpha);
|
|
202
|
-
}
|
|
203
|
-
getHsla() {
|
|
204
|
-
return this.rgbaToHsla(this.rgba);
|
|
205
|
-
}
|
|
206
|
-
getCmyk() {
|
|
207
|
-
return this.rgbaToCmyk(this.rgba);
|
|
208
|
-
}
|
|
209
|
-
hsvaToHsla(t) {
|
|
210
|
-
const { hue: e } = t, n = t.saturation / 100, r = t.value / 100, c = (2 - n) * t.value / 2, o = n * r / (c <= 1 ? c : 2 - c) || 0;
|
|
211
|
-
return new Y(e, c * 100, o * 100, t.alpha);
|
|
212
|
-
}
|
|
213
|
-
hslaToHsva(t) {
|
|
214
|
-
const { hue: e } = t, n = t.lightness / 100 * 2, r = t.saturation / 100 * (n <= 1 ? n : 2 - n), c = (n + r) / 2, o = 2 * r / (n + r) || 0;
|
|
215
|
-
return new D(e, o, c, t.alpha);
|
|
216
|
-
}
|
|
217
|
-
rgbaToHsva(t) {
|
|
218
|
-
const e = t.red / 255, n = t.green / 255, r = t.blue / 255, { alpha: c } = t, o = Math.max(e, n, r), l = Math.min(e, n, r), h = o - l;
|
|
219
|
-
let p = 0, d = o === 0 ? 0 : h / o, f = o;
|
|
220
|
-
if (o !== l) {
|
|
221
|
-
switch (o) {
|
|
222
|
-
case e:
|
|
223
|
-
p = (n - r) / h + (n < r ? 6 : 0);
|
|
224
|
-
break;
|
|
225
|
-
case n:
|
|
226
|
-
p = 2 + (r - e) / h;
|
|
227
|
-
break;
|
|
228
|
-
case r:
|
|
229
|
-
p = 4 + (e - n) / h;
|
|
230
|
-
break;
|
|
231
|
-
}
|
|
232
|
-
p /= 6;
|
|
233
|
-
}
|
|
234
|
-
return p *= 360, d *= 100, f *= 100, new D(p, d, f, c);
|
|
235
|
-
}
|
|
236
|
-
hsvaToRgba(t) {
|
|
237
|
-
let e = 1, n = 0, r = 0;
|
|
238
|
-
const c = t.saturation / 100, o = t.value / 100, { alpha: l } = t, h = t.hue / 60, p = Math.floor(h), d = h - p, f = (1 - c) * o, w = (1 - c * d) * o, m = (1 - c * (1 - d)) * o;
|
|
239
|
-
switch (p) {
|
|
240
|
-
case 6:
|
|
241
|
-
case 0:
|
|
242
|
-
e = o, n = m, r = f;
|
|
243
|
-
break;
|
|
244
|
-
case 1:
|
|
245
|
-
e = w, n = o, r = f;
|
|
246
|
-
break;
|
|
247
|
-
case 2:
|
|
248
|
-
e = f, n = o, r = m;
|
|
249
|
-
break;
|
|
250
|
-
case 3:
|
|
251
|
-
e = f, n = w, r = o;
|
|
252
|
-
break;
|
|
253
|
-
case 4:
|
|
254
|
-
e = m, n = f, r = o;
|
|
255
|
-
break;
|
|
256
|
-
case 5:
|
|
257
|
-
e = o, n = f, r = w;
|
|
258
|
-
break;
|
|
259
|
-
}
|
|
260
|
-
return e *= 255, n *= 255, r *= 255, new u(e, n, r, l);
|
|
261
|
-
}
|
|
262
|
-
rgbaToHsla(t) {
|
|
263
|
-
const e = t.red / 255, n = t.green / 255, r = t.blue / 255, { alpha: c } = t, o = Math.max(e, n, r), l = Math.min(e, n, r);
|
|
264
|
-
let h = 0, p = 0, d = (o + l) / 2;
|
|
265
|
-
const f = o - l;
|
|
266
|
-
if (o !== l) {
|
|
267
|
-
switch (p = d > 0.5 ? f / (2 - o - l) : f / (o + l), o) {
|
|
268
|
-
case e:
|
|
269
|
-
h = (n - r) / f + (n < r ? 6 : 0);
|
|
270
|
-
break;
|
|
271
|
-
case n:
|
|
272
|
-
h = (r - e) / f + 2;
|
|
273
|
-
break;
|
|
274
|
-
case r:
|
|
275
|
-
h = (e - n) / f + 4;
|
|
276
|
-
break;
|
|
277
|
-
}
|
|
278
|
-
h /= 6;
|
|
279
|
-
}
|
|
280
|
-
return h *= 360, p *= 100, d *= 100, new Y(h, p, d, c);
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
* convert rgb color from HSLa
|
|
284
|
-
*
|
|
285
|
-
* hue = 0 => 360
|
|
286
|
-
* saturation = 0 => 1
|
|
287
|
-
* lightness = 0 => 1
|
|
288
|
-
*/
|
|
289
|
-
hslaToRgba(t) {
|
|
290
|
-
const e = t.hue / 360, n = t.saturation / 100, r = t.lightness / 100, { alpha: c } = t;
|
|
291
|
-
let o = r, l = r, h = r;
|
|
292
|
-
if (n !== 0) {
|
|
293
|
-
const p = r < 0.5 ? r * (1 + n) : r + n - r * n, d = 2 * r - p;
|
|
294
|
-
o = this.hueToRgb(d, p, e + 1 / 3), l = this.hueToRgb(d, p, e), h = this.hueToRgb(d, p, e - 1 / 3);
|
|
295
|
-
}
|
|
296
|
-
return o *= 255, l *= 255, h *= 255, new u(o, l, h, c);
|
|
297
|
-
}
|
|
298
|
-
hueToRgb(t, e, n) {
|
|
299
|
-
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (e - t) * 6 * n : n < 1 / 2 ? e : n < 2 / 3 ? t + (e - t) * (2 / 3 - n) * 6 : t;
|
|
300
|
-
}
|
|
301
|
-
/**
|
|
302
|
-
* The Red, Green, Blue values are given in the range of 0..255,
|
|
303
|
-
*
|
|
304
|
-
* the red color(R) is calculated from the cyan(C) and black(K) colors,
|
|
305
|
-
* the green color(G) is calculated from the magenta(M) and black(K) colors,
|
|
306
|
-
* The blue color(B) is calculated from the yellow(Y) and black(K) colors.
|
|
307
|
-
*
|
|
308
|
-
* Below is the formula of CMYK to RGB convertion
|
|
309
|
-
*
|
|
310
|
-
* Red = 255 × 1 - min( (1 - Cyan ÷ 100) × (1 - Black) )
|
|
311
|
-
* Green = 255 × 1 - min(1 - Magenta ÷ 100) × (1 - Black)
|
|
312
|
-
* Blue = 255 × 1 - min(1 - Yellow ÷ 100) × (1 - Black)
|
|
313
|
-
*/
|
|
314
|
-
cmykToRgba(t) {
|
|
315
|
-
const e = t.black / 100, n = t.cyan / 100, r = t.magenta / 100, c = t.yellow / 100;
|
|
316
|
-
let o = Math.min(1, (1 - n) * (1 - e)), l = Math.min(1, (1 - r) * (1 - e)), h = Math.min(1, (1 - c) * (1 - e));
|
|
317
|
-
return o *= 255, l *= 255, h *= 255, new u(o, l, h, 1);
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* The max number of R, G, B values are 255, first of all, we divided them by 255 to become the number
|
|
321
|
-
* of 0~1, this ratio will be used in the calculation.
|
|
322
|
-
* Rc = R ÷ 255
|
|
323
|
-
* Gc = G ÷ 255
|
|
324
|
-
* Bc = B ÷ 255
|
|
325
|
-
* The black key(K) color could be many result, when we assume a black key value,
|
|
326
|
-
* the other three colors(cyan, magenta, yellow) can be calculated.
|
|
327
|
-
* we can calculate it from the red, green and blue colors, the max number of black key should be :
|
|
328
|
-
* K = 1 - min(Rc, Gc, Bc);
|
|
329
|
-
*
|
|
330
|
-
* or we can assume we run out of the black ink, need use the remaining other three color inks to finish the printing job.
|
|
331
|
-
* K = 0;
|
|
332
|
-
*
|
|
333
|
-
* The cyan color(C) is calculated from the red and black colors:
|
|
334
|
-
* C = (1 - Rc - K) ÷ (1 - K)
|
|
335
|
-
*
|
|
336
|
-
* The magenta color (M) is calculated from the green and black colors:
|
|
337
|
-
* M = (1 - Gr - K) ÷ (1 - K)
|
|
338
|
-
*
|
|
339
|
-
* The yellow color(Y) is calculated from the blue and black colors:
|
|
340
|
-
* Y = (1 - Bc - K) ÷ ( 1 - K)
|
|
341
|
-
*/
|
|
342
|
-
rgbaToCmyk(t) {
|
|
343
|
-
const e = t.red / 255, n = t.green / 255, r = t.blue / 255;
|
|
344
|
-
let c = 1 - e, o = 1 - n, l = 1 - r, h = Math.min(c, o, l);
|
|
345
|
-
return h === 1 ? new it(0, 0, 0, 1) : (c = (c - h) / (1 - h), o = (o - h) / (1 - h), l = (l - h) / (1 - h), h *= 100, c *= 100, o *= 100, l *= 100, new it(c, o, l, h));
|
|
346
|
-
}
|
|
347
|
-
roundNumber(t) {
|
|
348
|
-
return Math.round(t * 100) / 100;
|
|
349
|
-
}
|
|
350
|
-
stringToColor(t) {
|
|
351
|
-
const e = t.replace(/ /g, "").toLowerCase();
|
|
352
|
-
let n = at[t] || null;
|
|
353
|
-
if (e[0] === "#") {
|
|
354
|
-
let o = e.substr(1);
|
|
355
|
-
const { length: l } = o;
|
|
356
|
-
let h = 1, p;
|
|
357
|
-
if (l === 3)
|
|
358
|
-
p = o.split("").map((d) => d + d);
|
|
359
|
-
else if (l === 6)
|
|
360
|
-
p = o.match(/.{2}/g);
|
|
361
|
-
else if (l === 8) {
|
|
362
|
-
const d = o.substr(-2);
|
|
363
|
-
o = o.substr(0, l - 2), h = this.roundNumber(parseInt(d || "FF", 16) / 255), p = o.match(/.{2}/g);
|
|
364
|
-
}
|
|
365
|
-
p && p.length === 3 && (n = new u(parseInt(p[0], 16), parseInt(p[1], 16), parseInt(p[2], 16), h));
|
|
366
|
-
}
|
|
367
|
-
const r = e.indexOf("("), c = e.indexOf(")");
|
|
368
|
-
if (r !== -1 && c + 1 === e.length) {
|
|
369
|
-
const o = e.substr(0, r), l = e.substr(r + 1, c - (r + 1)).split(",");
|
|
370
|
-
let h = 1, p, d;
|
|
371
|
-
switch (o) {
|
|
372
|
-
case "rgba":
|
|
373
|
-
h = parseFloat(l.pop());
|
|
374
|
-
case "rgb":
|
|
375
|
-
n = new u(parseInt(l[0], 10), parseInt(l[1], 10), parseInt(l[2], 10), h);
|
|
376
|
-
break;
|
|
377
|
-
case "hsla":
|
|
378
|
-
h = parseFloat(l.pop());
|
|
379
|
-
break;
|
|
380
|
-
case "hsl":
|
|
381
|
-
p = new Y(
|
|
382
|
-
parseInt(l[0], 10),
|
|
383
|
-
parseInt(l[1], 10),
|
|
384
|
-
parseInt(l[2], 10),
|
|
385
|
-
h
|
|
386
|
-
), n = this.hslaToRgba(p);
|
|
387
|
-
break;
|
|
388
|
-
case "cmyk":
|
|
389
|
-
d = new it(
|
|
390
|
-
parseInt(l[0], 10),
|
|
391
|
-
parseInt(l[1], 10),
|
|
392
|
-
parseInt(l[2], 10),
|
|
393
|
-
parseInt(l[3], 10)
|
|
394
|
-
), n = this.cmykToRgba(d);
|
|
395
|
-
break;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
return n && (this.rgba = n, this.hsva = this.rgbaToHsva(n)), this;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
/*! *****************************************************************************
|
|
402
|
-
Copyright (c) Microsoft Corporation.
|
|
403
|
-
|
|
404
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
405
|
-
purpose with or without fee is hereby granted.
|
|
406
|
-
|
|
407
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
408
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
409
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
410
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
411
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
412
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
413
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
414
|
-
***************************************************************************** */
|
|
415
|
-
var ut = function(i, t) {
|
|
416
|
-
return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
|
|
417
|
-
e.__proto__ = n;
|
|
418
|
-
} || function(e, n) {
|
|
419
|
-
for (var r in n)
|
|
420
|
-
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
421
|
-
}, ut(i, t);
|
|
422
|
-
};
|
|
423
|
-
function F(i, t) {
|
|
424
|
-
if (typeof t != "function" && t !== null)
|
|
425
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
426
|
-
ut(i, t);
|
|
427
|
-
function e() {
|
|
428
|
-
this.constructor = i;
|
|
429
|
-
}
|
|
430
|
-
i.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
|
|
431
|
-
}
|
|
432
|
-
function ot(i) {
|
|
433
|
-
var t = typeof Symbol == "function" && Symbol.iterator, e = t && i[t], n = 0;
|
|
434
|
-
if (e)
|
|
435
|
-
return e.call(i);
|
|
436
|
-
if (i && typeof i.length == "number")
|
|
437
|
-
return {
|
|
438
|
-
next: function() {
|
|
439
|
-
return i && n >= i.length && (i = void 0), { value: i && i[n++], done: !i };
|
|
440
|
-
}
|
|
441
|
-
};
|
|
442
|
-
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
443
|
-
}
|
|
444
|
-
function K(i, t) {
|
|
445
|
-
var e = typeof Symbol == "function" && i[Symbol.iterator];
|
|
446
|
-
if (!e)
|
|
447
|
-
return i;
|
|
448
|
-
var n = e.call(i), r, c = [], o;
|
|
449
|
-
try {
|
|
450
|
-
for (; (t === void 0 || t-- > 0) && !(r = n.next()).done; )
|
|
451
|
-
c.push(r.value);
|
|
452
|
-
} catch (l) {
|
|
453
|
-
o = { error: l };
|
|
454
|
-
} finally {
|
|
455
|
-
try {
|
|
456
|
-
r && !r.done && (e = n.return) && e.call(n);
|
|
457
|
-
} finally {
|
|
458
|
-
if (o)
|
|
459
|
-
throw o.error;
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
return c;
|
|
463
|
-
}
|
|
464
|
-
function J(i, t) {
|
|
465
|
-
for (var e = 0, n = t.length, r = i.length; e < n; e++, r++)
|
|
466
|
-
i[r] = t[e];
|
|
467
|
-
return i;
|
|
468
|
-
}
|
|
469
|
-
function R(i) {
|
|
470
|
-
return typeof i == "function";
|
|
471
|
-
}
|
|
472
|
-
function Ht(i) {
|
|
473
|
-
var t = function(n) {
|
|
474
|
-
Error.call(n), n.stack = new Error().stack;
|
|
475
|
-
}, e = i(t);
|
|
476
|
-
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
477
|
-
}
|
|
478
|
-
var rt = Ht(function(i) {
|
|
479
|
-
return function(e) {
|
|
480
|
-
i(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
481
|
-
` + e.map(function(n, r) {
|
|
482
|
-
return r + 1 + ") " + n.toString();
|
|
483
|
-
}).join(`
|
|
484
|
-
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
485
|
-
};
|
|
486
|
-
});
|
|
487
|
-
function ct(i, t) {
|
|
488
|
-
if (i) {
|
|
489
|
-
var e = i.indexOf(t);
|
|
490
|
-
0 <= e && i.splice(e, 1);
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
var T = function() {
|
|
494
|
-
function i(t) {
|
|
495
|
-
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._teardowns = null;
|
|
496
|
-
}
|
|
497
|
-
return i.prototype.unsubscribe = function() {
|
|
498
|
-
var t, e, n, r, c;
|
|
499
|
-
if (!this.closed) {
|
|
500
|
-
this.closed = !0;
|
|
501
|
-
var o = this._parentage;
|
|
502
|
-
if (o)
|
|
503
|
-
if (this._parentage = null, Array.isArray(o))
|
|
504
|
-
try {
|
|
505
|
-
for (var l = ot(o), h = l.next(); !h.done; h = l.next()) {
|
|
506
|
-
var p = h.value;
|
|
507
|
-
p.remove(this);
|
|
508
|
-
}
|
|
509
|
-
} catch (g) {
|
|
510
|
-
t = { error: g };
|
|
511
|
-
} finally {
|
|
512
|
-
try {
|
|
513
|
-
h && !h.done && (e = l.return) && e.call(l);
|
|
514
|
-
} finally {
|
|
515
|
-
if (t)
|
|
516
|
-
throw t.error;
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
else
|
|
520
|
-
o.remove(this);
|
|
521
|
-
var d = this.initialTeardown;
|
|
522
|
-
if (R(d))
|
|
523
|
-
try {
|
|
524
|
-
d();
|
|
525
|
-
} catch (g) {
|
|
526
|
-
c = g instanceof rt ? g.errors : [g];
|
|
527
|
-
}
|
|
528
|
-
var f = this._teardowns;
|
|
529
|
-
if (f) {
|
|
530
|
-
this._teardowns = null;
|
|
531
|
-
try {
|
|
532
|
-
for (var w = ot(f), m = w.next(); !m.done; m = w.next()) {
|
|
533
|
-
var y = m.value;
|
|
534
|
-
try {
|
|
535
|
-
wt(y);
|
|
536
|
-
} catch (g) {
|
|
537
|
-
c = c ?? [], g instanceof rt ? c = J(J([], K(c)), K(g.errors)) : c.push(g);
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
} catch (g) {
|
|
541
|
-
n = { error: g };
|
|
542
|
-
} finally {
|
|
543
|
-
try {
|
|
544
|
-
m && !m.done && (r = w.return) && r.call(w);
|
|
545
|
-
} finally {
|
|
546
|
-
if (n)
|
|
547
|
-
throw n.error;
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
if (c)
|
|
552
|
-
throw new rt(c);
|
|
553
|
-
}
|
|
554
|
-
}, i.prototype.add = function(t) {
|
|
555
|
-
var e;
|
|
556
|
-
if (t && t !== this)
|
|
557
|
-
if (this.closed)
|
|
558
|
-
wt(t);
|
|
559
|
-
else {
|
|
560
|
-
if (t instanceof i) {
|
|
561
|
-
if (t.closed || t._hasParent(this))
|
|
562
|
-
return;
|
|
563
|
-
t._addParent(this);
|
|
564
|
-
}
|
|
565
|
-
(this._teardowns = (e = this._teardowns) !== null && e !== void 0 ? e : []).push(t);
|
|
566
|
-
}
|
|
567
|
-
}, i.prototype._hasParent = function(t) {
|
|
568
|
-
var e = this._parentage;
|
|
569
|
-
return e === t || Array.isArray(e) && e.includes(t);
|
|
570
|
-
}, i.prototype._addParent = function(t) {
|
|
571
|
-
var e = this._parentage;
|
|
572
|
-
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
573
|
-
}, i.prototype._removeParent = function(t) {
|
|
574
|
-
var e = this._parentage;
|
|
575
|
-
e === t ? this._parentage = null : Array.isArray(e) && ct(e, t);
|
|
576
|
-
}, i.prototype.remove = function(t) {
|
|
577
|
-
var e = this._teardowns;
|
|
578
|
-
e && ct(e, t), t instanceof i && t._removeParent(this);
|
|
579
|
-
}, i.EMPTY = function() {
|
|
580
|
-
var t = new i();
|
|
581
|
-
return t.closed = !0, t;
|
|
582
|
-
}(), i;
|
|
583
|
-
}(), xt = T.EMPTY;
|
|
584
|
-
function It(i) {
|
|
585
|
-
return i instanceof T || i && "closed" in i && R(i.remove) && R(i.add) && R(i.unsubscribe);
|
|
586
|
-
}
|
|
587
|
-
function wt(i) {
|
|
588
|
-
R(i) ? i() : i.unsubscribe();
|
|
589
|
-
}
|
|
590
|
-
var Et = {
|
|
591
|
-
onUnhandledError: null,
|
|
592
|
-
onStoppedNotification: null,
|
|
593
|
-
Promise: void 0,
|
|
594
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
595
|
-
useDeprecatedNextContext: !1
|
|
596
|
-
}, lt = {
|
|
597
|
-
setTimeout: function() {
|
|
598
|
-
for (var i = [], t = 0; t < arguments.length; t++)
|
|
599
|
-
i[t] = arguments[t];
|
|
600
|
-
var e = lt.delegate;
|
|
601
|
-
return ((e == null ? void 0 : e.setTimeout) || setTimeout).apply(void 0, J([], K(i)));
|
|
602
|
-
},
|
|
603
|
-
clearTimeout: function(i) {
|
|
604
|
-
var t = lt.delegate;
|
|
605
|
-
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(i);
|
|
606
|
-
},
|
|
607
|
-
delegate: void 0
|
|
608
|
-
};
|
|
609
|
-
function Kt(i) {
|
|
610
|
-
lt.setTimeout(function() {
|
|
611
|
-
throw i;
|
|
612
|
-
});
|
|
613
|
-
}
|
|
614
|
-
function Q() {
|
|
615
|
-
}
|
|
616
|
-
function W(i) {
|
|
617
|
-
i();
|
|
618
|
-
}
|
|
619
|
-
var ht = function(i) {
|
|
620
|
-
F(t, i);
|
|
621
|
-
function t(e) {
|
|
622
|
-
var n = i.call(this) || this;
|
|
623
|
-
return n.isStopped = !1, e ? (n.destination = e, It(e) && e.add(n)) : n.destination = Jt, n;
|
|
624
|
-
}
|
|
625
|
-
return t.create = function(e, n, r) {
|
|
626
|
-
return new Mt(e, n, r);
|
|
627
|
-
}, t.prototype.next = function(e) {
|
|
628
|
-
this.isStopped || this._next(e);
|
|
629
|
-
}, t.prototype.error = function(e) {
|
|
630
|
-
this.isStopped || (this.isStopped = !0, this._error(e));
|
|
631
|
-
}, t.prototype.complete = function() {
|
|
632
|
-
this.isStopped || (this.isStopped = !0, this._complete());
|
|
633
|
-
}, t.prototype.unsubscribe = function() {
|
|
634
|
-
this.closed || (this.isStopped = !0, i.prototype.unsubscribe.call(this), this.destination = null);
|
|
635
|
-
}, t.prototype._next = function(e) {
|
|
636
|
-
this.destination.next(e);
|
|
637
|
-
}, t.prototype._error = function(e) {
|
|
638
|
-
try {
|
|
639
|
-
this.destination.error(e);
|
|
640
|
-
} finally {
|
|
641
|
-
this.unsubscribe();
|
|
642
|
-
}
|
|
643
|
-
}, t.prototype._complete = function() {
|
|
644
|
-
try {
|
|
645
|
-
this.destination.complete();
|
|
646
|
-
} finally {
|
|
647
|
-
this.unsubscribe();
|
|
648
|
-
}
|
|
649
|
-
}, t;
|
|
650
|
-
}(T), Mt = function(i) {
|
|
651
|
-
F(t, i);
|
|
652
|
-
function t(e, n, r) {
|
|
653
|
-
var c = i.call(this) || this, o;
|
|
654
|
-
if (R(e))
|
|
655
|
-
o = e;
|
|
656
|
-
else if (e) {
|
|
657
|
-
o = e.next, n = e.error, r = e.complete;
|
|
658
|
-
var l;
|
|
659
|
-
c && Et.useDeprecatedNextContext ? (l = Object.create(e), l.unsubscribe = function() {
|
|
660
|
-
return c.unsubscribe();
|
|
661
|
-
}) : l = e, o = o == null ? void 0 : o.bind(l), n = n == null ? void 0 : n.bind(l), r = r == null ? void 0 : r.bind(l);
|
|
662
|
-
}
|
|
663
|
-
return c.destination = {
|
|
664
|
-
next: o ? st(o) : Q,
|
|
665
|
-
error: st(n ?? Bt),
|
|
666
|
-
complete: r ? st(r) : Q
|
|
667
|
-
}, c;
|
|
668
|
-
}
|
|
669
|
-
return t;
|
|
670
|
-
}(ht);
|
|
671
|
-
function st(i, t) {
|
|
672
|
-
return function() {
|
|
673
|
-
for (var e = [], n = 0; n < arguments.length; n++)
|
|
674
|
-
e[n] = arguments[n];
|
|
675
|
-
try {
|
|
676
|
-
i.apply(void 0, J([], K(e)));
|
|
677
|
-
} catch (r) {
|
|
678
|
-
Kt(r);
|
|
679
|
-
}
|
|
680
|
-
};
|
|
681
|
-
}
|
|
682
|
-
function Bt(i) {
|
|
683
|
-
throw i;
|
|
684
|
-
}
|
|
685
|
-
var Jt = {
|
|
686
|
-
closed: !0,
|
|
687
|
-
next: Q,
|
|
688
|
-
error: Bt,
|
|
689
|
-
complete: Q
|
|
690
|
-
}, Qt = function() {
|
|
691
|
-
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
692
|
-
}();
|
|
693
|
-
function Rt(i) {
|
|
694
|
-
return i;
|
|
695
|
-
}
|
|
696
|
-
function Zt(i) {
|
|
697
|
-
return i.length === 0 ? Rt : i.length === 1 ? i[0] : function(e) {
|
|
698
|
-
return i.reduce(function(n, r) {
|
|
699
|
-
return r(n);
|
|
700
|
-
}, e);
|
|
701
|
-
};
|
|
702
|
-
}
|
|
703
|
-
var yt = function() {
|
|
704
|
-
function i(t) {
|
|
705
|
-
t && (this._subscribe = t);
|
|
706
|
-
}
|
|
707
|
-
return i.prototype.lift = function(t) {
|
|
708
|
-
var e = new i();
|
|
709
|
-
return e.source = this, e.operator = t, e;
|
|
710
|
-
}, i.prototype.subscribe = function(t, e, n) {
|
|
711
|
-
var r = this, c = Tt(t) ? t : new Mt(t, e, n);
|
|
712
|
-
return W(function() {
|
|
713
|
-
var o = r, l = o.operator, h = o.source;
|
|
714
|
-
c.add(l ? l.call(c, h) : h ? r._subscribe(c) : r._trySubscribe(c));
|
|
715
|
-
}), c;
|
|
716
|
-
}, i.prototype._trySubscribe = function(t) {
|
|
717
|
-
try {
|
|
718
|
-
return this._subscribe(t);
|
|
719
|
-
} catch (e) {
|
|
720
|
-
t.error(e);
|
|
721
|
-
}
|
|
722
|
-
}, i.prototype.forEach = function(t, e) {
|
|
723
|
-
var n = this;
|
|
724
|
-
return e = mt(e), new e(function(r, c) {
|
|
725
|
-
var o;
|
|
726
|
-
o = n.subscribe(function(l) {
|
|
727
|
-
try {
|
|
728
|
-
t(l);
|
|
729
|
-
} catch (h) {
|
|
730
|
-
c(h), o == null || o.unsubscribe();
|
|
731
|
-
}
|
|
732
|
-
}, c, r);
|
|
733
|
-
});
|
|
734
|
-
}, i.prototype._subscribe = function(t) {
|
|
735
|
-
var e;
|
|
736
|
-
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
737
|
-
}, i.prototype[Qt] = function() {
|
|
738
|
-
return this;
|
|
739
|
-
}, i.prototype.pipe = function() {
|
|
740
|
-
for (var t = [], e = 0; e < arguments.length; e++)
|
|
741
|
-
t[e] = arguments[e];
|
|
742
|
-
return Zt(t)(this);
|
|
743
|
-
}, i.prototype.toPromise = function(t) {
|
|
744
|
-
var e = this;
|
|
745
|
-
return t = mt(t), new t(function(n, r) {
|
|
746
|
-
var c;
|
|
747
|
-
e.subscribe(function(o) {
|
|
748
|
-
return c = o;
|
|
749
|
-
}, function(o) {
|
|
750
|
-
return r(o);
|
|
751
|
-
}, function() {
|
|
752
|
-
return n(c);
|
|
753
|
-
});
|
|
754
|
-
});
|
|
755
|
-
}, i.create = function(t) {
|
|
756
|
-
return new i(t);
|
|
757
|
-
}, i;
|
|
758
|
-
}();
|
|
759
|
-
function mt(i) {
|
|
760
|
-
var t;
|
|
761
|
-
return (t = i ?? Et.Promise) !== null && t !== void 0 ? t : Promise;
|
|
762
|
-
}
|
|
763
|
-
function Ct(i) {
|
|
764
|
-
return i && R(i.next) && R(i.error) && R(i.complete);
|
|
765
|
-
}
|
|
766
|
-
function Tt(i) {
|
|
767
|
-
return i && i instanceof ht || Ct(i) && It(i);
|
|
768
|
-
}
|
|
769
|
-
function _t(i) {
|
|
770
|
-
return R(i == null ? void 0 : i.lift);
|
|
771
|
-
}
|
|
772
|
-
function te(i) {
|
|
773
|
-
return function(t) {
|
|
774
|
-
if (_t(t))
|
|
775
|
-
return t.lift(function(e) {
|
|
776
|
-
try {
|
|
777
|
-
return i(e, this);
|
|
778
|
-
} catch (n) {
|
|
779
|
-
this.error(n);
|
|
780
|
-
}
|
|
781
|
-
});
|
|
782
|
-
throw new TypeError("Unable to lift unknown Observable type");
|
|
783
|
-
};
|
|
784
|
-
}
|
|
785
|
-
var ee = function(i) {
|
|
786
|
-
F(t, i);
|
|
787
|
-
function t(e, n, r, c, o) {
|
|
788
|
-
var l = i.call(this, e) || this;
|
|
789
|
-
return l.onFinalize = o, l._next = n ? function(h) {
|
|
790
|
-
try {
|
|
791
|
-
n(h);
|
|
792
|
-
} catch (p) {
|
|
793
|
-
e.error(p);
|
|
794
|
-
}
|
|
795
|
-
} : i.prototype._next, l._error = c ? function(h) {
|
|
796
|
-
try {
|
|
797
|
-
c(h);
|
|
798
|
-
} catch (p) {
|
|
799
|
-
e.error(p);
|
|
800
|
-
} finally {
|
|
801
|
-
this.unsubscribe();
|
|
802
|
-
}
|
|
803
|
-
} : i.prototype._error, l._complete = r ? function() {
|
|
804
|
-
try {
|
|
805
|
-
r();
|
|
806
|
-
} catch (h) {
|
|
807
|
-
e.error(h);
|
|
808
|
-
} finally {
|
|
809
|
-
this.unsubscribe();
|
|
810
|
-
}
|
|
811
|
-
} : i.prototype._complete, l;
|
|
812
|
-
}
|
|
813
|
-
return t.prototype.unsubscribe = function() {
|
|
814
|
-
var e, n = this.closed;
|
|
815
|
-
i.prototype.unsubscribe.call(this), !n && ((e = this.onFinalize) === null || e === void 0 || e.call(this));
|
|
816
|
-
}, t;
|
|
817
|
-
}(ht), ne = Ht(function(i) {
|
|
818
|
-
return function() {
|
|
819
|
-
i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
820
|
-
};
|
|
821
|
-
}), dt = function(i) {
|
|
822
|
-
F(t, i);
|
|
823
|
-
function t() {
|
|
824
|
-
var e = i.call(this) || this;
|
|
825
|
-
return e.closed = !1, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
826
|
-
}
|
|
827
|
-
return t.prototype.lift = function(e) {
|
|
828
|
-
var n = new bt(this, this);
|
|
829
|
-
return n.operator = e, n;
|
|
830
|
-
}, t.prototype._throwIfClosed = function() {
|
|
831
|
-
if (this.closed)
|
|
832
|
-
throw new ne();
|
|
833
|
-
}, t.prototype.next = function(e) {
|
|
834
|
-
var n = this;
|
|
835
|
-
W(function() {
|
|
836
|
-
var r, c;
|
|
837
|
-
if (n._throwIfClosed(), !n.isStopped) {
|
|
838
|
-
var o = n.observers.slice();
|
|
839
|
-
try {
|
|
840
|
-
for (var l = ot(o), h = l.next(); !h.done; h = l.next()) {
|
|
841
|
-
var p = h.value;
|
|
842
|
-
p.next(e);
|
|
843
|
-
}
|
|
844
|
-
} catch (d) {
|
|
845
|
-
r = { error: d };
|
|
846
|
-
} finally {
|
|
847
|
-
try {
|
|
848
|
-
h && !h.done && (c = l.return) && c.call(l);
|
|
849
|
-
} finally {
|
|
850
|
-
if (r)
|
|
851
|
-
throw r.error;
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
});
|
|
856
|
-
}, t.prototype.error = function(e) {
|
|
857
|
-
var n = this;
|
|
858
|
-
W(function() {
|
|
859
|
-
if (n._throwIfClosed(), !n.isStopped) {
|
|
860
|
-
n.hasError = n.isStopped = !0, n.thrownError = e;
|
|
861
|
-
for (var r = n.observers; r.length; )
|
|
862
|
-
r.shift().error(e);
|
|
863
|
-
}
|
|
864
|
-
});
|
|
865
|
-
}, t.prototype.complete = function() {
|
|
866
|
-
var e = this;
|
|
867
|
-
W(function() {
|
|
868
|
-
if (e._throwIfClosed(), !e.isStopped) {
|
|
869
|
-
e.isStopped = !0;
|
|
870
|
-
for (var n = e.observers; n.length; )
|
|
871
|
-
n.shift().complete();
|
|
872
|
-
}
|
|
873
|
-
});
|
|
874
|
-
}, t.prototype.unsubscribe = function() {
|
|
875
|
-
this.isStopped = this.closed = !0, this.observers = null;
|
|
876
|
-
}, Object.defineProperty(t.prototype, "observed", {
|
|
877
|
-
get: function() {
|
|
878
|
-
var e;
|
|
879
|
-
return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
|
|
880
|
-
},
|
|
881
|
-
enumerable: !1,
|
|
882
|
-
configurable: !0
|
|
883
|
-
}), t.prototype._trySubscribe = function(e) {
|
|
884
|
-
return this._throwIfClosed(), i.prototype._trySubscribe.call(this, e);
|
|
885
|
-
}, t.prototype._subscribe = function(e) {
|
|
886
|
-
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
887
|
-
}, t.prototype._innerSubscribe = function(e) {
|
|
888
|
-
var n = this, r = n.hasError, c = n.isStopped, o = n.observers;
|
|
889
|
-
return r || c ? xt : (o.push(e), new T(function() {
|
|
890
|
-
return ct(o, e);
|
|
891
|
-
}));
|
|
892
|
-
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
893
|
-
var n = this, r = n.hasError, c = n.thrownError, o = n.isStopped;
|
|
894
|
-
r ? e.error(c) : o && e.complete();
|
|
895
|
-
}, t.prototype.asObservable = function() {
|
|
896
|
-
var e = new yt();
|
|
897
|
-
return e.source = this, e;
|
|
898
|
-
}, t.create = function(e, n) {
|
|
899
|
-
return new bt(e, n);
|
|
900
|
-
}, t;
|
|
901
|
-
}(yt), bt = function(i) {
|
|
902
|
-
F(t, i);
|
|
903
|
-
function t(e, n) {
|
|
904
|
-
var r = i.call(this) || this;
|
|
905
|
-
return r.destination = e, r.source = n, r;
|
|
906
|
-
}
|
|
907
|
-
return t.prototype.next = function(e) {
|
|
908
|
-
var n, r;
|
|
909
|
-
(r = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || r === void 0 || r.call(n, e);
|
|
910
|
-
}, t.prototype.error = function(e) {
|
|
911
|
-
var n, r;
|
|
912
|
-
(r = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || r === void 0 || r.call(n, e);
|
|
913
|
-
}, t.prototype.complete = function() {
|
|
914
|
-
var e, n;
|
|
915
|
-
(n = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || n === void 0 || n.call(e);
|
|
916
|
-
}, t.prototype._subscribe = function(e) {
|
|
917
|
-
var n, r;
|
|
918
|
-
return (r = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && r !== void 0 ? r : xt;
|
|
919
|
-
}, t;
|
|
920
|
-
}(dt), kt = function(i) {
|
|
921
|
-
F(t, i);
|
|
922
|
-
function t(e) {
|
|
923
|
-
var n = i.call(this) || this;
|
|
924
|
-
return n._value = e, n;
|
|
925
|
-
}
|
|
926
|
-
return Object.defineProperty(t.prototype, "value", {
|
|
927
|
-
get: function() {
|
|
928
|
-
return this.getValue();
|
|
929
|
-
},
|
|
930
|
-
enumerable: !1,
|
|
931
|
-
configurable: !0
|
|
932
|
-
}), t.prototype._subscribe = function(e) {
|
|
933
|
-
var n = i.prototype._subscribe.call(this, e);
|
|
934
|
-
return !n.closed && e.next(this._value), n;
|
|
935
|
-
}, t.prototype.getValue = function() {
|
|
936
|
-
var e = this, n = e.hasError, r = e.thrownError, c = e._value;
|
|
937
|
-
if (n)
|
|
938
|
-
throw r;
|
|
939
|
-
return this._throwIfClosed(), c;
|
|
940
|
-
}, t.prototype.next = function(e) {
|
|
941
|
-
i.prototype.next.call(this, this._value = e);
|
|
942
|
-
}, t;
|
|
943
|
-
}(dt);
|
|
944
|
-
function ie(i, t) {
|
|
945
|
-
return t === void 0 && (t = Rt), i = i ?? re, te(function(e, n) {
|
|
946
|
-
var r, c = !0;
|
|
947
|
-
e.subscribe(new ee(n, function(o) {
|
|
948
|
-
var l = t(o);
|
|
949
|
-
(c || !i(r, l)) && (c = !1, r = l, n.next(o));
|
|
950
|
-
}));
|
|
951
|
-
});
|
|
952
|
-
}
|
|
953
|
-
function re(i, t) {
|
|
954
|
-
return i === t;
|
|
955
|
-
}
|
|
956
|
-
var E = /* @__PURE__ */ ((i) => (i.hex = "hex", i.hexa = "hexa", i.rgba = "rgba", i.rgb = "rgb", i.hsla = "hsla", i.hsl = "hsl", i.cmyk = "cmyk", i))(E || {});
|
|
957
|
-
class Vt {
|
|
958
|
-
constructor(t) {
|
|
959
|
-
/** 所选颜色值 */
|
|
960
|
-
s(this, "modelValue", null);
|
|
961
|
-
/** 色调颜色值 */
|
|
962
|
-
s(this, "hueValue", null);
|
|
963
|
-
/** 初始颜色值 */
|
|
964
|
-
s(this, "initValue", null);
|
|
965
|
-
s(this, "valueChanged", new dt());
|
|
966
|
-
s(this, "presetsVisibilityChanges", new kt(!0));
|
|
967
|
-
s(this, "initType", null);
|
|
968
|
-
s(this, "alphaChannelVisibilityChanges", new kt(!0));
|
|
969
|
-
s(this, "valueChanges", this.valueChanged.asObservable().pipe(ie(
|
|
970
|
-
(t, e) => t.toRgbaString() === e.toRgbaString()
|
|
971
|
-
)));
|
|
972
|
-
s(this, "colorPresets", []);
|
|
973
|
-
const e = t[0], n = S.from(e);
|
|
974
|
-
this.setValue(n), this.setHueColor(n);
|
|
975
|
-
}
|
|
976
|
-
/** 设置值 */
|
|
977
|
-
setValueFrom(t, e, n) {
|
|
978
|
-
const r = S.from(t);
|
|
979
|
-
return this.initValue || (this.initValue = S.from(t)), typeof t == "string" && this.finOutInputType(t), this.setHueColor(r), this.setValue(r), this;
|
|
980
|
-
}
|
|
981
|
-
setHueColor(t) {
|
|
982
|
-
(this.hueValue && t.getHsva().hue > 0 || !this.hueValue) && (this.hueValue = new S().setHsva(t.getHsva().hue));
|
|
983
|
-
}
|
|
984
|
-
get hue() {
|
|
985
|
-
return this.hueValue;
|
|
986
|
-
}
|
|
987
|
-
set hue(t) {
|
|
988
|
-
this.hueValue = t;
|
|
989
|
-
}
|
|
990
|
-
setValue(t) {
|
|
991
|
-
return this.modelValue = t, this.valueChanged.next(t), this;
|
|
992
|
-
}
|
|
993
|
-
get value() {
|
|
994
|
-
return this.modelValue;
|
|
995
|
-
}
|
|
996
|
-
set value(t) {
|
|
997
|
-
this.setValue(t);
|
|
998
|
-
}
|
|
999
|
-
reset() {
|
|
1000
|
-
let t;
|
|
1001
|
-
return this.initValue ? (t = this.initValue.clone(), this.setHueColor(t)) : (t = S.from(new u(255, 0, 0, 1)), this.hueValue = new S().setHsva(t.getHsva().hue)), this.setValue(t), this;
|
|
1002
|
-
}
|
|
1003
|
-
showAlphaChannel() {
|
|
1004
|
-
return this.alphaChannelVisibilityChanges.next(!0), this;
|
|
1005
|
-
}
|
|
1006
|
-
finOutInputType(t) {
|
|
1007
|
-
const e = t.replace(/ /g, "").toLowerCase();
|
|
1008
|
-
e[0] === "#" && (this.initType = "hex", e.length > 7 && (this.initType = "hexa"));
|
|
1009
|
-
const n = e.indexOf("(");
|
|
1010
|
-
switch (e.substr(0, n)) {
|
|
1011
|
-
case "rgba":
|
|
1012
|
-
this.initType = "rgba";
|
|
1013
|
-
break;
|
|
1014
|
-
case "rgb":
|
|
1015
|
-
this.initType = "rgb";
|
|
1016
|
-
break;
|
|
1017
|
-
case "hsla":
|
|
1018
|
-
this.initType = "hsla";
|
|
1019
|
-
break;
|
|
1020
|
-
case "hsl":
|
|
1021
|
-
this.initType = "hsl";
|
|
1022
|
-
break;
|
|
1023
|
-
case "cmyk":
|
|
1024
|
-
this.initType = "cmyk";
|
|
1025
|
-
break;
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
/** 设置预定义颜色 */
|
|
1029
|
-
setColorPresets(t) {
|
|
1030
|
-
return this.colorPresets = this.setPresets(t), this;
|
|
1031
|
-
}
|
|
1032
|
-
setPresets(t) {
|
|
1033
|
-
const e = [];
|
|
1034
|
-
return t.map((n) => {
|
|
1035
|
-
Array.isArray(n) ? e.push(this.setPresets(n)) : e.push(new S(n));
|
|
1036
|
-
}), e;
|
|
1037
|
-
}
|
|
1038
|
-
get presets() {
|
|
1039
|
-
return this.colorPresets;
|
|
1040
|
-
}
|
|
1041
|
-
hasPresets() {
|
|
1042
|
-
return this.colorPresets.length > 0;
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
/** 确定输入颜色类型 */
|
|
1046
|
-
s(Vt, "finOutInputType");
|
|
1047
|
-
function N(i, t) {
|
|
1048
|
-
switch (t) {
|
|
1049
|
-
case E.hex:
|
|
1050
|
-
return i.toHexString();
|
|
1051
|
-
case E.hexa:
|
|
1052
|
-
return i.toHexString(!0);
|
|
1053
|
-
case E.rgb:
|
|
1054
|
-
return i.toRgbString();
|
|
1055
|
-
case E.rgba:
|
|
1056
|
-
return i.toRgbaString();
|
|
1057
|
-
case E.hsl:
|
|
1058
|
-
return i.toHslString();
|
|
1059
|
-
case E.hsla:
|
|
1060
|
-
return i.toHslaString();
|
|
1061
|
-
default:
|
|
1062
|
-
return i.toRgbaString();
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
const se = {
|
|
1066
|
-
color: { type: Object, default: "" },
|
|
1067
|
-
hue: { type: Object, default: "" },
|
|
1068
|
-
randomId: { type: String, default: "" },
|
|
1069
|
-
allowColorNull: { type: Boolean, default: !1 }
|
|
1070
|
-
}, ae = /* @__PURE__ */ q({
|
|
1071
|
-
name: "SvPanel",
|
|
1072
|
-
props: se,
|
|
1073
|
-
emits: ["update:color"],
|
|
1074
|
-
setup(i, t) {
|
|
1075
|
-
const e = k(null), n = k(null), r = k(i.randomId), c = k(i.allowColorNull);
|
|
1076
|
-
function o() {
|
|
1077
|
-
return i.hue ? i.hue.toRgbaString() : "#3f51b5";
|
|
1078
|
-
}
|
|
1079
|
-
function l(f, w) {
|
|
1080
|
-
var m, y;
|
|
1081
|
-
f = Math.max(0, Math.min(f, 100)), w = Math.max(0, Math.min(w, 100)), e.value && ((m = e.value.style) == null || m.setProperty("top", `${100 - w}%`), (y = e.value.style) == null || y.setProperty("left", `${f}%`));
|
|
1082
|
-
}
|
|
1083
|
-
function h() {
|
|
1084
|
-
const f = document.getElementById(`farris-color-picker-plus-sure-${r.value}`);
|
|
1085
|
-
f.className = "btn btn-secondary";
|
|
1086
|
-
const w = document.getElementById(`farris-color-picker-plus-input-${r.value}`);
|
|
1087
|
-
w.style.borderColor = "#dcdfe6";
|
|
1088
|
-
}
|
|
1089
|
-
function p({
|
|
1090
|
-
x: f,
|
|
1091
|
-
y: w,
|
|
1092
|
-
height: m,
|
|
1093
|
-
width: y
|
|
1094
|
-
}) {
|
|
1095
|
-
const g = f * 100 / y, H = -(w * 100 / m) + 100;
|
|
1096
|
-
l(g, H);
|
|
1097
|
-
const x = i.color == null ? "transparent" : i.color, P = S.from(x);
|
|
1098
|
-
if (h(), P != null) {
|
|
1099
|
-
const M = i.hue.getHsva(), V = P.getHsva(), O = new S().setHsva(M.hue, g, H, V.alpha);
|
|
1100
|
-
t.emit("update:color", O);
|
|
1101
|
-
}
|
|
1102
|
-
!P && c.value && t.emit("update:color", null);
|
|
1103
|
-
}
|
|
1104
|
-
function d(f) {
|
|
1105
|
-
if (n.value) {
|
|
1106
|
-
const {
|
|
1107
|
-
width: w,
|
|
1108
|
-
height: m,
|
|
1109
|
-
top: y,
|
|
1110
|
-
left: g
|
|
1111
|
-
} = n.value.getBoundingClientRect(), {
|
|
1112
|
-
pageX: H,
|
|
1113
|
-
pageY: x
|
|
1114
|
-
} = "touches" in f ? f.touches[0] : f, P = Math.max(0, Math.min(H - (g + window.pageXOffset), w)), M = Math.max(0, Math.min(x - (y + window.pageYOffset), m));
|
|
1115
|
-
p({
|
|
1116
|
-
x: P,
|
|
1117
|
-
y: M,
|
|
1118
|
-
height: m,
|
|
1119
|
-
width: w
|
|
1120
|
-
});
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
return Z(() => {
|
|
1124
|
-
const f = i.color.getHsva();
|
|
1125
|
-
l(f.saturation, f.value);
|
|
1126
|
-
}), $(() => i.color, (f) => {
|
|
1127
|
-
f.getHsva();
|
|
1128
|
-
}), $(() => i.color, (f) => {
|
|
1129
|
-
const w = f.getHsva();
|
|
1130
|
-
l(w.saturation, w.value);
|
|
1131
|
-
}), () => b("div", {
|
|
1132
|
-
class: "f-sv-panel-component",
|
|
1133
|
-
ref: n,
|
|
1134
|
-
style: {
|
|
1135
|
-
backgroundColor: o()
|
|
1136
|
-
},
|
|
1137
|
-
onMousedown: U((f) => d(f), ["prevent"]),
|
|
1138
|
-
onTouchstart: U((f) => d(f), ["prevent"])
|
|
1139
|
-
}, [b("div", {
|
|
1140
|
-
class: "color-svpanel__white"
|
|
1141
|
-
}, null), b("div", {
|
|
1142
|
-
class: "color-svpanel__black"
|
|
1143
|
-
}, null), b("div", {
|
|
1144
|
-
class: "color-svpanel__cursor",
|
|
1145
|
-
ref: e
|
|
1146
|
-
}, [b("div", null, null)])]);
|
|
1147
|
-
}
|
|
1148
|
-
});
|
|
1149
|
-
const ue = {
|
|
1150
|
-
color: { type: Object, default: "" },
|
|
1151
|
-
hue: { type: Object, default: "" },
|
|
1152
|
-
allowColorNull: { type: Boolean, default: !1 },
|
|
1153
|
-
onChange: { type: Function }
|
|
1154
|
-
}, oe = /* @__PURE__ */ q({
|
|
1155
|
-
name: "Hue",
|
|
1156
|
-
props: ue,
|
|
1157
|
-
emits: ["update:color", "update:hue"],
|
|
1158
|
-
setup(i, t) {
|
|
1159
|
-
const e = k(i.hue), n = k(i.allowColorNull), r = [];
|
|
1160
|
-
function c(y) {
|
|
1161
|
-
y.preventDefault(), l(y);
|
|
1162
|
-
}
|
|
1163
|
-
const o = k(null);
|
|
1164
|
-
function l(y) {
|
|
1165
|
-
if (o.value) {
|
|
1166
|
-
const {
|
|
1167
|
-
width: g,
|
|
1168
|
-
height: H,
|
|
1169
|
-
top: x,
|
|
1170
|
-
left: P
|
|
1171
|
-
} = o.value.getBoundingClientRect(), {
|
|
1172
|
-
pageX: M,
|
|
1173
|
-
pageY: V
|
|
1174
|
-
} = "touches" in y ? y.touches[0] : y, O = Math.max(0, Math.min(M - (P + window.pageXOffset), g)), X = Math.max(0, Math.min(V - (x + window.pageYOffset), H));
|
|
1175
|
-
m({
|
|
1176
|
-
x: O,
|
|
1177
|
-
y: X,
|
|
1178
|
-
height: H,
|
|
1179
|
-
width: g
|
|
1180
|
-
});
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
function h() {
|
|
1184
|
-
r.forEach((y) => y()), r.length = 0;
|
|
1185
|
-
}
|
|
1186
|
-
function p(y) {
|
|
1187
|
-
c(y), document.addEventListener("mouseup", h), document.addEventListener("touchend", h), document.addEventListener("touchmove", c);
|
|
1188
|
-
}
|
|
1189
|
-
const d = (y) => {
|
|
1190
|
-
p(y);
|
|
1191
|
-
};
|
|
1192
|
-
Z(() => {
|
|
1193
|
-
document.querySelectorAll(".f-hue-component").forEach((H) => {
|
|
1194
|
-
H.addEventListener("mousedown", d), H.addEventListener("touchstart", d);
|
|
1195
|
-
});
|
|
1196
|
-
const g = i.color.getHsva();
|
|
1197
|
-
w(g.hue);
|
|
1198
|
-
});
|
|
1199
|
-
const f = k(null);
|
|
1200
|
-
function w(y) {
|
|
1201
|
-
var x;
|
|
1202
|
-
const g = Math.max(0, Math.min(y / 360 * 100, 100)), H = "top";
|
|
1203
|
-
f.value && ((x = f.value.style) == null || x.setProperty(H, `${g}%`));
|
|
1204
|
-
}
|
|
1205
|
-
function m({
|
|
1206
|
-
x: y,
|
|
1207
|
-
y: g,
|
|
1208
|
-
height: H,
|
|
1209
|
-
width: x
|
|
1210
|
-
}) {
|
|
1211
|
-
const P = g / H * 360;
|
|
1212
|
-
w(P);
|
|
1213
|
-
const M = i.color.getHsva(), V = new S().setHsva(P, M.saturation, M.value, M.alpha), O = new S().setHsva(P, 100, 100, M.alpha);
|
|
1214
|
-
(i.color != null || i.color == null && n.value) && (t.emit("update:hue", O), t.emit("update:color", V));
|
|
1215
|
-
}
|
|
1216
|
-
return $(e, (y) => {
|
|
1217
|
-
const g = y.getHsva();
|
|
1218
|
-
w(g.hue);
|
|
1219
|
-
}), $(() => i.color, (y) => {
|
|
1220
|
-
const g = y.getHsva();
|
|
1221
|
-
w(g.hue);
|
|
1222
|
-
}), () => b("div", {
|
|
1223
|
-
class: "f-hue-component",
|
|
1224
|
-
ref: o,
|
|
1225
|
-
onMousedown: U((y) => l(y), ["prevent"]),
|
|
1226
|
-
onTouchstart: U((y) => l(y), ["prevent"])
|
|
1227
|
-
}, [b("div", {
|
|
1228
|
-
class: "color-hue-slider__bar"
|
|
1229
|
-
}, null), b("div", {
|
|
1230
|
-
class: "color-hue-slider__thumb",
|
|
1231
|
-
ref: f
|
|
1232
|
-
}, null)]);
|
|
1233
|
-
}
|
|
1234
|
-
});
|
|
1235
|
-
const ce = {
|
|
1236
|
-
color: { type: Object, default: "" },
|
|
1237
|
-
randomId: { type: String, default: "" },
|
|
1238
|
-
allowColorNull: { type: Boolean, default: !1 }
|
|
1239
|
-
}, le = /* @__PURE__ */ q({
|
|
1240
|
-
name: "Alpha",
|
|
1241
|
-
props: ce,
|
|
1242
|
-
emits: ["update:color"],
|
|
1243
|
-
setup(i, t) {
|
|
1244
|
-
const e = k(null), n = k(null), r = k(i.randomId), c = k(i.allowColorNull), o = (d) => {
|
|
1245
|
-
var m;
|
|
1246
|
-
const f = Math.max(0, Math.min(d * 100, 100)), w = "left";
|
|
1247
|
-
n.value && ((m = n.value.style) == null || m.setProperty(w, `${f}%`));
|
|
1248
|
-
};
|
|
1249
|
-
function l(d) {
|
|
1250
|
-
if (e.value) {
|
|
1251
|
-
const {
|
|
1252
|
-
width: f,
|
|
1253
|
-
height: w,
|
|
1254
|
-
top: m,
|
|
1255
|
-
left: y
|
|
1256
|
-
} = e.value.getBoundingClientRect(), {
|
|
1257
|
-
pageX: g,
|
|
1258
|
-
pageY: H
|
|
1259
|
-
} = "touches" in d ? d.touches[0] : d, x = Math.max(0, Math.min(g - (y + window.pageXOffset), f)), P = Math.max(0, Math.min(H - (m + window.pageYOffset), w));
|
|
1260
|
-
p({
|
|
1261
|
-
x,
|
|
1262
|
-
y: P,
|
|
1263
|
-
height: w,
|
|
1264
|
-
width: f
|
|
1265
|
-
});
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
function h() {
|
|
1269
|
-
const d = document.getElementById(`farris-color-picker-plus-sure-${r.value}`);
|
|
1270
|
-
d.className = "btn btn-secondary";
|
|
1271
|
-
const f = document.getElementById(`farris-color-picker-plus-input-${r.value}`);
|
|
1272
|
-
f.style.borderColor = "#dcdfe6";
|
|
1273
|
-
}
|
|
1274
|
-
const p = ({
|
|
1275
|
-
x: d,
|
|
1276
|
-
width: f
|
|
1277
|
-
}) => {
|
|
1278
|
-
const w = d / f;
|
|
1279
|
-
o(w), h();
|
|
1280
|
-
const m = i.color.getHsva(), y = new S().setHsva(m.hue, m.saturation, m.value, w);
|
|
1281
|
-
i.color != null ? t.emit("update:color", y) : i.color == null && c.value && t.emit("update:color", null);
|
|
1282
|
-
};
|
|
1283
|
-
return Z(() => {
|
|
1284
|
-
const d = i.color.getHsva();
|
|
1285
|
-
o(d.alpha);
|
|
1286
|
-
}), $(() => i.color, (d) => {
|
|
1287
|
-
const f = d.getHsva();
|
|
1288
|
-
o(f.alpha);
|
|
1289
|
-
}), () => b("div", {
|
|
1290
|
-
class: "f-alpha-component",
|
|
1291
|
-
ref: e,
|
|
1292
|
-
onMousedown: U((d) => l(d), ["prevent"]),
|
|
1293
|
-
onTouchstart: U((d) => l(d), ["prevent"])
|
|
1294
|
-
}, [b("div", {
|
|
1295
|
-
class: "color-alpha-slider__bar"
|
|
1296
|
-
}, [Pt(" ")]), b("div", {
|
|
1297
|
-
class: "color-alpha-slider__thumb",
|
|
1298
|
-
ref: n
|
|
1299
|
-
}, null)]);
|
|
1300
|
-
}
|
|
1301
|
-
});
|
|
1302
|
-
const he = {
|
|
1303
|
-
color: { type: Object, default: "" },
|
|
1304
|
-
hue: { type: Object, default: "" },
|
|
1305
|
-
colorPresets: { type: Object, default: "" },
|
|
1306
|
-
randomId: { type: String, default: "" }
|
|
1307
|
-
}, de = /* @__PURE__ */ q({
|
|
1308
|
-
name: "Preset",
|
|
1309
|
-
props: he,
|
|
1310
|
-
emits: ["update:hue", "update:color"],
|
|
1311
|
-
setup(i, t) {
|
|
1312
|
-
const e = k(new S()), n = k(i.colorPresets), r = k(i.randomId);
|
|
1313
|
-
function c() {
|
|
1314
|
-
const p = document.getElementById(`farris-color-picker-plus-sure-${r.value}`);
|
|
1315
|
-
p.className = "btn btn-secondary";
|
|
1316
|
-
const d = document.getElementById(`farris-color-picker-plus-input-${r.value}`);
|
|
1317
|
-
d.style.borderColor = "#dcdfe6";
|
|
1318
|
-
}
|
|
1319
|
-
function o(p) {
|
|
1320
|
-
c();
|
|
1321
|
-
const d = p.getRgba(), f = p.getHsva(), w = new S().setRgba(d.red, d.green, d.blue, d.alpha), m = new S().setHsva(f.hue);
|
|
1322
|
-
e.value = p, t.emit("update:hue", m), t.emit("update:color", w);
|
|
1323
|
-
}
|
|
1324
|
-
function l(p) {
|
|
1325
|
-
const d = e.value.getRgba().toString(), f = e.value.getHsva().toString(), w = p.getRgba().toString() === d && p.getHsva().toString() === f;
|
|
1326
|
-
return {
|
|
1327
|
-
"color-preset__color-selector": w,
|
|
1328
|
-
selected: w
|
|
1329
|
-
};
|
|
1330
|
-
}
|
|
1331
|
-
function h(p, d) {
|
|
1332
|
-
return b("div", {
|
|
1333
|
-
class: "color-preset__color-selector"
|
|
1334
|
-
}, [b("div", {
|
|
1335
|
-
key: d,
|
|
1336
|
-
class: l(p),
|
|
1337
|
-
style: {
|
|
1338
|
-
backgroundColor: p.toRgbString()
|
|
1339
|
-
},
|
|
1340
|
-
onClick: () => o(p)
|
|
1341
|
-
}, null)]);
|
|
1342
|
-
}
|
|
1343
|
-
return () => b("div", {
|
|
1344
|
-
class: "f-preset-component"
|
|
1345
|
-
}, [b("div", {
|
|
1346
|
-
class: "color-preset__colors"
|
|
1347
|
-
}, [n.value.map((p, d) => h(p, d))])]);
|
|
1348
|
-
}
|
|
1349
|
-
});
|
|
1350
|
-
const St = /* @__PURE__ */ q({
|
|
1351
|
-
name: "FColorPicker",
|
|
1352
|
-
props: Wt,
|
|
1353
|
-
emits: ["valueChanged", "activeChange", "update:color", "update:hue"],
|
|
1354
|
-
setup(i, t) {
|
|
1355
|
-
const e = k(new S(i.color)), n = k(i.color), r = k(i.disabled), c = k(i.color);
|
|
1356
|
-
k(i.editable);
|
|
1357
|
-
const o = k(i.allowColorNull), l = k(i.presets), h = k(!1), p = k(!1), d = k(!1), f = k("HEX"), w = Math.floor(Math.random() * 1e3).toString();
|
|
1358
|
-
let m = -1, y, g = new Vt("#000000");
|
|
1359
|
-
const H = k(i.color);
|
|
1360
|
-
let x, P;
|
|
1361
|
-
const M = k(null), V = k(null), O = k(null);
|
|
1362
|
-
let X = L(() => !y && g && g.initType ? g.initType : y);
|
|
1363
|
-
const B = L({
|
|
1364
|
-
get() {
|
|
1365
|
-
return y && n.value !== null ? (et(y), N(new S(n.value), E[y])) : n.value;
|
|
1366
|
-
},
|
|
1367
|
-
set(v) {
|
|
1368
|
-
v !== null && (A(v), gt(v));
|
|
1369
|
-
}
|
|
1370
|
-
}), _ = k(B.value), Ot = L(() => m > -1), ft = L(() => l.value.length > 0), $t = L(() => ({
|
|
1371
|
-
"background-color": c.value
|
|
1372
|
-
})), At = L(() => p.value && h.value ? "visibility:visible" : "visibility:hidden"), z = [{
|
|
1373
|
-
text: "HEX",
|
|
1374
|
-
type: E.hex
|
|
1375
|
-
}, {
|
|
1376
|
-
text: "RGBA",
|
|
1377
|
-
type: E.rgba
|
|
1378
|
-
}];
|
|
1379
|
-
function jt() {
|
|
1380
|
-
const v = document.getElementById("farris-color-picker-panel");
|
|
1381
|
-
v.id = `farris-color-picker-panel-${w}`;
|
|
1382
|
-
const I = document.getElementById("farris-color-picker-plus-sure");
|
|
1383
|
-
I.id = `farris-color-picker-plus-sure-${w}`;
|
|
1384
|
-
const j = document.getElementById("farris-color-picker-plus-input");
|
|
1385
|
-
j.id = `farris-color-picker-plus-input-${w}`, P = document.getElementById(`farris-color-picker-plus-sure-${w}`), x = document.getElementById(`farris-color-picker-panel-${w}`), x.className = "color-picker-panel disabled";
|
|
1386
|
-
}
|
|
1387
|
-
function pt() {
|
|
1388
|
-
if (!o.value && !n.value) {
|
|
1389
|
-
document.getElementById(`farris-color-picker-plus-sure-${w}`).classList.toggle("disabled");
|
|
1390
|
-
const I = document.getElementById(`farris-color-picker-plus-input-${w}`);
|
|
1391
|
-
I.style.borderColor = "red";
|
|
1392
|
-
}
|
|
1393
|
-
}
|
|
1394
|
-
function Nt() {
|
|
1395
|
-
n.value && (A(n.value), !n.value && o.value || (n.value = N(new S(n.value), E[X.value])), _.value = B.value), tt(et(g.initType));
|
|
1396
|
-
}
|
|
1397
|
-
function Lt() {
|
|
1398
|
-
n.value && A(n.value), g.hasPresets() || g.setColorPresets(l.value), n.value ? c.value = N(new S(n.value), E[X.value]) : !n.value && o.value && (c.value = null);
|
|
1399
|
-
}
|
|
1400
|
-
function Ut() {
|
|
1401
|
-
g.valueChanges.subscribe((v) => {
|
|
1402
|
-
const I = N(v, E[y || g.initType]);
|
|
1403
|
-
n.value = I;
|
|
1404
|
-
});
|
|
1405
|
-
}
|
|
1406
|
-
function tt(v) {
|
|
1407
|
-
f.value = z[v].text;
|
|
1408
|
-
}
|
|
1409
|
-
function Ft() {
|
|
1410
|
-
var v;
|
|
1411
|
-
p.value = !!(y != null && y.includes("a") || (v = g.initType) != null && v.includes("a"));
|
|
1412
|
-
}
|
|
1413
|
-
zt(() => {
|
|
1414
|
-
g.setColorPresets(l.value || ["#eaecf3"]);
|
|
1415
|
-
}), Z(() => {
|
|
1416
|
-
jt(), pt(), Nt(), Lt();
|
|
1417
|
-
}), $(f, () => {
|
|
1418
|
-
Ut(), B.value = N(new S(n.value), E[y || g.initType]), e.value = new S(B.value), Ft();
|
|
1419
|
-
}), $(n, (v) => {
|
|
1420
|
-
N(g.value, g.initType) !== v && v !== null && A(v), tt(et(g.initType));
|
|
1421
|
-
}), $(e, (v) => {
|
|
1422
|
-
n.value = N(v, E[y || g.initType]), A(n.value), B.value = n.value;
|
|
1423
|
-
});
|
|
1424
|
-
function gt(v) {
|
|
1425
|
-
const I = document.getElementById(`farris-color-picker-plus-input-${w}`);
|
|
1426
|
-
(v == "" || v == null || v == null) && !o.value ? (n.value = null, I.style.borderColor = "red", P.className = "btn btn-secondary disabled") : (I.style.borderColor = "#dcdfe6", P.className = "btn btn-secondary");
|
|
1427
|
-
}
|
|
1428
|
-
function Yt() {
|
|
1429
|
-
var v, I;
|
|
1430
|
-
if (o.value) {
|
|
1431
|
-
c.value = (n == null ? void 0 : n.value) ?? null;
|
|
1432
|
-
const j = {
|
|
1433
|
-
elementValue: c
|
|
1434
|
-
};
|
|
1435
|
-
t.emit("valueChanged", j), x.classList.toggle("disabled");
|
|
1436
|
-
}
|
|
1437
|
-
if (!o.value && !(B.value == null || B.value == null || B.value == "")) {
|
|
1438
|
-
(I = (v = M.value) == null ? void 0 : v.style) == null || I.setProperty("background", n.value), d.value = !0, c.value = n.value;
|
|
1439
|
-
const j = {
|
|
1440
|
-
elementValue: c
|
|
1441
|
-
};
|
|
1442
|
-
t.emit("valueChanged", j), x.classList.toggle("disabled");
|
|
1443
|
-
}
|
|
1444
|
-
!H.value && !n.value && !d.value && o && x.classList.toggle("disabled"), gt(n.value), B.value = n.value, P.classList.contains("disabled") || (_.value = n.value, h.value = !1);
|
|
1445
|
-
}
|
|
1446
|
-
function A(v) {
|
|
1447
|
-
g == null || g.setValueFrom(v, w, o.value);
|
|
1448
|
-
}
|
|
1449
|
-
function Dt(v) {
|
|
1450
|
-
r.value || (h.value = !0, x.classList.toggle("disabled"), pt(), A(n.value));
|
|
1451
|
-
}
|
|
1452
|
-
function et(v) {
|
|
1453
|
-
const I = z.findIndex((j) => j.type === v);
|
|
1454
|
-
return m = I, I;
|
|
1455
|
-
}
|
|
1456
|
-
function vt(v) {
|
|
1457
|
-
if (!P.classList.contains("disabled")) {
|
|
1458
|
-
const I = z.length;
|
|
1459
|
-
m = (I + m + (v === "up" ? 1 : -1)) % I, y = z[m].type, tt(m), A(n.value);
|
|
1460
|
-
}
|
|
1461
|
-
}
|
|
1462
|
-
return () => b("div", {
|
|
1463
|
-
class: "f-color-picker-component",
|
|
1464
|
-
ref: V
|
|
1465
|
-
}, [b("div", {
|
|
1466
|
-
class: ["color-picker-panel", {
|
|
1467
|
-
disabled: r.value
|
|
1468
|
-
}],
|
|
1469
|
-
id: "farris-color-picker-panel",
|
|
1470
|
-
ref: O,
|
|
1471
|
-
onClick: (v) => v.stopPropagation,
|
|
1472
|
-
style: "top:30px"
|
|
1473
|
-
}, [b("div", {
|
|
1474
|
-
class: "color-picker-main"
|
|
1475
|
-
}, [b(oe, {
|
|
1476
|
-
hue: g.hue,
|
|
1477
|
-
"onUpdate:hue": (v) => g.hue = v,
|
|
1478
|
-
allowColorNull: o.value,
|
|
1479
|
-
color: e.value,
|
|
1480
|
-
"onUpdate:color": (v) => e.value = v
|
|
1481
|
-
}, null), b(ae, {
|
|
1482
|
-
randomId: w,
|
|
1483
|
-
hue: g.hue,
|
|
1484
|
-
"onUpdate:hue": (v) => g.hue = v,
|
|
1485
|
-
allowColorNull: o.value,
|
|
1486
|
-
color: e.value,
|
|
1487
|
-
"onUpdate:color": (v) => e.value = v
|
|
1488
|
-
}, null)]), b(le, {
|
|
1489
|
-
style: At.value,
|
|
1490
|
-
randomId: w,
|
|
1491
|
-
allowColorNull: o.value,
|
|
1492
|
-
color: e.value,
|
|
1493
|
-
"onUpdate:color": (v) => e.value = v
|
|
1494
|
-
}, null), b("div", {
|
|
1495
|
-
class: "input-btn",
|
|
1496
|
-
style: "display:flex;align-items: center;"
|
|
1497
|
-
}, [G(b("span", {
|
|
1498
|
-
style: "width:40px;margin-right:10px;"
|
|
1499
|
-
}, [f.value]), [[nt, ft]]), G(b("input", {
|
|
1500
|
-
type: "text",
|
|
1501
|
-
id: "farris-color-picker-plus-input",
|
|
1502
|
-
"onUpdate:modelValue": (v) => B.value = v,
|
|
1503
|
-
style: "float:none"
|
|
1504
|
-
}, null), [[Gt, B.value]]), G(b("div", {
|
|
1505
|
-
class: "type-icon-btn-wrapper",
|
|
1506
|
-
style: "cursor:pointer"
|
|
1507
|
-
}, [b("span", {
|
|
1508
|
-
class: "f-icon f-icon-arrow-60-up type-icon-btn",
|
|
1509
|
-
onClick: () => vt("up")
|
|
1510
|
-
}, null), b("span", {
|
|
1511
|
-
class: "f-icon f-icon-arrow-60-down type-icon-btn",
|
|
1512
|
-
onClick: () => vt("down")
|
|
1513
|
-
}, null)]), [[nt, ft]]), b("div", {
|
|
1514
|
-
class: "input-btn"
|
|
1515
|
-
}, [b("button", {
|
|
1516
|
-
id: "farris-color-picker-plus-sure",
|
|
1517
|
-
class: "btn btn-secondary",
|
|
1518
|
-
onClick: Yt
|
|
1519
|
-
}, [Pt("确定")])])]), G(b(de, {
|
|
1520
|
-
color: e.value,
|
|
1521
|
-
"onUpdate:color": (v) => e.value = v,
|
|
1522
|
-
colorPresets: g.presets,
|
|
1523
|
-
hue: g.hue,
|
|
1524
|
-
"onUpdate:hue": (v) => g.hue = v,
|
|
1525
|
-
randomId: w
|
|
1526
|
-
}, null), [[nt, Ot]])]), b("div", {
|
|
1527
|
-
class: "color-picker-wrapper"
|
|
1528
|
-
}, [b("input", {
|
|
1529
|
-
type: "text",
|
|
1530
|
-
class: "color-picker-input form-control",
|
|
1531
|
-
value: _.value,
|
|
1532
|
-
readonly: i.editable || i.disabled,
|
|
1533
|
-
onClick: (v) => v.stopPropagation()
|
|
1534
|
-
}, null), b("div", {
|
|
1535
|
-
class: "color-picker-trigger",
|
|
1536
|
-
onClick: Dt
|
|
1537
|
-
}, [b("div", {
|
|
1538
|
-
class: "color-picker-trigger-inner"
|
|
1539
|
-
}, [b("div", {
|
|
1540
|
-
style: $t.value
|
|
1541
|
-
}, null)])])])]);
|
|
1542
|
-
}
|
|
1543
|
-
}), ge = {
|
|
1544
|
-
install(i) {
|
|
1545
|
-
i.component(St.name, St);
|
|
1546
|
-
}
|
|
1547
|
-
};
|
|
1548
|
-
export {
|
|
1549
|
-
St as ColorPicker,
|
|
1550
|
-
ge as default
|
|
1551
|
-
};
|