@farris/ui-vue 1.1.0 → 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 +36212 -34520
- package/farris.all.umd.cjs +26 -0
- package/package.json +2 -3
- package/style.css +1 -1
- package/accordion/index.esm.js +0 -530
- package/accordion/index.umd.js +0 -1
- package/accordion/package.json +0 -8
- package/avatar/index.esm.js +0 -478
- package/avatar/index.umd.js +0 -1
- package/avatar/package.json +0 -8
- package/border-editor/index.esm.js +0 -5223
- package/border-editor/index.umd.js +0 -3
- package/border-editor/package.json +0 -8
- package/border-editor/style.css +0 -1
- package/button/index.esm.js +0 -825
- package/button/index.umd.js +0 -1
- package/button/package.json +0 -8
- package/button-edit/index.esm.js +0 -1807
- package/button-edit/index.umd.js +0 -1
- package/button-edit/package.json +0 -8
- package/calculator/index.esm.js +0 -315
- package/calculator/index.umd.js +0 -1
- package/calculator/package.json +0 -8
- package/calendar/index.esm.js +0 -1110
- package/calendar/index.umd.js +0 -1
- package/calendar/package.json +0 -8
- package/capsule/index.esm.js +0 -518
- package/capsule/index.umd.js +0 -1
- package/capsule/package.json +0 -8
- package/checkbox/index.esm.js +0 -489
- package/checkbox/index.umd.js +0 -1
- package/checkbox/package.json +0 -8
- package/color-picker/index.esm.js +0 -2081
- package/color-picker/index.umd.js +0 -3
- package/color-picker/package.json +0 -8
- package/combo-list/index.esm.js +0 -2931
- package/combo-list/index.umd.js +0 -1
- package/combo-list/package.json +0 -8
- package/combo-tree/index.esm.js +0 -20799
- package/combo-tree/index.umd.js +0 -16
- package/combo-tree/package.json +0 -8
- package/combo-tree/style.css +0 -1
- package/common/index.esm.js +0 -1656
- package/common/index.umd.js +0 -1
- package/common/package.json +0 -8
- package/component/index.esm.js +0 -1022
- package/component/index.umd.js +0 -1
- package/component/package.json +0 -8
- package/condition/index.esm.js +0 -43141
- package/condition/index.umd.js +0 -19
- package/condition/package.json +0 -8
- package/condition/style.css +0 -1
- package/content-container/index.esm.js +0 -1139
- package/content-container/index.umd.js +0 -1
- package/content-container/package.json +0 -8
- package/data-grid/index.esm.js +0 -43296
- package/data-grid/index.umd.js +0 -19
- package/data-grid/package.json +0 -8
- package/data-grid/style.css +0 -1
- package/data-view/index.esm.js +0 -43195
- package/data-view/index.umd.js +0 -19
- package/data-view/package.json +0 -8
- package/data-view/style.css +0 -1
- package/date-picker/index.esm.js +0 -4865
- package/date-picker/index.umd.js +0 -1
- package/date-picker/package.json +0 -8
- package/designer/src/composition/dom-entity.d.ts +0 -545
- package/discussion-editor/index.esm.js +0 -3788
- package/discussion-editor/index.umd.js +0 -3
- 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 -645
- package/dropdown/index.umd.js +0 -1
- package/dropdown/package.json +0 -8
- package/dynamic-form/index.esm.js +0 -43136
- package/dynamic-form/index.umd.js +0 -19
- package/dynamic-form/package.json +0 -8
- package/dynamic-form/style.css +0 -1
- package/dynamic-resolver/index.esm.js +0 -103
- package/dynamic-resolver/index.umd.js +0 -1
- package/dynamic-resolver/package.json +0 -8
- package/dynamic-view/index.esm.js +0 -43176
- package/dynamic-view/index.umd.js +0 -19
- package/dynamic-view/package.json +0 -8
- package/dynamic-view/style.css +0 -1
- package/enum-editor/index.esm.js +0 -2612
- package/enum-editor/index.umd.js +0 -1
- package/enum-editor/package.json +0 -8
- package/events-editor/index.esm.js +0 -1600
- package/events-editor/index.umd.js +0 -1
- package/events-editor/package.json +0 -8
- package/events-editor/style.css +0 -1
- package/farris.all.umd.js +0 -26
- package/field-selector/index.esm.js +0 -44391
- package/field-selector/index.umd.js +0 -19
- package/field-selector/package.json +0 -8
- package/field-selector/style.css +0 -1
- package/filter-bar/index.esm.js +0 -926
- package/filter-bar/index.umd.js +0 -1
- package/filter-bar/package.json +0 -8
- package/image-cropper/index.esm.js +0 -1121
- package/image-cropper/index.umd.js +0 -1
- package/image-cropper/package.json +0 -8
- package/input-group/index.esm.js +0 -831
- package/input-group/index.umd.js +0 -1
- package/input-group/package.json +0 -8
- package/layout/index.esm.js +0 -834
- package/layout/index.umd.js +0 -1
- package/layout/package.json +0 -8
- package/list-nav/index.esm.js +0 -1145
- package/list-nav/index.umd.js +0 -1
- package/list-nav/package.json +0 -8
- package/list-view/index.esm.js +0 -1191
- package/list-view/index.umd.js +0 -1
- package/list-view/package.json +0 -8
- package/loading/index.esm.js +0 -142
- package/loading/index.umd.js +0 -8
- package/loading/package.json +0 -8
- 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 -578
- package/message-box/index.umd.js +0 -1
- package/message-box/package.json +0 -8
- package/modal/index.esm.js +0 -218
- package/modal/index.umd.js +0 -1
- package/modal/package.json +0 -8
- package/nav/index.esm.js +0 -1728
- package/nav/index.umd.js +0 -3
- package/nav/package.json +0 -8
- package/notify/index.esm.js +0 -258
- package/notify/index.umd.js +0 -1
- package/notify/package.json +0 -8
- package/order/index.esm.js +0 -4151
- package/order/index.umd.js +0 -1
- package/order/package.json +0 -8
- package/page-footer/index.esm.js +0 -1356
- package/page-footer/index.umd.js +0 -1
- package/page-footer/package.json +0 -8
- package/page-header/index.esm.js +0 -2141
- package/page-header/index.umd.js +0 -1
- package/page-header/package.json +0 -8
- package/pagination/index.esm.js +0 -1565
- package/pagination/index.umd.js +0 -1
- package/pagination/package.json +0 -8
- package/popover/index.esm.js +0 -224
- package/popover/index.umd.js +0 -1
- package/popover/package.json +0 -8
- package/progress/index.esm.js +0 -668
- package/progress/index.umd.js +0 -3
- package/progress/package.json +0 -8
- package/property-panel/index.esm.js +0 -43139
- package/property-panel/index.umd.js +0 -19
- package/property-panel/package.json +0 -8
- package/property-panel/style.css +0 -1
- package/radio-group/index.esm.js +0 -448
- package/radio-group/index.umd.js +0 -1
- package/radio-group/package.json +0 -8
- package/rate/index.esm.js +0 -612
- package/rate/index.umd.js +0 -1
- package/rate/package.json +0 -8
- package/response-layout/index.esm.js +0 -483
- package/response-layout/index.umd.js +0 -1
- package/response-layout/package.json +0 -8
- package/response-layout-editor/index.esm.js +0 -3780
- package/response-layout-editor/index.umd.js +0 -1
- package/response-layout-editor/package.json +0 -8
- package/response-layout-editor/style.css +0 -1
- package/response-toolbar/index.esm.js +0 -1526
- package/response-toolbar/index.umd.js +0 -1
- package/response-toolbar/package.json +0 -8
- package/search-box/index.esm.js +0 -456
- package/search-box/index.umd.js +0 -1
- package/search-box/package.json +0 -8
- package/section/index.esm.js +0 -2201
- package/section/index.umd.js +0 -1
- package/section/package.json +0 -8
- package/smoke-detector/index.esm.js +0 -383
- package/smoke-detector/index.umd.js +0 -1
- package/smoke-detector/package.json +0 -8
- package/smoke-detector/style.css +0 -1
- package/spacing-editor/index.esm.js +0 -3484
- package/spacing-editor/index.umd.js +0 -1
- package/spacing-editor/package.json +0 -8
- package/spacing-editor/style.css +0 -1
- package/splitter/index.esm.js +0 -842
- 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 -553
- package/step/index.umd.js +0 -1
- package/step/package.json +0 -8
- package/switch/index.esm.js +0 -447
- package/switch/index.umd.js +0 -1
- package/switch/package.json +0 -8
- package/tabs/index.esm.js +0 -4688
- package/tabs/index.umd.js +0 -1
- package/tabs/package.json +0 -8
- package/tags/index.esm.js +0 -810
- package/tags/index.umd.js +0 -1
- package/tags/package.json +0 -8
- package/text/index.esm.js +0 -366
- package/text/index.umd.js +0 -1
- package/text/package.json +0 -8
- package/time-picker/index.esm.js +0 -2147
- package/time-picker/index.umd.js +0 -1
- package/time-picker/package.json +0 -8
- package/tooltip/index.esm.js +0 -260
- package/tooltip/index.umd.js +0 -1
- package/tooltip/package.json +0 -8
- package/transfer/index.esm.js +0 -1180
- package/transfer/index.umd.js +0 -1
- package/transfer/package.json +0 -8
- package/tree-grid/index.esm.js +0 -44354
- package/tree-grid/index.umd.js +0 -19
- package/tree-grid/package.json +0 -8
- package/tree-grid/style.css +0 -1
- package/tree-view/index.esm.js +0 -19597
- package/tree-view/index.umd.js +0 -16
- 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/accordion/src/schema/schema-resolver.d.ts +0 -2
- package/types/avatar/index.d.ts +0 -25
- package/types/avatar/src/avatar.component.d.ts +0 -6
- package/types/avatar/src/avatar.props.d.ts +0 -19
- package/types/avatar/src/composition/types.d.ts +0 -31
- package/types/avatar/src/composition/use-image.d.ts +0 -19
- package/types/avatar/src/designer/avatar.design.component.d.ts +0 -6
- package/types/avatar/src/schema/schema-mapper.d.ts +0 -2
- package/types/avatar/src/schema/schema-resolver.d.ts +0 -2
- package/types/border-editor/index.d.ts +0 -23
- package/types/border-editor/src/border-editor.component.d.ts +0 -6
- package/types/border-editor/src/border-editor.props.d.ts +0 -3
- package/types/border-editor/src/components/border-editor-basic.component.d.ts +0 -5
- package/types/border-editor/src/components/border-editor-radius.component.d.ts +0 -5
- package/types/button/index.d.ts +0 -27
- package/types/button/src/button-group.component.d.ts +0 -6
- package/types/button/src/button-group.props.d.ts +0 -20
- package/types/button/src/button.component.d.ts +0 -42
- package/types/button/src/button.props.d.ts +0 -53
- package/types/button/src/components/button-group-dropdown-menu.component.d.ts +0 -6
- package/types/button/src/components/button-group-dropdown.component.d.ts +0 -5
- package/types/button/src/composition/types.d.ts +0 -35
- package/types/button/src/composition/use-button.d.ts +0 -19
- package/types/button/src/composition/use-icon.d.ts +0 -3
- package/types/button/src/composition/use-popup.d.ts +0 -19
- package/types/button/src/designer/button-group.design.component.d.ts +0 -6
- package/types/button/src/schema/schema-mapper.d.ts +0 -2
- package/types/button/src/schema/schema-resolver.d.ts +0 -2
- 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 -128
- 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/designer/button-edit.design.component.d.ts +0 -6
- package/types/button-edit/src/schema/schema-mapper.d.ts +0 -2
- package/types/button-edit/src/schema/schema-resolver.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 -23
- package/types/calendar/src/calendar.props.d.ts +0 -4
- 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/schema/schema-mapper.d.ts +0 -2
- package/types/calendar/src/schema/schema-resolver.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 -10
- package/types/capsule/src/capsule.props.d.ts +0 -39
- package/types/capsule/src/schema/schema-mapper.d.ts +0 -2
- package/types/capsule/src/schema/schema-resolver.d.ts +0 -2
- package/types/checkbox/index.d.ts +0 -25
- 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/checkbox.props.d.ts +0 -44
- 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/designer/checkbox-group.design.component.d.ts +0 -6
- package/types/checkbox/src/schema/schema-mapper.d.ts +0 -2
- package/types/checkbox/src/schema/schema-resolver.d.ts +0 -2
- package/types/color-picker/index.d.ts +0 -24
- package/types/color-picker/src/color-picker.component.d.ts +0 -6
- package/types/color-picker/src/color-picker.props.d.ts +0 -22
- 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 -20
- 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/color-picker/src/designer/color-picker.design.component.d.ts +0 -6
- package/types/color-picker/src/schema/schema-mapper.d.ts +0 -2
- package/types/color-picker/src/schema/schema-resolver.d.ts +0 -2
- 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 -65
- 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/combo-list/src/schema/schema-resolver.d.ts +0 -2
- package/types/combo-tree/index.d.ts +0 -23
- package/types/combo-tree/src/combo-tree.props.d.ts +0 -58
- package/types/combo-tree/src/components/tree-container.props.d.ts +0 -60
- package/types/combo-tree/src/composition/types.d.ts +0 -11
- package/types/combo-tree/src/composition/use-data-source.d.ts +0 -3
- package/types/common/date/date-converter.d.ts +0 -9
- package/types/common/index.d.ts +0 -5
- package/types/common/text-box/composition/use-clear.d.ts +0 -3
- package/types/common/text-box/composition/use-text-box.d.ts +0 -18
- package/types/common/types.d.ts +0 -50
- package/types/component/index.d.ts +0 -26
- package/types/component/src/component.props.d.ts +0 -4
- package/types/component/src/designer/use-designer-rules.d.ts +0 -3
- package/types/component/src/schema/schema-mapper.d.ts +0 -2
- package/types/component/src/schema/schema-resolver.d.ts +0 -2
- package/types/condition/index.d.ts +0 -28
- package/types/condition/src/composition/condition-value/checkbox-value.d.ts +0 -14
- package/types/condition/src/composition/condition-value/combo-lookup-value.d.ts +0 -20
- package/types/condition/src/composition/condition-value/date-picker-value.d.ts +0 -26
- package/types/condition/src/composition/condition-value/date-range-value.d.ts +0 -19
- package/types/condition/src/composition/condition-value/datetime-picker-value.d.ts +0 -14
- package/types/condition/src/composition/condition-value/dropdown-value.d.ts +0 -19
- package/types/condition/src/composition/condition-value/input-group-value.d.ts +0 -22
- package/types/condition/src/composition/condition-value/lookup-value.d.ts +0 -22
- package/types/condition/src/composition/condition-value/month-picker-value.d.ts +0 -16
- package/types/condition/src/composition/condition-value/month-range-value.d.ts +0 -19
- package/types/condition/src/composition/condition-value/number-range-value.d.ts +0 -22
- package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +0 -14
- package/types/condition/src/composition/condition-value/radio-group-value.d.ts +0 -14
- package/types/condition/src/composition/condition-value/text-value.d.ts +0 -14
- package/types/condition/src/composition/condition-value/types.d.ts +0 -10
- package/types/condition/src/composition/types.d.ts +0 -45
- 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-field-config.d.ts +0 -4
- package/types/condition/src/composition/use-selection.d.ts +0 -4
- package/types/condition/src/composition/use-size.d.ts +0 -4
- package/types/condition/src/condition-fields.component.d.ts +0 -96
- package/types/condition/src/condition-list.component.d.ts +0 -96
- package/types/condition/src/condition.props.d.ts +0 -65
- package/types/condition/src/types.d.ts +0 -153
- 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/content-container/src/schema/schema-resolver.d.ts +0 -2
- package/types/data-grid/index.d.ts +0 -26
- package/types/data-grid/src/composition/types.d.ts +0 -301
- package/types/data-grid/src/composition/use-column.d.ts +0 -20
- package/types/data-grid/src/composition/use-data-view.d.ts +0 -29
- package/types/data-grid/src/data-grid.props.d.ts +0 -517
- package/types/data-grid/src/designer/use-designer-rules.d.ts +0 -3
- package/types/data-grid/src/schema/column-resolver.d.ts +0 -3
- package/types/data-grid/src/schema/schema-mapper.d.ts +0 -2
- package/types/data-grid/src/schema/schema-resolver.d.ts +0 -2
- package/types/data-view/components/column-filter/boolean-filter-editor.component.d.ts +0 -2
- package/types/data-view/components/column-filter/column-filter-container.component.d.ts +0 -19
- package/types/data-view/components/column-filter/date-filter-editor.component.d.ts +0 -2
- package/types/data-view/components/column-filter/enum-filter-editor.component.d.ts +0 -3
- package/types/data-view/components/column-filter/list-filter-editor.component.d.ts +0 -2
- package/types/data-view/components/column-filter/numeric-filter-editor.component.d.ts +0 -2
- package/types/data-view/components/column-filter/text-filter-editor.component.d.ts +0 -3
- package/types/data-view/components/column-header/column-header-handler.component.d.ts +0 -20
- package/types/data-view/components/column-setting/column-setting-icon.component.d.ts +0 -20
- package/types/data-view/components/editors/commands.component.d.ts +0 -17
- package/types/data-view/components/editors/date-picker.component.d.ts +0 -17
- package/types/data-view/components/editors/text-area-editor.component.d.ts +0 -2
- package/types/data-view/components/editors/text-editor.component.d.ts +0 -17
- package/types/data-view/components/filter-panel/filter-panel.component.d.ts +0 -4
- package/types/data-view/components/group-panel/group-panel.component.d.ts +0 -4
- package/types/data-view/components/mask/grid-mask.component.d.ts +0 -3
- package/types/data-view/components/pagination/data-grid-pagination.component.d.ts +0 -4
- package/types/data-view/components/scrollbar/horizontal-scrollbar.component.d.ts +0 -20
- package/types/data-view/components/scrollbar/vertical-scrollbar.component.d.ts +0 -20
- package/types/data-view/components/sidebar/data-grid-sidebar.component.d.ts +0 -20
- package/types/data-view/components/summary/data-grid-summary.component.d.ts +0 -4
- package/types/data-view/composition/appearance/use-cell-position.d.ts +0 -18
- package/types/data-view/composition/appearance/use-data-view-conainer-style.d.ts +0 -2
- package/types/data-view/composition/appearance/use-hierarchy-style.d.ts +0 -6
- package/types/data-view/composition/column/use-column-filter.d.ts +0 -3
- package/types/data-view/composition/column/use-column.d.ts +0 -2
- package/types/data-view/composition/column/use-command-column.d.ts +0 -2
- package/types/data-view/composition/column/use-drag-column.d.ts +0 -3
- package/types/data-view/composition/column/use-fit-column.d.ts +0 -18
- package/types/data-view/composition/column/use-group-column.d.ts +0 -20
- package/types/data-view/composition/column/use-resize.d.ts +0 -18
- package/types/data-view/composition/data/use-data-view.d.ts +0 -2
- package/types/data-view/composition/data/use-group-data.d.ts +0 -2
- package/types/data-view/composition/data/use-hierarchy-data.d.ts +0 -3
- package/types/data-view/composition/filter/use-filter-history.d.ts +0 -2
- package/types/data-view/composition/filter/use-filter.d.ts +0 -2
- package/types/data-view/composition/hierarchy/use-cascade.d.ts +0 -3
- package/types/data-view/composition/hierarchy/use-hierarchy.d.ts +0 -2
- package/types/data-view/composition/hierarchy/use-select-hierarchy-item.d.ts +0 -4
- package/types/data-view/composition/hierarchy/use-toggle-hierarchy-item.d.ts +0 -3
- package/types/data-view/composition/hierarchy/use-tree-node-icon.d.ts +0 -4
- package/types/data-view/composition/types.d.ts +0 -732
- package/types/data-view/composition/use-edit.d.ts +0 -17
- package/types/data-view/composition/use-row.d.ts +0 -18
- package/types/data-view/composition/use-selection.d.ts +0 -18
- package/types/data-view/composition/use-sidebar.d.ts +0 -2
- package/types/data-view/composition/use-sort.d.ts +0 -2
- package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -18
- package/types/data-view/composition/visualization/use-visual-data-bound.d.ts +0 -2
- package/types/data-view/composition/visualization/use-visual-data-cell.d.ts +0 -2
- package/types/data-view/composition/visualization/use-visual-data.d.ts +0 -18
- package/types/data-view/composition/visualization/use-visual-group-row.d.ts +0 -2
- package/types/data-view/composition/visualization/use-visual-summary-row.d.ts +0 -2
- package/types/data-view/index.d.ts +0 -39
- package/types/date-picker/index.d.ts +0 -31
- 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 -6
- package/types/date-picker/src/components/date-picker-container/date-picker-container.props.d.ts +0 -20
- 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 -103
- 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 -17
- 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/schema/schema-resolver.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/control-tree-view.component.d.ts +0 -88
- package/types/designer-canvas/src/components/maps.d.ts +0 -4
- package/types/designer-canvas/src/composition/designer-canvas-changed.d.ts +0 -7
- package/types/designer-canvas/src/composition/entity/property-entity.d.ts +0 -167
- package/types/designer-canvas/src/composition/function/control-tree-view/change-control-tree-node.d.ts +0 -6
- package/types/designer-canvas/src/composition/function/control-tree-view/control-tree-builder.d.ts +0 -8
- package/types/designer-canvas/src/composition/function/control-tree-view/control-tree-node-builder.d.ts +0 -9
- package/types/designer-canvas/src/composition/function/use-designer-component.d.ts +0 -4
- package/types/designer-canvas/src/composition/props/control-tree-view.props.d.ts +0 -49
- package/types/designer-canvas/src/composition/props/designer-canvas.props.d.ts +0 -3
- package/types/designer-canvas/src/composition/props/designer-inner-item.props.d.ts +0 -3
- package/types/designer-canvas/src/composition/props/designer-item.props.d.ts +0 -3
- package/types/designer-canvas/src/composition/props/designer-placeholder.props.d.ts +0 -7
- package/types/designer-canvas/src/composition/props/toolbox.props.d.ts +0 -11
- package/types/designer-canvas/src/composition/rule/use-drag-drop-rules.d.ts +0 -19
- package/types/designer-canvas/src/composition/types.d.ts +0 -101
- package/types/designer-canvas/src/composition/use-dragula-common-rule.d.ts +0 -4
- package/types/designer-canvas/src/types.d.ts +0 -79
- 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 -11
- package/types/dropdown/src/components/dropdown.item.props.d.ts +0 -46
- package/types/dropdown/src/composition/use-dropdown.d.ts +0 -26
- package/types/dropdown/src/designer/dropdown.design.component.d.ts +0 -21
- package/types/dropdown/src/dropdown.component.d.ts +0 -21
- package/types/dropdown/src/dropdown.item.component.d.ts +0 -76
- package/types/dropdown/src/dropdown.props.d.ts +0 -19
- package/types/dropdown/src/schema/schema-mapper.d.ts +0 -2
- package/types/dropdown/src/schema/schema-resolver.d.ts +0 -2
- package/types/dropdown/src/types/types.d.ts +0 -23
- package/types/dynamic-form/index.d.ts +0 -14
- package/types/dynamic-form/src/component/dynamic-form-group/dynamic-form-group.component.d.ts +0 -6
- 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.component.d.ts +0 -37
- package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +0 -18
- package/types/dynamic-form/src/composition/types.d.ts +0 -6
- package/types/dynamic-form/src/composition/use-type-resolver.d.ts +0 -2
- package/types/dynamic-form/src/designer/use-designer-rules.d.ts +0 -3
- package/types/dynamic-form/src/response-form.props.d.ts +0 -4
- package/types/dynamic-form/src/schema/schema-mapper.d.ts +0 -2
- package/types/dynamic-form/src/schema/schema-resolver.d.ts +0 -2
- package/types/dynamic-form/src/types.d.ts +0 -17
- package/types/dynamic-resolver/index.d.ts +0 -4
- package/types/dynamic-resolver/src/common/appearance-resolver.d.ts +0 -6
- package/types/dynamic-resolver/src/common/toolbar-resolver.d.ts +0 -5
- package/types/dynamic-resolver/src/converter/buttons.converter.d.ts +0 -3
- package/types/dynamic-resolver/src/converter/property-editor.converter.d.ts +0 -3
- package/types/dynamic-resolver/src/object-expression.d.ts +0 -66
- package/types/dynamic-resolver/src/property-config-resolver.d.ts +0 -9
- package/types/dynamic-resolver/src/props-resolver.d.ts +0 -2
- package/types/dynamic-resolver/src/schema-resolver.d.ts +0 -7
- package/types/dynamic-resolver/src/types.d.ts +0 -11
- 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/enum-editor/index.d.ts +0 -23
- package/types/enum-editor/src/components/enum-editor-buttons.props.d.ts +0 -13
- package/types/enum-editor/src/components/enum-editor-table.props.d.ts +0 -29
- package/types/enum-editor/src/composition/types.d.ts +0 -4
- package/types/enum-editor/src/composition/use-move-data.d.ts +0 -7
- package/types/enum-editor/src/enum-editor.props.d.ts +0 -41
- package/types/events-editor/index.d.ts +0 -8
- package/types/events-editor/src/components/command-list/command-list.props.d.ts +0 -3
- package/types/events-editor/src/components/command-source/command-source.props.d.ts +0 -3
- package/types/events-editor/src/components/event-list/event-list.props.d.ts +0 -3
- package/types/events-editor/src/components/interaction-button/interaction-button.props.d.ts +0 -3
- package/types/events-editor/src/components/interaction-item/interaction-item.props.d.ts +0 -3
- package/types/events-editor/src/components/parameter-editor/parameter-editor.props.d.ts +0 -3
- package/types/events-editor/src/composition/types.d.ts +0 -37
- package/types/events-editor/src/composition/use-events-editor-util.d.ts +0 -5
- package/types/events-editor/src/composition/use-events.d.ts +0 -4
- package/types/events-editor/src/composition/use-interaction.d.ts +0 -4
- package/types/events-editor/src/composition/use-methods.d.ts +0 -4
- package/types/events-editor/src/events-editor.props.d.ts +0 -3
- package/types/events-editor/src/types.d.ts +0 -179
- package/types/field-selector/index.d.ts +0 -23
- package/types/field-selector/src/field-selector.props.d.ts +0 -121
- package/types/filter-bar/index.d.ts +0 -9
- 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/filter-bar.props.d.ts +0 -5
- package/types/filter-bar/src/schema/schema-mapper.d.ts +0 -2
- package/types/filter-bar/src/schema/schema-resolver.d.ts +0 -2
- package/types/filter-bar/src/types.d.ts +0 -12
- package/types/image-cropper/index.d.ts +0 -25
- 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/composition/use-image-info.d.ts +0 -38
- package/types/image-cropper/src/designer/image-cropper.design.component.d.ts +0 -6
- package/types/image-cropper/src/image-cropper.component.d.ts +0 -6
- package/types/image-cropper/src/image-cropper.props.d.ts +0 -19
- package/types/image-cropper/src/schema/schema-mapper.d.ts +0 -2
- package/types/image-cropper/src/schema/schema-resolver.d.ts +0 -2
- package/types/index.d.ts +0 -20
- 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/extend.component.d.ts +0 -3
- package/types/input-group/src/components/text-edit.component.d.ts +0 -5
- package/types/input-group/src/composition/types.d.ts +0 -38
- 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-text-box.d.ts +0 -4
- package/types/input-group/src/input-group.component.d.ts +0 -6
- 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/input-group/src/schema/schema-resolver.d.ts +0 -2
- package/types/layout/index.d.ts +0 -11
- package/types/layout/src/components/layout-panel.props.d.ts +0 -5
- package/types/layout/src/composition/types.d.ts +0 -23
- package/types/layout/src/composition/use-resize-handle.d.ts +0 -3
- package/types/layout/src/designer/layout-panel-use-designer-rules.d.ts +0 -3
- package/types/layout/src/designer/layout-use-designer-rules.d.ts +0 -3
- package/types/layout/src/layout.props.d.ts +0 -4
- package/types/layout/src/schema/schema-mapper.d.ts +0 -2
- package/types/layout/src/schema/schema-resolver.d.ts +0 -2
- package/types/list-nav/index.d.ts +0 -25
- package/types/list-nav/src/composition/use-designer-rules.d.ts +0 -3
- package/types/list-nav/src/designer/list-nav.design.component.d.ts +0 -6
- package/types/list-nav/src/list-nav.component.d.ts +0 -6
- package/types/list-nav/src/list-nav.props.d.ts +0 -19
- package/types/list-nav/src/schema/schema-mapper.d.ts +0 -2
- package/types/list-nav/src/schema/schema-resolver.d.ts +0 -2
- package/types/list-view/index.d.ts +0 -25
- package/types/list-view/src/components/header/content-header.component.d.ts +0 -6
- package/types/list-view/src/composition/types.d.ts +0 -40
- 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-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/designer/list-view-table.design.component.d.ts +0 -6
- package/types/list-view/src/designer/list-view.design.component.d.ts +0 -6
- package/types/list-view/src/list-view-table.component.d.ts +0 -6
- package/types/list-view/src/list-view-table.props.d.ts +0 -19
- package/types/list-view/src/list-view.component.d.ts +0 -6
- package/types/list-view/src/list-view.props.d.ts +0 -23
- package/types/list-view/src/schema/schema-mapper.d.ts +0 -2
- package/types/list-view/src/schema/schema-resolver.d.ts +0 -2
- package/types/loading/index.d.ts +0 -23
- package/types/loading/src/composition/types.d.ts +0 -24
- package/types/loading/src/loading.component.d.ts +0 -61
- package/types/loading/src/loading.props.d.ts +0 -49
- 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/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/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.props.d.ts +0 -76
- package/types/modal/src/modal.service.d.ts +0 -21
- package/types/nav/index.d.ts +0 -25
- package/types/nav/src/composition/types.d.ts +0 -6
- package/types/nav/src/designer/nav.design.component.d.ts +0 -6
- package/types/nav/src/nav.component.d.ts +0 -6
- package/types/nav/src/nav.props.d.ts +0 -19
- package/types/nav/src/schema/schema-mapper.d.ts +0 -2
- package/types/nav/src/schema/schema-resolver.d.ts +0 -2
- package/types/notify/index.d.ts +0 -26
- package/types/notify/src/components/toast.component.d.ts +0 -32
- package/types/notify/src/components/toast.props.d.ts +0 -31
- package/types/notify/src/notify.component.d.ts +0 -89
- package/types/notify/src/notify.props.d.ts +0 -97
- package/types/notify/src/notify.service.d.ts +0 -19
- package/types/number-range/index.d.ts +0 -25
- 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 -56
- 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-range/src/schema/schema-resolver.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 -58
- 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/number-spinner/src/schema/schema-resolver.d.ts +0 -2
- package/types/order/index.d.ts +0 -10
- package/types/order/src/order.props.d.ts +0 -10
- package/types/order/src/schema/schema-mapper.d.ts +0 -2
- package/types/order/src/schema/schema-resolver.d.ts +0 -2
- package/types/overlay/src/overlay.props.d.ts +0 -33
- package/types/overlay/src/overlay.service.d.ts +0 -17
- package/types/page-footer/index.d.ts +0 -10
- package/types/page-footer/src/page-footer.props.d.ts +0 -4
- package/types/page-footer/src/schema/schema-mapper.d.ts +0 -2
- package/types/page-footer/src/schema/schema-resolver.d.ts +0 -2
- package/types/page-header/index.d.ts +0 -10
- package/types/page-header/src/designer/use-designer-rules.d.ts +0 -3
- 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/page-header/src/schema/schema-resolver.d.ts +0 -2
- package/types/pagination/index.d.ts +0 -25
- 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/designer/pagination.design.components.d.ts +0 -6
- package/types/pagination/src/pagination.components.d.ts +0 -6
- package/types/pagination/src/pagination.props.d.ts +0 -20
- package/types/pagination/src/schema/schema-mapper.d.ts +0 -2
- package/types/pagination/src/schema/schema-resolver.d.ts +0 -2
- package/types/popover/index.d.ts +0 -24
- package/types/popover/src/composition/types.d.ts +0 -25
- 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 -112
- package/types/popover/src/popover.directive.d.ts +0 -5
- package/types/popover/src/popover.props.d.ts +0 -69
- package/types/progress/index.d.ts +0 -10
- package/types/progress/src/composition/types.d.ts +0 -65
- package/types/progress/src/composition/use-format.d.ts +0 -3
- package/types/progress/src/composition/use-gradient.d.ts +0 -3
- package/types/progress/src/composition/use-progress-status.d.ts +0 -3
- package/types/progress/src/composition/use-progress-type.d.ts +0 -3
- package/types/progress/src/composition/use-progress.d.ts +0 -3
- package/types/progress/src/composition/use-stroke-width.d.ts +0 -3
- package/types/progress/src/composition/use-success-percent.d.ts +0 -3
- package/types/progress/src/progress.props.d.ts +0 -13
- package/types/progress/src/schema/schema-mapper.d.ts +0 -2
- package/types/progress/src/schema/schema-resolver.d.ts +0 -2
- package/types/property-panel/index.d.ts +0 -24
- package/types/property-panel/src/component/property-panel-item-list.component.d.ts +0 -43
- package/types/property-panel/src/component/property-panel-item.component.d.ts +0 -25
- package/types/property-panel/src/composition/entity/property-entity.d.ts +0 -165
- package/types/property-panel/src/composition/props/property-panel-item-list.props.d.ts +0 -38
- package/types/property-panel/src/composition/props/property-panel-item.props.d.ts +0 -27
- package/types/property-panel/src/composition/props/property-panel.props.d.ts +0 -100
- package/types/property-panel/src/composition/type.d.ts +0 -45
- package/types/property-panel/src/property-panel.component.d.ts +0 -156
- package/types/query-solution/index.d.ts +0 -25
- package/types/query-solution/src/composition/types.d.ts +0 -8
- package/types/query-solution/src/composition/use-filter.d.ts +0 -19
- package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +0 -26
- package/types/query-solution/src/designer/query-solution-config/composition/use-transfer.d.ts +0 -19
- package/types/query-solution/src/designer/query-solution-config/query-solution-config.component.d.ts +0 -6
- package/types/query-solution/src/designer/query-solution-config/query-solution-config.props.d.ts +0 -23
- package/types/query-solution/src/designer/query-solution-config/schema/schema-mapper.d.ts +0 -2
- package/types/query-solution/src/designer/query-solution-config/schema/schema-resolver.d.ts +0 -2
- 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/schema-mapper.d.ts +0 -2
- package/types/query-solution/src/schema/schema-resolver.d.ts +0 -2
- package/types/query-solution/src/solutions.d.ts +0 -1238
- package/types/radio-group/index.d.ts +0 -25
- 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/designer/radio-group.design.component.d.ts +0 -6
- 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/radio-group/src/schema/schema-resolver.d.ts +0 -2
- package/types/rate/index.d.ts +0 -25
- package/types/rate/src/designer/rate.design.component.d.ts +0 -6
- package/types/rate/src/rate.component.d.ts +0 -6
- package/types/rate/src/rate.props.d.ts +0 -19
- package/types/rate/src/schema/schema-mapper.d.ts +0 -2
- package/types/rate/src/schema/schema-resolver.d.ts +0 -2
- package/types/response-layout/index.d.ts +0 -26
- package/types/response-layout/src/component/response-layout-item.props.d.ts +0 -4
- package/types/response-layout/src/response-layout.props.d.ts +0 -4
- package/types/response-layout/src/schema/schema-mapper.d.ts +0 -2
- package/types/response-layout/src/schema/schema-resolver.d.ts +0 -2
- package/types/response-layout-editor/index.d.ts +0 -23
- package/types/response-layout-editor/src/components/field-list/column-width-editor/column-width-editor.props.d.ts +0 -3
- package/types/response-layout-editor/src/components/field-list/field-list.props.d.ts +0 -3
- package/types/response-layout-editor/src/components/preview/column-width-view/column-width-view.component.d.ts +0 -6
- package/types/response-layout-editor/src/components/preview/column-width-view/column-width-view.props.d.ts +0 -3
- package/types/response-layout-editor/src/components/preview/preview.component.d.ts +0 -6
- package/types/response-layout-editor/src/components/preview/preview.props.d.ts +0 -3
- package/types/response-layout-editor/src/components/screen-resolution-selector/screen-resolution-selector.component.d.ts +0 -6
- package/types/response-layout-editor/src/components/screen-resolution-selector/screen-resolution-selector.props.d.ts +0 -3
- package/types/response-layout-editor/src/response-layout-editor.component.d.ts +0 -6
- package/types/response-layout-editor/src/response-layout-editor.props.d.ts +0 -3
- package/types/response-layout-editor/src/type.d.ts +0 -4
- package/types/response-toolbar/index.d.ts +0 -13
- package/types/response-toolbar/src/components/dropdown/toolbar-dropdown-menu.component.d.ts +0 -6
- 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 -5
- package/types/response-toolbar/src/schema/schema-mapper.d.ts +0 -2
- package/types/response-toolbar/src/schema/schema-resolver.d.ts +0 -2
- 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 -25
- package/types/search-box/src/components/search-box-container.props.d.ts +0 -31
- package/types/search-box/src/schema/schema-mapper.d.ts +0 -2
- package/types/search-box/src/schema/schema-resolver.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/components/toolbar.component.d.ts +0 -3
- package/types/section/src/composition/types.d.ts +0 -18
- package/types/section/src/composition/use-max-min.d.ts +0 -3
- package/types/section/src/designer/section.design.component.d.ts +0 -6
- package/types/section/src/designer/use-designer-rules.d.ts +0 -3
- package/types/section/src/schema/accordion-resolver.d.ts +0 -3
- package/types/section/src/schema/schema-mapper.d.ts +0 -2
- package/types/section/src/schema/schema-resolver.d.ts +0 -2
- package/types/section/src/schema/toolbar-resolver.d.ts +0 -7
- package/types/section/src/section.component.d.ts +0 -6
- package/types/section/src/section.props.d.ts +0 -31
- package/types/smoke-detector/index.d.ts +0 -10
- package/types/smoke-detector/src/schema/schema-mapper.d.ts +0 -2
- package/types/smoke-detector/src/schema/schema-resolver.d.ts +0 -2
- package/types/smoke-detector/src/smoke-detector.props.d.ts +0 -4
- package/types/spacing-editor/index.d.ts +0 -23
- package/types/spacing-editor/src/components/spacing-editor-margin.component.d.ts +0 -5
- package/types/spacing-editor/src/components/spacing-editor-padding.component.d.ts +0 -5
- package/types/spacing-editor/src/spacing-editor.component.d.ts +0 -6
- package/types/spacing-editor/src/spacing-editor.props.d.ts +0 -3
- 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/designer/splitter-pane-use-designer-rules.d.ts +0 -3
- package/types/splitter/src/designer/splitter-use-designer-rules.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/schema/splitter-schema-resolver.d.ts +0 -2
- package/types/splitter/src/splitter.props.d.ts +0 -5
- package/types/step/index.d.ts +0 -10
- package/types/step/src/schema/schema-mapper.d.ts +0 -2
- package/types/step/src/schema/schema-resolver.d.ts +0 -2
- package/types/step/src/step.props.d.ts +0 -11
- package/types/switch/index.d.ts +0 -25
- package/types/switch/src/designer/switch.design.component.d.ts +0 -6
- package/types/switch/src/schema/schema-mapper.d.ts +0 -2
- package/types/switch/src/schema/schema-resolver.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.props.d.ts +0 -19
- package/types/tabs/src/composition/types.d.ts +0 -83
- 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/designer/tab-header.design.component.d.ts +0 -6
- package/types/tabs/src/designer/tab-page-use-designer-rules.d.ts +0 -3
- package/types/tabs/src/designer/tab-page.design.component.d.ts +0 -6
- package/types/tabs/src/designer/tab-use-designer-rules.d.ts +0 -3
- package/types/tabs/src/designer/tabs-use-design.d.ts +0 -20
- package/types/tabs/src/designer/tabs.design.component.d.ts +0 -6
- package/types/tabs/src/schema/schema-mapper.d.ts +0 -2
- package/types/tabs/src/schema/schema-resolver.d.ts +0 -2
- package/types/tabs/src/schema/tab-page-schema-mapper.d.ts +0 -2
- package/types/tabs/src/tabs.component.d.ts +0 -6
- package/types/tabs/src/tabs.props.d.ts +0 -22
- package/types/tags/index.d.ts +0 -10
- 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/schema/schema-mapper.d.ts +0 -2
- package/types/tags/src/schema/schema-resolver.d.ts +0 -2
- package/types/tags/src/tags.props.d.ts +0 -15
- package/types/text/index.d.ts +0 -25
- package/types/text/src/designer/text.design.component.d.ts +0 -6
- package/types/text/src/schema/schema-mapper.d.ts +0 -2
- package/types/text/src/schema/schema-resolver.d.ts +0 -2
- package/types/text/src/text.component.d.ts +0 -6
- package/types/text/src/text.props.d.ts +0 -19
- package/types/time-picker/index.d.ts +0 -12
- 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/schema/schema-resolver.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 -78
- package/types/tooltip/src/tooltip.directive.d.ts +0 -6
- package/types/tooltip/src/tooltip.props.d.ts +0 -60
- package/types/transfer/index.d.ts +0 -10
- package/types/transfer/src/schema/schema-mapper.d.ts +0 -2
- package/types/transfer/src/schema/schema-resolver.d.ts +0 -2
- package/types/transfer/src/transfer.component.d.ts +0 -6
- package/types/transfer/src/transfer.props.d.ts +0 -4
- package/types/tree-grid/index.d.ts +0 -24
- package/types/tree-grid/src/components/data/data-area.component.d.ts +0 -21
- package/types/tree-grid/src/schema/schema-mapper.d.ts +0 -2
- package/types/tree-grid/src/schema/schema-resolver.d.ts +0 -2
- package/types/tree-grid/src/tree-grid.props.d.ts +0 -431
- package/types/tree-view/index.d.ts +0 -10
- package/types/tree-view/src/components/data/tree-area.component.d.ts +0 -7
- package/types/tree-view/src/schema/schema-mapper.d.ts +0 -2
- package/types/tree-view/src/schema/schema-resolver.d.ts +0 -2
- package/types/tree-view/src/tree-view.component.d.ts +0 -6
- package/types/tree-view/src/tree-view.props.d.ts +0 -4
- package/types/uploader/index.d.ts +0 -27
- package/types/uploader/src/components/file-select.component.d.ts +0 -99
- package/types/uploader/src/components/sub-component.props.d.ts +0 -102
- package/types/uploader/src/components/upload-progress.component.d.ts +0 -41
- package/types/uploader/src/composition/type.d.ts +0 -129
- package/types/uploader/src/composition/use-service.d.ts +0 -5
- package/types/uploader/src/schema/schema-mapper.d.ts +0 -2
- package/types/uploader/src/schema/schema-resolver.d.ts +0 -2
- package/types/uploader/src/uploader.props.d.ts +0 -4
- package/types/verify-detail/index.d.ts +0 -28
- package/types/verify-detail/src/composition/type.d.ts +0 -25
- package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +0 -6
- package/types/verify-detail/src/schema/schema-mapper.d.ts +0 -2
- package/types/verify-detail/src/schema/schema-resolver.d.ts +0 -2
- package/types/verify-detail/src/verify-detail.component.d.ts +0 -6
- package/types/verify-detail/src/verify-detail.props.d.ts +0 -4
- package/types/verify-detail/src/verify-detail.service.d.ts +0 -7
- package/types/video/index.d.ts +0 -25
- package/types/video/src/composition/types.d.ts +0 -38
- package/types/video/src/composition/use-video.d.ts +0 -20
- package/types/video/src/composition/use-viewport.d.ts +0 -20
- package/types/video/src/designer/video.design.component.d.ts +0 -4
- package/types/video/src/schema/schema-mapper.d.ts +0 -2
- package/types/video/src/schema/schema-resolver.d.ts +0 -2
- package/types/video/src/video.component.d.ts +0 -6
- package/types/video/src/video.props.d.ts +0 -19
- package/types/weather/index.d.ts +0 -25
- package/types/weather/src/components/weather-city.component.d.ts +0 -6
- package/types/weather/src/components/weather-detail.component.d.ts +0 -6
- package/types/weather/src/components/weather-home.component.d.ts +0 -6
- package/types/weather/src/components/weather-information.component.d.ts +0 -6
- package/types/weather/src/components/weather-proindex.component.d.ts +0 -6
- package/types/weather/src/components/weather-report.component.d.ts +0 -6
- package/types/weather/src/components/weather-sunset.component.d.ts +0 -6
- package/types/weather/src/composition/types.d.ts +0 -2
- package/types/weather/src/composition/use-weather-charts.d.ts +0 -3
- package/types/weather/src/composition/use-weather-color.d.ts +0 -3
- package/types/weather/src/composition/use-weather-data.d.ts +0 -3
- package/types/weather/src/composition/use-weather-format-number.d.ts +0 -3
- package/types/weather/src/demo-data.d.ts +0 -181
- package/types/weather/src/designer/weather.design.component.d.ts +0 -6
- package/types/weather/src/schema/schema-mapper.d.ts +0 -2
- package/types/weather/src/schema/schema-resolver.d.ts +0 -2
- package/types/weather/src/weather.component.d.ts +0 -6
- package/types/weather/src/weather.props.d.ts +0 -19
- package/uploader/index.esm.js +0 -3187
- package/uploader/index.umd.js +0 -2
- package/uploader/package.json +0 -8
- package/uploader/style.css +0 -1
- package/verify-detail/index.esm.js +0 -648
- package/verify-detail/index.umd.js +0 -1
- package/verify-detail/package.json +0 -8
- package/video/index.esm.js +0 -1178
- package/video/index.umd.js +0 -1
- package/video/package.json +0 -8
- package/weather/index.esm.js +0 -6816
- package/weather/index.umd.js +0 -16
- package/weather/package.json +0 -8
- package/weather/style.css +0 -1
package/calendar/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(P,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("lodash-es")):typeof define=="function"&&define.amd?define(["exports","vue","lodash-es"],e):(P=typeof globalThis<"u"?globalThis:P||self,e(P.calendar={},P.Vue,P.LodashES))})(this,function(P,e,ae){"use strict";const X={},Z={};function Y(t){const{properties:r,title:n}=t,w=Object.keys(r).reduce((v,l)=>(v[l]=r[l].type==="object"&&r[l].properties?Y(r[l]):ae.cloneDeep(r[l].default),v),{});return w.id=`${n}-${Date.now()}`,w}function L(t,r={}){const n=X[t];if(n){let w=Y(n);const v=Z[t];return w=v?v({getSchemaByType:L},w,r):w,w}return null}function re(t,r){const n=Y(r);return Object.keys(t).reduce((w,v)=>(w[v]=t[v],w),n),n}function oe(t,r){return Object.keys(t).filter(w=>t[w]!=null).reduce((w,v)=>{if(r.has(v)){const l=r.get(v);if(typeof l=="string")w[l]=t[v];else{const y=l(v,t[v],t);Object.assign(w,y)}}else w[v]=t[v];return w},{})}function ce(t,r,n=new Map){const w=re(t,r);return oe(w,n)}function se(t={}){function r(a,m,g,D){if(typeof g=="number")return D[a].length===g;if(typeof g=="object"){const i=Object.keys(g)[0],d=g[i];if(i==="not")return Number(D[a].length)!==Number(d);if(i==="moreThan")return Number(D[a].length)>=Number(d);if(i==="lessThan")return Number(D[a].length)<=Number(d)}return!1}function n(a,m,g,D){return D[m]&&D[m].propertyValue&&String(D[m].propertyValue.value)===String(g)}const w=new Map([["length",r],["getProperty",n]]);Object.keys(t).reduce((a,m)=>(a.set(m,t[m]),a),w);function v(a,m){const g=a;return typeof m=="number"?[{target:g,operator:"length",param:null,value:Number(m)}]:typeof m=="boolean"?[{target:g,operator:"getProperty",param:a,value:!!m}]:typeof m=="object"?Object.keys(m).map(D=>{if(D==="length")return{target:g,operator:"length",param:null,value:m[D]};const i=D,d=m[D];return{target:g,operator:a,param:i,value:d}}):[]}function l(a){return Object.keys(a).reduce((g,D)=>{const i=v(D,a[D]);return g.push(...i),g},[])}function y(a,m){if(w.has(a.operator)){const g=w.get(a.operator);return g&&g(a.target,a.param,a.value,m)||!1}return!1}function c(a,m){return l(a).reduce((i,d)=>i&&y(d,m),!0)}function V(a,m){const g=Object.keys(a),D=g.includes("allOf"),i=g.includes("anyOf"),d=D||i,u=(d?a[d?D?"allOf":"anyOf":"allOf"]:[a]).map(o=>c(o,m));return D?!u.includes(!1):u.includes(!0)}return{parseValueSchema:V}}const le={},ie={};se();function ue(t,r,n=new Map,w=(y,c,V)=>c,v={},l=y=>y){return X[r.title]=r,Z[r.title]=w,le[r.title]=v,ie[r.title]=l,(y={})=>{const c=ce(y,r,n),V=Object.keys(t).reduce((a,m)=>(a[m]=t[m].default,a),{});return Object.assign(V,c)}}function de(t,r){return{customClass:r.class}}const fe=new Map([["appearance",de]]);function ye(t,r,n){return r}const he={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://farris-design.gitee.io/calendar.schema.json",title:"calendar",description:"A Farris Input Component",type:"object",properties:{id:{description:"The unique identifier for calendar",type:"string"},type:{description:"The type string of calendar",type:"string",default:"calendar"},appearance:{description:"",type:"object",properties:{class:{type:"string"},style:{type:"string"}},default:{}}},required:["id","type"]},me={title:"calendar",description:"A Farris Component",type:"object",categories:{basic:{description:"Basic Infomation",title:"基本信息",properties:{id:{description:"组件标识",title:"标识",type:"string",readonly:!0},type:{description:"组件类型",title:"控件类型",type:"select",editor:{type:"waiting for modification",enum:[]}}}}}},F={events:{Type:Array,default:[]},firstDayOfTheWeek:{type:String,default:"Sun."}},x=ue(F,he,fe,ye,me),$=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var j=(t=>(t[t.previous=1]="previous",t[t.current=2]="current",t[t.next=3]="next",t))(j||{});function q(){function t(){return{year:0,month:0,day:0}}function r(a){return new Date(a.year||0,a.month?a.month-1:0,a.day||0,a.hour?a.hour:0,a.minute?a.minute:0,a.second?a.second:0,0)}function n(a){const m=new Date;return a.year||(a.year=m.getFullYear()),a.month||(a.month=m.getMonth()+1),a.day||(a.day=1),new Date(a.year,a.month-1,a.day,a.hour?a.hour:0,a.minute?a.minute:0,a.second?a.second:0,0)}function w(a){return new Date(a.year||1,(a.month||1)-1,a.day,a.hour?a.hour:0,a.minute?a.minute:0,a.second?a.second:0,0).getDay()}function v(a){return $.indexOf(a)}function l(a){return r(a).getTime()}function y(a){return Math.round(l(a)/1e3)}function c(a,m,g){const D=l(m),i=l(g),d=l(a);return i-d>d-D?m:g}function V(){const a=new Date;return{year:a.getFullYear(),month:a.getMonth()+1,day:a.getDate(),hour:a.getHours(),minute:a.getMinutes(),second:a.getSeconds()}}return{emptyDate:t,getDate:r,getDate2:n,getDayNumber:w,getEpocTime:y,getNearDate:c,getWeekdayIndex:v,getTimeInMilliseconds:l,getToday:V}}function pe(){function t(l,y){return new Date(y,l,0).getDate()}function r(l,y,c){return new Date(l,y-1,c,0,0,0,0)}function n(l,y){const c=r(y,l,1);return c.setMonth(c.getMonth()-1),t(c.getMonth()+1,c.getFullYear())}function w(l,y){const c={year:l===12?y+1:y},V=l===12?1:l+1;return c.month=V,c}function v(l,y){const c={year:l===1?y-1:y},V=l===1?12:l-1;return c.month=V,c}return{daysInMonth:t,daysInPreMonth:n,getNextMonth:w,getPreviousMonth:v}}function R(){const{getToday:t,getDayNumber:r}=q(),{daysInMonth:n,daysInPreMonth:w,getNextMonth:v,getPreviousMonth:l}=pe();function y(h){const N=$.indexOf(h);return N>0?7-N:0}function c(h){const{day:N,month:u,year:s}=h;if(N===void 0||u===void 0||s===void 0)throw new Error("invalided date.");const o=N===1,f=o?w(u,s):N-1,k=o?u-1:u,p=k<1,M=p?12:k;return{year:p?s-1:s,month:M,day:f}}function V(h){const{day:N,month:u,year:s}=h;if(N===void 0||u===void 0||s===void 0)throw new Error("invalided date.");const o=n(u,s),f=N===o,k=f?1:N+1,p=f?u+1:u,M=p>12,T=M?1:p;return{year:M?s+1:s,month:T,day:k}}function a(h){const N=l(h.month||1,h.year||1),u=n(N.month||1,N.year||1);return{day:(h.day||1)<=u?h.day:u,month:N.month,year:N.year}}function m(h){const N=v(h.month||1,h.year||1),u=n(N.month||1,N.year||1);return{day:(h.day||1)<=u?h.day:u,month:N.month,year:N.year}}function g(h){const u=(h.day||1)-7,s=u<1,o=s?n(h.month||1,h.year||1)+u:u,f=s?l(h.month||1,h.year||1):h;return{day:o,month:f.month,year:f.year}}function D(h){const u=(h.day||1)+7,s=n(h.month||1,h.year||1),o=u>s,f=o?u-s:u,k=o?v(h.month||1,h.year||1):h;return{day:f,month:k.month,year:k.year}}function i(h,N,u,s){const o={day:h,month:N,year:u},k=y(s)===0?1:0,p=r(o)+k,M=t();let T=c(o);const O=[];for(let A=p-1;A>=1;A--){const I=T.month!==o.month?j.previous:j.current,C=T.month===N&&T.day===M.day&&T.month===M.month&&T.year===M.year;O.push({date:T,monthTag:I,isCurrent:C}),A>1&&(T=c(T))}let S=V(o);const W=[];for(let A=p+1;A<=7;A++){const I=T.month!==o.month?j.next:j.current,C=S.day===M.day&&S.month===M.month&&S.year===M.year;W.push({date:S,monthTag:I,isCurrent:C}),A<7&&(S=V(S))}const E=h===M.day&&N===M.month&&u===M.year;return{days:[...O.reverse(),{date:o,monthTag:j.current,isCurrent:E},...W],weekNumber:0,year:u}}function d(h,N,u){const s=[],o=n(h,N);for(let f=1;f<=o;f+=7){const k=i(f,h,N,u);s.push(k)}return s}return{getMonthlyCalendar:d,getWeeklyCalendar:i,getPreviousDay:c,getNextDay:V,getDayInPreviousWeek:g,getDayInNextWeek:D,getDayInPreviousMonth:a,getDayInNextMonth:m}}function B(){const{getTimeInMilliseconds:t}=q();function r(i){return i&&i.year!==0&&i.month!==0&&i.day!==0}function n(i){return i&&i.year!==0&&i.month!==0}function w(i){return i&&i.year!==0}function v(i,d){return t(i)<t(d)}function l(i,d){return t(i)<=t(d)}function y(i,d){return t(i)===t(d)}function c(i,d){const h=t(d);return t(i.from)===h||t(i.to)===h}function V(i,d){return!d||!r(d.to)||!r(d.from)?!1:l(d.from,i)&&l(i,d.to)}function a(i,d){return r(d)&&t(i)>=t(d)}function m(i,d){return r(d)&&t(i)<=t(d)}function g(i,d){return t({year:i.year,month:i.month,day:i.day})===t({year:d.year,month:d.month,day:d.day})}function D(i,d){return t({hour:i.hour,minute:i.minute,second:i.second})===t({hour:d.hour,minute:d.minute,second:d.second})}return{isDateEarlier:v,equal:y,inPeriod:V,isPoint:c,equalOrEarlier:l,isInitializedDate:r,isInitializedMonth:n,isInitializedYear:w,isMonthDisabledByDisableSince:a,isMonthDisabledByDisableUntil:m,sameTime:D,sameDay:g}}const H={1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},_=e.defineComponent({name:"FCalendar",props:F,emits:[],setup(t,r){const{sameDay:n}=B(),{getToday:w}=q(),v=e.ref(t.firstDayOfTheWeek),l=e.ref(t.events),y=w(),c=e.ref({year:y.year||1,month:y.month||1,day:y.day||1}),V=e.ref(3),{getMonthlyCalendar:a,getWeeklyCalendar:m,getPreviousDay:g,getNextDay:D,getDayInPreviousWeek:i,getDayInNextWeek:d,getDayInPreviousMonth:h,getDayInNextMonth:N}=R(),u=e.computed(()=>`${H[c.value.month||1]} ${c.value.year}`),s=e.computed(()=>a(c.value.month||1,c.value.year||1,v.value)),o=e.computed(()=>m(c.value.day||1,c.value.month||1,c.value.year||1,v.value)),f=e.computed(()=>o.value.days.find(b=>n(b.date,c.value))||o.value.days[1]),k=e.computed(()=>{const b=o.value.days.findIndex(I=>n(I.date,c.value)),A=b>-1?b:1;return $[A]}),p=e.computed(()=>V.value===3),M=e.computed(()=>V.value===2),T=e.computed(()=>V.value===1);function O(b){V.value=b}function S(b){b===1&&(c.value=g(c.value)),b===2&&(c.value=i(c.value)),b===3&&(c.value=h(c.value))}function W(b){b===1&&(c.value=D(c.value)),b===2&&(c.value=d(c.value)),b===3&&(c.value=N(c.value))}function E(){c.value={year:y.year||1,month:y.month||1,day:y.day||1}}return()=>e.createVNode("div",{class:"f-calendar"},[e.createVNode(e.resolveComponent("f-calendar-header"),{activeView:V.value,title:u.value,onViewChange:b=>O(b),onPrevious:b=>S(b),onNext:b=>W(b),onResetToToday:()=>E()},null),e.createVNode("div",null,[T.value&&e.createVNode(e.resolveComponent("f-calendar-day-view"),{day:f.value,dayInWeek:k.value,events:l.value},null),M.value&&e.createVNode(e.resolveComponent("f-calendar-week-view"),{week:o.value,events:l.value},null),p.value&&e.createVNode(e.resolveComponent("f-calendar-month-view"),{activeDay:c.value,dates:s.value,events:l.value},null)])])}});function ve(t,r,n){var k;function w(){n!=null&&n.resolveComponentContext&&n.resolveComponentContext()}w();const v=n&&n.getStyles&&n.getStyles()||"",l=n&&n.getDesignerClass&&n.getDesignerClass()||"",y=e.ref();function c(){return(r==null?void 0:r.schema.componentType)==="frame"?!1:n&&n.checkCanMoveComponent?n.checkCanMoveComponent():!0}function V(){return!1}function a(){return(r==null?void 0:r.schema.componentType)==="frame"?!1:n&&n.checkCanDeleteComponent?n.checkCanDeleteComponent():!0}function m(){return(r==null?void 0:r.schema.componentType)==="frame"?!0:n&&n.hideNestedPaddingInDesginerView?n.hideNestedPaddingInDesginerView():!1}function g(p){if(!p||!p.value)return null;if(p.value.schema&&p.value.schema.type==="component")return p.value;const M=e.ref(p==null?void 0:p.value.parent),T=g(M);return T||null}function D(p=r){const{componentInstance:M,designerItemElementRef:T}=p;return!M||!M.value?null:M.value.canMove?T:D(p.parent)}function i(p){return!!n&&n.canAccepts(p)}function d(){return(r==null?void 0:r.schema.label)||(r==null?void 0:r.schema.title)||(r==null?void 0:r.schema.name)}function h(){}function N(p,M){M&&n!=null&&n.onAcceptMovedChildElement&&n.onAcceptMovedChildElement(M)}function u(p){const{componentType:M}=p;let T=L(M,p);n&&n.onResolveNewComponentSchema&&(T=n.onResolveNewComponentSchema(p,T));const O=M.toLowerCase().replace("-","_");return T&&!T.id&&T.type===M&&(T.id=`${O}_${Math.random().toString().slice(2,6)}`),T}function s(p,M){const T=String(p.getAttribute("data-controltype")),O=p.getAttribute("data-feature"),S=O?JSON.parse(O):{};S.parentComponentInstance=y.value;let W=L(T,S);n&&n.onAcceptNewChildElement&&(W=n.onAcceptNewChildElement(p,M,W));const E=T.toLowerCase().replace("-","_");return W&&!W.id&&W.type===T&&(W.id=`${E}_${Math.random().toString().slice(2,6)}`),W}function o(p){}function f(){return n&&n.getPropsConfig?n.getPropsConfig():[]}return y.value={canMove:c(),canSelectParent:V(),canDelete:a(),canNested:!m(),contents:r==null?void 0:r.schema.contents,elementRef:t,parent:(k=r==null?void 0:r.parent)==null?void 0:k.componentInstance,schema:r==null?void 0:r.schema,styles:v,designerClass:l,canAccepts:i,getBelongedComponentInstance:g,getDraggableDesignItemElement:D,getDraggingDisplayText:d,getPropConfig:f,getDragScopeElement:h,onAcceptMovedChildElement:N,onAcceptNewChildElement:s,onChildElementMovedOut:o,addNewChildComponentSchema:u,updateDragAndDropRules:w,triggerBelongedComponentToMoveWhenMoved:!!n&&n.triggerBelongedComponentToMoveWhenMoved||e.ref(!1),triggerBelongedComponentToDeleteWhenDeleted:!!n&&n.triggerBelongedComponentToDeleteWhenDeleted||e.ref(!1)},y}const we=e.defineComponent({name:"FCalendarDesign",props:F,emits:[],setup(t,r){const{sameDay:n}=B(),{getToday:w}=q(),v=e.ref(t.firstDayOfTheWeek),l=e.ref(t.events),y=w(),c=e.ref({year:y.year||1,month:y.month||1,day:y.day||1}),V=e.ref(3),a=e.ref(),m=e.inject("design-item-context"),g=ve(a,m);e.onMounted(()=>{a.value.componentInstance=g}),r.expose(g.value);const{getMonthlyCalendar:D,getWeeklyCalendar:i,getPreviousDay:d,getNextDay:h,getDayInPreviousWeek:N,getDayInNextWeek:u,getDayInPreviousMonth:s,getDayInNextMonth:o}=R(),f=e.computed(()=>`${H[c.value.month||1]} ${c.value.year}`),k=e.computed(()=>D(c.value.month||1,c.value.year||1,v.value)),p=e.computed(()=>i(c.value.day||1,c.value.month||1,c.value.year||1,v.value)),M=e.computed(()=>p.value.days.find(C=>n(C.date,c.value))||p.value.days[1]),T=e.computed(()=>{const C=p.value.days.findIndex(Ne=>n(Ne.date,c.value)),ke=C>-1?C:1;return $[ke]}),O=e.computed(()=>V.value===3),S=e.computed(()=>V.value===2),W=e.computed(()=>V.value===1);function E(C){V.value=C}function b(C){C===1&&(c.value=d(c.value)),C===2&&(c.value=N(c.value)),C===3&&(c.value=s(c.value))}function A(C){C===1&&(c.value=h(c.value)),C===2&&(c.value=u(c.value)),C===3&&(c.value=o(c.value))}function I(){c.value={year:y.year||1,month:y.month||1,day:y.day||1}}return()=>e.createVNode("div",{ref:a,class:"f-calendar"},[e.createVNode(e.resolveComponent("f-calendar-header"),{activeView:V.value,title:f.value,onViewChange:C=>E(C),onPrevious:C=>b(C),onNext:C=>A(C),onResetToToday:()=>I()},null),e.createVNode("div",null,[W.value&&e.createVNode(e.resolveComponent("f-calendar-day-view"),{day:M.value,dayInWeek:T.value,events:l.value},null),S.value&&e.createVNode(e.resolveComponent("f-calendar-week-view"),{week:p.value,events:l.value},null),O.value&&e.createVNode(e.resolveComponent("f-calendar-month-view"),{activeDay:c.value,dates:k.value,events:l.value},null)])])}}),K={activeView:{Type:Number,default:3},title:{Type:String,default:""},dailyViewTitle:{Type:String,default:"Day"},weeklyViewTitle:{Type:String,default:"Week"},monthlyViewTitle:{Type:String,default:"Month"}},J=e.defineComponent({name:"FCalendarHeader",props:K,emits:["ViewChange","Previous","Next","ResetToToday"],setup(t,r){const n=e.ref(t.title),w=e.ref(t.dailyViewTitle),v=e.ref(t.weeklyViewTitle),l=e.ref(t.monthlyViewTitle),y=2,c=62,V=e.ref(t.activeView),a=e.ref("Today");e.watch(()=>t.title,()=>{n.value=t.title});const m=e.computed(()=>({top:`${y}px`,left:`${V.value*(y+1)+(V.value-1)*(c+1)}px`})),g=e.computed(()=>V.value===1?w.value:V.value===2?v.value:l.value);function D(){V.value=1,r.emit("ViewChange",1)}function i(){V.value=2,r.emit("ViewChange",2)}function d(){V.value=3,r.emit("ViewChange",3)}function h(){r.emit("Previous",V.value)}function N(){r.emit("Next",V.value)}function u(){r.emit("ResetToToday")}return()=>e.createVNode("div",{class:"f-calendar-header"},[e.createVNode("div",{class:"f-calendar-title"},[n.value]),e.createVNode("div",{class:"f-calendar-navigator"},[e.createVNode("div",{class:"f-calendar-navigator-today btn btn-default",onClick:()=>u()},[a.value]),e.createVNode("div",{class:"f-calendar-navigator-button-group"},[e.createVNode("div",{class:"f-calendar-navigator-previous btn btn-default",onClick:()=>h()},[e.createVNode("i",{class:"f-icon f-icon-arrow-chevron-left"},null)]),e.createVNode("div",{class:"f-calendar-navigator-next btn btn-default",onClick:()=>N()},[e.createVNode("i",{class:"f-icon f-icon-arrow-chevron-right"},null)])])]),e.createVNode("div",{class:"f-calendar-view-switch"},[e.createVNode("div",{class:"f-calendar-view-switch-panel"},[e.createVNode("span",{class:"f-calendar-view-switch-daily",onClick:s=>D()},[w.value]),e.createVNode("span",{class:"f-calendar-view-switch-weekly",onClick:s=>i()},[v.value]),e.createVNode("span",{class:"f-calendar-view-switch-monthly",onClick:s=>d()},[l.value])]),e.createVNode("div",{class:"f-calendar-view-switch-active-view",style:m.value},[g.value])])])}}),ee={day:{Type:Object,default:{}},dayInWeek:{Type:String,default:""},enableMarkCurrent:{Type:Boolean,default:!0},events:{Type:Array,default:[]}},z=e.defineComponent({name:"FCalendarDayView",props:ee,emits:[],setup(t,r){const n=e.ref(),w=e.ref(),v=e.ref(t.dayInWeek),l=e.ref(t.day),y=e.ref(t.enableMarkCurrent),c=e.ref(t.events),V=e.ref([]),{equal:a}=B();function m(o){const f={year:l.value.date.year,month:l.value.date.month,day:l.value.date.day,hour:o.hour,minute:o.minute,second:o.second},k=c.value.filter(p=>a(p.starts,f));return[{day:f,events:k}]}function g(){const o=[];for(let f=0;f<24;f++){const k={hour:f,minute:0,second:0},p={hour:f,minute:30,second:0},M=m(k),T=m(p);o.push({time:k,events:M,title:f>0?`${f}:00`:"",part:"upper"}),o.push({time:p,events:T,title:`${f}:30`,part:"lower"})}V.value=o}g(),e.watch(()=>t.day,()=>{l.value=t.day,g()}),e.watch(()=>t.events,()=>{c.value=t.events,g()});const D=o=>({"f-calendar-day-view-date":!0,"f-calendar-day-view-current":o.isCurrent&&y.value});function i(){return e.createVNode("div",{class:"f-calendar-day-view-header"},[e.createVNode("div",{class:"f-calendar-day-view-header-corner"},null),e.createVNode("div",{class:"f-calendar-day-view-header-primary"},[e.createVNode("div",{class:"f-calendar-day-view-header-columns"},[e.createVNode("div",{class:"f-calendar-day-view-header-cell"},[e.createVNode("div",{class:D(l.value)},[l.value.date.day]),e.createVNode("span",null,[v.value])])])])])}function d(){return e.createVNode("div",{class:"f-calendar-day-view-content-side"},[e.createVNode("div",{class:"f-calendar-side"},[V.value.map(o=>e.createVNode("div",{class:"f-calendar-side-row"},[e.createVNode("div",{class:"f-calendar-side-row-number"},[o.part==="upper"?o.title:""])]))])])}function h(o){return{"f-calendar-day-view-item":!0,"f-calendar-day-view-item-upper":o.part==="upper","f-calendar-day-view-item-lower":o.part==="lower"}}function N(o){const O=(o.starts.hour||0)+(o.starts.minute||0)/60;return{height:`${44*((o.ends.hour||0)+(o.ends.minute||0)/60-O)-2-2-1-1}px`}}function u(){return V.value.map(o=>e.createVNode("div",{class:h(o)},[o.events.map(f=>e.createVNode("div",{class:"f-calendar-day-view-item-cell"},[f.events.length>0&&f.events.map(k=>e.createVNode("div",{class:"f-calendar-event",style:N(k)},[k.title]))]))]))}function s(){return e.createVNode("div",{ref:w,class:"f-calendar-content-primary"},[e.createVNode("div",{class:"f-calendar-content-data"},[u()])])}return e.onMounted(()=>{n.value&&n.value.scrollTo(0,250)}),()=>e.createVNode("div",{class:"f-calendar-day-view"},[i(),e.createVNode("div",{class:"f-calendar-day-view-content",ref:n},[d(),s()])])}}),te={dates:{Type:Array,default:[]},daysInWeek:{Type:Array,default:$},enableKeyboadNavigate:{Type:Boolean,default:!0},enableMarkCurrent:{Type:Boolean,default:!0},events:{Type:Array,default:[]},activeDay:{Type:Object,default:null}};var G=(t=>(t[t.enter=13]="enter",t[t.esc=27]="esc",t[t.space=32]="space",t[t.leftArrow=37]="leftArrow",t[t.upArrow=38]="upArrow",t[t.rightArrow=39]="rightArrow",t[t.downArrow=40]="downArrow",t[t.tab=9]="tab",t[t.shift=16]="shift",t))(G||{});function ge(){function t(r){const n=r.key||r.keyCode;return n==="Enter"||n===13?13:n==="Escape"||n===27?27:n===" "||n===32?32:n==="ArrowLeft"||n===37?37:n==="ArrowUp"||n===38?38:n==="ArrowRight"||n===39?39:n==="ArrowDown"||n===40?40:n==="Tab"||n===9?9:n==="Shift"||n===16?16:-1}return{getKeyCodeFromEvent:t}}const U=e.defineComponent({name:"FCalendarMonthView",props:te,emits:[],setup(t,r){const n=e.ref(t.daysInWeek),w=e.ref(t.enableKeyboadNavigate),v=e.ref(t.enableMarkCurrent),l=e.ref(t.activeDay),y=e.ref(t.events),{equal:c,sameDay:V}=B(),{getKeyCodeFromEvent:a}=ge();function m(u,s){return u.forEach(o=>{o.days.forEach(f=>{const k=s.filter(p=>V(p.starts,f.date));k&&k.length&&(f.events=[...k])})}),u}const g=e.ref(m(t.dates,y.value));e.watch(()=>t.dates,()=>{g.value=m(t.dates,y.value)}),e.watch(()=>t.activeDay,()=>{l.value=t.activeDay}),e.watch(()=>t.events,()=>{y.value=t.events});function D(u){return!!l.value&&c({year:l.value.year,month:l.value.month,day:l.value.day},u)}const i=(u,s,o)=>{const k={"f-datepicker-no-currmonth":u.monthTag===j.previous||u.monthTag===j.next},p=`d_${s}_${o}`;return k[p]=!0,k},d=u=>{const s=u.monthTag===j.current&&D(u.date),o=u.isCurrent&&v.value;return{"f-calendar-month-view-date":!0,"f-calendar-month-view-selected":s,"f-calendar-month-view-current":o}};function h(u,s){u.stopPropagation(),r.emit("click",s.date)}function N(u,s){const o=a(u);o!==G.tab&&(u.preventDefault(),o===G.enter||o===G.space?h(u,s):w.value&&r.emit("keyDown",s.date))}return()=>e.createVNode("div",{class:"f-calendar-month-view"},[e.createVNode("table",{class:"f-datepicker-table",cellpadding:"0"},[e.createVNode("thead",null,[e.createVNode("tr",null,[n.value&&n.value.map(u=>e.createVNode("th",{scope:"col",style:"padding: 4px 4px 8px"},[u]))])]),e.createVNode("tbody",null,[g.value&&g.value.map((u,s)=>e.createVNode("tr",null,[u.days&&u.days.map((o,f)=>e.createVNode("td",{id:`d_${s}_${f}`,tabindex:"0",class:i(o,s,f),onClick:k=>h(k,o),onKeydown:k=>N(k,o)},[e.createVNode("div",{class:"f-calendar-month-view-title"},[e.createVNode("div",{class:d(o)},[o.date.day]),e.createVNode("div",{class:"f-calendar-month-view-date-month"},[o.date.day===1?H[o.date.month||1]:""])]),o.events&&o.events.length&&o.events.map(k=>e.createVNode("div",{class:"f-calendar-month-view-event-item"},[k.title]))]))]))])])])}}),ne={daysInWeek:{Type:Array,default:$},enableMarkCurrent:{Type:Boolean,default:!0},events:{Type:Array,default:[]},week:{Type:Object,default:{days:[],weekNumber:0,year:0}}},Q=e.defineComponent({name:"FCalendarWeekView",props:ne,emits:[],setup(t){const r=e.ref(),n=e.ref(),w=e.ref(t.daysInWeek),v=e.ref(t.week),l=e.ref(t.enableMarkCurrent),y=e.ref(t.events),c=e.ref([]),{equal:V}=B();function a(s){return v.value.days.map(f=>{const k={year:f.date.year,month:f.date.month,day:f.date.day,hour:s.hour,minute:s.minute,second:s.second},p=y.value.filter(M=>V(M.starts,k));return{day:k,events:p}})}function m(){const s=[];for(let o=0;o<24;o++){const f={hour:o,minute:0,second:0},k={hour:o,minute:30,second:0},p=a(f),M=a(k);s.push({time:f,events:p,title:o>0?`${o}:00`:"",part:"upper"}),s.push({time:k,events:M,title:`${o}:30`,part:"lower"})}c.value=s}m(),e.watch(()=>t.week,()=>{v.value=t.week,m()}),e.watch(()=>t.events,()=>{y.value=t.events,m()});const g=s=>({"f-calendar-week-view-date":!0,"f-calendar-week-view-current":s.isCurrent&&l.value});function D(){return e.createVNode("div",{class:"f-calendar-week-view-header"},[e.createVNode("div",{class:"f-calendar-week-view-header-corner"},null),e.createVNode("div",{class:"f-calendar-week-view-header-primary"},[e.createVNode("div",{class:"f-calendar-week-view-header-columns"},[w.value.map((s,o)=>e.createVNode("div",{class:"f-calendar-week-view-header-cell"},[e.createVNode("div",{class:g(v.value.days[o])},[v.value.days[o].date.day]),e.createVNode("span",null,[s])]))])])])}function i(){return e.createVNode("div",{class:"f-calendar-week-view-content-side"},[e.createVNode("div",{class:"f-calendar-side"},[c.value.map(s=>e.createVNode("div",{class:"f-calendar-side-row"},[e.createVNode("div",{class:"f-calendar-side-row-number"},[s.part==="upper"?s.title:""])]))])])}function d(s){return{"f-calendar-week-view-item":!0,"f-calendar-week-view-item-upper":s.part==="upper","f-calendar-week-view-item-lower":s.part==="lower"}}function h(s){const T=(s.starts.hour||0)+(s.starts.minute||0)/60;return{height:`${44*((s.ends.hour||0)+(s.ends.minute||0)/60-T)-2-2-1-1}px`}}function N(){return c.value.map(s=>e.createVNode("div",{class:d(s)},[s.events.map(o=>e.createVNode("div",{class:"f-calendar-week-view-item-cell"},[o.events.length>0&&o.events.map(f=>e.createVNode("div",{class:"f-calendar-event",style:h(f)},[f.title]))]))]))}function u(){return e.createVNode("div",{ref:n,class:"f-calendar-content-primary"},[e.createVNode("div",{class:"f-calendar-content-data"},[N()])])}return e.onMounted(()=>{r.value&&r.value.scrollTo(0,250)}),()=>e.createVNode("div",{class:"f-calendar-week-view"},[D(),e.createVNode("div",{class:"f-calendar-week-view-content",ref:r},[i(),u()])])}}),Ve={install(t){t.component(_.name,_).component(z.name,z).component(J.name,J).component(U.name,U).component(Q.name,Q)},register(t,r,n){t.calendar=_,r.calendar=x},registerDesigner(t,r,n){t.calendar=we,r.calendar=x}};P.Calendar=_,P.CalendarDayView=z,P.CalendarHeader=J,P.CalendarMonthView=U,P.CalendarWeekView=Q,P.MonthTag=j,P.calendarProps=F,P.dayViewProps=ee,P.default=Ve,P.defaultNameOfMonths=H,P.headerProps=K,P.monthViewProps=te,P.propsResolver=x,P.weekDays=$,P.weekViewProps=ne,Object.defineProperties(P,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/calendar/package.json
DELETED
package/capsule/index.esm.js
DELETED
|
@@ -1,518 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, ref as y, watch as B, computed as A, onMounted as P, createVNode as O, nextTick as T, inject as Q } from "vue";
|
|
2
|
-
import { cloneDeep as U } from "lodash-es";
|
|
3
|
-
const X = "https://json-schema.org/draft/2020-12/schema", Y = "https://farris-design.gitee.io/capsule.schema.json", Z = "capsule", I = "A Farris Component", K = "object", R = {
|
|
4
|
-
id: {
|
|
5
|
-
description: "The unique identifier for a capsule",
|
|
6
|
-
type: "string"
|
|
7
|
-
},
|
|
8
|
-
type: {
|
|
9
|
-
description: "The type string of capsule component",
|
|
10
|
-
type: "string",
|
|
11
|
-
default: "capsule"
|
|
12
|
-
},
|
|
13
|
-
appearance: {
|
|
14
|
-
description: "",
|
|
15
|
-
type: "object",
|
|
16
|
-
properties: {
|
|
17
|
-
class: {
|
|
18
|
-
type: "string"
|
|
19
|
-
},
|
|
20
|
-
style: {
|
|
21
|
-
type: "string"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
default: {}
|
|
25
|
-
},
|
|
26
|
-
binding: {
|
|
27
|
-
description: "",
|
|
28
|
-
type: "object",
|
|
29
|
-
default: {}
|
|
30
|
-
},
|
|
31
|
-
disable: {
|
|
32
|
-
type: "string",
|
|
33
|
-
default: !1
|
|
34
|
-
},
|
|
35
|
-
editable: {
|
|
36
|
-
description: "",
|
|
37
|
-
type: "boolean",
|
|
38
|
-
default: !0
|
|
39
|
-
},
|
|
40
|
-
placeHolder: {
|
|
41
|
-
description: "",
|
|
42
|
-
type: "string",
|
|
43
|
-
default: ""
|
|
44
|
-
},
|
|
45
|
-
readonly: {
|
|
46
|
-
description: "",
|
|
47
|
-
type: "boolean",
|
|
48
|
-
default: !1
|
|
49
|
-
},
|
|
50
|
-
require: {
|
|
51
|
-
description: "",
|
|
52
|
-
type: "boolean",
|
|
53
|
-
default: !1
|
|
54
|
-
},
|
|
55
|
-
tabindex: {
|
|
56
|
-
description: "",
|
|
57
|
-
type: "number",
|
|
58
|
-
default: -1
|
|
59
|
-
},
|
|
60
|
-
visible: {
|
|
61
|
-
description: "",
|
|
62
|
-
type: "boolean",
|
|
63
|
-
default: !0
|
|
64
|
-
}
|
|
65
|
-
}, x = [
|
|
66
|
-
"id",
|
|
67
|
-
"type"
|
|
68
|
-
], ee = {
|
|
69
|
-
$schema: X,
|
|
70
|
-
$id: Y,
|
|
71
|
-
title: Z,
|
|
72
|
-
description: I,
|
|
73
|
-
type: K,
|
|
74
|
-
properties: R,
|
|
75
|
-
required: x
|
|
76
|
-
}, H = {}, J = {};
|
|
77
|
-
function L(n) {
|
|
78
|
-
const { properties: e, title: t } = n, l = Object.keys(e).reduce((u, i) => (u[i] = e[i].type === "object" && e[i].properties ? L(e[i]) : U(e[i].default), u), {});
|
|
79
|
-
return l.id = `${t}-${Date.now()}`, l;
|
|
80
|
-
}
|
|
81
|
-
function W(n, e = {}) {
|
|
82
|
-
const t = H[n];
|
|
83
|
-
if (t) {
|
|
84
|
-
let l = L(t);
|
|
85
|
-
const u = J[n];
|
|
86
|
-
return l = u ? u({ getSchemaByType: W }, l, e) : l, l;
|
|
87
|
-
}
|
|
88
|
-
return null;
|
|
89
|
-
}
|
|
90
|
-
function te(n, e) {
|
|
91
|
-
const t = L(e);
|
|
92
|
-
return Object.keys(n).reduce((l, u) => (l[u] = n[u], l), t), t;
|
|
93
|
-
}
|
|
94
|
-
function ne(n, e) {
|
|
95
|
-
return Object.keys(n).filter((l) => n[l] != null).reduce((l, u) => {
|
|
96
|
-
if (e.has(u)) {
|
|
97
|
-
const i = e.get(u);
|
|
98
|
-
if (typeof i == "string")
|
|
99
|
-
l[i] = n[u];
|
|
100
|
-
else {
|
|
101
|
-
const d = i(u, n[u], n);
|
|
102
|
-
Object.assign(l, d);
|
|
103
|
-
}
|
|
104
|
-
} else
|
|
105
|
-
l[u] = n[u];
|
|
106
|
-
return l;
|
|
107
|
-
}, {});
|
|
108
|
-
}
|
|
109
|
-
function ae(n, e, t = /* @__PURE__ */ new Map()) {
|
|
110
|
-
const l = te(n, e);
|
|
111
|
-
return ne(l, t);
|
|
112
|
-
}
|
|
113
|
-
function ce(n = {}) {
|
|
114
|
-
function e(r, s, p, f) {
|
|
115
|
-
if (typeof p == "number")
|
|
116
|
-
return f[r].length === p;
|
|
117
|
-
if (typeof p == "object") {
|
|
118
|
-
const h = Object.keys(p)[0], g = p[h];
|
|
119
|
-
if (h === "not")
|
|
120
|
-
return Number(f[r].length) !== Number(g);
|
|
121
|
-
if (h === "moreThan")
|
|
122
|
-
return Number(f[r].length) >= Number(g);
|
|
123
|
-
if (h === "lessThan")
|
|
124
|
-
return Number(f[r].length) <= Number(g);
|
|
125
|
-
}
|
|
126
|
-
return !1;
|
|
127
|
-
}
|
|
128
|
-
function t(r, s, p, f) {
|
|
129
|
-
return f[s] && f[s].propertyValue && String(f[s].propertyValue.value) === String(p);
|
|
130
|
-
}
|
|
131
|
-
const l = /* @__PURE__ */ new Map([
|
|
132
|
-
["length", e],
|
|
133
|
-
["getProperty", t]
|
|
134
|
-
]);
|
|
135
|
-
Object.keys(n).reduce((r, s) => (r.set(s, n[s]), r), l);
|
|
136
|
-
function u(r, s) {
|
|
137
|
-
const p = r;
|
|
138
|
-
return typeof s == "number" ? [{ target: p, operator: "length", param: null, value: Number(s) }] : typeof s == "boolean" ? [{ target: p, operator: "getProperty", param: r, value: !!s }] : typeof s == "object" ? Object.keys(s).map((f) => {
|
|
139
|
-
if (f === "length")
|
|
140
|
-
return { target: p, operator: "length", param: null, value: s[f] };
|
|
141
|
-
const h = f, g = s[f];
|
|
142
|
-
return { target: p, operator: r, param: h, value: g };
|
|
143
|
-
}) : [];
|
|
144
|
-
}
|
|
145
|
-
function i(r) {
|
|
146
|
-
return Object.keys(r).reduce((p, f) => {
|
|
147
|
-
const h = u(f, r[f]);
|
|
148
|
-
return p.push(...h), p;
|
|
149
|
-
}, []);
|
|
150
|
-
}
|
|
151
|
-
function d(r, s) {
|
|
152
|
-
if (l.has(r.operator)) {
|
|
153
|
-
const p = l.get(r.operator);
|
|
154
|
-
return p && p(r.target, r.param, r.value, s) || !1;
|
|
155
|
-
}
|
|
156
|
-
return !1;
|
|
157
|
-
}
|
|
158
|
-
function C(r, s) {
|
|
159
|
-
return i(r).reduce((h, g) => h && d(g, s), !0);
|
|
160
|
-
}
|
|
161
|
-
function M(r, s) {
|
|
162
|
-
const p = Object.keys(r), f = p.includes("allOf"), h = p.includes("anyOf"), g = f || h, V = (g ? r[g ? f ? "allOf" : "anyOf" : "allOf"] : [r]).map((D) => C(D, s));
|
|
163
|
-
return f ? !V.includes(!1) : V.includes(!0);
|
|
164
|
-
}
|
|
165
|
-
return { parseValueSchema: M };
|
|
166
|
-
}
|
|
167
|
-
const le = {}, oe = {};
|
|
168
|
-
ce();
|
|
169
|
-
function re(n, e, t = /* @__PURE__ */ new Map(), l = (d, C, M) => C, u = {}, i = (d) => d) {
|
|
170
|
-
return H[e.title] = e, J[e.title] = l, le[e.title] = u, oe[e.title] = i, (d = {}) => {
|
|
171
|
-
const C = ae(d, e, t), M = Object.keys(n).reduce((r, s) => (r[s] = n[s].default, r), {});
|
|
172
|
-
return Object.assign(M, C);
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
function ue(n, e) {
|
|
176
|
-
return { customClass: e.class };
|
|
177
|
-
}
|
|
178
|
-
const se = /* @__PURE__ */ new Map([
|
|
179
|
-
["appearance", ue]
|
|
180
|
-
]);
|
|
181
|
-
function ie(n, e, t) {
|
|
182
|
-
return e;
|
|
183
|
-
}
|
|
184
|
-
const pe = "capsule", fe = "A Farris Component", ve = "object", me = {
|
|
185
|
-
basic: {
|
|
186
|
-
description: "Basic Infomation",
|
|
187
|
-
title: "基本信息",
|
|
188
|
-
properties: {
|
|
189
|
-
id: {
|
|
190
|
-
description: "组件标识",
|
|
191
|
-
title: "标识",
|
|
192
|
-
type: "string",
|
|
193
|
-
readonly: !0
|
|
194
|
-
},
|
|
195
|
-
type: {
|
|
196
|
-
description: "组件类型",
|
|
197
|
-
title: "控件类型",
|
|
198
|
-
type: "select",
|
|
199
|
-
editor: {
|
|
200
|
-
type: "waiting for modification",
|
|
201
|
-
enum: []
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}, de = {
|
|
207
|
-
title: pe,
|
|
208
|
-
description: fe,
|
|
209
|
-
type: ve,
|
|
210
|
-
categories: me
|
|
211
|
-
}, q = {
|
|
212
|
-
items: {
|
|
213
|
-
Type: Array,
|
|
214
|
-
default: [
|
|
215
|
-
{ name: "升序", value: "asc", icon: "f-icon f-icon-col-ascendingorder" },
|
|
216
|
-
{ name: "降序", value: "desc", icon: "f-icon f-icon-col-descendingorder" }
|
|
217
|
-
]
|
|
218
|
-
},
|
|
219
|
-
/**
|
|
220
|
-
* 组件值
|
|
221
|
-
*/
|
|
222
|
-
modelValue: { type: String, default: "" },
|
|
223
|
-
type: { type: String, default: "primary" }
|
|
224
|
-
}, ye = {
|
|
225
|
-
name: { type: String, default: "" },
|
|
226
|
-
value: { type: String, default: "" },
|
|
227
|
-
isActive: { type: Boolean, default: !1 },
|
|
228
|
-
icon: { type: String, default: "" },
|
|
229
|
-
index: { type: Number, default: 0 }
|
|
230
|
-
}, _ = re(q, ee, se, ie, de), z = /* @__PURE__ */ F({
|
|
231
|
-
name: "FCapsuleItem",
|
|
232
|
-
props: ye,
|
|
233
|
-
emits: ["mounted", "active"],
|
|
234
|
-
setup(n, e) {
|
|
235
|
-
const t = y(), l = y(n.isActive);
|
|
236
|
-
B(() => n.isActive, (d) => {
|
|
237
|
-
l.value = d;
|
|
238
|
-
});
|
|
239
|
-
const u = A(() => ({
|
|
240
|
-
"f-capsule-item": !0,
|
|
241
|
-
"f-capsule-active-item": l.value
|
|
242
|
-
}));
|
|
243
|
-
P(() => {
|
|
244
|
-
e.emit("mounted", t, n.value);
|
|
245
|
-
});
|
|
246
|
-
function i(d) {
|
|
247
|
-
e.emit("active", d, {
|
|
248
|
-
name: n.name,
|
|
249
|
-
value: n.value
|
|
250
|
-
});
|
|
251
|
-
}
|
|
252
|
-
return () => O("div", {
|
|
253
|
-
ref: t,
|
|
254
|
-
class: u.value,
|
|
255
|
-
onClick: (d) => i(d)
|
|
256
|
-
}, [n.icon && O("i", {
|
|
257
|
-
class: n.icon
|
|
258
|
-
}, null), n.name]);
|
|
259
|
-
}
|
|
260
|
-
}), k = /* @__PURE__ */ F({
|
|
261
|
-
name: "FCapsule",
|
|
262
|
-
props: q,
|
|
263
|
-
emits: ["change", "update:modelValue"],
|
|
264
|
-
setup(n, e) {
|
|
265
|
-
const t = y(n.items), l = y(), u = 2, i = y(n.modelValue), d = y("none"), C = y(n.type), M = A(() => {
|
|
266
|
-
const a = {
|
|
267
|
-
"f-capsule-container": !0
|
|
268
|
-
};
|
|
269
|
-
return C.value && (a[C.value] = !0), a;
|
|
270
|
-
}), r = A(() => ({})), s = A(() => ({
|
|
271
|
-
"f-capsule": !0
|
|
272
|
-
})), p = y(u), f = y(0), h = y(0), g = A(() => ({
|
|
273
|
-
left: `${p.value}px`,
|
|
274
|
-
width: `${f.value}px`,
|
|
275
|
-
transition: d.value
|
|
276
|
-
})), w = A(() => ({
|
|
277
|
-
width: `${h.value}px`
|
|
278
|
-
})), S = /* @__PURE__ */ new Map();
|
|
279
|
-
function V(a) {
|
|
280
|
-
var o;
|
|
281
|
-
if (S.has(a.value)) {
|
|
282
|
-
const c = (o = S.get(a.value)) == null ? void 0 : o.value;
|
|
283
|
-
if (c) {
|
|
284
|
-
const m = c.getBoundingClientRect(), b = l.value.getBoundingClientRect();
|
|
285
|
-
p.value = m.left - b.left + u + l.value.scrollLeft, f.value = m.width - 2 * u;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
function j(a, o) {
|
|
290
|
-
const c = a.value;
|
|
291
|
-
i.value = c, e.emit("update:modelValue", c), V(a), o && e.emit("change", c);
|
|
292
|
-
}
|
|
293
|
-
function D(a) {
|
|
294
|
-
const o = t.value.findIndex((c) => c.value === a);
|
|
295
|
-
o > -1 && j(t.value[o], !1);
|
|
296
|
-
}
|
|
297
|
-
B(() => n.modelValue, (a) => {
|
|
298
|
-
i.value = a, D(i.value);
|
|
299
|
-
}), B(() => n.items, async (a) => {
|
|
300
|
-
t.value = a, await T(), D(i.value), h.value = Array.from(S.values()).reduce((o, c) => (o += c.value.clientWidth, o), 0);
|
|
301
|
-
}), P(async () => {
|
|
302
|
-
D(i.value), await T(), d.value = "0.1s ease-out all", h.value = Array.from(S.values()).reduce((a, o) => (a += o.value.clientWidth, a), 0);
|
|
303
|
-
});
|
|
304
|
-
function $(a, o) {
|
|
305
|
-
j(o, !0);
|
|
306
|
-
}
|
|
307
|
-
function E(a, o) {
|
|
308
|
-
S.set(o, a);
|
|
309
|
-
}
|
|
310
|
-
function v(a, o) {
|
|
311
|
-
return O(z, {
|
|
312
|
-
name: a.name,
|
|
313
|
-
value: a.value,
|
|
314
|
-
isActive: a.value === i.value,
|
|
315
|
-
index: o,
|
|
316
|
-
onMounted: E,
|
|
317
|
-
onActive: $
|
|
318
|
-
}, null);
|
|
319
|
-
}
|
|
320
|
-
return () => O("span", {
|
|
321
|
-
ref: l,
|
|
322
|
-
class: M.value,
|
|
323
|
-
style: r.value
|
|
324
|
-
}, [O("span", {
|
|
325
|
-
class: "f-capsule-pane"
|
|
326
|
-
}, [t.value.map((a, o) => v(a, o))]), O("small", {
|
|
327
|
-
class: s.value,
|
|
328
|
-
style: g.value
|
|
329
|
-
}, null), O("div", {
|
|
330
|
-
class: "f-capsule-board",
|
|
331
|
-
style: w.value
|
|
332
|
-
}, null)]);
|
|
333
|
-
}
|
|
334
|
-
});
|
|
335
|
-
function he(n, e, t) {
|
|
336
|
-
var E;
|
|
337
|
-
function l() {
|
|
338
|
-
t != null && t.resolveComponentContext && t.resolveComponentContext();
|
|
339
|
-
}
|
|
340
|
-
l();
|
|
341
|
-
const u = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", d = y();
|
|
342
|
-
function C() {
|
|
343
|
-
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
|
|
344
|
-
}
|
|
345
|
-
function M() {
|
|
346
|
-
return !1;
|
|
347
|
-
}
|
|
348
|
-
function r() {
|
|
349
|
-
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanDeleteComponent ? t.checkCanDeleteComponent() : !0;
|
|
350
|
-
}
|
|
351
|
-
function s() {
|
|
352
|
-
return (e == null ? void 0 : e.schema.componentType) === "frame" ? !0 : t && t.hideNestedPaddingInDesginerView ? t.hideNestedPaddingInDesginerView() : !1;
|
|
353
|
-
}
|
|
354
|
-
function p(v) {
|
|
355
|
-
if (!v || !v.value)
|
|
356
|
-
return null;
|
|
357
|
-
if (v.value.schema && v.value.schema.type === "component")
|
|
358
|
-
return v.value;
|
|
359
|
-
const a = y(v == null ? void 0 : v.value.parent), o = p(a);
|
|
360
|
-
return o || null;
|
|
361
|
-
}
|
|
362
|
-
function f(v = e) {
|
|
363
|
-
const { componentInstance: a, designerItemElementRef: o } = v;
|
|
364
|
-
return !a || !a.value ? null : a.value.canMove ? o : f(v.parent);
|
|
365
|
-
}
|
|
366
|
-
function h(v) {
|
|
367
|
-
return !!t && t.canAccepts(v);
|
|
368
|
-
}
|
|
369
|
-
function g() {
|
|
370
|
-
return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
|
|
371
|
-
}
|
|
372
|
-
function w() {
|
|
373
|
-
}
|
|
374
|
-
function S(v, a) {
|
|
375
|
-
a && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(a);
|
|
376
|
-
}
|
|
377
|
-
function V(v) {
|
|
378
|
-
const { componentType: a } = v;
|
|
379
|
-
let o = W(a, v);
|
|
380
|
-
t && t.onResolveNewComponentSchema && (o = t.onResolveNewComponentSchema(v, o));
|
|
381
|
-
const c = a.toLowerCase().replace("-", "_");
|
|
382
|
-
return o && !o.id && o.type === a && (o.id = `${c}_${Math.random().toString().slice(2, 6)}`), o;
|
|
383
|
-
}
|
|
384
|
-
function j(v, a) {
|
|
385
|
-
const o = String(v.getAttribute("data-controltype")), c = v.getAttribute("data-feature"), m = c ? JSON.parse(c) : {};
|
|
386
|
-
m.parentComponentInstance = d.value;
|
|
387
|
-
let b = W(o, m);
|
|
388
|
-
t && t.onAcceptNewChildElement && (b = t.onAcceptNewChildElement(v, a, b));
|
|
389
|
-
const N = o.toLowerCase().replace("-", "_");
|
|
390
|
-
return b && !b.id && b.type === o && (b.id = `${N}_${Math.random().toString().slice(2, 6)}`), b;
|
|
391
|
-
}
|
|
392
|
-
function D(v) {
|
|
393
|
-
}
|
|
394
|
-
function $() {
|
|
395
|
-
return t && t.getPropsConfig ? t.getPropsConfig() : [];
|
|
396
|
-
}
|
|
397
|
-
return d.value = {
|
|
398
|
-
canMove: C(),
|
|
399
|
-
canSelectParent: M(),
|
|
400
|
-
canDelete: r(),
|
|
401
|
-
canNested: !s(),
|
|
402
|
-
contents: e == null ? void 0 : e.schema.contents,
|
|
403
|
-
elementRef: n,
|
|
404
|
-
parent: (E = e == null ? void 0 : e.parent) == null ? void 0 : E.componentInstance,
|
|
405
|
-
schema: e == null ? void 0 : e.schema,
|
|
406
|
-
styles: u,
|
|
407
|
-
designerClass: i,
|
|
408
|
-
canAccepts: h,
|
|
409
|
-
getBelongedComponentInstance: p,
|
|
410
|
-
getDraggableDesignItemElement: f,
|
|
411
|
-
getDraggingDisplayText: g,
|
|
412
|
-
getPropConfig: $,
|
|
413
|
-
getDragScopeElement: w,
|
|
414
|
-
onAcceptMovedChildElement: S,
|
|
415
|
-
onAcceptNewChildElement: j,
|
|
416
|
-
onChildElementMovedOut: D,
|
|
417
|
-
addNewChildComponentSchema: V,
|
|
418
|
-
updateDragAndDropRules: l,
|
|
419
|
-
triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || y(!1),
|
|
420
|
-
triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || y(!1)
|
|
421
|
-
}, d;
|
|
422
|
-
}
|
|
423
|
-
const be = /* @__PURE__ */ F({
|
|
424
|
-
name: "FCapsuleDesign",
|
|
425
|
-
props: q,
|
|
426
|
-
emits: ["change", "update:modelValue"],
|
|
427
|
-
setup(n, e) {
|
|
428
|
-
const t = y(n.items), l = y(), u = 2, i = y(n.modelValue), d = y("none"), C = y(n.type), M = Q("design-item-context"), r = he(l, M);
|
|
429
|
-
P(() => {
|
|
430
|
-
l.value.componentInstance = r;
|
|
431
|
-
}), e.expose(r.value);
|
|
432
|
-
const s = A(() => {
|
|
433
|
-
const c = {
|
|
434
|
-
"f-capsule-container": !0
|
|
435
|
-
};
|
|
436
|
-
return C.value && (c[C.value] = !0), c;
|
|
437
|
-
}), p = A(() => ({})), f = A(() => ({
|
|
438
|
-
"f-capsule": !0
|
|
439
|
-
})), h = y(u), g = y(0), w = y(0), S = A(() => ({
|
|
440
|
-
left: `${h.value}px`,
|
|
441
|
-
width: `${g.value}px`,
|
|
442
|
-
transition: d.value
|
|
443
|
-
})), V = A(() => ({
|
|
444
|
-
width: `${w.value}px`
|
|
445
|
-
})), j = /* @__PURE__ */ new Map();
|
|
446
|
-
function D(c) {
|
|
447
|
-
var m;
|
|
448
|
-
if (j.has(c.value)) {
|
|
449
|
-
const b = (m = j.get(c.value)) == null ? void 0 : m.value;
|
|
450
|
-
if (b) {
|
|
451
|
-
const N = b.getBoundingClientRect(), G = l.value.getBoundingClientRect();
|
|
452
|
-
h.value = N.left - G.left + u + l.value.scrollLeft, g.value = N.width - 2 * u;
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
function $(c, m) {
|
|
457
|
-
const b = c.value;
|
|
458
|
-
i.value = b, e.emit("update:modelValue", b), D(c), m && e.emit("change", b);
|
|
459
|
-
}
|
|
460
|
-
function E(c) {
|
|
461
|
-
const m = t.value.findIndex((b) => b.value === c);
|
|
462
|
-
m > -1 && $(t.value[m], !1);
|
|
463
|
-
}
|
|
464
|
-
B(() => n.modelValue, (c) => {
|
|
465
|
-
i.value = c, E(i.value);
|
|
466
|
-
}), B(() => n.items, async (c) => {
|
|
467
|
-
t.value = c, await T(), E(i.value), w.value = Array.from(j.values()).reduce((m, b) => (m += b.value.clientWidth, m), 0);
|
|
468
|
-
}), P(async () => {
|
|
469
|
-
E(i.value), await T(), d.value = "0.1s ease-out all", w.value = Array.from(j.values()).reduce((c, m) => (c += m.value.clientWidth, c), 0);
|
|
470
|
-
});
|
|
471
|
-
function v(c, m) {
|
|
472
|
-
$(m, !0);
|
|
473
|
-
}
|
|
474
|
-
function a(c, m) {
|
|
475
|
-
j.set(m, c);
|
|
476
|
-
}
|
|
477
|
-
function o(c, m) {
|
|
478
|
-
return O(z, {
|
|
479
|
-
name: c.name,
|
|
480
|
-
value: c.value,
|
|
481
|
-
isActive: c.value === i.value,
|
|
482
|
-
index: m,
|
|
483
|
-
onMounted: a,
|
|
484
|
-
onActive: v
|
|
485
|
-
}, null);
|
|
486
|
-
}
|
|
487
|
-
return () => O("span", {
|
|
488
|
-
ref: l,
|
|
489
|
-
class: s.value,
|
|
490
|
-
style: p.value
|
|
491
|
-
}, [O("span", {
|
|
492
|
-
class: "f-capsule-pane"
|
|
493
|
-
}, [t.value.map((c, m) => o(c, m))]), O("small", {
|
|
494
|
-
class: f.value,
|
|
495
|
-
style: S.value
|
|
496
|
-
}, null), O("div", {
|
|
497
|
-
class: "f-capsule-board",
|
|
498
|
-
style: V.value
|
|
499
|
-
}, null)]);
|
|
500
|
-
}
|
|
501
|
-
}), Oe = {
|
|
502
|
-
install(n) {
|
|
503
|
-
n.component(k.name, k);
|
|
504
|
-
},
|
|
505
|
-
register(n, e, t) {
|
|
506
|
-
n.capsule = k, e.capsule = _;
|
|
507
|
-
},
|
|
508
|
-
registerDesigner(n, e, t) {
|
|
509
|
-
n.capsule = be, e.capsule = _;
|
|
510
|
-
}
|
|
511
|
-
};
|
|
512
|
-
export {
|
|
513
|
-
k as Capsule,
|
|
514
|
-
ye as capsuleItemProps,
|
|
515
|
-
q as capsuleProps,
|
|
516
|
-
Oe as default,
|
|
517
|
-
_ as propsResolver
|
|
518
|
-
};
|
package/capsule/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(M,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue"),require("lodash-es")):typeof define=="function"&&define.amd?define(["exports","vue","lodash-es"],n):(M=typeof globalThis<"u"?globalThis:M||self,n(M.capsule={},M.Vue,M.LodashES))})(this,function(M,n,_){"use strict";const H={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://farris-design.gitee.io/capsule.schema.json",title:"capsule",description:"A Farris Component",type:"object",properties:{id:{description:"The unique identifier for a capsule",type:"string"},type:{description:"The type string of capsule component",type:"string",default:"capsule"},appearance:{description:"",type:"object",properties:{class:{type:"string"},style:{type:"string"}},default:{}},binding:{description:"",type:"object",default:{}},disable:{type:"string",default:!1},editable:{description:"",type:"boolean",default:!0},placeHolder:{description:"",type:"string",default:""},readonly:{description:"",type:"boolean",default:!1},require:{description:"",type:"boolean",default:!1},tabindex:{description:"",type:"number",default:-1},visible:{description:"",type:"boolean",default:!0}},required:["id","type"]},W={},q={};function P(a){const{properties:e,title:t}=a,r=Object.keys(e).reduce((u,p)=>(u[p]=e[p].type==="object"&&e[p].properties?P(e[p]):_.cloneDeep(e[p].default),u),{});return r.id=`${t}-${Date.now()}`,r}function B(a,e={}){const t=W[a];if(t){let r=P(t);const u=q[a];return r=u?u({getSchemaByType:B},r,e):r,r}return null}function J(a,e){const t=P(e);return Object.keys(a).reduce((r,u)=>(r[u]=a[u],r),t),t}function z(a,e){return Object.keys(a).filter(r=>a[r]!=null).reduce((r,u)=>{if(e.has(u)){const p=e.get(u);if(typeof p=="string")r[p]=a[u];else{const h=p(u,a[u],a);Object.assign(r,h)}}else r[u]=a[u];return r},{})}function G(a,e,t=new Map){const r=J(a,e);return z(r,t)}function Q(a={}){function e(s,i,f,d){if(typeof f=="number")return d[s].length===f;if(typeof f=="object"){const v=Object.keys(f)[0],C=f[v];if(v==="not")return Number(d[s].length)!==Number(C);if(v==="moreThan")return Number(d[s].length)>=Number(C);if(v==="lessThan")return Number(d[s].length)<=Number(C)}return!1}function t(s,i,f,d){return d[i]&&d[i].propertyValue&&String(d[i].propertyValue.value)===String(f)}const r=new Map([["length",e],["getProperty",t]]);Object.keys(a).reduce((s,i)=>(s.set(i,a[i]),s),r);function u(s,i){const f=s;return typeof i=="number"?[{target:f,operator:"length",param:null,value:Number(i)}]:typeof i=="boolean"?[{target:f,operator:"getProperty",param:s,value:!!i}]:typeof i=="object"?Object.keys(i).map(d=>{if(d==="length")return{target:f,operator:"length",param:null,value:i[d]};const v=d,C=i[d];return{target:f,operator:s,param:v,value:C}}):[]}function p(s){return Object.keys(s).reduce((f,d)=>{const v=u(d,s[d]);return f.push(...v),f},[])}function h(s,i){if(r.has(s.operator)){const f=r.get(s.operator);return f&&f(s.target,s.param,s.value,i)||!1}return!1}function g(s,i){return p(s).reduce((v,C)=>v&&h(C,i),!0)}function j(s,i){const f=Object.keys(s),d=f.includes("allOf"),v=f.includes("anyOf"),C=d||v,A=(C?s[C?d?"allOf":"anyOf":"allOf"]:[s]).map(S=>g(S,i));return d?!A.includes(!1):A.includes(!0)}return{parseValueSchema:j}}const U={},X={};Q();function Y(a,e,t=new Map,r=(h,g,j)=>g,u={},p=h=>h){return W[e.title]=e,q[e.title]=r,U[e.title]=u,X[e.title]=p,(h={})=>{const g=G(h,e,t),j=Object.keys(a).reduce((s,i)=>(s[i]=a[i].default,s),{});return Object.assign(j,g)}}function Z(a,e){return{customClass:e.class}}const I=new Map([["appearance",Z]]);function K(a,e,t){return e}const R={title:"capsule",description:"A Farris Component",type:"object",categories:{basic:{description:"Basic Infomation",title:"基本信息",properties:{id:{description:"组件标识",title:"标识",type:"string",readonly:!0},type:{description:"组件类型",title:"控件类型",type:"select",editor:{type:"waiting for modification",enum:[]}}}}}},$={items:{Type:Array,default:[{name:"升序",value:"asc",icon:"f-icon f-icon-col-ascendingorder"},{name:"降序",value:"desc",icon:"f-icon f-icon-col-descendingorder"}]},modelValue:{type:String,default:""},type:{type:String,default:"primary"}},F={name:{type:String,default:""},value:{type:String,default:""},isActive:{type:Boolean,default:!1},icon:{type:String,default:""},index:{type:Number,default:0}},k=Y($,H,I,K,R),L=n.defineComponent({name:"FCapsuleItem",props:F,emits:["mounted","active"],setup(a,e){const t=n.ref(),r=n.ref(a.isActive);n.watch(()=>a.isActive,h=>{r.value=h});const u=n.computed(()=>({"f-capsule-item":!0,"f-capsule-active-item":r.value}));n.onMounted(()=>{e.emit("mounted",t,a.value)});function p(h){e.emit("active",h,{name:a.name,value:a.value})}return()=>n.createVNode("div",{ref:t,class:u.value,onClick:h=>p(h)},[a.icon&&n.createVNode("i",{class:a.icon},null),a.name])}}),T=n.defineComponent({name:"FCapsule",props:$,emits:["change","update:modelValue"],setup(a,e){const t=n.ref(a.items),r=n.ref(),u=2,p=n.ref(a.modelValue),h=n.ref("none"),g=n.ref(a.type),j=n.computed(()=>{const c={"f-capsule-container":!0};return g.value&&(c[g.value]=!0),c}),s=n.computed(()=>({})),i=n.computed(()=>({"f-capsule":!0})),f=n.ref(u),d=n.ref(0),v=n.ref(0),C=n.computed(()=>({left:`${f.value}px`,width:`${d.value}px`,transition:h.value})),w=n.computed(()=>({width:`${v.value}px`})),O=new Map;function A(c){var l;if(O.has(c.value)){const o=(l=O.get(c.value))==null?void 0:l.value;if(o){const y=o.getBoundingClientRect(),b=r.value.getBoundingClientRect();f.value=y.left-b.left+u+r.value.scrollLeft,d.value=y.width-2*u}}}function V(c,l){const o=c.value;p.value=o,e.emit("update:modelValue",o),A(c),l&&e.emit("change",o)}function S(c){const l=t.value.findIndex(o=>o.value===c);l>-1&&V(t.value[l],!1)}n.watch(()=>a.modelValue,c=>{p.value=c,S(p.value)}),n.watch(()=>a.items,async c=>{t.value=c,await n.nextTick(),S(p.value),v.value=Array.from(O.values()).reduce((l,o)=>(l+=o.value.clientWidth,l),0)}),n.onMounted(async()=>{S(p.value),await n.nextTick(),h.value="0.1s ease-out all",v.value=Array.from(O.values()).reduce((c,l)=>(c+=l.value.clientWidth,c),0)});function D(c,l){V(l,!0)}function N(c,l){O.set(l,c)}function m(c,l){return n.createVNode(L,{name:c.name,value:c.value,isActive:c.value===p.value,index:l,onMounted:N,onActive:D},null)}return()=>n.createVNode("span",{ref:r,class:j.value,style:s.value},[n.createVNode("span",{class:"f-capsule-pane"},[t.value.map((c,l)=>m(c,l))]),n.createVNode("small",{class:i.value,style:C.value},null),n.createVNode("div",{class:"f-capsule-board",style:w.value},null)])}});function x(a,e,t){var N;function r(){t!=null&&t.resolveComponentContext&&t.resolveComponentContext()}r();const u=t&&t.getStyles&&t.getStyles()||"",p=t&&t.getDesignerClass&&t.getDesignerClass()||"",h=n.ref();function g(){return(e==null?void 0:e.schema.componentType)==="frame"?!1:t&&t.checkCanMoveComponent?t.checkCanMoveComponent():!0}function j(){return!1}function s(){return(e==null?void 0:e.schema.componentType)==="frame"?!1:t&&t.checkCanDeleteComponent?t.checkCanDeleteComponent():!0}function i(){return(e==null?void 0:e.schema.componentType)==="frame"?!0:t&&t.hideNestedPaddingInDesginerView?t.hideNestedPaddingInDesginerView():!1}function f(m){if(!m||!m.value)return null;if(m.value.schema&&m.value.schema.type==="component")return m.value;const c=n.ref(m==null?void 0:m.value.parent),l=f(c);return l||null}function d(m=e){const{componentInstance:c,designerItemElementRef:l}=m;return!c||!c.value?null:c.value.canMove?l:d(m.parent)}function v(m){return!!t&&t.canAccepts(m)}function C(){return(e==null?void 0:e.schema.label)||(e==null?void 0:e.schema.title)||(e==null?void 0:e.schema.name)}function w(){}function O(m,c){c&&t!=null&&t.onAcceptMovedChildElement&&t.onAcceptMovedChildElement(c)}function A(m){const{componentType:c}=m;let l=B(c,m);t&&t.onResolveNewComponentSchema&&(l=t.onResolveNewComponentSchema(m,l));const o=c.toLowerCase().replace("-","_");return l&&!l.id&&l.type===c&&(l.id=`${o}_${Math.random().toString().slice(2,6)}`),l}function V(m,c){const l=String(m.getAttribute("data-controltype")),o=m.getAttribute("data-feature"),y=o?JSON.parse(o):{};y.parentComponentInstance=h.value;let b=B(l,y);t&&t.onAcceptNewChildElement&&(b=t.onAcceptNewChildElement(m,c,b));const E=l.toLowerCase().replace("-","_");return b&&!b.id&&b.type===l&&(b.id=`${E}_${Math.random().toString().slice(2,6)}`),b}function S(m){}function D(){return t&&t.getPropsConfig?t.getPropsConfig():[]}return h.value={canMove:g(),canSelectParent:j(),canDelete:s(),canNested:!i(),contents:e==null?void 0:e.schema.contents,elementRef:a,parent:(N=e==null?void 0:e.parent)==null?void 0:N.componentInstance,schema:e==null?void 0:e.schema,styles:u,designerClass:p,canAccepts:v,getBelongedComponentInstance:f,getDraggableDesignItemElement:d,getDraggingDisplayText:C,getPropConfig:D,getDragScopeElement:w,onAcceptMovedChildElement:O,onAcceptNewChildElement:V,onChildElementMovedOut:S,addNewChildComponentSchema:A,updateDragAndDropRules:r,triggerBelongedComponentToMoveWhenMoved:!!t&&t.triggerBelongedComponentToMoveWhenMoved||n.ref(!1),triggerBelongedComponentToDeleteWhenDeleted:!!t&&t.triggerBelongedComponentToDeleteWhenDeleted||n.ref(!1)},h}const ee=n.defineComponent({name:"FCapsuleDesign",props:$,emits:["change","update:modelValue"],setup(a,e){const t=n.ref(a.items),r=n.ref(),u=2,p=n.ref(a.modelValue),h=n.ref("none"),g=n.ref(a.type),j=n.inject("design-item-context"),s=x(r,j);n.onMounted(()=>{r.value.componentInstance=s}),e.expose(s.value);const i=n.computed(()=>{const o={"f-capsule-container":!0};return g.value&&(o[g.value]=!0),o}),f=n.computed(()=>({})),d=n.computed(()=>({"f-capsule":!0})),v=n.ref(u),C=n.ref(0),w=n.ref(0),O=n.computed(()=>({left:`${v.value}px`,width:`${C.value}px`,transition:h.value})),A=n.computed(()=>({width:`${w.value}px`})),V=new Map;function S(o){var y;if(V.has(o.value)){const b=(y=V.get(o.value))==null?void 0:y.value;if(b){const E=b.getBoundingClientRect(),ne=r.value.getBoundingClientRect();v.value=E.left-ne.left+u+r.value.scrollLeft,C.value=E.width-2*u}}}function D(o,y){const b=o.value;p.value=b,e.emit("update:modelValue",b),S(o),y&&e.emit("change",b)}function N(o){const y=t.value.findIndex(b=>b.value===o);y>-1&&D(t.value[y],!1)}n.watch(()=>a.modelValue,o=>{p.value=o,N(p.value)}),n.watch(()=>a.items,async o=>{t.value=o,await n.nextTick(),N(p.value),w.value=Array.from(V.values()).reduce((y,b)=>(y+=b.value.clientWidth,y),0)}),n.onMounted(async()=>{N(p.value),await n.nextTick(),h.value="0.1s ease-out all",w.value=Array.from(V.values()).reduce((o,y)=>(o+=y.value.clientWidth,o),0)});function m(o,y){D(y,!0)}function c(o,y){V.set(y,o)}function l(o,y){return n.createVNode(L,{name:o.name,value:o.value,isActive:o.value===p.value,index:y,onMounted:c,onActive:m},null)}return()=>n.createVNode("span",{ref:r,class:i.value,style:f.value},[n.createVNode("span",{class:"f-capsule-pane"},[t.value.map((o,y)=>l(o,y))]),n.createVNode("small",{class:d.value,style:O.value},null),n.createVNode("div",{class:"f-capsule-board",style:A.value},null)])}}),te={install(a){a.component(T.name,T)},register(a,e,t){a.capsule=T,e.capsule=k},registerDesigner(a,e,t){a.capsule=ee,e.capsule=k}};M.Capsule=T,M.capsuleItemProps=F,M.capsuleProps=$,M.default=te,M.propsResolver=k,Object.defineProperties(M,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|