huibo-ui 0.4.0 → 0.5.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/{a11y-802de67a.js → a11y-4385c871.js} +17 -2
- package/dist/cjs/a11y-4385c871.js.map +1 -0
- package/dist/cjs/{date-helpers-1ffddc59.js → date-helpers-c05ef385.js} +5 -16
- package/dist/cjs/date-helpers-c05ef385.js.map +1 -0
- package/dist/cjs/hb-alert.cjs.entry.js +2 -1
- package/dist/cjs/hb-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-calendar.cjs.entry.js +2 -2
- package/dist/cjs/hb-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-cascader.cjs.entry.js +48 -12
- package/dist/cjs/hb-cascader.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-checkbox-group.cjs.entry.js +12 -8
- package/dist/cjs/hb-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-checkbox.cjs.entry.js +9 -4
- package/dist/cjs/hb-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-collapse-item.cjs.entry.js +13 -4
- package/dist/cjs/hb-collapse-item.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-collapse.cjs.entry.js +20 -15
- package/dist/cjs/hb-collapse.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-color-picker.cjs.entry.js +22 -19
- package/dist/cjs/hb-color-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-date-picker-pane.cjs.entry.js +1 -1
- package/dist/cjs/hb-date-picker.cjs.entry.js +13 -10
- package/dist/cjs/hb-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-date-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/hb-date-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/hb-descriptions.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-dialog.cjs.entry.js +51 -12
- package/dist/cjs/hb-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-drawer.cjs.entry.js +34 -4
- package/dist/cjs/hb-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-dropdown.cjs.entry.js +27 -15
- 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-form-item.cjs.entry.js +11 -10
- package/dist/cjs/hb-form-item.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-form.cjs.entry.js +12 -7
- package/dist/cjs/hb-form.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-image-preview.cjs.entry.js +1 -1
- package/dist/cjs/hb-image-preview.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-image.cjs.entry.js +21 -3
- package/dist/cjs/hb-image.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-input-number.cjs.entry.js +7 -7
- package/dist/cjs/hb-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-input-tag.cjs.entry.js +2 -2
- package/dist/cjs/hb-input.cjs.entry.js +3 -2
- package/dist/cjs/hb-input.cjs.entry.js.map +1 -1
- 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-menu-item.cjs.entry.js +14 -5
- package/dist/cjs/hb-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-menu.cjs.entry.js +2 -2
- package/dist/cjs/hb-message.cjs.entry.js +13 -4
- package/dist/cjs/hb-message.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-page-header.cjs.entry.js +1 -1
- package/dist/cjs/hb-pagination.cjs.entry.js +8 -5
- package/dist/cjs/hb-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-popconfirm.cjs.entry.js +27 -8
- package/dist/cjs/hb-popconfirm.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-popover.cjs.entry.js +26 -14
- 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 +8 -3
- package/dist/cjs/hb-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-rate.cjs.entry.js +3 -3
- package/dist/cjs/hb-rate.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-row.cjs.entry.js +2 -2
- package/dist/cjs/hb-scrollbar.cjs.entry.js +5 -5
- package/dist/cjs/hb-scrollbar.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-segmented.cjs.entry.js +13 -2
- package/dist/cjs/hb-segmented.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-select.cjs.entry.js +21 -12
- package/dist/cjs/hb-select.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-slider.cjs.entry.js +6 -12
- 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 +2 -2
- package/dist/cjs/hb-steps.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-sub-menu.cjs.entry.js +5 -5
- package/dist/cjs/hb-switch.cjs.entry.js +3 -3
- 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 +25 -16
- package/dist/cjs/hb-table.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-tabs.cjs.entry.js +31 -10
- package/dist/cjs/hb-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-tag.cjs.entry.js +3 -2
- package/dist/cjs/hb-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-text.cjs.entry.js +2 -2
- package/dist/cjs/hb-time-picker.cjs.entry.js +14 -9
- package/dist/cjs/hb-time-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-time-select.cjs.entry.js +13 -4
- package/dist/cjs/hb-time-select.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-tooltip.cjs.entry.js +30 -10
- package/dist/cjs/hb-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-tree-select.cjs.entry.js +125 -10
- package/dist/cjs/hb-tree-select.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-tree.cjs.entry.js +145 -12
- package/dist/cjs/hb-tree.cjs.entry.js.map +1 -1
- package/dist/cjs/hb-watermark.cjs.entry.js +19 -11
- package/dist/cjs/hb-watermark.cjs.entry.js.map +1 -1
- package/dist/cjs/huibo-ui.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/transition-59f1da0f.js +34 -0
- package/dist/cjs/transition-59f1da0f.js.map +1 -0
- package/dist/collection/components/Alert/Alert.js +2 -1
- package/dist/collection/components/Alert/Alert.js.map +1 -1
- package/dist/collection/components/Calendar/Calendar.js +2 -2
- package/dist/collection/components/Calendar/Calendar.js.map +1 -1
- package/dist/collection/components/Cascader/Cascader.js +47 -11
- package/dist/collection/components/Cascader/Cascader.js.map +1 -1
- package/dist/collection/components/Checkbox/Checkbox.js +9 -4
- package/dist/collection/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/collection/components/Checkbox/CheckboxGroup.js +12 -8
- package/dist/collection/components/Checkbox/CheckboxGroup.js.map +1 -1
- package/dist/collection/components/Collapse/Collapse.js +20 -15
- package/dist/collection/components/Collapse/Collapse.js.map +1 -1
- package/dist/collection/components/Collapse/CollapseItem.js +33 -4
- package/dist/collection/components/Collapse/CollapseItem.js.map +1 -1
- package/dist/collection/components/ColorPicker/ColorPicker.js +22 -19
- package/dist/collection/components/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/collection/components/ColorPicker/color-picker.css +8 -3
- package/dist/collection/components/DatePicker/DatePicker.js +12 -9
- package/dist/collection/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/collection/components/DatePicker/date-picker.css +3 -2
- package/dist/collection/components/Descriptions/descriptions.css +30 -10
- package/dist/collection/components/Dialog/Dialog.js +54 -10
- package/dist/collection/components/Dialog/Dialog.js.map +1 -1
- package/dist/collection/components/Dialog/dialog.css +57 -11
- package/dist/collection/components/Drawer/Drawer.js +34 -3
- package/dist/collection/components/Drawer/Drawer.js.map +1 -1
- package/dist/collection/components/Drawer/drawer.css +207 -17
- package/dist/collection/components/Dropdown/Dropdown.js +28 -13
- package/dist/collection/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/collection/components/Dropdown/dropdown.css +24 -2
- 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 +14 -9
- package/dist/collection/components/Form/Form.js.map +1 -1
- package/dist/collection/components/Form/FormItem.js +13 -12
- package/dist/collection/components/Form/FormItem.js.map +1 -1
- package/dist/collection/components/Form/form-item.css +8 -2
- package/dist/collection/components/Image/Image.js +24 -3
- package/dist/collection/components/Image/Image.js.map +1 -1
- package/dist/collection/components/ImagePreview/ImagePreview.js +1 -1
- package/dist/collection/components/ImagePreview/ImagePreview.js.map +1 -1
- package/dist/collection/components/Input/Input.js +3 -2
- package/dist/collection/components/Input/Input.js.map +1 -1
- package/dist/collection/components/Input/input.css +1 -2
- package/dist/collection/components/InputNumber/InputNumber.js +6 -6
- package/dist/collection/components/InputNumber/InputNumber.js.map +1 -1
- package/dist/collection/components/InputNumber/input-number.css +11 -1
- package/dist/collection/components/InputTag/InputTag.js +2 -2
- 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 +1713 -576
- 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 +34 -5
- package/dist/collection/components/Menu/MenuItem.js.map +1 -1
- package/dist/collection/components/Menu/SubMenu.js +4 -4
- package/dist/collection/components/Message/Message.js +13 -4
- package/dist/collection/components/Message/Message.js.map +1 -1
- package/dist/collection/components/PageHeader/PageHeader.js +1 -1
- package/dist/collection/components/Pagination/Pagination.js +8 -5
- package/dist/collection/components/Pagination/Pagination.js.map +1 -1
- package/dist/collection/components/Popconfirm/Popconfirm.js +28 -6
- package/dist/collection/components/Popconfirm/Popconfirm.js.map +1 -1
- package/dist/collection/components/Popconfirm/popconfirm.css +80 -16
- package/dist/collection/components/Popover/Popover.js +27 -12
- package/dist/collection/components/Popover/Popover.js.map +1 -1
- package/dist/collection/components/Popover/popover.css +49 -8
- package/dist/collection/components/Progress/Progress.js +1 -1
- package/dist/collection/components/Radio/Radio.js +8 -3
- package/dist/collection/components/Radio/Radio.js.map +1 -1
- package/dist/collection/components/Rate/Rate.js +3 -3
- package/dist/collection/components/Rate/Rate.js.map +1 -1
- package/dist/collection/components/Scrollbar/Scrollbar.js +5 -5
- package/dist/collection/components/Scrollbar/Scrollbar.js.map +1 -1
- package/dist/collection/components/Segmented/Segmented.js +15 -1
- package/dist/collection/components/Segmented/Segmented.js.map +1 -1
- package/dist/collection/components/Select/Select.js +21 -12
- package/dist/collection/components/Select/Select.js.map +1 -1
- package/dist/collection/components/Select/select.css +0 -1
- package/dist/collection/components/Slider/Slider.js +6 -12
- package/dist/collection/components/Slider/Slider.js.map +1 -1
- package/dist/collection/components/Slider/slider.css +0 -1
- 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 +2 -2
- package/dist/collection/components/Steps/Steps.js.map +1 -1
- package/dist/collection/components/Switch/Switch.js +3 -3
- package/dist/collection/components/Switch/Switch.js.map +1 -1
- package/dist/collection/components/Switch/switch.css +3 -2
- package/dist/collection/components/Table/Table.js +25 -16
- package/dist/collection/components/Table/Table.js.map +1 -1
- package/dist/collection/components/Table/table.css +6 -2
- package/dist/collection/components/Tabs/TabPane.js +1 -1
- package/dist/collection/components/Tabs/Tabs.js +31 -10
- package/dist/collection/components/Tabs/Tabs.js.map +1 -1
- package/dist/collection/components/Tag/Tag.js +3 -2
- package/dist/collection/components/Tag/Tag.js.map +1 -1
- package/dist/collection/components/Text/Text.js +2 -2
- package/dist/collection/components/TimePicker/TimePicker.js +14 -9
- package/dist/collection/components/TimePicker/TimePicker.js.map +1 -1
- package/dist/collection/components/TimeSelect/TimeSelect.js +13 -4
- package/dist/collection/components/TimeSelect/TimeSelect.js.map +1 -1
- package/dist/collection/components/Tooltip/Tooltip.js +31 -8
- package/dist/collection/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/collection/components/Tooltip/tooltip.css +24 -2
- package/dist/collection/components/Tree/Tree.js +147 -13
- package/dist/collection/components/Tree/Tree.js.map +1 -1
- package/dist/collection/components/TreeSelect/TreeSelect.js +130 -11
- package/dist/collection/components/TreeSelect/TreeSelect.js.map +1 -1
- package/dist/collection/components/Watermark/Watermark.js +19 -11
- package/dist/collection/components/Watermark/Watermark.js.map +1 -1
- package/dist/collection/utils/a11y.js +15 -1
- package/dist/collection/utils/a11y.js.map +1 -1
- package/dist/collection/utils/date-helpers.js +4 -15
- package/dist/collection/utils/date-helpers.js.map +1 -1
- package/dist/collection/utils/transition.js +29 -0
- package/dist/collection/utils/transition.js.map +1 -0
- package/dist/components/hb-alert.js +2 -1
- package/dist/components/hb-alert.js.map +1 -1
- package/dist/components/hb-calendar.js +2 -2
- package/dist/components/hb-calendar.js.map +1 -1
- package/dist/components/hb-cascader.js +48 -12
- package/dist/components/hb-cascader.js.map +1 -1
- package/dist/components/hb-checkbox-group.js +12 -8
- package/dist/components/hb-checkbox-group.js.map +1 -1
- package/dist/components/hb-checkbox.js +9 -4
- package/dist/components/hb-checkbox.js.map +1 -1
- package/dist/components/hb-collapse-item.js +14 -4
- package/dist/components/hb-collapse-item.js.map +1 -1
- package/dist/components/hb-collapse.js +20 -15
- package/dist/components/hb-collapse.js.map +1 -1
- package/dist/components/hb-color-picker.js +22 -19
- package/dist/components/hb-color-picker.js.map +1 -1
- package/dist/components/hb-date-picker-pane.js +1 -1
- package/dist/components/hb-date-picker.js +13 -10
- package/dist/components/hb-date-picker.js.map +1 -1
- package/dist/components/hb-date-range-picker.js +1 -1
- package/dist/components/hb-date-time-picker.js +1 -1
- package/dist/components/hb-descriptions.js.map +1 -1
- package/dist/components/hb-dialog.js +53 -13
- package/dist/components/hb-dialog.js.map +1 -1
- package/dist/components/hb-drawer.js +36 -5
- package/dist/components/hb-drawer.js.map +1 -1
- package/dist/components/hb-dropdown.js +28 -15
- 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-form-item.js +11 -10
- package/dist/components/hb-form-item.js.map +1 -1
- package/dist/components/hb-form.js +12 -7
- package/dist/components/hb-form.js.map +1 -1
- package/dist/components/hb-image-preview.js +1 -1
- package/dist/components/hb-image-preview.js.map +1 -1
- package/dist/components/hb-image.js +23 -3
- package/dist/components/hb-image.js.map +1 -1
- package/dist/components/hb-input-number.js +7 -7
- package/dist/components/hb-input-number.js.map +1 -1
- package/dist/components/hb-input-tag.js +2 -2
- package/dist/components/hb-input.js +3 -2
- package/dist/components/hb-input.js.map +1 -1
- 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-menu-item.js +15 -5
- package/dist/components/hb-menu-item.js.map +1 -1
- package/dist/components/hb-menu.js +2 -2
- package/dist/components/hb-message.js +13 -4
- package/dist/components/hb-message.js.map +1 -1
- package/dist/components/hb-page-header.js +1 -1
- package/dist/components/hb-pagination.js +8 -5
- package/dist/components/hb-pagination.js.map +1 -1
- package/dist/components/hb-popconfirm.js +28 -8
- package/dist/components/hb-popconfirm.js.map +1 -1
- package/dist/components/hb-popover.js +27 -14
- package/dist/components/hb-popover.js.map +1 -1
- package/dist/components/hb-progress.js +1 -1
- package/dist/components/hb-radio.js +8 -3
- package/dist/components/hb-radio.js.map +1 -1
- package/dist/components/hb-rate.js +3 -3
- package/dist/components/hb-rate.js.map +1 -1
- package/dist/components/hb-row.js +2 -2
- package/dist/components/hb-scrollbar.js +5 -5
- package/dist/components/hb-scrollbar.js.map +1 -1
- package/dist/components/hb-segmented.js +15 -2
- package/dist/components/hb-segmented.js.map +1 -1
- package/dist/components/hb-select.js +21 -12
- package/dist/components/hb-select.js.map +1 -1
- package/dist/components/hb-slider.js +6 -12
- 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 +2 -2
- package/dist/components/hb-steps.js.map +1 -1
- package/dist/components/hb-sub-menu.js +5 -5
- package/dist/components/hb-switch.js +3 -3
- package/dist/components/hb-switch.js.map +1 -1
- package/dist/components/hb-tab-pane.js +1 -1
- package/dist/components/hb-table.js +25 -16
- package/dist/components/hb-table.js.map +1 -1
- package/dist/components/hb-tabs.js +31 -10
- package/dist/components/hb-tabs.js.map +1 -1
- package/dist/components/hb-tag.js +3 -2
- package/dist/components/hb-tag.js.map +1 -1
- package/dist/components/hb-text.js +2 -2
- package/dist/components/hb-time-picker.js +14 -9
- package/dist/components/hb-time-picker.js.map +1 -1
- package/dist/components/hb-time-select.js +13 -4
- package/dist/components/hb-time-select.js.map +1 -1
- package/dist/components/hb-tooltip.js +31 -10
- package/dist/components/hb-tooltip.js.map +1 -1
- package/dist/components/hb-tree-select.js +129 -11
- package/dist/components/hb-tree-select.js.map +1 -1
- package/dist/components/hb-tree.js +147 -13
- package/dist/components/hb-tree.js.map +1 -1
- package/dist/components/hb-watermark.js +19 -11
- package/dist/components/hb-watermark.js.map +1 -1
- package/dist/{esm/a11y-f9ab2964.js → components/p-00aa34c8.js} +17 -3
- package/dist/components/p-00aa34c8.js.map +1 -0
- package/dist/components/{p-08b4005c.js → p-e0876aca.js} +5 -16
- package/dist/components/p-e0876aca.js.map +1 -0
- package/dist/components/p-fad66d69.js +32 -0
- package/dist/components/p-fad66d69.js.map +1 -0
- package/dist/{components/p-cc0aeb50.js → esm/a11y-e4cde5b0.js} +17 -3
- package/dist/esm/a11y-e4cde5b0.js.map +1 -0
- package/dist/esm/{date-helpers-44507189.js → date-helpers-259ed2f1.js} +5 -16
- package/dist/esm/date-helpers-259ed2f1.js.map +1 -0
- package/dist/esm/hb-alert.entry.js +2 -1
- package/dist/esm/hb-alert.entry.js.map +1 -1
- package/dist/esm/hb-calendar.entry.js +2 -2
- package/dist/esm/hb-calendar.entry.js.map +1 -1
- package/dist/esm/hb-cascader.entry.js +48 -12
- package/dist/esm/hb-cascader.entry.js.map +1 -1
- package/dist/esm/hb-checkbox-group.entry.js +12 -8
- package/dist/esm/hb-checkbox-group.entry.js.map +1 -1
- package/dist/esm/hb-checkbox.entry.js +9 -4
- package/dist/esm/hb-checkbox.entry.js.map +1 -1
- package/dist/esm/hb-collapse-item.entry.js +13 -4
- package/dist/esm/hb-collapse-item.entry.js.map +1 -1
- package/dist/esm/hb-collapse.entry.js +20 -15
- package/dist/esm/hb-collapse.entry.js.map +1 -1
- package/dist/esm/hb-color-picker.entry.js +22 -19
- package/dist/esm/hb-color-picker.entry.js.map +1 -1
- package/dist/esm/hb-date-picker-pane.entry.js +1 -1
- package/dist/esm/hb-date-picker.entry.js +13 -10
- package/dist/esm/hb-date-picker.entry.js.map +1 -1
- package/dist/esm/hb-date-range-picker.entry.js +1 -1
- package/dist/esm/hb-date-time-picker.entry.js +1 -1
- package/dist/esm/hb-descriptions.entry.js.map +1 -1
- package/dist/esm/hb-dialog.entry.js +51 -12
- package/dist/esm/hb-dialog.entry.js.map +1 -1
- package/dist/esm/hb-drawer.entry.js +34 -4
- package/dist/esm/hb-drawer.entry.js.map +1 -1
- package/dist/esm/hb-dropdown.entry.js +27 -15
- 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-form-item.entry.js +11 -10
- package/dist/esm/hb-form-item.entry.js.map +1 -1
- package/dist/esm/hb-form.entry.js +12 -7
- package/dist/esm/hb-form.entry.js.map +1 -1
- package/dist/esm/hb-image-preview.entry.js +1 -1
- package/dist/esm/hb-image-preview.entry.js.map +1 -1
- package/dist/esm/hb-image.entry.js +21 -3
- package/dist/esm/hb-image.entry.js.map +1 -1
- package/dist/esm/hb-input-number.entry.js +7 -7
- package/dist/esm/hb-input-number.entry.js.map +1 -1
- package/dist/esm/hb-input-tag.entry.js +2 -2
- package/dist/esm/hb-input.entry.js +3 -2
- package/dist/esm/hb-input.entry.js.map +1 -1
- 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-menu-item.entry.js +14 -5
- package/dist/esm/hb-menu-item.entry.js.map +1 -1
- package/dist/esm/hb-menu.entry.js +2 -2
- package/dist/esm/hb-message.entry.js +13 -4
- package/dist/esm/hb-message.entry.js.map +1 -1
- package/dist/esm/hb-page-header.entry.js +1 -1
- package/dist/esm/hb-pagination.entry.js +8 -5
- package/dist/esm/hb-pagination.entry.js.map +1 -1
- package/dist/esm/hb-popconfirm.entry.js +27 -8
- package/dist/esm/hb-popconfirm.entry.js.map +1 -1
- package/dist/esm/hb-popover.entry.js +26 -14
- 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 +8 -3
- package/dist/esm/hb-radio.entry.js.map +1 -1
- package/dist/esm/hb-rate.entry.js +3 -3
- package/dist/esm/hb-rate.entry.js.map +1 -1
- package/dist/esm/hb-row.entry.js +2 -2
- package/dist/esm/hb-scrollbar.entry.js +5 -5
- package/dist/esm/hb-scrollbar.entry.js.map +1 -1
- package/dist/esm/hb-segmented.entry.js +13 -2
- package/dist/esm/hb-segmented.entry.js.map +1 -1
- package/dist/esm/hb-select.entry.js +21 -12
- package/dist/esm/hb-select.entry.js.map +1 -1
- package/dist/esm/hb-slider.entry.js +6 -12
- 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 +2 -2
- package/dist/esm/hb-steps.entry.js.map +1 -1
- package/dist/esm/hb-sub-menu.entry.js +5 -5
- package/dist/esm/hb-switch.entry.js +3 -3
- 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 +25 -16
- package/dist/esm/hb-table.entry.js.map +1 -1
- package/dist/esm/hb-tabs.entry.js +31 -10
- package/dist/esm/hb-tabs.entry.js.map +1 -1
- package/dist/esm/hb-tag.entry.js +3 -2
- package/dist/esm/hb-tag.entry.js.map +1 -1
- package/dist/esm/hb-text.entry.js +2 -2
- package/dist/esm/hb-time-picker.entry.js +14 -9
- package/dist/esm/hb-time-picker.entry.js.map +1 -1
- package/dist/esm/hb-time-select.entry.js +13 -4
- package/dist/esm/hb-time-select.entry.js.map +1 -1
- package/dist/esm/hb-tooltip.entry.js +30 -10
- package/dist/esm/hb-tooltip.entry.js.map +1 -1
- package/dist/esm/hb-tree-select.entry.js +125 -10
- package/dist/esm/hb-tree-select.entry.js.map +1 -1
- package/dist/esm/hb-tree.entry.js +145 -12
- package/dist/esm/hb-tree.entry.js.map +1 -1
- package/dist/esm/hb-watermark.entry.js +19 -11
- package/dist/esm/hb-watermark.entry.js.map +1 -1
- package/dist/esm/huibo-ui.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/transition-4295d789.js +32 -0
- package/dist/esm/transition-4295d789.js.map +1 -0
- 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-00aa34c8.js +2 -0
- package/dist/huibo-ui/p-00aa34c8.js.map +1 -0
- package/dist/huibo-ui/p-0cc1e3f3.entry.js +2 -0
- package/dist/huibo-ui/p-0cc1e3f3.entry.js.map +1 -0
- package/dist/huibo-ui/{p-678b4212.entry.js → p-0ddae4e9.entry.js} +2 -2
- package/dist/huibo-ui/p-10f6c184.entry.js.map +1 -1
- package/dist/huibo-ui/{p-f4336be9.entry.js → p-14c3b47b.entry.js} +2 -2
- package/dist/huibo-ui/{p-c50ad398.entry.js → p-193efdc0.entry.js} +2 -2
- package/dist/huibo-ui/{p-735bceef.entry.js → p-1b98152b.entry.js} +2 -2
- package/dist/huibo-ui/p-1b98152b.entry.js.map +1 -0
- package/dist/huibo-ui/p-1f6d0adb.entry.js +2 -0
- package/dist/huibo-ui/p-1f6d0adb.entry.js.map +1 -0
- package/dist/huibo-ui/{p-2943f5d0.entry.js → p-29092b85.entry.js} +2 -2
- package/dist/huibo-ui/p-29092b85.entry.js.map +1 -0
- package/dist/huibo-ui/p-2bc30b1b.entry.js +2 -0
- package/dist/huibo-ui/p-2bc30b1b.entry.js.map +1 -0
- package/dist/huibo-ui/{p-0d4b2997.entry.js → p-2bcda1bb.entry.js} +2 -2
- package/dist/huibo-ui/{p-b8d87f7e.entry.js → p-2ca9796a.entry.js} +2 -2
- package/dist/huibo-ui/p-2ca9796a.entry.js.map +1 -0
- package/dist/huibo-ui/{p-7da14d7c.entry.js → p-3042f986.entry.js} +2 -2
- package/dist/huibo-ui/{p-e039155d.entry.js → p-3dacb26b.entry.js} +2 -2
- package/dist/huibo-ui/{p-a084b8e5.entry.js → p-412ff618.entry.js} +2 -2
- package/dist/huibo-ui/{p-6beb5b81.entry.js → p-415295f3.entry.js} +2 -2
- package/dist/huibo-ui/p-415295f3.entry.js.map +1 -0
- package/dist/huibo-ui/p-494e6c25.entry.js +2 -0
- package/dist/huibo-ui/p-494e6c25.entry.js.map +1 -0
- package/dist/huibo-ui/p-4d87d7f4.entry.js +2 -0
- package/dist/huibo-ui/p-4d87d7f4.entry.js.map +1 -0
- package/dist/huibo-ui/{p-2811e603.entry.js → p-54a28052.entry.js} +2 -2
- package/dist/huibo-ui/p-54a28052.entry.js.map +1 -0
- package/dist/huibo-ui/p-5e253c15.entry.js +2 -0
- package/dist/huibo-ui/p-5e253c15.entry.js.map +1 -0
- package/dist/huibo-ui/p-63d68c61.entry.js +2 -0
- package/dist/huibo-ui/p-63d68c61.entry.js.map +1 -0
- package/dist/huibo-ui/{p-ccd09d5a.entry.js → p-6518c435.entry.js} +2 -2
- package/dist/huibo-ui/{p-1f8db37a.entry.js → p-687d8dff.entry.js} +2 -2
- package/dist/huibo-ui/p-687d8dff.entry.js.map +1 -0
- package/dist/huibo-ui/p-688460ce.entry.js +2 -0
- package/dist/huibo-ui/p-688460ce.entry.js.map +1 -0
- package/dist/huibo-ui/p-69bb1dd9.entry.js +2 -0
- package/dist/huibo-ui/p-69bb1dd9.entry.js.map +1 -0
- package/dist/huibo-ui/{p-e5cbfa9e.entry.js → p-6c23fbd1.entry.js} +2 -2
- package/dist/huibo-ui/p-6c23fbd1.entry.js.map +1 -0
- package/dist/huibo-ui/p-6c8cf248.entry.js.map +1 -1
- package/dist/huibo-ui/p-6efed295.entry.js +2 -0
- package/dist/huibo-ui/p-6efed295.entry.js.map +1 -0
- package/dist/huibo-ui/{p-c80f8ace.entry.js → p-79b24b83.entry.js} +2 -2
- package/dist/huibo-ui/p-79b24b83.entry.js.map +1 -0
- package/dist/huibo-ui/p-7a38b3e2.entry.js +2 -0
- package/dist/huibo-ui/p-7a38b3e2.entry.js.map +1 -0
- package/dist/huibo-ui/{p-cad57c2d.entry.js → p-7a682c56.entry.js} +2 -2
- package/dist/huibo-ui/{p-a8996d22.entry.js → p-815fc943.entry.js} +2 -2
- package/dist/huibo-ui/{p-af74667d.entry.js → p-89be7973.entry.js} +2 -2
- package/dist/huibo-ui/p-8a202bc5.entry.js.map +1 -1
- package/dist/huibo-ui/{p-213b9de7.entry.js → p-8c4415ed.entry.js} +2 -2
- package/dist/huibo-ui/p-8c4415ed.entry.js.map +1 -0
- package/dist/huibo-ui/{p-8fdbd17c.entry.js → p-950e7465.entry.js} +2 -2
- package/dist/huibo-ui/{p-ab9cf0e4.entry.js → p-96cecd21.entry.js} +2 -2
- package/dist/huibo-ui/p-96cecd21.entry.js.map +1 -0
- package/dist/huibo-ui/{p-2b4556ff.entry.js → p-98b513cd.entry.js} +2 -2
- package/dist/huibo-ui/p-98b513cd.entry.js.map +1 -0
- package/dist/huibo-ui/{p-86bdc48a.entry.js → p-ac18c68b.entry.js} +2 -2
- package/dist/huibo-ui/p-ac18c68b.entry.js.map +1 -0
- package/dist/huibo-ui/{p-89ea1141.entry.js → p-ac45291c.entry.js} +2 -2
- package/dist/huibo-ui/{p-e10fcfbe.entry.js → p-b105cf76.entry.js} +2 -2
- package/dist/huibo-ui/p-b105cf76.entry.js.map +1 -0
- package/dist/huibo-ui/{p-9a5406f0.entry.js → p-b38802b0.entry.js} +2 -2
- package/dist/huibo-ui/{p-9a5406f0.entry.js.map → p-b38802b0.entry.js.map} +1 -1
- package/dist/huibo-ui/{p-ea74fcae.entry.js → p-b3fd12c7.entry.js} +2 -2
- package/dist/huibo-ui/p-b3fd12c7.entry.js.map +1 -0
- package/dist/huibo-ui/p-b5ea18ba.entry.js +2 -0
- package/dist/huibo-ui/p-b5ea18ba.entry.js.map +1 -0
- package/dist/huibo-ui/{p-41d9c846.entry.js → p-b6afe81e.entry.js} +2 -2
- package/dist/huibo-ui/p-b7900dee.entry.js +2 -0
- package/dist/huibo-ui/p-b7900dee.entry.js.map +1 -0
- package/dist/huibo-ui/p-b8c83751.entry.js +2 -0
- package/dist/huibo-ui/p-b8c83751.entry.js.map +1 -0
- package/dist/huibo-ui/p-c7713947.entry.js +2 -0
- package/dist/huibo-ui/p-c7713947.entry.js.map +1 -0
- package/dist/huibo-ui/{p-33de6878.entry.js → p-c869842c.entry.js} +2 -2
- package/dist/huibo-ui/p-c869842c.entry.js.map +1 -0
- package/dist/huibo-ui/p-c8e917db.entry.js.map +1 -1
- package/dist/huibo-ui/p-cb66dbef.entry.js +2 -0
- package/dist/huibo-ui/p-cb66dbef.entry.js.map +1 -0
- package/dist/huibo-ui/p-cde83f76.entry.js +2 -0
- package/dist/huibo-ui/p-cde83f76.entry.js.map +1 -0
- package/dist/huibo-ui/{p-f5969181.entry.js → p-dd9c6459.entry.js} +2 -2
- package/dist/huibo-ui/{p-08b4005c.js → p-e0876aca.js} +1 -1
- package/dist/huibo-ui/p-e0876aca.js.map +1 -0
- package/dist/huibo-ui/{p-aa5e5e02.entry.js → p-e1773c93.entry.js} +2 -2
- package/dist/huibo-ui/p-e1773c93.entry.js.map +1 -0
- package/dist/huibo-ui/{p-626b48f1.entry.js → p-e73c357f.entry.js} +2 -2
- package/dist/huibo-ui/p-e73c357f.entry.js.map +1 -0
- package/dist/huibo-ui/{p-60532a1f.entry.js → p-e7c73624.entry.js} +2 -2
- package/dist/huibo-ui/p-e7c73624.entry.js.map +1 -0
- package/dist/huibo-ui/{p-13010da2.entry.js → p-e9e7abca.entry.js} +2 -2
- package/dist/huibo-ui/{p-f6889710.entry.js → p-ea0823f3.entry.js} +2 -2
- package/dist/huibo-ui/p-ea0823f3.entry.js.map +1 -0
- package/dist/huibo-ui/{p-b468858e.entry.js → p-f1f2483f.entry.js} +2 -2
- package/dist/huibo-ui/p-fad66d69.js +2 -0
- package/dist/huibo-ui/p-fad66d69.js.map +1 -0
- package/dist/huibo-ui/{p-fd8301c6.entry.js → p-fd6831f9.entry.js} +2 -2
- package/dist/huibo-ui/p-ff6bc5cc.entry.js +2 -0
- package/dist/huibo-ui/p-ff6bc5cc.entry.js.map +1 -0
- package/dist/types/components/Cascader/Cascader.d.ts +12 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +5 -0
- package/dist/types/components/Checkbox/CheckboxGroup.d.ts +1 -0
- package/dist/types/components/Collapse/Collapse.d.ts +2 -0
- package/dist/types/components/Collapse/CollapseItem.d.ts +8 -1
- package/dist/types/components/Dialog/Dialog.d.ts +13 -1
- package/dist/types/components/Drawer/Drawer.d.ts +4 -0
- package/dist/types/components/Dropdown/Dropdown.d.ts +6 -2
- package/dist/types/components/Form/Form.d.ts +2 -0
- package/dist/types/components/Image/Image.d.ts +6 -0
- package/dist/types/components/Menu/MenuItem.d.ts +8 -1
- package/dist/types/components/Message/Message.d.ts +3 -0
- package/dist/types/components/Popconfirm/Popconfirm.d.ts +6 -2
- package/dist/types/components/Popover/Popover.d.ts +6 -1
- package/dist/types/components/Radio/Radio.d.ts +5 -0
- package/dist/types/components/Segmented/Segmented.d.ts +6 -0
- package/dist/types/components/Select/Select.d.ts +5 -0
- package/dist/types/components/Table/Table.d.ts +8 -2
- package/dist/types/components/Tabs/Tabs.d.ts +6 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +6 -0
- package/dist/types/components/Tree/Tree.d.ts +24 -0
- package/dist/types/components/TreeSelect/TreeSelect.d.ts +17 -0
- package/dist/types/components/Watermark/Watermark.d.ts +7 -1
- package/dist/types/components.d.ts +40 -4
- package/dist/types/utils/a11y.d.ts +9 -0
- package/dist/types/utils/transition.d.ts +27 -0
- package/package.json +1 -1
- package/dist/cjs/a11y-802de67a.js.map +0 -1
- package/dist/cjs/date-helpers-1ffddc59.js.map +0 -1
- package/dist/components/p-08b4005c.js.map +0 -1
- package/dist/components/p-cc0aeb50.js.map +0 -1
- package/dist/esm/a11y-f9ab2964.js.map +0 -1
- package/dist/esm/date-helpers-44507189.js.map +0 -1
- package/dist/huibo-ui/p-08b4005c.js.map +0 -1
- package/dist/huibo-ui/p-1f8db37a.entry.js.map +0 -1
- package/dist/huibo-ui/p-213b9de7.entry.js.map +0 -1
- package/dist/huibo-ui/p-25fd7d5c.entry.js +0 -2
- package/dist/huibo-ui/p-25fd7d5c.entry.js.map +0 -1
- package/dist/huibo-ui/p-2811e603.entry.js.map +0 -1
- package/dist/huibo-ui/p-2943f5d0.entry.js.map +0 -1
- package/dist/huibo-ui/p-2b4556ff.entry.js.map +0 -1
- package/dist/huibo-ui/p-33de6878.entry.js.map +0 -1
- package/dist/huibo-ui/p-3807da71.entry.js +0 -2
- package/dist/huibo-ui/p-3807da71.entry.js.map +0 -1
- package/dist/huibo-ui/p-47ef7a86.entry.js +0 -2
- package/dist/huibo-ui/p-47ef7a86.entry.js.map +0 -1
- package/dist/huibo-ui/p-4d34e43e.entry.js +0 -2
- package/dist/huibo-ui/p-4d34e43e.entry.js.map +0 -1
- package/dist/huibo-ui/p-54aa2fd8.entry.js +0 -2
- package/dist/huibo-ui/p-54aa2fd8.entry.js.map +0 -1
- package/dist/huibo-ui/p-60532a1f.entry.js.map +0 -1
- package/dist/huibo-ui/p-626b48f1.entry.js.map +0 -1
- package/dist/huibo-ui/p-639f167d.entry.js +0 -2
- package/dist/huibo-ui/p-639f167d.entry.js.map +0 -1
- package/dist/huibo-ui/p-6beb5b81.entry.js.map +0 -1
- package/dist/huibo-ui/p-735bceef.entry.js.map +0 -1
- package/dist/huibo-ui/p-76519752.entry.js +0 -2
- package/dist/huibo-ui/p-76519752.entry.js.map +0 -1
- package/dist/huibo-ui/p-79af2efa.entry.js +0 -2
- package/dist/huibo-ui/p-79af2efa.entry.js.map +0 -1
- package/dist/huibo-ui/p-7f6975ad.entry.js +0 -2
- package/dist/huibo-ui/p-7f6975ad.entry.js.map +0 -1
- package/dist/huibo-ui/p-86bdc48a.entry.js.map +0 -1
- package/dist/huibo-ui/p-8a8443b8.entry.js +0 -2
- package/dist/huibo-ui/p-8a8443b8.entry.js.map +0 -1
- package/dist/huibo-ui/p-8fd788c9.entry.js +0 -2
- package/dist/huibo-ui/p-8fd788c9.entry.js.map +0 -1
- package/dist/huibo-ui/p-92521c31.entry.js +0 -2
- package/dist/huibo-ui/p-92521c31.entry.js.map +0 -1
- package/dist/huibo-ui/p-965d4d02.entry.js +0 -2
- package/dist/huibo-ui/p-965d4d02.entry.js.map +0 -1
- package/dist/huibo-ui/p-aa5e5e02.entry.js.map +0 -1
- package/dist/huibo-ui/p-ab9cf0e4.entry.js.map +0 -1
- package/dist/huibo-ui/p-b8d87f7e.entry.js.map +0 -1
- package/dist/huibo-ui/p-c6c91664.entry.js +0 -2
- package/dist/huibo-ui/p-c6c91664.entry.js.map +0 -1
- package/dist/huibo-ui/p-c80f8ace.entry.js.map +0 -1
- package/dist/huibo-ui/p-cc0aeb50.js +0 -2
- package/dist/huibo-ui/p-cc0aeb50.js.map +0 -1
- package/dist/huibo-ui/p-d79a15b1.entry.js +0 -2
- package/dist/huibo-ui/p-d79a15b1.entry.js.map +0 -1
- package/dist/huibo-ui/p-e10fcfbe.entry.js.map +0 -1
- package/dist/huibo-ui/p-e5cbfa9e.entry.js.map +0 -1
- package/dist/huibo-ui/p-ea74fcae.entry.js.map +0 -1
- package/dist/huibo-ui/p-edbda423.entry.js +0 -2
- package/dist/huibo-ui/p-edbda423.entry.js.map +0 -1
- package/dist/huibo-ui/p-f6889710.entry.js.map +0 -1
- package/dist/huibo-ui/p-f9bb5217.entry.js +0 -2
- package/dist/huibo-ui/p-f9bb5217.entry.js.map +0 -1
- package/dist/huibo-ui/p-fea20295.entry.js +0 -2
- package/dist/huibo-ui/p-fea20295.entry.js.map +0 -1
- /package/dist/huibo-ui/{p-678b4212.entry.js.map → p-0ddae4e9.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-f4336be9.entry.js.map → p-14c3b47b.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-c50ad398.entry.js.map → p-193efdc0.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-0d4b2997.entry.js.map → p-2bcda1bb.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-7da14d7c.entry.js.map → p-3042f986.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-e039155d.entry.js.map → p-3dacb26b.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-a084b8e5.entry.js.map → p-412ff618.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-ccd09d5a.entry.js.map → p-6518c435.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-cad57c2d.entry.js.map → p-7a682c56.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-a8996d22.entry.js.map → p-815fc943.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-af74667d.entry.js.map → p-89be7973.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-8fdbd17c.entry.js.map → p-950e7465.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-89ea1141.entry.js.map → p-ac45291c.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-41d9c846.entry.js.map → p-b6afe81e.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-f5969181.entry.js.map → p-dd9c6459.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-13010da2.entry.js.map → p-e9e7abca.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-b468858e.entry.js.map → p-f1f2483f.entry.js.map} +0 -0
- /package/dist/huibo-ui/{p-fd8301c6.entry.js.map → p-fd6831f9.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-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);
|
|
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\",{\"itemKey\":[1,\"item-key\"],\"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\"],\"leaving\":[32]},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],\"leaving\":[32]},null,{\"modelValue\":[\"handleVisible\"]}]]],[\"hb-dropdown.cjs\",[[1,\"hb-dropdown\",{\"items\":[16],\"trigger\":[1],\"disabled\":[4],\"isOpen\":[32],\"leaving\":[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]},null,{\"src\":[\"handleSrcChange\"]}]]],[\"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\",{\"itemKey\":[1,\"item-key\"],\"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],\"leaving\":[32],\"popupStyle\":[32]}]]],[\"hb-popover.cjs\",[[1,\"hb-popover\",{\"title\":[1],\"width\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"visible\":[32],\"leaving\":[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]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"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],\"leaving\":[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],\"focusKey\":[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],\"focusKey\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"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-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);
|
|
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\",{\"itemKey\":[1,\"item-key\"],\"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\"],\"leaving\":[32]},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],\"leaving\":[32]},null,{\"modelValue\":[\"handleVisible\"]}]]],[\"hb-dropdown.cjs\",[[1,\"hb-dropdown\",{\"items\":[16],\"trigger\":[1],\"disabled\":[4],\"isOpen\":[32],\"leaving\":[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]},null,{\"src\":[\"handleSrcChange\"]}]]],[\"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\",{\"itemKey\":[1,\"item-key\"],\"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],\"leaving\":[32],\"popupStyle\":[32]}]]],[\"hb-popover.cjs\",[[1,\"hb-popover\",{\"title\":[1],\"width\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"visible\":[32],\"leaving\":[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]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"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],\"leaving\":[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],\"focusKey\":[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],\"focusKey\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"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;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function createLeaveScheduler(getLeaving, setLeaving, duration = 200) {
|
|
4
|
+
let timer;
|
|
5
|
+
const start = (onDone) => {
|
|
6
|
+
if (timer)
|
|
7
|
+
clearTimeout(timer);
|
|
8
|
+
setLeaving(true);
|
|
9
|
+
timer = setTimeout(() => {
|
|
10
|
+
timer = undefined;
|
|
11
|
+
setLeaving(false);
|
|
12
|
+
onDone?.();
|
|
13
|
+
}, duration);
|
|
14
|
+
};
|
|
15
|
+
const cancel = () => {
|
|
16
|
+
if (timer) {
|
|
17
|
+
clearTimeout(timer);
|
|
18
|
+
timer = undefined;
|
|
19
|
+
}
|
|
20
|
+
if (getLeaving())
|
|
21
|
+
setLeaving(false);
|
|
22
|
+
};
|
|
23
|
+
const dispose = () => {
|
|
24
|
+
if (timer) {
|
|
25
|
+
clearTimeout(timer);
|
|
26
|
+
timer = undefined;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
return { start, cancel, dispose };
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
exports.createLeaveScheduler = createLeaveScheduler;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=transition-59f1da0f.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"transition-59f1da0f.js","mappings":";;SA4BgB,oBAAoB,CAAC,UAAyB,EAAE,UAAyB,EAAE,WAAmB,GAAG;IAC/G,IAAI,KAAgD,CAAC;IAErD,MAAM,KAAK,GAAG,CAAC,MAAmB;QAChC,IAAI,KAAK;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,UAAU,CAAC,IAAI,CAAC,CAAC;QACjB,KAAK,GAAG,UAAU,CAAC;YACjB,KAAK,GAAG,SAAS,CAAC;YAClB,UAAU,CAAC,KAAK,CAAC,CAAC;YAClB,MAAM,IAAI,CAAC;SACZ,EAAE,QAAQ,CAAC,CAAC;KACd,CAAC;IAEF,MAAM,MAAM,GAAG;QACb,IAAI,KAAK,EAAE;YACT,YAAY,CAAC,KAAK,CAAC,CAAC;YACpB,KAAK,GAAG,SAAS,CAAC;SACnB;QACD,IAAI,UAAU,EAAE;YAAE,UAAU,CAAC,KAAK,CAAC,CAAC;KACrC,CAAC;IAEF,MAAM,OAAO,GAAG;QACd,IAAI,KAAK,EAAE;YACT,YAAY,CAAC,KAAK,CAAC,CAAC;YACpB,KAAK,GAAG,SAAS,CAAC;SACnB;KACF,CAAC;IAEF,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AACpC;;;;","names":[],"sources":["src/utils/transition.ts"],"sourcesContent":["/**\n * 弹层进出场动画编排工具\n *\n * 问题背景:Stencil 声明式渲染里 `{visible && <El/>}` 会在关闭瞬间卸载 DOM,\n * CSS 离场动画没机会播放——出现\"打开有动画、关闭瞬间消失\"的体验缺陷。\n *\n * 方案:组件维护一个 `leaving` state,关闭时先设 leaving=true 播放离场动画,\n * 动画时长(默认 200ms)后再 leaving=false 真正卸载。`shouldRender = visible || leaving`。\n *\n * 用法(在组件里):\n * ```ts\n * private leave = createLeaveScheduler(() => this.leaving, (v) => this.leaving = v, 200);\n * // visible 变 false 时:this.leave.start(() => 真正关闭的清理);\n * // render 里:{this.shouldRender && <El class={{ '--leaving': this.leaving }}/>}\n * ```\n */\nexport type LeavingSetter = (leaving: boolean) => void;\nexport type LeavingGetter = () => boolean;\n\nexport interface LeaveScheduler {\n /** 开始离场:设 leaving=true,duration 后回调 onDone 并 leaving=false */\n start(onDone?: () => void): void;\n /** 取消挂起的离场(用于关闭中途又打开的场景) */\n cancel(): void;\n /** disconnectedCallback 时调用,避免组件卸载后还在 setState */\n dispose(): void;\n}\n\nexport function createLeaveScheduler(getLeaving: LeavingGetter, setLeaving: LeavingSetter, duration: number = 200): LeaveScheduler {\n let timer: ReturnType<typeof setTimeout> | undefined;\n\n const start = (onDone?: () => void) => {\n if (timer) clearTimeout(timer);\n setLeaving(true);\n timer = setTimeout(() => {\n timer = undefined;\n setLeaving(false);\n onDone?.();\n }, duration);\n };\n\n const cancel = () => {\n if (timer) {\n clearTimeout(timer);\n timer = undefined;\n }\n if (getLeaving()) setLeaving(false);\n };\n\n const dispose = () => {\n if (timer) {\n clearTimeout(timer);\n timer = undefined;\n }\n };\n\n return { start, cancel, dispose };\n}\n"],"version":3}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { activationClickHandler } from "../../utils/a11y";
|
|
2
3
|
/**
|
|
3
4
|
* Alert 警告提示组件
|
|
4
5
|
* 展示需要关注的信息
|
|
@@ -29,7 +30,7 @@ export class Alert {
|
|
|
29
30
|
// error/warning 是紧急通告 → role=alert(断言式,屏幕阅读器即时朗读);
|
|
30
31
|
// info/success 是状态信息 → role=status(礼貌式,不打断)。
|
|
31
32
|
const liveRole = this.type === 'error' || this.type === 'warning' ? 'alert' : 'status';
|
|
32
|
-
return (h("div", { class: { 'hb-alert': true, [`hb-alert--${this.type}`]: true, 'hb-alert--center': this.center, 'hb-alert--with-description': !!this.description }, role: liveRole }, this.showIcon && h("span", { class: "hb-alert__icon", "aria-hidden": "true" }, icons[this.type]), h("div", { class: "hb-alert__body" }, h("div", { class: "hb-alert__title" }, this.title), this.description && h("div", { class: "hb-alert__description" }, this.description)), this.closable && h("span", { class: "hb-alert__close", role: "button", "aria-label": "\u5173\u95ED", tabIndex: 0, onClick: this.handleClose }, "\u00D7")));
|
|
33
|
+
return (h("div", { class: { 'hb-alert': true, [`hb-alert--${this.type}`]: true, 'hb-alert--center': this.center, 'hb-alert--with-description': !!this.description }, role: liveRole }, this.showIcon && (h("span", { class: "hb-alert__icon", "aria-hidden": "true" }, icons[this.type])), h("div", { class: "hb-alert__body" }, h("div", { class: "hb-alert__title" }, this.title), this.description && h("div", { class: "hb-alert__description" }, this.description)), this.closable && (h("span", { class: "hb-alert__close", role: "button", "aria-label": "\u5173\u95ED", tabIndex: 0, onClick: this.handleClose, onKeyDown: activationClickHandler }, "\u00D7"))));
|
|
33
34
|
}
|
|
34
35
|
static get is() { return "hb-alert"; }
|
|
35
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgB,KAAK,EAAE,MA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MAAM,IAC5C,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CACZ,CACR;YACD,WAAK,KAAK,EAAC,gBAAgB;gBACzB,WAAK,KAAK,EAAC,iBAAiB,IAAE,IAAI,CAAC,KAAK,CAAO;gBAC9C,IAAI,CAAC,WAAW,IAAI,WAAK,KAAK,EAAC,uBAAuB,IAAE,IAAI,CAAC,WAAW,CAAO,CAC5E;YACL,IAAI,CAAC,QAAQ,IAAI,CAChB,YAAM,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,QAAQ,gBAAY,cAAI,EAAC,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,SAAS,EAAE,sBAAsB,aAE9H,CACR,CACG,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, Event, EventEmitter, State } from '@stencil/core';\nimport { activationClickHandler } from '../../utils/a11y';\n\n/**\n * Alert 警告提示组件\n * 展示需要关注的信息\n */\n@Component({\n tag: 'hb-alert',\n styleUrl: 'alert.css',\n shadow: true,\n})\nexport class Alert {\n /** 标题 */\n @Prop() title: string = '';\n\n /** 描述文字 */\n @Prop() description?: string;\n\n /** 类型 */\n @Prop() type: 'success' | 'warning' | 'info' | 'error' = 'info';\n\n /** 是否可关闭 */\n @Prop() closable: boolean = false;\n\n /** 是否显示图标 */\n @Prop() showIcon: boolean = true;\n\n /** 是否居中 */\n @Prop() center: boolean = false;\n\n @State() closed: boolean = false;\n\n @Event() hbClose: EventEmitter<void>;\n\n private handleClose = () => {\n this.closed = true;\n this.hbClose.emit();\n };\n\n render() {\n if (this.closed) return null;\n const icons: Record<string, string> = { success: '✓', warning: '⚠', info: 'ℹ', error: '✕' };\n // error/warning 是紧急通告 → role=alert(断言式,屏幕阅读器即时朗读);\n // info/success 是状态信息 → role=status(礼貌式,不打断)。\n const liveRole = this.type === 'error' || this.type === 'warning' ? 'alert' : 'status';\n return (\n <div class={{ 'hb-alert': true, [`hb-alert--${this.type}`]: true, 'hb-alert--center': this.center, 'hb-alert--with-description': !!this.description }} role={liveRole}>\n {this.showIcon && (\n <span class=\"hb-alert__icon\" aria-hidden=\"true\">\n {icons[this.type]}\n </span>\n )}\n <div class=\"hb-alert__body\">\n <div class=\"hb-alert__title\">{this.title}</div>\n {this.description && <div class=\"hb-alert__description\">{this.description}</div>}\n </div>\n {this.closable && (\n <span class=\"hb-alert__close\" role=\"button\" aria-label=\"关闭\" tabIndex={0} onClick={this.handleClose} onKeyDown={activationClickHandler}>\n ×\n </span>\n )}\n </div>\n );\n }\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { getCalendarDays, parseDate, addMonths, isSameDay, MONTH_NAMES, WEEK_DAY_NAMES
|
|
2
|
+
import { getCalendarDays, parseDate, addMonths, isSameDay, MONTH_NAMES, WEEK_DAY_NAMES } from "../../utils/date-helpers";
|
|
3
3
|
/**
|
|
4
4
|
* Calendar 日历组件
|
|
5
5
|
* 月份视图日历,支持选中日期与月份切换
|
|
@@ -131,7 +131,7 @@ export class Calendar {
|
|
|
131
131
|
render() {
|
|
132
132
|
const days = getCalendarDays(this.viewDate, this.selectedDate, new Date(), this.firstDayOfWeek);
|
|
133
133
|
const current = this.viewDate;
|
|
134
|
-
return (h("div", { key: '
|
|
134
|
+
return (h("div", { key: '93d05f6bffa7431d3e957d4e99113faeaa4c3314', class: "hb-calendar" }, h("div", { key: '27d4364c5d5302a284fa14b9a72421548808cd1d', class: "hb-calendar__header" }, h("button", { key: '0665e23eb52ceb41d89e79d3eea8f4de70085dd5', type: "button", class: "hb-calendar__prev-btn", onClick: () => this.changeMonth(-1), "aria-label": "\u4E0A\u4E00\u6708" }, "\u2039"), h("span", { key: '40620771f91edb847d4979d47a7bf35f6ccc3c8f', class: "hb-calendar__header-label", "aria-live": "polite" }, current.getFullYear(), "\u5E74 ", MONTH_NAMES[current.getMonth()]), h("button", { key: '0707cec8950af171a6eabe1bf8872e5b6681109a', type: "button", class: "hb-calendar__next-btn", onClick: () => this.changeMonth(1), "aria-label": "\u4E0B\u4E00\u6708" }, "\u203A")), h("div", { key: '2637f3cbdf27e4a1883ec91421287129b16ed849', class: "hb-calendar__body", role: "grid", "aria-label": `${current.getFullYear()}年${current.getMonth() + 1}月日历` }, h("div", { key: '19123fefb853bf7c3cd64a7f47159406a8e36806', 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: '7eeee10f18915e83d3f9e7d5127768e6d67b5496', class: "hb-calendar__days", role: "row", onKeyDown: this.handleGridKeydown }, days.map((day, index) => {
|
|
135
135
|
const isFocused = isSameDay(day.date, this.focusDate);
|
|
136
136
|
const dayDisabled = day.isCurrentMonth && !!this.disabledDate && this.disabledDate(day.date);
|
|
137
137
|
return (h("div", { key: index, class: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgB,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EACL,eAAe,EACf,SAAS,EACT,SAAS,EACT,SAAS,EACT,WAAW,EACX,cAAc,GACf,MAAM,0BAA0B,CAAC;AAElC;;;GAGG;AAMH,MAAM,OAAO,QAAQ;IACnB;;OAEG;IACsB,UAAU,CAAU;IAE7C;;;OAGG;IACK,cAAc,GAAW,CAAC,CAAC;IAEnC;;OAEG;IACK,YAAY,CAA2B;IAE/C;;OAEG;IACM,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AAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,gBAC1D,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EACpC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAEpC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,CACf,CACP,CAAC;gBACJ,CAAC,CAAC,CACE,CACF,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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"]}
|
|
1
|
+
{"version":3,"file":"Calendar.js","sourceRoot":"","sources":["../../../src/components/Calendar/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgB,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAEzH;;;GAGG;AAMH,MAAM,OAAO,QAAQ;IACnB;;OAEG;IACsB,UAAU,CAAU;IAE7C;;;OAGG;IACK,cAAc,GAAW,CAAC,CAAC;IAEnC;;OAEG;IACK,YAAY,CAA2B;IAE/C;;OAEG;IACM,QAAQ,CAAuB;IAE/B,QAAQ,GAAS,IAAI,IAAI,EAAE,CAAC;IAC5B,YAAY,CAAQ;IAC7B,oDAAoD;IAC3C,SAAS,GAAS,IAAI,IAAI,EAAE,CAAC;IAEtC,gBAAgB;QACd,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAGD,sBAAsB;QACpB,IAAI,CAAC,kBAAkB,EAAE,CAAC;IAC5B,CAAC;IAEO,kBAAkB;QACxB,MAAM,MAAM,GAAG,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC1C,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC;QAC3B,IAAI,MAAM,EAAE,CAAC;YACX,IAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE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;oBACtD,MAAM,WAAW,GAAG,GAAG,CAAC,cAAc,IAAI,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;oBAC7F,OAAO,CACL,WACE,GAAG,EAAE,KAAK,EACV,KAAK,EAAE;4BACL,kBAAkB,EAAE,IAAI;4BACxB,+BAA+B,EAAE,CAAC,GAAG,CAAC,cAAc;4BACpD,yBAAyB,EAAE,GAAG,CAAC,OAAO;4BACtC,4BAA4B,EAAE,GAAG,CAAC,UAAU;4BAC5C,2BAA2B,EAAE,SAAS;4BACtC,4BAA4B,EAAE,WAAW;yBAC1C,EACD,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBACb,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,kBAClC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,mBAC/B,CAAC,GAAG,CAAC,cAAc,IAAI,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,gBAC1D,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EACpC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAEpC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,CACf,CACP,CAAC;gBACJ,CAAC,CAAC,CACE,CACF,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, Event, EventEmitter, State, Watch } from '@stencil/core';\nimport { getCalendarDays, parseDate, addMonths, isSameDay, MONTH_NAMES, WEEK_DAY_NAMES } 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':\n next.setDate(next.getDate() + 1);\n break;\n case 'ArrowLeft':\n next.setDate(next.getDate() - 1);\n break;\n case 'ArrowDown':\n next.setDate(next.getDate() + 7);\n break;\n case 'ArrowUp':\n next.setDate(next.getDate() - 7);\n break;\n case 'Home': {\n const d = next.getDay();\n next.setDate(next.getDate() - d);\n break;\n }\n case 'End': {\n const d = 6 - next.getDay();\n next.setDate(next.getDate() + d);\n break;\n }\n case 'PageDown':\n next.setMonth(next.getMonth() + 1);\n monthDelta = 1;\n break;\n case 'PageUp':\n next.setMonth(next.getMonth() - 1);\n monthDelta = -1;\n 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 type=\"button\" class=\"hb-calendar__prev-btn\" onClick={() => this.changeMonth(-1)} aria-label=\"上一月\">\n ‹\n </button>\n <span class=\"hb-calendar__header-label\" aria-live=\"polite\">\n {current.getFullYear()}年 {MONTH_NAMES[current.getMonth()]}\n </span>\n <button type=\"button\" class=\"hb-calendar__next-btn\" onClick={() => this.changeMonth(1)} aria-label=\"下一月\">\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\">\n {day}\n </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"]}
|
|
@@ -77,6 +77,8 @@ export class Cascader {
|
|
|
77
77
|
this.closeAndClearSearch();
|
|
78
78
|
},
|
|
79
79
|
});
|
|
80
|
+
/** P4:搜索结果上限,防止超大树一次返回上万条结果拖垮渲染(封顶替代防抖,避免定时器/测试复杂性) */
|
|
81
|
+
static MAX_FILTER_RESULTS = 200;
|
|
80
82
|
componentDidLoad() {
|
|
81
83
|
this.clickOutside = createClickOutsideHandler({
|
|
82
84
|
host: this.el,
|
|
@@ -151,6 +153,29 @@ export class Cascader {
|
|
|
151
153
|
return mv;
|
|
152
154
|
return [];
|
|
153
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* 多选 modelValue 的字符串键集合(P2 优化)。
|
|
158
|
+
* 缓存:仅当 modelValue 引用变化时重算。check-state 查询从 O(model×pathLen)
|
|
159
|
+
* 降为 O(1) Set.has。key 用 \u0000 连接 path 各段,避免与合法分隔符冲突。
|
|
160
|
+
*/
|
|
161
|
+
_modelKeySet = null;
|
|
162
|
+
_modelKeySetRef = null;
|
|
163
|
+
getModelKeySet() {
|
|
164
|
+
if (this._modelKeySet && this._modelKeySetRef === this.modelValue) {
|
|
165
|
+
return this._modelKeySet;
|
|
166
|
+
}
|
|
167
|
+
const set = new Set();
|
|
168
|
+
for (const p of this.getMultiModel()) {
|
|
169
|
+
set.add(p.join('\u0000'));
|
|
170
|
+
}
|
|
171
|
+
this._modelKeySet = set;
|
|
172
|
+
this._modelKeySetRef = this.modelValue;
|
|
173
|
+
return set;
|
|
174
|
+
}
|
|
175
|
+
/** path 是否在当前 model 集合中(O(1)) */
|
|
176
|
+
pathInModel(path) {
|
|
177
|
+
return this.getModelKeySet().has(path.join('\u0000'));
|
|
178
|
+
}
|
|
154
179
|
/** 两条 value 路径是否完全相等 */
|
|
155
180
|
pathEquals(a, b) {
|
|
156
181
|
if (!a || a.length !== b.length)
|
|
@@ -176,14 +201,15 @@ export class Cascader {
|
|
|
176
201
|
*/
|
|
177
202
|
getCheckState(option, path) {
|
|
178
203
|
const valuePath = [...path, option.value];
|
|
179
|
-
const model = this.getMultiModel();
|
|
180
204
|
if (this.checkStrictly) {
|
|
181
|
-
|
|
205
|
+
// P2:O(1) Set 查询替代 O(model) 的 some(pathEquals)
|
|
206
|
+
return this.pathInModel(valuePath) ? 'checked' : 'unchecked';
|
|
182
207
|
}
|
|
183
208
|
const leafPaths = this.collectLeafValuePaths(option, path);
|
|
184
|
-
|
|
209
|
+
// P2:用 pathInModel(Set.has)替代 model.some(pathEquals),整段从 O(leaves×model) 降为 O(leaves)
|
|
210
|
+
if (leafPaths.every(lp => this.pathInModel(lp)))
|
|
185
211
|
return 'checked';
|
|
186
|
-
if (leafPaths.some(lp =>
|
|
212
|
+
if (leafPaths.some(lp => this.pathInModel(lp)))
|
|
187
213
|
return 'indeterminate';
|
|
188
214
|
return 'unchecked';
|
|
189
215
|
}
|
|
@@ -276,6 +302,8 @@ export class Cascader {
|
|
|
276
302
|
handleSearchInput = (e) => {
|
|
277
303
|
const target = e.target;
|
|
278
304
|
this.searchValue = target.value;
|
|
305
|
+
// P4:清空时立即返回空;非空时同步过滤但结果数封顶(MAX_FILTER_RESULTS),
|
|
306
|
+
// 避免超大树返回上万条结果拖垮渲染。封顶比防抖更稳妥(不引入定时器与测试复杂性)。
|
|
279
307
|
this.filteredPaths = this.collectFilteredPaths(this.searchValue);
|
|
280
308
|
};
|
|
281
309
|
collectFilteredPaths(keyword) {
|
|
@@ -283,8 +311,14 @@ export class Cascader {
|
|
|
283
311
|
if (!trimmed)
|
|
284
312
|
return [];
|
|
285
313
|
const results = [];
|
|
314
|
+
const max = Cascader.MAX_FILTER_RESULTS;
|
|
286
315
|
const walk = (opts, ancestors) => {
|
|
316
|
+
// P4:达到上限即停止递归,避免超大树返回过多结果
|
|
317
|
+
if (results.length >= max)
|
|
318
|
+
return;
|
|
287
319
|
for (const opt of opts) {
|
|
320
|
+
if (results.length >= max)
|
|
321
|
+
return;
|
|
288
322
|
const currentPath = [...ancestors, opt];
|
|
289
323
|
if (opt.label.toLowerCase().includes(trimmed))
|
|
290
324
|
results.push(currentPath);
|
|
@@ -422,26 +456,28 @@ export class Cascader {
|
|
|
422
456
|
}
|
|
423
457
|
// ===== render =====
|
|
424
458
|
render() {
|
|
425
|
-
|
|
459
|
+
// P3:getDisplayTags() 涉及全树递归,单次 render 仅算一次,避免 3 次重复递归。
|
|
460
|
+
const displayTags = this.multiple ? this.getDisplayTags() : [];
|
|
461
|
+
const visibleTags = this.maxTagCount === undefined ? displayTags : displayTags.slice(0, this.maxTagCount);
|
|
462
|
+
const overflowCount = this.maxTagCount !== undefined ? Math.max(0, displayTags.length - this.maxTagCount) : 0;
|
|
463
|
+
return (h("div", { key: 'bb73a58c2631b45200fa7e4e317660efe6683f8e', class: {
|
|
426
464
|
'hb-cascader': true,
|
|
427
465
|
'hb-cascader--open': this.isOpen,
|
|
428
466
|
'hb-cascader--disabled': this.disabled,
|
|
429
467
|
'hb-cascader--multiple': this.multiple,
|
|
430
468
|
[`hb-cascader--${this.size}`]: true,
|
|
431
|
-
} }, h("div", { key: '
|
|
432
|
-
this.
|
|
433
|
-
.slice(0, this.maxTagCount === undefined ? undefined : this.maxTagCount)
|
|
434
|
-
.map(tag => (h("span", { class: "hb-cascader__tag" }, h("span", { class: "hb-cascader__tag-label" }, tag.label), !this.disabled && (h("span", { class: "hb-cascader__tag-close", role: "button", "aria-label": "\u5220\u9664", tabindex: 0, onClick: e => this.handleTagRemove(tag.path, e), onKeyDown: e => {
|
|
469
|
+
} }, h("div", { key: '3c0dd3a737b533c32ed86fc0c3c5454e9bcc46d6', class: "hb-cascader__input-wrapper", onClick: this.handleInputClick }, this.multiple &&
|
|
470
|
+
visibleTags.map(tag => (h("span", { class: "hb-cascader__tag" }, h("span", { class: "hb-cascader__tag-label" }, tag.label), !this.disabled && (h("span", { class: "hb-cascader__tag-close", role: "button", "aria-label": "\u5220\u9664", tabindex: 0, onClick: e => this.handleTagRemove(tag.path, e), onKeyDown: e => {
|
|
435
471
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
436
472
|
e.preventDefault();
|
|
437
473
|
this.handleTagRemove(tag.path, e);
|
|
438
474
|
}
|
|
439
|
-
} }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": 2, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("path", { d: "M6 6l12 12M18 6L6 18" }))))))), this.multiple &&
|
|
475
|
+
} }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": 2, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("path", { d: "M6 6l12 12M18 6L6 18" }))))))), this.multiple && overflowCount > 0 && h("span", { key: 'd598659ffcb4c0e1085da1476413fedc561c3017', class: "hb-cascader__tag-overflow" }, "+", overflowCount), h("input", { key: 'd171dc3467e238cfcd2de761bc5ff99d66765b1c', type: "text", id: this.inputId, name: this.name, class: "hb-cascader__input", placeholder: this.hasValue() ? '' : this.placeholder, value: this.multiple ? '' : this.inputValue, disabled: this.disabled, readonly: true, role: "combobox", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', onKeyDown: this.handleKeyDown }), h("span", { key: '3b9492164b342fabeaa901be0f5b82079288c6eb', class: "hb-cascader__suffix" }, this.clearable && this.hasValue() && (h("span", { key: 'fad80bdcab2dc2f6cc0550fdde2626159994606d', class: "hb-cascader__clear", role: "button", "aria-label": "\u6E05\u7A7A", tabindex: 0, onClick: this.handleClear, onKeyDown: e => {
|
|
440
476
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
441
477
|
e.preventDefault();
|
|
442
478
|
this.handleClear(e);
|
|
443
479
|
}
|
|
444
|
-
} }, h("svg", { key: '
|
|
480
|
+
} }, h("svg", { key: '14104b827fc9406fb6e6fd670c3401135f786d27', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": 2, "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("path", { key: '8b25d28b878f237d610c430625abef6990490289', d: "M6 6l12 12M18 6L6 18" })))), h("span", { key: '5948e9fd65445aae63db23c868d3e0b773d35f8b', class: "hb-cascader__arrow", "aria-hidden": "true" }, h("svg", { key: '81c42e2f49f5ef433288e1a810a42ab2d60557dc', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": 2, "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { key: '0960e7b2391417d4ca98ff0b2b2e4629b4456285', d: "M6 9l6 6 6-6" }))))), this.isOpen && (h("div", { key: '98e0dbb48d9c6b4e372fdea3f1dfddc4eabf0d0f', class: "hb-cascader__dropdown" }, this.filterable && (h("div", { key: '8c8a620342182941a98222139d2d156ef81f0e30', class: "hb-cascader__search" }, h("input", { key: 'f6efd8233131cbfb4eda6beaacd4cec908f2e944', type: "text", class: "hb-cascader__search-input", placeholder: "\u641C\u7D22", value: this.searchValue, onInput: this.handleSearchInput, "aria-label": "\u641C\u7D22\u9009\u9879" }))), this.filterable && this.searchValue.trim() !== '' ? (this.renderSearchResults()) : (h("div", { class: "hb-cascader__menus", role: "listbox", "aria-multiselectable": this.multiple ? 'true' : 'false' }, this.renderCascaderMenus()))))));
|
|
445
481
|
}
|
|
446
482
|
renderCascaderMenus() {
|
|
447
483
|
const menus = [];
|