huibo-ui 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{date-helpers-904747ff.js → date-helpers-1ffddc59.js} +7 -3
- package/dist/cjs/date-helpers-1ffddc59.js.map +1 -0
- package/dist/cjs/hb-affix.cjs.entry.js +1 -1
- package/dist/cjs/hb-aside.cjs.entry.js +1 -1
- package/dist/cjs/hb-avatar.cjs.entry.js +1 -1
- package/dist/cjs/hb-backtop.cjs.entry.js +2 -2
- package/dist/cjs/hb-badge.cjs.entry.js +1 -1
- package/dist/cjs/hb-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/hb-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/hb-button.cjs.entry.js +2 -2
- package/dist/cjs/hb-calendar.cjs.entry.js +78 -10
- package/dist/cjs/hb-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-card.cjs.entry.js +1 -1
- package/dist/cjs/hb-cascader.cjs.entry.js +270 -146
- package/dist/cjs/hb-cascader.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/hb-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/hb-collapse-item.cjs.entry.js +1 -1
- package/dist/cjs/hb-collapse.cjs.entry.js +1 -1
- package/dist/cjs/hb-color-picker-panel.cjs.entry.js +2 -2
- package/dist/cjs/hb-color-picker.cjs.entry.js +91 -14
- package/dist/cjs/hb-color-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-config-provider.cjs.entry.js +1 -1
- package/dist/cjs/hb-container.cjs.entry.js +2 -2
- package/dist/cjs/hb-date-picker-pane.cjs.entry.js +2 -2
- package/dist/cjs/hb-date-picker.cjs.entry.js +85 -7
- package/dist/cjs/hb-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-date-range-picker.cjs.entry.js +3 -3
- package/dist/cjs/hb-date-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/hb-descriptions.cjs.entry.js +2 -2
- package/dist/cjs/hb-descriptions.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-divider.cjs.entry.js +2 -2
- package/dist/cjs/hb-drawer.cjs.entry.js +1 -1
- package/dist/cjs/hb-dropdown.cjs.entry.js +74 -6
- package/dist/cjs/hb-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-empty.cjs.entry.js +1 -1
- package/dist/cjs/hb-float-button.cjs.entry.js +2 -2
- package/dist/cjs/hb-footer.cjs.entry.js +1 -1
- package/dist/cjs/hb-form-item.cjs.entry.js +59 -8
- package/dist/cjs/hb-form-item.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-form.cjs.entry.js +3 -3
- package/dist/cjs/hb-form.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-header.cjs.entry.js +1 -1
- package/dist/cjs/hb-image-preview.cjs.entry.js +12 -8
- package/dist/cjs/hb-image-preview.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-image.cjs.entry.js +1 -1
- package/dist/cjs/hb-input-number.cjs.entry.js +5 -5
- package/dist/cjs/hb-input-tag.cjs.entry.js +2 -2
- package/dist/cjs/hb-input.cjs.entry.js +39 -3
- package/dist/cjs/hb-input.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-layout.cjs.entry.js +36 -14
- package/dist/cjs/hb-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-link.cjs.entry.js +2 -2
- package/dist/cjs/hb-loading.cjs.entry.js +2 -2
- package/dist/cjs/hb-main.cjs.entry.js +1 -1
- package/dist/cjs/hb-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/hb-menu.cjs.entry.js +3 -3
- package/dist/cjs/hb-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-message.cjs.entry.js +2 -2
- package/dist/cjs/hb-notification.cjs.entry.js +2 -2
- package/dist/cjs/hb-page-header.cjs.entry.js +1 -1
- package/dist/cjs/hb-pagination.cjs.entry.js +21 -8
- package/dist/cjs/hb-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-popconfirm.cjs.entry.js +37 -7
- package/dist/cjs/hb-popconfirm.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-popover.cjs.entry.js +22 -2
- package/dist/cjs/hb-popover.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-progress.cjs.entry.js +1 -1
- package/dist/cjs/hb-radio.cjs.entry.js +2 -2
- package/dist/cjs/hb-rate.cjs.entry.js +45 -3
- package/dist/cjs/hb-rate.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-result.cjs.entry.js +1 -1
- package/dist/cjs/hb-row.cjs.entry.js +2 -2
- package/dist/cjs/hb-segmented.cjs.entry.js +39 -5
- package/dist/cjs/hb-segmented.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-select.cjs.entry.js +47 -8
- package/dist/cjs/hb-select.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-slider.cjs.entry.js +189 -20
- package/dist/cjs/hb-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-space.cjs.entry.js +2 -2
- package/dist/cjs/hb-statistic.cjs.entry.js +1 -1
- package/dist/cjs/hb-step.cjs.entry.js +1 -1
- package/dist/cjs/hb-steps.cjs.entry.js +30 -9
- package/dist/cjs/hb-steps.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-sub-menu.cjs.entry.js +4 -4
- package/dist/cjs/hb-switch.cjs.entry.js +9 -4
- package/dist/cjs/hb-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/hb-table.cjs.entry.js +1 -1
- package/dist/cjs/hb-table.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-tabs.cjs.entry.js +2 -2
- package/dist/cjs/hb-tag.cjs.entry.js +2 -2
- package/dist/cjs/hb-text.cjs.entry.js +2 -2
- package/dist/cjs/hb-time-picker.cjs.entry.js +4 -4
- package/dist/cjs/hb-time-select.cjs.entry.js +2 -2
- package/dist/cjs/hb-timeline.cjs.entry.js +1 -1
- package/dist/cjs/hb-tooltip.cjs.entry.js +18 -1
- package/dist/cjs/hb-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-transfer.cjs.entry.js +2 -2
- package/dist/cjs/hb-tree-select.cjs.entry.js +95 -18
- package/dist/cjs/hb-tree-select.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-tree.cjs.entry.js +1 -1
- package/dist/cjs/hb-upload.cjs.entry.js +3 -3
- package/dist/cjs/hb-watermark.cjs.entry.js +1 -1
- package/dist/cjs/huibo-ui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/Affix/Affix.js +1 -1
- package/dist/collection/components/Avatar/Avatar.js +1 -1
- package/dist/collection/components/Backtop/Backtop.js +2 -2
- package/dist/collection/components/Badge/Badge.js +1 -1
- package/dist/collection/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/collection/components/Breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/collection/components/Button/Button.js +2 -2
- package/dist/collection/components/Calendar/Calendar.js +84 -10
- package/dist/collection/components/Calendar/Calendar.js.map +1 -1
- package/dist/collection/components/Calendar/calendar.css +16 -0
- package/dist/collection/components/Card/Card.js +1 -1
- package/dist/collection/components/Cascader/Cascader.js +374 -194
- package/dist/collection/components/Cascader/Cascader.js.map +1 -1
- package/dist/collection/components/Cascader/cascader.css +170 -16
- package/dist/collection/components/Checkbox/Checkbox.js +3 -3
- package/dist/collection/components/Checkbox/CheckboxGroup.js +2 -2
- package/dist/collection/components/Collapse/Collapse.js +1 -1
- package/dist/collection/components/Collapse/CollapseItem.js +1 -1
- package/dist/collection/components/ColorPicker/ColorPicker.js +92 -14
- package/dist/collection/components/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/collection/components/ColorPicker/color-picker.css +13 -0
- package/dist/collection/components/ColorPickerPanel/ColorPickerPanel.js +2 -2
- package/dist/collection/components/ConfigProvider/ConfigProvider.js +1 -1
- package/dist/collection/components/Container/Aside.js +1 -1
- package/dist/collection/components/Container/Container.js +2 -2
- package/dist/collection/components/Container/Footer.js +1 -1
- package/dist/collection/components/Container/Header.js +1 -1
- package/dist/collection/components/Container/Main.js +1 -1
- package/dist/collection/components/DatePicker/DatePicker.js +89 -10
- package/dist/collection/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/collection/components/DatePicker/date-picker.css +62 -2
- package/dist/collection/components/DatePickerPane/DatePickerPane.js +1 -1
- package/dist/collection/components/DateRangePicker/DateRangePicker.js +2 -2
- package/dist/collection/components/DateTimePicker/DateTimePicker.js +2 -2
- package/dist/collection/components/Descriptions/Descriptions.js +1 -1
- package/dist/collection/components/Descriptions/descriptions.css +22 -0
- package/dist/collection/components/Divider/Divider.js +2 -2
- package/dist/collection/components/Drawer/Drawer.js +1 -1
- package/dist/collection/components/Dropdown/Dropdown.js +83 -7
- package/dist/collection/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/collection/components/Dropdown/dropdown.css +2 -1
- package/dist/collection/components/Empty/Empty.js +1 -1
- package/dist/collection/components/FloatButton/FloatButton.js +2 -2
- package/dist/collection/components/Form/Form.js +2 -2
- package/dist/collection/components/Form/FormItem.js +60 -9
- package/dist/collection/components/Form/FormItem.js.map +1 -1
- package/dist/collection/components/Form/form-item.css +49 -4
- package/dist/collection/components/Form/form.css +1 -0
- package/dist/collection/components/Image/Image.js +1 -1
- package/dist/collection/components/ImagePreview/ImagePreview.js +12 -8
- package/dist/collection/components/ImagePreview/ImagePreview.js.map +1 -1
- package/dist/collection/components/Input/Input.js +38 -2
- package/dist/collection/components/Input/Input.js.map +1 -1
- package/dist/collection/components/Input/input.css +21 -2
- package/dist/collection/components/InputNumber/InputNumber.js +5 -5
- package/dist/collection/components/InputTag/InputTag.js +2 -2
- package/dist/collection/components/Layout/Layout.js +87 -34
- package/dist/collection/components/Layout/Layout.js.map +1 -1
- package/dist/collection/components/Layout/Row.js +2 -2
- package/dist/collection/components/Layout/layout.css +524 -0
- package/dist/collection/components/Link/Link.js +2 -2
- package/dist/collection/components/Loading/Loading.js +2 -2
- package/dist/collection/components/Menu/Menu.js +2 -2
- package/dist/collection/components/Menu/MenuItem.js +2 -2
- package/dist/collection/components/Menu/SubMenu.js +4 -4
- package/dist/collection/components/Menu/menu.css +25 -0
- package/dist/collection/components/Message/Message.js +2 -2
- package/dist/collection/components/Notification/Notification.js +2 -2
- package/dist/collection/components/PageHeader/PageHeader.js +1 -1
- package/dist/collection/components/Pagination/Pagination.js +23 -7
- package/dist/collection/components/Pagination/Pagination.js.map +1 -1
- package/dist/collection/components/Pagination/pagination.css +23 -0
- package/dist/collection/components/Popconfirm/Popconfirm.js +44 -7
- package/dist/collection/components/Popconfirm/Popconfirm.js.map +1 -1
- package/dist/collection/components/Popover/Popover.js +29 -2
- package/dist/collection/components/Popover/Popover.js.map +1 -1
- package/dist/collection/components/Progress/Progress.js +1 -1
- package/dist/collection/components/Radio/Radio.js +2 -2
- package/dist/collection/components/Rate/Rate.js +45 -3
- package/dist/collection/components/Rate/Rate.js.map +1 -1
- package/dist/collection/components/Result/Result.js +1 -1
- package/dist/collection/components/Segmented/Segmented.js +51 -6
- package/dist/collection/components/Segmented/Segmented.js.map +1 -1
- package/dist/collection/components/Select/Select.js +46 -7
- package/dist/collection/components/Select/Select.js.map +1 -1
- package/dist/collection/components/Select/select.css +50 -4
- package/dist/collection/components/Slider/Slider.js +221 -21
- package/dist/collection/components/Slider/Slider.js.map +1 -1
- package/dist/collection/components/Slider/slider.css +58 -7
- package/dist/collection/components/Space/Space.js +2 -2
- package/dist/collection/components/Statistic/Statistic.js +1 -1
- package/dist/collection/components/Steps/Step.js +1 -1
- package/dist/collection/components/Steps/Steps.js +35 -8
- package/dist/collection/components/Steps/Steps.js.map +1 -1
- package/dist/collection/components/Switch/Switch.js +8 -3
- package/dist/collection/components/Switch/Switch.js.map +1 -1
- package/dist/collection/components/Switch/switch.css +45 -0
- package/dist/collection/components/Table/table.css +20 -0
- package/dist/collection/components/Tabs/TabPane.js +1 -1
- package/dist/collection/components/Tabs/Tabs.js +2 -2
- package/dist/collection/components/Tag/Tag.js +2 -2
- package/dist/collection/components/Text/Text.js +2 -2
- package/dist/collection/components/TimePicker/TimePicker.js +4 -4
- package/dist/collection/components/TimeSelect/TimeSelect.js +2 -2
- package/dist/collection/components/Timeline/Timeline.js +1 -1
- package/dist/collection/components/Tooltip/Tooltip.js +25 -2
- package/dist/collection/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/collection/components/Transfer/Transfer.js +2 -2
- package/dist/collection/components/Tree/Tree.js +1 -1
- package/dist/collection/components/TreeSelect/TreeSelect.js +94 -17
- package/dist/collection/components/TreeSelect/TreeSelect.js.map +1 -1
- package/dist/collection/components/TreeSelect/tree-select.css +41 -7
- package/dist/collection/components/Upload/Upload.js +3 -3
- package/dist/collection/components/Watermark/Watermark.js +1 -1
- package/dist/collection/utils/date-helpers.js +6 -2
- package/dist/collection/utils/date-helpers.js.map +1 -1
- package/dist/components/hb-affix.js +1 -1
- package/dist/components/hb-aside.js +1 -1
- package/dist/components/hb-avatar.js +1 -1
- package/dist/components/hb-backtop.js +2 -2
- package/dist/components/hb-badge.js +1 -1
- package/dist/components/hb-breadcrumb-item.js +1 -1
- package/dist/components/hb-breadcrumb.js +1 -1
- package/dist/components/hb-button.js +2 -2
- package/dist/components/hb-calendar.js +80 -11
- package/dist/components/hb-calendar.js.map +1 -1
- package/dist/components/hb-card.js +1 -1
- package/dist/components/hb-cascader.js +273 -146
- package/dist/components/hb-cascader.js.map +1 -1
- package/dist/components/hb-checkbox-group.js +2 -2
- package/dist/components/hb-checkbox.js +3 -3
- package/dist/components/hb-collapse-item.js +1 -1
- package/dist/components/hb-collapse.js +1 -1
- package/dist/components/hb-color-picker-panel.js +2 -2
- package/dist/components/hb-color-picker.js +93 -15
- package/dist/components/hb-color-picker.js.map +1 -1
- package/dist/components/hb-config-provider.js +1 -1
- package/dist/components/hb-container.js +2 -2
- package/dist/components/hb-date-picker-pane.js +2 -2
- package/dist/components/hb-date-picker.js +87 -8
- package/dist/components/hb-date-picker.js.map +1 -1
- package/dist/components/hb-date-range-picker.js +3 -3
- package/dist/components/hb-date-time-picker.js +3 -3
- package/dist/components/hb-descriptions.js +2 -2
- package/dist/components/hb-descriptions.js.map +1 -1
- package/dist/components/hb-divider.js +2 -2
- package/dist/components/hb-drawer.js +1 -1
- package/dist/components/hb-dropdown.js +76 -7
- package/dist/components/hb-dropdown.js.map +1 -1
- package/dist/components/hb-empty.js +1 -1
- package/dist/components/hb-float-button.js +2 -2
- package/dist/components/hb-footer.js +1 -1
- package/dist/components/hb-form-item.js +59 -8
- package/dist/components/hb-form-item.js.map +1 -1
- package/dist/components/hb-form.js +3 -3
- package/dist/components/hb-form.js.map +1 -1
- package/dist/components/hb-header.js +1 -1
- package/dist/components/hb-icon.js +1 -89
- package/dist/components/hb-icon.js.map +1 -1
- package/dist/components/hb-image-preview.js +12 -8
- package/dist/components/hb-image-preview.js.map +1 -1
- package/dist/components/hb-image.js +1 -1
- package/dist/components/hb-input-number.js +5 -5
- package/dist/components/hb-input-tag.js +2 -2
- package/dist/components/hb-input.js +39 -3
- package/dist/components/hb-input.js.map +1 -1
- package/dist/components/hb-layout.js +36 -14
- package/dist/components/hb-layout.js.map +1 -1
- package/dist/components/hb-link.js +2 -2
- package/dist/components/hb-loading.js +2 -2
- package/dist/components/hb-main.js +1 -1
- package/dist/components/hb-menu-item.js +2 -2
- package/dist/components/hb-menu.js +3 -3
- package/dist/components/hb-menu.js.map +1 -1
- package/dist/components/hb-message.js +2 -2
- package/dist/components/hb-notification.js +2 -2
- package/dist/components/hb-page-header.js +1 -1
- package/dist/components/hb-pagination.js +25 -10
- package/dist/components/hb-pagination.js.map +1 -1
- package/dist/components/hb-popconfirm.js +37 -7
- package/dist/components/hb-popconfirm.js.map +1 -1
- package/dist/components/hb-popover.js +22 -2
- package/dist/components/hb-popover.js.map +1 -1
- package/dist/components/hb-progress.js +1 -1
- package/dist/components/hb-radio.js +2 -2
- package/dist/components/hb-rate.js +45 -3
- package/dist/components/hb-rate.js.map +1 -1
- package/dist/components/hb-result.js +1 -1
- package/dist/components/hb-row.js +2 -2
- package/dist/components/hb-segmented.js +41 -6
- package/dist/components/hb-segmented.js.map +1 -1
- package/dist/components/hb-select.js +47 -8
- package/dist/components/hb-select.js.map +1 -1
- package/dist/components/hb-slider.js +194 -21
- package/dist/components/hb-slider.js.map +1 -1
- package/dist/components/hb-space.js +2 -2
- package/dist/components/hb-statistic.js +1 -1
- package/dist/components/hb-step.js +1 -1
- package/dist/components/hb-steps.js +35 -8
- package/dist/components/hb-steps.js.map +1 -1
- package/dist/components/hb-sub-menu.js +4 -4
- package/dist/components/hb-switch.js +9 -4
- package/dist/components/hb-switch.js.map +1 -1
- package/dist/components/hb-tab-pane.js +1 -1
- package/dist/components/hb-table.js +1 -1
- package/dist/components/hb-table.js.map +1 -1
- package/dist/components/hb-tabs.js +2 -2
- package/dist/components/hb-tag.js +2 -2
- package/dist/components/hb-text.js +2 -2
- package/dist/components/hb-time-picker.js +4 -4
- package/dist/components/hb-time-select.js +2 -2
- package/dist/components/hb-timeline.js +1 -1
- package/dist/components/hb-tooltip.js +18 -1
- package/dist/components/hb-tooltip.js.map +1 -1
- package/dist/components/hb-transfer.js +2 -2
- package/dist/components/hb-tree-select.js +95 -18
- package/dist/components/hb-tree-select.js.map +1 -1
- package/dist/components/hb-tree.js +1 -1
- package/dist/components/hb-upload.js +3 -3
- package/dist/components/hb-watermark.js +1 -1
- package/dist/components/{p-cf94cbf6.js → p-08b4005c.js} +7 -3
- package/dist/components/p-08b4005c.js.map +1 -0
- package/dist/components/p-86d92faf.js +93 -0
- package/dist/components/p-86d92faf.js.map +1 -0
- package/dist/esm/{date-helpers-e4d85a67.js → date-helpers-44507189.js} +7 -3
- package/dist/esm/date-helpers-44507189.js.map +1 -0
- package/dist/esm/hb-affix.entry.js +1 -1
- package/dist/esm/hb-aside.entry.js +1 -1
- package/dist/esm/hb-avatar.entry.js +1 -1
- package/dist/esm/hb-backtop.entry.js +2 -2
- package/dist/esm/hb-badge.entry.js +1 -1
- package/dist/esm/hb-breadcrumb-item.entry.js +1 -1
- package/dist/esm/hb-breadcrumb.entry.js +1 -1
- package/dist/esm/hb-button.entry.js +2 -2
- package/dist/esm/hb-calendar.entry.js +78 -10
- package/dist/esm/hb-calendar.entry.js.map +1 -1
- package/dist/esm/hb-card.entry.js +1 -1
- package/dist/esm/hb-cascader.entry.js +270 -146
- package/dist/esm/hb-cascader.entry.js.map +1 -1
- package/dist/esm/hb-checkbox-group.entry.js +2 -2
- package/dist/esm/hb-checkbox.entry.js +3 -3
- package/dist/esm/hb-collapse-item.entry.js +1 -1
- package/dist/esm/hb-collapse.entry.js +1 -1
- package/dist/esm/hb-color-picker-panel.entry.js +2 -2
- package/dist/esm/hb-color-picker.entry.js +91 -14
- package/dist/esm/hb-color-picker.entry.js.map +1 -1
- package/dist/esm/hb-config-provider.entry.js +1 -1
- package/dist/esm/hb-container.entry.js +2 -2
- package/dist/esm/hb-date-picker-pane.entry.js +2 -2
- package/dist/esm/hb-date-picker.entry.js +85 -7
- package/dist/esm/hb-date-picker.entry.js.map +1 -1
- package/dist/esm/hb-date-range-picker.entry.js +3 -3
- package/dist/esm/hb-date-time-picker.entry.js +3 -3
- package/dist/esm/hb-descriptions.entry.js +2 -2
- package/dist/esm/hb-descriptions.entry.js.map +1 -1
- package/dist/esm/hb-divider.entry.js +2 -2
- package/dist/esm/hb-drawer.entry.js +1 -1
- package/dist/esm/hb-dropdown.entry.js +74 -6
- package/dist/esm/hb-dropdown.entry.js.map +1 -1
- package/dist/esm/hb-empty.entry.js +1 -1
- package/dist/esm/hb-float-button.entry.js +2 -2
- package/dist/esm/hb-footer.entry.js +1 -1
- package/dist/esm/hb-form-item.entry.js +59 -8
- package/dist/esm/hb-form-item.entry.js.map +1 -1
- package/dist/esm/hb-form.entry.js +3 -3
- package/dist/esm/hb-form.entry.js.map +1 -1
- package/dist/esm/hb-header.entry.js +1 -1
- package/dist/esm/hb-image-preview.entry.js +12 -8
- package/dist/esm/hb-image-preview.entry.js.map +1 -1
- package/dist/esm/hb-image.entry.js +1 -1
- package/dist/esm/hb-input-number.entry.js +5 -5
- package/dist/esm/hb-input-tag.entry.js +2 -2
- package/dist/esm/hb-input.entry.js +39 -3
- package/dist/esm/hb-input.entry.js.map +1 -1
- package/dist/esm/hb-layout.entry.js +36 -14
- package/dist/esm/hb-layout.entry.js.map +1 -1
- package/dist/esm/hb-link.entry.js +2 -2
- package/dist/esm/hb-loading.entry.js +2 -2
- package/dist/esm/hb-main.entry.js +1 -1
- package/dist/esm/hb-menu-item.entry.js +2 -2
- package/dist/esm/hb-menu.entry.js +3 -3
- package/dist/esm/hb-menu.entry.js.map +1 -1
- package/dist/esm/hb-message.entry.js +2 -2
- package/dist/esm/hb-notification.entry.js +2 -2
- package/dist/esm/hb-page-header.entry.js +1 -1
- package/dist/esm/hb-pagination.entry.js +21 -8
- package/dist/esm/hb-pagination.entry.js.map +1 -1
- package/dist/esm/hb-popconfirm.entry.js +37 -7
- package/dist/esm/hb-popconfirm.entry.js.map +1 -1
- package/dist/esm/hb-popover.entry.js +22 -2
- package/dist/esm/hb-popover.entry.js.map +1 -1
- package/dist/esm/hb-progress.entry.js +1 -1
- package/dist/esm/hb-radio.entry.js +2 -2
- package/dist/esm/hb-rate.entry.js +45 -3
- package/dist/esm/hb-rate.entry.js.map +1 -1
- package/dist/esm/hb-result.entry.js +1 -1
- package/dist/esm/hb-row.entry.js +2 -2
- package/dist/esm/hb-segmented.entry.js +40 -6
- package/dist/esm/hb-segmented.entry.js.map +1 -1
- package/dist/esm/hb-select.entry.js +47 -8
- package/dist/esm/hb-select.entry.js.map +1 -1
- package/dist/esm/hb-slider.entry.js +189 -20
- package/dist/esm/hb-slider.entry.js.map +1 -1
- package/dist/esm/hb-space.entry.js +2 -2
- package/dist/esm/hb-statistic.entry.js +1 -1
- package/dist/esm/hb-step.entry.js +1 -1
- package/dist/esm/hb-steps.entry.js +28 -7
- package/dist/esm/hb-steps.entry.js.map +1 -1
- package/dist/esm/hb-sub-menu.entry.js +4 -4
- package/dist/esm/hb-switch.entry.js +9 -4
- package/dist/esm/hb-switch.entry.js.map +1 -1
- package/dist/esm/hb-tab-pane.entry.js +1 -1
- package/dist/esm/hb-table.entry.js +1 -1
- package/dist/esm/hb-table.entry.js.map +1 -1
- package/dist/esm/hb-tabs.entry.js +2 -2
- package/dist/esm/hb-tag.entry.js +2 -2
- package/dist/esm/hb-text.entry.js +2 -2
- package/dist/esm/hb-time-picker.entry.js +4 -4
- package/dist/esm/hb-time-select.entry.js +2 -2
- package/dist/esm/hb-timeline.entry.js +1 -1
- package/dist/esm/hb-tooltip.entry.js +18 -1
- package/dist/esm/hb-tooltip.entry.js.map +1 -1
- package/dist/esm/hb-transfer.entry.js +2 -2
- package/dist/esm/hb-tree-select.entry.js +95 -18
- package/dist/esm/hb-tree-select.entry.js.map +1 -1
- package/dist/esm/hb-tree.entry.js +1 -1
- package/dist/esm/hb-upload.entry.js +3 -3
- package/dist/esm/hb-watermark.entry.js +1 -1
- package/dist/esm/huibo-ui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/huibo-ui/huibo-ui.css +1 -1
- package/dist/huibo-ui/huibo-ui.esm.js +1 -1
- package/dist/huibo-ui/huibo-ui.esm.js.map +1 -1
- package/dist/huibo-ui/p-02f15843.entry.js +2 -0
- package/dist/huibo-ui/p-08b4005c.js +2 -0
- package/dist/huibo-ui/p-08b4005c.js.map +1 -0
- package/dist/huibo-ui/{p-fd19813c.entry.js → p-0d4b2997.entry.js} +2 -2
- package/dist/huibo-ui/{p-672076c3.entry.js → p-10f6c184.entry.js} +2 -2
- package/dist/huibo-ui/p-10f6c184.entry.js.map +1 -0
- package/dist/huibo-ui/{p-d7815b4f.entry.js → p-13010da2.entry.js} +2 -2
- package/dist/huibo-ui/{p-8c80a765.entry.js → p-15db24e9.entry.js} +2 -2
- package/dist/huibo-ui/{p-8d925e3d.entry.js → p-1b0fbe69.entry.js} +2 -2
- package/dist/huibo-ui/p-1f8db37a.entry.js +2 -0
- package/dist/huibo-ui/p-1f8db37a.entry.js.map +1 -0
- package/dist/huibo-ui/{p-f374d5a3.entry.js → p-20632186.entry.js} +2 -2
- package/dist/huibo-ui/{p-e6f2d71d.entry.js → p-20fc554b.entry.js} +2 -2
- package/dist/huibo-ui/{p-315feadf.entry.js → p-213b9de7.entry.js} +2 -2
- package/dist/huibo-ui/p-25fd7d5c.entry.js +2 -0
- package/dist/huibo-ui/p-25fd7d5c.entry.js.map +1 -0
- package/dist/huibo-ui/p-2811e603.entry.js +2 -0
- package/dist/huibo-ui/p-2811e603.entry.js.map +1 -0
- package/dist/huibo-ui/{p-64ca0980.entry.js → p-2943f5d0.entry.js} +2 -2
- package/dist/huibo-ui/p-2943f5d0.entry.js.map +1 -0
- package/dist/huibo-ui/{p-710f38de.entry.js → p-2b4556ff.entry.js} +2 -2
- package/dist/huibo-ui/{p-e0ab9010.entry.js → p-33de6878.entry.js} +2 -2
- package/dist/huibo-ui/{p-ebd04656.entry.js → p-3807da71.entry.js} +2 -2
- package/dist/huibo-ui/{p-6a1ec3ff.entry.js → p-3deff48c.entry.js} +2 -2
- package/dist/huibo-ui/{p-e2a8a396.entry.js → p-41d9c846.entry.js} +2 -2
- package/dist/huibo-ui/{p-0a033738.entry.js → p-47ef7a86.entry.js} +2 -2
- package/dist/huibo-ui/p-4d34e43e.entry.js +2 -0
- package/dist/huibo-ui/p-4d34e43e.entry.js.map +1 -0
- package/dist/huibo-ui/p-54aa2fd8.entry.js +2 -0
- package/dist/huibo-ui/p-54aa2fd8.entry.js.map +1 -0
- package/dist/huibo-ui/{p-88127de1.entry.js → p-55cd13eb.entry.js} +2 -2
- package/dist/huibo-ui/{p-58ebb9b3.entry.js → p-5c839288.entry.js} +2 -2
- package/dist/huibo-ui/{p-c1b4eacb.entry.js → p-60532a1f.entry.js} +2 -2
- package/dist/huibo-ui/{p-59b2e61c.entry.js → p-626b48f1.entry.js} +2 -2
- package/dist/huibo-ui/p-626b48f1.entry.js.map +1 -0
- package/dist/huibo-ui/p-639f167d.entry.js +2 -0
- package/dist/huibo-ui/p-639f167d.entry.js.map +1 -0
- package/dist/huibo-ui/{p-f1c084c5.entry.js → p-678b4212.entry.js} +2 -2
- package/dist/huibo-ui/p-6beb5b81.entry.js +2 -0
- package/dist/huibo-ui/p-6beb5b81.entry.js.map +1 -0
- package/dist/huibo-ui/{p-a0015341.entry.js → p-6bfeab80.entry.js} +2 -2
- package/dist/huibo-ui/p-6c8cf248.entry.js +2 -0
- package/dist/huibo-ui/p-6c8cf248.entry.js.map +1 -0
- package/dist/huibo-ui/{p-85f68526.entry.js → p-735bceef.entry.js} +2 -2
- package/dist/huibo-ui/{p-8b1ae77e.entry.js → p-746a11a3.entry.js} +2 -2
- package/dist/huibo-ui/p-76519752.entry.js +2 -0
- package/dist/huibo-ui/{p-d3939d44.entry.js → p-79af2efa.entry.js} +2 -2
- package/dist/huibo-ui/{p-e0768565.entry.js → p-7da14d7c.entry.js} +2 -2
- package/dist/huibo-ui/{p-8c987d57.entry.js → p-7f65dc36.entry.js} +2 -2
- package/dist/huibo-ui/{p-0e65e1bd.entry.js → p-86bdc48a.entry.js} +2 -2
- package/dist/huibo-ui/p-86bdc48a.entry.js.map +1 -0
- package/dist/huibo-ui/{p-d87fc21a.entry.js → p-88a6c905.entry.js} +2 -2
- package/dist/huibo-ui/{p-d64b91ef.entry.js → p-89ea1141.entry.js} +2 -2
- package/dist/huibo-ui/p-89ea1141.entry.js.map +1 -0
- package/dist/huibo-ui/p-8a202bc5.entry.js +2 -0
- package/dist/huibo-ui/p-8a202bc5.entry.js.map +1 -0
- package/dist/huibo-ui/p-8a8443b8.entry.js +2 -0
- package/dist/huibo-ui/p-8a8443b8.entry.js.map +1 -0
- package/dist/huibo-ui/p-8fd788c9.entry.js +2 -0
- package/dist/huibo-ui/p-8fd788c9.entry.js.map +1 -0
- package/dist/huibo-ui/{p-9319c650.entry.js → p-8fdbd17c.entry.js} +2 -2
- package/dist/huibo-ui/p-92521c31.entry.js +2 -0
- package/dist/huibo-ui/p-92521c31.entry.js.map +1 -0
- package/dist/huibo-ui/{p-c3e665f6.entry.js → p-9a5406f0.entry.js} +2 -2
- package/dist/huibo-ui/p-9a5406f0.entry.js.map +1 -0
- package/dist/huibo-ui/{p-c321c4aa.entry.js → p-a084b8e5.entry.js} +2 -2
- package/dist/huibo-ui/{p-5df47135.entry.js → p-a190ca89.entry.js} +2 -2
- package/dist/huibo-ui/{p-463de26d.entry.js → p-a8996d22.entry.js} +2 -2
- package/dist/huibo-ui/p-aa5e5e02.entry.js +2 -0
- package/dist/huibo-ui/p-aa5e5e02.entry.js.map +1 -0
- package/dist/huibo-ui/{p-6b381d0e.entry.js → p-ab9cf0e4.entry.js} +2 -2
- package/dist/huibo-ui/{p-477d8568.entry.js → p-aeae83af.entry.js} +2 -2
- package/dist/huibo-ui/{p-77017274.entry.js → p-af74667d.entry.js} +2 -2
- package/dist/huibo-ui/{p-b489a526.entry.js → p-b06c8020.entry.js} +2 -2
- package/dist/huibo-ui/{p-2e6584ea.entry.js → p-b468858e.entry.js} +2 -2
- package/dist/huibo-ui/{p-2b286698.entry.js → p-b7885d4a.entry.js} +2 -2
- package/dist/huibo-ui/{p-231a7335.entry.js → p-b8d87f7e.entry.js} +2 -2
- package/dist/huibo-ui/{p-8b027491.entry.js → p-c50ad398.entry.js} +2 -2
- package/dist/huibo-ui/p-c6c91664.entry.js +2 -0
- package/dist/huibo-ui/{p-c3e8893d.entry.js → p-c80f8ace.entry.js} +2 -2
- package/dist/huibo-ui/p-c80f8ace.entry.js.map +1 -0
- package/dist/huibo-ui/{p-476527c1.entry.js → p-c8e917db.entry.js} +2 -2
- package/dist/huibo-ui/p-c8e917db.entry.js.map +1 -0
- package/dist/huibo-ui/{p-c922d672.entry.js → p-cad57c2d.entry.js} +2 -2
- package/dist/huibo-ui/{p-a042e3d0.entry.js → p-ccd09d5a.entry.js} +2 -2
- package/dist/huibo-ui/p-d79a15b1.entry.js +2 -0
- package/dist/huibo-ui/p-d79a15b1.entry.js.map +1 -0
- package/dist/huibo-ui/{p-10c088f3.entry.js → p-d9c7c378.entry.js} +2 -2
- package/dist/huibo-ui/{p-80aca641.entry.js → p-dfccc7aa.entry.js} +2 -2
- package/dist/huibo-ui/{p-21682e92.entry.js → p-dfd144d8.entry.js} +2 -2
- package/dist/huibo-ui/{p-be48d2aa.entry.js → p-e039155d.entry.js} +2 -2
- package/dist/huibo-ui/{p-dfaf7e37.entry.js → p-e10fcfbe.entry.js} +2 -2
- package/dist/huibo-ui/{p-079a4130.entry.js → p-e3155cd7.entry.js} +2 -2
- package/dist/huibo-ui/{p-4001c08d.entry.js → p-e5cbfa9e.entry.js} +2 -2
- package/dist/huibo-ui/p-e5cbfa9e.entry.js.map +1 -0
- package/dist/huibo-ui/p-edbda423.entry.js +2 -0
- package/dist/huibo-ui/p-edbda423.entry.js.map +1 -0
- package/dist/huibo-ui/{p-465dcb4c.entry.js → p-f2c78699.entry.js} +2 -2
- package/dist/huibo-ui/{p-6ac242fe.entry.js → p-f4336be9.entry.js} +2 -2
- package/dist/huibo-ui/{p-332c8877.entry.js → p-f5969181.entry.js} +2 -2
- package/dist/huibo-ui/{p-f81ec512.entry.js → p-f6889710.entry.js} +2 -2
- package/dist/huibo-ui/{p-24ad7eec.entry.js → p-f9bb5217.entry.js} +2 -2
- package/dist/huibo-ui/{p-4d8b1404.entry.js → p-fd8301c6.entry.js} +2 -2
- package/dist/huibo-ui/{p-dd05cb2c.entry.js → p-fea20295.entry.js} +2 -2
- package/dist/types/components/Calendar/Calendar.d.ts +13 -1
- package/dist/types/components/Cascader/Cascader.d.ts +68 -90
- package/dist/types/components/ColorPicker/ColorPicker.d.ts +11 -0
- package/dist/types/components/DatePicker/DatePicker.d.ts +14 -3
- package/dist/types/components/Dropdown/Dropdown.d.ts +14 -1
- package/dist/types/components/Form/FormItem.d.ts +10 -0
- package/dist/types/components/ImagePreview/ImagePreview.d.ts +5 -1
- package/dist/types/components/Input/Input.d.ts +9 -0
- package/dist/types/components/Layout/Layout.d.ts +20 -10
- package/dist/types/components/Pagination/Pagination.d.ts +3 -0
- package/dist/types/components/Popconfirm/Popconfirm.d.ts +12 -0
- package/dist/types/components/Popover/Popover.d.ts +9 -0
- package/dist/types/components/Rate/Rate.d.ts +7 -0
- package/dist/types/components/Segmented/Segmented.d.ts +12 -1
- package/dist/types/components/Select/Select.d.ts +6 -0
- package/dist/types/components/Slider/Slider.d.ts +27 -1
- package/dist/types/components/Steps/Steps.d.ts +14 -6
- package/dist/types/components/Tooltip/Tooltip.d.ts +9 -1
- package/dist/types/components/TreeSelect/TreeSelect.d.ts +9 -0
- package/dist/types/components.d.ts +250 -94
- package/dist/types/utils/date-helpers.d.ts +1 -1
- package/package.json +8 -2
- package/readme.md +88 -73
- package/dist/cjs/date-helpers-904747ff.js.map +0 -1
- package/dist/components/p-cf94cbf6.js.map +0 -1
- package/dist/esm/date-helpers-e4d85a67.js.map +0 -1
- package/dist/huibo-ui/p-003cee87.entry.js +0 -2
- package/dist/huibo-ui/p-003cee87.entry.js.map +0 -1
- package/dist/huibo-ui/p-0bef78ac.entry.js +0 -2
- package/dist/huibo-ui/p-0bef78ac.entry.js.map +0 -1
- package/dist/huibo-ui/p-0e65e1bd.entry.js.map +0 -1
- package/dist/huibo-ui/p-0f189251.entry.js +0 -2
- package/dist/huibo-ui/p-0f189251.entry.js.map +0 -1
- package/dist/huibo-ui/p-1b5acd6d.entry.js +0 -2
- package/dist/huibo-ui/p-1b5acd6d.entry.js.map +0 -1
- package/dist/huibo-ui/p-3c7f73c8.entry.js +0 -2
- package/dist/huibo-ui/p-3c7f73c8.entry.js.map +0 -1
- package/dist/huibo-ui/p-4001c08d.entry.js.map +0 -1
- package/dist/huibo-ui/p-44c48246.entry.js +0 -2
- package/dist/huibo-ui/p-44c48246.entry.js.map +0 -1
- package/dist/huibo-ui/p-476527c1.entry.js.map +0 -1
- package/dist/huibo-ui/p-4d0dff15.entry.js +0 -2
- package/dist/huibo-ui/p-58d20809.entry.js +0 -2
- package/dist/huibo-ui/p-58d20809.entry.js.map +0 -1
- package/dist/huibo-ui/p-59b2e61c.entry.js.map +0 -1
- package/dist/huibo-ui/p-64ca0980.entry.js.map +0 -1
- package/dist/huibo-ui/p-672076c3.entry.js.map +0 -1
- package/dist/huibo-ui/p-756acbdb.entry.js +0 -2
- package/dist/huibo-ui/p-756acbdb.entry.js.map +0 -1
- package/dist/huibo-ui/p-75a93de3.entry.js +0 -2
- package/dist/huibo-ui/p-75a93de3.entry.js.map +0 -1
- package/dist/huibo-ui/p-769960f4.entry.js +0 -2
- package/dist/huibo-ui/p-8d615521.entry.js +0 -2
- package/dist/huibo-ui/p-8d615521.entry.js.map +0 -1
- package/dist/huibo-ui/p-953b9514.entry.js +0 -2
- package/dist/huibo-ui/p-ad6b0c6e.entry.js +0 -2
- package/dist/huibo-ui/p-ad6b0c6e.entry.js.map +0 -1
- package/dist/huibo-ui/p-c1a059d9.entry.js +0 -2
- package/dist/huibo-ui/p-c1a059d9.entry.js.map +0 -1
- package/dist/huibo-ui/p-c3e665f6.entry.js.map +0 -1
- package/dist/huibo-ui/p-c3e8893d.entry.js.map +0 -1
- package/dist/huibo-ui/p-cf94cbf6.js +0 -2
- package/dist/huibo-ui/p-cf94cbf6.js.map +0 -1
- package/dist/huibo-ui/p-d64b91ef.entry.js.map +0 -1
- package/dist/huibo-ui/p-e9490259.entry.js +0 -2
- package/dist/huibo-ui/p-e9490259.entry.js.map +0 -1
- package/dist/huibo-ui/p-ed0ff857.entry.js +0 -2
- package/dist/huibo-ui/p-ed0ff857.entry.js.map +0 -1
- package/dist/huibo-ui/p-f0ac7db5.entry.js +0 -2
- package/dist/huibo-ui/p-f0ac7db5.entry.js.map +0 -1
- /package/dist/huibo-ui/{p-4d0dff15.entry.js.map → p-02f15843.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-fd19813c.entry.js.map → p-0d4b2997.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-d7815b4f.entry.js.map → p-13010da2.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-8c80a765.entry.js.map → p-15db24e9.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-8d925e3d.entry.js.map → p-1b0fbe69.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-f374d5a3.entry.js.map → p-20632186.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-e6f2d71d.entry.js.map → p-20fc554b.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-315feadf.entry.js.map → p-213b9de7.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-710f38de.entry.js.map → p-2b4556ff.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-e0ab9010.entry.js.map → p-33de6878.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-ebd04656.entry.js.map → p-3807da71.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-6a1ec3ff.entry.js.map → p-3deff48c.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-e2a8a396.entry.js.map → p-41d9c846.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-0a033738.entry.js.map → p-47ef7a86.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-88127de1.entry.js.map → p-55cd13eb.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-58ebb9b3.entry.js.map → p-5c839288.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-c1b4eacb.entry.js.map → p-60532a1f.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-f1c084c5.entry.js.map → p-678b4212.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-a0015341.entry.js.map → p-6bfeab80.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-85f68526.entry.js.map → p-735bceef.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-8b1ae77e.entry.js.map → p-746a11a3.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-953b9514.entry.js.map → p-76519752.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-d3939d44.entry.js.map → p-79af2efa.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-e0768565.entry.js.map → p-7da14d7c.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-8c987d57.entry.js.map → p-7f65dc36.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-d87fc21a.entry.js.map → p-88a6c905.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-9319c650.entry.js.map → p-8fdbd17c.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-c321c4aa.entry.js.map → p-a084b8e5.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-5df47135.entry.js.map → p-a190ca89.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-463de26d.entry.js.map → p-a8996d22.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-6b381d0e.entry.js.map → p-ab9cf0e4.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-477d8568.entry.js.map → p-aeae83af.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-77017274.entry.js.map → p-af74667d.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-b489a526.entry.js.map → p-b06c8020.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-2e6584ea.entry.js.map → p-b468858e.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-2b286698.entry.js.map → p-b7885d4a.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-231a7335.entry.js.map → p-b8d87f7e.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-8b027491.entry.js.map → p-c50ad398.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-769960f4.entry.js.map → p-c6c91664.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-c922d672.entry.js.map → p-cad57c2d.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-a042e3d0.entry.js.map → p-ccd09d5a.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-10c088f3.entry.js.map → p-d9c7c378.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-80aca641.entry.js.map → p-dfccc7aa.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-21682e92.entry.js.map → p-dfd144d8.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-be48d2aa.entry.js.map → p-e039155d.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-dfaf7e37.entry.js.map → p-e10fcfbe.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-079a4130.entry.js.map → p-e3155cd7.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-465dcb4c.entry.js.map → p-f2c78699.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-6ac242fe.entry.js.map → p-f4336be9.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-332c8877.entry.js.map → p-f5969181.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-f81ec512.entry.js.map → p-f6889710.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-24ad7eec.entry.js.map → p-f9bb5217.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-4d8b1404.entry.js.map → p-fd8301c6.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-dd05cb2c.entry.js.map → p-fea20295.entry.js.map} +0 -0
package/dist/cjs/huibo-ui.cjs.js
CHANGED
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"hb-affix.cjs\",[[1,\"hb-affix\",{\"top\":[2],\"bottom\":[2],\"target\":[1],\"affixed\":[32]},[[0,\"hbTestScroll\",\"onTestScroll\"]]]]],[\"hb-alert.cjs\",[[1,\"hb-alert\",{\"title\":[1],\"description\":[1],\"type\":[1],\"closable\":[4],\"showIcon\":[4,\"show-icon\"],\"center\":[4],\"closed\":[32]}]]],[\"hb-anchor.cjs\",[[1,\"hb-anchor\",{\"items\":[16],\"top\":[2],\"affix\":[4],\"activeKey\":[32]}]]],[\"hb-aside.cjs\",[[1,\"hb-aside\",{\"width\":[1]}]]],[\"hb-avatar.cjs\",[[1,\"hb-avatar\",{\"size\":[8],\"shape\":[1],\"src\":[1],\"icon\":[1],\"alt\":[1]}]]],[\"hb-backtop.cjs\",[[1,\"hb-backtop\",{\"visibilityHeight\":[2,\"visibility-height\"],\"target\":[1],\"right\":[2],\"bottom\":[2],\"visible\":[32],\"backToTop\":[64]},[[9,\"scroll\",\"onWindowScroll\"]]]]],[\"hb-badge.cjs\",[[1,\"hb-badge\",{\"value\":[8],\"max\":[2],\"isDot\":[4,\"is-dot\"],\"hidden\":[4],\"type\":[1]}]]],[\"hb-breadcrumb.cjs\",[[1,\"hb-breadcrumb\",{\"separator\":[1]}]]],[\"hb-breadcrumb-item.cjs\",[[1,\"hb-breadcrumb-item\",{\"href\":[1]}]]],[\"hb-button.cjs\",[[1,\"hb-button\",{\"type\":[1],\"size\":[1],\"classNames\":[1,\"class-names\"],\"disabled\":[4],\"loading\":[4]}]]],[\"hb-calendar.cjs\",[[1,\"hb-calendar\",{\"modelValue\":[1025,\"model-value\"],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"disabledDate\":[16],\"viewDate\":[32],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-card.cjs\",[[1,\"hb-card\",{\"header\":[1],\"shadow\":[1]}]]],[\"hb-carousel.cjs\",[[1,\"hb-carousel\",{\"current\":[1026],\"autoplay\":[4],\"interval\":[2],\"arrow\":[1],\"dots\":[4],\"loop\":[4],\"slideCount\":[32],\"isHover\":[32]},null,{\"autoplay\":[\"handleAutoplayOptionsChange\"],\"interval\":[\"handleAutoplayOptionsChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-cascader.cjs\",[[1,\"hb-cascader\",{\"modelValue\":[1040],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"showAllLevels\":[4,\"show-all-levels\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"separator\":[1],\"emitPath\":[4,\"emit-path\"],\"filterable\":[4],\"lazy\":[4],\"load\":[16],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"loadingKeys\":[32],\"filteredPaths\":[32],\"activePath\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-checkbox.cjs\",[[1,\"hb-checkbox\",{\"modelValue\":[1028,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[4],\"name\":[1],\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-checkbox-group.cjs\",[[1,\"hb-checkbox-group\",{\"modelValue\":[1040],\"disabled\":[4],\"size\":[1],\"border\":[4],\"min\":[2],\"max\":[2],\"checkboxes\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"disabled\":[\"handlePropsChange\"],\"size\":[\"handlePropsChange\"],\"border\":[\"handlePropsChange\"]}]]],[\"hb-collapse.cjs\",[[1,\"hb-collapse\",{\"accordion\":[1028]}]]],[\"hb-collapse-item.cjs\",[[1,\"hb-collapse-item\",{\"key\":[1],\"title\":[1],\"disabled\":[4],\"active\":[1028],\"isOpen\":[32]},null,{\"active\":[\"handleActiveChange\"]}]]],[\"hb-color-picker.cjs\",[[1,\"hb-color-picker\",{\"modelValue\":[1025,\"model-value\"],\"disabled\":[4],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"isOpen\":[32],\"currentColor\":[32],\"hue\":[32],\"saturation\":[32],\"value\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-color-picker-panel.cjs\",[[1,\"hb-color-picker-panel\",{\"modelValue\":[1025,\"model-value\"],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"currentColor\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-config-provider.cjs\",[[4,\"hb-config-provider\",{\"theme\":[1],\"size\":[1],\"locale\":[1]}]]],[\"hb-container.cjs\",[[1,\"hb-container\",{\"direction\":[1]}]]],[\"hb-date-picker.cjs\",[[1,\"hb-date-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"valueFormat\":[1,\"value-format\"],\"type\":[1],\"disabledDate\":[16],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-picker-pane.cjs\",[[1,\"hb-date-picker-pane\",{\"modelValue\":[1025,\"model-value\"],\"format\":[1],\"view\":[1025],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-range-picker.cjs\",[[1,\"hb-date-range-picker\",{\"modelValue\":[1040],\"placeholder\":[16],\"disabled\":[4],\"clearable\":[4],\"size\":[1],\"format\":[1],\"disabledDate\":[16],\"name\":[1],\"isOpen\":[32],\"leftViewDate\":[32],\"startDate\":[32],\"endDate\":[32],\"pickingEnd\":[32],\"hoverDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-date-time-picker.cjs\",[[1,\"hb-date-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32],\"currentView\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-descriptions.cjs\",[[1,\"hb-descriptions\",{\"title\":[1],\"border\":[4],\"column\":[2],\"colon\":[4],\"items\":[16]}]]],[\"hb-dialog.cjs\",[[1,\"hb-dialog\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"width\":[1],\"fullscreen\":[4],\"modal\":[4],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"showClose\":[4,\"show-close\"],\"destroyOnClose\":[4,\"destroy-on-close\"]},null,{\"modelValue\":[\"handleVisibleChange\"]}]]],[\"hb-divider.cjs\",[[1,\"hb-divider\",{\"direction\":[1],\"contentPosition\":[1,\"content-position\"],\"dashed\":[4]}]]],[\"hb-drawer.cjs\",[[1,\"hb-drawer\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"size\":[1],\"direction\":[1],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"showClose\":[4,\"show-close\"],\"modal\":[4],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"zIndexState\":[32]},null,{\"modelValue\":[\"handleVisible\"]}]]],[\"hb-dropdown.cjs\",[[1,\"hb-dropdown\",{\"items\":[16],\"trigger\":[1],\"disabled\":[4],\"isOpen\":[32]}]]],[\"hb-empty.cjs\",[[1,\"hb-empty\",{\"description\":[1],\"image\":[1]}]]],[\"hb-float-button.cjs\",[[1,\"hb-float-button\",{\"type\":[1],\"shape\":[1],\"icon\":[1],\"description\":[1],\"right\":[2],\"bottom\":[2],\"badge\":[8]}]]],[\"hb-footer.cjs\",[[1,\"hb-footer\",{\"height\":[1]}]]],[\"hb-form.cjs\",[[1,\"hb-form\",{\"model\":[16],\"rules\":[16],\"labelPosition\":[1,\"label-position\"],\"labelWidth\":[1,\"label-width\"],\"inline\":[4],\"size\":[1],\"disabled\":[4],\"validate\":[16],\"resetFields\":[16],\"fields\":[32]}]]],[\"hb-form-item.cjs\",[[1,\"hb-form-item\",{\"prop\":[1],\"label\":[1],\"labelWidth\":[1,\"label-width\"],\"required\":[4],\"rules\":[16],\"size\":[1],\"validate\":[16],\"resetValue\":[16],\"getValue\":[16],\"errors\":[32],\"isvalidating\":[32]}]]],[\"hb-header.cjs\",[[1,\"hb-header\",{\"height\":[1]}]]],[\"hb-icon.cjs\",[[1,\"hb-icon\",{\"name\":[1],\"size\":[8],\"color\":[1],\"spin\":[4]}]]],[\"hb-image.cjs\",[[1,\"hb-image\",{\"src\":[1],\"alt\":[1],\"width\":[1],\"height\":[1],\"fit\":[1],\"lazy\":[4],\"preview\":[4],\"radius\":[1],\"loaded\":[32],\"error\":[32],\"previewVisible\":[32]}]]],[\"hb-image-preview.cjs\",[[1,\"hb-image-preview\",{\"modelValue\":[1028,\"model-value\"],\"src\":[1],\"srcList\":[16],\"current\":[1026],\"zoomStep\":[2,\"zoom-step\"],\"minZoom\":[2,\"min-zoom\"],\"maxZoom\":[2,\"max-zoom\"],\"zoom\":[32],\"rotate\":[32]},null,{\"modelValue\":[\"handleVisibleChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-input.cjs\",[[1,\"hb-input\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"placeholder\":[1],\"clearable\":[4],\"showPassword\":[4,\"show-password\"],\"showWordLimit\":[4,\"show-word-limit\"],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"inputId\":[1,\"input-id\"],\"autocomplete\":[1],\"autofocus\":[4],\"prefixIcon\":[1,\"prefix-icon\"],\"suffixIcon\":[1,\"suffix-icon\"],\"rows\":[2],\"autosize\":[4],\"resize\":[1],\"isFocused\":[32],\"showClear\":[32],\"passwordVisible\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-input-number.cjs\",[[1,\"hb-input-number\",{\"modelValue\":[1026,\"model-value\"],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[2],\"max\":[2],\"step\":[2],\"precision\":[2],\"stepStrictly\":[4,\"step-strictly\"],\"controls\":[4],\"controlsPosition\":[1,\"controls-position\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"placeholder\":[1],\"currentValue\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-input-tag.cjs\",[[1,\"hb-input-tag\",{\"modelValue\":[1040],\"size\":[1],\"disabled\":[4],\"placeholder\":[1],\"maxlength\":[2],\"max\":[2],\"clearable\":[4],\"width\":[1],\"type\":[1],\"closable\":[4],\"inputVisible\":[4,\"input-visible\"],\"inputValue\":[32],\"isFocused\":[32]}]]],[\"hb-layout.cjs\",[[1,\"hb-layout\",{\"span\":[2],\"offset\":[2],\"push\":[2],\"pull\":[2],\"xs\":[2],\"sm\":[2],\"md\":[2],\"lg\":[2],\"xl\":[2]}]]],[\"hb-link.cjs\",[[1,\"hb-link\",{\"type\":[1],\"underline\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"icon\":[1]}]]],[\"hb-loading.cjs\",[[1,\"hb-loading\",{\"size\":[1],\"text\":[1],\"fullscreen\":[4]}]]],[\"hb-main.cjs\",[[1,\"hb-main\"]]],[\"hb-menu.cjs\",[[1,\"hb-menu\",{\"mode\":[1],\"defaultActive\":[1025,\"default-active\"],\"collapsed\":[4],\"backgroundColor\":[1,\"background-color\"],\"textColor\":[1,\"text-color\"],\"activeTextColor\":[1,\"active-text-color\"],\"activeItem\":[32]},[[0,\"hbMenuItemSelect\",\"handleSelect\"]],{\"defaultActive\":[\"handleDefaultActiveChange\"],\"collapsed\":[\"handleCollapsedChange\"]}]]],[\"hb-menu-item.cjs\",[[1,\"hb-menu-item\",{\"key\":[1],\"disabled\":[4],\"icon\":[1],\"active\":[4]}]]],[\"hb-message.cjs\",[[1,\"hb-message\",{\"message\":[1],\"type\":[1],\"closable\":[4],\"duration\":[2],\"visible\":[32]}]]],[\"hb-notification.cjs\",[[1,\"hb-notification\",{\"id\":[1],\"type\":[1],\"title\":[1],\"message\":[1],\"duration\":[2],\"position\":[1],\"showClose\":[4,\"show-close\"],\"visible\":[1028]}]]],[\"hb-page-header.cjs\",[[1,\"hb-page-header\",{\"title\":[1],\"subtitle\":[1],\"back\":[4],\"ghost\":[4]}]]],[\"hb-pagination.cjs\",[[1,\"hb-pagination\",{\"total\":[2],\"pageSize\":[2,\"page-size\"],\"currentPage\":[1026,\"current-page\"],\"pageSizes\":[16],\"pagerCount\":[2,\"pager-count\"],\"disabled\":[4],\"showTotal\":[4,\"show-total\"],\"showPageSize\":[4,\"show-page-size\"],\"internalCurrent\":[32]},null,{\"currentPage\":[\"handleCurrentPageChange\"]}]]],[\"hb-popconfirm.cjs\",[[1,\"hb-popconfirm\",{\"title\":[1],\"confirmButtonText\":[1,\"confirm-button-text\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"placement\":[1],\"disabled\":[4],\"icon\":[1],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-popover.cjs\",[[1,\"hb-popover\",{\"title\":[1],\"width\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-progress.cjs\",[[1,\"hb-progress\",{\"percentage\":[2],\"status\":[1],\"strokeWidth\":[2,\"stroke-width\"],\"showText\":[4,\"show-text\"],\"color\":[1]}]]],[\"hb-radio.cjs\",[[1,\"hb-radio\",{\"modelValue\":[1032,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"name\":[1],\"radioId\":[1,\"radio-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-rate.cjs\",[[1,\"hb-rate\",{\"modelValue\":[1026,\"model-value\"],\"max\":[2],\"disabled\":[4],\"allowHalf\":[4,\"allow-half\"],\"readonly\":[4],\"showScore\":[4,\"show-score\"],\"showText\":[4,\"show-text\"],\"texts\":[16],\"scoreTemplate\":[1,\"score-template\"],\"hoverValue\":[32],\"currentValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-result.cjs\",[[1,\"hb-result\",{\"status\":[1],\"title\":[1],\"subTitle\":[1,\"sub-title\"],\"icon\":[1]}]]],[\"hb-row.cjs\",[[1,\"hb-row\",{\"gutter\":[2],\"justify\":[1],\"align\":[1],\"tag\":[1]}]]],[\"hb-scrollbar.cjs\",[[1,\"hb-scrollbar\",{\"height\":[1],\"maxHeight\":[1,\"max-height\"],\"always\":[4],\"native\":[4],\"minSize\":[2,\"min-size\"],\"scrollbarVisible\":[32],\"thumbHeight\":[32],\"thumbTop\":[32],\"setScrollTop\":[64],\"setScrollLeft\":[64],\"getScrollTop\":[64],\"getScrollLeft\":[64]},null,{\"height\":[\"handleSizeChange\"],\"maxHeight\":[\"handleSizeChange\"]}]]],[\"hb-segmented.cjs\",[[1,\"hb-segmented\",{\"modelValue\":[1025,\"model-value\"],\"block\":[4],\"size\":[1],\"options\":[16]}]]],[\"hb-select.cjs\",[[1,\"hb-select\",{\"modelValue\":[1032,\"model-value\"],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"multiple\":[4],\"filterable\":[4],\"filterMethod\":[16],\"defaultFirstOption\":[4,\"default-first-option\"],\"allowCreate\":[4,\"allow-create\"],\"collapseTags\":[4,\"collapse-tags\"],\"maxCollapseTags\":[2,\"max-collapse-tags\"],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"filteredOptions\":[32],\"activeOptionIndex\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"hb-skeleton.cjs\",[[1,\"hb-skeleton\",{\"active\":[4],\"rows\":[2],\"loading\":[4],\"avatar\":[4],\"showTitle\":[4,\"show-title\"],\"paragraph\":[4]}]]],[\"hb-slider.cjs\",[[1,\"hb-slider\",{\"modelValue\":[1026,\"model-value\"],\"min\":[2],\"max\":[2],\"step\":[2],\"showTooltip\":[4,\"show-tooltip\"],\"formatTooltip\":[16],\"disabled\":[4],\"range\":[4],\"vertical\":[4],\"height\":[1],\"dragging\":[32],\"currentValue\":[32],\"tooltipVisible\":[32],\"tooltipValue\":[32]}]]],[\"hb-space.cjs\",[[1,\"hb-space\",{\"size\":[8],\"direction\":[1],\"wrap\":[4],\"alignment\":[1],\"fill\":[4],\"fillRatio\":[2,\"fill-ratio\"]}]]],[\"hb-statistic.cjs\",[[1,\"hb-statistic\",{\"title\":[1],\"value\":[8],\"precision\":[2],\"valuePrefix\":[1,\"value-prefix\"],\"suffix\":[1],\"valueStyle\":[1,\"value-style\"]}]]],[\"hb-step.cjs\",[[1,\"hb-step\",{\"title\":[1],\"description\":[1],\"icon\":[1],\"status\":[1]}]]],[\"hb-steps.cjs\",[[1,\"hb-steps\",{\"active\":[2],\"processStatus\":[1,\"process-status\"],\"alignCenter\":[4,\"align-center\"],\"direction\":[1],\"steps\":[32]}]]],[\"hb-sub-menu.cjs\",[[1,\"hb-sub-menu\",{\"label\":[1],\"icon\":[1],\"collapsed\":[4],\"isOpen\":[32],\"isHover\":[32]}]]],[\"hb-switch.cjs\",[[1,\"hb-switch\",{\"modelValue\":[1028,\"model-value\"],\"disabled\":[4],\"activeText\":[1,\"active-text\"],\"inactiveText\":[1,\"inactive-text\"],\"activeColor\":[1,\"active-color\"],\"inactiveColor\":[1,\"inactive-color\"],\"activeValue\":[8,\"active-value\"],\"inactiveValue\":[8,\"inactive-value\"],\"width\":[2],\"inlinePrompt\":[4,\"inline-prompt\"]}]]],[\"hb-tab-pane.cjs\",[[1,\"hb-tab-pane\",{\"key\":[1],\"label\":[1],\"active\":[4]}]]],[\"hb-table.cjs\",[[1,\"hb-table\",{\"data\":[16],\"columns\":[16],\"stripe\":[4],\"border\":[4],\"size\":[1],\"loading\":[4],\"rowKey\":[1,\"row-key\"],\"emptyText\":[1,\"empty-text\"],\"maxHeight\":[1,\"max-height\"],\"highlightCurrentRow\":[4,\"highlight-current-row\"],\"selectable\":[4],\"actions\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"itemHeight\":[2,\"item-height\"],\"virtualScrollHeight\":[2,\"virtual-scroll-height\"],\"treeProps\":[16],\"editable\":[4],\"sortProp\":[32],\"sortDirection\":[32],\"currentRow\":[32],\"selectedRows\":[32],\"scrollTop\":[32],\"expandedRowKeys\":[32],\"editingCell\":[32]},null,{\"data\":[\"handleDataChange\"]}]]],[\"hb-tabs.cjs\",[[1,\"hb-tabs\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"closable\":[4],\"activeTab\":[32],\"tabs\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-tag.cjs\",[[1,\"hb-tag\",{\"type\":[1],\"closable\":[4],\"effect\":[1],\"round\":[4],\"size\":[1]}]]],[\"hb-text.cjs\",[[1,\"hb-text\",{\"type\":[1],\"size\":[1],\"truncated\":[4],\"bold\":[4],\"italic\":[4],\"deleted\":[4]}]]],[\"hb-time-picker.cjs\",[[1,\"hb-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedHour\":[32],\"selectedMinute\":[32],\"selectedSecond\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-time-select.cjs\",[[1,\"hb-time-select\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"start\":[1],\"end\":[1],\"step\":[2],\"minTime\":[1,\"min-time\"],\"maxTime\":[1,\"max-time\"],\"isOpen\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-timeline.cjs\",[[1,\"hb-timeline\",{\"mode\":[1],\"items\":[16]}]]],[\"hb-tooltip.cjs\",[[1,\"hb-tooltip\",{\"content\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"showArrow\":[4,\"show-arrow\"],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-tour.cjs\",[[1,\"hb-tour\",{\"visible\":[1028],\"steps\":[16],\"current\":[1026],\"targetRect\":[32]}]]],[\"hb-transfer.cjs\",[[1,\"hb-transfer\",{\"data\":[16],\"targetKeys\":[1040],\"selectedKeys\":[1040],\"titles\":[16],\"disabled\":[4],\"filterable\":[4],\"leftFilter\":[32],\"rightFilter\":[32]},null,{\"selectedKeys\":[\"handleSelectedKeysChange\"]}]]],[\"hb-tree.cjs\",[[1,\"hb-tree\",{\"data\":[16],\"expandedKeys\":[1040],\"selectedKeys\":[1040],\"checkable\":[4],\"checkedKeys\":[1040],\"defaultExpandAll\":[4,\"default-expand-all\"],\"showLine\":[4,\"show-line\"],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]},null,{\"data\":[\"handleDataChange\"],\"expandedKeys\":[\"handleExpandedKeysChange\"],\"selectedKeys\":[\"handleSelectedKeysChange\"],\"checkedKeys\":[\"handleCheckedKeysChange\"]}]]],[\"hb-tree-select.cjs\",[[1,\"hb-tree-select\",{\"data\":[16],\"modelValue\":[1025,\"model-value\"],\"multiple\":[4],\"placeholder\":[1],\"disabled\":[4],\"checkable\":[4],\"defaultExpandAll\":[4,\"default-expand-all\"],\"isOpen\":[32],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]}]]],[\"hb-upload.cjs\",[[1,\"hb-upload\",{\"action\":[1],\"multiple\":[4],\"accept\":[1],\"disabled\":[4],\"limit\":[2],\"drag\":[4],\"name\":[1],\"headers\":[16],\"data\":[16],\"withCredentials\":[4,\"with-credentials\"],\"beforeUpload\":[16],\"fileList\":[1040],\"isDragover\":[32]}]]],[\"hb-watermark.cjs\",[[1,\"hb-watermark\",{\"content\":[1],\"width\":[2],\"height\":[2],\"gap\":[2],\"rotate\":[2],\"fontColor\":[1,\"font-color\"],\"fontSize\":[2,\"font-size\"]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"hb-steps.cjs\",[[1,\"hb-steps\",{\"active\":[2],\"processStatus\":[1,\"process-status\"],\"alignCenter\":[4,\"align-center\"],\"direction\":[1],\"steps\":[32]}]]],[\"hb-affix.cjs\",[[1,\"hb-affix\",{\"top\":[2],\"bottom\":[2],\"target\":[1],\"affixed\":[32]},[[0,\"hbTestScroll\",\"onTestScroll\"]]]]],[\"hb-alert.cjs\",[[1,\"hb-alert\",{\"title\":[1],\"description\":[1],\"type\":[1],\"closable\":[4],\"showIcon\":[4,\"show-icon\"],\"center\":[4],\"closed\":[32]}]]],[\"hb-anchor.cjs\",[[1,\"hb-anchor\",{\"items\":[16],\"top\":[2],\"affix\":[4],\"activeKey\":[32]}]]],[\"hb-aside.cjs\",[[1,\"hb-aside\",{\"width\":[1]}]]],[\"hb-avatar.cjs\",[[1,\"hb-avatar\",{\"size\":[8],\"shape\":[1],\"src\":[1],\"icon\":[1],\"alt\":[1]}]]],[\"hb-backtop.cjs\",[[1,\"hb-backtop\",{\"visibilityHeight\":[2,\"visibility-height\"],\"target\":[1],\"right\":[2],\"bottom\":[2],\"visible\":[32],\"backToTop\":[64]},[[9,\"scroll\",\"onWindowScroll\"]]]]],[\"hb-badge.cjs\",[[1,\"hb-badge\",{\"value\":[8],\"max\":[2],\"isDot\":[4,\"is-dot\"],\"hidden\":[4],\"type\":[1]}]]],[\"hb-breadcrumb.cjs\",[[1,\"hb-breadcrumb\",{\"separator\":[1]}]]],[\"hb-breadcrumb-item.cjs\",[[1,\"hb-breadcrumb-item\",{\"href\":[1]}]]],[\"hb-button.cjs\",[[1,\"hb-button\",{\"type\":[1],\"size\":[1],\"classNames\":[1,\"class-names\"],\"disabled\":[4],\"loading\":[4]}]]],[\"hb-calendar.cjs\",[[1,\"hb-calendar\",{\"modelValue\":[1025,\"model-value\"],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"disabledDate\":[16],\"viewDate\":[32],\"selectedDate\":[32],\"focusDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-card.cjs\",[[1,\"hb-card\",{\"header\":[1],\"shadow\":[1]}]]],[\"hb-carousel.cjs\",[[1,\"hb-carousel\",{\"current\":[1026],\"autoplay\":[4],\"interval\":[2],\"arrow\":[1],\"dots\":[4],\"loop\":[4],\"slideCount\":[32],\"isHover\":[32]},null,{\"autoplay\":[\"handleAutoplayOptionsChange\"],\"interval\":[\"handleAutoplayOptionsChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-cascader.cjs\",[[1,\"hb-cascader\",{\"modelValue\":[1040],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"showAllLevels\":[4,\"show-all-levels\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"separator\":[1],\"emitPath\":[4,\"emit-path\"],\"filterable\":[4],\"lazy\":[4],\"load\":[16],\"multiple\":[4],\"checkStrictly\":[4,\"check-strictly\"],\"maxTagCount\":[2,\"max-tag-count\"],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"loadingKeys\":[32],\"filteredPaths\":[32],\"activePath\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-checkbox.cjs\",[[1,\"hb-checkbox\",{\"modelValue\":[1028,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[4],\"name\":[1],\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-checkbox-group.cjs\",[[1,\"hb-checkbox-group\",{\"modelValue\":[1040],\"disabled\":[4],\"size\":[1],\"border\":[4],\"min\":[2],\"max\":[2],\"checkboxes\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"disabled\":[\"handlePropsChange\"],\"size\":[\"handlePropsChange\"],\"border\":[\"handlePropsChange\"]}]]],[\"hb-collapse.cjs\",[[1,\"hb-collapse\",{\"accordion\":[1028]}]]],[\"hb-collapse-item.cjs\",[[1,\"hb-collapse-item\",{\"key\":[1],\"title\":[1],\"disabled\":[4],\"active\":[1028],\"isOpen\":[32]},null,{\"active\":[\"handleActiveChange\"]}]]],[\"hb-color-picker.cjs\",[[1,\"hb-color-picker\",{\"modelValue\":[1025,\"model-value\"],\"disabled\":[4],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"isOpen\":[32],\"currentColor\":[32],\"hue\":[32],\"saturation\":[32],\"value\":[32],\"alpha\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-color-picker-panel.cjs\",[[1,\"hb-color-picker-panel\",{\"modelValue\":[1025,\"model-value\"],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"currentColor\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-config-provider.cjs\",[[4,\"hb-config-provider\",{\"theme\":[1],\"size\":[1],\"locale\":[1]}]]],[\"hb-container.cjs\",[[1,\"hb-container\",{\"direction\":[1]}]]],[\"hb-date-picker.cjs\",[[1,\"hb-date-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"valueFormat\":[1,\"value-format\"],\"type\":[1],\"disabledDate\":[16],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32],\"panelViewDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-picker-pane.cjs\",[[1,\"hb-date-picker-pane\",{\"modelValue\":[1025,\"model-value\"],\"format\":[1],\"view\":[1025],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-range-picker.cjs\",[[1,\"hb-date-range-picker\",{\"modelValue\":[1040],\"placeholder\":[16],\"disabled\":[4],\"clearable\":[4],\"size\":[1],\"format\":[1],\"disabledDate\":[16],\"name\":[1],\"isOpen\":[32],\"leftViewDate\":[32],\"startDate\":[32],\"endDate\":[32],\"pickingEnd\":[32],\"hoverDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-date-time-picker.cjs\",[[1,\"hb-date-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32],\"currentView\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-descriptions.cjs\",[[1,\"hb-descriptions\",{\"title\":[1],\"border\":[4],\"column\":[2],\"colon\":[4],\"items\":[16]}]]],[\"hb-dialog.cjs\",[[1,\"hb-dialog\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"width\":[1],\"fullscreen\":[4],\"modal\":[4],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"showClose\":[4,\"show-close\"],\"destroyOnClose\":[4,\"destroy-on-close\"]},null,{\"modelValue\":[\"handleVisibleChange\"]}]]],[\"hb-divider.cjs\",[[1,\"hb-divider\",{\"direction\":[1],\"contentPosition\":[1,\"content-position\"],\"dashed\":[4]}]]],[\"hb-drawer.cjs\",[[1,\"hb-drawer\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"size\":[1],\"direction\":[1],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"showClose\":[4,\"show-close\"],\"modal\":[4],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"zIndexState\":[32]},null,{\"modelValue\":[\"handleVisible\"]}]]],[\"hb-dropdown.cjs\",[[1,\"hb-dropdown\",{\"items\":[16],\"trigger\":[1],\"disabled\":[4],\"isOpen\":[32],\"activeIndex\":[32]}]]],[\"hb-empty.cjs\",[[1,\"hb-empty\",{\"description\":[1],\"image\":[1]}]]],[\"hb-float-button.cjs\",[[1,\"hb-float-button\",{\"type\":[1],\"shape\":[1],\"icon\":[1],\"description\":[1],\"right\":[2],\"bottom\":[2],\"badge\":[8]}]]],[\"hb-footer.cjs\",[[1,\"hb-footer\",{\"height\":[1]}]]],[\"hb-form.cjs\",[[1,\"hb-form\",{\"model\":[16],\"rules\":[16],\"labelPosition\":[1,\"label-position\"],\"labelWidth\":[1,\"label-width\"],\"inline\":[4],\"size\":[1],\"disabled\":[4],\"validate\":[16],\"resetFields\":[16],\"fields\":[32]}]]],[\"hb-form-item.cjs\",[[1,\"hb-form-item\",{\"prop\":[1],\"label\":[1],\"labelWidth\":[1,\"label-width\"],\"required\":[4],\"rules\":[16],\"size\":[1],\"validate\":[16],\"resetValue\":[16],\"getValue\":[16],\"errors\":[32],\"isvalidating\":[32]}]]],[\"hb-header.cjs\",[[1,\"hb-header\",{\"height\":[1]}]]],[\"hb-image.cjs\",[[1,\"hb-image\",{\"src\":[1],\"alt\":[1],\"width\":[1],\"height\":[1],\"fit\":[1],\"lazy\":[4],\"preview\":[4],\"radius\":[1],\"loaded\":[32],\"error\":[32],\"previewVisible\":[32]}]]],[\"hb-image-preview.cjs\",[[1,\"hb-image-preview\",{\"modelValue\":[1028,\"model-value\"],\"src\":[1],\"srcList\":[16],\"current\":[1026],\"zoomStep\":[2,\"zoom-step\"],\"minZoom\":[2,\"min-zoom\"],\"maxZoom\":[2,\"max-zoom\"],\"zoom\":[32],\"rotate\":[32]},null,{\"modelValue\":[\"handleVisibleChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-input.cjs\",[[1,\"hb-input\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"placeholder\":[1],\"clearable\":[4],\"showPassword\":[4,\"show-password\"],\"showWordLimit\":[4,\"show-word-limit\"],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"inputId\":[1,\"input-id\"],\"autocomplete\":[1],\"autofocus\":[4],\"prefixIcon\":[1,\"prefix-icon\"],\"suffixIcon\":[1,\"suffix-icon\"],\"rows\":[2],\"autosize\":[4],\"resize\":[1],\"isFocused\":[32],\"showClear\":[32],\"passwordVisible\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-input-number.cjs\",[[1,\"hb-input-number\",{\"modelValue\":[1026,\"model-value\"],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[2],\"max\":[2],\"step\":[2],\"precision\":[2],\"stepStrictly\":[4,\"step-strictly\"],\"controls\":[4],\"controlsPosition\":[1,\"controls-position\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"placeholder\":[1],\"currentValue\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-input-tag.cjs\",[[1,\"hb-input-tag\",{\"modelValue\":[1040],\"size\":[1],\"disabled\":[4],\"placeholder\":[1],\"maxlength\":[2],\"max\":[2],\"clearable\":[4],\"width\":[1],\"type\":[1],\"closable\":[4],\"inputVisible\":[4,\"input-visible\"],\"inputValue\":[32],\"isFocused\":[32]}]]],[\"hb-layout.cjs\",[[1,\"hb-layout\",{\"span\":[2],\"offset\":[2],\"push\":[2],\"pull\":[2],\"xs\":[2],\"sm\":[2],\"md\":[2],\"lg\":[2],\"xl\":[2]}]]],[\"hb-link.cjs\",[[1,\"hb-link\",{\"type\":[1],\"underline\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"icon\":[1]}]]],[\"hb-loading.cjs\",[[1,\"hb-loading\",{\"size\":[1],\"text\":[1],\"fullscreen\":[4]}]]],[\"hb-main.cjs\",[[1,\"hb-main\"]]],[\"hb-menu.cjs\",[[1,\"hb-menu\",{\"mode\":[1],\"defaultActive\":[1025,\"default-active\"],\"collapsed\":[4],\"backgroundColor\":[1,\"background-color\"],\"textColor\":[1,\"text-color\"],\"activeTextColor\":[1,\"active-text-color\"],\"activeItem\":[32]},[[0,\"hbMenuItemSelect\",\"handleSelect\"]],{\"defaultActive\":[\"handleDefaultActiveChange\"],\"collapsed\":[\"handleCollapsedChange\"]}]]],[\"hb-menu-item.cjs\",[[1,\"hb-menu-item\",{\"key\":[1],\"disabled\":[4],\"icon\":[1],\"active\":[4]}]]],[\"hb-message.cjs\",[[1,\"hb-message\",{\"message\":[1],\"type\":[1],\"closable\":[4],\"duration\":[2],\"visible\":[32]}]]],[\"hb-notification.cjs\",[[1,\"hb-notification\",{\"id\":[1],\"type\":[1],\"title\":[1],\"message\":[1],\"duration\":[2],\"position\":[1],\"showClose\":[4,\"show-close\"],\"visible\":[1028]}]]],[\"hb-page-header.cjs\",[[1,\"hb-page-header\",{\"title\":[1],\"subtitle\":[1],\"back\":[4],\"ghost\":[4]}]]],[\"hb-pagination.cjs\",[[1,\"hb-pagination\",{\"total\":[2],\"pageSize\":[2,\"page-size\"],\"currentPage\":[1026,\"current-page\"],\"pageSizes\":[16],\"pagerCount\":[2,\"pager-count\"],\"disabled\":[4],\"showTotal\":[4,\"show-total\"],\"showPageSize\":[4,\"show-page-size\"],\"internalCurrent\":[32],\"internalPageSize\":[32]},null,{\"currentPage\":[\"handleCurrentPageChange\"],\"pageSize\":[\"handlePageSizeChange\"]}]]],[\"hb-popconfirm.cjs\",[[1,\"hb-popconfirm\",{\"title\":[1],\"confirmButtonText\":[1,\"confirm-button-text\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"placement\":[1],\"disabled\":[4],\"icon\":[1],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-popover.cjs\",[[1,\"hb-popover\",{\"title\":[1],\"width\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-progress.cjs\",[[1,\"hb-progress\",{\"percentage\":[2],\"status\":[1],\"strokeWidth\":[2,\"stroke-width\"],\"showText\":[4,\"show-text\"],\"color\":[1]}]]],[\"hb-radio.cjs\",[[1,\"hb-radio\",{\"modelValue\":[1032,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"name\":[1],\"radioId\":[1,\"radio-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-rate.cjs\",[[1,\"hb-rate\",{\"modelValue\":[1026,\"model-value\"],\"max\":[2],\"disabled\":[4],\"allowHalf\":[4,\"allow-half\"],\"readonly\":[4],\"showScore\":[4,\"show-score\"],\"showText\":[4,\"show-text\"],\"texts\":[16],\"scoreTemplate\":[1,\"score-template\"],\"hoverValue\":[32],\"currentValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-result.cjs\",[[1,\"hb-result\",{\"status\":[1],\"title\":[1],\"subTitle\":[1,\"sub-title\"],\"icon\":[1]}]]],[\"hb-row.cjs\",[[1,\"hb-row\",{\"gutter\":[2],\"justify\":[1],\"align\":[1],\"tag\":[1]}]]],[\"hb-scrollbar.cjs\",[[1,\"hb-scrollbar\",{\"height\":[1],\"maxHeight\":[1,\"max-height\"],\"always\":[4],\"native\":[4],\"minSize\":[2,\"min-size\"],\"scrollbarVisible\":[32],\"thumbHeight\":[32],\"thumbTop\":[32],\"setScrollTop\":[64],\"setScrollLeft\":[64],\"getScrollTop\":[64],\"getScrollLeft\":[64]},null,{\"height\":[\"handleSizeChange\"],\"maxHeight\":[\"handleSizeChange\"]}]]],[\"hb-segmented.cjs\",[[1,\"hb-segmented\",{\"modelValue\":[1025,\"model-value\"],\"block\":[4],\"size\":[1],\"options\":[16],\"activeIndex\":[32]}]]],[\"hb-select.cjs\",[[1,\"hb-select\",{\"modelValue\":[1032,\"model-value\"],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"multiple\":[4],\"filterable\":[4],\"filterMethod\":[16],\"defaultFirstOption\":[4,\"default-first-option\"],\"allowCreate\":[4,\"allow-create\"],\"collapseTags\":[4,\"collapse-tags\"],\"maxCollapseTags\":[2,\"max-collapse-tags\"],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"filteredOptions\":[32],\"activeOptionIndex\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"hb-skeleton.cjs\",[[1,\"hb-skeleton\",{\"active\":[4],\"rows\":[2],\"loading\":[4],\"avatar\":[4],\"showTitle\":[4,\"show-title\"],\"paragraph\":[4]}]]],[\"hb-slider.cjs\",[[1,\"hb-slider\",{\"modelValue\":[1026,\"model-value\"],\"min\":[2],\"max\":[2],\"step\":[2],\"showTooltip\":[4,\"show-tooltip\"],\"formatTooltip\":[16],\"disabled\":[4],\"range\":[4],\"vertical\":[4],\"height\":[1],\"marks\":[16],\"dragging\":[32],\"currentValue\":[32],\"tooltipVisible\":[32],\"tooltipValue\":[32],\"activeHandle\":[32]},null,{\"modelValue\":[\"handleModelChange\"]}]]],[\"hb-space.cjs\",[[1,\"hb-space\",{\"size\":[8],\"direction\":[1],\"wrap\":[4],\"alignment\":[1],\"fill\":[4],\"fillRatio\":[2,\"fill-ratio\"]}]]],[\"hb-statistic.cjs\",[[1,\"hb-statistic\",{\"title\":[1],\"value\":[8],\"precision\":[2],\"valuePrefix\":[1,\"value-prefix\"],\"suffix\":[1],\"valueStyle\":[1,\"value-style\"]}]]],[\"hb-step.cjs\",[[1,\"hb-step\",{\"title\":[1],\"description\":[1],\"icon\":[1],\"status\":[1]}]]],[\"hb-sub-menu.cjs\",[[1,\"hb-sub-menu\",{\"label\":[1],\"icon\":[1],\"collapsed\":[4],\"isOpen\":[32],\"isHover\":[32]}]]],[\"hb-switch.cjs\",[[1,\"hb-switch\",{\"modelValue\":[1028,\"model-value\"],\"disabled\":[4],\"activeText\":[1,\"active-text\"],\"inactiveText\":[1,\"inactive-text\"],\"activeColor\":[1,\"active-color\"],\"inactiveColor\":[1,\"inactive-color\"],\"activeValue\":[8,\"active-value\"],\"inactiveValue\":[8,\"inactive-value\"],\"width\":[2],\"inlinePrompt\":[4,\"inline-prompt\"]}]]],[\"hb-tab-pane.cjs\",[[1,\"hb-tab-pane\",{\"key\":[1],\"label\":[1],\"active\":[4]}]]],[\"hb-table.cjs\",[[1,\"hb-table\",{\"data\":[16],\"columns\":[16],\"stripe\":[4],\"border\":[4],\"size\":[1],\"loading\":[4],\"rowKey\":[1,\"row-key\"],\"emptyText\":[1,\"empty-text\"],\"maxHeight\":[1,\"max-height\"],\"highlightCurrentRow\":[4,\"highlight-current-row\"],\"selectable\":[4],\"actions\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"itemHeight\":[2,\"item-height\"],\"virtualScrollHeight\":[2,\"virtual-scroll-height\"],\"treeProps\":[16],\"editable\":[4],\"sortProp\":[32],\"sortDirection\":[32],\"currentRow\":[32],\"selectedRows\":[32],\"scrollTop\":[32],\"expandedRowKeys\":[32],\"editingCell\":[32]},null,{\"data\":[\"handleDataChange\"]}]]],[\"hb-tabs.cjs\",[[1,\"hb-tabs\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"closable\":[4],\"activeTab\":[32],\"tabs\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-tag.cjs\",[[1,\"hb-tag\",{\"type\":[1],\"closable\":[4],\"effect\":[1],\"round\":[4],\"size\":[1]}]]],[\"hb-text.cjs\",[[1,\"hb-text\",{\"type\":[1],\"size\":[1],\"truncated\":[4],\"bold\":[4],\"italic\":[4],\"deleted\":[4]}]]],[\"hb-time-picker.cjs\",[[1,\"hb-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedHour\":[32],\"selectedMinute\":[32],\"selectedSecond\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-time-select.cjs\",[[1,\"hb-time-select\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"start\":[1],\"end\":[1],\"step\":[2],\"minTime\":[1,\"min-time\"],\"maxTime\":[1,\"max-time\"],\"isOpen\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-timeline.cjs\",[[1,\"hb-timeline\",{\"mode\":[1],\"items\":[16]}]]],[\"hb-tooltip.cjs\",[[1,\"hb-tooltip\",{\"content\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"showArrow\":[4,\"show-arrow\"],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-tour.cjs\",[[1,\"hb-tour\",{\"visible\":[1028],\"steps\":[16],\"current\":[1026],\"targetRect\":[32]}]]],[\"hb-transfer.cjs\",[[1,\"hb-transfer\",{\"data\":[16],\"targetKeys\":[1040],\"selectedKeys\":[1040],\"titles\":[16],\"disabled\":[4],\"filterable\":[4],\"leftFilter\":[32],\"rightFilter\":[32]},null,{\"selectedKeys\":[\"handleSelectedKeysChange\"]}]]],[\"hb-tree.cjs\",[[1,\"hb-tree\",{\"data\":[16],\"expandedKeys\":[1040],\"selectedKeys\":[1040],\"checkable\":[4],\"checkedKeys\":[1040],\"defaultExpandAll\":[4,\"default-expand-all\"],\"showLine\":[4,\"show-line\"],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]},null,{\"data\":[\"handleDataChange\"],\"expandedKeys\":[\"handleExpandedKeysChange\"],\"selectedKeys\":[\"handleSelectedKeysChange\"],\"checkedKeys\":[\"handleCheckedKeysChange\"]}]]],[\"hb-tree-select.cjs\",[[1,\"hb-tree-select\",{\"data\":[16],\"modelValue\":[1025,\"model-value\"],\"multiple\":[4],\"placeholder\":[1],\"disabled\":[4],\"checkable\":[4],\"defaultExpandAll\":[4,\"default-expand-all\"],\"isOpen\":[32],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]}]]],[\"hb-upload.cjs\",[[1,\"hb-upload\",{\"action\":[1],\"multiple\":[4],\"accept\":[1],\"disabled\":[4],\"limit\":[2],\"drag\":[4],\"name\":[1],\"headers\":[16],\"data\":[16],\"withCredentials\":[4,\"with-credentials\"],\"beforeUpload\":[16],\"fileList\":[1040],\"isDragover\":[32]}]]],[\"hb-watermark.cjs\",[[1,\"hb-watermark\",{\"content\":[1],\"width\":[2],\"height\":[2],\"gap\":[2],\"rotate\":[2],\"fontColor\":[1,\"font-color\"],\"fontSize\":[2,\"font-size\"]}]]],[\"hb-icon.cjs\",[[1,\"hb-icon\",{\"name\":[1],\"size\":[8],\"color\":[1],\"spin\":[4]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy(JSON.parse("[[\"hb-affix.cjs\",[[1,\"hb-affix\",{\"top\":[2],\"bottom\":[2],\"target\":[1],\"affixed\":[32]},[[0,\"hbTestScroll\",\"onTestScroll\"]]]]],[\"hb-alert.cjs\",[[1,\"hb-alert\",{\"title\":[1],\"description\":[1],\"type\":[1],\"closable\":[4],\"showIcon\":[4,\"show-icon\"],\"center\":[4],\"closed\":[32]}]]],[\"hb-anchor.cjs\",[[1,\"hb-anchor\",{\"items\":[16],\"top\":[2],\"affix\":[4],\"activeKey\":[32]}]]],[\"hb-aside.cjs\",[[1,\"hb-aside\",{\"width\":[1]}]]],[\"hb-avatar.cjs\",[[1,\"hb-avatar\",{\"size\":[8],\"shape\":[1],\"src\":[1],\"icon\":[1],\"alt\":[1]}]]],[\"hb-backtop.cjs\",[[1,\"hb-backtop\",{\"visibilityHeight\":[2,\"visibility-height\"],\"target\":[1],\"right\":[2],\"bottom\":[2],\"visible\":[32],\"backToTop\":[64]},[[9,\"scroll\",\"onWindowScroll\"]]]]],[\"hb-badge.cjs\",[[1,\"hb-badge\",{\"value\":[8],\"max\":[2],\"isDot\":[4,\"is-dot\"],\"hidden\":[4],\"type\":[1]}]]],[\"hb-breadcrumb.cjs\",[[1,\"hb-breadcrumb\",{\"separator\":[1]}]]],[\"hb-breadcrumb-item.cjs\",[[1,\"hb-breadcrumb-item\",{\"href\":[1]}]]],[\"hb-button.cjs\",[[1,\"hb-button\",{\"type\":[1],\"size\":[1],\"classNames\":[1,\"class-names\"],\"disabled\":[4],\"loading\":[4]}]]],[\"hb-calendar.cjs\",[[1,\"hb-calendar\",{\"modelValue\":[1025,\"model-value\"],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"disabledDate\":[16],\"viewDate\":[32],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-card.cjs\",[[1,\"hb-card\",{\"header\":[1],\"shadow\":[1]}]]],[\"hb-carousel.cjs\",[[1,\"hb-carousel\",{\"current\":[1026],\"autoplay\":[4],\"interval\":[2],\"arrow\":[1],\"dots\":[4],\"loop\":[4],\"slideCount\":[32],\"isHover\":[32]},null,{\"autoplay\":[\"handleAutoplayOptionsChange\"],\"interval\":[\"handleAutoplayOptionsChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-cascader.cjs\",[[1,\"hb-cascader\",{\"modelValue\":[1040],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"showAllLevels\":[4,\"show-all-levels\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"separator\":[1],\"emitPath\":[4,\"emit-path\"],\"filterable\":[4],\"lazy\":[4],\"load\":[16],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"loadingKeys\":[32],\"filteredPaths\":[32],\"activePath\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-checkbox.cjs\",[[1,\"hb-checkbox\",{\"modelValue\":[1028,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[4],\"name\":[1],\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-checkbox-group.cjs\",[[1,\"hb-checkbox-group\",{\"modelValue\":[1040],\"disabled\":[4],\"size\":[1],\"border\":[4],\"min\":[2],\"max\":[2],\"checkboxes\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"disabled\":[\"handlePropsChange\"],\"size\":[\"handlePropsChange\"],\"border\":[\"handlePropsChange\"]}]]],[\"hb-collapse.cjs\",[[1,\"hb-collapse\",{\"accordion\":[1028]}]]],[\"hb-collapse-item.cjs\",[[1,\"hb-collapse-item\",{\"key\":[1],\"title\":[1],\"disabled\":[4],\"active\":[1028],\"isOpen\":[32]},null,{\"active\":[\"handleActiveChange\"]}]]],[\"hb-color-picker.cjs\",[[1,\"hb-color-picker\",{\"modelValue\":[1025,\"model-value\"],\"disabled\":[4],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"isOpen\":[32],\"currentColor\":[32],\"hue\":[32],\"saturation\":[32],\"value\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-color-picker-panel.cjs\",[[1,\"hb-color-picker-panel\",{\"modelValue\":[1025,\"model-value\"],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"currentColor\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-config-provider.cjs\",[[4,\"hb-config-provider\",{\"theme\":[1],\"size\":[1],\"locale\":[1]}]]],[\"hb-container.cjs\",[[1,\"hb-container\",{\"direction\":[1]}]]],[\"hb-date-picker.cjs\",[[1,\"hb-date-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"valueFormat\":[1,\"value-format\"],\"type\":[1],\"disabledDate\":[16],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-picker-pane.cjs\",[[1,\"hb-date-picker-pane\",{\"modelValue\":[1025,\"model-value\"],\"format\":[1],\"view\":[1025],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-range-picker.cjs\",[[1,\"hb-date-range-picker\",{\"modelValue\":[1040],\"placeholder\":[16],\"disabled\":[4],\"clearable\":[4],\"size\":[1],\"format\":[1],\"disabledDate\":[16],\"name\":[1],\"isOpen\":[32],\"leftViewDate\":[32],\"startDate\":[32],\"endDate\":[32],\"pickingEnd\":[32],\"hoverDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-date-time-picker.cjs\",[[1,\"hb-date-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32],\"currentView\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-descriptions.cjs\",[[1,\"hb-descriptions\",{\"title\":[1],\"border\":[4],\"column\":[2],\"colon\":[4],\"items\":[16]}]]],[\"hb-dialog.cjs\",[[1,\"hb-dialog\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"width\":[1],\"fullscreen\":[4],\"modal\":[4],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"showClose\":[4,\"show-close\"],\"destroyOnClose\":[4,\"destroy-on-close\"]},null,{\"modelValue\":[\"handleVisibleChange\"]}]]],[\"hb-divider.cjs\",[[1,\"hb-divider\",{\"direction\":[1],\"contentPosition\":[1,\"content-position\"],\"dashed\":[4]}]]],[\"hb-drawer.cjs\",[[1,\"hb-drawer\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"size\":[1],\"direction\":[1],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"showClose\":[4,\"show-close\"],\"modal\":[4],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"zIndexState\":[32]},null,{\"modelValue\":[\"handleVisible\"]}]]],[\"hb-dropdown.cjs\",[[1,\"hb-dropdown\",{\"items\":[16],\"trigger\":[1],\"disabled\":[4],\"isOpen\":[32]}]]],[\"hb-empty.cjs\",[[1,\"hb-empty\",{\"description\":[1],\"image\":[1]}]]],[\"hb-float-button.cjs\",[[1,\"hb-float-button\",{\"type\":[1],\"shape\":[1],\"icon\":[1],\"description\":[1],\"right\":[2],\"bottom\":[2],\"badge\":[8]}]]],[\"hb-footer.cjs\",[[1,\"hb-footer\",{\"height\":[1]}]]],[\"hb-form.cjs\",[[1,\"hb-form\",{\"model\":[16],\"rules\":[16],\"labelPosition\":[1,\"label-position\"],\"labelWidth\":[1,\"label-width\"],\"inline\":[4],\"size\":[1],\"disabled\":[4],\"validate\":[16],\"resetFields\":[16],\"fields\":[32]}]]],[\"hb-form-item.cjs\",[[1,\"hb-form-item\",{\"prop\":[1],\"label\":[1],\"labelWidth\":[1,\"label-width\"],\"required\":[4],\"rules\":[16],\"size\":[1],\"validate\":[16],\"resetValue\":[16],\"getValue\":[16],\"errors\":[32],\"isvalidating\":[32]}]]],[\"hb-header.cjs\",[[1,\"hb-header\",{\"height\":[1]}]]],[\"hb-icon.cjs\",[[1,\"hb-icon\",{\"name\":[1],\"size\":[8],\"color\":[1],\"spin\":[4]}]]],[\"hb-image.cjs\",[[1,\"hb-image\",{\"src\":[1],\"alt\":[1],\"width\":[1],\"height\":[1],\"fit\":[1],\"lazy\":[4],\"preview\":[4],\"radius\":[1],\"loaded\":[32],\"error\":[32],\"previewVisible\":[32]}]]],[\"hb-image-preview.cjs\",[[1,\"hb-image-preview\",{\"modelValue\":[1028,\"model-value\"],\"src\":[1],\"srcList\":[16],\"current\":[1026],\"zoomStep\":[2,\"zoom-step\"],\"minZoom\":[2,\"min-zoom\"],\"maxZoom\":[2,\"max-zoom\"],\"zoom\":[32],\"rotate\":[32]},null,{\"modelValue\":[\"handleVisibleChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-input.cjs\",[[1,\"hb-input\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"placeholder\":[1],\"clearable\":[4],\"showPassword\":[4,\"show-password\"],\"showWordLimit\":[4,\"show-word-limit\"],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"inputId\":[1,\"input-id\"],\"autocomplete\":[1],\"autofocus\":[4],\"prefixIcon\":[1,\"prefix-icon\"],\"suffixIcon\":[1,\"suffix-icon\"],\"rows\":[2],\"autosize\":[4],\"resize\":[1],\"isFocused\":[32],\"showClear\":[32],\"passwordVisible\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-input-number.cjs\",[[1,\"hb-input-number\",{\"modelValue\":[1026,\"model-value\"],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[2],\"max\":[2],\"step\":[2],\"precision\":[2],\"stepStrictly\":[4,\"step-strictly\"],\"controls\":[4],\"controlsPosition\":[1,\"controls-position\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"placeholder\":[1],\"currentValue\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-input-tag.cjs\",[[1,\"hb-input-tag\",{\"modelValue\":[1040],\"size\":[1],\"disabled\":[4],\"placeholder\":[1],\"maxlength\":[2],\"max\":[2],\"clearable\":[4],\"width\":[1],\"type\":[1],\"closable\":[4],\"inputVisible\":[4,\"input-visible\"],\"inputValue\":[32],\"isFocused\":[32]}]]],[\"hb-layout.cjs\",[[1,\"hb-layout\",{\"span\":[2],\"offset\":[2],\"push\":[2],\"pull\":[2],\"xs\":[2],\"sm\":[2],\"md\":[2],\"lg\":[2],\"xl\":[2]}]]],[\"hb-link.cjs\",[[1,\"hb-link\",{\"type\":[1],\"underline\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"icon\":[1]}]]],[\"hb-loading.cjs\",[[1,\"hb-loading\",{\"size\":[1],\"text\":[1],\"fullscreen\":[4]}]]],[\"hb-main.cjs\",[[1,\"hb-main\"]]],[\"hb-menu.cjs\",[[1,\"hb-menu\",{\"mode\":[1],\"defaultActive\":[1025,\"default-active\"],\"collapsed\":[4],\"backgroundColor\":[1,\"background-color\"],\"textColor\":[1,\"text-color\"],\"activeTextColor\":[1,\"active-text-color\"],\"activeItem\":[32]},[[0,\"hbMenuItemSelect\",\"handleSelect\"]],{\"defaultActive\":[\"handleDefaultActiveChange\"],\"collapsed\":[\"handleCollapsedChange\"]}]]],[\"hb-menu-item.cjs\",[[1,\"hb-menu-item\",{\"key\":[1],\"disabled\":[4],\"icon\":[1],\"active\":[4]}]]],[\"hb-message.cjs\",[[1,\"hb-message\",{\"message\":[1],\"type\":[1],\"closable\":[4],\"duration\":[2],\"visible\":[32]}]]],[\"hb-notification.cjs\",[[1,\"hb-notification\",{\"id\":[1],\"type\":[1],\"title\":[1],\"message\":[1],\"duration\":[2],\"position\":[1],\"showClose\":[4,\"show-close\"],\"visible\":[1028]}]]],[\"hb-page-header.cjs\",[[1,\"hb-page-header\",{\"title\":[1],\"subtitle\":[1],\"back\":[4],\"ghost\":[4]}]]],[\"hb-pagination.cjs\",[[1,\"hb-pagination\",{\"total\":[2],\"pageSize\":[2,\"page-size\"],\"currentPage\":[1026,\"current-page\"],\"pageSizes\":[16],\"pagerCount\":[2,\"pager-count\"],\"disabled\":[4],\"showTotal\":[4,\"show-total\"],\"showPageSize\":[4,\"show-page-size\"],\"internalCurrent\":[32]},null,{\"currentPage\":[\"handleCurrentPageChange\"]}]]],[\"hb-popconfirm.cjs\",[[1,\"hb-popconfirm\",{\"title\":[1],\"confirmButtonText\":[1,\"confirm-button-text\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"placement\":[1],\"disabled\":[4],\"icon\":[1],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-popover.cjs\",[[1,\"hb-popover\",{\"title\":[1],\"width\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-progress.cjs\",[[1,\"hb-progress\",{\"percentage\":[2],\"status\":[1],\"strokeWidth\":[2,\"stroke-width\"],\"showText\":[4,\"show-text\"],\"color\":[1]}]]],[\"hb-radio.cjs\",[[1,\"hb-radio\",{\"modelValue\":[1032,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"name\":[1],\"radioId\":[1,\"radio-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-rate.cjs\",[[1,\"hb-rate\",{\"modelValue\":[1026,\"model-value\"],\"max\":[2],\"disabled\":[4],\"allowHalf\":[4,\"allow-half\"],\"readonly\":[4],\"showScore\":[4,\"show-score\"],\"showText\":[4,\"show-text\"],\"texts\":[16],\"scoreTemplate\":[1,\"score-template\"],\"hoverValue\":[32],\"currentValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-result.cjs\",[[1,\"hb-result\",{\"status\":[1],\"title\":[1],\"subTitle\":[1,\"sub-title\"],\"icon\":[1]}]]],[\"hb-row.cjs\",[[1,\"hb-row\",{\"gutter\":[2],\"justify\":[1],\"align\":[1],\"tag\":[1]}]]],[\"hb-scrollbar.cjs\",[[1,\"hb-scrollbar\",{\"height\":[1],\"maxHeight\":[1,\"max-height\"],\"always\":[4],\"native\":[4],\"minSize\":[2,\"min-size\"],\"scrollbarVisible\":[32],\"thumbHeight\":[32],\"thumbTop\":[32],\"setScrollTop\":[64],\"setScrollLeft\":[64],\"getScrollTop\":[64],\"getScrollLeft\":[64]},null,{\"height\":[\"handleSizeChange\"],\"maxHeight\":[\"handleSizeChange\"]}]]],[\"hb-segmented.cjs\",[[1,\"hb-segmented\",{\"modelValue\":[1025,\"model-value\"],\"block\":[4],\"size\":[1],\"options\":[16]}]]],[\"hb-select.cjs\",[[1,\"hb-select\",{\"modelValue\":[1032,\"model-value\"],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"multiple\":[4],\"filterable\":[4],\"filterMethod\":[16],\"defaultFirstOption\":[4,\"default-first-option\"],\"allowCreate\":[4,\"allow-create\"],\"collapseTags\":[4,\"collapse-tags\"],\"maxCollapseTags\":[2,\"max-collapse-tags\"],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"filteredOptions\":[32],\"activeOptionIndex\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"hb-skeleton.cjs\",[[1,\"hb-skeleton\",{\"active\":[4],\"rows\":[2],\"loading\":[4],\"avatar\":[4],\"showTitle\":[4,\"show-title\"],\"paragraph\":[4]}]]],[\"hb-slider.cjs\",[[1,\"hb-slider\",{\"modelValue\":[1026,\"model-value\"],\"min\":[2],\"max\":[2],\"step\":[2],\"showTooltip\":[4,\"show-tooltip\"],\"formatTooltip\":[16],\"disabled\":[4],\"range\":[4],\"vertical\":[4],\"height\":[1],\"dragging\":[32],\"currentValue\":[32],\"tooltipVisible\":[32],\"tooltipValue\":[32]}]]],[\"hb-space.cjs\",[[1,\"hb-space\",{\"size\":[8],\"direction\":[1],\"wrap\":[4],\"alignment\":[1],\"fill\":[4],\"fillRatio\":[2,\"fill-ratio\"]}]]],[\"hb-statistic.cjs\",[[1,\"hb-statistic\",{\"title\":[1],\"value\":[8],\"precision\":[2],\"valuePrefix\":[1,\"value-prefix\"],\"suffix\":[1],\"valueStyle\":[1,\"value-style\"]}]]],[\"hb-step.cjs\",[[1,\"hb-step\",{\"title\":[1],\"description\":[1],\"icon\":[1],\"status\":[1]}]]],[\"hb-steps.cjs\",[[1,\"hb-steps\",{\"active\":[2],\"processStatus\":[1,\"process-status\"],\"alignCenter\":[4,\"align-center\"],\"direction\":[1],\"steps\":[32]}]]],[\"hb-sub-menu.cjs\",[[1,\"hb-sub-menu\",{\"label\":[1],\"icon\":[1],\"collapsed\":[4],\"isOpen\":[32],\"isHover\":[32]}]]],[\"hb-switch.cjs\",[[1,\"hb-switch\",{\"modelValue\":[1028,\"model-value\"],\"disabled\":[4],\"activeText\":[1,\"active-text\"],\"inactiveText\":[1,\"inactive-text\"],\"activeColor\":[1,\"active-color\"],\"inactiveColor\":[1,\"inactive-color\"],\"activeValue\":[8,\"active-value\"],\"inactiveValue\":[8,\"inactive-value\"],\"width\":[2],\"inlinePrompt\":[4,\"inline-prompt\"]}]]],[\"hb-tab-pane.cjs\",[[1,\"hb-tab-pane\",{\"key\":[1],\"label\":[1],\"active\":[4]}]]],[\"hb-table.cjs\",[[1,\"hb-table\",{\"data\":[16],\"columns\":[16],\"stripe\":[4],\"border\":[4],\"size\":[1],\"loading\":[4],\"rowKey\":[1,\"row-key\"],\"emptyText\":[1,\"empty-text\"],\"maxHeight\":[1,\"max-height\"],\"highlightCurrentRow\":[4,\"highlight-current-row\"],\"selectable\":[4],\"actions\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"itemHeight\":[2,\"item-height\"],\"virtualScrollHeight\":[2,\"virtual-scroll-height\"],\"treeProps\":[16],\"editable\":[4],\"sortProp\":[32],\"sortDirection\":[32],\"currentRow\":[32],\"selectedRows\":[32],\"scrollTop\":[32],\"expandedRowKeys\":[32],\"editingCell\":[32]},null,{\"data\":[\"handleDataChange\"]}]]],[\"hb-tabs.cjs\",[[1,\"hb-tabs\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"closable\":[4],\"activeTab\":[32],\"tabs\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-tag.cjs\",[[1,\"hb-tag\",{\"type\":[1],\"closable\":[4],\"effect\":[1],\"round\":[4],\"size\":[1]}]]],[\"hb-text.cjs\",[[1,\"hb-text\",{\"type\":[1],\"size\":[1],\"truncated\":[4],\"bold\":[4],\"italic\":[4],\"deleted\":[4]}]]],[\"hb-time-picker.cjs\",[[1,\"hb-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedHour\":[32],\"selectedMinute\":[32],\"selectedSecond\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-time-select.cjs\",[[1,\"hb-time-select\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"start\":[1],\"end\":[1],\"step\":[2],\"minTime\":[1,\"min-time\"],\"maxTime\":[1,\"max-time\"],\"isOpen\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-timeline.cjs\",[[1,\"hb-timeline\",{\"mode\":[1],\"items\":[16]}]]],[\"hb-tooltip.cjs\",[[1,\"hb-tooltip\",{\"content\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"showArrow\":[4,\"show-arrow\"],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-tour.cjs\",[[1,\"hb-tour\",{\"visible\":[1028],\"steps\":[16],\"current\":[1026],\"targetRect\":[32]}]]],[\"hb-transfer.cjs\",[[1,\"hb-transfer\",{\"data\":[16],\"targetKeys\":[1040],\"selectedKeys\":[1040],\"titles\":[16],\"disabled\":[4],\"filterable\":[4],\"leftFilter\":[32],\"rightFilter\":[32]},null,{\"selectedKeys\":[\"handleSelectedKeysChange\"]}]]],[\"hb-tree.cjs\",[[1,\"hb-tree\",{\"data\":[16],\"expandedKeys\":[1040],\"selectedKeys\":[1040],\"checkable\":[4],\"checkedKeys\":[1040],\"defaultExpandAll\":[4,\"default-expand-all\"],\"showLine\":[4,\"show-line\"],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]},null,{\"data\":[\"handleDataChange\"],\"expandedKeys\":[\"handleExpandedKeysChange\"],\"selectedKeys\":[\"handleSelectedKeysChange\"],\"checkedKeys\":[\"handleCheckedKeysChange\"]}]]],[\"hb-tree-select.cjs\",[[1,\"hb-tree-select\",{\"data\":[16],\"modelValue\":[1025,\"model-value\"],\"multiple\":[4],\"placeholder\":[1],\"disabled\":[4],\"checkable\":[4],\"defaultExpandAll\":[4,\"default-expand-all\"],\"isOpen\":[32],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]}]]],[\"hb-upload.cjs\",[[1,\"hb-upload\",{\"action\":[1],\"multiple\":[4],\"accept\":[1],\"disabled\":[4],\"limit\":[2],\"drag\":[4],\"name\":[1],\"headers\":[16],\"data\":[16],\"withCredentials\":[4,\"with-credentials\"],\"beforeUpload\":[16],\"fileList\":[1040],\"isDragover\":[32]}]]],[\"hb-watermark.cjs\",[[1,\"hb-watermark\",{\"content\":[1],\"width\":[2],\"height\":[2],\"gap\":[2],\"rotate\":[2],\"fontColor\":[1,\"font-color\"],\"fontSize\":[2,\"font-size\"]}]]]]"), options);
|
|
11
|
+
return index.bootstrapLazy(JSON.parse("[[\"hb-steps.cjs\",[[1,\"hb-steps\",{\"active\":[2],\"processStatus\":[1,\"process-status\"],\"alignCenter\":[4,\"align-center\"],\"direction\":[1],\"steps\":[32]}]]],[\"hb-affix.cjs\",[[1,\"hb-affix\",{\"top\":[2],\"bottom\":[2],\"target\":[1],\"affixed\":[32]},[[0,\"hbTestScroll\",\"onTestScroll\"]]]]],[\"hb-alert.cjs\",[[1,\"hb-alert\",{\"title\":[1],\"description\":[1],\"type\":[1],\"closable\":[4],\"showIcon\":[4,\"show-icon\"],\"center\":[4],\"closed\":[32]}]]],[\"hb-anchor.cjs\",[[1,\"hb-anchor\",{\"items\":[16],\"top\":[2],\"affix\":[4],\"activeKey\":[32]}]]],[\"hb-aside.cjs\",[[1,\"hb-aside\",{\"width\":[1]}]]],[\"hb-avatar.cjs\",[[1,\"hb-avatar\",{\"size\":[8],\"shape\":[1],\"src\":[1],\"icon\":[1],\"alt\":[1]}]]],[\"hb-backtop.cjs\",[[1,\"hb-backtop\",{\"visibilityHeight\":[2,\"visibility-height\"],\"target\":[1],\"right\":[2],\"bottom\":[2],\"visible\":[32],\"backToTop\":[64]},[[9,\"scroll\",\"onWindowScroll\"]]]]],[\"hb-badge.cjs\",[[1,\"hb-badge\",{\"value\":[8],\"max\":[2],\"isDot\":[4,\"is-dot\"],\"hidden\":[4],\"type\":[1]}]]],[\"hb-breadcrumb.cjs\",[[1,\"hb-breadcrumb\",{\"separator\":[1]}]]],[\"hb-breadcrumb-item.cjs\",[[1,\"hb-breadcrumb-item\",{\"href\":[1]}]]],[\"hb-button.cjs\",[[1,\"hb-button\",{\"type\":[1],\"size\":[1],\"classNames\":[1,\"class-names\"],\"disabled\":[4],\"loading\":[4]}]]],[\"hb-calendar.cjs\",[[1,\"hb-calendar\",{\"modelValue\":[1025,\"model-value\"],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"disabledDate\":[16],\"viewDate\":[32],\"selectedDate\":[32],\"focusDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-card.cjs\",[[1,\"hb-card\",{\"header\":[1],\"shadow\":[1]}]]],[\"hb-carousel.cjs\",[[1,\"hb-carousel\",{\"current\":[1026],\"autoplay\":[4],\"interval\":[2],\"arrow\":[1],\"dots\":[4],\"loop\":[4],\"slideCount\":[32],\"isHover\":[32]},null,{\"autoplay\":[\"handleAutoplayOptionsChange\"],\"interval\":[\"handleAutoplayOptionsChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-cascader.cjs\",[[1,\"hb-cascader\",{\"modelValue\":[1040],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"showAllLevels\":[4,\"show-all-levels\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"separator\":[1],\"emitPath\":[4,\"emit-path\"],\"filterable\":[4],\"lazy\":[4],\"load\":[16],\"multiple\":[4],\"checkStrictly\":[4,\"check-strictly\"],\"maxTagCount\":[2,\"max-tag-count\"],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"loadingKeys\":[32],\"filteredPaths\":[32],\"activePath\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-checkbox.cjs\",[[1,\"hb-checkbox\",{\"modelValue\":[1028,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[4],\"name\":[1],\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-checkbox-group.cjs\",[[1,\"hb-checkbox-group\",{\"modelValue\":[1040],\"disabled\":[4],\"size\":[1],\"border\":[4],\"min\":[2],\"max\":[2],\"checkboxes\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"disabled\":[\"handlePropsChange\"],\"size\":[\"handlePropsChange\"],\"border\":[\"handlePropsChange\"]}]]],[\"hb-collapse.cjs\",[[1,\"hb-collapse\",{\"accordion\":[1028]}]]],[\"hb-collapse-item.cjs\",[[1,\"hb-collapse-item\",{\"key\":[1],\"title\":[1],\"disabled\":[4],\"active\":[1028],\"isOpen\":[32]},null,{\"active\":[\"handleActiveChange\"]}]]],[\"hb-color-picker.cjs\",[[1,\"hb-color-picker\",{\"modelValue\":[1025,\"model-value\"],\"disabled\":[4],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"isOpen\":[32],\"currentColor\":[32],\"hue\":[32],\"saturation\":[32],\"value\":[32],\"alpha\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-color-picker-panel.cjs\",[[1,\"hb-color-picker-panel\",{\"modelValue\":[1025,\"model-value\"],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"currentColor\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-config-provider.cjs\",[[4,\"hb-config-provider\",{\"theme\":[1],\"size\":[1],\"locale\":[1]}]]],[\"hb-container.cjs\",[[1,\"hb-container\",{\"direction\":[1]}]]],[\"hb-date-picker.cjs\",[[1,\"hb-date-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"valueFormat\":[1,\"value-format\"],\"type\":[1],\"disabledDate\":[16],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32],\"panelViewDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-picker-pane.cjs\",[[1,\"hb-date-picker-pane\",{\"modelValue\":[1025,\"model-value\"],\"format\":[1],\"view\":[1025],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-range-picker.cjs\",[[1,\"hb-date-range-picker\",{\"modelValue\":[1040],\"placeholder\":[16],\"disabled\":[4],\"clearable\":[4],\"size\":[1],\"format\":[1],\"disabledDate\":[16],\"name\":[1],\"isOpen\":[32],\"leftViewDate\":[32],\"startDate\":[32],\"endDate\":[32],\"pickingEnd\":[32],\"hoverDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-date-time-picker.cjs\",[[1,\"hb-date-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32],\"currentView\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-descriptions.cjs\",[[1,\"hb-descriptions\",{\"title\":[1],\"border\":[4],\"column\":[2],\"colon\":[4],\"items\":[16]}]]],[\"hb-dialog.cjs\",[[1,\"hb-dialog\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"width\":[1],\"fullscreen\":[4],\"modal\":[4],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"showClose\":[4,\"show-close\"],\"destroyOnClose\":[4,\"destroy-on-close\"]},null,{\"modelValue\":[\"handleVisibleChange\"]}]]],[\"hb-divider.cjs\",[[1,\"hb-divider\",{\"direction\":[1],\"contentPosition\":[1,\"content-position\"],\"dashed\":[4]}]]],[\"hb-drawer.cjs\",[[1,\"hb-drawer\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"size\":[1],\"direction\":[1],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"showClose\":[4,\"show-close\"],\"modal\":[4],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"zIndexState\":[32]},null,{\"modelValue\":[\"handleVisible\"]}]]],[\"hb-dropdown.cjs\",[[1,\"hb-dropdown\",{\"items\":[16],\"trigger\":[1],\"disabled\":[4],\"isOpen\":[32],\"activeIndex\":[32]}]]],[\"hb-empty.cjs\",[[1,\"hb-empty\",{\"description\":[1],\"image\":[1]}]]],[\"hb-float-button.cjs\",[[1,\"hb-float-button\",{\"type\":[1],\"shape\":[1],\"icon\":[1],\"description\":[1],\"right\":[2],\"bottom\":[2],\"badge\":[8]}]]],[\"hb-footer.cjs\",[[1,\"hb-footer\",{\"height\":[1]}]]],[\"hb-form.cjs\",[[1,\"hb-form\",{\"model\":[16],\"rules\":[16],\"labelPosition\":[1,\"label-position\"],\"labelWidth\":[1,\"label-width\"],\"inline\":[4],\"size\":[1],\"disabled\":[4],\"validate\":[16],\"resetFields\":[16],\"fields\":[32]}]]],[\"hb-form-item.cjs\",[[1,\"hb-form-item\",{\"prop\":[1],\"label\":[1],\"labelWidth\":[1,\"label-width\"],\"required\":[4],\"rules\":[16],\"size\":[1],\"validate\":[16],\"resetValue\":[16],\"getValue\":[16],\"errors\":[32],\"isvalidating\":[32]}]]],[\"hb-header.cjs\",[[1,\"hb-header\",{\"height\":[1]}]]],[\"hb-image.cjs\",[[1,\"hb-image\",{\"src\":[1],\"alt\":[1],\"width\":[1],\"height\":[1],\"fit\":[1],\"lazy\":[4],\"preview\":[4],\"radius\":[1],\"loaded\":[32],\"error\":[32],\"previewVisible\":[32]}]]],[\"hb-image-preview.cjs\",[[1,\"hb-image-preview\",{\"modelValue\":[1028,\"model-value\"],\"src\":[1],\"srcList\":[16],\"current\":[1026],\"zoomStep\":[2,\"zoom-step\"],\"minZoom\":[2,\"min-zoom\"],\"maxZoom\":[2,\"max-zoom\"],\"zoom\":[32],\"rotate\":[32]},null,{\"modelValue\":[\"handleVisibleChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-input.cjs\",[[1,\"hb-input\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"placeholder\":[1],\"clearable\":[4],\"showPassword\":[4,\"show-password\"],\"showWordLimit\":[4,\"show-word-limit\"],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"inputId\":[1,\"input-id\"],\"autocomplete\":[1],\"autofocus\":[4],\"prefixIcon\":[1,\"prefix-icon\"],\"suffixIcon\":[1,\"suffix-icon\"],\"rows\":[2],\"autosize\":[4],\"resize\":[1],\"isFocused\":[32],\"showClear\":[32],\"passwordVisible\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-input-number.cjs\",[[1,\"hb-input-number\",{\"modelValue\":[1026,\"model-value\"],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[2],\"max\":[2],\"step\":[2],\"precision\":[2],\"stepStrictly\":[4,\"step-strictly\"],\"controls\":[4],\"controlsPosition\":[1,\"controls-position\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"placeholder\":[1],\"currentValue\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-input-tag.cjs\",[[1,\"hb-input-tag\",{\"modelValue\":[1040],\"size\":[1],\"disabled\":[4],\"placeholder\":[1],\"maxlength\":[2],\"max\":[2],\"clearable\":[4],\"width\":[1],\"type\":[1],\"closable\":[4],\"inputVisible\":[4,\"input-visible\"],\"inputValue\":[32],\"isFocused\":[32]}]]],[\"hb-layout.cjs\",[[1,\"hb-layout\",{\"span\":[2],\"offset\":[2],\"push\":[2],\"pull\":[2],\"xs\":[2],\"sm\":[2],\"md\":[2],\"lg\":[2],\"xl\":[2]}]]],[\"hb-link.cjs\",[[1,\"hb-link\",{\"type\":[1],\"underline\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"icon\":[1]}]]],[\"hb-loading.cjs\",[[1,\"hb-loading\",{\"size\":[1],\"text\":[1],\"fullscreen\":[4]}]]],[\"hb-main.cjs\",[[1,\"hb-main\"]]],[\"hb-menu.cjs\",[[1,\"hb-menu\",{\"mode\":[1],\"defaultActive\":[1025,\"default-active\"],\"collapsed\":[4],\"backgroundColor\":[1,\"background-color\"],\"textColor\":[1,\"text-color\"],\"activeTextColor\":[1,\"active-text-color\"],\"activeItem\":[32]},[[0,\"hbMenuItemSelect\",\"handleSelect\"]],{\"defaultActive\":[\"handleDefaultActiveChange\"],\"collapsed\":[\"handleCollapsedChange\"]}]]],[\"hb-menu-item.cjs\",[[1,\"hb-menu-item\",{\"key\":[1],\"disabled\":[4],\"icon\":[1],\"active\":[4]}]]],[\"hb-message.cjs\",[[1,\"hb-message\",{\"message\":[1],\"type\":[1],\"closable\":[4],\"duration\":[2],\"visible\":[32]}]]],[\"hb-notification.cjs\",[[1,\"hb-notification\",{\"id\":[1],\"type\":[1],\"title\":[1],\"message\":[1],\"duration\":[2],\"position\":[1],\"showClose\":[4,\"show-close\"],\"visible\":[1028]}]]],[\"hb-page-header.cjs\",[[1,\"hb-page-header\",{\"title\":[1],\"subtitle\":[1],\"back\":[4],\"ghost\":[4]}]]],[\"hb-pagination.cjs\",[[1,\"hb-pagination\",{\"total\":[2],\"pageSize\":[2,\"page-size\"],\"currentPage\":[1026,\"current-page\"],\"pageSizes\":[16],\"pagerCount\":[2,\"pager-count\"],\"disabled\":[4],\"showTotal\":[4,\"show-total\"],\"showPageSize\":[4,\"show-page-size\"],\"internalCurrent\":[32],\"internalPageSize\":[32]},null,{\"currentPage\":[\"handleCurrentPageChange\"],\"pageSize\":[\"handlePageSizeChange\"]}]]],[\"hb-popconfirm.cjs\",[[1,\"hb-popconfirm\",{\"title\":[1],\"confirmButtonText\":[1,\"confirm-button-text\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"placement\":[1],\"disabled\":[4],\"icon\":[1],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-popover.cjs\",[[1,\"hb-popover\",{\"title\":[1],\"width\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-progress.cjs\",[[1,\"hb-progress\",{\"percentage\":[2],\"status\":[1],\"strokeWidth\":[2,\"stroke-width\"],\"showText\":[4,\"show-text\"],\"color\":[1]}]]],[\"hb-radio.cjs\",[[1,\"hb-radio\",{\"modelValue\":[1032,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"name\":[1],\"radioId\":[1,\"radio-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-rate.cjs\",[[1,\"hb-rate\",{\"modelValue\":[1026,\"model-value\"],\"max\":[2],\"disabled\":[4],\"allowHalf\":[4,\"allow-half\"],\"readonly\":[4],\"showScore\":[4,\"show-score\"],\"showText\":[4,\"show-text\"],\"texts\":[16],\"scoreTemplate\":[1,\"score-template\"],\"hoverValue\":[32],\"currentValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-result.cjs\",[[1,\"hb-result\",{\"status\":[1],\"title\":[1],\"subTitle\":[1,\"sub-title\"],\"icon\":[1]}]]],[\"hb-row.cjs\",[[1,\"hb-row\",{\"gutter\":[2],\"justify\":[1],\"align\":[1],\"tag\":[1]}]]],[\"hb-scrollbar.cjs\",[[1,\"hb-scrollbar\",{\"height\":[1],\"maxHeight\":[1,\"max-height\"],\"always\":[4],\"native\":[4],\"minSize\":[2,\"min-size\"],\"scrollbarVisible\":[32],\"thumbHeight\":[32],\"thumbTop\":[32],\"setScrollTop\":[64],\"setScrollLeft\":[64],\"getScrollTop\":[64],\"getScrollLeft\":[64]},null,{\"height\":[\"handleSizeChange\"],\"maxHeight\":[\"handleSizeChange\"]}]]],[\"hb-segmented.cjs\",[[1,\"hb-segmented\",{\"modelValue\":[1025,\"model-value\"],\"block\":[4],\"size\":[1],\"options\":[16],\"activeIndex\":[32]}]]],[\"hb-select.cjs\",[[1,\"hb-select\",{\"modelValue\":[1032,\"model-value\"],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"multiple\":[4],\"filterable\":[4],\"filterMethod\":[16],\"defaultFirstOption\":[4,\"default-first-option\"],\"allowCreate\":[4,\"allow-create\"],\"collapseTags\":[4,\"collapse-tags\"],\"maxCollapseTags\":[2,\"max-collapse-tags\"],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"filteredOptions\":[32],\"activeOptionIndex\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"hb-skeleton.cjs\",[[1,\"hb-skeleton\",{\"active\":[4],\"rows\":[2],\"loading\":[4],\"avatar\":[4],\"showTitle\":[4,\"show-title\"],\"paragraph\":[4]}]]],[\"hb-slider.cjs\",[[1,\"hb-slider\",{\"modelValue\":[1026,\"model-value\"],\"min\":[2],\"max\":[2],\"step\":[2],\"showTooltip\":[4,\"show-tooltip\"],\"formatTooltip\":[16],\"disabled\":[4],\"range\":[4],\"vertical\":[4],\"height\":[1],\"marks\":[16],\"dragging\":[32],\"currentValue\":[32],\"tooltipVisible\":[32],\"tooltipValue\":[32],\"activeHandle\":[32]},null,{\"modelValue\":[\"handleModelChange\"]}]]],[\"hb-space.cjs\",[[1,\"hb-space\",{\"size\":[8],\"direction\":[1],\"wrap\":[4],\"alignment\":[1],\"fill\":[4],\"fillRatio\":[2,\"fill-ratio\"]}]]],[\"hb-statistic.cjs\",[[1,\"hb-statistic\",{\"title\":[1],\"value\":[8],\"precision\":[2],\"valuePrefix\":[1,\"value-prefix\"],\"suffix\":[1],\"valueStyle\":[1,\"value-style\"]}]]],[\"hb-step.cjs\",[[1,\"hb-step\",{\"title\":[1],\"description\":[1],\"icon\":[1],\"status\":[1]}]]],[\"hb-sub-menu.cjs\",[[1,\"hb-sub-menu\",{\"label\":[1],\"icon\":[1],\"collapsed\":[4],\"isOpen\":[32],\"isHover\":[32]}]]],[\"hb-switch.cjs\",[[1,\"hb-switch\",{\"modelValue\":[1028,\"model-value\"],\"disabled\":[4],\"activeText\":[1,\"active-text\"],\"inactiveText\":[1,\"inactive-text\"],\"activeColor\":[1,\"active-color\"],\"inactiveColor\":[1,\"inactive-color\"],\"activeValue\":[8,\"active-value\"],\"inactiveValue\":[8,\"inactive-value\"],\"width\":[2],\"inlinePrompt\":[4,\"inline-prompt\"]}]]],[\"hb-tab-pane.cjs\",[[1,\"hb-tab-pane\",{\"key\":[1],\"label\":[1],\"active\":[4]}]]],[\"hb-table.cjs\",[[1,\"hb-table\",{\"data\":[16],\"columns\":[16],\"stripe\":[4],\"border\":[4],\"size\":[1],\"loading\":[4],\"rowKey\":[1,\"row-key\"],\"emptyText\":[1,\"empty-text\"],\"maxHeight\":[1,\"max-height\"],\"highlightCurrentRow\":[4,\"highlight-current-row\"],\"selectable\":[4],\"actions\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"itemHeight\":[2,\"item-height\"],\"virtualScrollHeight\":[2,\"virtual-scroll-height\"],\"treeProps\":[16],\"editable\":[4],\"sortProp\":[32],\"sortDirection\":[32],\"currentRow\":[32],\"selectedRows\":[32],\"scrollTop\":[32],\"expandedRowKeys\":[32],\"editingCell\":[32]},null,{\"data\":[\"handleDataChange\"]}]]],[\"hb-tabs.cjs\",[[1,\"hb-tabs\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"closable\":[4],\"activeTab\":[32],\"tabs\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-tag.cjs\",[[1,\"hb-tag\",{\"type\":[1],\"closable\":[4],\"effect\":[1],\"round\":[4],\"size\":[1]}]]],[\"hb-text.cjs\",[[1,\"hb-text\",{\"type\":[1],\"size\":[1],\"truncated\":[4],\"bold\":[4],\"italic\":[4],\"deleted\":[4]}]]],[\"hb-time-picker.cjs\",[[1,\"hb-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedHour\":[32],\"selectedMinute\":[32],\"selectedSecond\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-time-select.cjs\",[[1,\"hb-time-select\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"start\":[1],\"end\":[1],\"step\":[2],\"minTime\":[1,\"min-time\"],\"maxTime\":[1,\"max-time\"],\"isOpen\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-timeline.cjs\",[[1,\"hb-timeline\",{\"mode\":[1],\"items\":[16]}]]],[\"hb-tooltip.cjs\",[[1,\"hb-tooltip\",{\"content\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"showArrow\":[4,\"show-arrow\"],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-tour.cjs\",[[1,\"hb-tour\",{\"visible\":[1028],\"steps\":[16],\"current\":[1026],\"targetRect\":[32]}]]],[\"hb-transfer.cjs\",[[1,\"hb-transfer\",{\"data\":[16],\"targetKeys\":[1040],\"selectedKeys\":[1040],\"titles\":[16],\"disabled\":[4],\"filterable\":[4],\"leftFilter\":[32],\"rightFilter\":[32]},null,{\"selectedKeys\":[\"handleSelectedKeysChange\"]}]]],[\"hb-tree.cjs\",[[1,\"hb-tree\",{\"data\":[16],\"expandedKeys\":[1040],\"selectedKeys\":[1040],\"checkable\":[4],\"checkedKeys\":[1040],\"defaultExpandAll\":[4,\"default-expand-all\"],\"showLine\":[4,\"show-line\"],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]},null,{\"data\":[\"handleDataChange\"],\"expandedKeys\":[\"handleExpandedKeysChange\"],\"selectedKeys\":[\"handleSelectedKeysChange\"],\"checkedKeys\":[\"handleCheckedKeysChange\"]}]]],[\"hb-tree-select.cjs\",[[1,\"hb-tree-select\",{\"data\":[16],\"modelValue\":[1025,\"model-value\"],\"multiple\":[4],\"placeholder\":[1],\"disabled\":[4],\"checkable\":[4],\"defaultExpandAll\":[4,\"default-expand-all\"],\"isOpen\":[32],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]}]]],[\"hb-upload.cjs\",[[1,\"hb-upload\",{\"action\":[1],\"multiple\":[4],\"accept\":[1],\"disabled\":[4],\"limit\":[2],\"drag\":[4],\"name\":[1],\"headers\":[16],\"data\":[16],\"withCredentials\":[4,\"with-credentials\"],\"beforeUpload\":[16],\"fileList\":[1040],\"isDragover\":[32]}]]],[\"hb-watermark.cjs\",[[1,\"hb-watermark\",{\"content\":[1],\"width\":[2],\"height\":[2],\"gap\":[2],\"rotate\":[2],\"fontColor\":[1,\"font-color\"],\"fontSize\":[2,\"font-size\"]}]]],[\"hb-icon.cjs\",[[1,\"hb-icon\",{\"name\":[1],\"size\":[8],\"color\":[1],\"spin\":[4]}]]]]"), options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -7,11 +7,14 @@
|
|
|
7
7
|
"components/Descriptions/Descriptions.js",
|
|
8
8
|
"components/Dropdown/Dropdown.js",
|
|
9
9
|
"components/ImagePreview/ImagePreview.js",
|
|
10
|
+
"components/Layout/Layout.js",
|
|
10
11
|
"components/Message/Message.js",
|
|
11
12
|
"components/Notification/Notification.js",
|
|
12
13
|
"components/Result/Result.js",
|
|
13
14
|
"components/Segmented/Segmented.js",
|
|
14
15
|
"components/Select/Select.js",
|
|
16
|
+
"components/Slider/Slider.js",
|
|
17
|
+
"components/Steps/Steps.js",
|
|
15
18
|
"components/Table/Table.js",
|
|
16
19
|
"components/Timeline/Timeline.js",
|
|
17
20
|
"components/Tour/Tour.js",
|
|
@@ -55,7 +58,6 @@
|
|
|
55
58
|
"components/Input/Input.js",
|
|
56
59
|
"components/InputNumber/InputNumber.js",
|
|
57
60
|
"components/InputTag/InputTag.js",
|
|
58
|
-
"components/Layout/Layout.js",
|
|
59
61
|
"components/Layout/Row.js",
|
|
60
62
|
"components/Link/Link.js",
|
|
61
63
|
"components/Loading/Loading.js",
|
|
@@ -71,11 +73,9 @@
|
|
|
71
73
|
"components/Rate/Rate.js",
|
|
72
74
|
"components/Scrollbar/Scrollbar.js",
|
|
73
75
|
"components/Skeleton/Skeleton.js",
|
|
74
|
-
"components/Slider/Slider.js",
|
|
75
76
|
"components/Space/Space.js",
|
|
76
77
|
"components/Statistic/Statistic.js",
|
|
77
78
|
"components/Steps/Step.js",
|
|
78
|
-
"components/Steps/Steps.js",
|
|
79
79
|
"components/Switch/Switch.js",
|
|
80
80
|
"components/Tabs/TabPane.js",
|
|
81
81
|
"components/Tabs/Tabs.js",
|
|
@@ -83,7 +83,7 @@ export class Affix {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (h("div", { key: '
|
|
86
|
+
return (h("div", { key: '374ccf4d24df0d0e4ca4dd35b915a34a39669056', class: { 'hb-affix': true, 'hb-affix--fixed': this.affixed }, style: this.affixed ? this.fixedStyle : undefined }, h("slot", { key: '5f7c0c1341c274663846cc6d4264129415c6fffc' })));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "hb-affix"; }
|
|
89
89
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class Avatar {
|
|
|
10
10
|
return typeof this.size === 'number' ? `${this.size}px` : map[this.size];
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("span", { key: '
|
|
13
|
+
return (h("span", { key: '41fda719b0c3d2ca0a562a0b4ff98e3705cac0c0', class: { 'hb-avatar': true, [`hb-avatar--${this.shape}`]: true }, style: { width: this.sizePx, height: this.sizePx, fontSize: `calc(${this.sizePx} * 0.45)` } }, this.src ? h("img", { src: this.src, alt: this.alt }) : this.icon ? h("span", null, this.icon) : h("slot", null)));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "hb-avatar"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -77,12 +77,12 @@ export class Backtop {
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '5406d83477f015dc770e46c3e495a5c036effa61', class: { 'hb-backtop': true, 'hb-backtop--hidden': !this.visible }, style: {
|
|
81
81
|
right: `${this.right}px`,
|
|
82
82
|
bottom: `${this.bottom}px`,
|
|
83
83
|
visibility: this.visible ? 'visible' : 'hidden',
|
|
84
84
|
opacity: this.visible ? '1' : '0',
|
|
85
|
-
} }, h("div", { key: '
|
|
85
|
+
} }, h("div", { key: 'dd75722c174dc48fd77ca0342955745a8e233f98', class: "hb-backtop__inner", onClick: this.scrollToTop }, h("slot", { key: '7dda375453258d76e61720d5689cbe79dd564046' }, h("span", { key: '96bf90719eff982610a4bcd44367c2250ebedfd4', class: "hb-backtop__icon" }, "\u2191")))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "hb-backtop"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class Badge {
|
|
|
14
14
|
return String(this.value);
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: 'f8c6ce8c0c83e0a6332f305c4e1d83e42f0ed8da', class: "hb-badge" }, h("slot", { key: 'c7a52c406aaa545972888f4761b0e8637e5a76f9' }), !this.hidden && (h("sup", { key: '9786f19cb8fc171d7265b0d14624e51d6b72a250', class: { 'hb-badge__content': true, [`hb-badge__content--${this.type}`]: true, 'hb-badge__content--dot': this.isDot } }, this.displayValue))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "hb-badge"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class Breadcrumb {
|
|
|
7
7
|
/** 分隔符 */
|
|
8
8
|
separator = '/';
|
|
9
9
|
render() {
|
|
10
|
-
return (h("nav", { key: '
|
|
10
|
+
return (h("nav", { key: '404e3b9cb740956fa8e3f12ca91efec1d3d0a03b', class: "hb-breadcrumb", "aria-label": "Breadcrumb" }, h("slot", { key: '8fac787347489530954f2edbe79dab5d05ce7ef4' })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "hb-breadcrumb"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class BreadcrumbItem {
|
|
|
11
11
|
// 从父级 hb-breadcrumb 读取分隔符 prop
|
|
12
12
|
// 优先级:item 的 separator slot > breadcrumb.separator > 默认 '/'
|
|
13
13
|
const parentSeparator = this.el.closest('hb-breadcrumb')?.separator;
|
|
14
|
-
return (h("span", { key: '
|
|
14
|
+
return (h("span", { key: '181c8e289f83b6a95445bee02ae0e6405a3ac7c7', class: "hb-breadcrumb-item" }, h(Tag, { key: 'af828de3d06e5a41c52b23b874d0b211a44e4169', class: "hb-breadcrumb-item__inner", href: this.href }, h("slot", { key: '0c4b87ea5809acd5e2b2d53f59011a32fae8d370' })), h("span", { key: '106653462a241dcc2a64556b4a5bae60a548d766', class: "hb-breadcrumb-item__separator" }, h("slot", { key: '905f0e3fffa0a2d7452065f95f33c39c4c3382b8', name: "separator" }, parentSeparator ?? '/'))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "hb-breadcrumb-item"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,14 +15,14 @@ export class Button {
|
|
|
15
15
|
/** 是否加载中 */
|
|
16
16
|
loading = false;
|
|
17
17
|
render() {
|
|
18
|
-
return (h("button", { key: '
|
|
18
|
+
return (h("button", { key: '77ba452cfa960b02e746b2494aa1f471a85d33fd', disabled: this.disabled || this.loading, class: {
|
|
19
19
|
'hb-button': true,
|
|
20
20
|
[`hb-button--${this.type}`]: true,
|
|
21
21
|
[`hb-button--${this.size}`]: true,
|
|
22
22
|
'hb-button--disabled': this.disabled,
|
|
23
23
|
'hb-button--loading': this.loading,
|
|
24
24
|
[this.classNames]: !!this.classNames,
|
|
25
|
-
} }, this.loading && h("span", { key: '
|
|
25
|
+
} }, this.loading && h("span", { key: '152d4a7657ba8399554782c7abd38a6c5b26de17', class: "hb-button__loading-icon" }, "\u23F3"), h("slot", { key: '9381db3ab788d9bfe73c8b29d422642d1a8eacbc' })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "hb-button"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { getCalendarDays, parseDate, addMonths, MONTH_NAMES, WEEK_DAY_NAMES, } from "../../utils/date-helpers";
|
|
2
|
+
import { getCalendarDays, parseDate, addMonths, isSameDay, MONTH_NAMES, WEEK_DAY_NAMES, } from "../../utils/date-helpers";
|
|
3
3
|
/**
|
|
4
4
|
* Calendar 日历组件
|
|
5
5
|
* 月份视图日历,支持选中日期与月份切换
|
|
@@ -24,6 +24,8 @@ export class Calendar {
|
|
|
24
24
|
hbChange;
|
|
25
25
|
viewDate = new Date();
|
|
26
26
|
selectedDate;
|
|
27
|
+
/** 键盘导航的焦点日期(用于 role=gridcell 的 roving tabindex) */
|
|
28
|
+
focusDate = new Date();
|
|
27
29
|
componentDidLoad() {
|
|
28
30
|
this.initFromModelValue();
|
|
29
31
|
}
|
|
@@ -35,6 +37,11 @@ export class Calendar {
|
|
|
35
37
|
this.selectedDate = parsed;
|
|
36
38
|
if (parsed) {
|
|
37
39
|
this.viewDate = new Date(parsed.getFullYear(), parsed.getMonth(), 1);
|
|
40
|
+
this.focusDate = new Date(parsed);
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
// 无选中值时焦点默认到今天
|
|
44
|
+
this.focusDate = new Date();
|
|
38
45
|
}
|
|
39
46
|
}
|
|
40
47
|
handleSelect = (day) => {
|
|
@@ -43,10 +50,70 @@ export class Calendar {
|
|
|
43
50
|
if (this.disabledDate && this.disabledDate(day.date))
|
|
44
51
|
return;
|
|
45
52
|
this.selectedDate = day.date;
|
|
53
|
+
this.focusDate = new Date(day.date);
|
|
46
54
|
const iso = this.toISODate(day.date);
|
|
47
55
|
this.modelValue = iso;
|
|
48
56
|
this.hbChange.emit(iso);
|
|
49
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* 日期网格键盘导航(对齐 WAI-ARIA grid / antd Calendar):
|
|
60
|
+
* - ArrowRight/Left:±1 天
|
|
61
|
+
* - ArrowDown/Up:±7 天
|
|
62
|
+
* - Home/End:当周首/末日
|
|
63
|
+
* - PageDown/Up:±1 月
|
|
64
|
+
* - Enter:选中焦点日
|
|
65
|
+
* 焦点日跨月时同步滚动 viewDate。
|
|
66
|
+
*/
|
|
67
|
+
handleGridKeydown = (e) => {
|
|
68
|
+
const next = new Date(this.focusDate);
|
|
69
|
+
let monthDelta = 0;
|
|
70
|
+
switch (e.key) {
|
|
71
|
+
case 'ArrowRight':
|
|
72
|
+
next.setDate(next.getDate() + 1);
|
|
73
|
+
break;
|
|
74
|
+
case 'ArrowLeft':
|
|
75
|
+
next.setDate(next.getDate() - 1);
|
|
76
|
+
break;
|
|
77
|
+
case 'ArrowDown':
|
|
78
|
+
next.setDate(next.getDate() + 7);
|
|
79
|
+
break;
|
|
80
|
+
case 'ArrowUp':
|
|
81
|
+
next.setDate(next.getDate() - 7);
|
|
82
|
+
break;
|
|
83
|
+
case 'Home': {
|
|
84
|
+
const d = next.getDay();
|
|
85
|
+
next.setDate(next.getDate() - d);
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
case 'End': {
|
|
89
|
+
const d = 6 - next.getDay();
|
|
90
|
+
next.setDate(next.getDate() + d);
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
case 'PageDown':
|
|
94
|
+
next.setMonth(next.getMonth() + 1);
|
|
95
|
+
monthDelta = 1;
|
|
96
|
+
break;
|
|
97
|
+
case 'PageUp':
|
|
98
|
+
next.setMonth(next.getMonth() - 1);
|
|
99
|
+
monthDelta = -1;
|
|
100
|
+
break;
|
|
101
|
+
case 'Enter':
|
|
102
|
+
e.preventDefault();
|
|
103
|
+
this.handleSelect({ date: this.focusDate, isCurrentMonth: true });
|
|
104
|
+
return;
|
|
105
|
+
default:
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
e.preventDefault();
|
|
109
|
+
// 焦点跨月:viewDate 跟随(PageUp/Down 或方向键滑出)
|
|
110
|
+
if (next.getMonth() !== this.viewDate.getMonth() || next.getFullYear() !== this.viewDate.getFullYear()) {
|
|
111
|
+
this.viewDate = new Date(next.getFullYear(), next.getMonth(), 1);
|
|
112
|
+
}
|
|
113
|
+
if (monthDelta)
|
|
114
|
+
void monthDelta;
|
|
115
|
+
this.focusDate = next;
|
|
116
|
+
};
|
|
50
117
|
toISODate(date) {
|
|
51
118
|
const y = date.getFullYear();
|
|
52
119
|
const m = String(date.getMonth() + 1).padStart(2, '0');
|
|
@@ -56,20 +123,26 @@ export class Calendar {
|
|
|
56
123
|
changeMonth(delta) {
|
|
57
124
|
this.viewDate = addMonths(this.viewDate, delta);
|
|
58
125
|
}
|
|
59
|
-
/** 按 firstDayOfWeek
|
|
126
|
+
/** 按 firstDayOfWeek 重排星期标题;getCalendarDays 也按同一 firstDayOfWeek 对齐网格 */
|
|
60
127
|
get orderedWeekNames() {
|
|
61
128
|
const offset = ((this.firstDayOfWeek % 7) + 7) % 7;
|
|
62
129
|
return [...WEEK_DAY_NAMES.slice(offset), ...WEEK_DAY_NAMES.slice(0, offset)];
|
|
63
130
|
}
|
|
64
131
|
render() {
|
|
65
|
-
const days = getCalendarDays(this.viewDate, this.selectedDate);
|
|
132
|
+
const days = getCalendarDays(this.viewDate, this.selectedDate, new Date(), this.firstDayOfWeek);
|
|
66
133
|
const current = this.viewDate;
|
|
67
|
-
return (h("div", { key: '
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
134
|
+
return (h("div", { key: '9c18ef6f549973316bcfe0343290e442f72dfdb8', class: "hb-calendar" }, h("div", { key: 'ab177ab7cd14aec0c52a3806ed098e7abc245283', class: "hb-calendar__header" }, h("button", { key: '5e7c773130c63479f806c33a085e5a82ba5c2fe7', type: "button", class: "hb-calendar__prev-btn", onClick: () => this.changeMonth(-1), "aria-label": "\u4E0A\u4E00\u6708" }, "\u2039"), h("span", { key: 'bfcd78f5119f461878e7a8c8fbfc260e97b58458', class: "hb-calendar__header-label", "aria-live": "polite" }, current.getFullYear(), "\u5E74 ", MONTH_NAMES[current.getMonth()]), h("button", { key: '4eb5cf7d57c0288f895b35b889bd5016b8c78075', type: "button", class: "hb-calendar__next-btn", onClick: () => this.changeMonth(1), "aria-label": "\u4E0B\u4E00\u6708" }, "\u203A")), h("div", { key: '2b643cc4f0a121c349018e502745212adae5dfe9', class: "hb-calendar__body", role: "grid", "aria-label": `${current.getFullYear()}年${current.getMonth() + 1}月日历` }, h("div", { key: '546e2f58e40732ee2cc270152d4e69bb044fdef6', class: "hb-calendar__weekdays", role: "row" }, this.orderedWeekNames.map((day) => (h("div", { class: "hb-calendar__weekday", role: "columnheader", "aria-disabled": "true" }, day)))), h("div", { key: '36178be8edbf59348396b7355066f45aa1adcc81', class: "hb-calendar__days", role: "row", onKeyDown: this.handleGridKeydown }, days.map((day, index) => {
|
|
135
|
+
const isFocused = isSameDay(day.date, this.focusDate);
|
|
136
|
+
const dayDisabled = day.isCurrentMonth && !!this.disabledDate && this.disabledDate(day.date);
|
|
137
|
+
return (h("div", { key: index, class: {
|
|
138
|
+
'hb-calendar__day': true,
|
|
139
|
+
'hb-calendar__day--other-month': !day.isCurrentMonth,
|
|
140
|
+
'hb-calendar__day--today': day.isToday,
|
|
141
|
+
'hb-calendar__day--selected': day.isSelected,
|
|
142
|
+
'hb-calendar__day--focused': isFocused,
|
|
143
|
+
'hb-calendar__day--disabled': dayDisabled,
|
|
144
|
+
}, role: "gridcell", tabindex: isFocused ? 0 : -1, "aria-selected": day.isSelected ? 'true' : 'false', "aria-current": day.isToday ? 'date' : undefined, "aria-disabled": !day.isCurrentMonth || dayDisabled ? 'true' : undefined, "aria-label": this.toISODate(day.date), onClick: () => this.handleSelect(day) }, day.date.getDate()));
|
|
145
|
+
})))));
|
|
73
146
|
}
|
|
74
147
|
static get is() { return "hb-calendar"; }
|
|
75
148
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,7 +227,8 @@ export class Calendar {
|
|
|
154
227
|
static get states() {
|
|
155
228
|
return {
|
|
156
229
|
"viewDate": {},
|
|
157
|
-
"selectedDate": {}
|
|
230
|
+
"selectedDate": {},
|
|
231
|
+
"focusDate": {}
|
|
158
232
|
};
|
|
159
233
|
}
|
|
160
234
|
static get events() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, h, Prop, Event, EventEmitter, State, Watch } from '@stencil/core';\nimport {\n getCalendarDays,\n parseDate,\n addMonths,\n MONTH_NAMES,\n WEEK_DAY_NAMES,\n} from '../../utils/date-helpers';\n\n/**\n * Calendar 日历组件\n * 月份视图日历,支持选中日期与月份切换\n */\n@Component({\n tag: 'hb-calendar',\n styleUrl: 'calendar.css',\n shadow: true,\n})\nexport class Calendar {\n /**\n * 绑定值(ISO 日期字符串)\n */\n @Prop({ mutable: true }) modelValue?: string;\n\n /**\n * 每周第一天(0=周日,1=周一 …)\n * @default 0\n */\n @Prop() firstDayOfWeek: number = 0;\n\n /**\n * 禁用日期判定(声明预留,暂不强求实现)\n */\n @Prop() disabledDate?: (date: Date) => boolean;\n\n /**\n * 值改变事件,detail 为 ISO 日期字符串\n */\n @Event() hbChange: EventEmitter<string>;\n\n @State() viewDate: Date = new Date();\n @State() selectedDate?: Date;\n\n componentDidLoad() {\n this.initFromModelValue();\n }\n\n @Watch('modelValue')\n handleModelValueChange() {\n this.initFromModelValue();\n }\n\n private initFromModelValue() {\n const parsed = parseDate(this.modelValue);\n this.selectedDate = parsed;\n if (parsed) {\n this.viewDate = new Date(parsed.getFullYear(), parsed.getMonth(), 1);\n }\n }\n\n private handleSelect = (day: { date: Date; isCurrentMonth: boolean }) => {\n if (!day.isCurrentMonth) return;\n if (this.disabledDate && this.disabledDate(day.date)) return;\n this.selectedDate = day.date;\n const iso = this.toISODate(day.date);\n this.modelValue = iso;\n this.hbChange.emit(iso);\n };\n\n private toISODate(date: Date): string {\n const y = date.getFullYear();\n const m = String(date.getMonth() + 1).padStart(2, '0');\n const d = String(date.getDate()).padStart(2, '0');\n return `${y}-${m}-${d}`;\n }\n\n private changeMonth(delta: number) {\n this.viewDate = addMonths(this.viewDate, delta);\n }\n\n /** 按 firstDayOfWeek 重排星期标题(getCalendarDays 网格恒以周日为首列) */\n private get orderedWeekNames(): string[] {\n const offset = ((this.firstDayOfWeek % 7) + 7) % 7;\n return [...WEEK_DAY_NAMES.slice(offset), ...WEEK_DAY_NAMES.slice(0, offset)];\n }\n\n render() {\n const days = getCalendarDays(this.viewDate, this.selectedDate);\n const current = this.viewDate;\n\n return (\n <div class=\"hb-calendar\">\n <div class=\"hb-calendar__header\">\n <button\n type=\"button\"\n class=\"hb-calendar__prev-btn\"\n onClick={() => this.changeMonth(-1)}\n aria-label=\"上一月\"\n >\n ‹\n </button>\n <span class=\"hb-calendar__header-label\">\n {current.getFullYear()}年 {MONTH_NAMES[current.getMonth()]}\n </span>\n <button\n type=\"button\"\n class=\"hb-calendar__next-btn\"\n onClick={() => this.changeMonth(1)}\n aria-label=\"下一月\"\n >\n ›\n </button>\n </div>\n <div class=\"hb-calendar__body\">\n <div class=\"hb-calendar__weekdays\">\n {this.orderedWeekNames.map((day) => (\n <div class=\"hb-calendar__weekday\">{day}</div>\n ))}\n </div>\n <div class=\"hb-calendar__days\">\n {days.map((day, index) => (\n <div\n key={index}\n class={{\n 'hb-calendar__day': true,\n 'hb-calendar__day--other-month': !day.isCurrentMonth,\n 'hb-calendar__day--today': day.isToday,\n 'hb-calendar__day--selected': day.isSelected,\n }}\n onClick={() => this.handleSelect(day)}\n >\n {day.date.getDate()}\n </div>\n ))}\n </div>\n </div>\n </div>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, h, Prop, Event, EventEmitter, State, Watch } from '@stencil/core';\nimport {\n getCalendarDays,\n parseDate,\n addMonths,\n isSameDay,\n MONTH_NAMES,\n WEEK_DAY_NAMES,\n} from '../../utils/date-helpers';\n\n/**\n * Calendar 日历组件\n * 月份视图日历,支持选中日期与月份切换\n */\n@Component({\n tag: 'hb-calendar',\n styleUrl: 'calendar.css',\n shadow: true,\n})\nexport class Calendar {\n /**\n * 绑定值(ISO 日期字符串)\n */\n @Prop({ mutable: true }) modelValue?: string;\n\n /**\n * 每周第一天(0=周日,1=周一 …)\n * @default 0\n */\n @Prop() firstDayOfWeek: number = 0;\n\n /**\n * 禁用日期判定(声明预留,暂不强求实现)\n */\n @Prop() disabledDate?: (date: Date) => boolean;\n\n /**\n * 值改变事件,detail 为 ISO 日期字符串\n */\n @Event() hbChange: EventEmitter<string>;\n\n @State() viewDate: Date = new Date();\n @State() selectedDate?: Date;\n /** 键盘导航的焦点日期(用于 role=gridcell 的 roving tabindex) */\n @State() focusDate: Date = new Date();\n\n componentDidLoad() {\n this.initFromModelValue();\n }\n\n @Watch('modelValue')\n handleModelValueChange() {\n this.initFromModelValue();\n }\n\n private initFromModelValue() {\n const parsed = parseDate(this.modelValue);\n this.selectedDate = parsed;\n if (parsed) {\n this.viewDate = new Date(parsed.getFullYear(), parsed.getMonth(), 1);\n this.focusDate = new Date(parsed);\n } else {\n // 无选中值时焦点默认到今天\n this.focusDate = new Date();\n }\n }\n\n private handleSelect = (day: { date: Date; isCurrentMonth: boolean }) => {\n if (!day.isCurrentMonth) return;\n if (this.disabledDate && this.disabledDate(day.date)) return;\n this.selectedDate = day.date;\n this.focusDate = new Date(day.date);\n const iso = this.toISODate(day.date);\n this.modelValue = iso;\n this.hbChange.emit(iso);\n };\n\n /**\n * 日期网格键盘导航(对齐 WAI-ARIA grid / antd Calendar):\n * - ArrowRight/Left:±1 天\n * - ArrowDown/Up:±7 天\n * - Home/End:当周首/末日\n * - PageDown/Up:±1 月\n * - Enter:选中焦点日\n * 焦点日跨月时同步滚动 viewDate。\n */\n private handleGridKeydown = (e: KeyboardEvent) => {\n const next = new Date(this.focusDate);\n let monthDelta = 0;\n switch (e.key) {\n case 'ArrowRight': next.setDate(next.getDate() + 1); break;\n case 'ArrowLeft': next.setDate(next.getDate() - 1); break;\n case 'ArrowDown': next.setDate(next.getDate() + 7); break;\n case 'ArrowUp': next.setDate(next.getDate() - 7); break;\n case 'Home': { const d = next.getDay(); next.setDate(next.getDate() - d); break; }\n case 'End': { const d = 6 - next.getDay(); next.setDate(next.getDate() + d); break; }\n case 'PageDown': next.setMonth(next.getMonth() + 1); monthDelta = 1; break;\n case 'PageUp': next.setMonth(next.getMonth() - 1); monthDelta = -1; break;\n case 'Enter':\n e.preventDefault();\n this.handleSelect({ date: this.focusDate, isCurrentMonth: true });\n return;\n default:\n return;\n }\n e.preventDefault();\n // 焦点跨月:viewDate 跟随(PageUp/Down 或方向键滑出)\n if (next.getMonth() !== this.viewDate.getMonth() || next.getFullYear() !== this.viewDate.getFullYear()) {\n this.viewDate = new Date(next.getFullYear(), next.getMonth(), 1);\n }\n if (monthDelta) void monthDelta;\n this.focusDate = next;\n };\n\n private toISODate(date: Date): string {\n const y = date.getFullYear();\n const m = String(date.getMonth() + 1).padStart(2, '0');\n const d = String(date.getDate()).padStart(2, '0');\n return `${y}-${m}-${d}`;\n }\n\n private changeMonth(delta: number) {\n this.viewDate = addMonths(this.viewDate, delta);\n }\n\n /** 按 firstDayOfWeek 重排星期标题;getCalendarDays 也按同一 firstDayOfWeek 对齐网格 */\n private get orderedWeekNames(): string[] {\n const offset = ((this.firstDayOfWeek % 7) + 7) % 7;\n return [...WEEK_DAY_NAMES.slice(offset), ...WEEK_DAY_NAMES.slice(0, offset)];\n }\n\n render() {\n const days = getCalendarDays(this.viewDate, this.selectedDate, new Date(), this.firstDayOfWeek);\n const current = this.viewDate;\n\n return (\n <div class=\"hb-calendar\">\n <div class=\"hb-calendar__header\">\n <button\n type=\"button\"\n class=\"hb-calendar__prev-btn\"\n onClick={() => this.changeMonth(-1)}\n aria-label=\"上一月\"\n >\n ‹\n </button>\n <span class=\"hb-calendar__header-label\" aria-live=\"polite\">\n {current.getFullYear()}年 {MONTH_NAMES[current.getMonth()]}\n </span>\n <button\n type=\"button\"\n class=\"hb-calendar__next-btn\"\n onClick={() => this.changeMonth(1)}\n aria-label=\"下一月\"\n >\n ›\n </button>\n </div>\n <div class=\"hb-calendar__body\" role=\"grid\" aria-label={`${current.getFullYear()}年${current.getMonth() + 1}月日历`}>\n <div class=\"hb-calendar__weekdays\" role=\"row\">\n {this.orderedWeekNames.map((day) => (\n <div class=\"hb-calendar__weekday\" role=\"columnheader\" aria-disabled=\"true\">{day}</div>\n ))}\n </div>\n <div class=\"hb-calendar__days\" role=\"row\" onKeyDown={this.handleGridKeydown}>\n {days.map((day, index) => {\n const isFocused = isSameDay(day.date, this.focusDate);\n const dayDisabled = day.isCurrentMonth && !!this.disabledDate && this.disabledDate(day.date);\n return (\n <div\n key={index}\n class={{\n 'hb-calendar__day': true,\n 'hb-calendar__day--other-month': !day.isCurrentMonth,\n 'hb-calendar__day--today': day.isToday,\n 'hb-calendar__day--selected': day.isSelected,\n 'hb-calendar__day--focused': isFocused,\n 'hb-calendar__day--disabled': dayDisabled,\n }}\n role=\"gridcell\"\n tabindex={isFocused ? 0 : -1}\n aria-selected={day.isSelected ? 'true' : 'false'}\n aria-current={day.isToday ? 'date' : undefined}\n aria-disabled={!day.isCurrentMonth || dayDisabled ? 'true' : undefined}\n aria-label={this.toISODate(day.date)}\n onClick={() => this.handleSelect(day)}\n >\n {day.date.getDate()}\n </div>\n );\n })}\n </div>\n </div>\n </div>\n );\n }\n}\n"]}
|